bkui-vue 1.0.3-beta.9 → 2.0.1-beta.10

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 (407) hide show
  1. package/dist/index.cjs.js +162 -164
  2. package/dist/index.esm.js +31999 -29678
  3. package/dist/index.umd.js +162 -164
  4. package/dist/locale/en.esm.js +1 -1
  5. package/dist/locale/en.esm.js.map +1 -1
  6. package/dist/locale/en.umd.js +1 -1
  7. package/dist/locale/en.umd.js.map +1 -1
  8. package/dist/locale/zh-cn.esm.js +1 -1
  9. package/dist/locale/zh-cn.esm.js.map +1 -1
  10. package/dist/locale/zh-cn.umd.js +1 -1
  11. package/dist/locale/zh-cn.umd.js.map +1 -1
  12. package/dist/style.css +1 -1
  13. package/dist/style.variable.css +1 -1
  14. package/lib/affix/affix.variable.css +3 -0
  15. package/lib/affix/index.js +7 -7
  16. package/lib/alert/alert.d.ts +5 -5
  17. package/lib/alert/alert.variable.css +3 -0
  18. package/lib/alert/index.d.ts +11 -11
  19. package/lib/backtop/backtop.d.ts +1 -1
  20. package/lib/backtop/backtop.variable.css +3 -0
  21. package/lib/backtop/index.d.ts +3 -3
  22. package/lib/backtop/index.js +6 -6
  23. package/lib/badge/badge.variable.css +3 -0
  24. package/lib/badge/index.js +1 -1
  25. package/lib/breadcrumb/breadcrumb.variable.css +3 -0
  26. package/lib/button/button.d.ts +7 -7
  27. package/lib/button/button.variable.css +3 -0
  28. package/lib/button/index.d.ts +8 -8
  29. package/lib/button/index.js +6 -6
  30. package/lib/card/card.variable.css +3 -0
  31. package/lib/cascader/cascader-panel.d.ts +1 -1
  32. package/lib/cascader/cascader.css +3 -3
  33. package/lib/cascader/cascader.d.ts +1 -1
  34. package/lib/cascader/cascader.less +4 -4
  35. package/lib/cascader/cascader.variable.css +6 -3
  36. package/lib/cascader/index.js +35 -36
  37. package/lib/cascader/interface.d.ts +1 -1
  38. package/lib/checkbox/checkbox.variable.css +3 -0
  39. package/lib/checkbox/index.js +7 -7
  40. package/lib/checkbox/type.d.ts +1 -1
  41. package/lib/code-diff/code-diff.variable.css +3 -0
  42. package/lib/code-diff/index.js +8 -8
  43. package/lib/collapse/collapse.css +11 -0
  44. package/lib/collapse/collapse.d.ts +11 -0
  45. package/lib/collapse/collapse.less +15 -1
  46. package/lib/collapse/collapse.variable.css +14 -0
  47. package/lib/collapse/index.d.ts +23 -0
  48. package/lib/collapse/index.js +11 -3
  49. package/lib/collapse/props.d.ts +8 -0
  50. package/lib/collapse/utils.d.ts +2 -2
  51. package/lib/collapse-transition/collapse-transition.variable.css +3 -0
  52. package/lib/color-picker/color-picker.css +3 -3
  53. package/lib/color-picker/color-picker.less +3 -3
  54. package/lib/color-picker/color-picker.variable.css +6 -3
  55. package/lib/color-picker/index.js +45 -45
  56. package/lib/components.d.ts +32 -30
  57. package/lib/components.js +31 -29
  58. package/lib/config-provider/config-provider.d.ts +3 -0
  59. package/lib/config-provider/config-provider.variable.css +3 -0
  60. package/lib/config-provider/index.d.ts +5 -1
  61. package/lib/config-provider/token.d.ts +1 -0
  62. package/lib/container/container.variable.css +3 -0
  63. package/lib/container/index.js +6 -6
  64. package/lib/date-picker/base/date-table.d.ts +1 -1
  65. package/lib/date-picker/base/month-table.d.ts +3 -3
  66. package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
  67. package/lib/date-picker/base/year-table.d.ts +3 -3
  68. package/lib/date-picker/date-picker.d.ts +1 -0
  69. package/lib/date-picker/date-picker.variable.css +3 -0
  70. package/lib/date-picker/index.d.ts +3 -0
  71. package/lib/date-picker/index.js +340 -224
  72. package/lib/date-picker/interface.d.ts +9 -9
  73. package/lib/date-picker/panel/date-range.d.ts +2 -64
  74. package/lib/date-picker/panel/date.d.ts +1 -1
  75. package/lib/date-picker/panel/time-range.d.ts +1 -1
  76. package/lib/date-picker/panel/time.d.ts +1 -1
  77. package/lib/date-picker/props.d.ts +1 -1
  78. package/lib/date-picker/time-picker.d.ts +1 -0
  79. package/lib/date-picker/utils.d.ts +9 -1
  80. package/lib/dialog/dialog.css +172 -150
  81. package/lib/dialog/dialog.d.ts +55 -124
  82. package/lib/dialog/dialog.less +51 -124
  83. package/lib/dialog/dialog.variable.css +175 -150
  84. package/lib/dialog/index.d.ts +132 -296
  85. package/lib/dialog/index.js +244 -246
  86. package/lib/dialog/props.d.ts +16 -41
  87. package/lib/directives/index.d.ts +3 -3
  88. package/lib/directives/index.js +166 -167
  89. package/lib/directives/tooltips.d.ts +1 -1
  90. package/lib/dist.index.js +2 -2
  91. package/lib/divider/divider.d.ts +5 -5
  92. package/lib/divider/divider.variable.css +3 -0
  93. package/lib/divider/index.d.ts +11 -11
  94. package/lib/divider/index.js +2 -2
  95. package/lib/divider/props.d.ts +2 -2
  96. package/lib/dropdown/dropdown.css +3 -1
  97. package/lib/dropdown/dropdown.d.ts +5 -5
  98. package/lib/dropdown/dropdown.variable.css +6 -1
  99. package/lib/dropdown/index.d.ts +11 -11
  100. package/lib/dropdown/index.js +7 -7
  101. package/lib/exception/exception.d.ts +9 -9
  102. package/lib/exception/exception.variable.css +3 -0
  103. package/lib/exception/index.d.ts +11 -11
  104. package/lib/exception/index.js +10 -10
  105. package/lib/exception/typings/index.d.ts +1 -1
  106. package/lib/fixed-navbar/fixed-navbar.variable.css +3 -0
  107. package/lib/fixed-navbar/index.js +2 -2
  108. package/lib/form/form.d.ts +2 -2
  109. package/lib/form/form.variable.css +3 -0
  110. package/lib/form/index.js +17 -15
  111. package/lib/form/type.d.ts +2 -2
  112. package/lib/icon/image-fill.js +82 -167
  113. package/lib/icon/img-error.js +82 -167
  114. package/lib/icon/img-placehoulder.js +82 -167
  115. package/lib/icon/index.d.ts +12 -11
  116. package/lib/icon/index.js +87 -2427
  117. package/lib/icon/info-line.js +82 -167
  118. package/lib/icon/info.js +82 -167
  119. package/lib/icon/left-shape.js +82 -167
  120. package/lib/icon/left-turn-line.js +82 -167
  121. package/lib/icon/loading.js +82 -167
  122. package/lib/icon/narrow-line.js +82 -167
  123. package/lib/icon/original.js +82 -167
  124. package/lib/icon/pdf-fill.js +82 -167
  125. package/lib/icon/play-shape.js +82 -167
  126. package/lib/icon/plus.js +82 -167
  127. package/lib/icon/ppt-fill.js +82 -167
  128. package/lib/icon/qq.js +82 -167
  129. package/lib/icon/right-shape.js +82 -167
  130. package/lib/icon/right-turn-line.js +82 -167
  131. package/lib/icon/search.js +82 -167
  132. package/lib/icon/share.js +82 -167
  133. package/lib/icon/spinner.js +82 -167
  134. package/lib/icon/success.js +82 -167
  135. package/lib/icon/switcher-loading.js +82 -167
  136. package/lib/icon/text-all.d.ts +4 -0
  137. package/lib/icon/text-all.js +191 -0
  138. package/lib/icon/text-file.js +82 -167
  139. package/lib/icon/text-fill.js +82 -167
  140. package/lib/icon/transfer.js +82 -167
  141. package/lib/icon/tree-application-shape.js +82 -167
  142. package/lib/icon/unfull-screen.js +82 -167
  143. package/lib/icon/unvisible.js +82 -167
  144. package/lib/icon/up-shape.js +82 -167
  145. package/lib/icon/upload.js +82 -167
  146. package/lib/icon/video-fill.js +82 -167
  147. package/lib/icon/warn.js +82 -167
  148. package/lib/icon/weixin-pro.js +82 -167
  149. package/lib/icon/weixin.js +82 -167
  150. package/lib/image/image-viewer.d.ts +1 -1
  151. package/lib/image/image-viewer.variable.css +3 -0
  152. package/lib/image/image.variable.css +3 -0
  153. package/lib/image/index.js +25 -22
  154. package/lib/index.d.ts +3 -3
  155. package/lib/index.js +3 -3
  156. package/lib/info-box/index.d.ts +2 -2
  157. package/lib/info-box/index.js +257 -516
  158. package/lib/info-box/info-box.css +58 -28
  159. package/lib/info-box/info-box.d.ts +25 -23
  160. package/lib/info-box/info-box.less +82 -51
  161. package/lib/info-box/info-box.variable.css +61 -28
  162. package/lib/info-box/render-component.d.ts +4 -0
  163. package/lib/input/index.d.ts +15 -15
  164. package/lib/input/index.js +23 -17
  165. package/lib/input/input.d.ts +15 -15
  166. package/lib/input/input.variable.css +3 -0
  167. package/lib/link/index.d.ts +11 -11
  168. package/lib/link/index.js +3 -3
  169. package/lib/link/link.d.ts +5 -5
  170. package/lib/link/link.variable.css +3 -0
  171. package/lib/loading/index.d.ts +4 -4
  172. package/lib/loading/index.js +6 -6
  173. package/lib/loading/loading.d.ts +6 -6
  174. package/lib/loading/loading.variable.css +3 -0
  175. package/lib/locale/index.d.ts +1 -1
  176. package/lib/locale/index.js +4 -2
  177. package/lib/locale/lang/en.d.ts +1 -0
  178. package/lib/menu/index.js +0 -1
  179. package/lib/menu/menu.variable.css +3 -0
  180. package/lib/menu/submenu.variable.css +3 -0
  181. package/lib/menu/utils.d.ts +3 -3
  182. package/lib/message/index.js +18 -18
  183. package/lib/message/message.variable.css +3 -0
  184. package/lib/message/messageConstructor.d.ts +11 -11
  185. package/lib/modal/hooks.d.ts +6 -0
  186. package/lib/modal/index.d.ts +44 -312
  187. package/lib/modal/index.js +286 -672
  188. package/lib/modal/mask.d.ts +6 -0
  189. package/lib/modal/modal.css +151 -76
  190. package/lib/modal/modal.d.ts +19 -117
  191. package/lib/modal/modal.less +103 -56
  192. package/lib/modal/modal.variable.css +154 -76
  193. package/lib/modal/props.mixin.d.ts +5 -41
  194. package/lib/navigation/index.js +20 -20
  195. package/lib/navigation/navigation.d.ts +1 -1
  196. package/lib/navigation/navigation.variable.css +3 -0
  197. package/lib/notify/index.js +4 -4
  198. package/lib/notify/notify.variable.css +3 -0
  199. package/lib/overflow-title/components/overflow-title.d.ts +9 -9
  200. package/lib/overflow-title/index.d.ts +19 -19
  201. package/lib/overflow-title/index.js +107 -63
  202. package/lib/overflow-title/props.d.ts +18 -18
  203. package/lib/pagination/index.js +16 -15
  204. package/lib/pagination/pagination.variable.css +3 -0
  205. package/lib/pagination/type.d.ts +1 -1
  206. package/lib/pagination/use-limit.d.ts +1 -1
  207. package/lib/pagination/use-total.d.ts +1 -1
  208. package/lib/plugin-popover/index.d.ts +1 -1
  209. package/lib/plugin-popover/index.js +62 -44
  210. package/lib/pop-confirm/index.js +17 -14
  211. package/lib/pop-confirm/pop-confirm.variable.css +3 -0
  212. package/lib/pop-confirm/props.d.ts +2 -2
  213. package/lib/popover/const.d.ts +3 -3
  214. package/lib/popover/content.d.ts +1 -1
  215. package/lib/popover/index.d.ts +19 -19
  216. package/lib/popover/index.js +62 -44
  217. package/lib/popover/plugin-popover.d.ts +4 -1
  218. package/lib/popover/popover.css +3 -1
  219. package/lib/popover/popover.d.ts +7 -7
  220. package/lib/popover/popover.less +4 -1
  221. package/lib/popover/popover.variable.css +6 -1
  222. package/lib/popover/props.d.ts +4 -4
  223. package/lib/preset.d.ts +2 -0
  224. package/lib/process/index.js +3 -3
  225. package/lib/process/process.variable.css +3 -0
  226. package/lib/progress/index.d.ts +11 -11
  227. package/lib/progress/index.js +10 -10
  228. package/lib/progress/progress.d.ts +7 -7
  229. package/lib/progress/progress.variable.css +3 -0
  230. package/lib/radio/index.d.ts +29 -0
  231. package/lib/radio/index.js +49 -31
  232. package/lib/radio/radio-button.d.ts +10 -0
  233. package/lib/radio/radio-group.d.ts +10 -0
  234. package/lib/radio/radio.d.ts +10 -0
  235. package/lib/radio/radio.variable.css +3 -0
  236. package/lib/radio/type.d.ts +1 -1
  237. package/lib/rate/index.js +8 -8
  238. package/lib/rate/rate.css +27 -0
  239. package/lib/rate/rate.less +33 -0
  240. package/lib/rate/rate.variable.css +30 -0
  241. package/lib/resize-layout/index.d.ts +11 -11
  242. package/lib/resize-layout/index.js +8 -9
  243. package/lib/resize-layout/resize-layout.d.ts +5 -5
  244. package/lib/resize-layout/resize-layout.variable.css +3 -0
  245. package/lib/scrollbar/index.d.ts +15 -0
  246. package/lib/scrollbar/index.js +18762 -0
  247. package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +2 -0
  248. package/lib/scrollbar/scrollbar-core/helpers.d.ts +5 -0
  249. package/lib/scrollbar/scrollbar-core/index.d.ts +241 -0
  250. package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +5 -0
  251. package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +1 -0
  252. package/lib/scrollbar/scrollbar.css +75 -0
  253. package/lib/scrollbar/scrollbar.less +94 -0
  254. package/lib/{rate/star.variable.css → scrollbar/scrollbar.variable.css} +70 -19
  255. package/lib/search-select/index.d.ts +375 -16
  256. package/lib/search-select/index.js +754 -419
  257. package/lib/search-select/input.d.ts +14 -5
  258. package/lib/search-select/menu.d.ts +1 -1
  259. package/lib/search-select/search-select.css +20 -6
  260. package/lib/search-select/search-select.d.ts +129 -7
  261. package/lib/search-select/search-select.less +16 -12
  262. package/lib/search-select/search-select.variable.css +23 -6
  263. package/lib/search-select/selected.d.ts +117 -7
  264. package/lib/search-select/utils.d.ts +22 -9
  265. package/lib/select/index.d.ts +185 -67
  266. package/lib/select/index.js +1396 -136
  267. package/lib/select/option.d.ts +3 -1
  268. package/lib/select/pinyin/core.d.ts +14 -0
  269. package/lib/select/pinyin/dict.d.ts +34 -0
  270. package/lib/select/pinyin/index.d.ts +2 -0
  271. package/lib/select/select.css +56 -14
  272. package/lib/select/select.d.ts +74 -26
  273. package/lib/select/select.less +70 -21
  274. package/lib/select/select.variable.css +59 -14
  275. package/lib/select/selectTagInput.d.ts +13 -6
  276. package/lib/select/type.d.ts +4 -5
  277. package/lib/shared/index.d.ts +1 -2
  278. package/lib/shared/index.js +108 -96
  279. package/lib/shared/popover.d.ts +3 -3
  280. package/lib/shared/token.d.ts +1 -1
  281. package/lib/shared/utils.d.ts +12 -0
  282. package/lib/shared/vue-types.d.ts +51 -46
  283. package/lib/shared/z-index-manager.d.ts +6 -6
  284. package/lib/sideslider/index.d.ts +58 -188
  285. package/lib/sideslider/index.js +83 -57
  286. package/lib/sideslider/sideslider.css +26 -90
  287. package/lib/sideslider/sideslider.d.ts +26 -88
  288. package/lib/sideslider/sideslider.less +56 -132
  289. package/lib/sideslider/sideslider.variable.css +29 -90
  290. package/lib/slider/index.d.ts +19 -0
  291. package/lib/slider/index.js +64 -26
  292. package/lib/slider/slider.css +14 -0
  293. package/lib/slider/slider.d.ts +9 -0
  294. package/lib/slider/slider.less +15 -0
  295. package/lib/slider/slider.variable.css +17 -0
  296. package/lib/steps/index.d.ts +11 -11
  297. package/lib/steps/index.js +3 -3
  298. package/lib/steps/steps.d.ts +7 -7
  299. package/lib/steps/steps.variable.css +3 -0
  300. package/lib/styles/index.d.ts +0 -1
  301. package/lib/styles/mixins/animate.variable.css +3 -0
  302. package/lib/styles/mixins/popper.variable.css +3 -0
  303. package/lib/styles/mixins/scroll.variable.css +3 -0
  304. package/lib/styles/reset.css +1 -3
  305. package/lib/styles/reset.less +3 -6
  306. package/lib/styles/reset.variable.css +4 -3
  307. package/lib/styles/themes/themes.less +5 -0
  308. package/lib/swiper/index.js +5 -5
  309. package/lib/swiper/swiper.variable.css +3 -0
  310. package/lib/switcher/index.js +2 -2
  311. package/lib/switcher/switcher.d.ts +2 -2
  312. package/lib/switcher/switcher.variable.css +3 -0
  313. package/lib/tab/index.d.ts +22 -22
  314. package/lib/tab/index.js +15 -15
  315. package/lib/tab/props.d.ts +15 -15
  316. package/lib/tab/tab-nav.d.ts +10 -10
  317. package/lib/tab/tab.d.ts +10 -10
  318. package/lib/tab/tab.variable.css +3 -0
  319. package/lib/table/cache.d.ts +11 -3
  320. package/lib/table/components/table-cell.d.ts +3 -2
  321. package/lib/table/components/table-column.d.ts +30 -100
  322. package/lib/table/const.d.ts +12 -12
  323. package/lib/table/events.d.ts +21 -21
  324. package/lib/table/index.d.ts +220 -305
  325. package/lib/table/index.js +18165 -688
  326. package/lib/table/plugins/head-filter.css +8 -4
  327. package/lib/table/plugins/head-filter.less +6 -3
  328. package/lib/table/plugins/head-filter.variable.css +11 -4
  329. package/lib/table/plugins/head-sort.variable.css +3 -0
  330. package/lib/table/plugins/settings.variable.css +3 -0
  331. package/lib/table/plugins/use-active-columns.d.ts +2 -2
  332. package/lib/table/plugins/use-column-template.d.ts +7 -0
  333. package/lib/table/plugins/use-draggable.d.ts +2 -2
  334. package/lib/table/plugins/use-fixed-column.d.ts +1 -1
  335. package/lib/table/plugins/use-observer-resize.d.ts +5 -0
  336. package/lib/table/plugins/use-pagination.d.ts +3 -1
  337. package/lib/table/plugins/use-shift-key.d.ts +13 -0
  338. package/lib/table/props.d.ts +49 -39
  339. package/lib/table/table.css +112 -58
  340. package/lib/table/table.d.ts +58 -47
  341. package/lib/table/table.less +46 -58
  342. package/lib/table/table.variable.css +115 -58
  343. package/lib/table/use-attributes.d.ts +9 -46
  344. package/lib/table/use-column.d.ts +18 -139
  345. package/lib/table/use-common.d.ts +5 -5
  346. package/lib/table/use-render.d.ts +1 -1
  347. package/lib/table/utils.d.ts +6 -6
  348. package/lib/table-column/index.d.ts +127 -431
  349. package/lib/table-column/index.js +43 -117
  350. package/lib/tag/index.d.ts +11 -11
  351. package/lib/tag/index.js +2 -2
  352. package/lib/tag/tag.d.ts +5 -5
  353. package/lib/tag/tag.variable.css +3 -0
  354. package/lib/tag-input/common.d.ts +1 -1
  355. package/lib/tag-input/index.d.ts +12 -12
  356. package/lib/tag-input/index.js +30 -30
  357. package/lib/tag-input/tag-input.d.ts +6 -6
  358. package/lib/tag-input/tag-input.variable.css +3 -0
  359. package/lib/tag-input/tag-props.d.ts +3 -3
  360. package/lib/tag-input/tag-render.d.ts +1 -1
  361. package/lib/time-picker/index.d.ts +38 -35
  362. package/lib/time-picker/time-picker.variable.css +3 -0
  363. package/lib/timeline/index.d.ts +80 -44
  364. package/lib/timeline/index.js +56 -67
  365. package/lib/timeline/timeline.d.ts +46 -29
  366. package/lib/timeline/timeline.variable.css +3 -0
  367. package/lib/transfer/const.d.ts +2 -2
  368. package/lib/transfer/index.js +19 -19
  369. package/lib/transfer/transfer.css +9 -9
  370. package/lib/transfer/transfer.less +3 -3
  371. package/lib/transfer/transfer.variable.css +12 -9
  372. package/lib/tree/constant.d.ts +22 -20
  373. package/lib/tree/index.d.ts +64 -20
  374. package/lib/tree/index.js +17595 -72
  375. package/lib/tree/props.d.ts +24 -6
  376. package/lib/tree/tree.css +76 -2
  377. package/lib/tree/tree.d.ts +34 -8
  378. package/lib/tree/tree.less +1 -1
  379. package/lib/tree/tree.variable.css +79 -2
  380. package/lib/tree/use-empty.d.ts +1 -1
  381. package/lib/tree/use-intersection-observer.d.ts +27 -0
  382. package/lib/tree/use-node-action.d.ts +2 -2
  383. package/lib/tree/use-node-attribute.d.ts +9 -0
  384. package/lib/tree/use-search.d.ts +1 -1
  385. package/lib/tree/util.d.ts +1 -1
  386. package/lib/upload/index.d.ts +12 -0
  387. package/lib/upload/index.js +62 -65
  388. package/lib/upload/props.d.ts +4 -1
  389. package/lib/upload/upload-trigger.d.ts +6 -0
  390. package/lib/upload/upload.d.ts +6 -0
  391. package/lib/upload/upload.type.d.ts +7 -7
  392. package/lib/upload/upload.variable.css +3 -0
  393. package/lib/upload/use-file-handler.d.ts +1 -1
  394. package/lib/virtual-render/index.d.ts +36 -9
  395. package/lib/virtual-render/index.js +295 -80
  396. package/lib/virtual-render/props.d.ts +16 -0
  397. package/lib/virtual-render/use-fix-top.d.ts +2 -7
  398. package/lib/virtual-render/use-scrollbar.d.ts +24 -0
  399. package/lib/virtual-render/v-virtual-render.d.ts +2 -1
  400. package/lib/virtual-render/virtual-render.css +76 -2
  401. package/lib/virtual-render/virtual-render.d.ts +16 -3
  402. package/lib/virtual-render/virtual-render.less +3 -3
  403. package/lib/virtual-render/virtual-render.variable.css +79 -2
  404. package/package.json +13 -49
  405. package/lib/rate/star.css +0 -27
  406. package/lib/rate/star.less +0 -34
  407. package/lib/shared/mask.d.ts +0 -11
@@ -1,149 +1,73 @@
1
1
  @import '../styles/themes/themes.less';
2
2
 
3
3
  .@{bk-prefix}-sideslider {
4
- position: fixed;
5
- top: 0;
6
- right: 0;
7
- bottom: 0;
8
- left: 0;
9
- }
10
-
11
- /* fade-center */
12
-
13
- /* slide过渡动画 */
14
- .slide-enter-active,
15
- .slide-leave-active,
16
- .@{bk-prefix}-modal-body {
17
- transform: translateX(0);
18
- transition: transform .25s;
19
- }
20
-
21
- .slide-enter-active {
22
- animation: slider-fade-in .25s;
23
- }
24
-
25
- .slide-leave-active {
26
- animation: slider-fade-in .25s reverse;
27
- }
28
-
29
- .slide-enter-from,
30
- .slide-leave-to {
31
- &.left {
32
- transform: translateX(-100%);
33
- transition: transform .25s;
4
+ &.is-position-right {
5
+ .@{bk-prefix}-modal-wrapper {
6
+ right: 0;
7
+ }
34
8
  }
35
9
 
36
- &.right {
37
- transform: translateX(100%);
38
- transition: transform .25s;
39
- }
40
- }
10
+ &.is-position-left {
11
+ .@{bk-prefix}-modal-wrapper {
12
+ left: 0;
13
+ }
41
14
 
42
- @keyframes slider-fade-in {
43
- 0% {
44
- opacity: 0;
15
+ .@{bk-prefix}-sideslider-header {
16
+ flex-direction: row-reverse;
17
+ }
45
18
  }
46
19
 
47
- 100% {
48
- opacity: 1;
20
+ .@{bk-prefix}-modal-wrapper {
21
+ position: fixed;
22
+ top: 0;
23
+ bottom: 0;
49
24
  }
50
- }
51
-
52
- .@{bk-prefix}-modal-ctx {
53
- &.@{bk-prefix}-sideslider-wrapper {
54
- .@{bk-prefix}-modal-wrapper {
55
- position: absolute;
56
- top: 0;
57
- bottom: 0;
58
- left: auto;
59
- transform: initial;
60
-
61
- &.scroll-able {
62
- .@{bk-prefix}-modal-content {
63
- overflow: auto;
64
- height: 100%;
65
- }
66
- }
67
-
68
- .@{bk-prefix}-sideslider-header {
69
- width: 100%;
70
- height: 52px;
71
- background: #fff;
72
- border-bottom: 1px solid #dcdee5;
73
-
74
- .@{bk-prefix}-sideslider-close {
75
- position: absolute;
76
- top: 0;
77
- width: 30px;
78
- height: 52px;
79
- font-size: 24px;
80
- line-height: 52px;
81
- color: #fff;
82
- text-align: center;
83
- cursor: pointer;
84
- background-color: @primary-color;
85
-
86
- &.right {
87
- left: 0;
88
-
89
- &::before {
90
- top: 50%;
91
- left: 50%;
92
- display: inline-block;
93
- width: 8px;
94
- height: 8px;
95
- border-top: solid 2px #fff;
96
- border-right: solid 2px #fff;
97
- content: '';
98
- transform: translate(-50%, -50%) rotate(45deg);
99
- }
100
- }
101
-
102
- &.left {
103
- right: 0;
104
-
105
- &::before {
106
- top: 50%;
107
- left: 50%;
108
- display: inline-block;
109
- width: 8px;
110
- height: 8px;
111
- border-top: solid 2px #fff;
112
- border-left: solid 2px #fff;
113
- content: '';
114
- transform: translate(50%, -50%) rotate(-45deg);
115
- }
116
- }
117
-
118
-
119
- }
120
-
121
- .@{bk-prefix}-sideslider-title {
122
- display: flex;
123
- height: 52px;
124
- padding-left: 30px;
125
- font-size: 16px;
126
- color: #313238;
127
- align-items: center;
128
-
129
- &.right {
130
- width: 100%;
131
- padding: 0 0 0 30+16px;
132
- }
133
- }
134
- }
135
25
 
26
+ .@{bk-prefix}-modal-footer {
27
+ &.is-fixed {
136
28
  .@{bk-prefix}-sideslider-footer {
137
- display: flex;
138
- width: 100%;
139
- height: 54px;
140
- background: #fff;
141
- border-top: 1px solid transparent;
142
- align-items: center;
29
+ margin: 0;
30
+ background: #fafbfd;
31
+ box-shadow: 0 -1px 0 0 #dcdee5;
143
32
  box-shadow: rgb(0 0 0 / 6%) 0 -2px 4px 0;
144
33
  }
145
34
  }
146
-
147
35
  }
148
36
  }
149
37
 
38
+ .@{bk-prefix}-sideslider-header {
39
+ display: flex;
40
+ height: 52px;
41
+ background: #fff;
42
+ border-bottom: 1px solid #dcdee5;
43
+ }
44
+
45
+ .@{bk-prefix}-sideslider-close {
46
+ display: flex;
47
+ align-items: center;
48
+ justify-content: center;
49
+ width: 30px;
50
+ font-size: 26px;
51
+ color: #fff;
52
+ cursor: pointer;
53
+ background-color: @primary-color;
54
+ }
55
+
56
+ .@{bk-prefix}-sideslider-title {
57
+ display: flex;
58
+ padding-left: 16px;
59
+ font-size: 16px;
60
+ color: #313238;
61
+ align-items: center;
62
+ flex: 1;
63
+ }
64
+
65
+ .@{bk-prefix}-sideslider-footer {
66
+ display: flex;
67
+ width: 100%;
68
+ height: 48px;
69
+ padding: 0 24px;
70
+ margin-top: 24px;
71
+ background: #fff;
72
+ align-items: center;
73
+ }
@@ -12,6 +12,7 @@
12
12
  --whitesmoke-color: #fafbfd;
13
13
  --disable-color: #dcdee5;
14
14
  --disable-bg-color: #f9fafd;
15
+ --border-color: #dcdee5;
15
16
  --font-size-base: 12px;
16
17
  --font-size-medium: 14px;
17
18
  --font-size-large: 16px;
@@ -123,121 +124,59 @@
123
124
  --search-select-placeholder-color: var(--light-gray);
124
125
  --search-select-message-color: var(--danger-color);
125
126
  --search-select-menu-border-color: var(--disable-color);
127
+ --select-active-color: #e1ecff;
128
+ --select-hover-color: #f5f7fa;
126
129
  }
127
- .bk-sideslider {
128
- position: fixed;
129
- top: 0;
130
+ .bk-sideslider.is-position-right .bk-modal-wrapper {
130
131
  right: 0;
131
- bottom: 0;
132
- left: 0;
133
- }
134
- /* fade-center */
135
- /* slide过渡动画 */
136
- .slide-enter-active,
137
- .slide-leave-active,
138
- .bk-modal-body {
139
- transform: translateX(0);
140
- transition: transform 0.25s;
141
- }
142
- .slide-enter-active {
143
- animation: slider-fade-in 0.25s;
144
- }
145
- .slide-leave-active {
146
- animation: slider-fade-in 0.25s reverse;
147
132
  }
148
- .slide-enter-from.left,
149
- .slide-leave-to.left {
150
- transform: translateX(-100%);
151
- transition: transform 0.25s;
152
- }
153
- .slide-enter-from.right,
154
- .slide-leave-to.right {
155
- transform: translateX(100%);
156
- transition: transform 0.25s;
133
+ .bk-sideslider.is-position-left .bk-modal-wrapper {
134
+ left: 0;
157
135
  }
158
- @keyframes slider-fade-in {
159
- 0% {
160
- opacity: 0;
161
- }
162
- 100% {
163
- opacity: 1;
164
- }
136
+ .bk-sideslider.is-position-left .bk-sideslider-header {
137
+ flex-direction: row-reverse;
165
138
  }
166
- .bk-modal-ctx.bk-sideslider-wrapper .bk-modal-wrapper {
167
- position: absolute;
139
+ .bk-sideslider .bk-modal-wrapper {
140
+ position: fixed;
168
141
  top: 0;
169
142
  bottom: 0;
170
- left: auto;
171
- transform: initial;
172
143
  }
173
- .bk-modal-ctx.bk-sideslider-wrapper .bk-modal-wrapper.scroll-able .bk-modal-content {
174
- overflow: auto;
175
- height: 100%;
144
+ .bk-sideslider .bk-modal-footer.is-fixed .bk-sideslider-footer {
145
+ margin: 0;
146
+ background: #fafbfd;
147
+ box-shadow: 0 -1px 0 0 #dcdee5;
148
+ box-shadow: rgba(0, 0, 0, 0.06) 0 -2px 4px 0;
176
149
  }
177
- .bk-modal-ctx.bk-sideslider-wrapper .bk-modal-wrapper .bk-sideslider-header {
178
- width: 100%;
150
+ .bk-sideslider-header {
151
+ display: flex;
179
152
  height: 52px;
180
153
  background: #fff;
181
154
  border-bottom: 1px solid #dcdee5;
182
155
  }
183
- .bk-modal-ctx.bk-sideslider-wrapper .bk-modal-wrapper .bk-sideslider-header .bk-sideslider-close {
184
- position: absolute;
185
- top: 0;
156
+ .bk-sideslider-close {
157
+ display: flex;
158
+ align-items: center;
159
+ justify-content: center;
186
160
  width: 30px;
187
- height: 52px;
188
- font-size: 24px;
189
- line-height: 52px;
161
+ font-size: 26px;
190
162
  color: #fff;
191
- text-align: center;
192
163
  cursor: pointer;
193
164
  background-color: var(--primary-color);
194
165
  }
195
- .bk-modal-ctx.bk-sideslider-wrapper .bk-modal-wrapper .bk-sideslider-header .bk-sideslider-close.right {
196
- left: 0;
197
- }
198
- .bk-modal-ctx.bk-sideslider-wrapper .bk-modal-wrapper .bk-sideslider-header .bk-sideslider-close.right::before {
199
- top: 50%;
200
- left: 50%;
201
- display: inline-block;
202
- width: 8px;
203
- height: 8px;
204
- border-top: solid 2px #fff;
205
- border-right: solid 2px #fff;
206
- content: '';
207
- transform: translate(-50%, -50%) rotate(45deg);
208
- }
209
- .bk-modal-ctx.bk-sideslider-wrapper .bk-modal-wrapper .bk-sideslider-header .bk-sideslider-close.left {
210
- right: 0;
211
- }
212
- .bk-modal-ctx.bk-sideslider-wrapper .bk-modal-wrapper .bk-sideslider-header .bk-sideslider-close.left::before {
213
- top: 50%;
214
- left: 50%;
215
- display: inline-block;
216
- width: 8px;
217
- height: 8px;
218
- border-top: solid 2px #fff;
219
- border-left: solid 2px #fff;
220
- content: '';
221
- transform: translate(50%, -50%) rotate(-45deg);
222
- }
223
- .bk-modal-ctx.bk-sideslider-wrapper .bk-modal-wrapper .bk-sideslider-header .bk-sideslider-title {
166
+ .bk-sideslider-title {
224
167
  display: flex;
225
- height: 52px;
226
- padding-left: 30px;
168
+ padding-left: 16px;
227
169
  font-size: 16px;
228
170
  color: #313238;
229
171
  align-items: center;
172
+ flex: 1;
230
173
  }
231
- .bk-modal-ctx.bk-sideslider-wrapper .bk-modal-wrapper .bk-sideslider-header .bk-sideslider-title.right {
232
- width: 100%;
233
- padding: 0 0 0 46px;
234
- }
235
- .bk-modal-ctx.bk-sideslider-wrapper .bk-modal-wrapper .bk-sideslider-footer {
174
+ .bk-sideslider-footer {
236
175
  display: flex;
237
176
  width: 100%;
238
- height: 54px;
177
+ height: 48px;
178
+ padding: 0 24px;
179
+ margin-top: 24px;
239
180
  background: #fff;
240
- border-top: 1px solid transparent;
241
181
  align-items: center;
242
- box-shadow: rgba(0, 0, 0, 0.06) 0 -2px 4px 0;
243
182
  }
@@ -98,6 +98,10 @@ declare const Slider: {
98
98
  type: FunctionConstructor;
99
99
  default: (value: number) => number;
100
100
  };
101
+ labelClick: {
102
+ type: (BooleanConstructor | FunctionConstructor)[];
103
+ default: boolean;
104
+ };
101
105
  }>> & {
102
106
  onChange?: (...args: any[]) => any;
103
107
  "onUpdate:modelValue"?: (...args: any[]) => any;
@@ -177,6 +181,10 @@ declare const Slider: {
177
181
  type: FunctionConstructor;
178
182
  default: (value: number) => number;
179
183
  };
184
+ labelClick: {
185
+ type: (BooleanConstructor | FunctionConstructor)[];
186
+ default: boolean;
187
+ };
180
188
  }>> & {
181
189
  onChange?: (...args: any[]) => any;
182
190
  "onUpdate:modelValue"?: (...args: any[]) => any;
@@ -199,6 +207,7 @@ declare const Slider: {
199
207
  formatterLabel: Function;
200
208
  formatterButtonLabel: Function;
201
209
  formatterTipLabel: Function;
210
+ labelClick: boolean | Function;
202
211
  }, true, {}, {}, {
203
212
  P: {};
204
213
  B: {};
@@ -280,6 +289,10 @@ declare const Slider: {
280
289
  type: FunctionConstructor;
281
290
  default: (value: number) => number;
282
291
  };
292
+ labelClick: {
293
+ type: (BooleanConstructor | FunctionConstructor)[];
294
+ default: boolean;
295
+ };
283
296
  }>> & {
284
297
  onChange?: (...args: any[]) => any;
285
298
  "onUpdate:modelValue"?: (...args: any[]) => any;
@@ -304,6 +317,7 @@ declare const Slider: {
304
317
  formatterLabel: Function;
305
318
  formatterButtonLabel: Function;
306
319
  formatterTipLabel: Function;
320
+ labelClick: boolean | Function;
307
321
  }>;
308
322
  __isFragment?: never;
309
323
  __isTeleport?: never;
@@ -382,6 +396,10 @@ declare const Slider: {
382
396
  type: FunctionConstructor;
383
397
  default: (value: number) => number;
384
398
  };
399
+ labelClick: {
400
+ type: (BooleanConstructor | FunctionConstructor)[];
401
+ default: boolean;
402
+ };
385
403
  }>> & {
386
404
  onChange?: (...args: any[]) => any;
387
405
  "onUpdate:modelValue"?: (...args: any[]) => any;
@@ -406,5 +424,6 @@ declare const Slider: {
406
424
  formatterLabel: Function;
407
425
  formatterButtonLabel: Function;
408
426
  formatterTipLabel: Function;
427
+ labelClick: boolean | Function;
409
428
  }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
410
429
  export default Slider;
@@ -650,21 +650,21 @@ const popover_less_namespaceObject = popover_less_x({ });
650
650
  resolveClassName = _usePrefix.resolveClassName;
651
651
  var renderDom = function renderDom() {
652
652
  return (0,external_vue_namespaceObject.createVNode)("div", {
653
+ "ref": button,
654
+ "style": wrapperStyle.value,
653
655
  "class": ["".concat(resolveClassName('slider-button')), props.params.vertical ? 'vertical' : 'horizontal', {
654
656
  grabbing: dragging.value
655
657
  }],
656
- "ref": button,
657
658
  "tabindex": "0",
658
- "style": wrapperStyle.value,
659
659
  "onClick": function onClick(event) {
660
660
  return event.stopPropagation();
661
661
  },
662
662
  "onMousedown": onButtonDown
663
663
  }, [Boolean(tip.value.content) ? (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)(popover_namespaceObject["default"], {
664
+ "boundary": document.body,
664
665
  "content": tip.value.content,
665
- "theme": 'dark',
666
666
  "placement": tip.value.placement,
667
- "boundary": document.body
667
+ "theme": 'dark'
668
668
  }, {
669
669
  "default": function _default() {
670
670
  return [(0,external_vue_namespaceObject.createVNode)("div", {
@@ -817,7 +817,11 @@ var off = function off(element, event, handler) {
817
817
  "default": function _default(value) {
818
818
  return value;
819
819
  }
820
- } // 自定义tip格式
820
+ },
821
+ labelClick: {
822
+ type: [Boolean, Function],
823
+ "default": false
824
+ }
821
825
  },
822
826
  emits: ['update:modelValue', 'change'],
823
827
  setup: function setup(props, _ref) {
@@ -882,12 +886,10 @@ var off = function off(element, event, handler) {
882
886
  result.push(i * stepWidth);
883
887
  }
884
888
  if (props.range) {
885
- // eslint-disable-next-line max-len
886
889
  return result.filter(function (step) {
887
890
  return step < 100 * (rangeMinValue.value - props.minValue) / (props.maxValue - props.minValue) || step > 100 * (rangeMaxValue.value - props.minValue) / (props.maxValue - props.minValue);
888
891
  });
889
892
  }
890
- // eslint-disable-next-line max-len
891
893
  return result.filter(function (step) {
892
894
  return step > 100 * (firstValue.value - props.minValue) / (props.maxValue - props.minValue);
893
895
  });
@@ -1155,30 +1157,57 @@ var off = function off(element, event, handler) {
1155
1157
  };
1156
1158
  var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
1157
1159
  resolveClassName = _usePrefix.resolveClassName;
1160
+ var handleStepLabelClick = function handleStepLabelClick(e, step) {
1161
+ var _ref3, _step$stepWidth;
1162
+ var percent = (_ref3 = (_step$stepWidth = step.stepWidth) !== null && _step$stepWidth !== void 0 ? _step$stepWidth : step.percent) !== null && _ref3 !== void 0 ? _ref3 : step;
1163
+ if (props.labelClick) {
1164
+ e.stopPropagation();
1165
+ e.stopImmediatePropagation();
1166
+ e.preventDefault();
1167
+ var fnResult;
1168
+ if (typeof props.labelClick === 'function') {
1169
+ var args = {
1170
+ percent: percent,
1171
+ step: step
1172
+ };
1173
+ fnResult = props.labelClick(e, args);
1174
+ if (fnResult === false) {
1175
+ return;
1176
+ }
1177
+ }
1178
+ percent = typeof fnResult === 'number' ? fnResult : percent;
1179
+ console.log('handleStepLabelClick', percent);
1180
+ setPosition(percent);
1181
+ return;
1182
+ }
1183
+ };
1158
1184
  var renderDom = function renderDom() {
1159
1185
  var _slots$start, _slots$end;
1160
1186
  return (0,external_vue_namespaceObject.createVNode)("div", {
1161
1187
  "class": ["".concat(resolveClassName('slider')), props.extCls]
1162
1188
  }, [(_slots$start = slots.start) === null || _slots$start === void 0 ? void 0 : _slots$start.call(slots), (0,external_vue_namespaceObject.createVNode)("div", {
1163
- "class": "".concat(resolveClassName('slider-runway')),
1164
1189
  "ref": slider,
1165
1190
  "style": runwayStyle.value,
1191
+ "class": "".concat(resolveClassName('slider-runway')),
1166
1192
  "onClick": setButtonPos
1167
1193
  }, [(0,external_vue_namespaceObject.createVNode)("div", {
1194
+ "style": barStyle.value,
1168
1195
  "class": ["".concat(resolveClassName('slider-bar')), props.vertical ? 'vertical' : 'horizontal', {
1169
1196
  disable: props.disable
1170
- }],
1171
- "style": barStyle.value
1197
+ }]
1172
1198
  }, null), props.showInterval ? intervals.value.map(function (interval, index) {
1173
1199
  if (index === 0 || index === intervals.value.length - 1) {
1174
1200
  return null;
1175
1201
  }
1176
1202
  return (0,external_vue_namespaceObject.createVNode)("div", {
1177
1203
  "key": index,
1204
+ "style": getIntervalStyle(interval),
1178
1205
  "class": ["".concat(resolveClassName('slider-interval')), {
1179
1206
  vertical: props.vertical
1180
1207
  }],
1181
- "style": getIntervalStyle(interval)
1208
+ "onClick": function onClick(e) {
1209
+ return handleStepLabelClick(e, interval);
1210
+ }
1182
1211
  }, null);
1183
1212
  }) : null, props.customContent ? customList.value.map(function (custom, index) {
1184
1213
  if (index === 0 || index === customList.value.length - 1) {
@@ -1186,61 +1215,70 @@ var off = function off(element, event, handler) {
1186
1215
  }
1187
1216
  return (0,external_vue_namespaceObject.createVNode)("div", {
1188
1217
  "key": index,
1218
+ "style": getIntervalStyle(custom.percent),
1189
1219
  "class": ["".concat(resolveClassName('slider-interval')), {
1190
1220
  vertical: props.vertical
1191
1221
  }],
1192
- "style": getIntervalStyle(custom.percent)
1222
+ "onClick": function onClick(e) {
1223
+ return handleStepLabelClick(e, custom);
1224
+ }
1193
1225
  }, null);
1194
1226
  }) : undefined, props.showBetweenLabel || props.showIntervalLabel || props.customContent ? (0,external_vue_namespaceObject.createVNode)("div", {
1195
1227
  "class": ["".concat(resolveClassName('slider-labels')), props.vertical ? 'vertical' : 'horizontal']
1196
1228
  }, [function () {
1197
1229
  if (props.showBetweenLabel) {
1198
1230
  return [(0,external_vue_namespaceObject.createVNode)("div", {
1199
- "class": "label-start",
1200
1231
  "style": [{
1201
1232
  opacity: betweenLabelStyle('start')
1202
- }]
1233
+ }],
1234
+ "class": "label-start"
1203
1235
  }, [props.formatterLabel(props.minValue)]), (0,external_vue_namespaceObject.createVNode)("div", {
1204
- "class": "label-end",
1205
1236
  "style": [{
1206
1237
  opacity: betweenLabelStyle('end')
1207
- }]
1238
+ }],
1239
+ "class": "label-end"
1208
1240
  }, [props.formatterLabel(props.maxValue)])];
1209
1241
  }
1210
1242
  if (props.showIntervalLabel) {
1211
1243
  return intervalLabels.value.map(function (intervalLabel, index) {
1212
1244
  return (0,external_vue_namespaceObject.createVNode)("div", {
1213
- "class": ["".concat(resolveClassName('slider-label')), props.vertical ? 'vertical' : 'horizontal'],
1214
1245
  "key": index,
1215
- "style": getIntervalStyle(intervalLabel.stepWidth)
1246
+ "style": getIntervalStyle(intervalLabel.stepWidth),
1247
+ "class": ["".concat(resolveClassName('slider-label')), props.vertical ? 'vertical' : 'horizontal'],
1248
+ "onClick": function onClick(e) {
1249
+ return handleStepLabelClick(e, intervalLabel);
1250
+ }
1216
1251
  }, [intervalLabel.stepLabel]);
1217
1252
  });
1218
1253
  }
1219
1254
  if (props.customContent) {
1220
1255
  return customList.value.map(function (item, index) {
1221
1256
  return (0,external_vue_namespaceObject.createVNode)("div", {
1222
- "class": ["".concat(resolveClassName('slider-label')), props.vertical ? 'vertical' : 'horizontal'],
1223
1257
  "key": index,
1224
- "style": getIntervalStyle(item.percent)
1258
+ "style": getIntervalStyle(item.percent),
1259
+ "class": ["".concat(resolveClassName('slider-label')), props.vertical ? 'vertical' : 'horizontal'],
1260
+ "onClick": function onClick(e) {
1261
+ return handleStepLabelClick(e, item);
1262
+ }
1225
1263
  }, [item.label]);
1226
1264
  });
1227
1265
  }
1228
1266
  return undefined;
1229
1267
  }()]) : undefined, (0,external_vue_namespaceObject.createVNode)(slider_button, {
1268
+ "ref": firstbutton,
1230
1269
  "modelValue": firstValue.value,
1231
1270
  "onUpdate:modelValue": function onUpdateModelValue($event) {
1232
1271
  return firstValue.value = $event;
1233
1272
  },
1234
- "ref": firstbutton,
1235
1273
  "params": buttonParms.value,
1236
1274
  "onEmitChange": emitChange,
1237
1275
  "onResetSize": resetSize
1238
1276
  }, null), props.range ? (0,external_vue_namespaceObject.createVNode)(slider_button, {
1277
+ "ref": secondbutton,
1239
1278
  "modelValue": secondValue.value,
1240
1279
  "onUpdate:modelValue": function onUpdateModelValue($event) {
1241
1280
  return secondValue.value = $event;
1242
1281
  },
1243
- "ref": secondbutton,
1244
1282
  "params": buttonParms.value,
1245
1283
  "onEmitChange": emitChange,
1246
1284
  "onResetSize": resetSize
@@ -1249,20 +1287,20 @@ var off = function off(element, event, handler) {
1249
1287
  }, [(0,external_vue_namespaceObject.createVNode)("div", {
1250
1288
  "class": "input-item"
1251
1289
  }, [(0,external_vue_namespaceObject.createVNode)(input_namespaceObject["default"], {
1252
- "type": "number",
1253
- "modelValue": firstInput.value,
1254
1290
  "max": props.maxValue,
1255
1291
  "min": props.minValue,
1292
+ "modelValue": firstInput.value,
1293
+ "type": "number",
1256
1294
  "onChange": firstInputChange
1257
1295
  }, null)]), showSecondInput.value && secondValue.value ? [(0,external_vue_namespaceObject.createVNode)("div", {
1258
1296
  "class": "input-center"
1259
1297
  }, [(0,external_vue_namespaceObject.createTextVNode)("\uFF5E")]), (0,external_vue_namespaceObject.createVNode)("div", {
1260
1298
  "class": "input-item"
1261
1299
  }, [(0,external_vue_namespaceObject.createVNode)(input_namespaceObject["default"], {
1262
- "type": "number",
1263
- "modelValue": secondInput.value,
1264
1300
  "max": props.maxValue,
1265
1301
  "min": props.minValue,
1302
+ "modelValue": secondInput.value,
1303
+ "type": "number",
1266
1304
  "onChange": secondInputChange
1267
1305
  }, null)])] : undefined]) : undefined, (_slots$end = slots.end) === null || _slots$end === void 0 ? void 0 : _slots$end.call(slots)]);
1268
1306
  };
@@ -76,6 +76,20 @@
76
76
  border-radius: 100%;
77
77
  transform: translateX(-50%);
78
78
  }
79
+ .bk-slider .bk-slider-interval:hover {
80
+ cursor: pointer;
81
+ }
82
+ .bk-slider .bk-slider-interval:hover::after {
83
+ content: '';
84
+ position: absolute;
85
+ left: -5px;
86
+ top: -4px;
87
+ width: 10px;
88
+ height: 10px;
89
+ border-radius: 50%;
90
+ background-color: #fff;
91
+ border: solid 1px #3a84ff;
92
+ }
79
93
  .bk-slider .bk-slider-interval.vertical {
80
94
  left: 2px;
81
95
  }