ngx-print-element
Advanced tools
Comparing version
import { ElementRef } from '@angular/core'; | ||
import { Subject } from 'rxjs'; | ||
import { Config, NgxPrintElementService } from './ngx-print-element.service'; | ||
import * as i0 from "@angular/core"; | ||
export declare class NgxPrintElementComponent { | ||
@@ -14,2 +15,4 @@ private prints; | ||
print(elementRef: ElementRef<any>, config?: Config): Subject<any>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<NgxPrintElementComponent, never>; | ||
static ɵcmp: i0.ɵɵComponentDeclaration<NgxPrintElementComponent, "ngx-print-element", ["element"], {}, {}, never, ["*"], false, never>; | ||
} |
import { OnInit, Renderer2 } from '@angular/core'; | ||
import { NgxPrintElementService } from './ngx-print-element.service'; | ||
import * as i0 from "@angular/core"; | ||
export declare class NgxPrintElementDirective implements OnInit { | ||
@@ -8,2 +9,4 @@ private renderer; | ||
ngOnInit(): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<NgxPrintElementDirective, never>; | ||
static ɵdir: i0.ɵɵDirectiveDeclaration<NgxPrintElementDirective, "[ngxPrintElement]", never, {}, {}, never, never, false, never>; | ||
} |
@@ -32,3 +32,3 @@ import { ElementRef, Renderer2 } from "@angular/core"; | ||
*/ | ||
export declare const printElementWindow: (element: ElementRef<any>, selfOptions: Config, as: Subject<any>) => void; | ||
export declare const printElementWindow: (element: ElementRef<any>, selfOptions: Config | undefined, as: Subject<any>) => void; | ||
/** | ||
@@ -40,3 +40,3 @@ * Print iFrame | ||
*/ | ||
export declare const printIFrame: (element: ElementRef<any>, selfOptions: Config, as: Subject<any>) => void; | ||
export declare const printIFrame: (element: ElementRef<any>, selfOptions: Config | undefined, as: Subject<any>) => void; | ||
/** | ||
@@ -48,3 +48,3 @@ * Print default | ||
*/ | ||
export declare const printDefault: (element: ElementRef<any>, renderer: Renderer2, selfOptions: Config, as: Subject<any>) => void; | ||
export declare const printDefault: (element: ElementRef<any>, renderer: Renderer2, selfOptions: Config | undefined, as: Subject<any>) => void; | ||
/** | ||
@@ -56,3 +56,3 @@ * Rxjs complete | ||
*/ | ||
export declare const AS_COMPLETE: (as: Subject<any>, data: any, error?: any) => void; | ||
export declare const AS_COMPLETE: (as: Subject<any>, data: any, error?: null) => void; | ||
export {}; |
@@ -0,2 +1,8 @@ | ||
import * as i0 from "@angular/core"; | ||
import * as i1 from "./ngx-print-element.component"; | ||
import * as i2 from "./ngx-print-element.directive"; | ||
export declare class NgxPrintElementModule { | ||
static ɵfac: i0.ɵɵFactoryDeclaration<NgxPrintElementModule, never>; | ||
static ɵmod: i0.ɵɵNgModuleDeclaration<NgxPrintElementModule, [typeof i1.NgxPrintElementComponent, typeof i2.NgxPrintElementDirective], never, [typeof i1.NgxPrintElementComponent, typeof i2.NgxPrintElementDirective]>; | ||
static ɵinj: i0.ɵɵInjectorDeclaration<NgxPrintElementModule>; | ||
} |
import { ElementRef, Renderer2 } from '@angular/core'; | ||
import { Subject } from 'rxjs'; | ||
import * as i0 from "@angular/core"; | ||
export interface Config { | ||
@@ -26,2 +27,4 @@ htmlType?: string; | ||
print(element: ElementRef<any>, config?: Config): Subject<any>; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<NgxPrintElementService, never>; | ||
static ɵprov: i0.ɵɵInjectableDeclaration<NgxPrintElementService>; | ||
} |
{ | ||
"name": "ngx-print-element", | ||
"version": "2.1.5", | ||
"version": "2.1.6", | ||
"description": "This library is built to provide a solution for printing on html elements.", | ||
@@ -48,18 +48,22 @@ "keywords": [ | ||
"peerDependencies": { | ||
"@angular/common": "^6.0.0-rc.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0", | ||
"@angular/core": "^6.0.0-rc.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" | ||
"@angular/common": "^16.0.0 || ^17.0.0", | ||
"@angular/core": "^16.0.0 || ^17.0.0" | ||
}, | ||
"main": "bundles/ngx-print-element.umd.js", | ||
"module": "fesm5/ngx-print-element.js", | ||
"es2015": "fesm2015/ngx-print-element.js", | ||
"esm5": "esm5/ngx-print-element.js", | ||
"esm2015": "esm2015/ngx-print-element.js", | ||
"fesm5": "fesm5/ngx-print-element.js", | ||
"fesm2015": "fesm2015/ngx-print-element.js", | ||
"typings": "ngx-print-element.d.ts", | ||
"metadata": "ngx-print-element.metadata.json", | ||
"dependencies": { | ||
"tslib": "^2.3.0" | ||
}, | ||
"sideEffects": false, | ||
"dependencies": { | ||
"tslib": "^1.9.0" | ||
"module": "fesm2022/ngx-print-element.mjs", | ||
"typings": "index.d.ts", | ||
"exports": { | ||
"./package.json": { | ||
"default": "./package.json" | ||
}, | ||
".": { | ||
"types": "./index.d.ts", | ||
"esm2022": "./esm2022/ngx-print-element.mjs", | ||
"esm": "./esm2022/ngx-print-element.mjs", | ||
"default": "./fesm2022/ngx-print-element.mjs" | ||
} | ||
} | ||
} | ||
} |
@@ -136,2 +136,6 @@ # ngx-print-element | ||
<tr> | ||
<td>Angular 16</td> | ||
<td>2.1.6</td> | ||
</tr> | ||
<tr> | ||
<td>Angular 6+</td> | ||
@@ -179,2 +183,2 @@ <td>2.1.5</td> | ||
[MIT License](https://github.com/id1945/ngx-print-element/blob/master/LICENSE). Copyright (c) 2022 DaiDH | ||
[MIT License](https://github.com/id1945/ngx-print-element/blob/master/LICENSE). Copyright (c) 2022 DaiDH |
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
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
1
-50%182
1.68%98064
-66.47%18
-43.75%904
-73.22%- Removed
Updated