@wizishop/angular-components 14.4.48 → 14.4.50
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/angular-components.scss +1401 -1401
- package/esm2020/lib/components/header-page/header-page.component.mjs +8 -36
- package/esm2020/lib/services/history.service.mjs +52 -0
- package/esm2020/lib/wizi-components.module.mjs +5 -3
- package/fesm2015/wizishop-angular-components.mjs +44 -23
- package/fesm2015/wizishop-angular-components.mjs.map +1 -1
- package/fesm2020/wizishop-angular-components.mjs +44 -23
- package/fesm2020/wizishop-angular-components.mjs.map +1 -1
- package/lib/components/header-page/header-page.component.d.ts +3 -7
- package/lib/services/history.service.d.ts +16 -0
- package/package.json +1 -1
- package/wizishop-angular-components-14.4.50.tgz +0 -0
- package/wizishop-angular-components-14.4.48.tgz +0 -0
|
@@ -1,20 +1,16 @@
|
|
|
1
1
|
import { Location } from '@angular/common';
|
|
2
|
-
import {
|
|
2
|
+
import { HistoryService } from '../../services/history.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class HeaderPageComponent {
|
|
5
|
-
private
|
|
5
|
+
private historyService;
|
|
6
6
|
private location;
|
|
7
|
-
private history;
|
|
8
7
|
title: string;
|
|
9
8
|
linkBack: string[];
|
|
10
9
|
withImg: boolean;
|
|
11
10
|
center: boolean;
|
|
12
11
|
useHistory: boolean;
|
|
13
|
-
constructor(
|
|
12
|
+
constructor(historyService: HistoryService, location: Location);
|
|
14
13
|
back(): void;
|
|
15
|
-
private redirect;
|
|
16
|
-
private redirectToExternalLink;
|
|
17
|
-
private redirectToInternalLink;
|
|
18
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderPageComponent, never>;
|
|
19
15
|
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>;
|
|
20
16
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Router } from '@angular/router';
|
|
2
|
+
import { Location } from '@angular/common';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class HistoryService {
|
|
5
|
+
private router;
|
|
6
|
+
private location;
|
|
7
|
+
private history;
|
|
8
|
+
constructor(router: Router, location: Location);
|
|
9
|
+
registerHistory(): void;
|
|
10
|
+
back(link: string[]): void;
|
|
11
|
+
redirect(link: string[]): void;
|
|
12
|
+
redirectToExternalLink(link: string[]): void;
|
|
13
|
+
redirectToInternalLink(link: string[]): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HistoryService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HistoryService>;
|
|
16
|
+
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|