@fullcalendar/scrollgrid 6.1.15 → 7.0.0-beta.1
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/index.cjs +2 -3
- package/index.global.js +68 -817
- package/index.global.min.js +2 -2
- package/index.js +3 -4
- package/internal.cjs +61 -813
- package/internal.d.ts +22 -71
- package/internal.js +62 -814
- package/package.json +3 -3
package/internal.d.ts
CHANGED
|
@@ -1,74 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { BaseComponent, ScrollGridProps, ScrollGridSectionConfig, ScrollGridChunkConfig, ColProps } from '@fullcalendar/core/internal';
|
|
3
|
-
import { VNode } from '@fullcalendar/core/preact';
|
|
1
|
+
import { ScrollerSyncerInterface, Scroller } from '@fullcalendar/core/internal';
|
|
4
2
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
declare class ScrollGrid extends BaseComponent<ScrollGridProps, ScrollGridState> {
|
|
26
|
-
private compileColGroupStats;
|
|
27
|
-
private renderMicroColGroups;
|
|
28
|
-
private clippedScrollerRefs;
|
|
29
|
-
private scrollerElRefs;
|
|
30
|
-
private chunkElRefs;
|
|
31
|
-
private getStickyScrolling;
|
|
32
|
-
private getScrollSyncersBySection;
|
|
33
|
-
private getScrollSyncersByColumn;
|
|
34
|
-
private scrollSyncersBySection;
|
|
35
|
-
private scrollSyncersByColumn;
|
|
36
|
-
private rowUnstableMap;
|
|
37
|
-
private rowInnerMaxHeightMap;
|
|
38
|
-
private anyRowHeightsChanged;
|
|
39
|
-
private lastSizingDate;
|
|
40
|
-
private recentSizingCnt;
|
|
41
|
-
state: ScrollGridState;
|
|
42
|
-
render(): VNode;
|
|
43
|
-
renderSection(sectionConfig: ScrollGridSectionConfig, sectionIndex: number, colGroupStats: ColGroupStat[], microColGroupNodes: VNode[], sectionRowMaxHeights: number[][][], isHeader: boolean): VNode;
|
|
44
|
-
renderChunk(sectionConfig: ScrollGridSectionConfig, sectionIndex: number, colGroupStat: ColGroupStat | undefined, microColGroupNode: VNode | undefined, chunkConfig: ScrollGridChunkConfig, chunkIndex: number, rowHeights: number[], isHeader: boolean): VNode;
|
|
45
|
-
componentDidMount(): void;
|
|
46
|
-
componentDidUpdate(prevProps: ScrollGridProps, prevState: ScrollGridState): void;
|
|
47
|
-
componentWillUnmount(): void;
|
|
48
|
-
handleSizing: (isForcedResize: boolean, sectionRowMaxHeightsChanged?: boolean) => void;
|
|
49
|
-
allowSizing(): boolean;
|
|
50
|
-
handleRowHeightChange: (rowEl: HTMLTableRowElement, isStable: boolean) => void;
|
|
51
|
-
computeShrinkWidths(): number[];
|
|
52
|
-
private computeSectionRowMaxHeights;
|
|
53
|
-
computeScrollerDims(): {
|
|
54
|
-
forceYScrollbars: boolean;
|
|
55
|
-
forceXScrollbars: boolean;
|
|
56
|
-
scrollerClientWidths: {
|
|
57
|
-
[index: string]: number;
|
|
58
|
-
};
|
|
59
|
-
scrollerClientHeights: {
|
|
60
|
-
[index: string]: number;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
updateStickyScrolling(): void;
|
|
64
|
-
updateScrollSyncers(): void;
|
|
65
|
-
destroyScrollSyncers(): void;
|
|
66
|
-
getChunkConfigByIndex(index: number): ScrollGridChunkConfig;
|
|
67
|
-
forceScrollLeft(col: number, scrollLeft: number): void;
|
|
68
|
-
forceScrollTop(sectionI: number, scrollTop: number): void;
|
|
69
|
-
_handleChunkEl(chunkEl: HTMLTableCellElement | null, key: string): void;
|
|
70
|
-
_handleScrollerEl(scrollerEl: HTMLElement | null, key: string): void;
|
|
71
|
-
getDims(): number[];
|
|
3
|
+
declare class ScrollerSyncer implements ScrollerSyncerInterface {
|
|
4
|
+
private isHorizontal;
|
|
5
|
+
private emitter;
|
|
6
|
+
private scrollers;
|
|
7
|
+
private destroyFuncs;
|
|
8
|
+
private masterScroller;
|
|
9
|
+
private isPaused;
|
|
10
|
+
constructor(isHorizontal?: boolean);
|
|
11
|
+
handleChildren(scrollers: Scroller[]): void;
|
|
12
|
+
destroy(): void;
|
|
13
|
+
get x(): number;
|
|
14
|
+
get y(): number;
|
|
15
|
+
scrollTo(scrollArg: {
|
|
16
|
+
x?: number;
|
|
17
|
+
y?: number;
|
|
18
|
+
}): void;
|
|
19
|
+
addScrollEndListener(handler: (x: number, y: number) => void): void;
|
|
20
|
+
removeScrollEndListener(handler: (x: number, y: number) => void): void;
|
|
21
|
+
bindScroller(scroller: Scroller): () => void;
|
|
22
|
+
assignMaster(masterScroller: Scroller): void;
|
|
72
23
|
}
|
|
73
24
|
|
|
74
|
-
export {
|
|
25
|
+
export { ScrollerSyncer };
|