@@ -18,6 +18,7 @@ import { IterableDiffers } from '@angular/core';
18
18
import { KeyValueDiffers } from ' @angular/core' ;
19
19
import { NgComponentOutlet } from ' @angular/common' ;
20
20
import { NgModuleRef } from ' @angular/core' ;
21
+ import { Observable } from ' rxjs' ;
21
22
import { OnChanges } from ' @angular/core' ;
22
23
import { OnDestroy } from ' @angular/core' ;
23
24
import { Renderer2 } from ' @angular/core' ;
@@ -36,6 +37,21 @@ export interface AttributesMap {
36
37
[key : string ]: string ;
37
38
}
38
39
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
+
39
55
// @public (undocumented)
40
56
export class ComponentOutletInjectorDirective implements DynamicComponentInjector {
41
57
constructor (componentOutlet : NgComponentOutlet );
@@ -123,11 +139,11 @@ export class DynamicAttributesModule {
123
139
static ɵfac: i0 .ɵɵFactoryDeclaration <DynamicAttributesModule , never >;
124
140
// (undocumented)
125
141
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
127
143
// Warning: (ae-forgotten-export) The symbol "i2_2" needs to be exported by the entry point public-api.d.ts
128
144
//
129
145
// (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 ]>;
131
147
}
132
148
133
149
// @public (undocumented)
@@ -206,10 +222,10 @@ export class DynamicDirectivesModule {
206
222
static ɵfac: i0 .ɵɵFactoryDeclaration <DynamicDirectivesModule , never >;
207
223
// (undocumented)
208
224
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
210
226
//
211
227
// (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 ]>;
213
229
}
214
230
215
231
// @public (undocumented)
@@ -233,10 +249,10 @@ export class DynamicIoModule {
233
249
static ɵfac: i0 .ɵɵFactoryDeclaration <DynamicIoModule , never >;
234
250
// (undocumented)
235
251
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
237
253
//
238
254
// (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 ]>;
240
256
}
241
257
242
258
// @public (undocumented)
@@ -245,11 +261,11 @@ export class DynamicModule {
245
261
static ɵfac: i0 .ɵɵFactoryDeclaration <DynamicModule , never >;
246
262
// (undocumented)
247
263
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
249
265
// Warning: (ae-forgotten-export) The symbol "i2_3" needs to be exported by the entry point public-api.d.ts
250
266
//
251
267
// (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 ]>;
253
269
}
254
270
255
271
// @public @deprecated (undocumented)
@@ -292,12 +308,12 @@ export interface IoFactoryServiceOptions {
292
308
293
309
// @public (undocumented)
294
310
export 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 );
296
312
// (undocumented)
297
313
ngOnDestroy(): void ;
298
314
update(inputs ? : InputsType | null , outputs ? : OutputsType | null ): void ;
299
315
// (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 ]>;
301
317
// (undocumented)
302
318
static ɵprov: i0 .ɵɵInjectableDeclaration <IoService >;
303
319
}
0 commit comments