import { Component, HostBinding, ViewChild, ViewContainerRef } from '@angular/core';
import { IgxScrollInertiaDirective } from '../scroll-inertia/scroll_inertia.directive';
import * as i0 from "@angular/core";
import * as i1 from "../scroll-inertia/scroll_inertia.directive";
export class DisplayContainerComponent {
    constructor(cdr, _viewContainer) {
        this.cdr = cdr;
        this._viewContainer = _viewContainer;
        this.cssClass = 'igx-display-container';
        this.notVirtual = true;
    }
}
DisplayContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: DisplayContainerComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Component });
DisplayContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0", type: DisplayContainerComponent, selector: "igx-display-container", host: { properties: { "class": "this.cssClass", "class.igx-display-container--inactive": "this.notVirtual" } }, viewQueries: [{ propertyName: "_vcr", first: true, predicate: ["display_container"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "_scrollInertia", first: true, predicate: ["display_container"], descendants: true, read: IgxScrollInertiaDirective, static: true }], ngImport: i0, template: `
        <ng-template
            #display_container
            igxScrollInertia
            [IgxScrollInertiaScrollContainer]="scrollContainer"
            [IgxScrollInertiaDirection]="scrollDirection">
        </ng-template>
    `, isInline: true, directives: [{ type: i1.IgxScrollInertiaDirective, selector: "[igxScrollInertia]", inputs: ["IgxScrollInertiaDirection", "IgxScrollInertiaScrollContainer", "wheelStep", "inertiaStep", "smoothingStep", "smoothingDuration", "swipeToleranceX", "inertiaDeltaY", "inertiaDeltaX", "inertiaDuration"] }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: DisplayContainerComponent, decorators: [{
            type: Component,
            args: [{
                    selector: 'igx-display-container',
                    template: `
        <ng-template
            #display_container
            igxScrollInertia
            [IgxScrollInertiaScrollContainer]="scrollContainer"
            [IgxScrollInertiaDirection]="scrollDirection">
        </ng-template>
    `
                }]
        }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ViewContainerRef }]; }, propDecorators: { _vcr: [{
                type: ViewChild,
                args: ['display_container', { read: ViewContainerRef, static: true }]
            }], _scrollInertia: [{
                type: ViewChild,
                args: ['display_container', { read: IgxScrollInertiaDirective, static: true }]
            }], cssClass: [{
                type: HostBinding,
                args: ['class']
            }], notVirtual: [{
                type: HostBinding,
                args: ['class.igx-display-container--inactive']
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlzcGxheS5jb250YWluZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9pZ25pdGV1aS1hbmd1bGFyL3NyYy9saWIvZGlyZWN0aXZlcy9mb3Itb2YvZGlzcGxheS5jb250YWluZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUVILFNBQVMsRUFDVCxXQUFXLEVBQ1gsU0FBUyxFQUNULGdCQUFnQixFQUNuQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSw0Q0FBNEMsQ0FBQzs7O0FBYXZGLE1BQU0sT0FBTyx5QkFBeUI7SUFpQmxDLFlBQW1CLEdBQXNCLEVBQVMsY0FBZ0M7UUFBL0QsUUFBRyxHQUFILEdBQUcsQ0FBbUI7UUFBUyxtQkFBYyxHQUFkLGNBQWMsQ0FBa0I7UUFUM0UsYUFBUSxHQUFHLHVCQUF1QixDQUFDO1FBR25DLGVBQVUsR0FBRyxJQUFJLENBQUM7SUFNNkQsQ0FBQzs7c0hBakI5RSx5QkFBeUI7MEdBQXpCLHlCQUF5QixtUUFDTSxnQkFBZ0IsNEhBR2hCLHlCQUF5QiwyQ0FidkQ7Ozs7Ozs7S0FPVDsyRkFFUSx5QkFBeUI7a0JBWH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