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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (407) hide show
  1. package/dist/index.cjs.js +162 -164
  2. package/dist/index.esm.js +31999 -29678
  3. package/dist/index.umd.js +162 -164
  4. package/dist/locale/en.esm.js +1 -1
  5. package/dist/locale/en.esm.js.map +1 -1
  6. package/dist/locale/en.umd.js +1 -1
  7. package/dist/locale/en.umd.js.map +1 -1
  8. package/dist/locale/zh-cn.esm.js +1 -1
  9. package/dist/locale/zh-cn.esm.js.map +1 -1
  10. package/dist/locale/zh-cn.umd.js +1 -1
  11. package/dist/locale/zh-cn.umd.js.map +1 -1
  12. package/dist/style.css +1 -1
  13. package/dist/style.variable.css +1 -1
  14. package/lib/affix/affix.variable.css +3 -0
  15. package/lib/affix/index.js +7 -7
  16. package/lib/alert/alert.d.ts +5 -5
  17. package/lib/alert/alert.variable.css +3 -0
  18. package/lib/alert/index.d.ts +11 -11
  19. package/lib/backtop/backtop.d.ts +1 -1
  20. package/lib/backtop/backtop.variable.css +3 -0
  21. package/lib/backtop/index.d.ts +3 -3
  22. package/lib/backtop/index.js +6 -6
  23. package/lib/badge/badge.variable.css +3 -0
  24. package/lib/badge/index.js +1 -1
  25. package/lib/breadcrumb/breadcrumb.variable.css +3 -0
  26. package/lib/button/button.d.ts +7 -7
  27. package/lib/button/button.variable.css +3 -0
  28. package/lib/button/index.d.ts +8 -8
  29. package/lib/button/index.js +6 -6
  30. package/lib/card/card.variable.css +3 -0
  31. package/lib/cascader/cascader-panel.d.ts +1 -1
  32. package/lib/cascader/cascader.css +3 -3
  33. package/lib/cascader/cascader.d.ts +1 -1
  34. package/lib/cascader/cascader.less +4 -4
  35. package/lib/cascader/cascader.variable.css +6 -3
  36. package/lib/cascader/index.js +35 -36
  37. package/lib/cascader/interface.d.ts +1 -1
  38. package/lib/checkbox/checkbox.variable.css +3 -0
  39. package/lib/checkbox/index.js +7 -7
  40. package/lib/checkbox/type.d.ts +1 -1
  41. package/lib/code-diff/code-diff.variable.css +3 -0
  42. package/lib/code-diff/index.js +8 -8
  43. package/lib/collapse/collapse.css +11 -0
  44. package/lib/collapse/collapse.d.ts +11 -0
  45. package/lib/collapse/collapse.less +15 -1
  46. package/lib/collapse/collapse.variable.css +14 -0
  47. package/lib/collapse/index.d.ts +23 -0
  48. package/lib/collapse/index.js +11 -3
  49. package/lib/collapse/props.d.ts +8 -0
  50. package/lib/collapse/utils.d.ts +2 -2
  51. package/lib/collapse-transition/collapse-transition.variable.css +3 -0
  52. package/lib/color-picker/color-picker.css +3 -3
  53. package/lib/color-picker/color-picker.less +3 -3
  54. package/lib/color-picker/color-picker.variable.css +6 -3
  55. package/lib/color-picker/index.js +45 -45
  56. package/lib/components.d.ts +32 -30
  57. package/lib/components.js +31 -29
  58. package/lib/config-provider/config-provider.d.ts +3 -0
  59. package/lib/config-provider/config-provider.variable.css +3 -0
  60. package/lib/config-provider/index.d.ts +5 -1
  61. package/lib/config-provider/token.d.ts +1 -0
  62. package/lib/container/container.variable.css +3 -0
  63. package/lib/container/index.js +6 -6
  64. package/lib/date-picker/base/date-table.d.ts +1 -1
  65. package/lib/date-picker/base/month-table.d.ts +3 -3
  66. package/lib/date-picker/base/picker-dropdown.d.ts +1 -1
  67. package/lib/date-picker/base/year-table.d.ts +3 -3
  68. package/lib/date-picker/date-picker.d.ts +1 -0
  69. package/lib/date-picker/date-picker.variable.css +3 -0
  70. package/lib/date-picker/index.d.ts +3 -0
  71. package/lib/date-picker/index.js +340 -224
  72. package/lib/date-picker/interface.d.ts +9 -9
  73. package/lib/date-picker/panel/date-range.d.ts +2 -64
  74. package/lib/date-picker/panel/date.d.ts +1 -1
  75. package/lib/date-picker/panel/time-range.d.ts +1 -1
  76. package/lib/date-picker/panel/time.d.ts +1 -1
  77. package/lib/date-picker/props.d.ts +1 -1
  78. package/lib/date-picker/time-picker.d.ts +1 -0
  79. package/lib/date-picker/utils.d.ts +9 -1
  80. package/lib/dialog/dialog.css +172 -150
  81. package/lib/dialog/dialog.d.ts +55 -124
  82. package/lib/dialog/dialog.less +51 -124
  83. package/lib/dialog/dialog.variable.css +175 -150
  84. package/lib/dialog/index.d.ts +132 -296
  85. package/lib/dialog/index.js +244 -246
  86. package/lib/dialog/props.d.ts +16 -41
  87. package/lib/directives/index.d.ts +3 -3
  88. package/lib/directives/index.js +166 -167
  89. package/lib/directives/tooltips.d.ts +1 -1
  90. package/lib/dist.index.js +2 -2
  91. package/lib/divider/divider.d.ts +5 -5
  92. package/lib/divider/divider.variable.css +3 -0
  93. package/lib/divider/index.d.ts +11 -11
  94. package/lib/divider/index.js +2 -2
  95. package/lib/divider/props.d.ts +2 -2
  96. package/lib/dropdown/dropdown.css +3 -1
  97. package/lib/dropdown/dropdown.d.ts +5 -5
  98. package/lib/dropdown/dropdown.variable.css +6 -1
  99. package/lib/dropdown/index.d.ts +11 -11
  100. package/lib/dropdown/index.js +7 -7
  101. package/lib/exception/exception.d.ts +9 -9
  102. package/lib/exception/exception.variable.css +3 -0
  103. package/lib/exception/index.d.ts +11 -11
  104. package/lib/exception/index.js +10 -10
  105. package/lib/exception/typings/index.d.ts +1 -1
  106. package/lib/fixed-navbar/fixed-navbar.variable.css +3 -0
  107. package/lib/fixed-navbar/index.js +2 -2
  108. package/lib/form/form.d.ts +2 -2
  109. package/lib/form/form.variable.css +3 -0
  110. package/lib/form/index.js +17 -15
  111. package/lib/form/type.d.ts +2 -2
  112. package/lib/icon/image-fill.js +82 -167
  113. package/lib/icon/img-error.js +82 -167
  114. package/lib/icon/img-placehoulder.js +82 -167
  115. package/lib/icon/index.d.ts +12 -11
  116. package/lib/icon/index.js +87 -2427
  117. package/lib/icon/info-line.js +82 -167
  118. package/lib/icon/info.js +82 -167
  119. package/lib/icon/left-shape.js +82 -167
  120. package/lib/icon/left-turn-line.js +82 -167
  121. package/lib/icon/loading.js +82 -167
  122. package/lib/icon/narrow-line.js +82 -167
  123. package/lib/icon/original.js +82 -167
  124. package/lib/icon/pdf-fill.js +82 -167
  125. package/lib/icon/play-shape.js +82 -167
  126. package/lib/icon/plus.js +82 -167
  127. package/lib/icon/ppt-fill.js +82 -167
  128. package/lib/icon/qq.js +82 -167
  129. package/lib/icon/right-shape.js +82 -167
  130. package/lib/icon/right-turn-line.js +82 -167
  131. package/lib/icon/search.js +82 -167
  132. package/lib/icon/share.js +82 -167
  133. package/lib/icon/spinner.js +82 -167
  134. package/lib/icon/success.js +82 -167
  135. package/lib/icon/switcher-loading.js +82 -167
  136. package/lib/icon/text-all.d.ts +4 -0
  137. package/lib/icon/text-all.js +191 -0
  138. package/lib/icon/text-file.js +82 -167
  139. package/lib/icon/text-fill.js +82 -167
  140. package/lib/icon/transfer.js +82 -167
  141. package/lib/icon/tree-application-shape.js +82 -167
  142. package/lib/icon/unfull-screen.js +82 -167
  143. package/lib/icon/unvisible.js +82 -167
  144. package/lib/icon/up-shape.js +82 -167
  145. package/lib/icon/upload.js +82 -167
  146. package/lib/icon/video-fill.js +82 -167
  147. package/lib/icon/warn.js +82 -167
  148. package/lib/icon/weixin-pro.js +82 -167
  149. package/lib/icon/weixin.js +82 -167
  150. package/lib/image/image-viewer.d.ts +1 -1
  151. package/lib/image/image-viewer.variable.css +3 -0
  152. package/lib/image/image.variable.css +3 -0
  153. package/lib/image/index.js +25 -22
  154. package/lib/index.d.ts +3 -3
  155. package/lib/index.js +3 -3
  156. package/lib/info-box/index.d.ts +2 -2
  157. package/lib/info-box/index.js +257 -516
  158. package/lib/info-box/info-box.css +58 -28
  159. package/lib/info-box/info-box.d.ts +25 -23
  160. package/lib/info-box/info-box.less +82 -51
  161. package/lib/info-box/info-box.variable.css +61 -28
  162. package/lib/info-box/render-component.d.ts +4 -0
  163. package/lib/input/index.d.ts +15 -15
  164. package/lib/input/index.js +23 -17
  165. package/lib/input/input.d.ts +15 -15
  166. package/lib/input/input.variable.css +3 -0
  167. package/lib/link/index.d.ts +11 -11
  168. package/lib/link/index.js +3 -3
  169. package/lib/link/link.d.ts +5 -5
  170. package/lib/link/link.variable.css +3 -0
  171. package/lib/loading/index.d.ts +4 -4
  172. package/lib/loading/index.js +6 -6
  173. package/lib/loading/loading.d.ts +6 -6
  174. package/lib/loading/loading.variable.css +3 -0
  175. package/lib/locale/index.d.ts +1 -1
  176. package/lib/locale/index.js +4 -2
  177. package/lib/locale/lang/en.d.ts +1 -0
  178. package/lib/menu/index.js +0 -1
  179. package/lib/menu/menu.variable.css +3 -0
  180. package/lib/menu/submenu.variable.css +3 -0
  181. package/lib/menu/utils.d.ts +3 -3
  182. package/lib/message/index.js +18 -18
  183. package/lib/message/message.variable.css +3 -0
  184. package/lib/message/messageConstructor.d.ts +11 -11
  185. package/lib/modal/hooks.d.ts +6 -0
  186. package/lib/modal/index.d.ts +44 -312
  187. package/lib/modal/index.js +286 -672
  188. package/lib/modal/mask.d.ts +6 -0
  189. package/lib/modal/modal.css +151 -76
  190. package/lib/modal/modal.d.ts +19 -117
  191. package/lib/modal/modal.less +103 -56
  192. package/lib/modal/modal.variable.css +154 -76
  193. package/lib/modal/props.mixin.d.ts +5 -41
  194. package/lib/navigation/index.js +20 -20
  195. package/lib/navigation/navigation.d.ts +1 -1
  196. package/lib/navigation/navigation.variable.css +3 -0
  197. package/lib/notify/index.js +4 -4
  198. package/lib/notify/notify.variable.css +3 -0
  199. package/lib/overflow-title/components/overflow-title.d.ts +9 -9
  200. package/lib/overflow-title/index.d.ts +19 -19
  201. package/lib/overflow-title/index.js +107 -63
  202. package/lib/overflow-title/props.d.ts +18 -18
  203. package/lib/pagination/index.js +16 -15
  204. package/lib/pagination/pagination.variable.css +3 -0
  205. package/lib/pagination/type.d.ts +1 -1
  206. package/lib/pagination/use-limit.d.ts +1 -1
  207. package/lib/pagination/use-total.d.ts +1 -1
  208. package/lib/plugin-popover/index.d.ts +1 -1
  209. package/lib/plugin-popover/index.js +62 -44
  210. package/lib/pop-confirm/index.js +17 -14
  211. package/lib/pop-confirm/pop-confirm.variable.css +3 -0
  212. package/lib/pop-confirm/props.d.ts +2 -2
  213. package/lib/popover/const.d.ts +3 -3
  214. package/lib/popover/content.d.ts +1 -1
  215. package/lib/popover/index.d.ts +19 -19
  216. package/lib/popover/index.js +62 -44
  217. package/lib/popover/plugin-popover.d.ts +4 -1
  218. package/lib/popover/popover.css +3 -1
  219. package/lib/popover/popover.d.ts +7 -7
  220. package/lib/popover/popover.less +4 -1
  221. package/lib/popover/popover.variable.css +6 -1
  222. package/lib/popover/props.d.ts +4 -4
  223. package/lib/preset.d.ts +2 -0
  224. package/lib/process/index.js +3 -3
  225. package/lib/process/process.variable.css +3 -0
  226. package/lib/progress/index.d.ts +11 -11
  227. package/lib/progress/index.js +10 -10
  228. package/lib/progress/progress.d.ts +7 -7
  229. package/lib/progress/progress.variable.css +3 -0
  230. package/lib/radio/index.d.ts +29 -0
  231. package/lib/radio/index.js +49 -31
  232. package/lib/radio/radio-button.d.ts +10 -0
  233. package/lib/radio/radio-group.d.ts +10 -0
  234. package/lib/radio/radio.d.ts +10 -0
  235. package/lib/radio/radio.variable.css +3 -0
  236. package/lib/radio/type.d.ts +1 -1
  237. package/lib/rate/index.js +8 -8
  238. package/lib/rate/rate.css +27 -0
  239. package/lib/rate/rate.less +33 -0
  240. package/lib/rate/rate.variable.css +30 -0
  241. package/lib/resize-layout/index.d.ts +11 -11
  242. package/lib/resize-layout/index.js +8 -9
  243. package/lib/resize-layout/resize-layout.d.ts +5 -5
  244. package/lib/resize-layout/resize-layout.variable.css +3 -0
  245. package/lib/scrollbar/index.d.ts +15 -0
  246. package/lib/scrollbar/index.js +18762 -0
  247. package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +2 -0
  248. package/lib/scrollbar/scrollbar-core/helpers.d.ts +5 -0
  249. package/lib/scrollbar/scrollbar-core/index.d.ts +241 -0
  250. package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +5 -0
  251. package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +1 -0
  252. package/lib/scrollbar/scrollbar.css +75 -0
  253. package/lib/scrollbar/scrollbar.less +94 -0
  254. package/lib/{rate/star.variable.css → scrollbar/scrollbar.variable.css} +70 -19
  255. package/lib/search-select/index.d.ts +375 -16
  256. package/lib/search-select/index.js +754 -419
  257. package/lib/search-select/input.d.ts +14 -5
  258. package/lib/search-select/menu.d.ts +1 -1
  259. package/lib/search-select/search-select.css +20 -6
  260. package/lib/search-select/search-select.d.ts +129 -7
  261. package/lib/search-select/search-select.less +16 -12
  262. package/lib/search-select/search-select.variable.css +23 -6
  263. package/lib/search-select/selected.d.ts +117 -7
  264. package/lib/search-select/utils.d.ts +22 -9
  265. package/lib/select/index.d.ts +185 -67
  266. package/lib/select/index.js +1396 -136
  267. package/lib/select/option.d.ts +3 -1
  268. package/lib/select/pinyin/core.d.ts +14 -0
  269. package/lib/select/pinyin/dict.d.ts +34 -0
  270. package/lib/select/pinyin/index.d.ts +2 -0
  271. package/lib/select/select.css +56 -14
  272. package/lib/select/select.d.ts +74 -26
  273. package/lib/select/select.less +70 -21
  274. package/lib/select/select.variable.css +59 -14
  275. package/lib/select/selectTagInput.d.ts +13 -6
  276. package/lib/select/type.d.ts +4 -5
  277. package/lib/shared/index.d.ts +1 -2
  278. package/lib/shared/index.js +108 -96
  279. package/lib/shared/popover.d.ts +3 -3
  280. package/lib/shared/token.d.ts +1 -1
  281. package/lib/shared/utils.d.ts +12 -0
  282. package/lib/shared/vue-types.d.ts +51 -46
  283. package/lib/shared/z-index-manager.d.ts +6 -6
  284. package/lib/sideslider/index.d.ts +58 -188
  285. package/lib/sideslider/index.js +83 -57
  286. package/lib/sideslider/sideslider.css +26 -90
  287. package/lib/sideslider/sideslider.d.ts +26 -88
  288. package/lib/sideslider/sideslider.less +56 -132
  289. package/lib/sideslider/sideslider.variable.css +29 -90
  290. package/lib/slider/index.d.ts +19 -0
  291. package/lib/slider/index.js +64 -26
  292. package/lib/slider/slider.css +14 -0
  293. package/lib/slider/slider.d.ts +9 -0
  294. package/lib/slider/slider.less +15 -0
  295. package/lib/slider/slider.variable.css +17 -0
  296. package/lib/steps/index.d.ts +11 -11
  297. package/lib/steps/index.js +3 -3
  298. package/lib/steps/steps.d.ts +7 -7
  299. package/lib/steps/steps.variable.css +3 -0
  300. package/lib/styles/index.d.ts +0 -1
  301. package/lib/styles/mixins/animate.variable.css +3 -0
  302. package/lib/styles/mixins/popper.variable.css +3 -0
  303. package/lib/styles/mixins/scroll.variable.css +3 -0
  304. package/lib/styles/reset.css +1 -3
  305. package/lib/styles/reset.less +3 -6
  306. package/lib/styles/reset.variable.css +4 -3
  307. package/lib/styles/themes/themes.less +5 -0
  308. package/lib/swiper/index.js +5 -5
  309. package/lib/swiper/swiper.variable.css +3 -0
  310. package/lib/switcher/index.js +2 -2
  311. package/lib/switcher/switcher.d.ts +2 -2
  312. package/lib/switcher/switcher.variable.css +3 -0
  313. package/lib/tab/index.d.ts +22 -22
  314. package/lib/tab/index.js +15 -15
  315. package/lib/tab/props.d.ts +15 -15
  316. package/lib/tab/tab-nav.d.ts +10 -10
  317. package/lib/tab/tab.d.ts +10 -10
  318. package/lib/tab/tab.variable.css +3 -0
  319. package/lib/table/cache.d.ts +11 -3
  320. package/lib/table/components/table-cell.d.ts +3 -2
  321. package/lib/table/components/table-column.d.ts +30 -100
  322. package/lib/table/const.d.ts +12 -12
  323. package/lib/table/events.d.ts +21 -21
  324. package/lib/table/index.d.ts +220 -305
  325. package/lib/table/index.js +18165 -688
  326. package/lib/table/plugins/head-filter.css +8 -4
  327. package/lib/table/plugins/head-filter.less +6 -3
  328. package/lib/table/plugins/head-filter.variable.css +11 -4
  329. package/lib/table/plugins/head-sort.variable.css +3 -0
  330. package/lib/table/plugins/settings.variable.css +3 -0
  331. package/lib/table/plugins/use-active-columns.d.ts +2 -2
  332. package/lib/table/plugins/use-column-template.d.ts +7 -0
  333. package/lib/table/plugins/use-draggable.d.ts +2 -2
  334. package/lib/table/plugins/use-fixed-column.d.ts +1 -1
  335. package/lib/table/plugins/use-observer-resize.d.ts +5 -0
  336. package/lib/table/plugins/use-pagination.d.ts +3 -1
  337. package/lib/table/plugins/use-shift-key.d.ts +13 -0
  338. package/lib/table/props.d.ts +49 -39
  339. package/lib/table/table.css +112 -58
  340. package/lib/table/table.d.ts +58 -47
  341. package/lib/table/table.less +46 -58
  342. package/lib/table/table.variable.css +115 -58
  343. package/lib/table/use-attributes.d.ts +9 -46
  344. package/lib/table/use-column.d.ts +18 -139
  345. package/lib/table/use-common.d.ts +5 -5
  346. package/lib/table/use-render.d.ts +1 -1
  347. package/lib/table/utils.d.ts +6 -6
  348. package/lib/table-column/index.d.ts +127 -431
  349. package/lib/table-column/index.js +43 -117
  350. package/lib/tag/index.d.ts +11 -11
  351. package/lib/tag/index.js +2 -2
  352. package/lib/tag/tag.d.ts +5 -5
  353. package/lib/tag/tag.variable.css +3 -0
  354. package/lib/tag-input/common.d.ts +1 -1
  355. package/lib/tag-input/index.d.ts +12 -12
  356. package/lib/tag-input/index.js +30 -30
  357. package/lib/tag-input/tag-input.d.ts +6 -6
  358. package/lib/tag-input/tag-input.variable.css +3 -0
  359. package/lib/tag-input/tag-props.d.ts +3 -3
  360. package/lib/tag-input/tag-render.d.ts +1 -1
  361. package/lib/time-picker/index.d.ts +38 -35
  362. package/lib/time-picker/time-picker.variable.css +3 -0
  363. package/lib/timeline/index.d.ts +80 -44
  364. package/lib/timeline/index.js +56 -67
  365. package/lib/timeline/timeline.d.ts +46 -29
  366. package/lib/timeline/timeline.variable.css +3 -0
  367. package/lib/transfer/const.d.ts +2 -2
  368. package/lib/transfer/index.js +19 -19
  369. package/lib/transfer/transfer.css +9 -9
  370. package/lib/transfer/transfer.less +3 -3
  371. package/lib/transfer/transfer.variable.css +12 -9
  372. package/lib/tree/constant.d.ts +22 -20
  373. package/lib/tree/index.d.ts +64 -20
  374. package/lib/tree/index.js +17595 -72
  375. package/lib/tree/props.d.ts +24 -6
  376. package/lib/tree/tree.css +76 -2
  377. package/lib/tree/tree.d.ts +34 -8
  378. package/lib/tree/tree.less +1 -1
  379. package/lib/tree/tree.variable.css +79 -2
  380. package/lib/tree/use-empty.d.ts +1 -1
  381. package/lib/tree/use-intersection-observer.d.ts +27 -0
  382. package/lib/tree/use-node-action.d.ts +2 -2
  383. package/lib/tree/use-node-attribute.d.ts +9 -0
  384. package/lib/tree/use-search.d.ts +1 -1
  385. package/lib/tree/util.d.ts +1 -1
  386. package/lib/upload/index.d.ts +12 -0
  387. package/lib/upload/index.js +62 -65
  388. package/lib/upload/props.d.ts +4 -1
  389. package/lib/upload/upload-trigger.d.ts +6 -0
  390. package/lib/upload/upload.d.ts +6 -0
  391. package/lib/upload/upload.type.d.ts +7 -7
  392. package/lib/upload/upload.variable.css +3 -0
  393. package/lib/upload/use-file-handler.d.ts +1 -1
  394. package/lib/virtual-render/index.d.ts +36 -9
  395. package/lib/virtual-render/index.js +295 -80
  396. package/lib/virtual-render/props.d.ts +16 -0
  397. package/lib/virtual-render/use-fix-top.d.ts +2 -7
  398. package/lib/virtual-render/use-scrollbar.d.ts +24 -0
  399. package/lib/virtual-render/v-virtual-render.d.ts +2 -1
  400. package/lib/virtual-render/virtual-render.css +76 -2
  401. package/lib/virtual-render/virtual-render.d.ts +16 -3
  402. package/lib/virtual-render/virtual-render.less +3 -3
  403. package/lib/virtual-render/virtual-render.variable.css +79 -2
  404. package/package.json +13 -49
  405. package/lib/rate/star.css +0 -27
  406. package/lib/rate/star.less +0 -34
  407. package/lib/shared/mask.d.ts +0 -11
@@ -1,9 +1,8 @@
1
1
  declare const props: {
2
- width: import("vue-types").VueTypeDef<string | number> & {
3
- default: string | number;
4
- };
5
- height: import("vue-types").VueTypeDef<string | number> & {
6
- default: string | number;
2
+ draggable: import("vue-types").VueTypeValidableDef<boolean> & {
3
+ default: boolean;
4
+ } & {
5
+ default: boolean;
7
6
  };
8
7
  confirmText: import("vue-types").VueTypeValidableDef<string> & {
9
8
  default: string;
@@ -30,16 +29,16 @@ declare const props: {
30
29
  } & {
31
30
  default: string;
32
31
  };
33
- headerAlign: import("vue-types").VueTypeValidableDef<"right" | "left" | "center"> & {
34
- default: "right" | "left" | "center";
32
+ headerAlign: import("vue-types").VueTypeValidableDef<"left" | "right" | "center"> & {
33
+ default: "left" | "right" | "center";
35
34
  };
36
- footerAlign: import("vue-types").VueTypeValidableDef<"right" | "left" | "center"> & {
37
- default: "right" | "left" | "center";
35
+ footerAlign: import("vue-types").VueTypeValidableDef<"left" | "right" | "center"> & {
36
+ default: "left" | "right" | "center";
38
37
  };
39
- theme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary"> & {
40
- default: "success" | "warning" | "danger" | "primary";
38
+ confirmButtonTheme: import("vue-types").VueTypeDef<"success" | "danger" | "warning" | "primary"> & {
39
+ default: "success" | "danger" | "warning" | "primary";
41
40
  };
42
- dialogType: import("vue-types").VueTypeDef<"show" | "process" | "operation" | "confirm">;
41
+ dialogType: import("vue-types").VueTypeDef<"show" | "process" | "confirm" | "operation">;
43
42
  isLoading: import("vue-types").VueTypeValidableDef<boolean> & {
44
43
  default: boolean;
45
44
  } & {
@@ -50,12 +49,8 @@ declare const props: {
50
49
  } & {
51
50
  default: boolean;
52
51
  };
53
- extCls: (import("vue-types").VueTypeValidableDef<string> & {
54
- default: string;
55
- }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
56
- default: () => unknown[];
57
- });
58
- scrollable: import("vue-types").VueTypeValidableDef<boolean> & {
52
+ width: import("vue-types").VueTypeDef<string | number>;
53
+ fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
59
54
  default: boolean;
60
55
  } & {
61
56
  default: boolean;
@@ -75,17 +70,6 @@ declare const props: {
75
70
  } & {
76
71
  default: boolean;
77
72
  };
78
- fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
79
- default: boolean;
80
- } & {
81
- default: boolean;
82
- };
83
- size: import("vue-types").VueTypeDef<"small" | "medium" | "large" | "normal">;
84
- draggable: import("vue-types").VueTypeValidableDef<boolean> & {
85
- default: boolean;
86
- } & {
87
- default: boolean;
88
- };
89
73
  quickClose: import("vue-types").VueTypeValidableDef<boolean> & {
90
74
  default: boolean;
91
75
  } & {
@@ -95,12 +79,6 @@ declare const props: {
95
79
  default: string | boolean | (() => HTMLElement);
96
80
  };
97
81
  zIndex: import("vue-types").VueTypeDef<string | number>;
98
- maxHeight: import("vue-types").VueTypeValidableDef<string> & {
99
- default: string;
100
- };
101
- direction: import("vue-types").VueTypeValidableDef<string> & {
102
- default: string;
103
- };
104
82
  animateType: import("vue-types").VueTypeValidableDef<string> & {
105
83
  default: string;
106
84
  } & {
@@ -110,17 +88,14 @@ declare const props: {
110
88
  default: "show" | "if";
111
89
  };
112
90
  beforeClose: import("vue-types").VueTypeDef<unknown>;
113
- multiInstance: import("vue-types").VueTypeValidableDef<boolean> & {
114
- default: boolean;
115
- } & {
116
- default: boolean;
117
- };
118
- infoType: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
119
91
  left: import("vue-types").VueTypeValidableDef<string> & {
120
92
  default: string;
121
93
  };
122
94
  top: import("vue-types").VueTypeValidableDef<string> & {
123
95
  default: string;
124
96
  };
97
+ extCls: import("vue-types").VueTypeValidableDef<string> & {
98
+ default: string;
99
+ };
125
100
  };
126
101
  export default props;
@@ -1,5 +1,5 @@
1
- export { overflowTitle } from '../overflow-title';
2
- export { default as mousewheel } from './mousewheel';
3
1
  export { default as clickoutside } from './clickoutside';
4
- export { default as bkTooltips } from './tooltips';
5
2
  export { default as bkEllipsis, createInstance as bkEllipsisInstance } from './ellipsis';
3
+ export { default as mousewheel } from './mousewheel';
4
+ export { default as bkTooltips } from './tooltips';
5
+ export { overflowTitle } from '../overflow-title';
@@ -1,9 +1,9 @@
1
1
  import "../styles/reset.css";
2
- import * as __WEBPACK_EXTERNAL_MODULE__overflow_title_f9bafa47__ from "../overflow-title";
2
+ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_plugin_popover_300e25d0__ from "../plugin-popover";
3
3
  import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
4
4
  import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_shared_edbdfb03__ from "../shared";
5
5
  import * as __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__ from "@popperjs/core";
6
- import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_plugin_popover_300e25d0__ from "../plugin-popover";
6
+ import * as __WEBPACK_EXTERNAL_MODULE__overflow_title_f9bafa47__ from "../overflow-title";
7
7
  /******/ var __webpack_modules__ = ({
8
8
 
9
9
  /***/ 2439:
@@ -682,56 +682,6 @@ __webpack_require__.d(__webpack_exports__, {
682
682
  overflowTitle: () => (/* reexport */ external_overflow_title_namespaceObject.overflowTitle)
683
683
  });
684
684
 
685
- ;// CONCATENATED MODULE: external "../overflow-title"
686
- var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
687
- var y = x => () => x
688
- const external_overflow_title_namespaceObject = x({ ["overflowTitle"]: () => __WEBPACK_EXTERNAL_MODULE__overflow_title_f9bafa47__.overflowTitle });
689
- // EXTERNAL MODULE: ../../node_modules/normalize-wheel/index.js
690
- var normalize_wheel = __webpack_require__(2439);
691
- var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel);
692
- ;// CONCATENATED MODULE: ../../packages/directives/src/mousewheel.ts
693
- /*
694
- * Tencent is pleased to support the open source community by making
695
- * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
696
- *
697
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
698
- *
699
- * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
700
- *
701
- * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
702
- *
703
- * ---------------------------------------------------
704
- * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
705
- * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
706
- * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
707
- * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
708
- *
709
- * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
710
- * the Software.
711
- *
712
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
713
- * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
714
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
715
- * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
716
- * IN THE SOFTWARE.
717
- */
718
-
719
- var isFirefox = typeof navigator !== 'undefined' && navigator.userAgent.toLowerCase().indexOf('firefox') > -1;
720
- var mousewheelHandler = function mousewheelHandler(element, callback) {
721
- if (element !== null && element !== void 0 && element.addEventListener) {
722
- element.addEventListener(isFirefox ? 'DOMMouseScroll' : 'mousewheel', function (e) {
723
- var normalized = normalize_wheel_default()(e);
724
- callback === null || callback === void 0 || callback.apply(this, [e, normalized]);
725
- });
726
- }
727
- };
728
- var mousewheel = {
729
- beforeMount: function beforeMount(el, binding) {
730
- console.error(el, binding);
731
- mousewheelHandler(el, binding.value);
732
- }
733
- };
734
- /* harmony default export */ const src_mousewheel = (mousewheel);
735
685
  ;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
736
686
  function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
737
687
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
@@ -868,6 +818,166 @@ function _typeof(o) {
868
818
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
869
819
  }, _typeof(o);
870
820
  }
821
+ ;// CONCATENATED MODULE: external "../plugin-popover"
822
+ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
823
+ var y = x => () => x
824
+ const plugin_popover_namespaceObject = x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_plugin_popover_300e25d0__["default"] });
825
+ ;// CONCATENATED MODULE: ../../packages/directives/src/ellipsis.ts
826
+
827
+ /*
828
+ * Tencent is pleased to support the open source community by making
829
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
830
+ *
831
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
832
+ *
833
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
834
+ *
835
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
836
+ *
837
+ * ---------------------------------------------------
838
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
839
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
840
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
841
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
842
+ *
843
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
844
+ * the Software.
845
+ *
846
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
847
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
848
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
849
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
850
+ * IN THE SOFTWARE.
851
+ */
852
+
853
+ var resolveOptions = function resolveOptions(el, binding) {
854
+ var options = {
855
+ content: '',
856
+ target: el
857
+ };
858
+ if (_typeof(binding) === 'object') {
859
+ Object.assign(options, binding);
860
+ if (Object.prototype.hasOwnProperty.call(binding, 'popoverOption')) {
861
+ Object.assign(options, binding.popoverOption);
862
+ }
863
+ } else {
864
+ options.content = binding;
865
+ }
866
+ return options;
867
+ };
868
+ var createInstance = function createInstance(el, binding) {
869
+ var instance = null;
870
+ var createTimer = null;
871
+ var hidePopTimer = null;
872
+ var options = resolveOptions(el, binding);
873
+ var disabled = options.disabled;
874
+ if (disabled || instance) {
875
+ return;
876
+ }
877
+ var handleContentEnter = function handleContentEnter() {
878
+ hidePopTimer && clearTimeout(hidePopTimer);
879
+ hidePopTimer = null;
880
+ };
881
+ var handleContentLeave = function handleContentLeave() {
882
+ var _instance, _instance2;
883
+ if (createTimer) {
884
+ clearTimeout(createTimer);
885
+ }
886
+ (_instance = instance) === null || _instance === void 0 || _instance.hide();
887
+ (_instance2 = instance) === null || _instance2 === void 0 || _instance2.close();
888
+ instance = null;
889
+ };
890
+ var handleMouseEnter = function handleMouseEnter() {
891
+ handleContentLeave();
892
+ createTimer && clearTimeout(createTimer);
893
+ createTimer = setTimeout(function () {
894
+ var _targetOptions$conten;
895
+ var targetOptions = resolveOptions(el, binding);
896
+ targetOptions.isShow = true;
897
+ targetOptions.content = typeof targetOptions.content === 'function' ? targetOptions.content() : (_targetOptions$conten = targetOptions.content) !== null && _targetOptions$conten !== void 0 ? _targetOptions$conten : el;
898
+ targetOptions.allowHtml = true;
899
+ Object.assign(targetOptions, {
900
+ onContentMouseenter: handleContentEnter,
901
+ onContentMouseleave: handleContentLeave
902
+ });
903
+ instance = (0,plugin_popover_namespaceObject["default"])(targetOptions);
904
+ }, 300);
905
+ };
906
+ var handleMouseLeave = function handleMouseLeave() {
907
+ hidePopTimer = setTimeout(function () {
908
+ var _instance3, _instance4;
909
+ if (createTimer) {
910
+ clearTimeout(createTimer);
911
+ }
912
+ (_instance3 = instance) === null || _instance3 === void 0 || _instance3.hide();
913
+ (_instance4 = instance) === null || _instance4 === void 0 || _instance4.close();
914
+ instance = null;
915
+ }, 120);
916
+ };
917
+ el.addEventListener('mouseenter', handleMouseEnter);
918
+ el.addEventListener('mouseleave', handleMouseLeave);
919
+ var destroyInstance = function destroyInstance(element) {
920
+ var _ref, _ref2;
921
+ handleMouseLeave();
922
+ (_ref = element !== null && element !== void 0 ? element : el) === null || _ref === void 0 || _ref.removeEventListener('mouseenter', handleMouseEnter);
923
+ (_ref2 = element !== null && element !== void 0 ? element : el) === null || _ref2 === void 0 || _ref2.removeEventListener('mouseleave', handleMouseLeave);
924
+ };
925
+ return {
926
+ destroyInstance: destroyInstance,
927
+ instance: instance
928
+ };
929
+ };
930
+ var ellipsis = {
931
+ mounted: function mounted(el, binding) {
932
+ createInstance(el, binding);
933
+ }
934
+ };
935
+ /* harmony default export */ const src_ellipsis = (ellipsis);
936
+ // EXTERNAL MODULE: ../../node_modules/normalize-wheel/index.js
937
+ var normalize_wheel = __webpack_require__(2439);
938
+ var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel);
939
+ ;// CONCATENATED MODULE: ../../packages/directives/src/mousewheel.ts
940
+ /*
941
+ * Tencent is pleased to support the open source community by making
942
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
943
+ *
944
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
945
+ *
946
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
947
+ *
948
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
949
+ *
950
+ * ---------------------------------------------------
951
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
952
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
953
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
954
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
955
+ *
956
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
957
+ * the Software.
958
+ *
959
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
960
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
961
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
962
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
963
+ * IN THE SOFTWARE.
964
+ */
965
+
966
+ var isFirefox = typeof navigator !== 'undefined' && navigator.userAgent.toLowerCase().indexOf('firefox') > -1;
967
+ var mousewheelHandler = function mousewheelHandler(element, callback) {
968
+ if (element !== null && element !== void 0 && element.addEventListener) {
969
+ element.addEventListener(isFirefox ? 'DOMMouseScroll' : 'mousewheel', function (e) {
970
+ var normalized = normalize_wheel_default()(e);
971
+ callback === null || callback === void 0 || callback.apply(this, [e, normalized]);
972
+ });
973
+ }
974
+ };
975
+ var mousewheel = {
976
+ beforeMount: function beforeMount(el, binding) {
977
+ mousewheelHandler(el, binding.value);
978
+ }
979
+ };
980
+ /* harmony default export */ const src_mousewheel = (mousewheel);
871
981
  ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
872
982
 
873
983
  function toPrimitive(t, r) {
@@ -1230,121 +1340,10 @@ function hide(el) {
1230
1340
  }
1231
1341
  }
1232
1342
  /* harmony default export */ const src_tooltips = (tooltips);
1233
- ;// CONCATENATED MODULE: external "../plugin-popover"
1234
- var plugin_popover_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1235
- var plugin_popover_y = x => () => x
1236
- const plugin_popover_namespaceObject = plugin_popover_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_plugin_popover_300e25d0__["default"] });
1237
- ;// CONCATENATED MODULE: ../../packages/directives/src/ellipsis.ts
1238
-
1239
- /*
1240
- * Tencent is pleased to support the open source community by making
1241
- * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1242
- *
1243
- * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1244
- *
1245
- * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1246
- *
1247
- * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
1248
- *
1249
- * ---------------------------------------------------
1250
- * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
1251
- * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
1252
- * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
1253
- * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
1254
- *
1255
- * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
1256
- * the Software.
1257
- *
1258
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
1259
- * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1260
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
1261
- * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
1262
- * IN THE SOFTWARE.
1263
- */
1264
-
1265
- var resolveOptions = function resolveOptions(el, binding) {
1266
- var options = {
1267
- content: '',
1268
- target: el
1269
- };
1270
- if (_typeof(binding) === 'object') {
1271
- Object.assign(options, binding);
1272
- if (Object.prototype.hasOwnProperty.call(binding, 'popoverOption')) {
1273
- Object.assign(options, binding.popoverOption);
1274
- }
1275
- } else {
1276
- options.content = binding;
1277
- }
1278
- return options;
1279
- };
1280
- var createInstance = function createInstance(el, binding) {
1281
- var instance = null;
1282
- var createTimer = null;
1283
- var hidePopTimer = null;
1284
- var options = resolveOptions(el, binding);
1285
- var disabled = options.disabled;
1286
- if (disabled || instance) {
1287
- return;
1288
- }
1289
- var handleContentEnter = function handleContentEnter() {
1290
- hidePopTimer && clearTimeout(hidePopTimer);
1291
- hidePopTimer = null;
1292
- };
1293
- var handleContentLeave = function handleContentLeave() {
1294
- var _instance, _instance2;
1295
- if (createTimer) {
1296
- clearTimeout(createTimer);
1297
- }
1298
- (_instance = instance) === null || _instance === void 0 || _instance.hide();
1299
- (_instance2 = instance) === null || _instance2 === void 0 || _instance2.close();
1300
- instance = null;
1301
- };
1302
- var handleMouseEnter = function handleMouseEnter() {
1303
- handleContentLeave();
1304
- createTimer && clearTimeout(createTimer);
1305
- createTimer = setTimeout(function () {
1306
- var _targetOptions$conten;
1307
- var targetOptions = resolveOptions(el, binding);
1308
- targetOptions.isShow = true;
1309
- targetOptions.content = typeof targetOptions.content === 'function' ? targetOptions.content() : (_targetOptions$conten = targetOptions.content) !== null && _targetOptions$conten !== void 0 ? _targetOptions$conten : el;
1310
- targetOptions.allowHtml = true;
1311
- Object.assign(targetOptions, {
1312
- onContentMouseenter: handleContentEnter,
1313
- onContentMouseleave: handleContentLeave
1314
- });
1315
- instance = (0,plugin_popover_namespaceObject["default"])(targetOptions);
1316
- }, 300);
1317
- };
1318
- var handleMouseLeave = function handleMouseLeave() {
1319
- hidePopTimer = setTimeout(function () {
1320
- var _instance3, _instance4;
1321
- if (createTimer) {
1322
- clearTimeout(createTimer);
1323
- }
1324
- (_instance3 = instance) === null || _instance3 === void 0 || _instance3.hide();
1325
- (_instance4 = instance) === null || _instance4 === void 0 || _instance4.close();
1326
- instance = null;
1327
- }, 120);
1328
- };
1329
- el.addEventListener('mouseenter', handleMouseEnter);
1330
- el.addEventListener('mouseleave', handleMouseLeave);
1331
- var destroyInstance = function destroyInstance(element) {
1332
- var _ref, _ref2;
1333
- handleMouseLeave();
1334
- (_ref = element !== null && element !== void 0 ? element : el) === null || _ref === void 0 || _ref.removeEventListener('mouseenter', handleMouseEnter);
1335
- (_ref2 = element !== null && element !== void 0 ? element : el) === null || _ref2 === void 0 || _ref2.removeEventListener('mouseleave', handleMouseLeave);
1336
- };
1337
- return {
1338
- destroyInstance: destroyInstance,
1339
- instance: instance
1340
- };
1341
- };
1342
- var ellipsis = {
1343
- mounted: function mounted(el, binding) {
1344
- createInstance(el, binding);
1345
- }
1346
- };
1347
- /* harmony default export */ const src_ellipsis = (ellipsis);
1343
+ ;// CONCATENATED MODULE: external "../overflow-title"
1344
+ var external_overflow_title_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1345
+ var external_overflow_title_y = x => () => x
1346
+ const external_overflow_title_namespaceObject = external_overflow_title_x({ ["overflowTitle"]: () => __WEBPACK_EXTERNAL_MODULE__overflow_title_f9bafa47__.overflowTitle });
1348
1347
  ;// CONCATENATED MODULE: ../../packages/directives/src/index.ts
1349
1348
  /*
1350
1349
  * Tencent is pleased to support the open source community by making
@@ -4,7 +4,7 @@ export declare type IOptions = {
4
4
  arrow: boolean;
5
5
  disabled: boolean;
6
6
  placement: Placement;
7
- content: string | VNode;
7
+ content: VNode | string;
8
8
  showOnInit: boolean;
9
9
  theme: string;
10
10
  trigger: string;
package/lib/dist.index.js CHANGED
@@ -24,7 +24,7 @@
24
24
  * IN THE SOFTWARE.
25
25
  */
26
26
  import './styles';
27
- export { default } from './preset';
28
27
  export * from './components';
29
- export * from './directives';
28
+ export { default } from './preset';
30
29
  export * from './config-provider';
30
+ export * from './directives';
@@ -2,8 +2,8 @@ declare const _default: import("vue").DefineComponent<{
2
2
  direction: import("vue-types").VueTypeDef<"horizontal" | "vertical"> & {
3
3
  default: "horizontal" | "vertical";
4
4
  };
5
- align: import("vue-types").VueTypeValidableDef<"right" | "left" | "center"> & {
6
- default: "right" | "left" | "center";
5
+ align: import("vue-types").VueTypeValidableDef<"left" | "right" | "center"> & {
6
+ default: "left" | "right" | "center";
7
7
  };
8
8
  color: import("vue-types").VueTypeValidableDef<string> & {
9
9
  default: string;
@@ -22,8 +22,8 @@ declare const _default: import("vue").DefineComponent<{
22
22
  direction: import("vue-types").VueTypeDef<"horizontal" | "vertical"> & {
23
23
  default: "horizontal" | "vertical";
24
24
  };
25
- align: import("vue-types").VueTypeValidableDef<"right" | "left" | "center"> & {
26
- default: "right" | "left" | "center";
25
+ align: import("vue-types").VueTypeValidableDef<"left" | "right" | "center"> & {
26
+ default: "left" | "right" | "center";
27
27
  };
28
28
  color: import("vue-types").VueTypeValidableDef<string> & {
29
29
  default: string;
@@ -43,6 +43,6 @@ declare const _default: import("vue").DefineComponent<{
43
43
  width: number;
44
44
  color: string;
45
45
  direction: "horizontal" | "vertical";
46
- align: "right" | "left" | "center";
46
+ align: "left" | "right" | "center";
47
47
  }, {}>;
48
48
  export default _default;
@@ -12,6 +12,7 @@
12
12
  --whitesmoke-color: #fafbfd;
13
13
  --disable-color: #dcdee5;
14
14
  --disable-bg-color: #f9fafd;
15
+ --border-color: #dcdee5;
15
16
  --font-size-base: 12px;
16
17
  --font-size-medium: 14px;
17
18
  --font-size-large: 16px;
@@ -123,6 +124,8 @@
123
124
  --search-select-placeholder-color: var(--light-gray);
124
125
  --search-select-message-color: var(--danger-color);
125
126
  --search-select-menu-border-color: var(--disable-color);
127
+ --select-active-color: #e1ecff;
128
+ --select-hover-color: #f5f7fa;
126
129
  }
127
130
  .bk-divider {
128
131
  position: relative;
@@ -3,8 +3,8 @@ declare const BkDivider: {
3
3
  direction: import("vue-types").VueTypeDef<"horizontal" | "vertical"> & {
4
4
  default: "horizontal" | "vertical";
5
5
  };
6
- align: import("vue-types").VueTypeValidableDef<"right" | "left" | "center"> & {
7
- default: "right" | "left" | "center";
6
+ align: import("vue-types").VueTypeValidableDef<"left" | "right" | "center"> & {
7
+ default: "left" | "right" | "center";
8
8
  };
9
9
  color: import("vue-types").VueTypeValidableDef<string> & {
10
10
  default: string;
@@ -23,8 +23,8 @@ declare const BkDivider: {
23
23
  direction: import("vue-types").VueTypeDef<"horizontal" | "vertical"> & {
24
24
  default: "horizontal" | "vertical";
25
25
  };
26
- align: import("vue-types").VueTypeValidableDef<"right" | "left" | "center"> & {
27
- default: "right" | "left" | "center";
26
+ align: import("vue-types").VueTypeValidableDef<"left" | "right" | "center"> & {
27
+ default: "left" | "right" | "center";
28
28
  };
29
29
  color: import("vue-types").VueTypeValidableDef<string> & {
30
30
  default: string;
@@ -44,7 +44,7 @@ declare const BkDivider: {
44
44
  width: number;
45
45
  color: string;
46
46
  direction: "horizontal" | "vertical";
47
- align: "right" | "left" | "center";
47
+ align: "left" | "right" | "center";
48
48
  }, true, {}, {}, {
49
49
  P: {};
50
50
  B: {};
@@ -56,8 +56,8 @@ declare const BkDivider: {
56
56
  direction: import("vue-types").VueTypeDef<"horizontal" | "vertical"> & {
57
57
  default: "horizontal" | "vertical";
58
58
  };
59
- align: import("vue-types").VueTypeValidableDef<"right" | "left" | "center"> & {
60
- default: "right" | "left" | "center";
59
+ align: import("vue-types").VueTypeValidableDef<"left" | "right" | "center"> & {
60
+ default: "left" | "right" | "center";
61
61
  };
62
62
  color: import("vue-types").VueTypeValidableDef<string> & {
63
63
  default: string;
@@ -77,7 +77,7 @@ declare const BkDivider: {
77
77
  width: number;
78
78
  color: string;
79
79
  direction: "horizontal" | "vertical";
80
- align: "right" | "left" | "center";
80
+ align: "left" | "right" | "center";
81
81
  }>;
82
82
  __isFragment?: never;
83
83
  __isTeleport?: never;
@@ -86,8 +86,8 @@ declare const BkDivider: {
86
86
  direction: import("vue-types").VueTypeDef<"horizontal" | "vertical"> & {
87
87
  default: "horizontal" | "vertical";
88
88
  };
89
- align: import("vue-types").VueTypeValidableDef<"right" | "left" | "center"> & {
90
- default: "right" | "left" | "center";
89
+ align: import("vue-types").VueTypeValidableDef<"left" | "right" | "center"> & {
90
+ default: "left" | "right" | "center";
91
91
  };
92
92
  color: import("vue-types").VueTypeValidableDef<string> & {
93
93
  default: string;
@@ -107,6 +107,6 @@ declare const BkDivider: {
107
107
  width: number;
108
108
  color: string;
109
109
  direction: "horizontal" | "vertical";
110
- align: "right" | "left" | "center";
110
+ align: "left" | "right" | "center";
111
111
  }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
112
112
  export default BkDivider;
@@ -132,8 +132,8 @@ var dividerProps = {
132
132
  }, [this.$slots["default"]()]);
133
133
  }
134
134
  return (0,external_vue_namespaceObject.createVNode)("div", {
135
- "class": [resolveClassName('divider'), resolveClassName("divider-".concat(this.direction))],
136
- "style": styles()
135
+ "style": styles(),
136
+ "class": [resolveClassName('divider'), resolveClassName("divider-".concat(this.direction))]
137
137
  }, [slots]);
138
138
  }
139
139
  }));
@@ -2,8 +2,8 @@ export declare const dividerProps: {
2
2
  direction: import("vue-types").VueTypeDef<"horizontal" | "vertical"> & {
3
3
  default: "horizontal" | "vertical";
4
4
  };
5
- align: import("vue-types").VueTypeValidableDef<"right" | "left" | "center"> & {
6
- default: "right" | "left" | "center";
5
+ align: import("vue-types").VueTypeValidableDef<"left" | "right" | "center"> & {
6
+ default: "left" | "right" | "center";
7
7
  };
8
8
  color: import("vue-types").VueTypeValidableDef<string> & {
9
9
  default: string;
@@ -1,6 +1,5 @@
1
1
  .bk-popover.bk-pop2-content {
2
2
  position: absolute;
3
- display: none;
4
3
  padding: 12px;
5
4
  font-size: 12px;
6
5
  color: #fff;
@@ -8,6 +7,9 @@
8
7
  border-radius: 4px;
9
8
  box-sizing: border-box;
10
9
  }
10
+ .bk-popover.bk-pop2-content.hidden {
11
+ display: none;
12
+ }
11
13
  .bk-popover.bk-pop2-content .bk-pop2-arrow {
12
14
  position: absolute;
13
15
  z-index: -1;