// Copyright (c) Laserfiche.
// Licensed under the MIT License. See LICENSE in the project root for license information.
import { Component } from '@angular/core';
import * as i0 from "@angular/core";
/**
 * @internal
 * Not for public use
 */
export class GeneralDialogLayoutComponent {
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: GeneralDialogLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: GeneralDialogLayoutComponent, selector: "lf-general-dialog-layout", ngImport: i0, template: "<!--Copyright (c) Laserfiche.\r\nLicensed under the MIT License. See LICENSE in the project root for license information.-->\r\n\r\n<div class=\"wrapper\">\r\n  <div class=\"header\">\r\n    <ng-content select=\".dialog-header\"></ng-content>\r\n  </div>\r\n\r\n  <div class=\"content-box\">\r\n    <ng-content select=\".dialog-content\"></ng-content>\r\n  </div>\r\n\r\n  <div class=\"footer\">\r\n    <ng-content select=\".dialog-footer\"></ng-content>\r\n  </div>\r\n</div>\r\n", styles: [":host{--header-min-height: 50px;--footer-min-height: 50px}.wrapper{display:flex;flex-direction:column;max-height:calc(100vh - 50px)}.header{display:flex;justify-content:space-between;border-bottom:1px solid #e0e0e0;min-height:var(--header-min-height, 50px);color:#606060;background-color:#fafafa;padding-top:var(--header-padding-top, 13px);padding-bottom:var(--header-padding-bottom, 13px);padding-left:var(--header-padding-left, 20px);padding-right:var(--header-padding-right, 20px);box-sizing:border-box;height:50px;line-height:24px}.content-box{width:100%;flex:1;display:flex;flex-direction:column;font-weight:400;box-sizing:border-box;overflow:auto;background-color:#fafafa;padding-top:var(--content-padding-top, 20px);padding-bottom:var(--content-padding-bottom, 20px);padding-left:var(--content-padding-left, 20px);padding-right:var(--content-padding-right, 20px);max-height:calc(100vh - var(--header-min-height) - var(--footer-min-height));display:block}.footer{width:100%;display:flex;justify-content:flex-end;min-height:var(--footer-min-height, 50px);border-top:1px solid #e0e0e0;background-color:#fafafa;padding-top:var(--footer-padding-top, 10px);padding-bottom:var(--footer-padding-bottom, 10px);padding-left:var(--footer-padding-left, 20px);padding-right:var(--footer-padding-right, 20px);box-sizing:border-box;height:50px;line-height:30px}\n"] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: GeneralDialogLayoutComponent, decorators: [{
            type: Component,
            args: [{ selector: 'lf-general-dialog-layout', template: "<!--Copyright (c) Laserfiche.\r\nLicensed under the MIT License. See LICENSE in the project root for license information.-->\r\n\r\n<div class=\"wrapper\">\r\n  <div class=\"header\">\r\n    <ng-content select=\".dialog-header\"></ng-content>\r\n  </div>\r\n\r\n  <div class=\"content-box\">\r\n    <ng-content select=\".dialog-content\"></ng-content>\r\n  </div>\r\n\r\n  <div class=\"footer\">\r\n    <ng-content select=\".dialog-footer\"></ng-content>\r\n  </div>\r\n</div>\r\n", styles: [":host{--header-min-height: 50px;--footer-min-height: 50px}.wrapper{display:flex;flex-direction:column;max-height:calc(100vh - 50px)}.header{display:flex;justify-content:space-between;border-bottom:1px solid #e0e0e0;min-height:var(--header-min-height, 50px);color:#606060;background-color:#fafafa;padding-top:var(--header-padding-top, 13px);padding-bottom:var(--header-padding-bottom, 13px);padding-left:var(--header-padding-left, 20px);padding-right:var(--header-padding-right, 20px);box-sizing:border-box;height:50px;line-height:24px}.content-box{width:100%;flex:1;display:flex;flex-direction:column;font-weight:400;box-sizing:border-box;overflow:auto;background-color:#fafafa;padding-top:var(--content-padding-top, 20px);padding-bottom:var(--content-padding-bottom, 20px);padding-left:var(--content-padding-left, 20px);padding-right:var(--content-padding-right, 20px);max-height:calc(100vh - var(--header-min-height) - var(--footer-min-height));display:block}.footer{width:100%;display:flex;justify-content:flex-end;min-height:var(--footer-min-height, 50px);border-top:1px solid #e0e0e0;background-color:#fafafa;padding-top:var(--footer-padding-top, 10px);padding-bottom:var(--footer-padding-bottom, 10px);padding-left:var(--footer-padding-left, 20px);padding-right:var(--footer-padding-right, 20px);box-sizing:border-box;height:50px;line-height:30px}\n"] }]
        }] });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2VuZXJhbC1kaWFsb2ctbGF5b3V0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3VpLWNvbXBvbmVudHMvaW50ZXJuYWwtc2hhcmVkL2dlbmVyYWwtZGlhbG9nLWxheW91dC9nZW5lcmFsLWRpYWxvZy1sYXlvdXQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdWktY29tcG9uZW50cy9pbnRlcm5hbC1zaGFyZWQvZ2VuZXJhbC1kaWFsb2ctbGF5b3V0L2dlbmVyYWwtZGlhbG9nLWxheW91dC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSw0QkFBNEI7QUFDNUIsMkZBQTJGO0FBRTNGLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBQzFDOzs7R0FHRztBQU1ILE1BQU0sT0FBTyw0QkFBNEI7K0dBQTVCLDRCQUE0QjttR0FBNUIsNEJBQTRCLGdFQ2J6QyxrZUFnQkE7OzRGREhhLDRCQUE0QjtrQkFMeEMsU0FBUzsrQkFDRSwwQkFBMEIiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBDb3B5cmlnaHQgKGMpIExhc2VyZmljaGUuXHJcbi8vIExpY2Vuc2VkIHVuZGVyIHRoZSBNSVQgTGljZW5zZS4gU2VlIExJQ0VOU0UgaW4gdGhlIHByb2plY3Qgcm9vdCBmb3IgbGljZW5zZSBpbmZvcm1hdGlvbi5cclxuXHJcbmltcG9ydCB7IENvbXBvbmVudCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG4vKipcclxuICogQGludGVybmFsXHJcbiAqIE5vdCBmb3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