web.common.a0752a7bf92e193c.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),m=o(47044);let _=(()=>{class g{constructor(){this.loading=!1,this.reload=new n.vpe}}return g.\u0275fac=function(f){return new(f||g)},g.\u0275cmp=n.Xpm({type:g,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(f,p){1&f&&(n.TgZ(0,"nz-button-group")(1,"a",0),n.NdJ("click",function(){return p.reload.emit()}),n._UZ(2,"i",1),n.qZA(),n.TgZ(3,"a",2),n._UZ(4,"i",3),n.qZA()()),2&f&&(n.xp6(1),n.Q6J("nzLoading",p.loading),n.xp6(2),n.uIk("download",p.downloadName)("href",p.downloadHref,n.LSH))},dependencies:[e.sL,e.ix,e.fY,m.w,t.PV,t.Ls],styles:["[_nghost-%COMP%]{position:absolute;top:8px;right:32px;z-index:1}"],changeDetection:0}),g})()},14050:(y,E,o)=>{o.d(E,{G:()=>p});var n=o(36895),e=o(94650),t=o(2577),m=o(21102);function _(C,i){1&C&&(e.TgZ(0,"a"),e._uU(1,"Loading..."),e.qZA())}function g(C,i){if(1&C){const d=e.EpF();e.TgZ(0,"a",4),e.NdJ("click",function(){e.CHM(d);const T=e.oxw();return e.KtG(T.reload.emit())}),e._UZ(1,"i",6),e._uU(2," Reload "),e.qZA()}}function c(C,i){1&C&&(e.ynx(0),e._UZ(1,"i",7),e._uU(2," Exit FullScreen "),e.BQk())}function f(C,i){1&C&&(e._UZ(0,"i",8),e._uU(1," FullScreen "))}let p=(()=>{class C{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 C.\u0275fac=function(d){return new(d||C)},C.\u0275cmp=e.Xpm({type:C,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(d,u){if(1&d&&(e.YNc(0,_,2,0,"a",0),e.YNc(1,g,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 u.toggleFullScreen()}),e.YNc(9,c,3,0,"ng-container",0),e.YNc(10,f,2,0,"ng-template",null,5,e.W1O),e.qZA()),2&d){const T=e.MAs(2),I=e.MAs(11);e.Q6J("ngIf",u.isLoading)("ngIfElse",T),e.xp6(4),e.uIk("download",u.downloadName)("href",u.downloadHref,e.LSH),e.xp6(5),e.Q6J("ngIf",u.isFullScreen)("ngIfElse",I)}},dependencies:[n.O5,m.PV,m.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}),C})()},48482:(y,E,o)=>{o.d(E,{I:()=>A});var n=o(36895),e=o(6675),t=o(94650);function m(s,v){if(1&s&&(t.TgZ(0,"tr")(1,"td")(2,"strong"),t._uU(3),t.qZA()(),t.TgZ(4,"td",2),t._uU(5),t.qZA()()),2&s){const l=v.$implicit;t.xp6(3),t.Oqu(l.key),t.xp6(1),t.uIk("title",l.value),t.xp6(1),t.Oqu(l.value)}}const _=function(){return{y:"200px"}};let g=(()=>{class s{constructor(){this.listOfData=[],this.trackByKey=(l,O)=>O.key}}return s.\u0275fac=function(l){return new(l||s)},s.\u0275cmp=t.Xpm({type:s,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(l,O){1&l&&(t.TgZ(0,"nz-table",0)(1,"tbody"),t.YNc(2,m,6,3,"tr",1),t.qZA()()),2&l&&(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}),s})();var c=o(51971),f=o(4788);function p(s,v){if(1&s&&t._UZ(0,"flink-table-display",6),2&s){const l=t.oxw();t.Q6J("listOfData",l.configurations)}}function C(s,v){if(1&s&&t._UZ(0,"flink-table-display",6),2&s){const l=t.oxw();t.Q6J("listOfData",l.convertJVMToKV(l.environmentInfo.jvm))}}function i(s,v){if(1&s&&(t.TgZ(0,"tr")(1,"td"),t._uU(2),t.qZA()()),2&s){const l=v.$implicit;t.xp6(1),t.uIk("title",l),t.xp6(1),t.Oqu(l)}}const d=function(){return{y:"200px"}};function u(s,v){if(1&s&&(t.TgZ(0,"nz-table",7),t.YNc(1,i,3,2,"tr",8),t.qZA()),2&s){const l=t.oxw();t.Q6J("nzData",l.environmentInfo.classpath)("nzSize","small")("nzFrontPagination",!1)("nzShowPagination",!1)("nzScroll",t.DdM(6,d)),t.xp6(1),t.Q6J("ngForOf",l.environmentInfo.classpath)}}function T(s,v){1&s&&t._UZ(0,"nz-empty",11)}function I(s,v){if(1&s&&(t.TgZ(0,"div",9),t.YNc(1,T,1,0,"nz-empty",10),t.qZA()),2&s){const l=t.oxw();t.xp6(1),t.Q6J("ngIf",!l.loading)}}let A=(()=>{class s{constructor(){this.title="Configurations",this.configurations=[],this.loading=!0}convertJVMToKV(l){return[{key:"version",value:l.version},{key:"arch",value:l.arch},{key:"options",value:l.options.join("\n")}]}}return s.\u0275fac=function(l){return new(l||s)},s.\u0275cmp=t.Xpm({type:s,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(l,O){if(1&l&&(t.TgZ(0,"nz-card",0),t.YNc(1,p,1,1,"flink-table-display",1),t.qZA(),t.TgZ(2,"nz-card",2),t.YNc(3,C,1,1,"flink-table-display",1),t.qZA(),t.TgZ(4,"nz-card",3),t.YNc(5,u,2,7,"nz-table",4),t.qZA(),t.YNc(6,I,2,1,"ng-template",null,5,t.W1O)),2&l){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,f.Xo,f.p9,g],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}),s})()},66093:(y,E,o)=>{o.d(E,{y:()=>m});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(_,g){}let m=(()=>{class _{constructor(){this.data={}}ngOnChanges(c){if(c.component){const f=this.host.viewContainerRef;f.clear(),this.componentRef=f.createComponent(this.component)}if(c.data&&this.componentRef){const f=this.componentRef.instance;Object.keys(this.data).forEach(p=>{f[p]=this.data[p]}),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,f){if(1&c&&n.Gf(e,7),2&c){let p;n.iGM(p=n.CRH())&&(f.host=p.first)}},inputs:{data:"data",component:"component"},standalone:!0,features:[n.TTD,n.jDz],decls:1,vars:0,consts:[["flink-dynamic",""]],template:function(c,f){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:()=>m});var n=o(94650);const t={editorOptions:o(72801).i,routerFactories:{jobManager:_=>[_]}},m=new n.OlP("job-manager-module-config",{providedIn:"root",factory:()=>t})},18309:(y,E,o)=>{o.d(E,{K:()=>t,N:()=>m});var n=o(94650);const t={editorOptions:o(72801).i,routerFactories:{taskManager:_=>[_]}},m=new n.OlP("task-manager-module-config",{providedIn:"root",factory:()=>t})},45695:(y,E,o)=>{o.d(E,{k:()=>f});var n=o(80529),e=o(39646),t=o(60515),m=o(54004),_=o(70262),g=o(94650),c=o(70946);let f=(()=>{class p{constructor(i,d){this.httpClient=i,this.configService=d}loadManagers(){return this.httpClient.get(`${this.configService.BASE_URL}/taskmanagers`).pipe((0,m.U)(i=>i.taskmanagers||[]),(0,_.K)(()=>(0,e.of)([])))}loadManager(i){return this.httpClient.get(`${this.configService.BASE_URL}/taskmanagers/${i}`).pipe((0,_.K)(()=>t.E))}loadLogList(i){return this.httpClient.get(`${this.configService.BASE_URL}/taskmanagers/${i}/logs`).pipe((0,m.U)(d=>d.logs))}loadLog(i,d){const u=`${this.configService.BASE_URL}/taskmanagers/${i}/logs/${d}`;return this.httpClient.get(u,{responseType:"text",headers:(new n.WM).append("Cache-Control","no-cache")}).pipe((0,m.U)(T=>({data:T,url:u})))}loadThreadDump(i){return this.httpClient.get(`${this.configService.BASE_URL}/taskmanagers/${i}/thread-dump`).pipe((0,m.U)(d=>d.threadInfos.map(u=>u.stringifiedThreadInfo).join("")))}loadLogs(i){return this.httpClient.get(`${this.configService.BASE_URL}/taskmanagers/${i}/log`,{responseType:"text",headers:(new n.WM).append("Cache-Control","no-cache")})}loadStdout(i){return this.httpClient.get(`${this.configService.BASE_URL}/taskmanagers/${i}/stdout`,{responseType:"text",headers:(new n.WM).append("Cache-Control","no-cache")})}loadMetrics(i,d){const u=d.join(",");return this.httpClient.get(`${this.configService.BASE_URL}/taskmanagers/${i}/metrics`,{params:{get:u}}).pipe((0,m.U)(T=>{const I={};return T.forEach(A=>{I[A.id]=parseFloat(A.value)}),I}))}loadHistoryServerTaskManagerLogUrl(i,d){return this.httpClient.get(`${this.configService.BASE_URL}/jobs/${i}/taskmanagers/${d}/log-url`).pipe((0,m.U)(u=>u.url))}loadProfilingList(i){return this.httpClient.get(`${this.configService.BASE_URL}/taskmanagers/${i}/profiler`)}createProfilingInstance(i,d,u){return this.httpClient.post(`${this.configService.BASE_URL}/taskmanagers/${i}/profiler`,{mode:d,duration:u})}loadProfilingResult(i,d){const u=`${this.configService.BASE_URL}/taskmanagers/${i}/profiler/${d}`;return this.httpClient.get(u,{responseType:"text",headers:(new n.WM).append("Cache-Control","no-cache")}).pipe((0,m.U)(T=>({data:T,url:u})))}}return p.\u0275fac=function(i){return new(i||p)(g.LFG(n.eN),g.LFG(c.E))},p.\u0275prov=g.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"}),p})()},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),m=o(29562),_=o(21102),g=o(70655),c=o(19132),f=o(77579),p=o(82722),C=o(39300),i=o(68675),d=o(88932),u=o(3187),T=o(40445),I=o(98184),A=o(51691);function s(a,h){}function v(a,h){1&a&&n._UZ(0,"span",6)}function l(a,h){if(1&a&&(n.ynx(0),n.TgZ(1,"span",3),n.YNc(2,s,0,0,"ng-template",4),n.YNc(3,v,1,0,"span",5),n.qZA(),n.BQk()),2&a){const r=n.oxw(),z=n.MAs(2);n.xp6(1),n.Q6J("nzDropdownMenu",r.nzOverlay),n.xp6(1),n.Q6J("ngTemplateOutlet",z),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,P=n.oxw(2);return n.KtG(P.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,z){if(1&r&&(n.F$t(),n.YNc(0,l,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",!!z.nzOverlay)("ngIfElse",D),n.xp6(3),n.Q6J("ngIf",z.nzBreadCrumbComponent.nzSeparator)}},dependencies:[e.O5,e.tP,t.f,m.cm,_.Ls],encapsulation:2,changeDetection:0}),a})(),K=(()=>{class a{constructor(r,z,D,B,M){this.injector=r,this.cdr=z,this.elementRef=D,this.renderer=B,this.directionality=M,this.nzAutoGenerate=!1,this.nzSeparator="/",this.nzRouteLabel="breadcrumb",this.nzRouteLabelFn=P=>P,this.breadcrumbs=[],this.dir="ltr",this.destroy$=new f.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,p.R)(this.destroy$)).subscribe(z=>{this.dir=z,this.prepareComponentForRtl(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.prepareComponentForRtl()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}navigate(r,z){z.preventDefault(),this.injector.get(c.F0).navigateByUrl(r)}registerRouterChange(){try{const r=this.injector.get(c.F0),z=this.injector.get(c.gz);r.events.pipe((0,C.h)(D=>D instanceof c.m2),(0,p.R)(this.destroy$),(0,i.O)(!0)).subscribe(()=>{this.breadcrumbs=this.getBreadcrumbs(z.root),this.cdr.markForCheck()})}catch{throw new Error(`${d.Bq} You should import RouterModule if you want to use 'NzAutoGenerate'.`)}}getBreadcrumbs(r,z="",D=[]){const B=r.children;if(0===B.length)return D;for(const M of B)if(M.outlet===c.eC){const P=M.snapshot.url.map(x=>x.path).filter(x=>x).join("/"),R=P?`${z}/${P}`:z,N=this.nzRouteLabelFn(M.snapshot.data[this.nzRouteLabel]);return P&&N&&D.push({label:N,params:M.snapshot.params,url:R}),this.getBreadcrumbs(M,R,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(T.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,z){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",z.nzAutoGenerate&&z.breadcrumbs.length))},dependencies:[e.sg,e.O5,U],encapsulation:2,changeDetection:0}),(0,g.gn)([(0,u.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,A.e4,m.b1,_.PV,T.vT]}),a})()}}]);
© 2015 - 2025 Weber Informatics LLC | Privacy Policy