bkui-vue 0.0.1-beta.9 → 0.0.1-beta.90

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 (556) hide show
  1. package/README.md +31 -19
  2. package/dist/index.cjs.js +57 -0
  3. package/dist/index.esm.js +24736 -0
  4. package/dist/index.umd.js +57 -0
  5. package/dist/style.css +1 -2348
  6. package/lib/affix/affix.css +3 -0
  7. package/lib/affix/affix.d.ts +47 -0
  8. package/lib/affix/affix.less +5 -0
  9. package/lib/affix/affix.variable.css +102 -0
  10. package/lib/affix/index.d.ts +143 -0
  11. package/lib/affix/index.js +1 -0
  12. package/lib/alert/alert.css +5 -3
  13. package/lib/alert/alert.d.ts +24 -15
  14. package/lib/alert/alert.less +7 -3
  15. package/lib/alert/alert.variable.css +34 -3
  16. package/lib/alert/index.d.ts +180 -0
  17. package/lib/alert/index.js +1 -1
  18. package/lib/animate-number/animate-number.d.ts +12 -7
  19. package/lib/animate-number/index.d.ts +97 -0
  20. package/lib/animate-number/index.js +1 -1
  21. package/lib/backtop/backtop.d.ts +27 -13
  22. package/lib/backtop/backtop.variable.css +29 -0
  23. package/lib/backtop/index.d.ts +166 -0
  24. package/lib/backtop/index.js +1 -1
  25. package/lib/badge/badge.css +5 -5
  26. package/lib/badge/badge.d.ts +64 -22
  27. package/lib/badge/badge.less +5 -6
  28. package/lib/badge/badge.variable.css +34 -5
  29. package/lib/badge/index.d.ts +267 -0
  30. package/lib/badge/index.js +1 -1
  31. package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
  32. package/lib/breadcrumb/breadcrumb.css +18 -1
  33. package/lib/breadcrumb/breadcrumb.d.ts +37 -9
  34. package/lib/breadcrumb/breadcrumb.less +13 -2
  35. package/lib/breadcrumb/breadcrumb.variable.css +47 -1
  36. package/lib/breadcrumb/index.d.ts +194 -0
  37. package/lib/breadcrumb/index.js +1 -1
  38. package/lib/button/button-group.d.ts +3 -5
  39. package/lib/button/button.css +73 -44
  40. package/lib/button/button.d.ts +67 -31
  41. package/lib/button/button.less +68 -47
  42. package/lib/button/button.variable.css +102 -44
  43. package/lib/button/index.d.ts +237 -0
  44. package/lib/button/index.js +1 -1
  45. package/lib/card/card.css +53 -1
  46. package/lib/card/card.d.ts +74 -18
  47. package/lib/card/card.less +50 -2
  48. package/lib/card/card.variable.css +82 -1
  49. package/lib/card/index.d.ts +283 -0
  50. package/lib/card/index.js +1 -1
  51. package/lib/cascader/cascader-panel.d.ts +48 -0
  52. package/lib/cascader/cascader.css +130 -0
  53. package/lib/cascader/cascader.d.ts +271 -0
  54. package/lib/cascader/cascader.less +146 -0
  55. package/lib/cascader/cascader.variable.css +229 -0
  56. package/lib/cascader/index.d.ts +721 -0
  57. package/lib/cascader/index.js +1 -0
  58. package/lib/cascader/interface.d.ts +44 -0
  59. package/lib/cascader/node.d.ts +24 -0
  60. package/lib/cascader/store.d.ts +15 -0
  61. package/lib/checkbox/checkbox-group.d.ts +13 -9
  62. package/lib/checkbox/checkbox.css +15 -2
  63. package/lib/checkbox/checkbox.d.ts +33 -30
  64. package/lib/checkbox/checkbox.less +20 -2
  65. package/lib/checkbox/checkbox.variable.css +44 -2
  66. package/lib/checkbox/common.d.ts +3 -3
  67. package/lib/checkbox/index.d.ts +253 -0
  68. package/lib/checkbox/index.js +1 -1
  69. package/lib/checkbox/type.d.ts +4 -8
  70. package/lib/code-diff/code-diff.css +186 -0
  71. package/lib/code-diff/code-diff.d.ts +80 -0
  72. package/lib/code-diff/code-diff.less +238 -0
  73. package/lib/code-diff/code-diff.variable.css +285 -0
  74. package/lib/code-diff/index.d.ts +154 -0
  75. package/lib/code-diff/index.js +1 -0
  76. package/lib/collapse/collapse.css +25 -1
  77. package/lib/collapse/collapse.d.ts +51 -22
  78. package/lib/collapse/collapse.less +34 -2
  79. package/lib/collapse/collapse.variable.css +124 -1
  80. package/lib/collapse/index.d.ts +182 -0
  81. package/lib/collapse/index.js +1 -1
  82. package/lib/collapse/utils.d.ts +11 -0
  83. package/lib/components.d.ts +25 -4
  84. package/lib/components.js +1 -0
  85. package/lib/container/col.d.ts +51 -0
  86. package/lib/container/container.css +48 -0
  87. package/lib/container/container.d.ts +83 -0
  88. package/lib/container/container.less +20 -0
  89. package/lib/container/container.variable.css +147 -0
  90. package/lib/container/index.d.ts +223 -0
  91. package/lib/container/index.js +1 -0
  92. package/lib/container/row.d.ts +4 -0
  93. package/lib/date-picker/date-picker.css +408 -0
  94. package/lib/date-picker/date-picker.d.ts +312 -0
  95. package/lib/date-picker/date-picker.less +527 -0
  96. package/lib/date-picker/date-picker.variable.css +507 -0
  97. package/lib/date-picker/fecha.d.ts +6 -0
  98. package/lib/date-picker/index.d.ts +753 -0
  99. package/lib/date-picker/index.js +1 -0
  100. package/lib/date-picker/interface.d.ts +22 -0
  101. package/lib/date-picker/props.d.ts +118 -0
  102. package/lib/date-picker/utils.d.ts +97 -0
  103. package/lib/dialog/dialog.css +66 -14
  104. package/lib/dialog/dialog.d.ts +305 -52
  105. package/lib/dialog/dialog.less +34 -14
  106. package/lib/dialog/dialog.variable.css +66 -14
  107. package/lib/dialog/index.d.ts +772 -0
  108. package/lib/dialog/index.js +1 -1
  109. package/lib/directives/clickoutside.d.ts +3 -23
  110. package/lib/directives/index.d.ts +3 -0
  111. package/lib/directives/index.js +2 -15
  112. package/lib/directives/index.js.LICENSE.txt +14 -0
  113. package/lib/directives/tooltips.d.ts +17 -0
  114. package/lib/dist.index.js +1 -0
  115. package/lib/divider/divider.css +38 -0
  116. package/lib/divider/divider.d.ts +48 -0
  117. package/lib/divider/divider.less +53 -0
  118. package/lib/divider/divider.variable.css +137 -0
  119. package/lib/divider/index.d.ts +142 -0
  120. package/lib/divider/index.js +1 -0
  121. package/lib/divider/props.d.ts +21 -0
  122. package/lib/dropdown/dropdown-item.d.ts +19 -0
  123. package/lib/dropdown/dropdown-menu.d.ts +16 -0
  124. package/lib/dropdown/dropdown.css +47 -0
  125. package/lib/dropdown/dropdown.d.ts +63 -0
  126. package/lib/dropdown/dropdown.less +59 -0
  127. package/lib/dropdown/dropdown.variable.css +146 -0
  128. package/lib/dropdown/index.d.ts +200 -0
  129. package/lib/dropdown/index.js +1 -0
  130. package/lib/exception/exception.d.ts +11 -9
  131. package/lib/exception/exception.variable.css +29 -0
  132. package/lib/exception/index.d.ts +96 -0
  133. package/lib/exception/index.js +1 -1
  134. package/lib/fixed-navbar/fixed-navbar.d.ts +29 -9
  135. package/lib/fixed-navbar/fixed-navbar.variable.css +29 -0
  136. package/lib/fixed-navbar/index.d.ts +147 -0
  137. package/lib/fixed-navbar/index.js +1 -1
  138. package/lib/form/compose-form-item.d.ts +16 -0
  139. package/lib/form/form-item.d.ts +155 -0
  140. package/lib/form/form.css +125 -0
  141. package/lib/form/form.d.ts +81 -0
  142. package/lib/form/form.less +152 -0
  143. package/lib/form/form.variable.css +224 -0
  144. package/lib/form/index.d.ts +303 -0
  145. package/lib/form/index.js +1 -0
  146. package/lib/form/type.d.ts +23 -0
  147. package/lib/form/validator.d.ts +9 -0
  148. package/lib/icon/angle-double-down-line.d.ts +4 -0
  149. package/lib/icon/angle-double-down-line.js +1 -0
  150. package/lib/icon/angle-double-left-line.d.ts +4 -0
  151. package/lib/icon/angle-double-left-line.js +1 -0
  152. package/lib/icon/angle-double-left.d.ts +4 -0
  153. package/lib/icon/angle-double-left.js +1 -0
  154. package/lib/icon/angle-double-right-line.d.ts +4 -0
  155. package/lib/icon/angle-double-right-line.js +1 -0
  156. package/lib/icon/angle-double-right.d.ts +4 -0
  157. package/lib/icon/angle-double-right.js +1 -0
  158. package/lib/icon/angle-double-up-line.d.ts +4 -0
  159. package/lib/icon/angle-double-up-line.js +1 -0
  160. package/lib/icon/angle-down-fill.d.ts +4 -0
  161. package/lib/icon/angle-down-fill.js +1 -0
  162. package/lib/icon/angle-down-line.d.ts +4 -0
  163. package/lib/icon/angle-down-line.js +1 -0
  164. package/lib/icon/angle-down.d.ts +4 -0
  165. package/lib/icon/angle-down.js +1 -0
  166. package/lib/icon/angle-left.d.ts +4 -0
  167. package/lib/icon/angle-left.js +1 -0
  168. package/lib/icon/angle-right.d.ts +4 -0
  169. package/lib/icon/angle-right.js +1 -0
  170. package/lib/icon/angle-up-fill.d.ts +4 -0
  171. package/lib/icon/angle-up-fill.js +1 -0
  172. package/lib/icon/angle-up.js +1 -0
  173. package/lib/icon/archive-fill.d.ts +4 -0
  174. package/lib/icon/archive-fill.js +1 -0
  175. package/lib/icon/arrows-left.d.ts +4 -0
  176. package/lib/icon/arrows-left.js +1 -0
  177. package/lib/icon/arrows-right.d.ts +4 -0
  178. package/lib/icon/arrows-right.js +1 -0
  179. package/lib/icon/audio-fill.d.ts +4 -0
  180. package/lib/icon/audio-fill.js +1 -0
  181. package/lib/icon/bk.d.ts +4 -0
  182. package/lib/icon/bk.js +1 -0
  183. package/lib/icon/circle.d.ts +4 -0
  184. package/lib/icon/circle.js +1 -0
  185. package/lib/icon/close-line.d.ts +4 -0
  186. package/lib/icon/close-line.js +1 -0
  187. package/lib/icon/close.js +1 -0
  188. package/lib/icon/code.d.ts +4 -0
  189. package/lib/icon/code.js +1 -0
  190. package/lib/icon/cog-shape.d.ts +4 -0
  191. package/lib/icon/cog-shape.js +1 -0
  192. package/lib/icon/collapse-left.d.ts +4 -0
  193. package/lib/icon/collapse-left.js +1 -0
  194. package/lib/icon/copy.d.ts +4 -0
  195. package/lib/icon/copy.js +1 -0
  196. package/lib/icon/data-shape.d.ts +4 -0
  197. package/lib/icon/data-shape.js +1 -0
  198. package/lib/icon/del.d.ts +4 -0
  199. package/lib/icon/del.js +1 -0
  200. package/lib/icon/doc-fill.d.ts +4 -0
  201. package/lib/icon/doc-fill.js +1 -0
  202. package/lib/icon/done.d.ts +4 -0
  203. package/lib/icon/done.js +1 -0
  204. package/lib/icon/down-shape.d.ts +4 -0
  205. package/lib/icon/down-shape.js +1 -0
  206. package/lib/icon/down-small.js +1 -0
  207. package/lib/icon/edit-line.d.ts +4 -0
  208. package/lib/icon/edit-line.js +1 -0
  209. package/lib/icon/ellipsis.d.ts +4 -0
  210. package/lib/icon/ellipsis.js +1 -0
  211. package/lib/icon/error.d.ts +4 -0
  212. package/lib/icon/error.js +1 -0
  213. package/lib/icon/excel-fill.d.ts +4 -0
  214. package/lib/icon/excel-fill.js +1 -0
  215. package/lib/icon/exclamation-circle-shape.d.ts +4 -0
  216. package/lib/icon/exclamation-circle-shape.js +1 -0
  217. package/lib/icon/eye.js +1 -0
  218. package/lib/icon/folder-open.d.ts +4 -0
  219. package/lib/icon/folder-open.js +1 -0
  220. package/lib/icon/folder-shape-open.d.ts +4 -0
  221. package/lib/icon/folder-shape-open.js +1 -0
  222. package/lib/icon/folder-shape.d.ts +4 -0
  223. package/lib/icon/folder-shape.js +1 -0
  224. package/lib/icon/folder.d.ts +4 -0
  225. package/lib/icon/funnel.d.ts +4 -0
  226. package/lib/icon/funnel.js +1 -0
  227. package/lib/icon/help-document-fill.js +1 -0
  228. package/lib/icon/help-fill.js +1 -0
  229. package/lib/icon/help.js +1 -0
  230. package/lib/icon/image-fill.d.ts +4 -0
  231. package/lib/icon/image-fill.js +1 -0
  232. package/lib/icon/index.d.ts +69 -0
  233. package/lib/icon/index.js +1 -15
  234. package/lib/icon/info-line.js +1 -0
  235. package/lib/icon/info.d.ts +4 -0
  236. package/lib/icon/info.js +1 -0
  237. package/lib/icon/left-shape.d.ts +4 -0
  238. package/lib/icon/left-shape.js +1 -0
  239. package/lib/icon/pdf-fill.d.ts +4 -0
  240. package/lib/icon/pdf-fill.js +1 -0
  241. package/lib/icon/play-shape.d.ts +4 -0
  242. package/lib/icon/play-shape.js +1 -0
  243. package/lib/icon/plus.d.ts +4 -0
  244. package/lib/icon/plus.js +1 -0
  245. package/lib/icon/ppt-fill.d.ts +4 -0
  246. package/lib/icon/ppt-fill.js +1 -0
  247. package/lib/icon/qq.d.ts +4 -0
  248. package/lib/icon/qq.js +1 -0
  249. package/lib/icon/right-shape.d.ts +4 -0
  250. package/lib/icon/right-shape.js +1 -0
  251. package/lib/icon/search.js +1 -0
  252. package/lib/icon/share.d.ts +4 -0
  253. package/lib/icon/share.js +1 -0
  254. package/lib/icon/spinner.d.ts +4 -0
  255. package/lib/icon/spinner.js +1 -0
  256. package/lib/icon/success.d.ts +4 -0
  257. package/lib/icon/success.js +1 -0
  258. package/lib/icon/switcher-loading.js +1 -0
  259. package/lib/icon/text-file.d.ts +4 -0
  260. package/lib/icon/text-file.js +1 -0
  261. package/lib/icon/text-fill.d.ts +4 -0
  262. package/lib/icon/text-fill.js +1 -0
  263. package/lib/icon/tree-application-shape.d.ts +4 -0
  264. package/lib/icon/tree-application-shape.js +1 -0
  265. package/lib/icon/unvisible.js +1 -0
  266. package/lib/icon/up-shape.d.ts +4 -0
  267. package/lib/icon/up-shape.js +1 -0
  268. package/lib/icon/upload.d.ts +4 -0
  269. package/lib/icon/upload.js +1 -0
  270. package/lib/icon/video-fill.d.ts +4 -0
  271. package/lib/icon/video-fill.js +1 -0
  272. package/lib/icon/warn.d.ts +4 -0
  273. package/lib/icon/warn.js +1 -0
  274. package/lib/icon/weixin.d.ts +4 -0
  275. package/lib/icon/weixin.js +1 -0
  276. package/lib/index.d.ts +1 -1
  277. package/lib/index.js +1 -0
  278. package/lib/input/index.d.ts +541 -0
  279. package/lib/input/index.js +1 -15
  280. package/lib/input/input.css +82 -5
  281. package/lib/input/input.d.ts +181 -51
  282. package/lib/input/input.less +93 -9
  283. package/lib/input/input.variable.css +112 -5
  284. package/lib/link/index.d.ts +164 -0
  285. package/lib/link/index.js +1 -1
  286. package/lib/link/link.d.ts +25 -13
  287. package/lib/link/link.variable.css +29 -0
  288. package/lib/loading/index.d.ts +172 -0
  289. package/lib/loading/index.js +1 -1
  290. package/lib/loading/loading.css +122 -75
  291. package/lib/loading/loading.d.ts +67 -20
  292. package/lib/loading/loading.less +79 -60
  293. package/lib/loading/loading.variable.css +151 -75
  294. package/lib/menu/index.d.ts +176 -0
  295. package/lib/menu/index.js +1 -0
  296. package/lib/menu/menu-group.d.ts +14 -0
  297. package/lib/menu/menu-item.d.ts +16 -0
  298. package/lib/menu/menu.css +190 -0
  299. package/lib/menu/menu.d.ts +55 -0
  300. package/lib/menu/menu.less +180 -0
  301. package/lib/menu/menu.variable.css +289 -0
  302. package/lib/menu/submenu.css +3 -0
  303. package/lib/menu/submenu.d.ts +22 -0
  304. package/lib/menu/submenu.less +5 -0
  305. package/lib/menu/submenu.variable.css +102 -0
  306. package/lib/menu/utils.d.ts +41 -0
  307. package/lib/message/{message.d.ts → index.d.ts} +0 -0
  308. package/lib/message/index.js +1 -1
  309. package/lib/message/message.css +27 -1
  310. package/lib/message/message.less +30 -1
  311. package/lib/message/message.variable.css +56 -1
  312. package/lib/message/messageConstructor.d.ts +71 -20
  313. package/lib/modal/index.d.ts +605 -0
  314. package/lib/modal/index.js +1 -1
  315. package/lib/modal/modal.css +30 -1
  316. package/lib/modal/modal.d.ts +195 -24
  317. package/lib/modal/modal.less +39 -1
  318. package/lib/modal/modal.variable.css +30 -1
  319. package/lib/modal/props.mixin.d.ts +82 -10
  320. package/lib/navigation/index.d.ts +292 -0
  321. package/lib/navigation/index.js +1 -0
  322. package/lib/navigation/navigation-title.d.ts +25 -0
  323. package/lib/navigation/navigation.css +184 -0
  324. package/lib/navigation/navigation.d.ts +111 -0
  325. package/lib/navigation/navigation.less +210 -0
  326. package/lib/navigation/navigation.variable.css +283 -0
  327. package/lib/notify/index.d.ts +2 -0
  328. package/lib/notify/index.js +1 -0
  329. package/lib/notify/notify.css +65 -0
  330. package/lib/notify/notify.less +76 -0
  331. package/lib/notify/notify.variable.css +164 -0
  332. package/lib/notify/notifyConstructor.d.ts +135 -0
  333. package/lib/pagination/index.d.ts +395 -0
  334. package/lib/pagination/index.js +1 -0
  335. package/lib/pagination/pagination.css +179 -0
  336. package/lib/pagination/pagination.d.ts +220 -0
  337. package/lib/pagination/pagination.less +201 -0
  338. package/lib/pagination/pagination.variable.css +278 -0
  339. package/lib/pagination/type.d.ts +6 -0
  340. package/lib/pagination/use-limit.d.ts +8 -0
  341. package/lib/pagination/use-list.d.ts +8 -0
  342. package/lib/pagination/use-small-list.d.ts +5 -0
  343. package/lib/pagination/use-total.d.ts +5 -0
  344. package/lib/popover/index.d.ts +387 -0
  345. package/lib/popover/index.js +1 -1
  346. package/lib/popover/popover.css +28 -16
  347. package/lib/popover/popover.d.ts +122 -45
  348. package/lib/popover/popover.less +59 -46
  349. package/lib/popover/popover.variable.css +57 -16
  350. package/lib/popover/props.d.ts +104 -0
  351. package/lib/preset.d.ts +2 -3
  352. package/lib/preset.js +1 -0
  353. package/lib/process/index.d.ts +205 -0
  354. package/lib/process/index.js +1 -0
  355. package/lib/process/process.css +138 -0
  356. package/lib/process/process.d.ts +131 -0
  357. package/lib/process/process.less +178 -0
  358. package/lib/process/process.variable.css +237 -0
  359. package/lib/progress/index.d.ts +398 -0
  360. package/lib/progress/index.js +1 -1
  361. package/lib/progress/progress.css +8 -3
  362. package/lib/progress/progress.d.ts +89 -36
  363. package/lib/progress/progress.less +0 -4
  364. package/lib/progress/progress.variable.css +37 -3
  365. package/lib/radio/common.d.ts +5 -5
  366. package/lib/radio/index.d.ts +277 -0
  367. package/lib/radio/index.js +1 -1
  368. package/lib/radio/radio-button.d.ts +28 -20
  369. package/lib/radio/radio-group.d.ts +11 -10
  370. package/lib/radio/radio.css +14 -8
  371. package/lib/radio/radio.d.ts +27 -17
  372. package/lib/radio/radio.less +16 -9
  373. package/lib/radio/radio.variable.css +44 -9
  374. package/lib/radio/type.d.ts +10 -5
  375. package/lib/rate/index.d.ts +113 -0
  376. package/lib/rate/index.js +1 -1
  377. package/lib/rate/rate.d.ts +13 -10
  378. package/lib/rate/star.d.ts +33 -16
  379. package/lib/resize-layout/index.d.ts +336 -0
  380. package/lib/resize-layout/index.js +1 -0
  381. package/lib/resize-layout/resize-layout.css +189 -0
  382. package/lib/resize-layout/resize-layout.d.ts +127 -0
  383. package/lib/resize-layout/resize-layout.less +233 -0
  384. package/lib/resize-layout/resize-layout.variable.css +288 -0
  385. package/lib/select/common.d.ts +23 -17
  386. package/lib/select/index.d.ts +1675 -0
  387. package/lib/select/index.js +1 -1
  388. package/lib/select/option.d.ts +15 -20
  389. package/lib/select/optionGroup.d.ts +54 -0
  390. package/lib/select/select.css +229 -41
  391. package/lib/select/select.d.ts +381 -157
  392. package/lib/select/select.less +242 -53
  393. package/lib/select/select.variable.css +258 -41
  394. package/lib/select/selectTagInput.d.ts +71 -0
  395. package/lib/select/type.d.ts +35 -0
  396. package/lib/shared/{bk-helper-core.d.ts → helper.d.ts} +6 -1
  397. package/lib/shared/index.d.ts +73 -0
  398. package/lib/shared/index.js +1 -1
  399. package/lib/shared/{bk-mask-manager.d.ts → mask-manager.d.ts} +33 -3
  400. package/lib/shared/{bk-pop-manager.d.ts → pop-manager.d.ts} +10 -2
  401. package/lib/shared/{bk-popover.d.ts → popover.d.ts} +60 -6
  402. package/lib/shared/token.d.ts +4 -0
  403. package/lib/shared/utils.d.ts +6 -0
  404. package/lib/shared/vue-types.d.ts +12 -7
  405. package/lib/shared/z-index-manager.d.ts +6 -1
  406. package/lib/sideslider/index.d.ts +533 -0
  407. package/lib/sideslider/index.js +1 -1
  408. package/lib/sideslider/sideslider.css +48 -3
  409. package/lib/sideslider/sideslider.d.ts +205 -30
  410. package/lib/sideslider/sideslider.less +65 -6
  411. package/lib/sideslider/sideslider.variable.css +77 -3
  412. package/lib/slider/index.d.ts +440 -0
  413. package/lib/slider/index.js +1 -0
  414. package/lib/slider/slider-button.d.ts +80 -0
  415. package/lib/slider/slider.css +149 -0
  416. package/lib/slider/slider.d.ts +201 -0
  417. package/lib/slider/slider.less +179 -0
  418. package/lib/slider/slider.variable.css +248 -0
  419. package/lib/steps/index.d.ts +250 -0
  420. package/lib/steps/index.js +1 -15
  421. package/lib/steps/steps.css +4 -1
  422. package/lib/steps/steps.d.ts +42 -29
  423. package/lib/steps/steps.less +5 -1
  424. package/lib/steps/steps.variable.css +33 -1
  425. package/lib/styles/index.d.ts +51 -0
  426. package/lib/styles/mixins/clearfix.css +8 -0
  427. package/lib/styles/mixins/clearfix.less +10 -0
  428. package/lib/styles/mixins/clearfix.variable.css +8 -0
  429. package/lib/styles/mixins/mixins.css +8 -0
  430. package/lib/styles/mixins/mixins.less +1 -0
  431. package/lib/styles/mixins/mixins.variable.css +8 -0
  432. package/lib/styles/mixins/popper.css +43 -0
  433. package/lib/styles/mixins/popper.less +52 -0
  434. package/lib/styles/mixins/popper.variable.css +43 -0
  435. package/lib/styles/mixins/size.less +9 -0
  436. package/lib/styles/reset.css +273 -0
  437. package/lib/styles/reset.less +313 -0
  438. package/lib/styles/reset.variable.css +273 -0
  439. package/lib/styles/themes/themes.less +45 -1
  440. package/lib/swiper/index.d.ts +181 -0
  441. package/lib/swiper/index.js +1 -0
  442. package/lib/swiper/swiper.css +91 -0
  443. package/lib/swiper/swiper.d.ts +65 -0
  444. package/lib/swiper/swiper.less +107 -0
  445. package/lib/swiper/swiper.variable.css +91 -0
  446. package/lib/switcher/index.d.ts +286 -0
  447. package/lib/switcher/index.js +1 -1
  448. package/lib/switcher/switcher.css +157 -135
  449. package/lib/switcher/switcher.d.ts +51 -35
  450. package/lib/switcher/switcher.less +211 -153
  451. package/lib/switcher/switcher.variable.css +186 -135
  452. package/lib/tab/index.d.ts +440 -0
  453. package/lib/tab/index.js +1 -0
  454. package/lib/tab/props.d.ts +194 -0
  455. package/lib/tab/tab-nav.d.ts +169 -0
  456. package/lib/tab/tab-panel.d.ts +73 -0
  457. package/lib/tab/tab.css +167 -0
  458. package/lib/tab/tab.d.ts +139 -0
  459. package/lib/tab/tab.less +228 -0
  460. package/lib/tab/tab.variable.css +266 -0
  461. package/lib/table/const.d.ts +43 -0
  462. package/lib/table/index.d.ts +547 -0
  463. package/lib/table/index.js +1 -1
  464. package/lib/table/plugins/head-filter.css +68 -0
  465. package/lib/table/plugins/head-filter.less +83 -0
  466. package/lib/table/plugins/head-filter.variable.css +167 -0
  467. package/lib/table/plugins/head-sort.css +22 -0
  468. package/lib/table/plugins/head-sort.less +28 -0
  469. package/lib/table/plugins/head-sort.variable.css +121 -0
  470. package/lib/table/plugins/settings.css +110 -0
  471. package/lib/table/plugins/settings.less +136 -0
  472. package/lib/table/plugins/settings.variable.css +209 -0
  473. package/lib/table/props.d.ts +243 -0
  474. package/lib/table/render.d.ts +118 -0
  475. package/lib/table/table.css +436 -0
  476. package/lib/table/table.d.ts +194 -32
  477. package/lib/table/table.less +282 -1
  478. package/lib/table/table.variable.css +465 -0
  479. package/lib/table/use-common.d.ts +71 -0
  480. package/lib/table/utils.d.ts +102 -0
  481. package/lib/tag/index.d.ts +229 -0
  482. package/lib/tag/index.js +1 -1
  483. package/lib/tag/tag.css +97 -0
  484. package/lib/tag/tag.d.ts +83 -53
  485. package/lib/tag/tag.less +110 -2
  486. package/lib/tag/tag.variable.css +126 -0
  487. package/lib/tag-input/common.d.ts +24 -0
  488. package/lib/tag-input/index.d.ts +894 -0
  489. package/lib/tag-input/index.js +1 -0
  490. package/lib/tag-input/list-tag-render.d.ts +47 -0
  491. package/lib/tag-input/tag-input.css +209 -0
  492. package/lib/tag-input/tag-input.d.ts +374 -0
  493. package/lib/tag-input/tag-input.less +251 -0
  494. package/lib/tag-input/tag-input.variable.css +308 -0
  495. package/lib/tag-input/tag-props.d.ts +131 -0
  496. package/lib/tag-input/tag-render.d.ts +38 -0
  497. package/lib/timeline/index.d.ts +129 -0
  498. package/lib/timeline/index.js +1 -0
  499. package/lib/timeline/timeline.css +235 -0
  500. package/lib/timeline/timeline.d.ts +81 -0
  501. package/lib/timeline/timeline.less +239 -0
  502. package/lib/timeline/timeline.variable.css +334 -0
  503. package/lib/transfer/const.d.ts +5 -0
  504. package/lib/transfer/index.d.ts +365 -0
  505. package/lib/transfer/index.js +1 -0
  506. package/lib/transfer/props.d.ts +54 -0
  507. package/lib/transfer/transfer.css +139 -0
  508. package/lib/transfer/transfer.d.ts +160 -0
  509. package/lib/transfer/transfer.less +144 -0
  510. package/lib/transfer/transfer.variable.css +238 -0
  511. package/lib/tree/constant.d.ts +43 -0
  512. package/lib/tree/index.d.ts +472 -0
  513. package/lib/tree/index.js +1 -0
  514. package/lib/tree/props.d.ts +168 -0
  515. package/lib/tree/tree.css +53 -0
  516. package/lib/tree/tree.d.ts +204 -0
  517. package/lib/tree/tree.less +66 -0
  518. package/lib/tree/tree.variable.css +152 -0
  519. package/lib/tree/use-empty.d.ts +6 -0
  520. package/lib/tree/use-node-action.d.ts +11 -0
  521. package/lib/tree/use-node-async.d.ts +5 -0
  522. package/lib/tree/use-node-attribute.d.ts +31 -0
  523. package/lib/tree/use-node-drag.d.ts +3 -0
  524. package/lib/tree/use-search.d.ts +11 -0
  525. package/lib/tree/use-tree-init.d.ts +15 -0
  526. package/lib/tree/util.d.ts +66 -0
  527. package/lib/upload/index.d.ts +2 -0
  528. package/lib/upload/index.js +1 -0
  529. package/lib/upload/props.d.ts +113 -0
  530. package/lib/upload/upload-list.d.ts +46 -0
  531. package/lib/upload/upload-trigger.d.ts +54 -0
  532. package/lib/upload/upload.css +374 -0
  533. package/lib/upload/upload.d.ts +252 -0
  534. package/lib/upload/upload.less +455 -0
  535. package/lib/upload/upload.type.d.ts +78 -0
  536. package/lib/upload/upload.variable.css +473 -0
  537. package/lib/upload/use-ajax-upload.d.ts +3 -0
  538. package/lib/upload/use-file-handler.d.ts +44 -0
  539. package/lib/use-message.d.ts +2 -0
  540. package/lib/virtual-render/index.d.ts +579 -0
  541. package/lib/virtual-render/index.js +1 -0
  542. package/lib/virtual-render/props.d.ts +167 -0
  543. package/lib/virtual-render/use-tag-render.d.ts +7 -0
  544. package/lib/virtual-render/v-virtual-render.d.ts +6 -0
  545. package/lib/virtual-render/virtual-render.css +33 -0
  546. package/lib/virtual-render/virtual-render.d.ts +255 -0
  547. package/lib/virtual-render/virtual-render.less +43 -0
  548. package/lib/virtual-render/virtual-render.variable.css +33 -0
  549. package/package.json +108 -81
  550. package/dist/bkui-vue.cjs.js +0 -5171
  551. package/dist/bkui-vue.esm.js +0 -5137
  552. package/dist/bkui-vue.umd.js +0 -5174
  553. package/lib/styles/index.js +0 -1
  554. package/lib/table/common.d.ts +0 -3
  555. package/lib/table/table-layout.d.ts +0 -14
  556. package/lib/table/type.d.ts +0 -12
@@ -0,0 +1,440 @@
1
+ /**
2
+ * Tencent is pleased to support the open source community by making
3
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
4
+ *
5
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
6
+ *
7
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
8
+ *
9
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
10
+ *
11
+ * ---------------------------------------------------
12
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
13
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
14
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
15
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
16
+ *
17
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
18
+ * the Software.
19
+ *
20
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
21
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
23
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
24
+ * IN THE SOFTWARE.
25
+ */
26
+ declare const Slider: {
27
+ new (...args: any[]): {
28
+ $: import("vue").ComponentInternalInstance;
29
+ $data: {};
30
+ $props: Partial<{
31
+ height: string;
32
+ step: number;
33
+ vertical: boolean;
34
+ extCls: string;
35
+ range: boolean;
36
+ showInput: boolean;
37
+ disable: boolean;
38
+ showTip: boolean;
39
+ maxValue: number;
40
+ minValue: number;
41
+ showInterval: boolean;
42
+ showIntervalLabel: boolean;
43
+ showButtonLabel: boolean;
44
+ showBetweenLabel: boolean;
45
+ customContent: Record<string, any>;
46
+ formatterLabel: Function;
47
+ formatterButtonLabel: Function;
48
+ formatterTipLabel: Function;
49
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
50
+ modelValue: import("vue-types").VueTypeDef<number | unknown[]>;
51
+ extCls: {
52
+ type: StringConstructor;
53
+ default: string;
54
+ };
55
+ vertical: {
56
+ type: BooleanConstructor;
57
+ default: boolean;
58
+ };
59
+ height: {
60
+ type: StringConstructor;
61
+ default: string;
62
+ };
63
+ disable: {
64
+ type: BooleanConstructor;
65
+ default: boolean;
66
+ };
67
+ showTip: {
68
+ type: BooleanConstructor;
69
+ default: boolean;
70
+ };
71
+ maxValue: {
72
+ type: NumberConstructor[];
73
+ default: number;
74
+ };
75
+ minValue: {
76
+ type: NumberConstructor[];
77
+ default: number;
78
+ };
79
+ step: {
80
+ type: NumberConstructor[];
81
+ default: number;
82
+ };
83
+ range: {
84
+ type: BooleanConstructor;
85
+ default: boolean;
86
+ };
87
+ showInterval: {
88
+ type: BooleanConstructor;
89
+ default: boolean;
90
+ };
91
+ showIntervalLabel: {
92
+ type: BooleanConstructor;
93
+ default: boolean;
94
+ };
95
+ showButtonLabel: {
96
+ type: BooleanConstructor;
97
+ default: boolean;
98
+ };
99
+ showBetweenLabel: {
100
+ type: BooleanConstructor;
101
+ default: boolean;
102
+ };
103
+ showInput: {
104
+ type: BooleanConstructor;
105
+ default: boolean;
106
+ };
107
+ customContent: {
108
+ type: ObjectConstructor;
109
+ default: any;
110
+ };
111
+ formatterLabel: {
112
+ type: FunctionConstructor;
113
+ default: (value: number) => number;
114
+ };
115
+ formatterButtonLabel: {
116
+ type: FunctionConstructor;
117
+ default: (value: number) => number;
118
+ };
119
+ formatterTipLabel: {
120
+ type: FunctionConstructor;
121
+ default: (value: number) => number;
122
+ };
123
+ }>> & {
124
+ onChange?: (...args: any[]) => any;
125
+ "onUpdate:modelValue"?: (...args: any[]) => any;
126
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "height" | "step" | "vertical" | "extCls" | "range" | "showInput" | "disable" | "showTip" | "maxValue" | "minValue" | "showInterval" | "showIntervalLabel" | "showButtonLabel" | "showBetweenLabel" | "customContent" | "formatterLabel" | "formatterButtonLabel" | "formatterTipLabel">;
127
+ $attrs: {
128
+ [x: string]: unknown;
129
+ };
130
+ $refs: {
131
+ [x: string]: unknown;
132
+ };
133
+ $slots: Readonly<{
134
+ [name: string]: import("vue").Slot;
135
+ }>;
136
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
137
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
138
+ $emit: (event: "change" | "update:modelValue", ...args: any[]) => void;
139
+ $el: any;
140
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
141
+ modelValue: import("vue-types").VueTypeDef<number | unknown[]>;
142
+ extCls: {
143
+ type: StringConstructor;
144
+ default: string;
145
+ };
146
+ vertical: {
147
+ type: BooleanConstructor;
148
+ default: boolean;
149
+ };
150
+ height: {
151
+ type: StringConstructor;
152
+ default: string;
153
+ };
154
+ disable: {
155
+ type: BooleanConstructor;
156
+ default: boolean;
157
+ };
158
+ showTip: {
159
+ type: BooleanConstructor;
160
+ default: boolean;
161
+ };
162
+ maxValue: {
163
+ type: NumberConstructor[];
164
+ default: number;
165
+ };
166
+ minValue: {
167
+ type: NumberConstructor[];
168
+ default: number;
169
+ };
170
+ step: {
171
+ type: NumberConstructor[];
172
+ default: number;
173
+ };
174
+ range: {
175
+ type: BooleanConstructor;
176
+ default: boolean;
177
+ };
178
+ showInterval: {
179
+ type: BooleanConstructor;
180
+ default: boolean;
181
+ };
182
+ showIntervalLabel: {
183
+ type: BooleanConstructor;
184
+ default: boolean;
185
+ };
186
+ showButtonLabel: {
187
+ type: BooleanConstructor;
188
+ default: boolean;
189
+ };
190
+ showBetweenLabel: {
191
+ type: BooleanConstructor;
192
+ default: boolean;
193
+ };
194
+ showInput: {
195
+ type: BooleanConstructor;
196
+ default: boolean;
197
+ };
198
+ customContent: {
199
+ type: ObjectConstructor;
200
+ default: any;
201
+ };
202
+ formatterLabel: {
203
+ type: FunctionConstructor;
204
+ default: (value: number) => number;
205
+ };
206
+ formatterButtonLabel: {
207
+ type: FunctionConstructor;
208
+ default: (value: number) => number;
209
+ };
210
+ formatterTipLabel: {
211
+ type: FunctionConstructor;
212
+ default: (value: number) => number;
213
+ };
214
+ }>> & {
215
+ onChange?: (...args: any[]) => any;
216
+ "onUpdate:modelValue"?: (...args: any[]) => any;
217
+ }, {
218
+ renderDom: () => JSX.Element;
219
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], string, {
220
+ height: string;
221
+ step: number;
222
+ vertical: boolean;
223
+ extCls: string;
224
+ range: boolean;
225
+ showInput: boolean;
226
+ disable: boolean;
227
+ showTip: boolean;
228
+ maxValue: number;
229
+ minValue: number;
230
+ showInterval: boolean;
231
+ showIntervalLabel: boolean;
232
+ showButtonLabel: boolean;
233
+ showBetweenLabel: boolean;
234
+ customContent: Record<string, any>;
235
+ formatterLabel: Function;
236
+ formatterButtonLabel: Function;
237
+ formatterTipLabel: Function;
238
+ }> & {
239
+ beforeCreate?: (() => void) | (() => void)[];
240
+ created?: (() => void) | (() => void)[];
241
+ beforeMount?: (() => void) | (() => void)[];
242
+ mounted?: (() => void) | (() => void)[];
243
+ beforeUpdate?: (() => void) | (() => void)[];
244
+ updated?: (() => void) | (() => void)[];
245
+ activated?: (() => void) | (() => void)[];
246
+ deactivated?: (() => void) | (() => void)[];
247
+ beforeDestroy?: (() => void) | (() => void)[];
248
+ beforeUnmount?: (() => void) | (() => void)[];
249
+ destroyed?: (() => void) | (() => void)[];
250
+ unmounted?: (() => void) | (() => void)[];
251
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
252
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
253
+ 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)[];
254
+ };
255
+ $forceUpdate: () => void;
256
+ $nextTick: typeof import("vue").nextTick;
257
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
258
+ } & Readonly<import("vue").ExtractPropTypes<{
259
+ modelValue: import("vue-types").VueTypeDef<number | unknown[]>;
260
+ extCls: {
261
+ type: StringConstructor;
262
+ default: string;
263
+ };
264
+ vertical: {
265
+ type: BooleanConstructor;
266
+ default: boolean;
267
+ };
268
+ height: {
269
+ type: StringConstructor;
270
+ default: string;
271
+ };
272
+ disable: {
273
+ type: BooleanConstructor;
274
+ default: boolean;
275
+ };
276
+ showTip: {
277
+ type: BooleanConstructor;
278
+ default: boolean;
279
+ };
280
+ maxValue: {
281
+ type: NumberConstructor[];
282
+ default: number;
283
+ };
284
+ minValue: {
285
+ type: NumberConstructor[];
286
+ default: number;
287
+ };
288
+ step: {
289
+ type: NumberConstructor[];
290
+ default: number;
291
+ };
292
+ range: {
293
+ type: BooleanConstructor;
294
+ default: boolean;
295
+ };
296
+ showInterval: {
297
+ type: BooleanConstructor;
298
+ default: boolean;
299
+ };
300
+ showIntervalLabel: {
301
+ type: BooleanConstructor;
302
+ default: boolean;
303
+ };
304
+ showButtonLabel: {
305
+ type: BooleanConstructor;
306
+ default: boolean;
307
+ };
308
+ showBetweenLabel: {
309
+ type: BooleanConstructor;
310
+ default: boolean;
311
+ };
312
+ showInput: {
313
+ type: BooleanConstructor;
314
+ default: boolean;
315
+ };
316
+ customContent: {
317
+ type: ObjectConstructor;
318
+ default: any;
319
+ };
320
+ formatterLabel: {
321
+ type: FunctionConstructor;
322
+ default: (value: number) => number;
323
+ };
324
+ formatterButtonLabel: {
325
+ type: FunctionConstructor;
326
+ default: (value: number) => number;
327
+ };
328
+ formatterTipLabel: {
329
+ type: FunctionConstructor;
330
+ default: (value: number) => number;
331
+ };
332
+ }>> & {
333
+ onChange?: (...args: any[]) => any;
334
+ "onUpdate:modelValue"?: (...args: any[]) => any;
335
+ } & import("vue").ShallowUnwrapRef<{
336
+ renderDom: () => JSX.Element;
337
+ }> & {} & {} & import("vue").ComponentCustomProperties;
338
+ __isFragment?: never;
339
+ __isTeleport?: never;
340
+ __isSuspense?: never;
341
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
342
+ modelValue: import("vue-types").VueTypeDef<number | unknown[]>;
343
+ extCls: {
344
+ type: StringConstructor;
345
+ default: string;
346
+ };
347
+ vertical: {
348
+ type: BooleanConstructor;
349
+ default: boolean;
350
+ };
351
+ height: {
352
+ type: StringConstructor;
353
+ default: string;
354
+ };
355
+ disable: {
356
+ type: BooleanConstructor;
357
+ default: boolean;
358
+ };
359
+ showTip: {
360
+ type: BooleanConstructor;
361
+ default: boolean;
362
+ };
363
+ maxValue: {
364
+ type: NumberConstructor[];
365
+ default: number;
366
+ };
367
+ minValue: {
368
+ type: NumberConstructor[];
369
+ default: number;
370
+ };
371
+ step: {
372
+ type: NumberConstructor[];
373
+ default: number;
374
+ };
375
+ range: {
376
+ type: BooleanConstructor;
377
+ default: boolean;
378
+ };
379
+ showInterval: {
380
+ type: BooleanConstructor;
381
+ default: boolean;
382
+ };
383
+ showIntervalLabel: {
384
+ type: BooleanConstructor;
385
+ default: boolean;
386
+ };
387
+ showButtonLabel: {
388
+ type: BooleanConstructor;
389
+ default: boolean;
390
+ };
391
+ showBetweenLabel: {
392
+ type: BooleanConstructor;
393
+ default: boolean;
394
+ };
395
+ showInput: {
396
+ type: BooleanConstructor;
397
+ default: boolean;
398
+ };
399
+ customContent: {
400
+ type: ObjectConstructor;
401
+ default: any;
402
+ };
403
+ formatterLabel: {
404
+ type: FunctionConstructor;
405
+ default: (value: number) => number;
406
+ };
407
+ formatterButtonLabel: {
408
+ type: FunctionConstructor;
409
+ default: (value: number) => number;
410
+ };
411
+ formatterTipLabel: {
412
+ type: FunctionConstructor;
413
+ default: (value: number) => number;
414
+ };
415
+ }>> & {
416
+ onChange?: (...args: any[]) => any;
417
+ "onUpdate:modelValue"?: (...args: any[]) => any;
418
+ }, {
419
+ renderDom: () => JSX.Element;
420
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", {
421
+ height: string;
422
+ step: number;
423
+ vertical: boolean;
424
+ extCls: string;
425
+ range: boolean;
426
+ showInput: boolean;
427
+ disable: boolean;
428
+ showTip: boolean;
429
+ maxValue: number;
430
+ minValue: number;
431
+ showInterval: boolean;
432
+ showIntervalLabel: boolean;
433
+ showButtonLabel: boolean;
434
+ showBetweenLabel: boolean;
435
+ customContent: Record<string, any>;
436
+ formatterLabel: Function;
437
+ formatterButtonLabel: Function;
438
+ formatterTipLabel: Function;
439
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
440
+ export default Slider;
@@ -0,0 +1 @@
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("../input"),require("../popover"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../input","../popover"],t);else{var a="object"==typeof exports?t(require("../shared"),require("vue"),require("../input"),require("../popover")):t(e["../shared"],e.vue,e["../input"],e["../popover"]);for(var r in a)("object"==typeof exports?exports:e)[r]=a[r]}}(self,((e,t,a,r)=>(()=>{var n={7162:(e,t,a)=>{e.exports=a(5047)},5047:e=>{var t=function(e){"use strict";var t,a=Object.prototype,r=a.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",u=n.asyncIterator||"@@asyncIterator",l=n.toStringTag||"@@toStringTag";function i(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{i({},"")}catch(e){i=function(e,t,a){return e[t]=a}}function c(e,t,a,r){var n=t&&t.prototype instanceof h?t:h,o=Object.create(n.prototype),u=new j(r||[]);return o._invoke=function(e,t,a){var r=v;return function(n,o){if(r===d)throw new Error("Generator is already running");if(r===f){if("throw"===n)throw o;return T()}for(a.method=n,a.arg=o;;){var u=a.delegate;if(u){var l=k(u,a);if(l){if(l===p)continue;return l}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(r===v)throw r=f,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);r=d;var i=s(e,t,a);if("normal"===i.type){if(r=a.done?f:m,i.arg===p)continue;return{value:i.arg,done:a.done}}"throw"===i.type&&(r=f,a.method="throw",a.arg=i.arg)}}}(e,a,u),o}function s(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var v="suspendedStart",m="suspendedYield",d="executing",f="completed",p={};function h(){}function V(){}function y(){}var b={};i(b,o,(function(){return this}));var g=Object.getPrototypeOf,w=g&&g(g(B([])));w&&w!==a&&r.call(w,o)&&(b=w);var x=y.prototype=h.prototype=Object.create(b);function L(e){["next","throw","return"].forEach((function(t){i(e,t,(function(e){return this._invoke(t,e)}))}))}function N(e,t){function a(n,o,u,l){var i=s(e[n],e,o);if("throw"!==i.type){var c=i.arg,v=c.value;return v&&"object"==typeof v&&r.call(v,"__await")?t.resolve(v.__await).then((function(e){a("next",e,u,l)}),(function(e){a("throw",e,u,l)})):t.resolve(v).then((function(e){c.value=e,u(c)}),(function(e){return a("throw",e,u,l)}))}l(i.arg)}var n;this._invoke=function(e,r){function o(){return new t((function(t,n){a(e,r,t,n)}))}return n=n?n.then(o,o):o()}}function k(e,a){var r=e.iterator[a.method];if(r===t){if(a.delegate=null,"throw"===a.method){if(e.iterator.return&&(a.method="return",a.arg=t,k(e,a),"throw"===a.method))return p;a.method="throw",a.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=s(r,e.iterator,a.arg);if("throw"===n.type)return a.method="throw",a.arg=n.arg,a.delegate=null,p;var o=n.arg;return o?o.done?(a[e.resultName]=o.value,a.next=e.nextLoc,"return"!==a.method&&(a.method="next",a.arg=t),a.delegate=null,p):o:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,p)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function B(e){if(e){var a=e[o];if(a)return a.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,u=function a(){for(;++n<e.length;)if(r.call(e,n))return a.value=e[n],a.done=!1,a;return a.value=t,a.done=!0,a};return u.next=u}}return{next:T}}function T(){return{value:t,done:!0}}return V.prototype=y,i(x,"constructor",y),i(y,"constructor",V),V.displayName=i(y,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===V||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,i(e,l,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},L(N.prototype),i(N.prototype,u,(function(){return this})),e.AsyncIterator=N,e.async=function(t,a,r,n,o){void 0===o&&(o=Promise);var u=new N(c(t,a,r,n),o);return e.isGeneratorFunction(a)?u:u.next().then((function(e){return e.done?e.value:u.next()}))},L(x),i(x,l,"Generator"),i(x,o,(function(){return this})),i(x,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var a in e)t.push(a);return t.reverse(),function a(){for(;t.length;){var r=t.pop();if(r in e)return a.value=r,a.done=!1,a}return a.done=!0,a}},e.values=B,j.prototype={constructor:j,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(E),!e)for(var a in this)"t"===a.charAt(0)&&r.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var a=this;function n(r,n){return l.type="throw",l.arg=e,a.next=r,n&&(a.method="next",a.arg=t),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var u=this.tryEntries[o],l=u.completion;if("root"===u.tryLoc)return n("end");if(u.tryLoc<=this.prev){var i=r.call(u,"catchLoc"),c=r.call(u,"finallyLoc");if(i&&c){if(this.prev<u.catchLoc)return n(u.catchLoc,!0);if(this.prev<u.finallyLoc)return n(u.finallyLoc)}else if(i){if(this.prev<u.catchLoc)return n(u.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<u.finallyLoc)return n(u.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var n=this.tryEntries[a];if(n.tryLoc<=this.prev&&r.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var u=o?o.completion:{};return u.type=e,u.arg=t,o?(this.method="next",this.next=o.finallyLoc,p):this.complete(u)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),E(a),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var r=a.completion;if("throw"===r.type){var n=r.arg;E(a)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,a,r){return this.delegate={iterator:B(e),resultName:a,nextLoc:r},"next"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},8133:e=>{"use strict";e.exports=a},5537:e=>{"use strict";e.exports=r},4212:t=>{"use strict";t.exports=e},748:e=>{"use strict";e.exports=t}},o={};function u(e){var t=o[e];if(void 0!==t)return t.exports;var a=o[e]={exports:{}};return n[e](a,a.exports,u),a.exports}u.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return u.d(t,{a:t}),t},u.d=(e,t)=>{for(var a in t)u.o(t,a)&&!u.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},u.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),u.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};return(()=>{"use strict";u.r(l),u.d(l,{default:()=>f});var e=u(4212),t=u(748),a=u(7162),r=u.n(a);Object.create,Object.create;var n=u(8133),o=u.n(n),i=u(5537),c=u.n(i);const s=(0,t.defineComponent)({name:"SliderButton",props:{modelValue:{type:Number,default:0},params:{type:Object,default:function(){return{}}}},emits:["emitChange","resetSize","update:modelValue"],setup:function(e,a){var r=a.emit,n=(0,t.ref)(!1),o=(0,t.ref)(!1),u=(0,t.ref)(0),l=(0,t.ref)(0),i=(0,t.ref)(0),s=(0,t.ref)(null),d=(0,t.ref)(e.modelValue),f=(0,t.ref)(0),p=(0,t.ref)(0),h=(0,t.ref)(!1),V=(0,t.ref)(null),y=(0,t.computed)((function(){var t,a,r="";if(null===(t=e.params.customContent)||void 0===t?void 0:t[e.modelValue]){var n=e.params.customContent[e.modelValue];r=n.tip||n.label||""}var o=e.params.vertical?"right":"top";return(null===(a=e.params)||void 0===a?void 0:a.showTip)?{content:e.params.formatterTipLabel("".concat(r||(null==e?void 0:e.modelValue)||"0")),placement:o}:{content:"",placement:o}})),b=(0,t.computed)((function(){return"".concat((e.modelValue-e.params.minValue)/(e.params.maxValue-e.params.minValue)*100,"%")})),g=(0,t.computed)((function(){return e.params.vertical?{bottom:b.value}:{left:b.value}})),w=(0,t.computed)((function(){return e.params.formatterButtonLabel(e.modelValue)})),x=function(t){e.params.disable||(t.preventDefault(),L(t),v(window,"mousemove",N),v(window,"touchmove",N),v(window,"mouseup",k),v(window,"touchend",k))},L=function(t){n.value=!0,o.value=!0,e.params.vertical?u.value=t.clientY:l.value=t.clientX,i.value=parseFloat(b.value),s.value=i.value},N=function(t){if(n.value){o.value=!1,r("resetSize");var a=0;e.params.vertical?(f.value=t.clientY,a=(u.value-f.value)/e.params.sliderSize*100):(p.value=t.clientX,a=(p.value-l.value)/e.params.sliderSize*100),s.value=i.value+a,C(s.value)}},k=function e(){h.value=!1,n.value&&(setTimeout((function(){n.value=!1,o.value||(C(s.value),r("emitChange"))}),0),m(window,"mousemove",N),m(window,"touchmove",N),m(window,"mouseup",e),m(window,"touchend",e))},C=function(t){if(null!==t&&!isNaN(t)){t<0?s.value=0:t>100&&(s.value=100);var a=100/((e.params.maxValue-e.params.minValue)/e.params.step),o=Math.round(t/a)*a*(e.params.maxValue-e.params.minValue)*.01+e.params.minValue;o=parseFloat(o.toFixed(e.params.precision)),r("update:modelValue",o),n.value||e.modelValue===d.value||(d.value=e.modelValue)}};return{renderDom:function(){return(0,t.createVNode)("div",{class:["bk-slider-button",e.params.vertical?"vertical":"horizontal",{grabbing:n.value}],ref:V,tabindex:"0",style:g.value,onClick:function(e){return e.stopPropagation()},onMousedown:x},[Boolean(y.value.content)?(0,t.createVNode)(c(),{content:y.value.content,theme:"dark",placement:y.value.placement,boundary:document.body},{default:function(){return[(0,t.createVNode)("div",{class:["slider-button",{"slider-button-disable":e.params.disable}]},null)]}}):(0,t.createVNode)("div",{class:["slider-button",{"slider-button-disable":e.params.disable}]},null),e.params.showButtonLabel&&!e.params.showIntervalLabel?(0,t.createVNode)("div",{class:["slider-button-label",e.params.vertical?"vertical":"horizontal"]},[w.value]):void 0])},setPosition:C,tip:y}},render:function(){return this.renderDom()}});var v=function(e,t,a){e&&t&&a&&e.addEventListener(t,a,!1)},m=function(e,t,a){e&&t&&a&&e.removeEventListener(t,a,!1)};const d=(0,t.defineComponent)({name:"Slider",props:{modelValue:e.PropTypes.oneOfType([e.PropTypes.array,e.PropTypes.number]),extCls:{type:String,default:""},vertical:{type:Boolean,default:!1},height:{type:String,default:"200px"},disable:{type:Boolean,default:!1},showTip:{type:Boolean,default:!1},maxValue:{type:[Number],default:100},minValue:{type:[Number],default:0},step:{type:[Number],default:1},range:{type:Boolean,default:!1},showInterval:{type:Boolean,default:!1},showIntervalLabel:{type:Boolean,default:!1},showButtonLabel:{type:Boolean,default:!1},showBetweenLabel:{type:Boolean,default:!1},showInput:{type:Boolean,default:!1},customContent:{type:Object,default:null},formatterLabel:{type:Function,default:function(e){return e}},formatterButtonLabel:{type:Function,default:function(e){return e}},formatterTipLabel:{type:Function,default:function(e){return e}}},emits:["update:modelValue","change"],setup:function(e,a){var n=this,u=a.slots,l=a.emit,i=(0,t.ref)(1),c=(0,t.ref)(null),m=(0,t.ref)(null),d=(0,t.ref)(null),f=(0,t.ref)(0),p=(0,t.ref)(0),h=(0,t.ref)(null),V=(0,t.ref)(null),y=(0,t.ref)(null),b=(0,t.ref)(null),g=(0,t.computed)((function(){var t=[e.minValue,e.maxValue,e.step].map((function(e){var t="".concat(e).split(".")[1];return t?t.length:0}));return Math.max.apply(null,t)})),w=(0,t.computed)((function(){return Math.min(c.value,m.value)})),x=(0,t.computed)((function(){return Math.max(c.value,m.value)})),L=(0,t.computed)((function(){return e.range?"".concat(100*(x.value-w.value)/(e.maxValue-e.minValue),"%"):"".concat(100*(c.value-e.minValue)/(e.maxValue-e.minValue),"%")})),N=(0,t.computed)((function(){return e.range?"".concat(100*(w.value-e.minValue)/(e.maxValue-e.minValue),"%"):"0%"})),k=(0,t.computed)((function(){return e.vertical?{height:L.value,bottom:N.value}:{width:L.value,left:N.value}})),C=(0,t.computed)((function(){if(!e.showInterval||e.minValue>e.maxValue)return[];if(0===e.step)return console.warn("WARNNING:step should not be 0"),[];for(var t=(e.maxValue-e.minValue)/e.step,a=100*e.step/(e.maxValue-e.minValue),r=[],n=1;n<t;n++)r.push(n*a);return e.range?r.filter((function(t){return t<100*(w.value-e.minValue)/(e.maxValue-e.minValue)||t>100*(x.value-e.minValue)/(e.maxValue-e.minValue)})):r.filter((function(t){return t>100*(c.value-e.minValue)/(e.maxValue-e.minValue)}))})),E=(0,t.computed)((function(){return e.vertical?{height:e.height,width:"4px"}:{}})),j=(0,t.computed)((function(){if(!e.showIntervalLabel)return[];if(0===e.step)return console.warn("WARNNING:step should not be 0"),[];for(var t=100*e.step/(e.maxValue-e.minValue),a=[],r=e.minValue,n=0;r<=e.maxValue;r+=e.step,n++){var o={stepWidth:n*t,stepLabel:e.formatterLabel(r)};a.push(o)}return a})),B=(0,t.computed)((function(){return Array.isArray(e.modelValue)})),T=(0,t.computed)((function(){return e.customContent?Object.keys(e.customContent).sort((function(e,t){return Number(e)-Number(t)})).filter((function(t){return Number(t)>=e.minValue&&Number(t)<=e.maxValue})).map((function(t){var a=e.customContent[t].tip,r=e.customContent[t].label;return{tip:a||r||"",label:r||"",percent:(Number(t)-e.minValue)/(e.maxValue-e.minValue)*100}})):[]})),O=(0,t.computed)((function(){return{vertical:e.vertical,showTip:e.showTip,disable:e.disable,maxValue:e.maxValue,minValue:e.minValue,step:e.step,precision:g.value,showButtonLabel:e.showButtonLabel,formatterButtonLabel:e.formatterButtonLabel,showIntervalLabel:e.showIntervalLabel,customContent:e.customContent,sliderSize:i.value,formatterTipLabel:e.formatterTipLabel}}));(0,t.watch)((function(){return e.modelValue}),(function(){I()})),(0,t.watch)((function(){return c.value}),(function(t){e.range?l("update:modelValue",[w.value,x.value]):l("update:modelValue",t),f.value=t})),(0,t.watch)((function(){return m.value}),(function(e){l("update:modelValue",[w.value,x.value]),p.value=e})),(0,t.onMounted)((function(){e.range?(Array.isArray(e.modelValue)?(c.value=Math.max(e.minValue,Number(e.modelValue[0])),m.value=Math.min(e.maxValue,Number(e.modelValue[1]))):(c.value=e.minValue,m.value=e.maxValue),d.value=[c.value,m.value]):("number"!=typeof e.modelValue||isNaN(e.modelValue)?c.value=e.minValue:c.value=Math.min(e.maxValue,Math.max(e.minValue,e.modelValue)),d.value=c.value),S(),v(window,"resize",S())}));var S=function(){h.value&&(i.value=h.value["client".concat(e.vertical?"Height":"Width")])},P=function(t){var a,r;if(t.stopPropagation(),!e.disable){if(S(),e.vertical){var n=null===(a=h.value)||void 0===a?void 0:a.getBoundingClientRect().bottom;F((n-t.clientY)/i.value*100)}else{var o=null===(r=h.value)||void 0===r?void 0:r.getBoundingClientRect().left;F((t.clientX-o)/i.value*100)}M()}},_=function(){return e.range?![w.value,x.value].every((function(e,t){return e===d.value[t]})):e.modelValue!==d.value},I=function(){if(e.minValue>e.maxValue)console.error("min should not be greater than max.");else{var t=e.modelValue;e.range&&Array.isArray(t)?t[1]<e.minValue?l("update:modelValue",[e.minValue,e.minValue]):t[0]>e.maxValue?l("update:modelValue",[e.maxValue,e.maxValue]):t[0]<e.minValue?l("update:modelValue",[e.minValue,t[1]]):t[1]>e.maxValue?l("update:modelValue",[t[0],e.maxValue]):(c.value=Number(t[0]),m.value=Number(t[1]),_()&&(d.value=t.slice())):e.range||"number"!=typeof t||isNaN(t)||(t<e.minValue?l("update:modelValue",e.minValue):t>e.maxValue?l("update:modelValue",e.maxValue):(c.value=t,_()&&(d.value=t)))}},M=function(){return a=n,o=void 0,u=void 0,i=r().mark((function a(){return r().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,(0,t.nextTick)();case 2:l("change",e.range?[w.value,x.value]:e.modelValue);case 3:case"end":return a.stop()}}),a)})),new(u||(u=Promise))((function(e,t){function r(e){try{l(i.next(e))}catch(e){t(e)}}function n(e){try{l(i.throw(e))}catch(e){t(e)}}function l(t){var a;t.done?e(t.value):(a=t.value,a instanceof u?a:new u((function(e){e(a)}))).then(r,n)}l((i=i.apply(a,o||[])).next())}));var a,o,u,i},z=function(t){return e.vertical?{bottom:"".concat(t,"%")}:{left:"".concat(t,"%")}},F=function(t){if(e.range){var a=e.minValue+t*(e.maxValue-e.minValue)/100;Math.abs(w.value-a)<Math.abs(x.value-a)?b.value=c.value<m.value?V.value:y.value:b.value=c.value>m.value?V.value:y.value,b.value.setPosition(t)}else V.value.setPosition(t)},A=function(t){if(""!==t){var a=parseFloat(t);a<e.minValue?(f.value=e.minValue,c.value=e.minValue):a>e.maxValue?(f.value=e.maxValue,c.value=e.maxValue):c.value=a}},G=function(t){if(""!==t&&"number"!=typeof t){var a=parseFloat(t);a<e.minValue?(p.value=e.minValue,m.value=e.minValue):a>e.maxValue?(p.value=e.maxValue,m.value=e.maxValue):m.value=a}},R=function(t){var a;return a="start"===t?e.vertical?e.maxValue:e.minValue:e.vertical?e.minValue:e.maxValue,e.showButtonLabel&&[c.value,m.value].includes(a)?"0":"1"};return{renderDom:function(){var a,r;return(0,t.createVNode)("div",{class:["bk-slider",e.extCls]},[null===(a=u.start)||void 0===a?void 0:a.call(u),(0,t.createVNode)("div",{class:"bk-slider-runway",ref:h,style:E.value,onClick:P},[(0,t.createVNode)("div",{class:["bk-slider-bar",e.vertical?"vertical":"horizontal",{disable:e.disable}],style:k.value},null),e.showInterval?C.value.map((function(a,r){return(0,t.createVNode)("div",{key:r,class:["bk-slider-interval",{vertical:e.vertical}],style:z(a)},null)})):void 0,e.customContent?T.value.map((function(a,r){return(0,t.createVNode)("div",{key:r,class:["bk-slider-interval",{vertical:e.vertical}],style:z(a.percent)},null)})):void 0,e.showBetweenLabel||e.showIntervalLabel||e.customContent?(0,t.createVNode)("div",{class:["bk-slider-labels",e.vertical?"vertical":"horizontal"]},[e.showBetweenLabel?[(0,t.createVNode)("div",{class:"label-start",style:[{opacity:R("start")}]},[e.formatterLabel(e.minValue)]),(0,t.createVNode)("div",{class:"label-end",style:[{opacity:R("end")}]},[e.formatterLabel(e.maxValue)])]:e.showIntervalLabel?j.value.map((function(a,r){return(0,t.createVNode)("div",{class:["bk-slider-label",e.vertical?"vertical":"horizontal"],key:r,style:z(a.stepWidth)},[a.stepLabel])})):e.customContent?T.value.map((function(a,r){return(0,t.createVNode)("div",{class:["bk-slider-label",e.vertical?"vertical":"horizontal"],key:r,style:z(a.percent)},[a.label])})):void 0]):void 0,(0,t.createVNode)(s,{modelValue:c.value,"onUpdate:modelValue":function(e){return c.value=e},ref:V,params:O.value,onEmitChange:M,onResetSize:S},null),e.range?(0,t.createVNode)(s,{modelValue:m.value,"onUpdate:modelValue":function(e){return m.value=e},ref:y,params:O.value,onEmitChange:M,onResetSize:S},null):void 0]),e.showInput&&!e.vertical?(0,t.createVNode)("div",{class:"bk-slider-input"},[(0,t.createVNode)("div",{class:"input-item"},[(0,t.createVNode)(o(),{type:"number",modelValue:f.value,max:e.maxValue,min:e.minValue,onChange:A},null)]),B.value&&m.value?[(0,t.createVNode)("div",{class:"input-center"},[(0,t.createTextVNode)("~")]),(0,t.createVNode)("div",{class:"input-item"},[(0,t.createVNode)(o(),{type:"number",modelValue:p.value,max:e.maxValue,min:e.minValue,onChange:G},null)])]:void 0]):void 0,null===(r=u.end)||void 0===r?void 0:r.call(u)])}}},render:function(){return this.renderDom()}}),f=(0,e.withInstall)(d)})(),l})()));
@@ -0,0 +1,80 @@
1
+ /**
2
+ * Tencent is pleased to support the open source community by making
3
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
4
+ *
5
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
6
+ *
7
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
8
+ *
9
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
10
+ *
11
+ * ---------------------------------------------------
12
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
13
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
14
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
15
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
16
+ *
17
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
18
+ * the Software.
19
+ *
20
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
21
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
23
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
24
+ * IN THE SOFTWARE.
25
+ */
26
+ import { PropType } from 'vue';
27
+ interface Params {
28
+ vertical: boolean;
29
+ showTip: boolean;
30
+ disable: boolean;
31
+ maxValue: number;
32
+ minValue: number;
33
+ step: number;
34
+ precision: number;
35
+ showButtonLabel: boolean;
36
+ formatterButtonLabel: Function;
37
+ showIntervalLabel: boolean;
38
+ customContent: {
39
+ [propName: string]: {
40
+ label?: string;
41
+ tip?: string;
42
+ };
43
+ };
44
+ sliderSize: number;
45
+ formatterTipLabel: Function;
46
+ }
47
+ declare const _default: import("vue").DefineComponent<{
48
+ modelValue: {
49
+ type: NumberConstructor;
50
+ default: number;
51
+ };
52
+ params: {
53
+ type: PropType<Params>;
54
+ default: () => {};
55
+ };
56
+ }, {
57
+ renderDom: () => JSX.Element;
58
+ setPosition: (position: number) => void;
59
+ tip: import("vue").ComputedRef<{
60
+ content: any;
61
+ placement: string;
62
+ }>;
63
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "emitChange" | "resetSize")[], "update:modelValue" | "emitChange" | "resetSize", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
64
+ modelValue: {
65
+ type: NumberConstructor;
66
+ default: number;
67
+ };
68
+ params: {
69
+ type: PropType<Params>;
70
+ default: () => {};
71
+ };
72
+ }>> & {
73
+ "onUpdate:modelValue"?: (...args: any[]) => any;
74
+ onEmitChange?: (...args: any[]) => any;
75
+ onResetSize?: (...args: any[]) => any;
76
+ }, {
77
+ modelValue: number;
78
+ params: Params;
79
+ }>;
80
+ export default _default;