@ngx-smz/layout 21.10.0-next.15 → 21.10.0-next.18
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.
|
@@ -46,32 +46,32 @@ class SmzUILayout {
|
|
|
46
46
|
/**
|
|
47
47
|
* Writable menu graph from the host (`SMZ_UI_LAYOUT_CONFIG.sidebar`). Mutations here trigger {@link sidebar}.
|
|
48
48
|
*/
|
|
49
|
-
sidebarWritable = signal([], ...(ngDevMode ? [{ debugName: "sidebarWritable" }] :
|
|
49
|
+
sidebarWritable = signal([], ...(ngDevMode ? [{ debugName: "sidebarWritable" }] : []));
|
|
50
50
|
/**
|
|
51
51
|
* Menu prepared for shells such as Hephaestus: entries denied by {@link SmzUILayoutConfigType.hasClaim}
|
|
52
52
|
* use `visible: false` so templates only need visibility rules.
|
|
53
53
|
*/
|
|
54
|
-
sidebar = computed(() => cloneMenuItemsWithClaimVisibility(this.sidebarWritable(), this.layoutFeature?.hasClaim), ...(ngDevMode ? [{ debugName: "sidebar" }] :
|
|
54
|
+
sidebar = computed(() => cloneMenuItemsWithClaimVisibility(this.sidebarWritable(), this.layoutFeature?.hasClaim), ...(ngDevMode ? [{ debugName: "sidebar" }] : []));
|
|
55
55
|
layoutFeature = null;
|
|
56
|
-
footer = signal({}, ...(ngDevMode ? [{ debugName: "footer" }] :
|
|
56
|
+
footer = signal({}, ...(ngDevMode ? [{ debugName: "footer" }] : []));
|
|
57
57
|
topbar = signal({
|
|
58
58
|
showMenuToggle: true,
|
|
59
59
|
showBackButton: true,
|
|
60
|
-
}, ...(ngDevMode ? [{ debugName: "topbar" }] :
|
|
60
|
+
}, ...(ngDevMode ? [{ debugName: "topbar" }] : []));
|
|
61
61
|
layout = signal({
|
|
62
62
|
preset: 'Aura',
|
|
63
63
|
primary: 'orange',
|
|
64
64
|
surface: null,
|
|
65
65
|
darkTheme: false,
|
|
66
66
|
menuMode: 'static'
|
|
67
|
-
}, ...(ngDevMode ? [{ debugName: "layout" }] :
|
|
67
|
+
}, ...(ngDevMode ? [{ debugName: "layout" }] : []));
|
|
68
68
|
state = signal({
|
|
69
69
|
staticMenuDesktopInactive: false,
|
|
70
70
|
overlayMenuActive: false,
|
|
71
71
|
configSidebarVisible: false,
|
|
72
72
|
staticMenuMobileActive: false,
|
|
73
73
|
menuHoverActive: false
|
|
74
|
-
}, ...(ngDevMode ? [{ debugName: "state" }] :
|
|
74
|
+
}, ...(ngDevMode ? [{ debugName: "state" }] : []));
|
|
75
75
|
setConfig(config) {
|
|
76
76
|
const { sidebar, footer, topbar } = config || {};
|
|
77
77
|
this.layoutFeature = config ?? null;
|
|
@@ -85,10 +85,10 @@ class SmzUILayout {
|
|
|
85
85
|
this.topbar = topbar;
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
89
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
88
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SmzUILayout, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
89
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SmzUILayout, providedIn: 'root' });
|
|
90
90
|
}
|
|
91
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
91
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SmzUILayout, decorators: [{
|
|
92
92
|
type: Injectable,
|
|
93
93
|
args: [{ providedIn: 'root' }]
|
|
94
94
|
}] });
|
|
@@ -264,13 +264,13 @@ class LayoutService {
|
|
|
264
264
|
resetSource$ = this.resetSource.asObservable();
|
|
265
265
|
configUpdate$ = this.configUpdate.asObservable();
|
|
266
266
|
overlayOpen$ = this.overlayOpen.asObservable();
|
|
267
|
-
theme = computed(() => (this.layoutConfig()?.darkTheme ? 'light' : 'dark'), ...(ngDevMode ? [{ debugName: "theme" }] :
|
|
268
|
-
isSidebarActive = computed(() => this.layoutState().overlayMenuActive || this.layoutState().staticMenuMobileActive, ...(ngDevMode ? [{ debugName: "isSidebarActive" }] :
|
|
269
|
-
isDarkTheme = computed(() => this.layoutConfig().darkTheme, ...(ngDevMode ? [{ debugName: "isDarkTheme" }] :
|
|
270
|
-
getPrimary = computed(() => this.layoutConfig().primary, ...(ngDevMode ? [{ debugName: "getPrimary" }] :
|
|
271
|
-
getSurface = computed(() => this.layoutConfig().surface, ...(ngDevMode ? [{ debugName: "getSurface" }] :
|
|
272
|
-
isOverlay = computed(() => this.layoutConfig().menuMode === 'overlay', ...(ngDevMode ? [{ debugName: "isOverlay" }] :
|
|
273
|
-
transitionComplete = signal(false, ...(ngDevMode ? [{ debugName: "transitionComplete" }] :
|
|
267
|
+
theme = computed(() => (this.layoutConfig()?.darkTheme ? 'light' : 'dark'), ...(ngDevMode ? [{ debugName: "theme" }] : []));
|
|
268
|
+
isSidebarActive = computed(() => this.layoutState().overlayMenuActive || this.layoutState().staticMenuMobileActive, ...(ngDevMode ? [{ debugName: "isSidebarActive" }] : []));
|
|
269
|
+
isDarkTheme = computed(() => this.layoutConfig().darkTheme, ...(ngDevMode ? [{ debugName: "isDarkTheme" }] : []));
|
|
270
|
+
getPrimary = computed(() => this.layoutConfig().primary, ...(ngDevMode ? [{ debugName: "getPrimary" }] : []));
|
|
271
|
+
getSurface = computed(() => this.layoutConfig().surface, ...(ngDevMode ? [{ debugName: "getSurface" }] : []));
|
|
272
|
+
isOverlay = computed(() => this.layoutConfig().menuMode === 'overlay', ...(ngDevMode ? [{ debugName: "isOverlay" }] : []));
|
|
273
|
+
transitionComplete = signal(false, ...(ngDevMode ? [{ debugName: "transitionComplete" }] : []));
|
|
274
274
|
initialized = false;
|
|
275
275
|
constructor() {
|
|
276
276
|
effect(() => {
|
|
@@ -354,10 +354,10 @@ class LayoutService {
|
|
|
354
354
|
reset() {
|
|
355
355
|
this.resetSource.next(true);
|
|
356
356
|
}
|
|
357
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
358
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
357
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: LayoutService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
358
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: LayoutService, providedIn: 'root' });
|
|
359
359
|
}
|
|
360
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
360
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: LayoutService, decorators: [{
|
|
361
361
|
type: Injectable,
|
|
362
362
|
args: [{
|
|
363
363
|
providedIn: 'root'
|
|
@@ -388,7 +388,7 @@ class AppConfigurator {
|
|
|
388
388
|
router = inject(Router);
|
|
389
389
|
layoutService = inject(LayoutService);
|
|
390
390
|
theme = inject(SmzThemeService);
|
|
391
|
-
showMenuModeButton = signal(!this.router.url.includes('auth'), ...(ngDevMode ? [{ debugName: "showMenuModeButton" }] :
|
|
391
|
+
showMenuModeButton = signal(!this.router.url.includes('auth'), ...(ngDevMode ? [{ debugName: "showMenuModeButton" }] : []));
|
|
392
392
|
menuModeOptions = [
|
|
393
393
|
{ label: 'Static', value: 'static' },
|
|
394
394
|
{ label: 'Overlay', value: 'overlay' }
|
|
@@ -539,14 +539,14 @@ class AppConfigurator {
|
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
541
|
];
|
|
542
|
-
selectedPrimaryColor = computed(() => this.layoutService.layoutConfig().primary, ...(ngDevMode ? [{ debugName: "selectedPrimaryColor" }] :
|
|
543
|
-
selectedSurfaceColor = computed(() => this.layoutService.layoutConfig().surface, ...(ngDevMode ? [{ debugName: "selectedSurfaceColor" }] :
|
|
544
|
-
menuMode = computed(() => this.layoutService.layoutConfig().menuMode, ...(ngDevMode ? [{ debugName: "menuMode" }] :
|
|
542
|
+
selectedPrimaryColor = computed(() => this.layoutService.layoutConfig().primary, ...(ngDevMode ? [{ debugName: "selectedPrimaryColor" }] : []));
|
|
543
|
+
selectedSurfaceColor = computed(() => this.layoutService.layoutConfig().surface, ...(ngDevMode ? [{ debugName: "selectedSurfaceColor" }] : []));
|
|
544
|
+
menuMode = computed(() => this.layoutService.layoutConfig().menuMode, ...(ngDevMode ? [{ debugName: "menuMode" }] : []));
|
|
545
545
|
primaryColors = computed(() => {
|
|
546
546
|
const palettes = [{ name: 'noir', palette: {} }];
|
|
547
547
|
Object.entries(PRIMARY_PALETTES).forEach(([name, palette]) => palettes.push({ name, palette }));
|
|
548
548
|
return palettes;
|
|
549
|
-
}, ...(ngDevMode ? [{ debugName: "primaryColors" }] :
|
|
549
|
+
}, ...(ngDevMode ? [{ debugName: "primaryColors" }] : []));
|
|
550
550
|
updateColors(event, type, color) {
|
|
551
551
|
if (type === 'primary') {
|
|
552
552
|
this.layoutService.layoutConfig.update((state) => ({ ...state, primary: color.name }));
|
|
@@ -578,8 +578,8 @@ class AppConfigurator {
|
|
|
578
578
|
: { 'surface-0': p[50], 'surface-1': p[0], 'surface-2': p[0], 'surface-3': p[100], fg: p[900], 'fg-muted': p[600], 'fg-subtle': p[400], line: p[200], 'line-strong': p[300] });
|
|
579
579
|
}
|
|
580
580
|
}
|
|
581
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
582
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
581
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppConfigurator, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
582
|
+
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: `
|
|
583
583
|
<div class="flex flex-col gap-4">
|
|
584
584
|
<div>
|
|
585
585
|
<span class="text-sm text-muted-color font-semibold">Primary</span>
|
|
@@ -624,7 +624,7 @@ class AppConfigurator {
|
|
|
624
624
|
</div>
|
|
625
625
|
`, 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: "component", type: SmzSelectButtonComponent, selector: "ui-select-button", inputs: ["options", "optionLabel", "optionValue", "optionDisabled", "dataKey", "multiple", "allowEmpty", "size", "styleClass", "appendTo"], outputs: ["changed"] }] });
|
|
626
626
|
}
|
|
627
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
627
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppConfigurator, decorators: [{
|
|
628
628
|
type: Component,
|
|
629
629
|
args: [{
|
|
630
630
|
selector: 'app-configurator',
|
|
@@ -697,10 +697,10 @@ class InjectComponentService {
|
|
|
697
697
|
getComponent(key) {
|
|
698
698
|
return this.componentRefs.get(key);
|
|
699
699
|
}
|
|
700
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
701
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
700
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InjectComponentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
701
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InjectComponentService, providedIn: 'root' });
|
|
702
702
|
}
|
|
703
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
703
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: InjectComponentService, decorators: [{
|
|
704
704
|
type: Injectable,
|
|
705
705
|
args: [{
|
|
706
706
|
providedIn: 'root'
|
|
@@ -759,10 +759,10 @@ class ComponentInjectorDirective {
|
|
|
759
759
|
ngOnDestroy() {
|
|
760
760
|
this.removeComp();
|
|
761
761
|
}
|
|
762
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
763
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
762
|
+
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 });
|
|
763
|
+
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 });
|
|
764
764
|
}
|
|
765
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
765
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ComponentInjectorDirective, decorators: [{
|
|
766
766
|
type: Directive,
|
|
767
767
|
args: [{
|
|
768
768
|
// eslint-disable-next-line @angular-eslint/directive-selector -- public attribute selector; renaming it would break consumer templates
|
|
@@ -783,17 +783,17 @@ class SmzLayoutLogging {
|
|
|
783
783
|
production: false,
|
|
784
784
|
level: 'debug',
|
|
785
785
|
restrictedScopes: []
|
|
786
|
-
}, ...(ngDevMode ? [{ debugName: "logging" }] :
|
|
786
|
+
}, ...(ngDevMode ? [{ debugName: "logging" }] : []));
|
|
787
787
|
setConfig(config) {
|
|
788
788
|
const { logging } = config || {};
|
|
789
789
|
if (logging) {
|
|
790
790
|
this.logging = logging;
|
|
791
791
|
}
|
|
792
792
|
}
|
|
793
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
794
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
793
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SmzLayoutLogging, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
794
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SmzLayoutLogging, providedIn: 'root' });
|
|
795
795
|
}
|
|
796
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
796
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: SmzLayoutLogging, decorators: [{
|
|
797
797
|
type: Injectable,
|
|
798
798
|
args: [{ providedIn: 'root' }]
|
|
799
799
|
}] });
|
|
@@ -818,13 +818,13 @@ function provideSmzLayoutLogging(initializers) {
|
|
|
818
818
|
/* eslint-disable no-console -- LoggingService is the console wrapper; forwarding to console is its purpose */
|
|
819
819
|
class LoggingService {
|
|
820
820
|
configFn = inject(SMZ_LAYOUT_LOGGING_CONFIG).logging;
|
|
821
|
-
enabled = signal(this.configFn().enabled, ...(ngDevMode ? [{ debugName: "enabled" }] :
|
|
821
|
+
enabled = signal(this.configFn().enabled, ...(ngDevMode ? [{ debugName: "enabled" }] : []));
|
|
822
822
|
// nível de each log: debug=0, info=1, warn=2, error=3
|
|
823
823
|
levelRank = { debug: 0, info: 1, warn: 2, error: 3 };
|
|
824
824
|
/** expose current settings */
|
|
825
|
-
isEnabled = computed(() => this.enabled(), ...(ngDevMode ? [{ debugName: "isEnabled" }] :
|
|
826
|
-
currentLevel = computed(() => this.configFn().level ?? 'debug', ...(ngDevMode ? [{ debugName: "currentLevel" }] :
|
|
827
|
-
activeScopes = computed(() => this.configFn().restrictedScopes ?? [], ...(ngDevMode ? [{ debugName: "activeScopes" }] :
|
|
825
|
+
isEnabled = computed(() => this.enabled(), ...(ngDevMode ? [{ debugName: "isEnabled" }] : []));
|
|
826
|
+
currentLevel = computed(() => this.configFn().level ?? 'debug', ...(ngDevMode ? [{ debugName: "currentLevel" }] : []));
|
|
827
|
+
activeScopes = computed(() => this.configFn().restrictedScopes ?? [], ...(ngDevMode ? [{ debugName: "activeScopes" }] : []));
|
|
828
828
|
/** toggle logging global */
|
|
829
829
|
enable() { this.enabled.set(true); }
|
|
830
830
|
disable() { this.enabled.set(false); }
|
|
@@ -901,10 +901,10 @@ class LoggingService {
|
|
|
901
901
|
}
|
|
902
902
|
};
|
|
903
903
|
}
|
|
904
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
905
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
904
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: LoggingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
905
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: LoggingService, providedIn: 'root' });
|
|
906
906
|
}
|
|
907
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
907
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: LoggingService, decorators: [{
|
|
908
908
|
type: Injectable,
|
|
909
909
|
args: [{ providedIn: 'root' }]
|
|
910
910
|
}] });
|
|
@@ -920,9 +920,9 @@ var LoggingScope;
|
|
|
920
920
|
class NavigationService {
|
|
921
921
|
router = inject(Router);
|
|
922
922
|
location = inject(Location);
|
|
923
|
-
history = signal(['/'], ...(ngDevMode ? [{ debugName: "history" }] :
|
|
924
|
-
isPopping = signal(false, ...(ngDevMode ? [{ debugName: "isPopping" }] :
|
|
925
|
-
canGoBack = computed(() => this.history().length > 1, ...(ngDevMode ? [{ debugName: "canGoBack" }] :
|
|
923
|
+
history = signal(['/'], ...(ngDevMode ? [{ debugName: "history" }] : []));
|
|
924
|
+
isPopping = signal(false, ...(ngDevMode ? [{ debugName: "isPopping" }] : []));
|
|
925
|
+
canGoBack = computed(() => this.history().length > 1, ...(ngDevMode ? [{ debugName: "canGoBack" }] : []));
|
|
926
926
|
loggingService = inject(LoggingService);
|
|
927
927
|
logger = this.loggingService.scoped(LoggingScope.NavigationService);
|
|
928
928
|
constructor() {
|
|
@@ -988,10 +988,10 @@ class NavigationService {
|
|
|
988
988
|
});
|
|
989
989
|
this.location.back();
|
|
990
990
|
}
|
|
991
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
992
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
991
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: NavigationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
992
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: NavigationService, providedIn: 'root' });
|
|
993
993
|
}
|
|
994
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
994
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: NavigationService, decorators: [{
|
|
995
995
|
type: Injectable,
|
|
996
996
|
args: [{ providedIn: 'root' }]
|
|
997
997
|
}], ctorParameters: () => [] });
|
|
@@ -1001,11 +1001,11 @@ class PageTitleService {
|
|
|
1001
1001
|
loggingService = inject(LoggingService);
|
|
1002
1002
|
logger = this.loggingService.scoped(LoggingScope.PageTitleService);
|
|
1003
1003
|
// signal que guarda o título (ou null)
|
|
1004
|
-
titleSignal = signal(null, ...(ngDevMode ? [{ debugName: "titleSignal" }] :
|
|
1004
|
+
titleSignal = signal(null, ...(ngDevMode ? [{ debugName: "titleSignal" }] : []));
|
|
1005
1005
|
// string pura para template ('' quando null)
|
|
1006
|
-
title = computed(() => this.titleSignal() ?? '', ...(ngDevMode ? [{ debugName: "title" }] :
|
|
1006
|
+
title = computed(() => this.titleSignal() ?? '', ...(ngDevMode ? [{ debugName: "title" }] : []));
|
|
1007
1007
|
// boolean para visibilidade (false quando null)
|
|
1008
|
-
hasTitle = computed(() => this.titleSignal() !== null, ...(ngDevMode ? [{ debugName: "hasTitle" }] :
|
|
1008
|
+
hasTitle = computed(() => this.titleSignal() !== null, ...(ngDevMode ? [{ debugName: "hasTitle" }] : []));
|
|
1009
1009
|
constructor() {
|
|
1010
1010
|
// toda vez que uma navegação termina, atualiza o título
|
|
1011
1011
|
this.router.events
|
|
@@ -1030,10 +1030,10 @@ class PageTitleService {
|
|
|
1030
1030
|
: null;
|
|
1031
1031
|
this.titleSignal.set(title);
|
|
1032
1032
|
}
|
|
1033
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1034
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1033
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: PageTitleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1034
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: PageTitleService, providedIn: 'root' });
|
|
1035
1035
|
}
|
|
1036
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1036
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: PageTitleService, decorators: [{
|
|
1037
1037
|
type: Injectable,
|
|
1038
1038
|
args: [{ providedIn: 'root' }]
|
|
1039
1039
|
}], ctorParameters: () => [] });
|
|
@@ -1049,8 +1049,8 @@ class AppTopbar {
|
|
|
1049
1049
|
handleMissingImage(event, placeholder) {
|
|
1050
1050
|
event.target.src = placeholder;
|
|
1051
1051
|
}
|
|
1052
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1053
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1052
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppTopbar, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1053
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: AppTopbar, isStandalone: true, selector: "app-topbar", ngImport: i0, template: `
|
|
1054
1054
|
@if (data(); as topbar) {
|
|
1055
1055
|
<div class="layout-topbar">
|
|
1056
1056
|
<div class="layout-topbar-logo-container">
|
|
@@ -1138,7 +1138,7 @@ class AppTopbar {
|
|
|
1138
1138
|
</div>
|
|
1139
1139
|
}`, 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: "directive", type: SmzStyleClassDirective, selector: "[smzStyleClass]", inputs: ["smzStyleClass", "enterFromClass", "enterActiveClass", "enterToClass", "leaveFromClass", "leaveActiveClass", "leaveToClass", "hideOnOutsideClick", "toggleClass"] }, { kind: "component", type: AppConfigurator, selector: "app-configurator" }, { kind: "directive", type: ComponentInjectorDirective, selector: "ng-template[componentInjector]", inputs: ["componentInjector", "context"], outputs: ["componentCreated"] }, { kind: "directive", type: SmzTooltipDirective, selector: "[smzTooltip]", inputs: ["smzTooltip", "tooltipPosition", "showDelay", "hideDelay", "tooltipEvent", "escape", "tooltipStyleClass", "tooltipZIndex", "tooltipDisabled", "tooltipOptions", "appendTo"] }, { kind: "component", type: SmzMenuListComponent, selector: "ui-menu", inputs: ["model", "popup", "style", "styleClass", "autoZIndex", "appendTo", "baseZIndex"], outputs: ["shown", "hidden"] }] });
|
|
1140
1140
|
}
|
|
1141
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppTopbar, decorators: [{
|
|
1142
1142
|
type: Component,
|
|
1143
1143
|
args: [{
|
|
1144
1144
|
selector: 'app-topbar',
|
|
@@ -1311,8 +1311,8 @@ class AppMenuitem {
|
|
|
1311
1311
|
this.menuResetSubscription.unsubscribe();
|
|
1312
1312
|
}
|
|
1313
1313
|
}
|
|
1314
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1315
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1314
|
+
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 });
|
|
1315
|
+
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: `
|
|
1316
1316
|
<ng-container>
|
|
1317
1317
|
@if (root && item.visible !== false) {
|
|
1318
1318
|
<div class="layout-menuitem-root-text">{{ item.label }}</div>
|
|
@@ -1374,7 +1374,7 @@ class AppMenuitem {
|
|
|
1374
1374
|
])
|
|
1375
1375
|
] });
|
|
1376
1376
|
}
|
|
1377
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1377
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppMenuitem, decorators: [{
|
|
1378
1378
|
type: Component,
|
|
1379
1379
|
args: [{
|
|
1380
1380
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -1462,8 +1462,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImpor
|
|
|
1462
1462
|
|
|
1463
1463
|
class AppMenu {
|
|
1464
1464
|
model = inject(SmzUILayout).sidebar;
|
|
1465
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1466
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1465
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppMenu, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1466
|
+
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">
|
|
1467
1467
|
@for (item of model(); track item; let i = $index) {
|
|
1468
1468
|
@if (!item.separator && item.visible !== false) {
|
|
1469
1469
|
<li app-menuitem [item]="item" [index]="i" [root]="true"></li>
|
|
@@ -1474,7 +1474,7 @@ class AppMenu {
|
|
|
1474
1474
|
}
|
|
1475
1475
|
</ul>`, isInline: true, dependencies: [{ kind: "component", type: AppMenuitem, selector: "[app-menuitem]", inputs: ["item", "index", "root", "parentKey"] }, { kind: "ngmodule", type: RouterModule }] });
|
|
1476
1476
|
}
|
|
1477
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1477
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppMenu, decorators: [{
|
|
1478
1478
|
type: Component,
|
|
1479
1479
|
args: [{
|
|
1480
1480
|
selector: 'app-menu',
|
|
@@ -1498,12 +1498,12 @@ class AppSidebar {
|
|
|
1498
1498
|
constructor(el) {
|
|
1499
1499
|
this.el = el;
|
|
1500
1500
|
}
|
|
1501
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1502
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1501
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppSidebar, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1502
|
+
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">
|
|
1503
1503
|
<app-menu></app-menu>
|
|
1504
1504
|
</div>`, isInline: true, dependencies: [{ kind: "component", type: AppMenu, selector: "app-menu" }] });
|
|
1505
1505
|
}
|
|
1506
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1506
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppSidebar, decorators: [{
|
|
1507
1507
|
type: Component,
|
|
1508
1508
|
args: [{
|
|
1509
1509
|
selector: 'app-sidebar',
|
|
@@ -1518,8 +1518,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImpor
|
|
|
1518
1518
|
class AppFooter {
|
|
1519
1519
|
data = inject(SMZ_UI_LAYOUT_CONFIG).footer;
|
|
1520
1520
|
layoutService = inject(LayoutService);
|
|
1521
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1522
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1521
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppFooter, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1522
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: AppFooter, isStandalone: true, selector: "app-footer", ngImport: i0, template: `
|
|
1523
1523
|
@if (data(); as footer) {
|
|
1524
1524
|
<div class="flex items-center justify-between px-0 py-4 gap-4 border-t border-surface-border">
|
|
1525
1525
|
@if (footer.leftLogoPath?.light && !layoutService.isDarkTheme()) {
|
|
@@ -1545,7 +1545,7 @@ class AppFooter {
|
|
|
1545
1545
|
}
|
|
1546
1546
|
`, isInline: true });
|
|
1547
1547
|
}
|
|
1548
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1548
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppFooter, decorators: [{
|
|
1549
1549
|
type: Component,
|
|
1550
1550
|
args: [{
|
|
1551
1551
|
standalone: true,
|
|
@@ -1655,8 +1655,8 @@ class AppLayout {
|
|
|
1655
1655
|
this.menuOutsideClickListener();
|
|
1656
1656
|
}
|
|
1657
1657
|
}
|
|
1658
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1659
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1658
|
+
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 });
|
|
1659
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.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">
|
|
1660
1660
|
<app-topbar></app-topbar>
|
|
1661
1661
|
@if (layoutService.layoutConfig().showSidebar !== false) {
|
|
1662
1662
|
<app-sidebar></app-sidebar>
|
|
@@ -1670,7 +1670,7 @@ class AppLayout {
|
|
|
1670
1670
|
<div class="layout-mask animate-fadein"></div>
|
|
1671
1671
|
</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" }] });
|
|
1672
1672
|
}
|
|
1673
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1673
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppLayout, decorators: [{
|
|
1674
1674
|
type: Component,
|
|
1675
1675
|
args: [{
|
|
1676
1676
|
selector: 'app-layout',
|
|
@@ -1700,12 +1700,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImpor
|
|
|
1700
1700
|
|
|
1701
1701
|
class AppFloatingConfigurator {
|
|
1702
1702
|
LayoutService = inject(LayoutService);
|
|
1703
|
-
isDarkTheme = computed(() => this.LayoutService.layoutConfig().darkTheme, ...(ngDevMode ? [{ debugName: "isDarkTheme" }] :
|
|
1703
|
+
isDarkTheme = computed(() => this.LayoutService.layoutConfig().darkTheme, ...(ngDevMode ? [{ debugName: "isDarkTheme" }] : []));
|
|
1704
1704
|
toggleDarkMode() {
|
|
1705
1705
|
this.LayoutService.layoutConfig.update((state) => ({ ...state, darkTheme: !state.darkTheme }));
|
|
1706
1706
|
}
|
|
1707
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1708
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1707
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppFloatingConfigurator, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1708
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.1", type: AppFloatingConfigurator, isStandalone: true, selector: "app-floating-configurator", ngImport: i0, template: `
|
|
1709
1709
|
<div class="fixed flex gap-4 top-8 right-8">
|
|
1710
1710
|
<button smzButton type="button" (click)="toggleDarkMode()" [rounded]="true" [icon]="isDarkTheme() ? 'fa-solid fa-moon' : 'fa-solid fa-sun'" severity="secondary"></button>
|
|
1711
1711
|
<div class="relative">
|
|
@@ -1716,7 +1716,7 @@ class AppFloatingConfigurator {
|
|
|
1716
1716
|
</div>
|
|
1717
1717
|
`, isInline: true, dependencies: [{ kind: "component", type: SmzButtonComponent, selector: "button[smzButton], a[smzButton]", inputs: ["label", "icon", "iconPosition", "severity", "variant", "size", "text", "outlined", "rounded", "loading", "styleClass"] }, { kind: "directive", type: SmzStyleClassDirective, selector: "[smzStyleClass]", inputs: ["smzStyleClass", "enterFromClass", "enterActiveClass", "enterToClass", "leaveFromClass", "leaveActiveClass", "leaveToClass", "hideOnOutsideClick", "toggleClass"] }, { kind: "component", type: AppConfigurator, selector: "app-configurator" }] });
|
|
1718
1718
|
}
|
|
1719
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1719
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppFloatingConfigurator, decorators: [{
|
|
1720
1720
|
type: Component,
|
|
1721
1721
|
args: [{
|
|
1722
1722
|
selector: 'app-floating-configurator',
|
|
@@ -1782,7 +1782,7 @@ class ErrorPagesConfigService {
|
|
|
1782
1782
|
},
|
|
1783
1783
|
]
|
|
1784
1784
|
}
|
|
1785
|
-
}, ...(ngDevMode ? [{ debugName: "config" }] :
|
|
1785
|
+
}, ...(ngDevMode ? [{ debugName: "config" }] : []));
|
|
1786
1786
|
// Método para atualizar dinamicamente a configuração de forma merge
|
|
1787
1787
|
updateConfig(newConfig) {
|
|
1788
1788
|
this.config.update((currentConfig) => ({
|
|
@@ -1794,18 +1794,18 @@ class ErrorPagesConfigService {
|
|
|
1794
1794
|
error: { ...currentConfig.error, ...newConfig.error }
|
|
1795
1795
|
}));
|
|
1796
1796
|
}
|
|
1797
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1798
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1797
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ErrorPagesConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1798
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ErrorPagesConfigService, providedIn: 'root' });
|
|
1799
1799
|
}
|
|
1800
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1800
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ErrorPagesConfigService, decorators: [{
|
|
1801
1801
|
type: Injectable,
|
|
1802
1802
|
args: [{ providedIn: 'root' }]
|
|
1803
1803
|
}] });
|
|
1804
1804
|
|
|
1805
1805
|
class AccessPageComponent {
|
|
1806
1806
|
config = inject(ErrorPagesConfigService).config();
|
|
1807
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1808
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1807
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AccessPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1808
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: AccessPageComponent, isStandalone: true, selector: "app-access", ngImport: i0, template: `
|
|
1809
1809
|
<div class="relative m-0 flex flex-wrap h-screen w-screen items-center justify-center overflow-hidden p-0">
|
|
1810
1810
|
|
|
1811
1811
|
<div class="flex flex-wrap justify-center items-center w-full flex-none lg:w-6/12 h-full bg-surface-ground p-2">
|
|
@@ -1827,7 +1827,7 @@ class AccessPageComponent {
|
|
|
1827
1827
|
</div>
|
|
1828
1828
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: SmzButtonComponent, selector: "button[smzButton], a[smzButton]", inputs: ["label", "icon", "iconPosition", "severity", "variant", "size", "text", "outlined", "rounded", "loading", "styleClass"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }] });
|
|
1829
1829
|
}
|
|
1830
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1830
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AccessPageComponent, decorators: [{
|
|
1831
1831
|
type: Component,
|
|
1832
1832
|
args: [{
|
|
1833
1833
|
selector: 'app-access',
|
|
@@ -1859,8 +1859,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImpor
|
|
|
1859
1859
|
|
|
1860
1860
|
class ErrorPageComponent {
|
|
1861
1861
|
config = inject(ErrorPagesConfigService).config();
|
|
1862
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1863
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1862
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ErrorPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1863
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: ErrorPageComponent, isStandalone: true, selector: "app-error", ngImport: i0, template: `
|
|
1864
1864
|
<div class="relative m-0 flex flex-wrap h-screen w-screen items-center justify-center overflow-hidden p-0">
|
|
1865
1865
|
|
|
1866
1866
|
<div class="flex flex-wrap justify-center items-center w-full flex-none lg:w-6/12 h-full bg-surface-ground p-2">
|
|
@@ -1882,7 +1882,7 @@ class ErrorPageComponent {
|
|
|
1882
1882
|
</div>
|
|
1883
1883
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: SmzButtonComponent, selector: "button[smzButton], a[smzButton]", inputs: ["label", "icon", "iconPosition", "severity", "variant", "size", "text", "outlined", "rounded", "loading", "styleClass"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }] });
|
|
1884
1884
|
}
|
|
1885
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1885
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ErrorPageComponent, decorators: [{
|
|
1886
1886
|
type: Component,
|
|
1887
1887
|
args: [{
|
|
1888
1888
|
selector: 'app-error',
|
|
@@ -1914,8 +1914,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImpor
|
|
|
1914
1914
|
|
|
1915
1915
|
class NotfoundPageComponent {
|
|
1916
1916
|
config = inject(ErrorPagesConfigService).config();
|
|
1917
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1918
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1917
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: NotfoundPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1918
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: NotfoundPageComponent, isStandalone: true, selector: "app-notfound", ngImport: i0, template: `
|
|
1919
1919
|
<div class="relative m-0 flex flex-wrap h-screen w-screen items-center justify-center overflow-hidden p-0">
|
|
1920
1920
|
|
|
1921
1921
|
<div class="flex flex-wrap justify-center items-center w-full flex-none lg:w-6/12 h-full bg-surface-ground p-2">
|
|
@@ -1961,7 +1961,7 @@ class NotfoundPageComponent {
|
|
|
1961
1961
|
</div>
|
|
1962
1962
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: SmzButtonComponent, selector: "button[smzButton], a[smzButton]", inputs: ["label", "icon", "iconPosition", "severity", "variant", "size", "text", "outlined", "rounded", "loading", "styleClass"] }] });
|
|
1963
1963
|
}
|
|
1964
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1964
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: NotfoundPageComponent, decorators: [{
|
|
1965
1965
|
type: Component,
|
|
1966
1966
|
args: [{
|
|
1967
1967
|
selector: 'app-notfound',
|