@ieeesa-npm/presentation 0.4.5 → 0.4.6

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.
@@ -65,19 +65,12 @@ export declare class ChipsComponent implements OnInit, OnDestroy {
65
65
  link: string;
66
66
  pagination: string;
67
67
  };
68
- buttons: ({
69
- id: number;
70
- iconURL: string;
71
- toolTip: string;
72
- ariaLabel: string;
73
- disabled: boolean;
74
- } | {
68
+ buttons: {
75
69
  id: number;
76
70
  iconURL: string;
77
71
  toolTip: string;
78
72
  ariaLabel: string;
79
- disabled?: undefined;
80
- })[];
73
+ }[];
81
74
  };
82
75
  datePicker: {
83
76
  selectDateLabel: string;
@@ -161,9 +154,7 @@ export declare class ChipsComponent implements OnInit, OnDestroy {
161
154
  arrow: IconButton;
162
155
  typeOfChip: ChipsType;
163
156
  isViewMoreNeeded: boolean;
164
- private isChipToggled;
165
- set hasChipToggled(value: boolean);
166
- get hasChipToggled(): boolean;
157
+ hasChipToggled: boolean;
167
158
  viewAllLabel: string;
168
159
  viewLessLabel: string;
169
160
  selectedChip: EventEmitter<any>;
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter, OnInit, AfterViewInit, OnDestroy } from '@angular/core';
2
2
  import { MatTableDataSource } from '@angular/material/table';
3
- import { PageEvent } from '@angular/material/paginator';
3
+ import { MatPaginator, PageEvent } from '@angular/material/paginator';
4
4
  import { MatSort, SortDirection } from '@angular/material/sort';
5
5
  import { SelectionModel } from '@angular/cdk/collections';
6
6
  import { Subject } from 'rxjs';
@@ -69,6 +69,7 @@ export declare class DataTableComponent implements OnInit, AfterViewInit, OnDest
69
69
  clearAll: any;
70
70
  destroy$: Subject<boolean>;
71
71
  sort: MatSort;
72
+ paginator: MatPaginator;
72
73
  constructor(breakpointObserverService: BreakpointObserverService);
73
74
  /**
74
75
  * Initializes the data table component and sets the table action buttons.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ieeesa-npm/presentation",
3
- "version": "0.4.5",
3
+ "version": "0.4.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0",
@@ -18,8 +18,8 @@
18
18
  "moment": "^2.29.4",
19
19
  "rxjs": "~7.8.0",
20
20
  "zone.js": "~0.13.0",
21
- "@ieeesa-npm/shared-styles": "^0.1.1",
22
- "@ieeesa-npm/feature": "^0.2.7"
21
+ "@ieeesa-npm/shared-styles": "^0.1.2",
22
+ "@ieeesa-npm/feature": "^0.2.8"
23
23
  },
24
24
  "dependencies": {
25
25
  "tslib": "^2.3.0"
@@ -51,21 +51,31 @@
51
51
  "id": 1,
52
52
  "iconURL": "assets/images/sprites/sprites.svg#icon-data-table-edit",
53
53
  "toolTip": "",
54
- "ariaLabel": "Edit",
55
- "disabled": true
54
+ "ariaLabel": "Edit"
56
55
  },
57
56
  {
58
57
  "id": 2,
59
58
  "iconURL": "assets/images/sprites/sprites.svg#icon-data-table-delete",
60
59
  "toolTip": "",
61
- "ariaLabel": "Delete",
62
- "disabled": true
60
+ "ariaLabel": "Delete"
63
61
  },
64
62
  {
65
63
  "id": 3,
66
64
  "iconURL": "assets/images/sprites/sprites.svg#icon-add-member",
67
65
  "toolTip": "",
68
66
  "ariaLabel": "Add user(s)"
67
+ },
68
+ {
69
+ "id": 4,
70
+ "iconURL": "assets/images/sprites/sprites.svg#icon-data-table-row-edit",
71
+ "toolTip": "",
72
+ "ariaLabel": "Edit"
73
+ },
74
+ {
75
+ "id": 5,
76
+ "iconURL": "assets/images/sprites/sprites.svg#icon-data-table-row-delete",
77
+ "toolTip": "",
78
+ "ariaLabel": "Delete"
69
79
  }
70
80
  ]
71
81
  },