@unipin/angular-applet 18.6.3 → 18.6.5
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/esm2022/lib/components/tabs/tab-content/tab-content.component.mjs +12 -4
- package/esm2022/lib/components/tabs/tab-group/tab-group.component.mjs +3 -3
- package/esm2022/lib/interceptors/refresh-token/refresh-token.interceptor.mjs +6 -8
- package/esm2022/lib/modules/permission/pages/loading/loading.page.mjs +4 -2
- package/fesm2022/unipin-angular-applet.mjs +20 -11
- package/fesm2022/unipin-angular-applet.mjs.map +1 -1
- package/lib/components/tabs/tab-content/tab-content.component.d.ts +5 -3
- package/lib/interceptors/refresh-token/refresh-token.interceptor.d.ts +1 -3
- package/lib/modules/permission/pages/loading/loading.page.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
1
|
+
import { AfterContentInit, ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class TabContentComponent {
|
|
3
|
+
export declare class TabContentComponent implements AfterContentInit {
|
|
4
4
|
fragment: string;
|
|
5
5
|
protected readonly ch: ChangeDetectorRef;
|
|
6
6
|
isActive: boolean;
|
|
7
7
|
header: string;
|
|
8
|
+
customHeader?: ElementRef<HTMLDivElement>;
|
|
8
9
|
constructor(fragment: string, ch: ChangeDetectorRef);
|
|
10
|
+
ngAfterContentInit(): void;
|
|
9
11
|
toggleVisibility(s?: boolean): void;
|
|
10
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabContentComponent, [{ attribute: "fragment"; }, null]>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabContentComponent, "up-tab-content", never, { "header": { "alias": "header"; "required":
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabContentComponent, "up-tab-content", never, { "header": { "alias": "header"; "required": false; }; }, {}, ["customHeader"], ["*"], false, never>;
|
|
12
14
|
}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from '@angular/common/http';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
2
|
import { Observable } from 'rxjs';
|
|
4
3
|
import { AuthService } from '../../services';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class RefreshTokenInterceptor implements HttpInterceptor {
|
|
7
|
-
protected readonly router: Router;
|
|
8
6
|
protected readonly authService: AuthService;
|
|
9
|
-
constructor(
|
|
7
|
+
constructor(authService: AuthService);
|
|
10
8
|
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
|
|
11
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<RefreshTokenInterceptor, never>;
|
|
12
10
|
static ɵprov: i0.ɵɵInjectableDeclaration<RefreshTokenInterceptor>;
|
|
@@ -14,7 +14,7 @@ export declare class LoadingPage implements OnInit, OnDestroy {
|
|
|
14
14
|
protected readonly router: Router;
|
|
15
15
|
protected readonly route: ActivatedRoute;
|
|
16
16
|
protected readonly permissionService: PermissionService;
|
|
17
|
-
protected sub
|
|
17
|
+
protected sub?: Subscription;
|
|
18
18
|
constructor(config: {
|
|
19
19
|
permModule: string[];
|
|
20
20
|
permType: string[];
|