angular-calendar
Advanced tools
Comparing version 0.7.2 to 0.7.3
@@ -5,2 +5,20 @@ # Change Log | ||
<a name="0.7.3"></a> | ||
## [0.7.3](https://github.com/mattlewis92/angular-calendar/compare/v0.7.2...v0.7.3) (2017-03-04) | ||
### Bug Fixes | ||
* loosen angular peer dependency to support angular 4 ([e00c115](https://github.com/mattlewis92/angular-calendar/commit/e00c115)) | ||
* **dayView:** allow dropping of external events ([86e5d06](https://github.com/mattlewis92/angular-calendar/commit/86e5d06)), closes [#150](https://github.com/mattlewis92/angular-calendar/issues/150) | ||
* **monthView:** add helper classes to the month view header ([0008a83](https://github.com/mattlewis92/angular-calendar/commit/0008a83)), closes [#152](https://github.com/mattlewis92/angular-calendar/issues/152) | ||
* **weekView:** allow external events to be dropped on the column headers ([83266f7](https://github.com/mattlewis92/angular-calendar/commit/83266f7)), closes [#150](https://github.com/mattlewis92/angular-calendar/issues/150) | ||
### Performance Improvements | ||
* improve performance of draggable and resizable events ([71fe9cd](https://github.com/mattlewis92/angular-calendar/commit/71fe9cd)), closes [#149](https://github.com/mattlewis92/angular-calendar/issues/149) | ||
<a name="0.7.2"></a> | ||
@@ -7,0 +25,0 @@ ## [0.7.2](https://github.com/mattlewis92/angular-calendar/compare/v0.7.1...v0.7.2) (2017-02-03) |
@@ -23,3 +23,3 @@ import { NgModule } from '@angular/core'; | ||
import { CalendarEventTitlePipe } from './pipes/calendarEventTitle.pipe'; | ||
import { CalendarEventTitleFormatter } from './providers/calendarEventTitle.provider'; | ||
import { CalendarEventTitleFormatter } from './providers/calendarEventTitleFormatter.provider'; | ||
import { CalendarDateFormatter } from './providers/calendarDateFormatter.provider'; | ||
@@ -26,0 +26,0 @@ /** |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"CalendarModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"declarations":[{"__symbolic":"reference","module":"./components/day/calendarDayView.component","name":"CalendarDayViewComponent"},{"__symbolic":"reference","module":"./components/week/calendarWeekView.component","name":"CalendarWeekViewComponent"},{"__symbolic":"reference","module":"./components/month/calendarMonthView.component","name":"CalendarMonthViewComponent"},{"__symbolic":"reference","module":"./components/common/calendarEventActions.component","name":"CalendarEventActionsComponent"},{"__symbolic":"reference","module":"./components/common/calendarEventTitle.component","name":"CalendarEventTitleComponent"},{"__symbolic":"reference","module":"./components/month/calendarMonthCell.component","name":"CalendarMonthCellComponent"},{"__symbolic":"reference","module":"./components/month/calendarOpenDayEvents.component","name":"CalendarOpenDayEventsComponent"},{"__symbolic":"reference","module":"./components/week/calendarWeekViewHeader.component","name":"CalendarWeekViewHeaderComponent"},{"__symbolic":"reference","module":"./components/week/calendarWeekViewEvent.component","name":"CalendarWeekViewEventComponent"},{"__symbolic":"reference","module":"./components/day/calendarAllDayEvent.component","name":"CalendarAllDayEventComponent"},{"__symbolic":"reference","module":"./components/day/calendarDayViewHourSegment.component","name":"CalendarDayViewHourSegmentComponent"},{"__symbolic":"reference","module":"./components/day/calendarDayViewEvent.component","name":"CalendarDayViewEventComponent"},{"__symbolic":"reference","module":"./directives/calendarTooltip.directive","name":"CalendarTooltipWindowComponent"},{"__symbolic":"reference","module":"./directives/calendarTooltip.directive","name":"CalendarTooltipDirective"},{"__symbolic":"reference","module":"./directives/calendarPreviousView.directive","name":"CalendarPreviousViewDirective"},{"__symbolic":"reference","module":"./directives/calendarNextView.directive","name":"CalendarNextViewDirective"},{"__symbolic":"reference","module":"./directives/calendarToday.directive","name":"CalendarTodayDirective"},{"__symbolic":"reference","module":"./pipes/calendarDate.pipe","name":"CalendarDatePipe"},{"__symbolic":"reference","module":"./pipes/calendarEventTitle.pipe","name":"CalendarEventTitlePipe"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"},{"__symbolic":"reference","module":"angular-resizable-element","name":"ResizableModule"},{"__symbolic":"reference","module":"angular-draggable-droppable","name":"DragAndDropModule"}],"exports":[{"__symbolic":"reference","module":"./components/day/calendarDayView.component","name":"CalendarDayViewComponent"},{"__symbolic":"reference","module":"./components/week/calendarWeekView.component","name":"CalendarWeekViewComponent"},{"__symbolic":"reference","module":"./components/month/calendarMonthView.component","name":"CalendarMonthViewComponent"},{"__symbolic":"reference","module":"./components/common/calendarEventActions.component","name":"CalendarEventActionsComponent"},{"__symbolic":"reference","module":"./components/common/calendarEventTitle.component","name":"CalendarEventTitleComponent"},{"__symbolic":"reference","module":"./components/month/calendarMonthCell.component","name":"CalendarMonthCellComponent"},{"__symbolic":"reference","module":"./components/month/calendarOpenDayEvents.component","name":"CalendarOpenDayEventsComponent"},{"__symbolic":"reference","module":"./components/week/calendarWeekViewHeader.component","name":"CalendarWeekViewHeaderComponent"},{"__symbolic":"reference","module":"./components/week/calendarWeekViewEvent.component","name":"CalendarWeekViewEventComponent"},{"__symbolic":"reference","module":"./components/day/calendarAllDayEvent.component","name":"CalendarAllDayEventComponent"},{"__symbolic":"reference","module":"./components/day/calendarDayViewHourSegment.component","name":"CalendarDayViewHourSegmentComponent"},{"__symbolic":"reference","module":"./components/day/calendarDayViewEvent.component","name":"CalendarDayViewEventComponent"},{"__symbolic":"reference","module":"./directives/calendarTooltip.directive","name":"CalendarTooltipWindowComponent"},{"__symbolic":"reference","module":"./directives/calendarTooltip.directive","name":"CalendarTooltipDirective"},{"__symbolic":"reference","module":"./directives/calendarPreviousView.directive","name":"CalendarPreviousViewDirective"},{"__symbolic":"reference","module":"./directives/calendarNextView.directive","name":"CalendarNextViewDirective"},{"__symbolic":"reference","module":"./directives/calendarToday.directive","name":"CalendarTodayDirective"},{"__symbolic":"reference","module":"./pipes/calendarDate.pipe","name":"CalendarDatePipe"},{"__symbolic":"reference","module":"./pipes/calendarEventTitle.pipe","name":"CalendarEventTitlePipe"}],"entryComponents":[{"__symbolic":"reference","module":"./directives/calendarTooltip.directive","name":"CalendarTooltipWindowComponent"}]}]}],"statics":{"forRoot":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"CalendarModule"},"providers":[{"__symbolic":"reference","module":"./providers/calendarEventTitle.provider","name":"CalendarEventTitleFormatter"},{"__symbolic":"reference","module":"./providers/calendarDateFormatter.provider","name":"CalendarDateFormatter"},{"__symbolic":"reference","module":"angular-draggable-droppable","name":"DraggableHelper"}]}}}}}},{"__symbolic":"module","version":1,"metadata":{"CalendarModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"declarations":[{"__symbolic":"reference","module":"./components/day/calendarDayView.component","name":"CalendarDayViewComponent"},{"__symbolic":"reference","module":"./components/week/calendarWeekView.component","name":"CalendarWeekViewComponent"},{"__symbolic":"reference","module":"./components/month/calendarMonthView.component","name":"CalendarMonthViewComponent"},{"__symbolic":"reference","module":"./components/common/calendarEventActions.component","name":"CalendarEventActionsComponent"},{"__symbolic":"reference","module":"./components/common/calendarEventTitle.component","name":"CalendarEventTitleComponent"},{"__symbolic":"reference","module":"./components/month/calendarMonthCell.component","name":"CalendarMonthCellComponent"},{"__symbolic":"reference","module":"./components/month/calendarOpenDayEvents.component","name":"CalendarOpenDayEventsComponent"},{"__symbolic":"reference","module":"./components/week/calendarWeekViewHeader.component","name":"CalendarWeekViewHeaderComponent"},{"__symbolic":"reference","module":"./components/week/calendarWeekViewEvent.component","name":"CalendarWeekViewEventComponent"},{"__symbolic":"reference","module":"./components/day/calendarAllDayEvent.component","name":"CalendarAllDayEventComponent"},{"__symbolic":"reference","module":"./components/day/calendarDayViewHourSegment.component","name":"CalendarDayViewHourSegmentComponent"},{"__symbolic":"reference","module":"./components/day/calendarDayViewEvent.component","name":"CalendarDayViewEventComponent"},{"__symbolic":"reference","module":"./directives/calendarTooltip.directive","name":"CalendarTooltipWindowComponent"},{"__symbolic":"reference","module":"./directives/calendarTooltip.directive","name":"CalendarTooltipDirective"},{"__symbolic":"reference","module":"./directives/calendarPreviousView.directive","name":"CalendarPreviousViewDirective"},{"__symbolic":"reference","module":"./directives/calendarNextView.directive","name":"CalendarNextViewDirective"},{"__symbolic":"reference","module":"./directives/calendarToday.directive","name":"CalendarTodayDirective"},{"__symbolic":"reference","module":"./pipes/calendarDate.pipe","name":"CalendarDatePipe"},{"__symbolic":"reference","module":"./pipes/calendarEventTitle.pipe","name":"CalendarEventTitlePipe"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"},{"__symbolic":"reference","module":"angular-resizable-element","name":"ResizableModule"},{"__symbolic":"reference","module":"angular-draggable-droppable","name":"DragAndDropModule"}],"exports":[{"__symbolic":"reference","module":"./components/day/calendarDayView.component","name":"CalendarDayViewComponent"},{"__symbolic":"reference","module":"./components/week/calendarWeekView.component","name":"CalendarWeekViewComponent"},{"__symbolic":"reference","module":"./components/month/calendarMonthView.component","name":"CalendarMonthViewComponent"},{"__symbolic":"reference","module":"./components/common/calendarEventActions.component","name":"CalendarEventActionsComponent"},{"__symbolic":"reference","module":"./components/common/calendarEventTitle.component","name":"CalendarEventTitleComponent"},{"__symbolic":"reference","module":"./components/month/calendarMonthCell.component","name":"CalendarMonthCellComponent"},{"__symbolic":"reference","module":"./components/month/calendarOpenDayEvents.component","name":"CalendarOpenDayEventsComponent"},{"__symbolic":"reference","module":"./components/week/calendarWeekViewHeader.component","name":"CalendarWeekViewHeaderComponent"},{"__symbolic":"reference","module":"./components/week/calendarWeekViewEvent.component","name":"CalendarWeekViewEventComponent"},{"__symbolic":"reference","module":"./components/day/calendarAllDayEvent.component","name":"CalendarAllDayEventComponent"},{"__symbolic":"reference","module":"./components/day/calendarDayViewHourSegment.component","name":"CalendarDayViewHourSegmentComponent"},{"__symbolic":"reference","module":"./components/day/calendarDayViewEvent.component","name":"CalendarDayViewEventComponent"},{"__symbolic":"reference","module":"./directives/calendarTooltip.directive","name":"CalendarTooltipWindowComponent"},{"__symbolic":"reference","module":"./directives/calendarTooltip.directive","name":"CalendarTooltipDirective"},{"__symbolic":"reference","module":"./directives/calendarPreviousView.directive","name":"CalendarPreviousViewDirective"},{"__symbolic":"reference","module":"./directives/calendarNextView.directive","name":"CalendarNextViewDirective"},{"__symbolic":"reference","module":"./directives/calendarToday.directive","name":"CalendarTodayDirective"},{"__symbolic":"reference","module":"./pipes/calendarDate.pipe","name":"CalendarDatePipe"},{"__symbolic":"reference","module":"./pipes/calendarEventTitle.pipe","name":"CalendarEventTitlePipe"}],"entryComponents":[{"__symbolic":"reference","module":"./directives/calendarTooltip.directive","name":"CalendarTooltipWindowComponent"}]}]}],"statics":{"forRoot":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"CalendarModule"},"providers":[{"__symbolic":"reference","module":"./providers/calendarEventTitle.provider","name":"CalendarEventTitleFormatter"},{"__symbolic":"reference","module":"./providers/calendarDateFormatter.provider","name":"CalendarDateFormatter"},{"__symbolic":"reference","module":"angular-draggable-droppable","name":"DraggableHelper"}]}}}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"CalendarModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"declarations":[{"__symbolic":"reference","module":"./components/day/calendarDayView.component","name":"CalendarDayViewComponent"},{"__symbolic":"reference","module":"./components/week/calendarWeekView.component","name":"CalendarWeekViewComponent"},{"__symbolic":"reference","module":"./components/month/calendarMonthView.component","name":"CalendarMonthViewComponent"},{"__symbolic":"reference","module":"./components/common/calendarEventActions.component","name":"CalendarEventActionsComponent"},{"__symbolic":"reference","module":"./components/common/calendarEventTitle.component","name":"CalendarEventTitleComponent"},{"__symbolic":"reference","module":"./components/month/calendarMonthCell.component","name":"CalendarMonthCellComponent"},{"__symbolic":"reference","module":"./components/month/calendarOpenDayEvents.component","name":"CalendarOpenDayEventsComponent"},{"__symbolic":"reference","module":"./components/week/calendarWeekViewHeader.component","name":"CalendarWeekViewHeaderComponent"},{"__symbolic":"reference","module":"./components/week/calendarWeekViewEvent.component","name":"CalendarWeekViewEventComponent"},{"__symbolic":"reference","module":"./components/day/calendarAllDayEvent.component","name":"CalendarAllDayEventComponent"},{"__symbolic":"reference","module":"./components/day/calendarDayViewHourSegment.component","name":"CalendarDayViewHourSegmentComponent"},{"__symbolic":"reference","module":"./components/day/calendarDayViewEvent.component","name":"CalendarDayViewEventComponent"},{"__symbolic":"reference","module":"./directives/calendarTooltip.directive","name":"CalendarTooltipWindowComponent"},{"__symbolic":"reference","module":"./directives/calendarTooltip.directive","name":"CalendarTooltipDirective"},{"__symbolic":"reference","module":"./directives/calendarPreviousView.directive","name":"CalendarPreviousViewDirective"},{"__symbolic":"reference","module":"./directives/calendarNextView.directive","name":"CalendarNextViewDirective"},{"__symbolic":"reference","module":"./directives/calendarToday.directive","name":"CalendarTodayDirective"},{"__symbolic":"reference","module":"./pipes/calendarDate.pipe","name":"CalendarDatePipe"},{"__symbolic":"reference","module":"./pipes/calendarEventTitle.pipe","name":"CalendarEventTitlePipe"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"},{"__symbolic":"reference","module":"angular-resizable-element","name":"ResizableModule"},{"__symbolic":"reference","module":"angular-draggable-droppable","name":"DragAndDropModule"}],"exports":[{"__symbolic":"reference","module":"./components/day/calendarDayView.component","name":"CalendarDayViewComponent"},{"__symbolic":"reference","module":"./components/week/calendarWeekView.component","name":"CalendarWeekViewComponent"},{"__symbolic":"reference","module":"./components/month/calendarMonthView.component","name":"CalendarMonthViewComponent"},{"__symbolic":"reference","module":"./components/common/calendarEventActions.component","name":"CalendarEventActionsComponent"},{"__symbolic":"reference","module":"./components/common/calendarEventTitle.component","name":"CalendarEventTitleComponent"},{"__symbolic":"reference","module":"./components/month/calendarMonthCell.component","name":"CalendarMonthCellComponent"},{"__symbolic":"reference","module":"./components/month/calendarOpenDayEvents.component","name":"CalendarOpenDayEventsComponent"},{"__symbolic":"reference","module":"./components/week/calendarWeekViewHeader.component","name":"CalendarWeekViewHeaderComponent"},{"__symbolic":"reference","module":"./components/week/calendarWeekViewEvent.component","name":"CalendarWeekViewEventComponent"},{"__symbolic":"reference","module":"./components/day/calendarAllDayEvent.component","name":"CalendarAllDayEventComponent"},{"__symbolic":"reference","module":"./components/day/calendarDayViewHourSegment.component","name":"CalendarDayViewHourSegmentComponent"},{"__symbolic":"reference","module":"./components/day/calendarDayViewEvent.component","name":"CalendarDayViewEventComponent"},{"__symbolic":"reference","module":"./directives/calendarTooltip.directive","name":"CalendarTooltipWindowComponent"},{"__symbolic":"reference","module":"./directives/calendarTooltip.directive","name":"CalendarTooltipDirective"},{"__symbolic":"reference","module":"./directives/calendarPreviousView.directive","name":"CalendarPreviousViewDirective"},{"__symbolic":"reference","module":"./directives/calendarNextView.directive","name":"CalendarNextViewDirective"},{"__symbolic":"reference","module":"./directives/calendarToday.directive","name":"CalendarTodayDirective"},{"__symbolic":"reference","module":"./pipes/calendarDate.pipe","name":"CalendarDatePipe"},{"__symbolic":"reference","module":"./pipes/calendarEventTitle.pipe","name":"CalendarEventTitlePipe"}],"entryComponents":[{"__symbolic":"reference","module":"./directives/calendarTooltip.directive","name":"CalendarTooltipWindowComponent"}]}]}],"statics":{"forRoot":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"CalendarModule"},"providers":[{"__symbolic":"reference","module":"./providers/calendarEventTitleFormatter.provider","name":"CalendarEventTitleFormatter"},{"__symbolic":"reference","module":"./providers/calendarDateFormatter.provider","name":"CalendarDateFormatter"},{"__symbolic":"reference","module":"angular-draggable-droppable","name":"DraggableHelper"}]}}}}}},{"__symbolic":"module","version":1,"metadata":{"CalendarModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"declarations":[{"__symbolic":"reference","module":"./components/day/calendarDayView.component","name":"CalendarDayViewComponent"},{"__symbolic":"reference","module":"./components/week/calendarWeekView.component","name":"CalendarWeekViewComponent"},{"__symbolic":"reference","module":"./components/month/calendarMonthView.component","name":"CalendarMonthViewComponent"},{"__symbolic":"reference","module":"./components/common/calendarEventActions.component","name":"CalendarEventActionsComponent"},{"__symbolic":"reference","module":"./components/common/calendarEventTitle.component","name":"CalendarEventTitleComponent"},{"__symbolic":"reference","module":"./components/month/calendarMonthCell.component","name":"CalendarMonthCellComponent"},{"__symbolic":"reference","module":"./components/month/calendarOpenDayEvents.component","name":"CalendarOpenDayEventsComponent"},{"__symbolic":"reference","module":"./components/week/calendarWeekViewHeader.component","name":"CalendarWeekViewHeaderComponent"},{"__symbolic":"reference","module":"./components/week/calendarWeekViewEvent.component","name":"CalendarWeekViewEventComponent"},{"__symbolic":"reference","module":"./components/day/calendarAllDayEvent.component","name":"CalendarAllDayEventComponent"},{"__symbolic":"reference","module":"./components/day/calendarDayViewHourSegment.component","name":"CalendarDayViewHourSegmentComponent"},{"__symbolic":"reference","module":"./components/day/calendarDayViewEvent.component","name":"CalendarDayViewEventComponent"},{"__symbolic":"reference","module":"./directives/calendarTooltip.directive","name":"CalendarTooltipWindowComponent"},{"__symbolic":"reference","module":"./directives/calendarTooltip.directive","name":"CalendarTooltipDirective"},{"__symbolic":"reference","module":"./directives/calendarPreviousView.directive","name":"CalendarPreviousViewDirective"},{"__symbolic":"reference","module":"./directives/calendarNextView.directive","name":"CalendarNextViewDirective"},{"__symbolic":"reference","module":"./directives/calendarToday.directive","name":"CalendarTodayDirective"},{"__symbolic":"reference","module":"./pipes/calendarDate.pipe","name":"CalendarDatePipe"},{"__symbolic":"reference","module":"./pipes/calendarEventTitle.pipe","name":"CalendarEventTitlePipe"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule"},{"__symbolic":"reference","module":"angular-resizable-element","name":"ResizableModule"},{"__symbolic":"reference","module":"angular-draggable-droppable","name":"DragAndDropModule"}],"exports":[{"__symbolic":"reference","module":"./components/day/calendarDayView.component","name":"CalendarDayViewComponent"},{"__symbolic":"reference","module":"./components/week/calendarWeekView.component","name":"CalendarWeekViewComponent"},{"__symbolic":"reference","module":"./components/month/calendarMonthView.component","name":"CalendarMonthViewComponent"},{"__symbolic":"reference","module":"./components/common/calendarEventActions.component","name":"CalendarEventActionsComponent"},{"__symbolic":"reference","module":"./components/common/calendarEventTitle.component","name":"CalendarEventTitleComponent"},{"__symbolic":"reference","module":"./components/month/calendarMonthCell.component","name":"CalendarMonthCellComponent"},{"__symbolic":"reference","module":"./components/month/calendarOpenDayEvents.component","name":"CalendarOpenDayEventsComponent"},{"__symbolic":"reference","module":"./components/week/calendarWeekViewHeader.component","name":"CalendarWeekViewHeaderComponent"},{"__symbolic":"reference","module":"./components/week/calendarWeekViewEvent.component","name":"CalendarWeekViewEventComponent"},{"__symbolic":"reference","module":"./components/day/calendarAllDayEvent.component","name":"CalendarAllDayEventComponent"},{"__symbolic":"reference","module":"./components/day/calendarDayViewHourSegment.component","name":"CalendarDayViewHourSegmentComponent"},{"__symbolic":"reference","module":"./components/day/calendarDayViewEvent.component","name":"CalendarDayViewEventComponent"},{"__symbolic":"reference","module":"./directives/calendarTooltip.directive","name":"CalendarTooltipWindowComponent"},{"__symbolic":"reference","module":"./directives/calendarTooltip.directive","name":"CalendarTooltipDirective"},{"__symbolic":"reference","module":"./directives/calendarPreviousView.directive","name":"CalendarPreviousViewDirective"},{"__symbolic":"reference","module":"./directives/calendarNextView.directive","name":"CalendarNextViewDirective"},{"__symbolic":"reference","module":"./directives/calendarToday.directive","name":"CalendarTodayDirective"},{"__symbolic":"reference","module":"./pipes/calendarDate.pipe","name":"CalendarDatePipe"},{"__symbolic":"reference","module":"./pipes/calendarEventTitle.pipe","name":"CalendarEventTitlePipe"}],"entryComponents":[{"__symbolic":"reference","module":"./directives/calendarTooltip.directive","name":"CalendarTooltipWindowComponent"}]}]}],"statics":{"forRoot":{"__symbolic":"function","parameters":[],"value":{"ngModule":{"__symbolic":"reference","name":"CalendarModule"},"providers":[{"__symbolic":"reference","module":"./providers/calendarEventTitleFormatter.provider","name":"CalendarEventTitleFormatter"},{"__symbolic":"reference","module":"./providers/calendarDateFormatter.provider","name":"CalendarDateFormatter"},{"__symbolic":"reference","module":"angular-draggable-droppable","name":"DraggableHelper"}]}}}}}}] |
import { OnChanges, EventEmitter, ChangeDetectorRef, OnInit, OnDestroy } from '@angular/core'; | ||
import { CalendarEvent, DayView, DayViewHour } from 'calendar-utils'; | ||
import { CalendarEvent, DayView, DayViewHour, DayViewHourSegment } from 'calendar-utils'; | ||
import { Subject } from 'rxjs/Subject'; | ||
@@ -119,2 +119,7 @@ import { Subscription } from 'rxjs/Subscription'; | ||
ngOnChanges(changes: any): void; | ||
eventDropped(dropEvent: { | ||
dropData?: { | ||
event?: CalendarEvent; | ||
}; | ||
}, segment: DayViewHourSegment): void; | ||
private refreshHourGrid(); | ||
@@ -121,0 +126,0 @@ private refreshView(); |
@@ -122,2 +122,7 @@ import { Component, Input, Output, EventEmitter, ChangeDetectorRef, LOCALE_ID, Inject } from '@angular/core'; | ||
}; | ||
CalendarDayViewComponent.prototype.eventDropped = function (dropEvent, segment) { | ||
if (dropEvent.dropData && dropEvent.dropData.event) { | ||
this.eventTimesChanged.emit({ event: dropEvent.dropData.event, newStart: segment.date }); | ||
} | ||
}; | ||
CalendarDayViewComponent.prototype.refreshHourGrid = function () { | ||
@@ -167,3 +172,3 @@ var _this = this; | ||
selector: 'mwl-calendar-day-view', | ||
template: "\n <div class=\"cal-day-view\" #dayViewContainer>\n <mwl-calendar-all-day-event\n *ngFor=\"let event of view.allDayEvents\"\n [event]=\"event\"\n (eventClicked)=\"eventClicked.emit({event: event})\">\n </mwl-calendar-all-day-event>\n <div class=\"cal-hour-rows\">\n <div class=\"cal-events\">\n <mwl-calendar-day-view-event\n *ngFor=\"let dayEvent of view?.events\"\n [dayEvent]=\"dayEvent\"\n [hourSegments]=\"hourSegments\"\n [tooltipPlacement]=\"tooltipPlacement\"\n [eventSnapSize]=\"eventSnapSize\"\n [dayViewContainer]=\"dayViewContainer\"\n (eventClicked)=\"eventClicked.emit({event: dayEvent.event})\"\n (eventResized)=\"eventTimesChanged.emit($event)\">\n </mwl-calendar-day-view-event>\n </div>\n <div class=\"cal-hour\" *ngFor=\"let hour of hours\" [style.minWidth.px]=\"view?.width + 70\">\n <mwl-calendar-day-view-hour-segment\n *ngFor=\"let segment of hour.segments\"\n [segment]=\"segment\"\n [locale]=\"locale\"\n (click)=\"hourSegmentClicked.emit({date: segment.date})\">\n </mwl-calendar-day-view-hour-segment>\n </div>\n </div>\n </div>\n " | ||
template: "\n <div class=\"cal-day-view\" #dayViewContainer>\n <mwl-calendar-all-day-event\n *ngFor=\"let event of view.allDayEvents\"\n [event]=\"event\"\n (eventClicked)=\"eventClicked.emit({event: event})\">\n </mwl-calendar-all-day-event>\n <div class=\"cal-hour-rows\">\n <div class=\"cal-events\">\n <mwl-calendar-day-view-event\n *ngFor=\"let dayEvent of view?.events\"\n [dayEvent]=\"dayEvent\"\n [hourSegments]=\"hourSegments\"\n [tooltipPlacement]=\"tooltipPlacement\"\n [eventSnapSize]=\"eventSnapSize\"\n [dayViewContainer]=\"dayViewContainer\"\n (eventClicked)=\"eventClicked.emit({event: dayEvent.event})\"\n (eventResized)=\"eventTimesChanged.emit($event)\">\n </mwl-calendar-day-view-event>\n </div>\n <div class=\"cal-hour\" *ngFor=\"let hour of hours\" [style.minWidth.px]=\"view?.width + 70\">\n <mwl-calendar-day-view-hour-segment\n *ngFor=\"let segment of hour.segments\"\n [segment]=\"segment\"\n [locale]=\"locale\"\n (click)=\"hourSegmentClicked.emit({date: segment.date})\"\n [class.cal-drag-over]=\"segment.dragOver\"\n mwlDroppable\n (dragEnter)=\"segment.dragOver = true\"\n (dragLeave)=\"segment.dragOver = false\"\n (drop)=\"segment.dragOver = false; eventDropped($event, segment)\">\n </mwl-calendar-day-view-hour-segment>\n </div>\n </div>\n </div>\n " | ||
},] }, | ||
@@ -170,0 +175,0 @@ ]; |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"CalendarDayViewComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"mwl-calendar-day-view","template":"\n <div class=\"cal-day-view\" #dayViewContainer>\n <mwl-calendar-all-day-event\n *ngFor=\"let event of view.allDayEvents\"\n [event]=\"event\"\n (eventClicked)=\"eventClicked.emit({event: event})\">\n </mwl-calendar-all-day-event>\n <div class=\"cal-hour-rows\">\n <div class=\"cal-events\">\n <mwl-calendar-day-view-event\n *ngFor=\"let dayEvent of view?.events\"\n [dayEvent]=\"dayEvent\"\n [hourSegments]=\"hourSegments\"\n [tooltipPlacement]=\"tooltipPlacement\"\n [eventSnapSize]=\"eventSnapSize\"\n [dayViewContainer]=\"dayViewContainer\"\n (eventClicked)=\"eventClicked.emit({event: dayEvent.event})\"\n (eventResized)=\"eventTimesChanged.emit($event)\">\n </mwl-calendar-day-view-event>\n </div>\n <div class=\"cal-hour\" *ngFor=\"let hour of hours\" [style.minWidth.px]=\"view?.width + 70\">\n <mwl-calendar-day-view-hour-segment\n *ngFor=\"let segment of hour.segments\"\n [segment]=\"segment\"\n [locale]=\"locale\"\n (click)=\"hourSegmentClicked.emit({date: segment.date})\">\n </mwl-calendar-day-view-hour-segment>\n </div>\n </div>\n </div>\n "}]}],"members":{"viewDate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"events":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"hourSegments":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dayStartHour":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dayStartMinute":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dayEndHour":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dayEndMinute":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"eventWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"refresh":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"hourSegmentModifier":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"eventSnapSize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"tooltipPlacement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"eventClicked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"hourSegmentClicked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"eventTimesChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"},{"__symbolic":"reference","name":"string"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"refreshHourGrid":[{"__symbolic":"method"}],"refreshView":[{"__symbolic":"method"}],"refreshAll":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"CalendarDayViewComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"mwl-calendar-day-view","template":"\n <div class=\"cal-day-view\" #dayViewContainer>\n <mwl-calendar-all-day-event\n *ngFor=\"let event of view.allDayEvents\"\n [event]=\"event\"\n (eventClicked)=\"eventClicked.emit({event: event})\">\n </mwl-calendar-all-day-event>\n <div class=\"cal-hour-rows\">\n <div class=\"cal-events\">\n <mwl-calendar-day-view-event\n *ngFor=\"let dayEvent of view?.events\"\n [dayEvent]=\"dayEvent\"\n [hourSegments]=\"hourSegments\"\n [tooltipPlacement]=\"tooltipPlacement\"\n [eventSnapSize]=\"eventSnapSize\"\n [dayViewContainer]=\"dayViewContainer\"\n (eventClicked)=\"eventClicked.emit({event: dayEvent.event})\"\n (eventResized)=\"eventTimesChanged.emit($event)\">\n </mwl-calendar-day-view-event>\n </div>\n <div class=\"cal-hour\" *ngFor=\"let hour of hours\" [style.minWidth.px]=\"view?.width + 70\">\n <mwl-calendar-day-view-hour-segment\n *ngFor=\"let segment of hour.segments\"\n [segment]=\"segment\"\n [locale]=\"locale\"\n (click)=\"hourSegmentClicked.emit({date: segment.date})\">\n </mwl-calendar-day-view-hour-segment>\n </div>\n </div>\n </div>\n "}]}],"members":{"viewDate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"events":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"hourSegments":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dayStartHour":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dayStartMinute":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dayEndHour":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dayEndMinute":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"eventWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"refresh":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"hourSegmentModifier":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"eventSnapSize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"tooltipPlacement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"eventClicked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"hourSegmentClicked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"eventTimesChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"},{"__symbolic":"reference","name":"string"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"refreshHourGrid":[{"__symbolic":"method"}],"refreshView":[{"__symbolic":"method"}],"refreshAll":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"CalendarDayViewComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"mwl-calendar-day-view","template":"\n <div class=\"cal-day-view\" #dayViewContainer>\n <mwl-calendar-all-day-event\n *ngFor=\"let event of view.allDayEvents\"\n [event]=\"event\"\n (eventClicked)=\"eventClicked.emit({event: event})\">\n </mwl-calendar-all-day-event>\n <div class=\"cal-hour-rows\">\n <div class=\"cal-events\">\n <mwl-calendar-day-view-event\n *ngFor=\"let dayEvent of view?.events\"\n [dayEvent]=\"dayEvent\"\n [hourSegments]=\"hourSegments\"\n [tooltipPlacement]=\"tooltipPlacement\"\n [eventSnapSize]=\"eventSnapSize\"\n [dayViewContainer]=\"dayViewContainer\"\n (eventClicked)=\"eventClicked.emit({event: dayEvent.event})\"\n (eventResized)=\"eventTimesChanged.emit($event)\">\n </mwl-calendar-day-view-event>\n </div>\n <div class=\"cal-hour\" *ngFor=\"let hour of hours\" [style.minWidth.px]=\"view?.width + 70\">\n <mwl-calendar-day-view-hour-segment\n *ngFor=\"let segment of hour.segments\"\n [segment]=\"segment\"\n [locale]=\"locale\"\n (click)=\"hourSegmentClicked.emit({date: segment.date})\"\n [class.cal-drag-over]=\"segment.dragOver\"\n mwlDroppable\n (dragEnter)=\"segment.dragOver = true\"\n (dragLeave)=\"segment.dragOver = false\"\n (drop)=\"segment.dragOver = false; eventDropped($event, segment)\">\n </mwl-calendar-day-view-hour-segment>\n </div>\n </div>\n </div>\n "}]}],"members":{"viewDate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"events":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"hourSegments":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dayStartHour":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dayStartMinute":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dayEndHour":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dayEndMinute":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"eventWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"refresh":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"hourSegmentModifier":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"eventSnapSize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"tooltipPlacement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"eventClicked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"hourSegmentClicked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"eventTimesChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"},{"__symbolic":"reference","name":"string"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"eventDropped":[{"__symbolic":"method"}],"refreshHourGrid":[{"__symbolic":"method"}],"refreshView":[{"__symbolic":"method"}],"refreshAll":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"CalendarDayViewComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"mwl-calendar-day-view","template":"\n <div class=\"cal-day-view\" #dayViewContainer>\n <mwl-calendar-all-day-event\n *ngFor=\"let event of view.allDayEvents\"\n [event]=\"event\"\n (eventClicked)=\"eventClicked.emit({event: event})\">\n </mwl-calendar-all-day-event>\n <div class=\"cal-hour-rows\">\n <div class=\"cal-events\">\n <mwl-calendar-day-view-event\n *ngFor=\"let dayEvent of view?.events\"\n [dayEvent]=\"dayEvent\"\n [hourSegments]=\"hourSegments\"\n [tooltipPlacement]=\"tooltipPlacement\"\n [eventSnapSize]=\"eventSnapSize\"\n [dayViewContainer]=\"dayViewContainer\"\n (eventClicked)=\"eventClicked.emit({event: dayEvent.event})\"\n (eventResized)=\"eventTimesChanged.emit($event)\">\n </mwl-calendar-day-view-event>\n </div>\n <div class=\"cal-hour\" *ngFor=\"let hour of hours\" [style.minWidth.px]=\"view?.width + 70\">\n <mwl-calendar-day-view-hour-segment\n *ngFor=\"let segment of hour.segments\"\n [segment]=\"segment\"\n [locale]=\"locale\"\n (click)=\"hourSegmentClicked.emit({date: segment.date})\"\n [class.cal-drag-over]=\"segment.dragOver\"\n mwlDroppable\n (dragEnter)=\"segment.dragOver = true\"\n (dragLeave)=\"segment.dragOver = false\"\n (drop)=\"segment.dragOver = false; eventDropped($event, segment)\">\n </mwl-calendar-day-view-hour-segment>\n </div>\n </div>\n </div>\n "}]}],"members":{"viewDate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"events":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"hourSegments":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dayStartHour":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dayStartMinute":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dayEndHour":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dayEndMinute":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"eventWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"refresh":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"hourSegmentModifier":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"eventSnapSize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"tooltipPlacement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"eventClicked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"hourSegmentClicked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"eventTimesChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"},{"__symbolic":"reference","name":"string"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"eventDropped":[{"__symbolic":"method"}],"refreshHourGrid":[{"__symbolic":"method"}],"refreshView":[{"__symbolic":"method"}],"refreshAll":[{"__symbolic":"method"}]}}}}] |
@@ -153,3 +153,3 @@ import { Component, Input, Output, EventEmitter, ChangeDetectorRef, LOCALE_ID, Inject } from '@angular/core'; | ||
selector: 'mwl-calendar-month-view', | ||
template: "\n <div class=\"cal-month-view\">\n <div class=\"cal-cell-row cal-header\">\n <div class=\"cal-cell\" *ngFor=\"let header of columnHeaders\">\n {{ header.date | calendarDate:'monthViewColumnHeader':locale }}\n </div>\n </div>\n <div class=\"cal-days\">\n <div *ngFor=\"let rowIndex of view.rowOffsets\">\n <div class=\"cal-cell-row\">\n <mwl-calendar-month-cell\n *ngFor=\"let day of view.days | slice : rowIndex : rowIndex + 7\"\n [class.cal-drag-over]=\"day.dragOver\"\n [day]=\"day\"\n [openDay]=\"openDay\"\n [locale]=\"locale\"\n [tooltipPlacement]=\"tooltipPlacement\"\n (click)=\"dayClicked.emit({day: day})\"\n (highlightDay)=\"toggleDayHighlight($event.event, true)\"\n (unhighlightDay)=\"toggleDayHighlight($event.event, false)\"\n mwlDroppable\n (dragEnter)=\"day.dragOver = true\"\n (dragLeave)=\"day.dragOver = false\"\n (drop)=\"day.dragOver = false; eventDropped(day, $event.dropData.event)\"\n (eventClicked)=\"eventClicked.emit({event: $event.event})\">\n </mwl-calendar-month-cell>\n </div>\n <mwl-calendar-open-day-events\n [isOpen]=\"openRowIndex === rowIndex\"\n [events]=\"openDay?.events\"\n (eventClicked)=\"eventClicked.emit({event: $event.event})\">\n </mwl-calendar-open-day-events>\n </div>\n </div>\n </div>\n " | ||
template: "\n <div class=\"cal-month-view\">\n <div class=\"cal-cell-row cal-header\">\n <div\n class=\"cal-cell\"\n *ngFor=\"let header of columnHeaders\"\n [class.cal-past]=\"header.isPast\"\n [class.cal-today]=\"header.isToday\"\n [class.cal-future]=\"header.isFuture\"\n [class.cal-weekend]=\"header.isWeekend\">\n {{ header.date | calendarDate:'monthViewColumnHeader':locale }}\n </div>\n </div>\n <div class=\"cal-days\">\n <div *ngFor=\"let rowIndex of view.rowOffsets\">\n <div class=\"cal-cell-row\">\n <mwl-calendar-month-cell\n *ngFor=\"let day of view.days | slice : rowIndex : rowIndex + 7\"\n [class.cal-drag-over]=\"day.dragOver\"\n [day]=\"day\"\n [openDay]=\"openDay\"\n [locale]=\"locale\"\n [tooltipPlacement]=\"tooltipPlacement\"\n (click)=\"dayClicked.emit({day: day})\"\n (highlightDay)=\"toggleDayHighlight($event.event, true)\"\n (unhighlightDay)=\"toggleDayHighlight($event.event, false)\"\n mwlDroppable\n (dragEnter)=\"day.dragOver = true\"\n (dragLeave)=\"day.dragOver = false\"\n (drop)=\"day.dragOver = false; eventDropped(day, $event.dropData.event)\"\n (eventClicked)=\"eventClicked.emit({event: $event.event})\">\n </mwl-calendar-month-cell>\n </div>\n <mwl-calendar-open-day-events\n [isOpen]=\"openRowIndex === rowIndex\"\n [events]=\"openDay?.events\"\n (eventClicked)=\"eventClicked.emit({event: $event.event})\">\n </mwl-calendar-open-day-events>\n </div>\n </div>\n </div>\n " | ||
},] }, | ||
@@ -156,0 +156,0 @@ ]; |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"CalendarMonthViewComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"mwl-calendar-month-view","template":"\n <div class=\"cal-month-view\">\n <div class=\"cal-cell-row cal-header\">\n <div class=\"cal-cell\" *ngFor=\"let header of columnHeaders\">\n {{ header.date | calendarDate:'monthViewColumnHeader':locale }}\n </div>\n </div>\n <div class=\"cal-days\">\n <div *ngFor=\"let rowIndex of view.rowOffsets\">\n <div class=\"cal-cell-row\">\n <mwl-calendar-month-cell\n *ngFor=\"let day of view.days | slice : rowIndex : rowIndex + 7\"\n [class.cal-drag-over]=\"day.dragOver\"\n [day]=\"day\"\n [openDay]=\"openDay\"\n [locale]=\"locale\"\n [tooltipPlacement]=\"tooltipPlacement\"\n (click)=\"dayClicked.emit({day: day})\"\n (highlightDay)=\"toggleDayHighlight($event.event, true)\"\n (unhighlightDay)=\"toggleDayHighlight($event.event, false)\"\n mwlDroppable\n (dragEnter)=\"day.dragOver = true\"\n (dragLeave)=\"day.dragOver = false\"\n (drop)=\"day.dragOver = false; eventDropped(day, $event.dropData.event)\"\n (eventClicked)=\"eventClicked.emit({event: $event.event})\">\n </mwl-calendar-month-cell>\n </div>\n <mwl-calendar-open-day-events\n [isOpen]=\"openRowIndex === rowIndex\"\n [events]=\"openDay?.events\"\n (eventClicked)=\"eventClicked.emit({event: $event.event})\">\n </mwl-calendar-open-day-events>\n </div>\n </div>\n </div>\n "}]}],"members":{"viewDate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"events":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"activeDayIsOpen":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dayModifier":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"refresh":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"tooltipPlacement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"weekStartsOn":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dayClicked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"eventClicked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"eventTimesChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"},{"__symbolic":"reference","name":"string"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"toggleDayHighlight":[{"__symbolic":"method"}],"eventDropped":[{"__symbolic":"method"}],"refreshHeader":[{"__symbolic":"method"}],"refreshBody":[{"__symbolic":"method"}],"checkActiveDayIsOpen":[{"__symbolic":"method"}],"refreshAll":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"CalendarMonthViewComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"mwl-calendar-month-view","template":"\n <div class=\"cal-month-view\">\n <div class=\"cal-cell-row cal-header\">\n <div class=\"cal-cell\" *ngFor=\"let header of columnHeaders\">\n {{ header.date | calendarDate:'monthViewColumnHeader':locale }}\n </div>\n </div>\n <div class=\"cal-days\">\n <div *ngFor=\"let rowIndex of view.rowOffsets\">\n <div class=\"cal-cell-row\">\n <mwl-calendar-month-cell\n *ngFor=\"let day of view.days | slice : rowIndex : rowIndex + 7\"\n [class.cal-drag-over]=\"day.dragOver\"\n [day]=\"day\"\n [openDay]=\"openDay\"\n [locale]=\"locale\"\n [tooltipPlacement]=\"tooltipPlacement\"\n (click)=\"dayClicked.emit({day: day})\"\n (highlightDay)=\"toggleDayHighlight($event.event, true)\"\n (unhighlightDay)=\"toggleDayHighlight($event.event, false)\"\n mwlDroppable\n (dragEnter)=\"day.dragOver = true\"\n (dragLeave)=\"day.dragOver = false\"\n (drop)=\"day.dragOver = false; eventDropped(day, $event.dropData.event)\"\n (eventClicked)=\"eventClicked.emit({event: $event.event})\">\n </mwl-calendar-month-cell>\n </div>\n <mwl-calendar-open-day-events\n [isOpen]=\"openRowIndex === rowIndex\"\n [events]=\"openDay?.events\"\n (eventClicked)=\"eventClicked.emit({event: $event.event})\">\n </mwl-calendar-open-day-events>\n </div>\n </div>\n </div>\n "}]}],"members":{"viewDate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"events":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"activeDayIsOpen":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dayModifier":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"refresh":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"tooltipPlacement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"weekStartsOn":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dayClicked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"eventClicked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"eventTimesChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"},{"__symbolic":"reference","name":"string"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"toggleDayHighlight":[{"__symbolic":"method"}],"eventDropped":[{"__symbolic":"method"}],"refreshHeader":[{"__symbolic":"method"}],"refreshBody":[{"__symbolic":"method"}],"checkActiveDayIsOpen":[{"__symbolic":"method"}],"refreshAll":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"CalendarMonthViewComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"mwl-calendar-month-view","template":"\n <div class=\"cal-month-view\">\n <div class=\"cal-cell-row cal-header\">\n <div\n class=\"cal-cell\"\n *ngFor=\"let header of columnHeaders\"\n [class.cal-past]=\"header.isPast\"\n [class.cal-today]=\"header.isToday\"\n [class.cal-future]=\"header.isFuture\"\n [class.cal-weekend]=\"header.isWeekend\">\n {{ header.date | calendarDate:'monthViewColumnHeader':locale }}\n </div>\n </div>\n <div class=\"cal-days\">\n <div *ngFor=\"let rowIndex of view.rowOffsets\">\n <div class=\"cal-cell-row\">\n <mwl-calendar-month-cell\n *ngFor=\"let day of view.days | slice : rowIndex : rowIndex + 7\"\n [class.cal-drag-over]=\"day.dragOver\"\n [day]=\"day\"\n [openDay]=\"openDay\"\n [locale]=\"locale\"\n [tooltipPlacement]=\"tooltipPlacement\"\n (click)=\"dayClicked.emit({day: day})\"\n (highlightDay)=\"toggleDayHighlight($event.event, true)\"\n (unhighlightDay)=\"toggleDayHighlight($event.event, false)\"\n mwlDroppable\n (dragEnter)=\"day.dragOver = true\"\n (dragLeave)=\"day.dragOver = false\"\n (drop)=\"day.dragOver = false; eventDropped(day, $event.dropData.event)\"\n (eventClicked)=\"eventClicked.emit({event: $event.event})\">\n </mwl-calendar-month-cell>\n </div>\n <mwl-calendar-open-day-events\n [isOpen]=\"openRowIndex === rowIndex\"\n [events]=\"openDay?.events\"\n (eventClicked)=\"eventClicked.emit({event: $event.event})\">\n </mwl-calendar-open-day-events>\n </div>\n </div>\n </div>\n "}]}],"members":{"viewDate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"events":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"activeDayIsOpen":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dayModifier":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"refresh":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"tooltipPlacement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"weekStartsOn":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dayClicked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"eventClicked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"eventTimesChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"},{"__symbolic":"reference","name":"string"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"toggleDayHighlight":[{"__symbolic":"method"}],"eventDropped":[{"__symbolic":"method"}],"refreshHeader":[{"__symbolic":"method"}],"refreshBody":[{"__symbolic":"method"}],"checkActiveDayIsOpen":[{"__symbolic":"method"}],"refreshAll":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"CalendarMonthViewComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"mwl-calendar-month-view","template":"\n <div class=\"cal-month-view\">\n <div class=\"cal-cell-row cal-header\">\n <div\n class=\"cal-cell\"\n *ngFor=\"let header of columnHeaders\"\n [class.cal-past]=\"header.isPast\"\n [class.cal-today]=\"header.isToday\"\n [class.cal-future]=\"header.isFuture\"\n [class.cal-weekend]=\"header.isWeekend\">\n {{ header.date | calendarDate:'monthViewColumnHeader':locale }}\n </div>\n </div>\n <div class=\"cal-days\">\n <div *ngFor=\"let rowIndex of view.rowOffsets\">\n <div class=\"cal-cell-row\">\n <mwl-calendar-month-cell\n *ngFor=\"let day of view.days | slice : rowIndex : rowIndex + 7\"\n [class.cal-drag-over]=\"day.dragOver\"\n [day]=\"day\"\n [openDay]=\"openDay\"\n [locale]=\"locale\"\n [tooltipPlacement]=\"tooltipPlacement\"\n (click)=\"dayClicked.emit({day: day})\"\n (highlightDay)=\"toggleDayHighlight($event.event, true)\"\n (unhighlightDay)=\"toggleDayHighlight($event.event, false)\"\n mwlDroppable\n (dragEnter)=\"day.dragOver = true\"\n (dragLeave)=\"day.dragOver = false\"\n (drop)=\"day.dragOver = false; eventDropped(day, $event.dropData.event)\"\n (eventClicked)=\"eventClicked.emit({event: $event.event})\">\n </mwl-calendar-month-cell>\n </div>\n <mwl-calendar-open-day-events\n [isOpen]=\"openRowIndex === rowIndex\"\n [events]=\"openDay?.events\"\n (eventClicked)=\"eventClicked.emit({event: $event.event})\">\n </mwl-calendar-open-day-events>\n </div>\n </div>\n </div>\n "}]}],"members":{"viewDate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"events":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"activeDayIsOpen":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dayModifier":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"refresh":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"tooltipPlacement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"weekStartsOn":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dayClicked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"eventClicked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"eventTimesChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"},{"__symbolic":"reference","name":"string"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"toggleDayHighlight":[{"__symbolic":"method"}],"eventDropped":[{"__symbolic":"method"}],"refreshHeader":[{"__symbolic":"method"}],"refreshBody":[{"__symbolic":"method"}],"checkActiveDayIsOpen":[{"__symbolic":"method"}],"refreshAll":[{"__symbolic":"method"}]}}}}] |
@@ -183,3 +183,3 @@ import { Component, Input, Output, EventEmitter, ChangeDetectorRef, LOCALE_ID, Inject } from '@angular/core'; | ||
selector: 'mwl-calendar-week-view', | ||
template: "\n <div class=\"cal-week-view\" #weekViewContainer>\n <div class=\"cal-day-headers\">\n <mwl-calendar-week-view-header\n *ngFor=\"let day of days\"\n [day]=\"day\"\n [locale]=\"locale\"\n (click)=\"dayClicked.emit({date: day.date})\">\n </mwl-calendar-week-view-header>\n </div>\n <div *ngFor=\"let eventRow of eventRows\" #eventRowContainer>\n <div\n class=\"cal-event-container\"\n #event\n [class.cal-draggable]=\"weekEvent.event.draggable\"\n *ngFor=\"let weekEvent of eventRow.row\"\n [style.width]=\"((100 / 7) * weekEvent.span) + '%'\"\n [style.marginLeft]=\"((100 / 7) * weekEvent.offset) + '%'\"\n mwlResizable\n [resizeEdges]=\"{left: weekEvent.event?.resizable?.beforeStart, right: weekEvent.event?.resizable?.afterEnd}\"\n [resizeSnapGrid]=\"{left: getDayColumnWidth(eventRowContainer), right: getDayColumnWidth(eventRowContainer)}\"\n [validateResize]=\"validateResize\"\n (resizeStart)=\"resizeStarted(weekViewContainer, weekEvent, $event)\"\n (resizing)=\"resizing(weekEvent, $event, getDayColumnWidth(eventRowContainer))\"\n (resizeEnd)=\"resizeEnded(weekEvent)\"\n mwlDraggable\n [dragAxis]=\"{x: weekEvent.event.draggable && !currentResize, y: false}\"\n [dragSnapGrid]=\"{x: getDayColumnWidth(eventRowContainer)}\"\n [validateDrag]=\"validateDrag\"\n (dragStart)=\"dragStart(weekViewContainer, event)\"\n (dragEnd)=\"eventDragged(weekEvent, $event.x, getDayColumnWidth(eventRowContainer))\">\n <mwl-calendar-week-view-event\n [weekEvent]=\"weekEvent\"\n [tooltipPlacement]=\"tooltipPlacement\"\n (eventClicked)=\"eventClicked.emit({event: weekEvent.event})\">\n </mwl-calendar-week-view-event>\n </div>\n </div>\n </div>\n " | ||
template: "\n <div class=\"cal-week-view\" #weekViewContainer>\n <div class=\"cal-day-headers\">\n <mwl-calendar-week-view-header\n *ngFor=\"let day of days\"\n [day]=\"day\"\n [locale]=\"locale\"\n (click)=\"dayClicked.emit({date: day.date})\"\n [class.cal-drag-over]=\"day.dragOver\"\n mwlDroppable\n (dragEnter)=\"day.dragOver = true\"\n (dragLeave)=\"day.dragOver = false\"\n (drop)=\"day.dragOver = false; eventTimesChanged.emit({event: $event.dropData.event, newStart: day.date})\">\n </mwl-calendar-week-view-header>\n </div>\n <div *ngFor=\"let eventRow of eventRows\" #eventRowContainer>\n <div\n class=\"cal-event-container\"\n #event\n [class.cal-draggable]=\"weekEvent.event.draggable\"\n *ngFor=\"let weekEvent of eventRow.row\"\n [style.width]=\"((100 / 7) * weekEvent.span) + '%'\"\n [style.marginLeft]=\"((100 / 7) * weekEvent.offset) + '%'\"\n mwlResizable\n [resizeEdges]=\"{left: weekEvent.event?.resizable?.beforeStart, right: weekEvent.event?.resizable?.afterEnd}\"\n [resizeSnapGrid]=\"{left: getDayColumnWidth(eventRowContainer), right: getDayColumnWidth(eventRowContainer)}\"\n [validateResize]=\"validateResize\"\n (resizeStart)=\"resizeStarted(weekViewContainer, weekEvent, $event)\"\n (resizing)=\"resizing(weekEvent, $event, getDayColumnWidth(eventRowContainer))\"\n (resizeEnd)=\"resizeEnded(weekEvent)\"\n mwlDraggable\n [dragAxis]=\"{x: weekEvent.event.draggable && !currentResize, y: false}\"\n [dragSnapGrid]=\"{x: getDayColumnWidth(eventRowContainer)}\"\n [validateDrag]=\"validateDrag\"\n (dragStart)=\"dragStart(weekViewContainer, event)\"\n (dragEnd)=\"eventDragged(weekEvent, $event.x, getDayColumnWidth(eventRowContainer))\">\n <mwl-calendar-week-view-event\n [weekEvent]=\"weekEvent\"\n [tooltipPlacement]=\"tooltipPlacement\"\n (eventClicked)=\"eventClicked.emit({event: weekEvent.event})\">\n </mwl-calendar-week-view-event>\n </div>\n </div>\n </div>\n " | ||
},] }, | ||
@@ -186,0 +186,0 @@ ]; |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"CalendarWeekViewComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"mwl-calendar-week-view","template":"\n <div class=\"cal-week-view\" #weekViewContainer>\n <div class=\"cal-day-headers\">\n <mwl-calendar-week-view-header\n *ngFor=\"let day of days\"\n [day]=\"day\"\n [locale]=\"locale\"\n (click)=\"dayClicked.emit({date: day.date})\">\n </mwl-calendar-week-view-header>\n </div>\n <div *ngFor=\"let eventRow of eventRows\" #eventRowContainer>\n <div\n class=\"cal-event-container\"\n #event\n [class.cal-draggable]=\"weekEvent.event.draggable\"\n *ngFor=\"let weekEvent of eventRow.row\"\n [style.width]=\"((100 / 7) * weekEvent.span) + '%'\"\n [style.marginLeft]=\"((100 / 7) * weekEvent.offset) + '%'\"\n mwlResizable\n [resizeEdges]=\"{left: weekEvent.event?.resizable?.beforeStart, right: weekEvent.event?.resizable?.afterEnd}\"\n [resizeSnapGrid]=\"{left: getDayColumnWidth(eventRowContainer), right: getDayColumnWidth(eventRowContainer)}\"\n [validateResize]=\"validateResize\"\n (resizeStart)=\"resizeStarted(weekViewContainer, weekEvent, $event)\"\n (resizing)=\"resizing(weekEvent, $event, getDayColumnWidth(eventRowContainer))\"\n (resizeEnd)=\"resizeEnded(weekEvent)\"\n mwlDraggable\n [dragAxis]=\"{x: weekEvent.event.draggable && !currentResize, y: false}\"\n [dragSnapGrid]=\"{x: getDayColumnWidth(eventRowContainer)}\"\n [validateDrag]=\"validateDrag\"\n (dragStart)=\"dragStart(weekViewContainer, event)\"\n (dragEnd)=\"eventDragged(weekEvent, $event.x, getDayColumnWidth(eventRowContainer))\">\n <mwl-calendar-week-view-event\n [weekEvent]=\"weekEvent\"\n [tooltipPlacement]=\"tooltipPlacement\"\n (eventClicked)=\"eventClicked.emit({event: weekEvent.event})\">\n </mwl-calendar-week-view-event>\n </div>\n </div>\n </div>\n "}]}],"members":{"viewDate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"events":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"refresh":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"tooltipPlacement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"weekStartsOn":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dayClicked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"eventClicked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"eventTimesChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"},{"__symbolic":"reference","name":"string"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"resizeStarted":[{"__symbolic":"method"}],"resizing":[{"__symbolic":"method"}],"resizeEnded":[{"__symbolic":"method"}],"eventDragged":[{"__symbolic":"method"}],"getDayColumnWidth":[{"__symbolic":"method"}],"dragStart":[{"__symbolic":"method"}],"refreshHeader":[{"__symbolic":"method"}],"refreshBody":[{"__symbolic":"method"}],"refreshAll":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"CalendarWeekViewComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"mwl-calendar-week-view","template":"\n <div class=\"cal-week-view\" #weekViewContainer>\n <div class=\"cal-day-headers\">\n <mwl-calendar-week-view-header\n *ngFor=\"let day of days\"\n [day]=\"day\"\n [locale]=\"locale\"\n (click)=\"dayClicked.emit({date: day.date})\">\n </mwl-calendar-week-view-header>\n </div>\n <div *ngFor=\"let eventRow of eventRows\" #eventRowContainer>\n <div\n class=\"cal-event-container\"\n #event\n [class.cal-draggable]=\"weekEvent.event.draggable\"\n *ngFor=\"let weekEvent of eventRow.row\"\n [style.width]=\"((100 / 7) * weekEvent.span) + '%'\"\n [style.marginLeft]=\"((100 / 7) * weekEvent.offset) + '%'\"\n mwlResizable\n [resizeEdges]=\"{left: weekEvent.event?.resizable?.beforeStart, right: weekEvent.event?.resizable?.afterEnd}\"\n [resizeSnapGrid]=\"{left: getDayColumnWidth(eventRowContainer), right: getDayColumnWidth(eventRowContainer)}\"\n [validateResize]=\"validateResize\"\n (resizeStart)=\"resizeStarted(weekViewContainer, weekEvent, $event)\"\n (resizing)=\"resizing(weekEvent, $event, getDayColumnWidth(eventRowContainer))\"\n (resizeEnd)=\"resizeEnded(weekEvent)\"\n mwlDraggable\n [dragAxis]=\"{x: weekEvent.event.draggable && !currentResize, y: false}\"\n [dragSnapGrid]=\"{x: getDayColumnWidth(eventRowContainer)}\"\n [validateDrag]=\"validateDrag\"\n (dragStart)=\"dragStart(weekViewContainer, event)\"\n (dragEnd)=\"eventDragged(weekEvent, $event.x, getDayColumnWidth(eventRowContainer))\">\n <mwl-calendar-week-view-event\n [weekEvent]=\"weekEvent\"\n [tooltipPlacement]=\"tooltipPlacement\"\n (eventClicked)=\"eventClicked.emit({event: weekEvent.event})\">\n </mwl-calendar-week-view-event>\n </div>\n </div>\n </div>\n "}]}],"members":{"viewDate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"events":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"refresh":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"tooltipPlacement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"weekStartsOn":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dayClicked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"eventClicked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"eventTimesChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"},{"__symbolic":"reference","name":"string"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"resizeStarted":[{"__symbolic":"method"}],"resizing":[{"__symbolic":"method"}],"resizeEnded":[{"__symbolic":"method"}],"eventDragged":[{"__symbolic":"method"}],"getDayColumnWidth":[{"__symbolic":"method"}],"dragStart":[{"__symbolic":"method"}],"refreshHeader":[{"__symbolic":"method"}],"refreshBody":[{"__symbolic":"method"}],"refreshAll":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"CalendarWeekViewComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"mwl-calendar-week-view","template":"\n <div class=\"cal-week-view\" #weekViewContainer>\n <div class=\"cal-day-headers\">\n <mwl-calendar-week-view-header\n *ngFor=\"let day of days\"\n [day]=\"day\"\n [locale]=\"locale\"\n (click)=\"dayClicked.emit({date: day.date})\"\n [class.cal-drag-over]=\"day.dragOver\"\n mwlDroppable\n (dragEnter)=\"day.dragOver = true\"\n (dragLeave)=\"day.dragOver = false\"\n (drop)=\"day.dragOver = false; eventTimesChanged.emit({event: $event.dropData.event, newStart: day.date})\">\n </mwl-calendar-week-view-header>\n </div>\n <div *ngFor=\"let eventRow of eventRows\" #eventRowContainer>\n <div\n class=\"cal-event-container\"\n #event\n [class.cal-draggable]=\"weekEvent.event.draggable\"\n *ngFor=\"let weekEvent of eventRow.row\"\n [style.width]=\"((100 / 7) * weekEvent.span) + '%'\"\n [style.marginLeft]=\"((100 / 7) * weekEvent.offset) + '%'\"\n mwlResizable\n [resizeEdges]=\"{left: weekEvent.event?.resizable?.beforeStart, right: weekEvent.event?.resizable?.afterEnd}\"\n [resizeSnapGrid]=\"{left: getDayColumnWidth(eventRowContainer), right: getDayColumnWidth(eventRowContainer)}\"\n [validateResize]=\"validateResize\"\n (resizeStart)=\"resizeStarted(weekViewContainer, weekEvent, $event)\"\n (resizing)=\"resizing(weekEvent, $event, getDayColumnWidth(eventRowContainer))\"\n (resizeEnd)=\"resizeEnded(weekEvent)\"\n mwlDraggable\n [dragAxis]=\"{x: weekEvent.event.draggable && !currentResize, y: false}\"\n [dragSnapGrid]=\"{x: getDayColumnWidth(eventRowContainer)}\"\n [validateDrag]=\"validateDrag\"\n (dragStart)=\"dragStart(weekViewContainer, event)\"\n (dragEnd)=\"eventDragged(weekEvent, $event.x, getDayColumnWidth(eventRowContainer))\">\n <mwl-calendar-week-view-event\n [weekEvent]=\"weekEvent\"\n [tooltipPlacement]=\"tooltipPlacement\"\n (eventClicked)=\"eventClicked.emit({event: weekEvent.event})\">\n </mwl-calendar-week-view-event>\n </div>\n </div>\n </div>\n "}]}],"members":{"viewDate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"events":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"refresh":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"tooltipPlacement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"weekStartsOn":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dayClicked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"eventClicked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"eventTimesChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"},{"__symbolic":"reference","name":"string"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"resizeStarted":[{"__symbolic":"method"}],"resizing":[{"__symbolic":"method"}],"resizeEnded":[{"__symbolic":"method"}],"eventDragged":[{"__symbolic":"method"}],"getDayColumnWidth":[{"__symbolic":"method"}],"dragStart":[{"__symbolic":"method"}],"refreshHeader":[{"__symbolic":"method"}],"refreshBody":[{"__symbolic":"method"}],"refreshAll":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"CalendarWeekViewComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"mwl-calendar-week-view","template":"\n <div class=\"cal-week-view\" #weekViewContainer>\n <div class=\"cal-day-headers\">\n <mwl-calendar-week-view-header\n *ngFor=\"let day of days\"\n [day]=\"day\"\n [locale]=\"locale\"\n (click)=\"dayClicked.emit({date: day.date})\"\n [class.cal-drag-over]=\"day.dragOver\"\n mwlDroppable\n (dragEnter)=\"day.dragOver = true\"\n (dragLeave)=\"day.dragOver = false\"\n (drop)=\"day.dragOver = false; eventTimesChanged.emit({event: $event.dropData.event, newStart: day.date})\">\n </mwl-calendar-week-view-header>\n </div>\n <div *ngFor=\"let eventRow of eventRows\" #eventRowContainer>\n <div\n class=\"cal-event-container\"\n #event\n [class.cal-draggable]=\"weekEvent.event.draggable\"\n *ngFor=\"let weekEvent of eventRow.row\"\n [style.width]=\"((100 / 7) * weekEvent.span) + '%'\"\n [style.marginLeft]=\"((100 / 7) * weekEvent.offset) + '%'\"\n mwlResizable\n [resizeEdges]=\"{left: weekEvent.event?.resizable?.beforeStart, right: weekEvent.event?.resizable?.afterEnd}\"\n [resizeSnapGrid]=\"{left: getDayColumnWidth(eventRowContainer), right: getDayColumnWidth(eventRowContainer)}\"\n [validateResize]=\"validateResize\"\n (resizeStart)=\"resizeStarted(weekViewContainer, weekEvent, $event)\"\n (resizing)=\"resizing(weekEvent, $event, getDayColumnWidth(eventRowContainer))\"\n (resizeEnd)=\"resizeEnded(weekEvent)\"\n mwlDraggable\n [dragAxis]=\"{x: weekEvent.event.draggable && !currentResize, y: false}\"\n [dragSnapGrid]=\"{x: getDayColumnWidth(eventRowContainer)}\"\n [validateDrag]=\"validateDrag\"\n (dragStart)=\"dragStart(weekViewContainer, event)\"\n (dragEnd)=\"eventDragged(weekEvent, $event.x, getDayColumnWidth(eventRowContainer))\">\n <mwl-calendar-week-view-event\n [weekEvent]=\"weekEvent\"\n [tooltipPlacement]=\"tooltipPlacement\"\n (eventClicked)=\"eventClicked.emit({event: weekEvent.event})\">\n </mwl-calendar-week-view-event>\n </div>\n </div>\n </div>\n "}]}],"members":{"viewDate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"events":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"refresh":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"tooltipPlacement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"weekStartsOn":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"dayClicked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"eventClicked":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"eventTimesChanged":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject"},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"LOCALE_ID"}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"},{"__symbolic":"reference","name":"string"}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"resizeStarted":[{"__symbolic":"method"}],"resizing":[{"__symbolic":"method"}],"resizeEnded":[{"__symbolic":"method"}],"eventDragged":[{"__symbolic":"method"}],"getDayColumnWidth":[{"__symbolic":"method"}],"dragStart":[{"__symbolic":"method"}],"refreshHeader":[{"__symbolic":"method"}],"refreshBody":[{"__symbolic":"method"}],"refreshAll":[{"__symbolic":"method"}]}}}}] |
@@ -1,2 +0,2 @@ | ||
export * from './providers/calendarEventTitle.provider'; | ||
export * from './providers/calendarEventTitleFormatter.provider'; | ||
export * from './providers/calendarMomentDateFormatter.provider'; | ||
@@ -3,0 +3,0 @@ export * from './providers/calendarNativeDateFormatter.provider'; |
@@ -1,2 +0,2 @@ | ||
export * from './providers/calendarEventTitle.provider'; | ||
export * from './providers/calendarEventTitleFormatter.provider'; | ||
export * from './providers/calendarMomentDateFormatter.provider'; | ||
@@ -3,0 +3,0 @@ export * from './providers/calendarNativeDateFormatter.provider'; |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{},"exports":[{"from":"./providers/calendarEventTitle.provider"},{"from":"./providers/calendarMomentDateFormatter.provider"},{"from":"./providers/calendarNativeDateFormatter.provider"},{"from":"./providers/calendarDateFormatter.provider"},{"from":"./interfaces/calendarDateFormatter.interface"},{"from":"./interfaces/calendarEventTimesChangedEvent.interface"},{"from":"./calendar.module"},{"from":"calendar-utils","export":["CalendarEvent",{"name":"EventAction","as":"CalendarEventAction"},{"name":"MonthViewDay","as":"CalendarMonthViewDay"}]}]},{"__symbolic":"module","version":1,"metadata":{},"exports":[{"from":"./providers/calendarEventTitle.provider"},{"from":"./providers/calendarMomentDateFormatter.provider"},{"from":"./providers/calendarNativeDateFormatter.provider"},{"from":"./providers/calendarDateFormatter.provider"},{"from":"./interfaces/calendarDateFormatter.interface"},{"from":"./interfaces/calendarEventTimesChangedEvent.interface"},{"from":"./calendar.module"},{"from":"calendar-utils","export":["CalendarEvent",{"name":"EventAction","as":"CalendarEventAction"},{"name":"MonthViewDay","as":"CalendarMonthViewDay"}]}]}] | ||
[{"__symbolic":"module","version":3,"metadata":{},"exports":[{"from":"./providers/calendarEventTitleFormatter.provider"},{"from":"./providers/calendarMomentDateFormatter.provider"},{"from":"./providers/calendarNativeDateFormatter.provider"},{"from":"./providers/calendarDateFormatter.provider"},{"from":"./interfaces/calendarDateFormatter.interface"},{"from":"./interfaces/calendarEventTimesChangedEvent.interface"},{"from":"./calendar.module"},{"from":"calendar-utils","export":["CalendarEvent",{"name":"EventAction","as":"CalendarEventAction"},{"name":"MonthViewDay","as":"CalendarMonthViewDay"}]}]},{"__symbolic":"module","version":1,"metadata":{},"exports":[{"from":"./providers/calendarEventTitleFormatter.provider"},{"from":"./providers/calendarMomentDateFormatter.provider"},{"from":"./providers/calendarNativeDateFormatter.provider"},{"from":"./providers/calendarDateFormatter.provider"},{"from":"./interfaces/calendarDateFormatter.interface"},{"from":"./interfaces/calendarEventTimesChangedEvent.interface"},{"from":"./calendar.module"},{"from":"calendar-utils","export":["CalendarEvent",{"name":"EventAction","as":"CalendarEventAction"},{"name":"MonthViewDay","as":"CalendarMonthViewDay"}]}]}] |
import { PipeTransform } from '@angular/core'; | ||
import { CalendarEvent } from 'calendar-utils'; | ||
import { CalendarEventTitleFormatter } from '../providers/calendarEventTitle.provider'; | ||
import { CalendarEventTitleFormatter } from '../providers/calendarEventTitleFormatter.provider'; | ||
export declare class CalendarEventTitlePipe implements PipeTransform { | ||
@@ -5,0 +5,0 @@ private calendarEventTitle; |
import { Pipe } from '@angular/core'; | ||
import { CalendarEventTitleFormatter } from '../providers/calendarEventTitle.provider'; | ||
import { CalendarEventTitleFormatter } from '../providers/calendarEventTitleFormatter.provider'; | ||
export var CalendarEventTitlePipe = (function () { | ||
@@ -4,0 +4,0 @@ function CalendarEventTitlePipe(calendarEventTitle) { |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"CalendarEventTitlePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"calendarEventTitle"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../providers/calendarEventTitle.provider","name":"CalendarEventTitleFormatter"}]}],"transform":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"CalendarEventTitlePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"calendarEventTitle"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../providers/calendarEventTitle.provider","name":"CalendarEventTitleFormatter"}]}],"transform":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"CalendarEventTitlePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"calendarEventTitle"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../providers/calendarEventTitleFormatter.provider","name":"CalendarEventTitleFormatter"}]}],"transform":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"CalendarEventTitlePipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe"},"arguments":[{"name":"calendarEventTitle"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../providers/calendarEventTitleFormatter.provider","name":"CalendarEventTitleFormatter"}]}],"transform":[{"__symbolic":"method"}]}}}}] |
{ | ||
"name": "angular-calendar", | ||
"version": "0.7.2", | ||
"version": "0.7.3", | ||
"description": "A calendar component that can display events on a month, week or day view", | ||
@@ -20,3 +20,3 @@ "main": "./dist/umd/angular-calendar.js", | ||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s", | ||
"compodoc": "compodoc -p tsconfig-compodoc.json -d docs -b /angular-calendar/docs/ --disableGraph --disableCoverage", | ||
"compodoc": "compodoc -p tsconfig-compodoc.json -d docs --disableGraph --disableCoverage --disablePrivateOrInternalSupport", | ||
"gh-pages": "git checkout gh-pages && git merge master --no-edit && npm run build:demos && npm run compodoc && git add . && git commit -m 'chore: build demos and docs' && git push && git checkout master", | ||
@@ -34,2 +34,3 @@ "prerelease": "npm test", | ||
"keywords": [ | ||
"angular", | ||
"angular2", | ||
@@ -54,8 +55,7 @@ "calendar" | ||
"@angular/router": "^3.4.1", | ||
"@ng-bootstrap/ng-bootstrap": "1.0.0-alpha.19", | ||
"@ng-bootstrap/ng-bootstrap": "^1.0.0-alpha.19", | ||
"@types/chai": "^3.4.30", | ||
"@types/core-js": "^0.9.32", | ||
"@types/extract-text-webpack-plugin": "^2.0.0", | ||
"@types/highlight.js": "^9.1.9", | ||
"@types/jasmine": "^2.5.35", | ||
"@types/jasmine": "2.5.35", | ||
"@types/node": "^7.0.0", | ||
@@ -69,9 +69,9 @@ "@types/rrule": "^2.1.3", | ||
"autoprefixer": "^6.5.0", | ||
"awesome-typescript-loader": "^2.2.4", | ||
"awesome-typescript-loader": "^3.0.3", | ||
"bootstrap": "4.0.0-alpha.6", | ||
"chai": "^3.5.0", | ||
"codecov-lite": "^0.1.3", | ||
"codelyzer": "2.0.0-beta.4", | ||
"codelyzer": "^2.0.0", | ||
"commitizen": "^2.8.1", | ||
"compodoc": "^0.0.38", | ||
"compodoc": "^0.0.41", | ||
"concurrently": "^3.1.0", | ||
@@ -83,5 +83,5 @@ "conventional-changelog": "^1.1.0", | ||
"css-loader": "^0.26.0", | ||
"cz-conventional-changelog": "^1.2.0", | ||
"cz-conventional-changelog": "^2.0.0", | ||
"ejs-compiled-loader": "^1.1.0", | ||
"extract-text-webpack-plugin": "^2.0.0-beta.5", | ||
"extract-text-webpack-plugin": "^2.0.0-rc.2", | ||
"file-loader": "^0.10.0", | ||
@@ -93,3 +93,3 @@ "font-awesome": "^4.7.0", | ||
"intl": "^1.2.4", | ||
"istanbul-instrumenter-loader": "^1.2.0", | ||
"istanbul-instrumenter-loader": "^2.0.0", | ||
"jasmine-core": "^2.5.0", | ||
@@ -110,6 +110,5 @@ "karma": "^1.3.0", | ||
"rxjs": "^5.0.1", | ||
"sass-loader": "^4.0.1", | ||
"sass-loader": "^6.0.2", | ||
"sinon": "^1.17.4", | ||
"sinon-chai": "^2.8.0", | ||
"source-map-loader": "^0.1.5", | ||
"standard-version": "^4.0.0", | ||
@@ -119,3 +118,3 @@ "style-loader": "^0.13.0", | ||
"stylelint-config-standard": "^16.0.0", | ||
"stylelint-webpack-plugin": "^0.5.1", | ||
"stylelint-webpack-plugin": "^0.7.0", | ||
"ts-node": "^2.0.0", | ||
@@ -129,10 +128,13 @@ "tslint": "^4.0.2", | ||
"webpack": "^2.2.0", | ||
"webpack-angular-externals": "^1.0.0", | ||
"webpack-date-fns-externals": "^1.0.0", | ||
"webpack-dev-server": "^2.2.0", | ||
"webpack-fix-default-import-plugin": "^1.0.1", | ||
"webpack-rxjs-externals": "^1.0.0", | ||
"zone.js": "^0.7.2" | ||
}, | ||
"peerDependencies": { | ||
"@angular/common": "^2.0.0", | ||
"@angular/core": "^2.0.0", | ||
"@angular/platform-browser": "^2.0.0" | ||
"@angular/common": ">=2.0.0 <5.0.0", | ||
"@angular/core": ">=2.0.0 <5.0.0", | ||
"@angular/platform-browser": ">=2.0.0 <5.0.0" | ||
}, | ||
@@ -149,4 +151,4 @@ "files": [ | ||
"dependencies": { | ||
"angular-draggable-droppable": "^0.5.1", | ||
"angular-resizable-element": "^0.5.4", | ||
"angular-draggable-droppable": "^0.5.4", | ||
"angular-resizable-element": "^0.7.2", | ||
"calendar-utils": "0.0.39", | ||
@@ -153,0 +155,0 @@ "date-fns": "^1.15.1", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
623191
82
5207
+ Added@angular/common@4.4.7(transitive)
+ Added@angular/core@4.4.7(transitive)
+ Added@angular/platform-browser@4.4.7(transitive)
+ Addedangular-resizable-element@0.7.2(transitive)
+ Addedtslib@1.14.1(transitive)
+ Addedzone.js@0.8.29(transitive)
- Removed@angular/common@2.4.10(transitive)
- Removed@angular/core@2.4.10(transitive)
- Removed@angular/platform-browser@2.4.10(transitive)
- Removedangular-resizable-element@0.5.7(transitive)
- Removedzone.js@0.7.8(transitive)