Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
import { DraggableStateProps, ProductProps } from './typings';
export declare class DraggableState implements DraggableStateProps {
    collisionProductId: string;
    originalProducts: Array<ProductProps>;
    reArrangedProducts: Array<ProductProps>;
    isDragging: boolean;
    isActive: boolean;
    setItem(key: string, value: unknown): void;
    readonly products: ProductProps[];
    readonly filterList: ProductProps[] | {
        id: string;
        label: string;
        value: string[];
        isSelected: boolean;
    }[];
    onDragOver(value: string): void;
    onDragEnd(currentDragId: string, isFilter?: boolean): void;
    setDeletedProducts: (item: ProductProps) => void;
    deleteProduct(index: number): void;
    replaceProductData: (index: number, product: ProductProps) => void;
    setUpdatedProductsList: (product: ProductProps) => void;
    updateProducts(updateParams: any): void;
}