1"use strict";(self.webpackChunkng_able_pro=self.webpackChunkng_able_pro||[]).push([[9823],{39823:(q,m,r)=>{r.r(m),r.d(m,{CertificateHolderTransactionlogModule:()=>W});var c=r(60177),g=r(30803),l=r(49969),F=r(60900),H=r(63820),t=r(54438),P=r(53386),h=r(82868),M=r(94066),b=r(96195),u=r(17555),f=r(5423),_=r(90868),T=r(36554);function k(a,s){if(1&a&&(t.j41(0,"div",14)(1,"label",4),t.EFF(2,"Status"),t.k0s(),t.j41(3,"span",15),t.EFF(4),t.k0s()()),2&a){const n=t.XpG();t.Y8G("ngClass",n.statusChanged()?"red":""),t.R7$(3),t.Y8G("ngClass",n.statusChanged()?"linechange":""),t.R7$(),t.JRh(n.statusLabel(n.OldCertificateHolderTransaction.Status))}}function R(a,s){1&a&&(t.j41(0,"span",23),t.EFF(1,"Active "),t.k0s())}function E(a,s){if(1&a&&(t.j41(0,"div",21)(1,"label",4),t.EFF(2,"Status"),t.k0s(),t.DNE(3,R,2,0,"span",22),t.k0s()),2&a){const n=t.XpG();t.R7$(3),t.Y8G("ngIf","D"==n.transactionType)}}function y(a,s){if(1&a&&(t.j41(0,"div",14)(1,"label",4),t.EFF(2,"Status"),t.k0s(),t.j41(3,"span"),t.EFF(4),t.k0s()()),2&a){const n=t.XpG();t.Y8G("ngClass",n.statusChanged()?"green":""),t.R7$(4),t.JRh(n.statusLabel(n.ChangeCertificateHolderTransaction.Status))}}function j(a,s){1&a&&(t.j41(0,"span"),t.EFF(1,"Deleted "),t.k0s())}function I(a,s){if(1&a&&(t.j41(0,"div",24)(1,"label",4),t.EFF(2,"Status"),t.k0s(),t.DNE(3,j,2,0,"span",25),t.k0s()),2&a){const n=t.XpG();t.R7$(3),t.Y8G("ngIf","D"==n.transactionType)}}let $=(()=>{class a{constructor(n,i,e){this.certificateholderService=n,this.spinner=i,this.chRef=e,this.OldCertificateHolderTransactionTemp={CertificateHolderTypeName:"",Name:"",Address1:"",Address2:"",StateId:"",CityId:"",Zip:"",Status:"",ParentCertificateHolderId:"",ParentName:"",ContactFirstName:"",ContactLastName:"",ContactEmail:""},this.OldCertificateHolderTransaction={},this.ChangeCertificateHolderTransaction={},this.closeModalEvent=new t.bkB}ngAfterViewInit(){this.chRef.detectChanges()}ngOnInit(){this.transaction&&(this.id=this.transaction.LogId,this.transactionDate=this.transaction.DateEntered,this.transactionDescription=this.transaction.Description,this.transactionType=this.transaction.ACDType,this.getTransactionDetail(this.id))}CloseModal(){this.closeModalEvent.emit("")}isBlank(n){return null==n||""===n||0===n}hasChanged(n,i){return!(this.isBlank(n)&&this.isBlank(i)||n==i)}statusLabel(n){return!0===n||"true"===n?"Deleted":!1===n||"false"===n?"Active":""}statusChanged(){return this.statusLabel(this.OldCertificateHolderTransaction?.Status)!==this.statusLabel(this.ChangeCertificateHolderTransaction?.Status)}getTransactionDetail(n){this.certificateholderService.getCertificateHolderTransactionDetail(n).subscribe(i=>{i.Result?i.Result_value.length>1?(this.OldCertificateHolderTransaction=i.Result_value[0],this.ChangeCertificateHolderTransaction=i.Result_value[1]):"D"==this.transactionType?(this.OldCertificateHolderTransaction=i.Result_value[0],this.ChangeCertificateHolderTransaction=i.Result_value[0]):(this.OldCertificateHolderTransaction=this.OldCertificateHolderTransactionTemp,this.ChangeCertificateHolderTransaction=i.Result_value[0]):(this.OldCertificateHolderTransaction={},this.ChangeCertificateHolderTransaction={})},i=>{console.log(i),this.spinner.hide()})}static{this.\u0275fac=function(i){return new(i||a)(t.rXU(h.b),t.rXU(T.ex),t.rXU(t.gRc))}}static{this.\u0275cmp=t.VBU({type:a,selectors:[["app-certificate-holder-transaction-detail"]],inputs:{transaction:"transaction"},outputs:{closeModalEvent:"closeModalEvent"},decls:148,vars:61,consts:[[1,"modal-header"],[2,"display","flex","flex-direction","column"],[1,"modal-title"],[2,"margin-top","8px"],[1,"float-label"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"],[1,"modal-body"],[1,"row"],[1,"col-lg-6","col-md-6"],[1,"card"],[1,"card-header","with-border"],[1,"card-header-text"],[1,"card-block"],[1,"form-group","form-default",3,"ngClass"],[3,"ngClass"],["class","form-group form-default",3,"ngClass",4,"ngIf"],["class","form-group form-default red",4,"ngIf"],["class","form-group form-default green",4,"ngIf"],[1,"modal-footer"],["type","button",1,"btn","btn-default","waves-effect",3,"click"],[1,"form-group","form-default","red"],["class","linechange",4,"ngIf"],[1,"linechange"],[1,"form-group","form-default","green"],[4,"ngIf"]],template:function(i,e){1&i&&(t.j41(0,"div",0)(1,"div",1)(2,"h4",2),t.EFF(3,"Transaction Detail"),t.k0s(),t.j41(4,"label",3)(5,"strong"),t.EFF(6,"Transaction Date: "),t.k0s(),t.EFF(7),t.nI1(8,"date"),t.k0s(),t.j41(9,"label",4)(10,"strong"),t.EFF(11,"Description: "),t.k0s(),t.EFF(12),t.k0s()(),t.j41(13,"div")(14,"button",5),t.bIt("click",function(){return e.CloseModal()}),t.j41(15,"span",6),t.EFF(16,"\xd7"),t.k0s()()()(),t.j41(17,"div",7)(18,"div",8)(19,"div",9)(20,"div",10)(21,"div",11)(22,"h5",12),t.EFF(23,"Old Certificate Holder Details"),t.k0s()(),t.j41(24,"div",13)(25,"div",14)(26,"label",4),t.EFF(27,"Certificate Holder Type"),t.k0s(),t.j41(28,"span",15),t.EFF(29),t.k0s()(),t.j41(30,"div",14)(31,"label",4),t.EFF(32,"Certificate Holder Name"),t.k0s(),t.j41(33,"span",15),t.EFF(34),t.k0s()(),t.j41(35,"div",14)(36,"label",4),t.EFF(37,"Address1"),t.k0s(),t.j41(38,"span",15),t.EFF(39),t.k0s()(),t.j41(40,"div",14)(41,"label",4),t.EFF(42,"Address2"),t.k0s(),t.j41(43,"span",15),t.EFF(44),t.k0s()(),t.j41(45,"div",14)(46,"label",4),t.EFF(47,"State"),t.k0s(),t.j41(48,"span",15),t.EFF(49),t.k0s()(),t.j41(50,"div",14)(51,"label",4),t.EFF(52,"City"),t.k0s(),t.j41(53,"span",15),t.EFF(54),t.k0s()(),t.j41(55,"div",14)(56,"label",4),t.EFF(57,"Zip"),t.k0s(),t.j41(58,"span",15),t.EFF(59),t.k0s()(),t.j41(60,"div",14)(61,"label",4),t.EFF(62,"Parent Certificate Holder"),t.k0s(),t.j41(63,"span",15),t.EFF(64),t.k0s()(),t.j41(65,"div",14)(66,"label",4),t.EFF(67,"Contact First Name"),t.k0s(),t.j41(68,"span"),t.EFF(69),t.k0s()(),t.j41(70,"div",14)(71,"label",4),t.EFF(72,"Contact Last Name"),t.k0s(),t.j41(73,"span"),t.EFF(74),t.k0s()(),t.j41(75,"div",14)(76,"label",4),t.EFF(77,"Contact Email"),t.k0s(),t.j41(78,"span"),t.EFF(79),t.k0s()(),t.DNE(80,k,5,3,"div",16)(81,E,4,1,"div",17),t.k0s()()(),t.j41(82,"div",9)(83,"div",10)(84,"div",11)(85,"h5",12),t.EFF(86,"New Certificate Holder Details "),t.k0s()(),t.j41(87,"div",13)(88,"div",14)(89,"label",4),t.EFF(90,"Certificate Holder Type"),t.k0s(),t.j41(91,"span"),t.EFF(92),t.k0s()(),t.j41(93,"div",14)(94,"label",4),t.EFF(95,"Certificate Holder Name"),t.k0s(),t.j41(96,"span"),t.EFF(97),t.k0s()(),t.j41(98,"div",14)(99,"label",4),t.EFF(100,"Address1"),t.k0s(),t.j41(101,"span"),t.EFF(102),t.k0s()(),t.j41(103,"div",14)(104,"label",4),t.EFF(105,"Address2"),t.k0s(),t.j41(106,"span"),t.EFF(107),t.k0s()(),t.j41(108,"div",14)(109,"label",4),t.EFF(110,"State"),t.k0s(),t.j41(111,"span"),t.EFF(112),t.k0s()(),t.j41(113,"div",14)(114,"label",4),t.EFF(115,"City"),t.k0s(),t.j41(116,"span"),t.EFF(117),t.k0s()(),t.j41(118,"div",14)(119,"label",4),t.EFF(120,"Zip"),t.k0s(),t.j41(121,"span"),t.EFF(122),t.k0s()(),t.j41(123,"div",14)(124,"label",4),t.EFF(125,"Parent Certificate Holder"),t.k0s(),t.j41(126,"span"),t.EFF(127),t.k0s()(),t.j41(128,"div",14)(129,"label",4),t.EFF(130,"Contact First Name"),t.k0s(),t.j41(131,"span"),t.EFF(132),t.k0s()(),t.j41(133,"div",14)(134,"label",4),t.EFF(135,"Contact Last Name"),t.k0s(),t.j41(136,"span"),t.EFF(137),t.k0s()(),t.j41(138,"div",14)(139,"label",4),t.EFF(140,"Contact Email"),t.k0s(),t.j41(141,"span"),t.EFF(142),t.k0s()(),t.DNE(143,y,5,2,"div",16)(144,I,4,1,"div",18),t.k0s()()()()(),t.j41(145,"div",19)(146,"button",20),t.bIt("click",function(){return e.CloseModal()}),t.EFF(147,"Close"),t.k0s()()),2&i&&(t.R7$(7),t.SpI(" ",t.i5U(8,58,1e3*e.transactionDate,"MM-dd-yyyy, h:mm:ss a"),""),t.R7$(5),t.SpI(" ",e.transactionDescription,""),t.R7$(13),t.Y8G("ngClass",e.hasChanged(e.ChangeCertificateHolderTransaction.CertificateHolderTypeName,e.OldCertificateHolderTransaction.CertificateHolderTypeName)?"red":""),t.R7$(3),t.Y8G("ngClass",e.hasChanged(e.ChangeCertificateHolderTransaction.CertificateHolderTypeName,e.OldCertificateHolderTransaction.CertificateHolderTypeName)?"linechange":""),t.R7$(),t.JRh(e.OldCertificateHolderTransaction.CertificateHolderTypeName),t.R7$(),t.Y8G("ngClass",e.hasChanged(e.ChangeCertificateHolderTransaction.Name,e.OldCertificateHolderTransaction.Name)?"red":""),t.R7$(3),t.Y8G("ngClass",e.hasChanged(e.ChangeCertificateHolderTransaction.Name,e.OldCertificateHolderTransaction.Name)?"linechange":""),t.R7$(),t.JRh(e.OldCertificateHolderTransaction.Name),t.R7$(),t.Y8G("ngClass",e.hasChanged(e.ChangeCertificateHolderTransaction.Address1,null==e.OldCertificateHolderTransaction?null:e.OldCertificateHolderTransaction.Address1)?"red":""),t.R7$(3),t.Y8G("ngClass",e.hasChanged(e.ChangeCertificateHolderTransaction.Address1,e.OldCertificateHolderTransaction.Address1)?"linechange":""),t.R7$(),t.JRh(e.OldCertificateHolderTransaction.Address1),t.R7$(),t.Y8G("ngClass",e.hasChanged(e.ChangeCertificateHolderTransaction.Address2,e.OldCertificateHolderTransaction.Address2)?"red":""),t.R7$(3),t.Y8G("ngClass",e.hasChanged(e.ChangeCertificateHolderTransaction.Address2,e.OldCertificateHolderTransaction.Address2)?"linechange":""),t.R7$(),t.JRh(e.OldCertificateHolderTransaction.Address2),t.R7$(),t.Y8G("ngClass",e.hasChanged(e.ChangeCertificateHolderTransaction.StateId,e.OldCertificateHolderTransaction.StateId)?"red":""),t.R7$(3),t.Y8G("ngClass",e.hasChanged(e.ChangeCertificateHolderTransaction.StateId,e.OldCertificateHolderTransaction.StateId)?"linechange":""),t.R7$(),t.JRh(e.OldCertificateHolderTransaction.State),t.R7$(),t.Y8G("ngClass",e.hasChanged(e.ChangeCertificateHolderTransaction.CityId,e.OldCertificateHolderTransaction.CityId)?"red":""),t.R7$(3),t.Y8G("ngClass",e.hasChanged(e.ChangeCertificateHolderTransaction.CityId,e.OldCertificateHolderTransaction.CityId)?"linechange":""),t.R7$(),t.JRh(e.OldCertificateHolderTransaction.City),t.R7$(),t.Y8G("ngClass",e.hasChanged(e.ChangeCertificateHolderTransaction.Zip,e.OldCertificateHolderTransaction.Zip)?"red":""),t.R7$(3),t.Y8G("ngClass",e.hasChanged(e.ChangeCertificateHolderTransaction.Zip,e.OldCertificateHolderTransaction.Zip)?"linechange":""),t.R7$(),t.JRh(e.OldCertificateHolderTransaction.Zip),t.R7$(),t.Y8G("ngClass",e.hasChanged(e.ChangeCertificateHolderTransaction.ParentCertificateHolderId,e.OldCertificateHolderTransaction.ParentCertificateHolderId)?"red":""),t.R7$(3),t.Y8G("ngClass",e.hasChanged(e.ChangeCertificateHolderTransaction.ParentCertificateHolderId,e.OldCertificateHolderTransaction.ParentCertificateHolderId)?"linechange":""),t.R7$(),t.JRh(e.OldCertificateHolderTransaction.ParentName),t.R7$(),t.Y8G("ngClass",e.hasChanged(e.ChangeCertificateHolderTransaction.ContactFirstName,e.OldCertificateHolderTransaction.ContactFirstName)?"red":""),t.R7$(4),t.JRh(e.OldCertificateHolderTransaction.ContactFirstName),t.R7$(),t.Y8G("ngClass",e.hasChanged(e.ChangeCertificateHolderTransaction.ContactLastName,e.OldCertificateHolderTransaction.ContactLastName)?"red":""),t.R7$(4),t.JRh(e.OldCertificateHolderTransaction.ContactLastName),t.R7$(),t.Y8G("ngClass",e.hasChanged(e.ChangeCertificateHolderTransaction.ContactEmail,e.OldCertificateHolderTransaction.ContactEmail)?"red":""),t.R7$(4),t.JRh(e.OldCertificateHolderTransaction.ContactEmail),t.R7$(),t.Y8G("ngIf","D"!=e.transactionType),t.R7$(),t.Y8G("ngIf","D"==e.transactionType),t.R7$(7),t.Y8G("ngClass",e.hasChanged(e.ChangeCertificateHolderTransaction.CertificateHolderTypeName,e.OldCertificateHolderTransaction.CertificateHolderTypeName)?"green":""),t.R7$(4),t.JRh(e.ChangeCertificateHolderTransaction.CertificateHolderTypeName),t.R7$(),t.Y8G("ngClass",e.hasChanged(e.ChangeCertificateHolderTransaction.Name,e.OldCertificateHolderTransaction.Name)?"green":""),t.R7$(4),t.JRh(e.ChangeCertificateHolderTransaction.Name),t.R7$(),t.Y8G("ngClass",e.hasChanged(e.ChangeCertificateHolderTransaction.Address1,e.OldCertificateHolderTransaction.Address1)?"green":""),t.R7$(4),t.JRh(e.ChangeCertificateHolderTransaction.Address1),t.R7$(),t.Y8G("ngClass",e.hasChanged(e.ChangeCertificateHolderTransaction.Address2,e.OldCertificateHolderTransaction.Address2)?"green":""),t.R7$(4),t.JRh(e.ChangeCertificateHolderTransaction.Address2),t.R7$(),t.Y8G("ngClass",e.hasChanged(e.ChangeCertificateHolderTransaction.StateId,e.OldCertificateHolderTransaction.StateId)?"green":""),t.R7$(4),t.JRh(e.ChangeCertificateHolderTransaction.State),t.R7$(),t.Y8G("ngClass",e.hasChanged(e.ChangeCertificateHolderTransaction.CityId,e.OldCertificateHolderTransaction.CityId)?"green":""),t.R7$(4),t.JRh(e.ChangeCertificateHolderTransaction.City),t.R7$(),t.Y8G("ngClass",e.hasChanged(e.ChangeCertificateHolderTransaction.Zip,e.OldCertificateHolderTransaction.Zip)?"green":""),t.R7$(4),t.JRh(e.ChangeCertificateHolderTransaction.Zip),t.R7$(),t.Y8G("ngClass",e.hasChanged(e.ChangeCertificateHolderTransaction.ParentCertificateHolderId,e.OldCertificateHolderTransaction.ParentCertificateHolderId)?"green":""),t.R7$(4),t.JRh(e.ChangeCertificateHolderTransaction.ParentName),t.R7$(),t.Y8G("ngClass",e.hasChanged(e.ChangeCertificateHolderTransaction.ContactFirstName,e.OldCertificateHolderTransaction.ContactFirstName)?"green":""),t.R7$(4),t.JRh(e.ChangeCertificateHolderTransaction.ContactFirstName),t.R7$(),t.Y8G("ngClass",e.hasChanged(e.ChangeCertificateHolderTransaction.ContactLastName,e.OldCertificateHolderTransaction.ContactLastName)?"green":""),t.R7$(4),t.JRh(e.ChangeCertificateHolderTransaction.ContactLastName),t.R7$(),t.Y8G("ngClass",e.hasChanged(e.ChangeCertificateHolderTransaction.ContactEmail,e.OldCertificateHolderTransaction.ContactEmail)?"green":""),t.R7$(4),t.JRh(e.ChangeCertificateHolderTransaction.ContactEmail),t.R7$(),t.Y8G("ngIf","D"!=e.transactionType),t.R7$(),t.Y8G("ngIf","D"==e.transactionType))},dependencies:[c.YU,c.bT,c.vh],styles:[".modal-body[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:.7375rem!important}fieldset.scheduler-border[_ngcontent-%COMP%]{border:1px solid #ccc!important;padding:0 1.4em 1.4em!important;margin:0 0 1.5em!important;box-shadow:0 0 #000}legend.scheduler-border[_ngcontent-%COMP%]{width:inherit;padding:0 10px;border-bottom:none;font-size:12px;font-weight:700}.yellow[_ngcontent-%COMP%]{background-color:#ff0}.red[_ngcontent-%COMP%]{background-color:#ffeae6}.green[_ngcontent-%COMP%]{background-color:#e3fcef}.linechange[_ngcontent-%COMP%]{text-decoration:line-through}.card[_ngcontent-%COMP%] .card-block[_ngcontent-%COMP%] .sub-title[_ngcontent-%COMP%]{padding-bottom:0;margin-bottom:0;padding-top:10px;font-weight:700}.modal-body[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-weight:700;width:35%}"]})}}return a})();var v=r(50779),C=r(89417),O=r(23400);const G=a=>({highlight:a});function Y(a,s){if(1&a){const n=t.RV6();t.j41(0,"tr",14)(1,"td"),t.EFF(2),t.nI1(3,"date"),t.k0s(),t.j41(4,"td"),t.EFF(5),t.k0s(),t.j41(6,"td"),t.EFF(7),t.k0s(),t.j41(8,"td"),t.EFF(9),t.k0s(),t.j41(10,"td")(11,"a",15),t.bIt("click",function(){const e=t.eBV(n).$implicit,o=t.XpG();return t.Njj(o.openTransactionDetail(e))}),t.nrm(12,"i",16),t.k0s()()()}if(2&a){const n=s.$implicit,i=s.index,e=t.XpG();t.Y8G("ngClass",t.eq3(9,G,i==e.selectedIndex)),t.R7$(2),t.JRh(t.i5U(3,6,1e3*n.DateEntered,"MM-dd-yyyy, h:mm:ss a")),t.R7$(3),t.JRh(n.ACDType),t.R7$(2),t.JRh(n.Description),t.R7$(2),t.JRh(n.CreatedByName),t.R7$(2),t.Y8G("placement","top")}}let N=(()=>{class a{constructor(n,i,e,o,d){this.route=n,this.router=i,this.certificateholderService=e,this.spinner=o,this.modalService=d,this.totalItems=0,this.itemsPerPage=100,this.pageIndex=1,this.alerts=[],this.SearchText="",this.config={backdrop:!0,ignoreBackdropClick:!0,class:"modal-lg"}}ngOnInit(){this.id=this.certificateholderId,this.id&&this.getCertificateholdeTransactionLog(this.id
1)}getCertificateholdeTransactionLog(n){this.certificateholderService.getCertificateHolderTransactionLog({PageIndex:this.pageIndex,PageSize:this.itemsPerPage,SortBy:"3",SortOrder:2,Filter:{SearchText:this.SearchText,Deleted:!0,CertificateHolderId:n}}).subscribe(e=>{e.Result&&(this.totalItems=e.Result_value.TotalRecords,this.transactions=e.Result_value.SearchResult),this.spinner.hide()},e=>{console.log("Some Error occured")})}onFilter(n){this.SearchText=n,this.getCertificateholdeTransactionLog(this.id)}pageChanged(n){this.pageIndex=n.page,this.getCertificateholdeTransactionLog(this.id)}openTransactionDetail(n){this.spinner.show(),this.modalRef=this.modalService.show($,Object.assign({},this.config,{class:"modal-lg",initialState:{transaction:n}})),this.modalRef.content.closeModalEvent.subscribe(e=>{this.modalRef.hide()})}static{this.\u0275fac=function(i){return new(i||a)(t.rXU(g.Ix),t.rXU(g.nX),t.rXU(h.b),t.rXU(T.ex),t.rXU(v.I8))}}static{this.\u0275cmp=t.VBU({type:a,selectors:[["app-certificate-holder-transaction-list"]],inputs:{certificateholderId:"certificateholderId"},decls:26,vars:5,consts:[[1,"table-card","latest-activity-card"],[1,"card-header","with-border","height70"],[1,"input-group","mb-1","mt-2",2,"width","300px","float","right"],["type","text","placeholder","Search here...",1,"form-control",3,"keydown.enter","ngModelChange","ngModel"],[1,"input-group-append"],["type","button",1,"btn","btn-primary","btn-msg-send",3,"click"],[1,"fas","fa-search"],[1,""],[1,"table-responsive"],["id","Certificateholder_table",1,"table","table-borderless","table-xs","fleetvims-table"],[2,"background","#eee"],[3,"ngClass",4,"ngFor","ngForOf"],[1,"text-center"],[3,"pageChanged","totalItems","itemsPerPage","maxSize"],[3,"ngClass"],["ngbTooltip","Transaction View","href","JavaScript:void(0)",1,"btn","waves-effect","waves-dark","btn-outline-primary","btn-icon",2,"width","27px","height","27px",3,"click","placement"],[1,"fa","fa-search-plus",2,"margin-right","0"]],template:function(i,e){1&i&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"input",3),t.bIt("keydown.enter",function(){return e.onFilter(e.search_value)}),t.mxI("ngModelChange",function(d){return t.DH7(e.search_value,d)||(e.search_value=d),d}),t.k0s(),t.j41(4,"div",4)(5,"button",5),t.bIt("click",function(){return e.onFilter(e.search_value)}),t.nrm(6,"i",6),t.k0s()()()(),t.j41(7,"div",7)(8,"div",8)(9,"table",9)(10,"thead")(11,"tr",10)(12,"th"),t.EFF(13,"Transaction Date"),t.k0s(),t.j41(14,"th"),t.EFF(15,"A/C/D"),t.k0s(),t.j41(16,"th"),t.EFF(17,"Details"),t.k0s(),t.j41(18,"th"),t.EFF(19,"Username"),t.k0s(),t.j41(20,"th"),t.EFF(21,"View"),t.k0s()()(),t.j41(22,"tbody"),t.DNE(23,Y,13,11,"tr",11),t.k0s()()(),t.j41(24,"div",12)(25,"pagination",13),t.bIt("pageChanged",function(d){return e.pageChanged(d)}),t.k0s()()()()),2&i&&(t.R7$(3),t.R50("ngModel",e.search_value),t.R7$(20),t.Y8G("ngForOf",e.transactions),t.R7$(2),t.Y8G("totalItems",e.totalItems)("itemsPerPage",e.itemsPerPage)("maxSize",5))},dependencies:[c.YU,c.Sq,C.me,C.BC,C.vS,b.md,u.k,O.eK,c.vh],styles:[".pcoded-inner-content[_ngcontent-%COMP%]{margin-top:-50px;background-color:#ecf0f5}.dataTables_filter[_ngcontent-%COMP%]{float:right}.pagination[_ngcontent-%COMP%]{margin:auto;width:198px}.latest-activity-card[_ngcontent-%COMP%] .card-block[_ngcontent-%COMP%]{padding-top:0}.table-card[_ngcontent-%COMP%] .card-block[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-top:0}.table-card[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, .table-card[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{padding-left:20px}.table.table-xs[_ngcontent-%COMP%] td[_ngcontent-%COMP%], .table.table-xs[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:.3rem;font-size:.8rem}.fleetvims-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px solid #eee}.fleetvims-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{vertical-align:baseline}.fleetvims-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover{background-color:#00000008}.form-control[_ngcontent-%COMP%]{font-size:0 .8rem!important}select.form-control[_ngcontent-%COMP%]:not([size]):not([multiple]){border:1px solid #cccccc!important}select.form-control[_ngcontent-%COMP%]:not([size]):not([multiple]):focus{border:1px solid #0085ca!important}.card-header.with-border[_ngcontent-%COMP%]{padding:10px 20px}button.btn-sm[_ngcontent-%COMP%]{padding:4px 14px}table.table.table-borderless.table-xs.fleetvims-table[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{line-height:1;width:27px;height:27px;margin-right:2px;padding-top:1px;padding-right:1px}.alertbox[_ngcontent-%COMP%]{position:fixed!important;bottom:0;right:0;z-index:1}.table-responsive[_ngcontent-%COMP%]{min-height:350px}.modal-body[_ngcontent-%COMP%] label[_ngcontent-%COMP%], label[_ngcontent-%COMP%]{font-weight:900!important}fieldset.scheduler-border[_ngcontent-%COMP%]{border:1px solid #ccc!important;padding:0 1.4em 1.4em!important;margin:0 0 1.5em!important;box-shadow:0 0 #000}legend.scheduler-border[_ngcontent-%COMP%]{width:inherit;padding:0 10px;border-bottom:none;font-size:12px;font-weight:700}.yellow[_ngcontent-%COMP%]{background-color:#ff0}.red[_ngcontent-%COMP%]{background-color:#ffeae6}.green[_ngcontent-%COMP%]{background-color:#e3fcef}.linechange[_ngcontent-%COMP%]{text-decoration:line-through}.card[_ngcontent-%COMP%] .card-block[_ngcontent-%COMP%] .sub-title[_ngcontent-%COMP%]{padding-bottom:0;margin-bottom:0;padding-top:10px;font-weight:700}.modal-body[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-weight:700;width:35%}.btn.waves-effect.waves-dark.btn-info.btn-outline-info.btn-icon.client-btn[_ngcontent-%COMP%], .btn.waves-effect.waves-dark.btn-success.btn-outline-success.btn-icon.client-btn[_ngcontent-%COMP%]{float:right;width:23px;height:22px;padding:0;line-height:16px;font-size:12px;margin-right:5px}.btn.waves-effect.waves-dark.btn-warning.btn-outline-warning.btn-icon.client-btn[_ngcontent-%COMP%]{float:right;width:23px;height:22px;padding:0;line-height:16px;font-size:12px;margin-right:7px}.highlight[_ngcontent-%COMP%]{background-color:silver}.height70[_ngcontent-%COMP%]{height:70px!important}"]})}}return a})();const D=()=>["/dashboard"],w=()=>["/certificates/directory"],S=a=>["/certificates/certificate-holder/edit/",a];function L(a,s){if(1&a&&(t.j41(0,"div"),t.nrm(1,"app-certificate-holder-transaction-list",32),t.k0s()),2&a){const n=t.XpG();t.Y8G("@fadeInOutTranslate",void 0),t.R7$(),t.Y8G("certificateholderId",n.id)}}function J(a,s){if(1&a&&(t.j41(0,"div"),t.nrm(1,"app-user-transaction-log",33),t.k0s()),2&a){const n=t.XpG();t.Y8G("@fadeInOutTranslate",void 0),t.R7$(),t.Y8G("moduleId",n.id)("module",n.module)}}const A=[{path:"",component:(()=>{class a{constructor(n,i,e,o,d){this.router=n,this.route=i,this.titleService=e,this.certificateholderService=o,this.authService=d,this.titleService.init(0,this.route),this.route.
1snapshot.params.id&&(this.id=this.route.snapshot.params.id,this.transactionTabId=this.route.snapshot.queryParams.TransactionLog||"CertificateHolder")}ngOnInit(){this.module=H.aB.CertificateHolder,this.getCertificateholder(this.id)}getCertificateholder(n){this.certificateholderService.getCertificateHolderById(n).subscribe(i=>{i.Result?this.certificateholderName=i.Result_value.Name:112==i.Error_value.ErrorCode&&(this.authService.logoutUser(),this.router.navigate(["/login"]))},i=>{console.log(i)})}static{this.\u0275fac=function(i){return new(i||a)(t.rXU(g.Ix),t.rXU(g.nX),t.rXU(P.E),t.rXU(h.b),t.rXU(M.u))}}static{this.\u0275cmp=t.VBU({type:a,selectors:[["app-certificate-holder-transactionlog"]],decls:47,vars:11,consts:[[1,"pcoded-content"],[1,"page-header"],[1,"page-block"],[1,"row","align-items-center"],[1,"col-md-6"],[1,"page-header-title"],[1,"m-b-10"],[2,"float","right"],[1,"breadcrumb"],[1,"breadcrumb-item"],[3,"routerLink"],[1,"feather","icon-home"],["href","javascript:void(0)"],[1,"pcoded-inner-content"],[1,"main-body"],[1,"page-wrapper"],[1,"page-body"],[1,"row"],[1,"card"],[1,"card-header-vims","text-muted"],[1,"card-body",2,"padding","1.07rem"],[1,"waves-light","m-r-10","v-middle","issue-btn-group","has-ripple"],[2,"border-radius","4px","margin-bottom","0"],["ngbTooltip","Certificate Holder Edit",1,"btn","waves-effect","waves-dark","btn-outline-warning","btn-icon","float-right","agency-btn",2,"margin-left","100px",3,"routerLink","placement"],[1,"fa","fa-edit",2,"margin-right","0"],[1,"alertbox"],[1,"col-lg-12","col-md-12"],[1,"md-tabs"],[3,"activeId"],["title","Certificate Holder::Transaction Log","id","CertificateHolder"],["ngbTabContent",""],["title","User::Transaction Log","id","User"],[3,"certificateholderId"],[3,"moduleId","module"]],template:function(i,e){1&i&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"h4",6),t.EFF(7,"Certificate Holders"),t.k0s()()(),t.j41(8,"div",4)(9,"div",7)(10,"ul",8)(11,"li",9)(12,"a",10),t.nrm(13,"i",11),t.k0s()(),t.j41(14,"li",9)(15,"a",10),t.EFF(16,"Certificates"),t.k0s()(),t.j41(17,"li",9)(18,"a",12),t.EFF(19,"Certificate Holder Transaction Log"),t.k0s()()()()()()()(),t.j41(20,"div",13)(21,"div",14)(22,"div",15)(23,"div",16)(24,"div",17)(25,"div",4)(26,"div",18)(27,"div",19),t.EFF(28,"Certificate Holder"),t.k0s(),t.j41(29,"div",20)(30,"div",21)(31,"p",22),t.EFF(32,"Certificate Holder: "),t.j41(33,"b"),t.EFF(34),t.k0s(),t.j41(35,"a",23),t.nrm(36,"i",24),t.k0s(),t.nrm(37,"br"),t.k0s()()()()(),t.nrm(38,"div",25),t.j41(39,"div",26)(40,"div",18)(41,"div",27)(42,"ngb-tabset",28)(43,"ngb-tab",29),t.DNE(44,L,2,2,"ng-template",30),t.k0s(),t.j41(45,"ngb-tab",31),t.DNE(46,J,2,3,"ng-template",30),t.k0s()()()()()()()()()()()),2&i&&(t.Y8G("@routerTransition",void 0),t.R7$(12),t.Y8G("routerLink",t.lJ4(7,D)),t.R7$(3),t.Y8G("routerLink",t.lJ4(8,w)),t.R7$(19),t.SpI(" ",e.certificateholderName,""),t.R7$(),t.Y8G("routerLink",t.eq3(9,S,e.id))("placement","left"),t.R7$(7),t.Y8G("activeId",e.transactionTabId))},dependencies:[g.Wk,b.md,u.k,f.Lp,f.HA,f.CY,_.N,N],styles:[".pcoded-inner-content[_ngcontent-%COMP%]{margin-top:-50px;background-color:#ecf0f5}.dataTables_filter[_ngcontent-%COMP%]{float:right}.pagination[_ngcontent-%COMP%]{margin:auto;width:198px}.latest-activity-card[_ngcontent-%COMP%] .card-block[_ngcontent-%COMP%]{padding-top:0}.table-card[_ngcontent-%COMP%] .card-block[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-top:0}.table-card[_ngcontent-%COMP%] .card-block[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, .table-card[_ngcontent-%COMP%] .card-block[_ngcontent-%COMP%] .table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{padding-left:20px}.table.table-xs[_ngcontent-%COMP%] td[_ngcontent-%COMP%], .table.table-xs[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:.3rem;font-size:.8rem}.fleetvims-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-bottom:1px solid #eee}.fleetvims-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{vertical-align:baseline}.fleetvims-table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:hover{background-color:#00000008}.form-control[_ngcontent-%COMP%]{font-size:.7375rem!important}select.form-control[_ngcontent-%COMP%]:not([size]):not([multiple]){border:1px solid #cccccc!important}select.form-control[_ngcontent-%COMP%]:not([size]):not([multiple]):focus{border:1px solid #0085ca!important}.card-header.with-border[_ngcontent-%COMP%]{padding:10px 20px}button.btn-sm[_ngcontent-%COMP%]{padding:4px 14px}table.table.table-borderless.table-xs.fleetvims-table[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{line-height:1;width:auto;height:auto;margin-right:2px}.alertbox[_ngcontent-%COMP%]{position:fixed!important;bottom:0;right:0;z-index:1}.table-responsive[_ngcontent-%COMP%]{min-height:350px}.modal-body[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:.7375rem!important}fieldset.scheduler-border[_ngcontent-%COMP%]{border:1px solid #ccc!important;padding:0 1.4em 1.4em!important;margin:0 0 1.5em!important;box-shadow:0 0 #000}legend.scheduler-border[_ngcontent-%COMP%]{width:inherit;padding:0 10px;border-bottom:none;font-size:12px;font-weight:700}.yellow[_ngcontent-%COMP%]{background-color:#ff0}.red[_ngcontent-%COMP%]{background-color:#ffeae6}.green[_ngcontent-%COMP%]{background-color:#e3fcef}.linechange[_ngcontent-%COMP%]{text-decoration:line-through}.card[_ngcontent-%COMP%] .card-block[_ngcontent-%COMP%] .sub-title[_ngcontent-%COMP%]{padding-bottom:0;margin-bottom:0;padding-top:10px;font-weight:700}.modal-body[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-weight:700;width:35%}.btn.waves-effect.waves-dark.btn-info.btn-outline-info.btn-icon.agency-btn[_ngcontent-%COMP%], .btn.waves-effect.waves-dark.btn-success.btn-outline-success.btn-icon.agency-btn[_ngcontent-%COMP%]{float:right;width:23px;height:22px;padding:0;line-height:16px;font-size:12px;margin-right:5px}.btn.waves-effect.waves-dark.btn-warning.btn-outline-warning.btn-icon.agency-btn[_ngcontent-%COMP%]{float:right;width:23px;height:22px;padding:0;line-height:16px;font-size:12px;margin-right:7px}.highlight[_ngcontent-%COMP%]{background-color:silver}.red-border[_ngcontent-%COMP%]{border:1px solid red}.green-border[_ngcontent-%COMP%]{border:1px solid green}.gray-border[_ngcontent-%COMP%]{border:1px solid lightgray}.height70[_ngcontent-%COMP%]{height:70px!important}"],data:{animation:[(0,F.L0)(),(0,l.hZ)("fadeInOutTranslate",[(0,l.kY)(":enter",[(0,l.iF)({opacity:0}
1),(0,l.i0)("400ms ease-in-out",(0,l.iF)({opacity:1}))]),(0,l.kY)(":leave",[(0,l.iF)({transform:"translate(0)"}),(0,l.i0)("400ms ease-in-out",(0,l.iF)({opacity:0}))])])]}})}}return a})()}];let U=(()=>{class a{static{this.\u0275fac=function(i){return new(i||a)}}static{this.\u0275mod=t.$C({type:a})}static{this.\u0275inj=t.G2t({imports:[g.iI.forChild(A),g.iI]})}}return a})();var p=r(29376),X=r(97013),z=r(85260),B=r(534),Z=r(65569),V=r(6107),x=r(36273),Q=r(99021),K=r(65632);let W=(()=>{class a{static{this.\u0275fac=function(i){return new(i||a)}}static{this.\u0275mod=t.$C({type:a})}static{this.\u0275inj=t.G2t({providers:[Q.h,p.Lw,h.b,K.g],imports:[c.MD,U,c.MD,X.MQ,V.L,C.YN,p.n8,C.X1,v.Q_.forRoot(),B.Ss.forRoot(),z.Zi.forRoot(),O.x6.forRoot(),p.UN,Z.m.forRoot(),x.E]})}}return a})()}}]);
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.