ng-prime-tools 1.1.21 → 1.1.22

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": "ng-prime-tools",
3
- "version": "1.1.21",
3
+ "version": "1.1.22",
4
4
  "description": "An advanced PrimeNG table for Angular",
5
5
  "author": "JAAI ZAKARIAE <jaaizakariae@gmail.com>",
6
6
  "repository": {
@@ -29,18 +29,20 @@ import * as i7 from 'primeng/password';
29
29
  import * as i4$6 from 'primeng/select';
30
30
  import * as i4$7 from 'primeng/inputotp';
31
31
  import { ChartType, ChartData, ChartOptions } from 'chart.js';
32
- import * as i3$2 from '@angular/router';
32
+ import * as i3$3 from '@angular/router';
33
33
  import { Router } from '@angular/router';
34
+ import * as i3$2 from 'primeng/popover';
35
+ import { Popover } from 'primeng/popover';
34
36
  import * as rxjs from 'rxjs';
35
37
  import { Subscription } from 'rxjs';
36
- import * as i3$3 from 'primeng/breadcrumb';
37
- import * as i3$4 from 'primeng/confirmdialog';
38
- import * as i3$5 from 'primeng/toast';
38
+ import * as i3$4 from 'primeng/breadcrumb';
39
+ import * as i3$5 from 'primeng/confirmdialog';
40
+ import * as i3$6 from 'primeng/toast';
39
41
  import * as i4$8 from 'primeng/accordion';
40
- import * as i3$6 from 'primeng/dialog';
42
+ import * as i3$7 from 'primeng/dialog';
41
43
  import * as i5$2 from 'primeng/menu';
42
44
  import { Menu as Menu$1 } from 'primeng/menu';
43
- import * as i3$7 from 'primeng/paginator';
45
+ import * as i3$8 from 'primeng/paginator';
44
46
  import { PaginatorState } from 'primeng/paginator';
45
47
 
46
48
  interface PTTableActionConfig {
@@ -1556,6 +1558,75 @@ interface PTNotificationsPageConfig {
1556
1558
  currentPageReportTemplate?: string;
1557
1559
  }
1558
1560
 
1561
+ type PTReleaseNotesLanguage = 'FR' | 'EN';
1562
+ type PTReleaseNoteDetailType = 'NEW' | 'IMPROVEMENT' | 'BUG_FIX';
1563
+ type PTReleaseNotesPageFilter = 'ALL' | 'UNREAD' | 'READ';
1564
+ interface PTReleaseNoteDetail {
1565
+ id: string | number;
1566
+ type: PTReleaseNoteDetailType;
1567
+ title: string;
1568
+ description?: string;
1569
+ icon?: string;
1570
+ link?: string;
1571
+ disabled?: boolean;
1572
+ styleClass?: string;
1573
+ }
1574
+ interface PTReleaseNoteItem {
1575
+ id: string | number;
1576
+ version: string;
1577
+ title: string;
1578
+ summary?: string;
1579
+ date?: Date | string;
1580
+ newCount?: number;
1581
+ improvementCount?: number;
1582
+ bugFixCount?: number;
1583
+ details?: PTReleaseNoteDetail[];
1584
+ read?: boolean;
1585
+ disabled?: boolean;
1586
+ styleClass?: string;
1587
+ detailsUrl?: string;
1588
+ }
1589
+ interface PTReleaseNoteClickEvent {
1590
+ release: PTReleaseNoteItem;
1591
+ }
1592
+ interface PTReleaseNoteLoadMoreEvent {
1593
+ page: number;
1594
+ size: number;
1595
+ first: number;
1596
+ }
1597
+ interface PTReleaseNotesPageQueryEvent {
1598
+ page: number;
1599
+ size: number;
1600
+ first: number;
1601
+ filter: PTReleaseNotesPageFilter;
1602
+ search: string;
1603
+ }
1604
+ interface PTReleaseNotesConfig {
1605
+ visible?: boolean;
1606
+ language?: PTReleaseNotesLanguage;
1607
+ title?: string;
1608
+ emptyText?: string;
1609
+ icon?: string;
1610
+ badgeLimit?: number;
1611
+ width?: string;
1612
+ maxHeight?: string;
1613
+ showBadge?: boolean;
1614
+ showHeaderCount?: boolean;
1615
+ closePanelOnReleaseClick?: boolean;
1616
+ showViewAll?: boolean;
1617
+ viewAllText?: string;
1618
+ viewAllIcon?: string;
1619
+ detailsText?: string;
1620
+ newLabel?: string;
1621
+ improvementLabel?: string;
1622
+ bugFixLabel?: string;
1623
+ infiniteScroll?: boolean;
1624
+ infiniteScrollThreshold?: number;
1625
+ loadingText?: string;
1626
+ showDetailsText?: string;
1627
+ hideDetailsText?: string;
1628
+ }
1629
+
1559
1630
  declare class PTButtonComponent implements OnInit, AfterViewInit, OnChanges {
1560
1631
  private renderer;
1561
1632
  private el;
@@ -2364,6 +2435,12 @@ declare class PTNavbarMenuComponent implements OnInit, OnDestroy, OnChanges {
2364
2435
  notificationPage: number;
2365
2436
  notificationRows: number;
2366
2437
  notificationLoading: boolean;
2438
+ releaseNotes: PTReleaseNoteItem[];
2439
+ releaseNotesConfig: PTReleaseNotesConfig;
2440
+ releaseNotesLoading: boolean;
2441
+ releaseNotesHasMore: boolean;
2442
+ releaseNotesPageSize: number;
2443
+ releaseNotesTotalUnreadRecords?: number;
2367
2444
  toggleSidebar: EventEmitter<void>;
2368
2445
  notificationAction: EventEmitter<PTNotificationActionEvent>;
2369
2446
  notificationClick: EventEmitter<PTNotificationClickEvent>;
@@ -2372,6 +2449,9 @@ declare class PTNavbarMenuComponent implements OnInit, OnDestroy, OnChanges {
2372
2449
  notificationGlobalAction: EventEmitter<PTNotificationGlobalActionEvent>;
2373
2450
  notificationViewAll: EventEmitter<void>;
2374
2451
  notificationLoadMore: EventEmitter<PTNotificationLoadMoreEvent>;
2452
+ releaseNoteClick: EventEmitter<PTReleaseNoteClickEvent>;
2453
+ releaseNotesViewAll: EventEmitter<void>;
2454
+ releaseNotesLoadMore: EventEmitter<PTReleaseNoteLoadMoreEvent>;
2375
2455
  private readonly destroy$;
2376
2456
  dateTimeText: string;
2377
2457
  isUserMenuOpen: boolean;
@@ -2404,6 +2484,10 @@ declare class PTNavbarMenuComponent implements OnInit, OnDestroy, OnChanges {
2404
2484
  onNotificationPanelOpened(): void;
2405
2485
  onNotificationPanelClosed(): void;
2406
2486
  onNotificationLoadMore(event: PTNotificationLoadMoreEvent): void;
2487
+ hasReleaseNotes(): boolean;
2488
+ onReleaseNoteClick(event: PTReleaseNoteClickEvent): void;
2489
+ onReleaseNotesViewAll(): void;
2490
+ onReleaseNotesLoadMore(event: PTReleaseNoteLoadMoreEvent): void;
2407
2491
  hasDateTime(): boolean;
2408
2492
  isFixedMode(): boolean;
2409
2493
  isServerMode(): boolean;
@@ -2463,7 +2547,7 @@ declare class PTNavbarMenuComponent implements OnInit, OnDestroy, OnChanges {
2463
2547
  [key: string]: string;
2464
2548
  };
2465
2549
  static ɵfac: i0.ɵɵFactoryDeclaration<PTNavbarMenuComponent, never>;
2466
- static ɵcmp: i0.ɵɵComponentDeclaration<PTNavbarMenuComponent, "pt-nav-bar-menu", never, { "navBarMenuConfig": { "alias": "navBarMenuConfig"; "required": false; }; "serverDateTime": { "alias": "serverDateTime"; "required": false; }; "notifications": { "alias": "notifications"; "required": false; }; "notificationConfig": { "alias": "notificationConfig"; "required": false; }; "notificationTotalRecords": { "alias": "notificationTotalRecords"; "required": false; }; "notificationTotalUnreadRecords": { "alias": "notificationTotalUnreadRecords"; "required": false; }; "notificationPage": { "alias": "notificationPage"; "required": false; }; "notificationRows": { "alias": "notificationRows"; "required": false; }; "notificationLoading": { "alias": "notificationLoading"; "required": false; }; }, { "toggleSidebar": "toggleSidebar"; "notificationAction": "notificationAction"; "notificationClick": "notificationClick"; "notificationPanelOpened": "notificationPanelOpened"; "notificationPanelClosed": "notificationPanelClosed"; "notificationGlobalAction": "notificationGlobalAction"; "notificationViewAll": "notificationViewAll"; "notificationLoadMore": "notificationLoadMore"; }, never, never, false, never>;
2550
+ static ɵcmp: i0.ɵɵComponentDeclaration<PTNavbarMenuComponent, "pt-nav-bar-menu", never, { "navBarMenuConfig": { "alias": "navBarMenuConfig"; "required": false; }; "serverDateTime": { "alias": "serverDateTime"; "required": false; }; "notifications": { "alias": "notifications"; "required": false; }; "notificationConfig": { "alias": "notificationConfig"; "required": false; }; "notificationTotalRecords": { "alias": "notificationTotalRecords"; "required": false; }; "notificationTotalUnreadRecords": { "alias": "notificationTotalUnreadRecords"; "required": false; }; "notificationPage": { "alias": "notificationPage"; "required": false; }; "notificationRows": { "alias": "notificationRows"; "required": false; }; "notificationLoading": { "alias": "notificationLoading"; "required": false; }; "releaseNotes": { "alias": "releaseNotes"; "required": false; }; "releaseNotesConfig": { "alias": "releaseNotesConfig"; "required": false; }; "releaseNotesLoading": { "alias": "releaseNotesLoading"; "required": false; }; "releaseNotesHasMore": { "alias": "releaseNotesHasMore"; "required": false; }; "releaseNotesPageSize": { "alias": "releaseNotesPageSize"; "required": false; }; "releaseNotesTotalUnreadRecords": { "alias": "releaseNotesTotalUnreadRecords"; "required": false; }; }, { "toggleSidebar": "toggleSidebar"; "notificationAction": "notificationAction"; "notificationClick": "notificationClick"; "notificationPanelOpened": "notificationPanelOpened"; "notificationPanelClosed": "notificationPanelClosed"; "notificationGlobalAction": "notificationGlobalAction"; "notificationViewAll": "notificationViewAll"; "notificationLoadMore": "notificationLoadMore"; "releaseNoteClick": "releaseNoteClick"; "releaseNotesViewAll": "releaseNotesViewAll"; "releaseNotesLoadMore": "releaseNotesLoadMore"; }, never, never, false, never>;
2467
2551
  }
2468
2552
 
2469
2553
  declare class PTNotificationComponent {
@@ -2588,9 +2672,51 @@ declare class PTNotificationModule {
2588
2672
  static ɵinj: i0.ɵɵInjectorDeclaration<PTNotificationModule>;
2589
2673
  }
2590
2674
 
2675
+ declare class PTReleaseNotesComponent implements OnChanges {
2676
+ releaseNotesPanel?: Popover;
2677
+ releases: PTReleaseNoteItem[];
2678
+ config: PTReleaseNotesConfig;
2679
+ loading: boolean;
2680
+ hasMore: boolean;
2681
+ pageSize: number;
2682
+ totalUnreadRecords?: number;
2683
+ releaseClick: EventEmitter<PTReleaseNoteClickEvent>;
2684
+ viewAll: EventEmitter<void>;
2685
+ loadMore: EventEmitter<PTReleaseNoteLoadMoreEvent>;
2686
+ private currentPage;
2687
+ private loadMoreRequested;
2688
+ ngOnChanges(changes: SimpleChanges): void;
2689
+ get language(): PTReleaseNotesLanguage;
2690
+ get resolvedConfig(): Required<PTReleaseNotesConfig>;
2691
+ get unreadCount(): number;
2692
+ get badgeValue(): string;
2693
+ toggle(event: Event): void;
2694
+ hide(): void;
2695
+ onReleaseClick(release: PTReleaseNoteItem): void;
2696
+ onDetailsClick(event: Event, release: PTReleaseNoteItem): void;
2697
+ onViewAll(): void;
2698
+ onScroll(event: Event): void;
2699
+ getNewCount(release: PTReleaseNoteItem): number;
2700
+ getImprovementCount(release: PTReleaseNoteItem): number;
2701
+ getBugFixCount(release: PTReleaseNoteItem): number;
2702
+ getTotalChangesCount(release: PTReleaseNoteItem): number;
2703
+ hasCounters(release: PTReleaseNoteItem): boolean;
2704
+ hasDetails(release: PTReleaseNoteItem): boolean;
2705
+ trackByReleaseId(index: number, release: PTReleaseNoteItem): string | number;
2706
+ private navigateToUrl;
2707
+ static ɵfac: i0.ɵɵFactoryDeclaration<PTReleaseNotesComponent, never>;
2708
+ static ɵcmp: i0.ɵɵComponentDeclaration<PTReleaseNotesComponent, "pt-release-notes", never, { "releases": { "alias": "releases"; "required": false; }; "config": { "alias": "config"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "hasMore": { "alias": "hasMore"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "totalUnreadRecords": { "alias": "totalUnreadRecords"; "required": false; }; }, { "releaseClick": "releaseClick"; "viewAll": "viewAll"; "loadMore": "loadMore"; }, never, never, false, never>;
2709
+ }
2710
+
2711
+ declare class PTReleaseNotesModule {
2712
+ static ɵfac: i0.ɵɵFactoryDeclaration<PTReleaseNotesModule, never>;
2713
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PTReleaseNotesModule, [typeof PTReleaseNotesComponent], [typeof i2.CommonModule, typeof i3$2.PopoverModule], [typeof PTReleaseNotesComponent]>;
2714
+ static ɵinj: i0.ɵɵInjectorDeclaration<PTReleaseNotesModule>;
2715
+ }
2716
+
2591
2717
  declare class PTNavbarMenuModule {
2592
2718
  static ɵfac: i0.ɵɵFactoryDeclaration<PTNavbarMenuModule, never>;
2593
- static ɵmod: i0.ɵɵNgModuleDeclaration<PTNavbarMenuModule, [typeof PTNavbarMenuComponent], [typeof i2.CommonModule, typeof i3$2.RouterModule, typeof PTMenuFancyModule, typeof PTNotificationModule], [typeof PTNavbarMenuComponent]>;
2719
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PTNavbarMenuModule, [typeof PTNavbarMenuComponent], [typeof i2.CommonModule, typeof i3$3.RouterModule, typeof PTMenuFancyModule, typeof PTNotificationModule, typeof PTReleaseNotesModule], [typeof PTNavbarMenuComponent]>;
2594
2720
  static ɵinj: i0.ɵɵInjectorDeclaration<PTNavbarMenuModule>;
2595
2721
  }
2596
2722
 
@@ -2642,7 +2768,7 @@ declare class PTSideBarMenuComponent implements OnInit, AfterViewInit {
2642
2768
 
2643
2769
  declare class PTSideBarMenuModule {
2644
2770
  static ɵfac: i0.ɵɵFactoryDeclaration<PTSideBarMenuModule, never>;
2645
- static ɵmod: i0.ɵɵNgModuleDeclaration<PTSideBarMenuModule, [typeof PTSideBarMenuComponent], [typeof i2.CommonModule, typeof i3$2.RouterModule, typeof PTCardModule, typeof PTTextInputModule], [typeof PTSideBarMenuComponent]>;
2771
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PTSideBarMenuModule, [typeof PTSideBarMenuComponent], [typeof i2.CommonModule, typeof i3$3.RouterModule, typeof PTCardModule, typeof PTTextInputModule], [typeof PTSideBarMenuComponent]>;
2646
2772
  static ɵinj: i0.ɵɵInjectorDeclaration<PTSideBarMenuModule>;
2647
2773
  }
2648
2774
 
@@ -2659,6 +2785,12 @@ declare class PTPageSkeletonComponent implements OnInit {
2659
2785
  notificationPage: number;
2660
2786
  notificationRows: number;
2661
2787
  notificationLoading: boolean;
2788
+ releaseNotes: PTReleaseNoteItem[];
2789
+ releaseNotesConfig: PTReleaseNotesConfig;
2790
+ releaseNotesLoading: boolean;
2791
+ releaseNotesHasMore: boolean;
2792
+ releaseNotesPageSize: number;
2793
+ releaseNotesTotalUnreadRecords?: number;
2662
2794
  toggleSidebar: EventEmitter<void>;
2663
2795
  notificationAction: EventEmitter<PTNotificationActionEvent>;
2664
2796
  notificationClick: EventEmitter<PTNotificationClickEvent>;
@@ -2667,6 +2799,9 @@ declare class PTPageSkeletonComponent implements OnInit {
2667
2799
  notificationGlobalAction: EventEmitter<PTNotificationGlobalActionEvent>;
2668
2800
  notificationViewAll: EventEmitter<void>;
2669
2801
  notificationLoadMore: EventEmitter<PTNotificationLoadMoreEvent>;
2802
+ releaseNoteClick: EventEmitter<PTReleaseNoteClickEvent>;
2803
+ releaseNotesViewAll: EventEmitter<void>;
2804
+ releaseNotesLoadMore: EventEmitter<PTReleaseNoteLoadMoreEvent>;
2670
2805
  isSidebarVisible: boolean;
2671
2806
  ngOnInit(): void;
2672
2807
  onToggleSidebar(): void;
@@ -2677,10 +2812,13 @@ declare class PTPageSkeletonComponent implements OnInit {
2677
2812
  onNotificationPanelOpened(): void;
2678
2813
  onNotificationPanelClosed(): void;
2679
2814
  onNotificationLoadMore(event: PTNotificationLoadMoreEvent): void;
2815
+ onReleaseNoteClick(event: PTReleaseNoteClickEvent): void;
2816
+ onReleaseNotesViewAll(): void;
2817
+ onReleaseNotesLoadMore(event: PTReleaseNoteLoadMoreEvent): void;
2680
2818
  private initializeBackgroundCardConfig;
2681
2819
  private initializeContentCardConfig;
2682
2820
  static ɵfac: i0.ɵɵFactoryDeclaration<PTPageSkeletonComponent, never>;
2683
- static ɵcmp: i0.ɵɵComponentDeclaration<PTPageSkeletonComponent, "pt-page-skeleton", never, { "pageSkeletonConfig": { "alias": "pageSkeletonConfig"; "required": false; }; "serverDateTime": { "alias": "serverDateTime"; "required": false; }; "notifications": { "alias": "notifications"; "required": false; }; "notificationConfig": { "alias": "notificationConfig"; "required": false; }; "notificationTotalRecords": { "alias": "notificationTotalRecords"; "required": false; }; "notificationTotalUnreadRecords": { "alias": "notificationTotalUnreadRecords"; "required": false; }; "notificationPage": { "alias": "notificationPage"; "required": false; }; "notificationRows": { "alias": "notificationRows"; "required": false; }; "notificationLoading": { "alias": "notificationLoading"; "required": false; }; }, { "toggleSidebar": "toggleSidebar"; "notificationAction": "notificationAction"; "notificationClick": "notificationClick"; "notificationPanelOpened": "notificationPanelOpened"; "notificationPanelClosed": "notificationPanelClosed"; "notificationGlobalAction": "notificationGlobalAction"; "notificationViewAll": "notificationViewAll"; "notificationLoadMore": "notificationLoadMore"; }, never, never, false, never>;
2821
+ static ɵcmp: i0.ɵɵComponentDeclaration<PTPageSkeletonComponent, "pt-page-skeleton", never, { "pageSkeletonConfig": { "alias": "pageSkeletonConfig"; "required": false; }; "serverDateTime": { "alias": "serverDateTime"; "required": false; }; "notifications": { "alias": "notifications"; "required": false; }; "notificationConfig": { "alias": "notificationConfig"; "required": false; }; "notificationTotalRecords": { "alias": "notificationTotalRecords"; "required": false; }; "notificationTotalUnreadRecords": { "alias": "notificationTotalUnreadRecords"; "required": false; }; "notificationPage": { "alias": "notificationPage"; "required": false; }; "notificationRows": { "alias": "notificationRows"; "required": false; }; "notificationLoading": { "alias": "notificationLoading"; "required": false; }; "releaseNotes": { "alias": "releaseNotes"; "required": false; }; "releaseNotesConfig": { "alias": "releaseNotesConfig"; "required": false; }; "releaseNotesLoading": { "alias": "releaseNotesLoading"; "required": false; }; "releaseNotesHasMore": { "alias": "releaseNotesHasMore"; "required": false; }; "releaseNotesPageSize": { "alias": "releaseNotesPageSize"; "required": false; }; "releaseNotesTotalUnreadRecords": { "alias": "releaseNotesTotalUnreadRecords"; "required": false; }; }, { "toggleSidebar": "toggleSidebar"; "notificationAction": "notificationAction"; "notificationClick": "notificationClick"; "notificationPanelOpened": "notificationPanelOpened"; "notificationPanelClosed": "notificationPanelClosed"; "notificationGlobalAction": "notificationGlobalAction"; "notificationViewAll": "notificationViewAll"; "notificationLoadMore": "notificationLoadMore"; "releaseNoteClick": "releaseNoteClick"; "releaseNotesViewAll": "releaseNotesViewAll"; "releaseNotesLoadMore": "releaseNotesLoadMore"; }, never, never, false, never>;
2684
2822
  }
2685
2823
 
2686
2824
  declare class PTFooterComponent {
@@ -2732,13 +2870,13 @@ declare class PTBreadCrumbComponent implements OnInit, OnDestroy, AfterViewInit
2732
2870
 
2733
2871
  declare class PTBreadCrumbModule {
2734
2872
  static ɵfac: i0.ɵɵFactoryDeclaration<PTBreadCrumbModule, never>;
2735
- static ɵmod: i0.ɵɵNgModuleDeclaration<PTBreadCrumbModule, [typeof PTBreadCrumbComponent], [typeof i2.CommonModule, typeof i3$3.BreadcrumbModule], [typeof PTBreadCrumbComponent]>;
2873
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PTBreadCrumbModule, [typeof PTBreadCrumbComponent], [typeof i2.CommonModule, typeof i3$4.BreadcrumbModule], [typeof PTBreadCrumbComponent]>;
2736
2874
  static ɵinj: i0.ɵɵInjectorDeclaration<PTBreadCrumbModule>;
2737
2875
  }
2738
2876
 
2739
2877
  declare class PTPageSkeletonModule {
2740
2878
  static ɵfac: i0.ɵɵFactoryDeclaration<PTPageSkeletonModule, never>;
2741
- static ɵmod: i0.ɵɵNgModuleDeclaration<PTPageSkeletonModule, [typeof PTPageSkeletonComponent], [typeof i2.CommonModule, typeof PTNavbarMenuModule, typeof PTCardModule, typeof PTSideBarMenuModule, typeof i3$2.RouterModule, typeof PTFooterModule, typeof PTBreadCrumbModule], [typeof PTPageSkeletonComponent]>;
2879
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PTPageSkeletonModule, [typeof PTPageSkeletonComponent], [typeof i2.CommonModule, typeof PTNavbarMenuModule, typeof PTCardModule, typeof PTSideBarMenuModule, typeof i3$3.RouterModule, typeof PTFooterModule, typeof PTBreadCrumbModule], [typeof PTPageSkeletonComponent]>;
2742
2880
  static ɵinj: i0.ɵɵInjectorDeclaration<PTPageSkeletonModule>;
2743
2881
  }
2744
2882
 
@@ -2876,7 +3014,7 @@ declare class PTConfirmDialogComponent implements OnChanges, AfterContentInit {
2876
3014
 
2877
3015
  declare class PTConfirmDialogModule {
2878
3016
  static ɵfac: i0.ɵɵFactoryDeclaration<PTConfirmDialogModule, never>;
2879
- static ɵmod: i0.ɵɵNgModuleDeclaration<PTConfirmDialogModule, [typeof PTConfirmDialogComponent], [typeof i2.CommonModule, typeof i3$4.ConfirmDialogModule, typeof PTButtonModule], [typeof PTConfirmDialogComponent]>;
3017
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PTConfirmDialogModule, [typeof PTConfirmDialogComponent], [typeof i2.CommonModule, typeof i3$5.ConfirmDialogModule, typeof PTButtonModule], [typeof PTConfirmDialogComponent]>;
2880
3018
  static ɵinj: i0.ɵɵInjectorDeclaration<PTConfirmDialogModule>;
2881
3019
  }
2882
3020
 
@@ -2891,7 +3029,7 @@ declare class PTToastNotifierComponent {
2891
3029
 
2892
3030
  declare class PTToastNotifierModule {
2893
3031
  static ɵfac: i0.ɵɵFactoryDeclaration<PTToastNotifierModule, never>;
2894
- static ɵmod: i0.ɵɵNgModuleDeclaration<PTToastNotifierModule, [typeof PTToastNotifierComponent], [typeof i2.CommonModule, typeof i3$5.ToastModule], [typeof PTToastNotifierComponent]>;
3032
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PTToastNotifierModule, [typeof PTToastNotifierComponent], [typeof i2.CommonModule, typeof i3$6.ToastModule], [typeof PTToastNotifierComponent]>;
2895
3033
  static ɵinj: i0.ɵɵInjectorDeclaration<PTToastNotifierModule>;
2896
3034
  }
2897
3035
 
@@ -3015,7 +3153,7 @@ declare class PTDialogComponent {
3015
3153
 
3016
3154
  declare class PTDialogModule {
3017
3155
  static ɵfac: i0.ɵɵFactoryDeclaration<PTDialogModule, never>;
3018
- static ɵmod: i0.ɵɵNgModuleDeclaration<PTDialogModule, [typeof PTDialogComponent], [typeof i2.CommonModule, typeof i3$6.DialogModule], [typeof PTDialogComponent]>;
3156
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PTDialogModule, [typeof PTDialogComponent], [typeof i2.CommonModule, typeof i3$7.DialogModule], [typeof PTDialogComponent]>;
3019
3157
  static ɵinj: i0.ɵɵInjectorDeclaration<PTDialogModule>;
3020
3158
  }
3021
3159
 
@@ -3460,10 +3598,115 @@ declare class PTNotificationsPageComponent implements OnChanges, OnDestroy {
3460
3598
 
3461
3599
  declare class PTNotificationsPageModule {
3462
3600
  static ɵfac: i0.ɵɵFactoryDeclaration<PTNotificationsPageModule, never>;
3463
- static ɵmod: i0.ɵɵNgModuleDeclaration<PTNotificationsPageModule, [typeof PTNotificationsPageComponent], [typeof i2.CommonModule, typeof i3$7.PaginatorModule], [typeof PTNotificationsPageComponent]>;
3601
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PTNotificationsPageModule, [typeof PTNotificationsPageComponent], [typeof i2.CommonModule, typeof i3$8.PaginatorModule], [typeof PTNotificationsPageComponent]>;
3464
3602
  static ɵinj: i0.ɵɵInjectorDeclaration<PTNotificationsPageModule>;
3465
3603
  }
3466
3604
 
3605
+ declare class PTReleaseNotesPageComponent implements OnDestroy {
3606
+ /**
3607
+ * Current server page only.
3608
+ */
3609
+ releases: PTReleaseNoteItem[];
3610
+ /**
3611
+ * Loading state of the current request.
3612
+ */
3613
+ loading: boolean;
3614
+ /**
3615
+ * Number of records matching:
3616
+ *
3617
+ * search + selected filter
3618
+ *
3619
+ * Used by paginator.
3620
+ */
3621
+ totalRecords: number;
3622
+ /**
3623
+ * Number of all releases matching the search
3624
+ * before applying ALL / UNREAD / READ.
3625
+ */
3626
+ totalAllRecords: number;
3627
+ /**
3628
+ * Number of unread releases matching the search.
3629
+ */
3630
+ totalUnreadRecords?: number;
3631
+ /**
3632
+ * Number of read releases matching the search.
3633
+ */
3634
+ totalReadRecords?: number;
3635
+ /**
3636
+ * Current zero-based page.
3637
+ */
3638
+ page: number;
3639
+ /**
3640
+ * Current server page size.
3641
+ */
3642
+ rows: number;
3643
+ config: PTReleaseNotesConfig;
3644
+ queryChange: EventEmitter<PTReleaseNotesPageQueryEvent>;
3645
+ searchText: string;
3646
+ selectedFilter: PTReleaseNotesPageFilter;
3647
+ private readonly destroy$;
3648
+ private readonly searchSubject;
3649
+ private readonly expandedReleaseIds;
3650
+ constructor();
3651
+ ngOnDestroy(): void;
3652
+ get language(): PTReleaseNotesLanguage;
3653
+ get resolvedConfig(): Required<PTReleaseNotesConfig>;
3654
+ getReleases(): PTReleaseNoteItem[];
3655
+ getDisplayedReleases(): PTReleaseNoteItem[];
3656
+ hasReleases(): boolean;
3657
+ getTitle(): string;
3658
+ getSubtitle(): string;
3659
+ getTotalCount(): number;
3660
+ getUnreadCount(): number;
3661
+ getReadCount(): number;
3662
+ showCounters(): boolean;
3663
+ showPagination(): boolean;
3664
+ getAllLabel(): string;
3665
+ getUnreadLabel(): string;
3666
+ getReadLabel(): string;
3667
+ getSearchPlaceholder(): string;
3668
+ getEmptyText(): string;
3669
+ getNoSearchResultText(): string;
3670
+ getEmptyIcon(): string;
3671
+ getRowsPerPageOptions(): number[];
3672
+ showCurrentPageReport(): boolean;
3673
+ getCurrentPageReportTemplate(): string;
3674
+ getFirst(): number;
3675
+ hasSearch(): boolean;
3676
+ selectFilter(filter: PTReleaseNotesPageFilter): void;
3677
+ isFilterSelected(filter: PTReleaseNotesPageFilter): boolean;
3678
+ onSearch(value: string): void;
3679
+ clearSearch(): void;
3680
+ onPageChange(event: PaginatorState): void;
3681
+ getReleaseClasses(release: PTReleaseNoteItem): string;
3682
+ getNewCount(release: PTReleaseNoteItem): number;
3683
+ getImprovementCount(release: PTReleaseNoteItem): number;
3684
+ getBugFixCount(release: PTReleaseNoteItem): number;
3685
+ getTotalChangesCount(release: PTReleaseNoteItem): number;
3686
+ hasCounters(release: PTReleaseNoteItem): boolean;
3687
+ hasNewItems(release: PTReleaseNoteItem): boolean;
3688
+ hasImprovements(release: PTReleaseNoteItem): boolean;
3689
+ hasBugFixes(release: PTReleaseNoteItem): boolean;
3690
+ hasDetails(release: PTReleaseNoteItem): boolean;
3691
+ getDetails(release: PTReleaseNoteItem): PTReleaseNoteDetail[];
3692
+ isDetailsExpanded(release: PTReleaseNoteItem): boolean;
3693
+ toggleDetails(release: PTReleaseNoteItem): void;
3694
+ getDetailsButtonText(release: PTReleaseNoteItem): string;
3695
+ getDetailIcon(detail: PTReleaseNoteDetail): string;
3696
+ getDetailTypeLabel(detail: PTReleaseNoteDetail): string;
3697
+ getDetailClass(detail: PTReleaseNoteDetail): string;
3698
+ onDetailClick(detail: PTReleaseNoteDetail, event: Event): void;
3699
+ private emitQueryChange;
3700
+ static ɵfac: i0.ɵɵFactoryDeclaration<PTReleaseNotesPageComponent, never>;
3701
+ static ɵcmp: i0.ɵɵComponentDeclaration<PTReleaseNotesPageComponent, "pt-release-notes-page", never, { "releases": { "alias": "releases"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "totalAllRecords": { "alias": "totalAllRecords"; "required": false; }; "totalUnreadRecords": { "alias": "totalUnreadRecords"; "required": false; }; "totalReadRecords": { "alias": "totalReadRecords"; "required": false; }; "page": { "alias": "page"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "config": { "alias": "config"; "required": false; }; }, { "queryChange": "queryChange"; }, never, never, false, never>;
3702
+ }
3703
+
3704
+ declare class PTReleaseNotesPageModule {
3705
+ static ɵfac: i0.ɵɵFactoryDeclaration<PTReleaseNotesPageModule, never>;
3706
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PTReleaseNotesPageModule, [typeof PTReleaseNotesPageComponent], [typeof i2.CommonModule, typeof i3$8.PaginatorModule], [typeof PTReleaseNotesPageComponent]>;
3707
+ static ɵinj: i0.ɵɵInjectorDeclaration<PTReleaseNotesPageModule>;
3708
+ }
3709
+
3467
3710
  declare class PTGroupComponent {
3468
3711
  gap: string;
3469
3712
  justify: 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around';
@@ -3481,6 +3724,6 @@ declare class PTGroupModule {
3481
3724
  static ɵinj: i0.ɵɵInjectorDeclaration<PTGroupModule>;
3482
3725
  }
3483
3726
 
3484
- export { AlignEnum, BadgeType, BadgeTypeStyles, ButtonColorEnum, DateUtilityService, FormInputTypeEnum, InputValidationEnum, MultiSearchCriteriaComponent, MultiSearchCriteriaModule, NgPrimeToolsModule, PTAccordionComponent, PTAccordionModule, PTAccordionPanelDirective, PTAdvancedPrimeTableComponent, PTAdvancedPrimeTableModule, PTBreadCrumbComponent, PTBreadCrumbModule, PTButtonComponent, PTButtonModule, PTCardComponent, PTCardModule, PTChangePasswordPageComponent, PTChangePasswordPageModule, PTChartComparisonComponent, PTChartComparisonModule, PTChartComponent, PTChartModule, PTCheckBoxInputComponent, PTCheckBoxInputModule, PTConfirmDialogComponent, PTConfirmDialogModule, PTDateInputComponent, PTDateInputModule, PTDialogComponent, PTDialogModule, PTDropdownComponent, PTDropdownModule, PTFooterComponent, PTFooterModule, PTFormBuilderComponent, PTFormBuilderModule, PTGroupComponent, PTGroupModule, PTLineChartComponent, PTLineChartModule, PTLoginPageComponent, PTLoginPageModule, PTMenuComponent, PTMenuFancyComponent, PTMenuFancyModule, PTMenuModule, PTMetricCardComponent, PTMetricCardGroupComponent, PTMetricCardGroupModule, PTMetricCardModule, PTMetricPanelComponent, PTMetricPanelModule, PTMultiSelectComponent, PTMultiSelectModule, PTNavbarMenuComponent, PTNavbarMenuModule, PTNewsTickerComponent, PTNewsTickerDirection, PTNewsTickerModule, PTNewsTickerTrend, PTNewsTickerType, PTNotificationComponent, PTNotificationModule, PTNotificationsPageComponent, PTNotificationsPageModule, PTNumberInputComponent, PTNumberInputModule, PTOtpInputComponent, PTOtpInputModule, PTOtpPageComponent, PTOtpPageModule, PTPageSkeletonComponent, PTPageSkeletonModule, PTPasswordInputComponent, PTPasswordInputModule, PTSideBarMenuComponent, PTSideBarMenuModule, PTSwitchInputComponent, PTSwitchInputModule, PTTextAreaInputComponent, PTTextAreaInputModule, PTTextInputComponent, PTTextInputModule, PTToastNotifierComponent, PTToastNotifierModule, SearchCriteriaTypeEnum, SeverityEnum, TableTypeEnum };
3485
- export type { Appearance, AxisChartConfig, AxisChartData, Badge, BreadCrumbConfig, ButtonModel, CardConfig, ChangePasswordModel, ChangePasswordPageConfig, ChartConfig, Dataset, DateFormat, DateFormatType, DateTimePosition, DateTimeSource, DialogPosition, Divider, FilterOption, FooterConfig, FooterModel, ForgotPasswordConfig, FormButton, FormCheckBoxField, FormDateField, FormDropdownField, FormField, FormFieldGroup, FormMultiSelectField, FormNumberField, FormSwitchField, FormTextAreaField, FormTextField, IconImageStyle, IconStyle, ImageStyle, LabelSetting, LoginAdditionalContent, LoginAdditionalContentAlign, LoginAdditionalContentLinkPosition, LoginAdditionalContentType, LoginModel, LoginPageConfig, Menu, MenuConfig, MenuItem, MetricCardData, MetricIndicateurData, MetricPanelData, NavBarDateTimeConfig, NavBarMenuConfig, NavBarUserAvatarMode, NavBarUserConfig, NavBarUserMenuItem, NavBarUserMenuItemSeverity, NavBarUserProfilePosition, OtpPageConfig, OtpPagePosition, PTAccordionActiveValue, PTAccordionConfig, PTAccordionPanelConfig, PTAccordionPanelTemplateContext, PTAccordionTagConfig, PTAccordionValue, PTConfirmDialogConfig, PTDateInputConfig, PTDialogConfig, PTDropdownConfig, PTMultiSelectConfig, PTNewsTickerChangeEvent, PTNewsTickerItem, PTNewsTickerPlayStateChangeEvent, PTNewsTickerSegment, PTNewsTickerSpeedChangeEvent, PTNewsTickerTarget, PTNotificationActionEvent, PTNotificationClickEvent, PTNotificationConfig, PTNotificationGlobalActionEvent, PTNotificationItem, PTNotificationLoadMoreEvent, PTNotificationMenuAction, PTNotificationsPageConfig, PTNotificationsPageFilter, PTNotificationsPageQueryEvent, PTSwitchConfig, PTTableActionConfig, PTTableLazyLoadEvent, PTTableRowOrderItem, PTTableRowReorderEvent, PageSkeletonConfig, PasswordPolicyRuleModel, PasswordStrengthSeverity, Pattern, SearchCriteria, SideMenuBarConfig, Size, TableColumn, TextStyle, TimeFormat, TitleStyle, ToastMessage, ValueSetting, VerticalLine };
3727
+ export { AlignEnum, BadgeType, BadgeTypeStyles, ButtonColorEnum, DateUtilityService, FormInputTypeEnum, InputValidationEnum, MultiSearchCriteriaComponent, MultiSearchCriteriaModule, NgPrimeToolsModule, PTAccordionComponent, PTAccordionModule, PTAccordionPanelDirective, PTAdvancedPrimeTableComponent, PTAdvancedPrimeTableModule, PTBreadCrumbComponent, PTBreadCrumbModule, PTButtonComponent, PTButtonModule, PTCardComponent, PTCardModule, PTChangePasswordPageComponent, PTChangePasswordPageModule, PTChartComparisonComponent, PTChartComparisonModule, PTChartComponent, PTChartModule, PTCheckBoxInputComponent, PTCheckBoxInputModule, PTConfirmDialogComponent, PTConfirmDialogModule, PTDateInputComponent, PTDateInputModule, PTDialogComponent, PTDialogModule, PTDropdownComponent, PTDropdownModule, PTFooterComponent, PTFooterModule, PTFormBuilderComponent, PTFormBuilderModule, PTGroupComponent, PTGroupModule, PTLineChartComponent, PTLineChartModule, PTLoginPageComponent, PTLoginPageModule, PTMenuComponent, PTMenuFancyComponent, PTMenuFancyModule, PTMenuModule, PTMetricCardComponent, PTMetricCardGroupComponent, PTMetricCardGroupModule, PTMetricCardModule, PTMetricPanelComponent, PTMetricPanelModule, PTMultiSelectComponent, PTMultiSelectModule, PTNavbarMenuComponent, PTNavbarMenuModule, PTNewsTickerComponent, PTNewsTickerDirection, PTNewsTickerModule, PTNewsTickerTrend, PTNewsTickerType, PTNotificationComponent, PTNotificationModule, PTNotificationsPageComponent, PTNotificationsPageModule, PTNumberInputComponent, PTNumberInputModule, PTOtpInputComponent, PTOtpInputModule, PTOtpPageComponent, PTOtpPageModule, PTPageSkeletonComponent, PTPageSkeletonModule, PTPasswordInputComponent, PTPasswordInputModule, PTReleaseNotesComponent, PTReleaseNotesModule, PTReleaseNotesPageComponent, PTReleaseNotesPageModule, PTSideBarMenuComponent, PTSideBarMenuModule, PTSwitchInputComponent, PTSwitchInputModule, PTTextAreaInputComponent, PTTextAreaInputModule, PTTextInputComponent, PTTextInputModule, PTToastNotifierComponent, PTToastNotifierModule, SearchCriteriaTypeEnum, SeverityEnum, TableTypeEnum };
3728
+ export type { Appearance, AxisChartConfig, AxisChartData, Badge, BreadCrumbConfig, ButtonModel, CardConfig, ChangePasswordModel, ChangePasswordPageConfig, ChartConfig, Dataset, DateFormat, DateFormatType, DateTimePosition, DateTimeSource, DialogPosition, Divider, FilterOption, FooterConfig, FooterModel, ForgotPasswordConfig, FormButton, FormCheckBoxField, FormDateField, FormDropdownField, FormField, FormFieldGroup, FormMultiSelectField, FormNumberField, FormSwitchField, FormTextAreaField, FormTextField, IconImageStyle, IconStyle, ImageStyle, LabelSetting, LoginAdditionalContent, LoginAdditionalContentAlign, LoginAdditionalContentLinkPosition, LoginAdditionalContentType, LoginModel, LoginPageConfig, Menu, MenuConfig, MenuItem, MetricCardData, MetricIndicateurData, MetricPanelData, NavBarDateTimeConfig, NavBarMenuConfig, NavBarUserAvatarMode, NavBarUserConfig, NavBarUserMenuItem, NavBarUserMenuItemSeverity, NavBarUserProfilePosition, OtpPageConfig, OtpPagePosition, PTAccordionActiveValue, PTAccordionConfig, PTAccordionPanelConfig, PTAccordionPanelTemplateContext, PTAccordionTagConfig, PTAccordionValue, PTConfirmDialogConfig, PTDateInputConfig, PTDialogConfig, PTDropdownConfig, PTMultiSelectConfig, PTNewsTickerChangeEvent, PTNewsTickerItem, PTNewsTickerPlayStateChangeEvent, PTNewsTickerSegment, PTNewsTickerSpeedChangeEvent, PTNewsTickerTarget, PTNotificationActionEvent, PTNotificationClickEvent, PTNotificationConfig, PTNotificationGlobalActionEvent, PTNotificationItem, PTNotificationLoadMoreEvent, PTNotificationMenuAction, PTNotificationsPageConfig, PTNotificationsPageFilter, PTNotificationsPageQueryEvent, PTReleaseNoteClickEvent, PTReleaseNoteDetail, PTReleaseNoteDetailType, PTReleaseNoteItem, PTReleaseNoteLoadMoreEvent, PTReleaseNotesConfig, PTReleaseNotesLanguage, PTReleaseNotesPageFilter, PTReleaseNotesPageQueryEvent, PTSwitchConfig, PTTableActionConfig, PTTableLazyLoadEvent, PTTableRowOrderItem, PTTableRowReorderEvent, PageSkeletonConfig, PasswordPolicyRuleModel, PasswordStrengthSeverity, Pattern, SearchCriteria, SideMenuBarConfig, Size, TableColumn, TextStyle, TimeFormat, TitleStyle, ToastMessage, ValueSetting, VerticalLine };
3486
3729
  //# sourceMappingURL=ng-prime-tools.d.ts.map