novo-elements
Version:
Bullhorn's NOVO Element Repository for Angular 2
139 lines (136 loc) • 10.1 kB
text/typescript
/**
* @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 '../button/Button.ngfactory';
import * as i2 from '@angular/common';
import * as i3 from '../../../../src/elements/button/Button';
import * as i4 from '../../../../src/elements/radio/Radio';
import * as i5 from '@angular/forms';
const styles_NovoRadioElement:any[] = ([] as any[]);
export const RenderType_NovoRadioElement:i0.RendererType2 = i0.ɵcrt({encapsulation:2,
styles:styles_NovoRadioElement,data:{}});
function View_NovoRadioElement_1(_l:any):i0.ɵViewDefinition {
return i0.ɵvid(0,[(_l()(),i0.ɵeld(0,(null as any),(null as any),4,'button',([] as any[]),
[[1,'theme',0],[1,'color',0],[1,'icon',0],[1,'loading',0]],(null as any),(null as any),
i1.View_NovoButtonElement_0,i1.RenderType_NovoButtonElement)),i0.ɵdid(278528,
(null as any),0,i2.NgClass,[i0.IterableDiffers,i0.KeyValueDiffers,i0.ElementRef,
i0.Renderer],{ngClass:[0,'ngClass']},(null as any)),i0.ɵpod({'unchecked':0,
'checked':1,'has-icon':2}),i0.ɵdid(573440,(null as any),0,i3.NovoButtonElement,
([] as any[]),{icon:[0,'icon'],theme:[1,'theme']},(null as any)),(_l()(),i0.ɵted(0,
['','']))],(_ck,_v) => {
var _co:any = _v.component;
const currVal_4:any = _ck(_v,2,0,!i0.ɵnov((<any>_v.parent),1).checked,i0.ɵnov((<any>_v.parent),
1).checked,!!_co.icon);
_ck(_v,1,0,currVal_4);
const currVal_5:any = _co.icon;
const currVal_6:any = _co.theme;
_ck(_v,3,0,currVal_5,currVal_6);
},(_ck,_v) => {
var _co:any = _v.component;
const currVal_0:any = i0.ɵnov(_v,3).theme;
const currVal_1:any = i0.ɵnov(_v,3).color;
const currVal_2:any = i0.ɵnov(_v,3).icon;
const currVal_3:any = i0.ɵnov(_v,3).loading;
_ck(_v,0,0,currVal_0,currVal_1,currVal_2,currVal_3);
const currVal_7:any = _co.label;
_ck(_v,4,0,currVal_7);
});
}
function View_NovoRadioElement_2(_l:any):i0.ɵViewDefinition {
return i0.ɵvid(0,[(_l()(),i0.ɵeld(0,(null as any),(null as any),7,'div',([] as any[]),
(null as any),(null as any),(null as any),(null as any),(null as any))),(_l()(),
i0.ɵted((null as any),['\n '])),(_l()(),i0.ɵeld(0,(null as any),
(null as any),2,'i',([] as any[]),(null as any),(null as any),(null as any),
(null as any),(null as any))),i0.ɵdid(278528,(null as any),0,i2.NgClass,[i0.IterableDiffers,
i0.KeyValueDiffers,i0.ElementRef,i0.Renderer],{ngClass:[0,'ngClass']},(null as any)),
i0.ɵpod({'bhi-radio-empty':0,'bhi-radio-filled':1}),(_l()(),i0.ɵted((null as any),
['\n ','\n '])),i0.ɵncd((null as any),0),(_l()(),
i0.ɵted((null as any),['\n ']))],(_ck,_v) => {
const currVal_0:any = _ck(_v,4,0,!i0.ɵnov((<any>_v.parent),1).checked,i0.ɵnov((<any>_v.parent),
1).checked);
_ck(_v,3,0,currVal_0);
},(_ck,_v) => {
var _co:any = _v.component;
const currVal_1:any = _co.label;
_ck(_v,5,0,currVal_1);
});
}
export function View_NovoRadioElement_0(_l:any):i0.ɵViewDefinition {
return i0.ɵvid(0,[(_l()(),i0.ɵted((null as any),['\n '])),(_l()(),i0.ɵeld(0,
[['radio',1]],(null as any),0,'input',[['type','radio']],[[8,'name',0],[8,'checked',
0],[1,'id',0]],[[(null as any),'change']],(_v,en,$event) => {
var ad:boolean = true;
var _co:i4.NovoRadioElement = _v.component;
if (('change' === en)) {
const pd_0:any = ((<any>_co.select($event,i0.ɵnov(_v,1))) !== false);
ad = (pd_0 && 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),7,'label',([] as any[]),[[1,'for',
0]],[[(null as any),'click']],(_v,en,$event) => {
var ad:boolean = true;
var _co:i4.NovoRadioElement = _v.component;
if (('click' === en)) {
const pd_0:any = ((<any>_co.select($event,i0.ɵnov(_v,1))) !== false);
ad = (pd_0 && ad);
}
return ad;
},(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_NovoRadioElement_1)),
i0.ɵdid(16384,(null as any),0,i2.NgIf,[i0.ViewContainerRef,i0.TemplateRef],{ngIf:[0,
'ngIf']},(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_NovoRadioElement_2)),
i0.ɵdid(16384,(null as any),0,i2.NgIf,[i0.ViewContainerRef,i0.TemplateRef],{ngIf:[0,
'ngIf']},(null as any)),(_l()(),i0.ɵted((null as any),['\n '])),(_l()(),
i0.ɵted((null as any),['\n ']))],(_ck,_v) => {
var _co:i4.NovoRadioElement = _v.component;
const currVal_4:any = _co.button;
_ck(_v,6,0,currVal_4);
const currVal_5:boolean = !_co.button;
_ck(_v,9,0,currVal_5);
},(_ck,_v) => {
var _co:i4.NovoRadioElement = _v.component;
const currVal_0:any = _co.name;
const currVal_1:any = _co.checked;
const currVal_2:any = _co.name;
_ck(_v,1,0,currVal_0,currVal_1,currVal_2);
const currVal_3:any = _co.name;
_ck(_v,3,0,currVal_3);
});
}
export function View_NovoRadioElement_Host_0(_l:any):i0.ɵViewDefinition {
return i0.ɵvid(0,[(_l()(),i0.ɵeld(0,(null as any),(null as any),2,'novo-radio',([] as any[]),
[[2,'vertical',(null as any)]],(null as any),(null as any),View_NovoRadioElement_0,
RenderType_NovoRadioElement)),i0.ɵprd(5120,(null as any),i5.NG_VALUE_ACCESSOR,
(p0_0:any) => {
return [p0_0];
},[i4.NovoRadioElement]),i0.ɵdid(49152,(null as any),0,i4.NovoRadioElement,([] as any[]),
(null as any),(null as any))],(null as any),(_ck,_v) => {
const currVal_0:any = i0.ɵnov(_v,2).vertical;
_ck(_v,0,0,currVal_0);
});
}
export const NovoRadioElementNgFactory:i0.ComponentFactory<i4.NovoRadioElement> = i0.ɵccf('novo-radio',
i4.NovoRadioElement,View_NovoRadioElement_Host_0,{name:'name',value:'value',checked:'checked',
vertical:'vertical',label:'label',button:'button',theme:'theme',icon:'icon'},
{change:'change'},['*']);
const styles_NovoRadioGroup:any[] = ([] as any[]);
export const RenderType_NovoRadioGroup:i0.RendererType2 = i0.ɵcrt({encapsulation:2,
styles:styles_NovoRadioGroup,data:{}});
export function View_NovoRadioGroup_0(_l:any):i0.ɵViewDefinition {
return i0.ɵvid(0,[i0.ɵncd((null as any),0)],(null as any),(null as any));
}
export function View_NovoRadioGroup_Host_0(_l:any):i0.ɵViewDefinition {
return i0.ɵvid(0,[(_l()(),i0.ɵeld(0,(null as any),(null as any),1,'novo-radio-group',
([] as any[]),(null as any),(null as any),(null as any),View_NovoRadioGroup_0,
RenderType_NovoRadioGroup)),i0.ɵdid(49152,(null as any),0,i4.NovoRadioGroup,
([] as any[]),(null as any),(null as any))],(null as any),(null as any));
}
export const NovoRadioGroupNgFactory:i0.ComponentFactory<i4.NovoRadioGroup> = i0.ɵccf('novo-radio-group',
i4.NovoRadioGroup,View_NovoRadioGroup_Host_0,{},{},['*']);
//# sourceMappingURL=data:application/json;base64,eyJmaWxlIjoiL1VzZXJzL2pnb2RpL2JoL25vdm8tZWxlbWVudHMvc3JjL2VsZW1lbnRzL3JhZGlvL1JhZGlvLm5nZmFjdG9yeS50cyIsInZlcnNpb24iOjMsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIm5nOi8vL1VzZXJzL2pnb2RpL2JoL25vdm8tZWxlbWVudHMvc3JjL2VsZW1lbnRzL3JhZGlvL1JhZGlvLnRzIiwibmc6Ly8vVXNlcnMvamdvZGkvYmgvbm92by1lbGVtZW50cy9zcmMvZWxlbWVudHMvcmFkaW8vUmFkaW8udHMuTm92b1JhZGlvRWxlbWVudC5odG1sIiwibmc6Ly8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