PageSourceSearch

https://mytime-sheet.com/app/726.316681d16893571e.js

js mytime-sheet.com collected 2026-09-24 11:01:05 UTC 6,604 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[726],{726:(z,u,o)=>{o.r(u),o.d(u,{ReportByMissingtimesheetuserListingPageModule:()=>C});var h=o(6895),m=o(4719),p=o(443),n=o(603),g=o(5861),f=o(537),x=o(6227),b=o(7221),e=o(6353),y=o(529),v=o(6226);function Z(l,r){if(1&l){const d=e.EpF();e.TgZ(0,"ion-col",14)(1,"ion-button",15),e.NdJ("click",function(){e.CHM(d);const t=e.oxw();return e.KtG(t.sendmail())}),e.TgZ(2,"b"),e._uU(3,"Send email"),e.qZA()()()}}function k(l,r){if(1&l){const d=e.EpF();e.TgZ(0,"ion-card",16)(1,"ion-row",17)(2,"ion-item",18)(3,"ion-col")(4,"ion-checkbox",19),e.NdJ("ionChange",function(t){const c=e.CHM(d).$implicit,a=e.oxw();return e.KtG(a.selectuser(t,c))}),e.qZA()(),e.TgZ(5,"ion-col")(6,"ion-label",20),e._uU(7),e.qZA()()()()()}if(2&l){const d=r.$implicit,s=e.oxw();e.xp6(4),e.Q6J("checked",s.allselectpr),e.xp6(3),e.Oqu(d.name)}}const T=[{path:"",component:(()=>{const r=class{constructor(s,t,i,c,a,M,w,j){this.alertctrl=s,this.http=t,this.loadctrl=i,this.globals=c,this.platform=a,this.route=M,this.router=w,this.navctrl=j,this.selectedproject=[],this.route.queryParams.subscribe(O=>{this.router.getCurrentNavigation().extras.state&&(this.missinguser=this.router.getCurrentNavigation().extras.state.missinguser,this.timesheetperiod=this.router.getCurrentNavigation().extras.state.timesheetperiod)})}ngOnInit(){}ionViewDidEnter(){window.getSelection&&window.getSelection().removeAllRanges(),this.selectedproject=[],this.isindeterminate=!1,this.allselectpr=!1,this.allselect=!1,this.platform.backButton.subscribeWithPriority(0,()=>{this.navctrl.back()})}back(){this.navctrl.back()}selectuser(s,t){if(this.isindeterminate=!0,s.target.checked)this.userlistsize=!0,-1===this.selectedproject.indexOf(t.user_id)?this.selectedproject.push(t.user_id):console.log("This item already exists"),this.selectedproject.length==this.missinguser.length&&(this.isindeterminate=!1,this.allselectpr=!0);else{var i=this.selectedproject.indexOf(t.user_id);this.selectedproject.splice(i,1),0==this.selectedproject.length&&(this.isindeterminate=!1,this.allselectpr=!1,this.userlistsize=!1)}}selectalluser(s){s.target.checked?(this.userlistsize=!0,this.allselectpr=!0,this.isindeterminate=!1,this.missinguser.forEach(t=>{-1===this.selectedproject.indexOf(t.user_id)?this.selectedproject.push(t.user_id):console.log("This item already exists")})):(this.userlistsize=!1,this.allselectpr=!1,this.isindeterminate=!1,this.selectedproject=[])}sendmail(){var s=this;return(0,g.Z)(function*(){s.selectedproject.length>0?yield(yield s.alertctrl.create({message:"",backdropDismiss:!1,inputs:[{name:"Message",type:"text",placeholder:"Enter email body text"}],buttons:[{text:"Cancel",handler:()=>{}},{text:"Ok",handler:i=>{""!=i.Message.trim()&&null!=i.Message&&null!=i.Message?s.sendemailcall(i.Message):(s.alerttext="Email message shoud not be empty",s.showalert())}}]})).present():(s.alerttext="Select users for send Email",s.showalert())})()}sendemailcall(s){var t=this;return(0,g.Z)(function*(){const i=yield t.loadctrl.create({message:"Loading.."});yield i.present();let c={comment:s.trim(),user_ids:t.selectedproject,user_id:localStorage.getItem("userid"),period:t.timesheetperiod};t.http.post(t.globals.url+"sendEmailForMissingTimeSheetUsers",c,{headers:t.globals.headers()}).pipe((0,f.x)(()=>{i.dismiss(),"success"==t.status?(t.status="",t.selectedproject=[],t.isindeterminate=!1,t.allselectpr=!1,t.showalert(),t.back()):"failure"==t.status&&(t.status="")}),(0,x.V)(2e4),(0,b.K)(a=>{throw t.selectedproject=[],t.isindeterminate=!1,t.allselectpr=!1,console.log("this.constant.invalidResponse"),"error in source. Details: "+a})).subscribe(a=>{t.status=a.status,t.alerttext=a.message})})()}showalert(){var s=this;return(0,g.Z)(function*(){yield(yield s.alertctrl.create({header:"Alert",message:s.alerttext,buttons:[{text:"Ok",role:"cancel"}]})).present()})()}};let l=r;return r.\u0275fac=function(t){return new(t||r)(e.Y36(n.Br),e.Y36(y.eN),e.Y36(n.HT),e.Y36(v.x),e.Y36(n.t4),e.Y36(p.gz),e.Y36(p.F0),e.Y36(n.SH))},r.\u0275cmp=e.Xpm({type:r,selectors:[["app-report-by-missingtimesheetuser-listing"]],decls:26,vars:5,consts:[["mode","ios","color","tertiary",2,"--min-height","55px"],["slot","start","name","chevron-back",1,"curs
1or",2,"font-size","32px",3,"click"],[1,"defcard",2,"margin","0px"],[1,"font16",2,"padding-top","8px"],["size","12",2,"padding-left","20px"],["color","dark"],[1,"labelcolor"],[1,"loginfont","dark","bold",2,"border-bottom","1px solid var(--ion-color-dark)"],[2,"padding-left","20px"],[2,"text-align","left"],["class","ion-no-padding",4,"ngIf"],["lines","none",2,"padding-left","20px","width","fit-content"],["name","checkall",3,"checked","indeterminate","ionChange"],["mode","md","class","defcard  ","style","padding: 18px 10px 17px 10px;",4,"ngFor","ngForOf"],[1,"ion-no-padding"],[1,"font16","lowercase",2,"float","right","--border-radius","0px","height","32px","padding-right","10px",3,"click"],["mode","md",1,"defcard",2,"padding","18px 10px 17px 10px"],[1,"dark"],["lines","none",1,"itemcolor"],[3,"checked","ionChange"],[1,"itemcolor"]],template:function(t,i){1&t&&(e.TgZ(0,"ion-header")(1,"ion-toolbar",0)(2,"ion-title"),e._uU(3,"Missing Timesheet"),e.qZA(),e.TgZ(4,"ion-icon",1),e.NdJ("click",function(){return i.back()}),e.qZA()()(),e.TgZ(5,"ion-card",2)(6,"ion-row",3)(7,"ion-col",4)(8,"ion-label",5),e._uU(9,"Period: "),e.TgZ(10,"ion-label",6),e._uU(11),e.qZA()()()(),e.TgZ(12,"ion-row",7)(13,"ion-col",8)(14,"div",9)(15,"ion-label"),e._uU(16,"Name"),e.qZA()()(),e.YNc(17,Z,4,0,"ion-col",10),e.qZA()(),e.TgZ(18,"ion-content")(19,"ion-row")(20,"ion-col")(21,"ion-item",11)(22,"ion-checkbox",12),e.NdJ("ionChange",function(a){return i.selectalluser(a)}),e.qZA(),e.TgZ(23,"ion-label"),e._uU(24,"\xa0Select all"),e.qZA()()()(),e.YNc(25,k,8,2,"ion-card",13),e.qZA()),2&t&&(e.xp6(11),e.Oqu(i.timesheetperiod),e.xp6(6),e.Q6J("ngIf",i.userlistsize),e.xp6(5),e.Q6J("checked",i.allselectpr)("indeterminate",i.isindeterminate),e.xp6(3),e.Q6J("ngForOf",i.missinguser))},dependencies:[h.sg,h.O5,n.YG,n.PM,n.nz,n.wI,n.W2,n.Gu,n.gu,n.Ie,n.Q$,n.Nd,n.wd,n.sr,n.w],styles:["@media (max-width: 400px){.lowercase[_ngcontent-%COMP%]{text-transform:capitalize;font-size:small!important}.font16[_ngcontent-%COMP%]{font-size:15px!important}}ion-card[_ngcontent-%COMP%], ion-content[_ngcontent-%COMP%]{user-select:text!important;-webkit-user-select:text;-moz-user-select:text}"]}),l})()}];let C=(()=>{const r=class{};let l=r;return r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=e.oAB({type:r}),r.\u0275inj=e.cJS({imports:[h.ez,m.u5,n.Pc,p.Bz.forChild(T)]}),l})()}}]);

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.