ngx-opalbytes-components 1.8.1 → 1.9.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-opalbytes-components",
3
- "version": "1.8.1",
3
+ "version": "1.9.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^21.0.0",
6
6
  "@angular/core": "^21.0.0",
@@ -382,7 +382,7 @@ interface ITableConfig {
382
382
  paginated?: boolean;
383
383
  }
384
384
 
385
- declare class TableService {
385
+ declare class BaseTableService {
386
386
  private tableConfigSubject;
387
387
  private dataSubject;
388
388
  private columnsSubject;
@@ -398,8 +398,8 @@ declare class TableService {
398
398
  setColumns(columns: IColumnConfig[]): void;
399
399
  setData(data: any[]): void;
400
400
  updateTableData(data: any[]): void;
401
- static ɵfac: i0.ɵɵFactoryDeclaration<TableService, never>;
402
- static ɵprov: i0.ɵɵInjectableDeclaration<TableService>;
401
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseTableService, never>;
402
+ static ɵprov: i0.ɵɵInjectableDeclaration<BaseTableService>;
403
403
  }
404
404
 
405
405
  declare function getPtBrPaginatorIntlBaseTable(): MatPaginatorIntl;
@@ -431,7 +431,7 @@ declare class BaseTable implements OnInit, AfterViewInit, OnDestroy {
431
431
  currentPage: number;
432
432
  private previousPage;
433
433
  getAllColumns(): string[];
434
- protected tableService: TableService;
434
+ protected tableService: BaseTableService;
435
435
  protected liveAnnouncer: LiveAnnouncer;
436
436
  protected filterTableService: BaseFilterTableService;
437
437
  constructor();
@@ -473,15 +473,15 @@ declare class BaseTable implements OnInit, AfterViewInit, OnDestroy {
473
473
  static ɵcmp: i0.ɵɵComponentDeclaration<BaseTable, "cao-base-table", never, { "customClass": { "alias": "customClass"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "showFirstLastButtons": { "alias": "showFirstLastButtons"; "required": false; }; "isPaginatedByServer": { "alias": "isPaginatedByServer"; "required": false; }; }, { "pageChanged": "pageChanged"; "pageSizeChanged": "pageSizeChanged"; "firstPageClicked": "firstPageClicked"; "lastPageClicked": "lastPageClicked"; "selectionChanged": "selectionChanged"; "pageEvent": "pageEvent"; }, never, never, true, never>;
474
474
  }
475
475
 
476
- declare class FilterTablePaginatedService {
476
+ declare class BaseFilterTablePaginatedService {
477
477
  private filterSubject;
478
478
  filter$: rxjs.Observable<string>;
479
479
  updateFilter(filterValue: string): void;
480
- static ɵfac: i0.ɵɵFactoryDeclaration<FilterTablePaginatedService, never>;
481
- static ɵprov: i0.ɵɵInjectableDeclaration<FilterTablePaginatedService>;
480
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseFilterTablePaginatedService, never>;
481
+ static ɵprov: i0.ɵɵInjectableDeclaration<BaseFilterTablePaginatedService>;
482
482
  }
483
483
 
484
- declare class PaginationService {
484
+ declare class BasePaginationService {
485
485
  private pageSubject;
486
486
  private pageSizeSubject;
487
487
  private totalItemsSubject;
@@ -520,8 +520,8 @@ declare class PaginationService {
520
520
  * Resets pagination to default values
521
521
  */
522
522
  reset(): void;
523
- static ɵfac: i0.ɵɵFactoryDeclaration<PaginationService, never>;
524
- static ɵprov: i0.ɵɵInjectableDeclaration<PaginationService>;
523
+ static ɵfac: i0.ɵɵFactoryDeclaration<BasePaginationService, never>;
524
+ static ɵprov: i0.ɵɵInjectableDeclaration<BasePaginationService>;
525
525
  }
526
526
 
527
527
  interface IColumnPaginatedButton {
@@ -604,10 +604,10 @@ declare class BaseTablePaginated implements OnInit, OnDestroy {
604
604
  pageSize: number;
605
605
  currentPage: number;
606
606
  private previousPage;
607
- protected paginationService: PaginationService;
607
+ protected paginationService: BasePaginationService;
608
608
  protected tableService: TablePaginatedService;
609
609
  protected liveAnnouncer: LiveAnnouncer;
610
- protected filterTableService: FilterTablePaginatedService;
610
+ protected filterTableService: BaseFilterTablePaginatedService;
611
611
  constructor();
612
612
  onPageChanged(page: number): void;
613
613
  ngOnInit(): void;
@@ -629,5 +629,38 @@ declare class BaseTablePaginated implements OnInit, OnDestroy {
629
629
  static ɵcmp: i0.ɵɵComponentDeclaration<BaseTablePaginated, "cao-table-paginated", never, { "getColumnCssClass": { "alias": "getColumnCssClass"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "showFirstLastButtons": { "alias": "showFirstLastButtons"; "required": false; }; }, { "pageChanged": "pageChanged"; "pageSizeChanged": "pageSizeChanged"; "firstPageClicked": "firstPageClicked"; "lastPageClicked": "lastPageClicked"; "selectionChanged": "selectionChanged"; "pageEvent": "pageEvent"; "rowClicked": "rowClicked"; }, never, never, true, never>;
630
630
  }
631
631
 
632
- export { BaseButton, BaseDialog, BaseDialogService, BaseFilterTableService, BaseInput, BaseModal, BaseModalService, BaseTable, BaseTablePaginated, BaseTimeRange, DropDownComponent, FilterTablePaginatedService, Footer, LinksButton, PaginationService, Paginator, RnvAutocompleteComponent, TablePaginatedService, TableService, TimePicker, getPtBrPaginatorIntlBasePaginated, getPtBrPaginatorIntlBaseTable };
633
- export type { DialogType, IColumnButton, IColumnConfig, IColumnPaginatedButton, IColumnPaginatedConfig, IDialogConfig, IModal, INavContent, INavLink, ITableConfig, ITablePaginatedConfig, ModalType, ModalTypeClass, ModalTypeSize };
632
+ type AlertType = "success" | "error" | "info" | "warning";
633
+ interface IAlertConfig {
634
+ type: AlertType;
635
+ title: string;
636
+ message: string;
637
+ alertIcon?: string;
638
+ }
639
+
640
+ declare class BaseAlert implements OnInit {
641
+ data: {
642
+ type: AlertType;
643
+ title: string;
644
+ message: string;
645
+ alertIcon?: string;
646
+ };
647
+ iconPath: string;
648
+ titleClass: string;
649
+ private iconPaths;
650
+ ngOnInit(): void;
651
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseAlert, never>;
652
+ static ɵcmp: i0.ɵɵComponentDeclaration<BaseAlert, "cao-base-alert", never, {}, {}, never, never, true, never>;
653
+ }
654
+
655
+ declare class BaseAlertService {
656
+ private overlay;
657
+ constructor(overlay: Overlay);
658
+ protected defaultTime: number;
659
+ show(config: IAlertConfig): void;
660
+ generateComponentPortal(): typeof BaseAlert;
661
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseAlertService, never>;
662
+ static ɵprov: i0.ɵɵInjectableDeclaration<BaseAlertService>;
663
+ }
664
+
665
+ export { BaseAlert, BaseAlertService, BaseButton, BaseDialog, BaseDialogService, BaseFilterTablePaginatedService, BaseFilterTableService, BaseInput, BaseModal, BaseModalService, BasePaginationService, BaseTable, BaseTablePaginated, BaseTableService, BaseTimeRange, DropDownComponent, Footer, LinksButton, Paginator, RnvAutocompleteComponent, TablePaginatedService, TimePicker, getPtBrPaginatorIntlBasePaginated, getPtBrPaginatorIntlBaseTable };
666
+ export type { AlertType, DialogType, IAlertConfig, IColumnButton, IColumnConfig, IColumnPaginatedButton, IColumnPaginatedConfig, IDialogConfig, IModal, INavContent, INavLink, ITableConfig, ITablePaginatedConfig, ModalType, ModalTypeClass, ModalTypeSize };