/** * @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 './control.component'; import * as i2 from '@angular/forms'; const styles_CheckboxControlComponent:any[] = ['.adm-checkbox, .adm-radio { display: block; margin: 5px 0; } .adm-checkbox__wrap, .adm-radio__wrap { display: flex; flex-direction: row; user-select: none; } .adm-checkbox__el, .adm-radio__el { display: inline-block; width: 18px; height: 18px; display: flex; justify-content: center; align-items: center; margin: 0 10px 0 0; cursor: pointer; position: relative; } .adm-checkbox .adm-checkbox__el, .adm-radio .adm-checkbox__el { border-radius: 2px; border: 1px solid #5a5a5a; position: relative; transition: all .07s ease-in; text-align: center; transition: .2s ease; } .adm-checkbox .adm-checkbox__el:before, .adm-radio .adm-checkbox__el:before { content: "check"; font-family: \'Material Icons\'; font-size: 14px; font-weight: normal; font-style: normal; line-height: 1; text-transform: none; display: inline-block; color: #fff; transition: .28s ease; transform: scale(0); } .adm-checkbox .adm-radio__el, .adm-radio .adm-radio__el { width: 18px; height: 18px; } .adm-checkbox .adm-radio__el:before, .adm-checkbox .adm-radio__el:after, .adm-radio .adm-radio__el:before, .adm-radio .adm-radio__el:after { content: \'\'; display: inline-block; text-align: center; border: 2px solid #5a5a5a; border-radius: 50%; width: 16px; height: 16px; vertical-align: middle; position: absolute; } .adm-checkbox .adm-radio__el:after, .adm-radio .adm-radio__el:after { border-color: #46bb00; background: #46bb00; transform: scale(0); transition: .28s ease; } .adm-checkbox__label, .adm-radio__label { cursor: pointer; } .adm-checkbox__label.is-required:after, .adm-radio__label.is-required:after { content: "*"; color: #DB2828; display: inline-block; margin-left: 3px; vertical-align: top; margin-top: -2px; } .adm-checkbox.is-rtl, .adm-radio.is-rtl { flex-direction: row-reverse; } .adm-checkbox.is-rtl .adm-checkbox__el, .adm-radio.is-rtl .adm-checkbox__el { margin: 0 0 0 10px; } .adm-checkbox[checked=true] .adm-checkbox__el, .adm-radio[checked=true] .adm-checkbox__el { background: #46bb00; border-color: #46bb00; } .adm-checkbox[checked=true] .adm-checkbox__el:before, .adm-radio[checked=true] .adm-checkbox__el:before { transform: scale(1); } .adm-checkbox[checked=true] .adm-radio__el:after, .adm-radio[checked=true] .adm-radio__el:after { transform: scale(1.02); } .adm-checkbox[checked=true] .adm-radio__el:before, .adm-radio[checked=true] .adm-radio__el:before { border-color: transparent; } .adm-checkbox[disabled=true], .adm-radio[disabled=true] { pointer-evets: none; } .adm-checkbox[disabled=true] .adm-checkbox__el, .adm-radio[disabled=true] .adm-checkbox__el { cursor: not-allowed; background: rgba(90, 90, 90, 0.3); border-color: rgba(90, 90, 90, 0.3); } ']; export const RenderType_CheckboxControlComponent:i0.RendererType2 = i0.ɵcrt({encapsulation:2, styles:styles_CheckboxControlComponent,data:{}}); export function View_CheckboxControlComponent_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),8,'div',([] 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 '])),(_l()(),i0.ɵeld(3,0,(null as any),(null as any),0,'div', ([] as any[]),[[8,'className',0]],[[(null as any),'click']],(_v,en,$event) => { var ad:boolean = true; var _co:i1.CheckboxControlComponent = _v.component; if (('click' === en)) { const pd_0:any = ((_co.toggle()) !== false); ad = (pd_0 && ad); } return ad; },(null as any),(null as any))),(_l()(),i0.ɵted(-1,(null as any),['\n '])), (_l()(),i0.ɵeld(5,0,(null as any),(null as any),3,'div',([] as any[]),[[8,'className', 0],[2,'is-required',(null as any)]],[[(null as any),'click']],(_v,en,$event) => { var ad:boolean = true; var _co:i1.CheckboxControlComponent = _v.component; if (('click' === en)) { const pd_0:any = ((_co.toggle()) !== false); ad = (pd_0 && ad); } return ad; },(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 '])),(_l()(),i0.ɵted(-1,(null as any), ['\n ']))],(null as any),(_ck,_v) => { var _co:i1.CheckboxControlComponent = _v.component; const currVal_0:any = i0.ɵinlineInterpolate(1,'',_co.baseClassName,'__wrap'); _ck(_v,1,0,currVal_0); const currVal_1:any = i0.ɵinlineInterpolate(1,'',_co.baseClassName,'__el'); _ck(_v,3,0,currVal_1); const currVal_2:any = i0.ɵinlineInterpolate(1,'',_co.baseClassName,'__label'); const currVal_3:any = _co._required; _ck(_v,5,0,currVal_2,currVal_3); }); } export function View_CheckboxControlComponent_Host_0(_l:any):i0.ɵViewDefinition { return i0.ɵvid(0,[(_l()(),i0.ɵeld(0,0,(null as any),(null as any),2,'adm-checkbox', ([] as any[]),[[8,'className',0],[1,'checked',0],[2,'is-checked',(null as any)], [1,'disabled',0],[2,'is-disabled',(null as any)],[2,'is-rtl',(null as any)]], (null as any),(null as any),View_CheckboxControlComponent_0,RenderType_CheckboxControlComponent)), i0.ɵprd(5120,(null as any),i2.NG_VALUE_ACCESSOR,(p0_0:any) => { return [p0_0]; },[i1.CheckboxControlComponent]),i0.ɵdid(2,49152,(null as any),0,i1.CheckboxControlComponent, [i0.ElementRef],(null as any),(null as any))],(null as any),(_ck,_v) => { const currVal_0:any = i0.ɵnov(_v,2).baseClassName; const currVal_1:any = i0.ɵnov(_v,2).checked; const currVal_2:any = i0.ɵnov(_v,2).checked; const currVal_3:any = i0.ɵnov(_v,2).disabled; const currVal_4:any = i0.ɵnov(_v,2).disabled; const currVal_5:any = i0.ɵnov(_v,2).rtl; _ck(_v,0,0,currVal_0,currVal_1,currVal_2,currVal_3,currVal_4,currVal_5); }); } export const CheckboxControlComponentNgFactory:i0.ComponentFactory = i0.ɵccf('adm-checkbox, adm-radio', i1.CheckboxControlComponent,View_CheckboxControlComponent_Host_0,{disabled:'disabled', rtl:'rtl',value:'value',control:'control',checked:'checked'},{change:'change'}, ['*']); //# sourceMappingURL=data:application/json;base64,eyJmaWxlIjoiL19kZXZlbG9wL2FkbWFuaWMtdWkvLnRtcC9tb2R1bGVzL2NvbXBvbmVudHMvY2hlY2tib3gvY29udHJvbC5jb21wb25lbnQubmdmYWN0b3J5LnRzIiwidmVyc2lvbiI6Mywic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsibmc6Ly8vX2RldmVsb3AvYWRtYW5pYy11aS8udG1wL21vZHVsZXMvY29tcG9uZW50cy9jaGVja2JveC9jb250cm9sLmNvbXBvbmVudC50cyIsIm5nOi8vL19kZXZlbG9wL2FkbWFuaWMtdWkvLnRtcC9tb2R1bGVzL2NvbXBvbmVudHMvY2hlY2tib3gvY29udHJvbC5jb21wb25lbnQudHMuQ2hlY2tib3hDb250cm9sQ29tcG9uZW50Lmh0bWwiLCJuZzovLy9fZGV2ZWxvcC9hZG1hbmljLXVpLy50bXAvbW9kdWxlcy9jb21wb25lbnRzL2NoZWNrYm94L2NvbnRyb2wuY29tcG9uZW50LnRzLkNoZWNrYm94Q29udHJvbENvbXBvbmVudF9Ib3N0Lmh0bWwiXSwic291cmNlc0NvbnRlbnQiOlsiICIsIlxuICAgICAgICA8ZGl2IGNsYXNzPVwie3tiYXNlQ2xhc3NOYW1lfX1fX3dyYXBcIj5cbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJ7e2Jhc2VDbGFzc05hbWV9fV9fZWxcIiAoY2xpY2spPVwidG9nZ2xlKCk7XCI+PC9kaXY+XG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwie3tiYXNlQ2xhc3NOYW1lfX1fX2xhYmVsXCIgW2NsYXNzLmlzLXJlcXVpcmVkXT1cIl9yZXF1aXJlZFwiIChjbGljayk9XCJ0b2dnbGUoKTtcIj5cbiAgICAgICAgICAgICAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgPC9kaXY+XG4gICAgIiwiPGFkbS1jaG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