sf-crud 13.0.14 → 13.0.16

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.
@@ -3,7 +3,7 @@ import { CrudConfig } from '../../shared/models/crud-config.model';
3
3
  import { GeneralService } from '../../shared/services/general.service';
4
4
  import { MenuItem } from 'primeng/api';
5
5
  import { Router } from '@angular/router';
6
- import { SfCrudService } from '../../sf-crud.service';
6
+ import { Loading, SfCrudService } from '../../sf-crud.service';
7
7
  import { StepService } from '../../shared/services/step.service';
8
8
  import { CrudDialogService } from '../../shared/services/dialog.service';
9
9
  import * as i0 from "@angular/core";
@@ -34,8 +34,14 @@ export declare class TableroComponent implements OnInit, OnChanges {
34
34
  delete: any;
35
35
  };
36
36
  itemSelected: any;
37
- private loading;
37
+ loading: Loading;
38
38
  optionsMap: Map<string, any>;
39
+ currentPage: number;
40
+ rowsPerPage: number;
41
+ totalRecords: number;
42
+ private initialLoadDone;
43
+ searchValue: string;
44
+ private searchTimeout;
39
45
  constructor(generalService: GeneralService, router: Router, sfCrudService: SfCrudService, stepService: StepService, dialogService: CrudDialogService);
40
46
  ngOnInit(): void;
41
47
  ngOnChanges(changes: SimpleChanges): void;
@@ -58,6 +64,8 @@ export declare class TableroComponent implements OnInit, OnChanges {
58
64
  onGlobalFilter(event: Event, dt: any): void;
59
65
  showAddDialog(): void;
60
66
  goToDetail(row: any): void;
67
+ pageChange(event: any): void;
68
+ onGlobalSearch(event: Event): void;
61
69
  static ɵfac: i0.ɵɵFactoryDeclaration<TableroComponent, never>;
62
70
  static ɵcmp: i0.ɵɵComponentDeclaration<TableroComponent, "sf-crudtablero", never, { "opciones": { "alias": "opciones"; "required": false; }; "idEntidad": { "alias": "idEntidad"; "required": false; }; "idKatios": { "alias": "idKatios"; "required": false; }; "environment": { "alias": "environment"; "required": false; }; "user": { "alias": "user"; "required": false; }; "dataExt": { "alias": "dataExt"; "required": false; }; "showCreateButton": { "alias": "showCreateButton"; "required": false; }; }, { "onSelectAction": "onSelectAction"; }, never, never, true, never>;
63
71
  }
@@ -22,6 +22,7 @@ export declare class ConfigTablero {
22
22
  dataKey?: string;
23
23
  selectionMode?: string;
24
24
  redirect?: string;
25
+ customPaginator?: boolean;
25
26
  }
26
27
  export declare class ConfigRegistro {
27
28
  operations: Operation[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sf-crud",
3
- "version": "13.0.14",
3
+ "version": "13.0.16",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.2.0",
6
6
  "@angular/core": "^19.2.0",