import{a as O}from"./chunk-FOIUC34Q.js";import{A as V,B as E,C as F}from"./chunk-DQXXLIFV.js";import{$b as e,Ab as g,Ac as u,Fd as I,Gb as s,Ld as S,Pc as a,Qc as r,Rb as d,ac as t,bc as f,fc as w,fd as T,ic as k,kc as h,nb as o,td as v,ud as y,wa as C,xa as _,yc as l,zc as c}from"./chunk-LU6Q5ONP.js";S();F();T();S();F();function B(i,x){i&1&&f(0,"i",10)}function R(i,x){if(i&1){let p=w();e(0,"tr",6),k("click",function(){let m=C(p).$implicit,N=h();return _(N.select.onOptionSelected(m))}),e(1,"td",7),l(2),t(),e(3,"td",8),l(4),a(5,"translate"),a(6,"translate"),t(),e(7,"td",8),l(8),a(9,"translate"),a(10,"translate"),t(),e(11,"td",4),s(12,B,1,0,"i",9),t()()}if(i&2){let p=x.$implicit,n=h();o(2),c(p.option.text),o(2),u(" ",p.option.isCompanyCar===n.CharFlag.True?r(5,4,"Yes"):r(6,6,"No")," "),o(4),u(" ",p.option.isRentedCar===n.CharFlag.True?r(9,8,"Yes"):r(10,10,"No")," "),o(4),d("ngIf",p.option.key===n.selectedCarRegNo)}}var P=(()=>{class i{constructor(){this.moptions=[],this.CharFlag=O}static{this.\u0275fac=function(n){return new(n||i)}}static{this.\u0275cmp=g({type:i,selectors:[["paw-vehicle-lookup-options"]],inputs:{moptions:"moptions",select:"select",selectedCarRegNo:"selectedCarRegNo"},decls:16,vars:10,consts:[[1,"paw-template-lookup-items"],[1,"paw-lookup-items"],["width","40%"],["width","25%"],["width","10%"],[3,"click",4,"ngFor","ngForOf"],[3,"click"],["width","40%",1,"paw-text-primary"],["width","25%",1,"paw-text-secondary"],["class","fa fa-check paw-contrast-color-primary",4,"ngIf"],[1,"fa","fa-check","paw-contrast-color-primary"]],template:function(n,m){n&1&&(e(0,"div",0)(1,"table",1)(2,"thead")(3,"tr")(4,"th",2),l(5),a(6,"translate"),t(),e(7,"th",3),l(8),a(9,"translate"),t(),e(10,"th",3),l(11),a(12,"translate"),t(),f(13,"th",4),t()(),e(14,"tbody"),s(15,R,13,12,"tr",5),t()()()),n&2&&(o(5),c(r(6,4,"CarRegNo")),o(3),c(r(9,6,"CompanyVehicle")),o(3),c(r(12,8,"RentedVehicle")),o(4),d("ngForOf",m.moptions))},dependencies:[I,v,y,E,V],encapsulation:2})}}return i})();export{P as a};
