bkui-vue 0.0.2-beta.9 → 0.0.2-beta.91

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 +143 -161
  2. package/dist/index.esm.js +21050 -23162
  3. package/dist/index.umd.js +143 -161
  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.d.ts +1 -1
  15. package/lib/affix/index.d.ts +4 -4
  16. package/lib/affix/index.js +321 -1
  17. package/lib/alert/alert.css +7 -0
  18. package/lib/alert/alert.d.ts +5 -5
  19. package/lib/alert/alert.less +16 -6
  20. package/lib/alert/alert.variable.css +7 -0
  21. package/lib/alert/index.d.ts +10 -10
  22. package/lib/alert/index.js +214 -1
  23. package/lib/animate-number/index.d.ts +1 -1
  24. package/lib/animate-number/index.js +155 -1
  25. package/lib/backtop/backtop.css +8 -8
  26. package/lib/backtop/backtop.less +3 -1
  27. package/lib/backtop/backtop.variable.css +11 -11
  28. package/lib/backtop/index.d.ts +1 -1
  29. package/lib/backtop/index.js +188 -1
  30. package/lib/badge/badge.d.ts +2 -2
  31. package/lib/badge/index.d.ts +7 -7
  32. package/lib/badge/index.js +235 -1
  33. package/lib/breadcrumb/breadcrumb.css +4 -4
  34. package/lib/breadcrumb/breadcrumb.variable.css +4 -4
  35. package/lib/breadcrumb/index.d.ts +2 -2
  36. package/lib/breadcrumb/index.js +309 -1
  37. package/lib/button/button.css +20 -0
  38. package/lib/button/button.less +105 -94
  39. package/lib/button/button.variable.css +20 -0
  40. package/lib/button/index.d.ts +2 -2
  41. package/lib/button/index.js +321 -1
  42. package/lib/card/card.css +4 -4
  43. package/lib/card/card.d.ts +1 -1
  44. package/lib/card/card.variable.css +4 -4
  45. package/lib/card/index.d.ts +4 -4
  46. package/lib/card/index.js +285 -1
  47. package/lib/cascader/cascader.css +4 -4
  48. package/lib/cascader/cascader.d.ts +1 -0
  49. package/lib/cascader/cascader.variable.css +4 -4
  50. package/lib/cascader/index.d.ts +5 -2
  51. package/lib/cascader/index.js +2036 -2
  52. package/lib/cascader/interface.d.ts +1 -1
  53. package/lib/checkbox/checkbox-group.d.ts +6 -3
  54. package/lib/checkbox/checkbox.d.ts +6 -4
  55. package/lib/checkbox/index.d.ts +28 -19
  56. package/lib/checkbox/index.js +545 -1
  57. package/lib/code-diff/index.d.ts +1 -1
  58. package/lib/code-diff/index.js +5501 -1
  59. package/lib/collapse/index.d.ts +2 -2
  60. package/lib/collapse/index.js +570 -1
  61. package/lib/collapse-transition/index.d.ts +128 -2
  62. package/lib/collapse-transition/index.js +177 -1
  63. package/lib/color-picker/color-picker.d.ts +16 -0
  64. package/lib/color-picker/components/recommend-colors.d.ts +16 -0
  65. package/lib/color-picker/index.d.ts +19 -1
  66. package/lib/color-picker/index.js +2665 -1
  67. package/lib/components.js +530 -1
  68. package/lib/config-provider/config-provider.d.ts +3 -0
  69. package/lib/config-provider/index.d.ts +5 -1
  70. package/lib/config-provider/index.js +365 -1
  71. package/lib/config-provider/token.d.ts +1 -0
  72. package/lib/config-provider/use-global-config.d.ts +2 -0
  73. package/lib/config-provider/use-prefix.d.ts +2 -0
  74. package/lib/container/container.css +4 -4
  75. package/lib/container/container.variable.css +4 -4
  76. package/lib/container/index.d.ts +2 -2
  77. package/lib/container/index.js +391 -1
  78. package/lib/date-picker/date-picker.d.ts +4 -2
  79. package/lib/date-picker/index.d.ts +15 -8
  80. package/lib/date-picker/index.js +5555 -1
  81. package/lib/date-picker/panel/date-range.d.ts +2 -1
  82. package/lib/date-picker/time-picker.d.ts +1 -1
  83. package/lib/dialog/dialog.css +2 -0
  84. package/lib/dialog/dialog.variable.css +2 -0
  85. package/lib/dialog/index.d.ts +1 -1
  86. package/lib/dialog/index.js +975 -2
  87. package/lib/directives/index.js +1376 -2
  88. package/lib/directives/tooltips.d.ts +3 -2
  89. package/lib/dist.index.js +87 -1
  90. package/lib/divider/index.d.ts +1 -1
  91. package/lib/divider/index.js +169 -1
  92. package/lib/dropdown/dropdown.css +1 -0
  93. package/lib/dropdown/dropdown.variable.css +1 -0
  94. package/lib/dropdown/index.d.ts +2 -2
  95. package/lib/dropdown/index.js +369 -1
  96. package/lib/exception/index.d.ts +2 -2
  97. package/lib/exception/index.js +385 -1
  98. package/lib/fixed-navbar/index.d.ts +1 -1
  99. package/lib/fixed-navbar/index.js +154 -1
  100. package/lib/form/index.d.ts +3 -3
  101. package/lib/form/index.js +952 -1
  102. package/lib/hooks.d.ts +1 -1
  103. package/lib/hooks.js +73 -1
  104. package/lib/icon/angle-double-down-line.js +191 -1
  105. package/lib/icon/angle-double-left-line.js +191 -1
  106. package/lib/icon/angle-double-left.js +191 -1
  107. package/lib/icon/angle-double-right-line.js +191 -1
  108. package/lib/icon/angle-double-right.js +191 -1
  109. package/lib/icon/angle-double-up-line.js +191 -1
  110. package/lib/icon/angle-down-fill.js +191 -1
  111. package/lib/icon/angle-down-line.js +191 -1
  112. package/lib/icon/angle-down.js +191 -1
  113. package/lib/icon/angle-left.js +191 -1
  114. package/lib/icon/angle-right.js +191 -1
  115. package/lib/icon/angle-up-fill.js +191 -1
  116. package/lib/icon/angle-up.js +191 -1
  117. package/lib/icon/archive-fill.js +191 -1
  118. package/lib/icon/arrows-left.js +191 -1
  119. package/lib/icon/arrows-right.js +191 -1
  120. package/lib/icon/assistant.d.ts +4 -0
  121. package/lib/icon/assistant.js +191 -0
  122. package/lib/icon/audio-fill.js +191 -1
  123. package/lib/icon/bk.js +191 -1
  124. package/lib/icon/circle.js +191 -1
  125. package/lib/icon/close-line.js +191 -1
  126. package/lib/icon/close.js +191 -1
  127. package/lib/icon/code.js +191 -1
  128. package/lib/icon/cog-shape.js +191 -1
  129. package/lib/icon/collapse-left.js +191 -1
  130. package/lib/icon/copy-shape.js +191 -1
  131. package/lib/icon/copy.js +191 -1
  132. package/lib/icon/data-shape.js +191 -1
  133. package/lib/icon/del.js +191 -1
  134. package/lib/icon/doc-fill.js +191 -1
  135. package/lib/icon/done.js +191 -1
  136. package/lib/icon/down-shape.js +191 -1
  137. package/lib/icon/down-small.js +191 -1
  138. package/lib/icon/edit-line.js +191 -1
  139. package/lib/icon/ellipsis.js +191 -1
  140. package/lib/icon/enlarge-line.js +191 -1
  141. package/lib/icon/error.js +191 -1
  142. package/lib/icon/excel-fill.js +191 -1
  143. package/lib/icon/exclamation-circle-shape.js +191 -1
  144. package/lib/icon/eye.js +191 -1
  145. package/lib/icon/filliscreen-line.js +191 -1
  146. package/lib/icon/fix-line.js +191 -1
  147. package/lib/icon/fix-shape.js +191 -1
  148. package/lib/icon/folder-open.js +191 -1
  149. package/lib/icon/folder-shape-open.js +191 -1
  150. package/lib/icon/folder-shape.js +191 -1
  151. package/lib/icon/folder.js +191 -1
  152. package/lib/icon/funnel.js +191 -1
  153. package/lib/icon/help-document-fill.js +191 -1
  154. package/lib/icon/help-fill.js +191 -1
  155. package/lib/icon/help.js +191 -1
  156. package/lib/icon/image-fill.js +276 -1
  157. package/lib/icon/img-error.js +276 -1
  158. package/lib/icon/img-placehoulder.js +276 -1
  159. package/lib/icon/index.d.ts +1 -0
  160. package/lib/icon/index.js +2399 -1
  161. package/lib/icon/info-line.js +276 -1
  162. package/lib/icon/info.js +276 -1
  163. package/lib/icon/left-shape.js +276 -1
  164. package/lib/icon/left-turn-line.js +276 -1
  165. package/lib/icon/narrow-line.js +276 -1
  166. package/lib/icon/original.js +276 -1
  167. package/lib/icon/pdf-fill.js +276 -1
  168. package/lib/icon/play-shape.js +276 -1
  169. package/lib/icon/plus.js +276 -1
  170. package/lib/icon/ppt-fill.js +276 -1
  171. package/lib/icon/qq.js +276 -1
  172. package/lib/icon/right-shape.js +276 -1
  173. package/lib/icon/right-turn-line.js +276 -1
  174. package/lib/icon/search.js +276 -1
  175. package/lib/icon/share.js +276 -1
  176. package/lib/icon/spinner.js +276 -1
  177. package/lib/icon/success.js +276 -1
  178. package/lib/icon/switcher-loading.js +276 -1
  179. package/lib/icon/text-file.js +276 -1
  180. package/lib/icon/text-fill.js +276 -1
  181. package/lib/icon/transfer.js +276 -1
  182. package/lib/icon/tree-application-shape.js +276 -1
  183. package/lib/icon/unfull-screen.js +276 -1
  184. package/lib/icon/unvisible.js +276 -1
  185. package/lib/icon/up-shape.js +276 -1
  186. package/lib/icon/upload.js +276 -1
  187. package/lib/icon/video-fill.js +276 -1
  188. package/lib/icon/warn.js +276 -1
  189. package/lib/icon/weixin-pro.js +276 -1
  190. package/lib/icon/weixin.js +276 -1
  191. package/lib/image/index.d.ts +1 -1
  192. package/lib/image/index.js +641 -1
  193. package/lib/index.js +97 -1
  194. package/lib/info-box/index.js +1165 -2
  195. package/lib/info-box/info-box.css +2 -0
  196. package/lib/info-box/info-box.less +2 -1
  197. package/lib/info-box/info-box.variable.css +2 -0
  198. package/lib/input/index.d.ts +146 -50
  199. package/lib/input/index.js +1218 -1
  200. package/lib/input/input.css +38 -10
  201. package/lib/input/input.d.ts +100 -11
  202. package/lib/input/input.less +53 -14
  203. package/lib/input/input.variable.css +38 -10
  204. package/lib/input/util.d.ts +6 -0
  205. package/lib/link/index.d.ts +4 -4
  206. package/lib/link/index.js +160 -1
  207. package/lib/link/link.d.ts +1 -1
  208. package/lib/loading/index.d.ts +2 -2
  209. package/lib/loading/index.js +381 -1
  210. package/lib/loading/loading.css +4 -4
  211. package/lib/loading/loading.variable.css +4 -4
  212. package/lib/locale/index.js +465 -1
  213. package/lib/locale/lang/en.d.ts +1 -0
  214. package/lib/menu/index.d.ts +2 -2
  215. package/lib/menu/index.js +724 -1
  216. package/lib/menu/menu.css +4 -4
  217. package/lib/menu/menu.variable.css +4 -4
  218. package/lib/message/index.js +1795 -2
  219. package/lib/message/message.css +33 -9
  220. package/lib/message/message.less +78 -54
  221. package/lib/message/message.variable.css +33 -9
  222. package/lib/message/messageConstructor.d.ts +25 -4
  223. package/lib/modal/index.d.ts +2 -2
  224. package/lib/modal/index.js +396 -1
  225. package/lib/modal/modal.css +2 -0
  226. package/lib/modal/modal.variable.css +2 -0
  227. package/lib/navigation/index.d.ts +4 -1
  228. package/lib/navigation/index.js +367 -1
  229. package/lib/navigation/navigation.d.ts +1 -0
  230. package/lib/notify/index.js +397 -1
  231. package/lib/notify/notifyConstructor.d.ts +1 -1
  232. package/lib/overflow-title/components/overflow-title.d.ts +257 -1
  233. package/lib/overflow-title/index.d.ts +387 -2
  234. package/lib/overflow-title/index.js +461 -1
  235. package/lib/overflow-title/props.d.ts +129 -0
  236. package/lib/pagination/index.d.ts +2 -2
  237. package/lib/pagination/index.js +880 -1
  238. package/lib/plugin-popover/index.js +3905 -1
  239. package/lib/plugins/index.js +63 -1
  240. package/lib/pop-confirm/index.d.ts +1 -1
  241. package/lib/pop-confirm/index.js +273 -1
  242. package/lib/popover/content.d.ts +33 -0
  243. package/lib/popover/index.d.ts +74 -16
  244. package/lib/popover/index.js +3913 -1
  245. package/lib/popover/popover.css +1 -0
  246. package/lib/popover/popover.d.ts +40 -7
  247. package/lib/popover/popover.less +3 -2
  248. package/lib/popover/popover.variable.css +1 -0
  249. package/lib/popover/props.d.ts +25 -2
  250. package/lib/popover/use-floating.d.ts +1 -1
  251. package/lib/popover/use-popover-init.d.ts +2 -1
  252. package/lib/popover2/index.d.ts +1 -1
  253. package/lib/popover2/index.js +107 -1
  254. package/lib/preset.d.ts +2 -0
  255. package/lib/preset.js +93 -1
  256. package/lib/process/index.d.ts +1 -1
  257. package/lib/process/index.js +759 -2
  258. package/lib/progress/index.d.ts +1 -1
  259. package/lib/progress/index.js +431 -1
  260. package/lib/progress/progress.css +4 -4
  261. package/lib/progress/progress.variable.css +4 -4
  262. package/lib/radio/index.d.ts +23 -23
  263. package/lib/radio/index.js +627 -1
  264. package/lib/radio/radio-button.d.ts +4 -4
  265. package/lib/radio/radio-group.d.ts +4 -4
  266. package/lib/radio/radio.d.ts +4 -4
  267. package/lib/rate/index.d.ts +8 -4
  268. package/lib/rate/index.js +338 -1
  269. package/lib/rate/rate.d.ts +2 -1
  270. package/lib/resize-layout/index.d.ts +4 -4
  271. package/lib/resize-layout/index.js +429 -1
  272. package/lib/resize-layout/resize-layout.css +12 -0
  273. package/lib/resize-layout/resize-layout.d.ts +1 -1
  274. package/lib/resize-layout/resize-layout.less +12 -0
  275. package/lib/resize-layout/resize-layout.variable.css +12 -0
  276. package/lib/search-select/index.d.ts +62 -29
  277. package/lib/search-select/index.js +2729 -2
  278. package/lib/search-select/input.d.ts +5 -1
  279. package/lib/search-select/menu.d.ts +33 -2
  280. package/lib/search-select/search-select.css +38 -20
  281. package/lib/search-select/search-select.d.ts +23 -20
  282. package/lib/search-select/search-select.less +35 -14
  283. package/lib/search-select/search-select.variable.css +38 -20
  284. package/lib/search-select/selected.d.ts +5 -1
  285. package/lib/search-select/utils.d.ts +13 -5
  286. package/lib/select/common.d.ts +1 -0
  287. package/lib/select/index.d.ts +198 -72
  288. package/lib/select/index.js +2254 -2
  289. package/lib/select/option.d.ts +11 -0
  290. package/lib/select/select.css +13 -5
  291. package/lib/select/select.d.ts +83 -31
  292. package/lib/select/select.less +11 -1
  293. package/lib/select/select.variable.css +37 -29
  294. package/lib/select/selectTagInput.d.ts +8 -5
  295. package/lib/shared/helper.d.ts +1 -1
  296. package/lib/shared/index.js +2689 -1
  297. package/lib/shared/mask-manager.d.ts +3 -4
  298. package/lib/shared/pop-manager.d.ts +6 -2
  299. package/lib/shared/popover.d.ts +2 -2
  300. package/lib/shared/vue-types.d.ts +3 -2
  301. package/lib/sideslider/index.d.ts +1 -1
  302. package/lib/sideslider/index.js +714 -2
  303. package/lib/slider/index.d.ts +1 -1
  304. package/lib/slider/index.js +1291 -2
  305. package/lib/steps/index.d.ts +1 -1
  306. package/lib/steps/index.js +825 -2
  307. package/lib/styles/mixins/animate.css +4 -4
  308. package/lib/styles/mixins/animate.less +10 -6
  309. package/lib/styles/mixins/animate.variable.css +126 -4
  310. package/lib/styles/mixins/clearfix.css +8 -0
  311. package/lib/styles/mixins/clearfix.less +10 -0
  312. package/lib/styles/mixins/clearfix.variable.css +8 -0
  313. package/lib/styles/mixins/mixins.css +72 -0
  314. package/lib/styles/mixins/mixins.less +5 -0
  315. package/lib/styles/mixins/mixins.variable.css +72 -0
  316. package/lib/styles/mixins/popper.less +6 -5
  317. package/lib/swiper/index.d.ts +1 -1
  318. package/lib/swiper/index.js +336 -1
  319. package/lib/swiper/swiper.css +0 -6
  320. package/lib/swiper/swiper.less +0 -8
  321. package/lib/swiper/swiper.variable.css +0 -6
  322. package/lib/switcher/index.d.ts +30 -16
  323. package/lib/switcher/index.js +277 -1
  324. package/lib/switcher/switcher.css +4 -4
  325. package/lib/switcher/switcher.d.ts +74 -5
  326. package/lib/switcher/switcher.variable.css +4 -4
  327. package/lib/tab/index.d.ts +3 -3
  328. package/lib/tab/index.js +914 -1
  329. package/lib/tab/tab-nav.d.ts +12 -2
  330. package/lib/tab/tab-panel.d.ts +1 -1
  331. package/lib/table/components/table-cell.d.ts +22 -24
  332. package/lib/table/components/table-column.d.ts +125 -82
  333. package/lib/table/const.d.ts +24 -2
  334. package/lib/table/events.d.ts +26 -26
  335. package/lib/table/index.d.ts +281 -295
  336. package/lib/table/index.js +6243 -1
  337. package/lib/table/plugins/head-filter.css +3 -0
  338. package/lib/table/plugins/head-filter.less +3 -0
  339. package/lib/table/plugins/head-filter.variable.css +3 -0
  340. package/lib/table/plugins/settings.d.ts +7 -17
  341. package/lib/table/plugins/use-column-resize.d.ts +30 -10
  342. package/lib/table/plugins/use-fixed-column.d.ts +9 -9
  343. package/lib/table/plugins/use-pagination.d.ts +7 -4
  344. package/lib/table/props.d.ts +118 -58
  345. package/lib/table/render.d.ts +7 -17
  346. package/lib/table/table.css +83 -11
  347. package/lib/table/table.d.ts +95 -72
  348. package/lib/table/table.less +59 -21
  349. package/lib/table/table.variable.css +83 -11
  350. package/lib/table/use-attributes.d.ts +55 -0
  351. package/lib/table/use-column.d.ts +264 -49
  352. package/lib/table/use-common.d.ts +1608 -88
  353. package/lib/table/use-render.d.ts +11 -0
  354. package/lib/table/utils.d.ts +30 -29
  355. package/lib/table-column/index.d.ts +241 -408
  356. package/lib/table-column/index.js +766 -1
  357. package/lib/tag/index.d.ts +10 -10
  358. package/lib/tag/index.js +233 -1
  359. package/lib/tag/tag.d.ts +5 -5
  360. package/lib/tag-input/index.d.ts +49 -7
  361. package/lib/tag-input/index.js +1660 -1
  362. package/lib/tag-input/tag-input.css +9 -1
  363. package/lib/tag-input/tag-input.d.ts +32 -4
  364. package/lib/tag-input/tag-input.less +13 -4
  365. package/lib/tag-input/tag-input.variable.css +9 -1
  366. package/lib/tag-input/tag-props.d.ts +16 -2
  367. package/lib/time-picker/index.d.ts +4 -4
  368. package/lib/time-picker/index.js +71 -1
  369. package/lib/timeline/index.d.ts +1 -1
  370. package/lib/timeline/index.js +241 -1
  371. package/lib/transfer/index.d.ts +1 -1
  372. package/lib/transfer/index.js +673 -1
  373. package/lib/tree/constant.d.ts +2 -2
  374. package/lib/tree/index.d.ts +58 -22
  375. package/lib/tree/index.js +2512 -1
  376. package/lib/tree/props.d.ts +18 -6
  377. package/lib/tree/tree.d.ts +32 -11
  378. package/lib/tree/use-node-action.d.ts +5 -3
  379. package/lib/tree/use-node-attribute.d.ts +17 -8
  380. package/lib/tree/use-search.d.ts +2 -2
  381. package/lib/tree/use-tree-init.d.ts +1 -2
  382. package/lib/tree/util.d.ts +8 -3
  383. package/lib/upload/index.d.ts +1 -1
  384. package/lib/upload/index.js +2874 -2
  385. package/lib/upload/upload.css +4 -4
  386. package/lib/upload/upload.type.d.ts +1 -1
  387. package/lib/upload/upload.variable.css +4 -4
  388. package/lib/upload/use-file-handler.d.ts +2 -2
  389. package/lib/virtual-render/index.d.ts +43 -1
  390. package/lib/virtual-render/index.js +865 -1
  391. package/lib/virtual-render/props.d.ts +15 -0
  392. package/lib/virtual-render/v-virtual-render.d.ts +19 -1
  393. package/lib/virtual-render/virtual-render.d.ts +25 -0
  394. package/lib/volar.components.d.ts +24 -24
  395. package/package.json +29 -17
  396. package/lib/cascader/index.js.LICENSE.txt +0 -1
  397. package/lib/dialog/index.js.LICENSE.txt +0 -1
  398. package/lib/directives/index.js.LICENSE.txt +0 -14
  399. package/lib/info-box/index.js.LICENSE.txt +0 -1
  400. package/lib/message/index.js.LICENSE.txt +0 -6
  401. package/lib/process/index.js.LICENSE.txt +0 -1
  402. package/lib/search-select/index.js.LICENSE.txt +0 -1
  403. package/lib/select/index.js.LICENSE.txt +0 -1
  404. package/lib/sideslider/index.js.LICENSE.txt +0 -1
  405. package/lib/slider/index.js.LICENSE.txt +0 -1
  406. package/lib/steps/index.js.LICENSE.txt +0 -1
  407. package/lib/upload/index.js.LICENSE.txt +0 -1
@@ -1,2 +1,1376 @@
1
- /*! For license information please see index.js.LICENSE.txt */
2
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../overflow-title"),require("../shared"),require("@popperjs/core"),require("../plugin-popover"));else if("function"==typeof define&&define.amd)define(["../overflow-title","../shared","@popperjs/core","../plugin-popover"],t);else{var n="object"==typeof exports?t(require("../overflow-title"),require("../shared"),require("@popperjs/core"),require("../plugin-popover")):t(e["../overflow-title"],e["../shared"],e["@popperjs/core"],e["../plugin-popover"]);for(var r in n)("object"==typeof exports?exports:e)[r]=n[r]}}(self,((e,t,n,r)=>(()=>{var o={2439:(e,t,n)=>{e.exports=n(2527)},7430:e=>{"use strict";var t=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen,isInWorker:!t};e.exports=n},6377:e=>{var t,n,r,o,i,a,u,l,c,s,d,f,p,v,m,y=!1;function b(){if(!y){y=!0;var e=navigator.userAgent,b=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),h=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(f=/\b(iPhone|iP[ao]d)/.exec(e),p=/\b(iP[ao]d)/.exec(e),s=/Android/i.exec(e),v=/FBAN\/\w+;/i.exec(e),m=/Mobile/i.exec(e),d=!!/Win64/.exec(e),b){(t=b[1]?parseFloat(b[1]):b[5]?parseFloat(b[5]):NaN)&&document&&document.documentMode&&(t=document.documentMode);var w=/(?:Trident\/(\d+.\d+))/.exec(e);a=w?parseFloat(w[1])+4:t,n=b[2]?parseFloat(b[2]):NaN,r=b[3]?parseFloat(b[3]):NaN,(o=b[4]?parseFloat(b[4]):NaN)?(b=/(?:Chrome\/(\d+\.\d+))/.exec(e),i=b&&b[1]?parseFloat(b[1]):NaN):i=NaN}else t=n=r=i=o=NaN;if(h){if(h[1]){var g=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);u=!g||parseFloat(g[1].replace("_","."))}else u=!1;l=!!h[2],c=!!h[3]}else u=l=c=!1}}var h={ie:function(){return b()||t},ieCompatibilityMode:function(){return b()||a>t},ie64:function(){return h.ie()&&d},firefox:function(){return b()||n},opera:function(){return b()||r},webkit:function(){return b()||o},safari:function(){return h.webkit()},chrome:function(){return b()||i},windows:function(){return b()||l},osx:function(){return b()||u},linux:function(){return b()||c},iphone:function(){return b()||f},mobile:function(){return b()||f||p||s||m},nativeApp:function(){return b()||v},android:function(){return b()||s},ipad:function(){return b()||p}};e.exports=h},3541:(e,t,n)=>{"use strict";var r,o=n(7430);o.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=function(e,t){if(!o.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,i=n in document;if(!i){var a=document.createElement("div");a.setAttribute(n,"return;"),i="function"==typeof a[n]}return!i&&r&&"wheel"===e&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}},2527:(e,t,n)=>{"use strict";var r=n(6377),o=n(3541);function i(e){var t=0,n=0,r=0,o=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=10*t,o=10*n,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||o)&&e.deltaMode&&(1==e.deltaMode?(r*=40,o*=40):(r*=800,o*=800)),r&&!t&&(t=r<1?-1:1),o&&!n&&(n=o<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:o}}i.getEventType=function(){return r.firefox()?"DOMMouseScroll":o("wheel")?"wheel":"mousewheel"},e.exports=i},1040:t=>{"use strict";t.exports=e},9706:e=>{"use strict";e.exports=r},4212:e=>{"use strict";e.exports=t},5798:e=>{"use strict";e.exports=n}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return o[e](n,n.exports,a),n.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var u={};return(()=>{"use strict";a.r(u),a.d(u,{bkEllipsis:()=>j,bkEllipsisInstance:()=>O,bkTooltips:()=>T,clickoutside:()=>p,mousewheel:()=>o,overflowTitle:()=>e.overflowTitle});var e=a(1040),t=a(2439),n=a.n(t),r="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1;const o={beforeMount:function(e,t){var o,i;console.error(e,t),o=e,i=t.value,(null==o?void 0:o.addEventListener)&&o.addEventListener(r?"DOMMouseScroll":"mousewheel",(function(e){var t=n()(e);null==i||i.apply(this,[e,t])}))}};function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c,s=new Map;function d(e,t){var n,r=[];return Array.isArray(t.arg)?r=t.arg:(n=t.arg,"undefined"!=typeof Element&&n instanceof Element&&r.push(t.arg)),function(n,o){var i=t.instance.popperRef,a=n.target,u=null==o?void 0:o.target,l=!t||!t.instance,c=!a||!u,s=e.contains(a)||e.contains(u),d=e===a,f=r.length&&r.some((function(e){return null==e?void 0:e.contains(a)}))||r.length&&r.includes(u),p=i&&(i.contains(a)||i.contains(u));l||c||s||d||f||p||t.value(n,o)}}document.addEventListener("mousedown",(function(e){return c=e})),document.addEventListener("mouseup",(function(e){var t,n=i(s.values());try{for(n.s();!(t=n.n()).done;){var r,o=i(t.value);try{for(o.s();!(r=o.n()).done;)(0,r.value.documentHandler)(e,c)}catch(e){o.e(e)}finally{o.f()}}}catch(e){n.e(e)}finally{n.f()}}));var f={beforeMount:function(e,t){s.has(e)||s.set(e,[]),s.get(e).push({documentHandler:d(e,t),bindingFn:t.value})},updated:function(e,t){s.has(e)||s.set(e,[]);var n=s.get(e),r=n.findIndex((function(e){return e.bindingFn===t.oldValue})),o={documentHandler:d(e,t),bindingFn:t.value};r>=0?n.splice(r,1,o):n.push(o)},unmounted:function(e){s.delete(e)},install:function(e){e.directive("bkTooltips",f)}};const p=f;function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}var y=a(4212),b=a(5798),h=new Map;function w(e){var t={arrow:!0,disabled:!1,trigger:"hover",theme:"dark",content:"",showOnInit:!1,placement:"top",distance:8,extCls:"",delay:0,onShow:function(){},onHide:function(){}};return"object"===m(e.value)?Object.assign(t,e.value):t.content=e.value,t}function g(){var e=document.createElement("div");return e.className=(0,y.resolveClassName)("popper-arrow"),e.setAttribute("data-popper-arrow",""),e}function x(e){var t=h.get(e),n=t.popper,r=t.opts,o=r.disabled,i=r.content,a=r.arrow,u=r.onShow;if(!o){if(n.innerText=i,a){var l=g();n.appendChild(l)}document.body.appendChild(n);var c=function(e,t){var n=h.get(e).opts,r=n.placement,o=n.distance,i=n.showOnInit,a=(0,b.createPopper)(e,t,{placement:r,modifiers:[{name:"offset",options:{offset:[0,o]}}]});return i&&x(e),a}(e,n);u(),n.setAttribute("data-show",""),c.setOptions((function(e){return Object.assign(Object.assign({},e),{modifiers:[].concat((t=e.modifiers,function(e){if(Array.isArray(e))return v(e)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),[{name:"eventListeners",enabled:!0}])});var t})),c.forceUpdate(),h.get(e).popperInstance=c}}function E(e){if(h.get(e)){var t=h.get(e),n=t.popper,r=t.popperInstance,o=t.opts.onHide;n&&document.body.contains(n)&&(n.removeAttribute("data-show"),null==r||r.destroy(),document.body.removeChild(n),o())}}const T={beforeMount:function(e,t){var n=w(t),r=n.trigger,o=function(e){var t=e.content,n=e.arrow,r=e.theme,o=e.extCls,i="light"===r,a=y.bkZIndexManager.getPopperIndex(),u=document.createElement("div");if(u.className="".concat((0,y.resolveClassName)("popper")," ").concat(i?"light":"dark"," ").concat(o),u.innerText=t,u.style.zIndex=String(a),n){var l=g();u.appendChild(l)}return u}(n),i=null;if("hover"===r){var a=null;e.addEventListener("mouseenter",(function(){i=setTimeout((function(){x(e),clearTimeout(a),clearTimeout(i)}),n.delay)})),o.addEventListener("mouseenter",(function(){clearTimeout(a)})),e.addEventListener("mouseleave",(function(){clearTimeout(i),a=setTimeout((function(){E(e)}),100)})),e.addEventListener("click",(function(){E(e)})),o.addEventListener("mouseleave",(function(){clearTimeout(i),a=setTimeout((function(){E(e)}),100)}))}else"click"===r&&document.body.addEventListener("click",(function(t){e.contains(t.target)&&!o.hasAttribute("data-show")?i=setTimeout((function(){x(e),clearTimeout(i)}),n.delay):o.hasAttribute("data-show")&&E(e)}));h.set(e,{opts:n,popper:o,popperInstance:null})},updated:function(e,t){h.get(e).opts=w(t)},unmounted:function(e){E(e),h.delete(e)}};var M=a(9706),S=a.n(M),A=function(e,t){var n={content:"",target:e};return"object"===m(t)?Object.assign(n,t):n.content=t,n},O=function(e,t){var n=null,r=null,o=null;if(!A(e,t).disabled&&!n){var i=function(){o&&clearTimeout(o),o=null},a=function(){r&&clearTimeout(r),null==n||n.hide(),null==n||n.close(),n=null},u=function(){r&&clearTimeout(r),r=setTimeout((function(){var r=A(e,t);r.isShow=!0,r.content=r.content||e.innerHTML,r.allowHtml=!0,Object.assign(r,{onContentMouseenter:i,onContentMouseleave:a}),n=S()(r)}),100)},l=function(){o=setTimeout((function(){r&&clearTimeout(r),null==n||n.hide(),null==n||n.close(),n=null}),120)};return e.addEventListener("mouseenter",u),e.addEventListener("mouseleave",l),{destroyInstance:function(t){var n,r;l(),null===(n=null!=t?t:e)||void 0===n||n.removeEventListener("mouseenter",u),null===(r=null!=t?t:e)||void 0===r||r.removeEventListener("mouseleave",l)},instance:n}}};const j={mounted:function(e,t){O(e,t)}}})(),u})()));
1
+ import * as __WEBPACK_EXTERNAL_MODULE__overflow_title_f9bafa47__ from "../overflow-title";
2
+ import * as __WEBPACK_EXTERNAL_MODULE_vue__ from "vue";
3
+ import * as __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__ from "../shared";
4
+ import * as __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__ from "@popperjs/core";
5
+ import * as __WEBPACK_EXTERNAL_MODULE__plugin_popover_d49f5bb2__ from "../plugin-popover";
6
+ /******/ var __webpack_modules__ = ({
7
+
8
+ /***/ 2439:
9
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
10
+
11
+ module.exports = __webpack_require__(2527);
12
+
13
+
14
+ /***/ }),
15
+
16
+ /***/ 7430:
17
+ /***/ ((module) => {
18
+
19
+ /**
20
+ * Copyright (c) 2015, Facebook, Inc.
21
+ * All rights reserved.
22
+ *
23
+ * This source code is licensed under the BSD-style license found in the
24
+ * LICENSE file in the root directory of this source tree. An additional grant
25
+ * of patent rights can be found in the PATENTS file in the same directory.
26
+ *
27
+ * @providesModule ExecutionEnvironment
28
+ */
29
+
30
+ /*jslint evil: true */
31
+
32
+
33
+
34
+ var canUseDOM = !!(
35
+ typeof window !== 'undefined' &&
36
+ window.document &&
37
+ window.document.createElement
38
+ );
39
+
40
+ /**
41
+ * Simple, lightweight module assisting with the detection and context of
42
+ * Worker. Helps avoid circular dependencies and allows code to reason about
43
+ * whether or not they are in a Worker, even if they never include the main
44
+ * `ReactWorker` dependency.
45
+ */
46
+ var ExecutionEnvironment = {
47
+
48
+ canUseDOM: canUseDOM,
49
+
50
+ canUseWorkers: typeof Worker !== 'undefined',
51
+
52
+ canUseEventListeners:
53
+ canUseDOM && !!(window.addEventListener || window.attachEvent),
54
+
55
+ canUseViewport: canUseDOM && !!window.screen,
56
+
57
+ isInWorker: !canUseDOM // For now, this is true - might change in the future.
58
+
59
+ };
60
+
61
+ module.exports = ExecutionEnvironment;
62
+
63
+
64
+ /***/ }),
65
+
66
+ /***/ 6377:
67
+ /***/ ((module) => {
68
+
69
+ /**
70
+ * Copyright 2004-present Facebook. All Rights Reserved.
71
+ *
72
+ * @providesModule UserAgent_DEPRECATED
73
+ */
74
+
75
+ /**
76
+ * Provides entirely client-side User Agent and OS detection. You should prefer
77
+ * the non-deprecated UserAgent module when possible, which exposes our
78
+ * authoritative server-side PHP-based detection to the client.
79
+ *
80
+ * Usage is straightforward:
81
+ *
82
+ * if (UserAgent_DEPRECATED.ie()) {
83
+ * // IE
84
+ * }
85
+ *
86
+ * You can also do version checks:
87
+ *
88
+ * if (UserAgent_DEPRECATED.ie() >= 7) {
89
+ * // IE7 or better
90
+ * }
91
+ *
92
+ * The browser functions will return NaN if the browser does not match, so
93
+ * you can also do version compares the other way:
94
+ *
95
+ * if (UserAgent_DEPRECATED.ie() < 7) {
96
+ * // IE6 or worse
97
+ * }
98
+ *
99
+ * Note that the version is a float and may include a minor version number,
100
+ * so you should always use range operators to perform comparisons, not
101
+ * strict equality.
102
+ *
103
+ * **Note:** You should **strongly** prefer capability detection to browser
104
+ * version detection where it's reasonable:
105
+ *
106
+ * http://www.quirksmode.org/js/support.html
107
+ *
108
+ * Further, we have a large number of mature wrapper functions and classes
109
+ * which abstract away many browser irregularities. Check the documentation,
110
+ * grep for things, or ask on javascript@lists.facebook.com before writing yet
111
+ * another copy of "event || window.event".
112
+ *
113
+ */
114
+
115
+ var _populated = false;
116
+
117
+ // Browsers
118
+ var _ie, _firefox, _opera, _webkit, _chrome;
119
+
120
+ // Actual IE browser for compatibility mode
121
+ var _ie_real_version;
122
+
123
+ // Platforms
124
+ var _osx, _windows, _linux, _android;
125
+
126
+ // Architectures
127
+ var _win64;
128
+
129
+ // Devices
130
+ var _iphone, _ipad, _native;
131
+
132
+ var _mobile;
133
+
134
+ function _populate() {
135
+ if (_populated) {
136
+ return;
137
+ }
138
+
139
+ _populated = true;
140
+
141
+ // To work around buggy JS libraries that can't handle multi-digit
142
+ // version numbers, Opera 10's user agent string claims it's Opera
143
+ // 9, then later includes a Version/X.Y field:
144
+ //
145
+ // Opera/9.80 (foo) Presto/2.2.15 Version/10.10
146
+ var uas = navigator.userAgent;
147
+ var agent = /(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(uas);
148
+ var os = /(Mac OS X)|(Windows)|(Linux)/.exec(uas);
149
+
150
+ _iphone = /\b(iPhone|iP[ao]d)/.exec(uas);
151
+ _ipad = /\b(iP[ao]d)/.exec(uas);
152
+ _android = /Android/i.exec(uas);
153
+ _native = /FBAN\/\w+;/i.exec(uas);
154
+ _mobile = /Mobile/i.exec(uas);
155
+
156
+ // Note that the IE team blog would have you believe you should be checking
157
+ // for 'Win64; x64'. But MSDN then reveals that you can actually be coming
158
+ // from either x64 or ia64; so ultimately, you should just check for Win64
159
+ // as in indicator of whether you're in 64-bit IE. 32-bit IE on 64-bit
160
+ // Windows will send 'WOW64' instead.
161
+ _win64 = !!(/Win64/.exec(uas));
162
+
163
+ if (agent) {
164
+ _ie = agent[1] ? parseFloat(agent[1]) : (
165
+ agent[5] ? parseFloat(agent[5]) : NaN);
166
+ // IE compatibility mode
167
+ if (_ie && document && document.documentMode) {
168
+ _ie = document.documentMode;
169
+ }
170
+ // grab the "true" ie version from the trident token if available
171
+ var trident = /(?:Trident\/(\d+.\d+))/.exec(uas);
172
+ _ie_real_version = trident ? parseFloat(trident[1]) + 4 : _ie;
173
+
174
+ _firefox = agent[2] ? parseFloat(agent[2]) : NaN;
175
+ _opera = agent[3] ? parseFloat(agent[3]) : NaN;
176
+ _webkit = agent[4] ? parseFloat(agent[4]) : NaN;
177
+ if (_webkit) {
178
+ // We do not add the regexp to the above test, because it will always
179
+ // match 'safari' only since 'AppleWebKit' appears before 'Chrome' in
180
+ // the userAgent string.
181
+ agent = /(?:Chrome\/(\d+\.\d+))/.exec(uas);
182
+ _chrome = agent && agent[1] ? parseFloat(agent[1]) : NaN;
183
+ } else {
184
+ _chrome = NaN;
185
+ }
186
+ } else {
187
+ _ie = _firefox = _opera = _chrome = _webkit = NaN;
188
+ }
189
+
190
+ if (os) {
191
+ if (os[1]) {
192
+ // Detect OS X version. If no version number matches, set _osx to true.
193
+ // Version examples: 10, 10_6_1, 10.7
194
+ // Parses version number as a float, taking only first two sets of
195
+ // digits. If only one set of digits is found, returns just the major
196
+ // version number.
197
+ var ver = /(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(uas);
198
+
199
+ _osx = ver ? parseFloat(ver[1].replace('_', '.')) : true;
200
+ } else {
201
+ _osx = false;
202
+ }
203
+ _windows = !!os[2];
204
+ _linux = !!os[3];
205
+ } else {
206
+ _osx = _windows = _linux = false;
207
+ }
208
+ }
209
+
210
+ var UserAgent_DEPRECATED = {
211
+
212
+ /**
213
+ * Check if the UA is Internet Explorer.
214
+ *
215
+ *
216
+ * @return float|NaN Version number (if match) or NaN.
217
+ */
218
+ ie: function() {
219
+ return _populate() || _ie;
220
+ },
221
+
222
+ /**
223
+ * Check if we're in Internet Explorer compatibility mode.
224
+ *
225
+ * @return bool true if in compatibility mode, false if
226
+ * not compatibility mode or not ie
227
+ */
228
+ ieCompatibilityMode: function() {
229
+ return _populate() || (_ie_real_version > _ie);
230
+ },
231
+
232
+
233
+ /**
234
+ * Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we
235
+ * only need this because Skype can't handle 64-bit IE yet. We need to remove
236
+ * this when we don't need it -- tracked by #601957.
237
+ */
238
+ ie64: function() {
239
+ return UserAgent_DEPRECATED.ie() && _win64;
240
+ },
241
+
242
+ /**
243
+ * Check if the UA is Firefox.
244
+ *
245
+ *
246
+ * @return float|NaN Version number (if match) or NaN.
247
+ */
248
+ firefox: function() {
249
+ return _populate() || _firefox;
250
+ },
251
+
252
+
253
+ /**
254
+ * Check if the UA is Opera.
255
+ *
256
+ *
257
+ * @return float|NaN Version number (if match) or NaN.
258
+ */
259
+ opera: function() {
260
+ return _populate() || _opera;
261
+ },
262
+
263
+
264
+ /**
265
+ * Check if the UA is WebKit.
266
+ *
267
+ *
268
+ * @return float|NaN Version number (if match) or NaN.
269
+ */
270
+ webkit: function() {
271
+ return _populate() || _webkit;
272
+ },
273
+
274
+ /**
275
+ * For Push
276
+ * WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit
277
+ */
278
+ safari: function() {
279
+ return UserAgent_DEPRECATED.webkit();
280
+ },
281
+
282
+ /**
283
+ * Check if the UA is a Chrome browser.
284
+ *
285
+ *
286
+ * @return float|NaN Version number (if match) or NaN.
287
+ */
288
+ chrome : function() {
289
+ return _populate() || _chrome;
290
+ },
291
+
292
+
293
+ /**
294
+ * Check if the user is running Windows.
295
+ *
296
+ * @return bool `true' if the user's OS is Windows.
297
+ */
298
+ windows: function() {
299
+ return _populate() || _windows;
300
+ },
301
+
302
+
303
+ /**
304
+ * Check if the user is running Mac OS X.
305
+ *
306
+ * @return float|bool Returns a float if a version number is detected,
307
+ * otherwise true/false.
308
+ */
309
+ osx: function() {
310
+ return _populate() || _osx;
311
+ },
312
+
313
+ /**
314
+ * Check if the user is running Linux.
315
+ *
316
+ * @return bool `true' if the user's OS is some flavor of Linux.
317
+ */
318
+ linux: function() {
319
+ return _populate() || _linux;
320
+ },
321
+
322
+ /**
323
+ * Check if the user is running on an iPhone or iPod platform.
324
+ *
325
+ * @return bool `true' if the user is running some flavor of the
326
+ * iPhone OS.
327
+ */
328
+ iphone: function() {
329
+ return _populate() || _iphone;
330
+ },
331
+
332
+ mobile: function() {
333
+ return _populate() || (_iphone || _ipad || _android || _mobile);
334
+ },
335
+
336
+ nativeApp: function() {
337
+ // webviews inside of the native apps
338
+ return _populate() || _native;
339
+ },
340
+
341
+ android: function() {
342
+ return _populate() || _android;
343
+ },
344
+
345
+ ipad: function() {
346
+ return _populate() || _ipad;
347
+ }
348
+ };
349
+
350
+ module.exports = UserAgent_DEPRECATED;
351
+
352
+
353
+ /***/ }),
354
+
355
+ /***/ 3541:
356
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
357
+
358
+ /**
359
+ * Copyright 2013-2015, Facebook, Inc.
360
+ * All rights reserved.
361
+ *
362
+ * This source code is licensed under the BSD-style license found in the
363
+ * LICENSE file in the root directory of this source tree. An additional grant
364
+ * of patent rights can be found in the PATENTS file in the same directory.
365
+ *
366
+ * @providesModule isEventSupported
367
+ */
368
+
369
+
370
+
371
+ var ExecutionEnvironment = __webpack_require__(7430);
372
+
373
+ var useHasFeature;
374
+ if (ExecutionEnvironment.canUseDOM) {
375
+ useHasFeature =
376
+ document.implementation &&
377
+ document.implementation.hasFeature &&
378
+ // always returns true in newer browsers as per the standard.
379
+ // @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
380
+ document.implementation.hasFeature('', '') !== true;
381
+ }
382
+
383
+ /**
384
+ * Checks if an event is supported in the current execution environment.
385
+ *
386
+ * NOTE: This will not work correctly for non-generic events such as `change`,
387
+ * `reset`, `load`, `error`, and `select`.
388
+ *
389
+ * Borrows from Modernizr.
390
+ *
391
+ * @param {string} eventNameSuffix Event name, e.g. "click".
392
+ * @param {?boolean} capture Check if the capture phase is supported.
393
+ * @return {boolean} True if the event is supported.
394
+ * @internal
395
+ * @license Modernizr 3.0.0pre (Custom Build) | MIT
396
+ */
397
+ function isEventSupported(eventNameSuffix, capture) {
398
+ if (!ExecutionEnvironment.canUseDOM ||
399
+ capture && !('addEventListener' in document)) {
400
+ return false;
401
+ }
402
+
403
+ var eventName = 'on' + eventNameSuffix;
404
+ var isSupported = eventName in document;
405
+
406
+ if (!isSupported) {
407
+ var element = document.createElement('div');
408
+ element.setAttribute(eventName, 'return;');
409
+ isSupported = typeof element[eventName] === 'function';
410
+ }
411
+
412
+ if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {
413
+ // This is the only way to test support for the `wheel` event in IE9+.
414
+ isSupported = document.implementation.hasFeature('Events.wheel', '3.0');
415
+ }
416
+
417
+ return isSupported;
418
+ }
419
+
420
+ module.exports = isEventSupported;
421
+
422
+
423
+ /***/ }),
424
+
425
+ /***/ 2527:
426
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
427
+
428
+ /**
429
+ * Copyright (c) 2015, Facebook, Inc.
430
+ * All rights reserved.
431
+ *
432
+ * This source code is licensed under the BSD-style license found in the
433
+ * LICENSE file in the root directory of this source tree. An additional grant
434
+ * of patent rights can be found in the PATENTS file in the same directory.
435
+ *
436
+ * @providesModule normalizeWheel
437
+ * @typechecks
438
+ */
439
+
440
+
441
+
442
+ var UserAgent_DEPRECATED = __webpack_require__(6377);
443
+
444
+ var isEventSupported = __webpack_require__(3541);
445
+
446
+
447
+ // Reasonable defaults
448
+ var PIXEL_STEP = 10;
449
+ var LINE_HEIGHT = 40;
450
+ var PAGE_HEIGHT = 800;
451
+
452
+ /**
453
+ * Mouse wheel (and 2-finger trackpad) support on the web sucks. It is
454
+ * complicated, thus this doc is long and (hopefully) detailed enough to answer
455
+ * your questions.
456
+ *
457
+ * If you need to react to the mouse wheel in a predictable way, this code is
458
+ * like your bestest friend. * hugs *
459
+ *
460
+ * As of today, there are 4 DOM event types you can listen to:
461
+ *
462
+ * 'wheel' -- Chrome(31+), FF(17+), IE(9+)
463
+ * 'mousewheel' -- Chrome, IE(6+), Opera, Safari
464
+ * 'MozMousePixelScroll' -- FF(3.5 only!) (2010-2013) -- don't bother!
465
+ * 'DOMMouseScroll' -- FF(0.9.7+) since 2003
466
+ *
467
+ * So what to do? The is the best:
468
+ *
469
+ * normalizeWheel.getEventType();
470
+ *
471
+ * In your event callback, use this code to get sane interpretation of the
472
+ * deltas. This code will return an object with properties:
473
+ *
474
+ * spinX -- normalized spin speed (use for zoom) - x plane
475
+ * spinY -- " - y plane
476
+ * pixelX -- normalized distance (to pixels) - x plane
477
+ * pixelY -- " - y plane
478
+ *
479
+ * Wheel values are provided by the browser assuming you are using the wheel to
480
+ * scroll a web page by a number of lines or pixels (or pages). Values can vary
481
+ * significantly on different platforms and browsers, forgetting that you can
482
+ * scroll at different speeds. Some devices (like trackpads) emit more events
483
+ * at smaller increments with fine granularity, and some emit massive jumps with
484
+ * linear speed or acceleration.
485
+ *
486
+ * This code does its best to normalize the deltas for you:
487
+ *
488
+ * - spin is trying to normalize how far the wheel was spun (or trackpad
489
+ * dragged). This is super useful for zoom support where you want to
490
+ * throw away the chunky scroll steps on the PC and make those equal to
491
+ * the slow and smooth tiny steps on the Mac. Key data: This code tries to
492
+ * resolve a single slow step on a wheel to 1.
493
+ *
494
+ * - pixel is normalizing the desired scroll delta in pixel units. You'll
495
+ * get the crazy differences between browsers, but at least it'll be in
496
+ * pixels!
497
+ *
498
+ * - positive value indicates scrolling DOWN/RIGHT, negative UP/LEFT. This
499
+ * should translate to positive value zooming IN, negative zooming OUT.
500
+ * This matches the newer 'wheel' event.
501
+ *
502
+ * Why are there spinX, spinY (or pixels)?
503
+ *
504
+ * - spinX is a 2-finger side drag on the trackpad, and a shift + wheel turn
505
+ * with a mouse. It results in side-scrolling in the browser by default.
506
+ *
507
+ * - spinY is what you expect -- it's the classic axis of a mouse wheel.
508
+ *
509
+ * - I dropped spinZ/pixelZ. It is supported by the DOM 3 'wheel' event and
510
+ * probably is by browsers in conjunction with fancy 3D controllers .. but
511
+ * you know.
512
+ *
513
+ * Implementation info:
514
+ *
515
+ * Examples of 'wheel' event if you scroll slowly (down) by one step with an
516
+ * average mouse:
517
+ *
518
+ * OS X + Chrome (mouse) - 4 pixel delta (wheelDelta -120)
519
+ * OS X + Safari (mouse) - N/A pixel delta (wheelDelta -12)
520
+ * OS X + Firefox (mouse) - 0.1 line delta (wheelDelta N/A)
521
+ * Win8 + Chrome (mouse) - 100 pixel delta (wheelDelta -120)
522
+ * Win8 + Firefox (mouse) - 3 line delta (wheelDelta -120)
523
+ *
524
+ * On the trackpad:
525
+ *
526
+ * OS X + Chrome (trackpad) - 2 pixel delta (wheelDelta -6)
527
+ * OS X + Firefox (trackpad) - 1 pixel delta (wheelDelta N/A)
528
+ *
529
+ * On other/older browsers.. it's more complicated as there can be multiple and
530
+ * also missing delta values.
531
+ *
532
+ * The 'wheel' event is more standard:
533
+ *
534
+ * http://www.w3.org/TR/DOM-Level-3-Events/#events-wheelevents
535
+ *
536
+ * The basics is that it includes a unit, deltaMode (pixels, lines, pages), and
537
+ * deltaX, deltaY and deltaZ. Some browsers provide other values to maintain
538
+ * backward compatibility with older events. Those other values help us
539
+ * better normalize spin speed. Example of what the browsers provide:
540
+ *
541
+ * | event.wheelDelta | event.detail
542
+ * ------------------+------------------+--------------
543
+ * Safari v5/OS X | -120 | 0
544
+ * Safari v5/Win7 | -120 | 0
545
+ * Chrome v17/OS X | -120 | 0
546
+ * Chrome v17/Win7 | -120 | 0
547
+ * IE9/Win7 | -120 | undefined
548
+ * Firefox v4/OS X | undefined | 1
549
+ * Firefox v4/Win7 | undefined | 3
550
+ *
551
+ */
552
+ function normalizeWheel(/*object*/ event) /*object*/ {
553
+ var sX = 0, sY = 0, // spinX, spinY
554
+ pX = 0, pY = 0; // pixelX, pixelY
555
+
556
+ // Legacy
557
+ if ('detail' in event) { sY = event.detail; }
558
+ if ('wheelDelta' in event) { sY = -event.wheelDelta / 120; }
559
+ if ('wheelDeltaY' in event) { sY = -event.wheelDeltaY / 120; }
560
+ if ('wheelDeltaX' in event) { sX = -event.wheelDeltaX / 120; }
561
+
562
+ // side scrolling on FF with DOMMouseScroll
563
+ if ( 'axis' in event && event.axis === event.HORIZONTAL_AXIS ) {
564
+ sX = sY;
565
+ sY = 0;
566
+ }
567
+
568
+ pX = sX * PIXEL_STEP;
569
+ pY = sY * PIXEL_STEP;
570
+
571
+ if ('deltaY' in event) { pY = event.deltaY; }
572
+ if ('deltaX' in event) { pX = event.deltaX; }
573
+
574
+ if ((pX || pY) && event.deltaMode) {
575
+ if (event.deltaMode == 1) { // delta in LINE units
576
+ pX *= LINE_HEIGHT;
577
+ pY *= LINE_HEIGHT;
578
+ } else { // delta in PAGE units
579
+ pX *= PAGE_HEIGHT;
580
+ pY *= PAGE_HEIGHT;
581
+ }
582
+ }
583
+
584
+ // Fall-back if spin cannot be determined
585
+ if (pX && !sX) { sX = (pX < 1) ? -1 : 1; }
586
+ if (pY && !sY) { sY = (pY < 1) ? -1 : 1; }
587
+
588
+ return { spinX : sX,
589
+ spinY : sY,
590
+ pixelX : pX,
591
+ pixelY : pY };
592
+ }
593
+
594
+
595
+ /**
596
+ * The best combination if you prefer spinX + spinY normalization. It favors
597
+ * the older DOMMouseScroll for Firefox, as FF does not include wheelDelta with
598
+ * 'wheel' event, making spin speed determination impossible.
599
+ */
600
+ normalizeWheel.getEventType = function() /*string*/ {
601
+ return (UserAgent_DEPRECATED.firefox())
602
+ ? 'DOMMouseScroll'
603
+ : (isEventSupported('wheel'))
604
+ ? 'wheel'
605
+ : 'mousewheel';
606
+ };
607
+
608
+ module.exports = normalizeWheel;
609
+
610
+
611
+ /***/ })
612
+
613
+ /******/ });
614
+ /************************************************************************/
615
+ /******/ // The module cache
616
+ /******/ var __webpack_module_cache__ = {};
617
+ /******/
618
+ /******/ // The require function
619
+ /******/ function __webpack_require__(moduleId) {
620
+ /******/ // Check if module is in cache
621
+ /******/ var cachedModule = __webpack_module_cache__[moduleId];
622
+ /******/ if (cachedModule !== undefined) {
623
+ /******/ return cachedModule.exports;
624
+ /******/ }
625
+ /******/ // Create a new module (and put it into the cache)
626
+ /******/ var module = __webpack_module_cache__[moduleId] = {
627
+ /******/ // no module.id needed
628
+ /******/ // no module.loaded needed
629
+ /******/ exports: {}
630
+ /******/ };
631
+ /******/
632
+ /******/ // Execute the module function
633
+ /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
634
+ /******/
635
+ /******/ // Return the exports of the module
636
+ /******/ return module.exports;
637
+ /******/ }
638
+ /******/
639
+ /************************************************************************/
640
+ /******/ /* webpack/runtime/compat get default export */
641
+ /******/ (() => {
642
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
643
+ /******/ __webpack_require__.n = (module) => {
644
+ /******/ var getter = module && module.__esModule ?
645
+ /******/ () => (module['default']) :
646
+ /******/ () => (module);
647
+ /******/ __webpack_require__.d(getter, { a: getter });
648
+ /******/ return getter;
649
+ /******/ };
650
+ /******/ })();
651
+ /******/
652
+ /******/ /* webpack/runtime/define property getters */
653
+ /******/ (() => {
654
+ /******/ // define getter functions for harmony exports
655
+ /******/ __webpack_require__.d = (exports, definition) => {
656
+ /******/ for(var key in definition) {
657
+ /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
658
+ /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
659
+ /******/ }
660
+ /******/ }
661
+ /******/ };
662
+ /******/ })();
663
+ /******/
664
+ /******/ /* webpack/runtime/hasOwnProperty shorthand */
665
+ /******/ (() => {
666
+ /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
667
+ /******/ })();
668
+ /******/
669
+ /************************************************************************/
670
+ var __webpack_exports__ = {};
671
+ // This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
672
+ (() => {
673
+
674
+ // EXPORTS
675
+ __webpack_require__.d(__webpack_exports__, {
676
+ kn: () => (/* reexport */ src_ellipsis),
677
+ mq: () => (/* reexport */ createInstance),
678
+ ls: () => (/* reexport */ src_tooltips),
679
+ cx: () => (/* reexport */ clickoutside),
680
+ SJ: () => (/* reexport */ src_mousewheel),
681
+ $s: () => (/* reexport */ external_overflow_title_namespaceObject.overflowTitle)
682
+ });
683
+
684
+ ;// CONCATENATED MODULE: external "../overflow-title"
685
+ var x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
686
+ var y = x => () => x
687
+ const external_overflow_title_namespaceObject = x({ ["overflowTitle"]: () => __WEBPACK_EXTERNAL_MODULE__overflow_title_f9bafa47__.overflowTitle });
688
+ // EXTERNAL MODULE: ../../node_modules/normalize-wheel/index.js
689
+ var normalize_wheel = __webpack_require__(2439);
690
+ var normalize_wheel_default = /*#__PURE__*/__webpack_require__.n(normalize_wheel);
691
+ ;// CONCATENATED MODULE: ../../packages/directives/src/mousewheel.ts
692
+ /*
693
+ * Tencent is pleased to support the open source community by making
694
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
695
+ *
696
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
697
+ *
698
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
699
+ *
700
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
701
+ *
702
+ * ---------------------------------------------------
703
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
704
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
705
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
706
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
707
+ *
708
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
709
+ * the Software.
710
+ *
711
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
712
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
713
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
714
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
715
+ * IN THE SOFTWARE.
716
+ */
717
+
718
+ var isFirefox = typeof navigator !== 'undefined' && navigator.userAgent.toLowerCase().indexOf('firefox') > -1;
719
+ var mousewheelHandler = function mousewheelHandler(element, callback) {
720
+ if (element !== null && element !== void 0 && element.addEventListener) {
721
+ element.addEventListener(isFirefox ? 'DOMMouseScroll' : 'mousewheel', function (e) {
722
+ var normalized = normalize_wheel_default()(e);
723
+ callback === null || callback === void 0 ? void 0 : callback.apply(this, [e, normalized]);
724
+ });
725
+ }
726
+ };
727
+ var mousewheel = {
728
+ beforeMount: function beforeMount(el, binding) {
729
+ console.error(el, binding);
730
+ mousewheelHandler(el, binding.value);
731
+ }
732
+ };
733
+ /* harmony default export */ const src_mousewheel = (mousewheel);
734
+ ;// CONCATENATED MODULE: ../../packages/directives/src/clickoutside.ts
735
+ 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; } } }; }
736
+ 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); }
737
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
738
+ /*
739
+ * Tencent is pleased to support the open source community by making
740
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
741
+ *
742
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
743
+ *
744
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
745
+ *
746
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
747
+ *
748
+ * ---------------------------------------------------
749
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
750
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
751
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
752
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
753
+ *
754
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
755
+ * the Software.
756
+ *
757
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
758
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
759
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
760
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
761
+ * IN THE SOFTWARE.
762
+ */
763
+ var isElement = function isElement(e) {
764
+ if (typeof Element === 'undefined') return false;
765
+ return e instanceof Element;
766
+ };
767
+ var nodeList = new Map();
768
+ var startClick;
769
+ document.addEventListener('mousedown', function (e) {
770
+ return startClick = e;
771
+ });
772
+ document.addEventListener('mouseup', function (e) {
773
+ var _iterator = _createForOfIteratorHelper(nodeList.values()),
774
+ _step;
775
+ try {
776
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
777
+ var handlers = _step.value;
778
+ var _iterator2 = _createForOfIteratorHelper(handlers),
779
+ _step2;
780
+ try {
781
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
782
+ var documentHandler = _step2.value.documentHandler;
783
+ documentHandler(e, startClick);
784
+ }
785
+ } catch (err) {
786
+ _iterator2.e(err);
787
+ } finally {
788
+ _iterator2.f();
789
+ }
790
+ }
791
+ } catch (err) {
792
+ _iterator.e(err);
793
+ } finally {
794
+ _iterator.f();
795
+ }
796
+ });
797
+ function createDocumentHandler(el, binding) {
798
+ var excludes = [];
799
+ if (Array.isArray(binding.arg)) {
800
+ excludes = binding.arg;
801
+ } else if (isElement(binding.arg)) {
802
+ excludes.push(binding.arg);
803
+ }
804
+ return function (mouseup, mousedown) {
805
+ var popperRef = binding.instance.popperRef;
806
+ var mouseUpTarget = mouseup.target;
807
+ var mouseDownTarget = mousedown === null || mousedown === void 0 ? void 0 : mousedown.target;
808
+ var isBound = !binding || !binding.instance;
809
+ var isTargetExists = !mouseUpTarget || !mouseDownTarget;
810
+ var isContainedByEl = el.contains(mouseUpTarget) || el.contains(mouseDownTarget);
811
+ var isSelf = el === mouseUpTarget;
812
+ var isTargetExcluded = excludes.length && excludes.some(function (item) {
813
+ return item === null || item === void 0 ? void 0 : item.contains(mouseUpTarget);
814
+ }) || excludes.length && excludes.includes(mouseDownTarget);
815
+ var isContainedByPopper = popperRef && (popperRef.contains(mouseUpTarget) || popperRef.contains(mouseDownTarget));
816
+ if (isBound || isTargetExists || isContainedByEl || isSelf || isTargetExcluded || isContainedByPopper) {
817
+ return;
818
+ }
819
+ binding.value(mouseup, mousedown);
820
+ };
821
+ }
822
+ var ClickOutside = {
823
+ beforeMount: function beforeMount(el, binding) {
824
+ if (!nodeList.has(el)) {
825
+ nodeList.set(el, []);
826
+ }
827
+ nodeList.get(el).push({
828
+ documentHandler: createDocumentHandler(el, binding),
829
+ bindingFn: binding.value
830
+ });
831
+ },
832
+ updated: function updated(el, binding) {
833
+ if (!nodeList.has(el)) {
834
+ nodeList.set(el, []);
835
+ }
836
+ var handlers = nodeList.get(el);
837
+ var oldHandlerIndex = handlers.findIndex(function (item) {
838
+ return item.bindingFn === binding.oldValue;
839
+ });
840
+ var newHandler = {
841
+ documentHandler: createDocumentHandler(el, binding),
842
+ bindingFn: binding.value
843
+ };
844
+ if (oldHandlerIndex >= 0) {
845
+ // replace the old handler to the new handler
846
+ handlers.splice(oldHandlerIndex, 1, newHandler);
847
+ } else {
848
+ handlers.push(newHandler);
849
+ }
850
+ },
851
+ unmounted: function unmounted(el) {
852
+ // remove all listeners when a component unmounted
853
+ nodeList["delete"](el);
854
+ }
855
+ };
856
+ ClickOutside.install = function (app) {
857
+ app.directive('bkTooltips', ClickOutside);
858
+ };
859
+ /* harmony default export */ const clickoutside = (ClickOutside);
860
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/typeof.js
861
+ function _typeof(obj) {
862
+ "@babel/helpers - typeof";
863
+
864
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
865
+ return typeof obj;
866
+ } : function (obj) {
867
+ return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
868
+ }, _typeof(obj);
869
+ }
870
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js
871
+
872
+ function _toPrimitive(input, hint) {
873
+ if (_typeof(input) !== "object" || input === null) return input;
874
+ var prim = input[Symbol.toPrimitive];
875
+ if (prim !== undefined) {
876
+ var res = prim.call(input, hint || "default");
877
+ if (_typeof(res) !== "object") return res;
878
+ throw new TypeError("@@toPrimitive must return a primitive value.");
879
+ }
880
+ return (hint === "string" ? String : Number)(input);
881
+ }
882
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
883
+
884
+
885
+ function _toPropertyKey(arg) {
886
+ var key = _toPrimitive(arg, "string");
887
+ return _typeof(key) === "symbol" ? key : String(key);
888
+ }
889
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
890
+
891
+ function _defineProperty(obj, key, value) {
892
+ key = _toPropertyKey(key);
893
+ if (key in obj) {
894
+ Object.defineProperty(obj, key, {
895
+ value: value,
896
+ enumerable: true,
897
+ configurable: true,
898
+ writable: true
899
+ });
900
+ } else {
901
+ obj[key] = value;
902
+ }
903
+ return obj;
904
+ }
905
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
906
+ function arrayLikeToArray_arrayLikeToArray(arr, len) {
907
+ if (len == null || len > arr.length) len = arr.length;
908
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
909
+ return arr2;
910
+ }
911
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js
912
+
913
+ function _arrayWithoutHoles(arr) {
914
+ if (Array.isArray(arr)) return arrayLikeToArray_arrayLikeToArray(arr);
915
+ }
916
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/iterableToArray.js
917
+ function _iterableToArray(iter) {
918
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
919
+ }
920
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
921
+
922
+ function unsupportedIterableToArray_unsupportedIterableToArray(o, minLen) {
923
+ if (!o) return;
924
+ if (typeof o === "string") return arrayLikeToArray_arrayLikeToArray(o, minLen);
925
+ var n = Object.prototype.toString.call(o).slice(8, -1);
926
+ if (n === "Object" && o.constructor) n = o.constructor.name;
927
+ if (n === "Map" || n === "Set") return Array.from(o);
928
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray_arrayLikeToArray(o, minLen);
929
+ }
930
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js
931
+ function _nonIterableSpread() {
932
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
933
+ }
934
+ ;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/toConsumableArray.js
935
+
936
+
937
+
938
+
939
+ function _toConsumableArray(arr) {
940
+ return _arrayWithoutHoles(arr) || _iterableToArray(arr) || unsupportedIterableToArray_unsupportedIterableToArray(arr) || _nonIterableSpread();
941
+ }
942
+ ;// CONCATENATED MODULE: external "vue"
943
+ var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
944
+ var external_vue_y = x => () => x
945
+ const external_vue_namespaceObject = external_vue_x({ ["h"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.h, ["render"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.render });
946
+ ;// CONCATENATED MODULE: external "../shared"
947
+ var external_shared_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
948
+ var external_shared_y = x => () => x
949
+ const external_shared_namespaceObject = external_shared_x({ ["bkZIndexManager"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.bkZIndexManager, ["resolveClassName"]: () => __WEBPACK_EXTERNAL_MODULE__shared_65459f0a__.resolveClassName });
950
+ ;// CONCATENATED MODULE: external "@popperjs/core"
951
+ var core_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
952
+ var core_y = x => () => x
953
+ const core_namespaceObject = core_x({ ["createPopper"]: () => __WEBPACK_EXTERNAL_MODULE__popperjs_core_a5c7319c__.createPopper });
954
+ ;// CONCATENATED MODULE: ../../packages/directives/src/tooltips.ts
955
+
956
+
957
+
958
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
959
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
960
+ /*
961
+ * Tencent is pleased to support the open source community by making
962
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
963
+ *
964
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
965
+ *
966
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
967
+ *
968
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
969
+ *
970
+ * ---------------------------------------------------
971
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
972
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
973
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
974
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
975
+ *
976
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
977
+ * the Software.
978
+ *
979
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
980
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
981
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
982
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
983
+ * IN THE SOFTWARE.
984
+ */
985
+
986
+
987
+
988
+ var tooltips_nodeList = new Map();
989
+ var tooltips = {
990
+ beforeMount: function beforeMount(el, binding) {
991
+ var opts = getOpts(binding);
992
+ var trigger = opts.trigger;
993
+ var popper = renderContent(opts);
994
+ var delayTimeout = null;
995
+ if (trigger === 'hover') {
996
+ var hideTimeout = null;
997
+ el.addEventListener('mouseenter', function () {
998
+ delayTimeout = setTimeout(function () {
999
+ show(el);
1000
+ clearTimeout(hideTimeout);
1001
+ clearTimeout(delayTimeout);
1002
+ }, opts.delay);
1003
+ });
1004
+ popper.addEventListener('mouseenter', function () {
1005
+ clearTimeout(hideTimeout);
1006
+ });
1007
+ el.addEventListener('mouseleave', function () {
1008
+ clearTimeout(delayTimeout);
1009
+ hideTimeout = setTimeout(function () {
1010
+ hide(el);
1011
+ }, 100);
1012
+ });
1013
+ el.addEventListener('click', function () {
1014
+ hide(el);
1015
+ });
1016
+ popper.addEventListener('mouseleave', function () {
1017
+ clearTimeout(delayTimeout);
1018
+ hideTimeout = setTimeout(function () {
1019
+ hide(el);
1020
+ }, 100);
1021
+ });
1022
+ } else if (trigger === 'click') {
1023
+ document.body.addEventListener('click', function (event) {
1024
+ if (el.contains(event.target) && !popper.hasAttribute('data-show')) {
1025
+ delayTimeout = setTimeout(function () {
1026
+ show(el);
1027
+ clearTimeout(delayTimeout);
1028
+ }, opts.delay);
1029
+ } else if (popper.hasAttribute('data-show')) {
1030
+ hide(el);
1031
+ }
1032
+ });
1033
+ }
1034
+ tooltips_nodeList.set(el, {
1035
+ opts: opts,
1036
+ popper: popper,
1037
+ popperInstance: null
1038
+ });
1039
+ },
1040
+ updated: function updated(el, binding) {
1041
+ tooltips_nodeList.get(el).opts = getOpts(binding);
1042
+ },
1043
+ unmounted: function unmounted(el) {
1044
+ hide(el);
1045
+ tooltips_nodeList["delete"](el);
1046
+ }
1047
+ };
1048
+ /**
1049
+ * 初始化配置
1050
+ * @returns tooltips配置
1051
+ */
1052
+ function initOptions() {
1053
+ var defaultOpts = {
1054
+ arrow: true,
1055
+ disabled: false,
1056
+ trigger: 'hover',
1057
+ theme: 'dark',
1058
+ content: '',
1059
+ showOnInit: false,
1060
+ placement: 'top',
1061
+ distance: 8,
1062
+ extCls: '',
1063
+ sameWidth: false,
1064
+ delay: 0,
1065
+ onShow: function onShow() {},
1066
+ onHide: function onHide() {}
1067
+ };
1068
+ return defaultOpts;
1069
+ }
1070
+ /**
1071
+ * 获取配置
1072
+ * @returns tooltips配置
1073
+ */
1074
+ function getOpts(binding) {
1075
+ var opts = initOptions();
1076
+ if (_typeof(binding.value) === 'object') {
1077
+ Object.assign(opts, binding.value);
1078
+ } else {
1079
+ opts.content = binding.value;
1080
+ }
1081
+ return opts;
1082
+ }
1083
+ /**
1084
+ * 创建tooltips DOM
1085
+ * @param opts
1086
+ * @returns
1087
+ */
1088
+ function renderContext(value, content) {
1089
+ if (typeof value === 'string') {
1090
+ content.innerText = value;
1091
+ } else {
1092
+ // 如果 content 是 Vue 组件的实例,则挂载它
1093
+ var container = document.createElement('div');
1094
+ var vnode = (0,external_vue_namespaceObject.h)(value);
1095
+ (0,external_vue_namespaceObject.render)(vnode, container);
1096
+ content.innerHTML = container.innerHTML;
1097
+ }
1098
+ }
1099
+ function renderContent(opts) {
1100
+ var value = opts.content,
1101
+ hasArrow = opts.arrow,
1102
+ theme = opts.theme,
1103
+ extCls = opts.extCls;
1104
+ var isLight = theme === 'light';
1105
+ var zIndex = external_shared_namespaceObject.bkZIndexManager.getPopperIndex();
1106
+ var content = document.createElement('div');
1107
+ content.className = "".concat((0,external_shared_namespaceObject.resolveClassName)('popper'), " ").concat(isLight ? 'light' : 'dark', " ").concat(extCls);
1108
+ content.innerText = value;
1109
+ content.style.zIndex = String(zIndex);
1110
+ renderContext(value, content);
1111
+ if (hasArrow) {
1112
+ var arrow = renderArrow();
1113
+ content.appendChild(arrow);
1114
+ }
1115
+ return content;
1116
+ }
1117
+ /**
1118
+ * 渲染箭头dom
1119
+ * @returns arrow DOM
1120
+ */
1121
+ function renderArrow() {
1122
+ var arrow = document.createElement('div');
1123
+ arrow.className = (0,external_shared_namespaceObject.resolveClassName)('popper-arrow');
1124
+ arrow.setAttribute('data-popper-arrow', '');
1125
+ return arrow;
1126
+ }
1127
+ /**
1128
+ * 创建popper实例
1129
+ * @param el
1130
+ * @param popper
1131
+ * @returns popper实例
1132
+ */
1133
+ function createPopperInstance(el, popper) {
1134
+ var _nodeList$get = tooltips_nodeList.get(el),
1135
+ opts = _nodeList$get.opts;
1136
+ var placement = opts.placement,
1137
+ distance = opts.distance,
1138
+ showOnInit = opts.showOnInit,
1139
+ sameWidth = opts.sameWidth;
1140
+ var popperInstance = (0,core_namespaceObject.createPopper)(el, popper, {
1141
+ placement: placement,
1142
+ modifiers: [{
1143
+ name: 'offset',
1144
+ options: {
1145
+ offset: [0, distance]
1146
+ }
1147
+ }].concat(_toConsumableArray(sameWidth ? [{
1148
+ name: 'sameWidth',
1149
+ enabled: true,
1150
+ phase: 'beforeWrite',
1151
+ requires: ['computeStyles'],
1152
+ fn: function fn(_ref) {
1153
+ var state = _ref.state;
1154
+ state.styles.popper.width = "".concat(state.rects.reference.width, "px");
1155
+ },
1156
+ effect: function effect(_ref2) {
1157
+ var state = _ref2.state;
1158
+ state.elements.popper.style.overflowWrap = 'break-word';
1159
+ state.elements.popper.style.width = "".concat(state.elements.reference.offsetWidth, "px");
1160
+ }
1161
+ }] : []))
1162
+ });
1163
+ if (showOnInit) show(el);
1164
+ return popperInstance;
1165
+ }
1166
+ /**
1167
+ * 显示
1168
+ * @param el
1169
+ */
1170
+ function show(el) {
1171
+ var _nodeList$get2 = tooltips_nodeList.get(el),
1172
+ popper = _nodeList$get2.popper,
1173
+ opts = _nodeList$get2.opts;
1174
+ var disabled = opts.disabled,
1175
+ content = opts.content,
1176
+ hasArrow = opts.arrow,
1177
+ onShow = opts.onShow;
1178
+ if (disabled) return;
1179
+ renderContext(content, popper);
1180
+ if (hasArrow) {
1181
+ var arrow = renderArrow();
1182
+ popper.appendChild(arrow);
1183
+ }
1184
+ document.body.appendChild(popper);
1185
+ var popperInstance = createPopperInstance(el, popper);
1186
+ onShow();
1187
+ // Make the tooltip visible
1188
+ popper.setAttribute('data-show', '');
1189
+ // Enable the event listeners
1190
+ popperInstance.setOptions(function (options) {
1191
+ return _objectSpread(_objectSpread({}, options), {}, {
1192
+ modifiers: [].concat(_toConsumableArray(options.modifiers), [{
1193
+ name: 'eventListeners',
1194
+ enabled: true
1195
+ }])
1196
+ });
1197
+ });
1198
+ // Update its position
1199
+ popperInstance.forceUpdate();
1200
+ tooltips_nodeList.get(el).popperInstance = popperInstance;
1201
+ }
1202
+ /**
1203
+ * 隐藏
1204
+ * @param el
1205
+ */
1206
+ function hide(el) {
1207
+ if (!tooltips_nodeList.get(el)) return;
1208
+ var _nodeList$get3 = tooltips_nodeList.get(el),
1209
+ popper = _nodeList$get3.popper,
1210
+ popperInstance = _nodeList$get3.popperInstance,
1211
+ opts = _nodeList$get3.opts;
1212
+ var onHide = opts.onHide;
1213
+ if (popper && document.body.contains(popper)) {
1214
+ popper.removeAttribute('data-show');
1215
+ popperInstance === null || popperInstance === void 0 ? void 0 : popperInstance.destroy();
1216
+ document.body.removeChild(popper);
1217
+ onHide();
1218
+ }
1219
+ }
1220
+ /* harmony default export */ const src_tooltips = (tooltips);
1221
+ ;// CONCATENATED MODULE: external "../plugin-popover"
1222
+ var external_plugin_popover_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
1223
+ var external_plugin_popover_y = x => () => x
1224
+ const external_plugin_popover_namespaceObject = external_plugin_popover_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE__plugin_popover_d49f5bb2__["default"] });
1225
+ ;// CONCATENATED MODULE: ../../packages/directives/src/ellipsis.ts
1226
+
1227
+ /*
1228
+ * Tencent is pleased to support the open source community by making
1229
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1230
+ *
1231
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1232
+ *
1233
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1234
+ *
1235
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
1236
+ *
1237
+ * ---------------------------------------------------
1238
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
1239
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
1240
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
1241
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
1242
+ *
1243
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
1244
+ * the Software.
1245
+ *
1246
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
1247
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1248
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
1249
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
1250
+ * IN THE SOFTWARE.
1251
+ */
1252
+
1253
+ var resolveOptions = function resolveOptions(el, binding) {
1254
+ var options = {
1255
+ content: '',
1256
+ target: el
1257
+ };
1258
+ if (_typeof(binding) === 'object') {
1259
+ Object.assign(options, binding);
1260
+ if (Object.prototype.hasOwnProperty.call(binding, 'popoverOption')) {
1261
+ Object.assign(options, binding.popoverOption);
1262
+ }
1263
+ } else {
1264
+ options.content = binding;
1265
+ }
1266
+ return options;
1267
+ };
1268
+ var createInstance = function createInstance(el, binding) {
1269
+ var instance = null;
1270
+ var createTimer = null;
1271
+ var hidePopTimer = null;
1272
+ var options = resolveOptions(el, binding);
1273
+ var disabled = options.disabled;
1274
+ if (disabled || instance) {
1275
+ return;
1276
+ }
1277
+ var handleContentEnter = function handleContentEnter() {
1278
+ hidePopTimer && clearTimeout(hidePopTimer);
1279
+ hidePopTimer = null;
1280
+ };
1281
+ var handleContentLeave = function handleContentLeave() {
1282
+ var _instance, _instance2;
1283
+ if (createTimer) {
1284
+ clearTimeout(createTimer);
1285
+ }
1286
+ (_instance = instance) === null || _instance === void 0 ? void 0 : _instance.hide();
1287
+ (_instance2 = instance) === null || _instance2 === void 0 ? void 0 : _instance2.close();
1288
+ instance = null;
1289
+ };
1290
+ var handleMouseEnter = function handleMouseEnter() {
1291
+ handleContentLeave();
1292
+ createTimer && clearTimeout(createTimer);
1293
+ createTimer = setTimeout(function () {
1294
+ var _targetOptions$conten;
1295
+ var targetOptions = resolveOptions(el, binding);
1296
+ targetOptions.isShow = true;
1297
+ targetOptions.content = typeof targetOptions.content === 'function' ? targetOptions.content() : (_targetOptions$conten = targetOptions.content) !== null && _targetOptions$conten !== void 0 ? _targetOptions$conten : el;
1298
+ targetOptions.allowHtml = true;
1299
+ Object.assign(targetOptions, {
1300
+ onContentMouseenter: handleContentEnter,
1301
+ onContentMouseleave: handleContentLeave
1302
+ });
1303
+ instance = (0,external_plugin_popover_namespaceObject["default"])(targetOptions);
1304
+ }, 300);
1305
+ };
1306
+ var handleMouseLeave = function handleMouseLeave() {
1307
+ hidePopTimer = setTimeout(function () {
1308
+ var _instance3, _instance4;
1309
+ if (createTimer) {
1310
+ clearTimeout(createTimer);
1311
+ }
1312
+ (_instance3 = instance) === null || _instance3 === void 0 ? void 0 : _instance3.hide();
1313
+ (_instance4 = instance) === null || _instance4 === void 0 ? void 0 : _instance4.close();
1314
+ instance = null;
1315
+ }, 120);
1316
+ };
1317
+ el.addEventListener('mouseenter', handleMouseEnter);
1318
+ el.addEventListener('mouseleave', handleMouseLeave);
1319
+ var destroyInstance = function destroyInstance(element) {
1320
+ var _ref, _ref2;
1321
+ handleMouseLeave();
1322
+ (_ref = element !== null && element !== void 0 ? element : el) === null || _ref === void 0 ? void 0 : _ref.removeEventListener('mouseenter', handleMouseEnter);
1323
+ (_ref2 = element !== null && element !== void 0 ? element : el) === null || _ref2 === void 0 ? void 0 : _ref2.removeEventListener('mouseleave', handleMouseLeave);
1324
+ };
1325
+ return {
1326
+ destroyInstance: destroyInstance,
1327
+ instance: instance
1328
+ };
1329
+ };
1330
+ var ellipsis = {
1331
+ mounted: function mounted(el, binding) {
1332
+ createInstance(el, binding);
1333
+ }
1334
+ };
1335
+ /* harmony default export */ const src_ellipsis = (ellipsis);
1336
+ ;// CONCATENATED MODULE: ../../packages/directives/src/index.ts
1337
+ /*
1338
+ * Tencent is pleased to support the open source community by making
1339
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
1340
+ *
1341
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
1342
+ *
1343
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
1344
+ *
1345
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
1346
+ *
1347
+ * ---------------------------------------------------
1348
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
1349
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
1350
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
1351
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
1352
+ *
1353
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
1354
+ * the Software.
1355
+ *
1356
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
1357
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1358
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
1359
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
1360
+ * IN THE SOFTWARE.
1361
+ */
1362
+
1363
+
1364
+
1365
+
1366
+
1367
+ // export { createInstance as bkEllipsisInstance } from './ellipsis';
1368
+ })();
1369
+
1370
+ var __webpack_exports__bkEllipsis = __webpack_exports__.kn;
1371
+ var __webpack_exports__bkEllipsisInstance = __webpack_exports__.mq;
1372
+ var __webpack_exports__bkTooltips = __webpack_exports__.ls;
1373
+ var __webpack_exports__clickoutside = __webpack_exports__.cx;
1374
+ var __webpack_exports__mousewheel = __webpack_exports__.SJ;
1375
+ var __webpack_exports__overflowTitle = __webpack_exports__.$s;
1376
+ export { __webpack_exports__bkEllipsis as bkEllipsis, __webpack_exports__bkEllipsisInstance as bkEllipsisInstance, __webpack_exports__bkTooltips as bkTooltips, __webpack_exports__clickoutside as clickoutside, __webpack_exports__mousewheel as mousewheel, __webpack_exports__overflowTitle as overflowTitle };