import { Component, Input, ViewChild } from '@angular/core';
import { ThemeComponent } from '@aztrix/theme';
import { ReplaySubject } from 'rxjs';
import { OverlayOutletComponent, OverlayOutletShadowDomComponent, } from '../overlay-outlet/overlay-outlet.component';
import * as i0 from "@angular/core";
export class OverlayRootContainerComponent {
    constructor() {
        this.afterViewInit$ = new ReplaySubject(1);
    }
    ngAfterViewInit() {
        this.afterViewInit$.next(true);
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: OverlayRootContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.11", type: OverlayRootContainerComponent, isStandalone: true, selector: "ax-overlay-root-container", inputs: { primaryColor: "primaryColor", accentColor: "accentColor", warnColor: "warnColor", fontColor: "fontColor", fontFamily: "fontFamily", backgroundColor: "backgroundColor" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true }], ngImport: i0, template: `<ax-theme
    #container
    [primaryColor]="primaryColor"
    [accentColor]="accentColor"
    [warnColor]="warnColor"
    [fontColor]="fontColor"
    [fontFamily]="fontFamily"
    [backgroundColor]="backgroundColor"
  >
    <ax-overlay-outlet></ax-overlay-outlet>
    <ax-overlay-outlet-shadow-dom></ax-overlay-outlet-shadow-dom>
  </ax-theme>`, isInline: true, styles: [".empty{position:inherit}:host.scrollblock .overlay-container-content{overflow:hidden}\n"], dependencies: [{ kind: "component", type: OverlayOutletComponent, selector: "ax-overlay-outlet", inputs: ["preview"] }, { kind: "component", type: OverlayOutletShadowDomComponent, selector: "ax-overlay-outlet-shadow-dom", inputs: ["preview"] }, { kind: "component", type: ThemeComponent, selector: "ax-theme", inputs: ["primaryColor", "accentColor", "warnColor", "fontColor", "fontFamily", "backgroundColor"] }] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: OverlayRootContainerComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-overlay-root-container', template: `<ax-theme
    #container
    [primaryColor]="primaryColor"
    [accentColor]="accentColor"
    [warnColor]="warnColor"
    [fontColor]="fontColor"
    [fontFamily]="fontFamily"
    [backgroundColor]="backgroundColor"
  >
    <ax-overlay-outlet></ax-overlay-outlet>
    <ax-overlay-outlet-shadow-dom></ax-overlay-outlet-shadow-dom>
  </ax-theme>`, standalone: true, imports: [OverlayOutletComponent, OverlayOutletShadowDomComponent, ThemeComponent], styles: [".empty{position:inherit}:host.scrollblock .overlay-container-content{overflow:hidden}\n"] }]
        }], propDecorators: { container: [{
                type: ViewChild,
                args: ['container']
            }], primaryColor: [{
                type: Input
            }], accentColor: [{
                type: Input
            }], warnColor: [{
                type: Input
            }], fontColor: [{
                type: Input
            }], fontFamily: [{
                type: Input
            }], backgroundColor: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3ZlcmxheS1yb290LWNvbnRhaW5lci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9vdmVybGF5L292ZXJsYXktY29udGFpbmVyL292ZXJsYXktcm9vdC1jb250YWluZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFnQixTQUFTLEVBQUUsS0FBSyxFQUFFLFNBQVMsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN6RSxPQUFPLEVBQUMsY0FBYyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQzdDLE9BQU8sRUFBQyxhQUFhLEVBQUMsTUFBTSxNQUFNLENBQUM7QUFFbkMsT0FBTyxFQUNMLHNCQUFzQixFQUN0QiwrQkFBK0IsR0FDaEMsTUFBTSw0Q0FBNEMsQ0FBQzs7QUFvQnBELE1BQU0sT0FBTyw2QkFBNkI7SUFsQjFDO1FBNEJFLG1CQ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