UNPKG

lemon-ui-vue2

Version:
1 lines 18.8 kB
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("title-frame-one",[],e):"object"==typeof exports?exports["title-frame-one"]=e():t["title-frame-one"]=e()}(self,(()=>(()=>{var t={157:(t,e,r)=>{var n=r(7087),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=n(t))<0?o(t+e,0):i(t,e)}},489:(t,e,r)=>{var n=r(7967).f,o=Function.prototype,i=/^\s*function ([^ (]*)/,a="name";a in o||r(1763)&&n(o,a,{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(t){return""}}})},629:(t,e,r)=>{var n=r(2127),o=r(3344),i=r(9448),a=r(8451),c="["+a+"]",u=RegExp("^"+c+c+"*"),s=RegExp(c+c+"*$"),l=function(t,e,r){var o={},c=i((function(){return!!a[t]()||"​…"!="​…"[t]()})),u=o[t]=c?e(f):a[t];r&&(o[r]=u),n(n.P+n.F*c,"String",o)},f=l.trim=function(t,e){return t=String(o(t)),1&e&&(t=t.replace(u,"")),2&e&&(t=t.replace(s,"")),t};t.exports=l},766:(t,e,r)=>{var n=r(4556)("keys"),o=r(4415);t.exports=function(t){return n[t]||(n[t]=o(t))}},1158:(t,e,r)=>{"use strict";var n=r(4228);t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},1212:(t,e,r)=>{var n=r(7087),o=r(3344);t.exports=function(t){return function(e,r){var i,a,c=String(o(e)),u=n(r),s=c.length;return u<0||u>=s?t?"":void 0:(i=c.charCodeAt(u))<55296||i>56319||u+1===s||(a=c.charCodeAt(u+1))<56320||a>57343?t?c.charAt(u):i:t?c.slice(u,u+2):a-56320+(i-55296<<10)+65536}}},1249:(t,e,r)=>{var n=r(5089);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},1308:(t,e,r)=>{var n=r(7526).document;t.exports=n&&n.documentElement},1311:(t,e,r)=>{var n=r(4561),o=r(6140);t.exports=Object.keys||function(t){return n(t,o)}},1464:(t,e,r)=>{var n=r(7221),o=r(1485),i=r(157);t.exports=function(t){return function(e,r,a){var c,u=n(e),s=o(u.length),l=i(a,s);if(t&&r!=r){for(;s>l;)if((c=u[l++])!=c)return!0}else for(;s>l;l++)if((t||l in u)&&u[l]===r)return t||l||0;return!t&&-1}}},1485:(t,e,r)=>{var n=r(7087),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},1626:(t,e,r)=>{var n=r(7967),o=r(4228),i=r(1311);t.exports=r(1763)?Object.defineProperties:function(t,e){o(t);for(var r,a=i(e),c=a.length,u=0;c>u;)n.f(t,r=a[u++],e[r]);return t}},1763:(t,e,r)=>{t.exports=!r(9448)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},1996:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},2127:(t,e,r)=>{var n=r(7526),o=r(6094),i=r(3341),a=r(8859),c=r(5052),u="prototype",s=function(t,e,r){var l,f,p,d,g=t&s.F,h=t&s.G,v=t&s.S,x=t&s.P,y=t&s.B,m=h?n:v?n[e]||(n[e]={}):(n[e]||{})[u],b=h?o:o[e]||(o[e]={}),w=b[u]||(b[u]={});for(l in h&&(r=e),r)p=((f=!g&&m&&void 0!==m[l])?m:r)[l],d=y&&f?c(p,n):x&&"function"==typeof p?c(Function.call,p):p,m&&a(m,l,p,t&s.U),b[l]!=p&&i(b,l,d),x&&w[l]!=p&&(w[l]=p)};n.core=o,s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,t.exports=s},2535:(t,e,r)=>{"use strict";var n=r(4848),o=RegExp.prototype.exec;t.exports=function(t,e){var r=t.exec;if("function"==typeof r){var i=r.call(t,e);if("object"!=typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==n(t))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},2750:t=>{t.exports=!1},2956:(t,e,r)=>{t.exports=!r(1763)&&!r(9448)((function(){return 7!=Object.defineProperty(r(6034)("div"),"a",{get:function(){return 7}}).a}))},3048:(t,e,r)=>{var n=r(3305);t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},3292:(t,e,r)=>{var n=r(2127);n(n.S,"Date",{now:function(){return(new Date).getTime()}})},3305:t=>{t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},3341:(t,e,r)=>{var n=r(7967),o=r(1996);t.exports=r(1763)?function(t,e,r){return n.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},3344:t=>{t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},3387:t=>{t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},4040:(t,e,r)=>{"use strict";var n=r(4228),o=r(1485),i=r(8828),a=r(2535);r(9228)("match",1,(function(t,e,r,c){return[function(r){var n=t(this),o=null==r?void 0:r[e];return void 0!==o?o.call(r,n):new RegExp(r)[e](String(n))},function(t){var e=c(r,t,this);if(e.done)return e.value;var u=n(t),s=String(this);if(!u.global)return a(u,s);var l=u.unicode;u.lastIndex=0;for(var f,p=[],d=0;null!==(f=a(u,s));){var g=String(f[0]);p[d]=g,""===g&&(u.lastIndex=i(s,o(u.lastIndex),l)),d++}return 0===d?null:p}]}))},4116:(t,e,r)=>{"use strict";var n=r(9600);r(2127)({target:"RegExp",proto:!0,forced:n!==/./.exec},{exec:n})},4228:(t,e,r)=>{var n=r(3305);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},4415:t=>{var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},4509:(t,e,r)=>{"use strict";var n=r(7526),o=r(7917),i=r(5089),a=r(8880),c=r(3048),u=r(9448),s=r(9415).f,l=r(8641).f,f=r(7967).f,p=r(629).trim,d="Number",g=n[d],h=g,v=g.prototype,x=i(r(4719)(v))==d,y="trim"in String.prototype,m=function(t){var e=c(t,!1);if("string"==typeof e&&e.length>2){var r,n,o,i=(e=y?e.trim():p(e,3)).charCodeAt(0);if(43===i||45===i){if(88===(r=e.charCodeAt(2))||120===r)return NaN}else if(48===i){switch(e.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+e}for(var a,u=e.slice(2),s=0,l=u.length;s<l;s++)if((a=u.charCodeAt(s))<48||a>o)return NaN;return parseInt(u,n)}}return+e};if(!g(" 0o1")||!g("0b1")||g("+0x1")){g=function(t){var e=arguments.length<1?0:t,r=this;return r instanceof g&&(x?u((function(){v.valueOf.call(r)})):i(r)!=d)?a(new h(m(e)),r,g):m(e)};for(var b,w=r(1763)?s(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),S=0;w.length>S;S++)o(h,b=w[S])&&!o(g,b)&&f(g,b,l(h,b));g.prototype=v,v.constructor=g,r(8859)(n,d,g)}},4556:(t,e,r)=>{var n=r(6094),o=r(7526),i="__core-js_shared__",a=o[i]||(o[i]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:r(2750)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},4561:(t,e,r)=>{var n=r(7917),o=r(7221),i=r(1464)(!1),a=r(766)("IE_PROTO");t.exports=function(t,e){var r,c=o(t),u=0,s=[];for(r in c)r!=a&&n(c,r)&&s.push(r);for(;e.length>u;)n(c,r=e[u++])&&(~i(s,r)||s.push(r));return s}},4719:(t,e,r)=>{var n=r(4228),o=r(1626),i=r(6140),a=r(766)("IE_PROTO"),c=function(){},u="prototype",s=function(){var t,e=r(6034)("iframe"),n=i.length;for(e.style.display="none",r(1308).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),s=t.F;n--;)delete s[u][i[n]];return s()};t.exports=Object.create||function(t,e){var r;return null!==t?(c[u]=n(t),r=new c,c[u]=null,r[a]=t):r=s(),void 0===e?r:o(r,e)}},4848:(t,e,r)=>{var n=r(5089),o=r(7574)("toStringTag"),i="Arguments"==n(function(){return arguments}());t.exports=function(t){var e,r,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?r:i?n(e):"Object"==(a=n(e))&&"function"==typeof e.callee?"Arguments":a}},5052:(t,e,r)=>{var n=r(3387);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},5089:t=>{var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},5170:(t,e,r)=>{var n=r(3305),o=r(4228),i=function(t,e){if(o(t),!n(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,n){try{(n=r(5052)(Function.call,r(8641).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,r){return i(t,r),e?t.__proto__=r:n(t,r),t}}({},!1):void 0),check:i}},6034:(t,e,r)=>{var n=r(3305),o=r(7526).document,i=n(o)&&n(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},6094:t=>{var e=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=e)},6140:t=>{t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},7087:t=>{var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},7221:(t,e,r)=>{var n=r(1249),o=r(3344);t.exports=function(t){return n(o(t))}},7526:t=>{var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},7574:(t,e,r)=>{var n=r(4556)("wks"),o=r(4415),i=r(7526).Symbol,a="function"==typeof i;(t.exports=function(t){return n[t]||(n[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=n},7917:t=>{var e={}.hasOwnProperty;t.exports=function(t,r){return e.call(t,r)}},7967:(t,e,r)=>{var n=r(4228),o=r(2956),i=r(3048),a=Object.defineProperty;e.f=r(1763)?Object.defineProperty:function(t,e,r){if(n(t),e=i(e,!0),n(r),o)try{return a(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},8270:(t,e,r)=>{var n=r(3344);t.exports=function(t){return Object(n(t))}},8305:(t,e,r)=>{"use strict";var n=r(4228),o=r(8270),i=r(1485),a=r(7087),c=r(8828),u=r(2535),s=Math.max,l=Math.min,f=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g;r(9228)("replace",2,(function(t,e,r,g){return[function(n,o){var i=t(this),a=null==n?void 0:n[e];return void 0!==a?a.call(n,i,o):r.call(String(i),n,o)},function(t,e){var o=g(r,t,this,e);if(o.done)return o.value;var f=n(t),p=String(this),d="function"==typeof e;d||(e=String(e));var v=f.global;if(v){var x=f.unicode;f.lastIndex=0}for(var y=[];;){var m=u(f,p);if(null===m)break;if(y.push(m),!v)break;""===String(m[0])&&(f.lastIndex=c(p,i(f.lastIndex),x))}for(var b,w="",S=0,E=0;E<y.length;E++){m=y[E];for(var O=String(m[0]),_=s(l(a(m.index),p.length),0),I=[],j=1;j<m.length;j++)I.push(void 0===(b=m[j])?b:String(b));var H=m.groups;if(d){var N=[O].concat(I,_,p);void 0!==H&&N.push(H);var C=String(e.apply(void 0,N))}else C=h(O,p,_,I,H,e);_>=S&&(w+=p.slice(S,_)+C,S=_+O.length)}return w+p.slice(S)}];function h(t,e,n,i,a,c){var u=n+t.length,s=i.length,l=d;return void 0!==a&&(a=o(a),l=p),r.call(c,l,(function(r,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(u);case"<":c=a[o.slice(1,-1)];break;default:var l=+o;if(0===l)return r;if(l>s){var p=f(l/10);return 0===p?r:p<=s?void 0===i[p-1]?o.charAt(1):i[p-1]+o.charAt(1):r}c=i[l-1]}return void 0===c?"":c}))}}))},8449:(t,e)=>{e.f={}.propertyIsEnumerable},8451:t=>{t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},8641:(t,e,r)=>{var n=r(8449),o=r(1996),i=r(7221),a=r(3048),c=r(7917),u=r(2956),s=Object.getOwnPropertyDescriptor;e.f=r(1763)?s:function(t,e){if(t=i(t),e=a(e,!0),u)try{return s(t,e)}catch(t){}if(c(t,e))return o(!n.f.call(t,e),t[e])}},8828:(t,e,r)=>{"use strict";var n=r(1212)(!0);t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},8859:(t,e,r)=>{var n=r(7526),o=r(3341),i=r(7917),a=r(4415)("src"),c=r(9461),u="toString",s=(""+c).split(u);r(6094).inspectSource=function(t){return c.call(t)},(t.exports=function(t,e,r,c){var u="function"==typeof r;u&&(i(r,"name")||o(r,"name",e)),t[e]!==r&&(u&&(i(r,a)||o(r,a,t[e]?""+t[e]:s.join(String(e)))),t===n?t[e]=r:c?t[e]?t[e]=r:o(t,e,r):(delete t[e],o(t,e,r)))})(Function.prototype,u,(function(){return"function"==typeof this&&this[a]||c.call(this)}))},8880:(t,e,r)=>{var n=r(3305),o=r(5170).set;t.exports=function(t,e,r){var i,a=e.constructor;return a!==r&&"function"==typeof a&&(i=a.prototype)!==r.prototype&&n(i)&&o&&o(t,i),t}},9228:(t,e,r)=>{"use strict";r(4116);var n=r(8859),o=r(3341),i=r(9448),a=r(3344),c=r(7574),u=r(9600),s=c("species"),l=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),f=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2===r.length&&"a"===r[0]&&"b"===r[1]}();t.exports=function(t,e,r){var p=c(t),d=!i((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),g=d?!i((function(){var e=!1,r=/a/;return r.exec=function(){return e=!0,null},"split"===t&&(r.constructor={},r.constructor[s]=function(){return r}),r[p](""),!e})):void 0;if(!d||!g||"replace"===t&&!l||"split"===t&&!f){var h=/./[p],v=r(a,p,""[t],(function(t,e,r,n,o){return e.exec===u?d&&!o?{done:!0,value:h.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}})),x=v[0],y=v[1];n(String.prototype,t,x),o(RegExp.prototype,p,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}}},9415:(t,e,r)=>{var n=r(4561),o=r(6140).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},9448:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},9461:(t,e,r)=>{t.exports=r(4556)("native-function-to-string",Function.toString)},9600:(t,e,r)=>{"use strict";var n,o,i=r(1158),a=RegExp.prototype.exec,c=String.prototype.replace,u=a,s="lastIndex",l=(n=/a/,o=/b*/g,a.call(n,"a"),a.call(o,"a"),0!==n[s]||0!==o[s]),f=void 0!==/()??/.exec("")[1];(l||f)&&(u=function(t){var e,r,n,o,u=this;return f&&(r=new RegExp("^"+u.source+"$(?!\\s)",i.call(u))),l&&(e=u[s]),n=a.call(u,t),l&&n&&(u[s]=u.global?n.index+n[0].length:e),f&&n&&n.length>1&&c.call(n[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)})),n}),t.exports=u}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var n={};return(()=>{"use strict";r.d(n,{default:()=>a}),r(489);var t=function(){var t=this,e=t._self._c;return e("div",{ref:"leTitleBoxOne",staticClass:"l-title-border-one",style:" width:".concat(t.getWidth,"px; height:").concat(t.getHeight,"px;")},[e("svg",{staticClass:"l-border-svg-container",attrs:{width:t.getWidth,height:t.getHeight}},[e("defs",[e("linearGradient",{attrs:{id:"gradient1",x1:"0",x2:"0",y1:"0",y2:"1"}},[e("stop",{attrs:{offset:"0%","stop-color":t.borderColor[0]}}),e("stop",{attrs:{offset:"100%","stop-color":t.borderColor[1]}})],1),e("linearGradient",{attrs:{id:"gradient2"}},[e("stop",{attrs:{offset:"0%","stop-color":t.borderColor[1],"stop-opacity":"0.8"}}),e("stop",{attrs:{offset:"100%","stop-color":t.borderColor[0],"stop-opacity":"0.5"}})],1),e("animate",{attrs:{id:"opacityId",attributeName:"fill-opacity",values:"0;1;0",dur:"5s",repeatCount:"indefinite"}})],1),e("g",[e("polygon",{attrs:{fill:"url(#gradient1)",points:"0,0 10,0 20,".concat(t.getHeight," 10,").concat(t.getHeight)}}),e("path",{attrs:{fill:"url(#gradient2)",d:"M 20,0 Q 26,".concat(t.getHeight+2," 60,").concat(t.getHeight," L ").concat(t.getWidth,",").concat(t.getHeight," ").concat(t.getWidth,",0 ")}})]),e("g",[e("polygon",{attrs:{fill:"#6EE2F4",points:"".concat(t.getWidth-15,",").concat(t.getHeight/2," ").concat(t.getWidth-25,",").concat(t.getHeight/2+10," ").concat(t.getWidth-25,",").concat(t.getHeight/2+5," ").concat(t.getWidth-20,",").concat(t.getHeight/2," ").concat(t.getWidth-25,",").concat(t.getHeight/2-5," ").concat(t.getWidth-25,",").concat(t.getHeight/2-10)}},[e("animate",{attrs:{attributeName:"fill-opacity",values:"1;0.2;1",dur:"".concat(t.dur,"s"),repeatCount:"indefinite"}})]),e("polygon",{attrs:{fill:"#ACF5F1",points:"".concat(t.getWidth-25,",").concat(t.getHeight/2," ").concat(t.getWidth-35,",").concat(t.getHeight/2+10," ").concat(t.getWidth-35,",").concat(t.getHeight/2+5," ").concat(t.getWidth-30,",").concat(t.getHeight/2," ").concat(t.getWidth-35,",").concat(t.getHeight/2-5," ").concat(t.getWidth-35,",").concat(t.getHeight/2-10)}},[e("animate",{attrs:{attributeName:"fill-opacity",values:"0.2;1;0.2",dur:"".concat(t.dur,"s"),repeatCount:"indefinite"}})])])]),e("div",{staticClass:"title-box-content"},[t._t("default")],2)])};t._withStripped=!0,r(4509),r(8305),r(4040);var e=function(t,e,r,n){var o=t.replace(/\d/g,""),i=parseFloat(t.match(/\d+/)[0]),a=null;if("rem"===o)a=parseFloat(getComputedStyle(document.documentElement).fontSize)*i;else if("em"===o){var c=e.parentNode;a=parseFloat(getComputedStyle(c).fontSize)*i}else"vw"===o||"vh"===o?a=i/100*("vw"===o?window.innerWidth||document.documentElement.clientWidth:window.innerHeight||document.documentElement.clientHeight):"%"===o?a=(("width"===r?e.parentNode.offsetWidth:e.parentNode.offsetHeight)*(i/100)).toFixed(2):"px"!==o&&""!==o||(a=i);return a<n&&console.error("lemonui:the Width or Height can't less than ".concat(n,"px")),a};r(3292);var o=function(t,e,r,n,o,i){var a,c=t;if(e&&(c.render=e,c.staticRenderFns=[],c._compiled=!0),i&&(c._scopeId="data-v-"+i),a)if(c.functional){c._injectStyles=a;var u=c.render;c.render=function(t,e){return a.call(e),u(t,e)}}else{var s=c.beforeCreate;c.beforeCreate=s?[].concat(s,a):[a]}return{exports:t,options:c}}({name:"LETitleBox1",props:{width:{type:String,default:"400px"},height:{type:String,default:"40px"},backgroundColor:{type:String,default:"transparent"},borderColor:{type:Array,default:function(){return["#5B14DC","#D6C3F7"]}},dur:{type:Number,default:2}},data:function(){return{getWidth:0,getHeight:0,resizeHandler:null}},methods:{initSize:function(){var t=this;this.$nextTick((function(){t.$refs.leTitleBoxOne&&(t.getWidth=e(t.width,t.$refs.leTitleBoxOne,"width",100),t.getHeight=e(t.height,t.$refs.leTitleBoxOne,"height",20))}))}},mounted:function(){var t,r,n,o=this;this.initSize(),this.resizeHandler=(t=function(){o.getWidth=e(o.width,o.$refs.leTitleBoxOne,"width",100),o.getHeight=e(o.height,o.$refs.leTitleBoxOne,"height",20)},r=null,n=0,function(){for(var e=this,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var c=Date.now();c-n>1e3?(t.apply(this,i),n=c):(clearTimeout(r),r=setTimeout((function(){t.apply(e,i),n=c}),1e3))}),window.addEventListener("resize",this.resizeHandler)},beforeDestroy:function(){window.removeEventListener("resize",this.resizeHandler)}},t,0,0,0,"72c8759b");const i=o.exports;i.install=function(t){t.component(i.name,i)};const a=i})(),n.default})()));