@abp/ng.core 5.3.2 → 5.3.3
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/directives/permission.directive.mjs +15 -3
- package/fesm2015/abp-ng.core.mjs +13 -2
- package/fesm2015/abp-ng.core.mjs.map +1 -1
- package/fesm2020/abp-ng.core.mjs +13 -2
- package/fesm2020/abp-ng.core.mjs.map +1 -1
- package/lib/directives/permission.directive.d.ts +6 -3
- package/package.json +2 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnChanges, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { Subscription } from 'rxjs';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, OnChanges, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { ReplaySubject, Subscription } from 'rxjs';
|
|
3
3
|
import { PermissionService } from '../services/permission.service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class PermissionDirective implements OnDestroy, OnChanges {
|
|
5
|
+
export declare class PermissionDirective implements OnDestroy, OnChanges, AfterViewInit {
|
|
6
6
|
private templateRef;
|
|
7
7
|
private vcRef;
|
|
8
8
|
private permissionService;
|
|
@@ -10,10 +10,13 @@ export declare class PermissionDirective implements OnDestroy, OnChanges {
|
|
|
10
10
|
condition: string | undefined;
|
|
11
11
|
runChangeDetection: boolean;
|
|
12
12
|
subscription: Subscription;
|
|
13
|
+
cdrSubject: ReplaySubject<unknown>;
|
|
14
|
+
rendered: boolean;
|
|
13
15
|
constructor(templateRef: TemplateRef<any>, vcRef: ViewContainerRef, permissionService: PermissionService, cdRef: ChangeDetectorRef);
|
|
14
16
|
private check;
|
|
15
17
|
ngOnDestroy(): void;
|
|
16
18
|
ngOnChanges(): void;
|
|
19
|
+
ngAfterViewInit(): void;
|
|
17
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<PermissionDirective, [{ optional: true; }, null, null, null]>;
|
|
18
21
|
static ɵdir: i0.ɵɵDirectiveDeclaration<PermissionDirective, "[abpPermission]", never, { "condition": "abpPermission"; "runChangeDetection": "abpPermissionRunChangeDetection"; }, {}, never>;
|
|
19
22
|
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abp/ng.core",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.3",
|
|
4
4
|
"homepage": "https://abp.io",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/abpframework/abp.git"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@abp/utils": "~5.3.
|
|
10
|
+
"@abp/utils": "~5.3.3",
|
|
11
11
|
"angular-oauth2-oidc": "^13.0.1",
|
|
12
12
|
"just-clone": "^3.2.1",
|
|
13
13
|
"just-compare": "^1.4.0",
|