ele-admin-plus 1.1.9-beta.1 → 1.1.9-beta.11

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 (849) hide show
  1. package/es/core-installer.d.ts +2 -2
  2. package/es/ele-alert/index.d.ts +1 -1
  3. package/es/ele-alert/index.js +4 -6
  4. package/es/ele-alert/props.d.ts +10 -9
  5. package/es/ele-app/el.d.ts +18 -1
  6. package/es/ele-app/index.d.ts +1 -1
  7. package/es/ele-app/plus.d.ts +12 -0
  8. package/es/ele-app/style/overwrite/date-picker/index.scss +32 -5
  9. package/es/ele-app/style/overwrite/message-box/index.scss +5 -0
  10. package/es/ele-avatar-group/index.d.ts +4 -3
  11. package/es/ele-avatar-group/index.js +1 -3
  12. package/es/ele-avatar-group/props.d.ts +10 -9
  13. package/es/ele-bar-code/index.d.ts +5 -4
  14. package/es/ele-bar-code/props.d.ts +4 -3
  15. package/es/ele-basic-select/index.d.ts +17 -15
  16. package/es/ele-basic-select/index.js +40 -19
  17. package/es/ele-basic-select/props.d.ts +9 -8
  18. package/es/ele-basic-select/util.d.ts +2 -1
  19. package/es/ele-bottom-bar/index.d.ts +1 -1
  20. package/es/ele-bottom-bar/props.d.ts +4 -3
  21. package/es/ele-breadcrumb/index.d.ts +3 -2
  22. package/es/ele-breadcrumb/props.d.ts +5 -4
  23. package/es/ele-card/index.d.ts +1 -1
  24. package/es/ele-card/props.d.ts +7 -6
  25. package/es/ele-check-card/components/card-item.d.ts +4 -3
  26. package/es/ele-check-card/index.d.ts +6 -5
  27. package/es/ele-check-card/index.js +0 -5
  28. package/es/ele-check-card/props.d.ts +6 -5
  29. package/es/ele-config-provider/components/receiver-view.d.ts +17 -0
  30. package/es/ele-config-provider/components/receiver-view.js +134 -0
  31. package/es/ele-config-provider/index.d.ts +3 -3
  32. package/es/ele-config-provider/props.d.ts +6 -5
  33. package/es/ele-config-provider/props.js +2 -2
  34. package/es/ele-config-provider/receiver.d.ts +5 -9
  35. package/es/ele-config-provider/receiver.js +35 -116
  36. package/es/ele-config-provider/types.d.ts +6 -12
  37. package/es/ele-copyable/index.d.ts +8 -9
  38. package/es/ele-copyable/index.js +1 -5
  39. package/es/ele-copyable/props.d.ts +9 -8
  40. package/es/ele-count-up/index.d.ts +2 -1
  41. package/es/ele-count-up/props.d.ts +3 -2
  42. package/es/ele-cropper/components/cropper-preview.d.ts +1 -1
  43. package/es/ele-cropper/components/cropper-tools.d.ts +4 -3
  44. package/es/ele-cropper/index.d.ts +11 -10
  45. package/es/ele-cropper/index.js +1 -5
  46. package/es/ele-cropper/props.d.ts +4 -3
  47. package/es/ele-cropper-modal/index.d.ts +3 -2
  48. package/es/ele-cropper-modal/index.js +1 -1
  49. package/es/ele-cropper-modal/props.d.ts +7 -6
  50. package/es/ele-dashboard/index.d.ts +1 -2
  51. package/es/ele-dashboard/index.js +8 -17
  52. package/es/ele-dashboard/props.d.ts +3 -2
  53. package/es/ele-data-table/index.d.ts +10 -15
  54. package/es/ele-data-table/index.js +9 -1
  55. package/es/ele-data-table/props.d.ts +38 -43
  56. package/es/ele-data-table/style/index.scss +4 -0
  57. package/es/ele-data-table/types.d.ts +18 -16
  58. package/es/ele-data-table/util.d.ts +15 -9
  59. package/es/ele-data-table/util.js +14 -0
  60. package/es/ele-dot/index.d.ts +3 -5
  61. package/es/ele-dot/index.js +4 -10
  62. package/es/ele-dot/props.d.ts +3 -2
  63. package/es/ele-drawer/index.d.ts +8 -4
  64. package/es/ele-drawer/index.js +111 -114
  65. package/es/ele-drawer/props.d.ts +26 -25
  66. package/es/ele-drawer/style/index.scss +49 -106
  67. package/es/ele-dropdown/index.d.ts +6 -5
  68. package/es/ele-dropdown/index.js +7 -10
  69. package/es/ele-dropdown/props.d.ts +22 -21
  70. package/es/ele-dropdown/style/index.scss +2 -2
  71. package/es/ele-edit-tag/index.d.ts +9 -2
  72. package/es/ele-edit-tag/index.js +18 -16
  73. package/es/ele-edit-tag/props.d.ts +14 -9
  74. package/es/ele-edit-tag/props.js +5 -1
  75. package/es/ele-edit-tag/style/index.scss +13 -0
  76. package/es/ele-ellipsis/index.d.ts +7 -6
  77. package/es/ele-ellipsis/index.js +4 -27
  78. package/es/ele-ellipsis/props.d.ts +8 -7
  79. package/es/ele-file-list/components/file-grid-item.d.ts +6 -5
  80. package/es/ele-file-list/components/file-grid-item.js +17 -10
  81. package/es/ele-file-list/components/file-grid.d.ts +6 -5
  82. package/es/ele-file-list/components/file-grid.js +54 -50
  83. package/es/ele-file-list/components/file-sort.d.ts +1 -1
  84. package/es/ele-file-list/components/file-table-item.d.ts +6 -5
  85. package/es/ele-file-list/components/file-table-item.js +21 -16
  86. package/es/ele-file-list/components/file-table.d.ts +6 -5
  87. package/es/ele-file-list/components/file-table.js +92 -86
  88. package/es/ele-file-list/icons.d.ts +2 -1
  89. package/es/ele-file-list/index.d.ts +8 -7
  90. package/es/ele-file-list/index.js +1 -11
  91. package/es/ele-file-list/props.d.ts +6 -5
  92. package/es/ele-file-list-tool/index.d.ts +4 -4
  93. package/es/ele-file-list-tool/index.js +2 -2
  94. package/es/ele-icon-select/components/icon-grid.d.ts +4 -3
  95. package/es/ele-icon-select/components/icon-grid.js +1 -1
  96. package/es/ele-icon-select/index.d.ts +27 -14
  97. package/es/ele-icon-select/index.js +33 -10
  98. package/es/ele-icon-select/props.d.ts +23 -17
  99. package/es/ele-icon-select/props.js +6 -1
  100. package/es/ele-icon-select/style/index.js +1 -0
  101. package/es/ele-icon-select/style/index.scss +16 -2
  102. package/es/ele-loading/index.d.ts +1 -6
  103. package/es/ele-loading/index.js +39 -43
  104. package/es/ele-loading/props.d.ts +5 -4
  105. package/es/ele-map-picker/components/map-view.d.ts +51 -27
  106. package/es/ele-map-picker/components/map-view.js +227 -176
  107. package/es/ele-map-picker/index.d.ts +45 -22
  108. package/es/ele-map-picker/index.js +22 -40
  109. package/es/ele-map-picker/props.d.ts +37 -12
  110. package/es/ele-map-picker/props.js +20 -6
  111. package/es/ele-map-picker/style/index.scss +195 -166
  112. package/es/ele-map-picker/types.d.ts +8 -4
  113. package/es/ele-menus/index.d.ts +19 -7
  114. package/es/ele-menus/index.js +78 -14
  115. package/es/ele-menus/props.d.ts +27 -16
  116. package/es/ele-menus/props.js +13 -3
  117. package/es/ele-menus/style/css-var.scss +1 -5
  118. package/es/ele-menus/style/index.js +2 -0
  119. package/es/ele-menus/style/index.scss +13 -11
  120. package/es/ele-menus/types.d.ts +9 -9
  121. package/es/ele-menus/util.d.ts +35 -16
  122. package/es/ele-menus/util.js +115 -80
  123. package/es/ele-modal/index.d.ts +18 -11
  124. package/es/ele-modal/index.js +175 -167
  125. package/es/ele-modal/props.d.ts +26 -23
  126. package/es/ele-modal/props.js +2 -0
  127. package/es/ele-modal/style/index.scss +134 -159
  128. package/es/ele-modal/types.d.ts +2 -10
  129. package/es/ele-modal/util.d.ts +20 -45
  130. package/es/ele-modal/util.js +53 -214
  131. package/es/ele-page/index.d.ts +1 -1
  132. package/es/ele-page/props.d.ts +2 -1
  133. package/es/ele-pagination/index.d.ts +20 -9
  134. package/es/ele-pagination/index.js +22 -13
  135. package/es/ele-pagination/props.d.ts +19 -12
  136. package/es/ele-pagination/props.js +7 -0
  137. package/es/ele-pagination/style/index.scss +9 -0
  138. package/es/ele-pagination/types.d.ts +6 -1
  139. package/es/ele-popconfirm/index.d.ts +4 -3
  140. package/es/ele-popconfirm/index.js +6 -28
  141. package/es/ele-popconfirm/props.d.ts +32 -31
  142. package/es/ele-popconfirm/style/index.js +1 -1
  143. package/es/ele-popover/index.d.ts +7 -6
  144. package/es/ele-popover/index.js +6 -14
  145. package/es/ele-popover/props.d.ts +26 -25
  146. package/es/ele-popover/style/index.js +0 -1
  147. package/es/ele-printer/index.d.ts +7 -7
  148. package/es/ele-printer/index.js +11 -11
  149. package/es/ele-printer/props.d.ts +6 -5
  150. package/es/ele-printer/style/index.scss +1 -1
  151. package/es/ele-printer/util.d.ts +2 -1
  152. package/es/ele-printer/util.js +4 -2
  153. package/es/ele-pro-layout/components/header-tool.d.ts +1 -1
  154. package/es/ele-pro-layout/components/pro-header.d.ts +94 -17
  155. package/es/ele-pro-layout/components/pro-header.js +177 -28
  156. package/es/ele-pro-layout/components/pro-iframe.d.ts +4 -3
  157. package/es/ele-pro-layout/components/pro-iframe.js +46 -23
  158. package/es/ele-pro-layout/components/pro-sidebar.d.ts +30 -19
  159. package/es/ele-pro-layout/components/pro-sidebar.js +41 -16
  160. package/es/ele-pro-layout/components/pro-sidebox.d.ts +32 -15
  161. package/es/ele-pro-layout/components/pro-sidebox.js +52 -15
  162. package/es/ele-pro-layout/components/pro-tabs.d.ts +6 -5
  163. package/es/ele-pro-layout/components/sidebar-tool.d.ts +1 -1
  164. package/es/ele-pro-layout/components/tab-dropdown.d.ts +5 -4
  165. package/es/ele-pro-layout/components/tab-dropdown.js +6 -2
  166. package/es/ele-pro-layout/index.d.ts +54 -39
  167. package/es/ele-pro-layout/index.js +319 -87
  168. package/es/ele-pro-layout/props.d.ts +17 -10
  169. package/es/ele-pro-layout/props.js +8 -1
  170. package/es/ele-pro-layout/style/css-var.scss +3 -18
  171. package/es/ele-pro-layout/style/header.scss +74 -9
  172. package/es/ele-pro-layout/style/layout-mobile.scss +2 -2
  173. package/es/ele-pro-layout/style/layout-style.scss +8 -3
  174. package/es/ele-pro-layout/style/layout-theme.scss +48 -23
  175. package/es/ele-pro-layout/style/layout.scss +23 -3
  176. package/es/ele-pro-layout/style/sidebar.scss +0 -1
  177. package/es/ele-pro-layout/style/tabs.scss +20 -12
  178. package/es/ele-pro-layout/types.d.ts +30 -4
  179. package/es/ele-pro-layout/util.d.ts +5 -4
  180. package/es/ele-pro-table/components/table-tools.d.ts +102 -10
  181. package/es/ele-pro-table/components/table-tools.js +125 -8
  182. package/es/ele-pro-table/components/tool-column-list.d.ts +4 -3
  183. package/es/ele-pro-table/components/tool-column-list.js +4 -7
  184. package/es/ele-pro-table/components/tool-column.d.ts +5 -4
  185. package/es/ele-pro-table/components/tool-column.js +9 -9
  186. package/es/ele-pro-table/components/tool-export.d.ts +456 -0
  187. package/es/ele-pro-table/components/tool-export.js +449 -0
  188. package/es/ele-pro-table/components/tool-print-body-cell.d.ts +35 -0
  189. package/es/ele-pro-table/components/tool-print-body-cell.js +88 -0
  190. package/es/ele-pro-table/components/tool-print-header-cell.d.ts +35 -0
  191. package/es/ele-pro-table/components/tool-print-header-cell.js +88 -0
  192. package/es/ele-pro-table/components/tool-print.d.ts +895 -0
  193. package/es/ele-pro-table/components/tool-print.js +555 -0
  194. package/es/ele-pro-table/index.d.ts +36 -30
  195. package/es/ele-pro-table/index.js +91 -19
  196. package/es/ele-pro-table/props.d.ts +52 -48
  197. package/es/ele-pro-table/props.js +6 -2
  198. package/es/ele-pro-table/style/index.js +9 -0
  199. package/es/ele-pro-table/style/index.scss +33 -5
  200. package/es/ele-pro-table/types.d.ts +149 -5
  201. package/es/ele-pro-table/util.d.ts +58 -6
  202. package/es/ele-pro-table/util.js +146 -22
  203. package/es/ele-qr-code/index.d.ts +3 -2
  204. package/es/ele-qr-code/props.d.ts +4 -3
  205. package/es/ele-qr-code/util.d.ts +3 -2
  206. package/es/ele-qr-code-svg/index.d.ts +1 -1
  207. package/es/ele-segmented/index.d.ts +4 -3
  208. package/es/ele-segmented/index.js +1 -3
  209. package/es/ele-segmented/props.d.ts +3 -2
  210. package/es/ele-split-panel/index.d.ts +11 -9
  211. package/es/ele-split-panel/index.js +63 -59
  212. package/es/ele-split-panel/props.d.ts +5 -4
  213. package/es/ele-steps/index.d.ts +1 -2
  214. package/es/ele-steps/index.js +2 -4
  215. package/es/ele-steps/props.d.ts +10 -9
  216. package/es/ele-tab-tool/index.d.ts +1 -1
  217. package/es/ele-tab-tool/props.d.ts +2 -1
  218. package/es/ele-tab-wrap/index.d.ts +1 -1
  219. package/es/ele-tab-wrap/index.js +2 -1
  220. package/es/ele-tab-wrap/props.d.ts +3 -2
  221. package/es/ele-table/index.d.ts +4 -1
  222. package/es/ele-table/index.js +2 -1
  223. package/es/ele-table/props.d.ts +4 -1
  224. package/es/ele-table/props.js +3 -1
  225. package/es/ele-table/style/index.scss +35 -0
  226. package/es/ele-table-select/index.d.ts +24 -22
  227. package/es/ele-table-select/index.js +27 -26
  228. package/es/ele-table-select/props.d.ts +11 -10
  229. package/es/ele-tabs/components/tab-title.d.ts +6 -5
  230. package/es/ele-tabs/index.d.ts +13 -23
  231. package/es/ele-tabs/index.js +2 -6
  232. package/es/ele-tabs/props.d.ts +15 -21
  233. package/es/ele-tabs/style/css-var.scss +1 -30
  234. package/es/ele-tabs/style/index.scss +372 -241
  235. package/es/ele-tabs/types.d.ts +2 -1
  236. package/es/ele-text/index.d.ts +1 -1
  237. package/es/ele-text/props.d.ts +5 -4
  238. package/es/ele-tool/index.d.ts +2 -2
  239. package/es/ele-tool/index.js +2 -4
  240. package/es/ele-tool/props.d.ts +10 -2
  241. package/es/ele-tool/props.js +5 -0
  242. package/es/ele-toolbar/index.d.ts +1 -1
  243. package/es/ele-toolbar/props.d.ts +7 -6
  244. package/es/ele-tooltip/index.d.ts +4 -3
  245. package/es/ele-tooltip/index.js +12 -13
  246. package/es/ele-tooltip/props.d.ts +28 -22
  247. package/es/ele-tooltip/props.js +2 -0
  248. package/es/ele-tooltip/style/css-var.scss +4 -0
  249. package/es/ele-tooltip/style/index.scss +23 -0
  250. package/es/ele-tour/index.d.ts +5 -4
  251. package/es/ele-tour/index.js +80 -77
  252. package/es/ele-tour/props.d.ts +3 -2
  253. package/es/ele-tour/util.d.ts +3 -2
  254. package/es/ele-tree-select/index.d.ts +10 -9
  255. package/es/ele-tree-select/props.d.ts +12 -11
  256. package/es/ele-tree-select/util.d.ts +3 -2
  257. package/es/ele-upload-list/components/list-item.d.ts +10 -5
  258. package/es/ele-upload-list/components/list-item.js +7 -4
  259. package/es/ele-upload-list/index.d.ts +12 -5
  260. package/es/ele-upload-list/index.js +9 -8
  261. package/es/ele-upload-list/props.d.ts +11 -6
  262. package/es/ele-upload-list/props.js +5 -1
  263. package/es/ele-upload-list/style/index.scss +2 -1
  264. package/es/ele-virtual-table/components/body-cell.d.ts +85 -50
  265. package/es/ele-virtual-table/components/body-cell.js +79 -112
  266. package/es/ele-virtual-table/components/body-row.d.ts +72 -48
  267. package/es/ele-virtual-table/components/body-row.js +57 -52
  268. package/es/ele-virtual-table/components/cell-checkbox.d.ts +3 -2
  269. package/es/ele-virtual-table/components/cell-filter.d.ts +9 -8
  270. package/es/ele-virtual-table/components/cell-filter.js +8 -12
  271. package/es/ele-virtual-table/components/expand-row.d.ts +10 -9
  272. package/es/ele-virtual-table/components/expand-row.js +3 -3
  273. package/es/ele-virtual-table/components/footer-row.d.ts +33 -14
  274. package/es/ele-virtual-table/components/footer-row.js +29 -19
  275. package/es/ele-virtual-table/components/header-cell.d.ts +5 -4
  276. package/es/ele-virtual-table/components/header-row.d.ts +5 -4
  277. package/es/ele-virtual-table/index.d.ts +23 -32
  278. package/es/ele-virtual-table/index.js +134 -136
  279. package/es/ele-virtual-table/props.d.ts +50 -52
  280. package/es/ele-virtual-table/style/index.scss +1 -1
  281. package/es/ele-virtual-table/types.d.ts +103 -69
  282. package/es/ele-virtual-table/util.d.ts +35 -10
  283. package/es/ele-virtual-table/util.js +66 -35
  284. package/es/ele-watermark/index.d.ts +12 -2
  285. package/es/ele-watermark/index.js +1 -1
  286. package/es/ele-watermark/props.d.ts +9 -3
  287. package/es/ele-watermark/props.js +5 -0
  288. package/es/ele-watermark/util.d.ts +3 -2
  289. package/es/ele-xg-player/index.d.ts +4 -4
  290. package/es/icons/AnalysisOutlined.d.ts +1 -1
  291. package/es/icons/ApplicationOutlined.d.ts +1 -1
  292. package/es/icons/AppstoreAddOutlined.d.ts +1 -1
  293. package/es/icons/AppstoreOutlined.d.ts +1 -1
  294. package/es/icons/ArrowDown.d.ts +1 -1
  295. package/es/icons/ArrowDownOutlined.d.ts +1 -1
  296. package/es/icons/ArrowLeft.d.ts +1 -1
  297. package/es/icons/ArrowLeftOutlined.d.ts +1 -1
  298. package/es/icons/ArrowRight.d.ts +1 -1
  299. package/es/icons/ArrowRightOutlined.d.ts +1 -1
  300. package/es/icons/ArrowUp.d.ts +1 -1
  301. package/es/icons/ArrowUpOutlined.d.ts +1 -1
  302. package/es/icons/BellOutlined.d.ts +1 -1
  303. package/es/icons/BookOutlined.d.ts +1 -1
  304. package/es/icons/CalendarOutlined.d.ts +1 -1
  305. package/es/icons/CaretDownFilled.d.ts +1 -1
  306. package/es/icons/CaretUpFilled.d.ts +1 -1
  307. package/es/icons/CheckCircleFilled.d.ts +1 -1
  308. package/es/icons/CheckCircleOutlined.d.ts +1 -1
  309. package/es/icons/CheckOutlined.d.ts +1 -1
  310. package/es/icons/CityOutlined.d.ts +1 -1
  311. package/es/icons/ClockCircleOutlined.d.ts +1 -1
  312. package/es/icons/CloseCircleFilled.d.ts +1 -1
  313. package/es/icons/CloseCircleOutlined.d.ts +1 -1
  314. package/es/icons/CloseOutlined.d.ts +1 -1
  315. package/es/icons/CloudUploadOutlined.d.ts +1 -1
  316. package/es/icons/ClusterOutlined.d.ts +1 -1
  317. package/es/icons/CodeOutlined.d.ts +1 -1
  318. package/es/icons/ColumnHeightOutlined.d.ts +1 -1
  319. package/es/icons/CompassOutlined.d.ts +1 -1
  320. package/es/icons/CompressOutlined.d.ts +1 -1
  321. package/es/icons/ConnectionOutlined.d.ts +1 -1
  322. package/es/icons/ControlOutlined.d.ts +1 -1
  323. package/es/icons/CopyOutlined.d.ts +1 -1
  324. package/es/icons/CpuOutlined.d.ts +1 -1
  325. package/es/icons/DashboardOutlined.d.ts +1 -1
  326. package/es/icons/DatabaseOutlined.d.ts +1 -1
  327. package/es/icons/DeleteOutlined.d.ts +1 -1
  328. package/es/icons/DesktopOutlined.d.ts +1 -1
  329. package/es/icons/DownloadOutlined.d.ts +1 -1
  330. package/es/icons/DragOutlined.d.ts +1 -1
  331. package/es/icons/EditOutlined.d.ts +1 -1
  332. package/es/icons/EllipsisOutlined.d.ts +1 -1
  333. package/es/icons/EnvironmentOutlined.d.ts +1 -1
  334. package/es/icons/ExclamationCircleFilled.d.ts +1 -1
  335. package/es/icons/ExpandOutlined.d.ts +1 -1
  336. package/es/icons/FileOutlined.d.ts +1 -1
  337. package/es/icons/FilterFilled.d.ts +1 -1
  338. package/es/icons/FolderAddOutlined.d.ts +1 -1
  339. package/es/icons/FolderOutlined.d.ts +1 -1
  340. package/es/icons/FormOutlined.d.ts +1 -1
  341. package/es/icons/FullscreenExitOutlined.d.ts +1 -1
  342. package/es/icons/FullscreenOutlined.d.ts +1 -1
  343. package/es/icons/FundOutlined.d.ts +1 -1
  344. package/es/icons/GlobalOutlined.d.ts +1 -1
  345. package/es/icons/HolderOutlined.d.ts +1 -1
  346. package/es/icons/HomeOutlined.d.ts +1 -1
  347. package/es/icons/IdcardOutlined.d.ts +1 -1
  348. package/es/icons/InfoCircleFilled.d.ts +1 -1
  349. package/es/icons/LinkOutlined.d.ts +1 -1
  350. package/es/icons/LoadingDotOutlined.d.ts +1 -1
  351. package/es/icons/LoadingOutlined.d.ts +1 -1
  352. package/es/icons/LockOutlined.d.ts +1 -1
  353. package/es/icons/LogOutlined.d.ts +1 -1
  354. package/es/icons/LogoutOutlined.d.ts +1 -1
  355. package/es/icons/MailOutlined.d.ts +1 -1
  356. package/es/icons/MenuFoldOutlined.d.ts +1 -1
  357. package/es/icons/MenuUnfoldOutlined.d.ts +1 -1
  358. package/es/icons/MessageOutlined.d.ts +1 -1
  359. package/es/icons/MinusCircleOutlined.d.ts +1 -1
  360. package/es/icons/MobileOutlined.d.ts +1 -1
  361. package/es/icons/MoonOutlined.d.ts +1 -1
  362. package/es/icons/MoreOutlined.d.ts +1 -1
  363. package/es/icons/PauseFilled.d.ts +1 -1
  364. package/es/icons/PieChartOutlined.d.ts +1 -1
  365. package/es/icons/PlayFilled.d.ts +1 -1
  366. package/es/icons/PlusCircleOutlined.d.ts +1 -1
  367. package/es/icons/PlusOutlined.d.ts +1 -1
  368. package/es/icons/PrinterOutlined.d.ts +2 -0
  369. package/es/icons/PrinterOutlined.js +29 -0
  370. package/es/icons/ProtectOutlined.d.ts +1 -1
  371. package/es/icons/QuestionCircleFilled.d.ts +1 -1
  372. package/es/icons/QuestionCircleOutlined.d.ts +1 -1
  373. package/es/icons/ReloadOutlined.d.ts +1 -1
  374. package/es/icons/ResizeOutlined.d.ts +2 -0
  375. package/es/icons/ResizeOutlined.js +30 -0
  376. package/es/icons/SearchOutlined.d.ts +1 -1
  377. package/es/icons/SettingOutlined.d.ts +1 -1
  378. package/es/icons/ShoppingOutlined.d.ts +1 -1
  379. package/es/icons/SortOutlined.d.ts +1 -1
  380. package/es/icons/StarFilled.d.ts +1 -1
  381. package/es/icons/StepBackwardFilled.d.ts +1 -1
  382. package/es/icons/StepForwardFilled.d.ts +1 -1
  383. package/es/icons/SuitcaseOutlined.d.ts +1 -1
  384. package/es/icons/SunOutlined.d.ts +1 -1
  385. package/es/icons/SwapOutlined.d.ts +1 -1
  386. package/es/icons/SyncOutlined.d.ts +1 -1
  387. package/es/icons/TableOutlined.d.ts +1 -1
  388. package/es/icons/TagOutlined.d.ts +1 -1
  389. package/es/icons/TimerOutlined.d.ts +1 -1
  390. package/es/icons/UndoOutlined.d.ts +1 -1
  391. package/es/icons/UnlockOutlined.d.ts +1 -1
  392. package/es/icons/UploadOutlined.d.ts +1 -1
  393. package/es/icons/UserOutlined.d.ts +1 -1
  394. package/es/icons/VerticalAlignMiddleOutlined.d.ts +1 -1
  395. package/es/icons/VerticalLeftOutlined.d.ts +1 -1
  396. package/es/icons/VerticalLeftOutlined.js +2 -2
  397. package/es/icons/VerticalRightOutlined.d.ts +1 -1
  398. package/es/icons/VerticalRightOutlined.js +2 -2
  399. package/es/icons/WarningOutlined.d.ts +1 -1
  400. package/es/icons/ZoomInOutlined.d.ts +1 -1
  401. package/es/icons/ZoomOutOutlined.d.ts +1 -1
  402. package/es/icons/index.d.ts +2 -0
  403. package/es/icons/index.js +60 -56
  404. package/es/installer.d.ts +2 -2
  405. package/es/lang/en_US.d.ts +2 -2
  406. package/es/lang/en_US.js +15 -3
  407. package/es/lang/zh_CN.d.ts +2 -2
  408. package/es/lang/zh_CN.js +15 -3
  409. package/es/lang/zh_TW.d.ts +2 -2
  410. package/es/lang/zh_TW.js +14 -2
  411. package/es/style/index.scss +1 -43
  412. package/es/style/plus.scss +43 -0
  413. package/es/style/themes/dark.scss +9 -15
  414. package/es/style/themes/default.scss +64 -84
  415. package/es/style/themes/rounded.scss +17 -31
  416. package/es/style/themes/theme-util.scss +0 -2
  417. package/es/utils/core.d.ts +5 -0
  418. package/es/utils/core.js +28 -0
  419. package/es/utils/menu-util.d.ts +3 -2
  420. package/es/utils/message.d.ts +4 -3
  421. package/es/utils/resolvers.d.ts +4 -4
  422. package/es/utils/resolvers.js +33 -20
  423. package/lib/core-installer.d.ts +2 -2
  424. package/lib/ele-alert/index.cjs +4 -6
  425. package/lib/ele-alert/index.d.ts +1 -1
  426. package/lib/ele-alert/props.d.ts +10 -9
  427. package/lib/ele-app/el.d.ts +18 -1
  428. package/lib/ele-app/index.d.ts +1 -1
  429. package/lib/ele-app/plus.d.ts +12 -0
  430. package/lib/ele-app/style/overwrite/date-picker/index.scss +32 -5
  431. package/lib/ele-app/style/overwrite/message-box/index.scss +5 -0
  432. package/lib/ele-avatar-group/index.cjs +1 -3
  433. package/lib/ele-avatar-group/index.d.ts +4 -3
  434. package/lib/ele-avatar-group/props.d.ts +10 -9
  435. package/lib/ele-bar-code/index.d.ts +5 -4
  436. package/lib/ele-bar-code/props.d.ts +4 -3
  437. package/lib/ele-basic-select/index.cjs +39 -18
  438. package/lib/ele-basic-select/index.d.ts +17 -15
  439. package/lib/ele-basic-select/props.d.ts +9 -8
  440. package/lib/ele-basic-select/util.d.ts +2 -1
  441. package/lib/ele-bottom-bar/index.d.ts +1 -1
  442. package/lib/ele-bottom-bar/props.d.ts +4 -3
  443. package/lib/ele-breadcrumb/index.d.ts +3 -2
  444. package/lib/ele-breadcrumb/props.d.ts +5 -4
  445. package/lib/ele-card/index.d.ts +1 -1
  446. package/lib/ele-card/props.d.ts +7 -6
  447. package/lib/ele-check-card/components/card-item.d.ts +4 -3
  448. package/lib/ele-check-card/index.cjs +0 -5
  449. package/lib/ele-check-card/index.d.ts +6 -5
  450. package/lib/ele-check-card/props.d.ts +6 -5
  451. package/lib/ele-config-provider/components/receiver-view.cjs +2 -0
  452. package/lib/ele-config-provider/components/receiver-view.d.ts +17 -0
  453. package/lib/ele-config-provider/index.d.ts +3 -3
  454. package/lib/ele-config-provider/props.cjs +2 -2
  455. package/lib/ele-config-provider/props.d.ts +6 -5
  456. package/lib/ele-config-provider/receiver.cjs +45 -2
  457. package/lib/ele-config-provider/receiver.d.ts +5 -9
  458. package/lib/ele-config-provider/types.d.ts +6 -12
  459. package/lib/ele-copyable/index.cjs +0 -4
  460. package/lib/ele-copyable/index.d.ts +8 -9
  461. package/lib/ele-copyable/props.d.ts +9 -8
  462. package/lib/ele-count-up/index.d.ts +2 -1
  463. package/lib/ele-count-up/props.d.ts +3 -2
  464. package/lib/ele-cropper/components/cropper-preview.d.ts +1 -1
  465. package/lib/ele-cropper/components/cropper-tools.d.ts +4 -3
  466. package/lib/ele-cropper/index.cjs +0 -4
  467. package/lib/ele-cropper/index.d.ts +11 -10
  468. package/lib/ele-cropper/props.d.ts +4 -3
  469. package/lib/ele-cropper-modal/index.cjs +1 -1
  470. package/lib/ele-cropper-modal/index.d.ts +3 -2
  471. package/lib/ele-cropper-modal/props.d.ts +7 -6
  472. package/lib/ele-dashboard/index.cjs +7 -16
  473. package/lib/ele-dashboard/index.d.ts +1 -2
  474. package/lib/ele-dashboard/props.d.ts +3 -2
  475. package/lib/ele-data-table/index.cjs +9 -1
  476. package/lib/ele-data-table/index.d.ts +10 -15
  477. package/lib/ele-data-table/props.d.ts +38 -43
  478. package/lib/ele-data-table/style/index.scss +4 -0
  479. package/lib/ele-data-table/types.d.ts +18 -16
  480. package/lib/ele-data-table/util.cjs +14 -0
  481. package/lib/ele-data-table/util.d.ts +15 -9
  482. package/lib/ele-dot/index.cjs +3 -9
  483. package/lib/ele-dot/index.d.ts +3 -5
  484. package/lib/ele-dot/props.d.ts +3 -2
  485. package/lib/ele-drawer/index.cjs +109 -112
  486. package/lib/ele-drawer/index.d.ts +8 -4
  487. package/lib/ele-drawer/props.d.ts +26 -25
  488. package/lib/ele-drawer/style/index.scss +49 -106
  489. package/lib/ele-dropdown/index.cjs +7 -10
  490. package/lib/ele-dropdown/index.d.ts +6 -5
  491. package/lib/ele-dropdown/props.d.ts +22 -21
  492. package/lib/ele-dropdown/style/index.scss +2 -2
  493. package/lib/ele-edit-tag/index.cjs +17 -15
  494. package/lib/ele-edit-tag/index.d.ts +9 -2
  495. package/lib/ele-edit-tag/props.cjs +5 -1
  496. package/lib/ele-edit-tag/props.d.ts +14 -9
  497. package/lib/ele-edit-tag/style/index.scss +13 -0
  498. package/lib/ele-ellipsis/index.cjs +3 -26
  499. package/lib/ele-ellipsis/index.d.ts +7 -6
  500. package/lib/ele-ellipsis/props.d.ts +8 -7
  501. package/lib/ele-file-list/components/file-grid-item.cjs +16 -9
  502. package/lib/ele-file-list/components/file-grid-item.d.ts +6 -5
  503. package/lib/ele-file-list/components/file-grid.cjs +53 -49
  504. package/lib/ele-file-list/components/file-grid.d.ts +6 -5
  505. package/lib/ele-file-list/components/file-sort.d.ts +1 -1
  506. package/lib/ele-file-list/components/file-table-item.cjs +20 -15
  507. package/lib/ele-file-list/components/file-table-item.d.ts +6 -5
  508. package/lib/ele-file-list/components/file-table.cjs +91 -85
  509. package/lib/ele-file-list/components/file-table.d.ts +6 -5
  510. package/lib/ele-file-list/icons.d.ts +2 -1
  511. package/lib/ele-file-list/index.cjs +0 -10
  512. package/lib/ele-file-list/index.d.ts +8 -7
  513. package/lib/ele-file-list/props.d.ts +6 -5
  514. package/lib/ele-file-list-tool/index.cjs +2 -2
  515. package/lib/ele-file-list-tool/index.d.ts +4 -4
  516. package/lib/ele-icon-select/components/icon-grid.cjs +1 -1
  517. package/lib/ele-icon-select/components/icon-grid.d.ts +4 -3
  518. package/lib/ele-icon-select/index.cjs +39 -16
  519. package/lib/ele-icon-select/index.d.ts +27 -14
  520. package/lib/ele-icon-select/props.cjs +6 -1
  521. package/lib/ele-icon-select/props.d.ts +23 -17
  522. package/lib/ele-icon-select/style/index.cjs +1 -0
  523. package/lib/ele-icon-select/style/index.scss +16 -2
  524. package/lib/ele-loading/index.cjs +38 -42
  525. package/lib/ele-loading/index.d.ts +1 -6
  526. package/lib/ele-loading/props.d.ts +5 -4
  527. package/lib/ele-map-picker/components/map-view.cjs +225 -174
  528. package/lib/ele-map-picker/components/map-view.d.ts +51 -27
  529. package/lib/ele-map-picker/index.cjs +21 -39
  530. package/lib/ele-map-picker/index.d.ts +45 -22
  531. package/lib/ele-map-picker/props.cjs +20 -6
  532. package/lib/ele-map-picker/props.d.ts +37 -12
  533. package/lib/ele-map-picker/style/index.scss +195 -166
  534. package/lib/ele-map-picker/types.d.ts +8 -4
  535. package/lib/ele-menus/index.cjs +76 -12
  536. package/lib/ele-menus/index.d.ts +19 -7
  537. package/lib/ele-menus/props.cjs +13 -3
  538. package/lib/ele-menus/props.d.ts +27 -16
  539. package/lib/ele-menus/style/css-var.scss +1 -5
  540. package/lib/ele-menus/style/index.cjs +2 -0
  541. package/lib/ele-menus/style/index.scss +13 -11
  542. package/lib/ele-menus/types.d.ts +9 -9
  543. package/lib/ele-menus/util.cjs +115 -80
  544. package/lib/ele-menus/util.d.ts +35 -16
  545. package/lib/ele-modal/index.cjs +187 -179
  546. package/lib/ele-modal/index.d.ts +18 -11
  547. package/lib/ele-modal/props.cjs +2 -0
  548. package/lib/ele-modal/props.d.ts +26 -23
  549. package/lib/ele-modal/style/index.scss +134 -159
  550. package/lib/ele-modal/types.d.ts +2 -10
  551. package/lib/ele-modal/util.cjs +53 -214
  552. package/lib/ele-modal/util.d.ts +20 -45
  553. package/lib/ele-page/index.d.ts +1 -1
  554. package/lib/ele-page/props.d.ts +2 -1
  555. package/lib/ele-pagination/index.cjs +21 -12
  556. package/lib/ele-pagination/index.d.ts +20 -9
  557. package/lib/ele-pagination/props.cjs +7 -0
  558. package/lib/ele-pagination/props.d.ts +19 -12
  559. package/lib/ele-pagination/style/index.scss +9 -0
  560. package/lib/ele-pagination/types.d.ts +6 -1
  561. package/lib/ele-popconfirm/index.cjs +5 -27
  562. package/lib/ele-popconfirm/index.d.ts +4 -3
  563. package/lib/ele-popconfirm/props.d.ts +32 -31
  564. package/lib/ele-popconfirm/style/index.cjs +1 -1
  565. package/lib/ele-popover/index.cjs +5 -13
  566. package/lib/ele-popover/index.d.ts +7 -6
  567. package/lib/ele-popover/props.d.ts +26 -25
  568. package/lib/ele-popover/style/index.cjs +0 -1
  569. package/lib/ele-printer/index.cjs +10 -10
  570. package/lib/ele-printer/index.d.ts +7 -7
  571. package/lib/ele-printer/props.d.ts +6 -5
  572. package/lib/ele-printer/style/index.scss +1 -1
  573. package/lib/ele-printer/util.cjs +4 -2
  574. package/lib/ele-printer/util.d.ts +2 -1
  575. package/lib/ele-pro-layout/components/header-tool.d.ts +1 -1
  576. package/lib/ele-pro-layout/components/pro-header.cjs +176 -27
  577. package/lib/ele-pro-layout/components/pro-header.d.ts +94 -17
  578. package/lib/ele-pro-layout/components/pro-iframe.cjs +45 -22
  579. package/lib/ele-pro-layout/components/pro-iframe.d.ts +4 -3
  580. package/lib/ele-pro-layout/components/pro-sidebar.cjs +41 -16
  581. package/lib/ele-pro-layout/components/pro-sidebar.d.ts +30 -19
  582. package/lib/ele-pro-layout/components/pro-sidebox.cjs +52 -15
  583. package/lib/ele-pro-layout/components/pro-sidebox.d.ts +32 -15
  584. package/lib/ele-pro-layout/components/pro-tabs.d.ts +6 -5
  585. package/lib/ele-pro-layout/components/sidebar-tool.d.ts +1 -1
  586. package/lib/ele-pro-layout/components/tab-dropdown.cjs +6 -2
  587. package/lib/ele-pro-layout/components/tab-dropdown.d.ts +5 -4
  588. package/lib/ele-pro-layout/index.cjs +318 -86
  589. package/lib/ele-pro-layout/index.d.ts +54 -39
  590. package/lib/ele-pro-layout/props.cjs +8 -1
  591. package/lib/ele-pro-layout/props.d.ts +17 -10
  592. package/lib/ele-pro-layout/style/css-var.scss +3 -18
  593. package/lib/ele-pro-layout/style/header.scss +74 -9
  594. package/lib/ele-pro-layout/style/layout-mobile.scss +2 -2
  595. package/lib/ele-pro-layout/style/layout-style.scss +8 -3
  596. package/lib/ele-pro-layout/style/layout-theme.scss +48 -23
  597. package/lib/ele-pro-layout/style/layout.scss +23 -3
  598. package/lib/ele-pro-layout/style/sidebar.scss +0 -1
  599. package/lib/ele-pro-layout/style/tabs.scss +20 -12
  600. package/lib/ele-pro-layout/types.d.ts +30 -4
  601. package/lib/ele-pro-layout/util.d.ts +5 -4
  602. package/lib/ele-pro-table/components/table-tools.cjs +124 -7
  603. package/lib/ele-pro-table/components/table-tools.d.ts +102 -10
  604. package/lib/ele-pro-table/components/tool-column-list.cjs +3 -6
  605. package/lib/ele-pro-table/components/tool-column-list.d.ts +4 -3
  606. package/lib/ele-pro-table/components/tool-column.cjs +8 -8
  607. package/lib/ele-pro-table/components/tool-column.d.ts +5 -4
  608. package/lib/ele-pro-table/components/tool-export.cjs +448 -0
  609. package/lib/ele-pro-table/components/tool-export.d.ts +456 -0
  610. package/lib/ele-pro-table/components/tool-print-body-cell.cjs +87 -0
  611. package/lib/ele-pro-table/components/tool-print-body-cell.d.ts +35 -0
  612. package/lib/ele-pro-table/components/tool-print-header-cell.cjs +87 -0
  613. package/lib/ele-pro-table/components/tool-print-header-cell.d.ts +35 -0
  614. package/lib/ele-pro-table/components/tool-print.cjs +554 -0
  615. package/lib/ele-pro-table/components/tool-print.d.ts +895 -0
  616. package/lib/ele-pro-table/index.cjs +89 -17
  617. package/lib/ele-pro-table/index.d.ts +36 -30
  618. package/lib/ele-pro-table/props.cjs +6 -2
  619. package/lib/ele-pro-table/props.d.ts +52 -48
  620. package/lib/ele-pro-table/style/index.cjs +9 -0
  621. package/lib/ele-pro-table/style/index.scss +33 -5
  622. package/lib/ele-pro-table/types.d.ts +149 -5
  623. package/lib/ele-pro-table/util.cjs +145 -21
  624. package/lib/ele-pro-table/util.d.ts +58 -6
  625. package/lib/ele-qr-code/index.d.ts +3 -2
  626. package/lib/ele-qr-code/props.d.ts +4 -3
  627. package/lib/ele-qr-code/util.d.ts +3 -2
  628. package/lib/ele-qr-code-svg/index.d.ts +1 -1
  629. package/lib/ele-segmented/index.cjs +1 -3
  630. package/lib/ele-segmented/index.d.ts +4 -3
  631. package/lib/ele-segmented/props.d.ts +3 -2
  632. package/lib/ele-split-panel/index.cjs +62 -58
  633. package/lib/ele-split-panel/index.d.ts +11 -9
  634. package/lib/ele-split-panel/props.d.ts +5 -4
  635. package/lib/ele-steps/index.cjs +2 -4
  636. package/lib/ele-steps/index.d.ts +1 -2
  637. package/lib/ele-steps/props.d.ts +10 -9
  638. package/lib/ele-tab-tool/index.d.ts +1 -1
  639. package/lib/ele-tab-tool/props.d.ts +2 -1
  640. package/lib/ele-tab-wrap/index.cjs +2 -1
  641. package/lib/ele-tab-wrap/index.d.ts +1 -1
  642. package/lib/ele-tab-wrap/props.d.ts +3 -2
  643. package/lib/ele-table/index.cjs +2 -1
  644. package/lib/ele-table/index.d.ts +4 -1
  645. package/lib/ele-table/props.cjs +3 -1
  646. package/lib/ele-table/props.d.ts +4 -1
  647. package/lib/ele-table/style/index.scss +35 -0
  648. package/lib/ele-table-select/index.cjs +27 -26
  649. package/lib/ele-table-select/index.d.ts +24 -22
  650. package/lib/ele-table-select/props.d.ts +11 -10
  651. package/lib/ele-tabs/components/tab-title.d.ts +6 -5
  652. package/lib/ele-tabs/index.cjs +2 -6
  653. package/lib/ele-tabs/index.d.ts +13 -23
  654. package/lib/ele-tabs/props.d.ts +15 -21
  655. package/lib/ele-tabs/style/css-var.scss +1 -30
  656. package/lib/ele-tabs/style/index.scss +372 -241
  657. package/lib/ele-tabs/types.d.ts +2 -1
  658. package/lib/ele-text/index.d.ts +1 -1
  659. package/lib/ele-text/props.d.ts +5 -4
  660. package/lib/ele-tool/index.cjs +1 -3
  661. package/lib/ele-tool/index.d.ts +2 -2
  662. package/lib/ele-tool/props.cjs +5 -0
  663. package/lib/ele-tool/props.d.ts +10 -2
  664. package/lib/ele-toolbar/index.d.ts +1 -1
  665. package/lib/ele-toolbar/props.d.ts +7 -6
  666. package/lib/ele-tooltip/index.cjs +12 -13
  667. package/lib/ele-tooltip/index.d.ts +4 -3
  668. package/lib/ele-tooltip/props.cjs +2 -0
  669. package/lib/ele-tooltip/props.d.ts +28 -22
  670. package/lib/ele-tooltip/style/css-var.scss +4 -0
  671. package/lib/ele-tooltip/style/index.scss +23 -0
  672. package/lib/ele-tour/index.cjs +79 -76
  673. package/lib/ele-tour/index.d.ts +5 -4
  674. package/lib/ele-tour/props.d.ts +3 -2
  675. package/lib/ele-tour/util.d.ts +3 -2
  676. package/lib/ele-tree-select/index.d.ts +10 -9
  677. package/lib/ele-tree-select/props.d.ts +12 -11
  678. package/lib/ele-tree-select/util.d.ts +3 -2
  679. package/lib/ele-upload-list/components/list-item.cjs +6 -3
  680. package/lib/ele-upload-list/components/list-item.d.ts +10 -5
  681. package/lib/ele-upload-list/index.cjs +8 -7
  682. package/lib/ele-upload-list/index.d.ts +12 -5
  683. package/lib/ele-upload-list/props.cjs +5 -1
  684. package/lib/ele-upload-list/props.d.ts +11 -6
  685. package/lib/ele-upload-list/style/index.scss +2 -1
  686. package/lib/ele-virtual-table/components/body-cell.cjs +78 -111
  687. package/lib/ele-virtual-table/components/body-cell.d.ts +85 -50
  688. package/lib/ele-virtual-table/components/body-row.cjs +57 -52
  689. package/lib/ele-virtual-table/components/body-row.d.ts +72 -48
  690. package/lib/ele-virtual-table/components/cell-checkbox.d.ts +3 -2
  691. package/lib/ele-virtual-table/components/cell-filter.cjs +7 -11
  692. package/lib/ele-virtual-table/components/cell-filter.d.ts +9 -8
  693. package/lib/ele-virtual-table/components/expand-row.cjs +3 -3
  694. package/lib/ele-virtual-table/components/expand-row.d.ts +10 -9
  695. package/lib/ele-virtual-table/components/footer-row.cjs +27 -17
  696. package/lib/ele-virtual-table/components/footer-row.d.ts +33 -14
  697. package/lib/ele-virtual-table/components/header-cell.d.ts +5 -4
  698. package/lib/ele-virtual-table/components/header-row.d.ts +5 -4
  699. package/lib/ele-virtual-table/index.cjs +132 -134
  700. package/lib/ele-virtual-table/index.d.ts +23 -32
  701. package/lib/ele-virtual-table/props.d.ts +50 -52
  702. package/lib/ele-virtual-table/style/index.scss +1 -1
  703. package/lib/ele-virtual-table/types.d.ts +103 -69
  704. package/lib/ele-virtual-table/util.cjs +65 -34
  705. package/lib/ele-virtual-table/util.d.ts +35 -10
  706. package/lib/ele-watermark/index.cjs +1 -1
  707. package/lib/ele-watermark/index.d.ts +12 -2
  708. package/lib/ele-watermark/props.cjs +5 -0
  709. package/lib/ele-watermark/props.d.ts +9 -3
  710. package/lib/ele-watermark/util.d.ts +3 -2
  711. package/lib/ele-xg-player/index.d.ts +4 -4
  712. package/lib/icons/AnalysisOutlined.d.ts +1 -1
  713. package/lib/icons/ApplicationOutlined.d.ts +1 -1
  714. package/lib/icons/AppstoreAddOutlined.d.ts +1 -1
  715. package/lib/icons/AppstoreOutlined.d.ts +1 -1
  716. package/lib/icons/ArrowDown.d.ts +1 -1
  717. package/lib/icons/ArrowDownOutlined.d.ts +1 -1
  718. package/lib/icons/ArrowLeft.d.ts +1 -1
  719. package/lib/icons/ArrowLeftOutlined.d.ts +1 -1
  720. package/lib/icons/ArrowRight.d.ts +1 -1
  721. package/lib/icons/ArrowRightOutlined.d.ts +1 -1
  722. package/lib/icons/ArrowUp.d.ts +1 -1
  723. package/lib/icons/ArrowUpOutlined.d.ts +1 -1
  724. package/lib/icons/BellOutlined.d.ts +1 -1
  725. package/lib/icons/BookOutlined.d.ts +1 -1
  726. package/lib/icons/CalendarOutlined.d.ts +1 -1
  727. package/lib/icons/CaretDownFilled.d.ts +1 -1
  728. package/lib/icons/CaretUpFilled.d.ts +1 -1
  729. package/lib/icons/CheckCircleFilled.d.ts +1 -1
  730. package/lib/icons/CheckCircleOutlined.d.ts +1 -1
  731. package/lib/icons/CheckOutlined.d.ts +1 -1
  732. package/lib/icons/CityOutlined.d.ts +1 -1
  733. package/lib/icons/ClockCircleOutlined.d.ts +1 -1
  734. package/lib/icons/CloseCircleFilled.d.ts +1 -1
  735. package/lib/icons/CloseCircleOutlined.d.ts +1 -1
  736. package/lib/icons/CloseOutlined.d.ts +1 -1
  737. package/lib/icons/CloudUploadOutlined.d.ts +1 -1
  738. package/lib/icons/ClusterOutlined.d.ts +1 -1
  739. package/lib/icons/CodeOutlined.d.ts +1 -1
  740. package/lib/icons/ColumnHeightOutlined.d.ts +1 -1
  741. package/lib/icons/CompassOutlined.d.ts +1 -1
  742. package/lib/icons/CompressOutlined.d.ts +1 -1
  743. package/lib/icons/ConnectionOutlined.d.ts +1 -1
  744. package/lib/icons/ControlOutlined.d.ts +1 -1
  745. package/lib/icons/CopyOutlined.d.ts +1 -1
  746. package/lib/icons/CpuOutlined.d.ts +1 -1
  747. package/lib/icons/DashboardOutlined.d.ts +1 -1
  748. package/lib/icons/DatabaseOutlined.d.ts +1 -1
  749. package/lib/icons/DeleteOutlined.d.ts +1 -1
  750. package/lib/icons/DesktopOutlined.d.ts +1 -1
  751. package/lib/icons/DownloadOutlined.d.ts +1 -1
  752. package/lib/icons/DragOutlined.d.ts +1 -1
  753. package/lib/icons/EditOutlined.d.ts +1 -1
  754. package/lib/icons/EllipsisOutlined.d.ts +1 -1
  755. package/lib/icons/EnvironmentOutlined.d.ts +1 -1
  756. package/lib/icons/ExclamationCircleFilled.d.ts +1 -1
  757. package/lib/icons/ExpandOutlined.d.ts +1 -1
  758. package/lib/icons/FileOutlined.d.ts +1 -1
  759. package/lib/icons/FilterFilled.d.ts +1 -1
  760. package/lib/icons/FolderAddOutlined.d.ts +1 -1
  761. package/lib/icons/FolderOutlined.d.ts +1 -1
  762. package/lib/icons/FormOutlined.d.ts +1 -1
  763. package/lib/icons/FullscreenExitOutlined.d.ts +1 -1
  764. package/lib/icons/FullscreenOutlined.d.ts +1 -1
  765. package/lib/icons/FundOutlined.d.ts +1 -1
  766. package/lib/icons/GlobalOutlined.d.ts +1 -1
  767. package/lib/icons/HolderOutlined.d.ts +1 -1
  768. package/lib/icons/HomeOutlined.d.ts +1 -1
  769. package/lib/icons/IdcardOutlined.d.ts +1 -1
  770. package/lib/icons/InfoCircleFilled.d.ts +1 -1
  771. package/lib/icons/LinkOutlined.d.ts +1 -1
  772. package/lib/icons/LoadingDotOutlined.d.ts +1 -1
  773. package/lib/icons/LoadingOutlined.d.ts +1 -1
  774. package/lib/icons/LockOutlined.d.ts +1 -1
  775. package/lib/icons/LogOutlined.d.ts +1 -1
  776. package/lib/icons/LogoutOutlined.d.ts +1 -1
  777. package/lib/icons/MailOutlined.d.ts +1 -1
  778. package/lib/icons/MenuFoldOutlined.d.ts +1 -1
  779. package/lib/icons/MenuUnfoldOutlined.d.ts +1 -1
  780. package/lib/icons/MessageOutlined.d.ts +1 -1
  781. package/lib/icons/MinusCircleOutlined.d.ts +1 -1
  782. package/lib/icons/MobileOutlined.d.ts +1 -1
  783. package/lib/icons/MoonOutlined.d.ts +1 -1
  784. package/lib/icons/MoreOutlined.d.ts +1 -1
  785. package/lib/icons/PauseFilled.d.ts +1 -1
  786. package/lib/icons/PieChartOutlined.d.ts +1 -1
  787. package/lib/icons/PlayFilled.d.ts +1 -1
  788. package/lib/icons/PlusCircleOutlined.d.ts +1 -1
  789. package/lib/icons/PlusOutlined.d.ts +1 -1
  790. package/lib/icons/PrinterOutlined.cjs +28 -0
  791. package/lib/icons/PrinterOutlined.d.ts +2 -0
  792. package/lib/icons/ProtectOutlined.d.ts +1 -1
  793. package/lib/icons/QuestionCircleFilled.d.ts +1 -1
  794. package/lib/icons/QuestionCircleOutlined.d.ts +1 -1
  795. package/lib/icons/ReloadOutlined.d.ts +1 -1
  796. package/lib/icons/ResizeOutlined.cjs +29 -0
  797. package/lib/icons/ResizeOutlined.d.ts +2 -0
  798. package/lib/icons/SearchOutlined.d.ts +1 -1
  799. package/lib/icons/SettingOutlined.d.ts +1 -1
  800. package/lib/icons/ShoppingOutlined.d.ts +1 -1
  801. package/lib/icons/SortOutlined.d.ts +1 -1
  802. package/lib/icons/StarFilled.d.ts +1 -1
  803. package/lib/icons/StepBackwardFilled.d.ts +1 -1
  804. package/lib/icons/StepForwardFilled.d.ts +1 -1
  805. package/lib/icons/SuitcaseOutlined.d.ts +1 -1
  806. package/lib/icons/SunOutlined.d.ts +1 -1
  807. package/lib/icons/SwapOutlined.d.ts +1 -1
  808. package/lib/icons/SyncOutlined.d.ts +1 -1
  809. package/lib/icons/TableOutlined.d.ts +1 -1
  810. package/lib/icons/TagOutlined.d.ts +1 -1
  811. package/lib/icons/TimerOutlined.d.ts +1 -1
  812. package/lib/icons/UndoOutlined.d.ts +1 -1
  813. package/lib/icons/UnlockOutlined.d.ts +1 -1
  814. package/lib/icons/UploadOutlined.d.ts +1 -1
  815. package/lib/icons/UserOutlined.d.ts +1 -1
  816. package/lib/icons/VerticalAlignMiddleOutlined.d.ts +1 -1
  817. package/lib/icons/VerticalLeftOutlined.cjs +2 -2
  818. package/lib/icons/VerticalLeftOutlined.d.ts +1 -1
  819. package/lib/icons/VerticalRightOutlined.cjs +2 -2
  820. package/lib/icons/VerticalRightOutlined.d.ts +1 -1
  821. package/lib/icons/WarningOutlined.d.ts +1 -1
  822. package/lib/icons/ZoomInOutlined.d.ts +1 -1
  823. package/lib/icons/ZoomOutOutlined.d.ts +1 -1
  824. package/lib/icons/index.cjs +4 -0
  825. package/lib/icons/index.d.ts +2 -0
  826. package/lib/installer.d.ts +2 -2
  827. package/lib/lang/en_US.cjs +15 -3
  828. package/lib/lang/en_US.d.ts +2 -2
  829. package/lib/lang/zh_CN.cjs +15 -3
  830. package/lib/lang/zh_CN.d.ts +2 -2
  831. package/lib/lang/zh_TW.cjs +14 -2
  832. package/lib/lang/zh_TW.d.ts +2 -2
  833. package/lib/style/index.scss +1 -43
  834. package/lib/style/plus.scss +43 -0
  835. package/lib/style/themes/dark.scss +9 -15
  836. package/lib/style/themes/default.scss +64 -84
  837. package/lib/style/themes/rounded.scss +17 -31
  838. package/lib/style/themes/theme-util.scss +0 -2
  839. package/lib/utils/core.cjs +28 -0
  840. package/lib/utils/core.d.ts +5 -0
  841. package/lib/utils/menu-util.d.ts +3 -2
  842. package/lib/utils/message.d.ts +4 -3
  843. package/lib/utils/resolvers.cjs +33 -20
  844. package/lib/utils/resolvers.d.ts +4 -4
  845. package/package.json +24 -23
  846. package/es/ele-popover/style/css-var.scss +0 -8
  847. package/es/ele-popover/style/index.scss +0 -27
  848. package/lib/ele-popover/style/css-var.scss +0 -8
  849. package/lib/ele-popover/style/index.scss +0 -27
@@ -1,21 +1,20 @@
1
- import { defineComponent, ref, computed, unref, onActivated, onDeactivated, resolveComponent, openBlock, createBlock, createSlots, withCtx, createElementVNode, normalizeStyle, renderSlot, createTextVNode, toDisplayString, createElementBlock, createVNode, createCommentVNode } from "vue";
1
+ import { defineComponent, ref, computed, unref, onActivated, onDeactivated, resolveComponent, openBlock, createBlock, Teleport, createVNode, mergeProps, createSlots, withCtx, createElementVNode, normalizeStyle, renderSlot, createTextVNode, toDisplayString, createElementBlock, createCommentVNode } from "vue";
2
2
  import { ElDrawer, ElIcon, drawerEmits } from "element-plus";
3
- import { useLicense, useLayoutState } from "../ele-config-provider/receiver";
4
- import { collapseClass, compactClass, maximizedClass, hasTabClass, mixSidebarClass, singleSidebarClass, topLayoutClass, expandedClass, mobileClass } from "../ele-modal/util";
5
3
  import { CloseOutlined } from "../icons";
4
+ import { useLayoutState } from "../ele-config-provider/receiver";
5
+ import ReceiverView from "../ele-config-provider/components/receiver-view";
6
+ import { getModalContainer } from "../ele-modal/util";
6
7
  import { drawerProps } from "./props";
7
8
  const _sfc_main = defineComponent({
8
9
  name: "EleDrawer",
9
- components: { ElDrawer, ElIcon, CloseOutlined },
10
+ components: { ElDrawer, ElIcon, CloseOutlined, ReceiverView },
10
11
  props: drawerProps,
11
12
  emits: drawerEmits,
12
13
  setup(props, { emit }) {
13
- const { authenticated } = useLicense();
14
14
  const layoutProvide = useLayoutState();
15
15
  const drawerRef = ref(null);
16
16
  const isActivated = ref(true);
17
17
  const drawerClass = computed(() => {
18
- const layoutState = unref(layoutProvide);
19
18
  const classes = ["ele-drawer"];
20
19
  if (!props.modelValue) {
21
20
  classes.push("ele-drawer-closed");
@@ -25,50 +24,27 @@ const _sfc_main = defineComponent({
25
24
  }
26
25
  if (props.inner) {
27
26
  classes.push("ele-drawer-inner");
28
- if (layoutState && layoutState.sidebar != null) {
29
- if (layoutState.collapse && !layoutState.topLayout) {
30
- classes.push(collapseClass);
31
- }
32
- if (layoutState.compact && layoutState.mixSidebar && !layoutState.topLayout) {
33
- classes.push(compactClass);
34
- }
35
- if (layoutState.maximized) {
36
- classes.push(maximizedClass);
37
- }
38
- if (layoutState.tabBar) {
39
- classes.push(hasTabClass);
40
- }
41
- if (layoutState.mixSidebar && !layoutState.topLayout) {
42
- classes.push(mixSidebarClass);
43
- if (!layoutState.sidebar) {
44
- classes.push(singleSidebarClass);
45
- }
46
- }
47
- if (layoutState.topLayout) {
48
- classes.push(topLayoutClass);
49
- }
50
- if (layoutState.maximized && layoutState.expanded) {
51
- classes.push(expandedClass);
52
- }
53
- if (layoutState.mobile) {
54
- classes.push(mobileClass);
55
- }
56
- }
57
27
  }
58
28
  if (props.modalClass) {
59
29
  classes.push(props.modalClass);
60
30
  }
61
31
  return classes.join(" ");
62
32
  });
33
+ const teleportTo = computed(() => {
34
+ return getModalContainer(
35
+ props.inner,
36
+ false,
37
+ void 0,
38
+ layoutProvide ? unref(layoutProvide).modalsEl : void 0
39
+ );
40
+ });
63
41
  const handleClose = () => {
64
42
  if (drawerRef.value && drawerRef.value.handleClose) {
65
43
  drawerRef.value.handleClose();
66
44
  }
67
45
  };
68
46
  const updateModelValue = (value) => {
69
- if (authenticated.value) {
70
- emit("update:modelValue", value);
71
- }
47
+ emit("update:modelValue", value);
72
48
  };
73
49
  const onOpen = () => {
74
50
  emit("open");
@@ -82,6 +58,12 @@ const _sfc_main = defineComponent({
82
58
  const onClosed = () => {
83
59
  emit("closed");
84
60
  };
61
+ const onOpenAutoFocus = () => {
62
+ emit("openAutoFocus");
63
+ };
64
+ const onCloseAutoFocus = () => {
65
+ emit("closeAutoFocus");
66
+ };
85
67
  onActivated(() => {
86
68
  isActivated.value = true;
87
69
  });
@@ -91,12 +73,15 @@ const _sfc_main = defineComponent({
91
73
  return {
92
74
  drawerRef,
93
75
  drawerClass,
76
+ teleportTo,
94
77
  handleClose,
95
78
  updateModelValue,
96
79
  onOpen,
97
80
  onOpened,
98
81
  onClose,
99
- onClosed
82
+ onClosed,
83
+ onOpenAutoFocus,
84
+ onCloseAutoFocus
100
85
  };
101
86
  }
102
87
  });
@@ -111,87 +96,99 @@ const _hoisted_1 = ["onClick"];
111
96
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
112
97
  const _component_CloseOutlined = resolveComponent("CloseOutlined");
113
98
  const _component_ElIcon = resolveComponent("ElIcon");
99
+ const _component_ReceiverView = resolveComponent("ReceiverView");
114
100
  const _component_ElDrawer = resolveComponent("ElDrawer");
115
- return openBlock(), createBlock(_component_ElDrawer, {
116
- ref: "drawerRef",
117
- modelValue: _ctx.modelValue,
118
- appendToBody: _ctx.appendToBody,
119
- lockScroll: _ctx.lockScroll,
120
- beforeClose: _ctx.beforeClose,
121
- closeOnClickModal: _ctx.closeOnClickModal,
122
- closeOnPressEscape: _ctx.closeOnPressEscape,
123
- openDelay: _ctx.openDelay,
124
- closeDelay: _ctx.closeDelay,
125
- destroyOnClose: _ctx.destroyOnClose,
126
- modal: _ctx.modal,
127
- direction: _ctx.direction,
128
- showClose: false,
129
- size: _ctx.size,
130
- title: _ctx.title,
131
- withHeader: _ctx.withHeader,
132
- modalClass: _ctx.drawerClass,
133
- zIndex: _ctx.zIndex,
134
- headerAriaLevel: _ctx.headerAriaLevel,
135
- onOpen: _ctx.onOpen,
136
- onOpened: _ctx.onOpened,
137
- onClose: _ctx.onClose,
138
- onClosed: _ctx.onClosed,
139
- "onUpdate:modelValue": _ctx.updateModelValue
140
- }, createSlots({
141
- header: withCtx(({ close }) => [
142
- createElementVNode("div", {
143
- class: "ele-drawer-header",
144
- style: normalizeStyle(_ctx.headerStyle)
145
- }, [
146
- createElementVNode("div", {
147
- role: "heading",
148
- class: "ele-drawer-title",
149
- style: normalizeStyle(_ctx.titleStyle)
150
- }, [
151
- renderSlot(_ctx.$slots, "header", {}, () => [
152
- createTextVNode(toDisplayString(_ctx.title), 1)
153
- ])
154
- ], 4),
155
- _ctx.showClose ? (openBlock(), createElementBlock("div", {
156
- key: 0,
157
- class: "ele-drawer-close",
158
- style: normalizeStyle(_ctx.closeBtnStyle),
159
- onClick: close
160
- }, [
161
- renderSlot(_ctx.$slots, "closeBtn", {}, () => [
162
- createVNode(_component_ElIcon, null, {
163
- default: withCtx(() => [
164
- createVNode(_component_CloseOutlined)
165
- ]),
166
- _: 1
167
- })
168
- ])
169
- ], 12, _hoisted_1)) : createCommentVNode("", true)
170
- ], 4)
171
- ]),
172
- default: withCtx(() => [
173
- createElementVNode("div", {
174
- class: "ele-drawer-body",
175
- style: normalizeStyle(_ctx.bodyStyle)
176
- }, [
177
- renderSlot(_ctx.$slots, "default")
178
- ], 4)
179
- ]),
180
- _: 2
101
+ return openBlock(), createBlock(Teleport, {
102
+ to: _ctx.teleportTo,
103
+ disabled: _ctx.inner ? false : !_ctx.appendToBody
181
104
  }, [
182
- _ctx.$slots.footer ? {
183
- name: "footer",
184
- fn: withCtx(() => [
105
+ createVNode(_component_ElDrawer, mergeProps(_ctx.$attrs, {
106
+ ref: "drawerRef",
107
+ modelValue: _ctx.modelValue,
108
+ appendToBody: false,
109
+ lockScroll: _ctx.inner ? false : _ctx.lockScroll,
110
+ beforeClose: _ctx.beforeClose,
111
+ closeOnClickModal: _ctx.closeOnClickModal,
112
+ closeOnPressEscape: _ctx.closeOnPressEscape,
113
+ openDelay: _ctx.openDelay,
114
+ closeDelay: _ctx.closeDelay,
115
+ destroyOnClose: _ctx.destroyOnClose,
116
+ modal: _ctx.modal,
117
+ direction: _ctx.direction,
118
+ showClose: false,
119
+ size: _ctx.size,
120
+ title: _ctx.title,
121
+ withHeader: _ctx.withHeader,
122
+ modalClass: _ctx.drawerClass,
123
+ zIndex: _ctx.zIndex,
124
+ headerAriaLevel: _ctx.headerAriaLevel,
125
+ onOpen: _ctx.onOpen,
126
+ onOpened: _ctx.onOpened,
127
+ onClose: _ctx.onClose,
128
+ onClosed: _ctx.onClosed,
129
+ onOpenAutoFocus: _ctx.onOpenAutoFocus,
130
+ onCloseAutoFocus: _ctx.onCloseAutoFocus,
131
+ "onUpdate:modelValue": _ctx.updateModelValue
132
+ }), createSlots({
133
+ header: withCtx(({ close }) => [
185
134
  createElementVNode("div", {
186
- class: "ele-drawer-footer",
187
- style: normalizeStyle(_ctx.footerStyle)
135
+ class: "ele-drawer-header",
136
+ style: normalizeStyle(_ctx.headerStyle)
188
137
  }, [
189
- renderSlot(_ctx.$slots, "footer")
138
+ createElementVNode("div", {
139
+ role: "heading",
140
+ class: "ele-drawer-title",
141
+ style: normalizeStyle(_ctx.titleStyle)
142
+ }, [
143
+ renderSlot(_ctx.$slots, "header", {}, () => [
144
+ createTextVNode(toDisplayString(_ctx.title), 1)
145
+ ])
146
+ ], 4),
147
+ _ctx.showClose ? (openBlock(), createElementBlock("div", {
148
+ key: 0,
149
+ class: "ele-drawer-close",
150
+ style: normalizeStyle(_ctx.closeBtnStyle),
151
+ onClick: close
152
+ }, [
153
+ renderSlot(_ctx.$slots, "closeBtn", {}, () => [
154
+ createVNode(_component_ElIcon, null, {
155
+ default: withCtx(() => [
156
+ createVNode(_component_CloseOutlined)
157
+ ]),
158
+ _: 1
159
+ })
160
+ ])
161
+ ], 12, _hoisted_1)) : createCommentVNode("", true)
190
162
  ], 4)
191
163
  ]),
192
- key: "0"
193
- } : void 0
194
- ]), 1032, ["modelValue", "appendToBody", "lockScroll", "beforeClose", "closeOnClickModal", "closeOnPressEscape", "openDelay", "closeDelay", "destroyOnClose", "modal", "direction", "size", "title", "withHeader", "modalClass", "zIndex", "headerAriaLevel", "onOpen", "onOpened", "onClose", "onClosed", "onUpdate:modelValue"]);
164
+ default: withCtx(() => [
165
+ createVNode(_component_ReceiverView, {
166
+ wrapPosition: false,
167
+ class: "ele-drawer-body",
168
+ style: normalizeStyle(_ctx.bodyStyle)
169
+ }, {
170
+ default: withCtx(() => [
171
+ renderSlot(_ctx.$slots, "default")
172
+ ]),
173
+ _: 3
174
+ }, 8, ["style"])
175
+ ]),
176
+ _: 2
177
+ }, [
178
+ _ctx.$slots.footer ? {
179
+ name: "footer",
180
+ fn: withCtx(() => [
181
+ createElementVNode("div", {
182
+ class: "ele-drawer-footer",
183
+ style: normalizeStyle(_ctx.footerStyle)
184
+ }, [
185
+ renderSlot(_ctx.$slots, "footer")
186
+ ], 4)
187
+ ]),
188
+ key: "0"
189
+ } : void 0
190
+ ]), 1040, ["modelValue", "lockScroll", "beforeClose", "closeOnClickModal", "closeOnPressEscape", "openDelay", "closeDelay", "destroyOnClose", "modal", "direction", "size", "title", "withHeader", "modalClass", "zIndex", "headerAriaLevel", "onOpen", "onOpened", "onClose", "onClosed", "onOpenAutoFocus", "onCloseAutoFocus", "onUpdate:modelValue"])
191
+ ], 8, ["to", "disabled"]);
195
192
  }
196
193
  const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
197
194
  export {
@@ -1,40 +1,41 @@
1
- import type { PropType, ExtractPropTypes } from 'vue';
1
+ import { PropType, ExtractPropTypes } from 'vue';
2
+
2
3
  /**
3
4
  * 属性
4
5
  */
5
6
  export declare const drawerProps: {
6
7
  /** 自定义标题样式 */
7
- headerStyle: PropType<Partial<import("vue").CSSProperties>>;
8
+ headerStyle: PropType<Partial<import('vue').CSSProperties>>;
8
9
  /** 标题样式 */
9
- titleStyle: PropType<Partial<import("vue").CSSProperties>>;
10
+ titleStyle: PropType<Partial<import('vue').CSSProperties>>;
10
11
  /** 自定义主体样式 */
11
- bodyStyle: PropType<Partial<import("vue").CSSProperties>>;
12
+ bodyStyle: PropType<Partial<import('vue').CSSProperties>>;
12
13
  /** 自定义底部样式 */
13
- footerStyle: PropType<Partial<import("vue").CSSProperties>>;
14
+ footerStyle: PropType<Partial<import('vue').CSSProperties>>;
14
15
  /** 自定义关闭按钮样式 */
15
- closeBtnStyle: PropType<Partial<import("vue").CSSProperties>>;
16
+ closeBtnStyle: PropType<Partial<import('vue').CSSProperties>>;
16
17
  /** 是否限制在主体内部 */
17
18
  inner: BooleanConstructor;
18
- direction: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
19
- size: import("element-plus/es/utils/index").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "30%", boolean>;
20
- withHeader: import("element-plus/es/utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
21
- modalFade: import("element-plus/es/utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
22
- headerAriaLevel: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
19
+ direction: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
20
+ size: import('element-plus/es/utils/index').EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "30%", boolean>;
21
+ withHeader: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
22
+ modalFade: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
23
+ headerAriaLevel: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
23
24
  appendToBody: BooleanConstructor;
24
- appendTo: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, "body", boolean>;
25
+ appendTo: import('element-plus/es/utils/index').EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, "body", boolean>;
25
26
  beforeClose: {
26
- readonly type: PropType<import("element-plus").DialogBeforeCloseFn>;
27
+ readonly type: PropType<import('element-plus').DialogBeforeCloseFn>;
27
28
  readonly required: false;
28
29
  readonly validator: ((val: unknown) => boolean) | undefined;
29
30
  __epPropKey: true;
30
31
  };
31
32
  destroyOnClose: BooleanConstructor;
32
- closeOnClickModal: import("element-plus/es/utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
33
- closeOnPressEscape: import("element-plus/es/utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
34
- lockScroll: import("element-plus/es/utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
35
- modal: import("element-plus/es/utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
36
- openDelay: import("element-plus/es/utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
37
- closeDelay: import("element-plus/es/utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
33
+ closeOnClickModal: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
34
+ closeOnPressEscape: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
35
+ lockScroll: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
36
+ modal: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
37
+ openDelay: import('element-plus/es/utils/index').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
38
+ closeDelay: import('element-plus/es/utils/index').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
38
39
  top: {
39
40
  readonly type: PropType<string>;
40
41
  readonly required: false;
@@ -44,7 +45,7 @@ export declare const drawerProps: {
44
45
  modelValue: BooleanConstructor;
45
46
  modalClass: StringConstructor;
46
47
  width: {
47
- readonly type: PropType<import("element-plus/es/utils/index").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
48
+ readonly type: PropType<import('element-plus/es/utils/index').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
48
49
  readonly required: false;
49
50
  readonly validator: ((val: unknown) => boolean) | undefined;
50
51
  __epPropKey: true;
@@ -55,11 +56,11 @@ export declare const drawerProps: {
55
56
  readonly validator: ((val: unknown) => boolean) | undefined;
56
57
  __epPropKey: true;
57
58
  };
58
- trapFocus: import("element-plus/es/utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
59
+ trapFocus: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
59
60
  center: BooleanConstructor;
60
61
  alignCenter: BooleanConstructor;
61
62
  closeIcon: {
62
- readonly type: PropType<import("element-plus/es/utils/index").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
63
+ readonly type: PropType<import('element-plus/es/utils/index').EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>))[], unknown, unknown>>;
63
64
  readonly required: false;
64
65
  readonly validator: ((val: unknown) => boolean) | undefined;
65
66
  __epPropKey: true;
@@ -67,8 +68,8 @@ export declare const drawerProps: {
67
68
  draggable: BooleanConstructor;
68
69
  overflow: BooleanConstructor;
69
70
  fullscreen: BooleanConstructor;
70
- showClose: import("element-plus/es/utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
71
- title: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
72
- ariaLevel: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
71
+ showClose: import('element-plus/es/utils/index').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
72
+ title: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
73
+ ariaLevel: import('element-plus/es/utils/index').EpPropFinalized<StringConstructor, unknown, unknown, "2", boolean>;
73
74
  };
74
75
  export type DrawerProps = ExtractPropTypes<typeof drawerProps>;
@@ -28,55 +28,55 @@
28
28
  border: none;
29
29
  }
30
30
  }
31
+ }
31
32
 
32
- .ele-drawer-header {
33
- display: flex;
34
- align-items: center;
35
- padding: eleVar('drawer', 'header-padding');
36
- border-bottom: eleVar('drawer', 'header-border');
37
- box-sizing: border-box;
38
- }
39
-
40
- .ele-drawer-title {
41
- flex: 1;
42
- color: eleVar('drawer', 'header-color');
43
- font-size: eleVar('drawer', 'header-font-size');
44
- line-height: eleVar('drawer', 'header-line-height');
45
- font-weight: eleVar('drawer', 'header-font-weight');
46
- box-sizing: border-box;
47
- }
33
+ .ele-drawer-header {
34
+ display: flex;
35
+ align-items: center;
36
+ padding: eleVar('drawer', 'header-padding');
37
+ border-bottom: eleVar('drawer', 'header-border');
38
+ box-sizing: border-box;
39
+ }
48
40
 
49
- .ele-drawer-close {
50
- flex-shrink: 0;
51
- display: flex;
52
- align-items: center;
53
- justify-content: center;
54
- width: eleVar('drawer', 'icon-size');
55
- height: eleVar('drawer', 'icon-size');
56
- line-height: eleVar('drawer', 'icon-size');
57
- color: eleVar('drawer', 'icon-color');
58
- font-size: eleVar('drawer', 'icon-font-size');
59
- border-radius: eleVar('drawer', 'icon-radius');
60
- transition: (color $ele-transition, background-color $ele-transition);
61
- box-sizing: border-box;
62
- cursor: pointer;
41
+ .ele-drawer-title {
42
+ flex: 1;
43
+ color: eleVar('drawer', 'header-color');
44
+ font-size: eleVar('drawer', 'header-font-size');
45
+ line-height: eleVar('drawer', 'header-line-height');
46
+ font-weight: eleVar('drawer', 'header-font-weight');
47
+ box-sizing: border-box;
48
+ }
63
49
 
64
- &:hover {
65
- color: eleVar('drawer', 'icon-hover-color');
66
- background: eleVar('drawer', 'icon-hover-bg');
67
- }
50
+ .ele-drawer-close {
51
+ flex-shrink: 0;
52
+ display: flex;
53
+ align-items: center;
54
+ justify-content: center;
55
+ width: eleVar('drawer', 'icon-size');
56
+ height: eleVar('drawer', 'icon-size');
57
+ line-height: eleVar('drawer', 'icon-size');
58
+ color: eleVar('drawer', 'icon-color');
59
+ font-size: eleVar('drawer', 'icon-font-size');
60
+ border-radius: eleVar('drawer', 'icon-radius');
61
+ transition: (color $ele-transition, background-color $ele-transition);
62
+ box-sizing: border-box;
63
+ cursor: pointer;
64
+
65
+ &:hover {
66
+ color: eleVar('drawer', 'icon-hover-color');
67
+ background: eleVar('drawer', 'icon-hover-bg');
68
68
  }
69
+ }
69
70
 
70
- .ele-drawer-body {
71
- padding: eleVar('drawer', 'body-padding');
72
- box-sizing: border-box;
73
- }
71
+ .ele-drawer-body {
72
+ padding: eleVar('drawer', 'body-padding');
73
+ box-sizing: border-box;
74
+ }
74
75
 
75
- .ele-drawer-footer {
76
- padding: eleVar('drawer', 'footer-padding');
77
- border-top: eleVar('drawer', 'footer-border');
78
- box-sizing: border-box;
79
- }
76
+ .ele-drawer-footer {
77
+ padding: eleVar('drawer', 'footer-padding');
78
+ border-top: eleVar('drawer', 'footer-border');
79
+ box-sizing: border-box;
80
80
  }
81
81
 
82
82
  /* 失活状态 */
@@ -84,70 +84,13 @@
84
84
  display: none !important;
85
85
  }
86
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
- }
87
+ /* 限制在主体区域 */
88
+ .ele-admin-modals > .ele-drawer {
89
+ height: auto;
90
+ pointer-events: auto;
91
+ position: absolute !important;
98
92
 
99
- &:not(.el-drawer-fade-leave-active, .el-drawer-fade-enter-active) {
93
+ &:not(.el-drawer-fade-leave-active):not(.el-drawer-fade-enter-active) {
100
94
  transition: (width $ele-transition, left $ele-transition);
101
95
  }
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
96
  }
@@ -1,7 +1,8 @@
1
- import type { ElDropdownProps, ElDropdownInstance } from '../ele-app/el';
1
+ import { DropdownItem } from './types';
2
2
  import { omit } from '../utils/core';
3
- import type { DropdownItem } from './types';
4
- declare const _default: import("vue").DefineComponent<{
3
+ import { ElDropdownProps, ElDropdownInstance } from '../ele-app/el';
4
+
5
+ declare const _default: import('vue').DefineComponent<{
5
6
  items: import("vue").PropType<DropdownItem[]>;
6
7
  modelValue: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown> | undefined>;
7
8
  menuStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
@@ -99,10 +100,10 @@ declare const _default: import("vue").DefineComponent<{
99
100
  teleported: import("element-plus/es/utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
100
101
  }>> & {
101
102
  onClick?: (() => any) | undefined;
102
- "onUpdate:modelValue"?: ((_value: import("element-plus/es/utils/index").EpPropMergeType<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown> | undefined) => any) | undefined;
103
103
  onChange?: ((_active: import("element-plus/es/utils/index").EpPropMergeType<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown> | undefined) => any) | undefined;
104
- onCommand?: ((_command: import("element-plus/es/utils/index").EpPropMergeType<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown> | undefined) => any) | undefined;
104
+ "onUpdate:modelValue"?: ((_value: import("element-plus/es/utils/index").EpPropMergeType<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown> | undefined) => any) | undefined;
105
105
  onVisibleChange?: ((_visible: boolean) => any) | undefined;
106
+ onCommand?: ((_command: import("element-plus/es/utils/index").EpPropMergeType<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown> | undefined) => any) | undefined;
106
107
  }, {
107
108
  size: string;
108
109
  trigger: import("element-plus/es/utils/index").EpPropMergeType<(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>;
@@ -1,6 +1,5 @@
1
1
  import { defineComponent, ref, computed, resolveComponent, openBlock, createBlock, mergeProps, withCtx, renderSlot, normalizeStyle, createElementBlock, Fragment, renderList, normalizeProps, resolveDynamicComponent, createCommentVNode, toDisplayString } from "vue";
2
2
  import { ElDropdown, ElDropdownMenu, ElDropdownItem, ElIcon } from "element-plus";
3
- import { useLicense } from "../ele-config-provider/receiver";
4
3
  import { omit } from "../utils/core";
5
4
  import { dropdownProps, dropdownEmits } from "./props";
6
5
  const _sfc_main = defineComponent({
@@ -9,24 +8,22 @@ const _sfc_main = defineComponent({
9
8
  props: dropdownProps,
10
9
  emits: dropdownEmits,
11
10
  setup(props, { emit }) {
12
- const { authenticated } = useLicense();
13
11
  const dropdownRef = ref();
14
12
  const rootProps = computed(() => {
15
13
  const options = omit(props, [
16
14
  "items",
17
15
  "modelValue",
18
16
  "menuStyle",
17
+ "iconProps",
19
18
  "onCommand",
20
19
  "onClick",
21
20
  "onVisibleChange"
22
21
  ]);
23
- if (authenticated.value) {
24
- const classes = ["ele-popper", "ele-dropdown"];
25
- if (props.popperClass) {
26
- classes.push(props.popperClass);
27
- }
28
- options.popperClass = classes.join(" ");
22
+ const classes = ["ele-popper", "ele-dropdown"];
23
+ if (props.popperClass) {
24
+ classes.push(props.popperClass);
29
25
  }
26
+ options.popperClass = classes.join(" ");
30
27
  return options;
31
28
  });
32
29
  const selected = computed(() => {
@@ -36,7 +33,7 @@ const _sfc_main = defineComponent({
36
33
  return props.items.find((d) => d.command === props.modelValue);
37
34
  });
38
35
  const updateModelValue = (value) => {
39
- if (authenticated.value && value !== props.modelValue) {
36
+ if (value !== props.modelValue) {
40
37
  emit("update:modelValue", value);
41
38
  emit("change", value);
42
39
  }
@@ -88,8 +85,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
88
85
  const _component_ElDropdownMenu = resolveComponent("ElDropdownMenu");
89
86
  const _component_ElDropdown = resolveComponent("ElDropdown");
90
87
  return openBlock(), createBlock(_component_ElDropdown, mergeProps(_ctx.rootProps, {
91
- class: "ele-dropdown-text",
92
88
  ref: "dropdownRef",
89
+ class: "ele-dropdown-trigger",
93
90
  onClick: _ctx.onBtnClick,
94
91
  onCommand: _ctx.onMenuClick,
95
92
  onVisibleChange: _ctx.onPopVisibleChange