bbj-screen-widget 2.4.56 → 2.4.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,10 @@
1
+ import { CalendarComponent } from '../calendar.component';
2
+ import { CalendarEventsChild } from '../calendar-events-child';
3
+ import { EventSourceInput } from '@fullcalendar/common';
4
+ export declare class BackgroundEventsComponent extends CalendarEventsChild {
5
+ parent: CalendarComponent;
6
+ color: string;
7
+ data: any[];
8
+ constructor(parent: CalendarComponent);
9
+ getEvents(data: any[]): EventSourceInput[];
10
+ }
@@ -0,0 +1,13 @@
1
+ import { OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
2
+ import { CalendarComponent } from './calendar.component';
3
+ import { EventApi, EventSourceInput } from '@fullcalendar/angular';
4
+ export declare abstract class CalendarEventsChild implements OnChanges, OnDestroy {
5
+ parent: CalendarComponent;
6
+ data: any[];
7
+ id: string;
8
+ constructor(parent: CalendarComponent);
9
+ ngOnChanges(changes: SimpleChanges): void;
10
+ ngOnDestroy(): void;
11
+ abstract getEvents(data: any[]): EventSourceInput[];
12
+ eventClick?: (info: EventApi) => void;
13
+ }
@@ -1,14 +1,23 @@
1
- import { OnInit, OnChanges, SimpleChanges, EventEmitter } from '@angular/core';
1
+ import { OnInit, OnChanges, SimpleChanges, EventEmitter, ChangeDetectorRef } from '@angular/core';
2
2
  import { CalendarOptions } from '@fullcalendar/angular';
3
3
  import { Router } from '@angular/router';
4
4
  export declare class CalendarComponent implements OnInit, OnChanges {
5
5
  private router;
6
+ private cd;
6
7
  isInitialDate: boolean;
7
8
  initialDate: string;
8
9
  data: any[];
9
10
  dataClick: EventEmitter<any>;
10
- constructor(router: Router);
11
+ typeChange: EventEmitter<string>;
12
+ children: any[];
13
+ id: string;
14
+ eventMap: Map<any, any[]>;
15
+ constructor(router: Router, cd: ChangeDetectorRef);
11
16
  calendarOptions: CalendarOptions;
12
17
  ngOnChanges(changes: SimpleChanges): void;
13
18
  ngOnInit(): void;
19
+ setEvents(key: any, events: any[]): void;
20
+ removeEvents(key: any): void;
21
+ update(): void;
22
+ eventClick: (event: any) => void;
14
23
  }
@@ -0,0 +1,13 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { CalendarEventsChild } from '../calendar-events-child';
3
+ import { CalendarComponent } from '../calendar.component';
4
+ import { EventApi, EventSourceInput } from '@fullcalendar/common';
5
+ export declare class EventsComponent extends CalendarEventsChild {
6
+ parent: CalendarComponent;
7
+ color: string;
8
+ data: any[];
9
+ dataClick: EventEmitter<any>;
10
+ constructor(parent: CalendarComponent);
11
+ getEvents(data: any[]): EventSourceInput[];
12
+ eventClick: (event: EventApi) => void;
13
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bbj-screen-widget",
3
- "version": "2.4.56",
3
+ "version": "2.4.57",
4
4
  "dependencies": {
5
5
  "@fullcalendar/angular": "~5.5.0",
6
6
  "@fullcalendar/daygrid": "~5.5.0",