{"version":3,"sources":["src/app/core/components/ui-kit/input/input.component.ts","src/app/core/components/ui-kit/input/input.component.html"],"sourcesContent":["import { Component, Input } from '@angular/core';\nimport {\n ControlContainer,\n FormGroupDirective,\n FormsModule,\n ReactiveFormsModule,\n} from '@angular/forms';\nimport { SharedModule } from 'src/app/core/shared.module';\n\n@Component({\n selector: 'v-input',\n\n imports: [ReactiveFormsModule, SharedModule, FormsModule],\n templateUrl: './input.component.html',\n styleUrl: './input.component.scss',\n viewProviders: [\n {\n provide: ControlContainer,\n useExisting: FormGroupDirective,\n },\n ],\n})\nexport class VInputComponent {\n /**\n * Which type of input to use\n */\n @Input()\n type = 'text';\n\n /**\n * Placeholder text to display\n */\n @Input()\n placeholder = 'Enter text';\n\n @Input()\n size: 'small' | 'medium' | 'large' = 'medium';\n\n /**\n * Optional form control name\n */\n @Input()\n fControlName?: string;\n\n /**\n * Optionally sets the test id for the input\n */\n @Input()\n testId?: string;\n}\n","\n"],"names":["ɵɵelement","ɵɵproperty","ctx_r0","type","fControlName","ɵɵpureFunction3","_c0","size","placeholder","VInputComponent","constructor","selectors","inputs","testId","features","ɵɵProvidersFeature","provide","ControlContainer","useExisting","FormGroupDirective","decls","vars","consts","template","rf","ctx","ɵɵtemplate","VInputComponent_input_0_Template","ReactiveFormsModule","DefaultValueAccessor","NgControlStatus","FormControlName","SharedModule","NgClass","NgIf","FormsModule","styles"],"mappings":";;8UCAAA,EAAA,EAAA,QAAA,CAAA,iBAEEC,EAAA,OAAAC,EAAAC,IAAA,EAAa,kBAAAD,EAAAE,YAAA,EACmB,UAAAC,EAAA,EAAAC,EAAAJ,EAAAK,OAAA,QAAAL,EAAAK,OAAA,SAAAL,EAAAK,OAAA,OAAA,CAAA,EAM9B,cAAAL,EAAAM,WAAA,6BDaJ,IAAaC,GAAe,IAAA,CAAtB,MAAOA,CAAe,CAb5BC,aAAA,CAkBE,KAAAP,KAAO,OAMP,KAAAK,YAAc,aAGd,KAAAD,KAAqC,yDAd1BE,EAAe,CAAA,+BAAfA,EAAeE,UAAA,CAAA,CAAA,SAAA,CAAA,EAAAC,OAAA,CAAAT,KAAA,OAAAK,YAAA,cAAAD,KAAA,OAAAH,aAAA,eAAAS,OAAA,QAAA,EAAAC,SAAA,CAAAC,EAAA,CAAA,EAPX,CACb,CACEC,QAASC,EACTC,YAAaC,EACd,CACF,CAAA,EAAAC,MAAA,EAAAC,KAAA,EAAAC,OAAA,CAAA,CAAA,QAAA,UAAA,EAAA,OAAA,kBAAA,UAAA,cAAA,EAAA,MAAA,EAAA,CAAA,EAAA,UAAA,EAAA,OAAA,kBAAA,UAAA,aAAA,CAAA,EAAAC,SAAA,SAAAC,EAAAC,EAAA,CAAAD,EAAA,GCpBHE,EAAA,EAAAC,EAAA,EAAA,EAAA,QAAA,CAAA,OACG1B,EAAA,OAAAwB,EAAArB,YAAA,iBDWSwB,EAAmBC,EAAAC,EAAAC,EAAEC,EAAYC,EAAAC,EAAEC,CAAW,EAAAC,OAAA,CAAA;yDAAA,CAAA,CAAA,CAAA,SAU7C3B,CAAe,GAAA","debug_id":"2697c6ea-7e5b-566e-b8d7-13db05e912f0"}