@ngx-smz/layout 21.10.0-next.13 → 21.10.0-next.17
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/README.md +19 -19
- package/fesm2022/ngx-smz-layout.mjs +238 -238
- package/fesm2022/ngx-smz-layout.mjs.map +1 -1
- package/package.json +6 -1
- package/resources/layout/_core.scss +24 -24
- package/resources/layout/_footer.scss +8 -8
- package/resources/layout/_main.scss +13 -13
- package/resources/layout/_menu.scss +160 -160
- package/resources/layout/_mixins.scss +15 -15
- package/resources/layout/_preloading.scss +47 -47
- package/resources/layout/_responsive.scss +117 -117
- package/resources/layout/_topbar.scss +204 -204
- package/resources/layout/_typography.scss +68 -68
- package/resources/layout/_utils.scss +25 -25
- package/resources/layout/layout.scss +13 -13
- package/resources/layout/legacy-layout.scss +2 -2
- package/resources/layout/variables/_common.scss +20 -20
- package/resources/layout/variables/_dark.scss +5 -5
- package/resources/layout/variables/_legacy-common.scss +55 -55
- package/resources/layout/variables/_light.scss +5 -5
package/README.md
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
# @ngx-smz/layout
|
|
2
|
-
|
|
3
|
-
Shell de aplicação para Angular 21: layout com topbar, sidebar (menu com visibilidade por claims), footer, configurador flutuante de tema e páginas de erro (`access`, `error`, `notfound`). Depende de `@ngx-smz/ui-kit` e `@ngx-smz/core`.
|
|
4
|
-
|
|
5
|
-
## Instalação
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
npm install @ngx-smz/ui-kit @ngx-smz/core @ngx-smz/layout
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
Estilos do layout publicados em `resources/layout/` (`layout.scss`; `legacy-layout.scss` para os layouts athena/new-athena):
|
|
12
|
-
|
|
13
|
-
```scss
|
|
14
|
-
@use '@ngx-smz/layout/resources/layout/layout.scss';
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
## Fonte e changelog
|
|
18
|
-
|
|
19
|
-
Código em `projects/ngx-smz-ui-layout` no repositório [smarza/ng-smz](https://github.com/smarza/ng-smz). Mudanças em [`CHANGELOG.md`](CHANGELOG.md).
|
|
1
|
+
# @ngx-smz/layout
|
|
2
|
+
|
|
3
|
+
Shell de aplicação para Angular 21: layout com topbar, sidebar (menu com visibilidade por claims), footer, configurador flutuante de tema e páginas de erro (`access`, `error`, `notfound`). Depende de `@ngx-smz/ui-kit` e `@ngx-smz/core`.
|
|
4
|
+
|
|
5
|
+
## Instalação
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @ngx-smz/ui-kit @ngx-smz/core @ngx-smz/layout
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Estilos do layout publicados em `resources/layout/` (`layout.scss`; `legacy-layout.scss` para os layouts athena/new-athena):
|
|
12
|
+
|
|
13
|
+
```scss
|
|
14
|
+
@use '@ngx-smz/layout/resources/layout/layout.scss';
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Fonte e changelog
|
|
18
|
+
|
|
19
|
+
Código em `projects/ngx-smz-ui-layout` no repositório [smarza/ng-smz](https://github.com/smarza/ng-smz). Mudanças em [`CHANGELOG.md`](CHANGELOG.md).
|
|
@@ -1463,15 +1463,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImpor
|
|
|
1463
1463
|
class AppMenu {
|
|
1464
1464
|
model = inject(SmzUILayout).sidebar;
|
|
1465
1465
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppMenu, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1466
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.5", type: AppMenu, isStandalone: true, selector: "app-menu", ngImport: i0, template: `<ul class="layout-menu">
|
|
1467
|
-
@for (item of model(); track item; let i = $index) {
|
|
1468
|
-
@if (!item.separator && item.visible !== false) {
|
|
1469
|
-
<li app-menuitem [item]="item" [index]="i" [root]="true"></li>
|
|
1470
|
-
}
|
|
1471
|
-
@if (item.separator) {
|
|
1472
|
-
<li class="menu-separator"></li>
|
|
1473
|
-
}
|
|
1474
|
-
}
|
|
1466
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.5", type: AppMenu, isStandalone: true, selector: "app-menu", ngImport: i0, template: `<ul class="layout-menu">
|
|
1467
|
+
@for (item of model(); track item; let i = $index) {
|
|
1468
|
+
@if (!item.separator && item.visible !== false) {
|
|
1469
|
+
<li app-menuitem [item]="item" [index]="i" [root]="true"></li>
|
|
1470
|
+
}
|
|
1471
|
+
@if (item.separator) {
|
|
1472
|
+
<li class="menu-separator"></li>
|
|
1473
|
+
}
|
|
1474
|
+
}
|
|
1475
1475
|
</ul>`, isInline: true, dependencies: [{ kind: "component", type: AppMenuitem, selector: "[app-menuitem]", inputs: ["item", "index", "root", "parentKey"] }, { kind: "ngmodule", type: RouterModule }] });
|
|
1476
1476
|
}
|
|
1477
1477
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppMenu, decorators: [{
|
|
@@ -1480,15 +1480,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImpor
|
|
|
1480
1480
|
selector: 'app-menu',
|
|
1481
1481
|
standalone: true,
|
|
1482
1482
|
imports: [AppMenuitem, RouterModule],
|
|
1483
|
-
template: `<ul class="layout-menu">
|
|
1484
|
-
@for (item of model(); track item; let i = $index) {
|
|
1485
|
-
@if (!item.separator && item.visible !== false) {
|
|
1486
|
-
<li app-menuitem [item]="item" [index]="i" [root]="true"></li>
|
|
1487
|
-
}
|
|
1488
|
-
@if (item.separator) {
|
|
1489
|
-
<li class="menu-separator"></li>
|
|
1490
|
-
}
|
|
1491
|
-
}
|
|
1483
|
+
template: `<ul class="layout-menu">
|
|
1484
|
+
@for (item of model(); track item; let i = $index) {
|
|
1485
|
+
@if (!item.separator && item.visible !== false) {
|
|
1486
|
+
<li app-menuitem [item]="item" [index]="i" [root]="true"></li>
|
|
1487
|
+
}
|
|
1488
|
+
@if (item.separator) {
|
|
1489
|
+
<li class="menu-separator"></li>
|
|
1490
|
+
}
|
|
1491
|
+
}
|
|
1492
1492
|
</ul>`
|
|
1493
1493
|
}]
|
|
1494
1494
|
}] });
|
|
@@ -1499,8 +1499,8 @@ class AppSidebar {
|
|
|
1499
1499
|
this.el = el;
|
|
1500
1500
|
}
|
|
1501
1501
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppSidebar, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1502
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.5", type: AppSidebar, isStandalone: true, selector: "app-sidebar", ngImport: i0, template: ` <div class="layout-sidebar">
|
|
1503
|
-
<app-menu></app-menu>
|
|
1502
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.5", type: AppSidebar, isStandalone: true, selector: "app-sidebar", ngImport: i0, template: ` <div class="layout-sidebar">
|
|
1503
|
+
<app-menu></app-menu>
|
|
1504
1504
|
</div>`, isInline: true, dependencies: [{ kind: "component", type: AppMenu, selector: "app-menu" }] });
|
|
1505
1505
|
}
|
|
1506
1506
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppSidebar, decorators: [{
|
|
@@ -1509,8 +1509,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImpor
|
|
|
1509
1509
|
selector: 'app-sidebar',
|
|
1510
1510
|
standalone: true,
|
|
1511
1511
|
imports: [AppMenu],
|
|
1512
|
-
template: ` <div class="layout-sidebar">
|
|
1513
|
-
<app-menu></app-menu>
|
|
1512
|
+
template: ` <div class="layout-sidebar">
|
|
1513
|
+
<app-menu></app-menu>
|
|
1514
1514
|
</div>`
|
|
1515
1515
|
}]
|
|
1516
1516
|
}], ctorParameters: () => [{ type: i0.ElementRef }] });
|
|
@@ -1519,30 +1519,30 @@ class AppFooter {
|
|
|
1519
1519
|
data = inject(SMZ_UI_LAYOUT_CONFIG).footer;
|
|
1520
1520
|
layoutService = inject(LayoutService);
|
|
1521
1521
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppFooter, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1522
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.5", type: AppFooter, isStandalone: true, selector: "app-footer", ngImport: i0, template: `
|
|
1523
|
-
@if (data(); as footer) {
|
|
1524
|
-
<div class="flex items-center justify-between px-0 py-4 gap-4 border-t border-surface-border">
|
|
1525
|
-
@if (footer.leftLogoPath?.light && !layoutService.isDarkTheme()) {
|
|
1526
|
-
<img [src]="footer.leftLogoPath?.light" [alt]="footer.leftLogoPath?.light" class="max-h-7" />
|
|
1527
|
-
}
|
|
1528
|
-
@if (footer.leftLogoPath?.dark && layoutService.isDarkTheme()) {
|
|
1529
|
-
<img [src]="footer.leftLogoPath?.dark" [alt]="footer.leftLogoPath?.dark" class="max-h-7" />
|
|
1530
|
-
}
|
|
1531
|
-
<div class="flex-1"></div>
|
|
1532
|
-
@if (footer.rightLogoPath?.light && !layoutService.isDarkTheme()) {
|
|
1533
|
-
<img [src]="footer.rightLogoPath?.light" [alt]="footer.rightLogoPath?.light" class="max-h-7" />
|
|
1534
|
-
}
|
|
1535
|
-
@if (footer.rightLogoPath?.dark && layoutService.isDarkTheme()) {
|
|
1536
|
-
<img [src]="footer.rightLogoPath?.dark" [alt]="footer.rightLogoPath?.dark" class="max-h-7" />
|
|
1537
|
-
}
|
|
1538
|
-
@if (footer.version) {
|
|
1539
|
-
<span class="font-medium text-sm">{{ footer.version }}</span>
|
|
1540
|
-
}
|
|
1541
|
-
@if (footer.copyright) {
|
|
1542
|
-
<span class="font-medium text-sm">{{ footer.copyright }}</span>
|
|
1543
|
-
}
|
|
1544
|
-
</div>
|
|
1545
|
-
}
|
|
1522
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.5", type: AppFooter, isStandalone: true, selector: "app-footer", ngImport: i0, template: `
|
|
1523
|
+
@if (data(); as footer) {
|
|
1524
|
+
<div class="flex items-center justify-between px-0 py-4 gap-4 border-t border-surface-border">
|
|
1525
|
+
@if (footer.leftLogoPath?.light && !layoutService.isDarkTheme()) {
|
|
1526
|
+
<img [src]="footer.leftLogoPath?.light" [alt]="footer.leftLogoPath?.light" class="max-h-7" />
|
|
1527
|
+
}
|
|
1528
|
+
@if (footer.leftLogoPath?.dark && layoutService.isDarkTheme()) {
|
|
1529
|
+
<img [src]="footer.leftLogoPath?.dark" [alt]="footer.leftLogoPath?.dark" class="max-h-7" />
|
|
1530
|
+
}
|
|
1531
|
+
<div class="flex-1"></div>
|
|
1532
|
+
@if (footer.rightLogoPath?.light && !layoutService.isDarkTheme()) {
|
|
1533
|
+
<img [src]="footer.rightLogoPath?.light" [alt]="footer.rightLogoPath?.light" class="max-h-7" />
|
|
1534
|
+
}
|
|
1535
|
+
@if (footer.rightLogoPath?.dark && layoutService.isDarkTheme()) {
|
|
1536
|
+
<img [src]="footer.rightLogoPath?.dark" [alt]="footer.rightLogoPath?.dark" class="max-h-7" />
|
|
1537
|
+
}
|
|
1538
|
+
@if (footer.version) {
|
|
1539
|
+
<span class="font-medium text-sm">{{ footer.version }}</span>
|
|
1540
|
+
}
|
|
1541
|
+
@if (footer.copyright) {
|
|
1542
|
+
<span class="font-medium text-sm">{{ footer.copyright }}</span>
|
|
1543
|
+
}
|
|
1544
|
+
</div>
|
|
1545
|
+
}
|
|
1546
1546
|
`, isInline: true });
|
|
1547
1547
|
}
|
|
1548
1548
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppFooter, decorators: [{
|
|
@@ -1551,30 +1551,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImpor
|
|
|
1551
1551
|
standalone: true,
|
|
1552
1552
|
selector: 'app-footer',
|
|
1553
1553
|
imports: [],
|
|
1554
|
-
template: `
|
|
1555
|
-
@if (data(); as footer) {
|
|
1556
|
-
<div class="flex items-center justify-between px-0 py-4 gap-4 border-t border-surface-border">
|
|
1557
|
-
@if (footer.leftLogoPath?.light && !layoutService.isDarkTheme()) {
|
|
1558
|
-
<img [src]="footer.leftLogoPath?.light" [alt]="footer.leftLogoPath?.light" class="max-h-7" />
|
|
1559
|
-
}
|
|
1560
|
-
@if (footer.leftLogoPath?.dark && layoutService.isDarkTheme()) {
|
|
1561
|
-
<img [src]="footer.leftLogoPath?.dark" [alt]="footer.leftLogoPath?.dark" class="max-h-7" />
|
|
1562
|
-
}
|
|
1563
|
-
<div class="flex-1"></div>
|
|
1564
|
-
@if (footer.rightLogoPath?.light && !layoutService.isDarkTheme()) {
|
|
1565
|
-
<img [src]="footer.rightLogoPath?.light" [alt]="footer.rightLogoPath?.light" class="max-h-7" />
|
|
1566
|
-
}
|
|
1567
|
-
@if (footer.rightLogoPath?.dark && layoutService.isDarkTheme()) {
|
|
1568
|
-
<img [src]="footer.rightLogoPath?.dark" [alt]="footer.rightLogoPath?.dark" class="max-h-7" />
|
|
1569
|
-
}
|
|
1570
|
-
@if (footer.version) {
|
|
1571
|
-
<span class="font-medium text-sm">{{ footer.version }}</span>
|
|
1572
|
-
}
|
|
1573
|
-
@if (footer.copyright) {
|
|
1574
|
-
<span class="font-medium text-sm">{{ footer.copyright }}</span>
|
|
1575
|
-
}
|
|
1576
|
-
</div>
|
|
1577
|
-
}
|
|
1554
|
+
template: `
|
|
1555
|
+
@if (data(); as footer) {
|
|
1556
|
+
<div class="flex items-center justify-between px-0 py-4 gap-4 border-t border-surface-border">
|
|
1557
|
+
@if (footer.leftLogoPath?.light && !layoutService.isDarkTheme()) {
|
|
1558
|
+
<img [src]="footer.leftLogoPath?.light" [alt]="footer.leftLogoPath?.light" class="max-h-7" />
|
|
1559
|
+
}
|
|
1560
|
+
@if (footer.leftLogoPath?.dark && layoutService.isDarkTheme()) {
|
|
1561
|
+
<img [src]="footer.leftLogoPath?.dark" [alt]="footer.leftLogoPath?.dark" class="max-h-7" />
|
|
1562
|
+
}
|
|
1563
|
+
<div class="flex-1"></div>
|
|
1564
|
+
@if (footer.rightLogoPath?.light && !layoutService.isDarkTheme()) {
|
|
1565
|
+
<img [src]="footer.rightLogoPath?.light" [alt]="footer.rightLogoPath?.light" class="max-h-7" />
|
|
1566
|
+
}
|
|
1567
|
+
@if (footer.rightLogoPath?.dark && layoutService.isDarkTheme()) {
|
|
1568
|
+
<img [src]="footer.rightLogoPath?.dark" [alt]="footer.rightLogoPath?.dark" class="max-h-7" />
|
|
1569
|
+
}
|
|
1570
|
+
@if (footer.version) {
|
|
1571
|
+
<span class="font-medium text-sm">{{ footer.version }}</span>
|
|
1572
|
+
}
|
|
1573
|
+
@if (footer.copyright) {
|
|
1574
|
+
<span class="font-medium text-sm">{{ footer.copyright }}</span>
|
|
1575
|
+
}
|
|
1576
|
+
</div>
|
|
1577
|
+
}
|
|
1578
1578
|
`
|
|
1579
1579
|
}]
|
|
1580
1580
|
}] });
|
|
@@ -1805,26 +1805,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImpor
|
|
|
1805
1805
|
class AccessPageComponent {
|
|
1806
1806
|
config = inject(ErrorPagesConfigService).config();
|
|
1807
1807
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AccessPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1808
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.5", type: AccessPageComponent, isStandalone: true, selector: "app-access", ngImport: i0, template: `
|
|
1809
|
-
<div class="relative m-0 flex flex-wrap h-screen w-screen items-center justify-center overflow-hidden p-0">
|
|
1810
|
-
|
|
1811
|
-
<div class="flex flex-wrap justify-center items-center w-full flex-none lg:w-6/12 h-full bg-surface-ground p-2">
|
|
1812
|
-
<div class="flex flex-wrap w-8/12 flex-none items-center -mt-2 -mx-2">
|
|
1813
|
-
<div class="w-full flex-none p-0 text-[5em] font-bold leading-tight text-text-color">{{ config.access.title }}</div>
|
|
1814
|
-
<div class="w-4/12 flex-none mb-[2em] w-[30%] rounded border-b-4 border-solid border-b-[#f44336] p-0"></div>
|
|
1815
|
-
<div class="w-full flex-none mb-[2em] max-w-prose p-0 text-[1.4em] font-medium leading-relaxed text-text-color">{{ config.access.message }}</div>
|
|
1816
|
-
<div class="flex flex-wrap items-center justify-start gap-2">
|
|
1817
|
-
@for (button of config.access.buttons; track button) {
|
|
1818
|
-
<button smzButton [label]="button.label" [routerLink]="button.url" (click)="button.command()" class="mt-8" [severity]="button.severity"></button>
|
|
1819
|
-
}
|
|
1820
|
-
</div>
|
|
1821
|
-
</div>
|
|
1822
|
-
</div>
|
|
1823
|
-
|
|
1824
|
-
<div class="w-full flex-none m-0 p-0 lg:w-6/12">
|
|
1825
|
-
<img class="m-0 h-screen w-full object-cover p-0" [src]="config.access.backgroundPath" alt="" />
|
|
1826
|
-
</div>
|
|
1827
|
-
</div>
|
|
1808
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.5", type: AccessPageComponent, isStandalone: true, selector: "app-access", ngImport: i0, template: `
|
|
1809
|
+
<div class="relative m-0 flex flex-wrap h-screen w-screen items-center justify-center overflow-hidden p-0">
|
|
1810
|
+
|
|
1811
|
+
<div class="flex flex-wrap justify-center items-center w-full flex-none lg:w-6/12 h-full bg-surface-ground p-2">
|
|
1812
|
+
<div class="flex flex-wrap w-8/12 flex-none items-center -mt-2 -mx-2">
|
|
1813
|
+
<div class="w-full flex-none p-0 text-[5em] font-bold leading-tight text-text-color">{{ config.access.title }}</div>
|
|
1814
|
+
<div class="w-4/12 flex-none mb-[2em] w-[30%] rounded border-b-4 border-solid border-b-[#f44336] p-0"></div>
|
|
1815
|
+
<div class="w-full flex-none mb-[2em] max-w-prose p-0 text-[1.4em] font-medium leading-relaxed text-text-color">{{ config.access.message }}</div>
|
|
1816
|
+
<div class="flex flex-wrap items-center justify-start gap-2">
|
|
1817
|
+
@for (button of config.access.buttons; track button) {
|
|
1818
|
+
<button smzButton [label]="button.label" [routerLink]="button.url" (click)="button.command()" class="mt-8" [severity]="button.severity"></button>
|
|
1819
|
+
}
|
|
1820
|
+
</div>
|
|
1821
|
+
</div>
|
|
1822
|
+
</div>
|
|
1823
|
+
|
|
1824
|
+
<div class="w-full flex-none m-0 p-0 lg:w-6/12">
|
|
1825
|
+
<img class="m-0 h-screen w-full object-cover p-0" [src]="config.access.backgroundPath" alt="" />
|
|
1826
|
+
</div>
|
|
1827
|
+
</div>
|
|
1828
1828
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: SmzButtonComponent, selector: "button[smzButton], a[smzButton]", inputs: ["label", "icon", "iconPosition", "severity", "variant", "size", "text", "outlined", "rounded", "loading", "styleClass"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }] });
|
|
1829
1829
|
}
|
|
1830
1830
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AccessPageComponent, decorators: [{
|
|
@@ -1833,26 +1833,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImpor
|
|
|
1833
1833
|
selector: 'app-access',
|
|
1834
1834
|
standalone: true,
|
|
1835
1835
|
imports: [CommonModule, SmzButtonComponent, RouterModule, SmzRippleDirective, SmzButtonComponent],
|
|
1836
|
-
template: `
|
|
1837
|
-
<div class="relative m-0 flex flex-wrap h-screen w-screen items-center justify-center overflow-hidden p-0">
|
|
1838
|
-
|
|
1839
|
-
<div class="flex flex-wrap justify-center items-center w-full flex-none lg:w-6/12 h-full bg-surface-ground p-2">
|
|
1840
|
-
<div class="flex flex-wrap w-8/12 flex-none items-center -mt-2 -mx-2">
|
|
1841
|
-
<div class="w-full flex-none p-0 text-[5em] font-bold leading-tight text-text-color">{{ config.access.title }}</div>
|
|
1842
|
-
<div class="w-4/12 flex-none mb-[2em] w-[30%] rounded border-b-4 border-solid border-b-[#f44336] p-0"></div>
|
|
1843
|
-
<div class="w-full flex-none mb-[2em] max-w-prose p-0 text-[1.4em] font-medium leading-relaxed text-text-color">{{ config.access.message }}</div>
|
|
1844
|
-
<div class="flex flex-wrap items-center justify-start gap-2">
|
|
1845
|
-
@for (button of config.access.buttons; track button) {
|
|
1846
|
-
<button smzButton [label]="button.label" [routerLink]="button.url" (click)="button.command()" class="mt-8" [severity]="button.severity"></button>
|
|
1847
|
-
}
|
|
1848
|
-
</div>
|
|
1849
|
-
</div>
|
|
1850
|
-
</div>
|
|
1851
|
-
|
|
1852
|
-
<div class="w-full flex-none m-0 p-0 lg:w-6/12">
|
|
1853
|
-
<img class="m-0 h-screen w-full object-cover p-0" [src]="config.access.backgroundPath" alt="" />
|
|
1854
|
-
</div>
|
|
1855
|
-
</div>
|
|
1836
|
+
template: `
|
|
1837
|
+
<div class="relative m-0 flex flex-wrap h-screen w-screen items-center justify-center overflow-hidden p-0">
|
|
1838
|
+
|
|
1839
|
+
<div class="flex flex-wrap justify-center items-center w-full flex-none lg:w-6/12 h-full bg-surface-ground p-2">
|
|
1840
|
+
<div class="flex flex-wrap w-8/12 flex-none items-center -mt-2 -mx-2">
|
|
1841
|
+
<div class="w-full flex-none p-0 text-[5em] font-bold leading-tight text-text-color">{{ config.access.title }}</div>
|
|
1842
|
+
<div class="w-4/12 flex-none mb-[2em] w-[30%] rounded border-b-4 border-solid border-b-[#f44336] p-0"></div>
|
|
1843
|
+
<div class="w-full flex-none mb-[2em] max-w-prose p-0 text-[1.4em] font-medium leading-relaxed text-text-color">{{ config.access.message }}</div>
|
|
1844
|
+
<div class="flex flex-wrap items-center justify-start gap-2">
|
|
1845
|
+
@for (button of config.access.buttons; track button) {
|
|
1846
|
+
<button smzButton [label]="button.label" [routerLink]="button.url" (click)="button.command()" class="mt-8" [severity]="button.severity"></button>
|
|
1847
|
+
}
|
|
1848
|
+
</div>
|
|
1849
|
+
</div>
|
|
1850
|
+
</div>
|
|
1851
|
+
|
|
1852
|
+
<div class="w-full flex-none m-0 p-0 lg:w-6/12">
|
|
1853
|
+
<img class="m-0 h-screen w-full object-cover p-0" [src]="config.access.backgroundPath" alt="" />
|
|
1854
|
+
</div>
|
|
1855
|
+
</div>
|
|
1856
1856
|
`
|
|
1857
1857
|
}]
|
|
1858
1858
|
}] });
|
|
@@ -1860,26 +1860,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImpor
|
|
|
1860
1860
|
class ErrorPageComponent {
|
|
1861
1861
|
config = inject(ErrorPagesConfigService).config();
|
|
1862
1862
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: ErrorPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1863
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.5", type: ErrorPageComponent, isStandalone: true, selector: "app-error", ngImport: i0, template: `
|
|
1864
|
-
<div class="relative m-0 flex flex-wrap h-screen w-screen items-center justify-center overflow-hidden p-0">
|
|
1865
|
-
|
|
1866
|
-
<div class="flex flex-wrap justify-center items-center w-full flex-none lg:w-6/12 h-full bg-surface-ground p-2">
|
|
1867
|
-
<div class="flex flex-wrap w-8/12 flex-none items-center -mt-2 -mx-2">
|
|
1868
|
-
<div class="w-full flex-none p-0 text-[5em] font-bold leading-tight text-text-color">{{ config.error.title }}</div>
|
|
1869
|
-
<div class="w-4/12 flex-none mb-[2em] w-[30%] rounded border-b-4 border-solid border-b-[#f44336] p-0"></div>
|
|
1870
|
-
<div class="w-full flex-none mb-[2em] max-w-prose p-0 text-[1.4em] font-medium leading-relaxed text-text-color">{{ config.error.message }}</div>
|
|
1871
|
-
<div class="flex flex-wrap items-center justify-start gap-2">
|
|
1872
|
-
@for (button of config.error.buttons; track button) {
|
|
1873
|
-
<button smzButton [label]="button.label" [routerLink]="button.url" (click)="button.command()" class="mt-8" [severity]="button.severity"></button>
|
|
1874
|
-
}
|
|
1875
|
-
</div>
|
|
1876
|
-
</div>
|
|
1877
|
-
</div>
|
|
1878
|
-
|
|
1879
|
-
<div class="w-full flex-none m-0 p-0 lg:w-6/12">
|
|
1880
|
-
<img class="m-0 h-screen w-full object-cover p-0" [src]="config.error.backgroundPath" alt="" />
|
|
1881
|
-
</div>
|
|
1882
|
-
</div>
|
|
1863
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.5", type: ErrorPageComponent, isStandalone: true, selector: "app-error", ngImport: i0, template: `
|
|
1864
|
+
<div class="relative m-0 flex flex-wrap h-screen w-screen items-center justify-center overflow-hidden p-0">
|
|
1865
|
+
|
|
1866
|
+
<div class="flex flex-wrap justify-center items-center w-full flex-none lg:w-6/12 h-full bg-surface-ground p-2">
|
|
1867
|
+
<div class="flex flex-wrap w-8/12 flex-none items-center -mt-2 -mx-2">
|
|
1868
|
+
<div class="w-full flex-none p-0 text-[5em] font-bold leading-tight text-text-color">{{ config.error.title }}</div>
|
|
1869
|
+
<div class="w-4/12 flex-none mb-[2em] w-[30%] rounded border-b-4 border-solid border-b-[#f44336] p-0"></div>
|
|
1870
|
+
<div class="w-full flex-none mb-[2em] max-w-prose p-0 text-[1.4em] font-medium leading-relaxed text-text-color">{{ config.error.message }}</div>
|
|
1871
|
+
<div class="flex flex-wrap items-center justify-start gap-2">
|
|
1872
|
+
@for (button of config.error.buttons; track button) {
|
|
1873
|
+
<button smzButton [label]="button.label" [routerLink]="button.url" (click)="button.command()" class="mt-8" [severity]="button.severity"></button>
|
|
1874
|
+
}
|
|
1875
|
+
</div>
|
|
1876
|
+
</div>
|
|
1877
|
+
</div>
|
|
1878
|
+
|
|
1879
|
+
<div class="w-full flex-none m-0 p-0 lg:w-6/12">
|
|
1880
|
+
<img class="m-0 h-screen w-full object-cover p-0" [src]="config.error.backgroundPath" alt="" />
|
|
1881
|
+
</div>
|
|
1882
|
+
</div>
|
|
1883
1883
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: SmzButtonComponent, selector: "button[smzButton], a[smzButton]", inputs: ["label", "icon", "iconPosition", "severity", "variant", "size", "text", "outlined", "rounded", "loading", "styleClass"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }] });
|
|
1884
1884
|
}
|
|
1885
1885
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: ErrorPageComponent, decorators: [{
|
|
@@ -1888,26 +1888,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImpor
|
|
|
1888
1888
|
selector: 'app-error',
|
|
1889
1889
|
imports: [CommonModule, SmzButtonComponent, SmzRippleDirective, RouterModule, SmzButtonComponent],
|
|
1890
1890
|
standalone: true,
|
|
1891
|
-
template: `
|
|
1892
|
-
<div class="relative m-0 flex flex-wrap h-screen w-screen items-center justify-center overflow-hidden p-0">
|
|
1893
|
-
|
|
1894
|
-
<div class="flex flex-wrap justify-center items-center w-full flex-none lg:w-6/12 h-full bg-surface-ground p-2">
|
|
1895
|
-
<div class="flex flex-wrap w-8/12 flex-none items-center -mt-2 -mx-2">
|
|
1896
|
-
<div class="w-full flex-none p-0 text-[5em] font-bold leading-tight text-text-color">{{ config.error.title }}</div>
|
|
1897
|
-
<div class="w-4/12 flex-none mb-[2em] w-[30%] rounded border-b-4 border-solid border-b-[#f44336] p-0"></div>
|
|
1898
|
-
<div class="w-full flex-none mb-[2em] max-w-prose p-0 text-[1.4em] font-medium leading-relaxed text-text-color">{{ config.error.message }}</div>
|
|
1899
|
-
<div class="flex flex-wrap items-center justify-start gap-2">
|
|
1900
|
-
@for (button of config.error.buttons; track button) {
|
|
1901
|
-
<button smzButton [label]="button.label" [routerLink]="button.url" (click)="button.command()" class="mt-8" [severity]="button.severity"></button>
|
|
1902
|
-
}
|
|
1903
|
-
</div>
|
|
1904
|
-
</div>
|
|
1905
|
-
</div>
|
|
1906
|
-
|
|
1907
|
-
<div class="w-full flex-none m-0 p-0 lg:w-6/12">
|
|
1908
|
-
<img class="m-0 h-screen w-full object-cover p-0" [src]="config.error.backgroundPath" alt="" />
|
|
1909
|
-
</div>
|
|
1910
|
-
</div>
|
|
1891
|
+
template: `
|
|
1892
|
+
<div class="relative m-0 flex flex-wrap h-screen w-screen items-center justify-center overflow-hidden p-0">
|
|
1893
|
+
|
|
1894
|
+
<div class="flex flex-wrap justify-center items-center w-full flex-none lg:w-6/12 h-full bg-surface-ground p-2">
|
|
1895
|
+
<div class="flex flex-wrap w-8/12 flex-none items-center -mt-2 -mx-2">
|
|
1896
|
+
<div class="w-full flex-none p-0 text-[5em] font-bold leading-tight text-text-color">{{ config.error.title }}</div>
|
|
1897
|
+
<div class="w-4/12 flex-none mb-[2em] w-[30%] rounded border-b-4 border-solid border-b-[#f44336] p-0"></div>
|
|
1898
|
+
<div class="w-full flex-none mb-[2em] max-w-prose p-0 text-[1.4em] font-medium leading-relaxed text-text-color">{{ config.error.message }}</div>
|
|
1899
|
+
<div class="flex flex-wrap items-center justify-start gap-2">
|
|
1900
|
+
@for (button of config.error.buttons; track button) {
|
|
1901
|
+
<button smzButton [label]="button.label" [routerLink]="button.url" (click)="button.command()" class="mt-8" [severity]="button.severity"></button>
|
|
1902
|
+
}
|
|
1903
|
+
</div>
|
|
1904
|
+
</div>
|
|
1905
|
+
</div>
|
|
1906
|
+
|
|
1907
|
+
<div class="w-full flex-none m-0 p-0 lg:w-6/12">
|
|
1908
|
+
<img class="m-0 h-screen w-full object-cover p-0" [src]="config.error.backgroundPath" alt="" />
|
|
1909
|
+
</div>
|
|
1910
|
+
</div>
|
|
1911
1911
|
`
|
|
1912
1912
|
}]
|
|
1913
1913
|
}] });
|
|
@@ -1915,50 +1915,50 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImpor
|
|
|
1915
1915
|
class NotfoundPageComponent {
|
|
1916
1916
|
config = inject(ErrorPagesConfigService).config();
|
|
1917
1917
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: NotfoundPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1918
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.5", type: NotfoundPageComponent, isStandalone: true, selector: "app-notfound", ngImport: i0, template: `
|
|
1919
|
-
<div class="relative m-0 flex flex-wrap h-screen w-screen items-center justify-center overflow-hidden p-0">
|
|
1920
|
-
|
|
1921
|
-
<div class="flex flex-wrap justify-center items-center w-full flex-none lg:w-6/12 h-full bg-surface-ground p-2">
|
|
1922
|
-
<div class="grid grid-cols-12 w-8/12 flex-none items-center gap-4 pb-2">
|
|
1923
|
-
<div class="col-span-12 p-0 text-[5em] font-bold leading-tight text-text-color min-w-0">{{ config.notfound.code }}</div>
|
|
1924
|
-
<div class="col-span-4 mb-[2em] w-[30%] rounded border-b-4 border-solid border-b-[#f44336] p-0 min-w-0"></div>
|
|
1925
|
-
<div class="col-span-12 mb-2 p-0 text-[1.4em] font-medium leading-relaxed text-text-color min-w-0">{{ config.notfound.title }}</div>
|
|
1926
|
-
<div class="col-span-12 mb-8 max-w-prose p-0 text-base font-medium leading-relaxed text-text-color min-w-0">{{ config.notfound.message }}</div>
|
|
1927
|
-
|
|
1928
|
-
@for (link of config.notfound.links; track link.url) {
|
|
1929
|
-
<a
|
|
1930
|
-
[routerLink]="link.url"
|
|
1931
|
-
class="col-span-12 flex w-full items-center border-0 border-b border-solid border-surface-border py-6 last:border-b-0 no-underline min-w-0"
|
|
1932
|
-
>
|
|
1933
|
-
<span
|
|
1934
|
-
class="flex h-14 w-14 shrink-0 items-center justify-center rounded-lg border-2 border-solid border-primary-color text-primary-color"
|
|
1935
|
-
>
|
|
1936
|
-
<i class="text-2xl" [class]="link.icon"></i>
|
|
1937
|
-
</span>
|
|
1938
|
-
|
|
1939
|
-
<span class="ml-6 flex min-w-0 flex-col">
|
|
1940
|
-
<span class="mb-0 block font-medium text-text-color lg:text-xl">{{ link.title }}</span>
|
|
1941
|
-
<span class="text-text-color-secondary lg:text-xl">{{ link.description }}</span>
|
|
1942
|
-
</span>
|
|
1943
|
-
</a>
|
|
1944
|
-
}
|
|
1945
|
-
|
|
1946
|
-
<div class="col-span-12 flex flex-wrap items-center justify-start min-w-0 gap-2">
|
|
1947
|
-
@for (button of config.notfound.buttons; track button.url) {
|
|
1948
|
-
<button smzButton [label]="button.label" [routerLink]="button.url" (click)="button.command()" class="mt-8" [severity]="button.severity"></button>
|
|
1949
|
-
}
|
|
1950
|
-
</div>
|
|
1951
|
-
</div>
|
|
1952
|
-
</div>
|
|
1953
|
-
|
|
1954
|
-
<div class="w-full flex-none m-0 p-0 lg:w-6/12">
|
|
1955
|
-
<img
|
|
1956
|
-
class="m-0 h-screen w-full object-cover p-0"
|
|
1957
|
-
[src]="config.notfound.backgroundPath"
|
|
1958
|
-
alt=""
|
|
1959
|
-
/>
|
|
1960
|
-
</div>
|
|
1961
|
-
</div>
|
|
1918
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.5", type: NotfoundPageComponent, isStandalone: true, selector: "app-notfound", ngImport: i0, template: `
|
|
1919
|
+
<div class="relative m-0 flex flex-wrap h-screen w-screen items-center justify-center overflow-hidden p-0">
|
|
1920
|
+
|
|
1921
|
+
<div class="flex flex-wrap justify-center items-center w-full flex-none lg:w-6/12 h-full bg-surface-ground p-2">
|
|
1922
|
+
<div class="grid grid-cols-12 w-8/12 flex-none items-center gap-4 pb-2">
|
|
1923
|
+
<div class="col-span-12 p-0 text-[5em] font-bold leading-tight text-text-color min-w-0">{{ config.notfound.code }}</div>
|
|
1924
|
+
<div class="col-span-4 mb-[2em] w-[30%] rounded border-b-4 border-solid border-b-[#f44336] p-0 min-w-0"></div>
|
|
1925
|
+
<div class="col-span-12 mb-2 p-0 text-[1.4em] font-medium leading-relaxed text-text-color min-w-0">{{ config.notfound.title }}</div>
|
|
1926
|
+
<div class="col-span-12 mb-8 max-w-prose p-0 text-base font-medium leading-relaxed text-text-color min-w-0">{{ config.notfound.message }}</div>
|
|
1927
|
+
|
|
1928
|
+
@for (link of config.notfound.links; track link.url) {
|
|
1929
|
+
<a
|
|
1930
|
+
[routerLink]="link.url"
|
|
1931
|
+
class="col-span-12 flex w-full items-center border-0 border-b border-solid border-surface-border py-6 last:border-b-0 no-underline min-w-0"
|
|
1932
|
+
>
|
|
1933
|
+
<span
|
|
1934
|
+
class="flex h-14 w-14 shrink-0 items-center justify-center rounded-lg border-2 border-solid border-primary-color text-primary-color"
|
|
1935
|
+
>
|
|
1936
|
+
<i class="text-2xl" [class]="link.icon"></i>
|
|
1937
|
+
</span>
|
|
1938
|
+
|
|
1939
|
+
<span class="ml-6 flex min-w-0 flex-col">
|
|
1940
|
+
<span class="mb-0 block font-medium text-text-color lg:text-xl">{{ link.title }}</span>
|
|
1941
|
+
<span class="text-text-color-secondary lg:text-xl">{{ link.description }}</span>
|
|
1942
|
+
</span>
|
|
1943
|
+
</a>
|
|
1944
|
+
}
|
|
1945
|
+
|
|
1946
|
+
<div class="col-span-12 flex flex-wrap items-center justify-start min-w-0 gap-2">
|
|
1947
|
+
@for (button of config.notfound.buttons; track button.url) {
|
|
1948
|
+
<button smzButton [label]="button.label" [routerLink]="button.url" (click)="button.command()" class="mt-8" [severity]="button.severity"></button>
|
|
1949
|
+
}
|
|
1950
|
+
</div>
|
|
1951
|
+
</div>
|
|
1952
|
+
</div>
|
|
1953
|
+
|
|
1954
|
+
<div class="w-full flex-none m-0 p-0 lg:w-6/12">
|
|
1955
|
+
<img
|
|
1956
|
+
class="m-0 h-screen w-full object-cover p-0"
|
|
1957
|
+
[src]="config.notfound.backgroundPath"
|
|
1958
|
+
alt=""
|
|
1959
|
+
/>
|
|
1960
|
+
</div>
|
|
1961
|
+
</div>
|
|
1962
1962
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: SmzButtonComponent, selector: "button[smzButton], a[smzButton]", inputs: ["label", "icon", "iconPosition", "severity", "variant", "size", "text", "outlined", "rounded", "loading", "styleClass"] }] });
|
|
1963
1963
|
}
|
|
1964
1964
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: NotfoundPageComponent, decorators: [{
|
|
@@ -1967,50 +1967,50 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImpor
|
|
|
1967
1967
|
selector: 'app-notfound',
|
|
1968
1968
|
standalone: true,
|
|
1969
1969
|
imports: [CommonModule, RouterModule, SmzButtonComponent, SmzRippleDirective],
|
|
1970
|
-
template: `
|
|
1971
|
-
<div class="relative m-0 flex flex-wrap h-screen w-screen items-center justify-center overflow-hidden p-0">
|
|
1972
|
-
|
|
1973
|
-
<div class="flex flex-wrap justify-center items-center w-full flex-none lg:w-6/12 h-full bg-surface-ground p-2">
|
|
1974
|
-
<div class="grid grid-cols-12 w-8/12 flex-none items-center gap-4 pb-2">
|
|
1975
|
-
<div class="col-span-12 p-0 text-[5em] font-bold leading-tight text-text-color min-w-0">{{ config.notfound.code }}</div>
|
|
1976
|
-
<div class="col-span-4 mb-[2em] w-[30%] rounded border-b-4 border-solid border-b-[#f44336] p-0 min-w-0"></div>
|
|
1977
|
-
<div class="col-span-12 mb-2 p-0 text-[1.4em] font-medium leading-relaxed text-text-color min-w-0">{{ config.notfound.title }}</div>
|
|
1978
|
-
<div class="col-span-12 mb-8 max-w-prose p-0 text-base font-medium leading-relaxed text-text-color min-w-0">{{ config.notfound.message }}</div>
|
|
1979
|
-
|
|
1980
|
-
@for (link of config.notfound.links; track link.url) {
|
|
1981
|
-
<a
|
|
1982
|
-
[routerLink]="link.url"
|
|
1983
|
-
class="col-span-12 flex w-full items-center border-0 border-b border-solid border-surface-border py-6 last:border-b-0 no-underline min-w-0"
|
|
1984
|
-
>
|
|
1985
|
-
<span
|
|
1986
|
-
class="flex h-14 w-14 shrink-0 items-center justify-center rounded-lg border-2 border-solid border-primary-color text-primary-color"
|
|
1987
|
-
>
|
|
1988
|
-
<i class="text-2xl" [class]="link.icon"></i>
|
|
1989
|
-
</span>
|
|
1990
|
-
|
|
1991
|
-
<span class="ml-6 flex min-w-0 flex-col">
|
|
1992
|
-
<span class="mb-0 block font-medium text-text-color lg:text-xl">{{ link.title }}</span>
|
|
1993
|
-
<span class="text-text-color-secondary lg:text-xl">{{ link.description }}</span>
|
|
1994
|
-
</span>
|
|
1995
|
-
</a>
|
|
1996
|
-
}
|
|
1997
|
-
|
|
1998
|
-
<div class="col-span-12 flex flex-wrap items-center justify-start min-w-0 gap-2">
|
|
1999
|
-
@for (button of config.notfound.buttons; track button.url) {
|
|
2000
|
-
<button smzButton [label]="button.label" [routerLink]="button.url" (click)="button.command()" class="mt-8" [severity]="button.severity"></button>
|
|
2001
|
-
}
|
|
2002
|
-
</div>
|
|
2003
|
-
</div>
|
|
2004
|
-
</div>
|
|
2005
|
-
|
|
2006
|
-
<div class="w-full flex-none m-0 p-0 lg:w-6/12">
|
|
2007
|
-
<img
|
|
2008
|
-
class="m-0 h-screen w-full object-cover p-0"
|
|
2009
|
-
[src]="config.notfound.backgroundPath"
|
|
2010
|
-
alt=""
|
|
2011
|
-
/>
|
|
2012
|
-
</div>
|
|
2013
|
-
</div>
|
|
1970
|
+
template: `
|
|
1971
|
+
<div class="relative m-0 flex flex-wrap h-screen w-screen items-center justify-center overflow-hidden p-0">
|
|
1972
|
+
|
|
1973
|
+
<div class="flex flex-wrap justify-center items-center w-full flex-none lg:w-6/12 h-full bg-surface-ground p-2">
|
|
1974
|
+
<div class="grid grid-cols-12 w-8/12 flex-none items-center gap-4 pb-2">
|
|
1975
|
+
<div class="col-span-12 p-0 text-[5em] font-bold leading-tight text-text-color min-w-0">{{ config.notfound.code }}</div>
|
|
1976
|
+
<div class="col-span-4 mb-[2em] w-[30%] rounded border-b-4 border-solid border-b-[#f44336] p-0 min-w-0"></div>
|
|
1977
|
+
<div class="col-span-12 mb-2 p-0 text-[1.4em] font-medium leading-relaxed text-text-color min-w-0">{{ config.notfound.title }}</div>
|
|
1978
|
+
<div class="col-span-12 mb-8 max-w-prose p-0 text-base font-medium leading-relaxed text-text-color min-w-0">{{ config.notfound.message }}</div>
|
|
1979
|
+
|
|
1980
|
+
@for (link of config.notfound.links; track link.url) {
|
|
1981
|
+
<a
|
|
1982
|
+
[routerLink]="link.url"
|
|
1983
|
+
class="col-span-12 flex w-full items-center border-0 border-b border-solid border-surface-border py-6 last:border-b-0 no-underline min-w-0"
|
|
1984
|
+
>
|
|
1985
|
+
<span
|
|
1986
|
+
class="flex h-14 w-14 shrink-0 items-center justify-center rounded-lg border-2 border-solid border-primary-color text-primary-color"
|
|
1987
|
+
>
|
|
1988
|
+
<i class="text-2xl" [class]="link.icon"></i>
|
|
1989
|
+
</span>
|
|
1990
|
+
|
|
1991
|
+
<span class="ml-6 flex min-w-0 flex-col">
|
|
1992
|
+
<span class="mb-0 block font-medium text-text-color lg:text-xl">{{ link.title }}</span>
|
|
1993
|
+
<span class="text-text-color-secondary lg:text-xl">{{ link.description }}</span>
|
|
1994
|
+
</span>
|
|
1995
|
+
</a>
|
|
1996
|
+
}
|
|
1997
|
+
|
|
1998
|
+
<div class="col-span-12 flex flex-wrap items-center justify-start min-w-0 gap-2">
|
|
1999
|
+
@for (button of config.notfound.buttons; track button.url) {
|
|
2000
|
+
<button smzButton [label]="button.label" [routerLink]="button.url" (click)="button.command()" class="mt-8" [severity]="button.severity"></button>
|
|
2001
|
+
}
|
|
2002
|
+
</div>
|
|
2003
|
+
</div>
|
|
2004
|
+
</div>
|
|
2005
|
+
|
|
2006
|
+
<div class="w-full flex-none m-0 p-0 lg:w-6/12">
|
|
2007
|
+
<img
|
|
2008
|
+
class="m-0 h-screen w-full object-cover p-0"
|
|
2009
|
+
[src]="config.notfound.backgroundPath"
|
|
2010
|
+
alt=""
|
|
2011
|
+
/>
|
|
2012
|
+
</div>
|
|
2013
|
+
</div>
|
|
2014
2014
|
`
|
|
2015
2015
|
}]
|
|
2016
2016
|
}] });
|