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

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 +31713 -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 +190 -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 +159 -61
  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 +76 -29
  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 +172 -56
  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 +305 -85
  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 +172 -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 +288 -103
  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 +336 -70
  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 +991 -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 +234 -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 +204 -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 +191 -76
  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 +281 -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 +816 -277
  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 +982 -116
  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 +133 -53
  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 +168 -73
  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 +71 -37
  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 +145 -38
  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 +361 -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 +688 -197
  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 +161 -55
  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 +281 -72
  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 +122 -72
  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 +732 -69
  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 +428 -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 +552 -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 +488 -138
  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 +704 -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 +279 -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 +474 -136
  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 +206 -95
  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 +85 -41
  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 +463 -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 +1522 -698
  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 +32 -6
  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 +630 -81
  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 +588 -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 +258 -111
  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 +246 -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 +315 -138
  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 +445 -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 +728 -71
  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 +249 -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 +1267 -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 +168 -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 +500 -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 +695 -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 +831 -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 +834 -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 +31 -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
@@ -12,21 +12,25 @@ declare const _default: import("vue").DefineComponent<{
12
12
  replace: import("vue-types").VueTypeValidableDef<boolean> & {
13
13
  default: boolean;
14
14
  };
15
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
16
- extCls?: unknown;
17
- to?: unknown;
18
- replace?: unknown;
19
- } & {
20
- extCls: string;
21
- to: string | {
15
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
16
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
17
+ default: string;
18
+ };
19
+ to: import("vue-types").VueTypeDef<string | {
22
20
  [key: string]: any;
21
+ }> & {
22
+ default: string | (() => {
23
+ [key: string]: any;
24
+ });
23
25
  };
26
+ replace: import("vue-types").VueTypeValidableDef<boolean> & {
27
+ default: boolean;
28
+ };
29
+ }>>, {
24
30
  replace: boolean;
25
- } & {}> & {}, {
26
31
  extCls: string;
27
32
  to: string | {
28
33
  [key: string]: any;
29
34
  };
30
- replace: boolean;
31
35
  }>;
32
36
  export default _default;
@@ -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-breadcrumb {
23
74
  display: flex;
24
75
  font-size: 14px;
@@ -36,8 +87,17 @@
36
87
  margin: 0 6px;
37
88
  font-weight: normal;
38
89
  }
90
+ .bk-breadcrumb-goback {
91
+ margin-right: 12px;
92
+ color: #0082ff;
93
+ cursor: pointer;
94
+ }
95
+ .bk-breadcrumb-goback svg {
96
+ font-size: 26px;
97
+ }
39
98
  .bk-breadcrumb-item-inner.is-link,
40
99
  .bk-breadcrumb-item-inner a {
100
+ color: #63656e;
41
101
  text-decoration: none;
42
102
  }
43
103
  .bk-breadcrumb-item-inner.is-link:hover,
@@ -46,7 +106,7 @@
46
106
  cursor: pointer;
47
107
  }
48
108
  .bk-breadcrumb-item:last-child {
49
- color: #63656e;
109
+ color: #979ba5;
50
110
  }
51
111
  .bk-breadcrumb-item:last-child .el-breadcrumb__inner,
52
112
  .bk-breadcrumb-item:last-child .el-breadcrumb__inner a,
@@ -10,17 +10,45 @@ declare const _default: import("vue").DefineComponent<{
10
10
  separatorClass: import("vue-types").VueTypeValidableDef<string> & {
11
11
  default: string;
12
12
  };
13
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
14
- extCls?: unknown;
15
- separator?: unknown;
16
- separatorClass?: unknown;
17
- } & {
18
- extCls: string;
19
- separator: string;
20
- separatorClass: string;
21
- } & {}> & {}, {
13
+ replace: import("vue-types").VueTypeValidableDef<boolean> & {
14
+ default: boolean;
15
+ };
16
+ backRouter: import("vue-types").VueTypeDef<string | {
17
+ [key: string]: any;
18
+ }> & {
19
+ default: string | (() => {
20
+ [key: string]: any;
21
+ });
22
+ };
23
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
24
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
25
+ default: string;
26
+ };
27
+ separator: import("vue-types").VueTypeValidableDef<string> & {
28
+ default: string;
29
+ } & {
30
+ default: string;
31
+ };
32
+ separatorClass: import("vue-types").VueTypeValidableDef<string> & {
33
+ default: string;
34
+ };
35
+ replace: import("vue-types").VueTypeValidableDef<boolean> & {
36
+ default: boolean;
37
+ };
38
+ backRouter: import("vue-types").VueTypeDef<string | {
39
+ [key: string]: any;
40
+ }> & {
41
+ default: string | (() => {
42
+ [key: string]: any;
43
+ });
44
+ };
45
+ }>>, {
46
+ replace: boolean;
22
47
  extCls: string;
23
48
  separator: string;
24
49
  separatorClass: string;
50
+ backRouter: string | {
51
+ [key: string]: any;
52
+ };
25
53
  }>;
26
54
  export default _default;
@@ -4,7 +4,7 @@
4
4
  .@{bk-prefix}-breadcrumb {
5
5
  display: flex;
6
6
  font-size: 14px;
7
- color: @breadcrumb-black-color;
7
+ color: @breadcrumb-black-color ;
8
8
  align-items: center;
9
9
 
10
10
  &::after {
@@ -21,10 +21,21 @@
21
21
  }
22
22
  }
23
23
 
24
+ &-goback {
25
+ margin-right: 12px;
26
+ color: @breadcrumb-primary-hover-color;
27
+ cursor: pointer;
28
+
29
+ svg {
30
+ font-size: 26px;
31
+ }
32
+ }
33
+
24
34
  &-item {
25
35
  &-inner {
26
36
  &.is-link,
27
37
  & a {
38
+ color: @breadcrumb-fn-main-color ;
28
39
  text-decoration: none;
29
40
 
30
41
  &:hover {
@@ -35,7 +46,7 @@
35
46
  }
36
47
 
37
48
  &:last-child {
38
- color: @breadcrumb-fn-main-color;
49
+ color: @breadcrumb-black-color;
39
50
 
40
51
  .el-breadcrumb__inner,
41
52
  .el-breadcrumb__inner a {
@@ -1,5 +1,6 @@
1
1
  :root {
2
2
  --bk-prefix: bk;
3
+ --popover-max-height: 216px;
3
4
  --primary-color: #3a84ff;
4
5
  --success-color: #2dcb56;
5
6
  --warning-color: #ff9c01;
@@ -8,6 +9,7 @@
8
9
  --gray-color: #979ba5;
9
10
  --light-gray: #c4c6cc;
10
11
  --white-color: white;
12
+ --whitesmoke-color: #fafbfd;
11
13
  --disable-color: #dcdee5;
12
14
  --font-size-base: 12px;
13
15
  --font-size-medium: 14px;
@@ -17,7 +19,7 @@
17
19
  --line-height-large: 18px;
18
20
  --component-size-small: 26px;
19
21
  --component-size-base: 32px;
20
- --component-size-large: 38px;
22
+ --component-size-large: 40px;
21
23
  --border-width-base: 1px;
22
24
  --border-style-base: solid;
23
25
  --border-radius-base: 2px;
@@ -30,8 +32,9 @@
30
32
  --input-broder-radius: 3px;
31
33
  --input-shadow-color: #a3c5fd;
32
34
  --input-horizontal-padding: 10px;
33
- --input-block-color: #f4f6fa;
34
- --input-icon-size: var(--font-size-large);
35
+ --input-block-color: #f5f7fa;
36
+ --input-block-hover-color: #eaebf0;
37
+ --input-icon-size: var(--font-size-medium);
35
38
  --input-maxlength-color: #979ba5;
36
39
  --button-primary-hover-color: #5594fa;
37
40
  --button-danger-hover-color: #ff5656;
@@ -42,6 +45,8 @@
42
45
  --button-danger-active-color: #db2626;
43
46
  --button-success-active-color: #1ab943;
44
47
  --button-warning-active-color: #eb9000;
48
+ --button-selected-bg-color: #e1ecff;
49
+ --button-disabled-selected-bg-color: #f0f1f5;
45
50
  --fixed-navbar-background: #fff;
46
51
  --fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
47
52
  --switch-default-color: #fff;
@@ -83,6 +88,17 @@
83
88
  --date-picker-disabled-bg: #fafbfd;
84
89
  --date-picker-dropdown-mb: 4px;
85
90
  --date-picker-dropdown-bg: #fff;
91
+ --table-bg-color: var(--white-color);
92
+ --table-border-color: #dcdee5;
93
+ --table-head-bg-color: #fafbfd;
94
+ --table-head-font-color: #313238;
95
+ --table-body-font-color: #575961;
96
+ --table-row-hover-bg-color: #f5f7fa;
97
+ --table-row-active-bg-color: #f0f1f5;
98
+ --cascader-panel-border-color: #dcdee5;
99
+ --cascader-panel-hover: #eaf3ff;
100
+ --cascader-panel-active: #f4f6fa;
101
+ --cascader-panel-disabled-bg: #fff;
86
102
  }
87
103
  @keyframes loading-scale-animate {
88
104
  0% {
@@ -105,6 +121,57 @@
105
121
  .bk-fade-transtion .bk-fade-leave-to {
106
122
  opacity: 0;
107
123
  }
124
+ .clearfix-style::after {
125
+ display: block;
126
+ height: 0;
127
+ clear: both;
128
+ font-size: 0;
129
+ content: '';
130
+ visibility: hidden;
131
+ }
132
+ .bk-popper {
133
+ display: none;
134
+ padding: 7px 14px;
135
+ font-size: 12px;
136
+ color: #fff;
137
+ background: #333;
138
+ border-radius: 4px;
139
+ }
140
+ .bk-popper.light {
141
+ color: #63656e;
142
+ background: #fff;
143
+ box-shadow: #dcdee5 0px 0px 6px 0px;
144
+ }
145
+ .bk-popper .bk-popper-arrow,
146
+ .bk-popper .bk-popper-arrow::before {
147
+ position: absolute;
148
+ width: 8px;
149
+ height: 8px;
150
+ background: inherit;
151
+ }
152
+ .bk-popper .bk-popper-arrow {
153
+ visibility: hidden;
154
+ }
155
+ .bk-popper .bk-popper-arrow::before {
156
+ content: '';
157
+ visibility: visible;
158
+ transform: rotate(45deg);
159
+ }
160
+ .bk-popper[data-show] {
161
+ display: block;
162
+ }
163
+ .bk-popper[data-popper-placement^='top'] > .bk-popper-arrow {
164
+ bottom: -4px;
165
+ }
166
+ .bk-popper[data-popper-placement^='bottom'] > .bk-popper-arrow {
167
+ top: -4px;
168
+ }
169
+ .bk-popper[data-popper-placement^='left'] > .bk-popper-arrow {
170
+ right: -4px;
171
+ }
172
+ .bk-popper[data-popper-placement^='right'] > .bk-popper-arrow {
173
+ left: -4px;
174
+ }
108
175
  .bk-breadcrumb {
109
176
  display: flex;
110
177
  font-size: 14px;
@@ -122,8 +189,17 @@
122
189
  margin: 0 6px;
123
190
  font-weight: normal;
124
191
  }
192
+ .bk-breadcrumb-goback {
193
+ margin-right: 12px;
194
+ color: var(--breadcrumb-primary-hover-color);
195
+ cursor: pointer;
196
+ }
197
+ .bk-breadcrumb-goback svg {
198
+ font-size: 26px;
199
+ }
125
200
  .bk-breadcrumb-item-inner.is-link,
126
201
  .bk-breadcrumb-item-inner a {
202
+ color: var(--breadcrumb-fn-main-color);
127
203
  text-decoration: none;
128
204
  }
129
205
  .bk-breadcrumb-item-inner.is-link:hover,
@@ -132,7 +208,7 @@
132
208
  cursor: pointer;
133
209
  }
134
210
  .bk-breadcrumb-item:last-child {
135
- color: var(--breadcrumb-fn-main-color);
211
+ color: var(--breadcrumb-black-color);
136
212
  }
137
213
  .bk-breadcrumb-item:last-child .el-breadcrumb__inner,
138
214
  .bk-breadcrumb-item:last-child .el-breadcrumb__inner a,
@@ -4,18 +4,36 @@ declare const BkBreadcrumb: {
4
4
  $: import("vue").ComponentInternalInstance;
5
5
  $data: {};
6
6
  $props: Partial<{
7
+ replace: boolean;
7
8
  extCls: string;
8
9
  separator: string;
9
10
  separatorClass: string;
10
- }> & Omit<Readonly<{
11
- extCls?: unknown;
12
- separator?: unknown;
13
- separatorClass?: unknown;
14
- } & {
15
- extCls: string;
16
- separator: string;
17
- separatorClass: string;
18
- } & {}> & {} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "extCls" | "separator" | "separatorClass">;
11
+ backRouter: string | {
12
+ [key: string]: any;
13
+ };
14
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
15
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
16
+ default: string;
17
+ };
18
+ separator: import("vue-types").VueTypeValidableDef<string> & {
19
+ default: string;
20
+ } & {
21
+ default: string;
22
+ };
23
+ separatorClass: import("vue-types").VueTypeValidableDef<string> & {
24
+ default: string;
25
+ };
26
+ replace: import("vue-types").VueTypeValidableDef<boolean> & {
27
+ default: boolean;
28
+ };
29
+ backRouter: import("vue-types").VueTypeDef<string | {
30
+ [key: string]: any;
31
+ }> & {
32
+ default: string | (() => {
33
+ [key: string]: any;
34
+ });
35
+ };
36
+ }>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "replace" | "extCls" | "separator" | "separatorClass" | "backRouter">;
19
37
  $attrs: {
20
38
  [x: string]: unknown;
21
39
  };
@@ -29,18 +47,36 @@ declare const BkBreadcrumb: {
29
47
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
30
48
  $emit: (event: string, ...args: any[]) => void;
31
49
  $el: any;
32
- $options: import("vue").ComponentOptionsBase<Readonly<{
33
- extCls?: unknown;
34
- separator?: unknown;
35
- separatorClass?: unknown;
36
- } & {
37
- extCls: string;
38
- separator: string;
39
- separatorClass: string;
40
- } & {}> & {}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
50
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
51
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
52
+ default: string;
53
+ };
54
+ separator: import("vue-types").VueTypeValidableDef<string> & {
55
+ default: string;
56
+ } & {
57
+ default: string;
58
+ };
59
+ separatorClass: import("vue-types").VueTypeValidableDef<string> & {
60
+ default: string;
61
+ };
62
+ replace: import("vue-types").VueTypeValidableDef<boolean> & {
63
+ default: boolean;
64
+ };
65
+ backRouter: import("vue-types").VueTypeDef<string | {
66
+ [key: string]: any;
67
+ }> & {
68
+ default: string | (() => {
69
+ [key: string]: any;
70
+ });
71
+ };
72
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
73
+ replace: boolean;
41
74
  extCls: string;
42
75
  separator: string;
43
76
  separatorClass: string;
77
+ backRouter: string | {
78
+ [key: string]: any;
79
+ };
44
80
  }> & {
45
81
  beforeCreate?: (() => void) | (() => void)[];
46
82
  created?: (() => void) | (() => void)[];
@@ -61,32 +97,64 @@ declare const BkBreadcrumb: {
61
97
  $forceUpdate: () => void;
62
98
  $nextTick: typeof import("vue").nextTick;
63
99
  $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
64
- } & Readonly<{
65
- extCls?: unknown;
66
- separator?: unknown;
67
- separatorClass?: unknown;
68
- } & {
69
- extCls: string;
70
- separator: string;
71
- separatorClass: string;
72
- } & {}> & {} & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
100
+ } & Readonly<import("vue").ExtractPropTypes<{
101
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
102
+ default: string;
103
+ };
104
+ separator: import("vue-types").VueTypeValidableDef<string> & {
105
+ default: string;
106
+ } & {
107
+ default: string;
108
+ };
109
+ separatorClass: import("vue-types").VueTypeValidableDef<string> & {
110
+ default: string;
111
+ };
112
+ replace: import("vue-types").VueTypeValidableDef<boolean> & {
113
+ default: boolean;
114
+ };
115
+ backRouter: import("vue-types").VueTypeDef<string | {
116
+ [key: string]: any;
117
+ }> & {
118
+ default: string | (() => {
119
+ [key: string]: any;
120
+ });
121
+ };
122
+ }>> & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
73
123
  __isFragment?: never;
74
124
  __isTeleport?: never;
75
125
  __isSuspense?: never;
76
- } & import("vue").ComponentOptionsBase<Readonly<{
77
- extCls?: unknown;
78
- separator?: unknown;
79
- separatorClass?: unknown;
80
- } & {
81
- extCls: string;
82
- separator: string;
83
- separatorClass: string;
84
- } & {}> & {}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
126
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
127
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
128
+ default: string;
129
+ };
130
+ separator: import("vue-types").VueTypeValidableDef<string> & {
131
+ default: string;
132
+ } & {
133
+ default: string;
134
+ };
135
+ separatorClass: import("vue-types").VueTypeValidableDef<string> & {
136
+ default: string;
137
+ };
138
+ replace: import("vue-types").VueTypeValidableDef<boolean> & {
139
+ default: boolean;
140
+ };
141
+ backRouter: import("vue-types").VueTypeDef<string | {
142
+ [key: string]: any;
143
+ }> & {
144
+ default: string | (() => {
145
+ [key: string]: any;
146
+ });
147
+ };
148
+ }>>, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
149
+ replace: boolean;
85
150
  extCls: string;
86
151
  separator: string;
87
152
  separatorClass: string;
153
+ backRouter: string | {
154
+ [key: string]: any;
155
+ };
88
156
  }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & Readonly<{
89
- BreadcrumbItem: import("vue").DefineComponent<{
157
+ Item: import("vue").DefineComponent<{
90
158
  extCls: import("vue-types").VueTypeValidableDef<string> & {
91
159
  default: string;
92
160
  };
@@ -100,23 +168,81 @@ declare const BkBreadcrumb: {
100
168
  replace: import("vue-types").VueTypeValidableDef<boolean> & {
101
169
  default: boolean;
102
170
  };
103
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
104
- extCls?: unknown;
105
- to?: unknown;
106
- replace?: unknown;
107
- } & {
108
- extCls: string;
109
- to: string | {
171
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
172
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
173
+ default: string;
174
+ };
175
+ to: import("vue-types").VueTypeDef<string | {
110
176
  [key: string]: any;
177
+ }> & {
178
+ default: string | (() => {
179
+ [key: string]: any;
180
+ });
181
+ };
182
+ replace: import("vue-types").VueTypeValidableDef<boolean> & {
183
+ default: boolean;
111
184
  };
185
+ }>>, {
112
186
  replace: boolean;
113
- } & {}> & {}, {
114
187
  extCls: string;
115
188
  to: string | {
116
189
  [key: string]: any;
117
190
  };
191
+ }>;
192
+ }> & {
193
+ C: import("vue").DefineComponent<{
194
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
195
+ default: string;
196
+ };
197
+ separator: import("vue-types").VueTypeValidableDef<string> & {
198
+ default: string;
199
+ } & {
200
+ default: string;
201
+ };
202
+ separatorClass: import("vue-types").VueTypeValidableDef<string> & {
203
+ default: string;
204
+ };
205
+ replace: import("vue-types").VueTypeValidableDef<boolean> & {
206
+ default: boolean;
207
+ };
208
+ backRouter: import("vue-types").VueTypeDef<string | {
209
+ [key: string]: any;
210
+ }> & {
211
+ default: string | (() => {
212
+ [key: string]: any;
213
+ });
214
+ };
215
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
216
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
217
+ default: string;
218
+ };
219
+ separator: import("vue-types").VueTypeValidableDef<string> & {
220
+ default: string;
221
+ } & {
222
+ default: string;
223
+ };
224
+ separatorClass: import("vue-types").VueTypeValidableDef<string> & {
225
+ default: string;
226
+ };
227
+ replace: import("vue-types").VueTypeValidableDef<boolean> & {
228
+ default: boolean;
229
+ };
230
+ backRouter: import("vue-types").VueTypeDef<string | {
231
+ [key: string]: any;
232
+ }> & {
233
+ default: string | (() => {
234
+ [key: string]: any;
235
+ });
236
+ };
237
+ }>>, {
118
238
  replace: boolean;
239
+ extCls: string;
240
+ separator: string;
241
+ separatorClass: string;
242
+ backRouter: string | {
243
+ [key: string]: any;
244
+ };
119
245
  }>;
120
- }>;
246
+ };
121
247
  export { BkBreadcrumb, BreadcrumbItem as BkBreadcrumbItem, };
122
248
  export default BkBreadcrumb;
@@ -1 +1 @@
1
- !function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("vue"),require("../shared")):"function"==typeof define&&define.amd?define(["exports","vue","../shared"],r):r((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Vue,e.Shared)}(this,(function(e,r,t){"use strict";var a=r.defineComponent({name:"BkBreadcrumb",props:{extCls:t.PropTypes.string,separator:t.PropTypes.string.def("/"),separatorClass:t.PropTypes.string},setup:function(e,a){var o=a.slots,n=r.getCurrentInstance().proxy;r.provide("breadcrumb",e),r.onMounted((function(){var e=n.$el.querySelectorAll(".bk-breadcrumb-item");e.length&&e[e.length-1].setAttribute("aria-current","page")}));var s=t.classes({"bk-breadcrumb":!0},"".concat(e.extCls||""));return function(){var e;return r.createVNode("div",{class:s,"aria-label":"Breadcrumb",role:"navigation"},[null===(e=o.default)||void 0===e?void 0:e.call(o)])}}}),o=r.defineComponent({name:"BkBreadcrumbItem",props:{extCls:t.PropTypes.string,to:t.PropTypes.oneOfType([t.PropTypes.string,t.PropTypes.object]).def(""),replace:t.PropTypes.bool},setup:function(e,a){var o=a.slots,n=r.getCurrentInstance().appContext,s=r.inject("breadcrumb"),l=n.config.globalProperties.$router,c=e.to,u=e.replace,i=function(){c&&l&&(u?l.replace(c):l.push(c))},p=t.classes({"bk-breadcrumb-item":!0},"".concat(e.extCls||""));return function(){var e;return r.createVNode("span",{class:p},[r.createVNode("span",{ref:"link",class:"bk-breadcrumb-item-inner ".concat(c?"is-link":""),role:"link",onClick:i},[null===(e=null==o?void 0:o.default)||void 0===e?void 0:e.call(o)]),(null==s?void 0:s.separatorClass)?r.createVNode("i",{class:"bk-breadcrumb-separator ".concat(s.separatorClass)},null):r.createVNode("span",{class:"bk-breadcrumb-separator",role:"presentation"},[null==s?void 0:s.separator])])}}}),n=t.withInstallProps(a,{BreadcrumbItem:o});e.BkBreadcrumb=n,e.BkBreadcrumbItem=o,e.default=n,Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ !function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("../shared"),require("vue"),require("../icon"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../icon"],r);else{var o="object"==typeof exports?r(require("../shared"),require("vue"),require("../icon")):r(e["../shared"],e.vue,e["../icon"]);for(var t in o)("object"==typeof exports?exports:e)[t]=o[t]}}(self,((e,r,o)=>(()=>{"use strict";var t={6870:e=>{e.exports=o},4212:r=>{r.exports=e},748:e=>{e.exports=r}},a={};function n(e){var r=a[e];if(void 0!==r)return r.exports;var o=a[e]={exports:{}};return t[e](o,o.exports,n),o.exports}n.d=(e,r)=>{for(var o in r)n.o(r,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};return(()=>{n.r(s),n.d(s,{BkBreadcrumb:()=>l,BkBreadcrumbItem:()=>a,default:()=>p});var e=n(4212),r=n(748),o=n(6870);const t=(0,r.defineComponent)({name:"Breadcrumb",props:{extCls:e.PropTypes.string,separator:e.PropTypes.string.def("/"),separatorClass:e.PropTypes.string,replace:e.PropTypes.bool,backRouter:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.object]).def("")},setup:function(t,a){var n=a.slots,s=(0,r.getCurrentInstance)(),l=s.proxy,p=s.appContext;(0,r.provide)("breadcrumb",t),(0,r.onMounted)((function(){var e=l.$el.querySelectorAll(".bk-breadcrumb-item");e.length&&e[e.length-1].setAttribute("aria-current","page")}));var c=(0,e.classes)({"bk-breadcrumb":!0},"".concat(t.extCls||"")),i=function(){var e=t.backRouter,r=t.replace,o=p.config.globalProperties.$router;o&&(r?o.replace(e):o.push(e))};return function(){var e;return(0,r.createVNode)("div",{class:c,"aria-label":"Breadcrumb",role:"navigation"},[!n.prefix&&t.backRouter?(0,r.createVNode)("div",{class:"bk-breadcrumb-goback"},[(0,r.createVNode)(o.ArrowsLeft,{onClick:i},null)]):"",n.prefix?(0,r.createVNode)("div",{class:"bk-breadcrumb-goback"},[n.prefix()]):"",null===(e=n.default)||void 0===e?void 0:e.call(n)])}}}),a=(0,r.defineComponent)({name:"BreadcrumbItem",props:{extCls:e.PropTypes.string,to:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.object]).def(""),replace:e.PropTypes.bool},setup:function(o,t){var a=t.slots,n=(0,r.getCurrentInstance)().appContext,s=(0,r.inject)("breadcrumb"),l=n.config.globalProperties.$router,p=function(){var e=o.to,r=o.replace;e&&l&&(r?l.replace(e):l.push(e))},c=(0,e.classes)({"bk-breadcrumb-item":!0},"".concat(o.extCls||""));return function(){var e,t;return(0,r.createVNode)("span",{class:c},[(0,r.createVNode)("span",{ref:"link",class:"bk-breadcrumb-item-inner ".concat(o.to?"is-link":""),role:"link",onClick:p},[null===(e=null==a?void 0:a.default)||void 0===e?void 0:e.call(a)]),(null==a?void 0:a.separator)?null===(t=null==a?void 0:a.separator)||void 0===t?void 0:t.call(a):(null==s?void 0:s.separatorClass)?(0,r.createVNode)("i",{class:"bk-breadcrumb-separator ".concat(s.separatorClass)},null):(0,r.createVNode)("span",{class:"bk-breadcrumb-separator",role:"presentation"},[null==s?void 0:s.separator])])}}});var l=(0,e.withInstallProps)(t,{Item:a});const p=l})(),s})()));
@@ -1,8 +1,6 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
2
  size: import("vue-types").VueTypeDef<string>;
3
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
4
- size?: unknown;
5
- } & {} & {
6
- size?: string;
7
- }> & {}, {}>;
3
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
4
+ size: import("vue-types").VueTypeDef<string>;
5
+ }>>, {}>;
8
6
  export default _default;