import { Directive, Input, TemplateRef, NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import * as i0 from "@angular/core";
export class EuiTemplateDirective {
    constructor(template) {
        this.template = template;
    }
    getType() {
        return this.name;
    }
}
/** @nocollapse */ EuiTemplateDirective.ɵfac = function EuiTemplateDirective_Factory(t) { return new (t || EuiTemplateDirective)(i0.ɵɵdirectiveInject(i0.TemplateRef)); };
/** @nocollapse */ EuiTemplateDirective.ɵdir = i0.ɵɵdefineDirective({ type: EuiTemplateDirective, selectors: [["", "euiTemplate", ""]], inputs: { type: "type", name: ["euiTemplate", "name"] } });
/*@__PURE__*/ (function () { i0.ɵsetClassMetadata(EuiTemplateDirective, [{
        type: Directive,
        args: [{
                selector: '[euiTemplate]',
            }]
    }], function () { return [{ type: i0.TemplateRef }]; }, { type: [{
            type: Input
        }], name: [{
            type: Input,
            args: ['euiTemplate']
        }] }); })();
export class EuiTemplateDirectiveModule {
}
/** @nocollapse */ EuiTemplateDirectiveModule.ɵmod = i0.ɵɵdefineNgModule({ type: EuiTemplateDirectiveModule });
/** @nocollapse */ EuiTemplateDirectiveModule.ɵinj = i0.ɵɵdefineInjector({ factory: function EuiTemplateDirectiveModule_Factory(t) { return new (t || EuiTemplateDirectiveModule)(); }, imports: [[CommonModule]] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(EuiTemplateDirectiveModule, { declarations: [EuiTemplateDirective], imports: [CommonModule], exports: [EuiTemplateDirective] }); })();
/*@__PURE__*/ (function () { i0.ɵsetClassMetadata(EuiTemplateDirectiveModule, [{
        type: NgModule,
        args: [{
                imports: [CommonModule],
                exports: [EuiTemplateDirective],
                declarations: [EuiTemplateDirective],
            }]
    }], null, null); })();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpLXRlbXBsYXRlLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIvYnVpbGRzL2V1aS9jYy1jc2RyLXJvb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