ng-lazy-load-component
Advanced tools
Comparing version 15.0.7 to 16.0.1
@@ -0,0 +0,0 @@ /** |
import { Injector, Type, ComponentRef, EventEmitter, OnDestroy, OnChanges } from '@angular/core'; | ||
import * as i0 from "@angular/core"; | ||
declare type ExtractEventEmitter<P> = P extends EventEmitter<infer T> ? T : never; | ||
declare type ComponentChange<T, P extends keyof T> = { | ||
type ExtractEventEmitter<P> = P extends EventEmitter<infer T> ? T : never; | ||
type ComponentChange<T, P extends keyof T> = { | ||
previousValue: T[P]; | ||
@@ -9,6 +9,6 @@ currentValue: T[P]; | ||
}; | ||
declare type ComponentChanges<T> = { | ||
type ComponentChanges<T> = { | ||
[P in keyof T]?: ComponentChange<T, P>; | ||
}; | ||
export declare type NgLazyLoadComponentImporter = () => Promise<{ | ||
export type NgLazyLoadComponentImporter = () => Promise<{ | ||
component: Type<any>; | ||
@@ -18,8 +18,8 @@ module?: Type<any>; | ||
}>; | ||
export declare type NgLazyLoadComponentOutput<T = Record<string, any>> = { | ||
export type NgLazyLoadComponentOutput<T = Record<string, any>> = { | ||
property: keyof T; | ||
value: ExtractEventEmitter<T[keyof T]> | any; | ||
}; | ||
export declare type NgLazyLoadComponentInput<T = Record<string, any>, P extends keyof T = keyof T> = T[P]; | ||
export declare type NgLazyLoadComponentMultiInput<T = Record<string, any>> = Partial<T>; | ||
export type NgLazyLoadComponentInput<T = Record<string, any>, P extends keyof T = keyof T> = T[P]; | ||
export type NgLazyLoadComponentMultiInput<T = Record<string, any>> = Partial<T>; | ||
export declare class NgLazyLoadComponentComponent implements OnDestroy, OnChanges { | ||
@@ -87,4 +87,4 @@ private injector; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<NgLazyLoadComponentComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<NgLazyLoadComponentComponent, "ng-lazy-load-component", never, { "lazyImporter": "lazyImporter"; "componentInput": "componentInput"; }, { "componentOutput": "componentOutput"; "loaded": "loaded"; "failed": "failed"; }, never, ["[loading]", "[error]"], false, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<NgLazyLoadComponentComponent, "ng-lazy-load-component", never, { "lazyImporter": { "alias": "lazyImporter"; "required": false; }; "componentInput": { "alias": "componentInput"; "required": false; }; }, { "componentOutput": "componentOutput"; "loaded": "loaded"; "failed": "failed"; }, never, ["[loading]", "[error]"], false, never>; | ||
} | ||
export {}; |
@@ -0,0 +0,0 @@ import * as i0 from "@angular/core"; |
{ | ||
"name": "ng-lazy-load-component", | ||
"version": "15.0.7", | ||
"version": "16.0.1", | ||
"description": "Lazy load Angular component into HTML template without routing.", | ||
@@ -19,4 +19,4 @@ "repository": { | ||
"peerDependencies": { | ||
"@angular/common": "^15.0.0", | ||
"@angular/core": "^15.0.0" | ||
"@angular/common": ">15.0.0", | ||
"@angular/core": ">15.0.0" | ||
}, | ||
@@ -26,7 +26,3 @@ "dependencies": { | ||
}, | ||
"module": "fesm2015/ng-lazy-load-component.mjs", | ||
"es2020": "fesm2020/ng-lazy-load-component.mjs", | ||
"esm2020": "esm2020/ng-lazy-load-component.mjs", | ||
"fesm2020": "fesm2020/ng-lazy-load-component.mjs", | ||
"fesm2015": "fesm2015/ng-lazy-load-component.mjs", | ||
"module": "fesm2022/ng-lazy-load-component.mjs", | ||
"typings": "index.d.ts", | ||
@@ -39,7 +35,5 @@ "exports": { | ||
"types": "./index.d.ts", | ||
"esm2020": "./esm2020/ng-lazy-load-component.mjs", | ||
"es2020": "./fesm2020/ng-lazy-load-component.mjs", | ||
"es2015": "./fesm2015/ng-lazy-load-component.mjs", | ||
"node": "./fesm2015/ng-lazy-load-component.mjs", | ||
"default": "./fesm2020/ng-lazy-load-component.mjs" | ||
"esm2022": "./esm2022/ng-lazy-load-component.mjs", | ||
"esm": "./esm2022/ng-lazy-load-component.mjs", | ||
"default": "./fesm2022/ng-lazy-load-component.mjs" | ||
} | ||
@@ -46,0 +40,0 @@ }, |
export * from './lib/ng-lazy-load-component.module'; | ||
export * from './lib/ng-lazy-load-component.component'; |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
53767
13
461
1