@fullcalendar/angular
Advanced tools
Comparing version 4.4.5-beta to 5.0.0-beta
@@ -225,2 +225,13 @@ (function (global, factory) { | ||
} | ||
function shallowCopy(val) { | ||
if (typeof val === 'object') { | ||
if (Array.isArray(val)) { | ||
val = Array.prototype.slice.call(val); | ||
} | ||
else if (val) { // non-null | ||
val = __assign({}, val); | ||
} | ||
} | ||
return val; | ||
} | ||
function mapHash(input, func) { | ||
@@ -236,144 +247,3 @@ var output = {}; | ||
/* | ||
the docs point to this file as an index of options. | ||
when this files is moved, update the docs. | ||
*/ | ||
var INPUT_NAMES = [ | ||
'header', | ||
'footer', | ||
'customButtons', | ||
'buttonIcons', | ||
'themeSystem', | ||
'bootstrapFontAwesome', | ||
'firstDay', | ||
'dir', | ||
'weekends', | ||
'hiddenDays', | ||
'fixedWeekCount', | ||
'weekNumbers', | ||
'weekNumbersWithinDays', | ||
'weekNumberCalculation', | ||
'businessHours', | ||
'showNonCurrentDates', | ||
'height', | ||
'contentHeight', | ||
'aspectRatio', | ||
'handleWindowResize', | ||
'windowResizeDelay', | ||
'eventLimit', | ||
'eventLimitClick', | ||
'timeZone', | ||
'now', | ||
'defaultView', | ||
'allDaySlot', | ||
'allDayText', | ||
'slotDuration', | ||
'slotLabelFormat', | ||
'slotLabelInterval', | ||
'snapDuration', | ||
'scrollTime', | ||
'minTime', | ||
'maxTime', | ||
'slotEventOverlap', | ||
'listDayFormat', | ||
'listDayAltFormat', | ||
'noEventsMessage', | ||
'defaultDate', | ||
'nowIndicator', | ||
'visibleRange', | ||
'validRange', | ||
'dateIncrement', | ||
'dateAlignment', | ||
'duration', | ||
'dayCount', | ||
'locales', | ||
'locale', | ||
'eventTimeFormat', | ||
'columnHeader', | ||
'columnHeaderFormat', | ||
'columnHeaderText', | ||
'columnHeaderHtml', | ||
'titleFormat', | ||
'weekLabel', | ||
'displayEventTime', | ||
'displayEventEnd', | ||
'eventLimitText', | ||
'dayPopoverFormat', | ||
'navLinks', | ||
'selectable', | ||
'selectMirror', | ||
'selectMinDistance', | ||
'unselectAuto', | ||
'unselectCancel', | ||
'defaultAllDayEventDuration', | ||
'defaultTimedEventDuration', | ||
'cmdFormatter', | ||
'defaultRangeSeparator', | ||
'selectConstraint', | ||
'selectOverlap', | ||
'selectAllow', | ||
'editable', | ||
'eventStartEditable', | ||
'eventDurationEditable', | ||
'eventConstraint', | ||
'eventOverlap', | ||
'eventAllow', | ||
'eventClassName', | ||
'eventClassNames', | ||
'eventBackgroundColor', | ||
'eventBorderColor', | ||
'eventTextColor', | ||
'eventColor', | ||
'events', | ||
'eventSources', | ||
'allDayDefault', | ||
'startParam', | ||
'endParam', | ||
'lazyFetching', | ||
'nextDayThreshold', | ||
'eventOrder', | ||
'rerenderDelay', | ||
'dragRevertDuration', | ||
'dragScroll', | ||
'longPressDelay', | ||
'eventLongPressDelay', | ||
'droppable', | ||
'dropAccept', | ||
'eventDataTransform', | ||
'allDayMaintainDuration', | ||
'eventResizableFromStart', | ||
'timeGridEventMinHeight', | ||
'allDayHtml', | ||
'eventDragMinDistance', | ||
'eventSourceFailure', | ||
'eventSourceSuccess', | ||
'forceEventDuration', | ||
'progressiveEventRendering', | ||
'selectLongPressDelay', | ||
'selectMinDistance', | ||
'timeZoneParam', | ||
'titleRangeSeparator', | ||
// compound OptionsInput... | ||
'buttonText', | ||
'views', | ||
'plugins', | ||
// scheduler... | ||
'schedulerLicenseKey', | ||
'resources', | ||
'resourceLabelText', | ||
'resourceOrder', | ||
'filterResourcesWithEvents', | ||
'resourceText', | ||
'resourceGroupField', | ||
'resourceGroupText', | ||
'resourceAreaWidth', | ||
'resourceColumns', | ||
'resourcesInitiallyExpanded', | ||
'slotWidth', | ||
'datesAboveResources', | ||
'googleCalendarApiKey', | ||
'refetchResourcesOnNavigate', | ||
'eventResourceEditable' | ||
]; | ||
var INPUT_IS_DEEP = { | ||
var OPTION_IS_DEEP = { | ||
header: true, | ||
@@ -385,34 +255,2 @@ footer: true, | ||
}; | ||
var OUTPUT_NAMES = [ | ||
'windowResize', | ||
'dateClick', | ||
'eventClick', | ||
'navLinkDayClick', | ||
'navLinkWeekClick', | ||
'eventMouseEnter', | ||
'eventMouseLeave', | ||
'select', | ||
'unselect', | ||
'loading', | ||
'eventPositioned', | ||
'eventDragStart', | ||
'eventDragStop', | ||
'eventDrop', | ||
'eventResizeStart', | ||
'eventResizeStop', | ||
'eventResize', | ||
'drop', | ||
'eventReceive', | ||
'eventLeave', | ||
'_destroyed', | ||
// TODO: make these inputs... | ||
'viewSkeletonRender', | ||
'viewSkeletonDestroy', | ||
'datesRender', | ||
'datesDestroy', | ||
'dayRender', | ||
'eventRender', | ||
'eventDestroy', | ||
'resourceRender' | ||
]; | ||
@@ -422,112 +260,83 @@ var FullCalendarComponent = /** @class */ (function () { | ||
this.element = element; | ||
this.dirtyProps = {}; | ||
this.deepCopies = {}; // holds frozen states | ||
this.windowResize = new core.EventEmitter(); | ||
this.dateClick = new core.EventEmitter(); | ||
this.eventClick = new core.EventEmitter(); | ||
this.eventMouseEnter = new core.EventEmitter(); | ||
this.eventMouseLeave = new core.EventEmitter(); | ||
this.select = new core.EventEmitter(); | ||
this.unselect = new core.EventEmitter(); | ||
this.loading = new core.EventEmitter(); | ||
this.eventPositioned = new core.EventEmitter(); | ||
this.eventDragStart = new core.EventEmitter(); | ||
this.eventDragStop = new core.EventEmitter(); | ||
this.eventDrop = new core.EventEmitter(); | ||
this.eventResizeStart = new core.EventEmitter(); | ||
this.eventResizeStop = new core.EventEmitter(); | ||
this.eventResize = new core.EventEmitter(); | ||
this.drop = new core.EventEmitter(); | ||
this.eventReceive = new core.EventEmitter(); | ||
this.eventLeave = new core.EventEmitter(); | ||
this._destroyed = new core.EventEmitter(); | ||
this.navLinkDayClick = new core.EventEmitter(); | ||
this.navLinkWeekClick = new core.EventEmitter(); | ||
// TODO: make these inputs... | ||
this.viewSkeletonRender = new core.EventEmitter(); | ||
this.viewSkeletonDestroy = new core.EventEmitter(); | ||
this.datesRender = new core.EventEmitter(); | ||
this.datesDestroy = new core.EventEmitter(); | ||
this.dayRender = new core.EventEmitter(); | ||
this.eventRender = new core.EventEmitter(); | ||
this.eventDestroy = new core.EventEmitter(); | ||
this.resourceRender = new core.EventEmitter(); | ||
this.optionSnapshot = {}; // for diffing only | ||
} | ||
FullCalendarComponent.prototype.ngAfterViewInit = function () { | ||
this.calendar = new core$1.Calendar(this.element.nativeElement, this.buildOptions()); | ||
var deepChangeDetection = this.deepChangeDetection; | ||
var options = this.options || {}; | ||
// initialize snapshot | ||
this.optionSnapshot = mapHash(options, function (optionVal, optionName) { return ((deepChangeDetection && OPTION_IS_DEEP[optionName]) | ||
? deepCopy(optionVal) | ||
: optionVal); }); | ||
this.calendar = new core$1.Calendar(this.element.nativeElement, options); | ||
this.calendar.render(); | ||
}; | ||
FullCalendarComponent.prototype.buildOptions = function () { | ||
var _this = this; | ||
var options = {}; | ||
OUTPUT_NAMES.forEach(function (outputName) { | ||
options[outputName] = function () { | ||
var _a; | ||
var args = []; | ||
for (var _i = 0; _i < arguments.length; _i++) { | ||
args[_i] = arguments[_i]; | ||
} | ||
(_a = _this[outputName]).emit.apply(_a, __spread(args)); | ||
}; | ||
}); | ||
// do after outputs, so that inputs with same name override | ||
INPUT_NAMES.forEach(function (inputName) { | ||
var inputVal = _this[inputName]; | ||
if (inputVal !== undefined) { // unfortunately FC chokes when some props are set to undefined | ||
if (_this.deepChangeDetection && INPUT_IS_DEEP[inputName]) { | ||
inputVal = deepCopy(inputVal); | ||
_this.deepCopies[inputName] = inputVal; // side effect! | ||
} | ||
options[inputName] = inputVal; | ||
} | ||
}); | ||
return options; | ||
}; | ||
/* | ||
called before ngOnChanges, allows us to manually detect input changes. | ||
called much more often than ngOnChanges. | ||
allows us to manually detect complex input changes, internal mutations to certain options. | ||
called before ngOnChanges. called much more often than ngOnChanges. | ||
*/ | ||
FullCalendarComponent.prototype.ngDoCheck = function () { | ||
if (this.calendar && this.deepChangeDetection) { // not the initial render AND we do deep-mutation checks | ||
var deepCopies = this.deepCopies; | ||
for (var inputName in INPUT_IS_DEEP) { | ||
if (INPUT_IS_DEEP.hasOwnProperty(inputName)) { | ||
var inputVal = this[inputName]; | ||
if (inputVal !== undefined) { // unfortunately FC chokes when some props are set to undefined | ||
if (!deepEqual(inputVal, deepCopies[inputName])) { | ||
var copy = deepCopy(inputVal); | ||
deepCopies[inputName] = copy; | ||
this.dirtyProps[inputName] = copy; | ||
var e_1, _a; | ||
if (this.calendar) { // not the initial render | ||
var _b = this, deepChangeDetection = _b.deepChangeDetection, optionSnapshot = _b.optionSnapshot; | ||
var options = this.options || {}; | ||
var updates = {}; | ||
var removals = []; | ||
var anyChanges = false; | ||
// detect adds and updates (and update snapshot) | ||
for (var optionName in options) { | ||
if (options.hasOwnProperty(optionName)) { | ||
var optionVal = options[optionName]; | ||
if (deepChangeDetection && OPTION_IS_DEEP[optionName]) { | ||
if (!deepEqual(optionSnapshot[optionName], optionVal)) { | ||
optionSnapshot[optionName] = deepCopy(optionVal); | ||
// trick FC into knowing about a nested change. | ||
// TODO: future versions won't need this. | ||
// can't use the previously-made deep copy because it blows away prototype-association. | ||
updates[optionName] = shallowCopy(optionVal); | ||
anyChanges = true; | ||
} | ||
} | ||
else { | ||
if (optionSnapshot[optionName] !== optionVal) { | ||
optionSnapshot[optionName] = optionVal; | ||
updates[optionName] = optionVal; | ||
anyChanges = true; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
/* | ||
called with confirmed changes to input references | ||
*/ | ||
FullCalendarComponent.prototype.ngOnChanges = function (changes) { | ||
if (this.calendar) { // not the initial render | ||
for (var inputName in changes) { | ||
if (changes.hasOwnProperty(inputName)) { | ||
if (this.deepCopies[inputName] === undefined) { // not already handled in ngDoCheck | ||
this.dirtyProps[inputName] = changes[inputName].currentValue; | ||
var oldOptionNames = Object.keys(optionSnapshot); | ||
try { | ||
// detect removals (and update snapshot) | ||
for (var oldOptionNames_1 = __values(oldOptionNames), oldOptionNames_1_1 = oldOptionNames_1.next(); !oldOptionNames_1_1.done; oldOptionNames_1_1 = oldOptionNames_1.next()) { | ||
var optionName = oldOptionNames_1_1.value; | ||
if (!(optionName in options)) { // doesn't exist in new options? | ||
delete optionSnapshot[optionName]; | ||
removals.push(optionName); | ||
} | ||
} | ||
} | ||
catch (e_1_1) { e_1 = { error: e_1_1 }; } | ||
finally { | ||
try { | ||
if (oldOptionNames_1_1 && !oldOptionNames_1_1.done && (_a = oldOptionNames_1.return)) _a.call(oldOptionNames_1); | ||
} | ||
finally { if (e_1) throw e_1.error; } | ||
} | ||
if (anyChanges) { | ||
this.calendar.pauseRendering(); | ||
this.calendar.mutateOptions(updates, removals); | ||
} | ||
} | ||
}; | ||
FullCalendarComponent.prototype.ngAfterContentChecked = function () { | ||
var dirtyProps = this.dirtyProps; // hold on to reference before clearing | ||
if (Object.keys(dirtyProps).length > 0) { | ||
this.dirtyProps = {}; // clear first, in case the rerender causes new dirtiness | ||
this.calendar.mutateOptions(dirtyProps, [], false, deepEqual); | ||
if (this.calendar) { // too defensive? | ||
this.calendar.resumeRendering(); | ||
} | ||
}; | ||
FullCalendarComponent.prototype.ngOnDestroy = function () { | ||
if (this.calendar) { | ||
if (this.calendar) { // too defensive? | ||
this.calendar.destroy(); | ||
this.calendar = null; | ||
} | ||
this.calendar = null; | ||
}; | ||
@@ -542,648 +351,8 @@ FullCalendarComponent.prototype.getApi = function () { | ||
core.Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "deepChangeDetection", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "header", void 0); | ||
], FullCalendarComponent.prototype, "options", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "footer", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "customButtons", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "buttonIcons", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "themeSystem", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "bootstrapFontAwesome", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "firstDay", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "dir", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "weekends", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Array) | ||
], FullCalendarComponent.prototype, "hiddenDays", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "fixedWeekCount", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "weekNumbers", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "weekNumbersWithinDays", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "weekNumberCalculation", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "businessHours", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "showNonCurrentDates", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "height", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "contentHeight", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "aspectRatio", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "handleWindowResize", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "windowResizeDelay", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventLimit", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventLimitClick", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "timeZone", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "now", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "defaultView", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "allDaySlot", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "allDayText", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "slotDuration", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "slotLabelFormat", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "slotLabelInterval", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "snapDuration", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "scrollTime", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "minTime", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "maxTime", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "slotEventOverlap", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "listDayFormat", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "listDayAltFormat", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "noEventsMessage", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "defaultDate", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "nowIndicator", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "visibleRange", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "validRange", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "dateIncrement", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "dateAlignment", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "duration", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "dayCount", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Array) | ||
], FullCalendarComponent.prototype, "locales", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "locale", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventTimeFormat", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "columnHeader", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "columnHeaderFormat", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "columnHeaderText", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "columnHeaderHtml", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "titleFormat", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "weekLabel", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "displayEventTime", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "displayEventEnd", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventLimitText", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "dayPopoverFormat", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "navLinks", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "selectable", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "selectMirror", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "unselectAuto", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "unselectCancel", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "defaultAllDayEventDuration", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "defaultTimedEventDuration", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "cmdFormatter", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "defaultRangeSeparator", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "selectConstraint", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "selectOverlap", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "selectAllow", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "selectMinDistance", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "editable", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "eventStartEditable", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "eventDurationEditable", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventConstraint", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventOverlap", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventAllow", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventClassName", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventClassNames", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "eventBackgroundColor", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "eventBorderColor", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "eventTextColor", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "eventColor", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "events", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Array) | ||
], FullCalendarComponent.prototype, "eventSources", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "allDayDefault", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "startParam", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "endParam", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "lazyFetching", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "nextDayThreshold", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventOrder", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "rerenderDelay", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "dragRevertDuration", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "dragScroll", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "longPressDelay", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "eventLongPressDelay", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "droppable", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "dropAccept", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventDataTransform", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "allDayMaintainDuration", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "eventResizableFromStart", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "timeGridEventMinHeight", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "allDayHtml", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "eventDragMinDistance", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventSourceFailure", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventSourceSuccess", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "forceEventDuration", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "progressiveEventRendering", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "selectLongPressDelay", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "timeZoneParam", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "titleRangeSeparator", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "buttonText", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "views", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Array) | ||
], FullCalendarComponent.prototype, "plugins", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "schedulerLicenseKey", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resources", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "resourceLabelText", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceOrder", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "filterResourcesWithEvents", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceText", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceGroupField", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceGroupText", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceAreaWidth", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceColumns", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourcesInitiallyExpanded", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "slotWidth", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "datesAboveResources", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "googleCalendarApiKey", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "refetchResourcesOnNavigate", void 0); | ||
__decorate([ | ||
core.Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "eventResourceEditable", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "windowResize", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "dateClick", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventClick", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventMouseEnter", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventMouseLeave", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "select", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "unselect", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "loading", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventPositioned", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventDragStart", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventDragStop", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventDrop", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventResizeStart", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventResizeStop", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventResize", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "drop", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventReceive", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventLeave", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "_destroyed", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "navLinkDayClick", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "navLinkWeekClick", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "viewSkeletonRender", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "viewSkeletonDestroy", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "datesRender", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "datesDestroy", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "dayRender", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventRender", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventDestroy", void 0); | ||
__decorate([ | ||
core.Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceRender", void 0); | ||
], FullCalendarComponent.prototype, "deepChangeDetection", void 0); | ||
FullCalendarComponent = __decorate([ | ||
@@ -1190,0 +359,0 @@ core.Component({ |
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("fast-deep-equal"),require("@angular/core"),require("@fullcalendar/core")):"function"==typeof define&&define.amd?define("@fullcalendar/angular",["exports","fast-deep-equal","@angular/core","@fullcalendar/core"],t):t(((e=e||self).fullcalendar=e.fullcalendar||{},e.fullcalendar.angular={}),e.deepEqual,e.ng.core,e.FullCalendar)}(this,(function(e,t,o,n){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;function p(e,t,o,n){var p,i=arguments.length,r=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,o,n);else for(var d=e.length-1;d>=0;d--)(p=e[d])&&(r=(i<3?p(r):i>3?p(t,o,r):p(t,o))||r);return i>3&&r&&Object.defineProperty(t,o,r),r}function i(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function r(e,t){var o="function"==typeof Symbol&&e[Symbol.iterator];if(!o)return e;var n,p,i=o.call(e),r=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)r.push(n.value)}catch(e){p={error:e}}finally{try{n&&!n.done&&(o=i.return)&&o.call(i)}finally{if(p)throw p.error}}return r}function d(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(r(arguments[t]));return e}var s=Object.prototype.hasOwnProperty;function a(e){return Array.isArray(e)?e.map(a):e instanceof Date?new Date(e.valueOf()):"object"==typeof e&&e?function(e,t){var o={};for(var n in e)s.call(e,n)&&(o[n]=t(e[n],n));return o}(e,a):e}var y=["header","footer","customButtons","buttonIcons","themeSystem","bootstrapFontAwesome","firstDay","dir","weekends","hiddenDays","fixedWeekCount","weekNumbers","weekNumbersWithinDays","weekNumberCalculation","businessHours","showNonCurrentDates","height","contentHeight","aspectRatio","handleWindowResize","windowResizeDelay","eventLimit","eventLimitClick","timeZone","now","defaultView","allDaySlot","allDayText","slotDuration","slotLabelFormat","slotLabelInterval","snapDuration","scrollTime","minTime","maxTime","slotEventOverlap","listDayFormat","listDayAltFormat","noEventsMessage","defaultDate","nowIndicator","visibleRange","validRange","dateIncrement","dateAlignment","duration","dayCount","locales","locale","eventTimeFormat","columnHeader","columnHeaderFormat","columnHeaderText","columnHeaderHtml","titleFormat","weekLabel","displayEventTime","displayEventEnd","eventLimitText","dayPopoverFormat","navLinks","selectable","selectMirror","selectMinDistance","unselectAuto","unselectCancel","defaultAllDayEventDuration","defaultTimedEventDuration","cmdFormatter","defaultRangeSeparator","selectConstraint","selectOverlap","selectAllow","editable","eventStartEditable","eventDurationEditable","eventConstraint","eventOverlap","eventAllow","eventClassName","eventClassNames","eventBackgroundColor","eventBorderColor","eventTextColor","eventColor","events","eventSources","allDayDefault","startParam","endParam","lazyFetching","nextDayThreshold","eventOrder","rerenderDelay","dragRevertDuration","dragScroll","longPressDelay","eventLongPressDelay","droppable","dropAccept","eventDataTransform","allDayMaintainDuration","eventResizableFromStart","timeGridEventMinHeight","allDayHtml","eventDragMinDistance","eventSourceFailure","eventSourceSuccess","forceEventDuration","progressiveEventRendering","selectLongPressDelay","selectMinDistance","timeZoneParam","titleRangeSeparator","buttonText","views","plugins","schedulerLicenseKey","resources","resourceLabelText","resourceOrder","filterResourcesWithEvents","resourceText","resourceGroupField","resourceGroupText","resourceAreaWidth","resourceColumns","resourcesInitiallyExpanded","slotWidth","datesAboveResources","googleCalendarApiKey","refetchResourcesOnNavigate","eventResourceEditable"],u={header:!0,footer:!0,events:!0,eventSources:!0,resources:!0},v=["windowResize","dateClick","eventClick","navLinkDayClick","navLinkWeekClick","eventMouseEnter","eventMouseLeave","select","unselect","loading","eventPositioned","eventDragStart","eventDragStop","eventDrop","eventResizeStart","eventResizeStop","eventResize","drop","eventReceive","eventLeave","_destroyed","viewSkeletonRender","viewSkeletonDestroy","datesRender","datesDestroy","dayRender","eventRender","eventDestroy","resourceRender"],l=function(){function e(e){this.element=e,this.dirtyProps={},this.deepCopies={},this.windowResize=new o.EventEmitter,this.dateClick=new o.EventEmitter,this.eventClick=new o.EventEmitter,this.eventMouseEnter=new o.EventEmitter,this.eventMouseLeave=new o.EventEmitter,this.select=new o.EventEmitter,this.unselect=new o.EventEmitter,this.loading=new o.EventEmitter,this.eventPositioned=new o.EventEmitter,this.eventDragStart=new o.EventEmitter,this.eventDragStop=new o.EventEmitter,this.eventDrop=new o.EventEmitter,this.eventResizeStart=new o.EventEmitter,this.eventResizeStop=new o.EventEmitter,this.eventResize=new o.EventEmitter,this.drop=new o.EventEmitter,this.eventReceive=new o.EventEmitter,this.eventLeave=new o.EventEmitter,this._destroyed=new o.EventEmitter,this.navLinkDayClick=new o.EventEmitter,this.navLinkWeekClick=new o.EventEmitter,this.viewSkeletonRender=new o.EventEmitter,this.viewSkeletonDestroy=new o.EventEmitter,this.datesRender=new o.EventEmitter,this.datesDestroy=new o.EventEmitter,this.dayRender=new o.EventEmitter,this.eventRender=new o.EventEmitter,this.eventDestroy=new o.EventEmitter,this.resourceRender=new o.EventEmitter}return e.prototype.ngAfterViewInit=function(){this.calendar=new n.Calendar(this.element.nativeElement,this.buildOptions()),this.calendar.render()},e.prototype.buildOptions=function(){var e=this,t={};return v.forEach((function(o){t[o]=function(){for(var t,n=[],p=0;p<arguments.length;p++)n[p]=arguments[p];(t=e[o]).emit.apply(t,d(n))}})),y.forEach((function(o){var n=e[o];void 0!==n&&(e.deepChangeDetection&&u[o]&&(n=a(n),e.deepCopies[o]=n),t[o]=n)})),t},e.prototype.ngDoCheck=function(){if(this.calendar&&this.deepChangeDetection){var e=this.deepCopies;for(var o in u)if(u.hasOwnProperty(o)){var n=this[o];if(void 0!==n&&!t(n,e[o])){var p=a(n);e[o]=p,this.dirtyProps[o]=p}}}},e.prototype.ngOnChanges=function(e){if(this.calendar)for(var t in e)e.hasOwnProperty(t)&&void 0===this.deepCopies[t]&&(this.dirtyProps[t]=e[t].currentValue)},e.prototype.ngAfterContentChecked=function(){var e=this.dirtyProps;Object.keys(e).length>0&&(this.dirtyProps={},this.calendar.mutateOptions(e,[],!1,t))},e.prototype.ngOnDestroy=function(){this.calendar&&this.calendar.destroy(),this.calendar=null},e.prototype.getApi=function(){return this.calendar},e.ctorParameters=function(){return[{type:o.ElementRef}]},p([o.Input(),i("design:type",Boolean)],e.prototype,"deepChangeDetection",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"header",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"footer",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"customButtons",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"buttonIcons",void 0),p([o.Input(),i("design:type",String)],e.prototype,"themeSystem",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"bootstrapFontAwesome",void 0),p([o.Input(),i("design:type",Number)],e.prototype,"firstDay",void 0),p([o.Input(),i("design:type",String)],e.prototype,"dir",void 0),p([o.Input(),i("design:type",Boolean)],e.prototype,"weekends",void 0),p([o.Input(),i("design:type",Array)],e.prototype,"hiddenDays",void 0),p([o.Input(),i("design:type",Boolean)],e.prototype,"fixedWeekCount",void 0),p([o.Input(),i("design:type",Boolean)],e.prototype,"weekNumbers",void 0),p([o.Input(),i("design:type",Boolean)],e.prototype,"weekNumbersWithinDays",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"weekNumberCalculation",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"businessHours",void 0),p([o.Input(),i("design:type",Boolean)],e.prototype,"showNonCurrentDates",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"height",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"contentHeight",void 0),p([o.Input(),i("design:type",Number)],e.prototype,"aspectRatio",void 0),p([o.Input(),i("design:type",Boolean)],e.prototype,"handleWindowResize",void 0),p([o.Input(),i("design:type",Number)],e.prototype,"windowResizeDelay",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"eventLimit",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"eventLimitClick",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"timeZone",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"now",void 0),p([o.Input(),i("design:type",String)],e.prototype,"defaultView",void 0),p([o.Input(),i("design:type",Boolean)],e.prototype,"allDaySlot",void 0),p([o.Input(),i("design:type",String)],e.prototype,"allDayText",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"slotDuration",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"slotLabelFormat",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"slotLabelInterval",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"snapDuration",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"scrollTime",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"minTime",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"maxTime",void 0),p([o.Input(),i("design:type",Boolean)],e.prototype,"slotEventOverlap",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"listDayFormat",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"listDayAltFormat",void 0),p([o.Input(),i("design:type",String)],e.prototype,"noEventsMessage",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"defaultDate",void 0),p([o.Input(),i("design:type",Boolean)],e.prototype,"nowIndicator",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"visibleRange",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"validRange",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"dateIncrement",void 0),p([o.Input(),i("design:type",String)],e.prototype,"dateAlignment",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"duration",void 0),p([o.Input(),i("design:type",Number)],e.prototype,"dayCount",void 0),p([o.Input(),i("design:type",Array)],e.prototype,"locales",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"locale",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"eventTimeFormat",void 0),p([o.Input(),i("design:type",Boolean)],e.prototype,"columnHeader",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"columnHeaderFormat",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"columnHeaderText",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"columnHeaderHtml",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"titleFormat",void 0),p([o.Input(),i("design:type",String)],e.prototype,"weekLabel",void 0),p([o.Input(),i("design:type",Boolean)],e.prototype,"displayEventTime",void 0),p([o.Input(),i("design:type",Boolean)],e.prototype,"displayEventEnd",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"eventLimitText",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"dayPopoverFormat",void 0),p([o.Input(),i("design:type",Boolean)],e.prototype,"navLinks",void 0),p([o.Input(),i("design:type",Boolean)],e.prototype,"selectable",void 0),p([o.Input(),i("design:type",Boolean)],e.prototype,"selectMirror",void 0),p([o.Input(),i("design:type",Boolean)],e.prototype,"unselectAuto",void 0),p([o.Input(),i("design:type",String)],e.prototype,"unselectCancel",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"defaultAllDayEventDuration",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"defaultTimedEventDuration",void 0),p([o.Input(),i("design:type",String)],e.prototype,"cmdFormatter",void 0),p([o.Input(),i("design:type",String)],e.prototype,"defaultRangeSeparator",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"selectConstraint",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"selectOverlap",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"selectAllow",void 0),p([o.Input(),i("design:type",Number)],e.prototype,"selectMinDistance",void 0),p([o.Input(),i("design:type",Boolean)],e.prototype,"editable",void 0),p([o.Input(),i("design:type",Boolean)],e.prototype,"eventStartEditable",void 0),p([o.Input(),i("design:type",Boolean)],e.prototype,"eventDurationEditable",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"eventConstraint",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"eventOverlap",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"eventAllow",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"eventClassName",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"eventClassNames",void 0),p([o.Input(),i("design:type",String)],e.prototype,"eventBackgroundColor",void 0),p([o.Input(),i("design:type",String)],e.prototype,"eventBorderColor",void 0),p([o.Input(),i("design:type",String)],e.prototype,"eventTextColor",void 0),p([o.Input(),i("design:type",String)],e.prototype,"eventColor",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"events",void 0),p([o.Input(),i("design:type",Array)],e.prototype,"eventSources",void 0),p([o.Input(),i("design:type",Boolean)],e.prototype,"allDayDefault",void 0),p([o.Input(),i("design:type",String)],e.prototype,"startParam",void 0),p([o.Input(),i("design:type",String)],e.prototype,"endParam",void 0),p([o.Input(),i("design:type",Boolean)],e.prototype,"lazyFetching",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"nextDayThreshold",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"eventOrder",void 0),p([o.Input(),i("design:type",Number)],e.prototype,"rerenderDelay",void 0),p([o.Input(),i("design:type",Number)],e.prototype,"dragRevertDuration",void 0),p([o.Input(),i("design:type",Boolean)],e.prototype,"dragScroll",void 0),p([o.Input(),i("design:type",Number)],e.prototype,"longPressDelay",void 0),p([o.Input(),i("design:type",Number)],e.prototype,"eventLongPressDelay",void 0),p([o.Input(),i("design:type",Boolean)],e.prototype,"droppable",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"dropAccept",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"eventDataTransform",void 0),p([o.Input(),i("design:type",Boolean)],e.prototype,"allDayMaintainDuration",void 0),p([o.Input(),i("design:type",Boolean)],e.prototype,"eventResizableFromStart",void 0),p([o.Input(),i("design:type",Number)],e.prototype,"timeGridEventMinHeight",void 0),p([o.Input(),i("design:type",String)],e.prototype,"allDayHtml",void 0),p([o.Input(),i("design:type",Number)],e.prototype,"eventDragMinDistance",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"eventSourceFailure",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"eventSourceSuccess",void 0),p([o.Input(),i("design:type",Boolean)],e.prototype,"forceEventDuration",void 0),p([o.Input(),i("design:type",Boolean)],e.prototype,"progressiveEventRendering",void 0),p([o.Input(),i("design:type",Number)],e.prototype,"selectLongPressDelay",void 0),p([o.Input(),i("design:type",String)],e.prototype,"timeZoneParam",void 0),p([o.Input(),i("design:type",String)],e.prototype,"titleRangeSeparator",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"buttonText",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"views",void 0),p([o.Input(),i("design:type",Array)],e.prototype,"plugins",void 0),p([o.Input(),i("design:type",String)],e.prototype,"schedulerLicenseKey",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"resources",void 0),p([o.Input(),i("design:type",String)],e.prototype,"resourceLabelText",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"resourceOrder",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"filterResourcesWithEvents",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"resourceText",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"resourceGroupField",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"resourceGroupText",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"resourceAreaWidth",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"resourceColumns",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"resourcesInitiallyExpanded",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"slotWidth",void 0),p([o.Input(),i("design:type",Object)],e.prototype,"datesAboveResources",void 0),p([o.Input(),i("design:type",String)],e.prototype,"googleCalendarApiKey",void 0),p([o.Input(),i("design:type",Boolean)],e.prototype,"refetchResourcesOnNavigate",void 0),p([o.Input(),i("design:type",Boolean)],e.prototype,"eventResourceEditable",void 0),p([o.Output(),i("design:type",Object)],e.prototype,"windowResize",void 0),p([o.Output(),i("design:type",Object)],e.prototype,"dateClick",void 0),p([o.Output(),i("design:type",Object)],e.prototype,"eventClick",void 0),p([o.Output(),i("design:type",Object)],e.prototype,"eventMouseEnter",void 0),p([o.Output(),i("design:type",Object)],e.prototype,"eventMouseLeave",void 0),p([o.Output(),i("design:type",Object)],e.prototype,"select",void 0),p([o.Output(),i("design:type",Object)],e.prototype,"unselect",void 0),p([o.Output(),i("design:type",Object)],e.prototype,"loading",void 0),p([o.Output(),i("design:type",Object)],e.prototype,"eventPositioned",void 0),p([o.Output(),i("design:type",Object)],e.prototype,"eventDragStart",void 0),p([o.Output(),i("design:type",Object)],e.prototype,"eventDragStop",void 0),p([o.Output(),i("design:type",Object)],e.prototype,"eventDrop",void 0),p([o.Output(),i("design:type",Object)],e.prototype,"eventResizeStart",void 0),p([o.Output(),i("design:type",Object)],e.prototype,"eventResizeStop",void 0),p([o.Output(),i("design:type",Object)],e.prototype,"eventResize",void 0),p([o.Output(),i("design:type",Object)],e.prototype,"drop",void 0),p([o.Output(),i("design:type",Object)],e.prototype,"eventReceive",void 0),p([o.Output(),i("design:type",Object)],e.prototype,"eventLeave",void 0),p([o.Output(),i("design:type",Object)],e.prototype,"_destroyed",void 0),p([o.Output(),i("design:type",Object)],e.prototype,"navLinkDayClick",void 0),p([o.Output(),i("design:type",Object)],e.prototype,"navLinkWeekClick",void 0),p([o.Output(),i("design:type",Object)],e.prototype,"viewSkeletonRender",void 0),p([o.Output(),i("design:type",Object)],e.prototype,"viewSkeletonDestroy",void 0),p([o.Output(),i("design:type",Object)],e.prototype,"datesRender",void 0),p([o.Output(),i("design:type",Object)],e.prototype,"datesDestroy",void 0),p([o.Output(),i("design:type",Object)],e.prototype,"dayRender",void 0),p([o.Output(),i("design:type",Object)],e.prototype,"eventRender",void 0),p([o.Output(),i("design:type",Object)],e.prototype,"eventDestroy",void 0),p([o.Output(),i("design:type",Object)],e.prototype,"resourceRender",void 0),e=p([o.Component({selector:"full-calendar",template:""}),i("design:paramtypes",[o.ElementRef])],e)}(),c=function(){function e(){}return e=p([o.NgModule({declarations:[l],imports:[],exports:[l]})],e)}();e.FullCalendarComponent=l,e.FullCalendarModule=c,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("fast-deep-equal"),require("@angular/core"),require("@fullcalendar/core")):"function"==typeof define&&define.amd?define("@fullcalendar/angular",["exports","fast-deep-equal","@angular/core","@fullcalendar/core"],t):t(((e=e||self).fullcalendar=e.fullcalendar||{},e.fullcalendar.angular={}),e.deepEqual,e.ng.core,e.FullCalendar)}(this,(function(e,t,n,r){"use strict";t=t&&t.hasOwnProperty("default")?t.default:t;var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function a(e,t,n,r){var o,a=arguments.length,l=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)l=Reflect.decorate(e,t,n,r);else for(var i=e.length-1;i>=0;i--)(o=e[i])&&(l=(a<3?o(l):a>3?o(t,n,l):o(t,n))||l);return a>3&&l&&Object.defineProperty(t,n,l),l}function l(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function i(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}var c=Object.prototype.hasOwnProperty;function u(e){return Array.isArray(e)?e.map(u):e instanceof Date?new Date(e.valueOf()):"object"==typeof e&&e?f(e,u):e}function f(e,t){var n={};for(var r in e)c.call(e,r)&&(n[r]=t(e[r],r));return n}var p={header:!0,footer:!0,events:!0,eventSources:!0,resources:!0},s=function(){function e(e){this.element=e,this.optionSnapshot={}}return e.prototype.ngAfterViewInit=function(){var e=this.deepChangeDetection,t=this.options||{};this.optionSnapshot=f(t,(function(t,n){return e&&p[n]?u(t):t})),this.calendar=new r.Calendar(this.element.nativeElement,t),this.calendar.render()},e.prototype.ngDoCheck=function(){var e,n,r;if(this.calendar){var a=this.deepChangeDetection,l=this.optionSnapshot,c=this.options||{},f={},s=[],d=!1;for(var y in c)if(c.hasOwnProperty(y)){var h=c[y];a&&p[y]?t(l[y],h)||(l[y]=u(h),f[y]=("object"==typeof(r=h)&&(Array.isArray(r)?r=Array.prototype.slice.call(r):r&&(r=o({},r))),r),d=!0):l[y]!==h&&(l[y]=h,f[y]=h,d=!0)}var v=Object.keys(l);try{for(var g=i(v),m=g.next();!m.done;m=g.next()){(y=m.value)in c||(delete l[y],s.push(y))}}catch(t){e={error:t}}finally{try{m&&!m.done&&(n=g.return)&&n.call(g)}finally{if(e)throw e.error}}d&&(this.calendar.pauseRendering(),this.calendar.mutateOptions(f,s))}},e.prototype.ngAfterContentChecked=function(){this.calendar&&this.calendar.resumeRendering()},e.prototype.ngOnDestroy=function(){this.calendar&&(this.calendar.destroy(),this.calendar=null)},e.prototype.getApi=function(){return this.calendar},e.ctorParameters=function(){return[{type:n.ElementRef}]},a([n.Input(),l("design:type",Object)],e.prototype,"options",void 0),a([n.Input(),l("design:type",Boolean)],e.prototype,"deepChangeDetection",void 0),e=a([n.Component({selector:"full-calendar",template:""}),l("design:paramtypes",[n.ElementRef])],e)}(),d=function(){function e(){}return e=a([n.NgModule({declarations:[s],imports:[],exports:[s]})],e)}();e.FullCalendarComponent=s,e.FullCalendarModule=d,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=fullcalendar-angular.umd.min.js.map |
@@ -1,143 +0,2 @@ | ||
/* | ||
the docs point to this file as an index of options. | ||
when this files is moved, update the docs. | ||
*/ | ||
export const INPUT_NAMES = [ | ||
'header', | ||
'footer', | ||
'customButtons', | ||
'buttonIcons', | ||
'themeSystem', | ||
'bootstrapFontAwesome', | ||
'firstDay', | ||
'dir', | ||
'weekends', | ||
'hiddenDays', | ||
'fixedWeekCount', | ||
'weekNumbers', | ||
'weekNumbersWithinDays', | ||
'weekNumberCalculation', | ||
'businessHours', | ||
'showNonCurrentDates', | ||
'height', | ||
'contentHeight', | ||
'aspectRatio', | ||
'handleWindowResize', | ||
'windowResizeDelay', | ||
'eventLimit', | ||
'eventLimitClick', | ||
'timeZone', | ||
'now', | ||
'defaultView', | ||
'allDaySlot', | ||
'allDayText', | ||
'slotDuration', | ||
'slotLabelFormat', | ||
'slotLabelInterval', | ||
'snapDuration', | ||
'scrollTime', | ||
'minTime', | ||
'maxTime', | ||
'slotEventOverlap', | ||
'listDayFormat', | ||
'listDayAltFormat', | ||
'noEventsMessage', | ||
'defaultDate', | ||
'nowIndicator', | ||
'visibleRange', | ||
'validRange', | ||
'dateIncrement', | ||
'dateAlignment', | ||
'duration', | ||
'dayCount', | ||
'locales', | ||
'locale', | ||
'eventTimeFormat', | ||
'columnHeader', | ||
'columnHeaderFormat', | ||
'columnHeaderText', | ||
'columnHeaderHtml', | ||
'titleFormat', | ||
'weekLabel', | ||
'displayEventTime', | ||
'displayEventEnd', | ||
'eventLimitText', | ||
'dayPopoverFormat', | ||
'navLinks', | ||
'selectable', | ||
'selectMirror', | ||
'selectMinDistance', | ||
'unselectAuto', | ||
'unselectCancel', | ||
'defaultAllDayEventDuration', | ||
'defaultTimedEventDuration', | ||
'cmdFormatter', | ||
'defaultRangeSeparator', | ||
'selectConstraint', | ||
'selectOverlap', | ||
'selectAllow', | ||
'editable', | ||
'eventStartEditable', | ||
'eventDurationEditable', | ||
'eventConstraint', | ||
'eventOverlap', | ||
'eventAllow', | ||
'eventClassName', | ||
'eventClassNames', | ||
'eventBackgroundColor', | ||
'eventBorderColor', | ||
'eventTextColor', | ||
'eventColor', | ||
'events', | ||
'eventSources', | ||
'allDayDefault', | ||
'startParam', | ||
'endParam', | ||
'lazyFetching', | ||
'nextDayThreshold', | ||
'eventOrder', | ||
'rerenderDelay', | ||
'dragRevertDuration', | ||
'dragScroll', | ||
'longPressDelay', | ||
'eventLongPressDelay', | ||
'droppable', | ||
'dropAccept', | ||
'eventDataTransform', | ||
'allDayMaintainDuration', | ||
'eventResizableFromStart', | ||
'timeGridEventMinHeight', | ||
'allDayHtml', | ||
'eventDragMinDistance', | ||
'eventSourceFailure', | ||
'eventSourceSuccess', | ||
'forceEventDuration', | ||
'progressiveEventRendering', | ||
'selectLongPressDelay', | ||
'selectMinDistance', | ||
'timeZoneParam', | ||
'titleRangeSeparator', | ||
// compound OptionsInput... | ||
'buttonText', | ||
'views', | ||
'plugins', | ||
// scheduler... | ||
'schedulerLicenseKey', | ||
'resources', | ||
'resourceLabelText', | ||
'resourceOrder', | ||
'filterResourcesWithEvents', | ||
'resourceText', | ||
'resourceGroupField', | ||
'resourceGroupText', | ||
'resourceAreaWidth', | ||
'resourceColumns', | ||
'resourcesInitiallyExpanded', | ||
'slotWidth', | ||
'datesAboveResources', | ||
'googleCalendarApiKey', | ||
'refetchResourcesOnNavigate', | ||
'eventResourceEditable' | ||
]; | ||
export const INPUT_IS_DEEP = { | ||
export const OPTION_IS_DEEP = { | ||
header: true, | ||
@@ -149,34 +8,2 @@ footer: true, | ||
}; | ||
export const OUTPUT_NAMES = [ | ||
'windowResize', | ||
'dateClick', | ||
'eventClick', | ||
'navLinkDayClick', | ||
'navLinkWeekClick', | ||
'eventMouseEnter', | ||
'eventMouseLeave', | ||
'select', | ||
'unselect', | ||
'loading', | ||
'eventPositioned', | ||
'eventDragStart', | ||
'eventDragStop', | ||
'eventDrop', | ||
'eventResizeStart', | ||
'eventResizeStop', | ||
'eventResize', | ||
'drop', | ||
'eventReceive', | ||
'eventLeave', | ||
'_destroyed', | ||
// TODO: make these inputs... | ||
'viewSkeletonRender', | ||
'viewSkeletonDestroy', | ||
'datesRender', | ||
'datesDestroy', | ||
'dayRender', | ||
'eventRender', | ||
'eventDestroy', | ||
'resourceRender' | ||
]; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVsbGNhbGVuZGFyLW9wdGlvbnMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AZnVsbGNhbGVuZGFyL2FuZ3VsYXIvIiwic291cmNlcyI6WyJsaWIvZnVsbGNhbGVuZGFyLW9wdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7OztFQUdFO0FBRUYsTUFBTSxDQUFDLE1BQU0sV0FBVyxHQUFHO0lBQ3pCLFFBQVE7SUFDUixRQUFRO0lBQ1IsZUFBZTtJQUNmLGFBQWE7SUFDYixhQUFhO0lBQ2Isc0JBQXNCO0lBQ3RCLFVBQVU7SUFDVixLQUFLO0lBQ0wsVUFBVTtJQUNWLFlBQVk7SUFDWixnQkFBZ0I7SUFDaEIsYUFBYTtJQUNiLHVCQUF1QjtJQUN2Qix1QkFBdUI7SUFDdkIsZUFBZTtJQUNmLHFCQUFxQjtJQUNyQixRQUFRO0lBQ1IsZUFBZTtJQUNmLGFBQWE7SUFDYixvQkFBb0I7SUFDcEIsbUJBQW1CO0lBQ25CLFlBQVk7SUFDWixpQkFBaUI7SUFDakIsVUFBVTtJQUNWLEtBQUs7SUFDTCxhQUFhO0lBQ2IsWUFBWTtJQUNaLFlBQVk7SUFDWixjQUFjO0lBQ2QsaUJBQWlCO0lBQ2pCL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VsbGNhbGVuZGFyL2FuZ3VsYXIvIiwic291cmNlcyI6WyJsaWIvZnVsbGNhbGVuZGFyLW9wdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsTUFBTSxDQUFDLE1BQU0sY0FBYyxHQUFHO0lBQzVCLE1BQU0sRUFBRSxJQUFJO0lBQ1osTUFBTSxFQUFFLElBQUk7SUFDWixNQUFNLEVBQUUsSUFBSTtJQUNaLFlBQVksRUFBRSxJQUFJO0lBQ2xCLFNBQVMsRUFBRSxJQUFJO0NBQ2hCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJcbmV4cG9ydCBjb25zdCBPUFRJT05fSVNfREVFUCA9IHtcbiAgaGVhZGVyOiB0cnVlLFxuICBmb290ZXI6IHRydWUsXG4gIGV2ZW50czogdHJ1ZSxcbiAgZXZlbnRTb3VyY2VzOiB0cnVlLFxuICByZXNvdXJjZXM6IHRydWVcbn07XG4iXX0= |
import { __decorate, __metadata } from "tslib"; | ||
import deepEqual from 'fast-deep-equal'; | ||
import { deepCopy } from './utils'; | ||
import { Component, ElementRef, Input, Output, EventEmitter, SimpleChanges, AfterViewInit, DoCheck, OnChanges, AfterContentChecked, OnDestroy } from '@angular/core'; | ||
import { Component, ElementRef, Input, AfterViewInit, DoCheck, AfterContentChecked, OnDestroy } from '@angular/core'; | ||
import { Calendar } from '@fullcalendar/core'; | ||
import { INPUT_NAMES, INPUT_IS_DEEP, OUTPUT_NAMES } from './fullcalendar-options'; | ||
import { deepCopy, shallowCopy, mapHash } from './utils'; | ||
import { OPTION_IS_DEEP } from './fullcalendar-options'; | ||
let FullCalendarComponent = class FullCalendarComponent { | ||
constructor(element) { | ||
this.element = element; | ||
this.dirtyProps = {}; | ||
this.deepCopies = {}; // holds frozen states | ||
this.windowResize = new EventEmitter(); | ||
this.dateClick = new EventEmitter(); | ||
this.eventClick = new EventEmitter(); | ||
this.eventMouseEnter = new EventEmitter(); | ||
this.eventMouseLeave = new EventEmitter(); | ||
this.select = new EventEmitter(); | ||
this.unselect = new EventEmitter(); | ||
this.loading = new EventEmitter(); | ||
this.eventPositioned = new EventEmitter(); | ||
this.eventDragStart = new EventEmitter(); | ||
this.eventDragStop = new EventEmitter(); | ||
this.eventDrop = new EventEmitter(); | ||
this.eventResizeStart = new EventEmitter(); | ||
this.eventResizeStop = new EventEmitter(); | ||
this.eventResize = new EventEmitter(); | ||
this.drop = new EventEmitter(); | ||
this.eventReceive = new EventEmitter(); | ||
this.eventLeave = new EventEmitter(); | ||
this._destroyed = new EventEmitter(); | ||
this.navLinkDayClick = new EventEmitter(); | ||
this.navLinkWeekClick = new EventEmitter(); | ||
// TODO: make these inputs... | ||
this.viewSkeletonRender = new EventEmitter(); | ||
this.viewSkeletonDestroy = new EventEmitter(); | ||
this.datesRender = new EventEmitter(); | ||
this.datesDestroy = new EventEmitter(); | ||
this.dayRender = new EventEmitter(); | ||
this.eventRender = new EventEmitter(); | ||
this.eventDestroy = new EventEmitter(); | ||
this.resourceRender = new EventEmitter(); | ||
this.optionSnapshot = {}; // for diffing only | ||
} | ||
ngAfterViewInit() { | ||
this.calendar = new Calendar(this.element.nativeElement, this.buildOptions()); | ||
const { deepChangeDetection } = this; | ||
const options = this.options || {}; | ||
// initialize snapshot | ||
this.optionSnapshot = mapHash(options, (optionVal, optionName) => ((deepChangeDetection && OPTION_IS_DEEP[optionName]) | ||
? deepCopy(optionVal) | ||
: optionVal)); | ||
this.calendar = new Calendar(this.element.nativeElement, options); | ||
this.calendar.render(); | ||
} | ||
buildOptions() { | ||
const options = {}; | ||
OUTPUT_NAMES.forEach(outputName => { | ||
options[outputName] = (...args) => { | ||
this[outputName].emit(...args); | ||
}; | ||
}); | ||
// do after outputs, so that inputs with same name override | ||
INPUT_NAMES.forEach(inputName => { | ||
let inputVal = this[inputName]; | ||
if (inputVal !== undefined) { // unfortunately FC chokes when some props are set to undefined | ||
if (this.deepChangeDetection && INPUT_IS_DEEP[inputName]) { | ||
inputVal = deepCopy(inputVal); | ||
this.deepCopies[inputName] = inputVal; // side effect! | ||
} | ||
options[inputName] = inputVal; | ||
} | ||
}); | ||
return options; | ||
} | ||
/* | ||
called before ngOnChanges, allows us to manually detect input changes. | ||
called much more often than ngOnChanges. | ||
allows us to manually detect complex input changes, internal mutations to certain options. | ||
called before ngOnChanges. called much more often than ngOnChanges. | ||
*/ | ||
ngDoCheck() { | ||
if (this.calendar && this.deepChangeDetection) { // not the initial render AND we do deep-mutation checks | ||
const { deepCopies } = this; | ||
for (const inputName in INPUT_IS_DEEP) { | ||
if (INPUT_IS_DEEP.hasOwnProperty(inputName)) { | ||
const inputVal = this[inputName]; | ||
if (inputVal !== undefined) { // unfortunately FC chokes when some props are set to undefined | ||
if (!deepEqual(inputVal, deepCopies[inputName])) { | ||
const copy = deepCopy(inputVal); | ||
deepCopies[inputName] = copy; | ||
this.dirtyProps[inputName] = copy; | ||
if (this.calendar) { // not the initial render | ||
const { deepChangeDetection, optionSnapshot } = this; | ||
const options = this.options || {}; | ||
const updates = {}; | ||
const removals = []; | ||
let anyChanges = false; | ||
// detect adds and updates (and update snapshot) | ||
for (const optionName in options) { | ||
if (options.hasOwnProperty(optionName)) { | ||
const optionVal = options[optionName]; | ||
if (deepChangeDetection && OPTION_IS_DEEP[optionName]) { | ||
if (!deepEqual(optionSnapshot[optionName], optionVal)) { | ||
optionSnapshot[optionName] = deepCopy(optionVal); | ||
// trick FC into knowing about a nested change. | ||
// TODO: future versions won't need this. | ||
// can't use the previously-made deep copy because it blows away prototype-association. | ||
updates[optionName] = shallowCopy(optionVal); | ||
anyChanges = true; | ||
} | ||
} | ||
else { | ||
if (optionSnapshot[optionName] !== optionVal) { | ||
optionSnapshot[optionName] = optionVal; | ||
updates[optionName] = optionVal; | ||
anyChanges = true; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
/* | ||
called with confirmed changes to input references | ||
*/ | ||
ngOnChanges(changes) { | ||
if (this.calendar) { // not the initial render | ||
for (const inputName in changes) { | ||
if (changes.hasOwnProperty(inputName)) { | ||
if (this.deepCopies[inputName] === undefined) { // not already handled in ngDoCheck | ||
this.dirtyProps[inputName] = changes[inputName].currentValue; | ||
} | ||
const oldOptionNames = Object.keys(optionSnapshot); | ||
// detect removals (and update snapshot) | ||
for (const optionName of oldOptionNames) { | ||
if (!(optionName in options)) { // doesn't exist in new options? | ||
delete optionSnapshot[optionName]; | ||
removals.push(optionName); | ||
} | ||
} | ||
if (anyChanges) { | ||
this.calendar.pauseRendering(); | ||
this.calendar.mutateOptions(updates, removals); | ||
} | ||
} | ||
} | ||
ngAfterContentChecked() { | ||
const { dirtyProps } = this; // hold on to reference before clearing | ||
if (Object.keys(dirtyProps).length > 0) { | ||
this.dirtyProps = {}; // clear first, in case the rerender causes new dirtiness | ||
this.calendar.mutateOptions(dirtyProps, [], false, deepEqual); | ||
if (this.calendar) { // too defensive? | ||
this.calendar.resumeRendering(); | ||
} | ||
} | ||
ngOnDestroy() { | ||
if (this.calendar) { | ||
if (this.calendar) { // too defensive? | ||
this.calendar.destroy(); | ||
this.calendar = null; | ||
} | ||
this.calendar = null; | ||
} | ||
@@ -124,648 +90,8 @@ getApi() { | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "deepChangeDetection", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "header", void 0); | ||
], FullCalendarComponent.prototype, "options", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "footer", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "customButtons", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "buttonIcons", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "themeSystem", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "bootstrapFontAwesome", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "firstDay", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "dir", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "weekends", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Array) | ||
], FullCalendarComponent.prototype, "hiddenDays", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "fixedWeekCount", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "weekNumbers", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "weekNumbersWithinDays", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "weekNumberCalculation", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "businessHours", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "showNonCurrentDates", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "height", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "contentHeight", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "aspectRatio", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "handleWindowResize", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "windowResizeDelay", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventLimit", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventLimitClick", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "timeZone", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "now", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "defaultView", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "allDaySlot", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "allDayText", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "slotDuration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "slotLabelFormat", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "slotLabelInterval", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "snapDuration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "scrollTime", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "minTime", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "maxTime", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "slotEventOverlap", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "listDayFormat", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "listDayAltFormat", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "noEventsMessage", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "defaultDate", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "nowIndicator", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "visibleRange", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "validRange", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "dateIncrement", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "dateAlignment", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "duration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "dayCount", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Array) | ||
], FullCalendarComponent.prototype, "locales", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "locale", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventTimeFormat", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "columnHeader", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "columnHeaderFormat", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "columnHeaderText", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "columnHeaderHtml", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "titleFormat", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "weekLabel", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "displayEventTime", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "displayEventEnd", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventLimitText", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "dayPopoverFormat", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "navLinks", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "selectable", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "selectMirror", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "unselectAuto", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "unselectCancel", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "defaultAllDayEventDuration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "defaultTimedEventDuration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "cmdFormatter", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "defaultRangeSeparator", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "selectConstraint", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "selectOverlap", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "selectAllow", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "selectMinDistance", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "editable", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "eventStartEditable", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "eventDurationEditable", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventConstraint", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventOverlap", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventAllow", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventClassName", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventClassNames", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "eventBackgroundColor", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "eventBorderColor", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "eventTextColor", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "eventColor", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "events", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Array) | ||
], FullCalendarComponent.prototype, "eventSources", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "allDayDefault", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "startParam", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "endParam", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "lazyFetching", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "nextDayThreshold", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventOrder", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "rerenderDelay", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "dragRevertDuration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "dragScroll", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "longPressDelay", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "eventLongPressDelay", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "droppable", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "dropAccept", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventDataTransform", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "allDayMaintainDuration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "eventResizableFromStart", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "timeGridEventMinHeight", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "allDayHtml", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "eventDragMinDistance", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventSourceFailure", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventSourceSuccess", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "forceEventDuration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "progressiveEventRendering", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "selectLongPressDelay", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "timeZoneParam", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "titleRangeSeparator", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "buttonText", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "views", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Array) | ||
], FullCalendarComponent.prototype, "plugins", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "schedulerLicenseKey", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resources", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "resourceLabelText", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceOrder", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "filterResourcesWithEvents", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceText", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceGroupField", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceGroupText", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceAreaWidth", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceColumns", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourcesInitiallyExpanded", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "slotWidth", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "datesAboveResources", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "googleCalendarApiKey", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "refetchResourcesOnNavigate", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "eventResourceEditable", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "windowResize", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "dateClick", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventClick", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventMouseEnter", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventMouseLeave", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "select", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "unselect", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "loading", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventPositioned", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventDragStart", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventDragStop", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventDrop", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventResizeStart", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventResizeStop", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventResize", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "drop", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventReceive", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventLeave", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "_destroyed", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "navLinkDayClick", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "navLinkWeekClick", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "viewSkeletonRender", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "viewSkeletonDestroy", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "datesRender", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "datesDestroy", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "dayRender", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventRender", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventDestroy", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceRender", void 0); | ||
], FullCalendarComponent.prototype, "deepChangeDetection", void 0); | ||
FullCalendarComponent = __decorate([ | ||
@@ -779,2 +105,2 @@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B7XG4gICAgICAgIGlmIChvcHRpb25zLmhhc093blByb3BlcnR5KG9wdGlvbk5hbWUpKSB7XG4gICAgICAgICAgY29uc3Qgb3B0aW9uVmFsID0gb3B0aW9uc1tvcHRpb25OYW1lXTtcblxuICAgICAgICAgIGlmIChkZWVwQ2hhbmdlRGV0ZWN0aW9uICYmIE9QVElPTl9JU19ERUVQW29wdGlvbk5hbWVdKSB7XG4gICAgICAgICAgICBpZiAoIWRlZXBFcXVhbChvcHRpb25TbmFwc2hvdFtvcHRpb25OYW1lXSwgb3B0aW9uVmFsKSkge1xuXG4gICAgICAgICAgICAgIG9wdGlvblNuYXBzaG90W29wdGlvbk5hbWVdID0gZGVlcENvcHkob3B0aW9uVmFsKTtcblxuICAgICAgICAgICAgICAvLyB0cmljayBGQyBpbnRvIGtub3dpbmcgYWJvdXQgYSBuZXN0ZWQgY2hhbmdlLlxuICAgICAgICAgICAgICAvLyBUT0RPOiBmdXR1cmUgdmVyc2lvbnMgd29uJ3QgbmVlZCB0aGlzLlxuICAgICAgICAgICAgICAvLyBjYW4ndCB1c2UgdGhlIHByZXZpb3VzbHktbWFkZSBkZWVwIGNvcHkgYmVjYXVzZSBpdCBibG93cyBhd2F5IHByb3RvdHlwZS1hc3NvY2lhdGlvbi5cbiAgICAgICAgICAgICAgdXBkYXRlc1tvcHRpb25OYW1lXSA9IHNoYWxsb3dDb3B5KG9wdGlvblZhbCk7XG5cbiAgICAgICAgICAgICAgYW55Q2hhbmdlcyA9IHRydWU7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgIGlmIChvcHRpb25TbmFwc2hvdFtvcHRpb25OYW1lXSAhPT0gb3B0aW9uVmFsKSB7XG4gICAgICAgICAgICAgIG9wdGlvblNuYXBzaG90W29wdGlvbk5hbWVdID0gb3B0aW9uVmFsO1xuICAgICAgICAgICAgICB1cGRhdGVzW29wdGlvbk5hbWVdID0gb3B0aW9uVmFsO1xuICAgICAgICAgICAgICB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Z2V0QXBpKCk6IENhbGVuZGFyIHtcbiAgICByZXR1cm4gdGhpcy5jYWxlbmRhcjtcbiAgfVxuXG59XG4iXX0= |
@@ -20,3 +20,14 @@ const hasOwnProperty = Object.prototype.hasOwnProperty; | ||
} | ||
function mapHash(input, func) { | ||
export function shallowCopy(val) { | ||
if (typeof val === 'object') { | ||
if (Array.isArray(val)) { | ||
val = Array.prototype.slice.call(val); | ||
} | ||
else if (val) { // non-null | ||
val = Object.assign({}, val); | ||
} | ||
} | ||
return val; | ||
} | ||
export function mapHash(input, func) { | ||
const output = {}; | ||
@@ -30,2 +41,2 @@ for (const key in input) { | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AZnVsbGNhbGVuZGFyL2FuZ3VsYXIvIiwic291cmNlcyI6WyJsaWIvdXRpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsTUFBTSxjQUFjLEdBQUcsTUFBTSxDQUFDLFNBQVMsQ0FBQyxjQUFjLENBQUM7QUFFdkQ7OztFQUdFO0FBQ0YsTUFBTSxVQUFVLFFBQVEsQ0FBQyxLQUFLO0lBRTVCLElBQUksS0FBSyxDQUFDLE9BQU8sQ0FBQyxLQUFLLENBQUMsRUFBRTtRQUN4QixPQUFPLEtBQUssQ0FBQyxHQUFHLENBQUMsUUFBUSxDQUFDLENBQUM7S0FFNUI7U0FBTSxJQUFJLEtBQUssWUFBWSxJQUFJLEVBQUU7UUFDaEMsT0FBTyxJQUFJLElBQUksQ0FBQyxLQUFLLENBQUMsT0FBTyxFQUFFLENBQUMsQ0FBQztLQUVsQztTQUFNLElBQUksT0FBTyxLQUFLLEtBQUssUUFBUSxJQUFJLEtBQUssRUFBRSxFQUFFLGtCQUFrQjtRQUNqRSxPQUFPLE9BQU8sQ0FBQyxLQUFLLEVBQUUsUUFBUSxDQUFDLENBQUM7S0FFakM7U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fVxuICB9XG4gIHJldHVybiB2YWw7XG59XG5cblxuZXhwb3J0IGZ1bmN0aW9uIG1hcEhhc2goaW5wdXQsIGZ1bmMpIHtcbiAgY29uc3Qgb3V0cHV0ID0ge307XG5cbiAgZm9yIChjb25zdCBrZXkgaW4gaW5wdXQpIHtcbiAgICBpZiAoaGFzT3duUHJvcGVydHkuY2FsbChpbnB1dCwga2V5KSkge1xuICAgICAgb3V0cHV0W2tleV0gPSBmdW5jKGlucHV0W2tleV0sIGtleSk7XG4gICAgfVxuICB9XG5cbiAgcmV0dXJuIG91dHB1dDtcbn1cbiJdfQ== |
@@ -1,143 +0,2 @@ | ||
/* | ||
the docs point to this file as an index of options. | ||
when this files is moved, update the docs. | ||
*/ | ||
export var INPUT_NAMES = [ | ||
'header', | ||
'footer', | ||
'customButtons', | ||
'buttonIcons', | ||
'themeSystem', | ||
'bootstrapFontAwesome', | ||
'firstDay', | ||
'dir', | ||
'weekends', | ||
'hiddenDays', | ||
'fixedWeekCount', | ||
'weekNumbers', | ||
'weekNumbersWithinDays', | ||
'weekNumberCalculation', | ||
'businessHours', | ||
'showNonCurrentDates', | ||
'height', | ||
'contentHeight', | ||
'aspectRatio', | ||
'handleWindowResize', | ||
'windowResizeDelay', | ||
'eventLimit', | ||
'eventLimitClick', | ||
'timeZone', | ||
'now', | ||
'defaultView', | ||
'allDaySlot', | ||
'allDayText', | ||
'slotDuration', | ||
'slotLabelFormat', | ||
'slotLabelInterval', | ||
'snapDuration', | ||
'scrollTime', | ||
'minTime', | ||
'maxTime', | ||
'slotEventOverlap', | ||
'listDayFormat', | ||
'listDayAltFormat', | ||
'noEventsMessage', | ||
'defaultDate', | ||
'nowIndicator', | ||
'visibleRange', | ||
'validRange', | ||
'dateIncrement', | ||
'dateAlignment', | ||
'duration', | ||
'dayCount', | ||
'locales', | ||
'locale', | ||
'eventTimeFormat', | ||
'columnHeader', | ||
'columnHeaderFormat', | ||
'columnHeaderText', | ||
'columnHeaderHtml', | ||
'titleFormat', | ||
'weekLabel', | ||
'displayEventTime', | ||
'displayEventEnd', | ||
'eventLimitText', | ||
'dayPopoverFormat', | ||
'navLinks', | ||
'selectable', | ||
'selectMirror', | ||
'selectMinDistance', | ||
'unselectAuto', | ||
'unselectCancel', | ||
'defaultAllDayEventDuration', | ||
'defaultTimedEventDuration', | ||
'cmdFormatter', | ||
'defaultRangeSeparator', | ||
'selectConstraint', | ||
'selectOverlap', | ||
'selectAllow', | ||
'editable', | ||
'eventStartEditable', | ||
'eventDurationEditable', | ||
'eventConstraint', | ||
'eventOverlap', | ||
'eventAllow', | ||
'eventClassName', | ||
'eventClassNames', | ||
'eventBackgroundColor', | ||
'eventBorderColor', | ||
'eventTextColor', | ||
'eventColor', | ||
'events', | ||
'eventSources', | ||
'allDayDefault', | ||
'startParam', | ||
'endParam', | ||
'lazyFetching', | ||
'nextDayThreshold', | ||
'eventOrder', | ||
'rerenderDelay', | ||
'dragRevertDuration', | ||
'dragScroll', | ||
'longPressDelay', | ||
'eventLongPressDelay', | ||
'droppable', | ||
'dropAccept', | ||
'eventDataTransform', | ||
'allDayMaintainDuration', | ||
'eventResizableFromStart', | ||
'timeGridEventMinHeight', | ||
'allDayHtml', | ||
'eventDragMinDistance', | ||
'eventSourceFailure', | ||
'eventSourceSuccess', | ||
'forceEventDuration', | ||
'progressiveEventRendering', | ||
'selectLongPressDelay', | ||
'selectMinDistance', | ||
'timeZoneParam', | ||
'titleRangeSeparator', | ||
// compound OptionsInput... | ||
'buttonText', | ||
'views', | ||
'plugins', | ||
// scheduler... | ||
'schedulerLicenseKey', | ||
'resources', | ||
'resourceLabelText', | ||
'resourceOrder', | ||
'filterResourcesWithEvents', | ||
'resourceText', | ||
'resourceGroupField', | ||
'resourceGroupText', | ||
'resourceAreaWidth', | ||
'resourceColumns', | ||
'resourcesInitiallyExpanded', | ||
'slotWidth', | ||
'datesAboveResources', | ||
'googleCalendarApiKey', | ||
'refetchResourcesOnNavigate', | ||
'eventResourceEditable' | ||
]; | ||
export var INPUT_IS_DEEP = { | ||
export var OPTION_IS_DEEP = { | ||
header: true, | ||
@@ -149,34 +8,2 @@ footer: true, | ||
}; | ||
export var OUTPUT_NAMES = [ | ||
'windowResize', | ||
'dateClick', | ||
'eventClick', | ||
'navLinkDayClick', | ||
'navLinkWeekClick', | ||
'eventMouseEnter', | ||
'eventMouseLeave', | ||
'select', | ||
'unselect', | ||
'loading', | ||
'eventPositioned', | ||
'eventDragStart', | ||
'eventDragStop', | ||
'eventDrop', | ||
'eventResizeStart', | ||
'eventResizeStop', | ||
'eventResize', | ||
'drop', | ||
'eventReceive', | ||
'eventLeave', | ||
'_destroyed', | ||
// TODO: make these inputs... | ||
'viewSkeletonRender', | ||
'viewSkeletonDestroy', | ||
'datesRender', | ||
'datesDestroy', | ||
'dayRender', | ||
'eventRender', | ||
'eventDestroy', | ||
'resourceRender' | ||
]; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVsbGNhbGVuZGFyLW9wdGlvbnMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AZnVsbGNhbGVuZGFyL2FuZ3VsYXIvIiwic291cmNlcyI6WyJsaWIvZnVsbGNhbGVuZGFyLW9wdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7OztFQUdFO0FBRUYsTUFBTSxDQUFDLElBQU0sV0FBVyxHQUFHO0lBQ3pCLFFBQVE7SUFDUixRQUFRO0lBQ1IsZUFBZTtJQUNmLGFBQWE7SUFDYixhQUFhO0lBQ2Isc0JBQXNCO0lBQ3RCLFVBQVU7SUFDVixLQUFLO0lBQ0wsVUFBVTtJQUNWLFlBQVk7SUFDWixnQkFBZ0I7SUFDaEIsYUFBYTtJQUNiLHVCQUF1QjtJQUN2Qix1QkFBdUI7SUFDdkIsZUFBZTtJQUNmLHFCQUFxQjtJQUNyQixRQUFRO0lBQ1IsZUFBZTtJQUNmLGFBQWE7SUFDYixvQkFBb0I7SUFDcEI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jlc291cmNlUmVuZGVyJ1xuXTtcbiJdfQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVsbGNhbGVuZGFyLW9wdGlvbnMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AZnVsbGNhbGVuZGFyL2FuZ3VsYXIvIiwic291cmNlcyI6WyJsaWIvZnVsbGNhbGVuZGFyLW9wdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsTUFBTSxDQUFDLElBQU0sY0FBYyxHQUFHO0lBQzVCLE1BQU0sRUFBRSxJQUFJO0lBQ1osTUFBTSxFQUFFLElBQUk7SUFDWixNQUFNLEVBQUUsSUFBSTtJQUNaLFlBQVksRUFBRSxJQUFJO0lBQ2xCLFNBQVMsRUFBRSxJQUFJO0NBQ2hCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJcbmV4cG9ydCBjb25zdCBPUFRJT05fSVNfREVFUCA9IHtcbiAgaGVhZGVyOiB0cnVlLFxuICBmb290ZXI6IHRydWUsXG4gIGV2ZW50czogdHJ1ZSxcbiAgZXZlbnRTb3VyY2VzOiB0cnVlLFxuICByZXNvdXJjZXM6IHRydWVcbn07XG4iXX0= |
@@ -1,120 +0,91 @@ | ||
import { __decorate, __metadata, __read, __spread } from "tslib"; | ||
import { __decorate, __metadata, __values } from "tslib"; | ||
import deepEqual from 'fast-deep-equal'; | ||
import { deepCopy } from './utils'; | ||
import { Component, ElementRef, Input, Output, EventEmitter, SimpleChanges, AfterViewInit, DoCheck, OnChanges, AfterContentChecked, OnDestroy } from '@angular/core'; | ||
import { Component, ElementRef, Input, AfterViewInit, DoCheck, AfterContentChecked, OnDestroy } from '@angular/core'; | ||
import { Calendar } from '@fullcalendar/core'; | ||
import { INPUT_NAMES, INPUT_IS_DEEP, OUTPUT_NAMES } from './fullcalendar-options'; | ||
import { deepCopy, shallowCopy, mapHash } from './utils'; | ||
import { OPTION_IS_DEEP } from './fullcalendar-options'; | ||
var FullCalendarComponent = /** @class */ (function () { | ||
function FullCalendarComponent(element) { | ||
this.element = element; | ||
this.dirtyProps = {}; | ||
this.deepCopies = {}; // holds frozen states | ||
this.windowResize = new EventEmitter(); | ||
this.dateClick = new EventEmitter(); | ||
this.eventClick = new EventEmitter(); | ||
this.eventMouseEnter = new EventEmitter(); | ||
this.eventMouseLeave = new EventEmitter(); | ||
this.select = new EventEmitter(); | ||
this.unselect = new EventEmitter(); | ||
this.loading = new EventEmitter(); | ||
this.eventPositioned = new EventEmitter(); | ||
this.eventDragStart = new EventEmitter(); | ||
this.eventDragStop = new EventEmitter(); | ||
this.eventDrop = new EventEmitter(); | ||
this.eventResizeStart = new EventEmitter(); | ||
this.eventResizeStop = new EventEmitter(); | ||
this.eventResize = new EventEmitter(); | ||
this.drop = new EventEmitter(); | ||
this.eventReceive = new EventEmitter(); | ||
this.eventLeave = new EventEmitter(); | ||
this._destroyed = new EventEmitter(); | ||
this.navLinkDayClick = new EventEmitter(); | ||
this.navLinkWeekClick = new EventEmitter(); | ||
// TODO: make these inputs... | ||
this.viewSkeletonRender = new EventEmitter(); | ||
this.viewSkeletonDestroy = new EventEmitter(); | ||
this.datesRender = new EventEmitter(); | ||
this.datesDestroy = new EventEmitter(); | ||
this.dayRender = new EventEmitter(); | ||
this.eventRender = new EventEmitter(); | ||
this.eventDestroy = new EventEmitter(); | ||
this.resourceRender = new EventEmitter(); | ||
this.optionSnapshot = {}; // for diffing only | ||
} | ||
FullCalendarComponent.prototype.ngAfterViewInit = function () { | ||
this.calendar = new Calendar(this.element.nativeElement, this.buildOptions()); | ||
var deepChangeDetection = this.deepChangeDetection; | ||
var options = this.options || {}; | ||
// initialize snapshot | ||
this.optionSnapshot = mapHash(options, function (optionVal, optionName) { return ((deepChangeDetection && OPTION_IS_DEEP[optionName]) | ||
? deepCopy(optionVal) | ||
: optionVal); }); | ||
this.calendar = new Calendar(this.element.nativeElement, options); | ||
this.calendar.render(); | ||
}; | ||
FullCalendarComponent.prototype.buildOptions = function () { | ||
var _this = this; | ||
var options = {}; | ||
OUTPUT_NAMES.forEach(function (outputName) { | ||
options[outputName] = function () { | ||
var _a; | ||
var args = []; | ||
for (var _i = 0; _i < arguments.length; _i++) { | ||
args[_i] = arguments[_i]; | ||
} | ||
(_a = _this[outputName]).emit.apply(_a, __spread(args)); | ||
}; | ||
}); | ||
// do after outputs, so that inputs with same name override | ||
INPUT_NAMES.forEach(function (inputName) { | ||
var inputVal = _this[inputName]; | ||
if (inputVal !== undefined) { // unfortunately FC chokes when some props are set to undefined | ||
if (_this.deepChangeDetection && INPUT_IS_DEEP[inputName]) { | ||
inputVal = deepCopy(inputVal); | ||
_this.deepCopies[inputName] = inputVal; // side effect! | ||
} | ||
options[inputName] = inputVal; | ||
} | ||
}); | ||
return options; | ||
}; | ||
/* | ||
called before ngOnChanges, allows us to manually detect input changes. | ||
called much more often than ngOnChanges. | ||
allows us to manually detect complex input changes, internal mutations to certain options. | ||
called before ngOnChanges. called much more often than ngOnChanges. | ||
*/ | ||
FullCalendarComponent.prototype.ngDoCheck = function () { | ||
if (this.calendar && this.deepChangeDetection) { // not the initial render AND we do deep-mutation checks | ||
var deepCopies = this.deepCopies; | ||
for (var inputName in INPUT_IS_DEEP) { | ||
if (INPUT_IS_DEEP.hasOwnProperty(inputName)) { | ||
var inputVal = this[inputName]; | ||
if (inputVal !== undefined) { // unfortunately FC chokes when some props are set to undefined | ||
if (!deepEqual(inputVal, deepCopies[inputName])) { | ||
var copy = deepCopy(inputVal); | ||
deepCopies[inputName] = copy; | ||
this.dirtyProps[inputName] = copy; | ||
var e_1, _a; | ||
if (this.calendar) { // not the initial render | ||
var _b = this, deepChangeDetection = _b.deepChangeDetection, optionSnapshot = _b.optionSnapshot; | ||
var options = this.options || {}; | ||
var updates = {}; | ||
var removals = []; | ||
var anyChanges = false; | ||
// detect adds and updates (and update snapshot) | ||
for (var optionName in options) { | ||
if (options.hasOwnProperty(optionName)) { | ||
var optionVal = options[optionName]; | ||
if (deepChangeDetection && OPTION_IS_DEEP[optionName]) { | ||
if (!deepEqual(optionSnapshot[optionName], optionVal)) { | ||
optionSnapshot[optionName] = deepCopy(optionVal); | ||
// trick FC into knowing about a nested change. | ||
// TODO: future versions won't need this. | ||
// can't use the previously-made deep copy because it blows away prototype-association. | ||
updates[optionName] = shallowCopy(optionVal); | ||
anyChanges = true; | ||
} | ||
} | ||
else { | ||
if (optionSnapshot[optionName] !== optionVal) { | ||
optionSnapshot[optionName] = optionVal; | ||
updates[optionName] = optionVal; | ||
anyChanges = true; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
/* | ||
called with confirmed changes to input references | ||
*/ | ||
FullCalendarComponent.prototype.ngOnChanges = function (changes) { | ||
if (this.calendar) { // not the initial render | ||
for (var inputName in changes) { | ||
if (changes.hasOwnProperty(inputName)) { | ||
if (this.deepCopies[inputName] === undefined) { // not already handled in ngDoCheck | ||
this.dirtyProps[inputName] = changes[inputName].currentValue; | ||
var oldOptionNames = Object.keys(optionSnapshot); | ||
try { | ||
// detect removals (and update snapshot) | ||
for (var oldOptionNames_1 = __values(oldOptionNames), oldOptionNames_1_1 = oldOptionNames_1.next(); !oldOptionNames_1_1.done; oldOptionNames_1_1 = oldOptionNames_1.next()) { | ||
var optionName = oldOptionNames_1_1.value; | ||
if (!(optionName in options)) { // doesn't exist in new options? | ||
delete optionSnapshot[optionName]; | ||
removals.push(optionName); | ||
} | ||
} | ||
} | ||
catch (e_1_1) { e_1 = { error: e_1_1 }; } | ||
finally { | ||
try { | ||
if (oldOptionNames_1_1 && !oldOptionNames_1_1.done && (_a = oldOptionNames_1.return)) _a.call(oldOptionNames_1); | ||
} | ||
finally { if (e_1) throw e_1.error; } | ||
} | ||
if (anyChanges) { | ||
this.calendar.pauseRendering(); | ||
this.calendar.mutateOptions(updates, removals); | ||
} | ||
} | ||
}; | ||
FullCalendarComponent.prototype.ngAfterContentChecked = function () { | ||
var dirtyProps = this.dirtyProps; // hold on to reference before clearing | ||
if (Object.keys(dirtyProps).length > 0) { | ||
this.dirtyProps = {}; // clear first, in case the rerender causes new dirtiness | ||
this.calendar.mutateOptions(dirtyProps, [], false, deepEqual); | ||
if (this.calendar) { // too defensive? | ||
this.calendar.resumeRendering(); | ||
} | ||
}; | ||
FullCalendarComponent.prototype.ngOnDestroy = function () { | ||
if (this.calendar) { | ||
if (this.calendar) { // too defensive? | ||
this.calendar.destroy(); | ||
this.calendar = null; | ||
} | ||
this.calendar = null; | ||
}; | ||
@@ -129,648 +100,8 @@ FullCalendarComponent.prototype.getApi = function () { | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "deepChangeDetection", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "header", void 0); | ||
], FullCalendarComponent.prototype, "options", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "footer", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "customButtons", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "buttonIcons", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "themeSystem", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "bootstrapFontAwesome", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "firstDay", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "dir", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "weekends", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Array) | ||
], FullCalendarComponent.prototype, "hiddenDays", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "fixedWeekCount", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "weekNumbers", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "weekNumbersWithinDays", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "weekNumberCalculation", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "businessHours", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "showNonCurrentDates", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "height", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "contentHeight", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "aspectRatio", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "handleWindowResize", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "windowResizeDelay", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventLimit", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventLimitClick", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "timeZone", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "now", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "defaultView", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "allDaySlot", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "allDayText", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "slotDuration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "slotLabelFormat", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "slotLabelInterval", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "snapDuration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "scrollTime", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "minTime", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "maxTime", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "slotEventOverlap", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "listDayFormat", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "listDayAltFormat", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "noEventsMessage", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "defaultDate", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "nowIndicator", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "visibleRange", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "validRange", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "dateIncrement", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "dateAlignment", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "duration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "dayCount", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Array) | ||
], FullCalendarComponent.prototype, "locales", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "locale", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventTimeFormat", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "columnHeader", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "columnHeaderFormat", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "columnHeaderText", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "columnHeaderHtml", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "titleFormat", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "weekLabel", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "displayEventTime", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "displayEventEnd", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventLimitText", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "dayPopoverFormat", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "navLinks", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "selectable", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "selectMirror", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "unselectAuto", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "unselectCancel", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "defaultAllDayEventDuration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "defaultTimedEventDuration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "cmdFormatter", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "defaultRangeSeparator", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "selectConstraint", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "selectOverlap", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "selectAllow", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "selectMinDistance", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "editable", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "eventStartEditable", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "eventDurationEditable", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventConstraint", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventOverlap", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventAllow", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventClassName", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventClassNames", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "eventBackgroundColor", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "eventBorderColor", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "eventTextColor", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "eventColor", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "events", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Array) | ||
], FullCalendarComponent.prototype, "eventSources", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "allDayDefault", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "startParam", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "endParam", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "lazyFetching", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "nextDayThreshold", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventOrder", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "rerenderDelay", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "dragRevertDuration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "dragScroll", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "longPressDelay", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "eventLongPressDelay", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "droppable", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "dropAccept", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventDataTransform", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "allDayMaintainDuration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "eventResizableFromStart", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "timeGridEventMinHeight", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "allDayHtml", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "eventDragMinDistance", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventSourceFailure", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventSourceSuccess", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "forceEventDuration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "progressiveEventRendering", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "selectLongPressDelay", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "timeZoneParam", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "titleRangeSeparator", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "buttonText", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "views", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Array) | ||
], FullCalendarComponent.prototype, "plugins", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "schedulerLicenseKey", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resources", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "resourceLabelText", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceOrder", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "filterResourcesWithEvents", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceText", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceGroupField", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceGroupText", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceAreaWidth", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceColumns", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourcesInitiallyExpanded", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "slotWidth", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "datesAboveResources", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "googleCalendarApiKey", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "refetchResourcesOnNavigate", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "eventResourceEditable", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "windowResize", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "dateClick", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventClick", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventMouseEnter", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventMouseLeave", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "select", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "unselect", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "loading", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventPositioned", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventDragStart", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventDragStop", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventDrop", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventResizeStart", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventResizeStop", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventResize", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "drop", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventReceive", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventLeave", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "_destroyed", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "navLinkDayClick", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "navLinkWeekClick", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "viewSkeletonRender", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "viewSkeletonDestroy", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "datesRender", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "datesDestroy", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "dayRender", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventRender", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventDestroy", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceRender", void 0); | ||
], FullCalendarComponent.prototype, "deepChangeDetection", void 0); | ||
FullCalendarComponent = __decorate([ | ||
@@ -786,2 +117,2 @@ Component({ | ||
export { FullCalendarComponent }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVsbGNhbGVuZGFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BmdWxsY2FsZW5kYXIvYW5ndWxhci8iLCJzb3VyY2VzIjpbImxpYi9mdWxsY2FsZW5kYXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLFNBQVMsTUFBTSxpQkFBaUIsQ0FBQztBQUN4Qyx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lcENoYW5nZURldGVjdGlvbiAmJiBPUFRJT05fSVNfREVFUFtvcHRpb25OYW1lXSkge1xuICAgICAgICAgICAgaWYgKCFkZWVwRXF1YWwob3B0aW9uU25hcHNob3Rbb3B0aW9uTmFtZV0sIG9wdGlvblZhbCkpIHtcblxuICAgICAgICAgICAgICBvcHRpb25TbmFwc2hvdFtvcHRpb25OYW1lXSA9IGRlZXBDb3B5KG9wdGlvblZhbCk7XG5cbiAgICAgICAgICAgICAgLy8gdHJpY2sgRkMgaW50byBrbm93aW5nIGFib3V0IGEgbmVzdGVkIGNoYW5nZS5cbiAgICAgICAgICAgICAgLy8gVE9ETzogZnV0dXJlIHZlcnNpb25zIHdvbid0IG5lZWQgdGhpcy5cbiAgICAgICAgICAgICAgLy8gY2FuJ3QgdXNlIHRoZSBwcmV2aW91c2x5LW1hZGUgZGVlcCBjb3B5IGJlY2F1c2UgaXQgYmxvd3MgYXdheSBwcm90b3R5cGUtYXNzb2NpYXRpb24uXG4gICAgICAgICAgICAgIHVwZGF0ZXNbb3B0aW9uTmFtZV0gPSBzaGFsbG93Q29weShvcHRpb25WYWwpO1xuXG4gICAgICAgICAgICAgIGFueUNoYW5nZXMgPSB0cnVlO1xuICAgICAgICAgICAgfVxuICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICBpZiAob3B0aW9uU25hcHNob3Rbb3B0aW9uTmFtZV0gIT09IG9wdGlvblZhbCkge1xuICAgICAgICAgICAgICBvcHRpb25TbmFwc2hvdFtvcHRpb25OYW1lXSA9IG9wdGlvblZhbDtcbiAgICAgICAgICAgICAgdXBkYXRlc1tvcHRpb25OYW1lXSA9IG9wdGlvblZhbDtcbiAgICAgICAgICAgICAgYW55Q2hhbmdlcyA9IHRydWU7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICB9XG5cbiAgICAgIGNvbnN0IG9sZE9wdGlvbk5hbWVzID0gT2JqZWN0LmtleXMob3B0aW9uU25hcHNob3QpO1xuXG4gICAgICAvLyBkZXRlY3QgcmVtb3ZhbHMgKGFuZCB1cGRhdGUgc25hcHNob3QpXG4gICAgICBmb3IgKGNvbnN0IG9wdGlvbk5hbWUgb2Ygb2xkT3B0aW9uTmFtZXMpIHtcbiAgICAgICAgaWYgKCEob3B0aW9uTmFtZSBpbiBvcHRpb25zKSkgeyAvLyBkb2Vzbid0IGV4aXN0IGluIG5ldyBvcHRpb25zP1xuICAgICAgICAgIGRlbGV0ZSBvcHRpb25TbmFwc2hvdFtvcHRpb25OYW1lXTtcbiAgICAgICAgICByZW1vdmFscy5wdXNoKG9wdGlvbk5hbWUpO1xuICAgICAgICB9XG4gICAgICB9XG5cbiAgICAgIGlmIChhbnlDaGFuZ2VzKSB7XG4gICAgICAgIHRoaXMuY2FsZW5kYXIucGF1c2VSZW5kZXJpbmcoKTtcbiAgICAgICAgdGhpcy5jYWxlbmRhci5tdXRhdGVPcHRpb25zKHVwZGF0ZXMsIHJlbW92YWxzKTtcbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICBuZ0FmdGVyQ29udGVudENoZWNrZWQoKSB7XG4gICAgaWYgKHRoaXMuY2FsZW5kYXIpIHsgLy8gdG9vIGRlZmVuc2l2ZT9cbiAgICAgIHRoaXMuY2FsZW5kYXIucmVzdW1lUmVuZGVyaW5nKCk7XG4gICAgfVxuICB9XG5cbiAgbmdPbkRlc3Ryb3koKSB7XG4gICAgaWYgKHRoaXMuY2FsZW5kYXIpIHsgLy8gdG9vIGRlZmVuc2l2ZT9cbiAgICAgIHRoaXMuY2FsZW5kYXIuZGVzdHJveSgpO1xuICAgICAgdGhpcy5jYWxlbmRhciA9IG51bGw7XG4gICAgfVxuICB9XG5cbiAgcHVibGljIGdldEFwaSgpOiBDYWxlbmRhciB7XG4gICAgcmV0dXJuIHRoaXMuY2FsZW5kYXI7XG4gIH1cblxufVxuIl19 |
@@ -0,1 +1,2 @@ | ||
import { __assign } from "tslib"; | ||
var hasOwnProperty = Object.prototype.hasOwnProperty; | ||
@@ -20,3 +21,14 @@ /* | ||
} | ||
function mapHash(input, func) { | ||
export function shallowCopy(val) { | ||
if (typeof val === 'object') { | ||
if (Array.isArray(val)) { | ||
val = Array.prototype.slice.call(val); | ||
} | ||
else if (val) { // non-null | ||
val = __assign({}, val); | ||
} | ||
} | ||
return val; | ||
} | ||
export function mapHash(input, func) { | ||
var output = {}; | ||
@@ -30,2 +42,2 @@ for (var key in input) { | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AZnVsbGNhbGVuZGFyL2FuZ3VsYXIvIiwic291cmNlcyI6WyJsaWIvdXRpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsSUFBTSxjQUFjLEdBQUcsTUFBTSxDQUFDLFNBQVMsQ0FBQyxjQUFjLENBQUM7QUFFdkQ7OztFQUdFO0FBQ0YsTUFBTSxVQUFVLFFBQVEsQ0FBQyxLQUFLO0lBRTVCLElBQUksS0FBSyxDQUFDLE9BQU8sQ0FBQyxLQUFLLENBQUMsRUFBRTtRQUN4QixPQUFPLEtBQUssQ0FBQyxHQUFHLENBQUMsUUFBUSxDQUFDLENBQUM7S0FFNUI7U0FBTSxJQUFJLEtBQUssWUFBWSxJQUFJLEVBQUU7UUFDaEMsT0FBTyxJQUFJLElBQUksQ0FBQyxLQUFLLENBQUMsT0FBTyxFQUFFLENBQUMsQ0FBQztLQUVsQztTQUFNLElBQUksT0FBTyxLQUFLLEtBQUssUUFBUSxJQUFJLEtBQUssRUFBRSxFQUFFLGtCQUFrQjtRQUNqRSxPQUFPLE9BQU8sQ0FBQyxLQUFLLEVBQUUsUUFBUSxDQUFDLENBQUM7S0FFakM7U0FBTSxFQUFFLHdDQUF3QztRQUMvQyxPQUFPLEtBQUssQ0FBQztLQUNkO0FBQ0gsQ0FBQztBQUVELFNBQVMsT0FBTyxDQUFDLEtBQUssRU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NvbnN0IG91dHB1dCA9IHt9O1xuXG4gIGZvciAoY29uc3Qga2V5IGluIGlucHV0KSB7XG4gICAgaWYgKGhhc093blByb3BlcnR5LmNhbGwoaW5wdXQsIGtleSkpIHtcbiAgICAgIG91dHB1dFtrZXldID0gZnVuYyhpbnB1dFtrZXldLCBrZXkpO1xuICAgIH1cbiAgfVxuXG4gIHJldHVybiBvdXRwdXQ7XG59XG4iXX0= |
import { __decorate, __metadata } from 'tslib'; | ||
import deepEqual from 'fast-deep-equal'; | ||
import { EventEmitter, ElementRef, Input, Output, Component, NgModule } from '@angular/core'; | ||
import { ElementRef, Input, Component, NgModule } from '@angular/core'; | ||
import { Calendar } from '@fullcalendar/core'; | ||
@@ -25,2 +25,13 @@ | ||
} | ||
function shallowCopy(val) { | ||
if (typeof val === 'object') { | ||
if (Array.isArray(val)) { | ||
val = Array.prototype.slice.call(val); | ||
} | ||
else if (val) { // non-null | ||
val = Object.assign({}, val); | ||
} | ||
} | ||
return val; | ||
} | ||
function mapHash(input, func) { | ||
@@ -36,144 +47,3 @@ const output = {}; | ||
/* | ||
the docs point to this file as an index of options. | ||
when this files is moved, update the docs. | ||
*/ | ||
const INPUT_NAMES = [ | ||
'header', | ||
'footer', | ||
'customButtons', | ||
'buttonIcons', | ||
'themeSystem', | ||
'bootstrapFontAwesome', | ||
'firstDay', | ||
'dir', | ||
'weekends', | ||
'hiddenDays', | ||
'fixedWeekCount', | ||
'weekNumbers', | ||
'weekNumbersWithinDays', | ||
'weekNumberCalculation', | ||
'businessHours', | ||
'showNonCurrentDates', | ||
'height', | ||
'contentHeight', | ||
'aspectRatio', | ||
'handleWindowResize', | ||
'windowResizeDelay', | ||
'eventLimit', | ||
'eventLimitClick', | ||
'timeZone', | ||
'now', | ||
'defaultView', | ||
'allDaySlot', | ||
'allDayText', | ||
'slotDuration', | ||
'slotLabelFormat', | ||
'slotLabelInterval', | ||
'snapDuration', | ||
'scrollTime', | ||
'minTime', | ||
'maxTime', | ||
'slotEventOverlap', | ||
'listDayFormat', | ||
'listDayAltFormat', | ||
'noEventsMessage', | ||
'defaultDate', | ||
'nowIndicator', | ||
'visibleRange', | ||
'validRange', | ||
'dateIncrement', | ||
'dateAlignment', | ||
'duration', | ||
'dayCount', | ||
'locales', | ||
'locale', | ||
'eventTimeFormat', | ||
'columnHeader', | ||
'columnHeaderFormat', | ||
'columnHeaderText', | ||
'columnHeaderHtml', | ||
'titleFormat', | ||
'weekLabel', | ||
'displayEventTime', | ||
'displayEventEnd', | ||
'eventLimitText', | ||
'dayPopoverFormat', | ||
'navLinks', | ||
'selectable', | ||
'selectMirror', | ||
'selectMinDistance', | ||
'unselectAuto', | ||
'unselectCancel', | ||
'defaultAllDayEventDuration', | ||
'defaultTimedEventDuration', | ||
'cmdFormatter', | ||
'defaultRangeSeparator', | ||
'selectConstraint', | ||
'selectOverlap', | ||
'selectAllow', | ||
'editable', | ||
'eventStartEditable', | ||
'eventDurationEditable', | ||
'eventConstraint', | ||
'eventOverlap', | ||
'eventAllow', | ||
'eventClassName', | ||
'eventClassNames', | ||
'eventBackgroundColor', | ||
'eventBorderColor', | ||
'eventTextColor', | ||
'eventColor', | ||
'events', | ||
'eventSources', | ||
'allDayDefault', | ||
'startParam', | ||
'endParam', | ||
'lazyFetching', | ||
'nextDayThreshold', | ||
'eventOrder', | ||
'rerenderDelay', | ||
'dragRevertDuration', | ||
'dragScroll', | ||
'longPressDelay', | ||
'eventLongPressDelay', | ||
'droppable', | ||
'dropAccept', | ||
'eventDataTransform', | ||
'allDayMaintainDuration', | ||
'eventResizableFromStart', | ||
'timeGridEventMinHeight', | ||
'allDayHtml', | ||
'eventDragMinDistance', | ||
'eventSourceFailure', | ||
'eventSourceSuccess', | ||
'forceEventDuration', | ||
'progressiveEventRendering', | ||
'selectLongPressDelay', | ||
'selectMinDistance', | ||
'timeZoneParam', | ||
'titleRangeSeparator', | ||
// compound OptionsInput... | ||
'buttonText', | ||
'views', | ||
'plugins', | ||
// scheduler... | ||
'schedulerLicenseKey', | ||
'resources', | ||
'resourceLabelText', | ||
'resourceOrder', | ||
'filterResourcesWithEvents', | ||
'resourceText', | ||
'resourceGroupField', | ||
'resourceGroupText', | ||
'resourceAreaWidth', | ||
'resourceColumns', | ||
'resourcesInitiallyExpanded', | ||
'slotWidth', | ||
'datesAboveResources', | ||
'googleCalendarApiKey', | ||
'refetchResourcesOnNavigate', | ||
'eventResourceEditable' | ||
]; | ||
const INPUT_IS_DEEP = { | ||
const OPTION_IS_DEEP = { | ||
header: true, | ||
@@ -185,34 +55,2 @@ footer: true, | ||
}; | ||
const OUTPUT_NAMES = [ | ||
'windowResize', | ||
'dateClick', | ||
'eventClick', | ||
'navLinkDayClick', | ||
'navLinkWeekClick', | ||
'eventMouseEnter', | ||
'eventMouseLeave', | ||
'select', | ||
'unselect', | ||
'loading', | ||
'eventPositioned', | ||
'eventDragStart', | ||
'eventDragStop', | ||
'eventDrop', | ||
'eventResizeStart', | ||
'eventResizeStop', | ||
'eventResize', | ||
'drop', | ||
'eventReceive', | ||
'eventLeave', | ||
'_destroyed', | ||
// TODO: make these inputs... | ||
'viewSkeletonRender', | ||
'viewSkeletonDestroy', | ||
'datesRender', | ||
'datesDestroy', | ||
'dayRender', | ||
'eventRender', | ||
'eventDestroy', | ||
'resourceRender' | ||
]; | ||
@@ -222,106 +60,72 @@ let FullCalendarComponent = class FullCalendarComponent { | ||
this.element = element; | ||
this.dirtyProps = {}; | ||
this.deepCopies = {}; // holds frozen states | ||
this.windowResize = new EventEmitter(); | ||
this.dateClick = new EventEmitter(); | ||
this.eventClick = new EventEmitter(); | ||
this.eventMouseEnter = new EventEmitter(); | ||
this.eventMouseLeave = new EventEmitter(); | ||
this.select = new EventEmitter(); | ||
this.unselect = new EventEmitter(); | ||
this.loading = new EventEmitter(); | ||
this.eventPositioned = new EventEmitter(); | ||
this.eventDragStart = new EventEmitter(); | ||
this.eventDragStop = new EventEmitter(); | ||
this.eventDrop = new EventEmitter(); | ||
this.eventResizeStart = new EventEmitter(); | ||
this.eventResizeStop = new EventEmitter(); | ||
this.eventResize = new EventEmitter(); | ||
this.drop = new EventEmitter(); | ||
this.eventReceive = new EventEmitter(); | ||
this.eventLeave = new EventEmitter(); | ||
this._destroyed = new EventEmitter(); | ||
this.navLinkDayClick = new EventEmitter(); | ||
this.navLinkWeekClick = new EventEmitter(); | ||
// TODO: make these inputs... | ||
this.viewSkeletonRender = new EventEmitter(); | ||
this.viewSkeletonDestroy = new EventEmitter(); | ||
this.datesRender = new EventEmitter(); | ||
this.datesDestroy = new EventEmitter(); | ||
this.dayRender = new EventEmitter(); | ||
this.eventRender = new EventEmitter(); | ||
this.eventDestroy = new EventEmitter(); | ||
this.resourceRender = new EventEmitter(); | ||
this.optionSnapshot = {}; // for diffing only | ||
} | ||
ngAfterViewInit() { | ||
this.calendar = new Calendar(this.element.nativeElement, this.buildOptions()); | ||
const { deepChangeDetection } = this; | ||
const options = this.options || {}; | ||
// initialize snapshot | ||
this.optionSnapshot = mapHash(options, (optionVal, optionName) => ((deepChangeDetection && OPTION_IS_DEEP[optionName]) | ||
? deepCopy(optionVal) | ||
: optionVal)); | ||
this.calendar = new Calendar(this.element.nativeElement, options); | ||
this.calendar.render(); | ||
} | ||
buildOptions() { | ||
const options = {}; | ||
OUTPUT_NAMES.forEach(outputName => { | ||
options[outputName] = (...args) => { | ||
this[outputName].emit(...args); | ||
}; | ||
}); | ||
// do after outputs, so that inputs with same name override | ||
INPUT_NAMES.forEach(inputName => { | ||
let inputVal = this[inputName]; | ||
if (inputVal !== undefined) { // unfortunately FC chokes when some props are set to undefined | ||
if (this.deepChangeDetection && INPUT_IS_DEEP[inputName]) { | ||
inputVal = deepCopy(inputVal); | ||
this.deepCopies[inputName] = inputVal; // side effect! | ||
} | ||
options[inputName] = inputVal; | ||
} | ||
}); | ||
return options; | ||
} | ||
/* | ||
called before ngOnChanges, allows us to manually detect input changes. | ||
called much more often than ngOnChanges. | ||
allows us to manually detect complex input changes, internal mutations to certain options. | ||
called before ngOnChanges. called much more often than ngOnChanges. | ||
*/ | ||
ngDoCheck() { | ||
if (this.calendar && this.deepChangeDetection) { // not the initial render AND we do deep-mutation checks | ||
const { deepCopies } = this; | ||
for (const inputName in INPUT_IS_DEEP) { | ||
if (INPUT_IS_DEEP.hasOwnProperty(inputName)) { | ||
const inputVal = this[inputName]; | ||
if (inputVal !== undefined) { // unfortunately FC chokes when some props are set to undefined | ||
if (!deepEqual(inputVal, deepCopies[inputName])) { | ||
const copy = deepCopy(inputVal); | ||
deepCopies[inputName] = copy; | ||
this.dirtyProps[inputName] = copy; | ||
if (this.calendar) { // not the initial render | ||
const { deepChangeDetection, optionSnapshot } = this; | ||
const options = this.options || {}; | ||
const updates = {}; | ||
const removals = []; | ||
let anyChanges = false; | ||
// detect adds and updates (and update snapshot) | ||
for (const optionName in options) { | ||
if (options.hasOwnProperty(optionName)) { | ||
const optionVal = options[optionName]; | ||
if (deepChangeDetection && OPTION_IS_DEEP[optionName]) { | ||
if (!deepEqual(optionSnapshot[optionName], optionVal)) { | ||
optionSnapshot[optionName] = deepCopy(optionVal); | ||
// trick FC into knowing about a nested change. | ||
// TODO: future versions won't need this. | ||
// can't use the previously-made deep copy because it blows away prototype-association. | ||
updates[optionName] = shallowCopy(optionVal); | ||
anyChanges = true; | ||
} | ||
} | ||
else { | ||
if (optionSnapshot[optionName] !== optionVal) { | ||
optionSnapshot[optionName] = optionVal; | ||
updates[optionName] = optionVal; | ||
anyChanges = true; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
/* | ||
called with confirmed changes to input references | ||
*/ | ||
ngOnChanges(changes) { | ||
if (this.calendar) { // not the initial render | ||
for (const inputName in changes) { | ||
if (changes.hasOwnProperty(inputName)) { | ||
if (this.deepCopies[inputName] === undefined) { // not already handled in ngDoCheck | ||
this.dirtyProps[inputName] = changes[inputName].currentValue; | ||
} | ||
const oldOptionNames = Object.keys(optionSnapshot); | ||
// detect removals (and update snapshot) | ||
for (const optionName of oldOptionNames) { | ||
if (!(optionName in options)) { // doesn't exist in new options? | ||
delete optionSnapshot[optionName]; | ||
removals.push(optionName); | ||
} | ||
} | ||
if (anyChanges) { | ||
this.calendar.pauseRendering(); | ||
this.calendar.mutateOptions(updates, removals); | ||
} | ||
} | ||
} | ||
ngAfterContentChecked() { | ||
const { dirtyProps } = this; // hold on to reference before clearing | ||
if (Object.keys(dirtyProps).length > 0) { | ||
this.dirtyProps = {}; // clear first, in case the rerender causes new dirtiness | ||
this.calendar.mutateOptions(dirtyProps, [], false, deepEqual); | ||
if (this.calendar) { // too defensive? | ||
this.calendar.resumeRendering(); | ||
} | ||
} | ||
ngOnDestroy() { | ||
if (this.calendar) { | ||
if (this.calendar) { // too defensive? | ||
this.calendar.destroy(); | ||
this.calendar = null; | ||
} | ||
this.calendar = null; | ||
} | ||
@@ -337,648 +141,8 @@ getApi() { | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "deepChangeDetection", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "header", void 0); | ||
], FullCalendarComponent.prototype, "options", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "footer", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "customButtons", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "buttonIcons", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "themeSystem", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "bootstrapFontAwesome", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "firstDay", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "dir", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "weekends", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Array) | ||
], FullCalendarComponent.prototype, "hiddenDays", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "fixedWeekCount", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "weekNumbers", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "weekNumbersWithinDays", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "weekNumberCalculation", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "businessHours", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "showNonCurrentDates", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "height", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "contentHeight", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "aspectRatio", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "handleWindowResize", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "windowResizeDelay", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventLimit", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventLimitClick", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "timeZone", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "now", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "defaultView", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "allDaySlot", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "allDayText", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "slotDuration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "slotLabelFormat", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "slotLabelInterval", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "snapDuration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "scrollTime", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "minTime", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "maxTime", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "slotEventOverlap", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "listDayFormat", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "listDayAltFormat", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "noEventsMessage", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "defaultDate", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "nowIndicator", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "visibleRange", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "validRange", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "dateIncrement", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "dateAlignment", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "duration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "dayCount", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Array) | ||
], FullCalendarComponent.prototype, "locales", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "locale", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventTimeFormat", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "columnHeader", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "columnHeaderFormat", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "columnHeaderText", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "columnHeaderHtml", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "titleFormat", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "weekLabel", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "displayEventTime", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "displayEventEnd", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventLimitText", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "dayPopoverFormat", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "navLinks", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "selectable", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "selectMirror", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "unselectAuto", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "unselectCancel", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "defaultAllDayEventDuration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "defaultTimedEventDuration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "cmdFormatter", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "defaultRangeSeparator", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "selectConstraint", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "selectOverlap", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "selectAllow", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "selectMinDistance", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "editable", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "eventStartEditable", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "eventDurationEditable", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventConstraint", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventOverlap", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventAllow", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventClassName", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventClassNames", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "eventBackgroundColor", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "eventBorderColor", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "eventTextColor", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "eventColor", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "events", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Array) | ||
], FullCalendarComponent.prototype, "eventSources", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "allDayDefault", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "startParam", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "endParam", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "lazyFetching", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "nextDayThreshold", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventOrder", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "rerenderDelay", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "dragRevertDuration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "dragScroll", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "longPressDelay", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "eventLongPressDelay", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "droppable", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "dropAccept", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventDataTransform", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "allDayMaintainDuration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "eventResizableFromStart", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "timeGridEventMinHeight", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "allDayHtml", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "eventDragMinDistance", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventSourceFailure", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventSourceSuccess", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "forceEventDuration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "progressiveEventRendering", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "selectLongPressDelay", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "timeZoneParam", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "titleRangeSeparator", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "buttonText", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "views", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Array) | ||
], FullCalendarComponent.prototype, "plugins", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "schedulerLicenseKey", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resources", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "resourceLabelText", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceOrder", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "filterResourcesWithEvents", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceText", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceGroupField", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceGroupText", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceAreaWidth", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceColumns", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourcesInitiallyExpanded", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "slotWidth", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "datesAboveResources", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "googleCalendarApiKey", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "refetchResourcesOnNavigate", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "eventResourceEditable", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "windowResize", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "dateClick", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventClick", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventMouseEnter", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventMouseLeave", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "select", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "unselect", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "loading", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventPositioned", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventDragStart", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventDragStop", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventDrop", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventResizeStart", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventResizeStop", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventResize", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "drop", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventReceive", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventLeave", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "_destroyed", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "navLinkDayClick", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "navLinkWeekClick", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "viewSkeletonRender", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "viewSkeletonDestroy", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "datesRender", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "datesDestroy", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "dayRender", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventRender", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventDestroy", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceRender", void 0); | ||
], FullCalendarComponent.prototype, "deepChangeDetection", void 0); | ||
FullCalendarComponent = __decorate([ | ||
@@ -985,0 +149,0 @@ Component({ |
@@ -1,4 +0,4 @@ | ||
import { __spread, __decorate, __metadata } from 'tslib'; | ||
import { __assign, __values, __decorate, __metadata } from 'tslib'; | ||
import deepEqual from 'fast-deep-equal'; | ||
import { EventEmitter, ElementRef, Input, Output, Component, NgModule } from '@angular/core'; | ||
import { ElementRef, Input, Component, NgModule } from '@angular/core'; | ||
import { Calendar } from '@fullcalendar/core'; | ||
@@ -25,2 +25,13 @@ | ||
} | ||
function shallowCopy(val) { | ||
if (typeof val === 'object') { | ||
if (Array.isArray(val)) { | ||
val = Array.prototype.slice.call(val); | ||
} | ||
else if (val) { // non-null | ||
val = __assign({}, val); | ||
} | ||
} | ||
return val; | ||
} | ||
function mapHash(input, func) { | ||
@@ -36,144 +47,3 @@ var output = {}; | ||
/* | ||
the docs point to this file as an index of options. | ||
when this files is moved, update the docs. | ||
*/ | ||
var INPUT_NAMES = [ | ||
'header', | ||
'footer', | ||
'customButtons', | ||
'buttonIcons', | ||
'themeSystem', | ||
'bootstrapFontAwesome', | ||
'firstDay', | ||
'dir', | ||
'weekends', | ||
'hiddenDays', | ||
'fixedWeekCount', | ||
'weekNumbers', | ||
'weekNumbersWithinDays', | ||
'weekNumberCalculation', | ||
'businessHours', | ||
'showNonCurrentDates', | ||
'height', | ||
'contentHeight', | ||
'aspectRatio', | ||
'handleWindowResize', | ||
'windowResizeDelay', | ||
'eventLimit', | ||
'eventLimitClick', | ||
'timeZone', | ||
'now', | ||
'defaultView', | ||
'allDaySlot', | ||
'allDayText', | ||
'slotDuration', | ||
'slotLabelFormat', | ||
'slotLabelInterval', | ||
'snapDuration', | ||
'scrollTime', | ||
'minTime', | ||
'maxTime', | ||
'slotEventOverlap', | ||
'listDayFormat', | ||
'listDayAltFormat', | ||
'noEventsMessage', | ||
'defaultDate', | ||
'nowIndicator', | ||
'visibleRange', | ||
'validRange', | ||
'dateIncrement', | ||
'dateAlignment', | ||
'duration', | ||
'dayCount', | ||
'locales', | ||
'locale', | ||
'eventTimeFormat', | ||
'columnHeader', | ||
'columnHeaderFormat', | ||
'columnHeaderText', | ||
'columnHeaderHtml', | ||
'titleFormat', | ||
'weekLabel', | ||
'displayEventTime', | ||
'displayEventEnd', | ||
'eventLimitText', | ||
'dayPopoverFormat', | ||
'navLinks', | ||
'selectable', | ||
'selectMirror', | ||
'selectMinDistance', | ||
'unselectAuto', | ||
'unselectCancel', | ||
'defaultAllDayEventDuration', | ||
'defaultTimedEventDuration', | ||
'cmdFormatter', | ||
'defaultRangeSeparator', | ||
'selectConstraint', | ||
'selectOverlap', | ||
'selectAllow', | ||
'editable', | ||
'eventStartEditable', | ||
'eventDurationEditable', | ||
'eventConstraint', | ||
'eventOverlap', | ||
'eventAllow', | ||
'eventClassName', | ||
'eventClassNames', | ||
'eventBackgroundColor', | ||
'eventBorderColor', | ||
'eventTextColor', | ||
'eventColor', | ||
'events', | ||
'eventSources', | ||
'allDayDefault', | ||
'startParam', | ||
'endParam', | ||
'lazyFetching', | ||
'nextDayThreshold', | ||
'eventOrder', | ||
'rerenderDelay', | ||
'dragRevertDuration', | ||
'dragScroll', | ||
'longPressDelay', | ||
'eventLongPressDelay', | ||
'droppable', | ||
'dropAccept', | ||
'eventDataTransform', | ||
'allDayMaintainDuration', | ||
'eventResizableFromStart', | ||
'timeGridEventMinHeight', | ||
'allDayHtml', | ||
'eventDragMinDistance', | ||
'eventSourceFailure', | ||
'eventSourceSuccess', | ||
'forceEventDuration', | ||
'progressiveEventRendering', | ||
'selectLongPressDelay', | ||
'selectMinDistance', | ||
'timeZoneParam', | ||
'titleRangeSeparator', | ||
// compound OptionsInput... | ||
'buttonText', | ||
'views', | ||
'plugins', | ||
// scheduler... | ||
'schedulerLicenseKey', | ||
'resources', | ||
'resourceLabelText', | ||
'resourceOrder', | ||
'filterResourcesWithEvents', | ||
'resourceText', | ||
'resourceGroupField', | ||
'resourceGroupText', | ||
'resourceAreaWidth', | ||
'resourceColumns', | ||
'resourcesInitiallyExpanded', | ||
'slotWidth', | ||
'datesAboveResources', | ||
'googleCalendarApiKey', | ||
'refetchResourcesOnNavigate', | ||
'eventResourceEditable' | ||
]; | ||
var INPUT_IS_DEEP = { | ||
var OPTION_IS_DEEP = { | ||
header: true, | ||
@@ -185,34 +55,2 @@ footer: true, | ||
}; | ||
var OUTPUT_NAMES = [ | ||
'windowResize', | ||
'dateClick', | ||
'eventClick', | ||
'navLinkDayClick', | ||
'navLinkWeekClick', | ||
'eventMouseEnter', | ||
'eventMouseLeave', | ||
'select', | ||
'unselect', | ||
'loading', | ||
'eventPositioned', | ||
'eventDragStart', | ||
'eventDragStop', | ||
'eventDrop', | ||
'eventResizeStart', | ||
'eventResizeStop', | ||
'eventResize', | ||
'drop', | ||
'eventReceive', | ||
'eventLeave', | ||
'_destroyed', | ||
// TODO: make these inputs... | ||
'viewSkeletonRender', | ||
'viewSkeletonDestroy', | ||
'datesRender', | ||
'datesDestroy', | ||
'dayRender', | ||
'eventRender', | ||
'eventDestroy', | ||
'resourceRender' | ||
]; | ||
@@ -222,112 +60,83 @@ var FullCalendarComponent = /** @class */ (function () { | ||
this.element = element; | ||
this.dirtyProps = {}; | ||
this.deepCopies = {}; // holds frozen states | ||
this.windowResize = new EventEmitter(); | ||
this.dateClick = new EventEmitter(); | ||
this.eventClick = new EventEmitter(); | ||
this.eventMouseEnter = new EventEmitter(); | ||
this.eventMouseLeave = new EventEmitter(); | ||
this.select = new EventEmitter(); | ||
this.unselect = new EventEmitter(); | ||
this.loading = new EventEmitter(); | ||
this.eventPositioned = new EventEmitter(); | ||
this.eventDragStart = new EventEmitter(); | ||
this.eventDragStop = new EventEmitter(); | ||
this.eventDrop = new EventEmitter(); | ||
this.eventResizeStart = new EventEmitter(); | ||
this.eventResizeStop = new EventEmitter(); | ||
this.eventResize = new EventEmitter(); | ||
this.drop = new EventEmitter(); | ||
this.eventReceive = new EventEmitter(); | ||
this.eventLeave = new EventEmitter(); | ||
this._destroyed = new EventEmitter(); | ||
this.navLinkDayClick = new EventEmitter(); | ||
this.navLinkWeekClick = new EventEmitter(); | ||
// TODO: make these inputs... | ||
this.viewSkeletonRender = new EventEmitter(); | ||
this.viewSkeletonDestroy = new EventEmitter(); | ||
this.datesRender = new EventEmitter(); | ||
this.datesDestroy = new EventEmitter(); | ||
this.dayRender = new EventEmitter(); | ||
this.eventRender = new EventEmitter(); | ||
this.eventDestroy = new EventEmitter(); | ||
this.resourceRender = new EventEmitter(); | ||
this.optionSnapshot = {}; // for diffing only | ||
} | ||
FullCalendarComponent.prototype.ngAfterViewInit = function () { | ||
this.calendar = new Calendar(this.element.nativeElement, this.buildOptions()); | ||
var deepChangeDetection = this.deepChangeDetection; | ||
var options = this.options || {}; | ||
// initialize snapshot | ||
this.optionSnapshot = mapHash(options, function (optionVal, optionName) { return ((deepChangeDetection && OPTION_IS_DEEP[optionName]) | ||
? deepCopy(optionVal) | ||
: optionVal); }); | ||
this.calendar = new Calendar(this.element.nativeElement, options); | ||
this.calendar.render(); | ||
}; | ||
FullCalendarComponent.prototype.buildOptions = function () { | ||
var _this = this; | ||
var options = {}; | ||
OUTPUT_NAMES.forEach(function (outputName) { | ||
options[outputName] = function () { | ||
var _a; | ||
var args = []; | ||
for (var _i = 0; _i < arguments.length; _i++) { | ||
args[_i] = arguments[_i]; | ||
} | ||
(_a = _this[outputName]).emit.apply(_a, __spread(args)); | ||
}; | ||
}); | ||
// do after outputs, so that inputs with same name override | ||
INPUT_NAMES.forEach(function (inputName) { | ||
var inputVal = _this[inputName]; | ||
if (inputVal !== undefined) { // unfortunately FC chokes when some props are set to undefined | ||
if (_this.deepChangeDetection && INPUT_IS_DEEP[inputName]) { | ||
inputVal = deepCopy(inputVal); | ||
_this.deepCopies[inputName] = inputVal; // side effect! | ||
} | ||
options[inputName] = inputVal; | ||
} | ||
}); | ||
return options; | ||
}; | ||
/* | ||
called before ngOnChanges, allows us to manually detect input changes. | ||
called much more often than ngOnChanges. | ||
allows us to manually detect complex input changes, internal mutations to certain options. | ||
called before ngOnChanges. called much more often than ngOnChanges. | ||
*/ | ||
FullCalendarComponent.prototype.ngDoCheck = function () { | ||
if (this.calendar && this.deepChangeDetection) { // not the initial render AND we do deep-mutation checks | ||
var deepCopies = this.deepCopies; | ||
for (var inputName in INPUT_IS_DEEP) { | ||
if (INPUT_IS_DEEP.hasOwnProperty(inputName)) { | ||
var inputVal = this[inputName]; | ||
if (inputVal !== undefined) { // unfortunately FC chokes when some props are set to undefined | ||
if (!deepEqual(inputVal, deepCopies[inputName])) { | ||
var copy = deepCopy(inputVal); | ||
deepCopies[inputName] = copy; | ||
this.dirtyProps[inputName] = copy; | ||
var e_1, _a; | ||
if (this.calendar) { // not the initial render | ||
var _b = this, deepChangeDetection = _b.deepChangeDetection, optionSnapshot = _b.optionSnapshot; | ||
var options = this.options || {}; | ||
var updates = {}; | ||
var removals = []; | ||
var anyChanges = false; | ||
// detect adds and updates (and update snapshot) | ||
for (var optionName in options) { | ||
if (options.hasOwnProperty(optionName)) { | ||
var optionVal = options[optionName]; | ||
if (deepChangeDetection && OPTION_IS_DEEP[optionName]) { | ||
if (!deepEqual(optionSnapshot[optionName], optionVal)) { | ||
optionSnapshot[optionName] = deepCopy(optionVal); | ||
// trick FC into knowing about a nested change. | ||
// TODO: future versions won't need this. | ||
// can't use the previously-made deep copy because it blows away prototype-association. | ||
updates[optionName] = shallowCopy(optionVal); | ||
anyChanges = true; | ||
} | ||
} | ||
else { | ||
if (optionSnapshot[optionName] !== optionVal) { | ||
optionSnapshot[optionName] = optionVal; | ||
updates[optionName] = optionVal; | ||
anyChanges = true; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
/* | ||
called with confirmed changes to input references | ||
*/ | ||
FullCalendarComponent.prototype.ngOnChanges = function (changes) { | ||
if (this.calendar) { // not the initial render | ||
for (var inputName in changes) { | ||
if (changes.hasOwnProperty(inputName)) { | ||
if (this.deepCopies[inputName] === undefined) { // not already handled in ngDoCheck | ||
this.dirtyProps[inputName] = changes[inputName].currentValue; | ||
var oldOptionNames = Object.keys(optionSnapshot); | ||
try { | ||
// detect removals (and update snapshot) | ||
for (var oldOptionNames_1 = __values(oldOptionNames), oldOptionNames_1_1 = oldOptionNames_1.next(); !oldOptionNames_1_1.done; oldOptionNames_1_1 = oldOptionNames_1.next()) { | ||
var optionName = oldOptionNames_1_1.value; | ||
if (!(optionName in options)) { // doesn't exist in new options? | ||
delete optionSnapshot[optionName]; | ||
removals.push(optionName); | ||
} | ||
} | ||
} | ||
catch (e_1_1) { e_1 = { error: e_1_1 }; } | ||
finally { | ||
try { | ||
if (oldOptionNames_1_1 && !oldOptionNames_1_1.done && (_a = oldOptionNames_1.return)) _a.call(oldOptionNames_1); | ||
} | ||
finally { if (e_1) throw e_1.error; } | ||
} | ||
if (anyChanges) { | ||
this.calendar.pauseRendering(); | ||
this.calendar.mutateOptions(updates, removals); | ||
} | ||
} | ||
}; | ||
FullCalendarComponent.prototype.ngAfterContentChecked = function () { | ||
var dirtyProps = this.dirtyProps; // hold on to reference before clearing | ||
if (Object.keys(dirtyProps).length > 0) { | ||
this.dirtyProps = {}; // clear first, in case the rerender causes new dirtiness | ||
this.calendar.mutateOptions(dirtyProps, [], false, deepEqual); | ||
if (this.calendar) { // too defensive? | ||
this.calendar.resumeRendering(); | ||
} | ||
}; | ||
FullCalendarComponent.prototype.ngOnDestroy = function () { | ||
if (this.calendar) { | ||
if (this.calendar) { // too defensive? | ||
this.calendar.destroy(); | ||
this.calendar = null; | ||
} | ||
this.calendar = null; | ||
}; | ||
@@ -342,648 +151,8 @@ FullCalendarComponent.prototype.getApi = function () { | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "deepChangeDetection", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "header", void 0); | ||
], FullCalendarComponent.prototype, "options", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "footer", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "customButtons", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "buttonIcons", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "themeSystem", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "bootstrapFontAwesome", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "firstDay", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "dir", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "weekends", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Array) | ||
], FullCalendarComponent.prototype, "hiddenDays", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "fixedWeekCount", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "weekNumbers", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "weekNumbersWithinDays", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "weekNumberCalculation", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "businessHours", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "showNonCurrentDates", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "height", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "contentHeight", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "aspectRatio", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "handleWindowResize", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "windowResizeDelay", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventLimit", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventLimitClick", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "timeZone", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "now", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "defaultView", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "allDaySlot", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "allDayText", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "slotDuration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "slotLabelFormat", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "slotLabelInterval", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "snapDuration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "scrollTime", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "minTime", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "maxTime", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "slotEventOverlap", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "listDayFormat", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "listDayAltFormat", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "noEventsMessage", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "defaultDate", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "nowIndicator", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "visibleRange", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "validRange", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "dateIncrement", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "dateAlignment", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "duration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "dayCount", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Array) | ||
], FullCalendarComponent.prototype, "locales", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "locale", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventTimeFormat", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "columnHeader", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "columnHeaderFormat", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "columnHeaderText", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "columnHeaderHtml", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "titleFormat", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "weekLabel", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "displayEventTime", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "displayEventEnd", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventLimitText", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "dayPopoverFormat", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "navLinks", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "selectable", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "selectMirror", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "unselectAuto", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "unselectCancel", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "defaultAllDayEventDuration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "defaultTimedEventDuration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "cmdFormatter", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "defaultRangeSeparator", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "selectConstraint", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "selectOverlap", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "selectAllow", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "selectMinDistance", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "editable", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "eventStartEditable", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "eventDurationEditable", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventConstraint", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventOverlap", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventAllow", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventClassName", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventClassNames", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "eventBackgroundColor", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "eventBorderColor", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "eventTextColor", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "eventColor", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "events", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Array) | ||
], FullCalendarComponent.prototype, "eventSources", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "allDayDefault", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "startParam", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "endParam", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "lazyFetching", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "nextDayThreshold", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventOrder", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "rerenderDelay", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "dragRevertDuration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "dragScroll", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "longPressDelay", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "eventLongPressDelay", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "droppable", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "dropAccept", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventDataTransform", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "allDayMaintainDuration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "eventResizableFromStart", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "timeGridEventMinHeight", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "allDayHtml", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "eventDragMinDistance", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventSourceFailure", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventSourceSuccess", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "forceEventDuration", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "progressiveEventRendering", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Number) | ||
], FullCalendarComponent.prototype, "selectLongPressDelay", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "timeZoneParam", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "titleRangeSeparator", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "buttonText", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "views", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Array) | ||
], FullCalendarComponent.prototype, "plugins", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "schedulerLicenseKey", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resources", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "resourceLabelText", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceOrder", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "filterResourcesWithEvents", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceText", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceGroupField", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceGroupText", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceAreaWidth", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceColumns", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourcesInitiallyExpanded", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "slotWidth", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "datesAboveResources", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", String) | ||
], FullCalendarComponent.prototype, "googleCalendarApiKey", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "refetchResourcesOnNavigate", void 0); | ||
__decorate([ | ||
Input(), | ||
__metadata("design:type", Boolean) | ||
], FullCalendarComponent.prototype, "eventResourceEditable", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "windowResize", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "dateClick", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventClick", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventMouseEnter", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventMouseLeave", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "select", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "unselect", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "loading", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventPositioned", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventDragStart", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventDragStop", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventDrop", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventResizeStart", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventResizeStop", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventResize", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "drop", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventReceive", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventLeave", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "_destroyed", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "navLinkDayClick", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "navLinkWeekClick", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "viewSkeletonRender", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "viewSkeletonDestroy", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "datesRender", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "datesDestroy", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "dayRender", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventRender", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "eventDestroy", void 0); | ||
__decorate([ | ||
Output(), | ||
__metadata("design:type", Object) | ||
], FullCalendarComponent.prototype, "resourceRender", void 0); | ||
], FullCalendarComponent.prototype, "deepChangeDetection", void 0); | ||
FullCalendarComponent = __decorate([ | ||
@@ -990,0 +159,0 @@ Component({ |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"metadata":{"FullCalendarComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":62,"character":1},"arguments":[{"selector":"full-calendar","template":""}]}],"members":{"deepChangeDetection":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":68,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":74,"character":31}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"buildOptions":[{"__symbolic":"method"}],"ngDoCheck":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"ngAfterContentChecked":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"getApi":[{"__symbolic":"method"}],"header":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":176,"character":3}}]}],"footer":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":177,"character":3}}]}],"customButtons":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":178,"character":3}}]}],"buttonIcons":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":179,"character":3}}]}],"themeSystem":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":180,"character":3}}]}],"bootstrapFontAwesome":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":181,"character":3}}]}],"firstDay":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":182,"character":3}}]}],"dir":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":183,"character":3}}]}],"weekends":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":184,"character":3}}]}],"hiddenDays":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":185,"character":3}}]}],"fixedWeekCount":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":186,"character":3}}]}],"weekNumbers":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":187,"character":3}}]}],"weekNumbersWithinDays":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":188,"character":3}}]}],"weekNumberCalculation":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":189,"character":3}}]}],"businessHours":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":190,"character":3}}]}],"showNonCurrentDates":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":191,"character":3}}]}],"height":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":192,"character":3}}]}],"contentHeight":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":193,"character":3}}]}],"aspectRatio":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":194,"character":3}}]}],"handleWindowResize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":195,"character":3}}]}],"windowResizeDelay":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":196,"character":3}}]}],"eventLimit":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":197,"character":3}}]}],"eventLimitClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":198,"character":3}}]}],"timeZone":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":199,"character":3}}]}],"now":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":200,"character":3}}]}],"defaultView":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":201,"character":3}}]}],"allDaySlot":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":202,"character":3}}]}],"allDayText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":203,"character":3}}]}],"slotDuration":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":204,"character":3}}]}],"slotLabelFormat":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":205,"character":3}}]}],"slotLabelInterval":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":206,"character":3}}]}],"snapDuration":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":207,"character":3}}]}],"scrollTime":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":208,"character":3}}]}],"minTime":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":209,"character":3}}]}],"maxTime":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":210,"character":3}}]}],"slotEventOverlap":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":211,"character":3}}]}],"listDayFormat":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":212,"character":3}}]}],"listDayAltFormat":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":213,"character":3}}]}],"noEventsMessage":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":214,"character":3}}]}],"defaultDate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":215,"character":3}}]}],"nowIndicator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":216,"character":3}}]}],"visibleRange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":217,"character":3}}]}],"validRange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":218,"character":3}}]}],"dateIncrement":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":219,"character":3}}]}],"dateAlignment":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":220,"character":3}}]}],"duration":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":221,"character":3}}]}],"dayCount":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":222,"character":3}}]}],"locales":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":223,"character":3}}]}],"locale":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":224,"character":3}}]}],"eventTimeFormat":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":225,"character":3}}]}],"columnHeader":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":226,"character":3}}]}],"columnHeaderFormat":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":227,"character":3}}]}],"columnHeaderText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":228,"character":3}}]}],"columnHeaderHtml":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":229,"character":3}}]}],"titleFormat":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":230,"character":3}}]}],"weekLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":231,"character":3}}]}],"displayEventTime":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":232,"character":3}}]}],"displayEventEnd":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":233,"character":3}}]}],"eventLimitText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":234,"character":3}}]}],"dayPopoverFormat":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":235,"character":3}}]}],"navLinks":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":236,"character":3}}]}],"selectable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":237,"character":3}}]}],"selectMirror":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":238,"character":3}}]}],"unselectAuto":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":239,"character":3}}]}],"unselectCancel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":240,"character":3}}]}],"defaultAllDayEventDuration":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":241,"character":3}}]}],"defaultTimedEventDuration":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":242,"character":3}}]}],"cmdFormatter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":243,"character":3}}]}],"defaultRangeSeparator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":244,"character":3}}]}],"selectConstraint":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":245,"character":3}}]}],"selectOverlap":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":246,"character":3}}]}],"selectAllow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":247,"character":3}}]}],"selectMinDistance":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":248,"character":3}}]}],"editable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":249,"character":3}}]}],"eventStartEditable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":250,"character":3}}]}],"eventDurationEditable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":251,"character":3}}]}],"eventConstraint":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":252,"character":3}}]}],"eventOverlap":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":253,"character":3}}]}],"eventAllow":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":254,"character":3}}]}],"eventClassName":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":255,"character":3}}]}],"eventClassNames":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":256,"character":3}}]}],"eventBackgroundColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":257,"character":3}}]}],"eventBorderColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":258,"character":3}}]}],"eventTextColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":259,"character":3}}]}],"eventColor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":260,"character":3}}]}],"events":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":261,"character":3}}]}],"eventSources":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":262,"character":3}}]}],"allDayDefault":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":263,"character":3}}]}],"startParam":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":264,"character":3}}]}],"endParam":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":265,"character":3}}]}],"lazyFetching":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":266,"character":3}}]}],"nextDayThreshold":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":267,"character":3}}]}],"eventOrder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":268,"character":3}}]}],"rerenderDelay":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":269,"character":3}}]}],"dragRevertDuration":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":270,"character":3}}]}],"dragScroll":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":271,"character":3}}]}],"longPressDelay":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":272,"character":3}}]}],"eventLongPressDelay":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":273,"character":3}}]}],"droppable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":274,"character":3}}]}],"dropAccept":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":275,"character":3}}]}],"eventDataTransform":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":276,"character":3}}]}],"allDayMaintainDuration":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":277,"character":3}}]}],"eventResizableFromStart":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":278,"character":3}}]}],"timeGridEventMinHeight":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":279,"character":3}}]}],"allDayHtml":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":280,"character":3}}]}],"eventDragMinDistance":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":281,"character":3}}]}],"eventSourceFailure":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":282,"character":3}}]}],"eventSourceSuccess":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":283,"character":3}}]}],"forceEventDuration":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":284,"character":3}}]}],"progressiveEventRendering":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":285,"character":3}}]}],"selectLongPressDelay":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":286,"character":3}}]}],"timeZoneParam":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":287,"character":3}}]}],"titleRangeSeparator":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":288,"character":3}}]}],"buttonText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":290,"character":3}}]}],"views":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":291,"character":3}}]}],"plugins":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":292,"character":3}}]}],"schedulerLicenseKey":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":294,"character":3}}]}],"resources":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":295,"character":3}}]}],"resourceLabelText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":296,"character":3}}]}],"resourceOrder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":297,"character":3}}]}],"filterResourcesWithEvents":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":298,"character":3}}]}],"resourceText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":299,"character":3}}]}],"resourceGroupField":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":300,"character":3}}]}],"resourceGroupText":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":301,"character":3}}]}],"resourceAreaWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":302,"character":3}}]}],"resourceColumns":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":303,"character":3}}]}],"resourcesInitiallyExpanded":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":304,"character":3}}]}],"slotWidth":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":305,"character":3}}]}],"datesAboveResources":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":306,"character":3}}]}],"googleCalendarApiKey":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":307,"character":3}}]}],"refetchResourcesOnNavigate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":308,"character":3}}]}],"eventResourceEditable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":309,"character":3}}]}],"windowResize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":311,"character":3}}]}],"dateClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":312,"character":3}}]}],"eventClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":313,"character":3}}]}],"eventMouseEnter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":314,"character":3}}]}],"eventMouseLeave":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":315,"character":3}}]}],"select":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":316,"character":3}}]}],"unselect":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":317,"character":3}}]}],"loading":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":318,"character":3}}]}],"eventPositioned":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":319,"character":3}}]}],"eventDragStart":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":320,"character":3}}]}],"eventDragStop":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":321,"character":3}}]}],"eventDrop":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":322,"character":3}}]}],"eventResizeStart":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":323,"character":3}}]}],"eventResizeStop":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":324,"character":3}}]}],"eventResize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":325,"character":3}}]}],"drop":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":326,"character":3}}]}],"eventReceive":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":327,"character":3}}]}],"eventLeave":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":328,"character":3}}]}],"_destroyed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":329,"character":3}}]}],"navLinkDayClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":330,"character":3}}]}],"navLinkWeekClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":331,"character":3}}]}],"viewSkeletonRender":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":333,"character":3}}]}],"viewSkeletonDestroy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":334,"character":3}}]}],"datesRender":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":335,"character":3}}]}],"datesDestroy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":336,"character":3}}]}],"dayRender":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":337,"character":3}}]}],"eventRender":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":338,"character":3}}]}],"eventDestroy":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":339,"character":3}}]}],"resourceRender":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":340,"character":3}}]}]}},"FullCalendarModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":3,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"FullCalendarComponent"}],"imports":[],"exports":[{"__symbolic":"reference","name":"FullCalendarComponent"}]}]}],"members":{}}},"origins":{"FullCalendarComponent":"./lib/fullcalendar.component","FullCalendarModule":"./lib/fullcalendar.module"},"importAs":"@fullcalendar/angular"} | ||
{"__symbolic":"module","version":4,"metadata":{"FullCalendarComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":14,"character":1},"arguments":[{"selector":"full-calendar","template":""}]}],"members":{"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":20,"character":3}}]}],"deepChangeDetection":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":26,"character":31}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngDoCheck":[{"__symbolic":"method"}],"ngAfterContentChecked":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"getApi":[{"__symbolic":"method"}]}},"FullCalendarModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":3,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"FullCalendarComponent"}],"imports":[],"exports":[{"__symbolic":"reference","name":"FullCalendarComponent"}]}]}],"members":{}}},"origins":{"FullCalendarComponent":"./lib/fullcalendar.component","FullCalendarModule":"./lib/fullcalendar.module"},"importAs":"@fullcalendar/angular"} |
@@ -1,3 +0,2 @@ | ||
export declare const INPUT_NAMES: string[]; | ||
export declare const INPUT_IS_DEEP: { | ||
export declare const OPTION_IS_DEEP: { | ||
header: boolean; | ||
@@ -9,2 +8,1 @@ footer: boolean; | ||
}; | ||
export declare const OUTPUT_NAMES: string[]; |
@@ -1,201 +0,15 @@ | ||
import { ElementRef, EventEmitter, SimpleChanges, AfterViewInit, DoCheck, OnChanges, AfterContentChecked, OnDestroy } from '@angular/core'; | ||
import { Calendar, BusinessHoursInput, ConstraintInput, EventApi, PluginDef } from '@fullcalendar/core'; | ||
declare type DateInput = any; | ||
declare type DurationInput = any; | ||
declare type FormatterInput = any; | ||
declare type DateRangeInput = any; | ||
declare type RawLocale = any; | ||
declare type LocaleSingularArg = any; | ||
declare type OverlapFunc = any; | ||
declare type AllowFunc = any; | ||
declare type CustomButtonInput = any; | ||
declare type ButtonIconsInput = any; | ||
declare type CellInfo = any; | ||
declare type ButtonTextCompoundInput = any; | ||
declare type ToolbarInput = any; | ||
declare type ViewOptionsInput = any; | ||
declare type EventSourceInput = any; | ||
declare type EventInputTransformer = any; | ||
declare type EventSourceErrorResponseHandler = any; | ||
declare type EventSourceSuccessResponseHandler = any; | ||
export declare class FullCalendarComponent implements AfterViewInit, DoCheck, OnChanges, AfterContentChecked, OnDestroy { | ||
import { ElementRef, AfterViewInit, DoCheck, AfterContentChecked, OnDestroy } from '@angular/core'; | ||
import { Calendar, OptionsInput } from '@fullcalendar/core'; | ||
export declare class FullCalendarComponent implements AfterViewInit, DoCheck, AfterContentChecked, OnDestroy { | ||
private element; | ||
options?: OptionsInput; | ||
deepChangeDetection?: boolean; | ||
private calendar; | ||
private dirtyProps; | ||
private deepCopies; | ||
private optionSnapshot; | ||
constructor(element: ElementRef); | ||
ngAfterViewInit(): void; | ||
private buildOptions; | ||
ngDoCheck(): void; | ||
ngOnChanges(changes: SimpleChanges): void; | ||
ngAfterContentChecked(): void; | ||
ngOnDestroy(): void; | ||
getApi(): Calendar; | ||
header?: boolean | ToolbarInput; | ||
footer?: boolean | ToolbarInput; | ||
customButtons?: { | ||
[name: string]: CustomButtonInput; | ||
}; | ||
buttonIcons?: boolean | ButtonIconsInput; | ||
themeSystem?: 'standard' | string; | ||
bootstrapFontAwesome?: boolean | ButtonIconsInput; | ||
firstDay?: number; | ||
dir?: 'ltr' | 'rtl' | 'auto'; | ||
weekends?: boolean; | ||
hiddenDays?: number[]; | ||
fixedWeekCount?: boolean; | ||
weekNumbers?: boolean; | ||
weekNumbersWithinDays?: boolean; | ||
weekNumberCalculation?: 'local' | 'ISO' | ((m: Date) => number); | ||
businessHours?: BusinessHoursInput; | ||
showNonCurrentDates?: boolean; | ||
height?: number | 'auto' | 'parent' | (() => number); | ||
contentHeight?: number | 'auto' | (() => number); | ||
aspectRatio?: number; | ||
handleWindowResize?: boolean; | ||
windowResizeDelay?: number; | ||
eventLimit?: boolean | number; | ||
eventLimitClick?: 'popover' | 'week' | 'day' | string | ((cellinfo: CellInfo, jsevent: Event) => void); | ||
timeZone?: string | boolean; | ||
now?: DateInput | (() => DateInput); | ||
defaultView?: string; | ||
allDaySlot?: boolean; | ||
allDayText?: string; | ||
slotDuration?: DurationInput; | ||
slotLabelFormat?: FormatterInput; | ||
slotLabelInterval?: DurationInput; | ||
snapDuration?: DurationInput; | ||
scrollTime?: DurationInput; | ||
minTime?: DurationInput; | ||
maxTime?: DurationInput; | ||
slotEventOverlap?: boolean; | ||
listDayFormat?: FormatterInput | boolean; | ||
listDayAltFormat?: FormatterInput | boolean; | ||
noEventsMessage?: string; | ||
defaultDate?: DateInput; | ||
nowIndicator?: boolean; | ||
visibleRange?: ((currentDate: Date) => DateRangeInput) | DateRangeInput; | ||
validRange?: DateRangeInput; | ||
dateIncrement?: DurationInput; | ||
dateAlignment?: string; | ||
duration?: DurationInput; | ||
dayCount?: number; | ||
locales?: RawLocale[]; | ||
locale?: LocaleSingularArg; | ||
eventTimeFormat?: FormatterInput; | ||
columnHeader?: boolean; | ||
columnHeaderFormat?: FormatterInput; | ||
columnHeaderText?: string | ((date: DateInput) => string); | ||
columnHeaderHtml?: string | ((date: DateInput) => string); | ||
titleFormat?: FormatterInput; | ||
weekLabel?: string; | ||
displayEventTime?: boolean; | ||
displayEventEnd?: boolean; | ||
eventLimitText?: string | ((eventCnt: number) => string); | ||
dayPopoverFormat?: FormatterInput; | ||
navLinks?: boolean; | ||
selectable?: boolean; | ||
selectMirror?: boolean; | ||
unselectAuto?: boolean; | ||
unselectCancel?: string; | ||
defaultAllDayEventDuration?: DurationInput; | ||
defaultTimedEventDuration?: DurationInput; | ||
cmdFormatter?: string; | ||
defaultRangeSeparator?: string; | ||
selectConstraint?: ConstraintInput; | ||
selectOverlap?: boolean | OverlapFunc; | ||
selectAllow?: AllowFunc; | ||
selectMinDistance?: number; | ||
editable?: boolean; | ||
eventStartEditable?: boolean; | ||
eventDurationEditable?: boolean; | ||
eventConstraint?: ConstraintInput; | ||
eventOverlap?: boolean | OverlapFunc; | ||
eventAllow?: AllowFunc; | ||
eventClassName?: string[] | string; | ||
eventClassNames?: string[] | string; | ||
eventBackgroundColor?: string; | ||
eventBorderColor?: string; | ||
eventTextColor?: string; | ||
eventColor?: string; | ||
events?: EventSourceInput; | ||
eventSources?: EventSourceInput[]; | ||
allDayDefault?: boolean; | ||
startParam?: string; | ||
endParam?: string; | ||
lazyFetching?: boolean; | ||
nextDayThreshold?: DurationInput; | ||
eventOrder?: string | Array<((a: EventApi, b: EventApi) => number) | (string | ((a: EventApi, b: EventApi) => number))>; | ||
rerenderDelay?: number | null; | ||
dragRevertDuration?: number; | ||
dragScroll?: boolean; | ||
longPressDelay?: number; | ||
eventLongPressDelay?: number; | ||
droppable?: boolean; | ||
dropAccept?: string | ((draggable: any) => boolean); | ||
eventDataTransform?: EventInputTransformer; | ||
allDayMaintainDuration?: Boolean; | ||
eventResizableFromStart?: Boolean; | ||
timeGridEventMinHeight?: number; | ||
allDayHtml?: string; | ||
eventDragMinDistance?: number; | ||
eventSourceFailure?: EventSourceErrorResponseHandler; | ||
eventSourceSuccess?: EventSourceSuccessResponseHandler; | ||
forceEventDuration?: boolean; | ||
progressiveEventRendering?: boolean; | ||
selectLongPressDelay?: number; | ||
timeZoneParam?: string; | ||
titleRangeSeparator?: string; | ||
buttonText?: ButtonTextCompoundInput; | ||
views?: { | ||
[viewId: string]: ViewOptionsInput; | ||
}; | ||
plugins?: (PluginDef | string)[]; | ||
schedulerLicenseKey?: string; | ||
resources?: any; | ||
resourceLabelText?: string; | ||
resourceOrder?: any; | ||
filterResourcesWithEvents?: any; | ||
resourceText?: any; | ||
resourceGroupField?: any; | ||
resourceGroupText?: any; | ||
resourceAreaWidth?: any; | ||
resourceColumns?: any; | ||
resourcesInitiallyExpanded?: any; | ||
slotWidth?: any; | ||
datesAboveResources?: any; | ||
googleCalendarApiKey?: string; | ||
refetchResourcesOnNavigate?: boolean; | ||
eventResourceEditable?: boolean; | ||
windowResize: EventEmitter<any>; | ||
dateClick: EventEmitter<any>; | ||
eventClick: EventEmitter<any>; | ||
eventMouseEnter: EventEmitter<any>; | ||
eventMouseLeave: EventEmitter<any>; | ||
select: EventEmitter<any>; | ||
unselect: EventEmitter<any>; | ||
loading: EventEmitter<any>; | ||
eventPositioned: EventEmitter<any>; | ||
eventDragStart: EventEmitter<any>; | ||
eventDragStop: EventEmitter<any>; | ||
eventDrop: EventEmitter<any>; | ||
eventResizeStart: EventEmitter<any>; | ||
eventResizeStop: EventEmitter<any>; | ||
eventResize: EventEmitter<any>; | ||
drop: EventEmitter<any>; | ||
eventReceive: EventEmitter<any>; | ||
eventLeave: EventEmitter<any>; | ||
_destroyed: EventEmitter<any>; | ||
navLinkDayClick: EventEmitter<any>; | ||
navLinkWeekClick: EventEmitter<any>; | ||
viewSkeletonRender: EventEmitter<any>; | ||
viewSkeletonDestroy: EventEmitter<any>; | ||
datesRender: EventEmitter<any>; | ||
datesDestroy: EventEmitter<any>; | ||
dayRender: EventEmitter<any>; | ||
eventRender: EventEmitter<any>; | ||
eventDestroy: EventEmitter<any>; | ||
resourceRender: EventEmitter<any>; | ||
} | ||
export {}; |
export declare function deepCopy(input: any): any; | ||
export declare function shallowCopy(val: any): any; | ||
export declare function mapHash(input: any, func: any): {}; |
{ | ||
"name": "@fullcalendar/angular", | ||
"version": "4.4.5-beta", | ||
"version": "5.0.0-beta", | ||
"title": "FullCalendar Angular Component", | ||
@@ -18,3 +18,3 @@ "description": "An official FullCalendar component for Angular", | ||
"dependencies": { | ||
"@fullcalendar/core": "~4.4.0", | ||
"@fullcalendar/core": "5.0.0-beta", | ||
"fast-deep-equal": "^3.1.1" | ||
@@ -21,0 +21,0 @@ }, |
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
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
151567
1095
1
+ Added@fullcalendar/core@5.0.0-beta(transitive)
- Removed@fullcalendar/core@4.4.2(transitive)