bkui-vue 0.0.1-beta.14 → 0.0.1-beta.142

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 (528) hide show
  1. package/README.md +31 -19
  2. package/dist/index.cjs.js +171 -0
  3. package/dist/index.esm.js +31794 -0
  4. package/dist/index.umd.js +171 -0
  5. package/dist/style.css +1 -4190
  6. package/dist/style.variable.css +1 -0
  7. package/lib/affix/affix.css +3 -0
  8. package/lib/affix/affix.d.ts +47 -0
  9. package/lib/affix/affix.less +5 -0
  10. package/lib/affix/affix.variable.css +116 -0
  11. package/lib/affix/index.d.ts +143 -0
  12. package/lib/affix/index.js +1 -0
  13. package/lib/alert/alert.css +5 -3
  14. package/lib/alert/alert.d.ts +24 -15
  15. package/lib/alert/alert.less +7 -3
  16. package/lib/alert/alert.variable.css +35 -6
  17. package/lib/alert/index.d.ts +96 -60
  18. package/lib/alert/index.js +1 -1
  19. package/lib/animate-number/animate-number.d.ts +12 -7
  20. package/lib/animate-number/index.d.ts +48 -28
  21. package/lib/animate-number/index.js +1 -1
  22. package/lib/backtop/backtop.d.ts +28 -14
  23. package/lib/backtop/backtop.variable.css +30 -3
  24. package/lib/backtop/index.d.ts +111 -55
  25. package/lib/backtop/index.js +1 -1
  26. package/lib/badge/badge.css +5 -5
  27. package/lib/badge/badge.d.ts +64 -22
  28. package/lib/badge/badge.less +5 -6
  29. package/lib/badge/badge.variable.css +35 -8
  30. package/lib/badge/index.d.ts +202 -84
  31. package/lib/badge/index.js +1 -1
  32. package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
  33. package/lib/breadcrumb/breadcrumb.css +61 -1
  34. package/lib/breadcrumb/breadcrumb.d.ts +37 -9
  35. package/lib/breadcrumb/breadcrumb.less +13 -2
  36. package/lib/breadcrumb/breadcrumb.variable.css +91 -4
  37. package/lib/breadcrumb/index.d.ts +117 -45
  38. package/lib/breadcrumb/index.js +1 -1
  39. package/lib/button/button-group.d.ts +3 -5
  40. package/lib/button/button.css +92 -44
  41. package/lib/button/button.d.ts +76 -26
  42. package/lib/button/button.less +88 -46
  43. package/lib/button/button.variable.css +122 -47
  44. package/lib/button/index.d.ts +191 -102
  45. package/lib/button/index.js +1 -1
  46. package/lib/card/card.css +96 -1
  47. package/lib/card/card.d.ts +74 -18
  48. package/lib/card/card.less +50 -2
  49. package/lib/card/card.variable.css +126 -4
  50. package/lib/card/index.d.ts +225 -69
  51. package/lib/card/index.js +1 -1
  52. package/lib/cascader/cascader-panel.d.ts +49 -0
  53. package/lib/cascader/cascader.css +137 -0
  54. package/lib/cascader/cascader.d.ts +281 -0
  55. package/lib/cascader/cascader.less +154 -0
  56. package/lib/cascader/cascader.variable.css +250 -0
  57. package/lib/cascader/index.d.ts +755 -0
  58. package/lib/cascader/index.js +1 -0
  59. package/lib/cascader/interface.d.ts +47 -0
  60. package/lib/cascader/node.d.ts +25 -0
  61. package/lib/cascader/store.d.ts +18 -0
  62. package/lib/checkbox/checkbox-group.d.ts +13 -9
  63. package/lib/checkbox/checkbox.css +33 -6
  64. package/lib/checkbox/checkbox.d.ts +43 -32
  65. package/lib/checkbox/checkbox.less +44 -6
  66. package/lib/checkbox/checkbox.variable.css +63 -9
  67. package/lib/checkbox/common.d.ts +3 -3
  68. package/lib/checkbox/index.d.ts +150 -104
  69. package/lib/checkbox/index.js +1 -1
  70. package/lib/checkbox/type.d.ts +3 -7
  71. package/lib/code-diff/code-diff.css +186 -0
  72. package/lib/code-diff/code-diff.d.ts +80 -0
  73. package/lib/code-diff/code-diff.less +238 -0
  74. package/lib/code-diff/code-diff.variable.css +299 -0
  75. package/lib/code-diff/index.d.ts +154 -0
  76. package/lib/code-diff/index.js +1 -0
  77. package/lib/collapse/collapse.css +17 -1
  78. package/lib/collapse/collapse.d.ts +51 -22
  79. package/lib/collapse/collapse.less +24 -2
  80. package/lib/collapse/collapse.variable.css +130 -1
  81. package/lib/collapse/index.d.ts +127 -75
  82. package/lib/collapse/index.js +1 -1
  83. package/lib/collapse/utils.d.ts +11 -0
  84. package/lib/components.d.ts +26 -5
  85. package/lib/components.js +1 -0
  86. package/lib/container/col.d.ts +51 -0
  87. package/lib/container/container.css +91 -0
  88. package/lib/container/container.d.ts +83 -0
  89. package/lib/container/container.less +20 -0
  90. package/lib/container/container.variable.css +204 -0
  91. package/lib/container/index.d.ts +223 -0
  92. package/lib/container/index.js +1 -0
  93. package/lib/container/row.d.ts +4 -0
  94. package/lib/date-picker/date-picker.css +3 -2
  95. package/lib/date-picker/date-picker.d.ts +92 -137
  96. package/lib/date-picker/date-picker.less +5 -2
  97. package/lib/date-picker/date-picker.variable.css +33 -5
  98. package/lib/date-picker/index.d.ts +504 -276
  99. package/lib/date-picker/index.js +1 -1
  100. package/lib/date-picker/interface.d.ts +1 -1
  101. package/lib/date-picker/props.d.ts +118 -0
  102. package/lib/date-picker/utils.d.ts +1 -1
  103. package/lib/dialog/dialog.css +76 -20
  104. package/lib/dialog/dialog.d.ts +285 -52
  105. package/lib/dialog/dialog.less +54 -21
  106. package/lib/dialog/dialog.variable.css +76 -20
  107. package/lib/dialog/index.d.ts +665 -115
  108. package/lib/dialog/index.js +1 -1
  109. package/lib/directives/clickoutside.d.ts +3 -23
  110. package/lib/directives/index.js +2 -15
  111. package/lib/directives/index.js.LICENSE.txt +14 -0
  112. package/lib/directives/tooltips.d.ts +1 -1
  113. package/lib/dist.index.js +1 -0
  114. package/lib/divider/divider.d.ts +21 -13
  115. package/lib/divider/divider.variable.css +30 -3
  116. package/lib/divider/index.d.ts +84 -52
  117. package/lib/divider/index.js +1 -1
  118. package/lib/divider/props.d.ts +21 -0
  119. package/lib/dropdown/dropdown-item.d.ts +6 -5
  120. package/lib/dropdown/dropdown-menu.d.ts +6 -5
  121. package/lib/dropdown/dropdown.css +4 -0
  122. package/lib/dropdown/dropdown.d.ts +28 -14
  123. package/lib/dropdown/dropdown.less +5 -0
  124. package/lib/dropdown/dropdown.variable.css +34 -3
  125. package/lib/dropdown/index.d.ts +109 -69
  126. package/lib/dropdown/index.js +1 -1
  127. package/lib/exception/exception.d.ts +11 -9
  128. package/lib/exception/exception.variable.css +30 -3
  129. package/lib/exception/index.d.ts +44 -36
  130. package/lib/exception/index.js +1 -1
  131. package/lib/fixed-navbar/fixed-navbar.d.ts +29 -9
  132. package/lib/fixed-navbar/fixed-navbar.variable.css +30 -3
  133. package/lib/fixed-navbar/index.d.ts +96 -37
  134. package/lib/fixed-navbar/index.js +1 -1
  135. package/lib/form/compose-form-item.d.ts +16 -0
  136. package/lib/form/form-item.d.ts +61 -45
  137. package/lib/form/form.css +96 -10
  138. package/lib/form/form.d.ts +45 -40
  139. package/lib/form/form.less +136 -34
  140. package/lib/form/form.variable.css +209 -10
  141. package/lib/form/index.d.ts +303 -3
  142. package/lib/form/index.js +1 -1
  143. package/lib/form/type.d.ts +8 -6
  144. package/lib/form/validator.d.ts +1 -0
  145. package/lib/icon/angle-double-down-line.d.ts +4 -0
  146. package/lib/icon/angle-double-down-line.js +1 -0
  147. package/lib/icon/angle-double-left-line.d.ts +4 -0
  148. package/lib/icon/angle-double-left-line.js +1 -0
  149. package/lib/icon/angle-double-left.js +1 -0
  150. package/lib/icon/angle-double-right-line.d.ts +4 -0
  151. package/lib/icon/angle-double-right-line.js +1 -0
  152. package/lib/icon/angle-double-right.js +1 -0
  153. package/lib/icon/angle-double-up-line.d.ts +4 -0
  154. package/lib/icon/angle-double-up-line.js +1 -0
  155. package/lib/icon/angle-down-fill.d.ts +4 -0
  156. package/lib/icon/angle-down-fill.js +1 -0
  157. package/lib/icon/angle-down-line.js +1 -0
  158. package/lib/icon/angle-down.js +1 -0
  159. package/lib/icon/angle-left.js +1 -0
  160. package/lib/icon/angle-right.js +1 -0
  161. package/lib/icon/angle-up-fill.d.ts +4 -0
  162. package/lib/icon/angle-up-fill.js +1 -0
  163. package/lib/icon/angle-up.js +1 -0
  164. package/lib/icon/archive-fill.d.ts +4 -0
  165. package/lib/icon/archive-fill.js +1 -0
  166. package/lib/icon/arrows-left.d.ts +4 -0
  167. package/lib/icon/arrows-left.js +1 -0
  168. package/lib/icon/arrows-right.d.ts +4 -0
  169. package/lib/icon/arrows-right.js +1 -0
  170. package/lib/icon/audio-fill.d.ts +4 -0
  171. package/lib/icon/audio-fill.js +1 -0
  172. package/lib/icon/bk.d.ts +4 -0
  173. package/lib/icon/bk.js +1 -0
  174. package/lib/icon/circle.js +1 -0
  175. package/lib/icon/close-line.d.ts +4 -0
  176. package/lib/icon/close-line.js +1 -0
  177. package/lib/icon/close.js +1 -0
  178. package/lib/icon/code.js +1 -0
  179. package/lib/icon/cog-shape.js +1 -0
  180. package/lib/icon/collapse-left.js +1 -0
  181. package/lib/icon/copy.js +1 -0
  182. package/lib/icon/data-shape.d.ts +4 -0
  183. package/lib/icon/data-shape.js +1 -0
  184. package/lib/icon/del.d.ts +4 -0
  185. package/lib/icon/del.js +1 -0
  186. package/lib/icon/doc-fill.d.ts +4 -0
  187. package/lib/icon/doc-fill.js +1 -0
  188. package/lib/icon/done.js +1 -0
  189. package/lib/icon/down-shape.js +1 -0
  190. package/lib/icon/down-small.js +1 -0
  191. package/lib/icon/edit-line.d.ts +4 -0
  192. package/lib/icon/edit-line.js +1 -0
  193. package/lib/icon/ellipsis.d.ts +4 -0
  194. package/lib/icon/ellipsis.js +1 -0
  195. package/lib/icon/error.js +1 -0
  196. package/lib/icon/excel-fill.d.ts +4 -0
  197. package/lib/icon/excel-fill.js +1 -0
  198. package/lib/icon/exclamation-circle-shape.d.ts +4 -0
  199. package/lib/icon/exclamation-circle-shape.js +1 -0
  200. package/lib/icon/eye.js +1 -0
  201. package/lib/icon/folder-open.js +1 -0
  202. package/lib/icon/folder-shape-open.js +1 -0
  203. package/lib/icon/folder-shape.js +1 -0
  204. package/lib/icon/funnel.d.ts +4 -0
  205. package/lib/icon/funnel.js +1 -0
  206. package/lib/icon/help-document-fill.js +1 -0
  207. package/lib/icon/help-fill.js +1 -0
  208. package/lib/icon/help.js +1 -0
  209. package/lib/icon/image-fill.d.ts +4 -0
  210. package/lib/icon/image-fill.js +1 -0
  211. package/lib/icon/index.d.ts +34 -3
  212. package/lib/icon/index.js +1 -15
  213. package/lib/icon/info-line.js +1 -0
  214. package/lib/icon/info.js +1 -0
  215. package/lib/icon/left-shape.d.ts +4 -0
  216. package/lib/icon/left-shape.js +1 -0
  217. package/lib/icon/pdf-fill.d.ts +4 -0
  218. package/lib/icon/pdf-fill.js +1 -0
  219. package/lib/icon/play-shape.js +1 -0
  220. package/lib/icon/plus.js +1 -0
  221. package/lib/icon/ppt-fill.d.ts +4 -0
  222. package/lib/icon/ppt-fill.js +1 -0
  223. package/lib/icon/qq.d.ts +4 -0
  224. package/lib/icon/qq.js +1 -0
  225. package/lib/icon/right-shape.js +1 -0
  226. package/lib/icon/search.js +1 -0
  227. package/lib/icon/share.js +1 -0
  228. package/lib/icon/spinner.d.ts +4 -0
  229. package/lib/icon/spinner.js +1 -0
  230. package/lib/icon/success.js +1 -0
  231. package/lib/icon/switcher-loading.js +1 -0
  232. package/lib/icon/text-file.js +1 -0
  233. package/lib/icon/text-fill.d.ts +4 -0
  234. package/lib/icon/text-fill.js +1 -0
  235. package/lib/icon/tree-application-shape.js +1 -0
  236. package/lib/icon/unvisible.js +1 -0
  237. package/lib/icon/up-shape.d.ts +4 -0
  238. package/lib/icon/up-shape.js +1 -0
  239. package/lib/icon/upload.d.ts +4 -0
  240. package/lib/icon/upload.js +1 -0
  241. package/lib/icon/video-fill.d.ts +4 -0
  242. package/lib/icon/video-fill.js +1 -0
  243. package/lib/icon/warn.js +1 -0
  244. package/lib/icon/weixin.d.ts +4 -0
  245. package/lib/icon/weixin.js +1 -0
  246. package/lib/index.d.ts +0 -1
  247. package/lib/index.js +1 -0
  248. package/lib/input/index.d.ts +406 -199
  249. package/lib/input/index.js +1 -15
  250. package/lib/input/input.css +232 -16
  251. package/lib/input/input.d.ts +171 -51
  252. package/lib/input/input.less +182 -19
  253. package/lib/input/input.variable.css +259 -15
  254. package/lib/link/index.d.ts +102 -54
  255. package/lib/link/index.js +1 -1
  256. package/lib/link/link.d.ts +25 -13
  257. package/lib/link/link.variable.css +30 -3
  258. package/lib/loading/index.d.ts +187 -71
  259. package/lib/loading/index.js +1 -1
  260. package/lib/loading/loading.css +177 -98
  261. package/lib/loading/loading.d.ts +109 -25
  262. package/lib/loading/loading.less +84 -73
  263. package/lib/loading/loading.variable.css +207 -101
  264. package/lib/menu/index.d.ts +82 -71
  265. package/lib/menu/index.js +1 -1
  266. package/lib/menu/menu-group.d.ts +6 -5
  267. package/lib/menu/menu-item.d.ts +6 -5
  268. package/lib/menu/menu.css +51 -0
  269. package/lib/menu/menu.d.ts +16 -21
  270. package/lib/menu/menu.variable.css +81 -3
  271. package/lib/menu/submenu.css +3 -0
  272. package/lib/menu/submenu.d.ts +6 -5
  273. package/lib/menu/submenu.less +1 -1
  274. package/lib/menu/submenu.variable.css +33 -3
  275. package/lib/menu/utils.d.ts +1 -1
  276. package/lib/message/index.js +1 -1
  277. package/lib/message/message.css +24 -3
  278. package/lib/message/message.less +27 -2
  279. package/lib/message/message.variable.css +54 -6
  280. package/lib/message/messageConstructor.d.ts +69 -21
  281. package/lib/modal/index.d.ts +517 -68
  282. package/lib/modal/index.js +1 -1
  283. package/lib/modal/modal.css +25 -1
  284. package/lib/modal/modal.d.ts +191 -24
  285. package/lib/modal/modal.less +33 -1
  286. package/lib/modal/modal.variable.css +25 -1
  287. package/lib/modal/props.mixin.d.ts +77 -10
  288. package/lib/navigation/index.d.ts +310 -1
  289. package/lib/navigation/index.js +1 -1
  290. package/lib/navigation/navigation-title.d.ts +10 -7
  291. package/lib/navigation/navigation.css +1 -1
  292. package/lib/navigation/navigation.d.ts +50 -24
  293. package/lib/navigation/navigation.less +1 -1
  294. package/lib/navigation/navigation.variable.css +31 -4
  295. package/lib/notify/index.js +1 -1
  296. package/lib/notify/notify.css +24 -4
  297. package/lib/notify/notify.less +27 -4
  298. package/lib/notify/notify.variable.css +54 -7
  299. package/lib/notify/notifyConstructor.d.ts +84 -24
  300. package/lib/pagination/index.d.ts +395 -0
  301. package/lib/pagination/index.js +1 -0
  302. package/lib/pagination/pagination.css +179 -0
  303. package/lib/pagination/pagination.d.ts +220 -0
  304. package/lib/pagination/pagination.less +201 -0
  305. package/lib/pagination/pagination.variable.css +292 -0
  306. package/lib/pagination/type.d.ts +6 -0
  307. package/lib/pagination/use-limit.d.ts +8 -0
  308. package/lib/pagination/use-list.d.ts +8 -0
  309. package/lib/pagination/use-small-list.d.ts +5 -0
  310. package/lib/pagination/use-total.d.ts +5 -0
  311. package/lib/popover/index.d.ts +322 -137
  312. package/lib/popover/index.js +1 -1
  313. package/lib/popover/popover.css +26 -13
  314. package/lib/popover/popover.d.ts +122 -45
  315. package/lib/popover/popover.less +59 -45
  316. package/lib/popover/popover.variable.css +56 -16
  317. package/lib/popover/props.d.ts +104 -0
  318. package/lib/popover2/arrow.d.ts +2 -0
  319. package/lib/popover2/const.d.ts +10 -0
  320. package/lib/popover2/content.d.ts +24 -0
  321. package/lib/popover2/index.d.ts +495 -0
  322. package/lib/popover2/index.js +1 -0
  323. package/lib/popover2/popover2.css +25 -0
  324. package/lib/popover2/popover2.d.ts +209 -0
  325. package/lib/popover2/popover2.less +35 -0
  326. package/lib/popover2/popover2.variable.css +138 -0
  327. package/lib/popover2/props.d.ts +108 -0
  328. package/lib/popover2/reference.d.ts +2 -0
  329. package/lib/popover2/root.d.ts +16 -0
  330. package/lib/popover2/use-floating.d.ts +20 -0
  331. package/lib/popover2/use-platform.d.ts +30 -0
  332. package/lib/popover2/use-popper-id.d.ts +7 -0
  333. package/lib/preset.js +1 -0
  334. package/lib/process/index.d.ts +123 -63
  335. package/lib/process/index.js +1 -15
  336. package/lib/process/process.css +2 -3
  337. package/lib/process/process.d.ts +31 -16
  338. package/lib/process/process.less +2 -3
  339. package/lib/process/process.variable.css +32 -6
  340. package/lib/progress/index.d.ts +305 -135
  341. package/lib/progress/index.js +1 -1
  342. package/lib/progress/progress.css +51 -3
  343. package/lib/progress/progress.d.ts +89 -36
  344. package/lib/progress/progress.less +0 -4
  345. package/lib/progress/progress.variable.css +81 -6
  346. package/lib/radio/common.d.ts +5 -5
  347. package/lib/radio/index.d.ts +145 -96
  348. package/lib/radio/index.js +1 -1
  349. package/lib/radio/radio-button.d.ts +30 -23
  350. package/lib/radio/radio-group.d.ts +11 -10
  351. package/lib/radio/radio.css +62 -57
  352. package/lib/radio/radio.d.ts +27 -17
  353. package/lib/radio/radio.less +181 -172
  354. package/lib/radio/radio.variable.css +94 -62
  355. package/lib/radio/type.d.ts +10 -5
  356. package/lib/rate/index.d.ts +52 -40
  357. package/lib/rate/index.js +1 -1
  358. package/lib/rate/rate.d.ts +13 -10
  359. package/lib/rate/star.d.ts +33 -16
  360. package/lib/resize-layout/index.d.ts +336 -0
  361. package/lib/resize-layout/index.js +1 -0
  362. package/lib/resize-layout/resize-layout.css +189 -0
  363. package/lib/resize-layout/resize-layout.d.ts +127 -0
  364. package/lib/resize-layout/resize-layout.less +233 -0
  365. package/lib/resize-layout/resize-layout.variable.css +302 -0
  366. package/lib/select/common.d.ts +20 -22
  367. package/lib/select/index.d.ts +1061 -705
  368. package/lib/select/index.js +1 -15
  369. package/lib/select/option.d.ts +23 -19
  370. package/lib/select/optionGroup.d.ts +36 -97
  371. package/lib/select/select.css +238 -70
  372. package/lib/select/select.d.ts +376 -192
  373. package/lib/select/select.less +284 -130
  374. package/lib/select/select.variable.css +268 -73
  375. package/lib/select/selectTagInput.d.ts +72 -0
  376. package/lib/select/type.d.ts +38 -0
  377. package/lib/shared/{bk-helper-core.d.ts → helper.d.ts} +6 -1
  378. package/lib/shared/index.d.ts +26 -4
  379. package/lib/shared/index.js +1 -1
  380. package/lib/shared/{bk-mask-manager.d.ts → mask-manager.d.ts} +33 -3
  381. package/lib/shared/{bk-pop-manager.d.ts → pop-manager.d.ts} +10 -2
  382. package/lib/shared/{bk-popover.d.ts → popover.d.ts} +50 -5
  383. package/lib/shared/token.d.ts +4 -0
  384. package/lib/shared/utils.d.ts +18 -0
  385. package/lib/shared/vue-types.d.ts +11 -7
  386. package/lib/sideslider/index.d.ts +432 -80
  387. package/lib/sideslider/index.js +1 -1
  388. package/lib/sideslider/sideslider.css +54 -10
  389. package/lib/sideslider/sideslider.d.ts +185 -30
  390. package/lib/sideslider/sideslider.less +71 -13
  391. package/lib/sideslider/sideslider.variable.css +84 -13
  392. package/lib/slider/index.d.ts +414 -1
  393. package/lib/slider/index.js +1 -15
  394. package/lib/slider/slider-button.d.ts +15 -7
  395. package/lib/slider/slider.d.ts +84 -42
  396. package/lib/slider/slider.variable.css +30 -3
  397. package/lib/steps/index.d.ts +160 -108
  398. package/lib/steps/index.js +1 -15
  399. package/lib/steps/steps.css +17 -3
  400. package/lib/steps/steps.d.ts +40 -27
  401. package/lib/steps/steps.less +27 -3
  402. package/lib/steps/steps.variable.css +47 -6
  403. package/lib/styles/index.d.ts +13 -0
  404. package/lib/styles/mixins/clearfix.css +8 -0
  405. package/lib/styles/mixins/clearfix.less +10 -0
  406. package/lib/styles/mixins/clearfix.variable.css +8 -0
  407. package/lib/styles/mixins/mixins.css +51 -0
  408. package/lib/styles/mixins/mixins.less +2 -0
  409. package/lib/styles/mixins/mixins.variable.css +51 -0
  410. package/lib/styles/mixins/scroll.css +17 -0
  411. package/lib/styles/mixins/scroll.less +22 -0
  412. package/lib/styles/mixins/scroll.variable.css +130 -0
  413. package/lib/styles/themes/themes.less +40 -3
  414. package/lib/swiper/index.d.ts +181 -0
  415. package/lib/swiper/index.js +1 -0
  416. package/lib/swiper/swiper.css +91 -0
  417. package/lib/swiper/swiper.d.ts +65 -0
  418. package/lib/swiper/swiper.less +107 -0
  419. package/lib/swiper/swiper.variable.css +91 -0
  420. package/lib/switcher/index.d.ts +201 -137
  421. package/lib/switcher/index.js +1 -1
  422. package/lib/switcher/switcher.css +200 -135
  423. package/lib/switcher/switcher.d.ts +52 -36
  424. package/lib/switcher/switcher.less +190 -155
  425. package/lib/switcher/switcher.variable.css +230 -138
  426. package/lib/tab/index.d.ts +306 -282
  427. package/lib/tab/index.js +1 -1
  428. package/lib/tab/props.d.ts +194 -0
  429. package/lib/tab/tab-nav.d.ts +102 -87
  430. package/lib/tab/tab-panel.d.ts +53 -26
  431. package/lib/tab/tab.css +25 -1
  432. package/lib/tab/tab.d.ts +59 -51
  433. package/lib/tab/tab.less +31 -19
  434. package/lib/tab/tab.variable.css +55 -4
  435. package/lib/table/const.d.ts +67 -0
  436. package/lib/table/index.d.ts +498 -70
  437. package/lib/table/index.js +1 -1
  438. package/lib/table/plugins/head-filter.css +68 -0
  439. package/lib/table/plugins/head-filter.less +88 -0
  440. package/lib/table/plugins/head-filter.variable.css +181 -0
  441. package/lib/table/plugins/head-sort.css +22 -0
  442. package/lib/table/plugins/head-sort.less +28 -0
  443. package/lib/table/plugins/head-sort.variable.css +135 -0
  444. package/lib/table/plugins/settings.css +129 -0
  445. package/lib/table/plugins/settings.less +157 -0
  446. package/lib/table/plugins/settings.variable.css +242 -0
  447. package/lib/table/props.d.ts +210 -2
  448. package/lib/table/render.d.ts +76 -5
  449. package/lib/table/table.css +1094 -15
  450. package/lib/table/table.d.ts +221 -14
  451. package/lib/table/table.less +253 -24
  452. package/lib/table/table.variable.css +1125 -19
  453. package/lib/table/use-common.d.ts +72 -0
  454. package/lib/table/utils.d.ts +84 -2
  455. package/lib/tag/index.d.ts +165 -274
  456. package/lib/tag/index.js +1 -1
  457. package/lib/tag/tag.css +97 -0
  458. package/lib/tag/tag.d.ts +83 -53
  459. package/lib/tag/tag.less +110 -2
  460. package/lib/tag/tag.variable.css +127 -3
  461. package/lib/tag-input/common.d.ts +24 -0
  462. package/lib/tag-input/index.d.ts +894 -0
  463. package/lib/tag-input/index.js +1 -0
  464. package/lib/tag-input/list-tag-render.d.ts +47 -0
  465. package/lib/tag-input/tag-input.css +209 -0
  466. package/lib/tag-input/tag-input.d.ts +374 -0
  467. package/lib/tag-input/tag-input.less +251 -0
  468. package/lib/tag-input/tag-input.variable.css +322 -0
  469. package/lib/tag-input/tag-props.d.ts +131 -0
  470. package/lib/tag-input/tag-render.d.ts +38 -0
  471. package/lib/timeline/index.d.ts +129 -0
  472. package/lib/timeline/index.js +1 -0
  473. package/lib/timeline/timeline.css +235 -0
  474. package/lib/timeline/timeline.d.ts +81 -0
  475. package/lib/timeline/timeline.less +240 -0
  476. package/lib/timeline/timeline.variable.css +348 -0
  477. package/lib/transfer/const.d.ts +5 -0
  478. package/lib/transfer/index.d.ts +365 -0
  479. package/lib/transfer/index.js +1 -0
  480. package/lib/transfer/props.d.ts +54 -0
  481. package/lib/transfer/transfer.css +139 -0
  482. package/lib/transfer/transfer.d.ts +160 -0
  483. package/lib/transfer/transfer.less +144 -0
  484. package/lib/transfer/transfer.variable.css +252 -0
  485. package/lib/tree/constant.d.ts +45 -0
  486. package/lib/tree/index.d.ts +469 -94
  487. package/lib/tree/index.js +1 -1
  488. package/lib/tree/props.d.ts +184 -0
  489. package/lib/tree/tree.css +176 -15
  490. package/lib/tree/tree.d.ts +201 -31
  491. package/lib/tree/tree.less +75 -38
  492. package/lib/tree/tree.variable.css +289 -15
  493. package/lib/tree/use-empty.d.ts +6 -0
  494. package/lib/tree/use-node-action.d.ts +12 -0
  495. package/lib/tree/use-node-async.d.ts +5 -0
  496. package/lib/tree/use-node-attribute.d.ts +33 -0
  497. package/lib/tree/use-node-drag.d.ts +3 -0
  498. package/lib/tree/use-search.d.ts +11 -0
  499. package/lib/tree/use-tree-init.d.ts +15 -0
  500. package/lib/tree/util.d.ts +34 -57
  501. package/lib/upload/index.d.ts +580 -0
  502. package/lib/upload/index.js +1 -0
  503. package/lib/upload/props.d.ts +113 -0
  504. package/lib/upload/upload-list.d.ts +46 -0
  505. package/lib/upload/upload-trigger.d.ts +54 -0
  506. package/lib/upload/upload.css +417 -0
  507. package/lib/upload/upload.d.ts +252 -0
  508. package/lib/upload/upload.less +455 -0
  509. package/lib/upload/upload.type.d.ts +78 -0
  510. package/lib/upload/upload.variable.css +530 -0
  511. package/lib/upload/use-ajax-upload.d.ts +3 -0
  512. package/lib/upload/use-file-handler.d.ts +44 -0
  513. package/lib/virtual-render/index.d.ts +579 -0
  514. package/lib/virtual-render/index.js +1 -0
  515. package/lib/virtual-render/props.d.ts +167 -0
  516. package/lib/virtual-render/use-tag-render.d.ts +7 -0
  517. package/lib/virtual-render/v-virtual-render.d.ts +6 -0
  518. package/lib/virtual-render/virtual-render.css +33 -0
  519. package/lib/virtual-render/virtual-render.d.ts +255 -0
  520. package/lib/virtual-render/virtual-render.less +22 -0
  521. package/lib/virtual-render/virtual-render.variable.css +146 -0
  522. package/lib/volar.components.d.ts +100 -0
  523. package/package.json +107 -86
  524. package/dist/bkui-vue.cjs.js +0 -10327
  525. package/dist/bkui-vue.esm.js +0 -10283
  526. package/dist/bkui-vue.umd.js +0 -10330
  527. package/lib/form/common.d.ts +0 -3
  528. package/lib/styles/index.js +0 -1
@@ -1,42 +1,1121 @@
1
+ .bk-F-scroll-x {
2
+ overflow-x: auto;
3
+ scrollbar-color: #a0a0a0 transparent;
4
+ scrollbar-width: thin;
5
+ }
6
+ .bk-F-scroll-x::-webkit-scrollbar {
7
+ height: 6px;
8
+ }
9
+ .bk-F-scroll-y {
10
+ overflow-y: auto;
11
+ }
12
+ .bk-F-scroll-y::-webkit-scrollbar {
13
+ width: 4px;
14
+ }
15
+ .bk-F-scroll-y::-webkit-scrollbar-thumb {
16
+ border-radius: 4px;
17
+ }
18
+ .bk-virtual-render {
19
+ position: relative;
20
+ }
21
+ .bk-virtual-render .bk-virtual-content,
22
+ .bk-virtual-render.bk-virtual-content {
23
+ position: absolute;
24
+ top: 0;
25
+ bottom: 0;
26
+ left: 0;
27
+ width: 100%;
28
+ height: 100%;
29
+ }
30
+ .bk-virtual-render .bk-virtual-section {
31
+ width: 1px;
32
+ background: transparent;
33
+ }
34
+ .bk-checkbox {
35
+ display: inline-flex;
36
+ justify-self: center;
37
+ font-size: 14px;
38
+ line-height: 18px;
39
+ letter-spacing: normal;
40
+ color: #63656e;
41
+ cursor: pointer;
42
+ user-select: none;
43
+ }
44
+ .bk-checkbox ~ .bk-checkbox {
45
+ margin-left: 30px;
46
+ }
47
+ .bk-checkbox.is-checked .bk-checkbox-input {
48
+ background: #3a84ff;
49
+ border-color: #3a84ff;
50
+ transition: all 0.1s;
51
+ }
52
+ .bk-checkbox.is-checked .bk-checkbox-input.small::after {
53
+ width: 3px;
54
+ height: 6px;
55
+ }
56
+ .bk-checkbox.is-checked .bk-checkbox-input::after {
57
+ position: absolute;
58
+ top: 50%;
59
+ left: 50%;
60
+ width: 4px;
61
+ height: 8px;
62
+ border: 2px solid #fff;
63
+ border-top: 0;
64
+ border-left: 0;
65
+ content: '';
66
+ transform: translate(-50%, -60%) scaleY(1) rotate(45deg);
67
+ transform-origin: center;
68
+ }
69
+ .bk-checkbox.is-indeterminated .bk-checkbox-input.small::after {
70
+ width: 6px;
71
+ height: 2px;
72
+ }
73
+ .bk-checkbox.is-indeterminated .bk-checkbox-input::after {
74
+ position: absolute;
75
+ top: 50%;
76
+ left: 50%;
77
+ width: 8px;
78
+ height: 2px;
79
+ background: #fff;
80
+ border: none;
81
+ border-radius: 2px;
82
+ content: '';
83
+ transform: translate(-50%, -50%);
84
+ }
85
+ .bk-checkbox.is-disabled {
86
+ color: #c4c6cc;
87
+ cursor: not-allowed;
88
+ }
89
+ .bk-checkbox.is-disabled .bk-checkbox-input {
90
+ background: #fafbfd;
91
+ border-color: #dcdee5;
92
+ }
93
+ .bk-checkbox.is-disabled .bk-checkbox-input::after {
94
+ background: #dcdee5;
95
+ }
96
+ .bk-checkbox.is-disabled.is-checked .bk-checkbox-input {
97
+ background: #dcdee5;
98
+ }
99
+ .bk-checkbox .bk-checkbox-input {
100
+ position: relative;
101
+ display: inline-block;
102
+ width: 16px;
103
+ height: 16px;
104
+ margin-right: 5px;
105
+ vertical-align: middle;
106
+ border: 1px solid #979ba5;
107
+ border-radius: 2px;
108
+ }
109
+ .bk-checkbox .bk-checkbox-input.small {
110
+ width: 14px;
111
+ height: 14px;
112
+ }
113
+ .bk-checkbox .bk-checkbox-original {
114
+ position: absolute;
115
+ top: 0;
116
+ left: 0;
117
+ z-index: -1;
118
+ width: 0;
119
+ height: 0;
120
+ }
121
+ .bk-checkbox .bk-checkbox-label {
122
+ display: inline-block;
123
+ vertical-align: middle;
124
+ }
125
+ .bk-button {
126
+ display: inline-flex;
127
+ height: 32px;
128
+ padding: 5px 12px;
129
+ font-size: 14px;
130
+ color: #63656e;
131
+ text-decoration: none;
132
+ white-space: nowrap;
133
+ cursor: pointer;
134
+ background-color: white;
135
+ border: 1px solid #c4c6cc;
136
+ border-radius: 2px;
137
+ outline: none;
138
+ box-sizing: border-box;
139
+ transition: background-color ease 0.3s;
140
+ appearance: none;
141
+ align-items: center;
142
+ justify-content: center;
143
+ }
144
+ .bk-button.bk-button-primary {
145
+ background-color: #3a84ff;
146
+ color: white;
147
+ border-color: #3a84ff;
148
+ }
149
+ .bk-button.bk-button-primary:hover {
150
+ background-color: #5594fa;
151
+ border-color: #5594fa;
152
+ }
153
+ .bk-button.bk-button-primary:active {
154
+ background-color: #2c77f4;
155
+ border-color: #2c77f4;
156
+ color: white;
157
+ }
158
+ .bk-button.bk-button-primary.is-outline {
159
+ color: #3a84ff;
160
+ border-color: #3a84ff;
161
+ background-color: white;
162
+ }
163
+ .bk-button.bk-button-primary.is-outline:hover {
164
+ background-color: #5594fa;
165
+ border-color: #5594fa;
166
+ color: white;
167
+ }
168
+ .bk-button.bk-button-primary.is-text {
169
+ color: #3a84ff;
170
+ background-color: transparent;
171
+ border: none;
172
+ }
173
+ .bk-button.bk-button-primary.is-text:not(.is-disabled):hover {
174
+ color: #5594fa;
175
+ }
176
+ .bk-button.bk-button-primary.is-disabled {
177
+ color: #dcdee5;
178
+ cursor: not-allowed;
179
+ }
180
+ .bk-button.bk-button-primary.is-disabled:not(.is-text) {
181
+ background-color: #dcdee5;
182
+ color: white;
183
+ border-color: #dcdee5;
184
+ }
185
+ .bk-button.bk-button-hover-primary:hover {
186
+ background-color: #5594fa;
187
+ border-color: #5594fa;
188
+ color: white;
189
+ }
190
+ .bk-button.bk-button-warning {
191
+ background-color: #ff9c01;
192
+ color: white;
193
+ border-color: #ff9c01;
194
+ }
195
+ .bk-button.bk-button-warning:hover {
196
+ background-color: #ffb848;
197
+ border-color: #ffb848;
198
+ }
199
+ .bk-button.bk-button-warning:active {
200
+ background-color: #eb9000;
201
+ border-color: #eb9000;
202
+ color: white;
203
+ }
204
+ .bk-button.bk-button-warning.is-outline {
205
+ color: #ff9c01;
206
+ border-color: #ff9c01;
207
+ background-color: white;
208
+ }
209
+ .bk-button.bk-button-warning.is-outline:hover {
210
+ background-color: #ffb848;
211
+ border-color: #ffb848;
212
+ color: white;
213
+ }
214
+ .bk-button.bk-button-warning.is-text {
215
+ color: #ff9c01;
216
+ background-color: transparent;
217
+ border: none;
218
+ }
219
+ .bk-button.bk-button-warning.is-text:not(.is-disabled):hover {
220
+ color: #ffb848;
221
+ }
222
+ .bk-button.bk-button-warning.is-disabled {
223
+ color: #dcdee5;
224
+ cursor: not-allowed;
225
+ }
226
+ .bk-button.bk-button-warning.is-disabled:not(.is-text) {
227
+ background-color: #dcdee5;
228
+ color: white;
229
+ border-color: #dcdee5;
230
+ }
231
+ .bk-button.bk-button-hover-warning:hover {
232
+ background-color: #ffb848;
233
+ border-color: #ffb848;
234
+ color: white;
235
+ }
236
+ .bk-button.bk-button-success {
237
+ background-color: #2dcb56;
238
+ color: white;
239
+ border-color: #2dcb56;
240
+ }
241
+ .bk-button.bk-button-success:hover {
242
+ background-color: #45e35f;
243
+ border-color: #45e35f;
244
+ }
245
+ .bk-button.bk-button-success:active {
246
+ background-color: #1ab943;
247
+ border-color: #1ab943;
248
+ color: white;
249
+ }
250
+ .bk-button.bk-button-success.is-outline {
251
+ color: #2dcb56;
252
+ border-color: #2dcb56;
253
+ background-color: white;
254
+ }
255
+ .bk-button.bk-button-success.is-outline:hover {
256
+ background-color: #45e35f;
257
+ border-color: #45e35f;
258
+ color: white;
259
+ }
260
+ .bk-button.bk-button-success.is-text {
261
+ color: #2dcb56;
262
+ background-color: transparent;
263
+ border: none;
264
+ }
265
+ .bk-button.bk-button-success.is-text:not(.is-disabled):hover {
266
+ color: #45e35f;
267
+ }
268
+ .bk-button.bk-button-success.is-disabled {
269
+ color: #dcdee5;
270
+ cursor: not-allowed;
271
+ }
272
+ .bk-button.bk-button-success.is-disabled:not(.is-text) {
273
+ background-color: #dcdee5;
274
+ color: white;
275
+ border-color: #dcdee5;
276
+ }
277
+ .bk-button.bk-button-hover-success:hover {
278
+ background-color: #45e35f;
279
+ border-color: #45e35f;
280
+ color: white;
281
+ }
282
+ .bk-button.bk-button-danger {
283
+ background-color: #ea3636;
284
+ color: white;
285
+ border-color: #ea3636;
286
+ }
287
+ .bk-button.bk-button-danger:hover {
288
+ background-color: #ff5656;
289
+ border-color: #ff5656;
290
+ }
291
+ .bk-button.bk-button-danger:active {
292
+ background-color: #db2626;
293
+ border-color: #db2626;
294
+ color: white;
295
+ }
296
+ .bk-button.bk-button-danger.is-outline {
297
+ color: #ea3636;
298
+ border-color: #ea3636;
299
+ background-color: white;
300
+ }
301
+ .bk-button.bk-button-danger.is-outline:hover {
302
+ background-color: #ff5656;
303
+ border-color: #ff5656;
304
+ color: white;
305
+ }
306
+ .bk-button.bk-button-danger.is-text {
307
+ color: #ea3636;
308
+ background-color: transparent;
309
+ border: none;
310
+ }
311
+ .bk-button.bk-button-danger.is-text:not(.is-disabled):hover {
312
+ color: #ff5656;
313
+ }
314
+ .bk-button.bk-button-danger.is-disabled {
315
+ color: #dcdee5;
316
+ cursor: not-allowed;
317
+ }
318
+ .bk-button.bk-button-danger.is-disabled:not(.is-text) {
319
+ background-color: #dcdee5;
320
+ color: white;
321
+ border-color: #dcdee5;
322
+ }
323
+ .bk-button.bk-button-hover-danger:hover {
324
+ background-color: #ff5656;
325
+ border-color: #ff5656;
326
+ color: white;
327
+ }
328
+ .bk-button.bk-button-small {
329
+ height: 26px;
330
+ padding: 3px 12px;
331
+ font-size: 12px;
332
+ }
333
+ .bk-button.bk-button-large {
334
+ height: 38px;
335
+ padding: 8px 20px;
336
+ font-size: 16px;
337
+ }
338
+ .bk-button .bk-button-text {
339
+ display: inline-flex;
340
+ align-items: center;
341
+ line-height: 1;
342
+ }
343
+ .bk-button.is-loading {
344
+ position: relative;
345
+ }
346
+ .bk-button.is-loading .bk-button-loading:not(:last-child) {
347
+ position: absolute;
348
+ }
349
+ .bk-button.is-loading .bk-button-text {
350
+ visibility: hidden;
351
+ }
352
+ .bk-button:hover {
353
+ border-color: #979ba5;
354
+ }
355
+ .bk-button:active {
356
+ color: #3a84ff;
357
+ border-color: #3a84ff;
358
+ }
359
+ .bk-button.is-text {
360
+ height: auto;
361
+ padding: 0;
362
+ font-size: 14px;
363
+ font-size: inherit;
364
+ color: #63656e;
365
+ text-decoration: none;
366
+ cursor: pointer;
367
+ background-color: transparent;
368
+ border: none;
369
+ outline: none;
370
+ }
371
+ .bk-button.is-disabled {
372
+ color: #dcdee5;
373
+ cursor: not-allowed;
374
+ border-color: #dcdee5;
375
+ }
376
+ .bk-button-group {
377
+ display: inline-block;
378
+ font-size: 0;
379
+ }
380
+ .bk-button-group.bk-button-group-small .bk-button {
381
+ height: 26px;
382
+ padding: 3px 12px;
383
+ font-size: 12px;
384
+ }
385
+ .bk-button-group.bk-button-group-large .bk-button {
386
+ height: 38px;
387
+ padding: 8px 20px;
388
+ font-size: 16px;
389
+ }
390
+ .bk-button-group .bk-button {
391
+ height: 32px;
392
+ margin: 0 0 0 -1px;
393
+ border-radius: 0;
394
+ }
395
+ .bk-button-group .bk-button:not(.is-disabled) {
396
+ color: #63656e;
397
+ background-color: white;
398
+ border-color: #c4c6cc;
399
+ }
400
+ .bk-button-group .bk-button.is-disabled {
401
+ color: #c4c6cc;
402
+ }
403
+ .bk-button-group .bk-button:first-child {
404
+ border-radius: 2px 0 0 2px;
405
+ }
406
+ .bk-button-group .bk-button:last-child {
407
+ border-radius: 0 2px 2px 0;
408
+ }
409
+ .bk-button-group .bk-button:only-child {
410
+ border-radius: 2px;
411
+ }
412
+ .bk-button-group .bk-button:hover:not(.is-disabled),
413
+ .bk-button-group .bk-button.is-selected:not(.is-disabled) {
414
+ position: relative;
415
+ z-index: 1;
416
+ color: #3a84ff;
417
+ background-color: white;
418
+ border-color: #3a84ff;
419
+ }
420
+ .bk-button-group .bk-button.is-selected:not(.is-disabled) {
421
+ background-color: #e1ecff;
422
+ }
423
+ .bk-button-group .bk-button.is-selected.is-disabled {
424
+ background-color: #f0f1f5;
425
+ }
426
+ .bk-exception-wrapper {
427
+ position: relative;
428
+ display: flex;
429
+ width: 100%;
430
+ align-items: center;
431
+ flex-direction: column;
432
+ }
433
+ .bk-exception-wrapper .bk-exception-img {
434
+ display: flex;
435
+ width: 480px;
436
+ height: 240px;
437
+ align-items: center;
438
+ justify-content: center;
439
+ }
440
+ .bk-exception-wrapper .bk-exception-img.part-img {
441
+ width: 120px;
442
+ height: 100px;
443
+ }
444
+ .bk-exception-wrapper .bk-exception-img .exception-image {
445
+ display: block;
446
+ height: 100%;
447
+ vertical-align: middle;
448
+ object-fit: contain;
449
+ }
450
+ .bk-exception-wrapper .bk-exception-text {
451
+ font-size: 24px;
452
+ color: #63656e;
453
+ text-align: center;
454
+ }
455
+ .bk-exception-wrapper .bk-exception-text.part-text {
456
+ font-size: 14px;
457
+ }
458
+ .bk-pagination {
459
+ display: flex;
460
+ align-items: center;
461
+ font-size: 12px;
462
+ letter-spacing: normal;
463
+ color: #63656e;
464
+ user-select: none;
465
+ }
466
+ .bk-pagination.is-disabled {
467
+ cursor: not-allowed;
468
+ }
469
+ .bk-pagination.is-align-left {
470
+ justify-content: flex-start;
471
+ }
472
+ .bk-pagination.is-align-center {
473
+ justify-content: center;
474
+ }
475
+ .bk-pagination.is-align-right {
476
+ justify-content: flex-end;
477
+ }
478
+ .bk-pagination > * {
479
+ margin: 0 6px;
480
+ }
481
+ .bk-pagination > .is-first {
482
+ margin-left: 0;
483
+ }
484
+ .bk-pagination > .is-last {
485
+ margin-right: 0;
486
+ }
487
+ .bk-pagination-total {
488
+ display: flex;
489
+ user-select: none;
490
+ }
491
+ .bk-pagination-total-num {
492
+ padding: 0 2px;
493
+ color: #3f4046;
494
+ }
495
+ .bk-pagination-list {
496
+ display: flex;
497
+ }
498
+ .bk-pagination-list-pre,
499
+ .bk-pagination-list-next,
500
+ .bk-pagination-list-item {
501
+ display: flex;
502
+ align-items: center;
503
+ justify-content: center;
504
+ height: 32px;
505
+ min-width: 32px;
506
+ padding: 0 4px;
507
+ margin-right: 2px;
508
+ margin-left: 2px;
509
+ color: #63656e;
510
+ cursor: pointer;
511
+ background: #fff;
512
+ border: 1px solid #c4c6cc;
513
+ border-radius: 2px;
514
+ user-select: none;
515
+ }
516
+ .bk-pagination-list-pre:hover,
517
+ .bk-pagination-list-next:hover,
518
+ .bk-pagination-list-item:hover,
519
+ .bk-pagination-list-pre.is-active,
520
+ .bk-pagination-list-next.is-active,
521
+ .bk-pagination-list-item.is-active {
522
+ color: #3a84ff;
523
+ border-color: #3a84ff;
524
+ }
525
+ .bk-pagination-list-pre.is-disabled,
526
+ .bk-pagination-list-next.is-disabled,
527
+ .bk-pagination-list-item.is-disabled {
528
+ color: #c4c6cc;
529
+ cursor: not-allowed;
530
+ background-color: #fafbfd;
531
+ border-color: #dcdee5;
532
+ }
533
+ .bk-pagination-list-pre-batch,
534
+ .bk-pagination-list-next-batch {
535
+ display: flex;
536
+ align-items: center;
537
+ justify-content: center;
538
+ height: 32px;
539
+ cursor: pointer;
540
+ user-select: none;
541
+ }
542
+ .bk-pagination-list-pre-batch:hover,
543
+ .bk-pagination-list-next-batch:hover {
544
+ color: #3a84ff;
545
+ }
546
+ .bk-pagination-list-pre,
547
+ .bk-pagination-list-next {
548
+ font-size: 14px;
549
+ }
550
+ .bk-pagination-list-item {
551
+ margin-right: 4px;
552
+ margin-left: 4px;
553
+ }
554
+ .bk-pagination-limit {
555
+ display: flex;
556
+ align-items: center;
557
+ user-select: none;
558
+ }
559
+ .bk-pagination-limit-select {
560
+ width: 60px;
561
+ margin: 0 4px;
562
+ }
563
+ .bk-pagination-small-list {
564
+ display: flex;
565
+ }
566
+ .bk-pagination-small-list .bk-pagination-picker {
567
+ display: flex;
568
+ height: 24px;
569
+ cursor: pointer;
570
+ background-color: #f0f1f5;
571
+ border: 1px solid #f0f1f5;
572
+ border-radius: 2px;
573
+ align-items: center;
574
+ }
575
+ .bk-pagination-small-list .bk-pagination-picker:hover {
576
+ background-color: #e1ecff;
577
+ border-color: #e1ecff;
578
+ }
579
+ .bk-pagination-small-list .bk-pagination-picker.is-focused {
580
+ background-color: #fff;
581
+ border-color: #3a84ff;
582
+ box-shadow: 0px 0px 4px rgba(58, 132, 255, 0.4);
583
+ }
584
+ .bk-pagination-editor {
585
+ height: 16px;
586
+ min-width: 14px;
587
+ padding-right: 4px;
588
+ padding-left: 8px;
589
+ line-height: 16px;
590
+ text-align: center;
591
+ background-color: transparent;
592
+ border: 0;
593
+ border-radius: 2px;
594
+ outline: none;
595
+ transition: all 0.15s;
596
+ }
597
+ .bk-pagination-small-list-total {
598
+ padding-right: 8px;
599
+ padding-left: 4px;
600
+ }
601
+ .bk-pagination-btn-pre,
602
+ .bk-pagination-btn-next {
603
+ display: flex;
604
+ justify-content: center;
605
+ align-items: center;
606
+ width: 24px;
607
+ cursor: pointer;
608
+ }
609
+ .bk-pagination-btn-pre:hover,
610
+ .bk-pagination-btn-next:hover {
611
+ color: #3a84ff;
612
+ }
613
+ .bk-pagination-btn-pre.is-disabled,
614
+ .bk-pagination-btn-next.is-disabled {
615
+ color: #dcdee5;
616
+ cursor: not-allowed;
617
+ }
618
+ .bk-pagination-picker-list {
619
+ max-height: 216px;
620
+ padding: 7px 0;
621
+ margin: -7px -14px;
622
+ overflow: auto;
623
+ }
624
+ .bk-pagination-picker-list .item {
625
+ height: 32px;
626
+ padding: 0 10px;
627
+ font-size: 12px;
628
+ line-height: 32px;
629
+ color: #63656e;
630
+ cursor: pointer;
631
+ }
632
+ .bk-pagination-picker-list .item:hover,
633
+ .bk-pagination-picker-list .item.is-actived {
634
+ color: #3a84ff;
635
+ background: #f4f6fa;
636
+ }
637
+ .bk-popover2.bk-pop2-content {
638
+ position: absolute;
639
+ display: none;
640
+ padding: 7px 14px;
641
+ font-size: 12px;
642
+ color: #fff;
643
+ background: #26323d;
644
+ border-radius: 4px;
645
+ box-sizing: border-box;
646
+ }
647
+ .bk-popover2.bk-pop2-content .bk-pop2-arrow {
648
+ position: absolute;
649
+ width: 8px;
650
+ height: 8px;
651
+ background: #333;
652
+ transform: rotate(45deg);
653
+ }
654
+ .bk-popover2.bk-pop2-content[data-theme^='light'] {
655
+ color: #26323d;
656
+ background-color: #fff;
657
+ box-shadow: 0 0 6px 0 #dcdee5;
658
+ }
659
+ .bk-popover2.bk-pop2-content[data-theme^='light'] .bk-pop2-arrow {
660
+ background-color: #fff;
661
+ }
662
+ .bk-table-head-action {
663
+ display: flex;
664
+ width: 32px;
665
+ height: var(--row-height);
666
+ margin-left: 4px;
667
+ font-size: 12px;
668
+ color: #c4c6cc;
669
+ cursor: pointer;
670
+ align-items: center;
671
+ }
672
+ .bk-table-head-action.active {
673
+ color: #3a84ff;
674
+ }
675
+ .bk-table-head-action.opened {
676
+ color: inherit;
677
+ }
678
+ .bk-popover2.bk-pop2-content.bk-table-head-filter {
679
+ padding: 5px 0 0 0;
680
+ background-color: #fff;
681
+ border-radius: 2px;
682
+ box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.1);
683
+ }
684
+ .bk-popover2.bk-pop2-content.bk-table-head-filter .content-list {
685
+ max-width: 200px;
686
+ min-width: 140px;
687
+ overflow: auto;
688
+ }
689
+ .bk-popover2.bk-pop2-content.bk-table-head-filter .content-list .list-item {
690
+ width: 100%;
691
+ height: 32px;
692
+ padding: 0 10px;
693
+ font-size: 12px;
694
+ line-height: 32px;
695
+ color: #63656e;
696
+ text-align: left;
697
+ }
698
+ .bk-popover2.bk-pop2-content.bk-table-head-filter .content-list .list-item:hover {
699
+ background: #f0f1f5;
700
+ }
701
+ .bk-popover2.bk-pop2-content.bk-table-head-filter .content-footer {
702
+ display: flex;
703
+ height: 42px;
704
+ padding: 0 10px;
705
+ border-top: solid 1px #dcdee5;
706
+ justify-content: center;
707
+ align-items: center;
708
+ }
709
+ .bk-popover2.bk-pop2-content.bk-table-head-filter .content-footer span {
710
+ display: inline-flex;
711
+ height: 100%;
712
+ padding: 6px 12px;
713
+ font-size: 14px;
714
+ line-height: 22px;
715
+ color: #3a84ff;
716
+ cursor: pointer;
717
+ align-items: center;
718
+ }
719
+ .bk-popover2.bk-pop2-content.bk-table-head-filter .content-footer span.btn-filter-split {
720
+ width: 1px;
721
+ height: calc(100% - 12px);
722
+ padding: 6px 0;
723
+ cursor: default;
724
+ background: #f0f1f5;
725
+ }
726
+ .bk-popover2.bk-pop2-content.bk-table-head-filter .content-footer span.btn-filter-reset.disable {
727
+ color: #979ba5;
728
+ cursor: not-allowed;
729
+ }
730
+ .bk-head-cell-sort {
731
+ display: flex;
732
+ flex-direction: column;
733
+ margin-left: 4px;
734
+ font-size: 10px;
735
+ }
736
+ .bk-head-cell-sort .sort-action {
737
+ display: flex;
738
+ width: 18px;
739
+ height: calc(var(--row-height)/2);
740
+ color: #c0c4cc;
741
+ cursor: pointer;
742
+ }
743
+ .bk-head-cell-sort .sort-action.active {
744
+ color: #3a84ff;
745
+ }
746
+ .bk-head-cell-sort .sort-action.sort-asc {
747
+ align-items: flex-end;
748
+ }
749
+ .bk-head-cell-sort .sort-action.sort-desc {
750
+ align-items: flex-start;
751
+ }
752
+ .bk-table-settings[data-bk-table-settings-theme='true'] {
753
+ padding: 0;
754
+ }
755
+ .bk-table-settings[data-bk-table-settings-theme='true'] .setting-content {
756
+ width: 515px;
757
+ border: 1px solid #dcdee5;
758
+ border-radius: 2px;
759
+ opacity: 1;
760
+ }
761
+ .bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-head {
762
+ position: relative;
763
+ display: flex;
764
+ padding: 0 24px;
765
+ margin: 0;
766
+ font-size: 16px;
767
+ font-weight: 400;
768
+ line-height: 32px;
769
+ color: #313238;
770
+ }
771
+ .bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-head .icon-close-action {
772
+ position: absolute;
773
+ top: 10px;
774
+ right: 15px;
775
+ cursor: pointer;
776
+ }
777
+ .bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-head .head-title {
778
+ display: inline-block;
779
+ height: 26px;
780
+ margin: 24px 0;
781
+ font-size: 20px;
782
+ line-height: 26px;
783
+ color: #313238;
784
+ }
785
+ .bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-body {
786
+ padding: 0 24px;
787
+ }
788
+ .bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-body .setting-body-title {
789
+ display: flex;
790
+ font-size: 14px;
791
+ line-height: 19px;
792
+ color: #63656e;
793
+ justify-content: space-between;
794
+ }
795
+ .bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-body .setting-body-title .field-setting-label {
796
+ height: 22px;
797
+ font-size: 14px;
798
+ line-height: 22px;
799
+ color: #313238;
800
+ text-align: left;
801
+ }
802
+ .bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-body .setting-body-title .limit {
803
+ color: #c4c6cc;
804
+ }
805
+ .bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-body .setting-body-title .check-all {
806
+ color: #3a84ff;
807
+ cursor: pointer;
808
+ }
809
+ .bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-body .setting-body-fields {
810
+ display: flex;
811
+ max-height: 150px;
812
+ align-items: flex-start;
813
+ flex-wrap: wrap;
814
+ margin-bottom: 16px;
815
+ }
816
+ .bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-body .setting-body-fields .field-item {
817
+ width: 150px;
818
+ height: 16px;
819
+ margin-top: 16px;
820
+ line-height: 16px;
821
+ }
822
+ .bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-body .setting-body-fields .field-item > label {
823
+ overflow: hidden;
824
+ text-overflow: ellipsis;
825
+ white-space: nowrap;
826
+ }
827
+ .bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-body .setting-body-line-height {
828
+ display: flex;
829
+ height: 76px;
830
+ font-size: 14px;
831
+ border-top: solid 1px #f0f1f5;
832
+ align-items: center;
833
+ }
834
+ .bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-body .setting-body-line-height .line-size {
835
+ display: flex;
836
+ width: 68px;
837
+ height: 26px;
838
+ color: #63656e;
839
+ cursor: pointer;
840
+ border: 1px solid #c4c6cc;
841
+ justify-content: center;
842
+ align-items: center;
843
+ }
844
+ .bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-body .setting-body-line-height .line-size.active {
845
+ color: #3a84ff;
846
+ background: #e1ecff;
847
+ border: 1px solid #a3c5fd;
848
+ }
849
+ .bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-body .setting-body-line-height .line-size:not(.active) {
850
+ border-right: none;
851
+ border-left: none;
852
+ }
853
+ .bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-body .setting-body-line-height .line-size:first-child {
854
+ border-right: 1px solid #c4c6cc;
855
+ border-left: 1px solid #c4c6cc;
856
+ border-bottom-left-radius: 2px;
857
+ border-top-left-radius: 2px;
858
+ }
859
+ .bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-body .setting-body-line-height .line-size:first-child.is-medium {
860
+ border-right: none;
861
+ }
862
+ .bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-body .setting-body-line-height .line-size:last-child {
863
+ border-right: 1px solid #c4c6cc;
864
+ border-left: 1px solid #c4c6cc;
865
+ border-top-right-radius: 2px;
866
+ border-bottom-right-radius: 2px;
867
+ }
868
+ .bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-body .setting-body-line-height .line-size:last-child.is-medium {
869
+ border-left: none;
870
+ }
871
+ .bk-table-settings[data-bk-table-settings-theme='true'] .setting-content .setting-footer {
872
+ display: flex;
873
+ height: 50px;
874
+ padding: 0 24px;
875
+ background: #fafbfd;
876
+ border: 1px solid #dcdee5;
877
+ border-radius: 0px 0px 2px 2px;
878
+ justify-content: flex-end;
879
+ align-items: center;
880
+ }
881
+ .bk-table {
882
+ position: relative;
883
+ height: auto;
884
+ overflow: hidden;
885
+ border-top: 1px solid #dcdee5;
886
+ }
887
+ .bk-table.has-scroll-y {
888
+ border-bottom: 1px solid #dcdee5;
889
+ }
890
+ .bk-table.has-scroll-y .bk-table-head {
891
+ padding-right: 4px;
892
+ }
893
+ .bk-table.has-scroll-y.is-scroll-bottom {
894
+ border-bottom: 1px solid transparent;
895
+ }
1
896
  .bk-table .bk-table-body {
2
- height: 500px;
897
+ position: relative;
3
898
  overflow: auto;
899
+ }
900
+ .bk-table .bk-table-head,
901
+ .bk-table .bk-table-body {
4
902
  background: white;
5
903
  }
904
+ .bk-table .bk-table-head.__is-empty,
905
+ .bk-table .bk-table-body.__is-empty {
906
+ display: flex;
907
+ height: 100%;
908
+ justify-content: center;
909
+ align-items: center;
910
+ }
911
+ .bk-table .bk-table-head.__is-empty .bk-table-body-content,
912
+ .bk-table .bk-table-body.__is-empty .bk-table-body-content {
913
+ display: flex;
914
+ width: 100%;
915
+ height: 100%;
916
+ }
917
+ .bk-table .bk-table-head table,
6
918
  .bk-table .bk-table-body table {
7
919
  width: 100%;
8
920
  border-collapse: collapse;
921
+ table-layout: fixed;
922
+ align-self: flex-start;
923
+ }
924
+ .bk-table .bk-table-head table th,
925
+ .bk-table .bk-table-body table th,
926
+ .bk-table .bk-table-head table td,
927
+ .bk-table .bk-table-body table td {
928
+ height: var(--row-height);
929
+ min-width: 80px;
930
+ clear: both;
9
931
  }
10
- .bk-table .bk-table-body table .cell {
11
- height: 40px;
932
+ .bk-table .bk-table-head table th .cell,
933
+ .bk-table .bk-table-body table th .cell,
934
+ .bk-table .bk-table-head table td .cell,
935
+ .bk-table .bk-table-body table td .cell {
12
936
  padding: 0 15px;
13
937
  overflow: hidden;
14
- line-height: 40px;
938
+ font-size: 12px;
939
+ color: #575961;
940
+ text-align: left;
15
941
  text-overflow: ellipsis;
16
942
  white-space: nowrap;
17
943
  }
18
- .bk-table .bk-table-body table th,
19
- .bk-table .bk-table-body table td {
20
- min-width: 80px;
21
- border-bottom: 1px solid #dfe0e5;
944
+ .bk-table .bk-table-head table th .cell.expand-cell,
945
+ .bk-table .bk-table-body table th .cell.expand-cell,
946
+ .bk-table .bk-table-head table td .cell.expand-cell,
947
+ .bk-table .bk-table-body table td .cell.expand-cell {
948
+ padding: 0;
949
+ text-overflow: unset;
22
950
  }
23
- .bk-table .bk-table-body table thead th {
951
+ .bk-table .bk-table-head table th .cell .expand-btn-action,
952
+ .bk-table .bk-table-body table th .cell .expand-btn-action,
953
+ .bk-table .bk-table-head table td .cell .expand-btn-action,
954
+ .bk-table .bk-table-body table td .cell .expand-btn-action {
955
+ display: flex;
956
+ padding: 0 15px;
957
+ cursor: pointer;
958
+ }
959
+ .bk-table .bk-table-head table th.column_fixed,
960
+ .bk-table .bk-table-body table th.column_fixed,
961
+ .bk-table .bk-table-head table td.column_fixed,
962
+ .bk-table .bk-table-body table td.column_fixed {
24
963
  position: sticky;
25
- top: 0;
26
- z-index: 1;
27
- background-color: #fff;
964
+ background: #fff;
965
+ }
966
+ .bk-table .bk-table-head table th.column_fixed.column_fixed_left,
967
+ .bk-table .bk-table-body table th.column_fixed.column_fixed_left,
968
+ .bk-table .bk-table-head table td.column_fixed.column_fixed_left,
969
+ .bk-table .bk-table-body table td.column_fixed.column_fixed_left {
970
+ left: 0;
971
+ }
972
+ .bk-table .bk-table-head table th.column_fixed.column_fixed_right,
973
+ .bk-table .bk-table-body table th.column_fixed.column_fixed_right,
974
+ .bk-table .bk-table-head table td.column_fixed.column_fixed_right,
975
+ .bk-table .bk-table-body table td.column_fixed.column_fixed_right {
976
+ right: 0;
977
+ }
978
+ .bk-table .bk-table-head table th.row_expend .expand-cell-ctx,
979
+ .bk-table .bk-table-body table th.row_expend .expand-cell-ctx,
980
+ .bk-table .bk-table-head table td.row_expend .expand-cell-ctx,
981
+ .bk-table .bk-table-body table td.row_expend .expand-cell-ctx {
982
+ min-height: 30px;
28
983
  }
29
- .bk-table .bk-table-body table thead th.active {
984
+ .bk-table .bk-table-head table thead th,
985
+ .bk-table .bk-table-body table thead th {
986
+ font-weight: 400;
987
+ color: #313238;
988
+ background-color: #fafbfd;
989
+ }
990
+ .bk-table .bk-table-head table thead th .cell,
991
+ .bk-table .bk-table-body table thead th .cell {
992
+ display: flex;
993
+ align-items: center;
994
+ height: calc(var(--row-height) - 1px);
995
+ }
996
+ .bk-table .bk-table-head table thead th.active,
997
+ .bk-table .bk-table-body table thead th.active,
998
+ .bk-table .bk-table-head table thead th:hover,
999
+ .bk-table .bk-table-body table thead th:hover {
30
1000
  background: #f0f1f5;
31
1001
  }
32
- .bk-table .bk-table-body table tbody tr:hover td {
1002
+ .bk-table .bk-table-head table thead th.column_fixed,
1003
+ .bk-table .bk-table-body table thead th.column_fixed {
1004
+ transform: translateX(var(--scroll-left));
1005
+ }
1006
+ .bk-table .bk-table-head table tbody tr td.empty-cell,
1007
+ .bk-table .bk-table-body table tbody tr td.empty-cell {
1008
+ padding-bottom: 30px;
1009
+ }
1010
+ .bk-table .bk-table-head table tbody tr td .cell,
1011
+ .bk-table .bk-table-body table tbody tr td .cell {
1012
+ display: block;
1013
+ width: 100%;
1014
+ height: 100%;
1015
+ line-height: calc(var(--row-height) - 1px);
1016
+ box-sizing: border-box;
1017
+ align-items: center;
1018
+ }
1019
+ .bk-table .bk-table-head table tbody tr:hover td:not(.empty-cell),
1020
+ .bk-table .bk-table-body table tbody tr:hover td:not(.empty-cell) {
33
1021
  background: #f5f7fa;
34
1022
  }
1023
+ .bk-table .bk-table-head {
1024
+ position: relative;
1025
+ transform: translateX(var(--scroll-head-left));
1026
+ }
1027
+ .bk-table .bk-table-head .table-head-settings {
1028
+ position: absolute;
1029
+ top: 0;
1030
+ right: 1px;
1031
+ bottom: 0px;
1032
+ display: block;
1033
+ display: flex;
1034
+ width: calc(var(--row-height));
1035
+ font-size: 14px;
1036
+ cursor: pointer;
1037
+ background: #fafbfd;
1038
+ border-right: 1px solid #dcdee5;
1039
+ border-bottom: 1px solid #dcdee5;
1040
+ border-left: 1px solid #dcdee5;
1041
+ border-radius: 0px 2px 0px 0px;
1042
+ justify-content: center;
1043
+ align-items: center;
1044
+ }
1045
+ .bk-table .bk-table-head .table-head-settings > span {
1046
+ display: flex;
1047
+ width: 1rem;
1048
+ height: 1rem;
1049
+ }
1050
+ .bk-table .bk-table-footer {
1051
+ line-height: 40px;
1052
+ border-top: 1px solid #dcdee5;
1053
+ border-bottom: 1px solid #dcdee5;
1054
+ }
1055
+ .bk-table .bk-table-footer.is-hidden {
1056
+ display: none;
1057
+ }
1058
+ .bk-table.bordered-row td,
1059
+ .bk-table.bordered-row th {
1060
+ border-bottom: 1px solid #dcdee5;
1061
+ }
1062
+ .bk-table.bordered-row.has-footer {
1063
+ border-bottom: none;
1064
+ }
1065
+ .bk-table.bordered-row.has-footer.has-scroll-y tr:last-child td {
1066
+ border-bottom: none;
1067
+ }
1068
+ .bk-table.bordered-outer {
1069
+ border-right: 1px solid #dcdee5;
1070
+ border-left: 1px solid #dcdee5;
1071
+ }
1072
+ .bk-table.bordered-col th,
1073
+ .bk-table.bordered-col td {
1074
+ border-right: 1px solid #dcdee5;
1075
+ }
1076
+ .bk-table.bordered-col th:last-child,
1077
+ .bk-table.bordered-col td:last-child {
1078
+ border-right: none;
1079
+ }
1080
+ .bk-table.bordered-none th,
1081
+ .bk-table.bordered-none td {
1082
+ border-top: none;
1083
+ border-right: none;
1084
+ border-bottom: none;
1085
+ border-left: none;
1086
+ }
35
1087
  .bk-table .bk-table-fixed {
1088
+ position: absolute;
1089
+ top: 0;
1090
+ right: 0;
1091
+ bottom: 0;
1092
+ left: 0;
36
1093
  width: 100%;
1094
+ pointer-events: none;
1095
+ }
1096
+ .bk-table .bk-table-fixed .column_fixed {
1097
+ position: absolute;
1098
+ }
1099
+ .bk-table .bk-table-fixed .column_fixed.column_fixed_left {
1100
+ top: 0;
1101
+ left: 0;
1102
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
1103
+ }
1104
+ .bk-table .bk-table-fixed .column_fixed.column_fixed_right {
1105
+ top: 0;
1106
+ right: 0;
1107
+ box-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
1108
+ }
1109
+ .bk-table .bk-table-fixed .scroll-loading._bottom {
1110
+ position: absolute;
1111
+ right: 0;
1112
+ bottom: 0;
1113
+ left: 0;
1114
+ display: flex;
1115
+ justify-content: center;
37
1116
  }
38
1117
  .bk-table colgroup col {
39
- background: #fff;
1118
+ background: white;
40
1119
  }
41
1120
  .bk-table colgroup col.active {
42
1121
  position: relative;