UNPKG

novo-elements

Version:

Bullhorn's NOVO Element Repository for Angular 2

116 lines (113 loc) 9.12 kB
/** * @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 '../../../../src/elements/tiles/Tiles'; import * as i3 from '@angular/forms'; const styles_NovoTilesElement:any[] = ([] as any[]); export const RenderType_NovoTilesElement:i0.RendererType2 = i0.ɵcrt({encapsulation:2, styles:styles_NovoTilesElement,data:{'animation':[{type:7,name:'tileState',definitions:[{type:0, name:'inactive',styles:{type:6,styles:{opacity:'0'},offset:(null as any)}, options:(undefined as any)},{type:0,name:'active',styles:{type:6,styles:{opacity:'1'}, offset:(null as any)},options:(undefined as any)},{type:1,expr:'inactive => active', animation:{type:4,styles:(null as any),timings:'200ms ease-in'},options:(null as any)}, {type:1,expr:'active => inactive',animation:{type:4,styles:(null as any),timings:'200ms ease-out'}, options:(null as any)}],options:{}}]}}); function View_NovoTilesElement_1(_l:any):i0ViewDefinition { return i0.ɵvid(0,[(_l()(),i0.ɵeld(0,(null as any),(null as any),8,'div',[['class', 'tile']],[[1,'data-automation-id',0]],[[(null as any),'click']],(_v,en,$event) => { var ad:boolean = true; var _co:any = _v.component; if (('click' === en)) { const pd_0:any = ((<any>_co.select($event,_v.context.$implicit,_v.context.index)) !== false); ad = (pd_0 && ad); } return ad; },(null as any),(null as any))),i0.ɵdid(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({active:0,disabled:1}),(_l()(),i0.ɵted((null as any), ['\n '])),(_l()(),i0.ɵeld(0,(null as any),(null as any),0,'input', [['class','tiles-input'],['type','radio']],[[8,'name',0],[8,'value',0],[1,'id', 0]],[[(null as any),'change'],[(null as any),'focus'],[(null as any),'blur']], (_v,en,$event) => { var ad:boolean = true; var _co:any = _v.component; if (('change' === en)) { const pd_0:any = ((<any>_co.select($event,_v.context.$implicit,_v.context.index)) !== false); ad = (pd_0 && ad); } if (('focus' === en)) { const pd_1:any = ((<any>_co.setFocus(true)) !== false); ad = (pd_1 && ad); } if (('blur' === en)) { const pd_2:any = ((<any>_co.setFocus(false)) !== false); ad = (pd_2 && ad); } return ad; },(null as any),(null as any))),(_l()(),i0.ɵted((null as any),['\n '])), (_l()(),i0.ɵeld(0,(null as any),(null as any),1,'label',([] as any[]),[[1,'for', 0],[1,'data-automation-id',0]],(null as any),(null as any),(null as any), (null as any))),(_l()(),i0.ɵted((null as any),['\n ', '\n '])),(_l()(),i0.ɵted((null as any),['\n ']))], (_ck,_v) => { const currVal_1:any = 'tile'; const currVal_2:any = _ck(_v,2,0,_v.context.$implicit.checked,_v.context.$implicit.disabled); _ck(_v,1,0,currVal_1,currVal_2); },(_ck,_v) => { var _co:any = _v.component; const currVal_0:any = (_v.context.$implicit.label || _v.context.$implicit); _ck(_v,0,0,currVal_0); const currVal_3:any = _co.name; const currVal_4:any = (_v.context.$implicit.checked || _v.context.$implicit); const currVal_5:any = (_co.name + _v.context.index); _ck(_v,4,0,currVal_3,currVal_4,currVal_5); const currVal_6:any = (_co.name + _v.context.index); const currVal_7:any = (_v.context.$implicit.label || _v.context.$implicit); _ck(_v,6,0,currVal_6,currVal_7); const currVal_8:any = (_v.context.$implicit.label || _v.context.$implicit); _ck(_v,7,0,currVal_8); }); } export function View_NovoTilesElement_0(_l:any):i0ViewDefinition { return i0.ɵvid(2,[(_l()(),i0.ɵted((null as any),['\n '])),(_l()(),i0.ɵeld(0, (null as any),(null as any),6,'div',[['class','tile-container']],[[2,'active', (null as any)]],(null as any),(null as any),(null as any),(null as any))), (_l()(),i0.ɵted((null as any),['\n '])),(_l()(),i0.ɵand(16777216, (null as any),(null as any),1,(null as any),View_NovoTilesElement_1)),i0.ɵdid(802816, (null as any),0,i1.NgForOf,[i0.ViewContainerRef,i0.TemplateRef,i0.IterableDiffers], {ngForOf:[0,'ngForOf']},(null as any)),(_l()(),i0.ɵted((null as any),['\n '])), (_l()(),i0.ɵeld(0,(null as any),(null as any),0,'span',[['class','active-indicator']], [[24,'@tileState',0],[8,'hidden',0]],(null as any),(null as any),(null as any), (null as any))),(_l()(),i0.ɵted((null as any),['\n '])),(_l()(),i0.ɵted((null as any), ['\n ']))],(_ck,_v) => { var _co:i2.NovoTilesElement = _v.component; const currVal_1:any = _co._options; _ck(_v,4,0,currVal_1); },(_ck,_v) => { var _co:i2.NovoTilesElement = _v.component; const currVal_0:any = _co.focused; _ck(_v,1,0,currVal_0); const currVal_2:any = _co.state; const currVal_3:any = ((_co.activeTile === (undefined as any)) || (_co.activeTile === (null as any))); _ck(_v,6,0,currVal_2,currVal_3); }); } export function View_NovoTilesElement_Host_0(_l:any):i0ViewDefinition { return i0.ɵvid(0,[(_l()(),i0.ɵeld(0,(null as any),(null as any),2,'novo-tiles',([] as any[]), (null as any),(null as any),(null as any),View_NovoTilesElement_0,RenderType_NovoTilesElement)), i0.ɵprd(5120,(null as any),i3.NG_VALUE_ACCESSOR,(p0_0:any) => { return [p0_0]; },[i2.NovoTilesElement]),i0.ɵdid(1622016,(null as any),0,i2.NovoTilesElement, [i0.ElementRef,i0.ChangeDetectorRef],(null as any),(null as any))],(null as any), (null as any)); } export const NovoTilesElementNgFactory:i0.ComponentFactory<i2.NovoTilesElement> = i0.ɵccf('novo-tiles', i2.NovoTilesElement,View_NovoTilesElement_Host_0,{name:'name',options:'options', required:'required'},{onChange:'onChange',onDisabledOptionClick:'onDisabledOptionClick'}, ([] as any[])); //# sourceMappingURL=data:application/json;base64,eyJmaWxlIjoiL1VzZXJzL2pnb2RpL2JoL25vdm8tZWxlbWVudHMvc3JjL2VsZW1lbnRzL3RpbGVzL1RpbGVzLm5nZmFjdG9yeS50cyIsInZlcnNpb24iOjMsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIm5nOi8vL1VzZXJ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