bkui-vue 0.0.1-beta.13 → 0.0.1-beta.130

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 (529) hide show
  1. package/README.md +31 -19
  2. package/dist/index.cjs.js +171 -0
  3. package/dist/index.esm.js +31715 -0
  4. package/dist/index.umd.js +171 -0
  5. package/dist/style.css +1 -4051
  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 +105 -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 +24 -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 +19 -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 +24 -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 +80 -4
  37. package/lib/breadcrumb/index.d.ts +118 -46
  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 +89 -47
  43. package/lib/button/button.variable.css +111 -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 +115 -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 +48 -0
  53. package/lib/cascader/cascader.css +130 -0
  54. package/lib/cascader/cascader.d.ts +271 -0
  55. package/lib/cascader/cascader.less +146 -0
  56. package/lib/cascader/cascader.variable.css +232 -0
  57. package/lib/cascader/index.d.ts +721 -0
  58. package/lib/cascader/index.js +1 -0
  59. package/lib/cascader/interface.d.ts +44 -0
  60. package/lib/cascader/node.d.ts +24 -0
  61. package/lib/cascader/store.d.ts +15 -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 +52 -9
  67. package/lib/checkbox/common.d.ts +3 -3
  68. package/lib/checkbox/index.d.ts +151 -105
  69. package/lib/checkbox/index.js +1 -1
  70. package/lib/checkbox/type.d.ts +4 -8
  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 +288 -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 +119 -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 +193 -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 +22 -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 +68 -16
  104. package/lib/dialog/dialog.d.ts +285 -52
  105. package/lib/dialog/dialog.less +43 -17
  106. package/lib/dialog/dialog.variable.css +68 -16
  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 +19 -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 +29 -15
  123. package/lib/dropdown/dropdown.less +5 -0
  124. package/lib/dropdown/dropdown.variable.css +23 -3
  125. package/lib/dropdown/index.d.ts +112 -72
  126. package/lib/dropdown/index.js +1 -1
  127. package/lib/exception/exception.d.ts +11 -9
  128. package/lib/exception/exception.variable.css +19 -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 +19 -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 +198 -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 +1 -1
  247. package/lib/index.js +1 -0
  248. package/lib/input/index.d.ts +462 -196
  249. package/lib/input/index.js +1 -15
  250. package/lib/input/input.css +232 -16
  251. package/lib/input/input.d.ts +182 -52
  252. package/lib/input/input.less +182 -19
  253. package/lib/input/input.variable.css +248 -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 +19 -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 +196 -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 +70 -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 +22 -3
  275. package/lib/menu/utils.d.ts +1 -1
  276. package/lib/message/index.js +1 -1
  277. package/lib/message/message.css +16 -2
  278. package/lib/message/message.less +18 -1
  279. package/lib/message/message.variable.css +35 -5
  280. package/lib/message/messageConstructor.d.ts +68 -20
  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 +20 -4
  295. package/lib/notify/index.js +1 -1
  296. package/lib/notify/notify.css +17 -1
  297. package/lib/notify/notify.less +19 -1
  298. package/lib/notify/notify.variable.css +36 -4
  299. package/lib/notify/notifyConstructor.d.ts +83 -23
  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 +281 -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 +45 -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 +127 -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.d.ts +2 -3
  334. package/lib/preset.js +1 -0
  335. package/lib/process/index.d.ts +205 -0
  336. package/lib/process/index.js +1 -0
  337. package/lib/process/process.css +138 -0
  338. package/lib/process/process.d.ts +131 -0
  339. package/lib/process/process.less +178 -0
  340. package/lib/process/process.variable.css +240 -0
  341. package/lib/progress/index.d.ts +305 -135
  342. package/lib/progress/index.js +1 -1
  343. package/lib/progress/progress.css +51 -3
  344. package/lib/progress/progress.d.ts +89 -36
  345. package/lib/progress/progress.less +0 -4
  346. package/lib/progress/progress.variable.css +70 -6
  347. package/lib/radio/common.d.ts +5 -5
  348. package/lib/radio/index.d.ts +147 -98
  349. package/lib/radio/index.js +1 -1
  350. package/lib/radio/radio-button.d.ts +30 -23
  351. package/lib/radio/radio-group.d.ts +11 -10
  352. package/lib/radio/radio.css +12 -13
  353. package/lib/radio/radio.d.ts +27 -17
  354. package/lib/radio/radio.less +13 -14
  355. package/lib/radio/radio.variable.css +32 -17
  356. package/lib/radio/type.d.ts +10 -5
  357. package/lib/rate/index.d.ts +52 -40
  358. package/lib/rate/index.js +1 -1
  359. package/lib/rate/rate.d.ts +13 -10
  360. package/lib/rate/star.d.ts +33 -16
  361. package/lib/resize-layout/index.d.ts +336 -0
  362. package/lib/resize-layout/index.js +1 -0
  363. package/lib/resize-layout/resize-layout.css +189 -0
  364. package/lib/resize-layout/resize-layout.d.ts +127 -0
  365. package/lib/resize-layout/resize-layout.less +233 -0
  366. package/lib/resize-layout/resize-layout.variable.css +291 -0
  367. package/lib/select/common.d.ts +20 -22
  368. package/lib/select/index.d.ts +1062 -706
  369. package/lib/select/index.js +1 -15
  370. package/lib/select/option.d.ts +23 -19
  371. package/lib/select/optionGroup.d.ts +36 -97
  372. package/lib/select/select.css +226 -71
  373. package/lib/select/select.d.ts +376 -192
  374. package/lib/select/select.less +270 -130
  375. package/lib/select/select.variable.css +245 -74
  376. package/lib/select/selectTagInput.d.ts +72 -0
  377. package/lib/select/type.d.ts +38 -0
  378. package/lib/shared/{bk-helper-core.d.ts → helper.d.ts} +6 -1
  379. package/lib/shared/index.d.ts +26 -4
  380. package/lib/shared/index.js +1 -1
  381. package/lib/shared/{bk-mask-manager.d.ts → mask-manager.d.ts} +33 -3
  382. package/lib/shared/{bk-pop-manager.d.ts → pop-manager.d.ts} +10 -2
  383. package/lib/shared/{bk-popover.d.ts → popover.d.ts} +50 -5
  384. package/lib/shared/token.d.ts +4 -0
  385. package/lib/shared/utils.d.ts +18 -0
  386. package/lib/shared/vue-types.d.ts +11 -7
  387. package/lib/sideslider/index.d.ts +424 -80
  388. package/lib/sideslider/index.js +1 -1
  389. package/lib/sideslider/sideslider.css +48 -3
  390. package/lib/sideslider/sideslider.d.ts +181 -30
  391. package/lib/sideslider/sideslider.less +65 -6
  392. package/lib/sideslider/sideslider.variable.css +67 -6
  393. package/lib/slider/index.d.ts +414 -1
  394. package/lib/slider/index.js +1 -15
  395. package/lib/slider/slider-button.d.ts +15 -7
  396. package/lib/slider/slider.d.ts +84 -42
  397. package/lib/slider/slider.variable.css +19 -3
  398. package/lib/steps/index.d.ts +162 -110
  399. package/lib/steps/index.js +1 -15
  400. package/lib/steps/steps.css +17 -3
  401. package/lib/steps/steps.d.ts +41 -28
  402. package/lib/steps/steps.less +27 -3
  403. package/lib/steps/steps.variable.css +36 -6
  404. package/lib/styles/index.d.ts +14 -0
  405. package/lib/styles/mixins/clearfix.css +8 -0
  406. package/lib/styles/mixins/clearfix.less +10 -0
  407. package/lib/styles/mixins/clearfix.variable.css +8 -0
  408. package/lib/styles/mixins/mixins.css +51 -0
  409. package/lib/styles/mixins/mixins.less +2 -0
  410. package/lib/styles/mixins/mixins.variable.css +51 -0
  411. package/lib/styles/mixins/scroll.css +17 -0
  412. package/lib/styles/mixins/scroll.less +22 -0
  413. package/lib/styles/mixins/scroll.variable.css +119 -0
  414. package/lib/styles/themes/themes.less +27 -3
  415. package/lib/swiper/index.d.ts +181 -0
  416. package/lib/swiper/index.js +1 -0
  417. package/lib/swiper/swiper.css +91 -0
  418. package/lib/swiper/swiper.d.ts +65 -0
  419. package/lib/swiper/swiper.less +107 -0
  420. package/lib/swiper/swiper.variable.css +91 -0
  421. package/lib/switcher/index.d.ts +201 -137
  422. package/lib/switcher/index.js +1 -1
  423. package/lib/switcher/switcher.css +200 -135
  424. package/lib/switcher/switcher.d.ts +52 -36
  425. package/lib/switcher/switcher.less +211 -153
  426. package/lib/switcher/switcher.variable.css +219 -138
  427. package/lib/tab/index.d.ts +306 -282
  428. package/lib/tab/index.js +1 -1
  429. package/lib/tab/props.d.ts +194 -0
  430. package/lib/tab/tab-nav.d.ts +102 -87
  431. package/lib/tab/tab-panel.d.ts +53 -26
  432. package/lib/tab/tab.css +25 -1
  433. package/lib/tab/tab.d.ts +59 -51
  434. package/lib/tab/tab.less +31 -19
  435. package/lib/tab/tab.variable.css +44 -4
  436. package/lib/table/const.d.ts +67 -0
  437. package/lib/table/index.d.ts +498 -70
  438. package/lib/table/index.js +1 -1
  439. package/lib/table/plugins/head-filter.css +68 -0
  440. package/lib/table/plugins/head-filter.less +88 -0
  441. package/lib/table/plugins/head-filter.variable.css +170 -0
  442. package/lib/table/plugins/head-sort.css +22 -0
  443. package/lib/table/plugins/head-sort.less +28 -0
  444. package/lib/table/plugins/head-sort.variable.css +124 -0
  445. package/lib/table/plugins/settings.css +129 -0
  446. package/lib/table/plugins/settings.less +157 -0
  447. package/lib/table/plugins/settings.variable.css +231 -0
  448. package/lib/table/props.d.ts +210 -2
  449. package/lib/table/render.d.ts +76 -5
  450. package/lib/table/table.css +1089 -15
  451. package/lib/table/table.d.ts +221 -14
  452. package/lib/table/table.less +251 -24
  453. package/lib/table/table.variable.css +1109 -19
  454. package/lib/table/use-common.d.ts +72 -0
  455. package/lib/table/utils.d.ts +84 -2
  456. package/lib/tag/index.d.ts +165 -274
  457. package/lib/tag/index.js +1 -1
  458. package/lib/tag/tag.css +97 -0
  459. package/lib/tag/tag.d.ts +83 -53
  460. package/lib/tag/tag.less +110 -2
  461. package/lib/tag/tag.variable.css +116 -3
  462. package/lib/tag-input/common.d.ts +24 -0
  463. package/lib/tag-input/index.d.ts +894 -0
  464. package/lib/tag-input/index.js +1 -0
  465. package/lib/tag-input/list-tag-render.d.ts +47 -0
  466. package/lib/tag-input/tag-input.css +209 -0
  467. package/lib/tag-input/tag-input.d.ts +374 -0
  468. package/lib/tag-input/tag-input.less +251 -0
  469. package/lib/tag-input/tag-input.variable.css +311 -0
  470. package/lib/tag-input/tag-props.d.ts +131 -0
  471. package/lib/tag-input/tag-render.d.ts +38 -0
  472. package/lib/timeline/index.d.ts +129 -0
  473. package/lib/timeline/index.js +1 -0
  474. package/lib/timeline/timeline.css +235 -0
  475. package/lib/timeline/timeline.d.ts +81 -0
  476. package/lib/timeline/timeline.less +240 -0
  477. package/lib/timeline/timeline.variable.css +337 -0
  478. package/lib/transfer/const.d.ts +5 -0
  479. package/lib/transfer/index.d.ts +365 -0
  480. package/lib/transfer/index.js +1 -0
  481. package/lib/transfer/props.d.ts +54 -0
  482. package/lib/transfer/transfer.css +139 -0
  483. package/lib/transfer/transfer.d.ts +160 -0
  484. package/lib/transfer/transfer.less +144 -0
  485. package/lib/transfer/transfer.variable.css +241 -0
  486. package/lib/tree/constant.d.ts +45 -0
  487. package/lib/tree/index.d.ts +469 -94
  488. package/lib/tree/index.js +1 -1
  489. package/lib/tree/props.d.ts +184 -0
  490. package/lib/tree/tree.css +176 -15
  491. package/lib/tree/tree.d.ts +201 -31
  492. package/lib/tree/tree.less +75 -38
  493. package/lib/tree/tree.variable.css +278 -15
  494. package/lib/tree/use-empty.d.ts +6 -0
  495. package/lib/tree/use-node-action.d.ts +12 -0
  496. package/lib/tree/use-node-async.d.ts +5 -0
  497. package/lib/tree/use-node-attribute.d.ts +33 -0
  498. package/lib/tree/use-node-drag.d.ts +3 -0
  499. package/lib/tree/use-search.d.ts +11 -0
  500. package/lib/tree/use-tree-init.d.ts +15 -0
  501. package/lib/tree/util.d.ts +34 -57
  502. package/lib/upload/index.d.ts +2 -0
  503. package/lib/upload/index.js +1 -0
  504. package/lib/upload/props.d.ts +113 -0
  505. package/lib/upload/upload-list.d.ts +46 -0
  506. package/lib/upload/upload-trigger.d.ts +54 -0
  507. package/lib/upload/upload.css +417 -0
  508. package/lib/upload/upload.d.ts +252 -0
  509. package/lib/upload/upload.less +455 -0
  510. package/lib/upload/upload.type.d.ts +78 -0
  511. package/lib/upload/upload.variable.css +519 -0
  512. package/lib/upload/use-ajax-upload.d.ts +3 -0
  513. package/lib/upload/use-file-handler.d.ts +44 -0
  514. package/lib/virtual-render/index.d.ts +579 -0
  515. package/lib/virtual-render/index.js +1 -0
  516. package/lib/virtual-render/props.d.ts +167 -0
  517. package/lib/virtual-render/use-tag-render.d.ts +7 -0
  518. package/lib/virtual-render/v-virtual-render.d.ts +6 -0
  519. package/lib/virtual-render/virtual-render.css +33 -0
  520. package/lib/virtual-render/virtual-render.d.ts +255 -0
  521. package/lib/virtual-render/virtual-render.less +22 -0
  522. package/lib/virtual-render/virtual-render.variable.css +135 -0
  523. package/lib/volar.components.d.ts +29 -0
  524. package/package.json +107 -84
  525. package/dist/bkui-vue.cjs.js +0 -9999
  526. package/dist/bkui-vue.esm.js +0 -9958
  527. package/dist/bkui-vue.umd.js +0 -10002
  528. package/lib/form/common.d.ts +0 -3
  529. package/lib/styles/index.js +0 -1
@@ -3,52 +3,95 @@ declare const BkProgress: {
3
3
  $: import("vue").ComponentInternalInstance;
4
4
  $data: {};
5
5
  $props: Partial<{
6
- width: number;
7
- color: string;
6
+ fixed: number;
7
+ type: string;
8
8
  theme: string;
9
9
  extCls: string;
10
- type: string;
10
+ width: number;
11
+ color: string;
12
+ strokeLinecap: string;
13
+ strokeWidth: number;
11
14
  format: (...args: any[]) => any;
12
15
  percent: number;
13
- strokeWidth: number;
14
- strokeLinecap: string;
16
+ bgColor: string;
15
17
  titleStyle: {
16
18
  [key: string]: any;
17
19
  };
18
20
  showText: boolean;
19
21
  textInside: boolean;
20
- }> & Omit<Readonly<{
21
- extCls?: unknown;
22
- type?: unknown;
23
- percent?: unknown;
24
- theme?: unknown;
25
- size?: unknown;
26
- width?: unknown;
27
- strokeWidth?: unknown;
28
- strokeLinecap?: unknown;
29
- textInside?: unknown;
30
- showText?: unknown;
31
- color?: unknown;
32
- format?: unknown;
33
- titleStyle?: unknown;
34
- } & {
35
- width: number;
36
- color: string;
37
- theme: string;
38
- extCls: string;
39
- type: string;
40
- percent: number;
41
- strokeWidth: number;
42
- strokeLinecap: string;
43
- titleStyle: {
22
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
23
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
24
+ default: string;
25
+ };
26
+ type: import("vue-types").VueTypeValidableDef<string> & {
27
+ default: string;
28
+ } & {
29
+ validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
30
+ } & {
31
+ default: string;
32
+ };
33
+ percent: import("vue-types").VueTypeValidableDef<number> & {
34
+ default: number;
35
+ } & {
36
+ default: number;
37
+ };
38
+ theme: import("vue-types").VueTypeDef<string> & {
39
+ default: string;
40
+ };
41
+ size: import("vue-types").VueTypeDef<string>;
42
+ width: import("vue-types").VueTypeValidableDef<number> & {
43
+ default: number;
44
+ } & {
45
+ default: number;
46
+ };
47
+ strokeWidth: import("vue-types").VueTypeValidableDef<number> & {
48
+ default: number;
49
+ };
50
+ strokeLinecap: import("vue-types").VueTypeValidableDef<string> & {
51
+ default: string;
52
+ } & {
53
+ default: string;
54
+ };
55
+ textInside: import("vue-types").VueTypeValidableDef<boolean> & {
56
+ default: boolean;
57
+ } & {
58
+ default: boolean;
59
+ };
60
+ showText: import("vue-types").VueTypeValidableDef<boolean> & {
61
+ default: boolean;
62
+ } & {
63
+ default: boolean;
64
+ };
65
+ color: import("vue-types").VueTypeValidableDef<string> & {
66
+ default: string;
67
+ };
68
+ bgColor: import("vue-types").VueTypeValidableDef<string> & {
69
+ default: string;
70
+ };
71
+ fixed: import("vue-types").VueTypeValidableDef<number> & {
72
+ default: number;
73
+ } & {
74
+ validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
75
+ } & {
76
+ default: number;
77
+ };
78
+ format: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
79
+ default: (...args: any[]) => any;
80
+ } & {
81
+ default: (...args: any[]) => any;
82
+ };
83
+ titleStyle: import("vue-types").VueTypeValidableDef<{
44
84
  [key: string]: any;
85
+ }> & {
86
+ default: () => {
87
+ [key: string]: any;
88
+ };
89
+ } & {
90
+ default: () => {
91
+ [key: string]: any;
92
+ };
45
93
  };
46
- showText: boolean;
47
- textInside: boolean;
48
- } & {
49
- size?: string;
50
- format?: (...args: any[]) => any;
51
- }> & {} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "width" | "color" | "theme" | "extCls" | "type" | "format" | "percent" | "strokeWidth" | "strokeLinecap" | "titleStyle" | "showText" | "textInside">;
94
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "fixed" | "type" | "theme" | "extCls" | "width" | "color" | "strokeLinecap" | "strokeWidth" | "format" | "percent" | "bgColor" | "titleStyle" | "showText" | "textInside">;
52
95
  $attrs: {
53
96
  [x: string]: unknown;
54
97
  };
@@ -62,52 +105,95 @@ declare const BkProgress: {
62
105
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
63
106
  $emit: (event: string, ...args: any[]) => void;
64
107
  $el: any;
65
- $options: import("vue").ComponentOptionsBase<Readonly<{
66
- extCls?: unknown;
67
- type?: unknown;
68
- percent?: unknown;
69
- theme?: unknown;
70
- size?: unknown;
71
- width?: unknown;
72
- strokeWidth?: unknown;
73
- strokeLinecap?: unknown;
74
- textInside?: unknown;
75
- showText?: unknown;
76
- color?: unknown;
77
- format?: unknown;
78
- titleStyle?: unknown;
79
- } & {
80
- width: number;
81
- color: string;
82
- theme: string;
83
- extCls: string;
84
- type: string;
85
- percent: number;
86
- strokeWidth: number;
87
- strokeLinecap: string;
88
- titleStyle: {
108
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
109
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
110
+ default: string;
111
+ };
112
+ type: import("vue-types").VueTypeValidableDef<string> & {
113
+ default: string;
114
+ } & {
115
+ validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
116
+ } & {
117
+ default: string;
118
+ };
119
+ percent: import("vue-types").VueTypeValidableDef<number> & {
120
+ default: number;
121
+ } & {
122
+ default: number;
123
+ };
124
+ theme: import("vue-types").VueTypeDef<string> & {
125
+ default: string;
126
+ };
127
+ size: import("vue-types").VueTypeDef<string>;
128
+ width: import("vue-types").VueTypeValidableDef<number> & {
129
+ default: number;
130
+ } & {
131
+ default: number;
132
+ };
133
+ strokeWidth: import("vue-types").VueTypeValidableDef<number> & {
134
+ default: number;
135
+ };
136
+ strokeLinecap: import("vue-types").VueTypeValidableDef<string> & {
137
+ default: string;
138
+ } & {
139
+ default: string;
140
+ };
141
+ textInside: import("vue-types").VueTypeValidableDef<boolean> & {
142
+ default: boolean;
143
+ } & {
144
+ default: boolean;
145
+ };
146
+ showText: import("vue-types").VueTypeValidableDef<boolean> & {
147
+ default: boolean;
148
+ } & {
149
+ default: boolean;
150
+ };
151
+ color: import("vue-types").VueTypeValidableDef<string> & {
152
+ default: string;
153
+ };
154
+ bgColor: import("vue-types").VueTypeValidableDef<string> & {
155
+ default: string;
156
+ };
157
+ fixed: import("vue-types").VueTypeValidableDef<number> & {
158
+ default: number;
159
+ } & {
160
+ validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
161
+ } & {
162
+ default: number;
163
+ };
164
+ format: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
165
+ default: (...args: any[]) => any;
166
+ } & {
167
+ default: (...args: any[]) => any;
168
+ };
169
+ titleStyle: import("vue-types").VueTypeValidableDef<{
89
170
  [key: string]: any;
171
+ }> & {
172
+ default: () => {
173
+ [key: string]: any;
174
+ };
175
+ } & {
176
+ default: () => {
177
+ [key: string]: any;
178
+ };
90
179
  };
91
- showText: boolean;
92
- textInside: boolean;
93
- } & {
94
- size?: string;
95
- format?: (...args: any[]) => any;
96
- }> & {}, {}, unknown, {}, {
180
+ }>>, {}, unknown, {}, {
97
181
  validPercent(percent?: number): number;
98
182
  renderProcessInfo(): JSX.Element | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
99
183
  [key: string]: any;
100
184
  }>[];
101
185
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
102
- width: number;
103
- color: string;
186
+ fixed: number;
187
+ type: string;
104
188
  theme: string;
105
189
  extCls: string;
106
- type: string;
190
+ width: number;
191
+ color: string;
192
+ strokeLinecap: string;
193
+ strokeWidth: number;
107
194
  format: (...args: any[]) => any;
108
195
  percent: number;
109
- strokeWidth: number;
110
- strokeLinecap: string;
196
+ bgColor: string;
111
197
  titleStyle: {
112
198
  [key: string]: any;
113
199
  };
@@ -133,38 +219,79 @@ declare const BkProgress: {
133
219
  $forceUpdate: () => void;
134
220
  $nextTick: typeof import("vue").nextTick;
135
221
  $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
136
- } & Readonly<{
137
- extCls?: unknown;
138
- type?: unknown;
139
- percent?: unknown;
140
- theme?: unknown;
141
- size?: unknown;
142
- width?: unknown;
143
- strokeWidth?: unknown;
144
- strokeLinecap?: unknown;
145
- textInside?: unknown;
146
- showText?: unknown;
147
- color?: unknown;
148
- format?: unknown;
149
- titleStyle?: unknown;
150
- } & {
151
- width: number;
152
- color: string;
153
- theme: string;
154
- extCls: string;
155
- type: string;
156
- percent: number;
157
- strokeWidth: number;
158
- strokeLinecap: string;
159
- titleStyle: {
222
+ } & Readonly<import("vue").ExtractPropTypes<{
223
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
224
+ default: string;
225
+ };
226
+ type: import("vue-types").VueTypeValidableDef<string> & {
227
+ default: string;
228
+ } & {
229
+ validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
230
+ } & {
231
+ default: string;
232
+ };
233
+ percent: import("vue-types").VueTypeValidableDef<number> & {
234
+ default: number;
235
+ } & {
236
+ default: number;
237
+ };
238
+ theme: import("vue-types").VueTypeDef<string> & {
239
+ default: string;
240
+ };
241
+ size: import("vue-types").VueTypeDef<string>;
242
+ width: import("vue-types").VueTypeValidableDef<number> & {
243
+ default: number;
244
+ } & {
245
+ default: number;
246
+ };
247
+ strokeWidth: import("vue-types").VueTypeValidableDef<number> & {
248
+ default: number;
249
+ };
250
+ strokeLinecap: import("vue-types").VueTypeValidableDef<string> & {
251
+ default: string;
252
+ } & {
253
+ default: string;
254
+ };
255
+ textInside: import("vue-types").VueTypeValidableDef<boolean> & {
256
+ default: boolean;
257
+ } & {
258
+ default: boolean;
259
+ };
260
+ showText: import("vue-types").VueTypeValidableDef<boolean> & {
261
+ default: boolean;
262
+ } & {
263
+ default: boolean;
264
+ };
265
+ color: import("vue-types").VueTypeValidableDef<string> & {
266
+ default: string;
267
+ };
268
+ bgColor: import("vue-types").VueTypeValidableDef<string> & {
269
+ default: string;
270
+ };
271
+ fixed: import("vue-types").VueTypeValidableDef<number> & {
272
+ default: number;
273
+ } & {
274
+ validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
275
+ } & {
276
+ default: number;
277
+ };
278
+ format: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
279
+ default: (...args: any[]) => any;
280
+ } & {
281
+ default: (...args: any[]) => any;
282
+ };
283
+ titleStyle: import("vue-types").VueTypeValidableDef<{
160
284
  [key: string]: any;
285
+ }> & {
286
+ default: () => {
287
+ [key: string]: any;
288
+ };
289
+ } & {
290
+ default: () => {
291
+ [key: string]: any;
292
+ };
161
293
  };
162
- showText: boolean;
163
- textInside: boolean;
164
- } & {
165
- size?: string;
166
- format?: (...args: any[]) => any;
167
- }> & {} & import("vue").ShallowUnwrapRef<{}> & {} & {} & {
294
+ }>> & import("vue").ShallowUnwrapRef<{}> & {} & {} & {
168
295
  validPercent(percent?: number): number;
169
296
  renderProcessInfo(): JSX.Element | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
170
297
  [key: string]: any;
@@ -173,52 +300,95 @@ declare const BkProgress: {
173
300
  __isFragment?: never;
174
301
  __isTeleport?: never;
175
302
  __isSuspense?: never;
176
- } & import("vue").ComponentOptionsBase<Readonly<{
177
- extCls?: unknown;
178
- type?: unknown;
179
- percent?: unknown;
180
- theme?: unknown;
181
- size?: unknown;
182
- width?: unknown;
183
- strokeWidth?: unknown;
184
- strokeLinecap?: unknown;
185
- textInside?: unknown;
186
- showText?: unknown;
187
- color?: unknown;
188
- format?: unknown;
189
- titleStyle?: unknown;
190
- } & {
191
- width: number;
192
- color: string;
193
- theme: string;
194
- extCls: string;
195
- type: string;
196
- percent: number;
197
- strokeWidth: number;
198
- strokeLinecap: string;
199
- titleStyle: {
303
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
304
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
305
+ default: string;
306
+ };
307
+ type: import("vue-types").VueTypeValidableDef<string> & {
308
+ default: string;
309
+ } & {
310
+ validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
311
+ } & {
312
+ default: string;
313
+ };
314
+ percent: import("vue-types").VueTypeValidableDef<number> & {
315
+ default: number;
316
+ } & {
317
+ default: number;
318
+ };
319
+ theme: import("vue-types").VueTypeDef<string> & {
320
+ default: string;
321
+ };
322
+ size: import("vue-types").VueTypeDef<string>;
323
+ width: import("vue-types").VueTypeValidableDef<number> & {
324
+ default: number;
325
+ } & {
326
+ default: number;
327
+ };
328
+ strokeWidth: import("vue-types").VueTypeValidableDef<number> & {
329
+ default: number;
330
+ };
331
+ strokeLinecap: import("vue-types").VueTypeValidableDef<string> & {
332
+ default: string;
333
+ } & {
334
+ default: string;
335
+ };
336
+ textInside: import("vue-types").VueTypeValidableDef<boolean> & {
337
+ default: boolean;
338
+ } & {
339
+ default: boolean;
340
+ };
341
+ showText: import("vue-types").VueTypeValidableDef<boolean> & {
342
+ default: boolean;
343
+ } & {
344
+ default: boolean;
345
+ };
346
+ color: import("vue-types").VueTypeValidableDef<string> & {
347
+ default: string;
348
+ };
349
+ bgColor: import("vue-types").VueTypeValidableDef<string> & {
350
+ default: string;
351
+ };
352
+ fixed: import("vue-types").VueTypeValidableDef<number> & {
353
+ default: number;
354
+ } & {
355
+ validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
356
+ } & {
357
+ default: number;
358
+ };
359
+ format: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
360
+ default: (...args: any[]) => any;
361
+ } & {
362
+ default: (...args: any[]) => any;
363
+ };
364
+ titleStyle: import("vue-types").VueTypeValidableDef<{
200
365
  [key: string]: any;
366
+ }> & {
367
+ default: () => {
368
+ [key: string]: any;
369
+ };
370
+ } & {
371
+ default: () => {
372
+ [key: string]: any;
373
+ };
201
374
  };
202
- showText: boolean;
203
- textInside: boolean;
204
- } & {
205
- size?: string;
206
- format?: (...args: any[]) => any;
207
- }> & {}, {}, unknown, {}, {
375
+ }>>, {}, unknown, {}, {
208
376
  validPercent(percent?: number): number;
209
377
  renderProcessInfo(): JSX.Element | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
210
378
  [key: string]: any;
211
379
  }>[];
212
380
  }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
213
- width: number;
214
- color: string;
381
+ fixed: number;
382
+ type: string;
215
383
  theme: string;
216
384
  extCls: string;
217
- type: string;
385
+ width: number;
386
+ color: string;
387
+ strokeLinecap: string;
388
+ strokeWidth: number;
218
389
  format: (...args: any[]) => any;
219
390
  percent: number;
220
- strokeWidth: number;
221
- strokeLinecap: string;
391
+ bgColor: string;
222
392
  titleStyle: {
223
393
  [key: string]: any;
224
394
  };
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue"),require("../shared")):"function"==typeof define&&define.amd?define(["exports","vue","../shared"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Vue,e.Shared)}(this,(function(e,t,r){"use strict";function o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var s={exports:{}};!function(e){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.default=e.exports,e.exports.__esModule=!0}(s);var n=o(s.exports),c=function(e,r){var o=r.attrs,s=r.slots,c=o.percent,a=o.strokeWidth,i=o.size,l=o.color,p=o.titleStyle,d=o.showText,u=o.textInside,f=o.theme,h={height:"".concat(a,"px"),lineHeight:"".concat(a,"px")},y={width:"".concat(c,"%"),background:l,animationDuration:"3s"},b=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return(d||s.default)&&(e&&u||!e&&!u)?null==s?void 0:s.default():null};return t.createVNode("div",{class:"progress-outer"},[t.createVNode("div",{class:"bk-progress-".concat(i||"normal"," progress-bar"),style:h},[t.createVNode("div",{style:y,class:n({"progress-inner":!0},"bk-".concat(f),!0)},[t.createVNode("div",{class:"inner-text",style:p},[b()])])]),b(!1)])},a=function(e,r){var o=r.attrs,s=r.slots,n=o.width,c=o.percent,a=o.strokeWidth,i=o.color,l=o.strokeLinecap,p=o.theme,d=o.type,u=o.titleStyle,f=a||6,h=n||126,y={width:"number"==typeof h?"".concat(h,"px"):h,height:"number"==typeof h?"".concat(h,"px"):h,fontSize:"".concat(.15*h+6,"px")},b=50-f/2,x="dashboard"===d,v=2*Math.PI*b,g=x?.75:1,k="".concat(-1*v*(1-g)/2,"px"),P={strokeDasharray:"".concat(v*g,"px, ").concat(v,"px"),strokeDashoffset:k},m={strokeDasharray:"".concat(v*g*(c/100),"px, ").concat(v,"px"),strokeDashoffset:k,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease"},T="\n M 50 50\n m 0 ".concat(x?"":"-").concat(b,"\n a ").concat(b," ").concat(b," 0 1 1 0 ").concat(x?"-":"").concat(2*b,"\n a ").concat(b," ").concat(b," 0 1 1 0 ").concat(x?"":"-").concat(2*b,"\n "),V={d:T,stroke:"","stroke-linecap":l,"stroke-width":f,"fill-opacity":"0",class:"process-circle-trail",style:P},N={d:T,stroke:i||"#13ce66","stroke-linecap":l,"stroke-width":c>0&&f||0,"fill-opacity":"0",class:"process-circle-path bk-".concat(p,"-circle-trail"),style:m};return t.createVNode("div",{class:"progress-outer-circle",style:y},[t.createVNode("svg",{viewBox:"0 0 100 100"},[t.createVNode("path",V,null),t.createVNode("path",N,null)]),t.createVNode("span",{class:"progress-circle-text",style:u},[null==s?void 0:s.default()])])};function i(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!t.isVNode(e)}var l=t.defineComponent({name:"BkProgress",props:{extCls:r.PropTypes.string,type:r.PropTypes.string.validate((function(e){return["line","circle","dashboard"].includes(e)})).def("line"),percent:r.PropTypes.number.def(0),theme:r.PropTypes.theme().def("primary"),size:r.PropTypes.size(),width:r.PropTypes.number.def(126),strokeWidth:r.PropTypes.number,strokeLinecap:r.PropTypes.string.def("round"),textInside:r.PropTypes.bool.def(!1),showText:r.PropTypes.bool.def(!0),color:r.PropTypes.string,format:r.PropTypes.func.def((function(e){return"".concat(e,"%")})),titleStyle:r.PropTypes.object.def({fontSize:"16px",verticalAlign:"middle"})},setup:function(){return{}},methods:{validPercent:function(e){return!e||e<0?0:e>100?100:e},renderProcessInfo:function(){var e=this.$props,r=e.showText,o=e.format,s=e.percent,n=e.textInside,c=e.titleStyle,a=o(this.validPercent(s));return(r||this.$slots.default)&&n?this.$slots.default?this.$slots.default():t.createVNode("span",null,[a]):!r||n?null:t.createVNode("span",{class:"progress-text",title:"string"==typeof a?a:void 0,style:"string"==typeof a?c:void 0},[this.$slots.default?this.$slots.default():a])}},render:function(){var e=this.renderProcessInfo(),o=Object.assign(Object.assign({},this.$props),{percent:this.validPercent(this.percent)}),s=t.createVNode(c,o,i(e)?e:{default:function(){return[e]}});"circle"!==this.type&&"dashboard"!==this.type||(s=t.createVNode(a,o,i(e)?e:{default:function(){return[e]}}));var n={class:r.classes({extCls:!!this.extCls},"bk-progress bk-progress-".concat(this.type))};return t.createVNode("div",n,[s])}}),p=r.withInstall(l);e.default=p,Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"));else if("function"==typeof define&&define.amd)define(["../shared","vue"],t);else{var r="object"==typeof exports?t(require("../shared"),require("vue")):t(e["../shared"],e.vue);for(var o in r)("object"==typeof exports?exports:e)[o]=r[o]}}(self,((e,t)=>(()=>{"use strict";var r={4212:t=>{t.exports=e},748:e=>{e.exports=t}},o={};function s(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={exports:{}};return r[e](n,n.exports,s),n.exports}s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{s.r(n),s.d(n,{default:()=>i});var e=s(4212),t=s(748);const r=function(e,r){var o=r.attrs,s=r.slots,n=o.width,c=o.percent,a=o.strokeWidth,i=o.color,l=o.strokeLinecap,p=o.theme,d=o.type,u=o.bgColor,f=o.titleStyle,y=a||6,h=n||126,b={width:"number"==typeof h?"".concat(h,"px"):h,height:"number"==typeof h?"".concat(h,"px"):h,fontSize:"".concat(.15*h+6,"px")},v=50-y/2,x="dashboard"===d,g=2*Math.PI*v,m=x?.75:1,P="".concat(-1*g*(1-m)/2,"px"),k={strokeDasharray:"".concat(g*m,"px, ").concat(g,"px"),strokeDashoffset:P},T={strokeDasharray:"".concat(g*m*(c/100),"px, ").concat(g,"px"),strokeDashoffset:P,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease"},j="\n M 50 50\n m 0 ".concat(x?"":"-").concat(v,"\n a ").concat(v," ").concat(v," 0 1 1 0 ").concat(x?"-":"").concat(2*v,"\n a ").concat(v," ").concat(v," 0 1 1 0 ").concat(x?"":"-").concat(2*v,"\n "),N={d:j,stroke:u||"#f5f5f5","stroke-linecap":l,"stroke-width":y,"fill-opacity":"0",class:"process-circle-trail",style:k},V={d:j,stroke:i||"#13ce66","stroke-linecap":l,"stroke-width":c>0&&y||0,"fill-opacity":"0",class:"process-circle-path bk-".concat(p,"-circle-trail"),style:T};return(0,t.createVNode)("div",{class:"progress-outer-circle",style:b},[(0,t.createVNode)("svg",{viewBox:"0 0 100 100"},[(0,t.createVNode)("path",N,null),(0,t.createVNode)("path",V,null)]),(0,t.createVNode)("span",{class:"progress-circle-text",style:f},[null==s?void 0:s.default()])])},o=function(e,r){var o,s,n=r.attrs,c=r.slots,a=n.percent,i=n.strokeWidth,l=n.size,p=n.color,d=n.titleStyle,u=n.showText,f=n.textInside,y=n.theme,h={height:"".concat(i,"px"),lineHeight:"".concat(i,"px")},b={width:"".concat(a,"%"),background:p,animationDuration:"3s"},v=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return(u||c.default)&&(e&&f||!e&&!f)?null==c?void 0:c.default():null};return(0,t.createVNode)("div",{class:"progress-outer"},[(0,t.createVNode)("div",{class:"bk-progress-".concat(l||"normal"," progress-bar"),style:h},[(0,t.createVNode)("div",{style:b,class:(o={"progress-inner":!0},s="bk-".concat(y),!0,s in o?Object.defineProperty(o,s,{value:true,enumerable:!0,configurable:!0,writable:!0}):o[s]=true,o)},[(0,t.createVNode)("div",{class:"inner-text",style:d},[v()])])]),v(!1)])};function c(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!(0,t.isVNode)(e)}const a=(0,t.defineComponent)({name:"Progress",props:{extCls:e.PropTypes.string,type:e.PropTypes.string.validate((function(e){return["line","circle","dashboard"].includes(e)})).def("line"),percent:e.PropTypes.number.def(0),theme:e.PropTypes.theme().def("primary"),size:e.PropTypes.size(),width:e.PropTypes.number.def(126),strokeWidth:e.PropTypes.number,strokeLinecap:e.PropTypes.string.def("round"),textInside:e.PropTypes.bool.def(!1),showText:e.PropTypes.bool.def(!0),color:e.PropTypes.string,bgColor:e.PropTypes.string,fixed:e.PropTypes.number.validate((function(e){return e>=0&&e<=20})).def(0),format:e.PropTypes.func.def((function(e){return"".concat(e,"%")})),titleStyle:e.PropTypes.object.def({fontSize:"16px",verticalAlign:"middle"})},setup:function(){return{}},methods:{validPercent:function(e){return!e||e<0?0:e>100?100:e},renderProcessInfo:function(){var e,r=this.$props,o=r.showText,s=r.format,n=r.percent,c=r.textInside,a=r.titleStyle,i=r.fixed,l=s(null===(e=this.validPercent(n))||void 0===e?void 0:e.toFixed(i));return(o||this.$slots.default)&&c?this.$slots.default?this.$slots.default():(0,t.createVNode)("span",null,[l]):!o||c?null:(0,t.createVNode)("span",{class:"progress-text",style:"string"==typeof l?a:void 0},[this.$slots.default?this.$slots.default():l])}},render:function(){var s=this.renderProcessInfo(),n=Object.assign(Object.assign({},this.$props),{percent:this.validPercent(this.percent)}),a=(0,t.createVNode)(o,n,c(s)?s:{default:function(){return[s]}});"circle"!==this.type&&"dashboard"!==this.type||(a=(0,t.createVNode)(r,n,c(s)?s:{default:function(){return[s]}}));var i={class:(0,e.classes)({extCls:!!this.extCls},"bk-progress bk-progress-".concat(this.type))};return(0,t.createVNode)("div",i,[a])}}),i=(0,e.withInstall)(a)})(),n})()));
@@ -19,6 +19,57 @@
19
19
  .bk-fade-transtion .bk-fade-leave-to {
20
20
  opacity: 0;
21
21
  }
22
+ .clearfix-style::after {
23
+ display: block;
24
+ height: 0;
25
+ clear: both;
26
+ font-size: 0;
27
+ content: '';
28
+ visibility: hidden;
29
+ }
30
+ .bk-popper {
31
+ display: none;
32
+ padding: 7px 14px;
33
+ font-size: 12px;
34
+ color: #fff;
35
+ background: #333;
36
+ border-radius: 4px;
37
+ }
38
+ .bk-popper.light {
39
+ color: #63656e;
40
+ background: #fff;
41
+ box-shadow: #dcdee5 0px 0px 6px 0px;
42
+ }
43
+ .bk-popper .bk-popper-arrow,
44
+ .bk-popper .bk-popper-arrow::before {
45
+ position: absolute;
46
+ width: 8px;
47
+ height: 8px;
48
+ background: inherit;
49
+ }
50
+ .bk-popper .bk-popper-arrow {
51
+ visibility: hidden;
52
+ }
53
+ .bk-popper .bk-popper-arrow::before {
54
+ content: '';
55
+ visibility: visible;
56
+ transform: rotate(45deg);
57
+ }
58
+ .bk-popper[data-show] {
59
+ display: block;
60
+ }
61
+ .bk-popper[data-popper-placement^='top'] > .bk-popper-arrow {
62
+ bottom: -4px;
63
+ }
64
+ .bk-popper[data-popper-placement^='bottom'] > .bk-popper-arrow {
65
+ top: -4px;
66
+ }
67
+ .bk-popper[data-popper-placement^='left'] > .bk-popper-arrow {
68
+ right: -4px;
69
+ }
70
+ .bk-popper[data-popper-placement^='right'] > .bk-popper-arrow {
71
+ left: -4px;
72
+ }
22
73
  .bk-progress {
23
74
  display: inline-block;
24
75
  }
@@ -76,9 +127,6 @@
76
127
  width: 7%;
77
128
  text-align: center;
78
129
  }
79
- .bk-progress .process-circle-trail {
80
- stroke: #f5f5f5;
81
- }
82
130
  .bk-progress .progress-circle-text {
83
131
  position: absolute;
84
132
  top: 50%;