@wizishop/angular-components 14.4.42 → 14.4.44
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/esm2020/lib/components/header-page/header-page.component.mjs +48 -8
- package/fesm2015/wizishop-angular-components.mjs +50 -11
- package/fesm2015/wizishop-angular-components.mjs.map +1 -1
- package/fesm2020/wizishop-angular-components.mjs +50 -11
- package/fesm2020/wizishop-angular-components.mjs.map +1 -1
- package/lib/components/header-page/header-page.component.d.ts +16 -4
- package/package.json +1 -1
- package/wizishop-angular-components-14.4.44.tgz +0 -0
- package/wizishop-angular-components-14.4.42.tgz +0 -0
|
@@ -1,10 +1,22 @@
|
|
|
1
|
+
import { Location } from '@angular/common';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
3
|
+
import { Router } from '@angular/router';
|
|
1
4
|
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class HeaderPageComponent {
|
|
5
|
+
export declare class HeaderPageComponent implements OnInit {
|
|
6
|
+
private router;
|
|
7
|
+
private location;
|
|
8
|
+
private history;
|
|
3
9
|
title: string;
|
|
4
|
-
linkBack: string
|
|
10
|
+
linkBack: string;
|
|
5
11
|
withImg: boolean;
|
|
6
12
|
center: boolean;
|
|
7
|
-
|
|
13
|
+
useHistory: boolean;
|
|
14
|
+
constructor(router: Router, location: Location);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
back(): void;
|
|
17
|
+
private redirect;
|
|
18
|
+
private redirectToExternalLink;
|
|
19
|
+
private redirectToInternalLink;
|
|
8
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderPageComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderPageComponent, "wac-header-page", never, { "title": "title"; "linkBack": "linkBack"; "withImg": "withImg"; "center": "center"; }, {}, never, ["[role=header]", "[role=subtitle]", "*"], false>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderPageComponent, "wac-header-page", never, { "title": "title"; "linkBack": "linkBack"; "withImg": "withImg"; "center": "center"; "useHistory": "useHistory"; }, {}, never, ["[role=header]", "[role=subtitle]", "*"], false>;
|
|
10
22
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|