@ngx-smz/layout 21.0.1 → 21.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,11 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { signal, Injectable, InjectionToken, provideAppInitializer, inject, makeEnvironmentProviders, computed, effect, PLATFORM_ID, Component, EventEmitter, Output, Input, Directive, HostBinding, ViewChild } from '@angular/core';
3
- import * as i1 from '@angular/common';
3
+ import * as i3 from '@angular/common';
4
4
  import { CommonModule, Location } from '@angular/common';
5
- import * as i1$1 from '@angular/router';
5
+ import * as i1 from '@angular/router';
6
6
  import { Router, NavigationEnd, RouterModule } from '@angular/router';
7
7
  import { Subject, filter as filter$1 } from 'rxjs';
8
- import * as i3$1 from 'primeng/styleclass';
8
+ import * as i3$2 from 'primeng/styleclass';
9
9
  import { StyleClassModule } from 'primeng/styleclass';
10
10
  import * as i2 from '@angular/forms';
11
11
  import { FormsModule } from '@angular/forms';
@@ -14,21 +14,21 @@ import Aura from '@primeuix/themes/aura';
14
14
  import Lara from '@primeuix/themes/lara';
15
15
  import Nora from '@primeuix/themes/nora';
16
16
  import { PrimeNG } from 'primeng/config';
17
- import * as i3 from 'primeng/selectbutton';
17
+ import * as i3$1 from 'primeng/selectbutton';
18
18
  import { SelectButtonModule } from 'primeng/selectbutton';
19
19
  import { takeWhile, filter } from 'rxjs/operators';
20
20
  import * as i4 from 'primeng/tooltip';
21
21
  import { TooltipModule } from 'primeng/tooltip';
22
22
  import * as i5 from 'primeng/menu';
23
23
  import { MenuModule } from 'primeng/menu';
24
- import * as i2$1 from 'primeng/button';
24
+ import * as i1$1 from 'primeng/button';
25
25
  import { ButtonModule } from 'primeng/button';
26
26
  import { trigger, state, style, transition, animate } from '@angular/animations';
27
27
  import * as i4$1 from 'primeng/ripple';
28
28
  import { RippleModule } from 'primeng/ripple';
29
29
 
30
30
  class SmzUILayout {
31
- hasClaim = (claims) => false;
31
+ hasClaim;
32
32
  sidebar = signal([], ...(ngDevMode ? [{ debugName: "sidebar" }] : []));
33
33
  footer = signal({}, ...(ngDevMode ? [{ debugName: "footer" }] : []));
34
34
  topbar = signal({
@@ -54,19 +54,15 @@ class SmzUILayout {
54
54
  if (sidebar) {
55
55
  this.sidebar = sidebar;
56
56
  }
57
- ;
58
57
  if (footer) {
59
58
  this.footer = footer;
60
59
  }
61
- ;
62
60
  if (topbar) {
63
61
  this.topbar = topbar;
64
62
  }
65
- ;
66
63
  if (hasClaim) {
67
64
  this.hasClaim = hasClaim;
68
65
  }
69
- ;
70
66
  }
71
67
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SmzUILayout, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
72
68
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SmzUILayout, providedIn: 'root' });
@@ -587,7 +583,7 @@ class AppConfigurator {
587
583
  </div>
588
584
  }
589
585
  </div>
590
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: SelectButtonModule }, { kind: "component", type: i3.SelectButton, selector: "p-selectButton, p-selectbutton, p-select-button", inputs: ["options", "optionLabel", "optionValue", "optionDisabled", "unselectable", "tabindex", "multiple", "allowEmpty", "styleClass", "ariaLabelledBy", "dataKey", "autofocus", "size", "fluid"], outputs: ["onOptionClick", "onChange"] }] });
586
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: SelectButtonModule }, { kind: "component", type: i3$1.SelectButton, selector: "p-selectButton, p-selectbutton, p-select-button", inputs: ["options", "optionLabel", "optionValue", "optionDisabled", "unselectable", "tabindex", "multiple", "allowEmpty", "styleClass", "ariaLabelledBy", "dataKey", "autofocus", "size", "fluid"], outputs: ["onOptionClick", "onChange"] }] });
591
587
  }
592
588
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppConfigurator, decorators: [{
593
589
  type: Component,
@@ -1102,7 +1098,7 @@ class AppTopbar {
1102
1098
  </div>
1103
1099
  </div>
1104
1100
  </div>
1105
- }`, isInline: true, dependencies: [{ kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: StyleClassModule }, { kind: "directive", type: i3$1.StyleClass, selector: "[pStyleClass]", inputs: ["pStyleClass", "enterFromClass", "enterActiveClass", "enterToClass", "leaveFromClass", "leaveActiveClass", "leaveToClass", "hideOnOutsideClick", "toggleClass", "hideOnEscape", "hideOnResize", "resizeSelector"] }, { kind: "component", type: AppConfigurator, selector: "app-configurator" }, { kind: "directive", type: ComponentInjectorDirective, selector: "ng-template[componentInjector]", inputs: ["componentInjector", "context"], outputs: ["componentCreated"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i4.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "showOnEllipsis", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip", "pTooltipPT", "pTooltipUnstyled"] }, { kind: "ngmodule", type: MenuModule }, { kind: "component", type: i5.Menu, selector: "p-menu", inputs: ["model", "popup", "style", "styleClass", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "ariaLabel", "ariaLabelledBy", "id", "tabindex", "appendTo", "motionOptions"], outputs: ["onShow", "onHide", "onBlur", "onFocus"] }, { kind: "ngmodule", type: ButtonModule }] });
1101
+ }`, isInline: true, dependencies: [{ kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: StyleClassModule }, { kind: "directive", type: i3$2.StyleClass, selector: "[pStyleClass]", inputs: ["pStyleClass", "enterFromClass", "enterActiveClass", "enterToClass", "leaveFromClass", "leaveActiveClass", "leaveToClass", "hideOnOutsideClick", "toggleClass", "hideOnEscape", "hideOnResize", "resizeSelector"] }, { kind: "component", type: AppConfigurator, selector: "app-configurator" }, { kind: "directive", type: ComponentInjectorDirective, selector: "ng-template[componentInjector]", inputs: ["componentInjector", "context"], outputs: ["componentCreated"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i4.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "showOnEllipsis", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip", "pTooltipPT", "pTooltipUnstyled"] }, { kind: "ngmodule", type: MenuModule }, { kind: "component", type: i5.Menu, selector: "p-menu", inputs: ["model", "popup", "style", "styleClass", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "ariaLabel", "ariaLabelledBy", "id", "tabindex", "appendTo", "motionOptions"], outputs: ["onShow", "onHide", "onBlur", "onFocus"] }, { kind: "ngmodule", type: ButtonModule }] });
1106
1102
  }
1107
1103
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppTopbar, decorators: [{
1108
1104
  type: Component,
@@ -1275,7 +1271,7 @@ class AppMenuitem {
1275
1271
  this.menuResetSubscription.unsubscribe();
1276
1272
  }
1277
1273
  }
1278
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppMenuitem, deps: [{ token: i1$1.Router }, { token: LayoutService }], target: i0.ɵɵFactoryTarget.Component });
1274
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppMenuitem, deps: [{ token: i1.Router }, { token: LayoutService }], target: i0.ɵɵFactoryTarget.Component });
1279
1275
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: AppMenuitem, isStandalone: true, selector: "[app-menuitem]", inputs: { item: "item", index: "index", root: "root", parentKey: "parentKey" }, host: { properties: { "class.layout-root-menuitem": "this.root", "class.active-menuitem": "this.activeClass" } }, ngImport: i0, template: `
1280
1276
  <ng-container>
1281
1277
  @if (root && item.visible !== false) {
@@ -1326,7 +1322,7 @@ class AppMenuitem {
1326
1322
  </ul>
1327
1323
  }
1328
1324
  </ng-container>
1329
- `, isInline: true, dependencies: [{ kind: "component", type: AppMenuitem, selector: "[app-menuitem]", inputs: ["item", "index", "root", "parentKey"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i1$1.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "ngmodule", type: RippleModule }, { kind: "directive", type: i4$1.Ripple, selector: "[pRipple]" }], animations: [
1325
+ `, isInline: true, dependencies: [{ kind: "component", type: AppMenuitem, selector: "[app-menuitem]", inputs: ["item", "index", "root", "parentKey"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i1.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "ngmodule", type: RippleModule }, { kind: "directive", type: i4$1.Ripple, selector: "[pRipple]" }], animations: [
1330
1326
  trigger('children', [
1331
1327
  state('collapsed', style({
1332
1328
  height: '0'
@@ -1408,7 +1404,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
1408
1404
  ],
1409
1405
  // providers: [LayoutService]
1410
1406
  }]
1411
- }], ctorParameters: () => [{ type: i1$1.Router }, { type: LayoutService }], propDecorators: { item: [{
1407
+ }], ctorParameters: () => [{ type: i1.Router }, { type: LayoutService }], propDecorators: { item: [{
1412
1408
  type: Input
1413
1409
  }], index: [{
1414
1410
  type: Input
@@ -1429,15 +1425,15 @@ class AppMenu {
1429
1425
  hasClaim = inject(SMZ_UI_LAYOUT_CONFIG).hasClaim;
1430
1426
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppMenu, deps: [], target: i0.ɵɵFactoryTarget.Component });
1431
1427
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: AppMenu, isStandalone: true, selector: "app-menu", ngImport: i0, template: `<ul class="layout-menu">
1432
- @for (item of model(); track item; let i = $index) {
1433
- @if (!item.separator && hasClaim(item['claims'])) {
1434
- <li app-menuitem [item]="item" [index]="i" [root]="true"></li>
1435
- }
1436
- @if (item.separator) {
1437
- <li class="menu-separator"></li>
1438
- }
1439
- }
1440
- </ul>`, isInline: true, dependencies: [{ kind: "component", type: AppMenuitem, selector: "[app-menuitem]", inputs: ["item", "index", "root", "parentKey"] }, { kind: "ngmodule", type: RouterModule }] });
1428
+ @for (item of model(); track item; let i = $index) {
1429
+ @if (!item.separator && hasClaim(item['claims'])) {
1430
+ <li app-menuitem [item]="item" [index]="i" [root]="true"></li>
1431
+ }
1432
+ @if (item.separator) {
1433
+ <li class="menu-separator"></li>
1434
+ }
1435
+ }
1436
+ </ul>`, isInline: true, dependencies: [{ kind: "component", type: AppMenuitem, selector: "[app-menuitem]", inputs: ["item", "index", "root", "parentKey"] }, { kind: "ngmodule", type: RouterModule }] });
1441
1437
  }
1442
1438
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppMenu, decorators: [{
1443
1439
  type: Component,
@@ -1446,15 +1442,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
1446
1442
  standalone: true,
1447
1443
  imports: [AppMenuitem, RouterModule],
1448
1444
  template: `<ul class="layout-menu">
1449
- @for (item of model(); track item; let i = $index) {
1450
- @if (!item.separator && hasClaim(item['claims'])) {
1451
- <li app-menuitem [item]="item" [index]="i" [root]="true"></li>
1452
- }
1453
- @if (item.separator) {
1454
- <li class="menu-separator"></li>
1455
- }
1456
- }
1457
- </ul>`
1445
+ @for (item of model(); track item; let i = $index) {
1446
+ @if (!item.separator && hasClaim(item['claims'])) {
1447
+ <li app-menuitem [item]="item" [index]="i" [root]="true"></li>
1448
+ }
1449
+ @if (item.separator) {
1450
+ <li class="menu-separator"></li>
1451
+ }
1452
+ }
1453
+ </ul>`
1458
1454
  }]
1459
1455
  }] });
1460
1456
 
@@ -1619,7 +1615,7 @@ class AppLayout {
1619
1615
  this.menuOutsideClickListener();
1620
1616
  }
1621
1617
  }
1622
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppLayout, deps: [{ token: LayoutService }, { token: i0.Renderer2 }, { token: i1$1.Router }], target: i0.ɵɵFactoryTarget.Component });
1618
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppLayout, deps: [{ token: LayoutService }, { token: i0.Renderer2 }, { token: i1.Router }], target: i0.ɵɵFactoryTarget.Component });
1623
1619
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.1", type: AppLayout, isStandalone: true, selector: "app-layout", viewQueries: [{ propertyName: "appSidebar", first: true, predicate: AppSidebar, descendants: true }, { propertyName: "appTopBar", first: true, predicate: AppTopbar, descendants: true }], ngImport: i0, template: `<div class="layout-wrapper" [ngClass]="containerClass">
1624
1620
  <app-topbar></app-topbar>
1625
1621
  <app-sidebar></app-sidebar>
@@ -1630,7 +1626,7 @@ class AppLayout {
1630
1626
  <app-footer></app-footer>
1631
1627
  </div>
1632
1628
  <div class="layout-mask animate-fadein"></div>
1633
- </div> `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: AppTopbar, selector: "app-topbar" }, { kind: "component", type: AppSidebar, selector: "app-sidebar" }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1$1.RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "component", type: AppFooter, selector: "app-footer" }] });
1629
+ </div> `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: AppTopbar, selector: "app-topbar" }, { kind: "component", type: AppSidebar, selector: "app-sidebar" }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1.RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "component", type: AppFooter, selector: "app-footer" }] });
1634
1630
  }
1635
1631
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppLayout, decorators: [{
1636
1632
  type: Component,
@@ -1650,7 +1646,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
1650
1646
  <div class="layout-mask animate-fadein"></div>
1651
1647
  </div> `
1652
1648
  }]
1653
- }], ctorParameters: () => [{ type: LayoutService }, { type: i0.Renderer2 }, { type: i1$1.Router }], propDecorators: { appSidebar: [{
1649
+ }], ctorParameters: () => [{ type: LayoutService }, { type: i0.Renderer2 }, { type: i1.Router }], propDecorators: { appSidebar: [{
1654
1650
  type: ViewChild,
1655
1651
  args: [AppSidebar]
1656
1652
  }], appTopBar: [{
@@ -1673,7 +1669,7 @@ class AppFloatingConfigurator {
1673
1669
  <app-configurator />
1674
1670
  </div>
1675
1671
  </div>
1676
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i2$1.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: StyleClassModule }, { kind: "directive", type: i3$1.StyleClass, selector: "[pStyleClass]", inputs: ["pStyleClass", "enterFromClass", "enterActiveClass", "enterToClass", "leaveFromClass", "leaveActiveClass", "leaveToClass", "hideOnOutsideClick", "toggleClass", "hideOnEscape", "hideOnResize", "resizeSelector"] }, { kind: "component", type: AppConfigurator, selector: "app-configurator" }] });
1672
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$1.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: StyleClassModule }, { kind: "directive", type: i3$2.StyleClass, selector: "[pStyleClass]", inputs: ["pStyleClass", "enterFromClass", "enterActiveClass", "enterToClass", "leaveFromClass", "leaveActiveClass", "leaveToClass", "hideOnOutsideClick", "toggleClass", "hideOnEscape", "hideOnResize", "resizeSelector"] }, { kind: "component", type: AppConfigurator, selector: "app-configurator" }] });
1677
1673
  }
1678
1674
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppFloatingConfigurator, decorators: [{
1679
1675
  type: Component,
@@ -1699,6 +1695,7 @@ class ErrorPagesConfigService {
1699
1695
  code: 404,
1700
1696
  title: 'Página não encontrada',
1701
1697
  message: 'A página que você está procurando não foi encontrada.',
1698
+ backgroundPath: 'assets/images/pages/bg-404.jpg',
1702
1699
  links: [],
1703
1700
  buttons: [
1704
1701
  {
@@ -1713,7 +1710,8 @@ class ErrorPagesConfigService {
1713
1710
  icon: 'pi pi-fw pi-lock',
1714
1711
  title: 'Acesso restrito',
1715
1712
  message: 'Acesso restrito',
1716
- imagePath: 'asset-access.svg',
1713
+ imagePath: 'assets/images/asset-access.svg',
1714
+ backgroundPath: 'assets/images/pages/bg-access.jpg',
1717
1715
  buttons: [
1718
1716
  {
1719
1717
  label: 'Voltar para a home',
@@ -1727,7 +1725,8 @@ class ErrorPagesConfigService {
1727
1725
  icon: 'pi pi-fw pi-exclamation-circle',
1728
1726
  title: 'Ocorreu um erro',
1729
1727
  message: 'Ocorreu um erro ao carregar a página.',
1730
- imagePath: 'asset-error.svg',
1728
+ imagePath: 'assets/images/asset-error.svg',
1729
+ backgroundPath: 'assets/images/pages/bg-error.jpg',
1731
1730
  buttons: [
1732
1731
  {
1733
1732
  label: 'Voltar para a home',
@@ -1761,27 +1760,26 @@ class AccessPageComponent {
1761
1760
  config = inject(ErrorPagesConfigService).config();
1762
1761
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AccessPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1763
1762
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: AccessPageComponent, isStandalone: true, selector: "app-access", ngImport: i0, template: `
1764
- <div class="bg-surface-50 dark:bg-surface-950 flex items-center justify-center min-h-screen min-w-[100vw] overflow-hidden">
1765
- <div class="flex flex-col items-center justify-center">
1766
- <div style="border-radius: 56px; padding: 0.3rem; background: linear-gradient(180deg, rgba(247, 149, 48, 0.4) 10%, rgba(247, 149, 48, 0) 30%)">
1767
- <div class="w-full bg-surface-0 dark:bg-surface-900 py-20 px-8 sm:px-20 flex flex-col items-center" style="border-radius: 53px">
1768
- <div class="gap-4 flex flex-col items-center">
1769
- <div class="flex justify-center items-center border-2 border-orange-500 rounded-full" style="width: 3.2rem; height: 3.2rem">
1770
- <i class="text-orange-500 !text-2xl" [ngClass]="config.access.icon"></i>
1771
- </div>
1772
- <h1 class="text-surface-900 dark:text-surface-0 font-bold text-4xl lg:text-5xl mb-2">{{ config.access.title }}</h1>
1773
- <span class="text-muted-color mb-8">{{ config.access.message }}</span>
1774
- <img [src]="config.access.imagePath" alt="Access denied" class="mb-8" width="80%" />
1775
- @for (button of config.access.buttons; track button.url) {
1776
- <div class="col-span-12 mt-8 text-center">
1777
- <p-button [label]="button.label" [routerLink]="button.url" (onClick)="button.command()" class="mt-8" [severity]="button.severity" />
1778
- </div>
1779
- }
1780
- </div>
1781
- </div>
1782
- </div>
1783
- </div>
1784
- </div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i2$1.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: RippleModule }] });
1763
+ <div class="relative m-0 grid h-screen w-screen items-center justify-center overflow-hidden p-0">
1764
+
1765
+ <div class="grid justify-center items-center col-12 lg:col-6 grid-nogutter h-full bg-surface-ground">
1766
+ <div class="grid col-8 items-center">
1767
+ <div class="col-12 p-0 text-[5em] font-bold leading-tight text-text-color">{{ config.access.title }}</div>
1768
+ <div class="col-4 mb-[2em] w-[30%] rounded border-b-4 border-solid border-b-[#f44336] p-0"></div>
1769
+ <div class="col-12 mb-[2em] max-w-prose p-0 text-[1.4em] font-medium leading-relaxed text-text-color">{{ config.access.message }}</div>
1770
+ <div class="grid grid-nogutter items-center justify-start gap-2">
1771
+ @for (button of config.access.buttons; track button) {
1772
+ <p-button [label]="button.label" [routerLink]="button.url" (onClick)="button.command()" class="mt-8" [severity]="button.severity" />
1773
+ }
1774
+ </div>
1775
+ </div>
1776
+ </div>
1777
+
1778
+ <div class="col-12 m-0 p-0 lg:col-6">
1779
+ <img class="m-0 h-screen w-full object-cover p-0" [src]="config.access.backgroundPath" alt="" />
1780
+ </div>
1781
+ </div>
1782
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$1.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: RippleModule }] });
1785
1783
  }
1786
1784
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AccessPageComponent, decorators: [{
1787
1785
  type: Component,
@@ -1790,27 +1788,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
1790
1788
  standalone: true,
1791
1789
  imports: [CommonModule, ButtonModule, RouterModule, RippleModule, ButtonModule],
1792
1790
  template: `
1793
- <div class="bg-surface-50 dark:bg-surface-950 flex items-center justify-center min-h-screen min-w-[100vw] overflow-hidden">
1794
- <div class="flex flex-col items-center justify-center">
1795
- <div style="border-radius: 56px; padding: 0.3rem; background: linear-gradient(180deg, rgba(247, 149, 48, 0.4) 10%, rgba(247, 149, 48, 0) 30%)">
1796
- <div class="w-full bg-surface-0 dark:bg-surface-900 py-20 px-8 sm:px-20 flex flex-col items-center" style="border-radius: 53px">
1797
- <div class="gap-4 flex flex-col items-center">
1798
- <div class="flex justify-center items-center border-2 border-orange-500 rounded-full" style="width: 3.2rem; height: 3.2rem">
1799
- <i class="text-orange-500 !text-2xl" [ngClass]="config.access.icon"></i>
1800
- </div>
1801
- <h1 class="text-surface-900 dark:text-surface-0 font-bold text-4xl lg:text-5xl mb-2">{{ config.access.title }}</h1>
1802
- <span class="text-muted-color mb-8">{{ config.access.message }}</span>
1803
- <img [src]="config.access.imagePath" alt="Access denied" class="mb-8" width="80%" />
1804
- @for (button of config.access.buttons; track button.url) {
1805
- <div class="col-span-12 mt-8 text-center">
1806
- <p-button [label]="button.label" [routerLink]="button.url" (onClick)="button.command()" class="mt-8" [severity]="button.severity" />
1807
- </div>
1808
- }
1809
- </div>
1810
- </div>
1811
- </div>
1812
- </div>
1813
- </div>`
1791
+ <div class="relative m-0 grid h-screen w-screen items-center justify-center overflow-hidden p-0">
1792
+
1793
+ <div class="grid justify-center items-center col-12 lg:col-6 grid-nogutter h-full bg-surface-ground">
1794
+ <div class="grid col-8 items-center">
1795
+ <div class="col-12 p-0 text-[5em] font-bold leading-tight text-text-color">{{ config.access.title }}</div>
1796
+ <div class="col-4 mb-[2em] w-[30%] rounded border-b-4 border-solid border-b-[#f44336] p-0"></div>
1797
+ <div class="col-12 mb-[2em] max-w-prose p-0 text-[1.4em] font-medium leading-relaxed text-text-color">{{ config.access.message }}</div>
1798
+ <div class="grid grid-nogutter items-center justify-start gap-2">
1799
+ @for (button of config.access.buttons; track button) {
1800
+ <p-button [label]="button.label" [routerLink]="button.url" (onClick)="button.command()" class="mt-8" [severity]="button.severity" />
1801
+ }
1802
+ </div>
1803
+ </div>
1804
+ </div>
1805
+
1806
+ <div class="col-12 m-0 p-0 lg:col-6">
1807
+ <img class="m-0 h-screen w-full object-cover p-0" [src]="config.access.backgroundPath" alt="" />
1808
+ </div>
1809
+ </div>
1810
+ `
1814
1811
  }]
1815
1812
  }] });
1816
1813
 
@@ -1818,27 +1815,26 @@ class ErrorPageComponent {
1818
1815
  config = inject(ErrorPagesConfigService).config();
1819
1816
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ErrorPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1820
1817
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: ErrorPageComponent, isStandalone: true, selector: "app-error", ngImport: i0, template: `
1821
- <div class="bg-surface-50 dark:bg-surface-950 flex items-center justify-center min-h-screen min-w-[100vw] overflow-hidden">
1822
- <div class="flex flex-col items-center justify-center">
1823
- <div style="border-radius: 56px; padding: 0.3rem; background: linear-gradient(180deg, rgba(233, 30, 99, 0.4) 10%, rgba(33, 150, 243, 0) 30%)">
1824
- <div class="w-full bg-surface-0 dark:bg-surface-900 py-20 px-8 sm:px-20 flex flex-col items-center" style="border-radius: 53px">
1825
- <div class="gap-4 flex flex-col items-center">
1826
- <div class="flex justify-center items-center border-2 border-pink-500 rounded-full" style="height: 3.2rem; width: 3.2rem">
1827
- <i class="!text-2xl text-pink-500" [ngClass]="config.error.icon"></i>
1828
- </div>
1829
- <h1 class="text-surface-900 dark:text-surface-0 font-bold text-5xl mb-2">{{ config.error.title }}</h1>
1830
- <span class="text-muted-color mb-8">{{ config.error.message }}</span>
1831
- <img [src]="config.error.imagePath" alt="Error" class="mb-8" width="80%" />
1832
- @for (button of config.error.buttons; track button.url) {
1833
- <div class="col-span-12 mt-4 text-center">
1834
- <p-button [label]="button.label" [routerLink]="button.url" (onClick)="button.command()" class="mt-8" [severity]="button.severity" />
1835
- </div>
1836
- }
1837
- </div>
1838
- </div>
1839
- </div>
1840
- </div>
1841
- </div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i2$1.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: RippleModule }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }] });
1818
+ <div class="relative m-0 grid h-screen w-screen items-center justify-center overflow-hidden p-0">
1819
+
1820
+ <div class="grid justify-center items-center col-12 lg:col-6 grid-nogutter h-full bg-surface-ground">
1821
+ <div class="grid col-8 items-center">
1822
+ <div class="col-12 p-0 text-[5em] font-bold leading-tight text-text-color">{{ config.error.title }}</div>
1823
+ <div class="col-4 mb-[2em] w-[30%] rounded border-b-4 border-solid border-b-[#f44336] p-0"></div>
1824
+ <div class="col-12 mb-[2em] max-w-prose p-0 text-[1.4em] font-medium leading-relaxed text-text-color">{{ config.error.message }}</div>
1825
+ <div class="grid grid-nogutter items-center justify-start gap-2">
1826
+ @for (button of config.error.buttons; track button) {
1827
+ <p-button [label]="button.label" [routerLink]="button.url" (onClick)="button.command()" class="mt-8" [severity]="button.severity" />
1828
+ }
1829
+ </div>
1830
+ </div>
1831
+ </div>
1832
+
1833
+ <div class="col-12 m-0 p-0 lg:col-6">
1834
+ <img class="m-0 h-screen w-full object-cover p-0" [src]="config.error.backgroundPath" alt="" />
1835
+ </div>
1836
+ </div>
1837
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$1.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: RippleModule }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }] });
1842
1838
  }
1843
1839
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ErrorPageComponent, decorators: [{
1844
1840
  type: Component,
@@ -1847,27 +1843,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
1847
1843
  imports: [CommonModule, ButtonModule, RippleModule, RouterModule, ButtonModule],
1848
1844
  standalone: true,
1849
1845
  template: `
1850
- <div class="bg-surface-50 dark:bg-surface-950 flex items-center justify-center min-h-screen min-w-[100vw] overflow-hidden">
1851
- <div class="flex flex-col items-center justify-center">
1852
- <div style="border-radius: 56px; padding: 0.3rem; background: linear-gradient(180deg, rgba(233, 30, 99, 0.4) 10%, rgba(33, 150, 243, 0) 30%)">
1853
- <div class="w-full bg-surface-0 dark:bg-surface-900 py-20 px-8 sm:px-20 flex flex-col items-center" style="border-radius: 53px">
1854
- <div class="gap-4 flex flex-col items-center">
1855
- <div class="flex justify-center items-center border-2 border-pink-500 rounded-full" style="height: 3.2rem; width: 3.2rem">
1856
- <i class="!text-2xl text-pink-500" [ngClass]="config.error.icon"></i>
1857
- </div>
1858
- <h1 class="text-surface-900 dark:text-surface-0 font-bold text-5xl mb-2">{{ config.error.title }}</h1>
1859
- <span class="text-muted-color mb-8">{{ config.error.message }}</span>
1860
- <img [src]="config.error.imagePath" alt="Error" class="mb-8" width="80%" />
1861
- @for (button of config.error.buttons; track button.url) {
1862
- <div class="col-span-12 mt-4 text-center">
1863
- <p-button [label]="button.label" [routerLink]="button.url" (onClick)="button.command()" class="mt-8" [severity]="button.severity" />
1864
- </div>
1865
- }
1866
- </div>
1867
- </div>
1868
- </div>
1869
- </div>
1870
- </div>`
1846
+ <div class="relative m-0 grid h-screen w-screen items-center justify-center overflow-hidden p-0">
1847
+
1848
+ <div class="grid justify-center items-center col-12 lg:col-6 grid-nogutter h-full bg-surface-ground">
1849
+ <div class="grid col-8 items-center">
1850
+ <div class="col-12 p-0 text-[5em] font-bold leading-tight text-text-color">{{ config.error.title }}</div>
1851
+ <div class="col-4 mb-[2em] w-[30%] rounded border-b-4 border-solid border-b-[#f44336] p-0"></div>
1852
+ <div class="col-12 mb-[2em] max-w-prose p-0 text-[1.4em] font-medium leading-relaxed text-text-color">{{ config.error.message }}</div>
1853
+ <div class="grid grid-nogutter items-center justify-start gap-2">
1854
+ @for (button of config.error.buttons; track button) {
1855
+ <p-button [label]="button.label" [routerLink]="button.url" (onClick)="button.command()" class="mt-8" [severity]="button.severity" />
1856
+ }
1857
+ </div>
1858
+ </div>
1859
+ </div>
1860
+
1861
+ <div class="col-12 m-0 p-0 lg:col-6">
1862
+ <img class="m-0 h-screen w-full object-cover p-0" [src]="config.error.backgroundPath" alt="" />
1863
+ </div>
1864
+ </div>
1865
+ `
1871
1866
  }]
1872
1867
  }] });
1873
1868
 
@@ -1875,75 +1870,121 @@ class NotfoundPageComponent {
1875
1870
  config = inject(ErrorPagesConfigService).config();
1876
1871
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: NotfoundPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1877
1872
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: NotfoundPageComponent, isStandalone: true, selector: "app-notfound", ngImport: i0, template: `
1878
- <div class="flex items-center justify-center min-h-screen overflow-hidden">
1879
- <div class="flex flex-col items-center justify-center">
1880
- <div style="border-radius: 56px; padding: 0.3rem; background: linear-gradient(180deg, color-mix(in srgb, var(--primary-color), transparent 60%) 10%, var(--surface-ground) 30%)">
1881
- <div class="w-full bg-surface-0 dark:bg-surface-900 py-20 px-8 sm:px-20 flex flex-col items-center" style="border-radius: 53px">
1882
- <span class="text-primary font-bold text-3xl">{{ config.notfound.code }}</span>
1883
- <h1 class="text-surface-900 dark:text-surface-0 font-bold text-3xl lg:text-5xl mb-2">{{ config.notfound.title }}</h1>
1884
- <div class="text-surface-600 dark:text-surface-200 mb-8">{{ config.notfound.message }}</div>
1873
+ <div class="relative m-0 grid h-screen w-screen items-center justify-center overflow-hidden p-0">
1885
1874
 
1886
- @for (link of config.notfound.links; track link.url) {
1887
- <a [routerLink]="link.url" class="w-full flex items-center py-8 border-surface-300 dark:border-surface-500 border-b">
1888
- <span class="flex justify-center items-center border-2 border-primary text-primary rounded-border" style="height: 3.5rem; width: 3.5rem">
1889
- <i class="!text-2xl" [ngClass]="link.icon"></i>
1890
- </span>
1891
- <span class="ml-6 flex flex-col">
1892
- <span class="text-surface-900 dark:text-surface-0 lg:text-xl font-medium mb-0 block">{{ link.title }}</span>
1893
- <span class="text-surface-600 dark:text-surface-200 lg:text-xl">{{ link.description }}</span>
1894
- </span>
1895
- </a>
1896
- }
1875
+ <div class="grid justify-center items-center col-12 lg:col-6 grid-nogutter h-full bg-surface-ground">
1876
+ <div class="grid col-8 items-center">
1877
+ <div class="col-12 p-0 text-[5em] font-bold leading-tight text-text-color">{{ config.notfound.code }}</div>
1878
+ <div class="col-4 mb-[2em] w-[30%] rounded border-b-4 border-solid border-b-[#f44336] p-0"></div>
1879
+ <div class="col-12 mb-2 p-0 text-[1.4em] font-medium leading-relaxed text-text-color">{{ config.notfound.title }}</div>
1880
+ <div class="col-12 mb-8 max-w-prose p-0 text-base font-medium leading-relaxed text-text-color">{{ config.notfound.message }}</div>
1897
1881
 
1898
- @for (button of config.notfound.buttons; track button.url) {
1899
- <p-button [label]="button.label" [routerLink]="button.url" (onClick)="button.command()" class="mt-8" [severity]="button.severity" />
1900
- }
1901
- </div>
1902
- </div>
1903
- </div>
1904
- </div>`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i2$1.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }] });
1882
+ @for (link of config.notfound.links; track link.url) {
1883
+ <a
1884
+ [routerLink]="link.url"
1885
+ class="col-12 flex w-full items-center border-0 border-b border-solid border-surface-border py-6 last:border-b-0 no-underline"
1886
+ >
1887
+ <span
1888
+ class="flex h-14 w-14 shrink-0 items-center justify-center rounded-lg border-2 border-solid border-primary-color text-primary-color"
1889
+ >
1890
+ <i class="text-2xl" [class]="link.icon"></i>
1891
+ </span>
1892
+
1893
+ <span class="ml-6 flex min-w-0 flex-col">
1894
+ <span class="mb-0 block font-medium text-text-color lg:text-xl">{{ link.title }}</span>
1895
+ <span class="text-text-color-secondary lg:text-xl">{{ link.description }}</span>
1896
+ </span>
1897
+ </a>
1898
+ }
1899
+
1900
+ <div class="col-12 grid grid-nogutter items-center justify-start gap-2">
1901
+ @for (button of config.notfound.buttons; track button.url) {
1902
+ <p-button
1903
+ [label]="button.label"
1904
+ [routerLink]="button.url"
1905
+ (onClick)="button.command()"
1906
+ class="mt-8"
1907
+ [severity]="button.severity"
1908
+ />
1909
+ }
1910
+ </div>
1911
+ </div>
1912
+ </div>
1913
+
1914
+ <div class="col-12 m-0 p-0 lg:col-6">
1915
+ <img
1916
+ class="m-0 h-screen w-full object-cover p-0"
1917
+ [src]="config.notfound.backgroundPath"
1918
+ alt=""
1919
+ />
1920
+ </div>
1921
+ </div>
1922
+ `, 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: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$1.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: RippleModule }] });
1905
1923
  }
1906
1924
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: NotfoundPageComponent, decorators: [{
1907
1925
  type: Component,
1908
1926
  args: [{
1909
1927
  selector: 'app-notfound',
1910
1928
  standalone: true,
1911
- imports: [CommonModule, RouterModule, ButtonModule],
1929
+ imports: [CommonModule, RouterModule, ButtonModule, RippleModule],
1912
1930
  template: `
1913
- <div class="flex items-center justify-center min-h-screen overflow-hidden">
1914
- <div class="flex flex-col items-center justify-center">
1915
- <div style="border-radius: 56px; padding: 0.3rem; background: linear-gradient(180deg, color-mix(in srgb, var(--primary-color), transparent 60%) 10%, var(--surface-ground) 30%)">
1916
- <div class="w-full bg-surface-0 dark:bg-surface-900 py-20 px-8 sm:px-20 flex flex-col items-center" style="border-radius: 53px">
1917
- <span class="text-primary font-bold text-3xl">{{ config.notfound.code }}</span>
1918
- <h1 class="text-surface-900 dark:text-surface-0 font-bold text-3xl lg:text-5xl mb-2">{{ config.notfound.title }}</h1>
1919
- <div class="text-surface-600 dark:text-surface-200 mb-8">{{ config.notfound.message }}</div>
1931
+ <div class="relative m-0 grid h-screen w-screen items-center justify-center overflow-hidden p-0">
1920
1932
 
1921
- @for (link of config.notfound.links; track link.url) {
1922
- <a [routerLink]="link.url" class="w-full flex items-center py-8 border-surface-300 dark:border-surface-500 border-b">
1923
- <span class="flex justify-center items-center border-2 border-primary text-primary rounded-border" style="height: 3.5rem; width: 3.5rem">
1924
- <i class="!text-2xl" [ngClass]="link.icon"></i>
1925
- </span>
1926
- <span class="ml-6 flex flex-col">
1927
- <span class="text-surface-900 dark:text-surface-0 lg:text-xl font-medium mb-0 block">{{ link.title }}</span>
1928
- <span class="text-surface-600 dark:text-surface-200 lg:text-xl">{{ link.description }}</span>
1929
- </span>
1930
- </a>
1931
- }
1933
+ <div class="grid justify-center items-center col-12 lg:col-6 grid-nogutter h-full bg-surface-ground">
1934
+ <div class="grid col-8 items-center">
1935
+ <div class="col-12 p-0 text-[5em] font-bold leading-tight text-text-color">{{ config.notfound.code }}</div>
1936
+ <div class="col-4 mb-[2em] w-[30%] rounded border-b-4 border-solid border-b-[#f44336] p-0"></div>
1937
+ <div class="col-12 mb-2 p-0 text-[1.4em] font-medium leading-relaxed text-text-color">{{ config.notfound.title }}</div>
1938
+ <div class="col-12 mb-8 max-w-prose p-0 text-base font-medium leading-relaxed text-text-color">{{ config.notfound.message }}</div>
1932
1939
 
1933
- @for (button of config.notfound.buttons; track button.url) {
1934
- <p-button [label]="button.label" [routerLink]="button.url" (onClick)="button.command()" class="mt-8" [severity]="button.severity" />
1935
- }
1936
- </div>
1937
- </div>
1938
- </div>
1939
- </div>`
1940
+ @for (link of config.notfound.links; track link.url) {
1941
+ <a
1942
+ [routerLink]="link.url"
1943
+ class="col-12 flex w-full items-center border-0 border-b border-solid border-surface-border py-6 last:border-b-0 no-underline"
1944
+ >
1945
+ <span
1946
+ class="flex h-14 w-14 shrink-0 items-center justify-center rounded-lg border-2 border-solid border-primary-color text-primary-color"
1947
+ >
1948
+ <i class="text-2xl" [class]="link.icon"></i>
1949
+ </span>
1950
+
1951
+ <span class="ml-6 flex min-w-0 flex-col">
1952
+ <span class="mb-0 block font-medium text-text-color lg:text-xl">{{ link.title }}</span>
1953
+ <span class="text-text-color-secondary lg:text-xl">{{ link.description }}</span>
1954
+ </span>
1955
+ </a>
1956
+ }
1957
+
1958
+ <div class="col-12 grid grid-nogutter items-center justify-start gap-2">
1959
+ @for (button of config.notfound.buttons; track button.url) {
1960
+ <p-button
1961
+ [label]="button.label"
1962
+ [routerLink]="button.url"
1963
+ (onClick)="button.command()"
1964
+ class="mt-8"
1965
+ [severity]="button.severity"
1966
+ />
1967
+ }
1968
+ </div>
1969
+ </div>
1970
+ </div>
1971
+
1972
+ <div class="col-12 m-0 p-0 lg:col-6">
1973
+ <img
1974
+ class="m-0 h-screen w-full object-cover p-0"
1975
+ [src]="config.notfound.backgroundPath"
1976
+ alt=""
1977
+ />
1978
+ </div>
1979
+ </div>
1980
+ `
1940
1981
  }]
1941
1982
  }] });
1942
1983
 
1943
1984
  const ErrorsRoutes = [
1944
- { path: 'access', component: AccessPageComponent },
1945
- { path: 'error', component: ErrorPageComponent },
1946
- { path: 'notfound', component: NotfoundPageComponent }
1985
+ { path: 'access', data: { layout: { mode: 'none', contentPadding: '0em' } }, component: AccessPageComponent },
1986
+ { path: 'error', data: { layout: { mode: 'none', contentPadding: '0em' } }, component: ErrorPageComponent },
1987
+ { path: 'notfound', data: { layout: { mode: 'none', contentPadding: '0em' } }, component: NotfoundPageComponent }
1947
1988
  ];
1948
1989
 
1949
1990
  /*