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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (309) hide show
  1. package/es/ele-admin-layout/index.d.ts +30 -11
  2. package/es/ele-admin-layout/index.js +53 -47
  3. package/es/ele-admin-layout/props.d.ts +14 -1
  4. package/es/ele-admin-layout/props.js +14 -1
  5. package/es/ele-admin-layout/style/index.scss +7 -2
  6. package/es/ele-admin-layout/style/sidebar.scss +2 -0
  7. package/es/ele-alert/index.d.ts +1 -1
  8. package/es/ele-alert/index.js +3 -3
  9. package/es/ele-app/components/message-body.d.ts +7 -1
  10. package/es/ele-app/components/message-body.js +12 -6
  11. package/es/ele-app/components/message-box-icon.d.ts +30 -0
  12. package/es/ele-app/components/message-box-icon.js +63 -0
  13. package/es/ele-app/el.d.ts +7 -0
  14. package/es/ele-app/plus.d.ts +3 -0
  15. package/es/ele-app/style/overwrite/message-box/index.scss +19 -0
  16. package/es/ele-avatar-group/index.d.ts +4 -4
  17. package/es/ele-avatar-group/index.js +15 -15
  18. package/es/ele-basic-select/index.d.ts +5 -5
  19. package/es/ele-basic-select/index.js +16 -16
  20. package/es/ele-card/index.js +1 -1
  21. package/es/ele-check-card/index.d.ts +1 -1
  22. package/es/ele-check-card/index.js +4 -4
  23. package/es/ele-copyable/index.d.ts +2 -2
  24. package/es/ele-copyable/index.js +6 -6
  25. package/es/ele-cropper/components/cropper-tools.d.ts +3 -3
  26. package/es/ele-cropper/components/cropper-tools.js +10 -10
  27. package/es/ele-cropper/index.d.ts +13 -13
  28. package/es/ele-cropper/index.js +39 -39
  29. package/es/ele-cropper-modal/index.d.ts +1 -1
  30. package/es/ele-cropper-modal/index.js +3 -3
  31. package/es/ele-data-table/util.js +1 -1
  32. package/es/ele-drawer/index.d.ts +8 -8
  33. package/es/ele-drawer/index.js +18 -18
  34. package/es/ele-dropdown/index.d.ts +3 -3
  35. package/es/ele-dropdown/index.js +9 -9
  36. package/es/ele-ellipsis/index.d.ts +1 -1
  37. package/es/ele-ellipsis/index.js +3 -3
  38. package/es/ele-file-list/components/file-grid-item.d.ts +5 -5
  39. package/es/ele-file-list/components/file-grid-item.js +15 -15
  40. package/es/ele-file-list/components/file-grid.d.ts +6 -6
  41. package/es/ele-file-list/components/file-grid.js +15 -15
  42. package/es/ele-file-list/components/file-table-item.d.ts +5 -5
  43. package/es/ele-file-list/components/file-table-item.js +15 -15
  44. package/es/ele-file-list/components/file-table.d.ts +7 -7
  45. package/es/ele-file-list/components/file-table.js +19 -19
  46. package/es/ele-file-list/index.d.ts +6 -6
  47. package/es/ele-file-list/index.js +22 -22
  48. package/es/ele-file-list-tool/index.d.ts +1 -1
  49. package/es/ele-file-list-tool/index.js +2 -2
  50. package/es/ele-icon-select/components/icon-grid.d.ts +2 -2
  51. package/es/ele-icon-select/components/icon-grid.js +6 -6
  52. package/es/ele-icon-select/index.d.ts +7 -7
  53. package/es/ele-icon-select/index.js +23 -23
  54. package/es/ele-menus/index.js +15 -15
  55. package/es/ele-menus/style/index.scss +1 -0
  56. package/es/ele-menus/util.d.ts +7 -0
  57. package/es/ele-menus/util.js +49 -26
  58. package/es/ele-modal/index.d.ts +6 -6
  59. package/es/ele-modal/index.js +18 -18
  60. package/es/ele-pagination/index.d.ts +2 -2
  61. package/es/ele-pagination/index.js +6 -6
  62. package/es/ele-popconfirm/index.d.ts +7 -17
  63. package/es/ele-popconfirm/index.js +15 -15
  64. package/es/ele-popconfirm/props.d.ts +2 -7
  65. package/es/ele-popover/index.d.ts +7 -17
  66. package/es/ele-popover/index.js +15 -15
  67. package/es/ele-popover/props.d.ts +1 -6
  68. package/es/ele-popover/props.js +1 -0
  69. package/es/ele-printer/index.d.ts +1 -1
  70. package/es/ele-printer/index.js +19 -22
  71. package/es/ele-printer/style/index.scss +2 -2
  72. package/es/ele-printer/types.d.ts +0 -2
  73. package/es/ele-printer/util.d.ts +9 -30
  74. package/es/ele-printer/util.js +118 -109
  75. package/es/ele-pro-layout/index.d.ts +31 -21
  76. package/es/ele-pro-layout/index.js +8 -3
  77. package/es/ele-pro-layout/props.d.ts +11 -1
  78. package/es/ele-pro-layout/props.js +11 -1
  79. package/es/ele-pro-table/components/table-tools.d.ts +3 -3
  80. package/es/ele-pro-table/components/table-tools.js +6 -13
  81. package/es/ele-pro-table/components/tool-column-list.d.ts +9 -9
  82. package/es/ele-pro-table/components/tool-column-list.js +33 -33
  83. package/es/ele-pro-table/components/tool-column.d.ts +24 -38
  84. package/es/ele-pro-table/components/tool-column.js +80 -102
  85. package/es/ele-pro-table/components/tool-export.d.ts +4 -4
  86. package/es/ele-pro-table/components/tool-export.js +28 -40
  87. package/es/ele-pro-table/components/tool-print.d.ts +10 -7
  88. package/es/ele-pro-table/components/tool-print.js +36 -46
  89. package/es/ele-pro-table/index.d.ts +16 -13
  90. package/es/ele-pro-table/index.js +41 -64
  91. package/es/ele-pro-table/props.d.ts +2 -2
  92. package/es/ele-pro-table/props.js +1 -1
  93. package/es/ele-pro-table/style/index.scss +1 -0
  94. package/es/ele-pro-table/types.d.ts +3 -3
  95. package/es/ele-pro-table/util.d.ts +38 -30
  96. package/es/ele-pro-table/util.js +111 -80
  97. package/es/ele-qr-code/qrcodegen.js +34 -70
  98. package/es/ele-segmented/index.d.ts +1 -1
  99. package/es/ele-segmented/index.js +3 -3
  100. package/es/ele-split-panel/index.d.ts +1 -1
  101. package/es/ele-split-panel/index.js +3 -3
  102. package/es/ele-tab-wrap/components/tab-dropdown.d.ts +1 -1
  103. package/es/ele-tab-wrap/components/tab-dropdown.js +3 -3
  104. package/es/ele-table-select/index.d.ts +19 -19
  105. package/es/ele-table-select/index.js +42 -37
  106. package/es/ele-tool/index.d.ts +6 -3
  107. package/es/ele-tool/index.js +35 -32
  108. package/es/ele-tool/style/index.js +0 -1
  109. package/es/ele-tool/style/index.scss +0 -13
  110. package/es/ele-toolbar/index.d.ts +3247 -1
  111. package/es/ele-toolbar/index.js +44 -5
  112. package/es/ele-toolbar/props.d.ts +6 -2
  113. package/es/ele-toolbar/props.js +2 -0
  114. package/es/ele-toolbar/style/index.js +1 -0
  115. package/es/ele-toolbar/types.d.ts +15 -0
  116. package/es/ele-tooltip/index.d.ts +9 -9
  117. package/es/ele-tooltip/index.js +25 -25
  118. package/es/ele-tour/index.d.ts +3 -3
  119. package/es/ele-tour/index.js +10 -10
  120. package/es/ele-tree-select/index.d.ts +9 -9
  121. package/es/ele-tree-select/index.js +28 -28
  122. package/es/ele-upload-list/components/list-item.d.ts +3 -3
  123. package/es/ele-upload-list/components/list-item.js +7 -7
  124. package/es/ele-upload-list/index.d.ts +4 -4
  125. package/es/ele-upload-list/index.js +13 -13
  126. package/es/ele-virtual-table/components/body-cell.d.ts +8 -8
  127. package/es/ele-virtual-table/components/body-cell.js +24 -24
  128. package/es/ele-virtual-table/components/body-row.d.ts +7 -7
  129. package/es/ele-virtual-table/components/body-row.js +21 -21
  130. package/es/ele-virtual-table/components/cell-checkbox.d.ts +1 -1
  131. package/es/ele-virtual-table/components/cell-checkbox.js +3 -3
  132. package/es/ele-virtual-table/components/cell-filter.d.ts +5 -5
  133. package/es/ele-virtual-table/components/cell-filter.js +18 -18
  134. package/es/ele-virtual-table/components/footer-row.d.ts +1 -1
  135. package/es/ele-virtual-table/components/footer-row.js +3 -3
  136. package/es/ele-virtual-table/components/header-cell.d.ts +5 -5
  137. package/es/ele-virtual-table/components/header-cell.js +15 -15
  138. package/es/ele-virtual-table/components/header-row.d.ts +5 -5
  139. package/es/ele-virtual-table/components/header-row.js +15 -15
  140. package/es/ele-virtual-table/index.d.ts +23 -21
  141. package/es/ele-virtual-table/index.js +50 -48
  142. package/es/ele-virtual-table/util.js +3 -3
  143. package/es/ele-watermark/index.js +1 -0
  144. package/es/icons/MenuOutlined.d.ts +2 -0
  145. package/es/icons/MenuOutlined.js +32 -0
  146. package/es/icons/index.d.ts +1 -0
  147. package/es/icons/index.js +84 -82
  148. package/es/style/themes/default.scss +8 -8
  149. package/es/style/themes/rounded.scss +1 -7
  150. package/es/utils/core.d.ts +7 -1
  151. package/es/utils/message-box.js +28 -2
  152. package/es/utils/message.js +36 -13
  153. package/lib/components.cjs +4 -5
  154. package/lib/core-export.cjs +28 -35
  155. package/lib/core.cjs +8 -10
  156. package/lib/ele-admin-layout/index.cjs +53 -47
  157. package/lib/ele-admin-layout/index.d.ts +30 -11
  158. package/lib/ele-admin-layout/props.cjs +14 -1
  159. package/lib/ele-admin-layout/props.d.ts +14 -1
  160. package/lib/ele-admin-layout/style/index.scss +7 -2
  161. package/lib/ele-admin-layout/style/sidebar.scss +2 -0
  162. package/lib/ele-alert/index.cjs +3 -3
  163. package/lib/ele-alert/index.d.ts +1 -1
  164. package/lib/ele-app/components/message-body.cjs +11 -5
  165. package/lib/ele-app/components/message-body.d.ts +7 -1
  166. package/lib/ele-app/components/message-box-icon.cjs +62 -0
  167. package/lib/ele-app/components/message-box-icon.d.ts +30 -0
  168. package/lib/ele-app/el.d.ts +7 -0
  169. package/lib/ele-app/plus.d.ts +3 -0
  170. package/lib/ele-app/style/overwrite/message-box/index.scss +19 -0
  171. package/lib/ele-avatar-group/index.cjs +15 -15
  172. package/lib/ele-avatar-group/index.d.ts +4 -4
  173. package/lib/ele-basic-select/index.cjs +16 -16
  174. package/lib/ele-basic-select/index.d.ts +5 -5
  175. package/lib/ele-card/index.cjs +1 -1
  176. package/lib/ele-check-card/index.cjs +4 -4
  177. package/lib/ele-check-card/index.d.ts +1 -1
  178. package/lib/ele-copyable/index.cjs +6 -6
  179. package/lib/ele-copyable/index.d.ts +2 -2
  180. package/lib/ele-cropper/components/cropper-tools.cjs +10 -10
  181. package/lib/ele-cropper/components/cropper-tools.d.ts +3 -3
  182. package/lib/ele-cropper/index.cjs +39 -39
  183. package/lib/ele-cropper/index.d.ts +13 -13
  184. package/lib/ele-cropper-modal/index.cjs +3 -3
  185. package/lib/ele-cropper-modal/index.d.ts +1 -1
  186. package/lib/ele-data-table/util.cjs +1 -1
  187. package/lib/ele-drawer/index.cjs +18 -18
  188. package/lib/ele-drawer/index.d.ts +8 -8
  189. package/lib/ele-dropdown/index.cjs +9 -9
  190. package/lib/ele-dropdown/index.d.ts +3 -3
  191. package/lib/ele-ellipsis/index.cjs +3 -3
  192. package/lib/ele-ellipsis/index.d.ts +1 -1
  193. package/lib/ele-file-list/components/file-grid-item.cjs +15 -15
  194. package/lib/ele-file-list/components/file-grid-item.d.ts +5 -5
  195. package/lib/ele-file-list/components/file-grid.cjs +15 -15
  196. package/lib/ele-file-list/components/file-grid.d.ts +6 -6
  197. package/lib/ele-file-list/components/file-table-item.cjs +15 -15
  198. package/lib/ele-file-list/components/file-table-item.d.ts +5 -5
  199. package/lib/ele-file-list/components/file-table.cjs +19 -19
  200. package/lib/ele-file-list/components/file-table.d.ts +7 -7
  201. package/lib/ele-file-list/index.cjs +22 -22
  202. package/lib/ele-file-list/index.d.ts +6 -6
  203. package/lib/ele-file-list-tool/index.cjs +2 -2
  204. package/lib/ele-file-list-tool/index.d.ts +1 -1
  205. package/lib/ele-icon-select/components/icon-grid.cjs +6 -6
  206. package/lib/ele-icon-select/components/icon-grid.d.ts +2 -2
  207. package/lib/ele-icon-select/index.cjs +23 -23
  208. package/lib/ele-icon-select/index.d.ts +7 -7
  209. package/lib/ele-menus/index.cjs +15 -15
  210. package/lib/ele-menus/style/index.scss +1 -0
  211. package/lib/ele-menus/util.cjs +49 -26
  212. package/lib/ele-menus/util.d.ts +7 -0
  213. package/lib/ele-modal/index.cjs +18 -18
  214. package/lib/ele-modal/index.d.ts +6 -6
  215. package/lib/ele-pagination/index.cjs +6 -6
  216. package/lib/ele-pagination/index.d.ts +2 -2
  217. package/lib/ele-popconfirm/index.cjs +15 -15
  218. package/lib/ele-popconfirm/index.d.ts +7 -17
  219. package/lib/ele-popconfirm/props.d.ts +2 -7
  220. package/lib/ele-popover/index.cjs +15 -15
  221. package/lib/ele-popover/index.d.ts +7 -17
  222. package/lib/ele-popover/props.cjs +1 -0
  223. package/lib/ele-popover/props.d.ts +1 -6
  224. package/lib/ele-printer/index.cjs +17 -20
  225. package/lib/ele-printer/index.d.ts +1 -1
  226. package/lib/ele-printer/style/index.scss +2 -2
  227. package/lib/ele-printer/types.d.ts +0 -2
  228. package/lib/ele-printer/util.cjs +118 -109
  229. package/lib/ele-printer/util.d.ts +9 -30
  230. package/lib/ele-pro-layout/index.cjs +8 -3
  231. package/lib/ele-pro-layout/index.d.ts +31 -21
  232. package/lib/ele-pro-layout/props.cjs +11 -1
  233. package/lib/ele-pro-layout/props.d.ts +11 -1
  234. package/lib/ele-pro-table/components/table-tools.cjs +6 -13
  235. package/lib/ele-pro-table/components/table-tools.d.ts +3 -3
  236. package/lib/ele-pro-table/components/tool-column-list.cjs +33 -33
  237. package/lib/ele-pro-table/components/tool-column-list.d.ts +9 -9
  238. package/lib/ele-pro-table/components/tool-column.cjs +79 -101
  239. package/lib/ele-pro-table/components/tool-column.d.ts +24 -38
  240. package/lib/ele-pro-table/components/tool-export.cjs +28 -40
  241. package/lib/ele-pro-table/components/tool-export.d.ts +4 -4
  242. package/lib/ele-pro-table/components/tool-print.cjs +36 -46
  243. package/lib/ele-pro-table/components/tool-print.d.ts +10 -7
  244. package/lib/ele-pro-table/index.cjs +41 -64
  245. package/lib/ele-pro-table/index.d.ts +16 -13
  246. package/lib/ele-pro-table/props.cjs +1 -1
  247. package/lib/ele-pro-table/props.d.ts +2 -2
  248. package/lib/ele-pro-table/style/index.scss +1 -0
  249. package/lib/ele-pro-table/types.d.ts +3 -3
  250. package/lib/ele-pro-table/util.cjs +111 -80
  251. package/lib/ele-pro-table/util.d.ts +38 -30
  252. package/lib/ele-qr-code/qrcodegen.cjs +34 -70
  253. package/lib/ele-segmented/index.cjs +3 -3
  254. package/lib/ele-segmented/index.d.ts +1 -1
  255. package/lib/ele-split-panel/index.cjs +3 -3
  256. package/lib/ele-split-panel/index.d.ts +1 -1
  257. package/lib/ele-tab-wrap/components/tab-dropdown.cjs +3 -3
  258. package/lib/ele-tab-wrap/components/tab-dropdown.d.ts +1 -1
  259. package/lib/ele-table-select/index.cjs +42 -37
  260. package/lib/ele-table-select/index.d.ts +19 -19
  261. package/lib/ele-tool/index.cjs +34 -31
  262. package/lib/ele-tool/index.d.ts +6 -3
  263. package/lib/ele-tool/style/index.cjs +0 -1
  264. package/lib/ele-tool/style/index.scss +0 -13
  265. package/lib/ele-toolbar/index.cjs +42 -3
  266. package/lib/ele-toolbar/index.d.ts +3247 -1
  267. package/lib/ele-toolbar/props.cjs +2 -0
  268. package/lib/ele-toolbar/props.d.ts +6 -2
  269. package/lib/ele-toolbar/style/index.cjs +1 -0
  270. package/lib/ele-toolbar/types.d.ts +15 -0
  271. package/lib/ele-tooltip/index.cjs +25 -25
  272. package/lib/ele-tooltip/index.d.ts +9 -9
  273. package/lib/ele-tour/index.cjs +10 -10
  274. package/lib/ele-tour/index.d.ts +3 -3
  275. package/lib/ele-tree-select/index.cjs +28 -28
  276. package/lib/ele-tree-select/index.d.ts +9 -9
  277. package/lib/ele-upload-list/components/list-item.cjs +7 -7
  278. package/lib/ele-upload-list/components/list-item.d.ts +3 -3
  279. package/lib/ele-upload-list/index.cjs +13 -13
  280. package/lib/ele-upload-list/index.d.ts +4 -4
  281. package/lib/ele-virtual-table/components/body-cell.cjs +24 -24
  282. package/lib/ele-virtual-table/components/body-cell.d.ts +8 -8
  283. package/lib/ele-virtual-table/components/body-row.cjs +21 -21
  284. package/lib/ele-virtual-table/components/body-row.d.ts +7 -7
  285. package/lib/ele-virtual-table/components/cell-checkbox.cjs +3 -3
  286. package/lib/ele-virtual-table/components/cell-checkbox.d.ts +1 -1
  287. package/lib/ele-virtual-table/components/cell-filter.cjs +18 -18
  288. package/lib/ele-virtual-table/components/cell-filter.d.ts +5 -5
  289. package/lib/ele-virtual-table/components/footer-row.cjs +3 -3
  290. package/lib/ele-virtual-table/components/footer-row.d.ts +1 -1
  291. package/lib/ele-virtual-table/components/header-cell.cjs +15 -15
  292. package/lib/ele-virtual-table/components/header-cell.d.ts +5 -5
  293. package/lib/ele-virtual-table/components/header-row.cjs +15 -15
  294. package/lib/ele-virtual-table/components/header-row.d.ts +5 -5
  295. package/lib/ele-virtual-table/index.cjs +50 -48
  296. package/lib/ele-virtual-table/index.d.ts +23 -21
  297. package/lib/ele-virtual-table/util.cjs +3 -3
  298. package/lib/ele-watermark/index.cjs +1 -0
  299. package/lib/icons/MenuOutlined.cjs +31 -0
  300. package/lib/icons/MenuOutlined.d.ts +2 -0
  301. package/lib/icons/index.cjs +2 -0
  302. package/lib/icons/index.d.ts +1 -0
  303. package/lib/index.cjs +8 -10
  304. package/lib/style/themes/default.scss +8 -8
  305. package/lib/style/themes/rounded.scss +1 -7
  306. package/lib/utils/core.d.ts +7 -1
  307. package/lib/utils/message-box.cjs +27 -1
  308. package/lib/utils/message.cjs +35 -12
  309. package/package.json +11 -11
@@ -1,9 +1,6 @@
1
1
  var __defProp = Object.defineProperty;
2
2
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
- var __publicField = (obj, key, value) => {
4
- __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
- return value;
6
- };
3
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
7
4
  var qrcodegen;
8
5
  ((qrcodegen2) => {
9
6
  const _QrCode = class _QrCode {
@@ -30,12 +27,10 @@ var qrcodegen;
30
27
  this.errorCorrectionLevel = errorCorrectionLevel;
31
28
  if (version < _QrCode.MIN_VERSION || version > _QrCode.MAX_VERSION)
32
29
  throw "Version value out of range";
33
- if (msk < -1 || msk > 7)
34
- throw "Mask value out of range";
30
+ if (msk < -1 || msk > 7) throw "Mask value out of range";
35
31
  this.size = version * 4 + 17;
36
32
  let row = [];
37
- for (let i = 0; i < this.size; i++)
38
- row.push(false);
33
+ for (let i = 0; i < this.size; i++) row.push(false);
39
34
  for (let i = 0; i < this.size; i++) {
40
35
  this.modules.push(row.slice());
41
36
  this.isFunction.push(row.slice());
@@ -117,8 +112,7 @@ var qrcodegen;
117
112
  for (const seg of segs) {
118
113
  appendBits(seg.mode.modeBits, 4, bb);
119
114
  appendBits(seg.numChars, seg.mode.numCharCountBits(version), bb);
120
- for (const b of seg.getData())
121
- bb.push(b);
115
+ for (const b of seg.getData()) bb.push(b);
122
116
  }
123
117
  assert(bb.length == dataUsedBits);
124
118
  const dataCapacityBits = _QrCode.getNumDataCodewords(version, ecl) * 8;
@@ -129,8 +123,7 @@ var qrcodegen;
129
123
  for (let padByte = 236; bb.length < dataCapacityBits; padByte ^= 236 ^ 17)
130
124
  appendBits(padByte, 8, bb);
131
125
  let dataCodewords = [];
132
- while (dataCodewords.length * 8 < bb.length)
133
- dataCodewords.push(0);
126
+ while (dataCodewords.length * 8 < bb.length) dataCodewords.push(0);
134
127
  bb.forEach(
135
128
  (b, i) => dataCodewords[i >>> 3] |= b << 7 - (i & 7)
136
129
  );
@@ -173,8 +166,7 @@ var qrcodegen;
173
166
  drawFormatBits(mask) {
174
167
  const data = this.errorCorrectionLevel.formatBits << 3 | mask;
175
168
  let rem = data;
176
- for (let i = 0; i < 10; i++)
177
- rem = rem << 1 ^ (rem >>> 9) * 1335;
169
+ for (let i = 0; i < 10; i++) rem = rem << 1 ^ (rem >>> 9) * 1335;
178
170
  const bits = (data << 10 | rem) ^ 21522;
179
171
  assert(bits >>> 15 == 0);
180
172
  for (let i = 0; i <= 5; i++)
@@ -193,11 +185,9 @@ var qrcodegen;
193
185
  // Draws two copies of the version bits (with its own error correction code),
194
186
  // based on this object's version field, iff 7 <= version <= 40.
195
187
  drawVersion() {
196
- if (this.version < 7)
197
- return;
188
+ if (this.version < 7) return;
198
189
  let rem = this.version;
199
- for (let i = 0; i < 12; i++)
200
- rem = rem << 1 ^ (rem >>> 11) * 7973;
190
+ for (let i = 0; i < 12; i++) rem = rem << 1 ^ (rem >>> 11) * 7973;
201
191
  const bits = this.version << 12 | rem;
202
192
  assert(bits >>> 18 == 0);
203
193
  for (let i = 0; i < 18; i++) {
@@ -263,8 +253,7 @@ var qrcodegen;
263
253
  );
264
254
  k += dat.length;
265
255
  const ecc = _QrCode.reedSolomonComputeRemainder(dat, rsDiv);
266
- if (i < numShortBlocks)
267
- dat.push(0);
256
+ if (i < numShortBlocks) dat.push(0);
268
257
  blocks.push(dat.concat(ecc));
269
258
  }
270
259
  let result = [];
@@ -284,8 +273,7 @@ var qrcodegen;
284
273
  throw "Invalid argument";
285
274
  let i = 0;
286
275
  for (let right = this.size - 1; right >= 1; right -= 2) {
287
- if (right == 6)
288
- right = 5;
276
+ if (right == 6) right = 5;
289
277
  for (let vert = 0; vert < this.size; vert++) {
290
278
  for (let j = 0; j < 2; j++) {
291
279
  const x = right - j;
@@ -306,8 +294,7 @@ var qrcodegen;
306
294
  // the same mask value a second time will undo the mask. A final well-formed
307
295
  // QR Code needs exactly one (not zero, two, etc.) mask applied.
308
296
  applyMask(mask) {
309
- if (mask < 0 || mask > 7)
310
- throw "Mask value out of range";
297
+ if (mask < 0 || mask > 7) throw "Mask value out of range";
311
298
  for (let y = 0; y < this.size; y++) {
312
299
  for (let x = 0; x < this.size; x++) {
313
300
  let invert;
@@ -355,10 +342,8 @@ var qrcodegen;
355
342
  for (let x = 0; x < this.size; x++) {
356
343
  if (this.modules[y][x] == runColor) {
357
344
  runX++;
358
- if (runX == 5)
359
- result += _QrCode.PENALTY_N1;
360
- else if (runX > 5)
361
- result++;
345
+ if (runX == 5) result += _QrCode.PENALTY_N1;
346
+ else if (runX > 5) result++;
362
347
  } else {
363
348
  this.finderPenaltyAddHistory(runX, runHistory);
364
349
  if (!runColor)
@@ -376,10 +361,8 @@ var qrcodegen;
376
361
  for (let y = 0; y < this.size; y++) {
377
362
  if (this.modules[y][x] == runColor) {
378
363
  runY++;
379
- if (runY == 5)
380
- result += _QrCode.PENALTY_N1;
381
- else if (runY > 5)
382
- result++;
364
+ if (runY == 5) result += _QrCode.PENALTY_N1;
365
+ else if (runY > 5) result++;
383
366
  } else {
384
367
  this.finderPenaltyAddHistory(runY, runHistory);
385
368
  if (!runColor)
@@ -412,8 +395,7 @@ var qrcodegen;
412
395
  // Each position is in the range [0,177), and are used on both the x and y axes.
413
396
  // This could be implemented as lookup table of 40 variable-length lists of integers.
414
397
  getAlignmentPatternPositions() {
415
- if (this.version == 1)
416
- return [];
398
+ if (this.version == 1) return [];
417
399
  else {
418
400
  const numAlign = Math.floor(this.version / 7) + 2;
419
401
  const step = this.version == 32 ? 26 : Math.ceil((this.version * 4 + 4) / (numAlign * 2 - 2)) * 2;
@@ -433,8 +415,7 @@ var qrcodegen;
433
415
  if (ver >= 2) {
434
416
  const numAlign = Math.floor(ver / 7) + 2;
435
417
  result -= (25 * numAlign - 10) * numAlign - 55;
436
- if (ver >= 7)
437
- result -= 36;
418
+ if (ver >= 7) result -= 36;
438
419
  }
439
420
  assert(208 <= result && result <= 29648);
440
421
  return result;
@@ -448,18 +429,15 @@ var qrcodegen;
448
429
  // Returns a Reed-Solomon ECC generator polynomial for the given degree. This could be
449
430
  // implemented as a lookup table over all possible parameter values, instead of as an algorithm.
450
431
  static reedSolomonComputeDivisor(degree) {
451
- if (degree < 1 || degree > 255)
452
- throw "Degree out of range";
432
+ if (degree < 1 || degree > 255) throw "Degree out of range";
453
433
  let result = [];
454
- for (let i = 0; i < degree - 1; i++)
455
- result.push(0);
434
+ for (let i = 0; i < degree - 1; i++) result.push(0);
456
435
  result.push(1);
457
436
  let root = 1;
458
437
  for (let i = 0; i < degree; i++) {
459
438
  for (let j = 0; j < result.length; j++) {
460
439
  result[j] = _QrCode.reedSolomonMultiply(result[j], root);
461
- if (j + 1 < result.length)
462
- result[j] ^= result[j + 1];
440
+ if (j + 1 < result.length) result[j] ^= result[j + 1];
463
441
  }
464
442
  root = _QrCode.reedSolomonMultiply(root, 2);
465
443
  }
@@ -480,8 +458,7 @@ var qrcodegen;
480
458
  // Returns the product of the two given field elements modulo GF(2^8/0x11D). The arguments and result
481
459
  // are unsigned 8-bit integers. This could be implemented as a lookup table of 256*256 entries of uint8.
482
460
  static reedSolomonMultiply(x, y) {
483
- if (x >>> 8 != 0 || y >>> 8 != 0)
484
- throw "Byte out of range";
461
+ if (x >>> 8 != 0 || y >>> 8 != 0) throw "Byte out of range";
485
462
  let z = 0;
486
463
  for (let i = 7; i >= 0; i--) {
487
464
  z = z << 1 ^ (z >>> 7) * 285;
@@ -510,8 +487,7 @@ var qrcodegen;
510
487
  }
511
488
  // Pushes the given value to the front and drops the last value. A helper function for getPenaltyScore().
512
489
  finderPenaltyAddHistory(currentRunLength, runHistory) {
513
- if (runHistory[0] == 0)
514
- currentRunLength += this.size;
490
+ if (runHistory[0] == 0) currentRunLength += this.size;
515
491
  runHistory.pop();
516
492
  runHistory.unshift(currentRunLength);
517
493
  }
@@ -889,8 +865,7 @@ var qrcodegen;
889
865
  let QrCode = _QrCode;
890
866
  qrcodegen2.QrCode = QrCode;
891
867
  function appendBits(val, len, bb) {
892
- if (len < 0 || len > 31 || val >>> len != 0)
893
- throw "Value out of range";
868
+ if (len < 0 || len > 31 || val >>> len != 0) throw "Value out of range";
894
869
  for (let i = len - 1; i >= 0; i--)
895
870
  bb.push(val >>> i & 1);
896
871
  }
@@ -898,8 +873,7 @@ var qrcodegen;
898
873
  return (x >>> i & 1) != 0;
899
874
  }
900
875
  function assert(cond) {
901
- if (!cond)
902
- throw "Assertion error";
876
+ if (!cond) throw "Assertion error";
903
877
  }
904
878
  const _QrSegment = class _QrSegment {
905
879
  /*-- Constructor (low level) and fields --*/
@@ -910,8 +884,7 @@ var qrcodegen;
910
884
  this.mode = mode;
911
885
  this.numChars = numChars;
912
886
  this.bitData = bitData;
913
- if (numChars < 0)
914
- throw "Invalid argument";
887
+ if (numChars < 0) throw "Invalid argument";
915
888
  this.bitData = bitData.slice();
916
889
  }
917
890
  /*-- Static factory functions (mid level) --*/
@@ -920,8 +893,7 @@ var qrcodegen;
920
893
  // can be converted to UTF-8 bytes and encoded as a byte mode segment.
921
894
  static makeBytes(data) {
922
895
  let bb = [];
923
- for (const b of data)
924
- appendBits(b, 8, bb);
896
+ for (const b of data) appendBits(b, 8, bb);
925
897
  return new _QrSegment(_QrSegment.Mode.BYTE, data.length, bb);
926
898
  }
927
899
  // Returns a segment representing the given string of decimal digits encoded in numeric mode.
@@ -960,31 +932,25 @@ var qrcodegen;
960
932
  // Returns a new mutable list of zero or more segments to represent the given Unicode text string.
961
933
  // The result may use various segment modes and switch modes to optimize the length of the bit stream.
962
934
  static makeSegments(text) {
963
- if (text == "")
964
- return [];
965
- else if (_QrSegment.isNumeric(text))
966
- return [_QrSegment.makeNumeric(text)];
935
+ if (text == "") return [];
936
+ else if (_QrSegment.isNumeric(text)) return [_QrSegment.makeNumeric(text)];
967
937
  else if (_QrSegment.isAlphanumeric(text))
968
938
  return [_QrSegment.makeAlphanumeric(text)];
969
- else
970
- return [_QrSegment.makeBytes(_QrSegment.toUtf8ByteArray(text))];
939
+ else return [_QrSegment.makeBytes(_QrSegment.toUtf8ByteArray(text))];
971
940
  }
972
941
  // Returns a segment representing an Extended Channel Interpretation
973
942
  // (ECI) designator with the given assignment value.
974
943
  static makeEci(assignVal) {
975
944
  let bb = [];
976
- if (assignVal < 0)
977
- throw "ECI assignment value out of range";
978
- else if (assignVal < 1 << 7)
979
- appendBits(assignVal, 8, bb);
945
+ if (assignVal < 0) throw "ECI assignment value out of range";
946
+ else if (assignVal < 1 << 7) appendBits(assignVal, 8, bb);
980
947
  else if (assignVal < 1 << 14) {
981
948
  appendBits(2, 2, bb);
982
949
  appendBits(assignVal, 14, bb);
983
950
  } else if (assignVal < 1e6) {
984
951
  appendBits(6, 3, bb);
985
952
  appendBits(assignVal, 21, bb);
986
- } else
987
- throw "ECI assignment value out of range";
953
+ } else throw "ECI assignment value out of range";
988
954
  return new _QrSegment(_QrSegment.Mode.ECI, 0, bb);
989
955
  }
990
956
  // Tests whether the given string can be encoded as a segment in numeric mode.
@@ -1009,8 +975,7 @@ var qrcodegen;
1009
975
  let result = 0;
1010
976
  for (const seg of segs) {
1011
977
  const ccbits = seg.mode.numCharCountBits(version);
1012
- if (seg.numChars >= 1 << ccbits)
1013
- return Infinity;
978
+ if (seg.numChars >= 1 << ccbits) return Infinity;
1014
979
  result += 4 + ccbits + seg.bitData.length;
1015
980
  }
1016
981
  return result;
@@ -1020,8 +985,7 @@ var qrcodegen;
1020
985
  str = encodeURI(str);
1021
986
  let result = [];
1022
987
  for (let i = 0; i < str.length; i++) {
1023
- if (str.charAt(i) != "%")
1024
- result.push(str.charCodeAt(i));
988
+ if (str.charAt(i) != "%") result.push(str.charCodeAt(i));
1025
989
  else {
1026
990
  result.push(Number.parseInt(str.substr(i + 1, 2), 16));
1027
991
  i += 2;
@@ -11,7 +11,7 @@ declare const _default: import('vue').DefineComponent<{
11
11
  size: import('vue').PropType<import('./types').SegmentedSize>;
12
12
  }, {
13
13
  tabRef: import('vue').Ref<ElTabsInstance>;
14
- onUpdateModelValue: (value: string | number) => void;
14
+ handleUpdateModelValue: (value: string | number) => void;
15
15
  }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
16
  'update:modelValue': (_value: string | number) => boolean;
17
17
  change: (_active: string | number) => boolean;
@@ -8,13 +8,13 @@ const _sfc_main = defineComponent({
8
8
  emits: segmentedEmits,
9
9
  setup(props, { emit }) {
10
10
  const tabRef = ref(null);
11
- const onUpdateModelValue = (value) => {
11
+ const handleUpdateModelValue = (value) => {
12
12
  if (props.modelValue !== value) {
13
13
  emit("update:modelValue", value);
14
14
  emit("change", value);
15
15
  }
16
16
  };
17
- return { tabRef, onUpdateModelValue };
17
+ return { tabRef, handleUpdateModelValue };
18
18
  }
19
19
  });
20
20
  const _export_sfc = (sfc, props) => {
@@ -43,7 +43,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
43
43
  { "is-small": _ctx.size === "small" },
44
44
  { "is-disabled": _ctx.disabled }
45
45
  ]),
46
- "onUpdate:modelValue": _ctx.onUpdateModelValue
46
+ "onUpdate:modelValue": _ctx.handleUpdateModelValue
47
47
  }, {
48
48
  default: withCtx(() => [
49
49
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.items, (item, index2) => {
@@ -28,7 +28,7 @@ declare const _default: import('vue').DefineComponent<{
28
28
  resizing: import('vue').Ref<boolean>;
29
29
  toggleCollapse: (collapse?: boolean) => void;
30
30
  resetSize: () => void;
31
- onResize: (event: MouseEvent) => void;
31
+ handleResize: (event: MouseEvent) => void;
32
32
  }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
33
33
  'update:collapse': (_collapse: boolean) => boolean;
34
34
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -36,7 +36,7 @@ const _sfc_main = defineComponent({
36
36
  }
37
37
  return Math.min(props.maxSize, size);
38
38
  };
39
- const onResize = (event) => {
39
+ const handleResize = (event) => {
40
40
  var _a;
41
41
  const rootEl = (_a = rootRef.value) == null ? void 0 : _a.$el;
42
42
  const sideEl = sideRef.value;
@@ -111,7 +111,7 @@ const _sfc_main = defineComponent({
111
111
  resizing,
112
112
  toggleCollapse,
113
113
  resetSize,
114
- onResize
114
+ handleResize
115
115
  };
116
116
  }
117
117
  });
@@ -161,7 +161,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
161
161
  _ctx.resizable ? (openBlock(), createElementBlock("div", {
162
162
  key: 0,
163
163
  class: "ele-split-resize-line",
164
- onMousedown: _cache[0] || (_cache[0] = (...args) => _ctx.onResize && _ctx.onResize(...args))
164
+ onMousedown: _cache[0] || (_cache[0] = (...args) => _ctx.handleResize && _ctx.handleResize(...args))
165
165
  }, null, 32)) : createCommentVNode("", true)
166
166
  ])
167
167
  ], 512),
@@ -14,7 +14,7 @@ declare const _default: import('vue').DefineComponent<{
14
14
  };
15
15
  }, {
16
16
  dropdownRef: import('vue').Ref<EleDropdownInstance>;
17
- onCommand: (command: string) => void;
17
+ handleCommand: (command: string) => void;
18
18
  }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
19
  menuClick: (_command: string) => true;
20
20
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -29,7 +29,7 @@ const _sfc_main = defineComponent({
29
29
  state.timer = null;
30
30
  }
31
31
  };
32
- const onCommand = (command) => {
32
+ const handleCommand = (command) => {
33
33
  emit("menuClick", command);
34
34
  clearTimer();
35
35
  if (props.autoClose) {
@@ -44,7 +44,7 @@ const _sfc_main = defineComponent({
44
44
  onBeforeUnmount(() => {
45
45
  clearTimer();
46
46
  });
47
- return { dropdownRef, onCommand };
47
+ return { dropdownRef, handleCommand };
48
48
  }
49
49
  });
50
50
  const _export_sfc = (sfc, props) => {
@@ -71,7 +71,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
71
71
  }, _ctx.dropdownProps || {}, {
72
72
  ref: "dropdownRef",
73
73
  items: _ctx.items,
74
- onCommand: _ctx.onCommand
74
+ onCommand: _ctx.handleCommand
75
75
  }), createSlots({
76
76
  default: withCtx(() => [
77
77
  createElementVNode("div", _hoisted_1, [
@@ -27,7 +27,7 @@ declare const _default: import('vue').DefineComponent<{
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" | "primary" | "danger", unknown> | undefined>;
33
33
  default: string;
@@ -36,8 +36,8 @@ declare const _default: import('vue').DefineComponent<{
36
36
  filterable: BooleanConstructor;
37
37
  teleported: {
38
38
  type: BooleanConstructor;
39
- default: boolean;
40
- };
39
+ default: boolean; /** 表格单选选中值 */
40
+ }; /** 表格单选选中值 */
41
41
  persistent: {
42
42
  type: BooleanConstructor;
43
43
  default: boolean;
@@ -51,7 +51,7 @@ declare const _default: import('vue').DefineComponent<{
51
51
  default: string;
52
52
  };
53
53
  popperOptions: import('vue').PropType<Partial<import('element-plus').Options> | undefined>;
54
- popperClass: StringConstructor; /** 下拉框类名 */
54
+ popperClass: StringConstructor;
55
55
  popperWidth: (StringConstructor | NumberConstructor)[];
56
56
  selectStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
57
57
  inputStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
@@ -77,19 +77,19 @@ declare const _default: import('vue').DefineComponent<{
77
77
  updateSelectedItems: (force?: boolean) => void;
78
78
  focusSearchInput: () => void;
79
79
  updateVisible: (visible: boolean) => void;
80
- onSelectRemove: (item: SelectedItem) => void;
81
- onSelectClear: () => void;
82
- onSelectFocus: (e: FocusEvent) => void;
83
- onSelectBlur: (e: FocusEvent) => void;
84
- onSelectFilter: (keywords: string) => void;
80
+ handleSelectRemove: (item: SelectedItem) => void;
81
+ handleSelectClear: () => void;
82
+ handleSelectFocus: (e: FocusEvent) => void;
83
+ handleSelectBlur: (e: FocusEvent) => void;
84
+ handleSelectFilter: (keywords: string) => void;
85
85
  updateSelectedRowKeys: (rowKeys: DataKey[]) => void;
86
86
  updateCurrentRowKey: (rowKey?: DataKey) => void;
87
- onTableCurrentChange: (row?: DataItem | null) => void;
88
- onTableSelectionChange: () => void;
89
- onTableRowClick: (row: DataItem) => void;
90
- onTableSelect: (selection: DataItem[]) => void;
91
- onTableSelectAll: (selection: DataItem[]) => void;
92
- onTableDone: () => void;
87
+ handleTableCurrentChange: (row?: DataItem | null) => void;
88
+ handleTableSelectionChange: () => void;
89
+ handleTableRowClick: (row: DataItem) => void;
90
+ handleTableSelect: (selection: DataItem[]) => void;
91
+ handleTableSelectAll: (selection: DataItem[]) => void;
92
+ handleTableDone: () => void;
93
93
  }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
94
94
  'update:modelValue': (_value: SelectValue) => boolean;
95
95
  change: (_value: SelectValue) => boolean;
@@ -125,7 +125,7 @@ declare const _default: import('vue').DefineComponent<{
125
125
  required: boolean;
126
126
  };
127
127
  maxTagCount: NumberConstructor;
128
- maxTagTextLength: NumberConstructor;
128
+ maxTagTextLength: NumberConstructor; /** 选中的标签 */
129
129
  tagType: {
130
130
  type: import('vue').PropType<import('element-plus/es/utils/index').EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown> | undefined>;
131
131
  default: string;
@@ -134,8 +134,8 @@ declare const _default: import('vue').DefineComponent<{
134
134
  filterable: BooleanConstructor;
135
135
  teleported: {
136
136
  type: BooleanConstructor;
137
- default: boolean;
138
- };
137
+ default: boolean; /** 表格单选选中值 */
138
+ }; /** 表格单选选中值 */
139
139
  persistent: {
140
140
  type: BooleanConstructor;
141
141
  default: boolean;
@@ -149,7 +149,7 @@ declare const _default: import('vue').DefineComponent<{
149
149
  default: string;
150
150
  };
151
151
  popperOptions: import('vue').PropType<Partial<import('element-plus').Options> | undefined>;
152
- popperClass: StringConstructor; /** 下拉框类名 */
152
+ popperClass: StringConstructor;
153
153
  popperWidth: (StringConstructor | NumberConstructor)[];
154
154
  selectStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
155
155
  inputStyle: import('vue').PropType<Partial<import('vue').CSSProperties>>;
@@ -3,6 +3,7 @@ import { useResponsive } from "../ele-pro-layout/util";
3
3
  import EleBasicSelect from "../ele-basic-select/index";
4
4
  import { isEmptyValue, valueIsChanged } from "../ele-basic-select/util";
5
5
  import EleProTable from "../ele-pro-table/index";
6
+ import { isDisableRow } from "../ele-data-table/util";
6
7
  import { tableSelectProps, tableSelectEmits } from "./props";
7
8
  const _sfc_main = defineComponent({
8
9
  name: "EleTableSelect",
@@ -158,7 +159,7 @@ const _sfc_main = defineComponent({
158
159
  const focusSearchInput = () => {
159
160
  selectRef.value && selectRef.value.focusSearchInput();
160
161
  };
161
- const onInitValueChange = (initValue) => {
162
+ const handleInitValueChange = (initValue) => {
162
163
  const valueKey = props.valueKey;
163
164
  if (!props.multiple) {
164
165
  const key = initValue[valueKey];
@@ -200,23 +201,23 @@ const _sfc_main = defineComponent({
200
201
  emit("visibleChange", visible);
201
202
  }
202
203
  };
203
- const onSelectRemove = (item) => {
204
+ const handleSelectRemove = (item) => {
204
205
  const values = props.modelValue || [];
205
206
  updateModelValue(values.filter((v) => v !== item.value));
206
207
  emit("removeTag", item.value);
207
208
  };
208
- const onSelectClear = () => {
209
+ const handleSelectClear = () => {
209
210
  updateModelValue(props.multiple ? [] : null);
210
211
  updateVisible(false);
211
212
  emit("clear");
212
213
  };
213
- const onSelectFocus = (e) => {
214
+ const handleSelectFocus = (e) => {
214
215
  emit("focus", e);
215
216
  };
216
- const onSelectBlur = (e) => {
217
+ const handleSelectBlur = (e) => {
217
218
  emit("blur", e);
218
219
  };
219
- const onSelectFilter = (keywords) => {
220
+ const handleSelectFilter = (keywords) => {
220
221
  emit("filterChange", keywords);
221
222
  };
222
223
  const updateSelectedRowKeys = (rowKeys) => {
@@ -229,32 +230,36 @@ const _sfc_main = defineComponent({
229
230
  updateModelValue(rowKey);
230
231
  }
231
232
  };
232
- const onTableCurrentChange = (row) => {
233
+ const handleTableCurrentChange = (row) => {
233
234
  if (!props.multiple && row != null) {
234
235
  updateSelectedItems(true);
235
236
  }
236
237
  };
237
- const onTableSelectionChange = () => {
238
+ const handleTableSelectionChange = () => {
238
239
  if (props.multiple) {
239
240
  updateSelectedItems(true);
240
241
  }
241
242
  };
242
- const onTableRowClick = (row) => {
243
+ const handleTableRowClick = (row) => {
243
244
  var _a;
244
245
  if (!props.multiple) {
245
246
  updateVisible(false);
246
247
  emit("select", row);
247
- } else if (((_a = props.tableProps) == null ? void 0 : _a.rowClickChecked) && tableRef.value) {
248
+ } else if (((_a = props.tableProps) == null ? void 0 : _a.rowClickChecked) && tableRef.value && !isDisableRow(
249
+ row,
250
+ tableRef.value.tableData.indexOf(row),
251
+ tableRef.value.tableProps.columns
252
+ )) {
248
253
  emit("select", tableRef.value.getSelectionRows() || []);
249
254
  }
250
255
  };
251
- const onTableSelect = (selection) => {
256
+ const handleTableSelect = (selection) => {
252
257
  emit("select", selection);
253
258
  };
254
- const onTableSelectAll = (selection) => {
259
+ const handleTableSelectAll = (selection) => {
255
260
  emit("select", selection);
256
261
  };
257
- const onTableDone = () => {
262
+ const handleTableDone = () => {
258
263
  nextTick(() => {
259
264
  updatePopover();
260
265
  });
@@ -276,7 +281,7 @@ const _sfc_main = defineComponent({
276
281
  () => props.initValue,
277
282
  (initValue) => {
278
283
  if (!isEmptyValue(initValue)) {
279
- onInitValueChange(initValue);
284
+ handleInitValueChange(initValue);
280
285
  }
281
286
  },
282
287
  { deep: true }
@@ -291,7 +296,7 @@ const _sfc_main = defineComponent({
291
296
  );
292
297
  onMounted(() => {
293
298
  if (!isEmptyValue(props.initValue, props.multiple)) {
294
- onInitValueChange(props.initValue);
299
+ handleInitValueChange(props.initValue);
295
300
  } else if (!isEmptyValue(props.modelValue, props.multiple)) {
296
301
  updateSelectedItems();
297
302
  }
@@ -309,19 +314,19 @@ const _sfc_main = defineComponent({
309
314
  updateSelectedItems,
310
315
  focusSearchInput,
311
316
  updateVisible,
312
- onSelectRemove,
313
- onSelectClear,
314
- onSelectFocus,
315
- onSelectBlur,
316
- onSelectFilter,
317
+ handleSelectRemove,
318
+ handleSelectClear,
319
+ handleSelectFocus,
320
+ handleSelectBlur,
321
+ handleSelectFilter,
317
322
  updateSelectedRowKeys,
318
323
  updateCurrentRowKey,
319
- onTableCurrentChange,
320
- onTableSelectionChange,
321
- onTableRowClick,
322
- onTableSelect,
323
- onTableSelectAll,
324
- onTableDone
324
+ handleTableCurrentChange,
325
+ handleTableSelectionChange,
326
+ handleTableRowClick,
327
+ handleTableSelect,
328
+ handleTableSelectAll,
329
+ handleTableDone
325
330
  };
326
331
  }
327
332
  });
@@ -361,23 +366,23 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
361
366
  selected: _ctx.selectedItems,
362
367
  visible: _ctx.selectVisible,
363
368
  "onUpdate:visible": _ctx.updateVisible,
364
- onFilterChange: _ctx.onSelectFilter,
365
- onRemoveTag: _ctx.onSelectRemove,
366
- onClear: _ctx.onSelectClear,
367
- onFocus: _ctx.onSelectFocus,
368
- onBlur: _ctx.onSelectBlur
369
+ onFilterChange: _ctx.handleSelectFilter,
370
+ onRemoveTag: _ctx.handleSelectRemove,
371
+ onClear: _ctx.handleSelectClear,
372
+ onFocus: _ctx.handleSelectFocus,
373
+ onBlur: _ctx.handleSelectBlur
369
374
  }, createSlots({
370
375
  default: withCtx(() => [
371
376
  renderSlot(_ctx.$slots, "topExtra"),
372
377
  createVNode(_component_EleProTable, mergeProps({
373
378
  "onUpdate:selectedRowKeys": _ctx.updateSelectedRowKeys,
374
379
  "onUpdate:currentRowKey": _ctx.updateCurrentRowKey,
375
- onSelectionChange: _ctx.onTableSelectionChange,
376
- onCurrentChange: _ctx.onTableCurrentChange,
377
- onRowClick: _ctx.onTableRowClick,
378
- onSelect: _ctx.onTableSelect,
379
- onSelectAll: _ctx.onTableSelectAll,
380
- onDone: _ctx.onTableDone
380
+ onSelectionChange: _ctx.handleTableSelectionChange,
381
+ onCurrentChange: _ctx.handleTableCurrentChange,
382
+ onRowClick: _ctx.handleTableRowClick,
383
+ onSelect: _ctx.handleTableSelect,
384
+ onSelectAll: _ctx.handleTableSelectAll,
385
+ onDone: _ctx.handleTableDone
381
386
  }, _ctx.tableProps || {}, {
382
387
  ref: "tableRef",
383
388
  rowKey: _ctx.valueKey,
@@ -1,3 +1,5 @@
1
+ import { EleTooltipProps } from '../ele-app/plus';
2
+
1
3
  declare const _default: import('vue').DefineComponent<{
2
4
  title: StringConstructor;
3
5
  placement: {
@@ -6,9 +8,10 @@ declare const _default: import('vue').DefineComponent<{
6
8
  };
7
9
  disabled: BooleanConstructor;
8
10
  }, {
9
- visible: import('vue').Ref<boolean>;
10
- updateVisible: (value: boolean) => void;
11
- onClick: (e: MouseEvent) => void;
11
+ handleClick: (e: MouseEvent) => void;
12
+ handleMouseover: (e: MouseEvent) => void;
13
+ showTooltip: (text?: string, el?: HTMLElement, options?: EleTooltipProps) => void;
14
+ hideTooltip: () => void;
12
15
  }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
16
  click: (_e: MouseEvent) => boolean;
14
17
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{