Some ignored filles was missing
This commit is contained in:
parent
7db22245e2
commit
fd5ab6bc0d
268 changed files with 31970 additions and 4 deletions
30
wwwroot/js/utils/ColumnDetectionUtils.d.ts
vendored
Normal file
30
wwwroot/js/utils/ColumnDetectionUtils.d.ts
vendored
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
/**
|
||||
* ColumnDetectionUtils - Shared utility for column detection and caching
|
||||
* Used by both DragDropManager and AllDayManager for consistent column detection
|
||||
*/
|
||||
import { IMousePosition } from "../types/DragDropTypes";
|
||||
export interface IColumnBounds {
|
||||
date: string;
|
||||
left: number;
|
||||
right: number;
|
||||
boundingClientRect: DOMRect;
|
||||
element: HTMLElement;
|
||||
index: number;
|
||||
}
|
||||
export declare class ColumnDetectionUtils {
|
||||
private static columnBoundsCache;
|
||||
/**
|
||||
* Update column bounds cache for coordinate-based column detection
|
||||
*/
|
||||
static updateColumnBoundsCache(): void;
|
||||
/**
|
||||
* Get column date from X coordinate using cached bounds
|
||||
*/
|
||||
static getColumnBounds(position: IMousePosition): IColumnBounds | null;
|
||||
/**
|
||||
* Get column bounds by Date
|
||||
*/
|
||||
static getColumnBoundsByDate(date: Date): IColumnBounds | null;
|
||||
static getColumns(): IColumnBounds[];
|
||||
static getHeaderColumns(): IColumnBounds[];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue