import { Directive, Input, TemplateRef } from '@angular/core';
import * as i0 from "@angular/core";
/**
 * Directive that marks attached element as html 5 drag preview template
 */
export class DndCorePreviewTemplateDirective {
    //######################### constructor #########################
    constructor(template) {
        this.template = template;
    }
    //######################### ng language server #########################
    /**
     * Allows typechecking for template
     */
    static ngTemplateContextGuard(_dir, _ctx) {
        return true;
    }
}
DndCorePreviewTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: DndCorePreviewTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
DndCorePreviewTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.4", type: DndCorePreviewTemplateDirective, selector: "[dndCorePreviewTemplate]", inputs: { type: ["dndCorePreviewTemplateType", "type"] }, ngImport: i0 });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: DndCorePreviewTemplateDirective, decorators: [{
            type: Directive,
            args: [{
                    selector: '[dndCorePreviewTemplate]'
                }]
        }], ctorParameters: () => [{ type: i0.TemplateRef }], propDecorators: { type: [{
                type: Input,
                args: ['dndCorePreviewTemplateType']
            }] } });
//# sourceMappingURL=dndCorePreviewTemplate.directive.js.map