import { Component, ElementRef, Input } from '@angular/core';
import { ReplaySubject } from 'rxjs';
import { OverlayOutletRootComponent, OverlayOutletShadowDomRootComponent, } from './overlay-outlet/overlay-outlet.component';
import * as i0 from "@angular/core";
export class OverlayRootContainerComponent {
    constructor(elementRef) {
        this.elementRef = elementRef;
        this.afterViewInit$ = new ReplaySubject(1);
    }
    ngAfterViewInit() {
        this.afterViewInit$.next(true);
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: OverlayRootContainerComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: OverlayRootContainerComponent, isStandalone: true, selector: "ax-overlay-root-container", inputs: { primaryColor: "primaryColor", accentColor: "accentColor", warnColor: "warnColor", fontColor: "fontColor", fontFamily: "fontFamily", backgroundColor: "backgroundColor" }, ngImport: i0, template: `<ax-overlay-outlet-root
      [primaryColor]="primaryColor"
      [accentColor]="accentColor"
      [warnColor]="warnColor"
      [fontColor]="fontColor"
      [fontFamily]="fontFamily"
      [backgroundColor]="backgroundColor"
    ></ax-overlay-outlet-root>
    <ax-overlay-outlet-shadow-dom-root
      [primaryColor]="primaryColor"
      [accentColor]="accentColor"
      [warnColor]="warnColor"
      [fontColor]="fontColor"
      [fontFamily]="fontFamily"
      [backgroundColor]="backgroundColor"
    ></ax-overlay-outlet-shadow-dom-root>`, isInline: true, styles: [".empty{position:inherit}:host{display:block;overflow:auto;height:100%;scrollbar-width:none}:host ::-webkit-scrollbar{width:0px}:host.scrollblock{overflow:hidden;display:block}::-webkit-scrollbar{width:0px}\n", ":host{position:absolute}\n"], dependencies: [{ kind: "component", type: OverlayOutletRootComponent, selector: "ax-overlay-outlet-root", inputs: ["preview", "primaryColor", "accentColor", "warnColor", "fontColor", "fontFamily", "backgroundColor"] }, { kind: "component", type: OverlayOutletShadowDomRootComponent, selector: "ax-overlay-outlet-shadow-dom-root", inputs: ["preview", "primaryColor", "accentColor", "warnColor", "fontColor", "fontFamily", "backgroundColor"] }] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: OverlayRootContainerComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-overlay-root-container', template: `<ax-overlay-outlet-root
      [primaryColor]="primaryColor"
      [accentColor]="accentColor"
      [warnColor]="warnColor"
      [fontColor]="fontColor"
      [fontFamily]="fontFamily"
      [backgroundColor]="backgroundColor"
    ></ax-overlay-outlet-root>
    <ax-overlay-outlet-shadow-dom-root
      [primaryColor]="primaryColor"
      [accentColor]="accentColor"
      [warnColor]="warnColor"
      [fontColor]="fontColor"
      [fontFamily]="fontFamily"
      [backgroundColor]="backgroundColor"
    ></ax-overlay-outlet-shadow-dom-root>`, standalone: true, imports: [OverlayOutletRootComponent, OverlayOutletShadowDomRootComponent], styles: [".empty{position:inherit}:host{display:block;overflow:auto;height:100%;scrollbar-width:none}:host ::-webkit-scrollbar{width:0px}:host.scrollblock{overflow:hidden;display:block}::-webkit-scrollbar{width:0px}\n", ":host{position:absolute}\n"] }]
        }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { primaryColor: [{
                type: Input
            }], accentColor: [{
                type: Input
            }], warnColor: [{
                type: Input
            }], fontColor: [{
                type: Input
            }], fontFamily: [{
                type: Input
            }], backgroundColor: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3ZlcmxheS1yb290LWNvbnRhaW5lci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy9vdmVybGF5L292ZXJsYXktY29udGFpbmVyL292ZXJsYXktcm9vdC1jb250YWluZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFnQixTQUF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