bkui-vue 0.0.1-beta.17 → 0.0.1-beta.172

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 (575) hide show
  1. package/README.md +7 -3
  2. package/dist/index.cjs.js +171 -0
  3. package/dist/index.esm.js +35527 -0
  4. package/dist/index.umd.js +171 -0
  5. package/dist/style.css +1 -4602
  6. package/dist/style.variable.css +1 -0
  7. package/lib/affix/affix.css +3 -0
  8. package/lib/affix/affix.d.ts +47 -0
  9. package/lib/affix/affix.less +5 -0
  10. package/lib/affix/affix.variable.css +116 -0
  11. package/lib/affix/index.d.ts +143 -0
  12. package/lib/affix/index.js +1 -0
  13. package/lib/alert/alert.css +5 -3
  14. package/lib/alert/alert.less +7 -3
  15. package/lib/alert/alert.variable.css +29 -6
  16. package/lib/alert/index.js +1 -1
  17. package/lib/animate-number/index.js +1 -1
  18. package/lib/backtop/backtop.css +8 -0
  19. package/lib/backtop/backtop.d.ts +2 -2
  20. package/lib/backtop/backtop.less +8 -0
  21. package/lib/backtop/backtop.variable.css +32 -3
  22. package/lib/backtop/index.d.ts +7 -7
  23. package/lib/backtop/index.js +1 -1
  24. package/lib/badge/badge.css +5 -5
  25. package/lib/badge/badge.d.ts +29 -8
  26. package/lib/badge/badge.less +5 -6
  27. package/lib/badge/badge.variable.css +29 -8
  28. package/lib/badge/index.d.ts +71 -21
  29. package/lib/badge/index.js +1 -1
  30. package/lib/breadcrumb/breadcrumb-item.d.ts +1 -1
  31. package/lib/breadcrumb/breadcrumb.css +51 -0
  32. package/lib/breadcrumb/breadcrumb.d.ts +1 -1
  33. package/lib/breadcrumb/breadcrumb.variable.css +75 -3
  34. package/lib/breadcrumb/index.d.ts +5 -5
  35. package/lib/breadcrumb/index.js +1 -1
  36. package/lib/button/button.css +92 -45
  37. package/lib/button/button.d.ts +51 -6
  38. package/lib/button/button.less +88 -47
  39. package/lib/button/button.variable.css +116 -48
  40. package/lib/button/index.d.ts +85 -14
  41. package/lib/button/index.js +1 -1
  42. package/lib/card/card.css +96 -1
  43. package/lib/card/card.d.ts +47 -6
  44. package/lib/card/card.less +50 -2
  45. package/lib/card/card.variable.css +120 -4
  46. package/lib/card/index.d.ts +113 -17
  47. package/lib/card/index.js +1 -1
  48. package/lib/cascader/cascader-panel.d.ts +66 -0
  49. package/lib/cascader/cascader.css +150 -0
  50. package/lib/cascader/cascader.d.ts +289 -0
  51. package/lib/cascader/cascader.less +170 -0
  52. package/lib/cascader/cascader.variable.css +263 -0
  53. package/lib/cascader/index.d.ts +792 -0
  54. package/lib/cascader/index.js +1 -0
  55. package/lib/cascader/interface.d.ts +47 -0
  56. package/lib/cascader/node.d.ts +25 -0
  57. package/lib/cascader/store.d.ts +19 -0
  58. package/lib/checkbox/checkbox-group.d.ts +16 -0
  59. package/lib/checkbox/checkbox.css +38 -6
  60. package/lib/checkbox/checkbox.d.ts +16 -14
  61. package/lib/checkbox/checkbox.less +48 -6
  62. package/lib/checkbox/checkbox.variable.css +62 -9
  63. package/lib/checkbox/common.d.ts +3 -3
  64. package/lib/checkbox/index.d.ts +40 -23
  65. package/lib/checkbox/index.js +1 -1
  66. package/lib/checkbox/type.d.ts +3 -7
  67. package/lib/code-diff/code-diff.css +186 -0
  68. package/lib/code-diff/code-diff.d.ts +80 -0
  69. package/lib/code-diff/code-diff.less +238 -0
  70. package/lib/code-diff/code-diff.variable.css +299 -0
  71. package/lib/code-diff/index.d.ts +154 -0
  72. package/lib/code-diff/index.js +1 -0
  73. package/lib/collapse/collapse-panel.d.ts +75 -0
  74. package/lib/collapse/collapse.css +28 -12
  75. package/lib/collapse/collapse.d.ts +11 -52
  76. package/lib/collapse/collapse.less +54 -29
  77. package/lib/collapse/collapse.variable.css +141 -12
  78. package/lib/collapse/index.d.ts +116 -16
  79. package/lib/collapse/index.js +1 -1
  80. package/lib/collapse/props.d.ts +123 -0
  81. package/lib/collapse/utils.d.ts +11 -0
  82. package/lib/color-picker/color-picker.css +275 -0
  83. package/lib/color-picker/color-picker.d.ts +144 -0
  84. package/lib/color-picker/color-picker.less +325 -0
  85. package/lib/color-picker/color-picker.variable.css +388 -0
  86. package/lib/color-picker/index.d.ts +254 -0
  87. package/lib/color-picker/index.js +1 -0
  88. package/lib/color-picker/utils.d.ts +37 -0
  89. package/lib/components.d.ts +26 -6
  90. package/lib/components.js +1 -0
  91. package/lib/container/col.d.ts +51 -0
  92. package/lib/container/container.css +91 -0
  93. package/lib/container/container.d.ts +83 -0
  94. package/lib/container/container.less +20 -0
  95. package/lib/container/container.variable.css +204 -0
  96. package/lib/container/index.d.ts +223 -0
  97. package/lib/container/index.js +1 -0
  98. package/lib/container/row.d.ts +4 -0
  99. package/lib/date-picker/date-picker.css +18 -2
  100. package/lib/date-picker/date-picker.d.ts +54 -137
  101. package/lib/date-picker/date-picker.less +23 -2
  102. package/lib/date-picker/date-picker.variable.css +42 -5
  103. package/lib/date-picker/index.d.ts +93 -32
  104. package/lib/date-picker/index.js +1 -1
  105. package/lib/date-picker/interface.d.ts +10 -1
  106. package/lib/date-picker/props.d.ts +161 -0
  107. package/lib/date-picker/time-picker.d.ts +381 -0
  108. package/lib/date-picker/utils.d.ts +22 -1
  109. package/lib/dialog/dialog.css +78 -21
  110. package/lib/dialog/dialog.d.ts +264 -52
  111. package/lib/dialog/dialog.less +56 -22
  112. package/lib/dialog/dialog.variable.css +78 -21
  113. package/lib/dialog/index.d.ts +581 -115
  114. package/lib/dialog/index.js +1 -1
  115. package/lib/dialog/props.d.ts +132 -0
  116. package/lib/directives/clickoutside.d.ts +3 -23
  117. package/lib/directives/ellipsis.d.ts +4 -0
  118. package/lib/directives/index.d.ts +2 -0
  119. package/lib/directives/index.js +2 -15
  120. package/lib/directives/index.js.LICENSE.txt +14 -0
  121. package/lib/directives/tooltips.d.ts +1 -1
  122. package/lib/dist.index.js +1 -0
  123. package/lib/divider/divider.d.ts +1 -1
  124. package/lib/divider/divider.variable.css +24 -3
  125. package/lib/divider/index.d.ts +4 -4
  126. package/lib/divider/index.js +1 -1
  127. package/lib/divider/props.d.ts +21 -0
  128. package/lib/dropdown/const.d.ts +4 -0
  129. package/lib/dropdown/dropdown.css +13 -7
  130. package/lib/dropdown/dropdown.d.ts +35 -4
  131. package/lib/dropdown/dropdown.less +47 -34
  132. package/lib/dropdown/dropdown.variable.css +37 -10
  133. package/lib/dropdown/index.d.ts +75 -14
  134. package/lib/dropdown/index.js +1 -1
  135. package/lib/exception/exception.css +40 -14
  136. package/lib/exception/exception.d.ts +10 -3
  137. package/lib/exception/exception.less +59 -22
  138. package/lib/exception/exception.variable.css +64 -17
  139. package/lib/exception/index.d.ts +23 -8
  140. package/lib/exception/index.js +1 -1
  141. package/lib/fixed-navbar/fixed-navbar.d.ts +16 -2
  142. package/lib/fixed-navbar/fixed-navbar.variable.css +24 -3
  143. package/lib/fixed-navbar/index.d.ts +40 -5
  144. package/lib/fixed-navbar/index.js +1 -1
  145. package/lib/form/compose-form-item.d.ts +16 -0
  146. package/lib/form/form-item.d.ts +21 -24
  147. package/lib/form/form.css +102 -10
  148. package/lib/form/form.d.ts +38 -41
  149. package/lib/form/form.less +145 -34
  150. package/lib/form/form.variable.css +215 -10
  151. package/lib/form/index.d.ts +303 -3
  152. package/lib/form/index.js +1 -1
  153. package/lib/form/type.d.ts +8 -6
  154. package/lib/form/validator.d.ts +1 -0
  155. package/lib/icon/angle-double-down-line.d.ts +4 -0
  156. package/lib/icon/angle-double-down-line.js +1 -0
  157. package/lib/icon/angle-double-left-line.d.ts +4 -0
  158. package/lib/icon/angle-double-left-line.js +1 -0
  159. package/lib/icon/angle-double-left.js +1 -15
  160. package/lib/icon/angle-double-right-line.d.ts +4 -0
  161. package/lib/icon/angle-double-right-line.js +1 -0
  162. package/lib/icon/angle-double-right.js +1 -15
  163. package/lib/icon/angle-double-up-line.d.ts +4 -0
  164. package/lib/icon/angle-double-up-line.js +1 -0
  165. package/lib/icon/angle-down-fill.js +1 -15
  166. package/lib/icon/angle-down-line.js +1 -15
  167. package/lib/icon/angle-down.js +1 -15
  168. package/lib/icon/angle-left.js +1 -15
  169. package/lib/icon/angle-right.js +1 -15
  170. package/lib/icon/angle-up-fill.js +1 -15
  171. package/lib/icon/angle-up.js +1 -15
  172. package/lib/icon/archive-fill.d.ts +4 -0
  173. package/lib/icon/archive-fill.js +1 -0
  174. package/lib/icon/arrows-left.js +1 -15
  175. package/lib/icon/arrows-right.d.ts +4 -0
  176. package/lib/icon/arrows-right.js +1 -0
  177. package/lib/icon/audio-fill.d.ts +4 -0
  178. package/lib/icon/audio-fill.js +1 -0
  179. package/lib/icon/bk.d.ts +4 -0
  180. package/lib/icon/bk.js +1 -0
  181. package/lib/icon/circle.js +1 -15
  182. package/lib/icon/close-line.d.ts +4 -0
  183. package/lib/icon/close-line.js +1 -0
  184. package/lib/icon/close.js +1 -15
  185. package/lib/icon/code.js +1 -15
  186. package/lib/icon/cog-shape.js +1 -15
  187. package/lib/icon/collapse-left.js +1 -15
  188. package/lib/icon/copy.js +1 -15
  189. package/lib/icon/data-shape.d.ts +4 -0
  190. package/lib/icon/data-shape.js +1 -0
  191. package/lib/icon/del.d.ts +4 -0
  192. package/lib/icon/del.js +1 -0
  193. package/lib/icon/doc-fill.d.ts +4 -0
  194. package/lib/icon/doc-fill.js +1 -0
  195. package/lib/icon/done.js +1 -15
  196. package/lib/icon/down-shape.js +1 -15
  197. package/lib/icon/down-small.js +1 -15
  198. package/lib/icon/edit-line.d.ts +4 -0
  199. package/lib/icon/edit-line.js +1 -0
  200. package/lib/icon/ellipsis.d.ts +4 -0
  201. package/lib/icon/ellipsis.js +1 -0
  202. package/lib/icon/enlarge-line.d.ts +4 -0
  203. package/lib/icon/enlarge-line.js +1 -0
  204. package/lib/icon/error.js +1 -15
  205. package/lib/icon/excel-fill.d.ts +4 -0
  206. package/lib/icon/excel-fill.js +1 -0
  207. package/lib/icon/exclamation-circle-shape.d.ts +4 -0
  208. package/lib/icon/exclamation-circle-shape.js +1 -0
  209. package/lib/icon/eye.js +1 -15
  210. package/lib/icon/filliscreen-line.d.ts +4 -0
  211. package/lib/icon/filliscreen-line.js +1 -0
  212. package/lib/icon/folder-open.js +1 -15
  213. package/lib/icon/folder-shape-open.js +1 -15
  214. package/lib/icon/folder-shape.js +1 -15
  215. package/lib/icon/folder.js +1 -15
  216. package/lib/icon/funnel.d.ts +4 -0
  217. package/lib/icon/funnel.js +1 -0
  218. package/lib/icon/help-document-fill.js +1 -15
  219. package/lib/icon/help-fill.js +1 -15
  220. package/lib/icon/image-fill.d.ts +4 -0
  221. package/lib/icon/image-fill.js +1 -0
  222. package/lib/icon/img-error.d.ts +4 -0
  223. package/lib/icon/img-error.js +1 -0
  224. package/lib/icon/img-placehoulder.d.ts +4 -0
  225. package/lib/icon/img-placehoulder.js +1 -0
  226. package/lib/icon/index.d.ts +36 -0
  227. package/lib/icon/index.js +1 -15
  228. package/lib/icon/info-line.js +1 -15
  229. package/lib/icon/info.js +1 -15
  230. package/lib/icon/left-shape.d.ts +4 -0
  231. package/lib/icon/left-shape.js +1 -0
  232. package/lib/icon/left-turn-line.d.ts +4 -0
  233. package/lib/icon/left-turn-line.js +1 -0
  234. package/lib/icon/narrow-line.d.ts +4 -0
  235. package/lib/icon/narrow-line.js +1 -0
  236. package/lib/icon/original .d.ts +4 -0
  237. package/lib/icon/original .js +1 -0
  238. package/lib/icon/pdf-fill.d.ts +4 -0
  239. package/lib/icon/pdf-fill.js +1 -0
  240. package/lib/icon/play-shape.js +1 -15
  241. package/lib/icon/plus.js +1 -15
  242. package/lib/icon/ppt-fill.d.ts +4 -0
  243. package/lib/icon/ppt-fill.js +1 -0
  244. package/lib/icon/qq.d.ts +4 -0
  245. package/lib/icon/qq.js +1 -0
  246. package/lib/icon/right-shape.js +1 -15
  247. package/lib/icon/right-turn-line.d.ts +4 -0
  248. package/lib/icon/right-turn-line.js +1 -0
  249. package/lib/icon/search.js +1 -15
  250. package/lib/icon/share.js +1 -15
  251. package/lib/icon/spinner.js +1 -15
  252. package/lib/icon/success.js +1 -15
  253. package/lib/icon/switcher-loading.js +1 -15
  254. package/lib/icon/text-file.js +1 -15
  255. package/lib/icon/text-fill.d.ts +4 -0
  256. package/lib/icon/text-fill.js +1 -0
  257. package/lib/icon/tree-application-shape.js +1 -15
  258. package/lib/icon/unfull-screen.d.ts +4 -0
  259. package/lib/icon/unfull-screen.js +1 -0
  260. package/lib/icon/unvisible.js +1 -15
  261. package/lib/icon/up-shape.d.ts +4 -0
  262. package/lib/icon/up-shape.js +1 -0
  263. package/lib/icon/upload.d.ts +4 -0
  264. package/lib/icon/upload.js +1 -0
  265. package/lib/icon/video-fill.d.ts +4 -0
  266. package/lib/icon/video-fill.js +1 -0
  267. package/lib/icon/warn.js +1 -15
  268. package/lib/icon/weixin.d.ts +4 -0
  269. package/lib/icon/weixin.js +1 -0
  270. package/lib/image/image-viewer.css +142 -0
  271. package/lib/image/image-viewer.d.ts +73 -0
  272. package/lib/image/image-viewer.less +168 -0
  273. package/lib/image/image-viewer.variable.css +142 -0
  274. package/lib/image/image.css +37 -0
  275. package/lib/image/image.d.ts +93 -0
  276. package/lib/image/image.less +44 -0
  277. package/lib/image/image.variable.css +37 -0
  278. package/lib/image/index.d.ts +246 -0
  279. package/lib/image/index.js +1 -0
  280. package/lib/image/props.d.ts +71 -0
  281. package/lib/index.d.ts +0 -1
  282. package/lib/index.js +1 -0
  283. package/lib/info-box/index.d.ts +23 -0
  284. package/lib/info-box/index.js +1 -0
  285. package/lib/input/index.d.ts +212 -47
  286. package/lib/input/index.js +1 -15
  287. package/lib/input/input.css +232 -17
  288. package/lib/input/input.d.ts +143 -13
  289. package/lib/input/input.less +180 -18
  290. package/lib/input/input.variable.css +253 -16
  291. package/lib/link/index.d.ts +4 -4
  292. package/lib/link/index.js +1 -1
  293. package/lib/link/link.css +12 -12
  294. package/lib/link/link.d.ts +1 -1
  295. package/lib/link/link.less +16 -14
  296. package/lib/link/link.variable.css +36 -15
  297. package/lib/loading/index.d.ts +135 -19
  298. package/lib/loading/index.js +1 -1
  299. package/lib/loading/loading.css +177 -98
  300. package/lib/loading/loading.d.ts +96 -12
  301. package/lib/loading/loading.less +84 -73
  302. package/lib/loading/loading.variable.css +201 -101
  303. package/lib/menu/index.d.ts +16 -24
  304. package/lib/menu/index.js +1 -1
  305. package/lib/menu/menu.css +51 -0
  306. package/lib/menu/menu.d.ts +7 -16
  307. package/lib/menu/menu.variable.css +75 -3
  308. package/lib/menu/submenu.variable.css +24 -3
  309. package/lib/menu/utils.d.ts +1 -1
  310. package/lib/message/index.js +1 -1
  311. package/lib/message/message.css +24 -3
  312. package/lib/message/message.less +27 -2
  313. package/lib/message/message.variable.css +48 -6
  314. package/lib/message/messageConstructor.d.ts +43 -7
  315. package/lib/modal/index.d.ts +473 -60
  316. package/lib/modal/index.js +1 -1
  317. package/lib/modal/modal.css +25 -1
  318. package/lib/modal/modal.d.ts +181 -23
  319. package/lib/modal/modal.less +33 -1
  320. package/lib/modal/modal.variable.css +25 -1
  321. package/lib/modal/props.mixin.d.ts +77 -10
  322. package/lib/navigation/index.d.ts +310 -1
  323. package/lib/navigation/index.js +1 -1
  324. package/lib/navigation/navigation.css +1 -1
  325. package/lib/navigation/navigation.d.ts +10 -1
  326. package/lib/navigation/navigation.less +1 -1
  327. package/lib/navigation/navigation.variable.css +25 -4
  328. package/lib/notify/index.js +1 -1
  329. package/lib/notify/notify.css +24 -4
  330. package/lib/notify/notify.less +27 -4
  331. package/lib/notify/notify.variable.css +48 -7
  332. package/lib/notify/notifyConstructor.d.ts +50 -6
  333. package/lib/pagination/index.d.ts +410 -0
  334. package/lib/pagination/index.js +1 -0
  335. package/lib/pagination/pagination.css +205 -0
  336. package/lib/pagination/pagination.d.ts +230 -0
  337. package/lib/pagination/pagination.less +228 -0
  338. package/lib/pagination/pagination.variable.css +318 -0
  339. package/lib/pagination/type.d.ts +6 -0
  340. package/lib/pagination/use-limit.d.ts +8 -0
  341. package/lib/pagination/use-list.d.ts +8 -0
  342. package/lib/pagination/use-small-list.d.ts +5 -0
  343. package/lib/pagination/use-total.d.ts +5 -0
  344. package/lib/plugins/index.d.ts +1 -0
  345. package/lib/plugins/index.js +1 -0
  346. package/lib/popover/index.d.ts +111 -11
  347. package/lib/popover/index.js +1 -1
  348. package/lib/popover/popover.css +4 -0
  349. package/lib/popover/popover.d.ts +52 -4
  350. package/lib/popover/popover.less +4 -0
  351. package/lib/popover/popover.variable.css +28 -3
  352. package/lib/popover/props.d.ts +28 -1
  353. package/lib/popover2/arrow.d.ts +2 -0
  354. package/lib/popover2/const.d.ts +10 -0
  355. package/lib/popover2/content.d.ts +24 -0
  356. package/lib/popover2/index.d.ts +509 -0
  357. package/lib/popover2/index.js +1 -0
  358. package/lib/popover2/plugin-popover.d.ts +12 -0
  359. package/lib/popover2/popover2.css +25 -0
  360. package/lib/popover2/popover2.d.ts +214 -0
  361. package/lib/popover2/popover2.less +35 -0
  362. package/lib/popover2/popover2.variable.css +138 -0
  363. package/lib/popover2/props.d.ts +112 -0
  364. package/lib/popover2/reference.d.ts +2 -0
  365. package/lib/popover2/root.d.ts +16 -0
  366. package/lib/popover2/use-floating.d.ts +20 -0
  367. package/lib/popover2/use-platform.d.ts +30 -0
  368. package/lib/popover2/use-popover-init.d.ts +13 -0
  369. package/lib/popover2/use-popper-id.d.ts +7 -0
  370. package/lib/popover2/utils.d.ts +1 -0
  371. package/lib/preset.js +1 -0
  372. package/lib/process/index.d.ts +7 -7
  373. package/lib/process/index.js +1 -15
  374. package/lib/process/process.d.ts +2 -2
  375. package/lib/process/process.variable.css +24 -3
  376. package/lib/progress/index.d.ts +16 -16
  377. package/lib/progress/index.js +1 -1
  378. package/lib/progress/progress.css +51 -0
  379. package/lib/progress/progress.d.ts +5 -5
  380. package/lib/progress/progress.variable.css +75 -3
  381. package/lib/radio/common.d.ts +5 -5
  382. package/lib/radio/index.d.ts +30 -19
  383. package/lib/radio/index.js +1 -1
  384. package/lib/radio/radio-button.d.ts +7 -8
  385. package/lib/radio/radio-group.d.ts +16 -0
  386. package/lib/radio/radio.css +62 -57
  387. package/lib/radio/radio.d.ts +4 -4
  388. package/lib/radio/radio.less +181 -172
  389. package/lib/radio/radio.variable.css +88 -62
  390. package/lib/radio/type.d.ts +10 -5
  391. package/lib/rate/index.d.ts +24 -1
  392. package/lib/rate/index.js +1 -1
  393. package/lib/rate/rate.d.ts +11 -0
  394. package/lib/rate/star.d.ts +1 -1
  395. package/lib/resize-layout/index.d.ts +336 -0
  396. package/lib/resize-layout/index.js +1 -0
  397. package/lib/resize-layout/resize-layout.css +189 -0
  398. package/lib/resize-layout/resize-layout.d.ts +127 -0
  399. package/lib/resize-layout/resize-layout.less +233 -0
  400. package/lib/resize-layout/resize-layout.variable.css +302 -0
  401. package/lib/select/common.d.ts +20 -31
  402. package/lib/select/index.d.ts +1095 -458
  403. package/lib/select/index.js +1 -15
  404. package/lib/select/option.d.ts +16 -4
  405. package/lib/select/optionGroup.d.ts +1 -77
  406. package/lib/select/select.css +265 -81
  407. package/lib/select/select.d.ts +435 -126
  408. package/lib/select/select.less +364 -184
  409. package/lib/select/select.variable.css +290 -85
  410. package/lib/select/selectTagInput.d.ts +92 -0
  411. package/lib/select/type.d.ts +38 -0
  412. package/lib/shared/dom.d.ts +3 -0
  413. package/lib/shared/{bk-helper-core.d.ts → helper.d.ts} +0 -1
  414. package/lib/shared/index.d.ts +17 -4
  415. package/lib/shared/index.js +1 -1
  416. package/lib/shared/{bk-mask-manager.d.ts → mask-manager.d.ts} +33 -3
  417. package/lib/shared/{bk-pop-manager.d.ts → pop-manager.d.ts} +10 -2
  418. package/lib/shared/{bk-popover.d.ts → popover.d.ts} +7 -3
  419. package/lib/shared/token.d.ts +4 -0
  420. package/lib/shared/utils.d.ts +12 -0
  421. package/lib/shared/vue-types.d.ts +11 -7
  422. package/lib/sideslider/index.d.ts +365 -61
  423. package/lib/sideslider/index.js +1 -1
  424. package/lib/sideslider/sideslider.css +54 -10
  425. package/lib/sideslider/sideslider.d.ts +169 -26
  426. package/lib/sideslider/sideslider.less +71 -13
  427. package/lib/sideslider/sideslider.variable.css +78 -13
  428. package/lib/slider/index.d.ts +414 -1
  429. package/lib/slider/index.js +1 -15
  430. package/lib/slider/slider-button.d.ts +5 -0
  431. package/lib/slider/slider.d.ts +14 -2
  432. package/lib/slider/slider.variable.css +24 -3
  433. package/lib/steps/index.d.ts +7 -7
  434. package/lib/steps/index.js +1 -15
  435. package/lib/steps/steps.css +14 -3
  436. package/lib/steps/steps.d.ts +2 -2
  437. package/lib/steps/steps.less +23 -3
  438. package/lib/steps/steps.variable.css +38 -6
  439. package/lib/styles/index.d.ts +13 -0
  440. package/lib/styles/mixins/clearfix.css +8 -0
  441. package/lib/styles/mixins/clearfix.less +10 -0
  442. package/lib/styles/mixins/clearfix.variable.css +8 -0
  443. package/lib/styles/mixins/mixins.css +51 -0
  444. package/lib/styles/mixins/mixins.less +2 -0
  445. package/lib/styles/mixins/mixins.variable.css +51 -0
  446. package/lib/styles/mixins/scroll.css +17 -0
  447. package/lib/styles/mixins/scroll.less +22 -0
  448. package/lib/styles/mixins/scroll.variable.css +130 -0
  449. package/lib/styles/reset.css +36 -0
  450. package/lib/styles/reset.less +26 -0
  451. package/lib/styles/reset.variable.css +36 -0
  452. package/lib/styles/themes/themes.less +30 -3
  453. package/lib/swiper/index.d.ts +181 -0
  454. package/lib/swiper/index.js +1 -0
  455. package/lib/swiper/swiper.css +91 -0
  456. package/lib/swiper/swiper.d.ts +65 -0
  457. package/lib/swiper/swiper.less +107 -0
  458. package/lib/swiper/swiper.variable.css +91 -0
  459. package/lib/switcher/index.d.ts +37 -14
  460. package/lib/switcher/index.js +1 -1
  461. package/lib/switcher/switcher.css +57 -6
  462. package/lib/switcher/switcher.d.ts +16 -5
  463. package/lib/switcher/switcher.less +5 -26
  464. package/lib/switcher/switcher.variable.css +81 -9
  465. package/lib/tab/index.d.ts +110 -222
  466. package/lib/tab/index.js +1 -1
  467. package/lib/tab/props.d.ts +194 -0
  468. package/lib/tab/tab-nav.d.ts +66 -87
  469. package/lib/tab/tab-panel.d.ts +40 -15
  470. package/lib/tab/tab.css +25 -1
  471. package/lib/tab/tab.d.ts +18 -42
  472. package/lib/tab/tab.less +31 -19
  473. package/lib/tab/tab.variable.css +49 -4
  474. package/lib/table/const.d.ts +66 -1
  475. package/lib/table/index.d.ts +347 -12
  476. package/lib/table/index.js +1 -1
  477. package/lib/table/plugins/head-filter.css +72 -0
  478. package/lib/table/plugins/head-filter.less +93 -0
  479. package/lib/table/plugins/head-filter.variable.css +185 -0
  480. package/lib/table/plugins/head-sort.css +22 -0
  481. package/lib/table/plugins/head-sort.less +28 -0
  482. package/lib/table/plugins/head-sort.variable.css +135 -0
  483. package/lib/table/plugins/settings.css +129 -0
  484. package/lib/table/plugins/settings.less +157 -0
  485. package/lib/table/plugins/settings.variable.css +242 -0
  486. package/lib/table/props.d.ts +210 -4
  487. package/lib/table/render.d.ts +61 -6
  488. package/lib/table/table.css +1128 -15
  489. package/lib/table/table.d.ts +154 -8
  490. package/lib/table/table.less +223 -24
  491. package/lib/table/table.variable.css +1163 -29
  492. package/lib/table/use-common.d.ts +72 -0
  493. package/lib/table/utils.d.ts +58 -3
  494. package/lib/tag/index.d.ts +189 -22
  495. package/lib/tag/index.js +1 -1
  496. package/lib/tag/tag.css +112 -0
  497. package/lib/tag/tag.d.ts +83 -7
  498. package/lib/tag/tag.less +127 -2
  499. package/lib/tag/tag.variable.css +136 -3
  500. package/lib/tag-input/common.d.ts +24 -0
  501. package/lib/tag-input/index.d.ts +913 -0
  502. package/lib/tag-input/index.js +1 -0
  503. package/lib/tag-input/list-tag-render.d.ts +47 -0
  504. package/lib/tag-input/tag-input.css +209 -0
  505. package/lib/tag-input/tag-input.d.ts +383 -0
  506. package/lib/tag-input/tag-input.less +251 -0
  507. package/lib/tag-input/tag-input.variable.css +322 -0
  508. package/lib/tag-input/tag-props.d.ts +135 -0
  509. package/lib/tag-input/tag-render.d.ts +38 -0
  510. package/lib/time-picker/index.d.ts +904 -0
  511. package/lib/time-picker/index.js +1 -0
  512. package/lib/time-picker/time-picker.css +215 -0
  513. package/lib/time-picker/time-picker.less +260 -0
  514. package/lib/time-picker/time-picker.variable.css +328 -0
  515. package/lib/timeline/index.d.ts +4 -4
  516. package/lib/timeline/index.js +1 -1
  517. package/lib/timeline/timeline.css +5 -5
  518. package/lib/timeline/timeline.d.ts +1 -1
  519. package/lib/timeline/timeline.less +6 -5
  520. package/lib/timeline/timeline.variable.css +29 -8
  521. package/lib/transfer/const.d.ts +5 -0
  522. package/lib/transfer/index.d.ts +365 -0
  523. package/lib/transfer/index.js +1 -0
  524. package/lib/transfer/props.d.ts +54 -0
  525. package/lib/transfer/transfer.css +139 -0
  526. package/lib/transfer/transfer.d.ts +160 -0
  527. package/lib/transfer/transfer.less +144 -0
  528. package/lib/transfer/transfer.variable.css +252 -0
  529. package/lib/tree/constant.d.ts +45 -0
  530. package/lib/tree/index.d.ts +340 -44
  531. package/lib/tree/index.js +1 -1
  532. package/lib/tree/props.d.ts +114 -0
  533. package/lib/tree/tree.css +175 -14
  534. package/lib/tree/tree.d.ts +157 -15
  535. package/lib/tree/tree.less +70 -26
  536. package/lib/tree/tree.variable.css +288 -14
  537. package/lib/tree/use-empty.d.ts +6 -0
  538. package/lib/tree/use-node-action.d.ts +12 -0
  539. package/lib/tree/use-node-async.d.ts +5 -0
  540. package/lib/tree/use-node-attribute.d.ts +33 -0
  541. package/lib/tree/use-node-drag.d.ts +3 -0
  542. package/lib/tree/use-search.d.ts +11 -0
  543. package/lib/tree/use-tree-init.d.ts +15 -0
  544. package/lib/tree/util.d.ts +31 -13
  545. package/lib/upload/index.d.ts +580 -0
  546. package/lib/upload/index.js +1 -0
  547. package/lib/upload/props.d.ts +113 -0
  548. package/lib/upload/upload-list.d.ts +47 -0
  549. package/lib/upload/upload-trigger.d.ts +54 -0
  550. package/lib/upload/upload.css +422 -0
  551. package/lib/upload/upload.d.ts +252 -0
  552. package/lib/upload/upload.less +461 -0
  553. package/lib/upload/upload.type.d.ts +78 -0
  554. package/lib/upload/upload.variable.css +535 -0
  555. package/lib/upload/use-ajax-upload.d.ts +3 -0
  556. package/lib/upload/use-file-handler.d.ts +44 -0
  557. package/lib/virtual-render/index.d.ts +30 -7
  558. package/lib/virtual-render/index.js +1 -1
  559. package/lib/virtual-render/props.d.ts +10 -0
  560. package/lib/virtual-render/use-tag-render.d.ts +7 -0
  561. package/lib/virtual-render/v-virtual-render.d.ts +0 -1
  562. package/lib/virtual-render/virtual-render.css +17 -24
  563. package/lib/virtual-render/virtual-render.d.ts +15 -4
  564. package/lib/virtual-render/virtual-render.less +2 -31
  565. package/lib/virtual-render/virtual-render.variable.css +130 -24
  566. package/lib/volar.components.d.ts +100 -0
  567. package/package.json +104 -84
  568. package/README_EN.md +0 -89
  569. package/dist/bkui-vue.cjs.js +0 -12058
  570. package/dist/bkui-vue.esm.js +0 -12009
  571. package/dist/bkui-vue.umd.js +0 -12061
  572. package/lib/form/common.d.ts +0 -3
  573. package/lib/icon/help.js +0 -15
  574. package/lib/icon/icon.js +0 -15
  575. package/lib/styles/index.js +0 -1
@@ -2,10 +2,34 @@
2
2
  position: absolute;
3
3
  top: 50%;
4
4
  left: 50%;
5
- background: #fff;
6
5
  transform: translate(-50%, -50%);
6
+ width: 480px;
7
+ }
8
+ .bk-modal-wrapper .bk-modal-outside {
9
+ position: fixed;
10
+ top: 0;
11
+ right: 0;
12
+ bottom: 0;
13
+ left: 0;
14
+ }
15
+ .bk-modal-wrapper.normal {
16
+ width: 480px;
17
+ height: 240px;
18
+ }
19
+ .bk-modal-wrapper.small {
20
+ width: 400px;
21
+ height: 200px;
22
+ }
23
+ .bk-modal-wrapper.medium {
24
+ width: 640px;
25
+ height: 400px;
26
+ }
27
+ .bk-modal-wrapper.large {
28
+ width: 960px;
29
+ height: 720px;
7
30
  }
8
31
  .bk-modal-wrapper .bk-modal-body {
9
32
  height: 100%;
33
+ background: #fff;
10
34
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
11
35
  }
@@ -1,22 +1,89 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
- isShow: {
3
- type: BooleanConstructor;
2
+ isShow: import("vue-types").VueTypeValidableDef<boolean> & {
3
+ default: boolean;
4
+ } & {
5
+ default: boolean;
6
+ };
7
+ width: import("vue-types").VueTypeDef<string | number> & {
8
+ default: string | number;
9
+ };
10
+ height: import("vue-types").VueTypeDef<string | number> & {
11
+ default: string | number;
12
+ };
13
+ extCls: (import("vue-types").VueTypeValidableDef<string> & {
14
+ default: string;
15
+ }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
16
+ default: () => unknown[];
17
+ });
18
+ scrollable: import("vue-types").VueTypeValidableDef<boolean> & {
19
+ default: boolean;
20
+ } & {
21
+ default: boolean;
22
+ };
23
+ showMask: import("vue-types").VueTypeValidableDef<boolean> & {
24
+ default: boolean;
25
+ } & {
26
+ default: boolean;
27
+ };
28
+ closeIcon: import("vue-types").VueTypeValidableDef<boolean> & {
29
+ default: boolean;
30
+ } & {
31
+ default: boolean;
32
+ };
33
+ escClose: import("vue-types").VueTypeValidableDef<boolean> & {
34
+ default: boolean;
35
+ } & {
36
+ default: boolean;
37
+ };
38
+ fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
39
+ default: boolean;
40
+ } & {
41
+ default: boolean;
42
+ };
43
+ size: import("vue-types").VueTypeDef<string> & {
44
+ default: string;
45
+ };
46
+ draggable: import("vue-types").VueTypeValidableDef<boolean> & {
47
+ default: boolean;
48
+ } & {
49
+ default: boolean;
50
+ };
51
+ quickClose: import("vue-types").VueTypeValidableDef<boolean> & {
52
+ default: boolean;
53
+ } & {
54
+ default: boolean;
55
+ };
56
+ transfer: import("vue-types").VueTypeValidableDef<boolean> & {
57
+ default: boolean;
58
+ } & {
4
59
  default: boolean;
5
60
  };
6
- width: {
7
- type: (NumberConstructor | StringConstructor)[];
61
+ maxHeight: import("vue-types").VueTypeValidableDef<string> & {
8
62
  default: string;
9
63
  };
10
- height: {
11
- type: (NumberConstructor | StringConstructor)[];
64
+ direction: import("vue-types").VueTypeValidableDef<string> & {
12
65
  default: string;
13
66
  };
14
- customClass: {
15
- type: (ArrayConstructor | StringConstructor)[];
67
+ title: import("vue-types").VueTypeValidableDef<string> & {
68
+ default: string;
69
+ } & {
70
+ default: string;
71
+ };
72
+ animateType: import("vue-types").VueTypeValidableDef<string> & {
73
+ default: string;
74
+ } & {
75
+ default: string;
76
+ };
77
+ renderDirective: import("vue-types").VueTypeDef<string> & {
78
+ default: string;
79
+ };
80
+ beforeClose: import("vue-types").VueTypeDef<unknown>;
81
+ dialogType: import("vue-types").VueTypeDef<string> & {
16
82
  default: string;
17
83
  };
18
- scrollable: {
19
- type: BooleanConstructor;
84
+ multiInstance: import("vue-types").VueTypeValidableDef<boolean> & {
85
+ default: boolean;
86
+ } & {
20
87
  default: boolean;
21
88
  };
22
89
  }, unknown, {
@@ -25,32 +92,123 @@ declare const _default: import("vue").DefineComponent<{
25
92
  dialogWidth(): String | Number;
26
93
  dialogHeight(): String | Number;
27
94
  compStyle(): any;
28
- }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
29
- isShow: {
30
- type: BooleanConstructor;
95
+ fullscreenStyle(): any;
96
+ }, {
97
+ handleClickOutSide(): void;
98
+ }, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "hidden" | "quick-close" | "quickClose" | "shown")[], "close" | "hidden" | "quick-close" | "quickClose" | "shown", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
99
+ isShow: import("vue-types").VueTypeValidableDef<boolean> & {
100
+ default: boolean;
101
+ } & {
102
+ default: boolean;
103
+ };
104
+ width: import("vue-types").VueTypeDef<string | number> & {
105
+ default: string | number;
106
+ };
107
+ height: import("vue-types").VueTypeDef<string | number> & {
108
+ default: string | number;
109
+ };
110
+ extCls: (import("vue-types").VueTypeValidableDef<string> & {
111
+ default: string;
112
+ }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
113
+ default: () => unknown[];
114
+ });
115
+ scrollable: import("vue-types").VueTypeValidableDef<boolean> & {
116
+ default: boolean;
117
+ } & {
118
+ default: boolean;
119
+ };
120
+ showMask: import("vue-types").VueTypeValidableDef<boolean> & {
121
+ default: boolean;
122
+ } & {
123
+ default: boolean;
124
+ };
125
+ closeIcon: import("vue-types").VueTypeValidableDef<boolean> & {
126
+ default: boolean;
127
+ } & {
128
+ default: boolean;
129
+ };
130
+ escClose: import("vue-types").VueTypeValidableDef<boolean> & {
131
+ default: boolean;
132
+ } & {
133
+ default: boolean;
134
+ };
135
+ fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
136
+ default: boolean;
137
+ } & {
138
+ default: boolean;
139
+ };
140
+ size: import("vue-types").VueTypeDef<string> & {
141
+ default: string;
142
+ };
143
+ draggable: import("vue-types").VueTypeValidableDef<boolean> & {
144
+ default: boolean;
145
+ } & {
146
+ default: boolean;
147
+ };
148
+ quickClose: import("vue-types").VueTypeValidableDef<boolean> & {
149
+ default: boolean;
150
+ } & {
151
+ default: boolean;
152
+ };
153
+ transfer: import("vue-types").VueTypeValidableDef<boolean> & {
154
+ default: boolean;
155
+ } & {
31
156
  default: boolean;
32
157
  };
33
- width: {
34
- type: (NumberConstructor | StringConstructor)[];
158
+ maxHeight: import("vue-types").VueTypeValidableDef<string> & {
35
159
  default: string;
36
160
  };
37
- height: {
38
- type: (NumberConstructor | StringConstructor)[];
161
+ direction: import("vue-types").VueTypeValidableDef<string> & {
39
162
  default: string;
40
163
  };
41
- customClass: {
42
- type: (ArrayConstructor | StringConstructor)[];
164
+ title: import("vue-types").VueTypeValidableDef<string> & {
165
+ default: string;
166
+ } & {
167
+ default: string;
168
+ };
169
+ animateType: import("vue-types").VueTypeValidableDef<string> & {
170
+ default: string;
171
+ } & {
172
+ default: string;
173
+ };
174
+ renderDirective: import("vue-types").VueTypeDef<string> & {
175
+ default: string;
176
+ };
177
+ beforeClose: import("vue-types").VueTypeDef<unknown>;
178
+ dialogType: import("vue-types").VueTypeDef<string> & {
43
179
  default: string;
44
180
  };
45
- scrollable: {
46
- type: BooleanConstructor;
181
+ multiInstance: import("vue-types").VueTypeValidableDef<boolean> & {
182
+ default: boolean;
183
+ } & {
47
184
  default: boolean;
48
185
  };
49
- }>>, {
186
+ }>> & {
187
+ onClose?: (...args: any[]) => any;
188
+ onHidden?: (...args: any[]) => any;
189
+ "onQuick-close"?: (...args: any[]) => any;
190
+ onQuickClose?: (...args: any[]) => any;
191
+ onShown?: (...args: any[]) => any;
192
+ }, {
193
+ title: string;
194
+ multiInstance: boolean;
195
+ showMask: boolean;
196
+ extCls: string | unknown[];
50
197
  width: string | number;
51
198
  height: string | number;
52
199
  isShow: boolean;
53
- customClass: string | unknown[];
200
+ draggable: boolean;
201
+ size: string;
202
+ direction: string;
203
+ maxHeight: string;
204
+ renderDirective: string;
205
+ transfer: boolean;
206
+ dialogType: string;
207
+ quickClose: boolean;
54
208
  scrollable: boolean;
209
+ closeIcon: boolean;
210
+ escClose: boolean;
211
+ fullscreen: boolean;
212
+ animateType: string;
55
213
  }>;
56
214
  export default _default;
@@ -2,11 +2,43 @@
2
2
  position: absolute;
3
3
  top: 50%;
4
4
  left: 50%;
5
- background: #fff;
5
+ // background: #fff;
6
6
  transform: translate(-50%, -50%);
7
+ width: 480px;
8
+
9
+ .bk-modal-outside {
10
+ position: fixed;
11
+ top: 0;
12
+ right: 0;
13
+ bottom: 0;
14
+ left: 0;
15
+ }
16
+
17
+ &.normal {
18
+ width: 480px;
19
+ height: 240px;
20
+ }
21
+
22
+ &.small {
23
+ width: 400px;
24
+ height: 200px;
25
+ }
26
+
27
+ &.medium {
28
+ width: 640px;
29
+ height: 400px;
30
+ }
31
+
32
+ &.large {
33
+ width: 960px;
34
+ height: 720px;
35
+ }
7
36
 
8
37
  .bk-modal-body {
9
38
  height: 100%;
39
+ background: #fff;
10
40
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
11
41
  }
12
42
  }
43
+
44
+
@@ -2,10 +2,34 @@
2
2
  position: absolute;
3
3
  top: 50%;
4
4
  left: 50%;
5
- background: #fff;
6
5
  transform: translate(-50%, -50%);
6
+ width: 480px;
7
+ }
8
+ .bk-modal-wrapper .bk-modal-outside {
9
+ position: fixed;
10
+ top: 0;
11
+ right: 0;
12
+ bottom: 0;
13
+ left: 0;
14
+ }
15
+ .bk-modal-wrapper.normal {
16
+ width: 480px;
17
+ height: 240px;
18
+ }
19
+ .bk-modal-wrapper.small {
20
+ width: 400px;
21
+ height: 200px;
22
+ }
23
+ .bk-modal-wrapper.medium {
24
+ width: 640px;
25
+ height: 400px;
26
+ }
27
+ .bk-modal-wrapper.large {
28
+ width: 960px;
29
+ height: 720px;
7
30
  }
8
31
  .bk-modal-wrapper .bk-modal-body {
9
32
  height: 100%;
33
+ background: #fff;
10
34
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
11
35
  }
@@ -1,22 +1,89 @@
1
1
  export declare const propsMixin: {
2
- isShow: {
3
- type: BooleanConstructor;
2
+ isShow: import("vue-types").VueTypeValidableDef<boolean> & {
4
3
  default: boolean;
4
+ } & {
5
+ default: boolean;
6
+ };
7
+ width: import("vue-types").VueTypeDef<string | number> & {
8
+ default: string | number;
9
+ };
10
+ height: import("vue-types").VueTypeDef<string | number> & {
11
+ default: string | number;
5
12
  };
6
- width: {
7
- type: (NumberConstructor | StringConstructor)[];
13
+ extCls: (import("vue-types").VueTypeValidableDef<string> & {
8
14
  default: string;
15
+ }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
16
+ default: () => unknown[];
17
+ });
18
+ scrollable: import("vue-types").VueTypeValidableDef<boolean> & {
19
+ default: boolean;
20
+ } & {
21
+ default: boolean;
22
+ };
23
+ showMask: import("vue-types").VueTypeValidableDef<boolean> & {
24
+ default: boolean;
25
+ } & {
26
+ default: boolean;
27
+ };
28
+ closeIcon: import("vue-types").VueTypeValidableDef<boolean> & {
29
+ default: boolean;
30
+ } & {
31
+ default: boolean;
32
+ };
33
+ escClose: import("vue-types").VueTypeValidableDef<boolean> & {
34
+ default: boolean;
35
+ } & {
36
+ default: boolean;
37
+ };
38
+ fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
39
+ default: boolean;
40
+ } & {
41
+ default: boolean;
9
42
  };
10
- height: {
11
- type: (NumberConstructor | StringConstructor)[];
43
+ size: import("vue-types").VueTypeDef<string> & {
12
44
  default: string;
13
45
  };
14
- customClass: {
15
- type: (ArrayConstructor | StringConstructor)[];
46
+ draggable: import("vue-types").VueTypeValidableDef<boolean> & {
47
+ default: boolean;
48
+ } & {
49
+ default: boolean;
50
+ };
51
+ quickClose: import("vue-types").VueTypeValidableDef<boolean> & {
52
+ default: boolean;
53
+ } & {
54
+ default: boolean;
55
+ };
56
+ transfer: import("vue-types").VueTypeValidableDef<boolean> & {
57
+ default: boolean;
58
+ } & {
59
+ default: boolean;
60
+ };
61
+ maxHeight: import("vue-types").VueTypeValidableDef<string> & {
62
+ default: string;
63
+ };
64
+ direction: import("vue-types").VueTypeValidableDef<string> & {
16
65
  default: string;
17
66
  };
18
- scrollable: {
19
- type: BooleanConstructor;
67
+ title: import("vue-types").VueTypeValidableDef<string> & {
68
+ default: string;
69
+ } & {
70
+ default: string;
71
+ };
72
+ animateType: import("vue-types").VueTypeValidableDef<string> & {
73
+ default: string;
74
+ } & {
75
+ default: string;
76
+ };
77
+ renderDirective: import("vue-types").VueTypeDef<string> & {
78
+ default: string;
79
+ };
80
+ beforeClose: import("vue-types").VueTypeDef<unknown>;
81
+ dialogType: import("vue-types").VueTypeDef<string> & {
82
+ default: string;
83
+ };
84
+ multiInstance: import("vue-types").VueTypeValidableDef<boolean> & {
85
+ default: boolean;
86
+ } & {
20
87
  default: boolean;
21
88
  };
22
89
  };