@fullcalendar/daygrid 4.0.0-beta.4 → 4.3.0
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.
- package/README.md +8 -0
- package/main.css +28 -19
- package/main.d.ts +163 -202
- package/main.esm.js +1627 -0
- package/main.js +55 -41
- package/main.min.css +1 -0
- package/main.min.js +6 -0
- package/package.json +9 -6
package/README.md
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
# FullCalendar Day Grid Plugin
|
|
3
|
+
|
|
4
|
+
Display events on Month view or DayGrid view
|
|
5
|
+
|
|
6
|
+
[View the docs »](https://fullcalendar.io/docs/month-view)
|
|
7
|
+
|
|
8
|
+
This package was created from the [FullCalendar monorepo »](https://github.com/fullcalendar/fullcalendar)
|
package/main.css
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
@fullcalendar/daygrid v4.0.0-beta.4
|
|
3
|
-
Docs & License: https://fullcalendar.io/
|
|
4
|
-
(c) 2019 Adam Shaw
|
|
5
|
-
*/
|
|
6
1
|
/* DayGridView
|
|
7
2
|
--------------------------------------------------------------------------------------------------*/
|
|
8
3
|
/* day row structure */
|
|
@@ -10,60 +5,74 @@ Docs & License: https://fullcalendar.io/
|
|
|
10
5
|
.fc-dayGridDay-view .fc-content-skeleton {
|
|
11
6
|
/* there may be week numbers in these views, so no padding-top */
|
|
12
7
|
padding-bottom: 1em;
|
|
13
|
-
/* ensure a space at bottom of cell for user selecting/clicking */
|
|
8
|
+
/* ensure a space at bottom of cell for user selecting/clicking */
|
|
9
|
+
}
|
|
14
10
|
|
|
15
11
|
.fc-dayGrid-view .fc-body .fc-row {
|
|
16
12
|
min-height: 4em;
|
|
17
|
-
/* ensure that all rows are at least this tall */
|
|
13
|
+
/* ensure that all rows are at least this tall */
|
|
14
|
+
}
|
|
18
15
|
|
|
19
16
|
/* a "rigid" row will take up a constant amount of height because content-skeleton is absolute */
|
|
20
17
|
.fc-row.fc-rigid {
|
|
21
|
-
overflow: hidden;
|
|
18
|
+
overflow: hidden;
|
|
19
|
+
}
|
|
22
20
|
|
|
23
21
|
.fc-row.fc-rigid .fc-content-skeleton {
|
|
24
22
|
position: absolute;
|
|
25
23
|
top: 0;
|
|
26
24
|
left: 0;
|
|
27
|
-
right: 0;
|
|
25
|
+
right: 0;
|
|
26
|
+
}
|
|
28
27
|
|
|
29
28
|
/* week and day number styling */
|
|
30
29
|
.fc-day-top.fc-other-month {
|
|
31
|
-
opacity: 0.3;
|
|
30
|
+
opacity: 0.3;
|
|
31
|
+
}
|
|
32
32
|
|
|
33
33
|
.fc-dayGrid-view .fc-week-number,
|
|
34
34
|
.fc-dayGrid-view .fc-day-number {
|
|
35
|
-
padding: 2px;
|
|
35
|
+
padding: 2px;
|
|
36
|
+
}
|
|
36
37
|
|
|
37
38
|
.fc-dayGrid-view th.fc-week-number,
|
|
38
39
|
.fc-dayGrid-view th.fc-day-number {
|
|
39
40
|
padding: 0 2px;
|
|
40
|
-
/* column headers can't have as much v space */
|
|
41
|
+
/* column headers can't have as much v space */
|
|
42
|
+
}
|
|
41
43
|
|
|
42
44
|
.fc-ltr .fc-dayGrid-view .fc-day-top .fc-day-number {
|
|
43
|
-
float: right;
|
|
45
|
+
float: right;
|
|
46
|
+
}
|
|
44
47
|
|
|
45
48
|
.fc-rtl .fc-dayGrid-view .fc-day-top .fc-day-number {
|
|
46
|
-
float: left;
|
|
49
|
+
float: left;
|
|
50
|
+
}
|
|
47
51
|
|
|
48
52
|
.fc-ltr .fc-dayGrid-view .fc-day-top .fc-week-number {
|
|
49
53
|
float: left;
|
|
50
|
-
border-radius: 0 0 3px 0;
|
|
54
|
+
border-radius: 0 0 3px 0;
|
|
55
|
+
}
|
|
51
56
|
|
|
52
57
|
.fc-rtl .fc-dayGrid-view .fc-day-top .fc-week-number {
|
|
53
58
|
float: right;
|
|
54
|
-
border-radius: 0 0 0 3px;
|
|
59
|
+
border-radius: 0 0 0 3px;
|
|
60
|
+
}
|
|
55
61
|
|
|
56
62
|
.fc-dayGrid-view .fc-day-top .fc-week-number {
|
|
57
63
|
min-width: 1.5em;
|
|
58
64
|
text-align: center;
|
|
59
65
|
background-color: #f2f2f2;
|
|
60
|
-
color: #808080;
|
|
66
|
+
color: #808080;
|
|
67
|
+
}
|
|
61
68
|
|
|
62
69
|
/* when week/day number have own column */
|
|
63
70
|
.fc-dayGrid-view td.fc-week-number {
|
|
64
|
-
text-align: center;
|
|
71
|
+
text-align: center;
|
|
72
|
+
}
|
|
65
73
|
|
|
66
74
|
.fc-dayGrid-view td.fc-week-number > * {
|
|
67
75
|
/* work around the way we do column resizing and ensure a minimum width */
|
|
68
76
|
display: inline-block;
|
|
69
|
-
min-width: 1.25em;
|
|
77
|
+
min-width: 1.25em;
|
|
78
|
+
}
|
package/main.d.ts
CHANGED
|
@@ -1,159 +1,52 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
class DayGridDateProfileGenerator extends DateProfileGenerator {
|
|
5
|
-
buildRenderRange(currentRange: any, currentRangeUnit: any, isRangeAllDay: any): DateRange;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
declare module "@fullcalendar/daygrid/Popover" {
|
|
10
|
-
export interface PopoverOptions {
|
|
11
|
-
className?: string;
|
|
12
|
-
content?: (el: HTMLElement) => void;
|
|
13
|
-
parentEl: HTMLElement;
|
|
14
|
-
autoHide?: boolean;
|
|
15
|
-
top?: number;
|
|
16
|
-
left?: number;
|
|
17
|
-
right?: number;
|
|
18
|
-
viewportConstrain?: boolean;
|
|
19
|
-
}
|
|
20
|
-
export { Popover as default, Popover };
|
|
21
|
-
class Popover {
|
|
22
|
-
isHidden: boolean;
|
|
23
|
-
options: PopoverOptions;
|
|
24
|
-
el: HTMLElement;
|
|
25
|
-
margin: number;
|
|
26
|
-
constructor(options: PopoverOptions);
|
|
27
|
-
show(): void;
|
|
28
|
-
hide(): void;
|
|
29
|
-
render(): void;
|
|
30
|
-
documentMousedown: (ev: any) => void;
|
|
31
|
-
destroy(): void;
|
|
32
|
-
position(): void;
|
|
33
|
-
trigger(name: any): void;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
declare module "@fullcalendar/daygrid/SimpleDayGridEventRenderer" {
|
|
38
|
-
import { FgEventRenderer, Seg } from "@fullcalendar/core";
|
|
39
|
-
export { SimpleDayGridEventRenderer as default, SimpleDayGridEventRenderer };
|
|
40
|
-
abstract class SimpleDayGridEventRenderer extends FgEventRenderer {
|
|
41
|
-
renderSegHtml(seg: Seg, mirrorInfo: any): string;
|
|
42
|
-
computeEventTimeFormat(): {
|
|
43
|
-
hour: string;
|
|
44
|
-
minute: string;
|
|
45
|
-
omitZeroMinute: boolean;
|
|
46
|
-
meridiem: string;
|
|
47
|
-
};
|
|
48
|
-
computeDisplayEventEnd(): boolean;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
1
|
+
// Generated by dts-bundle v0.7.3-fork.1
|
|
2
|
+
// Dependencies for this module:
|
|
3
|
+
// ../../../../../@fullcalendar/core
|
|
51
4
|
|
|
52
|
-
declare module
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
export {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
constructor(dayGrid: DayGrid);
|
|
61
|
-
attachSegs(segs: Seg[], mirrorInfo: any): void;
|
|
62
|
-
detachSegs(): void;
|
|
63
|
-
renderSegRows(segs: Seg[]): any[];
|
|
64
|
-
renderSegRow(row: any, rowSegs: any): {
|
|
65
|
-
row: any;
|
|
66
|
-
tbodyEl: HTMLTableSectionElement;
|
|
67
|
-
cellMatrix: any[];
|
|
68
|
-
segMatrix: any[];
|
|
69
|
-
segLevels: any[];
|
|
70
|
-
segs: any;
|
|
71
|
-
};
|
|
72
|
-
buildSegLevels(segs: Seg[]): any[];
|
|
73
|
-
groupSegRows(segs: Seg[]): any[];
|
|
74
|
-
computeDisplayEventEnd(): boolean;
|
|
75
|
-
}
|
|
5
|
+
declare module '@fullcalendar/daygrid' {
|
|
6
|
+
export { default as SimpleDayGrid, DayGridSlicer } from '@fullcalendar/daygrid/SimpleDayGrid';
|
|
7
|
+
export { default as DayGrid, DayGridSeg } from '@fullcalendar/daygrid/DayGrid';
|
|
8
|
+
export { default as AbstractDayGridView } from '@fullcalendar/daygrid/AbstractDayGridView';
|
|
9
|
+
export { default as DayGridView, buildDayTable as buildBasicDayTable } from '@fullcalendar/daygrid/DayGridView';
|
|
10
|
+
export { default as DayBgRow } from '@fullcalendar/daygrid/DayBgRow';
|
|
11
|
+
const _default: import("@fullcalendar/core").PluginDef;
|
|
12
|
+
export default _default;
|
|
76
13
|
}
|
|
77
14
|
|
|
78
|
-
declare module
|
|
79
|
-
import {
|
|
80
|
-
import
|
|
81
|
-
export
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
import DayGrid, { DayGridSeg } from "@fullcalendar/daygrid/DayGrid";
|
|
90
|
-
export { DayGridFillRenderer as default, DayGridFillRenderer };
|
|
91
|
-
class DayGridFillRenderer extends FillRenderer {
|
|
92
|
-
fillSegTag: string;
|
|
93
|
-
dayGrid: DayGrid;
|
|
94
|
-
constructor(dayGrid: DayGrid);
|
|
95
|
-
renderSegs(type: string, segs: DayGridSeg[]): void;
|
|
96
|
-
attachSegs(type: any, segs: Seg[]): any[];
|
|
97
|
-
renderFillRow(type: any, seg: Seg): HTMLElement;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
declare module "@fullcalendar/daygrid/DayTile" {
|
|
102
|
-
import { DateComponent, Seg, Hit, DateMarker, ComponentContext, EventInstanceHash } from "@fullcalendar/core";
|
|
103
|
-
import SimpleDayGridEventRenderer from "@fullcalendar/daygrid/SimpleDayGridEventRenderer";
|
|
104
|
-
export interface DayTileProps {
|
|
105
|
-
date: DateMarker;
|
|
106
|
-
fgSegs: Seg[];
|
|
15
|
+
declare module '@fullcalendar/daygrid/SimpleDayGrid' {
|
|
16
|
+
import { DateProfile, EventStore, EventUiHash, DateSpan, EventInteractionState, DayTable, Duration, DateComponent, DateRange, Slicer, Hit, ComponentContext } from '@fullcalendar/core';
|
|
17
|
+
import { default as DayGrid, DayGridSeg } from '@fullcalendar/daygrid/DayGrid';
|
|
18
|
+
export interface SimpleDayGridProps {
|
|
19
|
+
dateProfile: DateProfile | null;
|
|
20
|
+
dayTable: DayTable;
|
|
21
|
+
nextDayThreshold: Duration;
|
|
22
|
+
businessHours: EventStore;
|
|
23
|
+
eventStore: EventStore;
|
|
24
|
+
eventUiBases: EventUiHash;
|
|
25
|
+
dateSelection: DateSpan | null;
|
|
107
26
|
eventSelection: string;
|
|
108
|
-
|
|
109
|
-
|
|
27
|
+
eventDrag: EventInteractionState | null;
|
|
28
|
+
eventResize: EventInteractionState | null;
|
|
29
|
+
isRigid: boolean;
|
|
110
30
|
}
|
|
111
|
-
export {
|
|
112
|
-
class
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
private renderFgEvents;
|
|
116
|
-
private renderEventSelection;
|
|
117
|
-
private renderEventDrag;
|
|
118
|
-
private renderEventResize;
|
|
119
|
-
constructor(context: ComponentContext, el: HTMLElement);
|
|
120
|
-
render(props: DayTileProps): void;
|
|
31
|
+
export { SimpleDayGrid as default, SimpleDayGrid };
|
|
32
|
+
class SimpleDayGrid extends DateComponent<SimpleDayGridProps> {
|
|
33
|
+
dayGrid: DayGrid;
|
|
34
|
+
constructor(context: ComponentContext, dayGrid: DayGrid);
|
|
121
35
|
destroy(): void;
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
export class DayTileEventRenderer extends SimpleDayGridEventRenderer {
|
|
126
|
-
dayTile: DayTile;
|
|
127
|
-
constructor(dayTile: any);
|
|
128
|
-
attachSegs(segs: Seg[]): void;
|
|
129
|
-
detachSegs(segs: Seg[]): void;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
declare module "@fullcalendar/daygrid/DayBgRow" {
|
|
134
|
-
import { ComponentContext, DateMarker, DateProfile } from "@fullcalendar/core";
|
|
135
|
-
export interface DayBgCell {
|
|
136
|
-
date: DateMarker;
|
|
137
|
-
htmlAttrs?: string;
|
|
138
|
-
}
|
|
139
|
-
export interface DayBgRowProps {
|
|
140
|
-
cells: DayBgCell[];
|
|
141
|
-
dateProfile: DateProfile;
|
|
142
|
-
renderIntroHtml?: () => string;
|
|
36
|
+
render(props: SimpleDayGridProps): void;
|
|
37
|
+
buildPositionCaches(): void;
|
|
38
|
+
queryHit(positionLeft: number, positionTop: number): Hit;
|
|
143
39
|
}
|
|
144
|
-
export
|
|
145
|
-
|
|
146
|
-
context: ComponentContext;
|
|
147
|
-
constructor(context: ComponentContext);
|
|
148
|
-
renderHtml(props: DayBgRowProps): string;
|
|
40
|
+
export class DayGridSlicer extends Slicer<DayGridSeg, [DayTable]> {
|
|
41
|
+
sliceRange(dateRange: DateRange, dayTable: DayTable): DayGridSeg[];
|
|
149
42
|
}
|
|
150
43
|
}
|
|
151
44
|
|
|
152
|
-
declare module
|
|
153
|
-
import { PositionCache, DateMarker, DateComponent, EventSegUiInteractionState, Seg, DateProfile } from
|
|
154
|
-
import Popover from
|
|
155
|
-
import DayGridEventRenderer from
|
|
156
|
-
import DayTile from
|
|
45
|
+
declare module '@fullcalendar/daygrid/DayGrid' {
|
|
46
|
+
import { PositionCache, DateMarker, DateComponent, EventSegUiInteractionState, Seg, DateProfile } from '@fullcalendar/core';
|
|
47
|
+
import Popover from '@fullcalendar/daygrid/Popover';
|
|
48
|
+
import DayGridEventRenderer from '@fullcalendar/daygrid/DayGridEventRenderer';
|
|
49
|
+
import DayTile from '@fullcalendar/daygrid/DayTile';
|
|
157
50
|
export interface RenderProps {
|
|
158
51
|
renderNumberIntroHtml: (row: number, dayGrid: DayGrid) => string;
|
|
159
52
|
renderBgIntroHtml: () => string;
|
|
@@ -196,14 +89,6 @@ declare module "@fullcalendar/daygrid/DayGrid" {
|
|
|
196
89
|
colPositions: PositionCache;
|
|
197
90
|
segPopover: Popover;
|
|
198
91
|
segPopoverTile: DayTile;
|
|
199
|
-
private renderCells;
|
|
200
|
-
private renderBusinessHours;
|
|
201
|
-
private renderDateSelection;
|
|
202
|
-
private renderBgEvents;
|
|
203
|
-
private renderFgEvents;
|
|
204
|
-
private renderEventSelection;
|
|
205
|
-
private renderEventDrag;
|
|
206
|
-
private renderEventResize;
|
|
207
92
|
constructor(context: any, el: any, renderProps: RenderProps);
|
|
208
93
|
render(props: DayGridProps): void;
|
|
209
94
|
destroy(): void;
|
|
@@ -221,6 +106,7 @@ declare module "@fullcalendar/daygrid/DayGrid" {
|
|
|
221
106
|
renderNumberCellsHtml(row: any): string;
|
|
222
107
|
renderNumberCellHtml(date: any): string;
|
|
223
108
|
updateSize(isResize: boolean): void;
|
|
109
|
+
buildPositionCaches(): void;
|
|
224
110
|
buildColPositions(): void;
|
|
225
111
|
buildRowPositions(): void;
|
|
226
112
|
positionToHit(leftPosition: any, topPosition: any): {
|
|
@@ -259,9 +145,9 @@ declare module "@fullcalendar/daygrid/DayGrid" {
|
|
|
259
145
|
}
|
|
260
146
|
}
|
|
261
147
|
|
|
262
|
-
declare module
|
|
263
|
-
import { ScrollComponent, View, ComponentContext, ViewSpec, DateProfileGenerator } from
|
|
264
|
-
import DayGrid from
|
|
148
|
+
declare module '@fullcalendar/daygrid/AbstractDayGridView' {
|
|
149
|
+
import { ScrollComponent, View, ComponentContext, ViewSpec, DateProfileGenerator, Duration } from '@fullcalendar/core';
|
|
150
|
+
import DayGrid from '@fullcalendar/daygrid/DayGrid';
|
|
265
151
|
export { DayGridView as default, DayGridView };
|
|
266
152
|
abstract class DayGridView extends View {
|
|
267
153
|
scroller: ScrollComponent;
|
|
@@ -277,7 +163,7 @@ declare module "@fullcalendar/daygrid/AbstractDayGridView" {
|
|
|
277
163
|
updateBaseSize(isResize: boolean, viewHeight: number, isAuto: boolean): void;
|
|
278
164
|
computeScrollerHeight(viewHeight: any): number;
|
|
279
165
|
setGridHeight(height: any, isAuto: any): void;
|
|
280
|
-
|
|
166
|
+
computeDateScroll(duration: Duration): {
|
|
281
167
|
top: number;
|
|
282
168
|
};
|
|
283
169
|
queryDateScroll(): {
|
|
@@ -291,46 +177,15 @@ declare module "@fullcalendar/daygrid/AbstractDayGridView" {
|
|
|
291
177
|
}
|
|
292
178
|
}
|
|
293
179
|
|
|
294
|
-
declare module
|
|
295
|
-
import {
|
|
296
|
-
import
|
|
297
|
-
|
|
298
|
-
dateProfile: DateProfile | null;
|
|
299
|
-
dayTable: DayTable;
|
|
300
|
-
nextDayThreshold: Duration;
|
|
301
|
-
businessHours: EventStore;
|
|
302
|
-
eventStore: EventStore;
|
|
303
|
-
eventUiBases: EventUiHash;
|
|
304
|
-
dateSelection: DateSpan | null;
|
|
305
|
-
eventSelection: string;
|
|
306
|
-
eventDrag: EventInteractionState | null;
|
|
307
|
-
eventResize: EventInteractionState | null;
|
|
308
|
-
isRigid: boolean;
|
|
309
|
-
}
|
|
310
|
-
export { SimpleDayGrid as default, SimpleDayGrid };
|
|
311
|
-
class SimpleDayGrid extends DateComponent<SimpleDayGridProps> {
|
|
312
|
-
dayGrid: DayGrid;
|
|
313
|
-
private slicer;
|
|
314
|
-
constructor(context: ComponentContext, dayGrid: DayGrid);
|
|
315
|
-
destroy(): void;
|
|
316
|
-
render(props: SimpleDayGridProps): void;
|
|
317
|
-
queryHit(positionLeft: number, positionTop: number): Hit;
|
|
318
|
-
}
|
|
319
|
-
export class DayGridSlicer extends Slicer<DayGridSeg, [DayTable]> {
|
|
320
|
-
sliceRange(dateRange: DateRange, dayTable: DayTable): DayGridSeg[];
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
declare module "@fullcalendar/daygrid/DayGridView" {
|
|
325
|
-
import { DayHeader, ComponentContext, ViewSpec, DateProfileGenerator, DateProfile, ViewProps, DayTable } from "@fullcalendar/core";
|
|
326
|
-
import AbstractDayGridView from "@fullcalendar/daygrid/AbstractDayGridView";
|
|
327
|
-
import SimpleDayGrid from "@fullcalendar/daygrid/SimpleDayGrid";
|
|
180
|
+
declare module '@fullcalendar/daygrid/DayGridView' {
|
|
181
|
+
import { DayHeader, ComponentContext, ViewSpec, DateProfileGenerator, DateProfile, ViewProps, DayTable } from '@fullcalendar/core';
|
|
182
|
+
import AbstractDayGridView from '@fullcalendar/daygrid/AbstractDayGridView';
|
|
183
|
+
import SimpleDayGrid from '@fullcalendar/daygrid/SimpleDayGrid';
|
|
328
184
|
export { DayGridView as default, DayGridView };
|
|
329
185
|
class DayGridView extends AbstractDayGridView {
|
|
330
186
|
header: DayHeader;
|
|
331
187
|
simpleDayGrid: SimpleDayGrid;
|
|
332
188
|
dayTable: DayTable;
|
|
333
|
-
private buildDayTable;
|
|
334
189
|
constructor(_context: ComponentContext, viewSpec: ViewSpec, dateProfileGenerator: DateProfileGenerator, parentEl: HTMLElement);
|
|
335
190
|
destroy(): void;
|
|
336
191
|
render(props: ViewProps): void;
|
|
@@ -338,12 +193,118 @@ declare module "@fullcalendar/daygrid/DayGridView" {
|
|
|
338
193
|
export function buildDayTable(dateProfile: DateProfile, dateProfileGenerator: DateProfileGenerator): DayTable;
|
|
339
194
|
}
|
|
340
195
|
|
|
341
|
-
declare module
|
|
342
|
-
|
|
343
|
-
export
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
196
|
+
declare module '@fullcalendar/daygrid/DayBgRow' {
|
|
197
|
+
import { ComponentContext, DateMarker, DateProfile } from '@fullcalendar/core';
|
|
198
|
+
export interface DayBgCell {
|
|
199
|
+
date: DateMarker;
|
|
200
|
+
htmlAttrs?: string;
|
|
201
|
+
}
|
|
202
|
+
export interface DayBgRowProps {
|
|
203
|
+
cells: DayBgCell[];
|
|
204
|
+
dateProfile: DateProfile;
|
|
205
|
+
renderIntroHtml?: () => string;
|
|
206
|
+
}
|
|
207
|
+
export { DayBgRow as default, DayBgRow };
|
|
208
|
+
class DayBgRow {
|
|
209
|
+
context: ComponentContext;
|
|
210
|
+
constructor(context: ComponentContext);
|
|
211
|
+
renderHtml(props: DayBgRowProps): string;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
declare module '@fullcalendar/daygrid/Popover' {
|
|
216
|
+
export interface PopoverOptions {
|
|
217
|
+
className?: string;
|
|
218
|
+
content?: (el: HTMLElement) => void;
|
|
219
|
+
parentEl: HTMLElement;
|
|
220
|
+
autoHide?: boolean;
|
|
221
|
+
top?: number;
|
|
222
|
+
left?: number;
|
|
223
|
+
right?: number;
|
|
224
|
+
viewportConstrain?: boolean;
|
|
225
|
+
}
|
|
226
|
+
export { Popover as default, Popover };
|
|
227
|
+
class Popover {
|
|
228
|
+
isHidden: boolean;
|
|
229
|
+
options: PopoverOptions;
|
|
230
|
+
el: HTMLElement;
|
|
231
|
+
margin: number;
|
|
232
|
+
constructor(options: PopoverOptions);
|
|
233
|
+
show(): void;
|
|
234
|
+
hide(): void;
|
|
235
|
+
render(): void;
|
|
236
|
+
documentMousedown: (ev: any) => void;
|
|
237
|
+
destroy(): void;
|
|
238
|
+
position(): void;
|
|
239
|
+
trigger(name: any): void;
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
declare module '@fullcalendar/daygrid/DayGridEventRenderer' {
|
|
244
|
+
import { Seg } from '@fullcalendar/core';
|
|
245
|
+
import DayGrid from '@fullcalendar/daygrid/DayGrid';
|
|
246
|
+
import SimpleDayGridEventRenderer from '@fullcalendar/daygrid/SimpleDayGridEventRenderer';
|
|
247
|
+
export { DayGridEventRenderer as default, DayGridEventRenderer };
|
|
248
|
+
class DayGridEventRenderer extends SimpleDayGridEventRenderer {
|
|
249
|
+
dayGrid: DayGrid;
|
|
250
|
+
rowStructs: any;
|
|
251
|
+
constructor(dayGrid: DayGrid);
|
|
252
|
+
attachSegs(segs: Seg[], mirrorInfo: any): void;
|
|
253
|
+
detachSegs(): void;
|
|
254
|
+
renderSegRows(segs: Seg[]): any[];
|
|
255
|
+
renderSegRow(row: any, rowSegs: any): {
|
|
256
|
+
row: any;
|
|
257
|
+
tbodyEl: HTMLTableSectionElement;
|
|
258
|
+
cellMatrix: any[];
|
|
259
|
+
segMatrix: any[];
|
|
260
|
+
segLevels: any[];
|
|
261
|
+
segs: any;
|
|
262
|
+
};
|
|
263
|
+
buildSegLevels(segs: Seg[]): any[];
|
|
264
|
+
groupSegRows(segs: Seg[]): any[];
|
|
265
|
+
computeDisplayEventEnd(): boolean;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
declare module '@fullcalendar/daygrid/DayTile' {
|
|
270
|
+
import { DateComponent, Seg, Hit, DateMarker, ComponentContext, EventInstanceHash } from '@fullcalendar/core';
|
|
271
|
+
import SimpleDayGridEventRenderer from '@fullcalendar/daygrid/SimpleDayGridEventRenderer';
|
|
272
|
+
export interface DayTileProps {
|
|
273
|
+
date: DateMarker;
|
|
274
|
+
fgSegs: Seg[];
|
|
275
|
+
eventSelection: string;
|
|
276
|
+
eventDragInstances: EventInstanceHash;
|
|
277
|
+
eventResizeInstances: EventInstanceHash;
|
|
278
|
+
}
|
|
279
|
+
export { DayTile as default, DayTile };
|
|
280
|
+
class DayTile extends DateComponent<DayTileProps> {
|
|
281
|
+
segContainerEl: HTMLElement;
|
|
282
|
+
constructor(context: ComponentContext, el: HTMLElement);
|
|
283
|
+
render(props: DayTileProps): void;
|
|
284
|
+
destroy(): void;
|
|
285
|
+
_renderFrame(date: DateMarker): void;
|
|
286
|
+
queryHit(positionLeft: number, positionTop: number, elWidth: number, elHeight: number): Hit | null;
|
|
287
|
+
}
|
|
288
|
+
export class DayTileEventRenderer extends SimpleDayGridEventRenderer {
|
|
289
|
+
dayTile: DayTile;
|
|
290
|
+
constructor(dayTile: any);
|
|
291
|
+
attachSegs(segs: Seg[]): void;
|
|
292
|
+
detachSegs(segs: Seg[]): void;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
declare module '@fullcalendar/daygrid/SimpleDayGridEventRenderer' {
|
|
297
|
+
import { FgEventRenderer, Seg } from '@fullcalendar/core';
|
|
298
|
+
export { SimpleDayGridEventRenderer as default, SimpleDayGridEventRenderer };
|
|
299
|
+
abstract class SimpleDayGridEventRenderer extends FgEventRenderer {
|
|
300
|
+
renderSegHtml(seg: Seg, mirrorInfo: any): string;
|
|
301
|
+
computeEventTimeFormat(): {
|
|
302
|
+
hour: string;
|
|
303
|
+
minute: string;
|
|
304
|
+
omitZeroMinute: boolean;
|
|
305
|
+
meridiem: string;
|
|
306
|
+
};
|
|
307
|
+
computeDisplayEventEnd(): boolean;
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
|