bkui-vue 0.0.1-beta.103 → 0.0.1-beta.106

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 (120) hide show
  1. package/dist/index.cjs.js +29 -29
  2. package/dist/index.esm.js +1988 -417
  3. package/dist/index.umd.js +30 -30
  4. package/dist/style.css +1 -1
  5. package/lib/components.d.ts +1 -0
  6. package/lib/components.js +1 -1
  7. package/lib/dialog/dialog.css +5 -9
  8. package/lib/dialog/dialog.d.ts +7 -27
  9. package/lib/dialog/dialog.less +4 -3
  10. package/lib/dialog/dialog.variable.css +5 -9
  11. package/lib/dialog/index.d.ts +21 -60
  12. package/lib/dialog/index.js +1 -1
  13. package/lib/icon/angle-double-down-line.js +1 -1
  14. package/lib/icon/angle-double-left-line.js +1 -1
  15. package/lib/icon/angle-double-left.js +1 -1
  16. package/lib/icon/angle-double-right-line.js +1 -1
  17. package/lib/icon/angle-double-right.js +1 -1
  18. package/lib/icon/angle-double-up-line.js +1 -1
  19. package/lib/icon/angle-down-fill.js +1 -1
  20. package/lib/icon/angle-down-line.js +1 -1
  21. package/lib/icon/angle-down.js +1 -1
  22. package/lib/icon/angle-left.js +1 -1
  23. package/lib/icon/angle-right.js +1 -1
  24. package/lib/icon/angle-up-fill.js +1 -1
  25. package/lib/icon/angle-up.js +1 -1
  26. package/lib/icon/archive-fill.js +1 -1
  27. package/lib/icon/arrows-left.js +1 -1
  28. package/lib/icon/arrows-right.js +1 -1
  29. package/lib/icon/audio-fill.js +1 -1
  30. package/lib/icon/bk.js +1 -1
  31. package/lib/icon/circle.js +1 -1
  32. package/lib/icon/close-line.js +1 -1
  33. package/lib/icon/close.js +1 -1
  34. package/lib/icon/code.js +1 -1
  35. package/lib/icon/cog-shape.js +1 -1
  36. package/lib/icon/collapse-left.js +1 -1
  37. package/lib/icon/copy.js +1 -1
  38. package/lib/icon/data-shape.js +1 -1
  39. package/lib/icon/del.js +1 -1
  40. package/lib/icon/doc-fill.js +1 -1
  41. package/lib/icon/done.js +1 -1
  42. package/lib/icon/down-shape.js +1 -1
  43. package/lib/icon/down-small.js +1 -1
  44. package/lib/icon/edit-line.js +1 -1
  45. package/lib/icon/ellipsis.js +1 -1
  46. package/lib/icon/error.js +1 -1
  47. package/lib/icon/excel-fill.js +1 -1
  48. package/lib/icon/exclamation-circle-shape.js +1 -1
  49. package/lib/icon/eye.js +1 -1
  50. package/lib/icon/folder-open.js +1 -1
  51. package/lib/icon/folder-shape-open.js +1 -1
  52. package/lib/icon/folder-shape.js +1 -1
  53. package/lib/icon/folder.js +1 -1
  54. package/lib/icon/help-document-fill.js +1 -1
  55. package/lib/icon/help-fill.js +1 -1
  56. package/lib/icon/help.js +1 -1
  57. package/lib/icon/image-fill.js +1 -1
  58. package/lib/icon/index.js +1 -1
  59. package/lib/icon/info-line.js +1 -1
  60. package/lib/icon/info.js +1 -1
  61. package/lib/icon/left-shape.js +1 -1
  62. package/lib/icon/pdf-fill.js +1 -1
  63. package/lib/icon/play-shape.js +1 -1
  64. package/lib/icon/plus.js +1 -1
  65. package/lib/icon/ppt-fill.js +1 -1
  66. package/lib/icon/qq.js +1 -1
  67. package/lib/icon/right-shape.js +1 -1
  68. package/lib/icon/search.js +1 -1
  69. package/lib/icon/share.js +1 -1
  70. package/lib/icon/spinner.js +1 -1
  71. package/lib/icon/success.js +1 -1
  72. package/lib/icon/switcher-loading.js +1 -1
  73. package/lib/icon/text-file.js +1 -1
  74. package/lib/icon/text-fill.js +1 -1
  75. package/lib/icon/tree-application-shape.js +1 -1
  76. package/lib/icon/unvisible.js +1 -1
  77. package/lib/icon/up-shape.js +1 -1
  78. package/lib/icon/upload.js +1 -1
  79. package/lib/icon/video-fill.js +1 -1
  80. package/lib/icon/warn.js +1 -1
  81. package/lib/icon/weixin.js +1 -1
  82. package/lib/message/index.js +1 -1
  83. package/lib/message/message.css +5 -0
  84. package/lib/message/message.less +6 -0
  85. package/lib/message/message.variable.css +5 -0
  86. package/lib/message/messageConstructor.d.ts +3 -0
  87. package/lib/modal/index.d.ts +45 -74
  88. package/lib/modal/index.js +1 -1
  89. package/lib/modal/modal.css +1 -6
  90. package/lib/modal/modal.d.ts +13 -28
  91. package/lib/modal/modal.less +1 -7
  92. package/lib/modal/modal.variable.css +1 -6
  93. package/lib/modal/props.mixin.d.ts +1 -11
  94. package/lib/notify/index.js +1 -1
  95. package/lib/popover2/index.d.ts +3 -3
  96. package/lib/popover2/index.js +1 -1
  97. package/lib/popover2/popover2.css +3 -2
  98. package/lib/popover2/popover2.d.ts +1 -1
  99. package/lib/popover2/popover2.less +2 -1
  100. package/lib/popover2/popover2.variable.css +3 -2
  101. package/lib/popover2/root.d.ts +16 -0
  102. package/lib/popover2/use-floating.d.ts +4 -1
  103. package/lib/popover2/use-popper-id.d.ts +4 -2
  104. package/lib/select/common.d.ts +3 -3
  105. package/lib/select/index.d.ts +39 -42
  106. package/lib/select/index.js +1 -1
  107. package/lib/select/select.d.ts +14 -15
  108. package/lib/select/selectTagInput.d.ts +5 -5
  109. package/lib/select/type.d.ts +8 -11
  110. package/lib/sideslider/index.d.ts +15 -61
  111. package/lib/sideslider/sideslider.d.ts +5 -27
  112. package/lib/table/index.js +1 -1
  113. package/lib/table/plugins/head-filter.css +8 -8
  114. package/lib/table/plugins/head-filter.less +62 -57
  115. package/lib/table/plugins/head-filter.variable.css +8 -8
  116. package/lib/table/table.css +9 -11
  117. package/lib/table/table.less +15 -18
  118. package/lib/table/table.variable.css +9 -11
  119. package/lib/timeline/index.js +1 -1
  120. package/package.json +1 -1
@@ -10,7 +10,7 @@ export declare const propsMixin: {
10
10
  height: import("vue-types").VueTypeDef<string | number> & {
11
11
  default: string | number;
12
12
  };
13
- customClass: (import("vue-types").VueTypeValidableDef<string> & {
13
+ extCls: (import("vue-types").VueTypeValidableDef<string> & {
14
14
  default: string;
15
15
  }) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
16
16
  default: () => unknown[];
@@ -35,21 +35,11 @@ export declare const propsMixin: {
35
35
  } & {
36
36
  default: boolean;
37
37
  };
38
- maskClose: import("vue-types").VueTypeValidableDef<boolean> & {
39
- default: boolean;
40
- } & {
41
- default: boolean;
42
- };
43
38
  fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
44
39
  default: boolean;
45
40
  } & {
46
41
  default: boolean;
47
42
  };
48
- extCls: import("vue-types").VueTypeValidableDef<string> & {
49
- default: string;
50
- } & {
51
- default: string;
52
- };
53
43
  size: import("vue-types").VueTypeDef<string> & {
54
44
  default: string;
55
45
  };
@@ -1 +1 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("vue"),require("../icon"),require("../shared"));else if("function"==typeof define&&define.amd)define(["vue","../icon","../shared"],t);else{var o="object"==typeof exports?t(require("vue"),require("../icon"),require("../shared")):t(e.vue,e["../icon"],e["../shared"]);for(var r in o)("object"==typeof exports?exports:e)[r]=o[r]}}(self,((e,t,o)=>(()=>{"use strict";var r={6870:e=>{e.exports=t},4212:e=>{e.exports=o},748:t=>{t.exports=e}},n={};function s(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return r[e](o,o.exports,s),o.exports}s.d=(e,t)=>{for(var o in t)s.o(t,o)&&!s.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{s.r(i),s.d(i,{default:()=>l});var e=s(748),t={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},o=1;function r(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var n=s(6870),a=s(4212),f={id:a.PropTypes.string.def(""),title:a.PropTypes.string.def(""),message:a.PropTypes.string.def(""),theme:a.PropTypes.theme(["primary","warning","success","error"]).def("primary"),position:a.PropTypes.position().def("top-right"),delay:a.PropTypes.number.def(5e3),dismissable:a.PropTypes.bool.def(!0),offsetX:a.PropTypes.number.def(100),offsetY:a.PropTypes.number.def(30),spacing:a.PropTypes.number.def(10),extCls:a.PropTypes.string.def(""),onClose:a.PropTypes.func};const c=(0,e.defineComponent)({name:"Notify",props:f,emits:["destory"],setup:function(t,o){var n=o.emit,s=a.bkZIndexManager.getMessageNextIndex(),i=(0,e.computed)((function(){return t.position.indexOf("right")>1?"right":"left"})),f=(0,e.computed)((function(){return t.position.startsWith("top")?"top":"bottom"})),c=(0,e.computed)((function(){var e;return r(e={},i.value,"".concat(t.offsetX,"px")),r(e,f.value,"".concat(t.offsetY,"px")),r(e,"zIndex",s),e})),l=(0,e.computed)((function(){return["bk-notify","bk-notify-".concat(t.theme),i.value]})),u=(0,e.ref)(!1),p=null;return(0,e.onMounted)((function(){t.delay&&(p=setTimeout((function(){u.value=!1}),t.delay)),u.value=!0})),(0,e.onUnmounted)((function(){clearTimeout(p)})),(0,e.watch)(u,(function(){u.value||n("destory",t.id)})),{classNames:l,styles:c,visible:u,handleClose:function(){u.value=!1}}},render:function(){var t=this;return(0,e.createVNode)(e.Transition,{name:"bk-notify-fade"},{default:function(){return[(0,e.withDirectives)((0,e.createVNode)("div",{class:t.classNames,style:t.styles},[(0,e.createVNode)("div",{class:"bk-notify-content"},[(0,e.createVNode)("div",{class:"bk-notify-icon"},[{primary:(0,e.createVNode)(n.Info,null,null),warning:(0,e.createVNode)(n.Warn,null,null),success:(0,e.createVNode)(n.Success,null,null),error:(0,e.createVNode)(n.Close,null,null)}[t.theme]]),t.title?(0,e.createVNode)("h3",{class:"bk-notify-content-header"},[t.title]):"",(0,e.createVNode)("div",{class:"bk-notify-content-text"},[t.message])]),t.dismissable&&(0,e.createVNode)(n.Error,{class:"bk-notify-icon bk-notify-close",onClick:t.handleClose},null)]),[[e.vShow,t.visible]])]}})}}),l=function(r){!function(r,n){var s=n,i=s.position||"top-right";"string"==typeof n&&(s={message:n});var a=n.onClose,f=s.offsetX||10,c=s.offsetY||30,l=s.spacing,u=void 0===l?10:l;t[i].forEach((function(e){c+=(e.el.offsetHeight||0)+u}));var p="message_".concat(o+=1);s=Object.assign(Object.assign({},s),{offsetX:f,offsetY:c,id:p});var d=document.createElement("div"),y=(0,e.createVNode)(r,s);y.props.onDestory=function(o){!function(e,o,r,n){null==n||n();var s=o.startsWith("top")?"top":"bottom",i=-1;t[o].forEach((function(t,o){t.props.id===e&&(i=o)}));for(var a=t[o][i].el.offsetHeight,f=t[o].length,c=i;c<f;c++){var l=parseInt(t[o][c].el.style[s],10)-a-r;t[o][c].component.props.offsetY=l}t[o].splice(i,1)}(o,i,u,a),(0,e.render)(null,d)},(0,e.render)(y,d),t[i].push(y),document.body.appendChild(d.firstElementChild)}(c,r)}})(),i})()));
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("vue"),require("../shared"),require("../icon"));else if("function"==typeof define&&define.amd)define(["vue","../shared","../icon"],t);else{var o="object"==typeof exports?t(require("vue"),require("../shared"),require("../icon")):t(e.vue,e["../shared"],e["../icon"]);for(var r in o)("object"==typeof exports?exports:e)[r]=o[r]}}(self,((e,t,o)=>(()=>{"use strict";var r={6870:e=>{e.exports=o},4212:e=>{e.exports=t},748:t=>{t.exports=e}},n={};function s(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return r[e](o,o.exports,s),o.exports}s.d=(e,t)=>{for(var o in t)s.o(t,o)&&!s.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};return(()=>{s.r(i),s.d(i,{default:()=>l});var e=s(748),t=s(4212),o={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},r=1;function n(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var a=s(6870),f={id:t.PropTypes.string.def(""),title:t.PropTypes.string.def(""),message:t.PropTypes.string.def(""),theme:t.PropTypes.theme(["primary","warning","success","error"]).def("primary"),position:t.PropTypes.position().def("top-right"),delay:t.PropTypes.number.def(5e3),dismissable:t.PropTypes.bool.def(!0),offsetX:t.PropTypes.number.def(100),offsetY:t.PropTypes.number.def(30),spacing:t.PropTypes.number.def(10),extCls:t.PropTypes.string.def(""),onClose:t.PropTypes.func};const c=(0,e.defineComponent)({name:"Notify",props:f,emits:["destory"],setup:function(o,r){var s=r.emit,i=t.bkZIndexManager.getMessageNextIndex(),a=(0,e.computed)((function(){return o.position.indexOf("right")>1?"right":"left"})),f=(0,e.computed)((function(){return o.position.startsWith("top")?"top":"bottom"})),c=(0,e.computed)((function(){var e;return n(e={},a.value,"".concat(o.offsetX,"px")),n(e,f.value,"".concat(o.offsetY,"px")),n(e,"zIndex",i),e})),l=(0,e.computed)((function(){return["bk-notify","bk-notify-".concat(o.theme),a.value]})),p=(0,e.ref)(!1),u=null;return(0,e.onMounted)((function(){o.delay&&(u=setTimeout((function(){p.value=!1}),o.delay)),p.value=!0})),(0,e.onUnmounted)((function(){clearTimeout(u)})),(0,e.watch)(p,(function(){p.value||s("destory",o.id)})),{classNames:l,styles:c,visible:p,handleClose:function(){p.value=!1}}},render:function(){var t=this;return(0,e.createVNode)(e.Transition,{name:"bk-notify-fade"},{default:function(){return[(0,e.withDirectives)((0,e.createVNode)("div",{class:t.classNames,style:t.styles},[(0,e.createVNode)("div",{class:"bk-notify-content"},[(0,e.createVNode)("div",{class:"bk-notify-icon"},[{primary:(0,e.createVNode)(a.Info,null,null),warning:(0,e.createVNode)(a.Warn,null,null),success:(0,e.createVNode)(a.Success,null,null),error:(0,e.createVNode)(a.Close,null,null)}[t.theme]]),t.title?(0,e.createVNode)("h3",{class:"bk-notify-content-header"},[t.title]):"",(0,e.createVNode)("div",{class:"bk-notify-content-text"},[t.message])]),t.dismissable&&(0,e.createVNode)(a.Error,{class:"bk-notify-icon bk-notify-close",onClick:t.handleClose},null)]),[[e.vShow,t.visible]])]}})}}),l=function(n){!function(n,s){var i=s,a=i.position||"top-right";"string"==typeof s&&(i={message:s});var f=s.onClose,c=i.offsetX||10,l=i.offsetY||30,p=i.spacing,u=void 0===p?10:p;o[a].forEach((function(e){l+=(e.el.offsetHeight||0)+u}));var d="message_".concat(r+=1);i=Object.assign(Object.assign({},i),{offsetX:c,offsetY:l,id:d});var y=document.createElement("div"),m=(0,e.createVNode)(n,i);m.props.onDestory=function(t){!function(e,t,r,n){null==n||n();var s=t.startsWith("top")?"top":"bottom",i=-1;o[t].forEach((function(t,o){t.props.id===e&&(i=o)}));for(var a=o[t][i].el.offsetHeight,f=o[t].length,c=i;c<f;c++){var l=parseInt(o[t][c].el.style[s],10)-a-r;o[t][c].component.props.offsetY=l}o[t].splice(i,1)}(t,a,u,f),(0,e.render)(null,y)},(0,e.render)(m,y),o[a].push(m),(m.props.getContainer&&(0,t.isElement)(m.props.getContainer)?m.props.getContainer:document.body).appendChild(y.firstElementChild)}(c,n)}})(),i})()));
@@ -214,7 +214,7 @@ declare const BkPopover2: {
214
214
  onHide?: (...args: any[]) => any;
215
215
  onClickoutside?: (...args: any[]) => any;
216
216
  }, {
217
- boundary: string;
217
+ boundary: import("vue").Ref<any>;
218
218
  arrow: boolean;
219
219
  refReference: import("vue").Ref<any>;
220
220
  refContent: import("vue").Ref<any>;
@@ -358,7 +358,7 @@ declare const BkPopover2: {
358
358
  onHide?: (...args: any[]) => any;
359
359
  onClickoutside?: (...args: any[]) => any;
360
360
  } & import("vue").ShallowUnwrapRef<{
361
- boundary: string;
361
+ boundary: import("vue").Ref<any>;
362
362
  arrow: boolean;
363
363
  refReference: import("vue").Ref<any>;
364
364
  refContent: import("vue").Ref<any>;
@@ -463,7 +463,7 @@ declare const BkPopover2: {
463
463
  onHide?: (...args: any[]) => any;
464
464
  onClickoutside?: (...args: any[]) => any;
465
465
  }, {
466
- boundary: string;
466
+ boundary: import("vue").Ref<any>;
467
467
  arrow: boolean;
468
468
  refReference: import("vue").Ref<any>;
469
469
  refContent: import("vue").Ref<any>;
@@ -1 +1 @@
1
- !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("../directives"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../directives"],t);else{var n="object"==typeof exports?t(require("../shared"),require("vue"),require("../directives")):t(e["../shared"],e.vue,e["../directives"]);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,s=0;e.exports=function(e,t,n){var c=t&&n||0,u=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 m=void 0!==e.msecs?e.msecs:(new Date).getTime(),h=void 0!==e.nsecs?e.nsecs:s+1,v=m-a+(h-s)/1e4;if(v<0&&void 0===e.clockseq&&(d=d+1&16383),(v<0||m>a)&&void 0===e.nsecs&&(h=0),h>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");a=m,s=h,r=d;var g=(1e4*(268435455&(m+=122192928e5))+h)%4294967296;u[c++]=g>>>24&255,u[c++]=g>>>16&255,u[c++]=g>>>8&255,u[c++]=255&g;var y=m/4294967296*1e4&268435455;u[c++]=y>>>8&255,u[c++]=255&y,u[c++]=y>>>24&15|16,u[c++]=y>>>16&255,u[c++]=d>>>8|128,u[c++]=255&d;for(var w=0;w<6;++w)u[c+w]=f[w];return t||l(u)}},6426:(e,t,n)=>{var o=n(9157),r=n(8725);e.exports=function(e,t,n){var i=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var l=(e=e||{}).random||(e.rng||o)();if(l[6]=15&l[6]|64,l[8]=63&l[8]|128,t)for(var a=0;a<16;++a)t[i+a]=l[a];return t||r(l)}},4061:e=>{"use strict";e.exports=n},4212:t=>{"use strict";t.exports=e},748:e=>{"use strict";e.exports=t}},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";i.r(l),i.d(l,{default:()=>we});var e=i(4212);function t(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 n(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i=[],l=!0,a=!1;try{for(n=n.call(e);!(l=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==n.return||n.return()}finally{if(a)throw r}}return i}}(e,n)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?t(e,n):void 0}}(e,n)||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 o=i(748),r=i(4061);const a=(0,o.defineComponent)({name:"PopArrow",render:function(){var t=(0,e.resolveClassName)("pop2-arrow");return(0,o.createVNode)("div",{class:t},null)}});function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c,u,f=function(){return!0};!function(e){e.SHOW="show",e.HIDE="hide",e.CLICK_OUTSIDE="clickoutside"}(u||(u={}));var d=(s(c={},u.SHOW,f),s(c,u.HIDE,f),s(c,u.CLICK_OUTSIDE,f),c);const p=(0,o.defineComponent)({name:"PopContent",props:{width:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def("auto"),height:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def("auto")},setup:function(e){var t=function(e){return/^\d+\.?\d*$/.test("".concat(e))?"".concat(e,"px"):e};return{style:(0,o.computed)((function(){return{width:t(e.width),height:t(e.height)}}))}},render:function(){var t,n,r,i,l,a,s=[(0,e.resolveClassName)("popover2"),(0,e.resolveClassName)("pop2-content")];return(0,o.createVNode)("div",{class:s,tabindex:"-1",style:this.style},[null!==(r=null===(n=(t=this.$slots).default)||void 0===n?void 0:n.call(t))&&void 0!==r?r:"",null!==(a=null===(l=(i=this.$slots).arrow)||void 0===l?void 0:l.call(i))&&void 0!==a?a:""])}});var m={onAfterHidden:Function,onAfterShow:Function},h=Object.assign({isShow:e.PropTypes.bool.def(!1),always:e.PropTypes.bool.def(!1),disabled:e.PropTypes.bool.def(!1),width:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def("auto"),height:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def("auto"),content:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def(""),placement:e.PropTypes.placement(["auto","auto-start","auto-end","top","top-start","top-end","bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end"]).def("top"),theme:e.PropTypes.string.def("dark"),trigger:e.PropTypes.string.def("hover"),arrow:e.PropTypes.bool.def(!0),padding:e.PropTypes.number.def(5),offset:e.PropTypes.number.def(6),boundary:e.PropTypes.string.def(void 0),zIndex:e.PropTypes.number.def(void 0),disableTeleport:e.PropTypes.bool.def(!1),autoPlacement:e.PropTypes.bool.def(!1),autoVisibility:e.PropTypes.bool.def(!0),disableOutsideClick:e.PropTypes.bool.def(!1)},m);const v=(0,o.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:""}});function g(e){return e.split("-")[0]}function y(e){return e.split("-")[1]}function w(e){return["top","bottom"].includes(g(e))?"x":"y"}function b(e){return"y"===e?"height":"width"}function x(e,t,n){let{reference:o,floating:r}=e;const i=o.x+o.width/2-r.width/2,l=o.y+o.height/2-r.height/2,a=w(t),s=b(a),c=o[s]/2-r[s]/2,u="x"===a;let f;switch(g(t)){case"top":f={x:i,y:o.y-r.height};break;case"bottom":f={x:i,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:l};break;case"left":f={x:o.x-r.width,y:l};break;default:f={x:o.x,y:o.y}}switch(y(t)){case"start":f[a]-=c*(n&&u?-1:1);break;case"end":f[a]+=c*(n&&u?-1:1)}return f}function T(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 P(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function R(e,t){var n;void 0===t&&(t={});const{x:o,y:r,platform:i,rects:l,elements:a,strategy:s}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=t,m=T(p),h=a[d?"floating"===f?"reference":"floating":f],v=P(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(h)))||n?h:h.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:s})),g=P(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:"floating"===f?{...l.floating,x:o,y:r}:l.reference,offsetParent:await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),strategy:s}):l[f]);return{top:v.top-g.top+m.top,bottom:g.bottom-v.bottom+m.bottom,left:v.left-g.left+m.left,right:g.right-v.right+m.right}}const C=Math.min,O=Math.max;function A(e,t,n){return O(e,C(t,n))}const E=e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:o=0}=null!=e?e:{},{x:r,y:i,placement:l,rects:a,platform:s}=t;if(null==n)return{};const c=T(o),u={x:r,y:i},f=w(l),d=y(l),p=b(f),m=await s.getDimensions(n),h="y"===f?"top":"left",v="y"===f?"bottom":"right",g=a.reference[p]+a.reference[f]-u[f]-a.floating[p],x=u[f]-a.reference[f],P=await(null==s.getOffsetParent?void 0:s.getOffsetParent(n));let R=P?"y"===f?P.clientHeight||0:P.clientWidth||0:0;0===R&&(R=a.floating[p]);const C=g/2-x/2,O=c[h],E=R-m[p]-c[v],S=R/2-m[p]/2+C,L=A(O,S,E),H=("start"===d?c[h]:c[v])>0&&S!==L&&a.reference[p]<=a.floating[p];return{[f]:u[f]-(H?S<O?O-S:E-S:0),data:{[f]:L,centerOffset:S-L}}}}),S={left:"right",right:"left",bottom:"top",top:"bottom"};function L(e){return e.replace(/left|right|bottom|top/g,(e=>S[e]))}function H(e,t,n){void 0===n&&(n=!1);const o=y(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=L(l)),{main:l,cross:L(l)}}const k={start:"end",end:"start"};function D(e){return e.replace(/start|end/g,(e=>k[e]))}const V=["top","right","bottom","left"],I=V.reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[]);function N(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 V.some((t=>e[t]>=0))}const M=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=g(n),a=y(n),s="x"===w(n),c=["left","top"].includes(l)?-1:1,u=i&&s?-1:1,f="function"==typeof t?t(e):t;let{mainAxis:d,crossAxis:p,alignmentAxis:m}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return a&&"number"==typeof m&&(p="end"===a?-1*m:m),s?{x:p*u,y:d*c}:{x:d*c,y:p*u}}(t,e);return{x:n+r.x,y:o+r.y,data:r}}}};const W=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}}},...s}=e,c={x:n,y:o},u=await R(t,s),f=w(g(r)),d=function(e){return"x"===e?"y":"x"}(f);let p=c[f],m=c[d];if(i){const e="y"===f?"bottom":"right";p=A(p+u["y"===f?"top":"left"],p,p-u[e])}if(l){const e="y"===d?"bottom":"right";m=A(m+u["y"===d?"top":"left"],m,m-u[e])}const h=a.fn({...t,[f]:p,[d]:m});return{...h,data:{x:h.x-n,y:h.y-o}}}}};function $(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function q(e){if(null==e)return window;if(!$(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function B(e){return q(e).getComputedStyle(e)}function F(e){return $(e)?"":e?(e.nodeName||"").toLowerCase():""}function z(){const e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((e=>e.brand+"/"+e.version)).join(" "):navigator.userAgent}function U(e){return e instanceof q(e).HTMLElement}function _(e){return e instanceof q(e).Element}function K(e){return"undefined"!=typeof ShadowRoot&&(e instanceof q(e).ShadowRoot||e instanceof ShadowRoot)}function X(e){const{overflow:t,overflowX:n,overflowY:o}=B(e);return/auto|scroll|overlay|hidden/.test(t+o+n)}function Y(e){return["table","td","th"].includes(F(e))}function Z(e){const t=/firefox/i.test(z()),n=B(e);return"none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||["transform","perspective"].includes(n.willChange)||t&&"filter"===n.willChange||t&&!!n.filter&&"none"!==n.filter}function G(){return!/^((?!chrome|android).)*safari/i.test(z())}const J=Math.min,Q=Math.max,ee=Math.round;function te(e,t,n){var o,r,i,l;void 0===t&&(t=!1),void 0===n&&(n=!1);const a=e.getBoundingClientRect();let s=1,c=1;t&&U(e)&&(s=e.offsetWidth>0&&ee(a.width)/e.offsetWidth||1,c=e.offsetHeight>0&&ee(a.height)/e.offsetHeight||1);const u=_(e)?q(e):window,f=!G()&&n,d=(a.left+(f&&null!=(o=null==(r=u.visualViewport)?void 0:r.offsetLeft)?o:0))/s,p=(a.top+(f&&null!=(i=null==(l=u.visualViewport)?void 0:l.offsetTop)?i:0))/c,m=a.width/s,h=a.height/c;return{width:m,height:h,top:p,right:d+m,bottom:p+h,left:d,x:d,y:p}}function ne(e){return(t=e,(t instanceof q(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function oe(e){return _(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function re(e){return te(ne(e)).left+oe(e).scrollLeft}function ie(e,t,n){const o=U(t),r=ne(t),i=te(e,o&&function(e){const t=te(e);return ee(t.width)!==e.offsetWidth||ee(t.height)!==e.offsetHeight}(t),"fixed"===n);let l={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(o||!o&&"fixed"!==n)if(("body"!==F(t)||X(r))&&(l=oe(t)),U(t)){const e=te(t,!0);a.x=e.x+t.clientLeft,a.y=e.y+t.clientTop}else r&&(a.x=re(r));return{x:i.left+l.scrollLeft-a.x,y:i.top+l.scrollTop-a.y,width:i.width,height:i.height}}function le(e){return"html"===F(e)?e:e.assignedSlot||e.parentNode||(K(e)?e.host:null)||ne(e)}function ae(e){return U(e)&&"fixed"!==getComputedStyle(e).position?e.offsetParent:null}function se(e){const t=q(e);let n=ae(e);for(;n&&Y(n)&&"static"===getComputedStyle(n).position;)n=ae(n);return n&&("html"===F(n)||"body"===F(n)&&"static"===getComputedStyle(n).position&&!Z(n))?t:n||function(e){let t=le(e);for(K(t)&&(t=t.host);U(t)&&!["html","body"].includes(F(t));){if(Z(t))return t;t=t.parentNode}return null}(e)||t}function ce(e){if(U(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=te(e);return{width:t.width,height:t.height}}function ue(e){const t=le(e);return["html","body","#document"].includes(F(t))?e.ownerDocument.body:U(t)&&X(t)?t:ue(t)}function fe(e,t){var n;void 0===t&&(t=[]);const o=ue(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=q(o),l=r?[i].concat(i.visualViewport||[],X(o)?o:[]):o,a=t.concat(l);return r?a:a.concat(fe(l))}function de(e,t,n){return"viewport"===t?P(function(e,t){const n=q(e),o=ne(e),r=n.visualViewport;let i=o.clientWidth,l=o.clientHeight,a=0,s=0;if(r){i=r.width,l=r.height;const e=G();(e||!e&&"fixed"===t)&&(a=r.offsetLeft,s=r.offsetTop)}return{width:i,height:l,x:a,y:s}}(e,n)):_(t)?function(e,t){const n=te(e,!1,"fixed"===t),o=n.top+e.clientTop,r=n.left+e.clientLeft;return{top:o,left:r,x:r,y:o,right:r+e.clientWidth,bottom:o+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}(t,n):P(function(e){var t;const n=ne(e),o=oe(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=Q(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),l=Q(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let a=-o.scrollLeft+re(e);const s=-o.scrollTop;return"rtl"===B(r||n).direction&&(a+=Q(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:l,x:a,y:s}}(ne(e)))}function pe(e){const t=fe(e),n=["absolute","fixed"].includes(B(e).position)&&U(e)?se(e):e;return _(n)?t.filter((e=>_(e)&&function(e,t){const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&K(n)){let n=t;do{if(n&&e===n)return!0;n=n.parentNode||n.host}while(n)}return!1}(e,n)&&"body"!==F(e))):[]}const me={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const i=[..."clippingAncestors"===n?pe(t):[].concat(n),o],l=i[0],a=i.reduce(((e,n)=>{const o=de(t,n,r);return e.top=Q(o.top,e.top),e.right=J(o.right,e.right),e.bottom=J(o.bottom,e.bottom),e.left=Q(o.left,e.left),e}),de(t,l,r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:o}=e;const r=U(n),i=ne(n);if(n===i)return t;let l={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if((r||!r&&"fixed"!==o)&&(("body"!==F(n)||X(i))&&(l=oe(n)),U(n))){const e=te(n,!0);a.x=e.x+n.clientLeft,a.y=e.y+n.clientTop}return{...t,x:t.x-l.scrollLeft+a.x,y:t.y-l.scrollTop+a.y}},isElement:_,getDimensions:ce,getOffsetParent:se,getDocumentElement:ne,getElementRects:e=>{let{reference:t,floating:n,strategy:o}=e;return{reference:ie(t,se(n),o),floating:{...ce(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===B(e).direction},he=function(t,r,i,l,a){var c=(0,o.ref)(!1),u=["dark","light"],f=(0,o.computed)((function(){var e=t.theme.split(/\s+/);return e.sort((function(e,t){return Number(u.includes(t))-Number(u.includes(e))})),{systemThemes:e,customThemes:e.filter((function(e){return!u.includes(e)}))}})),d=function(){var e,n,o;return{elReference:p(null===(e=i.value)||void 0===e?void 0:e.$el),elContent:p(null===(n=l.value)||void 0===n?void 0:n.$el),elArrow:t.arrow?p(null===(o=a.value)||void 0===o?void 0:o.$el):null}},p=function e(t){return t instanceof HTMLElement?t:t instanceof Text?e(t.nextElementSibling):null},m=f.value.customThemes.join(" "),h=f.value.customThemes.reduce((function(e,t){return Object.assign(s({},"data-".concat(t,"-theme"),!0),e)}),{}),v="".concat(m),b=null,A=function(e){var t=window.devicePixelRatio||1;return Math.round(e*t)/t||0},S=function(){return null!==document.fullscreenElement},k=function(){var e=d(),o=e.elReference,r=e.elContent,i=e.elArrow,l=function(e){var n=[M(t.offset),W({padding:t.padding}),E({element:e})],o={placement:t.placement,middleware:n};return t.autoPlacement?n.push(function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,o,r,i,l;const{x:a,y:s,rects:c,middlewareData:u,placement:f,platform:d,elements:p}=t,{alignment:m=null,allowedPlacements:h=I,autoAlignment:v=!0,...w}=e,b=function(e,t,n){return(e?[...n.filter((t=>y(t)===e)),...n.filter((t=>y(t)!==e))]:n.filter((e=>g(e)===e))).filter((n=>!e||y(n)===e||!!t&&D(n)!==n))}(m,v,h),x=await R(t,w),T=null!=(n=null==(o=u.autoPlacement)?void 0:o.index)?n:0,P=b[T];if(null==P)return{};const{main:C,cross:O}=H(P,c,await(null==d.isRTL?void 0:d.isRTL(p.floating)));if(f!==P)return{x:a,y:s,reset:{placement:b[0]}};const A=[x[g(P)],x[C],x[O]],E=[...null!=(r=null==(i=u.autoPlacement)?void 0:i.overflows)?r:[],{placement:P,overflows:A}],S=b[T+1];if(S)return{data:{index:T+1,overflows:E},reset:{placement:S}};const L=E.slice().sort(((e,t)=>e.overflows[0]-t.overflows[0])),k=null==(l=L.find((e=>{let{overflows:t}=e;return t.every((e=>e<=0))})))?void 0:l.placement,V=null!=k?k:L[0].placement;return V!==f?{data:{index:T+1,overflows:E},reset:{placement:V}}:{}}}}()):(n.unshift(function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){var n;const{placement:o,elements:r,rects:i,platform:l,strategy:a}=t,{padding:s=2,x:c,y:u}=e,f=P(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({rect:i.reference,offsetParent:await(null==l.getOffsetParent?void 0:l.getOffsetParent(r.floating)),strategy:a}):i.reference),d=null!=(n=await(null==l.getClientRects?void 0:l.getClientRects(r.reference)))?n:[],p=T(s),m=await l.getElementRects({reference:{getBoundingClientRect:function(){var e;if(2===d.length&&d[0].left>d[1].right&&null!=c&&null!=u)return null!=(e=d.find((e=>c>e.left-p.left&&c<e.right+p.right&&u>e.top-p.top&&u<e.bottom+p.bottom)))?e:f;if(d.length>=2){if("x"===w(o)){const e=d[0],t=d[d.length-1],n="top"===g(o),r=e.top,i=t.bottom,l=n?e.left:t.left,a=n?e.right:t.right;return{top:r,bottom:i,left:l,right:a,width:a-l,height:i-r,x:l,y:r}}const e="left"===g(o),t=O(...d.map((e=>e.right))),n=C(...d.map((e=>e.left))),r=d.filter((o=>e?o.left===n:o.right===t)),i=r[0].top,l=r[r.length-1].bottom;return{top:i,bottom:l,left:n,right:t,width:t-n,height:l-i,x:n,y:i}}return f}},floating:r.floating,strategy:a});return i.reference.x!==m.reference.x||i.reference.y!==m.reference.y||i.reference.width!==m.reference.width||i.reference.height!==m.reference.height?{reset:{rects:m}}:{}}}}()),n.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:s}=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",flipAlignment:p=!0,...m}=e,h=g(o),v=f||(h!==l&&p?function(e){const t=L(e);return[D(e),t,D(t)]}(l):[L(l)]),y=[l,...v],w=await R(t,m),b=[];let x=(null==(n=r.flip)?void 0:n.overflows)||[];if(c&&b.push(w[h]),u){const{main:e,cross:t}=H(o,i,await(null==a.isRTL?void 0:a.isRTL(s.floating)));b.push(w[e],w[t])}if(x=[...x,{placement:o,overflows:b}],!b.every((e=>e<=0))){var T,P;const e=(null!=(T=null==(P=r.flip)?void 0:P.index)?T:0)+1,t=y[e];if(t)return{data:{index:e,overflows:x},reset:{placement:t}};let n="bottom";switch(d){case"bestFit":{var C;const e=null==(C=x.map((e=>[e,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:C[0].placement;e&&(n=e);break}case"initialPlacement":n=l}if(o!==n)return{reset:{placement:n}}}return{}}}}())),t.autoVisibility&&o.middleware.push(function(e){let{strategy:t="referenceHidden",...n}={};return{name:"hide",async fn(e){const{rects:o}=e;switch(t){case"referenceHidden":{const t=N(await R(e,{...n,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:j(t)}}}case"escaped":{const t=N(await R(e,{...n,altBoundary:!0}),o.floating);return{data:{escapedOffsets:t,escaped:j(t)}}}default:return{}}}}}()),o}(i);b=function(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:l=!0,animationFrame:a=!1}=o,s=r&&!a,c=i&&!a,u=s||c?[..._(e)?fe(e):[],...fe(t)]:[];u.forEach((e=>{s&&e.addEventListener("scroll",n,{passive:!0}),c&&e.addEventListener("resize",n)}));let f,d=null;l&&(d=new ResizeObserver(n),_(e)&&!a&&d.observe(e),d.observe(t));let p=a?te(e):null;return a&&function t(){const o=te(e);!p||o.x===p.x&&o.y===p.y&&o.width===p.width&&o.height===p.height||n(),p=o,f=requestAnimationFrame(t)}(),l||n(),()=>{var e;u.forEach((e=>{s&&e.removeEventListener("scroll",n),c&&e.removeEventListener("resize",n)})),null==(e=d)||e.disconnect(),d=null,a&&cancelAnimationFrame(f)}}(o,r,(function(){((e,t,n)=>(async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:l}=n,a=await(null==l.isRTL?void 0:l.isRTL(t));let s=await l.getElementRects({reference:e,floating:t,strategy:r}),{x:c,y:u}=x(s,o,a),f=o,d={};for(let n=0;n<i.length;n++){const{name:p,fn:m}=i[n],{x:h,y:v,data:g,reset:y}=await m({x:c,y:u,initialPlacement:o,placement:f,strategy:r,middlewareData:d,rects:s,platform:l,elements:{reference:e,floating:t}});c=null!=h?h:c,u=null!=v?v:u,d={...d,[p]:{...d[p],...g}},y&&("object"==typeof y&&(y.placement&&(f=y.placement),y.rects&&(s=!0===y.rects?await l.getElementRects({reference:e,floating:t,strategy:r}):y.rects),({x:c,y:u}=x(s,f,a))),n=-1)}return{x:c,y:u,placement:f,strategy:r,middlewareData:d}})(e,t,{platform:me,...n}))(o,r,l).then((function(e){var l=e.x,a=e.y,c=e.placement,u=e.middlewareData,f=r.className;r.className="".concat(f.replace(v,"")," ").concat(v).replace(/\s+/gm," ").replace(/^\s+|\s+$/g,""),Object.keys(h).forEach((function(e){r.setAttribute(e,h[e])}));var d=c.split("-")[0],p=d;["left","right","top","bottom"].includes(d)||(p="top"),function(e,n,o,r,i,l){var a,s,c=l.getBoundingClientRect(),u=c.left,f=c.top;if(Object.assign(e.style,{left:"0",top:"0",transform:"translate3d(".concat(S()?(s=n,["left","right"].includes(r)?A(s):u):A(n),"px,").concat(S()?(a=o,["top","bottom"].includes(r)?A(a):f):A(o),"px,0)")}),t.autoVisibility){var d=i.hide.referenceHidden;Object.assign(e.style,{visibility:d?"hidden":"visible"})}}(r,l,a,p,u,o),function(e,o,r,i){var l=i.getBoundingClientRect(),a=l.left,c=l.top,u=l.bottom,f=l.right;if(t.arrow){var d,p=r.arrow,m=p.x,h=p.y,v={top:1,right:-1,bottom:-1,left:1}[o],g=function(e,t,n){var r,i;return[e,null!==(i=null===(r={x:{left:"right",right:"left"},y:{top:"bottom",bottom:"top"}}[t])||void 0===r?void 0:r[o])&&void 0!==i?i:n]},y=function(e){if(S()){if(["left","right"].includes(o))return A((u-c)/2)-2;if(["top","bottom"].includes(o))return A((f-a)/2)-2}return V(e)?A(e):0};e.setAttribute("data-arrow",o);var w=n(g(["left","right"].includes(o)?4*v:y(m),"x","left"),2),b=w[0],x=w[1],T=n(g(["top","bottom"].includes(o)?4*v:y(h),"y","top"),2),P=T[0],R=T[1];Object.assign(e.style,(s(d={},x,"0"),s(d,R,"0"),s(d,"transform","translate(".concat(b,"px,").concat(P,"px) rotate(45deg)")),d))}}(i,p,u,o)}))}))},V=function(e){return/^-?\d+\.?\d*$/.test("".concat(e))},$=function(){c.value=!0},q=function(){c.value=!1},B=function(){c.value?q():$()},F=function(e){e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault(),B()};return(0,o.watch)(c,(function(n){var o,i;n?((i=p(null===(o=l.value)||void 0===o?void 0:o.$el)).style.setProperty("display","block"),i.style.setProperty("z-index","".concat(t.zIndex?t.zIndex:e.bkZIndexManager.getModalNextIndex())),k(),r.emit("afterShow",{isSHow:!0})):function(){var e;p(null===(e=l.value)||void 0===e?void 0:e.$el).style.setProperty("display","none"),r.emit("afterHidden",{isSHow:!1})}()})),{showPopover:$,hidePopover:q,resolveTriggerEvents:function(){var e;return null!==(e={hover:[["mouseenter",$],["mouseleave",q],["focus",$],["blur",q]],click:[["click",F]],manual:[[]]}[t.trigger])&&void 0!==e?e:[]},updatePopover:k,triggerPopover:B,resolvePopElements:d,isElementFullScreen:S,localIsShow:c,cleanup:b}};var ve=i(8022),ge=null;const ye=(0,o.defineComponent)({name:"Popover2",components:{Content:p,Arrow:a},directives:{clickoutside:r.clickoutside},props:h,emits:d,setup:function(e,t){var r=e.content,i=e.theme,l=e.width,a=e.height,s=e.disableTeleport,c=(0,o.ref)(),f=(0,o.ref)(),d=(0,o.ref)(),p=null,m=he(e,t,c,f,d),h=m.localIsShow,v=m.showPopover,g=m.hidePopover,y=m.resolveTriggerEvents,w=m.updatePopover,b=m.resolvePopElements,x=m.isElementFullScreen,T=m.cleanup,P=function(){g()},R=function(){w(),e.always?v():C()};e.always||e.disabled||(0,o.watch)((function(){return e.isShow}),(function(){e.isShow?v():g()}),{immediate:!0}),(0,o.watch)((function(){return[e.disabled]}),(function(e){e[0]?R():O()}));var C=function(){var e=b().elReference;(p=y()).forEach((function(t){var o=n(t,2),r=o[0],i=o[1];e.addEventListener(r,i)}))},O=function(){"function"==typeof T&&T(),function(){if(null==p?void 0:p.length){var e=b().elReference;e&&p.forEach((function(t){var o=n(t,2),r=o[0],i=o[1];e.removeEventListener(r,i)})),p=null}}()};(0,o.onMounted)((function(){e.disabled||R()})),(0,o.onUnmounted)((function(){O()})),t.expose({show:function(){v()},hide:P});var A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"#",t=function(){return"".concat(e).concat(ge)},n=function(){return document.querySelector(t())instanceof HTMLElement};if(null===ge||!n()){ge="id_".concat((0,ve.v4)());var o=document.createElement("div");o.setAttribute("id",ge),o.setAttribute("data-popper-id",ge),document.body.append(o)}return{popContainerId:ge,prefixId:t()}}(),E=A.prefixId,S="string"==typeof e.boundary?e.boundary:E,L=(0,o.computed)((function(){return!x()&&!s}));return{boundary:S,arrow:e.arrow,refReference:c,refContent:f,refArrow:d,content:r,theme:i,transBoundary:L,width:l,height:a,handleClickOutside:function(n){t.emit(u.CLICK_OUTSIDE,{isShow:h.value}),e.disableOutsideClick||e.always||e.disabled||"manual"===e.trigger||h.value&&P()}}},render:function(){var e,t,n,r,i,l,s=this;return(0,o.createVNode)(o.Fragment,null,[(0,o.createVNode)(v,{ref:"refReference"},{default:function(){return[null!==(n=null===(t=(e=s.$slots).default)||void 0===t?void 0:t.call(e))&&void 0!==n?n:(0,o.createVNode)("span",null,null)]}}),(0,o.createVNode)(o.Teleport,{to:this.boundary,disabled:!this.transBoundary},{default:function(){return[(0,o.withDirectives)((0,o.createVNode)(p,{ref:"refContent","data-theme":s.theme,width:s.width,height:s.height},{default:function(){return[null!==(l=null===(i=(r=s.$slots).content)||void 0===i?void 0:i.call(r))&&void 0!==l?l:s.content]},arrow:function(){var e,t;return s.arrow?(0,o.createVNode)(a,{ref:"refArrow"},{default:function(){return[null===(t=(e=s.$slots).arrow)||void 0===t?void 0:t.call(e)]}}):""}}),[[(0,o.resolveDirective)("clickoutside"),s.handleClickOutside]])]}})])}}),we=(0,e.withInstall)(ye)})(),l})()));
1
+ !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("../shared"),require("vue"),require("../directives"));else if("function"==typeof define&&define.amd)define(["../shared","vue","../directives"],t);else{var n="object"==typeof exports?t(require("../shared"),require("vue"),require("../directives")):t(e["../shared"],e.vue,e["../directives"]);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,c=0;e.exports=function(e,t,n){var s=t&&n||0,u=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 m=void 0!==e.msecs?e.msecs:(new Date).getTime(),v=void 0!==e.nsecs?e.nsecs:c+1,h=m-a+(v-c)/1e4;if(h<0&&void 0===e.clockseq&&(d=d+1&16383),(h<0||m>a)&&void 0===e.nsecs&&(v=0),v>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");a=m,c=v,r=d;var g=(1e4*(268435455&(m+=122192928e5))+v)%4294967296;u[s++]=g>>>24&255,u[s++]=g>>>16&255,u[s++]=g>>>8&255,u[s++]=255&g;var y=m/4294967296*1e4&268435455;u[s++]=y>>>8&255,u[s++]=255&y,u[s++]=y>>>24&15|16,u[s++]=y>>>16&255,u[s++]=d>>>8|128,u[s++]=255&d;for(var w=0;w<6;++w)u[s+w]=f[w];return t||l(u)}},6426:(e,t,n)=>{var o=n(9157),r=n(8725);e.exports=function(e,t,n){var i=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var l=(e=e||{}).random||(e.rng||o)();if(l[6]=15&l[6]|64,l[8]=63&l[8]|128,t)for(var a=0;a<16;++a)t[i+a]=l[a];return t||r(l)}},4061:e=>{"use strict";e.exports=n},4212:t=>{"use strict";t.exports=e},748:e=>{"use strict";e.exports=t}},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";i.r(l),i.d(l,{default:()=>xe});var e=i(4212);function t(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 n(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i=[],l=!0,a=!1;try{for(n=n.call(e);!(l=(o=n.next()).done)&&(i.push(o.value),!t||i.length!==t);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==n.return||n.return()}finally{if(a)throw r}}return i}}(e,n)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var o=Object.prototype.toString.call(e).slice(8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?Array.from(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?t(e,n):void 0}}(e,n)||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 o=i(748),r=i(4061);const a=(0,o.defineComponent)({name:"PopArrow",render:function(){var t=(0,e.resolveClassName)("pop2-arrow");return(0,o.createVNode)("div",{class:t},null)}});function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s,u,f=function(){return!0};!function(e){e.SHOW="show",e.HIDE="hide",e.CLICK_OUTSIDE="clickoutside"}(u||(u={}));var d=(c(s={},u.SHOW,f),c(s,u.HIDE,f),c(s,u.CLICK_OUTSIDE,f),s);const p=(0,o.defineComponent)({name:"PopContent",props:{width:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def("auto"),height:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def("auto")},setup:function(e){var t=function(e){return/^\d+\.?\d*$/.test("".concat(e))?"".concat(e,"px"):e};return{style:(0,o.computed)((function(){return{width:t(e.width),height:t(e.height)}}))}},render:function(){var t,n,r,i,l,a,c=[(0,e.resolveClassName)("popover2"),(0,e.resolveClassName)("pop2-content")];return(0,o.createVNode)("div",{class:c,tabindex:"-1",style:this.style},[null!==(r=null===(n=(t=this.$slots).default)||void 0===n?void 0:n.call(t))&&void 0!==r?r:"",null!==(a=null===(l=(i=this.$slots).arrow)||void 0===l?void 0:l.call(i))&&void 0!==a?a:""])}});var m={onAfterHidden:Function,onAfterShow:Function},v=Object.assign({isShow:e.PropTypes.bool.def(!1),always:e.PropTypes.bool.def(!1),disabled:e.PropTypes.bool.def(!1),width:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def("auto"),height:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def("auto"),content:e.PropTypes.oneOfType([e.PropTypes.string,e.PropTypes.number]).def(""),placement:e.PropTypes.placement(["auto","auto-start","auto-end","top","top-start","top-end","bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end"]).def("top"),theme:e.PropTypes.string.def("dark"),trigger:e.PropTypes.string.def("hover"),arrow:e.PropTypes.bool.def(!0),padding:e.PropTypes.number.def(5),offset:e.PropTypes.number.def(6),boundary:e.PropTypes.string.def(void 0),zIndex:e.PropTypes.number.def(void 0),disableTeleport:e.PropTypes.bool.def(!1),autoPlacement:e.PropTypes.bool.def(!1),autoVisibility:e.PropTypes.bool.def(!0),disableOutsideClick:e.PropTypes.bool.def(!1)},m);const h=(0,o.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:""}}),g=(0,o.defineComponent)({props:{class:e.PropTypes.string.def("")},render:function(){var e,t;return(0,o.createVNode)(o.Fragment,null,[null===(t=(e=this.$slots).default)||void 0===t?void 0:t.call(e)])}});function y(e){return e.split("-")[0]}function w(e){return e.split("-")[1]}function b(e){return["top","bottom"].includes(y(e))?"x":"y"}function x(e){return"y"===e?"height":"width"}function T(e,t,n){let{reference:o,floating:r}=e;const i=o.x+o.width/2-r.width/2,l=o.y+o.height/2-r.height/2,a=b(t),c=x(a),s=o[c]/2-r[c]/2,u="x"===a;let f;switch(y(t)){case"top":f={x:i,y:o.y-r.height};break;case"bottom":f={x:i,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:l};break;case"left":f={x:o.x-r.width,y:l};break;default:f={x:o.x,y:o.y}}switch(w(t)){case"start":f[a]-=s*(n&&u?-1:1);break;case"end":f[a]+=s*(n&&u?-1:1)}return f}function P(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 R(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function E(e,t){var n;void 0===t&&(t={});const{x:o,y:r,platform:i,rects:l,elements:a,strategy:c}=e,{boundary:s="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=t,m=P(p),v=a[d?"floating"===f?"reference":"floating":f],h=R(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(v)))||n?v:v.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:s,rootBoundary:u,strategy:c})),g=R(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:"floating"===f?{...l.floating,x:o,y:r}:l.reference,offsetParent:await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),strategy:c}):l[f]);return{top:h.top-g.top+m.top,bottom:g.bottom-h.bottom+m.bottom,left:h.left-g.left+m.left,right:g.right-h.right+m.right}}const C=Math.min,A=Math.max;function O(e,t,n){return A(e,C(t,n))}const S={left:"right",right:"left",bottom:"top",top:"bottom"};function L(e){return e.replace(/left|right|bottom|top/g,(e=>S[e]))}function H(e,t,n){void 0===n&&(n=!1);const o=w(e),r=b(e),i=x(r);let l="x"===r?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=L(l)),{main:l,cross:L(l)}}const N={start:"end",end:"start"};function k(e){return e.replace(/start|end/g,(e=>N[e]))}const I=["top","right","bottom","left"],V=I.reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[]);function D(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 I.some((t=>e[t]>=0))}const $=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=y(n),a=w(n),c="x"===b(n),s=["left","top"].includes(l)?-1:1,u=i&&c?-1:1,f="function"==typeof t?t(e):t;let{mainAxis:d,crossAxis:p,alignmentAxis:m}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return a&&"number"==typeof m&&(p="end"===a?-1*m:m),c?{x:p*u,y:d*s}:{x:d*s,y:p*u}}(t,e);return{x:n+r.x,y:o+r.y,data:r}}}};const M=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,{mainAxis:i=!0,crossAxis:l=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=e,s={x:n,y:o},u=await E(t,c),f=b(y(r)),d=function(e){return"x"===e?"y":"x"}(f);let p=s[f],m=s[d];if(i){const e="y"===f?"bottom":"right";p=O(p+u["y"===f?"top":"left"],p,p-u[e])}if(l){const e="y"===d?"bottom":"right";m=O(m+u["y"===d?"top":"left"],m,m-u[e])}const v=a.fn({...t,[f]:p,[d]:m});return{...v,data:{x:v.x-n,y:v.y-o}}}}};function W(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function q(e){if(null==e)return window;if(!W(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function F(e){return q(e).getComputedStyle(e)}function z(e){return W(e)?"":e?(e.nodeName||"").toLowerCase():""}function B(){const e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((e=>e.brand+"/"+e.version)).join(" "):navigator.userAgent}function _(e){return e instanceof q(e).HTMLElement}function U(e){return e instanceof q(e).Element}function K(e){return"undefined"!=typeof ShadowRoot&&(e instanceof q(e).ShadowRoot||e instanceof ShadowRoot)}function X(e){const{overflow:t,overflowX:n,overflowY:o}=F(e);return/auto|scroll|overlay|hidden/.test(t+o+n)}function Y(e){return["table","td","th"].includes(z(e))}function Z(e){const t=/firefox/i.test(B()),n=F(e);return"none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||["transform","perspective"].includes(n.willChange)||t&&"filter"===n.willChange||t&&!!n.filter&&"none"!==n.filter}function G(){return!/^((?!chrome|android).)*safari/i.test(B())}const J=Math.min,Q=Math.max,ee=Math.round;function te(e,t,n){var o,r,i,l;void 0===t&&(t=!1),void 0===n&&(n=!1);const a=e.getBoundingClientRect();let c=1,s=1;t&&_(e)&&(c=e.offsetWidth>0&&ee(a.width)/e.offsetWidth||1,s=e.offsetHeight>0&&ee(a.height)/e.offsetHeight||1);const u=U(e)?q(e):window,f=!G()&&n,d=(a.left+(f&&null!=(o=null==(r=u.visualViewport)?void 0:r.offsetLeft)?o:0))/c,p=(a.top+(f&&null!=(i=null==(l=u.visualViewport)?void 0:l.offsetTop)?i:0))/s,m=a.width/c,v=a.height/s;return{width:m,height:v,top:p,right:d+m,bottom:p+v,left:d,x:d,y:p}}function ne(e){return(t=e,(t instanceof q(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function oe(e){return U(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function re(e){return te(ne(e)).left+oe(e).scrollLeft}function ie(e,t,n){const o=_(t),r=ne(t),i=te(e,o&&function(e){const t=te(e);return ee(t.width)!==e.offsetWidth||ee(t.height)!==e.offsetHeight}(t),"fixed"===n);let l={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(o||!o&&"fixed"!==n)if(("body"!==z(t)||X(r))&&(l=oe(t)),_(t)){const e=te(t,!0);a.x=e.x+t.clientLeft,a.y=e.y+t.clientTop}else r&&(a.x=re(r));return{x:i.left+l.scrollLeft-a.x,y:i.top+l.scrollTop-a.y,width:i.width,height:i.height}}function le(e){return"html"===z(e)?e:e.assignedSlot||e.parentNode||(K(e)?e.host:null)||ne(e)}function ae(e){return _(e)&&"fixed"!==getComputedStyle(e).position?e.offsetParent:null}function ce(e){const t=q(e);let n=ae(e);for(;n&&Y(n)&&"static"===getComputedStyle(n).position;)n=ae(n);return n&&("html"===z(n)||"body"===z(n)&&"static"===getComputedStyle(n).position&&!Z(n))?t:n||function(e){let t=le(e);for(K(t)&&(t=t.host);_(t)&&!["html","body"].includes(z(t));){if(Z(t))return t;t=t.parentNode}return null}(e)||t}function se(e){if(_(e))return{width:e.offsetWidth,height:e.offsetHeight};const t=te(e);return{width:t.width,height:t.height}}function ue(e){const t=le(e);return["html","body","#document"].includes(z(t))?e.ownerDocument.body:_(t)&&X(t)?t:ue(t)}function fe(e,t){var n;void 0===t&&(t=[]);const o=ue(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=q(o),l=r?[i].concat(i.visualViewport||[],X(o)?o:[]):o,a=t.concat(l);return r?a:a.concat(fe(l))}function de(e,t,n){return"viewport"===t?R(function(e,t){const n=q(e),o=ne(e),r=n.visualViewport;let i=o.clientWidth,l=o.clientHeight,a=0,c=0;if(r){i=r.width,l=r.height;const e=G();(e||!e&&"fixed"===t)&&(a=r.offsetLeft,c=r.offsetTop)}return{width:i,height:l,x:a,y:c}}(e,n)):U(t)?function(e,t){const n=te(e,!1,"fixed"===t),o=n.top+e.clientTop,r=n.left+e.clientLeft;return{top:o,left:r,x:r,y:o,right:r+e.clientWidth,bottom:o+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}(t,n):R(function(e){var t;const n=ne(e),o=oe(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=Q(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),l=Q(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0);let a=-o.scrollLeft+re(e);const c=-o.scrollTop;return"rtl"===F(r||n).direction&&(a+=Q(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:l,x:a,y:c}}(ne(e)))}function pe(e){const t=fe(e),n=["absolute","fixed"].includes(F(e).position)&&_(e)?ce(e):e;return U(n)?t.filter((e=>U(e)&&function(e,t){const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&K(n)){let n=t;do{if(n&&e===n)return!0;n=n.parentNode||n.host}while(n)}return!1}(e,n)&&"body"!==z(e))):[]}const me={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const i=[..."clippingAncestors"===n?pe(t):[].concat(n),o],l=i[0],a=i.reduce(((e,n)=>{const o=de(t,n,r);return e.top=Q(o.top,e.top),e.right=J(o.right,e.right),e.bottom=J(o.bottom,e.bottom),e.left=Q(o.left,e.left),e}),de(t,l,r));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:o}=e;const r=_(n),i=ne(n);if(n===i)return t;let l={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if((r||!r&&"fixed"!==o)&&(("body"!==z(n)||X(i))&&(l=oe(n)),_(n))){const e=te(n,!0);a.x=e.x+n.clientLeft,a.y=e.y+n.clientTop}return{...t,x:t.x-l.scrollLeft+a.x,y:t.y-l.scrollTop+a.y}},isElement:U,getDimensions:se,getOffsetParent:ce,getDocumentElement:ne,getElementRects:e=>{let{reference:t,floating:n,strategy:o}=e;return{reference:ie(t,ce(n),o),floating:{...se(n),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===F(e).direction},ve=function(t,n,r,i,l,a){var s=(0,o.ref)(!1),u=function(){var e,t,n=v(null===(e=r.value)||void 0===e?void 0:e.$el);return null===(t=document.fullscreenElement)||void 0===t?void 0:t.contains(n)},f=["dark","light"],d=(0,o.computed)((function(){var e=t.theme.split(/\s+/);return e.sort((function(e,t){return Number(f.includes(t))-Number(f.includes(e))})),{systemThemes:e,customThemes:e.filter((function(e){return!f.includes(e)}))}})),p=function(){return!u()&&t.autoVisibility},m=function(){var e,n,o,c;return{elReference:v(null===(e=r.value)||void 0===e?void 0:e.$el),elContent:v(null===(n=i.value)||void 0===n?void 0:n.$el),elArrow:t.arrow?v(null===(o=l.value)||void 0===o?void 0:o.$el):null,root:v(null===(c=a.value)||void 0===c?void 0:c.$el)}},v=function e(t){return t instanceof HTMLElement?t:t instanceof Text?e(t.nextElementSibling):null},h=d.value.customThemes.join(" "),g=d.value.customThemes.reduce((function(e,t){return Object.assign(c({},"data-".concat(t,"-theme"),!0),e)}),{}),S="".concat(h),N=null,I=function(e){var t=window.devicePixelRatio||1;return Math.round(e*t)/t||0},W=function(){var e=m(),n=e.elReference,o=e.elContent,r=e.elArrow,i=function(e){var n=[$(t.offset),M({padding:t.padding})],o={placement:t.placement,middleware:n};return t.arrow&&n.push((e=>({name:"arrow",options:e,async fn(t){const{element:n,padding:o=0}=null!=e?e:{},{x:r,y:i,placement:l,rects:a,platform:c}=t;if(null==n)return{};const s=P(o),u={x:r,y:i},f=b(l),d=w(l),p=x(f),m=await c.getDimensions(n),v="y"===f?"top":"left",h="y"===f?"bottom":"right",g=a.reference[p]+a.reference[f]-u[f]-a.floating[p],y=u[f]-a.reference[f],T=await(null==c.getOffsetParent?void 0:c.getOffsetParent(n));let R=T?"y"===f?T.clientHeight||0:T.clientWidth||0:0;0===R&&(R=a.floating[p]);const E=g/2-y/2,C=s[v],A=R-m[p]-s[h],S=R/2-m[p]/2+E,L=O(C,S,A),H=("start"===d?s[v]:s[h])>0&&S!==L&&a.reference[p]<=a.floating[p];return{[f]:u[f]-(H?S<C?C-S:A-S:0),data:{[f]:L,centerOffset:S-L}}}}))({element:e})),u()||t.autoPlacement?n.push(function(e){return void 0===e&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,o,r,i,l;const{x:a,y:c,rects:s,middlewareData:u,placement:f,platform:d,elements:p}=t,{alignment:m=null,allowedPlacements:v=V,autoAlignment:h=!0,...g}=e,b=function(e,t,n){return(e?[...n.filter((t=>w(t)===e)),...n.filter((t=>w(t)!==e))]:n.filter((e=>y(e)===e))).filter((n=>!e||w(n)===e||!!t&&k(n)!==n))}(m,h,v),x=await E(t,g),T=null!=(n=null==(o=u.autoPlacement)?void 0:o.index)?n:0,P=b[T];if(null==P)return{};const{main:R,cross:C}=H(P,s,await(null==d.isRTL?void 0:d.isRTL(p.floating)));if(f!==P)return{x:a,y:c,reset:{placement:b[0]}};const A=[x[y(P)],x[R],x[C]],O=[...null!=(r=null==(i=u.autoPlacement)?void 0:i.overflows)?r:[],{placement:P,overflows:A}],S=b[T+1];if(S)return{data:{index:T+1,overflows:O},reset:{placement:S}};const L=O.slice().sort(((e,t)=>e.overflows[0]-t.overflows[0])),N=null==(l=L.find((e=>{let{overflows:t}=e;return t.every((e=>e<=0))})))?void 0:l.placement,I=null!=N?N:L[0].placement;return I!==f?{data:{index:T+1,overflows:O},reset:{placement:I}}:{}}}}()):(n.unshift(function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){var n;const{placement:o,elements:r,rects:i,platform:l,strategy:a}=t,{padding:c=2,x:s,y:u}=e,f=R(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({rect:i.reference,offsetParent:await(null==l.getOffsetParent?void 0:l.getOffsetParent(r.floating)),strategy:a}):i.reference),d=null!=(n=await(null==l.getClientRects?void 0:l.getClientRects(r.reference)))?n:[],p=P(c),m=await l.getElementRects({reference:{getBoundingClientRect:function(){var e;if(2===d.length&&d[0].left>d[1].right&&null!=s&&null!=u)return null!=(e=d.find((e=>s>e.left-p.left&&s<e.right+p.right&&u>e.top-p.top&&u<e.bottom+p.bottom)))?e:f;if(d.length>=2){if("x"===b(o)){const e=d[0],t=d[d.length-1],n="top"===y(o),r=e.top,i=t.bottom,l=n?e.left:t.left,a=n?e.right:t.right;return{top:r,bottom:i,left:l,right:a,width:a-l,height:i-r,x:l,y:r}}const e="left"===y(o),t=A(...d.map((e=>e.right))),n=C(...d.map((e=>e.left))),r=d.filter((o=>e?o.left===n:o.right===t)),i=r[0].top,l=r[r.length-1].bottom;return{top:i,bottom:l,left:n,right:t,width:t-n,height:l-i,x:n,y:i}}return f}},floating:r.floating,strategy:a});return i.reference.x!==m.reference.x||i.reference.y!==m.reference.y||i.reference.width!==m.reference.width||i.reference.height!==m.reference.height?{reset:{rects:m}}:{}}}}()),n.push(function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:o,middlewareData:r,rects:i,initialPlacement:l,platform:a,elements:c}=t,{mainAxis:s=!0,crossAxis:u=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",flipAlignment:p=!0,...m}=e,v=y(o),h=f||(v!==l&&p?function(e){const t=L(e);return[k(e),t,k(t)]}(l):[L(l)]),g=[l,...h],w=await E(t,m),b=[];let x=(null==(n=r.flip)?void 0:n.overflows)||[];if(s&&b.push(w[v]),u){const{main:e,cross:t}=H(o,i,await(null==a.isRTL?void 0:a.isRTL(c.floating)));b.push(w[e],w[t])}if(x=[...x,{placement:o,overflows:b}],!b.every((e=>e<=0))){var T,P;const e=(null!=(T=null==(P=r.flip)?void 0:P.index)?T:0)+1,t=g[e];if(t)return{data:{index:e,overflows:x},reset:{placement:t}};let n="bottom";switch(d){case"bestFit":{var R;const e=null==(R=x.map((e=>[e,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:R[0].placement;e&&(n=e);break}case"initialPlacement":n=l}if(o!==n)return{reset:{placement:n}}}return{}}}}())),p()&&o.middleware.push(function(e){let{strategy:t="referenceHidden",...n}={};return{name:"hide",async fn(e){const{rects:o}=e;switch(t){case"referenceHidden":{const t=D(await E(e,{...n,elementContext:"reference"}),o.reference);return{data:{referenceHiddenOffsets:t,referenceHidden:j(t)}}}case"escaped":{const t=D(await E(e,{...n,altBoundary:!0}),o.floating);return{data:{escapedOffsets:t,escaped:j(t)}}}default:return{}}}}}()),o}(r);((e,t,n)=>(async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:l}=n,a=await(null==l.isRTL?void 0:l.isRTL(t));let c=await l.getElementRects({reference:e,floating:t,strategy:r}),{x:s,y:u}=T(c,o,a),f=o,d={};for(let n=0;n<i.length;n++){const{name:p,fn:m}=i[n],{x:v,y:h,data:g,reset:y}=await m({x:s,y:u,initialPlacement:o,placement:f,strategy:r,middlewareData:d,rects:c,platform:l,elements:{reference:e,floating:t}});s=null!=v?v:s,u=null!=h?h:u,d={...d,[p]:{...d[p],...g}},y&&("object"==typeof y&&(y.placement&&(f=y.placement),y.rects&&(c=!0===y.rects?await l.getElementRects({reference:e,floating:t,strategy:r}):y.rects),({x:s,y:u}=T(c,f,a))),n=-1)}return{x:s,y:u,placement:f,strategy:r,middlewareData:d}})(e,t,{platform:me,...n}))(n,o,i).then((function(e){var n=e.x,i=e.y,l=e.placement,a=e.middlewareData,s=o.className;o.className="".concat(s.replace(S,"")," ").concat(S).replace(/\s+/gm," ").replace(/^\s+|\s+$/g,""),Object.keys(g).forEach((function(e){o.setAttribute(e,g[e])}));var u=l.split("-")[0],f=u;["left","right","top","bottom"].includes(u)||(f="top"),function(e,t,n,o){var r;Object.assign(e.style,{left:"0",top:"0",transform:"translate3d(".concat(I(t),"px,").concat(I(n),"px,0)")});var i=!!p()&&(null===(r=o.hide)||void 0===r?void 0:r.referenceHidden);Object.assign(e.style,{visibility:i?"hidden":"visible"})}(o,n,i,a),function(e,n,o){if(t.arrow){var r=o.arrow,i=r.x,l=r.y;e.setAttribute("data-arrow",n),Object.assign(e.style,{left:"",top:"",bottom:"",right:""});var a={top:"bottom",right:"left",bottom:"top",left:"right"}[n];Object.assign(e.style,c({left:null!==i?"".concat(i,"px"):"",top:null!==l?"".concat(l,"px"):""},a,"-4px"))}}(r,f,a)}))},q=function(){s.value=!0},F=function(){s.value=!1},z=function(){s.value?F():q()},B=function(){z()};return(0,o.watch)(s,(function(o){var r,l;o?((l=v(null===(r=i.value)||void 0===r?void 0:r.$el)).style.setProperty("display","block"),l.style.setProperty("z-index","".concat(t.zIndex?t.zIndex:e.bkZIndexManager.getModalNextIndex())),W(),n.emit("afterShow",{isSHow:!0})):function(){var e;v(null===(e=i.value)||void 0===e?void 0:e.$el).style.setProperty("display","none"),n.emit("afterHidden",{isSHow:!1})}()})),{showPopover:q,hidePopover:F,resolveTriggerEvents:function(){var e;return null!==(e={hover:[["mouseenter",q],["mouseleave",F],["focus",q],["blur",F]],click:[["click",B]],manual:[[]]}[t.trigger])&&void 0!==e?e:[]},updatePopover:W,triggerPopover:z,resolvePopElements:m,isElementFullScreen:u,resolveTargetElement:v,createPopInstance:function(){var e=m(),t=e.elReference,n=e.elContent;N=function(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:l=!0,animationFrame:a=!1}=o,c=r&&!a,s=i&&!a,u=c||s?[...U(e)?fe(e):[],...fe(t)]:[];u.forEach((e=>{c&&e.addEventListener("scroll",n,{passive:!0}),s&&e.addEventListener("resize",n)}));let f,d=null;l&&(d=new ResizeObserver(n),U(e)&&!a&&d.observe(e),d.observe(t));let p=a?te(e):null;return a&&function t(){const o=te(e);!p||o.x===p.x&&o.y===p.y&&o.width===p.width&&o.height===p.height||n(),p=o,f=requestAnimationFrame(t)}(),l||n(),()=>{var e;u.forEach((e=>{c&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)})),null==(e=d)||e.disconnect(),d=null,a&&cancelAnimationFrame(f)}}(t,n,(function(){W()}))},localIsShow:s,cleanup:N}};var he=i(8022),ge=null,ye=null,we=null;const be=(0,o.defineComponent)({name:"Popover2",components:{Content:p,Arrow:a,Root:g},directives:{clickoutside:r.clickoutside},props:v,emits:d,setup:function(e,t){var r=e.content,i=e.theme,l=e.width,a=e.height,c=e.disableTeleport,s=(0,o.ref)(),f=(0,o.ref)(),d=(0,o.ref)(),p=(0,o.ref)(),m=(0,o.ref)(!1),v=null,h=ve(e,t,s,f,d,p),g=h.localIsShow,y=h.showPopover,w=h.hidePopover,b=h.resolveTriggerEvents,x=h.updatePopover,T=h.resolvePopElements,P=h.isElementFullScreen,R=h.cleanup,E=h.createPopInstance,C=function(){w()},A=function(){E(),e.always?y():O()};e.always||e.disabled||(0,o.watch)((function(){return e.isShow}),(function(){e.isShow?y():w()}),{immediate:!0}),(0,o.watch)((function(){return[e.disabled]}),(function(e){e[0]?A():I()}));var O=function(){var e=T().elReference;(v=b()).forEach((function(t){var o=n(t,2),r=o[0],i=o[1];e.addEventListener(r,i)}))},S=function(){var e=T(),t=e.elReference,n=e.root;k.value=H(m.value,n||t)},L=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#",n=function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=arguments.length>1?arguments[1]:void 0,i=null,l=function(e){null===i&&e()},a=function(){n&&(i="[data-fllsrn-id=".concat(ye,"]"))},c=function(){/^body$/i.test(e.boundary)||"string"!=typeof e.boundary||(o(e.boundary)||console.error("props.boundary is not available selector"),i=e.boundary)};return l((function(){if(/^parent$/i.test(e.boundary)){i="".concat(t).concat(ge);var n=(r||{}).parentNode;(null==n?void 0:n.parentNode)&&(n.parentNode.setAttribute("data-pnode-id",we),i="[data-pnode-id=".concat(we,"]"))}})),l(c),l(a),l((function(){i="string"==typeof e.boundary?e.boundary:"".concat(t).concat(ge)})),i},o=function(e){return document.querySelector(e)instanceof HTMLElement};if(null===ge||!o("#".concat(ge))){ge="id_".concat((0,he.v4)());var r=document.createElement("div");r.setAttribute("id",ge),r.setAttribute("data-popper-id",ge),document.body.append(r)}null===ye&&(ye="id_".concat((0,he.v4)())),null===we&&(we="id_".concat((0,he.v4)()));var i=function(){var e;if(null===document.fullscreenElement){var t="[data-fllsrn-id=".concat(ye,"]");(null!==(e=document.querySelectorAll(t))&&void 0!==e?e:[]).forEach((function(e){e.removeAttribute("data-fllsrn-id")}))}else document.fullscreenElement.setAttribute("data-fllsrn-id",ye)};return{popContainerId:ge,prefixId:n(),getPrefixId:n,resetFullscreenElementTag:i}}(e,"#"),H=L.getPrefixId,N=L.resetFullscreenElementTag,k=(0,o.ref)();S();var I=function(){"function"==typeof R&&R(),function(){if(null==v?void 0:v.length){var e=T().elReference;e&&v.forEach((function(t){var o=n(t,2),r=o[0],i=o[1];e.removeEventListener(r,i)})),v=null}}()},V=function(){m.value=P(),N(),S(),x()};(0,o.onMounted)((function(){e.disabled||(A(),S(),document.body.addEventListener("fullscreenchange",V))})),(0,o.onUnmounted)((function(){I(),document.body.removeEventListener("fullscreenchange",V)})),t.expose({show:function(){y()},hide:C});var D=(0,o.computed)((function(){return(m.value||!c)&&"string"==typeof k.value}));return{boundary:k,arrow:e.arrow,refReference:s,refContent:f,refArrow:d,content:r,theme:i,transBoundary:D,width:l,height:a,handleClickOutside:function(n){t.emit(u.CLICK_OUTSIDE,{isShow:g.value}),e.disableOutsideClick||e.always||e.disabled||"manual"===e.trigger||g.value&&C()}}},render:function(){var e,t,n,r,i,l,c=this;return(0,o.createVNode)(g,{ref:"refRoot"},{default:function(){return[(0,o.createVNode)(h,{ref:"refReference"},{default:function(){return[null!==(n=null===(t=(e=c.$slots).default)||void 0===t?void 0:t.call(e))&&void 0!==n?n:(0,o.createVNode)("span",null,null)]}}),(0,o.createVNode)(o.Teleport,{to:c.boundary,disabled:!c.transBoundary},{default:function(){return[(0,o.withDirectives)((0,o.createVNode)(p,{ref:"refContent","data-theme":c.theme,width:c.width,height:c.height},{default:function(){return[null!==(l=null===(i=(r=c.$slots).content)||void 0===i?void 0:i.call(r))&&void 0!==l?l:c.content]},arrow:function(){var e,t;return c.arrow?(0,o.createVNode)(a,{ref:"refArrow"},{default:function(){return[null===(t=(e=c.$slots).arrow)||void 0===t?void 0:t.call(e)]}}):""}}),[[(0,o.resolveDirective)("clickoutside"),c.handleClickOutside]])]}})]}})}}),xe=(0,e.withInstall)(be)})(),l})()));
@@ -13,12 +13,13 @@
13
13
  width: 8px;
14
14
  height: 8px;
15
15
  background: #333;
16
+ transform: rotate(45deg);
16
17
  }
17
- .bk-popover2.bk-pop2-content[data-theme='light'] {
18
+ .bk-popover2.bk-pop2-content[data-theme^='light'] {
18
19
  color: #26323d;
19
20
  background-color: #fff;
20
21
  box-shadow: 0 0 6px 0 #dcdee5;
21
22
  }
22
- .bk-popover2.bk-pop2-content[data-theme='light'] .bk-pop2-arrow {
23
+ .bk-popover2.bk-pop2-content[data-theme^='light'] .bk-pop2-arrow {
23
24
  background-color: #fff;
24
25
  }
@@ -84,7 +84,7 @@ declare const _default: import("vue").DefineComponent<{
84
84
  default: boolean;
85
85
  };
86
86
  }, {
87
- boundary: string;
87
+ boundary: import("vue").Ref<any>;
88
88
  arrow: boolean;
89
89
  refReference: import("vue").Ref<any>;
90
90
  refContent: import("vue").Ref<any>;
@@ -19,9 +19,10 @@
19
19
  width: 8px;
20
20
  height: 8px;
21
21
  background: #333;
22
+ transform: rotate(45deg);
22
23
  }
23
24
 
24
- &[data-theme='light'] {
25
+ &[data-theme^='light'] {
25
26
  color: #26323d;
26
27
  background-color: #fff;
27
28
  box-shadow: 0 0 6px 0 #dcdee5;
@@ -112,12 +112,13 @@
112
112
  width: 8px;
113
113
  height: 8px;
114
114
  background: #333;
115
+ transform: rotate(45deg);
115
116
  }
116
- .bk-popover2.bk-pop2-content[data-theme='light'] {
117
+ .bk-popover2.bk-pop2-content[data-theme^='light'] {
117
118
  color: #26323d;
118
119
  background-color: #fff;
119
120
  box-shadow: 0 0 6px 0 #dcdee5;
120
121
  }
121
- .bk-popover2.bk-pop2-content[data-theme='light'] .bk-pop2-arrow {
122
+ .bk-popover2.bk-pop2-content[data-theme^='light'] .bk-pop2-arrow {
122
123
  background-color: #fff;
123
124
  }
@@ -0,0 +1,16 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ class: import("vue-types").VueTypeValidableDef<string> & {
3
+ default: string;
4
+ } & {
5
+ default: string;
6
+ };
7
+ }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
8
+ class: import("vue-types").VueTypeValidableDef<string> & {
9
+ default: string;
10
+ } & {
11
+ default: string;
12
+ };
13
+ }>>, {
14
+ class: string;
15
+ }>;
16
+ export default _default;
@@ -1,5 +1,5 @@
1
1
  import { PopoverPropTypes } from './props';
2
- declare const _default: (props: PopoverPropTypes, ctx: any, refReference: any, refContent: any, refArrow: any) => {
2
+ declare const _default: (props: PopoverPropTypes, ctx: any, refReference: any, refContent: any, refArrow: any, refRoot: any) => {
3
3
  showPopover: () => void;
4
4
  hidePopover: () => void;
5
5
  resolveTriggerEvents: () => any;
@@ -9,8 +9,11 @@ declare const _default: (props: PopoverPropTypes, ctx: any, refReference: any, r
9
9
  elReference: any;
10
10
  elContent: any;
11
11
  elArrow: any;
12
+ root: any;
12
13
  };
13
14
  isElementFullScreen: () => boolean;
15
+ resolveTargetElement: (target: any) => any;
16
+ createPopInstance: () => void;
14
17
  localIsShow: import("vue").Ref<boolean>;
15
18
  cleanup: any;
16
19
  };
@@ -1,5 +1,7 @@
1
- declare const _default: (prefix?: string) => {
1
+ declare const _default: (props: any, prefix?: string) => {
2
2
  popContainerId: any;
3
- prefixId: string;
3
+ prefixId: any;
4
+ getPrefixId: (isfullscreen?: boolean, root?: any) => any;
5
+ resetFullscreenElementTag: () => void;
4
6
  };
5
7
  export default _default;
@@ -13,9 +13,9 @@ export declare function useHover(): {
13
13
  setHover: () => void;
14
14
  cancelHover: () => void;
15
15
  };
16
- export declare function useRegistry<T>(data: Ref<Array<T>>): {
17
- register: (item: T) => number;
18
- unregister: (item: T) => void;
16
+ export declare function useRegistry<T>(data: Ref<Map<any, T>>): {
17
+ register: (key: any, item: T) => Map<any, T>;
18
+ unregister: (key: any) => void;
19
19
  };
20
20
  export declare function useDebouncedRef<T>(value: any, delay?: number): Ref<T>;
21
21
  export declare function usePopover(config: IPopoverConfig): {