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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (536) hide show
  1. package/README.md +7 -3
  2. package/dist/index.cjs.js +171 -0
  3. package/dist/index.esm.js +32035 -0
  4. package/dist/index.umd.js +171 -0
  5. package/dist/style.css +1 -4328
  6. package/dist/style.variable.css +1 -0
  7. package/lib/affix/affix.css +3 -0
  8. package/lib/affix/affix.d.ts +47 -0
  9. package/lib/affix/affix.less +5 -0
  10. package/lib/affix/affix.variable.css +116 -0
  11. package/lib/affix/index.d.ts +143 -0
  12. package/lib/affix/index.js +1 -0
  13. package/lib/alert/alert.css +5 -3
  14. package/lib/alert/alert.d.ts +24 -15
  15. package/lib/alert/alert.less +7 -3
  16. package/lib/alert/alert.variable.css +35 -6
  17. package/lib/alert/index.d.ts +96 -60
  18. package/lib/alert/index.js +1 -1
  19. package/lib/animate-number/animate-number.d.ts +12 -7
  20. package/lib/animate-number/index.d.ts +48 -28
  21. package/lib/animate-number/index.js +1 -1
  22. package/lib/backtop/backtop.d.ts +28 -14
  23. package/lib/backtop/backtop.variable.css +30 -3
  24. package/lib/backtop/index.d.ts +111 -55
  25. package/lib/backtop/index.js +1 -1
  26. package/lib/badge/badge.css +5 -5
  27. package/lib/badge/badge.d.ts +64 -22
  28. package/lib/badge/badge.less +5 -6
  29. package/lib/badge/badge.variable.css +35 -8
  30. package/lib/badge/index.d.ts +202 -84
  31. package/lib/badge/index.js +1 -1
  32. package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
  33. package/lib/breadcrumb/breadcrumb.css +51 -0
  34. package/lib/breadcrumb/breadcrumb.d.ts +22 -14
  35. package/lib/breadcrumb/breadcrumb.variable.css +81 -3
  36. package/lib/breadcrumb/index.d.ts +100 -64
  37. package/lib/breadcrumb/index.js +1 -1
  38. package/lib/button/button-group.d.ts +3 -5
  39. package/lib/button/button.css +92 -45
  40. package/lib/button/button.d.ts +76 -26
  41. package/lib/button/button.less +88 -47
  42. package/lib/button/button.variable.css +122 -48
  43. package/lib/button/index.d.ts +191 -102
  44. package/lib/button/index.js +1 -1
  45. package/lib/card/card.css +96 -1
  46. package/lib/card/card.d.ts +74 -18
  47. package/lib/card/card.less +50 -2
  48. package/lib/card/card.variable.css +126 -4
  49. package/lib/card/index.d.ts +225 -69
  50. package/lib/card/index.js +1 -1
  51. package/lib/cascader/cascader-panel.d.ts +50 -0
  52. package/lib/cascader/cascader.css +137 -0
  53. package/lib/cascader/cascader.d.ts +276 -0
  54. package/lib/cascader/cascader.less +154 -0
  55. package/lib/cascader/cascader.variable.css +250 -0
  56. package/lib/cascader/index.d.ts +749 -0
  57. package/lib/cascader/index.js +1 -0
  58. package/lib/cascader/interface.d.ts +47 -0
  59. package/lib/cascader/node.d.ts +25 -0
  60. package/lib/cascader/store.d.ts +19 -0
  61. package/lib/checkbox/checkbox-group.d.ts +13 -9
  62. package/lib/checkbox/checkbox.css +33 -6
  63. package/lib/checkbox/checkbox.d.ts +43 -32
  64. package/lib/checkbox/checkbox.less +44 -6
  65. package/lib/checkbox/checkbox.variable.css +63 -9
  66. package/lib/checkbox/common.d.ts +3 -3
  67. package/lib/checkbox/index.d.ts +150 -104
  68. package/lib/checkbox/index.js +1 -1
  69. package/lib/checkbox/type.d.ts +3 -7
  70. package/lib/code-diff/code-diff.css +186 -0
  71. package/lib/code-diff/code-diff.d.ts +80 -0
  72. package/lib/code-diff/code-diff.less +238 -0
  73. package/lib/code-diff/code-diff.variable.css +299 -0
  74. package/lib/code-diff/index.d.ts +154 -0
  75. package/lib/code-diff/index.js +1 -0
  76. package/lib/collapse/collapse-panel.d.ts +75 -0
  77. package/lib/collapse/collapse.css +28 -12
  78. package/lib/collapse/collapse.d.ts +34 -43
  79. package/lib/collapse/collapse.less +54 -29
  80. package/lib/collapse/collapse.variable.css +141 -12
  81. package/lib/collapse/index.d.ts +212 -76
  82. package/lib/collapse/index.js +1 -1
  83. package/lib/collapse/props.d.ts +123 -0
  84. package/lib/collapse/utils.d.ts +11 -0
  85. package/lib/color-picker/color-picker.css +275 -0
  86. package/lib/color-picker/color-picker.d.ts +128 -0
  87. package/lib/color-picker/color-picker.less +325 -0
  88. package/lib/color-picker/color-picker.variable.css +388 -0
  89. package/lib/color-picker/index.d.ts +231 -0
  90. package/lib/color-picker/index.js +1 -0
  91. package/lib/color-picker/utils.d.ts +37 -0
  92. package/lib/components.d.ts +26 -6
  93. package/lib/components.js +1 -0
  94. package/lib/container/col.d.ts +51 -0
  95. package/lib/container/container.css +91 -0
  96. package/lib/container/container.d.ts +83 -0
  97. package/lib/container/container.less +20 -0
  98. package/lib/container/container.variable.css +204 -0
  99. package/lib/container/index.d.ts +223 -0
  100. package/lib/container/index.js +1 -0
  101. package/lib/container/row.d.ts +4 -0
  102. package/lib/date-picker/date-picker.css +3 -2
  103. package/lib/date-picker/date-picker.d.ts +92 -137
  104. package/lib/date-picker/date-picker.less +5 -2
  105. package/lib/date-picker/date-picker.variable.css +33 -5
  106. package/lib/date-picker/index.d.ts +504 -276
  107. package/lib/date-picker/index.js +1 -1
  108. package/lib/date-picker/interface.d.ts +1 -1
  109. package/lib/date-picker/props.d.ts +118 -0
  110. package/lib/date-picker/utils.d.ts +1 -1
  111. package/lib/dialog/dialog.css +78 -21
  112. package/lib/dialog/dialog.d.ts +285 -52
  113. package/lib/dialog/dialog.less +56 -22
  114. package/lib/dialog/dialog.variable.css +78 -21
  115. package/lib/dialog/index.d.ts +665 -115
  116. package/lib/dialog/index.js +1 -1
  117. package/lib/dialog/props.d.ts +132 -0
  118. package/lib/directives/clickoutside.d.ts +3 -23
  119. package/lib/directives/index.js +2 -15
  120. package/lib/directives/index.js.LICENSE.txt +14 -0
  121. package/lib/directives/tooltips.d.ts +1 -1
  122. package/lib/dist.index.js +1 -0
  123. package/lib/divider/divider.d.ts +21 -13
  124. package/lib/divider/divider.variable.css +30 -3
  125. package/lib/divider/index.d.ts +84 -52
  126. package/lib/divider/index.js +1 -1
  127. package/lib/divider/props.d.ts +21 -0
  128. package/lib/dropdown/const.d.ts +4 -0
  129. package/lib/dropdown/dropdown-item.d.ts +6 -5
  130. package/lib/dropdown/dropdown-menu.d.ts +6 -5
  131. package/lib/dropdown/dropdown.css +12 -5
  132. package/lib/dropdown/dropdown.d.ts +59 -16
  133. package/lib/dropdown/dropdown.less +48 -34
  134. package/lib/dropdown/dropdown.variable.css +42 -8
  135. package/lib/dropdown/index.d.ts +168 -75
  136. package/lib/dropdown/index.js +1 -1
  137. package/lib/exception/exception.d.ts +11 -9
  138. package/lib/exception/exception.variable.css +30 -3
  139. package/lib/exception/index.d.ts +44 -36
  140. package/lib/exception/index.js +1 -1
  141. package/lib/fixed-navbar/fixed-navbar.d.ts +29 -9
  142. package/lib/fixed-navbar/fixed-navbar.variable.css +30 -3
  143. package/lib/fixed-navbar/index.d.ts +96 -37
  144. package/lib/fixed-navbar/index.js +1 -1
  145. package/lib/form/compose-form-item.d.ts +16 -0
  146. package/lib/form/form-item.d.ts +61 -45
  147. package/lib/form/form.css +96 -10
  148. package/lib/form/form.d.ts +45 -40
  149. package/lib/form/form.less +136 -34
  150. package/lib/form/form.variable.css +209 -10
  151. package/lib/form/index.d.ts +303 -3
  152. package/lib/form/index.js +1 -1
  153. package/lib/form/type.d.ts +8 -6
  154. package/lib/form/validator.d.ts +1 -0
  155. package/lib/icon/angle-double-down-line.d.ts +4 -0
  156. package/lib/icon/angle-double-down-line.js +1 -0
  157. package/lib/icon/angle-double-left-line.d.ts +4 -0
  158. package/lib/icon/angle-double-left-line.js +1 -0
  159. package/lib/icon/angle-double-left.js +1 -0
  160. package/lib/icon/angle-double-right-line.d.ts +4 -0
  161. package/lib/icon/angle-double-right-line.js +1 -0
  162. package/lib/icon/angle-double-right.js +1 -0
  163. package/lib/icon/angle-double-up-line.d.ts +4 -0
  164. package/lib/icon/angle-double-up-line.js +1 -0
  165. package/lib/icon/angle-down-fill.js +1 -0
  166. package/lib/icon/angle-down-line.js +1 -0
  167. package/lib/icon/angle-down.js +1 -0
  168. package/lib/icon/angle-left.js +1 -0
  169. package/lib/icon/angle-right.js +1 -0
  170. package/lib/icon/angle-up-fill.js +1 -0
  171. package/lib/icon/angle-up.js +1 -0
  172. package/lib/icon/archive-fill.d.ts +4 -0
  173. package/lib/icon/archive-fill.js +1 -0
  174. package/lib/icon/arrows-left.js +1 -0
  175. package/lib/icon/arrows-right.d.ts +4 -0
  176. package/lib/icon/arrows-right.js +1 -0
  177. package/lib/icon/audio-fill.d.ts +4 -0
  178. package/lib/icon/audio-fill.js +1 -0
  179. package/lib/icon/bk.d.ts +4 -0
  180. package/lib/icon/bk.js +1 -0
  181. package/lib/icon/circle.js +1 -0
  182. package/lib/icon/close-line.d.ts +4 -0
  183. package/lib/icon/close-line.js +1 -0
  184. package/lib/icon/close.js +1 -0
  185. package/lib/icon/code.js +1 -0
  186. package/lib/icon/cog-shape.js +1 -0
  187. package/lib/icon/collapse-left.js +1 -0
  188. package/lib/icon/copy.js +1 -0
  189. package/lib/icon/data-shape.d.ts +4 -0
  190. package/lib/icon/data-shape.js +1 -0
  191. package/lib/icon/del.d.ts +4 -0
  192. package/lib/icon/del.js +1 -0
  193. package/lib/icon/doc-fill.d.ts +4 -0
  194. package/lib/icon/doc-fill.js +1 -0
  195. package/lib/icon/done.js +1 -0
  196. package/lib/icon/down-shape.js +1 -0
  197. package/lib/icon/down-small.js +1 -0
  198. package/lib/icon/edit-line.d.ts +4 -0
  199. package/lib/icon/edit-line.js +1 -0
  200. package/lib/icon/ellipsis.d.ts +4 -0
  201. package/lib/icon/ellipsis.js +1 -0
  202. package/lib/icon/error.js +1 -0
  203. package/lib/icon/excel-fill.d.ts +4 -0
  204. package/lib/icon/excel-fill.js +1 -0
  205. package/lib/icon/exclamation-circle-shape.d.ts +4 -0
  206. package/lib/icon/exclamation-circle-shape.js +1 -0
  207. package/lib/icon/eye.js +1 -0
  208. package/lib/icon/folder-open.js +1 -0
  209. package/lib/icon/folder-shape-open.js +1 -0
  210. package/lib/icon/folder-shape.js +1 -0
  211. package/lib/icon/funnel.d.ts +4 -0
  212. package/lib/icon/funnel.js +1 -0
  213. package/lib/icon/help-document-fill.js +1 -0
  214. package/lib/icon/help-fill.js +1 -0
  215. package/lib/icon/help.js +1 -0
  216. package/lib/icon/image-fill.d.ts +4 -0
  217. package/lib/icon/image-fill.js +1 -0
  218. package/lib/icon/index.d.ts +27 -0
  219. package/lib/icon/index.js +1 -15
  220. package/lib/icon/info-line.js +1 -0
  221. package/lib/icon/info.js +1 -0
  222. package/lib/icon/left-shape.d.ts +4 -0
  223. package/lib/icon/left-shape.js +1 -0
  224. package/lib/icon/pdf-fill.d.ts +4 -0
  225. package/lib/icon/pdf-fill.js +1 -0
  226. package/lib/icon/play-shape.js +1 -0
  227. package/lib/icon/plus.js +1 -0
  228. package/lib/icon/ppt-fill.d.ts +4 -0
  229. package/lib/icon/ppt-fill.js +1 -0
  230. package/lib/icon/qq.d.ts +4 -0
  231. package/lib/icon/qq.js +1 -0
  232. package/lib/icon/right-shape.js +1 -0
  233. package/lib/icon/search.js +1 -0
  234. package/lib/icon/share.js +1 -0
  235. package/lib/icon/spinner.js +1 -0
  236. package/lib/icon/success.js +1 -0
  237. package/lib/icon/switcher-loading.js +1 -0
  238. package/lib/icon/text-file.js +1 -0
  239. package/lib/icon/text-fill.d.ts +4 -0
  240. package/lib/icon/text-fill.js +1 -0
  241. package/lib/icon/tree-application-shape.js +1 -0
  242. package/lib/icon/unvisible.js +1 -0
  243. package/lib/icon/up-shape.d.ts +4 -0
  244. package/lib/icon/up-shape.js +1 -0
  245. package/lib/icon/upload.d.ts +4 -0
  246. package/lib/icon/upload.js +1 -0
  247. package/lib/icon/video-fill.d.ts +4 -0
  248. package/lib/icon/video-fill.js +1 -0
  249. package/lib/icon/warn.js +1 -0
  250. package/lib/icon/weixin.d.ts +4 -0
  251. package/lib/icon/weixin.js +1 -0
  252. package/lib/index.d.ts +0 -1
  253. package/lib/index.js +1 -0
  254. package/lib/info-box/index.d.ts +23 -0
  255. package/lib/info-box/index.js +1 -0
  256. package/lib/input/index.d.ts +429 -207
  257. package/lib/input/index.js +1 -15
  258. package/lib/input/input.css +232 -17
  259. package/lib/input/input.d.ts +187 -53
  260. package/lib/input/input.less +180 -18
  261. package/lib/input/input.variable.css +259 -16
  262. package/lib/link/index.d.ts +102 -54
  263. package/lib/link/index.js +1 -1
  264. package/lib/link/link.d.ts +25 -13
  265. package/lib/link/link.variable.css +30 -3
  266. package/lib/loading/index.d.ts +187 -71
  267. package/lib/loading/index.js +1 -1
  268. package/lib/loading/loading.css +177 -98
  269. package/lib/loading/loading.d.ts +109 -25
  270. package/lib/loading/loading.less +84 -73
  271. package/lib/loading/loading.variable.css +207 -101
  272. package/lib/menu/index.d.ts +82 -71
  273. package/lib/menu/index.js +1 -1
  274. package/lib/menu/menu-group.d.ts +6 -5
  275. package/lib/menu/menu-item.d.ts +6 -5
  276. package/lib/menu/menu.css +51 -0
  277. package/lib/menu/menu.d.ts +16 -21
  278. package/lib/menu/menu.variable.css +81 -3
  279. package/lib/menu/submenu.css +3 -0
  280. package/lib/menu/submenu.d.ts +6 -5
  281. package/lib/menu/submenu.less +1 -1
  282. package/lib/menu/submenu.variable.css +33 -3
  283. package/lib/menu/utils.d.ts +1 -1
  284. package/lib/message/index.js +1 -1
  285. package/lib/message/message.css +24 -3
  286. package/lib/message/message.less +27 -2
  287. package/lib/message/message.variable.css +54 -6
  288. package/lib/message/messageConstructor.d.ts +69 -21
  289. package/lib/modal/index.d.ts +517 -68
  290. package/lib/modal/index.js +1 -1
  291. package/lib/modal/modal.css +25 -1
  292. package/lib/modal/modal.d.ts +191 -24
  293. package/lib/modal/modal.less +33 -1
  294. package/lib/modal/modal.variable.css +25 -1
  295. package/lib/modal/props.mixin.d.ts +77 -10
  296. package/lib/navigation/index.d.ts +310 -1
  297. package/lib/navigation/index.js +1 -1
  298. package/lib/navigation/navigation-title.d.ts +10 -7
  299. package/lib/navigation/navigation.css +1 -1
  300. package/lib/navigation/navigation.d.ts +50 -24
  301. package/lib/navigation/navigation.less +1 -1
  302. package/lib/navigation/navigation.variable.css +31 -4
  303. package/lib/notify/index.js +1 -1
  304. package/lib/notify/notify.css +24 -4
  305. package/lib/notify/notify.less +27 -4
  306. package/lib/notify/notify.variable.css +54 -7
  307. package/lib/notify/notifyConstructor.d.ts +84 -24
  308. package/lib/pagination/index.d.ts +395 -0
  309. package/lib/pagination/index.js +1 -0
  310. package/lib/pagination/pagination.css +179 -0
  311. package/lib/pagination/pagination.d.ts +220 -0
  312. package/lib/pagination/pagination.less +201 -0
  313. package/lib/pagination/pagination.variable.css +292 -0
  314. package/lib/pagination/type.d.ts +6 -0
  315. package/lib/pagination/use-limit.d.ts +8 -0
  316. package/lib/pagination/use-list.d.ts +8 -0
  317. package/lib/pagination/use-small-list.d.ts +5 -0
  318. package/lib/pagination/use-total.d.ts +5 -0
  319. package/lib/popover/index.d.ts +312 -182
  320. package/lib/popover/index.js +1 -1
  321. package/lib/popover/popover.css +4 -0
  322. package/lib/popover/popover.d.ts +102 -32
  323. package/lib/popover/popover.less +4 -0
  324. package/lib/popover/popover.variable.css +34 -3
  325. package/lib/popover/props.d.ts +28 -1
  326. package/lib/popover2/arrow.d.ts +2 -0
  327. package/lib/popover2/const.d.ts +10 -0
  328. package/lib/popover2/content.d.ts +24 -0
  329. package/lib/popover2/index.d.ts +476 -0
  330. package/lib/popover2/index.js +1 -0
  331. package/lib/popover2/popover2.css +25 -0
  332. package/lib/popover2/popover2.d.ts +200 -0
  333. package/lib/popover2/popover2.less +35 -0
  334. package/lib/popover2/popover2.variable.css +138 -0
  335. package/lib/popover2/props.d.ts +104 -0
  336. package/lib/popover2/reference.d.ts +2 -0
  337. package/lib/popover2/root.d.ts +16 -0
  338. package/lib/popover2/use-floating.d.ts +20 -0
  339. package/lib/popover2/use-platform.d.ts +30 -0
  340. package/lib/popover2/use-popper-id.d.ts +7 -0
  341. package/lib/preset.js +1 -0
  342. package/lib/process/index.d.ts +126 -66
  343. package/lib/process/index.js +1 -15
  344. package/lib/process/process.css +2 -3
  345. package/lib/process/process.d.ts +32 -17
  346. package/lib/process/process.less +2 -3
  347. package/lib/process/process.variable.css +32 -6
  348. package/lib/progress/index.d.ts +299 -151
  349. package/lib/progress/index.js +1 -1
  350. package/lib/progress/progress.css +51 -0
  351. package/lib/progress/progress.d.ts +76 -39
  352. package/lib/progress/progress.variable.css +81 -3
  353. package/lib/radio/common.d.ts +5 -5
  354. package/lib/radio/index.d.ts +145 -96
  355. package/lib/radio/index.js +1 -1
  356. package/lib/radio/radio-button.d.ts +30 -23
  357. package/lib/radio/radio-group.d.ts +11 -10
  358. package/lib/radio/radio.css +62 -57
  359. package/lib/radio/radio.d.ts +27 -17
  360. package/lib/radio/radio.less +181 -172
  361. package/lib/radio/radio.variable.css +94 -62
  362. package/lib/radio/type.d.ts +10 -5
  363. package/lib/rate/index.d.ts +52 -40
  364. package/lib/rate/index.js +1 -1
  365. package/lib/rate/rate.d.ts +13 -10
  366. package/lib/rate/star.d.ts +33 -16
  367. package/lib/resize-layout/index.d.ts +336 -0
  368. package/lib/resize-layout/index.js +1 -0
  369. package/lib/resize-layout/resize-layout.css +189 -0
  370. package/lib/resize-layout/resize-layout.d.ts +127 -0
  371. package/lib/resize-layout/resize-layout.less +233 -0
  372. package/lib/resize-layout/resize-layout.variable.css +302 -0
  373. package/lib/select/common.d.ts +20 -31
  374. package/lib/select/index.d.ts +1114 -632
  375. package/lib/select/index.js +1 -15
  376. package/lib/select/option.d.ts +22 -12
  377. package/lib/select/optionGroup.d.ts +22 -90
  378. package/lib/select/select.css +200 -81
  379. package/lib/select/select.d.ts +405 -173
  380. package/lib/select/select.less +290 -189
  381. package/lib/select/select.variable.css +230 -84
  382. package/lib/select/selectTagInput.d.ts +72 -0
  383. package/lib/select/type.d.ts +38 -0
  384. package/lib/shared/{bk-helper-core.d.ts → helper.d.ts} +0 -1
  385. package/lib/shared/index.d.ts +16 -4
  386. package/lib/shared/index.js +1 -1
  387. package/lib/shared/{bk-mask-manager.d.ts → mask-manager.d.ts} +33 -3
  388. package/lib/shared/{bk-pop-manager.d.ts → pop-manager.d.ts} +10 -2
  389. package/lib/shared/{bk-popover.d.ts → popover.d.ts} +7 -3
  390. package/lib/shared/token.d.ts +4 -0
  391. package/lib/shared/utils.d.ts +12 -0
  392. package/lib/shared/vue-types.d.ts +11 -7
  393. package/lib/sideslider/index.d.ts +432 -80
  394. package/lib/sideslider/index.js +1 -1
  395. package/lib/sideslider/sideslider.css +54 -10
  396. package/lib/sideslider/sideslider.d.ts +185 -30
  397. package/lib/sideslider/sideslider.less +71 -13
  398. package/lib/sideslider/sideslider.variable.css +84 -13
  399. package/lib/slider/index.d.ts +414 -1
  400. package/lib/slider/index.js +1 -15
  401. package/lib/slider/slider-button.d.ts +15 -7
  402. package/lib/slider/slider.d.ts +84 -42
  403. package/lib/slider/slider.variable.css +30 -3
  404. package/lib/steps/index.d.ts +160 -108
  405. package/lib/steps/index.js +1 -15
  406. package/lib/steps/steps.css +17 -3
  407. package/lib/steps/steps.d.ts +40 -27
  408. package/lib/steps/steps.less +27 -3
  409. package/lib/steps/steps.variable.css +47 -6
  410. package/lib/styles/index.d.ts +13 -0
  411. package/lib/styles/mixins/clearfix.css +8 -0
  412. package/lib/styles/mixins/clearfix.less +10 -0
  413. package/lib/styles/mixins/clearfix.variable.css +8 -0
  414. package/lib/styles/mixins/mixins.css +51 -0
  415. package/lib/styles/mixins/mixins.less +2 -0
  416. package/lib/styles/mixins/mixins.variable.css +51 -0
  417. package/lib/styles/mixins/scroll.css +17 -0
  418. package/lib/styles/mixins/scroll.less +22 -0
  419. package/lib/styles/mixins/scroll.variable.css +130 -0
  420. package/lib/styles/themes/themes.less +40 -3
  421. package/lib/swiper/index.d.ts +181 -0
  422. package/lib/swiper/index.js +1 -0
  423. package/lib/swiper/swiper.css +91 -0
  424. package/lib/swiper/swiper.d.ts +65 -0
  425. package/lib/swiper/swiper.less +107 -0
  426. package/lib/swiper/swiper.variable.css +91 -0
  427. package/lib/switcher/index.d.ts +201 -137
  428. package/lib/switcher/index.js +1 -1
  429. package/lib/switcher/switcher.css +57 -6
  430. package/lib/switcher/switcher.d.ts +52 -36
  431. package/lib/switcher/switcher.less +5 -26
  432. package/lib/switcher/switcher.variable.css +87 -9
  433. package/lib/tab/index.d.ts +306 -282
  434. package/lib/tab/index.js +1 -1
  435. package/lib/tab/props.d.ts +194 -0
  436. package/lib/tab/tab-nav.d.ts +102 -87
  437. package/lib/tab/tab-panel.d.ts +53 -26
  438. package/lib/tab/tab.css +25 -1
  439. package/lib/tab/tab.d.ts +59 -51
  440. package/lib/tab/tab.less +31 -19
  441. package/lib/tab/tab.variable.css +55 -4
  442. package/lib/table/const.d.ts +67 -0
  443. package/lib/table/index.d.ts +484 -131
  444. package/lib/table/index.js +1 -1
  445. package/lib/table/plugins/head-filter.css +68 -0
  446. package/lib/table/plugins/head-filter.less +88 -0
  447. package/lib/table/plugins/head-filter.variable.css +181 -0
  448. package/lib/table/plugins/head-sort.css +22 -0
  449. package/lib/table/plugins/head-sort.less +28 -0
  450. package/lib/table/plugins/head-sort.variable.css +135 -0
  451. package/lib/table/plugins/settings.css +129 -0
  452. package/lib/table/plugins/settings.less +157 -0
  453. package/lib/table/plugins/settings.variable.css +242 -0
  454. package/lib/table/props.d.ts +174 -4
  455. package/lib/table/render.d.ts +76 -5
  456. package/lib/table/table.css +1091 -14
  457. package/lib/table/table.d.ts +197 -24
  458. package/lib/table/table.less +255 -25
  459. package/lib/table/table.variable.css +1122 -18
  460. package/lib/table/use-common.d.ts +72 -0
  461. package/lib/table/utils.d.ts +78 -3
  462. package/lib/tag/index.d.ts +165 -274
  463. package/lib/tag/index.js +1 -1
  464. package/lib/tag/tag.css +97 -0
  465. package/lib/tag/tag.d.ts +83 -53
  466. package/lib/tag/tag.less +110 -2
  467. package/lib/tag/tag.variable.css +127 -3
  468. package/lib/tag-input/common.d.ts +24 -0
  469. package/lib/tag-input/index.d.ts +894 -0
  470. package/lib/tag-input/index.js +1 -0
  471. package/lib/tag-input/list-tag-render.d.ts +47 -0
  472. package/lib/tag-input/tag-input.css +209 -0
  473. package/lib/tag-input/tag-input.d.ts +374 -0
  474. package/lib/tag-input/tag-input.less +251 -0
  475. package/lib/tag-input/tag-input.variable.css +322 -0
  476. package/lib/tag-input/tag-props.d.ts +131 -0
  477. package/lib/tag-input/tag-render.d.ts +38 -0
  478. package/lib/timeline/index.d.ts +129 -0
  479. package/lib/timeline/index.js +1 -0
  480. package/lib/timeline/timeline.css +235 -0
  481. package/lib/timeline/timeline.d.ts +81 -0
  482. package/lib/timeline/timeline.less +240 -0
  483. package/lib/timeline/timeline.variable.css +348 -0
  484. package/lib/transfer/const.d.ts +5 -0
  485. package/lib/transfer/index.d.ts +365 -0
  486. package/lib/transfer/index.js +1 -0
  487. package/lib/transfer/props.d.ts +54 -0
  488. package/lib/transfer/transfer.css +139 -0
  489. package/lib/transfer/transfer.d.ts +160 -0
  490. package/lib/transfer/transfer.less +144 -0
  491. package/lib/transfer/transfer.variable.css +252 -0
  492. package/lib/tree/constant.d.ts +45 -0
  493. package/lib/tree/index.d.ts +467 -106
  494. package/lib/tree/index.js +1 -1
  495. package/lib/tree/props.d.ts +133 -1
  496. package/lib/tree/tree.css +166 -14
  497. package/lib/tree/tree.d.ts +193 -29
  498. package/lib/tree/tree.less +66 -29
  499. package/lib/tree/tree.variable.css +279 -14
  500. package/lib/tree/use-empty.d.ts +6 -0
  501. package/lib/tree/use-node-action.d.ts +12 -0
  502. package/lib/tree/use-node-async.d.ts +5 -0
  503. package/lib/tree/use-node-attribute.d.ts +33 -0
  504. package/lib/tree/use-node-drag.d.ts +3 -0
  505. package/lib/tree/use-search.d.ts +11 -0
  506. package/lib/tree/use-tree-init.d.ts +15 -0
  507. package/lib/tree/util.d.ts +31 -13
  508. package/lib/upload/index.d.ts +580 -0
  509. package/lib/upload/index.js +1 -0
  510. package/lib/upload/props.d.ts +113 -0
  511. package/lib/upload/upload-list.d.ts +46 -0
  512. package/lib/upload/upload-trigger.d.ts +54 -0
  513. package/lib/upload/upload.css +417 -0
  514. package/lib/upload/upload.d.ts +252 -0
  515. package/lib/upload/upload.less +455 -0
  516. package/lib/upload/upload.type.d.ts +78 -0
  517. package/lib/upload/upload.variable.css +530 -0
  518. package/lib/upload/use-ajax-upload.d.ts +3 -0
  519. package/lib/upload/use-file-handler.d.ts +44 -0
  520. package/lib/virtual-render/index.d.ts +439 -255
  521. package/lib/virtual-render/index.js +1 -1
  522. package/lib/virtual-render/props.d.ts +20 -0
  523. package/lib/virtual-render/use-tag-render.d.ts +7 -0
  524. package/lib/virtual-render/v-virtual-render.d.ts +0 -1
  525. package/lib/virtual-render/virtual-render.css +17 -24
  526. package/lib/virtual-render/virtual-render.d.ts +122 -42
  527. package/lib/virtual-render/virtual-render.less +2 -31
  528. package/lib/virtual-render/virtual-render.variable.css +130 -24
  529. package/lib/volar.components.d.ts +100 -0
  530. package/package.json +104 -84
  531. package/README_EN.md +0 -89
  532. package/dist/bkui-vue.cjs.js +0 -11375
  533. package/dist/bkui-vue.esm.js +0 -11328
  534. package/dist/bkui-vue.umd.js +0 -11378
  535. package/lib/form/common.d.ts +0 -3
  536. package/lib/styles/index.js +0 -1
@@ -0,0 +1,223 @@
1
+ import Col from './col';
2
+ import Row from './row';
3
+ declare const BkContainer: {
4
+ new (...args: any[]): {
5
+ $: import("vue").ComponentInternalInstance;
6
+ $data: {};
7
+ $props: Partial<{
8
+ col: number;
9
+ extCls: string;
10
+ flex: boolean;
11
+ margin: number;
12
+ gutter: number;
13
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
14
+ col: import("vue-types").VueTypeValidableDef<number> & {
15
+ default: number;
16
+ } & {
17
+ default: number;
18
+ };
19
+ gutter: import("vue-types").VueTypeValidableDef<number> & {
20
+ default: number;
21
+ } & {
22
+ default: number;
23
+ };
24
+ margin: import("vue-types").VueTypeValidableDef<number> & {
25
+ default: number;
26
+ } & {
27
+ default: number;
28
+ };
29
+ flex: import("vue-types").VueTypeValidableDef<boolean> & {
30
+ default: boolean;
31
+ } & {
32
+ default: boolean;
33
+ };
34
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
35
+ default: string;
36
+ };
37
+ }>> & {
38
+ [x: string & `on${any}`]: (...args: any[]) => any;
39
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "col" | "extCls" | "flex" | "margin" | "gutter">;
40
+ $attrs: {
41
+ [x: string]: unknown;
42
+ };
43
+ $refs: {
44
+ [x: string]: unknown;
45
+ };
46
+ $slots: Readonly<{
47
+ [name: string]: import("vue").Slot;
48
+ }>;
49
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
50
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
51
+ $emit: (event: any, ...args: any[]) => void;
52
+ $el: any;
53
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
54
+ col: import("vue-types").VueTypeValidableDef<number> & {
55
+ default: number;
56
+ } & {
57
+ default: number;
58
+ };
59
+ gutter: import("vue-types").VueTypeValidableDef<number> & {
60
+ default: number;
61
+ } & {
62
+ default: number;
63
+ };
64
+ margin: import("vue-types").VueTypeValidableDef<number> & {
65
+ default: number;
66
+ } & {
67
+ default: number;
68
+ };
69
+ flex: import("vue-types").VueTypeValidableDef<boolean> & {
70
+ default: boolean;
71
+ } & {
72
+ default: boolean;
73
+ };
74
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
75
+ default: string;
76
+ };
77
+ }>> & {
78
+ [x: string & `on${any}`]: (...args: any[]) => any;
79
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], string, {
80
+ col: number;
81
+ extCls: string;
82
+ flex: boolean;
83
+ margin: number;
84
+ gutter: number;
85
+ }> & {
86
+ beforeCreate?: (() => void) | (() => void)[];
87
+ created?: (() => void) | (() => void)[];
88
+ beforeMount?: (() => void) | (() => void)[];
89
+ mounted?: (() => void) | (() => void)[];
90
+ beforeUpdate?: (() => void) | (() => void)[];
91
+ updated?: (() => void) | (() => void)[];
92
+ activated?: (() => void) | (() => void)[];
93
+ deactivated?: (() => void) | (() => void)[];
94
+ beforeDestroy?: (() => void) | (() => void)[];
95
+ beforeUnmount?: (() => void) | (() => void)[];
96
+ destroyed?: (() => void) | (() => void)[];
97
+ unmounted?: (() => void) | (() => void)[];
98
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
99
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
100
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
101
+ };
102
+ $forceUpdate: () => void;
103
+ $nextTick: typeof import("vue").nextTick;
104
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
105
+ } & Readonly<import("vue").ExtractPropTypes<{
106
+ col: import("vue-types").VueTypeValidableDef<number> & {
107
+ default: number;
108
+ } & {
109
+ default: number;
110
+ };
111
+ gutter: import("vue-types").VueTypeValidableDef<number> & {
112
+ default: number;
113
+ } & {
114
+ default: number;
115
+ };
116
+ margin: import("vue-types").VueTypeValidableDef<number> & {
117
+ default: number;
118
+ } & {
119
+ default: number;
120
+ };
121
+ flex: import("vue-types").VueTypeValidableDef<boolean> & {
122
+ default: boolean;
123
+ } & {
124
+ default: boolean;
125
+ };
126
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
127
+ default: string;
128
+ };
129
+ }>> & {
130
+ [x: string & `on${any}`]: (...args: any[]) => any;
131
+ } & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
132
+ __isFragment?: never;
133
+ __isTeleport?: never;
134
+ __isSuspense?: never;
135
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
136
+ col: import("vue-types").VueTypeValidableDef<number> & {
137
+ default: number;
138
+ } & {
139
+ default: number;
140
+ };
141
+ gutter: import("vue-types").VueTypeValidableDef<number> & {
142
+ default: number;
143
+ } & {
144
+ default: number;
145
+ };
146
+ margin: import("vue-types").VueTypeValidableDef<number> & {
147
+ default: number;
148
+ } & {
149
+ default: number;
150
+ };
151
+ flex: import("vue-types").VueTypeValidableDef<boolean> & {
152
+ default: boolean;
153
+ } & {
154
+ default: boolean;
155
+ };
156
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
157
+ default: string;
158
+ };
159
+ }>> & {
160
+ [x: string & `on${any}`]: (...args: any[]) => any;
161
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], any, {
162
+ col: number;
163
+ extCls: string;
164
+ flex: boolean;
165
+ margin: number;
166
+ gutter: number;
167
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin & Readonly<{
168
+ Row: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], any, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
169
+ [x: string & `on${any}`]: (...args: any[]) => any;
170
+ }, {}>;
171
+ Col: import("vue").DefineComponent<{
172
+ span: import("vue-types").VueTypeValidableDef<number> & {
173
+ default: number;
174
+ } & {
175
+ default: number;
176
+ };
177
+ offset: import("vue-types").VueTypeValidableDef<number> & {
178
+ default: number;
179
+ } & {
180
+ default: number;
181
+ };
182
+ pull: import("vue-types").VueTypeValidableDef<number> & {
183
+ default: number;
184
+ } & {
185
+ default: number;
186
+ };
187
+ push: import("vue-types").VueTypeValidableDef<number> & {
188
+ default: number;
189
+ } & {
190
+ default: number;
191
+ };
192
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], any, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
193
+ span: import("vue-types").VueTypeValidableDef<number> & {
194
+ default: number;
195
+ } & {
196
+ default: number;
197
+ };
198
+ offset: import("vue-types").VueTypeValidableDef<number> & {
199
+ default: number;
200
+ } & {
201
+ default: number;
202
+ };
203
+ pull: import("vue-types").VueTypeValidableDef<number> & {
204
+ default: number;
205
+ } & {
206
+ default: number;
207
+ };
208
+ push: import("vue-types").VueTypeValidableDef<number> & {
209
+ default: number;
210
+ } & {
211
+ default: number;
212
+ };
213
+ }>> & {
214
+ [x: string & `on${any}`]: (...args: any[]) => any;
215
+ }, {
216
+ span: number;
217
+ offset: number;
218
+ push: number;
219
+ pull: number;
220
+ }>;
221
+ }>;
222
+ export default BkContainer;
223
+ export { BkContainer, Row as BkRow, Col as BkCol, };
@@ -0,0 +1 @@
1
+ !function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("../shared"),require("vue"));else if("function"==typeof define&&define.amd)define(["../shared","vue"],r);else{var t="object"==typeof exports?r(require("../shared"),require("vue")):r(e["../shared"],e.vue);for(var o in t)("object"==typeof exports?exports:e)[o]=t[o]}}(self,((e,r)=>(()=>{"use strict";var t={4212:r=>{r.exports=e},748:e=>{e.exports=r}},o={};function n(e){var r=o[e];if(void 0!==r)return r.exports;var u=o[e]={exports:{}};return t[e](u,u.exports,n),u.exports}n.d=(e,r)=>{for(var t in r)n.o(r,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var u={};return(()=>{n.r(u),n.d(u,{BkCol:()=>o,BkContainer:()=>p,BkRow:()=>l,default:()=>s});var e=n(4212),r=n(748),t={span:e.PropTypes.number.def(1),offset:e.PropTypes.number.def(0),pull:e.PropTypes.number.def(0),push:e.PropTypes.number.def(0)};const o=(0,r.defineComponent)({name:"Col",props:t,emits:[],setup:function(e,t){var o=(0,r.inject)("containerProps"),n=o.col,u=o.gutter,i=o.flex,a=e.span,l=e.offset,p=e.pull,s=e.push,c=(0,r.computed)((function(){return a||n}));(0,r.provide)("containerProps",{col:c.value,gutter:u,flex:i});var d=function(e){return"".concat(Number((100*e).toFixed(3)),"%")},f=(0,r.computed)((function(){return{width:d(c.value/n),"padding-right":"".concat(u/2,"px"),"padding-left":"".concat(u/2,"px"),"margin-left":l?d(l/n):null,right:p?d(p/n):null,left:s?d(s/n):null}}));return function(){var e,o;return(0,r.createVNode)("div",{class:"bk-grid-col",style:f.value},[null===(o=(e=t.slots).default)||void 0===o?void 0:o.call(e)])}}});var i={col:e.PropTypes.number.def(24),gutter:e.PropTypes.number.def(20),margin:e.PropTypes.number.def(20),flex:e.PropTypes.bool.def(!1),extCls:e.PropTypes.string};const a=(0,r.defineComponent)({name:"Container",props:i,emits:[],setup:function(e,t){var o=e.col,n=e.gutter,u=e.flex,i=e.extCls;(0,r.provide)("containerProps",{col:o,gutter:n,flex:u});var a=(0,r.computed)((function(){return i?"bk-grid-container ".concat(i):"bk-grid-container"})),l=(0,r.computed)((function(){var r=e.margin;return{"padding-right":"".concat(r,"px"),"padding-left":"".concat(r,"px")}}));return function(){var e,o;return(0,r.createVNode)("div",{class:a.value,style:l.value},[null===(o=(e=t.slots).default)||void 0===o?void 0:o.call(e)])}}}),l=(0,r.defineComponent)({name:"Row",emits:[],setup:function(e,t){var o=(0,r.inject)("containerProps"),n=o.col,u=o.gutter,i=o.flex;(0,r.provide)("containerProps",{col:n,gutter:u,flex:i});var a=(0,r.computed)((function(){var e=i?{display:["-webkit-box","-ms-flexbox","flex"]}:{};return Object.assign(Object.assign({},e),{"margin-right":"-".concat(u/2,"px"),"margin-left":"-".concat(u/2,"px")})}));return function(){var e,o;return(0,r.createVNode)("div",{class:"bk-grid-row",style:a.value},[null===(o=(e=t.slots).default)||void 0===o?void 0:o.call(e)])}}});var p=(0,e.withInstallProps)(a,{Row:l,Col:o});const s=p})(),u})()));
@@ -0,0 +1,4 @@
1
+ declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any[], any, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
2
+ [x: string & `on${any}`]: (...args: any[]) => any;
3
+ }, {}>;
4
+ export default _default;
@@ -27,6 +27,7 @@
27
27
  border: 1px solid #c4c6cc;
28
28
  border-radius: 2px;
29
29
  outline: none;
30
+ box-sizing: border-box;
30
31
  }
31
32
  .bk-date-picker-rel .bk-date-picker-editor.only-bottom-border {
32
33
  border-color: transparent transparent #c4c6cc transparent;
@@ -63,12 +64,12 @@
63
64
  }
64
65
  .bk-date-picker-rel .clear-action {
65
66
  position: absolute;
66
- top: 50%;
67
+ top: 0;
67
68
  right: 10px;
69
+ padding: 5px 0;
68
70
  font-size: 14px;
69
71
  color: #c4c6cc;
70
72
  cursor: pointer;
71
- transform: translateY(-50%);
72
73
  }
73
74
  .bk-date-picker-rel .clear-action:hover {
74
75
  color: #979ba5;
@@ -1,9 +1,7 @@
1
- import { PropType } from 'vue';
2
- import type { ExtractPropTypes } from 'vue';
3
- import type { PickerTypeType, DatePickerShortcutsType, DatePickerValueType, DisableDateType, DatePickerPanelType, SelectionModeType } from './interface';
4
- declare const datePickerProps: {
1
+ import type { DatePickerPanelType, SelectionModeType } from './interface';
2
+ declare const _default: import("vue").DefineComponent<{
5
3
  readonly type: {
6
- readonly type: PropType<PickerTypeType>;
4
+ readonly type: import("vue").PropType<import("./interface").PickerTypeType>;
7
5
  readonly default: "date";
8
6
  readonly validator: (value: any) => boolean;
9
7
  };
@@ -37,7 +35,7 @@ declare const datePickerProps: {
37
35
  readonly default: false;
38
36
  };
39
37
  readonly timePickerOptions: {
40
- readonly type: PropType<Record<string, any>>;
38
+ readonly type: import("vue").PropType<Record<string, any>>;
41
39
  readonly default: () => {};
42
40
  };
43
41
  readonly splitPanels: {
@@ -50,7 +48,7 @@ declare const datePickerProps: {
50
48
  readonly default: "";
51
49
  };
52
50
  readonly placement: {
53
- readonly type: PropType<import("@popperjs/core").ComputedPlacement>;
51
+ readonly type: import("vue").PropType<import("@popperjs/core").ComputedPlacement>;
54
52
  readonly default: "bottom-start";
55
53
  readonly validator: (value: any) => boolean;
56
54
  };
@@ -63,7 +61,7 @@ declare const datePickerProps: {
63
61
  readonly default: false;
64
62
  };
65
63
  readonly shortcuts: {
66
- readonly type: PropType<DatePickerShortcutsType>;
64
+ readonly type: import("vue").PropType<import("./interface").DatePickerShortcutsType>;
67
65
  readonly default: () => any[];
68
66
  };
69
67
  readonly shortcutClose: {
@@ -71,14 +69,17 @@ declare const datePickerProps: {
71
69
  readonly default: false;
72
70
  };
73
71
  readonly modelValue: {
74
- readonly type: PropType<DatePickerValueType>;
72
+ readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
73
+ };
74
+ readonly value: {
75
+ readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
75
76
  };
76
77
  readonly options: {
77
78
  readonly type: ObjectConstructor;
78
79
  readonly default: () => {};
79
80
  };
80
81
  readonly fontSize: {
81
- readonly type: PropType<"large" | "normal" | "medium">;
82
+ readonly type: import("vue").PropType<"large" | "normal" | "medium">;
82
83
  readonly default: "normal";
83
84
  };
84
85
  readonly upToNow: {
@@ -93,6 +94,10 @@ declare const datePickerProps: {
93
94
  readonly type: NumberConstructor;
94
95
  readonly default: -1;
95
96
  };
97
+ readonly headerSlotCls: {
98
+ readonly type: StringConstructor;
99
+ readonly default: "";
100
+ };
96
101
  readonly footerSlotCls: {
97
102
  readonly type: StringConstructor;
98
103
  readonly default: "";
@@ -102,16 +107,63 @@ declare const datePickerProps: {
102
107
  readonly default: false;
103
108
  };
104
109
  readonly behavior: {
105
- readonly type: PropType<"normal" | "simplicity">;
110
+ readonly type: import("vue").PropType<"normal" | "simplicity">;
106
111
  readonly default: "normal";
107
112
  readonly validator: (v: any) => boolean;
108
113
  };
109
- readonly disableDate: PropType<DisableDateType>;
110
- };
111
- export declare type DatePickerProps = Readonly<ExtractPropTypes<typeof datePickerProps>>;
112
- declare const _default: import("vue").DefineComponent<{
114
+ readonly disableDate: import("vue").PropType<import("./interface").DisableDateType>;
115
+ }, {
116
+ panel: import("vue").ComputedRef<DatePickerPanelType>;
117
+ publicStringValue: import("vue").ComputedRef<any>;
118
+ opened: import("vue").ComputedRef<boolean>;
119
+ visualValue: import("vue").ComputedRef<any>;
120
+ displayValue: import("vue").ComputedRef<any>;
121
+ isConfirm: import("vue").ComputedRef<boolean>;
122
+ hasHeader: import("vue").ComputedRef<boolean>;
123
+ hasFooter: import("vue").ComputedRef<boolean>;
124
+ hasShortcuts: import("vue").ComputedRef<boolean>;
125
+ fontSizeCls: import("vue").ComputedRef<string>;
126
+ longWidthCls: import("vue").ComputedRef<string>;
127
+ localReadonly: import("vue").ComputedRef<boolean>;
128
+ allowCrossDayProp: import("vue").ComputedRef<boolean>;
129
+ pickerDropdownRef: any;
130
+ inputRef: any;
131
+ triggerRef: import("vue").Ref<HTMLElement>;
132
+ pickerPanelRef: any;
133
+ handleClose: (e?: Event) => boolean;
134
+ handleIconClick: () => void;
135
+ handleInputMouseenter: () => void;
136
+ handleInputMouseleave: (_e: any) => void;
137
+ handleFocus: (e: any) => void;
138
+ handleBlur: (e: any) => void;
139
+ handleKeydown: (e: KeyboardEvent) => void;
140
+ handleInputChange: (e: any) => void;
141
+ handleClear: () => void;
142
+ handleTransferClick: () => void;
143
+ onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
144
+ onPickSuccess: () => void;
145
+ showClose: import("vue").Ref<boolean>;
146
+ visible: import("vue").Ref<boolean>;
147
+ internalValue: import("vue").Ref<any>;
148
+ disableClickOutSide: import("vue").Ref<boolean>;
149
+ disableCloseUnderTransfer: import("vue").Ref<boolean>;
150
+ selectionMode: import("vue").Ref<SelectionModeType>;
151
+ forceInputRerender: import("vue").Ref<number>;
152
+ isFocused: import("vue").Ref<boolean>;
153
+ focusedDate: import("vue").Ref<any>;
154
+ focusedTime: import("vue").Ref<{
155
+ column: number;
156
+ picker: number;
157
+ time: any;
158
+ active: boolean;
159
+ }>;
160
+ internalFocus: import("vue").Ref<boolean>;
161
+ timeEnterMode: import("vue").Ref<boolean>;
162
+ shortcut: import("vue").Ref<any>;
163
+ onSelectionModeChange: import("vue").Ref<(_type: any) => SelectionModeType>;
164
+ }, 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", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
113
165
  readonly type: {
114
- readonly type: PropType<PickerTypeType>;
166
+ readonly type: import("vue").PropType<import("./interface").PickerTypeType>;
115
167
  readonly default: "date";
116
168
  readonly validator: (value: any) => boolean;
117
169
  };
@@ -145,7 +197,7 @@ declare const _default: import("vue").DefineComponent<{
145
197
  readonly default: false;
146
198
  };
147
199
  readonly timePickerOptions: {
148
- readonly type: PropType<Record<string, any>>;
200
+ readonly type: import("vue").PropType<Record<string, any>>;
149
201
  readonly default: () => {};
150
202
  };
151
203
  readonly splitPanels: {
@@ -158,7 +210,7 @@ declare const _default: import("vue").DefineComponent<{
158
210
  readonly default: "";
159
211
  };
160
212
  readonly placement: {
161
- readonly type: PropType<import("@popperjs/core").ComputedPlacement>;
213
+ readonly type: import("vue").PropType<import("@popperjs/core").ComputedPlacement>;
162
214
  readonly default: "bottom-start";
163
215
  readonly validator: (value: any) => boolean;
164
216
  };
@@ -171,7 +223,7 @@ declare const _default: import("vue").DefineComponent<{
171
223
  readonly default: false;
172
224
  };
173
225
  readonly shortcuts: {
174
- readonly type: PropType<DatePickerShortcutsType>;
226
+ readonly type: import("vue").PropType<import("./interface").DatePickerShortcutsType>;
175
227
  readonly default: () => any[];
176
228
  };
177
229
  readonly shortcutClose: {
@@ -179,14 +231,17 @@ declare const _default: import("vue").DefineComponent<{
179
231
  readonly default: false;
180
232
  };
181
233
  readonly modelValue: {
182
- readonly type: PropType<DatePickerValueType>;
234
+ readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
235
+ };
236
+ readonly value: {
237
+ readonly type: import("vue").PropType<import("./interface").DatePickerValueType>;
183
238
  };
184
239
  readonly options: {
185
240
  readonly type: ObjectConstructor;
186
241
  readonly default: () => {};
187
242
  };
188
243
  readonly fontSize: {
189
- readonly type: PropType<"large" | "normal" | "medium">;
244
+ readonly type: import("vue").PropType<"large" | "normal" | "medium">;
190
245
  readonly default: "normal";
191
246
  };
192
247
  readonly upToNow: {
@@ -201,6 +256,10 @@ declare const _default: import("vue").DefineComponent<{
201
256
  readonly type: NumberConstructor;
202
257
  readonly default: -1;
203
258
  };
259
+ readonly headerSlotCls: {
260
+ readonly type: StringConstructor;
261
+ readonly default: "";
262
+ };
204
263
  readonly footerSlotCls: {
205
264
  readonly type: StringConstructor;
206
265
  readonly default: "";
@@ -210,148 +269,44 @@ declare const _default: import("vue").DefineComponent<{
210
269
  readonly default: false;
211
270
  };
212
271
  readonly behavior: {
213
- readonly type: PropType<"normal" | "simplicity">;
272
+ readonly type: import("vue").PropType<"normal" | "simplicity">;
214
273
  readonly default: "normal";
215
274
  readonly validator: (v: any) => boolean;
216
275
  };
217
- readonly disableDate: PropType<DisableDateType>;
218
- }, {
219
- panel: import("vue").ComputedRef<DatePickerPanelType>;
220
- publicStringValue: import("vue").ComputedRef<any>;
221
- opened: import("vue").ComputedRef<boolean>;
222
- visualValue: import("vue").ComputedRef<any>;
223
- displayValue: import("vue").ComputedRef<any>;
224
- isConfirm: import("vue").ComputedRef<boolean>;
225
- fontSizeCls: import("vue").ComputedRef<string>;
226
- longWidthCls: import("vue").ComputedRef<string>;
227
- localReadonly: import("vue").ComputedRef<boolean>;
228
- hasFooter: import("vue").ComputedRef<boolean>;
229
- allowCrossDayProp: import("vue").ComputedRef<boolean>;
230
- pickerDropdownRef: any;
231
- inputRef: any;
232
- triggerRef: import("vue").Ref<HTMLElement>;
233
- pickerPanelRef: any;
234
- handleClose: (e?: Event) => boolean;
235
- handleIconClick: () => void;
236
- handleInputMouseenter: () => void;
237
- handleInputMouseleave: (e: any) => void;
238
- handleFocus: (e: any) => void;
239
- handleBlur: (e: any) => void;
240
- handleKeydown: (e: KeyboardEvent) => void;
241
- handleInputChange: (e: any) => void;
242
- handleClear: () => void;
243
- handleTransferClick: () => void;
244
- onPick: (_dates: any, visible: boolean, type: any, shortcut: any) => void;
245
- showClose: import("vue").Ref<boolean>;
246
- visible: import("vue").Ref<boolean>;
247
- internalValue: any;
248
- disableClickOutSide: import("vue").Ref<boolean>;
249
- disableCloseUnderTransfer: import("vue").Ref<boolean>;
250
- selectionMode: import("vue").Ref<SelectionModeType>;
251
- forceInputRerender: import("vue").Ref<number>;
252
- isFocused: import("vue").Ref<boolean>;
253
- focusedDate: any;
254
- focusedTime: import("vue").Ref<{
255
- column: number;
256
- picker: number;
257
- time: any;
258
- active: boolean;
259
- }>;
260
- internalFocus: import("vue").Ref<boolean>;
261
- timeEnterMode: import("vue").Ref<boolean>;
262
- shortcut: any;
263
- onSelectionModeChange: import("vue").Ref<(_type: any) => SelectionModeType>;
264
- }, 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", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
265
- readonly type?: unknown;
266
- readonly extPopoverCls?: unknown;
267
- readonly format?: unknown;
268
- readonly readonly?: unknown;
269
- readonly disabled?: unknown;
270
- readonly editable?: unknown;
271
- readonly clearable?: unknown;
272
- readonly open?: unknown;
273
- readonly multiple?: unknown;
274
- readonly timePickerOptions?: unknown;
275
- readonly splitPanels?: unknown;
276
- readonly startDate?: unknown;
277
- readonly placeholder?: unknown;
278
- readonly placement?: unknown;
279
- readonly transfer?: unknown;
280
- readonly appendToBody?: unknown;
281
- readonly shortcuts?: unknown;
282
- readonly shortcutClose?: unknown;
283
- readonly modelValue?: unknown;
284
- readonly options?: unknown;
285
- readonly fontSize?: unknown;
286
- readonly upToNow?: unknown;
287
- readonly useShortcutText?: unknown;
288
- readonly shortcutSelectedIndex?: unknown;
289
- readonly footerSlotCls?: unknown;
290
- readonly allowCrossDay?: unknown;
291
- readonly behavior?: unknown;
292
- readonly disableDate?: unknown;
293
- } & {
294
- placement: import("@popperjs/core").ComputedPlacement;
295
- options: Record<string, any>;
296
- placeholder: string;
297
- multiple: boolean;
298
- disabled: boolean;
299
- type: PickerTypeType;
300
- extPopoverCls: string;
301
- readonly: boolean;
302
- editable: boolean;
303
- clearable: boolean;
304
- timePickerOptions: {};
305
- splitPanels: boolean;
306
- transfer: boolean;
307
- appendToBody: boolean;
308
- shortcuts: DatePickerShortcutsType;
309
- shortcutClose: boolean;
310
- fontSize: "large" | "normal" | "medium";
311
- upToNow: boolean;
312
- useShortcutText: boolean;
313
- shortcutSelectedIndex: number;
314
- footerSlotCls: string;
315
- allowCrossDay: boolean;
316
- behavior: "normal" | "simplicity";
317
- } & {
318
- open?: boolean;
319
- modelValue?: DatePickerValueType;
320
- format?: string;
321
- startDate?: Date;
322
- disableDate?: DisableDateType;
323
- }> & {
276
+ readonly disableDate: import("vue").PropType<import("./interface").DisableDateType>;
277
+ }>> & {
324
278
  onChange?: (...args: any[]) => any;
325
279
  onInput?: (...args: any[]) => any;
326
280
  "onUpdate:modelValue"?: (...args: any[]) => any;
327
- "onPick-success"?: (...args: any[]) => any;
328
281
  onClear?: (...args: any[]) => any;
282
+ "onPick-success"?: (...args: any[]) => any;
329
283
  "onOpen-change"?: (...args: any[]) => any;
330
284
  "onShortcut-change"?: (...args: any[]) => any;
331
285
  }, {
332
286
  placement: import("@popperjs/core").ComputedPlacement;
333
287
  options: Record<string, any>;
288
+ type: import("./interface").PickerTypeType;
289
+ disabled: boolean;
334
290
  placeholder: string;
291
+ fontSize: "large" | "normal" | "medium";
335
292
  open: boolean;
336
293
  multiple: boolean;
337
- disabled: boolean;
338
- type: PickerTypeType;
339
- extPopoverCls: string;
294
+ clearable: boolean;
340
295
  readonly: boolean;
296
+ behavior: "normal" | "simplicity";
297
+ extPopoverCls: string;
341
298
  editable: boolean;
342
- clearable: boolean;
343
299
  timePickerOptions: {};
344
300
  splitPanels: boolean;
345
301
  transfer: boolean;
346
302
  appendToBody: boolean;
347
- shortcuts: DatePickerShortcutsType;
303
+ shortcuts: import("./interface").DatePickerShortcutsType;
348
304
  shortcutClose: boolean;
349
- fontSize: "large" | "normal" | "medium";
350
305
  upToNow: boolean;
351
306
  useShortcutText: boolean;
352
307
  shortcutSelectedIndex: number;
308
+ headerSlotCls: string;
353
309
  footerSlotCls: string;
354
310
  allowCrossDay: boolean;
355
- behavior: "normal" | "simplicity";
356
311
  }>;
357
312
  export default _default;
@@ -33,6 +33,7 @@
33
33
  border: 1px solid @light-gray;
34
34
  border-radius: 2px;
35
35
  outline: none;
36
+ box-sizing: border-box;
36
37
 
37
38
  &.only-bottom-border {
38
39
  border-color: transparent transparent @light-gray transparent;
@@ -79,12 +80,14 @@
79
80
 
80
81
  .clear-action {
81
82
  position: absolute;
82
- top: 50%;
83
+ // transform: translateY(-50%);
84
+ top: 0;
85
+ // top: 50%;
83
86
  right: 10px;
87
+ padding: 5px 0;
84
88
  font-size: 14px;
85
89
  color: @light-gray;
86
90
  cursor: pointer;
87
- transform: translateY(-50%);
88
91
 
89
92
  &:hover {
90
93
  color: @gray-color;