UNPKG

novo-elements

Version:

Bullhorn's NOVO Element Repository for Angular 2

124 lines (121 loc) 11.4 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/tooltip/Tooltip'; import * as i3 from '../../../../../src/elements/calendar/week/CalendarWeekEvent'; const styles_NovoCalendarWeekEventElement:any[] = ([] as any[]); export const RenderType_NovoCalendarWeekEventElement:i0.RendererType2 = i0.ɵcrt({encapsulation:2, styles:styles_NovoCalendarWeekEventElement,data:{}}); function View_NovoCalendarWeekEventElement_1(_l:any):i0ViewDefinition { return i0.ɵvid(0,[(_l()(),i0.ɵted((null as any),['\n '])),(_l()(),i0.ɵeld(0, (null as any),(null as any),11,'div',[['class','cal-event']],[[2,'cal-starts-within-week', (null as any)],[2,'cal-ends-within-week',(null as any)],[2,'hint--top',(null as any)], [2,'hint--left',(null as any)],[2,'hint--right',(null as any)],[2,'hint--bottom', (null as any)],[2,'hint--top-left',(null as any)],[2,'hint--top-right', (null as any)],[2,'hint--bottom-left',(null as any)],[2,'hint--bottom-right', (null as any)],[2,'hint--error',(null as any)],[2,'hint--info',(null as any)], [2,'hint--warning',(null as any)],[2,'hint--success',(null as any)],[2,'hint--always', (null as any)],[2,'hint--rounded',(null as any)],[2,'hint--no-animate', (null as any)],[2,'hint--bounce',(null as any)],[2,'hint--hidden',(null as any)], [2,'hint--small',(null as any)],[2,'hint--medium',(null as any)],[2,'hint--large', (null as any)],[1,'data-hint',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.eventClicked.emit({event:_co.weekEvent.event})) !== 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.ɵdid(16384,(null as any),0,i2.TooltipDirective, ([] as any[]),{tooltip:[0,'tooltip'],position:[1,'position']},(null as any)), (_l()(),i0.ɵted((null as any),['\n '])),(_l()(),i0.ɵeld(0,(null as any), (null as any),0,'div',[['class','cal-event-ribbon']],[[4,'backgroundColor', (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),1,'div',[['class','cal-event-title']],(null as any),(null as any), (null as any),(null as any),(null as any))),(_l()(),i0.ɵted((null as any), ['',''])),(_l()(),i0.ɵted((null as any),['\n '])),(_l()(),i0.ɵeld(0, (null as any),(null as any),1,'div',[['class','cal-event-description']], (null as any),(null as any),(null as any),(null as any),(null as any))), (_l()(),i0.ɵted((null as any),['',''])),(_l()(),i0.ɵted((null as any),['\n '])), (_l()(),i0.ɵted((null as any),['\n ']))],(_ck,_v) => { var _co:any = _v.component; const currVal_23:any = 'cal-event'; const currVal_24:any = ((_co.weekEvent.event == null)? (null as any): _co.weekEvent.event.cssClass); _ck(_v,2,0,currVal_23,currVal_24); const currVal_25:any = _co.weekEvent.event.description; const currVal_26:any = _co.tooltipPosition; _ck(_v,3,0,currVal_25,currVal_26); },(_ck,_v) => { var _co:any = _v.component; const currVal_0:boolean = !_co.weekEvent.startsBeforeWeek; const currVal_1:boolean = !_co.weekEvent.endsAfterWeek; const currVal_2:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).isPosition('top')); const currVal_3:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).isPosition('left')); const currVal_4:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).isPosition('right')); const currVal_5:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).isPosition('bottom')); const currVal_6:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).isPosition('top-left')); const currVal_7:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).isPosition('top-right')); const currVal_8:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).isPosition('bottom-left')); const currVal_9:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).isPosition('bottom-right')); const currVal_10:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).isType('error')); const currVal_11:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).isType('info')); const currVal_12:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).isType('warning')); const currVal_13:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).isType('success')); const currVal_14:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).always); const currVal_15:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).rounded); const currVal_16:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).noAnimate); const currVal_17:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).bounce); const currVal_18:any = (i0.ɵnov(_v,3).active === false); const currVal_19:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).isSize('small')); const currVal_20:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).isSize('medium')); const currVal_21:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).isSize('large')); const currVal_22:any = i0.ɵnov(_v,3).tooltip; _ck(_v,1,1,[currVal_0,currVal_1,currVal_2,currVal_3,currVal_4,currVal_5,currVal_6, currVal_7,currVal_8,currVal_9,currVal_10,currVal_11,currVal_12,currVal_13, currVal_14,currVal_15,currVal_16,currVal_17,currVal_18,currVal_19,currVal_20, currVal_21,currVal_22]); const currVal_27:any = _co.weekEvent.event.color.primary; _ck(_v,5,0,currVal_27); const currVal_28:any = ((_co.weekEvent.event == null)? (null as any): _co.weekEvent.event.title); _ck(_v,8,0,currVal_28); const currVal_29:any = ((_co.weekEvent.event == null)? (null as any): _co.weekEvent.event.description); _ck(_v,11,0,currVal_29); }); } function View_NovoCalendarWeekEventElement_2(_l:any):i0ViewDefinition { return i0.ɵvid(0,[(_l()(),i0.ɵted((null as any),['\n ']))],(null as any),(null as any)); } export function View_NovoCalendarWeekEventElement_0(_l:any):i0ViewDefinition { return i0.ɵvid(0,[(_l()(),i0.ɵted((null as any),['\n '])),(_l()(),i0.ɵand(0,[['defaultTemplate', 2]],(null as any),0,(null as any),View_NovoCalendarWeekEventElement_1)),(_l()(), i0.ɵted((null as any),['\n '])),(_l()(),i0.ɵand(16777216,(null as any),(null as any), 2,(null as any),View_NovoCalendarWeekEventElement_2)),i0.ɵdid(540672,(null as any), 0,i1.NgTemplateOutlet,[i0.ViewContainerRef],{ngTemplateOutlet:[0,'ngTemplateOutlet'], ngOutletContext:[1,'ngOutletContext']},(null as any)),i0.ɵpod({weekEvent:0, tooltipPosition:1,eventClicked:2}),(_l()(),i0.ɵted((null as any),['\n ']))], (_ck,_v) => { var _co:i3.NovoCalendarWeekEventElement = _v.component; const currVal_0:any = (_co.customTemplate || i0.ɵnov(_v,1)); const currVal_1:any = _ck(_v,5,0,_co.weekEvent,_co.tooltipPosition,_co.eventClicked); _ck(_v,4,0,currVal_0,currVal_1); },(null as any)); } export function View_NovoCalendarWeekEventElement_Host_0(_l:any):i0ViewDefinition { return i0.ɵvid(0,[(_l()(),i0.ɵeld(0,(null as any),(null as any),1,'novo-calendar-week-event', ([] as any[]),(null as any),(null as any),(null as any),View_NovoCalendarWeekEventElement_0, RenderType_NovoCalendarWeekEventElement)),i0.ɵdid(49152,(null as any),0,i3.NovoCalendarWeekEventElement, ([] as any[]),(null as any),(null as any))],(null as any),(null as any)); } export const NovoCalendarWeekEventElementNgFactory:i0.ComponentFactory<i3.NovoCalendarWeekEventElement> = i0.ɵccf('novo-calendar-week-event', i3.NovoCalendarWeekEventElement,View_NovoCalendarWeekEventElement_Host_0,{weekEvent:'weekEvent', tooltipPosition:'tooltipPosition',customTemplate:'customTemplate'},{eventClicked:'eventClicked'}, ([] as any[])); //# sourceMappingURL=data:application/json;base64,eyJmaWxlIjoiL1VzZXJzL2pnb2RpL2JoL25vdm8tZWxlbWVudHMvc3JjL2VsZW1lbnRzL2NhbGVuZGFyL3dlZWsvQ2FsZW5kYXJXZWVrRXZlbnQubmdmYWN0b3J5LnRzIiwidmVyc2lvbiI6Mywic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsibmc6Ly8vVXNlcnMvamdvZGkvYmgvbm92by1lbGVtZW50cy9zcmMvZWxlbWVudHMvY2FsZW5kYXIvd2Vlay9DYWxlbmRhcldlZWtFdmVudC50cyIsIm5nOi8vL1VzZXJzL2pnb2RpL2JoL25vdm8tZWxlbWVudHMvc3JjL2VsZW1lbnRzL2NhbGVuZGFyL3dlZWsvQ2FsZW5kYXJXZWVrRXZlbnQudHMuTm92b0NhbGVuZGFyV2Vla0V2ZW50RWxlbWVudC5odG1sIiwibmc6Ly8vVXNlcnMvamdvZGkvYmgvbm92by1lbGVtZW50cy9zcmMvZWxlbWVudHMvY2FsZW5kYXIvd2Vlay9DYWxlbmRhcldlZWtFdmVudC50cy5Ob3ZvQ2FsZW5kYXJXZWVrRXZlbnRFbGVtZW50X0hvc3QuaHRtbCJdLCJzb3VyY2VzQ29udGVudCI6WyIgIiwiXG4gICAgPG5nLXRlbXBsYXRlICNkZWZhdWx0VGVtcGxhdGU+XG4gICAgICA8ZGl2XG4gICAgICAgIGNsYXNzPVwiY2FsLWV2ZW50XCJcbiAgICAgICAgW2NsYXNzLmNhbC1zdGFydHMtd2l0aGluLXdlZWtdPVwiIXdlZWtFdmVudC5zdGFydHNCZWZvcmVXZWVrXCJcbiAgICAgICAgW2NsYXNzLmNhbC1lbmRzLXdpdGhpbi13ZWVrXT1cIiF3ZWVrRXZlbnQuZW5kc0FmdGVyV2Vla1wiXG4gICAgICAgIFtuZ0NsYXNzXT1cIndlZWtFdmVudC5ldmVudD8uY3NzQ2xhc3NcIlxuICAgICAgICBbd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