import { NgZone } from '@angular/core'; import { ElementRef } from '@angular/core'; import { SgSortService } from '../services/sorting/sg-sort.service'; import { SgEventService } from '../services/event/sg-event.service'; import { SgReflectService } from '../services/reflective/sg-reflect.service'; import { SgStoreService } from '../services/store/sg-store.service'; import { SgScrollHelperService } from '../../sortable-grid-cardgrouping/services/helpers/scroll-helper/scroll-helper.service'; import { SimpleChanges } from '@angular/core'; import { SgMultiSelectService } from '../services/multi-select/sg-multi-select.service'; import { SgElementHelperService } from '../services/helpers/element-helper/element-helper.service'; import { EventEmitter } from '@angular/core'; import { OnChanges } from '@angular/core'; import { OnDestroy } from '@angular/core'; import { AfterViewInit } from '@angular/core'; import { SnSgOrderChange } from '../models/SnSgDragElement'; import * as i0 from "@angular/core"; export declare class SortGridItemDirective implements OnChanges, AfterViewInit, OnDestroy { el: ElementRef; private sortService; private selectionService; private reflectService; private sgStore; private sgEventService; private elementHelper; private scrollHelperService; private ngZone; snSortGridGroup: string; set snSortGridItems(x: any[]); get snSortGridItems(): any[]; private snSortGridItemsΩ; set disabled(disable: boolean); get disabled(): boolean; scrollOffset?: number; scrollMultiplier?: number; scrollProgression?: number; private _disabled; sorted: EventEmitter>; private dragOverSubscription?; private selected; private destroy$; constructor(el: ElementRef, sortService: SgSortService, selectionService: SgMultiSelectService, reflectService: SgReflectService, sgStore: SgStoreService, sgEventService: SgEventService, elementHelper: SgElementHelperService, scrollHelperService: SgScrollHelperService, ngZone: NgZone); ngAfterViewInit(): void; ngOnChanges(changes: SimpleChanges): void; private setItems; ngOnDestroy(): void; dragStart(event: any): void; /** * This sets the listener with throttling that then calls the handlerForDragOver. * Document:dragover is used instead of simply drag. (Drag events on desktop have coordinates as zero, while mobile works fine). * * To avoid perfomance issues as much as possible, we don't use \@HostListerner; we throttle the handler; * and we only have one listener at a time (for the element that the user is dragging). Otherwise, all elements inside the grid will be calling this simulatenously. */ initDragListener(): void; dragEnter(): void; /** * Captures both desktop and mobile events. * @param event DragEvent (we want the coordinates) */ handleDragOverDocument(event: DragEvent): void; drop(): void; clicked(): void; private isItemCurrentlySelected; private occurredOnHost; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }