@ngx-smz/layout 21.1.10 → 21.1.21
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 +281 -110
- package/fesm2022/ngx-smz-layout.mjs.map +1 -1
- package/package.json +1 -1
- package/types/ngx-smz-layout.d.ts +73 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { signal, Injectable, InjectionToken, provideAppInitializer, inject, makeEnvironmentProviders,
|
|
2
|
+
import { signal, computed, Injectable, InjectionToken, provideAppInitializer, inject, makeEnvironmentProviders, effect, PLATFORM_ID, Component, EventEmitter, Output, Input, Directive, HostBinding, ViewChild } from '@angular/core';
|
|
3
3
|
import * as i3 from '@angular/common';
|
|
4
4
|
import { CommonModule, Location } from '@angular/common';
|
|
5
5
|
import * as i1 from '@angular/router';
|
|
@@ -27,32 +27,72 @@ import { trigger, state, style, transition, animate } from '@angular/animations'
|
|
|
27
27
|
import * as i4$1 from 'primeng/ripple';
|
|
28
28
|
import { RippleModule } from 'primeng/ripple';
|
|
29
29
|
|
|
30
|
+
/**
|
|
31
|
+
* Clones the menu tree and sets `visible: false` where the host denies access via `hasClaim`.
|
|
32
|
+
* Parent items with a submenu are also hidden when every child is non-visible (e.g. all denied by claims).
|
|
33
|
+
* Layout shells only need `visible` / `isVisible`; authorization stays in the injected callback.
|
|
34
|
+
*/
|
|
35
|
+
function cloneMenuItemsWithClaimVisibility(items, hasClaim) {
|
|
36
|
+
if (items == null || items.length === 0) {
|
|
37
|
+
return [];
|
|
38
|
+
}
|
|
39
|
+
return items.map((item) => cloneMenuItemWithClaimVisibility(item, hasClaim));
|
|
40
|
+
}
|
|
41
|
+
function cloneMenuItemWithClaimVisibility(item, hasClaim) {
|
|
42
|
+
const source = item;
|
|
43
|
+
const cloned = {
|
|
44
|
+
...source,
|
|
45
|
+
items: source.items?.map((child) => cloneMenuItemWithClaimVisibility(child, hasClaim))
|
|
46
|
+
};
|
|
47
|
+
const claims = source.claims;
|
|
48
|
+
if (claims != null && claims.length > 0 && hasClaim != null && !hasClaim(claims)) {
|
|
49
|
+
cloned.visible = false;
|
|
50
|
+
}
|
|
51
|
+
const nestedItems = cloned.items;
|
|
52
|
+
if (nestedItems != null && nestedItems.length > 0) {
|
|
53
|
+
const hasAnyVisibleChild = nestedItems.some((child) => child.visible !== false);
|
|
54
|
+
if (!hasAnyVisibleChild) {
|
|
55
|
+
cloned.visible = false;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
return cloned;
|
|
59
|
+
}
|
|
60
|
+
|
|
30
61
|
class SmzUILayout {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
62
|
+
/**
|
|
63
|
+
* Writable menu graph from the host (`SMZ_UI_LAYOUT_CONFIG.sidebar`). Mutations here trigger {@link sidebar}.
|
|
64
|
+
*/
|
|
65
|
+
sidebarWritable = signal([], ...(ngDevMode ? [{ debugName: "sidebarWritable" }] : /* istanbul ignore next */ []));
|
|
66
|
+
/**
|
|
67
|
+
* Menu prepared for shells such as Hephaestus: entries denied by {@link SmzUILayoutConfigType.hasClaim}
|
|
68
|
+
* use `visible: false` so templates only need visibility rules.
|
|
69
|
+
*/
|
|
70
|
+
sidebar = computed(() => cloneMenuItemsWithClaimVisibility(this.sidebarWritable(), this.layoutFeature?.hasClaim), ...(ngDevMode ? [{ debugName: "sidebar" }] : /* istanbul ignore next */ []));
|
|
71
|
+
layoutFeature = null;
|
|
72
|
+
footer = signal({}, ...(ngDevMode ? [{ debugName: "footer" }] : /* istanbul ignore next */ []));
|
|
34
73
|
topbar = signal({
|
|
35
74
|
showMenuToggle: true,
|
|
36
75
|
showBackButton: true,
|
|
37
|
-
}, ...(ngDevMode ? [{ debugName: "topbar" }] : []));
|
|
76
|
+
}, ...(ngDevMode ? [{ debugName: "topbar" }] : /* istanbul ignore next */ []));
|
|
38
77
|
layout = signal({
|
|
39
78
|
preset: 'Aura',
|
|
40
79
|
primary: 'orange',
|
|
41
80
|
surface: null,
|
|
42
81
|
darkTheme: false,
|
|
43
82
|
menuMode: 'static'
|
|
44
|
-
}, ...(ngDevMode ? [{ debugName: "layout" }] : []));
|
|
83
|
+
}, ...(ngDevMode ? [{ debugName: "layout" }] : /* istanbul ignore next */ []));
|
|
45
84
|
state = signal({
|
|
46
85
|
staticMenuDesktopInactive: false,
|
|
47
86
|
overlayMenuActive: false,
|
|
48
87
|
configSidebarVisible: false,
|
|
49
88
|
staticMenuMobileActive: false,
|
|
50
89
|
menuHoverActive: false
|
|
51
|
-
}, ...(ngDevMode ? [{ debugName: "state" }] : []));
|
|
90
|
+
}, ...(ngDevMode ? [{ debugName: "state" }] : /* istanbul ignore next */ []));
|
|
52
91
|
setConfig(config) {
|
|
53
|
-
const { sidebar, footer, topbar
|
|
92
|
+
const { sidebar, footer, topbar } = config || {};
|
|
93
|
+
this.layoutFeature = config ?? null;
|
|
54
94
|
if (sidebar) {
|
|
55
|
-
this.
|
|
95
|
+
this.sidebarWritable = sidebar;
|
|
56
96
|
}
|
|
57
97
|
if (footer) {
|
|
58
98
|
this.footer = footer;
|
|
@@ -60,33 +100,166 @@ class SmzUILayout {
|
|
|
60
100
|
if (topbar) {
|
|
61
101
|
this.topbar = topbar;
|
|
62
102
|
}
|
|
63
|
-
if (hasClaim) {
|
|
64
|
-
this.hasClaim = hasClaim;
|
|
65
|
-
}
|
|
66
103
|
}
|
|
67
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
68
|
-
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' });
|
|
69
106
|
}
|
|
70
|
-
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: [{
|
|
71
108
|
type: Injectable,
|
|
72
109
|
args: [{ providedIn: 'root' }]
|
|
73
110
|
}] });
|
|
74
111
|
|
|
75
112
|
const SMZ_UI_LAYOUT_CONFIG = new InjectionToken('SMZ_UI_LAYOUT_CONFIG');
|
|
76
|
-
function
|
|
77
|
-
const features = initializers();
|
|
113
|
+
function createSmzUILayoutEnvironmentProviders(features, resolveHasClaim) {
|
|
78
114
|
const providers = features?.map((feature) => ({
|
|
79
115
|
provide: SMZ_UI_LAYOUT_CONFIG,
|
|
80
116
|
useValue: feature,
|
|
81
117
|
multi: false
|
|
82
118
|
}));
|
|
83
119
|
const initializer = provideAppInitializer(() => {
|
|
84
|
-
const
|
|
85
|
-
features?.forEach((feature) =>
|
|
120
|
+
const smzLayout = inject(SmzUILayout);
|
|
121
|
+
features?.forEach((feature) => {
|
|
122
|
+
smzLayout.setConfig(feature);
|
|
123
|
+
});
|
|
124
|
+
if (resolveHasClaim != null) {
|
|
125
|
+
inject(SMZ_UI_LAYOUT_CONFIG).hasClaim = resolveHasClaim();
|
|
126
|
+
}
|
|
86
127
|
return;
|
|
87
128
|
});
|
|
88
129
|
return makeEnvironmentProviders([...providers, initializer]);
|
|
89
130
|
}
|
|
131
|
+
/**
|
|
132
|
+
* Fluent configuration for layout provisioning.
|
|
133
|
+
*
|
|
134
|
+
* Prefer granular `.withSidebar()`, `.withFooter()`, … for readability, or `.withFeatures()`
|
|
135
|
+
* when you already expose an assembled {@link SmzUILayoutConfigType} (including multi-feature arrays).
|
|
136
|
+
*
|
|
137
|
+
* @example
|
|
138
|
+
* ```ts
|
|
139
|
+
* configureSmzUILayout()
|
|
140
|
+
* .withSidebar(appSidebar)
|
|
141
|
+
* .withFooter(appFooter)
|
|
142
|
+
* .withTopbar(appTopbar)
|
|
143
|
+
* .withLayout(appLayout)
|
|
144
|
+
* .withLayoutState(appLayoutState)
|
|
145
|
+
* .withMenuAuthorization(() => {
|
|
146
|
+
* const access = inject(AccessControlService);
|
|
147
|
+
* return (claims) => access.hasClaim(claims);
|
|
148
|
+
* })
|
|
149
|
+
* .build()
|
|
150
|
+
* ```
|
|
151
|
+
*/
|
|
152
|
+
class SmzUILayoutProvisionBuilder {
|
|
153
|
+
featuresFactory;
|
|
154
|
+
menuAuthorizationFactory;
|
|
155
|
+
sidebarSignal;
|
|
156
|
+
footerSignal;
|
|
157
|
+
topbarSignal;
|
|
158
|
+
layoutSignal;
|
|
159
|
+
layoutStateSignal;
|
|
160
|
+
hasGranularSlots() {
|
|
161
|
+
return (this.sidebarSignal != null ||
|
|
162
|
+
this.footerSignal != null ||
|
|
163
|
+
this.topbarSignal != null ||
|
|
164
|
+
this.layoutSignal != null ||
|
|
165
|
+
this.layoutStateSignal != null);
|
|
166
|
+
}
|
|
167
|
+
assertNotUsingFeaturesFactory(methodName) {
|
|
168
|
+
if (this.featuresFactory != null) {
|
|
169
|
+
throw new Error(`configureSmzUILayout(): ${methodName} cannot be used together with .withFeatures(...).`);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Sync factory returning one or more assembled layout feature objects (advanced / legacy).
|
|
174
|
+
* Cannot use `inject()` here — only plain values and module-scope signals.
|
|
175
|
+
* Do not combine with `.withSidebar()` / `.withFooter()` / …
|
|
176
|
+
*/
|
|
177
|
+
withFeatures(factory) {
|
|
178
|
+
if (this.hasGranularSlots()) {
|
|
179
|
+
throw new Error('configureSmzUILayout(): .withFeatures(...) cannot be used together with granular .withSidebar() / .withFooter() / …');
|
|
180
|
+
}
|
|
181
|
+
this.featuresFactory = factory;
|
|
182
|
+
return this;
|
|
183
|
+
}
|
|
184
|
+
withSidebar(sidebar) {
|
|
185
|
+
this.assertNotUsingFeaturesFactory('withSidebar');
|
|
186
|
+
this.sidebarSignal = sidebar;
|
|
187
|
+
return this;
|
|
188
|
+
}
|
|
189
|
+
withFooter(footer) {
|
|
190
|
+
this.assertNotUsingFeaturesFactory('withFooter');
|
|
191
|
+
this.footerSignal = footer;
|
|
192
|
+
return this;
|
|
193
|
+
}
|
|
194
|
+
withTopbar(topbar) {
|
|
195
|
+
this.assertNotUsingFeaturesFactory('withTopbar');
|
|
196
|
+
this.topbarSignal = topbar;
|
|
197
|
+
return this;
|
|
198
|
+
}
|
|
199
|
+
/** Writable layout chrome config (preset, theme flags, menu mode, …). */
|
|
200
|
+
withLayout(layout) {
|
|
201
|
+
this.assertNotUsingFeaturesFactory('withLayout');
|
|
202
|
+
this.layoutSignal = layout;
|
|
203
|
+
return this;
|
|
204
|
+
}
|
|
205
|
+
/** Writable overlay / sidebar UI state for the Prime layout shell. */
|
|
206
|
+
withLayoutState(state) {
|
|
207
|
+
this.assertNotUsingFeaturesFactory('withLayoutState');
|
|
208
|
+
this.layoutStateSignal = state;
|
|
209
|
+
return this;
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* Runs during app bootstrap (injection context). Use `inject()` to resolve services,
|
|
213
|
+
* then return the predicate assigned to `SMZ_UI_LAYOUT_CONFIG.hasClaim`.
|
|
214
|
+
*/
|
|
215
|
+
withMenuAuthorization(factory) {
|
|
216
|
+
this.menuAuthorizationFactory = factory;
|
|
217
|
+
return this;
|
|
218
|
+
}
|
|
219
|
+
build() {
|
|
220
|
+
if (this.featuresFactory != null) {
|
|
221
|
+
const features = this.featuresFactory();
|
|
222
|
+
return createSmzUILayoutEnvironmentProviders(features, this.menuAuthorizationFactory);
|
|
223
|
+
}
|
|
224
|
+
const missingSteps = [];
|
|
225
|
+
if (this.sidebarSignal == null) {
|
|
226
|
+
missingSteps.push('.withSidebar(...)');
|
|
227
|
+
}
|
|
228
|
+
if (this.footerSignal == null) {
|
|
229
|
+
missingSteps.push('.withFooter(...)');
|
|
230
|
+
}
|
|
231
|
+
if (this.topbarSignal == null) {
|
|
232
|
+
missingSteps.push('.withTopbar(...)');
|
|
233
|
+
}
|
|
234
|
+
if (this.layoutSignal == null) {
|
|
235
|
+
missingSteps.push('.withLayout(...)');
|
|
236
|
+
}
|
|
237
|
+
if (this.layoutStateSignal == null) {
|
|
238
|
+
missingSteps.push('.withLayoutState(...)');
|
|
239
|
+
}
|
|
240
|
+
if (missingSteps.length > 0) {
|
|
241
|
+
throw new Error(`configureSmzUILayout(): provide layout signals or call .withFeatures(...). Missing: ${missingSteps.join(', ')}`);
|
|
242
|
+
}
|
|
243
|
+
const feature = {
|
|
244
|
+
sidebar: this.sidebarSignal,
|
|
245
|
+
footer: this.footerSignal,
|
|
246
|
+
topbar: this.topbarSignal,
|
|
247
|
+
layout: this.layoutSignal,
|
|
248
|
+
state: this.layoutStateSignal
|
|
249
|
+
};
|
|
250
|
+
return createSmzUILayoutEnvironmentProviders([feature], this.menuAuthorizationFactory);
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
/** Starts a fluent {@link SmzUILayoutProvisionBuilder}; finish with `.build()`. */
|
|
254
|
+
function configureSmzUILayout() {
|
|
255
|
+
return new SmzUILayoutProvisionBuilder();
|
|
256
|
+
}
|
|
257
|
+
function provideSmzUILayout(initializers, resolveHasClaim) {
|
|
258
|
+
const builder = configureSmzUILayout().withFeatures(initializers);
|
|
259
|
+
return resolveHasClaim != null
|
|
260
|
+
? builder.withMenuAuthorization(resolveHasClaim).build()
|
|
261
|
+
: builder.build();
|
|
262
|
+
}
|
|
90
263
|
|
|
91
264
|
class LayoutService {
|
|
92
265
|
config = inject(SMZ_UI_LAYOUT_CONFIG);
|
|
@@ -100,13 +273,13 @@ class LayoutService {
|
|
|
100
273
|
resetSource$ = this.resetSource.asObservable();
|
|
101
274
|
configUpdate$ = this.configUpdate.asObservable();
|
|
102
275
|
overlayOpen$ = this.overlayOpen.asObservable();
|
|
103
|
-
theme = computed(() => (this.layoutConfig()?.darkTheme ? 'light' : 'dark'), ...(ngDevMode ? [{ debugName: "theme" }] : []));
|
|
104
|
-
isSidebarActive = computed(() => this.layoutState().overlayMenuActive || this.layoutState().staticMenuMobileActive, ...(ngDevMode ? [{ debugName: "isSidebarActive" }] : []));
|
|
105
|
-
isDarkTheme = computed(() => this.layoutConfig().darkTheme, ...(ngDevMode ? [{ debugName: "isDarkTheme" }] : []));
|
|
106
|
-
getPrimary = computed(() => this.layoutConfig().primary, ...(ngDevMode ? [{ debugName: "getPrimary" }] : []));
|
|
107
|
-
getSurface = computed(() => this.layoutConfig().surface, ...(ngDevMode ? [{ debugName: "getSurface" }] : []));
|
|
108
|
-
isOverlay = computed(() => this.layoutConfig().menuMode === 'overlay', ...(ngDevMode ? [{ debugName: "isOverlay" }] : []));
|
|
109
|
-
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 */ []));
|
|
110
283
|
initialized = false;
|
|
111
284
|
constructor() {
|
|
112
285
|
effect(() => {
|
|
@@ -190,10 +363,10 @@ class LayoutService {
|
|
|
190
363
|
reset() {
|
|
191
364
|
this.resetSource.next(true);
|
|
192
365
|
}
|
|
193
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
194
|
-
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' });
|
|
195
368
|
}
|
|
196
|
-
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: [{
|
|
197
370
|
type: Injectable,
|
|
198
371
|
args: [{
|
|
199
372
|
providedIn: 'root'
|
|
@@ -212,7 +385,7 @@ class AppConfigurator {
|
|
|
212
385
|
platformId = inject(PLATFORM_ID);
|
|
213
386
|
primeNG = inject(PrimeNG);
|
|
214
387
|
presets = Object.keys(presets);
|
|
215
|
-
showMenuModeButton = signal(!this.router.url.includes('auth'), ...(ngDevMode ? [{ debugName: "showMenuModeButton" }] : []));
|
|
388
|
+
showMenuModeButton = signal(!this.router.url.includes('auth'), ...(ngDevMode ? [{ debugName: "showMenuModeButton" }] : /* istanbul ignore next */ []));
|
|
216
389
|
menuModeOptions = [
|
|
217
390
|
{ label: 'Static', value: 'static' },
|
|
218
391
|
{ label: 'Overlay', value: 'overlay' }
|
|
@@ -363,10 +536,10 @@ class AppConfigurator {
|
|
|
363
536
|
];
|
|
364
537
|
selectedPrimaryColor = computed(() => {
|
|
365
538
|
return this.layoutService.layoutConfig().primary;
|
|
366
|
-
}, ...(ngDevMode ? [{ debugName: "selectedPrimaryColor" }] : []));
|
|
367
|
-
selectedSurfaceColor = computed(() => this.layoutService.layoutConfig().surface, ...(ngDevMode ? [{ debugName: "selectedSurfaceColor" }] : []));
|
|
368
|
-
selectedPreset = computed(() => this.layoutService.layoutConfig().preset, ...(ngDevMode ? [{ debugName: "selectedPreset" }] : []));
|
|
369
|
-
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 */ []));
|
|
370
543
|
primaryColors = computed(() => {
|
|
371
544
|
const presetPalette = presets[this.layoutService.layoutConfig().preset].primitive;
|
|
372
545
|
const colors = ['emerald', 'green', 'lime', 'orange', 'amber', 'yellow', 'teal', 'cyan', 'sky', 'blue', 'indigo', 'violet', 'purple', 'fuchsia', 'pink', 'rose'];
|
|
@@ -378,7 +551,7 @@ class AppConfigurator {
|
|
|
378
551
|
});
|
|
379
552
|
});
|
|
380
553
|
return palettes;
|
|
381
|
-
}, ...(ngDevMode ? [{ debugName: "primaryColors" }] : []));
|
|
554
|
+
}, ...(ngDevMode ? [{ debugName: "primaryColors" }] : /* istanbul ignore next */ []));
|
|
382
555
|
getPresetExt() {
|
|
383
556
|
const color = this.primaryColors().find((c) => c.name === this.selectedPrimaryColor()) || {};
|
|
384
557
|
const preset = this.layoutService.layoutConfig().preset;
|
|
@@ -535,8 +708,8 @@ class AppConfigurator {
|
|
|
535
708
|
onMenuModeChange(event) {
|
|
536
709
|
this.layoutService.layoutConfig.update((prev) => ({ ...prev, menuMode: event }));
|
|
537
710
|
}
|
|
538
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
539
|
-
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: `
|
|
540
713
|
<div class="flex flex-col gap-4">
|
|
541
714
|
<div>
|
|
542
715
|
<span class="text-sm text-muted-color font-semibold">Primary</span>
|
|
@@ -585,7 +758,7 @@ class AppConfigurator {
|
|
|
585
758
|
</div>
|
|
586
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"] }] });
|
|
587
760
|
}
|
|
588
|
-
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: [{
|
|
589
762
|
type: Component,
|
|
590
763
|
args: [{
|
|
591
764
|
selector: 'app-configurator',
|
|
@@ -662,10 +835,10 @@ class InjectComponentService {
|
|
|
662
835
|
getComponent(key) {
|
|
663
836
|
return this.componentRefs.get(key);
|
|
664
837
|
}
|
|
665
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
666
|
-
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' });
|
|
667
840
|
}
|
|
668
|
-
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: [{
|
|
669
842
|
type: Injectable,
|
|
670
843
|
args: [{
|
|
671
844
|
providedIn: 'root'
|
|
@@ -724,10 +897,10 @@ class ComponentInjectorDirective {
|
|
|
724
897
|
ngOnDestroy() {
|
|
725
898
|
this.removeComp();
|
|
726
899
|
}
|
|
727
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
728
|
-
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 });
|
|
729
902
|
}
|
|
730
|
-
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: [{
|
|
731
904
|
type: Directive,
|
|
732
905
|
args: [{
|
|
733
906
|
selector: 'ng-template[componentInjector]',
|
|
@@ -747,7 +920,7 @@ class SmzLayoutLogging {
|
|
|
747
920
|
production: false,
|
|
748
921
|
level: 'debug',
|
|
749
922
|
restrictedScopes: []
|
|
750
|
-
}, ...(ngDevMode ? [{ debugName: "logging" }] : []));
|
|
923
|
+
}, ...(ngDevMode ? [{ debugName: "logging" }] : /* istanbul ignore next */ []));
|
|
751
924
|
setConfig(config) {
|
|
752
925
|
const { logging } = config || {};
|
|
753
926
|
if (logging) {
|
|
@@ -755,10 +928,10 @@ class SmzLayoutLogging {
|
|
|
755
928
|
}
|
|
756
929
|
;
|
|
757
930
|
}
|
|
758
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
759
|
-
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' });
|
|
760
933
|
}
|
|
761
|
-
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: [{
|
|
762
935
|
type: Injectable,
|
|
763
936
|
args: [{ providedIn: 'root' }]
|
|
764
937
|
}] });
|
|
@@ -782,13 +955,13 @@ function provideSmzLayoutLogging(initializers) {
|
|
|
782
955
|
// logging.service.ts
|
|
783
956
|
class LoggingService {
|
|
784
957
|
configFn = inject(SMZ_LAYOUT_LOGGING_CONFIG).logging;
|
|
785
|
-
enabled = signal(this.configFn().enabled, ...(ngDevMode ? [{ debugName: "enabled" }] : []));
|
|
958
|
+
enabled = signal(this.configFn().enabled, ...(ngDevMode ? [{ debugName: "enabled" }] : /* istanbul ignore next */ []));
|
|
786
959
|
// nível de each log: debug=0, info=1, warn=2, error=3
|
|
787
960
|
levelRank = { debug: 0, info: 1, warn: 2, error: 3 };
|
|
788
961
|
/** expose current settings */
|
|
789
|
-
isEnabled = computed(() => this.enabled(), ...(ngDevMode ? [{ debugName: "isEnabled" }] : []));
|
|
790
|
-
currentLevel = computed(() => this.configFn().level ?? 'debug', ...(ngDevMode ? [{ debugName: "currentLevel" }] : []));
|
|
791
|
-
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 */ []));
|
|
792
965
|
/** toggle logging global */
|
|
793
966
|
enable() { this.enabled.set(true); }
|
|
794
967
|
disable() { this.enabled.set(false); }
|
|
@@ -865,10 +1038,10 @@ class LoggingService {
|
|
|
865
1038
|
}
|
|
866
1039
|
};
|
|
867
1040
|
}
|
|
868
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
869
|
-
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' });
|
|
870
1043
|
}
|
|
871
|
-
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: [{
|
|
872
1045
|
type: Injectable,
|
|
873
1046
|
args: [{ providedIn: 'root' }]
|
|
874
1047
|
}] });
|
|
@@ -884,9 +1057,9 @@ var LoggingScope;
|
|
|
884
1057
|
class NavigationService {
|
|
885
1058
|
router = inject(Router);
|
|
886
1059
|
location = inject(Location);
|
|
887
|
-
history = signal(['/'], ...(ngDevMode ? [{ debugName: "history" }] : []));
|
|
888
|
-
isPopping = signal(false, ...(ngDevMode ? [{ debugName: "isPopping" }] : []));
|
|
889
|
-
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 */ []));
|
|
890
1063
|
loggingService = inject(LoggingService);
|
|
891
1064
|
logger = this.loggingService.scoped(LoggingScope.NavigationService);
|
|
892
1065
|
constructor() {
|
|
@@ -952,10 +1125,10 @@ class NavigationService {
|
|
|
952
1125
|
});
|
|
953
1126
|
this.location.back();
|
|
954
1127
|
}
|
|
955
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
956
|
-
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' });
|
|
957
1130
|
}
|
|
958
|
-
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: [{
|
|
959
1132
|
type: Injectable,
|
|
960
1133
|
args: [{ providedIn: 'root' }]
|
|
961
1134
|
}], ctorParameters: () => [] });
|
|
@@ -965,11 +1138,11 @@ class PageTitleService {
|
|
|
965
1138
|
loggingService = inject(LoggingService);
|
|
966
1139
|
logger = this.loggingService.scoped(LoggingScope.PageTitleService);
|
|
967
1140
|
// signal que guarda o título (ou null)
|
|
968
|
-
titleSignal = signal(null, ...(ngDevMode ? [{ debugName: "titleSignal" }] : []));
|
|
1141
|
+
titleSignal = signal(null, ...(ngDevMode ? [{ debugName: "titleSignal" }] : /* istanbul ignore next */ []));
|
|
969
1142
|
// string pura para template ('' quando null)
|
|
970
|
-
title = computed(() => this.titleSignal() ?? '', ...(ngDevMode ? [{ debugName: "title" }] : []));
|
|
1143
|
+
title = computed(() => this.titleSignal() ?? '', ...(ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []));
|
|
971
1144
|
// boolean para visibilidade (false quando null)
|
|
972
|
-
hasTitle = computed(() => this.titleSignal() !== null, ...(ngDevMode ? [{ debugName: "hasTitle" }] : []));
|
|
1145
|
+
hasTitle = computed(() => this.titleSignal() !== null, ...(ngDevMode ? [{ debugName: "hasTitle" }] : /* istanbul ignore next */ []));
|
|
973
1146
|
constructor() {
|
|
974
1147
|
// toda vez que uma navegação termina, atualiza o título
|
|
975
1148
|
this.router.events
|
|
@@ -994,10 +1167,10 @@ class PageTitleService {
|
|
|
994
1167
|
: null;
|
|
995
1168
|
this.titleSignal.set(title);
|
|
996
1169
|
}
|
|
997
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
998
|
-
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' });
|
|
999
1172
|
}
|
|
1000
|
-
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: [{
|
|
1001
1174
|
type: Injectable,
|
|
1002
1175
|
args: [{ providedIn: 'root' }]
|
|
1003
1176
|
}], ctorParameters: () => [] });
|
|
@@ -1014,8 +1187,8 @@ class AppTopbar {
|
|
|
1014
1187
|
handleMissingImage(event, placeholder) {
|
|
1015
1188
|
event.target.src = placeholder;
|
|
1016
1189
|
}
|
|
1017
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1018
|
-
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: `
|
|
1019
1192
|
@if (data(); as topbar) {
|
|
1020
1193
|
<div class="layout-topbar">
|
|
1021
1194
|
<div class="layout-topbar-logo-container">
|
|
@@ -1100,7 +1273,7 @@ class AppTopbar {
|
|
|
1100
1273
|
</div>
|
|
1101
1274
|
}`, 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 }] });
|
|
1102
1275
|
}
|
|
1103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1276
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppTopbar, decorators: [{
|
|
1104
1277
|
type: Component,
|
|
1105
1278
|
args: [{
|
|
1106
1279
|
selector: 'app-topbar',
|
|
@@ -1200,7 +1373,6 @@ class AppMenuitem {
|
|
|
1200
1373
|
index;
|
|
1201
1374
|
root;
|
|
1202
1375
|
parentKey;
|
|
1203
|
-
hasClaim = inject(SMZ_UI_LAYOUT_CONFIG).hasClaim;
|
|
1204
1376
|
active = false;
|
|
1205
1377
|
menuSourceSubscription;
|
|
1206
1378
|
menuResetSubscription;
|
|
@@ -1271,8 +1443,8 @@ class AppMenuitem {
|
|
|
1271
1443
|
this.menuResetSubscription.unsubscribe();
|
|
1272
1444
|
}
|
|
1273
1445
|
}
|
|
1274
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1275
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1446
|
+
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 });
|
|
1447
|
+
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: `
|
|
1276
1448
|
<ng-container>
|
|
1277
1449
|
@if (root && item.visible !== false) {
|
|
1278
1450
|
<div class="layout-menuitem-root-text">{{ item.label }}</div>
|
|
@@ -1315,7 +1487,7 @@ class AppMenuitem {
|
|
|
1315
1487
|
@if (item.items && item.visible !== false) {
|
|
1316
1488
|
<ul [@children]="submenuAnimation">
|
|
1317
1489
|
@for (child of item.items; track child; let i = $index) {
|
|
1318
|
-
@if (
|
|
1490
|
+
@if (child.visible !== false) {
|
|
1319
1491
|
<li app-menuitem [item]="child" [index]="i" [parentKey]="key" [class]="child['badgeClass']"></li>
|
|
1320
1492
|
}
|
|
1321
1493
|
}
|
|
@@ -1334,7 +1506,7 @@ class AppMenuitem {
|
|
|
1334
1506
|
])
|
|
1335
1507
|
] });
|
|
1336
1508
|
}
|
|
1337
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1509
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppMenuitem, decorators: [{
|
|
1338
1510
|
type: Component,
|
|
1339
1511
|
args: [{
|
|
1340
1512
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -1383,7 +1555,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
|
|
|
1383
1555
|
@if (item.items && item.visible !== false) {
|
|
1384
1556
|
<ul [@children]="submenuAnimation">
|
|
1385
1557
|
@for (child of item.items; track child; let i = $index) {
|
|
1386
|
-
@if (
|
|
1558
|
+
@if (child.visible !== false) {
|
|
1387
1559
|
<li app-menuitem [item]="child" [index]="i" [parentKey]="key" [class]="child['badgeClass']"></li>
|
|
1388
1560
|
}
|
|
1389
1561
|
}
|
|
@@ -1421,12 +1593,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
|
|
|
1421
1593
|
}] } });
|
|
1422
1594
|
|
|
1423
1595
|
class AppMenu {
|
|
1424
|
-
model = inject(
|
|
1425
|
-
|
|
1426
|
-
static
|
|
1427
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.1", type: AppMenu, isStandalone: true, selector: "app-menu", ngImport: i0, template: `<ul class="layout-menu">
|
|
1596
|
+
model = inject(SmzUILayout).sidebar;
|
|
1597
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppMenu, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1598
|
+
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">
|
|
1428
1599
|
@for (item of model(); track item; let i = $index) {
|
|
1429
|
-
@if (!item.separator &&
|
|
1600
|
+
@if (!item.separator && item.visible !== false) {
|
|
1430
1601
|
<li app-menuitem [item]="item" [index]="i" [root]="true"></li>
|
|
1431
1602
|
}
|
|
1432
1603
|
@if (item.separator) {
|
|
@@ -1435,7 +1606,7 @@ class AppMenu {
|
|
|
1435
1606
|
}
|
|
1436
1607
|
</ul>`, isInline: true, dependencies: [{ kind: "component", type: AppMenuitem, selector: "[app-menuitem]", inputs: ["item", "index", "root", "parentKey"] }, { kind: "ngmodule", type: RouterModule }] });
|
|
1437
1608
|
}
|
|
1438
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1609
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppMenu, decorators: [{
|
|
1439
1610
|
type: Component,
|
|
1440
1611
|
args: [{
|
|
1441
1612
|
selector: 'app-menu',
|
|
@@ -1443,7 +1614,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
|
|
|
1443
1614
|
imports: [AppMenuitem, RouterModule],
|
|
1444
1615
|
template: `<ul class="layout-menu">
|
|
1445
1616
|
@for (item of model(); track item; let i = $index) {
|
|
1446
|
-
@if (!item.separator &&
|
|
1617
|
+
@if (!item.separator && item.visible !== false) {
|
|
1447
1618
|
<li app-menuitem [item]="item" [index]="i" [root]="true"></li>
|
|
1448
1619
|
}
|
|
1449
1620
|
@if (item.separator) {
|
|
@@ -1459,12 +1630,12 @@ class AppSidebar {
|
|
|
1459
1630
|
constructor(el) {
|
|
1460
1631
|
this.el = el;
|
|
1461
1632
|
}
|
|
1462
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1463
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1633
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppSidebar, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1634
|
+
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">
|
|
1464
1635
|
<app-menu></app-menu>
|
|
1465
1636
|
</div>`, isInline: true, dependencies: [{ kind: "component", type: AppMenu, selector: "app-menu" }] });
|
|
1466
1637
|
}
|
|
1467
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1638
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppSidebar, decorators: [{
|
|
1468
1639
|
type: Component,
|
|
1469
1640
|
args: [{
|
|
1470
1641
|
selector: 'app-sidebar',
|
|
@@ -1479,8 +1650,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
|
|
|
1479
1650
|
class AppFooter {
|
|
1480
1651
|
data = inject(SMZ_UI_LAYOUT_CONFIG).footer;
|
|
1481
1652
|
layoutService = inject(LayoutService);
|
|
1482
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1483
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1653
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppFooter, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1654
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.5", type: AppFooter, isStandalone: true, selector: "app-footer", ngImport: i0, template: `
|
|
1484
1655
|
@if (data(); as footer) {
|
|
1485
1656
|
<div class="flex items-center justify-between px-0 py-4 gap-4 border-t border-surface-border">
|
|
1486
1657
|
@if (footer.leftLogoPath?.light && !layoutService.isDarkTheme()) {
|
|
@@ -1506,7 +1677,7 @@ class AppFooter {
|
|
|
1506
1677
|
}
|
|
1507
1678
|
`, isInline: true });
|
|
1508
1679
|
}
|
|
1509
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1680
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppFooter, decorators: [{
|
|
1510
1681
|
type: Component,
|
|
1511
1682
|
args: [{
|
|
1512
1683
|
standalone: true,
|
|
@@ -1615,8 +1786,8 @@ class AppLayout {
|
|
|
1615
1786
|
this.menuOutsideClickListener();
|
|
1616
1787
|
}
|
|
1617
1788
|
}
|
|
1618
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1619
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1789
|
+
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 });
|
|
1790
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.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">
|
|
1620
1791
|
<app-topbar></app-topbar>
|
|
1621
1792
|
<app-sidebar></app-sidebar>
|
|
1622
1793
|
<div class="layout-main-container">
|
|
@@ -1628,7 +1799,7 @@ class AppLayout {
|
|
|
1628
1799
|
<div class="layout-mask animate-fadein"></div>
|
|
1629
1800
|
</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" }] });
|
|
1630
1801
|
}
|
|
1631
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1802
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppLayout, decorators: [{
|
|
1632
1803
|
type: Component,
|
|
1633
1804
|
args: [{
|
|
1634
1805
|
selector: 'app-layout',
|
|
@@ -1656,12 +1827,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
|
|
|
1656
1827
|
|
|
1657
1828
|
class AppFloatingConfigurator {
|
|
1658
1829
|
LayoutService = inject(LayoutService);
|
|
1659
|
-
isDarkTheme = computed(() => this.LayoutService.layoutConfig().darkTheme, ...(ngDevMode ? [{ debugName: "isDarkTheme" }] : []));
|
|
1830
|
+
isDarkTheme = computed(() => this.LayoutService.layoutConfig().darkTheme, ...(ngDevMode ? [{ debugName: "isDarkTheme" }] : /* istanbul ignore next */ []));
|
|
1660
1831
|
toggleDarkMode() {
|
|
1661
1832
|
this.LayoutService.layoutConfig.update((state) => ({ ...state, darkTheme: !state.darkTheme }));
|
|
1662
1833
|
}
|
|
1663
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1664
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1834
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppFloatingConfigurator, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1835
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.5", type: AppFloatingConfigurator, isStandalone: true, selector: "app-floating-configurator", ngImport: i0, template: `
|
|
1665
1836
|
<div class="fixed flex gap-4 top-8 right-8">
|
|
1666
1837
|
<p-button type="button" (onClick)="toggleDarkMode()" [rounded]="true" [icon]="isDarkTheme() ? 'pi pi-moon' : 'pi pi-sun'" severity="secondary" />
|
|
1667
1838
|
<div class="relative">
|
|
@@ -1671,7 +1842,7 @@ class AppFloatingConfigurator {
|
|
|
1671
1842
|
</div>
|
|
1672
1843
|
`, 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" }] });
|
|
1673
1844
|
}
|
|
1674
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1845
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AppFloatingConfigurator, decorators: [{
|
|
1675
1846
|
type: Component,
|
|
1676
1847
|
args: [{
|
|
1677
1848
|
selector: 'app-floating-configurator',
|
|
@@ -1736,7 +1907,7 @@ class ErrorPagesConfigService {
|
|
|
1736
1907
|
},
|
|
1737
1908
|
]
|
|
1738
1909
|
}
|
|
1739
|
-
}, ...(ngDevMode ? [{ debugName: "config" }] : []));
|
|
1910
|
+
}, ...(ngDevMode ? [{ debugName: "config" }] : /* istanbul ignore next */ []));
|
|
1740
1911
|
// Método para atualizar dinamicamente a configuração de forma merge
|
|
1741
1912
|
updateConfig(newConfig) {
|
|
1742
1913
|
this.config.update((currentConfig) => ({
|
|
@@ -1748,18 +1919,18 @@ class ErrorPagesConfigService {
|
|
|
1748
1919
|
error: { ...currentConfig.error, ...newConfig.error }
|
|
1749
1920
|
}));
|
|
1750
1921
|
}
|
|
1751
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1752
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1922
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: ErrorPagesConfigService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1923
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: ErrorPagesConfigService, providedIn: 'root' });
|
|
1753
1924
|
}
|
|
1754
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1925
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: ErrorPagesConfigService, decorators: [{
|
|
1755
1926
|
type: Injectable,
|
|
1756
1927
|
args: [{ providedIn: 'root' }]
|
|
1757
1928
|
}] });
|
|
1758
1929
|
|
|
1759
1930
|
class AccessPageComponent {
|
|
1760
1931
|
config = inject(ErrorPagesConfigService).config();
|
|
1761
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1762
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1932
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AccessPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1933
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.5", type: AccessPageComponent, isStandalone: true, selector: "app-access", ngImport: i0, template: `
|
|
1763
1934
|
<div class="relative m-0 grid h-screen w-screen items-center justify-center overflow-hidden p-0">
|
|
1764
1935
|
|
|
1765
1936
|
<div class="grid justify-center items-center col-12 lg:col-6 grid-nogutter h-full bg-surface-ground">
|
|
@@ -1781,7 +1952,7 @@ class AccessPageComponent {
|
|
|
1781
1952
|
</div>
|
|
1782
1953
|
`, 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 }] });
|
|
1783
1954
|
}
|
|
1784
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1955
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: AccessPageComponent, decorators: [{
|
|
1785
1956
|
type: Component,
|
|
1786
1957
|
args: [{
|
|
1787
1958
|
selector: 'app-access',
|
|
@@ -1813,8 +1984,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
|
|
|
1813
1984
|
|
|
1814
1985
|
class ErrorPageComponent {
|
|
1815
1986
|
config = inject(ErrorPagesConfigService).config();
|
|
1816
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1817
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1987
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: ErrorPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1988
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.5", type: ErrorPageComponent, isStandalone: true, selector: "app-error", ngImport: i0, template: `
|
|
1818
1989
|
<div class="relative m-0 grid h-screen w-screen items-center justify-center overflow-hidden p-0">
|
|
1819
1990
|
|
|
1820
1991
|
<div class="grid justify-center items-center col-12 lg:col-6 grid-nogutter h-full bg-surface-ground">
|
|
@@ -1836,7 +2007,7 @@ class ErrorPageComponent {
|
|
|
1836
2007
|
</div>
|
|
1837
2008
|
`, 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"] }] });
|
|
1838
2009
|
}
|
|
1839
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2010
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: ErrorPageComponent, decorators: [{
|
|
1840
2011
|
type: Component,
|
|
1841
2012
|
args: [{
|
|
1842
2013
|
selector: 'app-error',
|
|
@@ -1868,8 +2039,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImpor
|
|
|
1868
2039
|
|
|
1869
2040
|
class NotfoundPageComponent {
|
|
1870
2041
|
config = inject(ErrorPagesConfigService).config();
|
|
1871
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1872
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
2042
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: NotfoundPageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2043
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.5", type: NotfoundPageComponent, isStandalone: true, selector: "app-notfound", ngImport: i0, template: `
|
|
1873
2044
|
<div class="relative m-0 grid h-screen w-screen items-center justify-center overflow-hidden p-0">
|
|
1874
2045
|
|
|
1875
2046
|
<div class="grid justify-center items-center col-12 lg:col-6 grid-nogutter h-full bg-surface-ground">
|
|
@@ -1921,7 +2092,7 @@ class NotfoundPageComponent {
|
|
|
1921
2092
|
</div>
|
|
1922
2093
|
`, 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 }] });
|
|
1923
2094
|
}
|
|
1924
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2095
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.5", ngImport: i0, type: NotfoundPageComponent, decorators: [{
|
|
1925
2096
|
type: Component,
|
|
1926
2097
|
args: [{
|
|
1927
2098
|
selector: 'app-notfound',
|
|
@@ -1995,5 +2166,5 @@ const ErrorsRoutes = [
|
|
|
1995
2166
|
* Generated bundle index. Do not edit.
|
|
1996
2167
|
*/
|
|
1997
2168
|
|
|
1998
|
-
export { AccessPageComponent, AppFloatingConfigurator, AppLayout, ErrorPageComponent, ErrorPagesConfigService, ErrorsRoutes, LayoutService, LoggingScope, LoggingService, NotfoundPageComponent, SMZ_LAYOUT_LOGGING_CONFIG, SMZ_UI_LAYOUT_CONFIG, SmzLayoutLogging, SmzUILayout, provideSmzLayoutLogging, provideSmzUILayout };
|
|
2169
|
+
export { AccessPageComponent, AppFloatingConfigurator, AppLayout, ErrorPageComponent, ErrorPagesConfigService, ErrorsRoutes, LayoutService, LoggingScope, LoggingService, NotfoundPageComponent, SMZ_LAYOUT_LOGGING_CONFIG, SMZ_UI_LAYOUT_CONFIG, SmzLayoutLogging, SmzUILayout, SmzUILayoutProvisionBuilder, configureSmzUILayout, provideSmzLayoutLogging, provideSmzUILayout };
|
|
1999
2170
|
//# sourceMappingURL=ngx-smz-layout.mjs.map
|