@flusys/ng-auth 5.4.1 → 5.5.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/fesm2022/flusys-ng-auth.mjs +1034 -632
- package/fesm2022/flusys-ng-auth.mjs.map +1 -1
- package/package.json +11 -10
- package/types/flusys-ng-auth.d.ts +12 -10
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flusys/ng-auth",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.5.0",
|
|
4
4
|
"description": "Authentication module for FLUSYS Angular applications",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"peerDependencies": {
|
|
7
|
-
"@angular/common": ">=
|
|
8
|
-
"@angular/core": ">=
|
|
9
|
-
"@angular/forms": ">=
|
|
10
|
-
"@angular/router": ">=
|
|
11
|
-
"@flusys/ng-core": ">=5.
|
|
12
|
-
"@flusys/ng-layout": ">=5.
|
|
13
|
-
"@flusys/ng-shared": ">=5.
|
|
14
|
-
"@primeuix/themes": ">=
|
|
7
|
+
"@angular/common": ">=22.0.0",
|
|
8
|
+
"@angular/core": ">=22.0.0",
|
|
9
|
+
"@angular/forms": ">=22.0.0",
|
|
10
|
+
"@angular/router": ">=22.0.0",
|
|
11
|
+
"@flusys/ng-core": ">=5.5.0",
|
|
12
|
+
"@flusys/ng-layout": ">=5.5.0",
|
|
13
|
+
"@flusys/ng-shared": ">=5.5.0",
|
|
14
|
+
"@primeuix/themes": ">=3.0.0-rc.1",
|
|
15
15
|
"primeicons": ">=7.0.0",
|
|
16
|
-
"primeng": ">=
|
|
16
|
+
"primeng": ">=22.0.0-rc.1",
|
|
17
17
|
"rxjs": "^7.8.0"
|
|
18
18
|
},
|
|
19
19
|
"sideEffects": false,
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"default": "./fesm2022/flusys-ng-auth.mjs"
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
|
+
"type": "module",
|
|
31
32
|
"dependencies": {
|
|
32
33
|
"tslib": "^2.3.0"
|
|
33
34
|
}
|
|
@@ -835,7 +835,7 @@ declare class BranchFormComponent {
|
|
|
835
835
|
/** Form model */
|
|
836
836
|
readonly formModel: _angular_core.WritableSignal<IBranchFormModel>;
|
|
837
837
|
/** Form with validation schema */
|
|
838
|
-
readonly branchForm: _angular_forms_signals.FieldTree<IBranchFormModel, string | number>;
|
|
838
|
+
readonly branchForm: _angular_forms_signals.FieldTree<IBranchFormModel, string | number, "writable">;
|
|
839
839
|
/** Check if form is valid */
|
|
840
840
|
readonly isFormValid: _angular_core.Signal<boolean>;
|
|
841
841
|
constructor();
|
|
@@ -946,7 +946,7 @@ declare class ForgotPasswordPageComponent {
|
|
|
946
946
|
readonly emailSent: _angular_core.WritableSignal<boolean>;
|
|
947
947
|
readonly submittedEmail: _angular_core.WritableSignal<string>;
|
|
948
948
|
readonly formModel: _angular_core.WritableSignal<IForgotPasswordFormModel>;
|
|
949
|
-
readonly forgotForm: _angular_forms_signals.FieldTree<IForgotPasswordFormModel, string | number>;
|
|
949
|
+
readonly forgotForm: _angular_forms_signals.FieldTree<IForgotPasswordFormModel, string | number, "writable">;
|
|
950
950
|
readonly isFormValid: _angular_core.Signal<boolean>;
|
|
951
951
|
onSubmit(): void;
|
|
952
952
|
private showEmailSent;
|
|
@@ -983,12 +983,12 @@ declare class LoginPageComponent {
|
|
|
983
983
|
private readonly emailErrorMessage;
|
|
984
984
|
private readonly passwordMinLength;
|
|
985
985
|
private readonly passwordErrorMessage;
|
|
986
|
-
readonly loginForm: _angular_forms_signals.FieldTree<ILoginFormModel, string | number>;
|
|
986
|
+
readonly loginForm: _angular_forms_signals.FieldTree<ILoginFormModel, string | number, "writable">;
|
|
987
987
|
readonly emailValidationError: _angular_core.Signal<string | null>;
|
|
988
988
|
readonly passwordValidationError: _angular_core.Signal<string | null>;
|
|
989
989
|
readonly isLoginFormValid: _angular_core.Signal<boolean>;
|
|
990
990
|
readonly selectionFormModel: _angular_core.WritableSignal<ISelectionFormModel>;
|
|
991
|
-
readonly selectionForm: _angular_forms_signals.FieldTree<ISelectionFormModel, string | number>;
|
|
991
|
+
readonly selectionForm: _angular_forms_signals.FieldTree<ISelectionFormModel, string | number, "writable">;
|
|
992
992
|
readonly isSelectionFormValid: _angular_core.Signal<boolean>;
|
|
993
993
|
readonly companyFeatureEnabled: _angular_core.Signal<boolean>;
|
|
994
994
|
readonly emailFeatureEnabled: _angular_core.Signal<boolean>;
|
|
@@ -1064,7 +1064,7 @@ declare class ProfilePageComponent {
|
|
|
1064
1064
|
readonly showBottomRow: _angular_core.Signal<boolean>;
|
|
1065
1065
|
private readonly originalFormModel;
|
|
1066
1066
|
readonly formModel: _angular_core.WritableSignal<IProfileFormModel>;
|
|
1067
|
-
readonly formTree: _angular_forms_signals.FieldTree<IProfileFormModel, string | number>;
|
|
1067
|
+
readonly formTree: _angular_forms_signals.FieldTree<IProfileFormModel, string | number, "writable">;
|
|
1068
1068
|
readonly isFormValid: _angular_core.Signal<boolean>;
|
|
1069
1069
|
readonly isFormDirty: _angular_core.Signal<boolean>;
|
|
1070
1070
|
updateExtraField(key: string, value: unknown): void;
|
|
@@ -1075,6 +1075,7 @@ declare class ProfilePageComponent {
|
|
|
1075
1075
|
private readonly parentInjector;
|
|
1076
1076
|
getFieldInjector(field: IProfileExtraField): Injector;
|
|
1077
1077
|
readonly passwordModel: _angular_core.WritableSignal<IPasswordFormModel>;
|
|
1078
|
+
readonly visiblePasswords: _angular_core.WritableSignal<Record<keyof IPasswordFormModel, boolean>>;
|
|
1078
1079
|
readonly isPasswordLoading: _angular_core.WritableSignal<boolean>;
|
|
1079
1080
|
readonly isPasswordFormValid: _angular_core.Signal<boolean>;
|
|
1080
1081
|
readonly passwordsMatch: _angular_core.Signal<boolean>;
|
|
@@ -1097,6 +1098,7 @@ declare class ProfilePageComponent {
|
|
|
1097
1098
|
contentType: string;
|
|
1098
1099
|
}): void;
|
|
1099
1100
|
onSubmit(): void;
|
|
1101
|
+
togglePasswordVisibility(field: keyof IPasswordFormModel): void;
|
|
1100
1102
|
updatePasswordField(field: keyof IPasswordFormModel, value: string): void;
|
|
1101
1103
|
onChangePassword(): void;
|
|
1102
1104
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ProfilePageComponent, never>;
|
|
@@ -1145,9 +1147,9 @@ declare class RegisterPageComponent {
|
|
|
1145
1147
|
readonly passwordMinLength: _angular_core.Signal<number>;
|
|
1146
1148
|
private readonly passwordErrorMessage;
|
|
1147
1149
|
readonly userFormModel: _angular_core.WritableSignal<IUserFormModel$1>;
|
|
1148
|
-
readonly userForm: _angular_forms_signals.FieldTree<IUserFormModel$1, string | number>;
|
|
1150
|
+
readonly userForm: _angular_forms_signals.FieldTree<IUserFormModel$1, string | number, "writable">;
|
|
1149
1151
|
readonly companyFormModel: _angular_core.WritableSignal<ICompanyFormModel>;
|
|
1150
|
-
readonly companyForm: _angular_forms_signals.FieldTree<ICompanyFormModel, string | number>;
|
|
1152
|
+
readonly companyForm: _angular_forms_signals.FieldTree<ICompanyFormModel, string | number, "writable">;
|
|
1151
1153
|
readonly emailValidationError: _angular_core.Signal<string | null>;
|
|
1152
1154
|
readonly passwordValidationError: _angular_core.Signal<string | null>;
|
|
1153
1155
|
readonly extraFieldsValidationError: _angular_core.Signal<string | null>;
|
|
@@ -1183,7 +1185,7 @@ declare class ResetPasswordPageComponent {
|
|
|
1183
1185
|
readonly isLoading: _angular_core.WritableSignal<boolean>;
|
|
1184
1186
|
readonly pageState: _angular_core.WritableSignal<PageState$1>;
|
|
1185
1187
|
readonly formModel: _angular_core.WritableSignal<IResetPasswordFormModel>;
|
|
1186
|
-
readonly resetForm: _angular_forms_signals.FieldTree<IResetPasswordFormModel, string | number>;
|
|
1188
|
+
readonly resetForm: _angular_forms_signals.FieldTree<IResetPasswordFormModel, string | number, "writable">;
|
|
1187
1189
|
readonly passwordMismatch: _angular_core.Signal<boolean>;
|
|
1188
1190
|
readonly canSubmit: _angular_core.Signal<boolean>;
|
|
1189
1191
|
constructor();
|
|
@@ -1222,7 +1224,7 @@ declare class UserFormComponent {
|
|
|
1222
1224
|
readonly currentCompanyName: _angular_core.Signal<string>;
|
|
1223
1225
|
readonly currentBranchName: _angular_core.Signal<string>;
|
|
1224
1226
|
readonly formModel: _angular_core.WritableSignal<IUserFormModel>;
|
|
1225
|
-
readonly formTree: _angular_forms_signals.FieldTree<IUserFormModel, string | number>;
|
|
1227
|
+
readonly formTree: _angular_forms_signals.FieldTree<IUserFormModel, string | number, "writable">;
|
|
1226
1228
|
readonly isLoadingExtraFields: _angular_core.WritableSignal<boolean>;
|
|
1227
1229
|
readonly extraFieldsModel: _angular_core.WritableSignal<Record<string, unknown>>;
|
|
1228
1230
|
readonly originalExtraFieldsModel: _angular_core.WritableSignal<Record<string, unknown>>;
|
|
@@ -1319,7 +1321,7 @@ declare class VerifyEmailPageComponent {
|
|
|
1319
1321
|
readonly resendSuccess: _angular_core.WritableSignal<boolean>;
|
|
1320
1322
|
readonly submittedEmail: _angular_core.WritableSignal<string>;
|
|
1321
1323
|
readonly resendFormModel: _angular_core.WritableSignal<IResendFormModel>;
|
|
1322
|
-
readonly resendForm: _angular_forms_signals.FieldTree<IResendFormModel, string | number>;
|
|
1324
|
+
readonly resendForm: _angular_forms_signals.FieldTree<IResendFormModel, string | number, "writable">;
|
|
1323
1325
|
readonly isResendFormValid: _angular_core.Signal<boolean>;
|
|
1324
1326
|
constructor();
|
|
1325
1327
|
private verifyEmail;
|