UNPKG

novo-elements

Version:

Bullhorn's NOVO Element Repository for Angular 2

139 lines (136 loc) 11.5 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 './CalendarMonthDay.ngfactory'; import * as i2 from '../../../../../src/elements/calendar/month/CalendarMonthDay'; import * as i3 from '@angular/common'; import * as i4 from '../../../../../src/elements/calendar/month/CalendarMonthView'; import * as i5 from './CalendarMonthHeader.ngfactory'; import * as i6 from '../../../../../src/elements/calendar/month/CalendarMonthHeader'; const styles_NovoCalendarMonthViewElement:any[] = ([] as any[]); export const RenderType_NovoCalendarMonthViewElement:i0.RendererType2 = i0.ɵcrt({encapsulation:2, styles:styles_NovoCalendarMonthViewElement,data:{}}); function View_NovoCalendarMonthViewElement_2(_l:any):i0ViewDefinition { return i0.ɵvid(0,[(_l()(),i0.ɵeld(0,(null as any),(null as any),2,'novo-calendar-month-day', ([] as any[]),[[8,'className',0],[2,'calendar-day-accepted',(null as any)],[2, 'calendar-day-rejected',(null as any)],[2,'calendar-past',(null as any)], [2,'calendar-today',(null as any)],[2,'calendar-future',(null as any)],[2, 'calendar-weekend',(null as any)],[2,'calendar-in-month',(null as any)], [2,'calendar-out-month',(null as any)],[2,'calendar-has-events',(null as any)], [4,'backgroundColor',(null as any)]],[[(null as any),'click'],[(null as any), 'eventClicked']],(_v,en,$event) => { var ad:boolean = true; var _co:any = _v.component; if (('click' === en)) { const pd_0:any = ((<any>_co.dayClicked.emit({day:_v.context.$implicit})) !== false); ad = (pd_0 && ad); } if (('eventClicked' === en)) { const pd_1:any = ((<any>_co.eventClicked.emit({day:_v.context.$implicit, event:$event.event})) !== false); ad = (pd_1 && ad); } return ad; },i1.View_NovoCalendarMonthDayElement_0,i1.RenderType_NovoCalendarMonthDayElement)), i0.ɵdid(49152,(null as any),0,i2.NovoCalendarMonthDayElement,([] as any[]),{day:[0, 'day'],locale:[1,'locale'],customTemplate:[2,'customTemplate']},{eventClicked:'eventClicked'}), (_l()(),i0.ɵted((null as any),['\n ']))],(_ck,_v) => { var _co:any = _v.component; const currVal_11:any = _v.context.$implicit; const currVal_12:any = _co.locale; const currVal_13:any = _co.cellTemplate; _ck(_v,1,0,currVal_11,currVal_12,currVal_13); },(_ck,_v) => { const currVal_0:any = ('calendar-cell calendar-day-cell ' + ((i0.ɵnov(_v,1).day == null)? (null as any): i0.ɵnov(_v, 1).day.cssClass)); const currVal_1:any = i0.ɵnov(_v,1).accepted.length; const currVal_2:any = i0.ɵnov(_v,1).rejected.length; const currVal_3:any = i0.ɵnov(_v,1).day.isPast; const currVal_4:any = i0.ɵnov(_v,1).day.isToday; const currVal_5:any = i0.ɵnov(_v,1).day.isFuture; const currVal_6:any = i0.ɵnov(_v,1).day.isWeekend; const currVal_7:any = i0.ɵnov(_v,1).day.inMonth; const currVal_8:boolean = !i0.ɵnov(_v,1).day.inMonth; const currVal_9:any = (i0.ɵnov(_v,1).day.events.length > 0); const currVal_10:any = i0.ɵnov(_v,1).day.backgroundColor; _ck(_v,0,1,[currVal_0,currVal_1,currVal_2,currVal_3,currVal_4,currVal_5,currVal_6, currVal_7,currVal_8,currVal_9,currVal_10]); }); } function View_NovoCalendarMonthViewElement_1(_l:any):i0ViewDefinition { return i0.ɵvid(0,[(_l()(),i0.ɵeld(0,(null as any),(null as any),8,'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), 5,'div',[['class','calendar-cell-row']],(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),2,(null as any),View_NovoCalendarMonthViewElement_2)), i0.ɵdid(802816,(null as any),0,i3.NgForOf,[i0.ViewContainerRef,i0.TemplateRef, i0.IterableDiffers],{ngForOf:[0,'ngForOf']},(null as any)),i0.ɵpid(0,i3.SlicePipe, ([] 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_0:any = i0.ɵunv(_v,5,0,i0.ɵnov(_v,6).transform(_co.view.days,_v.context.$implicit, (_v.context.$implicit + _co.view.totalDaysVisibleInWeek))); _ck(_v,5,0,currVal_0); },(null as any)); } export function View_NovoCalendarMonthViewElement_0(_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','calendar-month-view']],(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,'novo-calendar-month-header', ([] as any[]),(null as any),[[(null as any),'viewDateChange']],(_v,en,$event) => { var ad:boolean = true; var _co:i4.NovoCalendarMonthViewElement = _v.component; if (('viewDateChange' === en)) { const pd_0:any = ((<any>(_co.viewDate = $event)) !== false); ad = (pd_0 && ad); } if (('viewDateChange' === en)) { const pd_1:any = ((<any>_co.refreshAll()) !== false); ad = (pd_1 && ad); } return ad; },i5.View_NovoCalendarMonthHeaderElement_0,i5.RenderType_NovoCalendarMonthHeaderElement)), i0.ɵdid(49152,(null as any),0,i6.NovoCalendarMonthHeaderElement,([] as any[]), {viewDate:[0,'viewDate'],days:[1,'days'],locale:[2,'locale'],customTemplate:[3, 'customTemplate']},{viewDateChange:'viewDateChange'}),(_l()(),i0.ɵted((null as any), ['\n '])),(_l()(),i0.ɵted((null as any),['\n '])),(_l()(),i0.ɵeld(0, (null as any),(null as any),4,'div',[['class','calendar-days']],(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_NovoCalendarMonthViewElement_1)),i0.ɵdid(802816,(null as any), 0,i3.NgForOf,[i0.ViewContainerRef,i0.TemplateRef,i0.IterableDiffers],{ngForOf:[0, 'ngForOf']},(null as any)),(_l()(),i0.ɵted((null as any),['\n '])), (_l()(),i0.ɵted((null as any),['\n '])),(_l()(),i0.ɵted((null as any),['\n ']))], (_ck,_v) => { var _co:i4.NovoCalendarMonthViewElement = _v.component; const currVal_0:any = _co.viewDate; const currVal_1:any = _co.columnHeaders; const currVal_2:any = _co.locale; const currVal_3:any = _co.headerTemplate; _ck(_v,4,0,currVal_0,currVal_1,currVal_2,currVal_3); const currVal_4:any = _co.view.rowOffsets; _ck(_v,10,0,currVal_4); },(null as any)); } export function View_NovoCalendarMonthViewElement_Host_0(_l:any):i0ViewDefinition { return i0.ɵvid(0,[(_l()(),i0.ɵeld(0,(null as any),(null as any),1,'novo-calendar-month', ([] as any[]),(null as any),(null as any),(null as any),View_NovoCalendarMonthViewElement_0, RenderType_NovoCalendarMonthViewElement)),i0.ɵdid(770048,(null as any),0,i4.NovoCalendarMonthViewElement, [i0.ChangeDetectorRef,i0.LOCALE_ID],(null as any),(null as any))],(_ck,_v) => { _ck(_v,1,0); },(null as any)); } export const NovoCalendarMonthViewElementNgFactory:i0.ComponentFactory<i4.NovoCalendarMonthViewElement> = i0.ɵccf('novo-calendar-month', i4.NovoCalendarMonthViewElement,View_NovoCalendarMonthViewElement_Host_0,{viewDate:'viewDate', events:'events',excludeDays:'excludeDays',dayModifier:'dayModifier',refresh:'refresh', locale:'locale',tooltipPosition:'tooltipPosition',weekStartsOn:'weekStartsOn', headerTemplate:'headerTemplate',cellTemplate:'cellTemplate'},{dayClicked:'dayClicked', eventClicked:'eventClicked',eventTimesChanged:'eventTimesChanged',viewDateChange:'viewDateChange'}, ([] as any[])); //# sourceMappingURL=data:application/json;base64,eyJmaWxlIjoiL1VzZXJzL2pnb2RpL2JoL25vdm8tZWxlbWVudHMvc3JjL2VsZW1lbnRzL2NhbGVuZGFyL21vbnRoL0NhbGVuZGFyTW9udGhWaWV3Lm5nZmFjdG9yeS50cyIsInZlcnNpb24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