ps-toolkit-ui 0.0.95 → 0.0.96

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.
@@ -141,3 +141,8 @@ export declare enum VehicleType {
141
141
  Train = 4,
142
142
  Ship = 5
143
143
  }
144
+ export declare enum TableOptionType {
145
+ Hidden = 1,
146
+ Show = 2,
147
+ Group = 3
148
+ }
@@ -1,6 +1,6 @@
1
1
  import { ModalClass } from './modal.class';
2
2
  import { FormClass, InputClass } from './form.class';
3
- import { Method, TableCollType } from './enum.class';
3
+ import { Method, TableCollType, TableOptionType } from './enum.class';
4
4
  import { PermissionClass } from './permission.class';
5
5
  export declare class TableClass {
6
6
  constructor(environment: any, l: (k: any, v?: any) => string, permissions: PermissionClass, name?: string, cls?: string, perPage?: number, height?: number);
@@ -29,6 +29,7 @@ export declare class TableClass {
29
29
  displayLabel: boolean;
30
30
  isReport: boolean;
31
31
  sortable: boolean;
32
+ optionType: TableOptionType;
32
33
  loading: boolean;
33
34
  hasStatus: boolean;
34
35
  hasChildren: boolean;
@@ -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 } from '../../classes/enum.class';
4
+ import { InputType, TableCollType, TableOptionType } from '../../classes/enum.class';
5
5
  import { InputClass } from '../../classes/form.class';
6
6
  import { ConfirmComponent } from '../confirm/confirm.component';
7
7
  export declare class TableComponent implements OnInit {
@@ -9,6 +9,7 @@ export declare class TableComponent implements OnInit {
9
9
  table: TableClass;
10
10
  changeRows: EventEmitter<object>;
11
11
  get type(): typeof InputType;
12
+ get tableOptionType(): typeof TableOptionType;
12
13
  get colType(): typeof TableCollType;
13
14
  rows: ElementRef;
14
15
  tableDiv: ElementRef;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ps-toolkit-ui",
3
- "version": "0.0.95",
3
+ "version": "0.0.96",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^10.1.6",
6
6
  "@angular/core": "^10.1.6"