• File: 12-es5.cbec201e8a7f5d102d52-20260716194927.js
  • Full Path: /home/icicle/public_html/test/Publish-20260710231155-20260715025645/wwwroot/12-es5.cbec201e8a7f5d102d52-20260716194927.js
  • Date Modified: 09/07/2021 12:12 PM
  • File size: 21.95 KB
  • MIME-type: text/plain
  • Charset: utf-8
!function(){function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function n(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{Iab2:function(t,e,n){var o,i;void 0===(i="function"==typeof(o=function(){"use strict";function e(t,e,n){var o=new XMLHttpRequest;o.open("GET",t),o.responseType="blob",o.onload=function(){a(o.response,e,n)},o.onerror=function(){console.error("could not download file")},o.send()}function n(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return 200<=e.status&&299>=e.status}function o(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(e){var n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(n)}}var i="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,r=i.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),a=i.saveAs||("object"!=typeof window||window!==i?function(){}:"download"in HTMLAnchorElement.prototype&&!r?function(t,r,a){var c=i.URL||i.webkitURL,s=document.createElement("a");s.download=r=r||t.name||"download",s.rel="noopener","string"==typeof t?(s.href=t,s.origin===location.origin?o(s):n(s.href)?e(t,r,a):o(s,s.target="_blank")):(s.href=c.createObjectURL(t),setTimeout(function(){c.revokeObjectURL(s.href)},4e4),setTimeout(function(){o(s)},0))}:"msSaveOrOpenBlob"in navigator?function(t,i,r){if(i=i||t.name||"download","string"!=typeof t)navigator.msSaveOrOpenBlob(function(t,e){return void 0===e?e={autoBom:!1}:"object"!=typeof e&&(console.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\ufeff",t],{type:t.type}):t}(t,r),i);else if(n(t))e(t,i,r);else{var a=document.createElement("a");a.href=t,a.target="_blank",setTimeout(function(){o(a)})}}:function(t,n,o,a){if((a=a||open("","_blank"))&&(a.document.title=a.document.body.innerText="downloading..."),"string"==typeof t)return e(t,n,o);var c="application/octet-stream"===t.type,s=/constructor/i.test(i.HTMLElement)||i.safari,p=/CriOS\/[\d]+/.test(navigator.userAgent);if((p||c&&s||r)&&"undefined"!=typeof FileReader){var l=new FileReader;l.onloadend=function(){var t=l.result;t=p?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),a?a.location.href=t:location=t,a=null},l.readAsDataURL(t)}else{var d=i.URL||i.webkitURL,b=d.createObjectURL(t);a?a.location=b:location.href=b,a=null,setTimeout(function(){d.revokeObjectURL(b)},4e4)}});i.saveAs=a.saveAs=a,t.exports=a})?o.apply(e,[]):o)||(t.exports=i)},RCuK:function(e,o,i){"use strict";i.r(o),i.d(o,"NetinvoicingModule",function(){return P});var r=i("SVse"),a=i("iInd"),c=i("8Y7J"),s=i("Iab2"),p=i("IheW"),l=i("s7LF"),d=i("EApP"),b=i("u47x"),u=i("eZAi");function g(t,e){if(1&t){var n=c.Tb();c.Sb(0,"tr",22),c.Sb(1,"td",23),c.Nb(2,"input",24),c.Rb(),c.Sb(3,"td",25),c.Sb(4,"button",26),c.cc("click",function(){c.zc(n);var t=e.index,o=c.ec();return o.Download(t,o.StaticReportsList.controls[t].get("FILENAME").value)}),c.Nb(5,"i",27),c.Rb(),c.Rb(),c.Sb(6,"td",25),c.Sb(7,"button",28),c.cc("click",function(){c.zc(n);var t=e.index,o=c.ec();return o.Delete(t,o.StaticReportsList.controls[t].get("FILENAME").value)}),c.Nb(8,"i",29),c.Rb(),c.Rb(),c.Rb()}2&t&&c.mc("formGroupName",e.index)}var f,h=((f=function(){function e(n,o,i,r,a,s,l){var d=this;t(this,e),this.fb=n,this.router=o,this.http=i,this.toastr=r,this.interactivityChecker=a,this.staticReportsService=s,this.platformId=l,this.onUploadFinished=new c.n,this.UploadFile=function(t,e){0!==t.length&&d.staticReportsService.UploadFile(t,e,"NetInvoicings","CurrentYearReports").subscribe(function(t){t.type===p.d.UploadProgress?d.progress=Math.round(100*t.loaded/t.total):t.type===p.d.Response&&(d.message="Upload success.",d.onUploadFinished.emit(t.body)),d.GetAllFiles(),d.StaticRports.reset()})},this.CreateCurrentYearForm()}return n(e,[{key:"CreateCurrentYearForm",value:function(){for(var t=[],e=0;e<12;e++)t.push(this.StaticReports());this.CurrentYearForm=this.fb.group({StaticRports:this.fb.group({FILENAME:[""]}),StaticReportsList:this.fb.array(t)})}},{key:"StaticReports",value:function(){return this.fb.group({DOWNLOADFILE:[""],FILENAME:[""]})}},{key:"ngOnInit",value:function(){this.GetAllFiles()}},{key:"GetAllFiles",value:function(){var t=this;this.staticReportsService.StaticReportDetails("NetInvoicings","CurrentYearReports").subscribe(function(e){if(t.FileName=e,t.FileName.length>0)for(var n=t.CurrentYearForm.controls.StaticReportsList,o=0;o<t.FileName.length;o++)n.at(+o).get("DOWNLOADFILE").setValue(t.FileName[o].FileNameWithOutExtension),n.at(+o).get("FILENAME").setValue(t.FileName[o].FileName),o>=11&&o<t.FileName.length-1&&t.StaticReportsList.push(t.StaticReports())})}},{key:"Delete",value:function(t,e){for(var n=this,o=this.CurrentYearForm.controls.StaticReportsList,i=0;i<o.length;i++)if(t==i){e&&this.staticReportsService.Delete("NetInvoicings","CurrentYearReports",e).subscribe(function(e){null==e&&(n.StaticReportsList.removeAt(t),n.toastr.warning("Deleted Successfully","NetInvoicings"),n.StaticReportsList.push(n.StaticReports()))},function(t){console.log(t)});break}}},{key:"Download",value:function(t,e){for(var n=this.CurrentYearForm.controls.StaticReportsList,o=0;o<n.length;o++)if(t==o){e&&this.staticReportsService.DownloadFile("NetInvoicings","CurrentYearReports",e).subscribe(function(t){var n=new Blob([t],{type:"application/pdf"}),o=window.URL.createObjectURL(n);"application/pdf"===t.type?window.open(o,"_blank"):s.saveAs(n,e)});break}}},{key:"keyevent",value:function(t){t.preventDefault();var e=Array.prototype.slice.call(document.querySelectorAll("input")),n=[];if(Array.isArray(n)&&!n.length)for(var o=0;o<e.length;o++)this.interactivityChecker.isFocusable(e[o])&&n.push(e[o]);if(13===t.keyCode||40===t.keyCode){var i=n[n.indexOf(document.activeElement)+1];i&&(i.focus(),i.select())}else if(38===t.keyCode){var r=n[n.indexOf(document.activeElement)-1];r&&(r.focus(),r.select())}}},{key:"StaticRports",get:function(){return this.CurrentYearForm.get("StaticRports")}},{key:"StaticReportsList",get:function(){return this.CurrentYearForm.get("StaticReportsList")}}]),e}()).\u0275fac=function(t){return new(t||f)(c.Mb(l.c),c.Mb(a.e),c.Mb(p.b),c.Mb(d.b),c.Mb(b.d),c.Mb(u.a),c.Mb(c.B))},f.\u0275cmp=c.Gb({type:f,selectors:[["app-currentyear"]],hostBindings:function(t,e){1&t&&c.cc("keyup",function(t){return e.keyevent(t)},!1,c.yc)},outputs:{onUploadFinished:"onUploadFinished"},decls:24,vars:3,consts:[[1,"container-fluid"],["autocomplete","off",3,"formGroup"],[1,"row"],[1,"col-md-12"],[1,"shadow-sm","card","no-padding"],[1,"card-body","no-padding"],[1,"row",2,"padding-bottom","0px"],["formGroupName","StaticRports"],[1,"row","no-padding","mb-2"],[1,"col-sm-8",2,"padding-right","5px"],["type","text","formControlName","FILENAME","id","FILENAME","placeholder","New File Name",1,"form-control","form-control-sm","bg-white"],[1,"col-sm-4","no-padding","text-right"],[1,"upload-button","btn","blue-gradient","btn-block","btn-rounded","px-1","mr-1",3,"disabled"],[1,"fa","fa-upload"],["type","file",3,"change"],["file",""],[1,"shadow-sm","card"],[1,"card-body"],[1,"tableFixHead"],[1,"table-responsive-sm","fix-table"],["formArrayName","StaticReportsList",1,"table","table-sm","table-borderless"],[3,"formGroupName",4,"ngFor","ngForOf"],[3,"formGroupName"],[1,"no-padding;"],["type","text","formControlName","DOWNLOADFILE",1,"form-control","form-control-sm","no-border",2,"padding-left","15px"],[1,"no-padding;",2,"width","30px"],["type","button",1,"my-btn-height","btn","blue-gradient","btn-block","btn-rounded","px-1",3,"click"],["aria-hidden","true","title","Download",1,"fa","fa-download"],["type","button",1,"my-btn-height","btn","peach-gradient","btn-block","btn-rounded","px-1",3,"click"],["title","Delete",1,"fa","fa-trash"]],template:function(t,e){if(1&t){var n=c.Tb();c.Sb(0,"div",0),c.Sb(1,"form",1),c.Sb(2,"div",2),c.Sb(3,"div",3),c.Sb(4,"div",4),c.Sb(5,"div",5),c.Sb(6,"div",6),c.Sb(7,"div",3),c.Sb(8,"div",7),c.Sb(9,"div",8),c.Sb(10,"div",9),c.Nb(11,"input",10),c.Rb(),c.Sb(12,"div",11),c.Sb(13,"button",12),c.Nb(14,"i",13),c.Sb(15,"input",14,15),c.cc("change",function(){c.zc(n);var t=c.wc(16);return e.UploadFile(t.files,e.StaticRports.get("FILENAME").value)}),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Sb(17,"div",16),c.Sb(18,"div",17),c.Sb(19,"div",18),c.Sb(20,"div",19),c.Sb(21,"table",20),c.Sb(22,"tbody"),c.Ic(23,g,9,1,"tr",21),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb()}2&t&&(c.yb(1),c.mc("formGroup",e.CurrentYearForm),c.yb(12),c.mc("disabled",""===e.StaticRports.get("FILENAME").value||null===e.StaticRports.get("FILENAME").value),c.yb(10),c.mc("ngForOf",e.StaticReportsList.controls))},directives:[l.t,l.m,l.g,l.h,l.a,l.l,l.e,l.b,r.m],styles:['.row[_ngcontent-%COMP%]{padding:10px}.card[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin:10px 0}.card-body[_ngcontent-%COMP%]{flex:1 1 auto;min-height:1px;padding:1px}button[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:14px}.action-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin:5px}.font-label[_ngcontent-%COMP%]{font-size:12px}.btn-height[_ngcontent-%COMP%]{height:30px;width:100px}.btn-height[_ngcontent-%COMP%], .my-btn-height[_ngcontent-%COMP%]{font-size:12px;padding:0;color:#fff}.my-btn-height[_ngcontent-%COMP%]{height:28px;width:30px;margin-top:0}.upload-button[_ngcontent-%COMP%]{height:30px;overflow:hidden;position:relative;width:120px;color:#fff;padding-top:3px}.upload-button[_ngcontent-%COMP%]:after{content:" Add New File";color:#fff;font-size:14px;text-align:center}.upload-button[_ngcontent-%COMP%]   input[type=file][_ngcontent-%COMP%]{font-size:14px;left:0;opacity:0;position:absolute;top:0;padding-top:0}table[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{font-size:12px;font-weight:700;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;text-transform:uppercase}input[_ngcontent-%COMP%]::-moz-placeholder{color:#c0bdbd;font-weight:300;text-transform:capitalize}input[_ngcontent-%COMP%]::placeholder{color:#c0bdbd;font-weight:300;text-transform:capitalize}.fix-table[_ngcontent-%COMP%]{height:350px;overflow-y:auto;width:100%}.tableFixHead[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:0}thead[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{padding:1px!important;height:32px!important;font-weight:400;vertical-align:middle}.table-borderless[_ngcontent-%COMP%]   td[_ngcontent-%COMP%], tr[_ngcontent-%COMP%]   .table-borderless[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{border:0}tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]{height:22px}table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%], tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]{padding:0!important}.no-padding[_ngcontent-%COMP%]{padding:0}.no-border[_ngcontent-%COMP%]{border:0;border-color:#fff}.right-padding[_ngcontent-%COMP%]{padding-right:10px;font-weight:400}.z-depth-1a[_ngcontent-%COMP%]{box-shadow:0 2px 5px 0 rgba(55,161,255,.26),0 4px 12px 0 rgba(121,155,254,.25)}.btn[_ngcontent-%COMP%]:hover, .z-depth-1-half[_ngcontent-%COMP%]{box-shadow:0 5px 11px 0 rgba(85,182,255,.28),0 4px 15px 0 rgba(36,133,255,.15)}']}),f),m=function(){return["CurrentYear"]},v=function(){return["PriorYear"]};function y(t,e){if(1&t){var n=c.Tb();c.Sb(0,"tr",22),c.Sb(1,"td",23),c.Nb(2,"input",24),c.Rb(),c.Sb(3,"td",25),c.Sb(4,"button",26),c.cc("click",function(){c.zc(n);var t=e.index,o=c.ec();return o.Download(t,o.StaticReportsList.controls[t].get("FILENAME").value)}),c.Nb(5,"i",27),c.Rb(),c.Rb(),c.Sb(6,"td",25),c.Sb(7,"button",28),c.cc("click",function(){c.zc(n);var t=e.index,o=c.ec();return o.Delete(t,o.StaticReportsList.controls[t].get("FILENAME").value)}),c.Nb(8,"i",29),c.Rb(),c.Rb(),c.Rb()}2&t&&c.mc("formGroupName",e.index)}var R,x,M,S,C=[{path:"",data:{title:"Net Invoicing"},children:[{path:"",redirectTo:"NetinvoicingComponent",pathMatch:"full"},{path:"",component:(x=function(){function e(){t(this,e)}return n(e,[{key:"ngOnInit",value:function(){}}]),e}(),x.\u0275fac=function(t){return new(t||x)},x.\u0275cmp=c.Gb({type:x,selectors:[["app-netinvoicing"]],decls:14,vars:4,consts:[[1,"row"],[1,"col-md-10","offset-1"],[1,"shadow-sm","card","no-padding","h-100"],[1,"card-body","no-padding"],[1,"mega-ul"],[1,"custom-dropdown",2,"width","330px","text-align","center"],[3,"routerLink"],[1,"custom-dropdown",2,"width","300px","text-align","right"],[1,"d-flex","justify-content-center"],[1,"col-md-7"]],template:function(t,e){1&t&&(c.Sb(0,"div",0),c.Sb(1,"div",1),c.Sb(2,"div",2),c.Sb(3,"div",3),c.Sb(4,"ul",4),c.Sb(5,"li",5),c.Sb(6,"a",6),c.Kc(7,"Current Year"),c.Rb(),c.Rb(),c.Sb(8,"li",7),c.Sb(9,"a",6),c.Kc(10,"Prior Year"),c.Rb(),c.Rb(),c.Rb(),c.Sb(11,"div",8),c.Sb(12,"div",9),c.Nb(13,"router-outlet"),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb()),2&t&&(c.yb(6),c.mc("routerLink",c.pc(2,m)),c.yb(3),c.mc("routerLink",c.pc(3,v)))},directives:[a.g,a.i],styles:[".mega-ul[_ngcontent-%COMP%]{background:#bc1135;padding:1px;font-weight:700;font-size:18px}.row[_ngcontent-%COMP%]{margin-right:10px;margin-left:10px;margin-top:10px}.card-body[_ngcontent-%COMP%]{flex:1 1 auto;min-height:520px;max-height:520px;padding-left:5px;padding-right:5px;padding-bottom:4px}.h-100[_ngcontent-%COMP%]{border:1px dotted #c22}.custom-dropdown[_ngcontent-%COMP%]{display:inline-block;padding:10px;margin-right:10px;border-radius:10px}.custom-dropdown[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#fff;text-decoration:none}.custom-dropdown[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:active{color:#e78080;text-decoration:none}"]}),x),data:{title:"Net Invoicing"},children:[{path:"CurrentYear",component:h,data:{title:"Net Invoicing: Current Year"}},{path:"PriorYear",component:(R=function(){function e(n,o,i,r,a,s,l){var d=this;t(this,e),this.fb=n,this.router=o,this.http=i,this.toastr=r,this.interactivityChecker=a,this.staticReportsService=s,this.platformId=l,this.onUploadFinished=new c.n,this.UploadFile=function(t,e){0!==t.length&&d.staticReportsService.UploadFile(t,e,"NetInvoicings","PriorYearReports").subscribe(function(t){t.type===p.d.UploadProgress?d.progress=Math.round(100*t.loaded/t.total):t.type===p.d.Response&&(d.message="Upload success.",d.onUploadFinished.emit(t.body)),d.GetAllFiles(),d.StaticRports.reset()})},this.CreatePriorYearForm()}return n(e,[{key:"CreatePriorYearForm",value:function(){for(var t=[],e=0;e<12;e++)t.push(this.StaticReports());this.PriorYearForm=this.fb.group({StaticRports:this.fb.group({FILENAME:[""]}),StaticReportsList:this.fb.array(t)})}},{key:"StaticReports",value:function(){return this.fb.group({DOWNLOADFILE:[""],FILENAME:[""]})}},{key:"ngOnInit",value:function(){this.GetAllFiles()}},{key:"GetAllFiles",value:function(){var t=this;this.staticReportsService.StaticReportDetails("NetInvoicings","PriorYearReports").subscribe(function(e){if(t.FileName=e,t.FileName.length>0)for(var n=t.PriorYearForm.controls.StaticReportsList,o=0;o<t.FileName.length;o++)n.at(+o).get("DOWNLOADFILE").setValue(t.FileName[o].FileNameWithOutExtension),n.at(+o).get("FILENAME").setValue(t.FileName[o].FileName),o>=11&&o<t.FileName.length-1&&t.StaticReportsList.push(t.StaticReports())})}},{key:"Delete",value:function(t,e){for(var n=this,o=this.PriorYearForm.controls.StaticReportsList,i=0;i<o.length;i++)if(t==i){e&&this.staticReportsService.Delete("NetInvoicings","PriorYearReports",e).subscribe(function(e){null==e&&(n.StaticReportsList.removeAt(t),n.toastr.warning("Deleted Successfully","Occupancy"),n.StaticReportsList.push(n.StaticReports()))},function(t){console.log(t)});break}}},{key:"Download",value:function(t,e){for(var n=this.PriorYearForm.controls.StaticReportsList,o=0;o<n.length;o++)if(t==o){e&&this.staticReportsService.DownloadFile("NetInvoicings","PriorYearReports",e).subscribe(function(t){var n=new Blob([t],{type:"application/pdf"}),o=window.URL.createObjectURL(n);"application/pdf"===t.type?window.open(o,"_blank"):s.saveAs(n,e)});break}}},{key:"keyevent",value:function(t){t.preventDefault();var e=Array.prototype.slice.call(document.querySelectorAll("input")),n=[];if(Array.isArray(n)&&!n.length)for(var o=0;o<e.length;o++)this.interactivityChecker.isFocusable(e[o])&&n.push(e[o]);if(13===t.keyCode||40===t.keyCode){var i=n[n.indexOf(document.activeElement)+1];i&&(i.focus(),i.select())}else if(38===t.keyCode){var r=n[n.indexOf(document.activeElement)-1];r&&(r.focus(),r.select())}}},{key:"StaticRports",get:function(){return this.PriorYearForm.get("StaticRports")}},{key:"StaticReportsList",get:function(){return this.PriorYearForm.get("StaticReportsList")}}]),e}(),R.\u0275fac=function(t){return new(t||R)(c.Mb(l.c),c.Mb(a.e),c.Mb(p.b),c.Mb(d.b),c.Mb(b.d),c.Mb(u.a),c.Mb(c.B))},R.\u0275cmp=c.Gb({type:R,selectors:[["app-prioryear"]],hostBindings:function(t,e){1&t&&c.cc("keyup",function(t){return e.keyevent(t)},!1,c.yc)},outputs:{onUploadFinished:"onUploadFinished"},decls:24,vars:3,consts:[[1,"container-fluid"],["autocomplete","off",3,"formGroup"],[1,"row"],[1,"col-md-12"],[1,"shadow-sm","card","no-padding"],[1,"card-body","no-padding"],[1,"row",2,"padding-bottom","0px"],["formGroupName","StaticRports"],[1,"row","no-padding","mb-2"],[1,"col-sm-8",2,"padding-right","5px"],["type","text","formControlName","FILENAME","id","FILENAME","placeholder","New File Name",1,"form-control","form-control-sm","bg-white"],[1,"col-sm-4","no-padding","text-right"],[1,"upload-button","btn","blue-gradient","btn-block","btn-rounded","px-1","mr-1",3,"disabled"],[1,"fa","fa-upload"],["type","file",3,"change"],["file",""],[1,"shadow-sm","card"],[1,"card-body"],[1,"tableFixHead"],[1,"table-responsive-sm","fix-table"],["formArrayName","StaticReportsList",1,"table","table-sm","table-borderless"],[3,"formGroupName",4,"ngFor","ngForOf"],[3,"formGroupName"],[1,"no-padding;"],["type","text","formControlName","DOWNLOADFILE",1,"form-control","form-control-sm","no-border",2,"padding-left","15px"],[1,"no-padding;",2,"width","30px"],["type","button",1,"my-btn-height","btn","blue-gradient","btn-block","btn-rounded","px-1",3,"click"],["aria-hidden","true","title","Download",1,"fa","fa-download"],["type","button",1,"my-btn-height","btn","peach-gradient","btn-block","btn-rounded","px-1",3,"click"],["title","Delete",1,"fa","fa-trash"]],template:function(t,e){if(1&t){var n=c.Tb();c.Sb(0,"div",0),c.Sb(1,"form",1),c.Sb(2,"div",2),c.Sb(3,"div",3),c.Sb(4,"div",4),c.Sb(5,"div",5),c.Sb(6,"div",6),c.Sb(7,"div",3),c.Sb(8,"div",7),c.Sb(9,"div",8),c.Sb(10,"div",9),c.Nb(11,"input",10),c.Rb(),c.Sb(12,"div",11),c.Sb(13,"button",12),c.Nb(14,"i",13),c.Sb(15,"input",14,15),c.cc("change",function(){c.zc(n);var t=c.wc(16);return e.UploadFile(t.files,e.StaticRports.get("FILENAME").value)}),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Sb(17,"div",16),c.Sb(18,"div",17),c.Sb(19,"div",18),c.Sb(20,"div",19),c.Sb(21,"table",20),c.Sb(22,"tbody"),c.Ic(23,y,9,1,"tr",21),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb(),c.Rb()}2&t&&(c.yb(1),c.mc("formGroup",e.PriorYearForm),c.yb(12),c.mc("disabled",""===e.StaticRports.get("FILENAME").value||null===e.StaticRports.get("FILENAME").value),c.yb(10),c.mc("ngForOf",e.StaticReportsList.controls))},directives:[l.t,l.m,l.g,l.h,l.a,l.l,l.e,l.b,r.m],styles:['.row[_ngcontent-%COMP%]{padding:10px}.card[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin:10px 0}.card-body[_ngcontent-%COMP%]{flex:1 1 auto;min-height:1px;padding:1px}button[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:14px}.action-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin:5px}.font-label[_ngcontent-%COMP%]{font-size:12px}.btn-height[_ngcontent-%COMP%]{height:30px;width:100px}.btn-height[_ngcontent-%COMP%], .my-btn-height[_ngcontent-%COMP%]{font-size:12px;padding:0;color:#fff}.my-btn-height[_ngcontent-%COMP%]{height:28px;width:30px;margin-top:0}.upload-button[_ngcontent-%COMP%]{height:30px;overflow:hidden;position:relative;width:120px;color:#fff;padding-top:3px}.upload-button[_ngcontent-%COMP%]:after{content:" Add New File";color:#fff;font-size:14px;text-align:center}.upload-button[_ngcontent-%COMP%]   input[type=file][_ngcontent-%COMP%]{font-size:14px;left:0;opacity:0;position:absolute;top:0;padding-top:0}table[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{font-size:12px;font-weight:700;font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;text-transform:uppercase}input[_ngcontent-%COMP%]::-moz-placeholder{color:#c0bdbd;font-weight:300;text-transform:capitalize}input[_ngcontent-%COMP%]::placeholder{color:#c0bdbd;font-weight:300;text-transform:capitalize}.fix-table[_ngcontent-%COMP%]{height:350px;overflow-y:auto;width:100%}.tableFixHead[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:0}thead[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{padding:1px!important;height:32px!important;font-weight:400;vertical-align:middle}.table-borderless[_ngcontent-%COMP%]   td[_ngcontent-%COMP%], tr[_ngcontent-%COMP%]   .table-borderless[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{border:0}tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]{height:22px}table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]   td[_ngcontent-%COMP%], tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]{padding:0!important}.no-padding[_ngcontent-%COMP%]{padding:0}.no-border[_ngcontent-%COMP%]{border:0;border-color:#fff}.right-padding[_ngcontent-%COMP%]{padding-right:10px;font-weight:400}.z-depth-1a[_ngcontent-%COMP%]{box-shadow:0 2px 5px 0 rgba(55,161,255,.26),0 4px 12px 0 rgba(121,155,254,.25)}.btn[_ngcontent-%COMP%]:hover, .z-depth-1-half[_ngcontent-%COMP%]{box-shadow:0 5px 11px 0 rgba(85,182,255,.28),0 4px 15px 0 rgba(36,133,255,.15)}']}),R),data:{title:"Net Invoicing: Prior Year"}}]}]}],O=((M=function e(){t(this,e)}).\u0275mod=c.Kb({type:M}),M.\u0275inj=c.Jb({factory:function(t){return new(t||M)},imports:[[a.h.forChild(C)],a.h]}),M),w=i("H8qh"),P=((S=function e(){t(this,e)}).\u0275mod=c.Kb({type:S}),S.\u0275inj=c.Jb({factory:function(t){return new(t||S)},imports:[[r.c,O,w.a]]}),S)}}])}();