ngx-techlify-core 18.77.0 → 18.78.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.
@@ -12,6 +12,7 @@ export declare class ErrorHandlerService {
12
12
  private config;
13
13
  constructor(alerter: AlertService, config: TechlifyConfig);
14
14
  handleError(errorResponse: any, msg?: string): void;
15
+ clearStorage(): void;
15
16
  isAuthURL(urlStr: string): boolean;
16
17
  static ɵfac: i0.ɵɵFactoryDeclaration<ErrorHandlerService, never>;
17
18
  static ɵprov: i0.ɵɵInjectableDeclaration<ErrorHandlerService>;
@@ -8,6 +8,7 @@ import { MultiUserConfig } from '../user-config/user-config.model';
8
8
  import { UserConfigService } from '../user-config/user-config.service';
9
9
  import { FileDropperConfig } from "../file-dropper";
10
10
  import { ViewerConfig } from "../document-viewer";
11
+ import { CurrentUserService } from './current-user.service';
11
12
  import * as i0 from "@angular/core";
12
13
  export declare class UserFormComponent implements OnInit {
13
14
  dialogRef: MatDialogRef<UserFormComponent>;
@@ -18,6 +19,7 @@ export declare class UserFormComponent implements OnInit {
18
19
  private fb;
19
20
  private formValidatorService;
20
21
  private userService;
22
+ private currentUserService;
21
23
  userConfigService: UserConfigService;
22
24
  userId: number;
23
25
  onSave: EventEmitter<User>;
@@ -31,7 +33,7 @@ export declare class UserFormComponent implements OnInit {
31
33
  fileConfig: FileDropperConfig;
32
34
  viewerConfig: ViewerConfig;
33
35
  fileList: any[];
34
- constructor(dialogRef: MatDialogRef<UserFormComponent>, user: any, http: HttpService, alertService: AlertService, errorHandler: ErrorHandlerService, fb: UntypedFormBuilder, formValidatorService: FormValidatorService, userService: UserService, userConfigService: UserConfigService);
36
+ constructor(dialogRef: MatDialogRef<UserFormComponent>, user: any, http: HttpService, alertService: AlertService, errorHandler: ErrorHandlerService, fb: UntypedFormBuilder, formValidatorService: FormValidatorService, userService: UserService, currentUserService: CurrentUserService, userConfigService: UserConfigService);
35
37
  get roleForms(): UntypedFormArray;
36
38
  get canUpdateUserCredential(): boolean;
37
39
  ngOnInit(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-techlify-core",
3
- "version": "18.77.0",
3
+ "version": "18.78.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=18",
6
6
  "@angular/core": ">=18",
@@ -13,8 +13,7 @@
13
13
  "@angular/material": ">=18",
14
14
  "@angular/cdk": ">=18",
15
15
  "rxjs": ">=7.8.1",
16
- "zone.js": ">=0.14.10",
17
- "ngx-permissions": "^19.0.0"
16
+ "zone.js": ">=0.14.10"
18
17
  },
19
18
  "dependencies": {
20
19
  "tslib": "^2.0.0",
@@ -26,7 +25,8 @@
26
25
  "xlsx": "^0.18.5",
27
26
  "ngx-editor": "^18.0.0",
28
27
  "moment": "^2.29.4",
29
- "ngx-toastr": "^18.0.0"
28
+ "ngx-toastr": "^18.0.0",
29
+ "ngx-permissions": "^19.0.0"
30
30
  },
31
31
  "module": "fesm2022/ngx-techlify-core.mjs",
32
32
  "typings": "index.d.ts",
package/styles/style.scss CHANGED
@@ -93,4 +93,16 @@
93
93
  top: 0px;
94
94
  left: 0px;
95
95
  }
96
+ }
97
+
98
+ //Set the disabled color
99
+ .mat-mdc-form-field.mat-form-field-disabled {
100
+ .mat-mdc-input-element {
101
+ color: #f0f0f0 !important;
102
+ -webkit-text-fill-color: #f0f0f0 !important;
103
+ }
104
+
105
+ .mat-mdc-select-value {
106
+ color: #f0f0f0 !important;
107
+ }
96
108
  }