fullcalendar.d.ts 99 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677
  1. declare module 'fullcalendar/src/util' {
  2. import * as moment from 'moment';
  3. export function compensateScroll(rowEls: any, scrollbarWidths: any): void;
  4. export function uncompensateScroll(rowEls: any): void;
  5. export function disableCursor(): void;
  6. export function enableCursor(): void;
  7. export function distributeHeight(els: any, availableHeight: any, shouldRedistribute: any): void;
  8. export function undistributeHeight(els: any): void;
  9. export function matchCellWidths(els: any): number;
  10. export function subtractInnerElHeight(outerEl: any, innerEl: any): any;
  11. export function getScrollParent(el: any): any;
  12. export function getOuterRect(el: any, origin?: any): {
  13. left: number;
  14. right: any;
  15. top: number;
  16. bottom: any;
  17. };
  18. export function getClientRect(el: any, origin?: any): {
  19. left: number;
  20. right: any;
  21. top: number;
  22. bottom: any;
  23. };
  24. export function getContentRect(el: any, origin: any): {
  25. left: number;
  26. right: any;
  27. top: number;
  28. bottom: any;
  29. };
  30. export function getScrollbarWidths(el: any): any;
  31. export function isPrimaryMouseButton(ev: any): boolean;
  32. export function getEvX(ev: any): any;
  33. export function getEvY(ev: any): any;
  34. export function getEvIsTouch(ev: any): boolean;
  35. export function preventSelection(el: any): void;
  36. export function allowSelection(el: any): void;
  37. export function preventDefault(ev: any): void;
  38. export function intersectRects(rect1: any, rect2: any): false | {
  39. left: number;
  40. right: number;
  41. top: number;
  42. bottom: number;
  43. };
  44. export function constrainPoint(point: any, rect: any): {
  45. left: number;
  46. top: number;
  47. };
  48. export function getRectCenter(rect: any): {
  49. left: number;
  50. top: number;
  51. };
  52. export function diffPoints(point1: any, point2: any): {
  53. left: number;
  54. top: number;
  55. };
  56. export function parseFieldSpecs(input: any): any[];
  57. export function compareByFieldSpecs(obj1: any, obj2: any, fieldSpecs: any, obj1fallback?: any, obj2fallback?: any): any;
  58. export function compareByFieldSpec(obj1: any, obj2: any, fieldSpec: any, obj1fallback: any, obj2fallback: any): any;
  59. export function flexibleCompare(a: any, b: any): number;
  60. export const dayIDs: string[];
  61. export const unitsDesc: string[];
  62. export function diffDayTime(a: any, b: any): moment.Duration;
  63. export function diffDay(a: any, b: any): moment.Duration;
  64. export function diffByUnit(a: any, b: any, unit: any): moment.Duration;
  65. export function computeGreatestUnit(start: any, end?: any): any;
  66. export function computeDurationGreatestUnit(duration: any, durationInput: any): any;
  67. export function divideRangeByDuration(start: any, end: any, dur: any): number;
  68. export function divideDurationByDuration(dur1: any, dur2: any): number;
  69. export function multiplyDuration(dur: any, n: any): moment.Duration;
  70. export function durationHasTime(dur: any): boolean;
  71. export function isNativeDate(input: any): boolean;
  72. export function isTimeString(str: any): boolean;
  73. export function log(...args: any[]): any;
  74. export function warn(...args: any[]): any;
  75. export function mergeProps(propObjs: any, complexProps?: any): {};
  76. export function copyOwnProps(src: any, dest: any): void;
  77. export function hasOwnProp(obj: any, name: any): any;
  78. export function applyAll(functions: any, thisObj: any, args: any): any;
  79. export function removeMatching(array: any, testFunc: any): number;
  80. export function removeExact(array: any, exactVal: any): number;
  81. export function isArraysEqual(a0: any, a1: any): boolean;
  82. export function firstDefined(...args: any[]): any;
  83. export function htmlEscape(s: any): string;
  84. export function stripHtmlEntities(text: any): any;
  85. export function cssToStr(cssProps: any): string;
  86. export function attrsToStr(attrs: any): string;
  87. export function capitaliseFirstLetter(str: any): any;
  88. export function compareNumbers(a: any, b: any): number;
  89. export function isInt(n: any): boolean;
  90. export function proxy(obj: any, methodName: any): () => any;
  91. export function debounce(func: any, wait: any, immediate?: boolean): () => any;
  92. }
  93. declare module 'fullcalendar/Mixin' {
  94. export class Default {
  95. static mixInto(destClass: any): void;
  96. static mixOver(destClass: any): void;
  97. }
  98. export default Default;
  99. }
  100. declare module 'fullcalendar/EmitterMixin' {
  101. import Mixin from 'fullcalendar/Mixin';
  102. export interface EmitterInterface {
  103. on(types: any, handler: any): any;
  104. one(types: any, handler: any): any;
  105. off(types: any, handler: any): any;
  106. trigger(types: any, ...args: any[]): any;
  107. triggerWith(types: any, context: any, args: any): any;
  108. hasHandlers(type: any): any;
  109. }
  110. export class Default extends Mixin implements EmitterInterface {
  111. on(types: any, handler: any): this;
  112. one(types: any, handler: any): this;
  113. _prepareIntercept(handler: any): (ev: any, extra: any) => any;
  114. off(types: any, handler: any): this;
  115. trigger(types: any, ...args: any[]): this;
  116. triggerWith(types: any, context: any, args: any): this;
  117. hasHandlers(type: any): boolean;
  118. }
  119. export default Default;
  120. }
  121. declare module 'fullcalendar/TaskQueue' {
  122. import { EmitterInterface } from 'fullcalendar/EmitterMixin';
  123. export class Default {
  124. on: EmitterInterface['on'];
  125. one: EmitterInterface['one'];
  126. off: EmitterInterface['off'];
  127. trigger: EmitterInterface['trigger'];
  128. triggerWith: EmitterInterface['triggerWith'];
  129. hasHandlers: EmitterInterface['hasHandlers'];
  130. q: any;
  131. isPaused: boolean;
  132. isRunning: boolean;
  133. queue(...args: any[]): void;
  134. pause(): void;
  135. resume(): void;
  136. getIsIdle(): boolean;
  137. tryStart(): void;
  138. canRunNext(): any;
  139. runRemaining(): void;
  140. runTask(task: any): any;
  141. }
  142. export default Default;
  143. }
  144. declare module 'fullcalendar/RenderQueue' {
  145. import TaskQueue from 'fullcalendar/TaskQueue';
  146. export class Default extends TaskQueue {
  147. waitsByNamespace: any;
  148. waitNamespace: any;
  149. waitId: any;
  150. constructor(waitsByNamespace: any);
  151. queue(taskFunc: any, namespace: any, type: any): void;
  152. startWait(namespace: any, waitMs: any): void;
  153. delayWait(waitMs: any): void;
  154. spawnWait(waitMs: any): void;
  155. clearWait(): void;
  156. canRunNext(): boolean;
  157. runTask(task: any): void;
  158. compoundTask(newTask: any): boolean;
  159. }
  160. export default Default;
  161. }
  162. declare module 'fullcalendar/src/options' {
  163. export const globalDefaults: {
  164. titleRangeSeparator: string;
  165. monthYearFormat: string;
  166. defaultTimedEventDuration: string;
  167. defaultAllDayEventDuration: {
  168. days: number;
  169. };
  170. forceEventDuration: boolean;
  171. nextDayThreshold: string;
  172. columnHeader: boolean;
  173. defaultView: string;
  174. aspectRatio: number;
  175. header: {
  176. left: string;
  177. center: string;
  178. right: string;
  179. };
  180. weekends: boolean;
  181. weekNumbers: boolean;
  182. weekNumberTitle: string;
  183. weekNumberCalculation: string;
  184. scrollTime: string;
  185. minTime: string;
  186. maxTime: string;
  187. showNonCurrentDates: boolean;
  188. lazyFetching: boolean;
  189. startParam: string;
  190. endParam: string;
  191. timezoneParam: string;
  192. timezone: boolean;
  193. locale: any;
  194. isRTL: boolean;
  195. buttonText: {
  196. prev: string;
  197. next: string;
  198. prevYear: string;
  199. nextYear: string;
  200. year: string;
  201. today: string;
  202. month: string;
  203. week: string;
  204. day: string;
  205. };
  206. allDayText: string;
  207. agendaEventMinHeight: number;
  208. theme: boolean;
  209. dragOpacity: number;
  210. dragRevertDuration: number;
  211. dragScroll: boolean;
  212. unselectAuto: boolean;
  213. dropAccept: string;
  214. eventOrder: string;
  215. eventLimit: boolean;
  216. eventLimitText: string;
  217. eventLimitClick: string;
  218. dayPopoverFormat: string;
  219. handleWindowResize: boolean;
  220. windowResizeDelay: number;
  221. longPressDelay: number;
  222. };
  223. export const englishDefaults: {
  224. dayPopoverFormat: string;
  225. };
  226. export const rtlDefaults: {
  227. header: {
  228. left: string;
  229. center: string;
  230. right: string;
  231. };
  232. buttonIcons: {
  233. prev: string;
  234. next: string;
  235. prevYear: string;
  236. nextYear: string;
  237. };
  238. themeButtonIcons: {
  239. prev: string;
  240. next: string;
  241. nextYear: string;
  242. prevYear: string;
  243. };
  244. };
  245. export function mergeOptions(optionObjs: any): {};
  246. }
  247. declare module 'fullcalendar/Iterator' {
  248. export class Default {
  249. items: any;
  250. constructor(items: any);
  251. proxyCall(methodName: any, ...args: any[]): any[];
  252. }
  253. export default Default;
  254. }
  255. declare module 'fullcalendar/ListenerMixin' {
  256. import Mixin from 'fullcalendar/Mixin';
  257. export interface ListenerInterface {
  258. listenTo(other: any, arg: any, callback?: any): any;
  259. stopListeningTo(other: any, eventName?: any): any;
  260. }
  261. export class Default extends Mixin implements ListenerInterface {
  262. listenerId: any;
  263. listenTo(other: any, arg: any, callback?: any): void;
  264. stopListeningTo(other: any, eventName?: any): void;
  265. getListenerNamespace(): string;
  266. }
  267. export default Default;
  268. }
  269. declare module 'fullcalendar/GlobalEmitter' {
  270. import { EmitterInterface } from 'fullcalendar/EmitterMixin';
  271. import { ListenerInterface } from 'fullcalendar/ListenerMixin';
  272. export class Default {
  273. on: EmitterInterface['on'];
  274. one: EmitterInterface['one'];
  275. off: EmitterInterface['off'];
  276. trigger: EmitterInterface['trigger'];
  277. triggerWith: EmitterInterface['triggerWith'];
  278. hasHandlers: EmitterInterface['hasHandlers'];
  279. listenTo: ListenerInterface['listenTo'];
  280. stopListeningTo: ListenerInterface['stopListeningTo'];
  281. isTouching: boolean;
  282. mouseIgnoreDepth: number;
  283. handleScrollProxy: (ev: Event) => void;
  284. handleTouchMoveProxy: (ev: Event) => void;
  285. static get(): any;
  286. static needed(): void;
  287. static unneeded(): void;
  288. bind(): void;
  289. unbind(): void;
  290. handleTouchStart(ev: any): void;
  291. handleTouchMove(ev: any): void;
  292. handleTouchCancel(ev: any): void;
  293. handleTouchEnd(ev: any): void;
  294. handleMouseDown(ev: any): void;
  295. handleMouseMove(ev: any): void;
  296. handleMouseUp(ev: any): void;
  297. handleClick(ev: any): void;
  298. handleSelectStart(ev: any): void;
  299. handleContextMenu(ev: any): void;
  300. handleScroll(ev: any): void;
  301. stopTouch(ev: any, skipMouseIgnore?: boolean): void;
  302. startTouchMouseIgnore(): void;
  303. shouldIgnoreMouse(): boolean;
  304. }
  305. export default Default;
  306. }
  307. declare module 'fullcalendar/Toolbar' {
  308. export class Default {
  309. calendar: any;
  310. toolbarOptions: any;
  311. el: any;
  312. viewsWithButtons: any;
  313. constructor(calendar: any, toolbarOptions: any);
  314. setToolbarOptions(newToolbarOptions: any): void;
  315. render(): void;
  316. removeElement(): void;
  317. renderSection(position: any): JQuery;
  318. updateTitle(text: any): void;
  319. activateButton(buttonName: any): void;
  320. deactivateButton(buttonName: any): void;
  321. disableButton(buttonName: any): void;
  322. enableButton(buttonName: any): void;
  323. getViewsWithButtons(): any;
  324. }
  325. export default Default;
  326. }
  327. declare module 'fullcalendar/src/locale' {
  328. import * as moment from 'moment';
  329. export const localeOptionHash: {};
  330. export function populateInstanceComputableOptions(options: any): void;
  331. export function datepickerLocale(localeCode: any, dpLocaleCode: any, dpOptions: any): void;
  332. export function locale(localeCode: any, newFcOptions: any): void;
  333. export function getMomentLocaleData(localeCode: any): moment.Locale;
  334. }
  335. declare module 'fullcalendar/Class' {
  336. export class Default {
  337. static extend(members: any): any;
  338. static mixin(members: any): void;
  339. }
  340. export default Default;
  341. }
  342. declare module 'fullcalendar/Model' {
  343. import Class from 'fullcalendar/Class';
  344. import { EmitterInterface } from 'fullcalendar/EmitterMixin';
  345. import { ListenerInterface } from 'fullcalendar/ListenerMixin';
  346. export class Default extends Class {
  347. on: EmitterInterface['on'];
  348. one: EmitterInterface['one'];
  349. off: EmitterInterface['off'];
  350. trigger: EmitterInterface['trigger'];
  351. triggerWith: EmitterInterface['triggerWith'];
  352. hasHandlers: EmitterInterface['hasHandlers'];
  353. listenTo: ListenerInterface['listenTo'];
  354. stopListeningTo: ListenerInterface['stopListeningTo'];
  355. _props: any;
  356. _watchers: any;
  357. _globalWatchArgs: any;
  358. constructor();
  359. static watch(name: any, ...args: any[]): void;
  360. constructed(): void;
  361. applyGlobalWatchers(): void;
  362. has(name: any): boolean;
  363. get(name: any): any;
  364. set(name: any, val: any): void;
  365. reset(newProps: any): void;
  366. unset(name: any): void;
  367. setProps(newProps: any): void;
  368. watch(name: any, depList: any, startFunc: any, stopFunc?: any): void;
  369. unwatch(name: any): void;
  370. _watchDeps(depList: any, startFunc: any, stopFunc: any): {
  371. teardown: () => void;
  372. flash: () => void;
  373. };
  374. flash(name: any): void;
  375. }
  376. export default Default;
  377. }
  378. declare module 'fullcalendar/OptionsManager' {
  379. import Model from 'fullcalendar/Model';
  380. export class Default extends Model {
  381. _calendar: any;
  382. dirDefaults: any;
  383. localeDefaults: any;
  384. overrides: any;
  385. dynamicOverrides: any;
  386. constructor(_calendar: any, overrides: any);
  387. add(newOptionHash: any): void;
  388. compute(): void;
  389. recordOverrides(newOptionHash: any): void;
  390. }
  391. export default Default;
  392. }
  393. declare module 'fullcalendar/ViewRegistry' {
  394. export const viewHash: {};
  395. export function defineView(viewName: any, viewConfig: any): void;
  396. export function getViewConfig(viewName: any): any;
  397. }
  398. declare module 'fullcalendar/ViewSpecManager' {
  399. export class Default {
  400. _calendar: any;
  401. optionsManager: any;
  402. viewSpecCache: any;
  403. constructor(optionsManager: any, _calendar: any);
  404. clearCache(): void;
  405. getViewSpec(viewType: any): any;
  406. getUnitViewSpec(unit: any): any;
  407. buildViewSpec(requestedViewType: any): any;
  408. buildViewSpecOptions(spec: any): void;
  409. buildViewSpecButtonText(spec: any, requestedViewType: any): void;
  410. }
  411. export default Default;
  412. }
  413. declare module 'fullcalendar/Theme' {
  414. export class Default {
  415. optionsManager: any;
  416. classes: any;
  417. iconClasses: any;
  418. baseIconClass: string;
  419. iconOverrideOption: any;
  420. iconOverrideCustomButtonOption: any;
  421. iconOverridePrefix: string;
  422. constructor(optionsManager: any);
  423. processIconOverride(): void;
  424. setIconOverride(iconOverrideHash: any): void;
  425. applyIconOverridePrefix(className: any): any;
  426. getClass(key: any): any;
  427. getIconClass(buttonName: any): string;
  428. getCustomButtonIconClass(customButtonProps: any): string;
  429. }
  430. export default Default;
  431. }
  432. declare module 'fullcalendar/src/moment-ext' {
  433. import * as moment from 'moment';
  434. type MomentExtDuration = moment.Duration; module 'moment' {
  435. interface Moment {
  436. hasTime(): boolean;
  437. time(): MomentExtDuration;
  438. stripZone(): any;
  439. stripTime(): any;
  440. }
  441. } let newMomentProto: any; let oldMomentProto: any; function oldMomentFormat(mom: any, formatStr?: any): any;
  442. export { newMomentProto, oldMomentProto, oldMomentFormat }; const momentExt: any;
  443. export default momentExt;
  444. }
  445. declare module 'fullcalendar/UnzonedRange' {
  446. export class Default {
  447. startMs: number;
  448. endMs: number;
  449. isStart: boolean;
  450. isEnd: boolean;
  451. constructor(startInput?: any, endInput?: any);
  452. static invertRanges(ranges: any, constraintRange: any): any[];
  453. intersect(otherRange: any): any;
  454. intersectsWith(otherRange: any): boolean;
  455. containsRange(innerRange: any): boolean;
  456. containsDate(date: any): boolean;
  457. constrainDate(date: any): any;
  458. equals(otherRange: any): boolean;
  459. clone(): Default;
  460. getStart(): any;
  461. getEnd(): any;
  462. as(unit: any): number;
  463. }
  464. export default Default;
  465. }
  466. declare module 'fullcalendar/ComponentFootprint' {
  467. export class Default {
  468. unzonedRange: any;
  469. isAllDay: boolean;
  470. constructor(unzonedRange: any, isAllDay: any);
  471. toLegacy(calendar: any): {
  472. start: any;
  473. end: any;
  474. };
  475. }
  476. export default Default;
  477. }
  478. declare module 'fullcalendar/EventFootprint' {
  479. export class Default {
  480. componentFootprint: any;
  481. eventDef: any;
  482. eventInstance: any;
  483. constructor(componentFootprint: any, eventDef: any, eventInstance: any);
  484. getEventLegacy(): any;
  485. }
  486. export default Default;
  487. }
  488. declare module 'fullcalendar/ParsableModelMixin' {
  489. import Mixin from 'fullcalendar/Mixin';
  490. export interface ParsableModelInterface {
  491. applyProps(rawProps: any): any;
  492. applyManualStandardProps(rawProps: any): any;
  493. applyMiscProps(rawProps: any): any;
  494. isStandardProp(propName: any): any;
  495. }
  496. export class Default extends Mixin implements ParsableModelInterface {
  497. standardPropMap: any;
  498. static defineStandardProps(propDefs: any): void;
  499. static copyVerbatimStandardProps(src: any, dest: any): void;
  500. applyProps(rawProps: any): boolean;
  501. applyManualStandardProps(rawProps: any): boolean;
  502. applyMiscProps(rawProps: any): void;
  503. isStandardProp(propName: any): boolean;
  504. }
  505. export default Default;
  506. }
  507. declare module 'fullcalendar/EventDef' {
  508. import { default as ParsableModelMixin, ParsableModelInterface } from 'fullcalendar/ParsableModelMixin';
  509. export abstract class Default {
  510. static uuid: number;
  511. static defineStandardProps: typeof ParsableModelMixin.defineStandardProps;
  512. static copyVerbatimStandardProps: typeof ParsableModelMixin.copyVerbatimStandardProps;
  513. applyProps: ParsableModelInterface['applyProps'];
  514. isStandardProp: ParsableModelInterface['isStandardProp'];
  515. source: any;
  516. id: any;
  517. rawId: any;
  518. uid: any;
  519. title: any;
  520. url: any;
  521. rendering: any;
  522. constraint: any;
  523. overlap: any;
  524. editable: any;
  525. startEditable: any;
  526. durationEditable: any;
  527. color: any;
  528. backgroundColor: any;
  529. borderColor: any;
  530. textColor: any;
  531. className: any;
  532. miscProps: any;
  533. constructor(source: any);
  534. static parse(rawInput: any, source: any): any;
  535. static normalizeId(id: any): string;
  536. static generateId(): string;
  537. abstract isAllDay(): any;
  538. abstract buildInstances(unzonedRange: any): any;
  539. clone(): any;
  540. hasInverseRendering(): boolean;
  541. hasBgRendering(): boolean;
  542. getRendering(): any;
  543. getConstraint(): any;
  544. getOverlap(): any;
  545. isStartExplicitlyEditable(): any;
  546. isDurationExplicitlyEditable(): any;
  547. isExplicitlyEditable(): any;
  548. toLegacy(): any;
  549. applyManualStandardProps(rawProps: any): boolean;
  550. applyMiscProps(rawProps: any): void;
  551. }
  552. export default Default;
  553. }
  554. declare module 'fullcalendar/EventInstance' {
  555. export class Default {
  556. def: any;
  557. dateProfile: any;
  558. constructor(def: any, dateProfile: any);
  559. toLegacy(): any;
  560. }
  561. export default Default;
  562. }
  563. declare module 'fullcalendar/EventDateProfile' {
  564. import UnzonedRange from 'fullcalendar/UnzonedRange';
  565. export class Default {
  566. start: any;
  567. end: any;
  568. unzonedRange: any;
  569. constructor(start: any, end: any, calendar: any);
  570. static parse(rawProps: any, source: any): false | Default;
  571. static isStandardProp(propName: any): boolean;
  572. isAllDay(): boolean;
  573. buildUnzonedRange(calendar: any): UnzonedRange;
  574. getEnd(calendar: any): any;
  575. }
  576. export default Default;
  577. }
  578. declare module 'fullcalendar/SingleEventDef' {
  579. import EventDef from 'fullcalendar/EventDef';
  580. import EventInstance from 'fullcalendar/EventInstance';
  581. export class Default extends EventDef {
  582. dateProfile: any;
  583. buildInstances(): EventInstance[];
  584. buildInstance(): EventInstance;
  585. isAllDay(): any;
  586. clone(): any;
  587. rezone(): void;
  588. applyManualStandardProps(rawProps: any): boolean;
  589. }
  590. export default Default;
  591. }
  592. declare module 'fullcalendar/RecurringEventDef' {
  593. import EventDef from 'fullcalendar/EventDef';
  594. export class Default extends EventDef {
  595. startTime: any;
  596. endTime: any;
  597. dowHash: any;
  598. isAllDay(): boolean;
  599. buildInstances(unzonedRange: any): any[];
  600. setDow(dowNumbers: any): void;
  601. clone(): any;
  602. }
  603. export default Default;
  604. }
  605. declare module 'fullcalendar/EventDefParser' {
  606. const _default: {
  607. parse: (eventInput: any, source: any) => any;
  608. };
  609. export default _default;
  610. }
  611. declare module 'fullcalendar/EventSource' {
  612. import { default as ParsableModelMixin, ParsableModelInterface } from 'fullcalendar/ParsableModelMixin';
  613. import Class from 'fullcalendar/Class';
  614. import Calendar from 'fullcalendar/Calendar';
  615. export class Default extends Class {
  616. static uuid: number;
  617. static defineStandardProps: typeof ParsableModelMixin.defineStandardProps;
  618. static copyVerbatimStandardProps: typeof ParsableModelMixin.copyVerbatimStandardProps;
  619. applyProps: ParsableModelInterface['applyProps'];
  620. isStandardProp: ParsableModelInterface['isStandardProp'];
  621. calendar: Calendar;
  622. id: string;
  623. uid: string;
  624. color: string;
  625. backgroundColor: string;
  626. borderColor: string;
  627. textColor: string;
  628. className: string[];
  629. editable: boolean;
  630. startEditable: boolean;
  631. durationEditable: boolean;
  632. rendering: string | null;
  633. overlap: boolean;
  634. constraint: any;
  635. allDayDefault: boolean;
  636. eventDataTransform: any;
  637. constructor(calendar: any);
  638. static parse(rawInput: any, calendar: any): false | Default;
  639. static normalizeId(id: any): string;
  640. fetch(start: any, end: any, timezone: any): void;
  641. removeEventDefsById(eventDefId: any): void;
  642. removeAllEventDefs(): void;
  643. getPrimitive(otherSource: any): void;
  644. parseEventDefs(rawEventDefs: any): any[];
  645. parseEventDef(rawInput: any): any;
  646. applyManualStandardProps(rawProps: any): boolean;
  647. }
  648. export default Default;
  649. }
  650. declare module 'fullcalendar/EventRange' {
  651. export class Default {
  652. unzonedRange: any;
  653. eventDef: any;
  654. eventInstance: any;
  655. constructor(unzonedRange: any, eventDef: any, eventInstance?: any);
  656. }
  657. export default Default;
  658. }
  659. declare module 'fullcalendar/src/models/event/util' {
  660. import EventRange from 'fullcalendar/EventRange';
  661. import EventFootprint from 'fullcalendar/EventFootprint';
  662. export function eventDefsToEventInstances(eventDefs: any, unzonedRange: any): any[];
  663. export function eventInstanceToEventRange(eventInstance: any): EventRange;
  664. export function eventRangeToEventFootprint(eventRange: any): EventFootprint;
  665. export function eventInstanceToUnzonedRange(eventInstance: any): any;
  666. export function eventFootprintToComponentFootprint(eventFootprint: any): any;
  667. }
  668. declare module 'fullcalendar/Constraints' {
  669. import ComponentFootprint from 'fullcalendar/ComponentFootprint';
  670. import EventFootprint from 'fullcalendar/EventFootprint';
  671. export class Default {
  672. eventManager: any;
  673. _calendar: any;
  674. constructor(eventManager: any, _calendar: any);
  675. opt(name: any): any;
  676. isEventInstanceGroupAllowed(eventInstanceGroup: any): boolean;
  677. getPeerEventInstances(eventDef: any): any;
  678. isSelectionFootprintAllowed(componentFootprint: any): boolean;
  679. isFootprintAllowed(componentFootprint: any, peerEventFootprints: any, constraintVal: any, overlapVal: any, subjectEventInstance?: any): boolean;
  680. isFootprintWithinConstraints(componentFootprint: any, constraintFootprints: any): boolean;
  681. constraintValToFootprints(constraintVal: any, isAllDay: any): any[];
  682. buildCurrentBusinessFootprints(isAllDay: any): any[];
  683. eventInstancesToFootprints(eventInstances: any): any[];
  684. collectOverlapEventFootprints(peerEventFootprints: any, targetFootprint: any): any[];
  685. parseEventDefToInstances(eventInput: any): any;
  686. eventRangesToEventFootprints(eventRanges: any): any[];
  687. eventRangeToEventFootprints(eventRange: any): EventFootprint[];
  688. parseFootprints(rawInput: any): ComponentFootprint[];
  689. footprintContainsFootprint(outerFootprint: any, innerFootprint: any): any;
  690. footprintsIntersect(footprint0: any, footprint1: any): any;
  691. }
  692. export default Default;
  693. }
  694. declare module 'fullcalendar/Promise' {
  695. const PromiseStub: {
  696. construct: (executor: any) => JQueryPromise<{}>;
  697. resolve: (val: any) => JQueryPromise<{}>;
  698. reject: () => JQueryPromise<{}>;
  699. };
  700. export default PromiseStub;
  701. }
  702. declare module 'fullcalendar/EventInstanceGroup' {
  703. export class Default {
  704. eventInstances: any;
  705. explicitEventDef: any;
  706. constructor(eventInstances?: any);
  707. getAllEventRanges(constraintRange: any): any;
  708. sliceRenderRanges(constraintRange: any): any;
  709. sliceNormalRenderRanges(constraintRange: any): any[];
  710. sliceInverseRenderRanges(constraintRange: any): any;
  711. isInverse(): any;
  712. getEventDef(): any;
  713. }
  714. export default Default;
  715. }
  716. declare module 'fullcalendar/EventPeriod' {
  717. /// <reference types="jquery" />
  718. import * as moment from 'moment';
  719. import { EmitterInterface } from 'fullcalendar/EmitterMixin';
  720. import UnzonedRange from 'fullcalendar/UnzonedRange';
  721. export class Default {
  722. on: EmitterInterface['on'];
  723. one: EmitterInterface['one'];
  724. off: EmitterInterface['off'];
  725. trigger: EmitterInterface['trigger'];
  726. triggerWith: EmitterInterface['triggerWith'];
  727. hasHandlers: EmitterInterface['hasHandlers'];
  728. start: moment.Moment;
  729. end: moment.Moment;
  730. timezone: any;
  731. unzonedRange: UnzonedRange;
  732. requestsByUid: any;
  733. pendingCnt: number;
  734. freezeDepth: number;
  735. stuntedReleaseCnt: number;
  736. releaseCnt: number;
  737. eventDefsByUid: any;
  738. eventDefsById: any;
  739. eventInstanceGroupsById: any;
  740. constructor(start: any, end: any, timezone: any);
  741. isWithinRange(start: any, end: any): boolean;
  742. requestSources(sources: any): void;
  743. requestSource(source: any): void;
  744. purgeSource(source: any): void;
  745. purgeAllSources(): void;
  746. getEventDefByUid(eventDefUid: any): any;
  747. getEventDefsById(eventDefId: any): any;
  748. addEventDefs(eventDefs: any): void;
  749. addEventDef(eventDef: any): void;
  750. removeEventDefsById(eventDefId: any): void;
  751. removeAllEventDefs(): void;
  752. removeEventDef(eventDef: any): void;
  753. getEventInstances(): any[];
  754. getEventInstancesWithId(eventDefId: any): any;
  755. getEventInstancesWithoutId(eventDefId: any): any[];
  756. addEventInstance(eventInstance: any, eventDefId: any): void;
  757. removeEventInstancesForDef(eventDef: any): void;
  758. tryRelease(): void;
  759. release(): void;
  760. whenReleased(): JQueryPromise<{}>;
  761. freeze(): void;
  762. thaw(): void;
  763. }
  764. export default Default;
  765. }
  766. declare module 'fullcalendar/ArrayEventSource' {
  767. /// <reference types="jquery" />
  768. import EventSource from 'fullcalendar/EventSource';
  769. export class Default extends EventSource {
  770. rawEventDefs: any;
  771. eventDefs: any;
  772. currentTimezone: any;
  773. constructor(calendar: any);
  774. static parse(rawInput: any, calendar: any): any;
  775. setRawEventDefs(rawEventDefs: any): void;
  776. fetch(start: any, end: any, timezone: any): JQueryPromise<{}>;
  777. addEventDef(eventDef: any): void;
  778. removeEventDefsById(eventDefId: any): number;
  779. removeAllEventDefs(): void;
  780. getPrimitive(): any;
  781. applyManualStandardProps(rawProps: any): boolean;
  782. }
  783. export default Default;
  784. }
  785. declare module 'fullcalendar/EventSourceParser' {
  786. const _default: {
  787. sourceClasses: any[];
  788. registerClass: (EventSourceClass: any) => void;
  789. parse: (rawInput: any, calendar: any) => any;
  790. };
  791. export default _default;
  792. }
  793. declare module 'fullcalendar/EventManager' {
  794. import EventInstanceGroup from 'fullcalendar/EventInstanceGroup';
  795. import { EmitterInterface } from 'fullcalendar/EmitterMixin';
  796. import { ListenerInterface } from 'fullcalendar/ListenerMixin';
  797. export class Default {
  798. on: EmitterInterface['on'];
  799. one: EmitterInterface['one'];
  800. off: EmitterInterface['off'];
  801. trigger: EmitterInterface['trigger'];
  802. triggerWith: EmitterInterface['triggerWith'];
  803. hasHandlers: EmitterInterface['hasHandlers'];
  804. listenTo: ListenerInterface['listenTo'];
  805. stopListeningTo: ListenerInterface['stopListeningTo'];
  806. currentPeriod: any;
  807. calendar: any;
  808. stickySource: any;
  809. otherSources: any;
  810. constructor(calendar: any);
  811. requestEvents(start: any, end: any, timezone: any, force: any): any;
  812. addSource(eventSource: any): void;
  813. removeSource(doomedSource: any): void;
  814. removeAllSources(): void;
  815. refetchSource(eventSource: any): void;
  816. refetchAllSources(): void;
  817. getSources(): any[];
  818. multiQuerySources(matchInputs: any): any[];
  819. querySources(matchInput: any): any[];
  820. getSourceById(id: any): any;
  821. setPeriod(eventPeriod: any): void;
  822. bindPeriod(eventPeriod: any): void;
  823. unbindPeriod(eventPeriod: any): void;
  824. getEventDefByUid(uid: any): any;
  825. addEventDef(eventDef: any, isSticky: any): void;
  826. removeEventDefsById(eventId: any): void;
  827. removeAllEventDefs(): void;
  828. mutateEventsWithId(eventDefId: any, eventDefMutation: any): () => void;
  829. buildMutatedEventInstanceGroup(eventDefId: any, eventDefMutation: any): EventInstanceGroup;
  830. freeze(): void;
  831. thaw(): void;
  832. getEventDefsById(eventDefId: any): any;
  833. getEventInstances(): any;
  834. getEventInstancesWithId(eventDefId: any): any;
  835. getEventInstancesWithoutId(eventDefId: any): any;
  836. }
  837. export default Default;
  838. }
  839. declare module 'fullcalendar/BusinessHourGenerator' {
  840. export class Default {
  841. rawComplexDef: any;
  842. calendar: any;
  843. constructor(rawComplexDef: any, calendar: any);
  844. buildEventInstanceGroup(isAllDay: any, unzonedRange: any): any;
  845. buildEventDefs(isAllDay: any): any[];
  846. buildEventDef(isAllDay: any, rawDef: any): any;
  847. }
  848. export default Default;
  849. }
  850. declare module 'fullcalendar/EventDefDateMutation' {
  851. import EventDateProfile from 'fullcalendar/EventDateProfile';
  852. export class Default {
  853. clearEnd: boolean;
  854. forceTimed: boolean;
  855. forceAllDay: boolean;
  856. dateDelta: any;
  857. startDelta: any;
  858. endDelta: any;
  859. static createFromDiff(dateProfile0: any, dateProfile1: any, largeUnit: any): any;
  860. buildNewDateProfile(eventDateProfile: any, calendar: any): EventDateProfile;
  861. setDateDelta(dateDelta: any): void;
  862. setStartDelta(startDelta: any): void;
  863. setEndDelta(endDelta: any): void;
  864. isEmpty(): boolean;
  865. }
  866. export default Default;
  867. }
  868. declare module 'fullcalendar/EventDefMutation' {
  869. export class Default {
  870. dateMutation: any;
  871. eventDefId: any;
  872. className: any;
  873. verbatimStandardProps: any;
  874. miscProps: any;
  875. static createFromRawProps(eventInstance: any, rawProps: any, largeUnit: any): any;
  876. mutateSingle(eventDef: any): () => void;
  877. setDateMutation(dateMutation: any): void;
  878. isEmpty(): boolean;
  879. }
  880. export default Default;
  881. }
  882. declare module 'fullcalendar/StandardTheme' {
  883. import Theme from 'fullcalendar/Theme';
  884. export class Default extends Theme {
  885. }
  886. export default Default;
  887. }
  888. declare module 'fullcalendar/JqueryUiTheme' {
  889. import Theme from 'fullcalendar/Theme';
  890. export class Default extends Theme {
  891. }
  892. export default Default;
  893. }
  894. declare module 'fullcalendar/ThemeRegistry' {
  895. export function defineThemeSystem(themeName: any, themeClass: any): void;
  896. export function getThemeSystemClass(themeSetting: any): any;
  897. }
  898. declare module 'fullcalendar/Calendar' {
  899. /// <reference types="jquery" />
  900. import * as moment from 'moment';
  901. import Iterator from 'fullcalendar/Iterator';
  902. import { EmitterInterface } from 'fullcalendar/EmitterMixin';
  903. import { ListenerInterface } from 'fullcalendar/ListenerMixin';
  904. import Toolbar from 'fullcalendar/Toolbar';
  905. import OptionsManager from 'fullcalendar/OptionsManager';
  906. import ViewSpecManager from 'fullcalendar/ViewSpecManager';
  907. import View from 'fullcalendar/View';
  908. import Theme from 'fullcalendar/Theme';
  909. import Constraints from 'fullcalendar/Constraints';
  910. import UnzonedRange from 'fullcalendar/UnzonedRange';
  911. import ComponentFootprint from 'fullcalendar/ComponentFootprint';
  912. import EventDateProfile from 'fullcalendar/EventDateProfile';
  913. import EventManager from 'fullcalendar/EventManager';
  914. import BusinessHourGenerator from 'fullcalendar/BusinessHourGenerator';
  915. import EventSource from 'fullcalendar/EventSource';
  916. import { RangeInput, MomentInput, OptionsInput, EventObjectInput, EventSourceInput } from 'fullcalendar/src/types/input-types';
  917. export class Default {
  918. static defaults: any;
  919. static englishDefaults: any;
  920. static rtlDefaults: any;
  921. on: EmitterInterface['on'];
  922. one: EmitterInterface['one'];
  923. off: EmitterInterface['off'];
  924. trigger: EmitterInterface['trigger'];
  925. triggerWith: EmitterInterface['triggerWith'];
  926. hasHandlers: EmitterInterface['hasHandlers'];
  927. listenTo: ListenerInterface['listenTo'];
  928. stopListeningTo: ListenerInterface['stopListeningTo'];
  929. view: View;
  930. viewsByType: {
  931. [viewName: string]: View;
  932. };
  933. currentDate: moment.Moment;
  934. theme: Theme;
  935. eventManager: EventManager;
  936. constraints: Constraints;
  937. optionsManager: OptionsManager;
  938. viewSpecManager: ViewSpecManager;
  939. businessHourGenerator: BusinessHourGenerator;
  940. loadingLevel: number;
  941. defaultAllDayEventDuration: moment.Duration;
  942. defaultTimedEventDuration: moment.Duration;
  943. localeData: object;
  944. el: JQuery;
  945. contentEl: JQuery;
  946. suggestedViewHeight: number;
  947. ignoreUpdateViewSize: number;
  948. freezeContentHeightDepth: number;
  949. windowResizeProxy: any;
  950. header: Toolbar;
  951. footer: Toolbar;
  952. toolbarsManager: Iterator;
  953. constructor(el: JQuery, overrides: OptionsInput);
  954. constructed(): void;
  955. getView(): View;
  956. publiclyTrigger(name: string, triggerInfo: any): any;
  957. hasPublicHandlers(name: string): boolean;
  958. option(name: string | object, value?: any): any;
  959. opt(name: string): any;
  960. instantiateView(viewType: string): View;
  961. isValidViewType(viewType: string): boolean;
  962. changeView(viewName: string, dateOrRange: RangeInput | MomentInput): void;
  963. zoomTo(newDate: moment.Moment, viewType?: string): void;
  964. initCurrentDate(): void;
  965. prev(): void;
  966. next(): void;
  967. prevYear(): void;
  968. nextYear(): void;
  969. today(): void;
  970. gotoDate(zonedDateInput: any): void;
  971. incrementDate(delta: any): void;
  972. getDate(): moment.Moment;
  973. pushLoading(): void;
  974. popLoading(): void;
  975. render(): void;
  976. initialRender(): void;
  977. destroy(): void;
  978. elementVisible(): boolean;
  979. bindViewHandlers(view: any): void;
  980. unbindViewHandlers(view: any): void;
  981. renderView(viewType?: string): void;
  982. clearView(): void;
  983. reinitView(): void;
  984. getSuggestedViewHeight(): number;
  985. isHeightAuto(): boolean;
  986. updateViewSize(isResize?: boolean): boolean;
  987. calcSize(): void;
  988. _calcSize(): void;
  989. windowResize(ev: JQueryEventObject): void;
  990. freezeContentHeight(): void;
  991. forceFreezeContentHeight(): void;
  992. thawContentHeight(): void;
  993. initToolbars(): void;
  994. computeHeaderOptions(): {
  995. extraClasses: string;
  996. layout: any;
  997. };
  998. computeFooterOptions(): {
  999. extraClasses: string;
  1000. layout: any;
  1001. };
  1002. renderHeader(): void;
  1003. renderFooter(): void;
  1004. setToolbarsTitle(title: string): void;
  1005. updateToolbarButtons(dateProfile: any): void;
  1006. queryToolbarsHeight(): any;
  1007. select(zonedStartInput: MomentInput, zonedEndInput?: MomentInput): void;
  1008. unselect(): void;
  1009. buildSelectFootprint(zonedStartInput: MomentInput, zonedEndInput?: MomentInput): ComponentFootprint;
  1010. initMomentInternals(): void;
  1011. moment(...args: any[]): moment.Moment;
  1012. msToMoment(ms: number, forceAllDay: boolean): moment.Moment;
  1013. msToUtcMoment(ms: number, forceAllDay: boolean): moment.Moment;
  1014. localizeMoment(mom: any): void;
  1015. getIsAmbigTimezone(): boolean;
  1016. applyTimezone(date: moment.Moment): moment.Moment;
  1017. footprintToDateProfile(componentFootprint: any, ignoreEnd?: boolean): EventDateProfile;
  1018. getNow(): moment.Moment;
  1019. humanizeDuration(duration: moment.Duration): string;
  1020. parseUnzonedRange(rangeInput: RangeInput): UnzonedRange;
  1021. initEventManager(): void;
  1022. requestEvents(start: moment.Moment, end: moment.Moment): any;
  1023. getEventEnd(event: any): moment.Moment;
  1024. getDefaultEventEnd(allDay: boolean, zonedStart: moment.Moment): moment.Moment;
  1025. rerenderEvents(): void;
  1026. refetchEvents(): void;
  1027. renderEvents(eventInputs: EventObjectInput[], isSticky?: boolean): void;
  1028. renderEvent(eventInput: EventObjectInput, isSticky?: boolean): void;
  1029. removeEvents(legacyQuery: any): void;
  1030. clientEvents(legacyQuery: any): any;
  1031. updateEvents(eventPropsArray: EventObjectInput[]): void;
  1032. updateEvent(eventProps: EventObjectInput): void;
  1033. getEventSources(): EventSource;
  1034. getEventSourceById(id: any): EventSource;
  1035. addEventSource(sourceInput: EventSourceInput): void;
  1036. removeEventSources(sourceMultiQuery: any): void;
  1037. removeEventSource(sourceQuery: any): void;
  1038. refetchEventSources(sourceMultiQuery: any): void;
  1039. }
  1040. export default Default;
  1041. }
  1042. declare module 'fullcalendar/DateProfileGenerator' {
  1043. import * as moment from 'moment';
  1044. import UnzonedRange from 'fullcalendar/UnzonedRange';
  1045. export class Default {
  1046. _view: any;
  1047. constructor(_view: any);
  1048. opt(name: any): any;
  1049. trimHiddenDays(unzonedRange: any): any;
  1050. msToUtcMoment(ms: any, forceAllDay: any): any;
  1051. buildPrev(currentDateProfile: any): {
  1052. validUnzonedRange: any;
  1053. currentUnzonedRange: any;
  1054. currentRangeUnit: any;
  1055. isRangeAllDay: any;
  1056. activeUnzonedRange: any;
  1057. renderUnzonedRange: any;
  1058. minTime: any;
  1059. maxTime: any;
  1060. isValid: any;
  1061. date: any;
  1062. dateIncrement: any;
  1063. };
  1064. buildNext(currentDateProfile: any): {
  1065. validUnzonedRange: any;
  1066. currentUnzonedRange: any;
  1067. currentRangeUnit: any;
  1068. isRangeAllDay: any;
  1069. activeUnzonedRange: any;
  1070. renderUnzonedRange: any;
  1071. minTime: any;
  1072. maxTime: any;
  1073. isValid: any;
  1074. date: any;
  1075. dateIncrement: any;
  1076. };
  1077. build(date: any, direction: any, forceToValid?: boolean): {
  1078. validUnzonedRange: any;
  1079. currentUnzonedRange: any;
  1080. currentRangeUnit: any;
  1081. isRangeAllDay: any;
  1082. activeUnzonedRange: any;
  1083. renderUnzonedRange: any;
  1084. minTime: any;
  1085. maxTime: any;
  1086. isValid: any;
  1087. date: any;
  1088. dateIncrement: any;
  1089. };
  1090. buildValidRange(): any;
  1091. buildCurrentRangeInfo(date: any, direction: any): {
  1092. duration: any;
  1093. unit: any;
  1094. unzonedRange: any;
  1095. };
  1096. getFallbackDuration(): moment.Duration;
  1097. adjustActiveRange(unzonedRange: any, minTime: any, maxTime: any): UnzonedRange;
  1098. buildRangeFromDuration(date: any, direction: any, duration: any, unit: any): any;
  1099. buildRangeFromDayCount(date: any, direction: any, dayCount: any): UnzonedRange;
  1100. buildCustomVisibleRange(date: any): any;
  1101. buildRenderRange(currentUnzonedRange: any, currentRangeUnit: any, isRangeAllDay: any): any;
  1102. buildDateIncrement(fallback: any): any;
  1103. }
  1104. export default Default;
  1105. }
  1106. declare module 'fullcalendar/src/date-formatting' {
  1107. export function formatDate(date: any, formatStr: any): any;
  1108. export function formatRange(date1: any, date2: any, formatStr: any, separator: any, isRTL: any): any;
  1109. export function queryMostGranularFormatUnit(formatStr: any): any;
  1110. }
  1111. declare module 'fullcalendar/Component' {
  1112. import Model from 'fullcalendar/Model';
  1113. export class Default extends Model {
  1114. el: any;
  1115. setElement(el: any): void;
  1116. removeElement(): void;
  1117. bindGlobalHandlers(): void;
  1118. unbindGlobalHandlers(): void;
  1119. renderSkeleton(): void;
  1120. unrenderSkeleton(): void;
  1121. }
  1122. export default Default;
  1123. }
  1124. declare module 'fullcalendar/DateComponent' {
  1125. import Component from 'fullcalendar/Component';
  1126. import EventFootprint from 'fullcalendar/EventFootprint';
  1127. export abstract class Default extends Component {
  1128. static guid: number;
  1129. eventRendererClass: any;
  1130. helperRendererClass: any;
  1131. businessHourRendererClass: any;
  1132. fillRendererClass: any;
  1133. uid: any;
  1134. childrenByUid: any;
  1135. isRTL: boolean;
  1136. nextDayThreshold: any;
  1137. dateProfile: any;
  1138. eventRenderer: any;
  1139. helperRenderer: any;
  1140. businessHourRenderer: any;
  1141. fillRenderer: any;
  1142. hitsNeededDepth: number;
  1143. hasAllDayBusinessHours: boolean;
  1144. isDatesRendered: boolean;
  1145. constructor(_view?: any, _options?: any);
  1146. addChild(child: any): boolean;
  1147. removeChild(child: any): boolean;
  1148. updateSize(totalHeight: any, isAuto: any, isResize: any): void;
  1149. opt(name: any): any;
  1150. publiclyTrigger(...args: any[]): any;
  1151. hasPublicHandlers(...args: any[]): any;
  1152. executeDateRender(dateProfile: any): void;
  1153. executeDateUnrender(): void;
  1154. renderDates(dateProfile: any): void;
  1155. unrenderDates(): void;
  1156. getNowIndicatorUnit(): void;
  1157. renderNowIndicator(date: any): void;
  1158. unrenderNowIndicator(): void;
  1159. renderBusinessHours(businessHourGenerator: any): void;
  1160. unrenderBusinessHours(): void;
  1161. executeEventRender(eventsPayload: any): void;
  1162. executeEventUnrender(): void;
  1163. getBusinessHourSegs(): any;
  1164. getOwnBusinessHourSegs(): any;
  1165. getEventSegs(): any;
  1166. getOwnEventSegs(): any;
  1167. triggerAfterEventsRendered(): void;
  1168. triggerAfterEventSegsRendered(segs: any): void;
  1169. triggerBeforeEventsDestroyed(): void;
  1170. triggerBeforeEventSegsDestroyed(segs: any): void;
  1171. showEventsWithId(eventDefId: any): void;
  1172. hideEventsWithId(eventDefId: any): void;
  1173. renderDrag(eventFootprints: any, seg: any, isTouch: any): boolean;
  1174. unrenderDrag(): void;
  1175. renderEventResize(eventFootprints: any, seg: any, isTouch: any): void;
  1176. unrenderEventResize(): void;
  1177. renderSelectionFootprint(componentFootprint: any): void;
  1178. unrenderSelection(): void;
  1179. renderHighlight(componentFootprint: any): void;
  1180. unrenderHighlight(): void;
  1181. hitsNeeded(): void;
  1182. hitsNotNeeded(): void;
  1183. prepareHits(): void;
  1184. releaseHits(): void;
  1185. queryHit(leftOffset: any, topOffset: any): any;
  1186. getSafeHitFootprint(hit: any): any;
  1187. getHitFootprint(hit: any): any;
  1188. getHitEl(hit: any): any;
  1189. eventRangesToEventFootprints(eventRanges: any): any[];
  1190. eventRangeToEventFootprints(eventRange: any): EventFootprint[];
  1191. eventFootprintsToSegs(eventFootprints: any): any[];
  1192. eventFootprintToSegs(eventFootprint: any): any;
  1193. componentFootprintToSegs(componentFootprint: any): any[];
  1194. callChildren(methodName: any, args: any): void;
  1195. iterChildren(func: any): void;
  1196. _getCalendar(): any;
  1197. _getView(): any;
  1198. _getDateProfile(): any;
  1199. buildGotoAnchorHtml(gotoOptions: any, attrs: any, innerHtml: any): string;
  1200. getAllDayHtml(): any;
  1201. getDayClasses(date: any, noThemeHighlight?: any): any[];
  1202. formatRange(range: any, isAllDay: any, formatStr: any, separator: any): any;
  1203. currentRangeAs(unit: any): any;
  1204. computeDayRange(unzonedRange: any): {
  1205. start: any;
  1206. end: any;
  1207. };
  1208. isMultiDayRange(unzonedRange: any): boolean;
  1209. }
  1210. export default Default;
  1211. }
  1212. declare module 'fullcalendar/InteractiveDateComponent' {
  1213. import * as moment from 'moment';
  1214. import DateComponent from 'fullcalendar/DateComponent';
  1215. export abstract class Default extends DateComponent {
  1216. dateClickingClass: any;
  1217. dateSelectingClass: any;
  1218. eventPointingClass: any;
  1219. eventDraggingClass: any;
  1220. eventResizingClass: any;
  1221. externalDroppingClass: any;
  1222. dateClicking: any;
  1223. dateSelecting: any;
  1224. eventPointing: any;
  1225. eventDragging: any;
  1226. eventResizing: any;
  1227. externalDropping: any;
  1228. segSelector: string;
  1229. largeUnit: any;
  1230. constructor(_view?: any, _options?: any);
  1231. setElement(el: any): void;
  1232. removeElement(): void;
  1233. executeEventUnrender(): void;
  1234. bindGlobalHandlers(): void;
  1235. unbindGlobalHandlers(): void;
  1236. bindDateHandlerToEl(el: any, name: any, handler: any): void;
  1237. bindAllSegHandlersToEl(el: any): void;
  1238. bindSegHandlerToEl(el: any, name: any, handler: any): void;
  1239. shouldIgnoreMouse(): any;
  1240. shouldIgnoreTouch(): any;
  1241. shouldIgnoreEventPointing(): any;
  1242. canStartSelection(seg: any, ev: any): any;
  1243. canStartDrag(seg: any, ev: any): any;
  1244. canStartResize(seg: any, ev: any): boolean;
  1245. endInteractions(): void;
  1246. isEventDefDraggable(eventDef: any): any;
  1247. isEventDefStartEditable(eventDef: any): any;
  1248. isEventDefGenerallyEditable(eventDef: any): any;
  1249. isEventDefResizableFromStart(eventDef: any): any;
  1250. isEventDefResizableFromEnd(eventDef: any): any;
  1251. isEventDefResizable(eventDef: any): any;
  1252. diffDates(a: any, b: any): moment.Duration;
  1253. isEventInstanceGroupAllowed(eventInstanceGroup: any): any;
  1254. isExternalInstanceGroupAllowed(eventInstanceGroup: any): boolean;
  1255. }
  1256. export default Default;
  1257. }
  1258. declare module 'fullcalendar/View' {
  1259. import * as moment from 'moment';
  1260. import RenderQueue from 'fullcalendar/RenderQueue';
  1261. import Calendar from 'fullcalendar/Calendar';
  1262. import InteractiveDateComponent from 'fullcalendar/InteractiveDateComponent';
  1263. import UnzonedRange from 'fullcalendar/UnzonedRange';
  1264. import EventInstance from 'fullcalendar/EventInstance';
  1265. export abstract class Default extends InteractiveDateComponent {
  1266. type: string;
  1267. name: string;
  1268. title: string;
  1269. calendar: Calendar;
  1270. viewSpec: any;
  1271. options: any;
  1272. renderQueue: RenderQueue;
  1273. batchRenderDepth: number;
  1274. queuedScroll: object;
  1275. isSelected: boolean;
  1276. selectedEventInstance: EventInstance;
  1277. eventOrderSpecs: any;
  1278. isHiddenDayHash: boolean[];
  1279. isNowIndicatorRendered: boolean;
  1280. initialNowDate: moment.Moment;
  1281. initialNowQueriedMs: number;
  1282. nowIndicatorTimeoutID: any;
  1283. nowIndicatorIntervalID: any;
  1284. dateProfileGeneratorClass: any;
  1285. dateProfileGenerator: any;
  1286. usesMinMaxTime: boolean;
  1287. start: moment.Moment;
  1288. end: moment.Moment;
  1289. intervalStart: moment.Moment;
  1290. intervalEnd: moment.Moment;
  1291. constructor(calendar: any, viewSpec: any);
  1292. _getView(): this;
  1293. opt(name: any): any;
  1294. initRenderQueue(): void;
  1295. onRenderQueueStart(): void;
  1296. onRenderQueueStop(): void;
  1297. startBatchRender(): void;
  1298. stopBatchRender(): void;
  1299. requestRender(func: any, namespace: any, actionType: any): void;
  1300. whenSizeUpdated(func: any): void;
  1301. computeTitle(dateProfile: any): any;
  1302. computeTitleFormat(dateProfile: any): any;
  1303. setDate(date: any): void;
  1304. unsetDate(): void;
  1305. fetchInitialEvents(dateProfile: any): any;
  1306. bindEventChanges(): void;
  1307. unbindEventChanges(): void;
  1308. setEvents(eventsPayload: any): void;
  1309. unsetEvents(): void;
  1310. resetEvents(eventsPayload: any): void;
  1311. requestDateRender(dateProfile: any): void;
  1312. requestDateUnrender(): void;
  1313. executeDateRender(dateProfile: any): void;
  1314. executeDateUnrender(): void;
  1315. bindBaseRenderHandlers(): void;
  1316. triggerViewRender(): void;
  1317. triggerViewDestroy(): void;
  1318. requestEventsRender(eventsPayload: any): void;
  1319. requestEventsUnrender(): void;
  1320. requestBusinessHoursRender(businessHourGenerator: any): void;
  1321. requestBusinessHoursUnrender(): void;
  1322. bindGlobalHandlers(): void;
  1323. unbindGlobalHandlers(): void;
  1324. startNowIndicator(): void;
  1325. updateNowIndicator(): void;
  1326. stopNowIndicator(): void;
  1327. updateSize(totalHeight: any, isAuto: any, isResize: any): void;
  1328. addScroll(scroll: any): void;
  1329. popScroll(): void;
  1330. applyQueuedScroll(): void;
  1331. queryScroll(): {};
  1332. applyScroll(scroll: any): void;
  1333. computeInitialDateScroll(): {};
  1334. queryDateScroll(): {};
  1335. applyDateScroll(scroll: any): void;
  1336. reportEventDrop(eventInstance: any, eventMutation: any, el: any, ev: any): void;
  1337. triggerEventDrop(eventInstance: any, dateDelta: any, undoFunc: any, el: any, ev: any): void;
  1338. reportExternalDrop(singleEventDef: any, isEvent: any, isSticky: any, el: any, ev: any, ui: any): void;
  1339. triggerExternalDrop(singleEventDef: any, isEvent: any, el: any, ev: any, ui: any): void;
  1340. reportEventResize(eventInstance: any, eventMutation: any, el: any, ev: any): void;
  1341. triggerEventResize(eventInstance: any, resizeDelta: any, undoFunc: any, el: any, ev: any): void;
  1342. select(footprint: any, ev?: any): void;
  1343. renderSelectionFootprint(footprint: any): void;
  1344. reportSelection(footprint: any, ev?: any): void;
  1345. triggerSelect(footprint: any, ev?: any): void;
  1346. unselect(ev?: any): void;
  1347. selectEventInstance(eventInstance: any): void;
  1348. unselectEventInstance(): void;
  1349. isEventDefSelected(eventDef: any): boolean;
  1350. handleDocumentMousedown(ev: any): void;
  1351. processUnselect(ev: any): void;
  1352. processRangeUnselect(ev: any): void;
  1353. processEventUnselect(ev: any): void;
  1354. triggerBaseRendered(): void;
  1355. triggerBaseUnrendered(): void;
  1356. triggerDayClick(footprint: any, dayEl: any, ev: any): void;
  1357. isDateInOtherMonth(date: any, dateProfile: any): boolean;
  1358. getUnzonedRangeOption(name: any): UnzonedRange;
  1359. initHiddenDays(): void;
  1360. trimHiddenDays(inputUnzonedRange: any): UnzonedRange;
  1361. isHiddenDay(day: any): boolean;
  1362. skipHiddenDays(date: any, inc?: number, isExclusive?: boolean): any;
  1363. }
  1364. export default Default;
  1365. }
  1366. declare module 'fullcalendar/src/types/input-types' {
  1367. /// <reference types="jquery" />
  1368. import * as moment from 'moment';
  1369. import View from 'fullcalendar/View';
  1370. import EventSource from 'fullcalendar/EventSource';
  1371. export type MomentInput = moment.Moment | Date | object | string | number;
  1372. export type DurationInput = moment.Duration | object | string | number;
  1373. export interface RangeInput {
  1374. start?: MomentInput;
  1375. end?: MomentInput;
  1376. }
  1377. export type ConstraintInput = RangeInput | BusinessHoursInput | 'businessHours';
  1378. export interface EventOptionsBase {
  1379. className?: string | string[];
  1380. editable?: boolean;
  1381. startEditable?: boolean;
  1382. durationEditable?: boolean;
  1383. rendering?: string;
  1384. overlap?: boolean;
  1385. constraint?: ConstraintInput;
  1386. color?: string;
  1387. backgroundColor?: string;
  1388. borderColor?: string;
  1389. textColor?: string;
  1390. }
  1391. export interface EventObjectInput extends EventOptionsBase, RangeInput {
  1392. _id?: string;
  1393. id?: string | number;
  1394. title: string;
  1395. allDay?: boolean;
  1396. url?: string;
  1397. source?: EventSource;
  1398. [customField: string]: any;
  1399. }
  1400. export type EventSourceFunction = (start: moment.Moment, end: moment.Moment, timezone: string, callback: ((events: EventObjectInput[]) => void)) => void;
  1401. export type EventSourceSimpleInput = EventObjectInput[] | EventSourceFunction | string;
  1402. export interface EventSourceExtendedInput extends EventOptionsBase, JQueryAjaxSettings {
  1403. url?: string;
  1404. events?: EventSourceSimpleInput;
  1405. allDayDefault?: boolean;
  1406. startParam?: string;
  1407. endParam?: string;
  1408. eventDataTransform?(eventData: any): EventObjectInput;
  1409. }
  1410. export type EventSourceInput = EventSourceSimpleInput | EventSourceExtendedInput;
  1411. export interface ToolbarInput {
  1412. left?: string;
  1413. center?: string;
  1414. right?: string;
  1415. }
  1416. export interface CustomButtonInput {
  1417. text: string;
  1418. icon?: string;
  1419. themeIcon?: string;
  1420. bootstrapGlyphicon?: string;
  1421. bootstrapFontAwesome?: string;
  1422. click(element: JQuery): void;
  1423. }
  1424. export interface ButtonIconsInput {
  1425. prev?: string;
  1426. next?: string;
  1427. prevYear?: string;
  1428. nextYear?: string;
  1429. }
  1430. export interface ButtonTextCompoundInput {
  1431. prev?: string;
  1432. next?: string;
  1433. prevYear?: string;
  1434. nextYear?: string;
  1435. today?: string;
  1436. month?: string;
  1437. week?: string;
  1438. day?: string;
  1439. [viewId: string]: string | undefined;
  1440. }
  1441. export interface BusinessHoursInput {
  1442. start?: MomentInput;
  1443. end?: MomentInput;
  1444. dow?: number[];
  1445. }
  1446. export interface EventSegment {
  1447. event: EventObjectInput;
  1448. start: moment.Moment;
  1449. end: moment.Moment;
  1450. isStart: boolean;
  1451. isEnd: boolean;
  1452. }
  1453. export interface CellInfo {
  1454. date: moment.Moment;
  1455. dayEl: JQuery;
  1456. moreEl: JQuery;
  1457. segs: EventSegment[];
  1458. hiddenSegs: EventSegment[];
  1459. }
  1460. export interface DropInfo {
  1461. start: moment.Moment;
  1462. end: moment.Moment;
  1463. }
  1464. export interface SelectInfo {
  1465. start: moment.Moment;
  1466. end: moment.Moment;
  1467. resourceId?: string;
  1468. }
  1469. export interface OptionsInputBase {
  1470. header?: boolean | ToolbarInput;
  1471. footer?: boolean | ToolbarInput;
  1472. customButtons?: {
  1473. [name: string]: CustomButtonInput;
  1474. };
  1475. buttonIcons?: boolean | ButtonIconsInput;
  1476. themeSystem?: 'standard' | 'bootstrap3' | 'bootstrap4' | 'jquery-ui';
  1477. themeButtonIcons?: boolean | ButtonIconsInput;
  1478. bootstrapGlyphicons?: boolean | ButtonIconsInput;
  1479. bootstrapFontAwesome?: boolean | ButtonIconsInput;
  1480. firstDay?: number;
  1481. isRTL?: boolean;
  1482. weekends?: boolean;
  1483. hiddenDays?: number[];
  1484. fixedWeekCount?: boolean;
  1485. weekNumbers?: boolean;
  1486. weekNumbersWithinDays?: boolean;
  1487. weekNumberCalculation?: 'local' | 'ISO' | ((m: moment.Moment) => number);
  1488. businessHours?: boolean | BusinessHoursInput | BusinessHoursInput[];
  1489. showNonCurrentDates?: boolean;
  1490. height?: number | 'auto' | 'parent' | (() => number);
  1491. contentHeight?: number | 'auto' | (() => number);
  1492. aspectRatio?: number;
  1493. handleWindowResize?: boolean;
  1494. windowResizeDelay?: number;
  1495. eventLimit?: boolean | number;
  1496. eventLimitClick?: 'popover' | 'week' | 'day' | string | ((cellinfo: CellInfo, jsevent: Event) => void);
  1497. timezone?: string | boolean;
  1498. now?: MomentInput | (() => MomentInput);
  1499. defaultView?: string;
  1500. allDaySlot?: boolean;
  1501. allDayText?: string;
  1502. slotDuration?: DurationInput;
  1503. slotLabelFormat?: string;
  1504. slotLabelInterval?: DurationInput;
  1505. snapDuration?: DurationInput;
  1506. scrollTime?: DurationInput;
  1507. minTime?: DurationInput;
  1508. maxTime?: DurationInput;
  1509. slotEventOverlap?: boolean;
  1510. listDayFormat?: string | boolean;
  1511. listDayAltFormat?: string | boolean;
  1512. noEventsMessage?: string;
  1513. defaultDate?: MomentInput;
  1514. nowIndicator?: boolean;
  1515. visibleRange?: ((currentDate: moment.Moment) => RangeInput) | RangeInput;
  1516. validRange?: RangeInput;
  1517. dateIncrement?: DurationInput;
  1518. dateAlignment?: string;
  1519. duration?: DurationInput;
  1520. dayCount?: number;
  1521. locale?: string;
  1522. timeFormat?: string;
  1523. columnHeader?: boolean;
  1524. columnHeaderFormat?: string;
  1525. columnHeaderText?: string | ((date: MomentInput) => string);
  1526. columnHeaderHtml?: string | ((date: MomentInput) => string);
  1527. titleFormat?: string;
  1528. monthNames?: string[];
  1529. monthNamesShort?: string[];
  1530. dayNames?: string[];
  1531. dayNamesShort?: string[];
  1532. weekNumberTitle?: string;
  1533. displayEventTime?: boolean;
  1534. displayEventEnd?: boolean;
  1535. eventLimitText?: string | ((eventCnt: number) => string);
  1536. dayPopoverFormat?: string;
  1537. navLinks?: boolean;
  1538. navLinkDayClick?: string | ((date: moment.Moment, jsEvent: Event) => void);
  1539. navLinkWeekClick?: string | ((weekStart: any, jsEvent: Event) => void);
  1540. selectable?: boolean;
  1541. selectHelper?: boolean;
  1542. unselectAuto?: boolean;
  1543. unselectCancel?: string;
  1544. selectOverlap?: boolean | ((event: EventObjectInput) => boolean);
  1545. selectConstraint?: ConstraintInput;
  1546. selectAllow?: ((selectInfo: SelectInfo) => boolean);
  1547. events?: EventSourceInput;
  1548. eventSources?: EventSourceInput[];
  1549. allDayDefault?: boolean;
  1550. startParam?: string;
  1551. endParam?: string;
  1552. lazyFetching?: boolean;
  1553. eventColor?: string;
  1554. eventBackgroundColor?: string;
  1555. eventBorderColor?: string;
  1556. eventTextColor?: string;
  1557. nextDayThreshold?: DurationInput;
  1558. eventOrder?: string | Array<((a: EventObjectInput, b: EventObjectInput) => number) | (string | ((a: EventObjectInput, b: EventObjectInput) => number))>;
  1559. eventRenderWait?: number | null;
  1560. editable?: boolean;
  1561. eventStartEditable?: boolean;
  1562. eventDurationEditable?: boolean;
  1563. dragRevertDuration?: number;
  1564. dragOpacity?: number;
  1565. dragScroll?: boolean;
  1566. eventOverlap?: boolean | ((stillEvent: EventObjectInput, movingEvent: EventObjectInput) => boolean);
  1567. eventConstraint?: ConstraintInput;
  1568. eventAllow?: ((dropInfo: DropInfo, draggedEvent: EventObjectInput) => boolean);
  1569. longPressDelay?: number;
  1570. eventLongPressDelay?: number;
  1571. droppable?: boolean;
  1572. dropAccept?: string | ((draggable: any) => boolean);
  1573. viewRender?(view: View, element: JQuery): void;
  1574. viewDestroy?(view: View, element: JQuery): void;
  1575. dayRender?(date: moment.Moment, cell: JQuery): void;
  1576. windowResize?(view: View): void;
  1577. dayClick?(date: moment.Moment, jsEvent: MouseEvent, view: View, resourceObj?: any): void;
  1578. eventClick?(event: EventObjectInput, jsEvent: MouseEvent, view: View): boolean | void;
  1579. eventMouseover?(event: EventObjectInput, jsEvent: MouseEvent, view: View): void;
  1580. eventMouseout?(event: EventObjectInput, jsEvent: MouseEvent, view: View): void;
  1581. select?(start: moment.Moment, end: moment.Moment, jsEvent: MouseEvent, view: View, resource?: any): void;
  1582. unselect?(view: View, jsEvent: Event): void;
  1583. eventDataTransform?(eventData: any): EventObjectInput;
  1584. loading?(isLoading: boolean, view: View): void;
  1585. eventRender?(event: EventObjectInput, element: JQuery, view: View): void;
  1586. eventAfterRender?(event: EventObjectInput, element: JQuery, view: View): void;
  1587. eventAfterAllRender?(view: View): void;
  1588. eventDestroy?(event: EventObjectInput, element: JQuery, view: View): void;
  1589. eventDragStart?(event: EventObjectInput, jsEvent: MouseEvent, ui: any, view: View): void;
  1590. eventDragStop?(event: EventObjectInput, jsEvent: MouseEvent, ui: any, view: View): void;
  1591. eventDrop?(event: EventObjectInput, delta: moment.Duration, revertFunc: Function, jsEvent: Event, ui: any, view: View): void;
  1592. eventResizeStart?(event: EventObjectInput, jsEvent: MouseEvent, ui: any, view: View): void;
  1593. eventResizeStop?(event: EventObjectInput, jsEvent: MouseEvent, ui: any, view: View): void;
  1594. eventResize?(event: EventObjectInput, delta: moment.Duration, revertFunc: Function, jsEvent: Event, ui: any, view: View): void;
  1595. drop?(date: moment.Moment, jsEvent: MouseEvent, ui: any): void;
  1596. eventReceive?(event: EventObjectInput): void;
  1597. }
  1598. export interface ViewOptionsInput extends OptionsInputBase {
  1599. type?: string;
  1600. buttonText?: string;
  1601. }
  1602. export interface OptionsInput extends OptionsInputBase {
  1603. buttonText?: ButtonTextCompoundInput;
  1604. views?: {
  1605. [viewId: string]: ViewOptionsInput;
  1606. };
  1607. }
  1608. }
  1609. declare module 'fullcalendar/FuncEventSource' {
  1610. /// <reference types="jquery" />
  1611. import EventSource from 'fullcalendar/EventSource';
  1612. export class Default extends EventSource {
  1613. func: any;
  1614. static parse(rawInput: any, calendar: any): any;
  1615. fetch(start: any, end: any, timezone: any): JQueryPromise<{}>;
  1616. getPrimitive(): any;
  1617. applyManualStandardProps(rawProps: any): boolean;
  1618. }
  1619. export default Default;
  1620. }
  1621. declare module 'fullcalendar/JsonFeedEventSource' {
  1622. /// <reference types="jquery" />
  1623. import EventSource from 'fullcalendar/EventSource';
  1624. export class Default extends EventSource {
  1625. static AJAX_DEFAULTS: {
  1626. dataType: string;
  1627. cache: boolean;
  1628. };
  1629. url: any;
  1630. startParam: any;
  1631. endParam: any;
  1632. timezoneParam: any;
  1633. ajaxSettings: any;
  1634. static parse(rawInput: any, calendar: any): any;
  1635. fetch(start: any, end: any, timezone: any): JQueryPromise<{}>;
  1636. buildRequestParams(start: any, end: any, timezone: any): {};
  1637. getPrimitive(): any;
  1638. applyMiscProps(rawProps: any): void;
  1639. }
  1640. export default Default;
  1641. }
  1642. declare module 'fullcalendar/CoordCache' {
  1643. export class Default {
  1644. els: any;
  1645. forcedOffsetParentEl: any;
  1646. origin: any;
  1647. boundingRect: any;
  1648. isHorizontal: boolean;
  1649. isVertical: boolean;
  1650. lefts: any;
  1651. rights: any;
  1652. tops: any;
  1653. bottoms: any;
  1654. constructor(options: any);
  1655. build(): void;
  1656. clear(): void;
  1657. ensureBuilt(): void;
  1658. buildElHorizontals(): void;
  1659. buildElVerticals(): void;
  1660. getHorizontalIndex(leftOffset: any): any;
  1661. getVerticalIndex(topOffset: any): any;
  1662. getLeftOffset(leftIndex: any): any;
  1663. getLeftPosition(leftIndex: any): number;
  1664. getRightOffset(leftIndex: any): any;
  1665. getRightPosition(leftIndex: any): number;
  1666. getWidth(leftIndex: any): number;
  1667. getTopOffset(topIndex: any): any;
  1668. getTopPosition(topIndex: any): number;
  1669. getBottomOffset(topIndex: any): any;
  1670. getBottomPosition(topIndex: any): number;
  1671. getHeight(topIndex: any): number;
  1672. queryBoundingRect(): {
  1673. left: number;
  1674. right: any;
  1675. top: number;
  1676. bottom: any;
  1677. };
  1678. isPointInBounds(leftOffset: any, topOffset: any): boolean;
  1679. isLeftInBounds(leftOffset: any): boolean;
  1680. isTopInBounds(topOffset: any): boolean;
  1681. }
  1682. export default Default;
  1683. }
  1684. declare module 'fullcalendar/DragListener' {
  1685. import { ListenerInterface } from 'fullcalendar/ListenerMixin';
  1686. export class Default {
  1687. listenTo: ListenerInterface['listenTo'];
  1688. stopListeningTo: ListenerInterface['stopListeningTo'];
  1689. options: any;
  1690. subjectEl: any;
  1691. originX: any;
  1692. originY: any;
  1693. scrollEl: any;
  1694. isInteracting: boolean;
  1695. isDistanceSurpassed: boolean;
  1696. isDelayEnded: boolean;
  1697. isDragging: boolean;
  1698. isTouch: boolean;
  1699. isGeneric: boolean;
  1700. delay: any;
  1701. delayTimeoutId: any;
  1702. minDistance: any;
  1703. shouldCancelTouchScroll: boolean;
  1704. scrollAlwaysKills: boolean;
  1705. isAutoScroll: boolean;
  1706. scrollBounds: any;
  1707. scrollTopVel: any;
  1708. scrollLeftVel: any;
  1709. scrollIntervalId: any;
  1710. scrollSensitivity: number;
  1711. scrollSpeed: number;
  1712. scrollIntervalMs: number;
  1713. constructor(options: any);
  1714. startInteraction(ev: any, extraOptions?: any): void;
  1715. handleInteractionStart(ev: any): void;
  1716. endInteraction(ev: any, isCancelled: any): void;
  1717. handleInteractionEnd(ev: any, isCancelled: any): void;
  1718. bindHandlers(): void;
  1719. unbindHandlers(): void;
  1720. startDrag(ev: any, extraOptions?: any): void;
  1721. handleDragStart(ev: any): void;
  1722. handleMove(ev: any): void;
  1723. handleDrag(dx: any, dy: any, ev: any): void;
  1724. endDrag(ev: any): void;
  1725. handleDragEnd(ev: any): void;
  1726. startDelay(initialEv: any): void;
  1727. handleDelayEnd(initialEv: any): void;
  1728. handleDistanceSurpassed(ev: any): void;
  1729. handleTouchMove(ev: any): void;
  1730. handleMouseMove(ev: any): void;
  1731. handleTouchScroll(ev: any): void;
  1732. trigger(name: any, ...args: any[]): void;
  1733. initAutoScroll(): void;
  1734. destroyAutoScroll(): void;
  1735. computeScrollBounds(): void;
  1736. updateAutoScroll(ev: any): void;
  1737. setScrollVel(topVel: any, leftVel: any): void;
  1738. constrainScrollVel(): void;
  1739. scrollIntervalFunc(): void;
  1740. endAutoScroll(): void;
  1741. handleDebouncedScroll(): void;
  1742. handleScrollEnd(): void;
  1743. }
  1744. export default Default;
  1745. }
  1746. declare module 'fullcalendar/HitDragListener' {
  1747. import DragListener from 'fullcalendar/DragListener';
  1748. export class Default extends DragListener {
  1749. component: any;
  1750. origHit: any;
  1751. hit: any;
  1752. coordAdjust: any;
  1753. constructor(component: any, options: any);
  1754. handleInteractionStart(ev: any): void;
  1755. handleDragStart(ev: any): void;
  1756. handleDrag(dx: any, dy: any, ev: any): void;
  1757. handleDragEnd(ev: any): void;
  1758. handleHitOver(hit: any): void;
  1759. handleHitOut(): void;
  1760. handleHitDone(): void;
  1761. handleInteractionEnd(ev: any, isCancelled: any): void;
  1762. handleScrollEnd(): void;
  1763. queryHit(left: any, top: any): any;
  1764. }
  1765. export default Default;
  1766. }
  1767. declare module 'fullcalendar/MouseFollower' {
  1768. import { ListenerInterface } from 'fullcalendar/ListenerMixin';
  1769. export class Default {
  1770. listenTo: ListenerInterface['listenTo'];
  1771. stopListeningTo: ListenerInterface['stopListeningTo'];
  1772. options: any;
  1773. sourceEl: any;
  1774. el: any;
  1775. parentEl: any;
  1776. top0: any;
  1777. left0: any;
  1778. y0: any;
  1779. x0: any;
  1780. topDelta: any;
  1781. leftDelta: any;
  1782. isFollowing: boolean;
  1783. isHidden: boolean;
  1784. isAnimating: boolean;
  1785. constructor(sourceEl: any, options: any);
  1786. start(ev: any): void;
  1787. stop(shouldRevert: any, callback: any): void;
  1788. getEl(): any;
  1789. removeElement(): void;
  1790. updatePosition(): void;
  1791. handleMove(ev: any): void;
  1792. hide(): void;
  1793. show(): void;
  1794. }
  1795. export default Default;
  1796. }
  1797. declare module 'fullcalendar/Popover' {
  1798. import { ListenerInterface } from 'fullcalendar/ListenerMixin';
  1799. export class Default {
  1800. listenTo: ListenerInterface['listenTo'];
  1801. stopListeningTo: ListenerInterface['stopListeningTo'];
  1802. isHidden: boolean;
  1803. options: any;
  1804. el: any;
  1805. margin: number;
  1806. constructor(options: any);
  1807. show(): void;
  1808. hide(): void;
  1809. render(): void;
  1810. documentMousedown(ev: any): void;
  1811. removeElement(): void;
  1812. position(): void;
  1813. trigger(name: any): void;
  1814. }
  1815. export default Default;
  1816. }
  1817. declare module 'fullcalendar/Scroller' {
  1818. import Class from 'fullcalendar/Class';
  1819. export class Default extends Class {
  1820. el: any;
  1821. scrollEl: any;
  1822. overflowX: any;
  1823. overflowY: any;
  1824. constructor(options?: any);
  1825. render(): void;
  1826. renderEl(): JQuery;
  1827. clear(): void;
  1828. destroy(): void;
  1829. applyOverflow(): void;
  1830. lockOverflow(scrollbarWidths: any): void;
  1831. setHeight(height: any): void;
  1832. getScrollTop(): any;
  1833. setScrollTop(top: any): void;
  1834. getClientWidth(): any;
  1835. getClientHeight(): any;
  1836. getScrollbarWidths(): any;
  1837. }
  1838. export default Default;
  1839. }
  1840. declare module 'fullcalendar/DayTableMixin' {
  1841. import Mixin from 'fullcalendar/Mixin';
  1842. export interface DayTableInterface {
  1843. dayDates: any;
  1844. daysPerRow: any;
  1845. rowCnt: any;
  1846. colCnt: any;
  1847. updateDayTable(): any;
  1848. renderHeadHtml(): any;
  1849. renderBgTrHtml(row: any): any;
  1850. bookendCells(trEl: any): any;
  1851. getCellDate(row: any, col: any): any;
  1852. getCellRange(row: any, col: any): any;
  1853. sliceRangeByDay(unzonedRange: any): any;
  1854. sliceRangeByRow(unzonedRange: any): any;
  1855. renderIntroHtml(): any;
  1856. }
  1857. export class Default extends Mixin implements DayTableInterface {
  1858. breakOnWeeks: boolean;
  1859. dayDates: any;
  1860. dayIndices: any;
  1861. daysPerRow: any;
  1862. rowCnt: any;
  1863. colCnt: any;
  1864. colHeadFormat: any;
  1865. updateDayTable(): void;
  1866. updateDayTableCols(): void;
  1867. computeColCnt(): any;
  1868. getCellDate(row: any, col: any): any;
  1869. getCellRange(row: any, col: any): {
  1870. start: any;
  1871. end: any;
  1872. };
  1873. getCellDayIndex(row: any, col: any): any;
  1874. getColDayIndex(col: any): any;
  1875. getDateDayIndex(date: any): any;
  1876. computeColHeadFormat(): any;
  1877. sliceRangeByRow(unzonedRange: any): any[];
  1878. sliceRangeByDay(unzonedRange: any): any[];
  1879. renderHeadHtml(): string;
  1880. renderHeadIntroHtml(): void;
  1881. renderHeadTrHtml(): string;
  1882. renderHeadDateCellsHtml(): string;
  1883. renderHeadDateCellHtml(date: any, colspan: any, otherAttrs: any): string;
  1884. renderBgTrHtml(row: any): string;
  1885. renderBgIntroHtml(row: any): void;
  1886. renderBgCellsHtml(row: any): string;
  1887. renderBgCellHtml(date: any, otherAttrs: any): string;
  1888. renderIntroHtml(): void;
  1889. bookendCells(trEl: any): void;
  1890. }
  1891. export default Default;
  1892. }
  1893. declare module 'fullcalendar/BusinessHourRenderer' {
  1894. export class Default {
  1895. component: any;
  1896. fillRenderer: any;
  1897. segs: any;
  1898. constructor(component: any, fillRenderer: any);
  1899. render(businessHourGenerator: any): void;
  1900. renderEventFootprints(eventFootprints: any): void;
  1901. renderSegs(segs: any): void;
  1902. unrender(): void;
  1903. getSegs(): any;
  1904. }
  1905. export default Default;
  1906. }
  1907. declare module 'fullcalendar/EventRenderer' {
  1908. export class Default {
  1909. view: any;
  1910. component: any;
  1911. fillRenderer: any;
  1912. fgSegs: any;
  1913. bgSegs: any;
  1914. eventTimeFormat: any;
  1915. displayEventTime: any;
  1916. displayEventEnd: any;
  1917. constructor(component: any, fillRenderer: any);
  1918. opt(name: any): any;
  1919. rangeUpdated(): void;
  1920. render(eventsPayload: any): void;
  1921. unrender(): void;
  1922. renderFgRanges(eventRanges: any): void;
  1923. unrenderFgRanges(): void;
  1924. renderBgRanges(eventRanges: any): void;
  1925. unrenderBgRanges(): void;
  1926. getSegs(): any;
  1927. renderFgSegs(segs: any): (boolean | void);
  1928. unrenderFgSegs(segs: any): void;
  1929. renderBgSegs(segs: any): boolean;
  1930. unrenderBgSegs(): void;
  1931. renderFgSegEls(segs: any, disableResizing?: boolean): any[];
  1932. beforeFgSegHtml(seg: any): void;
  1933. fgSegHtml(seg: any, disableResizing: any): void;
  1934. getSegClasses(seg: any, isDraggable: any, isResizable: any): string[];
  1935. filterEventRenderEl(eventFootprint: any, el: any): any;
  1936. getTimeText(eventFootprint: any, formatStr?: any, displayEnd?: any): any;
  1937. _getTimeText(start: any, end: any, isAllDay: any, formatStr?: any, displayEnd?: any): any;
  1938. computeEventTimeFormat(): any;
  1939. computeDisplayEventTime(): boolean;
  1940. computeDisplayEventEnd(): boolean;
  1941. getBgClasses(eventDef: any): any[];
  1942. getClasses(eventDef: any): any[];
  1943. getSkinCss(eventDef: any): {
  1944. 'background-color': any;
  1945. 'border-color': any;
  1946. color: any;
  1947. };
  1948. getBgColor(eventDef: any): any;
  1949. getBorderColor(eventDef: any): any;
  1950. getTextColor(eventDef: any): any;
  1951. getStylingObjs(eventDef: any): any[];
  1952. getFallbackStylingObjs(eventDef: any): any[];
  1953. sortEventSegs(segs: any): void;
  1954. compareEventSegs(seg1: any, seg2: any): any;
  1955. }
  1956. export default Default;
  1957. }
  1958. declare module 'fullcalendar/FillRenderer' {
  1959. export class Default {
  1960. fillSegTag: string;
  1961. component: any;
  1962. elsByFill: any;
  1963. constructor(component: any);
  1964. renderFootprint(type: any, componentFootprint: any, props: any): void;
  1965. renderSegs(type: any, segs: any, props: any): any;
  1966. unrender(type: any): void;
  1967. buildSegEls(type: any, segs: any, props: any): any[];
  1968. buildSegHtml(type: any, seg: any, props: any): string;
  1969. attachSegEls(type: any, segs: any): void;
  1970. reportEls(type: any, nodes: any): void;
  1971. }
  1972. export default Default;
  1973. }
  1974. declare module 'fullcalendar/HelperRenderer' {
  1975. import EventFootprint from 'fullcalendar/EventFootprint';
  1976. export class Default {
  1977. view: any;
  1978. component: any;
  1979. eventRenderer: any;
  1980. helperEls: any;
  1981. constructor(component: any, eventRenderer: any);
  1982. renderComponentFootprint(componentFootprint: any): void;
  1983. renderEventDraggingFootprints(eventFootprints: any, sourceSeg: any, isTouch: any): void;
  1984. renderEventResizingFootprints(eventFootprints: any, sourceSeg: any, isTouch: any): void;
  1985. renderEventFootprints(eventFootprints: any, sourceSeg?: any, extraClassNames?: any, opacity?: any): void;
  1986. renderSegs(segs: any, sourceSeg?: any): void;
  1987. unrender(): void;
  1988. fabricateEventFootprint(componentFootprint: any): EventFootprint;
  1989. }
  1990. export default Default;
  1991. }
  1992. declare module 'fullcalendar/Interaction' {
  1993. export class Default {
  1994. view: any;
  1995. component: any;
  1996. constructor(component: any);
  1997. opt(name: any): any;
  1998. end(): void;
  1999. }
  2000. export default Default;
  2001. }
  2002. declare module 'fullcalendar/ExternalDropping' {
  2003. import { ListenerInterface } from 'fullcalendar/ListenerMixin';
  2004. import Interaction from 'fullcalendar/Interaction';
  2005. export class Default extends Interaction {
  2006. listenTo: ListenerInterface['listenTo'];
  2007. stopListeningTo: ListenerInterface['stopListeningTo'];
  2008. dragListener: any;
  2009. isDragging: boolean;
  2010. end(): void;
  2011. bindToDocument(): void;
  2012. unbindFromDocument(): void;
  2013. handleDragStart(ev: any, ui: any): void;
  2014. listenToExternalDrag(el: any, ev: any, ui: any): void;
  2015. computeExternalDrop(componentFootprint: any, meta: any): any;
  2016. }
  2017. export default Default;
  2018. }
  2019. declare module 'fullcalendar/EventResizing' {
  2020. import HitDragListener from 'fullcalendar/HitDragListener';
  2021. import Interaction from 'fullcalendar/Interaction';
  2022. export class Default extends Interaction {
  2023. eventPointing: any;
  2024. dragListener: any;
  2025. isResizing: boolean;
  2026. constructor(component: any, eventPointing: any);
  2027. end(): void;
  2028. bindToEl(el: any): void;
  2029. handleMouseDown(seg: any, ev: any): void;
  2030. handleTouchStart(seg: any, ev: any): void;
  2031. buildDragListener(seg: any, isStart: any): HitDragListener;
  2032. segResizeStart(seg: any, ev: any): void;
  2033. segResizeStop(seg: any, ev: any): void;
  2034. computeEventStartResizeMutation(startFootprint: any, endFootprint: any, origEventFootprint: any): any;
  2035. computeEventEndResizeMutation(startFootprint: any, endFootprint: any, origEventFootprint: any): any;
  2036. }
  2037. export default Default;
  2038. }
  2039. declare module 'fullcalendar/EventPointing' {
  2040. import Interaction from 'fullcalendar/Interaction';
  2041. export class Default extends Interaction {
  2042. mousedOverSeg: any;
  2043. bindToEl(el: any): void;
  2044. handleClick(seg: any, ev: any): void;
  2045. handleMouseover(seg: any, ev: any): void;
  2046. handleMouseout(seg: any, ev?: any): void;
  2047. end(): void;
  2048. }
  2049. export default Default;
  2050. }
  2051. declare module 'fullcalendar/EventDragging' {
  2052. import EventDefMutation from 'fullcalendar/EventDefMutation';
  2053. import Interaction from 'fullcalendar/Interaction';
  2054. export class Default extends Interaction {
  2055. eventPointing: any;
  2056. dragListener: any;
  2057. isDragging: boolean;
  2058. constructor(component: any, eventPointing: any);
  2059. end(): void;
  2060. getSelectionDelay(): any;
  2061. bindToEl(el: any): void;
  2062. handleMousedown(seg: any, ev: any): void;
  2063. handleTouchStart(seg: any, ev: any): void;
  2064. buildSelectListener(seg: any): any;
  2065. buildDragListener(seg: any): any;
  2066. segDragStart(seg: any, ev: any): void;
  2067. segDragStop(seg: any, ev: any): void;
  2068. computeEventDropMutation(startFootprint: any, endFootprint: any, eventDef: any): EventDefMutation;
  2069. computeEventDateMutation(startFootprint: any, endFootprint: any): any;
  2070. }
  2071. export default Default;
  2072. }
  2073. declare module 'fullcalendar/DateSelecting' {
  2074. import HitDragListener from 'fullcalendar/HitDragListener';
  2075. import ComponentFootprint from 'fullcalendar/ComponentFootprint';
  2076. import Interaction from 'fullcalendar/Interaction';
  2077. export class Default extends Interaction {
  2078. dragListener: any;
  2079. constructor(component: any);
  2080. end(): void;
  2081. getDelay(): any;
  2082. bindToEl(el: any): void;
  2083. buildDragListener(): HitDragListener;
  2084. computeSelection(footprint0: any, footprint1: any): false | ComponentFootprint;
  2085. computeSelectionFootprint(footprint0: any, footprint1: any): ComponentFootprint;
  2086. isSelectionFootprintAllowed(componentFootprint: any): any;
  2087. }
  2088. export default Default;
  2089. }
  2090. declare module 'fullcalendar/DateClicking' {
  2091. import HitDragListener from 'fullcalendar/HitDragListener';
  2092. import Interaction from 'fullcalendar/Interaction';
  2093. export class Default extends Interaction {
  2094. dragListener: any;
  2095. constructor(component: any);
  2096. end(): void;
  2097. bindToEl(el: any): void;
  2098. buildDragListener(): HitDragListener;
  2099. }
  2100. export default Default;
  2101. }
  2102. declare module 'fullcalendar/StandardInteractionsMixin' {
  2103. import Mixin from 'fullcalendar/Mixin';
  2104. export class Default extends Mixin {
  2105. }
  2106. export default Default;
  2107. }
  2108. declare module 'fullcalendar/TimeGridEventRenderer' {
  2109. import EventRenderer from 'fullcalendar/EventRenderer';
  2110. export class Default extends EventRenderer {
  2111. timeGrid: any;
  2112. constructor(timeGrid: any, fillRenderer: any);
  2113. renderFgSegs(segs: any): void;
  2114. renderFgSegsIntoContainers(segs: any, containerEls: any): void;
  2115. unrenderFgSegs(): void;
  2116. computeEventTimeFormat(): any;
  2117. computeDisplayEventEnd(): boolean;
  2118. fgSegHtml(seg: any, disableResizing: any): string;
  2119. updateFgSegCoords(segs: any): void;
  2120. computeFgSegHorizontals(segs: any): void;
  2121. computeFgSegForwardBack(seg: any, seriesBackwardPressure: any, seriesBackwardCoord: any): void;
  2122. sortForwardSegs(forwardSegs: any): void;
  2123. compareForwardSegs(seg1: any, seg2: any): any;
  2124. assignFgSegHorizontals(segs: any): void;
  2125. generateFgSegHorizontalCss(seg: any): any;
  2126. }
  2127. export default Default;
  2128. }
  2129. declare module 'fullcalendar/TimeGridHelperRenderer' {
  2130. import HelperRenderer from 'fullcalendar/HelperRenderer';
  2131. export class Default extends HelperRenderer {
  2132. renderSegs(segs: any, sourceSeg: any): JQuery;
  2133. }
  2134. export default Default;
  2135. }
  2136. declare module 'fullcalendar/TimeGridFillRenderer' {
  2137. import FillRenderer from 'fullcalendar/FillRenderer';
  2138. export class Default extends FillRenderer {
  2139. attachSegEls(type: any, segs: any): any;
  2140. }
  2141. export default Default;
  2142. }
  2143. declare module 'fullcalendar/TimeGrid' {
  2144. import * as moment from 'moment';
  2145. import InteractiveDateComponent from 'fullcalendar/InteractiveDateComponent';
  2146. import { DayTableInterface } from 'fullcalendar/DayTableMixin';
  2147. import ComponentFootprint from 'fullcalendar/ComponentFootprint';
  2148. export class Default extends InteractiveDateComponent {
  2149. dayDates: DayTableInterface['dayDates'];
  2150. daysPerRow: DayTableInterface['daysPerRow'];
  2151. colCnt: DayTableInterface['colCnt'];
  2152. updateDayTable: DayTableInterface['updateDayTable'];
  2153. renderHeadHtml: DayTableInterface['renderHeadHtml'];
  2154. renderBgTrHtml: DayTableInterface['renderBgTrHtml'];
  2155. bookendCells: DayTableInterface['bookendCells'];
  2156. getCellDate: DayTableInterface['getCellDate'];
  2157. view: any;
  2158. helperRenderer: any;
  2159. dayRanges: any;
  2160. slotDuration: any;
  2161. snapDuration: any;
  2162. snapsPerSlot: any;
  2163. labelFormat: any;
  2164. labelInterval: any;
  2165. headContainerEl: any;
  2166. colEls: any;
  2167. slatContainerEl: any;
  2168. slatEls: any;
  2169. nowIndicatorEls: any;
  2170. colCoordCache: any;
  2171. slatCoordCache: any;
  2172. bottomRuleEl: any;
  2173. contentSkeletonEl: any;
  2174. colContainerEls: any;
  2175. fgContainerEls: any;
  2176. bgContainerEls: any;
  2177. helperContainerEls: any;
  2178. highlightContainerEls: any;
  2179. businessContainerEls: any;
  2180. helperSegs: any;
  2181. highlightSegs: any;
  2182. businessSegs: any;
  2183. constructor(view: any);
  2184. componentFootprintToSegs(componentFootprint: any): any[];
  2185. sliceRangeByTimes(unzonedRange: any): any[];
  2186. processOptions(): void;
  2187. computeLabelInterval(slotDuration: any): any;
  2188. renderDates(dateProfile: any): void;
  2189. unrenderDates(): void;
  2190. renderSkeleton(): void;
  2191. renderSlats(): void;
  2192. renderSlatRowHtml(): string;
  2193. renderColumns(): void;
  2194. unrenderColumns(): void;
  2195. renderContentSkeleton(): void;
  2196. unrenderContentSkeleton(): void;
  2197. groupSegsByCol(segs: any): any[];
  2198. attachSegsByCol(segsByCol: any, containerEls: any): void;
  2199. getNowIndicatorUnit(): string;
  2200. renderNowIndicator(date: any): void;
  2201. unrenderNowIndicator(): void;
  2202. updateSize(totalHeight: any, isAuto: any, isResize: any): void;
  2203. getTotalSlatHeight(): any;
  2204. computeDateTop(ms: any, startOfDayDate: any): any;
  2205. computeTimeTop(time: any): any;
  2206. updateSegVerticals(segs: any): void;
  2207. computeSegVerticals(segs: any): void;
  2208. assignSegVerticals(segs: any): void;
  2209. generateSegVerticalCss(seg: any): {
  2210. top: any;
  2211. bottom: number;
  2212. };
  2213. prepareHits(): void;
  2214. releaseHits(): void;
  2215. queryHit(leftOffset: any, topOffset: any): any;
  2216. getHitFootprint(hit: any): ComponentFootprint;
  2217. computeSnapTime(snapIndex: any): moment.Duration;
  2218. getHitEl(hit: any): any;
  2219. renderDrag(eventFootprints: any, seg: any, isTouch: any): boolean;
  2220. unrenderDrag(): void;
  2221. renderEventResize(eventFootprints: any, seg: any, isTouch: any): void;
  2222. unrenderEventResize(): void;
  2223. renderSelectionFootprint(componentFootprint: any): void;
  2224. unrenderSelection(): void;
  2225. }
  2226. export default Default;
  2227. }
  2228. declare module 'fullcalendar/DayGridEventRenderer' {
  2229. import EventRenderer from 'fullcalendar/EventRenderer';
  2230. export class Default extends EventRenderer {
  2231. dayGrid: any;
  2232. rowStructs: any;
  2233. constructor(dayGrid: any, fillRenderer: any);
  2234. renderBgRanges(eventRanges: any): void;
  2235. renderFgSegs(segs: any): void;
  2236. unrenderFgSegs(): void;
  2237. renderSegRows(segs: any): any[];
  2238. renderSegRow(row: any, rowSegs: any): {
  2239. row: any;
  2240. tbodyEl: JQuery;
  2241. cellMatrix: any[];
  2242. segMatrix: any[];
  2243. segLevels: any[];
  2244. segs: any;
  2245. };
  2246. buildSegLevels(segs: any): any[];
  2247. groupSegRows(segs: any): any[];
  2248. computeEventTimeFormat(): any;
  2249. computeDisplayEventEnd(): boolean;
  2250. fgSegHtml(seg: any, disableResizing: any): string;
  2251. }
  2252. export default Default;
  2253. }
  2254. declare module 'fullcalendar/DayGridHelperRenderer' {
  2255. import HelperRenderer from 'fullcalendar/HelperRenderer';
  2256. export class Default extends HelperRenderer {
  2257. renderSegs(segs: any, sourceSeg: any): JQuery;
  2258. }
  2259. export default Default;
  2260. }
  2261. declare module 'fullcalendar/DayGridFillRenderer' {
  2262. import FillRenderer from 'fullcalendar/FillRenderer';
  2263. export class Default extends FillRenderer {
  2264. fillSegTag: string;
  2265. attachSegEls(type: any, segs: any): any[];
  2266. renderFillRow(type: any, seg: any): any;
  2267. }
  2268. export default Default;
  2269. }
  2270. declare module 'fullcalendar/DayGrid' {
  2271. import ComponentFootprint from 'fullcalendar/ComponentFootprint';
  2272. import InteractiveDateComponent from 'fullcalendar/InteractiveDateComponent';
  2273. import { DayTableInterface } from 'fullcalendar/DayTableMixin';
  2274. export class Default extends InteractiveDateComponent {
  2275. rowCnt: DayTableInterface['rowCnt'];
  2276. colCnt: DayTableInterface['colCnt'];
  2277. daysPerRow: DayTableInterface['daysPerRow'];
  2278. sliceRangeByRow: DayTableInterface['sliceRangeByRow'];
  2279. updateDayTable: DayTableInterface['updateDayTable'];
  2280. renderHeadHtml: DayTableInterface['renderHeadHtml'];
  2281. getCellDate: DayTableInterface['getCellDate'];
  2282. renderBgTrHtml: DayTableInterface['renderBgTrHtml'];
  2283. renderIntroHtml: DayTableInterface['renderIntroHtml'];
  2284. getCellRange: DayTableInterface['getCellRange'];
  2285. sliceRangeByDay: DayTableInterface['sliceRangeByDay'];
  2286. view: any;
  2287. helperRenderer: any;
  2288. cellWeekNumbersVisible: boolean;
  2289. bottomCoordPadding: number;
  2290. headContainerEl: any;
  2291. rowEls: any;
  2292. cellEls: any;
  2293. rowCoordCache: any;
  2294. colCoordCache: any;
  2295. isRigid: boolean;
  2296. hasAllDayBusinessHours: boolean;
  2297. segPopover: any;
  2298. popoverSegs: any;
  2299. constructor(view: any);
  2300. componentFootprintToSegs(componentFootprint: any): any;
  2301. renderDates(dateProfile: any): void;
  2302. unrenderDates(): void;
  2303. renderGrid(): void;
  2304. renderDayRowHtml(row: any, isRigid: any): string;
  2305. getIsNumbersVisible(): boolean;
  2306. getIsDayNumbersVisible(): boolean;
  2307. renderNumberTrHtml(row: any): string;
  2308. renderNumberIntroHtml(row: any): any;
  2309. renderNumberCellsHtml(row: any): string;
  2310. renderNumberCellHtml(date: any): string;
  2311. prepareHits(): void;
  2312. releaseHits(): void;
  2313. queryHit(leftOffset: any, topOffset: any): any;
  2314. getHitFootprint(hit: any): ComponentFootprint;
  2315. getHitEl(hit: any): any;
  2316. getCellHit(row: any, col: any): any;
  2317. getCellEl(row: any, col: any): any;
  2318. executeEventUnrender(): void;
  2319. getOwnEventSegs(): any;
  2320. renderDrag(eventFootprints: any, seg: any, isTouch: any): boolean;
  2321. unrenderDrag(): void;
  2322. renderEventResize(eventFootprints: any, seg: any, isTouch: any): void;
  2323. unrenderEventResize(): void;
  2324. removeSegPopover(): void;
  2325. limitRows(levelLimit: any): void;
  2326. computeRowLevelLimit(row: any): (number | false);
  2327. limitRow(row: any, levelLimit: any): void;
  2328. unlimitRow(row: any): void;
  2329. renderMoreLink(row: any, col: any, hiddenSegs: any): JQuery;
  2330. showSegPopover(row: any, col: any, moreLink: any, segs: any): void;
  2331. renderSegPopoverContent(row: any, col: any, segs: any): JQuery;
  2332. resliceDaySegs(segs: any, dayDate: any): any[];
  2333. getMoreLinkText(num: any): any;
  2334. getCellSegs(row: any, col: any, startLevel?: any): any[];
  2335. }
  2336. export default Default;
  2337. }
  2338. declare module 'fullcalendar/AgendaView' {
  2339. import View from 'fullcalendar/View';
  2340. export class Default extends View {
  2341. timeGridClass: any;
  2342. dayGridClass: any;
  2343. timeGrid: any;
  2344. dayGrid: any;
  2345. scroller: any;
  2346. axisWidth: any;
  2347. usesMinMaxTime: boolean;
  2348. constructor(calendar: any, viewSpec: any);
  2349. instantiateTimeGrid(): any;
  2350. instantiateDayGrid(): any;
  2351. renderSkeleton(): void;
  2352. unrenderSkeleton(): void;
  2353. renderSkeletonHtml(): string;
  2354. axisStyleAttr(): string;
  2355. getNowIndicatorUnit(): any;
  2356. updateSize(totalHeight: any, isAuto: any, isResize: any): void;
  2357. computeScrollerHeight(totalHeight: any): number;
  2358. computeInitialDateScroll(): {
  2359. top: any;
  2360. };
  2361. queryDateScroll(): {
  2362. top: any;
  2363. };
  2364. applyDateScroll(scroll: any): void;
  2365. getHitFootprint(hit: any): any;
  2366. getHitEl(hit: any): any;
  2367. executeEventRender(eventsPayload: any): void;
  2368. renderDrag(eventFootprints: any, seg: any, isTouch: any): boolean;
  2369. renderEventResize(eventFootprints: any, seg: any, isTouch: any): void;
  2370. renderSelectionFootprint(componentFootprint: any): void;
  2371. }
  2372. export default Default;
  2373. }
  2374. declare module 'fullcalendar/BasicViewDateProfileGenerator' {
  2375. import UnzonedRange from 'fullcalendar/UnzonedRange';
  2376. import DateProfileGenerator from 'fullcalendar/DateProfileGenerator';
  2377. export class Default extends DateProfileGenerator {
  2378. buildRenderRange(currentUnzonedRange: any, currentRangeUnit: any, isRangeAllDay: any): UnzonedRange;
  2379. }
  2380. export default Default;
  2381. }
  2382. declare module 'fullcalendar/BasicView' {
  2383. import View from 'fullcalendar/View';
  2384. export class Default extends View {
  2385. dateProfileGeneratorClass: any;
  2386. dayGridClass: any;
  2387. scroller: any;
  2388. dayGrid: any;
  2389. weekNumberWidth: any;
  2390. constructor(calendar: any, viewSpec: any);
  2391. instantiateDayGrid(): any;
  2392. executeDateRender(dateProfile: any): void;
  2393. renderSkeleton(): void;
  2394. unrenderSkeleton(): void;
  2395. renderSkeletonHtml(): string;
  2396. weekNumberStyleAttr(): string;
  2397. hasRigidRows(): boolean;
  2398. updateSize(totalHeight: any, isAuto: any, isResize: any): void;
  2399. computeScrollerHeight(totalHeight: any): number;
  2400. setGridHeight(height: any, isAuto: any): void;
  2401. computeInitialDateScroll(): {
  2402. top: number;
  2403. };
  2404. queryDateScroll(): {
  2405. top: any;
  2406. };
  2407. applyDateScroll(scroll: any): void;
  2408. }
  2409. export default Default;
  2410. }
  2411. declare module 'fullcalendar/MonthViewDateProfileGenerator' {
  2412. import BasicViewDateProfileGenerator from 'fullcalendar/BasicViewDateProfileGenerator';
  2413. import UnzonedRange from 'fullcalendar/UnzonedRange';
  2414. export class Default extends BasicViewDateProfileGenerator {
  2415. buildRenderRange(currentUnzonedRange: any, currentRangeUnit: any, isRangeAllDay: any): UnzonedRange;
  2416. }
  2417. export default Default;
  2418. }
  2419. declare module 'fullcalendar/MonthView' {
  2420. import BasicView from 'fullcalendar/BasicView';
  2421. export class Default extends BasicView {
  2422. setGridHeight(height: any, isAuto: any): void;
  2423. isDateInOtherMonth(date: any, dateProfile: any): boolean;
  2424. }
  2425. export default Default;
  2426. }
  2427. declare module 'fullcalendar/ListEventRenderer' {
  2428. import EventRenderer from 'fullcalendar/EventRenderer';
  2429. export class Default extends EventRenderer {
  2430. renderFgSegs(segs: any): void;
  2431. fgSegHtml(seg: any): string;
  2432. computeEventTimeFormat(): any;
  2433. }
  2434. export default Default;
  2435. }
  2436. declare module 'fullcalendar/ListEventPointing' {
  2437. import EventPointing from 'fullcalendar/EventPointing';
  2438. export class Default extends EventPointing {
  2439. handleClick(seg: any, ev: any): void;
  2440. }
  2441. export default Default;
  2442. }
  2443. declare module 'fullcalendar/ListView' {
  2444. import View from 'fullcalendar/View';
  2445. export class Default extends View {
  2446. eventRendererClass: any;
  2447. eventPointingClass: any;
  2448. segSelector: any;
  2449. scroller: any;
  2450. contentEl: any;
  2451. dayDates: any;
  2452. dayRanges: any;
  2453. constructor(calendar: any, viewSpec: any);
  2454. renderSkeleton(): void;
  2455. unrenderSkeleton(): void;
  2456. updateSize(totalHeight: any, isAuto: any, isResize: any): void;
  2457. computeScrollerHeight(totalHeight: any): number;
  2458. renderDates(dateProfile: any): void;
  2459. componentFootprintToSegs(footprint: any): any[];
  2460. renderEmptyMessage(): void;
  2461. renderSegList(allSegs: any): void;
  2462. groupSegsByDay(segs: any): any[];
  2463. dayHeaderHtml(dayDate: any): string;
  2464. }
  2465. export default Default;
  2466. }
  2467. declare module 'fullcalendar/src/exports' {
  2468. export const version = "<%= version %>";
  2469. export const internalApiVersion = 12;
  2470. export { BusinessHoursInput, EventOptionsBase, OptionsInput, OptionsInputBase, RangeInput, ToolbarInput, ViewOptionsInput, ButtonIconsInput, ButtonTextCompoundInput, CellInfo, EventObjectInput } from 'fullcalendar/src/types/input-types';
  2471. export { applyAll, debounce, isInt, htmlEscape, cssToStr, proxy, capitaliseFirstLetter, getOuterRect, getClientRect, getContentRect, getScrollbarWidths, preventDefault, parseFieldSpecs, compareByFieldSpecs, compareByFieldSpec, flexibleCompare, computeGreatestUnit, divideRangeByDuration, divideDurationByDuration, multiplyDuration, durationHasTime, log, warn, removeExact, intersectRects, allowSelection, attrsToStr, compareNumbers, compensateScroll, computeDurationGreatestUnit, constrainPoint, copyOwnProps, diffByUnit, diffDay, diffDayTime, diffPoints, disableCursor, distributeHeight, enableCursor, firstDefined, getEvIsTouch, getEvX, getEvY, getRectCenter, getScrollParent, hasOwnProp, isArraysEqual, isNativeDate, isPrimaryMouseButton, isTimeString, matchCellWidths, mergeProps, preventSelection, removeMatching, stripHtmlEntities, subtractInnerElHeight, uncompensateScroll, undistributeHeight, dayIDs, unitsDesc } from 'fullcalendar/src/util';
  2472. export { formatDate, formatRange, queryMostGranularFormatUnit } from 'fullcalendar/src/date-formatting';
  2473. export { datepickerLocale, locale, getMomentLocaleData, populateInstanceComputableOptions } from 'fullcalendar/src/locale';
  2474. export { eventDefsToEventInstances, eventFootprintToComponentFootprint, eventInstanceToEventRange, eventInstanceToUnzonedRange, eventRangeToEventFootprint } from 'fullcalendar/src/models/event/util';
  2475. export { default as moment } from 'fullcalendar/src/moment-ext';
  2476. export { default as EmitterMixin, EmitterInterface } from 'fullcalendar/EmitterMixin';
  2477. export { default as ListenerMixin, ListenerInterface } from 'fullcalendar/ListenerMixin';
  2478. export { default as Model } from 'fullcalendar/Model';
  2479. export { default as Constraints } from 'fullcalendar/Constraints';
  2480. export { default as DateProfileGenerator } from 'fullcalendar/DateProfileGenerator';
  2481. export { default as UnzonedRange } from 'fullcalendar/UnzonedRange';
  2482. export { default as ComponentFootprint } from 'fullcalendar/ComponentFootprint';
  2483. export { default as BusinessHourGenerator } from 'fullcalendar/BusinessHourGenerator';
  2484. export { default as EventPeriod } from 'fullcalendar/EventPeriod';
  2485. export { default as EventManager } from 'fullcalendar/EventManager';
  2486. export { default as EventDef } from 'fullcalendar/EventDef';
  2487. export { default as EventDefMutation } from 'fullcalendar/EventDefMutation';
  2488. export { default as EventDefParser } from 'fullcalendar/EventDefParser';
  2489. export { default as EventInstance } from 'fullcalendar/EventInstance';
  2490. export { default as EventRange } from 'fullcalendar/EventRange';
  2491. export { default as RecurringEventDef } from 'fullcalendar/RecurringEventDef';
  2492. export { default as SingleEventDef } from 'fullcalendar/SingleEventDef';
  2493. export { default as EventDefDateMutation } from 'fullcalendar/EventDefDateMutation';
  2494. export { default as EventDateProfile } from 'fullcalendar/EventDateProfile';
  2495. export { default as EventSourceParser } from 'fullcalendar/EventSourceParser';
  2496. export { default as EventSource } from 'fullcalendar/EventSource';
  2497. export { defineThemeSystem, getThemeSystemClass } from 'fullcalendar/ThemeRegistry';
  2498. export { default as EventInstanceGroup } from 'fullcalendar/EventInstanceGroup';
  2499. export { default as ArrayEventSource } from 'fullcalendar/ArrayEventSource';
  2500. export { default as FuncEventSource } from 'fullcalendar/FuncEventSource';
  2501. export { default as JsonFeedEventSource } from 'fullcalendar/JsonFeedEventSource';
  2502. export { default as EventFootprint } from 'fullcalendar/EventFootprint';
  2503. export { default as Class } from 'fullcalendar/Class';
  2504. export { default as Mixin } from 'fullcalendar/Mixin';
  2505. export { default as CoordCache } from 'fullcalendar/CoordCache';
  2506. export { default as Iterator } from 'fullcalendar/Iterator';
  2507. export { default as DragListener } from 'fullcalendar/DragListener';
  2508. export { default as HitDragListener } from 'fullcalendar/HitDragListener';
  2509. export { default as MouseFollower } from 'fullcalendar/MouseFollower';
  2510. export { default as ParsableModelMixin, ParsableModelInterface } from 'fullcalendar/ParsableModelMixin';
  2511. export { default as Popover } from 'fullcalendar/Popover';
  2512. export { default as Promise } from 'fullcalendar/Promise';
  2513. export { default as TaskQueue } from 'fullcalendar/TaskQueue';
  2514. export { default as RenderQueue } from 'fullcalendar/RenderQueue';
  2515. export { default as Scroller } from 'fullcalendar/Scroller';
  2516. export { default as Theme } from 'fullcalendar/Theme';
  2517. export { default as Component } from 'fullcalendar/Component';
  2518. export { default as DateComponent } from 'fullcalendar/DateComponent';
  2519. export { default as InteractiveDateComponent } from 'fullcalendar/InteractiveDateComponent';
  2520. export { default as Calendar } from 'fullcalendar/Calendar';
  2521. export { default as View } from 'fullcalendar/View';
  2522. export { defineView, getViewConfig } from 'fullcalendar/ViewRegistry';
  2523. export { default as DayTableMixin } from 'fullcalendar/DayTableMixin';
  2524. export { default as BusinessHourRenderer } from 'fullcalendar/BusinessHourRenderer';
  2525. export { default as EventRenderer } from 'fullcalendar/EventRenderer';
  2526. export { default as FillRenderer } from 'fullcalendar/FillRenderer';
  2527. export { default as HelperRenderer } from 'fullcalendar/HelperRenderer';
  2528. export { default as ExternalDropping } from 'fullcalendar/ExternalDropping';
  2529. export { default as EventResizing } from 'fullcalendar/EventResizing';
  2530. export { default as EventPointing } from 'fullcalendar/EventPointing';
  2531. export { default as EventDragging } from 'fullcalendar/EventDragging';
  2532. export { default as DateSelecting } from 'fullcalendar/DateSelecting';
  2533. export { default as DateClicking } from 'fullcalendar/DateClicking';
  2534. export { default as Interaction } from 'fullcalendar/Interaction';
  2535. export { default as StandardInteractionsMixin } from 'fullcalendar/StandardInteractionsMixin';
  2536. export { default as AgendaView } from 'fullcalendar/AgendaView';
  2537. export { default as TimeGrid } from 'fullcalendar/TimeGrid';
  2538. export { default as TimeGridEventRenderer } from 'fullcalendar/TimeGridEventRenderer';
  2539. export { default as TimeGridFillRenderer } from 'fullcalendar/TimeGridFillRenderer';
  2540. export { default as TimeGridHelperRenderer } from 'fullcalendar/TimeGridHelperRenderer';
  2541. export { default as DayGrid } from 'fullcalendar/DayGrid';
  2542. export { default as DayGridEventRenderer } from 'fullcalendar/DayGridEventRenderer';
  2543. export { default as DayGridFillRenderer } from 'fullcalendar/DayGridFillRenderer';
  2544. export { default as DayGridHelperRenderer } from 'fullcalendar/DayGridHelperRenderer';
  2545. export { default as BasicView } from 'fullcalendar/BasicView';
  2546. export { default as BasicViewDateProfileGenerator } from 'fullcalendar/BasicViewDateProfileGenerator';
  2547. export { default as MonthView } from 'fullcalendar/MonthView';
  2548. export { default as MonthViewDateProfileGenerator } from 'fullcalendar/MonthViewDateProfileGenerator';
  2549. export { default as ListView } from 'fullcalendar/ListView';
  2550. export { default as ListEventPointing } from 'fullcalendar/ListEventPointing';
  2551. export { default as ListEventRenderer } from 'fullcalendar/ListEventRenderer';
  2552. }
  2553. declare module 'fullcalendar/src/models/event-source/config' {
  2554. export {};
  2555. }
  2556. declare module 'fullcalendar/Bootstrap3Theme' {
  2557. import Theme from 'fullcalendar/Theme';
  2558. export class Default extends Theme {
  2559. }
  2560. export default Default;
  2561. }
  2562. declare module 'fullcalendar/Bootstrap4Theme' {
  2563. import Theme from 'fullcalendar/Theme';
  2564. export class Default extends Theme {
  2565. }
  2566. export default Default;
  2567. }
  2568. declare module 'fullcalendar/src/theme/config' {
  2569. export {};
  2570. }
  2571. declare module 'fullcalendar/src/basic/config' {
  2572. export {};
  2573. }
  2574. declare module 'fullcalendar/src/agenda/config' {
  2575. export {};
  2576. }
  2577. declare module 'fullcalendar/src/list/config' {
  2578. export {};
  2579. }
  2580. declare module 'fullcalendar/src/types/jquery-hooks' {
  2581. import * as moment from 'moment';
  2582. import Calendar from 'fullcalendar/Calendar';
  2583. import View from 'fullcalendar/View';
  2584. import EventSource from 'fullcalendar/EventSource';
  2585. import { RangeInput, MomentInput, OptionsInput, EventObjectInput, EventSourceInput } from 'fullcalendar/src/types/input-types'; global {
  2586. interface JQueryStatic {
  2587. fullCalendar: object;
  2588. }
  2589. interface JQuery {
  2590. fullCalendar(options?: OptionsInput): JQuery;
  2591. fullCalendar(method: 'getCalendar'): Calendar;
  2592. fullCalendar(method: 'getView'): View;
  2593. fullCalendar(method: 'destroy'): JQuery;
  2594. fullCalendar(method: 'option', name: string | object, value?: any): any;
  2595. fullCalendar(method: 'isValidViewType', viewType: string): boolean;
  2596. fullCalendar(method: 'changeView', viewName: string, dateOrRange?: RangeInput | MomentInput): JQuery;
  2597. fullCalendar(method: 'zoomTo', newDate: moment.Moment, viewType?: string): JQuery;
  2598. fullCalendar(method: 'prev'): JQuery;
  2599. fullCalendar(method: 'next'): JQuery;
  2600. fullCalendar(method: 'prevYear'): JQuery;
  2601. fullCalendar(method: 'nextYear'): JQuery;
  2602. fullCalendar(method: 'today'): JQuery;
  2603. fullCalendar(method: 'gotoDate', zonedDateInput: any): JQuery;
  2604. fullCalendar(method: 'incrementDate', delta: any): JQuery;
  2605. fullCalendar(method: 'getDate'): moment.Moment;
  2606. fullCalendar(method: 'render'): JQuery;
  2607. fullCalendar(method: 'select', zonedStartInput: MomentInput, zonedEndInput?: MomentInput, resourceId?: string): JQuery;
  2608. fullCalendar(method: 'unselect'): JQuery;
  2609. fullCalendar(method: 'moment', ...args: any[]): moment.Moment;
  2610. fullCalendar(method: 'getNow'): moment.Moment;
  2611. fullCalendar(method: 'rerenderEvents'): JQuery;
  2612. fullCalendar(method: 'refetchEvents'): JQuery;
  2613. fullCalendar(method: 'renderEvents', eventInputs: EventObjectInput[], isSticky?: boolean): JQuery;
  2614. fullCalendar(method: 'renderEvent', eventInput: EventObjectInput, isSticky?: boolean): JQuery;
  2615. fullCalendar(method: 'removeEvents', legacyQuery?: any): JQuery;
  2616. fullCalendar(method: 'clientEvents', legacyQuery: any): any;
  2617. fullCalendar(method: 'updateEvents', eventPropsArray: EventObjectInput[]): JQuery;
  2618. fullCalendar(method: 'updateEvent', eventProps: EventObjectInput): JQuery;
  2619. fullCalendar(method: 'getEventSources'): EventSource;
  2620. fullCalendar(method: 'getEventSourceById', id: any): EventSource;
  2621. fullCalendar(method: 'addEventSource', sourceInput: EventSourceInput): JQuery;
  2622. fullCalendar(method: 'removeEventSources', sourceMultiQuery: any): JQuery;
  2623. fullCalendar(method: 'removeEventSource', sourceQuery: any): JQuery;
  2624. fullCalendar(method: 'refetchEventSources', sourceMultiQuery: any): JQuery;
  2625. }
  2626. }
  2627. }
  2628. declare module 'fullcalendar/src/main' {
  2629. import * as exportHooks from 'fullcalendar/src/exports';
  2630. import 'fullcalendar/src/moment-ext';
  2631. import 'fullcalendar/src/date-formatting';
  2632. import 'fullcalendar/src/models/event-source/config';
  2633. import 'fullcalendar/src/theme/config';
  2634. import 'fullcalendar/src/basic/config';
  2635. import 'fullcalendar/src/agenda/config';
  2636. import 'fullcalendar/src/list/config';
  2637. import 'fullcalendar/src/types/jquery-hooks';
  2638. export = exportHooks;
  2639. }
  2640. declare module 'fullcalendar/plugins/gcal/GcalEventSource' {
  2641. /// <reference types="jquery" />
  2642. import { EventSource } from 'fullcalendar';
  2643. export class Default extends EventSource {
  2644. static API_BASE: string;
  2645. googleCalendarApiKey: any;
  2646. googleCalendarId: any;
  2647. googleCalendarError: any;
  2648. ajaxSettings: any;
  2649. static parse(rawInput: any, calendar: any): any;
  2650. fetch(start: any, end: any, timezone: any): JQueryPromise<{}>;
  2651. gcalItemsToRawEventDefs(items: any, gcalTimezone: any): any;
  2652. gcalItemToRawEventDef(item: any, gcalTimezone: any): {
  2653. id: any;
  2654. title: any;
  2655. start: any;
  2656. end: any;
  2657. url: any;
  2658. location: any;
  2659. description: any;
  2660. extendedProperties: {};
  2661. };
  2662. buildUrl(): string;
  2663. buildRequestParams(start: any, end: any, timezone: any): any;
  2664. reportError(message: any, apiErrorObjs?: any): void;
  2665. getPrimitive(): any;
  2666. applyManualStandardProps(rawProps: any): any;
  2667. applyMiscProps(rawProps: any): void;
  2668. }
  2669. export default Default;
  2670. }
  2671. declare module 'fullcalendar/plugins/gcal/main' {
  2672. export {};
  2673. }
  2674. declare module 'fullcalendar' {
  2675. import main = require('fullcalendar/src/main');
  2676. export = main;
  2677. }