ps-toolkit-ui 1.20.49 → 1.20.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -116,6 +116,11 @@ export declare enum TableCollType {
116
116
  Month = 18,
117
117
  Year = 19
118
118
  }
119
+ export declare enum TableExportType {
120
+ Print = 0,
121
+ Excel = 1,
122
+ Pdf = 2
123
+ }
119
124
  export declare enum UserType {
120
125
  All = 0,
121
126
  Admin = 1,
@@ -1,7 +1,7 @@
1
1
  import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
2
  import { Router } from '@angular/router';
3
3
  import { TableClass } from '../../classes/table.class';
4
- import { InputType, TableCollType, TableOptionType } from '../../classes/enum.class';
4
+ import { InputType, TableCollType, TableExportType, TableOptionType } from '../../classes/enum.class';
5
5
  import { InputClass } from '../../classes/form.class';
6
6
  import { ConfirmComponent } from '../confirm/confirm.component';
7
7
  import { ModalClass } from '../../classes/modal.class';
@@ -19,6 +19,7 @@ export declare class TableComponent implements OnInit {
19
19
  confirm: ConfirmComponent;
20
20
  reload: InputClass;
21
21
  excel: InputClass;
22
+ excelUi: InputClass;
22
23
  pdf: InputClass;
23
24
  print: InputClass;
24
25
  maximum: InputClass;
@@ -27,6 +28,7 @@ export declare class TableComponent implements OnInit {
27
28
  constructor(router: Router);
28
29
  options: InputClass[];
29
30
  ngOnInit(): void;
31
+ exportTable(type: TableExportType): void;
30
32
  allChecked(): boolean;
31
33
  isChecked(): boolean;
32
34
  checkAll(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ps-toolkit-ui",
3
- "version": "1.20.49",
3
+ "version": "1.20.51",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^10.1.6",
6
6
  "@angular/core": "^10.1.6"