bkui-vue 0.0.2-beta.1 → 0.0.2-beta.100

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 (533) hide show
  1. package/dist/index.cjs.js +143 -161
  2. package/dist/index.esm.js +19198 -21160
  3. package/dist/index.umd.js +143 -161
  4. package/dist/locale/en.esm.js +1 -1
  5. package/dist/locale/en.esm.js.map +1 -1
  6. package/dist/locale/en.umd.js +1 -1
  7. package/dist/locale/en.umd.js.map +1 -1
  8. package/dist/locale/zh-cn.esm.js +1 -1
  9. package/dist/locale/zh-cn.esm.js.map +1 -1
  10. package/dist/locale/zh-cn.umd.js +1 -1
  11. package/dist/locale/zh-cn.umd.js.map +1 -1
  12. package/dist/style.css +1 -1
  13. package/dist/style.variable.css +1 -1
  14. package/lib/affix/affix.css +122 -0
  15. package/lib/affix/affix.d.ts +1 -1
  16. package/lib/affix/affix.variable.css +245 -1
  17. package/lib/affix/index.d.ts +4 -4
  18. package/lib/affix/index.js +321 -1
  19. package/lib/alert/alert.css +133 -3
  20. package/lib/alert/alert.d.ts +5 -5
  21. package/lib/alert/alert.less +129 -119
  22. package/lib/alert/alert.variable.css +253 -1
  23. package/lib/alert/index.d.ts +10 -10
  24. package/lib/alert/index.js +214 -1
  25. package/lib/animate-number/index.d.ts +1 -1
  26. package/lib/animate-number/index.js +155 -1
  27. package/lib/backtop/backtop.css +133 -11
  28. package/lib/backtop/backtop.less +3 -1
  29. package/lib/backtop/backtop.variable.css +375 -9
  30. package/lib/backtop/index.d.ts +1 -1
  31. package/lib/backtop/index.js +188 -1
  32. package/lib/badge/badge.css +148 -26
  33. package/lib/badge/badge.d.ts +3 -2
  34. package/lib/badge/badge.variable.css +245 -1
  35. package/lib/badge/index.d.ts +10 -7
  36. package/lib/badge/index.js +235 -1
  37. package/lib/breadcrumb/breadcrumb-item.d.ts +1 -1
  38. package/lib/breadcrumb/breadcrumb.css +131 -9
  39. package/lib/breadcrumb/breadcrumb.d.ts +1 -1
  40. package/lib/breadcrumb/breadcrumb.variable.css +376 -10
  41. package/lib/breadcrumb/index.d.ts +6 -6
  42. package/lib/breadcrumb/index.js +309 -1
  43. package/lib/button/button-group.d.ts +2 -2
  44. package/lib/button/button.css +257 -115
  45. package/lib/button/button.less +105 -94
  46. package/lib/button/button.variable.css +265 -1
  47. package/lib/button/index.d.ts +4 -4
  48. package/lib/button/index.js +321 -1
  49. package/lib/card/card.css +130 -8
  50. package/lib/card/card.d.ts +1 -1
  51. package/lib/card/card.variable.css +375 -9
  52. package/lib/card/index.d.ts +4 -4
  53. package/lib/card/index.js +285 -1
  54. package/lib/cascader/cascader-panel.d.ts +1 -0
  55. package/lib/cascader/cascader.css +149 -27
  56. package/lib/cascader/cascader.d.ts +2 -12
  57. package/lib/cascader/cascader.less +4 -4
  58. package/lib/cascader/cascader.variable.css +394 -28
  59. package/lib/cascader/index.d.ts +9 -20
  60. package/lib/cascader/index.js +2036 -2
  61. package/lib/cascader/interface.d.ts +1 -1
  62. package/lib/checkbox/checkbox-group.d.ts +8 -3
  63. package/lib/checkbox/checkbox.css +131 -9
  64. package/lib/checkbox/checkbox.d.ts +14 -12
  65. package/lib/checkbox/checkbox.variable.css +245 -1
  66. package/lib/checkbox/index.d.ts +42 -31
  67. package/lib/checkbox/index.js +545 -1
  68. package/lib/code-diff/code-diff.css +122 -0
  69. package/lib/code-diff/code-diff.variable.css +245 -1
  70. package/lib/code-diff/index.d.ts +1 -1
  71. package/lib/code-diff/index.js +5501 -1
  72. package/lib/collapse/collapse.css +123 -1
  73. package/lib/collapse/collapse.variable.css +245 -1
  74. package/lib/collapse/index.d.ts +2 -2
  75. package/lib/collapse/index.js +570 -1
  76. package/lib/collapse-transition/collapse-transition.css +122 -0
  77. package/lib/collapse-transition/collapse-transition.d.ts +1 -0
  78. package/lib/collapse-transition/collapse-transition.variable.css +245 -1
  79. package/lib/collapse-transition/index.d.ts +128 -2
  80. package/lib/collapse-transition/index.js +177 -1
  81. package/lib/color-picker/color-picker.css +122 -0
  82. package/lib/color-picker/color-picker.d.ts +17 -1
  83. package/lib/color-picker/color-picker.variable.css +245 -1
  84. package/lib/color-picker/components/recommend-colors.d.ts +16 -0
  85. package/lib/color-picker/index.d.ts +22 -4
  86. package/lib/color-picker/index.js +2665 -1
  87. package/lib/components.d.ts +1 -1
  88. package/lib/components.js +530 -1
  89. package/lib/config-provider/config-provider.css +122 -0
  90. package/lib/config-provider/config-provider.d.ts +3 -0
  91. package/lib/config-provider/config-provider.variable.css +245 -1
  92. package/lib/config-provider/index.d.ts +5 -1
  93. package/lib/config-provider/index.js +365 -1
  94. package/lib/config-provider/token.d.ts +1 -0
  95. package/lib/config-provider/use-global-config.d.ts +2 -0
  96. package/lib/config-provider/use-prefix.d.ts +2 -0
  97. package/lib/container/container.css +126 -4
  98. package/lib/container/container.variable.css +371 -5
  99. package/lib/container/index.d.ts +2 -2
  100. package/lib/container/index.js +391 -1
  101. package/lib/date-picker/base/confirm.d.ts +1 -0
  102. package/lib/date-picker/base/date-table.d.ts +1 -0
  103. package/lib/date-picker/base/month-table.d.ts +1 -0
  104. package/lib/date-picker/base/picker-dropdown.d.ts +1 -0
  105. package/lib/date-picker/base/time-spinner.d.ts +2 -1
  106. package/lib/date-picker/base/year-table.d.ts +1 -0
  107. package/lib/date-picker/date-picker.css +139 -17
  108. package/lib/date-picker/date-picker.d.ts +6 -3
  109. package/lib/date-picker/date-picker.variable.css +245 -1
  110. package/lib/date-picker/index.d.ts +21 -11
  111. package/lib/date-picker/index.js +5555 -1
  112. package/lib/date-picker/panel/date-range.d.ts +3 -1
  113. package/lib/date-picker/panel/date.d.ts +1 -0
  114. package/lib/date-picker/panel/time-range.d.ts +3 -2
  115. package/lib/date-picker/panel/time.d.ts +3 -2
  116. package/lib/date-picker/time-picker.d.ts +4 -3
  117. package/lib/dialog/dialog.css +133 -9
  118. package/lib/dialog/dialog.d.ts +4 -3
  119. package/lib/dialog/dialog.variable.css +378 -10
  120. package/lib/dialog/index.d.ts +11 -8
  121. package/lib/dialog/index.js +975 -2
  122. package/lib/dialog/props.d.ts +1 -1
  123. package/lib/directives/index.js +1385 -2
  124. package/lib/directives/tooltips.d.ts +3 -2
  125. package/lib/dist.index.js +87 -1
  126. package/lib/divider/divider.css +125 -3
  127. package/lib/divider/divider.less +3 -4
  128. package/lib/divider/divider.variable.css +245 -1
  129. package/lib/divider/index.d.ts +1 -1
  130. package/lib/divider/index.js +169 -1
  131. package/lib/dropdown/dropdown.css +123 -0
  132. package/lib/dropdown/dropdown.d.ts +1 -1
  133. package/lib/dropdown/dropdown.variable.css +368 -1
  134. package/lib/dropdown/index.d.ts +7 -7
  135. package/lib/dropdown/index.js +369 -1
  136. package/lib/exception/exception.css +122 -0
  137. package/lib/exception/exception.variable.css +245 -1
  138. package/lib/exception/index.d.ts +2 -2
  139. package/lib/exception/index.js +385 -1
  140. package/lib/fixed-navbar/fixed-navbar.css +126 -4
  141. package/lib/fixed-navbar/fixed-navbar.variable.css +245 -1
  142. package/lib/fixed-navbar/index.d.ts +1 -1
  143. package/lib/fixed-navbar/index.js +154 -1
  144. package/lib/form/form.css +122 -0
  145. package/lib/form/form.variable.css +245 -1
  146. package/lib/form/index.d.ts +3 -3
  147. package/lib/form/index.js +952 -1
  148. package/lib/hooks.d.ts +1 -1
  149. package/lib/hooks.js +73 -1
  150. package/lib/icon/angle-double-down-line.js +191 -1
  151. package/lib/icon/angle-double-left-line.js +191 -1
  152. package/lib/icon/angle-double-left.js +191 -1
  153. package/lib/icon/angle-double-right-line.js +191 -1
  154. package/lib/icon/angle-double-right.js +191 -1
  155. package/lib/icon/angle-double-up-line.js +191 -1
  156. package/lib/icon/angle-down-fill.js +191 -1
  157. package/lib/icon/angle-down-line.js +191 -1
  158. package/lib/icon/angle-down.js +191 -1
  159. package/lib/icon/angle-left.js +191 -1
  160. package/lib/icon/angle-right.js +191 -1
  161. package/lib/icon/angle-up-fill.js +191 -1
  162. package/lib/icon/angle-up.js +191 -1
  163. package/lib/icon/archive-fill.js +191 -1
  164. package/lib/icon/arrows-left.js +191 -1
  165. package/lib/icon/arrows-right.js +191 -1
  166. package/lib/icon/assistant.d.ts +4 -0
  167. package/lib/icon/assistant.js +191 -0
  168. package/lib/icon/audio-fill.js +191 -1
  169. package/lib/icon/bk.js +191 -1
  170. package/lib/icon/circle.js +191 -1
  171. package/lib/icon/close-line.js +191 -1
  172. package/lib/icon/close.js +191 -1
  173. package/lib/icon/code.js +191 -1
  174. package/lib/icon/cog-shape.js +191 -1
  175. package/lib/icon/collapse-left.js +191 -1
  176. package/lib/icon/copy-shape.js +191 -1
  177. package/lib/icon/copy.js +191 -1
  178. package/lib/icon/data-shape.js +191 -1
  179. package/lib/icon/del.js +191 -1
  180. package/lib/icon/doc-fill.js +191 -1
  181. package/lib/icon/done.js +191 -1
  182. package/lib/icon/down-shape.js +191 -1
  183. package/lib/icon/down-small.js +191 -1
  184. package/lib/icon/edit-line.js +191 -1
  185. package/lib/icon/ellipsis.js +191 -1
  186. package/lib/icon/enlarge-line.js +191 -1
  187. package/lib/icon/error.js +191 -1
  188. package/lib/icon/excel-fill.js +191 -1
  189. package/lib/icon/exclamation-circle-shape.js +191 -1
  190. package/lib/icon/eye.js +191 -1
  191. package/lib/icon/filliscreen-line.js +191 -1
  192. package/lib/icon/fix-line.js +191 -1
  193. package/lib/icon/fix-shape.js +191 -1
  194. package/lib/icon/folder-open.js +191 -1
  195. package/lib/icon/folder-shape-open.js +191 -1
  196. package/lib/icon/folder-shape.js +191 -1
  197. package/lib/icon/folder.js +191 -1
  198. package/lib/icon/funnel.js +191 -1
  199. package/lib/icon/help-document-fill.js +191 -1
  200. package/lib/icon/help-fill.js +191 -1
  201. package/lib/icon/help.js +191 -1
  202. package/lib/icon/image-fill.js +276 -1
  203. package/lib/icon/img-error.js +276 -1
  204. package/lib/icon/img-placehoulder.js +276 -1
  205. package/lib/icon/index.d.ts +1 -0
  206. package/lib/icon/index.js +2399 -1
  207. package/lib/icon/info-line.js +276 -1
  208. package/lib/icon/info.js +276 -1
  209. package/lib/icon/left-shape.js +276 -1
  210. package/lib/icon/left-turn-line.js +276 -1
  211. package/lib/icon/narrow-line.js +276 -1
  212. package/lib/icon/original.js +276 -1
  213. package/lib/icon/pdf-fill.js +276 -1
  214. package/lib/icon/play-shape.js +276 -1
  215. package/lib/icon/plus.js +276 -1
  216. package/lib/icon/ppt-fill.js +276 -1
  217. package/lib/icon/qq.js +276 -1
  218. package/lib/icon/right-shape.js +276 -1
  219. package/lib/icon/right-turn-line.js +276 -1
  220. package/lib/icon/search.js +276 -1
  221. package/lib/icon/share.js +276 -1
  222. package/lib/icon/spinner.js +276 -1
  223. package/lib/icon/success.js +276 -1
  224. package/lib/icon/switcher-loading.js +276 -1
  225. package/lib/icon/text-file.js +276 -1
  226. package/lib/icon/text-fill.js +276 -1
  227. package/lib/icon/transfer.js +276 -1
  228. package/lib/icon/tree-application-shape.js +276 -1
  229. package/lib/icon/unfull-screen.js +276 -1
  230. package/lib/icon/unvisible.js +276 -1
  231. package/lib/icon/up-shape.js +276 -1
  232. package/lib/icon/upload.js +276 -1
  233. package/lib/icon/video-fill.js +276 -1
  234. package/lib/icon/warn.js +276 -1
  235. package/lib/icon/weixin-pro.js +276 -1
  236. package/lib/icon/weixin.js +276 -1
  237. package/lib/image/image-viewer.css +122 -0
  238. package/lib/image/image-viewer.less +5 -3
  239. package/lib/image/image-viewer.variable.css +366 -0
  240. package/lib/image/image.css +264 -0
  241. package/lib/image/image.d.ts +0 -1
  242. package/lib/image/image.less +4 -1
  243. package/lib/image/image.variable.css +630 -0
  244. package/lib/image/index.d.ts +1 -1
  245. package/lib/image/index.js +641 -1
  246. package/lib/index.js +97 -1
  247. package/lib/info-box/index.js +1165 -2
  248. package/lib/info-box/info-box.css +124 -0
  249. package/lib/info-box/info-box.d.ts +4 -0
  250. package/lib/info-box/info-box.less +2 -1
  251. package/lib/info-box/info-box.variable.css +247 -1
  252. package/lib/input/index.d.ts +153 -57
  253. package/lib/input/index.js +1226 -1
  254. package/lib/input/input.css +222 -72
  255. package/lib/input/input.d.ts +104 -15
  256. package/lib/input/input.less +53 -14
  257. package/lib/input/input.variable.css +467 -73
  258. package/lib/input/util.d.ts +6 -0
  259. package/lib/link/index.d.ts +7 -4
  260. package/lib/link/index.js +160 -1
  261. package/lib/link/link.css +138 -16
  262. package/lib/link/link.d.ts +2 -1
  263. package/lib/link/link.variable.css +245 -1
  264. package/lib/loading/index.d.ts +2 -2
  265. package/lib/loading/index.js +381 -1
  266. package/lib/loading/loading.css +142 -20
  267. package/lib/loading/loading.variable.css +387 -21
  268. package/lib/locale/index.js +465 -1
  269. package/lib/locale/lang/en.d.ts +1 -0
  270. package/lib/menu/index.d.ts +2 -2
  271. package/lib/menu/index.js +724 -1
  272. package/lib/menu/menu.css +144 -22
  273. package/lib/menu/menu.variable.css +389 -23
  274. package/lib/menu/submenu.css +122 -0
  275. package/lib/menu/submenu.variable.css +245 -1
  276. package/lib/message/index.d.ts +0 -1
  277. package/lib/message/index.js +1795 -2
  278. package/lib/message/message.css +176 -30
  279. package/lib/message/message.less +81 -57
  280. package/lib/message/message.variable.css +278 -10
  281. package/lib/message/messageConstructor.d.ts +32 -9
  282. package/lib/modal/index.d.ts +10 -10
  283. package/lib/modal/index.js +396 -1
  284. package/lib/modal/modal.css +124 -0
  285. package/lib/modal/modal.d.ts +3 -3
  286. package/lib/modal/modal.variable.css +369 -1
  287. package/lib/modal/props.mixin.d.ts +1 -1
  288. package/lib/navigation/index.d.ts +4 -1
  289. package/lib/navigation/index.js +367 -1
  290. package/lib/navigation/navigation.css +124 -2
  291. package/lib/navigation/navigation.d.ts +1 -0
  292. package/lib/navigation/navigation.variable.css +245 -1
  293. package/lib/notify/index.d.ts +0 -1
  294. package/lib/notify/index.js +397 -1
  295. package/lib/notify/notify.css +129 -7
  296. package/lib/notify/notify.variable.css +245 -1
  297. package/lib/notify/notifyConstructor.d.ts +1 -1
  298. package/lib/overflow-title/components/overflow-title.d.ts +257 -1
  299. package/lib/overflow-title/index.d.ts +387 -2
  300. package/lib/overflow-title/index.js +461 -1
  301. package/lib/overflow-title/props.d.ts +129 -0
  302. package/lib/pagination/index.d.ts +9 -9
  303. package/lib/pagination/index.js +880 -1
  304. package/lib/pagination/pagination.css +123 -1
  305. package/lib/pagination/pagination.d.ts +4 -4
  306. package/lib/pagination/pagination.variable.css +245 -1
  307. package/lib/plugin-popover/index.js +3905 -1
  308. package/lib/plugins/index.js +63 -1
  309. package/lib/pop-confirm/index.d.ts +1 -1
  310. package/lib/pop-confirm/index.js +273 -1
  311. package/lib/pop-confirm/pop-confirm.css +122 -0
  312. package/lib/pop-confirm/pop-confirm.less +9 -8
  313. package/lib/pop-confirm/pop-confirm.variable.css +245 -1
  314. package/lib/popover/const.d.ts +22 -9
  315. package/lib/popover/content.d.ts +34 -0
  316. package/lib/popover/index.d.ts +158 -73
  317. package/lib/popover/index.js +3913 -1
  318. package/lib/popover/popover.css +123 -0
  319. package/lib/popover/popover.d.ts +66 -30
  320. package/lib/popover/popover.less +3 -2
  321. package/lib/popover/popover.variable.css +246 -1
  322. package/lib/popover/props.d.ts +30 -7
  323. package/lib/popover/use-floating.d.ts +2 -2
  324. package/lib/popover/use-popover-init.d.ts +2 -1
  325. package/lib/popover2/index.d.ts +1 -1
  326. package/lib/popover2/index.js +107 -1
  327. package/lib/preset.d.ts +2 -0
  328. package/lib/preset.js +93 -1
  329. package/lib/process/index.d.ts +1 -1
  330. package/lib/process/index.js +759 -2
  331. package/lib/process/process.css +135 -13
  332. package/lib/process/process.variable.css +245 -1
  333. package/lib/progress/index.d.ts +8 -8
  334. package/lib/progress/index.js +431 -1
  335. package/lib/progress/progress.css +130 -8
  336. package/lib/progress/progress.d.ts +4 -4
  337. package/lib/progress/progress.variable.css +375 -9
  338. package/lib/radio/index.d.ts +26 -26
  339. package/lib/radio/index.js +627 -1
  340. package/lib/radio/radio-button.d.ts +7 -7
  341. package/lib/radio/radio-group.d.ts +5 -5
  342. package/lib/radio/radio.css +153 -31
  343. package/lib/radio/radio.d.ts +4 -4
  344. package/lib/radio/radio.less +1 -1
  345. package/lib/radio/radio.variable.css +245 -1
  346. package/lib/rate/index.d.ts +12 -8
  347. package/lib/rate/index.js +338 -1
  348. package/lib/rate/rate.css +122 -0
  349. package/lib/rate/rate.d.ts +4 -3
  350. package/lib/rate/rate.less +5 -3
  351. package/lib/rate/rate.variable.css +366 -0
  352. package/lib/rate/star.css +122 -0
  353. package/lib/rate/star.less +6 -4
  354. package/lib/rate/star.variable.css +366 -0
  355. package/lib/resize-layout/index.d.ts +4 -4
  356. package/lib/resize-layout/index.js +429 -1
  357. package/lib/resize-layout/resize-layout.css +134 -0
  358. package/lib/resize-layout/resize-layout.d.ts +1 -1
  359. package/lib/resize-layout/resize-layout.less +12 -0
  360. package/lib/resize-layout/resize-layout.variable.css +257 -1
  361. package/lib/search-select/index.d.ts +62 -29
  362. package/lib/search-select/index.js +2729 -2
  363. package/lib/search-select/input.d.ts +5 -1
  364. package/lib/search-select/menu.d.ts +33 -2
  365. package/lib/search-select/search-select.css +193 -53
  366. package/lib/search-select/search-select.d.ts +23 -20
  367. package/lib/search-select/search-select.less +35 -14
  368. package/lib/search-select/search-select.variable.css +438 -54
  369. package/lib/search-select/selected.d.ts +5 -1
  370. package/lib/search-select/utils.d.ts +13 -5
  371. package/lib/select/common.d.ts +1 -0
  372. package/lib/select/index.d.ts +224 -111
  373. package/lib/select/index.js +2254 -2
  374. package/lib/select/option.d.ts +12 -0
  375. package/lib/select/optionGroup.d.ts +1 -0
  376. package/lib/select/select.css +159 -29
  377. package/lib/select/select.d.ts +94 -51
  378. package/lib/select/select.less +11 -1
  379. package/lib/select/select.variable.css +380 -6
  380. package/lib/select/selectTagInput.d.ts +9 -5
  381. package/lib/shared/helper.d.ts +1 -1
  382. package/lib/shared/index.js +2689 -1
  383. package/lib/shared/mask-manager.d.ts +3 -4
  384. package/lib/shared/pop-manager.d.ts +6 -2
  385. package/lib/shared/popover.d.ts +2 -2
  386. package/lib/shared/vue-types.d.ts +5 -4
  387. package/lib/sideslider/index.d.ts +8 -8
  388. package/lib/sideslider/index.js +714 -2
  389. package/lib/sideslider/sideslider.css +123 -1
  390. package/lib/sideslider/sideslider.d.ts +3 -3
  391. package/lib/sideslider/sideslider.variable.css +245 -1
  392. package/lib/slider/index.d.ts +1 -1
  393. package/lib/slider/index.js +1291 -2
  394. package/lib/slider/slider.css +126 -4
  395. package/lib/slider/slider.less +6 -6
  396. package/lib/slider/slider.variable.css +245 -1
  397. package/lib/steps/index.d.ts +8 -8
  398. package/lib/steps/index.js +825 -2
  399. package/lib/steps/steps.css +158 -36
  400. package/lib/steps/steps.d.ts +4 -4
  401. package/lib/steps/steps.variable.css +245 -1
  402. package/lib/styles/index.d.ts +2 -0
  403. package/lib/styles/mixins/animate.css +126 -4
  404. package/lib/styles/mixins/animate.less +10 -6
  405. package/lib/styles/mixins/animate.variable.css +370 -4
  406. package/lib/styles/mixins/mixins.css +126 -4
  407. package/lib/styles/mixins/mixins.variable.css +126 -4
  408. package/lib/styles/mixins/popper.css +122 -0
  409. package/lib/styles/mixins/popper.less +6 -5
  410. package/lib/styles/mixins/popper.variable.css +245 -1
  411. package/lib/styles/mixins/scroll.css +122 -0
  412. package/lib/styles/mixins/scroll.variable.css +245 -1
  413. package/lib/styles/reset.css +122 -0
  414. package/lib/styles/reset.less +4 -2
  415. package/lib/styles/reset.variable.css +366 -0
  416. package/lib/styles/themes/themes.css +122 -0
  417. package/lib/styles/themes/themes.less +290 -121
  418. package/lib/styles/themes/themes.variable.css +122 -0
  419. package/lib/swiper/index.d.ts +1 -1
  420. package/lib/swiper/index.js +336 -1
  421. package/lib/swiper/swiper.css +122 -6
  422. package/lib/swiper/swiper.less +0 -8
  423. package/lib/swiper/swiper.variable.css +245 -7
  424. package/lib/switcher/index.d.ts +34 -20
  425. package/lib/switcher/index.js +277 -1
  426. package/lib/switcher/switcher.css +143 -21
  427. package/lib/switcher/switcher.d.ts +76 -7
  428. package/lib/switcher/switcher.variable.css +388 -22
  429. package/lib/tab/index.d.ts +6 -3
  430. package/lib/tab/index.js +914 -1
  431. package/lib/tab/tab-nav.d.ts +13 -2
  432. package/lib/tab/tab-panel.d.ts +1 -1
  433. package/lib/tab/tab.css +139 -17
  434. package/lib/tab/tab.d.ts +1 -0
  435. package/lib/tab/tab.variable.css +245 -1
  436. package/lib/table/components/table-cell.d.ts +22 -15
  437. package/lib/table/components/table-column.d.ts +157 -220
  438. package/lib/table/const.d.ts +40 -56
  439. package/lib/table/events.d.ts +180 -0
  440. package/lib/table/index.d.ts +810 -435
  441. package/lib/table/index.js +6264 -1
  442. package/lib/table/plugins/head-filter.css +127 -2
  443. package/lib/table/plugins/head-filter.d.ts +3 -7
  444. package/lib/table/plugins/head-filter.less +8 -7
  445. package/lib/table/plugins/head-filter.variable.css +248 -1
  446. package/lib/table/plugins/head-sort.css +122 -0
  447. package/lib/table/plugins/head-sort.d.ts +3 -7
  448. package/lib/table/plugins/head-sort.variable.css +245 -1
  449. package/lib/table/plugins/settings.css +122 -0
  450. package/lib/table/plugins/settings.d.ts +12 -26
  451. package/lib/table/plugins/settings.less +3 -3
  452. package/lib/table/plugins/settings.variable.css +245 -1
  453. package/lib/table/plugins/use-column-resize.d.ts +30 -10
  454. package/lib/table/plugins/use-fixed-column.d.ts +10 -9
  455. package/lib/table/plugins/use-pagination.d.ts +7 -4
  456. package/lib/table/props.d.ts +221 -174
  457. package/lib/table/render.d.ts +12 -20
  458. package/lib/table/table.css +362 -154
  459. package/lib/table/table.d.ts +232 -98
  460. package/lib/table/table.less +83 -9
  461. package/lib/table/table.variable.css +607 -155
  462. package/lib/table/use-attributes.d.ts +55 -0
  463. package/lib/table/use-column.d.ts +264 -3
  464. package/lib/table/use-common.d.ts +1609 -76
  465. package/lib/table/use-render.d.ts +11 -0
  466. package/lib/table/utils.d.ts +30 -28
  467. package/lib/table-column/index.d.ts +393 -530
  468. package/lib/table-column/index.js +775 -1
  469. package/lib/tag/index.d.ts +10 -10
  470. package/lib/tag/index.js +233 -1
  471. package/lib/tag/tag.css +127 -5
  472. package/lib/tag/tag.d.ts +5 -5
  473. package/lib/tag/tag.variable.css +245 -1
  474. package/lib/tag-input/index.d.ts +64 -34
  475. package/lib/tag-input/index.js +1660 -1
  476. package/lib/tag-input/tag-input.css +149 -19
  477. package/lib/tag-input/tag-input.d.ts +40 -20
  478. package/lib/tag-input/tag-input.less +13 -4
  479. package/lib/tag-input/tag-input.variable.css +254 -2
  480. package/lib/tag-input/tag-props.d.ts +19 -9
  481. package/lib/time-picker/index.d.ts +13 -10
  482. package/lib/time-picker/index.js +71 -1
  483. package/lib/time-picker/time-picker.css +122 -0
  484. package/lib/time-picker/time-picker.less +39 -39
  485. package/lib/time-picker/time-picker.variable.css +245 -1
  486. package/lib/timeline/index.d.ts +1 -1
  487. package/lib/timeline/index.js +241 -1
  488. package/lib/timeline/timeline.css +141 -19
  489. package/lib/timeline/timeline.variable.css +245 -1
  490. package/lib/transfer/index.d.ts +1 -1
  491. package/lib/transfer/index.js +673 -1
  492. package/lib/transfer/transfer.css +141 -19
  493. package/lib/transfer/transfer.variable.css +245 -1
  494. package/lib/tree/constant.d.ts +2 -2
  495. package/lib/tree/index.d.ts +70 -40
  496. package/lib/tree/index.js +2538 -1
  497. package/lib/tree/props.d.ts +20 -10
  498. package/lib/tree/tree.css +131 -9
  499. package/lib/tree/tree.d.ts +38 -21
  500. package/lib/tree/tree.variable.css +376 -10
  501. package/lib/tree/use-node-action.d.ts +5 -3
  502. package/lib/tree/use-node-attribute.d.ts +17 -8
  503. package/lib/tree/use-search.d.ts +2 -2
  504. package/lib/tree/use-tree-init.d.ts +1 -2
  505. package/lib/tree/util.d.ts +9 -3
  506. package/lib/upload/index.d.ts +1 -1
  507. package/lib/upload/index.js +2874 -2
  508. package/lib/upload/upload.css +153 -31
  509. package/lib/upload/upload.type.d.ts +1 -1
  510. package/lib/upload/upload.variable.css +398 -32
  511. package/lib/upload/use-file-handler.d.ts +2 -2
  512. package/lib/virtual-render/index.d.ts +43 -1
  513. package/lib/virtual-render/index.js +860 -1
  514. package/lib/virtual-render/props.d.ts +15 -0
  515. package/lib/virtual-render/v-virtual-render.d.ts +19 -1
  516. package/lib/virtual-render/virtual-render.css +122 -0
  517. package/lib/virtual-render/virtual-render.d.ts +25 -0
  518. package/lib/virtual-render/virtual-render.less +5 -6
  519. package/lib/virtual-render/virtual-render.variable.css +367 -1
  520. package/lib/volar.components.d.ts +24 -24
  521. package/package.json +31 -18
  522. package/lib/cascader/index.js.LICENSE.txt +0 -1
  523. package/lib/dialog/index.js.LICENSE.txt +0 -1
  524. package/lib/directives/index.js.LICENSE.txt +0 -14
  525. package/lib/info-box/index.js.LICENSE.txt +0 -1
  526. package/lib/message/index.js.LICENSE.txt +0 -6
  527. package/lib/process/index.js.LICENSE.txt +0 -1
  528. package/lib/search-select/index.js.LICENSE.txt +0 -1
  529. package/lib/select/index.js.LICENSE.txt +0 -1
  530. package/lib/sideslider/index.js.LICENSE.txt +0 -1
  531. package/lib/slider/index.js.LICENSE.txt +0 -1
  532. package/lib/steps/index.js.LICENSE.txt +0 -1
  533. package/lib/upload/index.js.LICENSE.txt +0 -1
@@ -1,18 +1,60 @@
1
+ import { ExtractPropTypes } from 'vue';
1
2
  import { Column } from '../props';
2
- export type ITableColumn = Column & {
3
- prop?: string | Function;
4
- index?: number;
5
- };
6
- declare const _default: import("vue").DefineComponent<{
7
- prop: import("vue-types").VueTypeDef<any>;
3
+ declare const TableColumnProp: {
4
+ label: import("vue-types").VueTypeDef<import("../props").LabelFunctionString>;
5
+ field: import("vue-types").VueTypeDef<import("../props").LabelFunctionString>;
6
+ render: import("vue-types").VueTypeDef<import("../props").RenderFunctionString>;
7
+ width: import("vue-types").VueTypeDef<string | number>;
8
+ minWidth: import("vue-types").VueTypeDef<string | number> & {
9
+ default: string | number;
10
+ };
11
+ columnKey: import("vue-types").VueTypeValidableDef<string> & {
12
+ default: string;
13
+ } & {
14
+ default: string;
15
+ };
16
+ showOverflowTooltip: import("vue-types").VueTypeDef<import("../props").IOverflowTooltipProp>;
17
+ type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
18
+ resizable: import("vue-types").VueTypeValidableDef<boolean> & {
19
+ default: boolean;
20
+ } & {
21
+ default: boolean;
22
+ };
23
+ fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
24
+ default: boolean | "right" | "left";
25
+ };
26
+ sort: import("vue-types").VueTypeDef<import("../props").ISortPropShape>;
27
+ filter: import("vue-types").VueTypeDef<import("../props").IFilterPropShape>;
28
+ colspan: import("vue-types").VueTypeDef<import("../props").SpanFunctionString> & {
29
+ default: (({ column, colIndex, row, rowIndex }: {
30
+ column: any;
31
+ colIndex: any;
32
+ row: any;
33
+ rowIndex: any;
34
+ }) => number) | (() => Number);
35
+ };
36
+ rowspan: import("vue-types").VueTypeDef<import("../props").SpanFunctionString> & {
37
+ default: (({ column, colIndex, row, rowIndex }: {
38
+ column: any;
39
+ colIndex: any;
40
+ row: any;
41
+ rowIndex: any;
42
+ }) => number) | (() => Number);
43
+ };
44
+ align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
45
+ className: import("vue-types").VueTypeDef<import("../props").RowClassFunctionString>;
46
+ prop: import("vue-types").VueTypeDef<import("../props").LabelFunctionString>;
8
47
  index: import("vue-types").VueTypeValidableDef<number> & {
9
48
  default: number;
10
49
  } & {
11
50
  default: number;
12
51
  };
13
- label: import("vue-types").VueTypeDef<any>;
14
- field: import("vue-types").VueTypeDef<any>;
15
- render: import("vue-types").VueTypeDef<any>;
52
+ };
53
+ export type ITableColumn = Partial<ExtractPropTypes<typeof TableColumnProp>>;
54
+ declare const _default: import("vue").DefineComponent<{
55
+ label: import("vue-types").VueTypeDef<import("../props").LabelFunctionString>;
56
+ field: import("vue-types").VueTypeDef<import("../props").LabelFunctionString>;
57
+ render: import("vue-types").VueTypeDef<import("../props").RenderFunctionString>;
16
58
  width: import("vue-types").VueTypeDef<string | number>;
17
59
  minWidth: import("vue-types").VueTypeDef<string | number> & {
18
60
  default: string | number;
@@ -22,9 +64,7 @@ declare const _default: import("vue").DefineComponent<{
22
64
  } & {
23
65
  default: string;
24
66
  };
25
- showOverflowTooltip: import("vue-types").VueTypeDef<boolean | import("../props").IOverflowTooltip> & {
26
- default: boolean | (() => import("../props").IOverflowTooltip);
27
- };
67
+ showOverflowTooltip: import("vue-types").VueTypeDef<import("../props").IOverflowTooltipProp>;
28
68
  type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
29
69
  resizable: import("vue-types").VueTypeValidableDef<boolean> & {
30
70
  default: boolean;
@@ -34,72 +74,49 @@ declare const _default: import("vue").DefineComponent<{
34
74
  fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
35
75
  default: boolean | "right" | "left";
36
76
  };
37
- sort: import("vue-types").VueTypeDef<string | boolean | {
38
- sortFn: any;
39
- sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
40
- value: string;
41
- }> & {
42
- default: string | boolean | (() => {
43
- sortFn: any;
44
- sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
45
- value: string;
46
- });
47
- };
48
- filter: import("vue-types").VueTypeDef<string | boolean | {
49
- list: any[] | (object & (() => any[]));
50
- filterFn: any;
51
- match: "full" | "fuzzy";
52
- checked: any[] | (object & (() => any[]));
53
- filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
54
- btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
55
- btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
56
- }> & {
57
- default: string | boolean | (() => {
58
- list: any[] | (object & (() => any[]));
59
- filterFn: any;
60
- match: "full" | "fuzzy";
61
- checked: any[] | (object & (() => any[]));
62
- filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
63
- btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
64
- btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
65
- });
77
+ sort: import("vue-types").VueTypeDef<import("../props").ISortPropShape>;
78
+ filter: import("vue-types").VueTypeDef<import("../props").IFilterPropShape>;
79
+ colspan: import("vue-types").VueTypeDef<import("../props").SpanFunctionString> & {
80
+ default: (({ column, colIndex, row, rowIndex }: {
81
+ column: any;
82
+ colIndex: any;
83
+ row: any;
84
+ rowIndex: any;
85
+ }) => number) | (() => Number);
86
+ };
87
+ rowspan: import("vue-types").VueTypeDef<import("../props").SpanFunctionString> & {
88
+ default: (({ column, colIndex, row, rowIndex }: {
89
+ column: any;
90
+ colIndex: any;
91
+ row: any;
92
+ rowIndex: any;
93
+ }) => number) | (() => Number);
66
94
  };
67
- colspan: import("vue-types").VueTypeDef<any>;
68
- rowspan: import("vue-types").VueTypeDef<any>;
69
95
  align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
70
- className: import("vue-types").VueTypeDef<any>;
96
+ className: import("vue-types").VueTypeDef<import("../props").RowClassFunctionString>;
97
+ prop: import("vue-types").VueTypeDef<import("../props").LabelFunctionString>;
98
+ index: import("vue-types").VueTypeValidableDef<number> & {
99
+ default: number;
100
+ } & {
101
+ default: number;
102
+ };
71
103
  }, {
72
- initColumns: (_col: ITableColumn | ITableColumn[], _rm?: boolean) => void;
104
+ initColumns: (_col: Column | Column[], _rm?: boolean) => void;
73
105
  bkTableCache: {
74
106
  queueStack: (_: any, fn: any) => any;
75
107
  };
76
108
  column: {
77
- field: string | Function;
78
- label: string | Function;
79
- render?: string | Function | import("vue").Slot<any>;
80
- width?: string | number;
109
+ fixed?: boolean | "right" | "left";
81
110
  minWidth?: string | number;
82
- columnKey?: string;
83
- showOverflowTooltip?: boolean | {
84
- content: string | Function;
85
- disabled?: boolean;
86
- watchCellResize?: boolean;
87
- mode?: "auto" | "static";
88
- };
89
- type?: string;
90
- fixed?: string | boolean;
91
111
  resizable?: boolean;
92
- sort?: string | boolean | {
93
- sortFn?: Function;
94
- sortScope?: string;
95
- value?: string;
96
- };
97
- filter?: string | boolean | {
98
- list?: any;
99
- filterFn?: Function;
100
- checked?: any;
101
- };
102
- colspan?: Function | {
112
+ index?: number;
113
+ columnKey?: string;
114
+ colspan?: (({ column, colIndex, row, rowIndex }: {
115
+ column: any;
116
+ colIndex: any;
117
+ row: any;
118
+ rowIndex: any;
119
+ }) => number) | {
103
120
  toString: (radix?: number) => string;
104
121
  toFixed: (fractionDigits?: number) => string;
105
122
  toExponential: (fractionDigits?: number) => string;
@@ -110,7 +127,12 @@ declare const _default: import("vue").DefineComponent<{
110
127
  (locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
111
128
  };
112
129
  };
113
- rowspan?: Function | {
130
+ rowspan?: (({ column, colIndex, row, rowIndex }: {
131
+ column: any;
132
+ colIndex: any;
133
+ row: any;
134
+ rowIndex: any;
135
+ }) => number) | {
114
136
  toString: (radix?: number) => string;
115
137
  toFixed: (fractionDigits?: number) => string;
116
138
  toExponential: (fractionDigits?: number) => string;
@@ -121,110 +143,48 @@ declare const _default: import("vue").DefineComponent<{
121
143
  (locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
122
144
  };
123
145
  };
124
- textAlign?: {
125
- [x: number]: string;
126
- toString: () => string;
127
- charAt: (pos: number) => string;
128
- charCodeAt: (index: number) => number;
129
- concat: (...strings: string[]) => string;
130
- indexOf: (searchString: string, position?: number) => number;
131
- lastIndexOf: (searchString: string, position?: number) => number;
132
- localeCompare: {
133
- (that: string): number;
134
- (that: string, locales?: string | string[], options?: Intl.CollatorOptions): number;
135
- };
136
- match: {
137
- (regexp: string | RegExp): RegExpMatchArray;
138
- (matcher: {
139
- [Symbol.match](string: string): RegExpMatchArray;
140
- }): RegExpMatchArray;
141
- };
142
- replace: {
143
- (searchValue: string | RegExp, replaceValue: string): string;
144
- (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
145
- (searchValue: {
146
- [Symbol.replace](string: string, replaceValue: string): string;
147
- }, replaceValue: string): string;
148
- (searchValue: {
149
- [Symbol.replace](string: string, replacer: (substring: string, ...args: any[]) => string): string;
150
- }, replacer: (substring: string, ...args: any[]) => string): string;
151
- };
152
- search: {
153
- (regexp: string | RegExp): number;
154
- (searcher: {
155
- [Symbol.search](string: string): number;
156
- }): number;
157
- };
158
- slice: (start?: number, end?: number) => string;
159
- split: {
160
- (separator: string | RegExp, limit?: number): string[];
161
- (splitter: {
162
- [Symbol.split](string: string, limit?: number): string[];
163
- }, limit?: number): string[];
164
- };
165
- substring: (start: number, end?: number) => string;
166
- toLowerCase: () => string;
167
- toLocaleLowerCase: (locales?: string | string[]) => string;
168
- toUpperCase: () => string;
169
- toLocaleUpperCase: (locales?: string | string[]) => string;
170
- trim: () => string;
171
- readonly length: number;
172
- substr: (from: number, length?: number) => string;
173
- valueOf: () => string;
174
- codePointAt: (pos: number) => number;
175
- includes: (searchString: string, position?: number) => boolean;
176
- endsWith: (searchString: string, endPosition?: number) => boolean;
177
- normalize: {
178
- (form: "NFC" | "NFD" | "NFKC" | "NFKD"): string;
179
- (form?: string): string;
180
- };
181
- repeat: (count: number) => string;
182
- startsWith: (searchString: string, position?: number) => boolean;
183
- anchor: (name: string) => string;
184
- big: () => string;
185
- blink: () => string;
186
- bold: () => string;
187
- fixed: () => string;
188
- fontcolor: (color: string) => string;
189
- fontsize: {
190
- (size: number): string;
191
- (size: string): string;
192
- };
193
- italics: () => string;
194
- link: (url: string) => string;
195
- small: () => string;
196
- strike: () => string;
197
- sub: () => string;
198
- sup: () => string;
199
- padStart: (maxLength: number, fillString?: string) => string;
200
- padEnd: (maxLength: number, fillString?: string) => string;
201
- trimEnd: () => string;
202
- trimStart: () => string;
203
- trimLeft: () => string;
204
- trimRight: () => string;
205
- matchAll: (regexp: RegExp) => IterableIterator<RegExpMatchArray>;
206
- [Symbol.iterator]: () => IterableIterator<string>;
207
- at: (index: number) => string;
146
+ render?: import("../props").RenderFunctionString;
147
+ sort?: string | boolean | {
148
+ sortFn?: Function;
149
+ sortScope?: import("../props").SortScope;
150
+ value?: import("../const").SORT_OPTION;
208
151
  };
209
- className?: string | Function;
210
- align?: string;
211
- prop?: string | Function;
212
- index?: number;
152
+ filter?: string | boolean | {
153
+ list: any[];
154
+ filterFn?: Function;
155
+ match?: import("../props").FullEnum;
156
+ checked?: any[];
157
+ filterScope?: import("../props").SortScope;
158
+ btnSave?: string | boolean;
159
+ btnReset?: string | boolean;
160
+ height?: number;
161
+ maxHeight?: number;
162
+ };
163
+ type?: "none" | "selection" | "index" | "expand";
164
+ label?: import("../props").LabelFunctionString;
165
+ width?: string | number;
166
+ className?: import("../props").RowClassFunctionString;
167
+ align?: "" | "right" | "left" | "center";
168
+ showOverflowTooltip?: boolean | {
169
+ content: string | Function;
170
+ disabled?: (col: Column, row: any) => boolean;
171
+ watchCellResize?: boolean;
172
+ mode?: "auto" | "static";
173
+ popoverOption?: any;
174
+ resizerWay?: import("../props").ResizerWay;
175
+ };
176
+ field: import("../props").LabelFunctionString;
177
+ prop?: import("../props").LabelFunctionString;
213
178
  };
214
179
  }, unknown, {}, {
215
180
  updateColumnDefine(unmounted?: boolean): void;
181
+ copyProps(props: ITableColumn): {};
216
182
  updateColumnDefineByParent(): void;
217
- updateColumnDefineByIndex(unmounted?: boolean): void;
218
- }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
219
- prop: import("vue-types").VueTypeDef<any>;
220
- index: import("vue-types").VueTypeValidableDef<number> & {
221
- default: number;
222
- } & {
223
- default: number;
224
- };
225
- label: import("vue-types").VueTypeDef<any>;
226
- field: import("vue-types").VueTypeDef<any>;
227
- render: import("vue-types").VueTypeDef<any>;
183
+ unmountColumn(): void;
184
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
185
+ label: import("vue-types").VueTypeDef<import("../props").LabelFunctionString>;
186
+ field: import("vue-types").VueTypeDef<import("../props").LabelFunctionString>;
187
+ render: import("vue-types").VueTypeDef<import("../props").RenderFunctionString>;
228
188
  width: import("vue-types").VueTypeDef<string | number>;
229
189
  minWidth: import("vue-types").VueTypeDef<string | number> & {
230
190
  default: string | number;
@@ -234,9 +194,7 @@ declare const _default: import("vue").DefineComponent<{
234
194
  } & {
235
195
  default: string;
236
196
  };
237
- showOverflowTooltip: import("vue-types").VueTypeDef<boolean | import("../props").IOverflowTooltip> & {
238
- default: boolean | (() => import("../props").IOverflowTooltip);
239
- };
197
+ showOverflowTooltip: import("vue-types").VueTypeDef<import("../props").IOverflowTooltipProp>;
240
198
  type: import("vue-types").VueTypeDef<"none" | "selection" | "index" | "expand">;
241
199
  resizable: import("vue-types").VueTypeValidableDef<boolean> & {
242
200
  default: boolean;
@@ -246,60 +204,39 @@ declare const _default: import("vue").DefineComponent<{
246
204
  fixed: import("vue-types").VueTypeDef<boolean | "right" | "left"> & {
247
205
  default: boolean | "right" | "left";
248
206
  };
249
- sort: import("vue-types").VueTypeDef<string | boolean | {
250
- sortFn: any;
251
- sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
252
- value: string;
253
- }> & {
254
- default: string | boolean | (() => {
255
- sortFn: any;
256
- sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
257
- value: string;
258
- });
207
+ sort: import("vue-types").VueTypeDef<import("../props").ISortPropShape>;
208
+ filter: import("vue-types").VueTypeDef<import("../props").IFilterPropShape>;
209
+ colspan: import("vue-types").VueTypeDef<import("../props").SpanFunctionString> & {
210
+ default: (({ column, colIndex, row, rowIndex }: {
211
+ column: any;
212
+ colIndex: any;
213
+ row: any;
214
+ rowIndex: any;
215
+ }) => number) | (() => Number);
216
+ };
217
+ rowspan: import("vue-types").VueTypeDef<import("../props").SpanFunctionString> & {
218
+ default: (({ column, colIndex, row, rowIndex }: {
219
+ column: any;
220
+ colIndex: any;
221
+ row: any;
222
+ rowIndex: any;
223
+ }) => number) | (() => Number);
259
224
  };
260
- filter: import("vue-types").VueTypeDef<string | boolean | {
261
- list: any[] | (object & (() => any[]));
262
- filterFn: any;
263
- match: "full" | "fuzzy";
264
- checked: any[] | (object & (() => any[]));
265
- filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
266
- btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
267
- btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
268
- }> & {
269
- default: string | boolean | (() => {
270
- list: any[] | (object & (() => any[]));
271
- filterFn: any;
272
- match: "full" | "fuzzy";
273
- checked: any[] | (object & (() => any[]));
274
- filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
275
- btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
276
- btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
277
- });
278
- };
279
- colspan: import("vue-types").VueTypeDef<any>;
280
- rowspan: import("vue-types").VueTypeDef<any>;
281
225
  align: import("vue-types").VueTypeDef<"" | "right" | "left" | "center">;
282
- className: import("vue-types").VueTypeDef<any>;
283
- }>>, {
284
- sort: string | boolean | {
285
- sortFn: any;
286
- sortScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
287
- value: string;
288
- };
289
- filter: string | boolean | {
290
- list: any[] | (object & (() => any[]));
291
- filterFn: any;
292
- match: "full" | "fuzzy";
293
- checked: any[] | (object & (() => any[]));
294
- filterScope: (object | "all" | "current" | (() => "all" | "current") | ((props: Record<string, unknown>) => "all" | "current")) & ("all" | "current");
295
- btnSave: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
296
- btnReset: (string | boolean | object | (() => string | boolean) | ((props: Record<string, unknown>) => string | boolean)) & (string | boolean);
226
+ className: import("vue-types").VueTypeDef<import("../props").RowClassFunctionString>;
227
+ prop: import("vue-types").VueTypeDef<import("../props").LabelFunctionString>;
228
+ index: import("vue-types").VueTypeValidableDef<number> & {
229
+ default: number;
230
+ } & {
231
+ default: number;
297
232
  };
233
+ }>>, {
298
234
  fixed: boolean | "right" | "left";
299
235
  minWidth: string | number;
236
+ resizable: boolean;
300
237
  index: number;
301
238
  columnKey: string;
302
- showOverflowTooltip: boolean | import("../props").IOverflowTooltip;
303
- resizable: boolean;
239
+ colspan: import("../props").SpanFunctionString;
240
+ rowspan: import("../props").SpanFunctionString;
304
241
  }, {}>;
305
242
  export default _default;
@@ -19,60 +19,6 @@ export declare const ROW_HOVER_OPTIONS: ROW_HOVER[];
19
19
  * 边框配置可选项
20
20
  */
21
21
  export declare const BORDER_OPTIONS: BORDER_OPTION[];
22
- export declare const enum EVENTS {
23
- /** 点击排序事件 */
24
- ON_SORT_BY_CLICK = "onSortByClick",
25
- ON_FILTER_CLICK = "onFilterClick",
26
- ON_SETTING_CHANGE = "onSettingChange",
27
- ON_ROW_EXPAND_CLICK = "onRowExpandClick",
28
- ON_ROW_CHECK = "onRowCheck"
29
- }
30
- export declare const enum EMIT_EVENTS {
31
- COLUMN_PICK = "columnPick",
32
- COLUMN_SORT = "columnSort",
33
- COLUMN_FILTER = "columnFilter",
34
- COLUMN_FILTER_SAVE = "colFilterSave",
35
- ROW_CLICK = "rowClick",
36
- ROW_DBL_CLICK = "rowDblclick",
37
- ROW_EXPAND_CLICK = "rowExpand",
38
- ROW_MOUSE_ENTER = "rowMouseEnter",
39
- ROW_MOUSE_LEAVE = "rowMouseLeave",
40
- PAGE_LIMIT_CHANGE = "pageLimitChange",
41
- PAGE_VALUE_CHANGE = "pageValueChange",
42
- SETTING_CHANGE = "settingChange",
43
- SCROLL_BOTTOM = "scrollBottom",
44
- ROW_SELECT = "select",
45
- ROW_SELECT_ALL = "selectAll",
46
- ROW_SELECT_CHANGE = "selectionChange",
47
- CELL_CLICK = "cellClick",
48
- CELL_DBL_CLICK = "cellDblclick",
49
- NATIVE_CLICK = "click",
50
- NATIVE_DBL_CLICK = "dblclick"
51
- }
52
- export declare const EMIT_EVENT_TYPES: {
53
- columnPick: (..._args: any[]) => boolean;
54
- columnFilter: (..._args: any[]) => boolean;
55
- columnSort: (..._args: any[]) => boolean;
56
- colFilterSave: (..._args: any[]) => boolean;
57
- rowClick: (..._args: any[]) => boolean;
58
- rowDblclick: (..._args: any[]) => boolean;
59
- rowExpand: (..._args: any[]) => boolean;
60
- select: (..._args: any[]) => boolean;
61
- selectAll: (..._args: any[]) => boolean;
62
- selectionChange: (..._args: any[]) => boolean;
63
- pageLimitChange: (..._args: any[]) => boolean;
64
- pageValueChange: (..._args: any[]) => boolean;
65
- settingChange: (..._args: any[]) => boolean;
66
- scrollBottom: (..._args: any[]) => boolean;
67
- cellClick: (..._args: any[]) => boolean;
68
- cellDblclick: (..._args: any[]) => boolean;
69
- rowMouseEnter: (..._args: any[]) => boolean;
70
- rowMouseLeave: (..._args: any[]) => boolean;
71
- };
72
- export declare const CELL_EVENT_TYPES: {
73
- click: (..._args: any[]) => boolean;
74
- dblclick: (..._args: any[]) => boolean;
75
- };
76
22
  /**
77
23
  * Table Row Attributes
78
24
  */
@@ -81,15 +27,28 @@ export declare const TABLE_ROW_ATTRIBUTE: {
81
27
  ROW_UID: string;
82
28
  ROW_EXPAND: string;
83
29
  ROW_SELECTION: string;
84
- ROW_SELECTION_ALL: string;
85
30
  ROW_SELECTION_INDETERMINATE: string;
86
31
  ROW_SOURCE_DATA: string;
87
32
  ROW_SKIP_CFG: string;
33
+ ROW_SPAN: string;
88
34
  };
89
35
  export declare const COLUMN_ATTRIBUTE: {
90
36
  COL_UID: string;
91
37
  COL_SOURCE_DATA: string;
92
- SORT_TYPE: string;
38
+ COL_MIN_WIDTH: string;
39
+ COL_SORT_ACTIVE: string;
40
+ COL_SORT_TYPE: string;
41
+ COL_SORT_FN: string;
42
+ COL_SORT_SCOPE: string;
43
+ COL_FILTER_FN: string;
44
+ COL_FILTER_SCOPE: string;
45
+ COL_IS_DRAG: string;
46
+ COL_SPAN: string;
47
+ WIDTH: string;
48
+ CALC_WIDTH: string;
49
+ RESIZE_WIDTH: string;
50
+ LISTENERS: string;
51
+ IS_HIDDEN: string;
93
52
  };
94
53
  /**
95
54
  * Y 轴滚动条宽度
@@ -99,6 +58,17 @@ export declare const SCROLLY_WIDTH = 6;
99
58
  * 默认行高
100
59
  */
101
60
  export declare const LINE_HEIGHT = 42;
61
+ export declare enum IHeadColor {
62
+ DEF1 = "def1",
63
+ DEF2 = "def2"
64
+ }
65
+ /**
66
+ * 根据表格的使用场景,表头支持颜色自定义,默认提供的选项:FAFBFD、F0F1F5,尽量一个项目选用同一种颜色。
67
+ */
68
+ export declare const DEF_COLOR: {
69
+ def1: string;
70
+ def2: string;
71
+ };
102
72
  export declare const SETTING_SIZE: {
103
73
  large: number;
104
74
  medium: number;
@@ -115,6 +85,11 @@ export declare const createDefaultSizeList: (t: ComputedRef<Language['table']>)
115
85
  export declare const PROVIDE_KEY_INIT_COL = "InitColumns";
116
86
  export declare const PROVIDE_KEY_TB_CACHE = "BKTableCahce";
117
87
  export declare const BK_COLUMN_UPDATE_DEFINE = "Bk_COlumn_Update_Define";
88
+ /**
89
+ * 表格底部高度
90
+ * 分页组件
91
+ */
92
+ export declare const TB_FOOT_HEIGHT = 60;
118
93
  /**
119
94
  * 排序可选择项
120
95
  */
@@ -129,3 +104,12 @@ export declare const SORT_OPTIONS: SORT_OPTION[];
129
104
  * 列宽最小设置
130
105
  */
131
106
  export declare const COL_MIN_WIDTH = 80;
107
+ export type IEmptyObject = {};
108
+ /**
109
+ * 全选对象
110
+ */
111
+ export declare const CHECK_ALL_OBJ: IEmptyObject;
112
+ /**
113
+ * 是否设置了colspan或者rowspan
114
+ */
115
+ export declare const NEED_COL_ROW_SPAN: IEmptyObject;