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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (483) hide show
  1. package/README.md +31 -19
  2. package/dist/index.cjs.js +57 -0
  3. package/dist/index.esm.js +20295 -0
  4. package/dist/index.umd.js +57 -0
  5. package/dist/style.css +1 -2009
  6. package/lib/alert/alert.d.ts +24 -15
  7. package/lib/alert/alert.js +1 -0
  8. package/lib/alert/alert.variable.css +32 -0
  9. package/lib/alert/index.d.ts +180 -0
  10. package/lib/animate-number/animate-number.d.ts +12 -7
  11. package/lib/animate-number/animate-number.js +1 -0
  12. package/lib/animate-number/index.d.ts +97 -0
  13. package/lib/backtop/backtop.d.ts +27 -13
  14. package/lib/backtop/backtop.js +1 -0
  15. package/lib/backtop/backtop.variable.css +32 -0
  16. package/lib/backtop/index.d.ts +166 -0
  17. package/lib/badge/badge.d.ts +40 -19
  18. package/lib/badge/badge.js +1 -0
  19. package/lib/badge/badge.variable.css +32 -0
  20. package/lib/badge/index.d.ts +217 -0
  21. package/lib/breadcrumb/breadcrumb-item.d.ts +13 -9
  22. package/lib/breadcrumb/breadcrumb.css +10 -1
  23. package/lib/breadcrumb/breadcrumb.d.ts +37 -9
  24. package/lib/breadcrumb/breadcrumb.js +1 -0
  25. package/lib/breadcrumb/breadcrumb.less +13 -2
  26. package/lib/breadcrumb/breadcrumb.variable.css +42 -1
  27. package/lib/breadcrumb/index.d.ts +194 -0
  28. package/lib/button/button-group.d.ts +3 -5
  29. package/lib/button/button.css +12 -0
  30. package/lib/button/button.d.ts +57 -28
  31. package/lib/button/button.js +1 -0
  32. package/lib/button/button.less +26 -15
  33. package/lib/button/button.variable.css +44 -0
  34. package/lib/button/index.d.ts +226 -0
  35. package/lib/card/card.d.ts +30 -15
  36. package/lib/card/card.js +1 -0
  37. package/lib/card/card.variable.css +32 -0
  38. package/lib/card/index.d.ts +187 -0
  39. package/lib/checkbox/checkbox-group.d.ts +13 -9
  40. package/lib/checkbox/checkbox.d.ts +31 -22
  41. package/lib/checkbox/checkbox.js +1 -0
  42. package/lib/checkbox/checkbox.variable.css +32 -0
  43. package/lib/checkbox/common.d.ts +1 -1
  44. package/lib/checkbox/index.d.ts +261 -0
  45. package/lib/checkbox/type.d.ts +7 -6
  46. package/lib/code-diff/code-diff.css +186 -0
  47. package/lib/code-diff/code-diff.d.ts +80 -0
  48. package/lib/code-diff/code-diff.js +1 -0
  49. package/lib/code-diff/code-diff.less +238 -0
  50. package/lib/code-diff/code-diff.variable.css +279 -0
  51. package/lib/code-diff/index.d.ts +154 -0
  52. package/lib/collapse/collapse.css +8 -0
  53. package/lib/collapse/collapse.d.ts +50 -18
  54. package/lib/collapse/collapse.js +1 -0
  55. package/lib/collapse/collapse.less +10 -0
  56. package/lib/collapse/collapse.variable.css +8 -0
  57. package/lib/collapse/index.d.ts +166 -0
  58. package/lib/components.d.ts +41 -0
  59. package/lib/date-picker/date-picker.css +407 -0
  60. package/lib/date-picker/date-picker.d.ts +294 -0
  61. package/lib/date-picker/date-picker.js +1 -0
  62. package/lib/date-picker/date-picker.less +526 -0
  63. package/lib/date-picker/date-picker.variable.css +500 -0
  64. package/lib/date-picker/fecha.d.ts +6 -0
  65. package/lib/date-picker/index.d.ts +713 -0
  66. package/lib/date-picker/interface.d.ts +22 -0
  67. package/lib/date-picker/props.d.ts +111 -0
  68. package/lib/date-picker/utils.d.ts +97 -0
  69. package/lib/dialog/dialog.d.ts +57 -27
  70. package/lib/dialog/dialog.js +1 -0
  71. package/lib/dialog/index.d.ts +286 -0
  72. package/lib/directives/clickoutside.d.ts +3 -0
  73. package/lib/directives/directives.js +2 -0
  74. package/lib/directives/directives.js.LICENSE.txt +14 -0
  75. package/lib/directives/index.d.ts +3 -0
  76. package/lib/directives/tooltips.d.ts +17 -0
  77. package/lib/divider/divider.css +38 -0
  78. package/lib/divider/divider.d.ts +48 -0
  79. package/lib/divider/divider.js +1 -0
  80. package/lib/divider/divider.less +53 -0
  81. package/lib/divider/divider.variable.css +131 -0
  82. package/lib/divider/index.d.ts +142 -0
  83. package/lib/divider/props.d.ts +21 -0
  84. package/lib/dropdown/dropdown-item.d.ts +19 -0
  85. package/lib/dropdown/dropdown-menu.d.ts +16 -0
  86. package/lib/dropdown/dropdown.css +43 -0
  87. package/lib/dropdown/dropdown.d.ts +61 -0
  88. package/lib/dropdown/dropdown.js +1 -0
  89. package/lib/dropdown/dropdown.less +54 -0
  90. package/lib/dropdown/dropdown.variable.css +136 -0
  91. package/lib/dropdown/index.d.ts +192 -0
  92. package/lib/exception/exception.d.ts +11 -9
  93. package/lib/exception/exception.js +1 -0
  94. package/lib/exception/exception.variable.css +32 -0
  95. package/lib/exception/index.d.ts +96 -0
  96. package/lib/fixed-navbar/fixed-navbar.d.ts +15 -9
  97. package/lib/fixed-navbar/fixed-navbar.js +1 -0
  98. package/lib/fixed-navbar/fixed-navbar.variable.css +32 -0
  99. package/lib/fixed-navbar/index.d.ts +112 -0
  100. package/lib/form/common.d.ts +3 -0
  101. package/lib/form/form-item.d.ts +145 -0
  102. package/lib/form/form.css +48 -0
  103. package/lib/form/form.d.ts +64 -0
  104. package/lib/form/form.js +1 -0
  105. package/lib/form/form.less +63 -0
  106. package/lib/form/form.variable.css +48 -0
  107. package/lib/form/index.d.ts +246 -0
  108. package/lib/form/type.d.ts +21 -0
  109. package/lib/form/validator.d.ts +8 -0
  110. package/lib/icon/angle-double-down-line.d.ts +4 -0
  111. package/lib/icon/angle-double-down-line.js +1 -0
  112. package/lib/icon/angle-double-left-line.d.ts +4 -0
  113. package/lib/icon/angle-double-left-line.js +1 -0
  114. package/lib/icon/angle-double-left.d.ts +4 -0
  115. package/lib/icon/angle-double-left.js +1 -0
  116. package/lib/icon/angle-double-right-line.d.ts +4 -0
  117. package/lib/icon/angle-double-right-line.js +1 -0
  118. package/lib/icon/angle-double-right.d.ts +4 -0
  119. package/lib/icon/angle-double-right.js +1 -0
  120. package/lib/icon/angle-double-up-line.d.ts +4 -0
  121. package/lib/icon/angle-double-up-line.js +1 -0
  122. package/lib/icon/angle-down-fill.d.ts +4 -0
  123. package/lib/icon/angle-down-fill.js +1 -0
  124. package/lib/icon/angle-down-line.d.ts +4 -0
  125. package/lib/icon/angle-down-line.js +1 -0
  126. package/lib/icon/angle-down.d.ts +4 -0
  127. package/lib/icon/angle-down.js +1 -0
  128. package/lib/icon/angle-left.d.ts +4 -0
  129. package/lib/icon/angle-left.js +1 -0
  130. package/lib/icon/angle-right.d.ts +4 -0
  131. package/lib/icon/angle-right.js +1 -0
  132. package/lib/icon/angle-up-fill.d.ts +4 -0
  133. package/lib/icon/angle-up-fill.js +1 -0
  134. package/lib/icon/angle-up.d.ts +4 -0
  135. package/lib/icon/angle-up.js +1 -0
  136. package/lib/icon/arrows-left.d.ts +4 -0
  137. package/lib/icon/arrows-left.js +1 -0
  138. package/lib/icon/arrows-right.d.ts +4 -0
  139. package/lib/icon/arrows-right.js +1 -0
  140. package/lib/icon/bk.d.ts +4 -0
  141. package/lib/icon/bk.js +1 -0
  142. package/lib/icon/circle.d.ts +4 -0
  143. package/lib/icon/circle.js +1 -0
  144. package/lib/icon/close.d.ts +4 -0
  145. package/lib/icon/close.js +1 -0
  146. package/lib/icon/code.d.ts +4 -0
  147. package/lib/icon/code.js +1 -0
  148. package/lib/icon/cog-shape.d.ts +4 -0
  149. package/lib/icon/cog-shape.js +1 -0
  150. package/lib/icon/collapse-left.d.ts +4 -0
  151. package/lib/icon/collapse-left.js +1 -0
  152. package/lib/icon/copy.d.ts +4 -0
  153. package/lib/icon/copy.js +1 -0
  154. package/lib/icon/done.d.ts +4 -0
  155. package/lib/icon/done.js +1 -0
  156. package/lib/icon/down-shape.d.ts +4 -0
  157. package/lib/icon/down-shape.js +1 -0
  158. package/lib/icon/down-small.d.ts +4 -0
  159. package/lib/icon/down-small.js +1 -0
  160. package/lib/icon/ellipsis.d.ts +4 -0
  161. package/lib/icon/ellipsis.js +1 -0
  162. package/lib/icon/error.d.ts +4 -0
  163. package/lib/icon/error.js +1 -0
  164. package/lib/icon/eye.d.ts +4 -0
  165. package/lib/icon/eye.js +1 -0
  166. package/lib/icon/folder-open.d.ts +4 -0
  167. package/lib/icon/folder-open.js +1 -0
  168. package/lib/icon/folder-shape-open.d.ts +4 -0
  169. package/lib/icon/folder-shape-open.js +1 -0
  170. package/lib/icon/folder-shape.d.ts +4 -0
  171. package/lib/icon/folder-shape.js +1 -0
  172. package/lib/icon/folder.d.ts +4 -0
  173. package/lib/icon/folder.js +1 -0
  174. package/lib/icon/help-document-fill.d.ts +4 -0
  175. package/lib/icon/help-document-fill.js +1 -0
  176. package/lib/icon/help-fill.d.ts +4 -0
  177. package/lib/icon/help-fill.js +1 -0
  178. package/lib/icon/help.d.ts +4 -0
  179. package/lib/icon/help.js +1 -0
  180. package/lib/icon/icon.d.ts +12 -0
  181. package/lib/icon/icon.js +1 -0
  182. package/lib/icon/index.d.ts +53 -0
  183. package/lib/icon/info-line.d.ts +4 -0
  184. package/lib/icon/info-line.js +1 -0
  185. package/lib/icon/info.d.ts +4 -0
  186. package/lib/icon/info.js +1 -0
  187. package/lib/icon/left-shape.d.ts +4 -0
  188. package/lib/icon/left-shape.js +1 -0
  189. package/lib/icon/play-shape.d.ts +4 -0
  190. package/lib/icon/play-shape.js +1 -0
  191. package/lib/icon/plus.d.ts +4 -0
  192. package/lib/icon/plus.js +1 -0
  193. package/lib/icon/qq.d.ts +4 -0
  194. package/lib/icon/qq.js +1 -0
  195. package/lib/icon/right-shape.d.ts +4 -0
  196. package/lib/icon/right-shape.js +1 -0
  197. package/lib/icon/search.d.ts +4 -0
  198. package/lib/icon/search.js +1 -0
  199. package/lib/icon/share.d.ts +4 -0
  200. package/lib/icon/share.js +1 -0
  201. package/lib/icon/spinner.d.ts +4 -0
  202. package/lib/icon/spinner.js +1 -0
  203. package/lib/icon/success.d.ts +4 -0
  204. package/lib/icon/success.js +1 -0
  205. package/lib/icon/switcher-loading.d.ts +4 -0
  206. package/lib/icon/switcher-loading.js +1 -0
  207. package/lib/icon/text-file.d.ts +4 -0
  208. package/lib/icon/text-file.js +1 -0
  209. package/lib/icon/tree-application-shape.d.ts +4 -0
  210. package/lib/icon/tree-application-shape.js +1 -0
  211. package/lib/icon/unvisible.d.ts +4 -0
  212. package/lib/icon/unvisible.js +1 -0
  213. package/lib/icon/up-shape.d.ts +4 -0
  214. package/lib/icon/up-shape.js +1 -0
  215. package/lib/icon/warn.d.ts +4 -0
  216. package/lib/icon/warn.js +1 -0
  217. package/lib/icon/weixin.d.ts +4 -0
  218. package/lib/icon/weixin.js +1 -0
  219. package/lib/index.d.ts +4 -0
  220. package/lib/input/index.d.ts +443 -0
  221. package/lib/input/input.css +61 -3
  222. package/lib/input/input.d.ts +116 -47
  223. package/lib/input/input.js +1 -0
  224. package/lib/input/input.less +79 -7
  225. package/lib/input/input.variable.css +94 -3
  226. package/lib/link/index.d.ts +164 -0
  227. package/lib/link/link.d.ts +25 -13
  228. package/lib/link/link.js +1 -0
  229. package/lib/link/link.variable.css +32 -0
  230. package/lib/loading/index.d.ts +164 -0
  231. package/lib/loading/loading.css +109 -73
  232. package/lib/loading/loading.d.ts +61 -20
  233. package/lib/loading/loading.js +1 -0
  234. package/lib/loading/loading.less +74 -58
  235. package/lib/loading/loading.variable.css +141 -73
  236. package/lib/menu/index.d.ts +188 -0
  237. package/lib/menu/menu-group.d.ts +14 -0
  238. package/lib/menu/menu-item.d.ts +16 -0
  239. package/lib/menu/menu.css +182 -0
  240. package/lib/menu/menu.d.ts +64 -0
  241. package/lib/menu/menu.js +1 -0
  242. package/lib/menu/menu.less +180 -0
  243. package/lib/menu/menu.variable.css +275 -0
  244. package/lib/menu/submenu.css +3 -0
  245. package/lib/menu/submenu.d.ts +22 -0
  246. package/lib/menu/submenu.less +5 -0
  247. package/lib/menu/submenu.variable.css +96 -0
  248. package/lib/menu/utils.d.ts +41 -0
  249. package/lib/message/index.d.ts +2 -0
  250. package/lib/message/message.css +53 -0
  251. package/lib/message/message.js +1 -0
  252. package/lib/message/message.less +61 -0
  253. package/lib/message/message.variable.css +146 -0
  254. package/lib/message/messageConstructor.d.ts +73 -0
  255. package/lib/modal/index.d.ts +214 -0
  256. package/lib/modal/modal.d.ts +33 -15
  257. package/lib/modal/modal.js +1 -0
  258. package/lib/modal/props.mixin.d.ts +5 -1
  259. package/lib/navigation/index.d.ts +2 -0
  260. package/lib/navigation/navigation-title.d.ts +25 -0
  261. package/lib/navigation/navigation.css +184 -0
  262. package/lib/navigation/navigation.d.ts +111 -0
  263. package/lib/navigation/navigation.js +1 -0
  264. package/lib/navigation/navigation.less +210 -0
  265. package/lib/navigation/navigation.variable.css +277 -0
  266. package/lib/notify/index.d.ts +2 -0
  267. package/lib/notify/notify.css +49 -0
  268. package/lib/notify/notify.js +1 -0
  269. package/lib/notify/notify.less +58 -0
  270. package/lib/notify/notify.variable.css +142 -0
  271. package/lib/notify/notifyConstructor.d.ts +91 -0
  272. package/lib/pagination/index.d.ts +395 -0
  273. package/lib/pagination/pagination.css +179 -0
  274. package/lib/pagination/pagination.d.ts +220 -0
  275. package/lib/pagination/pagination.js +1 -0
  276. package/lib/pagination/pagination.less +201 -0
  277. package/lib/pagination/pagination.variable.css +272 -0
  278. package/lib/pagination/type.d.ts +6 -0
  279. package/lib/pagination/use-limit.d.ts +8 -0
  280. package/lib/pagination/use-list.d.ts +8 -0
  281. package/lib/pagination/use-small-list.d.ts +5 -0
  282. package/lib/pagination/use-total.d.ts +5 -0
  283. package/lib/popover/index.d.ts +287 -0
  284. package/lib/popover/popover.css +23 -14
  285. package/lib/popover/popover.d.ts +75 -46
  286. package/lib/popover/popover.js +1 -0
  287. package/lib/popover/popover.less +57 -46
  288. package/lib/popover/popover.variable.css +55 -14
  289. package/lib/popover/props.d.ts +77 -0
  290. package/lib/preset.d.ts +7 -0
  291. package/lib/process/index.d.ts +205 -0
  292. package/lib/process/process.css +138 -0
  293. package/lib/process/process.d.ts +131 -0
  294. package/lib/process/process.js +1 -0
  295. package/lib/process/process.less +178 -0
  296. package/lib/process/process.variable.css +231 -0
  297. package/lib/progress/index.d.ts +398 -0
  298. package/lib/progress/progress.css +0 -3
  299. package/lib/progress/progress.d.ts +88 -35
  300. package/lib/progress/progress.js +1 -0
  301. package/lib/progress/progress.less +0 -4
  302. package/lib/progress/progress.variable.css +32 -3
  303. package/lib/radio/common.d.ts +1 -1
  304. package/lib/radio/index.d.ts +277 -0
  305. package/lib/radio/radio-button.d.ts +24 -16
  306. package/lib/radio/radio-group.d.ts +11 -10
  307. package/lib/radio/radio.css +8 -2
  308. package/lib/radio/radio.d.ts +23 -13
  309. package/lib/radio/radio.js +1 -0
  310. package/lib/radio/radio.less +9 -2
  311. package/lib/radio/radio.variable.css +40 -2
  312. package/lib/radio/type.d.ts +1 -1
  313. package/lib/rate/index.d.ts +113 -0
  314. package/lib/rate/rate.d.ts +13 -10
  315. package/lib/rate/rate.js +1 -0
  316. package/lib/rate/star.d.ts +33 -16
  317. package/lib/resize-layout/index.d.ts +336 -0
  318. package/lib/resize-layout/resize-layout.css +189 -0
  319. package/lib/resize-layout/resize-layout.d.ts +127 -0
  320. package/lib/resize-layout/resize-layout.js +1 -0
  321. package/lib/resize-layout/resize-layout.less +233 -0
  322. package/lib/resize-layout/resize-layout.variable.css +282 -0
  323. package/lib/select/common.d.ts +23 -17
  324. package/lib/select/index.d.ts +1347 -0
  325. package/lib/select/option.d.ts +12 -19
  326. package/lib/select/optionGroup.d.ts +54 -0
  327. package/lib/select/select.css +243 -17
  328. package/lib/select/select.d.ts +268 -155
  329. package/lib/select/select.js +1 -0
  330. package/lib/select/select.less +245 -46
  331. package/lib/select/select.variable.css +275 -17
  332. package/lib/select/type.d.ts +31 -0
  333. package/lib/shared/{bk-helper-core.d.ts → helper.d.ts} +6 -1
  334. package/lib/shared/index.d.ts +52 -0
  335. package/lib/shared/{bk-mask-manager.d.ts → mask-manager.d.ts} +32 -3
  336. package/lib/shared/{bk-pop-manager.d.ts → pop-manager.d.ts} +8 -1
  337. package/lib/shared/{bk-popover.d.ts → popover.d.ts} +57 -6
  338. package/lib/shared/shared.js +1 -0
  339. package/lib/shared/utils.d.ts +6 -0
  340. package/lib/shared/vue-types.d.ts +8 -7
  341. package/lib/shared/z-index-manager.d.ts +6 -1
  342. package/lib/sideslider/index.d.ts +206 -0
  343. package/lib/sideslider/sideslider.d.ts +39 -18
  344. package/lib/sideslider/sideslider.js +1 -0
  345. package/lib/sideslider/sideslider.variable.css +32 -0
  346. package/{changelog.config.js → lib/slider/index.d.ts} +2 -8
  347. package/lib/slider/slider-button.d.ts +80 -0
  348. package/lib/slider/slider.css +149 -0
  349. package/lib/slider/slider.d.ts +201 -0
  350. package/lib/slider/slider.js +1 -0
  351. package/lib/slider/slider.less +179 -0
  352. package/lib/slider/slider.variable.css +242 -0
  353. package/lib/steps/index.d.ts +250 -0
  354. package/lib/steps/steps.css +288 -0
  355. package/lib/steps/steps.d.ts +161 -0
  356. package/lib/steps/steps.js +1 -0
  357. package/lib/steps/steps.less +324 -0
  358. package/lib/steps/steps.variable.css +381 -0
  359. package/lib/styles/index.d.ts +47 -0
  360. package/lib/styles/mixins/popper.css +43 -0
  361. package/lib/styles/mixins/popper.less +52 -0
  362. package/lib/styles/mixins/popper.variable.css +43 -0
  363. package/lib/styles/mixins/size.less +9 -0
  364. package/lib/styles/reset.css +273 -0
  365. package/lib/styles/reset.less +313 -0
  366. package/lib/styles/reset.variable.css +273 -0
  367. package/lib/styles/themes/themes.less +52 -2
  368. package/lib/swiper/index.d.ts +181 -0
  369. package/lib/swiper/swiper.css +91 -0
  370. package/lib/swiper/swiper.d.ts +65 -0
  371. package/lib/swiper/swiper.js +1 -0
  372. package/lib/swiper/swiper.less +107 -0
  373. package/lib/swiper/swiper.variable.css +91 -0
  374. package/lib/switcher/index.d.ts +286 -0
  375. package/lib/switcher/switcher.css +149 -135
  376. package/lib/switcher/switcher.d.ts +48 -32
  377. package/lib/switcher/switcher.js +1 -0
  378. package/lib/switcher/switcher.less +210 -154
  379. package/lib/switcher/switcher.variable.css +181 -135
  380. package/lib/tab/index.d.ts +443 -0
  381. package/lib/tab/props.d.ts +191 -0
  382. package/lib/tab/tab-nav.d.ts +165 -0
  383. package/lib/tab/tab-panel.d.ts +73 -0
  384. package/lib/tab/tab.css +148 -0
  385. package/lib/tab/tab.d.ts +140 -0
  386. package/lib/tab/tab.js +1 -0
  387. package/lib/tab/tab.less +222 -0
  388. package/lib/tab/tab.variable.css +241 -0
  389. package/lib/table/const.d.ts +4 -0
  390. package/lib/table/index.d.ts +302 -0
  391. package/lib/table/props.d.ts +117 -0
  392. package/lib/table/render.d.ts +83 -0
  393. package/lib/table/table.css +91 -0
  394. package/lib/table/table.d.ts +88 -36
  395. package/lib/table/table.js +1 -0
  396. package/lib/table/table.less +111 -1
  397. package/lib/table/table.variable.css +123 -0
  398. package/lib/table/utils.d.ts +69 -0
  399. package/lib/tag/index.d.ts +229 -0
  400. package/lib/tag/tag.css +97 -0
  401. package/lib/tag/tag.d.ts +83 -53
  402. package/lib/tag/tag.js +1 -0
  403. package/lib/tag/tag.less +110 -2
  404. package/lib/tag/tag.variable.css +129 -0
  405. package/lib/tag-input/common.d.ts +24 -0
  406. package/lib/tag-input/index.d.ts +2 -0
  407. package/lib/tag-input/list-tag-render.d.ts +47 -0
  408. package/lib/tag-input/tag-input.css +208 -0
  409. package/lib/tag-input/tag-input.d.ts +374 -0
  410. package/lib/tag-input/tag-input.js +1 -0
  411. package/lib/tag-input/tag-input.less +250 -0
  412. package/lib/tag-input/tag-input.variable.css +301 -0
  413. package/lib/tag-input/tag-props.d.ts +131 -0
  414. package/lib/tag-input/tag-render.d.ts +38 -0
  415. package/lib/timeline/index.d.ts +129 -0
  416. package/lib/timeline/timeline.css +235 -0
  417. package/lib/timeline/timeline.d.ts +81 -0
  418. package/lib/timeline/timeline.js +1 -0
  419. package/lib/timeline/timeline.less +239 -0
  420. package/lib/timeline/timeline.variable.css +328 -0
  421. package/lib/transfer/index.d.ts +351 -0
  422. package/lib/transfer/transfer.css +158 -0
  423. package/lib/transfer/transfer.d.ts +185 -0
  424. package/lib/transfer/transfer.js +1 -0
  425. package/lib/transfer/transfer.less +171 -0
  426. package/lib/transfer/transfer.variable.css +251 -0
  427. package/lib/tree/index.d.ts +287 -0
  428. package/lib/tree/props.d.ts +89 -0
  429. package/lib/tree/tree.css +50 -0
  430. package/lib/tree/tree.d.ts +111 -0
  431. package/lib/tree/tree.js +1 -0
  432. package/lib/tree/tree.less +63 -0
  433. package/lib/tree/tree.variable.css +143 -0
  434. package/lib/tree/util.d.ts +70 -0
  435. package/lib/use-form.d.ts +3 -0
  436. package/lib/use-message.d.ts +2 -0
  437. package/lib/virtual-render/index.d.ts +556 -0
  438. package/lib/virtual-render/props.d.ts +157 -0
  439. package/lib/virtual-render/v-virtual-render.d.ts +7 -0
  440. package/lib/virtual-render/virtual-render.css +33 -0
  441. package/lib/virtual-render/virtual-render.d.ts +244 -0
  442. package/lib/virtual-render/virtual-render.js +1 -0
  443. package/lib/virtual-render/virtual-render.less +43 -0
  444. package/lib/virtual-render/virtual-render.variable.css +33 -0
  445. package/package.json +74 -74
  446. package/dist/bkui-vue.cjs.js +0 -4887
  447. package/dist/bkui-vue.esm.js +0 -4883
  448. package/dist/bkui-vue.umd.js +0 -4890
  449. package/lib/alert/index.js +0 -1
  450. package/lib/animate-number/index.js +0 -1
  451. package/lib/backtop/index.js +0 -1
  452. package/lib/badge/index.js +0 -1
  453. package/lib/breadcrumb/index.js +0 -1
  454. package/lib/button/index.js +0 -1
  455. package/lib/card/index.js +0 -1
  456. package/lib/checkbox/index.js +0 -1
  457. package/lib/checkbox-group/index.js +0 -1
  458. package/lib/collapse/index.js +0 -1
  459. package/lib/dialog/index.js +0 -1
  460. package/lib/directives/index.js +0 -15
  461. package/lib/exception/index.js +0 -1
  462. package/lib/fixed-navbar/index.js +0 -1
  463. package/lib/icon/index.js +0 -15
  464. package/lib/input/index.js +0 -15
  465. package/lib/link/index.js +0 -1
  466. package/lib/loading/index.js +0 -1
  467. package/lib/modal/index.js +0 -1
  468. package/lib/popover/index.js +0 -1
  469. package/lib/progress/index.js +0 -1
  470. package/lib/radio/index.js +0 -1
  471. package/lib/radio-button/index.js +0 -1
  472. package/lib/radio-group/index.js +0 -1
  473. package/lib/rate/index.js +0 -1
  474. package/lib/select/index.js +0 -1
  475. package/lib/shared/index.js +0 -1
  476. package/lib/sideslider/index.js +0 -1
  477. package/lib/styles/index.js +0 -1
  478. package/lib/switcher/index.js +0 -1
  479. package/lib/table/common.d.ts +0 -3
  480. package/lib/table/index.js +0 -1
  481. package/lib/table/table-layout.d.ts +0 -14
  482. package/lib/table/type.d.ts +0 -12
  483. package/lib/tag/index.js +0 -1
@@ -0,0 +1,374 @@
1
+ import { Ref } from 'vue';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ modelValue: import("vue-types").VueTypeDef<string[]> & {
4
+ default: () => string[];
5
+ };
6
+ placeholder: import("vue-types").VueTypeValidableDef<string> & {
7
+ default: string;
8
+ } & {
9
+ default: string;
10
+ };
11
+ list: import("vue-types").VueTypeDef<{
12
+ [key: string]: any;
13
+ }[]> & {
14
+ default: () => {
15
+ [key: string]: any;
16
+ }[];
17
+ };
18
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
19
+ default: boolean;
20
+ } & {
21
+ default: boolean;
22
+ };
23
+ tooltipKey: import("vue-types").VueTypeValidableDef<string> & {
24
+ default: string;
25
+ } & {
26
+ default: string;
27
+ };
28
+ saveKey: import("vue-types").VueTypeValidableDef<string> & {
29
+ default: string;
30
+ } & {
31
+ default: string;
32
+ };
33
+ displayKey: import("vue-types").VueTypeValidableDef<string> & {
34
+ default: string;
35
+ } & {
36
+ default: string;
37
+ };
38
+ hasDeleteIcon: import("vue-types").VueTypeValidableDef<boolean> & {
39
+ default: boolean;
40
+ } & {
41
+ default: boolean;
42
+ };
43
+ clearable: import("vue-types").VueTypeValidableDef<boolean> & {
44
+ default: boolean;
45
+ } & {
46
+ default: boolean;
47
+ };
48
+ trigger: import("vue-types").VueTypeDef<string> & {
49
+ default: string;
50
+ };
51
+ searchKey: import("vue-types").VueTypeDef<string | string[]> & {
52
+ default: string | (() => string[]);
53
+ };
54
+ useGroup: import("vue-types").VueTypeValidableDef<boolean> & {
55
+ default: boolean;
56
+ } & {
57
+ default: boolean;
58
+ };
59
+ allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
60
+ default: boolean;
61
+ } & {
62
+ default: boolean;
63
+ };
64
+ maxData: import("vue-types").VueTypeValidableDef<number> & {
65
+ default: number;
66
+ } & {
67
+ default: number;
68
+ };
69
+ maxResult: import("vue-types").VueTypeValidableDef<number> & {
70
+ default: number;
71
+ } & {
72
+ default: number;
73
+ };
74
+ contentMaxHeight: import("vue-types").VueTypeValidableDef<number> & {
75
+ default: number;
76
+ } & {
77
+ default: number;
78
+ };
79
+ contentWidth: import("vue-types").VueTypeValidableDef<number> & {
80
+ default: number;
81
+ } & {
82
+ default: number;
83
+ };
84
+ separator: import("vue-types").VueTypeValidableDef<string> & {
85
+ default: string;
86
+ } & {
87
+ default: string;
88
+ };
89
+ allowNextFocus: import("vue-types").VueTypeValidableDef<boolean> & {
90
+ default: boolean;
91
+ } & {
92
+ default: boolean;
93
+ };
94
+ allowAutoMatch: import("vue-types").VueTypeValidableDef<boolean> & {
95
+ default: boolean;
96
+ } & {
97
+ default: boolean;
98
+ };
99
+ showClearOnlyHover: import("vue-types").VueTypeValidableDef<boolean> & {
100
+ default: boolean;
101
+ } & {
102
+ default: boolean;
103
+ };
104
+ leftSpace: import("vue-types").VueTypeValidableDef<number> & {
105
+ default: number;
106
+ } & {
107
+ default: number;
108
+ };
109
+ createTagValidator: {
110
+ type: import("vue").PropType<(tag: any) => boolean>;
111
+ default: any;
112
+ };
113
+ filterCallback: {
114
+ type: import("vue").PropType<(value: string, searchKey: string | string[], list: any[]) => any[]>;
115
+ default: any;
116
+ };
117
+ tagTpl: {
118
+ type: import("vue").PropType<(node: any, highlightKeyword: Function, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
119
+ [key: string]: any;
120
+ }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
121
+ [key: string]: any;
122
+ }>>;
123
+ default: any;
124
+ };
125
+ tpl: {
126
+ type: import("vue").PropType<(node: any, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
127
+ [key: string]: any;
128
+ }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
129
+ [key: string]: any;
130
+ }>>;
131
+ default: any;
132
+ };
133
+ pasteFn: {
134
+ type: import("vue").PropType<(value: string) => any[]>;
135
+ default: any;
136
+ };
137
+ }, {
138
+ isShowPlaceholder: import("vue").ComputedRef<boolean>;
139
+ isShowClear: import("vue").ComputedRef<boolean>;
140
+ curInputValue: Ref<string>;
141
+ formatList: any[];
142
+ renderList: import("vue").ComputedRef<any[]>;
143
+ showTagClose: import("vue").ComputedRef<boolean>;
144
+ tagInputRef: any;
145
+ bkTagSelectorRef: any;
146
+ tagListRef: any;
147
+ tagInputItemRef: any;
148
+ selectorListRef: any;
149
+ popoverRef: any;
150
+ triggerClass: import("vue").ComputedRef<{
151
+ 'bk-tag-input-trigger': boolean;
152
+ active: boolean;
153
+ disabled: boolean;
154
+ }>;
155
+ focusInputTrigger: (e?: MouseEvent) => void;
156
+ activeClass: (data: any, index: number) => {
157
+ 'bk-selector-actived': boolean;
158
+ 'bk-selector-selected': boolean;
159
+ };
160
+ handleInput: (e?: Event) => void;
161
+ handleFocus: () => void;
162
+ handleBlur: () => void;
163
+ handleTagSelected: (item: any, type: string, e?: Event) => void;
164
+ handleTagRemove: (data: any, index: number, e?: MouseEvent) => void;
165
+ handleClear: (e: MouseEvent) => void;
166
+ tagFocus: (e: MouseEvent) => void;
167
+ handleKeydown: (e: KeyboardEvent) => void;
168
+ handlePaste: (e: ClipboardEvent) => boolean;
169
+ curPage: Ref<number>;
170
+ totalSize: Ref<number>;
171
+ totalPage: Ref<number>;
172
+ pageSize: Ref<number>;
173
+ isPageLoading: Ref<boolean>;
174
+ curPageList: Ref<any[]>;
175
+ renderListPaged: Ref<any[]>;
176
+ localList: Ref<any[]>;
177
+ tagListCache: Ref<any[]>;
178
+ selectedTagList: Ref<any[]>;
179
+ selectedTagListCache: Ref<any[]>;
180
+ isEdit: Ref<boolean>;
181
+ isHover: Ref<boolean>;
182
+ focusItemIndex: Ref<number>;
183
+ popoverProps: {
184
+ isShow: boolean;
185
+ width: number;
186
+ modifiers: {
187
+ name: string;
188
+ options: {
189
+ offset: number[];
190
+ };
191
+ }[];
192
+ };
193
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "blur" | "change" | "update:modelValue" | "remove" | "removeAll")[], "select" | "blur" | "change" | "update:modelValue" | "remove" | "removeAll", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
194
+ modelValue: import("vue-types").VueTypeDef<string[]> & {
195
+ default: () => string[];
196
+ };
197
+ placeholder: import("vue-types").VueTypeValidableDef<string> & {
198
+ default: string;
199
+ } & {
200
+ default: string;
201
+ };
202
+ list: import("vue-types").VueTypeDef<{
203
+ [key: string]: any;
204
+ }[]> & {
205
+ default: () => {
206
+ [key: string]: any;
207
+ }[];
208
+ };
209
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
210
+ default: boolean;
211
+ } & {
212
+ default: boolean;
213
+ };
214
+ tooltipKey: import("vue-types").VueTypeValidableDef<string> & {
215
+ default: string;
216
+ } & {
217
+ default: string;
218
+ };
219
+ saveKey: import("vue-types").VueTypeValidableDef<string> & {
220
+ default: string;
221
+ } & {
222
+ default: string;
223
+ };
224
+ displayKey: import("vue-types").VueTypeValidableDef<string> & {
225
+ default: string;
226
+ } & {
227
+ default: string;
228
+ };
229
+ hasDeleteIcon: import("vue-types").VueTypeValidableDef<boolean> & {
230
+ default: boolean;
231
+ } & {
232
+ default: boolean;
233
+ };
234
+ clearable: import("vue-types").VueTypeValidableDef<boolean> & {
235
+ default: boolean;
236
+ } & {
237
+ default: boolean;
238
+ };
239
+ trigger: import("vue-types").VueTypeDef<string> & {
240
+ default: string;
241
+ };
242
+ searchKey: import("vue-types").VueTypeDef<string | string[]> & {
243
+ default: string | (() => string[]);
244
+ };
245
+ useGroup: import("vue-types").VueTypeValidableDef<boolean> & {
246
+ default: boolean;
247
+ } & {
248
+ default: boolean;
249
+ };
250
+ allowCreate: import("vue-types").VueTypeValidableDef<boolean> & {
251
+ default: boolean;
252
+ } & {
253
+ default: boolean;
254
+ };
255
+ maxData: import("vue-types").VueTypeValidableDef<number> & {
256
+ default: number;
257
+ } & {
258
+ default: number;
259
+ };
260
+ maxResult: import("vue-types").VueTypeValidableDef<number> & {
261
+ default: number;
262
+ } & {
263
+ default: number;
264
+ };
265
+ contentMaxHeight: import("vue-types").VueTypeValidableDef<number> & {
266
+ default: number;
267
+ } & {
268
+ default: number;
269
+ };
270
+ contentWidth: import("vue-types").VueTypeValidableDef<number> & {
271
+ default: number;
272
+ } & {
273
+ default: number;
274
+ };
275
+ separator: import("vue-types").VueTypeValidableDef<string> & {
276
+ default: string;
277
+ } & {
278
+ default: string;
279
+ };
280
+ allowNextFocus: import("vue-types").VueTypeValidableDef<boolean> & {
281
+ default: boolean;
282
+ } & {
283
+ default: boolean;
284
+ };
285
+ allowAutoMatch: import("vue-types").VueTypeValidableDef<boolean> & {
286
+ default: boolean;
287
+ } & {
288
+ default: boolean;
289
+ };
290
+ showClearOnlyHover: import("vue-types").VueTypeValidableDef<boolean> & {
291
+ default: boolean;
292
+ } & {
293
+ default: boolean;
294
+ };
295
+ leftSpace: import("vue-types").VueTypeValidableDef<number> & {
296
+ default: number;
297
+ } & {
298
+ default: number;
299
+ };
300
+ createTagValidator: {
301
+ type: import("vue").PropType<(tag: any) => boolean>;
302
+ default: any;
303
+ };
304
+ filterCallback: {
305
+ type: import("vue").PropType<(value: string, searchKey: string | string[], list: any[]) => any[]>;
306
+ default: any;
307
+ };
308
+ tagTpl: {
309
+ type: import("vue").PropType<(node: any, highlightKeyword: Function, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
310
+ [key: string]: any;
311
+ }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
312
+ [key: string]: any;
313
+ }>>;
314
+ default: any;
315
+ };
316
+ tpl: {
317
+ type: import("vue").PropType<(node: any, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
318
+ [key: string]: any;
319
+ }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
320
+ [key: string]: any;
321
+ }>>;
322
+ default: any;
323
+ };
324
+ pasteFn: {
325
+ type: import("vue").PropType<(value: string) => any[]>;
326
+ default: any;
327
+ };
328
+ }>> & {
329
+ onBlur?: (...args: any[]) => any;
330
+ onChange?: (...args: any[]) => any;
331
+ onSelect?: (...args: any[]) => any;
332
+ "onUpdate:modelValue"?: (...args: any[]) => any;
333
+ onRemove?: (...args: any[]) => any;
334
+ onRemoveAll?: (...args: any[]) => any;
335
+ }, {
336
+ placeholder: string;
337
+ list: {
338
+ [key: string]: any;
339
+ }[];
340
+ separator: string;
341
+ disabled: boolean;
342
+ modelValue: string[];
343
+ trigger: string;
344
+ clearable: boolean;
345
+ showClearOnlyHover: boolean;
346
+ searchKey: string | string[];
347
+ displayKey: string;
348
+ tooltipKey: string;
349
+ saveKey: string;
350
+ hasDeleteIcon: boolean;
351
+ useGroup: boolean;
352
+ allowCreate: boolean;
353
+ maxData: number;
354
+ maxResult: number;
355
+ contentMaxHeight: number;
356
+ contentWidth: number;
357
+ allowNextFocus: boolean;
358
+ allowAutoMatch: boolean;
359
+ leftSpace: number;
360
+ createTagValidator: (tag: any) => boolean;
361
+ filterCallback: (value: string, searchKey: string | string[], list: any[]) => any[];
362
+ tagTpl: (node: any, highlightKeyword: Function, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
363
+ [key: string]: any;
364
+ }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
365
+ [key: string]: any;
366
+ }>;
367
+ tpl: (node: any, h: Function, ctx: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
368
+ [key: string]: any;
369
+ }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
370
+ [key: string]: any;
371
+ }>;
372
+ pasteFn: (value: string) => any[];
373
+ }>;
374
+ export default _default;
@@ -0,0 +1 @@
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("@babel/runtime/helpers/typeof"),require("@babel/runtime/helpers/slicedToArray"),require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/toConsumableArray"),require("vue"),require("../directives"),require("../icon"),require("../loading"),require("../popover"),require("../shared"));else if("function"==typeof define&&define.amd)define(["@babel/runtime/helpers/typeof","@babel/runtime/helpers/slicedToArray","@babel/runtime/helpers/defineProperty","@babel/runtime/helpers/toConsumableArray","vue","../directives","../icon","../loading","../popover","../shared"],t);else{var r="object"==typeof exports?t(require("@babel/runtime/helpers/typeof"),require("@babel/runtime/helpers/slicedToArray"),require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/toConsumableArray"),require("vue"),require("../directives"),require("../icon"),require("../loading"),require("../popover"),require("../shared")):t(e["@babel/runtime/helpers/typeof"],e["@babel/runtime/helpers/slicedToArray"],e["@babel/runtime/helpers/defineProperty"],e["@babel/runtime/helpers/toConsumableArray"],e.vue,e["../directives"],e["../icon"],e["../loading"],e["../popover"],e["../shared"]);for(var a in r)("object"==typeof exports?exports:e)[a]=r[a]}}(self,((e,t,r,a,n,o,l,i,s,u)=>(()=>{"use strict";var c={4061:e=>{e.exports=o},6870:e=>{e.exports=l},4870:e=>{e.exports=i},5537:e=>{e.exports=s},4212:e=>{e.exports=u},311:e=>{e.exports=r},1673:e=>{e.exports=t},642:e=>{e.exports=a},8541:t=>{t.exports=e},748:e=>{e.exports=n}},d={};function p(e){var t=d[e];if(void 0!==t)return t.exports;var r=d[e]={exports:{}};return c[e](r,r.exports,p),r.exports}p.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return p.d(t,{a:t}),t},p.d=(e,t)=>{for(var r in t)p.o(t,r)&&!p.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},p.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),p.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var f={};return(()=>{p.r(f),p.d(f,{default:()=>w});var e=p(8541),t=p.n(e),r=p(1673),a=p.n(r),n=p(311),o=p.n(n),l=p(642),i=p.n(l),s=p(748),u=p(4061),c=p(6870),d=p(4870),g=p.n(d),v=p(5537),h=p.n(v),y=12,m=function(e){for(var t=e.length,r=0,a=0;a<t;a++)0!=(65280&e.charCodeAt(a))&&(r+=1),r+=1;return r},b=p(4212);const T=(0,s.defineComponent)({name:"ListTagRender",props:{node:b.PropTypes.object,searchKey:b.PropTypes.oneOfType([b.PropTypes.string,b.PropTypes.arrayOf(b.PropTypes.string)]),displayKey:b.PropTypes.string,searchKeyword:b.PropTypes.string,tpl:{type:Function,default:null}},render:function(){var e=this,t=arguments[0],r=function(t){if(e.searchKeyword){var r=new RegExp("(".concat(e.searchKeyword,")"),"i");return t.replace(r,'<strong class="highlight-text">$1</strong>')}return t};if(this.tpl)return this.tpl(this.node,r,t,this);var a=this.node[this.displayKey];return(0,s.createVNode)("div",{class:"bk-selector-node"},[(0,s.createVNode)("span",{class:"text",innerHTML:r(a)},[a])])}}),L=(0,s.defineComponent)({name:"TagRender",props:{node:b.PropTypes.object,displayKey:b.PropTypes.string,tpl:{type:Function,default:null}},render:function(){var e=arguments[0];return this.tpl?this.tpl(this.node,e,this):(0,s.createVNode)("div",{class:"tag"},[(0,s.createVNode)("span",{class:"text"},[this.node[this.displayKey]])])}}),P=(0,s.defineComponent)({name:"BkTagInput",directives:{bkTooltips:u.bkTooltips},props:{modelValue:b.PropTypes.arrayOf(b.PropTypes.string).def([]),placeholder:b.PropTypes.string.def("请输入并按 Enter 结束"),list:b.PropTypes.arrayOf(b.PropTypes.object).def([]),disabled:b.PropTypes.bool.def(!1),tooltipKey:b.PropTypes.string.def(""),saveKey:b.PropTypes.string.def("id"),displayKey:b.PropTypes.string.def("name"),hasDeleteIcon:b.PropTypes.bool.def(!1),clearable:b.PropTypes.bool.def(!0),trigger:b.PropTypes.commonType(["focus","search"]).def("search"),searchKey:b.PropTypes.oneOfType([b.PropTypes.string,b.PropTypes.arrayOf(b.PropTypes.string)]).def("name"),useGroup:b.PropTypes.bool.def(!1),allowCreate:b.PropTypes.bool.def(!1),maxData:b.PropTypes.number.def(-1),maxResult:b.PropTypes.number.def(10),contentMaxHeight:b.PropTypes.number.def(300),contentWidth:b.PropTypes.number.def(190),separator:b.PropTypes.string.def(""),allowNextFocus:b.PropTypes.bool.def(!0),allowAutoMatch:b.PropTypes.bool.def(!1),showClearOnlyHover:b.PropTypes.bool.def(!1),leftSpace:b.PropTypes.number.def(0),createTagValidator:{type:Function,default:null},filterCallback:{type:Function,default:null},tagTpl:{type:Function,default:null},tpl:{type:Function,default:null},pasteFn:{type:Function,default:null}},emits:["update:modelValue","change","select","blur","remove","removeAll"],setup:function(e,r){var n=r.emit,l=(0,s.reactive)({isEdit:!1,isHover:!1,focusItemIndex:e.allowCreate?-1:0}),u=(0,s.reactive)({isShow:!1,width:190,modifiers:[{name:"offset",options:{offset:[0,4]}}]}),c=function(e){var t=(0,s.reactive)({curPage:1,totalSize:0,totalPage:0,pageSize:e,isPageLoading:!1,curPageList:[],renderListPaged:[]});return{pageState:t,initPage:function(){var e,r,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];t.curPage=1,t.totalSize=a.length,t.totalPage=Math.ceil(t.totalSize/t.pageSize)||1;var n=[];if(t.pageSize>0)for(var o=0;o<t.totalSize;o+=t.pageSize)n.push(a.slice(o,o+t.pageSize));(e=t.renderListPaged).splice.apply(e,[0,t.renderListPaged.length].concat(n)),(r=t.curPageList).splice.apply(r,[0,t.curPageList.length].concat(i()(t.renderListPaged[t.curPage-1]||[])))},pageChange:function(e){var r;t.curPage=e,(r=t.curPageList).splice.apply(r,[t.curPageList.length,0].concat(i()(t.renderListPaged[t.curPage-1]||[]))),t.isPageLoading=!1}}}((0,s.toRefs)(e).maxResult),d=c.pageState,p=c.initPage,f=c.pageChange,g=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,a=e;return(0,s.customRef)((function(e,n){return{get:function(){return e(),a},set:function(e){clearTimeout(t),t=setTimeout((function(){a=e,n()}),r)}}}))}("",150),v=(0,s.ref)(null),h=(0,s.ref)(null),b=(0,s.ref)(null),T=(0,s.ref)(null),L=(0,s.ref)(null),P=(0,s.ref)(null),w=(0,s.ref)(null),x=(0,s.computed)((function(){return!e.disabled&&e.hasDeleteIcon})),I=(0,s.computed)((function(){return 1===e.maxData})),C=(0,s.computed)((function(){return 0===A.selectedTagList.length&&""===g.value&&!l.isEdit})),S=(0,s.computed)((function(){return e.clearable&&!e.disabled&&0!==A.selectedTagList.length&&(!e.showClearOnlyHover||l.isHover)})),K=(0,s.computed)((function(){return{"bk-tag-input-trigger":!0,active:l.isEdit,disabled:e.disabled}}));(0,s.watch)([function(){return i()(e.modelValue)},function(){return i()(e.list)}],(function(){D()})),(0,s.watch)(g,(function(t){var r=0!==d.curPageList.length;""!==t&&r||""===t&&"focus"===e.trigger?u.isShow=!0:"focus"===e.trigger&&r||(u.isShow=!1)})),(0,s.watch)((function(){return u.isShow}),(function(e){k(),e&&L.value&&((0,s.nextTick)((function(){L.value.scrollTop=0})),L.value.removeEventListener("scroll",V),L.value.addEventListener("scroll",V))}));var k=function(){var e,t,r=I.value?0:null===(e=T.value)||void 0===e?void 0:e.offsetLeft;u.modifiers=[{name:"offset",options:{offset:[r,4]}}],null===(t=P.value)||void 0===t||t.update()},V=function(){if(!d.isPageLoading&&0!==L.value.scrollTop){var e=L.value;if(e.scrollTop+e.offsetHeight>=e.scrollHeight){var t=d.curPage+1;t<=d.totalPage&&(d.isPageLoading=!0,setTimeout((function(){f(t)}),500))}}},N=function(){var e;return Array.from((null===(e=b.value)||void 0===e?void 0:e.childNodes)||[]).filter((function(e){return e.nodeType!==Node.TEXT_NODE}))},R=function(t){if(!e.disabled){if(null==t?void 0:t.target){var r=t.target.className;(r.indexOf("bk-tag-input-trigger")>-1||r.indexOf("tag-list")>-1)&&b.value.appendChild(T.value)}clearTimeout(w.value),I.value&&O.value.length&&(A.tagListCache=i()(O.value),A.selectedTagListCache=i()(A.selectedTagList),g.value=A.selectedTagListCache[0][e.saveKey],U(A.selectedTagList[0],0),H()),l.isEdit=!0,(0,s.nextTick)((function(){var t;null===(t=v.value)||void 0===t||t.focus(),"focus"===e.trigger&&0!==A.localList.length&&(j(),u.isShow?k():u.isShow=!0)}))}},A=(0,s.reactive)({localList:[],tagListCache:[],selectedTagList:[],selectedTagListCache:[]}),O=(0,s.computed)((function(){return A.selectedTagList.map((function(t){return t[e.saveKey]}))})),E=function(e){var t=(0,s.toRefs)(e),r=t.useGroup,a=t.saveKey,n=t.displayKey,o=t.list,l=(0,s.reactive)([]);return(0,s.watch)([r,a,n,o],(function(){var e=o.value;r.value&&(e=o.value.reduce((function(e,t){var r=[];return t.children&&(r=t.children.map((function(e){return Object.assign({group:{groupId:t[a.value],groupName:t[n.value]}},e)}))),e.concat(r)}),[])),l.splice.apply(l,[0,l.length].concat(i()(e)))}),{immediate:!0,deep:!0}),l}(e),q=(0,s.computed)((function(){if(e.useGroup){var t={};return d.curPageList.forEach((function(e,r){e.__index__=r,t[e.group.groupId]||(t[e.group.groupId]={id:e.group.groupId,name:e.group.groupName,children:[]}),t[e.group.groupId].children.push(e)})),Object.keys(t).map((function(e){return t[e]}))}return d.curPageList})),D=function(){var t=e.saveKey,r=e.modelValue,a=e.displayKey,n=e.allowCreate,l=e.trigger;A.selectedTagList=[],A.localList=i()(E),r.length&&(r.forEach((function(e){var r=A.localList.find((function(r){return e===r[t]}));if(void 0!==r)A.selectedTagList.push(r);else if(n&&!O.value.includes(e)){var l;A.selectedTagList.push((l={},o()(l,t,e),o()(l,a,e),l))}})),I.value||(A.localList=A.localList.filter((function(e){return!r.includes(e[t])})))),"focus"===l&&j()},j=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=e.searchKey,a=e.filterCallback,n=t.toLowerCase(),o=[];if("function"==typeof a)o=a(n,r,A.localList)||[];else if(Array.isArray(r)){var l=r.map((function(e){return A.localList.filter((function(t){return-1!==t[e].toLowerCase().indexOf(n)}))}));o=Array.from(new Set(l.flat()))}else o=A.localList.filter((function(e){return-1!==e[r].toLowerCase().indexOf(n)}));p(o)};(0,s.onMounted)((function(){D()}));var F=function(){g.value=""},z=function(){if(I.value)return 0;var e=N().findIndex((function(e){return"tagInputItem"===e.id}));return e>=0?e:0},_=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(t&&e){var a=t;r&&(a=t.nextElementSibling||null),t.parentNode.insertBefore(e,a)}},H=function(t){var r=e.maxData,a=e.trigger,n=e.allowCreate;if(-1===r||r>O.value.length){var o=((null==t?void 0:t.target)?t.target:g).value,i=m(o);i?(j(o),v.value.style.width="".concat(i*y,"px")):"focus"===a&&j()}else M(),g.value="",u.isShow=!1;l.isEdit=!0,l.focusItemIndex=n?-1:0},M=function(){w.value=setTimeout((function(){var t=g.value;if(F(),l.isEdit=!1,I.value){var r=a()(A.tagListCache,1)[0];t&&t===r&&A.selectedTagListCache.length?W(A.selectedTagListCache[0],"select"):G("remove")}else if(e.allowAutoMatch&&t){var o=d.curPageList.find((function(r){return Array.isArray(e.searchKey)?e.searchKey.map((function(e){return r[e]})).includes(t):r[e.searchKey]===t}));o?B(o,"select"):e.allowCreate&&B(t,"custom")}u.isShow=!1,n("blur",t,O.value)}),50)},B=function(e,t,r){null==r||r.stopPropagation(),e&&!e.disabled&&(I.value&&(A.tagListCache=[],A.selectedTagListCache=[],A.selectedTagList=[]),W(e,t),G("select"),F(),u.isShow=!1)},G=function(e){n("change",O.value),n(e),n("update:modelValue",O.value)},Z=function(){var e=L.value.clientHeight,t=L.value.getBoundingClientRect().y;(0,s.nextTick)((function(){var r=L.value.querySelector(".bk-selector-actived");if(r){var a=r.clientHeight,n=r.getBoundingClientRect().y;n<t&&(L.value.scrollTop=L.value.scrollTop-(t-n));var o=n+a-t;o>e&&(L.value.scrollTop=L.value.scrollTop+o-e)}}))},W=function(r,a){if(!(A.selectedTagList.length>=e.maxData&&-1!==e.maxData)){var n,l=e.separator,u=e.saveKey,c=e.displayKey,d=e.createTagValidator,p=z(),f=1,g=!1,h=function(e){return"function"!=typeof d||d(e)},m=function(e){return A.localList.find((function(t){return t[u]===e}))};if("custom"===a)if(l){var b,L=r.split(l),P=(L=L.filter((function(e){return(null==e?void 0:e.trim())&&!O.value.includes(e)&&h(e)}))).map((function(e){var t;return m(e)||(t={},o()(t,u,e),o()(t,c,e),t)}));L.length&&((b=A.selectedTagList).splice.apply(b,[p,0].concat(i()(P))),f=P.length,g=!0)}else{var w="object"===t()(r);if(void 0!==(n=(n=w?r[u]:r.trim()).replace(/\s+/g,""))&&!O.value.includes(n)&&h(n)){var x,C=m(n)||(w?r:(x={},o()(x,u,n),o()(x,c,n),x));A.selectedTagList.splice(p,0,C),g=!0}}else r&&(void 0===(n=r[u])||O.value.includes(n)||(A.selectedTagList.splice(p,0,r),g=!0));g&&(0,s.nextTick)((function(){for(var t=1;t<=f;t++){var r=N()[p+t];_(r,T.value)}v.value.style.width="".concat(y,"px"),I.value||(e.allowNextFocus&&R(),A.localList=A.localList.filter((function(e){return!O.value.includes(e[u])})))}))}},U=function(t,r){A.selectedTagList.splice(r,1);var a=E.some((function(r){return r===t[e.saveKey]}));(e.allowCreate&&a||!e.allowCreate)&&!I.value&&A.localList.push(t)};return Object.assign(Object.assign(Object.assign(Object.assign({popoverProps:u},(0,s.toRefs)(l)),(0,s.toRefs)(A)),(0,s.toRefs)(d)),{isShowPlaceholder:C,isShowClear:S,curInputValue:g,formatList:E,renderList:q,showTagClose:x,tagInputRef:v,bkTagSelectorRef:h,tagListRef:b,tagInputItemRef:T,selectorListRef:L,popoverRef:P,triggerClass:K,focusInputTrigger:R,activeClass:function(t,r){var a={"bk-selector-actived":!1,"bk-selector-selected":O.value.includes(t[e.saveKey])};return e.useGroup?a["bk-selector-actived"]=t.__index__===l.focusItemIndex:a["bk-selector-actived"]=r===l.focusItemIndex,a},handleInput:H,handleFocus:function(){var t;u.width=I.value?null===(t=h.value)||void 0===t?void 0:t.clientWidth:e.contentWidth},handleBlur:M,handleTagSelected:B,handleTagRemove:function(e,t,r){null==r||r.stopPropagation(),U(e,t),F(),G("remove"),v.value.style.width="".concat(y,"px")},handleClear:function(t){t.stopPropagation();var r=A.selectedTagList;A.selectedTagList=[];var a,n=E.filter((function(t){return r.some((function(r){return r[e.saveKey]===t[e.saveKey]}))}));(!e.allowCreate||0===n.length)&&e.allowCreate||I.value||(a=A.localList).push.apply(a,i()(n)),G("removeAll")},tagFocus:function(t){e.disabled||(_(T.value,t.currentTarget,!0),v.value.style.width="".concat(y,"px"),u.isShow&&k())},handleKeydown:function(t){if(!d.isPageLoading){var r=t.target.value,a=m(r),n=z(),o=N();switch(t.code){case"ArrowUp":if(t.preventDefault(),!u.isShow)return;l.focusItemIndex=l.focusItemIndex-1,l.focusItemIndex=l.focusItemIndex<0?-1:l.focusItemIndex,-1===l.focusItemIndex&&(l.focusItemIndex=d.curPageList.length-1),Z();break;case"ArrowDown":if(t.preventDefault(),!u.isShow)return;l.focusItemIndex=l.focusItemIndex+1,l.focusItemIndex=l.focusItemIndex>d.curPageList.length-1?d.curPageList.length:l.focusItemIndex,l.focusItemIndex===d.curPageList.length&&(l.focusItemIndex=0),Z();break;case"ArrowLeft":if(l.isEdit=!0,!a){if(n<1)return;_(T.value,o[n-1]),R()}break;case"ArrowRight":if(l.isEdit=!0,!a){if(n===o.length-1)return;_(o[n+1],T.value),R()}break;case"Enter":case"NumpadEnter":!e.allowCreate&&u.isShow||e.allowCreate&&l.focusItemIndex>=0&&u.isShow?B(d.curPageList[l.focusItemIndex],"select",t):e.allowCreate&&B(g.value,"custom",t),t.preventDefault();break;case"Backspace":0===n||g.value||function(t,r){var a=N();_(T.value,a[t-1]),A.selectedTagList.splice(t-1,1),R();var n=E.some((function(t){return t===r[e.saveKey]}));(e.allowCreate&&n||!e.allowCreate)&&!I.value&&A.localList.push(r),v.value="".concat(y,"px"),G("remove")}(n,A.selectedTagList[n-1])}}},handlePaste:function(t){if(t.preventDefault(),I.value)return!1;var r=e.maxData,a=e.saveKey,n=e.pasteFn,l=t.clipboardData.getData("text"),s=n?n(l):function(t){var r=[];return t.split(";").forEach((function(t){if(t.match(/^[a-zA-Z][a-zA-Z_]+/g)){var a,n=t.match(/^[a-zA-Z][a-zA-Z_]+/g).join("");r.push((a={},o()(a,e.saveKey,n),o()(a,e.displayKey,n),a))}})),r}(l),u=s.map((function(e){return e[a]}));if(u.length){var c=N(),d=z(),p=A.localList.map((function(e){return e[a]}));if(u=u.filter((function(e){return(null==e?void 0:e.trim())&&!O.value.includes(e)&&p.includes(e)})),-1!==r){var f=A.selectedTagList.length;if(f<r){var g=r-f;u.length>g&&(u=i()(u.slice(0,g)))}else u=[]}var h,m=A.localList.filter((function(e){return u.includes(e[a])}));u.length&&((h=A.selectedTagList).splice.apply(h,[d,0].concat(i()(m))),_(T.value,c[d]),v.value.style.width="".concat(y,"px"),A.localList=A.localList.filter((function(e){return!u.includes(e[a])})),G("select"),R())}}})},render:function(){var e=this;return(0,s.createVNode)("div",{class:"bk-tag-input",ref:"bkTagSelectorRef",onClick:this.focusInputTrigger,onMouseenter:function(){return e.isHover=!0},onMouseleave:function(){return e.isHover=!1}},[(0,s.createVNode)(h(),{ref:"popoverRef",theme:"light",trigger:"manual",placement:"bottom-start",arrow:!1,width:this.popoverProps.width,isShow:this.popoverProps.isShow,modifiers:this.popoverProps.modifiers},{default:function(){return(0,s.createVNode)("div",{class:e.triggerClass},[(0,s.createVNode)("ul",{class:"tag-list",ref:"tagListRef",style:{marginLeft:"".concat(e.leftSpace,"px")}},[e.selectedTagList.map((function(t,r){var a={boundary:"window",theme:"light",distance:12,content:t[e.tooltipKey],disabled:!e.tooltipKey};return(0,s.withDirectives)((0,s.createVNode)("li",{class:"tag-item",onClick:e.tagFocus},[(0,s.createVNode)(L,{node:t,tpl:e.tagTpl,displayKey:e.displayKey},null),e.showTagClose?(0,s.createVNode)(c.Error,{class:"remove-tag",onClick:e.handleTagRemove.bind(e,t,r)},null):null]),[[(0,s.resolveDirective)("bk-tooltips"),a]])})),(0,s.withDirectives)((0,s.createVNode)("li",{ref:"tagInputItemRef",id:"tagInputItem",class:"tag-input-item",role:"input"},[(0,s.createVNode)("input",(0,s.mergeProps)({"on-input":function(t){t.target.composing||(e.curInputValue=t.target.value)},type:"text",class:"tag-input",ref:"tagInputRef",onInput:e.handleInput,onFocus:e.handleFocus,onBlur:e.handleBlur,onKeydown:e.handleKeydown,onPaste:e.handlePaste,"domProps-value":e.curInputValue},{directives:[{name:"model",value:e.curInputValue,modifiers:{}}]}),null)]),[[s.vShow,e.isEdit]])]),(0,s.withDirectives)((0,s.createVNode)("p",{class:"placeholder"},[e.placeholder]),[[s.vShow,e.isShowPlaceholder]]),e.isShowClear?(0,s.createVNode)(c.Close,{class:"clear-icon",onClick:e.handleClear},null):null])},content:function(){return(0,s.createVNode)("div",{class:"bk-selector-list"},[(0,s.createVNode)("ul",{ref:"selectorListRef",style:{"max-height":"".concat(e.contentMaxHeight,"px")},class:"outside-ul"},[e.useGroup?e.renderList.map((function(t){return(0,s.createVNode)("li",{class:"bk-selector-group-item"},[(0,s.createVNode)("span",{class:"group-name"},[t.name,(0,s.createTextVNode)(" ("),t.children.length,(0,s.createTextVNode)(")")]),(0,s.createVNode)("ul",{class:"bk-selector-group-list-item"},[t.children.map((function(t,r){return(0,s.createVNode)("li",{class:["bk-selector-list-item",{disabled:t.disabled},e.activeClass(t,r)],onClick:e.handleTagSelected.bind(e,t,"select")},[(0,s.createVNode)(T,{node:t,displayKey:e.displayKey,tpl:e.tpl,searchKey:e.searchKey,searchKeyword:e.curInputValue},null)])}))])])})):e.renderList.map((function(t,r){return(0,s.createVNode)("li",{class:["bk-selector-list-item",{disabled:t.disabled},e.activeClass(t,r)],onClick:e.handleTagSelected.bind(e,t,"select")},[(0,s.createVNode)(T,{node:t,displayKey:e.displayKey,tpl:e.tpl,searchKey:e.searchKey,searchKeyword:e.curInputValue},null)])})),e.isPageLoading?(0,s.createVNode)("li",{class:"bk-selector-list-item loading"},[(0,s.createVNode)(g(),{theme:"primary",size:d.BkLoadingSize.Small},null)]):null])])}})])}});P.install=function(e){e.component(P.name,P)};const w=P})(),f})()));
@@ -0,0 +1,250 @@
1
+ @import '../styles/themes/themes.less';
2
+
3
+ @min-height: 32px;
4
+ @tag-input-disabled-bg-color: #fafbfd;
5
+
6
+ .@{bk-prefix}-tag-input {
7
+ position: relative;
8
+ min-height: @min-height;
9
+
10
+ .bk-popover-reference {
11
+ display: block;
12
+ }
13
+
14
+ .bk-tag-input-trigger {
15
+ position: relative;
16
+ display: flex;
17
+ min-height: @min-height;
18
+ padding: 0 0 0 5px;
19
+ overflow: hidden;
20
+ font-size: 12px;
21
+ cursor: pointer;
22
+ background: @white-color;
23
+ border: 1px solid @light-gray;
24
+ border-radius: 2px;
25
+ align-items: center;
26
+ justify-content: space-between;
27
+
28
+ &.active {
29
+ border-color: @primary-color;
30
+ }
31
+
32
+ &.disabled {
33
+ cursor: not-allowed;
34
+ background: @tag-input-disabled-bg-color;
35
+ border-color: @disable-color;
36
+ }
37
+
38
+ .tag-list {
39
+ display: inline-flex;
40
+ max-height: 135px;
41
+ padding: 0;
42
+ margin: 0;
43
+ overflow: auto;
44
+ align-items: center;
45
+ flex-wrap: wrap;
46
+
47
+ > li {
48
+ display: inline-flex;
49
+ height: 22px;
50
+ margin: 4px 5px 4px 0;
51
+ overflow: hidden;
52
+ font-size: 12px;
53
+ border: solid 1px transparent;
54
+ border-radius: 2px;
55
+ align-items: center;
56
+
57
+ &.tag-item {
58
+ background: #f0f1f5;
59
+ border-color: #f0f1f5;
60
+ }
61
+ }
62
+
63
+ .remove-tag {
64
+ flex-shrink: 0;
65
+ margin-right: 5px;
66
+ font-size: 14px;
67
+ line-height: 0;
68
+ }
69
+
70
+ .tag {
71
+ max-width: 190px;
72
+ overflow: hidden;
73
+ text-overflow: ellipsis;
74
+ word-break: break-all;
75
+ white-space: nowrap;
76
+ flex: 1;
77
+ }
78
+
79
+ .text {
80
+ padding: 0 5px;
81
+ line-height: 20px;
82
+ color: @default-color;
83
+ background-color: #f0f1f5;
84
+ border-radius: 2px;
85
+ box-sizing: border-box;
86
+ }
87
+
88
+ .tag-input {
89
+ width: 10px;
90
+ height: 22px;
91
+ max-width: 295px;
92
+ padding: 0;
93
+ border: 0;
94
+ outline: none;
95
+ box-sizing: border-box;
96
+ }
97
+ }
98
+
99
+ .placeholder {
100
+ position: absolute;
101
+ top: 0;
102
+ left: 8px;
103
+ padding: 0;
104
+ margin: 0;
105
+ line-height: 30px;
106
+ color: @light-gray;
107
+ }
108
+
109
+ .clear-icon {
110
+ margin-right: 5px;
111
+ font-size: 14px;
112
+ line-height: 0;
113
+ color: @light-gray;
114
+ cursor: pointer;
115
+
116
+ &:hover {
117
+ color: @gray-color;
118
+ }
119
+ }
120
+ }
121
+
122
+ .bk-popover-content {
123
+ padding: 0;
124
+ }
125
+ }
126
+
127
+ .bk-selector-list {
128
+ min-width: 150px;
129
+
130
+ .outside-ul {
131
+ max-height: 160px;
132
+ padding: 0;
133
+ padding: 6px 0;
134
+ margin: 0;
135
+ overflow-y: auto;
136
+ list-style: none;
137
+ background-color: @white-color;
138
+ border: 1px solid #dcdee5;
139
+ border-radius: 2px;
140
+
141
+ &::-webkit-scrollbar {
142
+ width: 6px;
143
+ height: 6px;
144
+ }
145
+
146
+ &::-webkit-scrollbar-thumb {
147
+ min-height: 24px;
148
+ background-color: #dcdee5;
149
+ border-radius: 3px;
150
+ }
151
+ }
152
+
153
+ .bk-selector-group-item {
154
+ list-style: none;
155
+
156
+ .group-name {
157
+ padding-left: 11px;
158
+ font-size: 12px;
159
+ line-height: 32px;
160
+ color: #979ba5;
161
+ }
162
+ }
163
+
164
+ .bk-selector-group-list-item {
165
+ padding: 0;
166
+ margin: 0;
167
+ list-style: none;
168
+ }
169
+
170
+ .bk-selector-list-item {
171
+ position: relative;
172
+ width: 100%;
173
+ cursor: pointer;
174
+ background-color: @white-color;
175
+ border-right: @light-gray;
176
+ border-left: @light-gray;
177
+
178
+ &:first-child {
179
+ border-top: @light-gray;
180
+ }
181
+
182
+ &:last-child {
183
+ border-bottom: @light-gray;
184
+ }
185
+
186
+ &.bk-selector-selected {
187
+ background-color: #f4f6fa;
188
+
189
+ .selected-icon {
190
+ display: inline-block;
191
+ }
192
+ }
193
+
194
+ &.bk-selector-actived {
195
+ background-color: #f4f6fa;
196
+ }
197
+
198
+ &:hover {
199
+ background-color: #eaf3ff;
200
+ }
201
+
202
+ &.disabled {
203
+ cursor: not-allowed;
204
+ background: @white-color;
205
+
206
+ .text {
207
+ color: @light-gray;
208
+ }
209
+ }
210
+
211
+ &.loading {
212
+ padding: 5px 0 3px;
213
+ text-align: center;
214
+ }
215
+
216
+ .loading {
217
+ position: relative;
218
+ width: 100%;
219
+ height: 40px;
220
+ font-size: 14px;
221
+ cursor: default;
222
+ }
223
+
224
+ .text {
225
+ padding: 0 10px;
226
+ overflow: hidden;
227
+ font-size: 12px;
228
+ line-height: 32px;
229
+ color: @default-color;
230
+ text-overflow: ellipsis;
231
+ white-space: nowrap;
232
+ }
233
+
234
+ .bk-selector-tools {
235
+ position: absolute;
236
+ top: 10px;
237
+ right: 0;
238
+ display: none;
239
+ font-size: 12px;
240
+
241
+ .bk-selector-list-icon {
242
+ margin-right: 14px;
243
+ }
244
+ }
245
+
246
+ .highlight-text {
247
+ color: @primary-color;
248
+ }
249
+ }
250
+ }