@osovitny/anatoly 3.17.136 → 3.17.138

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.
@@ -1,2 +1,2 @@
1
1
  import { BuyAccessButtonComponent, SubscribePlanButtonComponent, OrderSummaryComponent, PaymentMethodsComponent, PaymentOptionsComponent, BraintreeDialog, PaypalButtonComponent, PaypalSubscribeButtonComponent, PayPalComponent, StripeDialog } from "./exports";
2
- export declare const COMPONENTS: (typeof PaypalSubscribeButtonComponent | typeof PaypalButtonComponent | typeof PaymentOptionsComponent | typeof PaymentMethodsComponent | typeof OrderSummaryComponent | typeof BuyAccessButtonComponent | typeof SubscribePlanButtonComponent | typeof BraintreeDialog | typeof PayPalComponent | typeof StripeDialog)[];
2
+ export declare const COMPONENTS: (typeof BuyAccessButtonComponent | typeof SubscribePlanButtonComponent | typeof OrderSummaryComponent | typeof PaymentMethodsComponent | typeof PaymentOptionsComponent | typeof BraintreeDialog | typeof PaypalButtonComponent | typeof PaypalSubscribeButtonComponent | typeof PayPalComponent | typeof StripeDialog)[];
@@ -1,4 +1,11 @@
1
1
  export declare function getAppSettingsById(id: any): any;
2
2
  export declare function getAppSettingsByName(name: any): any;
3
+ export interface ICurrentApp {
4
+ type: string;
5
+ root: string;
6
+ appOne: any;
7
+ appOneUrl: string;
8
+ }
9
+ export declare function getCurrentApp(): ICurrentApp;
3
10
  export declare const AppName: string;
4
11
  export declare const AppSettings: any;
@@ -1,16 +1,15 @@
1
- import { ActivatedRoute, Router } from '@angular/router';
1
+ import { ActivatedRoute, NavigationExtras, Router } from '@angular/router';
2
+ import { ICurrentApp } from '../consts/app-settings';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class GoServiceBase {
4
5
  protected route: ActivatedRoute;
5
6
  protected router: Router;
6
7
  protected isDevMode: boolean;
7
- protected applicationType: any;
8
- protected applicationRoot: any;
9
- protected applicationOneUrl: string;
8
+ protected currentApp: ICurrentApp;
10
9
  constructor(route: ActivatedRoute, router: Router);
11
10
  private internalInit;
12
- getHomeUrl(): any;
13
- navigate(commands: any[], reload?: boolean): void;
11
+ getHomeUrl(): string;
12
+ navigate(commands: any[], extras?: NavigationExtras, reload?: boolean): void;
14
13
  homeReload(): void;
15
14
  locationReload(): void;
16
15
  home(): void;
@@ -1,2 +1,2 @@
1
- import { CardFooterComponent, CheckIconComponent, CountryDropdownlist, TimezoneDropdownlist, NodataComponent, PageSpinnerComponent, LoadingComponent } from './exports';
2
- export declare const MAIN_COMPONENTS: (typeof LoadingComponent | typeof CardFooterComponent | typeof CountryDropdownlist | typeof TimezoneDropdownlist | typeof CheckIconComponent | typeof NodataComponent | typeof PageSpinnerComponent)[];
1
+ import { CardComponent, CheckIconComponent, CountryDropdownlist, TimezoneDropdownlist, NodataComponent, PageSpinnerComponent, LoadingComponent } from './exports';
2
+ export declare const MAIN_COMPONENTS: (typeof CardComponent | typeof CountryDropdownlist | typeof TimezoneDropdownlist | typeof CheckIconComponent | typeof NodataComponent | typeof LoadingComponent | typeof PageSpinnerComponent)[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osovitny/anatoly",
3
- "version": "3.17.136",
3
+ "version": "3.17.138",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "17.1.2",
6
6
  "@angular/core": "17.1.2",