diff --git a/mail-vue/.env.remote b/mail-vue/.env.remote index fa20983..e9281f8 100644 --- a/mail-vue/.env.remote +++ b/mail-vue/.env.remote @@ -1,3 +1,3 @@ NODE_ENV = 'remote' VITE_APP_TITLE = '远程环境' -VITE_BASE_URL = 'xxxxxx' \ No newline at end of file +VITE_BASE_URL = 'https://mornglow.top/api' \ No newline at end of file diff --git a/mail-vue/index.html b/mail-vue/index.html index 7e6bf5b..fc76b12 100644 --- a/mail-vue/index.html +++ b/mail-vue/index.html @@ -5,6 +5,7 @@
1&&r>0?s:i}};return o;function i(){return t 0){t=t/180*Math.PI,xl.fromArray(e[0]),vr.fromArray(e[1]),Yr.fromArray(e[2]),rn.sub(Ml,xl,vr),rn.sub(Ni,Yr,vr);var n=Ml.len(),r=Ni.len();if(!(n<.001||r<.001)){Ml.scale(1/n),Ni.scale(1/r);var a=Ml.dot(Ni),o=Math.cos(t);if(o1&&rn.copy(Sa,Yr),Sa.toArray(e[1])}}}}function QTe(e,t,n){if(n<=180&&n>0){n=n/180*Math.PI,xl.fromArray(e[0]),vr.fromArray(e[1]),Yr.fromArray(e[2]),rn.sub(Ml,vr,xl),rn.sub(Ni,Yr,vr);var r=Ml.len(),a=Ni.len();if(!(r<.001||a<.001)){Ml.scale(1/r),Ni.scale(1/a);var o=Ml.dot(t),i=Math.cos(n);if(o=l)rn.copy(Sa,Yr);else{Sa.scaleAndAdd(Ni,s/Math.tan(Math.PI/2-c));var f=Yr.x!==vr.x?(Sa.x-vr.x)/(Yr.x-vr.x):(Sa.y-vr.y)/(Yr.y-vr.y);if(isNaN(f))return;f<0?rn.copy(Sa,vr):f>1&&rn.copy(Sa,Yr)}Sa.toArray(e[1])}}}}function ow(e,t,n,r){var a=n==="normal",o=a?e:e.ensureState(n);o.ignore=t;var i=r.get("smooth");i&&i===!0&&(i=.3),o.shape=o.shape||{},i>0&&(o.shape.smooth=i);var s=r.getModel("lineStyle").getLineStyle();a?e.useStyle(s):o.style=s}function eEe(e,t){var n=t.smooth,r=t.points;if(r)if(e.moveTo(r[0][0],r[0][1]),n>0&&r.length>=3){var a=Sy(r[0],r[1]),o=Sy(r[1],r[2]);if(!a||!o){e.lineTo(r[1][0],r[1][1]),e.lineTo(r[2][0],r[2][1]);return}var i=Math.min(a,o)*n,s=ym([],r[1],r[0],i/a),l=ym([],r[1],r[2],i/o),u=ym([],s,l,.5);e.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),e.bezierCurveTo(l[0],l[1],l[0],l[1],r[2][0],r[2][1])}else for(var c=1;cm[1]&&(m[1]=v)}return this._rawCount=this._count=l,{start:s,end:l}},e.prototype._initDataFromProvider=function(t,n,r){for(var a=this._provider,o=this._chunks,i=this._dimensions,s=i.length,l=this._rawExtent,u=Kt(i,function(b){return b.property}),c=0;cg[1]&&(g[1]=m)}}!a.persistent&&a.clean&&a.clean(),this._rawCount=this._count=n,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(t,n){if(!(n>=0&&nt){o?n.push(i(o,l,t)):a&&n.push(i(a,l,0),i(a,l,t));break}else a&&(n.push(i(a,l,0)),a=null),n.push(l),o=l}return n}function bEe(e,t,n){var r=e.getVisual("visualMeta");if(!(!r||!r.length||!e.count())&&t.type==="cartesian2d"){for(var a,o,i=r.length-1;i>=0;i--){var s=e.getDimensionInfo(r[i].dimension);if(a=s&&s.coordDim,a==="x"||a==="y"){o=r[i];break}}if(o){var l=t.getAxis(a),u=Kt(o.stops,function(w){return{coord:l.toGlobalCoord(l.dataToCoord(w.value)),color:w.color}}),c=u.length,f=o.outerColors.slice();c&&u[0].coord>u[c-1].coord&&(u.reverse(),f.reverse());var d=yEe(u,a==="x"?n.getWidth():n.getHeight()),h=d.length;if(!h&&c)return u[0].coord<0?f[1]?f[1]:u[c-1].color:f[0]?f[0]:u[0].color;var p=10,v=d[0].coord-p,m=d[h-1].coord+p,g=m-v;if(g<.001)return"transparent";be(d,function(w){w.offset=(w.coord-v)/g}),d.push({offset:h?d[h-1].offset:.5,color:f[1]||"transparent"}),d.unshift({offset:h?d[0].offset:.5,color:f[0]||"transparent"});var b=new fk(0,0,0,0,d,!0);return b[a]=v,b[a+"2"]=m,b}}}function _Ee(e,t,n){var r=e.get("showAllSymbol"),a=r==="auto";if(!(r&&!a)){var o=n.getAxesByScale("ordinal")[0];if(o&&!(a&&wEe(o,t))){var i=t.mapDimension(o.dim),s={};return be(o.getViewLabels(),function(l){var u=o.scale.getRawOrdinalNumber(l.tickValue);s[u]=1}),function(l){return!s.hasOwnProperty(t.get(i,l))}}}}function wEe(e,t){var n=e.getExtent(),r=Math.abs(n[1]-n[0])/e.scale.count();isNaN(r)&&(r=0);for(var a=t.count(),o=Math.max(1,Math.round(a/5)),i=0;ir)return!1;return!0}function SEe(e,t){return isNaN(e)||isNaN(t)}function CEe(e){for(var t=e.length/2;t>0&&SEe(e[t*2-2],e[t*2-1]);t--);return t-1}function FO(e,t){return[e[t*2],e[t*2+1]]}function TEe(e,t,n){for(var r=e.length/2,a=n==="x"?0:1,o,i,s=0,l=-1,u=0;u
",g=f.join(m);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(n,u)?this._updatePosition(s,h,i[0],i[1],this._tooltipContent,u):this._showTooltipContent(s,g,u,Math.random()+"",i[0],i[1],h,null,d)})},t.prototype._showSeriesItemTooltip=function(n,r,a){var o=this._ecModel,i=Rn(r),s=i.seriesIndex,l=o.getSeriesByIndex(s),u=i.dataModel||l,c=i.dataIndex,f=i.dataType,d=u.getData(f),h=this._renderMode,p=n.positionDefault,v=Xd([d.getItemModel(c),u,l&&(l.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),m=v.get("trigger");if(!(m!=null&&m!=="item")){var g=u.getDataParams(c,f),b=new W1;g.marker=b.makeTooltipMarker("item",yc(g.color),h);var w=OP(u.formatTooltip(c,!1,f)),_=v.get("order"),C=v.get("valueFormatter"),T=w.frag,E=T?FP(C?gt({valueFormatter:C},T):T,b,h,_,o.get("useUTC"),v.get("textStyle")):w.text,M="item_"+u.name+"_"+c;this._showOrMove(v,function(){this._showTooltipContent(v,E,g,M,n.offsetX,n.offsetY,n.position,n.target,b)}),a({type:"showTip",dataIndexInside:c,dataIndex:d.getRawIndex(c),seriesIndex:s,from:this.uid})}},t.prototype._showComponentItemTooltip=function(n,r,a){var o=this._renderMode==="html",i=Rn(r),s=i.tooltipConfig,l=s.option||{},u=l.encodeHTMLContent;if(Ht(l)){var c=l;l={content:c,formatter:c},u=!0}u&&o&&l.content&&(l=En(l),l.content=Ea(l.content));var f=[l],d=this._ecModel.getComponent(i.componentMainType,i.componentIndex);d&&f.push(d),f.push({formatter:l.content});var h=n.positionDefault,p=Xd(f,this._tooltipModel,h?{position:h}:null),v=p.get("content"),m=Math.random()+"",g=new W1;this._showOrMove(p,function(){var b=En(p.get("formatterParams")||{});this._showTooltipContent(p,v,b,m,n.offsetX,n.offsetY,n.position,r,g)}),a({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(n,r,a,o,i,s,l,u,c){if(this._ticket="",!(!n.get("showContent")||!n.get("show"))){var f=this._tooltipContent;f.setEnterable(n.get("enterable"));var d=n.get("formatter");l=l||n.get("position");var h=r,p=this._getNearestPoint([i,s],a,n.get("trigger"),n.get("borderColor")),v=p.color;if(d)if(Ht(d)){var m=n.ecModel.get("useUTC"),g=Lt(a)?a[0]:a,b=g&&g.axisType&&g.axisType.indexOf("time")>=0;h=d,b&&(h=uv(g.axisValue,h,m)),h=Ek(h,a,!0)}else if(nn(d)){var w=Xn(function(_,C){_===this._ticket&&(f.setContent(C,c,n,v,l),this._updatePosition(n,l,i,s,f,a,u))},this);this._ticket=o,h=d(a,o,w)}else h=d;f.setContent(h,c,n,v,l),f.show(n,v),this._updatePosition(n,l,i,s,f,a,u)}},t.prototype._getNearestPoint=function(n,r,a,o){if(a==="axis"||Lt(r))return{color:o||(this._renderMode==="html"?"#fff":"none")};if(!Lt(r))return{color:o||r.color||r.borderColor}},t.prototype._updatePosition=function(n,r,a,o,i,s,l){var u=this._api.getWidth(),c=this._api.getHeight();r=r||n.get("position");var f=i.getSize(),d=n.get("align"),h=n.get("verticalAlign"),p=l&&l.getBoundingRect().clone();if(l&&p.applyTransform(l.transform),nn(r)&&(r=r([a,o],s,i.el,p,{viewSize:[u,c],contentSize:f.slice()})),Lt(r))a=fn(r[0],u),o=fn(r[1],c);else if(Gt(r)){var v=r;v.width=f[0],v.height=f[1];var m=Wf(v,{width:u,height:c});a=m.x,o=m.y,d=null,h=null}else if(Ht(r)&&l){var g=D2e(r,p,f,n.get("borderWidth"));a=g[0],o=g[1]}else{var g=M2e(a,o,i,u,c,d?null:20,h?null:20);a=g[0],o=g[1]}if(d&&(a-=CL(d)?f[0]/2:d==="right"?f[0]:0),h&&(o-=CL(h)?f[1]/2:h==="bottom"?f[1]:0),V6(n)){var g=A2e(a,o,i,u,c);a=g[0],o=g[1]}i.moveTo(a,o)},t.prototype._updateContentNotChangedOnAxis=function(n,r){var a=this._lastDataByCoordSys,o=this._cbParamsList,i=!!a&&a.length===n.length;return i&&be(a,function(s,l){var u=s.dataByAxis||[],c=n[l]||{},f=c.dataByAxis||[];i=i&&u.length===f.length,i&&be(u,function(d,h){var p=f[h]||{},v=d.seriesDataIndices||[],m=p.seriesDataIndices||[];i=i&&d.value===p.value&&d.axisType===p.axisType&&d.axisId===p.axisId&&v.length===m.length,i&&be(v,function(g,b){var w=m[b];i=i&&g.seriesIndex===w.seriesIndex&&g.dataIndex===w.dataIndex}),o&&be(d.seriesDataIndices,function(g){var b=g.seriesIndex,w=r[b],_=o[b];w&&_&&_.data!==w.data&&(i=!1)})})}),this._lastDataByCoordSys=n,this._cbParamsList=r,!!i},t.prototype._hide=function(n){this._lastDataByCoordSys=null,n({type:"hideTip",from:this.uid})},t.prototype.dispose=function(n,r){en.node||!r.getDom()||(EC(this,"_updatePosition"),this._tooltipContent.dispose(),WC("itemTooltip",r))},t.type="tooltip",t}(fo);function Xd(e,t,n){var r=t.ecModel,a;n?(a=new or(n,r,r),a=new or(t.option,a,r)):a=t;for(var o=e.length-1;o>=0;o--){var i=e[o];i&&(i instanceof or&&(i=i.get("tooltip",!0)),Ht(i)&&(i={formatter:i}),i&&(a=new or(i,a,r)))}return a}function SL(e,t){return e.dispatchAction||Xn(t.dispatchAction,t)}function M2e(e,t,n,r,a,o,i){var s=n.getSize(),l=s[0],u=s[1];return o!=null&&(e+l+o+2>r?e-=l+o:e+=o),i!=null&&(t+u+i>a?t-=u+i:t+=i),[e,t]}function A2e(e,t,n,r,a){var o=n.getSize(),i=o[0],s=o[1];return e=Math.min(e+i,r)-i,t=Math.min(t+s,a)-s,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function D2e(e,t,n,r){var a=n[0],o=n[1],i=Math.ceil(Math.SQRT2*r)+8,s=0,l=0,u=t.width,c=t.height;switch(e){case"inside":s=t.x+u/2-a/2,l=t.y+c/2-o/2;break;case"top":s=t.x+u/2-a/2,l=t.y-o-i;break;case"bottom":s=t.x+u/2-a/2,l=t.y+c+i;break;case"left":s=t.x-a-i,l=t.y+c/2-o/2;break;case"right":s=t.x+u+i,l=t.y+c/2-o/2}return[s,l]}function CL(e){return e==="center"||e==="middle"}function I2e(e,t,n){var r=ak(e).queryOptionMap,a=r.keys()[0];if(!(!a||a==="series")){var o=nv(t,a,r.get(a),{useDefault:!1,enableAll:!1,enableNone:!1}),i=o.models[0];if(i){var s=n.getViewOfComponentModel(i),l;if(s.group.traverse(function(u){var c=Rn(u).tooltipConfig;if(c&&c.name===e.name)return l=u,!0}),l)return{componentMainType:a,componentIndex:i.componentIndex,el:l}}}}function P2e(e){Fs(B6),e.registerComponentModel(p2e),e.registerComponentView(x2e),e.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},Ma),e.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},Ma)}var O2e=function(e,t){if(t==="all")return{type:"all",title:e.getLocaleModel().get(["legend","selector","all"])};if(t==="inverse")return{type:"inverse",title:e.getLocaleModel().get(["legend","selector","inverse"])}},KC=function(e){Jt(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode={type:"box",ignoreSize:!0},n}return t.prototype.init=function(n,r,a){this.mergeDefaultAndTheme(n,a),n.selected=n.selected||{},this._updateSelector(n)},t.prototype.mergeOption=function(n,r){e.prototype.mergeOption.call(this,n,r),this._updateSelector(n)},t.prototype._updateSelector=function(n){var r=n.selector,a=this.ecModel;r===!0&&(r=n.selector=["all","inverse"]),Lt(r)&&be(r,function(o,i){Ht(o)&&(o={type:o}),r[i]=Mn(o,O2e(a,o.type))})},t.prototype.optionUpdated=function(){this._updateData(this.ecModel);var n=this._data;if(n[0]&&this.get("selectedMode")==="single"){for(var r=!1,a=0;a