ap-angular2-fullcalendar
Advanced tools
Comparing version 1.3.5 to 1.3.6
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":4,"metadata":{"CalendarModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"}],"declarations":[{"__symbolic":"reference","module":"./src/calendar/calendar","name":"CalendarComponent"}],"exports":[{"__symbolic":"reference","module":"./src/calendar/calendar","name":"CalendarComponent"}]}]}],"statics":{"forRoot":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"CalendarModule"},"providers":[]}}}}}}] | ||
[{"__symbolic":"module","version":4,"metadata":{"CalendarModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":6,"character":8}],"declarations":[{"__symbolic":"reference","module":"./src/calendar/calendar","name":"CalendarComponent","line":9,"character":8}],"exports":[{"__symbolic":"reference","module":"./src/calendar/calendar","name":"CalendarComponent","line":12,"character":8}]}]}],"statics":{"forRoot":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"CalendarModule"},"providers":[]}}}}}}] |
{ | ||
"name": "ap-angular2-fullcalendar", | ||
"version": "1.3.5", | ||
"version": "1.3.6", | ||
"description": "Angular2 component for FullCalendar", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,2 +0,2 @@ | ||
import { ElementRef, EventEmitter, AfterViewInit } from '@angular/core'; | ||
import { ElementRef, EventEmitter, AfterViewInit, NgZone } from '@angular/core'; | ||
import 'fullcalendar'; | ||
@@ -6,8 +6,9 @@ import { Options } from "fullcalendar"; | ||
private element; | ||
private zone; | ||
options: Options; | ||
initialized: EventEmitter<boolean>; | ||
text: string; | ||
constructor(element: ElementRef); | ||
constructor(element: ElementRef, zone: NgZone); | ||
ngAfterViewInit(): void; | ||
fullCalendar(...args: any[]): any; | ||
} |
@@ -7,4 +7,5 @@ "use strict"; | ||
var CalendarComponent = (function () { | ||
function CalendarComponent(element) { | ||
function CalendarComponent(element, zone) { | ||
this.element = element; | ||
this.zone = zone; | ||
this.initialized = new core_1.EventEmitter(); | ||
@@ -15,5 +16,6 @@ } | ||
setTimeout(function () { | ||
// console.log("100ms after ngAfterViewInit "); | ||
$('angular2-fullcalendar').fullCalendar(_this.options); | ||
_this.initialized.emit(true); | ||
_this.zone.runOutsideAngular(function () { | ||
$('angular2-fullcalendar').fullCalendar(_this.options); | ||
_this.initialized.emit(true); | ||
}); | ||
}, 100); | ||
@@ -49,2 +51,3 @@ }; | ||
{ type: core_1.ElementRef, }, | ||
{ type: core_1.NgZone, }, | ||
]; }; | ||
@@ -51,0 +54,0 @@ CalendarComponent.propDecorators = { |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":4,"metadata":{"CalendarComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"template":"<div></div>","selector":"angular2-fullcalendar"}]}],"members":{"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"initialized":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"fullCalendar":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":4,"metadata":{"CalendarComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":13,"character":1},"arguments":[{"template":"<div></div>","selector":"angular2-fullcalendar"}]}],"members":{"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":19,"character":3}}]}],"initialized":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":20,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":23,"character":30},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":23,"character":56}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"fullCalendar":[{"__symbolic":"method"}]}}}}] |
@@ -16,3 +16,3 @@ "use strict"; | ||
exports.View_CalendarComponent_0 = View_CalendarComponent_0; | ||
function View_CalendarComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "angular2-fullcalendar", [], null, null, null, View_CalendarComponent_0, RenderType_CalendarComponent)), i0.ɵdid(1, 4243456, null, 0, i1.CalendarComponent, [i0.ElementRef], null, null)], null, null); } | ||
function View_CalendarComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "angular2-fullcalendar", [], null, null, null, View_CalendarComponent_0, RenderType_CalendarComponent)), i0.ɵdid(1, 4243456, null, 0, i1.CalendarComponent, [i0.ElementRef, i0.NgZone], null, null)], null, null); } | ||
exports.View_CalendarComponent_Host_0 = View_CalendarComponent_Host_0; | ||
@@ -19,0 +19,0 @@ var CalendarComponentNgFactory = i0.ɵccf("angular2-fullcalendar", i1.CalendarComponent, View_CalendarComponent_Host_0, { options: "options" }, { initialized: "initialized" }, []); |
@@ -1,1 +0,1 @@ | ||
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":1,"members":[]}}]}],"initialized":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbol":2,"members":[]}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbol":3,"members":[]}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"fullCalendar":[{"__symbolic":"method"}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":3,"members":[]}}}}],"lifecycleHooks":[6]},"isComponent":true,"selector":"angular2-fullcalendar","exportAs":null,"inputs":{"options":"options"},"outputs":{"initialized":"initialized"},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":[],"encapsulation":2},"componentViewType":{"__symbol":4,"members":[]},"rendererType":{"__symbol":5,"members":[]},"componentFactory":{"__symbol":6,"members":[]}}}],"symbols":[{"__symbol":0,"name":"CalendarComponent","filePath":"./calendar"},{"__symbol":1,"name":"Input","filePath":"@angular/core/core"},{"__symbol":2,"name":"Output","filePath":"@angular/core/core"},{"__symbol":3,"name":"ElementRef","filePath":"@angular/core/core"},{"__symbol":4,"name":"View_CalendarComponent_0","filePath":"./calendar.ngfactory"},{"__symbol":5,"name":"RenderType_CalendarComponent","filePath":"./calendar.ngfactory"},{"__symbol":6,"name":"CalendarComponentNgFactory","filePath":"./calendar.ngfactory"}]} | ||
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","members":{"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":1,"members":[]},"line":19,"character":3,"fileName":"/Users/lbertenasco/Agora/ap-ng2-fullcalendar/src/calendar/calendar.ts"}}]}],"initialized":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"resolved","symbol":{"__symbol":2,"members":[]},"line":20,"character":3,"fileName":"/Users/lbertenasco/Agora/ap-ng2-fullcalendar/src/calendar/calendar.ts"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"resolved","symbol":{"__symbol":3,"members":[]},"line":23,"character":30,"fileName":"/Users/lbertenasco/Agora/ap-ng2-fullcalendar/src/calendar/calendar.ts"},{"__symbolic":"resolved","symbol":{"__symbol":4,"members":[]},"line":23,"character":56,"fileName":"/Users/lbertenasco/Agora/ap-ng2-fullcalendar/src/calendar/calendar.ts"}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"fullCalendar":[{"__symbolic":"method"}]}},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":3,"members":[]}}}},{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":4,"members":[]}}}}],"lifecycleHooks":[6]},"isComponent":true,"selector":"angular2-fullcalendar","exportAs":null,"inputs":{"options":"options"},"outputs":{"initialized":"initialized"},"hostListeners":{},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"viewQueries":[],"entryComponents":[],"changeDetection":1,"template":{"ngContentSelectors":[],"encapsulation":2},"componentViewType":{"__symbol":5,"members":[]},"rendererType":{"__symbol":6,"members":[]},"componentFactory":{"__symbol":7,"members":[]}}}],"symbols":[{"__symbol":0,"name":"CalendarComponent","filePath":"./calendar"},{"__symbol":1,"name":"Input","filePath":"@angular/core/core"},{"__symbol":2,"name":"Output","filePath":"@angular/core/core"},{"__symbol":3,"name":"ElementRef","filePath":"@angular/core/core"},{"__symbol":4,"name":"NgZone","filePath":"@angular/core/core"},{"__symbol":5,"name":"View_CalendarComponent_0","filePath":"./calendar.ngfactory"},{"__symbol":6,"name":"RenderType_CalendarComponent","filePath":"./calendar.ngfactory"},{"__symbol":7,"name":"CalendarComponentNgFactory","filePath":"./calendar.ngfactory"}]} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17324
151