@ngx-smz/layout 21.0.0-alpha.1 → 21.0.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/fesm2022/ngx-smz-layout.mjs +290 -290
- package/fesm2022/ngx-smz-layout.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -23,7 +23,7 @@ import * as i5 from 'primeng/menu';
|
|
|
23
23
|
import { MenuModule } from 'primeng/menu';
|
|
24
24
|
import * as i2$1 from 'primeng/button';
|
|
25
25
|
import { ButtonModule } from 'primeng/button';
|
|
26
|
-
import { trigger, state,
|
|
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
|
|
|
@@ -68,10 +68,10 @@ class SmzUILayout {
|
|
|
68
68
|
}
|
|
69
69
|
;
|
|
70
70
|
}
|
|
71
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1
|
|
72
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1
|
|
71
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SmzUILayout, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
72
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SmzUILayout, providedIn: 'root' });
|
|
73
73
|
}
|
|
74
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1
|
|
74
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SmzUILayout, decorators: [{
|
|
75
75
|
type: Injectable,
|
|
76
76
|
args: [{ providedIn: 'root' }]
|
|
77
77
|
}] });
|
|
@@ -194,10 +194,10 @@ class LayoutService {
|
|
|
194
194
|
reset() {
|
|
195
195
|
this.resetSource.next(true);
|
|
196
196
|
}
|
|
197
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1
|
|
198
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1
|
|
197
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: LayoutService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
198
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: LayoutService, providedIn: 'root' });
|
|
199
199
|
}
|
|
200
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1
|
|
200
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: LayoutService, decorators: [{
|
|
201
201
|
type: Injectable,
|
|
202
202
|
args: [{
|
|
203
203
|
providedIn: 'root'
|
|
@@ -539,8 +539,8 @@ class AppConfigurator {
|
|
|
539
539
|
onMenuModeChange(event) {
|
|
540
540
|
this.layoutService.layoutConfig.update((prev) => ({ ...prev, menuMode: event }));
|
|
541
541
|
}
|
|
542
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1
|
|
543
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1
|
|
542
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppConfigurator, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
543
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: AppConfigurator, isStandalone: true, selector: "app-configurator", host: { classAttribute: "hidden absolute top-[3.25rem] right-0 w-72 p-4 bg-surface-0 dark:bg-surface-900 border border-surface rounded-border origin-top shadow-[0px_3px_5px_rgba(0,0,0,0.02),0px_0px_2px_rgba(0,0,0,0.05),0px_1px_4px_rgba(0,0,0,0.08)]" }, ngImport: i0, template: `
|
|
544
544
|
<div class="flex flex-col gap-4">
|
|
545
545
|
<div>
|
|
546
546
|
<span class="text-sm text-muted-color font-semibold">Primary</span>
|
|
@@ -589,7 +589,7 @@ class AppConfigurator {
|
|
|
589
589
|
</div>
|
|
590
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"] }] });
|
|
591
591
|
}
|
|
592
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1
|
|
592
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppConfigurator, decorators: [{
|
|
593
593
|
type: Component,
|
|
594
594
|
args: [{
|
|
595
595
|
selector: 'app-configurator',
|
|
@@ -666,10 +666,10 @@ class InjectComponentService {
|
|
|
666
666
|
getComponent(key) {
|
|
667
667
|
return this.componentRefs.get(key);
|
|
668
668
|
}
|
|
669
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1
|
|
670
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1
|
|
669
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InjectComponentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
670
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InjectComponentService, providedIn: 'root' });
|
|
671
671
|
}
|
|
672
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1
|
|
672
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InjectComponentService, decorators: [{
|
|
673
673
|
type: Injectable,
|
|
674
674
|
args: [{
|
|
675
675
|
providedIn: 'root'
|
|
@@ -728,10 +728,10 @@ class ComponentInjectorDirective {
|
|
|
728
728
|
ngOnDestroy() {
|
|
729
729
|
this.removeComp();
|
|
730
730
|
}
|
|
731
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1
|
|
732
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.1
|
|
731
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ComponentInjectorDirective, deps: [{ token: i0.ViewContainerRef }, { token: InjectComponentService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
732
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.1", type: ComponentInjectorDirective, isStandalone: true, selector: "ng-template[componentInjector]", inputs: { componentInjector: "componentInjector", context: "context" }, outputs: { componentCreated: "componentCreated" }, ngImport: i0 });
|
|
733
733
|
}
|
|
734
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1
|
|
734
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ComponentInjectorDirective, decorators: [{
|
|
735
735
|
type: Directive,
|
|
736
736
|
args: [{
|
|
737
737
|
selector: 'ng-template[componentInjector]',
|
|
@@ -759,10 +759,10 @@ class SmzLayoutLogging {
|
|
|
759
759
|
}
|
|
760
760
|
;
|
|
761
761
|
}
|
|
762
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1
|
|
763
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1
|
|
762
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SmzLayoutLogging, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
763
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SmzLayoutLogging, providedIn: 'root' });
|
|
764
764
|
}
|
|
765
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1
|
|
765
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SmzLayoutLogging, decorators: [{
|
|
766
766
|
type: Injectable,
|
|
767
767
|
args: [{ providedIn: 'root' }]
|
|
768
768
|
}] });
|
|
@@ -869,10 +869,10 @@ class LoggingService {
|
|
|
869
869
|
}
|
|
870
870
|
};
|
|
871
871
|
}
|
|
872
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1
|
|
873
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1
|
|
872
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: LoggingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
873
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: LoggingService, providedIn: 'root' });
|
|
874
874
|
}
|
|
875
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1
|
|
875
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: LoggingService, decorators: [{
|
|
876
876
|
type: Injectable,
|
|
877
877
|
args: [{ providedIn: 'root' }]
|
|
878
878
|
}] });
|
|
@@ -956,10 +956,10 @@ class NavigationService {
|
|
|
956
956
|
});
|
|
957
957
|
this.location.back();
|
|
958
958
|
}
|
|
959
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1
|
|
960
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1
|
|
959
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: NavigationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
960
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: NavigationService, providedIn: 'root' });
|
|
961
961
|
}
|
|
962
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1
|
|
962
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: NavigationService, decorators: [{
|
|
963
963
|
type: Injectable,
|
|
964
964
|
args: [{ providedIn: 'root' }]
|
|
965
965
|
}], ctorParameters: () => [] });
|
|
@@ -998,10 +998,10 @@ class PageTitleService {
|
|
|
998
998
|
: null;
|
|
999
999
|
this.titleSignal.set(title);
|
|
1000
1000
|
}
|
|
1001
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1
|
|
1002
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1
|
|
1001
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: PageTitleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1002
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: PageTitleService, providedIn: 'root' });
|
|
1003
1003
|
}
|
|
1004
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1
|
|
1004
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: PageTitleService, decorators: [{
|
|
1005
1005
|
type: Injectable,
|
|
1006
1006
|
args: [{ providedIn: 'root' }]
|
|
1007
1007
|
}], ctorParameters: () => [] });
|
|
@@ -1018,181 +1018,181 @@ class AppTopbar {
|
|
|
1018
1018
|
handleMissingImage(event, placeholder) {
|
|
1019
1019
|
event.target.src = placeholder;
|
|
1020
1020
|
}
|
|
1021
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1
|
|
1022
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1
|
|
1023
|
-
@if (data(); as topbar) {
|
|
1024
|
-
<div class="layout-topbar">
|
|
1025
|
-
<div class="layout-topbar-logo-container">
|
|
1026
|
-
@if (topbar.showMenuToggle) {
|
|
1027
|
-
<button class="layout-menu-button layout-topbar-action" (click)="layoutService.onMenuToggle()">
|
|
1028
|
-
<i class="pi pi-bars"></i>
|
|
1029
|
-
</button>
|
|
1030
|
-
}
|
|
1031
|
-
<a class="layout-topbar-logo" routerLink="/">
|
|
1032
|
-
@if (topbar.logoPath?.light && !layoutService.isDarkTheme()) {
|
|
1033
|
-
<img [src]="topbar.logoPath?.light" [alt]="topbar.logoPath?.light" class="max-h-9 min-h-8" />
|
|
1034
|
-
}
|
|
1035
|
-
@if (topbar.logoPath?.dark && layoutService.isDarkTheme()) {
|
|
1036
|
-
<img [src]="topbar.logoPath?.dark" [alt]="topbar.logoPath?.dark" class="max-h-9 min-h-8" />
|
|
1037
|
-
}
|
|
1038
|
-
</a>
|
|
1039
|
-
@if (topbar.appName) {
|
|
1040
|
-
<span class="layout-topbar-app-name">{{ topbar.appName }}</span>
|
|
1041
|
-
}
|
|
1042
|
-
</div>
|
|
1043
|
-
<div class="layout-topbar-left-actions">
|
|
1044
|
-
@if (topbar.showBackButton || pageTitleService.hasTitle()) {
|
|
1045
|
-
<span class="topbar-separator"></span>
|
|
1046
|
-
}
|
|
1047
|
-
@if (topbar.showBackButton && navigationService.canGoBackSignal()) {
|
|
1048
|
-
<button class="layout-menu-button layout-topbar-action" (click)="navigationService.goBack()">
|
|
1049
|
-
<i class="pi pi-arrow-left"></i>
|
|
1050
|
-
</button>
|
|
1051
|
-
}
|
|
1052
|
-
@if (pageTitleService.hasTitle()) {
|
|
1053
|
-
<span class="layout-topbar-page-title">
|
|
1054
|
-
<span>{{ pageTitleService.title() }}</span>
|
|
1055
|
-
</span>
|
|
1056
|
-
}
|
|
1057
|
-
</div>
|
|
1058
|
-
<div class="layout-topbar-right-actions">
|
|
1059
|
-
<button class="layout-topbar-menu-button layout-topbar-action" pStyleClass="@next" enterFromClass="hidden" enterActiveClass="animate-scalein" leaveToClass="hidden" leaveActiveClass="animate-fadeout" [hideOnOutsideClick]="true">
|
|
1060
|
-
<i class="pi pi-ellipsis-v"></i>
|
|
1061
|
-
</button>
|
|
1062
|
-
<div class="layout-topbar-menu hidden lg:block">
|
|
1063
|
-
<div class="layout-topbar-menu-content">
|
|
1064
|
-
@for (item of topbar.menuItems; track item) {
|
|
1065
|
-
@if (item.component != null) {
|
|
1066
|
-
<ng-template [componentInjector]="item.component"></ng-template>
|
|
1067
|
-
}
|
|
1068
|
-
@else {
|
|
1069
|
-
<button type="button" class="layout-topbar-action" (click)="item.callback()" [routerLink]="item.routerLink" [pTooltip]="item.tooltip">
|
|
1070
|
-
<i [ngClass]="item.icon"></i>
|
|
1071
|
-
<span>{{ item.label }}</span>
|
|
1072
|
-
</button>
|
|
1073
|
-
}
|
|
1074
|
-
}
|
|
1075
|
-
</div>
|
|
1076
|
-
</div>
|
|
1077
|
-
<div class="layout-config-menu">
|
|
1078
|
-
@if (topbar.showDarkModeToggle) {
|
|
1079
|
-
<button type="button" class="layout-topbar-action" (click)="toggleDarkMode()" pTooltip="Dark/Light">
|
|
1080
|
-
<i [ngClass]="{ 'pi ': true, 'pi-moon': layoutService.isDarkTheme(), 'pi-sun': !layoutService.isDarkTheme() }"></i>
|
|
1081
|
-
</button>
|
|
1082
|
-
}
|
|
1083
|
-
@if (topbar.showConfigurator) {
|
|
1084
|
-
<div class="relative">
|
|
1085
|
-
<button class="layout-topbar-action layout-topbar-action-highlight" pTooltip="Configurações" pStyleClass="@next" enterFromClass="hidden" enterActiveClass="animate-scalein" leaveToClass="hidden" leaveActiveClass="animate-fadeout" [hideOnOutsideClick]="true">
|
|
1086
|
-
<i class="pi pi-palette"></i>
|
|
1087
|
-
</button>
|
|
1088
|
-
<app-configurator></app-configurator>
|
|
1089
|
-
</div>
|
|
1090
|
-
}
|
|
1091
|
-
@for (feature of topbar.features; track feature) {
|
|
1092
|
-
<p-menu #menu [model]="feature.menuItems" [popup]="true" />
|
|
1093
|
-
@if (feature.avatar && feature.avatar() != null) {
|
|
1094
|
-
<img [src]="feature.avatar()" [alt]="feature.label" class="layout-topbar-action w-8 h-8 rounded-full" (click)="menu.toggle($event)" [pTooltip]="feature.tooltip" (error)="handleMissingImage($event, feature.placeholder)"/>
|
|
1095
|
-
}
|
|
1096
|
-
@else {
|
|
1097
|
-
<button type="button" class="layout-topbar-action" (click)="menu.toggle($event)" [pTooltip]="feature.tooltip">
|
|
1098
|
-
<i [ngClass]="feature.icon()"></i>
|
|
1099
|
-
</button>
|
|
1100
|
-
}
|
|
1101
|
-
}
|
|
1102
|
-
</div>
|
|
1103
|
-
</div>
|
|
1104
|
-
</div>
|
|
1021
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppTopbar, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1022
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: AppTopbar, isStandalone: true, selector: "app-topbar", ngImport: i0, template: `
|
|
1023
|
+
@if (data(); as topbar) {
|
|
1024
|
+
<div class="layout-topbar">
|
|
1025
|
+
<div class="layout-topbar-logo-container">
|
|
1026
|
+
@if (topbar.showMenuToggle) {
|
|
1027
|
+
<button class="layout-menu-button layout-topbar-action" (click)="layoutService.onMenuToggle()">
|
|
1028
|
+
<i class="pi pi-bars"></i>
|
|
1029
|
+
</button>
|
|
1030
|
+
}
|
|
1031
|
+
<a class="layout-topbar-logo" routerLink="/">
|
|
1032
|
+
@if (topbar.logoPath?.light && !layoutService.isDarkTheme()) {
|
|
1033
|
+
<img [src]="topbar.logoPath?.light" [alt]="topbar.logoPath?.light" class="max-h-9 min-h-8" />
|
|
1034
|
+
}
|
|
1035
|
+
@if (topbar.logoPath?.dark && layoutService.isDarkTheme()) {
|
|
1036
|
+
<img [src]="topbar.logoPath?.dark" [alt]="topbar.logoPath?.dark" class="max-h-9 min-h-8" />
|
|
1037
|
+
}
|
|
1038
|
+
</a>
|
|
1039
|
+
@if (topbar.appName) {
|
|
1040
|
+
<span class="layout-topbar-app-name">{{ topbar.appName }}</span>
|
|
1041
|
+
}
|
|
1042
|
+
</div>
|
|
1043
|
+
<div class="layout-topbar-left-actions">
|
|
1044
|
+
@if (topbar.showBackButton || pageTitleService.hasTitle()) {
|
|
1045
|
+
<span class="topbar-separator"></span>
|
|
1046
|
+
}
|
|
1047
|
+
@if (topbar.showBackButton && navigationService.canGoBackSignal()) {
|
|
1048
|
+
<button class="layout-menu-button layout-topbar-action" (click)="navigationService.goBack()">
|
|
1049
|
+
<i class="pi pi-arrow-left"></i>
|
|
1050
|
+
</button>
|
|
1051
|
+
}
|
|
1052
|
+
@if (pageTitleService.hasTitle()) {
|
|
1053
|
+
<span class="layout-topbar-page-title">
|
|
1054
|
+
<span>{{ pageTitleService.title() }}</span>
|
|
1055
|
+
</span>
|
|
1056
|
+
}
|
|
1057
|
+
</div>
|
|
1058
|
+
<div class="layout-topbar-right-actions">
|
|
1059
|
+
<button class="layout-topbar-menu-button layout-topbar-action" pStyleClass="@next" enterFromClass="hidden" enterActiveClass="animate-scalein" leaveToClass="hidden" leaveActiveClass="animate-fadeout" [hideOnOutsideClick]="true">
|
|
1060
|
+
<i class="pi pi-ellipsis-v"></i>
|
|
1061
|
+
</button>
|
|
1062
|
+
<div class="layout-topbar-menu hidden lg:block">
|
|
1063
|
+
<div class="layout-topbar-menu-content">
|
|
1064
|
+
@for (item of topbar.menuItems; track item) {
|
|
1065
|
+
@if (item.component != null) {
|
|
1066
|
+
<ng-template [componentInjector]="item.component"></ng-template>
|
|
1067
|
+
}
|
|
1068
|
+
@else {
|
|
1069
|
+
<button type="button" class="layout-topbar-action" (click)="item.callback()" [routerLink]="item.routerLink" [pTooltip]="item.tooltip">
|
|
1070
|
+
<i [ngClass]="item.icon"></i>
|
|
1071
|
+
<span>{{ item.label }}</span>
|
|
1072
|
+
</button>
|
|
1073
|
+
}
|
|
1074
|
+
}
|
|
1075
|
+
</div>
|
|
1076
|
+
</div>
|
|
1077
|
+
<div class="layout-config-menu">
|
|
1078
|
+
@if (topbar.showDarkModeToggle) {
|
|
1079
|
+
<button type="button" class="layout-topbar-action" (click)="toggleDarkMode()" pTooltip="Dark/Light">
|
|
1080
|
+
<i [ngClass]="{ 'pi ': true, 'pi-moon': layoutService.isDarkTheme(), 'pi-sun': !layoutService.isDarkTheme() }"></i>
|
|
1081
|
+
</button>
|
|
1082
|
+
}
|
|
1083
|
+
@if (topbar.showConfigurator) {
|
|
1084
|
+
<div class="relative">
|
|
1085
|
+
<button class="layout-topbar-action layout-topbar-action-highlight" pTooltip="Configurações" pStyleClass="@next" enterFromClass="hidden" enterActiveClass="animate-scalein" leaveToClass="hidden" leaveActiveClass="animate-fadeout" [hideOnOutsideClick]="true">
|
|
1086
|
+
<i class="pi pi-palette"></i>
|
|
1087
|
+
</button>
|
|
1088
|
+
<app-configurator></app-configurator>
|
|
1089
|
+
</div>
|
|
1090
|
+
}
|
|
1091
|
+
@for (feature of topbar.features; track feature) {
|
|
1092
|
+
<p-menu #menu [model]="feature.menuItems" [popup]="true" />
|
|
1093
|
+
@if (feature.avatar && feature.avatar() != null) {
|
|
1094
|
+
<img [src]="feature.avatar()" [alt]="feature.label" class="layout-topbar-action w-8 h-8 rounded-full" (click)="menu.toggle($event)" [pTooltip]="feature.tooltip" (error)="handleMissingImage($event, feature.placeholder)"/>
|
|
1095
|
+
}
|
|
1096
|
+
@else {
|
|
1097
|
+
<button type="button" class="layout-topbar-action" (click)="menu.toggle($event)" [pTooltip]="feature.tooltip">
|
|
1098
|
+
<i [ngClass]="feature.icon()"></i>
|
|
1099
|
+
</button>
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
</div>
|
|
1103
|
+
</div>
|
|
1104
|
+
</div>
|
|
1105
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 }] });
|
|
1106
1106
|
}
|
|
1107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1
|
|
1107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppTopbar, decorators: [{
|
|
1108
1108
|
type: Component,
|
|
1109
1109
|
args: [{
|
|
1110
1110
|
selector: 'app-topbar',
|
|
1111
1111
|
standalone: true,
|
|
1112
1112
|
imports: [RouterModule, CommonModule, StyleClassModule, AppConfigurator, ComponentInjectorDirective, TooltipModule, MenuModule, ButtonModule],
|
|
1113
|
-
template: `
|
|
1114
|
-
@if (data(); as topbar) {
|
|
1115
|
-
<div class="layout-topbar">
|
|
1116
|
-
<div class="layout-topbar-logo-container">
|
|
1117
|
-
@if (topbar.showMenuToggle) {
|
|
1118
|
-
<button class="layout-menu-button layout-topbar-action" (click)="layoutService.onMenuToggle()">
|
|
1119
|
-
<i class="pi pi-bars"></i>
|
|
1120
|
-
</button>
|
|
1121
|
-
}
|
|
1122
|
-
<a class="layout-topbar-logo" routerLink="/">
|
|
1123
|
-
@if (topbar.logoPath?.light && !layoutService.isDarkTheme()) {
|
|
1124
|
-
<img [src]="topbar.logoPath?.light" [alt]="topbar.logoPath?.light" class="max-h-9 min-h-8" />
|
|
1125
|
-
}
|
|
1126
|
-
@if (topbar.logoPath?.dark && layoutService.isDarkTheme()) {
|
|
1127
|
-
<img [src]="topbar.logoPath?.dark" [alt]="topbar.logoPath?.dark" class="max-h-9 min-h-8" />
|
|
1128
|
-
}
|
|
1129
|
-
</a>
|
|
1130
|
-
@if (topbar.appName) {
|
|
1131
|
-
<span class="layout-topbar-app-name">{{ topbar.appName }}</span>
|
|
1132
|
-
}
|
|
1133
|
-
</div>
|
|
1134
|
-
<div class="layout-topbar-left-actions">
|
|
1135
|
-
@if (topbar.showBackButton || pageTitleService.hasTitle()) {
|
|
1136
|
-
<span class="topbar-separator"></span>
|
|
1137
|
-
}
|
|
1138
|
-
@if (topbar.showBackButton && navigationService.canGoBackSignal()) {
|
|
1139
|
-
<button class="layout-menu-button layout-topbar-action" (click)="navigationService.goBack()">
|
|
1140
|
-
<i class="pi pi-arrow-left"></i>
|
|
1141
|
-
</button>
|
|
1142
|
-
}
|
|
1143
|
-
@if (pageTitleService.hasTitle()) {
|
|
1144
|
-
<span class="layout-topbar-page-title">
|
|
1145
|
-
<span>{{ pageTitleService.title() }}</span>
|
|
1146
|
-
</span>
|
|
1147
|
-
}
|
|
1148
|
-
</div>
|
|
1149
|
-
<div class="layout-topbar-right-actions">
|
|
1150
|
-
<button class="layout-topbar-menu-button layout-topbar-action" pStyleClass="@next" enterFromClass="hidden" enterActiveClass="animate-scalein" leaveToClass="hidden" leaveActiveClass="animate-fadeout" [hideOnOutsideClick]="true">
|
|
1151
|
-
<i class="pi pi-ellipsis-v"></i>
|
|
1152
|
-
</button>
|
|
1153
|
-
<div class="layout-topbar-menu hidden lg:block">
|
|
1154
|
-
<div class="layout-topbar-menu-content">
|
|
1155
|
-
@for (item of topbar.menuItems; track item) {
|
|
1156
|
-
@if (item.component != null) {
|
|
1157
|
-
<ng-template [componentInjector]="item.component"></ng-template>
|
|
1158
|
-
}
|
|
1159
|
-
@else {
|
|
1160
|
-
<button type="button" class="layout-topbar-action" (click)="item.callback()" [routerLink]="item.routerLink" [pTooltip]="item.tooltip">
|
|
1161
|
-
<i [ngClass]="item.icon"></i>
|
|
1162
|
-
<span>{{ item.label }}</span>
|
|
1163
|
-
</button>
|
|
1164
|
-
}
|
|
1165
|
-
}
|
|
1166
|
-
</div>
|
|
1167
|
-
</div>
|
|
1168
|
-
<div class="layout-config-menu">
|
|
1169
|
-
@if (topbar.showDarkModeToggle) {
|
|
1170
|
-
<button type="button" class="layout-topbar-action" (click)="toggleDarkMode()" pTooltip="Dark/Light">
|
|
1171
|
-
<i [ngClass]="{ 'pi ': true, 'pi-moon': layoutService.isDarkTheme(), 'pi-sun': !layoutService.isDarkTheme() }"></i>
|
|
1172
|
-
</button>
|
|
1173
|
-
}
|
|
1174
|
-
@if (topbar.showConfigurator) {
|
|
1175
|
-
<div class="relative">
|
|
1176
|
-
<button class="layout-topbar-action layout-topbar-action-highlight" pTooltip="Configurações" pStyleClass="@next" enterFromClass="hidden" enterActiveClass="animate-scalein" leaveToClass="hidden" leaveActiveClass="animate-fadeout" [hideOnOutsideClick]="true">
|
|
1177
|
-
<i class="pi pi-palette"></i>
|
|
1178
|
-
</button>
|
|
1179
|
-
<app-configurator></app-configurator>
|
|
1180
|
-
</div>
|
|
1181
|
-
}
|
|
1182
|
-
@for (feature of topbar.features; track feature) {
|
|
1183
|
-
<p-menu #menu [model]="feature.menuItems" [popup]="true" />
|
|
1184
|
-
@if (feature.avatar && feature.avatar() != null) {
|
|
1185
|
-
<img [src]="feature.avatar()" [alt]="feature.label" class="layout-topbar-action w-8 h-8 rounded-full" (click)="menu.toggle($event)" [pTooltip]="feature.tooltip" (error)="handleMissingImage($event, feature.placeholder)"/>
|
|
1186
|
-
}
|
|
1187
|
-
@else {
|
|
1188
|
-
<button type="button" class="layout-topbar-action" (click)="menu.toggle($event)" [pTooltip]="feature.tooltip">
|
|
1189
|
-
<i [ngClass]="feature.icon()"></i>
|
|
1190
|
-
</button>
|
|
1191
|
-
}
|
|
1192
|
-
}
|
|
1193
|
-
</div>
|
|
1194
|
-
</div>
|
|
1195
|
-
</div>
|
|
1113
|
+
template: `
|
|
1114
|
+
@if (data(); as topbar) {
|
|
1115
|
+
<div class="layout-topbar">
|
|
1116
|
+
<div class="layout-topbar-logo-container">
|
|
1117
|
+
@if (topbar.showMenuToggle) {
|
|
1118
|
+
<button class="layout-menu-button layout-topbar-action" (click)="layoutService.onMenuToggle()">
|
|
1119
|
+
<i class="pi pi-bars"></i>
|
|
1120
|
+
</button>
|
|
1121
|
+
}
|
|
1122
|
+
<a class="layout-topbar-logo" routerLink="/">
|
|
1123
|
+
@if (topbar.logoPath?.light && !layoutService.isDarkTheme()) {
|
|
1124
|
+
<img [src]="topbar.logoPath?.light" [alt]="topbar.logoPath?.light" class="max-h-9 min-h-8" />
|
|
1125
|
+
}
|
|
1126
|
+
@if (topbar.logoPath?.dark && layoutService.isDarkTheme()) {
|
|
1127
|
+
<img [src]="topbar.logoPath?.dark" [alt]="topbar.logoPath?.dark" class="max-h-9 min-h-8" />
|
|
1128
|
+
}
|
|
1129
|
+
</a>
|
|
1130
|
+
@if (topbar.appName) {
|
|
1131
|
+
<span class="layout-topbar-app-name">{{ topbar.appName }}</span>
|
|
1132
|
+
}
|
|
1133
|
+
</div>
|
|
1134
|
+
<div class="layout-topbar-left-actions">
|
|
1135
|
+
@if (topbar.showBackButton || pageTitleService.hasTitle()) {
|
|
1136
|
+
<span class="topbar-separator"></span>
|
|
1137
|
+
}
|
|
1138
|
+
@if (topbar.showBackButton && navigationService.canGoBackSignal()) {
|
|
1139
|
+
<button class="layout-menu-button layout-topbar-action" (click)="navigationService.goBack()">
|
|
1140
|
+
<i class="pi pi-arrow-left"></i>
|
|
1141
|
+
</button>
|
|
1142
|
+
}
|
|
1143
|
+
@if (pageTitleService.hasTitle()) {
|
|
1144
|
+
<span class="layout-topbar-page-title">
|
|
1145
|
+
<span>{{ pageTitleService.title() }}</span>
|
|
1146
|
+
</span>
|
|
1147
|
+
}
|
|
1148
|
+
</div>
|
|
1149
|
+
<div class="layout-topbar-right-actions">
|
|
1150
|
+
<button class="layout-topbar-menu-button layout-topbar-action" pStyleClass="@next" enterFromClass="hidden" enterActiveClass="animate-scalein" leaveToClass="hidden" leaveActiveClass="animate-fadeout" [hideOnOutsideClick]="true">
|
|
1151
|
+
<i class="pi pi-ellipsis-v"></i>
|
|
1152
|
+
</button>
|
|
1153
|
+
<div class="layout-topbar-menu hidden lg:block">
|
|
1154
|
+
<div class="layout-topbar-menu-content">
|
|
1155
|
+
@for (item of topbar.menuItems; track item) {
|
|
1156
|
+
@if (item.component != null) {
|
|
1157
|
+
<ng-template [componentInjector]="item.component"></ng-template>
|
|
1158
|
+
}
|
|
1159
|
+
@else {
|
|
1160
|
+
<button type="button" class="layout-topbar-action" (click)="item.callback()" [routerLink]="item.routerLink" [pTooltip]="item.tooltip">
|
|
1161
|
+
<i [ngClass]="item.icon"></i>
|
|
1162
|
+
<span>{{ item.label }}</span>
|
|
1163
|
+
</button>
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
</div>
|
|
1167
|
+
</div>
|
|
1168
|
+
<div class="layout-config-menu">
|
|
1169
|
+
@if (topbar.showDarkModeToggle) {
|
|
1170
|
+
<button type="button" class="layout-topbar-action" (click)="toggleDarkMode()" pTooltip="Dark/Light">
|
|
1171
|
+
<i [ngClass]="{ 'pi ': true, 'pi-moon': layoutService.isDarkTheme(), 'pi-sun': !layoutService.isDarkTheme() }"></i>
|
|
1172
|
+
</button>
|
|
1173
|
+
}
|
|
1174
|
+
@if (topbar.showConfigurator) {
|
|
1175
|
+
<div class="relative">
|
|
1176
|
+
<button class="layout-topbar-action layout-topbar-action-highlight" pTooltip="Configurações" pStyleClass="@next" enterFromClass="hidden" enterActiveClass="animate-scalein" leaveToClass="hidden" leaveActiveClass="animate-fadeout" [hideOnOutsideClick]="true">
|
|
1177
|
+
<i class="pi pi-palette"></i>
|
|
1178
|
+
</button>
|
|
1179
|
+
<app-configurator></app-configurator>
|
|
1180
|
+
</div>
|
|
1181
|
+
}
|
|
1182
|
+
@for (feature of topbar.features; track feature) {
|
|
1183
|
+
<p-menu #menu [model]="feature.menuItems" [popup]="true" />
|
|
1184
|
+
@if (feature.avatar && feature.avatar() != null) {
|
|
1185
|
+
<img [src]="feature.avatar()" [alt]="feature.label" class="layout-topbar-action w-8 h-8 rounded-full" (click)="menu.toggle($event)" [pTooltip]="feature.tooltip" (error)="handleMissingImage($event, feature.placeholder)"/>
|
|
1186
|
+
}
|
|
1187
|
+
@else {
|
|
1188
|
+
<button type="button" class="layout-topbar-action" (click)="menu.toggle($event)" [pTooltip]="feature.tooltip">
|
|
1189
|
+
<i [ngClass]="feature.icon()"></i>
|
|
1190
|
+
</button>
|
|
1191
|
+
}
|
|
1192
|
+
}
|
|
1193
|
+
</div>
|
|
1194
|
+
</div>
|
|
1195
|
+
</div>
|
|
1196
1196
|
}`
|
|
1197
1197
|
}]
|
|
1198
1198
|
}] });
|
|
@@ -1275,8 +1275,8 @@ class AppMenuitem {
|
|
|
1275
1275
|
this.menuResetSubscription.unsubscribe();
|
|
1276
1276
|
}
|
|
1277
1277
|
}
|
|
1278
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1
|
|
1279
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1
|
|
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 });
|
|
1279
|
+
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
1280
|
<ng-container>
|
|
1281
1281
|
@if (root && item.visible !== false) {
|
|
1282
1282
|
<div class="layout-menuitem-root-text">{{ item.label }}</div>
|
|
@@ -1338,7 +1338,7 @@ class AppMenuitem {
|
|
|
1338
1338
|
])
|
|
1339
1339
|
] });
|
|
1340
1340
|
}
|
|
1341
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1
|
|
1341
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppMenuitem, decorators: [{
|
|
1342
1342
|
type: Component,
|
|
1343
1343
|
args: [{
|
|
1344
1344
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -1427,33 +1427,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImpor
|
|
|
1427
1427
|
class AppMenu {
|
|
1428
1428
|
model = inject(SMZ_UI_LAYOUT_CONFIG).sidebar;
|
|
1429
1429
|
hasClaim = inject(SMZ_UI_LAYOUT_CONFIG).hasClaim;
|
|
1430
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1
|
|
1431
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1
|
|
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
|
-
}
|
|
1430
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppMenu, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1431
|
+
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
1440
|
</ul>`, isInline: true, dependencies: [{ kind: "component", type: AppMenuitem, selector: "[app-menuitem]", inputs: ["item", "index", "root", "parentKey"] }, { kind: "ngmodule", type: RouterModule }] });
|
|
1441
1441
|
}
|
|
1442
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1
|
|
1442
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppMenu, decorators: [{
|
|
1443
1443
|
type: Component,
|
|
1444
1444
|
args: [{
|
|
1445
1445
|
selector: 'app-menu',
|
|
1446
1446
|
standalone: true,
|
|
1447
1447
|
imports: [AppMenuitem, RouterModule],
|
|
1448
|
-
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
|
-
}
|
|
1448
|
+
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
1457
|
</ul>`
|
|
1458
1458
|
}]
|
|
1459
1459
|
}] });
|
|
@@ -1463,12 +1463,12 @@ class AppSidebar {
|
|
|
1463
1463
|
constructor(el) {
|
|
1464
1464
|
this.el = el;
|
|
1465
1465
|
}
|
|
1466
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1
|
|
1467
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1
|
|
1466
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppSidebar, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1467
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.1", type: AppSidebar, isStandalone: true, selector: "app-sidebar", ngImport: i0, template: ` <div class="layout-sidebar">
|
|
1468
1468
|
<app-menu></app-menu>
|
|
1469
1469
|
</div>`, isInline: true, dependencies: [{ kind: "component", type: AppMenu, selector: "app-menu" }] });
|
|
1470
1470
|
}
|
|
1471
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1
|
|
1471
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppSidebar, decorators: [{
|
|
1472
1472
|
type: Component,
|
|
1473
1473
|
args: [{
|
|
1474
1474
|
selector: 'app-sidebar',
|
|
@@ -1483,63 +1483,63 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImpor
|
|
|
1483
1483
|
class AppFooter {
|
|
1484
1484
|
data = inject(SMZ_UI_LAYOUT_CONFIG).footer;
|
|
1485
1485
|
layoutService = inject(LayoutService);
|
|
1486
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1
|
|
1487
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1
|
|
1488
|
-
@if (data(); as footer) {
|
|
1489
|
-
<div class="flex items-center justify-between px-0 py-4 gap-4 border-t border-surface-border">
|
|
1490
|
-
@if (footer.leftLogoPath?.light && !layoutService.isDarkTheme()) {
|
|
1491
|
-
<img [src]="footer.leftLogoPath?.light" [alt]="footer.leftLogoPath?.light" class="max-h-7" />
|
|
1492
|
-
}
|
|
1493
|
-
@if (footer.leftLogoPath?.dark && layoutService.isDarkTheme()) {
|
|
1494
|
-
<img [src]="footer.leftLogoPath?.dark" [alt]="footer.leftLogoPath?.dark" class="max-h-7" />
|
|
1495
|
-
}
|
|
1496
|
-
<div class="flex-1"></div>
|
|
1497
|
-
@if (footer.rightLogoPath?.light && !layoutService.isDarkTheme()) {
|
|
1498
|
-
<img [src]="footer.rightLogoPath?.light" [alt]="footer.rightLogoPath?.light" class="max-h-7" />
|
|
1499
|
-
}
|
|
1500
|
-
@if (footer.rightLogoPath?.dark && layoutService.isDarkTheme()) {
|
|
1501
|
-
<img [src]="footer.rightLogoPath?.dark" [alt]="footer.rightLogoPath?.dark" class="max-h-7" />
|
|
1502
|
-
}
|
|
1503
|
-
@if (footer.version) {
|
|
1504
|
-
<span class="font-medium text-sm">{{ footer.version }}</span>
|
|
1505
|
-
}
|
|
1506
|
-
@if (footer.copyright) {
|
|
1507
|
-
<span class="font-medium text-sm">{{ footer.copyright }}</span>
|
|
1508
|
-
}
|
|
1509
|
-
</div>
|
|
1510
|
-
}
|
|
1486
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppFooter, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1487
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: AppFooter, isStandalone: true, selector: "app-footer", ngImport: i0, template: `
|
|
1488
|
+
@if (data(); as footer) {
|
|
1489
|
+
<div class="flex items-center justify-between px-0 py-4 gap-4 border-t border-surface-border">
|
|
1490
|
+
@if (footer.leftLogoPath?.light && !layoutService.isDarkTheme()) {
|
|
1491
|
+
<img [src]="footer.leftLogoPath?.light" [alt]="footer.leftLogoPath?.light" class="max-h-7" />
|
|
1492
|
+
}
|
|
1493
|
+
@if (footer.leftLogoPath?.dark && layoutService.isDarkTheme()) {
|
|
1494
|
+
<img [src]="footer.leftLogoPath?.dark" [alt]="footer.leftLogoPath?.dark" class="max-h-7" />
|
|
1495
|
+
}
|
|
1496
|
+
<div class="flex-1"></div>
|
|
1497
|
+
@if (footer.rightLogoPath?.light && !layoutService.isDarkTheme()) {
|
|
1498
|
+
<img [src]="footer.rightLogoPath?.light" [alt]="footer.rightLogoPath?.light" class="max-h-7" />
|
|
1499
|
+
}
|
|
1500
|
+
@if (footer.rightLogoPath?.dark && layoutService.isDarkTheme()) {
|
|
1501
|
+
<img [src]="footer.rightLogoPath?.dark" [alt]="footer.rightLogoPath?.dark" class="max-h-7" />
|
|
1502
|
+
}
|
|
1503
|
+
@if (footer.version) {
|
|
1504
|
+
<span class="font-medium text-sm">{{ footer.version }}</span>
|
|
1505
|
+
}
|
|
1506
|
+
@if (footer.copyright) {
|
|
1507
|
+
<span class="font-medium text-sm">{{ footer.copyright }}</span>
|
|
1508
|
+
}
|
|
1509
|
+
</div>
|
|
1510
|
+
}
|
|
1511
1511
|
`, isInline: true });
|
|
1512
1512
|
}
|
|
1513
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1
|
|
1513
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppFooter, decorators: [{
|
|
1514
1514
|
type: Component,
|
|
1515
1515
|
args: [{
|
|
1516
1516
|
standalone: true,
|
|
1517
1517
|
selector: 'app-footer',
|
|
1518
1518
|
imports: [],
|
|
1519
|
-
template: `
|
|
1520
|
-
@if (data(); as footer) {
|
|
1521
|
-
<div class="flex items-center justify-between px-0 py-4 gap-4 border-t border-surface-border">
|
|
1522
|
-
@if (footer.leftLogoPath?.light && !layoutService.isDarkTheme()) {
|
|
1523
|
-
<img [src]="footer.leftLogoPath?.light" [alt]="footer.leftLogoPath?.light" class="max-h-7" />
|
|
1524
|
-
}
|
|
1525
|
-
@if (footer.leftLogoPath?.dark && layoutService.isDarkTheme()) {
|
|
1526
|
-
<img [src]="footer.leftLogoPath?.dark" [alt]="footer.leftLogoPath?.dark" class="max-h-7" />
|
|
1527
|
-
}
|
|
1528
|
-
<div class="flex-1"></div>
|
|
1529
|
-
@if (footer.rightLogoPath?.light && !layoutService.isDarkTheme()) {
|
|
1530
|
-
<img [src]="footer.rightLogoPath?.light" [alt]="footer.rightLogoPath?.light" class="max-h-7" />
|
|
1531
|
-
}
|
|
1532
|
-
@if (footer.rightLogoPath?.dark && layoutService.isDarkTheme()) {
|
|
1533
|
-
<img [src]="footer.rightLogoPath?.dark" [alt]="footer.rightLogoPath?.dark" class="max-h-7" />
|
|
1534
|
-
}
|
|
1535
|
-
@if (footer.version) {
|
|
1536
|
-
<span class="font-medium text-sm">{{ footer.version }}</span>
|
|
1537
|
-
}
|
|
1538
|
-
@if (footer.copyright) {
|
|
1539
|
-
<span class="font-medium text-sm">{{ footer.copyright }}</span>
|
|
1540
|
-
}
|
|
1541
|
-
</div>
|
|
1542
|
-
}
|
|
1519
|
+
template: `
|
|
1520
|
+
@if (data(); as footer) {
|
|
1521
|
+
<div class="flex items-center justify-between px-0 py-4 gap-4 border-t border-surface-border">
|
|
1522
|
+
@if (footer.leftLogoPath?.light && !layoutService.isDarkTheme()) {
|
|
1523
|
+
<img [src]="footer.leftLogoPath?.light" [alt]="footer.leftLogoPath?.light" class="max-h-7" />
|
|
1524
|
+
}
|
|
1525
|
+
@if (footer.leftLogoPath?.dark && layoutService.isDarkTheme()) {
|
|
1526
|
+
<img [src]="footer.leftLogoPath?.dark" [alt]="footer.leftLogoPath?.dark" class="max-h-7" />
|
|
1527
|
+
}
|
|
1528
|
+
<div class="flex-1"></div>
|
|
1529
|
+
@if (footer.rightLogoPath?.light && !layoutService.isDarkTheme()) {
|
|
1530
|
+
<img [src]="footer.rightLogoPath?.light" [alt]="footer.rightLogoPath?.light" class="max-h-7" />
|
|
1531
|
+
}
|
|
1532
|
+
@if (footer.rightLogoPath?.dark && layoutService.isDarkTheme()) {
|
|
1533
|
+
<img [src]="footer.rightLogoPath?.dark" [alt]="footer.rightLogoPath?.dark" class="max-h-7" />
|
|
1534
|
+
}
|
|
1535
|
+
@if (footer.version) {
|
|
1536
|
+
<span class="font-medium text-sm">{{ footer.version }}</span>
|
|
1537
|
+
}
|
|
1538
|
+
@if (footer.copyright) {
|
|
1539
|
+
<span class="font-medium text-sm">{{ footer.copyright }}</span>
|
|
1540
|
+
}
|
|
1541
|
+
</div>
|
|
1542
|
+
}
|
|
1543
1543
|
`
|
|
1544
1544
|
}]
|
|
1545
1545
|
}] });
|
|
@@ -1619,8 +1619,8 @@ class AppLayout {
|
|
|
1619
1619
|
this.menuOutsideClickListener();
|
|
1620
1620
|
}
|
|
1621
1621
|
}
|
|
1622
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1
|
|
1623
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1
|
|
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 });
|
|
1623
|
+
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
1624
|
<app-topbar></app-topbar>
|
|
1625
1625
|
<app-sidebar></app-sidebar>
|
|
1626
1626
|
<div class="layout-main-container">
|
|
@@ -1632,7 +1632,7 @@ class AppLayout {
|
|
|
1632
1632
|
<div class="layout-mask animate-fadein"></div>
|
|
1633
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" }] });
|
|
1634
1634
|
}
|
|
1635
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1
|
|
1635
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppLayout, decorators: [{
|
|
1636
1636
|
type: Component,
|
|
1637
1637
|
args: [{
|
|
1638
1638
|
selector: 'app-layout',
|
|
@@ -1664,8 +1664,8 @@ class AppFloatingConfigurator {
|
|
|
1664
1664
|
toggleDarkMode() {
|
|
1665
1665
|
this.LayoutService.layoutConfig.update((state) => ({ ...state, darkTheme: !state.darkTheme }));
|
|
1666
1666
|
}
|
|
1667
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1
|
|
1668
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1
|
|
1667
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppFloatingConfigurator, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1668
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.1", type: AppFloatingConfigurator, isStandalone: true, selector: "app-floating-configurator", ngImport: i0, template: `
|
|
1669
1669
|
<div class="fixed flex gap-4 top-8 right-8">
|
|
1670
1670
|
<p-button type="button" (onClick)="toggleDarkMode()" [rounded]="true" [icon]="isDarkTheme() ? 'pi pi-moon' : 'pi pi-sun'" severity="secondary" />
|
|
1671
1671
|
<div class="relative">
|
|
@@ -1675,7 +1675,7 @@ class AppFloatingConfigurator {
|
|
|
1675
1675
|
</div>
|
|
1676
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" }] });
|
|
1677
1677
|
}
|
|
1678
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1
|
|
1678
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppFloatingConfigurator, decorators: [{
|
|
1679
1679
|
type: Component,
|
|
1680
1680
|
args: [{
|
|
1681
1681
|
selector: 'app-floating-configurator',
|
|
@@ -1749,18 +1749,18 @@ class ErrorPagesConfigService {
|
|
|
1749
1749
|
error: { ...currentConfig.error, ...newConfig.error }
|
|
1750
1750
|
}));
|
|
1751
1751
|
}
|
|
1752
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1
|
|
1753
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1
|
|
1752
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ErrorPagesConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1753
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ErrorPagesConfigService, providedIn: 'root' });
|
|
1754
1754
|
}
|
|
1755
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1
|
|
1755
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ErrorPagesConfigService, decorators: [{
|
|
1756
1756
|
type: Injectable,
|
|
1757
1757
|
args: [{ providedIn: 'root' }]
|
|
1758
1758
|
}] });
|
|
1759
1759
|
|
|
1760
1760
|
class AccessPageComponent {
|
|
1761
1761
|
config = inject(ErrorPagesConfigService).config();
|
|
1762
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1
|
|
1763
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1
|
|
1762
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AccessPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1763
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: AccessPageComponent, isStandalone: true, selector: "app-access", ngImport: i0, template: `
|
|
1764
1764
|
<div class="bg-surface-50 dark:bg-surface-950 flex items-center justify-center min-h-screen min-w-[100vw] overflow-hidden">
|
|
1765
1765
|
<div class="flex flex-col items-center justify-center">
|
|
1766
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%)">
|
|
@@ -1783,7 +1783,7 @@ class AccessPageComponent {
|
|
|
1783
1783
|
</div>
|
|
1784
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 }] });
|
|
1785
1785
|
}
|
|
1786
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1
|
|
1786
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AccessPageComponent, decorators: [{
|
|
1787
1787
|
type: Component,
|
|
1788
1788
|
args: [{
|
|
1789
1789
|
selector: 'app-access',
|
|
@@ -1816,8 +1816,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImpor
|
|
|
1816
1816
|
|
|
1817
1817
|
class ErrorPageComponent {
|
|
1818
1818
|
config = inject(ErrorPagesConfigService).config();
|
|
1819
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1
|
|
1820
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1
|
|
1819
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ErrorPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1820
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: ErrorPageComponent, isStandalone: true, selector: "app-error", ngImport: i0, template: `
|
|
1821
1821
|
<div class="bg-surface-50 dark:bg-surface-950 flex items-center justify-center min-h-screen min-w-[100vw] overflow-hidden">
|
|
1822
1822
|
<div class="flex flex-col items-center justify-center">
|
|
1823
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%)">
|
|
@@ -1840,7 +1840,7 @@ class ErrorPageComponent {
|
|
|
1840
1840
|
</div>
|
|
1841
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"] }] });
|
|
1842
1842
|
}
|
|
1843
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1
|
|
1843
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ErrorPageComponent, decorators: [{
|
|
1844
1844
|
type: Component,
|
|
1845
1845
|
args: [{
|
|
1846
1846
|
selector: 'app-error',
|
|
@@ -1873,8 +1873,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.3", ngImpor
|
|
|
1873
1873
|
|
|
1874
1874
|
class NotfoundPageComponent {
|
|
1875
1875
|
config = inject(ErrorPagesConfigService).config();
|
|
1876
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1
|
|
1877
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.1
|
|
1876
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: NotfoundPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1877
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: NotfoundPageComponent, isStandalone: true, selector: "app-notfound", ngImport: i0, template: `
|
|
1878
1878
|
<div class="flex items-center justify-center min-h-screen overflow-hidden">
|
|
1879
1879
|
<div class="flex flex-col items-center justify-center">
|
|
1880
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%)">
|
|
@@ -1903,7 +1903,7 @@ class NotfoundPageComponent {
|
|
|
1903
1903
|
</div>
|
|
1904
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"] }] });
|
|
1905
1905
|
}
|
|
1906
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1
|
|
1906
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: NotfoundPageComponent, decorators: [{
|
|
1907
1907
|
type: Component,
|
|
1908
1908
|
args: [{
|
|
1909
1909
|
selector: 'app-notfound',
|