ele-admin-plus 1.2.0-beta.2 → 1.2.0-beta.4

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 (269) hide show
  1. package/es/components.d.ts +6 -6
  2. package/es/core-components.d.ts +47 -47
  3. package/es/core-export.d.ts +2 -2
  4. package/es/ele-admin-layout/components/layout-tabs.d.ts +4 -4
  5. package/es/ele-admin-layout/index.d.ts +16 -3
  6. package/es/ele-admin-layout/index.js +41 -26
  7. package/es/ele-admin-layout/props.d.ts +14 -5
  8. package/es/ele-admin-layout/props.js +9 -0
  9. package/es/ele-admin-layout/style/index.scss +7 -2
  10. package/es/ele-alert/props.d.ts +1 -1
  11. package/es/ele-avatar-group/props.d.ts +1 -1
  12. package/es/ele-bar-code/index.d.ts +2 -2
  13. package/es/ele-bar-code/props.d.ts +2 -2
  14. package/es/ele-basic-select/index.d.ts +2 -2
  15. package/es/ele-basic-select/props.d.ts +1 -1
  16. package/es/ele-breadcrumb/index.js +5 -2
  17. package/es/ele-breadcrumb/props.d.ts +1 -1
  18. package/es/ele-card/index.d.ts +6 -4
  19. package/es/ele-card/index.js +7 -1
  20. package/es/ele-card/style/index.scss +0 -13
  21. package/es/ele-check-card/components/card-item.d.ts +1 -1
  22. package/es/ele-check-card/index.js +5 -4
  23. package/es/ele-check-card/props.d.ts +2 -2
  24. package/es/ele-config-provider/props.d.ts +2 -2
  25. package/es/ele-config-provider/receiver.d.ts +1 -1
  26. package/es/ele-copyable/index.d.ts +1 -1
  27. package/es/ele-copyable/props.d.ts +2 -2
  28. package/es/ele-count-up/props.d.ts +1 -1
  29. package/es/ele-cropper/components/cropper-tools.d.ts +1 -1
  30. package/es/ele-cropper/index.d.ts +2 -2
  31. package/es/ele-cropper/props.d.ts +1 -1
  32. package/es/ele-cropper-modal/props.d.ts +1 -1
  33. package/es/ele-dashboard/props.d.ts +1 -1
  34. package/es/ele-data-table/index.d.ts +1 -1
  35. package/es/ele-data-table/props.d.ts +1 -1
  36. package/es/ele-data-table/util.d.ts +4 -4
  37. package/es/ele-dot/props.d.ts +1 -1
  38. package/es/ele-dropdown/index.d.ts +2 -2
  39. package/es/ele-dropdown/index.js +7 -3
  40. package/es/ele-dropdown/props.d.ts +2 -2
  41. package/es/ele-edit-tag/props.d.ts +1 -1
  42. package/es/ele-ellipsis/index.d.ts +1 -1
  43. package/es/ele-ellipsis/props.d.ts +1 -1
  44. package/es/ele-file-list/components/file-grid-item.d.ts +3 -3
  45. package/es/ele-file-list/components/file-grid.d.ts +3 -3
  46. package/es/ele-file-list/components/file-grid.js +2 -2
  47. package/es/ele-file-list/components/file-table-item.d.ts +3 -3
  48. package/es/ele-file-list/components/file-table.d.ts +3 -3
  49. package/es/ele-file-list/components/file-table.js +2 -2
  50. package/es/ele-file-list/index.d.ts +1 -1
  51. package/es/ele-file-list/props.d.ts +4 -4
  52. package/es/ele-icon-select/components/icon-grid.d.ts +1 -1
  53. package/es/ele-icon-select/index.d.ts +1 -1
  54. package/es/ele-icon-select/props.d.ts +2 -2
  55. package/es/ele-loading/props.d.ts +1 -1
  56. package/es/ele-map-picker/components/map-view.d.ts +1 -1
  57. package/es/ele-map-picker/index.d.ts +3 -3
  58. package/es/ele-map-picker/props.d.ts +3 -3
  59. package/es/ele-menus/index.d.ts +2 -2
  60. package/es/ele-menus/props.d.ts +2 -2
  61. package/es/ele-menus/util.d.ts +1 -1
  62. package/es/ele-modal/index.d.ts +1 -1
  63. package/es/ele-modal/props.d.ts +2 -2
  64. package/es/ele-modal/util.d.ts +1 -1
  65. package/es/ele-pagination/props.d.ts +1 -1
  66. package/es/ele-popconfirm/index.d.ts +3 -3
  67. package/es/ele-popconfirm/props.d.ts +2 -2
  68. package/es/ele-popover/index.d.ts +2 -2
  69. package/es/ele-popover/props.d.ts +1 -1
  70. package/es/ele-printer/props.d.ts +1 -1
  71. package/es/ele-pro-layout/components/pro-iframe.d.ts +1 -1
  72. package/es/ele-pro-layout/index.d.ts +5 -5
  73. package/es/ele-pro-layout/props.d.ts +5 -5
  74. package/es/ele-pro-layout/util.d.ts +3 -3
  75. package/es/ele-pro-table/components/table-tools.d.ts +2 -2
  76. package/es/ele-pro-table/components/table-tools.js +2 -2
  77. package/es/ele-pro-table/components/tool-column-list.d.ts +1 -1
  78. package/es/ele-pro-table/components/tool-column.d.ts +2 -2
  79. package/es/ele-pro-table/components/tool-export.d.ts +4 -4
  80. package/es/ele-pro-table/components/tool-print-body-cell.d.ts +3 -3
  81. package/es/ele-pro-table/components/tool-print-header-cell.d.ts +3 -3
  82. package/es/ele-pro-table/components/tool-print.d.ts +5 -5
  83. package/es/ele-pro-table/components/tool-print.js +8 -5
  84. package/es/ele-pro-table/index.d.ts +3 -3
  85. package/es/ele-pro-table/props.d.ts +3 -3
  86. package/es/ele-pro-table/util.d.ts +2 -2
  87. package/es/ele-qr-code/props.d.ts +1 -1
  88. package/es/ele-qr-code/util.d.ts +1 -1
  89. package/es/ele-segmented/index.js +4 -1
  90. package/es/ele-segmented/props.d.ts +1 -1
  91. package/es/ele-steps/index.js +4 -1
  92. package/es/ele-steps/props.d.ts +1 -1
  93. package/es/ele-tab-wrap/components/tab-dropdown.d.ts +2 -2
  94. package/es/ele-tab-wrap/props.d.ts +1 -1
  95. package/es/ele-table-select/index.d.ts +2 -2
  96. package/es/ele-table-select/props.d.ts +3 -3
  97. package/es/ele-tabs/components/tab-title.d.ts +3 -3
  98. package/es/ele-tabs/index.d.ts +6 -6
  99. package/es/ele-tabs/index.js +5 -4
  100. package/es/ele-tabs/props.d.ts +5 -5
  101. package/es/ele-text/props.d.ts +2 -2
  102. package/es/ele-toolbar/props.d.ts +2 -2
  103. package/es/ele-tooltip/index.d.ts +2 -2
  104. package/es/ele-tooltip/props.d.ts +1 -1
  105. package/es/ele-tour/index.d.ts +2 -2
  106. package/es/ele-tour/props.d.ts +1 -1
  107. package/es/ele-tour/util.d.ts +1 -1
  108. package/es/ele-tree-select/index.d.ts +3 -3
  109. package/es/ele-tree-select/props.d.ts +3 -3
  110. package/es/ele-tree-select/util.d.ts +1 -1
  111. package/es/ele-upload-list/components/list-item.d.ts +2 -2
  112. package/es/ele-upload-list/index.d.ts +1 -1
  113. package/es/ele-upload-list/props.d.ts +2 -2
  114. package/es/ele-virtual-table/components/body-cell.d.ts +3 -5
  115. package/es/ele-virtual-table/components/body-row.d.ts +4 -4
  116. package/es/ele-virtual-table/components/body-row.js +2 -2
  117. package/es/ele-virtual-table/components/cell-filter.d.ts +2 -2
  118. package/es/ele-virtual-table/components/expand-row.d.ts +1 -1
  119. package/es/ele-virtual-table/components/footer-row.d.ts +2 -2
  120. package/es/ele-virtual-table/components/header-cell.d.ts +3 -3
  121. package/es/ele-virtual-table/components/header-row.d.ts +2 -2
  122. package/es/ele-virtual-table/components/header-row.js +2 -2
  123. package/es/ele-virtual-table/index.d.ts +9 -9
  124. package/es/ele-virtual-table/types.d.ts +1 -1
  125. package/es/ele-virtual-table/util.d.ts +5 -5
  126. package/es/ele-watermark/props.d.ts +1 -1
  127. package/es/ele-watermark/util.d.ts +1 -1
  128. package/es/ele-xg-player/index.d.ts +1 -1
  129. package/es/icons/index.d.ts +108 -108
  130. package/es/utils/hook.d.ts +2 -0
  131. package/es/utils/hook.js +26 -0
  132. package/es/utils/menu-util.d.ts +1 -1
  133. package/es/utils/message-box.d.ts +1 -1
  134. package/es/utils/message.d.ts +1 -1
  135. package/lib/components.d.ts +6 -6
  136. package/lib/core-components.d.ts +47 -47
  137. package/lib/core-export.d.ts +2 -2
  138. package/lib/ele-admin-layout/components/layout-tabs.d.ts +4 -4
  139. package/lib/ele-admin-layout/index.cjs +40 -25
  140. package/lib/ele-admin-layout/index.d.ts +16 -3
  141. package/lib/ele-admin-layout/props.cjs +9 -0
  142. package/lib/ele-admin-layout/props.d.ts +14 -5
  143. package/lib/ele-admin-layout/style/index.scss +7 -2
  144. package/lib/ele-alert/props.d.ts +1 -1
  145. package/lib/ele-avatar-group/props.d.ts +1 -1
  146. package/lib/ele-bar-code/index.d.ts +2 -2
  147. package/lib/ele-bar-code/props.d.ts +2 -2
  148. package/lib/ele-basic-select/index.d.ts +2 -2
  149. package/lib/ele-basic-select/props.d.ts +1 -1
  150. package/lib/ele-breadcrumb/index.cjs +4 -1
  151. package/lib/ele-breadcrumb/props.d.ts +1 -1
  152. package/lib/ele-card/index.cjs +7 -1
  153. package/lib/ele-card/index.d.ts +6 -4
  154. package/lib/ele-card/style/index.scss +0 -13
  155. package/lib/ele-check-card/components/card-item.d.ts +1 -1
  156. package/lib/ele-check-card/index.cjs +4 -3
  157. package/lib/ele-check-card/props.d.ts +2 -2
  158. package/lib/ele-config-provider/props.d.ts +2 -2
  159. package/lib/ele-config-provider/receiver.d.ts +1 -1
  160. package/lib/ele-copyable/index.d.ts +1 -1
  161. package/lib/ele-copyable/props.d.ts +2 -2
  162. package/lib/ele-count-up/props.d.ts +1 -1
  163. package/lib/ele-cropper/components/cropper-tools.d.ts +1 -1
  164. package/lib/ele-cropper/index.d.ts +2 -2
  165. package/lib/ele-cropper/props.d.ts +1 -1
  166. package/lib/ele-cropper-modal/props.d.ts +1 -1
  167. package/lib/ele-dashboard/props.d.ts +1 -1
  168. package/lib/ele-data-table/index.d.ts +1 -1
  169. package/lib/ele-data-table/props.d.ts +1 -1
  170. package/lib/ele-data-table/util.d.ts +4 -4
  171. package/lib/ele-dot/props.d.ts +1 -1
  172. package/lib/ele-dropdown/index.cjs +6 -2
  173. package/lib/ele-dropdown/index.d.ts +2 -2
  174. package/lib/ele-dropdown/props.d.ts +2 -2
  175. package/lib/ele-edit-tag/props.d.ts +1 -1
  176. package/lib/ele-ellipsis/index.d.ts +1 -1
  177. package/lib/ele-ellipsis/props.d.ts +1 -1
  178. package/lib/ele-file-list/components/file-grid-item.d.ts +3 -3
  179. package/lib/ele-file-list/components/file-grid.cjs +1 -1
  180. package/lib/ele-file-list/components/file-grid.d.ts +3 -3
  181. package/lib/ele-file-list/components/file-table-item.d.ts +3 -3
  182. package/lib/ele-file-list/components/file-table.cjs +1 -1
  183. package/lib/ele-file-list/components/file-table.d.ts +3 -3
  184. package/lib/ele-file-list/index.d.ts +1 -1
  185. package/lib/ele-file-list/props.d.ts +4 -4
  186. package/lib/ele-icon-select/components/icon-grid.d.ts +1 -1
  187. package/lib/ele-icon-select/index.d.ts +1 -1
  188. package/lib/ele-icon-select/props.d.ts +2 -2
  189. package/lib/ele-loading/props.d.ts +1 -1
  190. package/lib/ele-map-picker/components/map-view.d.ts +1 -1
  191. package/lib/ele-map-picker/index.d.ts +3 -3
  192. package/lib/ele-map-picker/props.d.ts +3 -3
  193. package/lib/ele-menus/index.d.ts +2 -2
  194. package/lib/ele-menus/props.d.ts +2 -2
  195. package/lib/ele-menus/util.d.ts +1 -1
  196. package/lib/ele-modal/index.d.ts +1 -1
  197. package/lib/ele-modal/props.d.ts +2 -2
  198. package/lib/ele-modal/util.d.ts +1 -1
  199. package/lib/ele-pagination/props.d.ts +1 -1
  200. package/lib/ele-popconfirm/index.d.ts +3 -3
  201. package/lib/ele-popconfirm/props.d.ts +2 -2
  202. package/lib/ele-popover/index.d.ts +2 -2
  203. package/lib/ele-popover/props.d.ts +1 -1
  204. package/lib/ele-printer/props.d.ts +1 -1
  205. package/lib/ele-pro-layout/components/pro-iframe.d.ts +1 -1
  206. package/lib/ele-pro-layout/index.d.ts +5 -5
  207. package/lib/ele-pro-layout/props.d.ts +5 -5
  208. package/lib/ele-pro-layout/util.d.ts +3 -3
  209. package/lib/ele-pro-table/components/table-tools.cjs +1 -1
  210. package/lib/ele-pro-table/components/table-tools.d.ts +2 -2
  211. package/lib/ele-pro-table/components/tool-column-list.d.ts +1 -1
  212. package/lib/ele-pro-table/components/tool-column.d.ts +2 -2
  213. package/lib/ele-pro-table/components/tool-export.d.ts +4 -4
  214. package/lib/ele-pro-table/components/tool-print-body-cell.d.ts +3 -3
  215. package/lib/ele-pro-table/components/tool-print-header-cell.d.ts +3 -3
  216. package/lib/ele-pro-table/components/tool-print.cjs +7 -4
  217. package/lib/ele-pro-table/components/tool-print.d.ts +5 -5
  218. package/lib/ele-pro-table/index.d.ts +3 -3
  219. package/lib/ele-pro-table/props.d.ts +3 -3
  220. package/lib/ele-pro-table/util.d.ts +2 -2
  221. package/lib/ele-qr-code/props.d.ts +1 -1
  222. package/lib/ele-qr-code/util.d.ts +1 -1
  223. package/lib/ele-segmented/index.cjs +4 -1
  224. package/lib/ele-segmented/props.d.ts +1 -1
  225. package/lib/ele-steps/index.cjs +4 -1
  226. package/lib/ele-steps/props.d.ts +1 -1
  227. package/lib/ele-tab-wrap/components/tab-dropdown.d.ts +2 -2
  228. package/lib/ele-tab-wrap/props.d.ts +1 -1
  229. package/lib/ele-table-select/index.d.ts +2 -2
  230. package/lib/ele-table-select/props.d.ts +3 -3
  231. package/lib/ele-tabs/components/tab-title.d.ts +3 -3
  232. package/lib/ele-tabs/index.cjs +4 -3
  233. package/lib/ele-tabs/index.d.ts +6 -6
  234. package/lib/ele-tabs/props.d.ts +5 -5
  235. package/lib/ele-text/props.d.ts +2 -2
  236. package/lib/ele-toolbar/props.d.ts +2 -2
  237. package/lib/ele-tooltip/index.d.ts +2 -2
  238. package/lib/ele-tooltip/props.d.ts +1 -1
  239. package/lib/ele-tour/index.d.ts +2 -2
  240. package/lib/ele-tour/props.d.ts +1 -1
  241. package/lib/ele-tour/util.d.ts +1 -1
  242. package/lib/ele-tree-select/index.d.ts +3 -3
  243. package/lib/ele-tree-select/props.d.ts +3 -3
  244. package/lib/ele-tree-select/util.d.ts +1 -1
  245. package/lib/ele-upload-list/components/list-item.d.ts +2 -2
  246. package/lib/ele-upload-list/index.d.ts +1 -1
  247. package/lib/ele-upload-list/props.d.ts +2 -2
  248. package/lib/ele-virtual-table/components/body-cell.d.ts +3 -5
  249. package/lib/ele-virtual-table/components/body-row.cjs +1 -1
  250. package/lib/ele-virtual-table/components/body-row.d.ts +4 -4
  251. package/lib/ele-virtual-table/components/cell-filter.d.ts +2 -2
  252. package/lib/ele-virtual-table/components/expand-row.d.ts +1 -1
  253. package/lib/ele-virtual-table/components/footer-row.d.ts +2 -2
  254. package/lib/ele-virtual-table/components/header-cell.d.ts +3 -3
  255. package/lib/ele-virtual-table/components/header-row.cjs +1 -1
  256. package/lib/ele-virtual-table/components/header-row.d.ts +2 -2
  257. package/lib/ele-virtual-table/index.d.ts +9 -9
  258. package/lib/ele-virtual-table/types.d.ts +1 -1
  259. package/lib/ele-virtual-table/util.d.ts +5 -5
  260. package/lib/ele-watermark/props.d.ts +1 -1
  261. package/lib/ele-watermark/util.d.ts +1 -1
  262. package/lib/ele-xg-player/index.d.ts +1 -1
  263. package/lib/icons/index.d.ts +108 -108
  264. package/lib/utils/hook.cjs +26 -0
  265. package/lib/utils/hook.d.ts +2 -0
  266. package/lib/utils/menu-util.d.ts +1 -1
  267. package/lib/utils/message-box.d.ts +1 -1
  268. package/lib/utils/message.d.ts +1 -1
  269. package/package.json +27 -27
@@ -1,51 +1,51 @@
1
- export { default as EleAdminLayout } from "./ele-admin-layout/index";
2
- export { default as EleAlert } from "./ele-alert/index";
1
+ export { default as EleAdminLayout } from './ele-admin-layout/index';
2
+ export { default as EleAlert } from './ele-alert/index';
3
3
  export { default as EleApp } from './ele-app/index';
4
- export { default as EleAvatarGroup } from "./ele-avatar-group/index";
5
- export { default as EleBacktop } from "./ele-backtop/index";
6
- export { default as EleBasicSelect } from "./ele-basic-select/index";
7
- export { default as EleBottomBar } from "./ele-bottom-bar/index";
8
- export { default as EleBreadcrumb } from "./ele-breadcrumb/index";
9
- export { default as EleCard } from "./ele-card/index";
10
- export { default as EleCheckCard } from "./ele-check-card/index";
4
+ export { default as EleAvatarGroup } from './ele-avatar-group/index';
5
+ export { default as EleBacktop } from './ele-backtop/index';
6
+ export { default as EleBasicSelect } from './ele-basic-select/index';
7
+ export { default as EleBottomBar } from './ele-bottom-bar/index';
8
+ export { default as EleBreadcrumb } from './ele-breadcrumb/index';
9
+ export { default as EleCard } from './ele-card/index';
10
+ export { default as EleCheckCard } from './ele-check-card/index';
11
11
  export { default as EleConfigProvider } from './ele-config-provider/index';
12
- export { default as EleCopyable } from "./ele-copyable/index";
13
- export { default as EleDashboard } from "./ele-dashboard/index";
12
+ export { default as EleCopyable } from './ele-copyable/index';
13
+ export { default as EleDashboard } from './ele-dashboard/index';
14
14
  export { default as EleDataTable } from './ele-data-table/index';
15
- export { default as EleDot } from "./ele-dot/index";
16
- export { default as EleDrawer } from "./ele-drawer/index";
17
- export { default as EleDropdown } from "./ele-dropdown/index";
18
- export { default as EleEditTag } from "./ele-edit-tag/index";
19
- export { default as EleEllipsis } from "./ele-ellipsis/index";
20
- export { default as EleFileList } from "./ele-file-list/index";
21
- export { default as EleFileListTool } from "./ele-file-list-tool/index";
22
- export { default as EleIconSelect } from "./ele-icon-select/index";
23
- export { default as EleLoading } from "./ele-loading/index";
15
+ export { default as EleDot } from './ele-dot/index';
16
+ export { default as EleDrawer } from './ele-drawer/index';
17
+ export { default as EleDropdown } from './ele-dropdown/index';
18
+ export { default as EleEditTag } from './ele-edit-tag/index';
19
+ export { default as EleEllipsis } from './ele-ellipsis/index';
20
+ export { default as EleFileList } from './ele-file-list/index';
21
+ export { default as EleFileListTool } from './ele-file-list-tool/index';
22
+ export { default as EleIconSelect } from './ele-icon-select/index';
23
+ export { default as EleLoading } from './ele-loading/index';
24
24
  export { default as EleMenus } from './ele-menus/index';
25
- export { default as EleModal } from "./ele-modal/index";
26
- export { default as ElePage } from "./ele-page/index";
27
- export { default as ElePagination } from "./ele-pagination/index";
28
- export { default as ElePopconfirm } from "./ele-popconfirm/index";
29
- export { default as ElePopover } from "./ele-popover/index";
30
- export { default as ElePrinter } from "./ele-printer/index";
31
- export { default as EleProLayout } from "./ele-pro-layout/index";
32
- export { default as EleProTable } from "./ele-pro-table/index";
33
- export { default as EleQrCode } from "./ele-qr-code/index";
34
- export { default as EleQrCodeSvg } from "./ele-qr-code-svg/index";
35
- export { default as EleSegmented } from "./ele-segmented/index";
36
- export { default as EleSplitPanel } from "./ele-split-panel/index";
37
- export { default as EleSteps } from "./ele-steps/index";
38
- export { default as EleTabs } from "./ele-tabs/index";
39
- export { default as EleTabTool } from "./ele-tab-tool/index";
40
- export { default as EleTabWrap } from "./ele-tab-wrap/index";
41
- export { default as EleTable } from "./ele-table/index";
42
- export { default as EleTableSelect } from "./ele-table-select/index";
43
- export { default as EleText } from "./ele-text/index";
44
- export { default as EleTool } from "./ele-tool/index";
45
- export { default as EleToolbar } from "./ele-toolbar/index";
46
- export { default as EleTooltip } from "./ele-tooltip/index";
47
- export { default as EleTour } from "./ele-tour/index";
48
- export { default as EleTreeSelect } from "./ele-tree-select/index";
49
- export { default as EleUploadList } from "./ele-upload-list/index";
50
- export { default as EleVirtualTable } from "./ele-virtual-table/index";
51
- export { default as EleWatermark } from "./ele-watermark/index";
25
+ export { default as EleModal } from './ele-modal/index';
26
+ export { default as ElePage } from './ele-page/index';
27
+ export { default as ElePagination } from './ele-pagination/index';
28
+ export { default as ElePopconfirm } from './ele-popconfirm/index';
29
+ export { default as ElePopover } from './ele-popover/index';
30
+ export { default as ElePrinter } from './ele-printer/index';
31
+ export { default as EleProLayout } from './ele-pro-layout/index';
32
+ export { default as EleProTable } from './ele-pro-table/index';
33
+ export { default as EleQrCode } from './ele-qr-code/index';
34
+ export { default as EleQrCodeSvg } from './ele-qr-code-svg/index';
35
+ export { default as EleSegmented } from './ele-segmented/index';
36
+ export { default as EleSplitPanel } from './ele-split-panel/index';
37
+ export { default as EleSteps } from './ele-steps/index';
38
+ export { default as EleTabs } from './ele-tabs/index';
39
+ export { default as EleTabTool } from './ele-tab-tool/index';
40
+ export { default as EleTabWrap } from './ele-tab-wrap/index';
41
+ export { default as EleTable } from './ele-table/index';
42
+ export { default as EleTableSelect } from './ele-table-select/index';
43
+ export { default as EleText } from './ele-text/index';
44
+ export { default as EleTool } from './ele-tool/index';
45
+ export { default as EleToolbar } from './ele-toolbar/index';
46
+ export { default as EleTooltip } from './ele-tooltip/index';
47
+ export { default as EleTour } from './ele-tour/index';
48
+ export { default as EleTreeSelect } from './ele-tree-select/index';
49
+ export { default as EleUploadList } from './ele-upload-list/index';
50
+ export { default as EleVirtualTable } from './ele-virtual-table/index';
51
+ export { default as EleWatermark } from './ele-watermark/index';
@@ -1,7 +1,7 @@
1
- import { default as LayoutTool } from "./ele-admin-layout/components/layout-tool";
1
+ import { default as LayoutTool } from './ele-admin-layout/components/layout-tool';
2
2
 
3
3
  export { LayoutTool, LayoutTool as HeaderTool, LayoutTool as SidebarTool };
4
- export { default as TabDropdown } from "./ele-tab-wrap/components/tab-dropdown";
4
+ export { default as TabDropdown } from './ele-tab-wrap/components/tab-dropdown';
5
5
  export * from './utils/chart-theme-dark';
6
6
  export * from './utils/chart-theme';
7
7
  export * from './utils/core';
@@ -1,8 +1,8 @@
1
- import { TabStyle } from '../types';
2
- import { TabTitleInstance } from '../../ele-tabs/props';
3
- import { TabPaneItem, TabEventOption, ContextMenus } from '../../ele-tabs/types';
4
- import { EleDropdownProps, EleDropdownInstance, EleTabsInstance } from '../../ele-app/plus';
5
1
  import { PropType } from 'vue';
2
+ import { EleDropdownProps, EleDropdownInstance, EleTabsInstance } from '../../ele-app/plus';
3
+ import { TabPaneItem, TabEventOption, ContextMenus } from '../../ele-tabs/types';
4
+ import { TabTitleInstance } from '../../ele-tabs/props';
5
+ import { TabStyle } from '../types';
6
6
 
7
7
  declare const _default: import('vue').DefineComponent<{
8
8
  /** 页签数据 */
@@ -104,7 +104,7 @@ const _sfc_main = vue.defineComponent({
104
104
  };
105
105
  const sidebarScrollToActive = () => {
106
106
  stopSidebarMenuTimer();
107
- if (sidebarMenuRef.value == null || isCollapseMobile.value || isMixSidebar.value && isCollapseSidebar.value) {
107
+ if (!props$1.menuScrollToActive || sidebarMenuRef.value == null || isCollapseMobile.value || isMixSidebar.value && isCollapseSidebar.value) {
108
108
  return;
109
109
  }
110
110
  startSidebarMenuTimer(() => {
@@ -113,7 +113,7 @@ const _sfc_main = vue.defineComponent({
113
113
  };
114
114
  const sideboxScrollToActive = () => {
115
115
  stopSideboxMenuTimer();
116
- if (sideboxMenuRef.value == null || isCollapseMobile.value) {
116
+ if (!props$1.menuScrollToActive || sideboxMenuRef.value == null || isCollapseMobile.value) {
117
117
  return;
118
118
  }
119
119
  startSideboxMenuTimer(() => {
@@ -327,35 +327,38 @@ const _hoisted_1 = {
327
327
  key: 0,
328
328
  class: "ele-admin-logo"
329
329
  };
330
- const _hoisted_2 = {
330
+ const _hoisted_2 = ["src"];
331
+ const _hoisted_3 = {
331
332
  key: 1,
332
333
  class: "ele-admin-tools"
333
334
  };
334
- const _hoisted_3 = {
335
+ const _hoisted_4 = {
335
336
  key: 2,
336
337
  class: "ele-admin-breadcrumb"
337
338
  };
338
- const _hoisted_4 = {
339
+ const _hoisted_5 = {
339
340
  key: 3,
340
341
  class: "ele-admin-menus"
341
342
  };
342
- const _hoisted_5 = {
343
+ const _hoisted_6 = {
343
344
  key: 5,
344
345
  class: "ele-admin-tools"
345
346
  };
346
- const _hoisted_6 = {
347
+ const _hoisted_7 = {
347
348
  key: 0,
348
349
  class: "ele-admin-logo"
349
350
  };
350
- const _hoisted_7 = {
351
+ const _hoisted_8 = ["src"];
352
+ const _hoisted_9 = {
351
353
  key: 0,
352
354
  class: "ele-admin-logo-title"
353
355
  };
354
- const _hoisted_8 = {
356
+ const _hoisted_10 = {
355
357
  key: 1,
356
358
  class: "ele-admin-logo"
357
359
  };
358
- const _hoisted_9 = {
360
+ const _hoisted_11 = ["src"];
361
+ const _hoisted_12 = {
359
362
  ref: "modalsRef",
360
363
  class: "ele-admin-modals"
361
364
  };
@@ -396,20 +399,24 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
396
399
  onMouseenter: _cache[0] || (_cache[0] = (...args) => _ctx.handleHeadMouseenter && _ctx.handleHeadMouseenter(...args)),
397
400
  onMouseleave: _cache[1] || (_cache[1] = (...args) => _ctx.handleHeadMouseleave && _ctx.handleHeadMouseleave(...args))
398
401
  }, [
399
- _ctx.isHeaderLogo && (_ctx.$slots.logo || _ctx.$slots.logoTitle) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
400
- vue.renderSlot(_ctx.$slots, "logo"),
401
- vue.renderSlot(_ctx.$slots, "logoTitle")
402
+ _ctx.isHeaderLogo && (_ctx.logoSrc || _ctx.logoTitle || _ctx.$slots.logo || _ctx.$slots.logoTitle) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
403
+ _ctx.logoSrc || _ctx.$slots.logo ? vue.renderSlot(_ctx.$slots, "logo", { key: 0 }, () => [
404
+ vue.createElementVNode("img", { src: _ctx.logoSrc }, null, 8, _hoisted_2)
405
+ ]) : vue.createCommentVNode("", true),
406
+ _ctx.logoTitle || _ctx.$slots.logoTitle ? vue.renderSlot(_ctx.$slots, "logoTitle", { key: 1 }, () => [
407
+ vue.createElementVNode("h1", null, vue.toDisplayString(_ctx.logoTitle), 1)
408
+ ]) : vue.createCommentVNode("", true)
402
409
  ])) : vue.createCommentVNode("", true),
403
- _ctx.$slots.left ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
410
+ _ctx.$slots.left ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, [
404
411
  vue.renderSlot(_ctx.$slots, "left")
405
412
  ])) : vue.createCommentVNode("", true),
406
- _ctx.breadcrumb ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, [
413
+ _ctx.breadcrumb ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, [
407
414
  vue.renderSlot(_ctx.$slots, "breadcrumb", {}, () => [
408
415
  _ctx.levels && _ctx.levels.length ? (vue.openBlock(), vue.createBlock(_component_EleBreadcrumb, vue.mergeProps({ key: 0 }, _ctx.breadcrumb === true ? {} : _ctx.breadcrumb, { items: _ctx.levels }), null, 16, ["items"])) : vue.createCommentVNode("", true)
409
416
  ])
410
417
  ])) : vue.createCommentVNode("", true),
411
418
  vue.renderSlot(_ctx.$slots, "center"),
412
- !_ctx.showHeaderTabs || _ctx.showHeaderMenus ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, [
419
+ !_ctx.showHeaderTabs || _ctx.showHeaderMenus ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [
413
420
  _ctx.showHeaderMenus && _ctx.headerMenus ? (vue.openBlock(), vue.createBlock(_component_EleMenus, vue.mergeProps({
414
421
  key: 0,
415
422
  mode: "horizontal",
@@ -469,7 +476,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
469
476
  };
470
477
  })
471
478
  ]), 1032, ["tabs", "active", "fixedHome", "homePath", "isHome", "tabStyle", "tabContextMenu", "tabContextMenus", "tabSortable", "class", "style", "onTabClick", "onTabRemove", "onTabContextMenu", "onTabSortChange"])) : vue.createCommentVNode("", true),
472
- _ctx.$slots.right ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [
479
+ _ctx.$slots.right ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, [
473
480
  vue.renderSlot(_ctx.$slots, "right")
474
481
  ])) : vue.createCommentVNode("", true)
475
482
  ], 38)) : vue.createCommentVNode("", true)
@@ -501,8 +508,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
501
508
  onMouseenter: _cache[2] || (_cache[2] = (...args) => _ctx.handleBoxMouseEnter && _ctx.handleBoxMouseEnter(...args)),
502
509
  onMouseleave: _cache[3] || (_cache[3] = (...args) => _ctx.handleBoxMouseLeave && _ctx.handleBoxMouseLeave(...args))
503
510
  }, [
504
- !_ctx.isHeaderLogo && _ctx.$slots.logo ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, [
505
- vue.renderSlot(_ctx.$slots, "logo")
511
+ !_ctx.isHeaderLogo && (_ctx.logoSrc || _ctx.$slots.logo) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, [
512
+ vue.renderSlot(_ctx.$slots, "logo", {}, () => [
513
+ vue.createElementVNode("img", { src: _ctx.logoSrc }, null, 8, _hoisted_8)
514
+ ])
506
515
  ])) : vue.createCommentVNode("", true),
507
516
  vue.renderSlot(_ctx.$slots, "boxTop"),
508
517
  vue.createVNode(_component_ElScrollbar, { class: "ele-admin-menus" }, {
@@ -556,12 +565,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
556
565
  onMouseleave: _cache[5] || (_cache[5] = (...args) => _ctx.handleSideMouseLeave && _ctx.handleSideMouseLeave(...args))
557
566
  }, [
558
567
  _ctx.isMixSidebar ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
559
- !_ctx.isHeaderLogo && _ctx.$slots.logoTitle ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, [
560
- vue.renderSlot(_ctx.$slots, "logoTitle")
568
+ !_ctx.isHeaderLogo && (_ctx.logoTitle || _ctx.$slots.logoTitle) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9, [
569
+ vue.renderSlot(_ctx.$slots, "logoTitle", {}, () => [
570
+ vue.createElementVNode("h1", null, vue.toDisplayString(_ctx.logoTitle), 1)
571
+ ])
561
572
  ])) : vue.createCommentVNode("", true)
562
- ], 64)) : !_ctx.isHeaderLogo && (_ctx.$slots.logo || _ctx.$slots.logoTitle) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8, [
563
- vue.renderSlot(_ctx.$slots, "logo"),
564
- vue.renderSlot(_ctx.$slots, "logoTitle")
573
+ ], 64)) : !_ctx.isHeaderLogo && (_ctx.logoSrc || _ctx.logoTitle || _ctx.$slots.logo || _ctx.$slots.logoTitle) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10, [
574
+ _ctx.logoSrc || _ctx.$slots.logo ? vue.renderSlot(_ctx.$slots, "logo", { key: 0 }, () => [
575
+ vue.createElementVNode("img", { src: _ctx.logoSrc }, null, 8, _hoisted_11)
576
+ ]) : vue.createCommentVNode("", true),
577
+ _ctx.logoTitle || _ctx.$slots.logoTitle ? vue.renderSlot(_ctx.$slots, "logoTitle", { key: 1 }, () => [
578
+ vue.createElementVNode("h1", null, vue.toDisplayString(_ctx.logoTitle), 1)
579
+ ]) : vue.createCommentVNode("", true)
565
580
  ])) : vue.createCommentVNode("", true),
566
581
  vue.renderSlot(_ctx.$slots, "top"),
567
582
  vue.createVNode(_component_ElScrollbar, { class: "ele-admin-menus" }, {
@@ -651,7 +666,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
651
666
  target: _ctx.fixedBody && _ctx.contentRef ? _ctx.contentRef : void 0,
652
667
  style: _ctx.fixedBody ? { position: "absolute" } : void 0
653
668
  }, _ctx.backTop === true ? {} : _ctx.backTop), null, 16, ["target", "style"])) : vue.createCommentVNode("", true),
654
- vue.createElementVNode("div", _hoisted_9, null, 512)
669
+ vue.createElementVNode("div", _hoisted_12, null, 512)
655
670
  ]),
656
671
  default: vue.withCtx(() => [
657
672
  vue.createElementVNode("div", {
@@ -1,6 +1,6 @@
1
- import { TabPaneItem, TabEventOption } from '../ele-tabs/types';
2
- import { MenuItem } from '../ele-menus/types';
3
1
  import { EleMenusInstance } from '../ele-app/plus';
2
+ import { MenuItem } from '../ele-menus/types';
3
+ import { TabPaneItem, TabEventOption } from '../ele-tabs/types';
4
4
 
5
5
  declare const _default: import('vue').DefineComponent<{
6
6
  height: (StringConstructor | NumberConstructor)[];
@@ -70,6 +70,12 @@ declare const _default: import('vue').DefineComponent<{
70
70
  sideboxCustomStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
71
71
  tabsCustomStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
72
72
  contentCustomStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
73
+ logoSrc: StringConstructor;
74
+ logoTitle: StringConstructor;
75
+ menuScrollToActive: {
76
+ type: BooleanConstructor;
77
+ default: boolean;
78
+ };
73
79
  mobile: BooleanConstructor;
74
80
  }, {
75
81
  ownSlots: string[];
@@ -144,7 +150,7 @@ declare const _default: import('vue').DefineComponent<{
144
150
  sideMenuItemClick: (_item: MenuItem, _e: MouseEvent) => boolean;
145
151
  sideMouseenter: (_e: MouseEvent) => boolean;
146
152
  sideMouseleave: (_e: MouseEvent) => boolean;
147
- tabClick: (_option: TabEventOption) => boolean;
153
+ tabClick: (_option: TabEventOption) => boolean; /** 是否是移动端风格折叠状态 */
148
154
  tabRemove: (_name: string) => boolean;
149
155
  tabContextMenu: (_option: TabEventOption) => boolean;
150
156
  tabSortChange: (_data: TabPaneItem[]) => boolean;
@@ -217,6 +223,12 @@ declare const _default: import('vue').DefineComponent<{
217
223
  sideboxCustomStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
218
224
  tabsCustomStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
219
225
  contentCustomStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
226
+ logoSrc: StringConstructor;
227
+ logoTitle: StringConstructor;
228
+ menuScrollToActive: {
229
+ type: BooleanConstructor;
230
+ default: boolean;
231
+ };
220
232
  mobile: BooleanConstructor;
221
233
  }>> & {
222
234
  onTabClick?: ((_option: TabEventOption) => any) | undefined;
@@ -260,6 +272,7 @@ declare const _default: import('vue').DefineComponent<{
260
272
  sidebarIconSlot: string;
261
273
  sideboxTitleSlot: string;
262
274
  sideboxIconSlot: string;
275
+ menuScrollToActive: boolean;
263
276
  mobile: boolean;
264
277
  }, {}>;
265
278
  export default _default;
@@ -112,6 +112,15 @@ const adminLayoutProps = {
112
112
  tabsCustomStyle: Object,
113
113
  /** 内容区样式 */
114
114
  contentCustomStyle: Object,
115
+ /** logo图片地址 */
116
+ logoSrc: String,
117
+ /** logo文字 */
118
+ logoTitle: String,
119
+ /** 菜单是否自动滚动到选中位置 */
120
+ menuScrollToActive: {
121
+ type: Boolean,
122
+ default: true
123
+ },
115
124
  /** 是否是移动端风格 */
116
125
  mobile: Boolean
117
126
  };
@@ -1,9 +1,9 @@
1
- import { Layout, SidebarLayout, HeaderStyle, SidebarStyle, TabStyle, TabBar, Maximized, LayoutProvide } from './types';
2
- import { TabPaneItem, TabEventOption, ContextMenus } from '../ele-tabs/types';
3
- import { BreadcrumbItem } from '../ele-breadcrumb/types';
4
- import { MenuItem } from '../ele-menus/types';
5
- import { EleMenusProps, EleBreadcrumbProps, EleBacktopProps, EleDropdownProps } from '../ele-app/plus';
6
1
  import { PropType, ExtractPropTypes, InjectionKey } from 'vue';
2
+ import { EleMenusProps, EleBreadcrumbProps, EleBacktopProps, EleDropdownProps } from '../ele-app/plus';
3
+ import { MenuItem } from '../ele-menus/types';
4
+ import { BreadcrumbItem } from '../ele-breadcrumb/types';
5
+ import { TabPaneItem, TabEventOption, ContextMenus } from '../ele-tabs/types';
6
+ import { Layout, SidebarLayout, HeaderStyle, SidebarStyle, TabStyle, TabBar, Maximized, LayoutProvide } from './types';
7
7
 
8
8
  /**
9
9
  * 属性
@@ -120,6 +120,15 @@ export declare const adminLayoutProps: {
120
120
  tabsCustomStyle: PropType<Partial<import('vue').CSSProperties>>;
121
121
  /** 内容区样式 */
122
122
  contentCustomStyle: PropType<Partial<import('vue').CSSProperties>>;
123
+ /** logo图片地址 */
124
+ logoSrc: StringConstructor;
125
+ /** logo文字 */
126
+ logoTitle: StringConstructor;
127
+ /** 菜单是否自动滚动到选中位置 */
128
+ menuScrollToActive: {
129
+ type: BooleanConstructor;
130
+ default: boolean;
131
+ };
123
132
  /** 是否是移动端风格 */
124
133
  mobile: BooleanConstructor;
125
134
  };
@@ -206,8 +206,13 @@
206
206
  }
207
207
  }
208
208
 
209
- .ele-admin-logo > img + h1 {
210
- margin-left: 8px;
209
+ .ele-admin-logo > img {
210
+ width: 30px;
211
+ height: 30px;
212
+
213
+ & + h1 {
214
+ margin-left: 8px;
215
+ }
211
216
  }
212
217
 
213
218
  .ele-admin-sidebar.is-collapse > .ele-admin-logo > img + h1 {
@@ -1,5 +1,5 @@
1
- import { ElIconProps } from '../ele-app/el';
2
1
  import { PropType, ExtractPropTypes } from 'vue';
2
+ import { ElIconProps } from '../ele-app/el';
3
3
 
4
4
  /**
5
5
  * 属性
@@ -1,5 +1,5 @@
1
- import { AvatarItem, AvatarErrorOption } from './types';
2
1
  import { PropType, ExtractPropTypes } from 'vue';
2
+ import { AvatarItem, AvatarErrorOption } from './types';
3
3
 
4
4
  /**
5
5
  * 属性
@@ -1,6 +1,6 @@
1
- import { JsBarCodeInstance } from './types';
2
- import { default as JsBarCode } from 'jsbarcode';
3
1
  import { Ref } from 'vue';
2
+ import { default as JsBarCode } from 'jsbarcode';
3
+ import { JsBarCodeInstance } from './types';
4
4
 
5
5
  declare const _default: import('vue').DefineComponent<{
6
6
  value: StringConstructor;
@@ -1,6 +1,6 @@
1
- import { BarCodeTag } from './types';
2
- import { Options } from 'jsbarcode';
3
1
  import { PropType, ExtractPropTypes } from 'vue';
2
+ import { Options } from 'jsbarcode';
3
+ import { BarCodeTag } from './types';
4
4
 
5
5
  /**
6
6
  * 属性
@@ -1,6 +1,6 @@
1
- import { SelectedItem } from './types';
2
- import { EleTooltipInstance } from '../ele-app/plus';
3
1
  import { ElInputInstance } from '../ele-app/el';
2
+ import { EleTooltipInstance } from '../ele-app/plus';
3
+ import { SelectedItem } from './types';
4
4
 
5
5
  declare const _default: import('vue').DefineComponent<{
6
6
  value: {
@@ -1,5 +1,5 @@
1
- import { SelectValue, SelectedItem } from './types';
2
1
  import { PropType, ExtractPropTypes } from 'vue';
2
+ import { SelectValue, SelectedItem } from './types';
3
3
 
4
4
  /**
5
5
  * 属性
@@ -62,7 +62,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
62
62
  key: 0,
63
63
  item
64
64
  }) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
65
- item.icon ? (vue.openBlock(), vue.createBlock(_component_ElIcon, vue.normalizeProps(vue.mergeProps({ key: 0 }, item.iconProps || {})), {
65
+ item.icon ? (vue.openBlock(), vue.createBlock(_component_ElIcon, vue.mergeProps({
66
+ key: 0,
67
+ ref_for: true
68
+ }, item.iconProps || {}), {
66
69
  default: vue.withCtx(() => [
67
70
  (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(item.icon), {
68
71
  style: vue.normalizeStyle(item.iconStyle)
@@ -1,5 +1,5 @@
1
- import { BreadcrumbSeparator, BreadcrumbItem } from './types';
2
1
  import { PropType, ExtractPropTypes } from 'vue';
2
+ import { BreadcrumbSeparator, BreadcrumbItem } from './types';
3
3
 
4
4
  /**
5
5
  * 属性
@@ -11,9 +11,11 @@ const _sfc_main = vue.defineComponent({
11
11
  emits: props.cardEmits,
12
12
  setup(props2, { emit }) {
13
13
  const {
14
+ handleBeforeEnter,
14
15
  handleEnter,
15
16
  handleAfterEnter,
16
17
  handleBeforeLeave,
18
+ handleLeave,
17
19
  handleAfterLeave
18
20
  } = hook.useCollapseAnim();
19
21
  const isCollapse = vue.ref(!!props2.collapse);
@@ -37,7 +39,9 @@ const _sfc_main = vue.defineComponent({
37
39
  return {
38
40
  isCollapse,
39
41
  handleBeforeLeave,
42
+ handleLeave,
40
43
  handleAfterLeave,
44
+ handleBeforeEnter,
41
45
  handleEnter,
42
46
  handleAfterEnter,
43
47
  handleCollapseClick,
@@ -99,7 +103,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
99
103
  vue.createVNode(vue.Transition, {
100
104
  name: "ele-card-slide",
101
105
  onBeforeLeave: _ctx.handleBeforeLeave,
106
+ onLeave: _ctx.handleLeave,
102
107
  onAfterLeave: _ctx.handleAfterLeave,
108
+ onBeforeEnter: _ctx.handleBeforeEnter,
103
109
  onEnter: _ctx.handleEnter,
104
110
  onAfterEnter: _ctx.handleAfterEnter
105
111
  }, {
@@ -114,7 +120,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
114
120
  ])
115
121
  ]),
116
122
  _: 3
117
- }, 8, ["onBeforeLeave", "onAfterLeave", "onEnter", "onAfterEnter"]),
123
+ }, 8, ["onBeforeLeave", "onLeave", "onAfterLeave", "onBeforeEnter", "onEnter", "onAfterEnter"]),
118
124
  _ctx.footer || _ctx.$slots.footer ? (vue.openBlock(), vue.createElementBlock("div", {
119
125
  key: 1,
120
126
  class: "ele-card-footer",
@@ -6,16 +6,18 @@ declare const _default: import('vue').DefineComponent<{
6
6
  shadow: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "always" | "never" | "hover", unknown> | undefined>;
7
7
  bordered: BooleanConstructor;
8
8
  headerStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
9
- titleStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>; /** 是否折叠 */
9
+ titleStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
10
10
  footerStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
11
11
  collapsable: import('vue').PropType<boolean | "header">;
12
12
  collapse: BooleanConstructor;
13
13
  collapseIconStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
14
- flexTable: BooleanConstructor;
14
+ flexTable: BooleanConstructor; /** 顶栏点击 */
15
15
  }, {
16
16
  isCollapse: import('vue').Ref<boolean>;
17
17
  handleBeforeLeave: (el: HTMLElement) => void;
18
+ handleLeave: (el: HTMLElement) => void;
18
19
  handleAfterLeave: (el: HTMLElement) => void;
20
+ handleBeforeEnter: (el: HTMLElement) => void;
19
21
  handleEnter: (el: HTMLElement) => void;
20
22
  handleAfterEnter: (el: HTMLElement) => void;
21
23
  handleCollapseClick: () => void;
@@ -30,12 +32,12 @@ declare const _default: import('vue').DefineComponent<{
30
32
  shadow: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "always" | "never" | "hover", unknown> | undefined>;
31
33
  bordered: BooleanConstructor;
32
34
  headerStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
33
- titleStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>; /** 是否折叠 */
35
+ titleStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
34
36
  footerStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
35
37
  collapsable: import('vue').PropType<boolean | "header">;
36
38
  collapse: BooleanConstructor;
37
39
  collapseIconStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
38
- flexTable: BooleanConstructor;
40
+ flexTable: BooleanConstructor; /** 顶栏点击 */
39
41
  }>> & {
40
42
  onCollapseChange?: ((_collapse: boolean) => any) | undefined;
41
43
  }, {
@@ -96,19 +96,6 @@
96
96
  }
97
97
  }
98
98
 
99
- /* 折叠动画 */
100
- .ele-card-slide-enter-from,
101
- .ele-card-slide-leave-active {
102
- max-height: 0 !important;
103
- padding-top: 0 !important;
104
- padding-bottom: 0 !important;
105
- }
106
-
107
- .ele-card-slide-enter-active,
108
- .ele-card-slide-leave-active {
109
- overflow: hidden !important;
110
- }
111
-
112
99
  /* 内部表格高度铺满 */
113
100
  .ele-card.is-flex-table {
114
101
  flex: 1;
@@ -1,5 +1,5 @@
1
- import { CheckCardItem } from '../types';
2
1
  import { PropType } from 'vue';
2
+ import { CheckCardItem } from '../types';
3
3
 
4
4
  declare const _default: import('vue').DefineComponent<{
5
5
  /** 数据 */
@@ -71,7 +71,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
71
71
  default: vue.withCtx(() => [
72
72
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.items, (item, index2) => {
73
73
  return vue.openBlock(), vue.createBlock(_component_ElCol, vue.mergeProps({
74
- key: index2 + "-" + item.value
74
+ key: index2 + "-" + item.value,
75
+ ref_for: true
75
76
  }, item.col || {}), {
76
77
  default: vue.withCtx(() => [
77
78
  vue.createVNode(_component_CardItem, {
@@ -86,7 +87,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
86
87
  onClick: ($event) => _ctx.onItemClick(item)
87
88
  }, {
88
89
  default: vue.withCtx((slotProps) => [
89
- vue.renderSlot(_ctx.$slots, "item", vue.normalizeProps(vue.guardReactiveProps(slotProps || {})), () => [
90
+ vue.renderSlot(_ctx.$slots, "item", vue.mergeProps({ ref_for: true }, slotProps || {}), () => [
90
91
  vue.createTextVNode(vue.toDisplayString(item.value), 1)
91
92
  ])
92
93
  ]),
@@ -112,7 +113,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
112
113
  onClick: ($event) => _ctx.onItemClick(item)
113
114
  }, {
114
115
  default: vue.withCtx((slotProps) => [
115
- vue.renderSlot(_ctx.$slots, "item", vue.normalizeProps(vue.guardReactiveProps(slotProps || {})), () => [
116
+ vue.renderSlot(_ctx.$slots, "item", vue.mergeProps({ ref_for: true }, slotProps || {}), () => [
116
117
  vue.createTextVNode(vue.toDisplayString(item.value), 1)
117
118
  ])
118
119
  ]),
@@ -1,6 +1,6 @@
1
- import { CheckCardItem, CheckedValue } from './types';
2
- import { ElRowProps } from '../ele-app/el';
3
1
  import { ExtractPropTypes, PropType } from 'vue';
2
+ import { ElRowProps } from '../ele-app/el';
3
+ import { CheckCardItem, CheckedValue } from './types';
4
4
 
5
5
  /**
6
6
  * 属性
@@ -1,6 +1,6 @@
1
- import { EleLocale } from './types';
2
- import { MessageBoxOptions } from '../utils/message-box';
3
1
  import { PropType, ExtractPropTypes, InjectionKey } from 'vue';
2
+ import { MessageBoxOptions } from '../utils/message-box';
3
+ import { EleLocale } from './types';
4
4
 
5
5
  /**
6
6
  * 属性
@@ -1,5 +1,5 @@
1
- import { GlobalProvide, UseLocaleResult, LocaleProps } from './types';
2
1
  import { Ref } from 'vue';
2
+ import { GlobalProvide, UseLocaleResult, LocaleProps } from './types';
3
3
 
4
4
  /**
5
5
  * 获取全局配置