All Downloads are FREE. Search and download functionalities are using the official Maven repository.

web.6462.69086a3d61457f02.js Maven / Gradle / Ivy

There is a newer version: 2.0-preview1
Show newest version
"use strict";(self.webpackChunkflink=self.webpackChunkflink||[]).push([[6462],{86462:(D,c,o)=>{o.r(c),o.d(c,{JobOverviewDrawerAccumulatorsComponent:()=>d});var _=o(36895),h=o(77579),z=o(39646),O=o(95577),f=o(70262),b=o(82722),m=o(73925),s=o(6675),u=o(27830),t=o(94650),p=o(22423),v=o(47932);function T(a,r){if(1&a&&(t.ynx(0),t.TgZ(1,"tr")(2,"td"),t._uU(3),t.qZA(),t.TgZ(4,"td"),t._uU(5),t.qZA(),t.TgZ(6,"td"),t._uU(7),t.ALo(8,"number"),t.qZA()(),t.BQk()),2&a){const n=r.ngIf;t.xp6(3),t.Oqu(n.name),t.xp6(2),t.Oqu(n.type),t.xp6(2),t.Oqu(t.xi3(8,3,n.value,"1.0-3")||n.value)}}function A(a,r){if(1&a&&t.YNc(0,T,9,6,"ng-container",9),2&a){const n=r.$implicit,e=t.oxw();t.Q6J("ngIf",e.narrowUserAccumulators(n))}}function P(a,r){if(1&a&&(t.ynx(0),t.TgZ(1,"tr")(2,"td",10),t._uU(3),t.qZA(),t.TgZ(4,"td"),t._uU(5),t.qZA(),t.TgZ(6,"td"),t._uU(7),t.qZA(),t.TgZ(8,"td",11),t._uU(9),t.qZA()(),t.BQk()),2&a){const n=r.ngIf;t.xp6(3),t.lnq(" (",n.subtask,") ",n.host,", attempt: ",n.attempt+1," "),t.xp6(2),t.Oqu(n.name),t.xp6(2),t.Oqu(n.type),t.xp6(2),t.Oqu(n.value)}}function M(a,r){if(1&a&&t.YNc(0,P,10,6,"ng-container",9),2&a){const n=r.$implicit,e=t.oxw();t.Q6J("ngIf",e.narrowSubTaskAccumulators(n))}}const g=function(){return{y:"100%"}};let d=(()=>{class a{constructor(n,e,i){this.jobService=n,this.jobLocalService=e,this.cdr=i,this.trackByName=(l,C)=>C.name,this.listOfAccumulator=[],this.listOfSubTaskAccumulator=[],this.isLoading=!0,this.virtualItemSize=36,this.narrowUserAccumulators=(0,m.t)(),this.narrowSubTaskAccumulators=(0,m.t)(),this.destroy$=new h.x}ngOnInit(){this.jobLocalService.jobWithVertexChanges().pipe((0,O.z)(n=>this.jobService.loadAccumulators(n.job.jid,n.vertex.id).pipe((0,f.K)(()=>(0,z.of)({main:[],subtasks:[]})))),(0,b.R)(this.destroy$)).subscribe(n=>{this.isLoading=!1,this.listOfAccumulator=n.main,this.listOfSubTaskAccumulator=this.transformToSubTaskAccumulator(n.subtasks)||[],this.cdr.markForCheck()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}transformToSubTaskAccumulator(n){const e=[];return n.forEach(i=>{i["user-accumulators"].forEach(l=>{e.push({...i,name:l.name,type:l.type,value:l.value})})}),e}}return a.\u0275fac=function(n){return new(n||a)(t.Y36(p.O),t.Y36(v.R),t.Y36(t.sBO))},a.\u0275cmp=t.Xpm({type:a,selectors:[["flink-job-overview-drawer-accumulators"]],standalone:!0,features:[t.jDz],decls:27,vars:22,consts:[[3,"nzTabBarGutter","nzSize"],["nzTitle","Vertex Accumulators"],["nzSize","small",3,"nzLoading","nzData","nzScroll","nzFrontPagination","nzShowPagination","nzVirtualItemSize","nzVirtualMinBufferPx","nzVirtualMaxBufferPx","nzVirtualForTrackBy"],["nzWidth","33.33%"],["nz-virtual-scroll",""],["nzTitle","SubTask Accumulators"],["nzWidth","25%","nzLeft",""],["nzWidth","25%"],["nzWidth","25%","nzRight",""],[4,"ngIf"],["nzLeft",""],["nzRight",""]],template:function(n,e){1&n&&(t.TgZ(0,"nz-tabset",0)(1,"nz-tab",1)(2,"nz-table",2)(3,"thead")(4,"tr")(5,"th",3),t._uU(6,"Name"),t.qZA(),t.TgZ(7,"th",3),t._uU(8,"Type"),t.qZA(),t.TgZ(9,"th",3),t._uU(10,"Value"),t.qZA()()(),t.TgZ(11,"tbody"),t.YNc(12,A,1,1,"ng-template",4),t.qZA()()(),t.TgZ(13,"nz-tab",5)(14,"nz-table",2)(15,"thead")(16,"tr")(17,"th",6),t._uU(18,"SubTask"),t.qZA(),t.TgZ(19,"th",7),t._uU(20,"Name"),t.qZA(),t.TgZ(21,"th",7),t._uU(22,"Type"),t.qZA(),t.TgZ(23,"th",8),t._uU(24,"Value"),t.qZA()()(),t.TgZ(25,"tbody"),t.YNc(26,M,1,1,"ng-template",4),t.qZA()()()()),2&n&&(t.Q6J("nzTabBarGutter",16)("nzSize","small"),t.xp6(2),t.Q6J("nzLoading",e.isLoading)("nzData",e.listOfAccumulator)("nzScroll",t.DdM(20,g))("nzFrontPagination",!1)("nzShowPagination",!1)("nzVirtualItemSize",e.virtualItemSize)("nzVirtualMinBufferPx",300)("nzVirtualMaxBufferPx",300)("nzVirtualForTrackBy",e.trackByName),t.xp6(12),t.Q6J("nzLoading",e.isLoading)("nzData",e.listOfSubTaskAccumulator)("nzScroll",t.DdM(21,g))("nzFrontPagination",!1)("nzShowPagination",!1)("nzVirtualItemSize",e.virtualItemSize)("nzVirtualMinBufferPx",300)("nzVirtualMaxBufferPx",300)("nzVirtualForTrackBy",e.trackByName))},dependencies:[u.we,u.xH,u.xw,s.HQ,s.N8,s.Uo,s._C,s.Om,s.p0,s.$Z,s.zu,s.qn,_.O5,_.JJ],styles:["[_nghost-%COMP%]{position:relative;display:block;height:100%}[_nghost-%COMP%]   nz-tabset[_ngcontent-%COMP%]{height:100%}[_nghost-%COMP%]     .ant-table-cell{font-size:12px}[_nghost-%COMP%]     .ant-tabs-content{height:100%}[_nghost-%COMP%]     .ant-tabs-content .ant-tabs-tabpane{height:100%}[_nghost-%COMP%]     .ant-tabs-nav{margin-bottom:0}[_nghost-%COMP%]     .ant-tabs-small>.ant-tabs-nav .ant-tabs-tab{font-size:12px}[_nghost-%COMP%]     .ant-tabs-small>.ant-tabs-nav .ant-tabs-tab:first-of-type{margin:0 0 0 16px}[_nghost-%COMP%]     ::-webkit-scrollbar{display:none}[_nghost-%COMP%]     nz-table, [_nghost-%COMP%]     nz-spin, [_nghost-%COMP%]     cdk-virtual-scroll-viewport, [_nghost-%COMP%]     nz-table-inner-scroll, [_nghost-%COMP%]     .ant-spin-container, [_nghost-%COMP%]     .ant-table{height:100%}"],changeDetection:0}),a})()}}]);




© 2015 - 2025 Weber Informatics LLC | Privacy Policy