web.common.e00d3b18253c2486.js Maven / Gradle / Ivy
"use strict";(self.webpackChunkflink=self.webpackChunkflink||[]).push([[8592],{89584:(y,E,o)=>{o.d(E,{N:()=>_});var n=o(94650),e=o(66616),t=o(21102),p=o(47044);let _=(()=>{class u{constructor(){this.loading=!1,this.reload=new n.vpe}}return u.\u0275fac=function(g){return new(g||u)},u.\u0275cmp=n.Xpm({type:u,selectors:[["flink-addon-compact"]],inputs:{downloadName:"downloadName",downloadHref:"downloadHref",loading:"loading"},outputs:{reload:"reload"},standalone:!0,features:[n.jDz],decls:5,vars:3,consts:[["nz-button","","nzType","primary","nzSize","small",3,"nzLoading","click"],["nz-icon","","nzType","sync","nzTheme","outline"],["nz-button","","nzType","primary","nzSize","small"],["nz-icon","","nzType","download","nzTheme","outline"]],template:function(g,d){1&g&&(n.TgZ(0,"nz-button-group")(1,"a",0),n.NdJ("click",function(){return d.reload.emit()}),n._UZ(2,"i",1),n.qZA(),n.TgZ(3,"a",2),n._UZ(4,"i",3),n.qZA()()),2&g&&(n.xp6(1),n.Q6J("nzLoading",d.loading),n.xp6(2),n.uIk("download",d.downloadName)("href",d.downloadHref,n.LSH))},dependencies:[e.sL,e.ix,e.fY,p.w,t.PV,t.Ls],styles:["[_nghost-%COMP%]{position:absolute;top:8px;right:32px;z-index:1}"],changeDetection:0}),u})()},14050:(y,E,o)=>{o.d(E,{G:()=>d});var n=o(36895),e=o(94650),t=o(2577),p=o(21102);function _(f,l){1&f&&(e.TgZ(0,"a"),e._uU(1,"Loading..."),e.qZA())}function u(f,l){if(1&f){const m=e.EpF();e.TgZ(0,"a",4),e.NdJ("click",function(){e.CHM(m);const v=e.oxw();return e.KtG(v.reload.emit())}),e._UZ(1,"i",6),e._uU(2," Reload "),e.qZA()}}function c(f,l){1&f&&(e.ynx(0),e._UZ(1,"i",7),e._uU(2," Exit FullScreen "),e.BQk())}function g(f,l){1&f&&(e._UZ(0,"i",8),e._uU(1," FullScreen "))}let d=(()=>{class f{constructor(){this.isLoading=!1,this.reload=new e.vpe,this.fullScreen=new e.vpe,this.isFullScreen=!1}toggleFullScreen(){this.isFullScreen=!this.isFullScreen,this.fullScreen.emit(this.isFullScreen)}}return f.\u0275fac=function(m){return new(m||f)},f.\u0275cmp=e.Xpm({type:f,selectors:[["flink-addon-inline"]],inputs:{downloadName:"downloadName",downloadHref:"downloadHref",isLoading:"isLoading"},outputs:{reload:"reload",fullScreen:"fullScreen"},standalone:!0,features:[e.jDz],decls:12,vars:6,consts:[[4,"ngIf","ngIfElse"],["reloadTpl",""],["nzType","vertical"],["nz-icon","","nzType","download","nzTheme","outline",1,"operate-icon"],[3,"click"],["exitFullScreenTpl",""],["nz-icon","","nzType","sync","nzTheme","outline",1,"operate-icon"],["nz-icon","","nzType","fullscreen-exit","nzTheme","outline",1,"operate-icon"],["nz-icon","","nzType","fullscreen","nzTheme","outline",1,"operate-icon"]],template:function(m,z){if(1&m&&(e.YNc(0,_,2,0,"a",0),e.YNc(1,u,3,0,"ng-template",null,1,e.W1O),e._UZ(3,"nz-divider",2),e.TgZ(4,"a"),e._UZ(5,"i",3),e._uU(6," Download\n"),e.qZA(),e._UZ(7,"nz-divider",2),e.TgZ(8,"a",4),e.NdJ("click",function(){return z.toggleFullScreen()}),e.YNc(9,c,3,0,"ng-container",0),e.YNc(10,g,2,0,"ng-template",null,5,e.W1O),e.qZA()),2&m){const v=e.MAs(2),I=e.MAs(11);e.Q6J("ngIf",z.isLoading)("ngIfElse",v),e.xp6(4),e.uIk("download",z.downloadName)("href",z.downloadHref,e.LSH),e.xp6(5),e.Q6J("ngIf",z.isFullScreen)("ngIfElse",I)}},dependencies:[n.O5,p.PV,p.Ls,t.S,t.g],styles:["[_nghost-%COMP%]{position:absolute;top:8px;right:32px;z-index:1}[_nghost-%COMP%] .operate-icon[_ngcontent-%COMP%]{margin-right:4px}"],changeDetection:0}),f})()},48482:(y,E,o)=>{o.d(E,{I:()=>P});var n=o(36895),e=o(6675),t=o(94650);function p(i,T){if(1&i&&(t.TgZ(0,"tr")(1,"td")(2,"strong"),t._uU(3),t.qZA()(),t.TgZ(4,"td",2),t._uU(5),t.qZA()()),2&i){const s=T.$implicit;t.xp6(3),t.Oqu(s.key),t.xp6(1),t.uIk("title",s.value),t.xp6(1),t.Oqu(s.value)}}const _=function(){return{y:"200px"}};let u=(()=>{class i{constructor(){this.listOfData=[],this.trackByKey=(s,O)=>O.key}}return i.\u0275fac=function(s){return new(s||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["flink-table-display"]],inputs:{listOfData:"listOfData"},standalone:!0,features:[t.jDz],decls:3,vars:11,consts:[[3,"nzData","nzSize","nzFrontPagination","nzShowPagination","nzVirtualItemSize","nzVirtualMaxBufferPx","nzVirtualMinBufferPx","nzVirtualForTrackBy","nzScroll"],[4,"ngFor","ngForOf"],[1,"td-value"]],template:function(s,O){1&s&&(t.TgZ(0,"nz-table",0)(1,"tbody"),t.YNc(2,p,6,3,"tr",1),t.qZA()()),2&s&&(t.Q6J("nzData",O.listOfData)("nzSize","small")("nzFrontPagination",!1)("nzShowPagination",!1)("nzVirtualItemSize",36)("nzVirtualMaxBufferPx",300)("nzVirtualMinBufferPx",300)("nzVirtualForTrackBy",O.trackByKey)("nzScroll",t.DdM(10,_)),t.xp6(2),t.Q6J("ngForOf",O.listOfData))},dependencies:[e.HQ,e.N8,e.Uo,e.p0,e.$Z,n.sg],styles:["[_nghost-%COMP%] td[_ngcontent-%COMP%]{width:50%;font-size:12px}[_nghost-%COMP%] td.td-value[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:pre}"],changeDetection:0}),i})();var c=o(51971),g=o(4788);function d(i,T){if(1&i&&t._UZ(0,"flink-table-display",6),2&i){const s=t.oxw();t.Q6J("listOfData",s.configurations)}}function f(i,T){if(1&i&&t._UZ(0,"flink-table-display",6),2&i){const s=t.oxw();t.Q6J("listOfData",s.convertJVMToKV(s.environmentInfo.jvm))}}function l(i,T){if(1&i&&(t.TgZ(0,"tr")(1,"td"),t._uU(2),t.qZA()()),2&i){const s=T.$implicit;t.xp6(1),t.uIk("title",s),t.xp6(1),t.Oqu(s)}}const m=function(){return{y:"200px"}};function z(i,T){if(1&i&&(t.TgZ(0,"nz-table",7),t.YNc(1,l,3,2,"tr",8),t.qZA()),2&i){const s=t.oxw();t.Q6J("nzData",s.environmentInfo.classpath)("nzSize","small")("nzFrontPagination",!1)("nzShowPagination",!1)("nzScroll",t.DdM(6,m)),t.xp6(1),t.Q6J("ngForOf",s.environmentInfo.classpath)}}function v(i,T){1&i&&t._UZ(0,"nz-empty",11)}function I(i,T){if(1&i&&(t.TgZ(0,"div",9),t.YNc(1,v,1,0,"nz-empty",10),t.qZA()),2&i){const s=t.oxw();t.xp6(1),t.Q6J("ngIf",!s.loading)}}let P=(()=>{class i{constructor(){this.title="Configurations",this.configurations=[],this.loading=!0}convertJVMToKV(s){return[{key:"version",value:s.version},{key:"arch",value:s.arch},{key:"options",value:s.options.join("\n")}]}}return i.\u0275fac=function(s){return new(s||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["flink-configuration-cards"]],inputs:{title:"title",configurations:"configurations",environmentInfo:"environmentInfo",loading:"loading"},standalone:!0,features:[t.jDz],decls:8,vars:10,consts:[["nzType","inner",3,"nzTitle","nzLoading"],[3,"listOfData",4,"ngIf","ngIfElse"],["nzType","inner","nzTitle","JVM",3,"nzLoading"],["nzType","inner","nzTitle","Classpath",3,"nzLoading"],[3,"nzData","nzSize","nzFrontPagination","nzShowPagination","nzScroll",4,"ngIf","ngIfElse"],["noDataTemplate",""],[3,"listOfData"],[3,"nzData","nzSize","nzFrontPagination","nzShowPagination","nzScroll"],[4,"ngFor","ngForOf"],[1,"empty"],["class","ant-empty-normal","nzNotFoundImage","simple",4,"ngIf"],["nzNotFoundImage","simple",1,"ant-empty-normal"]],template:function(s,O){if(1&s&&(t.TgZ(0,"nz-card",0),t.YNc(1,d,1,1,"flink-table-display",1),t.qZA(),t.TgZ(2,"nz-card",2),t.YNc(3,f,1,1,"flink-table-display",1),t.qZA(),t.TgZ(4,"nz-card",3),t.YNc(5,z,2,7,"nz-table",4),t.qZA(),t.YNc(6,I,2,1,"ng-template",null,5,t.W1O)),2&s){const b=t.MAs(7);t.Q6J("nzTitle",O.title)("nzLoading",O.loading),t.xp6(1),t.Q6J("ngIf",O.configurations.length)("ngIfElse",b),t.xp6(1),t.Q6J("nzLoading",O.loading),t.xp6(1),t.Q6J("ngIf",O.environmentInfo)("ngIfElse",b),t.xp6(1),t.Q6J("nzLoading",O.loading),t.xp6(1),t.Q6J("ngIf",O.environmentInfo)("ngIfElse",b)}},dependencies:[c.vh,c.bd,n.O5,e.HQ,e.N8,e.Uo,e.$Z,n.sg,g.Xo,g.p9,u],styles:["[_nghost-%COMP%] nz-card[_ngcontent-%COMP%]{margin:24px}[_nghost-%COMP%] td[_ngcontent-%COMP%]{font-size:12px}[_nghost-%COMP%] .empty[_ngcontent-%COMP%]{display:flex;flex:1;align-items:center;justify-content:center}[_nghost-%COMP%] .ant-collapse>.ant-collapse-item>.ant-collapse-header{padding:0 16px}"],changeDetection:0}),i})()},66093:(y,E,o)=>{o.d(E,{y:()=>p});var n=o(94650);let e=(()=>{class _{constructor(c){this.viewContainerRef=c}}return _.\u0275fac=function(c){return new(c||_)(n.Y36(n.s_b))},_.\u0275dir=n.lG2({type:_,selectors:[["","flink-dynamic",""]],standalone:!0}),_})();function t(_,u){}let p=(()=>{class _{constructor(){this.data={}}ngOnChanges(c){if(c.component){const g=this.host.viewContainerRef;g.clear(),this.componentRef=g.createComponent(this.component)}if(c.data&&this.componentRef){const g=this.componentRef.instance;Object.keys(this.data).forEach(d=>{g[d]=this.data[d]}),this.componentRef.injector.get(n.sBO).markForCheck()}}}return _.\u0275fac=function(c){return new(c||_)},_.\u0275cmp=n.Xpm({type:_,selectors:[["flink-dynamic-host"]],viewQuery:function(c,g){if(1&c&&n.Gf(e,7),2&c){let d;n.iGM(d=n.CRH())&&(g.host=d.first)}},inputs:{data:"data",component:"component"},standalone:!0,features:[n.TTD,n.jDz],decls:1,vars:0,consts:[["flink-dynamic",""]],template:function(c,g){1&c&&n.YNc(0,t,0,0,"ng-template",0)},dependencies:[e],changeDetection:0}),_})()},80833:(y,E,o)=>{o.d(E,{I:()=>t,w:()=>p});var n=o(94650);const t={editorOptions:o(72801).i,routerFactories:{jobManager:_=>[_]}},p=new n.OlP("job-manager-module-config",{providedIn:"root",factory:()=>t})},18309:(y,E,o)=>{o.d(E,{K:()=>t,N:()=>p});var n=o(94650);const t={editorOptions:o(72801).i,routerFactories:{taskManager:_=>[_]}},p=new n.OlP("task-manager-module-config",{providedIn:"root",factory:()=>t})},45695:(y,E,o)=>{o.d(E,{k:()=>g});var n=o(80529),e=o(39646),t=o(60515),p=o(54004),_=o(70262),u=o(94650),c=o(70946);let g=(()=>{class d{constructor(l,m){this.httpClient=l,this.configService=m}loadManagers(){return this.httpClient.get(`${this.configService.BASE_URL}/taskmanagers`).pipe((0,p.U)(l=>l.taskmanagers||[]),(0,_.K)(()=>(0,e.of)([])))}loadManager(l){return this.httpClient.get(`${this.configService.BASE_URL}/taskmanagers/${l}`).pipe((0,_.K)(()=>t.E))}loadLogList(l){return this.httpClient.get(`${this.configService.BASE_URL}/taskmanagers/${l}/logs`).pipe((0,p.U)(m=>m.logs))}loadLog(l,m){const z=`${this.configService.BASE_URL}/taskmanagers/${l}/logs/${m}`;return this.httpClient.get(z,{responseType:"text",headers:(new n.WM).append("Cache-Control","no-cache")}).pipe((0,p.U)(v=>({data:v,url:z})))}loadThreadDump(l){return this.httpClient.get(`${this.configService.BASE_URL}/taskmanagers/${l}/thread-dump`).pipe((0,p.U)(m=>m.threadInfos.map(z=>z.stringifiedThreadInfo).join("")))}loadLogs(l){return this.httpClient.get(`${this.configService.BASE_URL}/taskmanagers/${l}/log`,{responseType:"text",headers:(new n.WM).append("Cache-Control","no-cache")})}loadStdout(l){return this.httpClient.get(`${this.configService.BASE_URL}/taskmanagers/${l}/stdout`,{responseType:"text",headers:(new n.WM).append("Cache-Control","no-cache")})}loadMetrics(l,m){const z=m.join(",");return this.httpClient.get(`${this.configService.BASE_URL}/taskmanagers/${l}/metrics`,{params:{get:z}}).pipe((0,p.U)(v=>{const I={};return v.forEach(P=>{I[P.id]=parseInt(P.value,10)}),I}))}loadHistoryServerTaskManagerLogUrl(l,m){return this.httpClient.get(`${this.configService.BASE_URL}/jobs/${l}/taskmanagers/${m}/log-url`).pipe((0,p.U)(z=>z.url))}}return d.\u0275fac=function(l){return new(l||d)(u.LFG(n.eN),u.LFG(c.E))},d.\u0275prov=u.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"}),d})()},73925:(y,E,o)=>{function n(){return e=>e}o.d(E,{t:()=>n})},94963:(y,E,o)=>{o.d(E,{Dg:()=>k,MO:()=>U,lt:()=>w});var n=o(94650),e=o(36895),t=o(66287),p=o(29562),_=o(21102),u=o(70655),c=o(19132),g=o(77579),d=o(82722),f=o(39300),l=o(68675),m=o(88932),z=o(3187),v=o(40445),I=o(98184),P=o(51691);function i(a,h){}function T(a,h){1&a&&n._UZ(0,"span",6)}function s(a,h){if(1&a&&(n.ynx(0),n.TgZ(1,"span",3),n.YNc(2,i,0,0,"ng-template",4),n.YNc(3,T,1,0,"span",5),n.qZA(),n.BQk()),2&a){const r=n.oxw(),C=n.MAs(2);n.xp6(1),n.Q6J("nzDropdownMenu",r.nzOverlay),n.xp6(1),n.Q6J("ngTemplateOutlet",C),n.xp6(1),n.Q6J("ngIf",!!r.nzOverlay)}}function O(a,h){1&a&&(n.TgZ(0,"span",7),n.Hsn(1),n.qZA())}function b(a,h){if(1&a&&(n.ynx(0),n._uU(1),n.BQk()),2&a){const r=n.oxw(2);n.xp6(1),n.hij(" ",r.nzBreadCrumbComponent.nzSeparator," ")}}function F(a,h){if(1&a&&(n.TgZ(0,"span",8),n.YNc(1,b,2,1,"ng-container",9),n.qZA()),2&a){const r=n.oxw();n.xp6(1),n.Q6J("nzStringTemplateOutlet",r.nzBreadCrumbComponent.nzSeparator)}}const S=["*"];function Z(a,h){if(1&a){const r=n.EpF();n.TgZ(0,"nz-breadcrumb-item")(1,"a",2),n.NdJ("click",function(D){const M=n.CHM(r).$implicit,A=n.oxw(2);return n.KtG(A.navigate(M.url,D))}),n._uU(2),n.qZA()()}if(2&a){const r=h.$implicit;n.xp6(1),n.uIk("href",r.url,n.LSH),n.xp6(1),n.Oqu(r.label)}}function K(a,h){if(1&a&&(n.ynx(0),n.YNc(1,Z,3,2,"nz-breadcrumb-item",1),n.BQk()),2&a){const r=n.oxw();n.xp6(1),n.Q6J("ngForOf",r.breadcrumbs)}}class L{}let U=(()=>{class a{constructor(r){this.nzBreadCrumbComponent=r}}return a.\u0275fac=function(r){return new(r||a)(n.Y36(L))},a.\u0275cmp=n.Xpm({type:a,selectors:[["nz-breadcrumb-item"]],inputs:{nzOverlay:"nzOverlay"},exportAs:["nzBreadcrumbItem"],ngContentSelectors:S,decls:4,vars:3,consts:[[4,"ngIf","ngIfElse"],["noMenuTpl",""],["class","ant-breadcrumb-separator",4,"ngIf"],["nz-dropdown","",1,"ant-breadcrumb-overlay-link",3,"nzDropdownMenu"],[3,"ngTemplateOutlet"],["nz-icon","","nzType","down",4,"ngIf"],["nz-icon","","nzType","down"],[1,"ant-breadcrumb-link"],[1,"ant-breadcrumb-separator"],[4,"nzStringTemplateOutlet"]],template:function(r,C){if(1&r&&(n.F$t(),n.YNc(0,s,4,3,"ng-container",0),n.YNc(1,O,2,0,"ng-template",null,1,n.W1O),n.YNc(3,F,2,1,"span",2)),2&r){const D=n.MAs(2);n.Q6J("ngIf",!!C.nzOverlay)("ngIfElse",D),n.xp6(3),n.Q6J("ngIf",C.nzBreadCrumbComponent.nzSeparator)}},dependencies:[e.O5,e.tP,t.f,p.cm,_.Ls],encapsulation:2,changeDetection:0}),a})(),k=(()=>{class a{constructor(r,C,D,B,M){this.injector=r,this.cdr=C,this.elementRef=D,this.renderer=B,this.directionality=M,this.nzAutoGenerate=!1,this.nzSeparator="/",this.nzRouteLabel="breadcrumb",this.nzRouteLabelFn=A=>A,this.breadcrumbs=[],this.dir="ltr",this.destroy$=new g.x,B.addClass(D.nativeElement,"ant-breadcrumb")}ngOnInit(){var r;this.nzAutoGenerate&&this.registerRouterChange(),null===(r=this.directionality.change)||void 0===r||r.pipe((0,d.R)(this.destroy$)).subscribe(C=>{this.dir=C,this.prepareComponentForRtl(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.prepareComponentForRtl()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}navigate(r,C){C.preventDefault(),this.injector.get(c.F0).navigateByUrl(r)}registerRouterChange(){try{const r=this.injector.get(c.F0),C=this.injector.get(c.gz);r.events.pipe((0,f.h)(D=>D instanceof c.m2),(0,d.R)(this.destroy$),(0,l.O)(!0)).subscribe(()=>{this.breadcrumbs=this.getBreadcrumbs(C.root),this.cdr.markForCheck()})}catch{throw new Error(`${m.Bq} You should import RouterModule if you want to use 'NzAutoGenerate'.`)}}getBreadcrumbs(r,C="",D=[]){const B=r.children;if(0===B.length)return D;for(const M of B)if(M.outlet===c.eC){const A=M.snapshot.url.map(x=>x.path).filter(x=>x).join("/"),N=A?`${C}/${A}`:C,R=this.nzRouteLabelFn(M.snapshot.data[this.nzRouteLabel]);return A&&R&&D.push({label:R,params:M.snapshot.params,url:N}),this.getBreadcrumbs(M,N,D)}return D}prepareComponentForRtl(){"rtl"===this.dir?this.renderer.addClass(this.elementRef.nativeElement,"ant-breadcrumb-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-breadcrumb-rtl")}}return a.\u0275fac=function(r){return new(r||a)(n.Y36(n.zs3),n.Y36(n.sBO),n.Y36(n.SBq),n.Y36(n.Qsj),n.Y36(v.Is,8))},a.\u0275cmp=n.Xpm({type:a,selectors:[["nz-breadcrumb"]],inputs:{nzAutoGenerate:"nzAutoGenerate",nzSeparator:"nzSeparator",nzRouteLabel:"nzRouteLabel",nzRouteLabelFn:"nzRouteLabelFn"},exportAs:["nzBreadcrumb"],features:[n._Bn([{provide:L,useExisting:a}])],ngContentSelectors:S,decls:2,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf"],[3,"click"]],template:function(r,C){1&r&&(n.F$t(),n.Hsn(0),n.YNc(1,K,2,1,"ng-container",0)),2&r&&(n.xp6(1),n.Q6J("ngIf",C.nzAutoGenerate&&C.breadcrumbs.length))},dependencies:[e.sg,e.O5,U],encapsulation:2,changeDetection:0}),(0,u.gn)([(0,z.yF)()],a.prototype,"nzAutoGenerate",void 0),a})(),w=(()=>{class a{}return a.\u0275fac=function(r){return new(r||a)},a.\u0275mod=n.oAB({type:a}),a.\u0275inj=n.cJS({imports:[e.ez,t.T,I.U8,P.e4,p.b1,_.PV,v.vT]}),a})()}}]);
© 2015 - 2025 Weber Informatics LLC | Privacy Policy