@mediusinc/mng-commons-layout 5.2.0-rc.0 → 5.2.0-rc.2

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,20 +1,14 @@
1
- import { ElementRef, OnInit, Type } from '@angular/core';
1
+ import { ElementRef, Type } from '@angular/core';
2
2
  import { CommonsService } from '@mediusinc/mng-commons/core';
3
3
  import { MainLayoutComponentService } from '../services/main-layout.component.service';
4
- import { SidebarComponent } from './sidebar.component';
5
4
  import * as i0 from "@angular/core";
6
- export declare class TopbarComponent implements OnInit {
7
- el: ElementRef<any>;
8
- commons: CommonsService;
9
- mainLayoutService: MainLayoutComponentService;
10
- private config;
11
- menuButton: ElementRef;
12
- appSidebar: SidebarComponent;
13
- breadcrumbComponent: Type<any> | false;
14
- topbarUserComponent: Type<any> | false;
15
- locales: Array<string>;
16
- selectedLocale: string;
17
- ngOnInit(): void;
5
+ export declare class TopbarComponent {
6
+ readonly el: ElementRef<any>;
7
+ readonly commons: CommonsService;
8
+ readonly mainLayoutService: MainLayoutComponentService;
9
+ private readonly config;
10
+ topbarUserComponent: import("@angular/core").WritableSignal<Type<any> | undefined>;
11
+ breadcrumbComponent: import("@angular/core").WritableSignal<Type<any> | undefined>;
18
12
  onMenuButtonClick(): void;
19
13
  switchLocale(language: string): void;
20
14
  static ɵfac: i0.ɵɵFactoryDeclaration<TopbarComponent, never>;
@@ -1,16 +1,16 @@
1
- import { OnInit } from '@angular/core';
2
1
  import { VersionConfig, VersionConfigType } from '@mediusinc/mng-commons/core';
3
2
  import * as i0 from "@angular/core";
4
- export declare class VersionComponent implements OnInit {
5
- initVersion?: VersionConfigType;
3
+ export declare class VersionComponent {
6
4
  private readonly versionService;
5
+ private readonly destroyRef;
7
6
  private readonly jsonPathPipe;
8
- displayName?: string;
9
- displayVersion?: string;
10
- versions?: Array<VersionConfig>;
11
- private loadingSubject;
12
- loading$: import("rxjs").Observable<boolean>;
13
- ngOnInit(): void;
7
+ initVersion: import("@angular/core").InputSignal<VersionConfigType>;
8
+ isLoading: import("@angular/core").WritableSignal<boolean>;
9
+ private loadedVersion;
10
+ displayVersion: import("@angular/core").Signal<string | undefined>;
11
+ versions: import("@angular/core").Signal<VersionConfig[] | undefined>;
12
+ displayName: import("@angular/core").Signal<string | undefined>;
13
+ constructor();
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<VersionComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<VersionComponent, "mng-version", never, { "initVersion": { "alias": "version"; "required": false; }; }, {}, never, never, true, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<VersionComponent, "mng-version", never, { "initVersion": { "alias": "version"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
16
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mediusinc/mng-commons-layout",
3
- "version": "5.2.0-rc.0",
3
+ "version": "5.2.0-rc.2",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": "^17.3.0 || ^18.0.0",
6
6
  "@angular/common": "^17.3.0 || ^18.0.0",
@@ -10,7 +10,7 @@
10
10
  "@angular/router": "^17.3.0 || ^18.0.0",
11
11
  "@ngx-translate/core": "^15.0.0",
12
12
  "primeng": "^17.18.0",
13
- "@mediusinc/mng-commons": "~5.2.0-rc.0"
13
+ "@mediusinc/mng-commons": "~5.2.0-rc.2"
14
14
  },
15
15
  "dependencies": {
16
16
  "tslib": "^2.3.0"
@@ -184,7 +184,7 @@
184
184
  border-left-color: $successButtonBg;
185
185
  }
186
186
  }
187
- &-warning {
187
+ &-warn {
188
188
  .p-dialog-header,
189
189
  .p-dialog-content {
190
190
  border-left-color: $warningButtonBg;
@@ -1,3 +1,22 @@
1
- .p-toast .p-toast-message .p-toast-detail {
2
- word-break: break-word;
1
+ .p-toast {
2
+ opacity: 0.95;
3
+
4
+ .p-toast-message {
5
+ &.p-toast-message-info {
6
+ background: var(--surface-section);
7
+ }
8
+ &.p-toast-message-success {
9
+ background: var(--surface-section);
10
+ }
11
+ &.p-toast-message-warn {
12
+ background: var(--surface-section);
13
+ }
14
+ &.p-toast-message-error {
15
+ background: var(--surface-section);
16
+ }
17
+
18
+ .p-toast-detail {
19
+ word-break: break-word;
20
+ }
21
+ }
3
22
  }
package/version-info.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@mediusinc/mng-commons-layout",
3
- "version": "5.2.0-rc.0",
4
- "tag": "v5.1.0-rc.1",
5
- "distance": 11,
6
- "hash": "1fe015b8",
3
+ "version": "5.2.0-rc.2",
4
+ "tag": "v5.2.0-rc.2",
5
+ "distance": 0,
6
+ "hash": "41eee2dc",
7
7
  "dirty": true,
8
- "semver": "5.1.0-rc.1+11.g1fe015b8.dirty",
8
+ "semver": "5.2.0-rc.2+0.g41eee2dc.dirty",
9
9
  "buildTimestamp": null,
10
- "raw": "v5.1.0-rc.1-11-1fe015b8-dirty"
10
+ "raw": "v5.2.0-rc.2-41eee2dc-dirty"
11
11
  }