itc-components-library20 0.0.2 → 0.0.4

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.
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, ChangeDetectorRef, SimpleChanges, InjectionToken } from '@angular/core';
2
+ import { EventEmitter, OnChanges, SimpleChanges, ChangeDetectorRef, InjectionToken } from '@angular/core';
3
3
  import { Router } from '@angular/router';
4
4
  import { IconDefinition } from '@fortawesome/angular-fontawesome';
5
5
  import * as fas from '@fortawesome/free-solid-svg-icons';
@@ -91,7 +91,7 @@ declare class BasicTable {
91
91
  static ɵcmp: i0.ɵɵComponentDeclaration<BasicTable, "lib-basic-table", never, { "columns": { "alias": "columns"; "required": false; }; "data": { "alias": "data"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "detailRoute": { "alias": "detailRoute"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; }, {}, never, never, true, never>;
92
92
  }
93
93
 
94
- declare class SortableTable {
94
+ declare class SortableTable implements OnChanges {
95
95
  router: Router;
96
96
  columns: IColumn[];
97
97
  data: any[];
@@ -101,6 +101,7 @@ declare class SortableTable {
101
101
  colorPicker: (rowData: any, field: string) => string;
102
102
  selected: any[];
103
103
  tableCheckbox: string;
104
+ selectionMode: 'none' | 'single' | 'multiple';
104
105
  selectionChange: EventEmitter<any[]>;
105
106
  resetData: EventEmitter<void>;
106
107
  first: number;
@@ -108,6 +109,8 @@ declare class SortableTable {
108
109
  faStroopwafel: fas.IconDefinition;
109
110
  faMagnifyingGlass: fas.IconDefinition;
110
111
  selectedData: any[];
112
+ get primeSelectionMode(): 'single' | 'multiple' | null;
113
+ get showSelectionCheckboxes(): boolean;
111
114
  isDateColumn(value: any): boolean;
112
115
  isIconColumn(columnField: string): boolean;
113
116
  navigateRoute(id: number): void;
@@ -117,6 +120,7 @@ declare class SortableTable {
117
120
  isSorted: boolean | null;
118
121
  currentSortedField: string | null;
119
122
  ngOnInit(): void;
123
+ ngOnChanges(changes: SimpleChanges): void;
120
124
  customSort(event: SortEvent): void;
121
125
  sortTableData(event: SortEvent): void;
122
126
  private isPriorityField;
@@ -126,7 +130,7 @@ declare class SortableTable {
126
130
  clearSelection(): void;
127
131
  resetSorting(): void;
128
132
  static ɵfac: i0.ɵɵFactoryDeclaration<SortableTable, never>;
129
- static ɵcmp: i0.ɵɵComponentDeclaration<SortableTable, "lib-sortable-table", never, { "columns": { "alias": "columns"; "required": false; }; "data": { "alias": "data"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "detailRoute": { "alias": "detailRoute"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "colorPicker": { "alias": "colorPicker"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "tableCheckbox": { "alias": "tableCheckbox"; "required": false; }; }, { "selectionChange": "selectionChange"; "resetData": "resetData"; }, never, never, true, never>;
133
+ static ɵcmp: i0.ɵɵComponentDeclaration<SortableTable, "lib-sortable-table", never, { "columns": { "alias": "columns"; "required": false; }; "data": { "alias": "data"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "detailRoute": { "alias": "detailRoute"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "colorPicker": { "alias": "colorPicker"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "tableCheckbox": { "alias": "tableCheckbox"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; }, { "selectionChange": "selectionChange"; "resetData": "resetData"; }, never, never, true, never>;
130
134
  }
131
135
 
132
136
  interface IAppointment {
@@ -642,6 +646,11 @@ interface IDictionaryProfileRequest {
642
646
  permissions?: IProfilePermissionRequest[];
643
647
  }
644
648
 
649
+ interface IDictionaryLdap {
650
+ id: number;
651
+ name: string;
652
+ }
653
+
645
654
  declare class ApiAccountDictionaryService {
646
655
  private gateway;
647
656
  endpoint: string;
@@ -657,6 +666,7 @@ declare class ApiAccountDictionaryService {
657
666
  getTypeContactById(id: string): Observable<IDictionaryTypeContact$1>;
658
667
  getSystems(): Observable<IDictionarySystemDTO[]>;
659
668
  getSystemById(id: string): Observable<IDictionarySystemDTO>;
669
+ getLdaps(): Observable<IDictionaryLdap[]>;
660
670
  postPermission(permissionRequest: IDictionaryPermission): Observable<number>;
661
671
  postProfile(profileRequest: IDictionaryProfileRequest): Observable<number>;
662
672
  postTypeContact(typeContactRequest: IDictionaryTypeContact$1): Observable<number>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itc-components-library20",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "Library of Angular components for ITC projects, compatible with Angular 20.",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^20.2.0",