/** * @license * Copyright Datorama. All Rights Reserved. * * Use of this source code is governed by an Apache License 2.0 license that can be * found in the LICENSE file at https://github.com/datorama/client-core/blob/master/LICENSE */ import { EventEmitter, OnInit, QueryList } from '@angular/core'; import { Options } from 'sortablejs'; import { DatoSortableOptions, SortableJSEvent } from './sortable.types'; import { FormControl } from '@angular/forms'; import { noop } from '../internal/helpers'; import { DatoAccordionGroupComponent } from '../accordion/accordion-group/accordion-group.component'; export declare class DatoSortableComponent implements OnInit { accordionGroups: QueryList; mergedOptions: Options; list: any[]; noop: typeof noop; set datoList(list: any[] | FormControl); /** * Sortablejs options */ datoOptions: DatoSortableOptions; /** * Custom class for the items container */ containerClass: string; /** * Fired once items order has changed */ orderUpdated: EventEmitter; private formControl; private defaultOptions; ngOnInit(): void; emitUpdate(event: any): void; setGhostHeight(event: any): void; }