bkui-vue 0.0.1-beta.38 → 0.0.1-beta.381

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