import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
function ModalContentComponent_div_3_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelement(0, "div", 3);
} }
const _c0 = ["*"];
export class ModalContentComponent {
    constructor() {
        this.waiting = false;
    }
    static { this.ɵfac = function ModalContentComponent_Factory(t) { return new (t || ModalContentComponent)(); }; }
    static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ModalContentComponent, selectors: [["fusion-modal-content"]], inputs: { padding: "padding", waiting: "waiting" }, ngContentSelectors: _c0, decls: 4, vars: 3, consts: [[1, "modal-content"], [1, "content"], ["class", "is-in-waiting", 4, "ngIf"], [1, "is-in-waiting"]], template: function ModalContentComponent_Template(rf, ctx) { if (rf & 1) {
            i0.ɵɵprojectionDef();
            i0.ɵɵelementStart(0, "div", 0)(1, "div", 1);
            i0.ɵɵprojection(2);
            i0.ɵɵelementEnd();
            i0.ɵɵtemplate(3, ModalContentComponent_div_3_Template, 1, 0, "div", 2);
            i0.ɵɵelementEnd();
        } if (rf & 2) {
            i0.ɵɵstyleProp("padding", ctx.padding);
            i0.ɵɵadvance(3);
            i0.ɵɵproperty("ngIf", ctx.waiting);
        } }, dependencies: [i1.NgIf], styles: ["[_nghost-%COMP%]   *[_ngcontent-%COMP%]{box-sizing:border-box}[_nghost-%COMP%]{display:block;overflow-y:auto}.fu-has-height[_nghost-%COMP%]{min-height:calc(100% - 105px)}[_nghost-%COMP%]   .modal-content[_ngcontent-%COMP%]{position:relative;padding:24px 32px 40px}[_nghost-%COMP%]   .modal-content[_ngcontent-%COMP%]   .is-in-waiting[_ngcontent-%COMP%]{position:absolute;inset:0;background-color:var(--fu-white, #ffffff);opacity:.5;display:block}"], changeDetection: 0 }); }
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ModalContentComponent, [{
        type: Component,
        args: [{ selector: 'fusion-modal-content', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"modal-content\" [style.padding]=\"padding\">\n    <div class=\"content\">\n        <ng-content></ng-content>\n    </div>\n    <div class=\"is-in-waiting\" *ngIf=\"waiting\"></div>\n</div>\n", styles: [":host *{box-sizing:border-box}:host{display:block;overflow-y:auto}:host.fu-has-height{min-height:calc(100% - 105px)}:host .modal-content{position:relative;padding:24px 32px 40px}:host .modal-content .is-in-waiting{position:absolute;inset:0;background-color:var(--fu-white, #ffffff);opacity:.5;display:block}\n"] }]
    }], null, { padding: [{
            type: Input
        }], waiting: [{
            type: Input
        }] }); })();
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ModalContentComponent, { className: "ModalContentComponent", filePath: "components/modal-content/modal-content.component.ts", lineNumber: 9 }); })();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kYWwtY29udGVudC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mdXNpb24tdWkvY29tcG9uZW50cy9tb2RhbC92Mi9jb21wb25lbnRzL21vZGFsLWNvbnRlbnQvbW9kYWwtY29udGVudC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9mdXNpb24tdWkvY29tcG9uZW50cy9tb2RhbC92Mi9jb21wb25lbnRzL21vZGFsLWNvbnRlbnQvbW9kYWwtY29udGVudC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQzs7OztJQ0lwRSx5QkFBaUQ7OztBRElyRCxNQUFNLE9BQU8scUJBQXFCO0lBTmxDO1FBUWEsWUFBTyxHQUFHLEtBQUssQ0FBQztLQUM1QjtzRk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