@@ -18,6 +18,7 @@ import { IterableDiffers } from '@angular/core';
1818import { KeyValueDiffers } from ' @angular/core' ;
1919import { NgComponentOutlet } from ' @angular/common' ;
2020import { NgModuleRef } from ' @angular/core' ;
21+ import { Observable } from ' rxjs' ;
2122import { OnChanges } from ' @angular/core' ;
2223import { OnDestroy } from ' @angular/core' ;
2324import { Renderer2 } from ' @angular/core' ;
@@ -36,6 +37,21 @@ export interface AttributesMap {
3637 [key : string ]: string ;
3738}
3839
40+ // @public (undocumented)
41+ export type ComponentInputKey <T > = keyof T & string ;
42+
43+ // @public (undocumented)
44+ export abstract class ComponentIO {
45+ // (undocumented)
46+ abstract getOutput<T , K extends ComponentInputKey <T >>(componentRef : ComponentRef <T >, name : K ): Observable <unknown >;
47+ // (undocumented)
48+ abstract setInput<T , K extends ComponentInputKey <T >>(componentRef : ComponentRef <T >, name : K , value : T [K ]): void ;
49+ // (undocumented)
50+ static ɵfac: i0 .ɵɵFactoryDeclaration <ComponentIO , never >;
51+ // (undocumented)
52+ static ɵprov: i0 .ɵɵInjectableDeclaration <ComponentIO >;
53+ }
54+
3955// @public (undocumented)
4056export class ComponentOutletInjectorDirective implements DynamicComponentInjector {
4157 constructor (componentOutlet : NgComponentOutlet );
@@ -123,11 +139,11 @@ export class DynamicAttributesModule {
123139 static ɵfac: i0 .ɵɵFactoryDeclaration <DynamicAttributesModule , never >;
124140 // (undocumented)
125141 static ɵinj: i0 .ɵɵInjectorDeclaration <DynamicAttributesModule >;
126- // Warning: (ae-forgotten-export) The symbol "i1_4 " needs to be exported by the entry point public-api.d.ts
142+ // Warning: (ae-forgotten-export) The symbol "i1_2 " needs to be exported by the entry point public-api.d.ts
127143 // Warning: (ae-forgotten-export) The symbol "i2_2" needs to be exported by the entry point public-api.d.ts
128144 //
129145 // (undocumented)
130- static ɵmod: i0 .ɵɵNgModuleDeclaration <DynamicAttributesModule , never , [typeof i1_4 .DynamicAttributesDirective ], [typeof i1_4 .DynamicAttributesDirective , typeof i2_2 .ComponentOutletInjectorModule ]>;
146+ static ɵmod: i0 .ɵɵNgModuleDeclaration <DynamicAttributesModule , never , [typeof i1_2 .DynamicAttributesDirective ], [typeof i1_2 .DynamicAttributesDirective , typeof i2_2 .ComponentOutletInjectorModule ]>;
131147}
132148
133149// @public (undocumented)
@@ -206,10 +222,10 @@ export class DynamicDirectivesModule {
206222 static ɵfac: i0 .ɵɵFactoryDeclaration <DynamicDirectivesModule , never >;
207223 // (undocumented)
208224 static ɵinj: i0 .ɵɵInjectorDeclaration <DynamicDirectivesModule >;
209- // Warning: (ae-forgotten-export) The symbol "i1_5 " needs to be exported by the entry point public-api.d.ts
225+ // Warning: (ae-forgotten-export) The symbol "i1_3 " needs to be exported by the entry point public-api.d.ts
210226 //
211227 // (undocumented)
212- static ɵmod: i0 .ɵɵNgModuleDeclaration <DynamicDirectivesModule , never , [typeof i1_5 .DynamicDirectivesDirective ], [typeof i1_5 .DynamicDirectivesDirective , typeof i2_2 .ComponentOutletInjectorModule ]>;
228+ static ɵmod: i0 .ɵɵNgModuleDeclaration <DynamicDirectivesModule , never , [typeof i1_3 .DynamicDirectivesDirective ], [typeof i1_3 .DynamicDirectivesDirective , typeof i2_2 .ComponentOutletInjectorModule ]>;
213229}
214230
215231// @public (undocumented)
@@ -233,10 +249,10 @@ export class DynamicIoModule {
233249 static ɵfac: i0 .ɵɵFactoryDeclaration <DynamicIoModule , never >;
234250 // (undocumented)
235251 static ɵinj: i0 .ɵɵInjectorDeclaration <DynamicIoModule >;
236- // Warning: (ae-forgotten-export) The symbol "i1_3 " needs to be exported by the entry point public-api.d.ts
252+ // Warning: (ae-forgotten-export) The symbol "i1_4 " needs to be exported by the entry point public-api.d.ts
237253 //
238254 // (undocumented)
239- static ɵmod: i0 .ɵɵNgModuleDeclaration <DynamicIoModule , never , [typeof i1_3 .DynamicIoDirective ], [typeof i1_3 .DynamicIoDirective , typeof i2_2 .ComponentOutletInjectorModule ]>;
255+ static ɵmod: i0 .ɵɵNgModuleDeclaration <DynamicIoModule , never , [typeof i1_4 .DynamicIoDirective ], [typeof i1_4 .DynamicIoDirective , typeof i2_2 .ComponentOutletInjectorModule ]>;
240256}
241257
242258// @public (undocumented)
@@ -245,11 +261,11 @@ export class DynamicModule {
245261 static ɵfac: i0 .ɵɵFactoryDeclaration <DynamicModule , never >;
246262 // (undocumented)
247263 static ɵinj: i0 .ɵɵInjectorDeclaration <DynamicModule >;
248- // Warning: (ae-forgotten-export) The symbol "i1_2 " needs to be exported by the entry point public-api.d.ts
264+ // Warning: (ae-forgotten-export) The symbol "i1_5 " needs to be exported by the entry point public-api.d.ts
249265 // Warning: (ae-forgotten-export) The symbol "i2_3" needs to be exported by the entry point public-api.d.ts
250266 //
251267 // (undocumented)
252- static ɵmod: i0 .ɵɵNgModuleDeclaration <DynamicModule , never , [typeof i1_2 .DynamicIoModule , typeof i2_3 .DynamicComponent ], [typeof i1_2 .DynamicIoModule , typeof i2_3 .DynamicComponent ]>;
268+ static ɵmod: i0 .ɵɵNgModuleDeclaration <DynamicModule , never , [typeof i1_5 .DynamicIoModule , typeof i2_3 .DynamicComponent ], [typeof i1_5 .DynamicIoModule , typeof i2_3 .DynamicComponent ]>;
253269}
254270
255271// @public @deprecated (undocumented)
@@ -292,12 +308,12 @@ export interface IoFactoryServiceOptions {
292308
293309// @public (undocumented)
294310export class IoService implements OnDestroy {
295- constructor (injector : Injector , differs : KeyValueDiffers , cfr : ComponentFactoryResolver , options : IoServiceOptions , compInjector : DynamicComponentInjector , eventArgument : string , cdr : ChangeDetectorRef , eventContextProvider : StaticProvider );
311+ constructor (injector : Injector , differs : KeyValueDiffers , cfr : ComponentFactoryResolver , options : IoServiceOptions , compInjector : DynamicComponentInjector , eventArgument : string , cdr : ChangeDetectorRef , eventContextProvider : StaticProvider , componentIO : ComponentIO );
296312 // (undocumented)
297313 ngOnDestroy(): void ;
298314 update(inputs ? : InputsType | null , outputs ? : OutputsType | null ): void ;
299315 // (undocumented)
300- static ɵfac: i0 .ɵɵFactoryDeclaration <IoService , [null , null , null , null , null , null , null , { optional: true ; }]>;
316+ static ɵfac: i0 .ɵɵFactoryDeclaration <IoService , [null , null , null , null , null , null , null , { optional: true ; }, null ]>;
301317 // (undocumented)
302318 static ɵprov: i0 .ɵɵInjectableDeclaration <IoService >;
303319}
0 commit comments