bkui-vue 2.0.1-beta.8 → 2.0.1-beta.81

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 (442) hide show
  1. package/README.md +15 -0
  2. package/dist/index.cjs.js +167 -167
  3. package/dist/index.esm.js +32462 -31824
  4. package/dist/index.umd.js +167 -167
  5. package/dist/style.css +1 -1
  6. package/dist/style.variable.css +1 -1
  7. package/lib/affix/affix.css +130 -0
  8. package/lib/affix/affix.variable.css +262 -1
  9. package/lib/affix/index.js +7 -7
  10. package/lib/alert/alert.css +133 -3
  11. package/lib/alert/alert.d.ts +5 -12
  12. package/lib/alert/alert.variable.css +262 -1
  13. package/lib/alert/index.d.ts +11 -26
  14. package/lib/alert/index.js +6 -6
  15. package/lib/backtop/backtop.css +133 -3
  16. package/lib/backtop/backtop.d.ts +1 -1
  17. package/lib/backtop/backtop.variable.css +395 -4
  18. package/lib/backtop/index.d.ts +3 -3
  19. package/lib/backtop/index.js +6 -6
  20. package/lib/badge/badge.css +156 -26
  21. package/lib/badge/badge.variable.css +262 -1
  22. package/lib/badge/index.js +1 -1
  23. package/lib/breadcrumb/breadcrumb.css +135 -5
  24. package/lib/breadcrumb/breadcrumb.variable.css +397 -6
  25. package/lib/button/button.css +417 -243
  26. package/lib/button/button.d.ts +8 -8
  27. package/lib/button/button.less +74 -71
  28. package/lib/button/button.variable.css +450 -145
  29. package/lib/button/index.d.ts +11 -11
  30. package/lib/button/index.js +6 -7
  31. package/lib/card/card.css +134 -4
  32. package/lib/card/card.variable.css +396 -5
  33. package/lib/cascader/cascader-panel.d.ts +6 -1
  34. package/lib/cascader/cascader.css +153 -23
  35. package/lib/cascader/cascader.d.ts +5 -1
  36. package/lib/cascader/cascader.variable.css +415 -24
  37. package/lib/cascader/index.d.ts +1 -0
  38. package/lib/cascader/index.js +110 -40
  39. package/lib/cascader/interface.d.ts +1 -1
  40. package/lib/checkbox/checkbox-group.d.ts +0 -16
  41. package/lib/checkbox/checkbox.css +147 -9
  42. package/lib/checkbox/checkbox.d.ts +39 -7
  43. package/lib/checkbox/checkbox.less +12 -0
  44. package/lib/checkbox/checkbox.variable.css +270 -1
  45. package/lib/checkbox/index.d.ts +57 -22
  46. package/lib/checkbox/index.js +21 -8
  47. package/lib/checkbox/type.d.ts +1 -1
  48. package/lib/code-diff/code-diff.css +130 -0
  49. package/lib/code-diff/code-diff.variable.css +262 -1
  50. package/lib/code-diff/index.js +8 -8
  51. package/lib/collapse/collapse.css +131 -1
  52. package/lib/collapse/collapse.variable.css +262 -1
  53. package/lib/collapse/index.js +2 -2
  54. package/lib/collapse/utils.d.ts +2 -2
  55. package/lib/collapse-transition/collapse-transition.css +130 -0
  56. package/lib/collapse-transition/collapse-transition.variable.css +262 -1
  57. package/lib/color-picker/color-picker.css +130 -0
  58. package/lib/color-picker/color-picker.d.ts +16 -0
  59. package/lib/color-picker/color-picker.variable.css +262 -1
  60. package/lib/color-picker/index.d.ts +23 -0
  61. package/lib/color-picker/index.js +52 -45
  62. package/lib/components.d.ts +32 -32
  63. package/lib/components.js +31 -31
  64. package/lib/config-provider/config-provider.css +130 -0
  65. package/lib/config-provider/config-provider.variable.css +262 -1
  66. package/lib/config-provider/index.d.ts +1 -1
  67. package/lib/container/container.css +130 -0
  68. package/lib/container/container.variable.css +392 -1
  69. package/lib/container/index.js +6 -7
  70. package/lib/date-picker/base/date-table.d.ts +1 -1
  71. package/lib/date-picker/base/month-table.d.ts +1 -1
  72. package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
  73. package/lib/date-picker/base/year-table.d.ts +1 -1
  74. package/lib/date-picker/date-picker.css +147 -17
  75. package/lib/date-picker/date-picker.d.ts +0 -10
  76. package/lib/date-picker/date-picker.variable.css +262 -1
  77. package/lib/date-picker/index.d.ts +0 -22
  78. package/lib/date-picker/index.js +256 -219
  79. package/lib/date-picker/interface.d.ts +9 -9
  80. package/lib/date-picker/panel/date-range.d.ts +5 -5
  81. package/lib/date-picker/panel/date.d.ts +1 -1
  82. package/lib/date-picker/panel/time-range.d.ts +1 -10
  83. package/lib/date-picker/panel/time.d.ts +2 -11
  84. package/lib/date-picker/props.d.ts +1 -5
  85. package/lib/date-picker/time-picker.d.ts +0 -9
  86. package/lib/date-picker/utils.d.ts +1 -1
  87. package/lib/dialog/dialog.css +138 -8
  88. package/lib/dialog/dialog.d.ts +42 -26
  89. package/lib/dialog/dialog.variable.css +400 -9
  90. package/lib/dialog/index.d.ts +90 -56
  91. package/lib/dialog/index.js +25 -23
  92. package/lib/dialog/props.d.ts +18 -11
  93. package/lib/directives/index.d.ts +4 -3
  94. package/lib/directives/index.js +198 -176
  95. package/lib/directives/tooltips.d.ts +1 -1
  96. package/lib/dist.index.js +2 -4
  97. package/lib/divider/divider.css +133 -3
  98. package/lib/divider/divider.d.ts +5 -5
  99. package/lib/divider/divider.variable.css +262 -1
  100. package/lib/divider/index.d.ts +11 -11
  101. package/lib/divider/index.js +2 -2
  102. package/lib/divider/props.d.ts +2 -2
  103. package/lib/dropdown/dropdown-item.d.ts +1 -1
  104. package/lib/dropdown/dropdown-menu.d.ts +1 -1
  105. package/lib/dropdown/dropdown.css +130 -0
  106. package/lib/dropdown/dropdown.d.ts +5 -5
  107. package/lib/dropdown/dropdown.variable.css +392 -1
  108. package/lib/dropdown/index.d.ts +13 -13
  109. package/lib/dropdown/index.js +7 -7
  110. package/lib/exception/exception.css +130 -0
  111. package/lib/exception/exception.d.ts +9 -9
  112. package/lib/exception/exception.variable.css +262 -1
  113. package/lib/exception/index.d.ts +11 -11
  114. package/lib/exception/index.js +10 -10
  115. package/lib/exception/typings/index.d.ts +1 -1
  116. package/lib/fixed-navbar/fixed-navbar.css +134 -4
  117. package/lib/fixed-navbar/fixed-navbar.variable.css +262 -1
  118. package/lib/fixed-navbar/index.js +2 -2
  119. package/lib/form/form-item.d.ts +7 -19
  120. package/lib/form/form.css +130 -0
  121. package/lib/form/form.d.ts +2 -2
  122. package/lib/form/form.variable.css +262 -1
  123. package/lib/form/index.d.ts +7 -14
  124. package/lib/form/index.js +22 -21
  125. package/lib/form/type.d.ts +2 -2
  126. package/lib/icon/index.d.ts +11 -11
  127. package/lib/icon/index.js +11 -11
  128. package/lib/image/image-viewer.css +130 -0
  129. package/lib/image/image-viewer.d.ts +1 -1
  130. package/lib/image/image-viewer.variable.css +262 -1
  131. package/lib/image/image.css +130 -0
  132. package/lib/image/image.variable.css +392 -1
  133. package/lib/image/index.js +20 -21
  134. package/lib/index.d.ts +9 -3
  135. package/lib/index.js +5 -29
  136. package/lib/info-box/index.js +17 -18
  137. package/lib/info-box/info-box.css +134 -4
  138. package/lib/info-box/info-box.d.ts +15 -15
  139. package/lib/info-box/info-box.variable.css +262 -1
  140. package/lib/input/index.d.ts +15 -15
  141. package/lib/input/index.js +63 -516
  142. package/lib/input/input.css +225 -73
  143. package/lib/input/input.d.ts +15 -15
  144. package/lib/input/input.less +30 -1
  145. package/lib/input/input.variable.css +487 -74
  146. package/lib/link/index.d.ts +11 -11
  147. package/lib/link/index.js +3 -3
  148. package/lib/link/link.css +146 -16
  149. package/lib/link/link.d.ts +5 -5
  150. package/lib/link/link.variable.css +262 -1
  151. package/lib/loading/index.d.ts +12 -11
  152. package/lib/loading/index.js +10 -8
  153. package/lib/loading/loading.css +146 -16
  154. package/lib/loading/loading.d.ts +8 -8
  155. package/lib/loading/loading.variable.css +408 -17
  156. package/lib/locale/index.d.ts +1 -1
  157. package/lib/menu/index.js +0 -1
  158. package/lib/menu/menu.css +148 -18
  159. package/lib/menu/menu.variable.css +410 -19
  160. package/lib/menu/submenu.css +130 -0
  161. package/lib/menu/submenu.variable.css +262 -1
  162. package/lib/menu/utils.d.ts +3 -3
  163. package/lib/message/index.js +18 -18
  164. package/lib/message/message.css +153 -22
  165. package/lib/message/message.less +3 -2
  166. package/lib/message/message.variable.css +264 -2
  167. package/lib/message/messageConstructor.d.ts +16 -16
  168. package/lib/modal/index.d.ts +49 -8
  169. package/lib/modal/index.js +49 -28
  170. package/lib/modal/modal.css +134 -4
  171. package/lib/modal/modal.d.ts +19 -3
  172. package/lib/modal/modal.variable.css +396 -5
  173. package/lib/modal/props.mixin.d.ts +8 -1
  174. package/lib/navigation/index.js +20 -20
  175. package/lib/navigation/navigation.css +132 -2
  176. package/lib/navigation/navigation.d.ts +1 -1
  177. package/lib/navigation/navigation.variable.css +262 -1
  178. package/lib/notify/index.js +4 -4
  179. package/lib/notify/notify.css +137 -7
  180. package/lib/notify/notify.variable.css +262 -1
  181. package/lib/notify/notifyConstructor.d.ts +5 -5
  182. package/lib/overflow-title/components/overflow-title.d.ts +9 -16
  183. package/lib/overflow-title/index.d.ts +19 -34
  184. package/lib/overflow-title/index.js +75 -18
  185. package/lib/overflow-title/props.d.ts +18 -21
  186. package/lib/pagination/index.d.ts +0 -19
  187. package/lib/pagination/index.js +61 -23
  188. package/lib/pagination/pagination.css +139 -9
  189. package/lib/pagination/pagination.d.ts +0 -13
  190. package/lib/pagination/pagination.less +14 -13
  191. package/lib/pagination/pagination.variable.css +270 -9
  192. package/lib/pagination/type.d.ts +1 -1
  193. package/lib/pagination/use-limit.d.ts +1 -1
  194. package/lib/pagination/use-total.d.ts +1 -1
  195. package/lib/plugin-popover/index.js +20 -21
  196. package/lib/pop-confirm/index.d.ts +11 -43
  197. package/lib/pop-confirm/index.js +27 -28
  198. package/lib/pop-confirm/pop-confirm.css +133 -1
  199. package/lib/pop-confirm/pop-confirm.d.ts +5 -19
  200. package/lib/pop-confirm/pop-confirm.less +3 -1
  201. package/lib/pop-confirm/pop-confirm.variable.css +265 -2
  202. package/lib/pop-confirm/props.d.ts +5 -11
  203. package/lib/popover/const.d.ts +3 -3
  204. package/lib/popover/index.d.ts +19 -19
  205. package/lib/popover/index.js +20 -21
  206. package/lib/popover/plugin-popover.d.ts +1 -1
  207. package/lib/popover/popover.css +130 -0
  208. package/lib/popover/popover.d.ts +7 -7
  209. package/lib/popover/popover.variable.css +262 -1
  210. package/lib/popover/props.d.ts +4 -4
  211. package/lib/preset.d.ts +0 -1
  212. package/lib/preset.js +0 -1
  213. package/lib/process/index.js +3 -3
  214. package/lib/process/process.css +143 -13
  215. package/lib/process/process.variable.css +262 -1
  216. package/lib/progress/index.d.ts +11 -11
  217. package/lib/progress/index.js +10 -11
  218. package/lib/progress/progress.css +134 -4
  219. package/lib/progress/progress.d.ts +7 -7
  220. package/lib/progress/progress.variable.css +396 -5
  221. package/lib/radio/index.d.ts +21 -21
  222. package/lib/radio/index.js +28 -17
  223. package/lib/radio/radio-button.d.ts +7 -7
  224. package/lib/radio/radio-group.d.ts +7 -7
  225. package/lib/radio/radio.css +172 -42
  226. package/lib/radio/radio.d.ts +7 -7
  227. package/lib/radio/radio.variable.css +262 -1
  228. package/lib/radio/type.d.ts +1 -1
  229. package/lib/rate/index.js +8 -8
  230. package/lib/rate/rate.css +130 -0
  231. package/lib/rate/rate.variable.css +262 -1
  232. package/lib/resize-layout/index.d.ts +34 -11
  233. package/lib/resize-layout/index.js +33 -14
  234. package/lib/resize-layout/resize-layout.css +130 -0
  235. package/lib/resize-layout/resize-layout.d.ts +16 -5
  236. package/lib/resize-layout/resize-layout.variable.css +262 -1
  237. package/lib/scrollbar/css/scrollbar.css +239 -0
  238. package/lib/scrollbar/css/scrollbar.less +139 -0
  239. package/lib/scrollbar/css/scrollbar.variable.css +499 -0
  240. package/lib/scrollbar/handlers/click-rail.d.ts +2 -0
  241. package/lib/scrollbar/handlers/drag-thumb.d.ts +1 -0
  242. package/lib/scrollbar/handlers/keyboard.d.ts +2 -0
  243. package/lib/scrollbar/handlers/mouse-wheel.d.ts +2 -0
  244. package/lib/scrollbar/handlers/touch.d.ts +4 -0
  245. package/lib/scrollbar/helper/class-names.d.ts +21 -0
  246. package/lib/scrollbar/helper/css.d.ts +3 -0
  247. package/lib/scrollbar/helper/dom.d.ts +4 -0
  248. package/lib/scrollbar/helper/event-manager.d.ts +20 -0
  249. package/lib/scrollbar/helper/util.d.ts +11 -0
  250. package/lib/scrollbar/index.d.ts +133 -13
  251. package/lib/scrollbar/index.js +1332 -18434
  252. package/lib/scrollbar/process-scroll-diff.d.ts +1 -0
  253. package/lib/scrollbar/update-geometry.d.ts +8 -0
  254. package/lib/search-select/index.d.ts +100 -78
  255. package/lib/search-select/index.js +344 -213
  256. package/lib/search-select/input.d.ts +17 -6
  257. package/lib/search-select/menu.d.ts +13 -1
  258. package/lib/search-select/search-select.css +163 -35
  259. package/lib/search-select/search-select.d.ts +33 -43
  260. package/lib/search-select/search-select.less +2 -2
  261. package/lib/search-select/search-select.variable.css +425 -36
  262. package/lib/search-select/selected.d.ts +35 -10
  263. package/lib/search-select/utils.d.ts +6 -6
  264. package/lib/select/common.d.ts +4 -4
  265. package/lib/select/index.d.ts +155 -77
  266. package/lib/select/index.js +296 -197
  267. package/lib/select/option.d.ts +5 -6
  268. package/lib/select/select.css +175 -43
  269. package/lib/select/select.d.ts +62 -28
  270. package/lib/select/select.less +7 -4
  271. package/lib/select/select.variable.css +437 -44
  272. package/lib/select/selectTagInput.d.ts +7 -6
  273. package/lib/select/type.d.ts +10 -11
  274. package/lib/shared/frame-throttle.d.ts +15 -0
  275. package/lib/shared/index.d.ts +2 -1
  276. package/lib/shared/index.js +110 -47
  277. package/lib/shared/popover.d.ts +3 -3
  278. package/lib/shared/token.d.ts +1 -1
  279. package/lib/shared/vue-types.d.ts +48 -48
  280. package/lib/shared/z-index-manager.d.ts +6 -6
  281. package/lib/sideslider/index.d.ts +41 -7
  282. package/lib/sideslider/index.js +12 -11
  283. package/lib/sideslider/sideslider.css +138 -9
  284. package/lib/sideslider/sideslider.d.ts +19 -3
  285. package/lib/sideslider/sideslider.less +7 -8
  286. package/lib/sideslider/sideslider.variable.css +269 -9
  287. package/lib/slider/index.js +21 -23
  288. package/lib/slider/slider.css +135 -5
  289. package/lib/slider/slider.variable.css +262 -1
  290. package/lib/steps/index.d.ts +14 -29
  291. package/lib/steps/index.js +3 -4
  292. package/lib/steps/steps.css +168 -38
  293. package/lib/steps/steps.d.ts +8 -18
  294. package/lib/steps/steps.variable.css +262 -1
  295. package/lib/styles/index.d.ts +1 -0
  296. package/lib/styles/mixins/animate.css +130 -0
  297. package/lib/styles/mixins/animate.variable.css +262 -1
  298. package/lib/styles/mixins/mixins.css +130 -0
  299. package/lib/styles/mixins/mixins.variable.css +130 -0
  300. package/lib/styles/mixins/popper.css +130 -0
  301. package/lib/styles/mixins/popper.variable.css +262 -1
  302. package/lib/styles/mixins/scroll.css +130 -0
  303. package/lib/styles/mixins/scroll.variable.css +262 -1
  304. package/lib/styles/reset.css +130 -0
  305. package/lib/styles/reset.variable.css +262 -1
  306. package/lib/{scrollbar/scrollbar.variable.css → styles/themes/themes.css} +2 -76
  307. package/lib/styles/themes/themes.less +299 -129
  308. package/lib/styles/themes/themes.variable.css +130 -0
  309. package/lib/swiper/index.js +5 -5
  310. package/lib/swiper/swiper.css +130 -0
  311. package/lib/swiper/swiper.variable.css +262 -1
  312. package/lib/switcher/index.d.ts +11 -11
  313. package/lib/switcher/index.js +2 -2
  314. package/lib/switcher/switcher.css +147 -17
  315. package/lib/switcher/switcher.d.ts +9 -9
  316. package/lib/switcher/switcher.variable.css +409 -18
  317. package/lib/tab/index.d.ts +44 -114
  318. package/lib/tab/index.js +60 -49
  319. package/lib/tab/props.d.ts +25 -50
  320. package/lib/tab/tab-nav.d.ts +26 -66
  321. package/lib/tab/tab-panel.d.ts +22 -0
  322. package/lib/tab/tab.css +211 -17
  323. package/lib/tab/tab.d.ts +10 -54
  324. package/lib/tab/tab.less +91 -4
  325. package/lib/tab/tab.variable.css +326 -1
  326. package/lib/table/components/ghost-body.d.ts +2 -0
  327. package/lib/table/components/table-cell.d.ts +22 -0
  328. package/lib/table/components/table-column.d.ts +23 -126
  329. package/lib/table/const.d.ts +23 -10
  330. package/lib/table/events.d.ts +16 -112
  331. package/lib/table/hooks/use-cell.d.ts +20 -0
  332. package/lib/table/hooks/use-column-resize.d.ts +7 -0
  333. package/lib/table/hooks/use-column-template.d.ts +5 -0
  334. package/lib/table/hooks/use-columns.d.ts +69 -0
  335. package/lib/table/{plugins → hooks}/use-draggable.d.ts +2 -2
  336. package/lib/table/hooks/use-fixed-column.d.ts +10 -0
  337. package/lib/table/hooks/use-head.d.ts +16 -0
  338. package/lib/table/hooks/use-layout.d.ts +25 -0
  339. package/lib/table/hooks/use-pagination.d.ts +16 -0
  340. package/lib/table/hooks/use-render.d.ts +21 -0
  341. package/lib/table/hooks/use-rows.d.ts +30 -0
  342. package/lib/table/hooks/use-settings.d.ts +136 -0
  343. package/lib/table/{plugins → hooks}/use-shift-key.d.ts +4 -2
  344. package/lib/table/index.d.ts +112 -634
  345. package/lib/table/index.js +4089 -3559
  346. package/lib/table/plugins/head-filter.css +135 -0
  347. package/lib/table/plugins/head-filter.d.ts +2 -1
  348. package/lib/table/plugins/head-filter.less +4 -0
  349. package/lib/table/plugins/head-filter.variable.css +267 -1
  350. package/lib/table/plugins/head-sort.css +130 -0
  351. package/lib/table/plugins/head-sort.variable.css +262 -1
  352. package/lib/table/plugins/settings.css +131 -0
  353. package/lib/table/plugins/settings.less +1 -0
  354. package/lib/table/plugins/settings.variable.css +263 -1
  355. package/lib/table/props.d.ts +125 -62
  356. package/lib/table/table.css +753 -431
  357. package/lib/table/table.d.ts +51 -185
  358. package/lib/table/table.less +244 -112
  359. package/lib/table/table.variable.css +1058 -475
  360. package/lib/table/utils.d.ts +49 -21
  361. package/lib/table-column/index.d.ts +30 -289
  362. package/lib/table-column/index.js +17385 -46
  363. package/lib/tag/index.d.ts +11 -11
  364. package/lib/tag/index.js +2 -3
  365. package/lib/tag/tag.css +136 -6
  366. package/lib/tag/tag.d.ts +5 -5
  367. package/lib/tag/tag.less +1 -1
  368. package/lib/tag/tag.variable.css +263 -2
  369. package/lib/tag-input/common.d.ts +2 -2
  370. package/lib/tag-input/index.d.ts +14 -11
  371. package/lib/tag-input/index.js +72 -52
  372. package/lib/tag-input/tag-input.css +157 -27
  373. package/lib/tag-input/tag-input.d.ts +8 -19
  374. package/lib/tag-input/tag-input.less +9 -9
  375. package/lib/tag-input/tag-input.variable.css +271 -10
  376. package/lib/tag-input/tag-props.d.ts +2 -2
  377. package/lib/time-picker/index.d.ts +0 -19
  378. package/lib/time-picker/time-picker.css +130 -0
  379. package/lib/time-picker/time-picker.variable.css +262 -1
  380. package/lib/timeline/index.js +2 -2
  381. package/lib/timeline/timeline.css +149 -19
  382. package/lib/timeline/timeline.variable.css +262 -1
  383. package/lib/transfer/const.d.ts +2 -2
  384. package/lib/transfer/index.js +3 -5
  385. package/lib/transfer/transfer.css +149 -19
  386. package/lib/transfer/transfer.variable.css +262 -1
  387. package/lib/tree/constant.d.ts +22 -20
  388. package/lib/tree/index.d.ts +41 -27
  389. package/lib/tree/index.js +109 -58
  390. package/lib/tree/props.d.ts +18 -11
  391. package/lib/tree/tree.css +242 -78
  392. package/lib/tree/tree.d.ts +17 -17
  393. package/lib/tree/tree.variable.css +504 -79
  394. package/lib/tree/use-empty.d.ts +1 -1
  395. package/lib/tree/use-node-action.d.ts +10 -9
  396. package/lib/tree/use-node-async.d.ts +2 -1
  397. package/lib/tree/use-node-attribute.d.ts +42 -34
  398. package/lib/tree/use-search.d.ts +1 -1
  399. package/lib/tree/use-tree-init.d.ts +8 -5
  400. package/lib/tree/util.d.ts +21 -21
  401. package/lib/upload/index.d.ts +27 -4
  402. package/lib/upload/index.js +86 -42
  403. package/lib/upload/props.d.ts +7 -2
  404. package/lib/upload/upload.css +157 -27
  405. package/lib/upload/upload.d.ts +13 -2
  406. package/lib/upload/upload.type.d.ts +12 -6
  407. package/lib/upload/upload.variable.css +419 -28
  408. package/lib/upload/use-file-handler.d.ts +1 -1
  409. package/lib/virtual-render/index.d.ts +12 -46
  410. package/lib/virtual-render/index.js +17468 -148
  411. package/lib/virtual-render/props.d.ts +2 -9
  412. package/lib/virtual-render/use-fix-top.d.ts +1 -1
  413. package/lib/virtual-render/use-scrollbar.d.ts +4 -17
  414. package/lib/virtual-render/v-virtual-render.d.ts +7 -1
  415. package/lib/virtual-render/virtual-render.css +225 -69
  416. package/lib/virtual-render/virtual-render.d.ts +6 -22
  417. package/lib/virtual-render/virtual-render.less +2 -11
  418. package/lib/virtual-render/virtual-render.variable.css +487 -70
  419. package/lib/volar.components.d.ts +2 -0
  420. package/package.json +17 -55
  421. package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +0 -2
  422. package/lib/scrollbar/scrollbar-core/helpers.d.ts +0 -5
  423. package/lib/scrollbar/scrollbar-core/index.d.ts +0 -241
  424. package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +0 -5
  425. package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +0 -1
  426. package/lib/scrollbar/scrollbar.css +0 -75
  427. package/lib/scrollbar/scrollbar.less +0 -94
  428. package/lib/table/plugins/col-group.d.ts +0 -38
  429. package/lib/table/plugins/settings.d.ts +0 -16
  430. package/lib/table/plugins/use-active-columns.d.ts +0 -16
  431. package/lib/table/plugins/use-column-resize.d.ts +0 -35
  432. package/lib/table/plugins/use-column-template.d.ts +0 -7
  433. package/lib/table/plugins/use-fixed-column.d.ts +0 -27
  434. package/lib/table/plugins/use-head-cell.d.ts +0 -7
  435. package/lib/table/plugins/use-pagination.d.ts +0 -23
  436. package/lib/table/use-attributes.d.ts +0 -62
  437. package/lib/table/use-column.d.ts +0 -275
  438. package/lib/table/use-common.d.ts +0 -1679
  439. package/lib/table/use-render.d.ts +0 -11
  440. /package/lib/table/{plugins → components}/body-empty.d.ts +0 -0
  441. /package/lib/table/{plugins → hooks}/use-observer-resize.d.ts +0 -0
  442. /package/lib/table/{plugins → hooks}/use-scroll-loading.d.ts +0 -0
@@ -4,6 +4,7 @@ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../sh
4
4
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
5
5
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_popover_9b03f19d__ from "../popover";
6
6
  import "../popover/popover.less";
7
+ import * as __WEBPACK_EXTERNAL_MODULE_lodash_merge_cf99375a__ from "lodash/merge";
7
8
  import * as __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__ from "vue-types";
8
9
  /******/ // The require scope
9
10
  /******/ var __webpack_require__ = {};
@@ -54,30 +55,59 @@ const popover_namespaceObject = popover_x({ ["default"]: () => __WEBPACK_EXTERNA
54
55
  var popover_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
55
56
  var popover_less_y = x => () => x
56
57
  const popover_less_namespaceObject = popover_less_x({ });
58
+ ;// CONCATENATED MODULE: external "lodash/merge"
59
+ var merge_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
60
+ var merge_y = x => () => x
61
+ const merge_namespaceObject = merge_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_merge_cf99375a__["default"] });
57
62
  ;// CONCATENATED MODULE: external "vue-types"
58
63
  var external_vue_types_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
59
64
  var external_vue_types_y = x => () => x
60
65
  const external_vue_types_namespaceObject = external_vue_types_x({ ["string"]: () => __WEBPACK_EXTERNAL_MODULE_vue_types_22de060a__.string });
61
66
  ;// CONCATENATED MODULE: ../../packages/overflow-title/src/props.ts
67
+ /*
68
+ * Tencent is pleased to support the open source community by making
69
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
70
+ *
71
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
72
+ *
73
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
74
+ *
75
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
76
+ *
77
+ * ---------------------------------------------------
78
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
79
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
80
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
81
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
82
+ *
83
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
84
+ * the Software.
85
+ *
86
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
87
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
88
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
89
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
90
+ * IN THE SOFTWARE.
91
+ */
62
92
 
63
93
 
64
94
  var PlacementEnum;
65
95
  (function (PlacementEnum) {
66
96
  PlacementEnum["AUTO"] = "auto";
67
- PlacementEnum["AUTO_START"] = "auto-start";
68
97
  PlacementEnum["AUTO_END"] = "auto-end";
69
- PlacementEnum["TOP"] = "top";
70
- PlacementEnum["RIGHT"] = "right";
98
+ PlacementEnum["AUTO_START"] = "auto-start";
71
99
  PlacementEnum["BOTTOM"] = "bottom";
72
- PlacementEnum["LEFT"] = "left";
73
- PlacementEnum["TOP_START"] = "top-start";
74
- PlacementEnum["TOP_END"] = "top-end";
75
- PlacementEnum["BOTTOM_START"] = "bottom-start";
76
100
  PlacementEnum["BOTTOM_END"] = "bottom-end";
77
- PlacementEnum["RIGHT_START"] = "right-start";
78
- PlacementEnum["RIGHT_END"] = "right-end";
79
- PlacementEnum["LEFT_START"] = "left-start";
101
+ PlacementEnum["BOTTOM_START"] = "bottom-start";
102
+ PlacementEnum["LEFT"] = "left";
80
103
  PlacementEnum["LEFT_END"] = "left-end";
104
+ PlacementEnum["LEFT_START"] = "left-start";
105
+ PlacementEnum["RIGHT"] = "right";
106
+ PlacementEnum["RIGHT_END"] = "right-end";
107
+ PlacementEnum["RIGHT_START"] = "right-start";
108
+ PlacementEnum["TOP"] = "top";
109
+ PlacementEnum["TOP_END"] = "top-end";
110
+ PlacementEnum["TOP_START"] = "top-start";
81
111
  })(PlacementEnum || (PlacementEnum = {}));
82
112
  function placementType() {
83
113
  return (0,external_vue_types_namespaceObject.string)().def(PlacementEnum.BOTTOM);
@@ -85,7 +115,6 @@ function placementType() {
85
115
  /* harmony default export */ const props = ({
86
116
  content: shared_namespaceObject.PropTypes.string,
87
117
  type: shared_namespaceObject.PropTypes.oneOf(['tips', 'title']).def('title'),
88
- calType: shared_namespaceObject.PropTypes.oneOf(['dom', 'canvas']).def('dom'),
89
118
  boundary: shared_namespaceObject.PropTypes.oneOfType([shared_namespaceObject.PropTypes.string.def('parent'), shared_namespaceObject.PropTypes.instanceOf(HTMLElement)]).def(document.body),
90
119
  placement: placementType().def(PlacementEnum.TOP_START),
91
120
  resizeable: shared_namespaceObject.PropTypes.bool,
@@ -93,6 +122,32 @@ function placementType() {
93
122
  });
94
123
  ;// CONCATENATED MODULE: ../../packages/overflow-title/src/components/overflow-title.tsx
95
124
 
125
+ /*
126
+ * Tencent is pleased to support the open source community by making
127
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
128
+ *
129
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
130
+ *
131
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
132
+ *
133
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
134
+ *
135
+ * ---------------------------------------------------
136
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
137
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
138
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
139
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
140
+ *
141
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
142
+ * the Software.
143
+ *
144
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
145
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
146
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
147
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
148
+ * IN THE SOFTWARE.
149
+ */
150
+
96
151
 
97
152
 
98
153
 
@@ -158,16 +213,18 @@ function placementType() {
158
213
  },
159
214
  render: function render() {
160
215
  var _this = this;
216
+ /** popover 基础配置 */
217
+ var basePopoverOptions = {
218
+ boundary: this.boundary || document.body,
219
+ placement: this.placement,
220
+ popoverDelay: [200, 0],
221
+ disabled: this.type === 'title' || !this.isShowTips
222
+ };
223
+ var popoverOptions = (0,merge_namespaceObject["default"])(basePopoverOptions, this.popoverOptions);
161
224
  return (0,external_vue_namespaceObject.createVNode)("div", {
162
225
  "ref": "boxRef",
163
226
  "class": "position-relative"
164
- }, [(0,external_vue_namespaceObject.createVNode)(popover_namespaceObject["default"], (0,external_vue_namespaceObject.mergeProps)({
165
- "placement": this.placement,
166
- "boundary": this.boundary || document.body,
167
- "popoverDelay": [200, 0]
168
- }, props.popoverOptions, {
169
- "disabled": this.type === 'title' || !this.isShowTips
170
- }), {
227
+ }, [(0,external_vue_namespaceObject.createVNode)(popover_namespaceObject["default"], popoverOptions, {
171
228
  "default": function _default() {
172
229
  return (0,external_vue_namespaceObject.createVNode)("div", (0,external_vue_namespaceObject.mergeProps)({
173
230
  "ref": "textRef",
@@ -1,25 +1,25 @@
1
1
  import { PropType } from 'vue/dist/vue';
2
2
  export type TipsType = 'tips' | 'title';
3
- export type CalType = 'dom' | 'canvas';
3
+ export type CalType = 'canvas' | 'dom';
4
4
  export declare enum PlacementEnum {
5
5
  AUTO = "auto",
6
- AUTO_START = "auto-start",
7
6
  AUTO_END = "auto-end",
8
- TOP = "top",
9
- RIGHT = "right",
7
+ AUTO_START = "auto-start",
10
8
  BOTTOM = "bottom",
11
- LEFT = "left",
12
- TOP_START = "top-start",
13
- TOP_END = "top-end",
14
- BOTTOM_START = "bottom-start",
15
9
  BOTTOM_END = "bottom-end",
16
- RIGHT_START = "right-start",
17
- RIGHT_END = "right-end",
10
+ BOTTOM_START = "bottom-start",
11
+ LEFT = "left",
12
+ LEFT_END = "left-end",
18
13
  LEFT_START = "left-start",
19
- LEFT_END = "left-end"
14
+ RIGHT = "right",
15
+ RIGHT_END = "right-end",
16
+ RIGHT_START = "right-start",
17
+ TOP = "top",
18
+ TOP_END = "top-end",
19
+ TOP_START = "top-start"
20
20
  }
21
- export declare function placementType(): import("vue-types").VueTypeValidableDef<"auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end"> & {
22
- default: "auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
21
+ export declare function placementType(): import("vue-types").VueTypeValidableDef<"auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start"> & {
22
+ default: "auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start";
23
23
  };
24
24
  declare const _default: {
25
25
  content: import("vue-types").VueTypeValidableDef<string> & {
@@ -28,19 +28,16 @@ declare const _default: {
28
28
  type: import("vue-types").VueTypeDef<string> & {
29
29
  default: string;
30
30
  };
31
- calType: import("vue-types").VueTypeDef<string> & {
32
- default: string;
33
- };
34
31
  boundary: import("vue-types").VueTypeDef<string | HTMLElement> & {
35
32
  default: string | (() => HTMLElement);
36
33
  };
37
- placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end"> & {
38
- default: "auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
34
+ placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start"> & {
35
+ default: "auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start";
39
36
  };
40
37
  resizeable: import("vue-types").VueTypeValidableDef<boolean> & {
41
38
  default: boolean;
42
39
  };
43
- popoverOptions: PropType<Partial<Readonly<import("vue").ExtractPropTypes<{
40
+ popoverOptions: PropType<Partial<Readonly<import("@vue/runtime-core").ExtractPropTypes<{
44
41
  isShow: import("vue-types").VueTypeValidableDef<boolean> & {
45
42
  default: boolean;
46
43
  } & {
@@ -77,8 +74,8 @@ declare const _default: {
77
74
  } & {
78
75
  default: boolean;
79
76
  };
80
- placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end"> & {
81
- default: "auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
77
+ placement: import("vue-types").VueTypeValidableDef<"auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start"> & {
78
+ default: "auto" | "auto-end" | "auto-start" | "bottom" | "bottom-end" | "bottom-start" | "left" | "left-end" | "left-start" | "right" | "right-end" | "right-start" | "top" | "top-end" | "top-start";
82
79
  };
83
80
  theme: import("vue-types").VueTypeValidableDef<string> & {
84
81
  default: string;
@@ -34,7 +34,6 @@ declare const BkPagination: {
34
34
  align: import("vue-types").VueTypeDef<string> & {
35
35
  default: string;
36
36
  };
37
- size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
38
37
  small: import("vue-types").VueTypeValidableDef<boolean> & {
39
38
  default: boolean;
40
39
  } & {
@@ -56,9 +55,6 @@ declare const BkPagination: {
56
55
  } & {
57
56
  default: boolean;
58
57
  };
59
- beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
60
- default: (...args: any[]) => any;
61
- };
62
58
  layout: import("vue-types").VueTypeDef<string[]> & {
63
59
  default: () => string[];
64
60
  };
@@ -118,7 +114,6 @@ declare const BkPagination: {
118
114
  align: import("vue-types").VueTypeDef<string> & {
119
115
  default: string;
120
116
  };
121
- size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
122
117
  small: import("vue-types").VueTypeValidableDef<boolean> & {
123
118
  default: boolean;
124
119
  } & {
@@ -140,9 +135,6 @@ declare const BkPagination: {
140
135
  } & {
141
136
  default: boolean;
142
137
  };
143
- beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
144
- default: (...args: any[]) => any;
145
- };
146
138
  layout: import("vue-types").VueTypeDef<string[]> & {
147
139
  default: () => string[];
148
140
  };
@@ -159,7 +151,6 @@ declare const BkPagination: {
159
151
  location: string;
160
152
  count: number;
161
153
  modelValue: number;
162
- beforeChange: (...args: any[]) => any;
163
154
  prevText: string;
164
155
  nextText: string;
165
156
  align: string;
@@ -209,7 +200,6 @@ declare const BkPagination: {
209
200
  align: import("vue-types").VueTypeDef<string> & {
210
201
  default: string;
211
202
  };
212
- size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
213
203
  small: import("vue-types").VueTypeValidableDef<boolean> & {
214
204
  default: boolean;
215
205
  } & {
@@ -231,9 +221,6 @@ declare const BkPagination: {
231
221
  } & {
232
222
  default: boolean;
233
223
  };
234
- beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
235
- default: (...args: any[]) => any;
236
- };
237
224
  layout: import("vue-types").VueTypeDef<string[]> & {
238
225
  default: () => string[];
239
226
  };
@@ -266,7 +253,6 @@ declare const BkPagination: {
266
253
  location: string;
267
254
  count: number;
268
255
  modelValue: number;
269
- beforeChange: (...args: any[]) => any;
270
256
  prevText: string;
271
257
  nextText: string;
272
258
  align: string;
@@ -313,7 +299,6 @@ declare const BkPagination: {
313
299
  align: import("vue-types").VueTypeDef<string> & {
314
300
  default: string;
315
301
  };
316
- size: import("vue-types").VueTypeDef<"default" | "small" | "large" | "huge">;
317
302
  small: import("vue-types").VueTypeValidableDef<boolean> & {
318
303
  default: boolean;
319
304
  } & {
@@ -335,9 +320,6 @@ declare const BkPagination: {
335
320
  } & {
336
321
  default: boolean;
337
322
  };
338
- beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
339
- default: (...args: any[]) => any;
340
- };
341
323
  layout: import("vue-types").VueTypeDef<string[]> & {
342
324
  default: () => string[];
343
325
  };
@@ -370,7 +352,6 @@ declare const BkPagination: {
370
352
  location: string;
371
353
  count: number;
372
354
  modelValue: number;
373
- beforeChange: (...args: any[]) => any;
374
355
  prevText: string;
375
356
  nextText: string;
376
357
  align: string;
@@ -242,24 +242,22 @@ function _isSlot(s) {
242
242
  if (!proxy.showLimit) {
243
243
  return null;
244
244
  }
245
- return (0,external_vue_namespaceObject.createVNode)("div", (0,external_vue_namespaceObject.mergeProps)({
245
+ return (0,external_vue_namespaceObject.createVNode)("div", {
246
246
  "class": _defineProperty(_defineProperty(_defineProperty({}, resolveClassName('pagination-limit'), true), 'is-first', isFirst), 'is-last', isLast)
247
- }, {
248
- disabled: proxy.disabled
249
- }), [(0,external_vue_namespaceObject.createVNode)("div", null, [t.value.eachPage]), (0,external_vue_namespaceObject.createVNode)(select_namespaceObject["default"], {
247
+ }, [(0,external_vue_namespaceObject.createVNode)("div", null, [t.value.eachPage]), (0,external_vue_namespaceObject.createVNode)(select_namespaceObject["default"], {
250
248
  "class": "".concat(resolveClassName('pagination-limit-select')),
251
249
  "clearable": false,
250
+ "disabled": proxy.disabled,
251
+ "filterable": false,
252
+ "modelValue": localLimit.value,
252
253
  "size": "small",
253
254
  "withValidate": false,
254
- "modelValue": localLimit.value,
255
- "onChange": handleLimitChange,
256
- "disabled": proxy.disabled,
257
- "filterable": false
255
+ "onChange": handleLimitChange
258
256
  }, _isSlot(_slot = proxy.limitList.map(function (num, index) {
259
257
  return (0,external_vue_namespaceObject.createVNode)(select_namespaceObject.BkOption, {
260
258
  "id": num,
261
- "name": "".concat(num),
262
- "key": "".concat(index, "_").concat(num)
259
+ "key": "".concat(index, "_").concat(num),
260
+ "name": "".concat(num)
263
261
  }, null);
264
262
  })) ? _slot : {
265
263
  "default": function _default() {
@@ -371,6 +369,9 @@ var PAGE_ITEMS_NUM = 5;
371
369
  * @desc 上一页
372
370
  */
373
371
  var handlePrePage = function handlePrePage() {
372
+ if (proxy.disabled) {
373
+ return;
374
+ }
374
375
  if (isPagePreDisabled.value) {
375
376
  return;
376
377
  }
@@ -380,6 +381,9 @@ var PAGE_ITEMS_NUM = 5;
380
381
  * @desc 下一页
381
382
  */
382
383
  var handleNextPage = function handleNextPage() {
384
+ if (proxy.disabled) {
385
+ return;
386
+ }
383
387
  if (isPageNextDisabled.value) {
384
388
  return;
385
389
  }
@@ -390,6 +394,9 @@ var PAGE_ITEMS_NUM = 5;
390
394
  * @param { Number } totalPageNum
391
395
  */
392
396
  var handleItemClick = function handleItemClick(totalPageNum) {
397
+ if (proxy.disabled) {
398
+ return;
399
+ }
393
400
  if (totalPageNum === localCurrent.value) {
394
401
  return;
395
402
  }
@@ -399,12 +406,18 @@ var PAGE_ITEMS_NUM = 5;
399
406
  * @desc 上一批分页
400
407
  */
401
408
  var handlePreBatch = function handlePreBatch() {
409
+ if (proxy.disabled) {
410
+ return;
411
+ }
402
412
  localCurrent.value = Math.max(1, localCurrent.value - PAGE_ITEMS_NUM);
403
413
  };
404
414
  /**
405
415
  * @desc 下一批分页
406
416
  */
407
417
  var handleNextBatch = function handleNextBatch() {
418
+ if (proxy.disabled) {
419
+ return;
420
+ }
408
421
  localCurrent.value = Math.min(proxy.totalPageNum, localCurrent.value + PAGE_ITEMS_NUM);
409
422
  };
410
423
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
@@ -418,8 +431,8 @@ var PAGE_ITEMS_NUM = 5;
418
431
  "class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-list-pre')), true), 'is-disabled', isPagePreDisabled.value),
419
432
  "onClick": handlePrePage
420
433
  }, [proxy.prevText || (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.AngleLeft, null, null)]), (0,external_vue_namespaceObject.createVNode)("div", {
421
- "class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-list-item')), true), 'is-active', localCurrent.value === 1),
422
434
  "key": "1",
435
+ "class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-list-item')), true), 'is-active', localCurrent.value === 1),
423
436
  "onClick": function onClick() {
424
437
  return handleItemClick(1);
425
438
  }
@@ -429,8 +442,8 @@ var PAGE_ITEMS_NUM = 5;
429
442
  "onClick": handlePreBatch
430
443
  }, [(0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Ellipsis, null, null)]), list.value.map(function (num) {
431
444
  return (0,external_vue_namespaceObject.createVNode)("div", {
432
- "class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-list-item')), true), 'is-active', localCurrent.value === num),
433
445
  "key": num,
446
+ "class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-list-item')), true), 'is-active', localCurrent.value === num),
434
447
  "onClick": function onClick() {
435
448
  return handleItemClick(num);
436
449
  }
@@ -440,8 +453,8 @@ var PAGE_ITEMS_NUM = 5;
440
453
  "class": "".concat(resolveClassName('pagination-list-next-batch')),
441
454
  "onClick": handleNextBatch
442
455
  }, [(0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Ellipsis, null, null)]), proxy.totalPageNum > 1 && (0,external_vue_namespaceObject.createVNode)("div", {
443
- "class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-list-item')), true), 'is-active', localCurrent.value === proxy.totalPageNum),
444
456
  "key": "last",
457
+ "class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-list-item')), true), 'is-active', localCurrent.value === proxy.totalPageNum),
445
458
  "onClick": function onClick() {
446
459
  return handleItemClick(proxy.totalPageNum);
447
460
  }
@@ -502,6 +515,7 @@ const popover_less_namespaceObject = popover_less_x({ });
502
515
  var inputRef = (0,external_vue_namespaceObject.ref)(null);
503
516
  var isFocused = (0,external_vue_namespaceObject.ref)(false);
504
517
  var localCurrent = (0,external_vue_namespaceObject.ref)(1);
518
+ var isPopoverShow = (0,external_vue_namespaceObject.ref)(false);
505
519
  var isPagePreDisabled = (0,external_vue_namespaceObject.computed)(function () {
506
520
  return localCurrent.value === 1;
507
521
  });
@@ -549,6 +563,9 @@ const popover_less_namespaceObject = popover_less_x({ });
549
563
  * @desc 上一页
550
564
  */
551
565
  var handlePrePage = function handlePrePage() {
566
+ if (proxy.disabled) {
567
+ return;
568
+ }
552
569
  if (isPagePreDisabled.value) {
553
570
  return;
554
571
  }
@@ -558,6 +575,9 @@ const popover_less_namespaceObject = popover_less_x({ });
558
575
  * @desc 下一页
559
576
  */
560
577
  var handleNextPage = function handleNextPage() {
578
+ if (proxy.disabled) {
579
+ return;
580
+ }
561
581
  if (isPageNextDisabled.value) {
562
582
  return;
563
583
  }
@@ -567,6 +587,9 @@ const popover_less_namespaceObject = popover_less_x({ });
567
587
  * @desc 获得焦点
568
588
  */
569
589
  var handlePageEditorFocus = function handlePageEditorFocus() {
590
+ if (proxy.disabled) {
591
+ return;
592
+ }
570
593
  isFocused.value = true;
571
594
  };
572
595
  /**
@@ -574,6 +597,7 @@ const popover_less_namespaceObject = popover_less_x({ });
574
597
  */
575
598
  var handlePageEditorBlur = function handlePageEditorBlur() {
576
599
  isFocused.value = false;
600
+ isPopoverShow.value = false;
577
601
  if (inputMemo !== localCurrent.value) {
578
602
  localCurrent.value = inputMemo;
579
603
  }
@@ -609,6 +633,13 @@ const popover_less_namespaceObject = popover_less_x({ });
609
633
  inputMemo = item;
610
634
  handlePageEditorBlur();
611
635
  };
636
+ /**
637
+ * @desc 点击关闭popover事件
638
+ * @param { boolean } isShow
639
+ */
640
+ var handlePopShow = function handlePopShow(isShow) {
641
+ isPopoverShow.value = isShow;
642
+ };
612
643
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
613
644
  resolveClassName = _usePrefix.resolveClassName;
614
645
  var render = function render() {
@@ -618,12 +649,20 @@ const popover_less_namespaceObject = popover_less_x({ });
618
649
  "class": _defineProperty(_defineProperty({}, "".concat(resolveClassName('pagination-btn-pre')), true), 'is-disabled', isPagePreDisabled.value),
619
650
  "onClick": handlePrePage
620
651
  }, [(0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.AngleLeft, null, null)]), (0,external_vue_namespaceObject.createVNode)(popover_namespaceObject["default"], {
621
- "theme": "light",
622
- "trigger": "click",
623
- "arrow": false,
624
652
  "width": 56,
653
+ "arrow": false,
625
654
  "boundary": "body",
626
- "placement": "bottom"
655
+ "disabled": proxy.disabled,
656
+ "isShow": isPopoverShow.value,
657
+ "placement": "bottom",
658
+ "theme": "light",
659
+ "trigger": "click",
660
+ "onAfterHidden": function onAfterHidden() {
661
+ return handlePopShow(false);
662
+ },
663
+ "onAfterShow": function onAfterShow() {
664
+ return handlePopShow(true);
665
+ }
627
666
  }, {
628
667
  "default": function _default() {
629
668
  return (0,external_vue_namespaceObject.createVNode)("div", {
@@ -631,10 +670,11 @@ const popover_less_namespaceObject = popover_less_x({ });
631
670
  }, [(0,external_vue_namespaceObject.createVNode)("span", {
632
671
  "ref": inputRef,
633
672
  "class": "".concat(resolveClassName('pagination-editor')),
634
- "contenteditable": true,
673
+ "contenteditable": !proxy.disabled,
674
+ "innerHTML": String(localCurrent.value),
635
675
  "spellcheck": "false",
636
- "onFocus": handlePageEditorFocus,
637
676
  "onBlur": handlePageEditorBlur,
677
+ "onFocus": handlePageEditorFocus,
638
678
  "onInput": handlePageEditorInput,
639
679
  "onKeydown": handlePageEditorKeydown
640
680
  }, [localCurrent.value]), (0,external_vue_namespaceObject.createVNode)("span", null, [(0,external_vue_namespaceObject.createTextVNode)("/")]), (0,external_vue_namespaceObject.createVNode)("span", {
@@ -646,11 +686,11 @@ const popover_less_namespaceObject = popover_less_x({ });
646
686
  "class": "".concat(resolveClassName('pagination-picker-list'))
647
687
  }, [list.value.map(function (item) {
648
688
  return (0,external_vue_namespaceObject.createVNode)("div", {
689
+ "key": item,
649
690
  "class": {
650
691
  item: true,
651
692
  'is-actived': item === localCurrent.value
652
693
  },
653
- "key": item,
654
694
  "onClick": function onClick() {
655
695
  return handlePageChange(item);
656
696
  }
@@ -762,13 +802,11 @@ var paginationProps = {
762
802
  type: shared_namespaceObject.PropTypes.oneOf(['default', 'compact']).def('default'),
763
803
  location: shared_namespaceObject.PropTypes.oneOf(['left', 'right']).def('right'),
764
804
  align: shared_namespaceObject.PropTypes.oneOf(['left', 'center', 'right']).def('left'),
765
- size: shared_namespaceObject.PropTypes.size(),
766
805
  small: shared_namespaceObject.PropTypes.bool.def(false),
767
806
  showTotalCount: shared_namespaceObject.PropTypes.bool.def(true),
768
807
  prevText: shared_namespaceObject.PropTypes.string,
769
808
  nextText: shared_namespaceObject.PropTypes.string,
770
809
  disabled: shared_namespaceObject.PropTypes.bool.def(false),
771
- beforeChange: shared_namespaceObject.PropTypes.func,
772
810
  layout: shared_namespaceObject.PropTypes.custom(function (value) {
773
811
  var layoutNameMap = {
774
812
  total: true,
@@ -836,7 +874,7 @@ var paginationProps = {
836
874
  },
837
875
  render: function render() {
838
876
  var _this = this;
839
- var paginationClass = (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty({}, "".concat(this.resolveClassName('pagination')), true), "".concat(this.resolveClassName("pagination--".concat(this.size))), true), "is-align-".concat(this.align), true));
877
+ var paginationClass = (0,shared_namespaceObject.classes)(_defineProperty(_defineProperty(_defineProperty({}, "".concat(this.resolveClassName('pagination')), true), "is-align-".concat(this.align), true), 'is-disabled', this.disabled));
840
878
  var layoutMap = {
841
879
  total: this.renderTotal,
842
880
  list: this.small ? this.renderSmallList : this.renderList,