Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@simfyz/ngx-image-viewer

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@simfyz/ngx-image-viewer - npm Package Compare versions

Comparing version 1.0.0 to 2.3.0

fesm2022/simfyz-ngx-image-viewer.mjs

0

index.d.ts

@@ -0,0 +0,0 @@ /**

7

lib/fullscreen.directive.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc