import { Directive, Input } from '@angular/core';
import * as i0 from "@angular/core";
export class QMSDialogContainer {
    constructor(el) {
        this.el = el;
    }
    ngOnInit() {
        if (this.min) {
            this.el.nativeElement.style[`min-height`] = `${this.min}`;
        }
        if (this.max) {
            this.el.nativeElement.style[`max-height`] = `${this.max}`;
        }
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: QMSDialogContainer, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
    static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: QMSDialogContainer, selector: "[qms-dialog-container], qms-dialog-container, [qmsDialogContainer]", inputs: { min: "min", max: "max" }, host: { classAttribute: "qms-dialog-container" }, ngImport: i0 }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: QMSDialogContainer, decorators: [{
            type: Directive,
            args: [{
                    selector: `[qms-dialog-container], qms-dialog-container, [qmsDialogContainer]`,
                    host: { 'class': 'qms-dialog-container' },
                }]
        }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { min: [{
                type: Input
            }], max: [{
                type: Input
            }] } });
export class QMSDialogContainerV2 {
    constructor(el) {
        this.el = el;
    }
    ngOnInit() {
        if (this.min) {
            this.el.nativeElement.style[`min-height`] = `${this.min}`;
        }
        if (this.max) {
            this.el.nativeElement.style[`max-height`] = `${this.max}`;
        }
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: QMSDialogContainerV2, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
    static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: QMSDialogContainerV2, selector: "[qms-dialog-container-v2], qms-dialog-container-v2, [qmsDialogContainerV2]", inputs: { min: "min", max: "max" }, host: { classAttribute: "qms-dialog-container-v2" }, ngImport: i0 }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: QMSDialogContainerV2, decorators: [{
            type: Directive,
            args: [{
                    selector: `[qms-dialog-container-v2], qms-dialog-container-v2, [qmsDialogContainerV2]`,
                    host: { 'class': 'qms-dialog-container-v2' },
                }]
        }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { min: [{
                type: Input
            }], max: [{
                type: Input
            }] } });
export class QMSDialogHeader {
    constructor(el) {
        this.el = el;
    }
    ngOnInit() {
        if (this.height) {
            this.el.nativeElement.style[`height`] = `${this.height}`;
        }
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: QMSDialogHeader, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
    static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: QMSDialogHeader, selector: "[qms-dialog-header], qms-dialog-header, [qmsDialogHeader]", inputs: { height: "height" }, host: { classAttribute: "qms-dialog-header" }, exportAs: ["qmsDialogHeader"], ngImport: i0 }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: QMSDialogHeader, decorators: [{
            type: Directive,
            args: [{
                    selector: '[qms-dialog-header], qms-dialog-header, [qmsDialogHeader]',
                    exportAs: 'qmsDialogHeader',
                    host: {
                        'class': 'qms-dialog-header'
                    },
                }]
        }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { height: [{
                type: Input
            }] } });
/**
 * Scrollable content container of a dialog.
 */
export class QMSDialogContent {
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: QMSDialogContent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
    static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: QMSDialogContent, selector: "[qms-dialog-content], qms-dialog-content, [qmsDialogContent]", host: { classAttribute: "qms-dialog-content" }, ngImport: i0 }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: QMSDialogContent, decorators: [{
            type: Directive,
            args: [{
                    selector: `[qms-dialog-content], qms-dialog-content, [qmsDialogContent]`,
                    host: { 'class': 'qms-dialog-content' },
                }]
        }] });
/**
 * Container for the bottom action buttons in a dialog.
 * Stays fixed to the bottom when scrolling.
 */
export class QMSDialogFooter {
    constructor(el) {
        this.el = el;
    }
    ngOnInit() {
        if (this.height) {
            this.el.nativeElement.style[`height`] = `${this.height}`;
        }
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: QMSDialogFooter, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
    static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.3.12", type: QMSDialogFooter, selector: "[qms-dialog-footer], qms-dialog-footer, [qmsDialogFooter]", inputs: { align: "align", height: "height" }, host: { properties: { "class.qms-dialog-footer-align-center": "align === \"center\"", "class.qms-dialog-footer-align-start": "align === \"start\"" }, classAttribute: "qms-dialog-footer" }, ngImport: i0 }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: QMSDialogFooter, decorators: [{
            type: Directive,
            args: [{
                    selector: `[qms-dialog-footer], qms-dialog-footer, [qmsDialogFooter]`,
                    host: {
                        'class': 'qms-dialog-footer',
                        '[class.qms-dialog-footer-align-center]': 'align === "center"',
                        '[class.qms-dialog-footer-align-start]': 'align === "start"',
                    },
                }]
        }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { align: [{
                type: Input
            }], height: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64, 