@osovitny/anatoly 3.20.39 → 3.20.41

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
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
2
2
  import { OnInit, EventEmitter, OnDestroy, PipeTransform, Injector, ErrorHandler, NgZone, OnChanges, AfterViewInit, ElementRef, ChangeDetectorRef, SimpleChanges, Renderer2 } from '@angular/core';
3
3
  import { HttpClient, HttpInterceptor, HttpRequest, HttpHandler, HttpEvent } from '@angular/common/http';
4
4
  import * as rxjs from 'rxjs';
5
- import { Observable, BehaviorSubject, Subject, Subscription } from 'rxjs';
5
+ import { Observable, Subscription, BehaviorSubject, Subject } from 'rxjs';
6
6
  import * as i3 from 'ngx-toastr';
7
7
  import { ToastrService } from 'ngx-toastr';
8
8
  import * as i11 from '@progress/kendo-angular-dialog';
@@ -318,13 +318,23 @@ declare enum ModerationStatus {
318
318
  Rejected = 4
319
319
  }
320
320
 
321
- declare class GoServiceBase {
321
+ declare class Subs {
322
+ private subs;
323
+ constructor();
324
+ add(...subscriptions: Subscription[]): void;
325
+ set sink(subscription: Subscription);
326
+ unsubscribe(): void;
327
+ }
328
+
329
+ declare class GoServiceBase implements OnDestroy {
322
330
  protected route: ActivatedRoute;
323
331
  protected router: Router;
324
332
  private initialized;
333
+ protected subs: Subs;
325
334
  protected isDevMode: boolean;
326
335
  protected currentApp: ICurrentApp;
327
336
  constructor(route: ActivatedRoute, router: Router);
337
+ ngOnDestroy(): void;
328
338
  private ensureInitialized;
329
339
  navigate(commands: any[], extras?: NavigationExtras, reload?: boolean): void;
330
340
  getHomeUrl(): string;
@@ -750,14 +760,6 @@ declare class is {
750
760
  static undefined(value: any): value is undefined;
751
761
  }
752
762
 
753
- declare class Subs {
754
- private subs;
755
- constructor();
756
- add(...subscriptions: Subscription[]): void;
757
- set sink(subscription: Subscription);
758
- unsubscribe(): void;
759
- }
760
-
761
763
  declare class QSUtils {
762
764
  private static getValue;
763
765
  static getValueByName(name: any): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osovitny/anatoly",
3
- "version": "3.20.39",
3
+ "version": "3.20.41",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.3.12",
6
6
  "@angular/core": "^20.3.12",