diff --git a/examples/app.html b/examples/app.html index e19068e..fa1dd5d 100644 --- a/examples/app.html +++ b/examples/app.html @@ -40,7 +40,7 @@ - + diff --git a/examples/app.umd.js b/examples/app.umd.js index c89804c..958e9bf 100644 --- a/examples/app.umd.js +++ b/examples/app.umd.js @@ -1,9 +1,9 @@ /*! - * app v1.0.0 + * app v1.0.1 * (c) 2018-2021 yuda-lyu(semisphere) * Released under the MIT License. */ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";var e=Array.isArray,t="object"==typeof global&&global&&global.Object===Object&&global,n="object"==typeof self&&self&&self.Object===Object&&self,r=t||n||Function("return this")(),i=r.Symbol,o=Object.prototype,s=o.hasOwnProperty,a=o.toString,l=i?i.toStringTag:void 0;var c=Object.prototype.toString;var u="[object Null]",d="[object Undefined]",h=i?i.toStringTag:void 0;function p(e){return null==e?void 0===e?d:u:h&&h in Object(e)?function(e){var t=s.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[l]=n:delete e[l]),i}(e):function(e){return c.call(e)}(e)}function f(e){return null!=e&&"object"==typeof e}var m="[object Symbol]";function g(e){return"symbol"==typeof e||f(e)&&p(e)==m}var v=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,y=/^\w*$/;function _(t,n){if(e(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!g(t))||(y.test(t)||!v.test(t)||null!=n&&t in Object(n))}function x(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var b="[object AsyncFunction]",S="[object Function]",w="[object GeneratorFunction]",C="[object Proxy]";function A(e){if(!x(e))return!1;var t=p(e);return t==S||t==w||t==b||t==C}var M,T=r["__core-js_shared__"],E=(M=/[^.]+$/.exec(T&&T.keys&&T.keys.IE_PROTO||""))?"Symbol(src)_1."+M:"";var L=Function.prototype.toString;function R(e){if(null!=e){try{return L.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var P=/^\[object .+?Constructor\]$/,k=Function.prototype,I=Object.prototype,O=k.toString,B=I.hasOwnProperty,D=RegExp("^"+O.call(B).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function U(e){return!(!x(e)||(t=e,E&&E in t))&&(A(e)?D:P).test(R(e));var t}function F(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return U(n)?n:void 0}var N=F(Object,"create");var z=Object.prototype.hasOwnProperty;var H=Object.prototype.hasOwnProperty;function V(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1},$.prototype.set=function(e,t){var n=this.__data__,r=j(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var X=F(r,"Map");function Y(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function q(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=Ie}var Be={};function De(e){return function(t){return e(t)}}Be["[object Float32Array]"]=Be["[object Float64Array]"]=Be["[object Int8Array]"]=Be["[object Int16Array]"]=Be["[object Int32Array]"]=Be["[object Uint8Array]"]=Be["[object Uint8ClampedArray]"]=Be["[object Uint16Array]"]=Be["[object Uint32Array]"]=!0,Be["[object Arguments]"]=Be["[object Array]"]=Be["[object ArrayBuffer]"]=Be["[object Boolean]"]=Be["[object DataView]"]=Be["[object Date]"]=Be["[object Error]"]=Be["[object Function]"]=Be["[object Map]"]=Be["[object Number]"]=Be["[object Object]"]=Be["[object RegExp]"]=Be["[object Set]"]=Be["[object String]"]=Be["[object WeakMap]"]=!1;var Ue="object"==typeof exports&&exports&&!exports.nodeType&&exports,Fe=Ue&&"object"==typeof module&&module&&!module.nodeType&&module,Ne=Fe&&Fe.exports===Ue&&t.process,ze=function(){try{var e=Fe&&Fe.require&&Fe.require("util").types;return e||Ne&&Ne.binding&&Ne.binding("util")}catch(e){}}(),He=ze&&ze.isTypedArray,Ve=He?De(He):function(e){return f(e)&&Oe(e.length)&&!!Be[p(e)]},We=Object.prototype.hasOwnProperty;function je(t,n){var r=e(t),i=!r&&Ae(t),o=!r&&!i&&Le(t),s=!r&&!i&&!o&&Ve(t),a=r||i||o||s,l=a?function(e,t){for(var n=-1,r=Array(e);++ni?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r=r?e:rt(e,t,n)}var ot=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function st(e){return ot.test(e)}function at(e,t,n){if(!x(n))return!1;var r=typeof t;return!!("number"==r?Je(n)&&ke(t,n.length):"string"==r&&t in n)&&W(n[t],e)}var lt=ze&&ze.isRegExp,ct=lt?De(lt):function(e){return f(e)&&"[object RegExp]"==p(e)};var ut="\\ud800-\\udfff",dt="["+ut+"]",ht="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",pt="\\ud83c[\\udffb-\\udfff]",ft="[^"+ut+"]",mt="(?:\\ud83c[\\udde6-\\uddff]){2}",gt="[\\ud800-\\udbff][\\udc00-\\udfff]",vt="(?:"+ht+"|"+pt+")"+"?",yt="[\\ufe0e\\ufe0f]?",_t=yt+vt+("(?:\\u200d(?:"+[ft,mt,gt].join("|")+")"+yt+vt+")*"),xt="(?:"+[ft+ht+"?",ht,mt,gt,dt].join("|")+")",bt=RegExp(pt+"(?="+pt+")|"+xt+_t,"g");function St(e){return st(e)?function(e){return e.match(bt)||[]}(e):function(e){return e.split("")}(e)}var wt=4294967295;function Ct(e,t,n){return n&&"number"!=typeof n&&at(e,t,n)&&(t=n=void 0),(n=void 0===n?wt:n>>>0)?(e=ue(e))&&("string"==typeof t||null!=t&&!ct(t))&&!(t=ce(t))&&st(e)?it(St(e),0,n):e.split(t,n):[]}function At(e){var t=this.__data__=new $(e);this.size=t.size}At.prototype.clear=function(){this.__data__=new $,this.size=0},At.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},At.prototype.get=function(e){return this.__data__.get(e)},At.prototype.has=function(e){return this.__data__.has(e)},At.prototype.set=function(e,t){var n=this.__data__;if(n instanceof $){var r=n.__data__;if(!X||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new q(r)}return n.set(e,t),this.size=n.size,this};function Mt(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new q;++ta))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var d=-1,h=!0,p=n&Rt?new Mt:void 0;for(o.set(e,t),o.set(t,e);++d0}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function qi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Zi={exports:{}};!function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,r,o,s){if("function"!=typeof r)throw new TypeError("The listener must be a function");var a=new i(r,o||e,s),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],a]:e._events[l].push(a):(e._events[l]=a,e._eventsCount++),e}function s(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function a(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),a.prototype.eventNames=function(){var e,r,i=[];if(0===this._eventsCount)return i;for(r in e=this._events)t.call(e,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},a.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,s=new Array(o);i1&&void 0!==arguments[1]?arguments[1]:{},n=me(t,"timeInterval",null);Yi(n)||(n=20);let r=me(t,"tolerancePixel",null);Yi(r)||(r=1);let i,o=Ki(),s={offsetWidth:0,offsetHeight:0,clientWidth:0,clientHeight:0,windowWidth:0,windowHeight:0},a=Ai(s),l={width:"",height:""};if(!Qi(e))return console.log("invalid f",e),null;i=setInterval((()=>{let t=e();if(t){let e={offsetWidth:t.offsetWidth,offsetHeight:t.offsetHeight,clientWidth:t.clientWidth,clientHeight:t.clientHeight,windowWidth:window.innerWidth,windowHeight:window.innerHeight},n=a.offsetWidth-e.offsetWidth,i=a.offsetHeight-e.offsetHeight,c=Math.abs(n)>r,u=Math.abs(i)>r,d="";n>0?d="smaller":n<0&&(d="larger");let h="";if(i>0?h="smaller":i<0&&(h="larger"),l={width:d,height:h},c||u){let n=function(e){for(var t=1;t{e.offsetWidth>0&&e.offsetHeight>0&&(o.emit("resize",{sold:n,snew:e,smode:l,ele:t}),o.emit("resizeWithWindow",{sold:n,snew:e,smode:l,ele:t,from:"dom"}))}),1)}s=a,a=e}}),n);let c=e=>{o.emit("resizeWithWindow",{sold:s,snew:a,smode:l,from:"window"})};return window.addEventListener("resize",c),o.clear=()=>{clearInterval(i),window.removeEventListener("resize",c)},o}let no="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),ro=no.length;function io(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,t=[];e=Yi(e)?Xi(e):32;for(let n=0;nt));o.on("resizeWithWindow",(e=>{!function(e,t,n){let r=e.data&&e.data.on||e.componentOptions&&e.componentOptions.listeners;r&&r[t]&&r[t].fns(n)}(r,"domresize",e)})),e[i]=o},unbind:function(t){let n=t.getAttribute("ev-resize");t.setAttribute("ev-resize",null),e[n]&&(e[n].clear(),e[n]=null,delete e[n])}}}var so,ao=(so="toUpperCase",function(e){var t=st(e=ue(e))?St(e):void 0,n=t?t[0]:e.charAt(0),r=t?it(t,1).join(""):e.slice(1);return n[so]()+r});var lo,co=(lo={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},function(e){return null==lo?void 0:lo[e]}),uo=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ho=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var po=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var fo=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var mo="\\ud800-\\udfff",go="\\u2700-\\u27bf",vo="a-z\\xdf-\\xf6\\xf8-\\xff",yo="A-Z\\xc0-\\xd6\\xd8-\\xde",_o="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",xo="["+_o+"]",bo="\\d+",So="["+go+"]",wo="["+vo+"]",Co="[^"+mo+_o+bo+go+vo+yo+"]",Ao="(?:\\ud83c[\\udde6-\\uddff]){2}",Mo="[\\ud800-\\udbff][\\udc00-\\udfff]",To="["+yo+"]",Eo="(?:"+wo+"|"+Co+")",Lo="(?:"+To+"|"+Co+")",Ro="(?:['’](?:d|ll|m|re|s|t|ve))?",Po="(?:['’](?:D|LL|M|RE|S|T|VE))?",ko="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Io="[\\ufe0e\\ufe0f]?",Oo=Io+ko+("(?:\\u200d(?:"+["[^"+mo+"]",Ao,Mo].join("|")+")"+Io+ko+")*"),Bo="(?:"+[So,Ao,Mo].join("|")+")"+Oo,Do=RegExp([To+"?"+wo+"+"+Ro+"(?="+[xo,To,"$"].join("|")+")",Lo+"+"+Po+"(?="+[xo,To+Eo,"$"].join("|")+")",To+"?"+Eo+"+"+Ro,To+"+"+Po,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",bo,Bo].join("|"),"g");function Uo(e,t,n){return e=ue(e),void 0===(t=n?void 0:t)?function(e){return fo.test(e)}(e)?function(e){return e.match(Do)||[]}(e):function(e){return e.match(po)||[]}(e):e.match(t)||[]}var Fo=RegExp("['’]","g");var No,zo=(No=function(e,t,n){return t=t.toLowerCase(),e+(n?ao(ue(t).toLowerCase()):t)},function(e){return function(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i2&&void 0!==arguments[2]?arguments[2]:{},r=me(n,"timeDuration",null);Yi(r)||(r=1e3);let i=me(n,"color",null);if($n(i)||(i="rgba(255, 255, 255, 0.5)"),!Qo(e))return;e.style.position="relative",e.style.overflow="hidden";let o=e.getBoundingClientRect(),s=t.clientX-o.left,a=t.clientY-o.top,l=2*Math.max(e.clientWidth,e.clientHeight),c=document.createElement("div");c.style.width=`${l}px`,c.style.height=`${l}px`,c.style.transition=`all ${r/1e3}s linear`,c.style.position="absolute",c.style.zIndex=1,c.style.left=`${s}px`,c.style.top=`${a}px`,c.style.borderRadius="50%",c.style.transformOrigin="center",c.style.transform="translate(-50%,-50%) scale(0)",c.style.background=i,c.style.userSelect="none",c.style.pointerEvents="none",e.appendChild(c),setTimeout((()=>{c.style.transform="translate(-50%,-50%) scale(2)",c.style.opacity=0}),1),setTimeout((()=>{es(c)}),r)}function ns(){let e={};return{bind:function(t,n,r){let i=`r${io()}`;t.setAttribute("ev-ripple",i),function(t,n){let r=t.getAttribute("ev-ripple"),i=me(n,"value");if(i=Go(i),!i)return;let o=me(n,"value.color");if(!$n(o))return;o=Wo(o);let s=me(n,"value.timeDuration");zi(s)||(s=1e3);function a(e){ts(e.currentTarget,e,{color:o,timeDuration:s})}s=Hi(s),t.addEventListener("click",a,!1),e[r]=a}(t,n)},unbind:function(t){!function(t){let n=t.getAttribute("ev-ripple");if(e[n]){let r=e[n];t.removeEventListener("click",r,!1),delete e[n]}}(t),t.setAttribute("ev-ripple",null)}}}var rs="[object Boolean]";function is(e){return!0===e||!1===e||f(e)&&p(e)==rs}function os(e){return is(e)}var ss="[object Number]";function as(e){return"number"==typeof e||f(e)&&p(e)==ss}function ls(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=me(t,"parse");os(n)||(n=!0);let r=me(t,"ext");Go(r)||(r={});let i=me(t,"semicolon");os(i)||(i=!0);let o=me(t,"returnObj");os(o)||(o=!1);let s=0,a=0,l=0,c=0;if(n){let t=function(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=me(n,"def",""),i=me(n,"type","");"num"!==i&&"text"!==i&&(i="num"),"num"===i?t=as:"text"===i&&(t=Gn);let o=r,s=r,a=r,l=r;return t(me(e,"h"))&&(o=me(e,"h"),s=o),t(me(e,"v"))&&(a=me(e,"v"),l=a),t(me(e,"left"))&&(o=me(e,"left")),t(me(e,"right"))&&(s=me(e,"right")),t(me(e,"top"))&&(a=me(e,"top")),t(me(e,"bottom"))&&(l=me(e,"bottom")),{left:o,right:s,top:a,bottom:l}}(e);s=t.left,a=t.right,l=t.top,c=t.bottom}s+=me(r,"left",0),a+=me(r,"right",0),l+=me(r,"top",0),c+=me(r,"bottom",0);let u=null;return o?u={left:s,right:a,top:l,bottom:c}:(u=`${l}px ${a}px ${c}px ${s}px`,i&&(u=`${u};`)),u}function cs(e){return"[object Array]"===Object.prototype.toString.call(e)}function us(e){return!!function(e){return"[object Undefined]"===Object.prototype.toString.call(e)}(e)||(!!function(e){return"[object Null]"===Object.prototype.toString.call(e)}(e)||(!!function(e){if(fr(e)){for(let t in e)return!1;return!0}return!1}(e)||(!!function(e){return!(!Gn(e)||""!==e)}(e)||(!!function(e){return!!cs(e)&&0===e.length}(e)||!!Ni(e)))))}function ds(e){return!!cs(e)&&(0!==e.length&&(1!==e.length||!us(e[0])))}var hs={components:{},props:{icon:{type:[String,Array],default:""},color:{type:String,default:"grey darken-1"},colorHover:{type:String,default:"grey darken-3"},sizeOriginal:{type:Number,default:24},size:{type:Number,default:24},timeTransition:{type:Number,default:.15}},data:function(){return{mouseEnter:!1,r:.83,paths:[]}},computed:{hasIcon:function(){return $n(this.icon)},isMdi:function(){return!!this.hasIcon&&this.icon.indexOf("mdi-")>=0},isFa:function(){return!!this.hasIcon&&this.icon.indexOf(" fa-")>=0},isSvg:function(){let e=this;if(e.isMdi||e.isFa)return!1;let t=$n(e.icon),n=ds(e.icon);return t||n},usePaths:function(){let e=this;if(!e.isSvg)return[];let t=e.icon;return $n(e.icon)&&(t=[e.icon]),t},useIconColor:function(){let e=this;return e.mouseEnter?Wo(e.colorHover):Wo(e.color)},useStyleSize:function(){let e=this;return{width:`${e.size}px`,height:`${e.size}px`,"line-height":`${e.size}px`,"max-height":`${e.size}px`,"min-height":`${e.size}px`}}},methods:{}};function ps(e,t,n,r,i,o,s,a,l,c){"boolean"!=typeof s&&(l=a,a=s,s=!1);const u="function"==typeof n?n.options:n;let d;if(e&&e.render&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0,i&&(u.functional=!0)),r&&(u._scopeId=r),o?(d=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__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(o)},u._ssrRegister=d):t&&(d=s?function(e){t.call(this,c(e,this.$root.$options.shadowRoot))}:function(e){t.call(this,a(e))}),d)if(u.functional){const e=u.render;u.render=function(t,n){return d.call(n),e(t,n)}}else{const e=u.beforeCreate;u.beforeCreate=e?[].concat(e,d):[d]}return n}const fs="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function ms(e){return(e,t)=>function(e,t){const n=fs?t.media||"default":e,r=vs[n]||(vs[n]={ids:new Set,styles:[]});if(!r.ids.has(e)){r.ids.add(e);let n=t.source;if(t.map&&(n+="\n/*# sourceURL="+t.map.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t.map))))+" */"),r.element||(r.element=document.createElement("style"),r.element.type="text/css",t.media&&r.element.setAttribute("media",t.media),void 0===gs&&(gs=document.head||document.getElementsByTagName("head")[0]),gs.appendChild(r.element)),"styleSheet"in r.element)r.styles.push(n),r.element.styleSheet.cssText=r.styles.filter(Boolean).join("\n");else{const e=r.ids.size-1,t=document.createTextNode(n),i=r.element.childNodes;i[e]&&r.element.removeChild(i[e]),i.length?r.element.insertBefore(t,i[e]):r.element.appendChild(t)}}}(e,t)}let gs;const vs={};const ys=hs;var _s=function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.icon?n("div",{style:[e.useStyleSize,{display:"flex","align-items":"center","user-select":"none",border:"0px solid #ddd"}],on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:function(t){e.$emit("click",t)}.apply(null,arguments)},click:function(t){e.$emit("click",t)}}},[e.isSvg?n("svg",{style:"transition:all "+e.timeTransition+"s linear; fill:"+e.useIconColor+";",attrs:{width:e.size,height:e.size,viewBox:"0 0 "+e.sizeOriginal+" "+e.sizeOriginal},on:{mouseenter:function(t){e.mouseEnter=!0},mouseleave:function(t){e.mouseEnter=!1}}},e._l(e.usePaths,(function(t,r){return n("path",{key:r,attrs:{d:e.icon}})})),0):e._e(),e._v(" "),e.isMdi?n("div",{style:"transition:all "+e.timeTransition+"s linear; width:"+e.size+"px; height:"+e.size+"px; color:"+e.useIconColor+"; display:flex; align-items:center; justify-content:center;",on:{mouseenter:function(t){e.mouseEnter=!0},mouseleave:function(t){e.mouseEnter=!1}}},[n("span",{class:"mdi "+e.icon,style:"font-size:"+e.size+"px;"})]):e._e(),e._v(" "),e.isFa?n("div",{style:"transition:all "+e.timeTransition+"s linear; width:"+e.size+"px; height:"+e.size+"px; color:"+e.useIconColor+"; display:flex; align-items:center; justify-content:center;",on:{mouseenter:function(t){e.mouseEnter=!0},mouseleave:function(t){e.mouseEnter=!1}}},[n("div",{style:"width:"+e.size+"px; height:"+e.size+"px; _transform-origin:center; transform:translateX(0px) translateY(0px) scale("+e.r+");"},[n("div",{staticStyle:{display:"flex","align-items":"center","justify-content":"center"}},[n("i",{class:"fas "+e.icon,style:"font-size:"+e.size+"px;"})])])]):e._e()]):e._e()};_s._withStripped=!0;const xs=ps({render:_s,staticRenderFns:[]},(function(e){e&&e("data-v-0b5c1a37_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WIcon.vue"},media:void 0})}),ys,"data-v-0b5c1a37",false,undefined,!1,ms,void 0,void 0);const bs={directives:{domripple:ns()},components:{WIcon:xs},props:{text:{type:String,default:""},textFontSize:{type:String,default:"1rem"},active:{type:Boolean,default:!1},paddingStyle:{type:Object,default:()=>({v:10,h:12})},borderRadius:{type:Number,default:0},backgroundColor:{type:String,default:"white"},backgroundColorHover:{type:String,default:"rgba(200,200,200,0.2)"},backgroundColorActive:{type:String,default:"orange lighten-1"},backgroundColorDisabled:{type:String,default:"white"},textColor:{type:String,default:"#444"},textColorHover:{type:String,default:"#222"},textColorActive:{type:String,default:"white"},textColorDisabled:{type:String,default:"#444"},icon:{type:String,default:""},iconSize:{type:Number,default:22},iconColor:{type:String,default:"#444"},iconColorHover:{type:String,default:"#222"},iconColorActive:{type:String,default:"white"},iconColorDisabled:{type:String,default:"#444"},rippleColor:{type:String,default:"rgba(255,255,255,0.4)"},editable:{type:Boolean,default:!0},disabledColor:{type:String,default:"rgba(255,255,255,0.5)"},cursorPointer:{type:Boolean,default:!0}},data:function(){return{mouseEnter:!1}},computed:{useTextFontSize:function(){let e=this.textFontSize;return e=jo(e,";",""),`font-size:${e};`},hasIcon:function(){return""!==this.icon},usePadding:function(){let e=this;return`padding:${ls(e.paddingStyle,{ext:{left:e.shiftLeft,right:e.shiftRight}})};`},effBackgroundColor:function(){return Wo(this.backgroundColor)},effBackgroundColorHover:function(){return Wo(this.backgroundColorHover)},effBackgroundActive:function(){return Wo(this.backgroundColorActive)},effBackgroundColorDisabled:function(){return Wo(this.backgroundColorDisabled)},useBackgroundColor:function(){let e=this;return e.editable?e.active?e.effBackgroundActive:e.mouseEnter?e.effBackgroundColorHover:e.effBackgroundColor:e.effBackgroundColorDisabled},effTextColor:function(){return Wo(this.textColor)},effTextColorHover:function(){return Wo(this.textColorHover)},effTextActive:function(){return Wo(this.textColorActive)},effTextColorDisabled:function(){return Wo(this.textColorDisabled)},useTextColor:function(){let e=this;return e.editable?e.active?e.effTextActive:e.mouseEnter?e.effTextColorHover:e.effTextColor:e.effTextColorDisabled},effIconColor:function(){return Wo(this.iconColor)},effIconColorHover:function(){return Wo(this.iconColorHover)},effIconActive:function(){return Wo(this.iconColorActive)},effIconColorDisabled:function(){return Wo(this.iconColorDisabled)},useIconColor:function(){let e=this;return e.editable?e.active?e.effIconActive:e.mouseEnter?e.effIconColorHover:e.effIconColor:e.effIconColorDisabled},effDisabledColor:function(){return Wo(this.disabledColor)}},methods:{clickItem:function(){let e=this;e.editable&&e.$emit("click",{icon:e.icon,text:e.text})}}};var Ss=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"domripple",rawName:"v-domripple",value:{color:e.rippleColor},expression:"{color:rippleColor}"}],style:"position:relative; transition:all 0.3s; border-top-left-radius:"+e.borderRadius+"px; border-top-right-radius:"+e.borderRadius+"px; "+e.usePadding+" background:"+e.useBackgroundColor+"; "+(e.editable&&e.cursorPointer?"cursor:pointer;":""),on:{mouseenter:function(t){e.mouseEnter=!0},mouseleave:function(t){e.mouseEnter=!1},click:e.clickItem}},[n("div",{style:"transition:all 0.3s; color:"+e.useTextColor+"; "+e.useTextFontSize},[e._t("item",(function(){return[n("div",{staticStyle:{display:"flex","align-items":"center"}},[e._t("item-left",null,{isHover:e.mouseEnter,isActive:e.active}),e._v(" "),e._t("item-content",(function(){return[e.hasIcon?n("WIcon",{staticStyle:{"margin-right":"8px"},attrs:{icon:e.icon,color:e.useIconColor,colorHover:e.useIconColor,size:e.iconSize}}):e._e(),e._v(" "),n("div",[e._v("\n "+e._s(e.text)+"\n ")])]}),{isHover:e.mouseEnter,isActive:e.active}),e._v(" "),e._t("item-right",null,{isHover:e.mouseEnter,isActive:e.active})],2)]}),{isHover:e.mouseEnter,isActive:e.active}),e._v(" "),e.editable?e._e():n("div",{staticStyle:{position:"absolute",left:"0",right:"0",top:"0",bottom:"0"}},[n("div",{style:"overflow:hidden; width:100%; height:100%;"},[n("div",{style:"background:"+e.effDisabledColor+"; height:100%;"})])])],2)])};Ss._withStripped=!0;const ws=ps({render:Ss,staticRenderFns:[]},(function(e){e&&e("data-v-17787ae0_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WListItem.vue"},media:void 0})}),bs,"data-v-17787ae0",false,undefined,!1,ms,void 0,void 0);var Cs={directives:{domresize:oo()},components:{WListItem:ws},props:{items:{type:Array,default:()=>[]},enableActive:{type:Boolean,default:!0},itemActive:{type:[String,Object],default:null},itemTextFontSize:{type:String,default:"1rem"},keyText:{type:String,default:"text"},keyIcon:{type:String,default:"icon"},space:{type:Number,default:0},paddingStyle:{type:Object,default:()=>({v:10,h:12})},itemBorderRadius:{type:Number,default:0},itemBackgroundColor:{type:String,default:"transparent"},itemBackgroundColorHover:{type:String,default:"rgba(200,200,200,0.2)"},itemBackgroundColorActive:{type:String,default:"white"},itemBackgroundColorDisabled:{type:String,default:"white"},itemTextColor:{type:String,default:"#444"},itemTextColorHover:{type:String,default:"#222"},itemTextColorActive:{type:String,default:"orange darken-3"},itemTextColorDisabled:{type:String,default:"#444"},itemIconSize:{type:Number,default:22},itemIconColor:{type:String,default:"#444"},itemIconColorHover:{type:String,default:"#222"},itemIconColorActive:{type:String,default:"orange darken-3"},itemIconColorDisabled:{type:String,default:"#444"},itemRippleColor:{type:String,default:"rgba(245,124,0,0.4)"},borderBottom:{type:Boolean,default:!0},borderBottomSize:{type:Number,default:2},borderBottomColor:{type:String,default:"rgba(245,124,0,0.8)"},itemDisabledColor:{type:String,default:"transparent"},itemCursorPointer:{type:Boolean,default:!0}},data:function(){return{borderBottomLeft:0,borderBottomWidth:0,itemActiveTrans:null}},watch:{itemActiveTrans:{handler(e,t){this.updateBorderBottom()},immediate:!0}},computed:{changeItemActive:function(){let e=this;return e.enableActive&&(e.itemActiveTrans=e.itemActive),""},isObjValue:function(){return 0!==ur(this.items)&&function(t,n,r){var i=e(t)?dr:hr;return r&&at(t,n,r)&&(n=void 0),i(t,Vn(n))}(this.items,(e=>fr(e)))},effBorderBottomColor:function(){return Wo(this.borderBottomColor)}},methods:{resize:function(e){this.updateBorderBottom()},getIcon:function(e){let t=this;return t.isObjValue?me(e,t.keyIcon,""):""},getText:function(e){let t=this;if(t.isObjValue){return me(e,t.keyText,"")}return e},getActive:function(e){let t=this,n=!1;return t.enableActive&&(n=pr(e,t.itemActiveTrans)),n},getEditable:function(e){return me(e,"editable",!0)},updateBorderBottom:function(){let e=this;if(null==e.itemActiveTrans)return;let t=0,n=[];nt(me(e,"$refs.wli",[]),((r,i)=>{let o=r,s=me(o,"clientWidth",0),a=me(o,"clientHeight",0),l=t,c=s,u=a;i>0&&e.space>0&&(l+=e.space,c-=e.space),n.push({left:l,bottom:0,width:c,heiht:u}),t+=s}));let r=-1;if(nt(e.items,((t,n)=>{if(pr(t,e.itemActiveTrans))return r=n,!1})),-1===r)return;let i=n[r];e.borderBottomLeft=i.left,e.borderBottomWidth=i.width},ckItem:function(e,t){let n=this;if(!n.getEditable(e))return;n.itemActiveTrans=e;let r=null;r=n.isObjValue?{...e}:e,n.$emit("click",r,t),n.$emit("update:itemActive",r)}}};const As=Cs;var Ms=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"domresize",rawName:"v-domresize"}],attrs:{changeItemActive:e.changeItemActive},on:{domresize:e.resize}},[n("div",{staticStyle:{position:"relative",display:"flex","align-items":"center","white-space":"nowrap"}},[e.borderBottom?n("div",{style:"transition:all 0.3s; position:absolute; z-index:1; bottom:0px; left:"+e.borderBottomLeft+"px; padding-left:"+e.borderBottomWidth+"px; border-bottom:"+e.borderBottomSize+"px solid "+e.effBorderBottomColor+";"}):e._e(),e._v(" "),e._l(e.items,(function(t,r){return n("div",{key:r},[n("div",{ref:"wli",refInFor:!0,style:e.space>0&&r>0?"padding-left:"+e.space+"px;":""},[n("WListItem",{attrs:{icon:e.getIcon(t),text:e.getText(t),textFontSize:e.itemTextFontSize,active:e.getActive(t),paddingStyle:e.paddingStyle,borderRadius:e.itemBorderRadius,backgroundColor:e.itemBackgroundColor,backgroundColorHover:e.itemBackgroundColorHover,backgroundColorActive:e.itemBackgroundColorActive,backgroundColorDisabled:e.itemBackgroundColorDisabled,textColor:e.itemTextColor,textColorHover:e.itemTextColorHover,textColorActive:e.itemTextColorActive,textColorDisabled:e.itemTextColorDisabled,iconSize:e.itemIconSize,iconColor:e.itemIconColor,iconColorHover:e.itemIconColorHover,iconColorActive:e.itemIconColorActive,iconColorDisabled:e.itemIconColorDisabled,rippleColor:e.getEditable(t)?e.itemRippleColor:null,editable:e.getEditable(t),disabledColor:e.itemDisabledColor,cursorPointer:e.itemCursorPointer},on:{click:function(n){return e.ckItem(t,r)}},scopedSlots:e._u([{key:"item",fn:function(n){return[e._t("item",null,{item:t,kitem:r,isHover:n.isHover,isActive:n.isActive})]}},{key:"item-left",fn:function(n){return[e._t("item-left",null,{item:t,kitem:r,isHover:n.isHover,isActive:n.isActive})]}},{key:"item-content",fn:function(n){return[e._t("item-content",null,{item:t,kitem:r,isHover:n.isHover,isActive:n.isActive})]}},{key:"item-right",fn:function(n){return[e._t("item-right",null,{item:t,kitem:r,isHover:n.isHover,isActive:n.isActive})]}}],null,!0)})],1)])}))],2)])};Ms._withStripped=!0;const Ts=ps({render:Ms,staticRenderFns:[]},(function(e){e&&e("data-v-0516b267_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WListHorizontal.vue"},media:void 0})}),As,"data-v-0516b267",false,undefined,!1,ms,void 0,void 0);function Es(e,t,n){return null==e?e:function(e,t,n,r){if(!x(e))return e;for(var i=-1,o=(t=de(t,e)).length,s=o-1,a=e;null!=a&&++i-1?r[i?e[o]:o]:void 0});function Is(e){return ue(e).toUpperCase()}function Os(e,t,n){for(var r=-1,i=e.length;++rt}function Fs(e){return e&&e.length?Os(e,tt,Us):void 0}var Ns=Math.max;var zs=_r?function(e,t){return _r(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:tt,Hs=zs,Vs=Date.now;var Ws=function(e){var t=0,n=0;return function(){var r=Vs(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(Hs),js=Ws;function Gs(e,t){return js(function(e,t,n){return t=Ns(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=Ns(r.length-t,0),s=Array(o);++i-1;)a!==e&&qs.call(a,l,1),qs.call(e,l,1);return e}(e,t):e})),Js=i?i.isConcatSpreadable:void 0;function Ks(t){return e(t)||Ae(t)||!!(Js&&t&&t[Js])}function Qs(e,t,n,r,i){var o=-1,s=e.length;for(n||(n=Ks),i||(i=[]);++o0&&n(a)?t>1?Qs(a,t-1,n,r,i):Zt(i,a):r||(i[i.length]=a)}return i}function ea(){let e,t,n=new Promise((function(){e=arguments[0],t=arguments[1]}));return n.resolve=e,n.reject=t,n}async function ta(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=ea();if(!Qi(e))return r.reject("waitfunction需輸入函數f"),r;let i=async()=>{let t=e();return function(e){let t,n=Object.prototype.toString.call(e);if(t="[object Promise]"===n,t)return!0;if("[object Function]"!==n)return!1;try{t="function"!=typeof e.subscribe&&"function"==typeof e.then}catch(e){}return t}(t)&&(t=await t),t};if(n=await i(),!0===n)return r.resolve(),r;let o=me(t,"attemptNum",null);Yi(o)||(o=200);let s=me(t,"timeInterval",null);Yi(s)||(s=1e3);let a=0,l=setInterval((async()=>{a+=1,n=await i(),!0===n&&(clearInterval(l),r.resolve()),a>o&&(clearInterval(l),r.reject(`exceeded attemptNum[${o}]`))}),s);return r}function na(e,t){return!!fr(e)&&(!(!$n(t)&&!zi(t))&&t in e)}function ra(e,t){let n=ea();if(!cs(e)&&!fr(e))return n.reject("rs is not an array or object"),n;let r=!1;if(fr(e)){r=!0;let t=[];nt(e,((e,n)=>{t.push({k:n,v:e})})),e=t}Qi(t)||(t=function(e){return e});let i=-1,o=[];return e.reduce((function(e,n){return e.then((function(e){o.push(e),i+=1;let s=i,a=n;return r&&(s=n.k,a=n.v),Qi(t)?t(a,s):a}))}),Promise.resolve()).then((function(e){var t,r,i,s;o.push(e),s=null==(t=o)?0:t.length,o=s?rt(t,(r=i||void 0===r?1:Fi(r))<0?0:r,s):[],n.resolve(o)})).catch((function(e){n.reject(e)})),n}function ia(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;zi(e)||(e=10);let t=ea();return setTimeout((function(){t.resolve()}),e),t}function oa(e){if(!Vi(e))return!1;return Xi(e)>=0}function sa(e,t){return $n(e)&&oa(t)?0===(t=Xi(t))?"":e.substring(0,t):""}function aa(e,t){if(!$n(e))return"";if(!oa(t))return"";if(0===(t=Xi(t)))return"";let n=e.length-t;return n<0&&(n=0),e.substr(n,t)}function la(e,t){return $n(e)&&oa(t)?0===(t=Xi(t))?e:aa(e,e.length-t):""}function ca(e,t,n){if((e=ue(e))&&(n||void 0===t))return Ei(e);if(!e||!(t=ce(t)))return e;var r=St(e),i=St(t),o=function(e,t){for(var n=-1,r=e.length;++n-1;);return n}(r,i),s=function(e,t){for(var n=e.length;n--&&Xs(t,e[n],0)>-1;);return n}(r,i)+1;return it(r,o,s).join("")}function ua(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e==e,o=g(e),s=void 0!==t,a=null===t,l=t==t,c=g(t);if(!a&&!c&&!o&&e>t||o&&s&&l&&!a&&!c||r&&s&&l||!n&&l||!i)return 1;if(!r&&!o&&!c&&e=a?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,r)}))}var ha=Gs((function(e,t){if(null==e)return[];var n=t.length;return n>1&&at(e,t[0],t[1])?t=[]:n>2&&at(t[0],t[1],t[2])&&(t=[t[0]]),da(e,Qs(t,1),[])}));function pa(e){return ue(e).toLowerCase()}function fa(e,t){if(!$n(e))return[];if(!$n(t))return[];let n=function(e,t){return $n(e)&&$n(t)?e.split(t):[]}(e,t);n=jn(n,ca);let r=[];return nt(n,(function(e){$n(e)&&r.push(e)})),r}function ma(e){if(!$n(e)&&!zi(e)&&!g(e))return"";let t="";try{t=String(e)}catch(e){}try{t=e.toString()}catch(e){}return t}function ga(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return $n(e)&&oa(t)?(n=Yi(n)?Xi(n):1,e.substring(t,t+n)):""}let va={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function ya(e){return xa(e,1)}function _a(e){return xa(e,360)}function xa(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(e.indexOf("%")>=0){if(!zi(e=jo(e,"%","")))throw new Error("invalid color: value is not a number");e=Hi(e)/100}else{if(!zi(e))throw new Error("invalid color: value is not a number");e=Hi(e)/t}if(e>1)throw new Error("invalid color: value > 1");if(e<0)throw new Error("invalid color: value < 0");return e}function ba(e){if(!zi(e))throw new Error("invalid color: value is not a number");if((e=Hi(e))>1)throw new Error("invalid color: value > 1");if(e<0)throw new Error("invalid color: value < 0");return e}function Sa(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"rgba";if(!cs(e))throw new Error("invalid colors array");let n=me(e,0,0),r=me(e,1,0),i=me(e,2,0),o=me(e,3,1);if(t=t.split(""),4!==ur(t))throw new Error("tar.length !== 4");return{[me(t,0)]:n,[me(t,1)]:r,[me(t,2)]:i,[me(t,3)]:o}}function wa(e){let t=ur(e=la(e,1));if(2===t)e=`${e}${e}${e}ff`;else if(3===t){let t=ga(e,0,1),n=ga(e,1,1),r=ga(e,2,1);e=`${t}${t}${n}${n}${r}${r}ff`}else if(6===t)e=`${e}ff`;else if(8!==t)throw new Error("invalid hex color");function n(e){if(2!==ur(e))throw new Error("hex.length of color is not equal to 2");if(!zi(e=parseInt(e,16)))throw new Error("invalid hex of color");return(e=Hi(e))/255}return{r:n(ga(e,0,2)),g:n(ga(e,2,2)),b:n(ga(e,4,2)),a:n(ga(e,6,2))}}function Ca(e){return e=Sa(e=jn(e,((e,t)=>t<=2?xa(e,255):3===t?ba(e):null)),"rgba")}function Aa(e){return e=Ia(e=Sa(e=jn(e,((e,t)=>0===t?_a(e):1===t||2===t?ya(e):3===t?ba(e):null)),"hsla"))}function Ma(e){return e=Oa(e=Sa(e=jn(e,((e,t)=>0===t?_a(e):1===t||2===t?ya(e):3===t?ba(e):null)),"hsva"))}function Ta(e){if("transparent"===e)return{r:0,g:0,b:0,a:0};if(function(e){return na(va,e)}(e))return wa(e=`#${va[e]}`);if(function(e){return"#"===sa(e,1)&&(!!/[0-9A-Fa-f]{2}/g.test(e)||(!!/[0-9A-Fa-f]{3}/g.test(e)||(!!/[0-9A-Fa-f]{6}/g.test(e)||!!/[0-9A-Fa-f]{8}/g.test(e))))}(e))return wa(e);if(function(e){return"rgb"===sa(e,3)||"rgba"===sa(e,4)}(e))return function(e){return e=jo(e,"rgba",""),e=jo(e,"rgb",""),Ca(fa(e=jo(e=e.replace(/[()]/g,""),","," ")," "))}(e);if(function(e){return"hsl"===sa(e,3)||"hsla"===sa(e,4)}(e))return function(e){return e=jo(e,"hsla",""),e=jo(e,"hsl",""),Aa(fa(e=jo(e=e.replace(/[()]/g,""),","," ")," "))}(e);if(function(e){return"hsv"===sa(e,3)||"hsva"===sa(e,4)}(e))return function(e){return e=jo(e,"hsva",""),e=jo(e,"hsv",""),Ma(fa(e=jo(e=e.replace(/[()]/g,""),","," ")," "))}(e);throw new Error("format of color string is not hex-color, name-color, rgba, hsla, hsva")}function Ea(e,t){return!!na(e,t=pa(t))||!!na(e,t=Is(t))}function La(e,t,n){let r;return r=me(e,t,null),null!==r?r:(r=me(e,t=Is(t),null),null!==r?r:n)}function Ra(e){if(function(e){let t=Ea(e,"r"),n=Ea(e,"g"),r=Ea(e,"b");return t&&n&&r}(e))return function(e){let t=[La(e,"r",null),La(e,"g",null),La(e,"b",null),La(e,"a",1)];return t=jn(t,ma),Ca(t)}(e);if(function(e){let t=Ea(e,"h"),n=Ea(e,"s"),r=Ea(e,"l");return t&&n&&r}(e))return function(e){let t=[La(e,"h",null),La(e,"s",null),La(e,"l",null),La(e,"a",1)];return t=jn(t,ma),Aa(t)}(e);if(function(e){let t=Ea(e,"h"),n=Ea(e,"s"),r=Ea(e,"v");return t&&n&&r}(e))return function(e){let t=[La(e,"h",null),La(e,"s",null),La(e,"v",null),La(e,"a",1)];return t=jn(t,ma),Ma(t)}(e);throw new Error("color object is not one of rgba, hsla, hsva")}function Pa(e){let t,n,r=e.r,i=e.g,o=e.b,s=Math.max(r,i,o),a=Math.min(r,i,o),l=(s+a)/2;if(s===a)t=n=0;else{let e=s-a;switch(n=l>.5?e/(2-s-a):e/(s+a),s){case r:t=(i-o)/e+(i1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(0===o)t=n=r=s;else{let e=s<.5?s*(1+o):s+o-s*o,l=2*s-e;t=a(l,e,i+1/3),n=a(l,e,i),r=a(l,e,i-1/3)}return{r:t,g:n,b:r,a:e.a}}function Oa(e){let t,n,r,i=e.h,o=e.s,s=e.v,a=Math.floor(6*i),l=6*i-a,c=s*(1-o),u=s*(1-l*o),d=s*(1-(1-l)*o);switch(a%6){case 0:t=s,n=d,r=c;break;case 1:t=u,n=s,r=c;break;case 2:t=c,n=s,r=d;break;case 3:t=c,n=u,r=s;break;case 4:t=d,n=c,r=s;break;case 5:t=s,n=c,r=u}return{r:t,g:n,b:r,a:e.a}}function Ba(e){let t=Math.round(255*e).toString(16);if(1===ur(t))return`0${t}`;if(2===ur(t))return t;throw new Error("invalid value")}function Da(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e.r,r=e.g,i=e.b,o=e.a,s=`${Ba(n)}${Ba(r)}${Ba(i)}`;return t&&(s=`${s}${Ba(o)}`),s}function Ua(e){return Math.min(1,Math.max(0,e))}function Fa(e,t){if(!$n(t))throw new Error("fmtOutput is not a string");if(!yl[t])throw console.log(`fmtOutput must be [${Ke(yl)}]`),new Error("invalid fmtOutput");return e=yl[t](e)}function Na(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"toRgbString";if(t<0||t>1)throw new Error("amount < 0 or > 1");let r=Pa(e);return r.h+=t,r.h=r.h%1,Fa(Ia(r),n)}function za(e,t,n,r){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"toRgbString";if(t<0||t>1)throw new Error("w1 < 0 or > 1");if(r<0||r>1)throw new Error("w1 < 0 or > 1");return Fa({r:e.r*t+n.r*r,g:e.g*t+n.g*r,b:e.b*t+n.b*r,a:e.a*t+n.a*r},i)}function Ha(e){return`${$i(100*e,1)}%`}function Va(e){return $i(e,0)}function Wa(e){return $i(e,3)}function ja(e){return{r:Va(255*e.r),g:Va(255*e.g),b:Va(255*e.b)}}function Ga(e){return`rgb(${Va(255*e.r)}, ${Va(255*e.g)}, ${Va(255*e.b)})`}function $a(e){return{r:Va(255*e.r),g:Va(255*e.g),b:Va(255*e.b),a:Wa(e.a)}}function Xa(e){return`rgba(${Va(255*e.r)}, ${Va(255*e.g)}, ${Va(255*e.b)}, ${Wa(e.a)})`}function Ya(e){let t=Pa(e);return{h:Va(360*t.h),s:Wa(t.s),l:Wa(t.l)}}function qa(e){let t=Pa(e);return`hsl(${Va(360*t.h)}, ${Wa(t.s)}, ${Wa(t.l)})`}function Za(e){let t=Pa(e);return{h:Va(360*t.h),s:Wa(t.s),l:Wa(t.l),a:Wa(t.a)}}function Ja(e){let t=Pa(e);return`hsla(${Va(360*t.h)}, ${Wa(t.s)}, ${Wa(t.l)}, ${Wa(t.a)})`}function Ka(e){let t=ka(e);return{h:Va(360*t.h),s:Wa(t.s),v:Wa(t.v)}}function Qa(e){let t=ka(e);return`hsv(${Va(360*t.h)}, ${Wa(t.s)}, ${Wa(t.v)})`}function el(e){let t=ka(e);return{h:Va(360*t.h),s:Wa(t.s),v:Wa(t.v),a:Wa(t.a)}}function tl(e){let t=ka(e);return`hsva(${Va(360*t.h)}, ${Wa(t.s)}, ${Wa(t.v)}, ${Wa(t.a)})`}function nl(e){return{r:Ha(e.r),g:Ha(e.g),b:Ha(e.b)}}function rl(e){return`rgb(${Ha(e.r)}, ${Ha(e.g)}, ${Ha(e.b)})`}function il(e){return{r:Ha(e.r),g:Ha(e.g),b:Ha(e.b),a:Wa(e.a)}}function ol(e){return`rgba(${Ha(e.r)}, ${Ha(e.g)}, ${Ha(e.b)}, ${Wa(e.a)})`}function sl(e){let t=Pa(e);return{h:Va(360*t.h),s:Ha(t.s),l:Ha(t.l)}}function al(e){let t=Pa(e);return`hsl(${Va(360*t.h)}, ${Ha(t.s)}, ${Ha(t.l)})`}function ll(e){let t=Pa(e);return{h:Va(360*t.h),s:Ha(t.s),l:Ha(t.l),a:Wa(t.a)}}function cl(e){let t=Pa(e);return`hsla(${Va(360*t.h)}, ${Ha(t.s)}, ${Ha(t.l)}, ${Wa(t.a)})`}function ul(e){let t=ka(e);return{h:Va(360*t.h),s:Ha(t.s),v:Ha(t.v)}}function dl(e){let t=ka(e);return`hsv(${Va(360*t.h)}, ${Ha(t.s)}, ${Ha(t.v)})`}function hl(e){let t=ka(e);return{h:Va(360*t.h),s:Ha(t.s),v:Ha(t.v),a:Wa(t.a)}}function pl(e){let t=ka(e);return`hsva(${Va(360*t.h)}, ${Ha(t.s)}, ${Ha(t.v)}, ${Wa(t.a)})`}function fl(e){let t=function(e){return Da(e,!1)}(e);return`#${t}`}function ml(e){return`#${Da(e)}`}function gl(e){let t=null,n=null,r=null;if($n(e))t=pa(ca(e));else{if(!Go(e))throw console.log("color=",e),new Error("color is not a string or an object");n=e}if(null!==t)try{r=Ta(t)}catch(e){throw console.log(e),new Error(`can not parse color: ${t}`)}else if(null!==n)try{r=Ra(n)}catch(e){throw console.log(e),new Error(`can not parse color: ${JSON.stringify(n)}`)}return r}function vl(e){if(!Go(e))return console.log("gradient is not an effective object"),e=>`rgb(${255*(e=Math.min(Math.max(e,0),1))},${255*e},${255*e})`;let t=[];return nt(e,((e,n)=>{t.push([Hi(n),$a(gl(e)),e])})),t=ha(t,0),function(e){let n=null;for(let r=1;r=e){let t=(s-e)/(s-i),r=(e-i)/(s-i);n=za(gl(o),t,gl(a),r,"toRgbaString");break}}return n}}let yl={toRgb:ja,toRgbString:Ga,toRgba:$a,toRgbaString:Xa,toHsl:Ya,toHslString:qa,toHsla:Za,toHslaString:Ja,toHsv:Ka,toHsvString:Qa,toHsva:el,toHsvaString:tl,toRgbP:nl,toRgbPString:rl,toRgbaP:il,toRgbaPString:ol,toHslP:sl,toHslPString:al,toHslaP:ll,toHslaPString:cl,toHsvP:ul,toHsvPString:dl,toHsvaP:hl,toHsvaPString:pl,toHexString:fl,toHex8String:ml};var _l=function(){let e={toRgb:e=>ja(gl(e)),toRgbString:e=>Ga(gl(e)),toRgba:e=>$a(gl(e)),toRgbaString:e=>Xa(gl(e)),toHsl:e=>Ya(gl(e)),toHslString:e=>qa(gl(e)),toHsla:e=>Za(gl(e)),toHslaString:e=>Ja(gl(e)),toHsv:e=>Ka(gl(e)),toHsvString:e=>Qa(gl(e)),toHsva:e=>el(gl(e)),toHsvaString:e=>tl(gl(e)),toRgbP:e=>nl(gl(e)),toRgbPString:e=>rl(gl(e)),toRgbaP:e=>il(gl(e)),toRgbaPString:e=>ol(gl(e)),toHslP:e=>sl(gl(e)),toHslPString:e=>al(gl(e)),toHslaP:e=>ll(gl(e)),toHslaPString:e=>cl(gl(e)),toHsvP:e=>ul(gl(e)),toHsvPString:e=>dl(gl(e)),toHsvaP:e=>hl(gl(e)),toHsvaPString:e=>pl(gl(e)),toHexString:e=>fl(gl(e)),toHex8String:e=>ml(gl(e)),modSaturate:(e,t,n)=>function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"toRgbString";if(t<0||t>1)throw new Error("amount < 0 or > 1");let r=Pa(e);return r.s+=t,r.s=Ua(r.s),Fa(Ia(r),n)}(gl(e),t,n),modGrey:(e,t)=>function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"toRgbString",n=Pa(e);return n.s=0,Fa(Ia(n),t)}(gl(e),t),modLighten:(e,t,n)=>function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"toRgbString";if(t<0||t>1)throw new Error("amount < 0 or > 1");let r=Pa(e);return r.l+=t,r.l=Ua(r.l),Fa(Ia(r),n)}(gl(e),t,n),modBrighten:(e,t,n)=>function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"toRgbString";if(t<0||t>1)throw new Error("amount < 0 or > 1");return e.r+=t,e.r=Ua(e.r),e.g+=t,e.g=Ua(e.g),e.b+=t,e.b=Ua(e.b),Fa(e,n)}(gl(e),t,n),modHue:(e,t,n)=>Na(gl(e),t,n),modComplement:(e,t)=>function(e){return Na(e,.5,arguments.length>1&&void 0!==arguments[1]?arguments[1]:"toRgbString")}(gl(e),t),spreadHue:(e,t,n)=>function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"toRgbString";if(!Vi(t))throw new Error("num is not an integer");if((t=Xi(t))<=1)return[e];let r=Pa(e),i=1/t,o=[];for(let e=0;efunction(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"toRgbString";if(!Vi(t))throw new Error("num is not an integer");if((t=Xi(t))<=1)return[e];let r=ka(e);r.s=1,r.l=1;let i=1/t,o=[];for(let e=0;eza(gl(e),t,gl(n),r,i),getBrightness:e=>function(e){if(1!==e.a)throw new Error("alpha of color can not be equal to 1");return(299*e.r+587*e.g+114*e.b)/1e3}(gl(e)),getLuminance:e=>function(e){if(1!==e.a)throw new Error("alpha of color can not be equal to 1");let t,n,r,i=e.r,o=e.g,s=e.b;return t=i<=.03928?i/12.92:Math.pow((i+.055)/1.055,2.4),n=o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4),r=s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4),.2126*t+.7152*n+.0722*r}(gl(e)),interp:vl};return e}();const xl={components:{},props:{name:{type:String,default:"cir-wave"},color:{type:String,default:"grey"},size:{type:Number,default:48}},data:function(){return{}},computed:{effColor:function(){return Wo(this.color)}},methods:{}};var bl=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{style:"display:inline-block; vertical-align:middle; outline:none; user-select:none; height:"+e.size+"px; width:"+e.size+"px;"},["cir-wave"===e.name?[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",width:e.size,height:e.size}},[n("circle",{attrs:{cx:"50",cy:"50",r:"14.6699",fill:"none",stroke:"#420457","stroke-width":"10"}},[n("animate",{attrs:{attributeName:"r",repeatCount:"indefinite",dur:"1s",values:"0;40",keyTimes:"0;1",keySplines:"0 0.2 0.8 1",calcMode:"spline",begin:"-0.5s"}}),e._v(" "),n("animate",{attrs:{attributeName:"opacity",repeatCount:"indefinite",dur:"1s",values:"1;0",keyTimes:"0;1",keySplines:"0.2 0 0.8 1",calcMode:"spline",begin:"-0.5s"}})]),e._v(" "),n("circle",{attrs:{cx:"50",cy:"50",r:"33.9915",fill:"none",stroke:"#5a3faa","stroke-width":"10"}},[n("animate",{attrs:{attributeName:"r",repeatCount:"indefinite",dur:"1s",values:"0;40",keyTimes:"0;1",keySplines:"0 0.2 0.8 1",calcMode:"spline"}}),e._v(" "),n("animate",{attrs:{attributeName:"opacity",repeatCount:"indefinite",dur:"1s",values:"1;0",keyTimes:"0;1",keySplines:"0.2 0 0.8 1",calcMode:"spline"}})])])]:"cir-rotate"===e.name?[n("div",{style:"position:relative; display:inline-flex; align-items:center; justify-content:center; display:inline-block; height:"+e.size+"px; width:"+e.size+"px;"},[n("svg",{staticClass:"pgc-rotate",staticStyle:{transform:"rotate(0deg)"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"21.904761904761905 21.904761904761905 43.80952380952381 43.80952380952381"}},[n("circle",{staticClass:"pgc-dash",attrs:{fill:"transparent",cx:"43.80952380952381",cy:"43.80952380952381",r:"20","stroke-width":"4","stroke-dasharray":"100","stroke-dashoffset":"50px",stroke:e.effColor}})])])]:e._e()],2)};bl._withStripped=!0;const Sl=ps({render:bl,staticRenderFns:[]},(function(e){e&&e("data-v-6639a678_0",{source:"\n.pgc-rotate[data-v-6639a678] {\r\n width: 100%;\r\n height: 100%;\r\n margin: auto;\r\n position: absolute;\r\n top: 0;\r\n bottom: 0;\r\n left: 0;\r\n right: 0;\r\n z-index: 1;\r\n transition: all .6s ease-in-out;\r\n animation: progress-circular-rotate-data-v-6639a678 1.4s linear infinite;\r\n transform-origin: center center;\n}\n.pgc-dash[data-v-6639a678] {\r\n animation: progress-circular-dash-data-v-6639a678 1.4s ease-in-out infinite;\r\n stroke-linecap: round;\r\n stroke-dasharray: 80,200;\r\n stroke-dashoffset: 0px;\n}\n@-webkit-keyframes progress-circular-dash-data-v-6639a678 {\n0% {\r\n stroke-dasharray: 1,200;\r\n stroke-dashoffset: 0px\n}\n50% {\r\n stroke-dasharray: 100,200;\r\n stroke-dashoffset: -15px\n}\nto {\r\n stroke-dasharray: 100,200;\r\n stroke-dashoffset: -124px\n}\n}\n@keyframes progress-circular-dash-data-v-6639a678 {\n0% {\r\n stroke-dasharray: 1,200;\r\n stroke-dashoffset: 0px\n}\n50% {\r\n stroke-dasharray: 100,200;\r\n stroke-dashoffset: -15px\n}\nto {\r\n stroke-dasharray: 100,200;\r\n stroke-dashoffset: -124px\n}\n}\n@-webkit-keyframes progress-circular-rotate-data-v-6639a678 {\nto {\r\n transform: rotate(1turn)\n}\n}\n@keyframes progress-circular-rotate-data-v-6639a678 {\nto {\r\n transform: rotate(1turn)\n}\n}\r\n\r\n",map:{version:3,sources:["D:\\- 006 - 開源\\開源-JS-105-3-w-threejs-vue\\w-threejs-vue\\node_modules\\w-component-vue\\src\\components\\WIconLoading.vue"],names:[],mappings:";AA8FA;IACA,WAAA;IACA,YAAA;IACA,YAAA;IACA,kBAAA;IACA,MAAA;IACA,SAAA;IACA,OAAA;IACA,QAAA;IACA,UAAA;IACA,+BAAA;IACA,wEAAA;IACA,+BAAA;AACA;AAEA;IACA,2EAAA;IACA,qBAAA;IACA,wBAAA;IACA,sBAAA;AACA;AAEA;AACA;QACA,uBAAA;QACA;AACA;AAEA;QACA,yBAAA;QACA;AACA;AAEA;QACA,yBAAA;QACA;AACA;AACA;AAEA;AACA;QACA,uBAAA;QACA;AACA;AAEA;QACA,yBAAA;QACA;AACA;AAEA;QACA,yBAAA;QACA;AACA;AACA;AAEA;AACA;QACA;AACA;AACA;AAEA;AACA;QACA;AACA;AACA",file:"WIconLoading.vue",sourcesContent:['\r\n\r\n + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
autoRotateDeg
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
backgroundColor
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
size
code
-
+
diff --git a/examples/ex-AppBasicUploadStl.html b/examples/ex-AppBasicUploadStl.html index bfd1a22..181e19f 100644 --- a/examples/ex-AppBasicUploadStl.html +++ b/examples/ex-AppBasicUploadStl.html @@ -43,7 +43,7 @@ /> - + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
uploadStl
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
useAutoRotate
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
cameraFar
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
cameraFov
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
cameraNear
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
cameraOrthographicRatio
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
cameraType
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
getCameraViewAngle
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
setCameraAzimuthAngle
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
setCameraPolarAngle
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
setCameraViewAngle
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
helperAxesLengthRatio
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
helperGridDensity
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
helperGridLengthRatio
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
helperGridPositionRatioZ
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
useHelperAxes
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
useHelperGrid
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
legnedBackgroundColor
code
-
+
set to rgba(0,0,0,0.5) + @click="setLegnedBackgroundColor('rgba(10,30,30,0.5)')" + >set to rgba(10,30,30,0.5)
diff --git a/examples/ex-AppLgLegnedHeight.html b/examples/ex-AppLgLegnedHeight.html index 0e67422..c86834f 100644 --- a/examples/ex-AppLgLegnedHeight.html +++ b/examples/ex-AppLgLegnedHeight.html @@ -43,7 +43,7 @@ /> - + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
legnedHeight
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
legnedHeightMax
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
lightAmbientColor
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
lightDirectionColor
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
lightDirectionIntensity
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
lightDirectionPos
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
lightPointColor
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
lightPointDecay
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
lightPointDistance
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
lightPointIntensity
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
lightPointPoss
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
useLightAmbient
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
useLightDirection
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
useLightPoint
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
getMeshsInfor
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
setMeshColor
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
setMeshLabelText
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
setMeshLabelTextColor
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
setMeshLabelTextFontFamily
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
setMeshLabelTextFontSize
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
setMeshLabelVisible
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
setMeshVisible
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
menuIcons
code
-
+
- + @@ -70,18 +70,35 @@ @@ -89,7 +106,7 @@ style="font-family:'Microsoft JhengHei','Avenir','Helvetica'; padding:0px; margin:0px;" >
-
+
menuTooltips
code
-
+

- Documentation generated by JSDoc 4.0.2 on Tue Jan 09 2024 22:39:56 GMT+0800 (台北標準時間) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Jan 09 2024 23:35:27 GMT+0800 (台北標準時間) using the docdash theme.
diff --git a/module-WThreejsVue.html b/module-WThreejsVue.html index d93d913..0c2d3e0 100644 --- a/module-WThreejsVue.html +++ b/module-WThreejsVue.html @@ -203,7 +203,7 @@

- Documentation generated by JSDoc 4.0.2 on Tue Jan 09 2024 22:39:56 GMT+0800 (台北標準時間) using the docdash theme. + Documentation generated by JSDoc 4.0.2 on Tue Jan 09 2024 23:35:27 GMT+0800 (台北標準時間) using the docdash theme.