bkui-vue 0.0.1-beta.45 → 0.0.1-beta.451

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 (655) hide show
  1. package/License.txt +14 -0
  2. package/dist/index.cjs.js +160 -35
  3. package/dist/index.esm.js +35562 -14524
  4. package/dist/index.umd.js +160 -35
  5. package/dist/locale/en.esm.js +2 -0
  6. package/dist/locale/en.esm.js.map +1 -0
  7. package/dist/locale/en.umd.js +2 -0
  8. package/dist/locale/en.umd.js.map +1 -0
  9. package/dist/locale/zh-cn.esm.js +2 -0
  10. package/dist/locale/zh-cn.esm.js.map +1 -0
  11. package/dist/locale/zh-cn.umd.js +2 -0
  12. package/dist/locale/zh-cn.umd.js.map +1 -0
  13. package/dist/style.css +1 -1
  14. package/dist/style.variable.css +1 -0
  15. package/lib/affix/affix.css +3 -0
  16. package/lib/affix/affix.d.ts +47 -0
  17. package/lib/affix/affix.less +5 -0
  18. package/lib/affix/affix.variable.css +125 -0
  19. package/lib/affix/index.d.ts +143 -0
  20. package/lib/affix/index.js +1 -0
  21. package/lib/alert/alert.css +9 -3
  22. package/lib/alert/alert.d.ts +5 -5
  23. package/lib/alert/alert.less +29 -20
  24. package/lib/alert/alert.variable.css +41 -7
  25. package/lib/alert/index.d.ts +11 -11
  26. package/lib/alert/index.js +1 -1
  27. package/lib/animate-number/animate-number.d.ts +1 -1
  28. package/lib/animate-number/index.d.ts +4 -4
  29. package/lib/backtop/backtop.css +8 -0
  30. package/lib/backtop/backtop.d.ts +3 -3
  31. package/lib/backtop/backtop.less +8 -0
  32. package/lib/backtop/backtop.variable.css +40 -4
  33. package/lib/backtop/index.d.ts +10 -10
  34. package/lib/backtop/index.js +1 -1
  35. package/lib/badge/badge.css +7 -10
  36. package/lib/badge/badge.d.ts +28 -7
  37. package/lib/badge/badge.less +9 -11
  38. package/lib/badge/badge.variable.css +39 -14
  39. package/lib/badge/index.d.ts +68 -18
  40. package/lib/badge/index.js +1 -1
  41. package/lib/breadcrumb/breadcrumb-item.d.ts +4 -2
  42. package/lib/breadcrumb/breadcrumb.css +51 -0
  43. package/lib/breadcrumb/breadcrumb.variable.css +88 -9
  44. package/lib/breadcrumb/index.d.ts +4 -2
  45. package/lib/breadcrumb/index.js +1 -1
  46. package/lib/button/button-group.d.ts +2 -2
  47. package/lib/button/button.css +85 -50
  48. package/lib/button/button.d.ts +44 -24
  49. package/lib/button/button.less +72 -42
  50. package/lib/button/button.variable.css +117 -54
  51. package/lib/button/index.d.ts +74 -44
  52. package/lib/button/index.js +1 -1
  53. package/lib/card/card.css +97 -2
  54. package/lib/card/card.d.ts +47 -6
  55. package/lib/card/card.less +50 -2
  56. package/lib/card/card.variable.css +133 -10
  57. package/lib/card/index.d.ts +113 -17
  58. package/lib/card/index.js +1 -1
  59. package/lib/cascader/cascader-panel.d.ts +101 -0
  60. package/lib/cascader/cascader.css +316 -0
  61. package/lib/cascader/cascader.d.ts +342 -0
  62. package/lib/cascader/cascader.less +283 -0
  63. package/lib/cascader/cascader.variable.css +438 -0
  64. package/lib/cascader/index.d.ts +961 -0
  65. package/lib/cascader/index.js +1 -0
  66. package/lib/cascader/interface.d.ts +51 -0
  67. package/lib/cascader/node.d.ts +31 -0
  68. package/lib/cascader/store.d.ts +25 -0
  69. package/lib/checkbox/checkbox-group.d.ts +16 -0
  70. package/lib/checkbox/checkbox.css +51 -11
  71. package/lib/checkbox/checkbox.d.ts +36 -24
  72. package/lib/checkbox/checkbox.less +85 -32
  73. package/lib/checkbox/checkbox.variable.css +83 -15
  74. package/lib/checkbox/common.d.ts +4 -3
  75. package/lib/checkbox/index.d.ts +70 -38
  76. package/lib/checkbox/index.js +1 -1
  77. package/lib/checkbox/type.d.ts +2 -6
  78. package/lib/code-diff/code-diff.css +27 -7
  79. package/lib/code-diff/code-diff.d.ts +1 -1
  80. package/lib/code-diff/code-diff.less +42 -7
  81. package/lib/code-diff/code-diff.variable.css +59 -11
  82. package/lib/code-diff/index.js +1 -1
  83. package/lib/collapse/collapse-panel.d.ts +103 -0
  84. package/lib/collapse/collapse.css +69 -14
  85. package/lib/collapse/collapse.d.ts +66 -52
  86. package/lib/collapse/collapse.less +112 -30
  87. package/lib/collapse/collapse.variable.css +191 -14
  88. package/lib/collapse/index.d.ts +266 -20
  89. package/lib/collapse/index.js +1 -1
  90. package/lib/collapse/props.d.ts +131 -0
  91. package/lib/collapse/utils.d.ts +11 -0
  92. package/lib/collapse-transition/collapse-transition.css +93 -0
  93. package/lib/collapse-transition/collapse-transition.d.ts +15 -0
  94. package/lib/collapse-transition/collapse-transition.less +111 -0
  95. package/lib/collapse-transition/collapse-transition.variable.css +215 -0
  96. package/lib/collapse-transition/index.d.ts +2 -0
  97. package/lib/collapse-transition/index.js +1 -0
  98. package/lib/color-picker/color-picker.css +275 -0
  99. package/lib/color-picker/color-picker.d.ts +144 -0
  100. package/lib/color-picker/color-picker.less +325 -0
  101. package/lib/color-picker/color-picker.variable.css +397 -0
  102. package/lib/color-picker/components/color-input.d.ts +42 -0
  103. package/lib/color-picker/components/hue-slider.d.ts +41 -0
  104. package/lib/color-picker/components/input-container.d.ts +42 -0
  105. package/lib/color-picker/components/recommend-colors.d.ts +51 -0
  106. package/lib/color-picker/components/saturation-panel.d.ts +41 -0
  107. package/lib/color-picker/index.d.ts +254 -0
  108. package/lib/color-picker/index.js +1 -0
  109. package/lib/color-picker/utils.d.ts +37 -0
  110. package/lib/components.d.ts +31 -8
  111. package/lib/components.js +1 -0
  112. package/lib/config-provider/config-provider.css +0 -0
  113. package/lib/config-provider/config-provider.d.ts +384 -0
  114. package/lib/config-provider/config-provider.less +1 -0
  115. package/lib/config-provider/config-provider.variable.css +122 -0
  116. package/lib/config-provider/index.d.ts +585 -0
  117. package/lib/config-provider/index.js +1 -0
  118. package/lib/config-provider/token.d.ts +122 -0
  119. package/lib/config-provider/use-global-config.d.ts +5 -0
  120. package/lib/config-provider/use-locale.d.ts +3 -0
  121. package/lib/config-provider/use-prefix.d.ts +9 -0
  122. package/lib/container/col.d.ts +51 -0
  123. package/lib/container/container.css +91 -0
  124. package/lib/container/container.d.ts +83 -0
  125. package/lib/container/container.less +20 -0
  126. package/lib/container/container.variable.css +213 -0
  127. package/lib/container/index.d.ts +223 -0
  128. package/lib/container/index.js +1 -0
  129. package/lib/container/row.d.ts +4 -0
  130. package/lib/date-picker/base/confirm.d.ts +74 -0
  131. package/lib/date-picker/base/date-table.d.ts +96 -0
  132. package/lib/date-picker/base/month-table.d.ts +117 -0
  133. package/lib/date-picker/base/picker-dropdown.d.ts +74 -0
  134. package/lib/date-picker/base/time-spinner.d.ts +170 -0
  135. package/lib/date-picker/base/year-table.d.ts +117 -0
  136. package/lib/date-picker/date-picker.css +28 -1
  137. package/lib/date-picker/date-picker.d.ts +49 -20
  138. package/lib/date-picker/date-picker.less +106 -74
  139. package/lib/date-picker/date-picker.variable.css +60 -5
  140. package/lib/date-picker/index.d.ts +121 -54
  141. package/lib/date-picker/index.js +1 -1
  142. package/lib/date-picker/interface.d.ts +11 -1
  143. package/lib/date-picker/panel/date-range.d.ts +328 -0
  144. package/lib/date-picker/panel/date.d.ts +206 -0
  145. package/lib/date-picker/panel/time-range.d.ts +489 -0
  146. package/lib/date-picker/panel/time.d.ts +448 -0
  147. package/lib/date-picker/props.d.ts +55 -5
  148. package/lib/date-picker/time-picker.d.ts +381 -0
  149. package/lib/date-picker/utils.d.ts +22 -2
  150. package/lib/dialog/dialog.css +136 -24
  151. package/lib/dialog/dialog.d.ts +245 -58
  152. package/lib/dialog/dialog.less +100 -38
  153. package/lib/dialog/dialog.variable.css +258 -24
  154. package/lib/dialog/index.d.ts +545 -126
  155. package/lib/dialog/index.js +1 -1
  156. package/lib/dialog/props.d.ts +122 -0
  157. package/lib/directives/ellipsis.d.ts +7 -0
  158. package/lib/directives/index.d.ts +2 -0
  159. package/lib/directives/index.js +1 -1
  160. package/lib/directives/tooltips.d.ts +2 -1
  161. package/lib/dist.index.js +1 -0
  162. package/lib/divider/divider.d.ts +15 -15
  163. package/lib/divider/divider.variable.css +32 -4
  164. package/lib/divider/index.d.ts +34 -34
  165. package/lib/divider/index.js +1 -1
  166. package/lib/divider/props.d.ts +6 -6
  167. package/lib/dropdown/dropdown.css +13 -7
  168. package/lib/dropdown/dropdown.d.ts +46 -14
  169. package/lib/dropdown/dropdown.less +47 -34
  170. package/lib/dropdown/dropdown.variable.css +45 -11
  171. package/lib/dropdown/index.d.ts +99 -35
  172. package/lib/dropdown/index.js +1 -1
  173. package/lib/exception/exception.css +40 -14
  174. package/lib/exception/exception.d.ts +31 -11
  175. package/lib/exception/exception.less +59 -22
  176. package/lib/exception/exception.variable.css +72 -18
  177. package/lib/exception/index.d.ts +43 -26
  178. package/lib/exception/index.js +1 -1
  179. package/lib/exception/typings/index.d.ts +4 -0
  180. package/lib/fixed-navbar/fixed-navbar.d.ts +16 -2
  181. package/lib/fixed-navbar/fixed-navbar.variable.css +32 -4
  182. package/lib/fixed-navbar/index.d.ts +40 -5
  183. package/lib/fixed-navbar/index.js +1 -1
  184. package/lib/form/compose-form-item.d.ts +16 -0
  185. package/lib/form/form-item.d.ts +22 -7
  186. package/lib/form/form.css +103 -15
  187. package/lib/form/form.d.ts +48 -14
  188. package/lib/form/form.less +152 -46
  189. package/lib/form/form.variable.css +225 -15
  190. package/lib/form/index.d.ts +121 -35
  191. package/lib/form/index.js +1 -1
  192. package/lib/form/type.d.ts +11 -8
  193. package/lib/form/utils.d.ts +2 -0
  194. package/lib/form/validator.d.ts +1 -0
  195. package/lib/hooks.d.ts +1 -0
  196. package/lib/hooks.js +1 -0
  197. package/lib/icon/angle-double-down-line.js +1 -1
  198. package/lib/icon/angle-double-left-line.js +1 -1
  199. package/lib/icon/angle-double-left.js +1 -1
  200. package/lib/icon/angle-double-right-line.js +1 -1
  201. package/lib/icon/angle-double-right.js +1 -1
  202. package/lib/icon/angle-double-up-line.js +1 -1
  203. package/lib/icon/angle-down-fill.js +1 -1
  204. package/lib/icon/angle-down-line.js +1 -1
  205. package/lib/icon/angle-down.js +1 -1
  206. package/lib/icon/angle-left.js +1 -1
  207. package/lib/icon/angle-right.js +1 -1
  208. package/lib/icon/angle-up-fill.js +1 -1
  209. package/lib/icon/angle-up.js +1 -1
  210. package/lib/icon/archive-fill.d.ts +4 -0
  211. package/lib/icon/archive-fill.js +1 -0
  212. package/lib/icon/arrows-left.js +1 -1
  213. package/lib/icon/arrows-right.js +1 -1
  214. package/lib/icon/audio-fill.d.ts +4 -0
  215. package/lib/icon/audio-fill.js +1 -0
  216. package/lib/icon/bk.js +1 -1
  217. package/lib/icon/circle.js +1 -1
  218. package/lib/icon/close-line.d.ts +4 -0
  219. package/lib/icon/close-line.js +1 -0
  220. package/lib/icon/close.js +1 -1
  221. package/lib/icon/code.js +1 -1
  222. package/lib/icon/cog-shape.js +1 -1
  223. package/lib/icon/collapse-left.js +1 -1
  224. package/lib/icon/copy.js +1 -1
  225. package/lib/icon/data-shape.d.ts +4 -0
  226. package/lib/icon/data-shape.js +1 -0
  227. package/lib/icon/del.d.ts +4 -0
  228. package/lib/icon/del.js +1 -0
  229. package/lib/icon/doc-fill.d.ts +4 -0
  230. package/lib/icon/doc-fill.js +1 -0
  231. package/lib/icon/done.js +1 -1
  232. package/lib/icon/down-shape.js +1 -1
  233. package/lib/icon/down-small.js +1 -1
  234. package/lib/icon/edit-line.d.ts +4 -0
  235. package/lib/icon/edit-line.js +1 -0
  236. package/lib/icon/ellipsis.js +1 -1
  237. package/lib/icon/enlarge-line.d.ts +4 -0
  238. package/lib/icon/enlarge-line.js +1 -0
  239. package/lib/icon/error.js +1 -1
  240. package/lib/icon/excel-fill.d.ts +4 -0
  241. package/lib/icon/excel-fill.js +1 -0
  242. package/lib/icon/exclamation-circle-shape.d.ts +4 -0
  243. package/lib/icon/exclamation-circle-shape.js +1 -0
  244. package/lib/icon/eye.js +1 -1
  245. package/lib/icon/filliscreen-line.d.ts +4 -0
  246. package/lib/icon/filliscreen-line.js +1 -0
  247. package/lib/icon/folder-open.js +1 -1
  248. package/lib/icon/folder-shape-open.js +1 -1
  249. package/lib/icon/folder-shape.js +1 -1
  250. package/lib/icon/folder.js +1 -1
  251. package/lib/icon/funnel.d.ts +4 -0
  252. package/lib/icon/funnel.js +1 -0
  253. package/lib/icon/help-document-fill.js +1 -1
  254. package/lib/icon/help-fill.js +1 -1
  255. package/lib/icon/help.js +1 -1
  256. package/lib/icon/image-fill.d.ts +4 -0
  257. package/lib/icon/img-error.d.ts +4 -0
  258. package/lib/icon/img-error.js +1 -0
  259. package/lib/icon/img-placehoulder.d.ts +4 -0
  260. package/lib/icon/img-placehoulder.js +1 -0
  261. package/lib/icon/index.d.ts +79 -53
  262. package/lib/icon/index.js +1 -1
  263. package/lib/icon/info-line.js +1 -1
  264. package/lib/icon/info.js +1 -1
  265. package/lib/icon/left-shape.js +1 -1
  266. package/lib/icon/left-turn-line.d.ts +4 -0
  267. package/lib/icon/left-turn-line.js +1 -0
  268. package/lib/icon/narrow-line.d.ts +4 -0
  269. package/lib/icon/narrow-line.js +1 -0
  270. package/lib/icon/original.d.ts +4 -0
  271. package/lib/icon/original.js +1 -0
  272. package/lib/icon/pdf-fill.d.ts +4 -0
  273. package/lib/icon/pdf-fill.js +1 -0
  274. package/lib/icon/play-shape.js +1 -1
  275. package/lib/icon/plus.js +1 -1
  276. package/lib/icon/ppt-fill.d.ts +4 -0
  277. package/lib/icon/ppt-fill.js +1 -0
  278. package/lib/icon/qq.js +1 -1
  279. package/lib/icon/right-shape.js +1 -1
  280. package/lib/icon/right-turn-line.d.ts +4 -0
  281. package/lib/icon/right-turn-line.js +1 -0
  282. package/lib/icon/search.js +1 -1
  283. package/lib/icon/share.js +1 -1
  284. package/lib/icon/spinner.js +1 -1
  285. package/lib/icon/success.js +1 -1
  286. package/lib/icon/switcher-loading.js +1 -1
  287. package/lib/icon/text-file.js +1 -1
  288. package/lib/icon/text-fill.d.ts +4 -0
  289. package/lib/icon/text-fill.js +1 -0
  290. package/lib/icon/transfer.d.ts +4 -0
  291. package/lib/icon/transfer.js +1 -0
  292. package/lib/icon/tree-application-shape.js +1 -1
  293. package/lib/icon/unfull-screen.d.ts +4 -0
  294. package/lib/icon/unfull-screen.js +1 -0
  295. package/lib/icon/unvisible.js +1 -1
  296. package/lib/icon/up-shape.js +1 -1
  297. package/lib/icon/upload.d.ts +4 -0
  298. package/lib/icon/upload.js +1 -0
  299. package/lib/icon/video-fill.d.ts +4 -0
  300. package/lib/icon/video-fill.js +1 -0
  301. package/lib/icon/warn.js +1 -1
  302. package/lib/icon/weixin.js +1 -1
  303. package/lib/image/image-viewer.css +142 -0
  304. package/lib/image/image-viewer.d.ts +73 -0
  305. package/lib/image/image-viewer.less +168 -0
  306. package/lib/image/image-viewer.variable.css +142 -0
  307. package/lib/image/image.css +37 -0
  308. package/lib/image/image.d.ts +93 -0
  309. package/lib/image/image.less +44 -0
  310. package/lib/image/image.variable.css +37 -0
  311. package/lib/image/index.d.ts +246 -0
  312. package/lib/image/index.js +1 -0
  313. package/lib/image/props.d.ts +71 -0
  314. package/lib/index.d.ts +3 -1
  315. package/lib/index.js +1 -0
  316. package/lib/info-box/index.d.ts +7 -0
  317. package/lib/info-box/index.js +1 -0
  318. package/lib/info-box/info-box.css +37 -0
  319. package/lib/info-box/info-box.d.ts +28 -0
  320. package/lib/info-box/info-box.less +51 -0
  321. package/lib/info-box/info-box.variable.css +159 -0
  322. package/lib/input/index.d.ts +175 -90
  323. package/lib/input/index.js +1 -1
  324. package/lib/input/input.css +183 -19
  325. package/lib/input/input.d.ts +119 -36
  326. package/lib/input/input.less +112 -18
  327. package/lib/input/input.variable.css +246 -55
  328. package/lib/link/index.d.ts +29 -21
  329. package/lib/link/index.js +1 -1
  330. package/lib/link/link.css +12 -12
  331. package/lib/link/link.d.ts +10 -8
  332. package/lib/link/link.less +16 -14
  333. package/lib/link/link.variable.css +44 -16
  334. package/lib/loading/directive.d.ts +14 -0
  335. package/lib/loading/index.d.ts +135 -19
  336. package/lib/loading/index.js +1 -1
  337. package/lib/loading/loading.css +86 -33
  338. package/lib/loading/loading.d.ts +94 -12
  339. package/lib/loading/loading.less +27 -23
  340. package/lib/loading/loading.variable.css +134 -53
  341. package/lib/locale/index.d.ts +3 -0
  342. package/lib/locale/index.js +1 -0
  343. package/lib/locale/lang/en.d.ts +120 -0
  344. package/lib/locale/lang/zh-cn.d.ts +3 -0
  345. package/lib/menu/index.d.ts +16 -24
  346. package/lib/menu/index.js +1 -1
  347. package/lib/menu/menu.css +51 -0
  348. package/lib/menu/menu.d.ts +7 -16
  349. package/lib/menu/menu.variable.css +101 -22
  350. package/lib/menu/submenu.variable.css +32 -4
  351. package/lib/message/index.js +1 -1
  352. package/lib/message/message.css +17 -5
  353. package/lib/message/message.less +21 -6
  354. package/lib/message/message.variable.css +49 -9
  355. package/lib/message/messageConstructor.d.ts +14 -11
  356. package/lib/modal/index.d.ts +470 -78
  357. package/lib/modal/index.js +1 -1
  358. package/lib/modal/modal.css +63 -1
  359. package/lib/modal/modal.d.ts +177 -30
  360. package/lib/modal/modal.less +39 -3
  361. package/lib/modal/modal.variable.css +185 -1
  362. package/lib/modal/props.mixin.d.ts +74 -13
  363. package/lib/navigation/index.d.ts +310 -1
  364. package/lib/navigation/index.js +1 -1
  365. package/lib/navigation/navigation.css +1 -1
  366. package/lib/navigation/navigation.d.ts +11 -2
  367. package/lib/navigation/navigation.less +1 -1
  368. package/lib/navigation/navigation.variable.css +33 -5
  369. package/lib/notify/index.js +1 -1
  370. package/lib/notify/notify.css +25 -5
  371. package/lib/notify/notify.less +29 -6
  372. package/lib/notify/notify.variable.css +57 -9
  373. package/lib/notify/notifyConstructor.d.ts +62 -21
  374. package/lib/overflow-title/components/overflow-title.d.ts +57 -0
  375. package/lib/overflow-title/directive/overflow-title.d.ts +3 -0
  376. package/lib/overflow-title/index.d.ts +170 -0
  377. package/lib/overflow-title/index.js +1 -0
  378. package/lib/overflow-title/overflow.css +11 -0
  379. package/lib/overflow-title/overflow.less +13 -0
  380. package/lib/overflow-title/overflow.variable.css +11 -0
  381. package/lib/overflow-title/props.d.ts +43 -0
  382. package/lib/overflow-title/utils/getActualWidthByCanvas.d.ts +3 -0
  383. package/lib/overflow-title/utils/getActualWidthByDom.d.ts +3 -0
  384. package/lib/pagination/index.d.ts +35 -20
  385. package/lib/pagination/index.js +1 -1
  386. package/lib/pagination/pagination.css +54 -28
  387. package/lib/pagination/pagination.d.ts +18 -8
  388. package/lib/pagination/pagination.less +59 -30
  389. package/lib/pagination/pagination.variable.css +86 -32
  390. package/lib/pagination/use-limit.d.ts +3 -1
  391. package/lib/pagination/use-total.d.ts +3 -1
  392. package/lib/plugin-popover/index.d.ts +27 -0
  393. package/lib/plugin-popover/index.js +1 -0
  394. package/lib/plugins/index.d.ts +1 -0
  395. package/lib/plugins/index.js +1 -0
  396. package/lib/pop-confirm/index.d.ts +246 -0
  397. package/lib/pop-confirm/index.js +1 -0
  398. package/lib/pop-confirm/pop-confirm.css +28 -0
  399. package/lib/pop-confirm/pop-confirm.d.ts +95 -0
  400. package/lib/pop-confirm/pop-confirm.less +34 -0
  401. package/lib/pop-confirm/pop-confirm.variable.css +150 -0
  402. package/lib/pop-confirm/props.d.ts +67 -0
  403. package/lib/popover/arrow.d.ts +2 -0
  404. package/lib/popover/const.d.ts +16 -0
  405. package/lib/popover/content.d.ts +43 -0
  406. package/lib/popover/index.d.ts +504 -97
  407. package/lib/popover/index.js +1 -1
  408. package/lib/popover/plugin-popover.d.ts +12 -0
  409. package/lib/popover/popover.css +10 -50
  410. package/lib/popover/popover.d.ts +222 -43
  411. package/lib/popover/popover.less +19 -66
  412. package/lib/popover/popover.variable.css +42 -54
  413. package/lib/popover/props.d.ts +110 -30
  414. package/lib/popover/reference.d.ts +2 -0
  415. package/lib/popover/root.d.ts +16 -0
  416. package/lib/popover/use-floating.d.ts +34 -0
  417. package/lib/popover/use-platform.d.ts +30 -0
  418. package/lib/popover/use-popover-init.d.ts +23 -0
  419. package/lib/popover/use-popper-id.d.ts +6 -0
  420. package/lib/popover/utils.d.ts +8 -0
  421. package/lib/popover2/index.d.ts +44 -0
  422. package/lib/popover2/index.js +1 -0
  423. package/lib/popover2/popover.d.ts +2 -0
  424. package/lib/preset.d.ts +252 -2
  425. package/lib/preset.js +1 -0
  426. package/lib/process/index.d.ts +9 -9
  427. package/lib/process/index.js +1 -1
  428. package/lib/process/process.css +22 -0
  429. package/lib/process/process.d.ts +2 -2
  430. package/lib/process/process.less +30 -2
  431. package/lib/process/process.variable.css +54 -4
  432. package/lib/progress/index.d.ts +31 -31
  433. package/lib/progress/index.js +1 -1
  434. package/lib/progress/progress.css +51 -0
  435. package/lib/progress/progress.d.ts +12 -12
  436. package/lib/progress/progress.variable.css +87 -8
  437. package/lib/radio/common.d.ts +5 -5
  438. package/lib/radio/index.d.ts +36 -18
  439. package/lib/radio/index.js +1 -1
  440. package/lib/radio/radio-button.d.ts +7 -8
  441. package/lib/radio/radio-group.d.ts +26 -0
  442. package/lib/radio/radio.css +137 -66
  443. package/lib/radio/radio.d.ts +4 -4
  444. package/lib/radio/radio.less +262 -173
  445. package/lib/radio/radio.variable.css +172 -73
  446. package/lib/radio/type.d.ts +9 -4
  447. package/lib/rate/index.d.ts +28 -5
  448. package/lib/rate/index.js +1 -1
  449. package/lib/rate/rate.d.ts +13 -2
  450. package/lib/rate/star.d.ts +1 -1
  451. package/lib/resize-layout/index.d.ts +18 -18
  452. package/lib/resize-layout/index.js +1 -1
  453. package/lib/resize-layout/resize-layout.css +6 -15
  454. package/lib/resize-layout/resize-layout.d.ts +7 -7
  455. package/lib/resize-layout/resize-layout.less +10 -19
  456. package/lib/resize-layout/resize-layout.variable.css +38 -19
  457. package/lib/search-select/index.d.ts +891 -0
  458. package/lib/search-select/index.js +1 -0
  459. package/lib/search-select/input.d.ts +101 -0
  460. package/lib/search-select/menu.d.ts +77 -0
  461. package/lib/search-select/search-select.css +427 -0
  462. package/lib/search-select/search-select.d.ts +361 -0
  463. package/lib/search-select/search-select.less +384 -0
  464. package/lib/search-select/search-select.variable.css +549 -0
  465. package/lib/search-select/selected.d.ts +155 -0
  466. package/lib/search-select/utils.d.ts +88 -0
  467. package/lib/select/common.d.ts +5 -12
  468. package/lib/select/index.d.ts +1816 -691
  469. package/lib/select/index.js +1 -1
  470. package/lib/select/option.d.ts +18 -4
  471. package/lib/select/optionGroup.d.ts +1 -1
  472. package/lib/select/select.css +202 -113
  473. package/lib/select/select.d.ts +715 -147
  474. package/lib/select/select.less +335 -197
  475. package/lib/select/select.variable.css +234 -117
  476. package/lib/select/selectTagInput.d.ts +94 -0
  477. package/lib/select/type.d.ts +21 -13
  478. package/lib/shared/dom.d.ts +3 -0
  479. package/lib/shared/helper.d.ts +9 -0
  480. package/lib/shared/hooks/use-form-item.d.ts +2 -0
  481. package/lib/shared/hooks/use-form.d.ts +2 -0
  482. package/lib/shared/index.d.ts +32 -7
  483. package/lib/shared/index.js +1 -1
  484. package/lib/shared/mask-manager.d.ts +19 -5
  485. package/lib/shared/pop-manager.d.ts +16 -5
  486. package/lib/shared/popover.d.ts +6 -2
  487. package/lib/shared/token.d.ts +4 -0
  488. package/lib/shared/utils.d.ts +19 -0
  489. package/lib/shared/vue-types.d.ts +107 -7
  490. package/lib/sideslider/index.d.ts +343 -69
  491. package/lib/sideslider/index.js +1 -1
  492. package/lib/sideslider/sideslider.css +58 -11
  493. package/lib/sideslider/sideslider.d.ts +160 -31
  494. package/lib/sideslider/sideslider.less +75 -14
  495. package/lib/sideslider/sideslider.variable.css +90 -15
  496. package/lib/slider/index.d.ts +414 -1
  497. package/lib/slider/index.js +1 -1
  498. package/lib/slider/slider-button.d.ts +2 -1
  499. package/lib/slider/slider.d.ts +4 -4
  500. package/lib/slider/slider.variable.css +32 -4
  501. package/lib/steps/index.d.ts +52 -52
  502. package/lib/steps/index.js +1 -1
  503. package/lib/steps/steps.css +15 -3
  504. package/lib/steps/steps.d.ts +32 -32
  505. package/lib/steps/steps.less +24 -3
  506. package/lib/steps/steps.variable.css +47 -7
  507. package/lib/styles/index.d.ts +10 -1
  508. package/lib/styles/mixins/clearfix.css +8 -0
  509. package/lib/styles/mixins/clearfix.less +10 -0
  510. package/lib/styles/mixins/clearfix.variable.css +8 -0
  511. package/lib/styles/mixins/mixins.css +51 -0
  512. package/lib/styles/mixins/mixins.less +2 -0
  513. package/lib/styles/mixins/mixins.variable.css +51 -0
  514. package/lib/styles/mixins/popper.css +1 -1
  515. package/lib/styles/mixins/popper.less +12 -11
  516. package/lib/styles/mixins/popper.variable.css +123 -1
  517. package/lib/styles/mixins/scroll.css +17 -0
  518. package/lib/styles/mixins/scroll.less +22 -0
  519. package/lib/styles/mixins/scroll.variable.css +139 -0
  520. package/lib/styles/reset.css +36 -0
  521. package/lib/styles/reset.less +26 -2
  522. package/lib/styles/reset.variable.css +36 -0
  523. package/lib/styles/themes/themes.less +42 -4
  524. package/lib/switcher/index.d.ts +42 -30
  525. package/lib/switcher/index.js +1 -1
  526. package/lib/switcher/switcher.css +57 -6
  527. package/lib/switcher/switcher.d.ts +19 -13
  528. package/lib/switcher/switcher.less +5 -26
  529. package/lib/switcher/switcher.variable.css +106 -27
  530. package/lib/tab/index.d.ts +121 -67
  531. package/lib/tab/index.js +1 -1
  532. package/lib/tab/props.d.ts +93 -41
  533. package/lib/tab/tab-nav.d.ts +50 -14
  534. package/lib/tab/tab-panel.d.ts +14 -7
  535. package/lib/tab/tab.css +151 -55
  536. package/lib/tab/tab.d.ts +42 -21
  537. package/lib/tab/tab.less +179 -86
  538. package/lib/tab/tab.variable.css +183 -59
  539. package/lib/table/cache.d.ts +6 -0
  540. package/lib/table/components/index.d.ts +3 -0
  541. package/lib/table/components/table-cell.d.ts +51 -0
  542. package/lib/table/components/table-column.d.ts +299 -0
  543. package/lib/table/components/table-row.d.ts +2 -0
  544. package/lib/table/const.d.ts +125 -1
  545. package/lib/table/index.d.ts +1375 -48
  546. package/lib/table/index.js +1 -1
  547. package/lib/table/plugins/body-empty.d.ts +36 -0
  548. package/lib/table/plugins/col-group.d.ts +38 -0
  549. package/lib/table/plugins/common.d.ts +6 -0
  550. package/lib/table/plugins/head-filter.css +84 -0
  551. package/lib/table/plugins/head-filter.d.ts +26 -0
  552. package/lib/table/plugins/head-filter.less +110 -0
  553. package/lib/table/plugins/head-filter.variable.css +206 -0
  554. package/lib/table/plugins/head-sort.css +26 -0
  555. package/lib/table/plugins/head-sort.d.ts +29 -0
  556. package/lib/table/plugins/head-sort.less +32 -0
  557. package/lib/table/plugins/head-sort.variable.css +148 -0
  558. package/lib/table/plugins/index.d.ts +5 -0
  559. package/lib/table/plugins/settings.css +147 -0
  560. package/lib/table/plugins/settings.d.ts +37 -0
  561. package/lib/table/plugins/settings.less +181 -0
  562. package/lib/table/plugins/settings.variable.css +269 -0
  563. package/lib/table/plugins/use-active-columns.d.ts +16 -0
  564. package/lib/table/plugins/use-column-resize.d.ts +15 -0
  565. package/lib/table/plugins/use-fixed-column.d.ts +26 -0
  566. package/lib/table/plugins/use-pagination.d.ts +16 -0
  567. package/lib/table/plugins/use-scroll-loading.d.ts +5 -0
  568. package/lib/table/props.d.ts +358 -11
  569. package/lib/table/render.d.ts +54 -31
  570. package/lib/table/table.css +1250 -38
  571. package/lib/table/table.d.ts +258 -18
  572. package/lib/table/table.less +314 -42
  573. package/lib/table/table.variable.css +1291 -51
  574. package/lib/table/use-column.d.ts +12 -0
  575. package/lib/table/use-common.d.ts +113 -0
  576. package/lib/table/utils.d.ts +60 -13
  577. package/lib/table-column/index.d.ts +790 -0
  578. package/lib/table-column/index.js +1 -0
  579. package/lib/tag/index.d.ts +29 -29
  580. package/lib/tag/index.js +1 -1
  581. package/lib/tag/tag.css +46 -13
  582. package/lib/tag/tag.d.ts +12 -12
  583. package/lib/tag/tag.less +46 -10
  584. package/lib/tag/tag.variable.css +78 -17
  585. package/lib/tag-input/common.d.ts +13 -1
  586. package/lib/tag-input/index.d.ts +1406 -1
  587. package/lib/tag-input/index.js +1 -1
  588. package/lib/tag-input/list-tag-render.d.ts +0 -3
  589. package/lib/tag-input/tag-input.css +23 -26
  590. package/lib/tag-input/tag-input.d.ts +303 -44
  591. package/lib/tag-input/tag-input.less +102 -104
  592. package/lib/tag-input/tag-input.variable.css +55 -30
  593. package/lib/tag-input/tag-props.d.ts +141 -7
  594. package/lib/tag-input/tag-render.d.ts +30 -4
  595. package/lib/time-picker/index.d.ts +904 -0
  596. package/lib/time-picker/index.js +1 -0
  597. package/lib/time-picker/time-picker.css +215 -0
  598. package/lib/time-picker/time-picker.less +260 -0
  599. package/lib/time-picker/time-picker.variable.css +337 -0
  600. package/lib/timeline/index.d.ts +6 -6
  601. package/lib/timeline/index.js +1 -1
  602. package/lib/timeline/timeline.css +16 -9
  603. package/lib/timeline/timeline.d.ts +1 -1
  604. package/lib/timeline/timeline.less +22 -9
  605. package/lib/timeline/timeline.variable.css +48 -13
  606. package/lib/transfer/const.d.ts +5 -0
  607. package/lib/transfer/index.d.ts +247 -150
  608. package/lib/transfer/index.js +1 -1
  609. package/lib/transfer/props.d.ts +59 -0
  610. package/lib/transfer/transfer.css +153 -92
  611. package/lib/transfer/transfer.d.ts +101 -95
  612. package/lib/transfer/transfer.less +142 -112
  613. package/lib/transfer/transfer.variable.css +191 -102
  614. package/lib/tree/constant.d.ts +62 -0
  615. package/lib/tree/index.d.ts +379 -60
  616. package/lib/tree/index.js +1 -1
  617. package/lib/tree/props.d.ts +124 -0
  618. package/lib/tree/tree.css +181 -9
  619. package/lib/tree/tree.d.ts +172 -19
  620. package/lib/tree/tree.less +54 -3
  621. package/lib/tree/tree.variable.css +213 -13
  622. package/lib/tree/use-empty.d.ts +6 -0
  623. package/lib/tree/use-node-action.d.ts +12 -0
  624. package/lib/tree/use-node-async.d.ts +5 -0
  625. package/lib/tree/use-node-attribute.d.ts +33 -0
  626. package/lib/tree/use-node-drag.d.ts +3 -0
  627. package/lib/tree/use-search.d.ts +11 -0
  628. package/lib/tree/use-tree-init.d.ts +15 -0
  629. package/lib/tree/util.d.ts +4 -6
  630. package/lib/upload/index.d.ts +566 -0
  631. package/lib/upload/index.js +1 -0
  632. package/lib/upload/props.d.ts +111 -0
  633. package/lib/upload/upload-list.d.ts +47 -0
  634. package/lib/upload/upload-trigger.d.ts +51 -0
  635. package/lib/upload/upload.css +427 -0
  636. package/lib/upload/upload.d.ts +246 -0
  637. package/lib/upload/upload.less +466 -0
  638. package/lib/upload/upload.type.d.ts +78 -0
  639. package/lib/upload/upload.variable.css +549 -0
  640. package/lib/upload/use-ajax-upload.d.ts +3 -0
  641. package/lib/upload/use-file-handler.d.ts +44 -0
  642. package/lib/virtual-render/index.d.ts +50 -4
  643. package/lib/virtual-render/index.js +1 -1
  644. package/lib/virtual-render/props.d.ts +15 -0
  645. package/lib/virtual-render/use-tag-render.d.ts +7 -0
  646. package/lib/virtual-render/v-virtual-render.d.ts +0 -1
  647. package/lib/virtual-render/virtual-render.css +17 -17
  648. package/lib/virtual-render/virtual-render.d.ts +23 -1
  649. package/lib/virtual-render/virtual-render.less +2 -23
  650. package/lib/virtual-render/virtual-render.variable.css +139 -17
  651. package/lib/volar.components.d.ts +102 -0
  652. package/package.json +59 -26
  653. package/LICENSE.txt +0 -22
  654. package/lib/form/common.d.ts +0 -3
  655. package/lib/use-form.d.ts +0 -3
@@ -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,17 @@
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-disabled-checked-bg: #a3c5fd;
57
+ --radio-button-checked-bg: #e1ecff;
58
+ --radio-button-disabled-checked-bg: #fafbfd;
59
+ --checkbox-disabled-checked-bg: #a3c5fd;
46
60
  --fixed-navbar-background: #fff;
47
61
  --fixed-navbar-boxshadow-color: rgba(0, 0, 0, 0.1);
48
62
  --switch-default-color: #fff;
@@ -63,12 +77,16 @@
63
77
  --message-color: var(--default-color);
64
78
  --message-primary-bg-color: #f0f8ff;
65
79
  --message-primary-border-color: #e1ecff;
80
+ --message-primary-shadow-color: #e1e8f4;
66
81
  --message-warning-bg-color: #fff4e2;
67
82
  --message-warning-border-color: #ffe8c3;
83
+ --message-warning-shadow-color: #ede6db;
68
84
  --message-success-bg-color: #f2fff4;
69
85
  --message-success-border-color: #dcffe2;
86
+ --message-success-shadow-color: #cef0d7;
70
87
  --message-danger-bg-color: #ffeded;
71
88
  --message-danger-border-color: #ffdddd;
89
+ --message-danger-shadow-color: #f6dada;
72
90
  --slider-default-bg: #dcdee5;
73
91
  --slider-disable-bar-bg: #979ba5;
74
92
  --menu-bg-color: #182132;
@@ -88,9 +106,19 @@
88
106
  --table-border-color: #dcdee5;
89
107
  --table-head-bg-color: #fafbfd;
90
108
  --table-head-font-color: #313238;
91
- --table-body-font-color: #575961;
109
+ --table-body-font-color: #63656E;
92
110
  --table-row-hover-bg-color: #f5f7fa;
93
111
  --table-row-active-bg-color: #f0f1f5;
112
+ --cascader-panel-border-color: #dcdee5;
113
+ --cascader-panel-hover: #f5f7fa;
114
+ --cascader-panel-active: #e1ecff;
115
+ --cascader-panel-disabled-bg: #fff;
116
+ --search-select-focus-border-color: var(--primary-color);
117
+ --search-select-focus-color: #3c96ff;
118
+ --search-select-font-color: var(--default-color);
119
+ --search-select-placeholder-color: var(--light-gray);
120
+ --search-select-message-color: var(--danger-color);
121
+ --search-select-menu-border-color: var(--disable-color);
94
122
  }
95
123
  .bk-pagination {
96
124
  display: flex;
@@ -127,11 +155,12 @@
127
155
  }
128
156
  .bk-pagination-total-num {
129
157
  padding: 0 2px;
130
- color: #3f4046;
131
158
  }
132
159
  .bk-pagination-list {
133
160
  display: flex;
134
161
  }
162
+ .bk-pagination-list-pre-batch,
163
+ .bk-pagination-list-next-batch,
135
164
  .bk-pagination-list-pre,
136
165
  .bk-pagination-list-next,
137
166
  .bk-pagination-list-item {
@@ -146,19 +175,26 @@
146
175
  color: #63656e;
147
176
  cursor: pointer;
148
177
  background: #fff;
149
- border: 1px solid #c4c6cc;
150
178
  border-radius: 2px;
151
179
  user-select: none;
152
180
  }
153
- .bk-pagination-list-pre:hover,
154
- .bk-pagination-list-next:hover,
155
- .bk-pagination-list-item:hover,
181
+ .bk-pagination-list-pre-batch.is-active,
182
+ .bk-pagination-list-next-batch.is-active,
156
183
  .bk-pagination-list-pre.is-active,
157
184
  .bk-pagination-list-next.is-active,
158
185
  .bk-pagination-list-item.is-active {
159
186
  color: #3a84ff;
160
- border-color: #3a84ff;
187
+ background: #e1ecff;
188
+ }
189
+ .bk-pagination-list-pre-batch:hover,
190
+ .bk-pagination-list-next-batch:hover,
191
+ .bk-pagination-list-pre:hover,
192
+ .bk-pagination-list-next:hover,
193
+ .bk-pagination-list-item:hover {
194
+ background: #f0f1f5;
161
195
  }
196
+ .bk-pagination-list-pre-batch.is-disabled,
197
+ .bk-pagination-list-next-batch.is-disabled,
162
198
  .bk-pagination-list-pre.is-disabled,
163
199
  .bk-pagination-list-next.is-disabled,
164
200
  .bk-pagination-list-item.is-disabled {
@@ -167,26 +203,20 @@
167
203
  background-color: #fafbfd;
168
204
  border-color: #dcdee5;
169
205
  }
170
- .bk-pagination-list-pre-batch,
171
- .bk-pagination-list-next-batch {
172
- display: flex;
173
- align-items: center;
174
- justify-content: center;
175
- height: 32px;
176
- cursor: pointer;
177
- user-select: none;
178
- }
179
- .bk-pagination-list-pre-batch:hover,
180
- .bk-pagination-list-next-batch:hover {
181
- color: #3a84ff;
182
- }
183
206
  .bk-pagination-list-pre,
184
207
  .bk-pagination-list-next {
185
- font-size: 14px;
208
+ font-size: 20px;
209
+ color: #979ba5;
210
+ }
211
+ .bk-pagination-list-pre.is-disabled,
212
+ .bk-pagination-list-next.is-disabled {
213
+ color: #dcdee5;
214
+ cursor: not-allowed;
215
+ background-color: transparent;
186
216
  }
187
217
  .bk-pagination-list-item {
188
- margin-right: 4px;
189
- margin-left: 4px;
218
+ margin-right: 2px;
219
+ margin-left: 2px;
190
220
  }
191
221
  .bk-pagination-limit {
192
222
  display: flex;
@@ -197,12 +227,32 @@
197
227
  width: 60px;
198
228
  margin: 0 4px;
199
229
  }
230
+ .bk-pagination-limit-select .bk-input {
231
+ border-color: #f0f1f5;
232
+ }
233
+ .bk-pagination-limit-select .bk-input--text {
234
+ background-color: #f0f1f5;
235
+ }
236
+ .bk-pagination-limit-select:hover .bk-input {
237
+ border-color: #eaebf0;
238
+ }
239
+ .bk-pagination-limit-select:hover .bk-input--text {
240
+ background-color: #eaebf0;
241
+ }
242
+ .bk-pagination-limit-select .bk-input.is-focused {
243
+ border-color: #3a84ff;
244
+ }
245
+ .bk-pagination-limit-select .bk-input.is-focused .bk-input--text {
246
+ background-color: #fff;
247
+ }
200
248
  .bk-pagination-small-list {
201
249
  display: flex;
250
+ align-items: center;
202
251
  }
203
252
  .bk-pagination-small-list .bk-pagination-picker {
204
253
  display: flex;
205
- height: 24px;
254
+ height: 26px;
255
+ margin: 0 4px;
206
256
  cursor: pointer;
207
257
  background-color: #f0f1f5;
208
258
  border: 1px solid #f0f1f5;
@@ -210,8 +260,8 @@
210
260
  align-items: center;
211
261
  }
212
262
  .bk-pagination-small-list .bk-pagination-picker:hover {
213
- background-color: #e1ecff;
214
- border-color: #e1ecff;
263
+ background-color: #eaebf0;
264
+ border-color: #eaebf0;
215
265
  }
216
266
  .bk-pagination-small-list .bk-pagination-picker.is-focused {
217
267
  background-color: #fff;
@@ -220,7 +270,7 @@
220
270
  }
221
271
  .bk-pagination-editor {
222
272
  height: 16px;
223
- min-width: 14px;
273
+ min-width: 23px;
224
274
  padding-right: 4px;
225
275
  padding-left: 8px;
226
276
  line-height: 16px;
@@ -238,14 +288,18 @@
238
288
  .bk-pagination-btn-pre,
239
289
  .bk-pagination-btn-next {
240
290
  display: flex;
291
+ width: 26px;
292
+ height: 26px;
293
+ font-size: 20px;
294
+ color: #979ba5;
295
+ cursor: pointer;
241
296
  justify-content: center;
242
297
  align-items: center;
243
- width: 24px;
244
- cursor: pointer;
245
298
  }
246
299
  .bk-pagination-btn-pre:hover,
247
300
  .bk-pagination-btn-next:hover {
248
301
  color: #3a84ff;
302
+ background: #f0f1f5;
249
303
  }
250
304
  .bk-pagination-btn-pre.is-disabled,
251
305
  .bk-pagination-btn-next.is-disabled {
@@ -1,4 +1,6 @@
1
- declare const _default: () => {
1
+ import type { ComputedRef } from 'vue';
2
+ import type { Language } from '../locale';
3
+ declare const _default: (t: ComputedRef<Language['pagination']>) => {
2
4
  limit: import("vue").Ref<number>;
3
5
  render: ({ isFirst, isLast }: {
4
6
  isFirst: any;
@@ -1,4 +1,6 @@
1
- declare const _default: () => ({ isFirst, isLast }: {
1
+ import type { ComputedRef } from 'vue';
2
+ import type { Language } from '../locale';
3
+ declare const _default: (t: ComputedRef<Language['pagination']>) => ({ isFirst, isLast }: {
2
4
  isFirst: any;
3
5
  isLast: any;
4
6
  }) => JSX.Element;
@@ -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("../shared"),require("vue-types"));else if("function"==typeof define&&define.amd)define(["vue","../shared","vue-types"],t);else{var n="object"==typeof exports?t(require("vue"),require("../shared"),require("vue-types")):t(e.vue,e["../shared"],e["vue-types"]);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,u=0;e.exports=function(e,t,n){var c=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:u+1,h=v-a+(m-u)/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,u=m,r=d;var y=(1e4*(268435455&(v+=122192928e5))+m)%4294967296;s[c++]=y>>>24&255,s[c++]=y>>>16&255,s[c++]=y>>>8&255,s[c++]=255&y;var g=v/4294967296*1e4&268435455;s[c++]=g>>>8&255,s[c++]=255&g,s[c++]=g>>>24&15|16,s[c++]=g>>>16&255,s[c++]=d>>>8|128,s[c++]=255&d;for(var w=0;w<6;++w)s[c+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)}},4212:e=>{"use strict";e.exports=t},748:t=>{"use strict";t.exports=e},210:e=>{"use strict";e.exports=n}},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";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}i.r(l),i.d(l,{default:()=>qe});var t=i(748),n=i(4212);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return r(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)?r(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,l=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw l}}}}function r(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}var a,u=new Map;function c(e,t){var n=[];return Array.isArray(t.arg)?n=t.arg:function(e){return"undefined"!=typeof Element&&e instanceof Element}(t.arg)&&n.push(t.arg),function(o,r){var i=t.instance.popperRef,l=o.target,a=null==r?void 0:r.target,u=!t||!t.instance,c=!l||!a,s=e.contains(l)||e.contains(a),f=e===l,d=n.length&&n.some((function(e){return null==e?void 0:e.contains(l)}))||n.length&&n.includes(a),p=i&&(i.contains(l)||i.contains(a));u||c||s||f||d||p||t.value(o,r)}}document.addEventListener("mousedown",(function(e){return a=e})),document.addEventListener("mouseup",(function(e){var t,n=o(u.values());try{for(n.s();!(t=n.n()).done;){var r,i=o(t.value);try{for(i.s();!(r=i.n()).done;)(0,r.value.documentHandler)(e,a)}catch(e){i.e(e)}finally{i.f()}}}catch(e){n.e(e)}finally{n.f()}}));var s={beforeMount:function(e,t){u.has(e)||u.set(e,[]),u.get(e).push({documentHandler:c(e,t),bindingFn:t.value})},updated:function(e,t){u.has(e)||u.set(e,[]);var n=u.get(e),o=n.findIndex((function(e){return e.bindingFn===t.oldValue})),r={documentHandler:c(e,t),bindingFn:t.value};o>=0?n.splice(o,1,r):n.push(r)},unmounted:function(e){u.delete(e)},install:function(e){e.directive("bkTooltips",s)}};const f=s,d=(0,t.defineComponent)({name:"PopArrow",render:function(){var e=(0,n.resolveClassName)("pop2-arrow");return(0,t.createVNode)("div",{class:e},null)}});var p,v,m=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"}(v||(v={}));var h=(e(p={},v.SHOW,m),e(p,v.HIDE,m),e(p,v.CLICK_OUTSIDE,m),e(p,v.CONTENT_MOUSEENTER,m),e(p,v.CONTENT_MOUSELEAVE,m),e(p,v.STOP_HIDE,m),p);const y=(0,t.defineComponent)({name:"PopContent",props:{width:n.PropTypes.oneOfType([n.PropTypes.string,n.PropTypes.number]).def("auto"),height:n.PropTypes.oneOfType([n.PropTypes.string,n.PropTypes.number]).def("auto"),maxHeight:n.PropTypes.oneOfType([n.PropTypes.string,n.PropTypes.number]).def("auto"),extCls:n.PropTypes.string.def("")},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,o,r,i,l,a,u=[(0,n.resolveClassName)("popover"),(0,n.resolveClassName)("pop2-content"),this.extCls];return(0,t.createVNode)("div",{class:u,tabindex:"-1",style:this.style},[null!==(r=null===(o=(e=this.$slots).arrow)||void 0===o?void 0:o.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 g,w,b,T,x,R,P,E,O,A,C,S,N,H=i(210);(0,H.createTypes)({}),function(e){e.SMALL="small",e.LARGE="large",e.DEFAULT="default"}(g||(g={})),function(e){e.Top="top",e.Left="left",e.Right="right",e.Bottom="bottom"}(w||(w={})),function(e){e.IF="if",e.SHOW="show"}(b||(b={})),function(e){e.LEFT="left",e.CENTER="center",e.RIGHT="right"}(T||(T={})),function(e){e.PRIMARY="primary",e.WARNING="warning",e.SUCCESS="success",e.DANGER="danger"}(x||(x={})),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"}(R||(R={})),function(e){e.HOVER="hover",e.CLICK="click",e.MANUAL="manual"}(P||(P={})),function(e){e.AUTO="auto",e.SHOWN="shown"}(E||(E={})),function(e){e.SHOW="show",e.OPERATION="operation",e.CONFIRM="confirm",e.PROCESS="process"}(O||(O={})),function(e){e.HORIZONTAL="horizontal",e.VERTICAL="vertical"}(A||(A={})),function(e){e.DASHED="dashed",e.SOLID="solid"}(C||(C={})),function(e){e.SUCCESS="success",e.INFO="info",e.WARNING="warning",e.DANGER="danger"}(S||(S={})),function(e){e.SIMPLICITY="simplicity",e.NORMAL="normal"}(N||(N={}));var L={onAfterHidden:Function,onAfterShow:Function},I=Object.assign({isShow:n.PropTypes.bool.def(!1),always:n.PropTypes.bool.def(!1),disabled:n.PropTypes.bool.def(!1),width:n.PropTypes.oneOfType([n.PropTypes.string,n.PropTypes.number]).def("auto"),height:n.PropTypes.oneOfType([n.PropTypes.string,n.PropTypes.number]).def("auto"),maxHeight:n.PropTypes.oneOfType([n.PropTypes.string,n.PropTypes.number]).def("auto"),content:n.PropTypes.oneOfType([n.PropTypes.string,n.PropTypes.number,n.PropTypes.any]).def(""),allowHtml:n.PropTypes.bool.def(!1),placement:(0,n.placementType)().def(R.TOP_START),theme:n.PropTypes.string.def("dark"),trigger:(0,H.string)().def(P.HOVER),renderType:(0,H.toType)("popRenderType",{}).def(E.SHOWN),arrow:n.PropTypes.bool.def(!0),padding:n.PropTypes.number.def(5),offset:n.PropTypes.oneOfType([n.PropTypes.number,n.PropTypes.shape({})]).def(6),boundary:n.PropTypes.oneOfType([n.PropTypes.string.def("parent"),n.PropTypes.instanceOf(HTMLElement)]),zIndex:n.PropTypes.number.def(void 0),disableTeleport:n.PropTypes.bool.def(!1),autoPlacement:n.PropTypes.bool.def(!1),autoVisibility:n.PropTypes.bool.def(!0),disableOutsideClick:n.PropTypes.bool.def(!1),disableTransform:n.PropTypes.bool.def(!1),reference:n.PropTypes.any.def(null),modifiers:n.PropTypes.array.def([]),popoverDelay:n.PropTypes.oneOfType([n.PropTypes.number,n.PropTypes.arrayOf(n.PropTypes.number)]).def(100),extCls:n.PropTypes.string.def("")},L);const D=(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:n.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 j(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 V(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 j(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)?j(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 F(e){return e.split("-")[0]}function k(e){return e.split("-")[1]}function _(e){return["top","bottom"].includes(F(e))?"x":"y"}function U(e){return"y"===e?"height":"width"}function $(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=_(t),u=U(a),c=o[u]/2-r[u]/2,s="x"===a;let f;switch(F(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(k(t)){case"start":f[a]-=c*(n&&s?-1:1);break;case"end":f[a]+=c*(n&&s?-1:1)}return f}function B(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 W(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function q(e,t){var n;void 0===t&&(t={});const{x:o,y:r,platform:i,rects:l,elements:a,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:s="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=t,v=B(p),m=a[d?"floating"===f?"reference":"floating":f],h=W(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:c,rootBoundary:s,strategy:u})),y=W(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:u}):l[f]);return{top:h.top-y.top+v.top,bottom:y.bottom-h.bottom+v.bottom,left:h.left-y.left+v.left,right:y.right-h.right+v.right}}const z=Math.min,G=Math.max;function Y(e,t,n){return G(e,z(t,n))}const K={left:"right",right:"left",bottom:"top",top:"bottom"};function X(e){return e.replace(/left|right|bottom|top/g,(e=>K[e]))}function Z(e,t,n){void 0===n&&(n=!1);const o=k(e),r=_(e),i=U(r);let l="x"===r?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=X(l)),{main:l,cross:X(l)}}const J={start:"end",end:"start"};function Q(e){return e.replace(/start|end/g,(e=>J[e]))}const ee=["top","right","bottom","left"],te=ee.reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[]);function ne(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function oe(e){return ee.some((t=>e[t]>=0))}const re=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=F(n),a=k(n),u="x"===_(n),c=["left","top"].includes(l)?-1:1,s=i&&u?-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),u?{x:p*s,y:d*c}:{x:d*c,y:p*s}}(t,e);return{x:n+r.x,y:o+r.y,data:r}}}};const ie=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}}},...u}=e,c={x:n,y:o},s=await q(t,u),f=_(F(r)),d=function(e){return"x"===e?"y":"x"}(f);let p=c[f],v=c[d];if(i){const e="y"===f?"bottom":"right";p=Y(p+s["y"===f?"top":"left"],p,p-s[e])}if(l){const e="y"===d?"bottom":"right";v=Y(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 le(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function ae(e){if(null==e)return window;if(!le(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function ue(e){return ae(e).getComputedStyle(e)}function ce(e){return le(e)?"":e?(e.nodeName||"").toLowerCase():""}function se(){const e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((e=>e.brand+"/"+e.version)).join(" "):navigator.userAgent}function fe(e){return e instanceof ae(e).HTMLElement}function de(e){return e instanceof ae(e).Element}function pe(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ae(e).ShadowRoot||e instanceof ShadowRoot)}function ve(e){const{overflow:t,overflowX:n,overflowY:o}=ue(e);return/auto|scroll|overlay|hidden/.test(t+o+n)}function me(e){return["table","td","th"].includes(ce(e))}function he(e){const t=/firefox/i.test(se()),n=ue(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 ye(){return!/^((?!chrome|android).)*safari/i.test(se())}const ge=Math.min,we=Math.max,be=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 u=1,c=1;t&&fe(e)&&(u=e.offsetWidth>0&&be(a.width)/e.offsetWidth||1,c=e.offsetHeight>0&&be(a.height)/e.offsetHeight||1);const s=de(e)?ae(e):window,f=!ye()&&n,d=(a.left+(f&&null!=(o=null==(r=s.visualViewport)?void 0:r.offsetLeft)?o:0))/u,p=(a.top+(f&&null!=(i=null==(l=s.visualViewport)?void 0:l.offsetTop)?i:0))/c,v=a.width/u,m=a.height/c;return{width:v,height:m,top:p,right:d+v,bottom:p+m,left:d,x:d,y:p}}function xe(e){return(t=e,(t instanceof ae(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function Re(e){return de(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Pe(e){return Te(xe(e)).left+Re(e).scrollLeft}function Ee(e,t,n){const o=fe(t),r=xe(t),i=Te(e,o&&function(e){const t=Te(e);return be(t.width)!==e.offsetWidth||be(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"!==ce(t)||ve(r))&&(l=Re(t)),fe(t)){const e=Te(t,!0);a.x=e.x+t.clientLeft,a.y=e.y+t.clientTop}else r&&(a.x=Pe(r));return{x:i.left+l.scrollLeft-a.x,y:i.top+l.scrollTop-a.y,width:i.width,height:i.height}}function Oe(e){return"html"===ce(e)?e:e.assignedSlot||e.parentNode||(pe(e)?e.host:null)||xe(e)}function Ae(e){return fe(e)&&"fixed"!==getComputedStyle(e).position?e.offsetParent:null}function Ce(e){const t=ae(e);let n=Ae(e);for(;n&&me(n)&&"static"===getComputedStyle(n).position;)n=Ae(n);return n&&("html"===ce(n)||"body"===ce(n)&&"static"===getComputedStyle(n).position&&!he(n))?t:n||function(e){let t=Oe(e);for(pe(t)&&(t=t.host);fe(t)&&!["html","body"].includes(ce(t));){if(he(t))return t;t=t.parentNode}return null}(e)||t}function Se(e){if(fe(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=Te(e);return{width:t.width,height:t.height}}function Ne(e){const t=Oe(e);return["html","body","#document"].includes(ce(t))?e.ownerDocument.body:fe(t)&&ve(t)?t:Ne(t)}function He(e,t){var n;void 0===t&&(t=[]);const o=Ne(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=ae(o),l=r?[i].concat(i.visualViewport||[],ve(o)?o:[]):o,a=t.concat(l);return r?a:a.concat(He(l))}function Le(e,t,n){return"viewport"===t?W(function(e,t){const n=ae(e),o=xe(e),r=n.visualViewport;let i=o.clientWidth,l=o.clientHeight,a=0,u=0;if(r){i=r.width,l=r.height;const e=ye();(e||!e&&"fixed"===t)&&(a=r.offsetLeft,u=r.offsetTop)}return{width:i,height:l,x:a,y:u}}(e,n)):de(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):W(function(e){var t;const n=xe(e),o=Re(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=we(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),l=we(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let a=-o.scrollLeft+Pe(e);const u=-o.scrollTop;return"rtl"===ue(r||n).direction&&(a+=we(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:l,x:a,y:u}}(xe(e)))}function Ie(e){const t=He(e),n=["absolute","fixed"].includes(ue(e).position)&&fe(e)?Ce(e):e;return de(n)?t.filter((e=>de(e)&&function(e,t){const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&pe(n)){let n=t;do{if(n&&e===n)return!0;n=n.parentNode||n.host}while(n)}return!1}(e,n)&&"body"!==ce(e))):[]}const De={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const i=[..."clippingAncestors"===n?Ie(t):[].concat(n),o],l=i[0],a=i.reduce(((e,n)=>{const o=Le(t,n,r);return e.top=we(o.top,e.top),e.right=ge(o.right,e.right),e.bottom=ge(o.bottom,e.bottom),e.left=we(o.left,e.left),e}),Le(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=fe(n),i=xe(n);if(n===i)return t;let l={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if((r||!r&&"fixed"!==o)&&(("body"!==ce(n)||ve(i))&&(l=Re(n)),fe(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:de,getDimensions:Se,getOffsetParent:Ce,getDocumentElement:xe,getElementRects:e=>{let{reference:t,floating:n,strategy:o}=e;return{reference:Ee(t,Ce(n),o),floating:{...Se(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===ue(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 u=await l.getElementRects({reference:e,floating:t,strategy:r}),{x:c,y:s}=$(u,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:y,reset:g}=await v({x:c,y:s,initialPlacement:o,placement:f,strategy:r,middlewareData:d,rects:u,platform:l,elements:{reference:e,floating:t}});c=null!=m?m:c,s=null!=h?h:s,d={...d,[p]:{...d[p],...y}},g&&("object"==typeof g&&(g.placement&&(f=g.placement),g.rects&&(u=!0===g.rects?await l.getElementRects({reference:e,floating:t,strategy:r}):g.rects),({x:c,y:s}=$(u,f,a))),n=-1)}return{x:c,y:s,placement:f,strategy:r,middlewareData:d}})(e,t,{platform:De,...n});var je=i(8022),Ve={},Fe=function(e){return document.querySelector(e)instanceof HTMLElement},ke=function(e){return e instanceof Element||e instanceof HTMLDocument},_e=function(e){if(ke(e))return{isElement:!0,content:e,vNode:void 0};if(/^(#|\.)/.test(e)){var t=document.querySelector(e),n=ke(t);return{isElement:n,content:n?t:e,vNode:n?void 0:e}}return{isElement:!1,content:e,vNode:e}};const Ue=function(o,r,i){var l=i.refReference,a=i.refContent,u=i.refArrow,c=i.refRoot,s=(0,t.ref)(!1),f=(0,t.ref)(),d=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)},p=["dark","light"],m=(0,t.computed)((function(){var e,t,n=null!==(t=null===(e=o.theme)||void 0===e?void 0:e.split(/\s+/))&&void 0!==t?t:[];return n.sort((function(e,t){return Number(p.includes(t))-Number(p.includes(e))})),{systemThemes:n,customThemes:n.filter((function(e){return!p.includes(e)}))}})),h=function(){return o.autoVisibility},y=function(){return o.autoPlacement},g=function(){var e,t,n,r,i=T(null===(e=l.value)||void 0===e?void 0:e.$el),s=T(null===(t=a.value)||void 0===t?void 0:t.$el),f=o.arrow?T(null===(n=u.value)||void 0===n?void 0:n.$el):null,d=T(null===(r=c.value)||void 0===r?void 0:r.$el),p=_e(o.content),v=p.isElement,m=p.content;return s&&v&&!(null==s?void 0:s.contains(m))&&s.append(m),{elReference:i,elContent:s,elArrow:f,root:d}},w=function(){var e={};return Array.isArray(o.modifiers)&&o.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=V(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=[re(r.offset||t.offset),ie({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:u}=t;if(null==n)return{};const c=B(o),s={x:r,y:i},f=_(l),d=k(l),p=U(f),v=await u.getDimensions(n),m="y"===f?"top":"left",h="y"===f?"bottom":"right",y=a.reference[p]+a.reference[f]-s[f]-a.floating[p],g=s[f]-a.reference[f],w=await(null==u.getOffsetParent?void 0:u.getOffsetParent(n));let b=w?"y"===f?w.clientHeight||0:w.clientWidth||0:0;0===b&&(b=a.floating[p]);const T=y/2-g/2,x=c[m],R=b-v[p]-c[h],P=b/2-v[p]/2+T,E=Y(x,P,R),O=("start"===d?c[m]:c[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})),y()?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:u,rects:c,middlewareData:s,placement:f,platform:d,elements:p}=t,{alignment:v=null,allowedPlacements:m=te,autoAlignment:h=!0,...y}=e,g=function(e,t,n){return(e?[...n.filter((t=>k(t)===e)),...n.filter((t=>k(t)!==e))]:n.filter((e=>F(e)===e))).filter((n=>!e||k(n)===e||!!t&&Q(n)!==n))}(v,h,m),w=await q(t,y),b=null!=(n=null==(o=s.autoPlacement)?void 0:o.index)?n:0,T=g[b];if(null==T)return{};const{main:x,cross:R}=Z(T,c,await(null==d.isRTL?void 0:d.isRTL(p.floating)));if(f!==T)return{x:a,y:u,reset:{placement:g[0]}};const P=[w[F(T)],w[x],w[R]],E=[...null!=(r=null==(i=s.autoPlacement)?void 0:i.overflows)?r:[],{placement:T,overflows:P}],O=g[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:u=2,x:c,y:s}=e,f=W(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=B(u),v=await l.getElementRects({reference:{getBoundingClientRect:function(){var e;if(2===d.length&&d[0].left>d[1].right&&null!=c&&null!=s)return null!=(e=d.find((e=>c>e.left-p.left&&c<e.right+p.right&&s>e.top-p.top&&s<e.bottom+p.bottom)))?e:f;if(d.length>=2){if("x"===_(o)){const e=d[0],t=d[d.length-1],n="top"===F(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"===F(o),t=G(...d.map((e=>e.right))),n=z(...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:u}=t,{mainAxis:c=!0,crossAxis:s=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",flipAlignment:p=!0,...v}=e,m=F(o),h=f||(m!==l&&p?function(e){const t=X(e);return[Q(e),t,Q(t)]}(l):[X(l)]),y=[l,...h],g=await q(t,v),w=[];let b=(null==(n=r.flip)?void 0:n.overflows)||[];if(c&&w.push(g[m]),s){const{main:e,cross:t}=Z(o,i,await(null==a.isRTL?void 0:a.isRTL(u.floating)));w.push(g[e],g[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=y[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=ne(await q(e,{...n,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:oe(t)}}}case"escaped":{const t=ne(await q(e,{...n,altBoundary:!0}),o.floating);return{data:{escapedOffsets:t,escaped:oe(t)}}}default:return{}}}}}()),d()||t.isVirtualEl){var a=(o=f.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}}}),u=a.getElementRects,c=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:u,getDimensions:c,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,n,r){var i;o.disableTransform?Object.assign(e.style,{left:"".concat(O(t),"px"),top:"".concat(O(n),"px")}):Object.assign(e.style,{left:"0",top:"0",transform:"translate3d(".concat(O(t),"px,").concat(O(n),"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,n,r){var i;if(o.arrow){var l=null!==(i=r.arrow)&&void 0!==i?i:{},a=l.x,u=l.y;t.setAttribute("data-arrow",n),Object.assign(t.style,{left:"",top:"",bottom:"",right:""});var c={top:"bottom",right:"left",bottom:"top",left:"right"}[n];Object.assign(t.style,e({left:null!==a?"".concat(a,"px"):"",top:null!==u?"".concat(u,"px"):""},c,"-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=g(),o=n.elReference,r=n.elContent,i=n.elArrow,l=e||o;if(l&&r){var a=b(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(P,"")," ").concat(P).replace(/\s+/gm," ").replace(/^\s+|\s+$/g,""),Object.keys(R).forEach((function(e){r.setAttribute(e,R[e])}));var u=o.split("-")[0],c=u;["left","right","top","bottom"].includes(u)||(c="top"),A(r,t,n,l),C(i,c,l)}))}},N=void 0,H=void 0,L=!1,I=function(){return Array.isArray(o.popoverDelay)?[o.popoverDelay[0],o.popoverDelay.slice(-1)[0]]:[o.popoverDelay,o.popoverDelay]},D=function(){var e=I()[0];H=setTimeout((function(){N&&clearTimeout(N),o.disabled||(s.value=!0)}),e)},M=function(){var e=I()[1];N=setTimeout((function(){H&&clearTimeout(H),s.value=!1}),e)},j=function(){s.value?M():D()},$=function(){j()},K=function(){"hover"===o.trigger&&(N&&(L=!0,clearTimeout(N),N=void 0),ee())},J=function(){L&&(M(),L=!1,le())},ee=function(){r.emit(v.CONTENT_MOUSEENTER)},le=function(){r.emit(v.CONTENT_MOUSELEAVE)};return(0,t.watch)((function(){return o.isShow}),(function(e){s.value=e})),(0,t.watch)(s,(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(o.zIndex?o.zIndex:n.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:D,hidePopover:M,resolveTriggerEvents:function(){var e;return null!==(e={hover:{content:[["mouseenter",K],["mouseleave",J]],reference:[["mouseenter",D],["mouseleave",M],["focus",D],["blur",M]]},click:[["click",$]],manual:{content:[["mouseenter",ee],["mouseleave",le]],reference:[[]]}}[o.trigger])&&void 0!==e?e:[]},updatePopover:S,triggerPopover:j,resolvePopElements:g,isElementFullScreen:d,resolveTargetElement:T,createPopInstance:function(){var e=g(),t=e.elReference,n=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,u=r&&!a,c=i&&!a,s=u||c?[...de(e)?He(e):[],...He(t)]:[];s.forEach((e=>{u&&e.addEventListener("scroll",n,{passive:!0}),c&&e.addEventListener("resize",n)}));let f,d=null;l&&(d=new ResizeObserver(n),de(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=>{u&&e.removeEventListener("scroll",n),c&&e.removeEventListener("resize",n)})),null==(e=d)||e.disconnect(),d=null,a&&cancelAnimationFrame(f)}}(t,n,(function(){s.value&&S(null,o)}))},updateFullscreenTarget:function(e){f.value=e},getFullscreenRoot:function(e){return d()?document.fullscreenElement.shadowRoot?document.fullscreenElement.shadowRoot.querySelector(e):document.fullscreenElement.querySelector(e):document.body},stopHide:function(){N&&(L=!0,clearTimeout(N),N=void 0)},localIsShow:s,cleanup:E}};var $e=null,Be=null;const We=(0,t.defineComponent)({name:"Popover",components:{Content:y,Arrow:d,Root:M},directives:{clickoutside:f},props:I,emits:h,setup:function(e,o){var r=e.content,i=e.theme,l=e.disableTeleport,a=(0,t.toRefs)(e).reference,u=(0,t.ref)(),c=(0,t.ref)(),s=(0,t.ref)(),f=(0,t.ref)(),d=(0,t.computed)((function(){return a.value||u.value})),p=function(e,n,o){var r=o.refReference,i=o.refContent,l=o.refArrow,a=o.refRoot,u=null,c=(0,t.ref)(!1),s=(Ve.fullscreenReferId||(Ve.fullscreenReferId="id_".concat((0,je.v4)())),Ve.fullscreenReferId),f=(0,t.ref)(),d=Ue(e,n,{refReference:r,refContent:i,refArrow:l,refRoot:a}),p=d.localIsShow,m=d.showPopover,h=d.hidePopover,y=d.updatePopover,g=d.resolveTriggerEvents,w=d.resolvePopElements,b=d.isElementFullScreen,T=d.updateFullscreenTarget,x=d.createPopInstance,R=d.getFullscreenRoot,P=d.stopHide,E=function(){h()},O=function(){x(),e.always?m():A()},A=function(){var e=w(),t=e.elReference,n=e.elContent;if(u=g(),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=V(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;c.value?L.value=null==f?void 0:f.value:L.value=H(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($e);var r=(n||{}).parentNode;(null==r?void 0:r.parentNode)&&(r.parentNode.setAttribute("data-pnode-id",Be),o="[data-pnode-id=".concat(Be,"]"))}})),r((function(){if(!/^body$/i.test(e.boundary)&&"string"==typeof e.boundary){if(!Fe(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($e)})),o};if(null===$e||!Fe("#".concat($e))){$e="id_".concat((0,je.v4)());var o=document.createElement("div");o.setAttribute("id",$e),o.setAttribute("data-popper-id",$e),document.body.append(o)}return null===Be&&(Be="id_".concat((0,je.v4)())),{popContainerId:$e,prefixId:n(),getPrefixId:n}}(e,"#"),H=N.getPrefixId,L=(0,t.ref)(),I=function(){!function(){if(null==u?void 0:u.length){var e=w().elReference;e&&u.forEach((function(t){var n=V(t,2),o=n[0],r=n[1];o&&"function"==typeof r&&e.removeEventListener(o,r)})),u=null}}()},D=function(e){var t;f.value=e,T(e),c.value=b(),null===(t=null==f?void 0:f.value)||void 0===t||t.setAttribute("data-fllsrn-id",s)},M=function(t){var n,o,r;document.fullscreenElement||(r="[data-fllsrn-id=".concat(s,"]"),(null!==(o=null===(n=null==f?void 0:f.value)||void 0===n?void 0:n.querySelectorAll(r))&&void 0!==o?o:[]).forEach((function(e){null==e||e.removeAttribute("data-fllsrn-id")}))),D(t.target),S(),y(null,e)};return{onMountedFn:function(){if(!e.disabled){if(O(),b()){var t="[data-fllsrn-id=".concat(s,"]"),n=R(t);D(n)}S(),document.body.addEventListener("fullscreenchange",M)}},onUnmountedFn:function(){I(),document.body.removeEventListener("fullscreenchange",M)},handleClickOutside:function(t){n.emit(v.CLICK_OUTSIDE,{isShow:p.value,event:t}),e.disableOutsideClick||e.always||e.disabled||"manual"===e.trigger||p.value&&E()},beforeInstanceUnmount:I,updateBoundary:S,initPopInstance:O,updatePopover:y,showPopover:m,hidePopover:h,showFn:function(){m()},hideFn:E,stopHide:P,isFullscreen:c,boundary:L,localIsShow:p}}(e,o,{refReference:d,refContent:c,refArrow:s,refRoot:f}),m=p.onMountedFn,h=p.onUnmountedFn,y=p.handleClickOutside,g=p.beforeInstanceUnmount,w=p.updateBoundary,b=p.initPopInstance,T=p.showFn,x=p.hideFn,R=p.showPopover,P=p.hidePopover,E=p.updatePopover,O=p.stopHide,A=p.localIsShow,C=p.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]?g():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===n.RenderType.AUTO||A.value}));return{boundary:C,arrow:e.arrow,refDefaultReference:u,refContent:c,refArrow:s,content:r,theme:i,transBoundary:S,handleClickOutside:y,updatePopover:E,hide:function(){x()},show:function(){T()},stopHide:O,contentIsShow:N,renderContent:function(){return e.allowHtml?_e(e.content).vNode:r}}},render:function(){var e,n,o,r,i,l,a=this;return(0,t.createVNode)(M,{ref:"refRoot"},{default:function(){return[(0,t.createVNode)(D,{ref:"refDefaultReference"},{default:function(){return[null!==(o=null===(n=(e=a.$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:a.boundary,disabled:!a.transBoundary},{default:function(){return[(0,t.withDirectives)((0,t.createVNode)(y,{ref:"refContent","data-theme":a.theme,extCls:a.extCls,width:a.width,height:a.height,maxHeight:a.maxHeight},{default:function(){return[a.contentIsShow?null!==(l=null===(i=(r=a.$slots).content)||void 0===i?void 0:i.call(r))&&void 0!==l?l:a.renderContent():""]},arrow:function(){var e,n;return a.arrow?(0,t.createVNode)(d,{ref:"refArrow"},{default:function(){return[null===(n=(e=a.$slots).arrow)||void 0===n?void 0:n.call(e)]}}):""}}),[[(0,t.resolveDirective)("clickoutside"),a.handleClickOutside]])]}})]}})}}),qe=function(n){var o,r=null,i=null,l=null,a=Object.assign(Object.assign({boundary:"body",placement:"top",autoVisibility:!1},n),{trigger:"manual"}),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:""}),c=function(e){if(ke(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"})}};c(i.value.target);var s=(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]))}),{})})),f=function(){var e;null===(e=a.onContentMouseenter)||void 0===e||e.call(a)},d=function(){var e;null===(e=a.onContentMouseleave)||void 0===e||e.call(a)};return r({show: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,c(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)(We,(0,t.mergeProps)(s.value,{ref:l,onContentMouseenter:f,onContentMouseleave:d}),{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)?ke(a.target)?a.target.parentNode:a.target.target.parentNode:"string"==typeof o&&Fe(o)?document.querySelector(o):document.body).append(l),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}}}})(),l})()));
@@ -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})()));