@simfyz/ngx-image-viewer
Advanced tools
Comparing version 1.0.0 to 2.3.0
@@ -0,0 +0,0 @@ /** |
@@ -1,10 +0,9 @@ | ||
import { ElementRef, OnChanges } from '@angular/core'; | ||
import { OnChanges } from '@angular/core'; | ||
import * as i0 from "@angular/core"; | ||
export declare class ToggleFullscreenDirective implements OnChanges { | ||
private el; | ||
isFullscreen: boolean; | ||
constructor(el: ElementRef); | ||
readonly isFullscreen: import("@angular/core").InputSignal<boolean>; | ||
ngOnChanges(): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<ToggleFullscreenDirective, never>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<ToggleFullscreenDirective, "[ngxToggleFullscreen]", never, { "isFullscreen": "ngxToggleFullscreen"; }, {}, never, never, false, never>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<ToggleFullscreenDirective, "[ngxToggleFullscreen]", never, { "isFullscreen": { "alias": "ngxToggleFullscreen"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>; | ||
} |
@@ -0,1 +1,2 @@ | ||
import { IconProp } from '@fortawesome/angular-fontawesome/types'; | ||
export interface ImageViewerConfig { | ||
@@ -17,14 +18,10 @@ btnClass?: string; | ||
btnIcons?: { | ||
zoomIn?: string; | ||
zoomOut?: string; | ||
rotateClockwise?: string; | ||
rotateCounterClockwise?: string; | ||
next?: string; | ||
prev?: string; | ||
fullscreen?: string; | ||
zoomIn?: IconProp; | ||
zoomOut?: IconProp; | ||
rotateClockwise?: IconProp; | ||
rotateCounterClockwise?: IconProp; | ||
next?: IconProp; | ||
prev?: IconProp; | ||
fullscreen?: IconProp; | ||
}; | ||
customBtns?: Array<{ | ||
name: string; | ||
icon: string; | ||
}>; | ||
} | ||
@@ -31,0 +28,0 @@ export declare class CustomImageViewerEvent { |
@@ -27,3 +27,2 @@ import { EventEmitter, OnInit } from '@angular/core'; | ||
private hovered; | ||
constructor(moduleConfig: ImageViewerConfig); | ||
ngOnInit(): void; | ||
@@ -51,4 +50,4 @@ nextImage(event: Event): void; | ||
private mergeConfig; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<ImageViewerComponent, [{ optional: true; }]>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<ImageViewerComponent, "ngx-image-viewer", never, { "src": "src"; "index": "index"; "config": "config"; }, { "indexChange": "indexChange"; "configChange": "configChange"; "customEvent": "customEvent"; }, never, never, false, never>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<ImageViewerComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<ImageViewerComponent, "ngx-image-viewer", never, { "src": { "alias": "src"; "required": false; }; "index": { "alias": "index"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, { "indexChange": "indexChange"; "configChange": "configChange"; "customEvent": "customEvent"; }, never, never, true, never>; | ||
} |
{ | ||
"name": "@simfyz/ngx-image-viewer", | ||
"version": "1.0.0", | ||
"version": "2.3.0", | ||
"author": "Fayas Ismail (https://github.com/simfyz)", | ||
@@ -20,8 +20,9 @@ "description": "Angular image viewer component with Ivy support", | ||
"peerDependencies": { | ||
"@angular/common": "^15.2.0", | ||
"@angular/core": "^15.2.0" | ||
"@angular/common": ">=17.0.0", | ||
"@angular/core": ">=17.0.0" | ||
}, | ||
"dependencies": { | ||
"tslib": "^2.3.0", | ||
"screenfull": "^6.0.2" | ||
"screenfull": "^6.0.2", | ||
"@fortawesome/angular-fontawesome": "^1.0.0" | ||
}, | ||
@@ -32,7 +33,3 @@ "sideEffects": false, | ||
}, | ||
"module": "fesm2015/simfyz-ngx-image-viewer.mjs", | ||
"es2020": "fesm2020/simfyz-ngx-image-viewer.mjs", | ||
"esm2020": "esm2020/simfyz-ngx-image-viewer.mjs", | ||
"fesm2020": "fesm2020/simfyz-ngx-image-viewer.mjs", | ||
"fesm2015": "fesm2015/simfyz-ngx-image-viewer.mjs", | ||
"module": "fesm2022/simfyz-ngx-image-viewer.mjs", | ||
"typings": "index.d.ts", | ||
@@ -45,9 +42,5 @@ "exports": { | ||
"types": "./index.d.ts", | ||
"esm2020": "./esm2020/simfyz-ngx-image-viewer.mjs", | ||
"es2020": "./fesm2020/simfyz-ngx-image-viewer.mjs", | ||
"es2015": "./fesm2015/simfyz-ngx-image-viewer.mjs", | ||
"node": "./fesm2015/simfyz-ngx-image-viewer.mjs", | ||
"default": "./fesm2020/simfyz-ngx-image-viewer.mjs" | ||
"default": "./fesm2022/simfyz-ngx-image-viewer.mjs" | ||
} | ||
} | ||
} |
export * from './lib/image-viewer-config.model'; | ||
export * from './lib/image-viewer/image-viewer.component'; | ||
export * from './lib/ngx-image-viewer.module'; | ||
export * from './lib/ngx-image-viewer.provider'; |
@@ -0,0 +0,0 @@ # NgxImageViewer |
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
4
42220
5
10
371
1
+ Added@angular/common@19.0.4(transitive)
+ Added@angular/core@19.0.4(transitive)
+ Added@fortawesome/angular-fontawesome@1.0.0(transitive)
+ Added@fortawesome/fontawesome-common-types@6.7.2(transitive)
+ Added@fortawesome/fontawesome-svg-core@6.7.2(transitive)
+ Addedzone.js@0.15.0(transitive)
- Removed@angular/common@15.2.10(transitive)
- Removed@angular/core@15.2.10(transitive)
- Removedzone.js@0.13.3(transitive)