@angular/core
Advanced tools
Comparing version 17.3.0-next.1 to 17.3.0-rc.0
{ | ||
"name": "@angular/core", | ||
"version": "17.3.0-next.1", | ||
"version": "17.3.0-rc.0", | ||
"description": "Angular - the core framework", | ||
@@ -5,0 +5,0 @@ "author": "angular", |
/** | ||
* @license Angular v17.3.0-next.1 | ||
* @license Angular v17.3.0-rc.0 | ||
* (c) 2010-2022 Google LLC. https://angular.io/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
/** | ||
* @license Angular v17.3.0-next.1 | ||
* @license Angular v17.3.0-rc.0 | ||
* (c) 2010-2022 Google LLC. https://angular.io/ | ||
@@ -12,2 +12,4 @@ * License: MIT | ||
import { Observable } from 'rxjs'; | ||
import { OutputOptions } from '@angular/core'; | ||
import { OutputRef } from '@angular/core'; | ||
import { Signal } from '@angular/core'; | ||
@@ -17,2 +19,38 @@ import { Subscribable } from 'rxjs'; | ||
/** | ||
* Declares an Angular output that is using an RxJS observable as a source | ||
* for events dispatched to parent subscribers. | ||
* | ||
* The behavior for an observable as source is defined as followed: | ||
* 1. New values are forwarded to the Angular output (next notifications). | ||
* 2. Errors notifications are not handled by Angular. You need to handle these manually. | ||
* For example by using `catchError`. | ||
* 3. Completion notifications stop the output from emitting new values. | ||
* | ||
* @usageNotes | ||
* Initialize an output in your directive by declaring a | ||
* class field and initializing it with the `outputFromObservable()` function. | ||
* | ||
* ```ts | ||
* @Directive({..}) | ||
* export class MyDir { | ||
* nameChange$ = <some-observable>; | ||
* nameChange = outputFromObservable(this.nameChange$); | ||
* } | ||
* ``` | ||
* | ||
* @developerPreview | ||
*/ | ||
export declare function outputFromObservable<T>(observable: Observable<T>, opts?: OutputOptions): OutputRef<T>; | ||
/** | ||
* Converts an Angular output declared via `output()` or `outputFromObservable()` | ||
* to an observable. | ||
* | ||
* You can subscribe to the output via `Observable.subscribe` then. | ||
* | ||
* @developerPreview | ||
*/ | ||
export declare function outputToObservable<T>(ref: OutputRef<T>): Observable<T>; | ||
/** | ||
* Operator which completes the Observable when the calling context (component, directive, service, | ||
@@ -19,0 +57,0 @@ * etc) is destroyed. |
@@ -17,4 +17,9 @@ { | ||
"factory": "./migrations/transfer-state/bundle" | ||
}, | ||
"invalid-two-way-bindings": { | ||
"version": "17.3.0", | ||
"description": "Updates two-way bindings that have an invalid expression to use the longform expression instead.", | ||
"factory": "./migrations/invalid-two-way-bindings/bundle" | ||
} | ||
} | ||
} |
/** | ||
* @license Angular v17.3.0-next.1 | ||
* @license Angular v17.3.0-rc.0 | ||
* (c) 2010-2022 Google LLC. https://angular.io/ | ||
@@ -4,0 +4,0 @@ * License: MIT |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
28519914
389
4
231974
9
8