import { Pipe } from '@angular/core';
import { PlaceholderHandler } from '../../../../../services';
import * as i0 from "@angular/core";
import * as i1 from "../../../../../services";
/**
 * Gets container metadata that are displayed in placeholder
 */
export class ContainerMetadataSAPipe {
    //######################### constructor #########################
    constructor(placeholderHandler) {
        this.placeholderHandler = placeholderHandler;
    }
    //######################### public methods - implementation of ContainerMetadataSAPipe #########################
    /**
     * Gets container metadata that are displayed in placeholder
     * @param value - Id of container
     */
    transform(value) {
        return this.placeholderHandler.getOptions(value);
    }
}
ContainerMetadataSAPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ContainerMetadataSAPipe, deps: [{ token: i1.PlaceholderHandler }], target: i0.ɵɵFactoryTarget.Pipe });
ContainerMetadataSAPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "17.0.4", ngImport: i0, type: ContainerMetadataSAPipe, isStandalone: true, name: "containerMetadata" });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: ContainerMetadataSAPipe, decorators: [{
            type: Pipe,
            args: [{ name: 'containerMetadata', standalone: true, }]
        }], ctorParameters: () => [{ type: i1.PlaceholderHandler }] });
//# sourceMappingURL=containerMetadata.pipe.js.map