bbj-screen-widget 2.4.57 → 2.4.58

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.
@@ -1,6 +1,6 @@
1
1
  import { OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
2
2
  import { CalendarComponent } from './calendar.component';
3
- import { EventApi, EventSourceInput } from '@fullcalendar/angular';
3
+ import { EventSourceInput } from '@fullcalendar/angular';
4
4
  export declare abstract class CalendarEventsChild implements OnChanges, OnDestroy {
5
5
  parent: CalendarComponent;
6
6
  data: any[];
@@ -9,5 +9,4 @@ export declare abstract class CalendarEventsChild implements OnChanges, OnDestro
9
9
  ngOnChanges(changes: SimpleChanges): void;
10
10
  ngOnDestroy(): void;
11
11
  abstract getEvents(data: any[]): EventSourceInput[];
12
- eventClick?: (info: EventApi) => void;
13
12
  }
@@ -8,7 +8,11 @@ export declare class CalendarComponent implements OnInit, OnChanges {
8
8
  initialDate: string;
9
9
  data: any[];
10
10
  dataClick: EventEmitter<any>;
11
- typeChange: EventEmitter<string>;
11
+ datesSetChange: EventEmitter<{
12
+ type: string;
13
+ start: string;
14
+ end: string;
15
+ }>;
12
16
  children: any[];
13
17
  id: string;
14
18
  eventMap: Map<any, any[]>;
@@ -0,0 +1,6 @@
1
+ import { EventInput } from '@fullcalendar/angular';
2
+ /**
3
+ * 如果结束时间是仅日期的格式,加上一天
4
+ * @param event
5
+ */
6
+ export declare function updateEndTime(event: EventInput): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bbj-screen-widget",
3
- "version": "2.4.57",
3
+ "version": "2.4.58",
4
4
  "dependencies": {
5
5
  "@fullcalendar/angular": "~5.5.0",
6
6
  "@fullcalendar/daygrid": "~5.5.0",
Binary file