novo-elements
Version:
Bullhorn's NOVO Element Repository for Angular 2
129 lines (126 loc) • 11.9 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 '@angular/common';
import * as i2 from '../../../../../src/elements/tooltip/Tooltip';
import * as i3 from '../../../../../src/elements/calendar/day/CalendarDayEvent';
const styles_NovoCalendarDayEventElement:any[] = ([] as any[]);
export const RenderType_NovoCalendarDayEventElement:i0.RendererType2 = i0.ɵcrt({encapsulation:2,
styles:styles_NovoCalendarDayEventElement,data:{}});
function View_NovoCalendarDayEventElement_1(_l:any):i0.ɵViewDefinition {
return i0.ɵvid(0,[(_l()(),i0.ɵted((null as any),['\n '])),(_l()(),i0.ɵeld(0,
(null as any),(null as any),14,'div',[['class','cal-event']],[[4,'borderColor',
(null as any)],[2,'cal-starts-within-day',(null as any)],[2,'cal-ends-within-day',
(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.dayEvent.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),7,'div',[['class','cal-event-group']],(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 '])),(_l()(),i0.ɵted((null as any),['\n ']))],(_ck,_v) => {
var _co:any = _v.component;
const currVal_24:any = 'cal-event';
const currVal_25:any = _co.dayEvent.event.cssClass;
_ck(_v,2,0,currVal_24,currVal_25);
const currVal_26:any = _co.dayEvent.event.description;
const currVal_27:any = _co.tooltipPosition;
_ck(_v,3,0,currVal_26,currVal_27);
},(_ck,_v) => {
var _co:any = _v.component;
const currVal_0:any = _co.dayEvent.event.color.secondary;
const currVal_1:boolean = !_co.dayEvent.startsBeforeDay;
const currVal_2:boolean = !_co.dayEvent.endsAfterDay;
const currVal_3:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).isPosition('top'));
const currVal_4:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).isPosition('left'));
const currVal_5:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).isPosition('right'));
const currVal_6:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).isPosition('bottom'));
const currVal_7:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).isPosition('top-left'));
const currVal_8:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).isPosition('top-right'));
const currVal_9:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).isPosition('bottom-left'));
const currVal_10:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).isPosition('bottom-right'));
const currVal_11:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).isType('error'));
const currVal_12:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).isType('info'));
const currVal_13:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).isType('warning'));
const currVal_14:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).isType('success'));
const currVal_15:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).always);
const currVal_16:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).rounded);
const currVal_17:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).noAnimate);
const currVal_18:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).bounce);
const currVal_19:any = (i0.ɵnov(_v,3).active === false);
const currVal_20:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).isSize('small'));
const currVal_21:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).isSize('medium'));
const currVal_22:any = (i0.ɵnov(_v,3).tooltip && i0.ɵnov(_v,3).isSize('large'));
const currVal_23: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,currVal_23]);
const currVal_28:any = _co.dayEvent.event.color.primary;
_ck(_v,5,0,currVal_28);
const currVal_29:any = _co.dayEvent.event.title;
_ck(_v,10,0,currVal_29);
const currVal_30:any = ((_co.dayEvent.event == null)? (null as any): _co.dayEvent.event.description);
_ck(_v,13,0,currVal_30);
});
}
function View_NovoCalendarDayEventElement_2(_l:any):i0.ɵViewDefinition {
return i0.ɵvid(0,[(_l()(),i0.ɵted((null as any),['\n ']))],(null as any),(null as any));
}
export function View_NovoCalendarDayEventElement_0(_l:any):i0.ɵViewDefinition {
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_NovoCalendarDayEventElement_1)),(_l()(),
i0.ɵted((null as any),['\n '])),(_l()(),i0.ɵand(16777216,(null as any),(null as any),
2,(null as any),View_NovoCalendarDayEventElement_2)),i0.ɵdid(540672,(null as any),
0,i1.NgTemplateOutlet,[i0.ViewContainerRef],{ngTemplateOutlet:[0,'ngTemplateOutlet'],
ngOutletContext:[1,'ngOutletContext']},(null as any)),i0.ɵpod({dayEvent:0,
tooltipPosition:1,eventClicked:2}),(_l()(),i0.ɵted((null as any),['\n ']))],
(_ck,_v) => {
var _co:i3.NovoCalendarDayEventElement = _v.component;
const currVal_0:any = (_co.customTemplate || i0.ɵnov(_v,1));
const currVal_1:any = _ck(_v,5,0,_co.dayEvent,_co.tooltipPosition,_co.eventClicked);
_ck(_v,4,0,currVal_0,currVal_1);
},(null as any));
}
export function View_NovoCalendarDayEventElement_Host_0(_l:any):i0.ɵViewDefinition {
return i0.ɵvid(0,[(_l()(),i0.ɵeld(0,(null as any),(null as any),1,'novo-calendar-day-event',
([] as any[]),(null as any),(null as any),(null as any),View_NovoCalendarDayEventElement_0,
RenderType_NovoCalendarDayEventElement)),i0.ɵdid(49152,(null as any),0,i3.NovoCalendarDayEventElement,
([] as any[]),(null as any),(null as any))],(null as any),(null as any));
}
export const NovoCalendarDayEventElementNgFactory:i0.ComponentFactory<i3.NovoCalendarDayEventElement> = i0.ɵccf('novo-calendar-day-event',
i3.NovoCalendarDayEventElement,View_NovoCalendarDayEventElement_Host_0,{dayEvent:'dayEvent',
tooltipPosition:'tooltipPosition',customTemplate:'customTemplate'},{eventClicked:'eventClicked'},
([] as any[]));
//# sourceMappingURL=data:application/json;base64,eyJmaWxlIjoiL1VzZXJzL2pnb2RpL2JoL25vdm8tZWxlbWVudHMvc3JjL2VsZW1lbnRzL2NhbGVuZGFyL2RheS9DYWxlbmRhckRheUV2ZW50Lm5nZmFjdG9yeS50cyIsInZlcnNpb24iOjMsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIm5nOi8vL1VzZXJzL2pnb2RpL2JoL25vdm8tZWxlbWVudHMvc3JjL2VsZW1lbnRzL2NhbGVuZGFyL2RheS9DYWxlbmRhckRheUV2ZW50LnRzIiwibmc6Ly8vVXNlcnMvamdvZGkvYmgvbm92by1lbGVtZW50cy9zcmMvZWxlbWVudHMvY2FsZW5kYXIvZGF5L0NhbGVuZGFyRGF5RXZlbnQudHMuTm92b0NhbGVuZGFyRGF5RXZlbnRFbGVtZW50Lmh0bWwiLCJuZzovLy9Vc2Vycy9qZ29kaS9iaC9ub3ZvLWVsZW1lbnRzL3NyYy9lbGVtZW50cy9jYWxlbmRhci9kYXkvQ2FsZW5kYXJEYXlFdmVudC50cy5Ob3ZvQ2FsZW5kYXJEYXlFdmVudEVsZW1lbnRfSG9zdC5odG1sIl0sInNvdXJjZXNDb250ZW50IjpbIiAiLCJcbiAgICA8bmctdGVtcGxhdGUgI2RlZmF1bHRUZW1wbGF0ZT5cbiAgICAgIDxkaXZcbiAgICAgICAgY2xhc3M9XCJjYWwtZXZlbnRcIlxuICAgICAgICBbc3R5bGUuYm9yZGVyQ29sb3JdPVwiZGF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