UNPKG

@up-group/react-controls

Version:

We know that there are a ton of react UI library projects to choose from. Our hope with this one is to provide the next generation of react components that you can use to bootstrap your next project, or as a reference for building a UIKit. Read on to get

64 lines (63 loc) 2.65 kB
export declare function _get(object: any, key: any): any; export declare function _length(object: any): any; export declare function arraysEqual(array1: any, array2: any): any; export declare function iterateTimes(start: any, end: any, unit: any, timeSteps: any, callback: any): void; export declare function getMinUnit(zoom: any, width: any, timeSteps: any): string; export declare function getNextUnit(unit: any): any; export declare function getParentPosition(element: any): { x: number; y: number; }; export declare function coordinateToTimeRatio(canvasTimeStart: any, canvasTimeEnd: any, canvasWidth: any): number; export declare function calculateDimensions({item, order, keys, canvasTimeStart, canvasTimeEnd, canvasWidth, dragSnap, lineHeight, draggingItem, dragTime, resizingItem, resizingEdge, resizeTime, newGroupOrder, itemHeightRatio, fullUpdate, visibleTimeStart, visibleTimeEnd}: { item: any; order: any; keys: any; canvasTimeStart: any; canvasTimeEnd: any; canvasWidth: any; dragSnap: any; lineHeight: any; draggingItem: any; dragTime: any; resizingItem: any; resizingEdge: any; resizeTime: any; newGroupOrder: any; itemHeightRatio: any; fullUpdate: any; visibleTimeStart: any; visibleTimeEnd: any; }): { left: number; top: any; width: number; height: number; order: any; stack: boolean; collisionLeft: any; originalLeft: any; collisionWidth: number; lineHeight: any; isDragging: boolean; clippedLeft: boolean; clippedRight: boolean; }; export declare function getGroupOrders(groups: any, keys: any): {}; export declare function getVisibleItems(items: any, canvasTimeStart: any, canvasTimeEnd: any, keys: any): any; export declare function collision(a: any, b: any, lineHeight: any): boolean; export declare function stack(items: any, groupOrders: any, lineHeight: any, headerHeight: any, force: any): { height: any; groupHeights: {}; groupTops: {}; }; export declare function nostack(items: any, groupOrders: any, lineHeight: any, headerHeight: any, force: any): { height: any; groupHeights: {}; groupTops: {}; }; export declare function keyBy(value: any, key: any): {}; export declare function getGroupedItems(items: any, groupOrders: any): any[]; export declare function hasSomeParentTheClass(element: any, classname: any): any; export declare function createGradientPattern(lineHeight: any, color1: any, color2: any, borderColor: any): any; export declare function deepObjectCompare(obj1: any, obj2: any): boolean;