@flusys/ng-auth 6.2.1 → 6.3.0
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flusys/ng-auth",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.3.0",
|
|
4
4
|
"description": "Authentication module for FLUSYS Angular applications",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"peerDependencies": {
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
"@angular/core": ">=22.0.0",
|
|
9
9
|
"@angular/forms": ">=22.0.0",
|
|
10
10
|
"@angular/router": ">=22.0.0",
|
|
11
|
-
"@flusys/ng-core": ">=6.
|
|
12
|
-
"@flusys/ng-layout": ">=6.
|
|
13
|
-
"@flusys/ng-shared": ">=6.
|
|
14
|
-
"@flusys/ng-ui": ">=6.
|
|
11
|
+
"@flusys/ng-core": ">=6.3.0",
|
|
12
|
+
"@flusys/ng-layout": ">=6.3.0",
|
|
13
|
+
"@flusys/ng-shared": ">=6.3.0",
|
|
14
|
+
"@flusys/ng-ui": ">=6.3.0",
|
|
15
15
|
"rxjs": "^7.8.0"
|
|
16
16
|
},
|
|
17
17
|
"sideEffects": false,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ISingleResponse, IMessageResponse, ApiResourceService,
|
|
1
|
+
import { ISingleResponse, IMessageResponse, ApiResourceService, IFilterData, IListResponse, IUserBasicInfo, ICompanyApiProvider, ICompanyBasicInfo, IAuthStateProvider, IUserPermissionProvider, IUserBranchPermission as IUserBranchPermission$1, IUserCompanyInfo, IUserProvider, ILogicNode, RouterTabItem, BaseFormComponent, IFormField, ITableAction, ITableColumn, IProfileRoleInfo, IProfileActionInfo } from '@flusys/ng-shared';
|
|
2
2
|
import * as rxjs from 'rxjs';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import * as _angular_core from '@angular/core';
|
|
@@ -300,6 +300,7 @@ declare class AuthStateService {
|
|
|
300
300
|
private readonly router;
|
|
301
301
|
private readonly platform;
|
|
302
302
|
private readonly translateAdapter;
|
|
303
|
+
private readonly permissionValidator;
|
|
303
304
|
private readonly _user;
|
|
304
305
|
private readonly _accessToken;
|
|
305
306
|
private readonly _tokenExpiresAt;
|
|
@@ -340,6 +341,7 @@ declare class AuthStateService {
|
|
|
340
341
|
private isValidReturnUrl;
|
|
341
342
|
getStoredCompanyId(): string | null;
|
|
342
343
|
getStoredBranchId(): string | null;
|
|
344
|
+
getSavedUserName(): string | null;
|
|
343
345
|
private loadFromStorage;
|
|
344
346
|
/**
|
|
345
347
|
* Decode JWT expiry without verification (client-side only).
|
|
@@ -398,6 +400,7 @@ declare class TokenRefreshStateService {
|
|
|
398
400
|
declare class UserApiService extends ApiResourceService<ICreateUserRequest | IUpdateUserRequest, IUser> {
|
|
399
401
|
constructor();
|
|
400
402
|
updateProfile(data: IUpdateUserRequest): Observable<ISingleResponse<IUser>>;
|
|
403
|
+
lookup(filter: IFilterData, search?: string): Observable<IListResponse<IUserBasicInfo>>;
|
|
401
404
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<UserApiService, never>;
|
|
402
405
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<UserApiService>;
|
|
403
406
|
}
|
|
@@ -972,6 +975,7 @@ declare class LoginPageComponent {
|
|
|
972
975
|
readonly currentStep: _angular_core.WritableSignal<LoginStep>;
|
|
973
976
|
readonly isLoading: _angular_core.WritableSignal<boolean>;
|
|
974
977
|
readonly unverifiedEmail: _angular_core.WritableSignal<string>;
|
|
978
|
+
readonly savedUserName: _angular_core.WritableSignal<string | null>;
|
|
975
979
|
readonly loginFormModel: _angular_core.WritableSignal<ILoginFormModel>;
|
|
976
980
|
private readonly emailErrorMessage;
|
|
977
981
|
private readonly passwordMinLength;
|
|
@@ -1252,6 +1256,7 @@ declare class UserListComponent {
|
|
|
1252
1256
|
readonly READ: "user.read";
|
|
1253
1257
|
readonly UPDATE: "user.update";
|
|
1254
1258
|
readonly DELETE: "user.delete";
|
|
1259
|
+
readonly LOOKUP: "user.lookup";
|
|
1255
1260
|
};
|
|
1256
1261
|
private readonly router;
|
|
1257
1262
|
private readonly appConfig;
|