@knoflows/engine 0.1.0-alpha.3 → 0.1.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/engine.js +21 -11
- package/package.json +4 -3
- package/static/assets/i18n/en.json +36 -2
- package/static/assets/i18n/es.json +36 -2
- package/static/{chunk-C40TdCIk.js → chunk--cAlvNjP.js} +1 -1
- package/static/{chunk-CCjvFBCX.js → chunk-3tEYpnqu.js} +1 -1
- package/static/chunk-4TrlkpZx.js +1 -0
- package/static/chunk-99HzEG7y.js +1 -0
- package/static/{chunk-ZijlINsH.js → chunk-B4PXIvtd.js} +1 -1
- package/static/chunk-BEPCHPAV.js +1 -0
- package/static/{chunk-CeFjDLjY.js → chunk-BJ_zTxjo.js} +1 -1
- package/static/chunk-BaL0hYvK.js +1 -0
- package/static/{chunk-DK8z5vU5.js → chunk-BnjE7sDc.js} +1 -1
- package/static/{chunk-CSPhdKAb.js → chunk-BqWiMcNp.js} +1 -1
- package/static/{chunk-Cnkrtkdu.js → chunk-BvGpCrD9.js} +1 -1
- package/static/{chunk-BDOL5Qby.js → chunk-Byfh9OPw.js} +1 -1
- package/static/chunk-C5kOvUkS.js +1 -0
- package/static/chunk-C67ITweo.js +1 -0
- package/static/{chunk-Dw1tJgiv.js → chunk-CECejZs9.js} +1 -1
- package/static/{chunk-CPxI4OjB.js → chunk-CWRAmEOi.js} +1 -1
- package/static/{chunk-KyBZUWGU.js → chunk-Ca9rxJZS.js} +1 -1
- package/static/chunk-CbG3rfKf.js +66 -0
- package/static/chunk-Cdhqfnmn.js +1 -0
- package/static/chunk-Cgq1n6kP.js +1 -0
- package/static/chunk-CpxvtoPc.js +1 -0
- package/static/{chunk-Csk1w6sD.js → chunk-D6KYmz2w.js} +1 -1
- package/static/{chunk-DS9-TMN6.js → chunk-DGw7ID-A.js} +1 -1
- package/static/{chunk-C50zASMN.js → chunk-DS5k0b_s.js} +1 -1
- package/static/{chunk-DyP6QbgY.js → chunk-DZ8K8fY1.js} +1 -1
- package/static/{chunk-8DHqiag3.js → chunk-DrMwVUpq.js} +1 -1
- package/static/{chunk-DI-Ex2sC.js → chunk-VW6e_Kls.js} +1 -1
- package/static/{chunk-BJLDaNHl.js → chunk-jDfyi4_G.js} +1 -1
- package/static/chunk-qdbp1qcP.js +1 -0
- package/static/chunk-smuNKEab.js +5 -0
- package/static/index.html +1 -1
- package/static/main-5C7K2447.js +249 -0
- package/static/chunk-B4GVyu_H.js +0 -1
- package/static/chunk-B5hULR_G.js +0 -1
- package/static/chunk-BQYw1slv.js +0 -1
- package/static/chunk-BU5DKI8R.js +0 -1
- package/static/chunk-BquD19tF.js +0 -5
- package/static/chunk-C9CuVcTl.js +0 -1
- package/static/chunk-CgvdAwRh.js +0 -1
- package/static/chunk-DxRo8m4J.js +0 -66
- package/static/main-BK4MAPTK.js +0 -249
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {o}from'./chunk-4TrlkpZx.js';import {h as he$1}from'./chunk-99HzEG7y.js';import'./chunk-CbG3rfKf.js';import {C,W,I as ue$1,aZ as U,U as U$3,a as ar,b as at,q as qo,H as Hw,R as Rt,r,a9 as Ng,ab as Dg,c as qe,Q as QE,F as Fn,M as Mt,d as sd,z as zc,e as t7,Z as y7,f as ec,g as _i,m as bD,K as Kc,p as gI,A as _D,v as vw,h as Rw,P as Ph,O as Ow,B as VD,L as LD,j as gh,w as ch,a3 as xw,u as nl,E as Pu,G as Lu,l as lh}from'./main-5C7K2447.js';import {J,K}from'./chunk-D6KYmz2w.js';import {G as Gn,u as un}from'./chunk-B4PXIvtd.js';import {U as U$1}from'./chunk-VW6e_Kls.js';import {U as U$2}from'./chunk-jDfyi4_G.js';import'./chunk-BaL0hYvK.js';import'./chunk-Ca9rxJZS.js';import'./chunk-DS5k0b_s.js';var ie=i=>["/views",i,"edit"],ne=i=>["/batches",i];function oe(i,c){i&1&&(_i(0,"p",1),vw(1),Rw(2,"transloco"),Kc()),i&2&&(gI(),Ph(Ow(2,1,"common.loading")));}function ae(i,c){if(i&1&&(_i(0,"p",2),vw(1),Kc()),i&2){let e=VD();gI(),Ph(e.loadError());}}function le(i,c){i&1&&(_i(0,"span",8),vw(1),Kc()),i&2&&(gI(),Ph(c.name));}function re(i,c){i&1&&(_i(0,"a",16),vw(1),Rw(2,"transloco"),Kc()),i&2&&(ch("routerLink",xw(4,ne,c)),gI(),nl(" ",Ow(2,2,"views.detail.openBatch")," "));}function se(i,c){if(i&1&&(lh(0,"nz-alert",15),bD(1,re,3,6,"a",16)),i&2){let e,t=VD(2);ch("nzMessage",t.confirmation()),gI(),_D((e=t.confirmationBatchId())?1:-1,e);}}function ce(i,c){i&1&&(_i(0,"p",17),vw(1),Rw(2,"transloco"),Kc()),i&2&&(gI(),nl(" ",Ow(2,1,"views.detail.noBulkWorkflows")," "));}function de(i,c){if(i&1&&(_i(0,"p",20),vw(1),Kc()),i&2){let e=VD(4);gI(),Ph(e.launchError());}}function ue(i,c){if(i&1){let e=LD();_i(0,"p",18),vw(1),Kc(),_i(2,"app-workflow-input-form",19),gh("valuesChange",function(n){Pu(e);let l=VD(3);return Lu(l.setInputValues(n))}),Kc(),bD(3,de,2,1,"p",20),_i(4,"div",21)(5,"button",22),gh("click",function(){Pu(e);let n=VD(3);return Lu(n.launch())}),vw(6),Rw(7,"transloco"),Kc(),_i(8,"button",23),gh("click",function(){Pu(e);let n=VD(3);return Lu(n.cancelLaunch())}),vw(9),Rw(10,"transloco"),Kc()();}if(i&2){let e=c,t=VD(3);gI(),Ph(e.name),gI(),ch("fields",e.inputSchema)("values",t.inputValues()),gI(),_D(t.launchError()?3:-1),gI(2),ch("nzLoading",t.launching())("disabled",t.launching()),gI(),nl(" ",Ow(7,8,t.launching()?"views.detail.launching":"views.detail.launch")," "),gI(3),nl(" ",Ow(10,10,"views.detail.cancelLaunch")," ");}}function pe(i,c){if(i&1&&(_i(0,"section",12)(1,"h2"),vw(2),Rw(3,"transloco"),Kc(),bD(4,ce,3,3,"p",17)(5,ue,11,12),Kc()),i&2){let e,t=VD(2);gI(2),nl(" ",Ow(3,2,c==="view"?"views.detail.launchViewTitle":"views.detail.launchSelectedTitle")," "),gI(2),_D(t.canBulkLaunch()?(e=t.boundWorkflow())?5:-1:4,e);}}function me(i,c){i&1&&(_i(0,"p",13),vw(1),Rw(2,"transloco"),Kc()),i&2&&(gI(),Ph(Ow(2,1,"views.detail.emptySubjects")));}function he(i,c){if(i&1){let e=LD();_i(0,"app-runnable-items-table",24),gh("rowAction",function(n){Pu(e);let l=VD(2);return Lu(l.onRowAction(n))})("bulkAction",function(n){Pu(e);let l=VD(2);return Lu(l.onBulkAction(n))}),Kc();}if(i&2){let e=VD(2);ch("rows",e.rows())("selectable",true);}}function _e(i,c){if(i&1){let e=LD();_i(0,"header",3)(1,"div")(2,"a",4),vw(3),Rw(4,"transloco"),Kc(),_i(5,"h1",5),vw(6),Kc(),_i(7,"p",6)(8,"span",7),vw(9),Rw(10,"transloco"),Kc(),bD(11,le,2,1,"span",8),Kc()(),_i(12,"a",9),vw(13),Rw(14,"transloco"),Kc()(),_i(15,"section",10)(16,"button",11),gh("click",function(){Pu(e);let n=VD();return Lu(n.beginLaunch("view"))}),vw(17),Rw(18,"transloco"),Kc()(),bD(19,se,2,2),bD(20,pe,6,4,"section",12),bD(21,me,3,3,"p",13)(22,he,1,2,"app-runnable-items-table",14);}if(i&2){let e,t,n=c,l=VD();gI(3),Ph(Ow(4,11,"views.detail.backToList")),gI(3),Ph(n.name),gI(3),Ph(Ow(10,13,l.subjectTypeKey(n.subjectType))),gI(2),_D((e=l.boundWorkflow())?11:-1,e),gI(),ch("routerLink",xw(19,ie,n.id)),gI(),nl(" ",Ow(14,15,"views.detail.edit")," "),gI(3),ch("disabled",!l.canBulkLaunch()),gI(),nl(" ",Ow(18,17,"views.detail.runOnAll")," "),gI(2),_D(l.confirmation()?19:-1),gI(),_D((t=l.launchMode())?20:-1,t),gI(),_D(l.subjects().length===0?21:22);}}var Pe=(()=>{class i{constructor(){this.route=C(W),this.router=C(ue$1),this.viewsApi=C(U),this.workflowsApi=C(U$1),this.batchesApi=C(U$2),this.jobsApi=C(U$3),this.transloco=C(ar),this.destroyRef=C(at),this.view=qo(null),this.subjects=qo([]),this.workflows=qo([]),this.latestBySubject=qo({}),this.loading=qo(true),this.loadError=qo(null),this.selectedIds=qo([]),this.launchMode=qo(null),this.inputValues=qo({}),this.launching=qo(false),this.launchError=qo(null),this.confirmation=qo(null),this.confirmationBatchId=qo(null),this.boundWorkflow=Hw(()=>{let e=this.view();return e?this.workflows().find(t=>t.id===e.workflowId)??null:null}),this.canBulkLaunch=Hw(()=>{let e=this.boundWorkflow();return e!=null&&o(e.cardinality)}),this.rows=Hw(()=>{let e=this.latestBySubject();return this.subjects().map(t=>({id:t.id,primaryLabel:t.title,subtitle:this.subjectDetails(t),latestJob:e[t.id]??null}))}),this.route.paramMap.pipe(Rt(this.destroyRef)).subscribe(e=>{let t=e.get("id");if(!t){this.loading.set(false),this.loadError.set(this.transloco.translate("views.detail.loadFailed"));return}this.load(t);});}subjectTypeKey(e){return `workflow-editor.subjectType.${e}`}subjectDetails(e){if(e.subjectType==="ticket")return [e.status,e.assignee].filter(Boolean).join(" \xB7 ");if(e.subjectType==="pull_request"){let t=`${e.sourceBranch} \u2192 ${e.targetBranch}`;return e.author?`${e.author} \xB7 ${t}`:t}return e.url??""}onBulkAction(e){this.selectedIds.set(e),this.beginLaunch("manual");}onRowAction(e){let t=this.view(),n=this.boundWorkflow();if(!(!t||!n)){if(n.cardinality==="single"){this.router.navigate(["/jobs/new"],{queryParams:{workflowId:t.workflowId,subjectId:e}});return}this.selectedIds.set([e]),this.beginLaunch("manual");}}beginLaunch(e){e==="manual"&&this.selectedIds().length===0||(this.launchError.set(null),this.confirmation.set(null),this.confirmationBatchId.set(null),this.launchMode.set(e),this.inputValues.set(J(this.boundWorkflow()?.inputSchema??[])));}cancelLaunch(){this.launchMode.set(null),this.launchError.set(null);}setInputValues(e){this.inputValues.set(e);}launch(){let e=this.view(),t=this.boundWorkflow(),n=this.launchMode();if(!e||!t||!n)return;let l=n==="view"?{mode:"view",viewId:e.id}:{mode:"manual",subjectType:e.subjectType,subjectIds:[...this.selectedIds()]};this.launching.set(true),this.launchError.set(null),this.batchesApi.launch({workflowId:t.id,selection:l,triggeredBy:n==="view"?"view_bulk":"multiselect",inputValues:r({},this.inputValues())}).pipe(Rt(this.destroyRef)).subscribe({next:C=>{this.launching.set(false),this.confirmation.set(this.confirmationMessage(C)),this.confirmationBatchId.set(C.kind==="batch"?C.batch.id:null),this.launchMode.set(null),this.refreshLatest(e.workflowId,this.subjects().map(te=>te.id));},error:C=>{this.launching.set(false),this.launchError.set(this.errorMessage(C,this.transloco.translate("views.detail.launchFailed")));}});}confirmationMessage(e){return e.kind==="batch"?this.transloco.translate("views.detail.confirmation.batch",{id:e.batch.id,count:e.batch.jobIds.length}):this.transloco.translate("views.detail.confirmation.job",{id:e.job.id})}load(e){this.loading.set(true),this.loadError.set(null),this.selectedIds.set([]),this.launchMode.set(null),this.confirmation.set(null),this.confirmationBatchId.set(null),Ng({view:this.viewsApi.get(e),subjects:this.viewsApi.getSubjects(e),workflows:this.workflowsApi.list()}).pipe(Rt(this.destroyRef)).subscribe({next:({view:t,subjects:n,workflows:l})=>{this.view.set(t),this.subjects.set(n),this.workflows.set(l),this.loading.set(false),this.refreshLatest(t.workflowId,n.map(C=>C.id));},error:t=>{this.loading.set(false),this.loadError.set(this.errorMessage(t,this.transloco.translate("views.detail.loadFailed")));}});}refreshLatest(e,t){(t.length===0?Dg({}):this.jobsApi.latestBySubject(e,t)).pipe(Rt(this.destroyRef)).subscribe({next:l=>this.latestBySubject.set(l),error:()=>this.latestBySubject.set({})});}errorMessage(e,t){return e instanceof qe||e instanceof Error?e.message:t}static{this.\u0275fac=function(t){return new(t||i)};}static{this.\u0275cmp=QE({type:i,selectors:[["app-view-detail"]],decls:4,vars:1,consts:[["data-testid","view-detail",1,"detail-page"],["data-testid","loading"],["data-testid","load-error",1,"error"],[1,"header"],["routerLink","/views"],["data-testid","view-name"],[1,"meta"],["data-testid","view-subject-type"],["data-testid","bound-workflow"],["nz-button","","data-testid","edit-view",3,"routerLink"],[1,"toolbar"],["nz-button","","nzType","primary","type","button","data-testid","run-on-all",3,"click","disabled"],["data-testid","launch-panel",1,"launch-panel"],["data-testid","empty-subjects",1,"muted"],[3,"rows","selectable"],["data-testid","launch-confirmation","nzType","success",3,"nzMessage"],["nz-button","","nzType","link","data-testid","open-batch",3,"routerLink"],["data-testid","no-bulk-workflows",1,"muted"],["data-testid","launch-workflow",1,"muted"],[3,"valuesChange","fields","values"],["data-testid","launch-error",1,"error"],[1,"launch-actions"],["nz-button","","nzType","primary","type","button","data-testid","launch-submit",3,"click","nzLoading","disabled"],["nz-button","","type","button","data-testid","launch-cancel",3,"click"],[3,"rowAction","bulkAction","rows","selectable"]],template:function(t,n){if(t&1&&(_i(0,"main",0),bD(1,oe,3,3,"p",1)(2,ae,2,1,"p",2)(3,_e,23,21),Kc()),t&2){let l;gI(),_D(n.loading()?1:n.loadError()?2:(l=n.view())?3:-1,l);}},dependencies:[Fn,Mt,Gn,un,sd,zc,t7,y7,K,he$1,ec],styles:[".detail-page[_ngcontent-%COMP%]{max-width:72rem;margin:0 auto;padding:1.25rem 1.5rem 3rem;display:flex;flex-direction:column;gap:1rem}.header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}.header[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:.25rem 0 0}.meta[_ngcontent-%COMP%]{margin:.25rem 0 0;color:#57534e}.toolbar[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:.75rem;align-items:flex-end}.field[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.35rem;min-width:14rem}.field[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:.85rem;color:#57534e}.launch-panel[_ngcontent-%COMP%]{padding:1rem;border:1px solid #d6d3d1;background:#ffffffb3}.launch-panel[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0 0 .75rem;font-size:1.1rem}.launch-actions[_ngcontent-%COMP%]{display:flex;gap:.5rem;margin-top:.5rem}.muted[_ngcontent-%COMP%]{color:#78716c}.error[_ngcontent-%COMP%]{color:#9f1239}.actions[_ngcontent-%COMP%]{white-space:nowrap}[_nghost-%COMP%] .ant-table-tbody>tr>td{white-space:normal;vertical-align:top}"]});}}return i})();export{Pe as ViewDetailComponent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {ah as YE,ai as uu,cG as P1,a_ as eC,C,bG as z0,aq as Le$1,a$ as tC,c4 as Vt,Q as QE,bg as Tt,bh as Ie$1,aF as vr,ak as Z0,aG as BD,m as bD,g as _i,K as Kc,A as _D,p as gI,bu as sw,a4 as Mh,c7 as vh,bl as qD,bm as WD,bn as ut,cH as l9,r,bF as ly,B as VD,aH as nh,w as ch,l as lh,a6 as Nw,aX as $D,N as ND,a7 as MD,y as xD,b1 as XE,cC as uh,bS as _h,bO as el,v as vw,bP as tl,P as Ph,cI as rh,bk as Ih,bN as Er,S as SD}from'./main-BK4MAPTK.js';var Ce=["*"];function fe(e,a){if(e&1&&(_i(0,"div",0),lh(1,"nz-skeleton-element",4),Kc()),e&2){let t=VD(2);gI(),ch("nzSize",t.avatar.size||"default")("nzShape",t.avatar.shape||"circle");}}function _e(e,a){if(e&1&&lh(0,"h3",5),e&2){let t=VD(2);_h("width",t.toCSSUnit(t.title.width));}}function ve(e,a){if(e&1&&lh(0,"li"),e&2){let t=a.$index,n=VD(3);_h("width",n.toCSSUnit(n.widthList[t]));}}function ge(e,a){if(e&1&&(_i(0,"ul",3),ND(1,ve,1,2,"li",6,SD),Kc()),e&2){let t=VD(2);gI(),xD(t.rowsList);}}function he(e,a){if(e&1&&(bD(0,fe,2,2,"div",0),_i(1,"div",1),bD(2,_e,1,2,"h3",2),bD(3,ge,3,0,"ul",3),Kc()),e&2){let t=VD();_D(t.nzAvatar?0:-1),gI(2),_D(t.nzTitle?2:-1),gI(),_D(t.nzParagraph?3:-1);}}function Se(e,a){e&1&&$D(0);}var Te=(()=>{class e{nzActive=false;nzType;nzBlock=false;static \u0275fac=function(n){return new(n||e)};static \u0275dir=XE({type:e,selectors:[["nz-skeleton-element"]],hostAttrs:[1,"ant-skeleton","ant-skeleton-element"],hostVars:4,hostBindings:function(n,i){n&2&&Mh("ant-skeleton-active",i.nzActive)("ant-skeleton-block",i.nzBlock);},inputs:{nzActive:[2,"nzActive","nzActive",Z0],nzType:"nzType",nzBlock:[2,"nzBlock","nzBlock",Z0]}})}return e})();var ye=(()=>{class e{nzShape="circle";nzSize="default";styleMap={};ngOnChanges(t){if(t.nzSize&&typeof this.nzSize=="number"){let n=`${this.nzSize}px`;this.styleMap={width:n,height:n,"line-height":n};}else this.styleMap={};}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=QE({type:e,selectors:[["nz-skeleton-element","nzType","avatar"]],inputs:{nzShape:"nzShape",nzSize:"nzSize"},features:[ly],decls:1,vars:10,consts:[[1,"ant-skeleton-avatar"]],template:function(n,i){n&1&&uh(0,"span",0),n&2&&(sw(i.styleMap),Mh("ant-skeleton-avatar-square",i.nzShape==="square")("ant-skeleton-avatar-circle",i.nzShape==="circle")("ant-skeleton-avatar-lg",i.nzSize==="large")("ant-skeleton-avatar-sm",i.nzSize==="small"));},encapsulation:2})}return e})();var ce=(()=>{class e{cdr=C(z0);nzActive=false;nzLoading=true;nzRound=false;nzTitle=true;nzAvatar=false;nzParagraph=true;title;avatar;paragraph;rowsList=[];widthList=[];toCSSUnit(t=""){return l9(t)}getTitleProps(){let t=!!this.nzAvatar,n=!!this.nzParagraph,i="";return !t&&n?i="38%":t&&n&&(i="50%"),r({width:i},this.getProps(this.nzTitle))}getAvatarProps(){let t=this.nzTitle&&!this.nzParagraph?"square":"circle";return r({shape:t,size:"large"},this.getProps(this.nzAvatar))}getParagraphProps(){let t=!!this.nzAvatar,n=!!this.nzTitle,i={};return (!t||!n)&&(i.width="61%"),!t&&n?i.rows=3:i.rows=2,r(r({},i),this.getProps(this.nzParagraph))}getProps(t){return t&&typeof t=="object"?t:{}}getWidthList(){let{width:t,rows:n}=this.paragraph,i=[];return t&&Array.isArray(t)?i=t:t&&!Array.isArray(t)&&(i=[],i[n-1]=t),i}updateProps(){this.title=this.getTitleProps(),this.avatar=this.getAvatarProps(),this.paragraph=this.getParagraphProps(),this.rowsList=[...Array(this.paragraph.rows)],this.widthList=this.getWidthList(),this.cdr.markForCheck();}ngOnInit(){this.updateProps();}ngOnChanges(t){(t.nzTitle||t.nzAvatar||t.nzParagraph)&&this.updateProps();}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=QE({type:e,selectors:[["nz-skeleton"]],hostAttrs:[1,"ant-skeleton"],hostVars:6,hostBindings:function(n,i){n&2&&Mh("ant-skeleton-with-avatar",!!i.nzAvatar)("ant-skeleton-active",i.nzActive)("ant-skeleton-round",i.nzRound);},inputs:{nzActive:[2,"nzActive","nzActive",Z0],nzLoading:[2,"nzLoading","nzLoading",Z0],nzRound:[2,"nzRound","nzRound",Z0],nzTitle:"nzTitle",nzAvatar:"nzAvatar",nzParagraph:"nzParagraph"},exportAs:["nzSkeleton"],features:[ly],ngContentSelectors:Ce,decls:2,vars:1,consts:[[1,"ant-skeleton-header"],[1,"ant-skeleton-content"],[1,"ant-skeleton-title",3,"width"],[1,"ant-skeleton-paragraph"],["nzType","avatar",3,"nzSize","nzShape"],[1,"ant-skeleton-title"],[3,"width"]],template:function(n,i){n&1&&(BD(),bD(0,he,4,3)(1,Se,1,0)),n&2&&_D(i.nzLoading?0:1);},dependencies:[Te,ye],encapsulation:2})}return e})(),pe=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=YE({type:e});static \u0275inj=uu({})}return e})();function Ne(e,a){}function ke(e,a){if(e&1&&(_i(0,"div",0),nh(1,Ne,0,0,"ng-template",2),Kc()),e&2){let t=VD();gI(),ch("ngTemplateOutlet",t.nzAvatar);}}function be(e,a){if(e&1&&(el(0),vw(1),tl()),e&2){let t=VD(3);gI(),Ph(t.nzTitle);}}function Me(e,a){if(e&1&&(_i(0,"div",3),nh(1,be,2,1,"ng-container",5),Kc()),e&2){let t=VD(2);gI(),ch("nzStringTemplateOutlet",t.nzTitle);}}function Ae(e,a){if(e&1&&(el(0),vw(1),tl()),e&2){let t=VD(3);gI(),Ph(t.nzDescription);}}function De(e,a){if(e&1&&(_i(0,"div",4),nh(1,Ae,2,1,"ng-container",5),Kc()),e&2){let t=VD(2);gI(),ch("nzStringTemplateOutlet",t.nzDescription);}}function Ee(e,a){if(e&1&&(_i(0,"div",1),bD(1,Me,2,1,"div",3),bD(2,De,2,1,"div",4),Kc()),e&2){let t=VD();gI(),_D(t.nzTitle?1:-1),gI(),_D(t.nzDescription?2:-1);}}var me=["*"];function we(e,a){e&1&&$D(0);}var Pe=()=>({rows:4});function Be(e,a){if(e&1&&(el(0),vw(1),tl()),e&2){let t=VD(3);gI(),Ph(t.nzTitle);}}function Oe(e,a){if(e&1&&(_i(0,"div",6),nh(1,Be,2,1,"ng-container",9),Kc()),e&2){let t=VD(2);gI(),ch("nzStringTemplateOutlet",t.nzTitle);}}function Fe(e,a){if(e&1&&(el(0),vw(1),tl()),e&2){let t=VD(3);gI(),Ph(t.nzExtra);}}function Le(e,a){if(e&1&&(_i(0,"div",7),nh(1,Fe,2,1,"ng-container",9),Kc()),e&2){let t=VD(2);gI(),ch("nzStringTemplateOutlet",t.nzExtra);}}function He(e,a){}function Ie(e,a){if(e&1&&nh(0,He,0,0,"ng-template",8),e&2){let t=VD(2);ch("ngTemplateOutlet",t.listOfNzCardTabComponent.template);}}function qe(e,a){if(e&1&&(_i(0,"div",0)(1,"div",5),bD(2,Oe,2,1,"div",6),bD(3,Le,2,1,"div",7),Kc(),bD(4,Ie,1,1,null,8),Kc()),e&2){let t=VD();gI(2),_D(t.nzTitle?2:-1),gI(),_D(t.nzExtra?3:-1),gI(),_D(t.listOfNzCardTabComponent?4:-1);}}function je(e,a){}function Re(e,a){if(e&1&&(_i(0,"div",1),nh(1,je,0,0,"ng-template",8),Kc()),e&2){let t=VD();gI(),ch("ngTemplateOutlet",t.nzCover);}}function Ge(e,a){e&1&&lh(0,"nz-skeleton",3),e&2&&ch("nzActive",true)("nzTitle",false)("nzParagraph",Nw(3,Pe));}function Qe(e,a){e&1&&$D(0);}function Ve(e,a){}function $e(e,a){if(e&1&&(_i(0,"li")(1,"span"),nh(2,Ve,0,0,"ng-template",8),Kc()()),e&2){let t=a.$implicit,n=a.$count;_h("width",100/n,"%"),gI(2),ch("ngTemplateOutlet",t);}}function Ue(e,a){if(e&1&&(_i(0,"ul",4),ND(1,$e,3,3,"li",10,MD),Kc()),e&2){let t=VD();gI(),xD(t.nzActions);}}var We=(()=>{class e{nzHoverable=true;static \u0275fac=function(n){return new(n||e)};static \u0275dir=XE({type:e,selectors:[["","nz-card-grid",""]],hostAttrs:[1,"ant-card-grid"],hostVars:2,hostBindings:function(n,i){n&2&&Mh("ant-card-hoverable",i.nzHoverable);},inputs:{nzHoverable:[2,"nzHoverable","nzHoverable",Z0]},exportAs:["nzCardGrid"]})}return e})(),Ze=(()=>{class e{nzTitle=null;nzDescription=null;nzAvatar=null;static \u0275fac=function(n){return new(n||e)};static \u0275cmp=QE({type:e,selectors:[["nz-card-meta"]],hostAttrs:[1,"ant-card-meta"],inputs:{nzTitle:"nzTitle",nzDescription:"nzDescription",nzAvatar:"nzAvatar"},exportAs:["nzCardMeta"],decls:2,vars:2,consts:[[1,"ant-card-meta-avatar"],[1,"ant-card-meta-detail"],[3,"ngTemplateOutlet"],[1,"ant-card-meta-title"],[1,"ant-card-meta-description"],[4,"nzStringTemplateOutlet"]],template:function(n,i){n&1&&(bD(0,ke,2,1,"div",0),bD(1,Ee,3,2,"div",1)),n&2&&(_D(i.nzAvatar?0:-1),gI(),_D(i.nzTitle||i.nzDescription?1:-1));},dependencies:[vr,Tt,Ie$1],encapsulation:2})}return e})(),Je=(()=>{class e{template;static \u0275fac=function(n){return new(n||e)};static \u0275cmp=QE({type:e,selectors:[["nz-card-tab"]],viewQuery:function(n,i){if(n&1&&Ih(Er,7),n&2){let S;qD(S=WD())&&(i.template=S.first);}},exportAs:["nzCardTab"],ngContentSelectors:me,decls:1,vars:0,template:function(n,i){n&1&&(BD(),rh(0,we,1,0,"ng-template"));},encapsulation:2})}return e})(),ze="card",Ke=(()=>{let e,a=[],t=[],n,i=[],S=[],W,Z=[],J=[];return class U{static{let C=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;e=[ut()],n=[ut()],W=[ut()],eC(null,null,e,{kind:"field",name:"nzBordered",static:false,private:false,access:{has:r=>"nzBordered"in r,get:r=>r.nzBordered,set:(r,l)=>{r.nzBordered=l;}},metadata:C},a,t),eC(null,null,n,{kind:"field",name:"nzHoverable",static:false,private:false,access:{has:r=>"nzHoverable"in r,get:r=>r.nzHoverable,set:(r,l)=>{r.nzHoverable=l;}},metadata:C},i,S),eC(null,null,W,{kind:"field",name:"nzSize",static:false,private:false,access:{has:r=>"nzSize"in r,get:r=>r.nzSize,set:(r,l)=>{r.nzSize=l;}},metadata:C},Z,J),C&&Object.defineProperty(this,Symbol.metadata,{enumerable:true,configurable:true,writable:true,value:C});}cdr=C(z0);dir=C(Le$1).valueSignal;_nzModuleName=ze;nzBordered=tC(this,a,true);nzLoading=(tC(this,t),false);nzHoverable=tC(this,i,false);nzBodyStyle=(tC(this,S),null);nzCover;nzActions=[];nzType=null;nzSize=tC(this,Z,"default");nzTitle=tC(this,J);nzExtra;listOfNzCardTabComponent;listOfNzCardGridDirective;constructor(){Vt(ze,()=>this.cdr.markForCheck());}static \u0275fac=function(r){return new(r||U)};static \u0275cmp=QE({type:U,selectors:[["nz-card"]],contentQueries:function(r,l,K){if(r&1&&vh(K,Je,5)(K,We,4),r&2){let E;qD(E=WD())&&(l.listOfNzCardTabComponent=E.first),qD(E=WD())&&(l.listOfNzCardGridDirective=E);}},hostAttrs:[1,"ant-card"],hostVars:16,hostBindings:function(r,l){r&2&&Mh("ant-card-loading",l.nzLoading)("ant-card-bordered",l.nzBordered)("ant-card-hoverable",l.nzHoverable)("ant-card-small",l.nzSize==="small")("ant-card-contain-grid",l.listOfNzCardGridDirective&&l.listOfNzCardGridDirective.length)("ant-card-type-inner",l.nzType==="inner")("ant-card-contain-tabs",!!l.listOfNzCardTabComponent)("ant-card-rtl",l.dir()==="rtl");},inputs:{nzBordered:[2,"nzBordered","nzBordered",Z0],nzLoading:[2,"nzLoading","nzLoading",Z0],nzHoverable:[2,"nzHoverable","nzHoverable",Z0],nzBodyStyle:"nzBodyStyle",nzCover:"nzCover",nzActions:"nzActions",nzType:"nzType",nzSize:"nzSize",nzTitle:"nzTitle",nzExtra:"nzExtra"},exportAs:["nzCard"],ngContentSelectors:me,decls:6,vars:6,consts:[[1,"ant-card-head"],[1,"ant-card-cover"],[1,"ant-card-body"],[3,"nzActive","nzTitle","nzParagraph"],[1,"ant-card-actions"],[1,"ant-card-head-wrapper"],[1,"ant-card-head-title"],[1,"ant-card-extra"],[3,"ngTemplateOutlet"],[4,"nzStringTemplateOutlet"],[3,"width"]],template:function(r,l){r&1&&(BD(),bD(0,qe,5,3,"div",0),bD(1,Re,2,1,"div",1),_i(2,"div",2),bD(3,Ge,1,4,"nz-skeleton",3)(4,Qe,1,0),Kc(),bD(5,Ue,3,0,"ul",4)),r&2&&(_D(l.nzTitle||l.nzExtra||l.listOfNzCardTabComponent?0:-1),gI(),_D(l.nzCover?1:-1),gI(),sw(l.nzBodyStyle),gI(),_D(l.nzLoading?3:4),gI(2),_D(l.nzActions.length?5:-1));},dependencies:[Tt,Ie$1,vr,pe,ce],encapsulation:2})}})(),Nt=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=YE({type:e});static \u0275inj=uu({imports:[Ke,Ze,P1]})}return e})();export{Ke as K,Nt as N};
|
|
1
|
+
import {ah as YE,ai as uu,cH as P1,bb as pT,C,bP as z0,aq as Le$1,bc as hT,c1 as Vt,Q as QE,bs as Tt,bt as Ie$1,aF as vr,ak as Z0,aG as BD,m as bD,g as _i,K as Kc,A as _D,p as gI,bF as sw,a4 as Mh,c4 as vh,bx as qD,by as WD,bz as ut,cI as l9,r,b2 as ly,B as VD,aH as nh,w as ch,l as lh,a6 as Nw,aX as $D,N as ND,a7 as MD,y as xD,bd as XE,cC as uh,b3 as _h,bX as el,v as vw,bY as tl,P as Ph,cJ as rh,bw as Ih,bW as Er,S as SD}from'./main-5C7K2447.js';var Ce=["*"];function fe(e,a){if(e&1&&(_i(0,"div",0),lh(1,"nz-skeleton-element",4),Kc()),e&2){let t=VD(2);gI(),ch("nzSize",t.avatar.size||"default")("nzShape",t.avatar.shape||"circle");}}function _e(e,a){if(e&1&&lh(0,"h3",5),e&2){let t=VD(2);_h("width",t.toCSSUnit(t.title.width));}}function ve(e,a){if(e&1&&lh(0,"li"),e&2){let t=a.$index,n=VD(3);_h("width",n.toCSSUnit(n.widthList[t]));}}function ge(e,a){if(e&1&&(_i(0,"ul",3),ND(1,ve,1,2,"li",6,SD),Kc()),e&2){let t=VD(2);gI(),xD(t.rowsList);}}function he(e,a){if(e&1&&(bD(0,fe,2,2,"div",0),_i(1,"div",1),bD(2,_e,1,2,"h3",2),bD(3,ge,3,0,"ul",3),Kc()),e&2){let t=VD();_D(t.nzAvatar?0:-1),gI(2),_D(t.nzTitle?2:-1),gI(),_D(t.nzParagraph?3:-1);}}function Se(e,a){e&1&&$D(0);}var Te=(()=>{class e{nzActive=false;nzType;nzBlock=false;static \u0275fac=function(n){return new(n||e)};static \u0275dir=XE({type:e,selectors:[["nz-skeleton-element"]],hostAttrs:[1,"ant-skeleton","ant-skeleton-element"],hostVars:4,hostBindings:function(n,i){n&2&&Mh("ant-skeleton-active",i.nzActive)("ant-skeleton-block",i.nzBlock);},inputs:{nzActive:[2,"nzActive","nzActive",Z0],nzType:"nzType",nzBlock:[2,"nzBlock","nzBlock",Z0]}})}return e})();var ye=(()=>{class e{nzShape="circle";nzSize="default";styleMap={};ngOnChanges(t){if(t.nzSize&&typeof this.nzSize=="number"){let n=`${this.nzSize}px`;this.styleMap={width:n,height:n,"line-height":n};}else this.styleMap={};}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=QE({type:e,selectors:[["nz-skeleton-element","nzType","avatar"]],inputs:{nzShape:"nzShape",nzSize:"nzSize"},features:[ly],decls:1,vars:10,consts:[[1,"ant-skeleton-avatar"]],template:function(n,i){n&1&&uh(0,"span",0),n&2&&(sw(i.styleMap),Mh("ant-skeleton-avatar-square",i.nzShape==="square")("ant-skeleton-avatar-circle",i.nzShape==="circle")("ant-skeleton-avatar-lg",i.nzSize==="large")("ant-skeleton-avatar-sm",i.nzSize==="small"));},encapsulation:2})}return e})();var ce=(()=>{class e{cdr=C(z0);nzActive=false;nzLoading=true;nzRound=false;nzTitle=true;nzAvatar=false;nzParagraph=true;title;avatar;paragraph;rowsList=[];widthList=[];toCSSUnit(t=""){return l9(t)}getTitleProps(){let t=!!this.nzAvatar,n=!!this.nzParagraph,i="";return !t&&n?i="38%":t&&n&&(i="50%"),r({width:i},this.getProps(this.nzTitle))}getAvatarProps(){let t=this.nzTitle&&!this.nzParagraph?"square":"circle";return r({shape:t,size:"large"},this.getProps(this.nzAvatar))}getParagraphProps(){let t=!!this.nzAvatar,n=!!this.nzTitle,i={};return (!t||!n)&&(i.width="61%"),!t&&n?i.rows=3:i.rows=2,r(r({},i),this.getProps(this.nzParagraph))}getProps(t){return t&&typeof t=="object"?t:{}}getWidthList(){let{width:t,rows:n}=this.paragraph,i=[];return t&&Array.isArray(t)?i=t:t&&!Array.isArray(t)&&(i=[],i[n-1]=t),i}updateProps(){this.title=this.getTitleProps(),this.avatar=this.getAvatarProps(),this.paragraph=this.getParagraphProps(),this.rowsList=[...Array(this.paragraph.rows)],this.widthList=this.getWidthList(),this.cdr.markForCheck();}ngOnInit(){this.updateProps();}ngOnChanges(t){(t.nzTitle||t.nzAvatar||t.nzParagraph)&&this.updateProps();}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=QE({type:e,selectors:[["nz-skeleton"]],hostAttrs:[1,"ant-skeleton"],hostVars:6,hostBindings:function(n,i){n&2&&Mh("ant-skeleton-with-avatar",!!i.nzAvatar)("ant-skeleton-active",i.nzActive)("ant-skeleton-round",i.nzRound);},inputs:{nzActive:[2,"nzActive","nzActive",Z0],nzLoading:[2,"nzLoading","nzLoading",Z0],nzRound:[2,"nzRound","nzRound",Z0],nzTitle:"nzTitle",nzAvatar:"nzAvatar",nzParagraph:"nzParagraph"},exportAs:["nzSkeleton"],features:[ly],ngContentSelectors:Ce,decls:2,vars:1,consts:[[1,"ant-skeleton-header"],[1,"ant-skeleton-content"],[1,"ant-skeleton-title",3,"width"],[1,"ant-skeleton-paragraph"],["nzType","avatar",3,"nzSize","nzShape"],[1,"ant-skeleton-title"],[3,"width"]],template:function(n,i){n&1&&(BD(),bD(0,he,4,3)(1,Se,1,0)),n&2&&_D(i.nzLoading?0:1);},dependencies:[Te,ye],encapsulation:2})}return e})(),pe=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=YE({type:e});static \u0275inj=uu({})}return e})();function Ne(e,a){}function ke(e,a){if(e&1&&(_i(0,"div",0),nh(1,Ne,0,0,"ng-template",2),Kc()),e&2){let t=VD();gI(),ch("ngTemplateOutlet",t.nzAvatar);}}function be(e,a){if(e&1&&(el(0),vw(1),tl()),e&2){let t=VD(3);gI(),Ph(t.nzTitle);}}function Me(e,a){if(e&1&&(_i(0,"div",3),nh(1,be,2,1,"ng-container",5),Kc()),e&2){let t=VD(2);gI(),ch("nzStringTemplateOutlet",t.nzTitle);}}function Ae(e,a){if(e&1&&(el(0),vw(1),tl()),e&2){let t=VD(3);gI(),Ph(t.nzDescription);}}function De(e,a){if(e&1&&(_i(0,"div",4),nh(1,Ae,2,1,"ng-container",5),Kc()),e&2){let t=VD(2);gI(),ch("nzStringTemplateOutlet",t.nzDescription);}}function Ee(e,a){if(e&1&&(_i(0,"div",1),bD(1,Me,2,1,"div",3),bD(2,De,2,1,"div",4),Kc()),e&2){let t=VD();gI(),_D(t.nzTitle?1:-1),gI(),_D(t.nzDescription?2:-1);}}var me=["*"];function we(e,a){e&1&&$D(0);}var Pe=()=>({rows:4});function Be(e,a){if(e&1&&(el(0),vw(1),tl()),e&2){let t=VD(3);gI(),Ph(t.nzTitle);}}function Oe(e,a){if(e&1&&(_i(0,"div",6),nh(1,Be,2,1,"ng-container",9),Kc()),e&2){let t=VD(2);gI(),ch("nzStringTemplateOutlet",t.nzTitle);}}function Fe(e,a){if(e&1&&(el(0),vw(1),tl()),e&2){let t=VD(3);gI(),Ph(t.nzExtra);}}function Le(e,a){if(e&1&&(_i(0,"div",7),nh(1,Fe,2,1,"ng-container",9),Kc()),e&2){let t=VD(2);gI(),ch("nzStringTemplateOutlet",t.nzExtra);}}function He(e,a){}function Ie(e,a){if(e&1&&nh(0,He,0,0,"ng-template",8),e&2){let t=VD(2);ch("ngTemplateOutlet",t.listOfNzCardTabComponent.template);}}function qe(e,a){if(e&1&&(_i(0,"div",0)(1,"div",5),bD(2,Oe,2,1,"div",6),bD(3,Le,2,1,"div",7),Kc(),bD(4,Ie,1,1,null,8),Kc()),e&2){let t=VD();gI(2),_D(t.nzTitle?2:-1),gI(),_D(t.nzExtra?3:-1),gI(),_D(t.listOfNzCardTabComponent?4:-1);}}function je(e,a){}function Re(e,a){if(e&1&&(_i(0,"div",1),nh(1,je,0,0,"ng-template",8),Kc()),e&2){let t=VD();gI(),ch("ngTemplateOutlet",t.nzCover);}}function Ge(e,a){e&1&&lh(0,"nz-skeleton",3),e&2&&ch("nzActive",true)("nzTitle",false)("nzParagraph",Nw(3,Pe));}function Qe(e,a){e&1&&$D(0);}function Ve(e,a){}function $e(e,a){if(e&1&&(_i(0,"li")(1,"span"),nh(2,Ve,0,0,"ng-template",8),Kc()()),e&2){let t=a.$implicit,n=a.$count;_h("width",100/n,"%"),gI(2),ch("ngTemplateOutlet",t);}}function Ue(e,a){if(e&1&&(_i(0,"ul",4),ND(1,$e,3,3,"li",10,MD),Kc()),e&2){let t=VD();gI(),xD(t.nzActions);}}var We=(()=>{class e{nzHoverable=true;static \u0275fac=function(n){return new(n||e)};static \u0275dir=XE({type:e,selectors:[["","nz-card-grid",""]],hostAttrs:[1,"ant-card-grid"],hostVars:2,hostBindings:function(n,i){n&2&&Mh("ant-card-hoverable",i.nzHoverable);},inputs:{nzHoverable:[2,"nzHoverable","nzHoverable",Z0]},exportAs:["nzCardGrid"]})}return e})(),Ze=(()=>{class e{nzTitle=null;nzDescription=null;nzAvatar=null;static \u0275fac=function(n){return new(n||e)};static \u0275cmp=QE({type:e,selectors:[["nz-card-meta"]],hostAttrs:[1,"ant-card-meta"],inputs:{nzTitle:"nzTitle",nzDescription:"nzDescription",nzAvatar:"nzAvatar"},exportAs:["nzCardMeta"],decls:2,vars:2,consts:[[1,"ant-card-meta-avatar"],[1,"ant-card-meta-detail"],[3,"ngTemplateOutlet"],[1,"ant-card-meta-title"],[1,"ant-card-meta-description"],[4,"nzStringTemplateOutlet"]],template:function(n,i){n&1&&(bD(0,ke,2,1,"div",0),bD(1,Ee,3,2,"div",1)),n&2&&(_D(i.nzAvatar?0:-1),gI(),_D(i.nzTitle||i.nzDescription?1:-1));},dependencies:[vr,Tt,Ie$1],encapsulation:2})}return e})(),Je=(()=>{class e{template;static \u0275fac=function(n){return new(n||e)};static \u0275cmp=QE({type:e,selectors:[["nz-card-tab"]],viewQuery:function(n,i){if(n&1&&Ih(Er,7),n&2){let S;qD(S=WD())&&(i.template=S.first);}},exportAs:["nzCardTab"],ngContentSelectors:me,decls:1,vars:0,template:function(n,i){n&1&&(BD(),rh(0,we,1,0,"ng-template"));},encapsulation:2})}return e})(),ze="card",Ke=(()=>{let e,a=[],t=[],n,i=[],S=[],W,Z=[],J=[];return class U{static{let C=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;e=[ut()],n=[ut()],W=[ut()],pT(null,null,e,{kind:"field",name:"nzBordered",static:false,private:false,access:{has:r=>"nzBordered"in r,get:r=>r.nzBordered,set:(r,l)=>{r.nzBordered=l;}},metadata:C},a,t),pT(null,null,n,{kind:"field",name:"nzHoverable",static:false,private:false,access:{has:r=>"nzHoverable"in r,get:r=>r.nzHoverable,set:(r,l)=>{r.nzHoverable=l;}},metadata:C},i,S),pT(null,null,W,{kind:"field",name:"nzSize",static:false,private:false,access:{has:r=>"nzSize"in r,get:r=>r.nzSize,set:(r,l)=>{r.nzSize=l;}},metadata:C},Z,J),C&&Object.defineProperty(this,Symbol.metadata,{enumerable:true,configurable:true,writable:true,value:C});}cdr=C(z0);dir=C(Le$1).valueSignal;_nzModuleName=ze;nzBordered=hT(this,a,true);nzLoading=(hT(this,t),false);nzHoverable=hT(this,i,false);nzBodyStyle=(hT(this,S),null);nzCover;nzActions=[];nzType=null;nzSize=hT(this,Z,"default");nzTitle=hT(this,J);nzExtra;listOfNzCardTabComponent;listOfNzCardGridDirective;constructor(){Vt(ze,()=>this.cdr.markForCheck());}static \u0275fac=function(r){return new(r||U)};static \u0275cmp=QE({type:U,selectors:[["nz-card"]],contentQueries:function(r,l,K){if(r&1&&vh(K,Je,5)(K,We,4),r&2){let E;qD(E=WD())&&(l.listOfNzCardTabComponent=E.first),qD(E=WD())&&(l.listOfNzCardGridDirective=E);}},hostAttrs:[1,"ant-card"],hostVars:16,hostBindings:function(r,l){r&2&&Mh("ant-card-loading",l.nzLoading)("ant-card-bordered",l.nzBordered)("ant-card-hoverable",l.nzHoverable)("ant-card-small",l.nzSize==="small")("ant-card-contain-grid",l.listOfNzCardGridDirective&&l.listOfNzCardGridDirective.length)("ant-card-type-inner",l.nzType==="inner")("ant-card-contain-tabs",!!l.listOfNzCardTabComponent)("ant-card-rtl",l.dir()==="rtl");},inputs:{nzBordered:[2,"nzBordered","nzBordered",Z0],nzLoading:[2,"nzLoading","nzLoading",Z0],nzHoverable:[2,"nzHoverable","nzHoverable",Z0],nzBodyStyle:"nzBodyStyle",nzCover:"nzCover",nzActions:"nzActions",nzType:"nzType",nzSize:"nzSize",nzTitle:"nzTitle",nzExtra:"nzExtra"},exportAs:["nzCard"],ngContentSelectors:me,decls:6,vars:6,consts:[[1,"ant-card-head"],[1,"ant-card-cover"],[1,"ant-card-body"],[3,"nzActive","nzTitle","nzParagraph"],[1,"ant-card-actions"],[1,"ant-card-head-wrapper"],[1,"ant-card-head-title"],[1,"ant-card-extra"],[3,"ngTemplateOutlet"],[4,"nzStringTemplateOutlet"],[3,"width"]],template:function(r,l){r&1&&(BD(),bD(0,qe,5,3,"div",0),bD(1,Re,2,1,"div",1),_i(2,"div",2),bD(3,Ge,1,4,"nz-skeleton",3)(4,Qe,1,0),Kc(),bD(5,Ue,3,0,"ul",4)),r&2&&(_D(l.nzTitle||l.nzExtra||l.listOfNzCardTabComponent?0:-1),gI(),_D(l.nzCover?1:-1),gI(),sw(l.nzBodyStyle),gI(),_D(l.nzLoading?3:4),gI(2),_D(l.nzActions.length?5:-1));},dependencies:[Tt,Ie$1,vr,pe,ce],encapsulation:2})}})(),Nt=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=YE({type:e});static \u0275inj=uu({imports:[Ke,Ze,P1]})}return e})();export{Ke as K,Nt as N};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {F as Fe$1,o as oe$1}from'./chunk-Ca9rxJZS.js';import {z,b,M,R}from'./chunk-DS5k0b_s.js';import {ah as YE,ai as uu,bb as pT,C,b_ as wn$1,bP as z0,bH as kt$1,aq as Le,b as at,a$ as Le$1,bc as hT,a0 as $0,b$ as Ln,R as Rt$1,Q as QE,aF as vr,b2 as ly,aj as Y0,ak as Z0,m as bD,g as _i$1,j as gh,K as Kc,A as _D,p as gI,w as ch,a4 as Mh,an as _r,c0 as On$1,c1 as Vt$1,bj as on,c2 as Fg,ae as Se,c3 as d9,aG as BD,aH as nh,aI as Lw,aJ as Sw,bw as Ih,bx as qD,by as WD,c4 as vh,bd as XE,a_ as XI,bf as re,az as a9,c5 as Wl,c6 as Gl,c7 as mt,ab as Dg,c8 as zg,c9 as Ie,bL as Yg,ca as Ri$1,cb as xn$1,cc as Sr,h as Rw,aX as $D,O as Ow,cd as c9,$ as $b,V as V5,D as D5,n as n8,J as J6,k as k3,aC as pt,aD as Se$1,aU as zD,ce as Aw,a5 as ah,bz as ut,cf as oe,cg as St,bs as Tt,bt as Ie$1,ch as J,ci as rn,cj as on$1,ck as nn,cl as an,cm as W1,s,r,cn as o9,co as Ci$1,cp as xt,cq as Rn$1,cr as bi$1,d as sd,z as zc,e as t7,Z as y7,cs as vi$1,ct as jt,cu as S,i as ie,bK as Kg,cv as jl,cw as om,q as qo$1,l as lh,B as VD,N as ND,a7 as MD,y as xD,cx as Yc,b3 as _h,L as LD,v as vw,u as nl,o as oE,x as sE,cy as TD,cz as fh,cA as ph,bX as el,bY as tl,P as Ph,bF as sw,ap as a3,ar as ga,cB as Jc,cC as uh,cD as Xc,aK as h1,aM as wo$1,S as SD,E as Pu,G as Lu,bW as Er}from'./main-5C7K2447.js';var Qn=(t,a)=>({$implicit:t,page:a});function jn(t,a){if(t&1&&(_i$1(0,"a"),vw(1),Kc()),t&2){let e=VD().page;gI(),Ph(e);}}function Hn(t,a){t&1&&lh(0,"nz-icon",4);}function Jn(t,a){t&1&&lh(0,"nz-icon",5);}function Xn(t,a){if(t&1&&(_i$1(0,"button",2),bD(1,Hn,1,0,"nz-icon",4)(2,Jn,1,0,"nz-icon",5),Kc()),t&2){let e=VD(2);ch("disabled",e.disabled),ah("title",e.locale.prev_page),gI(),_D(e.direction==="rtl"?1:2);}}function qn(t,a){t&1&&lh(0,"nz-icon",5);}function Yn(t,a){t&1&&lh(0,"nz-icon",4);}function Zn(t,a){if(t&1&&(_i$1(0,"button",2),bD(1,qn,1,0,"nz-icon",5)(2,Yn,1,0,"nz-icon",4),Kc()),t&2){let e=VD(2);ch("disabled",e.disabled),ah("title",e.locale.next_page),gI(),_D(e.direction==="rtl"?1:2);}}function Un(t,a){t&1&&lh(0,"nz-icon",8);}function Gn(t,a){t&1&&lh(0,"nz-icon",9);}function Kn(t,a){if(t&1&&bD(0,Un,1,0,"nz-icon",8)(1,Gn,1,0,"nz-icon",9),t&2){let e=VD(3);_D(e.direction==="rtl"?0:1);}}function ei(t,a){t&1&&lh(0,"nz-icon",9);}function ti(t,a){t&1&&lh(0,"nz-icon",8);}function ni(t,a){if(t&1&&bD(0,ei,1,0,"nz-icon",9)(1,ti,1,0,"nz-icon",8),t&2){let e=VD(3);_D(e.direction==="rtl"?0:1);}}function ii(t,a){if(t&1&&(_i$1(0,"a",3)(1,"div",6),bD(2,Kn,2,1)(3,ni,2,1),_i$1(4,"span",7),vw(5,"\u2022\u2022\u2022"),Kc()()()),t&2){let e,n=VD().$implicit;gI(2),_D((e=n)==="prev_5"?2:e==="next_5"?3:-1);}}function oi(t,a){if(t&1&&bD(0,jn,2,1,"a")(1,Xn,3,3,"button",2)(2,Zn,3,3,"button",2)(3,ii,6,1,"a",3),t&2){let e,n=a.$implicit;_D((e=n)==="page"?0:e==="prev"?1:e==="next"?2:3);}}function ai(t,a){}var li=(t,a)=>a.value;function ri(t,a){if(t&1&&lh(0,"nz-option",3),t&2){let e=a.$implicit;ch("nzLabel",e.label)("nzValue",e.value);}}function si(t,a){if(t&1){let e=LD();_i$1(0,"nz-select",2),gh("ngModelChange",function(i){Pu(e);let o=VD();return Lu(o.onPageSizeChange(i))}),ND(1,ri,1,2,"nz-option",3,li),Kc(),oE();}if(t&2){let e=VD();ch("nzDisabled",e.disabled)("nzSize",e.nzSize)("ngModel",e.pageSize),sE(),gI(),xD(e.listOfPageSizeOption);}}function di(t,a){if(t&1){let e=LD();_i$1(0,"div",1),vw(1),_i$1(2,"input",4),gh("keydown.enter",function(i){Pu(e);let o=VD();return Lu(o.jumpToPageViaInput(i))}),Kc(),vw(3),Kc();}if(t&2){let e=VD();gI(),nl(" ",e.locale.jump_to," "),gI(),ch("disabled",e.disabled),gI(),nl(" ",e.locale.page," ");}}var xn=["containerTemplate"],ci=(t,a)=>({$implicit:t,range:a});function pi(t,a){}function ui(t,a){if(t&1&&(_i$1(0,"li",1),nh(1,pi,0,0,"ng-template",4),Kc()),t&2){let e=VD(2);gI(),ch("ngTemplateOutlet",e.showTotal)("ngTemplateOutletContext",Aw(2,ci,e.total,e.ranges));}}function mi(t,a){if(t&1){let e=LD();_i$1(0,"li",5),gh("gotoIndex",function(i){Pu(e);let o=VD(2);return Lu(o.jumpPage(i))})("diffIndex",function(i){Pu(e);let o=VD(2);return Lu(o.jumpDiff(i))}),Kc();}if(t&2){let e=a.$implicit,n=VD(2);ch("locale",n.locale)("type",e.type)("index",e.index)("disabled",!!e.disabled)("itemRender",n.itemRender)("active",n.pageIndex===e.index)("direction",n.dir());}}function hi(t,a){if(t&1){let e=LD();_i$1(0,"li",6),gh("pageIndexChange",function(i){Pu(e);let o=VD(2);return Lu(o.onPageIndexChange(i))})("pageSizeChange",function(i){Pu(e);let o=VD(2);return Lu(o.onPageSizeChange(i))}),Kc();}if(t&2){let e=VD(2);ch("total",e.total)("locale",e.locale)("disabled",e.disabled)("nzSize",e.nzSize)("showSizeChanger",e.showSizeChanger)("showQuickJumper",e.showQuickJumper)("pageIndex",e.pageIndex)("pageSize",e.pageSize)("pageSizeOptions",e.pageSizeOptions);}}function zi(t,a){if(t&1&&(_i$1(0,"ul"),bD(1,ui,2,5,"li",1),ND(2,mi,1,7,"li",2,TD().trackByPageItem,true),bD(4,hi,1,9,"li",3),Kc()),t&2){let e=VD();gI(),_D(e.showTotal?1:-1),gI(),xD(e.listOfPageItem),gI(2),_D(e.showQuickJumper||e.showSizeChanger?4:-1);}}function fi(t,a){if(t&1){let e=LD();_i$1(0,"ul")(1,"li",1),gh("click",function(){Pu(e);let i=VD();return Lu(i.prePage())}),Kc(),_i$1(2,"li",2)(3,"input",3),gh("keydown.enter",function(i){Pu(e);let o=VD();return Lu(o.jumpToPageViaInput(i))}),Kc(),_i$1(4,"span",4),vw(5,"/"),Kc(),vw(6),Kc(),_i$1(7,"li",5),gh("click",function(){Pu(e);let i=VD();return Lu(i.nextPage())}),Kc()();}if(t&2){let e=VD();gI(),ch("locale",e.locale)("disabled",e.isFirstIndex)("direction",e.dir())("itemRender",e.itemRender),ah("title",e.locale.prev_page),gI(),ah("title",e.pageIndex+"/"+e.lastIndex),gI(),ch("disabled",e.disabled)("value",e.pageIndex),gI(3),nl(" ",e.lastIndex," "),gI(),ch("locale",e.locale)("disabled",e.isLastIndex)("direction",e.dir())("itemRender",e.itemRender),ah("title",e.locale?.next_page);}}function gi(t,a){}function Ci(t,a){if(t&1&&nh(0,gi,0,0,"ng-template",4),t&2){VD(2);let e=zD(2);ch("ngTemplateOutlet",e.template);}}function _i(t,a){}function Si(t,a){if(t&1&&nh(0,_i,0,0,"ng-template",4),t&2){VD(2);let e=zD(4);ch("ngTemplateOutlet",e.template);}}function bi(t,a){if(t&1&&bD(0,Ci,1,1,null,4)(1,Si,1,1,null,4),t&2){let e=VD();_D(e.nzSimple?0:1);}}var kt=(()=>{class t{active=false;locale;index=null;disabled=false;direction="ltr";type=null;itemRender=null;diffIndex=new Le$1;gotoIndex=new Le$1;title=null;clickItem(){this.disabled||(this.type==="page"?this.gotoIndex.emit(this.index):this.diffIndex.emit({next:1,prev:-1,prev_5:-5,next_5:5}[this.type]));}ngOnChanges(e){let{locale:n,index:i,type:o}=e;(n||i||o)&&(this.title={page:`${this.index}`,next:this.locale?.next_page,prev:this.locale?.prev_page,prev_5:this.locale?.prev_5,next_5:this.locale?.next_5}[this.type]);}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=QE({type:t,selectors:[["li","nz-pagination-item",""]],hostVars:19,hostBindings:function(n,i){n&1&&gh("click",function(){return i.clickItem()}),n&2&&(ah("title",i.title),Mh("ant-pagination-prev",i.type==="prev")("ant-pagination-next",i.type==="next")("ant-pagination-item",i.type==="page")("ant-pagination-jump-prev",i.type==="prev_5")("ant-pagination-jump-prev-custom-icon",i.type==="prev_5")("ant-pagination-jump-next",i.type==="next_5")("ant-pagination-jump-next-custom-icon",i.type==="next_5")("ant-pagination-disabled",i.disabled)("ant-pagination-item-active",i.active));},inputs:{active:"active",locale:"locale",index:"index",disabled:"disabled",direction:"direction",type:"type",itemRender:"itemRender"},outputs:{diffIndex:"diffIndex",gotoIndex:"gotoIndex"},features:[ly],decls:3,vars:5,consts:[["renderItemTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["type","button",1,"ant-pagination-item-link",3,"disabled"],[1,"ant-pagination-item-link"],["nzType","right"],["nzType","left"],[1,"ant-pagination-item-container"],[1,"ant-pagination-item-ellipsis"],["nzType","double-right",1,"ant-pagination-item-link-icon"],["nzType","double-left",1,"ant-pagination-item-link-icon"]],template:function(n,i){if(n&1&&nh(0,oi,4,1,"ng-template",null,0,Lw)(2,ai,0,0,"ng-template",1),n&2){let o=zD(1);gI(2),ch("ngTemplateOutlet",i.itemRender||o)("ngTemplateOutletContext",Aw(2,Qn,i.type,i.index));}},dependencies:[pt,Se$1,vr],encapsulation:2})}return t})(),Tn=(()=>{class t{nzSize="default";disabled=false;showSizeChanger=false;showQuickJumper=false;locale;total=0;pageIndex=1;pageSize=10;pageSizeOptions=[];pageIndexChange=new Le$1;pageSizeChange=new Le$1;listOfPageSizeOption=[];onPageSizeChange(e){this.pageSize!==e&&this.pageSizeChange.next(e);}jumpToPageViaInput(e){let n=e.target,i=Math.floor(c9(n.value,this.pageIndex));this.pageIndexChange.next(i),n.value="";}ngOnChanges(e){let{pageSize:n,pageSizeOptions:i,locale:o}=e;(n||i||o)&&(this.listOfPageSizeOption=[...new Set([...this.pageSizeOptions,this.pageSize])].map(l=>({value:l,label:`${l} ${this.locale.items_per_page}`})));}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=QE({type:t,selectors:[["li","nz-pagination-options",""]],hostAttrs:[1,"ant-pagination-options"],inputs:{nzSize:"nzSize",disabled:"disabled",showSizeChanger:"showSizeChanger",showQuickJumper:"showQuickJumper",locale:"locale",total:"total",pageIndex:"pageIndex",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions"},outputs:{pageIndexChange:"pageIndexChange",pageSizeChange:"pageSizeChange"},features:[ly],decls:2,vars:2,consts:[[1,"ant-pagination-options-size-changer",3,"nzDisabled","nzSize","ngModel"],[1,"ant-pagination-options-quick-jumper"],[1,"ant-pagination-options-size-changer",3,"ngModelChange","nzDisabled","nzSize","ngModel"],[3,"nzLabel","nzValue"],[3,"keydown.enter","disabled"]],template:function(n,i){n&1&&(bD(0,si,3,3,"nz-select",0),bD(1,di,4,3,"div",1)),n&2&&(_D(i.showSizeChanger?0:-1),gI(),_D(i.showQuickJumper?1:-1));},dependencies:[$b,V5,D5,n8,J6,k3],encapsulation:2})}return t})(),vn=(()=>{class t{dir=C(Le).valueSignal;template;nzSize="default";itemRender=null;showTotal=null;disabled=false;locale;showSizeChanger=false;showQuickJumper=false;total=0;pageIndex=1;pageSize=10;pageSizeOptions=[10,20,30,40];pageIndexChange=new Le$1;pageSizeChange=new Le$1;ranges=[0,0];listOfPageItem=[];constructor(){let e=C(_r).nativeElement,n=C(XI);n.removeChild(n.parentNode(e),e);}jumpPage(e){this.onPageIndexChange(e);}jumpDiff(e){this.jumpPage(this.pageIndex+e);}trackByPageItem(e,n){return `${n.type}-${n.index}`}onPageIndexChange(e){this.pageIndexChange.next(e);}onPageSizeChange(e){this.pageSizeChange.next(e);}getLastIndex(e,n){return (n>0?Math.ceil(e/n):0)||1}buildIndexes(){let e=this.getLastIndex(this.total,this.pageSize);this.listOfPageItem=this.getListOfPageItem(this.pageIndex,e);}getListOfPageItem(e,n){let i=l=>{let h={type:"prev",disabled:e===1},f={type:"next",disabled:e===n};return [h,...l,f]},o=(l,h)=>{let f=[];for(let O=l;O<=h;O++)f.push({index:O,type:"page"});return f};return n<=9?i(o(1,n)):i(((h,f)=>{let O=[],I={type:"prev_5"},B={type:"next_5"},K=o(1,1),ue=o(n,n);if(h<5)O=[...o(2,h===4?6:5),B];else if(h<f-3)O=[I,...o(h-2,h+2),B];else {let ie=h===f-3?f-5:f-4;O=[I,...o(ie,f-1)];}return [...K,...O,...ue]})(e,n))}ngOnChanges(e){let{pageIndex:n,pageSize:i,total:o}=e;(n||i||o)&&(this.ranges=[(this.pageIndex-1)*this.pageSize+1,Math.min(this.pageIndex*this.pageSize,this.total)],this.buildIndexes());}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=QE({type:t,selectors:[["nz-pagination-default"]],viewQuery:function(n,i){if(n&1&&Ih(xn,7),n&2){let o;qD(o=WD())&&(i.template=o.first);}},hostVars:2,hostBindings:function(n,i){n&2&&Mh("ant-pagination-rtl",i.dir()==="rtl");},inputs:{nzSize:"nzSize",itemRender:"itemRender",showTotal:"showTotal",disabled:"disabled",locale:"locale",showSizeChanger:"showSizeChanger",showQuickJumper:"showQuickJumper",total:"total",pageIndex:"pageIndex",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions"},outputs:{pageIndexChange:"pageIndexChange",pageSizeChange:"pageSizeChange"},features:[ly],decls:2,vars:0,consts:[["containerTemplate",""],[1,"ant-pagination-total-text"],["nz-pagination-item","",3,"locale","type","index","disabled","itemRender","active","direction"],["nz-pagination-options","",3,"total","locale","disabled","nzSize","showSizeChanger","showQuickJumper","pageIndex","pageSize","pageSizeOptions"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["nz-pagination-item","",3,"gotoIndex","diffIndex","locale","type","index","disabled","itemRender","active","direction"],["nz-pagination-options","",3,"pageIndexChange","pageSizeChange","total","locale","disabled","nzSize","showSizeChanger","showQuickJumper","pageIndex","pageSize","pageSizeOptions"]],template:function(n,i){n&1&&nh(0,zi,5,2,"ng-template",null,0,Lw);},dependencies:[vr,kt,Tn],encapsulation:2})}return t})(),yn=(()=>{class t{dir=C(Le).valueSignal;template;itemRender=null;disabled=false;locale;total=0;pageIndex=1;pageSize=10;pageIndexChange=new Le$1;lastIndex=0;isFirstIndex=false;isLastIndex=false;constructor(){let e=C(_r).nativeElement,n=C(XI);n.removeChild(n.parentNode(e),e);}jumpToPageViaInput(e){let n=e.target,i=c9(n.value,this.pageIndex);this.onPageIndexChange(i),n.value=`${this.pageIndex}`;}prePage(){this.onPageIndexChange(this.pageIndex-1);}nextPage(){this.onPageIndexChange(this.pageIndex+1);}onPageIndexChange(e){this.pageIndexChange.next(e);}updateBindingValue(){let e=this.pageSize>0?Math.ceil(this.total/this.pageSize):0;this.lastIndex=e||1,this.isFirstIndex=this.pageIndex===1,this.isLastIndex=this.pageIndex===this.lastIndex;}ngOnChanges(e){let{pageIndex:n,total:i,pageSize:o}=e;(n||i||o)&&this.updateBindingValue();}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=QE({type:t,selectors:[["nz-pagination-simple"]],viewQuery:function(n,i){if(n&1&&Ih(xn,7),n&2){let o;qD(o=WD())&&(i.template=o.first);}},hostVars:2,hostBindings:function(n,i){n&2&&Mh("ant-pagination-rtl",i.dir()==="rtl");},inputs:{itemRender:"itemRender",disabled:"disabled",locale:"locale",total:"total",pageIndex:"pageIndex",pageSize:"pageSize"},outputs:{pageIndexChange:"pageIndexChange"},features:[ly],decls:2,vars:0,consts:[["containerTemplate",""],["nz-pagination-item","","type","prev",3,"click","locale","disabled","direction","itemRender"],[1,"ant-pagination-simple-pager"],["size","3",3,"keydown.enter","disabled","value"],[1,"ant-pagination-slash"],["nz-pagination-item","","type","next",3,"click","locale","disabled","direction","itemRender"]],template:function(n,i){n&1&&nh(0,fi,8,14,"ng-template",null,0,Lw);},dependencies:[kt],encapsulation:2})}return t})(),xi="pagination",Mt=(()=>{let t,a=[],e=[],n,i=[],o=[],l,h=[],f=[],O,I=[],B=[],K,ue=[],ie=[];return class It{static{let T=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;t=[ut()],n=[ut()],l=[ut()],O=[ut()],K=[ut()],pT(null,null,t,{kind:"field",name:"nzSize",static:false,private:false,access:{has:z=>"nzSize"in z,get:z=>z.nzSize,set:(z,g)=>{z.nzSize=g;}},metadata:T},a,e),pT(null,null,n,{kind:"field",name:"nzPageSizeOptions",static:false,private:false,access:{has:z=>"nzPageSizeOptions"in z,get:z=>z.nzPageSizeOptions,set:(z,g)=>{z.nzPageSizeOptions=g;}},metadata:T},i,o),pT(null,null,l,{kind:"field",name:"nzShowSizeChanger",static:false,private:false,access:{has:z=>"nzShowSizeChanger"in z,get:z=>z.nzShowSizeChanger,set:(z,g)=>{z.nzShowSizeChanger=g;}},metadata:T},h,f),pT(null,null,O,{kind:"field",name:"nzShowQuickJumper",static:false,private:false,access:{has:z=>"nzShowQuickJumper"in z,get:z=>z.nzShowQuickJumper,set:(z,g)=>{z.nzShowQuickJumper=g;}},metadata:T},I,B),pT(null,null,K,{kind:"field",name:"nzSimple",static:false,private:false,access:{has:z=>"nzSimple"in z,get:z=>z.nzSimple,set:(z,g)=>{z.nzSimple=g;}},metadata:T},ue,ie),T&&Object.defineProperty(this,Symbol.metadata,{enumerable:true,configurable:true,writable:true,value:T});}_nzModuleName=xi;i18n=C(wn$1);cdr=C(z0);breakpointService=C(z);nzConfigService=C(kt$1);dir=C(Le).valueSignal;destroyRef=C(at);nzPageSizeChange=new Le$1;nzPageIndexChange=new Le$1;nzShowTotal=null;nzItemRender=null;nzSize=hT(this,a,"default");nzPageSizeOptions=(hT(this,e),hT(this,i,[10,20,30,40]));nzShowSizeChanger=(hT(this,o),hT(this,h,false));nzShowQuickJumper=(hT(this,f),hT(this,I,false));nzSimple=(hT(this,B),hT(this,ue,false));nzDisabled=(hT(this,ie),false);nzResponsive=false;nzHideOnSinglePage=false;nzTotal=0;nzPageIndex=1;nzPageSize=10;nzAlign=$0("start");showPagination=true;locale;size="default";total$=new Ln(1);validatePageIndex(T,z){return T>z?z:T<1?1:T}onPageIndexChange(T){let z=this.getLastIndex(this.nzTotal,this.nzPageSize),g=this.validatePageIndex(T,z);g!==this.nzPageIndex&&!this.nzDisabled&&(this.nzPageIndex=g,this.nzPageIndexChange.emit(this.nzPageIndex));}onPageSizeChange(T){this.nzPageSize=T,this.nzPageSizeChange.emit(T);let z=this.getLastIndex(this.nzTotal,this.nzPageSize);this.nzPageIndex>z&&this.onPageIndexChange(z);}onTotalChange(T){let z=this.getLastIndex(T,this.nzPageSize);this.nzPageIndex>z&&Promise.resolve().then(()=>{this.onPageIndexChange(z),this.cdr.markForCheck();});}getLastIndex(T,z){return (z>0?Math.ceil(T/z):0)||1}ngOnInit(){this.i18n.localeChange.pipe(Rt$1(this.destroyRef)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Pagination"),this.cdr.markForCheck();}),this.total$.pipe(Rt$1(this.destroyRef)).subscribe(T=>{this.onTotalChange(T);}),this.breakpointService.subscribe(b).pipe(Rt$1(this.destroyRef)).subscribe(T=>{this.nzResponsive&&(this.size=T===M.xs?"small":"default",this.cdr.markForCheck());});}ngOnChanges(T){let{nzHideOnSinglePage:z,nzTotal:g,nzPageSize:Te,nzSize:re}=T;g&&this.total$.next(this.nzTotal),(z||g||Te)&&(this.showPagination=this.nzHideOnSinglePage&&this.nzTotal>this.nzPageSize||this.nzTotal>0&&!this.nzHideOnSinglePage),re&&(this.size=re.currentValue);}static \u0275fac=function(z){return new(z||It)};static \u0275cmp=QE({type:It,selectors:[["nz-pagination"]],hostAttrs:[1,"ant-pagination"],hostVars:14,hostBindings:function(z,g){z&2&&Mh("ant-pagination-simple",g.nzSimple)("ant-pagination-disabled",g.nzDisabled)("ant-pagination-mini",!g.nzSimple&&g.size==="small")("ant-pagination-rtl",g.dir()==="rtl")("ant-pagination-start",g.nzAlign()==="start")("ant-pagination-center",g.nzAlign()==="center")("ant-pagination-end",g.nzAlign()==="end");},inputs:{nzShowTotal:"nzShowTotal",nzItemRender:"nzItemRender",nzSize:"nzSize",nzPageSizeOptions:"nzPageSizeOptions",nzShowSizeChanger:[2,"nzShowSizeChanger","nzShowSizeChanger",Z0],nzShowQuickJumper:[2,"nzShowQuickJumper","nzShowQuickJumper",Z0],nzSimple:[2,"nzSimple","nzSimple",Z0],nzDisabled:[2,"nzDisabled","nzDisabled",Z0],nzResponsive:[2,"nzResponsive","nzResponsive",Z0],nzHideOnSinglePage:[2,"nzHideOnSinglePage","nzHideOnSinglePage",Z0],nzTotal:[2,"nzTotal","nzTotal",Y0],nzPageIndex:[2,"nzPageIndex","nzPageIndex",Y0],nzPageSize:[2,"nzPageSize","nzPageSize",Y0],nzAlign:[1,"nzAlign"]},outputs:{nzPageSizeChange:"nzPageSizeChange",nzPageIndexChange:"nzPageIndexChange"},exportAs:["nzPagination"],features:[ly],decls:5,vars:18,consts:[["simplePagination",""],["defaultPagination",""],[3,"pageIndexChange","disabled","itemRender","locale","pageSize","total","pageIndex"],[3,"pageIndexChange","pageSizeChange","nzSize","itemRender","showTotal","disabled","locale","showSizeChanger","showQuickJumper","total","pageIndex","pageSize","pageSizeOptions"],[3,"ngTemplateOutlet"]],template:function(z,g){z&1&&(bD(0,bi,2,1),_i$1(1,"nz-pagination-simple",2,0),gh("pageIndexChange",function(re){return g.onPageIndexChange(re)}),Kc(),_i$1(3,"nz-pagination-default",3,1),gh("pageIndexChange",function(re){return g.onPageIndexChange(re)})("pageSizeChange",function(re){return g.onPageSizeChange(re)}),Kc()),z&2&&(_D(g.showPagination?0:-1),gI(),ch("disabled",g.nzDisabled)("itemRender",g.nzItemRender)("locale",g.locale)("pageSize",g.nzPageSize)("total",g.nzTotal)("pageIndex",g.nzPageIndex),gI(2),ch("nzSize",g.size)("itemRender",g.nzItemRender)("showTotal",g.nzShowTotal)("disabled",g.nzDisabled)("locale",g.locale)("showSizeChanger",g.nzShowSizeChanger)("showQuickJumper",g.nzShowQuickJumper)("total",g.nzTotal)("pageIndex",g.nzPageIndex)("pageSize",g.nzPageSize)("pageSizeOptions",g.nzPageSizeOptions));},dependencies:[vr,yn,vn],encapsulation:2})}})(),wn=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=YE({type:t});static \u0275inj=uu({imports:[Mt,yn,Tn,kt,vn]})}return t})();var vi=["*"],yi=["inputElement"],wi=(()=>{class t{selected$=new Ln(1);touched$=new re;disabled$=new Ln(1);name$=new Ln(1);touch(){this.touched$.next();}select(e){this.selected$.next(e);}setDisabled(e){this.disabled$.next(e);}setName(e){this.name$.next(e);}static \u0275fac=function(n){return new(n||t)};static \u0275prov=ie({token:t,factory:t.\u0275fac})}return t})();var On=(()=>{class t{dir=C(Le).valueSignal;nzRadioService=C(wi,{optional:true});ngZone=C(oe);elementRef=C(_r);cdr=C(z0);focusMonitor=C(a3);destroyRef=C(at);nzFormStatusService=C(ga,{optional:true});isNgModel=false;isNzDisableFirstChange=true;isChecked=false;name=null;onChange=()=>{};onTouched=()=>{};inputElement;nzValue=null;nzDisabled=false;nzAutoFocus=false;isRadioButton=false;focus(){this.focusMonitor.focusVia(this.inputElement,"keyboard");}blur(){this.inputElement.nativeElement.blur();}constructor(){this.destroyRef.onDestroy(()=>{this.focusMonitor.stopMonitoring(this.elementRef);});}setDisabledState(e){this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||e,this.isNzDisableFirstChange=false,this.cdr.markForCheck();}writeValue(e){this.isChecked=e,this.cdr.markForCheck();}registerOnChange(e){this.isNgModel=true,this.onChange=e;}registerOnTouched(e){this.onTouched=e;}ngOnInit(){this.nzRadioService&&(this.nzRadioService.name$.pipe(Rt$1(this.destroyRef)).subscribe(e=>{this.name=e,this.cdr.markForCheck();}),this.nzRadioService.disabled$.pipe(Rt$1(this.destroyRef)).subscribe(e=>{this.nzDisabled=this.isNzDisableFirstChange&&this.nzDisabled||e,this.isNzDisableFirstChange=false,this.cdr.markForCheck();}),this.nzRadioService.selected$.pipe(Rt$1(this.destroyRef)).subscribe(e=>{let n=this.isChecked;this.isChecked=this.nzValue===e,this.isNgModel&&n!==this.isChecked&&this.isChecked===false&&this.onChange(false),this.cdr.markForCheck();})),this.focusMonitor.monitor(this.elementRef,true).pipe(Rt$1(this.destroyRef)).subscribe(e=>{e||(Promise.resolve().then(()=>this.onTouched()),this.nzRadioService&&this.nzRadioService.touch());}),this.setupClickListener();}ngAfterViewInit(){this.nzAutoFocus&&this.focus();}setupClickListener(){St(this.elementRef.nativeElement,"click").pipe(Rt$1(this.destroyRef)).subscribe(e=>{e.stopPropagation(),e.preventDefault(),!(this.nzDisabled||this.isChecked)&&this.ngZone.run(()=>{this.focus(),this.nzRadioService?.select(this.nzValue),this.isNgModel&&(this.isChecked=true,this.onChange(true)),this.cdr.markForCheck();});});}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=QE({type:t,selectors:[["","nz-radio",""],["","nz-radio-button",""]],viewQuery:function(n,i){if(n&1&&Ih(yi,7),n&2){let o;qD(o=WD())&&(i.inputElement=o.first);}},hostVars:18,hostBindings:function(n,i){n&2&&Mh("ant-radio-wrapper-in-form-item",!!i.nzFormStatusService)("ant-radio-wrapper",!i.isRadioButton)("ant-radio-button-wrapper",i.isRadioButton)("ant-radio-wrapper-checked",i.isChecked&&!i.isRadioButton)("ant-radio-button-wrapper-checked",i.isChecked&&i.isRadioButton)("ant-radio-wrapper-disabled",i.nzDisabled&&!i.isRadioButton)("ant-radio-button-wrapper-disabled",i.nzDisabled&&i.isRadioButton)("ant-radio-wrapper-rtl",!i.isRadioButton&&i.dir()==="rtl")("ant-radio-button-wrapper-rtl",i.isRadioButton&&i.dir()==="rtl");},inputs:{nzValue:"nzValue",nzDisabled:[2,"nzDisabled","nzDisabled",Z0],nzAutoFocus:[2,"nzAutoFocus","nzAutoFocus",Z0],isRadioButton:[2,"nz-radio-button","isRadioButton",Z0]},exportAs:["nzRadio"],features:[Sw([{provide:h1,useExisting:wo$1(()=>t),multi:true}])],ngContentSelectors:vi,decls:6,vars:24,consts:[["inputElement",""],["type","radio",3,"disabled","checked"]],template:function(n,i){n&1&&(BD(),Jc(0,"span"),uh(1,"input",1,0)(3,"span"),Xc(),Jc(4,"span"),$D(5),Xc()),n&2&&(Mh("ant-radio",!i.isRadioButton)("ant-radio-checked",i.isChecked&&!i.isRadioButton)("ant-radio-disabled",i.nzDisabled&&!i.isRadioButton)("ant-radio-button",i.isRadioButton)("ant-radio-button-checked",i.isChecked&&i.isRadioButton)("ant-radio-button-disabled",i.nzDisabled&&i.isRadioButton),gI(),Mh("ant-radio-input",!i.isRadioButton)("ant-radio-button-input",i.isRadioButton),ph("disabled",i.nzDisabled)("checked",i.isChecked),ah("autofocus",i.nzAutoFocus?"autofocus":null)("name",i.name),gI(2),Mh("ant-radio-inner",!i.isRadioButton)("ant-radio-button-inner",i.isRadioButton));},encapsulation:2})}return t})();var Oi=(()=>{class t{create(e){return typeof ResizeObserver>"u"?null:new ResizeObserver(e)}static \u0275fac=function(n){return new(n||t)};static \u0275prov=ie({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})(),Rt=(()=>{class t{nzResizeObserverFactory=C(Oi);destroyRef=C(at);observedElements=new Map;constructor(){this.destroyRef.onDestroy(()=>this.observedElements.forEach((e,n)=>this.cleanupObserver(n)));}observe(e){let n=jt(e);return new S(i=>{let l=this.observeElement(n).subscribe(i);return ()=>{l.unsubscribe(),this.unobserveElement(n);}})}observeElement(e){if(this.observedElements.has(e))this.observedElements.get(e).count++;else {let n=new re,i=this.nzResizeObserverFactory.create(o=>n.next(o));i&&i.observe(e),this.observedElements.set(e,{observer:i,stream:n,count:1});}return this.observedElements.get(e).stream}unobserveElement(e){this.observedElements.has(e)&&(this.observedElements.get(e).count--,this.observedElements.get(e).count||this.cleanupObserver(e));}cleanupObserver(e){if(this.observedElements.has(e)){let{observer:n,stream:i}=this.observedElements.get(e);n&&n.disconnect(),i.complete(),this.observedElements.delete(e);}}static \u0275fac=function(n){return new(n||t)};static \u0275prov=ie({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Pi=["*"];function Di(t,a){t&1&&(_i$1(0,"span",2),lh(1,"i",3)(2,"i",3)(3,"i",3)(4,"i",3),Kc());}function Ni(t,a){}function Fi(t,a){if(t&1&&(_i$1(0,"div",6),vw(1),Kc()),t&2){let e=VD(2);gI(),Ph(e.nzTip);}}function Ii(t,a){if(t&1&&(_i$1(0,"div")(1,"div",4),nh(2,Ni,0,0,"ng-template",5),bD(3,Fi,2,1,"div",6),Kc()()),t&2){let e=VD(),n=zD(1);gI(),Mh("ant-spin-rtl",e.dir()==="rtl")("ant-spin-lg",e.nzSize==="large")("ant-spin-sm",e.nzSize==="small")("ant-spin-show-text",e.nzTip),gI(),ch("ngTemplateOutlet",e.nzIndicator||n),gI(),_D(e.nzTip?3:-1);}}function ki(t,a){if(t&1&&(_i$1(0,"div",7),$D(1),Kc()),t&2){let e=VD();Mh("ant-spin-blur",e.isLoading());}}var Pn="spin",Dn=(()=>{let t,a=[],e=[];return class Et{static{let i=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;t=[ut()],pT(null,null,t,{kind:"field",name:"nzIndicator",static:false,private:false,access:{has:o=>"nzIndicator"in o,get:o=>o.nzIndicator,set:(o,l)=>{o.nzIndicator=l;}},metadata:i},a,e),i&&Object.defineProperty(this,Symbol.metadata,{enumerable:true,configurable:true,writable:true,value:i});}_nzModuleName=Pn;cdr=C(z0);dir=C(Le).valueSignal;destroyRef=C(at);nzIndicator=hT(this,a,null);nzSize=(hT(this,e),"default");nzTip=null;nzDelay=0;nzSimple=false;nzSpinning=true;spinning$=new On$1(this.nzSpinning);delay$=new Ln(1);isLoading=qo$1(false);constructor(){Vt$1(Pn,()=>this.cdr.markForCheck());}ngOnInit(){this.delay$.pipe(Wl(this.nzDelay),Kg(),Gl(i=>this.spinning$.pipe(Gl(o=>i===0||!o?Dg(o):new S(l=>{let h=setTimeout(()=>l.next(o),i);return ()=>clearTimeout(h)})))),Rt$1(this.destroyRef)).subscribe(i=>{this.isLoading.set(i);});}ngOnChanges(i){let{nzSpinning:o,nzDelay:l}=i;o&&this.spinning$.next(this.nzSpinning),l&&this.delay$.next(this.nzDelay);}static \u0275fac=function(o){return new(o||Et)};static \u0275cmp=QE({type:Et,selectors:[["nz-spin"]],hostVars:2,hostBindings:function(o,l){o&2&&Mh("ant-spin-nested-loading",!l.nzSimple);},inputs:{nzIndicator:"nzIndicator",nzSize:"nzSize",nzTip:"nzTip",nzDelay:[2,"nzDelay","nzDelay",Y0],nzSimple:[2,"nzSimple","nzSimple",Z0],nzSpinning:[2,"nzSpinning","nzSpinning",Z0]},exportAs:["nzSpin"],features:[ly],ngContentSelectors:Pi,decls:4,vars:2,consts:[["defaultTemplate",""],[1,"ant-spin-container",3,"ant-spin-blur"],[1,"ant-spin-dot","ant-spin-dot-spin"],[1,"ant-spin-dot-item"],[1,"ant-spin","ant-spin-spinning"],[3,"ngTemplateOutlet"],[1,"ant-spin-text"],[1,"ant-spin-container"]],template:function(o,l){o&1&&(BD(),nh(0,Di,5,0,"ng-template",null,0,Lw),bD(2,Ii,4,10,"div"),bD(3,ki,2,2,"div",1)),o&2&&(gI(2),_D(l.isLoading()?2:-1),gI(),_D(l.nzSimple?-1:3));},dependencies:[vr],encapsulation:2})}})();var xe=["*"],Mi=(t,a)=>a.value;function Ri(t,a){}function Ei(t,a){if(t&1){let e=LD();_i$1(0,"label",14),gh("ngModelChange",function(){Pu(e);let i=VD().$implicit,o=VD(2);return Lu(o.check(i))}),Kc(),oE();}if(t&2){let e=VD().$implicit;ch("ngModel",e.checked),sE();}}function $i(t,a){if(t&1){let e=LD();_i$1(0,"label",15),gh("ngModelChange",function(){Pu(e);let i=VD().$implicit,o=VD(2);return Lu(o.check(i))}),Kc(),oE();}if(t&2){let e=VD().$implicit;ch("ngModel",e.checked),sE();}}function Vi(t,a){if(t&1){let e=LD();_i$1(0,"li",11),gh("click",function(){let i=Pu(e).$implicit,o=VD(2);return Lu(o.check(i))}),bD(1,Ei,1,1,"label",12)(2,$i,1,1,"label",13),_i$1(3,"span"),vw(4),Kc()();}if(t&2){let e=a.$implicit,n=VD(2);ch("nzSelected",e.checked),gI(),_D(n.filterMultiple?2:1),gI(3),Ph(e.text);}}function Bi(t,a){if(t&1){let e=LD();_i$1(0,"nz-filter-trigger",3),gh("nzVisibleChange",function(i){Pu(e);let o=VD();return Lu(o.onVisibleChange(i))}),lh(1,"nz-icon",4),Kc(),_i$1(2,"nz-dropdown-menu",null,0)(4,"div",5)(5,"ul",6),ND(6,Vi,5,3,"li",7,Mi),Kc(),_i$1(8,"div",8)(9,"button",9),gh("click",function(){Pu(e);let i=VD();return Lu(i.reset())}),vw(10),Kc(),_i$1(11,"button",10),gh("click",function(){Pu(e);let i=VD();return Lu(i.confirm())}),vw(12),Kc()()()();}if(t&2){let e=zD(3),n=VD();ch("nzVisible",n.isVisible)("nzActive",n.isChecked)("nzDropdownMenu",e),gI(6),xD(n.listOfParsedFilter),gI(3),ch("disabled",!n.isChecked),gI(),nl(" ",n.locale.filterReset," "),gI(2),Ph(n.locale.filterConfirm);}}function Ai(t,a){if(t&1&&fh(0,2),t&2){let e=VD();ch("ngTemplateOutlet",e.extraTemplate);}}function Li(t,a){if(t&1){let e=LD();_i$1(0,"label",3),gh("ngModelChange",function(i){Pu(e);let o=VD();return Lu(o.onCheckedChange(i))}),Kc(),oE();}if(t&2){let e=VD();Mh("ant-table-selection-select-all-custom",e.showRowSelection),ch("ngModel",e.checked)("nzDisabled",e.disabled)("nzIndeterminate",e.indeterminate),ah("aria-label",e.label),sE();}}function Wi(t,a){if(t&1){let e=LD();_i$1(0,"li",8),gh("click",function(){let i=Pu(e).$implicit;return Lu(i.onSelect())}),vw(1),Kc();}if(t&2){let e=a.$implicit;gI(),nl(" ",e.text," ");}}function Qi(t,a){if(t&1&&(_i$1(0,"div",2)(1,"span",4),lh(2,"nz-icon",5),Kc(),_i$1(3,"nz-dropdown-menu",null,0)(5,"ul",6),ND(6,Wi,2,1,"li",7,SD),Kc()()()),t&2){let e=zD(4),n=VD();gI(),ch("nzDropdownMenu",e),gI(5),xD(n.listOfSelections);}}function ji(t,a){}function Hi(t,a){if(t&1&&lh(0,"nz-icon",6),t&2){let e=VD();Mh("active",e.sortOrder==="ascend");}}function Ji(t,a){if(t&1&&lh(0,"nz-icon",7),t&2){let e=VD();Mh("active",e.sortOrder==="descend");}}function Xi(t,a){}function qi(t,a){if(t&1&&nh(0,Xi,0,0,"ng-template",2),t&2){let e=VD(2);ch("ngTemplateOutlet",e.nzExpandIcon);}}function Yi(t,a){if(t&1){let e=LD();_i$1(0,"button",4),gh("expandChange",function(i){Pu(e);let o=VD(2);return Lu(o.onExpandChange(i))}),Kc();}if(t&2){let e=VD(2);ch("expand",e.nzExpand)("spaceMode",!e.nzShowExpand);}}function Zi(t,a){if(t&1&&(lh(0,"nz-row-indent",1),bD(1,qi,1,1,null,2)(2,Yi,1,2,"button",3)),t&2){let e=VD();ch("indentSize",e.nzIndentSize),gI(),_D(e.nzExpandIcon?1:2);}}function Ui(t,a){if(t&1){let e=LD();_i$1(0,"label",5),gh("ngModelChange",function(i){Pu(e);let o=VD();return Lu(o.onCheckedChange(i))}),Kc(),oE();}if(t&2){let e=VD();ch("nzDisabled",e.nzDisabled)("ngModel",e.nzChecked)("nzIndeterminate",e.nzIndeterminate),ah("aria-label",e.nzLabel),sE();}}var Gi=[[["","nz-th-extra",""]],[["nz-filter-trigger"]],"*"],Ki=["[nz-th-extra]","nz-filter-trigger","*"];function eo(t,a){if(t&1){let e=LD();_i$1(0,"nz-table-filter",6),gh("filterChange",function(i){Pu(e);let o=VD();return Lu(o.onFilterValueChange(i))}),Kc();}if(t&2){let e=VD(),n=zD(3),i=zD(5);ch("contentTemplate",n)("extraTemplate",i)("customFilter",e.nzCustomFilter)("filterMultiple",e.nzFilterMultiple)("listOfFilter",e.nzFilters);}}function to(t,a){if(t&1&&fh(0,5),t&2){VD();let e=zD(3);ch("ngTemplateOutlet",e);}}function no(t,a){}function io(t,a){if(t&1&&nh(0,no,0,0,"ng-template",5),t&2){let e=VD(),n=zD(7),i=zD(9);ch("ngTemplateOutlet",e.nzShowSort?n:i);}}function oo(t,a){t&1&&($D(0),$D(1,1));}function ao(t,a){if(t&1&&lh(0,"nz-table-sorters",7),t&2){let e=VD(),n=zD(9);ch("sortOrder",e.sortOrder)("sortDirections",e.sortDirections)("contentTemplate",n);}}function lo(t,a){t&1&&$D(0,2);}function ro(t,a){if(t&1&&lh(0,"col"),t&2){let e=a.$implicit;_h("width",e)("min-width",e);}}function so(t,a){if(t&1&&(_i$1(0,"colgroup"),ND(1,ro,1,4,"col",3,MD),Kc()),t&2){let e=VD();gI(),xD(e.listOfColWidth);}}function co(t,a){}function po(t,a){if(t&1&&(_i$1(0,"thead",0),nh(1,co,0,0,"ng-template",1),Kc()),t&2){let e=VD();gI(),ch("ngTemplateOutlet",e.theadTemplate);}}function uo(t,a){}function mo(t,a){}function ho(t,a){if(t&1&&(_i$1(0,"tfoot",2),nh(1,mo,0,0,"ng-template",1),Kc()),t&2){let e=VD();gI(),ch("ngTemplateOutlet",e.tfootTemplate);}}var Fn=["tdElement"];function zo(t,a){}function fo(t,a){if(t&1&&(_i$1(0,"div",5),Rw(1,"async"),nh(2,zo,0,0,"ng-template",4),Kc()),t&2){let e=VD(),n=zD(6);_h("width",Ow(1,3,e.hostWidth$),"px"),gI(2),ch("ngTemplateOutlet",n);}}function go(t,a){}function Co(t,a){if(t&1&&nh(0,go,0,0,"ng-template",4),t&2){VD();let e=zD(6);ch("ngTemplateOutlet",e);}}function _o(t,a){t&1&&$D(0);}function So(t,a){t&1&&uh(0,"td",1,0);}function bo(t,a){if(t&1){let e=LD();_i$1(0,"tr",2),gh("listOfAutoWidth",function(i){Pu(e);let o=VD(2);return Lu(o.onListOfAutoWidthChange(i))}),Kc();}if(t&2){let e=VD();ch("listOfMeasureColumn",e);}}function xo(t,a){if(t&1&&bD(0,bo,1,1,"tr",1),t&2){let e=VD();_D(e.isInsideTable&&a.length?0:-1);}}function To(t,a){if(t&1&&(_i$1(0,"tr",0),lh(1,"nz-embed-empty",3),Rw(2,"async"),Kc()),t&2){let e=VD();gI(),ch("specificContent",Ow(2,1,e.noResult$));}}var vo=["tableHeaderElement"],yo=["tableBodyElement"],wo=["tableFootElement"],Oo=(t,a)=>({$implicit:t,index:a});function Po(t,a){if(t&1&&(_i$1(0,"div",9,1),lh(2,"table",10),Kc()),t&2){let e=VD(2);sw(e.bodyStyleMap),gI(2),ch("scrollX",e.scrollX)("listOfColWidth",e.listOfColWidth)("contentTemplate",e.contentTemplate);}}function Do(t,a){}function No(t,a){if(t&1&&(el(0),nh(1,Do,0,0,"ng-template",14),tl()),t&2){let e=a.$implicit,n=a.index,i=VD(3);gI(),ch("ngTemplateOutlet",i.virtualTemplate)("ngTemplateOutletContext",Aw(2,Oo,e,n));}}function Fo(t,a){if(t&1&&(_i$1(0,"cdk-virtual-scroll-viewport",11,1)(2,"table",12)(3,"tbody"),nh(4,No,2,5,"ng-container",13),Kc()()()),t&2){let e=VD(2);_h("height",e.data.length?e.scrollY:e.noDataVirtualHeight),ch("itemSize",e.virtualItemSize)("maxBufferPx",e.virtualMaxBufferPx)("minBufferPx",e.virtualMinBufferPx),gI(2),ch("scrollX",e.scrollX)("listOfColWidth",e.listOfColWidth),gI(2),ch("cdkVirtualForOf",e.data)("cdkVirtualForTrackBy",e.virtualForTrackBy);}}function Io(t,a){if(t&1&&(_i$1(0,"div",15,2),lh(2,"table",16),Kc()),t&2){let e=VD(2);sw(e.headerStyleMap),gI(2),ch("scrollX",e.scrollX)("listOfColWidth",e.listOfColWidth)("tfootTemplate",e.tfootTemplate);}}function ko(t,a){if(t&1&&(_i$1(0,"div",4,0),lh(2,"table",5),Kc(),bD(3,Po,3,5,"div",6)(4,Fo,5,9,"cdk-virtual-scroll-viewport",7),bD(5,Io,3,5,"div",8)),t&2){let e=VD();sw(e.headerStyleMap),gI(2),ch("scrollX",e.scrollX)("listOfColWidth",e.listOfColWidth)("theadTemplate",e.theadTemplate)("tfootTemplate",e.tfootFixed==="top"?e.tfootTemplate:null),gI(),_D(e.virtualTemplate?4:3),gI(2),_D(e.tfootFixed==="bottom"?5:-1);}}function Mo(t,a){if(t&1&&(_i$1(0,"div",17,1),lh(2,"table",18),Kc()),t&2){let e=VD();sw(e.bodyStyleMap),gI(2),ch("scrollX",e.scrollX)("listOfColWidth",e.listOfColWidth)("theadTemplate",e.theadTemplate)("contentTemplate",e.contentTemplate)("tfootTemplate",e.tfootTemplate);}}function Ro(t,a){if(t&1&&(el(0),vw(1),tl()),t&2){let e=VD();gI(),Ph(e.title);}}function Eo(t,a){if(t&1&&(el(0),vw(1),tl()),t&2){let e=VD();gI(),Ph(e.footer);}}function $o(t,a){}function Vo(t,a){if(t&1&&nh(0,$o,0,0,"ng-template",4),t&2){VD();let e=zD(10);ch("ngTemplateOutlet",e);}}function Bo(t,a){if(t&1&&lh(0,"nz-table-title-footer",6),t&2){let e=VD();ch("title",e.nzTitle);}}function Ao(t,a){if(t&1&&lh(0,"nz-table-inner-scroll",7),t&2){let e=VD(),n=zD(3),i=zD(12);ch("data",e.data)("scrollX",e.scrollX)("scrollY",e.scrollY)("contentTemplate",i)("listOfColWidth",e.listOfAutoColWidth)("theadTemplate",e.theadTemplate)("tfootTemplate",e.tfootTemplate)("tfootFixed",e.tfootFixed)("verticalScrollBarWidth",e.verticalScrollBarWidth)("virtualTemplate",e.nzVirtualScrollDirective?e.nzVirtualScrollDirective.templateRef:null)("virtualItemSize",e.nzVirtualItemSize)("virtualMaxBufferPx",e.nzVirtualMaxBufferPx)("virtualMinBufferPx",e.nzVirtualMinBufferPx)("tableMainElement",n)("virtualForTrackBy",e.nzVirtualForTrackBy)("noDataVirtualHeight",e.noDataVirtualHeight);}}function Lo(t,a){if(t&1&&lh(0,"nz-table-inner-default",8),t&2){let e=VD(),n=zD(12);ch("tableLayout",e.nzTableLayout)("listOfColWidth",e.listOfManualColWidth)("theadTemplate",e.theadTemplate)("contentTemplate",n)("tfootTemplate",e.tfootTemplate);}}function Wo(t,a){if(t&1&&lh(0,"nz-table-title-footer",9),t&2){let e=VD();ch("footer",e.nzFooter);}}function Qo(t,a){}function jo(t,a){if(t&1&&nh(0,Qo,0,0,"ng-template",4),t&2){VD();let e=zD(10);ch("ngTemplateOutlet",e);}}function Ho(t,a){if(t&1){let e=LD();_i$1(0,"nz-pagination",11),gh("nzPageSizeChange",function(i){Pu(e);let o=VD(2);return Lu(o.onPageSizeChange(i))})("nzPageIndexChange",function(i){Pu(e);let o=VD(2);return Lu(o.onPageIndexChange(i))}),Kc();}if(t&2){let e=VD(2);ch("hidden",!e.showPagination)("nzShowSizeChanger",e.nzShowSizeChanger)("nzPageSizeOptions",e.nzPageSizeOptions)("nzItemRender",e.nzItemRender)("nzShowQuickJumper",e.nzShowQuickJumper)("nzHideOnSinglePage",e.nzHideOnSinglePage)("nzShowTotal",e.nzShowTotal)("nzSize",e.nzPaginationType==="small"?"small":e.nzSize==="default"?"default":"small")("nzPageSize",e.nzPageSize)("nzTotal",e.nzTotal)("nzSimple",e.nzSimple)("nzPageIndex",e.nzPageIndex);}}function Jo(t,a){if(t&1&&bD(0,Ho,1,12,"nz-pagination",10),t&2){let e=VD();_D(e.nzShowPagination&&e.data.length?0:-1);}}function Xo(t,a){t&1&&$D(0);}var qo=["contentTemplate"];function Yo(t,a){t&1&&$D(0);}function Zo(t,a){}function Uo(t,a){if(t&1&&nh(0,Zo,0,0,"ng-template",1),t&2){VD();let e=zD(1);ch("ngTemplateOutlet",e);}}var Go="filterTrigger",In=(()=>{let t,a=[],e=[];return class $t{static{let i=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;t=[ut()],pT(null,null,t,{kind:"field",name:"nzBackdrop",static:false,private:false,access:{has:o=>"nzBackdrop"in o,get:o=>o.nzBackdrop,set:(o,l)=>{o.nzBackdrop=l;}},metadata:i},a,e),i&&Object.defineProperty(this,Symbol.metadata,{enumerable:true,configurable:true,writable:true,value:i});}_nzModuleName=Go;nzConfigService=C(kt$1);cdr=C(z0);destroyRef=C(at);nzActive=false;nzDropdownMenu;nzVisible=false;nzBackdrop=hT(this,a,false);nzVisibleChange=(hT(this,e),new Le$1);nzDropdown;onVisibleChange(i){this.nzVisible=i,this.nzVisibleChange.next(i);}hide(){this.nzVisible=false,this.cdr.markForCheck();}show(){this.nzVisible=true,this.cdr.markForCheck();}ngOnInit(){St(this.nzDropdown.nativeElement,"click").pipe(Rt$1(this.destroyRef)).subscribe(i=>i.stopPropagation());}static \u0275fac=function(o){return new(o||$t)};static \u0275cmp=QE({type:$t,selectors:[["nz-filter-trigger"]],viewQuery:function(o,l){if(o&1&&Ih(vi$1,7,_r),o&2){let h;qD(h=WD())&&(l.nzDropdown=h.first);}},inputs:{nzActive:"nzActive",nzDropdownMenu:"nzDropdownMenu",nzVisible:"nzVisible",nzBackdrop:[2,"nzBackdrop","nzBackdrop",Z0]},outputs:{nzVisibleChange:"nzVisibleChange"},exportAs:["nzFilterTrigger"],ngContentSelectors:xe,decls:2,vars:8,consts:[["nz-dropdown","","nzTrigger","click","nzPlacement","bottomRight",1,"ant-table-filter-trigger",3,"nzVisibleChange","nzBackdrop","nzClickHide","nzDropdownMenu","nzVisible"]],template:function(o,l){o&1&&(BD(),_i$1(0,"span",0),gh("nzVisibleChange",function(f){return l.onVisibleChange(f)}),$D(1),Kc()),o&2&&(Mh("active",l.nzActive)("ant-table-filter-open",l.nzVisible),ch("nzBackdrop",l.nzBackdrop)("nzClickHide",false)("nzDropdownMenu",l.nzDropdownMenu)("nzVisible",l.nzVisible));},dependencies:[Ci$1,vi$1],encapsulation:2})}})(),kn=(()=>{class t{cdr=C(z0);i18n=C(wn$1);destroyRef=C(at);contentTemplate=null;customFilter=false;extraTemplate=null;filterMultiple=true;listOfFilter=[];filterChange=new Le$1;locale;isChecked=false;isVisible=false;listOfParsedFilter=[];listOfChecked=[];check(e){this.filterMultiple?(this.listOfParsedFilter=this.listOfParsedFilter.map(n=>n===e?s(r({},n),{checked:!e.checked}):n),e.checked=!e.checked):this.listOfParsedFilter=this.listOfParsedFilter.map(n=>s(r({},n),{checked:n===e})),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter);}confirm(){this.isVisible=false,this.emitFilterData();}reset(){this.isVisible=false,this.listOfParsedFilter=this.parseListOfFilter(this.listOfFilter,true),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter),this.emitFilterData();}onVisibleChange(e){this.isVisible=e,e?this.listOfChecked=this.listOfParsedFilter.filter(n=>n.checked).map(n=>n.value):this.emitFilterData();}emitFilterData(){let e=this.listOfParsedFilter.filter(n=>n.checked).map(n=>n.value);o9(this.listOfChecked,e)||(this.filterMultiple?this.filterChange.emit(e):this.filterChange.emit(e.length>0?e[0]:null));}parseListOfFilter(e,n){return e.map(i=>{let o=n?false:!!i.byDefault;return {text:i.text,value:i.value,checked:o}})}getCheckedStatus(e){return e.some(n=>n.checked)}ngOnInit(){this.i18n.localeChange.pipe(Rt$1(this.destroyRef)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Table"),this.cdr.markForCheck();});}ngOnChanges(e){let{listOfFilter:n}=e;n&&this.listOfFilter&&this.listOfFilter.length&&(this.listOfParsedFilter=this.parseListOfFilter(this.listOfFilter),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter));}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=QE({type:t,selectors:[["nz-table-filter"]],hostAttrs:[1,"ant-table-filter-column"],inputs:{contentTemplate:"contentTemplate",customFilter:"customFilter",extraTemplate:"extraTemplate",filterMultiple:"filterMultiple",listOfFilter:"listOfFilter"},outputs:{filterChange:"filterChange"},features:[ly],decls:4,vars:2,consts:[["filterMenu","nzDropdownMenu"],[1,"ant-table-column-title"],[3,"ngTemplateOutlet"],[3,"nzVisibleChange","nzVisible","nzActive","nzDropdownMenu"],["nzType","filter","nzTheme","fill"],[1,"ant-table-filter-dropdown"],["nz-menu",""],["nz-menu-item","",3,"nzSelected"],[1,"ant-table-filter-dropdown-btns"],["nz-button","","nzType","link","nzSize","small",3,"click","disabled"],["nz-button","","nzType","primary","nzSize","small",3,"click"],["nz-menu-item","",3,"click","nzSelected"],["nz-radio","",3,"ngModel"],["nz-checkbox","",3,"ngModel"],["nz-radio","",3,"ngModelChange","ngModel"],["nz-checkbox","",3,"ngModelChange","ngModel"]],template:function(n,i){n&1&&(_i$1(0,"span",1),nh(1,Ri,0,0,"ng-template",2),Kc(),bD(2,Bi,13,6)(3,Ai,1,1,"ng-container",2)),n&2&&(gI(),ch("ngTemplateOutlet",i.contentTemplate),gI(),_D(i.customFilter?3:2));},dependencies:[vr,In,pt,Se$1,Ci$1,xt,Rn$1,bi$1,On,Fe$1,oe$1,n8,J6,k3,sd,zc,t7,y7],encapsulation:2})}return t})(),Ko=(()=>{class t{expand=false;spaceMode=false;expandChange=new Le$1;onHostClick(){this.spaceMode||(this.expand=!this.expand,this.expandChange.next(this.expand));}static \u0275fac=function(n){return new(n||t)};static \u0275dir=XE({type:t,selectors:[["button","nz-row-expand-button",""]],hostAttrs:[1,"ant-table-row-expand-icon"],hostVars:7,hostBindings:function(n,i){n&1&&gh("click",function(){return i.onHostClick()}),n&2&&(ph("type","button"),Mh("ant-table-row-expand-icon-expanded",!i.spaceMode&&i.expand===true)("ant-table-row-expand-icon-collapsed",!i.spaceMode&&i.expand===false)("ant-table-row-expand-icon-spaced",i.spaceMode));},inputs:{expand:"expand",spaceMode:"spaceMode"},outputs:{expandChange:"expandChange"}})}return t})(),ea=(()=>{class t{indentSize=0;static \u0275fac=function(n){return new(n||t)};static \u0275dir=XE({type:t,selectors:[["nz-row-indent"]],hostAttrs:[1,"ant-table-row-indent"],hostVars:2,hostBindings:function(n,i){n&2&&_h("padding-left",i.indentSize,"px");},inputs:{indentSize:"indentSize"}})}return t})(),Mn=(()=>{class t{listOfSelections=[];checked=false;disabled=false;indeterminate=false;label=null;showCheckbox=false;showRowSelection=false;checkedChange=new Le$1;onCheckedChange(e){this.checked=e,this.checkedChange.emit(e);}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=QE({type:t,selectors:[["nz-table-selection"]],hostAttrs:[1,"ant-table-selection"],inputs:{listOfSelections:"listOfSelections",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",label:"label",showCheckbox:"showCheckbox",showRowSelection:"showRowSelection"},outputs:{checkedChange:"checkedChange"},decls:2,vars:2,consts:[["selectionMenu","nzDropdownMenu"],["nz-checkbox","",3,"ant-table-selection-select-all-custom","ngModel","nzDisabled","nzIndeterminate"],[1,"ant-table-selection-extra"],["nz-checkbox","",3,"ngModelChange","ngModel","nzDisabled","nzIndeterminate"],["nz-dropdown","","nzPlacement","bottomLeft",1,"ant-table-selection-down",3,"nzDropdownMenu"],["nzType","down"],["nz-menu","",1,"ant-table-selection-menu"],["nz-menu-item",""],["nz-menu-item","",3,"click"]],template:function(n,i){n&1&&(bD(0,Li,1,6,"label",1),bD(1,Qi,8,1,"div",2)),n&2&&(_D(i.showCheckbox?0:-1),gI(),_D(i.showRowSelection?1:-1));},dependencies:[n8,J6,k3,Fe$1,oe$1,Ci$1,xt,Rn$1,vi$1,bi$1,pt,Se$1],encapsulation:2})}return t})(),Rn=(()=>{class t{sortDirections=["ascend","descend",null];sortOrder=null;contentTemplate=null;isUp=false;isDown=false;ngOnChanges(e){let{sortDirections:n}=e;n&&(this.isUp=this.sortDirections.indexOf("ascend")!==-1,this.isDown=this.sortDirections.indexOf("descend")!==-1);}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=QE({type:t,selectors:[["nz-table-sorters"]],hostAttrs:[1,"ant-table-column-sorters"],inputs:{sortDirections:"sortDirections",sortOrder:"sortOrder",contentTemplate:"contentTemplate"},features:[ly],decls:6,vars:5,consts:[[1,"ant-table-column-title"],[3,"ngTemplateOutlet"],[1,"ant-table-column-sorter"],[1,"ant-table-column-sorter-inner"],["nzType","caret-up",1,"ant-table-column-sorter-up",3,"active"],["nzType","caret-down",1,"ant-table-column-sorter-down",3,"active"],["nzType","caret-up",1,"ant-table-column-sorter-up"],["nzType","caret-down",1,"ant-table-column-sorter-down"]],template:function(n,i){n&1&&(_i$1(0,"span",0),nh(1,ji,0,0,"ng-template",1),Kc(),_i$1(2,"span",2)(3,"span",3),bD(4,Hi,1,2,"nz-icon",4),bD(5,Ji,1,2,"nz-icon",5),Kc()()),n&2&&(gI(),ch("ngTemplateOutlet",i.contentTemplate),gI(),Mh("ant-table-column-sorter-full",i.isDown&&i.isUp),gI(2),_D(i.isUp?4:-1),gI(),_D(i.isDown?5:-1));},dependencies:[pt,Se$1,vr],encapsulation:2})}return t})(),ta=(()=>{class t{renderer=C(XI);el=C(_r).nativeElement;nzRight=false;nzLeft=false;colspan=null;colSpan=null;changes$=new re;isAutoLeft=false;isAutoRight=false;isFixedLeft=false;isFixedRight=false;isFixed=false;setAutoLeftWidth(e){this.renderer.setStyle(this.el,"left",e);}setAutoRightWidth(e){this.renderer.setStyle(this.el,"right",e);}setIsFirstRight(e){this.setFixClass(e,"ant-table-cell-fix-right-first");}setIsLastLeft(e){this.setFixClass(e,"ant-table-cell-fix-left-last");}setFixClass(e,n){this.renderer.removeClass(this.el,n),e&&this.renderer.addClass(this.el,n);}ngOnChanges(){this.setIsFirstRight(false),this.setIsLastLeft(false),this.isAutoLeft=this.nzLeft===""||this.nzLeft===true,this.isAutoRight=this.nzRight===""||this.nzRight===true,this.isFixedLeft=this.nzLeft!==false,this.isFixedRight=this.nzRight!==false,this.isFixed=this.isFixedLeft||this.isFixedRight;let e=n=>typeof n=="string"&&n!==""?n:null;this.setAutoLeftWidth(e(this.nzLeft)),this.setAutoRightWidth(e(this.nzRight)),this.changes$.next();}static \u0275fac=function(n){return new(n||t)};static \u0275dir=XE({type:t,selectors:[["td","nzRight",""],["th","nzRight",""],["td","nzLeft",""],["th","nzLeft",""]],hostVars:6,hostBindings:function(n,i){n&2&&(_h("position",i.isFixed?"sticky":null),Mh("ant-table-cell-fix-right",i.isFixedRight)("ant-table-cell-fix-left",i.isFixedLeft));},inputs:{nzRight:"nzRight",nzLeft:"nzLeft",colspan:"colspan",colSpan:"colSpan"},features:[ly]})}return t})(),Fe=(()=>{class t{theadTemplate$=new Ln(1);tfootTemplate$=new Ln(1);tfootFixed$=new Ln(1);hasFixLeft$=new Ln(1);hasFixRight$=new Ln(1);hostWidth$=new Ln(1);columnCount$=new Ln(1);showEmpty$=new Ln(1);noResult$=new Ln(1);listOfThWidthConfigPx$=new On$1([]);tableWidthConfigPx$=new On$1([]);manualWidthConfigPx$=Fg([this.tableWidthConfigPx$,this.listOfThWidthConfigPx$]).pipe(Se(([e,n])=>e.length?e:n));listOfAutoWidthPx$=new Ln(1);listOfListOfThWidthPx$=zg(this.manualWidthConfigPx$,Fg([this.listOfAutoWidthPx$,this.manualWidthConfigPx$]).pipe(Se(([e,n])=>e.length===n.length?e.map((i,o)=>i==="0px"?n[o]||null:n[o]||i):n)));listOfMeasureColumn$=new Ln(1);listOfListOfThWidth$=this.listOfAutoWidthPx$.pipe(Se(e=>e.map(n=>parseInt(n,10))));enableAutoMeasure$=new Ln(1);setTheadTemplate(e){this.theadTemplate$.next(e);}setTfootTemplate(e){this.tfootTemplate$.next(e);}setTfootFixed(e){this.tfootFixed$.next(e);}setHasFixLeft(e){this.hasFixLeft$.next(e);}setHasFixRight(e){this.hasFixRight$.next(e);}setTableWidthConfig(e){this.tableWidthConfigPx$.next(e);}setListOfTh(e){let n=0;e.forEach(o=>{n+=o.colspan&&+o.colspan||o.colSpan&&+o.colSpan||1;});let i=e.map(o=>o.nzWidth);this.columnCount$.next(n),this.listOfThWidthConfigPx$.next(i);}setListOfMeasureColumn(e){let n=[];e.forEach(i=>{let o=i.colspan&&+i.colspan||i.colSpan&&+i.colSpan||1;for(let l=0;l<o;l++)n.push(`measure_key_${l}`);}),this.listOfMeasureColumn$.next(n);}setListOfAutoWidth(e){this.listOfAutoWidthPx$.next(e.map(n=>`${n}px`));}setShowEmpty(e){this.showEmpty$.next(e);}setNoResult(e){this.noResult$.next(e);}setScroll(e,n){let i=!!(e||n);i||this.setListOfAutoWidth([]),this.enableAutoMeasure$.next(i);}static \u0275fac=function(n){return new(n||t)};static \u0275prov=ie({token:t,factory:t.\u0275fac})}return t})(),rr=(()=>{class t{isInsideTable=!!C(Fe,{optional:true});static \u0275fac=function(n){return new(n||t)};static \u0275dir=XE({type:t,selectors:[["th",9,"nz-disable-th"],["td",9,"nz-disable-td"]],hostVars:2,hostBindings:function(n,i){n&2&&Mh("ant-table-cell",i.isInsideTable);}})}return t})(),Vt=(()=>{class t{destroyRef=C(at);pageIndex$=new On$1(1);frontPagination$=new On$1(true);pageSize$=new On$1(10);listOfData$=new On$1([]);listOfCustomColumn$=new On$1([]);pageIndexDistinct$=this.pageIndex$.pipe(Kg());pageSizeDistinct$=this.pageSize$.pipe(Kg());listOfCalcOperator$=new On$1([]);queryParams$=Fg([this.pageIndexDistinct$,this.pageSizeDistinct$,this.listOfCalcOperator$]).pipe(jl(0),om(1),Se(([e,n,i])=>({pageIndex:e,pageSize:n,sort:i.filter(o=>o.sortFn).map(o=>({key:o.key,value:o.sortOrder})),filter:i.filter(o=>o.filterFn).map(o=>({key:o.key,value:o.filterValue}))})));listOfDataAfterCalc$=Fg([this.listOfData$,this.listOfCalcOperator$]).pipe(Se(([e,n])=>{let i=[...e],o=n.filter(h=>{let{filterValue:f,filterFn:O}=h;return !(f==null||Array.isArray(f)&&f.length===0)&&typeof O=="function"});for(let h of o){let{filterFn:f,filterValue:O}=h;i=i.filter(I=>f(O,I));}let l=n.filter(h=>h.sortOrder!==null&&typeof h.sortFn=="function").sort((h,f)=>+f.sortPriority-+h.sortPriority);return n.length&&i.sort((h,f)=>{for(let O of l){let{sortFn:I,sortOrder:B}=O;if(I&&B){let K=I(h,f,B);if(K!==0)return B==="ascend"?K:-K}}return 0}),i}));listOfFrontEndCurrentPageData$=Fg([this.pageIndexDistinct$,this.pageSizeDistinct$,this.listOfDataAfterCalc$]).pipe(Rt$1(this.destroyRef),on(e=>{let[n,i,o]=e,l=i>0&&Math.ceil(o.length/i)||1;return n<=l}),Se(([e,n,i])=>n>0?i.slice((e-1)*n,e*n):i));listOfCurrentPageData$=this.frontPagination$.pipe(Gl(e=>e?this.listOfFrontEndCurrentPageData$:this.listOfDataAfterCalc$));total$=this.frontPagination$.pipe(Gl(e=>e?this.listOfDataAfterCalc$:this.listOfData$),Se(e=>e.length),Kg());updatePageSize(e){this.pageSize$.next(e);}updateFrontPagination(e){this.frontPagination$.next(e);}updatePageIndex(e){this.pageIndex$.next(e);}updateListOfData(e){this.listOfData$.next(e);}updateListOfCustomColumn(e){this.listOfCustomColumn$.next(e);}static \u0275fac=function(n){return new(n||t)};static \u0275prov=ie({token:t,factory:t.\u0275fac})}return t})();var na=(()=>{class t{nzChecked=false;nzDisabled=false;nzIndeterminate=false;nzLabel=null;nzIndentSize=0;nzShowExpand=false;nzShowCheckbox=false;nzExpand=false;nzExpandIcon=null;nzCheckedChange=new Le$1;nzExpandChange=new Le$1;isNzShowExpandChanged=false;isNzShowCheckboxChanged=false;onCheckedChange(e){this.nzChecked=e,this.nzCheckedChange.emit(e);}onExpandChange(e){this.nzExpand=e,this.nzExpandChange.emit(e);}ngOnChanges(e){let n=f=>f&&f.firstChange&&f.currentValue!==void 0,{nzExpand:i,nzChecked:o,nzShowExpand:l,nzShowCheckbox:h}=e;l&&(this.isNzShowExpandChanged=true),h&&(this.isNzShowCheckboxChanged=true),n(i)&&!this.isNzShowExpandChanged&&(this.nzShowExpand=true),n(o)&&!this.isNzShowCheckboxChanged&&(this.nzShowCheckbox=true);}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=QE({type:t,selectors:[["td","nzChecked",""],["td","nzDisabled",""],["td","nzIndeterminate",""],["td","nzIndentSize",""],["td","nzExpand",""],["td","nzShowExpand",""],["td","nzShowCheckbox",""]],hostVars:4,hostBindings:function(n,i){n&2&&Mh("ant-table-cell-with-append",i.nzShowExpand||i.nzIndentSize>0)("ant-table-selection-column",i.nzShowCheckbox);},inputs:{nzChecked:"nzChecked",nzDisabled:"nzDisabled",nzIndeterminate:"nzIndeterminate",nzLabel:"nzLabel",nzIndentSize:"nzIndentSize",nzShowExpand:[2,"nzShowExpand","nzShowExpand",Z0],nzShowCheckbox:[2,"nzShowCheckbox","nzShowCheckbox",Z0],nzExpand:[2,"nzExpand","nzExpand",Z0],nzExpandIcon:"nzExpandIcon"},outputs:{nzCheckedChange:"nzCheckedChange",nzExpandChange:"nzExpandChange"},features:[ly],ngContentSelectors:xe,decls:3,vars:2,consts:[["nz-checkbox","",3,"nzDisabled","ngModel","nzIndeterminate"],[3,"indentSize"],[3,"ngTemplateOutlet"],["nz-row-expand-button","",3,"expand","spaceMode"],["nz-row-expand-button","",3,"expandChange","expand","spaceMode"],["nz-checkbox","",3,"ngModelChange","nzDisabled","ngModel","nzIndeterminate"]],template:function(n,i){n&1&&(BD(),bD(0,Zi,3,2),bD(1,Ui,1,4,"label",0),$D(2)),n&2&&(_D(i.nzShowExpand||i.nzIndentSize>0?0:-1),gI(),_D(i.nzShowCheckbox?1:-1));},dependencies:[ea,Ko,vr,Fe$1,oe$1,n8,J6,k3],encapsulation:2})}return t})(),ia="table",En=(()=>{let t,a=[],e=[];return class Bt{static{let i=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;t=[ut()],pT(null,null,t,{kind:"field",name:"nzSortDirections",static:false,private:false,access:{has:o=>"nzSortDirections"in o,get:o=>o.nzSortDirections,set:(o,l)=>{o.nzSortDirections=l;}},metadata:i},a,e),i&&Object.defineProperty(this,Symbol.metadata,{enumerable:true,configurable:true,writable:true,value:i});}_nzModuleName=ia;nzConfigService=C(kt$1);el=C(_r).nativeElement;destroyRef=C(at);cdr=C(z0);ngZone=C(oe);manualClickOrder$=new re;calcOperatorChange$=new re;nzFilterValue=null;sortOrder=null;sortDirections=["ascend","descend",null];sortOrderChange$=new re;isNzShowSortChanged=false;isNzShowFilterChanged=false;nzColumnKey;nzFilterMultiple=true;nzSortOrder=null;nzSortPriority=false;nzSortDirections=hT(this,a,["ascend","descend",null]);nzFilters=(hT(this,e),[]);nzSortFn=null;nzFilterFn=null;nzShowSort=false;nzShowFilter=false;nzCustomFilter=false;nzCheckedChange=new Le$1;nzSortOrderChange=new Le$1;nzFilterChange=new Le$1;getNextSortDirection(i,o){let l=i.indexOf(o);return l===i.length-1?i[0]:i[l+1]}setSortOrder(i){this.sortOrderChange$.next(i);}clearSortOrder(){this.sortOrder!==null&&this.setSortOrder(null);}onFilterValueChange(i){this.nzFilterChange.emit(i),this.nzFilterValue=i,this.updateCalcOperator();}updateCalcOperator(){this.calcOperatorChange$.next();}ngOnInit(){St(this.el,"click").pipe(on(()=>this.nzShowSort),Rt$1(this.destroyRef)).subscribe(()=>{let i=this.getNextSortDirection(this.sortDirections,this.sortOrder);this.ngZone.run(()=>{this.setSortOrder(i),this.manualClickOrder$.next(this);});}),this.sortOrderChange$.pipe(Rt$1(this.destroyRef)).subscribe(i=>{this.sortOrder!==i&&(this.sortOrder=i,this.nzSortOrderChange.emit(i)),this.updateCalcOperator(),this.cdr.markForCheck();});}ngOnChanges(i){let{nzSortDirections:o,nzFilters:l,nzSortOrder:h,nzSortFn:f,nzFilterFn:O,nzSortPriority:I,nzFilterMultiple:B,nzShowSort:K,nzShowFilter:ue}=i;o&&this.nzSortDirections&&this.nzSortDirections.length&&(this.sortDirections=this.nzSortDirections),h&&(this.sortOrder=this.nzSortOrder,this.setSortOrder(this.nzSortOrder)),K&&(this.isNzShowSortChanged=true),ue&&(this.isNzShowFilterChanged=true);let ie=me=>me&&me.firstChange&&me.currentValue!==void 0;if((ie(h)||ie(f))&&!this.isNzShowSortChanged&&(this.nzShowSort=true),ie(l)&&!this.isNzShowFilterChanged&&(this.nzShowFilter=true),(l||B)&&this.nzShowFilter){let me=this.nzFilters.filter(T=>T.byDefault).map(T=>T.value);this.nzFilterValue=this.nzFilterMultiple?me:me[0]||null;}(f||O||I||l)&&this.updateCalcOperator();}static \u0275fac=function(o){return new(o||Bt)};static \u0275cmp=QE({type:Bt,selectors:[["th","nzColumnKey",""],["th","nzSortFn",""],["th","nzSortOrder",""],["th","nzFilters",""],["th","nzShowSort",""],["th","nzShowFilter",""],["th","nzCustomFilter",""]],hostVars:4,hostBindings:function(o,l){o&2&&Mh("ant-table-column-has-sorters",l.nzShowSort)("ant-table-column-sort",l.sortOrder==="descend"||l.sortOrder==="ascend");},inputs:{nzColumnKey:"nzColumnKey",nzFilterMultiple:"nzFilterMultiple",nzSortOrder:"nzSortOrder",nzSortPriority:"nzSortPriority",nzSortDirections:"nzSortDirections",nzFilters:"nzFilters",nzSortFn:"nzSortFn",nzFilterFn:"nzFilterFn",nzShowSort:[2,"nzShowSort","nzShowSort",Z0],nzShowFilter:[2,"nzShowFilter","nzShowFilter",Z0],nzCustomFilter:[2,"nzCustomFilter","nzCustomFilter",Z0]},outputs:{nzCheckedChange:"nzCheckedChange",nzSortOrderChange:"nzSortOrderChange",nzFilterChange:"nzFilterChange"},features:[ly],ngContentSelectors:Ki,decls:10,vars:1,consts:[["notFilterTemplate",""],["extraTemplate",""],["sortTemplate",""],["contentTemplate",""],[3,"contentTemplate","extraTemplate","customFilter","filterMultiple","listOfFilter"],[3,"ngTemplateOutlet"],[3,"filterChange","contentTemplate","extraTemplate","customFilter","filterMultiple","listOfFilter"],[3,"sortOrder","sortDirections","contentTemplate"]],template:function(o,l){o&1&&(BD(Gi),bD(0,eo,1,5,"nz-table-filter",4)(1,to,1,1,"ng-container",5),nh(2,io,1,1,"ng-template",null,0,Lw)(4,oo,2,0,"ng-template",null,1,Lw)(6,ao,1,3,"ng-template",null,2,Lw)(8,lo,1,0,"ng-template",null,3,Lw)),o&2&&_D(l.nzShowFilter||l.nzCustomFilter?0:1);},dependencies:[kn,vr,Rn],encapsulation:2})}})(),oa=(()=>{class t{renderer=C(XI);el=C(_r).nativeElement;changes$=new re;nzWidth=null;colspan=null;colSpan=null;rowspan=null;rowSpan=null;ngOnChanges(e){let{nzWidth:n,colspan:i,rowspan:o,colSpan:l,rowSpan:h}=e;if(i||l){let f=this.colspan||this.colSpan;a9(f)?this.renderer.removeAttribute(this.el,"colspan"):this.renderer.setAttribute(this.el,"colspan",`${f}`);}if(o||h){let f=this.rowspan||this.rowSpan;a9(f)?this.renderer.removeAttribute(this.el,"rowspan"):this.renderer.setAttribute(this.el,"rowspan",`${f}`);}(n||i)&&this.changes$.next();}static \u0275fac=function(n){return new(n||t)};static \u0275dir=XE({type:t,selectors:[["th"]],inputs:{nzWidth:"nzWidth",colspan:"colspan",colSpan:"colSpan",rowspan:"rowspan",rowSpan:"rowSpan"},features:[ly]})}return t})(),aa=(()=>{class t{nzSelections=[];nzChecked=false;nzDisabled=false;nzIndeterminate=false;nzLabel=null;nzShowCheckbox=false;nzShowRowSelection=false;nzCheckedChange=new Le$1;isNzShowExpandChanged=false;isNzShowCheckboxChanged=false;onCheckedChange(e){this.nzChecked=e,this.nzCheckedChange.emit(e);}ngOnChanges(e){let n=f=>f&&f.firstChange&&f.currentValue!==void 0,{nzChecked:i,nzSelections:o,nzShowExpand:l,nzShowCheckbox:h}=e;l&&(this.isNzShowExpandChanged=true),h&&(this.isNzShowCheckboxChanged=true),n(o)&&!this.isNzShowExpandChanged&&(this.nzShowRowSelection=true),n(i)&&!this.isNzShowCheckboxChanged&&(this.nzShowCheckbox=true);}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=QE({type:t,selectors:[["th","nzSelections",""],["th","nzChecked",""],["th","nzShowCheckbox",""],["th","nzShowRowSelection",""]],hostAttrs:[1,"ant-table-selection-column"],inputs:{nzSelections:"nzSelections",nzChecked:[2,"nzChecked","nzChecked",Z0],nzDisabled:[2,"nzDisabled","nzDisabled",Z0],nzIndeterminate:"nzIndeterminate",nzLabel:"nzLabel",nzShowCheckbox:[2,"nzShowCheckbox","nzShowCheckbox",Z0],nzShowRowSelection:[2,"nzShowRowSelection","nzShowRowSelection",Z0]},outputs:{nzCheckedChange:"nzCheckedChange"},features:[ly],ngContentSelectors:xe,decls:2,vars:7,consts:[[3,"checkedChange","checked","disabled","indeterminate","label","listOfSelections","showCheckbox","showRowSelection"]],template:function(n,i){n&1&&(BD(),_i$1(0,"nz-table-selection",0),gh("checkedChange",function(l){return i.onCheckedChange(l)}),Kc(),$D(1)),n&2&&ch("checked",i.nzChecked)("disabled",i.nzDisabled)("indeterminate",i.nzIndeterminate)("label",i.nzLabel)("listOfSelections",i.nzSelections)("showCheckbox",i.nzShowCheckbox)("showRowSelection",i.nzShowRowSelection);},dependencies:[Mn],encapsulation:2})}return t})();var $n=(()=>{class t{tableLayout="auto";theadTemplate=null;contentTemplate=null;tfootTemplate=null;listOfColWidth=[];scrollX=null;static \u0275fac=function(n){return new(n||t)};static \u0275cmp=QE({type:t,selectors:[["table","nz-table-content",""]],hostVars:8,hostBindings:function(n,i){n&2&&(_h("table-layout",i.tableLayout)("width",i.scrollX)("min-width",i.scrollX?"100%":null),Mh("ant-table-fixed",i.scrollX));},inputs:{tableLayout:"tableLayout",theadTemplate:"theadTemplate",contentTemplate:"contentTemplate",tfootTemplate:"tfootTemplate",listOfColWidth:"listOfColWidth",scrollX:"scrollX"},ngContentSelectors:xe,decls:5,vars:4,consts:[[1,"ant-table-thead"],[3,"ngTemplateOutlet"],[1,"ant-table-summary"],[3,"width","minWidth"]],template:function(n,i){n&1&&(BD(),bD(0,so,3,0,"colgroup"),bD(1,po,2,1,"thead",0),nh(2,uo,0,0,"ng-template",1),$D(3),bD(4,ho,2,1,"tfoot",2)),n&2&&(_D(i.listOfColWidth.length>0?0:-1),gI(),_D(i.theadTemplate?1:-1),gI(),ch("ngTemplateOutlet",i.contentTemplate),gI(2),_D(i.tfootTemplate?4:-1));},dependencies:[vr],encapsulation:2})}return t})(),la=(()=>{class t{nzTableStyleService=C(Fe);renderer=C(XI);destroyRef=C(at);tdElement;hostWidth$=new On$1(null);enableAutoMeasure$=new On$1(false);ngOnInit(){if(this.nzTableStyleService){let{enableAutoMeasure$:e,hostWidth$:n}=this.nzTableStyleService;e.pipe(Rt$1(this.destroyRef)).subscribe(this.enableAutoMeasure$),n.pipe(Rt$1(this.destroyRef)).subscribe(this.hostWidth$);}}ngAfterViewInit(){this.nzTableStyleService.columnCount$.pipe(Rt$1(this.destroyRef)).subscribe(e=>{this.renderer.setAttribute(this.tdElement.nativeElement,"colspan",`${e}`);});}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=QE({type:t,selectors:[["tr","nz-table-fixed-row",""],["tr","nzExpand",""]],viewQuery:function(n,i){if(n&1&&Ih(Fn,7),n&2){let o;qD(o=WD())&&(i.tdElement=o.first);}},ngContentSelectors:xe,decls:7,vars:3,consts:[["tdElement",""],["contentTemplate",""],[1,"nz-disable-td","ant-table-cell"],[1,"ant-table-expanded-row-fixed",2,"position","sticky","left","0","overflow","hidden",3,"width"],[3,"ngTemplateOutlet"],[1,"ant-table-expanded-row-fixed",2,"position","sticky","left","0","overflow","hidden"]],template:function(n,i){n&1&&(BD(),_i$1(0,"td",2,0),bD(2,fo,3,5,"div",3),Rw(3,"async"),Yc(4,Co,1,1,null,4),Kc(),nh(5,_o,1,0,"ng-template",null,1,Lw)),n&2&&(gI(2),_D(Ow(3,1,i.enableAutoMeasure$)?2:4));},dependencies:[vr,Sr],encapsulation:2})}return t})(),ra=(()=>{class t{tableLayout="auto";listOfColWidth=[];theadTemplate=null;contentTemplate=null;tfootTemplate=null;static \u0275fac=function(n){return new(n||t)};static \u0275cmp=QE({type:t,selectors:[["nz-table-inner-default"]],hostAttrs:[1,"ant-table-container"],inputs:{tableLayout:"tableLayout",listOfColWidth:"listOfColWidth",theadTemplate:"theadTemplate",contentTemplate:"contentTemplate",tfootTemplate:"tfootTemplate"},decls:2,vars:5,consts:[[1,"ant-table-content"],["nz-table-content","",3,"contentTemplate","tableLayout","listOfColWidth","theadTemplate","tfootTemplate"]],template:function(n,i){n&1&&(_i$1(0,"div",0),lh(1,"table",1),Kc()),n&2&&(gI(),ch("contentTemplate",i.contentTemplate)("tableLayout",i.tableLayout)("listOfColWidth",i.listOfColWidth)("theadTemplate",i.theadTemplate)("tfootTemplate",i.tfootTemplate));},dependencies:[$n],encapsulation:2})}return t})(),sa=(()=>{class t{nzResizeObserver=C(Rt);ngZone=C(oe);destroyRef=C(at);listOfMeasureColumn=[];listOfAutoWidth=new Le$1;listOfTdElement;ngAfterViewInit(){this.listOfTdElement.changes.pipe(Wl(this.listOfTdElement)).pipe(Gl(e=>Fg(e.toArray().map(n=>this.nzResizeObserver.observe(n).pipe(Se(([i])=>{let{width:o}=i.target.getBoundingClientRect();return Math.floor(o)}))))),jl(16),Rt$1(this.destroyRef)).subscribe(e=>{this.ngZone instanceof oe&&oe.isInAngularZone()?this.listOfAutoWidth.next(e):this.ngZone.run(()=>this.listOfAutoWidth.next(e));});}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=QE({type:t,selectors:[["tr","nz-table-measure-row",""]],viewQuery:function(n,i){if(n&1&&Ih(Fn,5),n&2){let o;qD(o=WD())&&(i.listOfTdElement=o);}},hostAttrs:[1,"ant-table-measure-now"],inputs:{listOfMeasureColumn:"listOfMeasureColumn"},outputs:{listOfAutoWidth:"listOfAutoWidth"},decls:2,vars:0,consts:[["tdElement",""],[1,"nz-disable-td",2,"padding","0","border","0","height","0"]],template:function(n,i){n&1&&ND(0,So,2,0,"td",1,MD),n&2&&xD(i.listOfMeasureColumn);},encapsulation:2})}return t})(),Vn=(()=>{class t{showEmpty$=new On$1(false);noResult$=new On$1(void 0);listOfMeasureColumn$=new On$1([]);nzTableStyleService=C(Fe,{optional:true});isInsideTable=!!this.nzTableStyleService;constructor(){if(this.nzTableStyleService){let{showEmpty$:e,noResult$:n,listOfMeasureColumn$:i}=this.nzTableStyleService;n.pipe(Rt$1()).subscribe(this.noResult$),i.pipe(Rt$1()).subscribe(this.listOfMeasureColumn$),e.pipe(Rt$1()).subscribe(this.showEmpty$);}}onListOfAutoWidthChange(e){this.nzTableStyleService?.setListOfAutoWidth(e);}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=QE({type:t,selectors:[["tbody"]],hostVars:2,hostBindings:function(n,i){n&2&&Mh("ant-table-tbody",i.isInsideTable);},ngContentSelectors:xe,decls:5,vars:6,consts:[["nz-table-fixed-row","",1,"ant-table-placeholder"],["nz-table-measure-row","",3,"listOfMeasureColumn"],["nz-table-measure-row","",3,"listOfAutoWidth","listOfMeasureColumn"],["nzComponentName","table",3,"specificContent"]],template:function(n,i){if(n&1&&(BD(),bD(0,xo,1,1),Rw(1,"async"),$D(2),bD(3,To,3,3,"tr",0),Rw(4,"async")),n&2){let o;_D((o=Ow(1,2,i.listOfMeasureColumn$))?0:-1,o),gI(3),_D(Ow(4,4,i.showEmpty$)?3:-1);}},dependencies:[sa,la,Ri$1,xn$1,Sr],encapsulation:2})}return t})(),At=(()=>{class t{renderer=C(XI);ngZone=C(oe);platform=C(J);resizeService=C(R);destroyRef=C(at);data=[];scrollX=null;scrollY=null;contentTemplate=null;widthConfig=[];listOfColWidth=[];theadTemplate=null;tfootTemplate=null;tfootFixed=null;virtualTemplate=null;virtualItemSize=0;virtualMaxBufferPx=200;virtualMinBufferPx=100;tableMainElement;virtualForTrackBy=e=>e;tableHeaderElement;tableBodyElement;tableFootElement;cdkVirtualScrollViewport;headerStyleMap={};bodyStyleMap={};verticalScrollBarWidth=0;noDataVirtualHeight="182px";data$=new re;scroll$=new re;setScrollPositionClassName(e=false){let{scrollWidth:n,scrollLeft:i,clientWidth:o}=this.tableBodyElement.nativeElement,l="ant-table-ping-left",h="ant-table-ping-right";n===o&&n!==0||e?(this.renderer.removeClass(this.tableMainElement,l),this.renderer.removeClass(this.tableMainElement,h)):i===0?(this.renderer.removeClass(this.tableMainElement,l),this.renderer.addClass(this.tableMainElement,h)):n===i+o?(this.renderer.removeClass(this.tableMainElement,h),this.renderer.addClass(this.tableMainElement,l)):(this.renderer.addClass(this.tableMainElement,l),this.renderer.addClass(this.tableMainElement,h));}constructor(){this.destroyRef.onDestroy(()=>{this.setScrollPositionClassName(true);});}ngOnChanges(e){let{scrollX:n,scrollY:i,data:o}=e;if(n||i){let l=this.verticalScrollBarWidth!==0;this.headerStyleMap={overflowX:"hidden",overflowY:this.scrollY&&l?"scroll":"hidden"},this.bodyStyleMap={overflowY:this.scrollY?"scroll":"hidden",overflowX:this.scrollX?"auto":null,maxHeight:this.scrollY},this.ngZone.runOutsideAngular(()=>this.scroll$.next());}o&&this.ngZone.runOutsideAngular(()=>this.data$.next());}ngAfterViewInit(){if(this.platform.isBrowser){let e=this.scroll$.pipe(Wl(null),Yg(0),Gl(()=>St(this.tableBodyElement.nativeElement,"scroll").pipe(Wl(true)))),n=this.resizeService.connect();zg(e,n,this.data$,this.scroll$).pipe(Wl(true),Yg(0),Rt$1(this.destroyRef)).subscribe(()=>this.setScrollPositionClassName()),e.pipe(on(()=>!!this.scrollY)).subscribe(()=>{this.tableHeaderElement.nativeElement.scrollLeft=this.tableBodyElement.nativeElement.scrollLeft,this.tableFootElement&&(this.tableFootElement.nativeElement.scrollLeft=this.tableBodyElement.nativeElement.scrollLeft);});}}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=QE({type:t,selectors:[["nz-table-inner-scroll"]],viewQuery:function(n,i){if(n&1&&Ih(vo,5,_r)(yo,5,_r)(wo,5,_r)(W1,5,W1),n&2){let o;qD(o=WD())&&(i.tableHeaderElement=o.first),qD(o=WD())&&(i.tableBodyElement=o.first),qD(o=WD())&&(i.tableFootElement=o.first),qD(o=WD())&&(i.cdkVirtualScrollViewport=o.first);}},hostAttrs:[1,"ant-table-container"],inputs:{data:"data",scrollX:"scrollX",scrollY:"scrollY",contentTemplate:"contentTemplate",widthConfig:"widthConfig",listOfColWidth:"listOfColWidth",theadTemplate:"theadTemplate",tfootTemplate:"tfootTemplate",tfootFixed:"tfootFixed",virtualTemplate:"virtualTemplate",virtualItemSize:"virtualItemSize",virtualMaxBufferPx:"virtualMaxBufferPx",virtualMinBufferPx:"virtualMinBufferPx",tableMainElement:"tableMainElement",virtualForTrackBy:"virtualForTrackBy",verticalScrollBarWidth:"verticalScrollBarWidth",noDataVirtualHeight:"noDataVirtualHeight"},features:[ly],decls:2,vars:1,consts:[["tableHeaderElement",""],["tableBodyElement",""],["tableFootElement",""],[1,"ant-table-content",3,"style"],[1,"ant-table-header","nz-table-hide-scrollbar"],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","theadTemplate","tfootTemplate"],["cdkScrollable","",1,"ant-table-body",3,"style"],[3,"itemSize","maxBufferPx","minBufferPx","height"],[1,"ant-table-summary",3,"style"],["cdkScrollable","",1,"ant-table-body"],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","contentTemplate"],[3,"itemSize","maxBufferPx","minBufferPx"],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth"],[4,"cdkVirtualFor","cdkVirtualForOf","cdkVirtualForTrackBy"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-table-summary"],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","tfootTemplate"],[1,"ant-table-content"],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","theadTemplate","contentTemplate","tfootTemplate"]],template:function(n,i){n&1&&bD(0,ko,6,8)(1,Mo,3,7,"div",3),n&2&&_D(i.scrollY?0:1);},dependencies:[$n,rn,on$1,nn,an,W1,vr,Vn],encapsulation:2})}return t})(),da=(()=>{class t{templateRef=C(Er);static ngTemplateContextGuard(e,n){return true}static \u0275fac=function(n){return new(n||t)};static \u0275dir=XE({type:t,selectors:[["","nz-virtual-scroll",""]],exportAs:["nzVirtualScroll"]})}return t})(),Bn=(()=>{class t{title=null;footer=null;static \u0275fac=function(n){return new(n||t)};static \u0275cmp=QE({type:t,selectors:[["nz-table-title-footer"]],hostVars:4,hostBindings:function(n,i){n&2&&Mh("ant-table-title",i.title!==null)("ant-table-footer",i.footer!==null);},inputs:{title:"title",footer:"footer"},decls:2,vars:2,consts:[[4,"nzStringTemplateOutlet"]],template:function(n,i){n&1&&nh(0,Ro,2,1,"ng-container",0)(1,Eo,2,1,"ng-container",0),n&2&&(ch("nzStringTemplateOutlet",i.title),gI(),ch("nzStringTemplateOutlet",i.footer));},dependencies:[Tt,Ie$1],encapsulation:2})}return t})(),Nn="table",ca=(()=>{let t,a=[],e=[],n,i=[],o=[],l,h=[],f=[],O,I=[],B=[],K,ue=[],ie=[],me,T=[],z=[],g,Te=[],re=[];return class Lt{static{let M=typeof Symbol=="function"&&Symbol.metadata?Object.create(null):void 0;t=[ut()],n=[ut()],l=[ut()],O=[ut()],K=[ut()],me=[ut()],g=[ut()],pT(null,null,t,{kind:"field",name:"nzLoadingIndicator",static:false,private:false,access:{has:u=>"nzLoadingIndicator"in u,get:u=>u.nzLoadingIndicator,set:(u,_)=>{u.nzLoadingIndicator=_;}},metadata:M},a,e),pT(null,null,n,{kind:"field",name:"nzBordered",static:false,private:false,access:{has:u=>"nzBordered"in u,get:u=>u.nzBordered,set:(u,_)=>{u.nzBordered=_;}},metadata:M},i,o),pT(null,null,l,{kind:"field",name:"nzSize",static:false,private:false,access:{has:u=>"nzSize"in u,get:u=>u.nzSize,set:(u,_)=>{u.nzSize=_;}},metadata:M},h,f),pT(null,null,O,{kind:"field",name:"nzShowSizeChanger",static:false,private:false,access:{has:u=>"nzShowSizeChanger"in u,get:u=>u.nzShowSizeChanger,set:(u,_)=>{u.nzShowSizeChanger=_;}},metadata:M},I,B),pT(null,null,K,{kind:"field",name:"nzHideOnSinglePage",static:false,private:false,access:{has:u=>"nzHideOnSinglePage"in u,get:u=>u.nzHideOnSinglePage,set:(u,_)=>{u.nzHideOnSinglePage=_;}},metadata:M},ue,ie),pT(null,null,me,{kind:"field",name:"nzShowQuickJumper",static:false,private:false,access:{has:u=>"nzShowQuickJumper"in u,get:u=>u.nzShowQuickJumper,set:(u,_)=>{u.nzShowQuickJumper=_;}},metadata:M},T,z),pT(null,null,g,{kind:"field",name:"nzSimple",static:false,private:false,access:{has:u=>"nzSimple"in u,get:u=>u.nzSimple,set:(u,_)=>{u.nzSimple=_;}},metadata:M},Te,re),M&&Object.defineProperty(this,Symbol.metadata,{enumerable:true,configurable:true,writable:true,value:M});}_nzModuleName=Nn;elementRef=C(_r);nzResizeObserver=C(Rt);cdr=C(z0);nzTableStyleService=C(Fe);nzTableDataService=C(Vt);dir=C(Le).valueSignal;destroyRef=C(at);nzTableLayout="auto";nzShowTotal=null;nzItemRender=null;nzTitle=null;nzFooter=null;nzNoResult=void 0;nzPageSizeOptions=[10,20,30,40,50];nzVirtualItemSize=0;nzVirtualMaxBufferPx=200;nzVirtualMinBufferPx=100;nzVirtualForTrackBy=M=>M;nzLoadingDelay=0;nzPageIndex=1;nzPageSize=10;nzTotal=0;nzWidthConfig=[];nzData=[];nzCustomColumn=[];nzPaginationPosition="bottom";nzScroll={x:null,y:null};noDataVirtualHeight="182px";nzPaginationType="default";nzFrontPagination=true;nzTemplateMode=false;nzShowPagination=true;nzLoading=false;nzOuterBordered=false;nzLoadingIndicator=hT(this,a,null);nzBordered=(hT(this,e),hT(this,i,false));nzSize=(hT(this,o),hT(this,h,"default"));nzShowSizeChanger=(hT(this,f),hT(this,I,false));nzHideOnSinglePage=(hT(this,B),hT(this,ue,false));nzShowQuickJumper=(hT(this,ie),hT(this,T,false));nzSimple=(hT(this,z),hT(this,Te,false));nzPageSizeChange=(hT(this,re),new Le$1);nzPageIndexChange=new Le$1;nzQueryParams=new Le$1;nzCurrentPageDataChange=new Le$1;nzCustomColumnChange=new Le$1;data=[];cdkVirtualScrollViewport;scrollX=null;scrollY=null;theadTemplate=null;tfootTemplate=null;tfootFixed=null;listOfAutoColWidth=[];listOfManualColWidth=[];hasFixLeft=false;hasFixRight=false;showPagination=true;templateMode$=new On$1(false);nzVirtualScrollDirective;nzTableInnerScrollComponent;verticalScrollBarWidth=0;onPageSizeChange(M){this.nzTableDataService.updatePageSize(M);}onPageIndexChange(M){this.nzTableDataService.updatePageIndex(M);}constructor(){Vt$1(Nn,()=>this.cdr.markForCheck());}ngOnInit(){let{pageIndexDistinct$:M,pageSizeDistinct$:u,listOfCurrentPageData$:_,total$:he,queryParams$:Ie,listOfCustomColumn$:ut}=this.nzTableDataService,{theadTemplate$:mt,tfootTemplate$:ht,tfootFixed$:zt,hasFixLeft$:ft,hasFixRight$:An}=this.nzTableStyleService;Ie.pipe(Rt$1(this.destroyRef)).subscribe(this.nzQueryParams),M.pipe(Rt$1(this.destroyRef)).subscribe(v=>{v!==this.nzPageIndex&&(this.nzPageIndex=v,this.nzPageIndexChange.next(v));}),u.pipe(Rt$1(this.destroyRef)).subscribe(v=>{v!==this.nzPageSize&&(this.nzPageSize=v,this.nzPageSizeChange.next(v));}),he.pipe(Rt$1(this.destroyRef),on(v=>this.nzFrontPagination&&v!==this.nzTotal)).subscribe(v=>{this.nzTotal=v,this.cdr.markForCheck();}),_.pipe(Rt$1(this.destroyRef)).subscribe(v=>{this.data=v,this.nzCurrentPageDataChange.next(v),this.cdr.markForCheck();}),ut.pipe(Rt$1(this.destroyRef)).subscribe(v=>{this.nzCustomColumn=v,this.nzCustomColumnChange.next(v),this.cdr.markForCheck();}),mt.pipe(Rt$1(this.destroyRef)).subscribe(v=>{this.theadTemplate=v,this.cdr.markForCheck();}),Fg([ht,zt]).pipe(Rt$1(this.destroyRef)).subscribe(([v,gt])=>{this.tfootTemplate=v,this.tfootFixed=gt,this.cdr.markForCheck();}),ft.pipe(Rt$1(this.destroyRef)).subscribe(v=>{this.hasFixLeft=v,this.cdr.markForCheck();}),An.pipe(Rt$1(this.destroyRef)).subscribe(v=>{this.hasFixRight=v,this.cdr.markForCheck();}),Fg([he,this.templateMode$]).pipe(Se(([v,gt])=>v===0&&!gt),Rt$1(this.destroyRef)).subscribe(v=>{this.nzTableStyleService.setShowEmpty(v);}),this.verticalScrollBarWidth=d9("vertical"),this.nzTableStyleService.listOfListOfThWidthPx$.pipe(Rt$1(this.destroyRef)).subscribe(v=>{this.listOfAutoColWidth=v,this.cdr.markForCheck();}),this.nzTableStyleService.manualWidthConfigPx$.pipe(Rt$1(this.destroyRef)).subscribe(v=>{this.listOfManualColWidth=v,this.cdr.markForCheck();});}ngOnChanges(M){let{nzScroll:u,nzPageIndex:_,nzPageSize:he,nzFrontPagination:Ie,nzData:ut,nzCustomColumn:mt,nzWidthConfig:ht,nzNoResult:zt,nzTemplateMode:ft}=M;_&&this.nzTableDataService.updatePageIndex(this.nzPageIndex),he&&this.nzTableDataService.updatePageSize(this.nzPageSize),ut&&(this.nzData=this.nzData||[],this.nzTableDataService.updateListOfData(this.nzData)),mt&&(this.nzCustomColumn=this.nzCustomColumn||[],this.nzTableDataService.updateListOfCustomColumn(this.nzCustomColumn)),Ie&&this.nzTableDataService.updateFrontPagination(this.nzFrontPagination),u&&this.setScrollOnChanges(),ht&&this.nzTableStyleService.setTableWidthConfig(this.nzWidthConfig),ft&&this.templateMode$.next(this.nzTemplateMode),zt&&this.nzTableStyleService.setNoResult(this.nzNoResult),this.updateShowPagination();}ngAfterViewInit(){this.nzResizeObserver.observe(this.elementRef).pipe(Se(([M])=>{let{width:u}=M.target.getBoundingClientRect(),_=this.scrollY?this.verticalScrollBarWidth:0;return Math.floor(u-_)}),Rt$1(this.destroyRef)).subscribe(this.nzTableStyleService.hostWidth$),this.nzTableInnerScrollComponent&&this.nzTableInnerScrollComponent.cdkVirtualScrollViewport&&(this.cdkVirtualScrollViewport=this.nzTableInnerScrollComponent.cdkVirtualScrollViewport);}setScrollOnChanges(){this.scrollX=this.nzScroll&&this.nzScroll.x||null,this.scrollY=this.nzScroll&&this.nzScroll.y||null,this.nzTableStyleService.setScroll(this.scrollX,this.scrollY);}updateShowPagination(){this.showPagination=this.nzHideOnSinglePage&&this.nzData.length>this.nzPageSize||this.nzData.length>0&&!this.nzHideOnSinglePage||!this.nzFrontPagination&&this.nzTotal>this.nzPageSize;}static \u0275fac=function(u){return new(u||Lt)};static \u0275cmp=QE({type:Lt,selectors:[["nz-table"]],contentQueries:function(u,_,he){if(u&1&&vh(he,da,5),u&2){let Ie;qD(Ie=WD())&&(_.nzVirtualScrollDirective=Ie.first);}},viewQuery:function(u,_){if(u&1&&Ih(At,5),u&2){let he;qD(he=WD())&&(_.nzTableInnerScrollComponent=he.first);}},hostAttrs:[1,"ant-table-wrapper"],hostVars:4,hostBindings:function(u,_){u&2&&Mh("ant-table-wrapper-rtl",_.dir()==="rtl")("ant-table-custom-column",_.nzCustomColumn.length);},inputs:{nzTableLayout:"nzTableLayout",nzShowTotal:"nzShowTotal",nzItemRender:"nzItemRender",nzTitle:"nzTitle",nzFooter:"nzFooter",nzNoResult:"nzNoResult",nzPageSizeOptions:"nzPageSizeOptions",nzVirtualItemSize:"nzVirtualItemSize",nzVirtualMaxBufferPx:"nzVirtualMaxBufferPx",nzVirtualMinBufferPx:"nzVirtualMinBufferPx",nzVirtualForTrackBy:"nzVirtualForTrackBy",nzLoadingDelay:"nzLoadingDelay",nzPageIndex:"nzPageIndex",nzPageSize:"nzPageSize",nzTotal:"nzTotal",nzWidthConfig:"nzWidthConfig",nzData:"nzData",nzCustomColumn:"nzCustomColumn",nzPaginationPosition:"nzPaginationPosition",nzScroll:"nzScroll",noDataVirtualHeight:"noDataVirtualHeight",nzPaginationType:"nzPaginationType",nzFrontPagination:[2,"nzFrontPagination","nzFrontPagination",Z0],nzTemplateMode:[2,"nzTemplateMode","nzTemplateMode",Z0],nzShowPagination:[2,"nzShowPagination","nzShowPagination",Z0],nzLoading:[2,"nzLoading","nzLoading",Z0],nzOuterBordered:[2,"nzOuterBordered","nzOuterBordered",Z0],nzLoadingIndicator:"nzLoadingIndicator",nzBordered:[2,"nzBordered","nzBordered",Z0],nzSize:"nzSize",nzShowSizeChanger:[2,"nzShowSizeChanger","nzShowSizeChanger",Z0],nzHideOnSinglePage:[2,"nzHideOnSinglePage","nzHideOnSinglePage",Z0],nzShowQuickJumper:[2,"nzShowQuickJumper","nzShowQuickJumper",Z0],nzSimple:[2,"nzSimple","nzSimple",Z0]},outputs:{nzPageSizeChange:"nzPageSizeChange",nzPageIndexChange:"nzPageIndexChange",nzQueryParams:"nzQueryParams",nzCurrentPageDataChange:"nzCurrentPageDataChange",nzCustomColumnChange:"nzCustomColumnChange"},exportAs:["nzTable"],features:[Sw([Fe,Vt]),ly],ngContentSelectors:xe,decls:13,vars:26,consts:[["tableMainElement",""],["paginationTemplate",""],["contentTemplate",""],[3,"nzDelay","nzSpinning","nzIndicator"],[3,"ngTemplateOutlet"],[1,"ant-table"],[3,"title"],[3,"data","scrollX","scrollY","contentTemplate","listOfColWidth","theadTemplate","tfootTemplate","tfootFixed","verticalScrollBarWidth","virtualTemplate","virtualItemSize","virtualMaxBufferPx","virtualMinBufferPx","tableMainElement","virtualForTrackBy","noDataVirtualHeight"],[3,"tableLayout","listOfColWidth","theadTemplate","contentTemplate","tfootTemplate"],[3,"footer"],[1,"ant-table-pagination","ant-table-pagination-right",3,"hidden","nzShowSizeChanger","nzPageSizeOptions","nzItemRender","nzShowQuickJumper","nzHideOnSinglePage","nzShowTotal","nzSize","nzPageSize","nzTotal","nzSimple","nzPageIndex"],[1,"ant-table-pagination","ant-table-pagination-right",3,"nzPageSizeChange","nzPageIndexChange","hidden","nzShowSizeChanger","nzPageSizeOptions","nzItemRender","nzShowQuickJumper","nzHideOnSinglePage","nzShowTotal","nzSize","nzPageSize","nzTotal","nzSimple","nzPageIndex"]],template:function(u,_){u&1&&(BD(),_i$1(0,"nz-spin",3),bD(1,Vo,1,1,null,4),_i$1(2,"div",5,0),bD(4,Bo,1,1,"nz-table-title-footer",6),bD(5,Ao,1,16,"nz-table-inner-scroll",7)(6,Lo,1,5,"nz-table-inner-default",8),bD(7,Wo,1,1,"nz-table-title-footer",9),Kc(),bD(8,jo,1,1,null,4),Kc(),nh(9,Jo,1,1,"ng-template",null,1,Lw)(11,Xo,1,0,"ng-template",null,2,Lw)),u&2&&(ch("nzDelay",_.nzLoadingDelay)("nzSpinning",_.nzLoading)("nzIndicator",_.nzLoadingIndicator),gI(),_D(_.nzPaginationPosition==="both"||_.nzPaginationPosition==="top"?1:-1),gI(),Mh("ant-table-rtl",_.dir()==="rtl")("ant-table-fixed-header",_.nzData.length&&_.scrollY)("ant-table-fixed-column",_.scrollX)("ant-table-has-fix-left",_.hasFixLeft)("ant-table-has-fix-right",_.hasFixRight)("ant-table-bordered",_.nzBordered)("nz-table-out-bordered",_.nzOuterBordered&&!_.nzBordered)("ant-table-middle",_.nzSize==="middle")("ant-table-small",_.nzSize==="small"),gI(2),_D(_.nzTitle?4:-1),gI(),_D(_.scrollY||_.scrollX?5:6),gI(2),_D(_.nzFooter?7:-1),gI(),_D(_.nzPaginationPosition==="both"||_.nzPaginationPosition==="bottom"?8:-1));},dependencies:[Dn,vr,Bn,At,ra,wn,Mt],encapsulation:2})}})();var pa=(()=>{class t{destroyRef=C(at);listOfNzThDirective;listOfCellFixedDirective;listOfFixedColumns$=new Ln(1);listOfColumns$=new Ln(1);listOfFixedColumnsChanges$=this.listOfFixedColumns$.pipe(Gl(e=>zg(this.listOfFixedColumns$,...e.map(n=>n.changes$)).pipe(Ie(()=>this.listOfFixedColumns$))),Rt$1(this.destroyRef));listOfFixedLeftColumnChanges$=this.listOfFixedColumnsChanges$.pipe(Se(e=>e.filter(n=>n.nzLeft!==false)));listOfFixedRightColumnChanges$=this.listOfFixedColumnsChanges$.pipe(Se(e=>e.filter(n=>n.nzRight!==false)));listOfColumnsChanges$=this.listOfColumns$.pipe(Gl(e=>zg(this.listOfColumns$,...e.map(n=>n.changes$)).pipe(Ie(()=>this.listOfColumns$))),Rt$1(this.destroyRef));nzTableStyleService=C(Fe,{optional:true});isInsideTable=!!this.nzTableStyleService;ngAfterContentInit(){this.nzTableStyleService&&(this.listOfCellFixedDirective.changes.pipe(Wl(this.listOfCellFixedDirective),Rt$1(this.destroyRef)).subscribe(this.listOfFixedColumns$),this.listOfNzThDirective.changes.pipe(Wl(this.listOfNzThDirective),Rt$1(this.destroyRef)).subscribe(this.listOfColumns$),this.listOfFixedLeftColumnChanges$.subscribe(e=>{e.forEach(n=>n.setIsLastLeft(n===e[e.length-1]));}),this.listOfFixedRightColumnChanges$.subscribe(e=>{e.forEach(n=>n.setIsFirstRight(n===e[0]));}),Fg([this.nzTableStyleService.listOfListOfThWidth$,this.listOfFixedLeftColumnChanges$]).pipe(Rt$1(this.destroyRef)).subscribe(([e,n])=>{n.forEach((i,o)=>{if(i.isAutoLeft){let h=n.slice(0,o).reduce((O,I)=>O+(I.colspan||I.colSpan||1),0),f=e.slice(0,h).reduce((O,I)=>O+I,0);i.setAutoLeftWidth(`${f}px`);}});}),Fg([this.nzTableStyleService.listOfListOfThWidth$,this.listOfFixedRightColumnChanges$]).pipe(Rt$1(this.destroyRef)).subscribe(([e,n])=>{n.forEach((i,o)=>{let l=n[n.length-o-1];if(l.isAutoRight){let f=n.slice(n.length-o,n.length).reduce((I,B)=>I+(B.colspan||B.colSpan||1),0),O=e.slice(e.length-f,e.length).reduce((I,B)=>I+B,0);l.setAutoRightWidth(`${O}px`);}});}));}static \u0275fac=function(n){return new(n||t)};static \u0275dir=XE({type:t,selectors:[["tr",3,"nz-table-measure-row","",3,"nzExpand","",3,"nz-table-fixed-row",""]],contentQueries:function(n,i,o){if(n&1&&vh(o,oa,4)(o,ta,4),n&2){let l;qD(l=WD())&&(i.listOfNzThDirective=l),qD(l=WD())&&(i.listOfCellFixedDirective=l);}},hostVars:2,hostBindings:function(n,i){n&2&&Mh("ant-table-row",i.isInsideTable);}})}return t})(),sr=(()=>{class t{nzTableStyleService=C(Fe,{optional:true});nzTableDataService=C(Vt,{optional:true});destroyRef=C(at);el=C(_r).nativeElement;renderer=C(XI);isInsideTable=!!this.nzTableStyleService;templateRef;listOfNzTrDirective;listOfNzThAddOnComponent;nzSortOrderChange=new Le$1;ngOnInit(){this.nzTableStyleService&&this.nzTableStyleService.setTheadTemplate(this.templateRef);}ngAfterContentInit(){if(this.nzTableStyleService){let e=this.listOfNzTrDirective.changes.pipe(Wl(this.listOfNzTrDirective),Se(l=>l&&l.first),Rt$1(this.destroyRef)),n=e.pipe(Gl(l=>l?l.listOfColumnsChanges$:mt));n.subscribe(l=>this.nzTableStyleService.setListOfTh(l)),this.nzTableStyleService.enableAutoMeasure$.pipe(Gl(l=>l?n:Dg([]))).pipe(Rt$1(this.destroyRef)).subscribe(l=>this.nzTableStyleService.setListOfMeasureColumn(l));let i=e.pipe(Gl(l=>l?l.listOfFixedLeftColumnChanges$:mt)),o=e.pipe(Gl(l=>l?l.listOfFixedRightColumnChanges$:mt));i.subscribe(l=>{this.nzTableStyleService.setHasFixLeft(l.length!==0);}),o.subscribe(l=>{this.nzTableStyleService.setHasFixRight(l.length!==0);});}if(this.nzTableDataService){let e=this.listOfNzThAddOnComponent.changes.pipe(Wl(this.listOfNzThAddOnComponent));e.pipe(Gl(()=>zg(...this.listOfNzThAddOnComponent.map(o=>o.manualClickOrder$))),Rt$1(this.destroyRef)).subscribe(o=>{let l={key:o.nzColumnKey,value:o.sortOrder};this.nzSortOrderChange.emit(l),o.nzSortFn&&o.nzSortPriority===false&&this.listOfNzThAddOnComponent.filter(h=>h!==o).forEach(h=>h.clearSortOrder());}),e.pipe(Gl(o=>zg(e,...o.map(l=>l.calcOperatorChange$)).pipe(Ie(()=>e))),Se(o=>o.filter(l=>!!l.nzSortFn||!!l.nzFilterFn).map(l=>{let{nzSortFn:h,sortOrder:f,nzFilterFn:O,nzFilterValue:I,nzSortPriority:B,nzColumnKey:K}=l;return {key:K,sortFn:h,sortPriority:B,sortOrder:f,filterFn:O,filterValue:I}})),Yg(0),Rt$1(this.destroyRef)).subscribe(o=>{this.nzTableDataService?.listOfCalcOperator$.next(o);});}}ngAfterViewInit(){this.nzTableStyleService&&this.renderer.removeChild(this.renderer.parentNode(this.el),this.el);}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=QE({type:t,selectors:[["thead",9,"ant-table-thead"]],contentQueries:function(n,i,o){if(n&1&&vh(o,pa,5)(o,En,5),n&2){let l;qD(l=WD())&&(i.listOfNzTrDirective=l),qD(l=WD())&&(i.listOfNzThAddOnComponent=l);}},viewQuery:function(n,i){if(n&1&&Ih(qo,7),n&2){let o;qD(o=WD())&&(i.templateRef=o.first);}},outputs:{nzSortOrderChange:"nzSortOrderChange"},ngContentSelectors:xe,decls:3,vars:1,consts:[["contentTemplate",""],[3,"ngTemplateOutlet"]],template:function(n,i){n&1&&(BD(),nh(0,Yo,1,0,"ng-template",null,0,Lw),bD(2,Uo,1,1,null,1)),n&2&&(gI(2),_D(i.isInsideTable?-1:2));},dependencies:[vr],encapsulation:2})}return t})();var dr=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=YE({type:t});static \u0275inj=uu({imports:[ca,En,na,Vn,Bn,At,Rn,kn,Mn,In,aa]})}return t})();export{Mt as M,Vn as V,aa as a,ca as c,dr as d,na as n,oa as o,pa as p,rr as r,sr as s,wn as w};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {W,I}from'./chunk-
|
|
1
|
+
import {W,I}from'./chunk-CECejZs9.js';import {d as dr,c as ca,r as rr,o as oa,s as sr,V as Vn,p as pa}from'./chunk-BaL0hYvK.js';import {C,U as U$1,b as at,a0 as $0,q as qo,X as rd,Y as Bw,a9 as Ng,aa as rs,ab as Dg,R as Rt,Q as QE,F as Fn,M as Mt,f as ec,m as bD,A as _D,g as _i,v as vw,h as Rw,K as Kc,p as gI,P as Ph,O as Ow,B as VD,N as ND,w as ch,y as xD,a5 as ah,a3 as xw,u as nl}from'./main-5C7K2447.js';var q=new Set(["completed","failed","cancelled"]);function G(e){return q.has(e)}function et(e){let o=e.stepHistory.find(t=>t.status==="running");if(o)return o;if((e.status==="waiting_for_human"||e.status==="waiting_for_children")&&e.currentStepExecutionId){let t=e.stepHistory.find(n=>n.id===e.currentStepExecutionId);if(t)return t}return G(e.status)&&e.stepHistory.length>0?e.stepHistory[e.stepHistory.length-1]??null:null}function it(e,o){let t=new Map;for(let n of o)t.set(n.stepDefinitionId,n);return e.map(n=>{let d=t.get(n.id)??null;return {definition:n,execution:d,reached:d!=null}})}function U(e){if(!e)return null;if(e.mode==="single"){let t=e.subject;return `${t.id} \xB7 ${t.title}`}let o=e.subjects.length;if(o===0)return null;if(o===1){let t=e.subjects[0];return `${t.id} \xB7 ${t.title}`}return `${o} subjects`}var Q=e=>["/jobs",e],V=(e,o)=>o.id;function X(e,o){e&1&&(_i(0,"p",0),vw(1),Rw(2,"transloco"),Kc()),e&2&&(gI(),Ph(Ow(2,1,"common.loading")));}function Y(e,o){if(e&1&&(_i(0,"p",1),vw(1),Kc()),e&2){let t=VD();gI(),Ph(t.loadError());}}function Z(e,o){if(e&1&&(_i(0,"tr")(1,"td")(2,"a",3),vw(3),Kc()(),_i(4,"td")(5,"nz-tag"),vw(6),Rw(7,"transloco"),Kc()(),_i(8,"td")(9,"span"),vw(10),Kc()(),_i(11,"td")(12,"span"),vw(13),Kc()(),_i(14,"td")(15,"span"),vw(16),Kc()()()),e&2){let t=o.$implicit,n=VD(2);ah("data-testid","job-row-"+t.id),gI(2),ch("routerLink",xw(14,Q,t.id)),ah("data-testid","job-link-"+t.id),gI(),nl(" ",t.id," "),gI(2),ah("data-testid","job-status-"+t.id),gI(),Ph(Ow(7,12,n.statusKey(t.status))),gI(3),ah("data-testid","job-subject-"+t.id),gI(),Ph(n.subjectText(t)),gI(2),ah("data-testid","job-started-"+t.id),gI(),Ph(t.createdAt),gI(2),ah("data-testid","job-completed-"+t.id),gI(),Ph(t.completedAt??"\u2014");}}function tt(e,o){if(e&1&&(_i(0,"nz-table",2)(1,"thead")(2,"tr")(3,"th"),vw(4),Rw(5,"transloco"),Kc(),_i(6,"th"),vw(7),Rw(8,"transloco"),Kc(),_i(9,"th"),vw(10),Rw(11,"transloco"),Kc(),_i(12,"th"),vw(13),Rw(14,"transloco"),Kc(),_i(15,"th"),vw(16),Rw(17,"transloco"),Kc()()(),_i(18,"tbody"),ND(19,Z,17,16,"tr",null,V),Kc()()),e&2){let t=VD();ch("nzData",t.displayJobs())("nzFrontPagination",false)("nzShowPagination",false)("nzSize","middle"),gI(4),Ph(Ow(5,9,"jobs.table.column.id")),gI(3),Ph(Ow(8,11,"jobs.table.column.status")),gI(3),Ph(Ow(11,13,"jobs.table.column.subject")),gI(3),Ph(Ow(14,15,"jobs.table.column.started")),gI(3),Ph(Ow(17,17,"jobs.table.column.completed")),gI(3),xD(t.displayJobs());}}var vt=(()=>{class e{constructor(){this.jobsApi=C(U$1),this.destroyRef=C(at),this.jobs=$0(null),this.jobIds=$0([]),this.loaded=qo([]),this.loading=qo(false),this.loadError=qo(null),rd(()=>{let t=this.jobs(),n=this.jobIds();if(t!=null){Bw(()=>{this.loaded.set([]),this.loading.set(false),this.loadError.set(null);});return}if(n.length===0){Bw(()=>{this.loaded.set([]),this.loading.set(false);});return}Bw(()=>{this.loading.set(true),this.loadError.set(null),Ng(n.map(d=>this.jobsApi.get(d).pipe(rs(()=>Dg(null))))).pipe(Rt(this.destroyRef)).subscribe({next:d=>{this.loaded.set(d.filter(W=>W!=null)),this.loading.set(false);},error:()=>{this.loading.set(false),this.loadError.set("Failed to load jobs");}});});});}displayJobs(){let t=this.jobs();return t??this.loaded()}statusKey(t){return `jobs.status.${t}`}subjectText(t){return U(t.subjectContext)??"\u2014"}static{this.\u0275fac=function(n){return new(n||e)};}static{this.\u0275cmp=QE({type:e,selectors:[["app-job-status-table"]],inputs:{jobs:[1,"jobs"],jobIds:[1,"jobIds"]},decls:3,vars:1,consts:[["data-testid","job-status-loading"],["data-testid","job-status-error",1,"error"],["data-testid","job-status-table",3,"nzData","nzFrontPagination","nzShowPagination","nzSize"],[3,"routerLink"]],template:function(n,d){n&1&&bD(0,X,3,3,"p",0)(1,Y,2,1,"p",1)(2,tt,21,19,"nz-table",2),n&2&&_D(d.loading()&&d.jobs()==null?0:d.loadError()?1:2);},dependencies:[Fn,Mt,dr,ca,rr,oa,sr,Vn,pa,W,I,ec],styles:[".error[_ngcontent-%COMP%]{color:#9f1239}[_nghost-%COMP%] .ant-table-tbody>tr>td{white-space:normal;vertical-align:top}"]});}}return e})();export{G,U,et as e,it as i,vt as v};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {ah as YE,ai as uu,a_ as eC,a$ as tC,a0 as $0,ak as Z0,H as Hw,s,r,b0 as Le,R as Rt,b1 as XE,b2 as eh,a4 as Mh,q as qo,b3 as re,C,b4 as Uo,b5 as k8,b6 as em,b7 as on,b8 as Ul,Q as QE,b9 as fn,ba as f1,bb as gn,bc as Xa,bd as Ts,be as Vs,bf as t4,bg as Tt,bh as Ie,aC as pt$1,aD as Se,d as sd,z as zc,e as t7,Z as y7,bi as Wy,bj as Uy,aH as nh,j as gh,w as ch,bk as Ih,an as _r,bl as qD,bm as WD,bn as ut$1,bo as s0,bp as N7,bq as Sy,L as LD,g as _i,br as oi,bs as ri,m as bD,K as Kc,bt as Bh,h as Rw,v as vw,B as VD,bu as sw,aP as cw,p as gI,A as _D,a5 as ah,O as Ow,u as nl,bv as ji,bw as XI,bx as kt,b as at,by as Wm,bz as jo,bA as Kg,bB as Yg,bC as Rg,bD as kr,bE as xy,bF as ly,aq as Le$1,bG as z0,bH as r2,bI as a2,bJ as _e,bK as Ou,bL as vn,bM as He,bN as Er,as as j3,l as lh,bO as el,bP as tl,bQ as i9,P as Ph,aI as Lw,E as Pu,G as Lu}from'./main-BK4MAPTK.js';var lt=["overlay"];function ct(i,m){if(i&1&&(el(0),vw(1),tl()),i&2){let e=VD(2);gI(),Ph(e.nzTitle);}}function pt(i,m){if(i&1){let e=LD();_i(0,"div",2),oi(function(){Pu(e);let n=VD();return Lu(n.zoomAnimationLeave())}),ri(function(){Pu(e);let n=VD();return Lu(n.zoomAnimationEnter())}),lh(1,"div",3),_i(2,"div",4)(3,"div",5),nh(4,ct,2,1,"ng-container",6),Kc()()();}if(i&2){let e=VD();sw(e.nzOverlayStyle),cw(e._classMap),Mh("ant-tooltip-rtl",e.dir()==="rtl"),ch("nzNoAnimation",!!e.noAnimation?.nzNoAnimation?.()),gI(),sw(e._arrowStyleMap),gI(2),sw(e._contentStyleMap),gI(),ch("nzStringTemplateOutlet",e.nzTitle)("nzStringTemplateOutletContext",e.nzTitleContext);}}var tt=(()=>{class i{componentType;elementRef=C(_r);hostView=C(ji);renderer=C(XI);noAnimation=C(t4,{host:true,optional:true});nzConfigService=C(kt);destroyRef=C(at);platformId=C(Wm);config;visibleChange=new Le;get _title(){return this.title||this.directiveTitle||null}get _content(){return this.content||this.directiveContent||null}get _trigger(){return typeof this.trigger<"u"?this.trigger:"hover"}get _placement(){let e=this.placement;return Array.isArray(e)&&e.length>0?e:typeof e=="string"&&e?[e]:["top"]}get _visible(){return (typeof this.visible<"u"?this.visible:this.internalVisible)||false}get _mouseEnterDelay(){return this.mouseEnterDelay||.15}get _mouseLeaveDelay(){return this.mouseLeaveDelay||.1}get _overlayClassName(){return this.overlayClassName||null}get _overlayStyle(){return this.overlayStyle||null}get _overlayClickable(){return this.overlayClickable??true}internalVisible=false;getProxyPropertyMap(){return {noAnimation:["noAnimation",()=>!!this.noAnimation]}}component;destroy$=new re;triggerDisposables=[];delayTimer;constructor(e){this.componentType=e,this.destroyRef.onDestroy(()=>{this.clearTogglingTimer(),this.removeTriggerListeners();});}ngAfterViewInit(){jo(this.platformId)&&(this.createComponent(),this.registerTriggers());}ngOnChanges(e){let{trigger:t}=e;t&&!t.isFirstChange()&&this.registerTriggers(),this.component&&this.updatePropertiesByChanges(e);}show(){this.component?.show();}hide(){this.component?.hide();}updatePosition(){this.component&&this.component.updatePosition();}createComponent(){let e=this.hostView.createComponent(this.componentType);this.component=e.instance,this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),e.location.nativeElement),this.component.setOverlayOrigin(this.origin||this.elementRef),this.initProperties();let t=this.component.nzVisibleChange.pipe(Kg());t.pipe(Rt(this.destroyRef)).subscribe(n=>{this.internalVisible=n,this.visibleChange.emit(n);}),t.pipe(on(Boolean),Yg(0,Rg),on(()=>!!this.component?.overlay?.overlayRef),Rt(this.destroyRef)).subscribe(()=>{this.component?.updatePosition();});}registerTriggers(){let e=this.elementRef.nativeElement,t=this.trigger;if(this.removeTriggerListeners(),t==="hover"){let n;this.triggerDisposables.push(this.renderer.listen(e,"mouseenter",()=>{this.delayEnterLeave(true,true,this._mouseEnterDelay);})),this.triggerDisposables.push(this.renderer.listen(e,"mouseleave",()=>{this.delayEnterLeave(true,false,this._mouseLeaveDelay),this.component?.overlay.overlayRef&&!n&&(n=this.component.overlay.overlayRef.overlayElement,this.triggerDisposables.push(this.renderer.listen(n,"mouseenter",()=>{this.delayEnterLeave(false,true,this._mouseEnterDelay);})),this.triggerDisposables.push(this.renderer.listen(n,"mouseleave",()=>{this.delayEnterLeave(false,false,this._mouseLeaveDelay);})));}));}else t==="focus"?(this.triggerDisposables.push(this.renderer.listen(e,"focusin",()=>this.show())),this.triggerDisposables.push(this.renderer.listen(e,"focusout",()=>this.hide()))):t==="click"&&this.triggerDisposables.push(this.renderer.listen(e,"click",n=>{n.preventDefault(),this.show();}));}updatePropertiesByChanges(e){this.updatePropertiesByKeys(Object.keys(e));}updatePropertiesByKeys(e){let t=r({title:["nzTitle",()=>this._title],directiveTitle:["nzTitle",()=>this._title],content:["nzContent",()=>this._content],directiveContent:["nzContent",()=>this._content],trigger:["nzTrigger",()=>this._trigger],placement:["nzPlacement",()=>this._placement],visible:["nzVisible",()=>this._visible],mouseEnterDelay:["nzMouseEnterDelay",()=>this._mouseEnterDelay],mouseLeaveDelay:["nzMouseLeaveDelay",()=>this._mouseLeaveDelay],overlayClassName:["nzOverlayClassName",()=>this._overlayClassName],overlayStyle:["nzOverlayStyle",()=>this._overlayStyle],overlayClickable:["nzOverlayClickable",()=>this._overlayClickable],arrowPointAtCenter:["nzArrowPointAtCenter",()=>this.arrowPointAtCenter]},this.getProxyPropertyMap());(e||Object.keys(t).filter(n=>!n.startsWith("directive"))).forEach(n=>{if(t[n]){let[o,c]=t[n];this.updateComponentValue(o,c());}}),this.component?.updateByDirective();}initProperties(){this.updatePropertiesByKeys();}updateComponentValue(e,t){typeof t<"u"&&(this.component[e]=t);}delayEnterLeave(e,t,n=-1){this.delayTimer?this.clearTogglingTimer():n>0?this.delayTimer=setTimeout(()=>{this.delayTimer=void 0,t?this.show():this.hide();},n*1e3):t&&e?this.show():this.hide();}removeTriggerListeners(){this.triggerDisposables.forEach(e=>e()),this.triggerDisposables.length=0;}clearTogglingTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=void 0);}static \u0275fac=function(t){return new(t||i)(kr(xy))};static \u0275dir=XE({type:i,features:[ly]})}return i})(),mt=(()=>{class i{noAnimation=C(t4,{host:true,optional:true});dir=C(Le$1).valueSignal;cdr=C(z0);elementRef=C(_r);destroyRef=C(at);overlay;nzTitle=null;nzContent=null;nzArrowPointAtCenter=false;nzOverlayClassName;nzOverlayStyle={};nzOverlayClickable=true;nzBackdrop=false;nzMouseEnterDelay;nzMouseLeaveDelay;nzVisibleChange=new re;set nzVisible(e){let t=i9(e);this._visible!==t&&(this._visible=t,this.nzVisibleChange.next(t));}get nzVisible(){return this._visible}_visible=false;set nzTrigger(e){this._trigger=e;}get nzTrigger(){return this._trigger}_trigger="hover";set nzPlacement(e){let t=e.map(n=>r2(_e[n],a2[n]));this._positions=[...t,...Ou];}preferredPlacement="top";origin;_classMap={};_prefix="ant-tooltip";_positions=[...Ou];constructor(){this.destroyRef.onDestroy(()=>{this.nzVisibleChange.complete();});}show(){this.nzVisible||(this.isEmpty()||(this.nzVisible=true,this.nzVisibleChange.next(true),this.cdr.detectChanges()),this.origin&&this.overlay&&this.overlay.overlayRef&&this.overlay.overlayRef.getDirection()==="rtl"&&this.overlay.overlayRef.setDirection("ltr"));}hide(){this.nzVisible&&(this.nzVisible=false,this.nzVisibleChange.next(false),this.cdr.detectChanges());}updateByDirective(){this.updateStyles(),this.cdr.detectChanges(),Promise.resolve().then(()=>{this.updatePosition(),this.updateVisibilityByTitle();});}updatePosition(){this.origin&&this.overlay&&this.overlay.overlayRef&&this.overlay.overlayRef.updatePosition();}onPositionChange(e){this.preferredPlacement=vn(e),this.updateStyles(),this.cdr.detectChanges();}setOverlayOrigin(e){this.origin=e,this.cdr.markForCheck();}onClickOutside(e){if(!this.nzOverlayClickable)return;let t=He(e);!this.origin.nativeElement.contains(t)&&this.nzTrigger!==null&&this.hide();}updateVisibilityByTitle(){this.isEmpty()&&this.hide();}updateStyles(){this._classMap=s(r({},this.transformClassListToMap(this.nzOverlayClassName)),{[`${this._prefix}-placement-${this.preferredPlacement}`]:true});}transformClassListToMap(e){let t={};return (e!==null?e.split(/\s+/):[]).forEach(o=>t[o]=true),t}static \u0275fac=function(t){return new(t||i)};static \u0275dir=XE({type:i,viewQuery:function(t,n){if(t&1&&Ih(lt,5),t&2){let o;qD(o=WD())&&(n.overlay=o.first);}}})}return i})();function ut(i){return i instanceof Er?false:i===""||!j3(i)}var nt=(()=>{class i extends mt{_animationPrefix="ant-zoom-big-fast";nzTitle=null;nzTitleContext=null;nzColor;_arrowStyleMap={};_contentStyleMap={};zoomAnimationEnter=s0(()=>`${this._animationPrefix}-enter ${this._animationPrefix}-enter-active`);zoomAnimationLeave=s0(()=>`${this._animationPrefix}-leave ${this._animationPrefix}-leave-active`);isEmpty(){return ut(this.nzTitle)}updateStyles(){let e=this.nzColor&&N7(this.nzColor);this._classMap=s(r({},this.transformClassListToMap(this.nzOverlayClassName)),{[`${this._prefix}-placement-${this.preferredPlacement}`]:true,[`${this._prefix}-${this.nzColor}`]:e}),this._contentStyleMap={backgroundColor:this.nzColor&&!e?this.nzColor:null},this._arrowStyleMap={"--antd-arrow-background-color":this.nzColor&&!e?this.nzColor:null};}static \u0275fac=(()=>{let e;return function(n){return (e||(e=Sy(i)))(n||i)}})();static \u0275cmp=QE({type:i,selectors:[["nz-tooltip"]],exportAs:["nzTooltipComponent"],features:[eh],decls:2,vars:4,consts:[["overlay","cdkConnectedOverlay"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"overlayOutsideClick","detach","positionChange","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","nzArrowPointAtCenter"],[1,"ant-tooltip",3,"nzNoAnimation"],[1,"ant-tooltip-arrow"],[1,"ant-tooltip-content"],[1,"ant-tooltip-inner"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(t,n){t&1&&(nh(0,pt,5,13,"ng-template",1,0,Lw),gh("overlayOutsideClick",function(c){return n.onClickOutside(c)})("detach",function(){return n.hide()})("positionChange",function(c){return n.onPositionChange(c)})),t&2&&ch("cdkConnectedOverlayOrigin",n.origin)("cdkConnectedOverlayOpen",n._visible)("cdkConnectedOverlayPositions",n._positions)("nzArrowPointAtCenter",n.nzArrowPointAtCenter);},dependencies:[fn,f1,t4,Tt,Ie,gn,Xa],encapsulation:2})}return i})();var dt=["okBtn"],ft=["cancelBtn"];function zt(i,m){i&1&&lh(0,"div",5);}function ht(i,m){if(i&1&&(el(0),lh(1,"nz-icon",17),tl()),i&2){let e=m.$implicit;gI(),ch("nzType",e||"exclamation-circle");}}function vt(i,m){if(i&1&&(_i(0,"span",10),nh(1,ht,2,1,"ng-container",16),Kc()),i&2){let e=VD(2);gI(),ch("nzStringTemplateOutlet",e.nzIcon);}}function yt(i,m){if(i&1&&(el(0),vw(1),tl()),i&2){let e=VD(2);gI(),nl(" ",e.nzTitle," ");}}function gt(i,m){if(i&1){let e=LD();_i(0,"div",4),oi(function(){Pu(e);let n=VD();return Lu(n.zoomAnimationLeave())}),ri(function(){Pu(e);let n=VD();return Lu(n.zoomAnimationEnter())}),bD(1,zt,1,0,"div",5),_i(2,"div",6)(3,"div",7)(4,"div")(5,"div",8)(6,"div",9),bD(7,vt,2,1,"span",10),_i(8,"div",11),nh(9,yt,2,1,"ng-container",12),Kc()(),_i(10,"div",13)(11,"button",14,1),gh("click",function(){Pu(e);let n=VD();return Lu(n.onCancel())}),Bh(13),Rw(14,"nzI18n"),vw(15),Kc(),_i(16,"button",15,2),gh("click",function(){Pu(e);let n=VD();return Lu(n.onConfirm())}),Bh(18),Rw(19,"nzI18n"),vw(20),Kc()()()()()()();}if(i&2){let e=VD();sw(e.nzOverlayStyle),cw(e._classMap),Mh("ant-popover-rtl",e.dir()==="rtl"),ch("cdkTrapFocusAutoCapture",e.nzAutoFocus!==null)("nzNoAnimation",!!e.noAnimation?.nzNoAnimation?.()),gI(),_D(e.nzPopconfirmShowArrow?1:-1),gI(6),_D(e.nzIcon!==null?7:-1),gI(2),ch("nzStringTemplateOutlet",e.nzTitle)("nzStringTemplateOutletContext",e.nzTitleContext),gI(2),ch("nzDanger",e.nzCancelButtonProps()?.nzDanger)("disabled",e.nzCancelButtonProps()?.nzDisabled),ah("cdkFocusInitial",e.nzAutoFocus==="cancel"||null);let t=e.nzCancelText()||Ow(14,22,"Modal.cancelText");gI(4),nl(" ",t," "),gI(),ch("nzType",e.nzOkButtonProps().nzType)("nzDanger",e.nzOkButtonProps().nzDanger)("nzLoading",e.confirmLoading)("disabled",e.nzOkButtonProps().nzDisabled),ah("cdkFocusInitial",e.nzAutoFocus==="ok"||null);let n=e.nzOkText()||Ow(19,24,"Modal.okText");gI(4),nl(" ",n," ");}}var Ct="popconfirm",Cn=(()=>{let i=tt,m,e=[],t=[],n,o=[],c=[];return class he extends i{static{let C=typeof Symbol=="function"&&Symbol.metadata?Object.create(i[Symbol.metadata]??null):void 0;m=[ut$1()],n=[ut$1()],eC(null,null,m,{kind:"field",name:"nzPopconfirmBackdrop",static:false,private:false,access:{has:a=>"nzPopconfirmBackdrop"in a,get:a=>a.nzPopconfirmBackdrop,set:(a,N)=>{a.nzPopconfirmBackdrop=N;}},metadata:C},e,t),eC(null,null,n,{kind:"field",name:"nzAutofocus",static:false,private:false,access:{has:a=>"nzAutofocus"in a,get:a=>a.nzAutofocus,set:(a,N)=>{a.nzAutofocus=N;}},metadata:C},o,c),C&&Object.defineProperty(this,Symbol.metadata,{enumerable:true,configurable:true,writable:true,value:C});}_nzModuleName=Ct;arrowPointAtCenter;title;titleContext=null;directiveTitle;trigger="click";placement="top";origin;mouseEnterDelay;mouseLeaveDelay;overlayClassName;overlayStyle;visible;nzBeforeConfirm;nzIcon;nzCondition=false;nzPopconfirmShowArrow=true;nzPopconfirmBackdrop=tC(this,e,false);nzAutofocus=(tC(this,t),tC(this,o,null));nzOkText=(tC(this,c),$0(null));nzOkType=$0("primary");nzCancelText=$0(null);nzOkButtonProps=$0(null);nzCancelButtonProps=$0(null);nzOkDisabled=$0(false,{transform:Z0});nzOkDanger=$0(false,{transform:Z0});okButtonProps=Hw(()=>s(r({},this.nzOkButtonProps()),{nzType:this.nzOkButtonProps()?.nzType||this.nzOkType()==="danger"?"primary":this.nzOkType(),nzDanger:this.nzOkDanger()||this.nzOkButtonProps()?.nzDanger||this.nzOkType()==="danger",nzDisabled:this.nzOkDisabled()||this.nzOkButtonProps()?.nzDisabled}));cancelButtonProps=Hw(()=>r({},this.nzCancelButtonProps()));directiveContent=null;content=null;overlayClickable;visibleChange=new Le;nzOnCancel=new Le;nzOnConfirm=new Le;getProxyPropertyMap(){return r({nzOkText:["nzOkText",()=>this.nzOkText],nzCancelText:["nzCancelText",()=>this.nzCancelText],nzOkButtonProps:["nzOkButtonProps",()=>this.okButtonProps],nzCancelButtonProps:["nzCancelButtonProps",()=>this.cancelButtonProps],nzBeforeConfirm:["nzBeforeConfirm",()=>this.nzBeforeConfirm],nzCondition:["nzCondition",()=>this.nzCondition],nzIcon:["nzIcon",()=>this.nzIcon],nzPopconfirmShowArrow:["nzPopconfirmShowArrow",()=>this.nzPopconfirmShowArrow],nzPopconfirmBackdrop:["nzBackdrop",()=>this.nzPopconfirmBackdrop],nzPopconfirmContext:["nzTitleContext",()=>this.titleContext],nzAutoFocus:["nzAutoFocus",()=>this.nzAutofocus]},super.getProxyPropertyMap())}constructor(){super(it);}createComponent(){super.createComponent(),this.component.nzOnCancel.pipe(Rt(this.destroyRef)).subscribe(()=>{this.nzOnCancel.emit();}),this.component.nzOnConfirm.pipe(Rt(this.destroyRef)).subscribe(()=>{this.nzOnConfirm.emit();});}static \u0275fac=function(a){return new(a||he)};static \u0275dir=XE({type:he,selectors:[["","nz-popconfirm",""]],hostVars:2,hostBindings:function(a,N){a&2&&Mh("ant-popover-open",N.visible);},inputs:{arrowPointAtCenter:[2,"nzPopconfirmArrowPointAtCenter","arrowPointAtCenter",Z0],title:[0,"nzPopconfirmTitle","title"],titleContext:[0,"nzPopconfirmTitleContext","titleContext"],directiveTitle:[0,"nz-popconfirm","directiveTitle"],trigger:[0,"nzPopconfirmTrigger","trigger"],placement:[0,"nzPopconfirmPlacement","placement"],origin:[0,"nzPopconfirmOrigin","origin"],mouseEnterDelay:[0,"nzPopconfirmMouseEnterDelay","mouseEnterDelay"],mouseLeaveDelay:[0,"nzPopconfirmMouseLeaveDelay","mouseLeaveDelay"],overlayClassName:[0,"nzPopconfirmOverlayClassName","overlayClassName"],overlayStyle:[0,"nzPopconfirmOverlayStyle","overlayStyle"],visible:[0,"nzPopconfirmVisible","visible"],nzBeforeConfirm:"nzBeforeConfirm",nzIcon:"nzIcon",nzCondition:[2,"nzCondition","nzCondition",Z0],nzPopconfirmShowArrow:[2,"nzPopconfirmShowArrow","nzPopconfirmShowArrow",Z0],nzPopconfirmBackdrop:"nzPopconfirmBackdrop",nzAutofocus:"nzAutofocus",nzOkText:[1,"nzOkText"],nzOkType:[1,"nzOkType"],nzCancelText:[1,"nzCancelText"],nzOkButtonProps:[1,"nzOkButtonProps"],nzCancelButtonProps:[1,"nzCancelButtonProps"],nzOkDisabled:[1,"nzOkDisabled"],nzOkDanger:[1,"nzOkDanger"]},outputs:{visibleChange:"nzPopconfirmVisibleChange",nzOnCancel:"nzOnCancel",nzOnConfirm:"nzOnConfirm"},exportAs:["nzPopconfirm"],features:[eh]})}})(),it=(()=>{class i extends nt{_animationPrefix="ant-zoom-big";okBtn;cancelBtn;nzCondition=false;nzPopconfirmShowArrow=true;nzIcon;nzAutoFocus=null;nzBeforeConfirm=null;nzOkText=qo(null);nzCancelText=qo(null);nzOkButtonProps=qo({nzType:"primary"});nzCancelButtonProps=qo(null);nzOnCancel=new re;nzOnConfirm=new re;_trigger="click";elementFocusedBeforeModalWasOpened=null;document=C(Uo);_prefix="ant-popover";confirmLoading=false;constructor(){super(),this.destroyRef.onDestroy(()=>{this.nzVisibleChange.complete();});}show(){this.nzCondition?this.onConfirm():(this.capturePreviouslyFocusedElement(),super.show());}hide(){super.hide(),this.restoreFocus();}handleConfirm(){this.nzOnConfirm.next(),super.hide();}onCancel(){this.nzOnCancel.next(),super.hide();}onConfirm(){this.nzBeforeConfirm?(this.confirmLoading=true,this.cdr.markForCheck(),k8(this.nzBeforeConfirm()).pipe(em(),on(Boolean),Ul(()=>{this.confirmLoading=false,this.cdr.markForCheck();})).subscribe(()=>this.handleConfirm())):this.handleConfirm();}capturePreviouslyFocusedElement(){this.document&&(this.elementFocusedBeforeModalWasOpened=this.document.activeElement);}restoreFocus(){this.elementFocusedBeforeModalWasOpened?.focus();}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=QE({type:i,selectors:[["nz-popconfirm"]],viewQuery:function(t,n){if(t&1&&Ih(dt,5,_r)(ft,5,_r),t&2){let o;qD(o=WD())&&(n.okBtn=o),qD(o=WD())&&(n.cancelBtn=o);}},exportAs:["nzPopconfirmComponent"],features:[eh],decls:2,vars:5,consts:[["overlay","cdkConnectedOverlay"],["cancelBtn",""],["okBtn",""],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"overlayOutsideClick","detach","positionChange","cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayOpen","nzArrowPointAtCenter"],["cdkTrapFocus","",1,"ant-popover",3,"cdkTrapFocusAutoCapture","nzNoAnimation"],[1,"ant-popover-arrow"],[1,"ant-popover-content"],[1,"ant-popover-inner"],[1,"ant-popover-inner-content"],[1,"ant-popover-message"],[1,"ant-popover-message-icon"],[1,"ant-popover-message-title"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[1,"ant-popover-buttons"],["nz-button","","nzSize","small",3,"click","nzDanger","disabled"],["nz-button","","nzSize","small",3,"click","nzType","nzDanger","nzLoading","disabled"],[4,"nzStringTemplateOutlet"],["nzTheme","fill",3,"nzType"]],template:function(t,n){t&1&&(nh(0,gt,21,26,"ng-template",3,0,Lw),gh("overlayOutsideClick",function(c){return n.onClickOutside(c)})("detach",function(){return n.hide()})("positionChange",function(c){return n.onPositionChange(c)})),t&2&&ch("cdkConnectedOverlayHasBackdrop",n.nzBackdrop)("cdkConnectedOverlayOrigin",n.origin)("cdkConnectedOverlayPositions",n._positions)("cdkConnectedOverlayOpen",n._visible)("nzArrowPointAtCenter",n.nzArrowPointAtCenter);},dependencies:[fn,f1,gn,Xa,Ts,Vs,t4,Tt,Ie,pt$1,Se,sd,zc,t7,y7,Wy,Uy],encapsulation:2})}return i})(),_n=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=YE({type:i});static \u0275inj=uu({imports:[it]})}return i})();export{Cn as C,_n as _};
|
|
1
|
+
import {ah as YE,ai as uu,bb as pT,bc as hT,a0 as $0,ak as Z0,H as Hw,s,r,a$ as Le,R as Rt,bd as XE,be as eh,a4 as Mh,q as qo,bf as re,C,bg as Uo,bh as k8,bi as em,bj as on,bk as Ul,Q as QE,bl as fn,bm as f1,bn as gn,bo as Xa,bp as Ts,bq as Vs,br as t4,bs as Tt,bt as Ie,aC as pt$1,aD as Se,d as sd,z as zc,e as t7,Z as y7,bu as Wy,bv as Uy,aH as nh,j as gh,w as ch,bw as Ih,an as _r,bx as qD,by as WD,bz as ut$1,bA as s0,b0 as N7,bB as Sy,L as LD,g as _i,bC as oi,bD as ri,m as bD,K as Kc,bE as Bh,h as Rw,v as vw,B as VD,bF as sw,aP as cw,p as gI,A as _D,a5 as ah,O as Ow,u as nl,bG as ji,a_ as XI,bH as kt,b as at,bI as Wm,bJ as jo,bK as Kg,bL as Yg,bM as kg,bN as kr,bO as xy,b2 as ly,aq as Le$1,bP as z0,bQ as r2,bR as a2,bS as _e,bT as Ou,bU as vn,bV as He,bW as Er,as as j3,l as lh,bX as el,bY as tl,bZ as i9,P as Ph,aI as Lw,E as Pu,G as Lu}from'./main-5C7K2447.js';var lt=["overlay"];function ct(i,m){if(i&1&&(el(0),vw(1),tl()),i&2){let e=VD(2);gI(),Ph(e.nzTitle);}}function pt(i,m){if(i&1){let e=LD();_i(0,"div",2),oi(function(){Pu(e);let n=VD();return Lu(n.zoomAnimationLeave())}),ri(function(){Pu(e);let n=VD();return Lu(n.zoomAnimationEnter())}),lh(1,"div",3),_i(2,"div",4)(3,"div",5),nh(4,ct,2,1,"ng-container",6),Kc()()();}if(i&2){let e=VD();sw(e.nzOverlayStyle),cw(e._classMap),Mh("ant-tooltip-rtl",e.dir()==="rtl"),ch("nzNoAnimation",!!e.noAnimation?.nzNoAnimation?.()),gI(),sw(e._arrowStyleMap),gI(2),sw(e._contentStyleMap),gI(),ch("nzStringTemplateOutlet",e.nzTitle)("nzStringTemplateOutletContext",e.nzTitleContext);}}var tt=(()=>{class i{componentType;elementRef=C(_r);hostView=C(ji);renderer=C(XI);noAnimation=C(t4,{host:true,optional:true});nzConfigService=C(kt);destroyRef=C(at);platformId=C(Wm);config;visibleChange=new Le;get _title(){return this.title||this.directiveTitle||null}get _content(){return this.content||this.directiveContent||null}get _trigger(){return typeof this.trigger<"u"?this.trigger:"hover"}get _placement(){let e=this.placement;return Array.isArray(e)&&e.length>0?e:typeof e=="string"&&e?[e]:["top"]}get _visible(){return (typeof this.visible<"u"?this.visible:this.internalVisible)||false}get _mouseEnterDelay(){return this.mouseEnterDelay||.15}get _mouseLeaveDelay(){return this.mouseLeaveDelay||.1}get _overlayClassName(){return this.overlayClassName||null}get _overlayStyle(){return this.overlayStyle||null}get _overlayClickable(){return this.overlayClickable??true}internalVisible=false;getProxyPropertyMap(){return {noAnimation:["noAnimation",()=>!!this.noAnimation]}}component;destroy$=new re;triggerDisposables=[];delayTimer;constructor(e){this.componentType=e,this.destroyRef.onDestroy(()=>{this.clearTogglingTimer(),this.removeTriggerListeners();});}ngAfterViewInit(){jo(this.platformId)&&(this.createComponent(),this.registerTriggers());}ngOnChanges(e){let{trigger:t}=e;t&&!t.isFirstChange()&&this.registerTriggers(),this.component&&this.updatePropertiesByChanges(e);}show(){this.component?.show();}hide(){this.component?.hide();}updatePosition(){this.component&&this.component.updatePosition();}createComponent(){let e=this.hostView.createComponent(this.componentType);this.component=e.instance,this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),e.location.nativeElement),this.component.setOverlayOrigin(this.origin||this.elementRef),this.initProperties();let t=this.component.nzVisibleChange.pipe(Kg());t.pipe(Rt(this.destroyRef)).subscribe(n=>{this.internalVisible=n,this.visibleChange.emit(n);}),t.pipe(on(Boolean),Yg(0,kg),on(()=>!!this.component?.overlay?.overlayRef),Rt(this.destroyRef)).subscribe(()=>{this.component?.updatePosition();});}registerTriggers(){let e=this.elementRef.nativeElement,t=this.trigger;if(this.removeTriggerListeners(),t==="hover"){let n;this.triggerDisposables.push(this.renderer.listen(e,"mouseenter",()=>{this.delayEnterLeave(true,true,this._mouseEnterDelay);})),this.triggerDisposables.push(this.renderer.listen(e,"mouseleave",()=>{this.delayEnterLeave(true,false,this._mouseLeaveDelay),this.component?.overlay.overlayRef&&!n&&(n=this.component.overlay.overlayRef.overlayElement,this.triggerDisposables.push(this.renderer.listen(n,"mouseenter",()=>{this.delayEnterLeave(false,true,this._mouseEnterDelay);})),this.triggerDisposables.push(this.renderer.listen(n,"mouseleave",()=>{this.delayEnterLeave(false,false,this._mouseLeaveDelay);})));}));}else t==="focus"?(this.triggerDisposables.push(this.renderer.listen(e,"focusin",()=>this.show())),this.triggerDisposables.push(this.renderer.listen(e,"focusout",()=>this.hide()))):t==="click"&&this.triggerDisposables.push(this.renderer.listen(e,"click",n=>{n.preventDefault(),this.show();}));}updatePropertiesByChanges(e){this.updatePropertiesByKeys(Object.keys(e));}updatePropertiesByKeys(e){let t=r({title:["nzTitle",()=>this._title],directiveTitle:["nzTitle",()=>this._title],content:["nzContent",()=>this._content],directiveContent:["nzContent",()=>this._content],trigger:["nzTrigger",()=>this._trigger],placement:["nzPlacement",()=>this._placement],visible:["nzVisible",()=>this._visible],mouseEnterDelay:["nzMouseEnterDelay",()=>this._mouseEnterDelay],mouseLeaveDelay:["nzMouseLeaveDelay",()=>this._mouseLeaveDelay],overlayClassName:["nzOverlayClassName",()=>this._overlayClassName],overlayStyle:["nzOverlayStyle",()=>this._overlayStyle],overlayClickable:["nzOverlayClickable",()=>this._overlayClickable],arrowPointAtCenter:["nzArrowPointAtCenter",()=>this.arrowPointAtCenter]},this.getProxyPropertyMap());(e||Object.keys(t).filter(n=>!n.startsWith("directive"))).forEach(n=>{if(t[n]){let[o,c]=t[n];this.updateComponentValue(o,c());}}),this.component?.updateByDirective();}initProperties(){this.updatePropertiesByKeys();}updateComponentValue(e,t){typeof t<"u"&&(this.component[e]=t);}delayEnterLeave(e,t,n=-1){this.delayTimer?this.clearTogglingTimer():n>0?this.delayTimer=setTimeout(()=>{this.delayTimer=void 0,t?this.show():this.hide();},n*1e3):t&&e?this.show():this.hide();}removeTriggerListeners(){this.triggerDisposables.forEach(e=>e()),this.triggerDisposables.length=0;}clearTogglingTimer(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=void 0);}static \u0275fac=function(t){return new(t||i)(kr(xy))};static \u0275dir=XE({type:i,features:[ly]})}return i})(),mt=(()=>{class i{noAnimation=C(t4,{host:true,optional:true});dir=C(Le$1).valueSignal;cdr=C(z0);elementRef=C(_r);destroyRef=C(at);overlay;nzTitle=null;nzContent=null;nzArrowPointAtCenter=false;nzOverlayClassName;nzOverlayStyle={};nzOverlayClickable=true;nzBackdrop=false;nzMouseEnterDelay;nzMouseLeaveDelay;nzVisibleChange=new re;set nzVisible(e){let t=i9(e);this._visible!==t&&(this._visible=t,this.nzVisibleChange.next(t));}get nzVisible(){return this._visible}_visible=false;set nzTrigger(e){this._trigger=e;}get nzTrigger(){return this._trigger}_trigger="hover";set nzPlacement(e){let t=e.map(n=>r2(_e[n],a2[n]));this._positions=[...t,...Ou];}preferredPlacement="top";origin;_classMap={};_prefix="ant-tooltip";_positions=[...Ou];constructor(){this.destroyRef.onDestroy(()=>{this.nzVisibleChange.complete();});}show(){this.nzVisible||(this.isEmpty()||(this.nzVisible=true,this.nzVisibleChange.next(true),this.cdr.detectChanges()),this.origin&&this.overlay&&this.overlay.overlayRef&&this.overlay.overlayRef.getDirection()==="rtl"&&this.overlay.overlayRef.setDirection("ltr"));}hide(){this.nzVisible&&(this.nzVisible=false,this.nzVisibleChange.next(false),this.cdr.detectChanges());}updateByDirective(){this.updateStyles(),this.cdr.detectChanges(),Promise.resolve().then(()=>{this.updatePosition(),this.updateVisibilityByTitle();});}updatePosition(){this.origin&&this.overlay&&this.overlay.overlayRef&&this.overlay.overlayRef.updatePosition();}onPositionChange(e){this.preferredPlacement=vn(e),this.updateStyles(),this.cdr.detectChanges();}setOverlayOrigin(e){this.origin=e,this.cdr.markForCheck();}onClickOutside(e){if(!this.nzOverlayClickable)return;let t=He(e);!this.origin.nativeElement.contains(t)&&this.nzTrigger!==null&&this.hide();}updateVisibilityByTitle(){this.isEmpty()&&this.hide();}updateStyles(){this._classMap=s(r({},this.transformClassListToMap(this.nzOverlayClassName)),{[`${this._prefix}-placement-${this.preferredPlacement}`]:true});}transformClassListToMap(e){let t={};return (e!==null?e.split(/\s+/):[]).forEach(o=>t[o]=true),t}static \u0275fac=function(t){return new(t||i)};static \u0275dir=XE({type:i,viewQuery:function(t,n){if(t&1&&Ih(lt,5),t&2){let o;qD(o=WD())&&(n.overlay=o.first);}}})}return i})();function ut(i){return i instanceof Er?false:i===""||!j3(i)}var nt=(()=>{class i extends mt{_animationPrefix="ant-zoom-big-fast";nzTitle=null;nzTitleContext=null;nzColor;_arrowStyleMap={};_contentStyleMap={};zoomAnimationEnter=s0(()=>`${this._animationPrefix}-enter ${this._animationPrefix}-enter-active`);zoomAnimationLeave=s0(()=>`${this._animationPrefix}-leave ${this._animationPrefix}-leave-active`);isEmpty(){return ut(this.nzTitle)}updateStyles(){let e=this.nzColor&&N7(this.nzColor);this._classMap=s(r({},this.transformClassListToMap(this.nzOverlayClassName)),{[`${this._prefix}-placement-${this.preferredPlacement}`]:true,[`${this._prefix}-${this.nzColor}`]:e}),this._contentStyleMap={backgroundColor:this.nzColor&&!e?this.nzColor:null},this._arrowStyleMap={"--antd-arrow-background-color":this.nzColor&&!e?this.nzColor:null};}static \u0275fac=(()=>{let e;return function(n){return (e||(e=Sy(i)))(n||i)}})();static \u0275cmp=QE({type:i,selectors:[["nz-tooltip"]],exportAs:["nzTooltipComponent"],features:[eh],decls:2,vars:4,consts:[["overlay","cdkConnectedOverlay"],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"overlayOutsideClick","detach","positionChange","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","nzArrowPointAtCenter"],[1,"ant-tooltip",3,"nzNoAnimation"],[1,"ant-tooltip-arrow"],[1,"ant-tooltip-content"],[1,"ant-tooltip-inner"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"]],template:function(t,n){t&1&&(nh(0,pt,5,13,"ng-template",1,0,Lw),gh("overlayOutsideClick",function(c){return n.onClickOutside(c)})("detach",function(){return n.hide()})("positionChange",function(c){return n.onPositionChange(c)})),t&2&&ch("cdkConnectedOverlayOrigin",n.origin)("cdkConnectedOverlayOpen",n._visible)("cdkConnectedOverlayPositions",n._positions)("nzArrowPointAtCenter",n.nzArrowPointAtCenter);},dependencies:[fn,f1,t4,Tt,Ie,gn,Xa],encapsulation:2})}return i})();var dt=["okBtn"],ft=["cancelBtn"];function zt(i,m){i&1&&lh(0,"div",5);}function ht(i,m){if(i&1&&(el(0),lh(1,"nz-icon",17),tl()),i&2){let e=m.$implicit;gI(),ch("nzType",e||"exclamation-circle");}}function vt(i,m){if(i&1&&(_i(0,"span",10),nh(1,ht,2,1,"ng-container",16),Kc()),i&2){let e=VD(2);gI(),ch("nzStringTemplateOutlet",e.nzIcon);}}function yt(i,m){if(i&1&&(el(0),vw(1),tl()),i&2){let e=VD(2);gI(),nl(" ",e.nzTitle," ");}}function gt(i,m){if(i&1){let e=LD();_i(0,"div",4),oi(function(){Pu(e);let n=VD();return Lu(n.zoomAnimationLeave())}),ri(function(){Pu(e);let n=VD();return Lu(n.zoomAnimationEnter())}),bD(1,zt,1,0,"div",5),_i(2,"div",6)(3,"div",7)(4,"div")(5,"div",8)(6,"div",9),bD(7,vt,2,1,"span",10),_i(8,"div",11),nh(9,yt,2,1,"ng-container",12),Kc()(),_i(10,"div",13)(11,"button",14,1),gh("click",function(){Pu(e);let n=VD();return Lu(n.onCancel())}),Bh(13),Rw(14,"nzI18n"),vw(15),Kc(),_i(16,"button",15,2),gh("click",function(){Pu(e);let n=VD();return Lu(n.onConfirm())}),Bh(18),Rw(19,"nzI18n"),vw(20),Kc()()()()()()();}if(i&2){let e=VD();sw(e.nzOverlayStyle),cw(e._classMap),Mh("ant-popover-rtl",e.dir()==="rtl"),ch("cdkTrapFocusAutoCapture",e.nzAutoFocus!==null)("nzNoAnimation",!!e.noAnimation?.nzNoAnimation?.()),gI(),_D(e.nzPopconfirmShowArrow?1:-1),gI(6),_D(e.nzIcon!==null?7:-1),gI(2),ch("nzStringTemplateOutlet",e.nzTitle)("nzStringTemplateOutletContext",e.nzTitleContext),gI(2),ch("nzDanger",e.nzCancelButtonProps()?.nzDanger)("disabled",e.nzCancelButtonProps()?.nzDisabled),ah("cdkFocusInitial",e.nzAutoFocus==="cancel"||null);let t=e.nzCancelText()||Ow(14,22,"Modal.cancelText");gI(4),nl(" ",t," "),gI(),ch("nzType",e.nzOkButtonProps().nzType)("nzDanger",e.nzOkButtonProps().nzDanger)("nzLoading",e.confirmLoading)("disabled",e.nzOkButtonProps().nzDisabled),ah("cdkFocusInitial",e.nzAutoFocus==="ok"||null);let n=e.nzOkText()||Ow(19,24,"Modal.okText");gI(4),nl(" ",n," ");}}var Ct="popconfirm",Cn=(()=>{let i=tt,m,e=[],t=[],n,o=[],c=[];return class he extends i{static{let C=typeof Symbol=="function"&&Symbol.metadata?Object.create(i[Symbol.metadata]??null):void 0;m=[ut$1()],n=[ut$1()],pT(null,null,m,{kind:"field",name:"nzPopconfirmBackdrop",static:false,private:false,access:{has:a=>"nzPopconfirmBackdrop"in a,get:a=>a.nzPopconfirmBackdrop,set:(a,N)=>{a.nzPopconfirmBackdrop=N;}},metadata:C},e,t),pT(null,null,n,{kind:"field",name:"nzAutofocus",static:false,private:false,access:{has:a=>"nzAutofocus"in a,get:a=>a.nzAutofocus,set:(a,N)=>{a.nzAutofocus=N;}},metadata:C},o,c),C&&Object.defineProperty(this,Symbol.metadata,{enumerable:true,configurable:true,writable:true,value:C});}_nzModuleName=Ct;arrowPointAtCenter;title;titleContext=null;directiveTitle;trigger="click";placement="top";origin;mouseEnterDelay;mouseLeaveDelay;overlayClassName;overlayStyle;visible;nzBeforeConfirm;nzIcon;nzCondition=false;nzPopconfirmShowArrow=true;nzPopconfirmBackdrop=hT(this,e,false);nzAutofocus=(hT(this,t),hT(this,o,null));nzOkText=(hT(this,c),$0(null));nzOkType=$0("primary");nzCancelText=$0(null);nzOkButtonProps=$0(null);nzCancelButtonProps=$0(null);nzOkDisabled=$0(false,{transform:Z0});nzOkDanger=$0(false,{transform:Z0});okButtonProps=Hw(()=>s(r({},this.nzOkButtonProps()),{nzType:this.nzOkButtonProps()?.nzType||this.nzOkType()==="danger"?"primary":this.nzOkType(),nzDanger:this.nzOkDanger()||this.nzOkButtonProps()?.nzDanger||this.nzOkType()==="danger",nzDisabled:this.nzOkDisabled()||this.nzOkButtonProps()?.nzDisabled}));cancelButtonProps=Hw(()=>r({},this.nzCancelButtonProps()));directiveContent=null;content=null;overlayClickable;visibleChange=new Le;nzOnCancel=new Le;nzOnConfirm=new Le;getProxyPropertyMap(){return r({nzOkText:["nzOkText",()=>this.nzOkText],nzCancelText:["nzCancelText",()=>this.nzCancelText],nzOkButtonProps:["nzOkButtonProps",()=>this.okButtonProps],nzCancelButtonProps:["nzCancelButtonProps",()=>this.cancelButtonProps],nzBeforeConfirm:["nzBeforeConfirm",()=>this.nzBeforeConfirm],nzCondition:["nzCondition",()=>this.nzCondition],nzIcon:["nzIcon",()=>this.nzIcon],nzPopconfirmShowArrow:["nzPopconfirmShowArrow",()=>this.nzPopconfirmShowArrow],nzPopconfirmBackdrop:["nzBackdrop",()=>this.nzPopconfirmBackdrop],nzPopconfirmContext:["nzTitleContext",()=>this.titleContext],nzAutoFocus:["nzAutoFocus",()=>this.nzAutofocus]},super.getProxyPropertyMap())}constructor(){super(it);}createComponent(){super.createComponent(),this.component.nzOnCancel.pipe(Rt(this.destroyRef)).subscribe(()=>{this.nzOnCancel.emit();}),this.component.nzOnConfirm.pipe(Rt(this.destroyRef)).subscribe(()=>{this.nzOnConfirm.emit();});}static \u0275fac=function(a){return new(a||he)};static \u0275dir=XE({type:he,selectors:[["","nz-popconfirm",""]],hostVars:2,hostBindings:function(a,N){a&2&&Mh("ant-popover-open",N.visible);},inputs:{arrowPointAtCenter:[2,"nzPopconfirmArrowPointAtCenter","arrowPointAtCenter",Z0],title:[0,"nzPopconfirmTitle","title"],titleContext:[0,"nzPopconfirmTitleContext","titleContext"],directiveTitle:[0,"nz-popconfirm","directiveTitle"],trigger:[0,"nzPopconfirmTrigger","trigger"],placement:[0,"nzPopconfirmPlacement","placement"],origin:[0,"nzPopconfirmOrigin","origin"],mouseEnterDelay:[0,"nzPopconfirmMouseEnterDelay","mouseEnterDelay"],mouseLeaveDelay:[0,"nzPopconfirmMouseLeaveDelay","mouseLeaveDelay"],overlayClassName:[0,"nzPopconfirmOverlayClassName","overlayClassName"],overlayStyle:[0,"nzPopconfirmOverlayStyle","overlayStyle"],visible:[0,"nzPopconfirmVisible","visible"],nzBeforeConfirm:"nzBeforeConfirm",nzIcon:"nzIcon",nzCondition:[2,"nzCondition","nzCondition",Z0],nzPopconfirmShowArrow:[2,"nzPopconfirmShowArrow","nzPopconfirmShowArrow",Z0],nzPopconfirmBackdrop:"nzPopconfirmBackdrop",nzAutofocus:"nzAutofocus",nzOkText:[1,"nzOkText"],nzOkType:[1,"nzOkType"],nzCancelText:[1,"nzCancelText"],nzOkButtonProps:[1,"nzOkButtonProps"],nzCancelButtonProps:[1,"nzCancelButtonProps"],nzOkDisabled:[1,"nzOkDisabled"],nzOkDanger:[1,"nzOkDanger"]},outputs:{visibleChange:"nzPopconfirmVisibleChange",nzOnCancel:"nzOnCancel",nzOnConfirm:"nzOnConfirm"},exportAs:["nzPopconfirm"],features:[eh]})}})(),it=(()=>{class i extends nt{_animationPrefix="ant-zoom-big";okBtn;cancelBtn;nzCondition=false;nzPopconfirmShowArrow=true;nzIcon;nzAutoFocus=null;nzBeforeConfirm=null;nzOkText=qo(null);nzCancelText=qo(null);nzOkButtonProps=qo({nzType:"primary"});nzCancelButtonProps=qo(null);nzOnCancel=new re;nzOnConfirm=new re;_trigger="click";elementFocusedBeforeModalWasOpened=null;document=C(Uo);_prefix="ant-popover";confirmLoading=false;constructor(){super(),this.destroyRef.onDestroy(()=>{this.nzVisibleChange.complete();});}show(){this.nzCondition?this.onConfirm():(this.capturePreviouslyFocusedElement(),super.show());}hide(){super.hide(),this.restoreFocus();}handleConfirm(){this.nzOnConfirm.next(),super.hide();}onCancel(){this.nzOnCancel.next(),super.hide();}onConfirm(){this.nzBeforeConfirm?(this.confirmLoading=true,this.cdr.markForCheck(),k8(this.nzBeforeConfirm()).pipe(em(),on(Boolean),Ul(()=>{this.confirmLoading=false,this.cdr.markForCheck();})).subscribe(()=>this.handleConfirm())):this.handleConfirm();}capturePreviouslyFocusedElement(){this.document&&(this.elementFocusedBeforeModalWasOpened=this.document.activeElement);}restoreFocus(){this.elementFocusedBeforeModalWasOpened?.focus();}static \u0275fac=function(t){return new(t||i)};static \u0275cmp=QE({type:i,selectors:[["nz-popconfirm"]],viewQuery:function(t,n){if(t&1&&Ih(dt,5,_r)(ft,5,_r),t&2){let o;qD(o=WD())&&(n.okBtn=o),qD(o=WD())&&(n.cancelBtn=o);}},exportAs:["nzPopconfirmComponent"],features:[eh],decls:2,vars:5,consts:[["overlay","cdkConnectedOverlay"],["cancelBtn",""],["okBtn",""],["cdkConnectedOverlay","","nzConnectedOverlay","",3,"overlayOutsideClick","detach","positionChange","cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayOpen","nzArrowPointAtCenter"],["cdkTrapFocus","",1,"ant-popover",3,"cdkTrapFocusAutoCapture","nzNoAnimation"],[1,"ant-popover-arrow"],[1,"ant-popover-content"],[1,"ant-popover-inner"],[1,"ant-popover-inner-content"],[1,"ant-popover-message"],[1,"ant-popover-message-icon"],[1,"ant-popover-message-title"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],[1,"ant-popover-buttons"],["nz-button","","nzSize","small",3,"click","nzDanger","disabled"],["nz-button","","nzSize","small",3,"click","nzType","nzDanger","nzLoading","disabled"],[4,"nzStringTemplateOutlet"],["nzTheme","fill",3,"nzType"]],template:function(t,n){t&1&&(nh(0,gt,21,26,"ng-template",3,0,Lw),gh("overlayOutsideClick",function(c){return n.onClickOutside(c)})("detach",function(){return n.hide()})("positionChange",function(c){return n.onPositionChange(c)})),t&2&&ch("cdkConnectedOverlayHasBackdrop",n.nzBackdrop)("cdkConnectedOverlayOrigin",n.origin)("cdkConnectedOverlayPositions",n._positions)("cdkConnectedOverlayOpen",n._visible)("nzArrowPointAtCenter",n.nzArrowPointAtCenter);},dependencies:[fn,f1,gn,Xa,Ts,Vs,t4,Tt,Ie,pt$1,Se,sd,zc,t7,y7,Wy,Uy],encapsulation:2})}return i})(),_n=(()=>{class i{static \u0275fac=function(t){return new(t||i)};static \u0275mod=YE({type:i});static \u0275inj=uu({imports:[it]})}return i})();export{Cn as C,_n as _};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {G as Gn,u as un}from'./chunk-
|
|
1
|
+
import {G as Gn,u as un}from'./chunk-B4PXIvtd.js';import {U as U$1}from'./chunk-VW6e_Kls.js';import {f}from'./chunk-DZ8K8fY1.js';import {e as et,U as U$2,G,i as it,v as vt}from'./chunk-BnjE7sDc.js';import {W as W$1,I}from'./chunk-CECejZs9.js';import'./chunk-BaL0hYvK.js';import'./chunk-Ca9rxJZS.js';import'./chunk-DS5k0b_s.js';import {C,W,U,a as ar,b as at,q as qo,H as Hw,R as Rt,X as rd,Y as Bw,c as qe$1,Q as QE,F as Fn,M as Mt,d as sd,z as zc,e as t7,Z as y7,f as ec,g as _i,m as bD,K as Kc,p as gI,A as _D,a0 as $0,a1 as B0,v as vw,h as Rw,P as Ph,O as Ow,B as VD,L as LD,j as gh,u as nl,a2 as Pw,a3 as xw,w as ch,N as ND,y as xD,l as lh,E as Pu,G as Lu,a4 as Mh,a5 as ah,a6 as Nw,a7 as MD}from'./main-5C7K2447.js';var de=t=>({index:t}),ce=()=>[],Ce=(t,s)=>s.definition.id,ge=(t,s)=>s.index;function be(t,s){if(t&1){let e=LD();_i(0,"div",1)(1,"button",2),gh("click",function(){Pu(e);let o=VD();return Lu(o.closeIteration())}),vw(2),Rw(3,"transloco"),Kc(),_i(4,"p",3),vw(5),Rw(6,"transloco"),Kc(),_i(7,"app-job-step-workspace",4),gh("selectExecution",function(o){Pu(e);let m=VD();return Lu(m.onNestedSelect(o))}),Kc()();}if(t&2){let e=s,i=VD();gI(2),nl(" ",Ow(3,9,"jobs.detail.loopBack")," "),gI(3),nl(" ",Pw(6,11,"jobs.detail.loopIteration",xw(14,de,e.index+1))," "),gI(2),ch("definitions",i.nestedLoopDefinition().steps)("executions",e.stepExecutions)("job",i.job())("selectedExecutionId",i.nestedSelectedId())("currentExecutionId",null)("waitingEvent",null)("canResume",false);}}function he(t,s){if(t&1&&(_i(0,"nz-tag"),vw(1),Rw(2,"transloco"),Kc()),t&2){let e=VD().$implicit,i=VD(2);ah("data-testid","step-status-"+e.definition.id),gI(),Ph(Ow(2,2,i.stepStatusKey(s.status)));}}function ve(t,s){if(t&1){let e=LD();_i(0,"li")(1,"button",9),gh("click",function(){let o=Pu(e).$implicit,m=VD(2);return Lu(m.onStepClick(o))}),_i(2,"span",10),vw(3),Kc(),_i(4,"span",11)(5,"span",12),vw(6),Rw(7,"transloco"),Kc(),bD(8,he,3,4,"nz-tag"),Kc()()();}if(t&2){let e,i=s.$implicit,o=VD(2);gI(),Mh("selected",o.isSelected(i))("current",o.isCurrent(i))("unreached",!i.reached),ch("disabled",!i.reached),ah("data-testid","step-"+i.definition.id),gI(2),Ph(i.definition.name),gI(3),Ph(Ow(7,11,o.stepTypeKey(i.definition.type))),gI(2),_D((e=i.execution)?8:-1,e);}}function Ee(t,s){t&1&&(_i(0,"p",8),vw(1),Rw(2,"transloco"),Kc()),t&2&&(gI(),nl(" ",Ow(2,1,"jobs.detail.noStepSelected")," "));}function Se(t,s){t&1&&(_i(0,"p",16),vw(1),Rw(2,"transloco"),Kc()),t&2&&(gI(),Ph(Ow(2,1,"jobs.detail.inProgress.loop")));}function we(t,s){if(t&1){let e=LD();_i(0,"li")(1,"button",19),gh("click",function(){let o=Pu(e).$implicit,m=VD(4);return Lu(m.openIteration(m.selectedDefinition(),o))}),vw(2),Rw(3,"transloco"),Kc()();}if(t&2){let e=s.$implicit;gI(),ah("data-testid","loop-iteration-"+e.index),gI(),nl(" ",Pw(3,2,"jobs.detail.loopIteration",xw(5,de,e.index+1))," ");}}function Ie(t,s){t&1&&(_i(0,"li",12),vw(1),Rw(2,"transloco"),Kc()),t&2&&(gI(),Ph(Ow(2,1,"jobs.detail.noIterations")));}function Te(t,s){if(t&1&&(_i(0,"p",18),vw(1),Kc()),t&2){let e=VD(4);gI(),Ph(e.selectedExecution().error);}}function ke(t,s){if(t&1&&(_i(0,"div",13)(1,"h3"),vw(2),Kc(),bD(3,Se,3,3,"p",16),_i(4,"ul",17),ND(5,we,4,7,"li",null,ge,false,Ie,3,3,"li",12),Kc(),bD(8,Te,2,1,"p",18),Kc()),t&2){let e=VD(3);gI(2),Ph(e.selectedDefinition()?.name),gI(),_D(e.isRunning(e.selectedExecution())?3:-1),gI(2),xD(e.selectedExecution().iterations??Nw(4,ce)),gI(3),_D(e.selectedExecution().error?8:-1);}}function Me(t,s){t&1&&(_i(0,"p",16),vw(1),Rw(2,"transloco"),Kc()),t&2&&(gI(),nl(" ",Ow(2,1,"jobs.detail.inProgress.sub_workflow")," "));}function ye(t,s){if(t&1&&(_i(0,"p",18),vw(1),Kc()),t&2){let e=VD(4);gI(),Ph(e.selectedExecution().error);}}function je(t,s){if(t&1&&(_i(0,"div",14)(1,"h3"),vw(2),Kc(),bD(3,Me,3,3,"p",16),lh(4,"app-job-status-table",20),bD(5,ye,2,1,"p",18),Kc()),t&2){let e=VD(3);gI(2),Ph(e.selectedDefinition()?.name),gI(),_D(e.isRunning(e.selectedExecution())?3:-1),gI(),ch("jobIds",e.selectedExecution().childJobIds??Nw(4,ce)),gI(),_D(e.selectedExecution().error?5:-1);}}function De(t,s){if(t&1&&(_i(0,"li"),vw(1),Kc()),t&2){let e=s.$implicit;gI(),Ph(e);}}function Je(t,s){t&1&&(_i(0,"li",12),vw(1),Rw(2,"transloco"),Kc()),t&2&&(gI(),Ph(Ow(2,1,"jobs.resume.noQuestions")));}function Pe(t,s){if(t&1&&(_i(0,"p",25),vw(1),Kc()),t&2){let e=VD(5);gI(),Ph(e.resumeParseError());}}function Ne(t,s){if(t&1){let e=LD();_i(0,"section",21)(1,"h4"),vw(2),Rw(3,"transloco"),Kc(),_i(4,"ul",23),ND(5,De,2,1,"li",null,MD,false,Je,3,3,"li",12),Kc(),_i(8,"label"),vw(9),Rw(10,"transloco"),_i(11,"textarea",24),gh("input",function(o){Pu(e);let m=VD(4);return Lu(m.onResumeTextInput(o))}),Kc()(),bD(12,Pe,2,1,"p",25),_i(13,"button",26),gh("click",function(){Pu(e);let o=VD(4);return Lu(o.resumeSubmit.emit())}),vw(14),Rw(15,"transloco"),Kc()();}if(t&2){let e=VD(4);gI(2),Ph(Ow(3,7,"jobs.resume.heading")),gI(3),xD(e.waitingPrompts()),gI(4),nl(" ",Ow(10,9,"jobs.resume.jsonLabel")," "),gI(2),ch("value",e.resumeText()),gI(),_D(e.resumeParseError()?12:-1),gI(),ch("disabled",e.resuming()),gI(),nl(" ",Ow(15,11,e.resuming()?"jobs.resume.submitting":"jobs.resume.button")," ");}}function Oe(t,s){if(t&1&&(_i(0,"pre",22),vw(1),Kc()),t&2){let e=VD(4);gI(),Ph(e.formatOutput(e.selectedExecution()));}}function We(t,s){if(t&1&&(_i(0,"div",15)(1,"h3"),vw(2),Kc(),bD(3,Ne,16,13,"section",21)(4,Oe,2,1,"pre",22),Kc()),t&2){let e=VD(3);gI(2),Ph(e.selectedDefinition()?.name),gI(),_D(e.showResume()?3:4);}}function ze(t,s){if(t&1&&(_i(0,"p",16),vw(1),Rw(2,"transloco"),Kc()),t&2){let e=VD(4);gI(),nl(" ",Ow(2,1,"jobs.detail.inProgress."+e.selectedExecution().type)," ");}}function Re(t,s){if(t&1&&(_i(0,"p",27),vw(1),Kc()),t&2){let e=VD(4);gI(),Ph(e.selectedExecution().error);}}function Be(t,s){if(t&1&&(_i(0,"pre",22),vw(1),Kc()),t&2){let e=VD(4);gI(),Ph(e.formatOutput(e.selectedExecution()));}}function Fe(t,s){if(t&1&&(_i(0,"div")(1,"h3"),vw(2),Kc(),bD(3,ze,3,3,"p",16)(4,Re,2,1,"p",27)(5,Be,2,1,"pre",22),Kc()),t&2){let e=VD(3);ah("data-testid",e.selectedExecution().type+"-view"),gI(2),Ph(e.selectedDefinition()?.name),gI(),_D(e.isRunning(e.selectedExecution())?3:e.selectedExecution().error?4:5);}}function Ve(t,s){if(t&1&&bD(0,ke,9,5,"div",13)(1,je,6,5,"div",14)(2,We,5,2,"div",15)(3,Fe,6,3,"div"),t&2){let e,i=VD(2);_D((e=i.selectedExecution().type)==="loop"?0:e==="sub_workflow"?1:e==="interaction"?2:3);}}function Le(t,s){if(t&1&&(_i(0,"aside",5)(1,"h3"),vw(2),Rw(3,"transloco"),Kc(),_i(4,"ul",6),ND(5,ve,9,13,"li",null,Ce),Kc()(),_i(7,"section",7),bD(8,Ee,3,3,"p",8)(9,Ve,4,1),Kc()),t&2){let e=VD();gI(2),Ph(Ow(3,2,"jobs.detail.stepsHeading")),gI(3),xD(e.rows()),gI(3),_D(e.selectedExecution()?9:8);}}var pe=(()=>{class t{constructor(){this.definitions=$0.required(),this.executions=$0.required(),this.job=$0.required(),this.selectedExecutionId=$0(null),this.currentExecutionId=$0(null),this.waitingEvent=$0(null),this.resumeText=$0(`{
|
|
2
2
|
|
|
3
3
|
}`),this.resumeParseError=$0(null),this.resuming=$0(false),this.canResume=$0(false),this.selectExecution=B0(),this.resumeTextChange=B0(),this.resumeSubmit=B0(),this.nestedIteration=qo(null),this.nestedLoopDefinition=qo(null),this.nestedSelectedId=qo(null),this.rows=Hw(()=>it(this.definitions(),this.executions())),this.selectedExecution=Hw(()=>{let e=this.selectedExecutionId();return e?this.executions().find(i=>i.id===e)??null:null}),this.selectedDefinition=Hw(()=>{let e=this.selectedExecution();return e?this.definitions().find(i=>i.id===e.stepDefinitionId)??null:null}),this.waitingPrompts=Hw(()=>{let e=this.waitingEvent();return e?e.questions.length>0?e.questions:e.data!=null?[JSON.stringify(e.data,null,2)]:[]:[]}),this.showResume=Hw(()=>{if(!this.canResume())return false;let e=this.selectedExecution(),i=this.currentExecutionId();return e!=null&&e.id===i&&e.type==="interaction"&&this.job().status==="waiting_for_human"});}stepStatusKey(e){return `jobs.stepStatus.${e}`}stepTypeKey(e){return `step-list.stepType.${e}`}onStepClick(e){!e.reached||!e.execution||(this.nestedIteration.set(null),this.nestedLoopDefinition.set(null),this.selectExecution.emit(e.execution.id));}openIteration(e,i){this.nestedLoopDefinition.set(e),this.nestedIteration.set(i);let o=i.stepExecutions[0];this.nestedSelectedId.set(o?.id??null);}closeIteration(){this.nestedIteration.set(null),this.nestedLoopDefinition.set(null),this.nestedSelectedId.set(null);}onNestedSelect(e){this.nestedSelectedId.set(e);}onResumeTextInput(e){this.resumeTextChange.emit(e.target.value);}formatOutput(e){return e.error?e.error:e.output===void 0?"":typeof e.output=="string"?e.output:JSON.stringify(e.output,null,2)}isRunning(e){return e?.status==="running"}isSelected(e){return e.execution!=null&&e.execution.id===this.selectedExecutionId()}isCurrent(e){return e.execution!=null&&e.execution.id===this.currentExecutionId()}static{this.\u0275fac=function(i){return new(i||t)};}static{this.\u0275cmp=QE({type:t,selectors:[["app-job-step-workspace"]],inputs:{definitions:[1,"definitions"],executions:[1,"executions"],job:[1,"job"],selectedExecutionId:[1,"selectedExecutionId"],currentExecutionId:[1,"currentExecutionId"],waitingEvent:[1,"waitingEvent"],resumeText:[1,"resumeText"],resumeParseError:[1,"resumeParseError"],resuming:[1,"resuming"],canResume:[1,"canResume"]},outputs:{selectExecution:"selectExecution",resumeTextChange:"resumeTextChange",resumeSubmit:"resumeSubmit"},decls:3,vars:1,consts:[["data-testid","job-step-workspace",1,"workspace"],["data-testid","loop-drill-in",1,"nested"],["nz-button","","nzType","link","type","button","data-testid","loop-back",3,"click"],[1,"nested-label"],[3,"selectExecution","definitions","executions","job","selectedExecutionId","currentExecutionId","waitingEvent","canResume"],["data-testid","step-side-panel",1,"side-panel"],[1,"step-list"],["data-testid","step-main-area",1,"main-area"],["data-testid","no-step-selected",1,"muted"],["type","button",1,"step-button",3,"click","disabled"],[1,"step-name"],[1,"step-meta"],[1,"muted"],["data-testid","loop-view"],["data-testid","sub-workflow-view"],["data-testid","interaction-view"],["data-testid","step-in-progress"],["data-testid","loop-iterations",1,"iteration-list"],[1,"error"],["nz-button","","nzType","link","type","button",3,"click"],[3,"jobIds"],["data-testid","resume-form",1,"resume"],["data-testid","step-output"],["data-testid","waiting-questions"],["data-testid","resume-json","rows","8",3,"input","value"],["data-testid","resume-parse-error",1,"error"],["nz-button","","nzType","primary","type","button","data-testid","resume-button",3,"click","disabled"],["data-testid","step-error",1,"error"]],template:function(i,o){if(i&1&&(_i(0,"div",0),bD(1,be,8,16,"div",1)(2,Le,10,4),Kc()),i&2){let m;gI(),_D((m=o.nestedIteration())?1:2,m);}},dependencies:[t,Fn,sd,zc,t7,y7,W$1,I,vt,ec],styles:[".workspace[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(14rem,18rem) 1fr;gap:1rem;align-items:start;min-height:20rem}.nested[_ngcontent-%COMP%]{grid-column:1 / -1}.nested-label[_ngcontent-%COMP%]{margin:0 0 .75rem;color:#57534e}.side-panel[_ngcontent-%COMP%]{border:1px solid #d6d3d1;background:#ffffffbf;padding:.75rem}.side-panel[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:0 0 .5rem;font-size:1rem}.step-list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.35rem}.step-button[_ngcontent-%COMP%]{width:100%;text-align:left;font:inherit;padding:.45rem .55rem;border:1px solid transparent;background:transparent;cursor:pointer;display:flex;flex-direction:column;gap:.2rem}.step-button[_ngcontent-%COMP%]:hover:not(:disabled){background:#f5f5f4}.step-button.selected[_ngcontent-%COMP%]{border-color:#a8a29e;background:#fafaf9}.step-button.current[_ngcontent-%COMP%]{box-shadow:inset 3px 0 #0c0a09}.step-button[_ngcontent-%COMP%]:disabled, .step-button.unreached[_ngcontent-%COMP%]{opacity:.55;cursor:not-allowed}.step-name[_ngcontent-%COMP%]{font-weight:600}.step-meta[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:.35rem;align-items:center;font-size:.8rem}.main-area[_ngcontent-%COMP%]{border:1px solid #d6d3d1;background:#ffffffd9;padding:1rem;min-height:16rem}.main-area[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-top:0}.muted[_ngcontent-%COMP%]{color:#78716c}.error[_ngcontent-%COMP%]{color:#9f1239}pre[_ngcontent-%COMP%]{overflow:auto;padding:.75rem;background:#f5f5f4;border:1px solid #d6d3d1;font-size:.85rem}.iteration-list[_ngcontent-%COMP%]{padding-left:1.1rem}.resume[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.35rem;margin:.75rem 0}.resume[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{font:inherit;font-family:ui-monospace,Consolas,monospace;padding:.4rem .5rem;border:1px solid #a8a29e}@media(max-width:48rem){.workspace[_ngcontent-%COMP%]{grid-template-columns:1fr}}"]});}}return t})();function Ae(t,s){t&1&&(_i(0,"p",1),vw(1),Rw(2,"transloco"),Kc()),t&2&&(gI(),Ph(Ow(2,1,"common.loading")));}function $e(t,s){if(t&1&&(_i(0,"p",2),vw(1),Kc()),t&2){let e=VD();gI(),Ph(e.loadError());}}function qe(t,s){if(t&1){let e=LD();_i(0,"button",15),gh("click",function(){Pu(e);let o=VD(2);return Lu(o.jumpToCurrent())}),vw(1),Rw(2,"transloco"),Kc();}t&2&&(gI(),nl(" ",Ow(2,1,"jobs.detail.jumpToCurrent")," "));}function Ke(t,s){if(t&1&&(_i(0,"p",11),vw(1),Kc()),t&2){let e=VD(2);gI(),Ph(e.actionError());}}function Qe(t,s){t&1&&(lh(0,"nz-alert",12),Rw(1,"transloco")),t&2&&ch("nzMessage",Ow(1,1,"jobs.detail.queued"));}function He(t,s){if(t&1){let e=LD();_i(0,"app-job-step-workspace",16),gh("selectExecution",function(o){Pu(e);let m=VD(2);return Lu(m.onSelectExecution(o))})("resumeTextChange",function(o){Pu(e);let m=VD(2);return Lu(m.setResumeText(o))})("resumeSubmit",function(){Pu(e);let o=VD(2);return Lu(o.submitResume())}),Kc();}if(t&2){let e=VD(),i=VD();ch("definitions",s.steps)("executions",e.stepHistory)("job",e)("selectedExecutionId",i.viewedExecutionId())("currentExecutionId",i.currentStep()?.id??null)("waitingEvent",i.waitingEvent())("resumeText",i.resumeText())("resumeParseError",i.resumeParseError())("resuming",i.resuming())("canResume",true);}}function Ue(t,s){t&1&&(_i(0,"p",14),vw(1),Rw(2,"transloco"),Kc()),t&2&&(gI(),nl(" ",Ow(2,1,"jobs.detail.workflowMissing")," "));}function Ge(t,s){if(t&1&&(_i(0,"header",3)(1,"div")(2,"a",4),vw(3),Rw(4,"transloco"),Kc(),_i(5,"h1",5),vw(6),Kc(),_i(7,"p",6)(8,"span",7),vw(9),Kc(),vw(10," \xB7 "),_i(11,"nz-tag",8),vw(12),Rw(13,"transloco"),Kc(),vw(14," \xB7 "),_i(15,"span",9),vw(16),Kc()()(),bD(17,qe,3,3,"button",10),Kc(),bD(18,Ke,2,1,"p",11),bD(19,Qe,2,3,"nz-alert",12)(20,He,1,10,"app-job-step-workspace",13)(21,Ue,3,3,"p",14)),t&2){let e,i=s,o=VD();gI(3),Ph(Ow(4,8,"jobs.detail.backToStart")),gI(3),Ph(i.id),gI(3),Ph(i.workflowId),gI(3),Ph(Ow(13,10,o.statusKey(i.status))),gI(4),Ph(o.subjectText()),gI(),_D(o.showJumpToCurrent()?17:-1),gI(),_D(o.actionError()?18:-1),gI(),_D(o.showQueued()?19:(e=o.workflow())?20:21,e);}}var Et=(()=>{class t{constructor(){this.route=C(W),this.jobsApi=C(U),this.workflowsApi=C(U$1),this.eventsService=C(f),this.transloco=C(ar),this.destroyRef=C(at),this.job=qo(null),this.workflow=qo(null),this.loading=qo(true),this.loadError=qo(null),this.actionError=qo(null),this.eventStream=qo(null),this.eventsSnapshot=qo([]),this.autoFollow=qo(true),this.viewedExecutionId=qo(null),this.resumeText=qo(`{
|
|
4
4
|
|