@flusys/ng-auth 8.1.1 → 8.1.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flusys/ng-auth",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.3",
|
|
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": ">=8.1.
|
|
12
|
-
"@flusys/ng-layout": ">=8.1.
|
|
13
|
-
"@flusys/ng-shared": ">=8.1.
|
|
14
|
-
"@flusys/ng-ui": ">=8.1.
|
|
11
|
+
"@flusys/ng-core": ">=8.1.3",
|
|
12
|
+
"@flusys/ng-layout": ">=8.1.3",
|
|
13
|
+
"@flusys/ng-shared": ">=8.1.3",
|
|
14
|
+
"@flusys/ng-ui": ">=8.1.3",
|
|
15
15
|
"rxjs": "^7.8.0"
|
|
16
16
|
},
|
|
17
17
|
"sideEffects": false,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ISingleResponse, IBaseEntity, 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';
|
|
1
|
+
import { ISingleResponse, IBaseEntity, IMessageResponse, ApiResourceService, IFilterData, IListResponse, IUserBasicInfo, ICompanyApiProvider, ICompanyBasicInfo, IBranchBasicInfo, 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';
|
|
@@ -579,18 +579,6 @@ declare class AuthLayoutApiAdapter implements ILayoutAuthApi {
|
|
|
579
579
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AuthLayoutApiAdapter>;
|
|
580
580
|
}
|
|
581
581
|
|
|
582
|
-
/**
|
|
583
|
-
* Auth Shared Provider Adapters
|
|
584
|
-
*
|
|
585
|
-
* Implements provider interfaces from ng-shared using ng-auth services.
|
|
586
|
-
* Allows IAM, Storage, and Form-Builder packages to access auth data
|
|
587
|
-
* without depending on ng-auth directly.
|
|
588
|
-
*
|
|
589
|
-
* @example
|
|
590
|
-
* // In app.config.ts
|
|
591
|
-
* import { provideAuthProviders } from '@flusys/ng-auth';
|
|
592
|
-
* providers: [...provideAuthProviders()]
|
|
593
|
-
*/
|
|
594
582
|
declare class AuthUserProviderAdapter implements IUserProvider {
|
|
595
583
|
private readonly userApi;
|
|
596
584
|
getUsers(filter?: {
|
|
@@ -606,11 +594,14 @@ declare class AuthUserProviderAdapter implements IUserProvider {
|
|
|
606
594
|
}
|
|
607
595
|
declare class AuthCompanyApiProviderAdapter implements ICompanyApiProvider {
|
|
608
596
|
private readonly companyApi;
|
|
597
|
+
private readonly branchApi;
|
|
609
598
|
getCompanies(filter?: {
|
|
610
599
|
page?: number;
|
|
611
600
|
pageSize?: number;
|
|
612
601
|
search?: string;
|
|
613
602
|
}): Observable<IListResponse<ICompanyBasicInfo>>;
|
|
603
|
+
getCompaniesByIds(ids: string[]): Observable<IListResponse<ICompanyBasicInfo>>;
|
|
604
|
+
getBranchesByIds(ids: string[]): Observable<IListResponse<IBranchBasicInfo>>;
|
|
614
605
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AuthCompanyApiProviderAdapter, never>;
|
|
615
606
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<AuthCompanyApiProviderAdapter>;
|
|
616
607
|
}
|