1import{Cf as L,Df as O,Eb as N,Ef as z,Ub as R,Va as v,gd as j,ia as P,ja as k,jd as H,ma as D}from"./chunk-XKEW5C3F.js";import{$c as b,Ab as s,Bb as d,Cc as u,Dc as T,Fb as w,Lb as C,Ld as E,Nb as p,Ra as i,Sa as g,ac as m,bb as M,bc as y,cb as V,cc as f,fb as B,ga as S,ib as x,ob as a,qc as F,ra as h,rb as c,sa as _,zb as r}from"./chunk-BZNCKEIH.js";function A(t,l){if(t&1&&(r(0,"r-text",5),m(1),u(2,"tr"),s()),t&2){let e=p();c("warning"),i(),f(" ",T(2,3,e.data.msg)," ")}}function K(t,l){if(t&1){let e=w();r(0,"div",6)(1,"r-button",7),C("click",function(){h(e);let n=p();return _(n.OpenMsv())}),m(2),u(3,"tr"),s()()}t&2&&(i(),c("accent"),a("type","prominent"),i(),y(T(3,4,"*.BtnMsv")))}function q(t,l){if(t&1){let e=w();r(0,"div",8)(1,"r-button",7),C("click",function(){h(e);let n=p();return _(n.startTofesTiulim())}),m(2),u(3,"tr"),s()()}t&2&&(i(),c("accent"),a("type","prominent"),i(),y(T(3,4,"*.StartTofesTiulim")))}function G(t,l){t&1&&(r(0,"div",9),d(1,"r-loading"),s())}function J(t,l){if(t&1&&(r(0,"div")(1,"div",11),m(2),s(),r(3,"div",12),m(4),s(),r(5,"div",12),m(6),s()()),t&2){let e=p(2);i(2),f(" ",e.data.ptShm,""),i(2),f(" ",e.data.msl,""),i(2),f(" ",e.data.hit,"")}}function Q(t,l){if(t&1&&(r(0,"div"),x(1,J,7,3,"div",4),r(2,"div"),d(3,"r-collapsed-view",10),s()()),t&2){let e=p();i(),a("ngIf",e.data.mng==1),i(2),a("collapsedViewItem",e.data.tofesTiulim)}}var I=(()=>{class t extends R{constructor(e,o){super(e),this.formService=e,this.popupService=o,this.tofesTiulim=void 0,this.loading=!1,this.msgArr=["IfNotShowMaazan","MustHaveMaazan","ResetTofesTiulimIfEndHovot","DK","HaveDuty","StatusNotMatch","NoLastYearPdg","InProcess","LastYearPdgMsgStatus","StartTofesTiulim","CloseTofesTiulim"],this.afterInitData=()=>{this.detachFromReuse()}}startTofesTiulim(){this.loading=!0,this.data.showStartTofesTiulimBtn=!1,this.formService.post("LoadData",{},e=>{this.data.tofesTiulim=e.tofesTiulim,this.data.showStartTofesTiulimBtn=e.showStartTofesTiulimBtn,this.data.msg=e.msg,this.loading=!1})}OpenMsv(){if(this.data.showMsvBtn==!0){let e=this.popupService.open("feedback",this.data.msvParams)}}static{this.\u0275fac=function(o){return new(o||t)(g(v),g(N))}}static{this.\u0275cmp=M({type:t,selectors:[["ng-component"]],standalone:!1,features:[F([v]),B],decls:7,vars:5,consts:[["type","prominent",3,"style",4,"ngIf"],["class","text-end btn-msv",4,"ngIf"],["class","center",4,"ngIf"],["class","loading",4,"ngIf"],[4,"ngIf"],["type","prominent"],[1,"text-end","btn-msv"],[3,"click","type"],[1,"center"],[1,"loading"],[3,"collapsedViewItem"],[1,"btn-msv","text-primary","font-thick"],[1,"text-primary","font-thick"]],template:function(o,n){o&1&&(d(0,"form-header"),x(1,A,3,5,"r-text",0)(2,K,4,6,"div",1)(3,q,4,6,"div",2)(4,G,2,0,"div",3)(5,Q,4,2,"div",4),d(6,"form-footer")),o&2&&(i(),a("ngIf",n.data.msg&&!n.data.showStartTofesTiulimBtn),i(),a("ngIf",n.data.showMsvBtn&&!n.data.showStartTofesTiulimBtn),i(),a("ngIf",n.data.showStartTofesTiulimBtn),i(),a("ngIf",n.loading),i(),a("ngIf",n.data.tofesTiulim&&!n.data.showStartTofesTiulimBtn))},dependencies:[b,L,O,k,H,P,j,D],styles:[".btn-msv[_ngcontent-%COMP%]{font-size:1.2rem}.loading[_ngcontent-%COMP%]{position:relative;margin-top:1rem;height:3rem}"]})}}return t})();var U=[{path:"",component:I}],ft=(()=>{class t{static{this.entry=I}static{this.\u0275fac=function(o){return new(o||t)}}static{this.\u0275mod=V({type:t})}static{this.\u0275inj=S({imports:[E.forChild(U),z]})}}return t})();export{ft as TofesTiulimViewModule};
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.