matcha-components 20.133.0 → 20.134.0

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
@@ -1435,6 +1435,14 @@ declare class MatchaPaginatorIntl {
1435
1435
  * A label for the range of items within the current page and the length of the whole list.
1436
1436
  */
1437
1437
  getRangeLabel: (page: number, pageSize: number, length: number) => string;
1438
+ /**
1439
+ * A label for the range display (e.g., "Exibindo 1 a 10 de 100 registros")
1440
+ */
1441
+ getRangeDisplayLabel: (start: number, end: number, length: number) => string;
1442
+ /**
1443
+ * A label for filtered results (e.g., "(filtrados de 500 no total)")
1444
+ */
1445
+ getFilteredLabel: (totalLength: number) => string;
1438
1446
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaPaginatorIntl, never>;
1439
1447
  static ɵprov: i0.ɵɵInjectableDeclaration<MatchaPaginatorIntl>;
1440
1448
  }
@@ -1448,6 +1456,10 @@ declare class MatchaPaginatorComponent implements OnDestroy {
1448
1456
  pageSizeOptions: number[];
1449
1457
  /** Color theme for active page button. Defaults to 'accent' */
1450
1458
  color: string;
1459
+ /** Show total records information. Defaults to false */
1460
+ showTotal: boolean;
1461
+ /** Filtered length for displaying filtered records count. Optional */
1462
+ filteredLength?: number;
1451
1463
  page: EventEmitter<PageEvent>;
1452
1464
  private _intlChanges;
1453
1465
  constructor(_intl: MatchaPaginatorIntl, _changeDetectorRef: ChangeDetectorRef);
@@ -1469,8 +1481,17 @@ declare class MatchaPaginatorComponent implements OnDestroy {
1469
1481
  /** Handle page size change */
1470
1482
  onPageSizeChange(event: Event): void;
1471
1483
  private changePage;
1484
+ /** Get the range of items being displayed */
1485
+ get rangeStart(): number;
1486
+ get rangeEnd(): number;
1487
+ /** Check if there are filtered results */
1488
+ get hasFilteredResults(): boolean;
1489
+ /** Get range label for display */
1490
+ getRangeLabel(): string;
1491
+ /** Get filtered label for display */
1492
+ getFilteredLabel(): string;
1472
1493
  static ɵfac: i0.ɵɵFactoryDeclaration<MatchaPaginatorComponent, never>;
1473
- static ɵcmp: i0.ɵɵComponentDeclaration<MatchaPaginatorComponent, "matcha-paginator", never, { "pageIndex": { "alias": "pageIndex"; "required": false; }; "length": { "alias": "length"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, { "page": "page"; }, never, never, false, never>;
1494
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatchaPaginatorComponent, "matcha-paginator", never, { "pageIndex": { "alias": "pageIndex"; "required": false; }; "length": { "alias": "length"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "color": { "alias": "color"; "required": false; }; "showTotal": { "alias": "showTotal"; "required": false; }; "filteredLength": { "alias": "filteredLength"; "required": false; }; }, { "page": "page"; }, never, never, false, never>;
1474
1495
  }
1475
1496
 
1476
1497
  declare class MatchaHighlightComponent implements OnInit, OnDestroy {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matcha-components",
3
- "version": "20.133.0",
3
+ "version": "20.134.0",
4
4
  "peerDependencies": {},
5
5
  "dependencies": {
6
6
  "tslib": "^2.3.0"