/** * @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 './textarea.component'; import * as i3 from '@angular/forms'; const styles_TextareaComponent: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-textarea[_ngcontent-%COMP%] {\n display: inline-block;\n width: 100%; }\n .gp-textarea--success[_ngcontent-%COMP%] textarea.gp-textarea__area[_ngcontent-%COMP%]:focus {\n border-color: #00afec;\n outline-color: #00afec; }\n .gp-textarea--success[_ngcontent-%COMP%] .gp-textarea__title[_ngcontent-%COMP%] {\n color: #00afec; }\n .gp-textarea--error[_ngcontent-%COMP%] textarea.gp-textarea__area[_ngcontent-%COMP%]:focus {\n border-color: #f35252;\n outline-color: #f35252; }\n .gp-textarea--error[_ngcontent-%COMP%] .gp-textarea__title[_ngcontent-%COMP%] {\n color: #f35252; }\n .gp-textarea--error[_ngcontent-%COMP%] .gp-textarea__error[_ngcontent-%COMP%] {\n display: block; }\n .gp-textarea--disabled[_ngcontent-%COMP%] textarea.gp-textarea__area[_ngcontent-%COMP%] {\n cursor: not-allowed;\n color: #b5b5b5;\n border-color: #dbdbdb;\n background-color: #f8f8f8; }\n .gp-textarea__title[_ngcontent-%COMP%] {\n font: 500 1.2rem/1.4rem "Roboto", sans-serif;\n margin-bottom: 0.5rem;\n color: #b5b5b5;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -khtml-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none; }\n .gp-textarea__error[_ngcontent-%COMP%] {\n font: 500 1.2rem/1.4rem "Roboto", sans-serif;\n display: none;\n color: #f35252; }\n .gp-textarea__area[_ngcontent-%COMP%] {\n font: 1.3rem/1.5rem "Roboto", sans-serif;\n min-width: 18rem;\n width: 100%;\n padding: 0.9rem 1.5rem;\n border: 0.1rem solid #dbdbdb;\n border-radius: 0.2rem;\n background-color: var(--color-white); }\n .gp-textarea[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::-webkit-input-placeholder {\n color: #b5b5b5; }\n .gp-textarea[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:-ms-input-placeholder {\n color: #b5b5b5; }\n .gp-textarea[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::placeholder {\n color: #b5b5b5; }']; export const RenderType_TextareaComponent:i0.RendererType2 = i0.ɵcrt({encapsulation:0, styles:styles_TextareaComponent,data:{}}); function View_TextareaComponent_1(_l:any):i0.ɵViewDefinition { return i0.ɵvid(0,[(_l()(),i0.ɵeld(0,0,(null as any),(null as any),1,'div',[['class', 'gp-textarea__title']],(null as any),(null as any),(null as any),(null as any), (null as any))),(_l()(),i0.ɵted(1,(null as any),['','']))],(null as any),(_ck, _v) => { var _co:any = _v.component; const currVal_0:any = _co.title; _ck(_v,1,0,currVal_0); }); } function View_TextareaComponent_2(_l:any):i0.ɵViewDefinition { return i0.ɵvid(0,[(_l()(),i0.ɵeld(0,0,(null as any),(null as any),1,'div',[['class', 'gp-textarea__error']],(null as any),(null as any),(null as any),(null as any), (null as any))),(_l()(),i0.ɵted(1,(null as any),['','']))],(null as any),(_ck, _v) => { var _co:any = _v.component; const currVal_0:any = _co.error; _ck(_v,1,0,currVal_0); }); } export function View_TextareaComponent_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),19,'div',([] as any[]),(null as any),(null as any), (null as any),(null as any),(null as any))),i0.ɵdid(2,278528,(null as any),0, i1.NgClass,[i0.IterableDiffers,i0.KeyValueDiffers,i0.ElementRef,i0.Renderer], {ngClass:[0,'ngClass']},(null as any)),(_l()(),i0.ɵted(-1,(null as any),['\n\n '])), (_l()(),i0.ɵeld(4,0,(null as any),(null as any),7,'div',[['class','flex flex--content-between']], (null as any),(null as any),(null as any),(null as any),(null as any))), (_l()(),i0.ɵted(-1,(null as any),['\n '])),(_l()(),i0.ɵand(16777216,(null as any), (null as any),1,(null as any),View_TextareaComponent_1)),i0.ɵdid(7,16384, (null as any),0,i1.NgIf,[i0.ViewContainerRef,i0.TemplateRef],{ngIf:[0,'ngIf']}, (null as any)),(_l()(),i0.ɵted(-1,(null as any),['\n '])),(_l()(), i0.ɵand(16777216,(null as any),(null as any),1,(null as any),View_TextareaComponent_2)), i0.ɵdid(10,16384,(null as any),0,i1.NgIf,[i0.ViewContainerRef,i0.TemplateRef], {ngIf:[0,'ngIf']},(null as any)),(_l()(),i0.ɵted(-1,(null as any),['\n '])), (_l()(),i0.ɵted(-1,(null as any),['\n\n '])),(_l()(),i0.ɵeld(13,0,(null as any), (null as any),5,'textarea',[['class','gp-textarea__area']],[[8,'cols',0], [8,'rows',0],[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),'ngModelChange'],[(null as any),'input'],[(null as any), 'blur'],[(null as any),'compositionstart'],[(null as any),'compositionend']], (_v,en,$event) => { var ad:boolean = true; var _co:i2.TextareaComponent = _v.component; if (('input' === en)) { const pd_0:any = ((i0.ɵnov(_v,14)._handleInput($event.target.value)) !== false); ad = (pd_0 && ad); } if (('blur' === en)) { const pd_1:any = ((i0.ɵnov(_v,14).onTouched()) !== false); ad = (pd_1 && ad); } if (('compositionstart' === en)) { const pd_2:any = ((i0.ɵnov(_v,14)._compositionStart()) !== false); ad = (pd_2 && ad); } if (('compositionend' === en)) { const pd_3:any = ((i0.ɵnov(_v,14)._compositionEnd($event.target.value)) !== false); ad = (pd_3 && ad); } if (('ngModelChange' === en)) { const pd_4:any = (((_co.value = $event)) !== false); ad = (pd_4 && ad); } if (('ngModelChange' === en)) { const pd_5:any = ((_co.change()) !== false); ad = (pd_5 && ad); } return ad; },(null as any),(null as any))),i0.ɵdid(14,16384,(null as any),0,i3.DefaultValueAccessor, [i0.Renderer2,i0.ElementRef,[2,i3.COMPOSITION_BUFFER_MODE]],(null as any), (null as any)),i0.ɵprd(1024,(null as any),i3.NG_VALUE_ACCESSOR,(p0_0:any) => { return [p0_0]; },[i3.DefaultValueAccessor]),i0.ɵdid(16,671744,(null as any),0,i3.NgModel,[[8, (null as any)],[8,(null as any)],[8,(null as any)],[2,i3.NG_VALUE_ACCESSOR]], {name:[0,'name'],isDisabled:[1,'isDisabled'],model:[2,'model']},{update:'ngModelChange'}), i0.ɵprd(2048,(null as any),i3.NgControl,(null as any),[i3.NgModel]),i0.ɵdid(18, 16384,(null as any),0,i3.NgControlStatus,[i3.NgControl],(null as any),(null as any)), (_l()(),i0.ɵted(-1,(null as any),['\n\n '])),(_l()(),i0.ɵted(-1,(null as any), ['\n\n'])),(_l()(),i0.ɵted(-1,(null as any),['\n']))],(_ck,_v) => { var _co:i2.TextareaComponent = _v.component; const currVal_0:any = (((('gp-textarea ' + _co.extraClass) + (_co.disabled? ' gp-textarea--disabled ': '')) + (!!_co.value? ' gp-textarea--filled ': '')) + (!!_co.error? ' gp-textarea--error ': '')); _ck(_v,2,0,currVal_0); const currVal_1:boolean = !!_co.title; _ck(_v,7,0,currVal_1); const currVal_2:any = _co.showErrorText(); _ck(_v,10,0,currVal_2); const currVal_12:any = _co.name; const currVal_13:any = _co.disabled; const currVal_14:any = _co.value; _ck(_v,16,0,currVal_12,currVal_13,currVal_14); },(_ck,_v) => { var _co:i2.TextareaComponent = _v.component; const currVal_3:any = _co.cols; const currVal_4:any = _co.rows; const currVal_5:any = i0.ɵnov(_v,18).ngClassUntouched; const currVal_6:any = i0.ɵnov(_v,18).ngClassTouched; const currVal_7:any = i0.ɵnov(_v,18).ngClassPristine; const currVal_8:any = i0.ɵnov(_v,18).ngClassDirty; const currVal_9:any = i0.ɵnov(_v,18).ngClassValid; const currVal_10:any = i0.ɵnov(_v,18).ngClassInvalid; const currVal_11:any = i0.ɵnov(_v,18).ngClassPending; _ck(_v,13,0,currVal_3,currVal_4,currVal_5,currVal_6,currVal_7,currVal_8,currVal_9, currVal_10,currVal_11); }); } export function View_TextareaComponent_Host_0(_l:any):i0.ɵViewDefinition { return i0.ɵvid(0,[(_l()(),i0.ɵeld(0,0,(null as any),(null as any),2,'gp-textarea', ([] as any[]),(null as any),(null as any),(null as any),View_TextareaComponent_0, RenderType_TextareaComponent)),i0.ɵprd(5120,(null as any),i3.NG_VALUE_ACCESSOR, (p0_0:any) => { return [p0_0]; },[i2.TextareaComponent]),i0.ɵdid(2,2146304,(null as any),0,i2.TextareaComponent, [i0.ElementRef],(null as any),(null as any))],(null as any),(null as any)); } export const TextareaComponentNgFactory:i0.ComponentFactory = i0.ɵccf('gp-textarea', i2.TextareaComponent,View_TextareaComponent_Host_0,{rows:'rows',cols:'cols',name:'name', title:'title',error:'error',value:'value',disabled:'disabled',maxLength:'maxLength'}, {},([] as any[])); //# sourceMappingURL=data:application/json;base64,eyJmaWxlIjoiL1VzZXJzL2FsZXhpcy93b3Jrc3BhY2UvZ3JlZW5waWUvZ3AtYWRtaW4tdXgvLmJ1aWxkL3NyYy9jb21wb25lbnRzL3RleHRhcmVhL3RleHRhcmVhLmNvbXBvbmVudC5uZ2ZhY3RvcnkudHMiLCJ2ZXJzaW9uIjozLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJuZzovLy9V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