bkui-vue 0.0.1-beta.10 → 0.0.1-beta.11
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.
- package/dist/bkui-vue.cjs.js +4977 -578
- package/dist/bkui-vue.esm.js +4972 -580
- package/dist/bkui-vue.umd.js +4977 -578
- package/dist/style.css +1685 -16
- package/lib/alert/alert.variable.css +16 -0
- package/lib/backtop/backtop.variable.css +16 -0
- package/lib/badge/badge.variable.css +16 -0
- package/lib/breadcrumb/breadcrumb.variable.css +16 -0
- package/lib/button/button.d.ts +10 -10
- package/lib/button/button.less +6 -6
- package/lib/button/button.variable.css +16 -0
- package/lib/button/index.d.ts +9 -12
- package/lib/button/index.js +1 -1
- package/lib/card/card.variable.css +16 -0
- package/lib/checkbox/checkbox.variable.css +16 -0
- package/lib/collapse/collapse.css +8 -0
- package/lib/collapse/collapse.less +10 -0
- package/lib/collapse/collapse.variable.css +8 -0
- package/lib/collapse/index.js +1 -1
- package/lib/components.d.ts +6 -1
- package/lib/date-picker/date-picker.css +373 -0
- package/lib/date-picker/date-picker.d.ts +357 -0
- package/lib/date-picker/date-picker.less +486 -0
- package/lib/date-picker/date-picker.variable.css +459 -0
- package/lib/date-picker/fecha.d.ts +6 -0
- package/lib/date-picker/index.d.ts +525 -0
- package/lib/date-picker/index.js +1 -0
- package/lib/date-picker/interface.d.ts +21 -0
- package/lib/date-picker/utils.d.ts +96 -0
- package/lib/directives/index.d.ts +1 -0
- package/lib/directives/index.js +14 -14
- package/lib/directives/tooltips.d.ts +17 -0
- package/lib/divider/divider.css +38 -0
- package/lib/divider/divider.d.ts +40 -0
- package/lib/divider/divider.less +53 -0
- package/lib/divider/divider.variable.css +124 -0
- package/lib/divider/index.d.ts +110 -0
- package/lib/divider/index.js +1 -0
- package/lib/dropdown/dropdown-item.d.ts +18 -0
- package/lib/dropdown/dropdown-menu.d.ts +15 -0
- package/lib/dropdown/dropdown.css +43 -0
- package/lib/dropdown/dropdown.d.ts +49 -0
- package/lib/dropdown/dropdown.less +54 -0
- package/lib/dropdown/dropdown.variable.css +129 -0
- package/lib/dropdown/index.d.ts +160 -0
- package/lib/dropdown/index.js +1 -0
- package/lib/exception/exception.variable.css +16 -0
- package/lib/fixed-navbar/fixed-navbar.variable.css +16 -0
- package/lib/form/common.d.ts +3 -0
- package/lib/form/form-item.d.ts +140 -0
- package/lib/form/form.css +39 -0
- package/lib/form/form.d.ts +76 -0
- package/lib/form/form.less +50 -0
- package/lib/form/form.variable.css +39 -0
- package/lib/form/index.d.ts +4 -0
- package/lib/form/index.js +1 -0
- package/lib/form/type.d.ts +21 -0
- package/lib/form/validator.d.ts +8 -0
- package/lib/icon/angle-double-left.d.ts +4 -0
- package/lib/icon/angle-double-right.d.ts +4 -0
- package/lib/icon/angle-down-line.d.ts +4 -0
- package/lib/icon/angle-down.d.ts +4 -0
- package/lib/icon/angle-left.d.ts +4 -0
- package/lib/icon/angle-right.d.ts +4 -0
- package/lib/icon/circle.d.ts +4 -0
- package/lib/icon/code.d.ts +4 -0
- package/lib/icon/cog-shape.d.ts +4 -0
- package/lib/icon/collapse-left.d.ts +4 -0
- package/lib/icon/copy.d.ts +4 -0
- package/lib/icon/done.d.ts +4 -0
- package/lib/icon/down-shape.d.ts +4 -0
- package/lib/icon/error.d.ts +4 -0
- package/lib/icon/folder-open.d.ts +4 -0
- package/lib/icon/folder-shape-open.d.ts +4 -0
- package/lib/icon/folder-shape.d.ts +4 -0
- package/lib/icon/folder.d.ts +4 -0
- package/lib/icon/index.d.ts +27 -0
- package/lib/icon/index.js +1 -1
- package/lib/icon/info.d.ts +4 -0
- package/lib/icon/play-shape.d.ts +4 -0
- package/lib/icon/plus.d.ts +4 -0
- package/lib/icon/right-shape.d.ts +4 -0
- package/lib/icon/share.d.ts +4 -0
- package/lib/icon/success.d.ts +4 -0
- package/lib/icon/text-file.d.ts +4 -0
- package/lib/icon/tree-application-shape.d.ts +4 -0
- package/lib/icon/warn.d.ts +4 -0
- package/lib/input/index.d.ts +29 -29
- package/lib/input/input.d.ts +8 -8
- package/lib/input/input.variable.css +16 -0
- package/lib/link/link.variable.css +16 -0
- package/lib/loading/loading.variable.css +16 -0
- package/lib/menu/index.d.ts +169 -0
- package/lib/menu/index.js +1 -0
- package/lib/menu/menu-group.d.ts +13 -0
- package/lib/menu/menu-item.d.ts +15 -0
- package/lib/menu/menu.css +182 -0
- package/lib/menu/menu.d.ts +60 -0
- package/lib/menu/menu.less +180 -0
- package/lib/menu/menu.variable.css +268 -0
- package/lib/menu/submenu.d.ts +21 -0
- package/lib/menu/submenu.less +5 -0
- package/lib/menu/submenu.variable.css +86 -0
- package/lib/menu/utils.d.ts +41 -0
- package/lib/message/index.d.ts +1 -1
- package/lib/message/index.js +1 -1
- package/lib/message/message.css +17 -0
- package/lib/message/message.less +18 -0
- package/lib/message/message.variable.css +33 -0
- package/lib/message/messageConstructor.d.ts +12 -6
- package/lib/navigation/index.d.ts +2 -0
- package/lib/navigation/index.js +1 -0
- package/lib/navigation/navigation-title.d.ts +22 -0
- package/lib/navigation/navigation.css +184 -0
- package/lib/navigation/navigation.d.ts +94 -0
- package/lib/navigation/navigation.less +210 -0
- package/lib/navigation/navigation.variable.css +270 -0
- package/lib/notify/index.d.ts +2 -0
- package/lib/notify/index.js +1 -0
- package/lib/notify/notify.css +49 -0
- package/lib/notify/notify.less +58 -0
- package/lib/notify/notify.variable.css +135 -0
- package/lib/notify/notifyConstructor.d.ts +75 -0
- package/lib/popover/index.d.ts +19 -19
- package/lib/popover/index.js +1 -1
- package/lib/popover/popover.css +2 -3
- package/lib/popover/popover.d.ts +8 -8
- package/lib/popover/popover.less +2 -3
- package/lib/popover/popover.variable.css +18 -3
- package/lib/progress/index.d.ts +4 -4
- package/lib/progress/progress.d.ts +1 -1
- package/lib/progress/progress.variable.css +16 -0
- package/lib/radio/radio.css +6 -0
- package/lib/radio/radio.less +7 -0
- package/lib/radio/radio.variable.css +22 -0
- package/lib/rate/star.d.ts +2 -2
- package/lib/select/common.d.ts +4 -3
- package/lib/select/index.d.ts +211 -60
- package/lib/select/index.js +15 -1
- package/lib/select/option.d.ts +2 -2
- package/lib/select/optionGroup.d.ts +115 -0
- package/lib/select/select.css +52 -12
- package/lib/select/select.d.ts +24 -21
- package/lib/select/select.less +73 -7
- package/lib/select/select.variable.css +68 -12
- package/lib/shared/bk-popover.d.ts +11 -1
- package/lib/shared/index.d.ts +7 -0
- package/lib/shared/index.js +1 -1
- package/lib/shared/vue-types.d.ts +1 -0
- package/lib/shared/z-index-manager.d.ts +6 -1
- package/lib/sideslider/sideslider.variable.css +16 -0
- package/lib/slider/index.d.ts +27 -0
- package/lib/slider/index.js +15 -0
- package/lib/slider/slider-button.d.ts +72 -0
- package/lib/slider/slider.css +149 -0
- package/lib/slider/slider.d.ts +159 -0
- package/lib/slider/slider.less +179 -0
- package/lib/slider/slider.variable.css +235 -0
- package/lib/steps/index.d.ts +8 -8
- package/lib/steps/index.js +2 -2
- package/lib/steps/steps.css +1 -1
- package/lib/steps/steps.d.ts +2 -2
- package/lib/steps/steps.less +1 -1
- package/lib/steps/steps.variable.css +17 -1
- package/lib/styles/index.d.ts +11 -0
- package/lib/styles/index.js +1 -1
- package/lib/styles/mixins/popper.css +43 -0
- package/lib/styles/mixins/popper.less +52 -0
- package/lib/styles/mixins/popper.variable.css +43 -0
- package/lib/styles/mixins/size.less +9 -0
- package/lib/styles/reset.css +273 -0
- package/lib/styles/reset.less +313 -0
- package/lib/styles/reset.variable.css +273 -0
- package/lib/styles/themes/themes.less +26 -1
- package/lib/switcher/switcher.variable.css +16 -0
- package/lib/tab/index.d.ts +416 -0
- package/lib/tab/index.js +1 -0
- package/lib/tab/tab-nav.d.ts +154 -0
- package/lib/tab/tab-panel.d.ts +46 -0
- package/lib/tab/tab.css +147 -0
- package/lib/tab/tab.d.ts +131 -0
- package/lib/tab/tab.less +221 -0
- package/lib/tab/tab.variable.css +233 -0
- package/lib/table/index.d.ts +71 -60
- package/lib/table/index.js +1 -1
- package/lib/table/props.d.ts +41 -0
- package/lib/table/render.d.ts +47 -0
- package/lib/table/table.css +44 -0
- package/lib/table/table.d.ts +22 -63
- package/lib/table/table.less +63 -1
- package/lib/table/table.variable.css +60 -0
- package/lib/table/utils.d.ts +22 -0
- package/lib/tag/tag.variable.css +16 -0
- package/lib/tree/index.d.ts +149 -0
- package/lib/tree/index.js +1 -0
- package/lib/tree/tree.css +35 -0
- package/lib/tree/tree.d.ts +58 -0
- package/lib/tree/tree.less +55 -0
- package/lib/tree/tree.variable.css +35 -0
- package/lib/tree/util.d.ts +89 -0
- package/lib/use-message.d.ts +2 -0
- package/package.json +7 -1
- package/lib/message/message.d.ts +0 -2
- package/lib/table/common.d.ts +0 -3
- package/lib/table/table-layout.d.ts +0 -14
- package/lib/table/type.d.ts +0 -12
package/lib/shared/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("crypto"),require("vue-types")):"function"==typeof define&&define.amd?define(["exports","crypto","vue-types"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.require$$0,e["vue-types"])}(this,(function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=r(t);function i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var a={exports:{}};!function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0}(a);var s=i(a.exports),u={exports:{}};!function(e){function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e},e.exports.default=e.exports,e.exports.__esModule=!0}(u);var c=i(u.exports),f={exports:{}};!function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0}(f);var l,p,d=i(f.exports);e.BKLAYERTYPE=void 0,(p=e.BKLAYERTYPE||(e.BKLAYERTYPE={})).BOTTOM="bottom",p.CONTENT="content",p.NAVI="navi",p.FULLSCREEN="fullScreen",p.PLUGINS="plugins",p.MODAL="modal",p.MESSAGE="message";var h=(d(l={},e.BKLAYERTYPE.BOTTOM,0),d(l,e.BKLAYERTYPE.CONTENT,1),d(l,e.BKLAYERTYPE.NAVI,100),d(l,e.BKLAYERTYPE.FULLSCREEN,1e3),d(l,e.BKLAYERTYPE.MODAL,3e3),d(l,e.BKLAYERTYPE.PLUGINS,8e3),d(l,e.BKLAYERTYPE.MESSAGE,1e4),l),v=new(function(){function t(){s(this,t),this.storageLayerIndexValue={},this.copyDefaultValue()}return c(t,[{key:"getNextIndex",value:function(t){return Object.prototype.hasOwnProperty.call(this.storageLayerIndexValue,t)?(this.storageLayerIndexValue[t]=this.storageLayerIndexValue[t]+1,this.storageLayerIndexValue[t]):(this.storageLayerIndexValue[e.BKLAYERTYPE.MODAL]=this.storageLayerIndexValue[e.BKLAYERTYPE.MODAL]+1,this.storageLayerIndexValue[e.BKLAYERTYPE.MODAL])}},{key:"getModalNextIndex",value:function(){return this.getNextIndex(e.BKLAYERTYPE.MODAL)}},{key:"getMessageNextIndex",value:function(){return this.getNextIndex(e.BKLAYERTYPE.MESSAGE)}},{key:"getFullScreenNextIndex",value:function(){return this.getNextIndex(e.BKLAYERTYPE.FULLSCREEN)}},{key:"getNaviNextIndex",value:function(){return this.getNextIndex(e.BKLAYERTYPE.NAVI)}},{key:"setDefaultZIndex",value:function(e){var t=this;Object.keys(e||{}).forEach((function(n){Object.prototype.hasOwnProperty.call(t.storageLayerIndexValue.__proto__,n)&&Object.assign(t.storageLayerIndexValue.__proto__,d({},n,e[n]))})),this.copyDefaultValue()}},{key:"resetZIndex",value:function(e){var t=this;Object.keys(e||{}).forEach((function(n){Object.prototype.hasOwnProperty.call(t.storageLayerIndexValue,n)&&Object.assign(t.storageLayerIndexValue,d({},n,e[n]))}))}},{key:"copyDefaultValue",value:function(){var e=Object.keys(h).reduce((function(e,t){return Object.assign(e,d({},t,{value:h[t],writable:!0,configurable:!0}))}),{});this.storageLayerIndexValue=Object.create(h,e)}}]),t}()),m={exports:{}};!function(e){function t(n){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=t=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0}(m);var y=i(m.exports),g={exports:{}},b={exports:{}},x={exports:{}};!function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.default=e.exports,e.exports.__esModule=!0}(x),function(e){var t=x.exports;e.exports=function(e){if(Array.isArray(e))return t(e)},e.exports.default=e.exports,e.exports.__esModule=!0}(b);var O={exports:{}};!function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0}(O);var w={exports:{}};!function(e){var t=x.exports;e.exports=function(e,n){if(e){if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0}(w);var E={exports:{}};!function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0}(E),function(e){var t=b.exports,n=O.exports,r=w.exports,o=E.exports;e.exports=function(e){return t(e)||n(e)||r(e)||o()},e.exports.default=e.exports,e.exports.__esModule=!0}(g);var k=i(g.exports),_="top",j="bottom",M="right",P="left",S="auto",I=[_,j,M,P],T="start",A="end",L="viewport",D="popper",N=I.reduce((function(e,t){return e.concat([t+"-"+T,t+"-"+A])}),[]),R=[].concat(I,[S]).reduce((function(e,t){return e.concat([t,t+"-"+T,t+"-"+A])}),[]),B=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function C(e){return e?(e.nodeName||"").toLowerCase():null}function V(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Y(e){return e instanceof V(e).Element||e instanceof Element}function q(e){return e instanceof V(e).HTMLElement||e instanceof HTMLElement}function U(e){return"undefined"!=typeof ShadowRoot&&(e instanceof V(e).ShadowRoot||e instanceof ShadowRoot)}var H={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];q(o)&&C(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});q(r)&&C(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function W(e){return e.split("-")[0]}var K=Math.round;function F(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;return q(e)&&t&&(r=n.width/e.offsetWidth||1,o=n.height/e.offsetHeight||1),{width:K(n.width/r),height:K(n.height/o),top:K(n.top/o),right:K(n.right/r),bottom:K(n.bottom/o),left:K(n.left/r),x:K(n.left/r),y:K(n.top/o)}}function z(e){var t=F(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function G(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&U(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function $(e){return V(e).getComputedStyle(e)}function X(e){return["table","td","th"].indexOf(C(e))>=0}function Z(e){return((Y(e)?e.ownerDocument:e.document)||window.document).documentElement}function J(e){return"html"===C(e)?e:e.assignedSlot||e.parentNode||(U(e)?e.host:null)||Z(e)}function Q(e){return q(e)&&"fixed"!==$(e).position?e.offsetParent:null}function ee(e){for(var t=V(e),n=Q(e);n&&X(n)&&"static"===$(n).position;)n=Q(n);return n&&("html"===C(n)||"body"===C(n)&&"static"===$(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&q(e)&&"fixed"===$(e).position)return null;for(var n=J(e);q(n)&&["html","body"].indexOf(C(n))<0;){var r=$(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function te(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var ne=Math.max,re=Math.min,oe=Math.round;function ie(e,t,n){return ne(e,re(t,n))}function ae(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function se(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var ue={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ce(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.offsets,a=e.position,s=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,f=!0===c?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:oe(oe(t*r)/r)||0,y:oe(oe(n*r)/r)||0}}(i):"function"==typeof c?c(i):i,l=f.x,p=void 0===l?0:l,d=f.y,h=void 0===d?0:d,v=i.hasOwnProperty("x"),m=i.hasOwnProperty("y"),y=P,g=_,b=window;if(u){var x=ee(n),O="clientHeight",w="clientWidth";x===V(n)&&"static"!==$(x=Z(n)).position&&(O="scrollHeight",w="scrollWidth"),x=x,o===_&&(g=j,h-=x[O]-r.height,h*=s?1:-1),o===P&&(y=M,p-=x[w]-r.width,p*=s?1:-1)}var E,k=Object.assign({position:a},u&&ue);return s?Object.assign({},k,((E={})[g]=m?"0":"",E[y]=v?"0":"",E.transform=(b.devicePixelRatio||1)<2?"translate("+p+"px, "+h+"px)":"translate3d("+p+"px, "+h+"px, 0)",E)):Object.assign({},k,((t={})[g]=m?h+"px":"",t[y]=v?p+"px":"",t.transform="",t))}var fe={passive:!0};var le={left:"right",right:"left",bottom:"top",top:"bottom"};function pe(e){return e.replace(/left|right|bottom|top/g,(function(e){return le[e]}))}var de={start:"end",end:"start"};function he(e){return e.replace(/start|end/g,(function(e){return de[e]}))}function ve(e){var t=V(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function me(e){return F(Z(e)).left+ve(e).scrollLeft}function ye(e){var t=$(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function ge(e){return["html","body","#document"].indexOf(C(e))>=0?e.ownerDocument.body:q(e)&&ye(e)?e:ge(J(e))}function be(e,t){var n;void 0===t&&(t=[]);var r=ge(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=V(r),a=o?[i].concat(i.visualViewport||[],ye(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(be(J(a)))}function xe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Oe(e,t){return t===L?xe(function(e){var t=V(e),n=Z(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,s=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:o,height:i,x:a+me(e),y:s}}(e)):q(t)?function(e){var t=F(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):xe(function(e){var t,n=Z(e),r=ve(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=ne(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=ne(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+me(e),u=-r.scrollTop;return"rtl"===$(o||n).direction&&(s+=ne(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:u}}(Z(e)))}function we(e,t,n){var r="clippingParents"===t?function(e){var t=be(J(e)),n=["absolute","fixed"].indexOf($(e).position)>=0&&q(e)?ee(e):e;return Y(n)?t.filter((function(e){return Y(e)&&G(e,n)&&"body"!==C(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(t,n){var r=Oe(e,n);return t.top=ne(r.top,t.top),t.right=re(r.right,t.right),t.bottom=re(r.bottom,t.bottom),t.left=ne(r.left,t.left),t}),Oe(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Ee(e){return e.split("-")[1]}function ke(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?W(o):null,a=o?Ee(o):null,s=n.x+n.width/2-r.width/2,u=n.y+n.height/2-r.height/2;switch(i){case _:t={x:s,y:n.y-r.height};break;case j:t={x:s,y:n.y+n.height};break;case M:t={x:n.x+n.width,y:u};break;case P:t={x:n.x-r.width,y:u};break;default:t={x:n.x,y:n.y}}var c=i?te(i):null;if(null!=c){var f="y"===c?"height":"width";switch(a){case T:t[c]=t[c]-(n[f]/2-r[f]/2);break;case A:t[c]=t[c]+(n[f]/2-r[f]/2)}}return t}function _e(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,a=void 0===i?"clippingParents":i,s=n.rootBoundary,u=void 0===s?L:s,c=n.elementContext,f=void 0===c?D:c,l=n.altBoundary,p=void 0!==l&&l,d=n.padding,h=void 0===d?0:d,v=ae("number"!=typeof h?h:se(h,I)),m=f===D?"reference":D,y=e.elements.reference,g=e.rects.popper,b=e.elements[p?m:f],x=we(Y(b)?b:b.contextElement||Z(e.elements.popper),a,u),O=F(y),w=ke({reference:O,element:g,strategy:"absolute",placement:o}),E=xe(Object.assign({},g,w)),k=f===D?E:O,P={top:x.top-k.top+v.top,bottom:k.bottom-x.bottom+v.bottom,left:x.left-k.left+v.left,right:k.right-x.right+v.right},S=e.modifiersData.offset;if(f===D&&S){var T=S[o];Object.keys(P).forEach((function(e){var t=[M,j].indexOf(e)>=0?1:-1,n=[_,j].indexOf(e)>=0?"y":"x";P[e]+=T[n]*t}))}return P}function je(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,u=n.allowedAutoPlacements,c=void 0===u?R:u,f=Ee(r),l=f?s?N:N.filter((function(e){return Ee(e)===f})):I,p=l.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=l,"production"!==process.env.NODE_ENV&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var d=p.reduce((function(t,n){return t[n]=_e(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[W(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}function Me(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Pe(e){return[_,M,j,P].some((function(t){return e[t]>=0}))}function Se(e,t,n){void 0===n&&(n=!1);var r,o,i=q(t),a=q(t)&&function(e){var t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,r=t.height/e.offsetHeight||1;return 1!==n||1!==r}(t),s=Z(t),u=F(e,a),c={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(i||!i&&!n)&&(("body"!==C(t)||ye(s))&&(c=(r=t)!==V(r)&&q(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:ve(r)),q(t)?((f=F(t,!0)).x+=t.clientLeft,f.y+=t.clientTop):s&&(f.x=me(s))),{x:u.left+c.scrollLeft-f.x,y:u.top+c.scrollTop-f.y,width:u.width,height:u.height}}function Ie(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function Te(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return[].concat(n).reduce((function(e,t){return e.replace(/%s/,t)}),e)}var Ae='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',Le=["name","enabled","phase","fn","effect","requires","options"];var De="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",Ne={placement:"bottom",modifiers:[],strategy:"absolute"};function Re(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Be(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?Ne:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ne,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},u=[],c=!1,f={state:s,setOptions:function(n){l(),s.options=Object.assign({},i,s.options,n),s.scrollParents={reference:Y(e)?be(e):e.contextElement?be(e.contextElement):[],popper:be(t)};var o,a,c,p=function(e){var t=Ie(e);return B.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,s.options.modifiers)));if(s.orderedModifiers=p.filter((function(e){return e.enabled})),"production"!==process.env.NODE_ENV){if(function(e){e.forEach((function(t){Object.keys(t).forEach((function(n){switch(n){case"name":"string"!=typeof t.name&&console.error(Te(Ae,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":"boolean"!=typeof t.enabled&&console.error(Te(Ae,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));case"phase":B.indexOf(t.phase)<0&&console.error(Te(Ae,t.name,'"phase"',"either "+B.join(", "),'"'+String(t.phase)+'"'));break;case"fn":"function"!=typeof t.fn&&console.error(Te(Ae,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":"function"!=typeof t.effect&&console.error(Te(Ae,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":Array.isArray(t.requires)||console.error(Te(Ae,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(Te(Ae,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+Le.map((function(e){return'"'+e+'"'})).join(", ")+'; but "'+n+'" was provided.')}t.requires&&t.requires.forEach((function(n){null==e.find((function(e){return e.name===n}))&&console.error(Te('Popper: modifier "%s" requires "%s", but "%s" modifier is not available',String(t.name),n,n))}))}))}))}((o=[].concat(p,s.options.modifiers),a=function(e){return e.name},c=new Set,o.filter((function(e){var t=a(e);if(!c.has(t))return c.add(t),!0})))),W(s.options.placement)===S)s.orderedModifiers.find((function(e){return"flip"===e.name}))||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "));var d=$(t);[d.marginTop,d.marginRight,d.marginBottom,d.marginLeft].some((function(e){return parseFloat(e)}))&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:f,options:r}),a=function(){};u.push(i||a)}})),f.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(Re(t,n)){s.rects={reference:Se(t,ee(n),"fixed"===s.options.strategy),popper:z(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0,o=0;o<s.orderedModifiers.length;o++){if("production"!==process.env.NODE_ENV&&(r+=1)>100){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}if(!0!==s.reset){var i=s.orderedModifiers[o],a=i.fn,u=i.options,l=void 0===u?{}:u,p=i.name;"function"==typeof a&&(s=a({state:s,options:l,name:p,instance:f})||s)}else s.reset=!1,o=-1}}else"production"!==process.env.NODE_ENV&&console.error(De)}},update:(o=function(){return new Promise((function(e){f.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){l(),c=!0}};if(!Re(e,t))return"production"!==process.env.NODE_ENV&&console.error(De),f;function l(){u.forEach((function(e){return e()})),u=[]}return f.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),f}}var Ce=Be({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,u=V(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,fe)})),s&&u.addEventListener("resize",n.update,fe),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,fe)})),s&&u.removeEventListener("resize",n.update,fe)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ke({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,u=void 0===s||s;if("production"!==process.env.NODE_ENV){var c=$(t.elements.popper).transitionProperty||"";a&&["transform","top","right","bottom","left"].some((function(e){return c.indexOf(e)>=0}))&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var f={placement:W(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ce(Object.assign({},f,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ce(Object.assign({},f,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},H,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=R.reduce((function(e,n){return e[n]=function(e,t,n){var r=W(e),o=[P,_].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[P,M].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],u=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,u=n.fallbackPlacements,c=n.padding,f=n.boundary,l=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,h=void 0===d||d,v=n.allowedAutoPlacements,m=t.options.placement,y=W(m),g=u||(y===m||!h?[pe(m)]:function(e){if(W(e)===S)return[];var t=pe(e);return[he(e),t,he(t)]}(m)),b=[m].concat(g).reduce((function(e,n){return e.concat(W(n)===S?je(t,{placement:n,boundary:f,rootBoundary:l,padding:c,flipVariations:h,allowedAutoPlacements:v}):n)}),[]),x=t.rects.reference,O=t.rects.popper,w=new Map,E=!0,k=b[0],I=0;I<b.length;I++){var A=b[I],L=W(A),D=Ee(A)===T,N=[_,j].indexOf(L)>=0,R=N?"width":"height",B=_e(t,{placement:A,boundary:f,rootBoundary:l,altBoundary:p,padding:c}),C=N?D?M:P:D?j:_;x[R]>O[R]&&(C=pe(C));var V=pe(C),Y=[];if(i&&Y.push(B[L]<=0),s&&Y.push(B[C]<=0,B[V]<=0),Y.every((function(e){return e}))){k=A,E=!1;break}w.set(A,Y)}if(E)for(var q=function(e){var t=b.find((function(t){var n=w.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return k=t,"break"},U=h?3:1;U>0;U--){if("break"===q(U))break}t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,u=n.boundary,c=n.rootBoundary,f=n.altBoundary,l=n.padding,p=n.tether,d=void 0===p||p,h=n.tetherOffset,v=void 0===h?0:h,m=_e(t,{boundary:u,rootBoundary:c,padding:l,altBoundary:f}),y=W(t.placement),g=Ee(t.placement),b=!g,x=te(y),O="x"===x?"y":"x",w=t.modifiersData.popperOffsets,E=t.rects.reference,k=t.rects.popper,S="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,I={x:0,y:0};if(w){if(i||s){var A="y"===x?_:P,L="y"===x?j:M,D="y"===x?"height":"width",N=w[x],R=w[x]+m[A],B=w[x]-m[L],C=d?-k[D]/2:0,V=g===T?E[D]:k[D],Y=g===T?-k[D]:-E[D],q=t.elements.arrow,U=d&&q?z(q):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},K=H[A],F=H[L],G=ie(0,E[D],U[D]),$=b?E[D]/2-C-G-K-S:V-G-K-S,X=b?-E[D]/2+C+G+F+S:Y+G+F+S,Z=t.elements.arrow&&ee(t.elements.arrow),J=Z?"y"===x?Z.clientTop||0:Z.clientLeft||0:0,Q=t.modifiersData.offset?t.modifiersData.offset[t.placement][x]:0,oe=w[x]+$-Q-J,ae=w[x]+X-Q;if(i){var se=ie(d?re(R,oe):R,N,d?ne(B,ae):B);w[x]=se,I[x]=se-N}if(s){var ue="x"===x?_:P,ce="x"===x?j:M,fe=w[O],le=fe+m[ue],pe=fe-m[ce],de=ie(d?re(le,oe):le,fe,d?ne(pe,ae):pe);w[O]=de,I[O]=de-fe}}t.modifiersData[r]=I}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=W(n.placement),u=te(s),c=[P,M].indexOf(s)>=0?"height":"width";if(i&&a){var f=function(e,t){return ae("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:se(e,I))}(o.padding,n),l=z(i),p="y"===u?_:P,d="y"===u?j:M,h=n.rects.reference[c]+n.rects.reference[u]-a[u]-n.rects.popper[c],v=a[u]-n.rects.reference[u],m=ee(i),y=m?"y"===u?m.clientHeight||0:m.clientWidth||0:0,g=h/2-v/2,b=f[p],x=y-l[c]-f[d],O=y/2-l[c]/2+g,w=ie(b,O,x),E=u;n.modifiersData[r]=((t={})[E]=w,t.centerOffset=w-O,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&("production"!==process.env.NODE_ENV&&(q(r)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),G(t.elements.popper,r)?t.elements.arrow=r:"production"!==process.env.NODE_ENV&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" ")))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=_e(t,{elementContext:"reference"}),s=_e(t,{altBoundary:!0}),u=Me(a,r),c=Me(s,o,i),f=Pe(u),l=Pe(c);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:f,hasPopperEscaped:l},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":l})}}]});function Ve(e){return null==e}function Ye(e){if(Array.isArray(e))return!0;var t=Object.prototype.toString.call(e);return"[object"===t.substr(0,7)&&"Array]"===t.substr(-6)}function qe(e){return null!==e&&/^\[object (Object|Module)\]/.test(Object.prototype.toString.call(e))}var Ue=function(e){return("number"==typeof e||e instanceof Number)&&isFinite(+e)};function He(e){if(Ye(e))return e.map(He);if(qe(e)){for(var t=Object.create(null),n=Object.keys(e),r=n.length,o=0;o<r;++o)t[n[o]]=He(e[n[o]]);return t}return e}function We(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}function Ke(e,t,n,r){if(We(e)){var o=t[e],i=n[e];qe(o)&&qe(i)?Fe(o,i,r):t[e]=He(i)}}function Fe(e,t,n){var r=Ye(t)?t:[t],o=r.length;if(!qe(e))return e;for(var i=(n=n||{}).merger||Ke,a=0;a<o;++a)if(qe(t=r[a]))for(var s=Object.keys(t),u=0,c=s.length;u<c;++u)i(s[u],e,t,n);return e}function ze(e,t){return Fe(e,t,{merger:Ge})}function Ge(e,t,n){if(We(e)){var r=t[e],o=n[e];qe(r)&&qe(o)?ze(r,o):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=He(o))}}var $e=function(){function e(t,n,r){var o;s(this,e),this.isShow=!1,this.trigger=void 0,this.instance=void 0,this.reference=void 0,this.referenceTarget=void 0,this.popperRefer=void 0,this.initOptions=this.initDefaultOptions(r),this.reference=this.resolveInputSelectorToHtmlElement(t),this.popperRefer=this.resolveInputSelectorToHtmlElement(n),this.referenceTarget=this.getTargetReferenceElement(),this.isShow=!!(null===(o=this.initOptions)||void 0===o?void 0:o.isShow),this.trigger=this.initOptions.trigger,this.initInstance(),this.registerEvents(),this.isShow&&this.show(null)}return c(e,[{key:"forceUpdate",value:function(){var e;null===(e=this.instance)||void 0===e||e.forceUpdate()}},{key:"update",value:function(){var e;null===(e=this.instance)||void 0===e||e.update()}},{key:"setOptions",value:function(e){var t;null===(t=this.instance)||void 0===t||t.setOptions(e)}},{key:"destroy",value:function(){var e;null===(e=this.instance)||void 0===e||e.destroy()}},{key:"show",value:function(e){var t;console.info(e),null===(t=this.popperRefer)||void 0===t||t.setAttribute("data-show",""),this.setOptions({modifiers:[].concat(k(this.initOptions.modifiers||[]),[{name:"eventListeners",enabled:!0}])}),this.update(),this.isShow=!0}},{key:"hide",value:function(e){var t;console.info(e),null===(t=this.popperRefer)||void 0===t||t.removeAttribute("data-show"),this.setOptions({modifiers:[{name:"eventListeners",enabled:!1}]}),this.isShow=!1}},{key:"initDefaultOptions",value:function(e){return Fe({placement:"top",modifiers:[],strategy:"absolute",onFirstUpdate:void 0,isShow:!1,theme:"dark",trigger:"hover"},e||{})}},{key:"getTargetReferenceElement",value:function(){return this.isElement(this.reference)&&1===this.reference.childElementCount?this.reference.firstElementChild:this.reference}},{key:"initInstance",value:function(){var e,t;this.referenceTarget&&(this.referenceTarget&&this.popperRefer?(this.instance=Ce(this.referenceTarget,this.popperRefer,this.initOptions),null===(e=this.popperRefer)||void 0===e||e.setAttribute("data-theme",null!==(t=this.initOptions.theme)&&void 0!==t?t:"dark")):console.error("reference or popperRefer is null, please check html element."))}},{key:"resolveInputSelectorToHtmlElement",value:function(e){if(this.isElement(e))return e;if("string"==typeof e)return document.querySelector(e);if("object"===y(e)){if(Object.prototype.hasOwnProperty.call(e,"getBoundingClientRect"))return e}else console.error("'getBoundingClientRect' is needed when use virtual elements");return null}},{key:"isElement",value:function(e){try{return e instanceof HTMLElement}catch(t){return"object"===y(e)&&1===e.nodeType&&"object"===y(e.style)&&"object"===y(e.ownerDocument)}}},{key:"registerEvents",value:function(){var e=this;if(this.isElement(this.referenceTarget)&&"hover"===this.trigger){["mouseenter","focus"].forEach((function(t){e.referenceTarget.addEventListener(t,(function(t){e.show(t)}))})),["mouseleave","blur"].forEach((function(t){e.referenceTarget.addEventListener(t,(function(t){e.hide(t)}))}))}if("click"===this.trigger){["click"].forEach((function(t){document.body.addEventListener(t,(function(t){e.isSameElement(t.target,e.reference)?e.show(t):e.isShow&&!e.isSameElement(t.target,e.popperRefer)&&e.hide(t)}))}))}}},{key:"isSameElement",value:function(e,t){return e&&(e===t||e===t.firstElementChild)}}]),e}(),Xe={},Ze={},Je={};Object.defineProperty(Je,"__esModule",{value:!0}),Je.default=function(){nt>tt.length-16&&(et.default.randomFillSync(tt),nt=0);return tt.slice(nt,nt+=16)};var Qe,et=(Qe=o.default)&&Qe.__esModule?Qe:{default:Qe};var tt=new Uint8Array(256),nt=tt.length;var rt={},ot={},it={};Object.defineProperty(it,"__esModule",{value:!0}),it.default=void 0;it.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,Object.defineProperty(ot,"__esModule",{value:!0}),ot.default=void 0;var at=function(e){return e&&e.__esModule?e:{default:e}}(it);var st=function(e){return"string"==typeof e&&at.default.test(e)};ot.default=st,Object.defineProperty(rt,"__esModule",{value:!0}),rt.default=void 0;var ut=function(e){return e&&e.__esModule?e:{default:e}}(ot);for(var ct=[],ft=0;ft<256;++ft)ct.push((ft+256).toString(16).substr(1));var lt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(ct[e[t+0]]+ct[e[t+1]]+ct[e[t+2]]+ct[e[t+3]]+"-"+ct[e[t+4]]+ct[e[t+5]]+"-"+ct[e[t+6]]+ct[e[t+7]]+"-"+ct[e[t+8]]+ct[e[t+9]]+"-"+ct[e[t+10]]+ct[e[t+11]]+ct[e[t+12]]+ct[e[t+13]]+ct[e[t+14]]+ct[e[t+15]]).toLowerCase();if(!(0,ut.default)(n))throw TypeError("Stringified UUID is invalid");return n};rt.default=lt,Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.default=void 0;var pt,dt,ht=mt(Je),vt=mt(rt);function mt(e){return e&&e.__esModule?e:{default:e}}var yt=0,gt=0;var bt=function(e,t,n){var r=t&&n||0,o=t||new Array(16),i=(e=e||{}).node||pt,a=void 0!==e.clockseq?e.clockseq:dt;if(null==i||null==a){var s=e.random||(e.rng||ht.default)();null==i&&(i=pt=[1|s[0],s[1],s[2],s[3],s[4],s[5]]),null==a&&(a=dt=16383&(s[6]<<8|s[7]))}var u=void 0!==e.msecs?e.msecs:Date.now(),c=void 0!==e.nsecs?e.nsecs:gt+1,f=u-yt+(c-gt)/1e4;if(f<0&&void 0===e.clockseq&&(a=a+1&16383),(f<0||u>yt)&&void 0===e.nsecs&&(c=0),c>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");yt=u,gt=c,dt=a;var l=(1e4*(268435455&(u+=122192928e5))+c)%4294967296;o[r++]=l>>>24&255,o[r++]=l>>>16&255,o[r++]=l>>>8&255,o[r++]=255&l;var p=u/4294967296*1e4&268435455;o[r++]=p>>>8&255,o[r++]=255&p,o[r++]=p>>>24&15|16,o[r++]=p>>>16&255,o[r++]=a>>>8|128,o[r++]=255&a;for(var d=0;d<6;++d)o[r+d]=i[d];return t||(0,vt.default)(o)};Ze.default=bt;var xt={},Ot={},wt={};Object.defineProperty(wt,"__esModule",{value:!0}),wt.default=void 0;var Et=function(e){return e&&e.__esModule?e:{default:e}}(ot);var kt=function(e){if(!(0,Et.default)(e))throw TypeError("Invalid UUID");var t,n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n};wt.default=kt,Object.defineProperty(Ot,"__esModule",{value:!0}),Ot.default=function(e,t,n){function r(e,r,o,i){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}(e)),"string"==typeof r&&(r=(0,jt.default)(r)),16!==r.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var a=new Uint8Array(16+e.length);if(a.set(r),a.set(e,r.length),(a=n(a))[6]=15&a[6]|t,a[8]=63&a[8]|128,o){i=i||0;for(var s=0;s<16;++s)o[i+s]=a[s];return o}return(0,_t.default)(a)}try{r.name=e}catch(e){}return r.DNS=Pt,r.URL=St,r},Ot.URL=Ot.DNS=void 0;var _t=Mt(rt),jt=Mt(wt);function Mt(e){return e&&e.__esModule?e:{default:e}}var Pt="6ba7b810-9dad-11d1-80b4-00c04fd430c8";Ot.DNS=Pt;var St="6ba7b811-9dad-11d1-80b4-00c04fd430c8";Ot.URL=St;var It={};Object.defineProperty(It,"__esModule",{value:!0}),It.default=void 0;var Tt=function(e){return e&&e.__esModule?e:{default:e}}(o.default);var At=function(e){return Array.isArray(e)?e=Buffer.from(e):"string"==typeof e&&(e=Buffer.from(e,"utf8")),Tt.default.createHash("md5").update(e).digest()};It.default=At,Object.defineProperty(xt,"__esModule",{value:!0}),xt.default=void 0;var Lt=Nt(Ot),Dt=Nt(It);function Nt(e){return e&&e.__esModule?e:{default:e}}var Rt=(0,Lt.default)("v3",48,Dt.default);xt.default=Rt;var Bt={};Object.defineProperty(Bt,"__esModule",{value:!0}),Bt.default=void 0;var Ct=Yt(Je),Vt=Yt(rt);function Yt(e){return e&&e.__esModule?e:{default:e}}var qt=function(e,t,n){var r=(e=e||{}).random||(e.rng||Ct.default)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return(0,Vt.default)(r)};Bt.default=qt;var Ut={},Ht={};Object.defineProperty(Ht,"__esModule",{value:!0}),Ht.default=void 0;var Wt=function(e){return e&&e.__esModule?e:{default:e}}(o.default);var Kt=function(e){return Array.isArray(e)?e=Buffer.from(e):"string"==typeof e&&(e=Buffer.from(e,"utf8")),Wt.default.createHash("sha1").update(e).digest()};Ht.default=Kt,Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.default=void 0;var Ft=Gt(Ot),zt=Gt(Ht);function Gt(e){return e&&e.__esModule?e:{default:e}}var $t=(0,Ft.default)("v5",80,zt.default);Ut.default=$t;var Xt={};Object.defineProperty(Xt,"__esModule",{value:!0}),Xt.default=void 0;Xt.default="00000000-0000-0000-0000-000000000000";var Zt={};Object.defineProperty(Zt,"__esModule",{value:!0}),Zt.default=void 0;var Jt=function(e){return e&&e.__esModule?e:{default:e}}(ot);var Qt=function(e){if(!(0,Jt.default)(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)};Zt.default=Qt,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"v1",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"v3",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"v4",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"v5",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"NIL",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"version",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"validate",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return c.default}});var t=f(Ze),n=f(xt),r=f(Bt),o=f(Ut),i=f(Xt),a=f(Zt),s=f(ot),u=f(rt),c=f(wt);function f(e){return e&&e.__esModule?e:{default:e}}}(Xe);var en=function(){function e(t){s(this,e),this.multiInstance=!1,this.uniqueMaskAttrTag="",this.parentNode=document.body,this.activeInstance=void 0,this.maskStyle={position:"absolute",left:0,top:0,bottom:0,right:0,display:"none","background-color":"rgba(0,0,0,.6)"};var n=t||{},r=n.multiInstance,o=void 0!==r&&r,i=n.maskAttrTag,a=void 0===i?"auto":i,u=n.parentNode,c=void 0===u?document.body:u,f=n.maskStyle,l=void 0===f?{}:f;this.activeInstance=void 0,this.maskStyle=Object.assign({},this.maskStyle,l),this.multiInstance=o,this.uniqueMaskAttrTag=this.getMaskAttrTag(a),this.parentNode=c||document,this.mask=this.getMask(),this.backupMask=this.createMask("data-bk-backup-uid"),this.setMaskStyle()}return c(e,[{key:"show",value:function(e,t){var n=/-?\d+/.test("".concat(t))?t:v.getModalNextIndex();this.mask.style.setProperty("display","block"),this.mask.style.setProperty("z-index","".concat(n)),this.backupMask.style.setProperty("z-index","".concat(n-1)),e&&(this.activeInstance=e,this.appendContentToMask(e))}},{key:"hide",value:function(e){var t;this.mask.style.setProperty("display","none"),null==e||e.remove(),null===(t=this.activeInstance)||void 0===t||t.remove(),this.activeInstance=void 0}},{key:"backupActiveInstance",value:function(){this.activeInstance&&this.backupMask.append(this.activeInstance)}},{key:"backupContentElement",value:function(e){e&&this.backupMask.append(e)}},{key:"getActiveContentInstance",value:function(){return this.activeInstance}},{key:"getMask",value:function(){if(this.multiInstance)return this.createMask();var e=this.parentNode.querySelector("[data-bkmask-uid='".concat(this.uniqueMaskAttrTag,"']"));return e||(e=this.createMask()),e}},{key:"createMask",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"data-bk-mask-uid",t=document.createElement("div");return t.setAttribute(e,this.uniqueMaskAttrTag),this.parentNode.append(t),t}},{key:"setMaskStyle",value:function(){var e=this;this.mask&&Object.entries(this.maskStyle).forEach((function(t){return e.mask.style.setProperty(t[0],t[1])}))}},{key:"getMaskAttrTag",value:function(e){return/^(auto|\s+)$/i.test(e)||null==e||""===e?"__bk_mask_".concat(Xe.v4()):e}},{key:"appendContentToMask",value:function(e){this.mask.append(e)}}]),e}(),tn=new en({}),nn=new(function(){function e(){s(this,e),this.popInstanceList=[],this.uuidAttrName="data-bk-pop-uuid"}return c(e,[{key:"show",value:function(e){if(e){var t=v.getModalNextIndex(),n=Xe.v4();e.setAttribute(this.uuidAttrName,n),this.popInstanceList.push({uuid:n,zIndex:t,content:e}),tn.backupActiveInstance(),tn.show(e,t)}else console.warn("pop show error: content is null or undefined")}},{key:"popHide",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.popInstanceList.length){if(e){var t=this.popInstanceList.pop();t.remove()}if(this.popInstanceList.length){var n=this.popInstanceList.slice(-1)[0];tn.show(n.content,n.zIndex)}else tn.hide()}}},{key:"hide",value:function(e){var t=null==e?void 0:e.getAttribute(this.uuidAttrName);if(t){var n=this.popInstanceList.findIndex((function(e){return e.uuid===t}));n>=0&&(this.popInstanceList[n].content.remove(),this.popInstanceList.splice(n,1),this.popInstanceList.length?this.popHide(!1):tn.hide())}else null==e||e.remove()}}]),e}()),rn={exports:{}},on={exports:{}};!function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,t(n,r)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0}(on),function(e){var t=on.exports;e.exports=function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&t(e,n)},e.exports.default=e.exports,e.exports.__esModule=!0}(rn);var an=i(rn.exports),sn={exports:{}},un={exports:{}};!function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.default=e.exports,e.exports.__esModule=!0}(un),function(e){var t=m.exports.default,n=un.exports;e.exports=function(e,r){if(r&&("object"===t(r)||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return n(e)},e.exports.default=e.exports,e.exports.__esModule=!0}(sn);var cn=i(sn.exports),fn={exports:{}};!function(e){function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!0,t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0}(fn);var ln=i(fn.exports);function pn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ln(e);if(t){var o=ln(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return cn(this,n)}}var dn,hn,vn=n.createTypes({});e.Size=void 0,(dn=e.Size||(e.Size={})).Small="small",dn.Large="large",e.Placements=void 0,(hn=e.Placements||(e.Placements={})).Top="top",hn.Left="left",hn.Right="right",hn.Bottom="bottom";var mn,yn=function(e){an(r,e);var t=pn(r);function r(){return s(this,r),t.apply(this,arguments)}return c(r,null,[{key:"size",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["small","large"];return n.toType("Size",{type:String,validator:function(t){return!(t&&!e.includes(t))||(console.error("invalid size, ".concat(t,", the size must be one of 【").concat(e.join(" | "),"】")),!1)},default:""})}},{key:"theme",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["primary","warning","success","danger"];return n.toType("Theme",{type:String,validator:function(t){return!(t&&!e.includes(t))||(console.error("invalid theme, ".concat(t,", the theme must be one of 【").concat(e.join(" | "),"】")),!1)},default:""})}},{key:"placement",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["top","left","right","bottom"];return n.toType("Placements",{type:String,validator:function(t){return!(t&&!e.includes(t))||(console.error("invalid placements, ".concat(t,", the placement must be one of 【").concat(e.join(" | "),"】")),!1)},default:"top"})}},{key:"commonType",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"commonType";return n.toType(t.replace(/^\S/,(function(e){return e.toUpperCase()})),{type:String,validator:function(n){var r=e.includes(n);return r||console.error("invalid ".concat(t,", ").concat(n,", the ").concat(t," must be one of 【").concat(e.join(" | "),"】")),r},default:e[0]})}},{key:"style",value:function(){return n.toType("Style",{type:[String,Object]})}}]),r}(vn);var gn=Object.create({});e.BKLAYERD_INDEX_EFAULT_VALUE=h,e.BKPopover=$e,e.BkMaskManager=en,e.EMPTY_OBJ=gn,e.PropTypes=yn,e.bKMaskManager=tn,e.bkPopIndexManager=nn,e.bkZIndexManager=v,e.classes=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object.entries(e).filter((function(e){return e[1]})).map((function(e){return e[0]})).join(" ").concat(t?" ".concat(t):"")},e.clone=He,e.elementsEqual=function(e,t){var n,r,o,i;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(o=e[n],i=t[n],o.datasetIndex!==i.datasetIndex||o.index!==i.index)return!1;return!0},e.finiteOrDefault=function(e,t){return Ue(e)?e:t},e.isArray=Ye,e.isEmpty=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return""===e||!!t&&Ve(e)},e.isEmptyObj=function(e){return Object.keys(e).length<1},e.isFinite=Ue,e.isNullOrUndef=Ve,e.isObject=qe,e.merge=Fe,e.mergeIf=ze,e.mergerFn=Ke,e.mergerIfFn=Ge,e.noop=function(){},e.renderEmptyVNode=function(){return null},e.scrollbarWidth=function(){if(void 0!==mn)return mn;var e=document.createElement("div");e.className="bk-scrollbar-wrap",e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var t=e.offsetWidth;e.style.overflow="scroll";var n=document.createElement("div");n.style.width="100%",e.appendChild(n);var r=n.offsetWidth;return e.parentNode.removeChild(e),mn=t-r},e.throttle=function(e,t,n){var r,o,i,a=null,s=0;n||(n={});var u=function(){s=!1===n.leading?0:(new Date).getTime(),a=null,i=e.apply(r,o),a||(r=o=null)};return function(){var c=(new Date).getTime();s||!1!==n.leading||(s=c);var f=t-(c-s);return r=this,o=arguments,f<=0||f>t?(a&&(clearTimeout(a),a=null),s=c,i=e.apply(r,o),a||(r=o=null)):a||!1===n.trailing||(a=setTimeout(u,f)),i}},e.valueOrDefault=function(e,t){return void 0===e?t:e},e.withInstall=function(e){return e.install=function(t){t.component(e.name,e)},e},e.withInstallProps=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e.install=function(r){r.component(e.name,e),!n&&Object.keys(t).forEach((function(e){r.component(e,t[e])}))},Object.keys(t).forEach((function(n){e[n]=t[n]})),e},Object.defineProperty(e,"__esModule",{value:!0})}));
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("crypto"),require("vue-types")):"function"==typeof define&&define.amd?define(["exports","crypto","vue-types"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.require$$0,e["vue-types"])}(this,(function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=r(t);function i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var a={exports:{}};!function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0}(a);var s=i(a.exports),u={exports:{}};!function(e){function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e},e.exports.default=e.exports,e.exports.__esModule=!0}(u);var c=i(u.exports),f={exports:{}};!function(e){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.default=e.exports,e.exports.__esModule=!0}(f);var l,p,d=i(f.exports);e.BKLAYERTYPE=void 0,(p=e.BKLAYERTYPE||(e.BKLAYERTYPE={})).BOTTOM="bottom",p.CONTENT="content",p.NAVI="navi",p.FULLSCREEN="fullScreen",p.PLUGINS="plugins",p.MODAL="modal",p.MESSAGE="message",p.POPPER="popper";var h=(d(l={},e.BKLAYERTYPE.BOTTOM,0),d(l,e.BKLAYERTYPE.CONTENT,1),d(l,e.BKLAYERTYPE.NAVI,100),d(l,e.BKLAYERTYPE.FULLSCREEN,1e3),d(l,e.BKLAYERTYPE.MODAL,3e3),d(l,e.BKLAYERTYPE.PLUGINS,8e3),d(l,e.BKLAYERTYPE.MESSAGE,1e4),d(l,e.BKLAYERTYPE.POPPER,99999),l),v=new(function(){function t(){s(this,t),this.storageLayerIndexValue={},this.copyDefaultValue()}return c(t,[{key:"getNextIndex",value:function(t){return Object.prototype.hasOwnProperty.call(this.storageLayerIndexValue,t)?(this.storageLayerIndexValue[t]=this.storageLayerIndexValue[t]+1,this.storageLayerIndexValue[t]):(this.storageLayerIndexValue[e.BKLAYERTYPE.MODAL]=this.storageLayerIndexValue[e.BKLAYERTYPE.MODAL]+1,this.storageLayerIndexValue[e.BKLAYERTYPE.MODAL])}},{key:"getModalNextIndex",value:function(){return this.getNextIndex(e.BKLAYERTYPE.MODAL)}},{key:"getMessageNextIndex",value:function(){return this.getNextIndex(e.BKLAYERTYPE.MESSAGE)}},{key:"getFullScreenNextIndex",value:function(){return this.getNextIndex(e.BKLAYERTYPE.FULLSCREEN)}},{key:"getNaviNextIndex",value:function(){return this.getNextIndex(e.BKLAYERTYPE.NAVI)}},{key:"getPopperIndex",value:function(){return h.popper}},{key:"setDefaultZIndex",value:function(e){var t=this;Object.keys(e||{}).forEach((function(n){Object.prototype.hasOwnProperty.call(t.storageLayerIndexValue.__proto__,n)&&Object.assign(t.storageLayerIndexValue.__proto__,d({},n,e[n]))})),this.copyDefaultValue()}},{key:"resetZIndex",value:function(e){var t=this;Object.keys(e||{}).forEach((function(n){Object.prototype.hasOwnProperty.call(t.storageLayerIndexValue,n)&&Object.assign(t.storageLayerIndexValue,d({},n,e[n]))}))}},{key:"copyDefaultValue",value:function(){var e=Object.keys(h).reduce((function(e,t){return Object.assign(e,d({},t,{value:h[t],writable:!0,configurable:!0}))}),{});this.storageLayerIndexValue=Object.create(h,e)}}]),t}()),m={exports:{}};!function(e){function t(n){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=t=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0}(m);var y=i(m.exports),g={exports:{}},b={exports:{}},x={exports:{}};!function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.default=e.exports,e.exports.__esModule=!0}(x),function(e){var t=x.exports;e.exports=function(e){if(Array.isArray(e))return t(e)},e.exports.default=e.exports,e.exports.__esModule=!0}(b);var O={exports:{}};!function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0}(O);var w={exports:{}};!function(e){var t=x.exports;e.exports=function(e,n){if(e){if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0}(w);var E={exports:{}};!function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0}(E),function(e){var t=b.exports,n=O.exports,r=w.exports,o=E.exports;e.exports=function(e){return t(e)||n(e)||r(e)||o()},e.exports.default=e.exports,e.exports.__esModule=!0}(g);var k=i(g.exports),_="top",j="bottom",M="right",P="left",A="auto",I=[_,j,M,P],S="start",T="end",L="viewport",D="popper",N=I.reduce((function(e,t){return e.concat([t+"-"+S,t+"-"+T])}),[]),R=[].concat(I,[A]).reduce((function(e,t){return e.concat([t,t+"-"+S,t+"-"+T])}),[]),B=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function V(e){return e?(e.nodeName||"").toLowerCase():null}function C(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Y(e){return e instanceof C(e).Element||e instanceof Element}function q(e){return e instanceof C(e).HTMLElement||e instanceof HTMLElement}function U(e){return"undefined"!=typeof ShadowRoot&&(e instanceof C(e).ShadowRoot||e instanceof ShadowRoot)}var H={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];q(o)&&V(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});q(r)&&V(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function W(e){return e.split("-")[0]}var K=Math.max,F=Math.min,z=Math.round;function G(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(q(e)&&t){var i=e.offsetHeight,a=e.offsetWidth;a>0&&(r=z(n.width)/a||1),i>0&&(o=z(n.height)/i||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function $(e){var t=G(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function X(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&U(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Z(e){return C(e).getComputedStyle(e)}function J(e){return["table","td","th"].indexOf(V(e))>=0}function Q(e){return((Y(e)?e.ownerDocument:e.document)||window.document).documentElement}function ee(e){return"html"===V(e)?e:e.assignedSlot||e.parentNode||(U(e)?e.host:null)||Q(e)}function te(e){return q(e)&&"fixed"!==Z(e).position?e.offsetParent:null}function ne(e){for(var t=C(e),n=te(e);n&&J(n)&&"static"===Z(n).position;)n=te(n);return n&&("html"===V(n)||"body"===V(n)&&"static"===Z(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&q(e)&&"fixed"===Z(e).position)return null;for(var n=ee(e);q(n)&&["html","body"].indexOf(V(n))<0;){var r=Z(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function re(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function oe(e,t,n){return K(e,F(t,n))}function ie(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function ae(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var se={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=W(n.placement),u=re(s),c=[P,M].indexOf(s)>=0?"height":"width";if(i&&a){var f=function(e,t){return ie("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:ae(e,I))}(o.padding,n),l=$(i),p="y"===u?_:P,d="y"===u?j:M,h=n.rects.reference[c]+n.rects.reference[u]-a[u]-n.rects.popper[c],v=a[u]-n.rects.reference[u],m=ne(i),y=m?"y"===u?m.clientHeight||0:m.clientWidth||0:0,g=h/2-v/2,b=f[p],x=y-l[c]-f[d],O=y/2-l[c]/2+g,w=oe(b,O,x),E=u;n.modifiersData[r]=((t={})[E]=w,t.centerOffset=w-O,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&("production"!==process.env.NODE_ENV&&(q(r)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),X(t.elements.popper,r)?t.elements.arrow=r:"production"!==process.env.NODE_ENV&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" ")))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ue(e){return e.split("-")[1]}var ce={top:"auto",right:"auto",bottom:"auto",left:"auto"};function fe(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,u=e.gpuAcceleration,c=e.adaptive,f=e.roundOffsets,l=e.isFixed,p=!0===f?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:z(t*r)/r||0,y:z(n*r)/r||0}}(a):"function"==typeof f?f(a):a,d=p.x,h=void 0===d?0:d,v=p.y,m=void 0===v?0:v,y=a.hasOwnProperty("x"),g=a.hasOwnProperty("y"),b=P,x=_,O=window;if(c){var w=ne(n),E="clientHeight",k="clientWidth";if(w===C(n)&&"static"!==Z(w=Q(n)).position&&"absolute"===s&&(E="scrollHeight",k="scrollWidth"),w=w,o===_||(o===P||o===M)&&i===T)x=j,m-=(l&&O.visualViewport?O.visualViewport.height:w[E])-r.height,m*=u?1:-1;if(o===P||(o===_||o===j)&&i===T)b=M,h-=(l&&O.visualViewport?O.visualViewport.width:w[k])-r.width,h*=u?1:-1}var A,I=Object.assign({position:s},c&&ce);return u?Object.assign({},I,((A={})[x]=g?"0":"",A[b]=y?"0":"",A.transform=(O.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",A)):Object.assign({},I,((t={})[x]=g?m+"px":"",t[b]=y?h+"px":"",t.transform="",t))}var le={passive:!0};var pe={left:"right",right:"left",bottom:"top",top:"bottom"};function de(e){return e.replace(/left|right|bottom|top/g,(function(e){return pe[e]}))}var he={start:"end",end:"start"};function ve(e){return e.replace(/start|end/g,(function(e){return he[e]}))}function me(e){var t=C(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ye(e){return G(Q(e)).left+me(e).scrollLeft}function ge(e){var t=Z(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function be(e){return["html","body","#document"].indexOf(V(e))>=0?e.ownerDocument.body:q(e)&&ge(e)?e:be(ee(e))}function xe(e,t){var n;void 0===t&&(t=[]);var r=be(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=C(r),a=o?[i].concat(i.visualViewport||[],ge(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(xe(ee(a)))}function Oe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function we(e,t){return t===L?Oe(function(e){var t=C(e),n=Q(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,s=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,s=r.offsetTop)),{width:o,height:i,x:a+ye(e),y:s}}(e)):Y(t)?function(e){var t=G(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Oe(function(e){var t,n=Q(e),r=me(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=K(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=K(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+ye(e),u=-r.scrollTop;return"rtl"===Z(o||n).direction&&(s+=K(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:u}}(Q(e)))}function Ee(e,t,n){var r="clippingParents"===t?function(e){var t=xe(ee(e)),n=["absolute","fixed"].indexOf(Z(e).position)>=0,r=n&&q(e)?ne(e):e;return Y(r)?t.filter((function(e){return Y(e)&&X(e,r)&&"body"!==V(e)&&(!n||"static"!==Z(e).position)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(t,n){var r=we(e,n);return t.top=K(r.top,t.top),t.right=F(r.right,t.right),t.bottom=F(r.bottom,t.bottom),t.left=K(r.left,t.left),t}),we(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function ke(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?W(o):null,a=o?ue(o):null,s=n.x+n.width/2-r.width/2,u=n.y+n.height/2-r.height/2;switch(i){case _:t={x:s,y:n.y-r.height};break;case j:t={x:s,y:n.y+n.height};break;case M:t={x:n.x+n.width,y:u};break;case P:t={x:n.x-r.width,y:u};break;default:t={x:n.x,y:n.y}}var c=i?re(i):null;if(null!=c){var f="y"===c?"height":"width";switch(a){case S:t[c]=t[c]-(n[f]/2-r[f]/2);break;case T:t[c]=t[c]+(n[f]/2-r[f]/2)}}return t}function _e(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,a=void 0===i?"clippingParents":i,s=n.rootBoundary,u=void 0===s?L:s,c=n.elementContext,f=void 0===c?D:c,l=n.altBoundary,p=void 0!==l&&l,d=n.padding,h=void 0===d?0:d,v=ie("number"!=typeof h?h:ae(h,I)),m=f===D?"reference":D,y=e.rects.popper,g=e.elements[p?m:f],b=Ee(Y(g)?g:g.contextElement||Q(e.elements.popper),a,u),x=G(e.elements.reference),O=ke({reference:x,element:y,strategy:"absolute",placement:o}),w=Oe(Object.assign({},y,O)),E=f===D?w:x,k={top:b.top-E.top+v.top,bottom:E.bottom-b.bottom+v.bottom,left:b.left-E.left+v.left,right:E.right-b.right+v.right},P=e.modifiersData.offset;if(f===D&&P){var A=P[o];Object.keys(k).forEach((function(e){var t=[M,j].indexOf(e)>=0?1:-1,n=[_,j].indexOf(e)>=0?"y":"x";k[e]+=A[n]*t}))}return k}function je(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,u=n.allowedAutoPlacements,c=void 0===u?R:u,f=ue(r),l=f?s?N:N.filter((function(e){return ue(e)===f})):I,p=l.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=l,"production"!==process.env.NODE_ENV&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var d=p.reduce((function(t,n){return t[n]=_e(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[W(n)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}var Me={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,u=n.fallbackPlacements,c=n.padding,f=n.boundary,l=n.rootBoundary,p=n.altBoundary,d=n.flipVariations,h=void 0===d||d,v=n.allowedAutoPlacements,m=t.options.placement,y=W(m),g=u||(y===m||!h?[de(m)]:function(e){if(W(e)===A)return[];var t=de(e);return[ve(e),t,ve(t)]}(m)),b=[m].concat(g).reduce((function(e,n){return e.concat(W(n)===A?je(t,{placement:n,boundary:f,rootBoundary:l,padding:c,flipVariations:h,allowedAutoPlacements:v}):n)}),[]),x=t.rects.reference,O=t.rects.popper,w=new Map,E=!0,k=b[0],I=0;I<b.length;I++){var T=b[I],L=W(T),D=ue(T)===S,N=[_,j].indexOf(L)>=0,R=N?"width":"height",B=_e(t,{placement:T,boundary:f,rootBoundary:l,altBoundary:p,padding:c}),V=N?D?M:P:D?j:_;x[R]>O[R]&&(V=de(V));var C=de(V),Y=[];if(i&&Y.push(B[L]<=0),s&&Y.push(B[V]<=0,B[C]<=0),Y.every((function(e){return e}))){k=T,E=!1;break}w.set(T,Y)}if(E)for(var q=function(e){var t=b.find((function(t){var n=w.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return k=t,"break"},U=h?3:1;U>0;U--){if("break"===q(U))break}t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Pe(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Ae(e){return[_,M,j,P].some((function(t){return e[t]>=0}))}var Ie={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=R.reduce((function(e,n){return e[n]=function(e,t,n){var r=W(e),o=[P,_].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[P,M].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],u=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}};var Se={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,u=n.boundary,c=n.rootBoundary,f=n.altBoundary,l=n.padding,p=n.tether,d=void 0===p||p,h=n.tetherOffset,v=void 0===h?0:h,m=_e(t,{boundary:u,rootBoundary:c,padding:l,altBoundary:f}),y=W(t.placement),g=ue(t.placement),b=!g,x=re(y),O="x"===x?"y":"x",w=t.modifiersData.popperOffsets,E=t.rects.reference,k=t.rects.popper,A="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,I="number"==typeof A?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,L={x:0,y:0};if(w){if(i){var D,N="y"===x?_:P,R="y"===x?j:M,B="y"===x?"height":"width",V=w[x],C=V+m[N],Y=V-m[R],q=d?-k[B]/2:0,U=g===S?E[B]:k[B],H=g===S?-k[B]:-E[B],z=t.elements.arrow,G=d&&z?$(z):{width:0,height:0},X=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Z=X[N],J=X[R],Q=oe(0,E[B],G[B]),ee=b?E[B]/2-q-Q-Z-I.mainAxis:U-Q-Z-I.mainAxis,te=b?-E[B]/2+q+Q+J+I.mainAxis:H+Q+J+I.mainAxis,ie=t.elements.arrow&&ne(t.elements.arrow),ae=ie?"y"===x?ie.clientTop||0:ie.clientLeft||0:0,se=null!=(D=null==T?void 0:T[x])?D:0,ce=V+te-se,fe=oe(d?F(C,V+ee-se-ae):C,V,d?K(Y,ce):Y);w[x]=fe,L[x]=fe-V}if(s){var le,pe="x"===x?_:P,de="x"===x?j:M,he=w[O],ve="y"===O?"height":"width",me=he+m[pe],ye=he-m[de],ge=-1!==[_,P].indexOf(y),be=null!=(le=null==T?void 0:T[O])?le:0,xe=ge?me:he-E[ve]-k[ve]-be+I.altAxis,Oe=ge?he+E[ve]+k[ve]-be-I.altAxis:ye,we=d&&ge?function(e,t,n){var r=oe(e,t,n);return r>n?n:r}(xe,he,Oe):oe(d?xe:me,he,d?Oe:ye);w[O]=we,L[O]=we-he}t.modifiersData[r]=L}},requiresIfExists:["offset"]};function Te(e,t,n){void 0===n&&(n=!1);var r,o,i=q(t),a=q(t)&&function(e){var t=e.getBoundingClientRect(),n=z(t.width)/e.offsetWidth||1,r=z(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=Q(t),u=G(e,a),c={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(i||!i&&!n)&&(("body"!==V(t)||ge(s))&&(c=(r=t)!==C(r)&&q(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:me(r)),q(t)?((f=G(t,!0)).x+=t.clientLeft,f.y+=t.clientTop):s&&(f.x=ye(s))),{x:u.left+c.scrollLeft-f.x,y:u.top+c.scrollTop-f.y,width:u.width,height:u.height}}function Le(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function De(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return[].concat(n).reduce((function(e,t){return e.replace(/%s/,t)}),e)}var Ne='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',Re=["name","enabled","phase","fn","effect","requires","options"];var Be="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",Ve={placement:"bottom",modifiers:[],strategy:"absolute"};function Ce(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Ye(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?Ve:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ve,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},u=[],c=!1,f={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;l(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:Y(e)?xe(e):e.contextElement?xe(e.contextElement):[],popper:xe(t)};var a,c,p,d=function(e){var t=Le(e);return B.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,s.options.modifiers)));if(s.orderedModifiers=d.filter((function(e){return e.enabled})),"production"!==process.env.NODE_ENV){if(function(e){e.forEach((function(t){[].concat(Object.keys(t),Re).filter((function(e,t,n){return n.indexOf(e)===t})).forEach((function(n){switch(n){case"name":"string"!=typeof t.name&&console.error(De(Ne,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":"boolean"!=typeof t.enabled&&console.error(De(Ne,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));break;case"phase":B.indexOf(t.phase)<0&&console.error(De(Ne,t.name,'"phase"',"either "+B.join(", "),'"'+String(t.phase)+'"'));break;case"fn":"function"!=typeof t.fn&&console.error(De(Ne,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":null!=t.effect&&"function"!=typeof t.effect&&console.error(De(Ne,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":null==t.requires||Array.isArray(t.requires)||console.error(De(Ne,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(De(Ne,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+Re.map((function(e){return'"'+e+'"'})).join(", ")+'; but "'+n+'" was provided.')}t.requires&&t.requires.forEach((function(n){null==e.find((function(e){return e.name===n}))&&console.error(De('Popper: modifier "%s" requires "%s", but "%s" modifier is not available',String(t.name),n,n))}))}))}))}((a=[].concat(d,s.options.modifiers),c=function(e){return e.name},p=new Set,a.filter((function(e){var t=c(e);if(!p.has(t))return p.add(t),!0})))),W(s.options.placement)===A)s.orderedModifiers.find((function(e){return"flip"===e.name}))||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "));var h=Z(t);[h.marginTop,h.marginRight,h.marginBottom,h.marginLeft].some((function(e){return parseFloat(e)}))&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:f,options:r}),a=function(){};u.push(i||a)}})),f.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(Ce(t,n)){s.rects={reference:Te(t,ne(n),"fixed"===s.options.strategy),popper:$(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0,o=0;o<s.orderedModifiers.length;o++){if("production"!==process.env.NODE_ENV&&(r+=1)>100){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}if(!0!==s.reset){var i=s.orderedModifiers[o],a=i.fn,u=i.options,l=void 0===u?{}:u,p=i.name;"function"==typeof a&&(s=a({state:s,options:l,name:p,instance:f})||s)}else s.reset=!1,o=-1}}else"production"!==process.env.NODE_ENV&&console.error(Be)}},update:(o=function(){return new Promise((function(e){f.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){l(),c=!0}};if(!Ce(e,t))return"production"!==process.env.NODE_ENV&&console.error(Be),f;function l(){u.forEach((function(e){return e()})),u=[]}return f.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),f}}var qe=Ye({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,u=C(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,le)})),s&&u.addEventListener("resize",n.update,le),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,le)})),s&&u.removeEventListener("resize",n.update,le)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ke({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,u=void 0===s||s;if("production"!==process.env.NODE_ENV){var c=Z(t.elements.popper).transitionProperty||"";a&&["transform","top","right","bottom","left"].some((function(e){return c.indexOf(e)>=0}))&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var f={placement:W(t.placement),variation:ue(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,fe(Object.assign({},f,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,fe(Object.assign({},f,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},H,Ie,Me,Se,se,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=_e(t,{elementContext:"reference"}),s=_e(t,{altBoundary:!0}),u=Pe(a,r),c=Pe(s,o,i),f=Ae(u),l=Ae(c);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:f,hasPopperEscaped:l},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":l})}}]});function Ue(e){return null==e}function He(e){if(Array.isArray(e))return!0;var t=Object.prototype.toString.call(e);return"[object"===t.substr(0,7)&&"Array]"===t.substr(-6)}function We(e){return null!==e&&/^\[object (Object|Module)\]/.test(Object.prototype.toString.call(e))}var Ke=function(e){return("number"==typeof e||e instanceof Number)&&isFinite(+e)};function Fe(e){if(He(e))return e.map(Fe);if(We(e)){for(var t=Object.create(null),n=Object.keys(e),r=n.length,o=0;o<r;++o)t[n[o]]=Fe(e[n[o]]);return t}return e}function ze(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}function Ge(e,t,n,r){if(ze(e)){var o=t[e],i=n[e];We(o)&&We(i)?$e(o,i,r):t[e]=Fe(i)}}function $e(e,t,n){var r=He(t)?t:[t],o=r.length;if(!We(e))return e;for(var i=(n=n||{}).merger||Ge,a=0;a<o;++a)if(We(t=r[a]))for(var s=Object.keys(t),u=0,c=s.length;u<c;++u)i(s[u],e,t,n);return e}function Xe(e,t){return $e(e,t,{merger:Ze})}function Ze(e,t,n){if(ze(e)){var r=t[e],o=n[e];We(r)&&We(o)?Xe(r,o):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=Fe(o))}}var Je=function(){function e(t,n,r){var o;s(this,e),this.isShow=!1,this.trigger=void 0,this.instance=void 0,this.reference=void 0,this.referenceTarget=void 0,this.popperRefer=void 0,this.delay=50,this.isInnerPopper=!1,this.disabled=!1,this.initOptions=this.initDefaultOptions(r),this.reference=this.resolveInputSelectorToHtmlElement(t),this.popperRefer=this.resolveInputSelectorToHtmlElement(n),this.referenceTarget=this.getTargetReferenceElement(),this.isShow=!!(null===(o=this.initOptions)||void 0===o?void 0:o.isShow),this.trigger=this.initOptions.trigger,this.disabled=this.initOptions.disabled,this.initInstance(),this.registerEvents(),this.isShow&&this.show(null)}return c(e,[{key:"forceUpdate",value:function(){var e;null===(e=this.instance)||void 0===e||e.forceUpdate()}},{key:"update",value:function(){var e;null===(e=this.instance)||void 0===e||e.update()}},{key:"setOptions",value:function(e){var t;null===(t=this.instance)||void 0===t||t.setOptions(e)}},{key:"destroy",value:function(){var e;null===(e=this.instance)||void 0===e||e.destroy()}},{key:"updateDisabled",value:function(e){this.disabled=null!=e?e:!this.disabled,this.disabled&&this.hide(null)}},{key:"show",value:function(e){var t;this.disabled||(console.info(e),null===(t=this.popperRefer)||void 0===t||t.setAttribute("data-show",""),this.setOptions({modifiers:[].concat(k(this.initOptions.modifiers||[]),[{name:"eventListeners",enabled:!0}])}),this.update(),this.isShow=!0)}},{key:"hide",value:function(e){var t;console.info(e),null===(t=this.popperRefer)||void 0===t||t.removeAttribute("data-show"),this.setOptions({modifiers:[].concat(k(this.initOptions.modifiers||[]),[{name:"eventListeners",enabled:!1}])}),this.isShow=!1,this.isInnerPopper=!1}},{key:"initDefaultOptions",value:function(e){return $e({placement:"top",modifiers:[{name:"offset",options:{offset:[0,8]}}],strategy:"absolute",onFirstUpdate:void 0,isShow:!1,theme:"dark",trigger:"hover",disabled:!1},e||{})}},{key:"getTargetReferenceElement",value:function(){return this.isElement(this.reference)&&1===this.reference.childElementCount?this.reference.firstElementChild:this.reference}},{key:"initInstance",value:function(){var e,t;this.referenceTarget&&(this.referenceTarget&&this.popperRefer?(this.instance=qe(this.referenceTarget,this.popperRefer,this.initOptions),null===(e=this.popperRefer)||void 0===e||e.setAttribute("data-theme",null!==(t=this.initOptions.theme)&&void 0!==t?t:"dark")):console.error("reference or popperRefer is null, please check html element."))}},{key:"resolveInputSelectorToHtmlElement",value:function(e){if(this.isElement(e))return e;if("string"==typeof e)return document.querySelector(e);if("object"===y(e)){if(Object.prototype.hasOwnProperty.call(e,"getBoundingClientRect"))return e}else console.error("'getBoundingClientRect' is needed when use virtual elements");return null}},{key:"isElement",value:function(e){try{return e instanceof HTMLElement}catch(t){return"object"===y(e)&&1===e.nodeType&&"object"===y(e.style)&&"object"===y(e.ownerDocument)}}},{key:"registerEvents",value:function(){var e=this;if(this.isElement(this.referenceTarget)&&"hover"===this.trigger){["mouseenter","focus"].forEach((function(t){e.referenceTarget.addEventListener(t,(function(n){"mouseenter"===t&&(e.isInnerPopper=!0),e.show(n)}))})),["mouseleave","blur"].forEach((function(t){e.referenceTarget.addEventListener(t,(function(t){e.isInnerPopper=!1,setTimeout((function(){!e.isInnerPopper&&e.hide(t)}),e.delay)}))})),this.isElement(this.popperRefer)&&["mouseenter","mouseleave"].forEach((function(t){e.popperRefer.addEventListener(t,(function(n){"mouseenter"===t&&(e.isInnerPopper=!0),"mouseleave"===t&&e.hide(n)}))}))}if("click"===this.trigger){["click"].forEach((function(t){document.body.addEventListener(t,(function(t){e.isSameElement(t.target,e.reference)||e.reference.contains(t.target)?e.show(t):e.isShow&&!e.isSameElement(t.target,e.popperRefer)&&e.hide(t)}))}))}}},{key:"isSameElement",value:function(e,t){return e&&(e===t||e===t.firstElementChild)}}]),e}(),Qe={},et={},tt={};Object.defineProperty(tt,"__esModule",{value:!0}),tt.default=function(){it>ot.length-16&&(rt.default.randomFillSync(ot),it=0);return ot.slice(it,it+=16)};var nt,rt=(nt=o.default)&&nt.__esModule?nt:{default:nt};var ot=new Uint8Array(256),it=ot.length;var at={},st={},ut={};Object.defineProperty(ut,"__esModule",{value:!0}),ut.default=void 0;ut.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,Object.defineProperty(st,"__esModule",{value:!0}),st.default=void 0;var ct=function(e){return e&&e.__esModule?e:{default:e}}(ut);var ft=function(e){return"string"==typeof e&&ct.default.test(e)};st.default=ft,Object.defineProperty(at,"__esModule",{value:!0}),at.default=void 0;var lt=function(e){return e&&e.__esModule?e:{default:e}}(st);for(var pt=[],dt=0;dt<256;++dt)pt.push((dt+256).toString(16).substr(1));var ht=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(pt[e[t+0]]+pt[e[t+1]]+pt[e[t+2]]+pt[e[t+3]]+"-"+pt[e[t+4]]+pt[e[t+5]]+"-"+pt[e[t+6]]+pt[e[t+7]]+"-"+pt[e[t+8]]+pt[e[t+9]]+"-"+pt[e[t+10]]+pt[e[t+11]]+pt[e[t+12]]+pt[e[t+13]]+pt[e[t+14]]+pt[e[t+15]]).toLowerCase();if(!(0,lt.default)(n))throw TypeError("Stringified UUID is invalid");return n};at.default=ht,Object.defineProperty(et,"__esModule",{value:!0}),et.default=void 0;var vt,mt,yt=bt(tt),gt=bt(at);function bt(e){return e&&e.__esModule?e:{default:e}}var xt=0,Ot=0;var wt=function(e,t,n){var r=t&&n||0,o=t||new Array(16),i=(e=e||{}).node||vt,a=void 0!==e.clockseq?e.clockseq:mt;if(null==i||null==a){var s=e.random||(e.rng||yt.default)();null==i&&(i=vt=[1|s[0],s[1],s[2],s[3],s[4],s[5]]),null==a&&(a=mt=16383&(s[6]<<8|s[7]))}var u=void 0!==e.msecs?e.msecs:Date.now(),c=void 0!==e.nsecs?e.nsecs:Ot+1,f=u-xt+(c-Ot)/1e4;if(f<0&&void 0===e.clockseq&&(a=a+1&16383),(f<0||u>xt)&&void 0===e.nsecs&&(c=0),c>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");xt=u,Ot=c,mt=a;var l=(1e4*(268435455&(u+=122192928e5))+c)%4294967296;o[r++]=l>>>24&255,o[r++]=l>>>16&255,o[r++]=l>>>8&255,o[r++]=255&l;var p=u/4294967296*1e4&268435455;o[r++]=p>>>8&255,o[r++]=255&p,o[r++]=p>>>24&15|16,o[r++]=p>>>16&255,o[r++]=a>>>8|128,o[r++]=255&a;for(var d=0;d<6;++d)o[r+d]=i[d];return t||(0,gt.default)(o)};et.default=wt;var Et={},kt={},_t={};Object.defineProperty(_t,"__esModule",{value:!0}),_t.default=void 0;var jt=function(e){return e&&e.__esModule?e:{default:e}}(st);var Mt=function(e){if(!(0,jt.default)(e))throw TypeError("Invalid UUID");var t,n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n};_t.default=Mt,Object.defineProperty(kt,"__esModule",{value:!0}),kt.default=function(e,t,n){function r(e,r,o,i){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}(e)),"string"==typeof r&&(r=(0,At.default)(r)),16!==r.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var a=new Uint8Array(16+e.length);if(a.set(r),a.set(e,r.length),(a=n(a))[6]=15&a[6]|t,a[8]=63&a[8]|128,o){i=i||0;for(var s=0;s<16;++s)o[i+s]=a[s];return o}return(0,Pt.default)(a)}try{r.name=e}catch(e){}return r.DNS=St,r.URL=Tt,r},kt.URL=kt.DNS=void 0;var Pt=It(at),At=It(_t);function It(e){return e&&e.__esModule?e:{default:e}}var St="6ba7b810-9dad-11d1-80b4-00c04fd430c8";kt.DNS=St;var Tt="6ba7b811-9dad-11d1-80b4-00c04fd430c8";kt.URL=Tt;var Lt={};Object.defineProperty(Lt,"__esModule",{value:!0}),Lt.default=void 0;var Dt=function(e){return e&&e.__esModule?e:{default:e}}(o.default);var Nt=function(e){return Array.isArray(e)?e=Buffer.from(e):"string"==typeof e&&(e=Buffer.from(e,"utf8")),Dt.default.createHash("md5").update(e).digest()};Lt.default=Nt,Object.defineProperty(Et,"__esModule",{value:!0}),Et.default=void 0;var Rt=Vt(kt),Bt=Vt(Lt);function Vt(e){return e&&e.__esModule?e:{default:e}}var Ct=(0,Rt.default)("v3",48,Bt.default);Et.default=Ct;var Yt={};Object.defineProperty(Yt,"__esModule",{value:!0}),Yt.default=void 0;var qt=Ht(tt),Ut=Ht(at);function Ht(e){return e&&e.__esModule?e:{default:e}}var Wt=function(e,t,n){var r=(e=e||{}).random||(e.rng||qt.default)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var o=0;o<16;++o)t[n+o]=r[o];return t}return(0,Ut.default)(r)};Yt.default=Wt;var Kt={},Ft={};Object.defineProperty(Ft,"__esModule",{value:!0}),Ft.default=void 0;var zt=function(e){return e&&e.__esModule?e:{default:e}}(o.default);var Gt=function(e){return Array.isArray(e)?e=Buffer.from(e):"string"==typeof e&&(e=Buffer.from(e,"utf8")),zt.default.createHash("sha1").update(e).digest()};Ft.default=Gt,Object.defineProperty(Kt,"__esModule",{value:!0}),Kt.default=void 0;var $t=Zt(kt),Xt=Zt(Ft);function Zt(e){return e&&e.__esModule?e:{default:e}}var Jt=(0,$t.default)("v5",80,Xt.default);Kt.default=Jt;var Qt={};Object.defineProperty(Qt,"__esModule",{value:!0}),Qt.default=void 0;Qt.default="00000000-0000-0000-0000-000000000000";var en={};Object.defineProperty(en,"__esModule",{value:!0}),en.default=void 0;var tn=function(e){return e&&e.__esModule?e:{default:e}}(st);var nn=function(e){if(!(0,tn.default)(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)};en.default=nn,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"v1",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"v3",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"v4",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"v5",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"NIL",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"version",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"validate",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return c.default}});var t=f(et),n=f(Et),r=f(Yt),o=f(Kt),i=f(Qt),a=f(en),s=f(st),u=f(at),c=f(_t);function f(e){return e&&e.__esModule?e:{default:e}}}(Qe);var rn=function(){function e(t){s(this,e),this.multiInstance=!1,this.uniqueMaskAttrTag="",this.parentNode=document.body,this.activeInstance=void 0,this.maskStyle={position:"absolute",left:0,top:0,bottom:0,right:0,display:"none","background-color":"rgba(0,0,0,.6)"};var n=t||{},r=n.multiInstance,o=void 0!==r&&r,i=n.maskAttrTag,a=void 0===i?"auto":i,u=n.parentNode,c=void 0===u?document.body:u,f=n.maskStyle,l=void 0===f?{}:f;this.activeInstance=void 0,this.maskStyle=Object.assign({},this.maskStyle,l),this.multiInstance=o,this.uniqueMaskAttrTag=this.getMaskAttrTag(a),this.parentNode=c||document,this.mask=this.getMask(),this.backupMask=this.createMask("data-bk-backup-uid"),this.setMaskStyle()}return c(e,[{key:"show",value:function(e,t){var n=/-?\d+/.test("".concat(t))?t:v.getModalNextIndex();this.mask.style.setProperty("display","block"),this.mask.style.setProperty("z-index","".concat(n)),this.backupMask.style.setProperty("z-index","".concat(n-1)),e&&(this.activeInstance=e,this.appendContentToMask(e))}},{key:"hide",value:function(e){var t;this.mask.style.setProperty("display","none"),null==e||e.remove(),null===(t=this.activeInstance)||void 0===t||t.remove(),this.activeInstance=void 0}},{key:"backupActiveInstance",value:function(){this.activeInstance&&this.backupMask.append(this.activeInstance)}},{key:"backupContentElement",value:function(e){e&&this.backupMask.append(e)}},{key:"getActiveContentInstance",value:function(){return this.activeInstance}},{key:"getMask",value:function(){if(this.multiInstance)return this.createMask();var e=this.parentNode.querySelector("[data-bkmask-uid='".concat(this.uniqueMaskAttrTag,"']"));return e||(e=this.createMask()),e}},{key:"createMask",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"data-bk-mask-uid",t=document.createElement("div");return t.setAttribute(e,this.uniqueMaskAttrTag),this.parentNode.append(t),t}},{key:"setMaskStyle",value:function(){var e=this;this.mask&&Object.entries(this.maskStyle).forEach((function(t){return e.mask.style.setProperty(t[0],t[1])}))}},{key:"getMaskAttrTag",value:function(e){return/^(auto|\s+)$/i.test(e)||null==e||""===e?"__bk_mask_".concat(Qe.v4()):e}},{key:"appendContentToMask",value:function(e){this.mask.append(e)}}]),e}(),on=new rn({}),an=function(){function e(){s(this,e),this.popInstanceList=[],this.uuidAttrName="data-bk-pop-uuid"}return c(e,[{key:"show",value:function(e){if(e){var t=v.getModalNextIndex(),n=Qe.v4();e.setAttribute(this.uuidAttrName,n),this.popInstanceList.push({uuid:n,zIndex:t,content:e}),on.backupActiveInstance(),on.show(e,t)}else console.warn("pop show error: content is null or undefined")}},{key:"popHide",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.popInstanceList.length){if(e){var t=this.popInstanceList.pop();t.remove()}if(this.popInstanceList.length){var n=this.popInstanceList.slice(-1)[0];on.show(n.content,n.zIndex)}else on.hide()}}},{key:"hide",value:function(e){var t=null==e?void 0:e.getAttribute(this.uuidAttrName);if(t){var n=this.popInstanceList.findIndex((function(e){return e.uuid===t}));n>=0&&(this.popInstanceList[n].content.remove(),this.popInstanceList.splice(n,1),this.popInstanceList.length?this.popHide(!1):on.hide())}else null==e||e.remove()}}]),e}(),sn=new an,un={exports:{}},cn={exports:{}};!function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,t(n,r)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0}(cn),function(e){var t=cn.exports;e.exports=function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&t(e,n)},e.exports.default=e.exports,e.exports.__esModule=!0}(un);var fn=i(un.exports),ln={exports:{}},pn={exports:{}};!function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.default=e.exports,e.exports.__esModule=!0}(pn),function(e){var t=m.exports.default,n=pn.exports;e.exports=function(e,r){if(r&&("object"===t(r)||"function"==typeof r))return r;if(void 0!==r)throw new TypeError("Derived constructors may only return object or undefined");return n(e)},e.exports.default=e.exports,e.exports.__esModule=!0}(ln);var dn=i(ln.exports),hn={exports:{}};!function(e){function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!0,t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0}(hn);var vn=i(hn.exports);function mn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=vn(e);if(t){var o=vn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return dn(this,n)}}var yn,gn,bn=n.createTypes({});e.Size=void 0,(yn=e.Size||(e.Size={})).Small="small",yn.Large="large",e.Placements=void 0,(gn=e.Placements||(e.Placements={})).Top="top",gn.Left="left",gn.Right="right",gn.Bottom="bottom";var xn,On=function(e){fn(r,e);var t=mn(r);function r(){return s(this,r),t.apply(this,arguments)}return c(r,null,[{key:"size",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["small","large"];return n.toType("Size",{type:String,validator:function(t){return!(t&&!e.includes(t))||(console.error("invalid size, ".concat(t,", the size must be one of 【").concat(e.join(" | "),"】")),!1)},default:""})}},{key:"theme",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["primary","warning","success","danger"];return n.toType("Theme",{type:String,validator:function(t){return!(t&&!e.includes(t))||(console.error("invalid theme, ".concat(t,", the theme must be one of 【").concat(e.join(" | "),"】")),!1)},default:""})}},{key:"placement",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["top","left","right","bottom"];return n.toType("Placements",{type:String,validator:function(t){return!(t&&!e.includes(t))||(console.error("invalid placements, ".concat(t,", the placement must be one of 【").concat(e.join(" | "),"】")),!1)},default:"top"})}},{key:"commonType",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"commonType";return n.toType(t.replace(/^\S/,(function(e){return e.toUpperCase()})),{type:String,validator:function(n){var r=e.includes(n);return r||console.error("invalid ".concat(t,", ").concat(n,", the ").concat(t," must be one of 【").concat(e.join(" | "),"】")),r},default:e[0]})}},{key:"style",value:function(){return n.toType("Style",{type:[String,Object]})}},{key:"position",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["top-left","top-right","bottom-left","bottom-right"];return n.toType("positions",{type:String,validator:function(t){return!(t&&!e.includes(t))||(console.error("invalid positions, ".concat(t,", the position must be one of 【").concat(e.join(" | "),"】")),!1)},default:"top-center"})}}]),r}(bn);var wn=Object.create({});e.BKLAYERD_INDEX_EFAULT_VALUE=h,e.BKPopover=Je,e.BkMaskManager=rn,e.EMPTY_OBJ=wn,e.PropTypes=On,e.bKMaskManager=on,e.bkPopIndexManager=sn,e.bkZIndexManager=v,e.classes=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return Object.entries(e).filter((function(e){return e[1]})).map((function(e){return e[0]})).join(" ").concat(t?" ".concat(t):"")},e.clone=Fe,e.elementsEqual=function(e,t){var n,r,o,i;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(o=e[n],i=t[n],o.datasetIndex!==i.datasetIndex||o.index!==i.index)return!1;return!0},e.finiteOrDefault=function(e,t){return Ke(e)?e:t},e.isArray=He,e.isEmpty=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return""===e||!!t&&Ue(e)},e.isEmptyObj=function(e){return Object.keys(e).length<1},e.isFinite=Ke,e.isNullOrUndef=Ue,e.isObject=We,e.merge=$e,e.mergeIf=Xe,e.mergerFn=Ge,e.mergerIfFn=Ze,e.noop=function(){},e.renderEmptyVNode=function(){return null},e.resolveClassName=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"bk";return"".concat(t,"-").concat(e)},e.scrollbarWidth=function(){if(void 0!==xn)return xn;var e=document.createElement("div");e.className="bk-scrollbar-wrap",e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var t=e.offsetWidth;e.style.overflow="scroll";var n=document.createElement("div");n.style.width="100%",e.appendChild(n);var r=n.offsetWidth;return e.parentNode.removeChild(e),xn=t-r},e.throttle=function(e,t,n){var r,o,i,a=null,s=0;n||(n={});var u=function(){s=!1===n.leading?0:(new Date).getTime(),a=null,i=e.apply(r,o),a||(r=o=null)};return function(){var c=(new Date).getTime();s||!1!==n.leading||(s=c);var f=t-(c-s);return r=this,o=arguments,f<=0||f>t?(a&&(clearTimeout(a),a=null),s=c,i=e.apply(r,o),a||(r=o=null)):a||!1===n.trailing||(a=setTimeout(u,f)),i}},e.valueOrDefault=function(e,t){return void 0===e?t:e},e.withInstall=function(e){return e.install=function(t){t.component(e.name,e)},e},e.withInstallProps=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e.install=function(r){r.component(e.name,e),!n&&Object.keys(t).forEach((function(e){r.component(e,t[e])}))},Object.keys(t).forEach((function(n){e[n]=t[n]})),e},Object.defineProperty(e,"__esModule",{value:!0})}));
|
@@ -110,5 +110,6 @@ export declare class PropTypes extends propTypesNS {
|
|
110
110
|
static placement(placements?: string[]): VueTypeDef<string>;
|
111
111
|
static commonType(types?: string[], name?: string): VueTypeDef<string>;
|
112
112
|
static style(): VueTypeDef<CSSProperties>;
|
113
|
+
static position(positions?: string[]): VueTypeDef<string>;
|
113
114
|
}
|
114
115
|
export {};
|
@@ -40,7 +40,9 @@ export declare enum BKLAYERTYPE {
|
|
40
40
|
/** 各类弹窗或抽屉(非模态弹窗不考虑) */
|
41
41
|
MODAL = "modal",
|
42
42
|
/** 各类消息提示 */
|
43
|
-
MESSAGE = "message"
|
43
|
+
MESSAGE = "message",
|
44
|
+
/** 各类popper提示 */
|
45
|
+
POPPER = "popper"
|
44
46
|
}
|
45
47
|
/** 定义不同分层默认值 */
|
46
48
|
export declare const BKLAYERD_INDEX_EFAULT_VALUE: {
|
@@ -51,6 +53,7 @@ export declare const BKLAYERD_INDEX_EFAULT_VALUE: {
|
|
51
53
|
modal: number;
|
52
54
|
plugins: number;
|
53
55
|
message: number;
|
56
|
+
popper: number;
|
54
57
|
};
|
55
58
|
declare class BKZIndexManager {
|
56
59
|
storageLayerIndexValue: any;
|
@@ -69,6 +72,8 @@ declare class BKZIndexManager {
|
|
69
72
|
getFullScreenNextIndex(): number;
|
70
73
|
/** 获取导航类型最新zIndex的值 */
|
71
74
|
getNaviNextIndex(): number;
|
75
|
+
/** 获取导航类型最新zIndex的值 */
|
76
|
+
getPopperIndex(): number;
|
72
77
|
/**
|
73
78
|
* 更新自定义默认zIndex配置
|
74
79
|
* @param config 配置项
|
@@ -5,6 +5,7 @@
|
|
5
5
|
--warning-color: #ff9c01;
|
6
6
|
--danger-color: #ea3636;
|
7
7
|
--default-color: #63656e;
|
8
|
+
--gray-color: #979ba5;
|
8
9
|
--light-gray: #c4c6cc;
|
9
10
|
--white-color: white;
|
10
11
|
--disable-color: #dcdee5;
|
@@ -67,6 +68,21 @@
|
|
67
68
|
--message-success-border-color: #dcffe2;
|
68
69
|
--message-danger-bg-color: #ffeded;
|
69
70
|
--message-danger-border-color: #ffdddd;
|
71
|
+
--slider-default-bg: #dcdee5;
|
72
|
+
--slider-disable-bar-bg: #979ba5;
|
73
|
+
--menu-bg-color: #182132;
|
74
|
+
--submenu-bg-color: #151d2c;
|
75
|
+
--menu-active-bg-color: linear-gradient(90deg, #3f87ff 0%, #3a84ff 100%);
|
76
|
+
--menu-color: #96a2b9;
|
77
|
+
--menu-group-color: var(--default-color);
|
78
|
+
--menu-width: 260px;
|
79
|
+
--menu-collapse-width: 60px;
|
80
|
+
--menu-active-color: white;
|
81
|
+
--nav-header-bg-color: #182132;
|
82
|
+
--nav-bg-color: #182132;
|
83
|
+
--date-picker-disabled-bg: #fafbfd;
|
84
|
+
--date-picker-dropdown-mb: 4px;
|
85
|
+
--date-picker-dropdown-bg: #fff;
|
70
86
|
}
|
71
87
|
.bk-modal-wrapper.bk-sideslider-wrapper {
|
72
88
|
position: fixed;
|
@@ -0,0 +1,27 @@
|
|
1
|
+
/**
|
2
|
+
* Tencent is pleased to support the open source community by making
|
3
|
+
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
4
|
+
*
|
5
|
+
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
|
6
|
+
*
|
7
|
+
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
8
|
+
*
|
9
|
+
* License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
|
10
|
+
*
|
11
|
+
* ---------------------------------------------------
|
12
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
13
|
+
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
|
14
|
+
* the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
|
15
|
+
* to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
16
|
+
*
|
17
|
+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of
|
18
|
+
* the Software.
|
19
|
+
*
|
20
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
21
|
+
* THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
22
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
23
|
+
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
24
|
+
* IN THE SOFTWARE.
|
25
|
+
*/
|
26
|
+
import Slider from './slider';
|
27
|
+
export default Slider;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue"),require("../shared"),require("../input")):"function"==typeof define&&define.amd?define(["exports","vue","../shared","../input"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bkuiVue={},e.Vue,e.Shared,e.Input)}(this,(function(e,t,a,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=r(n),l={exports:{}};!function(e){var t=function(e){var t,a=Object.prototype,n=a.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},u=r.iterator||"@@iterator",l=r.asyncIterator||"@@asyncIterator",o=r.toStringTag||"@@toStringTag";function i(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{i({},"")}catch(e){i=function(e,t,a){return e[t]=a}}function c(e,t,a,n){var r=t&&t.prototype instanceof h?t:h,u=Object.create(r.prototype),l=new C(n||[]);return u._invoke=function(e,t,a){var n=m;return function(r,u){if(n===f)throw new Error("Generator is already running");if(n===d){if("throw"===r)throw u;return j()}for(a.method=r,a.arg=u;;){var l=a.delegate;if(l){var o=k(l,a);if(o){if(o===p)continue;return o}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(n===m)throw n=d,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);n=f;var i=s(e,t,a);if("normal"===i.type){if(n=a.done?d:v,i.arg===p)continue;return{value:i.arg,done:a.done}}"throw"===i.type&&(n=d,a.method="throw",a.arg=i.arg)}}}(e,a,l),u}function s(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var m="suspendedStart",v="suspendedYield",f="executing",d="completed",p={};function h(){}function V(){}function y(){}var b={};i(b,u,(function(){return this}));var g=Object.getPrototypeOf,w=g&&g(g(T([])));w&&w!==a&&n.call(w,u)&&(b=w);var x=y.prototype=h.prototype=Object.create(b);function N(e){["next","throw","return"].forEach((function(t){i(e,t,(function(e){return this._invoke(t,e)}))}))}function L(e,t){function a(r,u,l,o){var i=s(e[r],e,u);if("throw"!==i.type){var c=i.arg,m=c.value;return m&&"object"==typeof m&&n.call(m,"__await")?t.resolve(m.__await).then((function(e){a("next",e,l,o)}),(function(e){a("throw",e,l,o)})):t.resolve(m).then((function(e){c.value=e,l(c)}),(function(e){return a("throw",e,l,o)}))}o(i.arg)}var r;this._invoke=function(e,n){function u(){return new t((function(t,r){a(e,n,t,r)}))}return r=r?r.then(u,u):u()}}function k(e,a){var n=e.iterator[a.method];if(n===t){if(a.delegate=null,"throw"===a.method){if(e.iterator.return&&(a.method="return",a.arg=t,k(e,a),"throw"===a.method))return p;a.method="throw",a.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var r=s(n,e.iterator,a.arg);if("throw"===r.type)return a.method="throw",a.arg=r.arg,a.delegate=null,p;var u=r.arg;return u?u.done?(a[e.resultName]=u.value,a.next=e.nextLoc,"return"!==a.method&&(a.method="next",a.arg=t),a.delegate=null,p):u:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,p)}function B(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(B,this),this.reset(!0)}function T(e){if(e){var a=e[u];if(a)return a.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,l=function a(){for(;++r<e.length;)if(n.call(e,r))return a.value=e[r],a.done=!1,a;return a.value=t,a.done=!0,a};return l.next=l}}return{next:j}}function j(){return{value:t,done:!0}}return V.prototype=y,i(x,"constructor",y),i(y,"constructor",V),V.displayName=i(y,o,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===V||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,i(e,o,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},N(L.prototype),i(L.prototype,l,(function(){return this})),e.AsyncIterator=L,e.async=function(t,a,n,r,u){void 0===u&&(u=Promise);var l=new L(c(t,a,n,r),u);return e.isGeneratorFunction(a)?l:l.next().then((function(e){return e.done?e.value:l.next()}))},N(x),i(x,o,"Generator"),i(x,u,(function(){return this})),i(x,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var a in e)t.push(a);return t.reverse(),function a(){for(;t.length;){var n=t.pop();if(n in e)return a.value=n,a.done=!1,a}return a.done=!0,a}},e.values=T,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(E),!e)for(var a in this)"t"===a.charAt(0)&&n.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var a=this;function r(n,r){return o.type="throw",o.arg=e,a.next=n,r&&(a.method="next",a.arg=t),!!r}for(var u=this.tryEntries.length-1;u>=0;--u){var l=this.tryEntries[u],o=l.completion;if("root"===l.tryLoc)return r("end");if(l.tryLoc<=this.prev){var i=n.call(l,"catchLoc"),c=n.call(l,"finallyLoc");if(i&&c){if(this.prev<l.catchLoc)return r(l.catchLoc,!0);if(this.prev<l.finallyLoc)return r(l.finallyLoc)}else if(i){if(this.prev<l.catchLoc)return r(l.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<l.finallyLoc)return r(l.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var r=this.tryEntries[a];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var u=r;break}}u&&("break"===e||"continue"===e)&&u.tryLoc<=t&&t<=u.finallyLoc&&(u=null);var l=u?u.completion:{};return l.type=e,l.arg=t,u?(this.method="next",this.next=u.finallyLoc,p):this.complete(l)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),E(a),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var r=n.arg;E(a)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,a,n){return this.delegate={iterator:T(e),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=t),p}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}(l);var o=l.exports;
|
2
|
+
/*! *****************************************************************************
|
3
|
+
Copyright (c) Microsoft Corporation.
|
4
|
+
|
5
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
6
|
+
purpose with or without fee is hereby granted.
|
7
|
+
|
8
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
9
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
10
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
11
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
12
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
13
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
14
|
+
PERFORMANCE OF THIS SOFTWARE.
|
15
|
+
***************************************************************************** */function i(e,t,a,n){return new(a||(a=Promise))((function(r,u){function l(e){try{i(n.next(e))}catch(e){u(e)}}function o(e){try{i(n.throw(e))}catch(e){u(e)}}function i(e){var t;e.done?r(e.value):(t=e.value,t instanceof a?t:new a((function(e){e(t)}))).then(l,o)}i((n=n.apply(e,t||[])).next())}))}var c=t.defineComponent({name:"BkSliderButton",props:{modelValue:{type:Number,default:0},params:{type:Object,default:function(){return{}}}},emits:["emitChange","resetSize","update:modelValue"],setup:function(e,a){var n=a.emit,r=t.ref(!1),u=t.ref(!1),l=t.ref(0),o=t.ref(0),i=t.ref(0),c=t.ref(null),v=t.ref(e.modelValue),f=t.ref(0),d=t.ref(0),p=t.ref(!1),h=t.ref(null),V=t.computed((function(){return"".concat((e.modelValue-e.params.minValue)/(e.params.maxValue-e.params.minValue)*100,"%")})),y=t.computed((function(){return e.params.vertical?{bottom:V.value}:{left:V.value}})),b=t.computed((function(){return e.params.formatterButtonLabel(e.modelValue)})),g=function(t){e.params.disable||(t.preventDefault(),w(t),s(window,"mousemove",x),s(window,"touchmove",x),s(window,"mouseup",N),s(window,"touchend",N))},w=function(t){r.value=!0,u.value=!0,e.params.vertical?l.value=t.clientY:o.value=t.clientX,i.value=parseFloat(V.value),c.value=i.value},x=function(t){if(r.value){u.value=!1,n("resetSize");var a=0;e.params.vertical?(f.value=t.clientY,a=(l.value-f.value)/e.params.sliderSize*100):(d.value=t.clientX,a=(d.value-o.value)/e.params.sliderSize*100),c.value=i.value+a,L(c.value)}},N=function e(){p.value=!1,r.value&&(setTimeout((function(){r.value=!1,u.value||(L(c.value),n("emitChange"))}),0),m(window,"mousemove",x),m(window,"touchmove",x),m(window,"mouseup",e),m(window,"touchend",e))},L=function(t){if(null!==t&&!isNaN(t)){t<0?c.value=0:t>100&&(c.value=100);var a=100/((e.params.maxValue-e.params.minValue)/e.params.step),u=Math.round(t/a)*a*(e.params.maxValue-e.params.minValue)*.01+e.params.minValue;u=parseFloat(u.toFixed(e.params.precision)),n("update:modelValue",u),r.value||e.modelValue===v.value||(v.value=e.modelValue)}};return{renderDom:function(){return t.createVNode("div",{class:["bk-slider-button",e.params.vertical?"vertical":"horizontal",{grabbing:r.value}],ref:h,tabindex:"0",style:y.value,onClick:function(e){return e.stopPropagation()},onMousedown:g},[t.createVNode("div",{class:["slider-button",{"slider-button-disable":e.params.disable}]},null),e.params.showButtonLabel&&!e.params.showIntervalLabel?t.createVNode("div",{class:["slider-button-label",e.params.vertical?"vertical":"horizontal"]},[b.value]):void 0])},setPosition:L}},render:function(){return this.renderDom()}}),s=function(e,t,a){e&&t&&a&&e.addEventListener(t,a,!1)},m=function(e,t,a){e&&t&&a&&e.removeEventListener(t,a,!1)},v=t.defineComponent({name:"BkSlider",props:{modelValue:a.PropTypes.oneOfType([a.PropTypes.array,a.PropTypes.number]),extCls:{type:String,default:""},vertical:{type:Boolean,default:!1},height:{type:String,default:"200px"},disable:{type:Boolean,default:!1},showTip:{type:Boolean,default:!1},maxValue:{type:[Number],default:100},minValue:{type:[Number],default:0},step:{type:[Number],default:1},range:{type:Boolean,default:!1},showInterval:{type:Boolean,default:!1},showIntervalLabel:{type:Boolean,default:!1},showButtonLabel:{type:Boolean,default:!1},showBetweenLabel:{type:Boolean,default:!1},showInput:{type:Boolean,default:!1},customContent:{type:Object},formatterLabel:{type:Function,default:function(e){return e}},formatterButtonLabel:{type:Function,default:function(e){return e}}},emits:["update:modelValue","change"],setup:function(e,a){var n=this,r=a.slots,l=a.emit,m=t.ref(1),v=t.ref(null),f=t.ref(null),d=t.ref(null),p=t.ref(0),h=t.ref(0),V=t.ref(0),y=t.ref(null),b=t.ref(null),g=t.ref(null),w=t.ref(null),x=t.computed((function(){var t=[e.minValue,e.maxValue,e.step].map((function(e){var t="".concat(e).split(".")[1];return t?t.length:0}));return Math.max.apply(null,t)})),N=t.computed((function(){return Math.min(v.value,f.value)})),L=t.computed((function(){return Math.max(v.value,f.value)})),k=t.computed((function(){return e.range?"".concat(100*(L.value-N.value)/(e.maxValue-e.minValue),"%"):"".concat(100*(v.value-e.minValue)/(e.maxValue-e.minValue),"%")})),B=t.computed((function(){return e.range?"".concat(100*(N.value-e.minValue)/(e.maxValue-e.minValue),"%"):"0%"})),E=t.computed((function(){return e.vertical?{height:k.value,bottom:B.value}:{width:k.value,left:B.value}})),C=t.computed((function(){if(!e.showInterval||e.minValue>e.maxValue)return[];if(0===e.step)return console.warn("WARNNING:step should not be 0"),[];for(var t=(e.maxValue-e.minValue)/e.step,a=100*e.step/(e.maxValue-e.minValue),n=[],r=1;r<t;r++)n.push(r*a);return e.range?n.filter((function(t){return t<100*(N.value-e.minValue)/(e.maxValue-e.minValue)||t>100*(L.value-e.minValue)/(e.maxValue-e.minValue)})):n.filter((function(t){return t>100*(v.value-e.minValue)/(e.maxValue-e.minValue)}))})),T=t.computed((function(){return e.vertical?{height:e.height,width:"4px"}:{}})),j=t.computed((function(){if(!e.showIntervalLabel)return[];if(0===e.step)return console.warn("WARNNING:step should not be 0"),[];for(var t=(e.maxValue-e.minValue)/e.step,a=100*e.step/(e.maxValue-e.minValue),n=[],r=0;r<=t;r++){var u={stepWidth:r*a,stepLabel:e.formatterLabel(r*e.step)};n.push(u)}return n})),I=t.computed((function(){return Array.isArray(e.modelValue)})),S=t.computed((function(){return e.customContent?Object.keys(e.customContent).sort((function(e,t){return Number(e)-Number(t)})).filter((function(t){return Number(t)>=e.minValue&&Number(t)<=e.maxValue})).map((function(t){var a=e.customContent[t].tip,n=e.customContent[t].label;return{tip:a||n||"",label:n||"",percent:(Number(t)-e.minValue)/(e.maxValue-e.minValue)*100}})):[]})),O=t.computed((function(){return{vertical:e.vertical,showTip:e.showTip,disable:e.disable,maxValue:e.maxValue,minValue:e.minValue,step:e.step,precision:x.value,showButtonLabel:e.showButtonLabel,formatterButtonLabel:e.formatterButtonLabel,showIntervalLabel:e.showIntervalLabel,customContent:e.customContent,sliderSize:m.value}}));t.watch((function(){return e.modelValue}),(function(){z()})),t.watch((function(){return v.value}),(function(t){e.range?l("update:modelValue",[N.value,L.value]):l("update:modelValue",t),h.value=t})),t.watch((function(){return f.value}),(function(e){l("update:modelValue",[N.value,L.value]),V.value=e})),t.onMounted((function(){e.range?(Array.isArray(e.modelValue)?(v.value=Math.max(e.minValue,Number(e.modelValue[0])),f.value=Math.min(e.maxValue,Number(e.modelValue[1]))):(v.value=e.minValue,f.value=e.maxValue),d.value=[v.value,f.value]):("number"!=typeof e.modelValue||isNaN(e.modelValue)?v.value=e.minValue:v.value=Math.min(e.maxValue,Math.max(e.minValue,e.modelValue)),d.value=v.value),p.value=100*e.step/(e.maxValue-e.minValue),_(),s(window,"resize",_())}));var _=function(){y.value&&(m.value=y.value["client".concat(e.vertical?"Height":"Width")])},P=function(t){var a,n;if(t.stopPropagation(),!e.disable){if(_(),e.vertical){var r=null===(a=y.value)||void 0===a?void 0:a.getBoundingClientRect().bottom;G((r-t.clientY)/m.value*100)}else{var u=null===(n=y.value)||void 0===n?void 0:n.getBoundingClientRect().left;G((t.clientX-u)/m.value*100)}M()}},F=function(){return e.range?![N.value,L.value].every((function(e,t){return e===d.value[t]})):e.modelValue!==d.value},z=function(){if(e.minValue>e.maxValue)console.error("min should not be greater than max.");else{var t=e.modelValue;e.range&&Array.isArray(t)?t[1]<e.minValue?l("update:modelValue",[e.minValue,e.minValue]):t[0]>e.maxValue?l("update:modelValue",[e.maxValue,e.maxValue]):t[0]<e.minValue?l("update:modelValue",[e.minValue,t[1]]):t[1]>e.maxValue?l("update:modelValue",[t[0],e.maxValue]):(v.value=Number(t[0]),f.value=Number(t[1]),F()&&(d.value=t.slice())):e.range||"number"!=typeof t||isNaN(t)||(t<e.minValue?l("update:modelValue",e.minValue):t>e.maxValue?l("update:modelValue",e.maxValue):(v.value=t,F()&&(d.value=t)))}},M=function(){return i(n,void 0,void 0,o.mark((function a(){return o.wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,t.nextTick();case 2:l("change",e.range?[N.value,L.value]:e.modelValue);case 3:case"end":return a.stop()}}),a)})))},A=function(t){return e.vertical?{bottom:"".concat(t,"%")}:{left:"".concat(t,"%")}},G=function(t){if(e.range){var a=e.minValue+t*(e.maxValue-e.minValue)/100;Math.abs(N.value-a)<Math.abs(L.value-a)?w.value=v.value<f.value?b.value:g.value:w.value=v.value>f.value?b.value:g.value,w.setPosition(t)}else b.value.setPosition(t)},R=function(t){if(""!==t){var a=parseFloat(t);a<e.minValue?(h.value=e.minValue,v.value=e.minValue):a>e.maxValue?(h.value=e.maxValue,v.value=e.maxValue):v.value=a}},D=function(t){if(""!==t){var a=parseFloat(t);a<e.minValue?(V.value=e.minValue,f.value=e.minValue):a>e.maxValue?(V.value=e.maxValue,f.value=e.maxValue):f.value=a}},W=function(t){var a=0;return a="start"===t?e.vertical?e.maxValue:e.minValue:e.vertical?e.minValue:e.maxValue,e.showButtonLabel&&[v.value,f.value].includes(a)?"0":"1"};return{renderDom:function(){var a,n;return t.createVNode(t.Fragment,null,[t.createVNode("div",{class:["bk-slider",e.extCls]},[null===(a=r.start)||void 0===a?void 0:a.call(r),t.createVNode("div",{class:"bk-slider-runway",ref:y,style:T.value,onClick:P},[t.createVNode("div",{class:["bk-slider-bar",e.vertical?"vertical":"horizontal",{disable:e.disable}],style:E.value},null),e.showInterval?C.value.map((function(a,n){return t.createVNode("div",{key:n,class:["bk-slider-interval",{vertical:e.vertical}],style:A(a)},null)})):void 0,e.customContent?S.value.map((function(a,n){return t.createVNode("div",{key:n,class:["bk-slider-interval",{vertical:e.vertical}],style:A(a.percent)},null)})):void 0,e.showBetweenLabel||e.showIntervalLabel||e.customContent?t.createVNode("div",{class:["bk-slider-labels",e.vertical?"vertical":"horizontal"]},[e.showBetweenLabel?[t.createVNode("div",{class:"label-start",style:[{opacity:W("start")}]},[e.formatterLabel(e.minValue)]),t.createVNode("div",{class:"label-end",style:[{opacity:W("end")}]},[e.formatterLabel(e.maxValue)])]:e.showIntervalLabel?j.value.map((function(a,n){return t.createVNode("div",{class:["bk-slider-label",e.vertical?"vertical":"horizontal"],key:n,style:A(a.stepWidth)},[a.stepLabel])})):e.customContent?S.value.map((function(a,n){return t.createVNode("div",{class:["bk-slider-label",e.vertical?"vertical":"horizontal"],key:n,style:A(a.percent)},[a.label])})):void 0]):void 0,t.createVNode(c,{modelValue:v.value,"onUpdate:modelValue":function(e){return v.value=e},ref:b,params:O.value,onEmitChange:M,onResetSize:_},null),e.range?t.createVNode(c,{modelValue:f.value,"onUpdate:modelValue":function(e){return f.value=e},ref:g,params:O.value,onEmitChange:M,onResetSize:_},null):void 0]),e.showInput&&!e.vertical?t.createVNode("div",{class:"bk-slider-input"},[t.createVNode("div",{class:"input-item"},[t.createVNode(u.default,{type:"number",modelValue:h.value,"onUpdate:modelValue":function(e){return h.value=e},max:e.maxValue,min:e.minValue,onChange:R},null)]),I.value&&f.value?t.createVNode(t.Fragment,null,[t.createVNode("div",{class:"input-center"},[t.createTextVNode("~")]),t.createVNode("div",{class:"input-item"},[t.createVNode(u.default,{type:"number",modelValue:V.value,"onUpdate:modelValue":function(e){return V.value=e},max:e.maxValue,min:e.minValue,onChange:D},null)])]):void 0]):void 0,null===(n=r.end)||void 0===n?void 0:n.call(r)])])}}},render:function(){return this.renderDom()}});v.install=function(e){e.component(v.name,v)},e.default=v,Object.defineProperty(e,"__esModule",{value:!0})}));
|
@@ -0,0 +1,72 @@
|
|
1
|
+
/**
|
2
|
+
* Tencent is pleased to support the open source community by making
|
3
|
+
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.
|
4
|
+
*
|
5
|
+
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
|
6
|
+
*
|
7
|
+
* 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.
|
8
|
+
*
|
9
|
+
* License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):
|
10
|
+
*
|
11
|
+
* ---------------------------------------------------
|
12
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
13
|
+
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
|
14
|
+
* the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
|
15
|
+
* to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
16
|
+
*
|
17
|
+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of
|
18
|
+
* the Software.
|
19
|
+
*
|
20
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
21
|
+
* THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
22
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
23
|
+
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
24
|
+
* IN THE SOFTWARE.
|
25
|
+
*/
|
26
|
+
import { PropType } from 'vue';
|
27
|
+
interface Params {
|
28
|
+
vertical: boolean;
|
29
|
+
showTip: boolean;
|
30
|
+
disable: boolean;
|
31
|
+
maxValue: number;
|
32
|
+
minValue: number;
|
33
|
+
step: number;
|
34
|
+
precision: number;
|
35
|
+
showButtonLabel: boolean;
|
36
|
+
formatterButtonLabel: Function;
|
37
|
+
showIntervalLabel: boolean;
|
38
|
+
customContent: {
|
39
|
+
[propName: string]: {
|
40
|
+
label?: string;
|
41
|
+
tip?: string;
|
42
|
+
};
|
43
|
+
};
|
44
|
+
sliderSize: number;
|
45
|
+
}
|
46
|
+
declare const _default: import("vue").DefineComponent<{
|
47
|
+
modelValue: {
|
48
|
+
type: NumberConstructor;
|
49
|
+
default: number;
|
50
|
+
};
|
51
|
+
params: {
|
52
|
+
type: PropType<Params>;
|
53
|
+
default: () => {};
|
54
|
+
};
|
55
|
+
}, {
|
56
|
+
renderDom: () => JSX.Element;
|
57
|
+
setPosition: (position: number) => void;
|
58
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "emitChange" | "resetSize")[], "update:modelValue" | "emitChange" | "resetSize", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
59
|
+
modelValue?: unknown;
|
60
|
+
params?: unknown;
|
61
|
+
} & {
|
62
|
+
modelValue: number;
|
63
|
+
params: Params;
|
64
|
+
} & {}> & {
|
65
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
66
|
+
onEmitChange?: (...args: any[]) => any;
|
67
|
+
onResetSize?: (...args: any[]) => any;
|
68
|
+
}, {
|
69
|
+
modelValue: number;
|
70
|
+
params: Params;
|
71
|
+
}>;
|
72
|
+
export default _default;
|