Нет описания

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323
  1. // Generated by dts-bundle v0.7.3-fork.1
  2. // Dependencies for this module:
  3. // ../../../../../@fullcalendar/core
  4. declare module '@fullcalendar/interaction' {
  5. import FeaturefulElementDragging from '@fullcalendar/interaction/dnd/FeaturefulElementDragging';
  6. const _default: import("@fullcalendar/core").PluginDef;
  7. export default _default;
  8. export { FeaturefulElementDragging };
  9. export { default as PointerDragging } from '@fullcalendar/interaction/dnd/PointerDragging';
  10. export { default as Draggable } from '@fullcalendar/interaction/interactions-external/ExternalDraggable';
  11. export { default as ThirdPartyDraggable } from '@fullcalendar/interaction/interactions-external/ThirdPartyDraggable';
  12. }
  13. declare module '@fullcalendar/interaction/dnd/FeaturefulElementDragging' {
  14. import { PointerDragEvent, ElementDragging } from '@fullcalendar/core';
  15. import PointerDragging from '@fullcalendar/interaction/dnd/PointerDragging';
  16. import ElementMirror from '@fullcalendar/interaction/dnd/ElementMirror';
  17. import AutoScroller from '@fullcalendar/interaction/dnd/AutoScroller';
  18. export { FeaturefulElementDragging as default, FeaturefulElementDragging };
  19. class FeaturefulElementDragging extends ElementDragging {
  20. pointer: PointerDragging;
  21. mirror: ElementMirror;
  22. autoScroller: AutoScroller;
  23. delay: number | null;
  24. minDistance: number;
  25. touchScrollAllowed: boolean;
  26. mirrorNeedsRevert: boolean;
  27. isInteracting: boolean;
  28. isDragging: boolean;
  29. isDelayEnded: boolean;
  30. isDistanceSurpassed: boolean;
  31. delayTimeoutId: number | null;
  32. constructor(containerEl: HTMLElement);
  33. destroy(): void;
  34. onPointerDown: (ev: PointerDragEvent) => void;
  35. onPointerMove: (ev: PointerDragEvent) => void;
  36. onPointerUp: (ev: PointerDragEvent) => void;
  37. startDelay(ev: PointerDragEvent): void;
  38. handleDelayEnd(ev: PointerDragEvent): void;
  39. handleDistanceSurpassed(ev: PointerDragEvent): void;
  40. tryStartDrag(ev: PointerDragEvent): void;
  41. tryStopDrag(ev: PointerDragEvent): void;
  42. stopDrag(ev: PointerDragEvent): void;
  43. setIgnoreMove(bool: boolean): void;
  44. setMirrorIsVisible(bool: boolean): void;
  45. setMirrorNeedsRevert(bool: boolean): void;
  46. setAutoScrollEnabled(bool: boolean): void;
  47. }
  48. }
  49. declare module '@fullcalendar/interaction/dnd/PointerDragging' {
  50. import { EmitterMixin, PointerDragEvent } from '@fullcalendar/core';
  51. export { PointerDragging as default, PointerDragging };
  52. class PointerDragging {
  53. containerEl: EventTarget;
  54. subjectEl: HTMLElement | null;
  55. downEl: HTMLElement | null;
  56. emitter: EmitterMixin;
  57. selector: string;
  58. handleSelector: string;
  59. shouldIgnoreMove: boolean;
  60. shouldWatchScroll: boolean;
  61. isDragging: boolean;
  62. isTouchDragging: boolean;
  63. wasTouchScroll: boolean;
  64. origPageX: number;
  65. origPageY: number;
  66. prevPageX: number;
  67. prevPageY: number;
  68. prevScrollX: number;
  69. prevScrollY: number;
  70. constructor(containerEl: EventTarget);
  71. destroy(): void;
  72. tryStart(ev: UIEvent): boolean;
  73. cleanup(): void;
  74. querySubjectEl(ev: UIEvent): HTMLElement;
  75. handleMouseDown: (ev: MouseEvent) => void;
  76. handleMouseMove: (ev: MouseEvent) => void;
  77. handleMouseUp: (ev: MouseEvent) => void;
  78. shouldIgnoreMouse(): number | boolean;
  79. handleTouchStart: (ev: TouchEvent) => void;
  80. handleTouchMove: (ev: TouchEvent) => void;
  81. handleTouchEnd: (ev: TouchEvent) => void;
  82. handleTouchScroll: () => void;
  83. cancelTouchScroll(): void;
  84. initScrollWatch(ev: PointerDragEvent): void;
  85. recordCoords(ev: PointerDragEvent): void;
  86. handleScroll: (ev: UIEvent) => void;
  87. destroyScrollWatch(): void;
  88. createEventFromMouse(ev: MouseEvent, isFirst?: boolean): PointerDragEvent;
  89. createEventFromTouch(ev: TouchEvent, isFirst?: boolean): PointerDragEvent;
  90. }
  91. }
  92. declare module '@fullcalendar/interaction/interactions-external/ExternalDraggable' {
  93. import { PointerDragEvent } from '@fullcalendar/core';
  94. import FeaturefulElementDragging from '@fullcalendar/interaction/dnd/FeaturefulElementDragging';
  95. import { DragMetaGenerator } from '@fullcalendar/interaction/interactions-external/ExternalElementDragging';
  96. export interface ExternalDraggableSettings {
  97. eventData?: DragMetaGenerator;
  98. itemSelector?: string;
  99. minDistance?: number;
  100. longPressDelay?: number;
  101. appendTo?: HTMLElement;
  102. }
  103. export { ExternalDraggable as default, ExternalDraggable };
  104. class ExternalDraggable {
  105. dragging: FeaturefulElementDragging;
  106. settings: ExternalDraggableSettings;
  107. constructor(el: HTMLElement, settings?: ExternalDraggableSettings);
  108. handlePointerDown: (ev: PointerDragEvent) => void;
  109. handleDragStart: (ev: PointerDragEvent) => void;
  110. destroy(): void;
  111. }
  112. }
  113. declare module '@fullcalendar/interaction/interactions-external/ThirdPartyDraggable' {
  114. import { DragMetaGenerator } from '@fullcalendar/interaction/interactions-external/ExternalElementDragging';
  115. import InferredElementDragging from '@fullcalendar/interaction/interactions-external/InferredElementDragging';
  116. export interface ThirdPartyDraggableSettings {
  117. eventData?: DragMetaGenerator;
  118. itemSelector?: string;
  119. mirrorSelector?: string;
  120. }
  121. export { ThirdPartyDraggable as default, ThirdPartyDraggable };
  122. class ThirdPartyDraggable {
  123. dragging: InferredElementDragging;
  124. constructor(containerOrSettings?: EventTarget | ThirdPartyDraggableSettings, settings?: ThirdPartyDraggableSettings);
  125. destroy(): void;
  126. }
  127. }
  128. declare module '@fullcalendar/interaction/dnd/ElementMirror' {
  129. import { Rect } from '@fullcalendar/core';
  130. export { ElementMirror as default, ElementMirror };
  131. class ElementMirror {
  132. isVisible: boolean;
  133. origScreenX?: number;
  134. origScreenY?: number;
  135. deltaX?: number;
  136. deltaY?: number;
  137. sourceEl: HTMLElement | null;
  138. mirrorEl: HTMLElement | null;
  139. sourceElRect: Rect | null;
  140. parentNode: HTMLElement;
  141. zIndex: number;
  142. revertDuration: number;
  143. start(sourceEl: HTMLElement, pageX: number, pageY: number): void;
  144. handleMove(pageX: number, pageY: number): void;
  145. setIsVisible(bool: boolean): void;
  146. stop(needsRevertAnimation: boolean, callback: () => void): void;
  147. doRevertAnimation(callback: () => void, revertDuration: number): void;
  148. cleanup(): void;
  149. updateElPosition(): void;
  150. getMirrorEl(): HTMLElement;
  151. }
  152. }
  153. declare module '@fullcalendar/interaction/dnd/AutoScroller' {
  154. import { ScrollGeomCache } from '@fullcalendar/interaction/scroll-geom-cache';
  155. export { AutoScroller as default, AutoScroller };
  156. class AutoScroller {
  157. isEnabled: boolean;
  158. scrollQuery: (Window | string)[];
  159. edgeThreshold: number;
  160. maxVelocity: number;
  161. pointerScreenX: number | null;
  162. pointerScreenY: number | null;
  163. isAnimating: boolean;
  164. scrollCaches: ScrollGeomCache[] | null;
  165. msSinceRequest?: number;
  166. everMovedUp: boolean;
  167. everMovedDown: boolean;
  168. everMovedLeft: boolean;
  169. everMovedRight: boolean;
  170. start(pageX: number, pageY: number): void;
  171. handleMove(pageX: number, pageY: number): void;
  172. stop(): void;
  173. requestAnimation(now: number): void;
  174. }
  175. }
  176. declare module '@fullcalendar/interaction/interactions-external/ExternalElementDragging' {
  177. import { Hit, PointerDragEvent, EventTuple, DatePointApi, Calendar, EventInteractionState, DragMetaInput, DragMeta, View, ElementDragging } from '@fullcalendar/core';
  178. import HitDragging from '@fullcalendar/interaction/interactions/HitDragging';
  179. export type DragMetaGenerator = DragMetaInput | ((el: HTMLElement) => DragMetaInput);
  180. export interface ExternalDropApi extends DatePointApi {
  181. draggedEl: HTMLElement;
  182. jsEvent: UIEvent;
  183. view: View;
  184. }
  185. export { ExternalElementDragging as default, ExternalElementDragging };
  186. class ExternalElementDragging {
  187. hitDragging: HitDragging;
  188. receivingCalendar: Calendar | null;
  189. droppableEvent: EventTuple | null;
  190. suppliedDragMeta: DragMetaGenerator | null;
  191. dragMeta: DragMeta | null;
  192. constructor(dragging: ElementDragging, suppliedDragMeta?: DragMetaGenerator);
  193. handleDragStart: (ev: PointerDragEvent) => void;
  194. buildDragMeta(subjectEl: HTMLElement): DragMeta;
  195. handleHitUpdate: (hit: Hit, isFinal: boolean, ev: PointerDragEvent) => void;
  196. handleDragEnd: (pev: PointerDragEvent) => void;
  197. displayDrag(nextCalendar: Calendar | null, state: EventInteractionState): void;
  198. clearDrag(): void;
  199. canDropElOnCalendar(el: HTMLElement, receivingCalendar: Calendar): boolean;
  200. }
  201. }
  202. declare module '@fullcalendar/interaction/interactions-external/InferredElementDragging' {
  203. import { PointerDragEvent, ElementDragging } from '@fullcalendar/core';
  204. import PointerDragging from '@fullcalendar/interaction/dnd/PointerDragging';
  205. export { InferredElementDragging as default, InferredElementDragging };
  206. class InferredElementDragging extends ElementDragging {
  207. pointer: PointerDragging;
  208. shouldIgnoreMove: boolean;
  209. mirrorSelector: string;
  210. currentMirrorEl: HTMLElement | null;
  211. constructor(containerEl: HTMLElement);
  212. destroy(): void;
  213. handlePointerDown: (ev: PointerDragEvent) => void;
  214. handlePointerMove: (ev: PointerDragEvent) => void;
  215. handlePointerUp: (ev: PointerDragEvent) => void;
  216. setIgnoreMove(bool: boolean): void;
  217. setMirrorIsVisible(bool: boolean): void;
  218. }
  219. }
  220. declare module '@fullcalendar/interaction/scroll-geom-cache' {
  221. import { Rect, ScrollController } from '@fullcalendar/core';
  222. export abstract class ScrollGeomCache extends ScrollController {
  223. clientRect: Rect;
  224. origScrollTop: number;
  225. origScrollLeft: number;
  226. protected scrollController: ScrollController;
  227. protected doesListening: boolean;
  228. protected scrollTop: number;
  229. protected scrollLeft: number;
  230. protected scrollWidth: number;
  231. protected scrollHeight: number;
  232. protected clientWidth: number;
  233. protected clientHeight: number;
  234. constructor(scrollController: ScrollController, doesListening: boolean);
  235. abstract getEventTarget(): EventTarget;
  236. abstract computeClientRect(): Rect;
  237. destroy(): void;
  238. handleScroll: () => void;
  239. getScrollTop(): number;
  240. getScrollLeft(): number;
  241. setScrollTop(top: number): void;
  242. setScrollLeft(top: number): void;
  243. getClientWidth(): number;
  244. getClientHeight(): number;
  245. getScrollWidth(): number;
  246. getScrollHeight(): number;
  247. handleScrollChange(): void;
  248. }
  249. export class ElementScrollGeomCache extends ScrollGeomCache {
  250. constructor(el: HTMLElement, doesListening: boolean);
  251. getEventTarget(): EventTarget;
  252. computeClientRect(): {
  253. left: number;
  254. right: number;
  255. top: number;
  256. bottom: number;
  257. };
  258. }
  259. export class WindowScrollGeomCache extends ScrollGeomCache {
  260. constructor(doesListening: boolean);
  261. getEventTarget(): EventTarget;
  262. computeClientRect(): Rect;
  263. handleScrollChange(): void;
  264. }
  265. }
  266. declare module '@fullcalendar/interaction/interactions/HitDragging' {
  267. import { EmitterMixin, PointerDragEvent, Point, Hit, InteractionSettingsStore, ElementDragging } from '@fullcalendar/core';
  268. import OffsetTracker from '@fullcalendar/interaction/OffsetTracker';
  269. export { HitDragging as default, HitDragging };
  270. class HitDragging {
  271. droppableStore: InteractionSettingsStore;
  272. dragging: ElementDragging;
  273. emitter: EmitterMixin;
  274. useSubjectCenter: boolean;
  275. requireInitial: boolean;
  276. offsetTrackers: {
  277. [componentUid: string]: OffsetTracker;
  278. };
  279. initialHit: Hit | null;
  280. movingHit: Hit | null;
  281. finalHit: Hit | null;
  282. coordAdjust?: Point;
  283. constructor(dragging: ElementDragging, droppableStore: InteractionSettingsStore);
  284. handlePointerDown: (ev: PointerDragEvent) => void;
  285. processFirstCoord(ev: PointerDragEvent): void;
  286. handleDragStart: (ev: PointerDragEvent) => void;
  287. handleDragMove: (ev: PointerDragEvent) => void;
  288. handlePointerUp: (ev: PointerDragEvent) => void;
  289. handleDragEnd: (ev: PointerDragEvent) => void;
  290. handleMove(ev: PointerDragEvent, forceHandle?: boolean): void;
  291. prepareHits(): void;
  292. releaseHits(): void;
  293. queryHitForOffset(offsetLeft: number, offsetTop: number): Hit | null;
  294. }
  295. export function isHitsEqual(hit0: Hit | null, hit1: Hit | null): boolean;
  296. }
  297. declare module '@fullcalendar/interaction/OffsetTracker' {
  298. import { Rect } from '@fullcalendar/core';
  299. import { ElementScrollGeomCache } from '@fullcalendar/interaction/scroll-geom-cache';
  300. export { OffsetTracker as default, OffsetTracker };
  301. class OffsetTracker {
  302. scrollCaches: ElementScrollGeomCache[];
  303. origRect: Rect;
  304. constructor(el: HTMLElement);
  305. destroy(): void;
  306. computeLeft(): number;
  307. computeTop(): number;
  308. isWithinClipping(pageX: number, pageY: number): boolean;
  309. }
  310. }