/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { Directive, forwardRef, Host, Inject, Input, Optional, Self, SkipSelf } from '@angular/core'; import { NG_ASYNC_VALIDATORS, NG_VALIDATORS } from '../validators'; import { AbstractFormGroupDirective } from './abstract_form_group_directive'; import { ControlContainer } from './control_container'; import { NgForm } from './ng_form'; import { modelGroupParentException } from './template_driven_errors'; import * as i0 from "@angular/core"; import * as i1 from "./control_container"; export const modelGroupProvider = { provide: ControlContainer, useExisting: forwardRef(() => NgModelGroup) }; /** * @description * Creates and binds a `FormGroup` instance to a DOM element. * * This directive can only be used as a child of `NgForm` (within `