@mediusinc/mng-commons-layout 6.2.0 → 7.0.0-rc.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/components/index.d.ts +168 -10
- package/components/pages/error/index.d.ts +10 -1
- package/components/pages/main/index.d.ts +35 -2
- package/components/pages/main/lazy/index.d.ts +11 -1
- package/components/pages/not-found/index.d.ts +10 -1
- package/fesm2022/mediusinc-mng-commons-layout-components-pages-error.mjs +4 -4
- package/fesm2022/mediusinc-mng-commons-layout-components-pages-error.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-layout-components-pages-main-lazy.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-layout-components-pages-main.mjs +9 -9
- package/fesm2022/mediusinc-mng-commons-layout-components-pages-main.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-layout-components-pages-not-found.mjs +4 -4
- package/fesm2022/mediusinc-mng-commons-layout-components-pages-not-found.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-layout-components.mjs +66 -65
- package/fesm2022/mediusinc-mng-commons-layout-components.mjs.map +1 -1
- package/fesm2022/mediusinc-mng-commons-layout.mjs +40 -41
- package/fesm2022/mediusinc-mng-commons-layout.mjs.map +1 -1
- package/index.d.ts +206 -8
- package/package.json +25 -16
- package/styles/atlantis/index.scss +16 -0
- package/{scss → styles/atlantis}/layout/_content.scss +1 -1
- package/{scss → styles/atlantis}/layout/_main.scss +17 -2
- package/{scss → styles/atlantis}/layout/_profile.scss +1 -1
- package/styles/atlantis/layout/_sass_variables.scss +1 -0
- package/{scss → styles/atlantis}/layout/_sidebar_drawer.scss +5 -3
- package/{scss → styles/atlantis}/layout/_sidebar_horizontal.scss +8 -10
- package/{scss → styles/atlantis}/layout/_sidebar_reveal.scss +9 -12
- package/{scss → styles/atlantis}/layout/_sidebar_slim.scss +1 -2
- package/{scss → styles/atlantis}/layout/_sidebar_slim_plus.scss +1 -2
- package/{scss → styles/atlantis}/layout/_sidebar_vertical.scss +3 -1
- package/{scss → styles/atlantis}/layout/_topbar.scss +0 -1
- package/styles/atlantis/layout/atlantis.scss +0 -0
- package/{scss → styles/atlantis}/layout/layout.scss +3 -3
- package/{scss → styles/atlantis}/layout/variables/_dark.scss +2 -2
- package/{scss → styles/atlantis}/layout/variables/_light.scss +2 -2
- package/styles/tailwindcss-commons/atlantis/index.css +20 -0
- package/styles/tailwindcss-commons/atlantis/layout/breadcrumb.css +100 -0
- package/styles/tailwindcss-commons/atlantis/layout/content.css +3 -0
- package/styles/tailwindcss-commons/atlantis/layout/main.css +67 -0
- package/styles/tailwindcss-commons/atlantis/layout/profile.css +10 -0
- package/styles/tailwindcss-commons/atlantis/layout/responsive.css +131 -0
- package/styles/tailwindcss-commons/atlantis/layout/sidebar-drawer.css +286 -0
- package/styles/tailwindcss-commons/atlantis/layout/sidebar-reveal.css +204 -0
- package/styles/tailwindcss-commons/atlantis/layout/sidebar-slim-plus.css +166 -0
- package/styles/tailwindcss-commons/atlantis/layout/sidebar-slim.css +156 -0
- package/styles/tailwindcss-commons/atlantis/layout/sidebar-vertical.css +184 -0
- package/styles/tailwindcss-commons/atlantis/layout/topbar.css +203 -0
- package/styles/tailwindcss-commons/atlantis/layout/utils.css +29 -0
- package/styles/tailwindcss-commons/atlantis/variables/common.css +15 -0
- package/styles/tailwindcss-commons/atlantis/variables/dark.css +10 -0
- package/styles/tailwindcss-commons/atlantis/variables/light.css +10 -0
- package/styles/tailwindcss-commons/index.css +14 -0
- package/styles/tailwindcss-commons/index_wo_atlantis.css +13 -0
- package/styles/tailwindcss-commons/setup/breakpoints.css +15 -0
- package/styles/tailwindcss-commons/setup/dark.css +2 -0
- package/{scss/layout/mng/variables/_mng-variables-common.scss → styles/tailwindcss-commons/setup/variables.css} +9 -0
- package/{scss/layout/mng/theme/_mng_theme_button.scss → styles/tailwindcss-commons/styles/button.css} +2 -2
- package/{scss/layout/mng/theme/_mng_theme_dialog.scss → styles/tailwindcss-commons/styles/dialog.css} +22 -18
- package/styles/tailwindcss-commons/styles/tailwind.css +44 -0
- package/styles/tailwindcss-commons/styles/topbar.css +24 -0
- package/version-info.json +6 -6
- package/components/lib/components/breadcrumb.component.d.ts +0 -9
- package/components/lib/components/footer.component.d.ts +0 -13
- package/components/lib/components/main-layout.component.d.ts +0 -23
- package/components/lib/components/menu-item.component.d.ts +0 -26
- package/components/lib/components/menu.component.d.ts +0 -12
- package/components/lib/components/settings.component.d.ts +0 -28
- package/components/lib/components/sidebar.component.d.ts +0 -15
- package/components/lib/components/topbar-user.component.d.ts +0 -16
- package/components/lib/components/topbar.component.d.ts +0 -16
- package/components/lib/components/version.component.d.ts +0 -19
- package/components/pages/error/lib/error.page.component.d.ts +0 -7
- package/components/pages/main/lazy/lib/route-builder.d.ts +0 -8
- package/components/pages/main/lib/main-layout.component.d.ts +0 -23
- package/components/pages/main/lib/route-builder.d.ts +0 -8
- package/components/pages/not-found/lib/not-found.page.component.d.ts +0 -7
- package/lib/helpers/menu-items.d.ts +0 -5
- package/lib/models/layout-state.model.d.ts +0 -10
- package/lib/models/menu.model.d.ts +0 -4
- package/lib/provide.d.ts +0 -8
- package/lib/services/layout-feature-config.token.d.ts +0 -91
- package/lib/services/layout.service.d.ts +0 -48
- package/lib/services/menu.service.d.ts +0 -22
- package/lib/services/version.service.d.ts +0 -14
- package/scss/commons.scss +0 -1
- package/scss/layout/_sass_variables.scss +0 -1
- package/scss/layout/mng/layout/_mng_layout_topbar.scss +0 -18
- /package/{scss → styles/atlantis}/layout/_breadcrumb.scss +0 -0
- /package/{scss → styles/atlantis}/layout/_config.scss +0 -0
- /package/{scss → styles/atlantis}/layout/_responsive.scss +0 -0
- /package/{scss → styles/atlantis}/layout/_utils.scss +0 -0
- /package/{scss → styles/atlantis}/layout/variables/_common.scss +0 -0
- /package/{scss/layout/mng/layout/_mng_layout_footer.scss → styles/tailwindcss-commons/styles/footer.css} +0 -0
- /package/{scss/layout/mng/layout/_mng_layout.scss → styles/tailwindcss-commons/styles/layout.css} +0 -0
- /package/{scss/layout/mng/layout/_mng_layout_menu.scss → styles/tailwindcss-commons/styles/menu.css} +0 -0
- /package/{scss/layout/mng/layout/_mng_sidebar_vertical.scss → styles/tailwindcss-commons/styles/sidebar.css} +0 -0
- /package/{scss/layout/mng/theme/_mng_theme_toast.scss → styles/tailwindcss-commons/styles/toast.css} +0 -0
- /package/{scss/layout/mng/theme/_mng_theme_toggleswitch.scss → styles/tailwindcss-commons/styles/toggleswitch.css} +0 -0
package/components/index.d.ts
CHANGED
|
@@ -1,10 +1,168 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { Type, OnDestroy, Injector, ElementRef } from '@angular/core';
|
|
3
|
+
import * as _mediusinc_mng_commons_layout from '@mediusinc/mng-commons-layout';
|
|
4
|
+
import { LayoutService, MenuService, LayoutMenuMode } from '@mediusinc/mng-commons-layout';
|
|
5
|
+
import { CommonsService, InternalCommonsMenuItem, ColorScheme, IUser, VersionConfigType, VersionConfig } from '@mediusinc/mng-commons/core';
|
|
6
|
+
import { MenuItem } from 'primeng/api';
|
|
7
|
+
import * as _angular_router from '@angular/router';
|
|
8
|
+
import { AnimationEvent } from '@angular/animations';
|
|
9
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
10
|
+
import * as _angular_platform_browser from '@angular/platform-browser';
|
|
11
|
+
|
|
12
|
+
declare class FooterComponent {
|
|
13
|
+
private config;
|
|
14
|
+
readonly layout: LayoutService;
|
|
15
|
+
commons: CommonsService;
|
|
16
|
+
currentYear: _angular_core.WritableSignal<number>;
|
|
17
|
+
versionComponent: _angular_core.WritableSignal<Type<any> | undefined>;
|
|
18
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FooterComponent, never>;
|
|
19
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FooterComponent, "mng-footer", never, {}, {}, never, never, true, never>;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
declare class BreadcrumbComponent {
|
|
23
|
+
private commons;
|
|
24
|
+
mappedBreadcrumbs: _angular_core.Signal<MenuItem[]>;
|
|
25
|
+
private mapMenuItem;
|
|
26
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<BreadcrumbComponent, never>;
|
|
27
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<BreadcrumbComponent, "mng-breadcrumb", never, {}, {}, never, never, true, never>;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
declare class MainLayoutComponent implements OnDestroy {
|
|
31
|
+
private readonly config;
|
|
32
|
+
readonly layout: LayoutService;
|
|
33
|
+
private readonly menuService;
|
|
34
|
+
private readonly renderer;
|
|
35
|
+
private appTopbar;
|
|
36
|
+
readonly ripple: _angular_core.WritableSignal<boolean>;
|
|
37
|
+
topbarComponent: _angular_core.WritableSignal<Type<any> | undefined>;
|
|
38
|
+
breadcrumbsComponent: _angular_core.WritableSignal<Type<any> | undefined>;
|
|
39
|
+
footerComponent: _angular_core.WritableSignal<Type<any> | undefined>;
|
|
40
|
+
useNotificationWrapper: _angular_core.WritableSignal<boolean>;
|
|
41
|
+
private menuOutsideClickListener;
|
|
42
|
+
constructor();
|
|
43
|
+
blockBodyScroll(): void;
|
|
44
|
+
unblockBodyScroll(): void;
|
|
45
|
+
hideMenu(): void;
|
|
46
|
+
ngOnDestroy(): void;
|
|
47
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MainLayoutComponent, never>;
|
|
48
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MainLayoutComponent, "mng-main-layout", never, {}, {}, never, never, true, never>;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
declare class MenuComponent {
|
|
52
|
+
private readonly route;
|
|
53
|
+
private readonly config;
|
|
54
|
+
private readonly layout;
|
|
55
|
+
readonly menuService: MenuService;
|
|
56
|
+
routeData: _angular_core.Signal<_angular_router.Data | undefined>;
|
|
57
|
+
constructor();
|
|
58
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MenuComponent, never>;
|
|
59
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MenuComponent, "mng-menu", never, {}, {}, never, never, true, never>;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
declare class MenuItemComponent {
|
|
63
|
+
private readonly menuService;
|
|
64
|
+
private readonly permissionService;
|
|
65
|
+
readonly layout: LayoutService;
|
|
66
|
+
item: _angular_core.InputSignal<InternalCommonsMenuItem>;
|
|
67
|
+
root: _angular_core.InputSignal<boolean>;
|
|
68
|
+
visibleChange: _angular_core.OutputEmitterRef<boolean>;
|
|
69
|
+
private submenuElRef;
|
|
70
|
+
isPermitted: _angular_core.Signal<boolean | undefined>;
|
|
71
|
+
isVisibleFromItemSettings: _angular_core.Signal<boolean | undefined>;
|
|
72
|
+
private menuChangeEvents;
|
|
73
|
+
active: _angular_core.Signal<boolean>;
|
|
74
|
+
visible: _angular_core.Signal<boolean>;
|
|
75
|
+
submenuAnimation: _angular_core.Signal<"collapsed" | "expanded" | "hidden" | "visible">;
|
|
76
|
+
constructor();
|
|
77
|
+
itemClick(event: Event): void;
|
|
78
|
+
onSubmenuAnimated(event: AnimationEvent): void;
|
|
79
|
+
onChildVisibleChange(visible: boolean, item: InternalCommonsMenuItem, idx: number): void;
|
|
80
|
+
private calculatePosition;
|
|
81
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MenuItemComponent, never>;
|
|
82
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MenuItemComponent, "[mng-menuitem]", never, { "item": { "alias": "item"; "required": true; "isSignal": true; }; "root": { "alias": "root"; "required": false; "isSignal": true; }; }, { "visibleChange": "visibleChange"; }, never, never, true, never>;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
interface ColorSchemeOption {
|
|
86
|
+
value: ColorScheme;
|
|
87
|
+
label: string;
|
|
88
|
+
}
|
|
89
|
+
declare class SettingsComponent {
|
|
90
|
+
private readonly dynamicDialogConfig;
|
|
91
|
+
private readonly dynamicDialogRef;
|
|
92
|
+
readonly injector: Injector;
|
|
93
|
+
readonly translate: TranslateService;
|
|
94
|
+
readonly commons: CommonsService;
|
|
95
|
+
readonly layout: LayoutService;
|
|
96
|
+
readonly menuModes: LayoutMenuMode[];
|
|
97
|
+
colorSchemeOptions: _angular_core.WritableSignal<ColorSchemeOption[]>;
|
|
98
|
+
constructor();
|
|
99
|
+
switchLocale(language: string): void;
|
|
100
|
+
switchDataLocale(language: string): void;
|
|
101
|
+
onMenuModeChange(mode: LayoutMenuMode): void;
|
|
102
|
+
onColorSchemeChange(scheme: ColorScheme): void;
|
|
103
|
+
closeDialog(): void;
|
|
104
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SettingsComponent, never>;
|
|
105
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SettingsComponent, "mng-settings", never, {}, {}, never, never, true, never>;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
declare class SidebarComponent {
|
|
109
|
+
private readonly config;
|
|
110
|
+
readonly layout: LayoutService;
|
|
111
|
+
readonly el: ElementRef<any>;
|
|
112
|
+
menuComponent: _angular_core.WritableSignal<Type<any> | undefined>;
|
|
113
|
+
private timeout;
|
|
114
|
+
onMouseEnter(): void;
|
|
115
|
+
onMouseLeave(): void;
|
|
116
|
+
anchor(): void;
|
|
117
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidebarComponent, never>;
|
|
118
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SidebarComponent, "mng-sidebar", never, {}, {}, never, never, true, never>;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
declare class TopbarComponent {
|
|
122
|
+
readonly el: ElementRef<any>;
|
|
123
|
+
readonly commons: CommonsService;
|
|
124
|
+
readonly layout: LayoutService;
|
|
125
|
+
protected readonly config: _mediusinc_mng_commons_layout.LayoutFeatureConfig | null;
|
|
126
|
+
topbarUserComponent: _angular_core.WritableSignal<Type<any> | undefined>;
|
|
127
|
+
breadcrumbComponent: _angular_core.WritableSignal<Type<any> | undefined>;
|
|
128
|
+
onMenuButtonClick(): void;
|
|
129
|
+
switchLocale(language: string): void;
|
|
130
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TopbarComponent, never>;
|
|
131
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TopbarComponent, "mng-topbar", never, {}, {}, never, never, true, never>;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
declare class TopbarUserComponent {
|
|
135
|
+
private readonly injector;
|
|
136
|
+
private readonly dialogService;
|
|
137
|
+
private readonly commons;
|
|
138
|
+
hrefJsVoid: _angular_platform_browser.SafeUrl;
|
|
139
|
+
private readonly config;
|
|
140
|
+
user: _angular_core.Signal<IUser | undefined>;
|
|
141
|
+
userRoles: _angular_core.Signal<string[]>;
|
|
142
|
+
settingsDisabled: _angular_core.WritableSignal<boolean>;
|
|
143
|
+
logout(user: IUser | undefined, event: Event): void;
|
|
144
|
+
openSettings(): void;
|
|
145
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TopbarUserComponent, never>;
|
|
146
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TopbarUserComponent, "mng-topbar-user-component", never, {}, {}, never, never, true, never>;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
declare class VersionComponent {
|
|
150
|
+
protected readonly cmp: typeof VersionComponent;
|
|
151
|
+
private readonly versionService;
|
|
152
|
+
private readonly configService;
|
|
153
|
+
private readonly destroyRef;
|
|
154
|
+
private readonly jsonPathPipe;
|
|
155
|
+
readonly versionInput: _angular_core.InputSignal<VersionConfigType>;
|
|
156
|
+
readonly isLoading: _angular_core.WritableSignal<boolean>;
|
|
157
|
+
private readonly loadedVersion;
|
|
158
|
+
versionAsArray: _angular_core.Signal<VersionConfig[] | undefined>;
|
|
159
|
+
private readonly versionInfo;
|
|
160
|
+
private readonly versionAsString;
|
|
161
|
+
private readonly displayName;
|
|
162
|
+
readonly displayText: _angular_core.Signal<string>;
|
|
163
|
+
constructor();
|
|
164
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<VersionComponent, never>;
|
|
165
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<VersionComponent, "mng-version", never, { "versionInput": { "alias": "version"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
export { BreadcrumbComponent, FooterComponent, MainLayoutComponent, MenuComponent, MenuItemComponent, SettingsComponent, SidebarComponent, TopbarComponent, TopbarUserComponent, VersionComponent };
|
|
@@ -1 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import { LayoutService } from '@mediusinc/mng-commons-layout';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
|
|
4
|
+
declare class ErrorPageComponent {
|
|
5
|
+
readonly layout: LayoutService;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorPageComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ErrorPageComponent, "mng-error-page", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { ErrorPageComponent };
|
|
@@ -1,2 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { OnDestroy, Type } from '@angular/core';
|
|
3
|
+
import { LayoutService } from '@mediusinc/mng-commons-layout';
|
|
4
|
+
import { RouteBuilder } from '@mediusinc/mng-commons/core';
|
|
5
|
+
|
|
6
|
+
declare class MainLayoutComponent implements OnDestroy {
|
|
7
|
+
private readonly config;
|
|
8
|
+
readonly layout: LayoutService;
|
|
9
|
+
private readonly menuService;
|
|
10
|
+
private readonly renderer;
|
|
11
|
+
private appTopbar;
|
|
12
|
+
readonly ripple: _angular_core.WritableSignal<boolean>;
|
|
13
|
+
topbarComponent: _angular_core.WritableSignal<Type<any> | undefined>;
|
|
14
|
+
breadcrumbsComponent: _angular_core.WritableSignal<Type<any> | undefined>;
|
|
15
|
+
footerComponent: _angular_core.WritableSignal<Type<any> | undefined>;
|
|
16
|
+
useNotificationWrapper: _angular_core.WritableSignal<boolean>;
|
|
17
|
+
private menuOutsideClickListener;
|
|
18
|
+
constructor();
|
|
19
|
+
blockBodyScroll(): void;
|
|
20
|
+
unblockBodyScroll(): void;
|
|
21
|
+
hideMenu(): void;
|
|
22
|
+
ngOnDestroy(): void;
|
|
23
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MainLayoutComponent, never>;
|
|
24
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MainLayoutComponent, "mng-main-layout", never, {}, {}, never, never, true, never>;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Creates a layout route on the specified path.
|
|
29
|
+
*
|
|
30
|
+
* @param {String} path - The path of the route.
|
|
31
|
+
* @return {RouteBuilder} - The route builder for the layout route.
|
|
32
|
+
*/
|
|
33
|
+
declare function createLayoutRoute(path: string): RouteBuilder;
|
|
34
|
+
|
|
35
|
+
export { MainLayoutComponent, createLayoutRoute };
|
|
@@ -1 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
import { RouteBuilder } from '@mediusinc/mng-commons/core';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Creates a layout route on the specified path.
|
|
5
|
+
*
|
|
6
|
+
* @param {String} path - The path of the route.
|
|
7
|
+
* @return {RouteBuilder} - The route builder for the layout route.
|
|
8
|
+
*/
|
|
9
|
+
declare function createLayoutLazyRoute(path: string): RouteBuilder;
|
|
10
|
+
|
|
11
|
+
export { createLayoutLazyRoute };
|
|
@@ -1 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import { LayoutService } from '@mediusinc/mng-commons-layout';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
|
|
4
|
+
declare class NotFoundPageComponent {
|
|
5
|
+
readonly layout: LayoutService;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NotFoundPageComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NotFoundPageComponent, "mng-not-found-page", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export { NotFoundPageComponent };
|
|
@@ -9,12 +9,12 @@ class ErrorPageComponent {
|
|
|
9
9
|
constructor() {
|
|
10
10
|
this.layout = inject(LayoutService);
|
|
11
11
|
}
|
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
12
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: ErrorPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.7", type: ErrorPageComponent, isStandalone: true, selector: "mng-error-page", ngImport: i0, template: "<div [class]=\"'exception-body min-h-screen ' + (layout.colorSchemeIsLight() ? 'layout-light' : 'layout-dark')\">\n <div class=\"exception-container min-h-screen flex items-center justify-center flex-col bg-auto md:bg-contain bg-no-repeat\">\n <div class=\"exception-panel text-center flex items-center justify-center flex-col\">\n <h1 class=\"text-red-400 mb-0\">{{ 'pages.error.title' | translate }}</h1>\n <h3 class=\"text-red-300\">{{ 'pages.error.subtitle' | translate }}</h3>\n <button type=\"button\" pButton [label]=\"'general.returnHome' | translate\" [routerLink]=\"['/']\"></button>\n </div>\n <div class=\"exception-footer items-center flex\">\n @if (layout.appLogo()) {\n <img [src]=\"layout.appLogo()\" class=\"exception-logo\" alt=\"App logo\" />\n }\n @if (layout.appLogoName()) {\n <img [src]=\"layout.appLogoName()\" class=\"exception-appname ml-4\" alt=\"App name\" />\n }\n </div>\n </div>\n</div>\n", styles: [".exception-body{background:var(--surface-ground)}.exception-body .exception-container{background:var(--exception-pages-image);background-repeat:no-repeat;background-size:contain;box-sizing:border-box}.exception-body .exception-container .exception-panel{box-sizing:border-box;flex-grow:1;margin-top:3rem;margin-bottom:3rem}.exception-body .exception-container .exception-panel h1{font-size:140px;font-weight:900;text-shadow:0 0 50px rgba(#fc6161,.2)}.exception-body .exception-container .exception-panel h3{font-size:80px;font-weight:900;margin-top:-90px;margin-bottom:50px}.exception-body .exception-container .exception-panel button{margin-top:50px}.exception-body .exception-container .exception-footer{margin-bottom:2rem}.exception-body .exception-container .exception-footer .exception-logo{width:34px}.exception-body .exception-container .exception-footer .exception-appname{width:72px}\n"], dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain", "fluid", "label", "icon", "buttonProps"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
14
14
|
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: ErrorPageComponent, decorators: [{
|
|
16
16
|
type: Component,
|
|
17
|
-
args: [{ selector: 'mng-error-page', imports: [TranslatePipe, RouterLink, ButtonDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [class]=\"'exception-body min-h-screen ' + (layout.colorSchemeIsLight() ? 'layout-light' : 'layout-dark')\">\n <div class=\"exception-container min-h-screen flex items-center justify-center flex-col bg-auto md:bg-contain bg-no-repeat\">\n <div class=\"exception-panel text-center flex items-center justify-center flex-col\">\n <h1 class=\"text-red-400 mb-0\">{{ 'pages.error.title' | translate }}</h1>\n <h3 class=\"text-red-300\">{{ 'pages.error.subtitle' | translate }}</h3>\n <button type=\"button\" pButton [label]=\"'general.returnHome' | translate\" [routerLink]=\"['/']\"></button>\n </div>\n <div class=\"exception-footer items-center flex\">\n @if (layout.appLogo()) {\n <img [src]=\"layout.appLogo()\" class=\"exception-logo\" alt=\"App logo\" />\n }\n @if (layout.appLogoName()) {\n <img [src]=\"layout.appLogoName()\" class=\"exception-appname ml-4\" alt=\"App name\" />\n }\n </div>\n </div>\n</div>\n", styles: [".exception-body{background:var(--surface-ground)}.exception-body .exception-container{background:var(--exception-pages-image);background-repeat:no-repeat;background-size:contain;box-sizing:border-box}.exception-body .exception-container .exception-panel{box-sizing:border-box;flex-grow:1;margin-top:3rem;margin-bottom:3rem}.exception-body .exception-container .exception-panel h1{font-size:140px;font-weight:900;text-shadow:0 0 50px rgba(
|
|
17
|
+
args: [{ selector: 'mng-error-page', imports: [TranslatePipe, RouterLink, ButtonDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [class]=\"'exception-body min-h-screen ' + (layout.colorSchemeIsLight() ? 'layout-light' : 'layout-dark')\">\n <div class=\"exception-container min-h-screen flex items-center justify-center flex-col bg-auto md:bg-contain bg-no-repeat\">\n <div class=\"exception-panel text-center flex items-center justify-center flex-col\">\n <h1 class=\"text-red-400 mb-0\">{{ 'pages.error.title' | translate }}</h1>\n <h3 class=\"text-red-300\">{{ 'pages.error.subtitle' | translate }}</h3>\n <button type=\"button\" pButton [label]=\"'general.returnHome' | translate\" [routerLink]=\"['/']\"></button>\n </div>\n <div class=\"exception-footer items-center flex\">\n @if (layout.appLogo()) {\n <img [src]=\"layout.appLogo()\" class=\"exception-logo\" alt=\"App logo\" />\n }\n @if (layout.appLogoName()) {\n <img [src]=\"layout.appLogoName()\" class=\"exception-appname ml-4\" alt=\"App name\" />\n }\n </div>\n </div>\n</div>\n", styles: [".exception-body{background:var(--surface-ground)}.exception-body .exception-container{background:var(--exception-pages-image);background-repeat:no-repeat;background-size:contain;box-sizing:border-box}.exception-body .exception-container .exception-panel{box-sizing:border-box;flex-grow:1;margin-top:3rem;margin-bottom:3rem}.exception-body .exception-container .exception-panel h1{font-size:140px;font-weight:900;text-shadow:0 0 50px rgba(#fc6161,.2)}.exception-body .exception-container .exception-panel h3{font-size:80px;font-weight:900;margin-top:-90px;margin-bottom:50px}.exception-body .exception-container .exception-panel button{margin-top:50px}.exception-body .exception-container .exception-footer{margin-bottom:2rem}.exception-body .exception-container .exception-footer .exception-logo{width:34px}.exception-body .exception-container .exception-footer .exception-appname{width:72px}\n"] }]
|
|
18
18
|
}] });
|
|
19
19
|
|
|
20
20
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mediusinc-mng-commons-layout-components-pages-error.mjs","sources":["../../components/pages/error/src/lib/error.page.component.ts","../../components/pages/error/src/lib/error.page.component.html","../../components/pages/error/src/mediusinc-mng-commons-layout-components-pages-error.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, inject} from '@angular/core';\nimport {RouterLink} from '@angular/router';\n\nimport {TranslatePipe} from '@ngx-translate/core';\nimport {ButtonDirective} from 'primeng/button';\n\nimport {LayoutService} from '@mediusinc/mng-commons-layout';\n\n@Component({\n selector: 'mng-error-page',\n imports: [TranslatePipe, RouterLink, ButtonDirective],\n styleUrls: ['error.page.component.scss'],\n templateUrl: './error.page.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class ErrorPageComponent {\n public readonly layout = inject(LayoutService);\n}\n","<div [class]=\"'exception-body min-h-screen ' + (layout.colorSchemeIsLight() ? 'layout-light' : 'layout-dark')\">\n <div class=\"exception-container min-h-screen flex items-center justify-center flex-col bg-auto md:bg-contain bg-no-repeat\">\n <div class=\"exception-panel text-center flex items-center justify-center flex-col\">\n <h1 class=\"text-red-400 mb-0\">{{ 'pages.error.title' | translate }}</h1>\n <h3 class=\"text-red-300\">{{ 'pages.error.subtitle' | translate }}</h3>\n <button type=\"button\" pButton [label]=\"'general.returnHome' | translate\" [routerLink]=\"['/']\"></button>\n </div>\n <div class=\"exception-footer items-center flex\">\n @if (layout.appLogo()) {\n <img [src]=\"layout.appLogo()\" class=\"exception-logo\" alt=\"App logo\" />\n }\n @if (layout.appLogoName()) {\n <img [src]=\"layout.appLogoName()\" class=\"exception-appname ml-4\" alt=\"App name\" />\n }\n </div>\n </div>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAea,kBAAkB,CAAA;AAP/B,IAAA,WAAA,GAAA;AAQoB,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,aAAa,CAAC;AACjD;+GAFY,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAlB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,kBAAkB,0ECf/B,siCAiBA,EAAA,MAAA,EAAA,CAAA,k4BAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EDPc,aAAa,EAAE,IAAA,EAAA,WAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,UAAU,oOAAE,eAAe,EAAA,QAAA,EAAA,WAAA,EAAA,MAAA,EAAA,CAAA,SAAA,EAAA,aAAA,EAAA,SAAA,EAAA,UAAA,EAAA,QAAA,EAAA,SAAA,EAAA,MAAA,EAAA,UAAA,EAAA,MAAA,EAAA,OAAA,EAAA,OAAA,EAAA,OAAA,EAAA,MAAA,EAAA,aAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;4FAK3C,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAP9B,SAAS;+BACI,gBAAgB,EAAA,OAAA,EACjB,CAAC,aAAa,EAAE,UAAU,EAAE,eAAe,CAAC,EAAA,eAAA,EAGpC,uBAAuB,CAAC,MAAM,EAAA,QAAA,EAAA,siCAAA,EAAA,MAAA,EAAA,CAAA,k4BAAA,CAAA,EAAA;;;AEbnD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"mediusinc-mng-commons-layout-components-pages-error.mjs","sources":["../tmp-esm2022/components/pages/error/lib/error.page.component.js","../tmp-esm2022/components/pages/error/mediusinc-mng-commons-layout-components-pages-error.js"],"sourcesContent":["import { ChangeDetectionStrategy, Component, inject } from '@angular/core';\nimport { RouterLink } from '@angular/router';\nimport { TranslatePipe } from '@ngx-translate/core';\nimport { ButtonDirective } from 'primeng/button';\nimport { LayoutService } from '@mediusinc/mng-commons-layout';\nimport * as i0 from \"@angular/core\";\nexport class ErrorPageComponent {\n constructor() {\n this.layout = inject(LayoutService);\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.7\", ngImport: i0, type: ErrorPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"20.1.7\", type: ErrorPageComponent, isStandalone: true, selector: \"mng-error-page\", ngImport: i0, template: \"<div [class]=\\\"'exception-body min-h-screen ' + (layout.colorSchemeIsLight() ? 'layout-light' : 'layout-dark')\\\">\\n <div class=\\\"exception-container min-h-screen flex items-center justify-center flex-col bg-auto md:bg-contain bg-no-repeat\\\">\\n <div class=\\\"exception-panel text-center flex items-center justify-center flex-col\\\">\\n <h1 class=\\\"text-red-400 mb-0\\\">{{ 'pages.error.title' | translate }}</h1>\\n <h3 class=\\\"text-red-300\\\">{{ 'pages.error.subtitle' | translate }}</h3>\\n <button type=\\\"button\\\" pButton [label]=\\\"'general.returnHome' | translate\\\" [routerLink]=\\\"['/']\\\"></button>\\n </div>\\n <div class=\\\"exception-footer items-center flex\\\">\\n @if (layout.appLogo()) {\\n <img [src]=\\\"layout.appLogo()\\\" class=\\\"exception-logo\\\" alt=\\\"App logo\\\" />\\n }\\n @if (layout.appLogoName()) {\\n <img [src]=\\\"layout.appLogoName()\\\" class=\\\"exception-appname ml-4\\\" alt=\\\"App name\\\" />\\n }\\n </div>\\n </div>\\n</div>\\n\", styles: [\".exception-body{background:var(--surface-ground)}.exception-body .exception-container{background:var(--exception-pages-image);background-repeat:no-repeat;background-size:contain;box-sizing:border-box}.exception-body .exception-container .exception-panel{box-sizing:border-box;flex-grow:1;margin-top:3rem;margin-bottom:3rem}.exception-body .exception-container .exception-panel h1{font-size:140px;font-weight:900;text-shadow:0 0 50px rgba(#fc6161,.2)}.exception-body .exception-container .exception-panel h3{font-size:80px;font-weight:900;margin-top:-90px;margin-bottom:50px}.exception-body .exception-container .exception-panel button{margin-top:50px}.exception-body .exception-container .exception-footer{margin-bottom:2rem}.exception-body .exception-container .exception-footer .exception-logo{width:34px}.exception-body .exception-container .exception-footer .exception-appname{width:72px}\\n\"], dependencies: [{ kind: \"directive\", type: RouterLink, selector: \"[routerLink]\", inputs: [\"target\", \"queryParams\", \"fragment\", \"queryParamsHandling\", \"state\", \"info\", \"relativeTo\", \"preserveFragment\", \"skipLocationChange\", \"replaceUrl\", \"routerLink\"] }, { kind: \"directive\", type: ButtonDirective, selector: \"[pButton]\", inputs: [\"iconPos\", \"loadingIcon\", \"loading\", \"severity\", \"raised\", \"rounded\", \"text\", \"outlined\", \"size\", \"plain\", \"fluid\", \"label\", \"icon\", \"buttonProps\"] }, { kind: \"pipe\", type: TranslatePipe, name: \"translate\" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.7\", ngImport: i0, type: ErrorPageComponent, decorators: [{\n type: Component,\n args: [{ selector: 'mng-error-page', imports: [TranslatePipe, RouterLink, ButtonDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: \"<div [class]=\\\"'exception-body min-h-screen ' + (layout.colorSchemeIsLight() ? 'layout-light' : 'layout-dark')\\\">\\n <div class=\\\"exception-container min-h-screen flex items-center justify-center flex-col bg-auto md:bg-contain bg-no-repeat\\\">\\n <div class=\\\"exception-panel text-center flex items-center justify-center flex-col\\\">\\n <h1 class=\\\"text-red-400 mb-0\\\">{{ 'pages.error.title' | translate }}</h1>\\n <h3 class=\\\"text-red-300\\\">{{ 'pages.error.subtitle' | translate }}</h3>\\n <button type=\\\"button\\\" pButton [label]=\\\"'general.returnHome' | translate\\\" [routerLink]=\\\"['/']\\\"></button>\\n </div>\\n <div class=\\\"exception-footer items-center flex\\\">\\n @if (layout.appLogo()) {\\n <img [src]=\\\"layout.appLogo()\\\" class=\\\"exception-logo\\\" alt=\\\"App logo\\\" />\\n }\\n @if (layout.appLogoName()) {\\n <img [src]=\\\"layout.appLogoName()\\\" class=\\\"exception-appname ml-4\\\" alt=\\\"App name\\\" />\\n }\\n </div>\\n </div>\\n</div>\\n\", styles: [\".exception-body{background:var(--surface-ground)}.exception-body .exception-container{background:var(--exception-pages-image);background-repeat:no-repeat;background-size:contain;box-sizing:border-box}.exception-body .exception-container .exception-panel{box-sizing:border-box;flex-grow:1;margin-top:3rem;margin-bottom:3rem}.exception-body .exception-container .exception-panel h1{font-size:140px;font-weight:900;text-shadow:0 0 50px rgba(#fc6161,.2)}.exception-body .exception-container .exception-panel h3{font-size:80px;font-weight:900;margin-top:-90px;margin-bottom:50px}.exception-body .exception-container .exception-panel button{margin-top:50px}.exception-body .exception-container .exception-footer{margin-bottom:2rem}.exception-body .exception-container .exception-footer .exception-logo{width:34px}.exception-body .exception-container .exception-footer .exception-appname{width:72px}\\n\"] }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3IucGFnZS5jb21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XG48L2Rpdj5cbiJdfQ==","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVkaXVzaW5jLW1uZy1jb21tb25zLWxheW91dC1jb21wb25lbnRzLXBhZ2VzLWVycm9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vY29tcG9uZW50cy9wYWdlcy9lcnJvci9zcmMvbWVkaXVzaW5jLW1uZy1jb21tb25zLWxheW91dC1jb21wb25lbnRzLXBhZ2VzLWVycm9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19"],"names":[],"mappings":";;;;;;;AAMO,MAAM,kBAAkB,CAAC;AAChC,IAAI,WAAW,GAAG;AAClB,QAAQ,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,aAAa,CAAC;AAC3C,IAAI;AACJ,IAAI,SAAS,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC,kBAAkB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,kBAAkB,EAAE,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,CAAC,eAAe,CAAC,SAAS,EAAE,CAAC,CAAC;AACpL,IAAI,SAAS,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC,oBAAoB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,kBAAkB,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,gBAAg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;AACvlE,SAAS,CAAC,EAAE,CAAC;;AChBb;AACA;AACA;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mediusinc-mng-commons-layout-components-pages-main-lazy.mjs","sources":["
|
|
1
|
+
{"version":3,"file":"mediusinc-mng-commons-layout-components-pages-main-lazy.mjs","sources":["../tmp-esm2022/components/pages/main/lazy/lib/route-builder.js","../tmp-esm2022/components/pages/main/lazy/mediusinc-mng-commons-layout-components-pages-main-lazy.js"],"sourcesContent":["import { createLazyRoute } from '@mediusinc/mng-commons/core';\n/**\n * Creates a layout route on the specified path.\n *\n * @param {String} path - The path of the route.\n * @return {RouteBuilder} - The route builder for the layout route.\n */\nexport function createLayoutLazyRoute(path) {\n return createLazyRoute(path, () => import('@mediusinc/mng-commons-layout/components/pages/main').then(c => c.MainLayoutComponent));\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm91dGUtYnVpbGRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2NvbXBvbmVudHMvcGFnZXMvbWFpbi9sYXp5L3NyYy9saWIvcm91dGUtYnVpbGRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQWUsZUFBZSxFQUFDLE1BQU0sNkJBQTZCLENBQUM7QUFFMUU7Ozs7O0dBS0c7QUFDSCxNQUFNLFVBQVUscUJBQXFCLENBQUMsSUFBWTtJQUM5QyxPQUFPLGVBQWUsQ0FBQyxJQUFJLEVBQUUsR0FBRyxFQUFFLENBQUMsTUFBTSxDQUFDLHFEQUFxRCxDQUFDLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDLG1CQUFtQixDQUFDLENBQUMsQ0FBQztBQUN2SSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtSb3V0ZUJ1aWxkZXIsIGNyZWF0ZUxhenlSb3V0ZX0gZnJvbSAnQG1lZGl1c2luYy9tbmctY29tbW9ucy9jb3JlJztcblxuLyoqXG4gKiBDcmVhdGVzIGEgbGF5b3V0IHJvdXRlIG9uIHRoZSBzcGVjaWZpZWQgcGF0aC5cbiAqXG4gKiBAcGFyYW0ge1N0cmluZ30gcGF0aCAtIFRoZSBwYXRoIG9mIHRoZSByb3V0ZS5cbiAqIEByZXR1cm4ge1JvdXRlQnVpbGRlcn0gLSBUaGUgcm91dGUgYnVpbGRlciBmb3IgdGhlIGxheW91dCByb3V0ZS5cbiAqL1xuZXhwb3J0IGZ1bmN0aW9uIGNyZWF0ZUxheW91dExhenlSb3V0ZShwYXRoOiBzdHJpbmcpOiBSb3V0ZUJ1aWxkZXIge1xuICAgIHJldHVybiBjcmVhdGVMYXp5Um91dGUocGF0aCwgKCkgPT4gaW1wb3J0KCdAbWVkaXVzaW5jL21uZy1jb21tb25zLWxheW91dC9jb21wb25lbnRzL3BhZ2VzL21haW4nKS50aGVuKGMgPT4gYy5NYWluTGF5b3V0Q29tcG9uZW50KSk7XG59XG4iXX0=","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVkaXVzaW5jLW1uZy1jb21tb25zLWxheW91dC1jb21wb25lbnRzLXBhZ2VzLW1haW4tbGF6eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2NvbXBvbmVudHMvcGFnZXMvbWFpbi9sYXp5L3NyYy9tZWRpdXNpbmMtbW5nLWNvbW1vbnMtbGF5b3V0LWNvbXBvbmVudHMtcGFnZXMtbWFpbi1sYXp5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19"],"names":[],"mappings":";;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,qBAAqB,CAAC,IAAI,EAAE;AAC5C,IAAI,OAAO,eAAe,CAAC,IAAI,EAAE,MAAM,OAAO,qDAAqD,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,mBAAmB,CAAC,CAAC;AACtI;;ACTA;AACA;AACA;;;;"}
|
|
@@ -15,12 +15,12 @@ class MainLayoutComponent {
|
|
|
15
15
|
this.layout = inject(LayoutService);
|
|
16
16
|
this.menuService = inject(MenuService);
|
|
17
17
|
this.renderer = inject(Renderer2);
|
|
18
|
-
this.appTopbar = viewChild('topbarCmp');
|
|
19
|
-
this.ripple = signal(this.config?.ripple ?? true);
|
|
20
|
-
this.topbarComponent = signal(this.config?.components?.topbar === false ? undefined : (this.config?.components?.topbar ?? TopbarComponent));
|
|
21
|
-
this.breadcrumbsComponent = signal(this.config?.components?.breadcrumb === false ? undefined : (this.config?.components?.breadcrumb ?? BreadcrumbComponent));
|
|
22
|
-
this.footerComponent = signal(this.config?.components?.footer === false ? undefined : (this.config?.components?.footer ?? FooterComponent));
|
|
23
|
-
this.useNotificationWrapper = signal(!this.config?.disableNotificationWrapper);
|
|
18
|
+
this.appTopbar = viewChild('topbarCmp', ...(ngDevMode ? [{ debugName: "appTopbar" }] : []));
|
|
19
|
+
this.ripple = signal(this.config?.ripple ?? true, ...(ngDevMode ? [{ debugName: "ripple" }] : []));
|
|
20
|
+
this.topbarComponent = signal(this.config?.components?.topbar === false ? undefined : (this.config?.components?.topbar ?? TopbarComponent), ...(ngDevMode ? [{ debugName: "topbarComponent" }] : []));
|
|
21
|
+
this.breadcrumbsComponent = signal(this.config?.components?.breadcrumb === false ? undefined : (this.config?.components?.breadcrumb ?? BreadcrumbComponent), ...(ngDevMode ? [{ debugName: "breadcrumbsComponent" }] : []));
|
|
22
|
+
this.footerComponent = signal(this.config?.components?.footer === false ? undefined : (this.config?.components?.footer ?? FooterComponent), ...(ngDevMode ? [{ debugName: "footerComponent" }] : []));
|
|
23
|
+
this.useNotificationWrapper = signal(!this.config?.disableNotificationWrapper, ...(ngDevMode ? [{ debugName: "useNotificationWrapper" }] : []));
|
|
24
24
|
this.layout.overlayOpen$.pipe(takeUntilDestroyed()).subscribe(() => {
|
|
25
25
|
if (!this.menuOutsideClickListener) {
|
|
26
26
|
this.menuOutsideClickListener = this.renderer.listen('document', 'click', event => {
|
|
@@ -75,10 +75,10 @@ class MainLayoutComponent {
|
|
|
75
75
|
this.menuOutsideClickListener();
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
79
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
78
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: MainLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
79
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.7", type: MainLayoutComponent, isStandalone: true, selector: "mng-main-layout", viewQueries: [{ propertyName: "appTopbar", first: true, predicate: ["topbarCmp"], descendants: true, isSignal: true }], ngImport: i0, template: "@if (useNotificationWrapper()) {\n <mng-notification-wrapper>\n <ng-template [ngTemplateOutlet]=\"content\"></ng-template>\n </mng-notification-wrapper>\n} @else {\n <ng-template [ngTemplateOutlet]=\"content\"></ng-template>\n}\n\n<ng-template #content>\n <div\n class=\"layout-container\"\n [ngClass]=\"{\n 'layout-light': layout.colorScheme() === 'light',\n 'layout-dark': layout.colorScheme() === 'dark',\n 'layout-overlay': layout.menuMode() === 'overlay',\n 'layout-static': layout.menuMode() === 'static',\n 'layout-reveal': layout.menuMode() === 'reveal',\n 'layout-drawer': layout.menuMode() === 'drawer',\n 'layout-slim': layout.menuMode() === 'slim',\n 'layout-slim-plus': layout.menuMode() === 'slim-plus',\n 'layout-static-inactive': layout.state().staticMenuDesktopInactive && layout.menuMode() === 'static',\n 'layout-overlay-active': layout.state().overlayMenuActive,\n 'layout-mobile-active': layout.state().staticMenuMobileActive,\n 'p-ripple-disabled': !ripple(),\n 'layout-sidebar-active': layout.state().sidebarActive,\n 'layout-sidebar-anchored': layout.state().anchored\n }\">\n <div class=\"layout-content-wrapper\">\n @if (topbarComponent()) {\n <div #topbarCmp class=\"layout-topbar-wrapper\" [mngComponent]=\"topbarComponent()\" [attachToHost]=\"true\"></div>\n }\n @if (breadcrumbsComponent()) {\n <div class=\"content-breadcrumb\">\n <div [mngComponent]=\"breadcrumbsComponent()\" [attachToHost]=\"true\"></div>\n </div>\n }\n <div class=\"layout-content\">\n <router-outlet></router-outlet>\n </div>\n <div class=\"layout-mask\"></div>\n @if (footerComponent()) {\n <div [mngComponent]=\"footerComponent()\" [attachToHost]=\"true\"></div>\n }\n </div>\n </div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1.RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: ComponentDirective, selector: "[mngComponent]", inputs: ["mngComponent", "injectionToken", "inputs", "attachToHost", "parentInjector"], outputs: ["instanceCreated"] }, { kind: "component", type: NotificationWrapperComponent, selector: "mng-notification-wrapper" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
80
80
|
}
|
|
81
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
81
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: MainLayoutComponent, decorators: [{
|
|
82
82
|
type: Component,
|
|
83
83
|
args: [{ standalone: true, selector: 'mng-main-layout', imports: [NgClass, RouterModule, ComponentDirective, NotificationWrapperComponent, NgTemplateOutlet], changeDetection: ChangeDetectionStrategy.OnPush, template: "@if (useNotificationWrapper()) {\n <mng-notification-wrapper>\n <ng-template [ngTemplateOutlet]=\"content\"></ng-template>\n </mng-notification-wrapper>\n} @else {\n <ng-template [ngTemplateOutlet]=\"content\"></ng-template>\n}\n\n<ng-template #content>\n <div\n class=\"layout-container\"\n [ngClass]=\"{\n 'layout-light': layout.colorScheme() === 'light',\n 'layout-dark': layout.colorScheme() === 'dark',\n 'layout-overlay': layout.menuMode() === 'overlay',\n 'layout-static': layout.menuMode() === 'static',\n 'layout-reveal': layout.menuMode() === 'reveal',\n 'layout-drawer': layout.menuMode() === 'drawer',\n 'layout-slim': layout.menuMode() === 'slim',\n 'layout-slim-plus': layout.menuMode() === 'slim-plus',\n 'layout-static-inactive': layout.state().staticMenuDesktopInactive && layout.menuMode() === 'static',\n 'layout-overlay-active': layout.state().overlayMenuActive,\n 'layout-mobile-active': layout.state().staticMenuMobileActive,\n 'p-ripple-disabled': !ripple(),\n 'layout-sidebar-active': layout.state().sidebarActive,\n 'layout-sidebar-anchored': layout.state().anchored\n }\">\n <div class=\"layout-content-wrapper\">\n @if (topbarComponent()) {\n <div #topbarCmp class=\"layout-topbar-wrapper\" [mngComponent]=\"topbarComponent()\" [attachToHost]=\"true\"></div>\n }\n @if (breadcrumbsComponent()) {\n <div class=\"content-breadcrumb\">\n <div [mngComponent]=\"breadcrumbsComponent()\" [attachToHost]=\"true\"></div>\n </div>\n }\n <div class=\"layout-content\">\n <router-outlet></router-outlet>\n </div>\n <div class=\"layout-mask\"></div>\n @if (footerComponent()) {\n <div [mngComponent]=\"footerComponent()\" [attachToHost]=\"true\"></div>\n }\n </div>\n </div>\n</ng-template>\n" }]
|
|
84
84
|
}], ctorParameters: () => [] });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mediusinc-mng-commons-layout-components-pages-main.mjs","sources":["../../components/pages/main/src/lib/main-layout.component.ts","../../components/pages/main/src/lib/main-layout.component.html","../../components/pages/main/src/lib/route-builder.ts","../../components/pages/main/src/mediusinc-mng-commons-layout-components-pages-main.ts"],"sourcesContent":["import {NgClass, NgTemplateOutlet} from '@angular/common';\nimport {ChangeDetectionStrategy, Component, ElementRef, OnDestroy, Renderer2, Type, inject, signal, viewChild} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {RouterModule} from '@angular/router';\n\nimport {COMMONS_LAYOUT_FEATURE_CONFIG_IT, LayoutService, MenuService} from '@mediusinc/mng-commons-layout';\nimport {BreadcrumbComponent, FooterComponent, TopbarComponent} from '@mediusinc/mng-commons-layout/components';\nimport {ComponentDirective, NotificationWrapperComponent} from '@mediusinc/mng-commons/core';\n\n@Component({\n standalone: true,\n selector: 'mng-main-layout',\n imports: [NgClass, RouterModule, ComponentDirective, NotificationWrapperComponent, NgTemplateOutlet],\n templateUrl: './main-layout.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class MainLayoutComponent implements OnDestroy {\n // private readonly commonsService = inject(CommonsService);\n private readonly config = inject(COMMONS_LAYOUT_FEATURE_CONFIG_IT, {optional: true});\n public readonly layout = inject(LayoutService);\n private readonly menuService = inject(MenuService);\n private readonly renderer = inject(Renderer2);\n\n private appTopbar = viewChild<ElementRef>('topbarCmp');\n\n public readonly ripple = signal(this.config?.ripple ?? true);\n\n public topbarComponent = signal<Type<any> | undefined>(this.config?.components?.topbar === false ? undefined : (this.config?.components?.topbar ?? TopbarComponent));\n public breadcrumbsComponent = signal<Type<any> | undefined>(\n this.config?.components?.breadcrumb === false ? undefined : (this.config?.components?.breadcrumb ?? BreadcrumbComponent)\n );\n public footerComponent = signal<Type<any> | undefined>(this.config?.components?.footer === false ? undefined : (this.config?.components?.footer ?? FooterComponent));\n\n public useNotificationWrapper = signal(!this.config?.disableNotificationWrapper);\n private menuOutsideClickListener: any;\n\n constructor() {\n this.layout.overlayOpen$.pipe(takeUntilDestroyed()).subscribe(() => {\n if (!this.menuOutsideClickListener) {\n this.menuOutsideClickListener = this.renderer.listen('document', 'click', event => {\n const isOutsideClicked = !(this.appTopbar()?.nativeElement.isSameNode(event.target) || this.appTopbar()?.nativeElement.contains(event.target));\n if (isOutsideClicked) {\n this.hideMenu();\n }\n });\n }\n if (this.layout.state().staticMenuMobileActive) {\n this.blockBodyScroll();\n }\n });\n }\n\n blockBodyScroll(): void {\n if (document.body.classList) {\n document.body.classList.add('blocked-scroll');\n } else {\n document.body.className += ' blocked-scroll';\n }\n }\n\n unblockBodyScroll(): void {\n if (document.body.classList) {\n document.body.classList.remove('blocked-scroll');\n } else {\n document.body.className = document.body.className.replace(new RegExp('(^|\\\\b)' + 'blocked-scroll'.split(' ').join('|') + '(\\\\b|$)', 'gi'), ' ');\n }\n }\n\n hideMenu() {\n this.layout.state.update(state => ({\n ...state,\n overlayMenuActive: false,\n staticMenuMobileActive: false,\n menuHoverActive: false\n }));\n\n if (this.layout.submenuOverlayKey() !== undefined) {\n this.layout.onOverlaySubmenuClose();\n }\n if (!(this.layout.isSlim() || this.layout.isSlimPlus())) {\n this.menuService.reset();\n }\n\n if (this.menuOutsideClickListener) {\n this.menuOutsideClickListener();\n this.menuOutsideClickListener = null;\n }\n this.unblockBodyScroll();\n }\n\n ngOnDestroy() {\n if (this.menuOutsideClickListener) {\n this.menuOutsideClickListener();\n }\n }\n}\n","@if (useNotificationWrapper()) {\n <mng-notification-wrapper>\n <ng-template [ngTemplateOutlet]=\"content\"></ng-template>\n </mng-notification-wrapper>\n} @else {\n <ng-template [ngTemplateOutlet]=\"content\"></ng-template>\n}\n\n<ng-template #content>\n <div\n class=\"layout-container\"\n [ngClass]=\"{\n 'layout-light': layout.colorScheme() === 'light',\n 'layout-dark': layout.colorScheme() === 'dark',\n 'layout-overlay': layout.menuMode() === 'overlay',\n 'layout-static': layout.menuMode() === 'static',\n 'layout-reveal': layout.menuMode() === 'reveal',\n 'layout-drawer': layout.menuMode() === 'drawer',\n 'layout-slim': layout.menuMode() === 'slim',\n 'layout-slim-plus': layout.menuMode() === 'slim-plus',\n 'layout-static-inactive': layout.state().staticMenuDesktopInactive && layout.menuMode() === 'static',\n 'layout-overlay-active': layout.state().overlayMenuActive,\n 'layout-mobile-active': layout.state().staticMenuMobileActive,\n 'p-ripple-disabled': !ripple(),\n 'layout-sidebar-active': layout.state().sidebarActive,\n 'layout-sidebar-anchored': layout.state().anchored\n }\">\n <div class=\"layout-content-wrapper\">\n @if (topbarComponent()) {\n <div #topbarCmp class=\"layout-topbar-wrapper\" [mngComponent]=\"topbarComponent()\" [attachToHost]=\"true\"></div>\n }\n @if (breadcrumbsComponent()) {\n <div class=\"content-breadcrumb\">\n <div [mngComponent]=\"breadcrumbsComponent()\" [attachToHost]=\"true\"></div>\n </div>\n }\n <div class=\"layout-content\">\n <router-outlet></router-outlet>\n </div>\n <div class=\"layout-mask\"></div>\n @if (footerComponent()) {\n <div [mngComponent]=\"footerComponent()\" [attachToHost]=\"true\"></div>\n }\n </div>\n </div>\n</ng-template>\n","import {RouteBuilder, createRoute} from '@mediusinc/mng-commons/core';\n\nimport {MainLayoutComponent} from './main-layout.component';\n\n/**\n * Creates a layout route on the specified path.\n *\n * @param {String} path - The path of the route.\n * @return {RouteBuilder} - The route builder for the layout route.\n */\nexport function createLayoutRoute(path: string): RouteBuilder {\n return createRoute(path, MainLayoutComponent);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;MAgBa,mBAAmB,CAAA;AAoB5B,IAAA,WAAA,GAAA;;QAlBiB,IAAM,CAAA,MAAA,GAAG,MAAM,CAAC,gCAAgC,EAAE,EAAC,QAAQ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ediusinc-mng-commons-layout-components-pages-main.mjs","sources":["../tmp-esm2022/components/pages/main/lib/main-layout.component.js","../tmp-esm2022/components/pages/main/lib/route-builder.js","../tmp-esm2022/components/pages/main/mediusinc-mng-commons-layout-components-pages-main.js"],"sourcesContent":["import { NgClass, NgTemplateOutlet } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, Renderer2, inject, signal, viewChild } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { RouterModule } from '@angular/router';\nimport { COMMONS_LAYOUT_FEATURE_CONFIG_IT, LayoutService, MenuService } from '@mediusinc/mng-commons-layout';\nimport { BreadcrumbComponent, FooterComponent, TopbarComponent } from '@mediusinc/mng-commons-layout/components';\nimport { ComponentDirective, NotificationWrapperComponent } from '@mediusinc/mng-commons/core';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/router\";\nexport class MainLayoutComponent {\n constructor() {\n // private readonly commonsService = inject(CommonsService);\n this.config = inject(COMMONS_LAYOUT_FEATURE_CONFIG_IT, { optional: true });\n this.layout = inject(LayoutService);\n this.menuService = inject(MenuService);\n this.renderer = inject(Renderer2);\n this.appTopbar = viewChild('topbarCmp', ...(ngDevMode ? [{ debugName: \"appTopbar\" }] : []));\n this.ripple = signal(this.config?.ripple ?? true, ...(ngDevMode ? [{ debugName: \"ripple\" }] : []));\n this.topbarComponent = signal(this.config?.components?.topbar === false ? undefined : (this.config?.components?.topbar ?? TopbarComponent), ...(ngDevMode ? [{ debugName: \"topbarComponent\" }] : []));\n this.breadcrumbsComponent = signal(this.config?.components?.breadcrumb === false ? undefined : (this.config?.components?.breadcrumb ?? BreadcrumbComponent), ...(ngDevMode ? [{ debugName: \"breadcrumbsComponent\" }] : []));\n this.footerComponent = signal(this.config?.components?.footer === false ? undefined : (this.config?.components?.footer ?? FooterComponent), ...(ngDevMode ? [{ debugName: \"footerComponent\" }] : []));\n this.useNotificationWrapper = signal(!this.config?.disableNotificationWrapper, ...(ngDevMode ? [{ debugName: \"useNotificationWrapper\" }] : []));\n this.layout.overlayOpen$.pipe(takeUntilDestroyed()).subscribe(() => {\n if (!this.menuOutsideClickListener) {\n this.menuOutsideClickListener = this.renderer.listen('document', 'click', event => {\n const isOutsideClicked = !(this.appTopbar()?.nativeElement.isSameNode(event.target) || this.appTopbar()?.nativeElement.contains(event.target));\n if (isOutsideClicked) {\n this.hideMenu();\n }\n });\n }\n if (this.layout.state().staticMenuMobileActive) {\n this.blockBodyScroll();\n }\n });\n }\n blockBodyScroll() {\n if (document.body.classList) {\n document.body.classList.add('blocked-scroll');\n }\n else {\n document.body.className += ' blocked-scroll';\n }\n }\n unblockBodyScroll() {\n if (document.body.classList) {\n document.body.classList.remove('blocked-scroll');\n }\n else {\n document.body.className = document.body.className.replace(new RegExp('(^|\\\\b)' + 'blocked-scroll'.split(' ').join('|') + '(\\\\b|$)', 'gi'), ' ');\n }\n }\n hideMenu() {\n this.layout.state.update(state => ({\n ...state,\n overlayMenuActive: false,\n staticMenuMobileActive: false,\n menuHoverActive: false\n }));\n if (this.layout.submenuOverlayKey() !== undefined) {\n this.layout.onOverlaySubmenuClose();\n }\n if (!(this.layout.isSlim() || this.layout.isSlimPlus())) {\n this.menuService.reset();\n }\n if (this.menuOutsideClickListener) {\n this.menuOutsideClickListener();\n this.menuOutsideClickListener = null;\n }\n this.unblockBodyScroll();\n }\n ngOnDestroy() {\n if (this.menuOutsideClickListener) {\n this.menuOutsideClickListener();\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.7\", ngImport: i0, type: MainLayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.0.0\", version: \"20.1.7\", type: MainLayoutComponent, isStandalone: true, selector: \"mng-main-layout\", viewQueries: [{ propertyName: \"appTopbar\", first: true, predicate: [\"topbarCmp\"], descendants: true, isSignal: true }], ngImport: i0, template: \"@if (useNotificationWrapper()) {\\n <mng-notification-wrapper>\\n <ng-template [ngTemplateOutlet]=\\\"content\\\"></ng-template>\\n </mng-notification-wrapper>\\n} @else {\\n <ng-template [ngTemplateOutlet]=\\\"content\\\"></ng-template>\\n}\\n\\n<ng-template #content>\\n <div\\n class=\\\"layout-container\\\"\\n [ngClass]=\\\"{\\n 'layout-light': layout.colorScheme() === 'light',\\n 'layout-dark': layout.colorScheme() === 'dark',\\n 'layout-overlay': layout.menuMode() === 'overlay',\\n 'layout-static': layout.menuMode() === 'static',\\n 'layout-reveal': layout.menuMode() === 'reveal',\\n 'layout-drawer': layout.menuMode() === 'drawer',\\n 'layout-slim': layout.menuMode() === 'slim',\\n 'layout-slim-plus': layout.menuMode() === 'slim-plus',\\n 'layout-static-inactive': layout.state().staticMenuDesktopInactive && layout.menuMode() === 'static',\\n 'layout-overlay-active': layout.state().overlayMenuActive,\\n 'layout-mobile-active': layout.state().staticMenuMobileActive,\\n 'p-ripple-disabled': !ripple(),\\n 'layout-sidebar-active': layout.state().sidebarActive,\\n 'layout-sidebar-anchored': layout.state().anchored\\n }\\\">\\n <div class=\\\"layout-content-wrapper\\\">\\n @if (topbarComponent()) {\\n <div #topbarCmp class=\\\"layout-topbar-wrapper\\\" [mngComponent]=\\\"topbarComponent()\\\" [attachToHost]=\\\"true\\\"></div>\\n }\\n @if (breadcrumbsComponent()) {\\n <div class=\\\"content-breadcrumb\\\">\\n <div [mngComponent]=\\\"breadcrumbsComponent()\\\" [attachToHost]=\\\"true\\\"></div>\\n </div>\\n }\\n <div class=\\\"layout-content\\\">\\n <router-outlet></router-outlet>\\n </div>\\n <div class=\\\"layout-mask\\\"></div>\\n @if (footerComponent()) {\\n <div [mngComponent]=\\\"footerComponent()\\\" [attachToHost]=\\\"true\\\"></div>\\n }\\n </div>\\n </div>\\n</ng-template>\\n\", dependencies: [{ kind: \"directive\", type: NgClass, selector: \"[ngClass]\", inputs: [\"class\", \"ngClass\"] }, { kind: \"ngmodule\", type: RouterModule }, { kind: \"directive\", type: i1.RouterOutlet, selector: \"router-outlet\", inputs: [\"name\", \"routerOutletData\"], outputs: [\"activate\", \"deactivate\", \"attach\", \"detach\"], exportAs: [\"outlet\"] }, { kind: \"directive\", type: ComponentDirective, selector: \"[mngComponent]\", inputs: [\"mngComponent\", \"injectionToken\", \"inputs\", \"attachToHost\", \"parentInjector\"], outputs: [\"instanceCreated\"] }, { kind: \"component\", type: NotificationWrapperComponent, selector: \"mng-notification-wrapper\" }, { kind: \"directive\", type: NgTemplateOutlet, selector: \"[ngTemplateOutlet]\", inputs: [\"ngTemplateOutletContext\", \"ngTemplateOutlet\", \"ngTemplateOutletInjector\"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.7\", ngImport: i0, type: MainLayoutComponent, decorators: [{\n type: Component,\n args: [{ standalone: true, selector: 'mng-main-layout', imports: [NgClass, RouterModule, ComponentDirective, NotificationWrapperComponent, NgTemplateOutlet], changeDetection: ChangeDetectionStrategy.OnPush, template: \"@if (useNotificationWrapper()) {\\n <mng-notification-wrapper>\\n <ng-template [ngTemplateOutlet]=\\\"content\\\"></ng-template>\\n </mng-notification-wrapper>\\n} @else {\\n <ng-template [ngTemplateOutlet]=\\\"content\\\"></ng-template>\\n}\\n\\n<ng-template #content>\\n <div\\n class=\\\"layout-container\\\"\\n [ngClass]=\\\"{\\n 'layout-light': layout.colorScheme() === 'light',\\n 'layout-dark': layout.colorScheme() === 'dark',\\n 'layout-overlay': layout.menuMode() === 'overlay',\\n 'layout-static': layout.menuMode() === 'static',\\n 'layout-reveal': layout.menuMode() === 'reveal',\\n 'layout-drawer': layout.menuMode() === 'drawer',\\n 'layout-slim': layout.menuMode() === 'slim',\\n 'layout-slim-plus': layout.menuMode() === 'slim-plus',\\n 'layout-static-inactive': layout.state().staticMenuDesktopInactive && layout.menuMode() === 'static',\\n 'layout-overlay-active': layout.state().overlayMenuActive,\\n 'layout-mobile-active': layout.state().staticMenuMobileActive,\\n 'p-ripple-disabled': !ripple(),\\n 'layout-sidebar-active': layout.state().sidebarActive,\\n 'layout-sidebar-anchored': layout.state().anchored\\n }\\\">\\n <div class=\\\"layout-content-wrapper\\\">\\n @if (topbarComponent()) {\\n <div #topbarCmp class=\\\"layout-topbar-wrapper\\\" [mngComponent]=\\\"topbarComponent()\\\" [attachToHost]=\\\"true\\\"></div>\\n }\\n @if (breadcrumbsComponent()) {\\n <div class=\\\"content-breadcrumb\\\">\\n <div [mngComponent]=\\\"breadcrumbsComponent()\\\" [attachToHost]=\\\"true\\\"></div>\\n </div>\\n }\\n <div class=\\\"layout-content\\\">\\n <router-outlet></router-outlet>\\n </div>\\n <div class=\\\"layout-mask\\\"></div>\\n @if (footerComponent()) {\\n <div [mngComponent]=\\\"footerComponent()\\\" [attachToHost]=\\\"true\\\"></div>\\n }\\n </div>\\n </div>\\n</ng-template>\\n\" }]\n }], ctorParameters: () => [] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWFpbi1sYXlvdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vY29tcG9uZW50cy9wYWdlcy9tYWluL3NyYy9saWIvbWFpbi1sYXlvdXQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vY29tcG9uZW50cy9wYWdlcy9tYWluL3NyYy9saWIvbWFpbi1sYXlvdXQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLE9BQU8sRUFBRSxnQkFBZ0IsRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQzFELE9BQU8sRUFBQyx1QkFBdUIsRUFBRSxTQUFTLEVBQXlCLFNBQVMsRUFBUSxNQUFNLEVBQUUsTUFBTSxFQUFFLFNBQVMsRUFBQyxNQUFNLGVBQWUsQ0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5b3V0LWNvbnRlbnQtd3JhcHBlclwiPlxuICAgICAgICAgICAgQGlmICh0b3BiYXJDb21wb25lbnQoKSkge1xuICAgICAgICAgICAgICAgIDxkaXYgI3RvcGJhckNtcCBjbGFzcz1cImxheW91dC10b3BiYXItd3JhcHBlclwiIFttbmdDb21wb25lbnRdPVwidG9wYmFyQ29tcG9uZW50KClcIiBbYXR0YWNoVG9Ib3N0XT1cInRydWVcIj48L2Rpdj5cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIEBpZiAoYnJlYWRjcnVtYnNDb21wb25lbnQoKSkge1xuICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJjb250ZW50LWJyZWFkY3J1bWJcIj5cbiAgICAgICAgICAgICAgICAgICAgPGRpdiBbbW5nQ29tcG9uZW50XT1cImJyZWFkY3J1bWJzQ29tcG9uZW50KClcIiBbYXR0YWNoVG9Ib3N0XT1cInRydWVcIj48L2Rpdj5cbiAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJsYXlvdXQtY29udGVudFwiPlxuICAgICAgICAgICAgICAgIDxyb3V0ZXItb3V0bGV0Pjwvcm91dGVyLW91dGxldD5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImxheW91dC1tYXNrXCI+PC9kaXY+XG4gICAgICAgICAgICBAaWYgKGZvb3RlckNvbXBvbmVudCgpKSB7XG4gICAgICAgICAgICAgICAgPGRpdiBbbW5nQ29tcG9uZW50XT1cImZvb3RlckNvbXBvbmVudCgpXCIgW2F0dGFjaFRvSG9zdF09XCJ0cnVlXCI+PC9kaXY+XG4gICAgICAgICAgICB9XG4gICAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==","import { createRoute } from '@mediusinc/mng-commons/core';\nimport { MainLayoutComponent } from './main-layout.component';\n/**\n * Creates a layout route on the specified path.\n *\n * @param {String} path - The path of the route.\n * @return {RouteBuilder} - The route builder for the layout route.\n */\nexport function createLayoutRoute(path) {\n return createRoute(path, MainLayoutComponent);\n}\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm91dGUtYnVpbGRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2NvbXBvbmVudHMvcGFnZXMvbWFpbi9zcmMvbGliL3JvdXRlLWJ1aWxkZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFlLFdBQVcsRUFBQyxNQUFNLDZCQUE2QixDQUFDO0FBRXRFLE9BQU8sRUFBQyxtQkFBbUIsRUFBQyxNQUFNLHlCQUF5QixDQUFDO0FBRTVEOzs7OztHQUtHO0FBQ0gsTUFBTSxVQUFVLGlCQUFpQixDQUFDLElBQVk7SUFDMUMsT0FBTyxXQUFXLENBQUMsSUFBSSxFQUFFLG1CQUFtQixDQUFDLENBQUM7QUFDbEQsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7Um91dGVCdWlsZGVyLCBjcmVhdGVSb3V0ZX0gZnJvbSAnQG1lZGl1c2luYy9tbmctY29tbW9ucy9jb3JlJztcblxuaW1wb3J0IHtNYWluTGF5b3V0Q29tcG9uZW50fSBmcm9tICcuL21haW4tbGF5b3V0LmNvbXBvbmVudCc7XG5cbi8qKlxuICogQ3JlYXRlcyBhIGxheW91dCByb3V0ZSBvbiB0aGUgc3BlY2lmaWVkIHBhdGguXG4gKlxuICogQHBhcmFtIHtTdHJpbmd9IHBhdGggLSBUaGUgcGF0aCBvZiB0aGUgcm91dGUuXG4gKiBAcmV0dXJuIHtSb3V0ZUJ1aWxkZXJ9IC0gVGhlIHJvdXRlIGJ1aWxkZXIgZm9yIHRoZSBsYXlvdXQgcm91dGUuXG4gKi9cbmV4cG9ydCBmdW5jdGlvbiBjcmVhdGVMYXlvdXRSb3V0ZShwYXRoOiBzdHJpbmcpOiBSb3V0ZUJ1aWxkZXIge1xuICAgIHJldHVybiBjcmVhdGVSb3V0ZShwYXRoLCBNYWluTGF5b3V0Q29tcG9uZW50KTtcbn1cbiJdfQ==","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVkaXVzaW5jLW1uZy1jb21tb25zLWxheW91dC1jb21wb25lbnRzLXBhZ2VzLW1haW4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9jb21wb25lbnRzL3BhZ2VzL21haW4vc3JjL21lZGl1c2luYy1tbmctY29tbW9ucy1sYXlvdXQtY29tcG9uZW50cy1wYWdlcy1tYWluLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19"],"names":[],"mappings":";;;;;;;;;;AASO,MAAM,mBAAmB,CAAC;AACjC,IAAI,WAAW,GAAG;AAClB;AACA,QAAQ,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,gCAAgC,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AAClF,QAAQ,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,aAAa,CAAC;AAC3C,QAAQ,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,CAAC;AAC9C,QAAQ,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,SAAS,CAAC;AACzC,QAAQ,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC,WAAW,EAAE,IAAI,SAAS,GAAG,CAAC,EAAE,SAAS,EA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,gBAAgB,CAAC,EAAE,OAAO,EAAE,CAAC,iBAAiB,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,4BAA4B,EAAE,QAAQ,EAAE,0BAA0B,EAAE,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,gBAAgB,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,EAAE,CAAC,yBAAyB,EAAE,kBAAkB,EAAE,0BAA0B,CAAC,EAAE,CAAC,EAAE,eAAe,EAAE,EAAE,CAAC,uBAAuB,CAAC,MAAM,EAAE,CAAC,CAAC;AAC5sG;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,mBAAmB,EAAE,UAAU,EAAE,CAAC;AAC7H,YAAY,IAAI,EAAE,SAAS;AAC3B,YAAY,IAAI,EAAE,CAAC,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,iBAAiB,EAAE,OAAO,EAAE,CAAC,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,4BAA4B,EAAE,gBAAgB,CAAC,EAAE,eAAe,EAAE,uBAAuB,CAAC,MAAM,EAAE,QAAQ,EAAE,ikEAAikE,EAAE;AACxyE,SAAS,CAAC,EAAE,cAAc,EAAE,MAAM,EAAE,EAAE,CAAC;;AChFvC;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,iBAAiB,CAAC,IAAI,EAAE;AACxC,IAAI,OAAO,WAAW,CAAC,IAAI,EAAE,mBAAmB,CAAC;AACjD;;ACVA;AACA;AACA;;;;"}
|
|
@@ -9,12 +9,12 @@ class NotFoundPageComponent {
|
|
|
9
9
|
constructor() {
|
|
10
10
|
this.layout = inject(LayoutService);
|
|
11
11
|
}
|
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
12
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: NotFoundPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.7", type: NotFoundPageComponent, isStandalone: true, selector: "mng-not-found-page", ngImport: i0, template: "<div [class]=\"'exception-body min-h-screen ' + (layout.colorSchemeIsLight() ? 'layout-light' : 'layout-dark')\">\n <div class=\"exception-container min-h-screen flex items-center justify-center flex-col bg-auto md:bg-contain bg-no-repeat\">\n <div class=\"exception-panel text-center flex items-center justify-center flex-col\">\n <h1 class=\"text-red-400 mb-0\">{{ 'pages.notFound.title' | translate }}</h1>\n <h3 class=\"text-red-300\">{{ 'pages.notFound.subtitle' | translate }}</h3>\n <p>{{ 'pages.notFound.message' | translate }}</p>\n <button type=\"button\" pButton [label]=\"'general.returnHome' | translate\" [routerLink]=\"['/']\"></button>\n </div>\n <div class=\"exception-footer items-center flex\">\n @if (layout.appLogo()) {\n <img [src]=\"layout.appLogo()\" class=\"exception-logo\" alt=\"App logo\" />\n }\n @if (layout.appLogoName()) {\n <img [src]=\"layout.appLogoName()\" class=\"exception-appname ml-4\" alt=\"App name\" />\n }\n </div>\n </div>\n</div>\n", styles: [".exception-body{background:var(--surface-ground)}.exception-body .exception-container{background:var(--exception-pages-image);background-repeat:no-repeat;background-size:contain;box-sizing:border-box}.exception-body .exception-container .exception-panel{box-sizing:border-box;flex-grow:1;margin-top:3rem;margin-bottom:3rem}.exception-body .exception-container .exception-panel h1{font-size:140px;font-weight:900;text-shadow:0 0 50px rgba(#fc6161,.2)}.exception-body .exception-container .exception-panel h3{font-size:80px;font-weight:900;margin-top:-90px;margin-bottom:50px}.exception-body .exception-container .exception-panel p{font-size:24px;font-weight:400;max-width:320px}.exception-body .exception-container .exception-panel button{margin-top:50px}.exception-body .exception-container .exception-footer{margin-bottom:2rem}.exception-body .exception-container .exception-footer .exception-logo{width:34px}.exception-body .exception-container .exception-footer .exception-appname{width:72px}\n"], dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain", "fluid", "label", "icon", "buttonProps"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
14
14
|
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.7", ngImport: i0, type: NotFoundPageComponent, decorators: [{
|
|
16
16
|
type: Component,
|
|
17
|
-
args: [{ selector: 'mng-not-found-page', imports: [RouterLink, TranslatePipe, ButtonDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [class]=\"'exception-body min-h-screen ' + (layout.colorSchemeIsLight() ? 'layout-light' : 'layout-dark')\">\n <div class=\"exception-container min-h-screen flex items-center justify-center flex-col bg-auto md:bg-contain bg-no-repeat\">\n <div class=\"exception-panel text-center flex items-center justify-center flex-col\">\n <h1 class=\"text-red-400 mb-0\">{{ 'pages.notFound.title' | translate }}</h1>\n <h3 class=\"text-red-300\">{{ 'pages.notFound.subtitle' | translate }}</h3>\n <p>{{ 'pages.notFound.message' | translate }}</p>\n <button type=\"button\" pButton [label]=\"'general.returnHome' | translate\" [routerLink]=\"['/']\"></button>\n </div>\n <div class=\"exception-footer items-center flex\">\n @if (layout.appLogo()) {\n <img [src]=\"layout.appLogo()\" class=\"exception-logo\" alt=\"App logo\" />\n }\n @if (layout.appLogoName()) {\n <img [src]=\"layout.appLogoName()\" class=\"exception-appname ml-4\" alt=\"App name\" />\n }\n </div>\n </div>\n</div>\n", styles: [".exception-body{background:var(--surface-ground)}.exception-body .exception-container{background:var(--exception-pages-image);background-repeat:no-repeat;background-size:contain;box-sizing:border-box}.exception-body .exception-container .exception-panel{box-sizing:border-box;flex-grow:1;margin-top:3rem;margin-bottom:3rem}.exception-body .exception-container .exception-panel h1{font-size:140px;font-weight:900;text-shadow:0 0 50px rgba(
|
|
17
|
+
args: [{ selector: 'mng-not-found-page', imports: [RouterLink, TranslatePipe, ButtonDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div [class]=\"'exception-body min-h-screen ' + (layout.colorSchemeIsLight() ? 'layout-light' : 'layout-dark')\">\n <div class=\"exception-container min-h-screen flex items-center justify-center flex-col bg-auto md:bg-contain bg-no-repeat\">\n <div class=\"exception-panel text-center flex items-center justify-center flex-col\">\n <h1 class=\"text-red-400 mb-0\">{{ 'pages.notFound.title' | translate }}</h1>\n <h3 class=\"text-red-300\">{{ 'pages.notFound.subtitle' | translate }}</h3>\n <p>{{ 'pages.notFound.message' | translate }}</p>\n <button type=\"button\" pButton [label]=\"'general.returnHome' | translate\" [routerLink]=\"['/']\"></button>\n </div>\n <div class=\"exception-footer items-center flex\">\n @if (layout.appLogo()) {\n <img [src]=\"layout.appLogo()\" class=\"exception-logo\" alt=\"App logo\" />\n }\n @if (layout.appLogoName()) {\n <img [src]=\"layout.appLogoName()\" class=\"exception-appname ml-4\" alt=\"App name\" />\n }\n </div>\n </div>\n</div>\n", styles: [".exception-body{background:var(--surface-ground)}.exception-body .exception-container{background:var(--exception-pages-image);background-repeat:no-repeat;background-size:contain;box-sizing:border-box}.exception-body .exception-container .exception-panel{box-sizing:border-box;flex-grow:1;margin-top:3rem;margin-bottom:3rem}.exception-body .exception-container .exception-panel h1{font-size:140px;font-weight:900;text-shadow:0 0 50px rgba(#fc6161,.2)}.exception-body .exception-container .exception-panel h3{font-size:80px;font-weight:900;margin-top:-90px;margin-bottom:50px}.exception-body .exception-container .exception-panel p{font-size:24px;font-weight:400;max-width:320px}.exception-body .exception-container .exception-panel button{margin-top:50px}.exception-body .exception-container .exception-footer{margin-bottom:2rem}.exception-body .exception-container .exception-footer .exception-logo{width:34px}.exception-body .exception-container .exception-footer .exception-appname{width:72px}\n"] }]
|
|
18
18
|
}] });
|
|
19
19
|
|
|
20
20
|
/**
|