@angular/platform-browser
Advanced tools
Comparing version 14.1.1 to 14.3.0
/** | ||
* @license Angular v14.1.1 | ||
* @license Angular v14.3.0 | ||
* (c) 2010-2022 Google LLC. https://angular.io/ | ||
@@ -35,3 +35,4 @@ * License: MIT | ||
engine: ɵAnimationEngine; | ||
constructor(namespaceId: string, delegate: Renderer2, engine: ɵAnimationEngine); | ||
private _onDestroy?; | ||
constructor(namespaceId: string, delegate: Renderer2, engine: ɵAnimationEngine, _onDestroy?: (() => void) | undefined); | ||
get data(): { | ||
@@ -164,3 +165,3 @@ [key: string]: any; | ||
factory: ɵAnimationRendererFactory; | ||
constructor(factory: ɵAnimationRendererFactory, namespaceId: string, delegate: Renderer2, engine: ɵAnimationEngine); | ||
constructor(factory: ɵAnimationRendererFactory, namespaceId: string, delegate: Renderer2, engine: ɵAnimationEngine, onDestroy?: () => void); | ||
setProperty(el: any, name: string, value: any): void; | ||
@@ -167,0 +168,0 @@ listen(target: 'window' | 'document' | 'body' | any, eventName: string, callback: (event: any) => any): () => void; |
/** | ||
* @license Angular v14.1.1 | ||
* @license Angular v14.3.0 | ||
* (c) 2010-2022 Google LLC. https://angular.io/ | ||
@@ -38,3 +38,3 @@ * License: MIT | ||
/** | ||
* Set of config options available during the bootstrap operation via `bootstrapApplication` call. | ||
* Set of config options available during the application bootstrap operation. | ||
* | ||
@@ -190,2 +190,17 @@ * @developerPreview | ||
/** | ||
* Create an instance of an Angular application without bootstrapping any components. This is useful | ||
* for the situation where one wants to decouple application environment creation (a platform and | ||
* associated injectors) from rendering components on a screen. Components can be subsequently | ||
* bootstrapped on the returned `ApplicationRef`. | ||
* | ||
* @param options Extra configuration for the application environment, see `ApplicationConfig` for | ||
* additional info. | ||
* @returns A promise that returns an `ApplicationRef` instance once resolved. | ||
* | ||
* @publicApi | ||
* @developerPreview | ||
*/ | ||
export declare function createApplication(options?: ApplicationConfig): Promise<ApplicationRef>; | ||
/** | ||
* Disables Angular tools. | ||
@@ -749,2 +764,6 @@ * | ||
/** | ||
* Indicates whether the state is empty. | ||
*/ | ||
get isEmpty(): boolean; | ||
/** | ||
* Register a callback to provide the value for a key when `toJson` is called. | ||
@@ -897,2 +916,11 @@ */ | ||
addEventListener(element: HTMLElement, eventName: string, handler: Function): Function; | ||
/** | ||
* Parses the user provided full keyboard event definition and normalizes it for | ||
* later internal use. It ensures the string is all lowercase, converts special | ||
* characters to a standard spelling, and orders all the values consistently. | ||
* | ||
* @param eventName The name of the key event to listen for. | ||
* @returns an object with the full, normalized string, and the dom event name | ||
* or null in the case when the event doesn't match a keyboard event. | ||
*/ | ||
static parseEventName(eventName: string): { | ||
@@ -902,4 +930,14 @@ fullKey: string; | ||
} | null; | ||
static getEventFullKey(event: KeyboardEvent): string; | ||
/** | ||
* Determines whether the actual keys pressed match the configured key code string. | ||
* The `fullKeyCode` event is normalized in the `parseEventName` method when the | ||
* event is attached to the DOM during the `addEventListener` call. This is unseen | ||
* by the end user and is normalized for internal consistency and parsing. | ||
* | ||
* @param event The keyboard event. | ||
* @param fullKeyCode The normalized user defined expected key event string | ||
* @returns boolean. | ||
*/ | ||
static matchEventFullKeyCode(event: KeyboardEvent, fullKeyCode: string): boolean; | ||
/** | ||
* Configures a handler callback for a key event. | ||
@@ -911,3 +949,3 @@ * @param fullKey The event name that combines all simultaneous keystrokes. | ||
*/ | ||
static eventCallback(fullKey: any, handler: Function, zone: NgZone): Function; | ||
static eventCallback(fullKey: string, handler: Function, zone: NgZone): Function; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<ɵKeyEventsPlugin, never>; | ||
@@ -914,0 +952,0 @@ static ɵprov: i0.ɵɵInjectableDeclaration<ɵKeyEventsPlugin>; |
{ | ||
"name": "@angular/platform-browser", | ||
"version": "14.1.1", | ||
"version": "14.3.0", | ||
"description": "Angular - library for using Angular in a web browser", | ||
@@ -14,5 +14,5 @@ "author": "angular", | ||
"peerDependencies": { | ||
"@angular/animations": "14.1.1", | ||
"@angular/core": "14.1.1", | ||
"@angular/common": "14.1.1" | ||
"@angular/animations": "14.3.0", | ||
"@angular/core": "14.3.0", | ||
"@angular/common": "14.3.0" | ||
}, | ||
@@ -19,0 +19,0 @@ "peerDependenciesMeta": { |
/** | ||
* @license Angular v14.1.1 | ||
* @license Angular v14.3.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
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
1126873
10642