@fullcalendar/daygrid 4.2.0 → 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/main.css +28 -19
- package/main.d.ts +162 -203
- package/main.esm.js +1627 -0
- package/main.js +10 -8
- package/main.min.css +1 -5
- package/main.min.js +2 -16
- package/package.json +4 -4
- package/main.js.map +0 -1
package/main.css
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
FullCalendar Day Grid Plugin v4.2.0
|
|
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
|
-
}
|
|
51
|
-
|
|
52
|
-
declare module "@fullcalendar/daygrid/DayGridEventRenderer" {
|
|
53
|
-
import { Seg } from "@fullcalendar/core";
|
|
54
|
-
import DayGrid from "@fullcalendar/daygrid/DayGrid";
|
|
55
|
-
import SimpleDayGridEventRenderer from "@fullcalendar/daygrid/SimpleDayGridEventRenderer";
|
|
56
|
-
export { DayGridEventRenderer as default, DayGridEventRenderer };
|
|
57
|
-
class DayGridEventRenderer extends SimpleDayGridEventRenderer {
|
|
58
|
-
dayGrid: DayGrid;
|
|
59
|
-
rowStructs: any;
|
|
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
|
-
}
|
|
76
|
-
}
|
|
1
|
+
// Generated by dts-bundle v0.7.3-fork.1
|
|
2
|
+
// Dependencies for this module:
|
|
3
|
+
// ../../../../../@fullcalendar/core
|
|
77
4
|
|
|
78
|
-
declare module
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
export {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
declare module "@fullcalendar/daygrid/DayGridFillRenderer" {
|
|
88
|
-
import { FillRenderer, Seg } from "@fullcalendar/core";
|
|
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
|
-
}
|
|
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;
|
|
99
13
|
}
|
|
100
14
|
|
|
101
|
-
declare module
|
|
102
|
-
import { DateComponent,
|
|
103
|
-
import
|
|
104
|
-
export interface
|
|
105
|
-
|
|
106
|
-
|
|
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;
|
|
@@ -260,9 +145,9 @@ declare module "@fullcalendar/daygrid/DayGrid" {
|
|
|
260
145
|
}
|
|
261
146
|
}
|
|
262
147
|
|
|
263
|
-
declare module
|
|
264
|
-
import { ScrollComponent, View, ComponentContext, ViewSpec, DateProfileGenerator } from
|
|
265
|
-
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';
|
|
266
151
|
export { DayGridView as default, DayGridView };
|
|
267
152
|
abstract class DayGridView extends View {
|
|
268
153
|
scroller: ScrollComponent;
|
|
@@ -278,7 +163,7 @@ declare module "@fullcalendar/daygrid/AbstractDayGridView" {
|
|
|
278
163
|
updateBaseSize(isResize: boolean, viewHeight: number, isAuto: boolean): void;
|
|
279
164
|
computeScrollerHeight(viewHeight: any): number;
|
|
280
165
|
setGridHeight(height: any, isAuto: any): void;
|
|
281
|
-
computeDateScroll(
|
|
166
|
+
computeDateScroll(duration: Duration): {
|
|
282
167
|
top: number;
|
|
283
168
|
};
|
|
284
169
|
queryDateScroll(): {
|
|
@@ -292,47 +177,15 @@ declare module "@fullcalendar/daygrid/AbstractDayGridView" {
|
|
|
292
177
|
}
|
|
293
178
|
}
|
|
294
179
|
|
|
295
|
-
declare module
|
|
296
|
-
import {
|
|
297
|
-
import
|
|
298
|
-
|
|
299
|
-
dateProfile: DateProfile | null;
|
|
300
|
-
dayTable: DayTable;
|
|
301
|
-
nextDayThreshold: Duration;
|
|
302
|
-
businessHours: EventStore;
|
|
303
|
-
eventStore: EventStore;
|
|
304
|
-
eventUiBases: EventUiHash;
|
|
305
|
-
dateSelection: DateSpan | null;
|
|
306
|
-
eventSelection: string;
|
|
307
|
-
eventDrag: EventInteractionState | null;
|
|
308
|
-
eventResize: EventInteractionState | null;
|
|
309
|
-
isRigid: boolean;
|
|
310
|
-
}
|
|
311
|
-
export { SimpleDayGrid as default, SimpleDayGrid };
|
|
312
|
-
class SimpleDayGrid extends DateComponent<SimpleDayGridProps> {
|
|
313
|
-
dayGrid: DayGrid;
|
|
314
|
-
private slicer;
|
|
315
|
-
constructor(context: ComponentContext, dayGrid: DayGrid);
|
|
316
|
-
destroy(): void;
|
|
317
|
-
render(props: SimpleDayGridProps): void;
|
|
318
|
-
buildPositionCaches(): void;
|
|
319
|
-
queryHit(positionLeft: number, positionTop: number): Hit;
|
|
320
|
-
}
|
|
321
|
-
export class DayGridSlicer extends Slicer<DayGridSeg, [DayTable]> {
|
|
322
|
-
sliceRange(dateRange: DateRange, dayTable: DayTable): DayGridSeg[];
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
declare module "@fullcalendar/daygrid/DayGridView" {
|
|
327
|
-
import { DayHeader, ComponentContext, ViewSpec, DateProfileGenerator, DateProfile, ViewProps, DayTable } from "@fullcalendar/core";
|
|
328
|
-
import AbstractDayGridView from "@fullcalendar/daygrid/AbstractDayGridView";
|
|
329
|
-
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';
|
|
330
184
|
export { DayGridView as default, DayGridView };
|
|
331
185
|
class DayGridView extends AbstractDayGridView {
|
|
332
186
|
header: DayHeader;
|
|
333
187
|
simpleDayGrid: SimpleDayGrid;
|
|
334
188
|
dayTable: DayTable;
|
|
335
|
-
private buildDayTable;
|
|
336
189
|
constructor(_context: ComponentContext, viewSpec: ViewSpec, dateProfileGenerator: DateProfileGenerator, parentEl: HTMLElement);
|
|
337
190
|
destroy(): void;
|
|
338
191
|
render(props: ViewProps): void;
|
|
@@ -340,12 +193,118 @@ declare module "@fullcalendar/daygrid/DayGridView" {
|
|
|
340
193
|
export function buildDayTable(dateProfile: DateProfile, dateProfileGenerator: DateProfileGenerator): DayTable;
|
|
341
194
|
}
|
|
342
195
|
|
|
343
|
-
declare module
|
|
344
|
-
|
|
345
|
-
export
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
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
|
+
|