import { EventEmitter, ViewContainerRef, ChangeDetectorRef, Injector, ComponentFactoryResolver, AfterContentInit, Renderer2, ElementRef, NgZone } from '@angular/core'; import { ListPanel } from './ListPanel'; import { IDataSource } from "igniteui-angular-core"; import { IgxListPanelTemplateItemUpdatingEventArgs } from './igx-list-panel-template-item-updating-event-args'; import { ListPanelOrientation } from './ListPanelOrientation'; import { IgxListPanelContentRefreshedEventArgs } from './igx-list-panel-content-refreshed-event-args'; import { IgxListPanelTemplateWidthRequestedEventArgs } from './igx-list-panel-template-width-requested-event-args'; import { IgxListPanelTemplateHeightRequestedEventArgs } from './igx-list-panel-template-height-requested-event-args'; import { IExternalListPanel } from './IExternalListPanel'; import { ScrollbarStyle } from "igniteui-angular-core"; import { IgxListPanelItemEventArgs } from './igx-list-panel-item-event-args'; import { IgxListPanelActiveRowChangedEventArgs } from './igx-list-panel-active-row-changed-event-args'; import { IgxListPanelSelectionChangedEventArgs } from './igx-list-panel-selection-changed-event-args'; import { IgxListPanelSelectedKeysChangedEventArgs } from './igx-list-panel-selected-keys-changed-event-args'; import { IgxListPanelSelectedItemsChangedEventArgs } from './igx-list-panel-selected-items-changed-event-args'; import { IgxListPanelPrimaryKeyValue } from './igx-list-panel-primary-key-value'; import { IgxListPanelSelectedKeysCollection } from './igx-list-panel-selected-keys-collection'; import { ListPanelSelectionMode } from './ListPanelSelectionMode'; import { ListPanelActivationMode } from './ListPanelActivationMode'; import { ListPanelSelectionBehavior } from './ListPanelSelectionBehavior'; import { IgxListPanelSelectedItemsCollection } from './igx-list-panel-selected-items-collection'; import { IgxListPanelContentRecycledEventArgs } from './igx-list-panel-content-recycled-event-args'; import { IgxListPanelContentRebindEventArgs } from './igx-list-panel-content-rebind-event-args'; import * as i0 from "@angular/core"; export declare class IgxListPanelComponent implements AfterContentInit, IExternalListPanel { private renderer; private _elRef; private ngZone; private injector; private changeDetector; private componentFactoryResolver; private _implementation; _mainDiv: Element; private _portalManager; private _componentFactoryResolver; private _scroller; setScrollbarStyle(style: ScrollbarStyle): void; setScrollbarColor(color: any): void; createLocalDataSource(itemsSource: any, schemaIncludedProperties: string[]): IDataSource; onContentSizeChanged(): void; private _content; _mainDivRef: ElementRef; private _height; private _width; set height(value: string); get height(): string; set width(value: string); get width(): string; private ensureStretch; private _angularRenderer; private _root; constructor(renderer: Renderer2, _elRef: ViewContainerRef, ngZone: NgZone, injector: Injector, changeDetector: ChangeDetectorRef, componentFactoryResolver: ComponentFactoryResolver); moveViewportTo(x: number, y: number): void; updateStyle(): void; ngOnDestroy(): void; ngAfterViewInit(): void; onScroll(): void; onScrollStart(): void; onScrollStop(): void; scrollTo(x: number, y: number): void; ngAfterContentInit(): void; notifySizeChanged(): void; protected createImplementation(): ListPanel; get i(): ListPanel; /** * Sets or gets the grid selection mode. */ get selectionMode(): ListPanelSelectionMode; set selectionMode(v: ListPanelSelectionMode); static ngAcceptInputType_selectionMode: ListPanelSelectionMode | string; /** * Gets or sets whether the active row style will be applied to rows when made active. */ get isActiveRowStyleEnabled(): boolean; set isActiveRowStyleEnabled(v: boolean); static ngAcceptInputType_isActiveRowStyleEnabled: boolean | string; /** * Gets or sets the background color to use for the cells when they are selected */ get selectedBackground(): string; set selectedBackground(v: string); /** * Gets or sets the background color to use. */ get normalBackground(): string; set normalBackground(v: string); /** * Gets or sets the activation border color to use. */ get activationBorder(): string; set activationBorder(v: string); /** * Gets or sets the amount of left activation border to use for the cell content for this column. */ get activationBorderLeftWidth(): number; set activationBorderLeftWidth(v: number); static ngAcceptInputType_activationBorderLeftWidth: number | string; /** * Gets or sets the amount of top activation border to use for the cell content for this column. */ get activationBorderTopWidth(): number; set activationBorderTopWidth(v: number); static ngAcceptInputType_activationBorderTopWidth: number | string; /** * Gets or sets the amount of right activation border to use for the cell content of this column. */ get activationBorderRightWidth(): number; set activationBorderRightWidth(v: number); static ngAcceptInputType_activationBorderRightWidth: number | string; /** * Gets or sets the amount of bottom activation border to use for the cell content of this column. */ get activationBorderBottomWidth(): number; set activationBorderBottomWidth(v: number); static ngAcceptInputType_activationBorderBottomWidth: number | string; /** * Sets or gets the grid selection mode. */ get activationMode(): ListPanelActivationMode; set activationMode(v: ListPanelActivationMode); static ngAcceptInputType_activationMode: ListPanelActivationMode | string; /** * Sets or gets how selection behaves in the grid. */ get selectionBehavior(): ListPanelSelectionBehavior; set selectionBehavior(v: ListPanelSelectionBehavior); static ngAcceptInputType_selectionBehavior: ListPanelSelectionBehavior | string; /** * Sets or gets the user provided primary key to assume for the data. Certain functionality of the grid requires a way to uniquely identify items in order to work correctly. * If a primary key cannot be inferred from the data source, you may need to provide one here. */ get primaryKey(): string[]; set primaryKey(v: string[]); static ngAcceptInputType_primaryKey: string[] | string; /** * Gets either the inferred primary key from the data source, or the user provided primary key, if present. Represents the actual primary key that the grid will use in operations that require it. */ get actualPrimaryKey(): string[]; set actualPrimaryKey(v: string[]); static ngAcceptInputType_actualPrimaryKey: string[] | string; private _selectedItems; /** * Gets which items are currently selected in the grid. Collection can be updated to programatically select items. */ get selectedItems(): IgxListPanelSelectedItemsCollection; set selectedItems(v: IgxListPanelSelectedItemsCollection); static ngAcceptInputType_selectedItems: IgxListPanelSelectedItemsCollection | string; private _selectedKeys; /** * Gets which primary key values are currently selected in the grid. Collection can be updated to programatically select items. */ get selectedKeys(): IgxListPanelSelectedKeysCollection; set selectedKeys(v: IgxListPanelSelectedKeysCollection); static ngAcceptInputType_selectedKeys: IgxListPanelSelectedKeysCollection | string; /** * Gets either the filtered properties to include in the schema of the data source. */ get schemaIncludedProperties(): string[]; set schemaIncludedProperties(v: string[]); static ngAcceptInputType_schemaIncludedProperties: string[] | string; /** * Gets or sets the spacing between items. */ get itemSpacing(): number; set itemSpacing(v: number); static ngAcceptInputType_itemSpacing: number | string; /** * Gets or Sets the property name that contains the values. */ get rowHeight(): number; set rowHeight(v: number); static ngAcceptInputType_rowHeight: number | string; get actualRowHeight(): number; set actualRowHeight(v: number); static ngAcceptInputType_actualRowHeight: number | string; /** * Gets or Sets the property name that contains the values. */ get cellTextStyle(): string; set cellTextStyle(v: string); get hasUnevenSizes(): boolean; static ngAcceptInputType_hasUnevenSizes: boolean | string; /** * Gets or sets the style of scrollbar. */ get scrollbarStyle(): ScrollbarStyle; set scrollbarStyle(v: ScrollbarStyle); static ngAcceptInputType_scrollbarStyle: ScrollbarStyle | string; /** * Gets or sets the scrollbar background color. */ get scrollbarBackground(): string; set scrollbarBackground(v: string); /** * Gets or sets the color to use for the background of the component. */ get backgroundColor(): string; set backgroundColor(v: string); /** * Gets or sets the color to use for the background of the component. */ get orientation(): ListPanelOrientation; set orientation(v: ListPanelOrientation); static ngAcceptInputType_orientation: ListPanelOrientation | string; /** * Gets or sets the color to use for the background of the component. */ get isCustomRowHeightEnabled(): boolean; set isCustomRowHeightEnabled(v: boolean); static ngAcceptInputType_isCustomRowHeightEnabled: boolean | string; /** * Gets or sets the color to use for the text of the component. */ get textColor(): string; set textColor(v: string); /** * Gets or sets the position of the active row. */ get activeRow(): number; set activeRow(v: number); static ngAcceptInputType_activeRow: number | string; /** * Gets or sets if the grid should notify on programmatic selection changes as well as changes from the UI. */ get notifyOnAllSelectionChanges(): boolean; set notifyOnAllSelectionChanges(v: boolean); static ngAcceptInputType_notifyOnAllSelectionChanges: boolean | string; findByName(name: string): any; protected __p: string; protected _hasUserValues: Set; protected get hasUserValues(): Set; protected __m(propertyName: string): void; protected _stylingContainer: any; protected _stylingParent: any; protected _inStyling: boolean; protected _styling(container: any, component: any, parent?: any): void; getRowKey(primaryKey: string[], rowIndex: number): IgxListPanelPrimaryKeyValue; getItemKey(primaryKey: string[], item_: any): IgxListPanelPrimaryKeyValue; /** * Gets the last visible index in the grid. */ getLastVisibleIndex(): number; /** * Gets the first visible index in the grid. */ getFirstVisibleIndex(): number; /** * Invalidates the bound data for the rows currently visible. */ invalidateVisibleItems(): void; notifySetItem(index: number, oldItem: any, newItem: any): void; /** * Manually notifies the grid's data source that the data it has bound to has been cleared and needs to be re-examined. * This should not be called if the data that the grid is bound to is already observable. */ notifyClearItems(): void; notifyInsertItem(index: number, newItem: any): void; notifyRemoveItem(index: number, oldItem: any): void; /** * Returns the data index of an item within the bound data source. * @param item * The item from which to get the index. */ dataIndexOfItem(item: any): number; dataIndexOfPrimaryKey(key: any[]): number; exportVisualData(): any; exportSerializedVisualData(): string; /** * Selects all of the rows in the grid. */ selectAllRows(): void; /** * Scrolls the grid to given row, by index * @param rowNumber * The row index to scroll to. */ scrollToRowByIndex(rowNumber: number): void; /** * Scrolls the grid so that a row is the last visible, by index. * @param rowNumber * The row index to scroll to. */ scrollToLastRowByIndex(rowNumber: number): void; /** * Deselects all currently selected rows. */ deselectAllRows(): void; private _itemRecycled; /** * Called when item content is recycled. */ get itemRecycled(): EventEmitter<{ sender: any; args: IgxListPanelContentRecycledEventArgs; }>; private _itemRebind; /** * Called when item content is rebound. */ get itemRebind(): EventEmitter<{ sender: any; args: IgxListPanelContentRebindEventArgs; }>; private _selectedItemsChanged; /** * Called when the selected items change. */ get selectedItemsChanged(): EventEmitter<{ sender: any; args: IgxListPanelSelectedItemsChangedEventArgs; }>; private _selectedKeysChanged; /** * Called when the selected keys change. */ get selectedKeysChanged(): EventEmitter<{ sender: any; args: IgxListPanelSelectedKeysChangedEventArgs; }>; private _selectionChanged; /** * Called when an individual selection operation has been made. */ get selectionChanged(): EventEmitter<{ sender: any; args: IgxListPanelSelectionChangedEventArgs; }>; private _activeRowChanged; /** * Called when the active row changes. */ get activeRowChanged(): EventEmitter<{ sender: any; args: IgxListPanelActiveRowChangedEventArgs; }>; private _contentRefreshed; get contentRefreshed(): EventEmitter<{ sender: any; args: IgxListPanelContentRefreshedEventArgs; }>; private _rowUpdating; get rowUpdating(): EventEmitter<{ sender: any; args: IgxListPanelTemplateItemUpdatingEventArgs; }>; private _itemWidthRequested; get itemWidthRequested(): EventEmitter<{ sender: any; args: IgxListPanelTemplateWidthRequestedEventArgs; }>; private _itemHeightRequested; get itemHeightRequested(): EventEmitter<{ sender: any; args: IgxListPanelTemplateHeightRequestedEventArgs; }>; private _itemClicked; get itemClicked(): EventEmitter<{ sender: any; args: IgxListPanelItemEventArgs; }>; private _actualPrimaryKeyChange; get actualPrimaryKeyChange(): EventEmitter; protected _zoneRunner: (act: () => void) => void; protected _runInZone(act: () => void): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }