1"use strict";(self.webpackChunkclient=self.webpackChunkclient||[]).push([[2515,8495],{99655:(I,y,n)=>{n.d(y,{w:()=>P});var t=n(36895),h=n(24006),w=n(8929),E=n(25174),r=n(94650),x=n(20388),u=n(36899);const l=function(_){return{"tip-error-border":_}},g=function(_){return{"tip-error":_}};let P=(()=>{const d=class{constructor(A){this.bsModalRef=A,this.desc="",this.descSubject=new w.xQ,this.title={content:"\u9879\u76ee\u63cf\u8ff0",position:"center"}}ngOnInit(){this.description=new h.p4(this.desc,h.kI.maxLength(140))}onSubmit(){if(!this.description.valid)return!1;this.descSubject.next(this.description.value),this.bsModalRef.hide()}};let _=d;return d.\u0275fac=function(U){return new(U||d)(r.Y36(x.UZ))},d.\u0275cmp=r.Xpm({type:d,selectors:[["lx-description"]],inputs:{project:"project"},standalone:!0,features:[r.jDz],decls:7,vars:8,consts:[["position","center",3,"title"],["name","description","id","description",3,"formControl","ngClass"],[1,"tip",3,"ngClass"],[1,"dy-button-blue","dy-button-middle","action-button",3,"click"]],template:function(U,T){1&U&&(r.TgZ(0,"lx-modal",0)(1,"form"),r._UZ(2,"textarea",1),r.TgZ(3,"div",2),r._uU(4,"\u8bf7\u8f93\u5165140\u4e2a\u5b57\u4ee5\u5185"),r.qZA()(),r.TgZ(5,"button",3),r.NdJ("click",function(){return T.onSubmit()}),r._uU(6,"\u786e\u5b9a"),r.qZA()()),2&U&&(r.Q6J("title",T.title),r.xp6(2),r.Q6J("formControl",T.description)("ngClass",r.VKq(4,l,T.description.invalid)),r.xp6(1),r.Q6J("ngClass",r.VKq(6,g,T.description.invalid)))},dependencies:[t.ez,t.mk,h.u5,h._Y,h.Fj,h.JJ,h.JL,h.F,h.UX,h.oH,E.F,u.z],styles:["[_nghost-%COMP%] .modal-title[_ngcontent-%COMP%]{font-family:PingFangSC-Medium;font-size:18px;font-weight:400;font-stretch:normal;letter-spacing:0px;color:#141414;font-weight:700!important}[_nghost-%COMP%] form[_ngcontent-%COMP%]{width:350px;margin:40px auto 0}[_nghost-%COMP%] form[_ngcontent-%COMP%] #description[_ngcontent-%COMP%]{resize:none;width:100%;height:162px;padding:10px 20px;border:solid 1px #e0e2e5;border-radius:2px;margin-bottom:5px;font-family:PingFangSC-Regular;font-size:14px;font-weight:400;font-stretch:normal;letter-spacing:0px;color:#323b47}[_nghost-%COMP%] form[_ngcontent-%COMP%] #description[_ngcontent-%COMP%]:focus{outline:none;border:1px solid #2ea2f8}[_nghost-%COMP%] form[_ngcontent-%COMP%] #description.tip-error-border[_ngcontent-%COMP%]{border:1px solid #ed1c24}[_nghost-%COMP%] form[_ngcontent-%COMP%] .tip[_ngcontent-%COMP%]{text-align:right;font-family:PingFangSC-Regular;font-size:12px;font-weight:400;font-stretch:normal;letter-spacing:0px;color:#5c6066}[_nghost-%COMP%] form[_ngcontent-%COMP%] .tip-error[_ngcontent-%COMP%]{color:#ed1c24}[_nghost-%COMP%] button.dy-button-blue[_ngcontent-%COMP%]{width:130px;height:44px;background-color:#0079fa;border-radius:2px;font-family:PingFangSC-Semibold;font-size:14px;font-weight:400;font-stretch:normal;letter-spacing:0px;color:#fff}"]}),_})()},28955:(I,y,n)=>{n.d(y,{E:()=>E});var t=n(99655),h=n(62763),w=n(94650);let E=(()=>{const x=class{};let r=x;return x.\u0275fac=function(g){return new(g||x)},x.\u0275mod=w.oAB({type:x}),x.\u0275inj=w.cJS({providers:[h.B],imports:[t.w]}),r})()},57462:(I,y,n)=>{n.d(y,{Z:()=>_});var t=n(36895),h=n(24006),w=n(610),r=(n(90416),n(94666)),x=n(91562),u=n(93207),l=n(94650);const g=[u.P,x.a,r.H];let _=(()=>{const m=class{};let d=m;return m.\u0275fac=function(T){return new(T||m)},m.\u0275mod=l.oAB({type:m}),m.\u0275inj=l.cJS({imports:[h.UX,h.u5,t.ez,w.Bz,g]}),d})()},61284:(I,y,n)=>{n.d(y,{z:()=>x});var t=n(94650),h=n(20388),w=n(36895);function E(u,l){if(1&u&&t._UZ(0,"video",4,5),2&u){const g=t.oxw();t.Q6J("src",g.url,t.LSH)}}function r(u,l){if(1&u&&t._UZ(0,"video",6,7),2&u){const g=t.oxw();t.Q6J("src",g.url,t.LSH)}}let x=(()=>{const l=class{constructor(P){this.bsModalRef=P,this.isMaterialVideo=!1}ngOnInit(){$(".modal")[0].style.background="rgba(0,0,0,0.6)"}ngAfterViewInit(){}close(){this.bsModalRef.hide()}};let u=l;return l.\u0275fac=function(_){return new(_||l)(t.Y36(h.UZ))},l.\u0275cmp=t.Xpm({type:l,selectors:[["lx-play-video"]],inputs:{url:"url",isMaterialVideo:"isMaterialVideo"},decls:4,vars:2,consts:[[1,"video-container"],["width","100%","height","100%","controls","controls","auto
1play","autoplay",3,"src",4,"ngIf"],["style","object-fit: contain","width","100%","height","100%","controls","controls","controlsList","nodownload noremoteplayback noplaybackrate","disablePictureInPicture","","autoplay","autoplay",3,"src",4,"ngIf"],[1,"close-tag",3,"click"],["width","100%","height","100%","controls","controls","autoplay","autoplay",3,"src"],["video",""],["width","100%","height","100%","controls","controls","controlsList","nodownload noremoteplayback noplaybackrate","disablePictureInPicture","","autoplay","autoplay",2,"object-fit","contain",3,"src"],["videoMaterial",""]],template:function(_,d){1&_&&(t.TgZ(0,"div",0),t.YNc(1,E,2,1,"video",1),t.YNc(2,r,2,1,"video",2),t.qZA(),t.TgZ(3,"div",3),t.NdJ("click",function(){return d.close()}),t.qZA()),2&_&&(t.xp6(1),t.Q6J("ngIf",!d.isMaterialVideo),t.xp6(1),t.Q6J("ngIf",d.isMaterialVideo))},dependencies:[w.O5],styles:[".video-container[_ngcontent-%COMP%]{width:800px;height:450px;position:relative}.video-container[_ngcontent-%COMP%] video[_ngcontent-%COMP%]{object-fit:fill}.close-tag[_ngcontent-%COMP%]{width:32px;height:32px;position:absolute;top:-40px;right:-35px;background:url(/dyassets/images/share/close.png) no-repeat center/cover;cursor:pointer}"]}),u})()},6181:(I,y,n)=>{n.d(y,{S:()=>_});var t=n(36895),h=n(24006),w=n(610),E=n(4126),r=n(16478),u=(n(82082),n(55985)),l=n(94650);const g=[];let _=(()=>{const m=class{};let d=m;return m.\u0275fac=function(T){return new(T||m)},m.\u0275mod=l.oAB({type:m}),m.\u0275inj=l.cJS({imports:[h.UX,h.u5,t.ez,w.Bz,g,E.N,u.j,r.g]}),d})()},62763:(I,y,n)=>{n.d(y,{B:()=>w});var t=n(94650),h=n(88761);let w=(()=>{const r=class{constructor(u){this._utilService=u}canActivate(){return this._utilService.setQueryParams(this.formatUrl(location.href)),!0}formatUrl(u){const l={};return u.replace(/[?&](.*?)=([^&]*)/g,(g,P,_)=>l[P]=_),l}};let E=r;return r.\u0275fac=function(l){return new(l||r)(t.LFG(h.F))},r.\u0275prov=t.Yz7({token:r,factory:r.\u0275fac}),E})()},79606:(I,y,n)=>{n.d(y,{J:()=>mt});var t=n(94650),h=n(36895),w=n(24006),E=n(610),r=n(17489),u=n(8929),l=n(42654),g=n(75290),P=n(31904),_=n(40266),d=n(66457),m=n(78788),A=n(12748),U=n(51851),T=n(92198),R=n(91391),S=n(91977),B=n(16478),J=n(38713),F=n(1179),Q=n(86749),N=n(16959),z=n(69309),j=n(20388),H=n(97185),K=n(60411),Y=n(70540),V=n(75359),G=n(59061),X=n(72209),q=n(70777),tt=n(46292);const et=["tables"];function at(o,b){if(1&o&&(t.TgZ(0,"span",26),t._uU(1),t.qZA()),2&o){const p=t.oxw();t.Q6J("title",p.name),t.xp6(1),t.Oqu(p.name)}}function nt(o,b){if(1&o){const p=t.EpF();t.TgZ(0,"lx-dy-input-rename",27),t.NdJ("closeRename",function(a){t.CHM(p);const i=t.oxw();return t.KtG(i.handleCloseRename(a))}),t.qZA()}if(2&o){const p=t.oxw();t.Q6J("text",p.name)("openFlag",p.openFlag)("editable",p.editable)}}function it(o,b){1&o&&(t.TgZ(0,"div",34),t._UZ(1,"i",35),t.TgZ(2,"span"),t._uU(3,"\u63d0\u793a\uff1a"),t.qZA(),t._UZ(4,"i"),t.TgZ(5,"span"),t._uU(6,"\u84dd\u8272\u533a\u57df\u4e3a\u5f53\u524d\u53ef\u89c6\u5316\u56fe\u8868\u53ef\u7528\u5230\u7684\u533a\u57df"),t.qZA()())}function rt(o,b){1&o&&t._UZ(0,"i",36),2&o&&t.Q6J("content","<span>\u63d0\u793a\uff1a</span><i></i><span>\u84dd\u8272\u533a\u57df\u4e3a\u5f53\u524d\u53ef\u89c6\u5316\u56fe\u8868\u53ef\u7528\u5230\u7684\u533a\u57df</span>")("tooltipClass","data-tip")("position","top")}function ot(o,b){if(1&o){const p=t.EpF();t.TgZ(0,"div",28)(1,"div",29)(2,"input",30),t.NdJ("checkedChange",function(a){t.CHM(p);const i=t.oxw();return t.KtG(i.isCheckedAll=a)})("change",function(a){t.CHM(p);const i=t.oxw();return t.KtG(i.handleCheckClick(a))}),t.qZA(),t.TgZ(3,"span",31),t._uU(4,"\u9009\u62e9\u5168\u90e8"),t.qZA()(),t.YNc(5,it,7,0,"div",32),t.YNc(6,rt,1,3,"i",33),t.qZA()}if(2&o){const p=t.oxw();t.xp6(2),t.Q6J("checked",p.isCheckedAll),t.xp6(3),t.Q6J("ngIf",p.tbWidth>467),t.xp6(1),t.Q6J("ngIf",p.tbWidth<=467)}}function st(o,b){if(1&o){const p=t.EpF();t.TgZ(0,"div",44),t.NdJ("click",function(){t.CHM(p);const a=t.oxw(2);return t.KtG(a.uploadData())}),t._uU(1,"\u4fdd\u5b58\u6570\u636e"),t.qZA()}}function pt(o,b){1&o&&(t.TgZ(0,"div",45),t._uU(1,"\u53e6\u5b58\u4e3a"),t.qZA())}function lt(o,b){if(1&o){const p=t.EpF();t.TgZ(0,"span",42),t.NdJ("click",function(){t.CHM(p);const a=t.oxw(2);return t.KtG(a.otherSave(!1))}),t._uU(1,"\u4ec5\u4fdd\u5b58\u52fe\u9009\u533a"),t.qZA()}}function ct(o,b){if(1&o){const p=t.EpF();t.TgZ(0,"span",42),t.NdJ("click",function(){t.CHM(p);const a=t.oxw(2);return t.KtG(a.otherSave(!0))}),t._uU(1,"\u4ec5\u4fdd\u5b58\u52fe\u9009\u533a"),t.qZA()}}function dt(o,b){if(1&o){const p=t.EpF();t.TgZ(0,"div",37),t.YNc(1,st,2,0,"div",38),t.TgZ(2,"div",39),t.YNc(3,pt,2,0,"div",40),t.TgZ(4,"div",41)(5,"span",42),t.NdJ("click",function(){t.CHM(p);const a=t.oxw();return t.KtG(a.otherSave(!0))}),t._uU(6,"\u5168\u90e8\u6570\u636e"),t.qZA(),t.YNc(7,lt,2,0,"span",43),t.YNc(8,ct,2,0,"span",43),t.qZA()()()}if(2&o){const p=t.oxw();
1t.xp6(1),t.Q6J("ngIf",p.canSave),t.xp6(2),t.Q6J("ngIf",0!==p.typeIndex),t.xp6(4),t.Q6J("ngIf",p.canSave),t.xp6(1),t.Q6J("ngIf",!p.canSave)}}const W=function(o){return{height:o}};function ht(o,b){if(1&o){const p=t.EpF();t.TgZ(0,"div",46),t.NdJ("mousedown",function(a){t.CHM(p);const i=t.oxw();return t.KtG(i.onLineMouseDown(a))}),t.qZA()}if(2&o){const p=t.oxw();t.Q6J("ngStyle",t.VKq(1,W,p.tbHeight+38+"px"))}}const k=function(o){return{active:o}};function _t(o,b){if(1&o){const p=t.EpF();t.TgZ(0,"div",47),t.NdJ("click",function(){const i=t.CHM(p).index,c=t.oxw();return t.KtG(c.changeChartIndex(i))}),t._UZ(1,"img",48),t.TgZ(2,"div",49),t._uU(3,"\u5207\u6362"),t.qZA()()}if(2&o){const p=b.$implicit,e=b.index,a=t.oxw();t.Q6J("ngClass",t.VKq(2,k,a.chartIndex===e)),t.xp6(1),t.Q6J("src",p.thumb,t.LSH)}}function ut(o,b){}function gt(o,b){if(1&o&&(t.TgZ(0,"div",50)(1,"div",51),t._UZ(2,"div",52)(3,"div",53)(4,"div",54),t.qZA()()),2&o){const p=t.oxw();t.Q6J("ngStyle",t.VKq(1,W,p.tbHeight+38+"px"))}}function ft(o,b){if(1&o){const p=t.EpF();t.TgZ(0,"div",37)(1,"div",55),t.NdJ("click",function(){t.CHM(p);const a=t.oxw();
1return t.KtG(a.editChart(0,a.name,!0))}),t._uU(2,"\u7f16\u8f91\u56fe\u8868"),t.qZA(),t.TgZ(3,"div",56),t.NdJ("click",function(){t.CHM(p);const a=t.oxw();return t.KtG(a.otherSaveChart())}),t._uU(4,"\u5b58\u4e3a\u56fe\u8868\u9879\u76ee"),t.qZA()()}}const L=function(o){return{disabled:o}},Z=function(o){return{width:o}};let mt=(()=>{const b=class{constructor(e,a,i,c,s,f,v,O,C){this.modalService=e,this.toastr=a,this._http=i,this._httpClient=c,this._api=s,this.componentFactoryResolver=f,this._store=v,this._el=O,this._dataTransmissionService=C,this.curData=new u.xQ,this.curData$=this.curData.asObservable(),this.name="\u672a\u547d\u540d\u6570\u636e",this.typeIndex=0,this.chartIndex=0,this.chartTemplateList=[],this.readOnly=!1,this.canSave=!0,this.backPage=new t.vpe,this.mySubscription=new l.w,this.isChangeChart=!0,this.isWxWork=!1,this.isCheckedAll=!0,this.chartName="",this.isShowChart=!1,this.isDestroy=!0,this.openFlag=!1,this.editable=!0,/(wxwork|Wxwork|WXwork|wxWork)/.test(window.navigator.userAgent)&&(this.isWxWork=!0),this.mySubscription.add(this._store.select(_.bG).pipe((0,T.h)(D=>!!D)).subscribe(D=>{D&&""!==D.team_id&&(this.team_id=D.team_id,this.team_role=D.team_role,this.url=`${this._api.getHost()}/team/${D.team_id}`)})).add(this._store.select(_.Iz).subscribe(D=>{D&&(this.theme=D.themes)})).add(this._store.select(_.Aj).subscribe(D=>{D&&D.templates.length>0&&(this.setChartTemplateList(D.templates),this.loadBlock())})).add(this._dataTransmissionService.getDataClick().subscribe(D=>{"\u6570\u636e"==D.name&&this.handleBack()})),this._http.data(`${this.url}/charts/`).subscribe(({folder_list:D})=>{this.chartFolderList=D})}ngOnInit(){this.resizeTbwidth(),this.resizetbHeight(),this.name=this.file.title}ngAfterViewInit(){const e=setTimeout(()=>{this.curData.next(this.file.data),clearTimeout(e)});this.data=r.cloneDeep(this.file.data),this.cloneData=r.cloneDeep(this.data),this.isChangeChart=0!==this.typeIndex||""!==String(this.data)}handleCloseRename(e){this.file.data_id?this._http.put(`${this.url}/data/${this.file.data_id}/`,{action:"rename_project",options:{name:e.text}}).subscribe(({resultCode:s})=>{1e3===s?(this.name=e.text,this.toastr.success(null,"\u4fee\u6539\u6210\u529f")):this.toastr.error(null,"\u91cd\u547d\u540d\u5931\u8d25")}):this.name=e.text}setChartTemplateList(e){const a=[];R.P.map((i,c)=>{a.push([]),i.map(s=>{const f=e.filter(v=>v.templateId===s)[0];a[c].push(f)})}),this.chartTemplateList=a}resizeTbwidth(){this.tbWidth=0===this.typeIndex?this.isWxWork?this._el.nativeElement.querySelector(".work-wrapper").clientWidth:this._el.nativeElement.querySelector(".work-wrapper").getBoundingClientRect().width:this.isWxWork?this._el.nativeElement.querySelector(".work-wrapper").clientWidth/2-14:this._el.nativeElement.querySelector(".work-wrapper").getBoundingClientRect().width/2-14}resizetbHeight(){let e=document.body.clientHeight-212-107-64-38;e=e<300?300:e,0===this.typeIndex||(e-=36,e=e<300?300:e),this.tbHeight=e}tbAfterChange(e){this.isChangeChart=0!==this.typeIndex||""!==String(e.data),this.data=e.data,this.curData.next(this.data),0!==this.typeIndex&&(this.getCheckData(),this.loadBlock())}headCheckChange(e){0!==this.typeIndex&&(this.headCheck=e,this.getCheckData(),this.loadBlock())}getCheckData(e){if(!this.data||!this.data[0]||0===this.typeIndex)return;const a=r.cloneDeep(e?e[0]:this.data[0]),i=[];let c=-1;for(let s=0;s<a.length;s++)if(this.headCheck.row[s]){i.push([]),c++;for(let f=0;f<a[0].length;f++)this.headCheck.col[f]&&i[c].push(a[s]&&null!==a[s][f]?a[s][f]:null)}this.checkData=[i],this.isCheckedAll=r.isEqualWith(this.checkData,this.data)}uploadData(e){window._hmt.push(["_trackEvent","data","data-edit-b","data-edit-btn-saveData"]),this.file&&this.file.data_id?(this._httpClient.get(`${this.url}/data/${this.file.data_id}/`).subscribe(a=>{if(1e3===a.resultCode){const i=a.data;r.isEqual(i.data,this.cloneData)?this.updateData(i.data_id):this.showModal(i)}else this.showErroModal()}),this.isDestroy=!1,this.backPage.emit(this.file.folder_id)):this.otherSave(!0,!0)}saveData(e,a,i="",c=!0){const s=e,f=c?this.data:this.checkData,v=i||this.name;this._http.post(`${this.url}/data/`,{title:v,data:f,folder_id:s}).subscribe(O=>{1e3===O.resultCode?(this.toastr.success(null,"\u4fdd\u5b58\u6210\u529f"),this.name=v,this.file.data_id=O.data.data_id,s&&(this.file.folder_id=s),this.cloneData=r.cloneDeep(f),c||(this.curData.next(f),this.data=f,this.isCheckedAll=!0,this.tables.handleCheckAll(!0)),this.backPage.emit(void 0!==a?a:"dataChange"),this.backPage.emit(this.file.folder_id),this.isDestroy=!1):this.toastr.error(null,"\u4fdd\u5b58\u5931\u8d25")})}updateData(e){this._http.put(`${this.url}/data/${e}/`,{action:"update_project",options:{data:this.data}}).subscribe(i=>{1e3===i.resultCode?(this.toastr.success(null,"\u4fdd\u5b58\u6210\u529f"),this.file.data_id=i.data.data_id,this.cloneData=r.cloneDeep(this.data),this.backPage.emit("dataChange")):this.toastr.error(null,"\u4fdd\u5b58\u5931\u8d25")})}showModal(e){this.bsModalRef=this.modalService.show(A.L,{initialState:{content:"\u5f53\u524d\u6570\u636e\u521a\u521a\u5df2\u88ab\u5176\u4ed6\u6210\u5458\u4fee\u6539\uff0c\u662f\u5426\u7ee7\u7eed\u4ee5\u4e0b\u64cd\u4f5c\uff1f",deleteTitle:{position:"left",content:"\u63d0\u793a"},deleteActions:{position:"right",buttons:[{title:"\u8986\u76d6",action:"cancel"},{title:"\u53e6\u5b58\u4e3a",action:"cancel"},{title:"\u5237\u65b0",action:"confirm"}]},isShowCloseBtn:!1}}),this.bsModalRef.content.onModal.subscribe(a=>{"\u8986\u76d6"===a.title?this.updateData(e.data_id):"\u53e6\u5b58\u4e3a"===a.title?this.otherSave(!0):"\u5237\u65b0"===a.title&&(this.curData.next(e.data),this.data=e.data,this.cloneData=r.cloneDeep(this.data),this.getCheckData(),this.loadBlock())})}showErroModal(){this.bsModalRef=this.modalService.show(A.L,{initialState:{content:"\u6743\u9650\u5df2\u88ab\u4fee\u6539\uff0c\u8bf7\u5237\u65b0\u9875\u9762\uff01",deleteTitle:{position:"left",content:"\u63d0\u793a"},deleteActions:{position:"right",buttons:[{title:"\u786e\u5b9a",action:"delete"}]}}}),this.bsModalRef.content.onModal.subscribe(e=>{"\u786e\u5b9a"===e.title&&this.backPage.emit()})}loadBlock(){0===this.typeIndex||!this.chartTemplateList.length||setTimeout(()=>{this.block=this.getBlock();try{const e=this.chartHost.viewContainerRef;e.clear();const a=e.createComponent(g.v);a.instance.data={setting:this.block},a.instance.dataExplore=!0,this.isShowChart=!0}catch{}},100)}editChart(e,a,i){i&&window._hmt.push(["_trackEvent","data","data-edit-b","data-edit-btn-editChart"]);const c=this.chartTemplateList[this.typeIndex-1][this.chartIndex],s=r.cloneDeep(this.block);s.props.size=c.props.size,this._http.post(`${this.url}
1/chart/`,{action:"new",options:{title:a,folder_id:e,type:"chart",templateId:this.block.templateId,block:s}}).subscribe(({resultCode:v,data:{id:O}})=>{if(1e3===v)if(i){const C=window.location.origin+`/appv2/#/pages/workspace?project=${O}&type=chart&teamId=${this.team_id}`;(0,S.yL)()?location.href=C:this.isWxWork?window.open(C):window.open("","_blank").location.href=C}else this.toastr.success(null,"\u4fdd\u5b58\u6210\u529f");else this.toastr.error(null,"\u4fdd\u5b58\u5931\u8d25")})}otherSave(e=!0,a){window._hmt.push(["_trackEvent","data","data-edit-b","data-edit-btn-saveAsData"]),this.file.team_id=this.team_id,this._http.data(`${this.url}/data/folder/select/`).subscribe(i=>{this.bsModalRef=this.modalService.show(U.M,{ignoreBackdropClick:!0,initialState:{title:"\u4fdd\u5b58\u4e3a",data:i,subtitle:"\u9009\u62e9\u6587\u4ef6\u5939",header:"\u9879\u76ee\u540d\u79f0",folder_id:"current",type:"other_save",item:this.file,projectType:"data",canCreateFolder:!0,name:a?this.name:this.name+" \u526f\u672c"}}),this.bsModalRef.content.onModal.subscribe(c=>{"addFolder"===c.type?this.backPage.emit("dataChange"):"targetId"===c.type&&this.saveData(c.folder_id,void 0,c.name,e)})})}otherSaveChart(){window._hmt.push(["_trackEvent","data","data-edit-b","data-edit-btn-saveAsChart"]),this.file.team_id=this.team_id,this._http.data(`${this.url}/folder_chart/drop_down_select/`).subscribe(e=>{this.bsModalRef=this.modalService.show(U.M,{ignoreBackdropClick:!0,initialState:{title:"\u53e6\u5b58\u4e3a",data:e,folder_id:"current",type:"other_save",item:this.file,projectType:"chart",canCreateFolder:!0,name:this.name}}),this.bsModalRef.content.onModal.subscribe(a=>{"addFolder"===a.type?this.backPage.emit("dataChange"):"targetId"===a.type&&this.editChart(a.folder_id,a.name,!1)})})}dataCopy(e){this._http.put(`${this.url}/data/${e.data_id}/`,{action:"fork",options:{}}).subscribe(i=>{1e3===i.resultCode&&(this.toastr.success(null,"\u526f\u672c\u521b\u5efa\u6210\u529f"),this.file=i.data,this.name=this.file.title,this.backPage.emit("dataChange"))})}changeChartIndex(e){window._hmt.push(["_trackEvent","data","data-edit-b","data-edit-btn-switchChart"]),this.chartIndex=e,this.loadBlock()}selectType(e){switch(e){case 0:window._hmt.push(["_trackEvent","data","data-edit-b","data-edit-tab-table"]);break;case 1:window._hmt.push(["_trackEvent","data","data-edit-b","data-edit-tab-pieCharts"]);break;case 2:window._hmt.push(["_trackEvent","data","data-edit-b","data-edit-tab-compareChart"]);break;case 3:window._hmt.push(["_trackEvent","data","data-edit-b","data-edit-btn-crossChart"])}
1this.isChangeChart&&(this.typeIndex=e,this.chartIndex=0,this.resizeTbwidth(),this.resizetbHeight(),0!==e&&this.loadBlock())}getBlock(){const e=this.chartTemplateList[this.typeIndex-1][this.chartIndex];this.chartName=e.title;let a=r.cloneDeep(e);return a.position={top:0,left:0},a.props.size.height=this.tbHeight+38,a.props.size.width=this.isWxWork?Math.floor(this._el.nativeElement.querySelector(".work-wrapper").clientWidth-this.tbWidth-28)+"":Math.floor(this._el.nativeElement.querySelector(".work-wrapper").getBoundingClientRect().width-this.tbWidth-28)+"",a.props.titleDisplay.show=!1,a.props.unitDisplay.show=!1,a.props.sourceDisplay.show=!1,a.props.paddings.top="48",a.dataSrc.data=this.readOnly?this.data:this.checkData,a.theme=this.theme[0],String(a.dataSrc.data)&&a.dataSrc.data[0]&&a.dataSrc.data[0][0].length&&(a=this.setMapAndColor(a)),["5544734748594536493","444746070325460999","154777746677828400","5544734748594536503","444734748594536323","154772011302084304"].includes(e.templateId)&&(a.props.legend.show=!1),["5544734748594536493","444746070325460999"].includes(e.templateId)&&(a.props.label.display=!0,a.props.label.contentChoice=["\u540d\u79f0","\u767e\u5206\u6bd4"],a.props.label.positionChoice="\u5916\u90e8"),"444734748594536323"===e.templateId&&(a.props.label.display=!0),"5544734748594536473"===e.templateId&&(a.props.label.numberLabel.show=!0,a.props.label.textLabel.show=!0),a}setMapAndColor(e){const a_changeRowCol={key:null,pos:{row:null,col:null}};if("cross"===e.templateSwitch){const s=e.props.map[0],f=e.dataSrc.data[0][0];if(f.length<s.length)e.props.map[0]=r.take(s,f.length);else if(f.length>s.length)if(e.props.colors.list=(0,d.J)(e,a_changeRowCol),(0,m.F7)(e)){const v=f.length,O=s.length;for(let M=0;M<v-O;M++)s.push({name:"\u6298\u7ebf\u5217",index:M,allowType:["number"],isLegend:!1,function:"vCol",configurable:!0});let C=0;for(let M=0;M<s.length;M++)s[M].index=C++;e.props.map[0]=s}else{const v=f.length-s.length;for(let C=0;C<v;C++)s.push({name:"\u6570\u503c\u5217",index:0,allowType:["number"],isLegend:!1,function:"vCol",configurable:!0});let O=0;for(let C=0;C<s.length;C++)s[C].index=O++;e.props.map[0]=s}else e.props.map[0]=s}else if("key-value"===e.templateSwitch)"single"!==e.props.colors.type&&(e.props.colors.list=(0,d.J)(e,a_changeRowCol));else if("8000000011111111001"===e.templateId||"8000000011111111002"===e.templateId||"8000000011111111003"===e.templateId){let s;s=e.props.pictures?e.props.pictures.urlList:[],e.props.colors.list=(0,d.J)(e,a_changeRowCol)}else e.props.colors&&(e.props.colors.list=(0,d.J)(e,a_changeRowCol));return e}onLineMouseDown(e){const a=e.clientX,c=this.tbWidth;let s;document.onmousemove=f=>{s=f.clientX;const O=f.clientX-a+c;this.tbWidth=O<240?240:O>860?860:O},document.onmouseup=()=>{this.loadBlock(),document.onmouseup=null,document.onmousedown=null,document.onmousemove=null}}handleBack(){const e=this.data;this.canSave?(this.file.data_id||""===String(this.data))&&r.isEqual(e,this.cloneData)?this.backPage.emit(this.file.folder_id):(this.bsModalRef=this.modalService.show(A.L,{initialState:{content:`\u662f\u5426\u4fdd\u5b58\u5bf9\u201c${this.name}\u201d\u7684\u4fee\u6539?`,deleteTitle:{position:"left",content:"\u63d0\u793a"},deleteActions:{position:"right",buttons:[{title:"\u4fdd\u5b58",action:"confirm"},{title:"\u4e0d\u4fdd\u5b58",action:"cancel"}]}}}),this.bsModalRef.content.onModal.subscribe(a=>{"\u4fdd\u5b58"===a.title?this.uploadData(this.file.folder_id):"\u4e0d\u4fdd\u5b58"===a.title&&(this.isDestroy=!1,this.backPage.emit(this.file.folder_id))})):this.backPage.emit(this.file.folder_id)}ngOnDestroy(){this.mySubscription.unsubscribe(),this.isDestroy&&this.handleBack()}handleCheckClick(e){this.isCheckedAll=e.target.checked,this.tables.handleCheckAll(this.isCheckedAll)}};let o=b;return b.\u0275fac=function(a){return new(a||b)(t.Y36(j.tT),t.Y36(H._W),t.Y36(K.OE),t.Y36(K.OE),t.Y36(Y.b),t.Y36(t._Vd),t.Y36(V.yh),t.Y36(t.SBq),t.Y36(G.E))},b.\u0275cmp=t.Xpm({type:b,selectors:[["lx-data-edit"]],viewQuery:function(a,i){if(1&a&&(t.Gf(et,5),t.Gf(P.D,7)),2&a){let c;t.iGM(c=t.CRH())&&(i.tables=c.first),t.iGM(c=t.CRH())&&(i.chartHost=c.first)}},inputs:{data:"data",file:"file",folderList:"folderList",readOnly:"readOnly",canSave:"canSave"},outputs:{backPage:"backPage"}
1,standalone:!0,features:[t.jDz],decls:49,vars:67,consts:[[1,"d-flex","justify-content-between","align-items-center","tab-wrapper"],[1,"bread-nav",3,"click"],[1,"i-back"],[3,"title",4,"ngIf"],[3,"text","openFlag","editable","closeRename",4,"ngIf"],[1,"d-flex","type-wrapper"],[1,"type",3,"click"],[3,"ngClass"],[1,"type",3,"ngClass","click"],[1,"work-wrapper",3,"ngClass"],[1,"table-wrapper",3,"ngStyle"],["class","d-flex justify-content-between align-items-center",4,"ngIf"],[3,"curData","width","isReadOnly","isHeaderCheck","tbHeight","tbAfterChange","headCheckChange"],["tables",""],["class","btn-wrapper",4,"ngIf"],["class","line-move",3,"ngStyle","mousedown",4,"ngIf"],[1,"chart-wrapper",3,"hidden","ngStyle"],[1,"select-wrapper"],[1,"more"],[1,"more-btn"],[1,"between"],[1,"icon-wrapper"],["class","chart",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"content",3,"hidden"],["lxChartHost",""],["class","content",3,"ngStyle",4,"ngIf"],[3,"title"],[3,"text","openFlag","editable","closeRename"],[1,"d-flex","justify-content-between","align-items-center"],[1,"checkbox-wrapper"],["type","checkbox",1,"checker",3,"checked","checkedChange","change"],[1,"title"],["class","tips",4,"ngIf"],["class","tip-icon","dyTooltip","",3,"content","tooltipClass","position",4,"ngIf"],[1,"tips"],[1,"tip-icon"],["dyTooltip","",1,"tip-icon",3,"content","tooltipClass","position"],[1,"btn-wrapper"],["class","confirm",3,"click",4,"ngIf"],[1,"other-save-wrapper"],["class","other-save",4,"ngIf"],[1,"dropdown"],[3,"click"],[3,"click",4,"ngIf"],[1,"confirm",3,"click"],[1,"other-save"],[1,"line-move",3,"ngStyle","mousedown"],[1,"chart",3,"ngClass","click"],["alt","",3,"src"],[1,"mask"],[1,"content",3,"ngStyle"],[1,"loading"],[1,"bounce1"],[1,"bounce2"],[1,"bounce3"],[1,"edit-chart",3,"click"],[1,"save-chart",3,"click"]],template:function(a,i){1&a&&(t.TgZ(0,"div",0)(1,"div",1),t.NdJ("click",function(){return i.handleBack()}),t._UZ(2,"i",2),t.YNc(3,at,2,2,"span",3),t.YNc(4,nt,1,3,"lx-dy-input-rename",4),t.qZA(),t.TgZ(5,"div",5)(6,"div",6),t.NdJ("click",function(){return i.selectType(0)}),t._UZ(7,"i",7),t.TgZ(8,"span",7),t._uU(9,"\u6570\u636e"),t.qZA()(),t.TgZ(10,"div",8),t.NdJ("click",function(){return i.selectType(1)}),t._UZ(11,"i",7),t.TgZ(12,"span",7),t._uU(13,"\u5360\u6bd4\u56fe"),t.qZA()(),t.TgZ(14,"div",8),t.NdJ("click",function(){return i.selectType(2)}),t._UZ(15,"i",7),t.TgZ(16,"span",7),t._uU(17,"\u6bd4\u8f83\u56fe"),t.qZA()(),t.TgZ(18,"div",8),t.NdJ("click",function(){return i.selectType(3)}),t._UZ(19,"i",7),t.TgZ(20,"span",7),t._uU(21,"\u591a\u7ef4\u56fe"),t.qZA()(),t.TgZ(22,"div",8),t.NdJ("click",function(){return i.selectType(4)}),t._UZ(23,"i",7),t.TgZ(24,"span",7),t._uU(25,"\u52a8\u6001\u56fe"),t.qZA()()()(),t.TgZ(26,"div",9)(27,"div",10),t.YNc(28,ot,7,3,"div",11),t.TgZ(29,"lx-data-edit-table",12,13),t.NdJ("tbAfterChange",function(s){return i.tbAfterChange(s)})("headCheckChange",function(s){return i.headCheckChange(s)}),t.qZA(),t.YNc(31,dt,9,4,"div",14),t.qZA(),t.YNc(32,ht,1,3,"div",15),t.TgZ(33,"div",16)(34,"div",17)(35,"h2"),t._uU(36,"\u9009\u62e9\u56fe\u8868"),t.qZA(),t.TgZ(37,"div",18)(38,"div",19)(39,"span"),t._uU(40),t.qZA(),t._UZ(41,"i"),t.qZA(),t._UZ(42,"div",20),t.TgZ(43,"div",21),t.YNc(44,_t,4,4,"div",22),t.qZA()()(),t.TgZ(45,"div",23),t.YNc(46,ut,0,0,"ng-template",24),t.qZA(),t.YNc(47,gt,5,3,"div",25),t.YNc(48,ft,5,0,"div",14),t.qZA()()),2&a&&(t.xp6(3),t.Q6J("ngIf",i.readOnly),t.xp6(1),t.Q6J("ngIf",!i.readOnly),t.xp6(3),t.Q6J("ngClass",t.VKq(33,k,0===i.typeIndex)),t.xp6(1),t.Q6J("ngClass",t.VKq(35,k,0===i.typeIndex)),t.xp6(2),t.Q6J("ngClass",t.VKq(37,L,!i.isChangeChart)),t.xp6(1),t.Q6J("ngClass",t.VKq(39,k,1===i.typeIndex)),t.xp6(1),t.Q6J("ngClass",t.VKq(41,k,1===i.typeIndex)),t.xp6(2),t.Q6J("ngClass",t.VKq(43,L,!i.isChangeChart)),t.xp6(1),t.Q6J("ngClass",t.VKq(45,k,2===i.typeIndex)),t.xp6(1),t.Q6J("ngClass",t.VKq(47,k,2===i.typeIndex)),t.xp6(2),t.Q6J("ngClass",t.VKq(49,L,!i.isChangeChart)),t.xp6(1),t.Q6J("ngClass",t.VKq(51,k,3===i.typeIndex)),t.xp6(1),t.Q6J("ngClass",t.VKq(53,k,3===i.typeIndex)),t.xp6(2),t.Q6J("ngClass",t.VKq(55,L,!i.isChangeChart)),t.xp6(1),t.Q6J("ngClass",t.VKq(57,
1k,4===i.typeIndex)),t.xp6(1),t.Q6J("ngClass",t.VKq(59,k,4===i.typeIndex)),t.xp6(2),t.Q6J("ngClass",t.VKq(61,k,0!==i.typeIndex)),t.xp6(1),t.Q6J("ngStyle",t.VKq(63,Z,i.tbWidth+"px")),t.xp6(1),t.Q6J("ngIf",0!==i.typeIndex),t.xp6(1),t.Q6J("curData",i.curData$)("width",i.tbWidth)("isReadOnly",i.readOnly)("isHeaderCheck",0!==i.typeIndex)("tbHeight",i.tbHeight),t.xp6(2),t.Q6J("ngIf",!i.readOnly||!i.canSave),t.xp6(1),t.Q6J("ngIf",0!==i.typeIndex),t.xp6(1),t.Q6J("hidden",0===i.typeIndex)("ngStyle",t.VKq(65,Z,"calc(100% - 28px - "+i.tbWidth+"px)")),t.xp6(7),t.Oqu(i.chartName),t.xp6(4),t.Q6J("ngForOf",i.chartTemplateList[i.typeIndex-1]),t.xp6(1),t.Q6J("hidden",!i.isShowChart),t.xp6(2),t.Q6J("ngIf",!i.isShowChart),t.xp6(1),t.Q6J("ngIf",!i.readOnly||!i.canSave))},dependencies:[h.ez,h.mk,h.sg,h.O5,h.PC,w.u5,w.UX,E.Bz,B.g,X.N,J.L,P.D,F.BlockModule,Q.n,N.X,q.P,z.H,tt.r],styles:['[_nghost-%COMP%] lx-dy-new-activity .new-activity-icon{top:-19px!important;left:74px!important}[_nghost-%COMP%] lx-dy-new-activity .unlock{top:-19px!important;left:68px!important}[_nghost-%COMP%] .tab-wrapper{margin-top:34px;margin-bottom:28px;position:relative}[_nghost-%COMP%] .tab-wrapper .bread-nav{height:24px;display:flex;align-items:center;cursor:pointer}[_nghost-%COMP%] .tab-wrapper .bread-nav .i-back{width:22px;height:22px;background:url(/dyassets/enterprise/common/left.svg) no-repeat center}[_nghost-%COMP%] .tab-wrapper .bread-nav span{height:25px;font-size:17px;font-weight:500;text-align:left;color:#222;line-height:25px;margin-left:8px;-webkit-user-select:none;user-select:none;overflow:hidden;display:inline-block;text-overflow:ellipsis;white-space:nowrap;max-width:340px}[_nghost-%COMP%] .tab-wrapper .type-wrapper{width:202px;height:51px;position:absolute;right:0;top:-13px;justify-content:space-between}[_nghost-%COMP%] .tab-wrapper .type-wrapper .type{width:36px;height:51px;color:#333}[_nghost-%COMP%] .tab-wrapper .type-wrapper .type.disabled{cursor:not-allowed}[_nghost-%COMP%] .tab-wrapper .type-wrapper .type i{width:32px;height:28px;display:block;margin:0 auto}
1[_nghost-%COMP%] .tab-wrapper .type-wrapper .type span{display:block;text-align:center;margin:6px auto 0}[_nghost-%COMP%] .tab-wrapper .type-wrapper .type span.active{color:#005cfa}[_nghost-%COMP%] .tab-wrapper .type-wrapper .type:nth-of-type(1){width:unset}[_nghost-%COMP%] .tab-wrapper .type-wrapper .type:nth-of-type(1) i{background:url(/dyassets/enterprise/data/data.svg)}[_nghost-%COMP%] .tab-wrapper .type-wrapper .type:nth-of-type(1) i.active{background:url(/dyassets/enterprise/data/data-blue.svg)}[_nghost-%COMP%] .tab-wrapper .type-wrapper .type:nth-of-type(2){width:unset}[_nghost-%COMP%] .tab-wrapper .type-wrapper .type:nth-of-type(2) i{background:url(/dyassets/enterprise/data/ratio.svg)}[_nghost-%COMP%] .tab-wrapper .type-wrapper .type:nth-of-type(2) i.active{background:url(/dyassets/enterprise/data/ratio-blue.svg)}[_nghost-%COMP%] .tab-wrapper .type-wrapper .type:nth-of-type(3){width:unset}[_nghost-%COMP%] .tab-wrapper .type-wrapper .type:nth-of-type(3) i{background:url(/dyassets/enterprise/data/compare.svg)}[_nghost-%COMP%] .tab-wrapper .type-wrapper .type:nth-of-type(3) i.active{background:url(/dyassets/enterprise/data/compare-blue.svg)}[_nghost-%COMP%] .tab-wrapper .type-wrapper .type:nth-of-type(4){width:unset}[_nghost-%COMP%] .tab-wrapper .type-wrapper .type:nth-of-type(4) i{background:url(/dyassets/enterprise/data/more-way.svg)}[_nghost-%COMP%] .tab-wrapper .type-wrapper .type:nth-of-type(4) i.active{background:url(/dyassets/enterprise/data/more-way-blue.svg)}[_nghost-%COMP%] .tab-wrapper .type-wrapper .type:nth-of-type(5){width:unset}[_nghost-%COMP%] .tab-wrapper .type-wrapper .type:nth-of-type(5) i{background:url(/dyassets/enterprise/data/dynamic-chart.svg) no-repeat center/contain}[_nghost-%COMP%] .tab-wrapper .type-wrapper .type:nth-of-type(5) i.active{background:url(/dyassets/enterprise/data/dynamic-chart-blue.svg) no-repeat center/contain}[_nghost-%COMP%] .work-wrapper{display:flex}[_nghost-%COMP%] .work-wrapper.active .btn-wrapper{margin:24px auto 0!important}[_nghost-%COMP%] .work-wrapper .table-wrapper .checkbox-wrapper{height:20px;margin-bottom:16px;display:flex;align-items:center}[_nghost-%COMP%] .work-wrapper .table-wrapper .checkbox-wrapper .checker{width:18px;height:18px;text-align:center;position:relative;cursor:pointer;border-radius:4px;appearance:none;-webkit-appearance:none;-moz-appearance:none;-ms-appearance:none;-o-appearance:none}[_nghost-%COMP%] .work-wrapper .table-wrapper .checkbox-wrapper .checker:before{content:"";width:18px;height:18px;opacity:1;background:#ffffff;border:1px solid #ced0da;border-radius:2px;position:absolute;outline:none;left:0}[_nghost-%COMP%] .work-wrapper .table-wrapper .checkbox-wrapper .checker:hover:before{border:1px solid #005cfa}[_nghost-%COMP%] .work-wrapper .table-wrapper .checkbox-wrapper .checker:disabled:before{background:#f5f5f5;border:1px solid #d9d9d9}[_nghost-%COMP%] .work-wrapper .table-wrapper .checkbox-wrapper .checker:checked:before{background:#005cfa url(/dyassets/enterprise/common/success-white.svg) no-repeat center;background-size:16px;border:none}[_nghost-%COMP%] .work-wrapper .table-wrapper .checkbox-wrapper .title{margin-left:12px;margin-right:54px;height:20px;opacity:1;font-size:14px;font-weight:500;text-align:left;color:#666;line-height:20px}[_nghost-%COMP%] .work-wrapper .table-wrapper .tips{display:flex;align-items:center;margin-bottom:16px}[_nghost-%COMP%] .work-wrapper .table-wrapper .tips i:nth-of-type(1){margin-right:3px}[_nghost-%COMP%] .work-wrapper .table-wrapper .tips i:nth-of-type(2){width:14px;height:14px;margin:1px;background:url(/dyassets/enterprise/data/cell.svg) no-repeat center}[_nghost-%COMP%] .work-wrapper .table-wrapper .tips span{height:20px;font-size:14px;font-weight:400;text-align:left;color:#999;line-height:20px}[_nghost-%COMP%] .work-wrapper .table-wrapper .tip-icon{width:14px;height:14px;background:url(/dyassets/enterprise/data/tip.svg) no-repeat center}[_nghost-%COMP%] .work-wrapper .table-wrapper .btn-wrapper{display:flex;justify-content:center;align-items:center;margin:24px 0 47px calc(100% - 96px)}[_nghost-%COMP%] .work-wrapper .table-wrapper .btn-wrapper .other-save-wrapper{margin-left:8px;position:relative}[_nghost-%COMP%] .work-wrapper .table-wrapper .btn-wrapper .other-save-wrapper:hover .dropdown{display:flex}[_nghost-%COMP%] .work-wrapper .table-wrapper .btn-wrapper .other-save-wrapper:before{content:"";position:absolute;top:40px;height:4px;width:100%}[_nghost-%COMP%] .work-wrapper .table-wrapper .btn-wrapper .other-save-wrapper .dropdown{display:none;margin-top:4px;padding:6px 0;position:absolute;width:96px;height:76px;opacity:1;background:#ffffff;border-radius:4px;box-shadow:0 2px 6px #0003;flex-direction:column;align-items:center}[_nghost-%COMP%] .work-wrapper .table-wrapper .btn-wrapper .other-save-wrapper .dropdown span{width:96px;height:32px;font-size:12px;font-weight:400;text-align:left;color:#333;text-align:center;line-height:32px;
1cursor:pointer}[_nghost-%COMP%] .work-wrapper .table-wrapper .btn-wrapper .other-save-wrapper .dropdown span:hover{background:#f0f2f5}[_nghost-%COMP%] .work-wrapper .table-wrapper .btn-wrapper .other-save-wrapper .other-save{width:96px;height:40px;background:#f7f7f7;border:1px solid #e1e1e1;border-radius:4px;opacity:1;font-size:14px;font-weight:400;text-align:center;color:#333;line-height:40px;-webkit-user-select:none;user-select:none;cursor:pointer}[_nghost-%COMP%] .work-wrapper .line-move{background:url(/dyassets/enterprise/data/line-move.svg) no-repeat center;width:28px;height:400px;margin-top:36px;cursor:pointer}[_nghost-%COMP%] .work-wrapper .chart-wrapper{position:relative;opacity:1;border-radius:4px;margin-bottom:23px;display:flex;justify-content:center;flex-direction:column}[_nghost-%COMP%] .work-wrapper .chart-wrapper .select-wrapper{display:flex;align-items:center;height:24px;margin-bottom:12px}[_nghost-%COMP%] .work-wrapper .chart-wrapper .select-wrapper h2{height:20px;opacity:1;font-size:14px;font-weight:500;text-align:left;color:#333;line-height:20px}[_nghost-%COMP%] .work-wrapper .chart-wrapper .select-wrapper .more{display:block;height:24px;opacity:1;background:#ffffff;border-radius:3px;position:absolute;right:0;z-index:9}[_nghost-%COMP%] .work-wrapper .chart-wrapper .select-wrapper .more .more-btn{padding:0 12px 0 16px;border:1px solid #c8cdd0;border-radius:3px;height:24px;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] .work-wrapper .chart-wrapper .select-wrapper .more .more-btn span{height:17px;opacity:1;font-size:12px;font-weight:400;text-align:right;color:#333;line-height:17px}[_nghost-%COMP%] .work-wrapper .chart-wrapper .select-wrapper .more .more-btn i{width:7px;height:6px;margin-left:8px;background:url(/dyassets/enterprise/data/drop.svg) no-repeat center}[_nghost-%COMP%] .work-wrapper .chart-wrapper .select-wrapper .more .between{height:4px}[_nghost-%COMP%] .work-wrapper .chart-wrapper .select-wrapper .more .icon-wrapper{flex-wrap:wrap;width:196px;max-height:326px;display:none;position:absolute;padding:2px 10px 10px 2px;right:0;background-color:#f7f7fa;border-radius:4px;box-shadow:#0000004d 0 2px 6px}[_nghost-%COMP%] .work-wrapper .chart-wrapper .select-wrapper .more .icon-wrapper .chart{width:84px;height:62px;border:1px solid #eaeaea;border-radius:4px;background:#ffffff;margin-left:8px;margin-top:8px;position:relative}[_nghost-%COMP%] .work-wrapper .chart-wrapper .select-wrapper .more .icon-wrapper .chart:hover .mask{display:block}[_nghost-%COMP%] .work-wrapper .chart-wrapper .select-wrapper .more .icon-wrapper .chart.active{border:1px solid #0049fa}[_nghost-%COMP%] .work-wrapper .chart-wrapper .select-wrapper .more .icon-wrapper .chart.active .mask{display:none}[_nghost-%COMP%] .work-wrapper .chart-wrapper .select-wrapper .more .icon-wrapper .chart img{display:block;margin:0 auto;height:60px;cursor:pointer}[_nghost-%COMP%] .work-wrapper .chart-wrapper .select-wrapper .more .icon-wrapper .chart .mask{display:none;position:absolute;top:0;background-color:#0003;width:100%;height:60px;line-height:60px;font-size:12px;font-weight:400;text-align:center;color:#fff;cursor:pointer}[_nghost-%COMP%] .work-wrapper .chart-wrapper .select-wrapper .more .icon-wrapper:hover{display:flex}[_nghost-%COMP%] .work-wrapper .chart-wrapper .select-wrapper .more:hover .icon-wrapper{display:flex}[_nghost-%COMP%] .work-wrapper .chart-wrapper .content{position:relative;border:1px solid #dbdbdb;border-radius:4px;overflow:hidden;background-color:#fbfcfe}[_nghost-%COMP%] .work-wrapper .chart-wrapper .block-container{position:relative}[_nghost-%COMP%] .work-wrapper .chart-wrapper .btn-wrapper{display:flex;justify-content:center;align-items:center;margin:24px auto 0}[_nghost-%COMP%] .work-wrapper .chart-wrapper .btn-wrapper .edit-chart{margin:0;width:96px;height:40px;text-align:center;line-height:40px;cursor:pointer;opacity:1;background:#005cfa;border-radius:4px;font-size:14px;font-weight:400;color:#fff}[_nghost-%COMP%] .work-wrapper .chart-wrapper .btn-wrapper .edit-chart:hover{background:#196cfa}[_nghost-%COMP%] .work-wrapper .chart-wrapper .btn-wrapper .edit-chart.disabled{opacity:.4;background:#196cfa;pointer-events:none}[_nghost-%COMP%] .work-wrapper .chart-wrapper .btn-wrapper .save-chart{margin-left:8px;width:96px;height:40px;background:#f7f7f7;border:1px solid #e1e1e1;border-radius:4px;opacity:1;font-size:14px;font-weight:400;text-align:center;color:#333;line-height:40px;-webkit-user-select:none;user-select:none;cursor:pointer}[_nghost-%COMP%] .confirm{width:96px;height:40px;text-align:center;line-height:40px;cursor:pointer;opacity:1;background:#005cfa;border-radius:4px;font-size:14px;font-weight:400;color:#fff}[_nghost-%COMP%] .confirm:hover{background:#196cfa}[_nghost-%COMP%] .confirm.disabled{opacity:.4;background:#196cfa;pointer-events:none}[_nghost-%COMP%] lx-dy-input-rename .change-input{width:140px;font-size:17px;font-weight:500;color:#222;transform:translateY(3px)}.loading[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%;margin-left:auto;margin-right:auto;width:70px;text-align:center}.loading[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{width:18px;height:18px;background-color:#0079fa;border-radius:100%;display:inline-block;animation:_ngcontent-%COMP%_sk-bouncedelay 1.4s infinite ease-in-out both}.loading[_ngcontent-%COMP%] .bounce1[_ngcontent-%COMP%]{animation-delay:-.32s}.loading[_ngcontent-%COMP%] .bounce2[_ngcontent-%COMP%]{animation-delay:-.16s}@keyframes _ngcontent-%COMP%_sk-bouncedelay{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}']}),o})()},53972:(I,y,n)=>{n.d(y,{A:()=>r});var t=n(79606),h=n(92611),w=n(62763),E=n(94650);let r=(()=>{const u=class{};let x=u;return u.\u0275fac=function(P){return new(P||u)},u.\u0275mod=E.oAB({type:u}),u.\u0275inj=E.cJS({providers:[h.E,w.B],imports:[t.J]}),x})()},91391:(I,y,n)=>{n.d(y,{P:()=>t});const t=[["5544734748594536493","5544734748594536492","444746070325460999","154777746677828400","5544734748594536503","4447460703254610031","7955555777700001202","4447460703254610041"],["444734748594536323","7955555666601234502","154772011302084304","5544734748594536473","5944734748594536331","5945734748594536331","114473474859453649","7955555777700001205"],["4544734748594536433","4544734748594536434","3612096174443311107","3612096174443311105","3612096174443311122","7955555777700001207","7955555777700001204","7612096173333355103"],["8000000011111111002","8000000011111111001","8000000011111111003"]]},65183:(I,y,n)=>{n.d(y,{t:()=>u});var t=n(36895),h=n(24006),w=n(610),r=(n(40154),n(94650));let u=(()=>{const g=class{};let l=g;return g.\u0275fac=function(d){return new(d||g)},g.\u0275mod=r.oAB({type:g}),g.\u0275inj=r.cJS({imports:[h.UX,h.u5,t.ez,w.Bz]}),l})()},40154:(I,y,n)=>{n.d(y,{M:()=>u});var t=n(94650),h=n(610),w=n(36895);function E(l,g){1&l&&t._UZ(0,"div",4)}const r=function(l){return{active:l}};function x(l,g){if(1&l){const P=t.EpF();t.TgZ(0,"li",2),t.NdJ("click",function(){const m=t.CHM(P).index,A=t.oxw();return t.KtG(A.handleTabClick(m))}),t._uU(1),t.YNc(2,E,1,0,"div",3),t.qZA()}if(2&l){const P=g.$implicit,_=g.index,d=t.oxw();t.Q6J("ngClass",t.VKq(3,r,d.currentIndex===_)),t.xp6(1),t.hij(" ",P," "),t.xp6(1),t.Q6J("ngIf","\u6570\u636e\u89c6\u9891"==P)}}let u=(()=>{const g=class{constructor(_){this.router=_,this.tabs=["\u5de5\u4f5c\u53f0","\u6211\u521b\u5efa\u7684","\u6211\u52a0\u5165\u7684"],this.currentIndex=0,this.pos="",this.selectedIndex=new t.vpe}ngOnInit(){}handleTabClick(_){const d=this.router.url;let m;switch(d.includes("/info-project")?m="info":d.includes("/chart-project")?m="chart":
1d.includes("/data")?m="data":d.includes("/video")&&(m="video"),this.tabs[_]){case"\u56fe\u7247\u7d20\u6750":window._hmt.push(["_trackEvent","designSystem","design-pics-b","design-tab-pics"]);break;case"\u54c1\u724c\u7ba1\u7406":window._hmt.push(["_trackEvent","designSystem","design-brands-b","design-tab-brands"]);break;case"\u5de5\u4f5c\u53f0":window._hmt.push(["_trackEvent",m,"projectmanagement-b","project-manege-tab-desktop"]);break;case"\u4f01\u4e1a\u5168\u90e8":window._hmt.push(["_trackEvent",m,"projectmanagement-b","project-manege-tab-allCompany"]);break;case"\u6211\u521b\u5efa\u7684":window._hmt.push(["_trackEvent",m,"projectmanagement-b","project-manege-tab-iCreate"]);break;case"\u6211\u52a0\u5165\u7684":window._hmt.push(["_trackEvent",m,"projectmanagement-b","project-manege-tab-iParticipate"])}_!==this.currentIndex&&(this.currentIndex=_,this.selectedIndex.emit(_))}};let l=g;return g.\u0275fac=function(d){return new(d||g)(t.Y36(h.F0))},g.\u0275cmp=t.Xpm({type:g,selectors:[["lx-dy-tab"]],inputs:{tabs:"tabs",currentIndex:"currentIndex",pos:"pos"},outputs:{selectedIndex:"selectedIndex"},decls:3,vars:4,consts:[[1,"dy-tab-wrapper"],[3,"ngClass","click",4,"ngFor","ngForOf"],[3,"ngClass","click"],["class","video-tip-icon",4,"ngIf"],[1,"video-tip-icon"]],template:function(d,m){1&d&&(t.TgZ(0,"div")(1,"ul",0),t.YNc(2,x,3,5,"li",1),t.qZA()()),2&d&&(t.Gre("tab-box ",m.pos,""),t.xp6(2),t.Q6J("ngForOf",m.tabs))},dependencies:[w.mk,w.sg,w.O5],styles:['[_nghost-%COMP%] lx-dy-new-activity .new-activity-icon{top:-17px!important;left:70px!important}[_nghost-%COMP%] lx-dy-new-activity .unlock{top:-6px!important;left:70px!important}.tab-box[_ngcontent-%COMP%]{width:100%;height:40px}.tab-box.template[_ngcontent-%COMP%]{border-bottom:1px solid #e6e6e6;width:99.6%!important}.dy-tab-wrapper[_ngcontent-%COMP%]{height:40px;padding-top:5px;padding-left:8px;display:flex}.dy-tab-wrapper[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:15px;color:#333;cursor:pointer;position:relative}.dy-tab-wrapper[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .video-tip-icon[_ngcontent-%COMP%]{position:absolute;top:-8px;right:-30px;width:26px;height:16px;background:url(/dyassets/images/video-new-icon.svg) no-repeat center/contain}.dy-tab-wrapper[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%]{font-weight:600;color:#005cfa}.dy-tab-wrapper[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%]:after{content:"";display:block;width:60px;height:4px;background-color:#005cfa;position:absolute;left:50%;bottom:0;transform:translate(-50%)}.dy-tab-wrapper[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:first-child){margin-left:37px}']}),l})()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.