🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

ngx-print-element

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-print-element - npm Package Compare versions

Comparing version

to
2.0.17

2

lib/ngx-print-element.component.d.ts

@@ -13,3 +13,3 @@ import { Config, NgxPrintElementService } from './ngx-print-element.service';

static ɵfac: i0.ɵɵFactoryDeclaration<NgxPrintElementComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NgxPrintElementComponent, "ngx-print-element", ["element"], {}, {}, never, ["*"], false>;
static ɵcmp: i0.ɵɵComponentDeclaration<NgxPrintElementComponent, "ngx-print-element", ["element"], {}, {}, never, ["*"], false, never>;
}

@@ -13,3 +13,3 @@ import { NgxPrintElementService } from './ngx-print-element.service';

static ɵfac: i0.ɵɵFactoryDeclaration<NgxPrintElementDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NgxPrintElementDirective, "[print]", never, { "print": "print"; }, {}, never, never, false>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NgxPrintElementDirective, "[print]", never, { "print": "print"; }, {}, never, never, false, never>;
}
{
"name": "ngx-print-element",
"version": "2.0.16",
"version": "2.0.17",
"description": "This library is built to provide a solution for printing on html elements.",

@@ -47,9 +47,9 @@ "keywords": [

},
"peerDependencies": {
"@angular/common": "^14.0.0 || ^15.0.0",
"@angular/core": "^14.0.0 || ^15.0.0"
},
"dependencies": {
"tslib": "^2.0.0"
"tslib": "^2.3.0"
},
"peerDependencies": {
"@angular/common": "^14.1.3",
"@angular/core": "^14.1.3"
},
"module": "fesm2015/ngx-print-element.mjs",

@@ -74,6 +74,3 @@ "es2020": "fesm2020/ngx-print-element.mjs",

},
"sideEffects": false,
"scripts": {
"prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled by Ivy in full compilation mode. This is not allowed.\\nPlease delete and rebuild the package with Ivy partial compilation mode, before attempting to publish.\\n')\" && exit 1"
}
"sideEffects": false
}

@@ -30,3 +30,2 @@ # ngx-print-element

### 1# The first way doesn't need configuration
```html

@@ -65,3 +64,6 @@ <table id="demo" class="table table-bordered">

</table>
```
### 1# The first way doesn't need configuration
```html
<button [print]="['demo']">Print</button>

@@ -72,36 +74,2 @@ ```

```html
<table id="demo" class="table table-bordered">
<tr>
<th>No</th>
<th>Company</th>
<th>Contact</th>
<th>Country</th>
</tr>
<tr class="print-none" style="background: greenyellow"><!-- No print -->
<td>01</td>
<td>Alfreds Futterkiste</td>
<td>Maria Anders</td>
<td>Germany</td>
</tr>
<tr>
<td>02</td>
<td>Centro comercial Moctezuma</td>
<td>Francisco Chang</td>
<td>Mexico</td>
</tr>
<tr>
<td>03</td>
<td>AIS Playground</td>
<td>Nakhon Pathom</td>
<td>Thailand</td>
</tr>
<tr class="print-none" style="background: greenyellow"> <!-- No print -->
<td>04</td>
<td>FPT Software</td>
<td>Cau Giay</td>
<td>Vietnamese</td>
</tr>
</table>
<button [print]="['demo', config]">Print</button>

@@ -161,11 +129,39 @@ ```

### Support versions
| ng version | version |
| --- | --- |
| Angular 8 | 8.0.14 |
| Angular 9 | 8.0.14-rc.1 |
| Angular 14 | 2.0.15 |
#### Support versions
<table>
<tr>
<th colspan="2">Support versions</th>
</tr>
<tr>
<td>Angular 14</td>
<td>8.0.15</td>
</tr>
<tr>
<td>Angular 9</td>
<td>8.0.14-rc.1</td>
</tr>
<tr>
<td>Angular 8</td>
<td>8.0.14</td>
</tr>
</table>
#### Author Information
<table>
<tr>
<th colspan="2">Author Information</th>
</tr>
<tr>
<td>Author</td>
<td>DaiDH</td>
</tr>
<tr>
<td>Phone</td>
<td>+84845882882</td>
</tr>
</table>
Author: `DaiDH`, Tel: `0845882882`
![Vietnam](https://raw.githubusercontent.com/id1945/id1945/master/vietnam.gif)

@@ -172,0 +168,0 @@ ### License

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

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

Sorry, the diff of this file is not supported yet