ele-admin-plus 1.1.6-beta.5 → 1.1.6-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (297) hide show
  1. package/es/ele-alert/index.d.ts +6 -6
  2. package/es/ele-alert/props.d.ts +1 -1
  3. package/{lib/ele-app/types/element.d.ts → es/ele-app/el.d.ts} +101 -4
  4. package/es/ele-app/index.d.ts +0 -1
  5. package/es/ele-app/plus.d.ts +75 -0
  6. package/es/ele-app/style/common/index.js +1 -1
  7. package/es/ele-app/style/message/index.js +2 -2
  8. package/es/ele-app/style/overwrite/autocomplete/index.js +1 -1
  9. package/es/ele-app/style/overwrite/backtop/index.js +1 -1
  10. package/es/ele-app/style/overwrite/cascader/index.js +1 -1
  11. package/es/ele-app/style/overwrite/checkbox/index.js +1 -1
  12. package/es/ele-app/style/overwrite/color-picker/index.js +1 -1
  13. package/es/ele-app/style/overwrite/date-picker/index.js +1 -1
  14. package/es/ele-app/style/overwrite/descriptions/index.js +1 -1
  15. package/es/ele-app/style/overwrite/image-viewer/index.js +1 -1
  16. package/es/ele-app/style/overwrite/index.js +17 -17
  17. package/es/ele-app/style/overwrite/message-box/index.js +2 -2
  18. package/es/ele-app/style/overwrite/notification/index.js +2 -2
  19. package/es/ele-app/style/overwrite/popper/index.js +1 -1
  20. package/es/ele-app/style/overwrite/radio/index.js +1 -1
  21. package/es/ele-app/style/overwrite/select/index.js +1 -1
  22. package/es/ele-app/style/overwrite/table-filter/index.js +1 -1
  23. package/es/ele-app/style/overwrite/tag/index.js +1 -1
  24. package/es/ele-app/style/overwrite/tree/index.js +1 -1
  25. package/es/ele-app/style/overwrite/tree-select/index.js +1 -1
  26. package/es/ele-app/style/scrollbar/index.js +1 -1
  27. package/es/ele-app/{types/core.d.ts → types.d.ts} +10 -4
  28. package/es/ele-avatar-group/index.d.ts +2 -2
  29. package/es/ele-avatar-group/types.d.ts +21 -0
  30. package/{lib/ele-bar-code/types/index.d.ts → es/ele-bar-code/types.d.ts} +2 -0
  31. package/es/ele-basic-select/index.d.ts +8 -7
  32. package/{lib/ele-basic-select/types/index.d.ts → es/ele-basic-select/types.d.ts} +11 -8
  33. package/es/ele-breadcrumb/index.d.ts +1 -1
  34. package/es/ele-breadcrumb/types.d.ts +21 -0
  35. package/es/ele-check-card/components/card-item.d.ts +1 -1
  36. package/es/ele-check-card/index.d.ts +4 -4
  37. package/es/ele-check-card/props.d.ts +1 -1
  38. package/es/ele-check-card/types.d.ts +37 -0
  39. package/es/ele-config-provider/index.d.ts +2 -2
  40. package/es/ele-config-provider/props.d.ts +1 -1
  41. package/es/ele-config-provider/types.d.ts +124 -0
  42. package/es/ele-copyable/index.d.ts +5 -7
  43. package/es/ele-copyable/props.d.ts +1 -1
  44. package/{lib/ele-copyable/types/index.d.ts → es/ele-copyable/types.d.ts} +4 -2
  45. package/es/ele-cropper/index.d.ts +0 -2
  46. package/es/ele-cropper/types.d.ts +98 -0
  47. package/es/ele-cropper-modal/index.d.ts +2 -2
  48. package/es/ele-cropper-modal/props.d.ts +1 -1
  49. package/es/ele-data-table/index.d.ts +5 -2
  50. package/{lib/ele-data-table/types/index.d.ts → es/ele-data-table/types.d.ts} +111 -74
  51. package/es/ele-data-table/util.d.ts +2 -1
  52. package/es/ele-drawer/index.d.ts +3 -3
  53. package/es/ele-dropdown/index.d.ts +1 -1
  54. package/es/ele-dropdown/types.d.ts +20 -0
  55. package/es/ele-edit-tag/index.d.ts +3 -3
  56. package/{lib/ele-edit-tag/types/index.d.ts → es/ele-edit-tag/types.d.ts} +1 -0
  57. package/es/ele-ellipsis/index.d.ts +3 -3
  58. package/es/ele-ellipsis/props.d.ts +1 -1
  59. package/es/ele-ellipsis/types.d.ts +9 -0
  60. package/es/ele-file-list/components/file-grid-item.d.ts +1 -1
  61. package/es/ele-file-list/components/file-grid.d.ts +1 -1
  62. package/es/ele-file-list/components/file-table-item.d.ts +1 -1
  63. package/es/ele-file-list/components/file-table.d.ts +1 -1
  64. package/es/ele-file-list/index.d.ts +2 -2
  65. package/es/ele-file-list/props.d.ts +1 -1
  66. package/es/ele-file-list/types.d.ts +105 -0
  67. package/es/ele-icon-select/components/icon-grid.d.ts +1 -1
  68. package/es/ele-icon-select/index.d.ts +5 -5
  69. package/es/ele-icon-select/props.d.ts +1 -1
  70. package/es/ele-icon-select/types.d.ts +16 -0
  71. package/es/ele-loading/{types/index.d.ts → types.d.ts} +6 -4
  72. package/es/ele-map-picker/components/map-view.d.ts +14 -12
  73. package/es/ele-map-picker/index.d.ts +6 -6
  74. package/es/ele-map-picker/props.d.ts +2 -1
  75. package/es/ele-map-picker/types.d.ts +93 -0
  76. package/es/ele-menus/index.d.ts +1 -1
  77. package/es/ele-menus/types.d.ts +96 -0
  78. package/es/ele-modal/index.d.ts +8 -10
  79. package/{lib/ele-modal/types/index.d.ts → es/ele-modal/types.d.ts} +22 -7
  80. package/es/ele-popconfirm/index.d.ts +10 -9
  81. package/es/ele-popconfirm/props.d.ts +1 -1
  82. package/es/ele-popover/index.d.ts +1 -1
  83. package/es/ele-popover/props.d.ts +19 -19
  84. package/es/ele-printer/types.d.ts +48 -0
  85. package/es/ele-pro-layout/components/pro-sidebar.d.ts +1 -1
  86. package/es/ele-pro-layout/components/pro-sidebox.d.ts +1 -1
  87. package/es/ele-pro-layout/components/pro-tabs.d.ts +1 -1
  88. package/es/ele-pro-layout/components/tab-dropdown.d.ts +1 -1
  89. package/es/ele-pro-layout/index.d.ts +15 -11
  90. package/es/ele-pro-layout/props.d.ts +1 -1
  91. package/es/ele-pro-layout/types.d.ts +253 -0
  92. package/es/ele-pro-table/index.d.ts +8 -9
  93. package/es/ele-pro-table/props.d.ts +4 -4
  94. package/es/ele-pro-table/types.d.ts +277 -0
  95. package/es/ele-pro-table/util.d.ts +1 -1
  96. package/es/ele-qr-code/index.d.ts +1 -1
  97. package/es/ele-qr-code/types.d.ts +41 -0
  98. package/es/ele-qr-code-svg/index.d.ts +1 -1
  99. package/es/ele-segmented/index.d.ts +2 -2
  100. package/es/ele-segmented/types.d.ts +28 -0
  101. package/es/ele-steps/{types/index.d.ts → types.d.ts} +5 -3
  102. package/es/ele-table-select/index.d.ts +12 -12
  103. package/es/ele-table-select/props.d.ts +1 -1
  104. package/es/ele-tabs/components/tab-title.d.ts +1 -1
  105. package/es/ele-tabs/index.d.ts +8 -7
  106. package/es/ele-tabs/props.d.ts +2 -1
  107. package/es/ele-tabs/types.d.ts +64 -0
  108. package/es/ele-text/index.d.ts +4 -4
  109. package/es/ele-text/props.d.ts +1 -1
  110. package/es/ele-text/types.d.ts +35 -0
  111. package/es/ele-tooltip/index.d.ts +1 -1
  112. package/es/ele-tooltip/props.d.ts +7 -7
  113. package/es/ele-tour/index.d.ts +1 -1
  114. package/es/ele-tour/types.d.ts +42 -0
  115. package/es/ele-tour/util.d.ts +1 -1
  116. package/es/ele-tree-select/index.d.ts +4 -3
  117. package/es/ele-tree-select/props.d.ts +1 -1
  118. package/es/ele-tree-select/{types/index.d.ts → types.d.ts} +5 -1
  119. package/es/ele-upload-list/components/list-item.d.ts +1 -1
  120. package/es/ele-upload-list/index.d.ts +4 -4
  121. package/es/ele-upload-list/props.d.ts +1 -1
  122. package/es/ele-upload-list/types.d.ts +45 -0
  123. package/es/ele-virtual-table/components/body-cell.d.ts +1 -1
  124. package/es/ele-virtual-table/components/body-row.d.ts +1 -1
  125. package/es/ele-virtual-table/components/cell-filter.d.ts +1 -1
  126. package/es/ele-virtual-table/index.d.ts +10 -9
  127. package/es/ele-virtual-table/types.d.ts +195 -0
  128. package/es/ele-watermark/index.d.ts +1 -1
  129. package/es/ele-watermark/types.d.ts +39 -0
  130. package/lib/ele-alert/index.d.ts +6 -6
  131. package/lib/ele-alert/props.d.ts +1 -1
  132. package/{es/ele-app/types/element.d.ts → lib/ele-app/el.d.ts} +101 -4
  133. package/lib/ele-app/index.d.ts +0 -1
  134. package/lib/ele-app/plus.d.ts +75 -0
  135. package/lib/ele-app/style/message/index.cjs +1 -1
  136. package/lib/ele-app/style/overwrite/message-box/index.cjs +1 -1
  137. package/lib/ele-app/style/overwrite/notification/index.cjs +1 -1
  138. package/lib/ele-app/{types/core.d.ts → types.d.ts} +10 -4
  139. package/lib/ele-avatar-group/index.d.ts +2 -2
  140. package/lib/ele-avatar-group/types.d.ts +21 -0
  141. package/{es/ele-bar-code/types/index.d.ts → lib/ele-bar-code/types.d.ts} +2 -0
  142. package/lib/ele-basic-select/index.d.ts +8 -7
  143. package/{es/ele-basic-select/types/index.d.ts → lib/ele-basic-select/types.d.ts} +11 -8
  144. package/lib/ele-breadcrumb/index.d.ts +1 -1
  145. package/lib/ele-breadcrumb/types.d.ts +21 -0
  146. package/lib/ele-check-card/components/card-item.d.ts +1 -1
  147. package/lib/ele-check-card/index.d.ts +4 -4
  148. package/lib/ele-check-card/props.d.ts +1 -1
  149. package/lib/ele-check-card/types.d.ts +37 -0
  150. package/lib/ele-config-provider/index.d.ts +2 -2
  151. package/lib/ele-config-provider/props.d.ts +1 -1
  152. package/lib/ele-config-provider/types.d.ts +124 -0
  153. package/lib/ele-copyable/index.d.ts +5 -7
  154. package/lib/ele-copyable/props.d.ts +1 -1
  155. package/{es/ele-copyable/types/index.d.ts → lib/ele-copyable/types.d.ts} +4 -2
  156. package/lib/ele-cropper/index.d.ts +0 -2
  157. package/lib/ele-cropper/types.d.ts +98 -0
  158. package/lib/ele-cropper-modal/index.d.ts +2 -2
  159. package/lib/ele-cropper-modal/props.d.ts +1 -1
  160. package/lib/ele-data-table/index.d.ts +5 -2
  161. package/{es/ele-data-table/types/index.d.ts → lib/ele-data-table/types.d.ts} +111 -74
  162. package/lib/ele-data-table/util.d.ts +2 -1
  163. package/lib/ele-drawer/index.d.ts +3 -3
  164. package/lib/ele-dropdown/index.d.ts +1 -1
  165. package/lib/ele-dropdown/types.d.ts +20 -0
  166. package/lib/ele-edit-tag/index.d.ts +3 -3
  167. package/{es/ele-edit-tag/types/index.d.ts → lib/ele-edit-tag/types.d.ts} +1 -0
  168. package/lib/ele-ellipsis/index.d.ts +3 -3
  169. package/lib/ele-ellipsis/props.d.ts +1 -1
  170. package/lib/ele-ellipsis/types.d.ts +9 -0
  171. package/lib/ele-file-list/components/file-grid-item.d.ts +1 -1
  172. package/lib/ele-file-list/components/file-grid.d.ts +1 -1
  173. package/lib/ele-file-list/components/file-table-item.d.ts +1 -1
  174. package/lib/ele-file-list/components/file-table.d.ts +1 -1
  175. package/lib/ele-file-list/index.d.ts +2 -2
  176. package/lib/ele-file-list/props.d.ts +1 -1
  177. package/lib/ele-file-list/types.d.ts +105 -0
  178. package/lib/ele-icon-select/components/icon-grid.d.ts +1 -1
  179. package/lib/ele-icon-select/index.d.ts +5 -5
  180. package/lib/ele-icon-select/props.d.ts +1 -1
  181. package/lib/ele-icon-select/types.d.ts +16 -0
  182. package/lib/ele-loading/{types/index.d.ts → types.d.ts} +6 -4
  183. package/lib/ele-map-picker/components/map-view.d.ts +14 -12
  184. package/lib/ele-map-picker/index.d.ts +6 -6
  185. package/lib/ele-map-picker/props.d.ts +2 -1
  186. package/lib/ele-map-picker/types.d.ts +93 -0
  187. package/lib/ele-menus/index.d.ts +1 -1
  188. package/lib/ele-menus/types.d.ts +96 -0
  189. package/lib/ele-modal/index.d.ts +8 -10
  190. package/{es/ele-modal/types/index.d.ts → lib/ele-modal/types.d.ts} +22 -7
  191. package/lib/ele-popconfirm/index.d.ts +10 -9
  192. package/lib/ele-popconfirm/props.d.ts +1 -1
  193. package/lib/ele-popover/index.d.ts +1 -1
  194. package/lib/ele-popover/props.d.ts +19 -19
  195. package/lib/ele-printer/types.d.ts +48 -0
  196. package/lib/ele-pro-layout/components/pro-sidebar.d.ts +1 -1
  197. package/lib/ele-pro-layout/components/pro-sidebox.d.ts +1 -1
  198. package/lib/ele-pro-layout/components/pro-tabs.d.ts +1 -1
  199. package/lib/ele-pro-layout/components/tab-dropdown.d.ts +1 -1
  200. package/lib/ele-pro-layout/index.d.ts +15 -11
  201. package/lib/ele-pro-layout/props.d.ts +1 -1
  202. package/lib/ele-pro-layout/types.d.ts +253 -0
  203. package/lib/ele-pro-table/index.d.ts +8 -9
  204. package/lib/ele-pro-table/props.d.ts +4 -4
  205. package/lib/ele-pro-table/types.d.ts +277 -0
  206. package/lib/ele-pro-table/util.d.ts +1 -1
  207. package/lib/ele-qr-code/index.d.ts +1 -1
  208. package/lib/ele-qr-code/types.d.ts +41 -0
  209. package/lib/ele-qr-code-svg/index.d.ts +1 -1
  210. package/lib/ele-segmented/index.d.ts +2 -2
  211. package/lib/ele-segmented/types.d.ts +28 -0
  212. package/lib/ele-steps/{types/index.d.ts → types.d.ts} +5 -3
  213. package/lib/ele-table-select/index.d.ts +12 -12
  214. package/lib/ele-table-select/props.d.ts +1 -1
  215. package/lib/ele-tabs/components/tab-title.d.ts +1 -1
  216. package/lib/ele-tabs/index.d.ts +8 -7
  217. package/lib/ele-tabs/props.d.ts +2 -1
  218. package/lib/ele-tabs/types.d.ts +64 -0
  219. package/lib/ele-text/index.d.ts +4 -4
  220. package/lib/ele-text/props.d.ts +1 -1
  221. package/lib/ele-text/types.d.ts +35 -0
  222. package/lib/ele-tooltip/index.d.ts +1 -1
  223. package/lib/ele-tooltip/props.d.ts +7 -7
  224. package/lib/ele-tour/index.d.ts +1 -1
  225. package/lib/ele-tour/types.d.ts +42 -0
  226. package/lib/ele-tour/util.d.ts +1 -1
  227. package/lib/ele-tree-select/index.d.ts +4 -3
  228. package/lib/ele-tree-select/props.d.ts +1 -1
  229. package/lib/ele-tree-select/{types/index.d.ts → types.d.ts} +5 -1
  230. package/lib/ele-upload-list/components/list-item.d.ts +1 -1
  231. package/lib/ele-upload-list/index.d.ts +4 -4
  232. package/lib/ele-upload-list/props.d.ts +1 -1
  233. package/lib/ele-upload-list/types.d.ts +45 -0
  234. package/lib/ele-virtual-table/components/body-cell.d.ts +1 -1
  235. package/lib/ele-virtual-table/components/body-row.d.ts +1 -1
  236. package/lib/ele-virtual-table/components/cell-filter.d.ts +1 -1
  237. package/lib/ele-virtual-table/index.d.ts +10 -9
  238. package/lib/ele-virtual-table/types.d.ts +195 -0
  239. package/lib/ele-watermark/index.d.ts +1 -1
  240. package/lib/ele-watermark/types.d.ts +39 -0
  241. package/package.json +86 -6
  242. package/es/ele-app/types/components.d.ts +0 -51
  243. package/es/ele-app/types/index.d.ts +0 -3
  244. package/es/ele-avatar-group/types/index.d.ts +0 -20
  245. package/es/ele-breadcrumb/types/index.d.ts +0 -19
  246. package/es/ele-check-card/types/index.d.ts +0 -32
  247. package/es/ele-config-provider/types/index.d.ts +0 -102
  248. package/es/ele-cropper/types/index.d.ts +0 -77
  249. package/es/ele-dropdown/types/index.d.ts +0 -18
  250. package/es/ele-ellipsis/types/index.d.ts +0 -8
  251. package/es/ele-file-list/types/index.d.ts +0 -95
  252. package/es/ele-icon-select/types/index.d.ts +0 -16
  253. package/es/ele-map-picker/types/index.d.ts +0 -88
  254. package/es/ele-menus/types/index.d.ts +0 -78
  255. package/es/ele-printer/types/index.d.ts +0 -44
  256. package/es/ele-pro-layout/types/index.d.ts +0 -226
  257. package/es/ele-pro-table/types/index.d.ts +0 -219
  258. package/es/ele-qr-code/types/index.d.ts +0 -38
  259. package/es/ele-segmented/types/index.d.ts +0 -25
  260. package/es/ele-tabs/types/index.d.ts +0 -50
  261. package/es/ele-text/types/index.d.ts +0 -13
  262. package/es/ele-tour/types/index.d.ts +0 -38
  263. package/es/ele-upload-list/types/index.d.ts +0 -42
  264. package/es/ele-virtual-table/types/index.d.ts +0 -161
  265. package/es/ele-watermark/types/index.d.ts +0 -36
  266. package/lib/ele-app/types/components.d.ts +0 -51
  267. package/lib/ele-app/types/index.d.ts +0 -3
  268. package/lib/ele-avatar-group/types/index.d.ts +0 -20
  269. package/lib/ele-breadcrumb/types/index.d.ts +0 -19
  270. package/lib/ele-check-card/types/index.d.ts +0 -32
  271. package/lib/ele-config-provider/types/index.d.ts +0 -102
  272. package/lib/ele-cropper/types/index.d.ts +0 -77
  273. package/lib/ele-dropdown/types/index.d.ts +0 -18
  274. package/lib/ele-ellipsis/types/index.d.ts +0 -8
  275. package/lib/ele-file-list/types/index.d.ts +0 -95
  276. package/lib/ele-icon-select/types/index.d.ts +0 -16
  277. package/lib/ele-map-picker/types/index.d.ts +0 -88
  278. package/lib/ele-menus/types/index.d.ts +0 -78
  279. package/lib/ele-printer/types/index.d.ts +0 -44
  280. package/lib/ele-pro-layout/types/index.d.ts +0 -226
  281. package/lib/ele-pro-table/types/index.d.ts +0 -219
  282. package/lib/ele-qr-code/types/index.d.ts +0 -38
  283. package/lib/ele-segmented/types/index.d.ts +0 -25
  284. package/lib/ele-tabs/types/index.d.ts +0 -50
  285. package/lib/ele-text/types/index.d.ts +0 -13
  286. package/lib/ele-tour/types/index.d.ts +0 -38
  287. package/lib/ele-upload-list/types/index.d.ts +0 -42
  288. package/lib/ele-virtual-table/types/index.d.ts +0 -161
  289. package/lib/ele-watermark/types/index.d.ts +0 -36
  290. /package/es/ele-dashboard/{types/index.d.ts → types.d.ts} +0 -0
  291. /package/es/ele-dot/{types/index.d.ts → types.d.ts} +0 -0
  292. /package/es/ele-pagination/{types/index.d.ts → types.d.ts} +0 -0
  293. /package/es/ele-toolbar/{types/index.d.ts → types.d.ts} +0 -0
  294. /package/lib/ele-dashboard/{types/index.d.ts → types.d.ts} +0 -0
  295. /package/lib/ele-dot/{types/index.d.ts → types.d.ts} +0 -0
  296. /package/lib/ele-pagination/{types/index.d.ts → types.d.ts} +0 -0
  297. /package/lib/ele-toolbar/{types/index.d.ts → types.d.ts} +0 -0
@@ -0,0 +1,28 @@
1
+ import type { Component } from 'vue';
2
+ import type { StyleValue } from '../ele-app/types';
3
+ import type { ElIconProps } from '../ele-app/el';
4
+
5
+ /**
6
+ * 尺寸
7
+ */
8
+ export type SegmentedSize = 'large' | 'default' | 'small';
9
+
10
+ /**
11
+ * 数据
12
+ */
13
+ export interface SegmentedItem extends Record<keyof any, any> {
14
+ /** 标题 */
15
+ label?: string;
16
+ /** 值 */
17
+ value: string | number;
18
+ /** 图标 */
19
+ icon?: string | Component;
20
+ /** 是否禁用 */
21
+ disabled?: boolean;
22
+ /** 自定义样式 */
23
+ style?: StyleValue;
24
+ /** 自定义图标属性 */
25
+ iconProps?: ElIconProps;
26
+ /** 自定义图标样式 */
27
+ iconStyle?: StyleValue;
28
+ }
@@ -1,11 +1,13 @@
1
- import type { ElStepProps } from '../../ele-app/types';
1
+ import type { ElStepProps } from '../ele-app/el';
2
+
2
3
  /**
3
4
  * 步骤条数据
4
5
  */
5
6
  export interface StepItem extends ElStepProps {
6
- /** 循环的 key */
7
- key?: string | number | symbol;
7
+ /** 循环的 key */
8
+ key?: string | number | symbol;
8
9
  }
10
+
9
11
  /**
10
12
  * 步骤条类型
11
13
  */
@@ -1,4 +1,4 @@
1
- import type { EleBasicSelectInstance, EleProTableInstance } from '../ele-app/types';
1
+ import type { EleBasicSelectInstance, EleProTableInstance } from '../ele-app/plus';
2
2
  import type { SingleValue, SelectValue, SelectedItem } from '../ele-basic-select/types';
3
3
  import type { DoneParams } from '../ele-pro-table/types';
4
4
  import type { DataKey, DataItem, Column } from '../ele-data-table/types';
@@ -23,15 +23,15 @@ declare const _default: import("vue").DefineComponent<{
23
23
  initValue: import("vue").PropType<DataItem | DataItem[]>;
24
24
  cacheData: import("vue").PropType<DataItem[]>;
25
25
  tableProps: {
26
- type: import("vue").PropType<import("../ele-app/types").EleProTableProps>;
26
+ type: import("vue").PropType<import("../ele-app/plus").EleProTableProps>;
27
27
  required: boolean;
28
28
  };
29
29
  maxTagCount: NumberConstructor;
30
- maxTagTextLength: NumberConstructor;
30
+ maxTagTextLength: NumberConstructor; /** 下拉框是否显示 */
31
31
  tagType: {
32
32
  type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "success" | "warning" | "info" | "danger", unknown> | undefined>;
33
- default: string; /** 选中的标签 */
34
- }; /** 选中的标签 */
33
+ default: string;
34
+ };
35
35
  automaticDropdown: BooleanConstructor;
36
36
  filterable: BooleanConstructor;
37
37
  teleported: {
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<{
40
40
  };
41
41
  persistent: {
42
42
  type: BooleanConstructor;
43
- default: boolean;
43
+ default: boolean; /** 表格单选选中值 */
44
44
  };
45
45
  placement: {
46
46
  type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, import("element-plus").Placement, unknown> | undefined>;
@@ -93,7 +93,7 @@ declare const _default: import("vue").DefineComponent<{
93
93
  removeTag: (_value: SingleValue) => boolean;
94
94
  clear: () => boolean;
95
95
  focus: (_e: FocusEvent) => boolean;
96
- blur: (_e: FocusEvent) => boolean; /** 从缓存数据中获取值对应的数据 */
96
+ blur: (_e: FocusEvent) => boolean;
97
97
  select: (_item: DataItem | DataItem[]) => boolean;
98
98
  filterChange: (_value: string) => boolean;
99
99
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -117,15 +117,15 @@ declare const _default: import("vue").DefineComponent<{
117
117
  initValue: import("vue").PropType<DataItem | DataItem[]>;
118
118
  cacheData: import("vue").PropType<DataItem[]>;
119
119
  tableProps: {
120
- type: import("vue").PropType<import("../ele-app/types").EleProTableProps>;
120
+ type: import("vue").PropType<import("../ele-app/plus").EleProTableProps>;
121
121
  required: boolean;
122
122
  };
123
123
  maxTagCount: NumberConstructor;
124
- maxTagTextLength: NumberConstructor;
124
+ maxTagTextLength: NumberConstructor; /** 下拉框是否显示 */
125
125
  tagType: {
126
126
  type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, "" | "success" | "warning" | "info" | "danger", unknown> | undefined>;
127
- default: string; /** 选中的标签 */
128
- }; /** 选中的标签 */
127
+ default: string;
128
+ };
129
129
  automaticDropdown: BooleanConstructor;
130
130
  filterable: BooleanConstructor;
131
131
  teleported: {
@@ -134,7 +134,7 @@ declare const _default: import("vue").DefineComponent<{
134
134
  };
135
135
  persistent: {
136
136
  type: BooleanConstructor;
137
- default: boolean;
137
+ default: boolean; /** 表格单选选中值 */
138
138
  };
139
139
  placement: {
140
140
  type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<StringConstructor, import("element-plus").Placement, unknown> | undefined>;
@@ -1,5 +1,5 @@
1
1
  import type { PropType, ExtractPropTypes } from 'vue';
2
- import type { EleProTableProps } from '../ele-app/types';
2
+ import type { EleProTableProps } from '../ele-app/plus';
3
3
  import type { DataItem } from '../ele-data-table/types';
4
4
  import type { SelectValue, SingleValue } from '../ele-basic-select/types';
5
5
  /**
@@ -1,6 +1,6 @@
1
1
  import type { PropType } from 'vue';
2
2
  import type { DropdownItem } from '../../ele-dropdown/types';
3
- import type { EleDropdownProps, EleDropdownInstance } from '../../ele-app/types';
3
+ import type { EleDropdownProps, EleDropdownInstance } from '../../ele-app/plus';
4
4
  import type { TabPaneItem, TabEventOption } from '../types';
5
5
  declare const _default: import("vue").DefineComponent<{
6
6
  /** 当前选中页签 */
@@ -1,7 +1,8 @@
1
1
  import type { Ref } from 'vue';
2
2
  import type { TabPaneName, TabsPaneContext } from 'element-plus';
3
3
  import { omit } from '../utils/core';
4
- import type { ElTabsProps, ElTabsInstance, EleDropdownInstance } from '../ele-app/types';
4
+ import type { ElTabsProps, ElTabsInstance } from '../ele-app/el';
5
+ import type { EleDropdownInstance } from '../ele-app/plus';
5
6
  import type { DropdownItem } from '../ele-dropdown/types';
6
7
  import type { TabPaneItem, TabEventOption } from './types';
7
8
  import type { TabTitleInstance } from './props';
@@ -13,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
13
14
  size: import("vue").PropType<import("./types").TabSize>;
14
15
  type: import("vue").PropType<import("./types").TabType>;
15
16
  center: BooleanConstructor;
16
- contextMenu: import("vue").PropType<boolean | import("../ele-app/types").EleDropdownProps>;
17
+ contextMenu: import("vue").PropType<boolean | import("../ele-app/plus").EleDropdownProps>;
17
18
  contextMenus: import("vue").PropType<import("./types").ContextMenus>;
18
19
  sortable: BooleanConstructor;
19
20
  mousewheel: BooleanConstructor;
@@ -29,8 +30,8 @@ declare const _default: import("vue").DefineComponent<{
29
30
  modelValue: {
30
31
  readonly type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
31
32
  readonly required: false;
32
- readonly validator: ((val: unknown) => boolean) | undefined; /** 当前数据 */
33
- __epPropKey: true;
33
+ readonly validator: ((val: unknown) => boolean) | undefined;
34
+ __epPropKey: true; /** 当前数据 */
34
35
  };
35
36
  editable: BooleanConstructor;
36
37
  tabPosition: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, "top" | "bottom" | "right" | "left", unknown, "top", boolean>;
@@ -97,7 +98,7 @@ declare const _default: import("vue").DefineComponent<{
97
98
  size: import("vue").PropType<import("./types").TabSize>;
98
99
  type: import("vue").PropType<import("./types").TabType>;
99
100
  center: BooleanConstructor;
100
- contextMenu: import("vue").PropType<boolean | import("../ele-app/types").EleDropdownProps>;
101
+ contextMenu: import("vue").PropType<boolean | import("../ele-app/plus").EleDropdownProps>;
101
102
  contextMenus: import("vue").PropType<import("./types").ContextMenus>;
102
103
  sortable: BooleanConstructor;
103
104
  mousewheel: BooleanConstructor;
@@ -113,8 +114,8 @@ declare const _default: import("vue").DefineComponent<{
113
114
  modelValue: {
114
115
  readonly type: import("vue").PropType<import("element-plus/es/utils/index").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
115
116
  readonly required: false;
116
- readonly validator: ((val: unknown) => boolean) | undefined; /** 当前数据 */
117
- __epPropKey: true;
117
+ readonly validator: ((val: unknown) => boolean) | undefined;
118
+ __epPropKey: true; /** 当前数据 */
118
119
  };
119
120
  editable: BooleanConstructor;
120
121
  tabPosition: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, "top" | "bottom" | "right" | "left", unknown, "top", boolean>;
@@ -1,6 +1,6 @@
1
1
  import type { PropType, ExtractPropTypes } from 'vue';
2
2
  import { tabsProps as elTabsProps } from 'element-plus';
3
- import type { EleDropdownProps, EleDropdownInstance } from '../ele-app/types';
3
+ import type { EleDropdownProps, EleDropdownInstance } from '../ele-app/plus';
4
4
  import type TabTitle from "./components/tab-title";
5
5
  import type { TabPaneItem, TabSize, TabType, TabEventOption, ContextMenus } from './types';
6
6
  /**
@@ -32,6 +32,7 @@ export declare const tabsProps: {
32
32
  readonly type: PropType<import("element-plus/es/utils/index").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
33
33
  readonly required: false;
34
34
  readonly validator: ((val: unknown) => boolean) | undefined;
35
+ /** 是否支持右键菜单 */
35
36
  __epPropKey: true;
36
37
  };
37
38
  closable: BooleanConstructor;
@@ -0,0 +1,64 @@
1
+ import type SortableJs from 'sortablejs';
2
+ import type { ElTabPaneProps } from '../ele-app/el';
3
+ import type { DropdownItem } from '../ele-dropdown/types';
4
+
5
+ /**
6
+ * 页签数据
7
+ */
8
+ export interface TabPaneItem extends ElTabPaneProps {
9
+ /** 插槽名称 */
10
+ slot?: string;
11
+ /** 元数据 */
12
+ meta?: any;
13
+ }
14
+
15
+ /**
16
+ * 尺寸
17
+ */
18
+ export type TabSize = 'large' | 'default' | 'small';
19
+
20
+ /**
21
+ * 风格类型
22
+ */
23
+ export type TabType =
24
+ | 'default'
25
+ | 'card'
26
+ | 'border-card'
27
+ | 'plain'
28
+ | 'simple'
29
+ | 'indicator'
30
+ | 'button';
31
+
32
+ /**
33
+ * 页签事件参数
34
+ */
35
+ export interface TabEventOption {
36
+ /** 页签标识 */
37
+ name?: string | number;
38
+ /** 页签数据 */
39
+ item?: TabPaneItem;
40
+ /** 当前选中的页签标识 */
41
+ active?: string | number;
42
+ /** 事件标识 */
43
+ command?: string;
44
+ }
45
+
46
+ /**
47
+ * 获取右键菜单方法
48
+ */
49
+ export type ContextMenusFunc = (item?: TabPaneItem) => DropdownItem[];
50
+
51
+ /**
52
+ * 右键菜单属性
53
+ */
54
+ export type ContextMenus = DropdownItem[] | ContextMenusFunc;
55
+
56
+ /**
57
+ * 页签实例数据
58
+ */
59
+ export interface TabCurrent {
60
+ /** 拖拽排序实例 */
61
+ sortIns?: SortableJs | null;
62
+ /** 鼠标滚轮事件节流 */
63
+ isScroll?: boolean;
64
+ }
@@ -10,7 +10,7 @@ declare const _default: import("vue").DefineComponent<{
10
10
  strong: BooleanConstructor;
11
11
  italic: BooleanConstructor;
12
12
  icon: import("vue").PropType<import("./types").TextIcon>;
13
- iconProps: import("vue").PropType<import("../ele-app/types").ElIconProps>;
13
+ iconProps: import("vue").PropType<import("../ele-app/el").ElIconProps>;
14
14
  iconStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
15
15
  }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
16
16
  tag: {
@@ -24,13 +24,13 @@ declare const _default: import("vue").DefineComponent<{
24
24
  strong: BooleanConstructor;
25
25
  italic: BooleanConstructor;
26
26
  icon: import("vue").PropType<import("./types").TextIcon>;
27
- iconProps: import("vue").PropType<import("../ele-app/types").ElIconProps>;
27
+ iconProps: import("vue").PropType<import("../ele-app/el").ElIconProps>;
28
28
  iconStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
29
29
  }>>, {
30
30
  tag: string;
31
31
  underline: boolean;
32
- italic: boolean;
33
- strong: boolean;
34
32
  deleted: boolean;
33
+ strong: boolean;
34
+ italic: boolean;
35
35
  }, {}>;
36
36
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import type { PropType, ExtractPropTypes } from 'vue';
2
- import type { ElIconProps } from '../ele-app/types';
2
+ import type { ElIconProps } from '../ele-app/el';
3
3
  import type { TextType, TextSize, TextIcon } from './types';
4
4
  /**
5
5
  * 属性
@@ -0,0 +1,35 @@
1
+ import type { Component } from 'vue';
2
+
3
+ /**
4
+ * 文本类型
5
+ */
6
+ export type TextType =
7
+ | 'default'
8
+ | 'heading'
9
+ | 'secondary'
10
+ | 'placeholder'
11
+ | 'primary'
12
+ | 'success'
13
+ | 'warning'
14
+ | 'danger'
15
+ | 'info'
16
+ | null;
17
+
18
+ /**
19
+ * 文本大小
20
+ */
21
+ export type TextSize =
22
+ | 'xxxl'
23
+ | 'xxl'
24
+ | 'xl'
25
+ | 'lg'
26
+ | 'md'
27
+ | 'base'
28
+ | 'sm'
29
+ | 'xs'
30
+ | null;
31
+
32
+ /**
33
+ * 图标
34
+ */
35
+ export type TextIcon = string | Component;
@@ -1,4 +1,4 @@
1
- import type { ElTooltipInstance, ElPopperInstance } from '../ele-app/types';
1
+ import type { ElTooltipInstance, ElPopperInstance } from '../ele-app/el';
2
2
  declare const _default: import("vue").DefineComponent<{
3
3
  bodyStyle: import("vue").PropType<Partial<import("vue").CSSProperties>>;
4
4
  bg: StringConstructor;
@@ -13,15 +13,10 @@ export declare const tooltipProps: {
13
13
  width: (StringConstructor | NumberConstructor)[];
14
14
  /** 是否是气泡卡片 */
15
15
  isPopover: BooleanConstructor;
16
- offset: import("element-plus/es/utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, 12, boolean>;
17
- trigger: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils/typescript").Arrayable<import("element-plus").TooltipTriggerType>) | ((new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils/typescript").Arrayable<import("element-plus").TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
18
- effect: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "dark", boolean>;
19
- placement: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, import("element-plus").Placement, unknown, "bottom", boolean>;
20
- popperOptions: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>) | ((new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>))[], unknown, unknown, () => {}, boolean>;
21
- disabled: BooleanConstructor;
22
- teleported: import("element-plus/es/utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
23
16
  showArrow: import("element-plus/es/utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
24
17
  arrowOffset: import("element-plus/es/utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, 5, boolean>;
18
+ disabled: BooleanConstructor;
19
+ trigger: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils/typescript").Arrayable<import("element-plus").TooltipTriggerType>) | ((new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | import("element-plus").TooltipTriggerType[]) | (() => import("element-plus/es/utils/typescript").Arrayable<import("element-plus").TooltipTriggerType>))[], unknown, unknown, "hover", boolean>;
25
20
  triggerKeys: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
26
21
  virtualRef: {
27
22
  readonly type: PropType<import("element-plus").Measurable>;
@@ -42,9 +37,14 @@ export declare const tooltipProps: {
42
37
  ariaLabel: StringConstructor;
43
38
  visible: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => boolean) | (() => boolean | null) | ((new (...args: any[]) => boolean) | (() => boolean | null))[], unknown, unknown, null, boolean>;
44
39
  transition: StringConstructor;
40
+ teleported: import("element-plus/es/utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
41
+ effect: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, unknown, unknown, "dark", boolean>;
45
42
  enterable: import("element-plus/es/utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
46
43
  zIndex: NumberConstructor;
47
44
  gpuAcceleration: import("element-plus/es/utils/index").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
45
+ offset: import("element-plus/es/utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, 12, boolean>;
46
+ placement: import("element-plus/es/utils/index").EpPropFinalized<StringConstructor, import("element-plus").Placement, unknown, "bottom", boolean>;
47
+ popperOptions: import("element-plus/es/utils/index").EpPropFinalized<(new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>) | ((new (...args: any[]) => Partial<import("element-plus").Options>) | (() => Partial<import("element-plus").Options>))[], unknown, unknown, () => {}, boolean>;
48
48
  showAfter: import("element-plus/es/utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
49
49
  hideAfter: import("element-plus/es/utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
50
50
  autoClose: import("element-plus/es/utils/index").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
@@ -1,5 +1,5 @@
1
1
  import type { Ref } from 'vue';
2
- import type { EleTooltipInstance } from '../ele-app/types';
2
+ import type { EleTooltipInstance } from '../ele-app/plus';
3
3
  import type { TourStep, TourLocale } from './types';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  modelValue: NumberConstructor;
@@ -0,0 +1,42 @@
1
+ import type { ElePopoverProps } from '../ele-app/plus';
2
+
3
+ /**
4
+ * 引导步骤指向元素
5
+ */
6
+ export type TourStepTarget = HTMLElement | (() => HTMLElement);
7
+
8
+ /**
9
+ * 引导步骤
10
+ */
11
+ export interface TourStep {
12
+ /** 指向元素 */
13
+ target?: TourStepTarget;
14
+ /** 标题 */
15
+ title?: string;
16
+ /** 描述 */
17
+ description?: string;
18
+ /** 内间距 */
19
+ padding?: number;
20
+ /** 是否开启遮罩层 */
21
+ mask?: boolean;
22
+ /** 气泡组件属性 */
23
+ popoverProps?: ElePopoverProps;
24
+ }
25
+
26
+ /**
27
+ * 元素距离
28
+ */
29
+ export interface Offset {
30
+ top: number;
31
+ left: number;
32
+ }
33
+
34
+ /**
35
+ * 国际化
36
+ */
37
+ export interface TourLocale {
38
+ skip: string;
39
+ prev: string;
40
+ next: string;
41
+ finish: string;
42
+ }
@@ -1,4 +1,4 @@
1
- import type { EleTooltipProps } from '../ele-app/types';
1
+ import type { EleTooltipProps } from '../ele-app/plus';
2
2
  import type { Offset } from './types';
3
3
  /**
4
4
  * 获取元素距浏览器窗口的距离
@@ -1,4 +1,5 @@
1
- import type { ElTreeV2Instance, EleBasicSelectInstance } from '../ele-app/types';
1
+ import type { ElTreeV2Instance } from '../ele-app/el';
2
+ import type { EleBasicSelectInstance } from '../ele-app/plus';
2
3
  import type { SelectValue, SingleValue, SelectedItem } from '../ele-basic-select/types';
3
4
  import type { DataItem } from './types';
4
5
  declare const _default: import("vue").DefineComponent<{
@@ -13,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
13
14
  placeholder: StringConstructor;
14
15
  cacheData: import("vue").PropType<import("element-plus/es/components/tree-v2/src/types").TreeData | undefined>;
15
16
  treeProps: {
16
- type: import("vue").PropType<import("../ele-app/types").ElTreeV2Props>;
17
+ type: import("vue").PropType<import("../ele-app/el").ElTreeV2Props>;
17
18
  required: boolean;
18
19
  };
19
20
  showCheckedStrategy: import("vue").PropType<import("./types").ShowCheckedStrategy>;
@@ -89,7 +90,7 @@ declare const _default: import("vue").DefineComponent<{
89
90
  placeholder: StringConstructor;
90
91
  cacheData: import("vue").PropType<import("element-plus/es/components/tree-v2/src/types").TreeData | undefined>;
91
92
  treeProps: {
92
- type: import("vue").PropType<import("../ele-app/types").ElTreeV2Props>;
93
+ type: import("vue").PropType<import("../ele-app/el").ElTreeV2Props>;
93
94
  required: boolean;
94
95
  };
95
96
  showCheckedStrategy: import("vue").PropType<import("./types").ShowCheckedStrategy>;
@@ -1,5 +1,5 @@
1
1
  import type { PropType, ExtractPropTypes } from 'vue';
2
- import type { ElTreeV2Props } from '../ele-app/types';
2
+ import type { ElTreeV2Props } from '../ele-app/el';
3
3
  import type { SelectValue, SingleValue } from '../ele-basic-select/types';
4
4
  import type { ShowCheckedStrategy } from './types';
5
5
  /**
@@ -1,16 +1,20 @@
1
- import type { ElTreeV2Props } from '../../ele-app/types';
1
+ import type { ElTreeV2Props } from '../ele-app/el';
2
+
2
3
  /**
3
4
  * 多选标签显示策略
4
5
  */
5
6
  export type ShowCheckedStrategy = 'all' | 'parent' | 'child';
7
+
6
8
  /**
7
9
  * 树配置选项
8
10
  */
9
11
  export type TreeOption = Required<Exclude<ElTreeV2Props['props'], undefined>>;
12
+
10
13
  /**
11
14
  * 树数据
12
15
  */
13
16
  export type TreeData = Exclude<ElTreeV2Props['data'], undefined>;
17
+
14
18
  /**
15
19
  * 树数据项
16
20
  */
@@ -1,5 +1,5 @@
1
1
  import type { PropType } from 'vue';
2
- import type { ElProgressProps } from '../../ele-app/types';
2
+ import type { ElProgressProps } from '../../ele-app/el';
3
3
  import type { UploadItem, UploadLocale } from '../types';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  /** 数据 */
@@ -1,4 +1,4 @@
1
- import type { ElImageInstance } from '../ele-app/types';
1
+ import type { ElImageInstance } from '../ele-app/el';
2
2
  import type { UploadItem, UploadLocale } from './types';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  modelValue: {
@@ -24,7 +24,7 @@ declare const _default: import("vue").DefineComponent<{
24
24
  type: import("vue").PropType<boolean | Record<string | number | symbol, any>>;
25
25
  default: boolean;
26
26
  };
27
- progressProps: import("vue").PropType<import("../ele-app/types").ElProgressProps>;
27
+ progressProps: import("vue").PropType<import("../ele-app/el").ElProgressProps>;
28
28
  locale: import("vue").PropType<Partial<UploadLocale>>;
29
29
  }, {
30
30
  lang: import("vue").ComputedRef<UploadLocale>;
@@ -43,7 +43,7 @@ declare const _default: import("vue").DefineComponent<{
43
43
  onItemClick: (item: UploadItem) => void;
44
44
  onItemRetry: (item: UploadItem) => void;
45
45
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
46
- 'update:modelValue': (_value: UploadItem[]) => boolean;
46
+ 'update:modelValue': (_value: UploadItem[]) => boolean; /** 当前为第几个图片 */
47
47
  itemClick: (_item: UploadItem) => boolean;
48
48
  upload: (_item: UploadItem) => boolean;
49
49
  remove: (_item: UploadItem) => boolean;
@@ -72,7 +72,7 @@ declare const _default: import("vue").DefineComponent<{
72
72
  type: import("vue").PropType<boolean | Record<string | number | symbol, any>>;
73
73
  default: boolean;
74
74
  };
75
- progressProps: import("vue").PropType<import("../ele-app/types").ElProgressProps>;
75
+ progressProps: import("vue").PropType<import("../ele-app/el").ElProgressProps>;
76
76
  locale: import("vue").PropType<Partial<UploadLocale>>;
77
77
  }>> & {
78
78
  "onUpdate:modelValue"?: ((_value: UploadItem[]) => any) | undefined;
@@ -1,5 +1,5 @@
1
1
  import type { PropType, ExtractPropTypes } from 'vue';
2
- import type { ElProgressProps } from '../ele-app/types';
2
+ import type { ElProgressProps } from '../ele-app/el';
3
3
  import type { UploadItem, UploadLocale } from './types';
4
4
  /**
5
5
  * 属性
@@ -0,0 +1,45 @@
1
+ /**
2
+ * 数据类型
3
+ */
4
+ export interface UploadItem extends Record<keyof any, any> {
5
+ /** 唯一标识 */
6
+ key: string | number | symbol;
7
+ /** 显示的图片地址, 为空时显示文件图标 */
8
+ url?: string;
9
+ /** 文件名称 */
10
+ name?: string;
11
+ /** 上传状态 */
12
+ status?: UploadStatus;
13
+ /** 上传进度, 0 ~ 100 */
14
+ progress?: number;
15
+ /** 选择的文件 */
16
+ file?: File;
17
+ }
18
+
19
+ /**
20
+ * 上传状态
21
+ */
22
+ export type UploadStatus = 'uploading' | 'done' | 'exception' | null;
23
+
24
+ /**
25
+ * 图片预览配置
26
+ */
27
+ export interface PreviewOption {
28
+ /** 是否打开 */
29
+ visible: boolean;
30
+ /** 当前图片链接 */
31
+ current?: string;
32
+ /** 当前图片索引 */
33
+ currentIndex: number;
34
+ /** 图片列表 */
35
+ images: string[];
36
+ }
37
+
38
+ /**
39
+ * 国际化
40
+ */
41
+ export interface UploadLocale {
42
+ uploading: string;
43
+ exception: string;
44
+ retry: string;
45
+ }
@@ -136,9 +136,9 @@ declare const _default: import("vue").DefineComponent<{
136
136
  onMouseleave?: ((_row: DataItem, _col: Column, _e: MouseEvent) => any) | undefined;
137
137
  onClick?: ((_row: DataItem, _col: Column, _e: MouseEvent) => any) | undefined;
138
138
  onContextmenu?: ((_row: DataItem, _col: Column, _e: MouseEvent) => any) | undefined;
139
+ onDblclick?: ((_row: DataItem, _col: Column, _e: MouseEvent) => any) | undefined;
139
140
  onExpandChange?: ((_row: DataItem, _expanded: boolean) => any) | undefined;
140
141
  onCheckedChange?: ((_row: DataItem, _checked: boolean) => any) | undefined;
141
- onDblclick?: ((_row: DataItem, _col: Column, _e: MouseEvent) => any) | undefined;
142
142
  }, {
143
143
  loading: boolean;
144
144
  isChecked: boolean;
@@ -136,9 +136,9 @@ declare const _default: import("vue").DefineComponent<{
136
136
  onCellClick?: ((_row: DataItem, _col: Column, _e: MouseEvent) => any) | undefined;
137
137
  onCellDblclick?: ((_row: DataItem, _col: Column, _e: MouseEvent) => any) | undefined;
138
138
  onCellContextmenu?: ((_row: DataItem, _col: Column, _e: MouseEvent) => any) | undefined;
139
- onCellMouseenter?: ((_row: DataItem, _col: Column, _e: MouseEvent) => any) | undefined;
140
139
  onCellCheckedChange?: ((_row: DataItem, _checked: boolean) => any) | undefined;
141
140
  onCellExpandChange?: ((_row: DataItem, _expanded: boolean, _data?: DataItem[] | undefined) => any) | undefined;
141
+ onCellMouseenter?: ((_row: DataItem, _col: Column, _e: MouseEvent) => any) | undefined;
142
142
  onCellMouseleave?: ((_row: DataItem, _col: Column, _e: MouseEvent) => any) | undefined;
143
143
  }, {
144
144
  lazy: boolean;
@@ -1,6 +1,6 @@
1
1
  import type { PropType } from 'vue';
2
2
  import type { FilterValue } from '../../ele-data-table/types';
3
- import type { EleTooltipInstance } from '../../ele-app/types';
3
+ import type { EleTooltipInstance } from '../../ele-app/plus';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  /** 选中项 */
6
6
  filtered: PropType<FilterValue>;