@flusys/ng-auth 5.5.0 → 6.0.0-beta.1
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/fesm2022/flusys-ng-auth.mjs +859 -1039
- package/fesm2022/flusys-ng-auth.mjs.map +1 -1
- package/package.json +5 -7
- package/types/flusys-ng-auth.d.ts +4 -16
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flusys/ng-auth",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0-beta.1",
|
|
4
4
|
"description": "Authentication module for FLUSYS Angular applications",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"peerDependencies": {
|
|
@@ -8,12 +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": ">=
|
|
12
|
-
"@flusys/ng-layout": ">=
|
|
13
|
-
"@flusys/ng-shared": ">=
|
|
14
|
-
"@
|
|
15
|
-
"primeicons": ">=7.0.0",
|
|
16
|
-
"primeng": ">=22.0.0-rc.1",
|
|
11
|
+
"@flusys/ng-core": ">=6.0.0-beta.1",
|
|
12
|
+
"@flusys/ng-layout": ">=6.0.0-beta.1",
|
|
13
|
+
"@flusys/ng-shared": ">=6.0.0-beta.1",
|
|
14
|
+
"@flusys/ng-ui": ">=6.0.0-beta.1",
|
|
17
15
|
"rxjs": "^7.8.0"
|
|
18
16
|
},
|
|
19
17
|
"sideEffects": false,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ISingleResponse, IMessageResponse, ApiResourceService, ICompanyApiProvider, IListResponse, ICompanyBasicInfo, IAuthStateProvider, IUserPermissionProvider, IUserBranchPermission as IUserBranchPermission$1, IUserProvider, IUserBasicInfo, ILogicNode, BaseFormComponent, IFormField, ITableAction, ITableColumn, IProfileRoleInfo, IProfileActionInfo } from '@flusys/ng-shared';
|
|
1
|
+
import { ISingleResponse, IMessageResponse, ApiResourceService, ICompanyApiProvider, IListResponse, ICompanyBasicInfo, IAuthStateProvider, IUserPermissionProvider, IUserBranchPermission as IUserBranchPermission$1, IUserProvider, IUserBasicInfo, 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';
|
|
@@ -770,14 +770,6 @@ declare function isEndpoint(url: string, endpoint: string): boolean;
|
|
|
770
770
|
|
|
771
771
|
declare const AUTH_MESSAGES: Record<string, string>;
|
|
772
772
|
|
|
773
|
-
interface ITab {
|
|
774
|
-
id: string;
|
|
775
|
-
labelKey: string;
|
|
776
|
-
icon: string;
|
|
777
|
-
route: string;
|
|
778
|
-
permission: string;
|
|
779
|
-
requiresCompanyFeature?: boolean;
|
|
780
|
-
}
|
|
781
773
|
/**
|
|
782
774
|
* Administration Page Component
|
|
783
775
|
* Unified administration page with tabs for:
|
|
@@ -788,12 +780,13 @@ interface ITab {
|
|
|
788
780
|
declare class AdministrationPageComponent {
|
|
789
781
|
private readonly appConfig;
|
|
790
782
|
private readonly permissionValidator;
|
|
783
|
+
private readonly translateService;
|
|
791
784
|
/** All available tabs */
|
|
792
785
|
private readonly allTabs;
|
|
793
786
|
/** Check if company feature is enabled */
|
|
794
787
|
readonly companyFeatureEnabled: _angular_core.Signal<boolean>;
|
|
795
788
|
/** Visible tabs based on config and permissions */
|
|
796
|
-
readonly visibleTabs: _angular_core.Signal<
|
|
789
|
+
readonly visibleTabs: _angular_core.Signal<RouterTabItem[]>;
|
|
797
790
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AdministrationPageComponent, never>;
|
|
798
791
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AdministrationPageComponent, "lib-administration-page", never, {}, {}, never, never, true, never>;
|
|
799
792
|
}
|
|
@@ -854,11 +847,6 @@ declare class BranchFormComponent {
|
|
|
854
847
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BranchFormComponent, "lib-branch-form", never, {}, {}, never, never, true, never>;
|
|
855
848
|
}
|
|
856
849
|
|
|
857
|
-
/**
|
|
858
|
-
* Branch List Component
|
|
859
|
-
* Displays a list of branches for a company with CRUD operations.
|
|
860
|
-
* Defaults to current company context.
|
|
861
|
-
*/
|
|
862
850
|
declare class BranchListComponent {
|
|
863
851
|
readonly BRANCH_PERMISSIONS: {
|
|
864
852
|
readonly CREATE: "branch.create";
|
|
@@ -888,7 +876,7 @@ declare class BranchListComponent {
|
|
|
888
876
|
/** Total count from service */
|
|
889
877
|
readonly total: _angular_core.Signal<number>;
|
|
890
878
|
constructor();
|
|
891
|
-
loadBranches(): void;
|
|
879
|
+
loadBranches(page?: number, pageSize?: number): void;
|
|
892
880
|
onCompanyChange(): void;
|
|
893
881
|
onLazyLoad(event: {
|
|
894
882
|
first?: number | null;
|