wix-style-react
Version:
wix-style-react
26 lines • 1.89 kB
TypeScript
export function swapItems(items: any, firstItem: any, secondItem: any, childProp?: string): any;
export function getSiblingsByNodePosition(items: any, position?: any[], childProp?: string): any;
export function getNodeAtPosition(items: any, position?: any[], childProp?: string): any;
export function getNodePosition(items: any, item: any, childProp?: string, position?: any[]): any;
export function recursiveMap(items: any, predicateFn: any, childProp?: string): any;
export function isLastItem(siblings: any, item: any): any;
export function isFistItem(siblings: any, item: any): any;
export function isRootItem(depth: any): boolean;
export function hoverAboveItself(prevPosition: any, nextPosition: any): any;
export function isItemHasChildren(item: any, childrenProperty: any): boolean;
export function getDropParent(items: any, nextPosition: any, childrenProperty: any): any;
export function moveItem(items: any, item: any, currentPosition: any, newPosition: any, childrenProp?: string): any[];
export function moveItemToTheChildOfPrevSibling(items: any, item: any, childrenProp?: string): any;
export function moveItemVertically(items: any, item: any, step?: number, childProp?: string): any;
export function moveItemOutsideOfTheParent(items: any, item: any, childProp?: string): any;
export function setCollapse(items: any, itemId: any, isCollapsed: any): any;
export namespace VerticalMovementDirection {
let top: number;
let bottom: number;
}
export function generateUniqueGroupId(): symbol | "test_id";
export function getDepth(item: any, childrenProperty: any): number;
export function getValuesByKey(data: any, key: any, childrenProp: any): any[];
export function removeFromTree(items: any, position: any, childrenProperty?: string): any;
export function addToTree(items: any, item: any, position: any, childrenProperty?: string): any;
//# sourceMappingURL=utils.d.ts.map