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

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 (489) hide show
  1. package/dist/index.cjs.js +57 -0
  2. package/dist/{bkui-vue.esm.js → index.esm.js} +12 -6
  3. package/dist/index.umd.js +57 -0
  4. package/dist/style.css +1 -5902
  5. package/package.json +17 -29
  6. package/README_EN.md +0 -93
  7. package/dist/bkui-vue.cjs.js +0 -20346
  8. package/dist/bkui-vue.umd.js +0 -20349
  9. package/lib/alert/alert.css +0 -75
  10. package/lib/alert/alert.d.ts +0 -62
  11. package/lib/alert/alert.js +0 -1
  12. package/lib/alert/alert.less +0 -110
  13. package/lib/alert/alert.variable.css +0 -168
  14. package/lib/alert/index.d.ts +0 -180
  15. package/lib/animate-number/animate-number.d.ts +0 -27
  16. package/lib/animate-number/animate-number.js +0 -1
  17. package/lib/animate-number/index.d.ts +0 -97
  18. package/lib/backtop/backtop.css +0 -42
  19. package/lib/backtop/backtop.d.ts +0 -60
  20. package/lib/backtop/backtop.js +0 -1
  21. package/lib/backtop/backtop.less +0 -18
  22. package/lib/backtop/backtop.variable.css +0 -135
  23. package/lib/backtop/index.d.ts +0 -166
  24. package/lib/badge/badge.css +0 -121
  25. package/lib/badge/badge.d.ts +0 -91
  26. package/lib/badge/badge.js +0 -1
  27. package/lib/badge/badge.less +0 -137
  28. package/lib/badge/badge.variable.css +0 -214
  29. package/lib/badge/index.d.ts +0 -217
  30. package/lib/breadcrumb/breadcrumb-item.d.ts +0 -36
  31. package/lib/breadcrumb/breadcrumb.css +0 -68
  32. package/lib/breadcrumb/breadcrumb.d.ts +0 -54
  33. package/lib/breadcrumb/breadcrumb.js +0 -1
  34. package/lib/breadcrumb/breadcrumb.less +0 -65
  35. package/lib/breadcrumb/breadcrumb.variable.css +0 -161
  36. package/lib/breadcrumb/index.d.ts +0 -194
  37. package/lib/breadcrumb/props.d.ts +0 -4
  38. package/lib/button/button-group.d.ts +0 -6
  39. package/lib/button/button.css +0 -265
  40. package/lib/button/button.d.ts +0 -143
  41. package/lib/button/button.js +0 -1
  42. package/lib/button/button.less +0 -195
  43. package/lib/button/button.variable.css +0 -358
  44. package/lib/button/index.d.ts +0 -226
  45. package/lib/card/card.css +0 -63
  46. package/lib/card/card.d.ts +0 -69
  47. package/lib/card/card.js +0 -1
  48. package/lib/card/card.less +0 -44
  49. package/lib/card/card.variable.css +0 -156
  50. package/lib/card/index.d.ts +0 -187
  51. package/lib/checkbox/checkbox-group.d.ts +0 -48
  52. package/lib/checkbox/checkbox.css +0 -64
  53. package/lib/checkbox/checkbox.d.ts +0 -114
  54. package/lib/checkbox/checkbox.js +0 -1
  55. package/lib/checkbox/checkbox.less +0 -80
  56. package/lib/checkbox/checkbox.variable.css +0 -157
  57. package/lib/checkbox/common.d.ts +0 -13
  58. package/lib/checkbox/index.d.ts +0 -261
  59. package/lib/checkbox/type.d.ts +0 -19
  60. package/lib/code-diff/code-diff.css +0 -186
  61. package/lib/code-diff/code-diff.d.ts +0 -80
  62. package/lib/code-diff/code-diff.js +0 -1
  63. package/lib/code-diff/code-diff.less +0 -238
  64. package/lib/code-diff/code-diff.variable.css +0 -279
  65. package/lib/code-diff/index.d.ts +0 -154
  66. package/lib/collapse/collapse.css +0 -30
  67. package/lib/collapse/collapse.d.ts +0 -106
  68. package/lib/collapse/collapse.js +0 -1
  69. package/lib/collapse/collapse.less +0 -37
  70. package/lib/collapse/collapse.variable.css +0 -30
  71. package/lib/collapse/index.d.ts +0 -166
  72. package/lib/components.d.ts +0 -41
  73. package/lib/date-picker/date-picker.css +0 -407
  74. package/lib/date-picker/date-picker.d.ts +0 -294
  75. package/lib/date-picker/date-picker.js +0 -1
  76. package/lib/date-picker/date-picker.less +0 -526
  77. package/lib/date-picker/date-picker.variable.css +0 -500
  78. package/lib/date-picker/fecha.d.ts +0 -6
  79. package/lib/date-picker/index.d.ts +0 -713
  80. package/lib/date-picker/interface.d.ts +0 -22
  81. package/lib/date-picker/props.d.ts +0 -111
  82. package/lib/date-picker/utils.d.ts +0 -97
  83. package/lib/dialog/dialog.css +0 -68
  84. package/lib/dialog/dialog.d.ts +0 -113
  85. package/lib/dialog/dialog.js +0 -1
  86. package/lib/dialog/dialog.less +0 -80
  87. package/lib/dialog/dialog.variable.css +0 -68
  88. package/lib/dialog/index.d.ts +0 -286
  89. package/lib/directives/clickoutside.d.ts +0 -3
  90. package/lib/directives/directives.js +0 -2
  91. package/lib/directives/directives.js.LICENSE.txt +0 -14
  92. package/lib/directives/index.d.ts +0 -3
  93. package/lib/directives/mousewheel.d.ts +0 -3
  94. package/lib/directives/tooltips.d.ts +0 -17
  95. package/lib/divider/divider.css +0 -38
  96. package/lib/divider/divider.d.ts +0 -48
  97. package/lib/divider/divider.js +0 -1
  98. package/lib/divider/divider.less +0 -53
  99. package/lib/divider/divider.variable.css +0 -131
  100. package/lib/divider/index.d.ts +0 -142
  101. package/lib/divider/props.d.ts +0 -21
  102. package/lib/dropdown/dropdown-item.d.ts +0 -19
  103. package/lib/dropdown/dropdown-menu.d.ts +0 -16
  104. package/lib/dropdown/dropdown.css +0 -43
  105. package/lib/dropdown/dropdown.d.ts +0 -61
  106. package/lib/dropdown/dropdown.js +0 -1
  107. package/lib/dropdown/dropdown.less +0 -54
  108. package/lib/dropdown/dropdown.variable.css +0 -136
  109. package/lib/dropdown/index.d.ts +0 -192
  110. package/lib/exception/exception.css +0 -32
  111. package/lib/exception/exception.d.ts +0 -26
  112. package/lib/exception/exception.js +0 -1
  113. package/lib/exception/exception.less +0 -39
  114. package/lib/exception/exception.variable.css +0 -125
  115. package/lib/exception/index.d.ts +0 -96
  116. package/lib/fixed-navbar/fixed-navbar.css +0 -42
  117. package/lib/fixed-navbar/fixed-navbar.d.ts +0 -34
  118. package/lib/fixed-navbar/fixed-navbar.js +0 -1
  119. package/lib/fixed-navbar/fixed-navbar.less +0 -53
  120. package/lib/fixed-navbar/fixed-navbar.variable.css +0 -135
  121. package/lib/fixed-navbar/index.d.ts +0 -112
  122. package/lib/form/common.d.ts +0 -3
  123. package/lib/form/form-item.d.ts +0 -145
  124. package/lib/form/form.css +0 -48
  125. package/lib/form/form.d.ts +0 -64
  126. package/lib/form/form.js +0 -1
  127. package/lib/form/form.less +0 -63
  128. package/lib/form/form.variable.css +0 -48
  129. package/lib/form/index.d.ts +0 -246
  130. package/lib/form/type.d.ts +0 -21
  131. package/lib/form/validator.d.ts +0 -8
  132. package/lib/icon/angle-double-down-line.d.ts +0 -4
  133. package/lib/icon/angle-double-down-line.js +0 -1
  134. package/lib/icon/angle-double-left-line.d.ts +0 -4
  135. package/lib/icon/angle-double-left-line.js +0 -1
  136. package/lib/icon/angle-double-left.d.ts +0 -4
  137. package/lib/icon/angle-double-left.js +0 -1
  138. package/lib/icon/angle-double-right-line.d.ts +0 -4
  139. package/lib/icon/angle-double-right-line.js +0 -1
  140. package/lib/icon/angle-double-right.d.ts +0 -4
  141. package/lib/icon/angle-double-right.js +0 -1
  142. package/lib/icon/angle-double-up-line.d.ts +0 -4
  143. package/lib/icon/angle-double-up-line.js +0 -1
  144. package/lib/icon/angle-down-fill.d.ts +0 -4
  145. package/lib/icon/angle-down-fill.js +0 -1
  146. package/lib/icon/angle-down-line.d.ts +0 -4
  147. package/lib/icon/angle-down-line.js +0 -1
  148. package/lib/icon/angle-down.d.ts +0 -4
  149. package/lib/icon/angle-down.js +0 -1
  150. package/lib/icon/angle-left.d.ts +0 -4
  151. package/lib/icon/angle-left.js +0 -1
  152. package/lib/icon/angle-right.d.ts +0 -4
  153. package/lib/icon/angle-right.js +0 -1
  154. package/lib/icon/angle-up-fill.d.ts +0 -4
  155. package/lib/icon/angle-up-fill.js +0 -1
  156. package/lib/icon/angle-up.d.ts +0 -4
  157. package/lib/icon/angle-up.js +0 -1
  158. package/lib/icon/arrows-left.d.ts +0 -4
  159. package/lib/icon/arrows-left.js +0 -1
  160. package/lib/icon/arrows-right.d.ts +0 -4
  161. package/lib/icon/arrows-right.js +0 -1
  162. package/lib/icon/bk.d.ts +0 -4
  163. package/lib/icon/bk.js +0 -1
  164. package/lib/icon/circle.d.ts +0 -4
  165. package/lib/icon/circle.js +0 -1
  166. package/lib/icon/close.d.ts +0 -4
  167. package/lib/icon/close.js +0 -1
  168. package/lib/icon/code.d.ts +0 -4
  169. package/lib/icon/code.js +0 -1
  170. package/lib/icon/cog-shape.d.ts +0 -4
  171. package/lib/icon/cog-shape.js +0 -1
  172. package/lib/icon/collapse-left.d.ts +0 -4
  173. package/lib/icon/collapse-left.js +0 -1
  174. package/lib/icon/copy.d.ts +0 -4
  175. package/lib/icon/copy.js +0 -1
  176. package/lib/icon/done.d.ts +0 -4
  177. package/lib/icon/done.js +0 -1
  178. package/lib/icon/down-shape.d.ts +0 -4
  179. package/lib/icon/down-shape.js +0 -1
  180. package/lib/icon/down-small.d.ts +0 -4
  181. package/lib/icon/down-small.js +0 -1
  182. package/lib/icon/ellipsis.d.ts +0 -4
  183. package/lib/icon/ellipsis.js +0 -1
  184. package/lib/icon/error.d.ts +0 -4
  185. package/lib/icon/error.js +0 -1
  186. package/lib/icon/eye.d.ts +0 -4
  187. package/lib/icon/eye.js +0 -1
  188. package/lib/icon/folder-open.d.ts +0 -4
  189. package/lib/icon/folder-open.js +0 -1
  190. package/lib/icon/folder-shape-open.d.ts +0 -4
  191. package/lib/icon/folder-shape-open.js +0 -1
  192. package/lib/icon/folder-shape.d.ts +0 -4
  193. package/lib/icon/folder-shape.js +0 -1
  194. package/lib/icon/folder.d.ts +0 -4
  195. package/lib/icon/folder.js +0 -1
  196. package/lib/icon/help-document-fill.d.ts +0 -4
  197. package/lib/icon/help-document-fill.js +0 -1
  198. package/lib/icon/help-fill.d.ts +0 -4
  199. package/lib/icon/help-fill.js +0 -1
  200. package/lib/icon/help.d.ts +0 -4
  201. package/lib/icon/help.js +0 -1
  202. package/lib/icon/icon.d.ts +0 -12
  203. package/lib/icon/icon.js +0 -1
  204. package/lib/icon/index.d.ts +0 -53
  205. package/lib/icon/info-line.d.ts +0 -4
  206. package/lib/icon/info-line.js +0 -1
  207. package/lib/icon/info.d.ts +0 -4
  208. package/lib/icon/info.js +0 -1
  209. package/lib/icon/left-shape.d.ts +0 -4
  210. package/lib/icon/left-shape.js +0 -1
  211. package/lib/icon/play-shape.d.ts +0 -4
  212. package/lib/icon/play-shape.js +0 -1
  213. package/lib/icon/plus.d.ts +0 -4
  214. package/lib/icon/plus.js +0 -1
  215. package/lib/icon/qq.d.ts +0 -4
  216. package/lib/icon/qq.js +0 -1
  217. package/lib/icon/right-shape.d.ts +0 -4
  218. package/lib/icon/right-shape.js +0 -1
  219. package/lib/icon/search.d.ts +0 -4
  220. package/lib/icon/search.js +0 -1
  221. package/lib/icon/share.d.ts +0 -4
  222. package/lib/icon/share.js +0 -1
  223. package/lib/icon/spinner.d.ts +0 -4
  224. package/lib/icon/spinner.js +0 -1
  225. package/lib/icon/success.d.ts +0 -4
  226. package/lib/icon/success.js +0 -1
  227. package/lib/icon/switcher-loading.d.ts +0 -4
  228. package/lib/icon/switcher-loading.js +0 -1
  229. package/lib/icon/text-file.d.ts +0 -4
  230. package/lib/icon/text-file.js +0 -1
  231. package/lib/icon/tree-application-shape.d.ts +0 -4
  232. package/lib/icon/tree-application-shape.js +0 -1
  233. package/lib/icon/unvisible.d.ts +0 -4
  234. package/lib/icon/unvisible.js +0 -1
  235. package/lib/icon/up-shape.d.ts +0 -4
  236. package/lib/icon/up-shape.js +0 -1
  237. package/lib/icon/warn.d.ts +0 -4
  238. package/lib/icon/warn.js +0 -1
  239. package/lib/icon/weixin.d.ts +0 -4
  240. package/lib/icon/weixin.js +0 -1
  241. package/lib/index.d.ts +0 -4
  242. package/lib/input/index.d.ts +0 -443
  243. package/lib/input/input.css +0 -190
  244. package/lib/input/input.d.ts +0 -254
  245. package/lib/input/input.js +0 -1
  246. package/lib/input/input.less +0 -214
  247. package/lib/input/input.variable.css +0 -284
  248. package/lib/link/index.d.ts +0 -164
  249. package/lib/link/link.css +0 -55
  250. package/lib/link/link.d.ts +0 -58
  251. package/lib/link/link.js +0 -1
  252. package/lib/link/link.less +0 -74
  253. package/lib/link/link.variable.css +0 -148
  254. package/lib/loading/index.d.ts +0 -164
  255. package/lib/loading/loading.css +0 -261
  256. package/lib/loading/loading.d.ts +0 -94
  257. package/lib/loading/loading.js +0 -1
  258. package/lib/loading/loading.less +0 -197
  259. package/lib/loading/loading.variable.css +0 -354
  260. package/lib/menu/index.d.ts +0 -188
  261. package/lib/menu/menu-group.d.ts +0 -14
  262. package/lib/menu/menu-item.d.ts +0 -16
  263. package/lib/menu/menu.css +0 -182
  264. package/lib/menu/menu.d.ts +0 -64
  265. package/lib/menu/menu.js +0 -1
  266. package/lib/menu/menu.less +0 -180
  267. package/lib/menu/menu.variable.css +0 -275
  268. package/lib/menu/submenu.css +0 -3
  269. package/lib/menu/submenu.d.ts +0 -22
  270. package/lib/menu/submenu.less +0 -5
  271. package/lib/menu/submenu.variable.css +0 -96
  272. package/lib/menu/utils.d.ts +0 -41
  273. package/lib/message/index.d.ts +0 -2
  274. package/lib/message/message.css +0 -53
  275. package/lib/message/message.js +0 -1
  276. package/lib/message/message.less +0 -61
  277. package/lib/message/message.variable.css +0 -146
  278. package/lib/message/messageConstructor.d.ts +0 -73
  279. package/lib/modal/index.d.ts +0 -214
  280. package/lib/modal/modal.css +0 -11
  281. package/lib/modal/modal.d.ts +0 -65
  282. package/lib/modal/modal.js +0 -1
  283. package/lib/modal/modal.less +0 -12
  284. package/lib/modal/modal.variable.css +0 -11
  285. package/lib/modal/props.mixin.d.ts +0 -26
  286. package/lib/navigation/index.d.ts +0 -2
  287. package/lib/navigation/navigation-title.d.ts +0 -25
  288. package/lib/navigation/navigation.css +0 -184
  289. package/lib/navigation/navigation.d.ts +0 -111
  290. package/lib/navigation/navigation.js +0 -1
  291. package/lib/navigation/navigation.less +0 -210
  292. package/lib/navigation/navigation.variable.css +0 -277
  293. package/lib/notify/index.d.ts +0 -2
  294. package/lib/notify/notify.css +0 -49
  295. package/lib/notify/notify.js +0 -1
  296. package/lib/notify/notify.less +0 -58
  297. package/lib/notify/notify.variable.css +0 -142
  298. package/lib/notify/notifyConstructor.d.ts +0 -91
  299. package/lib/pagination/index.d.ts +0 -395
  300. package/lib/pagination/pagination.css +0 -179
  301. package/lib/pagination/pagination.d.ts +0 -220
  302. package/lib/pagination/pagination.js +0 -1
  303. package/lib/pagination/pagination.less +0 -201
  304. package/lib/pagination/pagination.variable.css +0 -272
  305. package/lib/pagination/type.d.ts +0 -6
  306. package/lib/pagination/use-limit.d.ts +0 -8
  307. package/lib/pagination/use-list.d.ts +0 -8
  308. package/lib/pagination/use-small-list.d.ts +0 -5
  309. package/lib/pagination/use-total.d.ts +0 -5
  310. package/lib/popover/index.d.ts +0 -287
  311. package/lib/popover/popover.css +0 -65
  312. package/lib/popover/popover.d.ts +0 -117
  313. package/lib/popover/popover.js +0 -1
  314. package/lib/popover/popover.less +0 -82
  315. package/lib/popover/popover.variable.css +0 -158
  316. package/lib/popover/props.d.ts +0 -77
  317. package/lib/preset.d.ts +0 -7
  318. package/lib/process/index.d.ts +0 -205
  319. package/lib/process/process.css +0 -138
  320. package/lib/process/process.d.ts +0 -131
  321. package/lib/process/process.js +0 -1
  322. package/lib/process/process.less +0 -178
  323. package/lib/process/process.variable.css +0 -231
  324. package/lib/progress/circle.d.ts +0 -6
  325. package/lib/progress/index.d.ts +0 -398
  326. package/lib/progress/line.d.ts +0 -6
  327. package/lib/progress/progress.css +0 -94
  328. package/lib/progress/progress.d.ts +0 -171
  329. package/lib/progress/progress.js +0 -1
  330. package/lib/progress/progress.less +0 -90
  331. package/lib/progress/progress.variable.css +0 -187
  332. package/lib/radio/common.d.ts +0 -13
  333. package/lib/radio/index.d.ts +0 -277
  334. package/lib/radio/radio-button.d.ts +0 -91
  335. package/lib/radio/radio-group.d.ts +0 -41
  336. package/lib/radio/radio.css +0 -138
  337. package/lib/radio/radio.d.ts +0 -87
  338. package/lib/radio/radio.js +0 -1
  339. package/lib/radio/radio.less +0 -173
  340. package/lib/radio/radio.variable.css +0 -231
  341. package/lib/radio/type.d.ts +0 -9
  342. package/lib/rate/index.d.ts +0 -113
  343. package/lib/rate/rate.css +0 -10
  344. package/lib/rate/rate.d.ts +0 -32
  345. package/lib/rate/rate.js +0 -1
  346. package/lib/rate/rate.less +0 -11
  347. package/lib/rate/rate.variable.css +0 -10
  348. package/lib/rate/star.css +0 -24
  349. package/lib/rate/star.d.ts +0 -74
  350. package/lib/rate/star.less +0 -29
  351. package/lib/rate/star.variable.css +0 -24
  352. package/lib/resize-layout/index.d.ts +0 -336
  353. package/lib/resize-layout/resize-layout.css +0 -189
  354. package/lib/resize-layout/resize-layout.d.ts +0 -127
  355. package/lib/resize-layout/resize-layout.js +0 -1
  356. package/lib/resize-layout/resize-layout.less +0 -233
  357. package/lib/resize-layout/resize-layout.variable.css +0 -282
  358. package/lib/select/common.d.ts +0 -33
  359. package/lib/select/index.d.ts +0 -1347
  360. package/lib/select/option.d.ts +0 -25
  361. package/lib/select/optionGroup.d.ts +0 -54
  362. package/lib/select/select.css +0 -325
  363. package/lib/select/select.d.ts +0 -395
  364. package/lib/select/select.js +0 -1
  365. package/lib/select/select.less +0 -324
  366. package/lib/select/select.variable.css +0 -418
  367. package/lib/select/type.d.ts +0 -31
  368. package/lib/shared/helper.d.ts +0 -92
  369. package/lib/shared/index.d.ts +0 -52
  370. package/lib/shared/mask-manager.d.ts +0 -76
  371. package/lib/shared/pop-manager.d.ts +0 -26
  372. package/lib/shared/popover.d.ts +0 -127
  373. package/lib/shared/scrollbar-width.d.ts +0 -1
  374. package/lib/shared/shared.js +0 -1
  375. package/lib/shared/utils.d.ts +0 -6
  376. package/lib/shared/vue-types.d.ts +0 -115
  377. package/lib/shared/z-index-manager.d.ts +0 -93
  378. package/lib/sideslider/index.d.ts +0 -206
  379. package/lib/sideslider/sideslider.css +0 -69
  380. package/lib/sideslider/sideslider.d.ts +0 -75
  381. package/lib/sideslider/sideslider.js +0 -1
  382. package/lib/sideslider/sideslider.less +0 -86
  383. package/lib/sideslider/sideslider.variable.css +0 -162
  384. package/lib/slider/index.d.ts +0 -27
  385. package/lib/slider/slider-button.d.ts +0 -80
  386. package/lib/slider/slider.css +0 -149
  387. package/lib/slider/slider.d.ts +0 -201
  388. package/lib/slider/slider.js +0 -1
  389. package/lib/slider/slider.less +0 -179
  390. package/lib/slider/slider.variable.css +0 -242
  391. package/lib/steps/index.d.ts +0 -250
  392. package/lib/steps/steps.css +0 -288
  393. package/lib/steps/steps.d.ts +0 -161
  394. package/lib/steps/steps.js +0 -1
  395. package/lib/steps/steps.less +0 -324
  396. package/lib/steps/steps.variable.css +0 -381
  397. package/lib/styles/index.d.ts +0 -47
  398. package/lib/styles/mixins/animate.css +0 -21
  399. package/lib/styles/mixins/animate.less +0 -27
  400. package/lib/styles/mixins/animate.variable.css +0 -21
  401. package/lib/styles/mixins/ellipsis.less +0 -8
  402. package/lib/styles/mixins/mixins.css +0 -21
  403. package/lib/styles/mixins/mixins.less +0 -3
  404. package/lib/styles/mixins/mixins.variable.css +0 -21
  405. package/lib/styles/mixins/popper.css +0 -43
  406. package/lib/styles/mixins/popper.less +0 -52
  407. package/lib/styles/mixins/popper.variable.css +0 -43
  408. package/lib/styles/mixins/size.less +0 -13
  409. package/lib/styles/reset.css +0 -273
  410. package/lib/styles/reset.less +0 -313
  411. package/lib/styles/reset.variable.css +0 -273
  412. package/lib/styles/themes/themes.less +0 -126
  413. package/lib/swiper/index.d.ts +0 -181
  414. package/lib/swiper/swiper.css +0 -91
  415. package/lib/swiper/swiper.d.ts +0 -65
  416. package/lib/swiper/swiper.js +0 -1
  417. package/lib/swiper/swiper.less +0 -107
  418. package/lib/swiper/swiper.variable.css +0 -91
  419. package/lib/switcher/index.d.ts +0 -286
  420. package/lib/switcher/switcher.css +0 -272
  421. package/lib/switcher/switcher.d.ts +0 -113
  422. package/lib/switcher/switcher.js +0 -1
  423. package/lib/switcher/switcher.less +0 -358
  424. package/lib/switcher/switcher.variable.css +0 -365
  425. package/lib/tab/index.d.ts +0 -443
  426. package/lib/tab/props.d.ts +0 -191
  427. package/lib/tab/tab-nav.d.ts +0 -165
  428. package/lib/tab/tab-panel.d.ts +0 -73
  429. package/lib/tab/tab.css +0 -148
  430. package/lib/tab/tab.d.ts +0 -140
  431. package/lib/tab/tab.js +0 -1
  432. package/lib/tab/tab.less +0 -222
  433. package/lib/tab/tab.variable.css +0 -241
  434. package/lib/table/const.d.ts +0 -4
  435. package/lib/table/index.d.ts +0 -302
  436. package/lib/table/props.d.ts +0 -117
  437. package/lib/table/render.d.ts +0 -83
  438. package/lib/table/table.css +0 -91
  439. package/lib/table/table.d.ts +0 -119
  440. package/lib/table/table.js +0 -1
  441. package/lib/table/table.less +0 -115
  442. package/lib/table/table.variable.css +0 -184
  443. package/lib/table/utils.d.ts +0 -69
  444. package/lib/tag/index.d.ts +0 -229
  445. package/lib/tag/tag.css +0 -97
  446. package/lib/tag/tag.d.ts +0 -84
  447. package/lib/tag/tag.js +0 -1
  448. package/lib/tag/tag.less +0 -113
  449. package/lib/tag/tag.variable.css +0 -190
  450. package/lib/tag-input/common.d.ts +0 -24
  451. package/lib/tag-input/index.d.ts +0 -2
  452. package/lib/tag-input/list-tag-render.d.ts +0 -47
  453. package/lib/tag-input/tag-input.css +0 -208
  454. package/lib/tag-input/tag-input.d.ts +0 -374
  455. package/lib/tag-input/tag-input.js +0 -1
  456. package/lib/tag-input/tag-input.less +0 -250
  457. package/lib/tag-input/tag-input.variable.css +0 -301
  458. package/lib/tag-input/tag-props.d.ts +0 -131
  459. package/lib/tag-input/tag-render.d.ts +0 -38
  460. package/lib/timeline/index.d.ts +0 -129
  461. package/lib/timeline/timeline.css +0 -235
  462. package/lib/timeline/timeline.d.ts +0 -81
  463. package/lib/timeline/timeline.js +0 -1
  464. package/lib/timeline/timeline.less +0 -239
  465. package/lib/timeline/timeline.variable.css +0 -328
  466. package/lib/transfer/index.d.ts +0 -351
  467. package/lib/transfer/transfer.css +0 -158
  468. package/lib/transfer/transfer.d.ts +0 -185
  469. package/lib/transfer/transfer.js +0 -1
  470. package/lib/transfer/transfer.less +0 -171
  471. package/lib/transfer/transfer.variable.css +0 -251
  472. package/lib/tree/index.d.ts +0 -287
  473. package/lib/tree/props.d.ts +0 -89
  474. package/lib/tree/tree.css +0 -50
  475. package/lib/tree/tree.d.ts +0 -111
  476. package/lib/tree/tree.js +0 -1
  477. package/lib/tree/tree.less +0 -63
  478. package/lib/tree/tree.variable.css +0 -143
  479. package/lib/tree/util.d.ts +0 -70
  480. package/lib/use-form.d.ts +0 -3
  481. package/lib/use-message.d.ts +0 -2
  482. package/lib/virtual-render/index.d.ts +0 -556
  483. package/lib/virtual-render/props.d.ts +0 -157
  484. package/lib/virtual-render/v-virtual-render.d.ts +0 -7
  485. package/lib/virtual-render/virtual-render.css +0 -33
  486. package/lib/virtual-render/virtual-render.d.ts +0 -244
  487. package/lib/virtual-render/virtual-render.js +0 -1
  488. package/lib/virtual-render/virtual-render.less +0 -43
  489. package/lib/virtual-render/virtual-render.variable.css +0 -33
@@ -1,190 +0,0 @@
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
- }
@@ -1,254 +0,0 @@
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;
@@ -1 +0,0 @@
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})()));
@@ -1,214 +0,0 @@
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
- }