@ngx-smz/layout 21.2.0 → 21.2.1
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.
|
@@ -62,32 +62,32 @@ class SmzUILayout {
|
|
|
62
62
|
/**
|
|
63
63
|
* Writable menu graph from the host (`SMZ_UI_LAYOUT_CONFIG.sidebar`). Mutations here trigger {@link sidebar}.
|
|
64
64
|
*/
|
|
65
|
-
sidebarWritable = signal([], ...(ngDevMode ? [{ debugName: "sidebarWritable" }] : []));
|
|
65
|
+
sidebarWritable = signal([], ...(ngDevMode ? [{ debugName: "sidebarWritable" }] : /* istanbul ignore next */ []));
|
|
66
66
|
/**
|
|
67
67
|
* Menu prepared for shells such as Hephaestus: entries denied by {@link SmzUILayoutConfigType.hasClaim}
|
|
68
68
|
* use `visible: false` so templates only need visibility rules.
|
|
69
69
|
*/
|
|
70
|
-
sidebar = computed(() => cloneMenuItemsWithClaimVisibility(this.sidebarWritable(), this.layoutFeature?.hasClaim), ...(ngDevMode ? [{ debugName: "sidebar" }] : []));
|
|
70
|
+
sidebar = computed(() => cloneMenuItemsWithClaimVisibility(this.sidebarWritable(), this.layoutFeature?.hasClaim), ...(ngDevMode ? [{ debugName: "sidebar" }] : /* istanbul ignore next */ []));
|
|
71
71
|
layoutFeature = null;
|
|
72
|
-
footer = signal({}, ...(ngDevMode ? [{ debugName: "footer" }] : []));
|
|
72
|
+
footer = signal({}, ...(ngDevMode ? [{ debugName: "footer" }] : /* istanbul ignore next */ []));
|
|
73
73
|
topbar = signal({
|
|
74
74
|
showMenuToggle: true,
|
|
75
75
|
showBackButton: true,
|
|
76
|
-
}, ...(ngDevMode ? [{ debugName: "topbar" }] : []));
|
|
76
|
+
}, ...(ngDevMode ? [{ debugName: "topbar" }] : /* istanbul ignore next */ []));
|
|
77
77
|
layout = signal({
|
|
78
78
|
preset: 'Aura',
|
|
79
79
|
primary: 'orange',
|
|
80
80
|
surface: null,
|
|
81
81
|
darkTheme: false,
|
|
82
82
|
menuMode: 'static'
|
|
83
|
-
}, ...(ngDevMode ? [{ debugName: "layout" }] : []));
|
|
83
|
+
}, ...(ngDevMode ? [{ debugName: "layout" }] : /* istanbul ignore next */ []));
|
|
84
84
|
state = signal({
|
|
85
85
|
staticMenuDesktopInactive: false,
|
|
86
86
|
overlayMenuActive: false,
|
|
87
87
|
configSidebarVisible: false,
|
|
88
88
|
staticMenuMobileActive: false,
|
|
89
89
|
menuHoverActive: false
|
|
90
|
-
}, ...(ngDevMode ? [{ debugName: "state" }] : []));
|
|
90
|
+
}, ...(ngDevMode ? [{ debugName: "state" }] : /* istanbul ignore next */ []));
|
|
91
91
|
setConfig(config) {
|
|
92
92
|
const { sidebar, footer, topbar } = config || {};
|
|
93
93
|
this.layoutFeature = config ?? null;
|
|
@@ -101,10 +101,10 @@ class SmzUILayout {
|
|
|
101
101
|
this.topbar = topbar;
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
105
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
104
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: SmzUILayout, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
105
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: SmzUILayout, providedIn: 'root' });
|
|
106
106
|
}
|
|
107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: SmzUILayout, decorators: [{
|
|
108
108
|
type: Injectable,
|
|
109
109
|
args: [{ providedIn: 'root' }]
|
|
110
110
|
}] });
|
|
@@ -273,13 +273,13 @@ class LayoutService {
|
|
|
273
273
|
resetSource$ = this.resetSource.asObservable();
|
|
274
274
|
configUpdate$ = this.configUpdate.asObservable();
|
|
275
275
|
overlayOpen$ = this.overlayOpen.asObservable();
|
|
276
|
-
theme = computed(() => (this.layoutConfig()?.darkTheme ? 'light' : 'dark'), ...(ngDevMode ? [{ debugName: "theme" }] : []));
|
|
277
|
-
isSidebarActive = computed(() => this.layoutState().overlayMenuActive || this.layoutState().staticMenuMobileActive, ...(ngDevMode ? [{ debugName: "isSidebarActive" }] : []));
|
|
278
|
-
isDarkTheme = computed(() => this.layoutConfig().darkTheme, ...(ngDevMode ? [{ debugName: "isDarkTheme" }] : []));
|
|
279
|
-
getPrimary = computed(() => this.layoutConfig().primary, ...(ngDevMode ? [{ debugName: "getPrimary" }] : []));
|
|
280
|
-
getSurface = computed(() => this.layoutConfig().surface, ...(ngDevMode ? [{ debugName: "getSurface" }] : []));
|
|
281
|
-
isOverlay = computed(() => this.layoutConfig().menuMode === 'overlay', ...(ngDevMode ? [{ debugName: "isOverlay" }] : []));
|
|
282
|
-
transitionComplete = signal(false, ...(ngDevMode ? [{ debugName: "transitionComplete" }] : []));
|
|
276
|
+
theme = computed(() => (this.layoutConfig()?.darkTheme ? 'light' : 'dark'), ...(ngDevMode ? [{ debugName: "theme" }] : /* istanbul ignore next */ []));
|
|
277
|
+
isSidebarActive = computed(() => this.layoutState().overlayMenuActive || this.layoutState().staticMenuMobileActive, ...(ngDevMode ? [{ debugName: "isSidebarActive" }] : /* istanbul ignore next */ []));
|
|
278
|
+
isDarkTheme = computed(() => this.layoutConfig().darkTheme, ...(ngDevMode ? [{ debugName: "isDarkTheme" }] : /* istanbul ignore next */ []));
|
|
279
|
+
getPrimary = computed(() => this.layoutConfig().primary, ...(ngDevMode ? [{ debugName: "getPrimary" }] : /* istanbul ignore next */ []));
|
|
280
|
+
getSurface = computed(() => this.layoutConfig().surface, ...(ngDevMode ? [{ debugName: "getSurface" }] : /* istanbul ignore next */ []));
|
|
281
|
+
isOverlay = computed(() => this.layoutConfig().menuMode === 'overlay', ...(ngDevMode ? [{ debugName: "isOverlay" }] : /* istanbul ignore next */ []));
|
|
282
|
+
transitionComplete = signal(false, ...(ngDevMode ? [{ debugName: "transitionComplete" }] : /* istanbul ignore next */ []));
|
|
283
283
|
initialized = false;
|
|
284
284
|
constructor() {
|
|
285
285
|
effect(() => {
|
|
@@ -363,10 +363,10 @@ class LayoutService {
|
|
|
363
363
|
reset() {
|
|
364
364
|
this.resetSource.next(true);
|
|
365
365
|
}
|
|
366
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
367
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
366
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: LayoutService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
367
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: LayoutService, providedIn: 'root' });
|
|
368
368
|
}
|
|
369
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
369
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: LayoutService, decorators: [{
|
|
370
370
|
type: Injectable,
|
|
371
371
|
args: [{
|
|
372
372
|
providedIn: 'root'
|
|
@@ -385,7 +385,7 @@ class AppConfigurator {
|
|
|
385
385
|
platformId = inject(PLATFORM_ID);
|
|
386
386
|
primeNG = inject(PrimeNG);
|
|
387
387
|
presets = Object.keys(presets);
|
|
388
|
-
showMenuModeButton = signal(!this.router.url.includes('auth'), ...(ngDevMode ? [{ debugName: "showMenuModeButton" }] : []));
|
|
388
|
+
showMenuModeButton = signal(!this.router.url.includes('auth'), ...(ngDevMode ? [{ debugName: "showMenuModeButton" }] : /* istanbul ignore next */ []));
|
|
389
389
|
menuModeOptions = [
|
|
390
390
|
{ label: 'Static', value: 'static' },
|
|
391
391
|
{ label: 'Overlay', value: 'overlay' }
|
|
@@ -536,10 +536,10 @@ class AppConfigurator {
|
|
|
536
536
|
];
|
|
537
537
|
selectedPrimaryColor = computed(() => {
|
|
538
538
|
return this.layoutService.layoutConfig().primary;
|
|
539
|
-
}, ...(ngDevMode ? [{ debugName: "selectedPrimaryColor" }] : []));
|
|
540
|
-
selectedSurfaceColor = computed(() => this.layoutService.layoutConfig().surface, ...(ngDevMode ? [{ debugName: "selectedSurfaceColor" }] : []));
|
|
541
|
-
selectedPreset = computed(() => this.layoutService.layoutConfig().preset, ...(ngDevMode ? [{ debugName: "selectedPreset" }] : []));
|
|
542
|
-
menuMode = computed(() => this.layoutService.layoutConfig().menuMode, ...(ngDevMode ? [{ debugName: "menuMode" }] : []));
|
|
539
|
+
}, ...(ngDevMode ? [{ debugName: "selectedPrimaryColor" }] : /* istanbul ignore next */ []));
|
|
540
|
+
selectedSurfaceColor = computed(() => this.layoutService.layoutConfig().surface, ...(ngDevMode ? [{ debugName: "selectedSurfaceColor" }] : /* istanbul ignore next */ []));
|
|
541
|
+
selectedPreset = computed(() => this.layoutService.layoutConfig().preset, ...(ngDevMode ? [{ debugName: "selectedPreset" }] : /* istanbul ignore next */ []));
|
|
542
|
+
menuMode = computed(() => this.layoutService.layoutConfig().menuMode, ...(ngDevMode ? [{ debugName: "menuMode" }] : /* istanbul ignore next */ []));
|
|
543
543
|
primaryColors = computed(() => {
|
|
544
544
|
const presetPalette = presets[this.layoutService.layoutConfig().preset].primitive;
|
|
545
545
|
const colors = ['emerald', 'green', 'lime', 'orange', 'amber', 'yellow', 'teal', 'cyan', 'sky', 'blue', 'indigo', 'violet', 'purple', 'fuchsia', 'pink', 'rose'];
|
|
@@ -551,7 +551,7 @@ class AppConfigurator {
|
|
|
551
551
|
});
|
|
552
552
|
});
|
|
553
553
|
return palettes;
|
|
554
|
-
}, ...(ngDevMode ? [{ debugName: "primaryColors" }] : []));
|
|
554
|
+
}, ...(ngDevMode ? [{ debugName: "primaryColors" }] : /* istanbul ignore next */ []));
|
|
555
555
|
getPresetExt() {
|
|
556
556
|
const color = this.primaryColors().find((c) => c.name === this.selectedPrimaryColor()) || {};
|
|
557
557
|
const preset = this.layoutService.layoutConfig().preset;
|
|
@@ -708,8 +708,8 @@ class AppConfigurator {
|
|
|
708
708
|
onMenuModeChange(event) {
|
|
709
709
|
this.layoutService.layoutConfig.update((prev) => ({ ...prev, menuMode: event }));
|
|
710
710
|
}
|
|
711
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
712
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
711
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppConfigurator, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
712
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.5", 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: `
|
|
713
713
|
<div class="flex flex-col gap-4">
|
|
714
714
|
<div>
|
|
715
715
|
<span class="text-sm text-muted-color font-semibold">Primary</span>
|
|
@@ -758,7 +758,7 @@ class AppConfigurator {
|
|
|
758
758
|
</div>
|
|
759
759
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: SelectButtonModule }, { kind: "component", type: i3$1.SelectButton, selector: "p-selectButton, p-selectbutton, p-select-button", inputs: ["options", "optionLabel", "optionValue", "optionDisabled", "unselectable", "tabindex", "multiple", "allowEmpty", "styleClass", "ariaLabelledBy", "dataKey", "autofocus", "size", "fluid"], outputs: ["onOptionClick", "onChange"] }] });
|
|
760
760
|
}
|
|
761
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
761
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppConfigurator, decorators: [{
|
|
762
762
|
type: Component,
|
|
763
763
|
args: [{
|
|
764
764
|
selector: 'app-configurator',
|
|
@@ -835,10 +835,10 @@ class InjectComponentService {
|
|
|
835
835
|
getComponent(key) {
|
|
836
836
|
return this.componentRefs.get(key);
|
|
837
837
|
}
|
|
838
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
839
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
838
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: InjectComponentService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
839
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: InjectComponentService, providedIn: 'root' });
|
|
840
840
|
}
|
|
841
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
841
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: InjectComponentService, decorators: [{
|
|
842
842
|
type: Injectable,
|
|
843
843
|
args: [{
|
|
844
844
|
providedIn: 'root'
|
|
@@ -897,10 +897,10 @@ class ComponentInjectorDirective {
|
|
|
897
897
|
ngOnDestroy() {
|
|
898
898
|
this.removeComp();
|
|
899
899
|
}
|
|
900
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
901
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
900
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: ComponentInjectorDirective, deps: [{ token: i0.ViewContainerRef }, { token: InjectComponentService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
901
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.5", type: ComponentInjectorDirective, isStandalone: true, selector: "ng-template[componentInjector]", inputs: { componentInjector: "componentInjector", context: "context" }, outputs: { componentCreated: "componentCreated" }, ngImport: i0 });
|
|
902
902
|
}
|
|
903
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
903
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: ComponentInjectorDirective, decorators: [{
|
|
904
904
|
type: Directive,
|
|
905
905
|
args: [{
|
|
906
906
|
selector: 'ng-template[componentInjector]',
|
|
@@ -920,7 +920,7 @@ class SmzLayoutLogging {
|
|
|
920
920
|
production: false,
|
|
921
921
|
level: 'debug',
|
|
922
922
|
restrictedScopes: []
|
|
923
|
-
}, ...(ngDevMode ? [{ debugName: "logging" }] : []));
|
|
923
|
+
}, ...(ngDevMode ? [{ debugName: "logging" }] : /* istanbul ignore next */ []));
|
|
924
924
|
setConfig(config) {
|
|
925
925
|
const { logging } = config || {};
|
|
926
926
|
if (logging) {
|
|
@@ -928,10 +928,10 @@ class SmzLayoutLogging {
|
|
|
928
928
|
}
|
|
929
929
|
;
|
|
930
930
|
}
|
|
931
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
932
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
931
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: SmzLayoutLogging, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
932
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: SmzLayoutLogging, providedIn: 'root' });
|
|
933
933
|
}
|
|
934
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
934
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: SmzLayoutLogging, decorators: [{
|
|
935
935
|
type: Injectable,
|
|
936
936
|
args: [{ providedIn: 'root' }]
|
|
937
937
|
}] });
|
|
@@ -955,13 +955,13 @@ function provideSmzLayoutLogging(initializers) {
|
|
|
955
955
|
// logging.service.ts
|
|
956
956
|
class LoggingService {
|
|
957
957
|
configFn = inject(SMZ_LAYOUT_LOGGING_CONFIG).logging;
|
|
958
|
-
enabled = signal(this.configFn().enabled, ...(ngDevMode ? [{ debugName: "enabled" }] : []));
|
|
958
|
+
enabled = signal(this.configFn().enabled, ...(ngDevMode ? [{ debugName: "enabled" }] : /* istanbul ignore next */ []));
|
|
959
959
|
// nível de each log: debug=0, info=1, warn=2, error=3
|
|
960
960
|
levelRank = { debug: 0, info: 1, warn: 2, error: 3 };
|
|
961
961
|
/** expose current settings */
|
|
962
|
-
isEnabled = computed(() => this.enabled(), ...(ngDevMode ? [{ debugName: "isEnabled" }] : []));
|
|
963
|
-
currentLevel = computed(() => this.configFn().level ?? 'debug', ...(ngDevMode ? [{ debugName: "currentLevel" }] : []));
|
|
964
|
-
activeScopes = computed(() => this.configFn().restrictedScopes ?? [], ...(ngDevMode ? [{ debugName: "activeScopes" }] : []));
|
|
962
|
+
isEnabled = computed(() => this.enabled(), ...(ngDevMode ? [{ debugName: "isEnabled" }] : /* istanbul ignore next */ []));
|
|
963
|
+
currentLevel = computed(() => this.configFn().level ?? 'debug', ...(ngDevMode ? [{ debugName: "currentLevel" }] : /* istanbul ignore next */ []));
|
|
964
|
+
activeScopes = computed(() => this.configFn().restrictedScopes ?? [], ...(ngDevMode ? [{ debugName: "activeScopes" }] : /* istanbul ignore next */ []));
|
|
965
965
|
/** toggle logging global */
|
|
966
966
|
enable() { this.enabled.set(true); }
|
|
967
967
|
disable() { this.enabled.set(false); }
|
|
@@ -1038,10 +1038,10 @@ class LoggingService {
|
|
|
1038
1038
|
}
|
|
1039
1039
|
};
|
|
1040
1040
|
}
|
|
1041
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1042
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1041
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: LoggingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1042
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: LoggingService, providedIn: 'root' });
|
|
1043
1043
|
}
|
|
1044
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1044
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: LoggingService, decorators: [{
|
|
1045
1045
|
type: Injectable,
|
|
1046
1046
|
args: [{ providedIn: 'root' }]
|
|
1047
1047
|
}] });
|
|
@@ -1057,9 +1057,9 @@ var LoggingScope;
|
|
|
1057
1057
|
class NavigationService {
|
|
1058
1058
|
router = inject(Router);
|
|
1059
1059
|
location = inject(Location);
|
|
1060
|
-
history = signal(['/'], ...(ngDevMode ? [{ debugName: "history" }] : []));
|
|
1061
|
-
isPopping = signal(false, ...(ngDevMode ? [{ debugName: "isPopping" }] : []));
|
|
1062
|
-
canGoBack = computed(() => this.history().length > 1, ...(ngDevMode ? [{ debugName: "canGoBack" }] : []));
|
|
1060
|
+
history = signal(['/'], ...(ngDevMode ? [{ debugName: "history" }] : /* istanbul ignore next */ []));
|
|
1061
|
+
isPopping = signal(false, ...(ngDevMode ? [{ debugName: "isPopping" }] : /* istanbul ignore next */ []));
|
|
1062
|
+
canGoBack = computed(() => this.history().length > 1, ...(ngDevMode ? [{ debugName: "canGoBack" }] : /* istanbul ignore next */ []));
|
|
1063
1063
|
loggingService = inject(LoggingService);
|
|
1064
1064
|
logger = this.loggingService.scoped(LoggingScope.NavigationService);
|
|
1065
1065
|
constructor() {
|
|
@@ -1125,10 +1125,10 @@ class NavigationService {
|
|
|
1125
1125
|
});
|
|
1126
1126
|
this.location.back();
|
|
1127
1127
|
}
|
|
1128
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1129
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1128
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: NavigationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1129
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: NavigationService, providedIn: 'root' });
|
|
1130
1130
|
}
|
|
1131
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1131
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: NavigationService, decorators: [{
|
|
1132
1132
|
type: Injectable,
|
|
1133
1133
|
args: [{ providedIn: 'root' }]
|
|
1134
1134
|
}], ctorParameters: () => [] });
|
|
@@ -1138,11 +1138,11 @@ class PageTitleService {
|
|
|
1138
1138
|
loggingService = inject(LoggingService);
|
|
1139
1139
|
logger = this.loggingService.scoped(LoggingScope.PageTitleService);
|
|
1140
1140
|
// signal que guarda o título (ou null)
|
|
1141
|
-
titleSignal = signal(null, ...(ngDevMode ? [{ debugName: "titleSignal" }] : []));
|
|
1141
|
+
titleSignal = signal(null, ...(ngDevMode ? [{ debugName: "titleSignal" }] : /* istanbul ignore next */ []));
|
|
1142
1142
|
// string pura para template ('' quando null)
|
|
1143
|
-
title = computed(() => this.titleSignal() ?? '', ...(ngDevMode ? [{ debugName: "title" }] : []));
|
|
1143
|
+
title = computed(() => this.titleSignal() ?? '', ...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
|
|
1144
1144
|
// boolean para visibilidade (false quando null)
|
|
1145
|
-
hasTitle = computed(() => this.titleSignal() !== null, ...(ngDevMode ? [{ debugName: "hasTitle" }] : []));
|
|
1145
|
+
hasTitle = computed(() => this.titleSignal() !== null, ...(ngDevMode ? [{ debugName: "hasTitle" }] : /* istanbul ignore next */ []));
|
|
1146
1146
|
constructor() {
|
|
1147
1147
|
// toda vez que uma navegação termina, atualiza o título
|
|
1148
1148
|
this.router.events
|
|
@@ -1167,10 +1167,10 @@ class PageTitleService {
|
|
|
1167
1167
|
: null;
|
|
1168
1168
|
this.titleSignal.set(title);
|
|
1169
1169
|
}
|
|
1170
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1171
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1170
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: PageTitleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1171
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: PageTitleService, providedIn: 'root' });
|
|
1172
1172
|
}
|
|
1173
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1173
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: PageTitleService, decorators: [{
|
|
1174
1174
|
type: Injectable,
|
|
1175
1175
|
args: [{ providedIn: 'root' }]
|
|
1176
1176
|
}], ctorParameters: () => [] });
|
|
@@ -1187,8 +1187,8 @@ class AppTopbar {
|
|
|
1187
1187
|
handleMissingImage(event, placeholder) {
|
|
1188
1188
|
event.target.src = placeholder;
|
|
1189
1189
|
}
|
|
1190
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1191
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1190
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppTopbar, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1191
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.5", type: AppTopbar, isStandalone: true, selector: "app-topbar", ngImport: i0, template: `
|
|
1192
1192
|
@if (data(); as topbar) {
|
|
1193
1193
|
<div class="layout-topbar">
|
|
1194
1194
|
<div class="layout-topbar-logo-container">
|
|
@@ -1275,7 +1275,7 @@ class AppTopbar {
|
|
|
1275
1275
|
</div>
|
|
1276
1276
|
}`, isInline: true, dependencies: [{ kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: StyleClassModule }, { kind: "directive", type: i3$2.StyleClass, selector: "[pStyleClass]", inputs: ["pStyleClass", "enterFromClass", "enterActiveClass", "enterToClass", "leaveFromClass", "leaveActiveClass", "leaveToClass", "hideOnOutsideClick", "toggleClass", "hideOnEscape", "hideOnResize", "resizeSelector"] }, { kind: "component", type: AppConfigurator, selector: "app-configurator" }, { kind: "directive", type: ComponentInjectorDirective, selector: "ng-template[componentInjector]", inputs: ["componentInjector", "context"], outputs: ["componentCreated"] }, { kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i4.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "showOnEllipsis", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo", "ptTooltip", "pTooltipPT", "pTooltipUnstyled"] }, { kind: "ngmodule", type: MenuModule }, { kind: "component", type: i5.Menu, selector: "p-menu", inputs: ["model", "popup", "style", "styleClass", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "ariaLabel", "ariaLabelledBy", "id", "tabindex", "appendTo", "motionOptions"], outputs: ["onShow", "onHide", "onBlur", "onFocus"] }, { kind: "ngmodule", type: ButtonModule }] });
|
|
1277
1277
|
}
|
|
1278
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1278
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppTopbar, decorators: [{
|
|
1279
1279
|
type: Component,
|
|
1280
1280
|
args: [{
|
|
1281
1281
|
selector: 'app-topbar',
|
|
@@ -1447,8 +1447,8 @@ class AppMenuitem {
|
|
|
1447
1447
|
this.menuResetSubscription.unsubscribe();
|
|
1448
1448
|
}
|
|
1449
1449
|
}
|
|
1450
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1451
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1450
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppMenuitem, deps: [{ token: i1.Router }, { token: LayoutService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1451
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.5", 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: `
|
|
1452
1452
|
<ng-container>
|
|
1453
1453
|
@if (root && item.visible !== false) {
|
|
1454
1454
|
<div class="layout-menuitem-root-text">{{ item.label }}</div>
|
|
@@ -1510,7 +1510,7 @@ class AppMenuitem {
|
|
|
1510
1510
|
])
|
|
1511
1511
|
] });
|
|
1512
1512
|
}
|
|
1513
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1513
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppMenuitem, decorators: [{
|
|
1514
1514
|
type: Component,
|
|
1515
1515
|
args: [{
|
|
1516
1516
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -1598,8 +1598,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
|
|
|
1598
1598
|
|
|
1599
1599
|
class AppMenu {
|
|
1600
1600
|
model = inject(SmzUILayout).sidebar;
|
|
1601
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1602
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1601
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppMenu, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1602
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.5", type: AppMenu, isStandalone: true, selector: "app-menu", ngImport: i0, template: `<ul class="layout-menu">
|
|
1603
1603
|
@for (item of model(); track item; let i = $index) {
|
|
1604
1604
|
@if (!item.separator && item.visible !== false) {
|
|
1605
1605
|
<li app-menuitem [item]="item" [index]="i" [root]="true"></li>
|
|
@@ -1610,7 +1610,7 @@ class AppMenu {
|
|
|
1610
1610
|
}
|
|
1611
1611
|
</ul>`, isInline: true, dependencies: [{ kind: "component", type: AppMenuitem, selector: "[app-menuitem]", inputs: ["item", "index", "root", "parentKey"] }, { kind: "ngmodule", type: RouterModule }] });
|
|
1612
1612
|
}
|
|
1613
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1613
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppMenu, decorators: [{
|
|
1614
1614
|
type: Component,
|
|
1615
1615
|
args: [{
|
|
1616
1616
|
selector: 'app-menu',
|
|
@@ -1634,12 +1634,12 @@ class AppSidebar {
|
|
|
1634
1634
|
constructor(el) {
|
|
1635
1635
|
this.el = el;
|
|
1636
1636
|
}
|
|
1637
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1638
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1637
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppSidebar, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1638
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.5", type: AppSidebar, isStandalone: true, selector: "app-sidebar", ngImport: i0, template: ` <div class="layout-sidebar">
|
|
1639
1639
|
<app-menu></app-menu>
|
|
1640
1640
|
</div>`, isInline: true, dependencies: [{ kind: "component", type: AppMenu, selector: "app-menu" }] });
|
|
1641
1641
|
}
|
|
1642
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1642
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppSidebar, decorators: [{
|
|
1643
1643
|
type: Component,
|
|
1644
1644
|
args: [{
|
|
1645
1645
|
selector: 'app-sidebar',
|
|
@@ -1654,8 +1654,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
|
|
|
1654
1654
|
class AppFooter {
|
|
1655
1655
|
data = inject(SMZ_UI_LAYOUT_CONFIG).footer;
|
|
1656
1656
|
layoutService = inject(LayoutService);
|
|
1657
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1658
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1657
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppFooter, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1658
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.5", type: AppFooter, isStandalone: true, selector: "app-footer", ngImport: i0, template: `
|
|
1659
1659
|
@if (data(); as footer) {
|
|
1660
1660
|
<div class="flex items-center justify-between px-0 py-4 gap-4 border-t border-surface-border">
|
|
1661
1661
|
@if (footer.leftLogoPath?.light && !layoutService.isDarkTheme()) {
|
|
@@ -1681,7 +1681,7 @@ class AppFooter {
|
|
|
1681
1681
|
}
|
|
1682
1682
|
`, isInline: true });
|
|
1683
1683
|
}
|
|
1684
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1684
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppFooter, decorators: [{
|
|
1685
1685
|
type: Component,
|
|
1686
1686
|
args: [{
|
|
1687
1687
|
standalone: true,
|
|
@@ -1791,8 +1791,8 @@ class AppLayout {
|
|
|
1791
1791
|
this.menuOutsideClickListener();
|
|
1792
1792
|
}
|
|
1793
1793
|
}
|
|
1794
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1795
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1794
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppLayout, deps: [{ token: LayoutService }, { token: i0.Renderer2 }, { token: i1.Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
1795
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.5", 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">
|
|
1796
1796
|
<app-topbar></app-topbar>
|
|
1797
1797
|
@if (layoutService.layoutConfig().showSidebar !== false) {
|
|
1798
1798
|
<app-sidebar></app-sidebar>
|
|
@@ -1806,7 +1806,7 @@ class AppLayout {
|
|
|
1806
1806
|
<div class="layout-mask animate-fadein"></div>
|
|
1807
1807
|
</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" }] });
|
|
1808
1808
|
}
|
|
1809
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1809
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppLayout, decorators: [{
|
|
1810
1810
|
type: Component,
|
|
1811
1811
|
args: [{
|
|
1812
1812
|
selector: 'app-layout',
|
|
@@ -1836,12 +1836,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
|
|
|
1836
1836
|
|
|
1837
1837
|
class AppFloatingConfigurator {
|
|
1838
1838
|
LayoutService = inject(LayoutService);
|
|
1839
|
-
isDarkTheme = computed(() => this.LayoutService.layoutConfig().darkTheme, ...(ngDevMode ? [{ debugName: "isDarkTheme" }] : []));
|
|
1839
|
+
isDarkTheme = computed(() => this.LayoutService.layoutConfig().darkTheme, ...(ngDevMode ? [{ debugName: "isDarkTheme" }] : /* istanbul ignore next */ []));
|
|
1840
1840
|
toggleDarkMode() {
|
|
1841
1841
|
this.LayoutService.layoutConfig.update((state) => ({ ...state, darkTheme: !state.darkTheme }));
|
|
1842
1842
|
}
|
|
1843
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1844
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1843
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppFloatingConfigurator, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1844
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.5", type: AppFloatingConfigurator, isStandalone: true, selector: "app-floating-configurator", ngImport: i0, template: `
|
|
1845
1845
|
<div class="fixed flex gap-4 top-8 right-8">
|
|
1846
1846
|
<p-button type="button" (onClick)="toggleDarkMode()" [rounded]="true" [icon]="isDarkTheme() ? 'pi pi-moon' : 'pi pi-sun'" severity="secondary" />
|
|
1847
1847
|
<div class="relative">
|
|
@@ -1851,7 +1851,7 @@ class AppFloatingConfigurator {
|
|
|
1851
1851
|
</div>
|
|
1852
1852
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$1.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: StyleClassModule }, { kind: "directive", type: i3$2.StyleClass, selector: "[pStyleClass]", inputs: ["pStyleClass", "enterFromClass", "enterActiveClass", "enterToClass", "leaveFromClass", "leaveActiveClass", "leaveToClass", "hideOnOutsideClick", "toggleClass", "hideOnEscape", "hideOnResize", "resizeSelector"] }, { kind: "component", type: AppConfigurator, selector: "app-configurator" }] });
|
|
1853
1853
|
}
|
|
1854
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1854
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppFloatingConfigurator, decorators: [{
|
|
1855
1855
|
type: Component,
|
|
1856
1856
|
args: [{
|
|
1857
1857
|
selector: 'app-floating-configurator',
|
|
@@ -1916,7 +1916,7 @@ class ErrorPagesConfigService {
|
|
|
1916
1916
|
},
|
|
1917
1917
|
]
|
|
1918
1918
|
}
|
|
1919
|
-
}, ...(ngDevMode ? [{ debugName: "config" }] : []));
|
|
1919
|
+
}, ...(ngDevMode ? [{ debugName: "config" }] : /* istanbul ignore next */ []));
|
|
1920
1920
|
// Método para atualizar dinamicamente a configuração de forma merge
|
|
1921
1921
|
updateConfig(newConfig) {
|
|
1922
1922
|
this.config.update((currentConfig) => ({
|
|
@@ -1928,18 +1928,18 @@ class ErrorPagesConfigService {
|
|
|
1928
1928
|
error: { ...currentConfig.error, ...newConfig.error }
|
|
1929
1929
|
}));
|
|
1930
1930
|
}
|
|
1931
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1932
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1931
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: ErrorPagesConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1932
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: ErrorPagesConfigService, providedIn: 'root' });
|
|
1933
1933
|
}
|
|
1934
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1934
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: ErrorPagesConfigService, decorators: [{
|
|
1935
1935
|
type: Injectable,
|
|
1936
1936
|
args: [{ providedIn: 'root' }]
|
|
1937
1937
|
}] });
|
|
1938
1938
|
|
|
1939
1939
|
class AccessPageComponent {
|
|
1940
1940
|
config = inject(ErrorPagesConfigService).config();
|
|
1941
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1942
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1941
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AccessPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1942
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.5", type: AccessPageComponent, isStandalone: true, selector: "app-access", ngImport: i0, template: `
|
|
1943
1943
|
<div class="relative m-0 grid h-screen w-screen items-center justify-center overflow-hidden p-0">
|
|
1944
1944
|
|
|
1945
1945
|
<div class="grid justify-center items-center col-12 lg:col-6 grid-nogutter h-full bg-surface-ground">
|
|
@@ -1961,7 +1961,7 @@ class AccessPageComponent {
|
|
|
1961
1961
|
</div>
|
|
1962
1962
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$1.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: RippleModule }] });
|
|
1963
1963
|
}
|
|
1964
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1964
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AccessPageComponent, decorators: [{
|
|
1965
1965
|
type: Component,
|
|
1966
1966
|
args: [{
|
|
1967
1967
|
selector: 'app-access',
|
|
@@ -1993,8 +1993,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
|
|
|
1993
1993
|
|
|
1994
1994
|
class ErrorPageComponent {
|
|
1995
1995
|
config = inject(ErrorPagesConfigService).config();
|
|
1996
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1997
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1996
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: ErrorPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1997
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.5", type: ErrorPageComponent, isStandalone: true, selector: "app-error", ngImport: i0, template: `
|
|
1998
1998
|
<div class="relative m-0 grid h-screen w-screen items-center justify-center overflow-hidden p-0">
|
|
1999
1999
|
|
|
2000
2000
|
<div class="grid justify-center items-center col-12 lg:col-6 grid-nogutter h-full bg-surface-ground">
|
|
@@ -2016,7 +2016,7 @@ class ErrorPageComponent {
|
|
|
2016
2016
|
</div>
|
|
2017
2017
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$1.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: RippleModule }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }] });
|
|
2018
2018
|
}
|
|
2019
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2019
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: ErrorPageComponent, decorators: [{
|
|
2020
2020
|
type: Component,
|
|
2021
2021
|
args: [{
|
|
2022
2022
|
selector: 'app-error',
|
|
@@ -2048,8 +2048,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
|
|
|
2048
2048
|
|
|
2049
2049
|
class NotfoundPageComponent {
|
|
2050
2050
|
config = inject(ErrorPagesConfigService).config();
|
|
2051
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2052
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
2051
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: NotfoundPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2052
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.5", type: NotfoundPageComponent, isStandalone: true, selector: "app-notfound", ngImport: i0, template: `
|
|
2053
2053
|
<div class="relative m-0 grid h-screen w-screen items-center justify-center overflow-hidden p-0">
|
|
2054
2054
|
|
|
2055
2055
|
<div class="grid justify-center items-center col-12 lg:col-6 grid-nogutter h-full bg-surface-ground">
|
|
@@ -2101,7 +2101,7 @@ class NotfoundPageComponent {
|
|
|
2101
2101
|
</div>
|
|
2102
2102
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "component", type: i1$1.Button, selector: "p-button", inputs: ["hostName", "type", "badge", "disabled", "raised", "rounded", "text", "plain", "outlined", "link", "tabindex", "size", "variant", "style", "styleClass", "badgeClass", "badgeSeverity", "ariaLabel", "autofocus", "iconPos", "icon", "label", "loading", "loadingIcon", "severity", "buttonProps", "fluid"], outputs: ["onClick", "onFocus", "onBlur"] }, { kind: "ngmodule", type: RippleModule }] });
|
|
2103
2103
|
}
|
|
2104
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: NotfoundPageComponent, decorators: [{
|
|
2105
2105
|
type: Component,
|
|
2106
2106
|
args: [{
|
|
2107
2107
|
selector: 'app-notfound',
|