Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hlg-ui

Package Overview
Dependencies
Maintainers
1
Versions
201
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hlg-ui - npm Package Compare versions

Comparing version 0.0.3 to 0.1.0

__build__/logo.txt

22

__build__/webpack.common.js

@@ -11,3 +11,3 @@ /*

const VueLoaderPlugin = require('vue-loader/lib/plugin')
const nodeExternals = require('webpack-node-externals');
// const nodeExternals = require('webpack-node-externals');

@@ -32,2 +32,3 @@ module.exports = {

'@services': path.resolve('./src/services'),
'@mixins': path.resolve('./src/mixins'),
'@stylesheet': path.resolve('./src/stylesheet'),

@@ -38,8 +39,10 @@ },

},
externals: [
{
vue: 'vue'
},
nodeExternals()
],
externals: {
vue: {
root: 'Vue',
commonjs: 'vue',
commonjs2: 'vue',
amd: 'vue'
}
},
module: {

@@ -101,2 +104,5 @@ rules: [

plugins: [
new webpack.BannerPlugin({
banner: '(c)2019 huanleguang.com',
}),
new ProgressBarPlugin(),

@@ -111,2 +117,2 @@ new webpack.DefinePlugin({

]
};
};

@@ -29,2 +29,3 @@ /*

'@services': path.resolve('./src/services'),
'@mixins': path.resolve('./src/mixins'),
'@stylesheet': path.resolve('./src/stylesheet'),

@@ -97,2 +98,5 @@ },

plugins: [
new webpack.BannerPlugin({
banner: '(c)2019 huanleguang.com',
}),
new ProgressBarPlugin(),

@@ -99,0 +103,0 @@ new webpack.DefinePlugin({

@@ -55,3 +55,3 @@ <style lang="sass">

## Color 色彩
# 颜色

@@ -58,0 +58,0 @@ 为了避免视觉传达差异,使用特定的调色板来规定颜色。

@@ -52,3 +52,3 @@ <script>

## Dialog 对话框
# Dialog 对话框
<!-- 在保留当前页面状态的情况下,告知用户并承载相关操作。 -->

@@ -55,0 +55,0 @@

@@ -1,1 +0,2 @@

module.exports=function(e){var t={};function o(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)o.d(n,i,function(t){return e[t]}.bind(null,i));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=10)}([function(e,t){e.exports=require("vue")},function(e,t,o){var n=o(6);"string"==typeof n&&(n=[[e.i,n,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};o(4)(n,i);n.locals&&(e.exports=n.locals)},function(e,t,o){var n=o(9);"string"==typeof n&&(n=[[e.i,n,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};o(4)(n,i);n.locals&&(e.exports=n.locals)},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var o=function(e,t){var o=e[1]||"",n=e[3];if(!n)return o;if(t&&"function"==typeof btoa){var i=(l=n,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(l))))+" */"),r=n.sources.map(function(e){return"/*# sourceURL="+n.sourceRoot+e+" */"});return[o].concat(r).concat([i]).join("\n")}var l;return[o].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+o+"}":o}).join("")},t.i=function(e,o){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},i=0;i<this.length;i++){var r=this[i][0];"number"==typeof r&&(n[r]=!0)}for(i=0;i<e.length;i++){var l=e[i];"number"==typeof l[0]&&n[l[0]]||(o&&!l[2]?l[2]=o:o&&(l[2]="("+l[2]+") and ("+o+")"),t.push(l))}},t}},function(e,t,o){var n,i,r={},l=(n=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===i&&(i=n.apply(this,arguments)),i}),s=function(e){var t={};return function(e,o){if("function"==typeof e)return e();if(void 0===t[e]){var n=function(e,t){return t?t.querySelector(e):document.querySelector(e)}.call(this,e,o);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}}(),a=null,d=0,c=[],p=o(7);function u(e,t){for(var o=0;o<e.length;o++){var n=e[o],i=r[n.id];if(i){i.refs++;for(var l=0;l<i.parts.length;l++)i.parts[l](n.parts[l]);for(;l<n.parts.length;l++)i.parts.push(b(n.parts[l],t))}else{var s=[];for(l=0;l<n.parts.length;l++)s.push(b(n.parts[l],t));r[n.id]={id:n.id,refs:1,parts:s}}}}function f(e,t){for(var o=[],n={},i=0;i<e.length;i++){var r=e[i],l=t.base?r[0]+t.base:r[0],s={css:r[1],media:r[2],sourceMap:r[3]};n[l]?n[l].parts.push(s):o.push(n[l]={id:l,parts:[s]})}return o}function h(e,t){var o=s(e.insertInto);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var n=c[c.length-1];if("top"===e.insertAt)n?n.nextSibling?o.insertBefore(t,n.nextSibling):o.appendChild(t):o.insertBefore(t,o.firstChild),c.push(t);else if("bottom"===e.insertAt)o.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var i=s(e.insertAt.before,o);o.insertBefore(t,i)}}function g(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=c.indexOf(e);t>=0&&c.splice(t,1)}function m(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var n=function(){0;return o.nc}();n&&(e.attrs.nonce=n)}return y(t,e.attrs),h(e,t),t}function y(e,t){Object.keys(t).forEach(function(o){e.setAttribute(o,t[o])})}function b(e,t){var o,n,i,r;if(t.transform&&e.css){if(!(r="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=r}if(t.singleton){var l=d++;o=a||(a=m(t)),n=_.bind(null,o,l,!1),i=_.bind(null,o,l,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(o=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",y(t,e.attrs),h(e,t),t}(t),n=function(e,t,o){var n=o.css,i=o.sourceMap,r=void 0===t.convertToAbsoluteUrls&&i;(t.convertToAbsoluteUrls||r)&&(n=p(n));i&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var l=new Blob([n],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(l),s&&URL.revokeObjectURL(s)}.bind(null,o,t),i=function(){g(o),o.href&&URL.revokeObjectURL(o.href)}):(o=m(t),n=function(e,t){var o=t.css,n=t.media;n&&e.setAttribute("media",n);if(e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}.bind(null,o),i=function(){g(o)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else i()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=l()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var o=f(e,t);return u(o,t),function(e){for(var n=[],i=0;i<o.length;i++){var l=o[i];(s=r[l.id]).refs--,n.push(s)}e&&u(f(e,t),t);for(i=0;i<n.length;i++){var s;if(0===(s=n[i]).refs){for(var a=0;a<s.parts.length;a++)s.parts[a]();delete r[s.id]}}}};var v,x=(v=[],function(e,t){return v[e]=t,v.filter(Boolean).join("\n")});function _(e,t,o,n){var i=o?"":n.css;if(e.styleSheet)e.styleSheet.cssText=x(t,i);else{var r=document.createTextNode(i),l=e.childNodes;l[t]&&e.removeChild(l[t]),l.length?e.insertBefore(r,l[t]):e.appendChild(r)}}},function(e,t,o){"use strict";var n=o(1);o.n(n).a},function(e,t,o){(e.exports=o(3)(!1)).push([e.i,".hlg-dialog{position:relative;margin:0 auto 50px;background:#fff;border-radius:6px;box-shadow:0 1px 3px rgba(0,0,0,0.3);box-sizing:border-box;max-width:100%;width:450px}.hlg-dialog-fullscreen{width:100%;margin-top:0;margin-bottom:0;height:100%;overflow:auto}.hlg-dialog__wrapper{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto;margin:0}.hlg-dialog__header{text-align:left}.hlg-dialog__headerbtn{position:absolute;top:20px;right:20px;padding:0;background:transparent;border:none;outline:none;cursor:pointer;font-size:16px}.hlg-dialog__headerbtn .hlg-dialog__close{color:#333}.hlg-dialog__headerbtn:focus .hlg-dialog__close,.hlg-dialog__headerbtn:hover .hlg-dialog__close{color:#45a3f8}.hlg-dialog__title{padding:32px 36px 0;margin-bottom:-16px;line-height:18px;font-size:18px;font-weight:bold;color:#333}.hlg-dialog__body{padding:40px 36px;color:#666;font-size:16px}.hlg-dialog__footer{display:flex;flex-direction:row;justify-content:flex-end;padding:12px 26px;border-top:1px solid #eff0f9;font-size:0}.hlg-dialog__footer .hlg-button{min-width:100px;font-size:14px}.hlg-dialog__footer .hlg-button+.hlg-button{margin-left:8px}.hlg-dialog--center{text-align:center}.dialog-fade-enter-active{animation:dialog-fade-in .3s}.dialog-fade-leave-active{animation:dialog-fade-out .3s}@keyframes dialog-fade-in{0%{transform:translate3d(0, -20px, 0);opacity:0}100%{transform:translate3d(0, 0, 0);opacity:1}}@keyframes dialog-fade-out{0%{transform:translate3d(0, 0, 0);opacity:1}100%{transform:translate3d(0, -20px, 0);opacity:0}}.v-modal{position:fixed;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,0.3)}.hlg-popup-parent--hidden{overflow:hidden}\n",""])},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var o=t.protocol+"//"+t.host,n=o+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var i,r=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(r)?e:(i=0===r.indexOf("//")?r:0===r.indexOf("/")?o+r:n+r.replace(/^\.\//,""),"url("+JSON.stringify(i)+")")})}},function(e,t,o){"use strict";var n=o(2);o.n(n).a},function(e,t,o){(e.exports=o(3)(!1)).push([e.i,".hlg-button{display:inline-block;border:1px solid #d3d4e2;border-radius:3px;color:#333;cursor:pointer;font-size:16px;line-height:34px;padding:0 16px;height:36px;min-width:44px;text-align:center;text-decoration:none;outline:0;transition:all 0.1s ease;box-sizing:border-box}.hlg-button:hover,.hlg-button:active{border-color:#404857;background:#404857;color:#fff}.hlg-button.is-disabled{border-color:#eff0f9;background:#f4f4f4;color:#999}.hlg-button--primary{background:#d92424;border-color:#d92424;color:#fff}.hlg-button--danger{background:#d92424;border-color:#d92424;color:#fff}.hlg-button--text{color:#45a3f8;border-color:transparent;background:transparent;padding-left:0;padding-right:0;font-size:14px}.hlg-button--text:hover,.hlg-button--text:active{border-color:transparent;background:transparent;color:#2b81ec}.hlg-button--text.is-disabled{border-color:transparent;background:transparent;color:#999}.hlg-button--large{height:48px;line-height:46px;padding-left:20px;padding-right:20px;min-width:120px;font-size:20px}.hlg-button--medium{height:40px;line-height:38px;padding-left:16px;padding-right:16px;font-size:16px}.hlg-button--small{font-size:14px}.hlg-button--mini{height:28px;line-height:26px;padding-left:12px;padding-right:12px;font-size:14px}\n",""])},function(e,t,o){"use strict";o.r(t);var n=o(0),i=o.n(n);const r=i.a.prototype.$isServer,l=/([:\-_]+(.))/g,s=/^moz([A-Z])/,a=r?0:Number(document.documentMode),d=function(e){return(e||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")},c=function(e){return e.replace(l,(e,t,o,n)=>n?o.toUpperCase():o).replace(s,"Moz$1")};!r&&document.addEventListener,!r&&document.removeEventListener;function p(e,t){if(!e||!t)return!1;if(-1!==t.indexOf(" "))throw new Error("className should not contain space.");return e.classList?e.classList.contains(t):` ${e.className} `.indexOf(` ${t} `)>-1}function u(e,t){if(!e)return;let o=e.className;const n=(t||"").split(" ");for(let t=0,i=n.length;t<i;t+=1){const i=n[t];i&&(e.classList?e.classList.add(i):p(e,i)||(o+=` ${i}`))}e.classList||(e.className=o)}function f(e,t){if(!e||!t)return;const o=t.split(" ");let n=` ${e.className} `;for(let t=0,i=o.length;t<i;t+=1){const i=o[t];i&&(e.classList?e.classList.remove(i):p(e,i)&&(n=n.replace(` ${i} `," ")))}e.classList||(e.className=d(n))}const h=a<9?function(e,t){if(!r){if(!e||!t)return null;"float"===(t=c(t))&&(t="styleFloat");try{switch(t){case"opacity":try{return e.filters.item("alpha").opacity/100}catch(e){return 1}default:return e.style[t]||e.currentStyle?e.currentStyle[t]:null}}catch(o){return e.style[t]}}}:function(e,t){if(!r){if(!e||!t)return null;"float"===(t=c(t))&&(t="cssFloat");try{const o=document.defaultView.getComputedStyle(e,"");return e.style[t]||o?o[t]:null}catch(o){return e.style[t]}}};let g=!1,m=!1,y=2e3,b=null;const v={},x={modalFade:!0,getInstance:e=>v[e],register(e,t){e&&t&&(v[e]=t)},deregister(e){e&&(v[e]=null,delete v[e])},nextZIndex:()=>(x.zIndex+=1,x.zIndex),modalStack:[],doOnModalClick(){const e=x.modalStack[x.modalStack.length-1];if(!e)return;const t=x.getInstance(e.id);t&&t.closeOnClickModal&&t.close()},openModal(e,t,o,n,r){if(i.a.prototype.$isServer)return;if(!e||void 0===t)return;this.modalFade=r;const l=this.modalStack;for(let t=0,o=l.length;t<o;t+=1){if(l[t].id===e)return}const s=b();if(u(s,"v-modal"),this.modalFade&&!g&&u(s,"v-modal-enter"),n){n.trim().split(/\s+/).forEach(e=>u(s,e))}setTimeout(()=>{f(s,"v-modal-enter")},200),o&&o.parentNode&&11!==o.parentNode.nodeType?o.parentNode.appendChild(s):document.body.appendChild(s),y&&(s.style.zIndex=y),s.tabIndex=0,s.style.display="",this.modalStack.push({id:e,zIndex:y,modalClass:n})},closeModal(e){const t=this.modalStack,o=b();if(t.length>0){const n=t[t.length-1];if(n.id===e){if(n.modalClass){n.modalClass.trim().split(/\s+/).forEach(e=>f(o,e))}t.pop(),t.length>0&&(o.style.zIndex=t[t.length-1].zIndex)}else for(let o=t.length-1;o>=0;o-=1)if(t[o].id===e){t.splice(o,1);break}}0===t.length&&(this.modalFade&&u(o,"v-modal-leave"),setTimeout(()=>{0===t.length&&(o.parentNode&&o.parentNode.removeChild(o),o.style.display="none",x.modalDom=void 0),f(o,"v-modal-leave")},200))}};b=function(){if(i.a.prototype.$isServer)return;let e=x.modalDom;return e?g=!0:(g=!1,e=document.createElement("div"),x.modalDom=e,e.addEventListener("touchmove",e=>{e.preventDefault(),e.stopPropagation()}),e.addEventListener("click",()=>{x.doOnModalClick&&x.doOnModalClick()})),e},Object.defineProperty(x,"zIndex",{configurable:!0,get:()=>(m||(y=(i.a.prototype.$ELEMENT||{}).zIndex||y,m=!0),y),set(e){y=e}});i.a.prototype.$isServer||window.addEventListener("keydown",e=>{if(27===e.keyCode){const e=function(){if(!i.a.prototype.$isServer&&x.modalStack.length>0){const e=x.modalStack[x.modalStack.length-1];if(!e)return;return x.getInstance(e.id)}}();e&&e.closeOnPressEscape&&(e.handleClose?e.handleClose():e.handleAction?e.handleAction("cancel"):e.close())}});var _=x;let C;let w,$=1;const S=function(e){return 3===e.nodeType&&(e=e.nextElementSibling||e.nextSibling,S(e)),e};var T={name:"HlgDialog",mixins:[{props:{visible:{type:Boolean,default:!1},openDelay:{},closeDelay:{},zIndex:{},modal:{type:Boolean,default:!1},modalFade:{type:Boolean,default:!0},modalClass:{},modalAppendToBody:{type:Boolean,default:!1},lockScroll:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!1},closeOnClickModal:{type:Boolean,default:!1}},beforeMount(){$+=1,this.$_popupId=`popup-${$}`,_.register(this.$_popupId,this)},beforeDestroy(){_.deregister(this.$_popupId),_.closeModal(this.$_popupId),this.restoreBodyStyle()},data:()=>({opened:!1,bodyPaddingRight:null,computedBodyPaddingRight:0,withoutHiddenClass:!0,rendered:!1}),watch:{visible(e){if(e){if(this.$_opening)return;this.rendered?this.open():(this.rendered=!0,i.a.nextTick(()=>{this.open()}))}else this.close()}},methods:{open(e){this.rendered||(this.rendered=!0);const t=function(e){for(let t=1,o=arguments.length;t<o;t+=1){const o=arguments[t]||{};for(const t in o)if(Object.prototype.hasOwnProperty.call(o,t)){const n=o[t];void 0!==n&&(e[t]=n)}}return e}({},this.$props||this,e);this.$_closeTimer&&(clearTimeout(this.$_closeTimer),this.$_closeTimer=null),clearTimeout(this.$_openTimer);const o=Number(t.openDelay);o>0?this.$_openTimer=setTimeout(()=>{this.$_openTimer=null,this.doOpen(t)},o):this.doOpen(t)},doOpen(e){if(this.$isServer)return;if(this.willOpen&&!this.willOpen())return;if(this.opened)return;this.$_opening=!0;const t=S(this.$el),o=e.modal,n=e.zIndex;if(n&&(_.zIndex=n),o&&(this.$_closing&&(_.closeModal(this.$_popupId),this.$_closing=!1),_.openModal(this.$_popupId,_.nextZIndex(),this.modalAppendToBody?void 0:t,e.modalClass,e.modalFade),e.lockScroll)){this.withoutHiddenClass=!p(document.body,"hlg-popup-parent--hidden"),this.withoutHiddenClass&&(this.bodyPaddingRight=document.body.style.paddingRight,this.computedBodyPaddingRight=parseInt(h(document.body,"paddingRight"),10)),w=function(){if(i.a.prototype.$isServer)return 0;if(void 0!==C)return C;const e=document.createElement("div");e.className="el-scrollbar__wrap",e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);const t=e.offsetWidth;e.style.overflow="scroll";const o=document.createElement("div");o.style.width="100%",e.appendChild(o);const n=o.offsetWidth;return e.parentNode.removeChild(e),C=t-n}();const e=document.documentElement.clientHeight<document.body.scrollHeight,t=h(document.body,"overflowY");w>0&&(e||"scroll"===t)&&this.withoutHiddenClass&&(document.body.style.paddingRight=`${this.computedBodyPaddingRight+w}px`),u(document.body,"hlg-popup-parent--hidden")}"static"===getComputedStyle(t).position&&(t.style.position="absolute"),t.style.zIndex=_.nextZIndex(),this.opened=!0,this.onOpen&&this.onOpen(),this.doAfterOpen()},doAfterOpen(){this.$_opening=!1},close(){if(this.willClose&&!this.willClose())return;null!==this.$_openTimer&&(clearTimeout(this.$_openTimer),this.$_openTimer=null),clearTimeout(this.$_closeTimer);const e=Number(this.closeDelay);e>0?this.$_closeTimer=setTimeout(()=>{this.$_closeTimer=null,this.doClose()},e):this.doClose()},doClose(){this.$_closing=!0,this.onClose&&this.onClose(),this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.doAfterClose()},doAfterClose(){_.closeModal(this.$_popupId),this.$_closing=!1},restoreBodyStyle(){this.modal&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.bodyPaddingRight,f(document.body,"hlg-popup-parent--hidden")),this.withoutHiddenClass=!0}}}],props:{visible:{type:Boolean,default:!1},title:{type:String,default:""},width:{type:String,default:""},padding:{type:String,default:""},fullscreen:Boolean,top:{type:String,default:"15vh"},modal:{type:Boolean,default:!0},modalAppendToBody:{type:Boolean,default:!0},appendToBody:{type:Boolean,default:!1},lockScroll:{type:Boolean,default:!0},customClass:{type:String,default:""},closeOnClickModal:{type:Boolean,default:!1},closeOnPressEscape:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},beforeClose:{type:Function,default:e=>e()},center:{type:Boolean,default:!1}},data:()=>({closed:!1,opened:!1,bodyPaddingRight:null,computedBodyPaddingRight:0,withoutHiddenClass:!0,rendered:!1}),computed:{style(){const e={};return this.fullscreen||(e.marginTop=this.top,this.width&&(e.width=this.width)),e}},watch:{visible(e){e?(this.closed=!1,this.$emit("open"),this.$el.addEventListener("scroll",this.updatePopper),this.$nextTick(()=>{this.$refs.dialog.scrollTop=0}),this.appendToBody&&document.body.appendChild(this.$el)):(this.$el.removeEventListener("scroll",this.updatePopper),this.closed||this.$emit("close"))}},mounted(){this.visible&&(this.rendered=!0,this.open(),this.appendToBody&&document.body.appendChild(this.$el))},destroyed(){this.appendToBody&&this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},methods:{getMigratingConfig:()=>({props:{size:"size is removed."}}),handleWrapperClick(){this.closeOnClickModal&&this.handleClose()},handleClose(){"function"==typeof this.beforeClose?this.beforeClose(this.hide):this.hide()},hide(e){!1!==e&&(this.$emit("update:visible",!1),this.$emit("close"),this.closed=!0)},updatePopper(){},afterEnter(){this.$emit("opened")},afterLeave(){this.$emit("closed")}}};o(5);function k(e,t,o,n,i,r,l,s){var a,d="function"==typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=o,d._compiled=!0),n&&(d.functional=!0),r&&(d._scopeId="data-v-"+r),l?(a=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(l)},d._ssrRegister=a):i&&(a=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),a)if(d.functional){d._injectStyles=a;var c=d.render;d.render=function(e,t){return a.call(t),c(e,t)}}else{var p=d.beforeCreate;d.beforeCreate=p?[].concat(p,a):[a]}return{exports:e,options:d}}var B=k(T,function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("Transition",{attrs:{name:"dialog-fade"},on:{"after-enter":e.afterEnter,"after-leave":e.afterLeave}},[o("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"hlg-dialog__wrapper",on:{click:function(t){return t.target!==t.currentTarget?null:e.handleWrapperClick(t)}}},[o("div",{ref:"dialog",staticClass:"hlg-dialog",class:[{"is-fullscreen":e.fullscreen,"hlg-dialog--center":e.center},e.customClass],style:e.style,attrs:{role:"dialog","aria-modal":"true","aria-label":e.title||"dialog"}},[o("div",{staticClass:"hlg-dialog__header"},[e.title||e.$slots.title?e._t("title",[o("div",{staticClass:"hlg-dialog__title"},[e._v(e._s(e.title))])]):e._e(),e.showClose?o("button",{staticClass:"hlg-dialog__headerbtn",attrs:{type:"button","aria-label":"Close"},on:{click:e.handleClose}},[o("i",{staticClass:"hlg-dialog__close"})]):e._e()],2),o("div",{staticClass:"hlg-dialog__body",style:e.padding?{padding:e.padding}:{}},[e._t("default")],2),e.$slots.footer?o("div",{staticClass:"hlg-dialog__footer"},[e._t("footer")],2):e._e()])])])},[],!1,null,null,null);B.options.__file="dialog.vue";var O=B.exports;O.install=function(e){e.component(O.name,O)};var E=O,I={name:"HlgButton",props:{type:{type:String,default:"default"},size:{type:String,default:""},icon:{type:String,default:""},width:{type:String,default:""},nativeType:{type:String,default:"button"},loading:Boolean,disabled:Boolean,round:Boolean,circle:Boolean},computed:{style(){const e={};return this.width&&(e.width=this.width),e}},methods:{onClickAction(e){this.$emit("click",e)}}},z=(o(8),k(I,function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("button",{staticClass:"hlg-button",class:[e.type?"hlg-button--"+e.type:"",e.size?"hlg-button--"+e.size:"",{"is-disabled":e.disabled}],style:e.style,attrs:{disabled:e.disabled||e.loading,type:e.nativeType},on:{click:e.onClickAction}},[e.$slots.default?o("span",[e._t("default")],2):e._e()])},[],!1,null,null,null));z.options.__file="button.vue";var L=z.exports;L.install=function(e){e.component(L.name,L)};var R=L;const M=[E,R],N=function(e,t={}){M.forEach(t=>{e.component(t.name,t)}),e.prototype.$HLGUI={size:t.size||"",zIndex:t.zIndex||2e3}};"undefined"!=typeof window&&window.Vue&&N(window.Vue);t.default={version:"0.0.1",install:N,Dialog:E,Button:R}}]);
/*! (c)2019 huanleguang.com */
module.exports=function(t){var e={};function o(i){if(e[i])return e[i].exports;var n=e[i]={i:i,l:!1,exports:{}};return t[i].call(n.exports,n,n.exports,o),n.l=!0,n.exports}return o.m=t,o.c=e,o.d=function(t,e,i){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)o.d(i,n,function(e){return t[e]}.bind(null,n));return i},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=37)}([function(t,e){t.exports=require("vue")},function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var o=function(t,e){var o=t[1]||"",i=t[3];if(!i)return o;if(e&&"function"==typeof btoa){var n=(s=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(s))))+" */"),l=i.sources.map(function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"});return[o].concat(l).concat([n]).join("\n")}var s;return[o].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+o+"}":o}).join("")},e.i=function(t,o){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},n=0;n<this.length;n++){var l=this[n][0];"number"==typeof l&&(i[l]=!0)}for(n=0;n<t.length;n++){var s=t[n];"number"==typeof s[0]&&i[s[0]]||(o&&!s[2]?s[2]=o:o&&(s[2]="("+s[2]+") and ("+o+")"),e.push(s))}},e}},function(t,e,o){var i,n,l={},s=(i=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===n&&(n=i.apply(this,arguments)),n}),a=function(t){var e={};return function(t,o){if("function"==typeof t)return t();if(void 0===e[t]){var i=function(t,e){return e?e.querySelector(t):document.querySelector(t)}.call(this,t,o);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}}(),r=null,p=0,d=[],c=o(16);function h(t,e){for(var o=0;o<t.length;o++){var i=t[o],n=l[i.id];if(n){n.refs++;for(var s=0;s<n.parts.length;s++)n.parts[s](i.parts[s]);for(;s<i.parts.length;s++)n.parts.push(b(i.parts[s],e))}else{var a=[];for(s=0;s<i.parts.length;s++)a.push(b(i.parts[s],e));l[i.id]={id:i.id,refs:1,parts:a}}}}function u(t,e){for(var o=[],i={},n=0;n<t.length;n++){var l=t[n],s=e.base?l[0]+e.base:l[0],a={css:l[1],media:l[2],sourceMap:l[3]};i[s]?i[s].parts.push(a):o.push(i[s]={id:s,parts:[a]})}return o}function f(t,e){var o=a(t.insertInto);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var i=d[d.length-1];if("top"===t.insertAt)i?i.nextSibling?o.insertBefore(e,i.nextSibling):o.appendChild(e):o.insertBefore(e,o.firstChild),d.push(e);else if("bottom"===t.insertAt)o.appendChild(e);else{if("object"!=typeof t.insertAt||!t.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var n=a(t.insertAt.before,o);o.insertBefore(e,n)}}function g(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=d.indexOf(t);e>=0&&d.splice(e,1)}function m(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var i=function(){0;return o.nc}();i&&(t.attrs.nonce=i)}return v(e,t.attrs),f(t,e),e}function v(t,e){Object.keys(e).forEach(function(o){t.setAttribute(o,e[o])})}function b(t,e){var o,i,n,l;if(e.transform&&t.css){if(!(l="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=l}if(e.singleton){var s=p++;o=r||(r=m(e)),i=w.bind(null,o,s,!1),n=w.bind(null,o,s,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(o=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",v(e,t.attrs),f(t,e),e}(e),i=function(t,e,o){var i=o.css,n=o.sourceMap,l=void 0===e.convertToAbsoluteUrls&&n;(e.convertToAbsoluteUrls||l)&&(i=c(i));n&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var s=new Blob([i],{type:"text/css"}),a=t.href;t.href=URL.createObjectURL(s),a&&URL.revokeObjectURL(a)}.bind(null,o,e),n=function(){g(o),o.href&&URL.revokeObjectURL(o.href)}):(o=m(e),i=function(t,e){var o=e.css,i=e.media;i&&t.setAttribute("media",i);if(t.styleSheet)t.styleSheet.cssText=o;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(o))}}.bind(null,o),n=function(){g(o)});return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else n()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=s()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var o=u(t,e);return h(o,e),function(t){for(var i=[],n=0;n<o.length;n++){var s=o[n];(a=l[s.id]).refs--,i.push(a)}t&&h(u(t,e),e);for(n=0;n<i.length;n++){var a;if(0===(a=i[n]).refs){for(var r=0;r<a.parts.length;r++)a.parts[r]();delete l[a.id]}}}};var x,y=(x=[],function(t,e){return x[t]=e,x.filter(Boolean).join("\n")});function w(t,e,o,i){var n=o?"":i.css;if(t.styleSheet)t.styleSheet.cssText=y(e,n);else{var l=document.createTextNode(n),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(l,s[e]):t.appendChild(l)}}},function(t,e,o){var i=o(15);"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};o(2)(i,n);i.locals&&(t.exports=i.locals)},function(t,e,o){var i=o(18);"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};o(2)(i,n);i.locals&&(t.exports=i.locals)},function(t,e,o){var i=o(20);"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};o(2)(i,n);i.locals&&(t.exports=i.locals)},function(t,e,o){var i=o(23);"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};o(2)(i,n);i.locals&&(t.exports=i.locals)},function(t,e,o){var i=o(26);"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};o(2)(i,n);i.locals&&(t.exports=i.locals)},function(t,e,o){var i=o(28);"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};o(2)(i,n);i.locals&&(t.exports=i.locals)},function(t,e,o){var i=o(30);"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};o(2)(i,n);i.locals&&(t.exports=i.locals)},function(t,e,o){var i=o(32);"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};o(2)(i,n);i.locals&&(t.exports=i.locals)},function(t,e,o){var i=o(34);"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};o(2)(i,n);i.locals&&(t.exports=i.locals)},function(t,e,o){var i=o(36);"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};o(2)(i,n);i.locals&&(t.exports=i.locals)},function(t,e){t.exports=function(t){return"string"!=typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),/["'() \t\n]/.test(t)?'"'+t.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':t)}},function(t,e,o){"use strict";var i=o(3);o.n(i).a},function(t,e,o){(t.exports=o(1)(!1)).push([t.i,".hlg-dialog{position:relative;margin:0 auto 50px;background:#fff;border-radius:6px;box-shadow:0 1px 3px rgba(0,0,0,0.3);box-sizing:border-box;max-width:100%;width:450px}.hlg-dialog-fullscreen{width:100%;margin-top:0;margin-bottom:0;height:100%;overflow:auto}.hlg-dialog__wrapper{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto;margin:0}.hlg-dialog__header{text-align:left}.hlg-dialog__headerbtn{position:absolute;top:20px;right:20px;padding:0;background:transparent;border:none;outline:none;cursor:pointer;font-size:16px}.hlg-dialog__headerbtn .hlg-dialog__close{color:#333}.hlg-dialog__headerbtn:focus .hlg-dialog__close,.hlg-dialog__headerbtn:hover .hlg-dialog__close{color:#45a3f8}.hlg-dialog__title{padding:32px 36px 0;margin-bottom:-16px;line-height:18px;font-size:18px;font-weight:bold;color:#333}.hlg-dialog__body{padding:40px 36px;color:#666;font-size:16px}.hlg-dialog__footer{display:flex;flex-direction:row;justify-content:flex-end;padding:12px 26px;border-top:1px solid #eff0f9;font-size:0}.hlg-dialog__footer .hlg-button{min-width:100px;font-size:14px}.hlg-dialog__footer .hlg-button+.hlg-button{margin-left:8px}.hlg-dialog--center{text-align:center}.dialog-fade-enter-active{animation:dialog-fade-in .3s}.dialog-fade-leave-active{animation:dialog-fade-out .3s}@keyframes dialog-fade-in{0%{transform:translate3d(0, -20px, 0);opacity:0}100%{transform:translate3d(0, 0, 0);opacity:1}}@keyframes dialog-fade-out{0%{transform:translate3d(0, 0, 0);opacity:1}100%{transform:translate3d(0, -20px, 0);opacity:0}}@keyframes hlg-mask-in{0%{opacity:0}100%{}}@keyframes hlg-mask-out{0%{}100%{opacity:0}}.hlg-mask{position:fixed;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,0.3)}.hlg-mask-enter{animation:hlg-mask-in .2s ease}.hlg-mask-leave{animation:hlg-mask-out .2s ease forwards}.hlg-popup-parent--hidden{overflow:hidden}\n",""])},function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var o=e.protocol+"//"+e.host,i=o+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,e){var n,l=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(l)?t:(n=0===l.indexOf("//")?l:0===l.indexOf("/")?o+l:i+l.replace(/^\.\//,""),"url("+JSON.stringify(n)+")")})}},function(t,e,o){"use strict";var i=o(4);o.n(i).a},function(t,e,o){(t.exports=o(1)(!1)).push([t.i,".hlg-button{display:inline-block;border:1px solid #d3d4e2;border-radius:3px;color:#333;cursor:pointer;font-size:16px;line-height:34px;padding:0 16px;height:36px;min-width:44px;text-align:center;text-decoration:none;outline:0;transition:all 0.1s ease;box-sizing:border-box}.hlg-button:hover,.hlg-button:active{border-color:#404857;background:#404857;color:#fff}.hlg-button.is-disabled{border-color:#eff0f9;background:#f4f4f4;color:#999}.hlg-button--primary{background:#d92424;border-color:#d92424;color:#fff}.hlg-button--danger{background:#d92424;border-color:#d92424;color:#fff}.hlg-button--text{color:#45a3f8;border-color:transparent;background:transparent;padding-left:0;padding-right:0;font-size:14px}.hlg-button--text:hover,.hlg-button--text:active{border-color:transparent;background:transparent;color:#2b81ec}.hlg-button--text.is-disabled{border-color:transparent;background:transparent;color:#999}.hlg-button--large{height:48px;line-height:46px;padding-left:20px;padding-right:20px;min-width:120px;font-size:20px}.hlg-button--medium{height:40px;line-height:38px;padding-left:16px;padding-right:16px;font-size:16px}.hlg-button--small{font-size:14px}.hlg-button--mini{height:28px;line-height:26px;padding-left:12px;padding-right:12px;font-size:14px}\n",""])},function(t,e,o){"use strict";var i=o(5);o.n(i).a},function(t,e,o){var i=o(13);(t.exports=o(1)(!1)).push([t.i,"@keyframes alert-fade{0%{transform:scaleY(1);opacity:1}100%{transform:scaleY(0);opacity:0}}.alert-fade-leave-active{transition:opacity .3s ease;opacity:0}.hlg-alert{position:relative;font-size:14px;line-height:22px;padding:8px 12px;color:#fd8300}.hlg-alert.info{color:#2b81ec;background-color:#f2fafe}.hlg-alert.warning{color:#fd8300;background-color:#fff2d8}.hlg-alert.success{color:#58c227;background-color:#edfce6}.hlg-alert.error{color:#d62620;background-color:#ffecec}.hlg-alert .title{display:flex;align-items:center;align-content:center}.hlg-alert .icon{flex-basis:14px;width:14px;height:14px;background-image:url("+i(o(21))+");background-size:100% 100%}.hlg-alert .text{margin-left:4px;flex:1}.hlg-alert .desc{margin-left:18px}.hlg-alert .btn-close{position:absolute;top:10px;right:12px;line-height:1;font-size:16px;cursor:pointer;user-select:none;transition:opacity .3s ease}.hlg-alert .btn-close:hover{opacity:.6}\n",""])},function(t,e){t.exports="data:image/png;base64,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"},function(t,e,o){"use strict";var i=o(6);o.n(i).a},function(t,e,o){var i=o(13);(t.exports=o(1)(!1)).push([t.i,".hlg-info{position:relative;display:inline-flex;align-items:center;font-size:14px;height:22px;line-height:22px;color:#fd8300}.hlg-info.info{color:#2b81ec}.hlg-info.warning{color:#fd8300}.hlg-info.success{color:#58c227}.hlg-info.error{color:#d62620}.hlg-info.warm{color:#fd8300}.hlg-info.help{color:#2b81ec}.hlg-info .icon{width:14px;height:14px;background-image:url("+i(o(24))+");background-size:100% 100%}.hlg-info .text{margin-left:4px}\n",""])},function(t,e){t.exports="data:image/png;base64,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"},function(t,e,o){"use strict";var i=o(7);o.n(i).a},function(t,e,o){(t.exports=o(1)(!1)).push([t.i,".tooltip-fade-enter-active{animation:tooltip-fade .3s ease}.tooltip-fade-leave-active{animation:tooltip-fade .3s ease reverse}@keyframes tooltip-fade{0%{opacity:0}100%{opacity:1}}.hlg-tooltip{position:relative;display:inline-block}.hlg-tooltip .pop-up{z-index:1020;position:absolute;min-width:175px;font-size:14px;line-height:1.3;color:#999}.hlg-tooltip .pop-up .pop-up-content{position:relative;padding:12px;border:1px solid #d3d4e2;border-radius:2px;background-color:#fff;box-shadow:0 3px 8px 0 rgba(0,0,0,0.1)}.hlg-tooltip .pop-up.top,.hlg-tooltip .pop-up.topLeft,.hlg-tooltip .pop-up.topRight{padding-bottom:10px;bottom:calc(100% + -1px)}.hlg-tooltip .pop-up.top .arrow,.hlg-tooltip .pop-up.topLeft .arrow,.hlg-tooltip .pop-up.topRight .arrow{bottom:-7px;transform:rotate(180deg)}.hlg-tooltip .pop-up.top{left:50%;transform:translateX(-50%)}.hlg-tooltip .pop-up.top .arrow{left:calc(50% - 7px)}.hlg-tooltip .pop-up.topLeft{left:0}.hlg-tooltip .pop-up.topLeft .arrow{left:24px}.hlg-tooltip .pop-up.topRight{right:0}.hlg-tooltip .pop-up.topRight .arrow{right:24px}.hlg-tooltip .pop-up.bottom,.hlg-tooltip .pop-up.bottomLeft,.hlg-tooltip .pop-up.bottomRight{padding-top:10px;top:calc(100% + -1px)}.hlg-tooltip .pop-up.bottom .arrow,.hlg-tooltip .pop-up.bottomLeft .arrow,.hlg-tooltip .pop-up.bottomRight .arrow{top:-7px;transform:rotate(0deg)}.hlg-tooltip .pop-up.bottom{left:50%;transform:translateX(-50%)}.hlg-tooltip .pop-up.bottom .arrow{left:calc(50% - 7px)}.hlg-tooltip .pop-up.bottomLeft{left:0}.hlg-tooltip .pop-up.bottomLeft .arrow{left:24px}.hlg-tooltip .pop-up.bottomRight{right:0}.hlg-tooltip .pop-up.bottomRight .arrow{right:24px}.hlg-tooltip .pop-up.left,.hlg-tooltip .pop-up.leftTop,.hlg-tooltip .pop-up.leftBottom{padding-right:10px;right:calc(100% + -1px)}.hlg-tooltip .pop-up.left .arrow,.hlg-tooltip .pop-up.leftTop .arrow,.hlg-tooltip .pop-up.leftBottom .arrow{right:-10px;transform:rotate(90deg)}.hlg-tooltip .pop-up.left{top:50%;transform:translateY(-50%)}.hlg-tooltip .pop-up.left .arrow{bottom:calc(50% - 5px)}.hlg-tooltip .pop-up.leftTop{top:0}.hlg-tooltip .pop-up.leftTop .arrow{top:24px}.hlg-tooltip .pop-up.leftBottom{bottom:0}.hlg-tooltip .pop-up.leftBottom .arrow{bottom:24px}.hlg-tooltip .pop-up.right,.hlg-tooltip .pop-up.rightTop,.hlg-tooltip .pop-up.rightBottom{padding-left:10px;left:calc(100% + -1px)}.hlg-tooltip .pop-up.right .arrow,.hlg-tooltip .pop-up.rightTop .arrow,.hlg-tooltip .pop-up.rightBottom .arrow{left:-10px;transform:rotate(-90deg)}.hlg-tooltip .pop-up.right{top:50%;transform:translateY(-50%)}.hlg-tooltip .pop-up.right .arrow{bottom:calc(50% - 5px)}.hlg-tooltip .pop-up.rightTop{top:0}.hlg-tooltip .pop-up.rightTop .arrow{top:24px}.hlg-tooltip .pop-up.rightBottom{bottom:0}.hlg-tooltip .pop-up.rightBottom .arrow{bottom:24px}.hlg-tooltip .pop-up .arrow{position:absolute;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #d3d4e2;transform-origin:50% 50%}.hlg-tooltip .pop-up .arrow:before{position:absolute;top:1px;left:-6px;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff;content:''}\n",""])},function(t,e,o){"use strict";var i=o(8);o.n(i).a},function(t,e,o){(t.exports=o(1)(!1)).push([t.i,".hlg-message{position:fixed;top:50%;left:50%;transition:opacity 0.25s, transform 0.25s;overflow:hidden;display:flex;align-items:center;transform:translate(-50%, -50%);box-shadow:0 2px 15px rgba(153,153,153,0.75);padding:28px 64px;font-size:16px}.hlg-message--success{background:#58c227;color:#fff}.hlg-message--info{background:#fff;color:#333}.hlg-message--warning{background:#fd8300;color:#fff}.hlg-message--error{background:#d62620;color:#fff}.hlg-message-fade-enter,.hlg-message-fade-leave-active{opacity:0;transform:translate(-50%, -150%)}.hlg-message-fade-leave-active{transition:opacity 0.5s, transform 0.5s}.hlg-message__icon{height:16px;width:16px;margin-right:4px;background:#999999}.hlg-message__close{position:absolute;top:8px;right:8px;width:16px;height:16px;background:#999999;cursor:pointer}.hlg-message p{margin:0}\n",""])},function(t,e,o){"use strict";var i=o(9);o.n(i).a},function(t,e,o){(t.exports=o(1)(!1)).push([t.i,".hlg-modal{position:relative;margin:0 auto 50px;background:#fff;border-radius:6px;box-shadow:0 1px 3px rgba(0,0,0,0.3);box-sizing:border-box;max-width:100%;width:450px}.hlg-modal__wrapper{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto;margin:0}.hlg-modal__header{text-align:left}.hlg-modal__headerbtn{position:absolute;top:20px;right:20px;padding:0;background:transparent;border:none;outline:none;cursor:pointer;font-size:16px}.hlg-modal__headerbtn .hlg-dialog__close{color:#333}.hlg-modal__headerbtn:focus .hlg-dialog__close,.hlg-modal__headerbtn:hover .hlg-dialog__close{color:#45a3f8}.hlg-modal__title{padding:32px 36px 0;margin-bottom:-16px;line-height:18px;font-size:18px;font-weight:bold;color:#333}.hlg-modal__body{padding:40px 36px;color:#666;font-size:16px}.hlg-modal__btns{display:flex;flex-direction:row;justify-content:flex-end;padding:12px 26px;border-top:1px solid #eff0f9;font-size:0}.hlg-modal__btns .hlg-button{min-width:100px;font-size:14px}.hlg-modal__btns .hlg-button+.hlg-button{margin-left:8px}.modal-fade-enter-active{animation:modal-fade-in .3s}.modal-fade-leave-active{animation:modal-fade-out .3s}@keyframes modal-fade-in{0%{transform:translate3d(0, -20px, 0);opacity:0}100%{transform:translate3d(0, 0, 0);opacity:1}}@keyframes modal-fade-out{0%{transform:translate3d(0, 0, 0);opacity:1}100%{transform:translate3d(0, -20px, 0);opacity:0}}\n",""])},function(t,e,o){"use strict";var i=o(10);o.n(i).a},function(t,e,o){(t.exports=o(1)(!1)).push([t.i,".hlg-collapse{border-top:1px solid #eff0f9;border-bottom:1px solid #eff0f9}\n",""])},function(t,e,o){"use strict";var i=o(11);o.n(i).a},function(t,e,o){(t.exports=o(1)(!1)).push([t.i,".hlg-collapse-item__header{display:flex;align-items:center;height:48px;line-height:48px;background:#ffffff;color:#000;cursor:pointer;border-bottom:1px solid #eff0f9;font-size:13px;transition:border-bottom-color .3s;outline:none}.hlg-collapse-item__header.is-active{border-bottom-color:transparent}.hlg-collapse-item__arrow{margin:0 8px 0 auto;transition:transform .3s;font-weight:300}.hlg-collapse-item__arrow.is-active{transform:rotate(90deg)}.hlg-collapse-item__wrap{will-change:height;overflow:hidden;box-sizing:border-box;background:#ffffff;border-bottom:1px solid #eff0f9}.hlg-collapse-item__content{padding-bottom:25px;font-size:12px;color:#333;line-height:1.769230769230769}.hlg-collapse-item:last-child{margin-bottom:-1px}.collapse-transition{transition:0.3s height ease-in-out, 0.3s padding-top ease-in-out, 0.3s padding-bottom ease-in-out}.horizontal-collapse-transition{transition:0.3s width ease-in-out, 0.3s padding-left ease-in-out, 0.3s padding-right ease-in-out}\n",""])},function(t,e,o){"use strict";var i=o(12);o.n(i).a},function(t,e,o){(t.exports=o(1)(!1)).push([t.i,".hlg-input{display:inline-flex;border:1px solid #d3d4e2;height:34px;line-height:32px;box-sizing:border-box;font-size:14px;border-radius:2px}.hlg-input--large{height:48px;line-height:46px}.hlg-input--small{height:20px;line-height:18px;font-size:12px}.hlg-input--small .hlg-input__inner{padding:0 8px}.hlg-input__inner{border:0;padding:0 12px;color:#333;outline:0;flex:1;background:transparent}.hlg-input--hover,.hlg-input--focus{border-color:#444b58}.hlg-input--disabled{background:#f4f4f4;border-color:#eff0f9}.hlg-input--disabled .hlg-input__inner{color:#999}.hlg-input--error{border-color:#d62620}.hlg-input--error .hlg-input__inner{color:#d62620}.hlg-input-group{height:48px;line-height:46px}.hlg-input-group .hlg-input__inner{padding:0 8px;flex:1;width:60px}.hlg-input-group__prepend{width:24px;text-align:right;color:#999}.hlg-input-group__append{width:24px;color:#999}.hlg-textarea{display:inline-flex;border:1px solid #d3d4e2;box-sizing:border-box}.hlg-textarea__inner{border:0;padding:12px;color:#333;outline:0;flex:1;background:transparent}\n",""])},function(t,e,o){"use strict";o.r(e);var i=o(0),n=o.n(i);let l;const s=n.a.prototype.$isServer,a=/([:\-_]+(.))/g,r=/^moz([A-Z])/,p=s?0:Number(document.documentMode),d=function(t){return(t||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")},c=function(t){return t.replace(a,(t,e,o,i)=>i?o.toUpperCase():o).replace(r,"Moz$1")};!s&&document.addEventListener,!s&&document.removeEventListener;function h(t,e){if(!t||!e)return!1;if(-1!==e.indexOf(" "))throw new Error("className should not contain space.");return t.classList?t.classList.contains(e):` ${t.className} `.indexOf(` ${e} `)>-1}function u(t,e){if(!t)return;let o=t.className;const i=(e||"").split(" ");for(let e=0,n=i.length;e<n;e+=1){const n=i[e];n&&(t.classList?t.classList.add(n):h(t,n)||(o+=` ${n}`))}t.classList||(t.className=o)}function f(t,e){if(!t||!e)return;const o=e.split(" ");let i=` ${t.className} `;for(let e=0,n=o.length;e<n;e+=1){const n=o[e];n&&(t.classList?t.classList.remove(n):h(t,n)&&(i=i.replace(` ${n} `," ")))}t.classList||(t.className=d(i))}const g=p<9?function(t,e){if(!s){if(!t||!e)return null;"float"===(e=c(e))&&(e="styleFloat");try{switch(e){case"opacity":try{return t.filters.item("alpha").opacity/100}catch(t){return 1}default:return t.style[e]||t.currentStyle?t.currentStyle[e]:null}}catch(o){return t.style[e]}}}:function(t,e){if(!s){if(!t||!e)return null;"float"===(e=c(e))&&(e="cssFloat");try{const o=document.defaultView.getComputedStyle(t,"");return t.style[e]||o?o[e]:null}catch(o){return t.style[e]}}};let m=!1,v=!1,b=2e3,x=null;const y={},w={modalFade:!0,getInstance:t=>y[t],register(t,e){t&&e&&(y[t]=e)},deregister(t){t&&(y[t]=null,delete y[t])},nextZIndex:()=>(w.zIndex+=1,w.zIndex),modalStack:[],doOnModalClick(){const t=w.modalStack[w.modalStack.length-1];if(!t)return;const e=w.getInstance(t.id);e&&e.closeOnClickModal&&e.close()},openModal(t,e,o,i,l){if(n.a.prototype.$isServer)return;if(!t||void 0===e)return;this.modalFade=l;const s=this.modalStack;for(let e=0,o=s.length;e<o;e+=1){if(s[e].id===t)return}const a=x();if(u(a,"hlg-mask"),this.modalFade&&!m&&u(a,"hlg-mask-enter"),i){i.trim().split(/\s+/).forEach(t=>u(a,t))}setTimeout(()=>{f(a,"hlg-mask-enter")},200),o&&o.parentNode&&11!==o.parentNode.nodeType?o.parentNode.appendChild(a):document.body.appendChild(a),b&&(a.style.zIndex=b),a.tabIndex=0,a.style.display="",this.modalStack.push({id:t,zIndex:b,modalClass:i})},closeModal(t){const e=this.modalStack,o=x();if(e.length>0){const i=e[e.length-1];if(i.id===t){if(i.modalClass){i.modalClass.trim().split(/\s+/).forEach(t=>f(o,t))}e.pop(),e.length>0&&(o.style.zIndex=e[e.length-1].zIndex)}else for(let o=e.length-1;o>=0;o-=1)if(e[o].id===t){e.splice(o,1);break}}0===e.length&&(this.modalFade&&u(o,"hlg-mask-leave"),setTimeout(()=>{0===e.length&&(o.parentNode&&o.parentNode.removeChild(o),o.style.display="none",w.modalDom=void 0),f(o,"hlg-mask-leave")},200))}};x=function(){if(n.a.prototype.$isServer)return;let t=w.modalDom;return t?m=!0:(m=!1,t=document.createElement("div"),w.modalDom=t,t.addEventListener("touchmove",t=>{t.preventDefault(),t.stopPropagation()}),t.addEventListener("click",()=>{w.doOnModalClick&&w.doOnModalClick()})),t},Object.defineProperty(w,"zIndex",{configurable:!0,get:()=>(v||(b=(n.a.prototype.$ELEMENT||{}).zIndex||b,v=!0),b),set(t){b=t}});n.a.prototype.$isServer||window.addEventListener("keydown",t=>{if(27===t.keyCode){const t=function(){if(!n.a.prototype.$isServer&&w.modalStack.length>0){const t=w.modalStack[w.modalStack.length-1];if(!t)return;return w.getInstance(t.id)}}();t&&t.closeOnPressEscape&&(t.handleClose?t.handleClose():t.handleAction?t.handleAction("cancel"):t.close())}});var _=w;let C,k=1;const T=function(t){return 3===t.nodeType&&(t=t.nextElementSibling||t.nextSibling,T(t)),t};var B={props:{visible:{type:Boolean,default:!1},openDelay:{},closeDelay:{},zIndex:{},modal:{type:Boolean,default:!1},modalFade:{type:Boolean,default:!0},modalClass:{},modalAppendToBody:{type:Boolean,default:!1},lockScroll:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!1},closeOnClickModal:{type:Boolean,default:!1}},beforeMount(){k+=1,this.$_popupId=`popup-${k}`,_.register(this.$_popupId,this)},beforeDestroy(){_.deregister(this.$_popupId),_.closeModal(this.$_popupId),this.restoreBodyStyle()},data:()=>({opened:!1,bodyPaddingRight:null,computedBodyPaddingRight:0,withoutHiddenClass:!0,rendered:!1}),watch:{visible(t){if(t){if(this.$_opening)return;this.rendered?this.open():(this.rendered=!0,n.a.nextTick(()=>{this.open()}))}else this.close()}},methods:{open(t){this.rendered||(this.rendered=!0);const e=function(t){for(let e=1,o=arguments.length;e<o;e+=1){const o=arguments[e]||{};for(const e in o)if(Object.prototype.hasOwnProperty.call(o,e)){const i=o[e];void 0!==i&&(t[e]=i)}}return t}({},this.$props||this,t);this.$_closeTimer&&(clearTimeout(this.$_closeTimer),this.$_closeTimer=null),clearTimeout(this.$_openTimer);const o=Number(e.openDelay);o>0?this.$_openTimer=setTimeout(()=>{this.$_openTimer=null,this.doOpen(e)},o):this.doOpen(e)},doOpen(t){if(this.$isServer)return;if(this.willOpen&&!this.willOpen())return;if(this.opened)return;this.$_opening=!0;const e=T(this.$el),o=t.modal,i=t.zIndex;if(i&&(_.zIndex=i),o&&(this.$_closing&&(_.closeModal(this.$_popupId),this.$_closing=!1),_.openModal(this.$_popupId,_.nextZIndex(),this.modalAppendToBody?void 0:e,t.modalClass,t.modalFade),t.lockScroll)){this.withoutHiddenClass=!h(document.body,"hlg-popup-parent--hidden"),this.withoutHiddenClass&&(this.bodyPaddingRight=document.body.style.paddingRight,this.computedBodyPaddingRight=parseInt(g(document.body,"paddingRight"),10)),C=function(){if(n.a.prototype.$isServer)return 0;if(void 0!==l)return l;const t=document.createElement("div");t.className="el-scrollbar__wrap",t.style.visibility="hidden",t.style.width="100px",t.style.position="absolute",t.style.top="-9999px",document.body.appendChild(t);const e=t.offsetWidth;t.style.overflow="scroll";const o=document.createElement("div");o.style.width="100%",t.appendChild(o);const i=o.offsetWidth;return t.parentNode.removeChild(t),l=e-i}();const t=document.documentElement.clientHeight<document.body.scrollHeight,e=g(document.body,"overflowY");C>0&&(t||"scroll"===e)&&this.withoutHiddenClass&&(document.body.style.paddingRight=`${this.computedBodyPaddingRight+C}px`),u(document.body,"hlg-popup-parent--hidden")}"static"===getComputedStyle(e).position&&(e.style.position="absolute"),e.style.zIndex=_.nextZIndex(),this.opened=!0,this.onOpen&&this.onOpen(),this.doAfterOpen()},doAfterOpen(){this.$_opening=!1},close(){if(this.willClose&&!this.willClose())return;null!==this.$_openTimer&&(clearTimeout(this.$_openTimer),this.$_openTimer=null),clearTimeout(this.$_closeTimer);const t=Number(this.closeDelay);t>0?this.$_closeTimer=setTimeout(()=>{this.$_closeTimer=null,this.doClose()},t):this.doClose()},doClose(){this.$_closing=!0,this.onClose&&this.onClose(),this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.doAfterClose()},doAfterClose(){_.closeModal(this.$_popupId),this.$_closing=!1},restoreBodyStyle(){this.modal&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.bodyPaddingRight,f(document.body,"hlg-popup-parent--hidden")),this.withoutHiddenClass=!0}}},S={name:"HlgDialog",mixins:[B],props:{visible:{type:Boolean,default:!1},title:{type:String,default:""},width:{type:String,default:""},padding:{type:String,default:""},fullscreen:Boolean,top:{type:String,default:"15vh"},modal:{type:Boolean,default:!0},modalAppendToBody:{type:Boolean,default:!0},appendToBody:{type:Boolean,default:!1},lockScroll:{type:Boolean,default:!0},customClass:{type:String,default:""},closeOnClickModal:{type:Boolean,default:!1},closeOnPressEscape:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},beforeClose:{type:Function,default:t=>t()},center:{type:Boolean,default:!1}},data:()=>({closed:!1,opened:!1,bodyPaddingRight:null,computedBodyPaddingRight:0,withoutHiddenClass:!0,rendered:!1}),computed:{style(){const t={};return this.fullscreen||(t.marginTop=this.top,this.width&&(t.width=this.width)),t}},watch:{visible(t){t?(this.closed=!1,this.$emit("open"),this.$el.addEventListener("scroll",this.updatePopper),this.$nextTick(()=>{this.$refs.dialog.scrollTop=0}),this.appendToBody&&document.body.appendChild(this.$el)):(this.$el.removeEventListener("scroll",this.updatePopper),this.closed||this.$emit("close"))}},mounted(){this.visible&&(this.rendered=!0,this.open(),this.appendToBody&&document.body.appendChild(this.$el))},destroyed(){this.appendToBody&&this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},methods:{getMigratingConfig:()=>({props:{size:"size is removed."}}),handleWrapperClick(){this.closeOnClickModal&&this.handleClose()},handleClose(){"function"==typeof this.beforeClose?this.beforeClose(this.hide):this.hide()},hide(t){!1!==t&&(this.$emit("update:visible",!1),this.$emit("close"),this.closed=!0)},updatePopper(){},afterEnter(){this.$emit("opened")},afterLeave(){this.$emit("closed")}}};o(14);function $(t,e,o,i,n,l,s,a){var r,p="function"==typeof t?t.options:t;if(e&&(p.render=e,p.staticRenderFns=o,p._compiled=!0),i&&(p.functional=!0),l&&(p._scopeId="data-v-"+l),s?(r=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__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},p._ssrRegister=r):n&&(r=a?function(){n.call(this,this.$root.$options.shadowRoot)}:n),r)if(p.functional){p._injectStyles=r;var d=p.render;p.render=function(t,e){return r.call(e),d(t,e)}}else{var c=p.beforeCreate;p.beforeCreate=c?[].concat(c,r):[r]}return{exports:t,options:p}}var z=$(S,function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("transition",{attrs:{name:"dialog-fade"},on:{"after-enter":t.afterEnter,"after-leave":t.afterLeave}},[o("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"hlg-dialog__wrapper",on:{click:function(e){return e.target!==e.currentTarget?null:t.handleWrapperClick(e)}}},[o("div",{ref:"dialog",staticClass:"hlg-dialog",class:[{"is-fullscreen":t.fullscreen,"hlg-dialog--center":t.center},t.customClass],style:t.style,attrs:{role:"dialog","aria-modal":"true","aria-label":t.title||"dialog"}},[o("div",{staticClass:"hlg-dialog__header"},[t.title||t.$slots.title?t._t("title",[o("div",{staticClass:"hlg-dialog__title"},[t._v(t._s(t.title))])]):t._e(),t.showClose?o("button",{staticClass:"hlg-dialog__headerbtn",attrs:{type:"button","aria-label":"Close"},on:{click:t.handleClose}},[o("i",{staticClass:"hlg-dialog__close"})]):t._e()],2),o("div",{staticClass:"hlg-dialog__body",style:t.padding?{padding:t.padding}:{}},[t._t("default")],2),t.$slots.footer?o("div",{staticClass:"hlg-dialog__footer"},[t._t("footer")],2):t._e()])])])},[],!1,null,null,null);z.options.__file="dialog.vue";var E=z.exports;E.install=function(t){t.component(E.name,E)};var I=E,L={name:"HlgButton",props:{type:{type:String,default:"default"},size:{type:String,default:""},icon:{type:String,default:""},width:{type:String,default:""},nativeType:{type:String,default:"button"},loading:Boolean,disabled:Boolean,round:Boolean,circle:Boolean},computed:{style(){const t={};return this.width&&(t.width=this.width),t}},methods:{onClickAction(t){this.$emit("click",t)}}},H=(o(17),$(L,function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("button",{staticClass:"hlg-button",class:[t.type?"hlg-button--"+t.type:"",t.size?"hlg-button--"+t.size:"",{"is-disabled":t.disabled}],style:t.style,attrs:{disabled:t.disabled||t.loading,type:t.nativeType},on:{click:t.onClickAction}},[t.$slots.default?o("span",[t._t("default")],2):t._e()])},[],!1,null,null,null));H.options.__file="button.vue";var M=H.exports;M.install=function(t){t.component(M.name,M)};var O=M,N={name:"HlgAlert",props:{type:{type:String,default:"info",validator:t=>["info","warning","success","error"].includes(t)},closeable:{type:Boolean,default:!1}},data:()=>({isShow:!0}),methods:{afterClose(){this.$emit("closed"),this.$destroy()},closeHandler(){this.$emit("on-close"),this.isShow=!1}}},A=(o(19),$(N,function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("Transition",{attrs:{name:"alert-fade"},on:{"after-leave":t.afterClose}},[t.isShow?o("div",{staticClass:"hlg-alert",class:t.type},[o("div",{staticClass:"title"},[o("span",{staticClass:"icon"}),o("span",{staticClass:"text"},[t._t("default")],2)]),o("div",{staticClass:"desc"},[t._t("desc")],2),t.closeable?o("div",{staticClass:"btn-close",on:{click:t.closeHandler}},[t._v("x")]):t._e()]):t._e()])},[],!1,null,null,null));A.options.__file="alert.vue";var P=A.exports;P.install=function(t){t.component(P.name,P)};var j=P,R={name:"HlgInfo",props:{type:{type:String,default:"info",validator:t=>["info","warning","success","error","warm","help"].includes(t)},showIcon:{type:Boolean,default:!0}},data:()=>({}),methods:{}},U=(o(22),$(R,function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"hlg-info",class:this.type},[this.showIcon?e("span",{staticClass:"icon"}):this._e(),e("span",{staticClass:"text"},[this._t("default")],2)])},[],!1,null,null,null));U.options.__file="info.vue";var V=U.exports;V.install=function(t){t.component(V.name,V)};var W=V,D={name:"HlgTooltip",props:{content:{type:String,default:""},placement:{type:String,default:"top",validator:t=>["top","left","right","bottom","topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"].includes(t)},trigger:{type:String,default:"hover",validator:t=>["hover","click"].includes(t)},mouseEnterDelay:{type:Number,default:0,validator:t=>t>=0},mouseLeaveDelay:{type:Number,default:0,validator:t=>t>=0},visible:{type:Boolean,default:void 0},popUpClass:{type:String,default:""},popUpStyle:{type:Object,default:null}},data:()=>({selfVisible:!1,enterTimer:null,leaveTimer:null}),computed:{popUpShow(){return void 0===this.visible?this.selfVisible:this.visible}},watch:{popUpShow(t){this.$emit(t?"on-show":"on-hide")}},mounted(){document.body.addEventListener("click",()=>{"click"===this.trigger&&this.switchState(!1)})},methods:{clearTimer(){this.enterTimer&&window.clearTimeout(this.enterTimer),this.leaveTimer&&window.clearTimeout(this.leaveTimer)},switchState(t){this.popUpShow!==t&&(this.$emit("update:visible",t),this.selfVisible=t)},onMouseEnter(){"hover"===this.trigger&&(this.clearTimer(),this.enterTimer=window.setTimeout(()=>this.switchState(!0),this.mouseEnterDelay))},onMouseLeave(){"hover"===this.trigger&&(this.clearTimer(),this.popUpShow&&(this.leaveTimer=window.setTimeout(()=>this.switchState(!1),this.mouseLeaveDelay)))},onClick(){"click"===this.trigger&&this.switchState(!this.popUpShow)}}},F=(o(25),$(D,function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"hlg-tooltip",on:{click:function(e){return e.stopPropagation(),t.onClick(e)},mouseenter:t.onMouseEnter,mouseleave:t.onMouseLeave}},[t._t("default"),o("Transition",{attrs:{name:"tooltip-fade"}},[o("div",{directives:[{name:"show",rawName:"v-show",value:t.popUpShow,expression:"popUpShow"}],staticClass:"pop-up",class:[t.placement,t.popUpClass],style:t.popUpStyle,on:{click:function(t){t.stopPropagation()}}},[o("div",{staticClass:"pop-up-content"},[o("div",{staticClass:"arrow"}),t._t("content",[t._v(t._s(t.content))])],2)])])],2)},[],!1,null,null,null));F.options.__file="tooltip.vue";var K=F.exports;K.install=function(t){t.component(K.name,K)};var X=K;function q(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Y(t){return null!==t&&"object"==typeof t&&q(t,"componentOptions")}var G={name:"HlgMessage",data:()=>({type:"info",message:"",iconClass:"",customClass:"",duration:1500,visible:!1,timer:null,isHTML:!1,closed:!1,showClose:!1,onClose:null}),computed:{typeClass(){const t={success:"success",info:"info",warning:"warning",error:"error"};return this.type&&!this.iconClass&&t[this.type]?`hlg-message__icon--${t[this.type]}`:""}},watch:{closed(t){t&&(this.visible=!1)}},mounted(){this.startTimer(),document.addEventListener("keydown",this.keydown)},beforeDestroy(){document.removeEventListener("keydown",this.keydown)},methods:{destroyElement(){this.$destroy(!0),this.$el.parentNode.removeChild(this.$el)},close(){this.closed=!0,"function"==typeof this.onClose&&this.onClose(this)},clearTimer(){clearTimeout(this.timer)},startTimer(){this.duration>0&&(this.timer=setTimeout(()=>{this.closed||this.close()},this.duration))},keydown(t){27===t.keyCode&&(this.closed||this.close())}}},Z=(o(27),$(G,function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("transition",{attrs:{name:"hlg-message-fade"},on:{"after-leave":t.destroyElement}},[o("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"hlg-message",class:[t.type&&"hlg-message--"+t.type,t.customClass],attrs:{role:"message"},on:{mouseenter:t.clearTimer,mouseleave:t.startTimer}},[t.iconClass?o("i",{staticClass:"hlg-message__icon",class:t.iconClass}):t.typeClass?o("i",{staticClass:"hlg-message__icon",class:t.typeClass}):t._e(),t._t("default",[t.isHTML?o("p",{staticClass:"hlg-message__content",domProps:{innerHTML:t._s(t.message)}}):o("p",{staticClass:"hlg-message__content"},[t._v(t._s(t.message))])]),t.showClose?o("i",{staticClass:"hlg-message__close",on:{click:t.close}}):t._e()],2)])},[],!1,null,null,null));Z.options.__file="message.vue";var J=Z.exports;const Q=n.a.extend(J),tt=[];let et,ot=1;const it=function(t){if(n.a.prototype.$isServer)return;ot+=1,"string"==typeof(t=t||{})&&(t={message:t});const e=t.onClose,o=`hlg_message_${ot}`;return t.onClose=function(){it.close(o,e)},(et=new Q({data:t})).id=o,Y(et.message)&&(et.$slots.default=[et.message],et.message=null),et.vm=et.$mount(),document.body.appendChild(et.vm.$el),et.vm.visible=!0,et.dom=et.vm.$el,et.dom.style.zIndex=_.nextZIndex(),tt.push(et),et.vm};["success","warning","info","error"].forEach(t=>{it[t]=(e=>("string"==typeof e&&(e={message:e}),e.type=t,it(e)))}),it.close=function(t,e){for(let o=0,i=tt.length;o<i;o+=1)if(t===tt[o].id){"function"==typeof e&&e(tt[o]),tt.splice(o,1);break}},it.closeAll=function(){for(let t=tt.length-1;t>=0;t-=1)tt[t].close()};var nt=it,lt={name:"HlgModal",components:{HlgButton:O},mixins:[B],props:{modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},top:{type:String,default:"15vh"},width:{type:String,default:""},closeOnClickModal:{type:Boolean,default:!1},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0}},data:()=>({uid:1,title:void 0,message:"",customClass:"",showConfirmButton:!0,showCancelButton:!1,action:"",confirmButtonText:"",cancelButtonText:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonClass:"",confirmButtonDisabled:!1,cancelButtonClass:"",callback:null,isHTML:!1,isOnComposition:!1,distinguishCancelAndClose:!1}),computed:{confirmButtonClasses(){return`${this.confirmButtonClass}`},cancelButtonClasses(){return`${this.cancelButtonClass}`},style(){const t={marginTop:this.top};return this.width&&(t.width=this.width),t}},watch:{visible(t){t&&(this.uid+=1)}},destroyed(){this.closeOnHashChange&&window.removeEventListener("hashchange",()=>this.handleAction("hashchange"))},mounted(){this.$nextTick(()=>{this.closeOnHashChange&&window.addEventListener("hashchange",()=>this.handleAction("hashchange"))})},methods:{getSafeClose(){const t=this.uid;return()=>{this.$nextTick(()=>{t===this.uid&&this.doClose()})}},doClose(){this.visible&&(this.visible=!1,this.$_closing=!0,this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.doAfterClose(),setTimeout(()=>{this.action&&this.callback(this.action,this)}))},handleWrapperClick(){this.closeOnClickModal&&this.handleAction(this.distinguishCancelAndClose?"close":"cancel")},handleAction(t){this.action=t,"function"==typeof this.beforeClose?(this.close=this.getSafeClose(),this.beforeClose(t,this,this.close)):this.doClose()},afterEnter(){this.$emit("opened")},afterLeave(){this.$emit("closed"),this.$el.parentNode.removeChild(this.$el)}}},st=(o(29),$(lt,function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("transition",{attrs:{name:"modal-fade"},on:{"after-enter":t.afterEnter,"after-leave":t.afterLeave}},[o("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"hlg-modal__wrapper",on:{click:function(e){return e.target!==e.currentTarget?null:t.handleWrapperClick(e)}}},[o("div",{staticClass:"hlg-modal",class:t.customClass,style:t.style},[o("div",{staticClass:"hlg-modal__header"},[t.title||t.$slots.title?t._t("title",[o("div",{staticClass:"hlg-modal__title"},[t._v(t._s(t.title))])]):t._e(),t.showClose?o("button",{staticClass:"hlg-modal__headerbtn",attrs:{type:"button","aria-label":"Close"},on:{click:function(e){t.handleAction(t.distinguishCancelAndClose?"close":"cancel")},keydown:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.handleAction(t.distinguishCancelAndClose?"close":"cancel")}}},[o("i",{staticClass:"hlg-modal__close"})]):t._e()],2),o("div",{staticClass:"hlg-modal__body"},[""!==t.message?o("div",{staticClass:"hlg-modal__message"},[t._t("default",[t.isHTML?o("p",{domProps:{innerHTML:t._s(t.message)}}):o("p",[t._v(t._s(t.message))])])],2):t._e()]),o("div",{staticClass:"hlg-modal__btns"},[t._t("footer",[t.showCancelButton?o("hlg-button",{class:[t.cancelButtonClasses],attrs:{loading:t.cancelButtonLoading},on:{keydown:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.handleAction("cancel")}},nativeOn:{click:function(e){t.handleAction("cancel")}}},[t._v(t._s(t.cancelButtonText||"取消"))]):t._e(),o("hlg-button",{directives:[{name:"show",rawName:"v-show",value:t.showConfirmButton,expression:"showConfirmButton"}],ref:"confirm",class:[t.confirmButtonClasses],attrs:{type:"primary",loading:t.confirmButtonLoading},on:{click:function(e){t.dialogVisible=!1},keydown:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.handleAction("confirm")}},nativeOn:{click:function(e){t.handleAction("confirm")}}},[t._v(t._s(t.confirmButtonText||"确定"))])])],2)])])])},[],!1,null,null,null));st.options.__file="modal.vue";var at=st.exports;const rt=n.a.extend(at),pt={title:null,message:"",type:"",iconClass:"",showClose:!0,modalFade:!0,lockScroll:!0,closeOnClickModal:!0,closeOnPressEscape:!0,closeOnHashChange:!0,showConfirmButton:!0,showCancelButton:!1,confirmButtonPosition:"right",confirmButtonHighlight:!1,cancelButtonHighlight:!1,confirmButtonText:"",cancelButtonText:"",confirmButtonClass:"",cancelButtonClass:"",customClass:"",beforeClose:null,dangerouslyUseHTMLString:!1,center:!1,roundButton:!1,distinguishCancelAndClose:!1};let dt,ct,ht=[];const ut=t=>{if(dt){const e=dt.callback;"function"==typeof e&&e(t),dt.resolve&&("confirm"===t?dt.resolve(t):!dt.reject||"cancel"!==t&&"close"!==t||dt.reject(new Error(t)))}},ft=()=>{if(ct||((ct=new rt({el:document.createElement("div")})).callback=ut),ct.action="",(!ct.visible||ct.closeTimer)&&ht.length>0){const t=(dt=ht.shift()).options;for(const e in t)q(t,e)&&(ct[e]=t[e]);void 0===t.callback&&(ct.callback=ut);const e=ct.callback;ct.callback=((t,o)=>{e(t,o),ft()}),Y(ct.message)?(ct.$slots.default=[ct.message],ct.message=null):delete ct.$slots.default,document.body.appendChild(ct.$el),n.a.nextTick(()=>{ct.visible=!0})}},gt=function(t,e){if(!n.a.prototype.$isServer){if("string"==typeof t||Y(t)?(t={message:t},"string"==typeof arguments[1]&&(t.title=arguments[1])):t.callback&&!e&&(e=t.callback),"undefined"!=typeof Promise)return new Promise((o,i)=>{ht.push({options:Object.assign({},pt,gt.defaults,t),callback:e,resolve:o,reject:i}),ft()});ht.push({options:Object.assign({},pt,gt.defaults,t),callback:e}),ft()}};gt.alert=((t,e,o)=>("object"==typeof e?(o=e,e=""):void 0===e&&(e=""),gt(Object.assign({title:e,message:t,$type:"alert",closeOnPressEscape:!1,closeOnClickModal:!1},o)))),gt.confirm=((t,e,o)=>("object"==typeof e?(o=e,e=""):void 0===e&&(e=""),gt(Object.assign({title:e,message:t,$type:"confirm",showCancelButton:!0},o)))),gt.close=(()=>{ct.doClose(),ct.visible=!1,ht=[],dt=null});var mt=gt,vt={name:"HlgCollapse",componentName:"HlgCollapse",props:{accordion:Boolean,value:{type:[Array,String,Number],default:()=>[]}},data(){return{activeNames:[].concat(this.value)}},provide(){return{collapse:this}},watch:{value(t){this.activeNames=[].concat(t)}},created(){this.$on("item-click",this.handleItemClick)},methods:{setActiveNames(t){t=[].concat(t);const e=this.accordion?t[0]:t;this.activeNames=t,this.$emit("input",e),this.$emit("change",e)},handleItemClick(t){const e=this.activeNames.slice(0),o=e.indexOf(t.name);this.accordion?this.setActiveNames(-1===o?t.name:""):(o>-1?e.splice(o,1):e.push(t.name),this.setActiveNames(e))}}},bt=(o(31),$(vt,function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"hlg-collapse"},[this._t("default")],2)},[],!1,null,null,null));bt.options.__file="collapse.vue";var xt=bt.exports;xt.install=function(t){t.component(xt.name,xt)};var yt=xt;var wt={methods:{dispatch(t,e,o){let i=this.$parent||this.$root,n=i.$options.componentName;for(;i&&(!n||n!==t);)(i=i.$parent)&&(n=i.$options.componentName);i&&i.$emit.apply(i,[e].concat(o))},broadcast(t,e,o){(function t(e,o,i){this.$children.forEach(n=>{n.$options.componentName===e?n.$emit.apply(n,[o].concat(i)):t.apply(n,[e,o].concat([i]))})}).call(this,t,e,o)}}},_t={name:"HlgCollapseItem",componentName:"HlgCollapseItem",mixins:[wt,{methods:{beforeEnter(t){u(t,"collapse-transition"),t.dataset||(t.dataset={}),t.dataset.oldPaddingTop=t.style.paddingTop,t.dataset.oldPaddingBottom=t.style.paddingBottom,t.style.height="0",t.style.paddingTop=0,t.style.paddingBottom=0},enter(t){t.dataset.oldOverflow=t.style.overflow,0!==t.scrollHeight?(t.style.height=`${t.scrollHeight}px`,t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom):(t.style.height="",t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom),t.style.overflow="hidden"},afterEnter(t){f(t,"collapse-transition"),t.style.height="",t.style.overflow=t.dataset.oldOverflow},beforeLeave(t){t.dataset||(t.dataset={}),t.dataset.oldPaddingTop=t.style.paddingTop,t.dataset.oldPaddingBottom=t.style.paddingBottom,t.dataset.oldOverflow=t.style.overflow,t.style.height=`${t.scrollHeight}px`,t.style.overflow="hidden"},leave(t){0!==t.scrollHeight&&(u(t,"collapse-transition"),t.style.height=0,t.style.paddingTop=0,t.style.paddingBottom=0)},afterLeave(t){f(t,"collapse-transition"),t.style.height="",t.style.overflow=t.dataset.oldOverflow,t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom}}}],props:{title:{type:String,default:""},name:{type:[String,Number],default(){return this._uid}}},data:()=>({contentWrapStyle:{height:"auto",display:"block"},contentHeight:0}),inject:["collapse"],computed:{isActive(){return this.collapse.activeNames.indexOf(this.name)>-1},id:()=>Math.floor(1e4*Math.random())},methods:{handleHeaderClick(){this.dispatch("HlgCollapse","item-click",this)}}},Ct=(o(33),$(_t,function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"hlg-collapse-item",class:{"hlg-collapse-item--active":t.isActive}},[o("div",{staticClass:"hlg-collapse-item__header",class:{"is-active":t.isActive},attrs:{id:"hlg-collapse-head-"+t.id},on:{click:t.handleHeaderClick}},[t._t("title",[t._v(t._s(t.title))]),o("i",{staticClass:"hlg-collapse-item__arrow",class:{"is-active":t.isActive}})],2),o("transition",{on:{"before-enter":t.beforeEnter,enter:t.enter,"after-enter":t.afterEnter,"before-leave":t.beforeLeave,leave:t.leave,"after-leave":t.afterLeave}},[o("div",{directives:[{name:"show",rawName:"v-show",value:t.isActive,expression:"isActive"}],staticClass:"hlg-collapse-item__wrap",attrs:{id:"hlg-collapse-content-"+t.id}},[o("div",{staticClass:"hlg-collapse-item__content"},[t._t("default")],2)])])],1)},[],!1,null,null,null));Ct.options.__file="collapse-item.vue";var kt=Ct.exports;kt.install=function(t){t.component(kt.name,kt)};var Tt=kt;let Bt;const St="\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n",$t=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function zt(t,e=1,o=null){Bt||(Bt=document.createElement("textarea"),document.body.appendChild(Bt));const{paddingSize:i,borderSize:n,boxSizing:l,contextStyle:s}=function(t){const e=window.getComputedStyle(t),o=e.getPropertyValue("box-sizing"),i=parseFloat(e.getPropertyValue("padding-bottom"))+parseFloat(e.getPropertyValue("padding-top")),n=parseFloat(e.getPropertyValue("border-bottom-width"))+parseFloat(e.getPropertyValue("border-top-width"));return{contextStyle:$t.map(t=>`${t}:${e.getPropertyValue(t)}`).join(";"),paddingSize:i,borderSize:n,boxSizing:o}}(t);Bt.setAttribute("style",`${s};${St}`),Bt.value=t.value||t.placeholder||"";let a=Bt.scrollHeight;const r={};"border-box"===l?a+=n:"content-box"===l&&(a-=i),Bt.value="";const p=Bt.scrollHeight-i;if(null!==e){let t=p*e;"border-box"===l&&(t=t+i+n),a=Math.max(t,a),r.minHeight=`${t}px`}if(null!==o){let t=p*o;"border-box"===l&&(t=t+i+n),a=Math.min(t,a)}return r.height=`${a}px`,Bt.parentNode&&Bt.parentNode.removeChild(Bt),Bt=null,r}var Et={name:"HlgInput",componentName:"HlgInput",mixins:[wt],inheritAttrs:!1,props:{value:{default:"",type:[String,Number]},size:{default:"",type:String},resize:{default:"",type:String},form:{default:"",type:String},disabled:Boolean,readonly:Boolean,type:{type:String,default:"text"},autosize:{type:[Boolean,Object],default:!1},label:{default:"",type:String},clearable:{type:Boolean,default:!1}},data:()=>({textareaCalcStyle:{},hovering:!1,focused:!1}),computed:{textareaStyle(){return Object.assign({},this.textareaCalcStyle,{resize:this.resize})},inputSize(){return this.size},inputDisabled(){return this.disabled},nativeInputValue(){return null===this.value||void 0===this.value?"":this.value},showClear(){return this.clearable&&!this.inputDisabled&&!this.readonly&&this.nativeInputValue&&(this.focused||this.hovering)}},watch:{value(t){this.$nextTick(this.resizeTextarea)}},mounted(){this.resizeTextarea()},methods:{focus(){(this.$refs.input||this.$refs.textarea).focus()},blur(){(this.$refs.input||this.$refs.textarea).blur()},resizeTextarea(){if(this.$isServer)return;const{autosize:t,type:e}=this;if("textarea"!==e)return;if(!t)return void(this.textareaCalcStyle={minHeight:zt(this.$refs.textarea).minHeight});const o=t.minRows,i=t.maxRows;this.textareaCalcStyle=zt(this.$refs.textarea,o,i)},handleBlur(t){this.focused=!1,this.$emit("blur",t)},handleFocus(t){this.focused=!0,this.$emit("focus",t)},handleInput(t){this.isOnComposition||t.target.value!==this.nativeInputValue&&(this.$emit("input",t.target.value),this.$nextTick(()=>{(this.$refs.input||this.$refs.textarea).value=this.value}))},handleChange(t){this.$emit("change",t.target.value)},clear(){this.$emit("input",""),this.$emit("change",""),this.$emit("clear")}}},It=(o(35),$(Et,function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{class:["textarea"===t.type?"hlg-textarea":"hlg-input",t.inputSize?"hlg-input--"+t.inputSize:"",{"hlg-input--disabled":t.inputDisabled,"hlg-input--hover":t.hovering,"hlg-input--focus":t.focused,"hlg-input-group":t.$slots.prepend||t.$slots.append,"hlg-input-group--append":t.$slots.append,"hlg-input-group--prepend":t.$slots.prepend}],on:{mouseenter:function(e){t.hovering=!0},mouseleave:function(e){t.hovering=!1}}},["textarea"!==t.type?[t.$slots.prepend?o("div",{staticClass:"hlg-input-group__prepend"},[t._t("prepend")],2):t._e(),t._v(" "),"textarea"!==t.type?o("input",t._b({ref:"input",staticClass:"hlg-input__inner",attrs:{type:t.type,disabled:t.inputDisabled,readonly:t.readonly},domProps:{value:t.nativeInputValue},on:{input:t.handleInput,focus:t.handleFocus,blur:t.handleBlur,change:t.handleChange}},"input",t.$attrs,!1)):t._e(),t._v(" "),t.$slots.append?o("div",{staticClass:"hlg-input-group__append"},[t._t("append")],2):t._e()]:o("textarea",t._b({ref:"textarea",staticClass:"hlg-textarea__inner",style:t.textareaStyle,attrs:{disabled:t.inputDisabled,readonly:t.readonly},domProps:{value:t.nativeInputValue},on:{input:t.handleInput,focus:t.handleFocus,blur:t.handleBlur,change:t.handleChange}},"textarea",t.$attrs,!1))],2)},[],!1,null,null,null));It.options.__file="input.vue";var Lt=It.exports;Lt.install=function(t){t.component(Lt.name,Lt)};var Ht=Lt;const Mt=[I,O,j,W,X,mt,yt,Ht,Tt],Ot=function(t,e={}){Mt.forEach(e=>{t.component(e.name,e)}),t.prototype.$HLGUI={size:e.size||"",zIndex:e.zIndex||2e3},t.prototype.$message=nt,t.prototype.$modal=mt,t.prototype.$alert=mt.alert,t.prototype.$confirm=mt.confirm};"undefined"!=typeof window&&window.Vue&&Ot(window.Vue);e.default={install:Ot,Dialog:I,Button:O,Alert:j,Info:W,Tooltip:X,Message:nt,Modal:mt,Collapse:yt,Input:Ht,CollapseItem:Tt}}]);

@@ -1,1 +0,2 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define("HLGUI",["vue"],t):"object"==typeof exports?exports.HLGUI=t(require("vue")):e.HLGUI=t(e.vue)}(window,function(e){return function(e){var t={};function o(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=e,o.c=t,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)o.d(n,i,function(t){return e[t]}.bind(null,i));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=10)}([function(t,o){t.exports=e},function(e,t,o){var n=o(6);"string"==typeof n&&(n=[[e.i,n,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};o(4)(n,i);n.locals&&(e.exports=n.locals)},function(e,t,o){var n=o(9);"string"==typeof n&&(n=[[e.i,n,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};o(4)(n,i);n.locals&&(e.exports=n.locals)},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var o=function(e,t){var o=e[1]||"",n=e[3];if(!n)return o;if(t&&"function"==typeof btoa){var i=(l=n,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(l))))+" */"),r=n.sources.map(function(e){return"/*# sourceURL="+n.sourceRoot+e+" */"});return[o].concat(r).concat([i]).join("\n")}var l;return[o].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+o+"}":o}).join("")},t.i=function(e,o){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},i=0;i<this.length;i++){var r=this[i][0];"number"==typeof r&&(n[r]=!0)}for(i=0;i<e.length;i++){var l=e[i];"number"==typeof l[0]&&n[l[0]]||(o&&!l[2]?l[2]=o:o&&(l[2]="("+l[2]+") and ("+o+")"),t.push(l))}},t}},function(e,t,o){var n,i,r={},l=(n=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===i&&(i=n.apply(this,arguments)),i}),s=function(e){var t={};return function(e,o){if("function"==typeof e)return e();if(void 0===t[e]){var n=function(e,t){return t?t.querySelector(e):document.querySelector(e)}.call(this,e,o);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}}(),a=null,d=0,c=[],p=o(7);function u(e,t){for(var o=0;o<e.length;o++){var n=e[o],i=r[n.id];if(i){i.refs++;for(var l=0;l<i.parts.length;l++)i.parts[l](n.parts[l]);for(;l<n.parts.length;l++)i.parts.push(b(n.parts[l],t))}else{var s=[];for(l=0;l<n.parts.length;l++)s.push(b(n.parts[l],t));r[n.id]={id:n.id,refs:1,parts:s}}}}function f(e,t){for(var o=[],n={},i=0;i<e.length;i++){var r=e[i],l=t.base?r[0]+t.base:r[0],s={css:r[1],media:r[2],sourceMap:r[3]};n[l]?n[l].parts.push(s):o.push(n[l]={id:l,parts:[s]})}return o}function h(e,t){var o=s(e.insertInto);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var n=c[c.length-1];if("top"===e.insertAt)n?n.nextSibling?o.insertBefore(t,n.nextSibling):o.appendChild(t):o.insertBefore(t,o.firstChild),c.push(t);else if("bottom"===e.insertAt)o.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var i=s(e.insertAt.before,o);o.insertBefore(t,i)}}function g(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=c.indexOf(e);t>=0&&c.splice(t,1)}function m(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var n=function(){0;return o.nc}();n&&(e.attrs.nonce=n)}return y(t,e.attrs),h(e,t),t}function y(e,t){Object.keys(t).forEach(function(o){e.setAttribute(o,t[o])})}function b(e,t){var o,n,i,r;if(t.transform&&e.css){if(!(r="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=r}if(t.singleton){var l=d++;o=a||(a=m(t)),n=_.bind(null,o,l,!1),i=_.bind(null,o,l,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(o=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",y(t,e.attrs),h(e,t),t}(t),n=function(e,t,o){var n=o.css,i=o.sourceMap,r=void 0===t.convertToAbsoluteUrls&&i;(t.convertToAbsoluteUrls||r)&&(n=p(n));i&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var l=new Blob([n],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(l),s&&URL.revokeObjectURL(s)}.bind(null,o,t),i=function(){g(o),o.href&&URL.revokeObjectURL(o.href)}):(o=m(t),n=function(e,t){var o=t.css,n=t.media;n&&e.setAttribute("media",n);if(e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}.bind(null,o),i=function(){g(o)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else i()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=l()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var o=f(e,t);return u(o,t),function(e){for(var n=[],i=0;i<o.length;i++){var l=o[i];(s=r[l.id]).refs--,n.push(s)}e&&u(f(e,t),t);for(i=0;i<n.length;i++){var s;if(0===(s=n[i]).refs){for(var a=0;a<s.parts.length;a++)s.parts[a]();delete r[s.id]}}}};var v,x=(v=[],function(e,t){return v[e]=t,v.filter(Boolean).join("\n")});function _(e,t,o,n){var i=o?"":n.css;if(e.styleSheet)e.styleSheet.cssText=x(t,i);else{var r=document.createTextNode(i),l=e.childNodes;l[t]&&e.removeChild(l[t]),l.length?e.insertBefore(r,l[t]):e.appendChild(r)}}},function(e,t,o){"use strict";var n=o(1);o.n(n).a},function(e,t,o){(e.exports=o(3)(!1)).push([e.i,".hlg-dialog{position:relative;margin:0 auto 50px;background:#fff;border-radius:6px;box-shadow:0 1px 3px rgba(0,0,0,0.3);box-sizing:border-box;max-width:100%;width:450px}.hlg-dialog-fullscreen{width:100%;margin-top:0;margin-bottom:0;height:100%;overflow:auto}.hlg-dialog__wrapper{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto;margin:0}.hlg-dialog__header{text-align:left}.hlg-dialog__headerbtn{position:absolute;top:20px;right:20px;padding:0;background:transparent;border:none;outline:none;cursor:pointer;font-size:16px}.hlg-dialog__headerbtn .hlg-dialog__close{color:#333}.hlg-dialog__headerbtn:focus .hlg-dialog__close,.hlg-dialog__headerbtn:hover .hlg-dialog__close{color:#45a3f8}.hlg-dialog__title{padding:32px 36px 0;margin-bottom:-16px;line-height:18px;font-size:18px;font-weight:bold;color:#333}.hlg-dialog__body{padding:40px 36px;color:#666;font-size:16px}.hlg-dialog__footer{display:flex;flex-direction:row;justify-content:flex-end;padding:12px 26px;border-top:1px solid #eff0f9;font-size:0}.hlg-dialog__footer .hlg-button{min-width:100px;font-size:14px}.hlg-dialog__footer .hlg-button+.hlg-button{margin-left:8px}.hlg-dialog--center{text-align:center}.dialog-fade-enter-active{animation:dialog-fade-in .3s}.dialog-fade-leave-active{animation:dialog-fade-out .3s}@keyframes dialog-fade-in{0%{transform:translate3d(0, -20px, 0);opacity:0}100%{transform:translate3d(0, 0, 0);opacity:1}}@keyframes dialog-fade-out{0%{transform:translate3d(0, 0, 0);opacity:1}100%{transform:translate3d(0, -20px, 0);opacity:0}}.v-modal{position:fixed;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,0.3)}.hlg-popup-parent--hidden{overflow:hidden}\n",""])},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var o=t.protocol+"//"+t.host,n=o+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var i,r=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(r)?e:(i=0===r.indexOf("//")?r:0===r.indexOf("/")?o+r:n+r.replace(/^\.\//,""),"url("+JSON.stringify(i)+")")})}},function(e,t,o){"use strict";var n=o(2);o.n(n).a},function(e,t,o){(e.exports=o(3)(!1)).push([e.i,".hlg-button{display:inline-block;border:1px solid #d3d4e2;border-radius:3px;color:#333;cursor:pointer;font-size:16px;line-height:34px;padding:0 16px;height:36px;min-width:44px;text-align:center;text-decoration:none;outline:0;transition:all 0.1s ease;box-sizing:border-box}.hlg-button:hover,.hlg-button:active{border-color:#404857;background:#404857;color:#fff}.hlg-button.is-disabled{border-color:#eff0f9;background:#f4f4f4;color:#999}.hlg-button--primary{background:#d92424;border-color:#d92424;color:#fff}.hlg-button--danger{background:#d92424;border-color:#d92424;color:#fff}.hlg-button--text{color:#45a3f8;border-color:transparent;background:transparent;padding-left:0;padding-right:0;font-size:14px}.hlg-button--text:hover,.hlg-button--text:active{border-color:transparent;background:transparent;color:#2b81ec}.hlg-button--text.is-disabled{border-color:transparent;background:transparent;color:#999}.hlg-button--large{height:48px;line-height:46px;padding-left:20px;padding-right:20px;min-width:120px;font-size:20px}.hlg-button--medium{height:40px;line-height:38px;padding-left:16px;padding-right:16px;font-size:16px}.hlg-button--small{font-size:14px}.hlg-button--mini{height:28px;line-height:26px;padding-left:12px;padding-right:12px;font-size:14px}\n",""])},function(e,t,o){"use strict";o.r(t);var n=o(0),i=o.n(n);const r=i.a.prototype.$isServer,l=/([:\-_]+(.))/g,s=/^moz([A-Z])/,a=r?0:Number(document.documentMode),d=function(e){return(e||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")},c=function(e){return e.replace(l,(e,t,o,n)=>n?o.toUpperCase():o).replace(s,"Moz$1")};!r&&document.addEventListener,!r&&document.removeEventListener;function p(e,t){if(!e||!t)return!1;if(-1!==t.indexOf(" "))throw new Error("className should not contain space.");return e.classList?e.classList.contains(t):` ${e.className} `.indexOf(` ${t} `)>-1}function u(e,t){if(!e)return;let o=e.className;const n=(t||"").split(" ");for(let t=0,i=n.length;t<i;t+=1){const i=n[t];i&&(e.classList?e.classList.add(i):p(e,i)||(o+=` ${i}`))}e.classList||(e.className=o)}function f(e,t){if(!e||!t)return;const o=t.split(" ");let n=` ${e.className} `;for(let t=0,i=o.length;t<i;t+=1){const i=o[t];i&&(e.classList?e.classList.remove(i):p(e,i)&&(n=n.replace(` ${i} `," ")))}e.classList||(e.className=d(n))}const h=a<9?function(e,t){if(!r){if(!e||!t)return null;"float"===(t=c(t))&&(t="styleFloat");try{switch(t){case"opacity":try{return e.filters.item("alpha").opacity/100}catch(e){return 1}default:return e.style[t]||e.currentStyle?e.currentStyle[t]:null}}catch(o){return e.style[t]}}}:function(e,t){if(!r){if(!e||!t)return null;"float"===(t=c(t))&&(t="cssFloat");try{const o=document.defaultView.getComputedStyle(e,"");return e.style[t]||o?o[t]:null}catch(o){return e.style[t]}}};let g=!1,m=!1,y=2e3,b=null;const v={},x={modalFade:!0,getInstance:e=>v[e],register(e,t){e&&t&&(v[e]=t)},deregister(e){e&&(v[e]=null,delete v[e])},nextZIndex:()=>(x.zIndex+=1,x.zIndex),modalStack:[],doOnModalClick(){const e=x.modalStack[x.modalStack.length-1];if(!e)return;const t=x.getInstance(e.id);t&&t.closeOnClickModal&&t.close()},openModal(e,t,o,n,r){if(i.a.prototype.$isServer)return;if(!e||void 0===t)return;this.modalFade=r;const l=this.modalStack;for(let t=0,o=l.length;t<o;t+=1){if(l[t].id===e)return}const s=b();if(u(s,"v-modal"),this.modalFade&&!g&&u(s,"v-modal-enter"),n){n.trim().split(/\s+/).forEach(e=>u(s,e))}setTimeout(()=>{f(s,"v-modal-enter")},200),o&&o.parentNode&&11!==o.parentNode.nodeType?o.parentNode.appendChild(s):document.body.appendChild(s),y&&(s.style.zIndex=y),s.tabIndex=0,s.style.display="",this.modalStack.push({id:e,zIndex:y,modalClass:n})},closeModal(e){const t=this.modalStack,o=b();if(t.length>0){const n=t[t.length-1];if(n.id===e){if(n.modalClass){n.modalClass.trim().split(/\s+/).forEach(e=>f(o,e))}t.pop(),t.length>0&&(o.style.zIndex=t[t.length-1].zIndex)}else for(let o=t.length-1;o>=0;o-=1)if(t[o].id===e){t.splice(o,1);break}}0===t.length&&(this.modalFade&&u(o,"v-modal-leave"),setTimeout(()=>{0===t.length&&(o.parentNode&&o.parentNode.removeChild(o),o.style.display="none",x.modalDom=void 0),f(o,"v-modal-leave")},200))}};b=function(){if(i.a.prototype.$isServer)return;let e=x.modalDom;return e?g=!0:(g=!1,e=document.createElement("div"),x.modalDom=e,e.addEventListener("touchmove",e=>{e.preventDefault(),e.stopPropagation()}),e.addEventListener("click",()=>{x.doOnModalClick&&x.doOnModalClick()})),e},Object.defineProperty(x,"zIndex",{configurable:!0,get:()=>(m||(y=(i.a.prototype.$ELEMENT||{}).zIndex||y,m=!0),y),set(e){y=e}});i.a.prototype.$isServer||window.addEventListener("keydown",e=>{if(27===e.keyCode){const e=function(){if(!i.a.prototype.$isServer&&x.modalStack.length>0){const e=x.modalStack[x.modalStack.length-1];if(!e)return;return x.getInstance(e.id)}}();e&&e.closeOnPressEscape&&(e.handleClose?e.handleClose():e.handleAction?e.handleAction("cancel"):e.close())}});var _=x;let w;let C,$=1;const S=function(e){return 3===e.nodeType&&(e=e.nextElementSibling||e.nextSibling,S(e)),e};var T={name:"HlgDialog",mixins:[{props:{visible:{type:Boolean,default:!1},openDelay:{},closeDelay:{},zIndex:{},modal:{type:Boolean,default:!1},modalFade:{type:Boolean,default:!0},modalClass:{},modalAppendToBody:{type:Boolean,default:!1},lockScroll:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!1},closeOnClickModal:{type:Boolean,default:!1}},beforeMount(){$+=1,this.$_popupId=`popup-${$}`,_.register(this.$_popupId,this)},beforeDestroy(){_.deregister(this.$_popupId),_.closeModal(this.$_popupId),this.restoreBodyStyle()},data:()=>({opened:!1,bodyPaddingRight:null,computedBodyPaddingRight:0,withoutHiddenClass:!0,rendered:!1}),watch:{visible(e){if(e){if(this.$_opening)return;this.rendered?this.open():(this.rendered=!0,i.a.nextTick(()=>{this.open()}))}else this.close()}},methods:{open(e){this.rendered||(this.rendered=!0);const t=function(e){for(let t=1,o=arguments.length;t<o;t+=1){const o=arguments[t]||{};for(const t in o)if(Object.prototype.hasOwnProperty.call(o,t)){const n=o[t];void 0!==n&&(e[t]=n)}}return e}({},this.$props||this,e);this.$_closeTimer&&(clearTimeout(this.$_closeTimer),this.$_closeTimer=null),clearTimeout(this.$_openTimer);const o=Number(t.openDelay);o>0?this.$_openTimer=setTimeout(()=>{this.$_openTimer=null,this.doOpen(t)},o):this.doOpen(t)},doOpen(e){if(this.$isServer)return;if(this.willOpen&&!this.willOpen())return;if(this.opened)return;this.$_opening=!0;const t=S(this.$el),o=e.modal,n=e.zIndex;if(n&&(_.zIndex=n),o&&(this.$_closing&&(_.closeModal(this.$_popupId),this.$_closing=!1),_.openModal(this.$_popupId,_.nextZIndex(),this.modalAppendToBody?void 0:t,e.modalClass,e.modalFade),e.lockScroll)){this.withoutHiddenClass=!p(document.body,"hlg-popup-parent--hidden"),this.withoutHiddenClass&&(this.bodyPaddingRight=document.body.style.paddingRight,this.computedBodyPaddingRight=parseInt(h(document.body,"paddingRight"),10)),C=function(){if(i.a.prototype.$isServer)return 0;if(void 0!==w)return w;const e=document.createElement("div");e.className="el-scrollbar__wrap",e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);const t=e.offsetWidth;e.style.overflow="scroll";const o=document.createElement("div");o.style.width="100%",e.appendChild(o);const n=o.offsetWidth;return e.parentNode.removeChild(e),w=t-n}();const e=document.documentElement.clientHeight<document.body.scrollHeight,t=h(document.body,"overflowY");C>0&&(e||"scroll"===t)&&this.withoutHiddenClass&&(document.body.style.paddingRight=`${this.computedBodyPaddingRight+C}px`),u(document.body,"hlg-popup-parent--hidden")}"static"===getComputedStyle(t).position&&(t.style.position="absolute"),t.style.zIndex=_.nextZIndex(),this.opened=!0,this.onOpen&&this.onOpen(),this.doAfterOpen()},doAfterOpen(){this.$_opening=!1},close(){if(this.willClose&&!this.willClose())return;null!==this.$_openTimer&&(clearTimeout(this.$_openTimer),this.$_openTimer=null),clearTimeout(this.$_closeTimer);const e=Number(this.closeDelay);e>0?this.$_closeTimer=setTimeout(()=>{this.$_closeTimer=null,this.doClose()},e):this.doClose()},doClose(){this.$_closing=!0,this.onClose&&this.onClose(),this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.doAfterClose()},doAfterClose(){_.closeModal(this.$_popupId),this.$_closing=!1},restoreBodyStyle(){this.modal&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.bodyPaddingRight,f(document.body,"hlg-popup-parent--hidden")),this.withoutHiddenClass=!0}}}],props:{visible:{type:Boolean,default:!1},title:{type:String,default:""},width:{type:String,default:""},padding:{type:String,default:""},fullscreen:Boolean,top:{type:String,default:"15vh"},modal:{type:Boolean,default:!0},modalAppendToBody:{type:Boolean,default:!0},appendToBody:{type:Boolean,default:!1},lockScroll:{type:Boolean,default:!0},customClass:{type:String,default:""},closeOnClickModal:{type:Boolean,default:!1},closeOnPressEscape:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},beforeClose:{type:Function,default:e=>e()},center:{type:Boolean,default:!1}},data:()=>({closed:!1,opened:!1,bodyPaddingRight:null,computedBodyPaddingRight:0,withoutHiddenClass:!0,rendered:!1}),computed:{style(){const e={};return this.fullscreen||(e.marginTop=this.top,this.width&&(e.width=this.width)),e}},watch:{visible(e){e?(this.closed=!1,this.$emit("open"),this.$el.addEventListener("scroll",this.updatePopper),this.$nextTick(()=>{this.$refs.dialog.scrollTop=0}),this.appendToBody&&document.body.appendChild(this.$el)):(this.$el.removeEventListener("scroll",this.updatePopper),this.closed||this.$emit("close"))}},mounted(){this.visible&&(this.rendered=!0,this.open(),this.appendToBody&&document.body.appendChild(this.$el))},destroyed(){this.appendToBody&&this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},methods:{getMigratingConfig:()=>({props:{size:"size is removed."}}),handleWrapperClick(){this.closeOnClickModal&&this.handleClose()},handleClose(){"function"==typeof this.beforeClose?this.beforeClose(this.hide):this.hide()},hide(e){!1!==e&&(this.$emit("update:visible",!1),this.$emit("close"),this.closed=!0)},updatePopper(){},afterEnter(){this.$emit("opened")},afterLeave(){this.$emit("closed")}}};o(5);function k(e,t,o,n,i,r,l,s){var a,d="function"==typeof e?e.options:e;if(t&&(d.render=t,d.staticRenderFns=o,d._compiled=!0),n&&(d.functional=!0),r&&(d._scopeId="data-v-"+r),l?(a=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(l)},d._ssrRegister=a):i&&(a=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),a)if(d.functional){d._injectStyles=a;var c=d.render;d.render=function(e,t){return a.call(t),c(e,t)}}else{var p=d.beforeCreate;d.beforeCreate=p?[].concat(p,a):[a]}return{exports:e,options:d}}var B=k(T,function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("Transition",{attrs:{name:"dialog-fade"},on:{"after-enter":e.afterEnter,"after-leave":e.afterLeave}},[o("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"hlg-dialog__wrapper",on:{click:function(t){return t.target!==t.currentTarget?null:e.handleWrapperClick(t)}}},[o("div",{ref:"dialog",staticClass:"hlg-dialog",class:[{"is-fullscreen":e.fullscreen,"hlg-dialog--center":e.center},e.customClass],style:e.style,attrs:{role:"dialog","aria-modal":"true","aria-label":e.title||"dialog"}},[o("div",{staticClass:"hlg-dialog__header"},[e.title||e.$slots.title?e._t("title",[o("div",{staticClass:"hlg-dialog__title"},[e._v(e._s(e.title))])]):e._e(),e.showClose?o("button",{staticClass:"hlg-dialog__headerbtn",attrs:{type:"button","aria-label":"Close"},on:{click:e.handleClose}},[o("i",{staticClass:"hlg-dialog__close"})]):e._e()],2),o("div",{staticClass:"hlg-dialog__body",style:e.padding?{padding:e.padding}:{}},[e._t("default")],2),e.$slots.footer?o("div",{staticClass:"hlg-dialog__footer"},[e._t("footer")],2):e._e()])])])},[],!1,null,null,null);B.options.__file="dialog.vue";var O=B.exports;O.install=function(e){e.component(O.name,O)};var I=O,E={name:"HlgButton",props:{type:{type:String,default:"default"},size:{type:String,default:""},icon:{type:String,default:""},width:{type:String,default:""},nativeType:{type:String,default:"button"},loading:Boolean,disabled:Boolean,round:Boolean,circle:Boolean},computed:{style(){const e={};return this.width&&(e.width=this.width),e}},methods:{onClickAction(e){this.$emit("click",e)}}},L=(o(8),k(E,function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("button",{staticClass:"hlg-button",class:[e.type?"hlg-button--"+e.type:"",e.size?"hlg-button--"+e.size:"",{"is-disabled":e.disabled}],style:e.style,attrs:{disabled:e.disabled||e.loading,type:e.nativeType},on:{click:e.onClickAction}},[e.$slots.default?o("span",[e._t("default")],2):e._e()])},[],!1,null,null,null));L.options.__file="button.vue";var z=L.exports;z.install=function(e){e.component(z.name,z)};var R=z;const M=[I,R],j=function(e,t={}){M.forEach(t=>{e.component(t.name,t)}),e.prototype.$HLGUI={size:t.size||"",zIndex:t.zIndex||2e3}};"undefined"!=typeof window&&window.Vue&&j(window.Vue);t.default={version:"0.0.1",install:j,Dialog:I,Button:R}}])});
/*! (c)2019 huanleguang.com */
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("vue")):"function"==typeof define&&define.amd?define("HLGUI",["vue"],e):"object"==typeof exports?exports.HLGUI=e(require("vue")):t.HLGUI=e(t.Vue)}(window,function(t){return function(t){var e={};function o(i){if(e[i])return e[i].exports;var n=e[i]={i:i,l:!1,exports:{}};return t[i].call(n.exports,n,n.exports,o),n.l=!0,n.exports}return o.m=t,o.c=e,o.d=function(t,e,i){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)o.d(i,n,function(e){return t[e]}.bind(null,n));return i},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=37)}([function(e,o){e.exports=t},function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var o=function(t,e){var o=t[1]||"",i=t[3];if(!i)return o;if(e&&"function"==typeof btoa){var n=(s=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(s))))+" */"),l=i.sources.map(function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"});return[o].concat(l).concat([n]).join("\n")}var s;return[o].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+o+"}":o}).join("")},e.i=function(t,o){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},n=0;n<this.length;n++){var l=this[n][0];"number"==typeof l&&(i[l]=!0)}for(n=0;n<t.length;n++){var s=t[n];"number"==typeof s[0]&&i[s[0]]||(o&&!s[2]?s[2]=o:o&&(s[2]="("+s[2]+") and ("+o+")"),e.push(s))}},e}},function(t,e,o){var i,n,l={},s=(i=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===n&&(n=i.apply(this,arguments)),n}),a=function(t){var e={};return function(t,o){if("function"==typeof t)return t();if(void 0===e[t]){var i=function(t,e){return e?e.querySelector(t):document.querySelector(t)}.call(this,t,o);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}}(),r=null,p=0,d=[],c=o(16);function h(t,e){for(var o=0;o<t.length;o++){var i=t[o],n=l[i.id];if(n){n.refs++;for(var s=0;s<n.parts.length;s++)n.parts[s](i.parts[s]);for(;s<i.parts.length;s++)n.parts.push(b(i.parts[s],e))}else{var a=[];for(s=0;s<i.parts.length;s++)a.push(b(i.parts[s],e));l[i.id]={id:i.id,refs:1,parts:a}}}}function u(t,e){for(var o=[],i={},n=0;n<t.length;n++){var l=t[n],s=e.base?l[0]+e.base:l[0],a={css:l[1],media:l[2],sourceMap:l[3]};i[s]?i[s].parts.push(a):o.push(i[s]={id:s,parts:[a]})}return o}function f(t,e){var o=a(t.insertInto);if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var i=d[d.length-1];if("top"===t.insertAt)i?i.nextSibling?o.insertBefore(e,i.nextSibling):o.appendChild(e):o.insertBefore(e,o.firstChild),d.push(e);else if("bottom"===t.insertAt)o.appendChild(e);else{if("object"!=typeof t.insertAt||!t.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var n=a(t.insertAt.before,o);o.insertBefore(e,n)}}function g(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=d.indexOf(t);e>=0&&d.splice(e,1)}function m(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var i=function(){0;return o.nc}();i&&(t.attrs.nonce=i)}return v(e,t.attrs),f(t,e),e}function v(t,e){Object.keys(e).forEach(function(o){t.setAttribute(o,e[o])})}function b(t,e){var o,i,n,l;if(e.transform&&t.css){if(!(l="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=l}if(e.singleton){var s=p++;o=r||(r=m(e)),i=w.bind(null,o,s,!1),n=w.bind(null,o,s,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(o=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",v(e,t.attrs),f(t,e),e}(e),i=function(t,e,o){var i=o.css,n=o.sourceMap,l=void 0===e.convertToAbsoluteUrls&&n;(e.convertToAbsoluteUrls||l)&&(i=c(i));n&&(i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var s=new Blob([i],{type:"text/css"}),a=t.href;t.href=URL.createObjectURL(s),a&&URL.revokeObjectURL(a)}.bind(null,o,e),n=function(){g(o),o.href&&URL.revokeObjectURL(o.href)}):(o=m(e),i=function(t,e){var o=e.css,i=e.media;i&&t.setAttribute("media",i);if(t.styleSheet)t.styleSheet.cssText=o;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(o))}}.bind(null,o),n=function(){g(o)});return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else n()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=s()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var o=u(t,e);return h(o,e),function(t){for(var i=[],n=0;n<o.length;n++){var s=o[n];(a=l[s.id]).refs--,i.push(a)}t&&h(u(t,e),e);for(n=0;n<i.length;n++){var a;if(0===(a=i[n]).refs){for(var r=0;r<a.parts.length;r++)a.parts[r]();delete l[a.id]}}}};var x,y=(x=[],function(t,e){return x[t]=e,x.filter(Boolean).join("\n")});function w(t,e,o,i){var n=o?"":i.css;if(t.styleSheet)t.styleSheet.cssText=y(e,n);else{var l=document.createTextNode(n),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(l,s[e]):t.appendChild(l)}}},function(t,e,o){var i=o(15);"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};o(2)(i,n);i.locals&&(t.exports=i.locals)},function(t,e,o){var i=o(18);"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};o(2)(i,n);i.locals&&(t.exports=i.locals)},function(t,e,o){var i=o(20);"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};o(2)(i,n);i.locals&&(t.exports=i.locals)},function(t,e,o){var i=o(23);"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};o(2)(i,n);i.locals&&(t.exports=i.locals)},function(t,e,o){var i=o(26);"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};o(2)(i,n);i.locals&&(t.exports=i.locals)},function(t,e,o){var i=o(28);"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};o(2)(i,n);i.locals&&(t.exports=i.locals)},function(t,e,o){var i=o(30);"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};o(2)(i,n);i.locals&&(t.exports=i.locals)},function(t,e,o){var i=o(32);"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};o(2)(i,n);i.locals&&(t.exports=i.locals)},function(t,e,o){var i=o(34);"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};o(2)(i,n);i.locals&&(t.exports=i.locals)},function(t,e,o){var i=o(36);"string"==typeof i&&(i=[[t.i,i,""]]);var n={hmr:!0,transform:void 0,insertInto:void 0};o(2)(i,n);i.locals&&(t.exports=i.locals)},function(t,e){t.exports=function(t){return"string"!=typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),/["'() \t\n]/.test(t)?'"'+t.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':t)}},function(t,e,o){"use strict";var i=o(3);o.n(i).a},function(t,e,o){(t.exports=o(1)(!1)).push([t.i,".hlg-dialog{position:relative;margin:0 auto 50px;background:#fff;border-radius:6px;box-shadow:0 1px 3px rgba(0,0,0,0.3);box-sizing:border-box;max-width:100%;width:450px}.hlg-dialog-fullscreen{width:100%;margin-top:0;margin-bottom:0;height:100%;overflow:auto}.hlg-dialog__wrapper{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto;margin:0}.hlg-dialog__header{text-align:left}.hlg-dialog__headerbtn{position:absolute;top:20px;right:20px;padding:0;background:transparent;border:none;outline:none;cursor:pointer;font-size:16px}.hlg-dialog__headerbtn .hlg-dialog__close{color:#333}.hlg-dialog__headerbtn:focus .hlg-dialog__close,.hlg-dialog__headerbtn:hover .hlg-dialog__close{color:#45a3f8}.hlg-dialog__title{padding:32px 36px 0;margin-bottom:-16px;line-height:18px;font-size:18px;font-weight:bold;color:#333}.hlg-dialog__body{padding:40px 36px;color:#666;font-size:16px}.hlg-dialog__footer{display:flex;flex-direction:row;justify-content:flex-end;padding:12px 26px;border-top:1px solid #eff0f9;font-size:0}.hlg-dialog__footer .hlg-button{min-width:100px;font-size:14px}.hlg-dialog__footer .hlg-button+.hlg-button{margin-left:8px}.hlg-dialog--center{text-align:center}.dialog-fade-enter-active{animation:dialog-fade-in .3s}.dialog-fade-leave-active{animation:dialog-fade-out .3s}@keyframes dialog-fade-in{0%{transform:translate3d(0, -20px, 0);opacity:0}100%{transform:translate3d(0, 0, 0);opacity:1}}@keyframes dialog-fade-out{0%{transform:translate3d(0, 0, 0);opacity:1}100%{transform:translate3d(0, -20px, 0);opacity:0}}@keyframes hlg-mask-in{0%{opacity:0}100%{}}@keyframes hlg-mask-out{0%{}100%{opacity:0}}.hlg-mask{position:fixed;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,0.3)}.hlg-mask-enter{animation:hlg-mask-in .2s ease}.hlg-mask-leave{animation:hlg-mask-out .2s ease forwards}.hlg-popup-parent--hidden{overflow:hidden}\n",""])},function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var o=e.protocol+"//"+e.host,i=o+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,e){var n,l=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(l)?t:(n=0===l.indexOf("//")?l:0===l.indexOf("/")?o+l:i+l.replace(/^\.\//,""),"url("+JSON.stringify(n)+")")})}},function(t,e,o){"use strict";var i=o(4);o.n(i).a},function(t,e,o){(t.exports=o(1)(!1)).push([t.i,".hlg-button{display:inline-block;border:1px solid #d3d4e2;border-radius:3px;color:#333;cursor:pointer;font-size:16px;line-height:34px;padding:0 16px;height:36px;min-width:44px;text-align:center;text-decoration:none;outline:0;transition:all 0.1s ease;box-sizing:border-box}.hlg-button:hover,.hlg-button:active{border-color:#404857;background:#404857;color:#fff}.hlg-button.is-disabled{border-color:#eff0f9;background:#f4f4f4;color:#999}.hlg-button--primary{background:#d92424;border-color:#d92424;color:#fff}.hlg-button--danger{background:#d92424;border-color:#d92424;color:#fff}.hlg-button--text{color:#45a3f8;border-color:transparent;background:transparent;padding-left:0;padding-right:0;font-size:14px}.hlg-button--text:hover,.hlg-button--text:active{border-color:transparent;background:transparent;color:#2b81ec}.hlg-button--text.is-disabled{border-color:transparent;background:transparent;color:#999}.hlg-button--large{height:48px;line-height:46px;padding-left:20px;padding-right:20px;min-width:120px;font-size:20px}.hlg-button--medium{height:40px;line-height:38px;padding-left:16px;padding-right:16px;font-size:16px}.hlg-button--small{font-size:14px}.hlg-button--mini{height:28px;line-height:26px;padding-left:12px;padding-right:12px;font-size:14px}\n",""])},function(t,e,o){"use strict";var i=o(5);o.n(i).a},function(t,e,o){var i=o(13);(t.exports=o(1)(!1)).push([t.i,"@keyframes alert-fade{0%{transform:scaleY(1);opacity:1}100%{transform:scaleY(0);opacity:0}}.alert-fade-leave-active{transition:opacity .3s ease;opacity:0}.hlg-alert{position:relative;font-size:14px;line-height:22px;padding:8px 12px;color:#fd8300}.hlg-alert.info{color:#2b81ec;background-color:#f2fafe}.hlg-alert.warning{color:#fd8300;background-color:#fff2d8}.hlg-alert.success{color:#58c227;background-color:#edfce6}.hlg-alert.error{color:#d62620;background-color:#ffecec}.hlg-alert .title{display:flex;align-items:center;align-content:center}.hlg-alert .icon{flex-basis:14px;width:14px;height:14px;background-image:url("+i(o(21))+");background-size:100% 100%}.hlg-alert .text{margin-left:4px;flex:1}.hlg-alert .desc{margin-left:18px}.hlg-alert .btn-close{position:absolute;top:10px;right:12px;line-height:1;font-size:16px;cursor:pointer;user-select:none;transition:opacity .3s ease}.hlg-alert .btn-close:hover{opacity:.6}\n",""])},function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAFt0lEQVRogc3aW6hd1RUG4C87WiVGEhKDRovYNOZ4TWpPrBppK9Rio/HFe2t9UEGhtkK9V/pQKqi0Fl+agEJLQW0xxguiKVIlUdE2wqlRbDUaBVtRi/USjCEoGh/G3DnrzLX2Xmvvs46eH0L2GXPNMf9/rXkZc8w547wnRrSIJfguvpF+fx37Yd9U/iH+j1fxMjbj8fS7FezRgo+jcSHOxME1z+6b/n0NJxfs/8G9+BOenwyZzpD1ZuBUPJUI/Fy9mH44OPl4Lvk8LbUxMIYRNIqn8TBWDNNoDVbgodTG6KCVB+lye+MmXK7/i/hMfLV/ibHxNranstk4QIyvI7G0j6/j8Qx+j2uxswnJpoIOxVox2KvwCdbjz3gM7zb0Ox/fw49EF94zK++IF/gdnINX6hzOaDDLnSC6wLyKsu24HbfgrTpHNViIq3CJ+JI53sMq/L2fk7oxtBKPqhazFiO40uTFSD6uTD7XVpTPS1xW9nPST9BxWIdZmf0DnI1z8WZDsoPgzeT7rNRWEbMSp+N6Ve4laLGYxXIxL4qZZ90wTAfEvamtf2f2WWK8HlpVqUrQXuKTz8/sY/g2XpsUzcHwmpgQxjL7PNwtuE5AlaDf4JjMtlX03aazV5t4N7W9NbMfI7hOQC5oFJdltm3J4TstERwG7yQO+Zi6TLb4FgXNwBrMzCpdpPx2vgxsxcWZbaZYeHeHSUVBp+JbWYW7cN9UsBsS9+HOzHa84I6Jgn6RPfiRWOimG642Hkp1cX33R1fQUpyYPXSbiMOmG94W0UkRK7CMcUEXZA98IsKZLwrLxdryDG7AV2qev0VwLOICxgX9MCv8q3bCmSZYjr+JWexY/BK/rqnzluBYxLmEoKNwUFZ416RpNkNXzNzMvqpB3ZzjV7Gkozx2PsUjQ9EbDL3EEHmHOjwiuBZxUgffzIzPi8V0KtFPzA78qoGPbWLLXsSyDg7LjHkwWIe5IrvTFHViTsPGhr5ezP4e6SgnN7YMQO4mEWttFS9iYc3zbYqBl7K/F3WUo+om/ZeY+68zPlMejg16i2pbDOVgeUHHeBKwi6bj58gK24hqUVMhhjLX2cPm5eCf2FVhz0VNlZgqfNwR6dki5jSsPIaf6i/qdFMrJuf64R6iHxa73X4DOFyT/p8QwieM4MEe9dr6Mvn439YReeWcyCBYo/eXqkKb3Sxfct7oKE99RwzhuKmotsfM4dnfL3XE4C5iqebjqIg6UTvERmzjEL6rMEfaMhQw1hHZ/iJm4pQhG+mK+iyzd8U8PqTfKpyinC7Y2MELygnD8yfR0Bqxlb9f7CzH8H3tiqHM8Q283F2H/pIVrlQfxvTDGM4Qs+dycTTSJhYqp4TvZjxsuSMr3NP0zCd0cZXyScUdjAt6TvktXirOcqYbDhAnFEU8LW0liqHPjdlD+/hi8wpN8Vvl45bd3IuCukmKIs4XY2G64Az8OLP9Q3DHREG78BPlbe0fxWnEl43F+ENm+1S29uXR9hhWZ7Y5IsOyoGWCg2BB4pAHuatlJxNV24dr8WxmW5wcVp3kTTXmpbbzXvKs4DoBVYJ2ihzX+5l9FE9i0eQ5NsYiPKF8vP8BzlNxMt5rg/eKWLh2ZPYjxCc+a1I0m+HM1Fa+M96BH+hxnabfjnWTOEvN38Jc3CNW5gOHYVqDA5PvdcpjZmfitKlX5bot+HoRVObdj7g3sAW/M7kwqYuFydeW5DvH+4nL+oqy3WiSU9ggTp03V5TNxhV4HQ8kIvkush/mpzoPJB9XqL6jsDlx2FDnsMnFiy72xs34mcGuxvxPnDUR0cf+ml2N6fpajWs0vBoziKAuRlMjPe8KtIRN4gw1PwHvi2HSWGPiuswq7W8LJJ+rUhsDiWH4+3K7xMWME0W3uVU52TII/pt8LEs+H9Y86TIBw3S5fliCk4xf0TxErPTdgb5dXEJ6Xcxmm0WOobUrmp8DFGE11VXvmW4AAAAASUVORK5CYII="},function(t,e,o){"use strict";var i=o(6);o.n(i).a},function(t,e,o){var i=o(13);(t.exports=o(1)(!1)).push([t.i,".hlg-info{position:relative;display:inline-flex;align-items:center;font-size:14px;height:22px;line-height:22px;color:#fd8300}.hlg-info.info{color:#2b81ec}.hlg-info.warning{color:#fd8300}.hlg-info.success{color:#58c227}.hlg-info.error{color:#d62620}.hlg-info.warm{color:#fd8300}.hlg-info.help{color:#2b81ec}.hlg-info .icon{width:14px;height:14px;background-image:url("+i(o(24))+");background-size:100% 100%}.hlg-info .text{margin-left:4px}\n",""])},function(t,e){t.exports="data:image/png;base64,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"},function(t,e,o){"use strict";var i=o(7);o.n(i).a},function(t,e,o){(t.exports=o(1)(!1)).push([t.i,".tooltip-fade-enter-active{animation:tooltip-fade .3s ease}.tooltip-fade-leave-active{animation:tooltip-fade .3s ease reverse}@keyframes tooltip-fade{0%{opacity:0}100%{opacity:1}}.hlg-tooltip{position:relative;display:inline-block}.hlg-tooltip .pop-up{z-index:1020;position:absolute;min-width:175px;font-size:14px;line-height:1.3;color:#999}.hlg-tooltip .pop-up .pop-up-content{position:relative;padding:12px;border:1px solid #d3d4e2;border-radius:2px;background-color:#fff;box-shadow:0 3px 8px 0 rgba(0,0,0,0.1)}.hlg-tooltip .pop-up.top,.hlg-tooltip .pop-up.topLeft,.hlg-tooltip .pop-up.topRight{padding-bottom:10px;bottom:calc(100% + -1px)}.hlg-tooltip .pop-up.top .arrow,.hlg-tooltip .pop-up.topLeft .arrow,.hlg-tooltip .pop-up.topRight .arrow{bottom:-7px;transform:rotate(180deg)}.hlg-tooltip .pop-up.top{left:50%;transform:translateX(-50%)}.hlg-tooltip .pop-up.top .arrow{left:calc(50% - 7px)}.hlg-tooltip .pop-up.topLeft{left:0}.hlg-tooltip .pop-up.topLeft .arrow{left:24px}.hlg-tooltip .pop-up.topRight{right:0}.hlg-tooltip .pop-up.topRight .arrow{right:24px}.hlg-tooltip .pop-up.bottom,.hlg-tooltip .pop-up.bottomLeft,.hlg-tooltip .pop-up.bottomRight{padding-top:10px;top:calc(100% + -1px)}.hlg-tooltip .pop-up.bottom .arrow,.hlg-tooltip .pop-up.bottomLeft .arrow,.hlg-tooltip .pop-up.bottomRight .arrow{top:-7px;transform:rotate(0deg)}.hlg-tooltip .pop-up.bottom{left:50%;transform:translateX(-50%)}.hlg-tooltip .pop-up.bottom .arrow{left:calc(50% - 7px)}.hlg-tooltip .pop-up.bottomLeft{left:0}.hlg-tooltip .pop-up.bottomLeft .arrow{left:24px}.hlg-tooltip .pop-up.bottomRight{right:0}.hlg-tooltip .pop-up.bottomRight .arrow{right:24px}.hlg-tooltip .pop-up.left,.hlg-tooltip .pop-up.leftTop,.hlg-tooltip .pop-up.leftBottom{padding-right:10px;right:calc(100% + -1px)}.hlg-tooltip .pop-up.left .arrow,.hlg-tooltip .pop-up.leftTop .arrow,.hlg-tooltip .pop-up.leftBottom .arrow{right:-10px;transform:rotate(90deg)}.hlg-tooltip .pop-up.left{top:50%;transform:translateY(-50%)}.hlg-tooltip .pop-up.left .arrow{bottom:calc(50% - 5px)}.hlg-tooltip .pop-up.leftTop{top:0}.hlg-tooltip .pop-up.leftTop .arrow{top:24px}.hlg-tooltip .pop-up.leftBottom{bottom:0}.hlg-tooltip .pop-up.leftBottom .arrow{bottom:24px}.hlg-tooltip .pop-up.right,.hlg-tooltip .pop-up.rightTop,.hlg-tooltip .pop-up.rightBottom{padding-left:10px;left:calc(100% + -1px)}.hlg-tooltip .pop-up.right .arrow,.hlg-tooltip .pop-up.rightTop .arrow,.hlg-tooltip .pop-up.rightBottom .arrow{left:-10px;transform:rotate(-90deg)}.hlg-tooltip .pop-up.right{top:50%;transform:translateY(-50%)}.hlg-tooltip .pop-up.right .arrow{bottom:calc(50% - 5px)}.hlg-tooltip .pop-up.rightTop{top:0}.hlg-tooltip .pop-up.rightTop .arrow{top:24px}.hlg-tooltip .pop-up.rightBottom{bottom:0}.hlg-tooltip .pop-up.rightBottom .arrow{bottom:24px}.hlg-tooltip .pop-up .arrow{position:absolute;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #d3d4e2;transform-origin:50% 50%}.hlg-tooltip .pop-up .arrow:before{position:absolute;top:1px;left:-6px;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff;content:''}\n",""])},function(t,e,o){"use strict";var i=o(8);o.n(i).a},function(t,e,o){(t.exports=o(1)(!1)).push([t.i,".hlg-message{position:fixed;top:50%;left:50%;transition:opacity 0.25s, transform 0.25s;overflow:hidden;display:flex;align-items:center;transform:translate(-50%, -50%);box-shadow:0 2px 15px rgba(153,153,153,0.75);padding:28px 64px;font-size:16px}.hlg-message--success{background:#58c227;color:#fff}.hlg-message--info{background:#fff;color:#333}.hlg-message--warning{background:#fd8300;color:#fff}.hlg-message--error{background:#d62620;color:#fff}.hlg-message-fade-enter,.hlg-message-fade-leave-active{opacity:0;transform:translate(-50%, -150%)}.hlg-message-fade-leave-active{transition:opacity 0.5s, transform 0.5s}.hlg-message__icon{height:16px;width:16px;margin-right:4px;background:#999999}.hlg-message__close{position:absolute;top:8px;right:8px;width:16px;height:16px;background:#999999;cursor:pointer}.hlg-message p{margin:0}\n",""])},function(t,e,o){"use strict";var i=o(9);o.n(i).a},function(t,e,o){(t.exports=o(1)(!1)).push([t.i,".hlg-modal{position:relative;margin:0 auto 50px;background:#fff;border-radius:6px;box-shadow:0 1px 3px rgba(0,0,0,0.3);box-sizing:border-box;max-width:100%;width:450px}.hlg-modal__wrapper{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto;margin:0}.hlg-modal__header{text-align:left}.hlg-modal__headerbtn{position:absolute;top:20px;right:20px;padding:0;background:transparent;border:none;outline:none;cursor:pointer;font-size:16px}.hlg-modal__headerbtn .hlg-dialog__close{color:#333}.hlg-modal__headerbtn:focus .hlg-dialog__close,.hlg-modal__headerbtn:hover .hlg-dialog__close{color:#45a3f8}.hlg-modal__title{padding:32px 36px 0;margin-bottom:-16px;line-height:18px;font-size:18px;font-weight:bold;color:#333}.hlg-modal__body{padding:40px 36px;color:#666;font-size:16px}.hlg-modal__btns{display:flex;flex-direction:row;justify-content:flex-end;padding:12px 26px;border-top:1px solid #eff0f9;font-size:0}.hlg-modal__btns .hlg-button{min-width:100px;font-size:14px}.hlg-modal__btns .hlg-button+.hlg-button{margin-left:8px}.modal-fade-enter-active{animation:modal-fade-in .3s}.modal-fade-leave-active{animation:modal-fade-out .3s}@keyframes modal-fade-in{0%{transform:translate3d(0, -20px, 0);opacity:0}100%{transform:translate3d(0, 0, 0);opacity:1}}@keyframes modal-fade-out{0%{transform:translate3d(0, 0, 0);opacity:1}100%{transform:translate3d(0, -20px, 0);opacity:0}}\n",""])},function(t,e,o){"use strict";var i=o(10);o.n(i).a},function(t,e,o){(t.exports=o(1)(!1)).push([t.i,".hlg-collapse{border-top:1px solid #eff0f9;border-bottom:1px solid #eff0f9}\n",""])},function(t,e,o){"use strict";var i=o(11);o.n(i).a},function(t,e,o){(t.exports=o(1)(!1)).push([t.i,".hlg-collapse-item__header{display:flex;align-items:center;height:48px;line-height:48px;background:#ffffff;color:#000;cursor:pointer;border-bottom:1px solid #eff0f9;font-size:13px;transition:border-bottom-color .3s;outline:none}.hlg-collapse-item__header.is-active{border-bottom-color:transparent}.hlg-collapse-item__arrow{margin:0 8px 0 auto;transition:transform .3s;font-weight:300}.hlg-collapse-item__arrow.is-active{transform:rotate(90deg)}.hlg-collapse-item__wrap{will-change:height;overflow:hidden;box-sizing:border-box;background:#ffffff;border-bottom:1px solid #eff0f9}.hlg-collapse-item__content{padding-bottom:25px;font-size:12px;color:#333;line-height:1.769230769230769}.hlg-collapse-item:last-child{margin-bottom:-1px}.collapse-transition{transition:0.3s height ease-in-out, 0.3s padding-top ease-in-out, 0.3s padding-bottom ease-in-out}.horizontal-collapse-transition{transition:0.3s width ease-in-out, 0.3s padding-left ease-in-out, 0.3s padding-right ease-in-out}\n",""])},function(t,e,o){"use strict";var i=o(12);o.n(i).a},function(t,e,o){(t.exports=o(1)(!1)).push([t.i,".hlg-input{display:inline-flex;border:1px solid #d3d4e2;height:34px;line-height:32px;box-sizing:border-box;font-size:14px;border-radius:2px}.hlg-input--large{height:48px;line-height:46px}.hlg-input--small{height:20px;line-height:18px;font-size:12px}.hlg-input--small .hlg-input__inner{padding:0 8px}.hlg-input__inner{border:0;padding:0 12px;color:#333;outline:0;flex:1;background:transparent}.hlg-input--hover,.hlg-input--focus{border-color:#444b58}.hlg-input--disabled{background:#f4f4f4;border-color:#eff0f9}.hlg-input--disabled .hlg-input__inner{color:#999}.hlg-input--error{border-color:#d62620}.hlg-input--error .hlg-input__inner{color:#d62620}.hlg-input-group{height:48px;line-height:46px}.hlg-input-group .hlg-input__inner{padding:0 8px;flex:1;width:60px}.hlg-input-group__prepend{width:24px;text-align:right;color:#999}.hlg-input-group__append{width:24px;color:#999}.hlg-textarea{display:inline-flex;border:1px solid #d3d4e2;box-sizing:border-box}.hlg-textarea__inner{border:0;padding:12px;color:#333;outline:0;flex:1;background:transparent}\n",""])},function(t,e,o){"use strict";o.r(e);var i=o(0),n=o.n(i);let l;const s=n.a.prototype.$isServer,a=/([:\-_]+(.))/g,r=/^moz([A-Z])/,p=s?0:Number(document.documentMode),d=function(t){return(t||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")},c=function(t){return t.replace(a,(t,e,o,i)=>i?o.toUpperCase():o).replace(r,"Moz$1")};!s&&document.addEventListener,!s&&document.removeEventListener;function h(t,e){if(!t||!e)return!1;if(-1!==e.indexOf(" "))throw new Error("className should not contain space.");return t.classList?t.classList.contains(e):` ${t.className} `.indexOf(` ${e} `)>-1}function u(t,e){if(!t)return;let o=t.className;const i=(e||"").split(" ");for(let e=0,n=i.length;e<n;e+=1){const n=i[e];n&&(t.classList?t.classList.add(n):h(t,n)||(o+=` ${n}`))}t.classList||(t.className=o)}function f(t,e){if(!t||!e)return;const o=e.split(" ");let i=` ${t.className} `;for(let e=0,n=o.length;e<n;e+=1){const n=o[e];n&&(t.classList?t.classList.remove(n):h(t,n)&&(i=i.replace(` ${n} `," ")))}t.classList||(t.className=d(i))}const g=p<9?function(t,e){if(!s){if(!t||!e)return null;"float"===(e=c(e))&&(e="styleFloat");try{switch(e){case"opacity":try{return t.filters.item("alpha").opacity/100}catch(t){return 1}default:return t.style[e]||t.currentStyle?t.currentStyle[e]:null}}catch(o){return t.style[e]}}}:function(t,e){if(!s){if(!t||!e)return null;"float"===(e=c(e))&&(e="cssFloat");try{const o=document.defaultView.getComputedStyle(t,"");return t.style[e]||o?o[e]:null}catch(o){return t.style[e]}}};let m=!1,v=!1,b=2e3,x=null;const y={},w={modalFade:!0,getInstance:t=>y[t],register(t,e){t&&e&&(y[t]=e)},deregister(t){t&&(y[t]=null,delete y[t])},nextZIndex:()=>(w.zIndex+=1,w.zIndex),modalStack:[],doOnModalClick(){const t=w.modalStack[w.modalStack.length-1];if(!t)return;const e=w.getInstance(t.id);e&&e.closeOnClickModal&&e.close()},openModal(t,e,o,i,l){if(n.a.prototype.$isServer)return;if(!t||void 0===e)return;this.modalFade=l;const s=this.modalStack;for(let e=0,o=s.length;e<o;e+=1){if(s[e].id===t)return}const a=x();if(u(a,"hlg-mask"),this.modalFade&&!m&&u(a,"hlg-mask-enter"),i){i.trim().split(/\s+/).forEach(t=>u(a,t))}setTimeout(()=>{f(a,"hlg-mask-enter")},200),o&&o.parentNode&&11!==o.parentNode.nodeType?o.parentNode.appendChild(a):document.body.appendChild(a),b&&(a.style.zIndex=b),a.tabIndex=0,a.style.display="",this.modalStack.push({id:t,zIndex:b,modalClass:i})},closeModal(t){const e=this.modalStack,o=x();if(e.length>0){const i=e[e.length-1];if(i.id===t){if(i.modalClass){i.modalClass.trim().split(/\s+/).forEach(t=>f(o,t))}e.pop(),e.length>0&&(o.style.zIndex=e[e.length-1].zIndex)}else for(let o=e.length-1;o>=0;o-=1)if(e[o].id===t){e.splice(o,1);break}}0===e.length&&(this.modalFade&&u(o,"hlg-mask-leave"),setTimeout(()=>{0===e.length&&(o.parentNode&&o.parentNode.removeChild(o),o.style.display="none",w.modalDom=void 0),f(o,"hlg-mask-leave")},200))}};x=function(){if(n.a.prototype.$isServer)return;let t=w.modalDom;return t?m=!0:(m=!1,t=document.createElement("div"),w.modalDom=t,t.addEventListener("touchmove",t=>{t.preventDefault(),t.stopPropagation()}),t.addEventListener("click",()=>{w.doOnModalClick&&w.doOnModalClick()})),t},Object.defineProperty(w,"zIndex",{configurable:!0,get:()=>(v||(b=(n.a.prototype.$ELEMENT||{}).zIndex||b,v=!0),b),set(t){b=t}});n.a.prototype.$isServer||window.addEventListener("keydown",t=>{if(27===t.keyCode){const t=function(){if(!n.a.prototype.$isServer&&w.modalStack.length>0){const t=w.modalStack[w.modalStack.length-1];if(!t)return;return w.getInstance(t.id)}}();t&&t.closeOnPressEscape&&(t.handleClose?t.handleClose():t.handleAction?t.handleAction("cancel"):t.close())}});var _=w;let C,k=1;const T=function(t){return 3===t.nodeType&&(t=t.nextElementSibling||t.nextSibling,T(t)),t};var B={props:{visible:{type:Boolean,default:!1},openDelay:{},closeDelay:{},zIndex:{},modal:{type:Boolean,default:!1},modalFade:{type:Boolean,default:!0},modalClass:{},modalAppendToBody:{type:Boolean,default:!1},lockScroll:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!1},closeOnClickModal:{type:Boolean,default:!1}},beforeMount(){k+=1,this.$_popupId=`popup-${k}`,_.register(this.$_popupId,this)},beforeDestroy(){_.deregister(this.$_popupId),_.closeModal(this.$_popupId),this.restoreBodyStyle()},data:()=>({opened:!1,bodyPaddingRight:null,computedBodyPaddingRight:0,withoutHiddenClass:!0,rendered:!1}),watch:{visible(t){if(t){if(this.$_opening)return;this.rendered?this.open():(this.rendered=!0,n.a.nextTick(()=>{this.open()}))}else this.close()}},methods:{open(t){this.rendered||(this.rendered=!0);const e=function(t){for(let e=1,o=arguments.length;e<o;e+=1){const o=arguments[e]||{};for(const e in o)if(Object.prototype.hasOwnProperty.call(o,e)){const i=o[e];void 0!==i&&(t[e]=i)}}return t}({},this.$props||this,t);this.$_closeTimer&&(clearTimeout(this.$_closeTimer),this.$_closeTimer=null),clearTimeout(this.$_openTimer);const o=Number(e.openDelay);o>0?this.$_openTimer=setTimeout(()=>{this.$_openTimer=null,this.doOpen(e)},o):this.doOpen(e)},doOpen(t){if(this.$isServer)return;if(this.willOpen&&!this.willOpen())return;if(this.opened)return;this.$_opening=!0;const e=T(this.$el),o=t.modal,i=t.zIndex;if(i&&(_.zIndex=i),o&&(this.$_closing&&(_.closeModal(this.$_popupId),this.$_closing=!1),_.openModal(this.$_popupId,_.nextZIndex(),this.modalAppendToBody?void 0:e,t.modalClass,t.modalFade),t.lockScroll)){this.withoutHiddenClass=!h(document.body,"hlg-popup-parent--hidden"),this.withoutHiddenClass&&(this.bodyPaddingRight=document.body.style.paddingRight,this.computedBodyPaddingRight=parseInt(g(document.body,"paddingRight"),10)),C=function(){if(n.a.prototype.$isServer)return 0;if(void 0!==l)return l;const t=document.createElement("div");t.className="el-scrollbar__wrap",t.style.visibility="hidden",t.style.width="100px",t.style.position="absolute",t.style.top="-9999px",document.body.appendChild(t);const e=t.offsetWidth;t.style.overflow="scroll";const o=document.createElement("div");o.style.width="100%",t.appendChild(o);const i=o.offsetWidth;return t.parentNode.removeChild(t),l=e-i}();const t=document.documentElement.clientHeight<document.body.scrollHeight,e=g(document.body,"overflowY");C>0&&(t||"scroll"===e)&&this.withoutHiddenClass&&(document.body.style.paddingRight=`${this.computedBodyPaddingRight+C}px`),u(document.body,"hlg-popup-parent--hidden")}"static"===getComputedStyle(e).position&&(e.style.position="absolute"),e.style.zIndex=_.nextZIndex(),this.opened=!0,this.onOpen&&this.onOpen(),this.doAfterOpen()},doAfterOpen(){this.$_opening=!1},close(){if(this.willClose&&!this.willClose())return;null!==this.$_openTimer&&(clearTimeout(this.$_openTimer),this.$_openTimer=null),clearTimeout(this.$_closeTimer);const t=Number(this.closeDelay);t>0?this.$_closeTimer=setTimeout(()=>{this.$_closeTimer=null,this.doClose()},t):this.doClose()},doClose(){this.$_closing=!0,this.onClose&&this.onClose(),this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.doAfterClose()},doAfterClose(){_.closeModal(this.$_popupId),this.$_closing=!1},restoreBodyStyle(){this.modal&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.bodyPaddingRight,f(document.body,"hlg-popup-parent--hidden")),this.withoutHiddenClass=!0}}},S={name:"HlgDialog",mixins:[B],props:{visible:{type:Boolean,default:!1},title:{type:String,default:""},width:{type:String,default:""},padding:{type:String,default:""},fullscreen:Boolean,top:{type:String,default:"15vh"},modal:{type:Boolean,default:!0},modalAppendToBody:{type:Boolean,default:!0},appendToBody:{type:Boolean,default:!1},lockScroll:{type:Boolean,default:!0},customClass:{type:String,default:""},closeOnClickModal:{type:Boolean,default:!1},closeOnPressEscape:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},beforeClose:{type:Function,default:t=>t()},center:{type:Boolean,default:!1}},data:()=>({closed:!1,opened:!1,bodyPaddingRight:null,computedBodyPaddingRight:0,withoutHiddenClass:!0,rendered:!1}),computed:{style(){const t={};return this.fullscreen||(t.marginTop=this.top,this.width&&(t.width=this.width)),t}},watch:{visible(t){t?(this.closed=!1,this.$emit("open"),this.$el.addEventListener("scroll",this.updatePopper),this.$nextTick(()=>{this.$refs.dialog.scrollTop=0}),this.appendToBody&&document.body.appendChild(this.$el)):(this.$el.removeEventListener("scroll",this.updatePopper),this.closed||this.$emit("close"))}},mounted(){this.visible&&(this.rendered=!0,this.open(),this.appendToBody&&document.body.appendChild(this.$el))},destroyed(){this.appendToBody&&this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)},methods:{getMigratingConfig:()=>({props:{size:"size is removed."}}),handleWrapperClick(){this.closeOnClickModal&&this.handleClose()},handleClose(){"function"==typeof this.beforeClose?this.beforeClose(this.hide):this.hide()},hide(t){!1!==t&&(this.$emit("update:visible",!1),this.$emit("close"),this.closed=!0)},updatePopper(){},afterEnter(){this.$emit("opened")},afterLeave(){this.$emit("closed")}}};o(14);function $(t,e,o,i,n,l,s,a){var r,p="function"==typeof t?t.options:t;if(e&&(p.render=e,p.staticRenderFns=o,p._compiled=!0),i&&(p.functional=!0),l&&(p._scopeId="data-v-"+l),s?(r=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__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},p._ssrRegister=r):n&&(r=a?function(){n.call(this,this.$root.$options.shadowRoot)}:n),r)if(p.functional){p._injectStyles=r;var d=p.render;p.render=function(t,e){return r.call(e),d(t,e)}}else{var c=p.beforeCreate;p.beforeCreate=c?[].concat(c,r):[r]}return{exports:t,options:p}}var z=$(S,function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("transition",{attrs:{name:"dialog-fade"},on:{"after-enter":t.afterEnter,"after-leave":t.afterLeave}},[o("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"hlg-dialog__wrapper",on:{click:function(e){return e.target!==e.currentTarget?null:t.handleWrapperClick(e)}}},[o("div",{ref:"dialog",staticClass:"hlg-dialog",class:[{"is-fullscreen":t.fullscreen,"hlg-dialog--center":t.center},t.customClass],style:t.style,attrs:{role:"dialog","aria-modal":"true","aria-label":t.title||"dialog"}},[o("div",{staticClass:"hlg-dialog__header"},[t.title||t.$slots.title?t._t("title",[o("div",{staticClass:"hlg-dialog__title"},[t._v(t._s(t.title))])]):t._e(),t.showClose?o("button",{staticClass:"hlg-dialog__headerbtn",attrs:{type:"button","aria-label":"Close"},on:{click:t.handleClose}},[o("i",{staticClass:"hlg-dialog__close"})]):t._e()],2),o("div",{staticClass:"hlg-dialog__body",style:t.padding?{padding:t.padding}:{}},[t._t("default")],2),t.$slots.footer?o("div",{staticClass:"hlg-dialog__footer"},[t._t("footer")],2):t._e()])])])},[],!1,null,null,null);z.options.__file="dialog.vue";var E=z.exports;E.install=function(t){t.component(E.name,E)};var I=E,L={name:"HlgButton",props:{type:{type:String,default:"default"},size:{type:String,default:""},icon:{type:String,default:""},width:{type:String,default:""},nativeType:{type:String,default:"button"},loading:Boolean,disabled:Boolean,round:Boolean,circle:Boolean},computed:{style(){const t={};return this.width&&(t.width=this.width),t}},methods:{onClickAction(t){this.$emit("click",t)}}},H=(o(17),$(L,function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("button",{staticClass:"hlg-button",class:[t.type?"hlg-button--"+t.type:"",t.size?"hlg-button--"+t.size:"",{"is-disabled":t.disabled}],style:t.style,attrs:{disabled:t.disabled||t.loading,type:t.nativeType},on:{click:t.onClickAction}},[t.$slots.default?o("span",[t._t("default")],2):t._e()])},[],!1,null,null,null));H.options.__file="button.vue";var M=H.exports;M.install=function(t){t.component(M.name,M)};var O=M,N={name:"HlgAlert",props:{type:{type:String,default:"info",validator:t=>["info","warning","success","error"].includes(t)},closeable:{type:Boolean,default:!1}},data:()=>({isShow:!0}),methods:{afterClose(){this.$emit("closed"),this.$destroy()},closeHandler(){this.$emit("on-close"),this.isShow=!1}}},A=(o(19),$(N,function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("Transition",{attrs:{name:"alert-fade"},on:{"after-leave":t.afterClose}},[t.isShow?o("div",{staticClass:"hlg-alert",class:t.type},[o("div",{staticClass:"title"},[o("span",{staticClass:"icon"}),o("span",{staticClass:"text"},[t._t("default")],2)]),o("div",{staticClass:"desc"},[t._t("desc")],2),t.closeable?o("div",{staticClass:"btn-close",on:{click:t.closeHandler}},[t._v("x")]):t._e()]):t._e()])},[],!1,null,null,null));A.options.__file="alert.vue";var P=A.exports;P.install=function(t){t.component(P.name,P)};var j=P,U={name:"HlgInfo",props:{type:{type:String,default:"info",validator:t=>["info","warning","success","error","warm","help"].includes(t)},showIcon:{type:Boolean,default:!0}},data:()=>({}),methods:{}},R=(o(22),$(U,function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"hlg-info",class:this.type},[this.showIcon?e("span",{staticClass:"icon"}):this._e(),e("span",{staticClass:"text"},[this._t("default")],2)])},[],!1,null,null,null));R.options.__file="info.vue";var V=R.exports;V.install=function(t){t.component(V.name,V)};var W=V,D={name:"HlgTooltip",props:{content:{type:String,default:""},placement:{type:String,default:"top",validator:t=>["top","left","right","bottom","topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"].includes(t)},trigger:{type:String,default:"hover",validator:t=>["hover","click"].includes(t)},mouseEnterDelay:{type:Number,default:0,validator:t=>t>=0},mouseLeaveDelay:{type:Number,default:0,validator:t=>t>=0},visible:{type:Boolean,default:void 0},popUpClass:{type:String,default:""},popUpStyle:{type:Object,default:null}},data:()=>({selfVisible:!1,enterTimer:null,leaveTimer:null}),computed:{popUpShow(){return void 0===this.visible?this.selfVisible:this.visible}},watch:{popUpShow(t){this.$emit(t?"on-show":"on-hide")}},mounted(){document.body.addEventListener("click",()=>{"click"===this.trigger&&this.switchState(!1)})},methods:{clearTimer(){this.enterTimer&&window.clearTimeout(this.enterTimer),this.leaveTimer&&window.clearTimeout(this.leaveTimer)},switchState(t){this.popUpShow!==t&&(this.$emit("update:visible",t),this.selfVisible=t)},onMouseEnter(){"hover"===this.trigger&&(this.clearTimer(),this.enterTimer=window.setTimeout(()=>this.switchState(!0),this.mouseEnterDelay))},onMouseLeave(){"hover"===this.trigger&&(this.clearTimer(),this.popUpShow&&(this.leaveTimer=window.setTimeout(()=>this.switchState(!1),this.mouseLeaveDelay)))},onClick(){"click"===this.trigger&&this.switchState(!this.popUpShow)}}},F=(o(25),$(D,function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"hlg-tooltip",on:{click:function(e){return e.stopPropagation(),t.onClick(e)},mouseenter:t.onMouseEnter,mouseleave:t.onMouseLeave}},[t._t("default"),o("Transition",{attrs:{name:"tooltip-fade"}},[o("div",{directives:[{name:"show",rawName:"v-show",value:t.popUpShow,expression:"popUpShow"}],staticClass:"pop-up",class:[t.placement,t.popUpClass],style:t.popUpStyle,on:{click:function(t){t.stopPropagation()}}},[o("div",{staticClass:"pop-up-content"},[o("div",{staticClass:"arrow"}),t._t("content",[t._v(t._s(t.content))])],2)])])],2)},[],!1,null,null,null));F.options.__file="tooltip.vue";var K=F.exports;K.install=function(t){t.component(K.name,K)};var X=K;function q(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Y(t){return null!==t&&"object"==typeof t&&q(t,"componentOptions")}var G={name:"HlgMessage",data:()=>({type:"info",message:"",iconClass:"",customClass:"",duration:1500,visible:!1,timer:null,isHTML:!1,closed:!1,showClose:!1,onClose:null}),computed:{typeClass(){const t={success:"success",info:"info",warning:"warning",error:"error"};return this.type&&!this.iconClass&&t[this.type]?`hlg-message__icon--${t[this.type]}`:""}},watch:{closed(t){t&&(this.visible=!1)}},mounted(){this.startTimer(),document.addEventListener("keydown",this.keydown)},beforeDestroy(){document.removeEventListener("keydown",this.keydown)},methods:{destroyElement(){this.$destroy(!0),this.$el.parentNode.removeChild(this.$el)},close(){this.closed=!0,"function"==typeof this.onClose&&this.onClose(this)},clearTimer(){clearTimeout(this.timer)},startTimer(){this.duration>0&&(this.timer=setTimeout(()=>{this.closed||this.close()},this.duration))},keydown(t){27===t.keyCode&&(this.closed||this.close())}}},Z=(o(27),$(G,function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("transition",{attrs:{name:"hlg-message-fade"},on:{"after-leave":t.destroyElement}},[o("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"hlg-message",class:[t.type&&"hlg-message--"+t.type,t.customClass],attrs:{role:"message"},on:{mouseenter:t.clearTimer,mouseleave:t.startTimer}},[t.iconClass?o("i",{staticClass:"hlg-message__icon",class:t.iconClass}):t.typeClass?o("i",{staticClass:"hlg-message__icon",class:t.typeClass}):t._e(),t._t("default",[t.isHTML?o("p",{staticClass:"hlg-message__content",domProps:{innerHTML:t._s(t.message)}}):o("p",{staticClass:"hlg-message__content"},[t._v(t._s(t.message))])]),t.showClose?o("i",{staticClass:"hlg-message__close",on:{click:t.close}}):t._e()],2)])},[],!1,null,null,null));Z.options.__file="message.vue";var J=Z.exports;const Q=n.a.extend(J),tt=[];let et,ot=1;const it=function(t){if(n.a.prototype.$isServer)return;ot+=1,"string"==typeof(t=t||{})&&(t={message:t});const e=t.onClose,o=`hlg_message_${ot}`;return t.onClose=function(){it.close(o,e)},(et=new Q({data:t})).id=o,Y(et.message)&&(et.$slots.default=[et.message],et.message=null),et.vm=et.$mount(),document.body.appendChild(et.vm.$el),et.vm.visible=!0,et.dom=et.vm.$el,et.dom.style.zIndex=_.nextZIndex(),tt.push(et),et.vm};["success","warning","info","error"].forEach(t=>{it[t]=(e=>("string"==typeof e&&(e={message:e}),e.type=t,it(e)))}),it.close=function(t,e){for(let o=0,i=tt.length;o<i;o+=1)if(t===tt[o].id){"function"==typeof e&&e(tt[o]),tt.splice(o,1);break}},it.closeAll=function(){for(let t=tt.length-1;t>=0;t-=1)tt[t].close()};var nt=it,lt={name:"HlgModal",components:{HlgButton:O},mixins:[B],props:{modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},top:{type:String,default:"15vh"},width:{type:String,default:""},closeOnClickModal:{type:Boolean,default:!1},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0}},data:()=>({uid:1,title:void 0,message:"",customClass:"",showConfirmButton:!0,showCancelButton:!1,action:"",confirmButtonText:"",cancelButtonText:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonClass:"",confirmButtonDisabled:!1,cancelButtonClass:"",callback:null,isHTML:!1,isOnComposition:!1,distinguishCancelAndClose:!1}),computed:{confirmButtonClasses(){return`${this.confirmButtonClass}`},cancelButtonClasses(){return`${this.cancelButtonClass}`},style(){const t={marginTop:this.top};return this.width&&(t.width=this.width),t}},watch:{visible(t){t&&(this.uid+=1)}},destroyed(){this.closeOnHashChange&&window.removeEventListener("hashchange",()=>this.handleAction("hashchange"))},mounted(){this.$nextTick(()=>{this.closeOnHashChange&&window.addEventListener("hashchange",()=>this.handleAction("hashchange"))})},methods:{getSafeClose(){const t=this.uid;return()=>{this.$nextTick(()=>{t===this.uid&&this.doClose()})}},doClose(){this.visible&&(this.visible=!1,this.$_closing=!0,this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.doAfterClose(),setTimeout(()=>{this.action&&this.callback(this.action,this)}))},handleWrapperClick(){this.closeOnClickModal&&this.handleAction(this.distinguishCancelAndClose?"close":"cancel")},handleAction(t){this.action=t,"function"==typeof this.beforeClose?(this.close=this.getSafeClose(),this.beforeClose(t,this,this.close)):this.doClose()},afterEnter(){this.$emit("opened")},afterLeave(){this.$emit("closed"),this.$el.parentNode.removeChild(this.$el)}}},st=(o(29),$(lt,function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("transition",{attrs:{name:"modal-fade"},on:{"after-enter":t.afterEnter,"after-leave":t.afterLeave}},[o("div",{directives:[{name:"show",rawName:"v-show",value:t.visible,expression:"visible"}],staticClass:"hlg-modal__wrapper",on:{click:function(e){return e.target!==e.currentTarget?null:t.handleWrapperClick(e)}}},[o("div",{staticClass:"hlg-modal",class:t.customClass,style:t.style},[o("div",{staticClass:"hlg-modal__header"},[t.title||t.$slots.title?t._t("title",[o("div",{staticClass:"hlg-modal__title"},[t._v(t._s(t.title))])]):t._e(),t.showClose?o("button",{staticClass:"hlg-modal__headerbtn",attrs:{type:"button","aria-label":"Close"},on:{click:function(e){t.handleAction(t.distinguishCancelAndClose?"close":"cancel")},keydown:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.handleAction(t.distinguishCancelAndClose?"close":"cancel")}}},[o("i",{staticClass:"hlg-modal__close"})]):t._e()],2),o("div",{staticClass:"hlg-modal__body"},[""!==t.message?o("div",{staticClass:"hlg-modal__message"},[t._t("default",[t.isHTML?o("p",{domProps:{innerHTML:t._s(t.message)}}):o("p",[t._v(t._s(t.message))])])],2):t._e()]),o("div",{staticClass:"hlg-modal__btns"},[t._t("footer",[t.showCancelButton?o("hlg-button",{class:[t.cancelButtonClasses],attrs:{loading:t.cancelButtonLoading},on:{keydown:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.handleAction("cancel")}},nativeOn:{click:function(e){t.handleAction("cancel")}}},[t._v(t._s(t.cancelButtonText||"取消"))]):t._e(),o("hlg-button",{directives:[{name:"show",rawName:"v-show",value:t.showConfirmButton,expression:"showConfirmButton"}],ref:"confirm",class:[t.confirmButtonClasses],attrs:{type:"primary",loading:t.confirmButtonLoading},on:{click:function(e){t.dialogVisible=!1},keydown:function(e){if(!("button"in e)&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.handleAction("confirm")}},nativeOn:{click:function(e){t.handleAction("confirm")}}},[t._v(t._s(t.confirmButtonText||"确定"))])])],2)])])])},[],!1,null,null,null));st.options.__file="modal.vue";var at=st.exports;const rt=n.a.extend(at),pt={title:null,message:"",type:"",iconClass:"",showClose:!0,modalFade:!0,lockScroll:!0,closeOnClickModal:!0,closeOnPressEscape:!0,closeOnHashChange:!0,showConfirmButton:!0,showCancelButton:!1,confirmButtonPosition:"right",confirmButtonHighlight:!1,cancelButtonHighlight:!1,confirmButtonText:"",cancelButtonText:"",confirmButtonClass:"",cancelButtonClass:"",customClass:"",beforeClose:null,dangerouslyUseHTMLString:!1,center:!1,roundButton:!1,distinguishCancelAndClose:!1};let dt,ct,ht=[];const ut=t=>{if(dt){const e=dt.callback;"function"==typeof e&&e(t),dt.resolve&&("confirm"===t?dt.resolve(t):!dt.reject||"cancel"!==t&&"close"!==t||dt.reject(new Error(t)))}},ft=()=>{if(ct||((ct=new rt({el:document.createElement("div")})).callback=ut),ct.action="",(!ct.visible||ct.closeTimer)&&ht.length>0){const t=(dt=ht.shift()).options;for(const e in t)q(t,e)&&(ct[e]=t[e]);void 0===t.callback&&(ct.callback=ut);const e=ct.callback;ct.callback=((t,o)=>{e(t,o),ft()}),Y(ct.message)?(ct.$slots.default=[ct.message],ct.message=null):delete ct.$slots.default,document.body.appendChild(ct.$el),n.a.nextTick(()=>{ct.visible=!0})}},gt=function(t,e){if(!n.a.prototype.$isServer){if("string"==typeof t||Y(t)?(t={message:t},"string"==typeof arguments[1]&&(t.title=arguments[1])):t.callback&&!e&&(e=t.callback),"undefined"!=typeof Promise)return new Promise((o,i)=>{ht.push({options:Object.assign({},pt,gt.defaults,t),callback:e,resolve:o,reject:i}),ft()});ht.push({options:Object.assign({},pt,gt.defaults,t),callback:e}),ft()}};gt.alert=((t,e,o)=>("object"==typeof e?(o=e,e=""):void 0===e&&(e=""),gt(Object.assign({title:e,message:t,$type:"alert",closeOnPressEscape:!1,closeOnClickModal:!1},o)))),gt.confirm=((t,e,o)=>("object"==typeof e?(o=e,e=""):void 0===e&&(e=""),gt(Object.assign({title:e,message:t,$type:"confirm",showCancelButton:!0},o)))),gt.close=(()=>{ct.doClose(),ct.visible=!1,ht=[],dt=null});var mt=gt,vt={name:"HlgCollapse",componentName:"HlgCollapse",props:{accordion:Boolean,value:{type:[Array,String,Number],default:()=>[]}},data(){return{activeNames:[].concat(this.value)}},provide(){return{collapse:this}},watch:{value(t){this.activeNames=[].concat(t)}},created(){this.$on("item-click",this.handleItemClick)},methods:{setActiveNames(t){t=[].concat(t);const e=this.accordion?t[0]:t;this.activeNames=t,this.$emit("input",e),this.$emit("change",e)},handleItemClick(t){const e=this.activeNames.slice(0),o=e.indexOf(t.name);this.accordion?this.setActiveNames(-1===o?t.name:""):(o>-1?e.splice(o,1):e.push(t.name),this.setActiveNames(e))}}},bt=(o(31),$(vt,function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"hlg-collapse"},[this._t("default")],2)},[],!1,null,null,null));bt.options.__file="collapse.vue";var xt=bt.exports;xt.install=function(t){t.component(xt.name,xt)};var yt=xt;var wt={methods:{dispatch(t,e,o){let i=this.$parent||this.$root,n=i.$options.componentName;for(;i&&(!n||n!==t);)(i=i.$parent)&&(n=i.$options.componentName);i&&i.$emit.apply(i,[e].concat(o))},broadcast(t,e,o){(function t(e,o,i){this.$children.forEach(n=>{n.$options.componentName===e?n.$emit.apply(n,[o].concat(i)):t.apply(n,[e,o].concat([i]))})}).call(this,t,e,o)}}},_t={name:"HlgCollapseItem",componentName:"HlgCollapseItem",mixins:[wt,{methods:{beforeEnter(t){u(t,"collapse-transition"),t.dataset||(t.dataset={}),t.dataset.oldPaddingTop=t.style.paddingTop,t.dataset.oldPaddingBottom=t.style.paddingBottom,t.style.height="0",t.style.paddingTop=0,t.style.paddingBottom=0},enter(t){t.dataset.oldOverflow=t.style.overflow,0!==t.scrollHeight?(t.style.height=`${t.scrollHeight}px`,t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom):(t.style.height="",t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom),t.style.overflow="hidden"},afterEnter(t){f(t,"collapse-transition"),t.style.height="",t.style.overflow=t.dataset.oldOverflow},beforeLeave(t){t.dataset||(t.dataset={}),t.dataset.oldPaddingTop=t.style.paddingTop,t.dataset.oldPaddingBottom=t.style.paddingBottom,t.dataset.oldOverflow=t.style.overflow,t.style.height=`${t.scrollHeight}px`,t.style.overflow="hidden"},leave(t){0!==t.scrollHeight&&(u(t,"collapse-transition"),t.style.height=0,t.style.paddingTop=0,t.style.paddingBottom=0)},afterLeave(t){f(t,"collapse-transition"),t.style.height="",t.style.overflow=t.dataset.oldOverflow,t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom}}}],props:{title:{type:String,default:""},name:{type:[String,Number],default(){return this._uid}}},data:()=>({contentWrapStyle:{height:"auto",display:"block"},contentHeight:0}),inject:["collapse"],computed:{isActive(){return this.collapse.activeNames.indexOf(this.name)>-1},id:()=>Math.floor(1e4*Math.random())},methods:{handleHeaderClick(){this.dispatch("HlgCollapse","item-click",this)}}},Ct=(o(33),$(_t,function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"hlg-collapse-item",class:{"hlg-collapse-item--active":t.isActive}},[o("div",{staticClass:"hlg-collapse-item__header",class:{"is-active":t.isActive},attrs:{id:"hlg-collapse-head-"+t.id},on:{click:t.handleHeaderClick}},[t._t("title",[t._v(t._s(t.title))]),o("i",{staticClass:"hlg-collapse-item__arrow",class:{"is-active":t.isActive}})],2),o("transition",{on:{"before-enter":t.beforeEnter,enter:t.enter,"after-enter":t.afterEnter,"before-leave":t.beforeLeave,leave:t.leave,"after-leave":t.afterLeave}},[o("div",{directives:[{name:"show",rawName:"v-show",value:t.isActive,expression:"isActive"}],staticClass:"hlg-collapse-item__wrap",attrs:{id:"hlg-collapse-content-"+t.id}},[o("div",{staticClass:"hlg-collapse-item__content"},[t._t("default")],2)])])],1)},[],!1,null,null,null));Ct.options.__file="collapse-item.vue";var kt=Ct.exports;kt.install=function(t){t.component(kt.name,kt)};var Tt=kt;let Bt;const St="\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n",$t=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function zt(t,e=1,o=null){Bt||(Bt=document.createElement("textarea"),document.body.appendChild(Bt));const{paddingSize:i,borderSize:n,boxSizing:l,contextStyle:s}=function(t){const e=window.getComputedStyle(t),o=e.getPropertyValue("box-sizing"),i=parseFloat(e.getPropertyValue("padding-bottom"))+parseFloat(e.getPropertyValue("padding-top")),n=parseFloat(e.getPropertyValue("border-bottom-width"))+parseFloat(e.getPropertyValue("border-top-width"));return{contextStyle:$t.map(t=>`${t}:${e.getPropertyValue(t)}`).join(";"),paddingSize:i,borderSize:n,boxSizing:o}}(t);Bt.setAttribute("style",`${s};${St}`),Bt.value=t.value||t.placeholder||"";let a=Bt.scrollHeight;const r={};"border-box"===l?a+=n:"content-box"===l&&(a-=i),Bt.value="";const p=Bt.scrollHeight-i;if(null!==e){let t=p*e;"border-box"===l&&(t=t+i+n),a=Math.max(t,a),r.minHeight=`${t}px`}if(null!==o){let t=p*o;"border-box"===l&&(t=t+i+n),a=Math.min(t,a)}return r.height=`${a}px`,Bt.parentNode&&Bt.parentNode.removeChild(Bt),Bt=null,r}var Et={name:"HlgInput",componentName:"HlgInput",mixins:[wt],inheritAttrs:!1,props:{value:{default:"",type:[String,Number]},size:{default:"",type:String},resize:{default:"",type:String},form:{default:"",type:String},disabled:Boolean,readonly:Boolean,type:{type:String,default:"text"},autosize:{type:[Boolean,Object],default:!1},label:{default:"",type:String},clearable:{type:Boolean,default:!1}},data:()=>({textareaCalcStyle:{},hovering:!1,focused:!1}),computed:{textareaStyle(){return Object.assign({},this.textareaCalcStyle,{resize:this.resize})},inputSize(){return this.size},inputDisabled(){return this.disabled},nativeInputValue(){return null===this.value||void 0===this.value?"":this.value},showClear(){return this.clearable&&!this.inputDisabled&&!this.readonly&&this.nativeInputValue&&(this.focused||this.hovering)}},watch:{value(t){this.$nextTick(this.resizeTextarea)}},mounted(){this.resizeTextarea()},methods:{focus(){(this.$refs.input||this.$refs.textarea).focus()},blur(){(this.$refs.input||this.$refs.textarea).blur()},resizeTextarea(){if(this.$isServer)return;const{autosize:t,type:e}=this;if("textarea"!==e)return;if(!t)return void(this.textareaCalcStyle={minHeight:zt(this.$refs.textarea).minHeight});const o=t.minRows,i=t.maxRows;this.textareaCalcStyle=zt(this.$refs.textarea,o,i)},handleBlur(t){this.focused=!1,this.$emit("blur",t)},handleFocus(t){this.focused=!0,this.$emit("focus",t)},handleInput(t){this.isOnComposition||t.target.value!==this.nativeInputValue&&(this.$emit("input",t.target.value),this.$nextTick(()=>{(this.$refs.input||this.$refs.textarea).value=this.value}))},handleChange(t){this.$emit("change",t.target.value)},clear(){this.$emit("input",""),this.$emit("change",""),this.$emit("clear")}}},It=(o(35),$(Et,function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{class:["textarea"===t.type?"hlg-textarea":"hlg-input",t.inputSize?"hlg-input--"+t.inputSize:"",{"hlg-input--disabled":t.inputDisabled,"hlg-input--hover":t.hovering,"hlg-input--focus":t.focused,"hlg-input-group":t.$slots.prepend||t.$slots.append,"hlg-input-group--append":t.$slots.append,"hlg-input-group--prepend":t.$slots.prepend}],on:{mouseenter:function(e){t.hovering=!0},mouseleave:function(e){t.hovering=!1}}},["textarea"!==t.type?[t.$slots.prepend?o("div",{staticClass:"hlg-input-group__prepend"},[t._t("prepend")],2):t._e(),t._v(" "),"textarea"!==t.type?o("input",t._b({ref:"input",staticClass:"hlg-input__inner",attrs:{type:t.type,disabled:t.inputDisabled,readonly:t.readonly},domProps:{value:t.nativeInputValue},on:{input:t.handleInput,focus:t.handleFocus,blur:t.handleBlur,change:t.handleChange}},"input",t.$attrs,!1)):t._e(),t._v(" "),t.$slots.append?o("div",{staticClass:"hlg-input-group__append"},[t._t("append")],2):t._e()]:o("textarea",t._b({ref:"textarea",staticClass:"hlg-textarea__inner",style:t.textareaStyle,attrs:{disabled:t.inputDisabled,readonly:t.readonly},domProps:{value:t.nativeInputValue},on:{input:t.handleInput,focus:t.handleFocus,blur:t.handleBlur,change:t.handleChange}},"textarea",t.$attrs,!1))],2)},[],!1,null,null,null));It.options.__file="input.vue";var Lt=It.exports;Lt.install=function(t){t.component(Lt.name,Lt)};var Ht=Lt;const Mt=[I,O,j,W,X,mt,yt,Ht,Tt],Ot=function(t,e={}){Mt.forEach(e=>{t.component(e.name,e)}),t.prototype.$HLGUI={size:e.size||"",zIndex:e.zIndex||2e3},t.prototype.$message=nt,t.prototype.$modal=mt,t.prototype.$alert=mt.alert,t.prototype.$confirm=mt.confirm};"undefined"!=typeof window&&window.Vue&&Ot(window.Vue);e.default={install:Ot,Dialog:I,Button:O,Alert:j,Info:W,Tooltip:X,Message:nt,Modal:mt,Collapse:yt,Input:Ht,CollapseItem:Tt}}])});
{
"name": "hlg-ui",
"version": "0.0.3",
"version": "0.1.0",
"description": "欢乐逛 UI 库",

@@ -8,6 +8,38 @@ "main": "lib/hlg-ui.js",

"dev": "poi --watch --serve",
"prebuild": "if [ ! -x 'node_modules/.bin/poi' ]; then echo 'npm i' && npm i; else echo 'poi ready'; fi",
"build": "poi --prod",
"predist": "rm -rf ./lib",
"dist": "webpack --config __build__/webpack.common.js && webpack --config __build__/webpack.component.js",
"publish": "npm publish --registry http://registry.npmjs.org"
"publish": "npm run dist && npm publish --registry https://registry.npmjs.org",
"release": "node ./__build__/sync-cdn.js",
"test": "jest --runInBand --coverage",
"test-watch": "jest --watchAll --runInBand --coverage"
},
"jest": {
"testRegex": "./__test__/.*.test.js",
"moduleFileExtensions": [
"js",
"json",
"vue"
],
"globals": {
"NODE_ENV": "test"
},
"transform": {
"^.+\\.js$": "babel-jest",
"^.+\\.vue$": "vue-jest"
},
"moduleDirectories": [
"node_modules",
"src",
"packages"
],
"moduleNameMapper": {
"^@packages(.*)$": "<rootDir>/packages/$1",
"^@src(.*)$": "<rootDir>/src/$1",
"^@services(.*)$": "<rootDir>/src/services/$1",
"^@stylesheet(.*)$": "<rootDir>/src/stylesheet/$1",
"^vue$": "vue/dist/vue.min.js"
}
},
"repository": {

@@ -20,9 +52,12 @@ "type": "git",

"@babel/cli": "^7.2.0",
"@babel/core": "^7.2.0",
"@babel/core": "^7.2.2",
"@babel/plugin-transform-runtime": "^7.2.0",
"@babel/preset-env": "^7.2.0",
"@babel/runtime": "^7.2.0",
"@vue/test-utils": "^1.0.0-beta.28",
"assets-webpack-plugin": "^3.9.7",
"autoprefixer": "^9.4.2",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^23.6.0",
"cheerio": "^1.0.0-rc.2",

@@ -34,2 +69,4 @@ "eslint": "^5.10.0",

"eslint-plugin-vue": "^5.0.0",
"jest": "^23.6.0",
"json-loader": "^0.5.7",
"markdown-it": "^8.4.2",

@@ -40,9 +77,11 @@ "markdown-it-anchor": "^5.0.2",

"node-sass": "^4.11.0",
"poi": "^12.0.2",
"poi": "^12.4.2",
"progress-bar-webpack-plugin": "^1.11.0",
"pug": "^2.0.3",
"pug-plain-loader": "^1.0.0",
"regenerator-runtime": "^0.13.1",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.1",
"transliteration": "^1.6.6",
"vue-jest": "^3.0.2",
"vue-loader": "^15.5.0",

@@ -57,3 +96,2 @@ "vue-markdown-loader": "^2.4.1",

"bluebird": "^3.5.3",
"element-ui": "^2.4.11",
"highlight.js": "^9.13.1",

@@ -60,0 +98,0 @@ "normalize.css": "^8.0.1",

@@ -7,4 +7,13 @@ /*

import Dialog from './dialog/index.js';
import Button from './button/index.js';
import Dialog from './dialog';
import Button from './button';
import Alert from './alert';
import Info from './info';
import Tooltip from './tooltip';
import Message from './message';
import Modal from './modal';
import Collapse from './collapse';
import CollapseItem from './collapse-item';
import Input from './input';
// import pkg from '../package.json';

@@ -14,2 +23,9 @@ const components = [

Button,
Alert,
Info,
Tooltip,
Modal,
Collapse,
Input,
CollapseItem,
];

@@ -26,2 +42,6 @@

};
Vue.prototype.$message = Message;
Vue.prototype.$modal = Modal;
Vue.prototype.$alert = Modal.alert;
Vue.prototype.$confirm = Modal.confirm;
};

@@ -34,6 +54,14 @@

export default {
version: '0.0.1',
// version: pkg.version,
install,
Dialog,
Button,
Alert,
Info,
Tooltip,
Message,
Modal,
Collapse,
Input,
CollapseItem,
};

@@ -9,3 +9,2 @@ /*

const webpack = require('webpack');
const cheerio = require('cheerio');
const AssetsPlugin = require('assets-webpack-plugin');

@@ -15,45 +14,8 @@ const md = require('markdown-it')();

const pkg = require('./package.json');
const { convert, wrap, stripTags, fetchHtml } = require('./__build__/utils');
const DIST = path.resolve('__dist__');
const DEBUG = process.env.CI_BUILD_STAGE === undefined;
const version = (process.env.CI_COMMIT_SHA || pkg.version).slice(0, 8);
const version = (process.env.CI_COMMIT_SHA || pkg.version).slice(0, 7);
function convert(str) {
return str.replace(
/(&#x)(\w{4});/gi,
($0) => String.fromCharCode(parseInt(encodeURIComponent($0).replace(/(%26%23x)(\w{4})(%3B)/g, '$2'), 16))
);
}
function wrap(render) {
return function() {
return render.apply(this, arguments)
.replace('<code v-pre class="', '<code class="hljs ')
.replace('<code>', '<code class="hljs">');
};
}
function stripTags(str, tags) {
const $ = cheerio.load(str, { decodeEntities: false });
if (!tags || tags.length === 0) {
return str;
}
tags = !Array.isArray(tags) ? [tags] : tags;
let len = tags.length;
while (len--) { // eslint-disable-line no-plusplus
$(tags[len]).remove();
}
return $.html('body').replace(/<\/?body>/g, '');
}
function fetchHtml(str, tag) {
const $ = cheerio.load(str, { decodeEntities: false });
if (!tag) return str;
return $(tag).html();
}
module.exports = {

@@ -65,9 +27,7 @@ entry: './src/index.js',

minimize: !DEBUG,
target: 'browser',
fileNames: {
js: '[name].js',
css: '[name].css',
js: '[name].[hash].js',
css: '[name].[hash].css',
},
html: DEBUG,
publicUrl: DEBUG ? '' : `//alicdn.huanleguang.com/tbv6/ui/${version}/`,
publicUrl: DEBUG ? '' : '//alicdn.huanleguang.com/hlgui/',
},

@@ -81,2 +41,4 @@ css: {

configureWebpack: {
mode: DEBUG ? 'development' : 'production',
bail: !DEBUG,
module: {

@@ -98,2 +60,3 @@ rules: [

raw: true,
preventExtract: true,
use: [

@@ -121,5 +84,2 @@ [require('markdown-it-anchor'), {

let jsfiddle = { html, script, style };
const descriptionHTML = description
? md.render(description)
: '';

@@ -129,5 +89,5 @@ jsfiddle = md.utils.escapeHtml(JSON.stringify(jsfiddle));

return `<demo-block class="demo-box" :jsfiddle="${jsfiddle}">
<div class="source" slot="source">${html}</div>
${descriptionHTML}
<div class="highlight" slot="highlight">`;
<div class="source" slot="source">${html}</div>
${description ? md.render(description) : ''}
<div class="highlight" slot="highlight">`;
}

@@ -148,3 +108,3 @@ return '</div></demo-block>\n';

}
}
},
]

@@ -160,2 +120,3 @@ },

'@services': path.resolve('./src/services'),
'@mixins': path.resolve('./src/mixins'),
'@stylesheet': path.resolve('./src/stylesheet'),

@@ -165,2 +126,6 @@ },

},
optimization: {
minimize: !DEBUG,
runtimeChunk: false,
},
plugins: [

@@ -173,6 +138,7 @@ new webpack.BannerPlugin({

__DEBUG__: DEBUG,
'process.env.NODE_ENV': JSON.stringify('production')
}),
new AssetsPlugin({
path: DIST,
filename: `webpack-${version}.json`,
filename: `assets-${version}.json`,
fullPath: false,

@@ -182,4 +148,4 @@ prettyPrint: true,

}),
]
],
}
};

@@ -11,2 +11,3 @@ /*

]
}
};
# 欢乐逛 UI 库
https://ui.huanleguang.com
## 初始化项目
### 1\. clone
```bash
git clone git@git.huanleguang.com:hyaf_zs/ui.git
cd ui
```
### 2\. 安装依赖
```
npm i
```
### 3\. 本地开发
```
npm run dev
```

@@ -10,3 +10,3 @@ /*

import Promise from 'bluebird';
import HLGUI from '@packages';
import HLGUI from '../packages';
import routes from './routes';

@@ -13,0 +13,0 @@ import filter from './services/filter';

@@ -8,13 +8,21 @@ /*

export default [
// {
// name: '更新日志',
// path: '/changelog'
// },
{
name: '更新日志',
path: '/changelog'
},
{
name: '开发指南',
children: [
{
path: '/installation',
title: '安装'
},
{
path: '/quickstart',
title: '快速上手'
},
{
path: '/color',
title: 'Color'
}
title: '颜色'
},
]

@@ -26,11 +34,16 @@ },

{
groupName: 'Basic',
groupName: '基础组件',
list: [
{
path: '/button',
title: 'Button'
title: 'Button 按钮'
},
]
},
{
groupName: '表单组件',
list: [
{
path: '/color',
title: 'Color'
path: '/input',
title: 'Input 输入框'
},

@@ -40,12 +53,46 @@ ]

{
groupName: 'Others',
groupName: '内容展示',
list: [
{
path: '/collapse',
title: 'Collapse 折叠面板'
},
]
},
{
groupName: '消息提示',
list: [
{
path: '/alert',
title: 'Alert 警告提示'
},
{
path: '/info',
title: 'Info 局部提示'
},
{
path: '/tooltip',
title: 'Tooltip 文字提示'
},
{
path: '/message',
title: 'Message 消息提示'
},
{
path: '/dialog',
title: 'Dialog'
}
title: 'Dialog 弹窗'
},
{
path: '/modal',
title: 'Modal 对话框'
},
]
},
{
groupName: '导航',
list: [
]
},
]
},
];

@@ -16,4 +16,3 @@ /*

];
routes.push({
const component = {
path: '/component',

@@ -23,3 +22,3 @@ redirect: '/component/button',

children: []
});
};

@@ -31,3 +30,15 @@ const loadDocs = function(path) {

function addRoute(page) {
routes[1].children.push({
if (page.path === '/changelog') {
return routes.push({
path: page.path,
meta: {
title: page.title || page.name,
description: page.description,
},
name: `component-${page.title || page.name}`,
component: loadDocs(page.path),
});
}
component.children.push({
path: page.path.slice(1),

@@ -39,3 +50,3 @@ meta: {

name: `component-${page.title || page.name}`,
component: loadDocs(page.path)
component: loadDocs(page.path),
});

@@ -57,2 +68,6 @@ }

routes.push(component);
console.log(routes);
export default routes;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc