bkui-vue 0.0.1-beta.46 → 0.0.1-beta.460

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 (667) hide show
  1. package/License.txt +14 -0
  2. package/dist/index.cjs.js +364 -36
  3. package/dist/index.esm.js +30105 -19372
  4. package/dist/index.umd.js +364 -36
  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 +102 -0
  60. package/lib/cascader/cascader.css +316 -0
  61. package/lib/cascader/cascader.d.ts +354 -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 +988 -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 +27 -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 +8 -8
  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.d.ts +11 -11
  83. package/lib/code-diff/index.js +1 -1
  84. package/lib/collapse/collapse-panel.d.ts +103 -0
  85. package/lib/collapse/collapse.css +69 -14
  86. package/lib/collapse/collapse.d.ts +66 -52
  87. package/lib/collapse/collapse.less +112 -30
  88. package/lib/collapse/collapse.variable.css +191 -14
  89. package/lib/collapse/index.d.ts +266 -20
  90. package/lib/collapse/index.js +1 -1
  91. package/lib/collapse/props.d.ts +131 -0
  92. package/lib/collapse/utils.d.ts +11 -0
  93. package/lib/collapse-transition/collapse-transition.css +93 -0
  94. package/lib/collapse-transition/collapse-transition.d.ts +15 -0
  95. package/lib/collapse-transition/collapse-transition.less +111 -0
  96. package/lib/collapse-transition/collapse-transition.variable.css +215 -0
  97. package/lib/collapse-transition/index.d.ts +2 -0
  98. package/lib/collapse-transition/index.js +1 -0
  99. package/lib/color-picker/color-picker.css +275 -0
  100. package/lib/color-picker/color-picker.d.ts +144 -0
  101. package/lib/color-picker/color-picker.less +325 -0
  102. package/lib/color-picker/color-picker.variable.css +397 -0
  103. package/lib/color-picker/components/color-input.d.ts +42 -0
  104. package/lib/color-picker/components/hue-slider.d.ts +41 -0
  105. package/lib/color-picker/components/input-container.d.ts +42 -0
  106. package/lib/color-picker/components/recommend-colors.d.ts +51 -0
  107. package/lib/color-picker/components/saturation-panel.d.ts +41 -0
  108. package/lib/color-picker/index.d.ts +254 -0
  109. package/lib/color-picker/index.js +1 -0
  110. package/lib/color-picker/utils.d.ts +37 -0
  111. package/lib/components.d.ts +31 -8
  112. package/lib/components.js +1 -0
  113. package/lib/config-provider/config-provider.css +0 -0
  114. package/lib/config-provider/config-provider.d.ts +402 -0
  115. package/lib/config-provider/config-provider.less +1 -0
  116. package/lib/config-provider/config-provider.variable.css +122 -0
  117. package/lib/config-provider/index.d.ts +609 -0
  118. package/lib/config-provider/index.js +1 -0
  119. package/lib/config-provider/token.d.ts +128 -0
  120. package/lib/config-provider/use-global-config.d.ts +5 -0
  121. package/lib/config-provider/use-locale.d.ts +3 -0
  122. package/lib/config-provider/use-prefix.d.ts +9 -0
  123. package/lib/container/col.d.ts +51 -0
  124. package/lib/container/container.css +91 -0
  125. package/lib/container/container.d.ts +83 -0
  126. package/lib/container/container.less +20 -0
  127. package/lib/container/container.variable.css +213 -0
  128. package/lib/container/index.d.ts +223 -0
  129. package/lib/container/index.js +1 -0
  130. package/lib/container/interface.d.ts +7 -0
  131. package/lib/container/row.d.ts +4 -0
  132. package/lib/date-picker/base/confirm.d.ts +74 -0
  133. package/lib/date-picker/base/date-table.d.ts +96 -0
  134. package/lib/date-picker/base/month-table.d.ts +117 -0
  135. package/lib/date-picker/base/picker-dropdown.d.ts +74 -0
  136. package/lib/date-picker/base/time-spinner.d.ts +170 -0
  137. package/lib/date-picker/base/year-table.d.ts +117 -0
  138. package/lib/date-picker/date-picker.css +28 -1
  139. package/lib/date-picker/date-picker.d.ts +49 -20
  140. package/lib/date-picker/date-picker.less +106 -74
  141. package/lib/date-picker/date-picker.variable.css +60 -5
  142. package/lib/date-picker/index.d.ts +121 -54
  143. package/lib/date-picker/index.js +1 -1
  144. package/lib/date-picker/interface.d.ts +11 -1
  145. package/lib/date-picker/panel/date-range.d.ts +328 -0
  146. package/lib/date-picker/panel/date.d.ts +206 -0
  147. package/lib/date-picker/panel/time-range.d.ts +489 -0
  148. package/lib/date-picker/panel/time.d.ts +448 -0
  149. package/lib/date-picker/props.d.ts +55 -5
  150. package/lib/date-picker/time-picker.d.ts +381 -0
  151. package/lib/date-picker/utils.d.ts +22 -2
  152. package/lib/dialog/dialog.css +135 -26
  153. package/lib/dialog/dialog.d.ts +218 -103
  154. package/lib/dialog/dialog.less +99 -41
  155. package/lib/dialog/dialog.variable.css +257 -26
  156. package/lib/dialog/index.d.ts +488 -224
  157. package/lib/dialog/index.js +1 -1
  158. package/lib/dialog/props.d.ts +122 -0
  159. package/lib/directives/ellipsis.d.ts +7 -0
  160. package/lib/directives/index.d.ts +2 -0
  161. package/lib/directives/index.js +1 -1
  162. package/lib/directives/tooltips.d.ts +2 -1
  163. package/lib/dist.index.js +1 -0
  164. package/lib/divider/divider.d.ts +15 -15
  165. package/lib/divider/divider.variable.css +32 -4
  166. package/lib/divider/index.d.ts +34 -34
  167. package/lib/divider/index.js +1 -1
  168. package/lib/divider/props.d.ts +6 -6
  169. package/lib/dropdown/dropdown.css +13 -7
  170. package/lib/dropdown/dropdown.d.ts +46 -14
  171. package/lib/dropdown/dropdown.less +47 -34
  172. package/lib/dropdown/dropdown.variable.css +45 -11
  173. package/lib/dropdown/index.d.ts +99 -35
  174. package/lib/dropdown/index.js +1 -1
  175. package/lib/exception/exception.css +40 -14
  176. package/lib/exception/exception.d.ts +31 -11
  177. package/lib/exception/exception.less +59 -22
  178. package/lib/exception/exception.variable.css +72 -18
  179. package/lib/exception/index.d.ts +43 -26
  180. package/lib/exception/index.js +1 -1
  181. package/lib/exception/typings/index.d.ts +4 -0
  182. package/lib/fixed-navbar/fixed-navbar.d.ts +16 -2
  183. package/lib/fixed-navbar/fixed-navbar.variable.css +32 -4
  184. package/lib/fixed-navbar/index.d.ts +40 -5
  185. package/lib/fixed-navbar/index.js +1 -1
  186. package/lib/form/compose-form-item.d.ts +16 -0
  187. package/lib/form/form-item.d.ts +22 -7
  188. package/lib/form/form.css +103 -15
  189. package/lib/form/form.d.ts +48 -14
  190. package/lib/form/form.less +152 -46
  191. package/lib/form/form.variable.css +225 -15
  192. package/lib/form/index.d.ts +122 -35
  193. package/lib/form/index.js +1 -1
  194. package/lib/form/type.d.ts +11 -8
  195. package/lib/form/utils.d.ts +2 -0
  196. package/lib/form/validator.d.ts +1 -0
  197. package/lib/hooks.d.ts +1 -0
  198. package/lib/hooks.js +1 -0
  199. package/lib/icon/angle-double-down-line.js +1 -1
  200. package/lib/icon/angle-double-left-line.js +1 -1
  201. package/lib/icon/angle-double-left.js +1 -1
  202. package/lib/icon/angle-double-right-line.js +1 -1
  203. package/lib/icon/angle-double-right.js +1 -1
  204. package/lib/icon/angle-double-up-line.js +1 -1
  205. package/lib/icon/angle-down-fill.js +1 -1
  206. package/lib/icon/angle-down-line.js +1 -1
  207. package/lib/icon/angle-down.js +1 -1
  208. package/lib/icon/angle-left.js +1 -1
  209. package/lib/icon/angle-right.js +1 -1
  210. package/lib/icon/angle-up-fill.js +1 -1
  211. package/lib/icon/angle-up.js +1 -1
  212. package/lib/icon/archive-fill.d.ts +4 -0
  213. package/lib/icon/archive-fill.js +1 -0
  214. package/lib/icon/arrows-left.js +1 -1
  215. package/lib/icon/arrows-right.js +1 -1
  216. package/lib/icon/audio-fill.d.ts +4 -0
  217. package/lib/icon/audio-fill.js +1 -0
  218. package/lib/icon/bk.js +1 -1
  219. package/lib/icon/circle.js +1 -1
  220. package/lib/icon/close-line.d.ts +4 -0
  221. package/lib/icon/close-line.js +1 -0
  222. package/lib/icon/close.js +1 -1
  223. package/lib/icon/code.js +1 -1
  224. package/lib/icon/cog-shape.js +1 -1
  225. package/lib/icon/collapse-left.js +1 -1
  226. package/lib/icon/copy-shape.d.ts +4 -0
  227. package/lib/icon/copy-shape.js +1 -0
  228. package/lib/icon/copy.js +1 -1
  229. package/lib/icon/data-shape.d.ts +4 -0
  230. package/lib/icon/data-shape.js +1 -0
  231. package/lib/icon/del.d.ts +4 -0
  232. package/lib/icon/del.js +1 -0
  233. package/lib/icon/doc-fill.d.ts +4 -0
  234. package/lib/icon/doc-fill.js +1 -0
  235. package/lib/icon/done.js +1 -1
  236. package/lib/icon/down-shape.js +1 -1
  237. package/lib/icon/down-small.js +1 -1
  238. package/lib/icon/edit-line.d.ts +4 -0
  239. package/lib/icon/edit-line.js +1 -0
  240. package/lib/icon/ellipsis.js +1 -1
  241. package/lib/icon/enlarge-line.d.ts +4 -0
  242. package/lib/icon/enlarge-line.js +1 -0
  243. package/lib/icon/error.js +1 -1
  244. package/lib/icon/excel-fill.d.ts +4 -0
  245. package/lib/icon/excel-fill.js +1 -0
  246. package/lib/icon/exclamation-circle-shape.d.ts +4 -0
  247. package/lib/icon/exclamation-circle-shape.js +1 -0
  248. package/lib/icon/eye.js +1 -1
  249. package/lib/icon/filliscreen-line.d.ts +4 -0
  250. package/lib/icon/filliscreen-line.js +1 -0
  251. package/lib/icon/fix-line.d.ts +4 -0
  252. package/lib/icon/fix-line.js +1 -0
  253. package/lib/icon/fix-shape.d.ts +4 -0
  254. package/lib/icon/fix-shape.js +1 -0
  255. package/lib/icon/folder-open.js +1 -1
  256. package/lib/icon/folder-shape-open.js +1 -1
  257. package/lib/icon/folder-shape.js +1 -1
  258. package/lib/icon/folder.js +1 -1
  259. package/lib/icon/funnel.js +1 -1
  260. package/lib/icon/help-document-fill.js +1 -1
  261. package/lib/icon/help-fill.js +1 -1
  262. package/lib/icon/help.js +1 -1
  263. package/lib/icon/image-fill.d.ts +4 -0
  264. package/lib/icon/image-fill.js +1 -0
  265. package/lib/icon/img-error.d.ts +4 -0
  266. package/lib/icon/img-error.js +1 -0
  267. package/lib/icon/img-placehoulder.d.ts +4 -0
  268. package/lib/icon/img-placehoulder.js +1 -0
  269. package/lib/icon/index.d.ts +83 -54
  270. package/lib/icon/index.js +1 -0
  271. package/lib/icon/info-line.js +1 -0
  272. package/lib/icon/info.js +1 -0
  273. package/lib/icon/left-shape.js +1 -0
  274. package/lib/icon/left-turn-line.d.ts +4 -0
  275. package/lib/icon/left-turn-line.js +1 -0
  276. package/lib/icon/narrow-line.d.ts +4 -0
  277. package/lib/icon/narrow-line.js +1 -0
  278. package/lib/icon/original.d.ts +4 -0
  279. package/lib/icon/original.js +1 -0
  280. package/lib/icon/pdf-fill.d.ts +4 -0
  281. package/lib/icon/pdf-fill.js +1 -0
  282. package/lib/icon/play-shape.js +1 -0
  283. package/lib/icon/plus.js +1 -0
  284. package/lib/icon/ppt-fill.d.ts +4 -0
  285. package/lib/icon/ppt-fill.js +1 -0
  286. package/lib/icon/qq.js +1 -0
  287. package/lib/icon/right-shape.js +1 -0
  288. package/lib/icon/right-turn-line.d.ts +4 -0
  289. package/lib/icon/right-turn-line.js +1 -0
  290. package/lib/icon/search.js +1 -0
  291. package/lib/icon/share.js +1 -0
  292. package/lib/icon/spinner.js +1 -0
  293. package/lib/icon/success.js +1 -0
  294. package/lib/icon/switcher-loading.js +1 -0
  295. package/lib/icon/text-file.js +1 -0
  296. package/lib/icon/text-fill.d.ts +4 -0
  297. package/lib/icon/text-fill.js +1 -0
  298. package/lib/icon/transfer.d.ts +4 -0
  299. package/lib/icon/transfer.js +1 -0
  300. package/lib/icon/tree-application-shape.js +1 -0
  301. package/lib/icon/unfull-screen.d.ts +4 -0
  302. package/lib/icon/unfull-screen.js +1 -0
  303. package/lib/icon/unvisible.js +1 -0
  304. package/lib/icon/up-shape.js +1 -0
  305. package/lib/icon/upload.d.ts +4 -0
  306. package/lib/icon/upload.js +1 -0
  307. package/lib/icon/video-fill.d.ts +4 -0
  308. package/lib/icon/video-fill.js +1 -0
  309. package/lib/icon/warn.js +1 -0
  310. package/lib/icon/weixin-pro.d.ts +4 -0
  311. package/lib/icon/weixin-pro.js +1 -0
  312. package/lib/icon/weixin.js +1 -0
  313. package/lib/image/image-viewer.css +142 -0
  314. package/lib/image/image-viewer.d.ts +73 -0
  315. package/lib/image/image-viewer.less +168 -0
  316. package/lib/image/image-viewer.variable.css +142 -0
  317. package/lib/image/image.css +37 -0
  318. package/lib/image/image.d.ts +93 -0
  319. package/lib/image/image.less +44 -0
  320. package/lib/image/image.variable.css +37 -0
  321. package/lib/image/index.d.ts +246 -0
  322. package/lib/image/index.js +1 -0
  323. package/lib/image/props.d.ts +71 -0
  324. package/lib/index.d.ts +3 -1
  325. package/lib/index.js +1 -0
  326. package/lib/info-box/index.d.ts +7 -0
  327. package/lib/info-box/index.js +1 -0
  328. package/lib/info-box/info-box.css +37 -0
  329. package/lib/info-box/info-box.d.ts +29 -0
  330. package/lib/info-box/info-box.less +51 -0
  331. package/lib/info-box/info-box.variable.css +159 -0
  332. package/lib/input/index.d.ts +175 -90
  333. package/lib/input/index.js +1 -0
  334. package/lib/input/input.css +183 -19
  335. package/lib/input/input.d.ts +119 -36
  336. package/lib/input/input.less +112 -18
  337. package/lib/input/input.variable.css +246 -55
  338. package/lib/link/index.d.ts +29 -21
  339. package/lib/link/index.js +1 -0
  340. package/lib/link/link.css +12 -12
  341. package/lib/link/link.d.ts +10 -8
  342. package/lib/link/link.less +16 -14
  343. package/lib/link/link.variable.css +44 -16
  344. package/lib/loading/directive.d.ts +14 -0
  345. package/lib/loading/index.d.ts +135 -19
  346. package/lib/loading/index.js +1 -0
  347. package/lib/loading/loading.css +86 -33
  348. package/lib/loading/loading.d.ts +94 -12
  349. package/lib/loading/loading.less +27 -23
  350. package/lib/loading/loading.variable.css +134 -53
  351. package/lib/locale/index.d.ts +3 -0
  352. package/lib/locale/index.js +1 -0
  353. package/lib/locale/lang/en.d.ts +126 -0
  354. package/lib/locale/lang/zh-cn.d.ts +3 -0
  355. package/lib/menu/index.d.ts +16 -24
  356. package/lib/menu/index.js +1 -0
  357. package/lib/menu/menu.css +51 -0
  358. package/lib/menu/menu.d.ts +7 -16
  359. package/lib/menu/menu.variable.css +101 -22
  360. package/lib/menu/submenu.variable.css +32 -4
  361. package/lib/message/index.js +2 -0
  362. package/lib/message/index.js.LICENSE.txt +6 -0
  363. package/lib/message/message.css +170 -6
  364. package/lib/message/message.less +222 -7
  365. package/lib/message/message.variable.css +202 -10
  366. package/lib/message/messageConstructor.d.ts +134 -25
  367. package/lib/modal/index.d.ts +399 -162
  368. package/lib/modal/index.js +1 -0
  369. package/lib/modal/modal.css +52 -10
  370. package/lib/modal/modal.d.ts +151 -63
  371. package/lib/modal/modal.less +36 -25
  372. package/lib/modal/modal.variable.css +174 -10
  373. package/lib/modal/props.mixin.d.ts +63 -28
  374. package/lib/navigation/index.d.ts +310 -1
  375. package/lib/navigation/index.js +1 -0
  376. package/lib/navigation/navigation.css +1 -1
  377. package/lib/navigation/navigation.d.ts +12 -3
  378. package/lib/navigation/navigation.less +1 -1
  379. package/lib/navigation/navigation.variable.css +33 -5
  380. package/lib/notify/index.js +1 -0
  381. package/lib/notify/notify.css +25 -5
  382. package/lib/notify/notify.less +29 -6
  383. package/lib/notify/notify.variable.css +57 -9
  384. package/lib/notify/notifyConstructor.d.ts +62 -21
  385. package/lib/overflow-title/components/overflow-title.d.ts +57 -0
  386. package/lib/overflow-title/directive/overflow-title.d.ts +3 -0
  387. package/lib/overflow-title/index.d.ts +170 -0
  388. package/lib/overflow-title/index.js +1 -0
  389. package/lib/overflow-title/overflow.css +11 -0
  390. package/lib/overflow-title/overflow.less +13 -0
  391. package/lib/overflow-title/overflow.variable.css +11 -0
  392. package/lib/overflow-title/props.d.ts +43 -0
  393. package/lib/overflow-title/utils/getActualWidthByCanvas.d.ts +3 -0
  394. package/lib/overflow-title/utils/getActualWidthByDom.d.ts +3 -0
  395. package/lib/pagination/index.d.ts +35 -20
  396. package/lib/pagination/index.js +1 -0
  397. package/lib/pagination/pagination.css +54 -28
  398. package/lib/pagination/pagination.d.ts +18 -8
  399. package/lib/pagination/pagination.less +59 -30
  400. package/lib/pagination/pagination.variable.css +86 -32
  401. package/lib/pagination/use-limit.d.ts +3 -1
  402. package/lib/pagination/use-total.d.ts +3 -1
  403. package/lib/plugin-popover/index.d.ts +27 -0
  404. package/lib/plugin-popover/index.js +1 -0
  405. package/lib/plugins/index.d.ts +1 -0
  406. package/lib/plugins/index.js +1 -0
  407. package/lib/pop-confirm/index.d.ts +246 -0
  408. package/lib/pop-confirm/index.js +1 -0
  409. package/lib/pop-confirm/pop-confirm.css +28 -0
  410. package/lib/pop-confirm/pop-confirm.d.ts +95 -0
  411. package/lib/pop-confirm/pop-confirm.less +34 -0
  412. package/lib/pop-confirm/pop-confirm.variable.css +150 -0
  413. package/lib/pop-confirm/props.d.ts +67 -0
  414. package/lib/popover/arrow.d.ts +2 -0
  415. package/lib/popover/const.d.ts +16 -0
  416. package/lib/popover/content.d.ts +43 -0
  417. package/lib/popover/index.d.ts +484 -108
  418. package/lib/popover/index.js +1 -0
  419. package/lib/popover/plugin-popover.d.ts +12 -0
  420. package/lib/popover/popover.css +10 -50
  421. package/lib/popover/popover.d.ts +213 -49
  422. package/lib/popover/popover.less +19 -66
  423. package/lib/popover/popover.variable.css +42 -54
  424. package/lib/popover/props.d.ts +103 -35
  425. package/lib/popover/reference.d.ts +2 -0
  426. package/lib/popover/root.d.ts +16 -0
  427. package/lib/popover/use-floating.d.ts +34 -0
  428. package/lib/popover/use-platform.d.ts +30 -0
  429. package/lib/popover/use-popover-init.d.ts +23 -0
  430. package/lib/popover/use-popper-id.d.ts +6 -0
  431. package/lib/popover/utils.d.ts +8 -0
  432. package/lib/popover2/index.d.ts +44 -0
  433. package/lib/popover2/index.js +1 -0
  434. package/lib/popover2/popover.d.ts +2 -0
  435. package/lib/preset.d.ts +264 -2
  436. package/lib/preset.js +1 -0
  437. package/lib/process/index.d.ts +9 -9
  438. package/lib/process/index.js +1 -0
  439. package/lib/process/process.css +22 -0
  440. package/lib/process/process.d.ts +2 -2
  441. package/lib/process/process.less +30 -2
  442. package/lib/process/process.variable.css +54 -4
  443. package/lib/progress/index.d.ts +34 -34
  444. package/lib/progress/index.js +1 -0
  445. package/lib/progress/progress.css +51 -0
  446. package/lib/progress/progress.d.ts +13 -13
  447. package/lib/progress/progress.variable.css +87 -8
  448. package/lib/radio/common.d.ts +5 -5
  449. package/lib/radio/index.d.ts +36 -18
  450. package/lib/radio/index.js +1 -0
  451. package/lib/radio/radio-button.d.ts +7 -8
  452. package/lib/radio/radio-group.d.ts +26 -0
  453. package/lib/radio/radio.css +137 -66
  454. package/lib/radio/radio.d.ts +4 -4
  455. package/lib/radio/radio.less +262 -173
  456. package/lib/radio/radio.variable.css +172 -73
  457. package/lib/radio/type.d.ts +9 -4
  458. package/lib/rate/index.d.ts +28 -5
  459. package/lib/rate/index.js +1 -0
  460. package/lib/rate/rate.d.ts +13 -2
  461. package/lib/rate/star.d.ts +1 -1
  462. package/lib/resize-layout/index.d.ts +21 -21
  463. package/lib/resize-layout/index.js +1 -0
  464. package/lib/resize-layout/resize-layout.css +6 -15
  465. package/lib/resize-layout/resize-layout.d.ts +8 -8
  466. package/lib/resize-layout/resize-layout.less +10 -19
  467. package/lib/resize-layout/resize-layout.variable.css +38 -19
  468. package/lib/search-select/index.d.ts +891 -0
  469. package/lib/search-select/index.js +1 -0
  470. package/lib/search-select/input.d.ts +101 -0
  471. package/lib/search-select/menu.d.ts +77 -0
  472. package/lib/search-select/search-select.css +427 -0
  473. package/lib/search-select/search-select.d.ts +361 -0
  474. package/lib/search-select/search-select.less +384 -0
  475. package/lib/search-select/search-select.variable.css +549 -0
  476. package/lib/search-select/selected.d.ts +155 -0
  477. package/lib/search-select/utils.d.ts +88 -0
  478. package/lib/select/common.d.ts +5 -12
  479. package/lib/select/index.d.ts +1831 -690
  480. package/lib/select/index.js +1 -0
  481. package/lib/select/option.d.ts +20 -4
  482. package/lib/select/optionGroup.d.ts +1 -1
  483. package/lib/select/select.css +209 -113
  484. package/lib/select/select.d.ts +722 -147
  485. package/lib/select/select.less +342 -197
  486. package/lib/select/select.variable.css +241 -117
  487. package/lib/select/selectTagInput.d.ts +94 -0
  488. package/lib/select/type.d.ts +23 -13
  489. package/lib/shared/dom.d.ts +3 -0
  490. package/lib/shared/helper.d.ts +9 -0
  491. package/lib/shared/hooks/use-form-item.d.ts +2 -0
  492. package/lib/shared/hooks/use-form.d.ts +2 -0
  493. package/lib/shared/index.d.ts +32 -7
  494. package/lib/shared/index.js +1 -0
  495. package/lib/shared/mask-manager.d.ts +19 -5
  496. package/lib/shared/pop-manager.d.ts +16 -5
  497. package/lib/shared/popover.d.ts +6 -2
  498. package/lib/shared/token.d.ts +4 -0
  499. package/lib/shared/utils.d.ts +19 -0
  500. package/lib/shared/vue-types.d.ts +114 -7
  501. package/lib/sideslider/index.d.ts +290 -138
  502. package/lib/sideslider/index.js +1 -0
  503. package/lib/sideslider/sideslider.css +58 -11
  504. package/lib/sideslider/sideslider.d.ts +135 -64
  505. package/lib/sideslider/sideslider.less +75 -14
  506. package/lib/sideslider/sideslider.variable.css +90 -15
  507. package/lib/slider/index.d.ts +414 -1
  508. package/lib/slider/index.js +1 -0
  509. package/lib/slider/slider-button.d.ts +2 -1
  510. package/lib/slider/slider.d.ts +4 -4
  511. package/lib/slider/slider.variable.css +32 -4
  512. package/lib/steps/index.d.ts +55 -55
  513. package/lib/steps/index.js +1 -0
  514. package/lib/steps/steps.css +15 -3
  515. package/lib/steps/steps.d.ts +33 -33
  516. package/lib/steps/steps.less +24 -3
  517. package/lib/steps/steps.variable.css +47 -7
  518. package/lib/styles/index.d.ts +10 -1
  519. package/lib/styles/mixins/clearfix.css +8 -0
  520. package/lib/styles/mixins/clearfix.less +10 -0
  521. package/lib/styles/mixins/clearfix.variable.css +8 -0
  522. package/lib/styles/mixins/mixins.css +51 -0
  523. package/lib/styles/mixins/mixins.less +2 -0
  524. package/lib/styles/mixins/mixins.variable.css +51 -0
  525. package/lib/styles/mixins/popper.css +1 -1
  526. package/lib/styles/mixins/popper.less +12 -11
  527. package/lib/styles/mixins/popper.variable.css +123 -1
  528. package/lib/styles/mixins/scroll.css +17 -0
  529. package/lib/styles/mixins/scroll.less +22 -0
  530. package/lib/styles/mixins/scroll.variable.css +139 -0
  531. package/lib/styles/reset.css +36 -0
  532. package/lib/styles/reset.less +26 -2
  533. package/lib/styles/reset.variable.css +36 -0
  534. package/lib/styles/themes/themes.less +42 -4
  535. package/lib/swiper/index.js +1 -0
  536. package/lib/switcher/index.d.ts +42 -30
  537. package/lib/switcher/index.js +1 -0
  538. package/lib/switcher/switcher.css +57 -6
  539. package/lib/switcher/switcher.d.ts +19 -13
  540. package/lib/switcher/switcher.less +3 -26
  541. package/lib/switcher/switcher.variable.css +106 -27
  542. package/lib/tab/index.d.ts +122 -68
  543. package/lib/tab/index.js +1 -0
  544. package/lib/tab/props.d.ts +93 -41
  545. package/lib/tab/tab-nav.d.ts +50 -14
  546. package/lib/tab/tab-panel.d.ts +15 -8
  547. package/lib/tab/tab.css +151 -55
  548. package/lib/tab/tab.d.ts +42 -21
  549. package/lib/tab/tab.less +179 -86
  550. package/lib/tab/tab.variable.css +183 -59
  551. package/lib/table/cache.d.ts +6 -0
  552. package/lib/table/components/index.d.ts +3 -0
  553. package/lib/table/components/table-cell.d.ts +51 -0
  554. package/lib/table/components/table-column.d.ts +299 -0
  555. package/lib/table/components/table-row.d.ts +2 -0
  556. package/lib/table/const.d.ts +128 -1
  557. package/lib/table/index.d.ts +1405 -51
  558. package/lib/table/index.js +1 -0
  559. package/lib/table/plugins/body-empty.d.ts +36 -0
  560. package/lib/table/plugins/col-group.d.ts +38 -0
  561. package/lib/table/plugins/common.d.ts +6 -0
  562. package/lib/table/plugins/head-filter.css +30 -14
  563. package/lib/table/plugins/head-filter.d.ts +26 -0
  564. package/lib/table/plugins/head-filter.less +79 -52
  565. package/lib/table/plugins/head-filter.variable.css +62 -18
  566. package/lib/table/plugins/head-sort.css +7 -3
  567. package/lib/table/plugins/head-sort.d.ts +29 -0
  568. package/lib/table/plugins/head-sort.less +8 -4
  569. package/lib/table/plugins/head-sort.variable.css +39 -7
  570. package/lib/table/plugins/index.d.ts +5 -0
  571. package/lib/table/plugins/settings.css +147 -0
  572. package/lib/table/plugins/settings.d.ts +37 -0
  573. package/lib/table/plugins/settings.less +181 -0
  574. package/lib/table/plugins/settings.variable.css +269 -0
  575. package/lib/table/plugins/use-active-columns.d.ts +16 -0
  576. package/lib/table/plugins/use-column-resize.d.ts +15 -0
  577. package/lib/table/plugins/use-fixed-column.d.ts +26 -0
  578. package/lib/table/plugins/use-pagination.d.ts +16 -0
  579. package/lib/table/plugins/use-scroll-loading.d.ts +5 -0
  580. package/lib/table/props.d.ts +359 -11
  581. package/lib/table/render.d.ts +46 -18
  582. package/lib/table/table.css +1251 -16
  583. package/lib/table/table.d.ts +270 -20
  584. package/lib/table/table.less +311 -18
  585. package/lib/table/table.variable.css +1293 -30
  586. package/lib/table/use-column.d.ts +12 -0
  587. package/lib/table/use-common.d.ts +113 -0
  588. package/lib/table/utils.d.ts +51 -12
  589. package/lib/table-column/index.d.ts +790 -0
  590. package/lib/table-column/index.js +1 -0
  591. package/lib/tag/index.d.ts +29 -29
  592. package/lib/tag/index.js +1 -0
  593. package/lib/tag/tag.css +46 -13
  594. package/lib/tag/tag.d.ts +12 -12
  595. package/lib/tag/tag.less +46 -10
  596. package/lib/tag/tag.variable.css +78 -17
  597. package/lib/tag-input/common.d.ts +13 -1
  598. package/lib/tag-input/index.d.ts +1406 -1
  599. package/lib/tag-input/index.js +1 -0
  600. package/lib/tag-input/list-tag-render.d.ts +0 -3
  601. package/lib/tag-input/tag-input.css +23 -26
  602. package/lib/tag-input/tag-input.d.ts +302 -43
  603. package/lib/tag-input/tag-input.less +102 -104
  604. package/lib/tag-input/tag-input.variable.css +55 -30
  605. package/lib/tag-input/tag-props.d.ts +141 -7
  606. package/lib/tag-input/tag-render.d.ts +30 -4
  607. package/lib/time-picker/index.d.ts +904 -0
  608. package/lib/time-picker/index.js +1 -0
  609. package/lib/time-picker/time-picker.css +215 -0
  610. package/lib/time-picker/time-picker.less +260 -0
  611. package/lib/time-picker/time-picker.variable.css +337 -0
  612. package/lib/timeline/index.d.ts +6 -6
  613. package/lib/timeline/index.js +1 -0
  614. package/lib/timeline/timeline.css +16 -9
  615. package/lib/timeline/timeline.d.ts +1 -1
  616. package/lib/timeline/timeline.less +22 -9
  617. package/lib/timeline/timeline.variable.css +48 -13
  618. package/lib/transfer/const.d.ts +5 -0
  619. package/lib/transfer/index.d.ts +247 -150
  620. package/lib/transfer/index.js +1 -0
  621. package/lib/transfer/props.d.ts +59 -0
  622. package/lib/transfer/transfer.css +153 -92
  623. package/lib/transfer/transfer.d.ts +101 -95
  624. package/lib/transfer/transfer.less +142 -112
  625. package/lib/transfer/transfer.variable.css +191 -102
  626. package/lib/tree/constant.d.ts +62 -0
  627. package/lib/tree/index.d.ts +402 -60
  628. package/lib/tree/index.js +1 -0
  629. package/lib/tree/props.d.ts +135 -0
  630. package/lib/tree/tree.css +181 -9
  631. package/lib/tree/tree.d.ts +183 -19
  632. package/lib/tree/tree.less +54 -3
  633. package/lib/tree/tree.variable.css +213 -13
  634. package/lib/tree/use-empty.d.ts +6 -0
  635. package/lib/tree/use-node-action.d.ts +12 -0
  636. package/lib/tree/use-node-async.d.ts +5 -0
  637. package/lib/tree/use-node-attribute.d.ts +42 -0
  638. package/lib/tree/use-node-drag.d.ts +3 -0
  639. package/lib/tree/use-search.d.ts +11 -0
  640. package/lib/tree/use-tree-init.d.ts +15 -0
  641. package/lib/tree/util.d.ts +4 -6
  642. package/lib/upload/index.d.ts +566 -0
  643. package/lib/upload/index.js +1 -0
  644. package/lib/upload/props.d.ts +111 -0
  645. package/lib/upload/upload-list.d.ts +47 -0
  646. package/lib/upload/upload-trigger.d.ts +51 -0
  647. package/lib/upload/upload.css +427 -0
  648. package/lib/upload/upload.d.ts +246 -0
  649. package/lib/upload/upload.less +466 -0
  650. package/lib/upload/upload.type.d.ts +78 -0
  651. package/lib/upload/upload.variable.css +549 -0
  652. package/lib/upload/use-ajax-upload.d.ts +3 -0
  653. package/lib/upload/use-file-handler.d.ts +44 -0
  654. package/lib/virtual-render/index.d.ts +50 -4
  655. package/lib/virtual-render/index.js +1 -0
  656. package/lib/virtual-render/props.d.ts +15 -0
  657. package/lib/virtual-render/use-tag-render.d.ts +7 -0
  658. package/lib/virtual-render/v-virtual-render.d.ts +0 -1
  659. package/lib/virtual-render/virtual-render.css +17 -17
  660. package/lib/virtual-render/virtual-render.d.ts +23 -1
  661. package/lib/virtual-render/virtual-render.less +2 -23
  662. package/lib/virtual-render/virtual-render.variable.css +139 -17
  663. package/lib/volar.components.d.ts +102 -0
  664. package/package.json +38 -17
  665. package/LICENSE.txt +0 -22
  666. package/lib/form/common.d.ts +0 -3
  667. package/lib/use-form.d.ts +0 -3
@@ -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 b=0;b<6;++b)s[c+b]=f[b];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:()=>ze});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,b,w,T,x,R,P,E,O,A,C,S,N,H,L=i(210);(0,L.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"}(b||(b={})),function(e){e.IF="if",e.SHOW="show"}(w||(w={})),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={})),function(e){e.CHECKBOX="checkbox",e.CHECK="check"}(H||(H={}));var I={onAfterHidden:Function,onAfterShow:Function},D=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,L.string)().def(P.HOVER),renderType:(0,L.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("")},I);const M=(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:""}}),j=(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 V(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 F(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 V(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?V(e,t):void 0}}(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 k(e){return e.split("-")[0]}function _(e){return e.split("-")[1]}function U(e){return["top","bottom"].includes(k(e))?"x":"y"}function $(e){return"y"===e?"height":"width"}function B(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=U(t),u=$(a),c=o[u]/2-r[u]/2,s="x"===a;let f;switch(k(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(_(t)){case"start":f[a]-=c*(n&&s?-1:1);break;case"end":f[a]+=c*(n&&s?-1:1)}return f}function W(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 q(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function z(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=W(p),m=a[d?"floating"===f?"reference":"floating":f],h=q(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=q(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 G=Math.min,K=Math.max;function Y(e,t,n){return K(e,G(t,n))}const X={left:"right",right:"left",bottom:"top",top:"bottom"};function Z(e){return e.replace(/left|right|bottom|top/g,(e=>X[e]))}function J(e,t,n){void 0===n&&(n=!1);const o=_(e),r=U(e),i=$(r);let l="x"===r?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=Z(l)),{main:l,cross:Z(l)}}const Q={start:"end",end:"start"};function ee(e){return e.replace(/start|end/g,(e=>Q[e]))}const te=["top","right","bottom","left"],ne=te.reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[]);function oe(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function re(e){return te.some((t=>e[t]>=0))}const ie=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=k(n),a=_(n),u="x"===U(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 le=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 z(t,u),f=U(k(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 ae(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function ue(e){if(null==e)return window;if(!ae(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function ce(e){return ue(e).getComputedStyle(e)}function se(e){return ae(e)?"":e?(e.nodeName||"").toLowerCase():""}function fe(){const e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((e=>e.brand+"/"+e.version)).join(" "):navigator.userAgent}function de(e){return e instanceof ue(e).HTMLElement}function pe(e){return e instanceof ue(e).Element}function ve(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ue(e).ShadowRoot||e instanceof ShadowRoot)}function me(e){const{overflow:t,overflowX:n,overflowY:o}=ce(e);return/auto|scroll|overlay|hidden/.test(t+o+n)}function he(e){return["table","td","th"].includes(se(e))}function ye(e){const t=/firefox/i.test(fe()),n=ce(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 ge(){return!/^((?!chrome|android).)*safari/i.test(fe())}const be=Math.min,we=Math.max,Te=Math.round;function xe(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&&de(e)&&(u=e.offsetWidth>0&&Te(a.width)/e.offsetWidth||1,c=e.offsetHeight>0&&Te(a.height)/e.offsetHeight||1);const s=pe(e)?ue(e):window,f=!ge()&&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 Re(e){return(t=e,(t instanceof ue(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function Pe(e){return pe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ee(e){return xe(Re(e)).left+Pe(e).scrollLeft}function Oe(e,t,n){const o=de(t),r=Re(t),i=xe(e,o&&function(e){const t=xe(e);return Te(t.width)!==e.offsetWidth||Te(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"!==se(t)||me(r))&&(l=Pe(t)),de(t)){const e=xe(t,!0);a.x=e.x+t.clientLeft,a.y=e.y+t.clientTop}else r&&(a.x=Ee(r));return{x:i.left+l.scrollLeft-a.x,y:i.top+l.scrollTop-a.y,width:i.width,height:i.height}}function Ae(e){return"html"===se(e)?e:e.assignedSlot||e.parentNode||(ve(e)?e.host:null)||Re(e)}function Ce(e){return de(e)&&"fixed"!==getComputedStyle(e).position?e.offsetParent:null}function Se(e){const t=ue(e);let n=Ce(e);for(;n&&he(n)&&"static"===getComputedStyle(n).position;)n=Ce(n);return n&&("html"===se(n)||"body"===se(n)&&"static"===getComputedStyle(n).position&&!ye(n))?t:n||function(e){let t=Ae(e);for(ve(t)&&(t=t.host);de(t)&&!["html","body"].includes(se(t));){if(ye(t))return t;t=t.parentNode}return null}(e)||t}function Ne(e){if(de(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=xe(e);return{width:t.width,height:t.height}}function He(e){const t=Ae(e);return["html","body","#document"].includes(se(t))?e.ownerDocument.body:de(t)&&me(t)?t:He(t)}function Le(e,t){var n;void 0===t&&(t=[]);const o=He(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=ue(o),l=r?[i].concat(i.visualViewport||[],me(o)?o:[]):o,a=t.concat(l);return r?a:a.concat(Le(l))}function Ie(e,t,n){return"viewport"===t?q(function(e,t){const n=ue(e),o=Re(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=ge();(e||!e&&"fixed"===t)&&(a=r.offsetLeft,u=r.offsetTop)}return{width:i,height:l,x:a,y:u}}(e,n)):pe(t)?function(e,t){const n=xe(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):q(function(e){var t;const n=Re(e),o=Pe(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+Ee(e);const u=-o.scrollTop;return"rtl"===ce(r||n).direction&&(a+=we(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:l,x:a,y:u}}(Re(e)))}function De(e){const t=Le(e),n=["absolute","fixed"].includes(ce(e).position)&&de(e)?Se(e):e;return pe(n)?t.filter((e=>pe(e)&&function(e,t){const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&ve(n)){let n=t;do{if(n&&e===n)return!0;n=n.parentNode||n.host}while(n)}return!1}(e,n)&&"body"!==se(e))):[]}const Me={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const i=[..."clippingAncestors"===n?De(t):[].concat(n),o],l=i[0],a=i.reduce(((e,n)=>{const o=Ie(t,n,r);return e.top=we(o.top,e.top),e.right=be(o.right,e.right),e.bottom=be(o.bottom,e.bottom),e.left=we(o.left,e.left),e}),Ie(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=de(n),i=Re(n);if(n===i)return t;let l={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if((r||!r&&"fixed"!==o)&&(("body"!==se(n)||me(i))&&(l=Pe(n)),de(n))){const e=xe(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:pe,getDimensions:Ne,getOffsetParent:Se,getDocumentElement:Re,getElementRects:e=>{let{reference:t,floating:n,strategy:o}=e;return{reference:Oe(t,Se(n),o),floating:{...Ne(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===ce(e).direction},je=(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}=B(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}=B(u,f,a))),n=-1)}return{x:c,y:s,placement:f,strategy:r,middlewareData:d}})(e,t,{platform:Me,...n});var Ve=i(8022),Fe={},ke=function(e){return document.querySelector(e)instanceof HTMLElement},_e=function(e){return e instanceof Element||e instanceof HTMLDocument},Ue=function(e){if(_e(e))return{isElement:!0,content:e,vNode:void 0};if(/^(#|\.)/.test(e)){var t=document.querySelector(e),n=_e(t);return{isElement:n,content:n?t:e,vNode:n?void 0:e}}return{isElement:!1,content:e,vNode:e}};const $e=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=Ue(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}},b=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=F(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},w=function(e,t){var n,o,r=b(),i=[ie(r.offset||t.offset),le({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=W(o),s={x:r,y:i},f=U(l),d=_(l),p=$(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],b=await(null==u.getOffsetParent?void 0:u.getOffsetParent(n));let w=b?"y"===f?b.clientHeight||0:b.clientWidth||0:0;0===w&&(w=a.floating[p]);const T=y/2-g/2,x=c[m],R=w-v[p]-c[h],P=w/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=ne,autoAlignment:h=!0,...y}=e,g=function(e,t,n){return(e?[...n.filter((t=>_(t)===e)),...n.filter((t=>_(t)!==e))]:n.filter((e=>k(e)===e))).filter((n=>!e||_(n)===e||!!t&&ee(n)!==n))}(v,h,m),b=await z(t,y),w=null!=(n=null==(o=s.autoPlacement)?void 0:o.index)?n:0,T=g[w];if(null==T)return{};const{main:x,cross:R}=J(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=[b[k(T)],b[x],b[R]],E=[...null!=(r=null==(i=s.autoPlacement)?void 0:i.overflows)?r:[],{placement:T,overflows:P}],O=g[w+1];if(O)return{data:{index:w+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:w+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=q(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=W(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"===U(o)){const e=d[0],t=d[d.length-1],n="top"===k(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"===k(o),t=K(...d.map((e=>e.right))),n=G(...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=k(o),h=f||(m!==l&&p?function(e){const t=Z(e);return[ee(e),t,ee(t)]}(l):[Z(l)]),y=[l,...h],g=await z(t,v),b=[];let w=(null==(n=r.flip)?void 0:n.overflows)||[];if(c&&b.push(g[m]),s){const{main:e,cross:t}=J(o,i,await(null==a.isRTL?void 0:a.isRTL(u.floating)));b.push(g[e],g[t])}if(w=[...w,{placement:o,overflows:b}],!b.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:w},reset:{placement:t}};let n="bottom";switch(d){case"bestFit":{var R;const e=null==(R=w.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=oe(await z(e,{...n,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:re(t)}}}case"escaped":{const t=oe(await z(e,{...n,altBoundary:!0}),o.floating);return{data:{escapedOffsets:t,escaped:re(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=w(i,t);je(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()},V=function(){j()},B=function(){"hover"===o.trigger&&(N&&(L=!0,clearTimeout(N),N=void 0),Q())},X=function(){L&&(M(),L=!1,te())},Q=function(){r.emit(v.CONTENT_MOUSEENTER)},te=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",B],["mouseleave",X]],reference:[["mouseenter",D],["mouseleave",M],["focus",D],["blur",M]]},click:[["click",V]],manual:{content:[["mouseenter",Q],["mouseleave",te]],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?[...pe(e)?Le(e):[],...Le(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),pe(e)&&!a&&d.observe(e),d.observe(t));let p=a?xe(e):null;return a&&function t(){const o=xe(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 Be=null,We=null;const qe=(0,t.defineComponent)({name:"Popover",components:{Content:y,Arrow:d,Root:j},directives:{clickoutside:f},props:D,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=(Fe.fullscreenReferId||(Fe.fullscreenReferId="id_".concat((0,Ve.v4)())),Fe.fullscreenReferId),f=(0,t.ref)(),d=$e(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,b=d.resolvePopElements,w=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=b(),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=F(t,2),o=n[0],r=n[1];o&&"function"==typeof r&&e.addEventListener(o,r)}))},S=function(){var e=b(),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(Be);var r=(n||{}).parentNode;(null==r?void 0:r.parentNode)&&(r.parentNode.setAttribute("data-pnode-id",We),o="[data-pnode-id=".concat(We,"]"))}})),r((function(){if(!/^body$/i.test(e.boundary)){if("string"==typeof e.boundary)return ke(e.boundary)?void(o=e.boundary):(console.error("props.boundary is not available selector"),void(o="body"));if(_e(e.boundary))return void(o=e.boundary)}})),r((function(){o="string"==typeof e.boundary?e.boundary:"".concat(t).concat(Be)})),o};if(null===Be||!ke("#".concat(Be))){Be="id_".concat((0,Ve.v4)());var o=document.createElement("div");o.setAttribute("id",Be),o.setAttribute("data-popper-id",Be),document.body.append(o)}return null===We&&(We="id_".concat((0,Ve.v4)())),{popContainerId:Be,prefixId:n(),getPrefixId:n}}(e,"#"),H=N.getPrefixId,L=(0,t.ref)(),I=function(){!function(){if(null==u?void 0:u.length){var e=b().elReference;e&&u.forEach((function(t){var n=F(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=w(),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(),w()){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,b=p.updateBoundary,w=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():w()})),b(),(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?Ue(e.content).vNode:r}}},render:function(){var e,n,o,r,i,l,a=this;return(0,t.createVNode)(j,{ref:"refRoot"},{default:function(){return[(0,t.createVNode)(M,{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]])]}})]}})}}),ze=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(_e(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)(qe,(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)?_e(a.target)?a.target.parentNode:a.target.target.parentNode:"string"==typeof o&&ke(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})()));
@@ -0,0 +1,246 @@
1
+ declare const BKPopConfirm: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{
6
+ title: string;
7
+ width: string | number;
8
+ content: string;
9
+ placement: string;
10
+ theme: string;
11
+ trigger: "click" | "hover";
12
+ icon: string;
13
+ confirmText: string;
14
+ cancelText: string;
15
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
16
+ trigger: import("vue-types").VueTypeDef<"click" | "hover"> & {
17
+ default: "click" | "hover";
18
+ };
19
+ title: import("vue-types").VueTypeValidableDef<string> & {
20
+ default: string;
21
+ } & {
22
+ default: string;
23
+ };
24
+ content: import("vue-types").VueTypeValidableDef<string> & {
25
+ default: string;
26
+ } & {
27
+ default: string;
28
+ };
29
+ confirmText: import("vue-types").VueTypeValidableDef<string> & {
30
+ default: string;
31
+ } & {
32
+ default: string;
33
+ };
34
+ cancelText: import("vue-types").VueTypeValidableDef<string> & {
35
+ default: string;
36
+ } & {
37
+ default: string;
38
+ };
39
+ placement: import("vue-types").VueTypeDef<string> & {
40
+ default: string;
41
+ };
42
+ theme: import("vue-types").VueTypeValidableDef<string> & {
43
+ default: string;
44
+ } & {
45
+ default: string;
46
+ };
47
+ icon: import("vue-types").VueTypeValidableDef<string> & {
48
+ default: string;
49
+ } & {
50
+ default: string;
51
+ };
52
+ width: import("vue-types").VueTypeDef<string | number> & {
53
+ default: string | number;
54
+ };
55
+ }>> & {
56
+ onConfirm?: (...args: any[]) => any;
57
+ onCancel?: (...args: any[]) => any;
58
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "title" | "width" | "content" | "placement" | "theme" | "trigger" | "icon" | "confirmText" | "cancelText">;
59
+ $attrs: {
60
+ [x: string]: unknown;
61
+ };
62
+ $refs: {
63
+ [x: string]: unknown;
64
+ };
65
+ $slots: Readonly<{
66
+ [name: string]: import("vue").Slot;
67
+ }>;
68
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
69
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
70
+ $emit: (event: "confirm" | "cancel", ...args: any[]) => void;
71
+ $el: any;
72
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
73
+ trigger: import("vue-types").VueTypeDef<"click" | "hover"> & {
74
+ default: "click" | "hover";
75
+ };
76
+ title: import("vue-types").VueTypeValidableDef<string> & {
77
+ default: string;
78
+ } & {
79
+ default: string;
80
+ };
81
+ content: import("vue-types").VueTypeValidableDef<string> & {
82
+ default: string;
83
+ } & {
84
+ default: string;
85
+ };
86
+ confirmText: import("vue-types").VueTypeValidableDef<string> & {
87
+ default: string;
88
+ } & {
89
+ default: string;
90
+ };
91
+ cancelText: import("vue-types").VueTypeValidableDef<string> & {
92
+ default: string;
93
+ } & {
94
+ default: string;
95
+ };
96
+ placement: import("vue-types").VueTypeDef<string> & {
97
+ default: string;
98
+ };
99
+ theme: import("vue-types").VueTypeValidableDef<string> & {
100
+ default: string;
101
+ } & {
102
+ default: string;
103
+ };
104
+ icon: import("vue-types").VueTypeValidableDef<string> & {
105
+ default: string;
106
+ } & {
107
+ default: string;
108
+ };
109
+ width: import("vue-types").VueTypeDef<string | number> & {
110
+ default: string | number;
111
+ };
112
+ }>> & {
113
+ onConfirm?: (...args: any[]) => any;
114
+ onCancel?: (...args: any[]) => any;
115
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("confirm" | "cancel")[], string, {
116
+ title: string;
117
+ width: string | number;
118
+ content: string;
119
+ placement: string;
120
+ theme: string;
121
+ trigger: "click" | "hover";
122
+ icon: string;
123
+ confirmText: string;
124
+ cancelText: string;
125
+ }> & {
126
+ beforeCreate?: (() => void) | (() => void)[];
127
+ created?: (() => void) | (() => void)[];
128
+ beforeMount?: (() => void) | (() => void)[];
129
+ mounted?: (() => void) | (() => void)[];
130
+ beforeUpdate?: (() => void) | (() => void)[];
131
+ updated?: (() => void) | (() => void)[];
132
+ activated?: (() => void) | (() => void)[];
133
+ deactivated?: (() => void) | (() => void)[];
134
+ beforeDestroy?: (() => void) | (() => void)[];
135
+ beforeUnmount?: (() => void) | (() => void)[];
136
+ destroyed?: (() => void) | (() => void)[];
137
+ unmounted?: (() => void) | (() => void)[];
138
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
139
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
140
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>, info: string) => boolean | void)[];
141
+ };
142
+ $forceUpdate: () => void;
143
+ $nextTick: typeof import("vue").nextTick;
144
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
145
+ } & Readonly<import("vue").ExtractPropTypes<{
146
+ trigger: import("vue-types").VueTypeDef<"click" | "hover"> & {
147
+ default: "click" | "hover";
148
+ };
149
+ title: import("vue-types").VueTypeValidableDef<string> & {
150
+ default: string;
151
+ } & {
152
+ default: string;
153
+ };
154
+ content: import("vue-types").VueTypeValidableDef<string> & {
155
+ default: string;
156
+ } & {
157
+ default: string;
158
+ };
159
+ confirmText: import("vue-types").VueTypeValidableDef<string> & {
160
+ default: string;
161
+ } & {
162
+ default: string;
163
+ };
164
+ cancelText: import("vue-types").VueTypeValidableDef<string> & {
165
+ default: string;
166
+ } & {
167
+ default: string;
168
+ };
169
+ placement: import("vue-types").VueTypeDef<string> & {
170
+ default: string;
171
+ };
172
+ theme: import("vue-types").VueTypeValidableDef<string> & {
173
+ default: string;
174
+ } & {
175
+ default: string;
176
+ };
177
+ icon: import("vue-types").VueTypeValidableDef<string> & {
178
+ default: string;
179
+ } & {
180
+ default: string;
181
+ };
182
+ width: import("vue-types").VueTypeDef<string | number> & {
183
+ default: string | number;
184
+ };
185
+ }>> & {
186
+ onConfirm?: (...args: any[]) => any;
187
+ onCancel?: (...args: any[]) => any;
188
+ } & import("vue").ShallowUnwrapRef<() => JSX.Element> & {} & {} & import("vue").ComponentCustomProperties;
189
+ __isFragment?: never;
190
+ __isTeleport?: never;
191
+ __isSuspense?: never;
192
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
193
+ trigger: import("vue-types").VueTypeDef<"click" | "hover"> & {
194
+ default: "click" | "hover";
195
+ };
196
+ title: import("vue-types").VueTypeValidableDef<string> & {
197
+ default: string;
198
+ } & {
199
+ default: string;
200
+ };
201
+ content: import("vue-types").VueTypeValidableDef<string> & {
202
+ default: string;
203
+ } & {
204
+ default: string;
205
+ };
206
+ confirmText: import("vue-types").VueTypeValidableDef<string> & {
207
+ default: string;
208
+ } & {
209
+ default: string;
210
+ };
211
+ cancelText: import("vue-types").VueTypeValidableDef<string> & {
212
+ default: string;
213
+ } & {
214
+ default: string;
215
+ };
216
+ placement: import("vue-types").VueTypeDef<string> & {
217
+ default: string;
218
+ };
219
+ theme: import("vue-types").VueTypeValidableDef<string> & {
220
+ default: string;
221
+ } & {
222
+ default: string;
223
+ };
224
+ icon: import("vue-types").VueTypeValidableDef<string> & {
225
+ default: string;
226
+ } & {
227
+ default: string;
228
+ };
229
+ width: import("vue-types").VueTypeDef<string | number> & {
230
+ default: string | number;
231
+ };
232
+ }>> & {
233
+ onConfirm?: (...args: any[]) => any;
234
+ onCancel?: (...args: any[]) => any;
235
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("confirm" | "cancel")[], "confirm" | "cancel", {
236
+ title: string;
237
+ width: string | number;
238
+ content: string;
239
+ placement: string;
240
+ theme: string;
241
+ trigger: "click" | "hover";
242
+ icon: string;
243
+ confirmText: string;
244
+ cancelText: string;
245
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin;
246
+ export default BKPopConfirm;
@@ -0,0 +1 @@
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("../button"),require("../config-provider"),require("../popover"),require("vue-types"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../button","../config-provider","../popover","vue-types"],t);else{var o="object"==typeof exports?t(require("../shared"),require("vue"),require("../button"),require("../config-provider"),require("../popover"),require("vue-types")):t(e["../shared"],e.vue,e["../button"],e["../config-provider"],e["../popover"],e["vue-types"]);for(var r in o)("object"==typeof exports?exports:e)[r]=o[r]}}(self,((e,t,o,r,n,i)=>(()=>{"use strict";var p={4976:e=>{e.exports=o},2717:e=>{e.exports=r},5537:e=>{e.exports=n},4212:t=>{t.exports=e},748:e=>{e.exports=t},210:e=>{e.exports=i}},c={};function u(e){var t=c[e];if(void 0!==t)return t.exports;var o=c[e]={exports:{}};return p[e](o,o.exports,u),o.exports}u.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return u.d(t,{a:t}),t},u.d=(e,t)=>{for(var o in t)u.o(t,o)&&!u.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},u.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),u.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};return(()=>{u.r(s),u.d(s,{default:()=>d});var e,t=u(4212),o=u(748),r=u(4976),n=u.n(r),i=u(2717),p=u(5537),c=u.n(p),a=u(210);!function(e){e.HOVER="hover",e.CLICK="click"}(e||(e={}));const f={trigger:(0,a.toType)("trigger",{}).def(e.HOVER),title:t.PropTypes.string.def(""),content:t.PropTypes.string.def(""),confirmText:t.PropTypes.string.def(""),cancelText:t.PropTypes.string.def(""),placement:t.PropTypes.oneOfType([(0,t.placementType)().def(t.PlacementEnum.TOP),t.PropTypes.string]).def(t.PlacementEnum.TOP),theme:t.PropTypes.string.def("light "),icon:t.PropTypes.string.def(""),width:t.PropTypes.oneOfType([t.PropTypes.string,t.PropTypes.number]).def("auto")},l=(0,o.defineComponent)({name:"PopConfirm",components:{BkPopover:c(),BkButton:n()},props:f,emits:["confirm","cancel"],setup:function(e,t){var r=t.emit,p=t.slots,u=(0,o.ref)(!1),s=(0,i.useLocale)("popConfirm");function a(e){u.value=!1,r("confirm"),e.stopPropagation()}function f(e){u.value=!1,r("cancel"),e.stopPropagation()}var l="function"==typeof p.icon?p.icon():e.icon;return function(){return(0,o.createVNode)(c(),{isShow:u.value,trigger:e.trigger,theme:e.theme,width:e.width,onAfterShow:function(){return u.value=!0},extCls:"bk-pop-confirm-box"},{default:function(){return p.default()},content:function(){return(0,o.createVNode)("div",{class:"bk-pop-confirm"},["function"==typeof p.content?p.content():(0,o.createVNode)(o.Fragment,null,[e.title?(0,o.createVNode)("div",{class:"bk-pop-confirm-title"},[l?(0,o.createVNode)("span",{class:"bk-pop-confirm-icon"},[l]):"",(0,o.createVNode)("span",null,[e.title])]):"",(0,o.createVNode)("div",{class:"bk-pop-confirm-content"},[e.title?"":l,e.content])]),(0,o.createVNode)("div",{class:"bk-pop-confirm-footer"},[(0,o.createVNode)(n(),{onClick:a,size:"small",theme:"primary"},{default:function(){return[s.value.ok]}}),(0,o.createVNode)(n(),{onClick:f,size:"small"},{default:function(){return[s.value.cancel]}})])])}})}}}),d=(0,t.withInstall)(l)})(),s})()));