/** * @fileoverview This file is generated by the Angular template compiler. * Do not edit. * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride} */ /* tslint:disable */ import * as i0 from '@angular/core'; import * as i1 from '@angular/common'; import * as i2 from '@angular/forms'; import * as i3 from './radio-button.component'; const styles_RadioButtonComponent:any[] = ['@charset "UTF-8";\n\n[_ngcontent-%COMP%]:root {\n --color-white: white;\n --color-success: #00afec;\n --color-warning: #ffb827;\n --color-error: #f35252;\n --color-disabled: #dbdbdb;\n --color-black: black;\n --color-span: #b5b5b5;\n --color-span-second: #212121;\n --color-bg: #f8f8f8;\n --color-bg-second: #f8f8f8;\n --color-bg-success: rgba(0, 175, 236, 0.1);\n --color-bg-warning: var(--color-warning);\n --color-bg-error: var(--color-error);\n --color-placeholder: #b5b5b5;\n --color-border: #dbdbdb;\n --color-radio-border: #d3d3d3;\n --font-roboto: \'Roboto\', sans-serif;\n --font-helvetica: \'Helvetica\', sans-serif; }\n\n\n\n.gp-radio-button__radio[_ngcontent-%COMP%] {\n position: relative;\n display: block;\n width: 2rem;\n height: 2rem;\n -moz-transition: all 300ms ease;\n -o-transition: all 300ms ease;\n -webkit-transition: all 300ms ease;\n transition: all 300ms ease;\n border: 0.1rem solid #d3d3d3;\n border-radius: 50%;\n background-color: var(--color-white); }\n\n.gp-radio-button__input[_ngcontent-%COMP%]:checked + .gp-radio-button__radio[_ngcontent-%COMP%] {\n border-color: #00afec;\n background-color: #00afec; }\n\n.gp-radio-button__input[_ngcontent-%COMP%]:checked + span[_ngcontent-%COMP%] + .gp-radio-button__description[_ngcontent-%COMP%] {\n color: #212121; }\n\n.gp-radio-button__input--error[_ngcontent-%COMP%] + .gp-radio-button__radio[_ngcontent-%COMP%] {\n border-color: #f35252;\n background-color: var(--color-white); }\n\n.gp-radio-button__input--error[_ngcontent-%COMP%] + span[_ngcontent-%COMP%] + .gp-radio-button__description[_ngcontent-%COMP%] {\n color: #f35252; }\n\n.gp-radio-button__input--disabled[_ngcontent-%COMP%] + .gp-radio-button__radio[_ngcontent-%COMP%] {\n cursor: not-allowed;\n border-color: #b5b5b5; }\n\n.gp-radio-button__input--disabled[_ngcontent-%COMP%] + .gp-radio-button__radio[_ngcontent-%COMP%]:before {\n background-color: #b5b5b5; }\n\n.gp-radio-button__input--disabled[_ngcontent-%COMP%] + span[_ngcontent-%COMP%] + .gp-radio-button__description[_ngcontent-%COMP%] {\n cursor: not-allowed;\n color: #b5b5b5; }\n\n.gp-radio-button__radio[_ngcontent-%COMP%]:before {\n position: absolute;\n width: 0.6rem;\n height: 0.6rem;\n margin: 0.6rem;\n content: \'\';\n -moz-transition: background-color 300ms ease;\n -o-transition: background-color 300ms ease;\n -webkit-transition: background-color 300ms ease;\n transition: background-color 300ms ease;\n border-radius: 50%;\n background-color: var(--color-white); }\n\n.gp-radio-button__description[_ngcontent-%COMP%] {\n font: 1.4rem/1.6rem "Roboto", sans-serif;\n -moz-transition: color 300ms ease;\n -o-transition: color 300ms ease;\n -webkit-transition: color 300ms ease;\n transition: color 300ms ease;\n color: #212121; }']; export const RenderType_RadioButtonComponent:i0.RendererType2 = i0.ɵcrt({encapsulation:0, styles:styles_RadioButtonComponent,data:{}}); function View_RadioButtonComponent_1(_l:any):i0.ɵViewDefinition { return i0.ɵvid(0,[(_l()(),i0.ɵeld(0,0,(null as any),(null as any),15,'label',([] as any[]), [[8,'className',0]],(null as any),(null as any),(null as any),(null as any))), (_l()(),i0.ɵted(-1,(null as any),['\n\n '])),(_l()(),i0.ɵeld(2,0,(null as any), (null as any),7,'input',[['class','gp-radio-button__input'],['hidden',''], ['type','checkbox']],[[2,'ng-untouched',(null as any)],[2,'ng-touched', (null as any)],[2,'ng-pristine',(null as any)],[2,'ng-dirty',(null as any)], [2,'ng-valid',(null as any)],[2,'ng-invalid',(null as any)],[2,'ng-pending', (null as any)]],[[(null as any),'click'],[(null as any),'change'], [(null as any),'blur']],(_v,en,$event) => { var ad:boolean = true; var _co:any = _v.component; if (('change' === en)) { const pd_0:any = ((i0.ɵnov(_v,5).onChange($event.target.checked)) !== false); ad = (pd_0 && ad); } if (('blur' === en)) { const pd_1:any = ((i0.ɵnov(_v,5).onTouched()) !== false); ad = (pd_1 && ad); } if (('click' === en)) { const pd_2:any = ((_co.onChange(_v.context.$implicit.value,$event)) !== false); ad = (pd_2 && ad); } return ad; },(null as any),(null as any))),i0.ɵdid(3,278528,(null as any),0,i1.NgClass, [i0.IterableDiffers,i0.KeyValueDiffers,i0.ElementRef,i0.Renderer],{klass:[0, 'klass'],ngClass:[1,'ngClass']},(null as any)),i0.ɵpod(4,{'gp-radio-button__input--error':0, 'gp-radio-button__input--disabled':1}),i0.ɵdid(5,16384,(null as any),0,i2.CheckboxControlValueAccessor, [i0.Renderer2,i0.ElementRef],(null as any),(null as any)),i0.ɵprd(1024,(null as any), i2.NG_VALUE_ACCESSOR,(p0_0:any) => { return [p0_0]; },[i2.CheckboxControlValueAccessor]),i0.ɵdid(7,671744,(null as any),0,i2.NgModel, [[8,(null as any)],[8,(null as any)],[8,(null as any)],[2,i2.NG_VALUE_ACCESSOR]], {name:[0,'name'],isDisabled:[1,'isDisabled'],model:[2,'model']},(null as any)), i0.ɵprd(2048,(null as any),i2.NgControl,(null as any),[i2.NgModel]),i0.ɵdid(9, 16384,(null as any),0,i2.NgControlStatus,[i2.NgControl],(null as any),(null as any)), (_l()(),i0.ɵted(-1,(null as any),['\n\n '])),(_l()(),i0.ɵeld(11,0,(null as any), (null as any),0,'span',[['class','gp-radio-button__radio margin--right-1']], (null as any),(null as any),(null as any),(null as any),(null as any))), (_l()(),i0.ɵted(-1,(null as any),['\n\n '])),(_l()(),i0.ɵeld(13,0,(null as any), (null as any),1,'span',[['class','gp-radio-button__description']],(null as any), (null as any),(null as any),(null as any),(null as any))),(_l()(),i0.ɵted(14, (null as any),['',''])),(_l()(),i0.ɵted(-1,(null as any),['\n\n']))],(_ck, _v) => { var _co:any = _v.component; const currVal_8:any = 'gp-radio-button__input'; const currVal_9:any = _ck(_v,4,0,!!_co.error,_co.disabled); _ck(_v,3,0,currVal_8,currVal_9); const currVal_10:any = _co.name; const currVal_11:any = _co.disabled; const currVal_12:any = _v.context.$implicit.selected; _ck(_v,7,0,currVal_10,currVal_11,currVal_12); },(_ck,_v) => { var _co:any = _v.component; const currVal_0:any = i0.ɵinlineInterpolate(1,'gp-radio-button flex flex--align-center cursor-pointer ', _co.extraClass,''); _ck(_v,0,0,currVal_0); const currVal_1:any = i0.ɵnov(_v,9).ngClassUntouched; const currVal_2:any = i0.ɵnov(_v,9).ngClassTouched; const currVal_3:any = i0.ɵnov(_v,9).ngClassPristine; const currVal_4:any = i0.ɵnov(_v,9).ngClassDirty; const currVal_5:any = i0.ɵnov(_v,9).ngClassValid; const currVal_6:any = i0.ɵnov(_v,9).ngClassInvalid; const currVal_7:any = i0.ɵnov(_v,9).ngClassPending; _ck(_v,2,0,currVal_1,currVal_2,currVal_3,currVal_4,currVal_5,currVal_6,currVal_7); const currVal_13:any = _v.context.$implicit.text; _ck(_v,14,0,currVal_13); }); } export function View_RadioButtonComponent_0(_l:any):i0.ɵViewDefinition { return i0.ɵvid(0,[(_l()(),i0.ɵted(-1,(null as any),['\n'])),(_l()(),i0.ɵeld(1,0, (null as any),(null as any),3,'div',[['style','display: none']],(null as any), (null as any),(null as any),(null as any),(null as any))),(_l()(),i0.ɵted(-1, (null as any),['\n '])),i0.ɵncd((null as any),0),(_l()(),i0.ɵted(-1,(null as any), ['\n'])),(_l()(),i0.ɵted(-1,(null as any),['\n\n'])),(_l()(),i0.ɵand(16777216, (null as any),(null as any),1,(null as any),View_RadioButtonComponent_1)),i0.ɵdid(7, 802816,(null as any),0,i1.NgForOf,[i0.ViewContainerRef,i0.TemplateRef,i0.IterableDiffers], {ngForOf:[0,'ngForOf']},(null as any)),(_l()(),i0.ɵted(-1,(null as any),['\n']))], (_ck,_v) => { var _co:i3.RadioButtonComponent = _v.component; const currVal_0:any = _co.options; _ck(_v,7,0,currVal_0); },(null as any)); } export function View_RadioButtonComponent_Host_0(_l:any):i0.ɵViewDefinition { return i0.ɵvid(0,[(_l()(),i0.ɵeld(0,0,(null as any),(null as any),2,'gp-radio-button', ([] as any[]),(null as any),(null as any),(null as any),View_RadioButtonComponent_0, RenderType_RadioButtonComponent)),i0.ɵprd(5120,(null as any),i2.NG_VALUE_ACCESSOR, (p0_0:any) => { return [p0_0]; },[i3.RadioButtonComponent]),i0.ɵdid(2,10534912,(null as any),0,i3.RadioButtonComponent, [i0.ElementRef,i0.ChangeDetectorRef],(null as any),(null as any))],(null as any), (null as any)); } export const RadioButtonComponentNgFactory:i0.ComponentFactory = i0.ɵccf('gp-radio-button', i3.RadioButtonComponent,View_RadioButtonComponent_Host_0,{name:'name',error:'error', disabled:'disabled',value:'value'},{},['option']); //# sourceMappingURL=data:application/json;base64,eyJmaWxlIjoiL1VzZXJzL2FsZXhpcy93b3Jrc3BhY2UvZ3JlZW5waWUvZ3AtYWRtaW4tdXgvLmJ1aWxkL3NyYy9jb21wb25lbnRzL3JhZGlvLWJ1dHRvbi9yYWRpby1idXR0b24uY29tcG9uZW50Lm5nZmFjdG9yeS50cyIsInZlcnNpb24iOjMsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIm5nOi8vL1VzZXJzL2FsZXhpcy93b3Jrc3BhY2UvZ3JlZW5waWUvZ3AtYWRtaW4tdXgvLmJ1aWxkL3NyYy9jb21wb25lbnRzL3JhZGlvLWJ1dHRvbi9yYWRpby1idXR0b24uY29tcG9uZW50LnRzIiwibmc6Ly8vVXNlcnMvYWxleGlzL3dvcmtzcGFjZS9ncmVlbnBpZS9ncC1hZG1pbi11eC8uYnVpbGQvc3JjL2NvbXBvbmVudHMvcmFkaW8tYnV0dG9uL3JhZGlvLWJ1dHRvbi5jb21wb25lbnQudHMuUmFkaW9CdXR0b25Db21wb25lbnQuaHRtbCIsIm5nOi8vL1VzZXJzL2FsZXhpcy93b3Jrc3BhY2UvZ3JlZW5waWUvZ3AtYWRtaW4tdXgvLmJ1aWxkL3Ny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