UNPKG

@progress/kendo-angular-dialog

Version:
32 lines (31 loc) 1.83 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { Directive, ViewContainerRef } from '@angular/core'; import { DialogContainerService } from './dialog-container.service'; import * as i0 from "@angular/core"; import * as i1 from "./dialog-container.service"; /** * Represents an insertion point for Dialogs created through the Dialog service. * The created Dialogs mount after this element. ([See example.]({% slug api_dialog_dialogservice %}#toc-open)) * * @example * ```html * <div kendoDialogContainer></div> * ``` */ export class DialogContainerDirective { constructor(container, service) { service.container = container; } static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DialogContainerDirective, deps: [{ token: i0.ViewContainerRef }, { token: i1.DialogContainerService }], target: i0.ɵɵFactoryTarget.Directive }); static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DialogContainerDirective, isStandalone: true, selector: "[kendoDialogContainer]", ngImport: i0 }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DialogContainerDirective, decorators: [{ type: Directive, args: [{ selector: '[kendoDialogContainer]', standalone: true }] }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i1.DialogContainerService }]; } });