1import{ca as T,da as w,nb as P,vd as E}from"./chunk-BPMIFNOR.js";import"./chunk-QNI5GR7H.js";import{wa as y}from"./chunk-3SOHUSEO.js";import{Db as h,Fb as m,Hb as x,Ta as l,Wb as r,Ya as c,_a as C,af as S,bf as M,ic as u,mb as v,ob as g,sd as _,tb as p,ub as e,vb as n,wa as f,wb as b,xa as k}from"./chunk-XG6YRYXO.js";var d=()=>({autofocus:!1});function j(o,i){if(o&1){let B=h();e(0,"p-button",11),m("click",function(){f(B);let t=x();return k(t.onClickClose())}),e(1,"span",4),r(2,"Close task manager"),n()()}o&2&&p("buttonProps",u(2,d))("outlined",!0)}var J=(()=>{let i=class i{constructor(a,t,s){this.router=a,this.taskService=t,this.viewportService=s}get isMobile(){return this.viewportService.isMobile()}onClickBack(){this.router.navigate(["/tasks"])}onClickClose(){this.router.navigate(["/dashboard"])}onClickRefresh(){this.taskService.refreshCompletedTasks().subscribe()}};i.\u0275fac=function(t){return new(t||i)(c(_),c(P),c(y))},i.\u0275cmp=C({type:i,selectors:[["fm-task-manager-completed-page"]],decls:15,vars:6,consts:[[1,"flex","flex-col","h-full","w-full","bg-p-content-background"],[1,"flex","items-center","justify-between","gap-2","w-full","px-6","pt-6","pb-2"],[1,"flex","items-center","gap-2","min-w-0","flex-1"],["severity","secondary","size","small","styleClass","aspect-square shrink-0","icon","pi pi-arrow-left",3,"click","buttonProps"],[1,"sr-only"],[1,"m-0","text-2xl","font-semibold","text-color","truncate"],[1,"flex","items-center","gap-2","shrink-0"],["severity","secondary","size","small","styleClass","aspect-square","pTooltip","Refresh","tooltipPosition","bottom","icon","pi pi-sync",3,"click","buttonProps","outlined"],["severity","secondary","size","small","styleClass","aspect-square shrink-0","icon","pi pi-times",3,"buttonProps","outlined"],[1,"flex","flex-col","flex-1","min-h-0","w-full","max-w-[480px]","mx-auto"],[1,"flex","flex-1","min-h-0","w-full"],["severity","secondary","size","small","styleClass","aspect-square shrink-0","icon","pi pi-times",3,"click","buttonProps","outlined"]],template:function(t,s){t&1&&(e(0,"div",0)(1,"div",1)(2,"div",2)(3,"p-button",3),m("click",function(){return s.onClickBack()}),e(4,"span",4),r(5,"Back to task manager"),n()(),e(6,"h1",5),r(7,"Completed Tasks"),n()(),e(8,"div",6)(9,"p-button",7),m("click",function(){return s.onClickRefresh()}),e(10,"span",4),r(11,"Refresh completed tasks"),n()(),v(12,j,3,3,"p-button",8),n()(),e(13,"div",9),b(14,"fm-task-manager-completed-tasks",10),n()()),t&2&&(l(3),p("buttonProps",u(4,d)),l(6),p("buttonProps",u(5,d))("outlined",!0),l(3),g(s.isMobile?-1:12))},dependencies:[M,S,w,T,E],encapsulation:2,changeDetection:0});let o=i;return o})();export{J as TaskManagerCompletedPageComponent}; 2//# sourceMappingURL=chunk-VE6CCNR7.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.