UNPKG

h_ui

Version:

A Vue.js 2.0 UI Components Framework

26 lines 100 kB
module.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/lib/cjs/",n(n.s=993)}({0:function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},1:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},10:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},100:function(t,e,n){n(59),n(76),t.exports=n(41).f("iterator")},101:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:t.animation}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.innerShow,expression:"innerShow"}],ref:"container",staticClass:"h-select-dropdown",on:{mousedown:function(t){t.stopPropagation()}}},[t._t("default")],2)])},o=[];i._withStripped=!0},102:function(t,e,n){var i=n(9)("iterator"),o=!1;try{var r=[7][i]();r.return=function(){o=!0},Array.from(r,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var r=[7],s=r[i]();s.next=function(){return{done:n=!0}},r[i]=function(){return s},t(r)}catch(t){}return n}},107:function(t,e,n){n(59),n(108),t.exports=n(0).Array.from},108:function(t,e,n){"use strict";var i=n(16),o=n(3),r=n(20),s=n(87),l=n(88),a=n(42),u=n(68),c=n(89);o(o.S+o.F*!n(102)((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,o,f,h=r(t),d="function"==typeof this?this:Array,p=arguments.length,m=p>1?arguments[1]:void 0,v=void 0!==m,g=0,b=c(h);if(v&&(m=i(m,p>2?arguments[2]:void 0,2)),null==b||d==Array&&l(b))for(n=new d(e=a(h.length));e>g;g++)u(n,g,v?m(h[g],g):h[g]);else for(f=b.call(h),n=new d;!(o=f.next()).done;g++)u(n,g,v?s(f,m,[o.value,g],!0):o.value);return n.length=g,n}})},109:function(t,e,n){t.exports=n(120)},11:function(t,e,n){var i=n(5),o=n(14);t.exports=n(2)?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},111:function(t,e,n){var i=n(149),o="object"==typeof self&&self&&self.Object===Object&&self,r=i||o||Function("return this")();t.exports=r},112:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},119:function(t,e){t.exports=require("h_ui/dist/lib/cjs/Button.js")},12:function(t,e,n){var i=n(6);t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},120:function(t,e,n){n(121),t.exports=n(0).parseFloat},121:function(t,e,n){var i=n(3),o=n(122);i(i.G+i.F*(parseFloat!=o),{parseFloat:o})},122:function(t,e,n){var i=n(1).parseFloat,o=n(51).trim;t.exports=1/i(n(35)+"-0")!=-1/0?function(t){var e=o(String(t),3),n=i(e);return 0===n&&"-"==e.charAt(0)?-0:n}:i},124:function(t,e){t.exports=require("h_ui/dist/lib/directives/clickoutside.js")},125:function(t,e,n){var i=n(61),o=n(63);function r(e){return t.exports=r="function"==typeof i&&"symbol"==typeof o?function(t){return typeof t}:function(t){return t&&"function"==typeof i&&t.constructor===i&&t!==i.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,r(e)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},128:function(t,e){t.exports=require("h_ui/dist/lib/directives/transfer-dom.js")},13:function(t,e,n){var i=n(50),o=n(18);t.exports=function(t){return i(o(t))}},136:function(t,e,n){var i=n(111).Symbol;t.exports=i},137:function(t,e,n){"use strict";n.r(e),function(t){ /**! * @fileOverview Kickass library to create and place poppers near their reference elements. * @version 1.16.1 * @license * Copyright (c) 2016 Federico Zivolo and contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,i=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(n&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var o=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),i))}};function r(t){return t&&"[object Function]"==={}.toString.call(t)}function s(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function l(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function a(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=s(t),n=e.overflow,i=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(n+o+i)?t:a(l(t))}function u(t){return t&&t.referenceNode?t.referenceNode:t}var c=n&&!(!window.MSInputMethodContext||!document.documentMode),f=n&&/MSIE 10/.test(navigator.userAgent);function h(t){return 11===t?c:10===t?f:c||f}function d(t){if(!t)return document.documentElement;for(var e=h(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===s(n,"position")?d(n):n:t?t.ownerDocument.documentElement:document.documentElement}function p(t){return null!==t.parentNode?p(t.parentNode):t}function m(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,o=n?e:t,r=document.createRange();r.setStart(i,0),r.setEnd(o,0);var s,l,a=r.commonAncestorContainer;if(t!==a&&e!==a||i.contains(o))return"BODY"===(l=(s=a).nodeName)||"HTML"!==l&&d(s.firstElementChild)!==s?d(a):a;var u=p(t);return u.host?m(u.host,e):m(t,p(e).host)}function v(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",i=t.nodeName;if("BODY"===i||"HTML"===i){var o=t.ownerDocument.documentElement,r=t.ownerDocument.scrollingElement||o;return r[n]}return t[n]}function g(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=v(e,"top"),o=v(e,"left"),r=n?-1:1;return t.top+=i*r,t.bottom+=i*r,t.left+=o*r,t.right+=o*r,t}function b(t,e){var n="x"===e?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+i+"Width"])}function y(t,e,n,i){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],h(10)?parseInt(n["offset"+t])+parseInt(i["margin"+("Height"===t?"Top":"Left")])+parseInt(i["margin"+("Height"===t?"Bottom":"Right")]):0)}function w(t){var e=t.body,n=t.documentElement,i=h(10)&&getComputedStyle(n);return{height:y("Height",e,n,i),width:y("Width",e,n,i)}}var x=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},S=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),$=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},T=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t};function O(t){return T({},t,{right:t.left+t.width,bottom:t.top+t.height})}function k(t){var e={};try{if(h(10)){e=t.getBoundingClientRect();var n=v(t,"top"),i=v(t,"left");e.top+=n,e.left+=i,e.bottom+=n,e.right+=i}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},r="HTML"===t.nodeName?w(t.ownerDocument):{},l=r.width||t.clientWidth||o.width,a=r.height||t.clientHeight||o.height,u=t.offsetWidth-l,c=t.offsetHeight-a;if(u||c){var f=s(t);u-=b(f,"x"),c-=b(f,"y"),o.width-=u,o.height-=c}return O(o)}function C(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=h(10),o="HTML"===e.nodeName,r=k(t),l=k(e),u=a(t),c=s(e),f=parseFloat(c.borderTopWidth),d=parseFloat(c.borderLeftWidth);n&&o&&(l.top=Math.max(l.top,0),l.left=Math.max(l.left,0));var p=O({top:r.top-l.top-f,left:r.left-l.left-d,width:r.width,height:r.height});if(p.marginTop=0,p.marginLeft=0,!i&&o){var m=parseFloat(c.marginTop),v=parseFloat(c.marginLeft);p.top-=f-m,p.bottom-=f-m,p.left-=d-v,p.right-=d-v,p.marginTop=m,p.marginLeft=v}return(i&&!n?e.contains(u):e===u&&"BODY"!==u.nodeName)&&(p=g(p,e)),p}function _(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,i=C(t,n),o=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),s=e?0:v(n),l=e?0:v(n,"left"),a={top:s-i.top+i.marginTop,left:l-i.left+i.marginLeft,width:o,height:r};return O(a)}function I(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===s(t,"position"))return!0;var n=l(t);return!!n&&I(n)}function M(t){if(!t||!t.parentElement||h())return document.documentElement;for(var e=t.parentElement;e&&"none"===s(e,"transform");)e=e.parentElement;return e||document.documentElement}function B(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},s=o?M(t):m(t,u(e));if("viewport"===i)r=_(s,o);else{var c=void 0;"scrollParent"===i?"BODY"===(c=a(l(e))).nodeName&&(c=t.ownerDocument.documentElement):c="window"===i?t.ownerDocument.documentElement:i;var f=C(c,s,o);if("HTML"!==c.nodeName||I(s))r=f;else{var h=w(t.ownerDocument),d=h.height,p=h.width;r.top+=f.top-f.marginTop,r.bottom=d+f.top,r.left+=f.left-f.marginLeft,r.right=p+f.left}}var v="number"==typeof(n=n||0);return r.left+=v?n:n.left||0,r.top+=v?n:n.top||0,r.right-=v?n:n.right||0,r.bottom-=v?n:n.bottom||0,r}function F(t){return t.width*t.height}function P(t,e,n,i,o){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=B(n,i,r,o),l={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},a=Object.keys(l).map((function(t){return T({key:t},l[t],{area:F(l[t])})})).sort((function(t,e){return e.area-t.area})),u=a.filter((function(t){var e=t.width,i=t.height;return e>=n.clientWidth&&i>=n.clientHeight})),c=u.length>0?u[0].key:a[0].key,f=t.split("-")[1];return c+(f?"-"+f:"")}function E(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=i?M(e):m(e,u(n));return C(n,o,i)}function A(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),i=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+i,height:t.offsetHeight+n}}function L(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function D(t,e,n){n=n.split("-")[0];var i=A(t),o={width:i.width,height:i.height},r=-1!==["right","left"].indexOf(n),s=r?"top":"left",l=r?"left":"top",a=r?"height":"width",u=r?"width":"height";return o[s]=e[s]+e[a]/2-i[a]/2,o[l]=n===l?e[l]-i[u]:e[L(l)],o}function N(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function j(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var i=N(t,(function(t){return t[e]===n}));return t.indexOf(i)}(t,"name",n))).forEach((function(t){t.function;var n=t.function||t.fn;t.enabled&&r(n)&&(e.offsets.popper=O(e.offsets.popper),e.offsets.reference=O(e.offsets.reference),e=n(e,t))})),e}function H(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=E(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=P(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=D(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=j(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function V(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function W(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i<e.length;i++){var o=e[i],r=o?""+o+n:t;if(void 0!==document.body.style[r])return r}return null}function q(){return this.state.isDestroyed=!0,V(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[W("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function R(t){var e=t.ownerDocument;return e?e.defaultView:window}function U(t,e,n,i){var o="BODY"===t.nodeName,r=o?t.ownerDocument.defaultView:t;r.addEventListener(e,n,{passive:!0}),o||U(a(r.parentNode),e,n,i),i.push(r)}function Q(t,e,n,i){n.updateBound=i,R(t).addEventListener("resize",n.updateBound,{passive:!0});var o=a(t);return U(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function z(){this.state.eventsEnabled||(this.state=Q(this.reference,this.options,this.state,this.scheduleUpdate))}function G(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,R(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function Y(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function K(t,e){Object.keys(e).forEach((function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&Y(e[n])&&(i="px"),t.style[n]=e[n]+i}))}var J=n&&/Firefox/i.test(navigator.userAgent);function Z(t,e,n){var i=N(t,(function(t){return t.name===e})),o=!!i&&t.some((function(t){return t.name===n&&t.enabled&&t.order<i.order}));if(!o);return o}var X=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],tt=X.slice(3);function et(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=tt.indexOf(t),i=tt.slice(n+1).concat(tt.slice(0,n));return e?i.reverse():i}var nt="flip",it="clockwise",ot="counterclockwise";function rt(t,e,n,i){var o=[0,0],r=-1!==["right","left"].indexOf(i),s=t.split(/(\+|\-)/).map((function(t){return t.trim()})),l=s.indexOf(N(s,(function(t){return-1!==t.search(/,|\s/)})));s[l]&&s[l].indexOf(",");var a=/\s*,\s*|\s+/,u=-1!==l?[s.slice(0,l).concat([s[l].split(a)[0]]),[s[l].split(a)[1]].concat(s.slice(l+1))]:[s];return u=u.map((function(t,i){var o=(1===i?!r:r)?"height":"width",s=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,i){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],s=o[2];if(!r)return t;if(0===s.indexOf("%")){return O("%p"===s?n:i)[e]/100*r}if("vh"===s||"vw"===s)return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r;return r}(t,o,e,n)}))})),u.forEach((function(t,e){t.forEach((function(n,i){Y(n)&&(o[e]+=n*("-"===t[i-1]?-1:1))}))})),o}var st={shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var o=t.offsets,r=o.reference,s=o.popper,l=-1!==["bottom","top"].indexOf(n),a=l?"left":"top",u=l?"width":"height",c={start:$({},a,r[a]),end:$({},a,r[a]+r[u]-s[u])};t.offsets.popper=T({},s,c[i])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,i=t.placement,o=t.offsets,r=o.popper,s=o.reference,l=i.split("-")[0],a=void 0;return a=Y(+n)?[+n,0]:rt(n,r,s,l),"left"===l?(r.top+=a[0],r.left-=a[1]):"right"===l?(r.top+=a[0],r.left+=a[1]):"top"===l?(r.left+=a[0],r.top-=a[1]):"bottom"===l&&(r.left+=a[0],r.top+=a[1]),t.popper=r,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||d(t.instance.popper);t.instance.reference===n&&(n=d(n));var i=W("transform"),o=t.instance.popper.style,r=o.top,s=o.left,l=o[i];o.top="",o.left="",o[i]="";var a=B(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);o.top=r,o.left=s,o[i]=l,e.boundaries=a;var u=e.priority,c=t.offsets.popper,f={primary:function(t){var n=c[t];return c[t]<a[t]&&!e.escapeWithReference&&(n=Math.max(c[t],a[t])),$({},t,n)},secondary:function(t){var n="right"===t?"left":"top",i=c[n];return c[t]>a[t]&&!e.escapeWithReference&&(i=Math.min(c[n],a[t]-("right"===t?c.width:c.height))),$({},n,i)}};return u.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";c=T({},c,f[e](t))})),t.offsets.popper=c,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,i=e.reference,o=t.placement.split("-")[0],r=Math.floor,s=-1!==["top","bottom"].indexOf(o),l=s?"right":"bottom",a=s?"left":"top",u=s?"width":"height";return n[l]<r(i[a])&&(t.offsets.popper[a]=r(i[a])-n[u]),n[a]>r(i[l])&&(t.offsets.popper[a]=r(i[l])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!Z(t.instance.modifiers,"arrow","keepTogether"))return t;var i=e.element;if("string"==typeof i){if(!(i=t.instance.popper.querySelector(i)))return t}else if(!t.instance.popper.contains(i))return t;var o=t.placement.split("-")[0],r=t.offsets,l=r.popper,a=r.reference,u=-1!==["left","right"].indexOf(o),c=u?"height":"width",f=u?"Top":"Left",h=f.toLowerCase(),d=u?"left":"top",p=u?"bottom":"right",m=A(i)[c];a[p]-m<l[h]&&(t.offsets.popper[h]-=l[h]-(a[p]-m)),a[h]+m>l[p]&&(t.offsets.popper[h]+=a[h]+m-l[p]),t.offsets.popper=O(t.offsets.popper);var v=a[h]+a[c]/2-m/2,g=s(t.instance.popper),b=parseFloat(g["margin"+f]),y=parseFloat(g["border"+f+"Width"]),w=v-t.offsets.popper[h]-b-y;return w=Math.max(Math.min(l[c]-m,w),0),t.arrowElement=i,t.offsets.arrow=($(n={},h,Math.round(w)),$(n,d,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(V(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=B(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),i=t.placement.split("-")[0],o=L(i),r=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case nt:s=[i,o];break;case it:s=et(i);break;case ot:s=et(i,!0);break;default:s=e.behavior}return s.forEach((function(l,a){if(i!==l||s.length===a+1)return t;i=t.placement.split("-")[0],o=L(i);var u=t.offsets.popper,c=t.offsets.reference,f=Math.floor,h="left"===i&&f(u.right)>f(c.left)||"right"===i&&f(u.left)<f(c.right)||"top"===i&&f(u.bottom)>f(c.top)||"bottom"===i&&f(u.top)<f(c.bottom),d=f(u.left)<f(n.left),p=f(u.right)>f(n.right),m=f(u.top)<f(n.top),v=f(u.bottom)>f(n.bottom),g="left"===i&&d||"right"===i&&p||"top"===i&&m||"bottom"===i&&v,b=-1!==["top","bottom"].indexOf(i),y=!!e.flipVariations&&(b&&"start"===r&&d||b&&"end"===r&&p||!b&&"start"===r&&m||!b&&"end"===r&&v),w=!!e.flipVariationsByContent&&(b&&"start"===r&&p||b&&"end"===r&&d||!b&&"start"===r&&v||!b&&"end"===r&&m),x=y||w;(h||g||x)&&(t.flipped=!0,(h||g)&&(i=s[a+1]),x&&(r=function(t){return"end"===t?"start":"start"===t?"end":t}(r)),t.placement=i+(r?"-"+r:""),t.offsets.popper=T({},t.offsets.popper,D(t.instance.popper,t.offsets.reference,t.placement)),t=j(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],i=t.offsets,o=i.popper,r=i.reference,s=-1!==["left","right"].indexOf(n),l=-1===["top","left"].indexOf(n);return o[s?"left":"top"]=r[n]-(l?o[s?"width":"height"]:0),t.placement=L(e),t.offsets.popper=O(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!Z(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=N(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,i=e.y,o=t.offsets.popper,r=N(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration,s=void 0!==r?r:e.gpuAcceleration,l=d(t.instance.popper),a=k(l),u={position:o.position},c=function(t,e){var n=t.offsets,i=n.popper,o=n.reference,r=Math.round,s=Math.floor,l=function(t){return t},a=r(o.width),u=r(i.width),c=-1!==["left","right"].indexOf(t.placement),f=-1!==t.placement.indexOf("-"),h=e?c||f||a%2==u%2?r:s:l,d=e?r:l;return{left:h(a%2==1&&u%2==1&&!f&&e?i.left-1:i.left),top:d(i.top),bottom:d(i.bottom),right:h(i.right)}}(t,window.devicePixelRatio<2||!J),f="bottom"===n?"top":"bottom",h="right"===i?"left":"right",p=W("transform"),m=void 0,v=void 0;if(v="bottom"===f?"HTML"===l.nodeName?-l.clientHeight+c.bottom:-a.height+c.bottom:c.top,m="right"===h?"HTML"===l.nodeName?-l.clientWidth+c.right:-a.width+c.right:c.left,s&&p)u[p]="translate3d("+m+"px, "+v+"px, 0)",u[f]=0,u[h]=0,u.willChange="transform";else{var g="bottom"===f?-1:1,b="right"===h?-1:1;u[f]=v*g,u[h]=m*b,u.willChange=f+", "+h}var y={"x-placement":t.placement};return t.attributes=T({},y,t.attributes),t.styles=T({},u,t.styles),t.arrowStyles=T({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return K(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach((function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&K(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,i,o){var r=E(o,e,t,n.positionFixed),s=P(n.placement,r,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",s),K(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}},lt={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:st},at=function(){function t(e,n){var i=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};x(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=o(this.update.bind(this)),this.options=T({},t.Defaults,s),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(T({},t.Defaults.modifiers,s.modifiers)).forEach((function(e){i.options.modifiers[e]=T({},t.Defaults.modifiers[e]||{},s.modifiers?s.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return T({name:t},i.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&r(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)})),this.update();var l=this.options.eventsEnabled;l&&this.enableEventListeners(),this.state.eventsEnabled=l}return S(t,[{key:"update",value:function(){return H.call(this)}},{key:"destroy",value:function(){return q.call(this)}},{key:"enableEventListeners",value:function(){return z.call(this)}},{key:"disableEventListeners",value:function(){return G.call(this)}}]),t}();at.Utils=("undefined"!=typeof window?window:t).PopperUtils,at.placements=X,at.Defaults=lt,e.default=at}.call(this,n(112))},138:function(t,e,n){var i=n(136),o=n(154),r=n(155),s=i?i.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":s&&s in Object(t)?o(t):r(t)}},14:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},140:function(t,e,n){"use strict";n.r(e);var i=n(101),o=n(82);for(var r in o)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(r);var s=n(4),l=Object(s.a)(o.default,i.a,i.b,!1,null,null,null);e.default=l.exports},141:function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},142:function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},149:function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n(112))},15:function(t,e,n){var i=n(38);t.exports=function(t,e,n){return e in t?i(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t.exports.__esModule=!0,t.exports.default=t.exports},154:function(t,e,n){var i=n(136),o=Object.prototype,r=o.hasOwnProperty,s=o.toString,l=i?i.toStringTag:void 0;t.exports=function(t){var e=r.call(t,l),n=t[l];try{t[l]=void 0;var i=!0}catch(t){}var o=s.call(t);return i&&(e?t[l]=n:delete t[l]),o}},155:function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},16:function(t,e,n){var i=n(27);t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,o){return t.call(e,n,i,o)}}return function(){return t.apply(e,arguments)}}},17:function(t,e,n){var i=n(6);t.exports=function(t,e){if(!i(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!i(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!i(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!i(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},18:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},19:function(t,e,n){var i=n(45),o=n(31);t.exports=Object.keys||function(t){return i(t,o)}},2:function(t,e,n){t.exports=!n(7)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},20:function(t,e,n){var i=n(18);t.exports=function(t){return Object(i(t))}},200:function(t,e){t.exports=require("h_ui/dist/lib/cjs/Poptip.js")},21:function(t,e){t.exports=require("h_ui/dist/lib/util/tools.js")},22:function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},23:function(t,e){t.exports=!0},24:function(t,e,n){var i=n(6),o=n(1).document,r=i(o)&&i(o.createElement);t.exports=function(t){return r?o.createElement(t):{}}},25:function(t,e,n){t.exports=!n(2)&&!n(7)((function(){return 7!=Object.defineProperty(n(24)("div"),"a",{get:function(){return 7}}).a}))},26:function(t,e){t.exports={}},27:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},273:function(t,e,n){var i=n(142),o=n(274),r=n(275),s=Math.max,l=Math.min;t.exports=function(t,e,n){var a,u,c,f,h,d,p=0,m=!1,v=!1,g=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function b(e){var n=a,i=u;return a=u=void 0,p=e,f=t.apply(i,n)}function y(t){return p=t,h=setTimeout(x,e),m?b(t):f}function w(t){var n=t-d;return void 0===d||n>=e||n<0||v&&t-p>=c}function x(){var t=o();if(w(t))return S(t);h=setTimeout(x,function(t){var n=e-(t-d);return v?l(n,c-(t-p)):n}(t))}function S(t){return h=void 0,g&&a?b(t):(a=u=void 0,f)}function $(){var t=o(),n=w(t);if(a=arguments,u=this,d=t,n){if(void 0===h)return y(d);if(v)return clearTimeout(h),h=setTimeout(x,e),b(d)}return void 0===h&&(h=setTimeout(x,e)),f}return e=r(e)||0,i(n)&&(m=!!n.leading,c=(v="maxWait"in n)?s(r(n.maxWait)||0,e):c,g="trailing"in n?!!n.trailing:g),$.cancel=function(){void 0!==h&&clearTimeout(h),p=0,a=d=u=h=void 0},$.flush=function(){return void 0===h?f:S(o())},$}},274:function(t,e,n){var i=n(111);t.exports=function(){return i.Date.now()}},275:function(t,e,n){var i=n(276),o=n(142),r=n(278),s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,a=/^0o[0-7]+$/i,u=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(r(t))return NaN;if(o(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=o(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=i(t);var n=l.test(t);return n||a.test(t)?u(t.slice(2),n?2:8):s.test(t)?NaN:+t}},276:function(t,e,n){var i=n(277),o=/^\s+/;t.exports=function(t){return t?t.slice(0,i(t)+1).replace(o,""):t}},277:function(t,e){var n=/\s/;t.exports=function(t){for(var e=t.length;e--&&n.test(t.charAt(e)););return e}},278:function(t,e,n){var i=n(138),o=n(141);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==i(t)}},28:function(t,e){e.f={}.propertyIsEnumerable},29:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},3:function(t,e,n){var i=n(1),o=n(0),r=n(16),s=n(11),l=n(10),a=function(t,e,n){var u,c,f,h=t&a.F,d=t&a.G,p=t&a.S,m=t&a.P,v=t&a.B,g=t&a.W,b=d?o:o[e]||(o[e]={}),y=b.prototype,w=d?i:p?i[e]:(i[e]||{}).prototype;for(u in d&&(n=e),n)(c=!h&&w&&void 0!==w[u])&&l(b,u)||(f=c?w[u]:n[u],b[u]=d&&"function"!=typeof w[u]?n[u]:v&&c?r(f,i):g&&w[u]==f?function(t){var e=function(e,n,i){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,i)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):m&&"function"==typeof f?r(Function.call,f):f,m&&((b.virtual||(b.virtual={}))[u]=f,t&a.R&&y&&!y[u]&&s(y,u,f)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},30:function(t,e,n){var i=n(0),o=n(1),r="__core-js_shared__",s=o[r]||(o[r]={});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n(23)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},31:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},32:function(t,e){t.exports=require("h_ui/dist/lib/util/global.js")},33:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},34:function(t,e,n){var i=n(30)("keys"),o=n(22);t.exports=function(t){return i[t]||(i[t]=o(t))}},35:function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},36:function(t,e){e.f=Object.getOwnPropertySymbols},37:function(t,e,n){var i=n(5).f,o=n(10),r=n(9)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,r)&&i(t,r,{configurable:!0,value:e})}},38:function(t,e,n){t.exports=n(39)},39:function(t,e,n){n(40);var i=n(0).Object;t.exports=function(t,e,n){return i.defineProperty(t,e,n)}},4:function(t,e,n){"use strict";function i(t,e,n,i,o,r,s,l){var a,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),r&&(u._scopeId="data-v-"+r),s?(a=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=a):o&&(a=l?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),a)if(u.functional){u._injectStyles=a;var c=u.render;u.render=function(t,e){return a.call(e),c(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,a):[a]}return{exports:t,options:u}}n.d(e,"a",(function(){return i}))},40:function(t,e,n){var i=n(3);i(i.S+i.F*!n(2),"Object",{defineProperty:n(5).f})},41:function(t,e,n){e.f=n(9)},42:function(t,e,n){var i=n(29),o=Math.min;t.exports=function(t){return t>0?o(i(t),9007199254740991):0}},43:function(t,e,n){var i=n(1),o=n(0),r=n(23),s=n(41),l=n(5).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=r?{}:i.Symbol||{});"_"==t.charAt(0)||t in e||l(e,t,{value:s.f(t)})}},44:function(t,e,n){var i=n(45),o=n(31).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,o)}},45:function(t,e,n){var i=n(10),o=n(13),r=n(67)(!1),s=n(34)("IE_PROTO");t.exports=function(t,e){var n,l=o(t),a=0,u=[];for(n in l)n!=s&&i(l,n)&&u.push(n);for(;e.length>a;)i(l,n=e[a++])&&(~r(u,n)||u.push(n));return u}},46:function(t,e,n){var i=n(28),o=n(14),r=n(13),s=n(17),l=n(10),a=n(25),u=Object.getOwnPropertyDescriptor;e.f=n(2)?u:function(t,e){if(t=r(t),e=s(e,!0),a)try{return u(t,e)}catch(t){}if(l(t,e))return o(!i.f.call(t,e),t[e])}},47:function(t,e){t.exports=require("h_ui/dist/lib/cjs/Icon.js")},48:function(t,e,n){var i=n(12),o=n(74),r=n(31),s=n(34)("IE_PROTO"),l=function(){},a=function(){var t,e=n(24)("iframe"),i=r.length;for(e.style.display="none",n(73).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;i--;)delete a.prototype[r[i]];return a()};t.exports=Object.create||function(t,e){var n;return null!==t?(l.prototype=i(t),n=new l,l.prototype=null,n[s]=t):n=a(),void 0===e?n:o(n,e)}},49:function(t,e){t.exports=require("h_ui/dist/lib/mixins/locale.js")},5:function(t,e,n){var i=n(12),o=n(25),r=n(17),s=Object.defineProperty;e.f=n(2)?Object.defineProperty:function(t,e,n){if(i(t),e=r(e,!0),i(n),o)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},50:function(t,e,n){var i=n(33);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},51:function(t,e,n){var i=n(3),o=n(18),r=n(7),s=n(35),l="["+s+"]",a=RegExp("^"+l+l+"*"),u=RegExp(l+l+"*$"),c=function(t,e,n){var o={},l=r((function(){return!!s[t]()||"​…"!="​…"[t]()})),a=o[t]=l?e(f):s[t];n&&(o[n]=a),i(i.P+i.F*l,"String",o)},f=c.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(a,"")),2&e&&(t=t.replace(u,"")),t};t.exports=c},53:function(t,e,n){t.exports=n(69)},537:function(t,e,n){"use strict";n.r(e);var i=n(538),o=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e.default=o.a},538:function(t,e,n){"use strict";var i=n(64),o=n(61),r=n(63),s=n(8);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var l=s(n(125)),a=s(n(15)),u=s(n(53)),c=s(n(85)),f=s(n(47)),h=s(n(140)),d=s(n(200)),p=s(n(119)),m=s(n(124)),v=s(n(128)),g=s(n(96)),b=n(84),y=n(21),w=s(n(60)),x=s(n(49)),S=s(n(273));function $(t,e){var n=void 0!==o&&t[r]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return T(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return i(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return T(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var s=0,l=function(){};return{s:l,n:function(){return s>=t.length?{done:!0}:{done:!1,value:t[s++]}},e:function(t){throw t},f:l}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,c=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return u=t.done,t},e:function(t){c=!0,a=t},f:function(){try{u||null==n.return||n.return()}finally{if(c)throw a}}}}function T(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var O="h-selectTable",k={name:"SelectTable",mixins:[w.default,x.default],components:{Icon:f.default,Drop:h.default,Checkbox:g.default,Poptip:d.default,hButton:p.default},directives:{clickoutside:m.default,TransferDom:v.default},props:{collapseTags:{type:Boolean,default:!1},hoverShowAll:{type:Boolean,default:!1},defaultCollapseHoverPoptipZindex:{type:Number},showLoadingIcon:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},editable:{type:Boolean,default:!0},value:{type:[String,Number,Array],default:""},label:{type:[String,Number,Array],default:""},multiple:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},placeholder:{type:String},filterable:{type:Boolean,default:!1},focusSelect:{type:Boolean,default:!0},matchable:{type:Boolean,default:!1},filterMethod:{type:Function},remote:{type:Boolean,default:!1},remoteMethod:{type:Function},loading:{type:Boolean,default:!1},loadingText:{type:String},size:{validator:function(t){return(0,y.oneOf)(t,["small","large","default"])}},labelInValue:{type:Boolean,default:!1},notFoundText:{type:String},placement:{validator:function(t){return(0,y.oneOf)(t,["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end"])},default:"bottom-start"},width:{type:[String,Number]},transfer:{type:Boolean,default:!1},autoComplete:{type:Boolean,default:!1},isString:{type:Boolean,default:!1},isCheckall:{type:Boolean,default:!1},noMoreText:{type:String},isComputed:{type:Boolean,default:!1},dropWidth:{type:[String,Number]},format:{type:[Array,String],default:function(){return["name,age","_"]}},formatValue:{type:[Array,String],default:function(){return null}},matchWay:{validator:function(t){return(0,y.oneOf)(t,["left","blurry","all"])},default:"blurry"},matchCol:{type:[String,Array,Number],default:""},searchHolder:{type:String},showBottom:{type:Boolean,default:!1},showBorder:{type:Boolean,default:!1},checkToHead:{type:Boolean,default:!1},autoPlacement:{type:Boolean,default:!1},widthAdaption:{type:Boolean,default:!1},maxDropWidth:{type:[String,Number],default:500},dropMinWidth:{type:[String,Number]},isSelectFilter:{type:Boolean,default:!1},checkboxSize:{validator:function(t){return(0,y.oneOf)(t,["small","large","default"])},default:"large"},hideMult:{type:Boolean,default:!1},focusInit:{type:Number,default:0},specialIndex:{type:Boolean,default:!1},specialVal:{type:[String,Number],default:"-1"},showTotalNum:{type:Boolean,default:!1},showArrow:{type:Boolean,default:!1},showValue:{type:Boolean,default:!1},accuFilter:{type:Boolean,default:!1},remoteNoQuery:{type:Boolean,default:!1},isBackClear:{type:Boolean,default:!1},valueToString:{type:Boolean,dafault:!1},searchIcon:{type:[Boolean,String],default:!1},tabindex:{type:[String,Number],default:0,validator:function(t){var e=(0,u.default)(t,10);return e<=32767&&e>=-1}},buttonToTop:{type:Boolean,default:!1},filterBy:{type:String,default:""},customTransferClassName:{type:String},customCollapseTagsName:{type:String,default:""},targetNode:{type:[Element,String]},triggerRemoteMethod:{type:Array,default:function(){return[]}},cleanByDel:{type:Boolean,default:!0},positionFixed:{type:Boolean,default:!1}},data:function(){return{prefixCls:O,visible:!1,inputVisible:!0,selectTabindex:this.filterable?0:this.tabindex,options:[],optionInstances:[],selectedSingle:"",selectedMultiple:[],focusIndex:0,focusValue:"",query:"",lastQuery:"",selectToChangeQuery:!1,keydownToChangeQuery:!1,availableOptions:[],inputLength:56,notFound:!1,slotChangeDuration:!1,model:null,currentLabel:this.label,isInputFocus:!1,isLi:!0,scrollBarWidth:(0,y.getScrollBarSize)(),highlightRow:!1,selectHead:!1,isBlock:!1,allClick:!1,viewValue:null,isSelectAll:!1,showTotal:!1,selectedResult:"",isQuerySelect:!1,isQueryEcho:!1,searchOffsetHeight:0,fPlacement:this.placement,collapsePopperVisible:!1,hoverShowAllPoptipPlacement:"top-start",observer:null}},computed:{collapseHoverPoptipZindex:function(){var t=(0,y.findComponentParent)(this,"Msgbox");return this.defaultCollapseHoverPoptipZindex||0===this.defaultCollapseHoverPoptipZindex?this.defaultCollapseHoverPoptipZindex:t?1050:950},tooltip:function(){var t;return this.collapseTags&&this.hoverShowAll&&this.isBlock?t=null:this.multiple?(t=this.selectedMultiple.map((function(t){return t.label})).join(),this.showValue&&(t=this.selectedMultiple.map((function(t){return t.value})).join())):t=this.selectedSingle,t},hideMultHead:function(){var t;return t={},(0,a.default)(t,"".concat(O,"-hideMultHead"),this.hideMult&&this.multiple),(0,a.default)(t,"".concat(O,"-hideMultHead-select"),this.isSelectAll),t},searchClass:function(){return["".concat(O,"-search"),(0,a.default)({},"".concat(O,"-checkHead"),this.checkToHead&&this.showBottom&&this.filterable)]},listStyle:function(){var t={};return this.showHeader||this.hideMult||(t.paddingTop=this.showBottom&&this.filterable?this.searchOffsetHeight+"px":"0"),t},classes:function(){var t;return["".concat(O),(t={},(0,a.default)(t,"".concat(O,"-visible"),this.visible),(0,a.default)(t,"".concat(O,"-disabled"),this.disabled),(0,a.default)(t,"".concat(O,"-readonly"),this.readonly),(0,a.default)(t,"".concat(O,"-editable"),!this.editable),(0,a.default)(t,"".concat(O,"-multiple"),this.multiple),(0,a.default)(t,"".concat(O,"-single"),!this.multiple),(0,a.default)(t,"".concat(O,"-show-clear"),this.showCloseIcon),(0,a.default)(t,"".concat(O,"-").concat(this.size),!!this.size),t)]},hoverShowAllPoptipCls:function(){var t,e=this.globalMixinInfo&&this.globalMixinInfo.theme?this.globalMixinInfo.theme:"",n=(t={"h-select-collapse-hover ":!0},(0,a.default)(t,this.customCollapseTagsName,!!this.customCollapseTagsName),(0,a.default)(t,e,!!this.globalMixinInfo&&this.globalMixinInfo.theme),t),i="";for(var o in n){if(n.hasOwnProperty(o))i=i+(n[o]?o:"")+" "}return i},dropdownCls:function(){var t,e=this.globalMixinInfo&&this.globalMixinInfo.theme?this.globalMixinInfo.theme:"";return t={"h-select-dropdown-transfer":(0,y.findComponentParent)(this,["Msgbox","Drawer"])&&this.transfer},(0,a.default)(t,O+"-multiple",this.multiple&&this.transfer),(0,a.default)(t,"h-auto-complete",this.autoComplete),(0,a.default)(t,"".concat(this.customTransferClassName),this.customTransferClassName),(0,a.default)(t,"v-transfer-dom",this.transfer),(0,a.default)(t,e,this.transfer&&!!this.globalMixinInfo&&this.globalMixinInfo.theme),t},content:function(){var t;return t={},(0,a.default)(t,"".concat(O,"-dropdown-content"),this.showBorder),(0,a.default)(t,"".concat(O,"-dropdown-noline-content"),!this.showBorder),t},dropdownListStyle:function(){return this.isBlock?{maxHeight:"".concat(this.maxHeight,"px")}:{}},selectionCls:function(){return(0,a.default)({},"".concat(O,"-selection"),!this.autoComplete)},showPlaceholder:function(){var t=!1;return"string"==typeof this.model?""===this.model&&(t=!0):Array.isArray(this.model)?this.model.length||(t=!0):null===this.model&&(t=!0),t},showCloseIcon:function(){return!this.multiple&&this.clearable&&!this.showPlaceholder&&!this.readonly&&!this.disabled},inputStyle:function(){var t={};return this.multiple&&(this.showPlaceholder?t.width="100%":t.width="".concat(this.inputLength,"px")),t},localePlaceholder:function(){return void 0===this.placeholder?this.t("i.select.placeholder"):this.placeholder},localeSearchHolder:function(){return void 0===this.searchHolder?this.t("i.select.searchHolder"):this.searchHolder},localeTotalHolder:function(){return"zh-CN"===this.t("i.locale")?"共选择 ".concat(this.selectedMultiple.length," 项"):"".concat(this.selectedMultiple.length," items selected")},localeNotFoundText:function(){return void 0===this.notFoundText?this.t("i.select.noMatch"):this.notFoundText},localeLoadingText:function(){return void 0===this.loadingText?this.t("i.select.loading"):this.loadingText},localeNoMoreText:function(){return void 0===this.noMoreText?this.t("i.select.noMoreData"):this.noMoreText},dropVisible:function(){var t=this,e=!1,n=!0,i=this.$slots.default||[];return this.loading||!this.remote||""!==this.query||i.length||(n=!1),e=this.visible&&n,e&&setTimeout((function(){return t.$refs.input&&t.$refs.input.focus()})),setTimeout((function(){t.offsetArrow(),t.dropVisible&&t.$refs.search&&(t.searchOffsetHeight=t.$refs.search.offsetHeight)}),200),e},multiplestyle:function(){return{width:"".concat(this.width,"px")}},checkAll:function(){return"h-select-checkall"},notFoundShow:function(){var t=this.options;return t=t||[],this.notFound||!this.loading&&!t.length||!t.length},showFooter:function(){return this.$slots.footer},showHeader:function(){return this.$slots.header},headerSlotCls:function(){var t;return t={},(0,a.default)(t,"".concat(O,"-header-slot-top"),this.showBottom&&this.filterable),(0,a.default)(t,"".concat(O,"-header-slot"),!this.showBottom),t}},methods:{updateSingleQuery:function(t,e){this.filterable&&!this.showBottom&&"click"!==t&&this.query!=this.selectedSingle&&(this.query=this.selectedSingle,e&&(this.$emit("on-query-echo"),this.isQueryEcho=!0))},fold:function(){this.visible=!1},handleInputKeyup:function(t){this.keydownToChangeQuery=!1,this.$emit("on-keyup",this.query,t)},selectedTop:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.broadcast("Block","on-select-top",t)},handleclick:function(t){t.stopPropagation()},keyup:function(t){if(this.disabled||this.readonly||!this.editable)return!1;9==t.keyCode&&this.toggleMenu()},keydown:function(t){9==t.keyCode&&this.hideMenu()},handleSelectScroll:function(t){var e=(0,y.getBarBottom)(t.target,this.scrollBarWidth);this.$emit("on-scroll",e)},toggleSelect:function(t){var e=this;if(this.isSelectAll=t,this.selectHead=t,this.isBlock){var n=[],i=[];this.allClick=!0,this.findChild((function(o){e.options.forEach((function(r,s){if(!o.cloneData[s].disabled){if(e.isSelectFilter&&o.cloneData[s].hidden)return e.$set(o.cloneData[s],"selected",!1),!1;if(e.specialIndex&&o.cloneData[s].value==e.specialVal)return e.$set(o.cloneData[s],"selected",!1),!1;e.$set(o.cloneData[s],"selected",t),t&&(n.push({value:r.value,label:r.label}),i.push(r.value))}}))})),this.model=i,this.selectedMultiple=n.slice(0,50),n.length>50&&setTimeout((function(){e.selectedMultiple=n}),0),this.labelInValue?(this.$emit("on-change",n),this.dispatch("FormItem","on-form-change",n)):(this.$emit("on-change",i),this.dispatch("FormItem","on-form-change",i))}else if(t){var o=[];this.options.forEach((function(t){o.push(t.value)})),this.model=o}else this.model=[]},showdrop:function(){this.toggleMenu()},arrowClick:function(){this.toggleMenu()},offsetArrow:function(){if(this.multiple&&void 0!==this.$refs.reference){var t=this.$refs.reference;t.scrollHeight>t.clientHeight?(this.$refs.arrowb&&(this.$refs.arrowb.$el.style.right=5+this.scrollBarWidth+"px"),this.$refs.close&&(this.$refs.close.$el.style.right=22+this.scrollBarWidth+"px")):(this.$refs.arrowb&&(this.$refs.arrowb.$el.style.right="8px"),this.$refs.close&&(this.$refs.close.$el.style.right="25px"))}},toggleMenu:function(){var t=this;if(this.disabled||!this.editable||this.readonly)return!1;this.visible=!this.visible,this.visible&&(this.isInputFocus=!0),this.visible&&this.filterable&&this.$refs.input&&this.$nextTick((function(){t.isInputFocus=!0,t.$refs.input.focus()}))},hideMenu:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.trigger;this.visible=!1,this.optionInstances.length>0&&(this.$refs.list&&(this.$refs.list.scrollTop=0),this.optionInstances[0].$refs.table.changeHover(this.focusIndex-1,!1)),this.focusIndex=this.focusInit,this.multiple||this.query===this.selectedSingle||(this.updateSingleQuery(e,!0),this.remote||(this.selectToChangeQuery=!0)),this.broadcast("TabelOption","on-select-close")},findChild:function(t){var e=function e(n){n.$options.componentName?t(n):n.$children.length&&n.$children.forEach((function(t){e(t)}))};this.optionInstances.length?this.optionInstances.forEach((function(t){e(t)})):this.$children.forEach((function(t){e(t)}))},updateOptions:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this,o=[];this.findChild((function(n){i.isBlock?n.cloneData.forEach((function(t,e){o.push({value:t.value,label:t.label||t.value,disabled:t.disabled||!1,index:e})})):n&&n.rebuildData&&(n.rebuildData.forEach((function(t,e){o.push({value:i.formatValue?i.getValueFormatValue(t):i.getFormatValue(t),label:i.getFormatValue(t),index:e})})),t&&e.optionInstances.push(n))})),this.options=o,this.availableOptions=o,t&&(this.remote&&!this.isBlock||(this.updateSingleSelected(!0,n),this.updateMultipleSelected(!0,n)))},updateSingleSelected:function(){var t=arguments.length>0&&void 0!==arguments[0]&&argu