@fullcalendar/daygrid 4.3.0 → 4.4.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 +1 -1
- package/main.d.ts +21 -15
- package/main.esm.js +177 -150
- package/main.js +177 -150
- package/main.js.map +1 -0
- package/main.min.js +2 -2
- package/package.json +2 -2
package/main.css
CHANGED
package/main.d.ts
CHANGED
|
@@ -31,9 +31,10 @@ declare module '@fullcalendar/daygrid/SimpleDayGrid' {
|
|
|
31
31
|
export { SimpleDayGrid as default, SimpleDayGrid };
|
|
32
32
|
class SimpleDayGrid extends DateComponent<SimpleDayGridProps> {
|
|
33
33
|
dayGrid: DayGrid;
|
|
34
|
-
constructor(
|
|
34
|
+
constructor(dayGrid: DayGrid);
|
|
35
|
+
firstContext(context: ComponentContext): void;
|
|
35
36
|
destroy(): void;
|
|
36
|
-
render(props: SimpleDayGridProps): void;
|
|
37
|
+
render(props: SimpleDayGridProps, context: ComponentContext): void;
|
|
37
38
|
buildPositionCaches(): void;
|
|
38
39
|
queryHit(positionLeft: number, positionTop: number): Hit;
|
|
39
40
|
}
|
|
@@ -43,7 +44,7 @@ declare module '@fullcalendar/daygrid/SimpleDayGrid' {
|
|
|
43
44
|
}
|
|
44
45
|
|
|
45
46
|
declare module '@fullcalendar/daygrid/DayGrid' {
|
|
46
|
-
import { PositionCache, DateMarker, DateComponent, EventSegUiInteractionState, Seg, DateProfile } from '@fullcalendar/core';
|
|
47
|
+
import { PositionCache, DateMarker, DateComponent, EventSegUiInteractionState, Seg, DateProfile, ComponentContext } from '@fullcalendar/core';
|
|
47
48
|
import Popover from '@fullcalendar/daygrid/Popover';
|
|
48
49
|
import DayGridEventRenderer from '@fullcalendar/daygrid/DayGridEventRenderer';
|
|
49
50
|
import DayTile from '@fullcalendar/daygrid/DayTile';
|
|
@@ -89,8 +90,8 @@ declare module '@fullcalendar/daygrid/DayGrid' {
|
|
|
89
90
|
colPositions: PositionCache;
|
|
90
91
|
segPopover: Popover;
|
|
91
92
|
segPopoverTile: DayTile;
|
|
92
|
-
constructor(
|
|
93
|
-
render(props: DayGridProps): void;
|
|
93
|
+
constructor(el: any, renderProps: RenderProps);
|
|
94
|
+
render(props: DayGridProps, context: ComponentContext): void;
|
|
94
95
|
destroy(): void;
|
|
95
96
|
getCellRange(row: any, col: any): {
|
|
96
97
|
start: Date;
|
|
@@ -146,16 +147,20 @@ declare module '@fullcalendar/daygrid/DayGrid' {
|
|
|
146
147
|
}
|
|
147
148
|
|
|
148
149
|
declare module '@fullcalendar/daygrid/AbstractDayGridView' {
|
|
149
|
-
import { ScrollComponent, View,
|
|
150
|
+
import { ScrollComponent, View, Duration, ComponentContext, ViewProps } from '@fullcalendar/core';
|
|
150
151
|
import DayGrid from '@fullcalendar/daygrid/DayGrid';
|
|
151
|
-
export {
|
|
152
|
-
abstract class
|
|
152
|
+
export { AbstractDayGridView as default, AbstractDayGridView };
|
|
153
|
+
abstract class AbstractDayGridView extends View {
|
|
153
154
|
scroller: ScrollComponent;
|
|
154
155
|
dayGrid: DayGrid;
|
|
155
156
|
colWeekNumbersVisible: boolean;
|
|
157
|
+
cellWeekNumbersVisible: boolean;
|
|
156
158
|
weekNumberWidth: number;
|
|
157
|
-
|
|
159
|
+
_processOptions(options: any): void;
|
|
160
|
+
render(props: ViewProps, context: ComponentContext): void;
|
|
158
161
|
destroy(): void;
|
|
162
|
+
_renderSkeleton(context: ComponentContext): void;
|
|
163
|
+
_unrenderSkeleton(): void;
|
|
159
164
|
renderSkeletonHtml(): string;
|
|
160
165
|
weekNumberStyleAttr(): string;
|
|
161
166
|
hasRigidRows(): boolean;
|
|
@@ -178,7 +183,7 @@ declare module '@fullcalendar/daygrid/AbstractDayGridView' {
|
|
|
178
183
|
}
|
|
179
184
|
|
|
180
185
|
declare module '@fullcalendar/daygrid/DayGridView' {
|
|
181
|
-
import { DayHeader, ComponentContext,
|
|
186
|
+
import { DayHeader, ComponentContext, DateProfileGenerator, DateProfile, ViewProps, DayTable } from '@fullcalendar/core';
|
|
182
187
|
import AbstractDayGridView from '@fullcalendar/daygrid/AbstractDayGridView';
|
|
183
188
|
import SimpleDayGrid from '@fullcalendar/daygrid/SimpleDayGrid';
|
|
184
189
|
export { DayGridView as default, DayGridView };
|
|
@@ -186,9 +191,9 @@ declare module '@fullcalendar/daygrid/DayGridView' {
|
|
|
186
191
|
header: DayHeader;
|
|
187
192
|
simpleDayGrid: SimpleDayGrid;
|
|
188
193
|
dayTable: DayTable;
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
194
|
+
render(props: ViewProps, context: ComponentContext): void;
|
|
195
|
+
_renderSkeleton(context: ComponentContext): void;
|
|
196
|
+
_unrenderSkeleton(): void;
|
|
192
197
|
}
|
|
193
198
|
export function buildDayTable(dateProfile: DateProfile, dateProfileGenerator: DateProfileGenerator): DayTable;
|
|
194
199
|
}
|
|
@@ -279,8 +284,9 @@ declare module '@fullcalendar/daygrid/DayTile' {
|
|
|
279
284
|
export { DayTile as default, DayTile };
|
|
280
285
|
class DayTile extends DateComponent<DayTileProps> {
|
|
281
286
|
segContainerEl: HTMLElement;
|
|
282
|
-
constructor(
|
|
283
|
-
|
|
287
|
+
constructor(el: HTMLElement);
|
|
288
|
+
firstContext(context: ComponentContext): void;
|
|
289
|
+
render(props: DayTileProps, context: ComponentContext): void;
|
|
284
290
|
destroy(): void;
|
|
285
291
|
_renderFrame(date: DateMarker): void;
|
|
286
292
|
queryHit(positionLeft: number, positionTop: number, elWidth: number, elHeight: number): Hit | null;
|