import { ChangeDetectionStrategy, Component, ViewEncapsulation } from "@angular/core";
import * as i0 from "@angular/core";
export class QMSTableAction {
    constructor(elRef) {
        this.elRef = elRef;
    }
    ngOnInit() { }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: QMSTableAction, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: QMSTableAction, selector: "qms-table-action", host: { classAttribute: "qms-table-action" }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [".qms-table-action{border:1px solid #e4e4e4;box-sizing:border-box;border-radius:4px;display:flex;justify-content:space-between;align-items:center;height:46px;width:100%}.qms-table-action .qms-table-action-block{height:inherit;display:inline-flex}.qms-table-action .qms-table-action-block:first-child .qms-button-toggle-group:first-child,.qms-table-action .qms-table-action-block:first-child button:first-child{border-top-left-radius:4px;border-bottom-left-radius:4px}.qms-table-action .qms-table-action-block:first-child button:not(:first-child),.qms-table-action .qms-table-action-block:first-child .qms-button-toggle-group:not(:first-child){border-left:none}.qms-table-action .qms-table-action-block:last-child .qms-button-toggle-group:last-child,.qms-table-action .qms-table-action-block:last-child button:last-child{border-top-right-radius:4px;border-bottom-right-radius:4px}.qms-table-action .qms-table-action-block:last-child button:not(:last-child),.qms-table-action .qms-table-action-block:last-child .qms-button-toggle-group:not(:last-child){border-right:none}.qms-table-action [class*=qms-button],.qms-table-action [class*=qms-btn]{height:100%;border-radius:0}.qms-table-action .qms-button-toggle-label-content{line-height:44px;padding:0 9px}.qms-table-action .mat-mdc-form-field.qms-search-field .mat-form-field-suffix .mat-mdc-icon-button{margin-bottom:0;width:1.5rem;height:1.5rem}.qms-table-action .mat-mdc-form-field.qms-search-field .mat-form-field-flex{align-items:center!important;border-radius:0!important;height:46px;border-bottom:none}button.btn-more{display:none}button.btn-more mat-icon{color:var(--primary);vertical-align:middle}#block1,#block2,#block3,#block4{display:none}.block1,.block2,.block3,.block4{display:inline-flex}#block1:checked+.block1{display:inline-flex}#block2:checked+.block2{display:inline-flex}#block3:checked+.block3{display:inline-flex}#block4:checked+.block4{display:inline-flex}@media (max-width: 1199.98px){button.btn-block1{display:inline-block}.block1{display:none}}@media (max-width: 991.98px){button.btn-block2{display:inline-block}.block2{display:none}}@media (max-width: 767.98px){button.btn-block3{display:inline-block}.block3{display:none}}@media (max-width: 575.98px){button.btn-block4{display:inline-block}.block4{display:none}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: QMSTableAction, decorators: [{
            type: Component,
            args: [{ selector: 'qms-table-action', host: { 'class': 'qms-table-action' }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n", styles: [".qms-table-action{border:1px solid #e4e4e4;box-sizing:border-box;border-radius:4px;display:flex;justify-content:space-between;align-items:center;height:46px;width:100%}.qms-table-action .qms-table-action-block{height:inherit;display:inline-flex}.qms-table-action .qms-table-action-block:first-child .qms-button-toggle-group:first-child,.qms-table-action .qms-table-action-block:first-child button:first-child{border-top-left-radius:4px;border-bottom-left-radius:4px}.qms-table-action .qms-table-action-block:first-child button:not(:first-child),.qms-table-action .qms-table-action-block:first-child .qms-button-toggle-group:not(:first-child){border-left:none}.qms-table-action .qms-table-action-block:last-child .qms-button-toggle-group:last-child,.qms-table-action .qms-table-action-block:last-child button:last-child{border-top-right-radius:4px;border-bottom-right-radius:4px}.qms-table-action .qms-table-action-block:last-child button:not(:last-child),.qms-table-action .qms-table-action-block:last-child .qms-button-toggle-group:not(:last-child){border-right:none}.qms-table-action [class*=qms-button],.qms-table-action [class*=qms-btn]{height:100%;border-radius:0}.qms-table-action .qms-button-toggle-label-content{line-height:44px;padding:0 9px}.qms-table-action .mat-mdc-form-field.qms-search-field .mat-form-field-suffix .mat-mdc-icon-button{margin-bottom:0;width:1.5rem;height:1.5rem}.qms-table-action .mat-mdc-form-field.qms-search-field .mat-form-field-flex{align-items:center!important;border-radius:0!important;height:46px;border-bottom:none}button.btn-more{display:none}button.btn-more mat-icon{color:var(--primary);vertical-align:middle}#block1,#block2,#block3,#block4{display:none}.block1,.block2,.block3,.block4{display:inline-flex}#block1:checked+.block1{display:inline-flex}#block2:checked+.block2{display:inline-flex}#block3:checked+.block3{display:inline-flex}#block4:checked+.block4{display:inline-flex}@media (max-width: 1199.98px){button.btn-block1{display:inline-block}.block1{display:none}}@media (max-width: 991.98px){button.btn-block2{display:inline-block}.block2{display:none}}@media (max-width: 767.98px){button.btn-block3{display:inline-block}.block3{display:none}}@media (max-width: 575.98px){button.btn-block4{display:inline-block}.block4{display:none}}\n"] }]
        }], ctorParameters: () => [{ type: i0.ElementRef }] });
export class QMSTableActionBlock {
    constructor(elRef, renderer) {
        this.elRef = elRef;
        this.renderer = renderer;
    }
    ngAfterViewInit() {
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: QMSTableActionBlock, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: QMSTableActionBlock, selector: "qms-table-action-block", host: { classAttribute: "qms-table-action-block" }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [".qms-table-action{border:1px solid #e4e4e4;box-sizing:border-box;border-radius:4px;display:flex;justify-content:space-between;align-items:center;height:46px;width:100%}.qms-table-action .qms-table-action-block{height:inherit;display:inline-flex}.qms-table-action .qms-table-action-block:first-child .qms-button-toggle-group:first-child,.qms-table-action .qms-table-action-block:first-child button:first-child{border-top-left-radius:4px;border-bottom-left-radius:4px}.qms-table-action .qms-table-action-block:first-child button:not(:first-child),.qms-table-action .qms-table-action-block:first-child .qms-button-toggle-group:not(:first-child){border-left:none}.qms-table-action .qms-table-action-block:last-child .qms-button-toggle-group:last-child,.qms-table-action .qms-table-action-block:last-child button:last-child{border-top-right-radius:4px;border-bottom-right-radius:4px}.qms-table-action .qms-table-action-block:last-child button:not(:last-child),.qms-table-action .qms-table-action-block:last-child .qms-button-toggle-group:not(:last-child){border-right:none}.qms-table-action [class*=qms-button],.qms-table-action [class*=qms-btn]{height:100%;border-radius:0}.qms-table-action .qms-button-toggle-label-content{line-height:44px;padding:0 9px}.qms-table-action .mat-mdc-form-field.qms-search-field .mat-form-field-suffix .mat-mdc-icon-button{margin-bottom:0;width:1.5rem;height:1.5rem}.qms-table-action .mat-mdc-form-field.qms-search-field .mat-form-field-flex{align-items:center!important;border-radius:0!important;height:46px;border-bottom:none}button.btn-more{display:none}button.btn-more mat-icon{color:var(--primary);vertical-align:middle}#block1,#block2,#block3,#block4{display:none}.block1,.block2,.block3,.block4{display:inline-flex}#block1:checked+.block1{display:inline-flex}#block2:checked+.block2{display:inline-flex}#block3:checked+.block3{display:inline-flex}#block4:checked+.block4{display:inline-flex}@media (max-width: 1199.98px){button.btn-block1{display:inline-block}.block1{display:none}}@media (max-width: 991.98px){button.btn-block2{display:inline-block}.block2{display:none}}@media (max-width: 767.98px){button.btn-block3{display:inline-block}.block3{display:none}}@media (max-width: 575.98px){button.btn-block4{display:inline-block}.block4{display:none}}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: QMSTableActionBlock, decorators: [{
            type: Component,
            args: [{ selector: 'qms-table-action-block', host: {
                        'class': 'qms-table-action-block',
                    }, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n", styles: [".qms-table-action{border:1px solid #e4e4e4;box-sizing:border-box;border-radius:4px;display:flex;justify-content:space-between;align-items:center;height:46px;width:100%}.qms-table-action .qms-table-action-block{height:inherit;display:inline-flex}.qms-table-action .qms-table-action-block:first-child .qms-button-toggle-group:first-child,.qms-table-action .qms-table-action-block:first-child button:first-child{border-top-left-radius:4px;border-bottom-left-radius:4px}.qms-table-action .qms-table-action-block:first-child button:not(:first-child),.qms-table-action .qms-table-action-block:first-child .qms-button-toggle-group:not(:first-child){border-left:none}.qms-table-action .qms-table-action-block:last-child .qms-button-toggle-group:last-child,.qms-table-action .qms-table-action-block:last-child button:last-child{border-top-right-radius:4px;border-bottom-right-radius:4px}.qms-table-action .qms-table-action-block:last-child button:not(:last-child),.qms-table-action .qms-table-action-block:last-child .qms-button-toggle-group:not(:last-child){border-right:none}.qms-table-action [class*=qms-button],.qms-table-action [class*=qms-btn]{height:100%;border-radius:0}.qms-table-action .qms-button-toggle-label-content{line-height:44px;padding:0 9px}.qms-table-action .mat-mdc-form-field.qms-search-field .mat-form-field-suffix .mat-mdc-icon-button{margin-bottom:0;width:1.5rem;height:1.5rem}.qms-table-action .mat-mdc-form-field.qms-search-field .mat-form-field-flex{align-items:center!important;border-radius:0!important;height:46px;border-bottom:none}button.btn-more{display:none}button.btn-more mat-icon{color:var(--primary);vertical-align:middle}#block1,#block2,#block3,#block4{display:none}.block1,.block2,.block3,.block4{display:inline-flex}#block1:checked+.block1{display:inline-flex}#block2:checked+.block2{display:inline-flex}#block3:checked+.block3{display:inline-flex}#block4:checked+.block4{display:inline-flex}@media (max-width: 1199.98px){button.btn-block1{display:inline-block}.block1{display:none}}@media (max-width: 991.98px){button.btn-block2{display:inline-block}.block2{display:none}}@media (max-width: 767.98px){button.btn-block3{display:inline-block}.block3{display:none}}@media (max-width: 575.98px){button.btn-block4{display:inline-block}.block4{display:none}}\n"] }]
        }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }] });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtYWN0aW9uLmpzIiwic291cmNlUm9vdC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