@mediusinc/mng-commons 4.0.1-rc.0 → 4.1.0-rc.0-4e19f910

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.
@@ -1,8 +1,12 @@
1
+ import { OnInit, Type } from '@angular/core';
1
2
  import { MngCommonsService } from '../../services';
2
3
  import * as i0 from "@angular/core";
3
- export declare class MngFooterV2Component {
4
+ export declare class MngFooterV2Component implements OnInit {
5
+ private config;
4
6
  mngCommons: MngCommonsService;
5
7
  currentYear: number;
8
+ versionComponent: Type<any> | false;
9
+ ngOnInit(): void;
6
10
  static ɵfac: i0.ɵɵFactoryDeclaration<MngFooterV2Component, never>;
7
11
  static ɵcmp: i0.ɵɵComponentDeclaration<MngFooterV2Component, "mng-footer-v2", never, {}, {}, never, never, true, never>;
8
12
  }
@@ -29,5 +29,6 @@ export interface MngLayoutConfigV2 {
29
29
  footer?: Type<any> | false;
30
30
  breadcrumb?: Type<any> | false;
31
31
  topbarUser?: Type<any> | false;
32
+ version?: Type<any> | false;
32
33
  };
33
34
  }
@@ -1,8 +1,8 @@
1
+ import { HttpBackend } from '@angular/common/http';
1
2
  import { Observable } from 'rxjs';
2
3
  import { MngCommonsInitEventEnum } from '../models';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class MngCommonsInitService {
5
- private readonly httpClient;
6
6
  private readonly logger;
7
7
  private readonly logPublishers;
8
8
  private readonly config;
@@ -11,11 +11,12 @@ export declare class MngCommonsInitService {
11
11
  private readonly moduleConfig;
12
12
  private readonly commonsInitializers;
13
13
  private isInitialized;
14
+ private httpClient;
14
15
  private isInitializedSubject;
15
16
  private commonsInitServiceEvents;
16
17
  get events$(): Observable<MngCommonsInitEventEnum>;
17
18
  get isInitialized$(): Observable<boolean>;
18
- initialize(): Observable<void>;
19
+ initialize(handler: HttpBackend): Observable<void>;
19
20
  static ɵfac: i0.ɵɵFactoryDeclaration<MngCommonsInitService, never>;
20
21
  static ɵprov: i0.ɵɵInjectableDeclaration<MngCommonsInitService>;
21
22
  }
@@ -1,3 +1,4 @@
1
+ import { HttpBackend } from '@angular/common/http';
1
2
  import { Observable } from 'rxjs';
2
3
  import { MngCommonsInitService } from '../commons-init.service';
3
- export declare function mngCommonsInitializerProvider(mngCommonsInit: MngCommonsInitService): () => Observable<void>;
4
+ export declare function mngCommonsInitializerProvider(handler: HttpBackend, mngCommonsInit: MngCommonsInitService): () => Observable<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mediusinc/mng-commons",
3
- "version": "4.0.1-rc.0",
3
+ "version": "4.1.0-rc.0-4e19f910",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^17.0.0",
6
6
  "@angular/common": "^17.0.0",
@@ -10,7 +10,7 @@
10
10
  "@angular/router": "^17.0.0",
11
11
  "@ngx-formly/core": "^6.3.0",
12
12
  "@ngx-translate/core": "^15.0.0",
13
- "primeng": "~17.3.0"
13
+ "primeng": "~17.4.0"
14
14
  },
15
15
  "dependencies": {
16
16
  "reflect-metadata": "^0.1.13",
@@ -26,7 +26,13 @@
26
26
  }
27
27
  }
28
28
 
29
+ .version {
30
+ font-size: 0.875rem;
31
+ color: var(--text-color-secondary);
32
+ }
33
+
29
34
  .copyright {
35
+ float: right;
30
36
  font-size: 0.875rem;
31
37
  color: var(--text-color-secondary);
32
38
  }
@@ -5,7 +5,7 @@
5
5
 
6
6
  .layout-topbar .topbar-menu li.topbar-item ul {
7
7
  padding: 8px 0 8px 0;
8
- background: white;
8
+ background: $inputOverlayBg;
9
9
  box-shadow: $inputOverlayShadow;
10
10
 
11
11
  & li {