bkui-vue 0.0.1-beta.15 → 0.0.1-beta.150

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