bkui-vue 0.0.1-beta.3 → 0.0.1-beta.32

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 (453) hide show
  1. package/README.md +31 -19
  2. package/README_EN.md +93 -0
  3. package/dist/bkui-vue.cjs.js +18095 -2770
  4. package/dist/bkui-vue.esm.js +18052 -2776
  5. package/dist/bkui-vue.umd.js +18097 -2772
  6. package/dist/style.css +4114 -259
  7. package/lib/alert/alert.d.ts +24 -15
  8. package/lib/alert/alert.variable.css +32 -0
  9. package/lib/alert/index.d.ts +180 -0
  10. package/lib/alert/index.js +1 -1
  11. package/lib/animate-number/animate-number.d.ts +12 -7
  12. package/lib/animate-number/index.d.ts +97 -0
  13. package/lib/animate-number/index.js +1 -1
  14. package/lib/backtop/backtop.d.ts +27 -13
  15. package/lib/backtop/backtop.variable.css +32 -0
  16. package/lib/backtop/index.d.ts +166 -0
  17. package/lib/backtop/index.js +10 -1
  18. package/lib/badge/badge.d.ts +40 -19
  19. package/lib/badge/badge.variable.css +32 -0
  20. package/lib/badge/index.d.ts +217 -0
  21. package/lib/badge/index.js +1 -1
  22. package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
  23. package/lib/breadcrumb/breadcrumb.css +10 -1
  24. package/lib/breadcrumb/breadcrumb.d.ts +37 -9
  25. package/lib/breadcrumb/breadcrumb.less +13 -2
  26. package/lib/breadcrumb/breadcrumb.variable.css +42 -1
  27. package/lib/breadcrumb/index.d.ts +194 -0
  28. package/lib/breadcrumb/index.js +1 -1
  29. package/lib/button/button-group.d.ts +3 -5
  30. package/lib/button/button.css +9 -0
  31. package/lib/button/button.d.ts +57 -28
  32. package/lib/button/button.less +23 -15
  33. package/lib/button/button.variable.css +41 -0
  34. package/lib/button/index.d.ts +226 -0
  35. package/lib/button/index.js +1 -1
  36. package/lib/card/card.d.ts +30 -15
  37. package/lib/card/card.variable.css +32 -0
  38. package/lib/card/index.d.ts +187 -0
  39. package/lib/card/index.js +1 -1
  40. package/lib/checkbox/checkbox-group.d.ts +13 -9
  41. package/lib/checkbox/checkbox.d.ts +31 -22
  42. package/lib/checkbox/checkbox.variable.css +32 -0
  43. package/lib/checkbox/common.d.ts +1 -1
  44. package/lib/checkbox/index.d.ts +261 -0
  45. package/lib/checkbox/index.js +1 -1
  46. package/lib/checkbox/type.d.ts +7 -6
  47. package/lib/code-diff/code-diff.css +186 -0
  48. package/lib/code-diff/code-diff.d.ts +80 -0
  49. package/lib/code-diff/code-diff.less +238 -0
  50. package/lib/code-diff/code-diff.variable.css +279 -0
  51. package/lib/code-diff/index.d.ts +154 -0
  52. package/lib/code-diff/index.js +1 -0
  53. package/lib/collapse/collapse.css +8 -0
  54. package/lib/collapse/collapse.d.ts +50 -18
  55. package/lib/collapse/collapse.less +10 -0
  56. package/lib/collapse/collapse.variable.css +8 -0
  57. package/lib/collapse/index.d.ts +166 -0
  58. package/lib/collapse/index.js +1 -1
  59. package/lib/components.d.ts +39 -0
  60. package/lib/date-picker/date-picker.css +407 -0
  61. package/lib/date-picker/date-picker.d.ts +294 -0
  62. package/lib/date-picker/date-picker.less +526 -0
  63. package/lib/date-picker/date-picker.variable.css +500 -0
  64. package/lib/date-picker/fecha.d.ts +6 -0
  65. package/lib/date-picker/index.d.ts +713 -0
  66. package/lib/date-picker/index.js +1 -0
  67. package/lib/date-picker/interface.d.ts +22 -0
  68. package/lib/date-picker/props.d.ts +111 -0
  69. package/lib/date-picker/utils.d.ts +97 -0
  70. package/lib/dialog/dialog.d.ts +57 -27
  71. package/lib/dialog/index.d.ts +286 -0
  72. package/lib/dialog/index.js +1 -1
  73. package/lib/directives/clickoutside.d.ts +3 -0
  74. package/lib/directives/index.d.ts +3 -0
  75. package/lib/directives/index.js +14 -14
  76. package/lib/directives/tooltips.d.ts +17 -0
  77. package/lib/divider/divider.css +38 -0
  78. package/lib/divider/divider.d.ts +48 -0
  79. package/lib/divider/divider.less +53 -0
  80. package/lib/divider/divider.variable.css +131 -0
  81. package/lib/divider/index.d.ts +142 -0
  82. package/lib/divider/index.js +1 -0
  83. package/lib/divider/props.d.ts +21 -0
  84. package/lib/dropdown/dropdown-item.d.ts +19 -0
  85. package/lib/dropdown/dropdown-menu.d.ts +16 -0
  86. package/lib/dropdown/dropdown.css +43 -0
  87. package/lib/dropdown/dropdown.d.ts +61 -0
  88. package/lib/dropdown/dropdown.less +54 -0
  89. package/lib/dropdown/dropdown.variable.css +136 -0
  90. package/lib/dropdown/index.d.ts +192 -0
  91. package/lib/dropdown/index.js +1 -0
  92. package/lib/exception/exception.d.ts +11 -9
  93. package/lib/exception/exception.variable.css +32 -0
  94. package/lib/exception/index.d.ts +96 -0
  95. package/lib/exception/index.js +1 -1
  96. package/lib/fixed-navbar/fixed-navbar.d.ts +15 -9
  97. package/lib/fixed-navbar/fixed-navbar.variable.css +32 -0
  98. package/lib/fixed-navbar/index.d.ts +112 -0
  99. package/lib/fixed-navbar/index.js +1 -1
  100. package/lib/form/common.d.ts +3 -0
  101. package/lib/form/form-item.d.ts +145 -0
  102. package/lib/form/form.css +48 -0
  103. package/lib/form/form.d.ts +64 -0
  104. package/lib/form/form.less +63 -0
  105. package/lib/form/form.variable.css +48 -0
  106. package/lib/form/index.d.ts +246 -0
  107. package/lib/form/index.js +1 -0
  108. package/lib/form/type.d.ts +21 -0
  109. package/lib/form/validator.d.ts +8 -0
  110. package/lib/icon/angle-double-down-line.d.ts +4 -0
  111. package/lib/icon/angle-double-down-line.js +15 -0
  112. package/lib/icon/angle-double-left-line.d.ts +4 -0
  113. package/lib/icon/angle-double-left-line.js +15 -0
  114. package/lib/icon/angle-double-left.d.ts +4 -0
  115. package/lib/icon/angle-double-left.js +15 -0
  116. package/lib/icon/angle-double-right-line.d.ts +4 -0
  117. package/lib/icon/angle-double-right-line.js +15 -0
  118. package/lib/icon/angle-double-right.d.ts +4 -0
  119. package/lib/icon/angle-double-right.js +15 -0
  120. package/lib/icon/angle-double-up-line.d.ts +4 -0
  121. package/lib/icon/angle-double-up-line.js +15 -0
  122. package/lib/icon/angle-down-fill.d.ts +4 -0
  123. package/lib/icon/angle-down-fill.js +15 -0
  124. package/lib/icon/angle-down-line.d.ts +4 -0
  125. package/lib/icon/angle-down-line.js +15 -0
  126. package/lib/icon/angle-down.d.ts +4 -0
  127. package/lib/icon/angle-down.js +15 -0
  128. package/lib/icon/angle-left.d.ts +4 -0
  129. package/lib/icon/angle-left.js +15 -0
  130. package/lib/icon/angle-right.d.ts +4 -0
  131. package/lib/icon/angle-right.js +15 -0
  132. package/lib/icon/angle-up-fill.d.ts +4 -0
  133. package/lib/icon/angle-up-fill.js +15 -0
  134. package/lib/icon/angle-up.d.ts +4 -0
  135. package/lib/icon/angle-up.js +15 -0
  136. package/lib/icon/arrows-left.d.ts +4 -0
  137. package/lib/icon/arrows-left.js +15 -0
  138. package/lib/icon/arrows-right.d.ts +4 -0
  139. package/lib/icon/arrows-right.js +15 -0
  140. package/lib/icon/bk.d.ts +4 -0
  141. package/lib/icon/bk.js +15 -0
  142. package/lib/icon/circle.d.ts +4 -0
  143. package/lib/icon/circle.js +15 -0
  144. package/lib/icon/close.d.ts +4 -0
  145. package/lib/icon/close.js +15 -0
  146. package/lib/icon/code.d.ts +4 -0
  147. package/lib/icon/code.js +15 -0
  148. package/lib/icon/cog-shape.d.ts +4 -0
  149. package/lib/icon/cog-shape.js +15 -0
  150. package/lib/icon/collapse-left.d.ts +4 -0
  151. package/lib/icon/collapse-left.js +15 -0
  152. package/lib/icon/copy.d.ts +4 -0
  153. package/lib/icon/copy.js +15 -0
  154. package/lib/icon/done.d.ts +4 -0
  155. package/lib/icon/done.js +15 -0
  156. package/lib/icon/down-shape.d.ts +4 -0
  157. package/lib/icon/down-shape.js +15 -0
  158. package/lib/icon/down-small.d.ts +4 -0
  159. package/lib/icon/down-small.js +15 -0
  160. package/lib/icon/ellipsis.d.ts +4 -0
  161. package/lib/icon/ellipsis.js +15 -0
  162. package/lib/icon/error.d.ts +4 -0
  163. package/lib/icon/error.js +15 -0
  164. package/lib/icon/eye.d.ts +4 -0
  165. package/lib/icon/eye.js +15 -0
  166. package/lib/icon/folder-open.d.ts +4 -0
  167. package/lib/icon/folder-open.js +15 -0
  168. package/lib/icon/folder-shape-open.d.ts +4 -0
  169. package/lib/icon/folder-shape-open.js +15 -0
  170. package/lib/icon/folder-shape.d.ts +4 -0
  171. package/lib/icon/folder-shape.js +15 -0
  172. package/lib/icon/folder.d.ts +4 -0
  173. package/lib/icon/folder.js +15 -0
  174. package/lib/icon/help-document-fill.d.ts +4 -0
  175. package/lib/icon/help-document-fill.js +15 -0
  176. package/lib/icon/help-fill.d.ts +4 -0
  177. package/lib/icon/help-fill.js +15 -0
  178. package/lib/icon/help.d.ts +4 -0
  179. package/lib/icon/help.js +15 -0
  180. package/lib/icon/icon.d.ts +12 -0
  181. package/lib/icon/icon.js +15 -0
  182. package/lib/icon/index.d.ts +53 -0
  183. package/lib/icon/index.js +1 -1
  184. package/lib/icon/info-line.d.ts +4 -0
  185. package/lib/icon/info-line.js +15 -0
  186. package/lib/icon/info.d.ts +4 -0
  187. package/lib/icon/info.js +15 -0
  188. package/lib/icon/left-shape.d.ts +4 -0
  189. package/lib/icon/left-shape.js +15 -0
  190. package/lib/icon/play-shape.d.ts +4 -0
  191. package/lib/icon/play-shape.js +15 -0
  192. package/lib/icon/plus.d.ts +4 -0
  193. package/lib/icon/plus.js +15 -0
  194. package/lib/icon/qq.d.ts +4 -0
  195. package/lib/icon/qq.js +15 -0
  196. package/lib/icon/right-shape.d.ts +4 -0
  197. package/lib/icon/right-shape.js +15 -0
  198. package/lib/icon/search.d.ts +4 -0
  199. package/lib/icon/search.js +15 -0
  200. package/lib/icon/share.d.ts +4 -0
  201. package/lib/icon/share.js +15 -0
  202. package/lib/icon/spinner.d.ts +4 -0
  203. package/lib/icon/spinner.js +15 -0
  204. package/lib/icon/success.d.ts +4 -0
  205. package/lib/icon/success.js +15 -0
  206. package/lib/icon/switcher-loading.d.ts +4 -0
  207. package/lib/icon/switcher-loading.js +15 -0
  208. package/lib/icon/text-file.d.ts +4 -0
  209. package/lib/icon/text-file.js +15 -0
  210. package/lib/icon/tree-application-shape.d.ts +4 -0
  211. package/lib/icon/tree-application-shape.js +15 -0
  212. package/lib/icon/unvisible.d.ts +4 -0
  213. package/lib/icon/unvisible.js +15 -0
  214. package/lib/icon/up-shape.d.ts +4 -0
  215. package/lib/icon/up-shape.js +15 -0
  216. package/lib/icon/warn.d.ts +4 -0
  217. package/lib/icon/warn.js +15 -0
  218. package/lib/icon/weixin.d.ts +4 -0
  219. package/lib/icon/weixin.js +15 -0
  220. package/lib/index.d.ts +4 -0
  221. package/lib/input/index.d.ts +417 -0
  222. package/lib/input/index.js +2 -2
  223. package/lib/input/input.css +20 -2
  224. package/lib/input/input.d.ts +97 -45
  225. package/lib/input/input.less +28 -5
  226. package/lib/input/input.variable.css +52 -2
  227. package/lib/link/index.d.ts +164 -0
  228. package/lib/link/index.js +1 -1
  229. package/lib/link/link.d.ts +25 -13
  230. package/lib/link/link.variable.css +32 -0
  231. package/lib/loading/index.d.ts +164 -0
  232. package/lib/loading/index.js +1 -1
  233. package/lib/loading/loading.css +108 -73
  234. package/lib/loading/loading.d.ts +61 -20
  235. package/lib/loading/loading.less +73 -58
  236. package/lib/loading/loading.variable.css +140 -73
  237. package/lib/menu/index.d.ts +188 -0
  238. package/lib/menu/index.js +1 -0
  239. package/lib/menu/menu-group.d.ts +14 -0
  240. package/lib/menu/menu-item.d.ts +16 -0
  241. package/lib/menu/menu.css +182 -0
  242. package/lib/menu/menu.d.ts +64 -0
  243. package/lib/menu/menu.less +180 -0
  244. package/lib/menu/menu.variable.css +275 -0
  245. package/lib/menu/submenu.css +3 -0
  246. package/lib/menu/submenu.d.ts +22 -0
  247. package/lib/menu/submenu.less +5 -0
  248. package/lib/menu/submenu.variable.css +96 -0
  249. package/lib/menu/utils.d.ts +41 -0
  250. package/lib/message/index.d.ts +2 -0
  251. package/lib/message/index.js +1 -0
  252. package/lib/message/message.css +53 -0
  253. package/lib/message/message.less +61 -0
  254. package/lib/message/message.variable.css +146 -0
  255. package/lib/message/messageConstructor.d.ts +73 -0
  256. package/lib/modal/index.d.ts +214 -0
  257. package/lib/modal/index.js +1 -1
  258. package/lib/modal/modal.d.ts +33 -15
  259. package/lib/modal/props.mixin.d.ts +5 -1
  260. package/lib/navigation/index.d.ts +2 -0
  261. package/lib/navigation/index.js +1 -0
  262. package/lib/navigation/navigation-title.d.ts +25 -0
  263. package/lib/navigation/navigation.css +184 -0
  264. package/lib/navigation/navigation.d.ts +111 -0
  265. package/lib/navigation/navigation.less +210 -0
  266. package/lib/navigation/navigation.variable.css +277 -0
  267. package/lib/notify/index.d.ts +2 -0
  268. package/lib/notify/index.js +1 -0
  269. package/lib/notify/notify.css +49 -0
  270. package/lib/notify/notify.less +58 -0
  271. package/lib/notify/notify.variable.css +142 -0
  272. package/lib/notify/notifyConstructor.d.ts +91 -0
  273. package/lib/pagination/index.d.ts +395 -0
  274. package/lib/pagination/index.js +1 -0
  275. package/lib/pagination/pagination.css +179 -0
  276. package/lib/pagination/pagination.d.ts +220 -0
  277. package/lib/pagination/pagination.less +201 -0
  278. package/lib/pagination/pagination.variable.css +272 -0
  279. package/lib/pagination/type.d.ts +6 -0
  280. package/lib/pagination/use-limit.d.ts +8 -0
  281. package/lib/pagination/use-list.d.ts +8 -0
  282. package/lib/pagination/use-small-list.d.ts +5 -0
  283. package/lib/pagination/use-total.d.ts +5 -0
  284. package/lib/popover/index.d.ts +287 -0
  285. package/lib/popover/index.js +1 -1
  286. package/lib/popover/popover.css +23 -14
  287. package/lib/popover/popover.d.ts +75 -46
  288. package/lib/popover/popover.less +57 -46
  289. package/lib/popover/popover.variable.css +55 -14
  290. package/lib/popover/props.d.ts +77 -0
  291. package/lib/preset.d.ts +7 -0
  292. package/lib/process/index.d.ts +205 -0
  293. package/lib/process/index.js +15 -0
  294. package/lib/process/process.css +138 -0
  295. package/lib/process/process.d.ts +131 -0
  296. package/lib/process/process.less +178 -0
  297. package/lib/process/process.variable.css +231 -0
  298. package/lib/progress/index.d.ts +398 -0
  299. package/lib/progress/index.js +1 -1
  300. package/lib/progress/progress.css +0 -3
  301. package/lib/progress/progress.d.ts +88 -35
  302. package/lib/progress/progress.less +0 -4
  303. package/lib/progress/progress.variable.css +32 -3
  304. package/lib/radio/common.d.ts +1 -1
  305. package/lib/radio/index.d.ts +277 -0
  306. package/lib/radio/index.js +1 -1
  307. package/lib/radio/radio-button.d.ts +24 -16
  308. package/lib/radio/radio-group.d.ts +11 -10
  309. package/lib/radio/radio.css +8 -2
  310. package/lib/radio/radio.d.ts +23 -13
  311. package/lib/radio/radio.less +9 -2
  312. package/lib/radio/radio.variable.css +40 -2
  313. package/lib/radio/type.d.ts +1 -1
  314. package/lib/rate/index.d.ts +113 -0
  315. package/lib/rate/index.js +1 -1
  316. package/lib/rate/rate.d.ts +13 -10
  317. package/lib/rate/star.d.ts +33 -16
  318. package/lib/resize-layout/index.d.ts +336 -0
  319. package/lib/resize-layout/index.js +1 -0
  320. package/lib/resize-layout/resize-layout.css +189 -0
  321. package/lib/resize-layout/resize-layout.d.ts +127 -0
  322. package/lib/resize-layout/resize-layout.less +233 -0
  323. package/lib/resize-layout/resize-layout.variable.css +282 -0
  324. package/lib/select/common.d.ts +23 -17
  325. package/lib/select/index.d.ts +1347 -0
  326. package/lib/select/index.js +15 -1
  327. package/lib/select/option.d.ts +12 -19
  328. package/lib/select/optionGroup.d.ts +54 -0
  329. package/lib/select/select.css +243 -17
  330. package/lib/select/select.d.ts +268 -155
  331. package/lib/select/select.less +245 -46
  332. package/lib/select/select.variable.css +275 -17
  333. package/lib/select/type.d.ts +31 -0
  334. package/lib/shared/{bk-helper-core.d.ts → helper.d.ts} +6 -1
  335. package/lib/shared/index.d.ts +51 -0
  336. package/lib/shared/index.js +1 -1
  337. package/lib/shared/{bk-mask-manager.d.ts → mask-manager.d.ts} +32 -3
  338. package/lib/shared/{bk-pop-manager.d.ts → pop-manager.d.ts} +8 -1
  339. package/lib/shared/{bk-popover.d.ts → popover.d.ts} +57 -6
  340. package/lib/shared/utils.d.ts +6 -0
  341. package/lib/shared/vue-types.d.ts +8 -7
  342. package/lib/shared/z-index-manager.d.ts +6 -1
  343. package/lib/sideslider/index.d.ts +206 -0
  344. package/lib/sideslider/index.js +1 -1
  345. package/lib/sideslider/sideslider.d.ts +39 -18
  346. package/lib/sideslider/sideslider.variable.css +32 -0
  347. package/{changelog.config.js → lib/slider/index.d.ts} +2 -8
  348. package/lib/slider/index.js +15 -0
  349. package/lib/slider/slider-button.d.ts +80 -0
  350. package/lib/slider/slider.css +149 -0
  351. package/lib/slider/slider.d.ts +201 -0
  352. package/lib/slider/slider.less +179 -0
  353. package/lib/slider/slider.variable.css +242 -0
  354. package/lib/steps/index.d.ts +250 -0
  355. package/lib/steps/index.js +15 -0
  356. package/lib/steps/steps.css +288 -0
  357. package/lib/steps/steps.d.ts +161 -0
  358. package/lib/steps/steps.less +324 -0
  359. package/lib/steps/steps.variable.css +381 -0
  360. package/lib/styles/index.d.ts +47 -0
  361. package/lib/styles/index.js +1 -1
  362. package/lib/styles/mixins/popper.css +43 -0
  363. package/lib/styles/mixins/popper.less +52 -0
  364. package/lib/styles/mixins/popper.variable.css +43 -0
  365. package/lib/styles/mixins/size.less +9 -0
  366. package/lib/styles/reset.css +273 -0
  367. package/lib/styles/reset.less +313 -0
  368. package/lib/styles/reset.variable.css +273 -0
  369. package/lib/styles/themes/themes.less +52 -2
  370. package/lib/swiper/index.d.ts +181 -0
  371. package/lib/swiper/index.js +1 -0
  372. package/lib/swiper/swiper.css +91 -0
  373. package/lib/swiper/swiper.d.ts +65 -0
  374. package/lib/swiper/swiper.less +107 -0
  375. package/lib/swiper/swiper.variable.css +91 -0
  376. package/lib/switcher/index.d.ts +286 -0
  377. package/lib/switcher/index.js +1 -1
  378. package/lib/switcher/switcher.css +149 -135
  379. package/lib/switcher/switcher.d.ts +48 -32
  380. package/lib/switcher/switcher.less +210 -154
  381. package/lib/switcher/switcher.variable.css +181 -135
  382. package/lib/tab/index.d.ts +443 -0
  383. package/lib/tab/index.js +1 -0
  384. package/lib/tab/props.d.ts +191 -0
  385. package/lib/tab/tab-nav.d.ts +165 -0
  386. package/lib/tab/tab-panel.d.ts +73 -0
  387. package/lib/tab/tab.css +148 -0
  388. package/lib/tab/tab.d.ts +140 -0
  389. package/lib/tab/tab.less +222 -0
  390. package/lib/tab/tab.variable.css +241 -0
  391. package/lib/table/const.d.ts +4 -0
  392. package/lib/table/index.d.ts +278 -0
  393. package/lib/table/index.js +10 -1
  394. package/lib/table/props.d.ts +117 -0
  395. package/lib/table/render.d.ts +82 -0
  396. package/lib/table/table.css +90 -0
  397. package/lib/table/table.d.ts +83 -37
  398. package/lib/table/table.less +116 -1
  399. package/lib/table/table.variable.css +122 -0
  400. package/lib/table/utils.d.ts +69 -0
  401. package/lib/tag/index.d.ts +229 -0
  402. package/lib/tag/index.js +1 -1
  403. package/lib/tag/tag.css +97 -0
  404. package/lib/tag/tag.d.ts +83 -53
  405. package/lib/tag/tag.less +110 -2
  406. package/lib/tag/tag.variable.css +129 -0
  407. package/lib/tag-input/common.d.ts +24 -0
  408. package/lib/tag-input/index.d.ts +2 -0
  409. package/lib/tag-input/index.js +1 -0
  410. package/lib/tag-input/list-tag-render.d.ts +47 -0
  411. package/lib/tag-input/tag-input.css +208 -0
  412. package/lib/tag-input/tag-input.d.ts +374 -0
  413. package/lib/tag-input/tag-input.less +250 -0
  414. package/lib/tag-input/tag-input.variable.css +301 -0
  415. package/lib/tag-input/tag-props.d.ts +131 -0
  416. package/lib/tag-input/tag-render.d.ts +38 -0
  417. package/lib/timeline/index.d.ts +129 -0
  418. package/lib/timeline/index.js +1 -0
  419. package/lib/timeline/timeline.css +235 -0
  420. package/lib/timeline/timeline.d.ts +81 -0
  421. package/lib/timeline/timeline.less +239 -0
  422. package/lib/timeline/timeline.variable.css +328 -0
  423. package/lib/transfer/index.d.ts +351 -0
  424. package/lib/transfer/index.js +1 -0
  425. package/lib/transfer/transfer.css +158 -0
  426. package/lib/transfer/transfer.d.ts +185 -0
  427. package/lib/transfer/transfer.less +171 -0
  428. package/lib/transfer/transfer.variable.css +251 -0
  429. package/lib/tree/index.d.ts +279 -0
  430. package/lib/tree/index.js +1 -0
  431. package/lib/tree/props.d.ts +89 -0
  432. package/lib/tree/tree.css +50 -0
  433. package/lib/tree/tree.d.ts +121 -0
  434. package/lib/tree/tree.less +63 -0
  435. package/lib/tree/tree.variable.css +143 -0
  436. package/lib/tree/util.d.ts +70 -0
  437. package/lib/use-form.d.ts +3 -0
  438. package/lib/use-message.d.ts +2 -0
  439. package/lib/virtual-render/index.d.ts +556 -0
  440. package/lib/virtual-render/index.js +10 -0
  441. package/lib/virtual-render/props.d.ts +157 -0
  442. package/lib/virtual-render/v-virtual-render.d.ts +7 -0
  443. package/lib/virtual-render/virtual-render.css +40 -0
  444. package/lib/virtual-render/virtual-render.d.ts +244 -0
  445. package/lib/virtual-render/virtual-render.less +51 -0
  446. package/lib/virtual-render/virtual-render.variable.css +40 -0
  447. package/package.json +71 -54
  448. package/lib/checkbox-group/index.js +0 -1
  449. package/lib/radio-button/index.js +0 -1
  450. package/lib/radio-group/index.js +0 -1
  451. package/lib/table/common.d.ts +0 -3
  452. package/lib/table/table-layout.d.ts +0 -14
  453. package/lib/table/type.d.ts +0 -12
@@ -0,0 +1,273 @@
1
+ html,
2
+ body {
3
+ padding: 0;
4
+ margin: 0;
5
+ }
6
+ * {
7
+ box-sizing: border-box;
8
+ }
9
+ /**
10
+ * HTML5 display definitions
11
+ * ==========================================================================
12
+ *
13
+ * Correct `block` display not defined for any HTML5 element in IE 8/9.
14
+ * Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
15
+ * Correct `block` display not defined for `main` in IE 11.
16
+ */
17
+ article,
18
+ aside,
19
+ details,
20
+ figcaption,
21
+ figure,
22
+ footer,
23
+ header,
24
+ hgroup,
25
+ main,
26
+ menu,
27
+ nav,
28
+ section,
29
+ summary {
30
+ display: block;
31
+ }
32
+ /**
33
+ * 1. Correct `inline-block` display not defined in IE 8/9.
34
+ * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
35
+ */
36
+ audio,
37
+ canvas,
38
+ progress,
39
+ video {
40
+ /* 1 */
41
+ display: inline-block;
42
+ /* 2 */
43
+ vertical-align: baseline;
44
+ }
45
+ /**
46
+ * Prevent modern browsers from displaying `audio` without controls.
47
+ * Remove excess height in iOS 5 devices.
48
+ */
49
+ audio:not([controls]) {
50
+ display: none;
51
+ height: 0;
52
+ }
53
+ /**
54
+ * Address `[hidden]` styling not present in IE 8/9/10.
55
+ * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
56
+ */
57
+ [hidden],
58
+ template {
59
+ display: none;
60
+ }
61
+ /**
62
+ * Links
63
+ * ==========================================================================
64
+ *
65
+ * Remove the gray background color from active links in IE 10.
66
+ */
67
+ a {
68
+ background-color: transparent;
69
+ }
70
+ /**
71
+ * Improve readability of focused elements when they are also in an
72
+ * active/hover state.
73
+ */
74
+ a:active,
75
+ a:hover {
76
+ outline: 0;
77
+ }
78
+ /**
79
+ * Text-level semantics
80
+ * ==========================================================================
81
+ *
82
+ * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
83
+ */
84
+ abbr[title] {
85
+ border-bottom: 1px dotted;
86
+ }
87
+ /**
88
+ * Embedded content
89
+ * ==========================================================================
90
+ *
91
+ * Remove border when inside `a` element in IE 8/9/10.
92
+ */
93
+ img {
94
+ border: 0;
95
+ }
96
+ /**
97
+ * Correct overflow not hidden in IE 9/10/11.
98
+ */
99
+ svg:not(:root) {
100
+ overflow: hidden;
101
+ }
102
+ /**
103
+ * Grouping content
104
+ * ==========================================================================
105
+ *
106
+ * Address margin not present in IE 8/9 and Safari.
107
+ */
108
+ figure {
109
+ margin: 1em 40px;
110
+ }
111
+ /**
112
+ * Address differences between Firefox and other browsers.
113
+ */
114
+ hr {
115
+ height: 0;
116
+ box-sizing: content-box;
117
+ }
118
+ /**
119
+ * Address odd `em`-unit font size rendering in all browsers.
120
+ *
121
+ * Forms
122
+ * ==========================================================================
123
+ *
124
+ * Known limitation: by default, Chrome and Safari on OS X allow very limited
125
+ * styling of `select`, unless a `border` property is set.
126
+ *
127
+ * 1. Correct color not being inherited.
128
+ * Known issue: affects color of disabled elements.
129
+ * 2. Correct font properties not being inherited.
130
+ * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
131
+ */
132
+ button,
133
+ input,
134
+ optgroup,
135
+ select,
136
+ textarea {
137
+ /* 3 */
138
+ margin: 0;
139
+ /* 2 */
140
+ font: inherit;
141
+ /* 1 */
142
+ color: inherit;
143
+ }
144
+ /**
145
+ * Address `overflow` set to `hidden` in IE 8/9/10/11.
146
+ */
147
+ button {
148
+ overflow: visible;
149
+ }
150
+ /**
151
+ * Address inconsistent `text-transform` inheritance for `button` and `select`.
152
+ * All other form control elements do not inherit `text-transform` values.
153
+ * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
154
+ * Correct `select` style inheritance in Firefox.
155
+ */
156
+ button,
157
+ select {
158
+ text-transform: none;
159
+ }
160
+ /**
161
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls.
162
+ * 2. Correct inability to style clickable `input` types in iOS.
163
+ * 3. Improve usability and consistency of cursor style between image-type `input` and others.
164
+ */
165
+ button,
166
+ html input[type='button'],
167
+ input[type='reset'],
168
+ input[type='submit'] {
169
+ /* 3 */
170
+ cursor: pointer;
171
+ /* 2 */
172
+ appearance: button;
173
+ }
174
+ /* Re-set default cursor for disabled elements. */
175
+ button[disabled],
176
+ html input[disabled] {
177
+ cursor: default;
178
+ }
179
+ /* Remove inner padding and border in Firefox 4+. */
180
+ button::-moz-focus-inner,
181
+ input::-moz-focus-inner {
182
+ padding: 0;
183
+ border: 0;
184
+ }
185
+ /**
186
+ * Address Firefox 4+ setting `line-height` on `input` using `!important` in the UA stylesheet.
187
+ */
188
+ input {
189
+ line-height: normal;
190
+ }
191
+ /**
192
+ * It's recommended that you don't attempt to style these elements.
193
+ * Firefox's implementation doesn't respect box-sizing, padding, or width.
194
+ *
195
+ * 1. Address box sizing set to `content-box` in IE 8/9/10.
196
+ * 2. Remove excess padding in IE 8/9/10.
197
+ */
198
+ input[type='checkbox'],
199
+ input[type='radio'] {
200
+ /* 2 */
201
+ padding: 0;
202
+ /* 1 */
203
+ box-sizing: border-box;
204
+ }
205
+ /**
206
+ * Fix the cursor style for Chrome's increment/decrement buttons. For certain
207
+ * `font-size` values of the `input`, it causes the cursor style of the
208
+ * decrement button to change from `default` to `text`.
209
+ */
210
+ input[type='number']::-webkit-inner-spin-button,
211
+ input[type='number']::-webkit-outer-spin-button {
212
+ height: auto;
213
+ }
214
+ ::-ms-clear,
215
+ ::-ms-reveal {
216
+ display: none;
217
+ }
218
+ input[type='text']::-ms-clear {
219
+ display: none;
220
+ }
221
+ input[type='text']::-ms-reveal {
222
+ display: none;
223
+ }
224
+ /**
225
+ * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
226
+ * 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
227
+ */
228
+ input[type='search'] {
229
+ /* 2 */
230
+ box-sizing: content-box;
231
+ /* 1 */
232
+ appearance: textfield;
233
+ }
234
+ /**
235
+ * Remove inner padding and search cancel button in Safari and Chrome on OS X.
236
+ * Safari (but not Chrome) clips the cancel button when the search input has
237
+ * padding (and `textfield` appearance).
238
+ */
239
+ input[type='search']::-webkit-search-cancel-button,
240
+ input[type='search']::-webkit-search-decoration {
241
+ appearance: none;
242
+ }
243
+ /**
244
+ * Define consistent border, margin, and padding.
245
+ */
246
+ fieldset {
247
+ padding: 0.35em 0.625em 0.75em;
248
+ margin: 0 2px;
249
+ border: 1px solid #c0c0c0;
250
+ }
251
+ /**
252
+ * 1. Correct `color` not being inherited in IE 8/9/10/11.
253
+ * 2. Remove padding so people aren't caught out if they zero out fieldsets.
254
+ */
255
+ legend {
256
+ /* 2 */
257
+ padding: 0;
258
+ /* 1 */
259
+ border: 0;
260
+ }
261
+ /**
262
+ * Remove default vertical scrollbar in IE 8/9/10/11.
263
+ */
264
+ textarea {
265
+ overflow: auto;
266
+ }
267
+ /**
268
+ * Don't inherit the `font-weight` (applied by a rule above).
269
+ * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
270
+ */
271
+ optgroup {
272
+ font-weight: bold;
273
+ }
@@ -1,11 +1,13 @@
1
1
  @bk-prefix: bk;
2
2
 
3
+ @popover-max-height: 216px;
3
4
 
4
5
  @primary-color: #3a84ff;
5
6
  @success-color: #2dcb56;
6
7
  @warning-color: #ff9c01;
7
8
  @danger-color: #ea3636;
8
9
  @default-color: #63656e;
10
+ @gray-color: #979ba5;
9
11
  @light-gray: #c4c6cc;
10
12
  @white-color: white;
11
13
  @disable-color: #dcdee5;
@@ -55,15 +57,18 @@
55
57
 
56
58
  // fixed-navbar theme
57
59
  @fixed-navbar-background: #fff;
58
- @fixed-navbar-boxshadow-color: rgba(0,0,0,0.10);
60
+ @fixed-navbar-boxshadow-color: rgba(0,0,0,.1);
61
+
59
62
  // switch theme
60
63
  @switch-default-color: #fff;
61
64
  @switch-grey-color: #c4c6cc;
65
+
62
66
  // breadcrumb theme
63
67
  @breadcrumb-black-color: #979ba5;
64
68
  @breadcrumb-primary-hover-color: #0082ff;
65
69
  @breadcrumb-fn-main-color: #63656e;
66
- //link theme
70
+
71
+ // link theme
67
72
  @link-default-hover-color: #979ba5;
68
73
  @link-primary-hover-color: #699df4;
69
74
  @link-success-hover-color: #45e35f;
@@ -74,3 +79,48 @@
74
79
  @link-success-disabled-color: #94f5a4;
75
80
  @link-warning-disabled-color: #ffd695;
76
81
  @link-danger-disabled-color: #fd9c9c;
82
+
83
+ // message theme
84
+ @message-color: @default-color;
85
+ @message-primary-bg-color: #f0f8ff;
86
+ @message-primary-border-color: #e1ecff;
87
+ @message-warning-bg-color: #fff4e2;
88
+ @message-warning-border-color: #ffe8c3;
89
+ @message-success-bg-color: #f2fff4;
90
+ @message-success-border-color: #dcffe2;
91
+ @message-danger-bg-color: #ffeded;
92
+ @message-danger-border-color: #ffdddd;
93
+
94
+ // slider theme
95
+ @slider-default-bg: #dcdee5;
96
+ @slider-disable-bar-bg: #979ba5;
97
+
98
+
99
+ // menu theme
100
+ @menu-bg-color: #182132;
101
+ @submenu-bg-color: #151d2c;
102
+ @menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
103
+ @menu-color: #96a2b9;
104
+ @menu-group-color: @default-color;
105
+ @menu-width: 260px;
106
+ @menu-collapse-width: 60px;
107
+ @menu-active-color: white;
108
+
109
+ // navigation theme
110
+ @nav-header-bg-color: #182132;
111
+ @nav-bg-color: #182132;
112
+
113
+ // date-picker theme
114
+ @date-picker-disabled-bg: #fafbfd;
115
+ @date-picker-dropdown-mb: 4px;
116
+ @date-picker-dropdown-bg: #fff;
117
+
118
+ // table theme
119
+ @table-bg-color: @white-color;
120
+ @table-border-color: #dcdee5;
121
+
122
+ @table-head-bg-color: #fafbfd;
123
+ @table-head-font-color: #313238;
124
+
125
+ @table-body-font-color: #575961;
126
+ @table-row-hover-bg-color: #f5f7fa;
@@ -0,0 +1,181 @@
1
+ declare const BkSwiper: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{
6
+ width: number;
7
+ height: number;
8
+ list: unknown[];
9
+ isLoop: boolean;
10
+ loopTime: number;
11
+ pics: unknown[];
12
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
13
+ isLoop: import("vue-types").VueTypeValidableDef<boolean> & {
14
+ default: boolean;
15
+ } & {
16
+ default: boolean;
17
+ };
18
+ loopTime: import("vue-types").VueTypeValidableDef<number> & {
19
+ default: number;
20
+ } & {
21
+ default: number;
22
+ };
23
+ pics: import("vue-types").VueTypeValidableDef<unknown[]> & {
24
+ default: () => unknown[];
25
+ } & {
26
+ default: () => unknown[];
27
+ };
28
+ list: import("vue-types").VueTypeValidableDef<unknown[]> & {
29
+ default: () => unknown[];
30
+ } & {
31
+ default: () => unknown[];
32
+ };
33
+ height: import("vue-types").VueTypeValidableDef<number> & {
34
+ default: number;
35
+ };
36
+ width: import("vue-types").VueTypeValidableDef<number> & {
37
+ default: number;
38
+ };
39
+ }>> & {
40
+ "onIndex-change"?: (...args: any[]) => any;
41
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "width" | "height" | "list" | "isLoop" | "loopTime" | "pics">;
42
+ $attrs: {
43
+ [x: string]: unknown;
44
+ };
45
+ $refs: {
46
+ [x: string]: unknown;
47
+ };
48
+ $slots: Readonly<{
49
+ [name: string]: import("vue").Slot;
50
+ }>;
51
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
52
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
53
+ $emit: (event: "index-change", ...args: any[]) => void;
54
+ $el: any;
55
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
56
+ isLoop: import("vue-types").VueTypeValidableDef<boolean> & {
57
+ default: boolean;
58
+ } & {
59
+ default: boolean;
60
+ };
61
+ loopTime: import("vue-types").VueTypeValidableDef<number> & {
62
+ default: number;
63
+ } & {
64
+ default: number;
65
+ };
66
+ pics: import("vue-types").VueTypeValidableDef<unknown[]> & {
67
+ default: () => unknown[];
68
+ } & {
69
+ default: () => unknown[];
70
+ };
71
+ list: import("vue-types").VueTypeValidableDef<unknown[]> & {
72
+ default: () => unknown[];
73
+ } & {
74
+ default: () => unknown[];
75
+ };
76
+ height: import("vue-types").VueTypeValidableDef<number> & {
77
+ default: number;
78
+ };
79
+ width: import("vue-types").VueTypeValidableDef<number> & {
80
+ default: number;
81
+ };
82
+ }>> & {
83
+ "onIndex-change"?: (...args: any[]) => any;
84
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "index-change"[], string, {
85
+ width: number;
86
+ height: number;
87
+ list: unknown[];
88
+ isLoop: boolean;
89
+ loopTime: number;
90
+ pics: unknown[];
91
+ }> & {
92
+ beforeCreate?: (() => void) | (() => void)[];
93
+ created?: (() => void) | (() => void)[];
94
+ beforeMount?: (() => void) | (() => void)[];
95
+ mounted?: (() => void) | (() => void)[];
96
+ beforeUpdate?: (() => void) | (() => void)[];
97
+ updated?: (() => void) | (() => void)[];
98
+ activated?: (() => void) | (() => void)[];
99
+ deactivated?: (() => void) | (() => void)[];
100
+ beforeDestroy?: (() => void) | (() => void)[];
101
+ beforeUnmount?: (() => void) | (() => void)[];
102
+ destroyed?: (() => void) | (() => void)[];
103
+ unmounted?: (() => void) | (() => void)[];
104
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
105
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
106
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
107
+ };
108
+ $forceUpdate: () => void;
109
+ $nextTick: typeof import("vue").nextTick;
110
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
111
+ } & Readonly<import("vue").ExtractPropTypes<{
112
+ isLoop: import("vue-types").VueTypeValidableDef<boolean> & {
113
+ default: boolean;
114
+ } & {
115
+ default: boolean;
116
+ };
117
+ loopTime: import("vue-types").VueTypeValidableDef<number> & {
118
+ default: number;
119
+ } & {
120
+ default: number;
121
+ };
122
+ pics: import("vue-types").VueTypeValidableDef<unknown[]> & {
123
+ default: () => unknown[];
124
+ } & {
125
+ default: () => unknown[];
126
+ };
127
+ list: import("vue-types").VueTypeValidableDef<unknown[]> & {
128
+ default: () => unknown[];
129
+ } & {
130
+ default: () => unknown[];
131
+ };
132
+ height: import("vue-types").VueTypeValidableDef<number> & {
133
+ default: number;
134
+ };
135
+ width: import("vue-types").VueTypeValidableDef<number> & {
136
+ default: number;
137
+ };
138
+ }>> & {
139
+ "onIndex-change"?: (...args: any[]) => any;
140
+ } & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
141
+ __isFragment?: never;
142
+ __isTeleport?: never;
143
+ __isSuspense?: never;
144
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
145
+ isLoop: import("vue-types").VueTypeValidableDef<boolean> & {
146
+ default: boolean;
147
+ } & {
148
+ default: boolean;
149
+ };
150
+ loopTime: import("vue-types").VueTypeValidableDef<number> & {
151
+ default: number;
152
+ } & {
153
+ default: number;
154
+ };
155
+ pics: import("vue-types").VueTypeValidableDef<unknown[]> & {
156
+ default: () => unknown[];
157
+ } & {
158
+ default: () => unknown[];
159
+ };
160
+ list: import("vue-types").VueTypeValidableDef<unknown[]> & {
161
+ default: () => unknown[];
162
+ } & {
163
+ default: () => unknown[];
164
+ };
165
+ height: import("vue-types").VueTypeValidableDef<number> & {
166
+ default: number;
167
+ };
168
+ width: import("vue-types").VueTypeValidableDef<number> & {
169
+ default: number;
170
+ };
171
+ }>> & {
172
+ "onIndex-change"?: (...args: any[]) => any;
173
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "index-change"[], "index-change", {
174
+ width: number;
175
+ height: number;
176
+ list: unknown[];
177
+ isLoop: boolean;
178
+ loopTime: number;
179
+ pics: unknown[];
180
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
181
+ export default BkSwiper;
@@ -0,0 +1 @@
1
+ !function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("../shared"),require("vue")):"function"==typeof define&&define.amd?define(["exports","../shared","vue"],n):n((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Shared,e.Vue)}(this,(function(e,n,t){"use strict";var o=t.defineComponent({name:"Swiper",props:{isLoop:n.PropTypes.bool.def(!0),loopTime:n.PropTypes.number.def(8e3),pics:n.PropTypes.array.def([]),list:n.PropTypes.array.def([]),height:n.PropTypes.number,width:n.PropTypes.number},emits:["index-change"],setup:function(e,n){var o,a=n.emit,i=n.slots,r=t.toRefs(e),l=r.isLoop,u=r.loopTime,c=r.pics,s=r.list,d=r.height,p=r.width,v=t.ref(),f=t.ref(0),h=t.ref(0),b=t.ref(0),w=t.ref(0),m=t.computed((function(){var e;return(null===(e=s.value)||void 0===e?void 0:e.length)>0?s.value:c.value})),g=t.computed((function(){return{width:"".concat(h.value*m.value.length,"px"),transform:"translateX(-".concat(h.value*f.value,"px)")}})),k=t.computed((function(){return{width:"".concat(h.value,"px"),height:"".concat(b.value,"px")}})),y=function(e){var n=e;e>=m.value.length&&(n=0),e<0&&(n=m.value.length-1),f.value=n,a("index-change",n)},T=function(e){return["bk-swiper-img",{"bk-swiper-link":e.link},e.class]},x=function(e){return{"background-image":"url(".concat(e.url,")"),"background-color":e.color}},V=function(e){return{"bk-current-index":f.value===e}},N=function e(){l.value&&(w.value=window.setTimeout((function(){y(f.value+1),e()}),u.value))},P=function(){var e,n=function(e){if(void 0===e)return{height:0,width:0};var n=getComputedStyle(e),t=e.clientWidth-parseFloat(n.paddingTop)-parseFloat(n.paddingBottom);return{height:e.clientHeight-parseFloat(n.paddingLeft)-parseFloat(n.paddingRight),width:t}}(null===(e=v.value)||void 0===e?void 0:e.parentElement);h.value=+p.value>0?p.value:n.width,b.value=+d.value>0?d.value:n.height};return t.watch([d,p],P),t.onMounted((function(){var e,n;P(),N(),(n=null===(e=v.value)||void 0===e?void 0:e.parentElement)&&window.ResizeObserver&&(o=new ResizeObserver((function(){P()}))).observe(n)})),t.onBeforeUnmount((function(){var e;window.clearTimeout(w.value),null===(e=o.disconnect)||void 0===e||e.call(o)})),function(){return t.createVNode("section",{class:"bk-swiper-home",ref:v,style:k.value},[t.createVNode("hgroup",{style:g.value,class:"bk-transition bk-swiper-main"},[m.value.map((function(e){var n,o;return t.createVNode("h3",{class:"bk-swiper-card",style:k.value},[null!==(o=null===(n=i.default)||void 0===n?void 0:n.call(i,e))&&void 0!==o?o:t.createVNode("span",{class:T(e),style:x(e),onClick:function(){var n;(n=e.link)&&window.open(n,"_blank")}},null)])}))]),t.createVNode("ul",{class:"bk-swiper-index"},[m.value.map((function(e,n){return t.createVNode("li",{class:V(n),onMouseover:function(){return y(n)}},null)}))]),t.createVNode("span",{class:"bk-swiper-nav bk-nav-prev",onClick:function(){return y(f.value-1)}},[t.createVNode("i",{class:"bk-swiper-nav-icon"},null)]),t.createVNode("span",{class:"bk-swiper-nav bk-nav-next",onClick:function(){return y(f.value+1)}},[t.createVNode("i",{class:"bk-swiper-nav-icon"},null)])])}}}),a=n.withInstall(o);e.default=a,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -0,0 +1,91 @@
1
+ .bk-swiper-home {
2
+ position: relative;
3
+ overflow: hidden;
4
+ }
5
+ .bk-swiper-home:hover .bk-swiper-nav {
6
+ display: block;
7
+ }
8
+ .bk-swiper-main {
9
+ display: flex;
10
+ height: 100%;
11
+ overflow: hidden;
12
+ }
13
+ .bk-swiper-main.bk-transition {
14
+ transition: 0.5s cubic-bezier(0.42, 0, 0.58, 1);
15
+ }
16
+ .bk-swiper-main .bk-swiper-card {
17
+ height: 100%;
18
+ padding: 0;
19
+ margin: 0;
20
+ }
21
+ .bk-swiper-main .bk-swiper-img {
22
+ display: inline-block;
23
+ width: 100%;
24
+ height: 100%;
25
+ margin: 0;
26
+ background-position: center;
27
+ background-repeat: no-repeat;
28
+ background-size: cover;
29
+ }
30
+ .bk-swiper-main .bk-swiper-link {
31
+ cursor: pointer;
32
+ }
33
+ .bk-swiper-index {
34
+ position: absolute;
35
+ right: 0;
36
+ bottom: 10px;
37
+ left: 0;
38
+ display: flex;
39
+ padding: 0;
40
+ margin: 0;
41
+ justify-content: center;
42
+ }
43
+ .bk-swiper-index li {
44
+ width: 11px;
45
+ height: 4px;
46
+ margin: 0 3px;
47
+ list-style-type: none;
48
+ background: #63656e;
49
+ border-radius: 2px;
50
+ transition: width 0.525s;
51
+ }
52
+ .bk-swiper-index li.bk-current-index {
53
+ width: 17px;
54
+ background: #c5c7d1;
55
+ }
56
+ .bk-swiper-nav {
57
+ position: absolute;
58
+ top: calc(50% - 15px);
59
+ display: none;
60
+ width: 30px;
61
+ height: 30px;
62
+ cursor: pointer;
63
+ background: rgba(31, 45, 61, 0.4);
64
+ border-radius: 50%;
65
+ }
66
+ .bk-swiper-nav .bk-swiper-nav-icon {
67
+ position: absolute;
68
+ top: 9px;
69
+ left: 11px;
70
+ width: 10px;
71
+ height: 10px;
72
+ border-bottom: 2px solid #fff;
73
+ border-left: 2px solid #fff;
74
+ }
75
+ .bk-swiper-nav.bk-nav-prev {
76
+ left: 14px;
77
+ transform: rotate(45deg);
78
+ }
79
+ .bk-swiper-nav.bk-nav-prev:hover {
80
+ transform: rotate(45deg);
81
+ }
82
+ .bk-swiper-nav.bk-nav-next {
83
+ right: 14px;
84
+ transform: rotate(225deg);
85
+ }
86
+ .bk-swiper-nav.bk-nav-next:hover {
87
+ transform: rotate(225deg);
88
+ }
89
+ .bk-swiper-nav:hover {
90
+ background: rgba(31, 45, 61, 0.6);
91
+ }
@@ -0,0 +1,65 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ isLoop: import("vue-types").VueTypeValidableDef<boolean> & {
3
+ default: boolean;
4
+ } & {
5
+ default: boolean;
6
+ };
7
+ loopTime: import("vue-types").VueTypeValidableDef<number> & {
8
+ default: number;
9
+ } & {
10
+ default: number;
11
+ };
12
+ pics: import("vue-types").VueTypeValidableDef<unknown[]> & {
13
+ default: () => unknown[];
14
+ } & {
15
+ default: () => unknown[];
16
+ };
17
+ list: import("vue-types").VueTypeValidableDef<unknown[]> & {
18
+ default: () => unknown[];
19
+ } & {
20
+ default: () => unknown[];
21
+ };
22
+ height: import("vue-types").VueTypeValidableDef<number> & {
23
+ default: number;
24
+ };
25
+ width: import("vue-types").VueTypeValidableDef<number> & {
26
+ default: number;
27
+ };
28
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "index-change"[], "index-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
29
+ isLoop: import("vue-types").VueTypeValidableDef<boolean> & {
30
+ default: boolean;
31
+ } & {
32
+ default: boolean;
33
+ };
34
+ loopTime: import("vue-types").VueTypeValidableDef<number> & {
35
+ default: number;
36
+ } & {
37
+ default: number;
38
+ };
39
+ pics: import("vue-types").VueTypeValidableDef<unknown[]> & {
40
+ default: () => unknown[];
41
+ } & {
42
+ default: () => unknown[];
43
+ };
44
+ list: import("vue-types").VueTypeValidableDef<unknown[]> & {
45
+ default: () => unknown[];
46
+ } & {
47
+ default: () => unknown[];
48
+ };
49
+ height: import("vue-types").VueTypeValidableDef<number> & {
50
+ default: number;
51
+ };
52
+ width: import("vue-types").VueTypeValidableDef<number> & {
53
+ default: number;
54
+ };
55
+ }>> & {
56
+ "onIndex-change"?: (...args: any[]) => any;
57
+ }, {
58
+ width: number;
59
+ height: number;
60
+ list: unknown[];
61
+ isLoop: boolean;
62
+ loopTime: number;
63
+ pics: unknown[];
64
+ }>;
65
+ export default _default;