@juice-js/layout 2.3.0-alpha.2 → 2.3.0-alpha.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juice-js/layout",
3
- "version": "2.3.0-alpha.2",
3
+ "version": "2.3.0-alpha.4",
4
4
  "description": "Juice layout",
5
5
  "author": {
6
6
  "name": "jack@creatorflow.io"
@@ -19,8 +19,8 @@
19
19
  "url": "git+https://github.com/creatorflow-io/juice-layout.git"
20
20
  },
21
21
  "peerDependencies": {
22
- "@juice-js/core": "2.3.0-alpha.2",
23
- "@juice-js/localize": "2.3.0-alpha.2"
22
+ "@juice-js/core": "2.3.0-alpha.4",
23
+ "@juice-js/localize": "2.3.0-alpha.4"
24
24
  },
25
25
  "dependencies": {
26
26
  "tslib": "^2.3.0"
@@ -40,5 +40,5 @@
40
40
  "typings": "types/juice-js-layout.d.ts",
41
41
  "type": "module",
42
42
  "readme": "ERROR: No README data found!",
43
- "_id": "@juice-js/layout@2.3.0-alpha.2"
43
+ "_id": "@juice-js/layout@2.3.0-alpha.4"
44
44
  }
@@ -0,0 +1,218 @@
1
+ // The Juice palettes, as Material 3 tonal palettes. Primary, secondary, tertiary and error come from
2
+ // 'ng generate @angular/material:theme-color'; the neutrals are the slate and zinc grey scales interpolated in CIELAB
3
+ // at each M3 tone, because the generator keeps too much of a grey seed's chroma (a slate seed gives blue surfaces).
4
+ @use 'sass:map';
5
+
6
+ @function _palette($tones, $neutral) {
7
+ $rest: (secondary: map.get($tones, secondary), neutral: $neutral, neutral-variant: $neutral, error: map.get($tones, error));
8
+ @return (
9
+ primary: map.merge(map.get($tones, primary), $rest),
10
+ tertiary: map.merge(map.get($tones, tertiary), $rest),
11
+ );
12
+ }
13
+
14
+ /// Slate greys and the Juice teal (#0f766e).
15
+ $teal: _palette((
16
+ primary: (
17
+ 0: #000000,
18
+ 10: #00201d,
19
+ 20: #003733,
20
+ 25: #00433e,
21
+ 30: #00504a,
22
+ 35: #005d56,
23
+ 40: #006a63,
24
+ 50: #27847c,
25
+ 60: #479e96,
26
+ 70: #64bab0,
27
+ 80: #80d5cb,
28
+ 90: #9cf2e8,
29
+ 95: #b2fff5,
30
+ 98: #e4fffa,
31
+ 99: #f2fffc,
32
+ 100: #ffffff,
33
+ ),
34
+ secondary: (
35
+ 0: #000000,
36
+ 10: #00201d,
37
+ 20: #173532,
38
+ 25: #22413d,
39
+ 30: #2e4c48,
40
+ 35: #3a5854,
41
+ 40: #466460,
42
+ 50: #5e7d79,
43
+ 60: #779792,
44
+ 70: #91b2ad,
45
+ 80: #accdc8,
46
+ 90: #c8e9e4,
47
+ 95: #d6f8f2,
48
+ 98: #e4fffa,
49
+ 99: #f2fffc,
50
+ 100: #ffffff,
51
+ ),
52
+ tertiary: (
53
+ 0: #000000,
54
+ 10: #250e46,
55
+ 20: #3a255c,
56
+ 25: #463068,
57
+ 30: #523c74,
58
+ 35: #5e4781,
59
+ 40: #6a538e,
60
+ 50: #846ca8,
61
+ 60: #9e85c4,
62
+ 70: #b9a0e0,
63
+ 80: #d5bbfd,
64
+ 90: #ecdcff,
65
+ 95: #f7edff,
66
+ 98: #fef7ff,
67
+ 99: #fffbff,
68
+ 100: #ffffff,
69
+ ),
70
+ error: (
71
+ 0: #000000,
72
+ 10: #40000d,
73
+ 20: #67001b,
74
+ 25: #7c0022,
75
+ 30: #920029,
76
+ 35: #a80031,
77
+ 40: #bb0f3a,
78
+ 50: #df3151,
79
+ 60: #ff516a,
80
+ 70: #ff8791,
81
+ 80: #ffb2b7,
82
+ 90: #ffdadb,
83
+ 95: #ffedec,
84
+ 98: #fff8f7,
85
+ 99: #fffbff,
86
+ 100: #ffffff,
87
+ ),
88
+ ), (
89
+ 0: #000000,
90
+ 4: #080d1d,
91
+ 6: #0d1324,
92
+ 10: #131b2e,
93
+ 12: #161f32,
94
+ 17: #1f2a3c,
95
+ 20: #253144,
96
+ 22: #293548,
97
+ 24: #2d3a4d,
98
+ 25: #2f3c50,
99
+ 30: #3a485c,
100
+ 35: #455367,
101
+ 40: #515f74,
102
+ 50: #68788f,
103
+ 60: #8392a8,
104
+ 70: #9eacc0,
105
+ 80: #bcc8d6,
106
+ 87: #d2dbe6,
107
+ 90: #dce3ec,
108
+ 92: #e3e9f0,
109
+ 94: #e9eef4,
110
+ 95: #edf1f6,
111
+ 96: #f0f4f8,
112
+ 98: #f7fafc,
113
+ 99: #fbfcfd,
114
+ 100: #ffffff,
115
+ ));
116
+
117
+ /// Zinc greys and indigo (#4f46e5).
118
+ $indigo: _palette((
119
+ primary: (
120
+ 0: #000000,
121
+ 10: #0f0069,
122
+ 20: #1d00a5,
123
+ 25: #2606c2,
124
+ 30: #3323cc,
125
+ 35: #4034d7,
126
+ 40: #4d44e3,
127
+ 50: #6760fd,
128
+ 60: #8582ff,
129
+ 70: #a4a1ff,
130
+ 80: #c3c0ff,
131
+ 90: #e2dfff,
132
+ 95: #f2efff,
133
+ 98: #fcf8ff,
134
+ 99: #fffbff,
135
+ 100: #ffffff,
136
+ ),
137
+ secondary: (
138
+ 0: #000000,
139
+ 10: #140f54,
140
+ 20: #2a276a,
141
+ 25: #353375,
142
+ 30: #413f82,
143
+ 35: #4c4b8e,
144
+ 40: #58579b,
145
+ 50: #7170b6,
146
+ 60: #8b89d2,
147
+ 70: #a6a4ee,
148
+ 80: #c3c0ff,
149
+ 90: #e2dfff,
150
+ 95: #f2efff,
151
+ 98: #fcf8ff,
152
+ 99: #fffbff,
153
+ 100: #ffffff,
154
+ ),
155
+ tertiary: (
156
+ 0: #000000,
157
+ 10: #37003b,
158
+ 20: #5a005f,
159
+ 25: #6c0073,
160
+ 30: #7f0087,
161
+ 35: #8f1297,
162
+ 40: #9e25a4,
163
+ 50: #bb43bf,
164
+ 60: #d95fdc,
165
+ 70: #f87af9,
166
+ 80: #ffa9fa,
167
+ 90: #ffd6f8,
168
+ 95: #ffebf9,
169
+ 98: #fff7fa,
170
+ 99: #fffbff,
171
+ 100: #ffffff,
172
+ ),
173
+ error: (
174
+ 0: #000000,
175
+ 10: #40000d,
176
+ 20: #67001b,
177
+ 25: #7c0022,
178
+ 30: #920029,
179
+ 35: #a80031,
180
+ 40: #bb0f3a,
181
+ 50: #df3151,
182
+ 60: #ff516a,
183
+ 70: #ff8791,
184
+ 80: #ffb2b7,
185
+ 90: #ffdadb,
186
+ 95: #ffedec,
187
+ 98: #fff8f7,
188
+ 99: #fffbff,
189
+ 100: #ffffff,
190
+ ),
191
+ ), (
192
+ 0: #000000,
193
+ 4: #0e0e10,
194
+ 6: #131316,
195
+ 10: #1b1b1e,
196
+ 12: #1f1f22,
197
+ 17: #2a2a2d,
198
+ 20: #303034,
199
+ 22: #343439,
200
+ 24: #39393f,
201
+ 25: #3b3b41,
202
+ 30: #46464e,
203
+ 35: #52525b,
204
+ 40: #5e5e67,
205
+ 50: #76767f,
206
+ 60: #909099,
207
+ 70: #aaaab3,
208
+ 80: #c6c6cb,
209
+ 87: #dadadd,
210
+ 90: #e2e2e5,
211
+ 92: #e8e8ea,
212
+ 94: #eeeeef,
213
+ 95: #f0f0f2,
214
+ 96: #f3f3f4,
215
+ 98: #f9f9f9,
216
+ 99: #fcfcfc,
217
+ 100: #ffffff,
218
+ ));
@@ -1,5 +1,126 @@
1
+ // juice-layout's styles. Material 3 apps include theme() once: Material, the layout's own components, the palettes
2
+ // the viewer can switch between (LayoutService.setPalette), and the shared --juice-* tokens that the Juice pages
3
+ // (audit, observability, notifications…) read, so the whole app follows one palette, light and dark.
4
+ //
5
+ // @use '@juice-js/layout' as layout;
6
+ // @include layout.theme(); // teal (default) and indigo
7
+ // @include layout.theme((default: indigo, density: -1));
8
+ // @include layout.theme((palettes: (brand: $my-m3-palettes))); // more palettes, beside the built-in ones
9
+ //
10
+ // layout-component-themes() and layout-component-colors() are the Material 2 mixins of 1.x, kept for apps that have
11
+ // not moved to Material 3 yet; they get no palettes and no --juice-* tokens.
12
+ @forward 'palettes' show $teal, $indigo;
13
+ @use 'palettes';
1
14
  @use '@angular/material' as mat;
2
15
  @use 'sass:map';
16
+ @use 'sass:meta';
17
+
18
+ // ─── Material 3 ───
19
+
20
+ /// The built-in palettes, by the name data-juice-palette and LayoutConfig.palettes use.
21
+ $palettes: ('teal': palettes.$teal, 'indigo': palettes.$indigo);
22
+
23
+ /// Material 3 theme, layout components and palettes.
24
+ /// @param $options
25
+ /// default: the palette before the viewer picks one ('teal')
26
+ /// palettes: more palettes, name → (primary: <M3 palette>, tertiary: <M3 palette>), e.g. from
27
+ /// 'ng generate @angular/material:theme-color'; a built-in name replaces that palette
28
+ /// typography: mat.theme typography (Roboto)
29
+ /// density: mat.theme density, 0 to -5 (0)
30
+ @mixin theme($options: ()) {
31
+ $o: map.merge((default: 'teal', palettes: (), typography: Roboto, density: 0), $options);
32
+ $all: map.merge($palettes, map.get($o, palettes));
33
+ $default: '' + map.get($o, default);
34
+ @if not map.has-key($all, $default) {
35
+ @error "Unknown juice-layout palette '#{$default}': use one of #{map.keys($all)}.";
36
+ }
37
+
38
+ html {
39
+ color-scheme: light;
40
+ @include mat.theme((
41
+ color: _color(map.get($all, $default)),
42
+ typography: map.get($o, typography),
43
+ density: map.get($o, density),
44
+ ));
45
+ @include tokens();
46
+ }
47
+ // LayoutService (the dark mode switch) puts .dark on body; the theme's colours are light-dark() pairs.
48
+ .dark { color-scheme: dark; }
49
+ @each $name, $palette in $all {
50
+ [data-juice-palette='#{$name}'] {
51
+ @include mat.theme((color: _color($palette)));
52
+ @include tokens();
53
+ }
54
+ }
55
+ body {
56
+ background: var(--mat-sys-surface);
57
+ color: var(--mat-sys-on-surface);
58
+ }
59
+ @include components();
60
+ }
61
+
62
+ @function _color($palette) {
63
+ @return (primary: map.get($palette, primary), tertiary: map.get($palette, tertiary), theme-type: color-scheme);
64
+ }
65
+
66
+ /// The shared tokens of the Juice pages, from Material 3's system colours: include it where those are defined.
67
+ /// Status tones have no M3 role except error, so ok, warn and info are fixed light/dark pairs.
68
+ @mixin tokens() {
69
+ --juice-bg: var(--mat-sys-surface);
70
+ --juice-surface: light-dark(var(--mat-sys-surface-container-lowest), var(--mat-sys-surface-container));
71
+ --juice-border: var(--mat-sys-surface-container-highest);
72
+ --juice-text: var(--mat-sys-on-surface);
73
+ --juice-muted: var(--mat-sys-on-surface-variant);
74
+ --juice-accent: var(--mat-sys-primary);
75
+ --juice-on-accent: var(--mat-sys-on-primary);
76
+ --juice-select: #{_tint(var(--juice-accent))};
77
+ --juice-ok: light-dark(#047857, #34d399);
78
+ --juice-warn: light-dark(#b45309, #fbbf24);
79
+ --juice-bad: var(--mat-sys-error);
80
+ --juice-info: light-dark(#0369a1, #38bdf8);
81
+ --juice-none: var(--juice-muted);
82
+ @each $tone in (ok, warn, bad, info, none) {
83
+ --juice-#{$tone}-bg: #{_tint(var(--juice-#{$tone}))};
84
+ }
85
+ }
86
+
87
+ // A tone on the surface: 14% in light, 22% in dark.
88
+ @function _tint($color) {
89
+ @return light-dark(color-mix(in srgb, #{$color} 14%, var(--juice-surface)),
90
+ color-mix(in srgb, #{$color} 22%, var(--juice-surface)));
91
+ }
92
+
93
+ /// The layout's components in Material 3's system colours (theme() includes it).
94
+ @mixin components() {
95
+ html { scroll-behavior: smooth; }
96
+ html, body, app-root, app-page, app-page > .container { height: 100%; margin: 0; display: block; }
97
+ .p-4 { padding: 1rem !important; }
98
+
99
+ ::-webkit-scrollbar { width: 10px; height: 10px; }
100
+ ::-webkit-scrollbar-thumb { background: var(--mat-sys-outline-variant); border-radius: 10px; }
101
+ ::-webkit-scrollbar-track { background: transparent; }
102
+
103
+ .mat-sidenav {
104
+ .mat-expansion-panel-body .mat-mdc-list-item-title { font-size: 0.9rem; }
105
+ @include mat.list-density(-2);
106
+ .mdc-list-item--with-leading-icon {
107
+ .mdc-list-item__start { color: var(--mat-sys-on-surface-variant); }
108
+ &:hover {
109
+ .mdc-list-item__start, .mdc-list-item__primary-text { color: var(--mat-sys-primary); }
110
+ }
111
+ &.active {
112
+ background-color: var(--mat-sys-secondary-container);
113
+ .mdc-list-item__start, .mdc-list-item__primary-text { color: var(--mat-sys-on-secondary-container); }
114
+ }
115
+ }
116
+ }
117
+
118
+ // Material only colours .mat-mdc-menu-item; other content in a panel (headers, notification items) inherits from
119
+ // the overlay container.
120
+ .mat-mdc-menu-panel { color: var(--mat-sys-on-surface); }
121
+ }
122
+
123
+ // ─── Material 2 (1.x) ───
3
124
 
4
125
 
5
126
  @mixin layout-component-themes($theme) {
@@ -2,22 +2,23 @@ import * as i0 from '@angular/core';
2
2
  import { InjectionToken, Type, Signal, ChangeDetectorRef, ComponentRef, ElementRef, ViewContainerRef, OnInit, ModuleWithProviders } from '@angular/core';
3
3
  import { TenantService, MenuItem, MenuService, AsyncDialog } from '@juice-js/core';
4
4
  import { BreakpointObserver } from '@angular/cdk/layout';
5
- import * as i10 from '@angular/router';
6
- import { ActivatedRoute, Router } from '@angular/router';
7
5
  import * as _juice_js_layout from '@juice-js/layout';
6
+ import * as i11 from '@angular/router';
7
+ import { ActivatedRoute, Router } from '@angular/router';
8
8
  import { OAuthService } from 'angular-oauth2-oidc';
9
- import * as i11 from '@angular/common';
10
- import * as i12 from '@ngx-translate/core';
11
- import * as i13 from '@angular/material/icon';
12
- import * as i14 from '@angular/material/toolbar';
13
- import * as i15 from '@angular/material/sidenav';
14
- import * as i16 from '@angular/material/button';
15
- import * as i17 from '@angular/material/expansion';
16
- import * as i18 from '@angular/material/list';
17
- import * as i19 from '@angular/material/form-field';
18
- import * as i20 from '@angular/material/input';
19
- import * as i21 from '@angular/material/tooltip';
20
- import * as i22 from '@angular/material/dialog';
9
+ import * as i12 from '@angular/common';
10
+ import * as i13 from '@ngx-translate/core';
11
+ import * as i14 from '@angular/material/icon';
12
+ import * as i15 from '@angular/material/toolbar';
13
+ import * as i16 from '@angular/material/sidenav';
14
+ import * as i17 from '@angular/material/button';
15
+ import * as i18 from '@angular/material/expansion';
16
+ import * as i19 from '@angular/material/list';
17
+ import * as i20 from '@angular/material/form-field';
18
+ import * as i21 from '@angular/material/input';
19
+ import * as i22 from '@angular/material/tooltip';
20
+ import * as i23 from '@angular/material/dialog';
21
+ import * as i24 from '@angular/material/menu';
21
22
 
22
23
  declare enum ThemeMode {
23
24
  Light = "light",
@@ -34,6 +35,8 @@ declare class LayoutConfig {
34
35
  settingUrl: string | undefined;
35
36
  userImageUrl: string | undefined;
36
37
  pageSwitcher: boolean;
38
+ palettes: LayoutPalette[];
39
+ defaultPalette: string | undefined;
37
40
  constructor(options?: ILayoutConfig);
38
41
  }
39
42
  interface ILayoutConfig {
@@ -50,7 +53,28 @@ interface ILayoutConfig {
50
53
  * Default true.
51
54
  */
52
55
  pageSwitcher?: boolean;
56
+ /**
57
+ * The colour palettes the viewer can switch between (the palette button beside the dark mode switch), by the names
58
+ * the stylesheet's `layout.theme()` emits. Default: teal and indigo. With one palette, no button.
59
+ */
60
+ palettes?: LayoutPalette[];
61
+ /**
62
+ * The palette before the viewer picks one. Without it, the stylesheet's `default` applies (teal unless
63
+ * `layout.theme((default: …))` changed it).
64
+ */
65
+ defaultPalette?: string;
53
66
  }
67
+ /** A colour palette, as `layout.theme()` names it and the palette menu shows it. */
68
+ interface LayoutPalette {
69
+ /** The palette's name in the stylesheet: `data-juice-palette="<id>"`. */
70
+ id: string;
71
+ /** Shown in the menu (translated). */
72
+ name: string;
73
+ /** The swatch in the menu, a CSS colour; usually the palette's primary. */
74
+ color: string;
75
+ }
76
+ /** The palettes `layout.theme()` ships. */
77
+ declare const LAYOUT_PALETTES: readonly LayoutPalette[];
54
78
  /**
55
79
  * Components an app adds to the toolbar, before the dark mode switch (a notification bell): provide each with `multi: true`.
56
80
  * `{ provide: LAYOUT_TOOLBAR_ITEMS, useValue: NotificationBellComponent, multi: true }`.
@@ -60,12 +84,25 @@ declare const LAYOUT_TOOLBAR_ITEMS: InjectionToken<Type<unknown>[]>;
60
84
  declare class LayoutService {
61
85
  static DARK_MODE: string;
62
86
  static MENU_OPEN: string;
87
+ static PALETTE: string;
63
88
  private readonly _tenantIdentifier;
64
89
  private readonly _tenant;
65
90
  private _options;
91
+ private readonly _palette;
92
+ /** The palette in use: the viewer's choice, else LayoutConfig.defaultPalette; null means the stylesheet's default. */
93
+ readonly palette: i0.Signal<string | null>;
66
94
  get tenantIdentifier(): string;
67
95
  set tenantIdentifier(value: string);
68
96
  constructor(options: LayoutConfig, tenantService: TenantService);
97
+ /** The palettes the viewer can pick from (LayoutConfig.palettes). */
98
+ palettes(): LayoutPalette[];
99
+ /**
100
+ * Switches every page to a palette and remembers it in this browser: it sets `data-juice-palette` on `<html>`, which
101
+ * `layout.theme()` and the Juice pages' tokens follow. Null goes back to the app's default.
102
+ */
103
+ setPalette(id: string | null): void;
104
+ private storedPalette;
105
+ private applyPalette;
69
106
  getThemeMode(): ThemeMode;
70
107
  toggleDarkMode(): void;
71
108
  isMenuOpen(): boolean;
@@ -255,6 +292,17 @@ declare class DarkModeComponent {
255
292
  static ɵcmp: i0.ɵɵComponentDeclaration<DarkModeComponent, "juice-dark-mode", never, {}, {}, never, never, false, never>;
256
293
  }
257
294
 
295
+ /** The palette menu beside the dark mode switch: every page follows the palette picked here. Hidden with one palette. */
296
+ declare class PaletteSwitchComponent {
297
+ private readonly service;
298
+ readonly palettes: _juice_js_layout.LayoutPalette[];
299
+ /** The palette in use; without a choice or a configured default, the first one (the stylesheet's default). */
300
+ readonly current: i0.Signal<string>;
301
+ select(id: string): void;
302
+ static ɵfac: i0.ɵɵFactoryDeclaration<PaletteSwitchComponent, never>;
303
+ static ɵcmp: i0.ɵɵComponentDeclaration<PaletteSwitchComponent, "juice-palette-switch", never, {}, {}, never, never, false, never>;
304
+ }
305
+
258
306
  declare enum TooltipPosition {
259
307
  ABOVE = "above",
260
308
  BELOW = "below",
@@ -481,7 +529,7 @@ declare class MenuBadgeComponent {
481
529
  declare class LayoutModule {
482
530
  static forRoot(production: boolean, options: ILayoutConfig): ModuleWithProviders<LayoutModule>;
483
531
  static ɵfac: i0.ɵɵFactoryDeclaration<LayoutModule, never>;
484
- static ɵmod: i0.ɵɵNgModuleDeclaration<LayoutModule, [typeof PageComponent, typeof DarkModeComponent, typeof NavMenuComponent, typeof ExpandableMenuComponent, typeof PageNotfoundComponent, typeof SearchBarComponent, typeof UserProfileComponent, typeof PageSwitcherComponent, typeof MenuBadgeComponent], [typeof i10.RouterModule, typeof i11.CommonModule, typeof i12.TranslatePipe, typeof i12.TranslateDirective, typeof i13.MatIconModule, typeof i14.MatToolbarModule, typeof i15.MatSidenavModule, typeof i16.MatButtonModule, typeof i17.MatExpansionModule, typeof i18.MatListModule, typeof i19.MatFormFieldModule, typeof i20.MatInputModule, typeof i21.MatTooltipModule, typeof i22.MatDialogModule], [typeof PageComponent, typeof i10.RouterModule]>;
532
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LayoutModule, [typeof PageComponent, typeof DarkModeComponent, typeof PaletteSwitchComponent, typeof NavMenuComponent, typeof ExpandableMenuComponent, typeof PageNotfoundComponent, typeof SearchBarComponent, typeof UserProfileComponent, typeof PageSwitcherComponent, typeof MenuBadgeComponent], [typeof i11.RouterModule, typeof i12.CommonModule, typeof i13.TranslatePipe, typeof i13.TranslateDirective, typeof i14.MatIconModule, typeof i15.MatToolbarModule, typeof i16.MatSidenavModule, typeof i17.MatButtonModule, typeof i18.MatExpansionModule, typeof i19.MatListModule, typeof i20.MatFormFieldModule, typeof i21.MatInputModule, typeof i22.MatTooltipModule, typeof i23.MatDialogModule, typeof i24.MatMenuModule], [typeof PageComponent, typeof i11.RouterModule]>;
485
533
  static ɵinj: i0.ɵɵInjectorDeclaration<LayoutModule>;
486
534
  }
487
535
 
@@ -500,7 +548,7 @@ declare class TooltipComponent {
500
548
 
501
549
  declare class TooltipModule {
502
550
  static ɵfac: i0.ɵɵFactoryDeclaration<TooltipModule, never>;
503
- static ɵmod: i0.ɵɵNgModuleDeclaration<TooltipModule, [typeof TooltipComponent, typeof TooltipDirective], [typeof i11.CommonModule], [typeof TooltipDirective]>;
551
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TooltipModule, [typeof TooltipComponent, typeof TooltipDirective], [typeof i12.CommonModule], [typeof TooltipDirective]>;
504
552
  static ɵinj: i0.ɵɵInjectorDeclaration<TooltipModule>;
505
553
  }
506
554
 
@@ -569,9 +617,9 @@ declare class UserProfileDialogComponent implements OnInit {
569
617
 
570
618
  declare class UserProfileDialogModule {
571
619
  static ɵfac: i0.ɵɵFactoryDeclaration<UserProfileDialogModule, never>;
572
- static ɵmod: i0.ɵɵNgModuleDeclaration<UserProfileDialogModule, [typeof UserProfileDialogComponent], [typeof i22.MatDialogModule, typeof i16.MatButtonModule, typeof i12.TranslatePipe, typeof i12.TranslateDirective, typeof i11.CommonModule], never>;
620
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UserProfileDialogModule, [typeof UserProfileDialogComponent], [typeof i23.MatDialogModule, typeof i17.MatButtonModule, typeof i13.TranslatePipe, typeof i13.TranslateDirective, typeof i12.CommonModule], never>;
573
621
  static ɵinj: i0.ɵɵInjectorDeclaration<UserProfileDialogModule>;
574
622
  }
575
623
 
576
- export { DevGuard, ExpandableMenuComponent, LAYOUT_TOOLBAR_ITEMS, LayoutModule, LayoutService, MenuBadgeComponent, MenuBadgeService, NavMenuComponent, PageComponent, PageNotfoundComponent, PageSwitcherComponent, PageSwitcherService, ProfileDialogService, SearchService, TooltipDirective, TooltipModule, TooltipPosition, UserProfileDialogModule, flatten, isSearchablePage };
577
- export type { MenuBadge, PageEntry, SearchablePage };
624
+ export { DevGuard, ExpandableMenuComponent, LAYOUT_PALETTES, LAYOUT_TOOLBAR_ITEMS, LayoutModule, LayoutService, MenuBadgeComponent, MenuBadgeService, NavMenuComponent, PageComponent, PageNotfoundComponent, PageSwitcherComponent, PageSwitcherService, ProfileDialogService, SearchService, TooltipDirective, TooltipModule, TooltipPosition, UserProfileDialogModule, flatten, isSearchablePage };
625
+ export type { LayoutPalette, MenuBadge, PageEntry, SearchablePage };