-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(lib): remove circular refs in IoService
fix #480
- Loading branch information
Showing
16 changed files
with
19 additions
and
16 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
projects/ng-dynamic-component/src/lib/component-injector/component-injector.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { ComponentRef } from '@angular/core'; | ||
|
||
export interface DynamicComponentInjector { | ||
componentRef: ComponentRef<unknown> | null; | ||
} |
2 changes: 1 addition & 1 deletion
2
projects/ng-dynamic-component/src/lib/component-injector/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export * from './component-injector'; | ||
export * from './token'; | ||
export * from './component-outlet'; |
7 changes: 2 additions & 5 deletions
7
projects/ng-dynamic-component/src/lib/component-injector/token.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
import { ComponentRef, InjectionToken } from '@angular/core'; | ||
|
||
export interface DynamicComponentInjector { | ||
componentRef: ComponentRef<unknown> | null; | ||
} | ||
import { InjectionToken } from '@angular/core'; | ||
import { DynamicComponentInjector } from './component-injector'; | ||
|
||
export const DynamicComponentInjectorToken = | ||
new InjectionToken<DynamicComponentInjector>('DynamicComponentInjector'); |
2 changes: 1 addition & 1 deletion
2
...mponent-outlet-injector.directive.spec.ts → ...mponent-outlet-injector.directive.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...let/component-outlet-io.directive.spec.ts → ...let/component-outlet-io.directive.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...t-outlet/component-outlet-io.directive.ts → ...t-outlet/component-outlet-io.directive.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ects/ng-dynamic-component/src/lib/dynamic-attributes/dynamic-attributes.directive.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
projects/ng-dynamic-component/src/lib/dynamic-attributes/dynamic-attributes.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
projects/ng-dynamic-component/src/lib/dynamic-directives/dynamic-directives.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
projects/ng-dynamic-component/src/lib/dynamic-io/dynamic-io.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters