ngx-lottie
Advanced tools
Comparing version 12.0.0 to 13.0.0
@@ -55,3 +55,2 @@ import { SimpleChanges, OnDestroy } from '@angular/core'; | ||
private ngZone; | ||
private isBrowser; | ||
private animationLoader; | ||
@@ -68,3 +67,3 @@ private loadAnimation$; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<BaseDirective, never>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseDirective, "[lottie]", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "containerClass": { "alias": "containerClass"; "required": false; "isSignal": true; }; "styles": { "alias": "styles"; "required": false; "isSignal": true; }; }, { "animationCreated": "animationCreated"; "complete": "complete"; "loopComplete": "loopComplete"; "enterFrame": "enterFrame"; "segmentStart": "segmentStart"; "configReady": "configReady"; "dataReady": "dataReady"; "domLoaded": "domLoaded"; "destroy": "destroy"; "error": "error"; }, never, never, false, never>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseDirective, "[lottie]", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "containerClass": { "alias": "containerClass"; "required": false; "isSignal": true; }; "styles": { "alias": "styles"; "required": false; "isSignal": true; }; }, { "animationCreated": "animationCreated"; "complete": "complete"; "loopComplete": "loopComplete"; "enterFrame": "enterFrame"; "segmentStart": "segmentStart"; "configReady": "configReady"; "dataReady": "dataReady"; "domLoaded": "domLoaded"; "destroy": "destroy"; "error": "error"; }, never, never, true, never>; | ||
} |
{ | ||
"name": "ngx-lottie", | ||
"version": "12.0.0", | ||
"version": "13.0.0", | ||
"repository": { | ||
@@ -43,2 +43,4 @@ "type": "git", | ||
"angular 18", | ||
"angular19", | ||
"angular 19", | ||
"universal", | ||
@@ -49,3 +51,3 @@ "ivy" | ||
"peerDependencies": { | ||
"@angular/core": ">=18", | ||
"@angular/core": ">=19", | ||
"lottie-web": ">=5.9.2" | ||
@@ -65,4 +67,2 @@ }, | ||
"types": "./index.d.ts", | ||
"esm2022": "./esm2022/ngx-lottie.mjs", | ||
"esm": "./esm2022/ngx-lottie.mjs", | ||
"default": "./fesm2022/ngx-lottie.mjs" | ||
@@ -72,4 +72,2 @@ }, | ||
"types": "./server/index.d.ts", | ||
"esm2022": "./esm2022/server/ngx-lottie-server.mjs", | ||
"esm": "./esm2022/server/ngx-lottie-server.mjs", | ||
"default": "./fesm2022/ngx-lottie-server.mjs" | ||
@@ -76,0 +74,0 @@ } |
@@ -86,2 +86,10 @@ <h1 align="center"> | ||
</tr> | ||
<tr> | ||
<td> | ||
13.x | ||
</td> | ||
<td> | ||
19 | ||
</td> | ||
</tr> | ||
</tbody> | ||
@@ -88,0 +96,0 @@ </table> |
@@ -1,4 +0,3 @@ | ||
import { TransferState } from '@angular/core'; | ||
import { LottieServerOptions, PathToAnimation } from './symbols'; | ||
export declare function appInitializerFactory(options: LottieServerOptions, state: TransferState): () => Promise<void[]>; | ||
export declare function appInitializer(): Promise<void>; | ||
export declare function resolveLottiePaths({ preloadAnimations }: LottieServerOptions): PathToAnimation[]; |
@@ -1,5 +0,4 @@ | ||
import { ModuleWithProviders, InjectionToken } from '@angular/core'; | ||
import { ModuleWithProviders } from '@angular/core'; | ||
import { LottieServerOptions } from './symbols'; | ||
import * as i0 from "@angular/core"; | ||
export declare const LOTTIE_SERVER_OPTIONS: InjectionToken<LottieServerOptions>; | ||
export declare class LottieServerModule { | ||
@@ -6,0 +5,0 @@ static forRoot(options: LottieServerOptions): ModuleWithProviders<LottieServerModule>; |
@@ -0,1 +1,2 @@ | ||
import { InjectionToken } from '@angular/core'; | ||
export interface LottieServerOptions { | ||
@@ -9,1 +10,2 @@ preloadAnimations: { | ||
export type AnimationData = string; | ||
export declare const LOTTIE_SERVER_OPTIONS: InjectionToken<LottieServerOptions>; |
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
714
1
92545
22
680