@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.
- package/esm2022/lib/components/breadcrumb.component.mjs +3 -6
- package/esm2022/lib/components/footer.component.mjs +6 -11
- package/esm2022/lib/components/main-layout.component.mjs +14 -28
- package/esm2022/lib/components/menu-item.component.mjs +39 -66
- package/esm2022/lib/components/menu.component.mjs +24 -23
- package/esm2022/lib/components/sidebar.component.mjs +6 -14
- package/esm2022/lib/components/topbar-user.component.mjs +3 -4
- package/esm2022/lib/components/topbar.component.mjs +7 -25
- package/esm2022/lib/components/version.component.mjs +69 -43
- package/fesm2022/mediusinc-mng-commons-layout.mjs +155 -204
- package/fesm2022/mediusinc-mng-commons-layout.mjs.map +1 -1
- package/lib/components/footer.component.d.ts +4 -5
- package/lib/components/main-layout.component.d.ts +12 -13
- package/lib/components/menu-item.component.d.ts +3 -6
- package/lib/components/menu.component.d.ts +4 -5
- package/lib/components/sidebar.component.d.ts +8 -10
- package/lib/components/topbar-user.component.d.ts +3 -4
- package/lib/components/topbar.component.d.ts +8 -14
- package/lib/components/version.component.d.ts +10 -10
- package/package.json +2 -2
- package/scss/theme/theme-base/mng/_mng_theme_dialog.scss +1 -1
- package/scss/theme/theme-base/mng/_mng_theme_toast.scss +21 -2
- package/version-info.json +6 -6
|
@@ -1,20 +1,14 @@
|
|
|
1
|
-
import { ElementRef,
|
|
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
|
|
7
|
-
el: ElementRef<any>;
|
|
8
|
-
commons: CommonsService;
|
|
9
|
-
mainLayoutService: MainLayoutComponentService;
|
|
10
|
-
private config;
|
|
11
|
-
|
|
12
|
-
|
|
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
|
|
5
|
-
initVersion?: VersionConfigType;
|
|
3
|
+
export declare class VersionComponent {
|
|
6
4
|
private readonly versionService;
|
|
5
|
+
private readonly destroyRef;
|
|
7
6
|
private readonly jsonPathPipe;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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.
|
|
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.
|
|
13
|
+
"@mediusinc/mng-commons": "~5.2.0-rc.2"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"tslib": "^2.3.0"
|
|
@@ -1,3 +1,22 @@
|
|
|
1
|
-
.p-toast
|
|
2
|
-
|
|
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.
|
|
4
|
-
"tag": "v5.
|
|
5
|
-
"distance":
|
|
6
|
-
"hash": "
|
|
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.
|
|
8
|
+
"semver": "5.2.0-rc.2+0.g41eee2dc.dirty",
|
|
9
9
|
"buildTimestamp": null,
|
|
10
|
-
"raw": "v5.
|
|
10
|
+
"raw": "v5.2.0-rc.2-41eee2dc-dirty"
|
|
11
11
|
}
|