From 38bac1405cfb64bbd59bb08c1890d906129a55c2 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Wed, 10 Jan 2024 11:12:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0pc=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...2fe.9e64a635.css => chunk-1383736f.9e64a635.css} | 0 ...bec.ba2b2091.css => chunk-23e7f7f4.ba2b2091.css} | 0 ...762.7e099012.css => chunk-cccbd8d2.7e099012.css} | 0 ...4d0.e31768ab.css => chunk-e8c1e2fe.e31768ab.css} | 0 favicon.ico | Bin index.html | 2 +- js/app.c72a4bfb.js | 1 - js/app.fd4ff7f3.js | 1 + js/chunk-1383736f.11faaea3.js | 1 + js/chunk-23e7f7f4.50e9fcff.js | 1 + js/chunk-2becdbec.16e6b3c6.js | 1 - js/chunk-37d804d0.caee3303.js | 1 - js/chunk-489d62fe.a0a9f002.js | 1 - js/chunk-cccbd8d2.b9b033f8.js | 8 ++++++++ js/chunk-e5a1e762.7381bc64.js | 8 -------- js/chunk-e8c1e2fe.d4a7ab50.js | 1 + ...endors.0b8e7520.js => chunk-vendors.c90f795b.js} | 4 ++-- 17 files changed, 15 insertions(+), 15 deletions(-) rename css/{chunk-489d62fe.9e64a635.css => chunk-1383736f.9e64a635.css} (100%) rename css/{chunk-2becdbec.ba2b2091.css => chunk-23e7f7f4.ba2b2091.css} (100%) rename css/{chunk-e5a1e762.7e099012.css => chunk-cccbd8d2.7e099012.css} (100%) rename css/{chunk-37d804d0.e31768ab.css => chunk-e8c1e2fe.e31768ab.css} (100%) mode change 100755 => 100644 favicon.ico delete mode 100644 js/app.c72a4bfb.js create mode 100644 js/app.fd4ff7f3.js create mode 100644 js/chunk-1383736f.11faaea3.js create mode 100644 js/chunk-23e7f7f4.50e9fcff.js delete mode 100644 js/chunk-2becdbec.16e6b3c6.js delete mode 100644 js/chunk-37d804d0.caee3303.js delete mode 100644 js/chunk-489d62fe.a0a9f002.js create mode 100644 js/chunk-cccbd8d2.b9b033f8.js delete mode 100644 js/chunk-e5a1e762.7381bc64.js create mode 100644 js/chunk-e8c1e2fe.d4a7ab50.js rename js/{chunk-vendors.0b8e7520.js => chunk-vendors.c90f795b.js} (95%) diff --git a/css/chunk-489d62fe.9e64a635.css b/css/chunk-1383736f.9e64a635.css similarity index 100% rename from css/chunk-489d62fe.9e64a635.css rename to css/chunk-1383736f.9e64a635.css diff --git a/css/chunk-2becdbec.ba2b2091.css b/css/chunk-23e7f7f4.ba2b2091.css similarity index 100% rename from css/chunk-2becdbec.ba2b2091.css rename to css/chunk-23e7f7f4.ba2b2091.css diff --git a/css/chunk-e5a1e762.7e099012.css b/css/chunk-cccbd8d2.7e099012.css similarity index 100% rename from css/chunk-e5a1e762.7e099012.css rename to css/chunk-cccbd8d2.7e099012.css diff --git a/css/chunk-37d804d0.e31768ab.css b/css/chunk-e8c1e2fe.e31768ab.css similarity index 100% rename from css/chunk-37d804d0.e31768ab.css rename to css/chunk-e8c1e2fe.e31768ab.css diff --git a/favicon.ico b/favicon.ico old mode 100755 new mode 100644 diff --git a/index.html b/index.html index 7733b18..fbf79e0 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -
=d&&v<=h&&(l<=g?u>=l&&u<=g:u>=g&&u<=l))return o[f]}return-1}function N(t,e,i){var a=i.getVisual("borderColor")||i.getVisual("color"),n=e.getModel("itemStyle").getItemStyle(["color","borderColor"]);t.useStyle(n),t.style.fill=null,t.style.stroke=a,t.style.lineWidth=i.getLayout("barWidth")}function R(t,e,i){var a=e.get("borderColor")||e.get("color"),n=e.getItemStyle(["color","borderColor"]);t.useStyle(n),t.style.fill=null,t.style.stroke=a,t.style.lineWidth=i.getLayout("barWidth")}function z(t,e,i){var a,n="polar"===i.type;return a=n?i.getArea():i.grid.getRect(),n?{cx:a.cx,cy:a.cy,r0:t?a.r0:e.r0,r:t?a.r:e.r,startAngle:t?e.startAngle:0,endAngle:t?e.endAngle:2*Math.PI}:{x:t?e.x:a.x,y:t?a.y:e.y,width:t?e.width:a.width,height:t?a.height:e.height}}function F(t,e,i){var a="polar"===t.type?o.Sector:o.Rect;return new a({shape:z(e,i,t),silent:!0,z2:0})}t.exports=x},"68ab":function(t,e,i){var a=i("4a3f"),n=a.quadraticProjectPoint;function r(t,e,i,a,r,o,s,l,c){if(0===s)return!1;var u=s;if(c>e+u&&c>a+u&&c>o+u||c e&&c>a&&c>r&&c>s||c3&&void 0!==arguments[3]?arguments[3]:"-";if(isNaN(t))return a;if(!e)return t;if(r.isFunction(e))return e(t,n);i=isNaN(i)?0:++i;var o=".["+new Array(i).join(0)+"]",s=e;switch(e){case"KMB":s=i?"0,0"+o+"a":"0,0a";break;case"normal":s=i?"0,0"+o:"0,0";break;case"percent":s=i?"0,0"+o+"%":"0,0.[00]%";break}return n(t,s)},s=function(t){var e={};return Object.keys(t).forEach((function(i){t[i].forEach((function(t){e[t]=i}))})),e},l=function(t){return new Promise((function(e,i){var a=new XMLHttpRequest;a.open("GET",t),a.send(null),a.onload=function(){e(JSON.parse(a.responseText))},a.onerror=function(){i(JSON.parse(a.responseText))}}))},c={},u=function(t){var e=t.position,i=t.positionJsonLink,a=t.beforeRegisterMapOnce,n=t.mapURLProfix,r=i||""+n+e+".json";return c[r]||(c[r]=l(r).then((function(t){return a&&(t=a(t)),t}))),c[r]},d=null,h=null,f=function(t,e){return d||(d=new Promise((function(i,a){var n="bmap"+Date.now();window[n]=i;var r=document.createElement("script");r.src=["https://api.map.baidu.com/api?v="+(e||"2.0"),"ak="+t,"callback="+n].join("&"),document.body.appendChild(r)}))),d},p=function(t,e){return h||(h=new Promise((function(i,a){var n="amap"+Date.now();window[n]=i;var r=document.createElement("script");r.src=["https://webapi.amap.com/maps?v="+(e||"1.4.3"),"key="+t,"callback="+n].join("&"),document.body.appendChild(r)}))),h};function m(t,e,i){void 0!==t[e]?t[e].push(i):t[e]=[i]}e.getFormated=o,e.getStackMap=s,e.$get=l,e.getMapJSON=u,e.getBmap=f,e.getAmap=p,e.setArrayValue=m},"71ad":function(t,e,i){var a=i("6d8b"),n={show:!0,zlevel:0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#333",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#ccc"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},r={};r.categoryAxis=a.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},n),r.valueAxis=a.merge({boundaryGap:[0,0],splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#eee",width:1}}},n),r.timeAxis=a.defaults({scale:!0,min:"dataMin",max:"dataMax"},r.valueAxis),r.logAxis=a.defaults({scale:!0,logBase:10},r.valueAxis);var o=r;t.exports=o},"726b":function(t,e,i){},"73cf":function(t,e,i){"use strict";i("6765")},"74cb":function(t,e){var i={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,i=.1,a=.4;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=a/4):e=a*Math.asin(1/i)/(2*Math.PI),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/a))},elasticOut:function(t){var e,i=.1,a=.4;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=a/4):e=a*Math.asin(1/i)/(2*Math.PI),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/a)+1)},elasticInOut:function(t){var e,i=.1,a=.4;return 0===t?0:1===t?1:(!i||i<1?(i=1,e=a/4):e=a*Math.asin(1/i)/(2*Math.PI),(t*=2)<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/a)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/a)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-i.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*i.bounceIn(2*t):.5*i.bounceOut(2*t-1)+.5}},a=i;t.exports=a},"75b8":function(t,e,i){},"76a5":function(t,e,i){var a=i("19eb"),n=i("6d8b"),r=i("e86a"),o=i("a73c"),s=i("82eb"),l=s.ContextCachedBy,c=function(t){a.call(this,t)};c.prototype={constructor:c,type:"text",brush:function(t,e){var i=this.style;this.__dirty&&o.normalizeTextStyle(i,!0),i.fill=i.stroke=i.shadowBlur=i.shadowColor=i.shadowOffsetX=i.shadowOffsetY=null;var a=i.text;null!=a&&(a+=""),o.needDrawText(a,i)?(this.setTransform(t),o.renderText(this,t,a,i,null,e),this.restoreTransform(t)):t.__attrCachedBy=l.NONE},getBoundingRect:function(){var t=this.style;if(this.__dirty&&o.normalizeTextStyle(t,!0),!this._rect){var e=t.text;null!=e?e+="":e="";var i=r.getBoundingRect(t.text+"",t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich);if(i.x+=t.x||0,i.y+=t.y||0,o.getStroke(t.textStroke,t.textStrokeWidth)){var a=t.textStrokeWidth;i.x-=a/2,i.y-=a/2,i.width+=a,i.height+=a}this._rect=i}return this._rect}},n.inherits(c,a);var u=c;t.exports=u},7919:function(t,e,i){var a=i("f934"),n=a.getLayoutRect,r=a.box,o=a.positionElement,s=i("eda2"),l=i("2306");function c(t,e,i){var a=e.getBoxLayoutParams(),s=e.get("padding"),l={width:i.getWidth(),height:i.getHeight()},c=n(a,l,s);r(e.get("orient"),t,e.get("itemGap"),c.width,c.height),o(t,a,l,s)}function u(t,e){var i=s.normalizeCssArray(e.get("padding")),a=e.getItemStyle(["color","opacity"]);a.fill=e.get("backgroundColor");t=new l.Rect({shape:{x:t.x-i[3],y:t.y-i[0],width:t.width+i[1]+i[3],height:t.height+i[0]+i[2],r:e.get("borderRadius")},style:a,silent:!0,z2:-1});return t}e.layout=c,e.makeBackground=u},"7abe":function(t,e,i){"use strict";i.r(e);i("7f7f");var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"home-index"},[e("div",{staticClass:"page-header"},[e("p",{staticClass:"day-text muted"},[t._v("『 "+t._s(t.yiyan.hitokoto)+"』 —— 《"+t._s(t.yiyan.from)+"》 "),e("a",{staticClass:"muted",on:{click:t.getYiYan}},[e("a-icon",{attrs:{type:"reload"}})],1)]),t.userInfo?e("div",{staticClass:"header-content"},[e("div",{staticClass:"left-content"},[e("div",{staticClass:"avatar"},[e("a-avatar",{attrs:{size:64,src:t.userInfo.avatar}},[t._v(t._s(t.userInfo.name))])],1),e("div",{staticClass:"user-info"},[e("div",{staticClass:"title"},[t._v(t._s(t.helloTime)+t._s(t.userInfo.name)+",祝你开心每一天!")]),t.userInfo.position?e("div",{staticClass:"team muted"},[t._v(t._s(t.userInfo.position)+"\n "),t.userInfo.department?[t._v(" | "+t._s(t.userInfo.department))]:t._e()],2):t._e()])]),e("div",{staticClass:"right-content"},[e("div",{staticClass:"content-item"},[e("div",{staticClass:"item-title muted"},[t._v("\n 团队人数\n ")]),e("div",{staticClass:"item-text"},[e("span",[t._v(t._s(t.accounts.total))])])]),e("div",{staticClass:"content-item"},[e("div",{staticClass:"item-title muted"},[t._v("\n 项目总数\n ")]),e("div",{staticClass:"item-text"},[e("span",[t._v(t._s(t.projectTotal))])])])])]):t._e()]),e("div",{staticClass:"page-wrapper"},[e("a-row",{staticClass:"page-wrapper-content",attrs:{gutter:24}},[e("a-col",{staticClass:"project-list-content",attrs:{xl:16,lg:24,md:24,sm:24,xs:24}},[e("a-card",{staticClass:"project-list",staticStyle:{"margin-bottom":"24px"},attrs:{loading:t.loading,bordered:!1,title:"进行中的项目","body-style":{padding:0}}},[e("router-link",{attrs:{slot:"extra",to:"/project/list/my"},slot:"extra"},[t._v("全部项目")]),e("div",{staticStyle:{display:"flex","flex-direction":"row","flex-wrap":"wrap","justify-content":"start"}},[t._l(t.projectList,(function(i,a){return e("a-card-grid",{key:a,staticClass:"project-card-grid"},[e("a-card",{attrs:{bordered:!1,"body-style":{padding:0}},on:{click:function(e){return t.routerLink("/project/space/task/"+i.code)}}},[e("img",{attrs:{slot:"cover",alt:"example",src:i.cover},slot:"cover"}),e("a-card-meta",[e("div",{staticClass:"card-title",attrs:{slot:"title"},slot:"title"},[e("router-link",{attrs:{to:"/project/space/task/"+i.code}},[e("a-icon",{directives:[{name:"show",rawName:"v-show",value:i.collected,expression:"item.collected"}],staticStyle:{color:"#ffaf38","margin-right":"6px"},attrs:{type:"star",theme:"filled"}}),t._v(t._s(i.name)+"\n ")],1)],1),e("div",{staticClass:"card-description",attrs:{slot:"description"},slot:"description"},[e("a-tooltip",{attrs:{mouseEnterDelay:.3,title:i.description}},[e("span",{staticClass:"description-text"},[i.description?e("span",[t._v(t._s(i.description))]):e("span",[t._v("暂无介绍")])])]),e("a-tooltip",{attrs:{placement:"right",mouseEnterDelay:.3,title:"当前进度:".concat(i.schedule,"%")}},[e("a-progress",{attrs:{strokeWidth:2,showInfo:!1,percent:i.schedule}})],1)],1)]),e("div",{staticClass:"project-item"},[e("a",{attrs:{href:"/#/"}},[t._v(t._s(i.owner_name))]),e("span",{staticClass:"datetime"},[t._v(t._s(t.formatTime(i.create_time)))])])],1)],1)})),t.projectList.length?t._e():e("p",{staticClass:"muted text-center m-t-md m-b-md"},[t._v("暂无项目")])],2)],1),e("a-card",{staticClass:"activities-list",attrs:{loading:t.loading,title:"动态",bordered:!1}},[e("a-list",t._l(t.activities,(function(i,a){return e("a-list-item",{key:a},[e("a-list-item-meta",[e("a-avatar",{attrs:{slot:"avatar",src:i.member_avatar},slot:"avatar"}),e("div",{attrs:{slot:"title"},slot:"title"},[e("span",[t._v(t._s(i.member_name))]),0==i.is_comment?e("span",[e("span",{domProps:{innerHTML:t._s(i.remark)}})]):t._e(),t._v(" \n "),1==i.is_comment?[t._v("发表了评论\n "),e("p",{staticClass:"comment-text"},[t._v(t._s(i.content))])]:t._e(),e("router-link",{staticClass:"right-item",attrs:{target:"_blank",to:"/project/space/task/".concat(i.project_code,"/detail/").concat(i.source_code)}},[t._v("「 "+t._s(i.task_name)+" 」\n ")])],2),e("div",{attrs:{slot:"description"},slot:"description"},[t._v("\n "+t._s(t.formatTime(i.create_time))+" -\n "),e("router-link",{staticClass:"muted",attrs:{target:"_blank",to:"/project/space/task/".concat(i.project_code)}},[t._v("\n "+t._s(i.project_name)+"\n ")])],1)],1)],1)})),1)],1)],1),e("a-col",{staticStyle:{padding:"0 12px",flex:"1"},attrs:{xl:8,lg:24,md:24,sm:24,xs:24}},[e("a-card",{staticClass:"tasks-list",staticStyle:{"margin-bottom":"24px"},attrs:{bordered:!1}},[e("div",{attrs:{slot:"title"},slot:"title"},[e("div",{staticClass:"flex ant-row-flex-space-between ant-row-flex-middle"},[e("span",[t._v("我的任务 · "+t._s(t.task.total))]),e("a-select",{attrs:{defaultActiveFirstOption:!1},on:{select:t.taskSelectChange},model:{value:t.task.done,callback:function(e){t.$set(t.task,"done",e)},expression:"task.done"}},[e("a-select-option",{key:0},[t._v("未完成")]),e("a-select-option",{key:1},[t._v("已完成")])],1)],1)]),e("a-tabs",{attrs:{defaultActiveKey:"1",animated:!1},on:{change:t.taskTabChange}},[e("a-tab-pane",{key:"1"},[e("span",{attrs:{slot:"tab"},slot:"tab"},[e("a-icon",{attrs:{type:"bars"}}),t._v("我执行的")],1)]),e("a-tab-pane",{key:"2"},[e("span",{attrs:{slot:"tab"},slot:"tab"},[e("a-icon",{attrs:{type:"team"}}),t._v("我参与的")],1)]),e("a-tab-pane",{key:"3"},[e("span",{attrs:{slot:"tab"},slot:"tab"},[e("a-icon",{attrs:{type:"rocket"}}),t._v("我创建的")],1)])],1),e("a-list",{attrs:{loading:t.task.loading}},t._l(t.task.list,(function(i,a){return e("a-list-item",{key:a},[e("a-list-item-meta",[e("div",{attrs:{slot:"title"},slot:"title"},[e("div",{staticStyle:{display:"flex","justify-content":"space-between"}},[e("a",{staticClass:"task-title-wrap"},[e("a-tooltip",{attrs:{title:"优先级"}},[e("a-tag",{attrs:{color:t.priColor(i.pri)}},[t._v(t._s(i.priText))])],1),e("a-tooltip",{attrs:{placement:"top"}},[e("template",{slot:"title"},[i.pcode?[i.parentDone?e("span",{staticStyle:{"font-size":"12px"}},[t._v("父任务已完成,无法重做子任务")]):i.hasUnDone?e("span",{staticStyle:{"font-size":"12px"}},[t._v("子任务尚未全部完成,无法完成父任务")]):t._e()]:[i.hasUnDone?e("span",{staticStyle:{"font-size":"12px"}},[t._v("子任务尚未全部完成,无法完成父任务")]):t._e()]],2)],2),e("a-tooltip",{attrs:{title:i.name}},[e("span",{on:{click:function(e){t.showTaskDetail=!0,t.taskCode=i.code}}},[t._v(t._s(i.name))])])],1),e("div",[i.end_time?e("a-tooltip",{attrs:{title:"任务开始 - 截止时间"}},[e("span",{staticClass:"label m-r-sm",class:t.showTimeLabel(i.end_time)},[t._v(t._s(t.showTaskTime(i.begin_time,i.end_time)))])]):t._e(),i.pcode?e("a-tooltip",{attrs:{title:"子任务"}},[e("a-icon",{staticClass:"m-r-sm muted",attrs:{type:"cluster"}})],1):t._e(),e("router-link",{staticClass:"muted",attrs:{target:"_blank",to:"/project/space/task/"+i.projectInfo.code}},[e("a-tooltip",{attrs:{title:"所属项目"}},[t._v(t._s(i.projectInfo.name))])],1)],1)])])])],1)})),1),e("a-pagination",{staticClass:"pull-right m-b",attrs:{size:"small",defaultPageSize:t.task.pageSize,total:t.task.total},on:{change:t.onLoadMoreTask},model:{value:t.task.page,callback:function(e){t.$set(t.task,"page",e)},expression:"task.page"}})],1),e("a-card",{staticClass:"events-list",staticStyle:{"margin-bottom":"24px"},attrs:{loading:t.events.loading,title:"日程 · ".concat(t.events.eventList.length),bordered:!1}},[e("router-link",{attrs:{slot:"extra",to:"/calendar"},slot:"extra"},[t._v("日程日历")]),e("div",{staticClass:"list-content"},[e("a-list",{attrs:{loading:t.events.loading}},[t._l(t.events.eventList,(function(i,a){return e("a-list-item",{key:a,staticClass:"list-item"},[e("a-list-item-meta",[e("div",{staticStyle:{display:"flex","line-height":"20px"},attrs:{slot:"title"},slot:"title"},[e("div",{staticClass:"info-item"},[e("div",{staticClass:"text-center text-grey"},[e("div",[t._v(t._s(t.moment(i.begin_time).format("YYYY年MM月DD日 HH:mm")))]),e("div",[t._v(" ~")]),e("div",[t._v(t._s(t.moment(i.end_time).format("YYYY年MM月DD日 HH:mm")))])])]),e("div",{staticClass:"info-item"},[e("div",{staticClass:"line-item",staticStyle:{"font-size":"18px","margin-bottom":"20px"}},[e("span",[t._v(" "+t._s(i.title))])]),e("div",{staticClass:"line-item text-grey"},[e("a-icon",{staticClass:"m-r-xs",attrs:{type:"environment"}}),t._v(t._s(i.position))],1),i.description?[e("div",{staticClass:"line-item text-grey"},[t._v(t._s(i.description))])]:t._e(),e("div",{staticClass:"line-item"},[t._v("参与者 · "+t._s(i.memberList.length))]),e("div",{staticClass:"line-item"},[t._l(i.memberList,(function(t){return[e("a-tooltip",{key:t.id,attrs:{title:"".concat(t.memberInfo.name," ").concat(t.is_owner?" · 组织者":t.status?1==t.status?" · 已接受":" · 已拒绝":" · 未响应")}},[e("a-avatar",{staticClass:"m-r-sm",attrs:{size:24,icon:"user",src:t.memberInfo.avatar}})],1)]}))],2),i.projectName?[e("div",{staticClass:"line-item m-t text-grey",on:{click:function(e){return t.routerLink("/project/space/events/"+i.project_code)}}},[e("a-tag",{staticStyle:{cursor:"pointer"},attrs:{color:"#52c41a"}},[t._v(t._s(i.projectName))])],1)]:t._e()],2),e("div",{staticClass:"actions",staticStyle:{position:"absolute",right:"0"}},[i.waitConfirm?[e("a-tooltip",{attrs:{title:"接受"}},[e("a",{staticClass:"m-l-xs muted"},[e("a-icon",{attrs:{type:"check"},on:{click:function(e){return t.confirmJoinEvents(i,1)}}})],1)]),e("a-tooltip",{attrs:{title:"拒绝"}},[e("a",{staticClass:"m-l muted"},[e("a-icon",{attrs:{type:"close"},on:{click:function(e){return t.confirmJoinEvents(i,2)}}})],1)])]:t._e()],2)])]),e("div",{staticClass:"other-info muted"})],1)})),t.events.showLoadingMore?e("div",{style:{textAlign:"center",marginTop:"12px",height:"32px",lineHeight:"32px"},attrs:{slot:"loadMore"},slot:"loadMore"},[t.events.loadingMore?e("a-spin"):e("a-button",{on:{click:t.onLoadMoreEvents}},[t._v("查看更多日程")])],1):t._e()],2)],1)],1),e("a-card",{attrs:{loading:t.loading,title:"团队 · "+t.accounts.total,bordered:!1}},[e("div",{staticClass:"members"},[e("a-row",t._l(t.accounts.list,(function(i,a){return e("a-col",{key:a,attrs:{span:8}},[e("a",{staticStyle:{display:"flex","align-items":"center"},on:{click:function(e){return t.routerLink("/members/profile/"+i.membar_account_code+"?key=3")}}},[e("a-avatar",{attrs:{size:"small",src:i.avatar}}),e("span",{staticClass:"member"},[t._v(t._s(i.name))])],1)])})),1)],1),e("a-pagination",{directives:[{name:"show",rawName:"v-show",value:t.accounts.total>t.accounts.pageSize,expression:"accounts.total > accounts.pageSize"}],staticClass:"pull-right m-b",attrs:{defaultPageSize:t.accounts.pageSize,size:"small",total:t.accounts.total},on:{change:t.onLoadMoreAccounts},model:{value:t.accounts.page,callback:function(e){t.$set(t.accounts,"page",e)},expression:"accounts.page"}})],1)],1)],1)],1),e("a-modal",{staticClass:"task-detail-modal",attrs:{destroyOnClose:"",width:"min-content",closable:!1,visible:t.showTaskDetail,title:"",footer:null},on:{cancel:t.detailClose}},[e("task-detail",{attrs:{taskCode:t.taskCode},on:{close:t.detailClose}})],1)],1)},n=[],r=(i("8e6e"),i("456d"),i("ac6a"),i("ade3")),o=i("2f62"),s=i("c1df"),l=i.n(s),c=i("009f"),u=i("1157"),d=i.n(u);function h(t,e){void 0===e&&(e="f");var i="https://v1.hitokoto.cn/?c="+e+"&encode=json";d.a.get({url:i,success:function(e){t(e)}})}var f=i("81fe"),p=i("24d2"),m=i("c24f"),v=i("1b80"),g=i("b199"),y=(i("d96ec"),i("b39f")),b=i("2f14");function _(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function x(t){for(var e=1;e=l&&!v||"k"===v)&&(f+=t.abbrLabel.th,e/=l)),~i.indexOf("[.]")&&(h=!0,i=i.replace("[.]","."));var y=e.toString().split(".")[0],b=i.split(".")[1],_=i.indexOf(","),x=(i.split(".")[0].split(",")[0].match(/0/g)||[]).length;if(b?(~b.indexOf("[")?(b=b.replace("]",""),b=b.split("["),p=u(e,b[0].length+b[1].length,n,b[1].length)):p=u(e,b.length,n),y=p.split(".")[0],p=~p.indexOf(".")?"."+p.split(".")[1]:"",h&&0===+p.slice(1)&&(p="")):y=u(e,0,n),f&&!v&&+y>=1e3&&f!==a.trillion&&(y=""+ +y/1e3,f=a.million),~y.indexOf("-")&&(y=y.slice(1),m=!0),y.length
")})),e.join("")}}}function h(t){var e=t.metrics,i=t.legendName,a=t.labelMap;if(!i&&!a)return{data:e};var n=a?e.map((function(t){return null==a[t]?t:a[t]})):e;return{data:n,formatter:function(t){return null!=i[t]?i[t]:t}}}var f=function(t,e,i,a){e=r.isArray(e)?e:[],t=r.isArray(t)?t:[];var n=i.axisSite,o=void 0===n?{}:n,s=i.yAxisType,f=void 0===s?["normal","normal"]:s,p=i.xAxisType,m=void 0===p?"category":p,v=i.yAxisName,g=void 0===v?[]:v,y=i.dimension,b=void 0===y?[t[0]]:y,_=i.xAxisName,x=void 0===_?[]:_,w=i.axisVisible,k=void 0===w||w,C=i.area,S=i.stack,T=i.scale,M=void 0===T?[!1,!1]:T,D=i.min,O=void 0===D?[null,null]:D,I=i.max,j=void 0===I?[null,null]:I,L=i.nullAddZero,P=void 0!==L&&L,A=i.digit,E=void 0===A?2:A,N=i.legendName,R=void 0===N?{}:N,z=i.labelMap,F=void 0===z?{}:z,B=i.label,V=i.itemStyle,H=i.lineStyle,Y=i.areaStyle,$=a.tooltipVisible,W=a.legendVisible,q=a.tooltipFormatter,G=t.slice();o.left&&o.right?G=o.left.concat(o.right):o.left&&!o.right?G=o.left:i.metrics?G=i.metrics:G.splice(t.indexOf(b[0]),1);var U=W&&h({metrics:G,legendName:R,labelMap:F}),X=$&&d({axisSite:o,yAxisType:f,digit:E,labelMap:F,xAxisType:m,tooltipFormatter:q}),K=l({dimension:b,rows:e,xAxisName:x,axisVisible:k,xAxisType:m}),Z=u({yAxisName:g,yAxisType:f,axisVisible:k,scale:M,min:O,max:j,digit:E}),J=c({rows:e,axisSite:o,metrics:G,area:C,stack:S,nullAddZero:P,labelMap:F,label:B,itemStyle:V,lineStyle:H,areaStyle:Y,xAxisType:m,dimension:b}),Q={legend:U,xAxis:K,series:J,yAxis:Z,tooltip:X};return Q},p=s({},o,{name:"VeLine",data:function(){return this.chartHandler=f,{}}});t.exports=p},c533:function(t,e){var i=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],a={color:i,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],i]};t.exports=a},c775:function(t,e,i){var a=i("2b17"),n=a.retrieveRawValue;function r(t,e){var i=t.mapDimension("defaultedLabel",!0),a=i.length;if(1===a)return n(t,e,i[0]);if(a){for(var r=[],o=0;o
")})),e.join("")}}}function m(t,e){for(var i=Math.max.apply(null,e),a=Math.min.apply(null,e),n=[],r=a;r<=i;r++){var o=e.indexOf(r);~o?n.push(t[o]):n.push(null)}return n}function v(t){var e=t.innerRows,i=t.metrics,a=t.stack,n=t.axisSite,s=t.isHistogram,c=t.labelMap,d=t.itemStyle,h=t.label,f=t.showLine,p=void 0===f?[]:f,v=t.dimAxisType,g=t.barGap,y=t.opacity,b=t.dims,_=[],x={},w=s?n.right||[]:n.top||[],k=s?"yAxisIndex":"xAxisIndex",C=a&&r.getStackMap(a);return i.forEach((function(t){x[t]=[]})),e.forEach((function(t){i.forEach((function(e){x[e].push(t[e])}))})),_=Object.keys(x).map((function(t,e){var i="value"===v?m(x[t],b):x[t],n=l({name:null!=c[t]?c[t]:t,type:~p.indexOf(t)?"line":"bar",data:i},k,~w.indexOf(t)?"1":"0");a&&C[t]&&(n.stack=C[t]),h&&(n.label=h),d&&(n.itemStyle=d);var r=y||o.get(n,"itemStyle.normal.opacity");return"value"===v&&(n.barGap=g,n.barCategoryGap="1%",null==r&&(r=u)),null!=r&&o.set(n,"itemStyle.normal.opacity",r),n})),!!_.length&&_}function g(t){var e=t.metrics,i=t.labelMap,a=t.legendName;if(!a&&!i)return{data:e};var n=i?e.map((function(t){return null==i[t]?t:i[t]})):e;return{data:n,formatter:function(t){return null!=a[t]?a[t]:t}}}function y(t,e){return t.map((function(t){return t[e[0]]}))}var b=function(t,e,i,a){var n=o.cloneDeep(e),r=i.axisSite,s=void 0===r?{}:r,l=i.dimension,c=void 0===l?[t[0]]:l,u=i.stack,h=void 0===u?{}:u,m=i.axisVisible,b=void 0===m||m,_=i.digit,x=void 0===_?2:_,w=i.dataOrder,k=void 0!==w&&w,C=i.scale,S=void 0===C?[!1,!1]:C,T=i.min,M=void 0===T?[null,null]:T,D=i.max,O=void 0===D?[null,null]:D,I=i.labelMap,j=void 0===I?{}:I,L=i.legendName,P=void 0===L?{}:L,A=i.label,E=i.itemStyle,N=i.showLine,R=i.barGap,z=void 0===R?"-100%":R,F=i.opacity;if(k){var B=k.label,V=k.order;B&&V?n.sort((function(t,e){return"desc"===V?t[B]-e[B]:e[B]-t[B]})):console.warn("Need to provide name and order parameters")}var H=a.tooltipVisible,Y=a.legendVisible,$=t.slice();s.left&&s.right?$=s.left.concat(s.right):s.left&&!s.right?$=s.left:i.metrics?$=i.metrics:$.splice(t.indexOf(c[0]),1);var W=i.yAxisType||["normal","normal"],q=i.xAxisType||"category",G=i.yAxisName||[],U=i.xAxisName||"",X=!0,K=y(n,c),Z=Y&&g({metrics:$,labelMap:j,legendName:P}),J=d({innerRows:n,dimAxisName:U,dimension:c,axisVisible:b,dimAxisType:q,dims:K}),Q=f({meaAxisName:G,meaAxisType:W,axisVisible:b,digit:x,scale:S,min:M,max:O}),tt=v({innerRows:n,metrics:$,stack:h,axisSite:s,isHistogram:X,labelMap:j,itemStyle:E,label:A,showLine:N,dimAxisType:q,dimension:c,barGap:z,opacity:F,dims:K}),et={axisSite:s,isHistogram:X,meaAxisType:W,digit:x,labelMap:j},it=H&&p(et),at={legend:Z,yAxis:Q,series:tt,xAxis:J,tooltip:it};return at},_=c({},s,{name:"VeHistogram",data:function(){return this.chartHandler=b,{}}});t.exports=_},d789:function(t,e,i){"use strict";i("2f98")},d833:function(t,e,i){var a=i("20c8"),n=i("9680"),r=i("e7d2"),o=i("68ab"),s=i("9f51"),l=i("857d"),c=l.normalizeRadian,u=i("4a3f"),d=i("8728"),h=a.CMD,f=2*Math.PI,p=1e-4;function m(t,e){return Math.abs(t-e)=r;c++)o-=r;var u=y(i,e);return u>o&&(i="",u=0),o=t-u,a.ellipsis=i,a.ellipsisWidth=u,a.contentWidth=o,a.containerWidth=t,a}function D(t,e){var i=e.containerWidth,a=e.font,n=e.contentWidth;if(!i)return"";var r=y(t,a);if(r<=i)return t;for(var o=0;;o++){if(r<=n||o>=e.maxIterations){t+=e.ellipsis;break}var s=0===o?O(t,n,e.ascCharWidth,e.cnCharWidth):r>0?Math.floor(t.length*n/r):0;t=t.substr(0,s),r=y(t,a)}return""===t&&(t=e.placeholder),t}function O(t,e,i,a){for(var n=0,r=0,o=t.length;r0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),o+=n,l+=n}else{s=n+1;while(ls&&(l=s);var c=o;o=n-l,l=n-c}o++;while(os&&(l=s);var c=o;o=n-l,l=n-c}else{s=a-n;while(l=0)o=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),o+=n,l+=n}o++;while(o=0;d--)t[v+d]=t[m+d];if(0===n){_=!0;break}}if(t[p--]=u[f--],1===--s){_=!0;break}if(b=s-l(t[h],u,0,s,s-1,e),0!==b){for(p-=b,f-=b,s-=b,v=p+1,m=f+1,d=0;d=a||b>=a);if(_)break;g<0&&(g=0),g+=2}if(r=g,r<1&&(r=1),1===s){for(p-=n,h-=n,v=p+1,m=h+1,d=n-1;d>=0;d--)t[v+d]=t[m+d];t[p]=u[f]}else{if(0===s)throw new Error;for(m=p-(s-1),d=0;d=0;d--)t[v+d]=t[m+d];t[p]=u[f]}else for(m=p-(s-1),d=0;dh&&(f=h),s(t,a,a+f,a+c,e),c=f}d.pushRun(a,c),d.mergeRuns(),l-=c,a+=c}while(0!==l);d.forceMergeRuns()}}t.exports=d},"0655":function(t,e,i){var a=i("8728"),n=1e-8;function r(t,e){return Math.abs(t-e)3&&(n=i.call(n,1));for(var o=e.length,s=0;s0){var e=t.date[0].format("YYYY-MM-DD"),i=t.date[1].format("YYYY-MM-DD");t.date=e+"~"+i}Object.assign(this.requestData,t),this.init()}}},u=c,d=i("2877"),h=Object(d["a"])(u,a,n,!1,null,null,null);e["default"]=h.exports},"20c8":function(t,e,i){var a=i("4a3f"),n=i("401b"),r=i("e263"),o=i("9850"),s=i("2cf4"),l=s.devicePixelRatio,c={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},u=[],d=[],h=[],f=[],p=Math.min,m=Math.max,v=Math.cos,g=Math.sin,y=Math.sqrt,b=Math.abs,_="undefined"!==typeof Float32Array,x=function(t){this._saveData=!t,this._saveData&&(this.data=[]),this._ctx=null};x.prototype={constructor:x,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(t,e,i){i=i||0,this._ux=b(i/l/t)||0,this._uy=b(i/l/e)||0},getContext:function(){return this._ctx},beginPath:function(t){return this._ctx=t,t&&t.beginPath(),t&&(this.dpr=t.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(t,e){return this.addData(c.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},lineTo:function(t,e){var i=b(t-this._xi)>this._ux||b(e-this._yi)>this._uy||this._len<5;return this.addData(c.L,t,e),this._ctx&&i&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),i&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,i,a,n,r){return this.addData(c.C,t,e,i,a,n,r),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,i,a,n,r):this._ctx.bezierCurveTo(t,e,i,a,n,r)),this._xi=n,this._yi=r,this},quadraticCurveTo:function(t,e,i,a){return this.addData(c.Q,t,e,i,a),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,i,a):this._ctx.quadraticCurveTo(t,e,i,a)),this._xi=i,this._yi=a,this},arc:function(t,e,i,a,n,r){return this.addData(c.A,t,e,i,i,a,n-a,0,r?0:1),this._ctx&&this._ctx.arc(t,e,i,a,n,r),this._xi=v(n)*i+t,this._yi=g(n)*i+e,this},arcTo:function(t,e,i,a,n){return this._ctx&&this._ctx.arcTo(t,e,i,a,n),this},rect:function(t,e,i,a){return this._ctx&&this._ctx.rect(t,e,i,a),this.addData(c.R,t,e,i,a),this},closePath:function(){this.addData(c.Z);var t=this._ctx,e=this._x0,i=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,i),t.closePath()),this._xi=e,this._yi=i,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,i=0;id&&(d=u[f],h=f);++l[h],u[h]=0,++c}return l[e]/r}var p=9007199254740991;function m(t){var e=2*Math.PI;return(t%e+e)%e}function v(t){return t>-n&&t
"):(i=new s(e),this._newLine="\n"),this._tooltipContent=i}},render:function(t,e,i){if(!r.node){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=i,this._lastDataByCoordSys=null,this._alwaysShowContent=t.get("alwaysShowContent");var a=this._tooltipContent;a.update(t),a.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow()}},_initGlobalListener:function(){var t=this._tooltipModel,e=t.get("triggerOn");p.register("itemTooltip",this._api,b((function(t,i,a){"none"!==e&&(e.indexOf(t)>=0?this._tryShow(i,a):"leave"===t&&this._hide(a))}),this))},_keepShow:function(){var t=this._tooltipModel,e=this._ecModel,i=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var a=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!i.isDisposed()&&a.manuallyShowTip(t,e,i,{x:a._lastX,y:a._lastY})}))}},manuallyShowTip:function(t,e,i,a){if(a.from!==this.uid&&!r.node){var n=S(a,i);this._ticket="";var o=a.dataByCoordSys;if(a.tooltip&&null!=a.x&&null!=a.y){var s=w;s.position=[a.x,a.y],s.update(),s.tooltip=a.tooltip,this._tryShow({offsetX:a.x,offsetY:a.y,target:s},n)}else if(o)this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,dataByCoordSys:a.dataByCoordSys,tooltipOption:a.tooltipOption},n);else if(null!=a.seriesIndex){if(this._manuallyAxisShowTip(t,e,i,a))return;var l=d(a,e),c=l.point[0],u=l.point[1];null!=c&&null!=u&&this._tryShow({offsetX:c,offsetY:u,position:a.position,target:l.el},n)}else null!=a.x&&null!=a.y&&(i.dispatchAction({type:"updateAxisPointer",x:a.x,y:a.y}),this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,target:i.getZr().findHover(a.x,a.y).target},n))}},manuallyHideTip:function(t,e,i,a){var n=this._tooltipContent;!this._alwaysShowContent&&this._tooltipModel&&n.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,a.from!==this.uid&&this._hide(S(a,i))},_manuallyAxisShowTip:function(t,e,i,a){var n=a.seriesIndex,r=a.dataIndex,o=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=n&&null!=r&&null!=o){var s=e.getSeriesByIndex(n);if(s){var l=s.getData();t=C([l.getItemModel(r),s,(s.coordinateSystem||{}).model,t]);if("axis"===t.get("trigger"))return i.dispatchAction({type:"updateAxisPointer",seriesIndex:n,dataIndex:r,position:a.position}),!0}}},_tryShow:function(t,e){var i=t.target,a=this._tooltipModel;if(a){this._lastX=t.offsetX,this._lastY=t.offsetY;var n=t.dataByCoordSys;n&&n.length?this._showAxisTooltip(n,t):i&&null!=i.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(t,i,e)):i&&i.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(t,i,e)):(this._lastDataByCoordSys=null,this._hide(e))}},_showOrMove:function(t,e){var i=t.get("showDelay");e=n.bind(e,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(e,i):e()},_showAxisTooltip:function(t,e){var i=this._ecModel,a=this._tooltipModel,r=[e.offsetX,e.offsetY],o=[],s=[],c=C([e.tooltipOption,a]),u=this._renderMode,d=this._newLine,h={};_(t,(function(t){_(t.dataByAxis,(function(t){var e=i.getComponent(t.axisDim+"Axis",t.axisIndex),a=t.value,r=[];if(e&&null!=a){var c=v.getValueLabel(a,e.axis,i,t.seriesDataIndices,t.valueLabelOpt);n.each(t.seriesDataIndices,(function(o){var l=i.getSeriesByIndex(o.seriesIndex),d=o.dataIndexInside,f=l&&l.getDataParams(d);if(f.axisDim=t.axisDim,f.axisIndex=t.axisIndex,f.axisType=t.axisType,f.axisId=t.axisId,f.axisValue=m.getAxisRawValue(e.axis,a),f.axisValueLabel=c,f){s.push(f);var p,v=l.formatTooltip(d,!0,null,u);if(n.isObject(v)){p=v.html;var g=v.markers;n.merge(h,g)}else p=v;r.push(p)}}));var f=c;"html"!==u?o.push(r.join(d)):o.push((f?l.encodeHTML(f)+d:"")+r.join(d))}}))}),this),o.reverse(),o=o.join(this._newLine+this._newLine);var f=e.position;this._showOrMove(c,(function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(c,f,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(c,o,s,Math.random(),r[0],r[1],f,void 0,h)}))},_showSeriesItemTooltip:function(t,e,i){var a=this._ecModel,r=e.seriesIndex,o=a.getSeriesByIndex(r),s=e.dataModel||o,l=e.dataIndex,c=e.dataType,u=s.getData(c),d=C([u.getItemModel(l),s,o&&(o.coordinateSystem||{}).model,this._tooltipModel]),h=d.get("trigger");if(null==h||"item"===h){var f,p,m=s.getDataParams(l,c),v=s.formatTooltip(l,!1,c,this._renderMode);n.isObject(v)?(f=v.html,p=v.markers):(f=v,p=null);var g="item_"+s.name+"_"+l;this._showOrMove(d,(function(){this._showTooltipContent(d,f,m,g,t.offsetX,t.offsetY,t.position,t.target,p)})),i({type:"showTip",dataIndexInside:l,dataIndex:u.getRawIndex(l),seriesIndex:r,from:this.uid})}},_showComponentItemTooltip:function(t,e,i){var a=e.tooltip;if("string"===typeof a){var n=a;a={content:n,formatter:n}}var r=new f(a,this._tooltipModel,this._ecModel),o=r.get("content"),s=Math.random();this._showOrMove(r,(function(){this._showTooltipContent(r,o,r.get("formatterParams")||{},s,t.offsetX,t.offsetY,t.position,e)})),i({type:"showTip",from:this.uid})},_showTooltipContent:function(t,e,i,a,n,r,o,s,c){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent,d=t.get("formatter");o=o||t.get("position");var h=e;if(d&&"string"===typeof d)h=l.formatTpl(d,i,!0);else if("function"===typeof d){var f=b((function(e,a){e===this._ticket&&(u.setContent(a,c,t),this._updatePosition(t,o,n,r,u,i,s))}),this);this._ticket=a,h=d(i,a,f)}u.setContent(h,c,t),u.show(t),this._updatePosition(t,o,n,r,u,i,s)}},_updatePosition:function(t,e,i,a,r,o,s){var l=this._api.getWidth(),c=this._api.getHeight();e=e||t.get("position");var u=r.getSize(),d=t.get("align"),f=t.get("verticalAlign"),p=s&&s.getBoundingRect().clone();if(s&&p.applyTransform(s.transform),"function"===typeof e&&(e=e([i,a],o,r.el,p,{viewSize:[l,c],contentSize:u.slice()})),n.isArray(e))i=x(e[0],l),a=x(e[1],c);else if(n.isObject(e)){e.width=u[0],e.height=u[1];var m=h.getLayoutRect(e,{width:l,height:c});i=m.x,a=m.y,d=null,f=null}else if("string"===typeof e&&s){var v=D(e,p,u);i=v[0],a=v[1]}else{v=T(i,a,r,l,c,d?null:20,f?null:20);i=v[0],a=v[1]}if(d&&(i-=O(d)?u[0]/2:"right"===d?u[0]:0),f&&(a-=O(f)?u[1]/2:"bottom"===f?u[1]:0),t.get("confine")){v=M(i,a,r,l,c);i=v[0],a=v[1]}r.moveTo(i,a)},_updateContentNotChangedOnAxis:function(t){var e=this._lastDataByCoordSys,i=!!e&&e.length===t.length;return i&&_(e,(function(e,a){var n=e.dataByAxis||{},r=t[a]||{},o=r.dataByAxis||[];i&=n.length===o.length,i&&_(n,(function(t,e){var a=o[e]||{},n=t.seriesDataIndices||[],r=a.seriesDataIndices||[];i&=t.value===a.value&&t.axisType===a.axisType&&t.axisId===a.axisId&&n.length===r.length,i&&_(n,(function(t,e){var a=r[e];i&=t.seriesIndex===a.seriesIndex&&t.dataIndex===a.dataIndex}))}))})),this._lastDataByCoordSys=t,!!i},_hide:function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},dispose:function(t,e){r.node||(this._tooltipContent.dispose(),p.unregister("itemTooltip",e))}});function C(t){var e=t.pop();while(t.length){var i=t.pop();i&&(f.isInstance(i)&&(i=i.get("tooltip",!0)),"string"===typeof i&&(i={formatter:i}),e=new f(i,e,e.ecModel))}return e}function S(t,e){return t.dispatchAction||n.bind(e.dispatchAction,e)}function T(t,e,i,a,n,r,o){var s=i.getOuterSize(),l=s.width,c=s.height;return null!=r&&(t+l+r>a?t-=l+r:t+=r),null!=o&&(e+c+o>n?e-=c+o:e+=o),[t,e]}function M(t,e,i,a,n){var r=i.getOuterSize(),o=r.width,s=r.height;return t=Math.min(t+o,a)-o,e=Math.min(e+s,n)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function D(t,e,i){var a=i[0],n=i[1],r=5,o=0,s=0,l=e.width,c=e.height;switch(t){case"inside":o=e.x+l/2-a/2,s=e.y+c/2-n/2;break;case"top":o=e.x+l/2-a/2,s=e.y-n-r;break;case"bottom":o=e.x+l/2-a/2,s=e.y+c+r;break;case"left":o=e.x-a-r,s=e.y+c/2-n/2;break;case"right":o=e.x+l+r,s=e.y+c/2-n/2}return[o,s]}function O(t){return"center"===t||"middle"===t}t.exports=k},4319:function(t,e,i){var a=i("6d8b"),n=i("22d1"),r=i("e0d3"),o=r.makeInner,s=i("625e"),l=s.enableClassExtend,c=s.enableClassCheck,u=i("3901"),d=i("9bdb"),h=i("fe21"),f=i("551f"),p=a.mixin,m=o();function v(t,e,i){this.parentModel=e,this.ecModel=i,this.option=t}function g(t,e,i){for(var a=0;a
":"",b=v+d.join(v||", ");return{renderMode:a,content:b,style:f}}function v(t){return{renderMode:a,content:l(c(t)),style:f}}var g=this.getData(),y=g.mapDimension("defaultedTooltip",!0),b=y.length,_=this.getRawValue(t),x=n.isArray(_),w=g.getItemVisual(t,"color");n.isObject(w)&&w.colorStops&&(w=(w.colorStops[0]||{}).color),w=w||"transparent";var k=b>1||x&&!b?m(_):v(b?C(g,t,y[0]):x?_[0]:_),S=k.content,T=r.seriesIndex+"at"+p,M=u({color:w,type:"item",renderMode:a,markerId:T});f[T]=w,++p;var D=g.getName(t),O=this.name;d.isNameSpecified(this)||(O=""),O=O?l(O)+(e?": ":o):"";var I="string"===typeof M?M:M.content,j=e?I+O+S:O+I+(D?l(D)+": "+S:S);return{html:j,markers:f}},isAnimationEnabled:function(){if(r.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,i){var a=this.ecModel,n=f.getColorFromPalette.call(this,t,e,i);return n||(n=a.getColorFromPalette(t,e,i)),n},coordDimToDataDim:function(t){return this.getRawData().mapDimension(t,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function M(t){var e=t.name;d.isNameSpecified(t)||(t.name=D(t)||e)}function D(t){var e=t.getRawData(),i=e.mapDimension("seriesName",!0),a=[];return n.each(i,(function(t){var i=e.getDimensionInfo(t);i.displayName&&a.push(i.displayName)})),a.join(" ")}function O(t){return t.model.getRawData().count()}function I(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),j}function j(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function L(t,e){n.each(t.CHANGABLE_METHODS,(function(i){t.wrapMethod(i,n.curry(P,e))}))}function P(t){var e=A(t);e&&e.setOutputEnd(this.count())}function A(t){var e=(t.ecModel||{}).scheduler,i=e&&e.getPipeline(t.uid);if(i){var a=i.currentTask;if(a){var n=a.agentStubMap;n&&(a=n.get(t.uid))}return a}}n.mixin(T,p),n.mixin(T,f);var E=T;t.exports=E},"4fac":function(t,e,i){var a=i("620b"),n=i("9c2c");function r(t,e,i){var r=e.points,o=e.smooth;if(r&&r.length>=2){if(o&&"spline"!==o){var s=n(r,o,i,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var l=r.length,c=0;c<(i?l:l-1);c++){var u=s[2*c],d=s[2*c+1],h=r[(c+1)%l];t.bezierCurveTo(u[0],u[1],d[0],d[1],h[0],h[1])}}else{"spline"===o&&(r=a(r,i)),t.moveTo(r[0][0],r[0][1]);c=1;for(var f=r.length;cC[1]&&(C[1]=k)}if(!n.pure){var S=c[y];if(g&&null==S)if(null!=g.name)c[y]=S=g.name;else if(null!=i){var T=o[i],M=r[T][b];if(M){S=M[_];var D=l[T].ordinalMeta;D&&D.categories.length&&(S=D.categories[S])}}var j=null==g?null:g.id;null==j&&null!=S&&(h[S]=h[S]||0,j=S,h[S]>0&&(j+="__ec__"+h[S]),h[S]++),null!=j&&(u[y]=j)}}!n.persistent&&n.clean&&n.clean(),this._rawCount=this._count=e,this._extent={},I(this)}},D.count=function(){return this._count},D.getIndices=function(){var t=this._indices;if(t){var e=t.constructor,i=this._count;if(e===Array){n=new e(i);for(var a=0;a