Brak opisu

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  1. // Generated by dts-bundle v0.7.3-fork.1
  2. // Dependencies for this module:
  3. // ../../../../../@fullcalendar/core
  4. declare module '@fullcalendar/daygrid' {
  5. export { default as SimpleDayGrid, DayGridSlicer } from '@fullcalendar/daygrid/SimpleDayGrid';
  6. export { default as DayGrid, DayGridSeg } from '@fullcalendar/daygrid/DayGrid';
  7. export { default as AbstractDayGridView } from '@fullcalendar/daygrid/AbstractDayGridView';
  8. export { default as DayGridView, buildDayTable as buildBasicDayTable } from '@fullcalendar/daygrid/DayGridView';
  9. export { default as DayBgRow } from '@fullcalendar/daygrid/DayBgRow';
  10. const _default: import("@fullcalendar/core").PluginDef;
  11. export default _default;
  12. }
  13. declare module '@fullcalendar/daygrid/SimpleDayGrid' {
  14. import { DateProfile, EventStore, EventUiHash, DateSpan, EventInteractionState, DayTable, Duration, DateComponent, DateRange, Slicer, Hit, ComponentContext } from '@fullcalendar/core';
  15. import { default as DayGrid, DayGridSeg } from '@fullcalendar/daygrid/DayGrid';
  16. export interface SimpleDayGridProps {
  17. dateProfile: DateProfile | null;
  18. dayTable: DayTable;
  19. nextDayThreshold: Duration;
  20. businessHours: EventStore;
  21. eventStore: EventStore;
  22. eventUiBases: EventUiHash;
  23. dateSelection: DateSpan | null;
  24. eventSelection: string;
  25. eventDrag: EventInteractionState | null;
  26. eventResize: EventInteractionState | null;
  27. isRigid: boolean;
  28. }
  29. export { SimpleDayGrid as default, SimpleDayGrid };
  30. class SimpleDayGrid extends DateComponent<SimpleDayGridProps> {
  31. dayGrid: DayGrid;
  32. constructor(context: ComponentContext, dayGrid: DayGrid);
  33. destroy(): void;
  34. render(props: SimpleDayGridProps): void;
  35. buildPositionCaches(): void;
  36. queryHit(positionLeft: number, positionTop: number): Hit;
  37. }
  38. export class DayGridSlicer extends Slicer<DayGridSeg, [DayTable]> {
  39. sliceRange(dateRange: DateRange, dayTable: DayTable): DayGridSeg[];
  40. }
  41. }
  42. declare module '@fullcalendar/daygrid/DayGrid' {
  43. import { PositionCache, DateMarker, DateComponent, EventSegUiInteractionState, Seg, DateProfile } from '@fullcalendar/core';
  44. import Popover from '@fullcalendar/daygrid/Popover';
  45. import DayGridEventRenderer from '@fullcalendar/daygrid/DayGridEventRenderer';
  46. import DayTile from '@fullcalendar/daygrid/DayTile';
  47. export interface RenderProps {
  48. renderNumberIntroHtml: (row: number, dayGrid: DayGrid) => string;
  49. renderBgIntroHtml: () => string;
  50. renderIntroHtml: () => string;
  51. colWeekNumbersVisible: boolean;
  52. cellWeekNumbersVisible: boolean;
  53. }
  54. export interface DayGridSeg extends Seg {
  55. row: number;
  56. firstCol: number;
  57. lastCol: number;
  58. }
  59. export interface DayGridCell {
  60. date: DateMarker;
  61. htmlAttrs?: string;
  62. }
  63. export interface DayGridProps {
  64. dateProfile: DateProfile;
  65. cells: DayGridCell[][];
  66. businessHourSegs: DayGridSeg[];
  67. bgEventSegs: DayGridSeg[];
  68. fgEventSegs: DayGridSeg[];
  69. dateSelectionSegs: DayGridSeg[];
  70. eventSelection: string;
  71. eventDrag: EventSegUiInteractionState | null;
  72. eventResize: EventSegUiInteractionState | null;
  73. isRigid: boolean;
  74. }
  75. export { DayGrid as default, DayGrid };
  76. class DayGrid extends DateComponent<DayGridProps> {
  77. eventRenderer: DayGridEventRenderer;
  78. renderProps: RenderProps;
  79. rowCnt: number;
  80. colCnt: number;
  81. bottomCoordPadding: number;
  82. rowEls: HTMLElement[];
  83. cellEls: HTMLElement[];
  84. isCellSizesDirty: boolean;
  85. rowPositions: PositionCache;
  86. colPositions: PositionCache;
  87. segPopover: Popover;
  88. segPopoverTile: DayTile;
  89. constructor(context: any, el: any, renderProps: RenderProps);
  90. render(props: DayGridProps): void;
  91. destroy(): void;
  92. getCellRange(row: any, col: any): {
  93. start: Date;
  94. end: Date;
  95. };
  96. updateSegPopoverTile(date?: any, segs?: any): void;
  97. _renderCells(cells: DayGridCell[][], isRigid: boolean): void;
  98. _unrenderCells(): void;
  99. renderDayRowHtml(row: any, isRigid: any): string;
  100. getIsNumbersVisible(): boolean;
  101. getIsDayNumbersVisible(): boolean;
  102. renderNumberTrHtml(row: number): string;
  103. renderNumberCellsHtml(row: any): string;
  104. renderNumberCellHtml(date: any): string;
  105. updateSize(isResize: boolean): void;
  106. buildPositionCaches(): void;
  107. buildColPositions(): void;
  108. buildRowPositions(): void;
  109. positionToHit(leftPosition: any, topPosition: any): {
  110. row: any;
  111. col: any;
  112. dateSpan: {
  113. range: {
  114. start: Date;
  115. end: Date;
  116. };
  117. allDay: boolean;
  118. };
  119. dayEl: HTMLElement;
  120. relativeRect: {
  121. left: any;
  122. right: any;
  123. top: any;
  124. bottom: any;
  125. };
  126. };
  127. getCellEl(row: any, col: any): HTMLElement;
  128. _renderEventDrag(state: EventSegUiInteractionState): void;
  129. _unrenderEventDrag(state: EventSegUiInteractionState): void;
  130. _renderEventResize(state: EventSegUiInteractionState): void;
  131. _unrenderEventResize(state: EventSegUiInteractionState): void;
  132. removeSegPopover(): void;
  133. limitRows(levelLimit: any): void;
  134. computeRowLevelLimit(row: any): (number | false);
  135. limitRow(row: any, levelLimit: any): void;
  136. unlimitRow(row: any): void;
  137. renderMoreLink(row: any, col: any, hiddenSegs: any): HTMLElement;
  138. showSegPopover(row: any, col: any, moreLink: HTMLElement, segs: any): void;
  139. resliceDaySegs(segs: any, dayDate: any): any[];
  140. getMoreLinkText(num: any): any;
  141. getCellSegs(row: any, col: any, startLevel?: any): any[];
  142. }
  143. }
  144. declare module '@fullcalendar/daygrid/AbstractDayGridView' {
  145. import { ScrollComponent, View, ComponentContext, ViewSpec, DateProfileGenerator, Duration } from '@fullcalendar/core';
  146. import DayGrid from '@fullcalendar/daygrid/DayGrid';
  147. export { DayGridView as default, DayGridView };
  148. abstract class DayGridView extends View {
  149. scroller: ScrollComponent;
  150. dayGrid: DayGrid;
  151. colWeekNumbersVisible: boolean;
  152. weekNumberWidth: number;
  153. constructor(context: ComponentContext, viewSpec: ViewSpec, dateProfileGenerator: DateProfileGenerator, parentEl: HTMLElement);
  154. destroy(): void;
  155. renderSkeletonHtml(): string;
  156. weekNumberStyleAttr(): string;
  157. hasRigidRows(): boolean;
  158. updateSize(isResize: boolean, viewHeight: number, isAuto: boolean): void;
  159. updateBaseSize(isResize: boolean, viewHeight: number, isAuto: boolean): void;
  160. computeScrollerHeight(viewHeight: any): number;
  161. setGridHeight(height: any, isAuto: any): void;
  162. computeDateScroll(duration: Duration): {
  163. top: number;
  164. };
  165. queryDateScroll(): {
  166. top: number;
  167. };
  168. applyDateScroll(scroll: any): void;
  169. renderHeadIntroHtml: () => string;
  170. renderDayGridNumberIntroHtml: (row: number, dayGrid: DayGrid) => string;
  171. renderDayGridBgIntroHtml: () => string;
  172. renderDayGridIntroHtml: () => string;
  173. }
  174. }
  175. declare module '@fullcalendar/daygrid/DayGridView' {
  176. import { DayHeader, ComponentContext, ViewSpec, DateProfileGenerator, DateProfile, ViewProps, DayTable } from '@fullcalendar/core';
  177. import AbstractDayGridView from '@fullcalendar/daygrid/AbstractDayGridView';
  178. import SimpleDayGrid from '@fullcalendar/daygrid/SimpleDayGrid';
  179. export { DayGridView as default, DayGridView };
  180. class DayGridView extends AbstractDayGridView {
  181. header: DayHeader;
  182. simpleDayGrid: SimpleDayGrid;
  183. dayTable: DayTable;
  184. constructor(_context: ComponentContext, viewSpec: ViewSpec, dateProfileGenerator: DateProfileGenerator, parentEl: HTMLElement);
  185. destroy(): void;
  186. render(props: ViewProps): void;
  187. }
  188. export function buildDayTable(dateProfile: DateProfile, dateProfileGenerator: DateProfileGenerator): DayTable;
  189. }
  190. declare module '@fullcalendar/daygrid/DayBgRow' {
  191. import { ComponentContext, DateMarker, DateProfile } from '@fullcalendar/core';
  192. export interface DayBgCell {
  193. date: DateMarker;
  194. htmlAttrs?: string;
  195. }
  196. export interface DayBgRowProps {
  197. cells: DayBgCell[];
  198. dateProfile: DateProfile;
  199. renderIntroHtml?: () => string;
  200. }
  201. export { DayBgRow as default, DayBgRow };
  202. class DayBgRow {
  203. context: ComponentContext;
  204. constructor(context: ComponentContext);
  205. renderHtml(props: DayBgRowProps): string;
  206. }
  207. }
  208. declare module '@fullcalendar/daygrid/Popover' {
  209. export interface PopoverOptions {
  210. className?: string;
  211. content?: (el: HTMLElement) => void;
  212. parentEl: HTMLElement;
  213. autoHide?: boolean;
  214. top?: number;
  215. left?: number;
  216. right?: number;
  217. viewportConstrain?: boolean;
  218. }
  219. export { Popover as default, Popover };
  220. class Popover {
  221. isHidden: boolean;
  222. options: PopoverOptions;
  223. el: HTMLElement;
  224. margin: number;
  225. constructor(options: PopoverOptions);
  226. show(): void;
  227. hide(): void;
  228. render(): void;
  229. documentMousedown: (ev: any) => void;
  230. destroy(): void;
  231. position(): void;
  232. trigger(name: any): void;
  233. }
  234. }
  235. declare module '@fullcalendar/daygrid/DayGridEventRenderer' {
  236. import { Seg } from '@fullcalendar/core';
  237. import DayGrid from '@fullcalendar/daygrid/DayGrid';
  238. import SimpleDayGridEventRenderer from '@fullcalendar/daygrid/SimpleDayGridEventRenderer';
  239. export { DayGridEventRenderer as default, DayGridEventRenderer };
  240. class DayGridEventRenderer extends SimpleDayGridEventRenderer {
  241. dayGrid: DayGrid;
  242. rowStructs: any;
  243. constructor(dayGrid: DayGrid);
  244. attachSegs(segs: Seg[], mirrorInfo: any): void;
  245. detachSegs(): void;
  246. renderSegRows(segs: Seg[]): any[];
  247. renderSegRow(row: any, rowSegs: any): {
  248. row: any;
  249. tbodyEl: HTMLTableSectionElement;
  250. cellMatrix: any[];
  251. segMatrix: any[];
  252. segLevels: any[];
  253. segs: any;
  254. };
  255. buildSegLevels(segs: Seg[]): any[];
  256. groupSegRows(segs: Seg[]): any[];
  257. computeDisplayEventEnd(): boolean;
  258. }
  259. }
  260. declare module '@fullcalendar/daygrid/DayTile' {
  261. import { DateComponent, Seg, Hit, DateMarker, ComponentContext, EventInstanceHash } from '@fullcalendar/core';
  262. import SimpleDayGridEventRenderer from '@fullcalendar/daygrid/SimpleDayGridEventRenderer';
  263. export interface DayTileProps {
  264. date: DateMarker;
  265. fgSegs: Seg[];
  266. eventSelection: string;
  267. eventDragInstances: EventInstanceHash;
  268. eventResizeInstances: EventInstanceHash;
  269. }
  270. export { DayTile as default, DayTile };
  271. class DayTile extends DateComponent<DayTileProps> {
  272. segContainerEl: HTMLElement;
  273. constructor(context: ComponentContext, el: HTMLElement);
  274. render(props: DayTileProps): void;
  275. destroy(): void;
  276. _renderFrame(date: DateMarker): void;
  277. queryHit(positionLeft: number, positionTop: number, elWidth: number, elHeight: number): Hit | null;
  278. }
  279. export class DayTileEventRenderer extends SimpleDayGridEventRenderer {
  280. dayTile: DayTile;
  281. constructor(dayTile: any);
  282. attachSegs(segs: Seg[]): void;
  283. detachSegs(segs: Seg[]): void;
  284. }
  285. }
  286. declare module '@fullcalendar/daygrid/SimpleDayGridEventRenderer' {
  287. import { FgEventRenderer, Seg } from '@fullcalendar/core';
  288. export { SimpleDayGridEventRenderer as default, SimpleDayGridEventRenderer };
  289. abstract class SimpleDayGridEventRenderer extends FgEventRenderer {
  290. renderSegHtml(seg: Seg, mirrorInfo: any): string;
  291. computeEventTimeFormat(): {
  292. hour: string;
  293. minute: string;
  294. omitZeroMinute: boolean;
  295. meridiem: string;
  296. };
  297. computeDisplayEventEnd(): boolean;
  298. }
  299. }