bkui-vue 0.0.2-beta.9 → 0.0.2-table-refactor.2

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 (249) hide show
  1. package/dist/index.cjs.js +69 -61
  2. package/dist/index.esm.js +15945 -15487
  3. package/dist/index.umd.js +69 -61
  4. package/dist/locale/en.esm.js +1 -1
  5. package/dist/locale/en.esm.js.map +1 -1
  6. package/dist/locale/en.umd.js +1 -1
  7. package/dist/locale/en.umd.js.map +1 -1
  8. package/dist/locale/zh-cn.esm.js +1 -1
  9. package/dist/locale/zh-cn.esm.js.map +1 -1
  10. package/dist/locale/zh-cn.umd.js +1 -1
  11. package/dist/locale/zh-cn.umd.js.map +1 -1
  12. package/dist/style.css +1 -1
  13. package/dist/style.variable.css +1 -1
  14. package/lib/affix/affix.d.ts +1 -1
  15. package/lib/affix/index.d.ts +4 -4
  16. package/lib/alert/alert.css +7 -0
  17. package/lib/alert/alert.d.ts +5 -5
  18. package/lib/alert/alert.less +16 -6
  19. package/lib/alert/alert.variable.css +7 -0
  20. package/lib/alert/index.d.ts +10 -10
  21. package/lib/animate-number/index.d.ts +1 -1
  22. package/lib/backtop/index.d.ts +1 -1
  23. package/lib/badge/badge.d.ts +2 -2
  24. package/lib/badge/index.d.ts +7 -7
  25. package/lib/breadcrumb/index.d.ts +2 -2
  26. package/lib/button/button.css +20 -0
  27. package/lib/button/button.less +105 -94
  28. package/lib/button/button.variable.css +20 -0
  29. package/lib/button/index.d.ts +2 -2
  30. package/lib/card/card.d.ts +1 -1
  31. package/lib/card/index.d.ts +4 -4
  32. package/lib/cascader/cascader.d.ts +1 -0
  33. package/lib/cascader/index.d.ts +5 -2
  34. package/lib/cascader/index.js +1 -1
  35. package/lib/cascader/interface.d.ts +1 -1
  36. package/lib/checkbox/checkbox-group.d.ts +6 -3
  37. package/lib/checkbox/checkbox.d.ts +4 -4
  38. package/lib/checkbox/index.d.ts +22 -19
  39. package/lib/checkbox/index.js +1 -1
  40. package/lib/code-diff/index.d.ts +1 -1
  41. package/lib/collapse/index.d.ts +2 -2
  42. package/lib/collapse-transition/index.d.ts +128 -2
  43. package/lib/collapse-transition/index.js +1 -1
  44. package/lib/color-picker/color-picker.d.ts +16 -0
  45. package/lib/color-picker/components/recommend-colors.d.ts +16 -0
  46. package/lib/color-picker/index.d.ts +19 -1
  47. package/lib/color-picker/index.js +1 -1
  48. package/lib/config-provider/config-provider.d.ts +3 -0
  49. package/lib/config-provider/index.d.ts +5 -1
  50. package/lib/config-provider/index.js +1 -1
  51. package/lib/config-provider/token.d.ts +1 -0
  52. package/lib/config-provider/use-global-config.d.ts +2 -0
  53. package/lib/config-provider/use-prefix.d.ts +2 -0
  54. package/lib/container/index.d.ts +2 -2
  55. package/lib/date-picker/date-picker.d.ts +3 -1
  56. package/lib/date-picker/index.d.ts +12 -5
  57. package/lib/date-picker/index.js +1 -1
  58. package/lib/date-picker/panel/date-range.d.ts +2 -1
  59. package/lib/dialog/dialog.css +2 -0
  60. package/lib/dialog/dialog.variable.css +2 -0
  61. package/lib/dialog/index.d.ts +1 -1
  62. package/lib/directives/index.js +1 -1
  63. package/lib/directives/tooltips.d.ts +3 -2
  64. package/lib/divider/index.d.ts +1 -1
  65. package/lib/dropdown/dropdown.css +1 -0
  66. package/lib/dropdown/dropdown.variable.css +1 -0
  67. package/lib/dropdown/index.d.ts +2 -2
  68. package/lib/exception/index.d.ts +2 -2
  69. package/lib/fixed-navbar/index.d.ts +1 -1
  70. package/lib/form/index.d.ts +3 -3
  71. package/lib/form/index.js +1 -1
  72. package/lib/hooks.d.ts +1 -1
  73. package/lib/hooks.js +1 -1
  74. package/lib/icon/assistant.d.ts +4 -0
  75. package/lib/icon/assistant.js +1 -0
  76. package/lib/icon/index.d.ts +1 -0
  77. package/lib/icon/index.js +1 -1
  78. package/lib/image/index.d.ts +1 -1
  79. package/lib/image/index.js +1 -1
  80. package/lib/info-box/index.js +1 -1
  81. package/lib/info-box/info-box.css +2 -0
  82. package/lib/info-box/info-box.less +2 -1
  83. package/lib/info-box/info-box.variable.css +2 -0
  84. package/lib/input/index.d.ts +146 -50
  85. package/lib/input/index.js +2 -1
  86. package/lib/input/index.js.LICENSE.txt +1 -0
  87. package/lib/input/input.css +34 -6
  88. package/lib/input/input.d.ts +100 -11
  89. package/lib/input/input.less +53 -14
  90. package/lib/input/input.variable.css +34 -6
  91. package/lib/input/util.d.ts +6 -0
  92. package/lib/link/index.d.ts +4 -4
  93. package/lib/link/link.d.ts +1 -1
  94. package/lib/loading/index.d.ts +2 -2
  95. package/lib/locale/index.js +1 -1
  96. package/lib/locale/lang/en.d.ts +1 -0
  97. package/lib/menu/index.d.ts +2 -2
  98. package/lib/message/index.js +1 -1
  99. package/lib/message/message.css +33 -9
  100. package/lib/message/message.less +78 -54
  101. package/lib/message/message.variable.css +33 -9
  102. package/lib/message/messageConstructor.d.ts +25 -4
  103. package/lib/modal/index.d.ts +2 -2
  104. package/lib/modal/index.js +1 -1
  105. package/lib/modal/modal.css +2 -0
  106. package/lib/modal/modal.variable.css +2 -0
  107. package/lib/navigation/index.d.ts +4 -1
  108. package/lib/navigation/index.js +1 -1
  109. package/lib/navigation/navigation.d.ts +1 -0
  110. package/lib/notify/index.js +1 -1
  111. package/lib/notify/notifyConstructor.d.ts +1 -1
  112. package/lib/overflow-title/components/overflow-title.d.ts +257 -1
  113. package/lib/overflow-title/index.d.ts +387 -2
  114. package/lib/overflow-title/index.js +1 -1
  115. package/lib/overflow-title/props.d.ts +129 -0
  116. package/lib/pagination/index.d.ts +2 -2
  117. package/lib/plugin-popover/index.js +1 -1
  118. package/lib/pop-confirm/index.d.ts +1 -1
  119. package/lib/popover/content.d.ts +33 -0
  120. package/lib/popover/index.d.ts +74 -16
  121. package/lib/popover/index.js +1 -1
  122. package/lib/popover/popover.css +1 -0
  123. package/lib/popover/popover.d.ts +40 -7
  124. package/lib/popover/popover.less +3 -2
  125. package/lib/popover/popover.variable.css +1 -0
  126. package/lib/popover/props.d.ts +25 -2
  127. package/lib/popover/use-floating.d.ts +1 -1
  128. package/lib/popover/use-popover-init.d.ts +2 -1
  129. package/lib/popover2/index.d.ts +1 -1
  130. package/lib/preset.d.ts +2 -0
  131. package/lib/process/index.d.ts +1 -1
  132. package/lib/progress/index.d.ts +1 -1
  133. package/lib/radio/index.d.ts +23 -23
  134. package/lib/radio/radio-button.d.ts +4 -4
  135. package/lib/radio/radio-group.d.ts +4 -4
  136. package/lib/radio/radio.d.ts +4 -4
  137. package/lib/rate/index.d.ts +8 -4
  138. package/lib/rate/index.js +1 -1
  139. package/lib/rate/rate.d.ts +2 -1
  140. package/lib/resize-layout/index.d.ts +4 -4
  141. package/lib/resize-layout/index.js +1 -1
  142. package/lib/resize-layout/resize-layout.css +12 -0
  143. package/lib/resize-layout/resize-layout.d.ts +1 -1
  144. package/lib/resize-layout/resize-layout.less +12 -0
  145. package/lib/resize-layout/resize-layout.variable.css +12 -0
  146. package/lib/search-select/index.d.ts +62 -29
  147. package/lib/search-select/index.js +1 -1
  148. package/lib/search-select/input.d.ts +5 -1
  149. package/lib/search-select/menu.d.ts +33 -2
  150. package/lib/search-select/search-select.css +31 -11
  151. package/lib/search-select/search-select.d.ts +23 -20
  152. package/lib/search-select/search-select.less +29 -10
  153. package/lib/search-select/search-select.variable.css +31 -11
  154. package/lib/search-select/selected.d.ts +5 -1
  155. package/lib/search-select/utils.d.ts +13 -5
  156. package/lib/select/common.d.ts +1 -0
  157. package/lib/select/index.d.ts +203 -72
  158. package/lib/select/index.js +1 -1
  159. package/lib/select/option.d.ts +11 -0
  160. package/lib/select/select.css +9 -1
  161. package/lib/select/select.d.ts +86 -31
  162. package/lib/select/select.less +11 -1
  163. package/lib/select/select.variable.css +9 -1
  164. package/lib/select/selectTagInput.d.ts +8 -5
  165. package/lib/shared/helper.d.ts +1 -1
  166. package/lib/shared/index.js +1 -1
  167. package/lib/shared/mask-manager.d.ts +3 -4
  168. package/lib/shared/pop-manager.d.ts +6 -2
  169. package/lib/shared/popover.d.ts +2 -2
  170. package/lib/shared/vue-types.d.ts +3 -2
  171. package/lib/sideslider/index.d.ts +1 -1
  172. package/lib/slider/index.d.ts +1 -1
  173. package/lib/slider/index.js +1 -1
  174. package/lib/steps/index.d.ts +1 -1
  175. package/lib/steps/index.js +1 -1
  176. package/lib/styles/mixins/clearfix.css +8 -0
  177. package/lib/styles/mixins/clearfix.less +10 -0
  178. package/lib/styles/mixins/clearfix.variable.css +8 -0
  179. package/lib/styles/mixins/mixins.css +72 -0
  180. package/lib/styles/mixins/mixins.less +5 -0
  181. package/lib/styles/mixins/mixins.variable.css +72 -0
  182. package/lib/styles/mixins/popper.less +6 -5
  183. package/lib/swiper/index.d.ts +1 -1
  184. package/lib/swiper/index.js +1 -1
  185. package/lib/swiper/swiper.css +0 -6
  186. package/lib/swiper/swiper.less +0 -8
  187. package/lib/swiper/swiper.variable.css +0 -6
  188. package/lib/switcher/index.d.ts +30 -16
  189. package/lib/switcher/index.js +1 -1
  190. package/lib/switcher/switcher.d.ts +74 -5
  191. package/lib/tab/index.d.ts +3 -3
  192. package/lib/tab/tab-nav.d.ts +12 -2
  193. package/lib/tab/tab-panel.d.ts +1 -1
  194. package/lib/table/components/table-cell.d.ts +22 -24
  195. package/lib/table/components/table-column.d.ts +123 -81
  196. package/lib/table/const.d.ts +18 -2
  197. package/lib/table/events.d.ts +26 -26
  198. package/lib/table/index.d.ts +279 -294
  199. package/lib/table/index.js +1 -1
  200. package/lib/table/plugins/head-filter.css +3 -0
  201. package/lib/table/plugins/head-filter.less +3 -0
  202. package/lib/table/plugins/head-filter.variable.css +3 -0
  203. package/lib/table/plugins/settings.d.ts +7 -17
  204. package/lib/table/plugins/use-column-resize.d.ts +30 -10
  205. package/lib/table/plugins/use-fixed-column.d.ts +6 -5
  206. package/lib/table/plugins/use-pagination.d.ts +7 -4
  207. package/lib/table/props.d.ts +117 -58
  208. package/lib/table/render.d.ts +7 -17
  209. package/lib/table/table.css +79 -10
  210. package/lib/table/table.d.ts +95 -72
  211. package/lib/table/table.less +55 -20
  212. package/lib/table/table.variable.css +79 -10
  213. package/lib/table/use-attributes.d.ts +55 -0
  214. package/lib/table/use-column.d.ts +175 -49
  215. package/lib/table/use-common.d.ts +1608 -88
  216. package/lib/table/use-render.d.ts +11 -0
  217. package/lib/table/utils.d.ts +30 -29
  218. package/lib/table-column/index.d.ts +235 -405
  219. package/lib/table-column/index.js +1 -1
  220. package/lib/tag/index.d.ts +10 -10
  221. package/lib/tag/index.js +1 -1
  222. package/lib/tag/tag.d.ts +5 -5
  223. package/lib/tag-input/index.d.ts +49 -7
  224. package/lib/tag-input/index.js +1 -1
  225. package/lib/tag-input/tag-input.css +9 -1
  226. package/lib/tag-input/tag-input.d.ts +46 -6
  227. package/lib/tag-input/tag-input.less +13 -4
  228. package/lib/tag-input/tag-input.variable.css +9 -1
  229. package/lib/tag-input/tag-props.d.ts +16 -2
  230. package/lib/time-picker/index.d.ts +1 -1
  231. package/lib/timeline/index.d.ts +1 -1
  232. package/lib/transfer/index.d.ts +1 -1
  233. package/lib/tree/constant.d.ts +2 -2
  234. package/lib/tree/index.d.ts +37 -7
  235. package/lib/tree/index.js +1 -1
  236. package/lib/tree/props.d.ts +8 -1
  237. package/lib/tree/tree.d.ts +20 -2
  238. package/lib/tree/use-node-action.d.ts +3 -2
  239. package/lib/tree/use-node-attribute.d.ts +15 -8
  240. package/lib/tree/use-tree-init.d.ts +1 -2
  241. package/lib/tree/util.d.ts +7 -2
  242. package/lib/upload/index.d.ts +1 -1
  243. package/lib/virtual-render/index.d.ts +43 -1
  244. package/lib/virtual-render/index.js +1 -1
  245. package/lib/virtual-render/props.d.ts +15 -0
  246. package/lib/virtual-render/v-virtual-render.d.ts +1 -0
  247. package/lib/virtual-render/virtual-render.d.ts +27 -2
  248. package/lib/volar.components.d.ts +24 -24
  249. package/package.json +17 -16
@@ -1 +1 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("vue"),require("../shared"),require("../config-provider"));else if("function"==typeof define&&define.amd)define(["vue","../shared","../config-provider"],t);else{var n="object"==typeof exports?t(require("vue"),require("../shared"),require("../config-provider")):t(e.vue,e["../shared"],e["../config-provider"]);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,y=v-a+(m-u)/1e4;if(y<0&&void 0===e.clockseq&&(d=d+1&16383),(y<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 h=(1e4*(268435455&(v+=122192928e5))+m)%4294967296;s[c++]=h>>>24&255,s[c++]=h>>>16&255,s[c++]=h>>>8&255,s[c++]=255&h;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)}},2717:e=>{"use strict";e.exports=n},4212:e=>{"use strict";e.exports=t},748:t=>{"use strict";t.exports=e}},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(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(t,n,o){return(n=function(t){var n=function(t,n){if("object"!==e(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,"string");if("object"!==e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===e(n)?n:String(n)}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,t}i.r(l),i.d(l,{default:()=>_e});var n=i(748),o=i(4212);function r(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 a(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)?a(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,r=function(){};return{s:r,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}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 i,l=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){u=!0,i=e},f:function(){try{l||null==n.return||n.return()}finally{if(u)throw i}}}}function a(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 u,c=new Map;function s(e,t){var n,o=[];return Array.isArray(t.arg)?o=t.arg:(n=t.arg,"undefined"!=typeof Element&&n instanceof Element&&o.push(t.arg)),function(n,r){var i=t.instance.popperRef,l=n.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=o.length&&o.some((function(e){return null==e?void 0:e.contains(l)}))||o.length&&o.includes(a),p=i&&(i.contains(l)||i.contains(a));u||c||s||f||d||p||t.value(n,r)}}document.addEventListener("mousedown",(function(e){return u=e})),document.addEventListener("mouseup",(function(e){var t,n=r(c.values());try{for(n.s();!(t=n.n()).done;){var o,i=r(t.value);try{for(i.s();!(o=i.n()).done;)(0,o.value.documentHandler)(e,u)}catch(e){i.e(e)}finally{i.f()}}}catch(e){n.e(e)}finally{n.f()}}));var f={beforeMount:function(e,t){c.has(e)||c.set(e,[]),c.get(e).push({documentHandler:s(e,t),bindingFn:t.value})},updated:function(e,t){c.has(e)||c.set(e,[]);var n=c.get(e),o=n.findIndex((function(e){return e.bindingFn===t.oldValue})),r={documentHandler:s(e,t),bindingFn:t.value};o>=0?n.splice(o,1,r):n.push(r)},unmounted:function(e){c.delete(e)},install:function(e){e.directive("bkTooltips",f)}};const d=f;var p=i(2717);const v=(0,n.defineComponent)({name:"PopArrow",render:function(){var e=(0,(0,p.usePrefix)().resolveClassName)("pop2-arrow");return(0,n.createVNode)("div",{class:e},null)}});var m,y;!function(e){e.CLICK_OUTSIDE="clickoutside",e.CONTENT_MOUSEENTER="contentMouseenter",e.CONTENT_MOUSELEAVE="contentMouseleave",e.CONTENT_AfterHidden="afterHidden",e.CONTENT_AfterShow="afterShow"}(y||(y={}));var h=function(e){return!0},g=function(e){return e},b=(t(m={},y.CLICK_OUTSIDE,(function(e){return!0})),t(m,y.CONTENT_MOUSEENTER,g),t(m,y.CONTENT_MOUSELEAVE,g),t(m,y.CONTENT_AfterHidden,h),t(m,y.CONTENT_AfterShow,h),m);const w=(0,n.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"),extCls:o.PropTypes.string.def("")},setup:function(e){var t=function(e){return/^\d+\.?\d*$/.test("".concat(e))?"".concat(e,"px"):e};return{style:(0,n.computed)((function(){return{width:t(e.width),height:t(e.height),maxHeight:t(e.maxHeight)}})),resolveClassName:(0,p.usePrefix)().resolveClassName}},render:function(){var e,t,o,r,i,l,a=[this.resolveClassName("popover"),this.resolveClassName("pop2-content"),this.extCls];return(0,n.createVNode)("div",{class:a,tabindex:"-1",style:this.style},[null!==(o=null===(t=(e=this.$slots).arrow)||void 0===t?void 0:t.call(e))&&void 0!==o?o:"",null!==(l=null===(i=(r=this.$slots).default)||void 0===i?void 0:i.call(r))&&void 0!==l?l:""])}});var x={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(""),allowHtml:o.PropTypes.bool.def(!1),placement:(0,o.placementType)().def(o.PlacementEnum.TOP_START),theme:o.PropTypes.string.def("dark"),trigger:(0,o.triggerType)(),renderType:(0,o.renderType)(),arrow:o.PropTypes.bool.def(!0),padding:o.PropTypes.number.def(5),offset:o.PropTypes.oneOfType([o.PropTypes.number,o.PropTypes.shape({mainAxis:o.PropTypes.number,crossAxis:o.PropTypes.number,alignmentAxis:o.PropTypes.number})]).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,modifiers:o.PropTypes.array.def([]),popoverDelay:o.PropTypes.oneOfType([o.PropTypes.number,o.PropTypes.arrayOf(o.PropTypes.number)]).def(100),extCls:o.PropTypes.string.def("")};const T=(0,n.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:""}}),P=(0,n.defineComponent)({props:{class:o.PropTypes.string.def(""),mode:o.PropTypes.string.def("")},render:function(){var e,t;return(0,n.createVNode)(n.Fragment,null,[null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e)])}});function E(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 R(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,a=[],u=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(o=i.call(n)).done)&&(a.push(o.value),a.length!==t);u=!0);}catch(e){c=!0,r=e}finally{try{if(!u&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return E(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)?E(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.")}()}const C=["top","right","bottom","left"],O=["start","end"],A=C.reduce(((e,t)=>e.concat(t,t+"-"+O[0],t+"-"+O[1])),[]),S=Math.min,N=Math.max,L=Math.round,H=Math.floor,j=e=>({x:e,y:e}),I={left:"right",right:"left",bottom:"top",top:"bottom"},D={start:"end",end:"start"};function M(e,t,n){return N(e,S(t,n))}function k(e,t){return"function"==typeof e?e(t):e}function F(e){return e.split("-")[0]}function V(e){return e.split("-")[1]}function $(e){return"x"===e?"y":"x"}function _(e){return"y"===e?"height":"width"}function B(e){return["top","bottom"].includes(F(e))?"y":"x"}function U(e){return $(B(e))}function q(e,t,n){void 0===n&&(n=!1);const o=V(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)),[l,z(l)]}function W(e){return e.replace(/start|end/g,(e=>D[e]))}function z(e){return e.replace(/left|right|bottom|top/g,(e=>I[e]))}function K(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 X(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Y(e,t,n){let{reference:o,floating:r}=e;const i=B(t),l=U(t),a=_(l),u=F(t),c="y"===i,s=o.x+o.width/2-r.width/2,f=o.y+o.height/2-r.height/2,d=o[a]/2-r[a]/2;let p;switch(u){case"top":p={x:s,y:o.y-r.height};break;case"bottom":p={x:s,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:f};break;case"left":p={x:o.x-r.width,y:f};break;default:p={x:o.x,y:o.y}}switch(V(t)){case"start":p[l]-=d*(n&&c?-1:1);break;case"end":p[l]+=d*(n&&c?-1:1)}return p}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}=k(t,e),v=K(p),m=a[d?"floating"===f?"reference":"floating":f],y=X(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})),h="floating"===f?{...l.floating,x:o,y:r}:l.reference,g=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),b=await(null==i.isElement?void 0:i.isElement(g))&&await(null==i.getScale?void 0:i.getScale(g))||{x:1,y:1},w=X(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:h,offsetParent:g,strategy:u}):h);return{top:(y.top-w.top+v.top)/b.y,bottom:(w.bottom-y.bottom+v.bottom)/b.y,left:(y.left-w.left+v.left)/b.x,right:(w.right-y.right+v.right)/b.x}}function G(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function J(e){return C.some((t=>e[t]>=0))}function Q(e){const t=S(...e.map((e=>e.left))),n=S(...e.map((e=>e.top)));return{x:t,y:n,width:N(...e.map((e=>e.right)))-t,height:N(...e.map((e=>e.bottom)))-n}}const ee=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:o}=t,r=await async function(e,t){const{placement:n,platform:o,elements:r}=e,i=await(null==o.isRTL?void 0:o.isRTL(r.floating)),l=F(n),a=V(n),u="y"===B(n),c=["left","top"].includes(l)?-1:1,s=i&&u?-1:1,f=k(t,e);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}}}},te=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}=k(e,t),c={x:n,y:o},s=await Z(t,u),f=B(F(r)),d=$(f);let p=c[d],v=c[f];if(i){const e="y"===d?"bottom":"right";p=M(p+s["y"===d?"top":"left"],p,p-s[e])}if(l){const e="y"===f?"bottom":"right";v=M(v+s["y"===f?"top":"left"],v,v-s[e])}const m=a.fn({...t,[d]:p,[f]:v});return{...m,data:{x:m.x-n,y:m.y-o}}}}};function ne(e){return ie(e)?(e.nodeName||"").toLowerCase():"#document"}function oe(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function re(e){var t;return null==(t=(ie(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function ie(e){return e instanceof Node||e instanceof oe(e).Node}function le(e){return e instanceof Element||e instanceof oe(e).Element}function ae(e){return e instanceof HTMLElement||e instanceof oe(e).HTMLElement}function ue(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof oe(e).ShadowRoot)}function ce(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=ve(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(r)}function se(e){return["table","td","th"].includes(ne(e))}function fe(e){const t=de(),n=ve(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function de(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function pe(e){return["html","body","#document"].includes(ne(e))}function ve(e){return oe(e).getComputedStyle(e)}function me(e){return le(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ye(e){if("html"===ne(e))return e;const t=e.assignedSlot||e.parentNode||ue(e)&&e.host||re(e);return ue(t)?t.host:t}function he(e){const t=ye(e);return pe(t)?e.ownerDocument?e.ownerDocument.body:e.body:ae(t)&&ce(t)?t:he(t)}function ge(e,t){var n;void 0===t&&(t=[]);const o=he(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=oe(o);return r?t.concat(i,i.visualViewport||[],ce(o)?o:[]):t.concat(o,ge(o))}function be(e){const t=ve(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=ae(e),i=r?e.offsetWidth:n,l=r?e.offsetHeight:o,a=L(n)!==i||L(o)!==l;return a&&(n=i,o=l),{width:n,height:o,$:a}}function we(e){return le(e)?e:e.contextElement}function xe(e){const t=we(e);if(!ae(t))return j(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=be(t);let l=(i?L(n.width):n.width)/o,a=(i?L(n.height):n.height)/r;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}const Te=j(0);function Pe(e){const t=oe(e);return de()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Te}function Ee(e,t,n,o){void 0===t&&(t=!1),void 0===n&&(n=!1);const r=e.getBoundingClientRect(),i=we(e);let l=j(1);t&&(o?le(o)&&(l=xe(o)):l=xe(e));const a=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==oe(e))&&t}(i,n,o)?Pe(i):j(0);let u=(r.left+a.x)/l.x,c=(r.top+a.y)/l.y,s=r.width/l.x,f=r.height/l.y;if(i){const e=oe(i),t=o&&le(o)?oe(o):o;let n=e.frameElement;for(;n&&o&&t!==e;){const e=xe(n),t=n.getBoundingClientRect(),o=ve(n),r=t.left+(n.clientLeft+parseFloat(o.paddingLeft))*e.x,i=t.top+(n.clientTop+parseFloat(o.paddingTop))*e.y;u*=e.x,c*=e.y,s*=e.x,f*=e.y,u+=r,c+=i,n=oe(n).frameElement}}return X({width:s,height:f,x:u,y:c})}function Re(e){return Ee(re(e)).left+me(e).scrollLeft}function Ce(e,t,n){let o;if("viewport"===t)o=function(e,t){const n=oe(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=de();(!e||e&&"fixed"===t)&&(a=r.offsetLeft,u=r.offsetTop)}return{width:i,height:l,x:a,y:u}}(e,n);else if("document"===t)o=function(e){const t=re(e),n=me(e),o=e.ownerDocument.body,r=N(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=N(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let l=-n.scrollLeft+Re(e);const a=-n.scrollTop;return"rtl"===ve(o).direction&&(l+=N(t.clientWidth,o.clientWidth)-r),{width:r,height:i,x:l,y:a}}(re(e));else if(le(t))o=function(e,t){const n=Ee(e,!0,"fixed"===t),o=n.top+e.clientTop,r=n.left+e.clientLeft,i=ae(e)?xe(e):j(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:r*i.x,y:o*i.y}}(t,n);else{const n=Pe(e);o={...t,x:t.x-n.x,y:t.y-n.y}}return X(o)}function Oe(e,t){const n=ye(e);return!(n===t||!le(n)||pe(n))&&("fixed"===ve(n).position||Oe(n,t))}function Ae(e,t,n){const o=ae(t),r=re(t),i="fixed"===n,l=Ee(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const u=j(0);if(o||!o&&!i)if(("body"!==ne(t)||ce(r))&&(a=me(t)),o){const e=Ee(t,!0,i,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else r&&(u.x=Re(r));return{x:l.left+a.scrollLeft-u.x,y:l.top+a.scrollTop-u.y,width:l.width,height:l.height}}function Se(e,t){return ae(e)&&"fixed"!==ve(e).position?t?t(e):e.offsetParent:null}function Ne(e,t){const n=oe(e);if(!ae(e))return n;let o=Se(e,t);for(;o&&se(o)&&"static"===ve(o).position;)o=Se(o,t);return o&&("html"===ne(o)||"body"===ne(o)&&"static"===ve(o).position&&!fe(o))?n:o||function(e){let t=ye(e);for(;ae(t)&&!pe(t);){if(fe(t))return t;t=ye(t)}return null}(e)||n}const Le={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:o}=e;const r=ae(n),i=re(n);if(n===i)return t;let l={scrollLeft:0,scrollTop:0},a=j(1);const u=j(0);if((r||!r&&"fixed"!==o)&&(("body"!==ne(n)||ce(i))&&(l=me(n)),ae(n))){const e=Ee(n);a=xe(n),u.x=e.x+n.clientLeft,u.y=e.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-l.scrollLeft*a.x+u.x,y:t.y*a.y-l.scrollTop*a.y+u.y}},getDocumentElement:re,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const i=[..."clippingAncestors"===n?function(e,t){const n=t.get(e);if(n)return n;let o=ge(e).filter((e=>le(e)&&"body"!==ne(e))),r=null;const i="fixed"===ve(e).position;let l=i?ye(e):e;for(;le(l)&&!pe(l);){const t=ve(l),n=fe(l);n||"fixed"!==t.position||(r=null),(i?!n&&!r:!n&&"static"===t.position&&r&&["absolute","fixed"].includes(r.position)||ce(l)&&!n&&Oe(e,l))?o=o.filter((e=>e!==l)):r=t,l=ye(l)}return t.set(e,o),o}(t,this._c):[].concat(n),o],l=i[0],a=i.reduce(((e,n)=>{const o=Ce(t,n,r);return e.top=N(o.top,e.top),e.right=S(o.right,e.right),e.bottom=S(o.bottom,e.bottom),e.left=N(o.left,e.left),e}),Ce(t,l,r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:Ne,getElementRects:async function(e){let{reference:t,floating:n,strategy:o}=e;const r=this.getOffsetParent||Ne,i=this.getDimensions;return{reference:Ae(t,await r(n),o),floating:{x:0,y:0,...await i(n)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return be(e)},getScale:xe,isElement:le,isRTL:function(e){return"rtl"===ve(e).direction}};var He=i(8022),je={},Ie=function(e){return document.querySelector(e)instanceof HTMLElement},De=function(e){return e instanceof Element||e instanceof HTMLDocument},Me=function(e){if(De(e))return{isElement:!0,content:e,vNode:void 0};if(/^(#|\.)/.test(e)){var t=document.querySelector(e),n=De(t);return{isElement:n,content:n?t:e,vNode:n?void 0:e}}return{isElement:!1,content:e,vNode:e}};const ke=function(e,r,i){var l=i.refReference,a=i.refContent,u=i.refArrow,c=i.refRoot,s=(0,n.ref)(!1),f=(0,n.ref)(),d=function(){var e,t,n,o=x(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"],v=(0,n.computed)((function(){var t,n,o=null!==(n=null===(t=e.theme)||void 0===t?void 0:t.split(/\s+/))&&void 0!==n?n:[];return o.sort((function(e,t){return Number(p.includes(t))-Number(p.includes(e))})),{systemThemes:o,customThemes:o.filter((function(e){return!p.includes(e)}))}})),m=function(){return e.autoVisibility},h=function(){return e.autoPlacement},g=function(){var t,n,o,r,i=x(null===(t=l.value)||void 0===t?void 0:t.$el),s=x(null===(n=a.value)||void 0===n?void 0:n.$el),f=e.arrow?x(null===(o=u.value)||void 0===o?void 0:o.$el):null,d=x(null===(r=c.value)||void 0===r?void 0:r.$el),p=Me(e.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 t={};return Array.isArray(e.modifiers)&&e.modifiers.forEach((function(e){var n,o,r,i,l;if("offset"===e.name){if("number"==typeof(null===(n=e.options)||void 0===n?void 0:n.offset)&&(l=null===(o=e.options)||void 0===o?void 0:o.offset),Array.isArray(null===(r=e.options)||void 0===r?void 0:r.offset)){var a=R(null===(i=e.options)||void 0===i?void 0:i.offset,2);l={mainAxis:a[0],crossAxis:a[1]}}Object.assign(t,{offset:l})}})),t},w=function(e,t){var n,o,r=b(),i=[ee(r.offset||t.offset),te({padding:t.padding})],l={placement:t.placement,middleware:i};if(t.arrow&&i.push((e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:r,rects:i,platform:l,elements:a}=t,{element:u,padding:c=0}=k(e,t)||{};if(null==u)return{};const s=K(c),f={x:n,y:o},d=U(r),p=_(d),v=await l.getDimensions(u),m="y"===d,y=m?"top":"left",h=m?"bottom":"right",g=m?"clientHeight":"clientWidth",b=i.reference[p]+i.reference[d]-f[d]-i.floating[p],w=f[d]-i.reference[d],x=await(null==l.getOffsetParent?void 0:l.getOffsetParent(u));let T=x?x[g]:0;T&&await(null==l.isElement?void 0:l.isElement(x))||(T=a.floating[g]||i.floating[p]);const P=b/2-w/2,E=T/2-v[p]/2-1,R=S(s[y],E),C=S(s[h],E),O=R,A=T-v[p]-C,N=T/2-v[p]/2+P,L=M(O,N,A),H=null!=V(r)&&N!=L&&i.reference[p]/2-(N<O?R:C)-v[p]/2<0?N<O?O-N:A-N:0;return{[d]:f[d]-H,data:{[d]:L,centerOffset:N-L+H}}}}))({element:e})),h()?i.push(function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,o,r;const{rects:i,middlewareData:l,placement:a,platform:u,elements:c}=t,{crossAxis:s=!1,alignment:f,allowedPlacements:d=A,autoAlignment:p=!0,...v}=k(e,t),m=void 0!==f||d===A?function(e,t,n){return(e?[...n.filter((t=>V(t)===e)),...n.filter((t=>V(t)!==e))]:n.filter((e=>F(e)===e))).filter((n=>!e||V(n)===e||!!t&&W(n)!==n))}(f||null,p,d):d,y=await Z(t,v),h=(null==(n=l.autoPlacement)?void 0:n.index)||0,g=m[h];if(null==g)return{};const b=q(g,i,await(null==u.isRTL?void 0:u.isRTL(c.floating)));if(a!==g)return{reset:{placement:m[0]}};const w=[y[F(g)],y[b[0]],y[b[1]]],x=[...(null==(o=l.autoPlacement)?void 0:o.overflows)||[],{placement:g,overflows:w}],T=m[h+1];if(T)return{data:{index:h+1,overflows:x},reset:{placement:T}};const P=x.map((e=>{const t=V(e.placement);return[e.placement,t&&s?e.overflows.slice(0,2).reduce(((e,t)=>e+t),0):e.overflows[0],e.overflows]})).sort(((e,t)=>e[1]-t[1])),E=(null==(r=P.filter((e=>e[2].slice(0,V(e[0])?2:3).every((e=>e<=0))))[0])?void 0:r[0])||P[0][0];return E!==a?{data:{index:h+1,overflows:x},reset:{placement:E}}:{}}}}()):(i.unshift(function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:n,elements:o,rects:r,platform:i,strategy:l}=t,{padding:a=2,x:u,y:c}=k(e,t),s=Array.from(await(null==i.getClientRects?void 0:i.getClientRects(o.reference))||[]),f=function(e){const t=e.slice().sort(((e,t)=>e.y-t.y)),n=[];let o=null;for(let e=0;e<t.length;e++){const r=t[e];!o||r.y-o.y>o.height/2?n.push([r]):n[n.length-1].push(r),o=r}return n.map((e=>X(Q(e))))}(s),d=X(Q(s)),p=K(a),v=await i.getElementRects({reference:{getBoundingClientRect:function(){if(2===f.length&&f[0].left>f[1].right&&null!=u&&null!=c)return f.find((e=>u>e.left-p.left&&u<e.right+p.right&&c>e.top-p.top&&c<e.bottom+p.bottom))||d;if(f.length>=2){if("y"===B(n)){const e=f[0],t=f[f.length-1],o="top"===F(n),r=e.top,i=t.bottom,l=o?e.left:t.left,a=o?e.right:t.right;return{top:r,bottom:i,left:l,right:a,width:a-l,height:i-r,x:l,y:r}}const e="left"===F(n),t=N(...f.map((e=>e.right))),o=S(...f.map((e=>e.left))),r=f.filter((n=>e?n.left===o:n.right===t)),i=r[0].top,l=r[r.length-1].bottom;return{top:i,bottom:l,left:o,right:t,width:t-o,height:l-i,x:o,y:i}}return d}},floating:o.floating,strategy:l});return r.reference.x!==v.reference.x||r.reference.y!==v.reference.y||r.reference.width!==v.reference.width||r.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",fallbackAxisSideDirection:p="none",flipAlignment:v=!0,...m}=k(e,t),y=F(o),h=F(l)===l,g=await(null==a.isRTL?void 0:a.isRTL(u.floating)),b=f||(h||!v?[z(l)]:function(e){const t=z(e);return[W(e),t,W(t)]}(l));f||"none"===p||b.push(...function(e,t,n,o){const r=V(e);let i=function(e,t,n){const o=["left","right"],r=["right","left"],i=["top","bottom"],l=["bottom","top"];switch(e){case"top":case"bottom":return n?t?r:o:t?o:r;case"left":case"right":return t?i:l;default:return[]}}(F(e),"start"===n,o);return r&&(i=i.map((e=>e+"-"+r)),t&&(i=i.concat(i.map(W)))),i}(l,v,p,g));const w=[l,...b],x=await Z(t,m),T=[];let P=(null==(n=r.flip)?void 0:n.overflows)||[];if(c&&T.push(x[y]),s){const e=q(o,i,g);T.push(x[e[0]],x[e[1]])}if(P=[...P,{placement:o,overflows:T}],!T.every((e=>e<=0))){var E,R;const e=((null==(E=r.flip)?void 0:E.index)||0)+1,t=w[e];if(t)return{data:{index:e,overflows:P},reset:{placement:t}};let n=null==(R=P.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:R.placement;if(!n)switch(d){case"bestFit":{var C;const e=null==(C=P.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:C[0];e&&(n=e);break}case"initialPlacement":n=l}if(o!==n)return{reset:{placement:n}}}return{}}}}())),m()&&l.middleware.push(function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:o="referenceHidden",...r}=k(e,t);switch(o){case"referenceHidden":{const e=G(await Z(t,{...r,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:J(e)}}}case"escaped":{const e=G(await Z(t,{...r,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:J(e)}}}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 "+e)}(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},x=function e(t){return t instanceof HTMLElement?t:t instanceof Text?e(t.nextElementSibling):"function"==typeof(null==t?void 0:t.getBoundingClientRect)?t:null},T=v.value.customThemes.join(" "),P=v.value.customThemes.reduce((function(e,n){return Object.assign(t({},"data-".concat(n,"-theme"),!0),e)}),{}),E="".concat(T),C=null,O=function(e){var t=window.devicePixelRatio||1;return Math.round(e*t)/t||0},L=function(t,n,o,r){var i;e.disableTransform?Object.assign(t.style,{left:"".concat(O(n),"px"),top:"".concat(O(o),"px")}):Object.assign(t.style,{left:"0",top:"0",transform:"translate3d(".concat(O(n),"px,").concat(O(o),"px,0)")});var l=!!m()&&(null===(i=r.hide)||void 0===i?void 0:i.referenceHidden);Object.assign(t.style,{visibility:l?"hidden":"visible"})},j=function(n,o,r){var i;if(e.arrow){var l=null!==(i=r.arrow)&&void 0!==i?i:{},a=l.x,u=l.y;n.setAttribute("data-arrow",o),Object.assign(n.style,{left:"",top:"",bottom:"",right:""});var c={top:"bottom",right:"left",bottom:"top",left:"right"}[o];Object.assign(n.style,t({left:null!==a?"".concat(a,"px"):"",top:null!==u?"".concat(u,"px"):""},c,"-4px"))}},I=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);((e,t,n)=>{const o=new Map,r={platform:Le,...n},i={...r.platform,_c:o};return(async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:l}=n,a=i.filter(Boolean),u=await(null==l.isRTL?void 0:l.isRTL(t));let c=await l.getElementRects({reference:e,floating:t,strategy:r}),{x:s,y:f}=Y(c,o,u),d=o,p={},v=0;for(let n=0;n<a.length;n++){const{name:i,fn:m}=a[n],{x:y,y:h,data:g,reset:b}=await m({x:s,y:f,initialPlacement:o,placement:d,strategy:r,middlewareData:p,rects:c,platform:l,elements:{reference:e,floating:t}});s=null!=y?y:s,f=null!=h?h:f,p={...p,[i]:{...p[i],...g}},b&&v<=50&&(v++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(c=!0===b.rects?await l.getElementRects({reference:e,floating:t,strategy:r}):b.rects),({x:s,y:f}=Y(c,d,u))),n=-1)}return{x:s,y:f,placement:d,strategy:r,middlewareData:p}})(e,t,{...r,platform:i})})(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(E,"")," ").concat(E).replace(/\s+/gm," ").replace(/^\s+|\s+$/g,""),Object.keys(P).forEach((function(e){r.setAttribute(e,P[e])}));var u=o.split("-")[0],c=u;["left","right","top","bottom"].includes(u)||(c="top"),L(r,t,n,l),j(i,c,l)}))}},D=void 0,$=void 0,ne=!1,oe=function(){return Array.isArray(e.popoverDelay)?[e.popoverDelay[0],e.popoverDelay.slice(-1)[0]]:[e.popoverDelay,e.popoverDelay]},ie=function(){var t=oe()[0];$=setTimeout((function(){D&&clearTimeout(D),e.disabled||(s.value=!0)}),t)},le=function(){var e=oe()[1];D=setTimeout((function(){$&&clearTimeout($),s.value=!1}),e)},ae=function(){s.value?le():ie()},ue=function(){ae()},ce=function(t){"hover"===e.trigger&&(D&&(ne=!0,clearTimeout(D),D=void 0),fe(t))},se=function(e){ne&&(le(),ne=!1,de(e))},fe=function(e){r.emit(y.CONTENT_MOUSEENTER,e)},de=function(e){r.emit(y.CONTENT_MOUSELEAVE,e)};return(0,n.watch)((function(){return e.isShow}),(function(e){s.value=e})),(0,n.watch)(s,(function(t){var n,i;t?((i=x(null===(n=a.value)||void 0===n?void 0:n.$el)).style.setProperty("display","block"),i.style.setProperty("z-index","".concat(e.zIndex?e.zIndex:o.bkZIndexManager.getPopperIndex())),I(),r.emit(y.CONTENT_AfterShow,{isShow:!0})):function(){var e;x(null===(e=a.value)||void 0===e?void 0:e.$el).style.setProperty("display","none"),r.emit(y.CONTENT_AfterHidden,{isShow:!1})}()})),{showPopover:ie,hidePopover:le,resolveTriggerEvents:function(){var t;return null!==(t={hover:{content:[["mouseenter",ce],["mouseleave",se]],reference:[["mouseenter",ie],["mouseleave",le],["focus",ie],["blur",le]]},click:[["click",ue]],manual:{content:[["mouseenter",fe],["mouseleave",de]],reference:[[]]}}[e.trigger])&&void 0!==t?t:[]},updatePopover:I,triggerPopover:ae,resolvePopElements:g,isElementFullScreen:d,resolveTargetElement:x,createPopInstance:function(){var t=g(),n=t.elReference,o=t.elContent;C=function(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:u=!1}=o,c=we(e),s=r||i?[...c?ge(c):[],...ge(t)]:[];s.forEach((e=>{r&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const f=c&&a?function(e,t){let n,o=null;const r=re(e);function i(){clearTimeout(n),o&&o.disconnect(),o=null}return function l(a,u){void 0===a&&(a=!1),void 0===u&&(u=1),i();const{left:c,top:s,width:f,height:d}=e.getBoundingClientRect();if(a||t(),!f||!d)return;const p={rootMargin:-H(s)+"px "+-H(r.clientWidth-(c+f))+"px "+-H(r.clientHeight-(s+d))+"px "+-H(c)+"px",threshold:N(0,S(1,u))||1};let v=!0;function m(e){const t=e[0].intersectionRatio;if(t!==u){if(!v)return l();t?l(!1,t):n=setTimeout((()=>{l(!1,1e-7)}),100)}v=!1}try{o=new IntersectionObserver(m,{...p,root:r.ownerDocument})}catch(e){o=new IntersectionObserver(m,p)}o.observe(e)}(!0),i}(c,n):null;let d,p=-1,v=null;l&&(v=new ResizeObserver((e=>{let[o]=e;o&&o.target===c&&v&&(v.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{v&&v.observe(t)}))),n()})),c&&!u&&v.observe(c),v.observe(t));let m=u?Ee(e):null;return u&&function t(){const o=Ee(e);!m||o.x===m.x&&o.y===m.y&&o.width===m.width&&o.height===m.height||n(),m=o,d=requestAnimationFrame(t)}(),n(),()=>{s.forEach((e=>{r&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),f&&f(),v&&v.disconnect(),v=null,u&&cancelAnimationFrame(d)}}(n,o,(function(){s.value&&I(null,e)}))},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(){D&&(ne=!0,clearTimeout(D),D=void 0)},localIsShow:s,cleanup:C}};var Fe=null,Ve=null;const $e=(0,n.defineComponent)({name:"Popover",components:{Content:w,Arrow:v,Root:P},directives:{clickoutside:d},props:x,emits:b,setup:function(e,t){var r=e.content,i=e.theme,l=e.disableTeleport,a=(0,n.toRefs)(e).reference,u=(0,n.ref)(),c=(0,n.ref)(),s=(0,n.ref)(),f=(0,n.ref)(),d=(0,n.computed)((function(){return a.value||u.value})),p=function(e,t,o){var r=o.refReference,i=o.refContent,l=o.refArrow,a=o.refRoot,u=null,c=(0,n.ref)(!1),s=(je.fullscreenReferId||(je.fullscreenReferId="id_".concat((0,He.v4)())),je.fullscreenReferId),f=(0,n.ref)(),d=ke(e,t,{refReference:r,refContent:i,refArrow:l,refRoot:a}),p=d.localIsShow,v=d.showPopover,m=d.hidePopover,h=d.updatePopover,g=d.resolveTriggerEvents,b=d.resolvePopElements,w=d.isElementFullScreen,x=d.updateFullscreenTarget,T=d.createPopInstance,P=d.getFullscreenRoot,E=d.stopHide,C=function(){m()},O=function(){T(),e.always?v():A()},A=function(){var e=b(),t=e.elReference,n=e.elContent;if(u=g(),Array.isArray(u))S(t,u);else{var o=u,r=o.content,i=o.reference;S(t,i),S(n,r)}},S=function(e,t){t.forEach((function(t){var n=R(t,2),o=n[0],r=n[1];o&&"function"==typeof r&&e.addEventListener(o,r)}))},N=function(){var e=b(),t=e.elReference,n=e.root;c.value?j.value=null==f?void 0:f.value:j.value=H(n||t)},L=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#",n=function(n){var o=null,r=function(e){null===o&&e()};return r((function(){if(/^parent$/i.test(e.boundary)){o="".concat(t).concat(Fe);var r=(n||{}).parentNode;(null==r?void 0:r.parentNode)&&(r.parentNode.setAttribute("data-pnode-id",Ve),o="[data-pnode-id=".concat(Ve,"]"))}})),r((function(){if(!/^body$/i.test(e.boundary)){if("string"==typeof e.boundary)return Ie(e.boundary)?void(o=e.boundary):(console.error("props.boundary is not available selector"),void(o="body"));if(De(e.boundary))return void(o=e.boundary)}})),r((function(){o="string"==typeof e.boundary?e.boundary:"".concat(t).concat(Fe)})),o};if(null===Fe||!Ie("#".concat(Fe))){Fe="id_".concat((0,He.v4)());var o=document.createElement("div");o.setAttribute("id",Fe),o.setAttribute("data-popper-id",Fe),document.body.append(o)}return null===Ve&&(Ve="id_".concat((0,He.v4)())),{popContainerId:Fe,prefixId:n(),getPrefixId:n}}(e,"#"),H=L.getPrefixId,j=(0,n.ref)(),I=function(){!function(){if(null==u?void 0:u.length){var e=b().elReference;e&&u.forEach((function(t){var n=R(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,x(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),N(),h(null,e)};return{onMountedFn:function(){if(!e.disabled){if(O(),w()){var t="[data-fllsrn-id=".concat(s,"]"),n=P(t);D(n)}N(),document.body.addEventListener("fullscreenchange",M)}},onUnmountedFn:function(){I(),document.body.removeEventListener("fullscreenchange",M)},handleClickOutside:function(n){t.emit(y.CLICK_OUTSIDE,{isShow:p.value,event:n}),e.disableOutsideClick||e.always||e.disabled||"manual"===e.trigger||p.value&&C()},beforeInstanceUnmount:I,updateBoundary:N,initPopInstance:O,updatePopover:h,showPopover:v,hidePopover:m,showFn:function(){v()},hideFn:C,stopHide:E,isFullscreen:c,boundary:j,localIsShow:p}}(e,t,{refReference:d,refContent:c,refArrow:s,refRoot:f}),v=p.onMountedFn,m=p.onUnmountedFn,h=p.handleClickOutside,g=p.beforeInstanceUnmount,b=p.updateBoundary,w=p.initPopInstance,x=p.showFn,T=p.hideFn,P=p.showPopover,E=p.hidePopover,C=p.updatePopover,O=p.stopHide,A=p.localIsShow,S=p.boundary;e.always||e.disabled||(0,n.watch)((function(){return e.isShow}),(function(){e.isShow?P():E()}),{immediate:!0}),(0,n.watch)((function(){return[e.disabled]}),(function(e){e[0]?g():w()})),b(),(0,n.onMounted)(v),(0,n.onBeforeUnmount)(m);var N=(0,n.computed)((function(){return!l})),L=(0,n.computed)((function(){return e.renderType===o.RenderType.AUTO||A.value}));return{boundary:S,arrow:e.arrow,refDefaultReference:u,refContent:c,refArrow:s,content:r,theme:i,transBoundary:N,handleClickOutside:h,updatePopover:C,hide:function(){T()},show:function(){x()},stopHide:O,contentIsShow:L,renderContent:function(){return e.allowHtml?Me(e.content).vNode:r}}},render:function(){var e,t,o,r,i,l,a=this;return(0,n.createVNode)(P,{ref:"refRoot"},{default:function(){return[(0,n.createVNode)(T,{ref:"refDefaultReference"},{default:function(){return[null!==(o=null===(t=(e=a.$slots).default)||void 0===t?void 0:t.call(e))&&void 0!==o?o:(0,n.createVNode)("span",null,null)]}}),(0,n.createVNode)(n.Teleport,{to:a.boundary,disabled:!a.transBoundary},{default:function(){return[(0,n.withDirectives)((0,n.createVNode)(w,{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,t;return a.arrow?(0,n.createVNode)(v,{ref:"refArrow"},{default:function(){return[null===(t=(e=a.$slots).arrow)||void 0===t?void 0:t.call(e)]}}):""}}),[[(0,n.resolveDirective)("clickoutside"),a.handleClickOutside]])]}})]}})}}),_e=function(e){var o,r=null,i=null,l=null,a=Object.assign(Object.assign({boundary:"body",placement:"top",autoVisibility:!1},e),{trigger:"manual"}),u={name:"$popover",setup:function(e,o){var r=o.expose,i=(0,n.ref)(a),l=(0,n.ref)(),u=(0,n.ref)({position:"absolute",pointerEvents:"none",left:0,top:0,width:"auto",height:"auto",transform:""}),c=function(e){if(De(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,n.computed)((function(){var e=["target"];return Object.keys(i.value).filter((function(t){return!e.includes(t)})).reduce((function(e,n){return Object.assign(Object.assign({},e),t({},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 t,o;i.value.target=e,c(e),null===(o=null===(t=l.value)||void 0===t?void 0:t.updatePopover)||void 0===o||o.call(t),(0,n.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,n.createVNode)($e,(0,n.mergeProps)(s.value,{ref:l,onContentMouseenter:f,onContentMouseleave:d}),{default:function(){return[(0,n.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)?De(a.target)?a.target.parentNode:a.target.target.parentNode:"string"==typeof o&&Ie(o)?document.querySelector(o):document.body).append(l),r=(0,n.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})()));
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("vue"),require("../shared"),require("../config-provider"),require("vue-types"),require("lodash"));else if("function"==typeof define&&define.amd)define(["vue","../shared","../config-provider","vue-types","lodash"],t);else{var n="object"==typeof exports?t(require("vue"),require("../shared"),require("../config-provider"),require("vue-types"),require("lodash")):t(e.vue,e["../shared"],e["../config-provider"],e["vue-types"],e.lodash);for(var o in n)("object"==typeof exports?exports:e)[o]=n[o]}}(self,((e,t,n,o,r)=>(()=>{var i={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,y=v-a+(m-u)/1e4;if(y<0&&void 0===e.clockseq&&(d=d+1&16383),(y<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 h=(1e4*(268435455&(v+=122192928e5))+m)%4294967296;s[c++]=h>>>24&255,s[c++]=h>>>16&255,s[c++]=h>>>8&255,s[c++]=255&h;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)}},2717:e=>{"use strict";e.exports=n},4212:e=>{"use strict";e.exports=t},467:e=>{"use strict";e.exports=r},748:t=>{"use strict";t.exports=e},210:e=>{"use strict";e.exports=o}},l={};function a(e){var t=l[e];if(void 0!==t)return t.exports;var n=l[e]={exports:{}};return i[e](n,n.exports,a),n.exports}a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var u={};return(()=>{"use strict";function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(t,n,o){return(n=function(t){var n=function(t,n){if("object"!==e(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,"string");if("object"!==e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===e(n)?n:String(n)}(n))in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,t}a.r(u),a.d(u,{default:()=>Be});var n=a(748),o=a(4212);function r(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 i(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)?i(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,r=function(){};return{s:r,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}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 i(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 l,c=new Map;function s(e,t){var n,o=[];return Array.isArray(t.arg)?o=t.arg:(n=t.arg,"undefined"!=typeof Element&&n instanceof Element&&o.push(t.arg)),function(n,r){var i=t.instance.popperRef,l=n.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=o.length&&o.some((function(e){return null==e?void 0:e.contains(l)}))||o.length&&o.includes(a),p=i&&(i.contains(l)||i.contains(a));u||c||s||f||d||p||t.value(n,r)}}document.addEventListener("mousedown",(function(e){return l=e})),document.addEventListener("mouseup",(function(e){var t,n=r(c.values());try{for(n.s();!(t=n.n()).done;){var o,i=r(t.value);try{for(i.s();!(o=i.n()).done;)(0,o.value.documentHandler)(e,l)}catch(e){i.e(e)}finally{i.f()}}}catch(e){n.e(e)}finally{n.f()}}));var f={beforeMount:function(e,t){c.has(e)||c.set(e,[]),c.get(e).push({documentHandler:s(e,t),bindingFn:t.value})},updated:function(e,t){c.has(e)||c.set(e,[]);var n=c.get(e),o=n.findIndex((function(e){return e.bindingFn===t.oldValue})),r={documentHandler:s(e,t),bindingFn:t.value};o>=0?n.splice(o,1,r):n.push(r)},unmounted:function(e){c.delete(e)},install:function(e){e.directive("bkTooltips",f)}};const d=f;var p=a(2717);const v=(0,n.defineComponent)({name:"PopArrow",render:function(){var e=(0,(0,p.usePrefix)().resolveClassName)("pop2-arrow");return(0,n.createVNode)("div",{class:e},null)}});var m,y;!function(e){e.CLICK_OUTSIDE="clickoutside",e.CONTENT_MOUSEENTER="contentMouseenter",e.CONTENT_MOUSELEAVE="contentMouseleave",e.CONTENT_AfterHidden="afterHidden",e.CONTENT_AfterShow="afterShow"}(y||(y={}));var h=function(e){return!0},g=function(e){return e},b=(t(m={},y.CLICK_OUTSIDE,(function(e){return!0})),t(m,y.CONTENT_MOUSEENTER,g),t(m,y.CONTENT_MOUSELEAVE,g),t(m,y.CONTENT_AfterHidden,h),t(m,y.CONTENT_AfterShow,h),m);const w=(0,n.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"),maxWidth:o.PropTypes.oneOfType([o.PropTypes.string,o.PropTypes.number]).def("auto"),extCls:o.PropTypes.string.def(""),visible:o.PropTypes.bool.def(!1),eventDelay:o.PropTypes.number.def(0)},setup:function(e){var t=function(e){return/^\d+\.?\d*$/.test("".concat(e))?"".concat(e,"px"):e},o=(0,n.computed)((function(){return{width:t(e.width),height:t(e.height),maxHeight:t(e.maxHeight),maxWidth:t(e.maxWidth)}})),r=(0,n.ref)(null),i=(0,n.ref)(null),l=function(t){var n;0!==e.eventDelay&&(null===(n=r.value)||void 0===n||n.style.setProperty("pointer-events",t))},a=(0,p.usePrefix)().resolveClassName;return{style:o,refContent:r,resolveClassName:a,resetPointerEvent:function(){var t;0!==e.eventDelay&&(i.value&&clearTimeout(i.value),i.value=setTimeout((function(){l("unset")}),null!==(t=e.eventDelay)&&void 0!==t?t:300))},setContentPointerEvent:l}},render:function(){var e,t,o,r,i,l,a,u,c=this,s=[this.resolveClassName("popover"),this.resolveClassName("pop2-content"),this.extCls],f=function(e){var t;return n.Fragment===(null===(t=null==e?void 0:e[0])||void 0===t?void 0:t.type)&&(0,n.nextTick)((function(){c.setContentPointerEvent("none"),c.resetPointerEvent()})),c.style}(null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e));return(0,n.createVNode)("div",{class:s,tabindex:"-1",style:f,ref:"refContent"},[null!==(i=null===(r=(o=this.$slots).arrow)||void 0===r?void 0:r.call(o))&&void 0!==i?i:"",null!==(u=null===(a=(l=this.$slots).default)||void 0===a?void 0:a.call(l))&&void 0!==u?u:""])}});var x=a(210),T={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"),maxWidth:o.PropTypes.oneOfType([o.PropTypes.string,o.PropTypes.number]).def("auto"),maxHeight:o.PropTypes.oneOfType([o.PropTypes.string,o.PropTypes.number]).def("auto"),content:(0,x.toType)("IContent",{}).def(""),target:o.PropTypes.oneOfType([o.PropTypes.string,o.PropTypes.instanceOf(HTMLElement),o.PropTypes.instanceOf(PointerEvent)]),allowHtml:o.PropTypes.bool.def(!1),placement:(0,o.placementType)().def(o.PlacementEnum.TOP_START),theme:o.PropTypes.string.def("dark"),trigger:(0,o.triggerType)(),renderType:(0,o.renderType)(),arrow:o.PropTypes.bool.def(!0),padding:o.PropTypes.number.def(5),offset:o.PropTypes.oneOfType([o.PropTypes.number,o.PropTypes.shape({mainAxis:o.PropTypes.number,crossAxis:o.PropTypes.number,alignmentAxis:o.PropTypes.number})]).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,modifiers:o.PropTypes.array.def([]),popoverDelay:o.PropTypes.oneOfType([o.PropTypes.number,o.PropTypes.arrayOf(o.PropTypes.number)]).def(100),extCls:o.PropTypes.string.def(""),componentEventDelay:o.PropTypes.number.def(0),forceClickoutside:o.PropTypes.bool.def(!1)};const P=(0,n.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:""}}),E=(0,n.defineComponent)({props:{class:o.PropTypes.string.def(""),mode:o.PropTypes.string.def("")},render:function(){var e,t;return(0,n.createVNode)(n.Fragment,null,[null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e)])}});function C(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 O(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,a=[],u=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(o=i.call(n)).done)&&(a.push(o.value),a.length!==t);u=!0);}catch(e){c=!0,r=e}finally{try{if(!u&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(c)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return C(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)?C(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.")}()}var R=a(467);const A=["top","right","bottom","left"],S=["start","end"],N=A.reduce(((e,t)=>e.concat(t,t+"-"+S[0],t+"-"+S[1])),[]),L=Math.min,D=Math.max,H=Math.round,I=Math.floor,j=e=>({x:e,y:e}),M={left:"right",right:"left",bottom:"top",top:"bottom"},k={start:"end",end:"start"};function F(e,t,n){return D(e,L(t,n))}function V(e,t){return"function"==typeof e?e(t):e}function $(e){return e.split("-")[0]}function _(e){return e.split("-")[1]}function q(e){return"x"===e?"y":"x"}function B(e){return"y"===e?"height":"width"}function U(e){return["top","bottom"].includes($(e))?"y":"x"}function W(e){return q(U(e))}function z(e,t,n){void 0===n&&(n=!1);const o=_(e),r=W(e),i=B(r);let l="x"===r?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=X(l)),[l,X(l)]}function K(e){return e.replace(/start|end/g,(e=>k[e]))}function X(e){return e.replace(/left|right|bottom|top/g,(e=>M[e]))}function Y(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 Z(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function G(e,t,n){let{reference:o,floating:r}=e;const i=U(t),l=W(t),a=B(l),u=$(t),c="y"===i,s=o.x+o.width/2-r.width/2,f=o.y+o.height/2-r.height/2,d=o[a]/2-r[a]/2;let p;switch(u){case"top":p={x:s,y:o.y-r.height};break;case"bottom":p={x:s,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:f};break;case"left":p={x:o.x-r.width,y:f};break;default:p={x:o.x,y:o.y}}switch(_(t)){case"start":p[l]-=d*(n&&c?-1:1);break;case"end":p[l]+=d*(n&&c?-1:1)}return p}async function J(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}=V(t,e),v=Y(p),m=a[d?"floating"===f?"reference":"floating":f],y=Z(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})),h="floating"===f?{...l.floating,x:o,y:r}:l.reference,g=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),b=await(null==i.isElement?void 0:i.isElement(g))&&await(null==i.getScale?void 0:i.getScale(g))||{x:1,y:1},w=Z(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:h,offsetParent:g,strategy:u}):h);return{top:(y.top-w.top+v.top)/b.y,bottom:(w.bottom-y.bottom+v.bottom)/b.y,left:(y.left-w.left+v.left)/b.x,right:(w.right-y.right+v.right)/b.x}}function Q(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ee(e){return A.some((t=>e[t]>=0))}function te(e){const t=L(...e.map((e=>e.left))),n=L(...e.map((e=>e.top)));return{x:t,y:n,width:D(...e.map((e=>e.right)))-t,height:D(...e.map((e=>e.bottom)))-n}}const ne=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=$(n),a=_(n),u="y"===U(n),c=["left","top"].includes(l)?-1:1,s=i&&u?-1:1,f=V(t,e);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}}}},oe=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}=V(e,t),c={x:n,y:o},s=await J(t,u),f=U($(r)),d=q(f);let p=c[d],v=c[f];if(i){const e="y"===d?"bottom":"right";p=F(p+s["y"===d?"top":"left"],p,p-s[e])}if(l){const e="y"===f?"bottom":"right";v=F(v+s["y"===f?"top":"left"],v,v-s[e])}const m=a.fn({...t,[d]:p,[f]:v});return{...m,data:{x:m.x-n,y:m.y-o}}}}};function re(e){return ae(e)?(e.nodeName||"").toLowerCase():"#document"}function ie(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function le(e){var t;return null==(t=(ae(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function ae(e){return e instanceof Node||e instanceof ie(e).Node}function ue(e){return e instanceof Element||e instanceof ie(e).Element}function ce(e){return e instanceof HTMLElement||e instanceof ie(e).HTMLElement}function se(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof ie(e).ShadowRoot)}function fe(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=ye(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(r)}function de(e){return["table","td","th"].includes(re(e))}function pe(e){const t=ve(),n=ye(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function ve(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function me(e){return["html","body","#document"].includes(re(e))}function ye(e){return ie(e).getComputedStyle(e)}function he(e){return ue(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ge(e){if("html"===re(e))return e;const t=e.assignedSlot||e.parentNode||se(e)&&e.host||le(e);return se(t)?t.host:t}function be(e){const t=ge(e);return me(t)?e.ownerDocument?e.ownerDocument.body:e.body:ce(t)&&fe(t)?t:be(t)}function we(e,t){var n;void 0===t&&(t=[]);const o=be(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=ie(o);return r?t.concat(i,i.visualViewport||[],fe(o)?o:[]):t.concat(o,we(o))}function xe(e){const t=ye(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=ce(e),i=r?e.offsetWidth:n,l=r?e.offsetHeight:o,a=H(n)!==i||H(o)!==l;return a&&(n=i,o=l),{width:n,height:o,$:a}}function Te(e){return ue(e)?e:e.contextElement}function Pe(e){const t=Te(e);if(!ce(t))return j(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:i}=xe(t);let l=(i?H(n.width):n.width)/o,a=(i?H(n.height):n.height)/r;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}const Ee=j(0);function Ce(e){const t=ie(e);return ve()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Ee}function Oe(e,t,n,o){void 0===t&&(t=!1),void 0===n&&(n=!1);const r=e.getBoundingClientRect(),i=Te(e);let l=j(1);t&&(o?ue(o)&&(l=Pe(o)):l=Pe(e));const a=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==ie(e))&&t}(i,n,o)?Ce(i):j(0);let u=(r.left+a.x)/l.x,c=(r.top+a.y)/l.y,s=r.width/l.x,f=r.height/l.y;if(i){const e=ie(i),t=o&&ue(o)?ie(o):o;let n=e.frameElement;for(;n&&o&&t!==e;){const e=Pe(n),t=n.getBoundingClientRect(),o=ye(n),r=t.left+(n.clientLeft+parseFloat(o.paddingLeft))*e.x,i=t.top+(n.clientTop+parseFloat(o.paddingTop))*e.y;u*=e.x,c*=e.y,s*=e.x,f*=e.y,u+=r,c+=i,n=ie(n).frameElement}}return Z({width:s,height:f,x:u,y:c})}function Re(e){return Oe(le(e)).left+he(e).scrollLeft}function Ae(e,t,n){let o;if("viewport"===t)o=function(e,t){const n=ie(e),o=le(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=ve();(!e||e&&"fixed"===t)&&(a=r.offsetLeft,u=r.offsetTop)}return{width:i,height:l,x:a,y:u}}(e,n);else if("document"===t)o=function(e){const t=le(e),n=he(e),o=e.ownerDocument.body,r=D(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=D(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let l=-n.scrollLeft+Re(e);const a=-n.scrollTop;return"rtl"===ye(o).direction&&(l+=D(t.clientWidth,o.clientWidth)-r),{width:r,height:i,x:l,y:a}}(le(e));else if(ue(t))o=function(e,t){const n=Oe(e,!0,"fixed"===t),o=n.top+e.clientTop,r=n.left+e.clientLeft,i=ce(e)?Pe(e):j(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:r*i.x,y:o*i.y}}(t,n);else{const n=Ce(e);o={...t,x:t.x-n.x,y:t.y-n.y}}return Z(o)}function Se(e,t){const n=ge(e);return!(n===t||!ue(n)||me(n))&&("fixed"===ye(n).position||Se(n,t))}function Ne(e,t,n){const o=ce(t),r=le(t),i="fixed"===n,l=Oe(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const u=j(0);if(o||!o&&!i)if(("body"!==re(t)||fe(r))&&(a=he(t)),o){const e=Oe(t,!0,i,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else r&&(u.x=Re(r));return{x:l.left+a.scrollLeft-u.x,y:l.top+a.scrollTop-u.y,width:l.width,height:l.height}}function Le(e,t){return ce(e)&&"fixed"!==ye(e).position?t?t(e):e.offsetParent:null}function De(e,t){const n=ie(e);if(!ce(e))return n;let o=Le(e,t);for(;o&&de(o)&&"static"===ye(o).position;)o=Le(o,t);return o&&("html"===re(o)||"body"===re(o)&&"static"===ye(o).position&&!pe(o))?n:o||function(e){let t=ge(e);for(;ce(t)&&!me(t);){if(pe(t))return t;t=ge(t)}return null}(e)||n}const He={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:o}=e;const r=ce(n),i=le(n);if(n===i)return t;let l={scrollLeft:0,scrollTop:0},a=j(1);const u=j(0);if((r||!r&&"fixed"!==o)&&(("body"!==re(n)||fe(i))&&(l=he(n)),ce(n))){const e=Oe(n);a=Pe(n),u.x=e.x+n.clientLeft,u.y=e.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-l.scrollLeft*a.x+u.x,y:t.y*a.y-l.scrollTop*a.y+u.y}},getDocumentElement:le,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const i=[..."clippingAncestors"===n?function(e,t){const n=t.get(e);if(n)return n;let o=we(e).filter((e=>ue(e)&&"body"!==re(e))),r=null;const i="fixed"===ye(e).position;let l=i?ge(e):e;for(;ue(l)&&!me(l);){const t=ye(l),n=pe(l);n||"fixed"!==t.position||(r=null),(i?!n&&!r:!n&&"static"===t.position&&r&&["absolute","fixed"].includes(r.position)||fe(l)&&!n&&Se(e,l))?o=o.filter((e=>e!==l)):r=t,l=ge(l)}return t.set(e,o),o}(t,this._c):[].concat(n),o],l=i[0],a=i.reduce(((e,n)=>{const o=Ae(t,n,r);return e.top=D(o.top,e.top),e.right=L(o.right,e.right),e.bottom=L(o.bottom,e.bottom),e.left=D(o.left,e.left),e}),Ae(t,l,r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:De,getElementRects:async function(e){let{reference:t,floating:n,strategy:o}=e;const r=this.getOffsetParent||De,i=this.getDimensions;return{reference:Ne(t,await r(n),o),floating:{x:0,y:0,...await i(n)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return xe(e)},getScale:Pe,isElement:ue,isRTL:function(e){return"rtl"===ye(e).direction}};var Ie=a(8022),je={},Me=function(e){return document.querySelector(e)instanceof HTMLElement},ke=function(e){return e instanceof Element||e instanceof HTMLDocument},Fe=function(e){if(ke(e))return{isElement:!0,content:e,vNode:void 0};if(/^(#|\.)/.test(e)){var t=document.querySelector(e),n=ke(t);return{isElement:n,content:n?t:e,vNode:n?void 0:e}}return{isElement:!1,content:e,vNode:e}};const Ve=function(e,r,i){var l=i.refReference,a=i.refContent,u=i.refArrow,c=i.refRoot,s=(0,n.ref)(!1),f=(0,n.ref)(),d=function(){var e,t,n=b();return(null===(e=document.fullscreenElement)||void 0===e?void 0:e.shadowRoot)?document.fullscreenElement.shadowRoot.contains(n):null===(t=document.fullscreenElement)||void 0===t?void 0:t.contains(n)},p=["dark","light"],v=(0,n.computed)((function(){var t,n,o=null!==(n=null===(t=e.theme)||void 0===t?void 0:t.split(/\s+/))&&void 0!==n?n:[];return o.sort((function(e,t){return Number(p.includes(t))-Number(p.includes(e))})),{systemThemes:o,customThemes:o.filter((function(e){return!p.includes(e)}))}})),m=function(){return e.autoVisibility},h=function(){return e.autoPlacement},g=function(){var t,n,o,r=b(),i=T(null===(t=a.value)||void 0===t?void 0:t.$el),l=e.arrow?T(null===(n=u.value)||void 0===n?void 0:n.$el):null,s=T(null===(o=c.value)||void 0===o?void 0:o.$el),f=Fe(e.content),d=f.isElement,p=f.content;return i&&d&&!(null==i?void 0:i.contains(p))&&i.append(p),{elReference:r,elContent:i,elArrow:l,root:s}},b=function(){var t;return T(e.target)||T(null===(t=l.value)||void 0===t?void 0:t.$el)},w=function(){var t={};return Array.isArray(e.modifiers)&&e.modifiers.forEach((function(e){var n,o,r,i,l;if("offset"===e.name){if("number"==typeof(null===(n=e.options)||void 0===n?void 0:n.offset)&&(l=null===(o=e.options)||void 0===o?void 0:o.offset),Array.isArray(null===(r=e.options)||void 0===r?void 0:r.offset)){var a=O(null===(i=e.options)||void 0===i?void 0:i.offset,2);l={mainAxis:a[0],crossAxis:a[1]}}Object.assign(t,{offset:l})}})),t},x=function(e,t){var n,o,r=w(),i=[ne(r.offset||t.offset),oe({padding:t.padding})],l={placement:t.placement,middleware:i};if(t.arrow&&i.push((e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:r,rects:i,platform:l,elements:a}=t,{element:u,padding:c=0}=V(e,t)||{};if(null==u)return{};const s=Y(c),f={x:n,y:o},d=W(r),p=B(d),v=await l.getDimensions(u),m="y"===d,y=m?"top":"left",h=m?"bottom":"right",g=m?"clientHeight":"clientWidth",b=i.reference[p]+i.reference[d]-f[d]-i.floating[p],w=f[d]-i.reference[d],x=await(null==l.getOffsetParent?void 0:l.getOffsetParent(u));let T=x?x[g]:0;T&&await(null==l.isElement?void 0:l.isElement(x))||(T=a.floating[g]||i.floating[p]);const P=b/2-w/2,E=T/2-v[p]/2-1,C=L(s[y],E),O=L(s[h],E),R=C,A=T-v[p]-O,S=T/2-v[p]/2+P,N=F(R,S,A),D=null!=_(r)&&S!=N&&i.reference[p]/2-(S<R?C:O)-v[p]/2<0?S<R?R-S:A-S:0;return{[d]:f[d]-D,data:{[d]:N,centerOffset:S-N+D}}}}))({element:e})),h()?i.push(function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,o,r;const{rects:i,middlewareData:l,placement:a,platform:u,elements:c}=t,{crossAxis:s=!1,alignment:f,allowedPlacements:d=N,autoAlignment:p=!0,...v}=V(e,t),m=void 0!==f||d===N?function(e,t,n){return(e?[...n.filter((t=>_(t)===e)),...n.filter((t=>_(t)!==e))]:n.filter((e=>$(e)===e))).filter((n=>!e||_(n)===e||!!t&&K(n)!==n))}(f||null,p,d):d,y=await J(t,v),h=(null==(n=l.autoPlacement)?void 0:n.index)||0,g=m[h];if(null==g)return{};const b=z(g,i,await(null==u.isRTL?void 0:u.isRTL(c.floating)));if(a!==g)return{reset:{placement:m[0]}};const w=[y[$(g)],y[b[0]],y[b[1]]],x=[...(null==(o=l.autoPlacement)?void 0:o.overflows)||[],{placement:g,overflows:w}],T=m[h+1];if(T)return{data:{index:h+1,overflows:x},reset:{placement:T}};const P=x.map((e=>{const t=_(e.placement);return[e.placement,t&&s?e.overflows.slice(0,2).reduce(((e,t)=>e+t),0):e.overflows[0],e.overflows]})).sort(((e,t)=>e[1]-t[1])),E=(null==(r=P.filter((e=>e[2].slice(0,_(e[0])?2:3).every((e=>e<=0))))[0])?void 0:r[0])||P[0][0];return E!==a?{data:{index:h+1,overflows:x},reset:{placement:E}}:{}}}}()):(i.unshift(function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){const{placement:n,elements:o,rects:r,platform:i,strategy:l}=t,{padding:a=2,x:u,y:c}=V(e,t),s=Array.from(await(null==i.getClientRects?void 0:i.getClientRects(o.reference))||[]),f=function(e){const t=e.slice().sort(((e,t)=>e.y-t.y)),n=[];let o=null;for(let e=0;e<t.length;e++){const r=t[e];!o||r.y-o.y>o.height/2?n.push([r]):n[n.length-1].push(r),o=r}return n.map((e=>Z(te(e))))}(s),d=Z(te(s)),p=Y(a),v=await i.getElementRects({reference:{getBoundingClientRect:function(){if(2===f.length&&f[0].left>f[1].right&&null!=u&&null!=c)return f.find((e=>u>e.left-p.left&&u<e.right+p.right&&c>e.top-p.top&&c<e.bottom+p.bottom))||d;if(f.length>=2){if("y"===U(n)){const e=f[0],t=f[f.length-1],o="top"===$(n),r=e.top,i=t.bottom,l=o?e.left:t.left,a=o?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"===$(n),t=D(...f.map((e=>e.right))),o=L(...f.map((e=>e.left))),r=f.filter((n=>e?n.left===o:n.right===t)),i=r[0].top,l=r[r.length-1].bottom;return{top:i,bottom:l,left:o,right:t,width:t-o,height:l-i,x:o,y:i}}return d}},floating:o.floating,strategy:l});return r.reference.x!==v.reference.x||r.reference.y!==v.reference.y||r.reference.width!==v.reference.width||r.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",fallbackAxisSideDirection:p="none",flipAlignment:v=!0,...m}=V(e,t),y=$(o),h=$(l)===l,g=await(null==a.isRTL?void 0:a.isRTL(u.floating)),b=f||(h||!v?[X(l)]:function(e){const t=X(e);return[K(e),t,K(t)]}(l));f||"none"===p||b.push(...function(e,t,n,o){const r=_(e);let i=function(e,t,n){const o=["left","right"],r=["right","left"],i=["top","bottom"],l=["bottom","top"];switch(e){case"top":case"bottom":return n?t?r:o:t?o:r;case"left":case"right":return t?i:l;default:return[]}}($(e),"start"===n,o);return r&&(i=i.map((e=>e+"-"+r)),t&&(i=i.concat(i.map(K)))),i}(l,v,p,g));const w=[l,...b],x=await J(t,m),T=[];let P=(null==(n=r.flip)?void 0:n.overflows)||[];if(c&&T.push(x[y]),s){const e=z(o,i,g);T.push(x[e[0]],x[e[1]])}if(P=[...P,{placement:o,overflows:T}],!T.every((e=>e<=0))){var E,C;const e=((null==(E=r.flip)?void 0:E.index)||0)+1,t=w[e];if(t)return{data:{index:e,overflows:P},reset:{placement:t}};let n=null==(C=P.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:C.placement;if(!n)switch(d){case"bestFit":{var O;const e=null==(O=P.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:O[0];e&&(n=e);break}case"initialPlacement":n=l}if(o!==n)return{reset:{placement:n}}}return{}}}}())),m()&&l.middleware.push(function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:o="referenceHidden",...r}=V(e,t);switch(o){case"referenceHidden":{const e=Q(await J(t,{...r,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:ee(e)}}}case"escaped":{const e=Q(await J(t,{...r,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:ee(e)}}}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 "+e)}(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){if(t instanceof HTMLElement)return t;if(t instanceof Text)return e(t.nextElementSibling);if("function"==typeof(null==t?void 0:t.getBoundingClientRect))return t;if("string"==typeof t){var n=document.querySelector(t);return(0,R.isElement)(n)?n:null}return t instanceof PointerEvent?e(t.target):null},P=v.value.customThemes.join(" "),E=v.value.customThemes.reduce((function(e,n){return Object.assign(t({},"data-".concat(n,"-theme"),!0),e)}),{}),C="".concat(P),A=null,S=function(e){var t=window.devicePixelRatio||1;return Math.round(e*t)/t||0},H=function(t,n,o,r){var i;e.disableTransform?Object.assign(t.style,{left:"".concat(S(n),"px"),top:"".concat(S(o),"px")}):Object.assign(t.style,{left:"0",top:"0",transform:"translate3d(".concat(S(n),"px,").concat(S(o),"px,0)")});var l=!!m()&&(null===(i=r.hide)||void 0===i?void 0:i.referenceHidden);Object.assign(t.style,{visibility:l?"hidden":"visible"})},j=function(n,o,r){var i;if(e.arrow){var l=null!==(i=r.arrow)&&void 0!==i?i:{},a=l.x,u=l.y;n.setAttribute("data-arrow",o),Object.assign(n.style,{left:"",top:"",bottom:"",right:""});var c={top:"bottom",right:"left",bottom:"top",left:"right"}[o];Object.assign(n.style,t({left:null!==a?"".concat(a,"px"):"",top:null!==u?"".concat(u,"px"):""},c,"-4px"))}},M=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,o=g(),r=o.elReference,i=o.elContent,l=o.elArrow,a=e||r;if(a&&i){var u=x(l,t);((e,t,n)=>{const o=new Map,r={platform:He,...n},i={...r.platform,_c:o};return(async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:l}=n,a=i.filter(Boolean),u=await(null==l.isRTL?void 0:l.isRTL(t));let c=await l.getElementRects({reference:e,floating:t,strategy:r}),{x:s,y:f}=G(c,o,u),d=o,p={},v=0;for(let n=0;n<a.length;n++){const{name:i,fn:m}=a[n],{x:y,y:h,data:g,reset:b}=await m({x:s,y:f,initialPlacement:o,placement:d,strategy:r,middlewareData:p,rects:c,platform:l,elements:{reference:e,floating:t}});s=null!=y?y:s,f=null!=h?h:f,p={...p,[i]:{...p[i],...g}},b&&v<=50&&(v++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(c=!0===b.rects?await l.getElementRects({reference:e,floating:t,strategy:r}):b.rects),({x:s,y:f}=G(c,d,u))),n=-1)}return{x:s,y:f,placement:d,strategy:r,middlewareData:p}})(e,t,{...r,platform:i})})(a,i,u).then((function(e){var t=e.x,o=e.y,r=e.placement,a=e.middlewareData,u=i.className;i.className="".concat(u.replace(C,"")," ").concat(C).replace(/\s+/gm," ").replace(/^\s+|\s+$/g,""),Object.keys(E).forEach((function(e){i.setAttribute(e,E[e])}));var c=r.split("-")[0],s=c;["left","right","top","bottom"].includes(c)||(s="top"),H(i,t,o,a),j(l,s,a),"function"==typeof n&&n()}))}},k=void 0,q=void 0,re=!1,ie=function(){return Array.isArray(e.popoverDelay)?[e.popoverDelay[0],e.popoverDelay.slice(-1)[0]]:[e.popoverDelay,e.popoverDelay]},ae=function(){var t=ie()[0];q=setTimeout((function(){k&&clearTimeout(k),e.disabled||(s.value=!0)}),t)},ue=function(){var e=ie()[1];k=setTimeout((function(){q&&clearTimeout(q),s.value=!1}),e)},ce=function(){s.value?ue():ae()},se=function(){ce()},fe=function(t){"hover"===e.trigger&&(k&&(re=!0,clearTimeout(k),k=void 0),pe(t))},de=function(e){re&&(ue(),re=!1,ve(e))},pe=function(e){r.emit(y.CONTENT_MOUSEENTER,e)},ve=function(e){r.emit(y.CONTENT_MOUSELEAVE,e)};return(0,n.watch)((function(){return e.isShow}),(function(e){s.value=e})),(0,n.watch)(s,(function(t){var n,i;t?((i=T(null===(n=a.value)||void 0===n?void 0:n.$el)).style.setProperty("display","block"),i.style.setProperty("z-index","".concat(e.zIndex?e.zIndex:o.bkZIndexManager.getPopperIndex())),M(),r.emit(y.CONTENT_AfterShow,{isShow:!0})):function(){var e;T(null===(e=a.value)||void 0===e?void 0:e.$el).style.setProperty("display","none"),r.emit(y.CONTENT_AfterHidden,{isShow:!1})}()})),{showPopover:ae,hidePopover:ue,resolveTriggerEvents:function(){var t;return null!==(t={hover:{content:[["mouseenter",fe],["mouseleave",de]],reference:[["mouseenter",ae],["mouseleave",ue],["focus",ae],["blur",ue]]},click:[["click",se]],manual:{content:[["mouseenter",pe],["mouseleave",ve]],reference:[[]]}}[e.trigger])&&void 0!==t?t:[]},updatePopover:M,triggerPopover:ce,resolvePopElements:g,isElementFullScreen:d,resolveTargetElement:T,createPopInstance:function(){var t=g(),n=t.elReference,o=t.elContent;A=function(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:u=!1}=o,c=Te(e),s=r||i?[...c?we(c):[],...we(t)]:[];s.forEach((e=>{r&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const f=c&&a?function(e,t){let n,o=null;const r=le(e);function i(){clearTimeout(n),o&&o.disconnect(),o=null}return function l(a,u){void 0===a&&(a=!1),void 0===u&&(u=1),i();const{left:c,top:s,width:f,height:d}=e.getBoundingClientRect();if(a||t(),!f||!d)return;const p={rootMargin:-I(s)+"px "+-I(r.clientWidth-(c+f))+"px "+-I(r.clientHeight-(s+d))+"px "+-I(c)+"px",threshold:D(0,L(1,u))||1};let v=!0;function m(e){const t=e[0].intersectionRatio;if(t!==u){if(!v)return l();t?l(!1,t):n=setTimeout((()=>{l(!1,1e-7)}),100)}v=!1}try{o=new IntersectionObserver(m,{...p,root:r.ownerDocument})}catch(e){o=new IntersectionObserver(m,p)}o.observe(e)}(!0),i}(c,n):null;let d,p=-1,v=null;l&&(v=new ResizeObserver((e=>{let[o]=e;o&&o.target===c&&v&&(v.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{v&&v.observe(t)}))),n()})),c&&!u&&v.observe(c),v.observe(t));let m=u?Oe(e):null;return u&&function t(){const o=Oe(e);!m||o.x===m.x&&o.y===m.y&&o.width===m.width&&o.height===m.height||n(),m=o,d=requestAnimationFrame(t)}(),n(),()=>{s.forEach((e=>{r&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),f&&f(),v&&v.disconnect(),v=null,u&&cancelAnimationFrame(d)}}(n,o,(function(){s.value&&M(null,e)}))},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(){k&&(re=!0,clearTimeout(k),k=void 0)},localIsShow:s,cleanup:A}};var $e=null,_e=null;const qe=(0,n.defineComponent)({name:"Popover",components:{Content:w,Arrow:v,Root:E},directives:{clickoutside:d},props:T,emits:b,setup:function(e,t){var r=(0,n.toRefs)(e).reference,i=(0,n.ref)(),l=(0,n.ref)(),a=(0,n.ref)(),u=(0,n.ref)(),c=(0,n.computed)((function(){return r.value||i.value})),s=function(e,t,o){var r=o.refReference,i=o.refContent,l=o.refArrow,a=o.refRoot,u=null,c=(0,n.ref)(!1),s=(je.fullscreenReferId||(je.fullscreenReferId="id_".concat((0,Ie.v4)())),je.fullscreenReferId),f=(0,n.ref)(),d=Ve(e,t,{refReference:r,refContent:i,refArrow:l,refRoot:a}),p=d.localIsShow,v=d.showPopover,m=d.hidePopover,h=d.updatePopover,g=d.cleanup,b=d.resolveTriggerEvents,w=d.resolvePopElements,x=d.isElementFullScreen,T=d.updateFullscreenTarget,P=d.createPopInstance,E=d.getFullscreenRoot,C=d.stopHide,R=function(){m()},A=function(){P(),e.always?v():S()},S=function(){var e=w(),t=e.elReference,n=e.elContent;if(u=b(),Array.isArray(u))N(t,u);else{var o=u,r=o.content,i=o.reference;N(t,i),N(n,r)}},N=function(e,t){t.forEach((function(t){var n=O(t,2),o=n[0],r=n[1];o&&"function"==typeof r&&e.addEventListener(o,r)}))},L=function(){var e=w(),t=e.elReference,n=e.root;c.value?I.value=null==f?void 0:f.value:I.value=H(n||t)},D=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#",n=function(n){var o=null,r=function(e){null===o&&e()};return r((function(){if(/^parent$/i.test(e.boundary)){o="".concat(t).concat($e);var r=(n||{}).parentNode;(null==r?void 0:r.parentNode)&&(r.parentNode.setAttribute("data-pnode-id",_e),o="[data-pnode-id=".concat(_e,"]"))}})),r((function(){if(!/^body$/i.test(e.boundary)){if("string"==typeof e.boundary)return Me(e.boundary)?void(o=e.boundary):void(o="body");if(ke(e.boundary))return void(o=e.boundary)}})),r((function(){o="string"==typeof e.boundary?e.boundary:"".concat(t).concat($e)})),o};if(null===$e||!Me("#".concat($e))){$e="id_".concat((0,Ie.v4)());var o=document.createElement("div");o.setAttribute("id",$e),o.setAttribute("data-popper-id",$e),document.body.append(o)}return null===_e&&(_e="id_".concat((0,Ie.v4)())),{popContainerId:$e,prefixId:n(),getPrefixId:n}}(e,"#"),H=D.getPrefixId,I=(0,n.ref)(),j=function(){!function(){if(null==u?void 0:u.length){var e=w().elReference;e&&u.forEach((function(t){var n=O(t,2),o=n[0],r=n[1];o&&"function"==typeof r&&e.removeEventListener(o,r)})),u=null}}()},M=function(e){var t;f.value=e,T(e),c.value=x(),null===(t=null==f?void 0:f.value)||void 0===t||t.setAttribute("data-fllsrn-id",s)},k=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")}))),M(t.target),L(),h(null,e)};return{onMountedFn:function(){if(!e.disabled){if(A(),x()){var t="[data-fllsrn-id=".concat(s,"]"),n=E(t);M(n)}L(),document.body.addEventListener("fullscreenchange",k)}},onUnmountedFn:function(){j(),document.body.removeEventListener("fullscreenchange",k)},handleClickOutside:function(n){t.emit(y.CLICK_OUTSIDE,{isShow:p.value,event:n});var o=e.disableOutsideClick||e.always||e.disabled||"manual"===e.trigger;!e.forceClickoutside&&o||p.value&&R()},beforeInstanceUnmount:j,updateBoundary:L,initPopInstance:A,updatePopover:h,resetPopover:function(){null==g||g(),P()},showPopover:v,hidePopover:m,showFn:function(){v()},hideFn:R,stopHide:C,isFullscreen:c,boundary:I,localIsShow:p}}(e,t,{refReference:c,refContent:l,refArrow:a,refRoot:u}),f=s.onMountedFn,d=s.onUnmountedFn,p=s.handleClickOutside,v=s.beforeInstanceUnmount,m=s.updateBoundary,h=s.initPopInstance,g=s.showFn,b=s.hideFn,w=s.showPopover,x=s.hidePopover,T=s.updatePopover,P=s.resetPopover,E=s.stopHide,C=s.localIsShow,R=s.boundary;e.always||e.disabled||(0,n.watch)((function(){return e.isShow}),(function(){e.isShow?w():x()}),{immediate:!0}),(0,n.watch)((function(){return[e.disabled]}),(function(e){e[0]?v():h()})),m(),(0,n.onMounted)(f),(0,n.onBeforeUnmount)(d);var A=(0,n.computed)((function(){return!e.disableTeleport})),S=(0,n.computed)((function(){return e.renderType===o.RenderType.AUTO||C.value}));return{boundary:R,arrow:e.arrow,refDefaultReference:i,refContent:l,refArrow:a,content:e.content,theme:e.theme,transBoundary:A,handleClickOutside:p,updatePopover:T,resetPopover:P,hide:function(){b()},show:function(){g()},stopHide:E,contentIsShow:S,renderContent:function(){return e.allowHtml?Fe(e.content).vNode:e.content},localIsShow:C}},render:function(){var e,t,o,r,i,l,a,u=this,c=function(e){var t;return n.Text===(null===(t=null==e?void 0:e[0])||void 0===t?void 0:t.type)?(0,n.createVNode)("span",null,[e]):e};return(0,n.createVNode)(E,{ref:"refRoot"},{default:function(){return[(0,n.createVNode)(P,{ref:"refDefaultReference"},(s=e=c(null!==(r=null===(o=(t=u.$slots).default)||void 0===o?void 0:o.call(t))&&void 0!==r?r:(0,n.createVNode)("span",null,null)),"function"==typeof s||"[object Object]"===Object.prototype.toString.call(s)&&!(0,n.isVNode)(s)?e:{default:function(){return[e]}})),(0,n.createVNode)(n.Teleport,{to:u.boundary,disabled:!u.transBoundary},{default:function(){return[(0,n.withDirectives)((0,n.createVNode)(w,{ref:"refContent",visible:u.localIsShow,"data-theme":u.theme,extCls:u.extCls,width:u.width,height:u.height,maxWidth:u.maxWidth,maxHeight:u.maxHeight,eventDelay:u.componentEventDelay},{default:function(){return[u.contentIsShow?null!==(a=null===(l=(i=u.$slots).content)||void 0===l?void 0:l.call(i))&&void 0!==a?a:u.renderContent():""]},arrow:function(){var e,t;return u.arrow?(0,n.createVNode)(v,{ref:"refArrow"},{default:function(){return[null===(t=(e=u.$slots).arrow)||void 0===t?void 0:t.call(e)]}}):""}}),[[(0,n.resolveDirective)("clickoutside"),u.handleClickOutside]])]}})];var s}})}}),Be=function(e){var o,r=null,i=null,l=null,a=Object.assign(Object.assign({boundary:"body",placement:"top",autoVisibility:!0,isShow:!1,trigger:"manual"},e),{allowHtml:!0}),u={name:"$popover",setup:function(e,o){var r=o.expose,i=(0,n.reactive)(Object.keys(T).reduce((function(e,n){return Object.prototype.hasOwnProperty.call(a,n)&&Object.assign(e,t({},n,a[n])),e}),{target:a.target})),l=(0,n.ref)(),u=function(){var e;null===(e=a.onContentMouseenter)||void 0===e||e.call(a)},c=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 t,n;i.target=e,null===(n=null===(t=l.value)||void 0===t?void 0:t.resetPopover)||void 0===n||n.call(t)},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,n.createVNode)(qe,(0,n.mergeProps)(i,{ref:l,onContentMouseenter:u,onContentMouseleave:c}),null)}}};return null===r&&(l=document.createElement("div"),(o=a.boundary,/^body$/i.test(o)?document.body:/^parent$/i.test(o)?ke(a.target)?a.target.parentNode:a.target.target.parentNode:"string"==typeof o&&Me(o)?document.querySelector(o):document.body).append(l),r=(0,n.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}}}})(),u})()));
@@ -14,8 +14,8 @@ declare const BKPopConfirm: {
14
14
  cancelText?: string;
15
15
  class?: unknown;
16
16
  style?: unknown;
17
- key?: string | number | symbol;
18
17
  ref?: import("vue").VNodeRef;
18
+ key?: string | number | symbol;
19
19
  ref_for?: boolean;
20
20
  ref_key?: string;
21
21
  onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -8,18 +8,35 @@ declare const _default: import("vue").DefineComponent<{
8
8
  maxHeight: import("vue-types").VueTypeDef<string | number> & {
9
9
  default: string | number;
10
10
  };
11
+ maxWidth: import("vue-types").VueTypeDef<string | number> & {
12
+ default: string | number;
13
+ };
11
14
  extCls: import("vue-types").VueTypeValidableDef<string> & {
12
15
  default: string;
13
16
  } & {
14
17
  default: string;
15
18
  };
19
+ visible: import("vue-types").VueTypeValidableDef<boolean> & {
20
+ default: boolean;
21
+ } & {
22
+ default: boolean;
23
+ };
24
+ eventDelay: import("vue-types").VueTypeValidableDef<number> & {
25
+ default: number;
26
+ } & {
27
+ default: number;
28
+ };
16
29
  }, {
17
30
  style: import("vue").ComputedRef<{
18
31
  width: string | number;
19
32
  height: string | number;
20
33
  maxHeight: string | number;
34
+ maxWidth: string | number;
21
35
  }>;
36
+ refContent: any;
22
37
  resolveClassName: (cls: string) => string;
38
+ resetPointerEvent: () => void;
39
+ setContentPointerEvent: (val: string) => void;
23
40
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
24
41
  width: import("vue-types").VueTypeDef<string | number> & {
25
42
  default: string | number;
@@ -30,15 +47,31 @@ declare const _default: import("vue").DefineComponent<{
30
47
  maxHeight: import("vue-types").VueTypeDef<string | number> & {
31
48
  default: string | number;
32
49
  };
50
+ maxWidth: import("vue-types").VueTypeDef<string | number> & {
51
+ default: string | number;
52
+ };
33
53
  extCls: import("vue-types").VueTypeValidableDef<string> & {
34
54
  default: string;
35
55
  } & {
36
56
  default: string;
37
57
  };
58
+ visible: import("vue-types").VueTypeValidableDef<boolean> & {
59
+ default: boolean;
60
+ } & {
61
+ default: boolean;
62
+ };
63
+ eventDelay: import("vue-types").VueTypeValidableDef<number> & {
64
+ default: number;
65
+ } & {
66
+ default: number;
67
+ };
38
68
  }>>, {
39
69
  width: string | number;
40
70
  height: string | number;
41
71
  maxHeight: string | number;
72
+ maxWidth: string | number;
42
73
  extCls: string;
74
+ visible: boolean;
75
+ eventDelay: number;
43
76
  }, {}>;
44
77
  export default _default;
@@ -6,12 +6,13 @@ declare const BkPopover: {
6
6
  width?: string | number;
7
7
  height?: string | number;
8
8
  maxHeight?: string | number;
9
+ maxWidth?: string | number;
9
10
  extCls?: string;
10
11
  arrow?: boolean;
11
12
  isShow?: boolean;
12
13
  always?: boolean;
13
14
  disabled?: boolean;
14
- content?: string | number;
15
+ content?: string | number | HTMLElement | JSX.Element;
15
16
  allowHtml?: boolean;
16
17
  placement?: "auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
17
18
  theme?: string;
@@ -31,8 +32,12 @@ declare const BkPopover: {
31
32
  disableTransform?: boolean;
32
33
  modifiers?: unknown[];
33
34
  popoverDelay?: number | number[];
35
+ componentEventDelay?: number;
36
+ forceClickoutside?: boolean;
34
37
  class?: unknown;
35
38
  style?: unknown;
39
+ ref?: import("vue").VNodeRef;
40
+ readonly target?: string | HTMLElement | PointerEvent;
36
41
  readonly boundary?: string | HTMLElement;
37
42
  readonly reference?: any;
38
43
  onClickoutside?: (_args: {
@@ -48,7 +53,6 @@ declare const BkPopover: {
48
53
  isShow: boolean;
49
54
  }) => any;
50
55
  key?: string | number | symbol;
51
- ref?: import("vue").VNodeRef;
52
56
  ref_for?: boolean;
53
57
  ref_key?: string;
54
58
  onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -132,12 +136,16 @@ declare const BkPopover: {
132
136
  height: import("vue-types").VueTypeDef<string | number> & {
133
137
  default: string | number;
134
138
  };
135
- maxHeight: import("vue-types").VueTypeDef<string | number> & {
139
+ maxWidth: import("vue-types").VueTypeDef<string | number> & {
136
140
  default: string | number;
137
141
  };
138
- content: import("vue-types").VueTypeDef<string | number> & {
142
+ maxHeight: import("vue-types").VueTypeDef<string | number> & {
139
143
  default: string | number;
140
144
  };
145
+ content: import("vue-types").VueTypeDef<string | number | HTMLElement | JSX.Element> & {
146
+ default: string | number | (() => HTMLElement) | (() => JSX.Element);
147
+ };
148
+ target: import("vue-types").VueTypeDef<string | HTMLElement | PointerEvent>;
141
149
  allowHtml: import("vue-types").VueTypeValidableDef<boolean> & {
142
150
  default: boolean;
143
151
  } & {
@@ -223,6 +231,16 @@ declare const BkPopover: {
223
231
  } & {
224
232
  default: string;
225
233
  };
234
+ componentEventDelay: import("vue-types").VueTypeValidableDef<number> & {
235
+ default: number;
236
+ } & {
237
+ default: number;
238
+ };
239
+ forceClickoutside: import("vue-types").VueTypeValidableDef<boolean> & {
240
+ default: boolean;
241
+ } & {
242
+ default: boolean;
243
+ };
226
244
  }>> & {
227
245
  onClickoutside?: (_args: {
228
246
  isShow: boolean;
@@ -242,16 +260,18 @@ declare const BkPopover: {
242
260
  refDefaultReference: import("vue").Ref<any>;
243
261
  refContent: import("vue").Ref<any>;
244
262
  refArrow: import("vue").Ref<any>;
245
- content: string | number;
263
+ content: string | number | HTMLElement | JSX.Element;
246
264
  theme: string;
247
265
  transBoundary: import("vue").ComputedRef<boolean>;
248
266
  handleClickOutside: (_e: MouseEvent) => void;
249
- updatePopover: (virtualEl?: any, props?: {}) => void;
267
+ updatePopover: (virtualEl?: any, props?: {}, callFn?: any) => void;
268
+ resetPopover: () => void;
250
269
  hide: () => void;
251
270
  show: () => void;
252
271
  stopHide: () => void;
253
272
  contentIsShow: import("vue").ComputedRef<boolean>;
254
273
  renderContent: () => any;
274
+ localIsShow: import("vue").Ref<boolean>;
255
275
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
256
276
  clickoutside: (_args: {
257
277
  isShow: boolean;
@@ -269,12 +289,13 @@ declare const BkPopover: {
269
289
  width: string | number;
270
290
  height: string | number;
271
291
  maxHeight: string | number;
292
+ maxWidth: string | number;
272
293
  extCls: string;
273
294
  arrow: boolean;
274
295
  isShow: boolean;
275
296
  always: boolean;
276
297
  disabled: boolean;
277
- content: string | number;
298
+ content: string | number | HTMLElement | JSX.Element;
278
299
  allowHtml: boolean;
279
300
  placement: "auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
280
301
  theme: string;
@@ -294,6 +315,8 @@ declare const BkPopover: {
294
315
  disableTransform: boolean;
295
316
  modifiers: unknown[];
296
317
  popoverDelay: number | number[];
318
+ componentEventDelay: number;
319
+ forceClickoutside: boolean;
297
320
  }, {}, string, {}> & {
298
321
  beforeCreate?: (() => void) | (() => void)[];
299
322
  created?: (() => void) | (() => void)[];
@@ -336,12 +359,16 @@ declare const BkPopover: {
336
359
  height: import("vue-types").VueTypeDef<string | number> & {
337
360
  default: string | number;
338
361
  };
339
- maxHeight: import("vue-types").VueTypeDef<string | number> & {
362
+ maxWidth: import("vue-types").VueTypeDef<string | number> & {
340
363
  default: string | number;
341
364
  };
342
- content: import("vue-types").VueTypeDef<string | number> & {
365
+ maxHeight: import("vue-types").VueTypeDef<string | number> & {
343
366
  default: string | number;
344
367
  };
368
+ content: import("vue-types").VueTypeDef<string | number | HTMLElement | JSX.Element> & {
369
+ default: string | number | (() => HTMLElement) | (() => JSX.Element);
370
+ };
371
+ target: import("vue-types").VueTypeDef<string | HTMLElement | PointerEvent>;
345
372
  allowHtml: import("vue-types").VueTypeValidableDef<boolean> & {
346
373
  default: boolean;
347
374
  } & {
@@ -427,6 +454,16 @@ declare const BkPopover: {
427
454
  } & {
428
455
  default: string;
429
456
  };
457
+ componentEventDelay: import("vue-types").VueTypeValidableDef<number> & {
458
+ default: number;
459
+ } & {
460
+ default: number;
461
+ };
462
+ forceClickoutside: import("vue-types").VueTypeValidableDef<boolean> & {
463
+ default: boolean;
464
+ } & {
465
+ default: boolean;
466
+ };
430
467
  }>> & {
431
468
  onClickoutside?: (_args: {
432
469
  isShow: boolean;
@@ -446,16 +483,18 @@ declare const BkPopover: {
446
483
  refDefaultReference: import("vue").Ref<any>;
447
484
  refContent: import("vue").Ref<any>;
448
485
  refArrow: import("vue").Ref<any>;
449
- content: string | number;
486
+ content: string | number | HTMLElement | JSX.Element;
450
487
  theme: string;
451
488
  transBoundary: import("vue").ComputedRef<boolean>;
452
489
  handleClickOutside: (_e: MouseEvent) => void;
453
- updatePopover: (virtualEl?: any, props?: {}) => void;
490
+ updatePopover: (virtualEl?: any, props?: {}, callFn?: any) => void;
491
+ resetPopover: () => void;
454
492
  hide: () => void;
455
493
  show: () => void;
456
494
  stopHide: () => void;
457
495
  contentIsShow: import("vue").ComputedRef<boolean>;
458
496
  renderContent: () => any;
497
+ localIsShow: import("vue").Ref<boolean>;
459
498
  }> & {} & import("vue").ComponentCustomProperties & {};
460
499
  __isFragment?: never;
461
500
  __isTeleport?: never;
@@ -482,12 +521,16 @@ declare const BkPopover: {
482
521
  height: import("vue-types").VueTypeDef<string | number> & {
483
522
  default: string | number;
484
523
  };
485
- maxHeight: import("vue-types").VueTypeDef<string | number> & {
524
+ maxWidth: import("vue-types").VueTypeDef<string | number> & {
486
525
  default: string | number;
487
526
  };
488
- content: import("vue-types").VueTypeDef<string | number> & {
527
+ maxHeight: import("vue-types").VueTypeDef<string | number> & {
489
528
  default: string | number;
490
529
  };
530
+ content: import("vue-types").VueTypeDef<string | number | HTMLElement | JSX.Element> & {
531
+ default: string | number | (() => HTMLElement) | (() => JSX.Element);
532
+ };
533
+ target: import("vue-types").VueTypeDef<string | HTMLElement | PointerEvent>;
491
534
  allowHtml: import("vue-types").VueTypeValidableDef<boolean> & {
492
535
  default: boolean;
493
536
  } & {
@@ -573,6 +616,16 @@ declare const BkPopover: {
573
616
  } & {
574
617
  default: string;
575
618
  };
619
+ componentEventDelay: import("vue-types").VueTypeValidableDef<number> & {
620
+ default: number;
621
+ } & {
622
+ default: number;
623
+ };
624
+ forceClickoutside: import("vue-types").VueTypeValidableDef<boolean> & {
625
+ default: boolean;
626
+ } & {
627
+ default: boolean;
628
+ };
576
629
  }>> & {
577
630
  onClickoutside?: (_args: {
578
631
  isShow: boolean;
@@ -592,16 +645,18 @@ declare const BkPopover: {
592
645
  refDefaultReference: import("vue").Ref<any>;
593
646
  refContent: import("vue").Ref<any>;
594
647
  refArrow: import("vue").Ref<any>;
595
- content: string | number;
648
+ content: string | number | HTMLElement | JSX.Element;
596
649
  theme: string;
597
650
  transBoundary: import("vue").ComputedRef<boolean>;
598
651
  handleClickOutside: (_e: MouseEvent) => void;
599
- updatePopover: (virtualEl?: any, props?: {}) => void;
652
+ updatePopover: (virtualEl?: any, props?: {}, callFn?: any) => void;
653
+ resetPopover: () => void;
600
654
  hide: () => void;
601
655
  show: () => void;
602
656
  stopHide: () => void;
603
657
  contentIsShow: import("vue").ComputedRef<boolean>;
604
658
  renderContent: () => any;
659
+ localIsShow: import("vue").Ref<boolean>;
605
660
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
606
661
  clickoutside: (_args: {
607
662
  isShow: boolean;
@@ -619,12 +674,13 @@ declare const BkPopover: {
619
674
  width: string | number;
620
675
  height: string | number;
621
676
  maxHeight: string | number;
677
+ maxWidth: string | number;
622
678
  extCls: string;
623
679
  arrow: boolean;
624
680
  isShow: boolean;
625
681
  always: boolean;
626
682
  disabled: boolean;
627
- content: string | number;
683
+ content: string | number | HTMLElement | JSX.Element;
628
684
  allowHtml: boolean;
629
685
  placement: "auto" | "auto-start" | "auto-end" | "top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end";
630
686
  theme: string;
@@ -644,6 +700,8 @@ declare const BkPopover: {
644
700
  disableTransform: boolean;
645
701
  modifiers: unknown[];
646
702
  popoverDelay: number | number[];
703
+ componentEventDelay: number;
704
+ forceClickoutside: boolean;
647
705
  }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
648
706
  export default BkPopover;
649
707
  export { default as $bkPopover } from './plugin-popover';