Files
flights_web_raw/apps/angular/node_modules/primeng/bundles/primeng-fullcalendar.umd.min.js
T

2 lines
2.3 KiB
JavaScript

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/common"),require("@fullcalendar/core")):"function"==typeof define&&define.amd?define("primeng/fullcalendar",["exports","@angular/core","@angular/common","@fullcalendar/core"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).primeng=e.primeng||{},e.primeng.fullcalendar={}),e.ng.core,e.ng.common,e.core)}(this,(function(e,t,n,i){"use strict";var o=function(){function e(e){this.el=e}return e.prototype.ngOnInit=function(){if(this.config={theme:!0},this.options)for(var e in this.options)this.config[e]=this.options[e]},e.prototype.ngAfterViewChecked=function(){!this.initialized&&this.el.nativeElement.offsetParent&&this.initialize()},Object.defineProperty(e.prototype,"events",{get:function(){return this._events},set:function(e){this._events=e,this._events&&this.calendar&&(this.calendar.removeAllEventSources(),this.calendar.addEventSource(this._events))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"options",{get:function(){return this._options},set:function(e){if(this._options=e,this._options&&this.calendar)for(var t in this._options){var n=this._options[t];this.config[t]=n,this.calendar.setOption(t,n)}},enumerable:!1,configurable:!0}),e.prototype.initialize=function(){this.calendar=new i.Calendar(this.el.nativeElement.children[0],this.config),this.calendar.render(),this.initialized=!0,this.events&&(this.calendar.removeAllEventSources(),this.calendar.addEventSource(this.events))},e.prototype.getCalendar=function(){return this.calendar},e.prototype.ngOnDestroy=function(){this.calendar&&(this.calendar.destroy(),this.initialized=!1,this.calendar=null)},e}();o.decorators=[{type:t.Component,args:[{selector:"p-fullCalendar",template:'<div [ngStyle]="style" [class]="styleClass"></div>',changeDetection:t.ChangeDetectionStrategy.OnPush,encapsulation:t.ViewEncapsulation.None}]}],o.ctorParameters=function(){return[{type:t.ElementRef}]},o.propDecorators={style:[{type:t.Input}],styleClass:[{type:t.Input}],events:[{type:t.Input}],options:[{type:t.Input}]};var r=function(){};r.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule],exports:[o],declarations:[o]}]}],e.FullCalendar=o,e.FullCalendarModule=r,Object.defineProperty(e,"__esModule",{value:!0})}));
//# sourceMappingURL=primeng-fullcalendar.umd.min.js.map