import { __decorate } from "tslib";
import { Component, ChangeDetectionStrategy } from '@angular/core';
import { LayoutComponentBase, LayoutComponentRendererSADirective } from '@anglr/dynamic/layout';
import { DescendantsGetter, LayoutEditorMetadata } from '@anglr/dynamic/layout-editor';
import { HostDisplayBlockStyle } from '@anglr/common';
import { PlaceholderContainerLayoutMetadataLoader } from './placeholderContainer.metadata';
import * as i0 from "@angular/core";
/**
 * Component used for displaying placeholder container
 */
let PlaceholderContainerSAComponent = class PlaceholderContainerSAComponent extends LayoutComponentBase {
};
PlaceholderContainerSAComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: PlaceholderContainerSAComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
PlaceholderContainerSAComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: PlaceholderContainerSAComponent, isStandalone: true, selector: "placeholder-container", usesInheritance: true, ngImport: i0, template: "<ng-template [layoutComponentRenderer]=\"options?.content\"></ng-template>", styles: [":host{display: block;}"], dependencies: [{ kind: "directive", type: LayoutComponentRendererSADirective, selector: "[layoutComponentRenderer]", inputs: ["layoutComponentRenderer", "layoutComponentRendererInjector", "layoutComponentRendererDisableTransformer"], outputs: ["layoutComponentRendererComponentChange", "componentElementChange"], exportAs: ["layoutComponentRenderer"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
PlaceholderContainerSAComponent = __decorate([
    DescendantsGetter(options => (options === null || options === void 0 ? void 0 : options.content) ? [options === null || options === void 0 ? void 0 : options.content] : []),
    LayoutEditorMetadata(PlaceholderContainerLayoutMetadataLoader)
], PlaceholderContainerSAComponent);
export { PlaceholderContainerSAComponent };
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: PlaceholderContainerSAComponent, decorators: [{
            type: Component,
            args: [{ selector: 'placeholder-container', standalone: true, imports: [
                        LayoutComponentRendererSADirective,
                    ], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-template [layoutComponentRenderer]=\"options?.content\"></ng-template>", styles: [":host{display: block;}"] }]
        }] });
//# sourceMappingURL=placeholderContainer.component.js.map