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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (528) hide show
  1. package/README.md +31 -19
  2. package/dist/index.cjs.js +171 -0
  3. package/dist/index.esm.js +31770 -0
  4. package/dist/index.umd.js +171 -0
  5. package/dist/style.css +1 -4190
  6. package/dist/style.variable.css +1 -0
  7. package/lib/affix/affix.css +3 -0
  8. package/lib/affix/affix.d.ts +47 -0
  9. package/lib/affix/affix.less +5 -0
  10. package/lib/affix/affix.variable.css +116 -0
  11. package/lib/affix/index.d.ts +143 -0
  12. package/lib/affix/index.js +1 -0
  13. package/lib/alert/alert.css +5 -3
  14. package/lib/alert/alert.d.ts +24 -15
  15. package/lib/alert/alert.less +7 -3
  16. package/lib/alert/alert.variable.css +35 -6
  17. package/lib/alert/index.d.ts +96 -60
  18. package/lib/alert/index.js +1 -1
  19. package/lib/animate-number/animate-number.d.ts +12 -7
  20. package/lib/animate-number/index.d.ts +48 -28
  21. package/lib/animate-number/index.js +1 -1
  22. package/lib/backtop/backtop.d.ts +28 -14
  23. package/lib/backtop/backtop.variable.css +30 -3
  24. package/lib/backtop/index.d.ts +111 -55
  25. package/lib/backtop/index.js +1 -1
  26. package/lib/badge/badge.css +5 -5
  27. package/lib/badge/badge.d.ts +64 -22
  28. package/lib/badge/badge.less +5 -6
  29. package/lib/badge/badge.variable.css +35 -8
  30. package/lib/badge/index.d.ts +202 -84
  31. package/lib/badge/index.js +1 -1
  32. package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
  33. package/lib/breadcrumb/breadcrumb.css +61 -1
  34. package/lib/breadcrumb/breadcrumb.d.ts +37 -9
  35. package/lib/breadcrumb/breadcrumb.less +13 -2
  36. package/lib/breadcrumb/breadcrumb.variable.css +91 -4
  37. package/lib/breadcrumb/index.d.ts +117 -45
  38. package/lib/breadcrumb/index.js +1 -1
  39. package/lib/button/button-group.d.ts +3 -5
  40. package/lib/button/button.css +92 -44
  41. package/lib/button/button.d.ts +76 -26
  42. package/lib/button/button.less +88 -46
  43. package/lib/button/button.variable.css +122 -47
  44. package/lib/button/index.d.ts +191 -102
  45. package/lib/button/index.js +1 -1
  46. package/lib/card/card.css +96 -1
  47. package/lib/card/card.d.ts +74 -18
  48. package/lib/card/card.less +50 -2
  49. package/lib/card/card.variable.css +126 -4
  50. package/lib/card/index.d.ts +225 -69
  51. package/lib/card/index.js +1 -1
  52. package/lib/cascader/cascader-panel.d.ts +48 -0
  53. package/lib/cascader/cascader.css +130 -0
  54. package/lib/cascader/cascader.d.ts +274 -0
  55. package/lib/cascader/cascader.less +146 -0
  56. package/lib/cascader/cascader.variable.css +243 -0
  57. package/lib/cascader/index.d.ts +733 -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 +63 -9
  67. package/lib/checkbox/common.d.ts +3 -3
  68. package/lib/checkbox/index.d.ts +150 -104
  69. package/lib/checkbox/index.js +1 -1
  70. package/lib/checkbox/type.d.ts +3 -7
  71. package/lib/code-diff/code-diff.css +186 -0
  72. package/lib/code-diff/code-diff.d.ts +80 -0
  73. package/lib/code-diff/code-diff.less +238 -0
  74. package/lib/code-diff/code-diff.variable.css +299 -0
  75. package/lib/code-diff/index.d.ts +154 -0
  76. package/lib/code-diff/index.js +1 -0
  77. package/lib/collapse/collapse.css +17 -1
  78. package/lib/collapse/collapse.d.ts +51 -22
  79. package/lib/collapse/collapse.less +24 -2
  80. package/lib/collapse/collapse.variable.css +130 -1
  81. package/lib/collapse/index.d.ts +127 -75
  82. package/lib/collapse/index.js +1 -1
  83. package/lib/collapse/utils.d.ts +11 -0
  84. package/lib/components.d.ts +26 -5
  85. package/lib/components.js +1 -0
  86. package/lib/container/col.d.ts +51 -0
  87. package/lib/container/container.css +91 -0
  88. package/lib/container/container.d.ts +83 -0
  89. package/lib/container/container.less +20 -0
  90. package/lib/container/container.variable.css +204 -0
  91. package/lib/container/index.d.ts +223 -0
  92. package/lib/container/index.js +1 -0
  93. package/lib/container/row.d.ts +4 -0
  94. package/lib/date-picker/date-picker.css +3 -2
  95. package/lib/date-picker/date-picker.d.ts +92 -137
  96. package/lib/date-picker/date-picker.less +5 -2
  97. package/lib/date-picker/date-picker.variable.css +33 -5
  98. package/lib/date-picker/index.d.ts +504 -276
  99. package/lib/date-picker/index.js +1 -1
  100. package/lib/date-picker/interface.d.ts +1 -1
  101. package/lib/date-picker/props.d.ts +118 -0
  102. package/lib/date-picker/utils.d.ts +1 -1
  103. package/lib/dialog/dialog.css +76 -20
  104. package/lib/dialog/dialog.d.ts +285 -52
  105. package/lib/dialog/dialog.less +54 -21
  106. package/lib/dialog/dialog.variable.css +76 -20
  107. package/lib/dialog/index.d.ts +665 -115
  108. package/lib/dialog/index.js +1 -1
  109. package/lib/directives/clickoutside.d.ts +3 -23
  110. package/lib/directives/index.js +2 -15
  111. package/lib/directives/index.js.LICENSE.txt +14 -0
  112. package/lib/directives/tooltips.d.ts +1 -1
  113. package/lib/dist.index.js +1 -0
  114. package/lib/divider/divider.d.ts +21 -13
  115. package/lib/divider/divider.variable.css +30 -3
  116. package/lib/divider/index.d.ts +84 -52
  117. package/lib/divider/index.js +1 -1
  118. package/lib/divider/props.d.ts +21 -0
  119. package/lib/dropdown/dropdown-item.d.ts +6 -5
  120. package/lib/dropdown/dropdown-menu.d.ts +6 -5
  121. package/lib/dropdown/dropdown.css +4 -0
  122. package/lib/dropdown/dropdown.d.ts +28 -14
  123. package/lib/dropdown/dropdown.less +5 -0
  124. package/lib/dropdown/dropdown.variable.css +34 -3
  125. package/lib/dropdown/index.d.ts +109 -69
  126. package/lib/dropdown/index.js +1 -1
  127. package/lib/exception/exception.d.ts +11 -9
  128. package/lib/exception/exception.variable.css +30 -3
  129. package/lib/exception/index.d.ts +44 -36
  130. package/lib/exception/index.js +1 -1
  131. package/lib/fixed-navbar/fixed-navbar.d.ts +29 -9
  132. package/lib/fixed-navbar/fixed-navbar.variable.css +30 -3
  133. package/lib/fixed-navbar/index.d.ts +96 -37
  134. package/lib/fixed-navbar/index.js +1 -1
  135. package/lib/form/compose-form-item.d.ts +16 -0
  136. package/lib/form/form-item.d.ts +61 -45
  137. package/lib/form/form.css +96 -10
  138. package/lib/form/form.d.ts +45 -40
  139. package/lib/form/form.less +136 -34
  140. package/lib/form/form.variable.css +209 -10
  141. package/lib/form/index.d.ts +303 -3
  142. package/lib/form/index.js +1 -1
  143. package/lib/form/type.d.ts +8 -6
  144. package/lib/form/validator.d.ts +1 -0
  145. package/lib/icon/angle-double-down-line.d.ts +4 -0
  146. package/lib/icon/angle-double-down-line.js +1 -0
  147. package/lib/icon/angle-double-left-line.d.ts +4 -0
  148. package/lib/icon/angle-double-left-line.js +1 -0
  149. package/lib/icon/angle-double-left.js +1 -0
  150. package/lib/icon/angle-double-right-line.d.ts +4 -0
  151. package/lib/icon/angle-double-right-line.js +1 -0
  152. package/lib/icon/angle-double-right.js +1 -0
  153. package/lib/icon/angle-double-up-line.d.ts +4 -0
  154. package/lib/icon/angle-double-up-line.js +1 -0
  155. package/lib/icon/angle-down-fill.d.ts +4 -0
  156. package/lib/icon/angle-down-fill.js +1 -0
  157. package/lib/icon/angle-down-line.js +1 -0
  158. package/lib/icon/angle-down.js +1 -0
  159. package/lib/icon/angle-left.js +1 -0
  160. package/lib/icon/angle-right.js +1 -0
  161. package/lib/icon/angle-up-fill.d.ts +4 -0
  162. package/lib/icon/angle-up-fill.js +1 -0
  163. package/lib/icon/angle-up.js +1 -0
  164. package/lib/icon/archive-fill.d.ts +4 -0
  165. package/lib/icon/archive-fill.js +1 -0
  166. package/lib/icon/arrows-left.d.ts +4 -0
  167. package/lib/icon/arrows-left.js +1 -0
  168. package/lib/icon/arrows-right.d.ts +4 -0
  169. package/lib/icon/arrows-right.js +1 -0
  170. package/lib/icon/audio-fill.d.ts +4 -0
  171. package/lib/icon/audio-fill.js +1 -0
  172. package/lib/icon/bk.d.ts +4 -0
  173. package/lib/icon/bk.js +1 -0
  174. package/lib/icon/circle.js +1 -0
  175. package/lib/icon/close-line.d.ts +4 -0
  176. package/lib/icon/close-line.js +1 -0
  177. package/lib/icon/close.js +1 -0
  178. package/lib/icon/code.js +1 -0
  179. package/lib/icon/cog-shape.js +1 -0
  180. package/lib/icon/collapse-left.js +1 -0
  181. package/lib/icon/copy.js +1 -0
  182. package/lib/icon/data-shape.d.ts +4 -0
  183. package/lib/icon/data-shape.js +1 -0
  184. package/lib/icon/del.d.ts +4 -0
  185. package/lib/icon/del.js +1 -0
  186. package/lib/icon/doc-fill.d.ts +4 -0
  187. package/lib/icon/doc-fill.js +1 -0
  188. package/lib/icon/done.js +1 -0
  189. package/lib/icon/down-shape.js +1 -0
  190. package/lib/icon/down-small.js +1 -0
  191. package/lib/icon/edit-line.d.ts +4 -0
  192. package/lib/icon/edit-line.js +1 -0
  193. package/lib/icon/ellipsis.d.ts +4 -0
  194. package/lib/icon/ellipsis.js +1 -0
  195. package/lib/icon/error.js +1 -0
  196. package/lib/icon/excel-fill.d.ts +4 -0
  197. package/lib/icon/excel-fill.js +1 -0
  198. package/lib/icon/exclamation-circle-shape.d.ts +4 -0
  199. package/lib/icon/exclamation-circle-shape.js +1 -0
  200. package/lib/icon/eye.js +1 -0
  201. package/lib/icon/folder-open.js +1 -0
  202. package/lib/icon/folder-shape-open.js +1 -0
  203. package/lib/icon/folder-shape.js +1 -0
  204. package/lib/icon/funnel.d.ts +4 -0
  205. package/lib/icon/funnel.js +1 -0
  206. package/lib/icon/help-document-fill.js +1 -0
  207. package/lib/icon/help-fill.js +1 -0
  208. package/lib/icon/help.js +1 -0
  209. package/lib/icon/image-fill.d.ts +4 -0
  210. package/lib/icon/image-fill.js +1 -0
  211. package/lib/icon/index.d.ts +34 -3
  212. package/lib/icon/index.js +1 -15
  213. package/lib/icon/info-line.js +1 -0
  214. package/lib/icon/info.js +1 -0
  215. package/lib/icon/left-shape.d.ts +4 -0
  216. package/lib/icon/left-shape.js +1 -0
  217. package/lib/icon/pdf-fill.d.ts +4 -0
  218. package/lib/icon/pdf-fill.js +1 -0
  219. package/lib/icon/play-shape.js +1 -0
  220. package/lib/icon/plus.js +1 -0
  221. package/lib/icon/ppt-fill.d.ts +4 -0
  222. package/lib/icon/ppt-fill.js +1 -0
  223. package/lib/icon/qq.d.ts +4 -0
  224. package/lib/icon/qq.js +1 -0
  225. package/lib/icon/right-shape.js +1 -0
  226. package/lib/icon/search.js +1 -0
  227. package/lib/icon/share.js +1 -0
  228. package/lib/icon/spinner.d.ts +4 -0
  229. package/lib/icon/spinner.js +1 -0
  230. package/lib/icon/success.js +1 -0
  231. package/lib/icon/switcher-loading.js +1 -0
  232. package/lib/icon/text-file.js +1 -0
  233. package/lib/icon/text-fill.d.ts +4 -0
  234. package/lib/icon/text-fill.js +1 -0
  235. package/lib/icon/tree-application-shape.js +1 -0
  236. package/lib/icon/unvisible.js +1 -0
  237. package/lib/icon/up-shape.d.ts +4 -0
  238. package/lib/icon/up-shape.js +1 -0
  239. package/lib/icon/upload.d.ts +4 -0
  240. package/lib/icon/upload.js +1 -0
  241. package/lib/icon/video-fill.d.ts +4 -0
  242. package/lib/icon/video-fill.js +1 -0
  243. package/lib/icon/warn.js +1 -0
  244. package/lib/icon/weixin.d.ts +4 -0
  245. package/lib/icon/weixin.js +1 -0
  246. package/lib/index.d.ts +0 -1
  247. package/lib/index.js +1 -0
  248. package/lib/input/index.d.ts +406 -199
  249. package/lib/input/index.js +1 -15
  250. package/lib/input/input.css +232 -16
  251. package/lib/input/input.d.ts +171 -51
  252. package/lib/input/input.less +182 -19
  253. package/lib/input/input.variable.css +259 -15
  254. package/lib/link/index.d.ts +102 -54
  255. package/lib/link/index.js +1 -1
  256. package/lib/link/link.d.ts +25 -13
  257. package/lib/link/link.variable.css +30 -3
  258. package/lib/loading/index.d.ts +187 -71
  259. package/lib/loading/index.js +1 -1
  260. package/lib/loading/loading.css +177 -98
  261. package/lib/loading/loading.d.ts +109 -25
  262. package/lib/loading/loading.less +84 -73
  263. package/lib/loading/loading.variable.css +207 -101
  264. package/lib/menu/index.d.ts +82 -71
  265. package/lib/menu/index.js +1 -1
  266. package/lib/menu/menu-group.d.ts +6 -5
  267. package/lib/menu/menu-item.d.ts +6 -5
  268. package/lib/menu/menu.css +51 -0
  269. package/lib/menu/menu.d.ts +16 -21
  270. package/lib/menu/menu.variable.css +81 -3
  271. package/lib/menu/submenu.css +3 -0
  272. package/lib/menu/submenu.d.ts +6 -5
  273. package/lib/menu/submenu.less +1 -1
  274. package/lib/menu/submenu.variable.css +33 -3
  275. package/lib/menu/utils.d.ts +1 -1
  276. package/lib/message/index.js +1 -1
  277. package/lib/message/message.css +24 -3
  278. package/lib/message/message.less +27 -2
  279. package/lib/message/message.variable.css +54 -6
  280. package/lib/message/messageConstructor.d.ts +69 -21
  281. package/lib/modal/index.d.ts +517 -68
  282. package/lib/modal/index.js +1 -1
  283. package/lib/modal/modal.css +25 -1
  284. package/lib/modal/modal.d.ts +191 -24
  285. package/lib/modal/modal.less +33 -1
  286. package/lib/modal/modal.variable.css +25 -1
  287. package/lib/modal/props.mixin.d.ts +77 -10
  288. package/lib/navigation/index.d.ts +310 -1
  289. package/lib/navigation/index.js +1 -1
  290. package/lib/navigation/navigation-title.d.ts +10 -7
  291. package/lib/navigation/navigation.css +1 -1
  292. package/lib/navigation/navigation.d.ts +50 -24
  293. package/lib/navigation/navigation.less +1 -1
  294. package/lib/navigation/navigation.variable.css +31 -4
  295. package/lib/notify/index.js +1 -1
  296. package/lib/notify/notify.css +24 -4
  297. package/lib/notify/notify.less +27 -4
  298. package/lib/notify/notify.variable.css +54 -7
  299. package/lib/notify/notifyConstructor.d.ts +84 -24
  300. package/lib/pagination/index.d.ts +395 -0
  301. package/lib/pagination/index.js +1 -0
  302. package/lib/pagination/pagination.css +179 -0
  303. package/lib/pagination/pagination.d.ts +220 -0
  304. package/lib/pagination/pagination.less +201 -0
  305. package/lib/pagination/pagination.variable.css +292 -0
  306. package/lib/pagination/type.d.ts +6 -0
  307. package/lib/pagination/use-limit.d.ts +8 -0
  308. package/lib/pagination/use-list.d.ts +8 -0
  309. package/lib/pagination/use-small-list.d.ts +5 -0
  310. package/lib/pagination/use-total.d.ts +5 -0
  311. package/lib/popover/index.d.ts +322 -137
  312. package/lib/popover/index.js +1 -1
  313. package/lib/popover/popover.css +26 -13
  314. package/lib/popover/popover.d.ts +122 -45
  315. package/lib/popover/popover.less +59 -45
  316. package/lib/popover/popover.variable.css +56 -16
  317. package/lib/popover/props.d.ts +104 -0
  318. package/lib/popover2/arrow.d.ts +2 -0
  319. package/lib/popover2/const.d.ts +10 -0
  320. package/lib/popover2/content.d.ts +24 -0
  321. package/lib/popover2/index.d.ts +495 -0
  322. package/lib/popover2/index.js +1 -0
  323. package/lib/popover2/popover2.css +25 -0
  324. package/lib/popover2/popover2.d.ts +209 -0
  325. package/lib/popover2/popover2.less +35 -0
  326. package/lib/popover2/popover2.variable.css +138 -0
  327. package/lib/popover2/props.d.ts +108 -0
  328. package/lib/popover2/reference.d.ts +2 -0
  329. package/lib/popover2/root.d.ts +16 -0
  330. package/lib/popover2/use-floating.d.ts +20 -0
  331. package/lib/popover2/use-platform.d.ts +30 -0
  332. package/lib/popover2/use-popper-id.d.ts +7 -0
  333. package/lib/preset.js +1 -0
  334. package/lib/process/index.d.ts +123 -63
  335. package/lib/process/index.js +1 -15
  336. package/lib/process/process.css +2 -3
  337. package/lib/process/process.d.ts +31 -16
  338. package/lib/process/process.less +2 -3
  339. package/lib/process/process.variable.css +32 -6
  340. package/lib/progress/index.d.ts +305 -135
  341. package/lib/progress/index.js +1 -1
  342. package/lib/progress/progress.css +51 -3
  343. package/lib/progress/progress.d.ts +89 -36
  344. package/lib/progress/progress.less +0 -4
  345. package/lib/progress/progress.variable.css +81 -6
  346. package/lib/radio/common.d.ts +5 -5
  347. package/lib/radio/index.d.ts +145 -96
  348. package/lib/radio/index.js +1 -1
  349. package/lib/radio/radio-button.d.ts +30 -23
  350. package/lib/radio/radio-group.d.ts +11 -10
  351. package/lib/radio/radio.css +62 -57
  352. package/lib/radio/radio.d.ts +27 -17
  353. package/lib/radio/radio.less +181 -172
  354. package/lib/radio/radio.variable.css +94 -62
  355. package/lib/radio/type.d.ts +10 -5
  356. package/lib/rate/index.d.ts +52 -40
  357. package/lib/rate/index.js +1 -1
  358. package/lib/rate/rate.d.ts +13 -10
  359. package/lib/rate/star.d.ts +33 -16
  360. package/lib/resize-layout/index.d.ts +336 -0
  361. package/lib/resize-layout/index.js +1 -0
  362. package/lib/resize-layout/resize-layout.css +189 -0
  363. package/lib/resize-layout/resize-layout.d.ts +127 -0
  364. package/lib/resize-layout/resize-layout.less +233 -0
  365. package/lib/resize-layout/resize-layout.variable.css +302 -0
  366. package/lib/select/common.d.ts +20 -22
  367. package/lib/select/index.d.ts +1061 -705
  368. package/lib/select/index.js +1 -15
  369. package/lib/select/option.d.ts +23 -19
  370. package/lib/select/optionGroup.d.ts +36 -97
  371. package/lib/select/select.css +238 -70
  372. package/lib/select/select.d.ts +376 -192
  373. package/lib/select/select.less +284 -130
  374. package/lib/select/select.variable.css +268 -73
  375. package/lib/select/selectTagInput.d.ts +72 -0
  376. package/lib/select/type.d.ts +38 -0
  377. package/lib/shared/{bk-helper-core.d.ts → helper.d.ts} +6 -1
  378. package/lib/shared/index.d.ts +26 -4
  379. package/lib/shared/index.js +1 -1
  380. package/lib/shared/{bk-mask-manager.d.ts → mask-manager.d.ts} +33 -3
  381. package/lib/shared/{bk-pop-manager.d.ts → pop-manager.d.ts} +10 -2
  382. package/lib/shared/{bk-popover.d.ts → popover.d.ts} +50 -5
  383. package/lib/shared/token.d.ts +4 -0
  384. package/lib/shared/utils.d.ts +18 -0
  385. package/lib/shared/vue-types.d.ts +11 -7
  386. package/lib/sideslider/index.d.ts +432 -80
  387. package/lib/sideslider/index.js +1 -1
  388. package/lib/sideslider/sideslider.css +54 -10
  389. package/lib/sideslider/sideslider.d.ts +185 -30
  390. package/lib/sideslider/sideslider.less +71 -13
  391. package/lib/sideslider/sideslider.variable.css +84 -13
  392. package/lib/slider/index.d.ts +414 -1
  393. package/lib/slider/index.js +1 -15
  394. package/lib/slider/slider-button.d.ts +15 -7
  395. package/lib/slider/slider.d.ts +84 -42
  396. package/lib/slider/slider.variable.css +30 -3
  397. package/lib/steps/index.d.ts +160 -108
  398. package/lib/steps/index.js +1 -15
  399. package/lib/steps/steps.css +17 -3
  400. package/lib/steps/steps.d.ts +40 -27
  401. package/lib/steps/steps.less +27 -3
  402. package/lib/steps/steps.variable.css +47 -6
  403. package/lib/styles/index.d.ts +13 -0
  404. package/lib/styles/mixins/clearfix.css +8 -0
  405. package/lib/styles/mixins/clearfix.less +10 -0
  406. package/lib/styles/mixins/clearfix.variable.css +8 -0
  407. package/lib/styles/mixins/mixins.css +51 -0
  408. package/lib/styles/mixins/mixins.less +2 -0
  409. package/lib/styles/mixins/mixins.variable.css +51 -0
  410. package/lib/styles/mixins/scroll.css +17 -0
  411. package/lib/styles/mixins/scroll.less +22 -0
  412. package/lib/styles/mixins/scroll.variable.css +130 -0
  413. package/lib/styles/themes/themes.less +40 -3
  414. package/lib/swiper/index.d.ts +181 -0
  415. package/lib/swiper/index.js +1 -0
  416. package/lib/swiper/swiper.css +91 -0
  417. package/lib/swiper/swiper.d.ts +65 -0
  418. package/lib/swiper/swiper.less +107 -0
  419. package/lib/swiper/swiper.variable.css +91 -0
  420. package/lib/switcher/index.d.ts +201 -137
  421. package/lib/switcher/index.js +1 -1
  422. package/lib/switcher/switcher.css +200 -135
  423. package/lib/switcher/switcher.d.ts +52 -36
  424. package/lib/switcher/switcher.less +190 -155
  425. package/lib/switcher/switcher.variable.css +230 -138
  426. package/lib/tab/index.d.ts +306 -282
  427. package/lib/tab/index.js +1 -1
  428. package/lib/tab/props.d.ts +194 -0
  429. package/lib/tab/tab-nav.d.ts +102 -87
  430. package/lib/tab/tab-panel.d.ts +53 -26
  431. package/lib/tab/tab.css +25 -1
  432. package/lib/tab/tab.d.ts +59 -51
  433. package/lib/tab/tab.less +31 -19
  434. package/lib/tab/tab.variable.css +55 -4
  435. package/lib/table/const.d.ts +67 -0
  436. package/lib/table/index.d.ts +498 -70
  437. package/lib/table/index.js +1 -1
  438. package/lib/table/plugins/head-filter.css +68 -0
  439. package/lib/table/plugins/head-filter.less +88 -0
  440. package/lib/table/plugins/head-filter.variable.css +181 -0
  441. package/lib/table/plugins/head-sort.css +22 -0
  442. package/lib/table/plugins/head-sort.less +28 -0
  443. package/lib/table/plugins/head-sort.variable.css +135 -0
  444. package/lib/table/plugins/settings.css +129 -0
  445. package/lib/table/plugins/settings.less +157 -0
  446. package/lib/table/plugins/settings.variable.css +242 -0
  447. package/lib/table/props.d.ts +210 -2
  448. package/lib/table/render.d.ts +76 -5
  449. package/lib/table/table.css +1094 -15
  450. package/lib/table/table.d.ts +221 -14
  451. package/lib/table/table.less +253 -24
  452. package/lib/table/table.variable.css +1125 -19
  453. package/lib/table/use-common.d.ts +72 -0
  454. package/lib/table/utils.d.ts +84 -2
  455. package/lib/tag/index.d.ts +165 -274
  456. package/lib/tag/index.js +1 -1
  457. package/lib/tag/tag.css +97 -0
  458. package/lib/tag/tag.d.ts +83 -53
  459. package/lib/tag/tag.less +110 -2
  460. package/lib/tag/tag.variable.css +127 -3
  461. package/lib/tag-input/common.d.ts +24 -0
  462. package/lib/tag-input/index.d.ts +894 -0
  463. package/lib/tag-input/index.js +1 -0
  464. package/lib/tag-input/list-tag-render.d.ts +47 -0
  465. package/lib/tag-input/tag-input.css +209 -0
  466. package/lib/tag-input/tag-input.d.ts +374 -0
  467. package/lib/tag-input/tag-input.less +251 -0
  468. package/lib/tag-input/tag-input.variable.css +322 -0
  469. package/lib/tag-input/tag-props.d.ts +131 -0
  470. package/lib/tag-input/tag-render.d.ts +38 -0
  471. package/lib/timeline/index.d.ts +129 -0
  472. package/lib/timeline/index.js +1 -0
  473. package/lib/timeline/timeline.css +235 -0
  474. package/lib/timeline/timeline.d.ts +81 -0
  475. package/lib/timeline/timeline.less +240 -0
  476. package/lib/timeline/timeline.variable.css +348 -0
  477. package/lib/transfer/const.d.ts +5 -0
  478. package/lib/transfer/index.d.ts +365 -0
  479. package/lib/transfer/index.js +1 -0
  480. package/lib/transfer/props.d.ts +54 -0
  481. package/lib/transfer/transfer.css +139 -0
  482. package/lib/transfer/transfer.d.ts +160 -0
  483. package/lib/transfer/transfer.less +144 -0
  484. package/lib/transfer/transfer.variable.css +252 -0
  485. package/lib/tree/constant.d.ts +45 -0
  486. package/lib/tree/index.d.ts +469 -94
  487. package/lib/tree/index.js +1 -1
  488. package/lib/tree/props.d.ts +184 -0
  489. package/lib/tree/tree.css +176 -15
  490. package/lib/tree/tree.d.ts +201 -31
  491. package/lib/tree/tree.less +75 -38
  492. package/lib/tree/tree.variable.css +289 -15
  493. package/lib/tree/use-empty.d.ts +6 -0
  494. package/lib/tree/use-node-action.d.ts +12 -0
  495. package/lib/tree/use-node-async.d.ts +5 -0
  496. package/lib/tree/use-node-attribute.d.ts +33 -0
  497. package/lib/tree/use-node-drag.d.ts +3 -0
  498. package/lib/tree/use-search.d.ts +11 -0
  499. package/lib/tree/use-tree-init.d.ts +15 -0
  500. package/lib/tree/util.d.ts +34 -57
  501. package/lib/upload/index.d.ts +580 -0
  502. package/lib/upload/index.js +1 -0
  503. package/lib/upload/props.d.ts +113 -0
  504. package/lib/upload/upload-list.d.ts +46 -0
  505. package/lib/upload/upload-trigger.d.ts +54 -0
  506. package/lib/upload/upload.css +417 -0
  507. package/lib/upload/upload.d.ts +252 -0
  508. package/lib/upload/upload.less +455 -0
  509. package/lib/upload/upload.type.d.ts +78 -0
  510. package/lib/upload/upload.variable.css +530 -0
  511. package/lib/upload/use-ajax-upload.d.ts +3 -0
  512. package/lib/upload/use-file-handler.d.ts +44 -0
  513. package/lib/virtual-render/index.d.ts +579 -0
  514. package/lib/virtual-render/index.js +1 -0
  515. package/lib/virtual-render/props.d.ts +167 -0
  516. package/lib/virtual-render/use-tag-render.d.ts +7 -0
  517. package/lib/virtual-render/v-virtual-render.d.ts +6 -0
  518. package/lib/virtual-render/virtual-render.css +33 -0
  519. package/lib/virtual-render/virtual-render.d.ts +255 -0
  520. package/lib/virtual-render/virtual-render.less +22 -0
  521. package/lib/virtual-render/virtual-render.variable.css +146 -0
  522. package/lib/volar.components.d.ts +100 -0
  523. package/package.json +107 -86
  524. package/dist/bkui-vue.cjs.js +0 -10327
  525. package/dist/bkui-vue.esm.js +0 -10283
  526. package/dist/bkui-vue.umd.js +0 -10330
  527. package/lib/form/common.d.ts +0 -3
  528. package/lib/styles/index.js +0 -1
@@ -5,96 +5,151 @@ declare const BkDatePicker: {
5
5
  $props: Partial<{
6
6
  placement: import("@popperjs/core").ComputedPlacement;
7
7
  options: Record<string, any>;
8
+ type: import("./interface").PickerTypeType;
9
+ disabled: boolean;
8
10
  placeholder: string;
11
+ fontSize: "large" | "normal" | "medium";
9
12
  open: boolean;
10
13
  multiple: boolean;
11
- disabled: boolean;
12
- type: import("./interface").PickerTypeType;
13
- extPopoverCls: string;
14
- readonly: boolean;
15
- editable: boolean;
16
14
  clearable: boolean;
17
- timePickerOptions: {};
18
- splitPanels: boolean;
19
- transfer: boolean;
20
- appendToBody: boolean;
21
- shortcuts: import("./interface").DatePickerShortcutsType;
22
- shortcutClose: boolean;
23
- fontSize: "large" | "normal" | "medium";
24
- upToNow: boolean;
25
- useShortcutText: boolean;
26
- shortcutSelectedIndex: number;
27
- footerSlotCls: string;
28
- allowCrossDay: boolean;
15
+ readonly: boolean;
29
16
  behavior: "normal" | "simplicity";
30
- }> & Omit<Readonly<{
31
- readonly type?: unknown;
32
- readonly extPopoverCls?: unknown;
33
- readonly format?: unknown;
34
- readonly readonly?: unknown;
35
- readonly disabled?: unknown;
36
- readonly editable?: unknown;
37
- readonly clearable?: unknown;
38
- readonly open?: unknown;
39
- readonly multiple?: unknown;
40
- readonly timePickerOptions?: unknown;
41
- readonly splitPanels?: unknown;
42
- readonly startDate?: unknown;
43
- readonly placeholder?: unknown;
44
- readonly placement?: unknown;
45
- readonly transfer?: unknown;
46
- readonly appendToBody?: unknown;
47
- readonly shortcuts?: unknown;
48
- readonly shortcutClose?: unknown;
49
- readonly modelValue?: unknown;
50
- readonly options?: unknown;
51
- readonly fontSize?: unknown;
52
- readonly upToNow?: unknown;
53
- readonly useShortcutText?: unknown;
54
- readonly shortcutSelectedIndex?: unknown;
55
- readonly footerSlotCls?: unknown;
56
- readonly allowCrossDay?: unknown;
57
- readonly behavior?: unknown;
58
- readonly disableDate?: unknown;
59
- } & {
60
- placement: import("@popperjs/core").ComputedPlacement;
61
- options: Record<string, any>;
62
- placeholder: string;
63
- multiple: boolean;
64
- disabled: boolean;
65
- type: import("./interface").PickerTypeType;
66
17
  extPopoverCls: string;
67
- readonly: boolean;
68
18
  editable: boolean;
69
- clearable: boolean;
70
19
  timePickerOptions: {};
71
20
  splitPanels: boolean;
72
21
  transfer: boolean;
73
22
  appendToBody: boolean;
74
23
  shortcuts: import("./interface").DatePickerShortcutsType;
75
24
  shortcutClose: boolean;
76
- fontSize: "large" | "normal" | "medium";
77
25
  upToNow: boolean;
78
26
  useShortcutText: boolean;
79
27
  shortcutSelectedIndex: number;
28
+ headerSlotCls: string;
80
29
  footerSlotCls: string;
81
30
  allowCrossDay: boolean;
82
- behavior: "normal" | "simplicity";
83
- } & {
84
- open?: boolean;
85
- modelValue?: import("./interface").DatePickerValueType;
86
- format?: string;
87
- startDate?: Date;
88
- disableDate?: import("./interface").DisableDateType;
89
- }> & {
31
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
32
+ readonly type: {
33
+ readonly type: import("vue").PropType<import("./interface").PickerTypeType>;
34
+ readonly default: "date";
35
+ readonly validator: (value: any) => boolean;
36
+ };
37
+ readonly extPopoverCls: {
38
+ readonly type: StringConstructor;
39
+ readonly default: "";
40
+ };
41
+ readonly format: StringConstructor;
42
+ readonly readonly: {
43
+ readonly type: BooleanConstructor;
44
+ readonly default: false;
45
+ };
46
+ readonly disabled: {
47
+ readonly type: BooleanConstructor;
48
+ readonly default: false;
49
+ };
50
+ readonly editable: {
51
+ readonly type: BooleanConstructor;
52
+ readonly default: true;
53
+ };
54
+ readonly clearable: {
55
+ readonly type: BooleanConstructor;
56
+ readonly default: true;
57
+ };
58
+ readonly open: {
59
+ readonly type: BooleanConstructor;
60
+ readonly default: any;
61
+ };
62
+ readonly multiple: {
63
+ readonly type: BooleanConstructor;
64
+ readonly default: false;
65
+ };
66
+ readonly timePickerOptions: {
67
+ readonly type: import("vue").PropType<Record<string, any>>;
68
+ readonly default: () => {};
69
+ };
70
+ readonly splitPanels: {
71
+ readonly type: BooleanConstructor;
72
+ readonly default: true;
73
+ };
74
+ readonly startDate: DateConstructor;
75
+ readonly placeholder: {
76
+ readonly type: StringConstructor;
77
+ readonly default: "";
78
+ };
79
+ readonly placement: {
80
+ readonly type: import("vue").PropType<import("@popperjs/core").ComputedPlacement>;
81
+ readonly default: "bottom-start";
82
+ readonly validator: (value: any) => boolean;
83
+ };
84
+ readonly transfer: {
85
+ readonly type: BooleanConstructor;
86
+ readonly default: false;
87
+ };
88
+ readonly appendToBody: {
89
+ readonly type: BooleanConstructor;
90
+ readonly default: false;
91
+ };
92
+ readonly shortcuts: {
93
+ readonly type: import("vue").PropType<import("./interface").DatePickerShortcutsType>;
94
+ readonly default: () => any[];
95
+ };
96
+ readonly shortcutClose: {
97
+ readonly type: BooleanConstructor;
98
+ readonly default: false;
99
+ };
100
+ readonly modelValue: {
101
+ readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
102
+ };
103
+ readonly value: {
104
+ readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
105
+ };
106
+ readonly options: {
107
+ readonly type: ObjectConstructor;
108
+ readonly default: () => {};
109
+ };
110
+ readonly fontSize: {
111
+ readonly type: import("vue").PropType<"large" | "normal" | "medium">;
112
+ readonly default: "normal";
113
+ };
114
+ readonly upToNow: {
115
+ readonly type: BooleanConstructor;
116
+ readonly default: false;
117
+ };
118
+ readonly useShortcutText: {
119
+ readonly type: BooleanConstructor;
120
+ readonly default: false;
121
+ };
122
+ readonly shortcutSelectedIndex: {
123
+ readonly type: NumberConstructor;
124
+ readonly default: -1;
125
+ };
126
+ readonly headerSlotCls: {
127
+ readonly type: StringConstructor;
128
+ readonly default: "";
129
+ };
130
+ readonly footerSlotCls: {
131
+ readonly type: StringConstructor;
132
+ readonly default: "";
133
+ };
134
+ readonly allowCrossDay: {
135
+ readonly type: BooleanConstructor;
136
+ readonly default: false;
137
+ };
138
+ readonly behavior: {
139
+ readonly type: import("vue").PropType<"normal" | "simplicity">;
140
+ readonly default: "normal";
141
+ readonly validator: (v: any) => boolean;
142
+ };
143
+ readonly disableDate: import("vue").PropType<import("./interface").DisableDateType>;
144
+ }>> & {
90
145
  onChange?: (...args: any[]) => any;
91
146
  onInput?: (...args: any[]) => any;
92
147
  "onUpdate:modelValue"?: (...args: any[]) => any;
93
- "onPick-success"?: (...args: any[]) => any;
94
148
  onClear?: (...args: any[]) => any;
149
+ "onPick-success"?: (...args: any[]) => any;
95
150
  "onOpen-change"?: (...args: any[]) => any;
96
151
  "onShortcut-change"?: (...args: any[]) => any;
97
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "options" | "placeholder" | "open" | "multiple" | "disabled" | "type" | "extPopoverCls" | "readonly" | "editable" | "clearable" | "timePickerOptions" | "splitPanels" | "transfer" | "appendToBody" | "shortcuts" | "shortcutClose" | "fontSize" | "upToNow" | "useShortcutText" | "shortcutSelectedIndex" | "footerSlotCls" | "allowCrossDay" | "behavior">;
152
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "options" | "type" | "disabled" | "placeholder" | "fontSize" | "open" | "multiple" | "clearable" | "readonly" | "behavior" | "extPopoverCls" | "editable" | "timePickerOptions" | "splitPanels" | "transfer" | "appendToBody" | "shortcuts" | "shortcutClose" | "upToNow" | "useShortcutText" | "shortcutSelectedIndex" | "headerSlotCls" | "footerSlotCls" | "allowCrossDay">;
98
153
  $attrs: {
99
154
  [x: string]: unknown;
100
155
  };
@@ -108,71 +163,125 @@ declare const BkDatePicker: {
108
163
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
109
164
  $emit: (event: "input" | "change" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change", ...args: any[]) => void;
110
165
  $el: any;
111
- $options: import("vue").ComponentOptionsBase<Readonly<{
112
- readonly type?: unknown;
113
- readonly extPopoverCls?: unknown;
114
- readonly format?: unknown;
115
- readonly readonly?: unknown;
116
- readonly disabled?: unknown;
117
- readonly editable?: unknown;
118
- readonly clearable?: unknown;
119
- readonly open?: unknown;
120
- readonly multiple?: unknown;
121
- readonly timePickerOptions?: unknown;
122
- readonly splitPanels?: unknown;
123
- readonly startDate?: unknown;
124
- readonly placeholder?: unknown;
125
- readonly placement?: unknown;
126
- readonly transfer?: unknown;
127
- readonly appendToBody?: unknown;
128
- readonly shortcuts?: unknown;
129
- readonly shortcutClose?: unknown;
130
- readonly modelValue?: unknown;
131
- readonly options?: unknown;
132
- readonly fontSize?: unknown;
133
- readonly upToNow?: unknown;
134
- readonly useShortcutText?: unknown;
135
- readonly shortcutSelectedIndex?: unknown;
136
- readonly footerSlotCls?: unknown;
137
- readonly allowCrossDay?: unknown;
138
- readonly behavior?: unknown;
139
- readonly disableDate?: unknown;
140
- } & {
141
- placement: import("@popperjs/core").ComputedPlacement;
142
- options: Record<string, any>;
143
- placeholder: string;
144
- multiple: boolean;
145
- disabled: boolean;
146
- type: import("./interface").PickerTypeType;
147
- extPopoverCls: string;
148
- readonly: boolean;
149
- editable: boolean;
150
- clearable: boolean;
151
- timePickerOptions: {};
152
- splitPanels: boolean;
153
- transfer: boolean;
154
- appendToBody: boolean;
155
- shortcuts: import("./interface").DatePickerShortcutsType;
156
- shortcutClose: boolean;
157
- fontSize: "large" | "normal" | "medium";
158
- upToNow: boolean;
159
- useShortcutText: boolean;
160
- shortcutSelectedIndex: number;
161
- footerSlotCls: string;
162
- allowCrossDay: boolean;
163
- behavior: "normal" | "simplicity";
164
- } & {
165
- open?: boolean;
166
- modelValue?: import("./interface").DatePickerValueType;
167
- format?: string;
168
- startDate?: Date;
169
- disableDate?: import("./interface").DisableDateType;
170
- }> & {
166
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
167
+ readonly type: {
168
+ readonly type: import("vue").PropType<import("./interface").PickerTypeType>;
169
+ readonly default: "date";
170
+ readonly validator: (value: any) => boolean;
171
+ };
172
+ readonly extPopoverCls: {
173
+ readonly type: StringConstructor;
174
+ readonly default: "";
175
+ };
176
+ readonly format: StringConstructor;
177
+ readonly readonly: {
178
+ readonly type: BooleanConstructor;
179
+ readonly default: false;
180
+ };
181
+ readonly disabled: {
182
+ readonly type: BooleanConstructor;
183
+ readonly default: false;
184
+ };
185
+ readonly editable: {
186
+ readonly type: BooleanConstructor;
187
+ readonly default: true;
188
+ };
189
+ readonly clearable: {
190
+ readonly type: BooleanConstructor;
191
+ readonly default: true;
192
+ };
193
+ readonly open: {
194
+ readonly type: BooleanConstructor;
195
+ readonly default: any;
196
+ };
197
+ readonly multiple: {
198
+ readonly type: BooleanConstructor;
199
+ readonly default: false;
200
+ };
201
+ readonly timePickerOptions: {
202
+ readonly type: import("vue").PropType<Record<string, any>>;
203
+ readonly default: () => {};
204
+ };
205
+ readonly splitPanels: {
206
+ readonly type: BooleanConstructor;
207
+ readonly default: true;
208
+ };
209
+ readonly startDate: DateConstructor;
210
+ readonly placeholder: {
211
+ readonly type: StringConstructor;
212
+ readonly default: "";
213
+ };
214
+ readonly placement: {
215
+ readonly type: import("vue").PropType<import("@popperjs/core").ComputedPlacement>;
216
+ readonly default: "bottom-start";
217
+ readonly validator: (value: any) => boolean;
218
+ };
219
+ readonly transfer: {
220
+ readonly type: BooleanConstructor;
221
+ readonly default: false;
222
+ };
223
+ readonly appendToBody: {
224
+ readonly type: BooleanConstructor;
225
+ readonly default: false;
226
+ };
227
+ readonly shortcuts: {
228
+ readonly type: import("vue").PropType<import("./interface").DatePickerShortcutsType>;
229
+ readonly default: () => any[];
230
+ };
231
+ readonly shortcutClose: {
232
+ readonly type: BooleanConstructor;
233
+ readonly default: false;
234
+ };
235
+ readonly modelValue: {
236
+ readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
237
+ };
238
+ readonly value: {
239
+ readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
240
+ };
241
+ readonly options: {
242
+ readonly type: ObjectConstructor;
243
+ readonly default: () => {};
244
+ };
245
+ readonly fontSize: {
246
+ readonly type: import("vue").PropType<"large" | "normal" | "medium">;
247
+ readonly default: "normal";
248
+ };
249
+ readonly upToNow: {
250
+ readonly type: BooleanConstructor;
251
+ readonly default: false;
252
+ };
253
+ readonly useShortcutText: {
254
+ readonly type: BooleanConstructor;
255
+ readonly default: false;
256
+ };
257
+ readonly shortcutSelectedIndex: {
258
+ readonly type: NumberConstructor;
259
+ readonly default: -1;
260
+ };
261
+ readonly headerSlotCls: {
262
+ readonly type: StringConstructor;
263
+ readonly default: "";
264
+ };
265
+ readonly footerSlotCls: {
266
+ readonly type: StringConstructor;
267
+ readonly default: "";
268
+ };
269
+ readonly allowCrossDay: {
270
+ readonly type: BooleanConstructor;
271
+ readonly default: false;
272
+ };
273
+ readonly behavior: {
274
+ readonly type: import("vue").PropType<"normal" | "simplicity">;
275
+ readonly default: "normal";
276
+ readonly validator: (v: any) => boolean;
277
+ };
278
+ readonly disableDate: import("vue").PropType<import("./interface").DisableDateType>;
279
+ }>> & {
171
280
  onChange?: (...args: any[]) => any;
172
281
  onInput?: (...args: any[]) => any;
173
282
  "onUpdate:modelValue"?: (...args: any[]) => any;
174
- "onPick-success"?: (...args: any[]) => any;
175
283
  onClear?: (...args: any[]) => any;
284
+ "onPick-success"?: (...args: any[]) => any;
176
285
  "onOpen-change"?: (...args: any[]) => any;
177
286
  "onShortcut-change"?: (...args: any[]) => any;
178
287
  }, {
@@ -182,10 +291,12 @@ declare const BkDatePicker: {
182
291
  visualValue: import("vue").ComputedRef<any>;
183
292
  displayValue: import("vue").ComputedRef<any>;
184
293
  isConfirm: import("vue").ComputedRef<boolean>;
294
+ hasHeader: import("vue").ComputedRef<boolean>;
295
+ hasFooter: import("vue").ComputedRef<boolean>;
296
+ hasShortcuts: import("vue").ComputedRef<boolean>;
185
297
  fontSizeCls: import("vue").ComputedRef<string>;
186
298
  longWidthCls: import("vue").ComputedRef<string>;
187
299
  localReadonly: import("vue").ComputedRef<boolean>;
188
- hasFooter: import("vue").ComputedRef<boolean>;
189
300
  allowCrossDayProp: import("vue").ComputedRef<boolean>;
190
301
  pickerDropdownRef: any;
191
302
  inputRef: any;
@@ -194,7 +305,7 @@ declare const BkDatePicker: {
194
305
  handleClose: (e?: Event) => boolean;
195
306
  handleIconClick: () => void;
196
307
  handleInputMouseenter: () => void;
197
- handleInputMouseleave: (e: any) => void;
308
+ handleInputMouseleave: (_e: any) => void;
198
309
  handleFocus: (e: any) => void;
199
310
  handleBlur: (e: any) => void;
200
311
  handleKeydown: (e: KeyboardEvent) => void;
@@ -202,15 +313,16 @@ declare const BkDatePicker: {
202
313
  handleClear: () => void;
203
314
  handleTransferClick: () => void;
204
315
  onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
316
+ onPickSuccess: () => void;
205
317
  showClose: import("vue").Ref<boolean>;
206
318
  visible: import("vue").Ref<boolean>;
207
- internalValue: any;
319
+ internalValue: import("vue").Ref<any>;
208
320
  disableClickOutSide: import("vue").Ref<boolean>;
209
321
  disableCloseUnderTransfer: import("vue").Ref<boolean>;
210
322
  selectionMode: import("vue").Ref<import("./interface").SelectionModeType>;
211
323
  forceInputRerender: import("vue").Ref<number>;
212
324
  isFocused: import("vue").Ref<boolean>;
213
- focusedDate: any;
325
+ focusedDate: import("vue").Ref<any>;
214
326
  focusedTime: import("vue").Ref<{
215
327
  column: number;
216
328
  picker: number;
@@ -219,33 +331,34 @@ declare const BkDatePicker: {
219
331
  }>;
220
332
  internalFocus: import("vue").Ref<boolean>;
221
333
  timeEnterMode: import("vue").Ref<boolean>;
222
- shortcut: any;
334
+ shortcut: import("vue").Ref<any>;
223
335
  onSelectionModeChange: import("vue").Ref<(_type: any) => import("./interface").SelectionModeType>;
224
336
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "change" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change")[], string, {
225
337
  placement: import("@popperjs/core").ComputedPlacement;
226
338
  options: Record<string, any>;
339
+ type: import("./interface").PickerTypeType;
340
+ disabled: boolean;
227
341
  placeholder: string;
342
+ fontSize: "large" | "normal" | "medium";
228
343
  open: boolean;
229
344
  multiple: boolean;
230
- disabled: boolean;
231
- type: import("./interface").PickerTypeType;
232
- extPopoverCls: string;
345
+ clearable: boolean;
233
346
  readonly: boolean;
347
+ behavior: "normal" | "simplicity";
348
+ extPopoverCls: string;
234
349
  editable: boolean;
235
- clearable: boolean;
236
350
  timePickerOptions: {};
237
351
  splitPanels: boolean;
238
352
  transfer: boolean;
239
353
  appendToBody: boolean;
240
354
  shortcuts: import("./interface").DatePickerShortcutsType;
241
355
  shortcutClose: boolean;
242
- fontSize: "large" | "normal" | "medium";
243
356
  upToNow: boolean;
244
357
  useShortcutText: boolean;
245
358
  shortcutSelectedIndex: number;
359
+ headerSlotCls: string;
246
360
  footerSlotCls: string;
247
361
  allowCrossDay: boolean;
248
- behavior: "normal" | "simplicity";
249
362
  }> & {
250
363
  beforeCreate?: (() => void) | (() => void)[];
251
364
  created?: (() => void) | (() => void)[];
@@ -266,71 +379,125 @@ declare const BkDatePicker: {
266
379
  $forceUpdate: () => void;
267
380
  $nextTick: typeof import("vue").nextTick;
268
381
  $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
269
- } & Readonly<{
270
- readonly type?: unknown;
271
- readonly extPopoverCls?: unknown;
272
- readonly format?: unknown;
273
- readonly readonly?: unknown;
274
- readonly disabled?: unknown;
275
- readonly editable?: unknown;
276
- readonly clearable?: unknown;
277
- readonly open?: unknown;
278
- readonly multiple?: unknown;
279
- readonly timePickerOptions?: unknown;
280
- readonly splitPanels?: unknown;
281
- readonly startDate?: unknown;
282
- readonly placeholder?: unknown;
283
- readonly placement?: unknown;
284
- readonly transfer?: unknown;
285
- readonly appendToBody?: unknown;
286
- readonly shortcuts?: unknown;
287
- readonly shortcutClose?: unknown;
288
- readonly modelValue?: unknown;
289
- readonly options?: unknown;
290
- readonly fontSize?: unknown;
291
- readonly upToNow?: unknown;
292
- readonly useShortcutText?: unknown;
293
- readonly shortcutSelectedIndex?: unknown;
294
- readonly footerSlotCls?: unknown;
295
- readonly allowCrossDay?: unknown;
296
- readonly behavior?: unknown;
297
- readonly disableDate?: unknown;
298
- } & {
299
- placement: import("@popperjs/core").ComputedPlacement;
300
- options: Record<string, any>;
301
- placeholder: string;
302
- multiple: boolean;
303
- disabled: boolean;
304
- type: import("./interface").PickerTypeType;
305
- extPopoverCls: string;
306
- readonly: boolean;
307
- editable: boolean;
308
- clearable: boolean;
309
- timePickerOptions: {};
310
- splitPanels: boolean;
311
- transfer: boolean;
312
- appendToBody: boolean;
313
- shortcuts: import("./interface").DatePickerShortcutsType;
314
- shortcutClose: boolean;
315
- fontSize: "large" | "normal" | "medium";
316
- upToNow: boolean;
317
- useShortcutText: boolean;
318
- shortcutSelectedIndex: number;
319
- footerSlotCls: string;
320
- allowCrossDay: boolean;
321
- behavior: "normal" | "simplicity";
322
- } & {
323
- open?: boolean;
324
- modelValue?: import("./interface").DatePickerValueType;
325
- format?: string;
326
- startDate?: Date;
327
- disableDate?: import("./interface").DisableDateType;
328
- }> & {
382
+ } & Readonly<import("vue").ExtractPropTypes<{
383
+ readonly type: {
384
+ readonly type: import("vue").PropType<import("./interface").PickerTypeType>;
385
+ readonly default: "date";
386
+ readonly validator: (value: any) => boolean;
387
+ };
388
+ readonly extPopoverCls: {
389
+ readonly type: StringConstructor;
390
+ readonly default: "";
391
+ };
392
+ readonly format: StringConstructor;
393
+ readonly readonly: {
394
+ readonly type: BooleanConstructor;
395
+ readonly default: false;
396
+ };
397
+ readonly disabled: {
398
+ readonly type: BooleanConstructor;
399
+ readonly default: false;
400
+ };
401
+ readonly editable: {
402
+ readonly type: BooleanConstructor;
403
+ readonly default: true;
404
+ };
405
+ readonly clearable: {
406
+ readonly type: BooleanConstructor;
407
+ readonly default: true;
408
+ };
409
+ readonly open: {
410
+ readonly type: BooleanConstructor;
411
+ readonly default: any;
412
+ };
413
+ readonly multiple: {
414
+ readonly type: BooleanConstructor;
415
+ readonly default: false;
416
+ };
417
+ readonly timePickerOptions: {
418
+ readonly type: import("vue").PropType<Record<string, any>>;
419
+ readonly default: () => {};
420
+ };
421
+ readonly splitPanels: {
422
+ readonly type: BooleanConstructor;
423
+ readonly default: true;
424
+ };
425
+ readonly startDate: DateConstructor;
426
+ readonly placeholder: {
427
+ readonly type: StringConstructor;
428
+ readonly default: "";
429
+ };
430
+ readonly placement: {
431
+ readonly type: import("vue").PropType<import("@popperjs/core").ComputedPlacement>;
432
+ readonly default: "bottom-start";
433
+ readonly validator: (value: any) => boolean;
434
+ };
435
+ readonly transfer: {
436
+ readonly type: BooleanConstructor;
437
+ readonly default: false;
438
+ };
439
+ readonly appendToBody: {
440
+ readonly type: BooleanConstructor;
441
+ readonly default: false;
442
+ };
443
+ readonly shortcuts: {
444
+ readonly type: import("vue").PropType<import("./interface").DatePickerShortcutsType>;
445
+ readonly default: () => any[];
446
+ };
447
+ readonly shortcutClose: {
448
+ readonly type: BooleanConstructor;
449
+ readonly default: false;
450
+ };
451
+ readonly modelValue: {
452
+ readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
453
+ };
454
+ readonly value: {
455
+ readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
456
+ };
457
+ readonly options: {
458
+ readonly type: ObjectConstructor;
459
+ readonly default: () => {};
460
+ };
461
+ readonly fontSize: {
462
+ readonly type: import("vue").PropType<"large" | "normal" | "medium">;
463
+ readonly default: "normal";
464
+ };
465
+ readonly upToNow: {
466
+ readonly type: BooleanConstructor;
467
+ readonly default: false;
468
+ };
469
+ readonly useShortcutText: {
470
+ readonly type: BooleanConstructor;
471
+ readonly default: false;
472
+ };
473
+ readonly shortcutSelectedIndex: {
474
+ readonly type: NumberConstructor;
475
+ readonly default: -1;
476
+ };
477
+ readonly headerSlotCls: {
478
+ readonly type: StringConstructor;
479
+ readonly default: "";
480
+ };
481
+ readonly footerSlotCls: {
482
+ readonly type: StringConstructor;
483
+ readonly default: "";
484
+ };
485
+ readonly allowCrossDay: {
486
+ readonly type: BooleanConstructor;
487
+ readonly default: false;
488
+ };
489
+ readonly behavior: {
490
+ readonly type: import("vue").PropType<"normal" | "simplicity">;
491
+ readonly default: "normal";
492
+ readonly validator: (v: any) => boolean;
493
+ };
494
+ readonly disableDate: import("vue").PropType<import("./interface").DisableDateType>;
495
+ }>> & {
329
496
  onChange?: (...args: any[]) => any;
330
497
  onInput?: (...args: any[]) => any;
331
498
  "onUpdate:modelValue"?: (...args: any[]) => any;
332
- "onPick-success"?: (...args: any[]) => any;
333
499
  onClear?: (...args: any[]) => any;
500
+ "onPick-success"?: (...args: any[]) => any;
334
501
  "onOpen-change"?: (...args: any[]) => any;
335
502
  "onShortcut-change"?: (...args: any[]) => any;
336
503
  } & import("vue").ShallowUnwrapRef<{
@@ -340,10 +507,12 @@ declare const BkDatePicker: {
340
507
  visualValue: import("vue").ComputedRef<any>;
341
508
  displayValue: import("vue").ComputedRef<any>;
342
509
  isConfirm: import("vue").ComputedRef<boolean>;
510
+ hasHeader: import("vue").ComputedRef<boolean>;
511
+ hasFooter: import("vue").ComputedRef<boolean>;
512
+ hasShortcuts: import("vue").ComputedRef<boolean>;
343
513
  fontSizeCls: import("vue").ComputedRef<string>;
344
514
  longWidthCls: import("vue").ComputedRef<string>;
345
515
  localReadonly: import("vue").ComputedRef<boolean>;
346
- hasFooter: import("vue").ComputedRef<boolean>;
347
516
  allowCrossDayProp: import("vue").ComputedRef<boolean>;
348
517
  pickerDropdownRef: any;
349
518
  inputRef: any;
@@ -352,7 +521,7 @@ declare const BkDatePicker: {
352
521
  handleClose: (e?: Event) => boolean;
353
522
  handleIconClick: () => void;
354
523
  handleInputMouseenter: () => void;
355
- handleInputMouseleave: (e: any) => void;
524
+ handleInputMouseleave: (_e: any) => void;
356
525
  handleFocus: (e: any) => void;
357
526
  handleBlur: (e: any) => void;
358
527
  handleKeydown: (e: KeyboardEvent) => void;
@@ -360,15 +529,16 @@ declare const BkDatePicker: {
360
529
  handleClear: () => void;
361
530
  handleTransferClick: () => void;
362
531
  onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
532
+ onPickSuccess: () => void;
363
533
  showClose: import("vue").Ref<boolean>;
364
534
  visible: import("vue").Ref<boolean>;
365
- internalValue: any;
535
+ internalValue: import("vue").Ref<any>;
366
536
  disableClickOutSide: import("vue").Ref<boolean>;
367
537
  disableCloseUnderTransfer: import("vue").Ref<boolean>;
368
538
  selectionMode: import("vue").Ref<import("./interface").SelectionModeType>;
369
539
  forceInputRerender: import("vue").Ref<number>;
370
540
  isFocused: import("vue").Ref<boolean>;
371
- focusedDate: any;
541
+ focusedDate: import("vue").Ref<any>;
372
542
  focusedTime: import("vue").Ref<{
373
543
  column: number;
374
544
  picker: number;
@@ -377,77 +547,131 @@ declare const BkDatePicker: {
377
547
  }>;
378
548
  internalFocus: import("vue").Ref<boolean>;
379
549
  timeEnterMode: import("vue").Ref<boolean>;
380
- shortcut: any;
550
+ shortcut: import("vue").Ref<any>;
381
551
  onSelectionModeChange: import("vue").Ref<(_type: any) => import("./interface").SelectionModeType>;
382
552
  }> & {} & {} & import("vue").ComponentCustomProperties;
383
553
  __isFragment?: never;
384
554
  __isTeleport?: never;
385
555
  __isSuspense?: never;
386
- } & import("vue").ComponentOptionsBase<Readonly<{
387
- readonly type?: unknown;
388
- readonly extPopoverCls?: unknown;
389
- readonly format?: unknown;
390
- readonly readonly?: unknown;
391
- readonly disabled?: unknown;
392
- readonly editable?: unknown;
393
- readonly clearable?: unknown;
394
- readonly open?: unknown;
395
- readonly multiple?: unknown;
396
- readonly timePickerOptions?: unknown;
397
- readonly splitPanels?: unknown;
398
- readonly startDate?: unknown;
399
- readonly placeholder?: unknown;
400
- readonly placement?: unknown;
401
- readonly transfer?: unknown;
402
- readonly appendToBody?: unknown;
403
- readonly shortcuts?: unknown;
404
- readonly shortcutClose?: unknown;
405
- readonly modelValue?: unknown;
406
- readonly options?: unknown;
407
- readonly fontSize?: unknown;
408
- readonly upToNow?: unknown;
409
- readonly useShortcutText?: unknown;
410
- readonly shortcutSelectedIndex?: unknown;
411
- readonly footerSlotCls?: unknown;
412
- readonly allowCrossDay?: unknown;
413
- readonly behavior?: unknown;
414
- readonly disableDate?: unknown;
415
- } & {
416
- placement: import("@popperjs/core").ComputedPlacement;
417
- options: Record<string, any>;
418
- placeholder: string;
419
- multiple: boolean;
420
- disabled: boolean;
421
- type: import("./interface").PickerTypeType;
422
- extPopoverCls: string;
423
- readonly: boolean;
424
- editable: boolean;
425
- clearable: boolean;
426
- timePickerOptions: {};
427
- splitPanels: boolean;
428
- transfer: boolean;
429
- appendToBody: boolean;
430
- shortcuts: import("./interface").DatePickerShortcutsType;
431
- shortcutClose: boolean;
432
- fontSize: "large" | "normal" | "medium";
433
- upToNow: boolean;
434
- useShortcutText: boolean;
435
- shortcutSelectedIndex: number;
436
- footerSlotCls: string;
437
- allowCrossDay: boolean;
438
- behavior: "normal" | "simplicity";
439
- } & {
440
- open?: boolean;
441
- modelValue?: import("./interface").DatePickerValueType;
442
- format?: string;
443
- startDate?: Date;
444
- disableDate?: import("./interface").DisableDateType;
445
- }> & {
556
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
557
+ readonly type: {
558
+ readonly type: import("vue").PropType<import("./interface").PickerTypeType>;
559
+ readonly default: "date";
560
+ readonly validator: (value: any) => boolean;
561
+ };
562
+ readonly extPopoverCls: {
563
+ readonly type: StringConstructor;
564
+ readonly default: "";
565
+ };
566
+ readonly format: StringConstructor;
567
+ readonly readonly: {
568
+ readonly type: BooleanConstructor;
569
+ readonly default: false;
570
+ };
571
+ readonly disabled: {
572
+ readonly type: BooleanConstructor;
573
+ readonly default: false;
574
+ };
575
+ readonly editable: {
576
+ readonly type: BooleanConstructor;
577
+ readonly default: true;
578
+ };
579
+ readonly clearable: {
580
+ readonly type: BooleanConstructor;
581
+ readonly default: true;
582
+ };
583
+ readonly open: {
584
+ readonly type: BooleanConstructor;
585
+ readonly default: any;
586
+ };
587
+ readonly multiple: {
588
+ readonly type: BooleanConstructor;
589
+ readonly default: false;
590
+ };
591
+ readonly timePickerOptions: {
592
+ readonly type: import("vue").PropType<Record<string, any>>;
593
+ readonly default: () => {};
594
+ };
595
+ readonly splitPanels: {
596
+ readonly type: BooleanConstructor;
597
+ readonly default: true;
598
+ };
599
+ readonly startDate: DateConstructor;
600
+ readonly placeholder: {
601
+ readonly type: StringConstructor;
602
+ readonly default: "";
603
+ };
604
+ readonly placement: {
605
+ readonly type: import("vue").PropType<import("@popperjs/core").ComputedPlacement>;
606
+ readonly default: "bottom-start";
607
+ readonly validator: (value: any) => boolean;
608
+ };
609
+ readonly transfer: {
610
+ readonly type: BooleanConstructor;
611
+ readonly default: false;
612
+ };
613
+ readonly appendToBody: {
614
+ readonly type: BooleanConstructor;
615
+ readonly default: false;
616
+ };
617
+ readonly shortcuts: {
618
+ readonly type: import("vue").PropType<import("./interface").DatePickerShortcutsType>;
619
+ readonly default: () => any[];
620
+ };
621
+ readonly shortcutClose: {
622
+ readonly type: BooleanConstructor;
623
+ readonly default: false;
624
+ };
625
+ readonly modelValue: {
626
+ readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
627
+ };
628
+ readonly value: {
629
+ readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
630
+ };
631
+ readonly options: {
632
+ readonly type: ObjectConstructor;
633
+ readonly default: () => {};
634
+ };
635
+ readonly fontSize: {
636
+ readonly type: import("vue").PropType<"large" | "normal" | "medium">;
637
+ readonly default: "normal";
638
+ };
639
+ readonly upToNow: {
640
+ readonly type: BooleanConstructor;
641
+ readonly default: false;
642
+ };
643
+ readonly useShortcutText: {
644
+ readonly type: BooleanConstructor;
645
+ readonly default: false;
646
+ };
647
+ readonly shortcutSelectedIndex: {
648
+ readonly type: NumberConstructor;
649
+ readonly default: -1;
650
+ };
651
+ readonly headerSlotCls: {
652
+ readonly type: StringConstructor;
653
+ readonly default: "";
654
+ };
655
+ readonly footerSlotCls: {
656
+ readonly type: StringConstructor;
657
+ readonly default: "";
658
+ };
659
+ readonly allowCrossDay: {
660
+ readonly type: BooleanConstructor;
661
+ readonly default: false;
662
+ };
663
+ readonly behavior: {
664
+ readonly type: import("vue").PropType<"normal" | "simplicity">;
665
+ readonly default: "normal";
666
+ readonly validator: (v: any) => boolean;
667
+ };
668
+ readonly disableDate: import("vue").PropType<import("./interface").DisableDateType>;
669
+ }>> & {
446
670
  onChange?: (...args: any[]) => any;
447
671
  onInput?: (...args: any[]) => any;
448
672
  "onUpdate:modelValue"?: (...args: any[]) => any;
449
- "onPick-success"?: (...args: any[]) => any;
450
673
  onClear?: (...args: any[]) => any;
674
+ "onPick-success"?: (...args: any[]) => any;
451
675
  "onOpen-change"?: (...args: any[]) => any;
452
676
  "onShortcut-change"?: (...args: any[]) => any;
453
677
  }, {
@@ -457,10 +681,12 @@ declare const BkDatePicker: {
457
681
  visualValue: import("vue").ComputedRef<any>;
458
682
  displayValue: import("vue").ComputedRef<any>;
459
683
  isConfirm: import("vue").ComputedRef<boolean>;
684
+ hasHeader: import("vue").ComputedRef<boolean>;
685
+ hasFooter: import("vue").ComputedRef<boolean>;
686
+ hasShortcuts: import("vue").ComputedRef<boolean>;
460
687
  fontSizeCls: import("vue").ComputedRef<string>;
461
688
  longWidthCls: import("vue").ComputedRef<string>;
462
689
  localReadonly: import("vue").ComputedRef<boolean>;
463
- hasFooter: import("vue").ComputedRef<boolean>;
464
690
  allowCrossDayProp: import("vue").ComputedRef<boolean>;
465
691
  pickerDropdownRef: any;
466
692
  inputRef: any;
@@ -469,7 +695,7 @@ declare const BkDatePicker: {
469
695
  handleClose: (e?: Event) => boolean;
470
696
  handleIconClick: () => void;
471
697
  handleInputMouseenter: () => void;
472
- handleInputMouseleave: (e: any) => void;
698
+ handleInputMouseleave: (_e: any) => void;
473
699
  handleFocus: (e: any) => void;
474
700
  handleBlur: (e: any) => void;
475
701
  handleKeydown: (e: KeyboardEvent) => void;
@@ -477,15 +703,16 @@ declare const BkDatePicker: {
477
703
  handleClear: () => void;
478
704
  handleTransferClick: () => void;
479
705
  onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
706
+ onPickSuccess: () => void;
480
707
  showClose: import("vue").Ref<boolean>;
481
708
  visible: import("vue").Ref<boolean>;
482
- internalValue: any;
709
+ internalValue: import("vue").Ref<any>;
483
710
  disableClickOutSide: import("vue").Ref<boolean>;
484
711
  disableCloseUnderTransfer: import("vue").Ref<boolean>;
485
712
  selectionMode: import("vue").Ref<import("./interface").SelectionModeType>;
486
713
  forceInputRerender: import("vue").Ref<number>;
487
714
  isFocused: import("vue").Ref<boolean>;
488
- focusedDate: any;
715
+ focusedDate: import("vue").Ref<any>;
489
716
  focusedTime: import("vue").Ref<{
490
717
  column: number;
491
718
  picker: number;
@@ -494,32 +721,33 @@ declare const BkDatePicker: {
494
721
  }>;
495
722
  internalFocus: import("vue").Ref<boolean>;
496
723
  timeEnterMode: import("vue").Ref<boolean>;
497
- shortcut: any;
724
+ shortcut: import("vue").Ref<any>;
498
725
  onSelectionModeChange: import("vue").Ref<(_type: any) => import("./interface").SelectionModeType>;
499
726
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "change" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change")[], "input" | "change" | "clear" | "update:modelValue" | "pick-success" | "open-change" | "shortcut-change", {
500
727
  placement: import("@popperjs/core").ComputedPlacement;
501
728
  options: Record<string, any>;
729
+ type: import("./interface").PickerTypeType;
730
+ disabled: boolean;
502
731
  placeholder: string;
732
+ fontSize: "large" | "normal" | "medium";
503
733
  open: boolean;
504
734
  multiple: boolean;
505
- disabled: boolean;
506
- type: import("./interface").PickerTypeType;
507
- extPopoverCls: string;
735
+ clearable: boolean;
508
736
  readonly: boolean;
737
+ behavior: "normal" | "simplicity";
738
+ extPopoverCls: string;
509
739
  editable: boolean;
510
- clearable: boolean;
511
740
  timePickerOptions: {};
512
741
  splitPanels: boolean;
513
742
  transfer: boolean;
514
743
  appendToBody: boolean;
515
744
  shortcuts: import("./interface").DatePickerShortcutsType;
516
745
  shortcutClose: boolean;
517
- fontSize: "large" | "normal" | "medium";
518
746
  upToNow: boolean;
519
747
  useShortcutText: boolean;
520
748
  shortcutSelectedIndex: number;
749
+ headerSlotCls: string;
521
750
  footerSlotCls: string;
522
751
  allowCrossDay: boolean;
523
- behavior: "normal" | "simplicity";
524
752
  }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
525
753
  export default BkDatePicker;