ng-easycommerce 1.1.3 → 1.1.4

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,4 +1,5 @@
1
1
  import { OnInit, OnDestroy, ElementRef, Renderer2, OnChanges, SimpleChanges } from "@angular/core";
2
+ import { LocationStrategy } from "@angular/common";
2
3
  import { BlocksService } from "../services/blocks/blocks.service";
3
4
  import { Router } from "@angular/router";
4
5
  export declare class ParamsContext {
@@ -10,19 +11,30 @@ export declare class AddActionRedirectDirective implements OnChanges, OnInit, On
10
11
  private renderer;
11
12
  private blocksService;
12
13
  private router;
14
+ private locationStrategy;
13
15
  private banner;
14
16
  private classStr;
15
17
  private redirectUrl;
16
18
  private linstenEvent;
17
19
  private transparent;
20
+ private targetManaged;
21
+ private originalTarget;
22
+ private relManaged;
23
+ private originalRel;
18
24
  set ecAddActionRedirect(value: any);
19
25
  set classStrSpacing(value: any);
20
26
  set isTransparent(value: boolean);
21
- constructor(document: any, elementRef: ElementRef, renderer: Renderer2, blocksService: BlocksService, router: Router);
27
+ constructor(document: any, elementRef: ElementRef, renderer: Renderer2, blocksService: BlocksService, router: Router, locationStrategy: LocationStrategy);
22
28
  ngOnInit(): void;
23
29
  ngOnChanges(changes: SimpleChanges): void;
24
- redirectFromUrl: (evt: any) => void;
30
+ private shouldHandleSpaClick;
31
+ private toRouterUrl;
32
+ private stripBaseHref;
33
+ private getDocumentHref;
34
+ private isAbsoluteUrl;
35
+ private restoreManagedAttribute;
25
36
  private getAccessibleLabel;
26
37
  private isExternalUrl;
38
+ private isOutsideBaseHref;
27
39
  ngOnDestroy(): void;
28
40
  }