import { Component, Host, HostBinding } from '@angular/core';
import { IgxPaginatorComponent } from './paginator.component';
export class IgxPageSizeSelectorComponent {
    constructor(paginator) {
        this.paginator = paginator;
        /**
         * @internal
         * @hidden
         */
        this.cssClass = 'igx-page-size';
    }
}
IgxPageSizeSelectorComponent.decorators = [
    { type: Component, args: [{
                selector: 'igx-page-size',
                template: "<label class=\"igx-page-size__label\">{{\n    paginator.resourceStrings.igx_paginator_label\n}}</label>\n<div class=\"igx-page-size__select\">\n    <igx-select\n        [overlaySettings]=\"paginator.overlaySettings\"\n        [(ngModel)]=\"paginator.perPage\"\n        [displayDensity]=\"paginator.paginatorSelectDisplayDensity\"\n        type=\"border\"\n    >\n        <label igxLabel [hidden]=\"true\">{{\n            paginator.resourceStrings.igx_paginator_label\n        }}</label>\n        <igx-select-item\n            [value]=\"val\"\n            *ngFor=\"let val of paginator.selectOptions\"\n        >\n            {{ val }}\n        </igx-select-item>\n    </igx-select>\n</div>\n\n"
            },] }
];
IgxPageSizeSelectorComponent.ctorParameters = () => [
    { type: IgxPaginatorComponent, decorators: [{ type: Host }] }
];
IgxPageSizeSelectorComponent.propDecorators = {
    cssClass: [{ type: HostBinding, args: ['class.igx-page-size',] }]
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZV9zaXplX3NlbGVjdG9yLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2lnbml0ZXVpLWFuZ3VsYXIvc3JjL2xpYi9wYWdpbmF0b3IvcGFnZV9zaXplX3NlbGVjdG9yLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLElBQUksRUFBRSxXQUFXLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDNUQsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sdUJB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