web.8513.6961cf044b26e302.js Maven / Gradle / Ivy
"use strict";(self.webpackChunkflink=self.webpackChunkflink||[]).push([[8513],{72801:(z,_,n)=>{n.d(_,{i:()=>l});const l={scrollBeyondLastLine:!1,glyphMargin:!0,language:"apex",wordWrap:"on",readOnly:!0,minimap:{enabled:!1}}},42455:(z,_,n)=>{n.d(_,{c:()=>M});var l=n(36895),g=n(94650);let M=(()=>{class i{constructor(o){this.locale=o}transform(o,h="mediumDate",c,r){if(null==o||""===o||o!=o||o<0)return"\u2013";try{return(0,l.p6)(o,h,r||this.locale,c)}catch{}}}return i.\u0275fac=function(o){return new(o||i)(g.Y36(g.soG,16))},i.\u0275pipe=g.Yjl({name:"humanizeDate",type:i,pure:!0,standalone:!0}),i})()},54459:(z,_,n)=>{n.r(_),n.d(_,{TaskManagerLogListComponent:()=>T});var l=n(36895),g=n(19132),M=n(77579),i=n(39646),f=n(70262),o=n(82722),h=n(42455),c=n(18309),r=n(6675),L=n(73925),t=n(94650),p=n(45695);function O(s,u){if(1&s&&(t.ynx(0),t.TgZ(1,"tr")(2,"td")(3,"a",4),t._uU(4),t.qZA()(),t.TgZ(5,"td"),t._uU(6),t.ALo(7,"humanizeDate"),t.qZA(),t.TgZ(8,"td"),t._uU(9),t.ALo(10,"number"),t.qZA()(),t.BQk()),2&s){const a=u.ngIf,e=t.oxw(2);t.xp6(3),t.Q6J("queryParamsHandling","preserve")("routerLink",e.logRouterFactory(a.name)),t.xp6(1),t.hij(" ",a.name," "),t.xp6(2),t.Oqu(t.xi3(7,5,a.mtime,"yyyy-MM-dd HH:mm:ss")),t.xp6(3),t.Oqu(t.xi3(10,8,a.size/1024,"1.0-2"))}}function D(s,u){if(1&s&&t.YNc(0,O,11,11,"ng-container",3),2&s){const a=u.$implicit,e=t.oxw();t.Q6J("ngIf",e.narrowLogData(a))}}const E=function(){return["50%","25%","25%"]},C=function(){return{y:"calc( 100% - 36px )"}};let T=(()=>{class s{constructor(a,e,y,P){this.taskManagerService=a,this.activatedRoute=e,this.cdr=y,this.moduleConfig=P,this.trackByName=(d,m)=>m.name,this.narrowLogData=(0,L.t)(),this.sortLastModifiedTimeFn=(d,m)=>d.mtime-m.mtime,this.sortSizeFn=(d,m)=>d.size-m.size,this.listOfLog=[],this.isLoading=!0,this.destroy$=new M.x,this.logRouterFactory=P.routerFactories?.taskManager||c.K.routerFactories.taskManager}ngOnInit(){this.taskManagerService.loadLogList(this.activatedRoute.parent.snapshot.params.taskManagerId).pipe((0,f.K)(()=>(0,i.of)([])),(0,o.R)(this.destroy$)).subscribe(e=>{this.listOfLog=e,this.isLoading=!1,this.cdr.markForCheck()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return s.\u0275fac=function(a){return new(a||s)(t.Y36(p.k),t.Y36(g.gz),t.Y36(t.sBO),t.Y36(c.N))},s.\u0275cmp=t.Xpm({type:s,selectors:[["flink-task-manager-log-list"]],standalone:!0,features:[t.jDz],decls:11,vars:15,consts:[["nzBordered","",3,"nzSize","nzData","nzLoading","nzFrontPagination","nzShowPagination","nzVirtualItemSize","nzVirtualForTrackBy","nzVirtualMinBufferPx","nzVirtualMaxBufferPx","nzWidthConfig","nzScroll"],[3,"nzSortFn"],["nz-virtual-scroll",""],[4,"ngIf"],[3,"queryParamsHandling","routerLink"]],template:function(a,e){1&a&&(t.TgZ(0,"nz-table",0)(1,"thead")(2,"tr")(3,"th"),t._uU(4,"Log Name"),t.qZA(),t.TgZ(5,"th",1),t._uU(6,"Last Modified Time"),t.qZA(),t.TgZ(7,"th",1),t._uU(8,"Size (KB)"),t.qZA()()(),t.TgZ(9,"tbody"),t.YNc(10,D,1,1,"ng-template",2),t.qZA()()),2&a&&(t.Q6J("nzSize","small")("nzData",e.listOfLog)("nzLoading",e.isLoading)("nzFrontPagination",!1)("nzShowPagination",!1)("nzVirtualItemSize",36)("nzVirtualForTrackBy",e.trackByName)("nzVirtualMinBufferPx",480)("nzVirtualMaxBufferPx",480)("nzWidthConfig",t.DdM(13,E))("nzScroll",t.DdM(14,C)),t.xp6(5),t.Q6J("nzSortFn",e.sortLastModifiedTimeFn),t.xp6(2),t.Q6J("nzSortFn",e.sortSizeFn))},dependencies:[r.HQ,r.N8,r.qD,r.Uo,r._C,r.Om,r.p0,r.$Z,r.zu,l.O5,g.yS,h.c,l.JJ],styles:["[_nghost-%COMP%]{display:flex;flex:1}[_nghost-%COMP%] .ant-table-cell{font-size:12px}[_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}),s})()}}]);
© 2015 - 2025 Weber Informatics LLC | Privacy Policy