@haloduck/ui 2.0.31 → 2.0.33

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
@@ -624,7 +624,9 @@ interface TabItem {
624
624
  component: Type<any>;
625
625
  inputs?: Record<string, any>;
626
626
  }
627
- declare class TabsComponent implements OnChanges, AfterViewInit {
627
+ declare class TabsComponent implements OnChanges, AfterViewInit, OnInit {
628
+ private readonly translateService;
629
+ private readonly cdr;
628
630
  tabs: TabItem[];
629
631
  selectedIndex: number;
630
632
  layout: 'horizontal' | 'vertical';
@@ -636,6 +638,7 @@ declare class TabsComponent implements OnChanges, AfterViewInit {
636
638
  get current(): TabItem | null;
637
639
  select(index: number): void;
638
640
  private ensureSelectedInRange;
641
+ ngOnInit(): void;
639
642
  static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, never>;
640
643
  static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "haloduck-tabs", never, { "tabs": { "alias": "tabs"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "labelWidth": { "alias": "labelWidth"; "required": false; }; }, { "selectedIndexChange": "selectedIndexChange"; }, never, ["[slot=label]"], true, never>;
641
644
  }
@@ -718,7 +721,6 @@ declare class AutoLoadDirective implements OnInit, OnDestroy {
718
721
  private readonly ngZone;
719
722
  private observer?;
720
723
  private isLoading;
721
- private hasTriggeredOnce;
722
724
  autoLoadEnabled: boolean;
723
725
  autoLoadThreshold: number;
724
726
  autoLoadRootMargin: string;
@@ -778,13 +780,14 @@ interface Notification {
778
780
  id: string;
779
781
  type: NotificationType;
780
782
  message: string;
781
- timeOut?: number;
783
+ timeout?: number;
784
+ timeoutRef?: number;
782
785
  }
783
786
  declare class NotificationService {
784
787
  private listNotification$;
785
788
  private listNotification;
786
- showNotification(title: string, body: string, payload?: any, timeout?: number): void;
787
- _showNotification(type: NotificationType, message: string, timeOut?: number): string;
789
+ showNotification(title: string, body: string, timeout?: number, payload?: any): void;
790
+ _showNotification(type: NotificationType, message: string, timeout?: number): string;
788
791
  getListNotification(): Observable<Notification[]>;
789
792
  removeNotificationById(id: string): void;
790
793
  constructor();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haloduck/ui",
3
- "version": "2.0.31",
3
+ "version": "2.0.33",
4
4
  "description": "HaloDuck UI Library - Angular",
5
5
  "keywords": [
6
6
  "angular",