@fullcalendar/interaction 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.d.ts +179 -279
- package/main.esm.js +2132 -0
- package/main.js +11 -11
- package/main.min.js +2 -17
- package/package.json +4 -4
- package/main.js.map +0 -1
package/main.d.ts
CHANGED
|
@@ -1,5 +1,56 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
// Generated by dts-bundle v0.7.3-fork.1
|
|
2
|
+
// Dependencies for this module:
|
|
3
|
+
// ../../../../../@fullcalendar/core
|
|
4
|
+
|
|
5
|
+
declare module '@fullcalendar/interaction' {
|
|
6
|
+
import FeaturefulElementDragging from '@fullcalendar/interaction/dnd/FeaturefulElementDragging';
|
|
7
|
+
const _default: import("@fullcalendar/core").PluginDef;
|
|
8
|
+
export default _default;
|
|
9
|
+
export { FeaturefulElementDragging };
|
|
10
|
+
export { default as PointerDragging } from '@fullcalendar/interaction/dnd/PointerDragging';
|
|
11
|
+
export { default as Draggable } from '@fullcalendar/interaction/interactions-external/ExternalDraggable';
|
|
12
|
+
export { default as ThirdPartyDraggable } from '@fullcalendar/interaction/interactions-external/ThirdPartyDraggable';
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
declare module '@fullcalendar/interaction/dnd/FeaturefulElementDragging' {
|
|
16
|
+
import { PointerDragEvent, ElementDragging } from '@fullcalendar/core';
|
|
17
|
+
import PointerDragging from '@fullcalendar/interaction/dnd/PointerDragging';
|
|
18
|
+
import ElementMirror from '@fullcalendar/interaction/dnd/ElementMirror';
|
|
19
|
+
import AutoScroller from '@fullcalendar/interaction/dnd/AutoScroller';
|
|
20
|
+
export { FeaturefulElementDragging as default, FeaturefulElementDragging };
|
|
21
|
+
class FeaturefulElementDragging extends ElementDragging {
|
|
22
|
+
pointer: PointerDragging;
|
|
23
|
+
mirror: ElementMirror;
|
|
24
|
+
autoScroller: AutoScroller;
|
|
25
|
+
delay: number | null;
|
|
26
|
+
minDistance: number;
|
|
27
|
+
touchScrollAllowed: boolean;
|
|
28
|
+
mirrorNeedsRevert: boolean;
|
|
29
|
+
isInteracting: boolean;
|
|
30
|
+
isDragging: boolean;
|
|
31
|
+
isDelayEnded: boolean;
|
|
32
|
+
isDistanceSurpassed: boolean;
|
|
33
|
+
delayTimeoutId: number | null;
|
|
34
|
+
constructor(containerEl: HTMLElement);
|
|
35
|
+
destroy(): void;
|
|
36
|
+
onPointerDown: (ev: PointerDragEvent) => void;
|
|
37
|
+
onPointerMove: (ev: PointerDragEvent) => void;
|
|
38
|
+
onPointerUp: (ev: PointerDragEvent) => void;
|
|
39
|
+
startDelay(ev: PointerDragEvent): void;
|
|
40
|
+
handleDelayEnd(ev: PointerDragEvent): void;
|
|
41
|
+
handleDistanceSurpassed(ev: PointerDragEvent): void;
|
|
42
|
+
tryStartDrag(ev: PointerDragEvent): void;
|
|
43
|
+
tryStopDrag(ev: PointerDragEvent): void;
|
|
44
|
+
stopDrag(ev: PointerDragEvent): void;
|
|
45
|
+
setIgnoreMove(bool: boolean): void;
|
|
46
|
+
setMirrorIsVisible(bool: boolean): void;
|
|
47
|
+
setMirrorNeedsRevert(bool: boolean): void;
|
|
48
|
+
setAutoScrollEnabled(bool: boolean): void;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
declare module '@fullcalendar/interaction/dnd/PointerDragging' {
|
|
53
|
+
import { EmitterMixin, PointerDragEvent } from '@fullcalendar/core';
|
|
3
54
|
export { PointerDragging as default, PointerDragging };
|
|
4
55
|
class PointerDragging {
|
|
5
56
|
containerEl: EventTarget;
|
|
@@ -42,8 +93,46 @@ declare module "@fullcalendar/interaction/dnd/PointerDragging" {
|
|
|
42
93
|
}
|
|
43
94
|
}
|
|
44
95
|
|
|
45
|
-
declare module
|
|
46
|
-
import {
|
|
96
|
+
declare module '@fullcalendar/interaction/interactions-external/ExternalDraggable' {
|
|
97
|
+
import { PointerDragEvent } from '@fullcalendar/core';
|
|
98
|
+
import FeaturefulElementDragging from '@fullcalendar/interaction/dnd/FeaturefulElementDragging';
|
|
99
|
+
import { DragMetaGenerator } from '@fullcalendar/interaction/interactions-external/ExternalElementDragging';
|
|
100
|
+
export interface ExternalDraggableSettings {
|
|
101
|
+
eventData?: DragMetaGenerator;
|
|
102
|
+
itemSelector?: string;
|
|
103
|
+
minDistance?: number;
|
|
104
|
+
longPressDelay?: number;
|
|
105
|
+
appendTo?: HTMLElement;
|
|
106
|
+
}
|
|
107
|
+
export { ExternalDraggable as default, ExternalDraggable };
|
|
108
|
+
class ExternalDraggable {
|
|
109
|
+
dragging: FeaturefulElementDragging;
|
|
110
|
+
settings: ExternalDraggableSettings;
|
|
111
|
+
constructor(el: HTMLElement, settings?: ExternalDraggableSettings);
|
|
112
|
+
handlePointerDown: (ev: PointerDragEvent) => void;
|
|
113
|
+
handleDragStart: (ev: PointerDragEvent) => void;
|
|
114
|
+
destroy(): void;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
declare module '@fullcalendar/interaction/interactions-external/ThirdPartyDraggable' {
|
|
119
|
+
import { DragMetaGenerator } from '@fullcalendar/interaction/interactions-external/ExternalElementDragging';
|
|
120
|
+
import InferredElementDragging from '@fullcalendar/interaction/interactions-external/InferredElementDragging';
|
|
121
|
+
export interface ThirdPartyDraggableSettings {
|
|
122
|
+
eventData?: DragMetaGenerator;
|
|
123
|
+
itemSelector?: string;
|
|
124
|
+
mirrorSelector?: string;
|
|
125
|
+
}
|
|
126
|
+
export { ThirdPartyDraggable as default, ThirdPartyDraggable };
|
|
127
|
+
class ThirdPartyDraggable {
|
|
128
|
+
dragging: InferredElementDragging;
|
|
129
|
+
constructor(containerOrSettings?: EventTarget | ThirdPartyDraggableSettings, settings?: ThirdPartyDraggableSettings);
|
|
130
|
+
destroy(): void;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
declare module '@fullcalendar/interaction/dnd/ElementMirror' {
|
|
135
|
+
import { Rect } from '@fullcalendar/core';
|
|
47
136
|
export { ElementMirror as default, ElementMirror };
|
|
48
137
|
class ElementMirror {
|
|
49
138
|
isVisible: boolean;
|
|
@@ -68,8 +157,78 @@ declare module "@fullcalendar/interaction/dnd/ElementMirror" {
|
|
|
68
157
|
}
|
|
69
158
|
}
|
|
70
159
|
|
|
71
|
-
declare module
|
|
72
|
-
import {
|
|
160
|
+
declare module '@fullcalendar/interaction/dnd/AutoScroller' {
|
|
161
|
+
import { ScrollGeomCache } from '@fullcalendar/interaction/scroll-geom-cache';
|
|
162
|
+
export { AutoScroller as default, AutoScroller };
|
|
163
|
+
class AutoScroller {
|
|
164
|
+
isEnabled: boolean;
|
|
165
|
+
scrollQuery: (Window | string)[];
|
|
166
|
+
edgeThreshold: number;
|
|
167
|
+
maxVelocity: number;
|
|
168
|
+
pointerScreenX: number | null;
|
|
169
|
+
pointerScreenY: number | null;
|
|
170
|
+
isAnimating: boolean;
|
|
171
|
+
scrollCaches: ScrollGeomCache[] | null;
|
|
172
|
+
msSinceRequest?: number;
|
|
173
|
+
everMovedUp: boolean;
|
|
174
|
+
everMovedDown: boolean;
|
|
175
|
+
everMovedLeft: boolean;
|
|
176
|
+
everMovedRight: boolean;
|
|
177
|
+
start(pageX: number, pageY: number): void;
|
|
178
|
+
handleMove(pageX: number, pageY: number): void;
|
|
179
|
+
stop(): void;
|
|
180
|
+
requestAnimation(now: number): void;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
declare module '@fullcalendar/interaction/interactions-external/ExternalElementDragging' {
|
|
185
|
+
import { Hit, PointerDragEvent, EventTuple, DatePointApi, Calendar, EventInteractionState, DragMetaInput, DragMeta, View, ElementDragging } from '@fullcalendar/core';
|
|
186
|
+
import HitDragging from '@fullcalendar/interaction/interactions/HitDragging';
|
|
187
|
+
export type DragMetaGenerator = DragMetaInput | ((el: HTMLElement) => DragMetaInput);
|
|
188
|
+
export interface ExternalDropApi extends DatePointApi {
|
|
189
|
+
draggedEl: HTMLElement;
|
|
190
|
+
jsEvent: UIEvent;
|
|
191
|
+
view: View;
|
|
192
|
+
}
|
|
193
|
+
export { ExternalElementDragging as default, ExternalElementDragging };
|
|
194
|
+
class ExternalElementDragging {
|
|
195
|
+
hitDragging: HitDragging;
|
|
196
|
+
receivingCalendar: Calendar | null;
|
|
197
|
+
droppableEvent: EventTuple | null;
|
|
198
|
+
suppliedDragMeta: DragMetaGenerator | null;
|
|
199
|
+
dragMeta: DragMeta | null;
|
|
200
|
+
constructor(dragging: ElementDragging, suppliedDragMeta?: DragMetaGenerator);
|
|
201
|
+
handleDragStart: (ev: PointerDragEvent) => void;
|
|
202
|
+
buildDragMeta(subjectEl: HTMLElement): DragMeta;
|
|
203
|
+
handleHitUpdate: (hit: Hit, isFinal: boolean, ev: PointerDragEvent) => void;
|
|
204
|
+
handleDragEnd: (pev: PointerDragEvent) => void;
|
|
205
|
+
displayDrag(nextCalendar: Calendar | null, state: EventInteractionState): void;
|
|
206
|
+
clearDrag(): void;
|
|
207
|
+
canDropElOnCalendar(el: HTMLElement, receivingCalendar: Calendar): boolean;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
declare module '@fullcalendar/interaction/interactions-external/InferredElementDragging' {
|
|
212
|
+
import { PointerDragEvent, ElementDragging } from '@fullcalendar/core';
|
|
213
|
+
import PointerDragging from '@fullcalendar/interaction/dnd/PointerDragging';
|
|
214
|
+
export { InferredElementDragging as default, InferredElementDragging };
|
|
215
|
+
class InferredElementDragging extends ElementDragging {
|
|
216
|
+
pointer: PointerDragging;
|
|
217
|
+
shouldIgnoreMove: boolean;
|
|
218
|
+
mirrorSelector: string;
|
|
219
|
+
currentMirrorEl: HTMLElement | null;
|
|
220
|
+
constructor(containerEl: HTMLElement);
|
|
221
|
+
destroy(): void;
|
|
222
|
+
handlePointerDown: (ev: PointerDragEvent) => void;
|
|
223
|
+
handlePointerMove: (ev: PointerDragEvent) => void;
|
|
224
|
+
handlePointerUp: (ev: PointerDragEvent) => void;
|
|
225
|
+
setIgnoreMove(bool: boolean): void;
|
|
226
|
+
setMirrorIsVisible(bool: boolean): void;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
declare module '@fullcalendar/interaction/scroll-geom-cache' {
|
|
231
|
+
import { Rect, ScrollController } from '@fullcalendar/core';
|
|
73
232
|
export abstract class ScrollGeomCache extends ScrollController {
|
|
74
233
|
clientRect: Rect;
|
|
75
234
|
origScrollTop: number;
|
|
@@ -115,90 +274,9 @@ declare module "@fullcalendar/interaction/scroll-geom-cache" {
|
|
|
115
274
|
}
|
|
116
275
|
}
|
|
117
276
|
|
|
118
|
-
declare module
|
|
119
|
-
import {
|
|
120
|
-
|
|
121
|
-
class AutoScroller {
|
|
122
|
-
isEnabled: boolean;
|
|
123
|
-
scrollQuery: (Window | string)[];
|
|
124
|
-
edgeThreshold: number;
|
|
125
|
-
maxVelocity: number;
|
|
126
|
-
pointerScreenX: number | null;
|
|
127
|
-
pointerScreenY: number | null;
|
|
128
|
-
isAnimating: boolean;
|
|
129
|
-
scrollCaches: ScrollGeomCache[] | null;
|
|
130
|
-
msSinceRequest?: number;
|
|
131
|
-
everMovedUp: boolean;
|
|
132
|
-
everMovedDown: boolean;
|
|
133
|
-
everMovedLeft: boolean;
|
|
134
|
-
everMovedRight: boolean;
|
|
135
|
-
start(pageX: number, pageY: number): void;
|
|
136
|
-
handleMove(pageX: number, pageY: number): void;
|
|
137
|
-
stop(): void;
|
|
138
|
-
requestAnimation(now: number): void;
|
|
139
|
-
private animate;
|
|
140
|
-
private handleSide;
|
|
141
|
-
private computeBestEdge;
|
|
142
|
-
private buildCaches;
|
|
143
|
-
private queryScrollEls;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
declare module "@fullcalendar/interaction/dnd/FeaturefulElementDragging" {
|
|
148
|
-
import { PointerDragEvent, ElementDragging } from "@fullcalendar/core";
|
|
149
|
-
import PointerDragging from "@fullcalendar/interaction/dnd/PointerDragging";
|
|
150
|
-
import ElementMirror from "@fullcalendar/interaction/dnd/ElementMirror";
|
|
151
|
-
import AutoScroller from "@fullcalendar/interaction/dnd/AutoScroller";
|
|
152
|
-
export { FeaturefulElementDragging as default, FeaturefulElementDragging };
|
|
153
|
-
class FeaturefulElementDragging extends ElementDragging {
|
|
154
|
-
pointer: PointerDragging;
|
|
155
|
-
mirror: ElementMirror;
|
|
156
|
-
autoScroller: AutoScroller;
|
|
157
|
-
delay: number | null;
|
|
158
|
-
minDistance: number;
|
|
159
|
-
touchScrollAllowed: boolean;
|
|
160
|
-
mirrorNeedsRevert: boolean;
|
|
161
|
-
isInteracting: boolean;
|
|
162
|
-
isDragging: boolean;
|
|
163
|
-
isDelayEnded: boolean;
|
|
164
|
-
isDistanceSurpassed: boolean;
|
|
165
|
-
delayTimeoutId: number | null;
|
|
166
|
-
constructor(containerEl: HTMLElement);
|
|
167
|
-
destroy(): void;
|
|
168
|
-
onPointerDown: (ev: PointerDragEvent) => void;
|
|
169
|
-
onPointerMove: (ev: PointerDragEvent) => void;
|
|
170
|
-
onPointerUp: (ev: PointerDragEvent) => void;
|
|
171
|
-
startDelay(ev: PointerDragEvent): void;
|
|
172
|
-
handleDelayEnd(ev: PointerDragEvent): void;
|
|
173
|
-
handleDistanceSurpassed(ev: PointerDragEvent): void;
|
|
174
|
-
tryStartDrag(ev: PointerDragEvent): void;
|
|
175
|
-
tryStopDrag(ev: PointerDragEvent): void;
|
|
176
|
-
stopDrag(ev: PointerDragEvent): void;
|
|
177
|
-
setIgnoreMove(bool: boolean): void;
|
|
178
|
-
setMirrorIsVisible(bool: boolean): void;
|
|
179
|
-
setMirrorNeedsRevert(bool: boolean): void;
|
|
180
|
-
setAutoScrollEnabled(bool: boolean): void;
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
declare module "@fullcalendar/interaction/OffsetTracker" {
|
|
185
|
-
import { Rect } from "@fullcalendar/core";
|
|
186
|
-
import { ElementScrollGeomCache } from "@fullcalendar/interaction/scroll-geom-cache";
|
|
187
|
-
export { OffsetTracker as default, OffsetTracker };
|
|
188
|
-
class OffsetTracker {
|
|
189
|
-
scrollCaches: ElementScrollGeomCache[];
|
|
190
|
-
origRect: Rect;
|
|
191
|
-
constructor(el: HTMLElement);
|
|
192
|
-
destroy(): void;
|
|
193
|
-
computeLeft(): number;
|
|
194
|
-
computeTop(): number;
|
|
195
|
-
isWithinClipping(pageX: number, pageY: number): boolean;
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
declare module "@fullcalendar/interaction/interactions/HitDragging" {
|
|
200
|
-
import { EmitterMixin, PointerDragEvent, Point, Hit, InteractionSettingsStore, ElementDragging } from "@fullcalendar/core";
|
|
201
|
-
import OffsetTracker from "@fullcalendar/interaction/OffsetTracker";
|
|
277
|
+
declare module '@fullcalendar/interaction/interactions/HitDragging' {
|
|
278
|
+
import { EmitterMixin, PointerDragEvent, Point, Hit, InteractionSettingsStore, ElementDragging } from '@fullcalendar/core';
|
|
279
|
+
import OffsetTracker from '@fullcalendar/interaction/OffsetTracker';
|
|
202
280
|
export { HitDragging as default, HitDragging };
|
|
203
281
|
class HitDragging {
|
|
204
282
|
droppableStore: InteractionSettingsStore;
|
|
@@ -228,196 +306,18 @@ declare module "@fullcalendar/interaction/interactions/HitDragging" {
|
|
|
228
306
|
export function isHitsEqual(hit0: Hit | null, hit1: Hit | null): boolean;
|
|
229
307
|
}
|
|
230
308
|
|
|
231
|
-
declare module
|
|
232
|
-
import {
|
|
233
|
-
import
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
constructor(settings: InteractionSettings);
|
|
240
|
-
destroy(): void;
|
|
241
|
-
handlePointerDown: (ev: PointerDragEvent) => void;
|
|
242
|
-
handleDragEnd: (ev: PointerDragEvent) => void;
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
declare module "@fullcalendar/interaction/interactions/DateSelecting" {
|
|
247
|
-
import { Hit, DateSpan, PointerDragEvent, Interaction, InteractionSettings } from "@fullcalendar/core";
|
|
248
|
-
import HitDragging from "@fullcalendar/interaction/interactions/HitDragging";
|
|
249
|
-
import FeaturefulElementDragging from "@fullcalendar/interaction/dnd/FeaturefulElementDragging";
|
|
250
|
-
export { DateSelecting as default, DateSelecting };
|
|
251
|
-
class DateSelecting extends Interaction {
|
|
252
|
-
dragging: FeaturefulElementDragging;
|
|
253
|
-
hitDragging: HitDragging;
|
|
254
|
-
dragSelection: DateSpan | null;
|
|
255
|
-
constructor(settings: InteractionSettings);
|
|
256
|
-
destroy(): void;
|
|
257
|
-
handlePointerDown: (ev: PointerDragEvent) => void;
|
|
258
|
-
handleDragStart: (ev: PointerDragEvent) => void;
|
|
259
|
-
handleHitUpdate: (hit: Hit, isFinal: boolean) => void;
|
|
260
|
-
handlePointerUp: (pev: PointerDragEvent) => void;
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
declare module "@fullcalendar/interaction/interactions/EventDragging" {
|
|
265
|
-
import { Seg, PointerDragEvent, Hit, EventMutation, EventStore, Calendar, EventInteractionState, EventRenderRange, Interaction, InteractionSettings } from "@fullcalendar/core";
|
|
266
|
-
import HitDragging from "@fullcalendar/interaction/interactions/HitDragging";
|
|
267
|
-
import FeaturefulElementDragging from "@fullcalendar/interaction/dnd/FeaturefulElementDragging";
|
|
268
|
-
export { EventDragging as default, EventDragging };
|
|
269
|
-
class EventDragging extends Interaction {
|
|
270
|
-
static SELECTOR: string;
|
|
271
|
-
dragging: FeaturefulElementDragging;
|
|
272
|
-
hitDragging: HitDragging;
|
|
273
|
-
subjectSeg: Seg | null;
|
|
274
|
-
isDragging: boolean;
|
|
275
|
-
eventRange: EventRenderRange | null;
|
|
276
|
-
relevantEvents: EventStore | null;
|
|
277
|
-
receivingCalendar: Calendar | null;
|
|
278
|
-
validMutation: EventMutation | null;
|
|
279
|
-
mutatedRelevantEvents: EventStore | null;
|
|
280
|
-
constructor(settings: InteractionSettings);
|
|
281
|
-
destroy(): void;
|
|
282
|
-
handlePointerDown: (ev: PointerDragEvent) => void;
|
|
283
|
-
handleDragStart: (ev: PointerDragEvent) => void;
|
|
284
|
-
handleHitUpdate: (hit: Hit, isFinal: boolean) => void;
|
|
285
|
-
handlePointerUp: () => void;
|
|
286
|
-
handleDragEnd: (ev: PointerDragEvent) => void;
|
|
287
|
-
displayDrag(nextCalendar: Calendar | null, state: EventInteractionState): void;
|
|
288
|
-
clearDrag(): void;
|
|
289
|
-
cleanup(): void;
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
declare module "@fullcalendar/interaction/interactions/EventResizing" {
|
|
294
|
-
import { Seg, Hit, EventMutation, PointerDragEvent, EventStore, EventRenderRange, Interaction, InteractionSettings } from "@fullcalendar/core";
|
|
295
|
-
import HitDragging from "@fullcalendar/interaction/interactions/HitDragging";
|
|
296
|
-
import FeaturefulElementDragging from "@fullcalendar/interaction/dnd/FeaturefulElementDragging";
|
|
297
|
-
export { EventDragging as default, EventDragging };
|
|
298
|
-
class EventDragging extends Interaction {
|
|
299
|
-
dragging: FeaturefulElementDragging;
|
|
300
|
-
hitDragging: HitDragging;
|
|
301
|
-
draggingSeg: Seg | null;
|
|
302
|
-
eventRange: EventRenderRange | null;
|
|
303
|
-
relevantEvents: EventStore | null;
|
|
304
|
-
validMutation: EventMutation | null;
|
|
305
|
-
mutatedRelevantEvents: EventStore | null;
|
|
306
|
-
constructor(settings: InteractionSettings);
|
|
307
|
-
destroy(): void;
|
|
308
|
-
handlePointerDown: (ev: PointerDragEvent) => void;
|
|
309
|
-
handleDragStart: (ev: PointerDragEvent) => void;
|
|
310
|
-
handleHitUpdate: (hit: Hit, isFinal: boolean, ev: PointerDragEvent) => void;
|
|
311
|
-
handleDragEnd: (ev: PointerDragEvent) => void;
|
|
312
|
-
querySeg(ev: PointerDragEvent): Seg | null;
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
declare module "@fullcalendar/interaction/interactions/UnselectAuto" {
|
|
317
|
-
import { Calendar, DateSelectionApi, PointerDragEvent } from "@fullcalendar/core";
|
|
318
|
-
import PointerDragging from "@fullcalendar/interaction/dnd/PointerDragging";
|
|
319
|
-
export { UnselectAuto as default, UnselectAuto };
|
|
320
|
-
class UnselectAuto {
|
|
321
|
-
calendar: Calendar;
|
|
322
|
-
documentPointer: PointerDragging;
|
|
323
|
-
isRecentPointerDateSelect: boolean;
|
|
324
|
-
constructor(calendar: Calendar);
|
|
325
|
-
destroy(): void;
|
|
326
|
-
onSelect: (selectInfo: DateSelectionApi) => void;
|
|
327
|
-
onDocumentPointerUp: (pev: PointerDragEvent) => void;
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
declare module "@fullcalendar/interaction/interactions-external/ExternalElementDragging" {
|
|
332
|
-
import { Hit, PointerDragEvent, EventTuple, DatePointApi, Calendar, EventInteractionState, DragMetaInput, DragMeta, View, ElementDragging } from "@fullcalendar/core";
|
|
333
|
-
import HitDragging from "@fullcalendar/interaction/interactions/HitDragging";
|
|
334
|
-
export type DragMetaGenerator = DragMetaInput | ((el: HTMLElement) => DragMetaInput);
|
|
335
|
-
export interface ExternalDropApi extends DatePointApi {
|
|
336
|
-
draggedEl: HTMLElement;
|
|
337
|
-
jsEvent: UIEvent;
|
|
338
|
-
view: View;
|
|
339
|
-
}
|
|
340
|
-
export { ExternalElementDragging as default, ExternalElementDragging };
|
|
341
|
-
class ExternalElementDragging {
|
|
342
|
-
hitDragging: HitDragging;
|
|
343
|
-
receivingCalendar: Calendar | null;
|
|
344
|
-
droppableEvent: EventTuple | null;
|
|
345
|
-
suppliedDragMeta: DragMetaGenerator | null;
|
|
346
|
-
dragMeta: DragMeta | null;
|
|
347
|
-
constructor(dragging: ElementDragging, suppliedDragMeta?: DragMetaGenerator);
|
|
348
|
-
handleDragStart: (ev: PointerDragEvent) => void;
|
|
349
|
-
buildDragMeta(subjectEl: HTMLElement): DragMeta;
|
|
350
|
-
handleHitUpdate: (hit: Hit, isFinal: boolean, ev: PointerDragEvent) => void;
|
|
351
|
-
handleDragEnd: (pev: PointerDragEvent) => void;
|
|
352
|
-
displayDrag(nextCalendar: Calendar | null, state: EventInteractionState): void;
|
|
353
|
-
clearDrag(): void;
|
|
354
|
-
canDropElOnCalendar(el: HTMLElement, receivingCalendar: Calendar): boolean;
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
declare module "@fullcalendar/interaction/interactions-external/ExternalDraggable" {
|
|
359
|
-
import { PointerDragEvent } from "@fullcalendar/core";
|
|
360
|
-
import FeaturefulElementDragging from "@fullcalendar/interaction/dnd/FeaturefulElementDragging";
|
|
361
|
-
import { DragMetaGenerator } from "@fullcalendar/interaction/interactions-external/ExternalElementDragging";
|
|
362
|
-
export interface ExternalDraggableSettings {
|
|
363
|
-
eventData?: DragMetaGenerator;
|
|
364
|
-
itemSelector?: string;
|
|
365
|
-
minDistance?: number;
|
|
366
|
-
longPressDelay?: number;
|
|
367
|
-
appendTo?: HTMLElement;
|
|
368
|
-
}
|
|
369
|
-
export { ExternalDraggable as default, ExternalDraggable };
|
|
370
|
-
class ExternalDraggable {
|
|
371
|
-
dragging: FeaturefulElementDragging;
|
|
372
|
-
settings: ExternalDraggableSettings;
|
|
373
|
-
constructor(el: HTMLElement, settings?: ExternalDraggableSettings);
|
|
374
|
-
handlePointerDown: (ev: PointerDragEvent) => void;
|
|
375
|
-
handleDragStart: (ev: PointerDragEvent) => void;
|
|
376
|
-
destroy(): void;
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
declare module "@fullcalendar/interaction/interactions-external/InferredElementDragging" {
|
|
381
|
-
import { PointerDragEvent, ElementDragging } from "@fullcalendar/core";
|
|
382
|
-
import PointerDragging from "@fullcalendar/interaction/dnd/PointerDragging";
|
|
383
|
-
export { InferredElementDragging as default, InferredElementDragging };
|
|
384
|
-
class InferredElementDragging extends ElementDragging {
|
|
385
|
-
pointer: PointerDragging;
|
|
386
|
-
shouldIgnoreMove: boolean;
|
|
387
|
-
mirrorSelector: string;
|
|
388
|
-
currentMirrorEl: HTMLElement | null;
|
|
389
|
-
constructor(containerEl: HTMLElement);
|
|
390
|
-
destroy(): void;
|
|
391
|
-
handlePointerDown: (ev: PointerDragEvent) => void;
|
|
392
|
-
handlePointerMove: (ev: PointerDragEvent) => void;
|
|
393
|
-
handlePointerUp: (ev: PointerDragEvent) => void;
|
|
394
|
-
setIgnoreMove(bool: boolean): void;
|
|
395
|
-
setMirrorIsVisible(bool: boolean): void;
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
declare module "@fullcalendar/interaction/interactions-external/ThirdPartyDraggable" {
|
|
400
|
-
import { DragMetaGenerator } from "@fullcalendar/interaction/interactions-external/ExternalElementDragging";
|
|
401
|
-
import InferredElementDragging from "@fullcalendar/interaction/interactions-external/InferredElementDragging";
|
|
402
|
-
export interface ThirdPartyDraggableSettings {
|
|
403
|
-
eventData?: DragMetaGenerator;
|
|
404
|
-
itemSelector?: string;
|
|
405
|
-
mirrorSelector?: string;
|
|
406
|
-
}
|
|
407
|
-
export { ThirdPartyDraggable as default, ThirdPartyDraggable };
|
|
408
|
-
class ThirdPartyDraggable {
|
|
409
|
-
dragging: InferredElementDragging;
|
|
410
|
-
constructor(containerOrSettings?: EventTarget | ThirdPartyDraggableSettings, settings?: ThirdPartyDraggableSettings);
|
|
309
|
+
declare module '@fullcalendar/interaction/OffsetTracker' {
|
|
310
|
+
import { Rect } from '@fullcalendar/core';
|
|
311
|
+
import { ElementScrollGeomCache } from '@fullcalendar/interaction/scroll-geom-cache';
|
|
312
|
+
export { OffsetTracker as default, OffsetTracker };
|
|
313
|
+
class OffsetTracker {
|
|
314
|
+
scrollCaches: ElementScrollGeomCache[];
|
|
315
|
+
origRect: Rect;
|
|
316
|
+
constructor(el: HTMLElement);
|
|
411
317
|
destroy(): void;
|
|
318
|
+
computeLeft(): number;
|
|
319
|
+
computeTop(): number;
|
|
320
|
+
isWithinClipping(pageX: number, pageY: number): boolean;
|
|
412
321
|
}
|
|
413
322
|
}
|
|
414
323
|
|
|
415
|
-
declare module "@fullcalendar/interaction" {
|
|
416
|
-
import FeaturefulElementDragging from "@fullcalendar/interaction/dnd/FeaturefulElementDragging";
|
|
417
|
-
const _default_8: import("@fullcalendar/core/plugin-system").PluginDef;
|
|
418
|
-
export default _default_8;
|
|
419
|
-
export { FeaturefulElementDragging };
|
|
420
|
-
export { default as PointerDragging } from "@fullcalendar/interaction/dnd/PointerDragging";
|
|
421
|
-
export { default as Draggable } from "@fullcalendar/interaction/interactions-external/ExternalDraggable";
|
|
422
|
-
export { default as ThirdPartyDraggable } from "@fullcalendar/interaction/interactions-external/ThirdPartyDraggable";
|
|
423
|
-
}
|