bkui-vue 0.0.1-beta.38 → 0.0.1-beta.40

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 (482) hide show
  1. package/lib/alert/alert.css +75 -0
  2. package/lib/alert/alert.d.ts +62 -0
  3. package/lib/alert/alert.js +1 -0
  4. package/lib/alert/alert.less +110 -0
  5. package/lib/alert/alert.variable.css +168 -0
  6. package/lib/alert/index.d.ts +180 -0
  7. package/lib/animate-number/animate-number.d.ts +27 -0
  8. package/lib/animate-number/animate-number.js +1 -0
  9. package/lib/animate-number/index.d.ts +97 -0
  10. package/lib/backtop/backtop.css +42 -0
  11. package/lib/backtop/backtop.d.ts +60 -0
  12. package/lib/backtop/backtop.js +1 -0
  13. package/lib/backtop/backtop.less +18 -0
  14. package/lib/backtop/backtop.variable.css +135 -0
  15. package/lib/backtop/index.d.ts +166 -0
  16. package/lib/badge/badge.css +121 -0
  17. package/lib/badge/badge.d.ts +91 -0
  18. package/lib/badge/badge.js +1 -0
  19. package/lib/badge/badge.less +137 -0
  20. package/lib/badge/badge.variable.css +214 -0
  21. package/lib/badge/index.d.ts +217 -0
  22. package/lib/breadcrumb/breadcrumb-item.d.ts +36 -0
  23. package/lib/breadcrumb/breadcrumb.css +68 -0
  24. package/lib/breadcrumb/breadcrumb.d.ts +54 -0
  25. package/lib/breadcrumb/breadcrumb.js +1 -0
  26. package/lib/breadcrumb/breadcrumb.less +65 -0
  27. package/lib/breadcrumb/breadcrumb.variable.css +161 -0
  28. package/lib/breadcrumb/index.d.ts +194 -0
  29. package/lib/breadcrumb/props.d.ts +4 -0
  30. package/lib/button/button-group.d.ts +6 -0
  31. package/lib/button/button.css +265 -0
  32. package/lib/button/button.d.ts +143 -0
  33. package/lib/button/button.js +1 -0
  34. package/lib/button/button.less +195 -0
  35. package/lib/button/button.variable.css +358 -0
  36. package/lib/button/index.d.ts +226 -0
  37. package/lib/card/card.css +63 -0
  38. package/lib/card/card.d.ts +69 -0
  39. package/lib/card/card.js +1 -0
  40. package/lib/card/card.less +44 -0
  41. package/lib/card/card.variable.css +156 -0
  42. package/lib/card/index.d.ts +187 -0
  43. package/lib/checkbox/checkbox-group.d.ts +48 -0
  44. package/lib/checkbox/checkbox.css +64 -0
  45. package/lib/checkbox/checkbox.d.ts +114 -0
  46. package/lib/checkbox/checkbox.js +1 -0
  47. package/lib/checkbox/checkbox.less +80 -0
  48. package/lib/checkbox/checkbox.variable.css +157 -0
  49. package/lib/checkbox/common.d.ts +13 -0
  50. package/lib/checkbox/index.d.ts +261 -0
  51. package/lib/checkbox/type.d.ts +19 -0
  52. package/lib/code-diff/code-diff.css +186 -0
  53. package/lib/code-diff/code-diff.d.ts +80 -0
  54. package/lib/code-diff/code-diff.js +1 -0
  55. package/lib/code-diff/code-diff.less +238 -0
  56. package/lib/code-diff/code-diff.variable.css +279 -0
  57. package/lib/code-diff/index.d.ts +154 -0
  58. package/lib/collapse/collapse.css +30 -0
  59. package/lib/collapse/collapse.d.ts +106 -0
  60. package/lib/collapse/collapse.js +1 -0
  61. package/lib/collapse/collapse.less +37 -0
  62. package/lib/collapse/collapse.variable.css +30 -0
  63. package/lib/collapse/index.d.ts +166 -0
  64. package/lib/components.d.ts +41 -0
  65. package/lib/date-picker/date-picker.css +407 -0
  66. package/lib/date-picker/date-picker.d.ts +294 -0
  67. package/lib/date-picker/date-picker.js +1 -0
  68. package/lib/date-picker/date-picker.less +526 -0
  69. package/lib/date-picker/date-picker.variable.css +500 -0
  70. package/lib/date-picker/fecha.d.ts +6 -0
  71. package/lib/date-picker/index.d.ts +713 -0
  72. package/lib/date-picker/interface.d.ts +22 -0
  73. package/lib/date-picker/props.d.ts +111 -0
  74. package/lib/date-picker/utils.d.ts +97 -0
  75. package/lib/dialog/dialog.css +68 -0
  76. package/lib/dialog/dialog.d.ts +113 -0
  77. package/lib/dialog/dialog.js +1 -0
  78. package/lib/dialog/dialog.less +80 -0
  79. package/lib/dialog/dialog.variable.css +68 -0
  80. package/lib/dialog/index.d.ts +286 -0
  81. package/lib/directives/clickoutside.d.ts +3 -0
  82. package/lib/directives/directives.js +2 -0
  83. package/lib/directives/directives.js.LICENSE.txt +14 -0
  84. package/lib/directives/index.d.ts +3 -0
  85. package/lib/directives/mousewheel.d.ts +3 -0
  86. package/lib/directives/tooltips.d.ts +17 -0
  87. package/lib/divider/divider.css +38 -0
  88. package/lib/divider/divider.d.ts +48 -0
  89. package/lib/divider/divider.js +1 -0
  90. package/lib/divider/divider.less +53 -0
  91. package/lib/divider/divider.variable.css +131 -0
  92. package/lib/divider/index.d.ts +142 -0
  93. package/lib/divider/props.d.ts +21 -0
  94. package/lib/dropdown/dropdown-item.d.ts +19 -0
  95. package/lib/dropdown/dropdown-menu.d.ts +16 -0
  96. package/lib/dropdown/dropdown.css +43 -0
  97. package/lib/dropdown/dropdown.d.ts +61 -0
  98. package/lib/dropdown/dropdown.js +1 -0
  99. package/lib/dropdown/dropdown.less +54 -0
  100. package/lib/dropdown/dropdown.variable.css +136 -0
  101. package/lib/dropdown/index.d.ts +192 -0
  102. package/lib/exception/exception.css +32 -0
  103. package/lib/exception/exception.d.ts +26 -0
  104. package/lib/exception/exception.js +1 -0
  105. package/lib/exception/exception.less +39 -0
  106. package/lib/exception/exception.variable.css +125 -0
  107. package/lib/exception/index.d.ts +96 -0
  108. package/lib/fixed-navbar/fixed-navbar.css +42 -0
  109. package/lib/fixed-navbar/fixed-navbar.d.ts +34 -0
  110. package/lib/fixed-navbar/fixed-navbar.js +1 -0
  111. package/lib/fixed-navbar/fixed-navbar.less +53 -0
  112. package/lib/fixed-navbar/fixed-navbar.variable.css +135 -0
  113. package/lib/fixed-navbar/index.d.ts +112 -0
  114. package/lib/form/common.d.ts +3 -0
  115. package/lib/form/form-item.d.ts +145 -0
  116. package/lib/form/form.css +48 -0
  117. package/lib/form/form.d.ts +64 -0
  118. package/lib/form/form.js +1 -0
  119. package/lib/form/form.less +63 -0
  120. package/lib/form/form.variable.css +48 -0
  121. package/lib/form/index.d.ts +246 -0
  122. package/lib/form/type.d.ts +21 -0
  123. package/lib/form/validator.d.ts +8 -0
  124. package/lib/icon/angle-double-down-line.d.ts +4 -0
  125. package/lib/icon/angle-double-down-line.js +1 -0
  126. package/lib/icon/angle-double-left-line.d.ts +4 -0
  127. package/lib/icon/angle-double-left-line.js +1 -0
  128. package/lib/icon/angle-double-left.d.ts +4 -0
  129. package/lib/icon/angle-double-left.js +1 -0
  130. package/lib/icon/angle-double-right-line.d.ts +4 -0
  131. package/lib/icon/angle-double-right-line.js +1 -0
  132. package/lib/icon/angle-double-right.d.ts +4 -0
  133. package/lib/icon/angle-double-right.js +1 -0
  134. package/lib/icon/angle-double-up-line.d.ts +4 -0
  135. package/lib/icon/angle-double-up-line.js +1 -0
  136. package/lib/icon/angle-down-fill.d.ts +4 -0
  137. package/lib/icon/angle-down-fill.js +1 -0
  138. package/lib/icon/angle-down-line.d.ts +4 -0
  139. package/lib/icon/angle-down-line.js +1 -0
  140. package/lib/icon/angle-down.d.ts +4 -0
  141. package/lib/icon/angle-down.js +1 -0
  142. package/lib/icon/angle-left.d.ts +4 -0
  143. package/lib/icon/angle-left.js +1 -0
  144. package/lib/icon/angle-right.d.ts +4 -0
  145. package/lib/icon/angle-right.js +1 -0
  146. package/lib/icon/angle-up-fill.d.ts +4 -0
  147. package/lib/icon/angle-up-fill.js +1 -0
  148. package/lib/icon/angle-up.d.ts +4 -0
  149. package/lib/icon/angle-up.js +1 -0
  150. package/lib/icon/arrows-left.d.ts +4 -0
  151. package/lib/icon/arrows-left.js +1 -0
  152. package/lib/icon/arrows-right.d.ts +4 -0
  153. package/lib/icon/arrows-right.js +1 -0
  154. package/lib/icon/bk.d.ts +4 -0
  155. package/lib/icon/bk.js +1 -0
  156. package/lib/icon/circle.d.ts +4 -0
  157. package/lib/icon/circle.js +1 -0
  158. package/lib/icon/close.d.ts +4 -0
  159. package/lib/icon/close.js +1 -0
  160. package/lib/icon/code.d.ts +4 -0
  161. package/lib/icon/code.js +1 -0
  162. package/lib/icon/cog-shape.d.ts +4 -0
  163. package/lib/icon/cog-shape.js +1 -0
  164. package/lib/icon/collapse-left.d.ts +4 -0
  165. package/lib/icon/collapse-left.js +1 -0
  166. package/lib/icon/copy.d.ts +4 -0
  167. package/lib/icon/copy.js +1 -0
  168. package/lib/icon/done.d.ts +4 -0
  169. package/lib/icon/done.js +1 -0
  170. package/lib/icon/down-shape.d.ts +4 -0
  171. package/lib/icon/down-shape.js +1 -0
  172. package/lib/icon/down-small.d.ts +4 -0
  173. package/lib/icon/down-small.js +1 -0
  174. package/lib/icon/ellipsis.d.ts +4 -0
  175. package/lib/icon/ellipsis.js +1 -0
  176. package/lib/icon/error.d.ts +4 -0
  177. package/lib/icon/error.js +1 -0
  178. package/lib/icon/eye.d.ts +4 -0
  179. package/lib/icon/eye.js +1 -0
  180. package/lib/icon/folder-open.d.ts +4 -0
  181. package/lib/icon/folder-open.js +1 -0
  182. package/lib/icon/folder-shape-open.d.ts +4 -0
  183. package/lib/icon/folder-shape-open.js +1 -0
  184. package/lib/icon/folder-shape.d.ts +4 -0
  185. package/lib/icon/folder-shape.js +1 -0
  186. package/lib/icon/folder.d.ts +4 -0
  187. package/lib/icon/folder.js +1 -0
  188. package/lib/icon/help-document-fill.d.ts +4 -0
  189. package/lib/icon/help-document-fill.js +1 -0
  190. package/lib/icon/help-fill.d.ts +4 -0
  191. package/lib/icon/help-fill.js +1 -0
  192. package/lib/icon/help.d.ts +4 -0
  193. package/lib/icon/help.js +1 -0
  194. package/lib/icon/icon.d.ts +12 -0
  195. package/lib/icon/icon.js +1 -0
  196. package/lib/icon/index.d.ts +53 -0
  197. package/lib/icon/info-line.d.ts +4 -0
  198. package/lib/icon/info-line.js +1 -0
  199. package/lib/icon/info.d.ts +4 -0
  200. package/lib/icon/info.js +1 -0
  201. package/lib/icon/left-shape.d.ts +4 -0
  202. package/lib/icon/left-shape.js +1 -0
  203. package/lib/icon/play-shape.d.ts +4 -0
  204. package/lib/icon/play-shape.js +1 -0
  205. package/lib/icon/plus.d.ts +4 -0
  206. package/lib/icon/plus.js +1 -0
  207. package/lib/icon/qq.d.ts +4 -0
  208. package/lib/icon/qq.js +1 -0
  209. package/lib/icon/right-shape.d.ts +4 -0
  210. package/lib/icon/right-shape.js +1 -0
  211. package/lib/icon/search.d.ts +4 -0
  212. package/lib/icon/search.js +1 -0
  213. package/lib/icon/share.d.ts +4 -0
  214. package/lib/icon/share.js +1 -0
  215. package/lib/icon/spinner.d.ts +4 -0
  216. package/lib/icon/spinner.js +1 -0
  217. package/lib/icon/success.d.ts +4 -0
  218. package/lib/icon/success.js +1 -0
  219. package/lib/icon/switcher-loading.d.ts +4 -0
  220. package/lib/icon/switcher-loading.js +1 -0
  221. package/lib/icon/text-file.d.ts +4 -0
  222. package/lib/icon/text-file.js +1 -0
  223. package/lib/icon/tree-application-shape.d.ts +4 -0
  224. package/lib/icon/tree-application-shape.js +1 -0
  225. package/lib/icon/unvisible.d.ts +4 -0
  226. package/lib/icon/unvisible.js +1 -0
  227. package/lib/icon/up-shape.d.ts +4 -0
  228. package/lib/icon/up-shape.js +1 -0
  229. package/lib/icon/warn.d.ts +4 -0
  230. package/lib/icon/warn.js +1 -0
  231. package/lib/icon/weixin.d.ts +4 -0
  232. package/lib/icon/weixin.js +1 -0
  233. package/lib/index.d.ts +4 -0
  234. package/lib/input/index.d.ts +443 -0
  235. package/lib/input/input.css +190 -0
  236. package/lib/input/input.d.ts +254 -0
  237. package/lib/input/input.js +1 -0
  238. package/lib/input/input.less +214 -0
  239. package/lib/input/input.variable.css +284 -0
  240. package/lib/link/index.d.ts +164 -0
  241. package/lib/link/link.css +55 -0
  242. package/lib/link/link.d.ts +58 -0
  243. package/lib/link/link.js +1 -0
  244. package/lib/link/link.less +74 -0
  245. package/lib/link/link.variable.css +148 -0
  246. package/lib/loading/index.d.ts +164 -0
  247. package/lib/loading/loading.css +261 -0
  248. package/lib/loading/loading.d.ts +94 -0
  249. package/lib/loading/loading.js +1 -0
  250. package/lib/loading/loading.less +197 -0
  251. package/lib/loading/loading.variable.css +354 -0
  252. package/lib/menu/index.d.ts +188 -0
  253. package/lib/menu/menu-group.d.ts +14 -0
  254. package/lib/menu/menu-item.d.ts +16 -0
  255. package/lib/menu/menu.css +182 -0
  256. package/lib/menu/menu.d.ts +64 -0
  257. package/lib/menu/menu.js +1 -0
  258. package/lib/menu/menu.less +180 -0
  259. package/lib/menu/menu.variable.css +275 -0
  260. package/lib/menu/submenu.css +3 -0
  261. package/lib/menu/submenu.d.ts +22 -0
  262. package/lib/menu/submenu.less +5 -0
  263. package/lib/menu/submenu.variable.css +96 -0
  264. package/lib/menu/utils.d.ts +41 -0
  265. package/lib/message/index.d.ts +2 -0
  266. package/lib/message/message.css +53 -0
  267. package/lib/message/message.js +1 -0
  268. package/lib/message/message.less +61 -0
  269. package/lib/message/message.variable.css +146 -0
  270. package/lib/message/messageConstructor.d.ts +73 -0
  271. package/lib/modal/index.d.ts +214 -0
  272. package/lib/modal/modal.css +11 -0
  273. package/lib/modal/modal.d.ts +65 -0
  274. package/lib/modal/modal.js +1 -0
  275. package/lib/modal/modal.less +12 -0
  276. package/lib/modal/modal.variable.css +11 -0
  277. package/lib/modal/props.mixin.d.ts +26 -0
  278. package/lib/navigation/index.d.ts +2 -0
  279. package/lib/navigation/navigation-title.d.ts +25 -0
  280. package/lib/navigation/navigation.css +184 -0
  281. package/lib/navigation/navigation.d.ts +111 -0
  282. package/lib/navigation/navigation.js +1 -0
  283. package/lib/navigation/navigation.less +210 -0
  284. package/lib/navigation/navigation.variable.css +277 -0
  285. package/lib/notify/index.d.ts +2 -0
  286. package/lib/notify/notify.css +49 -0
  287. package/lib/notify/notify.js +1 -0
  288. package/lib/notify/notify.less +58 -0
  289. package/lib/notify/notify.variable.css +142 -0
  290. package/lib/notify/notifyConstructor.d.ts +91 -0
  291. package/lib/pagination/index.d.ts +395 -0
  292. package/lib/pagination/pagination.css +179 -0
  293. package/lib/pagination/pagination.d.ts +220 -0
  294. package/lib/pagination/pagination.js +1 -0
  295. package/lib/pagination/pagination.less +201 -0
  296. package/lib/pagination/pagination.variable.css +272 -0
  297. package/lib/pagination/type.d.ts +6 -0
  298. package/lib/pagination/use-limit.d.ts +8 -0
  299. package/lib/pagination/use-list.d.ts +8 -0
  300. package/lib/pagination/use-small-list.d.ts +5 -0
  301. package/lib/pagination/use-total.d.ts +5 -0
  302. package/lib/popover/index.d.ts +287 -0
  303. package/lib/popover/popover.css +65 -0
  304. package/lib/popover/popover.d.ts +117 -0
  305. package/lib/popover/popover.js +1 -0
  306. package/lib/popover/popover.less +82 -0
  307. package/lib/popover/popover.variable.css +158 -0
  308. package/lib/popover/props.d.ts +77 -0
  309. package/lib/preset.d.ts +7 -0
  310. package/lib/process/index.d.ts +205 -0
  311. package/lib/process/process.css +138 -0
  312. package/lib/process/process.d.ts +131 -0
  313. package/lib/process/process.js +1 -0
  314. package/lib/process/process.less +178 -0
  315. package/lib/process/process.variable.css +231 -0
  316. package/lib/progress/circle.d.ts +6 -0
  317. package/lib/progress/index.d.ts +398 -0
  318. package/lib/progress/line.d.ts +6 -0
  319. package/lib/progress/progress.css +94 -0
  320. package/lib/progress/progress.d.ts +171 -0
  321. package/lib/progress/progress.js +1 -0
  322. package/lib/progress/progress.less +90 -0
  323. package/lib/progress/progress.variable.css +187 -0
  324. package/lib/radio/common.d.ts +13 -0
  325. package/lib/radio/index.d.ts +277 -0
  326. package/lib/radio/radio-button.d.ts +91 -0
  327. package/lib/radio/radio-group.d.ts +41 -0
  328. package/lib/radio/radio.css +138 -0
  329. package/lib/radio/radio.d.ts +87 -0
  330. package/lib/radio/radio.js +1 -0
  331. package/lib/radio/radio.less +173 -0
  332. package/lib/radio/radio.variable.css +231 -0
  333. package/lib/radio/type.d.ts +9 -0
  334. package/lib/rate/index.d.ts +113 -0
  335. package/lib/rate/rate.css +10 -0
  336. package/lib/rate/rate.d.ts +32 -0
  337. package/lib/rate/rate.js +1 -0
  338. package/lib/rate/rate.less +11 -0
  339. package/lib/rate/rate.variable.css +10 -0
  340. package/lib/rate/star.css +24 -0
  341. package/lib/rate/star.d.ts +74 -0
  342. package/lib/rate/star.less +29 -0
  343. package/lib/rate/star.variable.css +24 -0
  344. package/lib/resize-layout/index.d.ts +336 -0
  345. package/lib/resize-layout/resize-layout.css +189 -0
  346. package/lib/resize-layout/resize-layout.d.ts +127 -0
  347. package/lib/resize-layout/resize-layout.js +1 -0
  348. package/lib/resize-layout/resize-layout.less +233 -0
  349. package/lib/resize-layout/resize-layout.variable.css +282 -0
  350. package/lib/select/common.d.ts +33 -0
  351. package/lib/select/index.d.ts +1347 -0
  352. package/lib/select/option.d.ts +25 -0
  353. package/lib/select/optionGroup.d.ts +54 -0
  354. package/lib/select/select.css +325 -0
  355. package/lib/select/select.d.ts +395 -0
  356. package/lib/select/select.js +1 -0
  357. package/lib/select/select.less +324 -0
  358. package/lib/select/select.variable.css +418 -0
  359. package/lib/select/type.d.ts +31 -0
  360. package/lib/shared/helper.d.ts +92 -0
  361. package/lib/shared/index.d.ts +52 -0
  362. package/lib/shared/mask-manager.d.ts +76 -0
  363. package/lib/shared/pop-manager.d.ts +26 -0
  364. package/lib/shared/popover.d.ts +127 -0
  365. package/lib/shared/scrollbar-width.d.ts +1 -0
  366. package/lib/shared/shared.js +1 -0
  367. package/lib/shared/utils.d.ts +6 -0
  368. package/lib/shared/vue-types.d.ts +115 -0
  369. package/lib/shared/z-index-manager.d.ts +93 -0
  370. package/lib/sideslider/index.d.ts +206 -0
  371. package/lib/sideslider/sideslider.css +69 -0
  372. package/lib/sideslider/sideslider.d.ts +75 -0
  373. package/lib/sideslider/sideslider.js +1 -0
  374. package/lib/sideslider/sideslider.less +86 -0
  375. package/lib/sideslider/sideslider.variable.css +162 -0
  376. package/lib/slider/index.d.ts +27 -0
  377. package/lib/slider/slider-button.d.ts +80 -0
  378. package/lib/slider/slider.css +149 -0
  379. package/lib/slider/slider.d.ts +201 -0
  380. package/lib/slider/slider.js +1 -0
  381. package/lib/slider/slider.less +179 -0
  382. package/lib/slider/slider.variable.css +242 -0
  383. package/lib/steps/index.d.ts +250 -0
  384. package/lib/steps/steps.css +288 -0
  385. package/lib/steps/steps.d.ts +161 -0
  386. package/lib/steps/steps.js +1 -0
  387. package/lib/steps/steps.less +324 -0
  388. package/lib/steps/steps.variable.css +381 -0
  389. package/lib/styles/index.d.ts +47 -0
  390. package/lib/styles/mixins/animate.css +21 -0
  391. package/lib/styles/mixins/animate.less +27 -0
  392. package/lib/styles/mixins/animate.variable.css +21 -0
  393. package/lib/styles/mixins/ellipsis.less +8 -0
  394. package/lib/styles/mixins/mixins.css +21 -0
  395. package/lib/styles/mixins/mixins.less +3 -0
  396. package/lib/styles/mixins/mixins.variable.css +21 -0
  397. package/lib/styles/mixins/popper.css +43 -0
  398. package/lib/styles/mixins/popper.less +52 -0
  399. package/lib/styles/mixins/popper.variable.css +43 -0
  400. package/lib/styles/mixins/size.less +13 -0
  401. package/lib/styles/reset.css +273 -0
  402. package/lib/styles/reset.less +313 -0
  403. package/lib/styles/reset.variable.css +273 -0
  404. package/lib/styles/themes/themes.less +126 -0
  405. package/lib/swiper/index.d.ts +181 -0
  406. package/lib/swiper/swiper.css +91 -0
  407. package/lib/swiper/swiper.d.ts +65 -0
  408. package/lib/swiper/swiper.js +1 -0
  409. package/lib/swiper/swiper.less +107 -0
  410. package/lib/swiper/swiper.variable.css +91 -0
  411. package/lib/switcher/index.d.ts +286 -0
  412. package/lib/switcher/switcher.css +272 -0
  413. package/lib/switcher/switcher.d.ts +113 -0
  414. package/lib/switcher/switcher.js +1 -0
  415. package/lib/switcher/switcher.less +358 -0
  416. package/lib/switcher/switcher.variable.css +365 -0
  417. package/lib/tab/index.d.ts +443 -0
  418. package/lib/tab/props.d.ts +191 -0
  419. package/lib/tab/tab-nav.d.ts +165 -0
  420. package/lib/tab/tab-panel.d.ts +73 -0
  421. package/lib/tab/tab.css +148 -0
  422. package/lib/tab/tab.d.ts +140 -0
  423. package/lib/tab/tab.js +1 -0
  424. package/lib/tab/tab.less +222 -0
  425. package/lib/tab/tab.variable.css +241 -0
  426. package/lib/table/const.d.ts +4 -0
  427. package/lib/table/index.d.ts +302 -0
  428. package/lib/table/props.d.ts +117 -0
  429. package/lib/table/render.d.ts +83 -0
  430. package/lib/table/table.css +91 -0
  431. package/lib/table/table.d.ts +119 -0
  432. package/lib/table/table.js +1 -0
  433. package/lib/table/table.less +115 -0
  434. package/lib/table/table.variable.css +184 -0
  435. package/lib/table/utils.d.ts +69 -0
  436. package/lib/tag/index.d.ts +229 -0
  437. package/lib/tag/tag.css +97 -0
  438. package/lib/tag/tag.d.ts +84 -0
  439. package/lib/tag/tag.js +1 -0
  440. package/lib/tag/tag.less +113 -0
  441. package/lib/tag/tag.variable.css +190 -0
  442. package/lib/tag-input/common.d.ts +24 -0
  443. package/lib/tag-input/index.d.ts +2 -0
  444. package/lib/tag-input/list-tag-render.d.ts +47 -0
  445. package/lib/tag-input/tag-input.css +208 -0
  446. package/lib/tag-input/tag-input.d.ts +374 -0
  447. package/lib/tag-input/tag-input.js +1 -0
  448. package/lib/tag-input/tag-input.less +250 -0
  449. package/lib/tag-input/tag-input.variable.css +301 -0
  450. package/lib/tag-input/tag-props.d.ts +131 -0
  451. package/lib/tag-input/tag-render.d.ts +38 -0
  452. package/lib/timeline/index.d.ts +129 -0
  453. package/lib/timeline/timeline.css +235 -0
  454. package/lib/timeline/timeline.d.ts +81 -0
  455. package/lib/timeline/timeline.js +1 -0
  456. package/lib/timeline/timeline.less +239 -0
  457. package/lib/timeline/timeline.variable.css +328 -0
  458. package/lib/transfer/index.d.ts +351 -0
  459. package/lib/transfer/transfer.css +158 -0
  460. package/lib/transfer/transfer.d.ts +185 -0
  461. package/lib/transfer/transfer.js +1 -0
  462. package/lib/transfer/transfer.less +171 -0
  463. package/lib/transfer/transfer.variable.css +251 -0
  464. package/lib/tree/index.d.ts +287 -0
  465. package/lib/tree/props.d.ts +89 -0
  466. package/lib/tree/tree.css +50 -0
  467. package/lib/tree/tree.d.ts +111 -0
  468. package/lib/tree/tree.js +1 -0
  469. package/lib/tree/tree.less +63 -0
  470. package/lib/tree/tree.variable.css +143 -0
  471. package/lib/tree/util.d.ts +70 -0
  472. package/lib/use-form.d.ts +3 -0
  473. package/lib/use-message.d.ts +2 -0
  474. package/lib/virtual-render/index.d.ts +556 -0
  475. package/lib/virtual-render/props.d.ts +157 -0
  476. package/lib/virtual-render/v-virtual-render.d.ts +7 -0
  477. package/lib/virtual-render/virtual-render.css +33 -0
  478. package/lib/virtual-render/virtual-render.d.ts +244 -0
  479. package/lib/virtual-render/virtual-render.js +1 -0
  480. package/lib/virtual-render/virtual-render.less +43 -0
  481. package/lib/virtual-render/virtual-render.variable.css +33 -0
  482. package/package.json +12 -11
@@ -0,0 +1,190 @@
1
+ @keyframes loading-scale-animate {
2
+ 0% {
3
+ transform: scale(1);
4
+ }
5
+ 100% {
6
+ transform: scale(0.6);
7
+ }
8
+ }
9
+ @keyframes fade {
10
+ 100% {
11
+ background-color: transparent;
12
+ }
13
+ }
14
+ .bk-fade-transtion .bk-fade-enter-active,
15
+ .bk-fade-transtion .bk-fade-leave-active {
16
+ transition: all 0.3s cubic-bezier(0.55, 0, 0.1, 1);
17
+ }
18
+ .bk-fade-transtion .bk-fade-enter,
19
+ .bk-fade-transtion .bk-fade-leave-to {
20
+ opacity: 0;
21
+ }
22
+ .bk-textarea {
23
+ width: 100%;
24
+ min-height: 70px;
25
+ font-size: 12px;
26
+ line-height: 20px;
27
+ background-color: white;
28
+ border: 1px solid #c4c6cc;
29
+ border-radius: 2px;
30
+ box-sizing: border-box;
31
+ transition: all 0.3s;
32
+ }
33
+ .bk-textarea > textarea {
34
+ width: 100%;
35
+ padding: 5px 10px;
36
+ line-height: 1.5;
37
+ text-align: left;
38
+ vertical-align: middle;
39
+ border: 0;
40
+ outline: none;
41
+ resize: none;
42
+ }
43
+ .bk-textarea--max-length {
44
+ align-self: center;
45
+ padding-right: 10px;
46
+ margin: 0;
47
+ }
48
+ .bk-textarea--max-length span {
49
+ color: #979ba5;
50
+ }
51
+ .bk-input {
52
+ display: flex;
53
+ align-items: stretch;
54
+ height: 32px;
55
+ font-size: 12px;
56
+ border: 1px solid #c4c6cc;
57
+ border-radius: 2px;
58
+ transition: all 0.3s;
59
+ }
60
+ .bk-input:hover .show-clear-only-hover {
61
+ display: block;
62
+ }
63
+ .bk-input.is-simplicity {
64
+ background-color: transparent;
65
+ border-color: transparent;
66
+ border-bottom-color: #c4c6cc;
67
+ }
68
+ .bk-input--suffix-icon {
69
+ padding-right: 10px;
70
+ font-size: 16px;
71
+ line-height: 1;
72
+ color: #c4c6cc;
73
+ align-self: center;
74
+ }
75
+ .bk-input--suffix-icon.show-clear-only-hover {
76
+ display: none;
77
+ }
78
+ .bk-input--large {
79
+ height: 38px;
80
+ font-size: 14px;
81
+ }
82
+ .bk-input--large--max-length {
83
+ font-size: 16px;
84
+ }
85
+ .bk-input--small {
86
+ height: 26px;
87
+ font-size: 12px;
88
+ }
89
+ .bk-input--small--max-length {
90
+ font-size: 12px;
91
+ }
92
+ .bk-input--default {
93
+ font-size: 12px;
94
+ }
95
+ .bk-input--default--max-length {
96
+ font-size: 12px;
97
+ }
98
+ .bk-input.is-focused:not(.is-readonly) {
99
+ border-color: #3a84ff;
100
+ outline: 0;
101
+ box-shadow: 0px 0px 3px 0px #a3c5fd;
102
+ }
103
+ .bk-input.is-focused:not(.is-readonly).is-simplicity {
104
+ border-color: transparent;
105
+ border-bottom-color: #3a84ff;
106
+ box-shadow: none;
107
+ }
108
+ .bk-input.is-disabled {
109
+ cursor: not-allowed;
110
+ background-color: #fafbfd;
111
+ opacity: 1;
112
+ }
113
+ .bk-input--prefix-area,
114
+ .bk-input--suffix-area {
115
+ display: flex;
116
+ padding: 0 10px;
117
+ color: #63656e;
118
+ background-color: #f4f6fa;
119
+ border-right: 1px solid #c4c6cc;
120
+ align-items: center;
121
+ }
122
+ .bk-input--suffix-area {
123
+ border: 0;
124
+ border-left: 1px solid #c4c6cc;
125
+ }
126
+ .bk-input--max-length {
127
+ align-self: center;
128
+ padding-right: 10px;
129
+ }
130
+ .bk-input--max-length span {
131
+ color: #979ba5;
132
+ }
133
+ .bk-input--text {
134
+ padding: 0 10px;
135
+ line-height: 1;
136
+ color: #63656e;
137
+ background-color: white;
138
+ background-image: none;
139
+ border: none;
140
+ outline: none;
141
+ box-sizing: border-box;
142
+ transition: all 0.3s;
143
+ flex: 1;
144
+ }
145
+ .bk-input--text[type='search']::-webkit-search-decoration,
146
+ .bk-input--text[type='search']::-webkit-search-cancel-button,
147
+ .bk-input--text[type='search']::-webkit-search-results-button,
148
+ .bk-input--text[type='search']::-webkit-search-results-decoration {
149
+ appearance: none;
150
+ }
151
+ .bk-input--text [type='search']::-ms-clear {
152
+ display: none;
153
+ width: 0;
154
+ height: 0;
155
+ }
156
+ .bk-input--text [type='search']::-ms-reveal {
157
+ display: none;
158
+ width: 0;
159
+ height: 0;
160
+ }
161
+ .bk-input--text[type='number']::-webkit-inner-spin-button,
162
+ .bk-input--text[type='number']::-webkit-outer-spin-button {
163
+ margin: 0;
164
+ appearance: none;
165
+ }
166
+ .bk-input--text::placeholder {
167
+ color: #c4c6cc;
168
+ }
169
+ .bk-input--number-control {
170
+ width: 26px;
171
+ height: 100%;
172
+ font-size: 0;
173
+ flex-direction: column;
174
+ }
175
+ .bk-input--number-control span {
176
+ display: block;
177
+ height: 50%;
178
+ overflow: hidden;
179
+ color: #c4c6cc;
180
+ text-align: center;
181
+ }
182
+ .bk-input--number-control svg {
183
+ font-size: 16px;
184
+ }
185
+ .bk-input--number-control span:first-child {
186
+ transform: rotate(180deg);
187
+ }
188
+ .bk-input--number-control span:hover {
189
+ background-color: #f4f6fa;
190
+ }
@@ -0,0 +1,254 @@
1
+ import { ExtractPropTypes } from 'vue';
2
+ export declare const inputType: {
3
+ type: import("vue-types").VueTypeValidableDef<string> & {
4
+ default: string;
5
+ } & {
6
+ default: string;
7
+ };
8
+ clearable: import("vue-types").VueTypeValidableDef<boolean> & {
9
+ default: boolean;
10
+ };
11
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
12
+ default: boolean;
13
+ };
14
+ readonly: import("vue-types").VueTypeValidableDef<boolean> & {
15
+ default: boolean;
16
+ };
17
+ placeholder: import("vue-types").VueTypeValidableDef<string> & {
18
+ default: string;
19
+ };
20
+ prefixIcon: import("vue-types").VueTypeValidableDef<string> & {
21
+ default: string;
22
+ };
23
+ suffixIcon: import("vue-types").VueTypeValidableDef<string> & {
24
+ default: string;
25
+ };
26
+ suffix: import("vue-types").VueTypeValidableDef<string> & {
27
+ default: string;
28
+ };
29
+ prefix: import("vue-types").VueTypeValidableDef<string> & {
30
+ default: string;
31
+ };
32
+ step: import("vue-types").VueTypeDef<number> & {
33
+ default: number;
34
+ };
35
+ max: import("vue-types").VueTypeDef<number> & {
36
+ default: number;
37
+ };
38
+ min: import("vue-types").VueTypeDef<number> & {
39
+ default: number;
40
+ };
41
+ maxlength: import("vue-types").VueTypeDef<number> & {
42
+ default: number;
43
+ };
44
+ behavior: import("vue-types").VueTypeDef<string> & {
45
+ default: string;
46
+ };
47
+ showWordLimit: import("vue-types").VueTypeValidableDef<boolean> & {
48
+ default: boolean;
49
+ };
50
+ showControl: import("vue-types").VueTypeValidableDef<boolean> & {
51
+ default: boolean;
52
+ } & {
53
+ default: boolean;
54
+ };
55
+ showClearOnlyHover: import("vue-types").VueTypeValidableDef<boolean> & {
56
+ default: boolean;
57
+ } & {
58
+ default: boolean;
59
+ };
60
+ precision: import("vue-types").VueTypeValidableDef<number> & {
61
+ default: number;
62
+ } & {
63
+ default: number;
64
+ } & {
65
+ validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
66
+ };
67
+ modelValue: import("vue-types").VueTypeDef<string | number> & {
68
+ default: string | number;
69
+ };
70
+ size: import("vue-types").VueTypeDef<string>;
71
+ rows: import("vue-types").VueTypeValidableDef<number> & {
72
+ default: number;
73
+ };
74
+ };
75
+ export declare type InputType = ExtractPropTypes<typeof inputType>;
76
+ declare const _default: import("vue").DefineComponent<{
77
+ type: import("vue-types").VueTypeValidableDef<string> & {
78
+ default: string;
79
+ } & {
80
+ default: string;
81
+ };
82
+ clearable: import("vue-types").VueTypeValidableDef<boolean> & {
83
+ default: boolean;
84
+ };
85
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
86
+ default: boolean;
87
+ };
88
+ readonly: import("vue-types").VueTypeValidableDef<boolean> & {
89
+ default: boolean;
90
+ };
91
+ placeholder: import("vue-types").VueTypeValidableDef<string> & {
92
+ default: string;
93
+ };
94
+ prefixIcon: import("vue-types").VueTypeValidableDef<string> & {
95
+ default: string;
96
+ };
97
+ suffixIcon: import("vue-types").VueTypeValidableDef<string> & {
98
+ default: string;
99
+ };
100
+ suffix: import("vue-types").VueTypeValidableDef<string> & {
101
+ default: string;
102
+ };
103
+ prefix: import("vue-types").VueTypeValidableDef<string> & {
104
+ default: string;
105
+ };
106
+ step: import("vue-types").VueTypeDef<number> & {
107
+ default: number;
108
+ };
109
+ max: import("vue-types").VueTypeDef<number> & {
110
+ default: number;
111
+ };
112
+ min: import("vue-types").VueTypeDef<number> & {
113
+ default: number;
114
+ };
115
+ maxlength: import("vue-types").VueTypeDef<number> & {
116
+ default: number;
117
+ };
118
+ behavior: import("vue-types").VueTypeDef<string> & {
119
+ default: string;
120
+ };
121
+ showWordLimit: import("vue-types").VueTypeValidableDef<boolean> & {
122
+ default: boolean;
123
+ };
124
+ showControl: import("vue-types").VueTypeValidableDef<boolean> & {
125
+ default: boolean;
126
+ } & {
127
+ default: boolean;
128
+ };
129
+ showClearOnlyHover: import("vue-types").VueTypeValidableDef<boolean> & {
130
+ default: boolean;
131
+ } & {
132
+ default: boolean;
133
+ };
134
+ precision: import("vue-types").VueTypeValidableDef<number> & {
135
+ default: number;
136
+ } & {
137
+ default: number;
138
+ } & {
139
+ validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
140
+ };
141
+ modelValue: import("vue-types").VueTypeDef<string | number> & {
142
+ default: string | number;
143
+ };
144
+ size: import("vue-types").VueTypeDef<string>;
145
+ rows: import("vue-types").VueTypeValidableDef<number> & {
146
+ default: number;
147
+ };
148
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("input" | "focus" | "blur" | "paste" | "change" | "keydown" | "keypress" | "keyup" | "clear" | "update:modelValue" | "enter")[], "input" | "focus" | "blur" | "paste" | "change" | "keydown" | "keypress" | "keyup" | "clear" | "update:modelValue" | "enter", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
149
+ type: import("vue-types").VueTypeValidableDef<string> & {
150
+ default: string;
151
+ } & {
152
+ default: string;
153
+ };
154
+ clearable: import("vue-types").VueTypeValidableDef<boolean> & {
155
+ default: boolean;
156
+ };
157
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
158
+ default: boolean;
159
+ };
160
+ readonly: import("vue-types").VueTypeValidableDef<boolean> & {
161
+ default: boolean;
162
+ };
163
+ placeholder: import("vue-types").VueTypeValidableDef<string> & {
164
+ default: string;
165
+ };
166
+ prefixIcon: import("vue-types").VueTypeValidableDef<string> & {
167
+ default: string;
168
+ };
169
+ suffixIcon: import("vue-types").VueTypeValidableDef<string> & {
170
+ default: string;
171
+ };
172
+ suffix: import("vue-types").VueTypeValidableDef<string> & {
173
+ default: string;
174
+ };
175
+ prefix: import("vue-types").VueTypeValidableDef<string> & {
176
+ default: string;
177
+ };
178
+ step: import("vue-types").VueTypeDef<number> & {
179
+ default: number;
180
+ };
181
+ max: import("vue-types").VueTypeDef<number> & {
182
+ default: number;
183
+ };
184
+ min: import("vue-types").VueTypeDef<number> & {
185
+ default: number;
186
+ };
187
+ maxlength: import("vue-types").VueTypeDef<number> & {
188
+ default: number;
189
+ };
190
+ behavior: import("vue-types").VueTypeDef<string> & {
191
+ default: string;
192
+ };
193
+ showWordLimit: import("vue-types").VueTypeValidableDef<boolean> & {
194
+ default: boolean;
195
+ };
196
+ showControl: import("vue-types").VueTypeValidableDef<boolean> & {
197
+ default: boolean;
198
+ } & {
199
+ default: boolean;
200
+ };
201
+ showClearOnlyHover: import("vue-types").VueTypeValidableDef<boolean> & {
202
+ default: boolean;
203
+ } & {
204
+ default: boolean;
205
+ };
206
+ precision: import("vue-types").VueTypeValidableDef<number> & {
207
+ default: number;
208
+ } & {
209
+ default: number;
210
+ } & {
211
+ validator: import("vue-types/dist/types").ValidatorFunction<unknown>;
212
+ };
213
+ modelValue: import("vue-types").VueTypeDef<string | number> & {
214
+ default: string | number;
215
+ };
216
+ size: import("vue-types").VueTypeDef<string>;
217
+ rows: import("vue-types").VueTypeValidableDef<number> & {
218
+ default: number;
219
+ };
220
+ }>> & {
221
+ onPaste?: (...args: any[]) => any;
222
+ onFocus?: (...args: any[]) => any;
223
+ onBlur?: (...args: any[]) => any;
224
+ onChange?: (...args: any[]) => any;
225
+ onInput?: (...args: any[]) => any;
226
+ onKeydown?: (...args: any[]) => any;
227
+ onKeypress?: (...args: any[]) => any;
228
+ onKeyup?: (...args: any[]) => any;
229
+ "onUpdate:modelValue"?: (...args: any[]) => any;
230
+ onClear?: (...args: any[]) => any;
231
+ onEnter?: (...args: any[]) => any;
232
+ }, {
233
+ type: string;
234
+ placeholder: string;
235
+ prefix: string;
236
+ step: number;
237
+ disabled: boolean;
238
+ modelValue: string | number;
239
+ readonly: boolean;
240
+ clearable: boolean;
241
+ behavior: string;
242
+ max: number;
243
+ min: number;
244
+ maxlength: number;
245
+ prefixIcon: string;
246
+ suffixIcon: string;
247
+ suffix: string;
248
+ showWordLimit: boolean;
249
+ showControl: boolean;
250
+ showClearOnlyHover: boolean;
251
+ precision: number;
252
+ rows: number;
253
+ }>;
254
+ export default _default;
@@ -0,0 +1 @@
1
+ !function(e,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r(require("../shared"),require("@babel/runtime/helpers/slicedToArray"),require("@babel/runtime/helpers/defineProperty"),require("vue"),require("../icon"));else if("function"==typeof define&&define.amd)define(["../shared","@babel/runtime/helpers/slicedToArray","@babel/runtime/helpers/defineProperty","vue","../icon"],r);else{var t="object"==typeof exports?r(require("../shared"),require("@babel/runtime/helpers/slicedToArray"),require("@babel/runtime/helpers/defineProperty"),require("vue"),require("../icon")):r(e["../shared"],e["@babel/runtime/helpers/slicedToArray"],e["@babel/runtime/helpers/defineProperty"],e.vue,e["../icon"]);for(var o in t)("object"==typeof exports?exports:e)[o]=t[o]}}(self,((e,r,t,o,n)=>(()=>{"use strict";var a={6870:e=>{e.exports=n},4212:r=>{r.exports=e},311:e=>{e.exports=t},1673:e=>{e.exports=r},748:e=>{e.exports=o}},l={};function i(e){var r=l[e];if(void 0!==r)return r.exports;var t=l[e]={exports:{}};return a[e](t,t.exports,i),t.exports}i.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return i.d(r,{a:r}),r},i.d=(e,r)=>{for(var t in r)i.o(r,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},i.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var u={};return(()=>{i.r(u),i.d(u,{default:()=>f});var e=i(4212),r=i(1673),t=i.n(r),o=i(311),n=i.n(o),a=i(748);Object.create,Object.create;var l=i(6870),s={type:e.PropTypes.string.def("text"),clearable:e.PropTypes.bool,disabled:e.PropTypes.bool,readonly:e.PropTypes.bool,placeholder:e.PropTypes.string,prefixIcon:e.PropTypes.string,suffixIcon:e.PropTypes.string,suffix:e.PropTypes.string,prefix:e.PropTypes.string,step:e.PropTypes.integer,max:e.PropTypes.integer,min:e.PropTypes.integer,maxlength:e.PropTypes.integer,behavior:e.PropTypes.commonType(["simplicity","normal"]).def("normal"),showWordLimit:e.PropTypes.bool,showControl:e.PropTypes.bool.def(!0),showClearOnlyHover:e.PropTypes.bool.def(!1),precision:e.PropTypes.number.def(0).validate((function(e){return e>=0&&e<20})),modelValue:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def(""),size:e.PropTypes.size(),rows:e.PropTypes.number},p=["update:modelValue","focus","blur","change","clear","input","keypress","keydown","keyup","enter","paste"],c=(0,e.stringEnum)([].concat(p));const d=(0,a.defineComponent)({name:"Input",inheritAttrs:!1,props:s,emits:[].concat(p),setup:function(r,o){this.$createElement;var i=(0,a.ref)(!1),u=(0,a.ref)(!1),s=(0,a.computed)((function(){return"textarea"===r.type})),p=(0,a.computed)((function(){return s.value?"bk-textarea":"bk-input"})),d=o.attrs,f=d.class,m=d.style,y=function(e,r){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n<o.length;n++)r.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(t[o[n]]=e[o[n]])}return t}(d,["class","style"]),v=(0,a.computed)((function(){var t;return(0,e.classes)((t={},n()(t,"".concat(p.value,"--").concat(r.size),!!r.size),n()(t,"is-focused",i.value),n()(t,"is-readonly",r.readonly),n()(t,"is-disabled",r.disabled),n()(t,"is-simplicity","simplicity"===r.behavior),n()(t,"".concat(f),!!f),t),p.value)})),b={search:function(){return(0,a.createVNode)(l.Search,null,null)},password:function(){return(0,a.createVNode)(l.Eye,{onClick:H},null)}},x=D("suffix-icon"),h=(0,a.computed)((function(){var e=b[r.type];return T.value?(0,a.createVNode)(l.Unvisible,{onClick:H,class:x},null):e?(0,a.createVNode)(e,{class:x},null):null})),g=(0,a.computed)((function(){return"number"===r.type})),P=(0,a.computed)((function(){return Math.floor(r.maxlength)})),T=(0,a.ref)(!1),V=(0,a.computed)((function(){return(0,e.classes)({"show-clear-only-hover":r.showClearOnlyHover},x)}));function w(){o.emit(c["update:modelValue"],""),o.emit(c.change,""),o.emit(c.clear)}function N(e){i.value=!0,o.emit(c.focus,e)}function O(e){i.value=!1,o.emit(c.blur,e)}var k=[c.keyup,c.keydown,c.keypress,c.paste,c.change,c.input].map((function(e){return function(r){var t=e;("Enter"!==r.code&&"Enter"!==r.key&&13!==r.keyCode||(t=c.enter,r.type===c.keyup))&&(u.value&&[c.input,c.change].some((function(r){return e===r}))||(e===c.input&&o.emit(c["update:modelValue"],g.value?+r.target.value:r.target.value),o.emit(t,r.target.value,r)))}})),C=t()(k,6),j=C[0],S=C[1],I=C[2],q=C[3],E=C[4],M=C[5];function A(){u.value=!0}function z(e){u.value=!1,M(e)}function _(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=parseInt(String(e),10),n=Number.isInteger(r.precision)?r.precision:0,a=parseFloat(r.modelValue.toString()),l=Number.isInteger(o)?o:1,i=a+(t?l:-1*l);return Number.isInteger(r.max)&&(i=Math.min(i,r.max)),Number.isInteger(r.min)&&(i=Math.max(i,r.min)),+i.toFixed(n)}function F(){var e=_(r.step);o.emit(c["update:modelValue"],e)}function K(){var e=_(r.step,!1);o.emit(c["update:modelValue"],e)}function D(e){return"".concat(p.value,"--").concat(e)}function H(){T.value=!T.value}var L=(0,a.computed)((function(){return{value:r.modelValue,maxlength:r.maxlength,placeholder:r.placeholder,readonly:r.readonly,disabled:r.disabled,onInput:M,onFocus:N,onBlur:O,onPaste:q,onChange:E,onKeypress:I,onKeydown:S,onKeyup:j,onCompositionstart:A,onCompositionend:z}}));return function(){var e,t,n,i,u,c;return(0,a.createVNode)("div",{class:v.value,style:m},[null!==(n=null===(t=null===(e=o.slots)||void 0===e?void 0:e.prefix)||void 0===t?void 0:t.call(e))&&void 0!==n?n:r.prefix&&(0,a.createVNode)("div",{class:D("prefix-area")},[(0,a.createVNode)("span",{class:D("prefix-area--text")},[r.prefix])]),s.value?(0,a.createVNode)("textarea",(0,a.mergeProps)(y,L.value,{rows:r.rows}),null):(0,a.createVNode)("input",(0,a.mergeProps)(y,{class:"".concat(p.value,"--text"),type:T.value&&"password"===r.type?"text":r.type,step:r.step,max:r.max,min:r.min},L.value),null),!s.value&&r.clearable&&!!r.modelValue&&(0,a.createVNode)(l.Close,{onClick:w,class:V.value},null),h.value,"number"==typeof r.maxlength&&(r.showWordLimit||s.value)&&(0,a.createVNode)("p",{class:D("max-length")},[r.modelValue.toString().length,(0,a.createTextVNode)("/"),(0,a.createVNode)("span",null,[P.value])]),g.value&&r.showControl&&(0,a.createVNode)("div",{class:D("number-control")},[(0,a.createVNode)(l.DownSmall,{onClick:F},null),(0,a.createVNode)(l.DownSmall,{onClick:K},null)]),null!==(c=null===(u=null===(i=o.slots)||void 0===i?void 0:i.suffix)||void 0===u?void 0:u.call(i))&&void 0!==c?c:r.suffix&&(0,a.createVNode)("div",{class:D("suffix-area")},[(0,a.createVNode)("span",{class:D("suffix-area--text")},[r.suffix])])])}}}),f=(0,e.withInstall)(d)})(),u})()));
@@ -0,0 +1,214 @@
1
+ @import '../styles/themes/themes.less';
2
+ @import '../styles/mixins/mixins.less';
3
+
4
+ .active(@color: @primary-color) {
5
+ border-color: @primary-color;
6
+ outline: 0;
7
+ box-shadow: 0px 0px 3px 0px @input-shadow-color;
8
+ }
9
+
10
+ .disabled() {
11
+ cursor: not-allowed;
12
+ background-color: @input-disabled-bg;
13
+ opacity: 1;
14
+ }
15
+
16
+ .@{bk-prefix}-textarea {
17
+ width: 100%;
18
+ min-height: 70px;
19
+ font-size: @font-size-base;
20
+ line-height: 20px;
21
+ background-color: white;
22
+ border: @border-width-base @border-style-base @input-border-color;
23
+ border-radius: 2px;
24
+ border-radius: @border-radius-base;
25
+ box-sizing: border-box;
26
+ transition: all .3s;
27
+
28
+ > textarea {
29
+ width: 100%;
30
+ padding: 5px 10px;
31
+ line-height: 1.5;
32
+ text-align: left;
33
+ vertical-align: middle;
34
+ border: 0;
35
+ outline: none;
36
+ resize: none;
37
+ }
38
+
39
+ &--max-length {
40
+ align-self: center;
41
+ padding-right: @input-horizontal-padding;
42
+ margin: 0;
43
+
44
+ span {
45
+ color: @input-maxlength-color;
46
+ }
47
+ }
48
+ }
49
+
50
+ .@{bk-prefix}-input {
51
+ display: flex;
52
+ align-items: stretch;
53
+ height: @input-height-base;
54
+ font-size: @font-size-base;
55
+ border: @border-width-base @border-style-base @input-border-color;
56
+ border-radius: @border-radius-base;
57
+ transition: all .3s;
58
+
59
+ &:hover {
60
+ .show-clear-only-hover {
61
+ display: block;
62
+ }
63
+ }
64
+
65
+ &.is-simplicity {
66
+ background-color: transparent;
67
+ border-color: transparent;
68
+ border-bottom-color: @input-border-color;
69
+ }
70
+
71
+ &--suffix-icon {
72
+ padding-right: @input-horizontal-padding;
73
+ font-size: @input-icon-size;
74
+ line-height: 1;
75
+ color: @light-gray;
76
+ align-self: center;
77
+
78
+ &.show-clear-only-hover {
79
+ display: none;
80
+ }
81
+ }
82
+
83
+ &--large {
84
+ .component-size(@component-size-large, @font-size-medium);
85
+
86
+ &--max-length {
87
+ font-size: @font-size-large;
88
+ }
89
+ }
90
+
91
+ &--small {
92
+ .component-size(@component-size-small, @font-size-base);
93
+
94
+ &--max-length {
95
+ font-size: @font-size-base;
96
+ }
97
+ }
98
+
99
+ &--default {
100
+ font-size: @font-size-base;
101
+
102
+ &--max-length {
103
+ font-size: @font-size-base;
104
+ }
105
+ }
106
+
107
+ &.is-focused:not(.is-readonly) {
108
+ .active();
109
+
110
+ &.is-simplicity {
111
+ border-color: transparent;
112
+ border-bottom-color: @primary-color;
113
+ box-shadow: none;
114
+ }
115
+ }
116
+
117
+ &.is-disabled {
118
+ .disabled();
119
+ }
120
+
121
+ &--prefix-area,
122
+ &--suffix-area {
123
+ display: flex;
124
+ padding: 0 @input-horizontal-padding;
125
+ color: @default-color;
126
+ background-color: @input-block-color;
127
+ border-right: 1px solid @input-border-color;
128
+ align-items: center;
129
+ }
130
+
131
+ &--suffix-area {
132
+ border: 0;
133
+ border-left: 1px solid @input-border-color;
134
+ }
135
+
136
+ &--max-length {
137
+ align-self: center;
138
+ padding-right: @input-horizontal-padding;
139
+
140
+ span {
141
+ color: @input-maxlength-color;
142
+ }
143
+ }
144
+
145
+ &--text {
146
+ padding: 0 @input-horizontal-padding;
147
+ line-height: 1;
148
+ color: @input-color;
149
+ background-color: @input-bg;
150
+ background-image: none;
151
+ border: none;
152
+ outline: none;
153
+ box-sizing: border-box;
154
+ transition: all .3s;
155
+ flex: 1;
156
+
157
+ //Chrome
158
+ &[type='search']::-webkit-search-decoration,
159
+ &[type='search']::-webkit-search-cancel-button,
160
+ &[type='search']::-webkit-search-results-button,
161
+ &[type='search']::-webkit-search-results-decoration {
162
+ appearance: none;
163
+ }
164
+ // IE
165
+ [type='search']::-ms-clear {
166
+ display: none;
167
+ width: 0;
168
+ height: 0;
169
+ }
170
+
171
+ [type='search']::-ms-reveal {
172
+ display: none;
173
+ width: 0;
174
+ height: 0;
175
+ }
176
+
177
+ &[type='number']::-webkit-inner-spin-button,
178
+ &[type='number']::-webkit-outer-spin-button {
179
+ margin: 0;
180
+ appearance: none;
181
+ }
182
+
183
+ &::placeholder {
184
+ color: @light-gray;
185
+ }
186
+ }
187
+
188
+ &--number-control {
189
+ width: 26px;
190
+ height: 100%;
191
+ font-size: 0;
192
+ flex-direction: column;
193
+
194
+ span {
195
+ display: block;
196
+ height: 50%;
197
+ overflow: hidden;
198
+ color: @light-gray;
199
+ text-align: center;
200
+ }
201
+
202
+ svg {
203
+ font-size: @input-icon-size;
204
+ }
205
+
206
+ span:first-child {
207
+ transform: rotate(180deg);
208
+ }
209
+
210
+ span:hover {
211
+ background-color: #f4f6fa;
212
+ }
213
+ }
214
+ }