import{a as x}from"./chunk-2OMEXF4T.js";import{a as i}from"./chunk-44QN564A.js";import"./chunk-THKS2M3R.js";import{c as C,e as y,s as D}from"./chunk-GJIGZB63.js";import"./chunk-4LZAXRJQ.js";import"./chunk-5VDVFGVW.js";import{i as T,p as k}from"./chunk-NLMVBXFK.js";import"./chunk-KUS3L5XF.js";import{Bc as h,Eb as d,Fb as m,Fd as v,Ib as l,Jc as u,Zc as g,cc as f,dc as p,fa as n,la as c,p as a,sb as r}from"./chunk-J476KISY.js";var P=(()=>{class e extends i{constructor(o,t,s,S,b){super(),this.route=o,this.translateService=t,this.securityFeatureService=s,this.casesService=S,this.cdr=b,this.destroy$=new a,this.currentCase=null,this.isLoading=!1,this.tasks=[]}ngOnInit(){console.log("PerformedTasksTab: ngOnInit called"),this.loadCaseData()}ngOnDestroy(){console.log("PerformedTasksTab: ngOnDestroy called"),this.destroy$.next(),this.destroy$.complete()}loadCaseData(){this.casesService.model$.pipe(n(this.destroy$)).subscribe(o=>{this.currentCase=o,this.loadTasks(),this.cdr.detectChanges()})}loadTasks(){this.tasks=[],console.log("PerformedTasksTab: Loading tasks for case:",this.currentCase?.costDrv)}saveData(){console.log("PerformedTasksTab: Save action triggered")}refreshData(){console.log("PerformedTasksTab: Refresh action triggered"),this.loadTasks()}exportData(){console.log("PerformedTasksTab: Export action triggered")}static{this.\u0275fac=function(t){return new(t||e)(r(T),r(C),r(D),r(x),r(g))}}static{this.\u0275cmp=d({type:e,selectors:[["paw-performed-tasks"]],standalone:!1,features:[u([{provide:i,useExisting:e}]),l],decls:3,vars:0,consts:[[1,"paw-holder","paw-offset"]],template:function(t,s){t&1&&(f(0,"div",0)(1,"p"),h(2,"Ova komponenta \u0107e biti implementirana naknadno."),p()())},styles:["h2[_ngcontent-%COMP%]{color:var(--theme-text-color);margin-bottom:16px}p[_ngcontent-%COMP%]{color:var(--theme-text-secondary-color)}"],changeDetection:0})}}return e})();var I=[{path:"",component:P}],U=(()=>{class e{static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275mod=m({type:e})}static{this.\u0275inj=c({imports:[v,y,k.forChild(I)]})}}return e})();export{U as PerformedTasksModule};
