import { Component, Input, ViewChild } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
import * as i2 from "@angular/cdk/scrolling";
export class EagnaScrollComponent {
    constructor() { }
    ngOnInit() {
    }
}
EagnaScrollComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: EagnaScrollComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
EagnaScrollComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: EagnaScrollComponent, selector: "eagna-scroll", inputs: { maxHeight: "maxHeight", maxWidth: "maxWidth" }, viewQueries: [{ propertyName: "viewPort", first: true, predicate: ["viewPort"], descendants: true }], ngImport: i0, template: "<div class=\"eagna-scroll-container\" [style]=\"{'max-height':maxHeight}\" #viewPort>\r\n    <cdk-virtual-scroll-viewport itemSize=\"100\" class=\"example-viewport\" [ngStyle]=\"{'max-width':maxWidth}\">\r\n        <ng-content></ng-content>\r\n    </cdk-virtual-scroll-viewport>\r\n</div>", styles: [".example-viewport{height:100%;display:flex;overflow-x:hidden}.list{height:50px;justify-content:center;align-items:center}h2{margin-left:40px}.eagna-scroll-container{height:100%;width:100%}.eagna-scroll-container:hover ::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar{width:5px;height:5px}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#888;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#555;width:10px}\n"], dependencies: [{ kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { kind: "component", type: i2.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: EagnaScrollComponent, decorators: [{
            type: Component,
            args: [{ selector: 'eagna-scroll', template: "<div class=\"eagna-scroll-container\" [style]=\"{'max-height':maxHeight}\" #viewPort>\r\n    <cdk-virtual-scroll-viewport itemSize=\"100\" class=\"example-viewport\" [ngStyle]=\"{'max-width':maxWidth}\">\r\n        <ng-content></ng-content>\r\n    </cdk-virtual-scroll-viewport>\r\n</div>", styles: [".example-viewport{height:100%;display:flex;overflow-x:hidden}.list{height:50px;justify-content:center;align-items:center}h2{margin-left:40px}.eagna-scroll-container{height:100%;width:100%}.eagna-scroll-container:hover ::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar{width:5px;height:5px}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#888;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#555;width:10px}\n"] }]
        }], ctorParameters: function () { return []; }, propDecorators: { maxHeight: [{
                type: Input
            }], maxWidth: [{
                type: Input
            }], viewPort: [{
                type: ViewChild,
                args: ['viewPort']
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2Nyb2xsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2VhZ25hL3NyYy9saWIvQGNvbXBvbmVudHMvc2Nyb2xsL3Njcm9sbC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9lYWduYS9zcmMvbGliL0Bjb21wb25lbnRzL3Njcm9sbC9zY3JvbGwuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxLQUFLLEVBQUUsU0FBUyxFQUFjLE1BQU0sZUFBZSxDQUFDOzs7O0FBT2hGLE1BQU0sT0FBTyxvQkFBb0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