bkui-vue 0.0.1-beta.37 → 0.0.1-beta.370

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 (653) hide show
  1. package/License.txt +14 -0
  2. package/dist/index.cjs.js +179 -0
  3. package/dist/index.esm.js +39365 -0
  4. package/dist/index.umd.js +179 -0
  5. package/dist/style.css +1 -5902
  6. package/dist/style.variable.css +1 -0
  7. package/lib/affix/affix.css +3 -0
  8. package/lib/affix/affix.d.ts +47 -0
  9. package/lib/affix/affix.less +5 -0
  10. package/lib/affix/affix.variable.css +123 -0
  11. package/lib/affix/index.d.ts +143 -0
  12. package/lib/affix/index.js +1 -0
  13. package/lib/alert/alert.css +9 -3
  14. package/lib/alert/alert.d.ts +5 -5
  15. package/lib/alert/alert.less +29 -20
  16. package/lib/alert/alert.variable.css +39 -6
  17. package/lib/alert/index.d.ts +11 -11
  18. package/lib/alert/index.js +1 -0
  19. package/lib/animate-number/animate-number.d.ts +1 -1
  20. package/lib/animate-number/index.d.ts +4 -4
  21. package/lib/animate-number/{animate-number.js → index.js} +1 -1
  22. package/lib/backtop/backtop.css +8 -0
  23. package/lib/backtop/backtop.d.ts +1 -1
  24. package/lib/backtop/backtop.less +8 -0
  25. package/lib/backtop/backtop.variable.css +38 -3
  26. package/lib/backtop/index.d.ts +4 -4
  27. package/lib/backtop/index.js +1 -0
  28. package/lib/badge/badge.css +5 -5
  29. package/lib/badge/badge.d.ts +28 -7
  30. package/lib/badge/badge.less +5 -6
  31. package/lib/badge/badge.variable.css +35 -8
  32. package/lib/badge/index.d.ts +68 -18
  33. package/lib/badge/index.js +1 -0
  34. package/lib/breadcrumb/breadcrumb.css +51 -0
  35. package/lib/breadcrumb/breadcrumb.variable.css +86 -8
  36. package/lib/breadcrumb/index.js +1 -0
  37. package/lib/button/button-group.d.ts +2 -2
  38. package/lib/button/button.css +85 -50
  39. package/lib/button/button.d.ts +44 -24
  40. package/lib/button/button.less +72 -42
  41. package/lib/button/button.variable.css +115 -53
  42. package/lib/button/index.d.ts +70 -40
  43. package/lib/button/index.js +1 -0
  44. package/lib/card/card.css +96 -1
  45. package/lib/card/card.d.ts +47 -6
  46. package/lib/card/card.less +50 -2
  47. package/lib/card/card.variable.css +130 -8
  48. package/lib/card/index.d.ts +113 -17
  49. package/lib/card/index.js +1 -0
  50. package/lib/cascader/cascader-panel.d.ts +100 -0
  51. package/lib/cascader/cascader.css +173 -0
  52. package/lib/cascader/cascader.d.ts +303 -0
  53. package/lib/cascader/cascader.less +196 -0
  54. package/lib/cascader/cascader.variable.css +293 -0
  55. package/lib/cascader/index.d.ts +868 -0
  56. package/lib/cascader/index.js +1 -0
  57. package/lib/cascader/interface.d.ts +51 -0
  58. package/lib/cascader/node.d.ts +31 -0
  59. package/lib/cascader/store.d.ts +23 -0
  60. package/lib/checkbox/checkbox-group.d.ts +16 -0
  61. package/lib/checkbox/checkbox.css +46 -10
  62. package/lib/checkbox/checkbox.d.ts +36 -24
  63. package/lib/checkbox/checkbox.less +79 -31
  64. package/lib/checkbox/checkbox.variable.css +76 -13
  65. package/lib/checkbox/common.d.ts +4 -3
  66. package/lib/checkbox/index.d.ts +70 -38
  67. package/lib/checkbox/index.js +1 -0
  68. package/lib/checkbox/type.d.ts +2 -6
  69. package/lib/code-diff/code-diff.css +27 -7
  70. package/lib/code-diff/code-diff.d.ts +1 -1
  71. package/lib/code-diff/code-diff.less +42 -7
  72. package/lib/code-diff/code-diff.variable.css +57 -10
  73. package/lib/code-diff/index.js +1 -0
  74. package/lib/collapse/collapse-panel.d.ts +67 -0
  75. package/lib/collapse/collapse.css +28 -12
  76. package/lib/collapse/collapse.d.ts +11 -52
  77. package/lib/collapse/collapse.less +54 -29
  78. package/lib/collapse/collapse.variable.css +148 -12
  79. package/lib/collapse/index.d.ts +108 -16
  80. package/lib/collapse/index.js +1 -0
  81. package/lib/collapse/props.d.ts +79 -0
  82. package/lib/collapse/utils.d.ts +11 -0
  83. package/lib/color-picker/color-picker.css +275 -0
  84. package/lib/color-picker/color-picker.d.ts +144 -0
  85. package/lib/color-picker/color-picker.less +325 -0
  86. package/lib/color-picker/color-picker.variable.css +395 -0
  87. package/lib/color-picker/components/color-input.d.ts +42 -0
  88. package/lib/color-picker/components/hue-slider.d.ts +41 -0
  89. package/lib/color-picker/components/input-container.d.ts +42 -0
  90. package/lib/color-picker/components/recommend-colors.d.ts +51 -0
  91. package/lib/color-picker/components/saturation-panel.d.ts +41 -0
  92. package/lib/color-picker/index.d.ts +254 -0
  93. package/lib/color-picker/index.js +1 -0
  94. package/lib/color-picker/utils.d.ts +37 -0
  95. package/lib/components.d.ts +25 -8
  96. package/lib/components.js +1 -0
  97. package/lib/container/col.d.ts +51 -0
  98. package/lib/container/container.css +91 -0
  99. package/lib/container/container.d.ts +83 -0
  100. package/lib/container/container.less +20 -0
  101. package/lib/container/container.variable.css +211 -0
  102. package/lib/container/index.d.ts +223 -0
  103. package/lib/container/index.js +1 -0
  104. package/lib/container/row.d.ts +4 -0
  105. package/lib/date-picker/base/confirm.d.ts +74 -0
  106. package/lib/date-picker/base/date-table.d.ts +96 -0
  107. package/lib/date-picker/base/picker-dropdown.d.ts +74 -0
  108. package/lib/date-picker/base/time-spinner.d.ts +151 -0
  109. package/lib/date-picker/date-picker.css +28 -1
  110. package/lib/date-picker/date-picker.d.ts +49 -20
  111. package/lib/date-picker/date-picker.less +106 -74
  112. package/lib/date-picker/date-picker.variable.css +58 -4
  113. package/lib/date-picker/index.d.ts +121 -54
  114. package/lib/date-picker/index.js +1 -0
  115. package/lib/date-picker/interface.d.ts +11 -1
  116. package/lib/date-picker/panel/date-range.d.ts +309 -0
  117. package/lib/date-picker/panel/date.d.ts +206 -0
  118. package/lib/date-picker/panel/time-range.d.ts +489 -0
  119. package/lib/date-picker/panel/time.d.ts +448 -0
  120. package/lib/date-picker/props.d.ts +55 -5
  121. package/lib/date-picker/time-picker.d.ts +381 -0
  122. package/lib/date-picker/utils.d.ts +22 -2
  123. package/lib/dialog/dialog.css +144 -22
  124. package/lib/dialog/dialog.d.ts +256 -58
  125. package/lib/dialog/dialog.less +105 -32
  126. package/lib/dialog/dialog.variable.css +264 -22
  127. package/lib/dialog/index.d.ts +562 -126
  128. package/lib/dialog/index.js +1 -0
  129. package/lib/dialog/props.d.ts +130 -0
  130. package/lib/directives/ellipsis.d.ts +7 -0
  131. package/lib/directives/index.d.ts +1 -0
  132. package/lib/directives/index.js +2 -0
  133. package/lib/directives/tooltips.d.ts +2 -1
  134. package/lib/dist.index.js +1 -0
  135. package/lib/divider/divider.d.ts +15 -15
  136. package/lib/divider/divider.variable.css +30 -3
  137. package/lib/divider/index.d.ts +34 -34
  138. package/lib/divider/index.js +1 -0
  139. package/lib/divider/props.d.ts +6 -6
  140. package/lib/dropdown/dropdown.css +13 -7
  141. package/lib/dropdown/dropdown.d.ts +45 -13
  142. package/lib/dropdown/dropdown.less +47 -34
  143. package/lib/dropdown/dropdown.variable.css +43 -10
  144. package/lib/dropdown/index.d.ts +96 -32
  145. package/lib/dropdown/index.js +1 -0
  146. package/lib/exception/exception.css +40 -14
  147. package/lib/exception/exception.d.ts +18 -11
  148. package/lib/exception/exception.less +59 -22
  149. package/lib/exception/exception.variable.css +70 -17
  150. package/lib/exception/index.d.ts +41 -26
  151. package/lib/exception/index.js +1 -0
  152. package/lib/exception/typings/index.d.ts +4 -0
  153. package/lib/fixed-navbar/fixed-navbar.d.ts +16 -2
  154. package/lib/fixed-navbar/fixed-navbar.variable.css +30 -3
  155. package/lib/fixed-navbar/index.d.ts +40 -5
  156. package/lib/fixed-navbar/{fixed-navbar.js → index.js} +1 -1
  157. package/lib/form/compose-form-item.d.ts +16 -0
  158. package/lib/form/form-item.d.ts +20 -5
  159. package/lib/form/form.css +104 -15
  160. package/lib/form/form.d.ts +38 -14
  161. package/lib/form/form.less +152 -45
  162. package/lib/form/form.variable.css +224 -15
  163. package/lib/form/index.d.ts +107 -34
  164. package/lib/form/index.js +1 -0
  165. package/lib/form/type.d.ts +8 -7
  166. package/lib/form/utils.d.ts +2 -0
  167. package/lib/form/validator.d.ts +1 -0
  168. package/lib/icon/angle-double-down-line.js +1 -1
  169. package/lib/icon/angle-double-left-line.js +1 -1
  170. package/lib/icon/angle-double-left.js +1 -1
  171. package/lib/icon/angle-double-right-line.js +1 -1
  172. package/lib/icon/angle-double-right.js +1 -1
  173. package/lib/icon/angle-double-up-line.js +1 -1
  174. package/lib/icon/angle-down-fill.js +1 -1
  175. package/lib/icon/angle-down-line.js +1 -1
  176. package/lib/icon/angle-down.js +1 -1
  177. package/lib/icon/angle-left.js +1 -1
  178. package/lib/icon/angle-right.js +1 -1
  179. package/lib/icon/angle-up-fill.js +1 -1
  180. package/lib/icon/angle-up.js +1 -1
  181. package/lib/icon/archive-fill.d.ts +4 -0
  182. package/lib/icon/archive-fill.js +1 -0
  183. package/lib/icon/arrows-left.js +1 -1
  184. package/lib/icon/arrows-right.js +1 -1
  185. package/lib/icon/audio-fill.d.ts +4 -0
  186. package/lib/icon/audio-fill.js +1 -0
  187. package/lib/icon/bk.js +1 -1
  188. package/lib/icon/circle.js +1 -1
  189. package/lib/icon/close-line.d.ts +4 -0
  190. package/lib/icon/close-line.js +1 -0
  191. package/lib/icon/close.js +1 -1
  192. package/lib/icon/code.js +1 -1
  193. package/lib/icon/cog-shape.js +1 -1
  194. package/lib/icon/collapse-left.js +1 -1
  195. package/lib/icon/copy.js +1 -1
  196. package/lib/icon/data-shape.d.ts +4 -0
  197. package/lib/icon/data-shape.js +1 -0
  198. package/lib/icon/del.d.ts +4 -0
  199. package/lib/icon/del.js +1 -0
  200. package/lib/icon/doc-fill.d.ts +4 -0
  201. package/lib/icon/doc-fill.js +1 -0
  202. package/lib/icon/done.js +1 -1
  203. package/lib/icon/down-shape.js +1 -1
  204. package/lib/icon/down-small.js +1 -1
  205. package/lib/icon/edit-line.d.ts +4 -0
  206. package/lib/icon/edit-line.js +1 -0
  207. package/lib/icon/ellipsis.js +1 -1
  208. package/lib/icon/enlarge-line.d.ts +4 -0
  209. package/lib/icon/enlarge-line.js +1 -0
  210. package/lib/icon/error.js +1 -1
  211. package/lib/icon/excel-fill.d.ts +4 -0
  212. package/lib/icon/excel-fill.js +1 -0
  213. package/lib/icon/exclamation-circle-shape.d.ts +4 -0
  214. package/lib/icon/exclamation-circle-shape.js +1 -0
  215. package/lib/icon/eye.js +1 -1
  216. package/lib/icon/filliscreen-line.d.ts +4 -0
  217. package/lib/icon/filliscreen-line.js +1 -0
  218. package/lib/icon/folder-open.js +1 -1
  219. package/lib/icon/folder-shape-open.js +1 -1
  220. package/lib/icon/folder-shape.js +1 -1
  221. package/lib/icon/folder.js +1 -1
  222. package/lib/icon/funnel.d.ts +4 -0
  223. package/lib/icon/funnel.js +1 -0
  224. package/lib/icon/help-document-fill.js +1 -1
  225. package/lib/icon/help-fill.js +1 -1
  226. package/lib/icon/help.js +1 -1
  227. package/lib/icon/image-fill.d.ts +4 -0
  228. package/lib/icon/img-error.d.ts +4 -0
  229. package/lib/icon/img-error.js +1 -0
  230. package/lib/icon/img-placehoulder.d.ts +4 -0
  231. package/lib/icon/img-placehoulder.js +1 -0
  232. package/lib/icon/index.d.ts +27 -1
  233. package/lib/icon/index.js +1 -0
  234. package/lib/icon/info-line.js +1 -1
  235. package/lib/icon/info.js +1 -1
  236. package/lib/icon/left-shape.js +1 -1
  237. package/lib/icon/left-turn-line.d.ts +4 -0
  238. package/lib/icon/left-turn-line.js +1 -0
  239. package/lib/icon/narrow-line.d.ts +4 -0
  240. package/lib/icon/narrow-line.js +1 -0
  241. package/lib/icon/original.d.ts +4 -0
  242. package/lib/icon/original.js +1 -0
  243. package/lib/icon/pdf-fill.d.ts +4 -0
  244. package/lib/icon/pdf-fill.js +1 -0
  245. package/lib/icon/play-shape.js +1 -1
  246. package/lib/icon/plus.js +1 -1
  247. package/lib/icon/ppt-fill.d.ts +4 -0
  248. package/lib/icon/ppt-fill.js +1 -0
  249. package/lib/icon/qq.js +1 -1
  250. package/lib/icon/right-shape.js +1 -1
  251. package/lib/icon/right-turn-line.d.ts +4 -0
  252. package/lib/icon/right-turn-line.js +1 -0
  253. package/lib/icon/search.js +1 -1
  254. package/lib/icon/share.js +1 -1
  255. package/lib/icon/spinner.js +1 -1
  256. package/lib/icon/success.js +1 -1
  257. package/lib/icon/switcher-loading.js +1 -1
  258. package/lib/icon/text-file.js +1 -1
  259. package/lib/icon/text-fill.d.ts +4 -0
  260. package/lib/icon/text-fill.js +1 -0
  261. package/lib/icon/transfer.d.ts +4 -0
  262. package/lib/icon/transfer.js +1 -0
  263. package/lib/icon/tree-application-shape.js +1 -1
  264. package/lib/icon/unfull-screen.d.ts +4 -0
  265. package/lib/icon/unfull-screen.js +1 -0
  266. package/lib/icon/unvisible.js +1 -1
  267. package/lib/icon/up-shape.js +1 -1
  268. package/lib/icon/upload.d.ts +4 -0
  269. package/lib/icon/upload.js +1 -0
  270. package/lib/icon/video-fill.d.ts +4 -0
  271. package/lib/icon/video-fill.js +1 -0
  272. package/lib/icon/warn.js +1 -1
  273. package/lib/icon/weixin.js +1 -1
  274. package/lib/image/image-viewer.css +142 -0
  275. package/lib/image/image-viewer.d.ts +73 -0
  276. package/lib/image/image-viewer.less +168 -0
  277. package/lib/image/image-viewer.variable.css +142 -0
  278. package/lib/image/image.css +37 -0
  279. package/lib/image/image.d.ts +93 -0
  280. package/lib/image/image.less +44 -0
  281. package/lib/image/image.variable.css +37 -0
  282. package/lib/image/index.d.ts +246 -0
  283. package/lib/image/index.js +1 -0
  284. package/lib/image/props.d.ts +71 -0
  285. package/lib/index.d.ts +1 -1
  286. package/lib/index.js +1 -0
  287. package/lib/info-box/index.d.ts +6 -0
  288. package/lib/info-box/index.js +1 -0
  289. package/lib/info-box/info-box.css +37 -0
  290. package/lib/info-box/info-box.d.ts +26 -0
  291. package/lib/info-box/info-box.less +51 -0
  292. package/lib/info-box/info-box.variable.css +157 -0
  293. package/lib/input/index.d.ts +172 -87
  294. package/lib/input/index.js +1 -0
  295. package/lib/input/input.css +183 -22
  296. package/lib/input/input.d.ts +118 -35
  297. package/lib/input/input.less +112 -20
  298. package/lib/input/input.variable.css +244 -57
  299. package/lib/link/index.d.ts +29 -21
  300. package/lib/link/index.js +1 -0
  301. package/lib/link/link.css +12 -12
  302. package/lib/link/link.d.ts +10 -8
  303. package/lib/link/link.less +16 -14
  304. package/lib/link/link.variable.css +42 -15
  305. package/lib/loading/index.d.ts +112 -19
  306. package/lib/loading/index.js +1 -0
  307. package/lib/loading/loading.css +77 -34
  308. package/lib/loading/loading.d.ts +78 -12
  309. package/lib/loading/loading.less +17 -22
  310. package/lib/loading/loading.variable.css +123 -53
  311. package/lib/menu/index.d.ts +16 -24
  312. package/lib/menu/index.js +1 -0
  313. package/lib/menu/menu.css +51 -0
  314. package/lib/menu/menu.d.ts +7 -16
  315. package/lib/menu/menu.variable.css +99 -21
  316. package/lib/menu/submenu.variable.css +30 -3
  317. package/lib/message/index.js +1 -0
  318. package/lib/message/message.css +25 -4
  319. package/lib/message/message.less +30 -4
  320. package/lib/message/message.variable.css +55 -7
  321. package/lib/message/messageConstructor.d.ts +47 -11
  322. package/lib/modal/index.d.ts +456 -78
  323. package/lib/modal/index.js +1 -0
  324. package/lib/modal/modal.css +63 -1
  325. package/lib/modal/modal.d.ts +174 -30
  326. package/lib/modal/modal.less +39 -3
  327. package/lib/modal/modal.variable.css +183 -1
  328. package/lib/modal/props.mixin.d.ts +74 -13
  329. package/lib/navigation/index.d.ts +310 -1
  330. package/lib/navigation/index.js +1 -0
  331. package/lib/navigation/navigation.css +1 -1
  332. package/lib/navigation/navigation.d.ts +10 -1
  333. package/lib/navigation/navigation.less +1 -1
  334. package/lib/navigation/navigation.variable.css +31 -4
  335. package/lib/notify/index.js +1 -0
  336. package/lib/notify/notify.css +24 -4
  337. package/lib/notify/notify.less +27 -4
  338. package/lib/notify/notify.variable.css +54 -7
  339. package/lib/notify/notifyConstructor.d.ts +62 -21
  340. package/lib/pagination/index.d.ts +35 -20
  341. package/lib/pagination/index.js +1 -0
  342. package/lib/pagination/pagination.css +54 -28
  343. package/lib/pagination/pagination.d.ts +18 -8
  344. package/lib/pagination/pagination.less +59 -30
  345. package/lib/pagination/pagination.variable.css +84 -31
  346. package/lib/plugin-popover/index.d.ts +27 -0
  347. package/lib/plugin-popover/index.js +1 -0
  348. package/lib/plugins/index.d.ts +1 -0
  349. package/lib/plugins/index.js +1 -0
  350. package/lib/popover/arrow.d.ts +2 -0
  351. package/lib/popover/const.d.ts +16 -0
  352. package/lib/popover/content.d.ts +32 -0
  353. package/lib/popover/index.d.ts +463 -97
  354. package/lib/popover/index.js +1 -0
  355. package/lib/popover/plugin-popover.d.ts +12 -0
  356. package/lib/popover/popover.css +10 -50
  357. package/lib/popover/popover.d.ts +203 -43
  358. package/lib/popover/popover.less +19 -66
  359. package/lib/popover/popover.variable.css +40 -53
  360. package/lib/popover/props.d.ts +100 -31
  361. package/lib/popover/reference.d.ts +2 -0
  362. package/lib/popover/root.d.ts +16 -0
  363. package/lib/popover/use-floating.d.ts +34 -0
  364. package/lib/popover/use-platform.d.ts +30 -0
  365. package/lib/popover/use-popover-init.d.ts +23 -0
  366. package/lib/popover/use-popper-id.d.ts +6 -0
  367. package/lib/popover/utils.d.ts +2 -0
  368. package/lib/popover2/index.d.ts +44 -0
  369. package/lib/popover2/index.js +1 -0
  370. package/lib/popover2/popover.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 -0
  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 +43 -3
  378. package/lib/progress/index.d.ts +25 -25
  379. package/lib/progress/index.js +1 -0
  380. package/lib/progress/progress.css +51 -0
  381. package/lib/progress/progress.d.ts +10 -10
  382. package/lib/progress/progress.variable.css +85 -7
  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 -0
  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 +47 -46
  389. package/lib/radio/radio.d.ts +4 -4
  390. package/lib/radio/radio.less +177 -173
  391. package/lib/radio/radio.variable.css +81 -53
  392. package/lib/radio/type.d.ts +9 -4
  393. package/lib/rate/index.d.ts +28 -5
  394. package/lib/rate/index.js +1 -0
  395. package/lib/rate/rate.d.ts +13 -2
  396. package/lib/rate/star.d.ts +1 -1
  397. package/lib/resize-layout/index.d.ts +18 -18
  398. package/lib/resize-layout/index.js +1 -0
  399. package/lib/resize-layout/resize-layout.css +3 -15
  400. package/lib/resize-layout/resize-layout.d.ts +7 -7
  401. package/lib/resize-layout/resize-layout.less +3 -19
  402. package/lib/resize-layout/resize-layout.variable.css +33 -18
  403. package/lib/search-select/index.d.ts +823 -0
  404. package/lib/search-select/index.js +1 -0
  405. package/lib/search-select/input.d.ts +89 -0
  406. package/lib/search-select/menu.d.ts +83 -0
  407. package/lib/search-select/search-select.css +424 -0
  408. package/lib/search-select/search-select.d.ts +342 -0
  409. package/lib/search-select/search-select.less +380 -0
  410. package/lib/search-select/search-select.variable.css +544 -0
  411. package/lib/search-select/selected.d.ts +143 -0
  412. package/lib/search-select/utils.d.ts +88 -0
  413. package/lib/select/common.d.ts +5 -12
  414. package/lib/select/index.d.ts +1284 -592
  415. package/lib/select/index.js +1 -0
  416. package/lib/select/option.d.ts +16 -4
  417. package/lib/select/optionGroup.d.ts +1 -1
  418. package/lib/select/select.css +186 -112
  419. package/lib/select/select.d.ts +487 -129
  420. package/lib/select/select.less +321 -202
  421. package/lib/select/select.variable.css +216 -115
  422. package/lib/select/selectTagInput.d.ts +93 -0
  423. package/lib/select/type.d.ts +21 -13
  424. package/lib/shared/dom.d.ts +3 -0
  425. package/lib/shared/helper.d.ts +9 -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 +22 -0
  429. package/lib/shared/index.js +1 -0
  430. package/lib/shared/mask-manager.d.ts +6 -2
  431. package/lib/shared/pop-manager.d.ts +16 -4
  432. package/lib/shared/popover.d.ts +6 -2
  433. package/lib/shared/token.d.ts +4 -0
  434. package/lib/shared/utils.d.ts +19 -0
  435. package/lib/shared/vue-types.d.ts +106 -8
  436. package/lib/sideslider/index.d.ts +343 -72
  437. package/lib/sideslider/index.js +1 -0
  438. package/lib/sideslider/sideslider.css +55 -10
  439. package/lib/sideslider/sideslider.d.ts +160 -32
  440. package/lib/sideslider/sideslider.less +72 -13
  441. package/lib/sideslider/sideslider.variable.css +85 -13
  442. package/lib/slider/index.d.ts +414 -1
  443. package/lib/slider/index.js +1 -0
  444. package/lib/slider/slider-button.d.ts +2 -1
  445. package/lib/slider/slider.d.ts +4 -4
  446. package/lib/slider/slider.variable.css +30 -3
  447. package/lib/steps/index.d.ts +52 -52
  448. package/lib/steps/index.js +1 -0
  449. package/lib/steps/steps.css +15 -3
  450. package/lib/steps/steps.d.ts +32 -32
  451. package/lib/steps/steps.less +24 -3
  452. package/lib/steps/steps.variable.css +45 -6
  453. package/lib/styles/index.d.ts +7 -1
  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/popper.css +1 -1
  461. package/lib/styles/mixins/popper.less +12 -11
  462. package/lib/styles/mixins/popper.variable.css +121 -1
  463. package/lib/styles/mixins/scroll.css +17 -0
  464. package/lib/styles/mixins/scroll.less +22 -0
  465. package/lib/styles/mixins/scroll.variable.css +137 -0
  466. package/lib/styles/reset.css +36 -0
  467. package/lib/styles/reset.less +26 -0
  468. package/lib/styles/reset.variable.css +36 -0
  469. package/lib/styles/themes/themes.less +39 -3
  470. package/lib/swiper/index.js +1 -0
  471. package/lib/switcher/index.d.ts +42 -30
  472. package/lib/switcher/index.js +1 -0
  473. package/lib/switcher/switcher.css +57 -6
  474. package/lib/switcher/switcher.d.ts +19 -13
  475. package/lib/switcher/switcher.less +5 -26
  476. package/lib/switcher/switcher.variable.css +104 -26
  477. package/lib/tab/index.d.ts +53 -61
  478. package/lib/tab/index.js +1 -0
  479. package/lib/tab/props.d.ts +27 -11
  480. package/lib/tab/tab-nav.d.ts +17 -13
  481. package/lib/tab/tab-panel.d.ts +5 -10
  482. package/lib/tab/tab.css +87 -12
  483. package/lib/tab/tab.d.ts +19 -20
  484. package/lib/tab/tab.less +112 -49
  485. package/lib/tab/tab.variable.css +117 -15
  486. package/lib/table/components/index.d.ts +3 -0
  487. package/lib/table/components/table-cell.d.ts +38 -0
  488. package/lib/table/components/table-column.d.ts +137 -0
  489. package/lib/table/components/table-row.d.ts +2 -0
  490. package/lib/table/const.d.ts +109 -1
  491. package/lib/table/index.d.ts +845 -41
  492. package/lib/table/index.js +1 -0
  493. package/lib/table/plugins/body-empty.d.ts +40 -0
  494. package/lib/table/plugins/col-group.d.ts +38 -0
  495. package/lib/table/plugins/common.d.ts +6 -0
  496. package/lib/table/plugins/head-filter.css +84 -0
  497. package/lib/table/plugins/head-filter.d.ts +26 -0
  498. package/lib/table/plugins/head-filter.less +110 -0
  499. package/lib/table/plugins/head-filter.variable.css +204 -0
  500. package/lib/table/plugins/head-sort.css +25 -0
  501. package/lib/table/plugins/head-sort.d.ts +22 -0
  502. package/lib/table/plugins/head-sort.less +31 -0
  503. package/lib/table/plugins/head-sort.variable.css +145 -0
  504. package/lib/table/plugins/index.d.ts +5 -0
  505. package/lib/table/plugins/settings.css +145 -0
  506. package/lib/table/plugins/settings.d.ts +37 -0
  507. package/lib/table/plugins/settings.less +179 -0
  508. package/lib/table/plugins/settings.variable.css +265 -0
  509. package/lib/table/plugins/use-active-columns.d.ts +16 -0
  510. package/lib/table/plugins/use-column-resize.d.ts +15 -0
  511. package/lib/table/plugins/use-fixed-column.d.ts +12 -0
  512. package/lib/table/plugins/use-pagination.d.ts +16 -0
  513. package/lib/table/plugins/use-scroll-loading.d.ts +5 -0
  514. package/lib/table/props.d.ts +314 -8
  515. package/lib/table/render.d.ts +41 -3
  516. package/lib/table/table.css +1189 -9
  517. package/lib/table/table.d.ts +233 -17
  518. package/lib/table/table.less +261 -13
  519. package/lib/table/table.variable.css +1229 -22
  520. package/lib/table/use-column.d.ts +11 -0
  521. package/lib/table/use-common.d.ts +97 -0
  522. package/lib/table/utils.d.ts +69 -11
  523. package/lib/table-column/index.d.ts +325 -0
  524. package/lib/table-column/index.js +1 -0
  525. package/lib/tag/index.d.ts +29 -29
  526. package/lib/tag/index.js +1 -0
  527. package/lib/tag/tag.css +46 -13
  528. package/lib/tag/tag.d.ts +12 -12
  529. package/lib/tag/tag.less +46 -10
  530. package/lib/tag/tag.variable.css +76 -16
  531. package/lib/tag-input/common.d.ts +13 -1
  532. package/lib/tag-input/index.d.ts +1344 -1
  533. package/lib/tag-input/index.js +1 -0
  534. package/lib/tag-input/list-tag-render.d.ts +0 -3
  535. package/lib/tag-input/tag-input.css +23 -26
  536. package/lib/tag-input/tag-input.d.ts +271 -41
  537. package/lib/tag-input/tag-input.less +102 -104
  538. package/lib/tag-input/tag-input.variable.css +53 -29
  539. package/lib/tag-input/tag-props.d.ts +128 -7
  540. package/lib/tag-input/tag-render.d.ts +30 -4
  541. package/lib/time-picker/index.d.ts +904 -0
  542. package/lib/time-picker/index.js +1 -0
  543. package/lib/time-picker/time-picker.css +215 -0
  544. package/lib/time-picker/time-picker.less +260 -0
  545. package/lib/time-picker/time-picker.variable.css +335 -0
  546. package/lib/timeline/index.d.ts +6 -6
  547. package/lib/timeline/index.js +1 -0
  548. package/lib/timeline/timeline.css +16 -9
  549. package/lib/timeline/timeline.d.ts +1 -1
  550. package/lib/timeline/timeline.less +22 -9
  551. package/lib/timeline/timeline.variable.css +46 -12
  552. package/lib/transfer/const.d.ts +5 -0
  553. package/lib/transfer/index.d.ts +164 -150
  554. package/lib/transfer/index.js +1 -0
  555. package/lib/transfer/props.d.ts +54 -0
  556. package/lib/transfer/transfer.css +89 -86
  557. package/lib/transfer/transfer.d.ts +70 -95
  558. package/lib/transfer/transfer.less +93 -113
  559. package/lib/transfer/transfer.variable.css +124 -94
  560. package/lib/tree/constant.d.ts +62 -0
  561. package/lib/tree/index.d.ts +417 -57
  562. package/lib/tree/index.js +1 -0
  563. package/lib/tree/props.d.ts +124 -0
  564. package/lib/tree/tree.css +177 -9
  565. package/lib/tree/tree.d.ts +190 -18
  566. package/lib/tree/tree.less +54 -3
  567. package/lib/tree/tree.variable.css +207 -12
  568. package/lib/tree/use-empty.d.ts +6 -0
  569. package/lib/tree/use-node-action.d.ts +12 -0
  570. package/lib/tree/use-node-async.d.ts +5 -0
  571. package/lib/tree/use-node-attribute.d.ts +33 -0
  572. package/lib/tree/use-node-drag.d.ts +3 -0
  573. package/lib/tree/use-search.d.ts +11 -0
  574. package/lib/tree/use-tree-init.d.ts +15 -0
  575. package/lib/tree/util.d.ts +4 -6
  576. package/lib/upload/index.d.ts +566 -0
  577. package/lib/upload/index.js +1 -0
  578. package/lib/upload/props.d.ts +111 -0
  579. package/lib/upload/upload-list.d.ts +47 -0
  580. package/lib/upload/upload-trigger.d.ts +51 -0
  581. package/lib/upload/upload.css +425 -0
  582. package/lib/upload/upload.d.ts +246 -0
  583. package/lib/upload/upload.less +464 -0
  584. package/lib/upload/upload.type.d.ts +78 -0
  585. package/lib/upload/upload.variable.css +545 -0
  586. package/lib/upload/use-ajax-upload.d.ts +3 -0
  587. package/lib/upload/use-file-handler.d.ts +44 -0
  588. package/lib/virtual-render/index.d.ts +50 -4
  589. package/lib/virtual-render/index.js +1 -0
  590. package/lib/virtual-render/props.d.ts +15 -0
  591. package/lib/virtual-render/use-tag-render.d.ts +7 -0
  592. package/lib/virtual-render/v-virtual-render.d.ts +0 -1
  593. package/lib/virtual-render/virtual-render.css +17 -17
  594. package/lib/virtual-render/virtual-render.d.ts +23 -1
  595. package/lib/virtual-render/virtual-render.less +2 -23
  596. package/lib/virtual-render/virtual-render.variable.css +137 -17
  597. package/lib/volar.components.d.ts +101 -0
  598. package/package.json +61 -42
  599. package/LICENSE.txt +0 -22
  600. package/README_EN.md +0 -93
  601. package/dist/bkui-vue.cjs.js +0 -20346
  602. package/dist/bkui-vue.esm.js +0 -20289
  603. package/dist/bkui-vue.umd.js +0 -20349
  604. package/lib/alert/alert.js +0 -1
  605. package/lib/backtop/backtop.js +0 -1
  606. package/lib/badge/badge.js +0 -1
  607. package/lib/breadcrumb/breadcrumb.js +0 -1
  608. package/lib/button/button.js +0 -1
  609. package/lib/card/card.js +0 -1
  610. package/lib/checkbox/checkbox.js +0 -1
  611. package/lib/code-diff/code-diff.js +0 -1
  612. package/lib/collapse/collapse.js +0 -1
  613. package/lib/date-picker/date-picker.js +0 -1
  614. package/lib/dialog/dialog.js +0 -1
  615. package/lib/directives/directives.js +0 -2
  616. package/lib/divider/divider.js +0 -1
  617. package/lib/dropdown/dropdown.js +0 -1
  618. package/lib/exception/exception.js +0 -1
  619. package/lib/form/common.d.ts +0 -3
  620. package/lib/form/form.js +0 -1
  621. package/lib/icon/icon.js +0 -1
  622. package/lib/input/input.js +0 -1
  623. package/lib/link/link.js +0 -1
  624. package/lib/loading/loading.js +0 -1
  625. package/lib/menu/menu.js +0 -1
  626. package/lib/message/message.js +0 -1
  627. package/lib/modal/modal.js +0 -1
  628. package/lib/navigation/navigation.js +0 -1
  629. package/lib/notify/notify.js +0 -1
  630. package/lib/pagination/pagination.js +0 -1
  631. package/lib/popover/popover.js +0 -1
  632. package/lib/process/process.js +0 -1
  633. package/lib/progress/progress.js +0 -1
  634. package/lib/radio/radio.js +0 -1
  635. package/lib/rate/rate.js +0 -1
  636. package/lib/resize-layout/resize-layout.js +0 -1
  637. package/lib/select/select.js +0 -1
  638. package/lib/shared/shared.js +0 -1
  639. package/lib/sideslider/sideslider.js +0 -1
  640. package/lib/slider/slider.js +0 -1
  641. package/lib/steps/steps.js +0 -1
  642. package/lib/swiper/swiper.js +0 -1
  643. package/lib/switcher/switcher.js +0 -1
  644. package/lib/tab/tab.js +0 -1
  645. package/lib/table/table.js +0 -1
  646. package/lib/tag/tag.js +0 -1
  647. package/lib/tag-input/tag-input.js +0 -1
  648. package/lib/timeline/timeline.js +0 -1
  649. package/lib/transfer/transfer.js +0 -1
  650. package/lib/tree/tree.js +0 -1
  651. package/lib/use-form.d.ts +0 -3
  652. package/lib/virtual-render/virtual-render.js +0 -1
  653. /package/lib/directives/{directives.js.LICENSE.txt → index.js.LICENSE.txt} +0 -0
@@ -34,7 +34,7 @@ export declare const paginationProps: {
34
34
  align: import("vue-types").VueTypeDef<string> & {
35
35
  default: string;
36
36
  };
37
- size: import("vue-types").VueTypeDef<string>;
37
+ size: import("vue-types").VueTypeDef<"small" | "default" | "large">;
38
38
  small: import("vue-types").VueTypeValidableDef<boolean> & {
39
39
  default: boolean;
40
40
  } & {
@@ -56,6 +56,9 @@ export declare const paginationProps: {
56
56
  } & {
57
57
  default: boolean;
58
58
  };
59
+ beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
60
+ default: (...args: any[]) => any;
61
+ };
59
62
  layout: import("vue-types").VueTypeDef<string[]> & {
60
63
  default: () => string[];
61
64
  };
@@ -96,7 +99,7 @@ declare const _default: import("vue").DefineComponent<{
96
99
  align: import("vue-types").VueTypeDef<string> & {
97
100
  default: string;
98
101
  };
99
- size: import("vue-types").VueTypeDef<string>;
102
+ size: import("vue-types").VueTypeDef<"small" | "default" | "large">;
100
103
  small: import("vue-types").VueTypeValidableDef<boolean> & {
101
104
  default: boolean;
102
105
  } & {
@@ -118,6 +121,9 @@ declare const _default: import("vue").DefineComponent<{
118
121
  } & {
119
122
  default: boolean;
120
123
  };
124
+ beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
125
+ default: (...args: any[]) => any;
126
+ };
121
127
  layout: import("vue-types").VueTypeDef<string[]> & {
122
128
  default: () => string[];
123
129
  };
@@ -171,7 +177,7 @@ declare const _default: import("vue").DefineComponent<{
171
177
  align: import("vue-types").VueTypeDef<string> & {
172
178
  default: string;
173
179
  };
174
- size: import("vue-types").VueTypeDef<string>;
180
+ size: import("vue-types").VueTypeDef<"small" | "default" | "large">;
175
181
  small: import("vue-types").VueTypeValidableDef<boolean> & {
176
182
  default: boolean;
177
183
  } & {
@@ -193,6 +199,9 @@ declare const _default: import("vue").DefineComponent<{
193
199
  } & {
194
200
  default: boolean;
195
201
  };
202
+ beforeChange: import("vue-types").VueTypeValidableDef<(...args: any[]) => any> & {
203
+ default: (...args: any[]) => any;
204
+ };
196
205
  layout: import("vue-types").VueTypeDef<string[]> & {
197
206
  default: () => string[];
198
207
  };
@@ -202,19 +211,20 @@ declare const _default: import("vue").DefineComponent<{
202
211
  "onUpdate:limit"?: (...args: any[]) => any;
203
212
  onLimitChange?: (...args: any[]) => any;
204
213
  }, {
214
+ small: boolean;
215
+ align: string;
205
216
  type: string;
217
+ disabled: boolean;
206
218
  location: string;
207
- small: boolean;
208
219
  layout: string[];
209
- disabled: boolean;
210
220
  count: number;
211
221
  modelValue: number;
212
- align: string;
222
+ beforeChange: (...args: any[]) => any;
223
+ prevText: string;
224
+ nextText: string;
213
225
  limit: number;
214
226
  limitList: number[];
215
227
  showLimit: boolean;
216
228
  showTotalCount: boolean;
217
- prevText: string;
218
- nextText: string;
219
229
  }>;
220
230
  export default _default;
@@ -36,7 +36,6 @@
36
36
  margin-right: 0;
37
37
  }
38
38
 
39
-
40
39
  }
41
40
  .@{bk-prefix}-pagination-total {
42
41
  display: flex;
@@ -45,13 +44,14 @@
45
44
 
46
45
  .@{bk-prefix}-pagination-total-num {
47
46
  padding: 0 2px;
48
- color: #3f4046;
49
47
  }
50
48
 
51
49
  .@{bk-prefix}-pagination-list {
52
50
  display: flex;
53
51
  }
54
52
 
53
+ .@{bk-prefix}-pagination-list-pre-batch,
54
+ .@{bk-prefix}-pagination-list-next-batch,
55
55
  .@{bk-prefix}-pagination-list-pre,
56
56
  .@{bk-prefix}-pagination-list-next,
57
57
  .@{bk-prefix}-pagination-list-item {
@@ -66,14 +66,16 @@
66
66
  color: #63656e;
67
67
  cursor: pointer;
68
68
  background: #fff;
69
- border: 1px solid #c4c6cc;
70
69
  border-radius: 2px;
71
70
  user-select: none;
72
71
 
73
- &:hover,
74
72
  &.is-active {
75
73
  color: #3a84ff;
76
- border-color: #3a84ff;
74
+ background: #e1ecff;
75
+ }
76
+
77
+ &:hover {
78
+ background: #f0f1f5;
77
79
  }
78
80
 
79
81
  &.is-disabled {
@@ -84,28 +86,21 @@
84
86
  }
85
87
  }
86
88
 
87
- .@{bk-prefix}-pagination-list-pre-batch,
88
- .@{bk-prefix}-pagination-list-next-batch {
89
- display: flex;
90
- align-items: center;
91
- justify-content: center;
92
- height: 32px;
93
- cursor: pointer;
94
- user-select: none;
95
-
96
- &:hover {
97
- color: #3a84ff;
98
- }
99
- }
100
-
101
89
  .@{bk-prefix}-pagination-list-pre,
102
90
  .@{bk-prefix}-pagination-list-next {
103
- font-size: 14px;
91
+ font-size: 20px;
92
+ color: #979ba5;
93
+
94
+ &.is-disabled {
95
+ color: #dcdee5;
96
+ cursor: not-allowed;
97
+ background-color: transparent;
98
+ }
104
99
  }
105
100
 
106
101
  .@{bk-prefix}-pagination-list-item {
107
- margin-right: 4px;
108
- margin-left: 4px;
102
+ margin-right: 2px;
103
+ margin-left: 2px;
109
104
  }
110
105
 
111
106
  .@{bk-prefix}-pagination-limit {
@@ -117,14 +112,44 @@
117
112
  .@{bk-prefix}-pagination-limit-select {
118
113
  width: 60px;
119
114
  margin: 0 4px;
115
+
116
+ .@{bk-prefix}-input {
117
+ border-color: #f0f1f5;
118
+ }
119
+
120
+ .@{bk-prefix}-input--text {
121
+ background-color: #f0f1f5;
122
+ }
123
+
124
+ &:hover {
125
+ .@{bk-prefix}-input {
126
+ border-color: #eaebf0;
127
+ }
128
+
129
+ .@{bk-prefix}-input--text {
130
+ background-color: #eaebf0;
131
+ }
132
+ }
133
+
134
+ .@{bk-prefix}-input {
135
+ &.is-focused {
136
+ border-color: #3a84ff;
137
+
138
+ .@{bk-prefix}-input--text {
139
+ background-color: #fff;
140
+ }
141
+ }
142
+ }
120
143
  }
144
+
121
145
  .@{bk-prefix}-pagination-small-list {
122
146
  display: flex;
147
+ align-items: center;
123
148
 
124
149
  .@{bk-prefix}-pagination-picker {
125
150
  display: flex;
126
- height: 24px;
127
- // padding: 0 8px;
151
+ height: 26px;
152
+ margin: 0 4px;
128
153
  cursor: pointer;
129
154
  background-color: #f0f1f5;
130
155
  border: 1px solid #f0f1f5;
@@ -132,8 +157,8 @@
132
157
  align-items: center;
133
158
 
134
159
  &:hover {
135
- background-color: #e1ecff;
136
- border-color: #e1ecff;
160
+ background-color: #eaebf0;
161
+ border-color: #eaebf0;
137
162
  }
138
163
 
139
164
  &.is-focused {
@@ -146,7 +171,7 @@
146
171
 
147
172
  .@{bk-prefix}-pagination-editor {
148
173
  height: 16px;
149
- min-width: 14px;
174
+ min-width: 23px;
150
175
  padding-right: 4px;
151
176
  padding-left: 8px;
152
177
  line-height: 16px;
@@ -164,13 +189,17 @@
164
189
  .@{bk-prefix}-pagination-btn-pre,
165
190
  .@{bk-prefix}-pagination-btn-next {
166
191
  display: flex;
192
+ width: 26px;
193
+ height: 26px;
194
+ font-size: 20px;
195
+ color: #979ba5;
196
+ cursor: pointer;
167
197
  justify-content: center;
168
198
  align-items: center;
169
- width: 24px;
170
- cursor: pointer;
171
199
 
172
200
  &:hover {
173
- color: #3a84ff
201
+ color: #3a84ff;
202
+ background: #f0f1f5;
174
203
  }
175
204
 
176
205
  &.is-disabled {
@@ -9,6 +9,7 @@
9
9
  --gray-color: #979ba5;
10
10
  --light-gray: #c4c6cc;
11
11
  --white-color: white;
12
+ --whitesmoke-color: #fafbfd;
12
13
  --disable-color: #dcdee5;
13
14
  --font-size-base: 12px;
14
15
  --font-size-medium: 14px;
@@ -18,10 +19,11 @@
18
19
  --line-height-large: 18px;
19
20
  --component-size-small: 26px;
20
21
  --component-size-base: 32px;
21
- --component-size-large: 38px;
22
+ --component-size-large: 40px;
22
23
  --border-width-base: 1px;
23
24
  --border-style-base: solid;
24
25
  --border-radius-base: 2px;
26
+ --border-style-color: var(--light-gray);
25
27
  --input-disabled-bg: #fafbfd;
26
28
  --input-disabled-border: var(--disable-color);
27
29
  --input-height-base: var(--component-size-base);
@@ -31,8 +33,9 @@
31
33
  --input-broder-radius: 3px;
32
34
  --input-shadow-color: #a3c5fd;
33
35
  --input-horizontal-padding: 10px;
34
- --input-block-color: #f4f6fa;
35
- --input-icon-size: var(--font-size-large);
36
+ --input-block-color: #f5f7fa;
37
+ --input-block-hover-color: #eaebf0;
38
+ --input-icon-size: var(--font-size-medium);
36
39
  --input-maxlength-color: #979ba5;
37
40
  --button-primary-hover-color: #5594fa;
38
41
  --button-danger-hover-color: #ff5656;
@@ -43,6 +46,15 @@
43
46
  --button-danger-active-color: #db2626;
44
47
  --button-success-active-color: #1ab943;
45
48
  --button-warning-active-color: #eb9000;
49
+ --button-selected-bg-color: #e1ecff;
50
+ --button-disabled-selected-bg-color: #f0f1f5;
51
+ --radio-font-color: #63656e;
52
+ --radio-active-color: #5594fa;
53
+ --radio-hover-border-color: #979ba5;
54
+ --radio-disabled-border: #dcdee5;
55
+ --radio-disabled-font-color: #c4c6cc;
56
+ --radio-distable-checked-bg: #fafbfd;
57
+ --radio-button-checked-bg: #e1ecff;
46
58
  --fixed-navbar-background: #fff;
47
59
  --fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
48
60
  --switch-default-color: #fff;
@@ -63,12 +75,16 @@
63
75
  --message-color: var(--default-color);
64
76
  --message-primary-bg-color: #f0f8ff;
65
77
  --message-primary-border-color: #e1ecff;
78
+ --message-primary-shadow-color: #e1e8f4;
66
79
  --message-warning-bg-color: #fff4e2;
67
80
  --message-warning-border-color: #ffe8c3;
81
+ --message-warning-shadow-color: #ede6db;
68
82
  --message-success-bg-color: #f2fff4;
69
83
  --message-success-border-color: #dcffe2;
84
+ --message-success-shadow-color: #cef0d7;
70
85
  --message-danger-bg-color: #ffeded;
71
86
  --message-danger-border-color: #ffdddd;
87
+ --message-danger-shadow-color: #f6dada;
72
88
  --slider-default-bg: #dcdee5;
73
89
  --slider-disable-bar-bg: #979ba5;
74
90
  --menu-bg-color: #182132;
@@ -90,6 +106,17 @@
90
106
  --table-head-font-color: #313238;
91
107
  --table-body-font-color: #575961;
92
108
  --table-row-hover-bg-color: #f5f7fa;
109
+ --table-row-active-bg-color: #f0f1f5;
110
+ --cascader-panel-border-color: #dcdee5;
111
+ --cascader-panel-hover: #f5f7fa;
112
+ --cascader-panel-active: #e1ecff;
113
+ --cascader-panel-disabled-bg: #fff;
114
+ --search-select-focus-border-color: var(--primary-color);
115
+ --search-select-focus-color: #3c96ff;
116
+ --search-select-font-color: var(--default-color);
117
+ --search-select-placeholder-color: var(--light-gray);
118
+ --search-select-message-color: var(--danger-color);
119
+ --search-select-menu-border-color: var(--disable-color);
93
120
  }
94
121
  .bk-pagination {
95
122
  display: flex;
@@ -126,11 +153,12 @@
126
153
  }
127
154
  .bk-pagination-total-num {
128
155
  padding: 0 2px;
129
- color: #3f4046;
130
156
  }
131
157
  .bk-pagination-list {
132
158
  display: flex;
133
159
  }
160
+ .bk-pagination-list-pre-batch,
161
+ .bk-pagination-list-next-batch,
134
162
  .bk-pagination-list-pre,
135
163
  .bk-pagination-list-next,
136
164
  .bk-pagination-list-item {
@@ -145,19 +173,26 @@
145
173
  color: #63656e;
146
174
  cursor: pointer;
147
175
  background: #fff;
148
- border: 1px solid #c4c6cc;
149
176
  border-radius: 2px;
150
177
  user-select: none;
151
178
  }
152
- .bk-pagination-list-pre:hover,
153
- .bk-pagination-list-next:hover,
154
- .bk-pagination-list-item:hover,
179
+ .bk-pagination-list-pre-batch.is-active,
180
+ .bk-pagination-list-next-batch.is-active,
155
181
  .bk-pagination-list-pre.is-active,
156
182
  .bk-pagination-list-next.is-active,
157
183
  .bk-pagination-list-item.is-active {
158
184
  color: #3a84ff;
159
- border-color: #3a84ff;
185
+ background: #e1ecff;
186
+ }
187
+ .bk-pagination-list-pre-batch:hover,
188
+ .bk-pagination-list-next-batch:hover,
189
+ .bk-pagination-list-pre:hover,
190
+ .bk-pagination-list-next:hover,
191
+ .bk-pagination-list-item:hover {
192
+ background: #f0f1f5;
160
193
  }
194
+ .bk-pagination-list-pre-batch.is-disabled,
195
+ .bk-pagination-list-next-batch.is-disabled,
161
196
  .bk-pagination-list-pre.is-disabled,
162
197
  .bk-pagination-list-next.is-disabled,
163
198
  .bk-pagination-list-item.is-disabled {
@@ -166,26 +201,20 @@
166
201
  background-color: #fafbfd;
167
202
  border-color: #dcdee5;
168
203
  }
169
- .bk-pagination-list-pre-batch,
170
- .bk-pagination-list-next-batch {
171
- display: flex;
172
- align-items: center;
173
- justify-content: center;
174
- height: 32px;
175
- cursor: pointer;
176
- user-select: none;
177
- }
178
- .bk-pagination-list-pre-batch:hover,
179
- .bk-pagination-list-next-batch:hover {
180
- color: #3a84ff;
181
- }
182
204
  .bk-pagination-list-pre,
183
205
  .bk-pagination-list-next {
184
- font-size: 14px;
206
+ font-size: 20px;
207
+ color: #979ba5;
208
+ }
209
+ .bk-pagination-list-pre.is-disabled,
210
+ .bk-pagination-list-next.is-disabled {
211
+ color: #dcdee5;
212
+ cursor: not-allowed;
213
+ background-color: transparent;
185
214
  }
186
215
  .bk-pagination-list-item {
187
- margin-right: 4px;
188
- margin-left: 4px;
216
+ margin-right: 2px;
217
+ margin-left: 2px;
189
218
  }
190
219
  .bk-pagination-limit {
191
220
  display: flex;
@@ -196,12 +225,32 @@
196
225
  width: 60px;
197
226
  margin: 0 4px;
198
227
  }
228
+ .bk-pagination-limit-select .bk-input {
229
+ border-color: #f0f1f5;
230
+ }
231
+ .bk-pagination-limit-select .bk-input--text {
232
+ background-color: #f0f1f5;
233
+ }
234
+ .bk-pagination-limit-select:hover .bk-input {
235
+ border-color: #eaebf0;
236
+ }
237
+ .bk-pagination-limit-select:hover .bk-input--text {
238
+ background-color: #eaebf0;
239
+ }
240
+ .bk-pagination-limit-select .bk-input.is-focused {
241
+ border-color: #3a84ff;
242
+ }
243
+ .bk-pagination-limit-select .bk-input.is-focused .bk-input--text {
244
+ background-color: #fff;
245
+ }
199
246
  .bk-pagination-small-list {
200
247
  display: flex;
248
+ align-items: center;
201
249
  }
202
250
  .bk-pagination-small-list .bk-pagination-picker {
203
251
  display: flex;
204
- height: 24px;
252
+ height: 26px;
253
+ margin: 0 4px;
205
254
  cursor: pointer;
206
255
  background-color: #f0f1f5;
207
256
  border: 1px solid #f0f1f5;
@@ -209,8 +258,8 @@
209
258
  align-items: center;
210
259
  }
211
260
  .bk-pagination-small-list .bk-pagination-picker:hover {
212
- background-color: #e1ecff;
213
- border-color: #e1ecff;
261
+ background-color: #eaebf0;
262
+ border-color: #eaebf0;
214
263
  }
215
264
  .bk-pagination-small-list .bk-pagination-picker.is-focused {
216
265
  background-color: #fff;
@@ -219,7 +268,7 @@
219
268
  }
220
269
  .bk-pagination-editor {
221
270
  height: 16px;
222
- min-width: 14px;
271
+ min-width: 23px;
223
272
  padding-right: 4px;
224
273
  padding-left: 8px;
225
274
  line-height: 16px;
@@ -237,14 +286,18 @@
237
286
  .bk-pagination-btn-pre,
238
287
  .bk-pagination-btn-next {
239
288
  display: flex;
289
+ width: 26px;
290
+ height: 26px;
291
+ font-size: 20px;
292
+ color: #979ba5;
293
+ cursor: pointer;
240
294
  justify-content: center;
241
295
  align-items: center;
242
- width: 24px;
243
- cursor: pointer;
244
296
  }
245
297
  .bk-pagination-btn-pre:hover,
246
298
  .bk-pagination-btn-next:hover {
247
299
  color: #3a84ff;
300
+ background: #f0f1f5;
248
301
  }
249
302
  .bk-pagination-btn-pre.is-disabled,
250
303
  .bk-pagination-btn-next.is-disabled {
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Tencent is pleased to support the open source community by making
3
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
4
+ *
5
+ * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
6
+ *
7
+ * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
8
+ *
9
+ * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
10
+ *
11
+ * ---------------------------------------------------
12
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
13
+ * documentation files (the "Software"), to deal in the Software without restriction, including without limitation
14
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
15
+ * to permit persons to whom the Software is furnished to do so, subject to the following conditions:
16
+ *
17
+ * The above copyright notice and this permission notice shall be included in all copies or substantial portions of
18
+ * the Software.
19
+ *
20
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
21
+ * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
23
+ * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
24
+ * IN THE SOFTWARE.
25
+ */
26
+ import $bkPopover from '../../popover/src/plugin-popover';
27
+ export default $bkPopover;
@@ -0,0 +1 @@
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("vue"),require("../directives"),require("../shared"),require("vue-types"));else if("function"==typeof define&&define.amd)define(["vue","../directives","../shared","vue-types"],t);else{var n="object"==typeof exports?t(require("vue"),require("../directives"),require("../shared"),require("vue-types")):t(e.vue,e["../directives"],e["../shared"],e["vue-types"]);for(var o in n)("object"==typeof exports?exports:e)[o]=n[o]}}(self,((e,t,n,o)=>(()=>{var r={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=t},4212:e=>{"use strict";e.exports=n},748:t=>{"use strict";t.exports=e},210:e=>{"use strict";e.exports=o}},i={};function l(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={exports:{}};return r[e](n,n.exports,l),n.exports}l.d=(e,t)=>{for(var n in t)l.o(t,n)&&!l.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return(()=>{"use strict";function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}l.r(a),l.d(a,{default:()=>Ve});var t=l(748),n=l(4061),o=l(4212);const r=(0,t.defineComponent)({name:"PopArrow",render:function(){var e=(0,o.resolveClassName)("pop2-arrow");return(0,t.createVNode)("div",{class:e},null)}});var i,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=(e(i={},c.SHOW,u),e(i,c.HIDE,u),e(i,c.CLICK_OUTSIDE,u),e(i,c.CONTENT_MOUSEENTER,u),e(i,c.CONTENT_MOUSELEAVE,u),e(i,c.STOP_HIDE,u),i);const f=(0,t.defineComponent)({name:"PopContent",props:{width:o.PropTypes.oneOfType([o.PropTypes.string,o.PropTypes.number]).def("auto"),height:o.PropTypes.oneOfType([o.PropTypes.string,o.PropTypes.number]).def("auto"),maxHeight:o.PropTypes.oneOfType([o.PropTypes.string,o.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),maxHeight:n(e.maxHeight)}}))}},render:function(){var e,n,r,i,l,a,c=[(0,o.resolveClassName)("popover"),(0,o.resolveClassName)("pop2-content")];return(0,t.createVNode)("div",{class:c,tabindex:"-1",style:this.style},[null!==(r=null===(n=(e=this.$slots).arrow)||void 0===n?void 0:n.call(e))&&void 0!==r?r:"",null!==(a=null===(l=(i=this.$slots).default)||void 0===l?void 0:l.call(i))&&void 0!==a?a:""])}});var d,p,v,m,h,g,y,w,b,T,x,R,P,E=l(210);(0,E.createTypes)({}),function(e){e.SMALL="small",e.LARGE="large",e.DEFAULT="default"}(d||(d={})),function(e){e.Top="top",e.Left="left",e.Right="right",e.Bottom="bottom"}(p||(p={})),function(e){e.IF="if",e.SHOW="show"}(v||(v={})),function(e){e.LEFT="left",e.CENTER="center",e.RIGHT="right"}(m||(m={})),function(e){e.PRIMARY="primary",e.WARNING="warning",e.SUCCESS="success",e.DANGER="danger"}(h||(h={})),function(e){e.AUTO="auto",e.AUTO_START="auto-start",e.AUTO_END="auto-end",e.TOP="top",e.RIGHT="right",e.BOTTOM="bottom",e.LEFT="left",e.TOP_START="top-start",e.TOP_END="top-end",e.BOTTOM_START="bottom-start",e.BOTTOM_END="bottom-end",e.RIGHT_START="right-start",e.RIGHT_END="right-end",e.LEFT_START="left-start",e.LEFT_END="left-end"}(g||(g={})),function(e){e.HOVER="hover",e.CLICK="click",e.MANUAL="manual"}(y||(y={})),function(e){e.AUTO="auto",e.SHOWN="shown"}(w||(w={})),function(e){e.SHOW="show",e.OPERATION="operation",e.CONFIRM="confirm",e.PROCESS="process"}(b||(b={})),function(e){e.HORIZONTAL="horizontal",e.VERTICAL="vertical"}(T||(T={})),function(e){e.DASHED="dashed",e.SOLID="solid"}(x||(x={})),function(e){e.SUCCESS="success",e.INFO="info",e.WARNING="warning",e.DANGER="danger"}(R||(R={})),function(e){e.SIMPLICITY="simplicity",e.NORMAL="normal"}(P||(P={}));var O={onAfterHidden:Function,onAfterShow:Function},A=Object.assign({isShow:o.PropTypes.bool.def(!1),always:o.PropTypes.bool.def(!1),disabled:o.PropTypes.bool.def(!1),width:o.PropTypes.oneOfType([o.PropTypes.string,o.PropTypes.number]).def("auto"),height:o.PropTypes.oneOfType([o.PropTypes.string,o.PropTypes.number]).def("auto"),maxHeight:o.PropTypes.oneOfType([o.PropTypes.string,o.PropTypes.number]).def("auto"),content:o.PropTypes.oneOfType([o.PropTypes.string,o.PropTypes.number]).def(""),placement:(0,o.placementType)().def(g.TOP),theme:o.PropTypes.string.def("dark"),trigger:(0,E.toType)("trigger",{}).def(y.HOVER),renderType:(0,E.toType)("trigger",{}).def(w.AUTO),arrow:o.PropTypes.bool.def(!0),padding:o.PropTypes.number.def(5),offset:o.PropTypes.oneOfType([o.PropTypes.number,o.PropTypes.shape({})]).def(6),boundary:o.PropTypes.oneOfType([o.PropTypes.string.def("parent"),o.PropTypes.instanceOf(HTMLElement)]),zIndex:o.PropTypes.number.def(void 0),disableTeleport:o.PropTypes.bool.def(!1),autoPlacement:o.PropTypes.bool.def(!1),autoVisibility:o.PropTypes.bool.def(!0),disableOutsideClick:o.PropTypes.bool.def(!1),disableTransform:o.PropTypes.bool.def(!1),reference:o.PropTypes.any.def(null),modifiers:o.PropTypes.array.def([]),popoverDelay:o.PropTypes.number.def(100)},O);const C=(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:""}}),S=(0,t.defineComponent)({props:{class:o.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 N(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 L(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 N(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)?N(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 I(e){return e.split("-")[0]}function H(e){return e.split("-")[1]}function D(e){return["top","bottom"].includes(I(e))?"x":"y"}function M(e){return"y"===e?"height":"width"}function j(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=D(t),c=M(a),u=o[c]/2-r[c]/2,s="x"===a;let f;switch(I(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(H(t)){case"start":f[a]-=u*(n&&s?-1:1);break;case"end":f[a]+=u*(n&&s?-1:1)}return f}function V(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 k(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function F(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=V(p),m=a[d?"floating"===f?"reference":"floating":f],h=k(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=k(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 U=Math.min,_=Math.max;function $(e,t,n){return _(e,U(t,n))}const B={left:"right",right:"left",bottom:"top",top:"bottom"};function W(e){return e.replace(/left|right|bottom|top/g,(e=>B[e]))}function q(e,t,n){void 0===n&&(n=!1);const o=H(e),r=D(e),i=M(r);let l="x"===r?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=W(l)),{main:l,cross:W(l)}}const z={start:"end",end:"start"};function G(e){return e.replace(/start|end/g,(e=>z[e]))}const Y=["top","right","bottom","left"],K=Y.reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[]);function X(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Z(e){return Y.some((t=>e[t]>=0))}const J=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=I(n),a=H(n),c="x"===D(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 Q=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 F(t,c),f=D(I(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=$(p+s["y"===f?"top":"left"],p,p-s[e])}if(l){const e="y"===d?"bottom":"right";v=$(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 ee(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function te(e){if(null==e)return window;if(!ee(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function ne(e){return te(e).getComputedStyle(e)}function oe(e){return ee(e)?"":e?(e.nodeName||"").toLowerCase():""}function re(){const e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((e=>e.brand+"/"+e.version)).join(" "):navigator.userAgent}function ie(e){return e instanceof te(e).HTMLElement}function le(e){return e instanceof te(e).Element}function ae(e){return"undefined"!=typeof ShadowRoot&&(e instanceof te(e).ShadowRoot||e instanceof ShadowRoot)}function ce(e){const{overflow:t,overflowX:n,overflowY:o}=ne(e);return/auto|scroll|overlay|hidden/.test(t+o+n)}function ue(e){return["table","td","th"].includes(oe(e))}function se(e){const t=/firefox/i.test(re()),n=ne(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 fe(){return!/^((?!chrome|android).)*safari/i.test(re())}const de=Math.min,pe=Math.max,ve=Math.round;function me(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&&ie(e)&&(c=e.offsetWidth>0&&ve(a.width)/e.offsetWidth||1,u=e.offsetHeight>0&&ve(a.height)/e.offsetHeight||1);const s=le(e)?te(e):window,f=!fe()&&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 he(e){return(t=e,(t instanceof te(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function ge(e){return le(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ye(e){return me(he(e)).left+ge(e).scrollLeft}function we(e,t,n){const o=ie(t),r=he(t),i=me(e,o&&function(e){const t=me(e);return ve(t.width)!==e.offsetWidth||ve(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"!==oe(t)||ce(r))&&(l=ge(t)),ie(t)){const e=me(t,!0);a.x=e.x+t.clientLeft,a.y=e.y+t.clientTop}else r&&(a.x=ye(r));return{x:i.left+l.scrollLeft-a.x,y:i.top+l.scrollTop-a.y,width:i.width,height:i.height}}function be(e){return"html"===oe(e)?e:e.assignedSlot||e.parentNode||(ae(e)?e.host:null)||he(e)}function Te(e){return ie(e)&&"fixed"!==getComputedStyle(e).position?e.offsetParent:null}function xe(e){const t=te(e);let n=Te(e);for(;n&&ue(n)&&"static"===getComputedStyle(n).position;)n=Te(n);return n&&("html"===oe(n)||"body"===oe(n)&&"static"===getComputedStyle(n).position&&!se(n))?t:n||function(e){let t=be(e);for(ae(t)&&(t=t.host);ie(t)&&!["html","body"].includes(oe(t));){if(se(t))return t;t=t.parentNode}return null}(e)||t}function Re(e){if(ie(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=me(e);return{width:t.width,height:t.height}}function Pe(e){const t=be(e);return["html","body","#document"].includes(oe(t))?e.ownerDocument.body:ie(t)&&ce(t)?t:Pe(t)}function Ee(e,t){var n;void 0===t&&(t=[]);const o=Pe(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=te(o),l=r?[i].concat(i.visualViewport||[],ce(o)?o:[]):o,a=t.concat(l);return r?a:a.concat(Ee(l))}function Oe(e,t,n){return"viewport"===t?k(function(e,t){const n=te(e),o=he(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=fe();(e||!e&&"fixed"===t)&&(a=r.offsetLeft,c=r.offsetTop)}return{width:i,height:l,x:a,y:c}}(e,n)):le(t)?function(e,t){const n=me(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):k(function(e){var t;const n=he(e),o=ge(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=pe(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),l=pe(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let a=-o.scrollLeft+ye(e);const c=-o.scrollTop;return"rtl"===ne(r||n).direction&&(a+=pe(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:l,x:a,y:c}}(he(e)))}function Ae(e){const t=Ee(e),n=["absolute","fixed"].includes(ne(e).position)&&ie(e)?xe(e):e;return le(n)?t.filter((e=>le(e)&&function(e,t){const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&ae(n)){let n=t;do{if(n&&e===n)return!0;n=n.parentNode||n.host}while(n)}return!1}(e,n)&&"body"!==oe(e))):[]}const Ce={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const i=[..."clippingAncestors"===n?Ae(t):[].concat(n),o],l=i[0],a=i.reduce(((e,n)=>{const o=Oe(t,n,r);return e.top=pe(o.top,e.top),e.right=de(o.right,e.right),e.bottom=de(o.bottom,e.bottom),e.left=pe(o.left,e.left),e}),Oe(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=ie(n),i=he(n);if(n===i)return t;let l={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if((r||!r&&"fixed"!==o)&&(("body"!==oe(n)||ce(i))&&(l=ge(n)),ie(n))){const e=me(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:le,getDimensions:Re,getOffsetParent:xe,getDocumentElement:he,getElementRects:e=>{let{reference:t,floating:n,strategy:o}=e;return{reference:we(t,xe(n),o),floating:{...Re(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===ne(e).direction},Se=(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}=j(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}=j(c,f,a))),n=-1)}return{x:u,y:s,placement:f,strategy:r,middlewareData:d}})(e,t,{platform:Ce,...n}),Ne=function(n,r,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=T(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},y=function(){var e,t,o,r;return{elReference:T(null===(e=l.value)||void 0===e?void 0:e.$el),elContent:T(null===(t=a.value)||void 0===t?void 0:t.$el),elArrow:n.arrow?T(null===(o=u.value)||void 0===o?void 0:o.$el):null,root:T(null===(r=s.value)||void 0===r?void 0:r.$el)}},w=function(){var e={};return Array.isArray(n.modifiers)&&n.modifiers.forEach((function(t){var n,o,r,i,l;if("offset"===t.name){if("number"==typeof(null===(n=t.options)||void 0===n?void 0:n.offset)&&(l=null===(o=t.options)||void 0===o?void 0:o.offset),Array.isArray(null===(r=t.options)||void 0===r?void 0:r.offset)){var a=L(null===(i=t.options)||void 0===i?void 0:i.offset,2);l={mainAxis:a[0],crossAxis:a[1]}}Object.assign(e,{offset:l})}})),e},b=function(e,t){var n,o,r=w(),i=[J(r.offset||t.offset),Q({padding:t.padding})],l={placement:t.placement,middleware:i};if(t.arrow&&i.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=V(o),s={x:r,y:i},f=D(l),d=H(l),p=M(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],w=await(null==c.getOffsetParent?void 0:c.getOffsetParent(n));let b=w?"y"===f?w.clientHeight||0:w.clientWidth||0:0;0===b&&(b=a.floating[p]);const T=g/2-y/2,x=u[m],R=b-v[p]-u[h],P=b/2-v[p]/2+T,E=$(x,P,R),O=("start"===d?u[m]:u[h])>0&&P!==E&&a.reference[p]<=a.floating[p];return{[f]:s[f]-(O?P<x?x-P:R-P:0),data:{[f]:E,centerOffset:P-E}}}}))({element:e})),g()?i.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=K,autoAlignment:h=!0,...g}=e,y=function(e,t,n){return(e?[...n.filter((t=>H(t)===e)),...n.filter((t=>H(t)!==e))]:n.filter((e=>I(e)===e))).filter((n=>!e||H(n)===e||!!t&&G(n)!==n))}(v,h,m),w=await F(t,g),b=null!=(n=null==(o=s.autoPlacement)?void 0:o.index)?n:0,T=y[b];if(null==T)return{};const{main:x,cross:R}=q(T,u,await(null==d.isRTL?void 0:d.isRTL(p.floating)));if(f!==T)return{x:a,y:c,reset:{placement:y[0]}};const P=[w[I(T)],w[x],w[R]],E=[...null!=(r=null==(i=s.autoPlacement)?void 0:i.overflows)?r:[],{placement:T,overflows:P}],O=y[b+1];if(O)return{data:{index:b+1,overflows:E},reset:{placement:O}};const A=E.slice().sort(((e,t)=>e.overflows[0]-t.overflows[0])),C=null==(l=A.find((e=>{let{overflows:t}=e;return t.every((e=>e<=0))})))?void 0:l.placement,S=null!=C?C:A[0].placement;return S!==f?{data:{index:b+1,overflows:E},reset:{placement:S}}:{}}}}()):(i.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=k(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=V(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"===D(o)){const e=d[0],t=d[d.length-1],n="top"===I(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"===I(o),t=_(...d.map((e=>e.right))),n=U(...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}}:{}}}}()),i.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=I(o),h=f||(m!==l&&p?function(e){const t=W(e);return[G(e),t,G(t)]}(l):[W(l)]),g=[l,...h],y=await F(t,v),w=[];let b=(null==(n=r.flip)?void 0:n.overflows)||[];if(u&&w.push(y[m]),s){const{main:e,cross:t}=q(o,i,await(null==a.isRTL?void 0:a.isRTL(c.floating)));w.push(y[e],y[t])}if(b=[...b,{placement:o,overflows:w}],!w.every((e=>e<=0))){var T,x;const e=(null!=(T=null==(x=r.flip)?void 0:x.index)?T:0)+1,t=g[e];if(t)return{data:{index:e,overflows:b},reset:{placement:t}};let n="bottom";switch(d){case"bestFit":{var R;const e=null==(R=b.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()&&l.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=X(await F(e,{...n,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:Z(t)}}}case"escaped":{const t=X(await F(e,{...n,altBoundary:!0}),o.floating);return{data:{escapedOffsets:t,escaped:Z(t)}}}default:return{}}}}}()),p()||t.isVirtualEl){var a=(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}}}),c=a.getElementRects,u=a.getDimensions,s=a.getClippingRect;Object.assign(l,{platform:Object.assign(Object.assign({},null!==(n=null==t?void 0:t.platform)&&void 0!==n?n:{}),{getElementRects:c,getDimensions:u,getClippingRect:s})})}return l},T=function e(t){return t instanceof HTMLElement?t:t instanceof Text?e(t.nextElementSibling):"function"==typeof(null==t?void 0:t.getBoundingClientRect)?t:null},x=m.value.customThemes.join(" "),R=m.value.customThemes.reduce((function(t,n){return Object.assign(e({},"data-".concat(n,"-theme"),!0),t)}),{}),P="".concat(x),E=null,O=function(e){var t=window.devicePixelRatio||1;return Math.round(e*t)/t||0},A=function(e,t,o,r){var i;n.disableTransform?Object.assign(e.style,{left:"".concat(O(t),"px"),top:"".concat(O(o),"px")}):Object.assign(e.style,{left:"0",top:"0",transform:"translate3d(".concat(O(t),"px,").concat(O(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"})},C=function(t,o,r){var i;if(n.arrow){var l=null!==(i=r.arrow)&&void 0!==i?i:{},a=l.x,c=l.y;t.setAttribute("data-arrow",o),Object.assign(t.style,{left:"",top:"",bottom:"",right:""});var u={top:"bottom",right:"left",bottom:"top",left:"right"}[o];Object.assign(t.style,e({left:null!==a?"".concat(a,"px"):"",top:null!==c?"".concat(c,"px"):""},u,"-4px"))}},S=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=y(),o=n.elReference,r=n.elContent,i=n.elArrow,l=e||o;if(l&&r){var a=b(i,t);Se(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(P,"")," ").concat(P).replace(/\s+/gm," ").replace(/^\s+|\s+$/g,""),Object.keys(R).forEach((function(e){r.setAttribute(e,R[e])}));var c=o.split("-")[0],u=c;["left","right","top","bottom"].includes(c)||(u="top"),A(r,t,n,l),C(i,u,l)}))}},N=void 0,j=!1,B=function(){setTimeout((function(){!n.disabled&&(f.value=!0)}),n.popoverDelay)},z=function(){N=setTimeout((function(){f.value=!1}),n.popoverDelay)},Y=function(){f.value?z():B()},ee=function(){Y()},te=function(){"hover"===n.trigger&&(N&&(j=!0,clearTimeout(N),N=void 0),oe())},ne=function(){j&&(z(),j=!1,re())},oe=function(){r.emit(c.CONTENT_MOUSEENTER)},re=function(){r.emit(c.CONTENT_MOUSELEAVE)};return(0,t.watch)(f,(function(e){var t,i;e?((i=T(null===(t=a.value)||void 0===t?void 0:t.$el)).style.setProperty("display","block"),i.style.setProperty("z-index","".concat(n.zIndex?n.zIndex:o.bkZIndexManager.getPopperIndex())),S(),r.emit("afterShow",{isShow:!0})):function(){var e;T(null===(e=a.value)||void 0===e?void 0:e.$el).style.setProperty("display","none"),r.emit("afterHidden",{isShow:!1})}()})),{showPopover:B,hidePopover:z,resolveTriggerEvents:function(){var e;return null!==(e={hover:{content:[["mouseenter",te],["mouseleave",ne]],reference:[["mouseenter",B],["mouseleave",z],["focus",B],["blur",z]]},click:[["click",ee]],manual:{content:[["mouseenter",oe],["mouseleave",re]],reference:[[]]}}[n.trigger])&&void 0!==e?e:[]},updatePopover:S,triggerPopover:Y,resolvePopElements:y,isElementFullScreen:p,resolveTargetElement:T,createPopInstance:function(){var e=y(),t=e.elReference,o=e.elContent;E=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?[...le(e)?Ee(e):[],...Ee(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),le(e)&&!a&&d.observe(e),d.observe(t));let p=a?me(e):null;return a&&function t(){const o=me(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(){S(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(){N&&(j=!0,clearTimeout(N),N=void 0)},localIsShow:f,cleanup:E}};var Le=l(8022),Ie={},He=function(e){return document.querySelector(e)instanceof HTMLElement},De=null,Me=null;const je=(0,t.defineComponent)({name:"Popover",components:{Content:f,Arrow:r,Root:S},directives:{clickoutside:n.clickoutside},props:A,emits:s,setup:function(e,n){var r=e.content,i=e.theme,l=e.disableTeleport,a=(0,t.toRefs)(e).reference,u=(0,t.ref)(),s=(0,t.ref)(),f=(0,t.ref)(),d=(0,t.ref)(),p=(0,t.computed)((function(){return a.value||u.value})),v=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=(Ie.fullscreenReferId||(Ie.fullscreenReferId="id_".concat((0,Le.v4)())),Ie.fullscreenReferId),d=(0,t.ref)(),p=Ne(e,n,{refReference:r,refContent:i,refArrow:l,refRoot:a}),v=p.localIsShow,m=p.showPopover,h=p.hidePopover,g=p.updatePopover,y=p.resolveTriggerEvents,w=p.resolvePopElements,b=p.isElementFullScreen,T=p.updateFullscreenTarget,x=p.createPopInstance,R=p.getFullscreenRoot,P=p.stopHide,E=function(){h()},O=function(){x(),e.always?m():A()},A=function(){var e=w(),t=e.elReference,n=e.elContent;if(u=y(),Array.isArray(u))C(t,u);else{var o=u,r=o.content,i=o.reference;C(t,i),C(n,r)}},C=function(e,t){t.forEach((function(t){var n=L(t,2),o=n[0],r=n[1];o&&"function"==typeof r&&e.addEventListener(o,r)}))},S=function(){var e=w(),t=e.elReference,n=e.root;s.value?H.value=null==d?void 0:d.value:H.value=I(n||t)},N=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(De);var r=(n||{}).parentNode;(null==r?void 0:r.parentNode)&&(r.parentNode.setAttribute("data-pnode-id",Me),o="[data-pnode-id=".concat(Me,"]"))}})),r((function(){if(!/^body$/i.test(e.boundary)&&"string"==typeof e.boundary){if(!He(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(De)})),o};if(null===De||!He("#".concat(De))){De="id_".concat((0,Le.v4)());var o=document.createElement("div");o.setAttribute("id",De),o.setAttribute("data-popper-id",De),document.body.append(o)}return null===Me&&(Me="id_".concat((0,Le.v4)())),{popContainerId:De,prefixId:n(),getPrefixId:n}}(e,"#"),I=N.getPrefixId,H=(0,t.ref)(),D=function(){!function(){if(null==u?void 0:u.length){var e=w().elReference;e&&u.forEach((function(t){var n=L(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=b(),null===(t=null==d?void 0:d.value)||void 0===t||t.setAttribute("data-fllsrn-id",f)},j=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),S(),g(null,e)};return{onMountedFn:function(){if(!e.disabled){if(O(),b()){var t="[data-fllsrn-id=".concat(f,"]"),n=R(t);M(n)}S(),document.body.addEventListener("fullscreenchange",j)}},onUnmountedFn:function(){D(),document.body.removeEventListener("fullscreenchange",j)},handleClickOutside:function(t){n.emit(c.CLICK_OUTSIDE,{isShow:v.value,event:t}),e.disableOutsideClick||e.always||e.disabled||"manual"===e.trigger||v.value&&E()},beforeInstanceUnmount:D,updateBoundary:S,initPopInstance:O,updatePopover:g,showPopover:m,hidePopover:h,showFn:function(){m()},hideFn:E,stopHide:P,isFullscreen:s,boundary:H,localIsShow:v}}(e,n,{refReference:p,refContent:s,refArrow:f,refRoot:d}),m=v.onMountedFn,h=v.onUnmountedFn,g=v.handleClickOutside,y=v.beforeInstanceUnmount,w=v.updateBoundary,b=v.initPopInstance,T=v.showFn,x=v.hideFn,R=v.showPopover,P=v.hidePopover,E=v.updatePopover,O=v.stopHide,A=v.localIsShow,C=v.boundary;e.always||e.disabled||(0,t.watch)((function(){return e.isShow}),(function(){e.isShow?R():P()}),{immediate:!0}),(0,t.watch)((function(){return[e.disabled]}),(function(e){e[0]?y():b()})),w(),(0,t.onMounted)(m),(0,t.onBeforeUnmount)(h);var S=(0,t.computed)((function(){return!l})),N=(0,t.computed)((function(){return e.renderType===o.RenderType.AUTO||A.value}));return{boundary:C,arrow:e.arrow,refDefaultReference:u,refContent:s,refArrow:f,content:r,theme:i,transBoundary:S,handleClickOutside:g,updatePopover:E,hide:function(){x()},show:function(){T()},stopHide:O,contentIsShow:N}},render:function(){var e,n,o,i,l,a,c=this;return(0,t.createVNode)(S,{ref:"refRoot"},{default:function(){return[(0,t.createVNode)(C,{ref:"refDefaultReference"},{default:function(){return[null!==(o=null===(n=(e=c.$slots).default)||void 0===n?void 0:n.call(e))&&void 0!==o?o:(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,maxHeight:c.maxHeight},{default:function(){return[c.contentIsShow?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)(r,{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]])]}})]}})}}),Ve=function(n){var o,r=null,i=null,l=null,a=Object.assign(Object.assign({boundary:"body",placement:"top",autoVisibility:!1},n),{trigger:"manual"}),c=function(e){return e instanceof Element||e instanceof HTMLDocument},u={name:"$popover",setup:function(n,o){var r=o.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 t=["target"];return Object.keys(i.value).filter((function(e){return!t.includes(e)})).reduce((function(t,n){return Object.assign(Object.assign({},t),e({},n,i.value[n]))}),{})})),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 r({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)(je,(0,t.mergeProps)(f.value,{ref:l,onContentMouseenter:d,onContentMouseleave:p}),{default:function(){return[(0,t.createVNode)("span",{style:u.value},null)]}})}}};return null===r&&(l=document.createElement("div"),(o=a.boundary,/^body$/i.test(o)?document.body:/^parent$/i.test(o)?c(a.target)?a.target.parentNode:a.target.target.parentNode:"string"==typeof o&&He(o)?document.querySelector(o):document.body).append(l),setTimeout((function(){r=(0,t.createApp)(u),i=r.mount(l)}))),{close:function(){r&&(r.unmount(),i=null,r=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}}}})(),a})()));
@@ -0,0 +1 @@
1
+ export { default as $bkPopover } from '../plugin-popover';
@@ -0,0 +1 @@
1
+ !function(e,o){if("object"==typeof exports&&"object"==typeof module)module.exports=o(require("../plugin-popover"));else if("function"==typeof define&&define.amd)define(["../plugin-popover"],o);else{var r="object"==typeof exports?o(require("../plugin-popover")):o(e["../plugin-popover"]);for(var t in r)("object"==typeof exports?exports:e)[t]=r[t]}}(self,(e=>(()=>{"use strict";var o={9706:o=>{o.exports=e}},r={};function t(e){var p=r[e];if(void 0!==p)return p.exports;var n=r[e]={exports:{}};return o[e](n,n.exports,t),n.exports}t.n=e=>{var o=e&&e.__esModule?()=>e.default:()=>e;return t.d(o,{a:o}),o},t.d=(e,o)=>{for(var r in o)t.o(o,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:o[r]})},t.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),t.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var p={};return(()=>{t.r(p),t.d(p,{$bkPopover:()=>o.a});var e=t(9706),o=t.n(e)})(),p})()));
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
+ export default _default;
@@ -0,0 +1,16 @@
1
+ export declare const enum EMIT_EVENTS {
2
+ SHOW = "show",
3
+ HIDE = "hide",
4
+ CLICK_OUTSIDE = "clickoutside",
5
+ CONTENT_MOUSEENTER = "contentMouseenter",
6
+ CONTENT_MOUSELEAVE = "contentMouseleave",
7
+ STOP_HIDE = "stopHide"
8
+ }
9
+ export declare const EMIT_EVENT_TYPES: {
10
+ show: (..._args: any[]) => boolean;
11
+ hide: (..._args: any[]) => boolean;
12
+ clickoutside: (..._args: any[]) => boolean;
13
+ contentMouseenter: (..._args: any[]) => boolean;
14
+ contentMouseleave: (..._args: any[]) => boolean;
15
+ stopHide: (..._args: any[]) => boolean;
16
+ };
@@ -0,0 +1,32 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ width: import("vue-types").VueTypeDef<string | number> & {
3
+ default: string | number;
4
+ };
5
+ height: import("vue-types").VueTypeDef<string | number> & {
6
+ default: string | number;
7
+ };
8
+ maxHeight: import("vue-types").VueTypeDef<string | number> & {
9
+ default: string | number;
10
+ };
11
+ }, {
12
+ style: import("vue").ComputedRef<{
13
+ width: string | number;
14
+ height: string | number;
15
+ maxHeight: string | number;
16
+ }>;
17
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
+ width: import("vue-types").VueTypeDef<string | number> & {
19
+ default: string | number;
20
+ };
21
+ height: import("vue-types").VueTypeDef<string | number> & {
22
+ default: string | number;
23
+ };
24
+ maxHeight: import("vue-types").VueTypeDef<string | number> & {
25
+ default: string | number;
26
+ };
27
+ }>>, {
28
+ width: string | number;
29
+ height: string | number;
30
+ maxHeight: string | number;
31
+ }>;
32
+ export default _default;