bkui-vue 0.0.1-beta.23 → 0.0.1-beta.230

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 (608) hide show
  1. package/dist/index.cjs.js +173 -0
  2. package/dist/index.esm.js +38108 -0
  3. package/dist/index.umd.js +173 -0
  4. package/dist/style.css +1 -5099
  5. package/dist/style.variable.css +1 -0
  6. package/lib/affix/affix.css +3 -0
  7. package/lib/affix/affix.d.ts +47 -0
  8. package/lib/affix/affix.less +5 -0
  9. package/lib/affix/affix.variable.css +122 -0
  10. package/lib/affix/index.d.ts +143 -0
  11. package/lib/affix/index.js +1 -0
  12. package/lib/alert/alert.css +5 -3
  13. package/lib/alert/alert.less +7 -3
  14. package/lib/alert/alert.variable.css +34 -6
  15. package/lib/alert/index.js +1 -1
  16. package/lib/animate-number/index.js +1 -1
  17. package/lib/backtop/backtop.css +8 -0
  18. package/lib/backtop/backtop.d.ts +2 -2
  19. package/lib/backtop/backtop.less +8 -0
  20. package/lib/backtop/backtop.variable.css +37 -3
  21. package/lib/backtop/index.d.ts +7 -7
  22. package/lib/backtop/index.js +1 -10
  23. package/lib/badge/badge.css +5 -5
  24. package/lib/badge/badge.d.ts +28 -7
  25. package/lib/badge/badge.less +5 -6
  26. package/lib/badge/badge.variable.css +34 -8
  27. package/lib/badge/index.d.ts +68 -18
  28. package/lib/badge/index.js +1 -1
  29. package/lib/breadcrumb/breadcrumb.css +51 -0
  30. package/lib/breadcrumb/breadcrumb.variable.css +80 -3
  31. package/lib/breadcrumb/index.js +1 -1
  32. package/lib/button/button.css +87 -49
  33. package/lib/button/button.d.ts +28 -7
  34. package/lib/button/button.less +74 -41
  35. package/lib/button/button.variable.css +116 -52
  36. package/lib/button/index.d.ts +45 -12
  37. package/lib/button/index.js +1 -1
  38. package/lib/card/card.css +96 -1
  39. package/lib/card/card.d.ts +47 -6
  40. package/lib/card/card.less +50 -2
  41. package/lib/card/card.variable.css +125 -4
  42. package/lib/card/index.d.ts +113 -17
  43. package/lib/card/index.js +1 -1
  44. package/lib/cascader/cascader-panel.d.ts +100 -0
  45. package/lib/cascader/cascader.css +173 -0
  46. package/lib/cascader/cascader.d.ts +303 -0
  47. package/lib/cascader/cascader.less +196 -0
  48. package/lib/cascader/cascader.variable.css +292 -0
  49. package/lib/cascader/index.d.ts +868 -0
  50. package/lib/cascader/index.js +1 -0
  51. package/lib/cascader/interface.d.ts +51 -0
  52. package/lib/cascader/node.d.ts +31 -0
  53. package/lib/cascader/store.d.ts +23 -0
  54. package/lib/checkbox/checkbox-group.d.ts +16 -0
  55. package/lib/checkbox/checkbox.css +38 -6
  56. package/lib/checkbox/checkbox.d.ts +16 -14
  57. package/lib/checkbox/checkbox.less +48 -6
  58. package/lib/checkbox/checkbox.variable.css +67 -9
  59. package/lib/checkbox/common.d.ts +3 -3
  60. package/lib/checkbox/index.d.ts +40 -23
  61. package/lib/checkbox/index.js +1 -1
  62. package/lib/checkbox/type.d.ts +2 -6
  63. package/lib/code-diff/code-diff.css +72 -1
  64. package/lib/code-diff/code-diff.d.ts +10 -1
  65. package/lib/code-diff/code-diff.less +94 -1
  66. package/lib/code-diff/code-diff.variable.css +101 -4
  67. package/lib/code-diff/index.d.ts +151 -3
  68. package/lib/code-diff/index.js +1 -0
  69. package/lib/collapse/collapse-panel.d.ts +72 -0
  70. package/lib/collapse/collapse.css +28 -12
  71. package/lib/collapse/collapse.d.ts +11 -52
  72. package/lib/collapse/collapse.less +54 -29
  73. package/lib/collapse/collapse.variable.css +147 -12
  74. package/lib/collapse/index.d.ts +113 -16
  75. package/lib/collapse/index.js +1 -1
  76. package/lib/collapse/props.d.ts +121 -0
  77. package/lib/collapse/utils.d.ts +11 -0
  78. package/lib/color-picker/color-picker.css +275 -0
  79. package/lib/color-picker/color-picker.d.ts +144 -0
  80. package/lib/color-picker/color-picker.less +325 -0
  81. package/lib/color-picker/color-picker.variable.css +394 -0
  82. package/lib/color-picker/components/color-input.d.ts +42 -0
  83. package/lib/color-picker/components/hue-slider.d.ts +41 -0
  84. package/lib/color-picker/components/input-container.d.ts +42 -0
  85. package/lib/color-picker/components/recommend-colors.d.ts +51 -0
  86. package/lib/color-picker/components/saturation-panel.d.ts +41 -0
  87. package/lib/color-picker/index.d.ts +254 -0
  88. package/lib/color-picker/index.js +1 -0
  89. package/lib/color-picker/utils.d.ts +37 -0
  90. package/lib/components.d.ts +28 -7
  91. package/lib/components.js +1 -0
  92. package/lib/container/col.d.ts +51 -0
  93. package/lib/container/container.css +91 -0
  94. package/lib/container/container.d.ts +83 -0
  95. package/lib/container/container.less +20 -0
  96. package/lib/container/container.variable.css +210 -0
  97. package/lib/container/index.d.ts +223 -0
  98. package/lib/container/index.js +1 -0
  99. package/lib/container/row.d.ts +4 -0
  100. package/lib/date-picker/base/confirm.d.ts +74 -0
  101. package/lib/date-picker/base/date-table.d.ts +102 -0
  102. package/lib/date-picker/base/picker-dropdown.d.ts +73 -0
  103. package/lib/date-picker/base/time-spinner.d.ts +153 -0
  104. package/lib/date-picker/date-picker.css +18 -2
  105. package/lib/date-picker/date-picker.d.ts +40 -13
  106. package/lib/date-picker/date-picker.less +23 -2
  107. package/lib/date-picker/date-picker.variable.css +47 -5
  108. package/lib/date-picker/index.d.ts +100 -39
  109. package/lib/date-picker/index.js +1 -1
  110. package/lib/date-picker/interface.d.ts +9 -0
  111. package/lib/date-picker/panel/date-range.d.ts +452 -0
  112. package/lib/date-picker/panel/date.d.ts +550 -0
  113. package/lib/date-picker/panel/time.d.ts +450 -0
  114. package/lib/date-picker/props.d.ts +51 -1
  115. package/lib/date-picker/time-picker.d.ts +381 -0
  116. package/lib/date-picker/utils.d.ts +22 -1
  117. package/lib/dialog/dialog.css +144 -22
  118. package/lib/dialog/dialog.d.ts +275 -58
  119. package/lib/dialog/dialog.less +97 -23
  120. package/lib/dialog/dialog.variable.css +144 -22
  121. package/lib/dialog/index.d.ts +607 -130
  122. package/lib/dialog/index.js +1 -1
  123. package/lib/dialog/props.d.ts +138 -0
  124. package/lib/directives/ellipsis.d.ts +7 -0
  125. package/lib/directives/index.d.ts +1 -0
  126. package/lib/directives/index.js +2 -15
  127. package/lib/directives/index.js.LICENSE.txt +14 -0
  128. package/lib/directives/tooltips.d.ts +1 -1
  129. package/lib/dist.index.js +1 -0
  130. package/lib/divider/divider.d.ts +1 -1
  131. package/lib/divider/divider.variable.css +29 -3
  132. package/lib/divider/index.d.ts +4 -4
  133. package/lib/divider/index.js +1 -1
  134. package/lib/divider/props.d.ts +21 -0
  135. package/lib/dropdown/const.d.ts +4 -0
  136. package/lib/dropdown/dropdown.css +13 -7
  137. package/lib/dropdown/dropdown.d.ts +34 -3
  138. package/lib/dropdown/dropdown.less +47 -34
  139. package/lib/dropdown/dropdown.variable.css +42 -10
  140. package/lib/dropdown/index.d.ts +71 -10
  141. package/lib/dropdown/index.js +1 -1
  142. package/lib/exception/exception.css +40 -14
  143. package/lib/exception/exception.d.ts +10 -3
  144. package/lib/exception/exception.less +59 -22
  145. package/lib/exception/exception.variable.css +69 -17
  146. package/lib/exception/index.d.ts +23 -8
  147. package/lib/exception/index.js +1 -1
  148. package/lib/exception/typings/index.d.ts +4 -0
  149. package/lib/fixed-navbar/fixed-navbar.d.ts +16 -2
  150. package/lib/fixed-navbar/fixed-navbar.variable.css +29 -3
  151. package/lib/fixed-navbar/index.d.ts +40 -5
  152. package/lib/fixed-navbar/index.js +1 -1
  153. package/lib/form/compose-form-item.d.ts +16 -0
  154. package/lib/form/form-item.d.ts +16 -5
  155. package/lib/form/form.css +96 -12
  156. package/lib/form/form.d.ts +28 -11
  157. package/lib/form/form.less +144 -45
  158. package/lib/form/form.variable.css +215 -12
  159. package/lib/form/index.d.ts +88 -30
  160. package/lib/form/index.js +1 -1
  161. package/lib/form/type.d.ts +8 -6
  162. package/lib/form/validator.d.ts +1 -0
  163. package/lib/icon/angle-double-down-line.js +1 -15
  164. package/lib/icon/angle-double-left-line.js +1 -15
  165. package/lib/icon/angle-double-left.js +1 -15
  166. package/lib/icon/angle-double-right-line.js +1 -15
  167. package/lib/icon/angle-double-right.js +1 -15
  168. package/lib/icon/angle-double-up-line.js +1 -15
  169. package/lib/icon/angle-down-fill.js +1 -15
  170. package/lib/icon/angle-down-line.js +1 -15
  171. package/lib/icon/angle-down.js +1 -15
  172. package/lib/icon/angle-left.js +1 -15
  173. package/lib/icon/angle-right.js +1 -15
  174. package/lib/icon/angle-up-fill.js +1 -15
  175. package/lib/icon/angle-up.js +1 -15
  176. package/lib/icon/archive-fill.d.ts +4 -0
  177. package/lib/icon/archive-fill.js +1 -0
  178. package/lib/icon/arrows-left.js +1 -15
  179. package/lib/icon/arrows-right.js +1 -15
  180. package/lib/icon/audio-fill.d.ts +4 -0
  181. package/lib/icon/audio-fill.js +1 -0
  182. package/lib/icon/bk.js +1 -15
  183. package/lib/icon/circle.js +1 -15
  184. package/lib/icon/close-line.d.ts +4 -0
  185. package/lib/icon/close-line.js +1 -0
  186. package/lib/icon/close.js +1 -15
  187. package/lib/icon/code.js +1 -15
  188. package/lib/icon/cog-shape.js +1 -15
  189. package/lib/icon/collapse-left.js +1 -15
  190. package/lib/icon/copy.js +1 -15
  191. package/lib/icon/data-shape.d.ts +4 -0
  192. package/lib/icon/data-shape.js +1 -0
  193. package/lib/icon/del.d.ts +4 -0
  194. package/lib/icon/del.js +1 -0
  195. package/lib/icon/doc-fill.d.ts +4 -0
  196. package/lib/icon/doc-fill.js +1 -0
  197. package/lib/icon/done.js +1 -15
  198. package/lib/icon/down-shape.js +1 -15
  199. package/lib/icon/down-small.js +1 -15
  200. package/lib/icon/edit-line.d.ts +4 -0
  201. package/lib/icon/edit-line.js +1 -0
  202. package/lib/icon/ellipsis.js +1 -15
  203. package/lib/icon/enlarge-line.d.ts +4 -0
  204. package/lib/icon/enlarge-line.js +1 -0
  205. package/lib/icon/error.js +1 -15
  206. package/lib/icon/excel-fill.d.ts +4 -0
  207. package/lib/icon/excel-fill.js +1 -0
  208. package/lib/icon/exclamation-circle-shape.d.ts +4 -0
  209. package/lib/icon/exclamation-circle-shape.js +1 -0
  210. package/lib/icon/eye.js +1 -15
  211. package/lib/icon/filliscreen-line.d.ts +4 -0
  212. package/lib/icon/filliscreen-line.js +1 -0
  213. package/lib/icon/folder-open.js +1 -15
  214. package/lib/icon/folder-shape-open.js +1 -15
  215. package/lib/icon/folder-shape.js +1 -15
  216. package/lib/icon/folder.js +1 -15
  217. package/lib/icon/funnel.d.ts +4 -0
  218. package/lib/icon/funnel.js +1 -0
  219. package/lib/icon/help-document-fill.js +1 -15
  220. package/lib/icon/help-fill.js +1 -15
  221. package/lib/icon/help.js +1 -15
  222. package/lib/icon/image-fill.d.ts +4 -0
  223. package/lib/icon/img-error.d.ts +4 -0
  224. package/lib/icon/img-error.js +1 -0
  225. package/lib/icon/img-placehoulder.d.ts +4 -0
  226. package/lib/icon/img-placehoulder.js +1 -0
  227. package/lib/icon/index.d.ts +27 -1
  228. package/lib/icon/index.js +1 -15
  229. package/lib/icon/info-line.js +1 -15
  230. package/lib/icon/info.js +1 -15
  231. package/lib/icon/left-shape.js +1 -15
  232. package/lib/icon/left-turn-line.d.ts +4 -0
  233. package/lib/icon/left-turn-line.js +1 -0
  234. package/lib/icon/narrow-line.d.ts +4 -0
  235. package/lib/icon/narrow-line.js +1 -0
  236. package/lib/icon/original .d.ts +4 -0
  237. package/lib/icon/original .js +1 -0
  238. package/lib/icon/pdf-fill.d.ts +4 -0
  239. package/lib/icon/pdf-fill.js +1 -0
  240. package/lib/icon/play-shape.js +1 -15
  241. package/lib/icon/plus.js +1 -15
  242. package/lib/icon/ppt-fill.d.ts +4 -0
  243. package/lib/icon/ppt-fill.js +1 -0
  244. package/lib/icon/qq.js +1 -15
  245. package/lib/icon/right-shape.js +1 -15
  246. package/lib/icon/right-turn-line.d.ts +4 -0
  247. package/lib/icon/right-turn-line.js +1 -0
  248. package/lib/icon/search.js +1 -15
  249. package/lib/icon/share.js +1 -15
  250. package/lib/icon/spinner.js +1 -15
  251. package/lib/icon/success.js +1 -15
  252. package/lib/icon/switcher-loading.js +1 -15
  253. package/lib/icon/text-file.js +1 -15
  254. package/lib/icon/text-fill.d.ts +4 -0
  255. package/lib/icon/text-fill.js +1 -0
  256. package/lib/icon/transfer.d.ts +4 -0
  257. package/lib/icon/transfer.js +1 -0
  258. package/lib/icon/tree-application-shape.js +1 -15
  259. package/lib/icon/unfull-screen.d.ts +4 -0
  260. package/lib/icon/unfull-screen.js +1 -0
  261. package/lib/icon/unvisible.js +1 -15
  262. package/lib/icon/up-shape.js +1 -15
  263. package/lib/icon/upload.d.ts +4 -0
  264. package/lib/icon/upload.js +1 -0
  265. package/lib/icon/video-fill.d.ts +4 -0
  266. package/lib/icon/video-fill.js +1 -0
  267. package/lib/icon/warn.js +1 -15
  268. package/lib/icon/weixin.js +1 -15
  269. package/lib/image/image-viewer.css +142 -0
  270. package/lib/image/image-viewer.d.ts +73 -0
  271. package/lib/image/image-viewer.less +168 -0
  272. package/lib/image/image-viewer.variable.css +142 -0
  273. package/lib/image/image.css +37 -0
  274. package/lib/image/image.d.ts +93 -0
  275. package/lib/image/image.less +44 -0
  276. package/lib/image/image.variable.css +37 -0
  277. package/lib/image/index.d.ts +246 -0
  278. package/lib/image/index.js +1 -0
  279. package/lib/image/props.d.ts +71 -0
  280. package/lib/index.d.ts +1 -1
  281. package/lib/index.js +1 -0
  282. package/lib/info-box/index.d.ts +6 -0
  283. package/lib/info-box/index.js +1 -0
  284. package/lib/info-box/info-box.css +37 -0
  285. package/lib/info-box/info-box.d.ts +26 -0
  286. package/lib/info-box/info-box.less +50 -0
  287. package/lib/info-box/info-box.variable.css +37 -0
  288. package/lib/input/index.d.ts +171 -60
  289. package/lib/input/index.js +1 -15
  290. package/lib/input/input.css +216 -18
  291. package/lib/input/input.d.ts +116 -16
  292. package/lib/input/input.less +157 -17
  293. package/lib/input/input.variable.css +242 -17
  294. package/lib/link/index.d.ts +4 -4
  295. package/lib/link/index.js +1 -1
  296. package/lib/link/link.css +12 -12
  297. package/lib/link/link.d.ts +1 -1
  298. package/lib/link/link.less +16 -14
  299. package/lib/link/link.variable.css +41 -15
  300. package/lib/loading/index.d.ts +107 -13
  301. package/lib/loading/index.js +1 -1
  302. package/lib/loading/loading.css +83 -31
  303. package/lib/loading/loading.d.ts +74 -5
  304. package/lib/loading/loading.less +28 -30
  305. package/lib/loading/loading.variable.css +112 -34
  306. package/lib/menu/index.d.ts +16 -24
  307. package/lib/menu/index.js +1 -1
  308. package/lib/menu/menu.css +51 -0
  309. package/lib/menu/menu.d.ts +7 -16
  310. package/lib/menu/menu.variable.css +80 -3
  311. package/lib/menu/submenu.variable.css +29 -3
  312. package/lib/message/index.js +1 -1
  313. package/lib/message/message.css +24 -3
  314. package/lib/message/message.less +27 -2
  315. package/lib/message/message.variable.css +53 -6
  316. package/lib/message/messageConstructor.d.ts +43 -7
  317. package/lib/modal/index.d.ts +508 -78
  318. package/lib/modal/index.js +1 -1
  319. package/lib/modal/modal.css +63 -1
  320. package/lib/modal/modal.d.ts +194 -30
  321. package/lib/modal/modal.less +36 -1
  322. package/lib/modal/modal.variable.css +63 -1
  323. package/lib/modal/props.mixin.d.ts +82 -13
  324. package/lib/navigation/index.d.ts +310 -1
  325. package/lib/navigation/index.js +1 -1
  326. package/lib/navigation/navigation.css +1 -1
  327. package/lib/navigation/navigation.d.ts +10 -1
  328. package/lib/navigation/navigation.less +1 -1
  329. package/lib/navigation/navigation.variable.css +30 -4
  330. package/lib/notify/index.js +1 -1
  331. package/lib/notify/notify.css +24 -4
  332. package/lib/notify/notify.less +27 -4
  333. package/lib/notify/notify.variable.css +53 -7
  334. package/lib/notify/notifyConstructor.d.ts +51 -7
  335. package/lib/pagination/index.d.ts +38 -23
  336. package/lib/pagination/index.js +1 -1
  337. package/lib/pagination/pagination.css +54 -28
  338. package/lib/pagination/pagination.d.ts +17 -7
  339. package/lib/pagination/pagination.less +58 -31
  340. package/lib/pagination/pagination.variable.css +83 -31
  341. package/lib/pagination/type.d.ts +1 -1
  342. package/lib/plugin-popover/index.d.ts +27 -0
  343. package/lib/plugin-popover/index.js +1 -0
  344. package/lib/plugins/index.d.ts +1 -0
  345. package/lib/plugins/index.js +1 -0
  346. package/lib/popover/index.d.ts +146 -21
  347. package/lib/popover/index.js +1 -1
  348. package/lib/popover/popover.css +3 -0
  349. package/lib/popover/popover.d.ts +67 -8
  350. package/lib/popover/popover.less +2 -0
  351. package/lib/popover/popover.variable.css +32 -3
  352. package/lib/popover/props.d.ts +34 -2
  353. package/lib/popover2/arrow.d.ts +2 -0
  354. package/lib/popover2/const.d.ts +16 -0
  355. package/lib/popover2/content.d.ts +24 -0
  356. package/lib/popover2/index.d.ts +545 -0
  357. package/lib/popover2/index.js +1 -0
  358. package/lib/popover2/plugin-popover.d.ts +12 -0
  359. package/lib/popover2/popover2.css +25 -0
  360. package/lib/popover2/popover2.d.ts +228 -0
  361. package/lib/popover2/popover2.less +35 -0
  362. package/lib/popover2/popover2.variable.css +144 -0
  363. package/lib/popover2/props.d.ts +118 -0
  364. package/lib/popover2/reference.d.ts +2 -0
  365. package/lib/popover2/root.d.ts +16 -0
  366. package/lib/popover2/use-floating.d.ts +31 -0
  367. package/lib/popover2/use-platform.d.ts +30 -0
  368. package/lib/popover2/use-popover-init.d.ts +22 -0
  369. package/lib/popover2/use-popper-id.d.ts +6 -0
  370. package/lib/popover2/utils.d.ts +2 -0
  371. package/lib/preset.js +1 -0
  372. package/lib/process/index.d.ts +9 -9
  373. package/lib/process/index.js +1 -15
  374. package/lib/process/process.css +13 -0
  375. package/lib/process/process.d.ts +2 -2
  376. package/lib/process/process.less +17 -0
  377. package/lib/process/process.variable.css +42 -3
  378. package/lib/progress/index.d.ts +10 -10
  379. package/lib/progress/index.js +1 -1
  380. package/lib/progress/progress.css +51 -0
  381. package/lib/progress/progress.d.ts +3 -3
  382. package/lib/progress/progress.variable.css +80 -3
  383. package/lib/radio/common.d.ts +5 -5
  384. package/lib/radio/index.d.ts +29 -18
  385. package/lib/radio/index.js +1 -1
  386. package/lib/radio/radio-button.d.ts +7 -8
  387. package/lib/radio/radio-group.d.ts +16 -0
  388. package/lib/radio/radio.css +61 -56
  389. package/lib/radio/radio.d.ts +4 -4
  390. package/lib/radio/radio.less +181 -172
  391. package/lib/radio/radio.variable.css +93 -62
  392. package/lib/radio/type.d.ts +9 -4
  393. package/lib/rate/index.d.ts +24 -1
  394. package/lib/rate/index.js +1 -1
  395. package/lib/rate/rate.d.ts +11 -0
  396. package/lib/rate/star.d.ts +1 -1
  397. package/lib/resize-layout/index.d.ts +336 -0
  398. package/lib/resize-layout/index.js +1 -0
  399. package/lib/resize-layout/resize-layout.css +177 -0
  400. package/lib/resize-layout/resize-layout.d.ts +127 -0
  401. package/lib/resize-layout/resize-layout.less +217 -0
  402. package/lib/resize-layout/resize-layout.variable.css +296 -0
  403. package/lib/search-select/index.d.ts +681 -0
  404. package/lib/search-select/index.js +1 -0
  405. package/lib/search-select/input.d.ts +85 -0
  406. package/lib/search-select/menu.d.ts +83 -0
  407. package/lib/search-select/search-select.css +423 -0
  408. package/lib/search-select/search-select.d.ts +273 -0
  409. package/lib/search-select/search-select.less +375 -0
  410. package/lib/search-select/search-select.variable.css +542 -0
  411. package/lib/search-select/selected.d.ts +137 -0
  412. package/lib/search-select/utils.d.ts +79 -0
  413. package/lib/select/common.d.ts +20 -31
  414. package/lib/select/index.d.ts +1422 -451
  415. package/lib/select/index.js +1 -15
  416. package/lib/select/option.d.ts +16 -4
  417. package/lib/select/optionGroup.d.ts +1 -77
  418. package/lib/select/select.css +265 -80
  419. package/lib/select/select.d.ts +553 -126
  420. package/lib/select/select.less +366 -185
  421. package/lib/select/select.variable.css +295 -84
  422. package/lib/select/selectTagInput.d.ts +93 -0
  423. package/lib/select/type.d.ts +39 -0
  424. package/lib/shared/dom.d.ts +3 -0
  425. package/lib/shared/{bk-helper-core.d.ts → helper.d.ts} +0 -0
  426. package/lib/shared/hooks/use-form-item.d.ts +2 -0
  427. package/lib/shared/hooks/use-form.d.ts +2 -0
  428. package/lib/shared/index.d.ts +27 -4
  429. package/lib/shared/index.js +1 -1
  430. package/lib/shared/{bk-mask-manager.d.ts → mask-manager.d.ts} +6 -2
  431. package/lib/shared/{bk-pop-manager.d.ts → pop-manager.d.ts} +8 -4
  432. package/lib/shared/{bk-popover.d.ts → popover.d.ts} +6 -2
  433. package/lib/shared/token.d.ts +4 -0
  434. package/lib/shared/utils.d.ts +13 -0
  435. package/lib/shared/vue-types.d.ts +4 -0
  436. package/lib/sideslider/index.d.ts +391 -76
  437. package/lib/sideslider/index.js +1 -1
  438. package/lib/sideslider/sideslider.css +55 -10
  439. package/lib/sideslider/sideslider.d.ts +181 -33
  440. package/lib/sideslider/sideslider.less +72 -13
  441. package/lib/sideslider/sideslider.variable.css +84 -13
  442. package/lib/slider/index.d.ts +414 -1
  443. package/lib/slider/index.js +1 -15
  444. package/lib/slider/slider-button.d.ts +5 -0
  445. package/lib/slider/slider.d.ts +14 -2
  446. package/lib/slider/slider.variable.css +29 -3
  447. package/lib/steps/index.d.ts +4 -4
  448. package/lib/steps/index.js +1 -15
  449. package/lib/steps/steps.css +14 -3
  450. package/lib/steps/steps.d.ts +1 -1
  451. package/lib/steps/steps.less +23 -3
  452. package/lib/steps/steps.variable.css +43 -6
  453. package/lib/styles/index.d.ts +12 -0
  454. package/lib/styles/mixins/clearfix.css +8 -0
  455. package/lib/styles/mixins/clearfix.less +10 -0
  456. package/lib/styles/mixins/clearfix.variable.css +8 -0
  457. package/lib/styles/mixins/mixins.css +51 -0
  458. package/lib/styles/mixins/mixins.less +2 -0
  459. package/lib/styles/mixins/mixins.variable.css +51 -0
  460. package/lib/styles/mixins/scroll.css +17 -0
  461. package/lib/styles/mixins/scroll.less +22 -0
  462. package/lib/styles/mixins/scroll.variable.css +136 -0
  463. package/lib/styles/reset.css +36 -0
  464. package/lib/styles/reset.less +26 -0
  465. package/lib/styles/reset.variable.css +36 -0
  466. package/lib/styles/themes/themes.less +38 -3
  467. package/lib/swiper/index.d.ts +181 -0
  468. package/lib/swiper/index.js +1 -0
  469. package/lib/swiper/swiper.css +91 -0
  470. package/lib/swiper/swiper.d.ts +65 -0
  471. package/lib/swiper/swiper.less +107 -0
  472. package/lib/swiper/swiper.variable.css +91 -0
  473. package/lib/switcher/index.d.ts +34 -11
  474. package/lib/switcher/index.js +1 -1
  475. package/lib/switcher/switcher.css +57 -6
  476. package/lib/switcher/switcher.d.ts +15 -4
  477. package/lib/switcher/switcher.less +5 -26
  478. package/lib/switcher/switcher.variable.css +86 -9
  479. package/lib/tab/index.d.ts +107 -219
  480. package/lib/tab/index.js +1 -1
  481. package/lib/tab/props.d.ts +194 -0
  482. package/lib/tab/tab-nav.d.ts +66 -87
  483. package/lib/tab/tab-panel.d.ts +40 -15
  484. package/lib/tab/tab.css +25 -1
  485. package/lib/tab/tab.d.ts +17 -41
  486. package/lib/tab/tab.less +31 -19
  487. package/lib/tab/tab.variable.css +54 -4
  488. package/lib/table/components/index.d.ts +3 -0
  489. package/lib/table/components/table-cell.d.ts +38 -0
  490. package/lib/table/components/table-column.d.ts +142 -0
  491. package/lib/table/components/table-row.d.ts +2 -0
  492. package/lib/table/const.d.ts +108 -1
  493. package/lib/table/index.d.ts +781 -27
  494. package/lib/table/index.js +1 -10
  495. package/lib/table/plugins/body-empty.d.ts +40 -0
  496. package/lib/table/plugins/col-group.d.ts +38 -0
  497. package/lib/table/plugins/common.d.ts +6 -0
  498. package/lib/table/plugins/head-filter.css +71 -0
  499. package/lib/table/plugins/head-filter.d.ts +26 -0
  500. package/lib/table/plugins/head-filter.less +92 -0
  501. package/lib/table/plugins/head-filter.variable.css +190 -0
  502. package/lib/table/plugins/head-sort.css +25 -0
  503. package/lib/table/plugins/head-sort.d.ts +22 -0
  504. package/lib/table/plugins/head-sort.less +31 -0
  505. package/lib/table/plugins/head-sort.variable.css +144 -0
  506. package/lib/table/plugins/index.d.ts +5 -0
  507. package/lib/table/plugins/settings.css +129 -0
  508. package/lib/table/plugins/settings.d.ts +37 -0
  509. package/lib/table/plugins/settings.less +157 -0
  510. package/lib/table/plugins/settings.variable.css +248 -0
  511. package/lib/table/plugins/use-active-columns.d.ts +16 -0
  512. package/lib/table/plugins/use-column-resize.d.ts +15 -0
  513. package/lib/table/plugins/use-fixed-column.d.ts +12 -0
  514. package/lib/table/plugins/use-pagination.d.ts +16 -0
  515. package/lib/table/plugins/use-scroll-loading.d.ts +5 -0
  516. package/lib/table/props.d.ts +282 -7
  517. package/lib/table/render.d.ts +53 -6
  518. package/lib/table/table.css +1143 -17
  519. package/lib/table/table.d.ts +196 -13
  520. package/lib/table/table.less +237 -25
  521. package/lib/table/table.variable.css +1182 -30
  522. package/lib/table/use-column.d.ts +11 -0
  523. package/lib/table/use-common.d.ts +97 -0
  524. package/lib/table/utils.d.ts +65 -9
  525. package/lib/table-column/index.d.ts +336 -0
  526. package/lib/table-column/index.js +1 -0
  527. package/lib/tag/index.d.ts +7 -7
  528. package/lib/tag/index.js +1 -1
  529. package/lib/tag/tag.css +57 -18
  530. package/lib/tag/tag.d.ts +2 -2
  531. package/lib/tag/tag.less +58 -15
  532. package/lib/tag/tag.variable.css +86 -21
  533. package/lib/tag-input/common.d.ts +36 -0
  534. package/lib/tag-input/index.d.ts +1211 -0
  535. package/lib/tag-input/index.js +1 -0
  536. package/lib/tag-input/list-tag-render.d.ts +44 -0
  537. package/lib/tag-input/tag-input.css +209 -0
  538. package/lib/tag-input/tag-input.d.ts +536 -0
  539. package/lib/tag-input/tag-input.less +251 -0
  540. package/lib/tag-input/tag-input.variable.css +328 -0
  541. package/lib/tag-input/tag-props.d.ts +216 -0
  542. package/lib/tag-input/tag-render.d.ts +35 -0
  543. package/lib/time-picker/index.d.ts +904 -0
  544. package/lib/time-picker/index.js +1 -0
  545. package/lib/time-picker/time-picker.css +215 -0
  546. package/lib/time-picker/time-picker.less +260 -0
  547. package/lib/time-picker/time-picker.variable.css +334 -0
  548. package/lib/timeline/index.d.ts +6 -6
  549. package/lib/timeline/index.js +1 -1
  550. package/lib/timeline/timeline.css +5 -5
  551. package/lib/timeline/timeline.d.ts +1 -1
  552. package/lib/timeline/timeline.less +6 -5
  553. package/lib/timeline/timeline.variable.css +34 -8
  554. package/lib/transfer/const.d.ts +5 -0
  555. package/lib/transfer/index.d.ts +339 -1
  556. package/lib/transfer/index.js +1 -1
  557. package/lib/transfer/props.d.ts +54 -0
  558. package/lib/transfer/transfer.css +89 -86
  559. package/lib/transfer/transfer.d.ts +70 -95
  560. package/lib/transfer/transfer.less +93 -113
  561. package/lib/transfer/transfer.variable.css +123 -94
  562. package/lib/tree/constant.d.ts +57 -0
  563. package/lib/tree/index.d.ts +419 -48
  564. package/lib/tree/index.js +1 -1
  565. package/lib/tree/props.d.ts +124 -0
  566. package/lib/tree/tree.css +183 -11
  567. package/lib/tree/tree.d.ts +194 -23
  568. package/lib/tree/tree.less +72 -10
  569. package/lib/tree/tree.variable.css +302 -11
  570. package/lib/tree/use-empty.d.ts +6 -0
  571. package/lib/tree/use-node-action.d.ts +12 -0
  572. package/lib/tree/use-node-async.d.ts +5 -0
  573. package/lib/tree/use-node-attribute.d.ts +33 -0
  574. package/lib/tree/use-node-drag.d.ts +3 -0
  575. package/lib/tree/use-search.d.ts +11 -0
  576. package/lib/tree/use-tree-init.d.ts +15 -0
  577. package/lib/tree/util.d.ts +5 -7
  578. package/lib/upload/index.d.ts +566 -0
  579. package/lib/upload/index.js +1 -0
  580. package/lib/upload/props.d.ts +111 -0
  581. package/lib/upload/upload-list.d.ts +47 -0
  582. package/lib/upload/upload-trigger.d.ts +51 -0
  583. package/lib/upload/upload.css +425 -0
  584. package/lib/upload/upload.d.ts +246 -0
  585. package/lib/upload/upload.less +464 -0
  586. package/lib/upload/upload.type.d.ts +78 -0
  587. package/lib/upload/upload.variable.css +544 -0
  588. package/lib/upload/use-ajax-upload.d.ts +3 -0
  589. package/lib/upload/use-file-handler.d.ts +44 -0
  590. package/lib/virtual-render/index.d.ts +27 -4
  591. package/lib/virtual-render/index.js +1 -10
  592. package/lib/virtual-render/props.d.ts +10 -0
  593. package/lib/virtual-render/use-tag-render.d.ts +7 -0
  594. package/lib/virtual-render/v-virtual-render.d.ts +0 -1
  595. package/lib/virtual-render/virtual-render.css +17 -24
  596. package/lib/virtual-render/virtual-render.d.ts +14 -3
  597. package/lib/virtual-render/virtual-render.less +2 -31
  598. package/lib/virtual-render/virtual-render.variable.css +136 -24
  599. package/lib/volar.components.d.ts +101 -0
  600. package/package.json +59 -46
  601. package/README_EN.md +0 -93
  602. package/dist/bkui-vue.cjs.js +0 -18938
  603. package/dist/bkui-vue.esm.js +0 -18887
  604. package/dist/bkui-vue.umd.js +0 -18941
  605. package/lib/form/common.d.ts +0 -3
  606. package/lib/icon/icon.js +0 -15
  607. package/lib/styles/index.js +0 -1
  608. package/lib/use-form.d.ts +0 -3
@@ -0,0 +1,545 @@
1
+ declare const BkPopover2: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{
6
+ placement: string;
7
+ offset: number;
8
+ zIndex: number;
9
+ content: string | number;
10
+ arrow: boolean;
11
+ theme: string;
12
+ disabled: boolean;
13
+ trigger: string;
14
+ width: string | number;
15
+ height: string | number;
16
+ isShow: boolean;
17
+ always: boolean;
18
+ padding: number;
19
+ disableTeleport: boolean;
20
+ autoPlacement: boolean;
21
+ autoVisibility: boolean;
22
+ disableOutsideClick: boolean;
23
+ disableTransform: boolean;
24
+ reference: any;
25
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
26
+ onAfterHidden: FunctionConstructor;
27
+ onAfterShow: FunctionConstructor;
28
+ isShow: import("vue-types").VueTypeValidableDef<boolean> & {
29
+ default: boolean;
30
+ } & {
31
+ default: boolean;
32
+ };
33
+ always: import("vue-types").VueTypeValidableDef<boolean> & {
34
+ default: boolean;
35
+ } & {
36
+ default: boolean;
37
+ };
38
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
39
+ default: boolean;
40
+ } & {
41
+ default: boolean;
42
+ };
43
+ width: import("vue-types").VueTypeDef<string | number> & {
44
+ default: string | number;
45
+ };
46
+ height: import("vue-types").VueTypeDef<string | number> & {
47
+ default: string | number;
48
+ };
49
+ content: import("vue-types").VueTypeDef<string | number> & {
50
+ default: string | number;
51
+ };
52
+ placement: import("vue-types").VueTypeDef<string> & {
53
+ default: string;
54
+ };
55
+ theme: import("vue-types").VueTypeValidableDef<string> & {
56
+ default: string;
57
+ } & {
58
+ default: string;
59
+ };
60
+ trigger: import("vue-types").VueTypeValidableDef<string> & {
61
+ default: string;
62
+ } & {
63
+ default: string;
64
+ };
65
+ arrow: import("vue-types").VueTypeValidableDef<boolean> & {
66
+ default: boolean;
67
+ } & {
68
+ default: boolean;
69
+ };
70
+ padding: import("vue-types").VueTypeValidableDef<number> & {
71
+ default: number;
72
+ } & {
73
+ default: number;
74
+ };
75
+ offset: import("vue-types").VueTypeValidableDef<number> & {
76
+ default: number;
77
+ } & {
78
+ default: number;
79
+ };
80
+ boundary: import("vue-types").VueTypeDef<string | HTMLElement>;
81
+ zIndex: import("vue-types").VueTypeValidableDef<number> & {
82
+ default: number;
83
+ } & {
84
+ default: number;
85
+ };
86
+ disableTeleport: import("vue-types").VueTypeValidableDef<boolean> & {
87
+ default: boolean;
88
+ } & {
89
+ default: boolean;
90
+ };
91
+ autoPlacement: import("vue-types").VueTypeValidableDef<boolean> & {
92
+ default: boolean;
93
+ } & {
94
+ default: boolean;
95
+ };
96
+ autoVisibility: import("vue-types").VueTypeValidableDef<boolean> & {
97
+ default: boolean;
98
+ } & {
99
+ default: boolean;
100
+ };
101
+ disableOutsideClick: import("vue-types").VueTypeValidableDef<boolean> & {
102
+ default: boolean;
103
+ } & {
104
+ default: boolean;
105
+ };
106
+ disableTransform: import("vue-types").VueTypeValidableDef<boolean> & {
107
+ default: boolean;
108
+ } & {
109
+ default: boolean;
110
+ };
111
+ reference: import("vue-types").VueTypeValidableDef<any> & {
112
+ default: any;
113
+ };
114
+ }>> & {
115
+ onShow?: (...args: any[]) => any;
116
+ onHide?: (...args: any[]) => any;
117
+ onClickoutside?: (...args: any[]) => any;
118
+ onContentMouseenter?: (...args: any[]) => any;
119
+ onContentMouseleave?: (...args: any[]) => any;
120
+ onStopHide?: (...args: any[]) => any;
121
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placement" | "offset" | "zIndex" | "content" | "arrow" | "theme" | "disabled" | "trigger" | "width" | "height" | "isShow" | "always" | "padding" | "disableTeleport" | "autoPlacement" | "autoVisibility" | "disableOutsideClick" | "disableTransform" | "reference">;
122
+ $attrs: {
123
+ [x: string]: unknown;
124
+ };
125
+ $refs: {
126
+ [x: string]: unknown;
127
+ };
128
+ $slots: Readonly<{
129
+ [name: string]: import("vue").Slot;
130
+ }>;
131
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
132
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
133
+ $emit: ((event: import("./const").EMIT_EVENTS.SHOW, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.HIDE, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.CLICK_OUTSIDE, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.CONTENT_MOUSEENTER, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.CONTENT_MOUSELEAVE, ...args: any[]) => void) & ((event: import("./const").EMIT_EVENTS.STOP_HIDE, ...args: any[]) => void);
134
+ $el: any;
135
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
136
+ onAfterHidden: FunctionConstructor;
137
+ onAfterShow: FunctionConstructor;
138
+ isShow: import("vue-types").VueTypeValidableDef<boolean> & {
139
+ default: boolean;
140
+ } & {
141
+ default: boolean;
142
+ };
143
+ always: import("vue-types").VueTypeValidableDef<boolean> & {
144
+ default: boolean;
145
+ } & {
146
+ default: boolean;
147
+ };
148
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
149
+ default: boolean;
150
+ } & {
151
+ default: boolean;
152
+ };
153
+ width: import("vue-types").VueTypeDef<string | number> & {
154
+ default: string | number;
155
+ };
156
+ height: import("vue-types").VueTypeDef<string | number> & {
157
+ default: string | number;
158
+ };
159
+ content: import("vue-types").VueTypeDef<string | number> & {
160
+ default: string | number;
161
+ };
162
+ placement: import("vue-types").VueTypeDef<string> & {
163
+ default: string;
164
+ };
165
+ theme: import("vue-types").VueTypeValidableDef<string> & {
166
+ default: string;
167
+ } & {
168
+ default: string;
169
+ };
170
+ trigger: import("vue-types").VueTypeValidableDef<string> & {
171
+ default: string;
172
+ } & {
173
+ default: string;
174
+ };
175
+ arrow: import("vue-types").VueTypeValidableDef<boolean> & {
176
+ default: boolean;
177
+ } & {
178
+ default: boolean;
179
+ };
180
+ padding: import("vue-types").VueTypeValidableDef<number> & {
181
+ default: number;
182
+ } & {
183
+ default: number;
184
+ };
185
+ offset: import("vue-types").VueTypeValidableDef<number> & {
186
+ default: number;
187
+ } & {
188
+ default: number;
189
+ };
190
+ boundary: import("vue-types").VueTypeDef<string | HTMLElement>;
191
+ zIndex: import("vue-types").VueTypeValidableDef<number> & {
192
+ default: number;
193
+ } & {
194
+ default: number;
195
+ };
196
+ disableTeleport: import("vue-types").VueTypeValidableDef<boolean> & {
197
+ default: boolean;
198
+ } & {
199
+ default: boolean;
200
+ };
201
+ autoPlacement: import("vue-types").VueTypeValidableDef<boolean> & {
202
+ default: boolean;
203
+ } & {
204
+ default: boolean;
205
+ };
206
+ autoVisibility: import("vue-types").VueTypeValidableDef<boolean> & {
207
+ default: boolean;
208
+ } & {
209
+ default: boolean;
210
+ };
211
+ disableOutsideClick: import("vue-types").VueTypeValidableDef<boolean> & {
212
+ default: boolean;
213
+ } & {
214
+ default: boolean;
215
+ };
216
+ disableTransform: import("vue-types").VueTypeValidableDef<boolean> & {
217
+ default: boolean;
218
+ } & {
219
+ default: boolean;
220
+ };
221
+ reference: import("vue-types").VueTypeValidableDef<any> & {
222
+ default: any;
223
+ };
224
+ }>> & {
225
+ onShow?: (...args: any[]) => any;
226
+ onHide?: (...args: any[]) => any;
227
+ onClickoutside?: (...args: any[]) => any;
228
+ onContentMouseenter?: (...args: any[]) => any;
229
+ onContentMouseleave?: (...args: any[]) => any;
230
+ onStopHide?: (...args: any[]) => any;
231
+ }, {
232
+ boundary: import("vue").Ref<any>;
233
+ arrow: boolean;
234
+ refDefaultReference: import("vue").Ref<any>;
235
+ refContent: import("vue").Ref<any>;
236
+ refArrow: import("vue").Ref<any>;
237
+ content: string | number;
238
+ theme: string;
239
+ transBoundary: import("vue").ComputedRef<boolean>;
240
+ handleClickOutside: (_e: MouseEvent) => void;
241
+ updatePopover: (virtualEl?: any, props?: {}) => void;
242
+ hide: () => void;
243
+ show: () => void;
244
+ stopHide: () => void;
245
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
246
+ show: (..._args: any[]) => boolean;
247
+ hide: (..._args: any[]) => boolean;
248
+ clickoutside: (..._args: any[]) => boolean;
249
+ contentMouseenter: (..._args: any[]) => boolean;
250
+ contentMouseleave: (..._args: any[]) => boolean;
251
+ stopHide: (..._args: any[]) => boolean;
252
+ }, string, {
253
+ placement: string;
254
+ offset: number;
255
+ zIndex: number;
256
+ content: string | number;
257
+ arrow: boolean;
258
+ theme: string;
259
+ disabled: boolean;
260
+ trigger: string;
261
+ width: string | number;
262
+ height: string | number;
263
+ isShow: boolean;
264
+ always: boolean;
265
+ padding: number;
266
+ disableTeleport: boolean;
267
+ autoPlacement: boolean;
268
+ autoVisibility: boolean;
269
+ disableOutsideClick: boolean;
270
+ disableTransform: boolean;
271
+ reference: any;
272
+ }> & {
273
+ beforeCreate?: (() => void) | (() => void)[];
274
+ created?: (() => void) | (() => void)[];
275
+ beforeMount?: (() => void) | (() => void)[];
276
+ mounted?: (() => void) | (() => void)[];
277
+ beforeUpdate?: (() => void) | (() => void)[];
278
+ updated?: (() => void) | (() => void)[];
279
+ activated?: (() => void) | (() => void)[];
280
+ deactivated?: (() => void) | (() => void)[];
281
+ beforeDestroy?: (() => void) | (() => void)[];
282
+ beforeUnmount?: (() => void) | (() => void)[];
283
+ destroyed?: (() => void) | (() => void)[];
284
+ unmounted?: (() => void) | (() => void)[];
285
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
286
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
287
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
288
+ };
289
+ $forceUpdate: () => void;
290
+ $nextTick: typeof import("vue").nextTick;
291
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
292
+ } & Readonly<import("vue").ExtractPropTypes<{
293
+ onAfterHidden: FunctionConstructor;
294
+ onAfterShow: FunctionConstructor;
295
+ isShow: import("vue-types").VueTypeValidableDef<boolean> & {
296
+ default: boolean;
297
+ } & {
298
+ default: boolean;
299
+ };
300
+ always: import("vue-types").VueTypeValidableDef<boolean> & {
301
+ default: boolean;
302
+ } & {
303
+ default: boolean;
304
+ };
305
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
306
+ default: boolean;
307
+ } & {
308
+ default: boolean;
309
+ };
310
+ width: import("vue-types").VueTypeDef<string | number> & {
311
+ default: string | number;
312
+ };
313
+ height: import("vue-types").VueTypeDef<string | number> & {
314
+ default: string | number;
315
+ };
316
+ content: import("vue-types").VueTypeDef<string | number> & {
317
+ default: string | number;
318
+ };
319
+ placement: import("vue-types").VueTypeDef<string> & {
320
+ default: string;
321
+ };
322
+ theme: import("vue-types").VueTypeValidableDef<string> & {
323
+ default: string;
324
+ } & {
325
+ default: string;
326
+ };
327
+ trigger: import("vue-types").VueTypeValidableDef<string> & {
328
+ default: string;
329
+ } & {
330
+ default: string;
331
+ };
332
+ arrow: import("vue-types").VueTypeValidableDef<boolean> & {
333
+ default: boolean;
334
+ } & {
335
+ default: boolean;
336
+ };
337
+ padding: import("vue-types").VueTypeValidableDef<number> & {
338
+ default: number;
339
+ } & {
340
+ default: number;
341
+ };
342
+ offset: import("vue-types").VueTypeValidableDef<number> & {
343
+ default: number;
344
+ } & {
345
+ default: number;
346
+ };
347
+ boundary: import("vue-types").VueTypeDef<string | HTMLElement>;
348
+ zIndex: import("vue-types").VueTypeValidableDef<number> & {
349
+ default: number;
350
+ } & {
351
+ default: number;
352
+ };
353
+ disableTeleport: import("vue-types").VueTypeValidableDef<boolean> & {
354
+ default: boolean;
355
+ } & {
356
+ default: boolean;
357
+ };
358
+ autoPlacement: import("vue-types").VueTypeValidableDef<boolean> & {
359
+ default: boolean;
360
+ } & {
361
+ default: boolean;
362
+ };
363
+ autoVisibility: import("vue-types").VueTypeValidableDef<boolean> & {
364
+ default: boolean;
365
+ } & {
366
+ default: boolean;
367
+ };
368
+ disableOutsideClick: import("vue-types").VueTypeValidableDef<boolean> & {
369
+ default: boolean;
370
+ } & {
371
+ default: boolean;
372
+ };
373
+ disableTransform: import("vue-types").VueTypeValidableDef<boolean> & {
374
+ default: boolean;
375
+ } & {
376
+ default: boolean;
377
+ };
378
+ reference: import("vue-types").VueTypeValidableDef<any> & {
379
+ default: any;
380
+ };
381
+ }>> & {
382
+ onShow?: (...args: any[]) => any;
383
+ onHide?: (...args: any[]) => any;
384
+ onClickoutside?: (...args: any[]) => any;
385
+ onContentMouseenter?: (...args: any[]) => any;
386
+ onContentMouseleave?: (...args: any[]) => any;
387
+ onStopHide?: (...args: any[]) => any;
388
+ } & import("vue").ShallowUnwrapRef<{
389
+ boundary: import("vue").Ref<any>;
390
+ arrow: boolean;
391
+ refDefaultReference: import("vue").Ref<any>;
392
+ refContent: import("vue").Ref<any>;
393
+ refArrow: import("vue").Ref<any>;
394
+ content: string | number;
395
+ theme: string;
396
+ transBoundary: import("vue").ComputedRef<boolean>;
397
+ handleClickOutside: (_e: MouseEvent) => void;
398
+ updatePopover: (virtualEl?: any, props?: {}) => void;
399
+ hide: () => void;
400
+ show: () => void;
401
+ stopHide: () => void;
402
+ }> & {} & {} & import("vue").ComponentCustomProperties;
403
+ __isFragment?: never;
404
+ __isTeleport?: never;
405
+ __isSuspense?: never;
406
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
407
+ onAfterHidden: FunctionConstructor;
408
+ onAfterShow: FunctionConstructor;
409
+ isShow: import("vue-types").VueTypeValidableDef<boolean> & {
410
+ default: boolean;
411
+ } & {
412
+ default: boolean;
413
+ };
414
+ always: import("vue-types").VueTypeValidableDef<boolean> & {
415
+ default: boolean;
416
+ } & {
417
+ default: boolean;
418
+ };
419
+ disabled: import("vue-types").VueTypeValidableDef<boolean> & {
420
+ default: boolean;
421
+ } & {
422
+ default: boolean;
423
+ };
424
+ width: import("vue-types").VueTypeDef<string | number> & {
425
+ default: string | number;
426
+ };
427
+ height: import("vue-types").VueTypeDef<string | number> & {
428
+ default: string | number;
429
+ };
430
+ content: import("vue-types").VueTypeDef<string | number> & {
431
+ default: string | number;
432
+ };
433
+ placement: import("vue-types").VueTypeDef<string> & {
434
+ default: string;
435
+ };
436
+ theme: import("vue-types").VueTypeValidableDef<string> & {
437
+ default: string;
438
+ } & {
439
+ default: string;
440
+ };
441
+ trigger: import("vue-types").VueTypeValidableDef<string> & {
442
+ default: string;
443
+ } & {
444
+ default: string;
445
+ };
446
+ arrow: import("vue-types").VueTypeValidableDef<boolean> & {
447
+ default: boolean;
448
+ } & {
449
+ default: boolean;
450
+ };
451
+ padding: import("vue-types").VueTypeValidableDef<number> & {
452
+ default: number;
453
+ } & {
454
+ default: number;
455
+ };
456
+ offset: import("vue-types").VueTypeValidableDef<number> & {
457
+ default: number;
458
+ } & {
459
+ default: number;
460
+ };
461
+ boundary: import("vue-types").VueTypeDef<string | HTMLElement>;
462
+ zIndex: import("vue-types").VueTypeValidableDef<number> & {
463
+ default: number;
464
+ } & {
465
+ default: number;
466
+ };
467
+ disableTeleport: import("vue-types").VueTypeValidableDef<boolean> & {
468
+ default: boolean;
469
+ } & {
470
+ default: boolean;
471
+ };
472
+ autoPlacement: import("vue-types").VueTypeValidableDef<boolean> & {
473
+ default: boolean;
474
+ } & {
475
+ default: boolean;
476
+ };
477
+ autoVisibility: import("vue-types").VueTypeValidableDef<boolean> & {
478
+ default: boolean;
479
+ } & {
480
+ default: boolean;
481
+ };
482
+ disableOutsideClick: import("vue-types").VueTypeValidableDef<boolean> & {
483
+ default: boolean;
484
+ } & {
485
+ default: boolean;
486
+ };
487
+ disableTransform: import("vue-types").VueTypeValidableDef<boolean> & {
488
+ default: boolean;
489
+ } & {
490
+ default: boolean;
491
+ };
492
+ reference: import("vue-types").VueTypeValidableDef<any> & {
493
+ default: any;
494
+ };
495
+ }>> & {
496
+ onShow?: (...args: any[]) => any;
497
+ onHide?: (...args: any[]) => any;
498
+ onClickoutside?: (...args: any[]) => any;
499
+ onContentMouseenter?: (...args: any[]) => any;
500
+ onContentMouseleave?: (...args: any[]) => any;
501
+ onStopHide?: (...args: any[]) => any;
502
+ }, {
503
+ boundary: import("vue").Ref<any>;
504
+ arrow: boolean;
505
+ refDefaultReference: import("vue").Ref<any>;
506
+ refContent: import("vue").Ref<any>;
507
+ refArrow: import("vue").Ref<any>;
508
+ content: string | number;
509
+ theme: string;
510
+ transBoundary: import("vue").ComputedRef<boolean>;
511
+ handleClickOutside: (_e: MouseEvent) => void;
512
+ updatePopover: (virtualEl?: any, props?: {}) => void;
513
+ hide: () => void;
514
+ show: () => void;
515
+ stopHide: () => void;
516
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
517
+ show: (..._args: any[]) => boolean;
518
+ hide: (..._args: any[]) => boolean;
519
+ clickoutside: (..._args: any[]) => boolean;
520
+ contentMouseenter: (..._args: any[]) => boolean;
521
+ contentMouseleave: (..._args: any[]) => boolean;
522
+ stopHide: (..._args: any[]) => boolean;
523
+ }, string, {
524
+ placement: string;
525
+ offset: number;
526
+ zIndex: number;
527
+ content: string | number;
528
+ arrow: boolean;
529
+ theme: string;
530
+ disabled: boolean;
531
+ trigger: string;
532
+ width: string | number;
533
+ height: string | number;
534
+ isShow: boolean;
535
+ always: boolean;
536
+ padding: number;
537
+ disableTeleport: boolean;
538
+ autoPlacement: boolean;
539
+ autoVisibility: boolean;
540
+ disableOutsideClick: boolean;
541
+ disableTransform: boolean;
542
+ reference: any;
543
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
544
+ export default BkPopover2;
545
+ export { default as $bkPopover } from './plugin-popover';
@@ -0,0 +1 @@
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("../directives"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../directives"],t);else{var n="object"==typeof exports?t(require("../shared"),require("vue"),require("../directives")):t(e["../shared"],e.vue,e["../directives"]);for(var o in n)("object"==typeof exports?exports:e)[o]=n[o]}}(self,((e,t,n)=>(()=>{var o={8022:(e,t,n)=>{var o=n(4481),r=n(6426),i=r;i.v1=o,i.v4=r,e.exports=i},8725:e=>{for(var t=[],n=0;n<256;++n)t[n]=(n+256).toString(16).substr(1);e.exports=function(e,n){var o=n||0,r=t;return[r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]]].join("")}},9157:e=>{var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var n=new Uint8Array(16);e.exports=function(){return t(n),n}}else{var o=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),o[t]=e>>>((3&t)<<3)&255;return o}}},4481:(e,t,n)=>{var o,r,i=n(9157),l=n(8725),a=0,c=0;e.exports=function(e,t,n){var u=t&&n||0,s=t||[],f=(e=e||{}).node||o,d=void 0!==e.clockseq?e.clockseq:r;if(null==f||null==d){var p=i();null==f&&(f=o=[1|p[0],p[1],p[2],p[3],p[4],p[5]]),null==d&&(d=r=16383&(p[6]<<8|p[7]))}var v=void 0!==e.msecs?e.msecs:(new Date).getTime(),m=void 0!==e.nsecs?e.nsecs:c+1,h=v-a+(m-c)/1e4;if(h<0&&void 0===e.clockseq&&(d=d+1&16383),(h<0||v>a)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");a=v,c=m,r=d;var g=(1e4*(268435455&(v+=122192928e5))+m)%4294967296;s[u++]=g>>>24&255,s[u++]=g>>>16&255,s[u++]=g>>>8&255,s[u++]=255&g;var y=v/4294967296*1e4&268435455;s[u++]=y>>>8&255,s[u++]=255&y,s[u++]=y>>>24&15|16,s[u++]=y>>>16&255,s[u++]=d>>>8|128,s[u++]=255&d;for(var w=0;w<6;++w)s[u+w]=f[w];return t||l(s)}},6426:(e,t,n)=>{var o=n(9157),r=n(8725);e.exports=function(e,t,n){var i=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var l=(e=e||{}).random||(e.rng||o)();if(l[6]=15&l[6]|64,l[8]=63&l[8]|128,t)for(var a=0;a<16;++a)t[i+a]=l[a];return t||r(l)}},4061:e=>{"use strict";e.exports=n},4212:t=>{"use strict";t.exports=e},748:e=>{"use strict";e.exports=t}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var n=r[e]={exports:{}};return o[e](n,n.exports,i),n.exports}i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};return(()=>{"use strict";i.r(l),i.d(l,{$bkPopover:()=>Pe,default:()=>Re});var e=i(4212),t=i(748),n=i(4061);const o=(0,t.defineComponent)({name:"PopArrow",render:function(){var n=(0,e.resolveClassName)("pop2-arrow");return(0,t.createVNode)("div",{class:n},null)}});function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a,c,u=function(){return!0};!function(e){e.SHOW="show",e.HIDE="hide",e.CLICK_OUTSIDE="clickoutside",e.CONTENT_MOUSEENTER="contentMouseenter",e.CONTENT_MOUSELEAVE="contentMouseleave",e.STOP_HIDE="stopHide"}(c||(c={}));var s=(r(a={},c.SHOW,u),r(a,c.HIDE,u),r(a,c.CLICK_OUTSIDE,u),r(a,c.CONTENT_MOUSEENTER,u),r(a,c.CONTENT_MOUSELEAVE,u),r(a,c.STOP_HIDE,u),a);const f=(0,t.defineComponent)({name:"PopContent",props:{width:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def("auto"),height:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def("auto")},setup:function(e){var n=function(e){return/^\d+\.?\d*$/.test("".concat(e))?"".concat(e,"px"):e};return{style:(0,t.computed)((function(){return{width:n(e.width),height:n(e.height)}}))}},render:function(){var n,o,r,i,l,a,c=[(0,e.resolveClassName)("popover2"),(0,e.resolveClassName)("pop2-content")];return(0,t.createVNode)("div",{class:c,tabindex:"-1",style:this.style},[null!==(r=null===(o=(n=this.$slots).default)||void 0===o?void 0:o.call(n))&&void 0!==r?r:"",null!==(a=null===(l=(i=this.$slots).arrow)||void 0===l?void 0:l.call(i))&&void 0!==a?a:""])}});var d={onAfterHidden:Function,onAfterShow:Function},p=Object.assign({isShow:e.PropTypes.bool.def(!1),always:e.PropTypes.bool.def(!1),disabled:e.PropTypes.bool.def(!1),width:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def("auto"),height:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def("auto"),content:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def(""),placement:e.PropTypes.placement(["auto","auto-start","auto-end","top","top-start","top-end","bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end"]).def("top"),theme:e.PropTypes.string.def("dark"),trigger:e.PropTypes.string.def("hover"),arrow:e.PropTypes.bool.def(!0),padding:e.PropTypes.number.def(5),offset:e.PropTypes.number.def(6),boundary:e.PropTypes.oneOfType([e.PropTypes.string.def("parent"),e.PropTypes.instanceOf(HTMLElement)]),zIndex:e.PropTypes.number.def(void 0),disableTeleport:e.PropTypes.bool.def(!1),autoPlacement:e.PropTypes.bool.def(!1),autoVisibility:e.PropTypes.bool.def(!0),disableOutsideClick:e.PropTypes.bool.def(!1),disableTransform:e.PropTypes.bool.def(!1),reference:e.PropTypes.any.def(null)},d);const v=(0,t.defineComponent)({name:"PopReference",render:function(){var e,t,n;return null!==(n=null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e))&&void 0!==n?n:""}}),m=(0,t.defineComponent)({props:{class:e.PropTypes.string.def("")},render:function(){var e,n;return(0,t.createVNode)(t.Fragment,null,[null===(n=(e=this.$slots).default)||void 0===n?void 0:n.call(e)])}});function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function g(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i=[],l=!0,a=!1;try{for(n=n.call(e);!(l=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==n.return||n.return()}finally{if(a)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return h(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)?h(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e){return e.split("-")[0]}function w(e){return e.split("-")[1]}function b(e){return["top","bottom"].includes(y(e))?"x":"y"}function x(e){return"y"===e?"height":"width"}function T(e,t,n){let{reference:o,floating:r}=e;const i=o.x+o.width/2-r.width/2,l=o.y+o.height/2-r.height/2,a=b(t),c=x(a),u=o[c]/2-r[c]/2,s="x"===a;let f;switch(y(t)){case"top":f={x:i,y:o.y-r.height};break;case"bottom":f={x:i,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:l};break;case"left":f={x:o.x-r.width,y:l};break;default:f={x:o.x,y:o.y}}switch(w(t)){case"start":f[a]-=u*(n&&s?-1:1);break;case"end":f[a]+=u*(n&&s?-1:1)}return f}function P(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function R(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function E(e,t){var n;void 0===t&&(t={});const{x:o,y:r,platform:i,rects:l,elements:a,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:s="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=t,v=P(p),m=a[d?"floating"===f?"reference":"floating":f],h=R(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:u,rootBoundary:s,strategy:c})),g=R(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:"floating"===f?{...l.floating,x:o,y:r}:l.reference,offsetParent:await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),strategy:c}):l[f]);return{top:h.top-g.top+v.top,bottom:g.bottom-h.bottom+v.bottom,left:h.left-g.left+v.left,right:g.right-h.right+v.right}}const C=Math.min,O=Math.max;function A(e,t,n){return O(e,C(t,n))}const S={left:"right",right:"left",bottom:"top",top:"bottom"};function N(e){return e.replace(/left|right|bottom|top/g,(e=>S[e]))}function L(e,t,n){void 0===n&&(n=!1);const o=w(e),r=b(e),i=x(r);let l="x"===r?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=N(l)),{main:l,cross:N(l)}}const H={start:"end",end:"start"};function I(e){return e.replace(/start|end/g,(e=>H[e]))}const j=["top","right","bottom","left"],M=j.reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[]);function D(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function V(e){return j.some((t=>e[t]>=0))}const k=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:o}=t,r=await async function(e,t){const{placement:n,platform:o,elements:r}=e,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),l=y(n),a=w(n),c="x"===b(n),u=["left","top"].includes(l)?-1:1,s=i&&c?-1:1,f="function"==typeof t?t(e):t;let{mainAxis:d,crossAxis:p,alignmentAxis:v}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return a&&"number"==typeof v&&(p="end"===a?-1*v:v),c?{x:p*s,y:d*u}:{x:d*u,y:p*s}}(t,e);return{x:n+r.x,y:o+r.y,data:r}}}};const $=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,{mainAxis:i=!0,crossAxis:l=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=e,u={x:n,y:o},s=await E(t,c),f=b(y(r)),d=function(e){return"x"===e?"y":"x"}(f);let p=u[f],v=u[d];if(i){const e="y"===f?"bottom":"right";p=A(p+s["y"===f?"top":"left"],p,p-s[e])}if(l){const e="y"===d?"bottom":"right";v=A(v+s["y"===d?"top":"left"],v,v-s[e])}const m=a.fn({...t,[f]:p,[d]:v});return{...m,data:{x:m.x-n,y:m.y-o}}}}};function F(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function B(e){if(null==e)return window;if(!F(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function U(e){return B(e).getComputedStyle(e)}function W(e){return F(e)?"":e?(e.nodeName||"").toLowerCase():""}function _(){const e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((e=>e.brand+"/"+e.version)).join(" "):navigator.userAgent}function q(e){return e instanceof B(e).HTMLElement}function z(e){return e instanceof B(e).Element}function K(e){return"undefined"!=typeof ShadowRoot&&(e instanceof B(e).ShadowRoot||e instanceof ShadowRoot)}function X(e){const{overflow:t,overflowX:n,overflowY:o}=U(e);return/auto|scroll|overlay|hidden/.test(t+o+n)}function Y(e){return["table","td","th"].includes(W(e))}function Z(e){const t=/firefox/i.test(_()),n=U(e);return"none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||["transform","perspective"].includes(n.willChange)||t&&"filter"===n.willChange||t&&!!n.filter&&"none"!==n.filter}function G(){return!/^((?!chrome|android).)*safari/i.test(_())}const J=Math.min,Q=Math.max,ee=Math.round;function te(e,t,n){var o,r,i,l;void 0===t&&(t=!1),void 0===n&&(n=!1);const a=e.getBoundingClientRect();let c=1,u=1;t&&q(e)&&(c=e.offsetWidth>0&&ee(a.width)/e.offsetWidth||1,u=e.offsetHeight>0&&ee(a.height)/e.offsetHeight||1);const s=z(e)?B(e):window,f=!G()&&n,d=(a.left+(f&&null!=(o=null==(r=s.visualViewport)?void 0:r.offsetLeft)?o:0))/c,p=(a.top+(f&&null!=(i=null==(l=s.visualViewport)?void 0:l.offsetTop)?i:0))/u,v=a.width/c,m=a.height/u;return{width:v,height:m,top:p,right:d+v,bottom:p+m,left:d,x:d,y:p}}function ne(e){return(t=e,(t instanceof B(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function oe(e){return z(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function re(e){return te(ne(e)).left+oe(e).scrollLeft}function ie(e,t,n){const o=q(t),r=ne(t),i=te(e,o&&function(e){const t=te(e);return ee(t.width)!==e.offsetWidth||ee(t.height)!==e.offsetHeight}(t),"fixed"===n);let l={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(o||!o&&"fixed"!==n)if(("body"!==W(t)||X(r))&&(l=oe(t)),q(t)){const e=te(t,!0);a.x=e.x+t.clientLeft,a.y=e.y+t.clientTop}else r&&(a.x=re(r));return{x:i.left+l.scrollLeft-a.x,y:i.top+l.scrollTop-a.y,width:i.width,height:i.height}}function le(e){return"html"===W(e)?e:e.assignedSlot||e.parentNode||(K(e)?e.host:null)||ne(e)}function ae(e){return q(e)&&"fixed"!==getComputedStyle(e).position?e.offsetParent:null}function ce(e){const t=B(e);let n=ae(e);for(;n&&Y(n)&&"static"===getComputedStyle(n).position;)n=ae(n);return n&&("html"===W(n)||"body"===W(n)&&"static"===getComputedStyle(n).position&&!Z(n))?t:n||function(e){let t=le(e);for(K(t)&&(t=t.host);q(t)&&!["html","body"].includes(W(t));){if(Z(t))return t;t=t.parentNode}return null}(e)||t}function ue(e){if(q(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=te(e);return{width:t.width,height:t.height}}function se(e){const t=le(e);return["html","body","#document"].includes(W(t))?e.ownerDocument.body:q(t)&&X(t)?t:se(t)}function fe(e,t){var n;void 0===t&&(t=[]);const o=se(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=B(o),l=r?[i].concat(i.visualViewport||[],X(o)?o:[]):o,a=t.concat(l);return r?a:a.concat(fe(l))}function de(e,t,n){return"viewport"===t?R(function(e,t){const n=B(e),o=ne(e),r=n.visualViewport;let i=o.clientWidth,l=o.clientHeight,a=0,c=0;if(r){i=r.width,l=r.height;const e=G();(e||!e&&"fixed"===t)&&(a=r.offsetLeft,c=r.offsetTop)}return{width:i,height:l,x:a,y:c}}(e,n)):z(t)?function(e,t){const n=te(e,!1,"fixed"===t),o=n.top+e.clientTop,r=n.left+e.clientLeft;return{top:o,left:r,x:r,y:o,right:r+e.clientWidth,bottom:o+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}(t,n):R(function(e){var t;const n=ne(e),o=oe(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=Q(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),l=Q(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let a=-o.scrollLeft+re(e);const c=-o.scrollTop;return"rtl"===U(r||n).direction&&(a+=Q(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:l,x:a,y:c}}(ne(e)))}function pe(e){const t=fe(e),n=["absolute","fixed"].includes(U(e).position)&&q(e)?ce(e):e;return z(n)?t.filter((e=>z(e)&&function(e,t){const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&K(n)){let n=t;do{if(n&&e===n)return!0;n=n.parentNode||n.host}while(n)}return!1}(e,n)&&"body"!==W(e))):[]}const ve={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const i=[..."clippingAncestors"===n?pe(t):[].concat(n),o],l=i[0],a=i.reduce(((e,n)=>{const o=de(t,n,r);return e.top=Q(o.top,e.top),e.right=J(o.right,e.right),e.bottom=J(o.bottom,e.bottom),e.left=Q(o.left,e.left),e}),de(t,l,r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:o}=e;const r=q(n),i=ne(n);if(n===i)return t;let l={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if((r||!r&&"fixed"!==o)&&(("body"!==W(n)||X(i))&&(l=oe(n)),q(n))){const e=te(n,!0);a.x=e.x+n.clientLeft,a.y=e.y+n.clientTop}return{...t,x:t.x-l.scrollLeft+a.x,y:t.y-l.scrollTop+a.y}},isElement:z,getDimensions:ue,getOffsetParent:ce,getDocumentElement:ne,getElementRects:e=>{let{reference:t,floating:n,strategy:o}=e;return{reference:ie(t,ce(n),o),floating:{...ue(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===U(e).direction},me=(e,t,n)=>(async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:l}=n,a=await(null==l.isRTL?void 0:l.isRTL(t));let c=await l.getElementRects({reference:e,floating:t,strategy:r}),{x:u,y:s}=T(c,o,a),f=o,d={};for(let n=0;n<i.length;n++){const{name:p,fn:v}=i[n],{x:m,y:h,data:g,reset:y}=await v({x:u,y:s,initialPlacement:o,placement:f,strategy:r,middlewareData:d,rects:c,platform:l,elements:{reference:e,floating:t}});u=null!=m?m:u,s=null!=h?h:s,d={...d,[p]:{...d[p],...g}},y&&("object"==typeof y&&(y.placement&&(f=y.placement),y.rects&&(c=!0===y.rects?await l.getElementRects({reference:e,floating:t,strategy:r}):y.rects),({x:u,y:s}=T(c,f,a))),n=-1)}return{x:u,y:s,placement:f,strategy:r,middlewareData:d}})(e,t,{platform:ve,...n}),he=function(n,o,i){var l=i.refReference,a=i.refContent,u=i.refArrow,s=i.refRoot,f=(0,t.ref)(!1),d=(0,t.ref)(),p=function(){var e,t,n,o=H(null===(e=l.value)||void 0===e?void 0:e.$el);return(null===(t=document.fullscreenElement)||void 0===t?void 0:t.shadowRoot)?document.fullscreenElement.shadowRoot.contains(o):null===(n=document.fullscreenElement)||void 0===n?void 0:n.contains(o)},v=["dark","light"],m=(0,t.computed)((function(){var e,t,o=null!==(t=null===(e=n.theme)||void 0===e?void 0:e.split(/\s+/))&&void 0!==t?t:[];return o.sort((function(e,t){return Number(v.includes(t))-Number(v.includes(e))})),{systemThemes:o,customThemes:o.filter((function(e){return!v.includes(e)}))}})),h=function(){return n.autoVisibility},g=function(){return n.autoPlacement},T=function(){var e,t,o,r;return{elReference:H(null===(e=l.value)||void 0===e?void 0:e.$el),elContent:H(null===(t=a.value)||void 0===t?void 0:t.$el),elArrow:n.arrow?H(null===(o=u.value)||void 0===o?void 0:o.$el):null,root:H(null===(r=s.value)||void 0===r?void 0:r.$el)}},S=function(e,t){var n,o,r=[k(t.offset),$({padding:t.padding})],i={placement:t.placement,middleware:r};if(t.arrow&&r.push((e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:o=0}=null!=e?e:{},{x:r,y:i,placement:l,rects:a,platform:c}=t;if(null==n)return{};const u=P(o),s={x:r,y:i},f=b(l),d=w(l),p=x(f),v=await c.getDimensions(n),m="y"===f?"top":"left",h="y"===f?"bottom":"right",g=a.reference[p]+a.reference[f]-s[f]-a.floating[p],y=s[f]-a.reference[f],T=await(null==c.getOffsetParent?void 0:c.getOffsetParent(n));let R=T?"y"===f?T.clientHeight||0:T.clientWidth||0:0;0===R&&(R=a.floating[p]);const E=g/2-y/2,C=u[m],O=R-v[p]-u[h],S=R/2-v[p]/2+E,N=A(C,S,O),L=("start"===d?u[m]:u[h])>0&&S!==N&&a.reference[p]<=a.floating[p];return{[f]:s[f]-(L?S<C?C-S:O-S:0),data:{[f]:N,centerOffset:S-N}}}}))({element:e})),g()?r.push(function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,o,r,i,l;const{x:a,y:c,rects:u,middlewareData:s,placement:f,platform:d,elements:p}=t,{alignment:v=null,allowedPlacements:m=M,autoAlignment:h=!0,...g}=e,b=function(e,t,n){return(e?[...n.filter((t=>w(t)===e)),...n.filter((t=>w(t)!==e))]:n.filter((e=>y(e)===e))).filter((n=>!e||w(n)===e||!!t&&I(n)!==n))}(v,h,m),x=await E(t,g),T=null!=(n=null==(o=s.autoPlacement)?void 0:o.index)?n:0,P=b[T];if(null==P)return{};const{main:R,cross:C}=L(P,u,await(null==d.isRTL?void 0:d.isRTL(p.floating)));if(f!==P)return{x:a,y:c,reset:{placement:b[0]}};const O=[x[y(P)],x[R],x[C]],A=[...null!=(r=null==(i=s.autoPlacement)?void 0:i.overflows)?r:[],{placement:P,overflows:O}],S=b[T+1];if(S)return{data:{index:T+1,overflows:A},reset:{placement:S}};const N=A.slice().sort(((e,t)=>e.overflows[0]-t.overflows[0])),H=null==(l=N.find((e=>{let{overflows:t}=e;return t.every((e=>e<=0))})))?void 0:l.placement,j=null!=H?H:N[0].placement;return j!==f?{data:{index:T+1,overflows:A},reset:{placement:j}}:{}}}}()):(r.unshift(function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){var n;const{placement:o,elements:r,rects:i,platform:l,strategy:a}=t,{padding:c=2,x:u,y:s}=e,f=R(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({rect:i.reference,offsetParent:await(null==l.getOffsetParent?void 0:l.getOffsetParent(r.floating)),strategy:a}):i.reference),d=null!=(n=await(null==l.getClientRects?void 0:l.getClientRects(r.reference)))?n:[],p=P(c),v=await l.getElementRects({reference:{getBoundingClientRect:function(){var e;if(2===d.length&&d[0].left>d[1].right&&null!=u&&null!=s)return null!=(e=d.find((e=>u>e.left-p.left&&u<e.right+p.right&&s>e.top-p.top&&s<e.bottom+p.bottom)))?e:f;if(d.length>=2){if("x"===b(o)){const e=d[0],t=d[d.length-1],n="top"===y(o),r=e.top,i=t.bottom,l=n?e.left:t.left,a=n?e.right:t.right;return{top:r,bottom:i,left:l,right:a,width:a-l,height:i-r,x:l,y:r}}const e="left"===y(o),t=O(...d.map((e=>e.right))),n=C(...d.map((e=>e.left))),r=d.filter((o=>e?o.left===n:o.right===t)),i=r[0].top,l=r[r.length-1].bottom;return{top:i,bottom:l,left:n,right:t,width:t-n,height:l-i,x:n,y:i}}return f}},floating:r.floating,strategy:a});return i.reference.x!==v.reference.x||i.reference.y!==v.reference.y||i.reference.width!==v.reference.width||i.reference.height!==v.reference.height?{reset:{rects:v}}:{}}}}()),r.push(function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:o,middlewareData:r,rects:i,initialPlacement:l,platform:a,elements:c}=t,{mainAxis:u=!0,crossAxis:s=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",flipAlignment:p=!0,...v}=e,m=y(o),h=f||(m!==l&&p?function(e){const t=N(e);return[I(e),t,I(t)]}(l):[N(l)]),g=[l,...h],w=await E(t,v),b=[];let x=(null==(n=r.flip)?void 0:n.overflows)||[];if(u&&b.push(w[m]),s){const{main:e,cross:t}=L(o,i,await(null==a.isRTL?void 0:a.isRTL(c.floating)));b.push(w[e],w[t])}if(x=[...x,{placement:o,overflows:b}],!b.every((e=>e<=0))){var T,P;const e=(null!=(T=null==(P=r.flip)?void 0:P.index)?T:0)+1,t=g[e];if(t)return{data:{index:e,overflows:x},reset:{placement:t}};let n="bottom";switch(d){case"bestFit":{var R;const e=null==(R=x.map((e=>[e,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:R[0].placement;e&&(n=e);break}case"initialPlacement":n=l}if(o!==n)return{reset:{placement:n}}}return{}}}}())),h()&&i.middleware.push(function(e){let{strategy:t="referenceHidden",...n}={};return{name:"hide",async fn(e){const{rects:o}=e;switch(t){case"referenceHidden":{const t=D(await E(e,{...n,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:V(t)}}}case"escaped":{const t=D(await E(e,{...n,altBoundary:!0}),o.floating);return{data:{escapedOffsets:t,escaped:V(t)}}}default:return{}}}}}()),p()||t.isVirtualEl){var l=(o=d.value,{getElementRects:function(e){var t=e.reference,n=e.floating,o=t.getBoundingClientRect(),r=n.getBoundingClientRect();return{reference:{width:o.width,height:o.height,x:o.x,y:o.y},floating:{width:r.width,height:r.height,x:r.x,y:r.y}}},getDimensions:function(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height}},getClippingRect:function(e){var t;!function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(e);var n=null!==(t=null==o?void 0:o.getBoundingClientRect())&&void 0!==t?t:{},r=n.width,i=void 0===r?0:r,l=n.height;return{width:i,height:void 0===l?0:l,x:0,y:0}}}),a=l.getElementRects,c=l.getDimensions,u=l.getClippingRect;Object.assign(i,{platform:Object.assign(Object.assign({},null!==(n=null==t?void 0:t.platform)&&void 0!==n?n:{}),{getElementRects:a,getDimensions:c,getClippingRect:u})})}return i},H=function e(t){return t instanceof HTMLElement?t:t instanceof Text?e(t.nextElementSibling):"function"==typeof(null==t?void 0:t.getBoundingClientRect)?t:null},j=m.value.customThemes.join(" "),F=m.value.customThemes.reduce((function(e,t){return Object.assign(r({},"data-".concat(t,"-theme"),!0),e)}),{}),B="".concat(j),U=null,W=function(e){var t=window.devicePixelRatio||1;return Math.round(e*t)/t||0},_=function(e,t,o,r){var i;n.disableTransform?Object.assign(e.style,{left:"".concat(W(t),"px"),top:"".concat(W(o),"px")}):Object.assign(e.style,{left:"0",top:"0",transform:"translate3d(".concat(W(t),"px,").concat(W(o),"px,0)")});var l=!!h()&&(null===(i=r.hide)||void 0===i?void 0:i.referenceHidden);Object.assign(e.style,{visibility:l?"hidden":"visible"})},q=function(e,t,o){var i;if(n.arrow){var l=null!==(i=o.arrow)&&void 0!==i?i:{},a=l.x,c=l.y;e.setAttribute("data-arrow",t),Object.assign(e.style,{left:"",top:"",bottom:"",right:""});var u={top:"bottom",right:"left",bottom:"top",left:"right"}[t];Object.assign(e.style,r({left:null!==a?"".concat(a,"px"):"",top:null!==c?"".concat(c,"px"):""},u,"-4px"))}},K=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=T(),o=n.elReference,r=n.elContent,i=n.elArrow,l=e||o;if(l&&r){var a=S(i,t);me(l,r,a).then((function(e){var t=e.x,n=e.y,o=e.placement,l=e.middlewareData,a=r.className;r.className="".concat(a.replace(B,"")," ").concat(B).replace(/\s+/gm," ").replace(/^\s+|\s+$/g,""),Object.keys(F).forEach((function(e){r.setAttribute(e,F[e])}));var c=o.split("-")[0],u=c;["left","right","top","bottom"].includes(c)||(u="top"),_(r,t,n,l),q(i,u,l)}))}},X=void 0,Y=!1,Z=function(){setTimeout((function(){!n.disabled&&(f.value=!0)}),100)},G=function(){X=setTimeout((function(){f.value=!1}),100)},J=function(){f.value?G():Z()},Q=function(){J()},ee=function(){"hover"===n.trigger&&(X&&(Y=!0,clearTimeout(X),X=void 0),oe())},ne=function(){Y&&(G(),Y=!1,re())},oe=function(){o.emit(c.CONTENT_MOUSEENTER)},re=function(){o.emit(c.CONTENT_MOUSELEAVE)};return(0,t.watch)(f,(function(t){var r,i;t?((i=H(null===(r=a.value)||void 0===r?void 0:r.$el)).style.setProperty("display","block"),i.style.setProperty("z-index","".concat(n.zIndex?n.zIndex:e.bkZIndexManager.getModalNextIndex())),K(),o.emit("afterShow",{isShow:!0})):function(){var e;H(null===(e=a.value)||void 0===e?void 0:e.$el).style.setProperty("display","none"),o.emit("afterHidden",{isShow:!1})}()})),{showPopover:Z,hidePopover:G,resolveTriggerEvents:function(){var e;return null!==(e={hover:{content:[["mouseenter",ee],["mouseleave",ne]],reference:[["mouseenter",Z],["mouseleave",G],["focus",Z],["blur",G]]},click:[["click",Q]],manual:{content:[["mouseenter",oe],["mouseleave",re]],reference:[[]]}}[n.trigger])&&void 0!==e?e:[]},updatePopover:K,triggerPopover:J,resolvePopElements:T,isElementFullScreen:p,resolveTargetElement:H,createPopInstance:function(){var e=T(),t=e.elReference,o=e.elContent;U=function(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:l=!0,animationFrame:a=!1}=o,c=r&&!a,u=i&&!a,s=c||u?[...z(e)?fe(e):[],...fe(t)]:[];s.forEach((e=>{c&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)}));let f,d=null;l&&(d=new ResizeObserver(n),z(e)&&!a&&d.observe(e),d.observe(t));let p=a?te(e):null;return a&&function t(){const o=te(e);!p||o.x===p.x&&o.y===p.y&&o.width===p.width&&o.height===p.height||n(),p=o,f=requestAnimationFrame(t)}(),l||n(),()=>{var e;s.forEach((e=>{c&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)})),null==(e=d)||e.disconnect(),d=null,a&&cancelAnimationFrame(f)}}(t,o,(function(){K(null,n)}))},updateFullscreenTarget:function(e){d.value=e},getFullscreenRoot:function(e){return p()?document.fullscreenElement.shadowRoot?document.fullscreenElement.shadowRoot.querySelector(e):document.fullscreenElement.querySelector(e):document.body},stopHide:function(){X&&(Y=!0,clearTimeout(X),X=void 0)},localIsShow:f,cleanup:U}};var ge=i(8022),ye={},we=function(e){return document.querySelector(e)instanceof HTMLElement},be=null,xe=null;const Te=(0,t.defineComponent)({name:"Popover2",components:{Content:f,Arrow:o,Root:m},directives:{clickoutside:n.clickoutside},props:p,emits:s,setup:function(e,n){var o=e.content,r=e.theme,i=e.disableTeleport,l=(0,t.toRefs)(e).reference,a=(0,t.ref)(),u=(0,t.ref)(),s=(0,t.ref)(),f=(0,t.ref)(),d=(0,t.computed)((function(){return l.value||a.value})),p=function(e,n,o){var r=o.refReference,i=o.refContent,l=o.refArrow,a=o.refRoot,u=null,s=(0,t.ref)(!1),f=(ye.fullscreenReferId||(ye.fullscreenReferId="id_".concat((0,ge.v4)())),ye.fullscreenReferId),d=(0,t.ref)(),p=he(e,n,{refReference:r,refContent:i,refArrow:l,refRoot:a}),v=p.localIsShow,m=p.showPopover,h=p.hidePopover,y=p.updatePopover,w=p.resolveTriggerEvents,b=p.resolvePopElements,x=p.isElementFullScreen,T=p.updateFullscreenTarget,P=p.createPopInstance,R=p.getFullscreenRoot,E=p.stopHide,C=function(){h()},O=function(){P(),e.always?m():A()},A=function(){var e=b(),t=e.elReference,n=e.elContent;if(u=w(),Array.isArray(u))S(t,u);else{var o=u,r=o.content,i=o.reference;S(t,i),S(n,r)}},S=function(e,t){t.forEach((function(t){var n=g(t,2),o=n[0],r=n[1];o&&"function"==typeof r&&e.addEventListener(o,r)}))},N=function(){var e=b(),t=e.elReference,n=e.root;s.value?I.value=null==d?void 0:d.value:I.value=H(n||t)},L=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#",n=function(n){var o=null,r=function(e){null===o&&e()};return r((function(){if(/^parent$/i.test(e.boundary)){o="".concat(t).concat(be);var r=(n||{}).parentNode;(null==r?void 0:r.parentNode)&&(r.parentNode.setAttribute("data-pnode-id",xe),o="[data-pnode-id=".concat(xe,"]"))}})),r((function(){if(!/^body$/i.test(e.boundary)&&"string"==typeof e.boundary){if(!we(e.boundary))return console.error("props.boundary is not available selector"),void(o="body");o=e.boundary}})),r((function(){o="string"==typeof e.boundary?e.boundary:"".concat(t).concat(be)})),o};if(null===be||!we("#".concat(be))){be="id_".concat((0,ge.v4)());var o=document.createElement("div");o.setAttribute("id",be),o.setAttribute("data-popper-id",be),document.body.append(o)}return null===xe&&(xe="id_".concat((0,ge.v4)())),{popContainerId:be,prefixId:n(),getPrefixId:n}}(e,"#"),H=L.getPrefixId,I=(0,t.ref)(),j=function(){!function(){if(null==u?void 0:u.length){var e=b().elReference;e&&u.forEach((function(t){var n=g(t,2),o=n[0],r=n[1];o&&"function"==typeof r&&e.removeEventListener(o,r)})),u=null}}()},M=function(e){var t;d.value=e,T(e),s.value=x(),null===(t=null==d?void 0:d.value)||void 0===t||t.setAttribute("data-fllsrn-id",f)},D=function(t){var n,o,r;document.fullscreenElement||(r="[data-fllsrn-id=".concat(f,"]"),(null!==(o=null===(n=null==d?void 0:d.value)||void 0===n?void 0:n.querySelectorAll(r))&&void 0!==o?o:[]).forEach((function(e){null==e||e.removeAttribute("data-fllsrn-id")}))),M(t.target),N(),y(null,e)};return{onMountedFn:function(){if(!e.disabled){if(O(),x()){var t="[data-fllsrn-id=".concat(f,"]"),n=R(t);M(n)}N(),document.body.addEventListener("fullscreenchange",D)}},onUnmountedFn:function(){j(),document.body.removeEventListener("fullscreenchange",D)},handleClickOutside:function(t){n.emit(c.CLICK_OUTSIDE,{isShow:v.value,event:t}),e.disableOutsideClick||e.always||e.disabled||"manual"===e.trigger||v.value&&C()},beforeInstanceUnmount:j,updateBoundary:N,initPopInstance:O,updatePopover:y,showPopover:m,hidePopover:h,showFn:function(){m()},hideFn:C,stopHide:E,isFullscreen:s,boundary:I}}(e,n,{refReference:d,refContent:u,refArrow:s,refRoot:f}),v=p.onMountedFn,m=p.onUnmountedFn,h=p.handleClickOutside,y=p.beforeInstanceUnmount,w=p.updateBoundary,b=p.initPopInstance,x=p.showFn,T=p.hideFn,P=p.showPopover,R=p.hidePopover,E=p.updatePopover,C=p.stopHide,O=p.boundary;e.always||e.disabled||(0,t.watch)((function(){return e.isShow}),(function(){e.isShow?P():R()}),{immediate:!0}),(0,t.watch)((function(){return[e.disabled]}),(function(e){e[0]?y():b()})),w(),(0,t.onMounted)(v),(0,t.onBeforeUnmount)(m);var A=(0,t.computed)((function(){return!i}));return{boundary:O,arrow:e.arrow,refDefaultReference:a,refContent:u,refArrow:s,content:o,theme:r,transBoundary:A,handleClickOutside:h,updatePopover:E,hide:function(){T()},show:function(){x()},stopHide:C}},render:function(){var e,n,r,i,l,a,c=this;return(0,t.createVNode)(m,{ref:"refRoot"},{default:function(){return[(0,t.createVNode)(v,{ref:"refDefaultReference"},{default:function(){return[null!==(r=null===(n=(e=c.$slots).default)||void 0===n?void 0:n.call(e))&&void 0!==r?r:(0,t.createVNode)("span",null,null)]}}),(0,t.createVNode)(t.Teleport,{to:c.boundary,disabled:!c.transBoundary},{default:function(){return[(0,t.withDirectives)((0,t.createVNode)(f,{ref:"refContent","data-theme":c.theme,width:c.width,height:c.height},{default:function(){return[null!==(a=null===(l=(i=c.$slots).content)||void 0===l?void 0:l.call(i))&&void 0!==a?a:c.content]},arrow:function(){var e,n;return c.arrow?(0,t.createVNode)(o,{ref:"refArrow"},{default:function(){return[null===(n=(e=c.$slots).arrow)||void 0===n?void 0:n.call(e)]}}):""}}),[[(0,t.resolveDirective)("clickoutside"),c.handleClickOutside]])]}})]}})}});function Pe(e){var n,o=null,i=null,l=null,a=Object.assign(Object.assign({boundary:"body",placement:"top",autoVisibility:!1},e),{trigger:"manual"}),c=function(e){return e instanceof Element||e instanceof HTMLDocument},u={name:"$popover",setup:function(e,n){var o=n.expose,i=(0,t.ref)(a),l=(0,t.ref)(),u=(0,t.ref)({position:"absolute",pointerEvents:"none",left:0,top:0,width:"auto",height:"auto",transform:""}),s=function(e){if(c(e)){var t=e.getBoundingClientRect(),n=t.x,o=t.y,r=t.width,i=t.height;Object.assign(u.value,{width:"".concat(r,"px"),height:"".concat(i,"px"),transform:"translate3d(".concat(n,"px,").concat(o,"px,0)")})}else{var l=e.clientX,a=e.clientY;Object.assign(u.value,{transform:"translate3d(".concat(l,"px,").concat(a,"px,0)"),width:"10px",height:"10px"})}};s(i.value.target);var f=(0,t.computed)((function(){var e=["target"];return Object.keys(i.value).filter((function(t){return!e.includes(t)})).reduce((function(e,t){return Object.assign(Object.assign({},e),r({},t,i.value[t]))}),{})})),d=function(){var e;null===(e=a.onContentMouseenter)||void 0===e||e.call(a)},p=function(){var e;null===(e=a.onContentMouseleave)||void 0===e||e.call(a)};return o({show:function(){setTimeout((function(){var e,t;null===(t=null===(e=l.value)||void 0===e?void 0:e.show)||void 0===t||t.call(e)}))},hide:function(){var e,t;null===(t=null===(e=l.value)||void 0===e?void 0:e.hide)||void 0===t||t.call(e)},updateTarget:function(e){var n,o;i.value.target=e,s(e),null===(o=null===(n=l.value)||void 0===n?void 0:n.updatePopover)||void 0===o||o.call(n),(0,t.nextTick)((function(){var e,t;null===(t=null===(e=l.value)||void 0===e?void 0:e.updatePopover)||void 0===t||t.call(e)}))},stopHide:function(){var e,t;null===(t=null===(e=l.value)||void 0===e?void 0:e.stopHide)||void 0===t||t.call(e)}}),function(){return(0,t.createVNode)(Te,(0,t.mergeProps)(f.value,{ref:l,onContentMouseenter:d,onContentMouseleave:p}),{default:function(){return[(0,t.createVNode)("span",{style:u.value},null)]}})}}};return null===o&&(l=document.createElement("div"),(n=a.boundary,/^body$/i.test(n)?document.body:/^parent$/i.test(n)?c(a.target)?a.target.parentNode:a.target.target.parentNode:"string"==typeof n&&we(n)?document.querySelector(n):document.body).append(l),setTimeout((function(){o=(0,t.createApp)(u),i=o.mount(l)}))),{close:function(){o&&(o.unmount(),i=null,o=null,l.remove())},show:function(){null==i||i.show()},hide:function(){null==i||i.hide()},update:function(e){null==i||i.updateTarget(e)},get vm(){return i},get $el(){return i.$el}}}const Re=(0,e.withInstall)(Te)})(),l})()));
@@ -0,0 +1,12 @@
1
+ import { PopoverPropTypes } from './props';
2
+ export declare type $Popover = PopoverPropTypes & {
3
+ target: HTMLElement | HTMLElement | MouseEvent;
4
+ };
5
+ export default function createPopoverComponent(options: $Popover): {
6
+ close: () => void;
7
+ show: () => void;
8
+ hide: () => void;
9
+ update: (e: MouseEvent) => void;
10
+ readonly vm: any;
11
+ readonly $el: HTMLElement;
12
+ };
@@ -0,0 +1,25 @@
1
+ .bk-popover2.bk-pop2-content {
2
+ position: absolute;
3
+ display: none;
4
+ padding: 7px 14px;
5
+ font-size: 12px;
6
+ color: #fff;
7
+ background: #26323d;
8
+ border-radius: 4px;
9
+ box-sizing: border-box;
10
+ }
11
+ .bk-popover2.bk-pop2-content .bk-pop2-arrow {
12
+ position: absolute;
13
+ width: 8px;
14
+ height: 8px;
15
+ background: #333;
16
+ transform: rotate(45deg);
17
+ }
18
+ .bk-popover2.bk-pop2-content[data-theme^='light'] {
19
+ color: #26323d;
20
+ background-color: #fff;
21
+ box-shadow: 0 0 6px 0 #dcdee5;
22
+ }
23
+ .bk-popover2.bk-pop2-content[data-theme^='light'] .bk-pop2-arrow {
24
+ background-color: #fff;
25
+ }