@juice-js/layout 2.0.2-alpha.1 → 2.1.0-alpha.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.
|
@@ -7,20 +7,20 @@ import { Breakpoints } from '@angular/cdk/layout';
|
|
|
7
7
|
import { trigger, transition, style, animate, state } from '@angular/animations';
|
|
8
8
|
import * as i1$2 from '@angular/router';
|
|
9
9
|
import { RouterModule } from '@angular/router';
|
|
10
|
-
import * as
|
|
10
|
+
import * as i1$1 from '@angular/common';
|
|
11
|
+
import { CommonModule } from '@angular/common';
|
|
12
|
+
import * as i2 from '@angular/material/icon';
|
|
11
13
|
import { MatIconModule } from '@angular/material/icon';
|
|
12
|
-
import * as
|
|
14
|
+
import * as i7 from '@angular/material/toolbar';
|
|
13
15
|
import { MatToolbarModule } from '@angular/material/toolbar';
|
|
14
|
-
import * as
|
|
16
|
+
import * as i8 from '@angular/material/sidenav';
|
|
15
17
|
import { MatSidenavModule } from '@angular/material/sidenav';
|
|
16
18
|
import * as i3 from '@angular/material/button';
|
|
17
19
|
import { MatButtonModule } from '@angular/material/button';
|
|
18
20
|
import * as i4 from '@angular/material/tooltip';
|
|
19
21
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
20
|
-
import * as i5
|
|
22
|
+
import * as i5 from '@ngx-translate/core';
|
|
21
23
|
import { TranslatePipe, TranslateDirective } from '@ngx-translate/core';
|
|
22
|
-
import * as i1$1 from '@angular/common';
|
|
23
|
-
import { CommonModule } from '@angular/common';
|
|
24
24
|
import * as i6 from '@angular/material/list';
|
|
25
25
|
import { MatListModule } from '@angular/material/list';
|
|
26
26
|
import * as i4$1 from '@angular/material/expansion';
|
|
@@ -28,7 +28,7 @@ import { MatExpansionModule } from '@angular/material/expansion';
|
|
|
28
28
|
import * as i3$1 from 'angular-oauth2-oidc';
|
|
29
29
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
30
30
|
import { MatInputModule } from '@angular/material/input';
|
|
31
|
-
import * as i2 from '@angular/material/dialog';
|
|
31
|
+
import * as i2$1 from '@angular/material/dialog';
|
|
32
32
|
import { MatDialogModule } from '@angular/material/dialog';
|
|
33
33
|
|
|
34
34
|
var ThemeMode;
|
|
@@ -51,6 +51,11 @@ class LayoutConfig {
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
const IS_PRODUCTION = new InjectionToken('production');
|
|
54
|
+
/**
|
|
55
|
+
* Components an app adds to the toolbar, before the dark mode switch (a notification bell): provide each with `multi: true`.
|
|
56
|
+
* `{ provide: LAYOUT_TOOLBAR_ITEMS, useValue: NotificationBellComponent, multi: true }`.
|
|
57
|
+
*/
|
|
58
|
+
const LAYOUT_TOOLBAR_ITEMS = new InjectionToken('LAYOUT_TOOLBAR_ITEMS');
|
|
54
59
|
|
|
55
60
|
class LayoutService {
|
|
56
61
|
static { this.DARK_MODE = "IS_DARK_MODE"; }
|
|
@@ -275,7 +280,7 @@ class DarkModeComponent {
|
|
|
275
280
|
this.name = this.names.get(mode) ?? "";
|
|
276
281
|
}
|
|
277
282
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: DarkModeComponent, deps: [{ token: LayoutService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
278
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.6", type: DarkModeComponent, isStandalone: false, selector: "juice-dark-mode", ngImport: i0, template: "<button mat-icon-button (click)=\"toggleDarkMode()\" matTooltip=\"{{ name | translate }}\" matTooltipPosition=\"left\"><mat-icon>{{icon}}</mat-icon></button>", dependencies: [{ kind: "component", type:
|
|
283
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.6", type: DarkModeComponent, isStandalone: false, selector: "juice-dark-mode", ngImport: i0, template: "<button mat-icon-button (click)=\"toggleDarkMode()\" matTooltip=\"{{ name | translate }}\" matTooltipPosition=\"left\"><mat-icon>{{icon}}</mat-icon></button>", dependencies: [{ kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "directive", type: i4.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.Eager }); }
|
|
279
284
|
}
|
|
280
285
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: DarkModeComponent, decorators: [{
|
|
281
286
|
type: Component,
|
|
@@ -416,7 +421,7 @@ class ExpandableMenuComponent {
|
|
|
416
421
|
this.TooltipPosition = TooltipPosition;
|
|
417
422
|
}
|
|
418
423
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: ExpandableMenuComponent, deps: [{ token: i1$2.Router }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
419
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: ExpandableMenuComponent, isStandalone: false, selector: "juice-expandable-menu", inputs: { isExpanded: "isExpanded", item: "item" }, ngImport: i0, template: "<mat-expansion-panel [expanded]=\"item.routerLink ? router.isActive(item.routerLink, false) : false\" [hideToggle]=\"!isExpanded\" [ngClass]=\"(item.routerLink && router.isActive(item.routerLink, false)) ? 'active' : ''\">\n <mat-expansion-panel-header >\n <mat-list-item routerLink=\"{{ item.routerLink }}\" [routerLinkActive]=\"['active']\"\n [routerLinkActiveOptions]=\"{exact: true}\">\n <mat-icon matListItemIcon>{{ item.icon }}</mat-icon>\n @if (isExpanded) {\n <span matListItemTitle style=\"margin-left: 4px;\"> {{ item.label }}</span>\n }\n </mat-list-item>\n </mat-expansion-panel-header>\n <mat-nav-list>\n @for ( subitem of item.children ; track subitem) {\n <mat-list-item routerLink=\"{{ subitem.routerLink }}\" [routerLinkActive]=\"['active']\"\n [routerLinkActiveOptions]=\"{exact: true}\">\n <mat-icon matListItemIcon>{{ subitem.icon }}</mat-icon>\n @if (isExpanded) {\n <span matListItemTitle style=\"margin-left: 4px;\"> {{ subitem.label }}</span>\n }\n </mat-list-item>\n }\n </mat-nav-list>\n</mat-expansion-panel>\n", styles: [":host ::ng-deep .mat-expansion-panel-header{padding:0}:host ::ng-deep .mat-expansion-panel-header .mdc-list-item{padding:0}:host ::ng-deep .mat-expansion-panel-header .mat-expansion-indicator{position:absolute;right:0;padding:16px}:host ::ng-deep .mat-expansion-panel-body{padding:0}:host ::ng-deep .mat-content.mat-content-hide-toggle{margin-right:0}\n"], dependencies: [{ kind: "directive", type: i1$2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "browserUrl", "routerLink"] }, { kind: "directive", type: i1$2.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type:
|
|
424
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: ExpandableMenuComponent, isStandalone: false, selector: "juice-expandable-menu", inputs: { isExpanded: "isExpanded", item: "item" }, ngImport: i0, template: "<mat-expansion-panel [expanded]=\"item.routerLink ? router.isActive(item.routerLink, false) : false\" [hideToggle]=\"!isExpanded\" [ngClass]=\"(item.routerLink && router.isActive(item.routerLink, false)) ? 'active' : ''\">\n <mat-expansion-panel-header >\n <mat-list-item routerLink=\"{{ item.routerLink }}\" [routerLinkActive]=\"['active']\"\n [routerLinkActiveOptions]=\"{exact: true}\">\n <mat-icon matListItemIcon>{{ item.icon }}</mat-icon>\n @if (isExpanded) {\n <span matListItemTitle style=\"margin-left: 4px;\"> {{ item.label }}</span>\n }\n </mat-list-item>\n </mat-expansion-panel-header>\n <mat-nav-list>\n @for ( subitem of item.children ; track subitem) {\n <mat-list-item routerLink=\"{{ subitem.routerLink }}\" [routerLinkActive]=\"['active']\"\n [routerLinkActiveOptions]=\"{exact: true}\">\n <mat-icon matListItemIcon>{{ subitem.icon }}</mat-icon>\n @if (isExpanded) {\n <span matListItemTitle style=\"margin-left: 4px;\"> {{ subitem.label }}</span>\n }\n </mat-list-item>\n }\n </mat-nav-list>\n</mat-expansion-panel>\n", styles: [":host ::ng-deep .mat-expansion-panel-header{padding:0}:host ::ng-deep .mat-expansion-panel-header .mdc-list-item{padding:0}:host ::ng-deep .mat-expansion-panel-header .mat-expansion-indicator{position:absolute;right:0;padding:16px}:host ::ng-deep .mat-expansion-panel-body{padding:0}:host ::ng-deep .mat-content.mat-content-hide-toggle{margin-right:0}\n"], dependencies: [{ kind: "directive", type: i1$2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "browserUrl", "routerLink"] }, { kind: "directive", type: i1$2.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i4$1.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["hideToggle", "togglePosition"], outputs: ["afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i4$1.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["expandedHeight", "collapsedHeight", "tabIndex"] }, { kind: "component", type: i6.MatNavList, selector: "mat-nav-list", exportAs: ["matNavList"] }, { kind: "component", type: i6.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i6.MatListItemIcon, selector: "[matListItemIcon]" }, { kind: "directive", type: i6.MatListItemTitle, selector: "[matListItemTitle]" }], changeDetection: i0.ChangeDetectionStrategy.Eager }); }
|
|
420
425
|
}
|
|
421
426
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: ExpandableMenuComponent, decorators: [{
|
|
422
427
|
type: Component,
|
|
@@ -479,7 +484,7 @@ class NavMenuComponent {
|
|
|
479
484
|
}
|
|
480
485
|
}
|
|
481
486
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: NavMenuComponent, deps: [{ token: i1.MenuService }, { token: LayoutService }, { token: i1.TenantService }, { token: i1$2.ActivatedRoute }, { token: i4$2.BreakpointObserver }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
482
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: NavMenuComponent, isStandalone: false, selector: "juice-nav-menu", ngImport: i0, template: "<mat-nav-list class=\"menu-scroll\" (mouseenter)=\"mouseEnter()\" (mouseleave)=\"mouseLeave()\">\n @for (item of items; track item) {\n @if (!item.children || item.children.length==0) {\n <mat-list-item\n routerLink=\"{{ item.routerLink }}\" [routerLinkActive]=\"['active']\"\n [routerLinkActiveOptions]=\"{exact:true}\">\n <mat-icon matListItemIcon color=\"accent\">{{ item.icon }}</mat-icon>\n <span matListItemTitle style=\"margin-left: 4px;\"> {{ item.label }}</span>\n </mat-list-item>\n }\n @if (item.children && item.children.length>0) {\n <juice-expandable-menu\n [item]=\"item\" [isExpanded]=\"isExpanded\"></juice-expandable-menu>\n }\n }\n</mat-nav-list>\n<mat-divider></mat-divider>\n<mat-action-list class=\"list-horizontal bottom-menu\">\n @if (settingUrl) {\n <a mat-list-item [href]=\"settingUrl\"\n matTooltip=\"{{'Settings' | translate}}\" matTooltipPosition=\"right\" [matTooltipDisabled]=\"isExpanded\">\n <mat-icon>settings</mat-icon>\n </a>\n }\n @if (!isMobile) {\n <button mat-list-item (click)=\"toggle()\">\n <mat-icon [style.transform]= \"isExpanded ? 'rotate(-180deg)':'rotate(0)'\">double_arrow</mat-icon>\n </button>\n }\n</mat-action-list>", styles: [":host ::ng-deep{display:flex;flex-direction:column;justify-content:space-between;height:100%}:host ::ng-deep .menu-scroll{overflow-y:auto;overflow-x:hidden;flex:1}:host ::ng-deep .menu-scroll .mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{margin-right:10px}:host ::ng-deep .list-horizontal{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-end}:host ::ng-deep .list-horizontal .mat-mdc-list-item{width:auto;flex:1 auto}:host ::ng-deep .list-horizontal .mat-mdc-list-item .mdc-list-item__content{display:flex;justify-content:center}:host ::ng-deep .list-horizontal .mat-mdc-list-item .mdc-list-item__content .mat-mdc-list-item-unscoped-content{padding-top:5px}:host ::ng-deep .mat-mdc-list-base{padding:0}\n"], dependencies: [{ kind: "directive", type: i1$2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "browserUrl", "routerLink"] }, { kind: "directive", type: i1$2.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "component", type:
|
|
487
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: NavMenuComponent, isStandalone: false, selector: "juice-nav-menu", ngImport: i0, template: "<mat-nav-list class=\"menu-scroll\" (mouseenter)=\"mouseEnter()\" (mouseleave)=\"mouseLeave()\">\n @for (item of items; track item) {\n @if (!item.children || item.children.length==0) {\n <mat-list-item\n routerLink=\"{{ item.routerLink }}\" [routerLinkActive]=\"['active']\"\n [routerLinkActiveOptions]=\"{exact:true}\">\n <mat-icon matListItemIcon color=\"accent\">{{ item.icon }}</mat-icon>\n <span matListItemTitle style=\"margin-left: 4px;\"> {{ item.label }}</span>\n </mat-list-item>\n }\n @if (item.children && item.children.length>0) {\n <juice-expandable-menu\n [item]=\"item\" [isExpanded]=\"isExpanded\"></juice-expandable-menu>\n }\n }\n</mat-nav-list>\n<mat-divider></mat-divider>\n<mat-action-list class=\"list-horizontal bottom-menu\">\n @if (settingUrl) {\n <a mat-list-item [href]=\"settingUrl\"\n matTooltip=\"{{'Settings' | translate}}\" matTooltipPosition=\"right\" [matTooltipDisabled]=\"isExpanded\">\n <mat-icon>settings</mat-icon>\n </a>\n }\n @if (!isMobile) {\n <button mat-list-item (click)=\"toggle()\">\n <mat-icon [style.transform]= \"isExpanded ? 'rotate(-180deg)':'rotate(0)'\">double_arrow</mat-icon>\n </button>\n }\n</mat-action-list>", styles: [":host ::ng-deep{display:flex;flex-direction:column;justify-content:space-between;height:100%}:host ::ng-deep .menu-scroll{overflow-y:auto;overflow-x:hidden;flex:1}:host ::ng-deep .menu-scroll .mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{margin-right:10px}:host ::ng-deep .list-horizontal{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-end}:host ::ng-deep .list-horizontal .mat-mdc-list-item{width:auto;flex:1 auto}:host ::ng-deep .list-horizontal .mat-mdc-list-item .mdc-list-item__content{display:flex;justify-content:center}:host ::ng-deep .list-horizontal .mat-mdc-list-item .mdc-list-item__content .mat-mdc-list-item-unscoped-content{padding-top:5px}:host ::ng-deep .mat-mdc-list-base{padding:0}\n"], dependencies: [{ kind: "directive", type: i1$2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "browserUrl", "routerLink"] }, { kind: "directive", type: i1$2.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i6.MatActionList, selector: "mat-action-list", exportAs: ["matActionList"] }, { kind: "component", type: i6.MatNavList, selector: "mat-nav-list", exportAs: ["matNavList"] }, { kind: "component", type: i6.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["activated"], exportAs: ["matListItem"] }, { kind: "directive", type: i6.MatListItemIcon, selector: "[matListItemIcon]" }, { kind: "component", type: i6.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { kind: "directive", type: i6.MatListItemTitle, selector: "[matListItemTitle]" }, { kind: "directive", type: i4.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: ExpandableMenuComponent, selector: "juice-expandable-menu", inputs: ["isExpanded", "item"] }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.Eager }); }
|
|
483
488
|
}
|
|
484
489
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: NavMenuComponent, decorators: [{
|
|
485
490
|
type: Component,
|
|
@@ -504,7 +509,7 @@ class SearchBarComponent {
|
|
|
504
509
|
this.service.submit('', event);
|
|
505
510
|
}
|
|
506
511
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SearchBarComponent, deps: [{ token: SearchService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
507
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: SearchBarComponent, isStandalone: false, selector: "juice-search-bar", ngImport: i0, template: "@if (service.isEnabled()) {\n <div @enableTrigger class=\"search-container\">\n <input type=\"search\" [value]=\"service.query()\"\n (input)=\"onSearchTextChange($event)\" placeholder=\"Search\">\n @if (service.query()) {\n <mat-icon (click)=\"clear($event)\" color=\"primary\">\n close</mat-icon>\n }\n </div>\n}\n", styles: [".search-container{width:200px;min-width:150px;height:100%;margin-left:2rem;margin-right:2rem;position:relative;display:flex;align-items:center;transition:width .2s ease-in-out}.search-container input{border:none;border-radius:100px;padding:5px 3em 5px 16px;line-height:normal;font-size:1rem;width:100%;max-width:240px}.search-container input:focus{border:0;outline:none}.search-container input[type=search]::-webkit-search-decoration,.search-container input[type=search]::-webkit-search-cancel-button,.search-container input[type=search]::-webkit-search-results-button,.search-container input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}.search-container:focus-within,.search-container:has(.mat-icon){width:240px}.search-container .mat-icon{position:absolute;right:.7rem;font-size:1.4rem;cursor:pointer}@media screen and (max-width:600px){.search-container{margin-left:.5rem;margin-right:.5rem}}\n"], dependencies: [{ kind: "component", type:
|
|
512
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: SearchBarComponent, isStandalone: false, selector: "juice-search-bar", ngImport: i0, template: "@if (service.isEnabled()) {\n <div @enableTrigger class=\"search-container\">\n <input type=\"search\" [value]=\"service.query()\"\n (input)=\"onSearchTextChange($event)\" placeholder=\"Search\">\n @if (service.query()) {\n <mat-icon (click)=\"clear($event)\" color=\"primary\">\n close</mat-icon>\n }\n </div>\n}\n", styles: [".search-container{width:200px;min-width:150px;height:100%;margin-left:2rem;margin-right:2rem;position:relative;display:flex;align-items:center;transition:width .2s ease-in-out}.search-container input{border:none;border-radius:100px;padding:5px 3em 5px 16px;line-height:normal;font-size:1rem;width:100%;max-width:240px}.search-container input:focus{border:0;outline:none}.search-container input[type=search]::-webkit-search-decoration,.search-container input[type=search]::-webkit-search-cancel-button,.search-container input[type=search]::-webkit-search-results-button,.search-container input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}.search-container:focus-within,.search-container:has(.mat-icon){width:240px}.search-container .mat-icon{position:absolute;right:.7rem;font-size:1.4rem;cursor:pointer}@media screen and (max-width:600px){.search-container{margin-left:.5rem;margin-right:.5rem}}\n"], dependencies: [{ kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], animations: [
|
|
508
513
|
trigger('enableTrigger', [
|
|
509
514
|
transition(':enter', [
|
|
510
515
|
style({ opacity: 0 }),
|
|
@@ -670,7 +675,7 @@ class UserProfileComponent {
|
|
|
670
675
|
return this.oauthService.hasValidAccessToken();
|
|
671
676
|
}
|
|
672
677
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: UserProfileComponent, deps: [{ token: ProfileDialogService, optional: true }, { token: LayoutService }, { token: i3$1.OAuthService }, { token: i1$2.Router }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
673
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: UserProfileComponent, isStandalone: false, selector: "juice-user-profile", host: { properties: { "class.anonymous": "this.anonymous" } }, ngImport: i0, template: "@if (authenticated) {\n <button class=\"user-image\" (click)=\"onClick()\">\n @if (imageUrl && !imageFailed) {\n <img [src]=\"imageUrl\" (error)=\"onImageError()\"/>\n } @else if (initials) {\n <span class=\"user-image-initials\">{{ initials }}</span>\n } @else {\n <mat-icon class=\"user-image-fallback\">account_circle</mat-icon>\n }\n </button>\n} @else {\n <button mat-button class=\"login-button\" (click)=\"login()\">\n <mat-icon>login</mat-icon>\n {{ 'Login' | translate }}\n </button>\n}\n", styles: [":host{height:100%;aspect-ratio:1/1;display:flex;padding:3px;box-sizing:border-box}:host(.anonymous){aspect-ratio:auto;align-items:center}.user-image{flex:1 auto;border:0;padding:0;background:none;container-type:size}.user-image img{width:100%;height:100%;border-radius:50%;object-fit:cover;cursor:pointer}.user-image .user-image-fallback{width:100%;height:100%;font-size:100cqh;line-height:1;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center}.user-image .user-image-initials{width:100%;height:100%;font-size:42cqh;font-weight:600;line-height:1;text-transform:uppercase;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;color:currentColor;background:#0000001f}\n"], dependencies: [{ kind: "component", type:
|
|
678
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: UserProfileComponent, isStandalone: false, selector: "juice-user-profile", host: { properties: { "class.anonymous": "this.anonymous" } }, ngImport: i0, template: "@if (authenticated) {\n <button class=\"user-image\" (click)=\"onClick()\">\n @if (imageUrl && !imageFailed) {\n <img [src]=\"imageUrl\" (error)=\"onImageError()\"/>\n } @else if (initials) {\n <span class=\"user-image-initials\">{{ initials }}</span>\n } @else {\n <mat-icon class=\"user-image-fallback\">account_circle</mat-icon>\n }\n </button>\n} @else {\n <button mat-button class=\"login-button\" (click)=\"login()\">\n <mat-icon>login</mat-icon>\n {{ 'Login' | translate }}\n </button>\n}\n", styles: [":host{height:100%;aspect-ratio:1/1;display:flex;padding:3px;box-sizing:border-box}:host(.anonymous){aspect-ratio:auto;align-items:center}.user-image{flex:1 auto;border:0;padding:0;background:none;container-type:size}.user-image img{width:100%;height:100%;border-radius:50%;object-fit:cover;cursor:pointer}.user-image .user-image-fallback{width:100%;height:100%;font-size:100cqh;line-height:1;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center}.user-image .user-image-initials{width:100%;height:100%;font-size:42cqh;font-weight:600;line-height:1;text-transform:uppercase;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;color:currentColor;background:#0000001f}\n"], dependencies: [{ kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i3.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.Eager }); }
|
|
674
679
|
}
|
|
675
680
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: UserProfileComponent, decorators: [{
|
|
676
681
|
type: Component,
|
|
@@ -687,6 +692,8 @@ class PageComponent {
|
|
|
687
692
|
this.service = service;
|
|
688
693
|
this.search = search;
|
|
689
694
|
this.breakpointObserver = breakpointObserver;
|
|
695
|
+
/** The app's own toolbar items ({@link LAYOUT_TOOLBAR_ITEMS}). */
|
|
696
|
+
this.toolbarItems = inject(LAYOUT_TOOLBAR_ITEMS, { optional: true }) ?? [];
|
|
690
697
|
this.isMobile = false;
|
|
691
698
|
this.isSnavOpenned = false;
|
|
692
699
|
breakpointObserver.observe([
|
|
@@ -724,7 +731,7 @@ class PageComponent {
|
|
|
724
731
|
this.search.unbindPage();
|
|
725
732
|
}
|
|
726
733
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: PageComponent, deps: [{ token: LayoutService }, { token: SearchService }, { token: i4$2.BreakpointObserver }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
727
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: PageComponent, isStandalone: false, selector: "app-page", ngImport: i0, template: "<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * The content below * * * * * * * * * * * -->\n<!-- * * * * * * * * * * is only a placeholder * * * * * * * * * * -->\n<!-- * * * * * * * * * * and can be replaced. * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<!-- * * * * * * * * * Delete the template below * * * * * * * * * * -->\n<!-- * * * * * * * to get started with your project! * * * * * * * * -->\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<div class=\"container\" [class.mobile]=\"isMobile\">\n <!-- Toolbar -->\n <mat-toolbar color=\"primary\" [style.height]=\"toolbarHeight()\">\n @if (isMobile) {\n <button mat-icon-button (click)=\"toggleSidenav()\" class=\"m-r\">\n <mat-icon aria-hidden=\"false\" fontIcon=\"menu\"></mat-icon>\n </button>\n }\n @if (!isMobile) {\n <a [routerLink]=\"['/',service.tenantIdentifier]\" class=\"nav-link home\">\n <img height=\"40 \" alt=\"{{service.brandName()}} Logo \" [src]=\"service.brandLogo() \" class=\"p-r \" />\n </a>\n }\n @if (!isMobile) {\n <span>{{service.brandName()}}</span>\n }\n <juice-search-bar></juice-search-bar>\n <span class=\"toolbar-spacer \"></span>\n <juice-dark-mode></juice-dark-mode>\n <juice-user-profile></juice-user-profile>\n </mat-toolbar>\n\n <mat-sidenav-container>\n <mat-sidenav [opened]=\"isSnavOpenned\" (closed)=\"isSnavOpenned = false\" #snav\n (navigate)=\"hideSidenavOnMobile\" (click)=\"hideSidenavOnMobile\" (swipeRight)=\"hideSidenavOnMobile\"\n [mode]=\"isMobile ? 'over': 'side' \"\n [@menuTransition]=\" menu.isExpanded ? 'expand' : 'collapsed' \" [fixedInViewport]=\"true\"\n [style.top]=\"isMobile ? toolbarHeight():0\">\n <juice-nav-menu #menu [class.menu-expanded]=\"isSnavOpenned\"\n [class.menu-collapsed]=\"!isSnavOpenned\"></juice-nav-menu>\n </mat-sidenav>\n\n <mat-sidenav-content style=\"margin-left: 0;\">\n <router-outlet (activate)=\"onPageActivate($event)\" (deactivate)=\"onPageDeactivate()\"></router-outlet>\n </mat-sidenav-content>\n\n </mat-sidenav-container>\n</div>\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * The content above * * * * * * * * * * * -->\n<!-- * * * * * * * * * * is only a placeholder * * * * * * * * * * -->\n<!-- * * * * * * * * * * and can be replaced. * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<!-- * * * * * * * * * * End of Placeholder * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->", styles: [":host .toolbar-spacer{flex:1 1 auto}:host .nav-link{display:flex;margin-right:.5em}:host .mat-sidenav-container{display:flex;flex-direction:row}:host .mat-sidenav-container .mat-drawer-side{position:relative;flex:0 auto}:host .mat-sidenav-container .mat-drawer-over{position:fixed}:host .mat-sidenav-container .mat-sidenav-content{flex:1;height:auto}:host .container{display:flex;flex-direction:column}:host .container .mat-toolbar{flex:0 0 auto}:host .container .mat-sidenav-container{flex:1 1 auto;display:flex;flex-direction:row}\n"], dependencies: [{ kind: "directive", type: i1$2.RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: i1$2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "browserUrl", "routerLink"] }, { kind: "component", type:
|
|
734
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: PageComponent, isStandalone: false, selector: "app-page", ngImport: i0, template: "<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * The content below * * * * * * * * * * * -->\n<!-- * * * * * * * * * * is only a placeholder * * * * * * * * * * -->\n<!-- * * * * * * * * * * and can be replaced. * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<!-- * * * * * * * * * Delete the template below * * * * * * * * * * -->\n<!-- * * * * * * * to get started with your project! * * * * * * * * -->\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<div class=\"container\" [class.mobile]=\"isMobile\">\n <!-- Toolbar -->\n <mat-toolbar color=\"primary\" [style.height]=\"toolbarHeight()\">\n @if (isMobile) {\n <button mat-icon-button (click)=\"toggleSidenav()\" class=\"m-r\">\n <mat-icon aria-hidden=\"false\" fontIcon=\"menu\"></mat-icon>\n </button>\n }\n @if (!isMobile) {\n <a [routerLink]=\"['/',service.tenantIdentifier]\" class=\"nav-link home\">\n <img height=\"40 \" alt=\"{{service.brandName()}} Logo \" [src]=\"service.brandLogo() \" class=\"p-r \" />\n </a>\n }\n @if (!isMobile) {\n <span>{{service.brandName()}}</span>\n }\n <juice-search-bar></juice-search-bar>\n <span class=\"toolbar-spacer \"></span>\n @for (item of toolbarItems; track $index) {\n <ng-container *ngComponentOutlet=\"item\"></ng-container>\n }\n <juice-dark-mode></juice-dark-mode>\n <juice-user-profile></juice-user-profile>\n </mat-toolbar>\n\n <mat-sidenav-container>\n <mat-sidenav [opened]=\"isSnavOpenned\" (closed)=\"isSnavOpenned = false\" #snav\n (navigate)=\"hideSidenavOnMobile\" (click)=\"hideSidenavOnMobile\" (swipeRight)=\"hideSidenavOnMobile\"\n [mode]=\"isMobile ? 'over': 'side' \"\n [@menuTransition]=\" menu.isExpanded ? 'expand' : 'collapsed' \" [fixedInViewport]=\"true\"\n [style.top]=\"isMobile ? toolbarHeight():0\">\n <juice-nav-menu #menu [class.menu-expanded]=\"isSnavOpenned\"\n [class.menu-collapsed]=\"!isSnavOpenned\"></juice-nav-menu>\n </mat-sidenav>\n\n <mat-sidenav-content style=\"margin-left: 0;\">\n <router-outlet (activate)=\"onPageActivate($event)\" (deactivate)=\"onPageDeactivate()\"></router-outlet>\n </mat-sidenav-content>\n\n </mat-sidenav-container>\n</div>\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * The content above * * * * * * * * * * * -->\n<!-- * * * * * * * * * * is only a placeholder * * * * * * * * * * -->\n<!-- * * * * * * * * * * and can be replaced. * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<!-- * * * * * * * * * * End of Placeholder * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->", styles: [":host .toolbar-spacer{flex:1 1 auto}:host .nav-link{display:flex;margin-right:.5em}:host .mat-sidenav-container{display:flex;flex-direction:row}:host .mat-sidenav-container .mat-drawer-side{position:relative;flex:0 auto}:host .mat-sidenav-container .mat-drawer-over{position:fixed}:host .mat-sidenav-container .mat-sidenav-content{flex:1;height:auto}:host .container{display:flex;flex-direction:column}:host .container .mat-toolbar{flex:0 0 auto}:host .container .mat-sidenav-container{flex:1 1 auto;display:flex;flex-direction:row}\n"], dependencies: [{ kind: "directive", type: i1$2.RouterOutlet, selector: "router-outlet", inputs: ["name", "routerOutletData"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: i1$2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "browserUrl", "routerLink"] }, { kind: "directive", type: i1$1.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i7.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "component", type: i8.MatSidenav, selector: "mat-sidenav", inputs: ["fixedInViewport", "fixedTopGap", "fixedBottomGap"], exportAs: ["matSidenav"] }, { kind: "component", type: i8.MatSidenavContainer, selector: "mat-sidenav-container", exportAs: ["matSidenavContainer"] }, { kind: "component", type: i8.MatSidenavContent, selector: "mat-sidenav-content" }, { kind: "component", type: i3.MatIconButton, selector: "button[mat-icon-button], a[mat-icon-button], button[matIconButton], a[matIconButton]", exportAs: ["matButton", "matAnchor"] }, { kind: "component", type: DarkModeComponent, selector: "juice-dark-mode" }, { kind: "component", type: NavMenuComponent, selector: "juice-nav-menu" }, { kind: "component", type: SearchBarComponent, selector: "juice-search-bar" }, { kind: "component", type: UserProfileComponent, selector: "juice-user-profile" }], animations: [
|
|
728
735
|
trigger('menuTransition', [
|
|
729
736
|
state('expand', style({
|
|
730
737
|
width: '220px'
|
|
@@ -792,12 +799,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
792
799
|
animate('0.15s')
|
|
793
800
|
])
|
|
794
801
|
])
|
|
795
|
-
], changeDetection: ChangeDetectionStrategy.Eager, standalone: false, template: "<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * The content below * * * * * * * * * * * -->\n<!-- * * * * * * * * * * is only a placeholder * * * * * * * * * * -->\n<!-- * * * * * * * * * * and can be replaced. * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<!-- * * * * * * * * * Delete the template below * * * * * * * * * * -->\n<!-- * * * * * * * to get started with your project! * * * * * * * * -->\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<div class=\"container\" [class.mobile]=\"isMobile\">\n <!-- Toolbar -->\n <mat-toolbar color=\"primary\" [style.height]=\"toolbarHeight()\">\n @if (isMobile) {\n <button mat-icon-button (click)=\"toggleSidenav()\" class=\"m-r\">\n <mat-icon aria-hidden=\"false\" fontIcon=\"menu\"></mat-icon>\n </button>\n }\n @if (!isMobile) {\n <a [routerLink]=\"['/',service.tenantIdentifier]\" class=\"nav-link home\">\n <img height=\"40 \" alt=\"{{service.brandName()}} Logo \" [src]=\"service.brandLogo() \" class=\"p-r \" />\n </a>\n }\n @if (!isMobile) {\n <span>{{service.brandName()}}</span>\n }\n <juice-search-bar></juice-search-bar>\n <span class=\"toolbar-spacer \"></span>\n <juice-dark-mode></juice-dark-mode>\n <juice-user-profile></juice-user-profile>\n </mat-toolbar>\n\n <mat-sidenav-container>\n <mat-sidenav [opened]=\"isSnavOpenned\" (closed)=\"isSnavOpenned = false\" #snav\n (navigate)=\"hideSidenavOnMobile\" (click)=\"hideSidenavOnMobile\" (swipeRight)=\"hideSidenavOnMobile\"\n [mode]=\"isMobile ? 'over': 'side' \"\n [@menuTransition]=\" menu.isExpanded ? 'expand' : 'collapsed' \" [fixedInViewport]=\"true\"\n [style.top]=\"isMobile ? toolbarHeight():0\">\n <juice-nav-menu #menu [class.menu-expanded]=\"isSnavOpenned\"\n [class.menu-collapsed]=\"!isSnavOpenned\"></juice-nav-menu>\n </mat-sidenav>\n\n <mat-sidenav-content style=\"margin-left: 0;\">\n <router-outlet (activate)=\"onPageActivate($event)\" (deactivate)=\"onPageDeactivate()\"></router-outlet>\n </mat-sidenav-content>\n\n </mat-sidenav-container>\n</div>\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * The content above * * * * * * * * * * * -->\n<!-- * * * * * * * * * * is only a placeholder * * * * * * * * * * -->\n<!-- * * * * * * * * * * and can be replaced. * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<!-- * * * * * * * * * * End of Placeholder * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->", styles: [":host .toolbar-spacer{flex:1 1 auto}:host .nav-link{display:flex;margin-right:.5em}:host .mat-sidenav-container{display:flex;flex-direction:row}:host .mat-sidenav-container .mat-drawer-side{position:relative;flex:0 auto}:host .mat-sidenav-container .mat-drawer-over{position:fixed}:host .mat-sidenav-container .mat-sidenav-content{flex:1;height:auto}:host .container{display:flex;flex-direction:column}:host .container .mat-toolbar{flex:0 0 auto}:host .container .mat-sidenav-container{flex:1 1 auto;display:flex;flex-direction:row}\n"] }]
|
|
802
|
+
], changeDetection: ChangeDetectionStrategy.Eager, standalone: false, template: "<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * The content below * * * * * * * * * * * -->\n<!-- * * * * * * * * * * is only a placeholder * * * * * * * * * * -->\n<!-- * * * * * * * * * * and can be replaced. * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<!-- * * * * * * * * * Delete the template below * * * * * * * * * * -->\n<!-- * * * * * * * to get started with your project! * * * * * * * * -->\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<div class=\"container\" [class.mobile]=\"isMobile\">\n <!-- Toolbar -->\n <mat-toolbar color=\"primary\" [style.height]=\"toolbarHeight()\">\n @if (isMobile) {\n <button mat-icon-button (click)=\"toggleSidenav()\" class=\"m-r\">\n <mat-icon aria-hidden=\"false\" fontIcon=\"menu\"></mat-icon>\n </button>\n }\n @if (!isMobile) {\n <a [routerLink]=\"['/',service.tenantIdentifier]\" class=\"nav-link home\">\n <img height=\"40 \" alt=\"{{service.brandName()}} Logo \" [src]=\"service.brandLogo() \" class=\"p-r \" />\n </a>\n }\n @if (!isMobile) {\n <span>{{service.brandName()}}</span>\n }\n <juice-search-bar></juice-search-bar>\n <span class=\"toolbar-spacer \"></span>\n @for (item of toolbarItems; track $index) {\n <ng-container *ngComponentOutlet=\"item\"></ng-container>\n }\n <juice-dark-mode></juice-dark-mode>\n <juice-user-profile></juice-user-profile>\n </mat-toolbar>\n\n <mat-sidenav-container>\n <mat-sidenav [opened]=\"isSnavOpenned\" (closed)=\"isSnavOpenned = false\" #snav\n (navigate)=\"hideSidenavOnMobile\" (click)=\"hideSidenavOnMobile\" (swipeRight)=\"hideSidenavOnMobile\"\n [mode]=\"isMobile ? 'over': 'side' \"\n [@menuTransition]=\" menu.isExpanded ? 'expand' : 'collapsed' \" [fixedInViewport]=\"true\"\n [style.top]=\"isMobile ? toolbarHeight():0\">\n <juice-nav-menu #menu [class.menu-expanded]=\"isSnavOpenned\"\n [class.menu-collapsed]=\"!isSnavOpenned\"></juice-nav-menu>\n </mat-sidenav>\n\n <mat-sidenav-content style=\"margin-left: 0;\">\n <router-outlet (activate)=\"onPageActivate($event)\" (deactivate)=\"onPageDeactivate()\"></router-outlet>\n </mat-sidenav-content>\n\n </mat-sidenav-container>\n</div>\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * The content above * * * * * * * * * * * -->\n<!-- * * * * * * * * * * is only a placeholder * * * * * * * * * * -->\n<!-- * * * * * * * * * * and can be replaced. * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<!-- * * * * * * * * * * End of Placeholder * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->", styles: [":host .toolbar-spacer{flex:1 1 auto}:host .nav-link{display:flex;margin-right:.5em}:host .mat-sidenav-container{display:flex;flex-direction:row}:host .mat-sidenav-container .mat-drawer-side{position:relative;flex:0 auto}:host .mat-sidenav-container .mat-drawer-over{position:fixed}:host .mat-sidenav-container .mat-sidenav-content{flex:1;height:auto}:host .container{display:flex;flex-direction:column}:host .container .mat-toolbar{flex:0 0 auto}:host .container .mat-sidenav-container{flex:1 1 auto;display:flex;flex-direction:row}\n"] }]
|
|
796
803
|
}], ctorParameters: () => [{ type: LayoutService }, { type: SearchService }, { type: i4$2.BreakpointObserver }, { type: i0.ChangeDetectorRef }] });
|
|
797
804
|
|
|
798
805
|
class PageNotfoundComponent {
|
|
799
806
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: PageNotfoundComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
800
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.6", type: PageNotfoundComponent, isStandalone: false, selector: "juice-page-notfound", ngImport: i0, template: "<div class=\"container pt-4\">\n <h1>{{'Not found' | translate }}</h1>\n <p>{{ 'Your requested resource could not be found' | translate}}</p>\n </div>\n ", styles: [""], dependencies: [{ kind: "pipe", type: i5
|
|
807
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.6", type: PageNotfoundComponent, isStandalone: false, selector: "juice-page-notfound", ngImport: i0, template: "<div class=\"container pt-4\">\n <h1>{{'Not found' | translate }}</h1>\n <p>{{ 'Your requested resource could not be found' | translate}}</p>\n </div>\n ", styles: [""], dependencies: [{ kind: "pipe", type: i5.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.Eager }); }
|
|
801
808
|
}
|
|
802
809
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: PageNotfoundComponent, decorators: [{
|
|
803
810
|
type: Component,
|
|
@@ -979,7 +986,7 @@ class UserProfileDialogComponent {
|
|
|
979
986
|
});
|
|
980
987
|
}
|
|
981
988
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: UserProfileDialogComponent, deps: [{ token: i3$1.OAuthService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
982
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: UserProfileDialogComponent, isStandalone: false, selector: "app-user-profile", ngImport: i0, template: "@if (loggedin) {\n <h3 mat-dialog-title>{{name}}</h3>\n}\n<div mat-dialog-content>\n @if (loggedin) {\n <div>\n @if (name) {\n <p>{{'Welcome' | translate}} {{name}}</p>\n }\n @if (email) {\n <p>{{ 'Email' | translate}}: {{email}}</p>\n }\n <!-- Logout -->\n </div>\n }\n @if (!loggedin) {\n <div>\n <p>{{ 'Please login to view your profile' | translate}}</p>\n </div>\n }\n</div>\n<div mat-dialog-actions>\n @if (loggedin) {\n <button mat-raised-button color=\"primary\" (click)=\"logout()\">{{ 'Logout' | translate}}</button>\n }\n <button mat-button mat-dialog-close cdkFocusInitial>{{ 'Close' | translate}}</button>\n</div>", styles: [""], dependencies: [{ kind: "directive", type: i2.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i2.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i2.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i2.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: i3.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "pipe", type: i5
|
|
989
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: UserProfileDialogComponent, isStandalone: false, selector: "app-user-profile", ngImport: i0, template: "@if (loggedin) {\n <h3 mat-dialog-title>{{name}}</h3>\n}\n<div mat-dialog-content>\n @if (loggedin) {\n <div>\n @if (name) {\n <p>{{'Welcome' | translate}} {{name}}</p>\n }\n @if (email) {\n <p>{{ 'Email' | translate}}: {{email}}</p>\n }\n <!-- Logout -->\n </div>\n }\n @if (!loggedin) {\n <div>\n <p>{{ 'Please login to view your profile' | translate}}</p>\n </div>\n }\n</div>\n<div mat-dialog-actions>\n @if (loggedin) {\n <button mat-raised-button color=\"primary\" (click)=\"logout()\">{{ 'Logout' | translate}}</button>\n }\n <button mat-button mat-dialog-close cdkFocusInitial>{{ 'Close' | translate}}</button>\n</div>", styles: [""], dependencies: [{ kind: "directive", type: i2$1.MatDialogClose, selector: "[mat-dialog-close], [matDialogClose]", inputs: ["aria-label", "type", "mat-dialog-close", "matDialogClose"], exportAs: ["matDialogClose"] }, { kind: "directive", type: i2$1.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i2$1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i2$1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: i3.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.Eager }); }
|
|
983
990
|
}
|
|
984
991
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: UserProfileDialogComponent, decorators: [{
|
|
985
992
|
type: Component,
|
|
@@ -993,12 +1000,12 @@ class UserProfileDialogService extends ProfileDialogService {
|
|
|
993
1000
|
async open(data) {
|
|
994
1001
|
return this.matDialog.open(UserProfileDialogComponent, { position: { top: '50px', right: '10px' } });
|
|
995
1002
|
}
|
|
996
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: UserProfileDialogService, deps: [{ token: i2.MatDialog }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1003
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: UserProfileDialogService, deps: [{ token: i2$1.MatDialog }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
997
1004
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: UserProfileDialogService }); }
|
|
998
1005
|
}
|
|
999
1006
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: UserProfileDialogService, decorators: [{
|
|
1000
1007
|
type: Injectable
|
|
1001
|
-
}], ctorParameters: () => [{ type: i2.MatDialog }] });
|
|
1008
|
+
}], ctorParameters: () => [{ type: i2$1.MatDialog }] });
|
|
1002
1009
|
|
|
1003
1010
|
class UserProfileDialogModule {
|
|
1004
1011
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: UserProfileDialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
@@ -1047,5 +1054,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
1047
1054
|
* Generated bundle index. Do not edit.
|
|
1048
1055
|
*/
|
|
1049
1056
|
|
|
1050
|
-
export { DevGuard, ExpandableMenuComponent, LayoutModule, LayoutService, NavMenuComponent, PageComponent, PageNotfoundComponent, ProfileDialogService, SearchService, TooltipDirective, TooltipModule, TooltipPosition, UserProfileDialogModule, isSearchablePage };
|
|
1057
|
+
export { DevGuard, ExpandableMenuComponent, LAYOUT_TOOLBAR_ITEMS, LayoutModule, LayoutService, NavMenuComponent, PageComponent, PageNotfoundComponent, ProfileDialogService, SearchService, TooltipDirective, TooltipModule, TooltipPosition, UserProfileDialogModule, isSearchablePage };
|
|
1051
1058
|
//# sourceMappingURL=juice-js-layout.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"juice-js-layout.mjs","sources":["../../../../projects/juice-js/layout/src/lib/layout.config.ts","../../../../projects/juice-js/layout/src/lib/layout.service.ts","../../../../projects/juice-js/layout/src/lib/services/searchable-page.ts","../../../../projects/juice-js/layout/src/lib/services/search.service.ts","../../../../projects/juice-js/layout/src/lib/components/dark-mode/dark-mode.component.ts","../../../../projects/juice-js/layout/src/lib/components/dark-mode/dark-mode.component.html","../../../../projects/juice-js/layout/src/lib/components/tooltip/tooltip.component.ts","../../../../projects/juice-js/layout/src/lib/components/tooltip/tooltip.component.html","../../../../projects/juice-js/layout/src/lib/components/tooltip/tooltip.directive.ts","../../../../projects/juice-js/layout/src/lib/components/expandable-menu/expandable-menu.component.ts","../../../../projects/juice-js/layout/src/lib/components/expandable-menu/expandable-menu.component.html","../../../../projects/juice-js/layout/src/lib/components/nav-menu/nav-menu.component.ts","../../../../projects/juice-js/layout/src/lib/components/nav-menu/nav-menu.component.html","../../../../projects/juice-js/layout/src/lib/components/search-bar/search-bar.component.ts","../../../../projects/juice-js/layout/src/lib/components/search-bar/search-bar.component.html","../../../../projects/juice-js/layout/src/lib/components/user-profile/profile-dialog.service.ts","../../../../projects/juice-js/layout/src/lib/components/user-profile/user-profile.component.ts","../../../../projects/juice-js/layout/src/lib/components/user-profile/user-profile.component.html","../../../../projects/juice-js/layout/src/lib/page/page.component.ts","../../../../projects/juice-js/layout/src/lib/page/page.component.html","../../../../projects/juice-js/layout/src/lib/pages/page-notfound/page-notfound.component.ts","../../../../projects/juice-js/layout/src/lib/pages/page-notfound/page-notfound.component.html","../../../../projects/juice-js/layout/src/lib/layout.module.ts","../../../../projects/juice-js/layout/src/lib/components/tooltip/tooltip.module.ts","../../../../projects/juice-js/layout/src/lib/dev.guard.ts","../../../../projects/juice-js/layout/src/lib/components/user-profile-dialog/user-profile-dialog.component.ts","../../../../projects/juice-js/layout/src/lib/components/user-profile-dialog/user-profile-dialog.component.html","../../../../projects/juice-js/layout/src/lib/components/user-profile-dialog/user-profile-dialog.service.ts","../../../../projects/juice-js/layout/src/lib/components/user-profile-dialog/user-profile-dialog.module.ts","../../../../projects/juice-js/layout/src/public-api.ts","../../../../projects/juice-js/layout/src/juice-js-layout.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nexport enum ThemeMode{\n Light = \"light\",\n Dark = \"dark\",\n Auto = \"auto\"\n}\nexport class LayoutConfig{\n favicon: string = \"favicon.ico\";\n brand: string = \"Juice\";\n brandLogo: string = \"assets/images/logo.png\";\n defaultThemeMode: ThemeMode = ThemeMode.Auto;\n defaultLanguage: string = \"en-US\";\n defaultMenuOpen: boolean = false;\n settingUrl: string | undefined;\n userImageUrl: string | undefined;\n\n constructor(options?: ILayoutConfig){\n if(options){\n Object.assign(this, options);\n }\n }\n}\n\nexport interface ILayoutConfig{\n favicon?: string;\n brand: string;\n brandLogo?: string;\n defaultThemeMode?: ThemeMode;\n defaultLanguage?: string;\n defaultMenuOpen?: boolean;\n settingUrl?: string;\n userImageUrl?: string;\n}\n\nexport const IS_PRODUCTION = new InjectionToken<boolean>('production');\n","import { Injectable, Optional, signal } from '@angular/core';\nimport { LayoutConfig, ThemeMode } from './layout.config';\nimport { TenantInfo, TenantService } from '@juice-js/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class LayoutService {\n public static DARK_MODE = \"IS_DARK_MODE\";\n public static MENU_OPEN = \"IS_MENU_OPEN\";\n\n // Signals, not plain fields: the tenant arrives after the shell has rendered, and templates reading\n // brandName()/brandLogo()/tenantIdentifier must re-render then, also in zoneless apps.\n private readonly _tenantIdentifier = signal(\"\");\n private readonly _tenant = signal<TenantInfo|null>(null);\n private _options: LayoutConfig;\n\n get tenantIdentifier(): string {\n return this._tenantIdentifier();\n }\n set tenantIdentifier(value: string) {\n this._tenantIdentifier.set(value);\n }\n\n constructor(@Optional() options: LayoutConfig,\n tenantService: TenantService\n ) {\n tenantService?.getTenantInfo().then(tenantInfo => {\n this._tenantIdentifier.set(tenantInfo?.identifier ??\"\");\n this._tenant.set(tenantInfo);\n });\n this._options = options ?? new LayoutConfig();\n }\n\n public getThemeMode(): ThemeMode {\n let mode = localStorage.getItem(LayoutService.DARK_MODE);\n if(mode){\n return JSON.parse(mode);\n }\n return this._options.defaultThemeMode;\n }\n public toggleDarkMode(){\n var state = this.getThemeMode();\n if(state == ThemeMode.Auto){\n state = ThemeMode.Light;\n }else if(state == ThemeMode.Light){\n state = ThemeMode.Dark;\n }else{\n state = ThemeMode.Auto;\n }\n localStorage.setItem(LayoutService.DARK_MODE, JSON.stringify(state));\n }\n\n public isMenuOpen(): boolean {\n let isMenuOpen = localStorage.getItem(LayoutService.MENU_OPEN);\n if(isMenuOpen){\n return JSON.parse(isMenuOpen);\n }\n return this._options.defaultMenuOpen;\n }\n\n public toggleMenu(){\n let state = !this.isMenuOpen();\n localStorage.setItem(LayoutService.MENU_OPEN, JSON.stringify(state));\n }\n\n public favicon(): string {\n return this._tenant()?.favicon ?? this._options.favicon;\n }\n\n public brandName(): string {\n return this._tenant()?.name ?? this._options.brand;\n }\n\n public brandLogo(): string {\n return this._tenant()?.logo ?? this._options.brandLogo;\n }\n\n public settingUrl(): string | undefined{\n return this._options.settingUrl;\n }\n\n public userImageUrl(username: string): string{\n return this._options.userImageUrl ? this._options.userImageUrl.replace(\"{username}\", username) : \"\";\n }\n}\n","/**\n * Implemented by a routed page to declare that it supports search.\n *\n * The shell's toolbar hosts one search box, shared by every page. It appears only\n * while the displayed page implements this interface, and disappears otherwise —\n * there is nothing else to opt in to and no flag to set.\n *\n * Implementing `onSearch` IS the declaration: support and handling cannot be\n * declared apart, so a box that accepts typing no page listens to is impossible.\n *\n * @example\n * export class OrdersComponent implements SearchablePage {\n * onSearch(query: string): void {\n * this.filter = query; // '' means the box was cleared — show everything\n * }\n * }\n */\nexport interface SearchablePage {\n /**\n * Called as the user types, and once with `''` when the box is cleared.\n * An empty query means \"show everything\" — it is not the same as the box being\n * absent, which calls nothing at all.\n *\n * Called on every keystroke: the shell does not debounce, impose a minimum\n * length, or wait for Enter. A page that wants any of those owns them.\n * Must not throw — the shell does not catch.\n *\n * @param query What the user has typed. Never null; `''` when cleared.\n * @param event The originating DOM event, when there is one.\n */\n onSearch(query: string, event?: Event): void;\n}\n\n/**\n * Structural type guard used by the shell to detect {@link SearchablePage}.\n *\n * TypeScript interfaces are erased at runtime, so support is detected by shape\n * rather than by nominal type. See research.md Decision 1 for the trade-off.\n */\nexport function isSearchablePage(value: unknown): value is SearchablePage {\n return (\n typeof value === 'object' &&\n value !== null &&\n typeof (value as SearchablePage).onSearch === 'function'\n );\n}\n","import { Injectable, Signal, computed, signal } from '@angular/core';\nimport { SearchablePage, isSearchablePage } from './searchable-page';\n\n/**\n * Mediates between the shell's single toolbar search box and the page on display.\n *\n * The box appears only while the displayed page implements {@link SearchablePage}.\n * The shell binds and unbinds the page from its own `router-outlet` lifecycle — this\n * service deliberately does NOT listen to router events. Revoking on `NavigationStart`\n * (as it once did) fires before guards run and before a reused component is rebuilt,\n * which silently lost the box on a cancelled navigation or a tenant switch.\n */\n@Injectable({\n providedIn: 'root'\n})\nexport class SearchService {\n private readonly _page = signal<SearchablePage | null>(null);\n private readonly _query = signal<string>('');\n\n /** Set only by the deprecated {@link enable}. */\n private readonly _legacyCallback = signal<Function | null>(null);\n\n /**\n * Whether the toolbar should offer search — true iff a page is bound.\n *\n * Derived, with no setter: presence cannot be set independently of page support.\n */\n readonly isEnabled: Signal<boolean> = computed(\n () => this._page() !== null || this._legacyCallback() !== null\n );\n\n /** What the user has currently typed for the displayed page. */\n readonly query: Signal<string> = this._query.asReadonly();\n\n /**\n * Bind the page now on display. Called by the shell on outlet activation.\n *\n * A page that does not implement {@link SearchablePage} binds nothing, leaving the\n * box hidden — support is opt-in.\n */\n public bindPage(instance: unknown): void {\n this._page.set(isSearchablePage(instance) ? instance : null);\n }\n\n /**\n * Release the page. Called by the shell on outlet deactivation.\n *\n * Also discards the query: the box is mounted once and shared, so a term left here\n * would surface on the next page, which never received it.\n */\n public unbindPage(): void {\n this._page.set(null);\n this._legacyCallback.set(null);\n this._query.set('');\n }\n\n /** Forward what the user typed to the bound page. Called by the search box. */\n public submit(query: string, event?: Event): void {\n this._query.set(query);\n\n const page = this._page();\n if (page) {\n page.onSearch(query, event);\n return;\n }\n\n const legacy = this._legacyCallback();\n if (legacy) {\n legacy(query, event);\n }\n }\n\n /**\n * @deprecated Implement {@link SearchablePage} on the page component instead — it ties\n * the declaration to the handler, so search cannot be claimed without being served.\n * Still functional; scheduled for removal in the next major.\n */\n public enable(callback: Function) {\n this._legacyCallback.set(callback);\n }\n\n /**\n * @deprecated The shell now revokes automatically when the page changes; there is\n * nothing to call. Still functional; scheduled for removal in the next major.\n */\n public disable() {\n this._page.set(null);\n this._legacyCallback.set(null);\n }\n\n /**\n * @deprecated Renamed to {@link submit}, which also records the query for the box.\n */\n public callback(searchText: string | null, event: any) {\n this.submit(searchText ?? '', event);\n }\n}\n","import { Component, OnInit, ChangeDetectionStrategy } from '@angular/core';\nimport { LayoutService } from '../../layout.service';\nimport { ThemeMode } from '../../layout.config';\n\n@Component({\n selector: 'juice-dark-mode',\n templateUrl: './dark-mode.component.html',\n changeDetection: ChangeDetectionStrategy.Eager,\n standalone: false\n})\nexport class DarkModeComponent{\n ThemeMode: typeof ThemeMode = ThemeMode;\n prefersDark = window.matchMedia(\"(prefers-color-scheme: dark)\");\n constructor(private service: LayoutService) { \n this.prefersDark.addEventListener(\"change\", e => {\n this.initTheme(e.matches);\n });\n this.initTheme(this.prefersDark.matches);\n }\n icons = new Map<ThemeMode, string>([\n [ThemeMode.Light, \"light_mode\"],\n [ThemeMode.Dark, \"dark_mode\"],\n [ThemeMode.Auto, \"adjust\"]\n ]);\n names = new Map<ThemeMode, string>([\n [ThemeMode.Light, \"Light\"],\n [ThemeMode.Dark, \"Dark\"],\n [ThemeMode.Auto, \"Adaptive\"]\n ]);\n\n name: string = \"\";\n\n icon: string = \"light_mode\";\n\n toggleDarkMode(){\n this.service.toggleDarkMode();\n this.initTheme(this.prefersDark.matches);\n }\n\n initTheme(prefersDark: boolean = false){\n var mode = this.service.getThemeMode();\n var scheme = mode == ThemeMode.Auto ? prefersDark ? ThemeMode.Dark : ThemeMode.Light\n : mode;\n\n document.body.classList.remove(\"dark\");\n\n if(scheme == ThemeMode.Dark){\n document.body.classList.add(scheme);\n }\n this.icon = this.icons.get(mode)??\"\";\n this.name = this.names.get(mode)??\"\";\n }\n}\n","<button mat-icon-button (click)=\"toggleDarkMode()\" matTooltip=\"{{ name | translate }}\" matTooltipPosition=\"left\"><mat-icon>{{icon}}</mat-icon></button>","import { OnInit, Component, ElementRef, ChangeDetectionStrategy } from '@angular/core';\nimport { TooltipPosition } from './tooltip.directive';\n\n@Component({\n selector: 'tooltip',\n templateUrl: './tooltip.component.html',\n styleUrls: ['./tooltip.component.scss'],\n changeDetection: ChangeDetectionStrategy.Eager,\n standalone: false\n})\nexport class TooltipComponent{\n tooltip: string = '';\n position: TooltipPosition = TooltipPosition.DEFAULT;\n left: number = 0;\n top: number = 0;\n display: boolean = true;\n constructor(private elementRef: ElementRef) { }\n\n calculatePosition(left:number, right:number, top: number, bottom: number): void {\n switch(this.position) {\n case TooltipPosition.BELOW: {\n this.left = Math.round((right - left) / 2 + left);\n this.top = Math.round(bottom);\n break;\n }\n case TooltipPosition.ABOVE: {\n this.left = Math.round((right - left) / 2 + left);\n this.top = Math.round(top);\n break;\n }\n case TooltipPosition.RIGHT: {\n this.left = Math.round(right);\n this.top = Math.round(top + (bottom - top) / 2);\n break;\n }\n case TooltipPosition.LEFT: {\n this.left = Math.round(left);\n this.top = Math.round(top + (bottom - top) / 2);\n break;\n }\n default: {\n break;\n }\n }\n }\n}\n","@if (display) {\n <div #tooltipId class=\"tooltip\" [ngClass]=\"['tooltip--'+position]\"\n [style.left]=\"left + 'px'\" [style.top]=\"top + 'px'\">\n {{tooltip}}\n </div>\n}","import {Directive, Input, ElementRef, HostListener, ComponentRef, ViewContainerRef, EmbeddedViewRef, booleanAttribute} from '@angular/core';\nimport {TooltipComponent} from \"./tooltip.component\";\n\nexport enum TooltipPosition {\n ABOVE = 'above',\n BELOW = 'below',\n LEFT = 'left',\n RIGHT = 'right',\n DEFAULT = 'above'\n}\n\nfunction tooltipPosition(position: string): TooltipPosition {\n switch(position){\n case TooltipPosition.ABOVE: return TooltipPosition.ABOVE;\n case TooltipPosition.BELOW: return TooltipPosition.BELOW;\n case TooltipPosition.LEFT: return TooltipPosition.LEFT;\n case TooltipPosition.RIGHT: return TooltipPosition.RIGHT;\n default: return TooltipPosition.DEFAULT;\n }\n}\n\n@Directive({\n selector: '[tooltip]',\n standalone: false\n})\nexport class TooltipDirective {\n\n @Input() tooltip = '';\n @Input({ transform: tooltipPosition }) tooltipPosition: TooltipPosition = TooltipPosition.DEFAULT;\n @Input({ transform: booleanAttribute }) tooltipDisplay!: boolean;\n componentRef?: ComponentRef<any>;\n constructor(\n\tprivate elementRef: ElementRef,\n private viewContainerRef: ViewContainerRef) {\n }\n\n @HostListener('mouseenter')\n onMouseEnter(): void {\n if (!this.componentRef) {\n\n this.componentRef = this.viewContainerRef.createComponent(TooltipComponent);\n const domElem = \n (this.componentRef.hostView as EmbeddedViewRef<any>)\n .rootNodes[0] as HTMLElement; \n document.body.appendChild(domElem);\n this.setTooltipComponentProperties();\n }\n }\n private getPosition(): TooltipPosition {\n return this.tooltipPosition;\n }\n private setTooltipComponentProperties() {\n if (this.componentRef) {\n this.componentRef.instance.tooltip = this.tooltip;\n this.componentRef.instance.position = this.getPosition();\n this.componentRef.instance.display = this.tooltipDisplay;\n const {left, right, top, bottom} = this.elementRef.nativeElement.getBoundingClientRect();\n this.componentRef.instance.calculatePosition(left, right, top, bottom);\n }\n }\n\n @HostListener('mouseleave')\n onMouseLeave(): void {\n this.destroy();\n }\n\n ngOnDestroy(): void {\n this.destroy();\n }\n\n destroy(): void {\n if (this.componentRef) {\n this.componentRef.destroy();\n this.componentRef = undefined;\n }\n }\n}","import { Component, Input, ChangeDetectionStrategy } from '@angular/core';\nimport { MenuItem } from '@juice-js/core';\nimport { Router } from '@angular/router';\nimport { TooltipPosition } from '../tooltip/tooltip.directive';\n\n@Component({\n selector: 'juice-expandable-menu',\n templateUrl: './expandable-menu.component.html',\n styleUrls: ['./expandable-menu.component.scss'],\n changeDetection: ChangeDetectionStrategy.Eager,\n standalone: false\n})\nexport class ExpandableMenuComponent {\n @Input()\n isExpanded = false;\n @Input()\n item: MenuItem= {} as MenuItem;\n TooltipPosition: typeof TooltipPosition = TooltipPosition;\n\n constructor(public router: Router) {}\n}\n","<mat-expansion-panel [expanded]=\"item.routerLink ? router.isActive(item.routerLink, false) : false\" [hideToggle]=\"!isExpanded\" [ngClass]=\"(item.routerLink && router.isActive(item.routerLink, false)) ? 'active' : ''\">\n <mat-expansion-panel-header >\n <mat-list-item routerLink=\"{{ item.routerLink }}\" [routerLinkActive]=\"['active']\"\n [routerLinkActiveOptions]=\"{exact: true}\">\n <mat-icon matListItemIcon>{{ item.icon }}</mat-icon>\n @if (isExpanded) {\n <span matListItemTitle style=\"margin-left: 4px;\"> {{ item.label }}</span>\n }\n </mat-list-item>\n </mat-expansion-panel-header>\n <mat-nav-list>\n @for ( subitem of item.children ; track subitem) {\n <mat-list-item routerLink=\"{{ subitem.routerLink }}\" [routerLinkActive]=\"['active']\"\n [routerLinkActiveOptions]=\"{exact: true}\">\n <mat-icon matListItemIcon>{{ subitem.icon }}</mat-icon>\n @if (isExpanded) {\n <span matListItemTitle style=\"margin-left: 4px;\"> {{ subitem.label }}</span>\n }\n </mat-list-item>\n }\n </mat-nav-list>\n</mat-expansion-panel>\n","import { Component, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core';\nimport { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';\nimport { MenuItem, MenuService, TenantService } from '@juice-js/core';\nimport { LayoutService } from '../../layout.service';\nimport { TooltipPosition } from '../tooltip/tooltip.directive';\nimport { ActivatedRoute } from '@angular/router';\n\n@Component({\n selector: 'juice-nav-menu',\n templateUrl: './nav-menu.component.html',\n styleUrls: ['./nav-menu.component.scss'],\n changeDetection: ChangeDetectionStrategy.Eager,\n standalone: false\n})\nexport class NavMenuComponent {\n isExpanded = false;\n isMobile = false;\n items: MenuItem[] = [];\n TooltipPosition: typeof TooltipPosition = TooltipPosition;\n\n settingUrl: string|null|undefined;\n\n constructor(private service: MenuService, \n public layout: LayoutService, private tenantService: TenantService,\n private route: ActivatedRoute,\n private breakpointObserver: BreakpointObserver,\n private cdr: ChangeDetectorRef) {\n \n if(route.snapshot.data['settingUrl']){\n this.settingUrl = route.snapshot.data['settingUrl'];\n }else{\n this.settingUrl = layout.settingUrl();\n }\n // Async callbacks don't trigger change detection in zoneless apps (the Angular 22 default), so mark explicitly.\n tenantService.getTenantIdentifier().then(tenant => {\n this.settingUrl = this.settingUrl?.injectTenant(tenant);\n this.cdr.markForCheck();\n });\n\n breakpointObserver.observe([\n Breakpoints.HandsetLandscape,\n Breakpoints.HandsetPortrait\n ]).subscribe(result => {\n this.isMobile = result.matches;\n this.isExpanded = result.matches ? true : this.layout.isMenuOpen();\n this.cdr.markForCheck();\n });\n this.service.getMenu().subscribe(items => {\n console.debug('Menu items', JSON.parse(JSON.stringify(items)));\n this.items = items;\n this.cdr.markForCheck();\n });\n }\n\n toggle() {\n this.layout.toggleMenu();\n this.isExpanded = this.layout.isMenuOpen();\n }\n\n mouseEnter() {\n if(!this.isMobile){\n this.isExpanded = true;\n }\n }\n mouseLeave() {\n if(!this.isMobile){\n this.isExpanded = this.layout.isMenuOpen();\n }\n }\n\n}\n","<mat-nav-list class=\"menu-scroll\" (mouseenter)=\"mouseEnter()\" (mouseleave)=\"mouseLeave()\">\n @for (item of items; track item) {\n @if (!item.children || item.children.length==0) {\n <mat-list-item\n routerLink=\"{{ item.routerLink }}\" [routerLinkActive]=\"['active']\"\n [routerLinkActiveOptions]=\"{exact:true}\">\n <mat-icon matListItemIcon color=\"accent\">{{ item.icon }}</mat-icon>\n <span matListItemTitle style=\"margin-left: 4px;\"> {{ item.label }}</span>\n </mat-list-item>\n }\n @if (item.children && item.children.length>0) {\n <juice-expandable-menu\n [item]=\"item\" [isExpanded]=\"isExpanded\"></juice-expandable-menu>\n }\n }\n</mat-nav-list>\n<mat-divider></mat-divider>\n<mat-action-list class=\"list-horizontal bottom-menu\">\n @if (settingUrl) {\n <a mat-list-item [href]=\"settingUrl\"\n matTooltip=\"{{'Settings' | translate}}\" matTooltipPosition=\"right\" [matTooltipDisabled]=\"isExpanded\">\n <mat-icon>settings</mat-icon>\n </a>\n }\n @if (!isMobile) {\n <button mat-list-item (click)=\"toggle()\">\n <mat-icon [style.transform]= \"isExpanded ? 'rotate(-180deg)':'rotate(0)'\">double_arrow</mat-icon>\n </button>\n }\n</mat-action-list>","import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { SearchService } from '../../services/search.service';\nimport {\n trigger,\n state,\n style,\n animate,\n transition,\n // ...\n} from '@angular/animations';\n\n/**\n * The shell's single search box. Mounted once by the toolbar and shared by every page,\n * so it deliberately owns no state of its own: both its visibility and its text come\n * from {@link SearchService}, which scopes them to the page on display. A query held\n * here would outlive the page that was searched and surface on the next one.\n */\n@Component({\n selector: 'juice-search-bar',\n templateUrl: './search-bar.component.html',\n styleUrls: ['./search-bar.component.scss'],\n animations: [\n trigger('enableTrigger', [\n transition(':enter', [\n style({ opacity: 0 }),\n animate('100ms', style({ opacity: 1 })),\n ]),\n transition(':leave', [\n animate('100ms', style({ opacity: 0 }))\n ])\n ]),\n ],\n changeDetection: ChangeDetectionStrategy.Eager,\n standalone: false\n})\nexport class SearchBarComponent {\n constructor(public service: SearchService) {\n\n }\n\n onSearchTextChange(event: Event){\n const text = (event.target as HTMLInputElement).value;\n this.service.submit(text, event);\n }\n\n clear(event: Event){\n this.service.submit('', event);\n }\n}\n","@if (service.isEnabled()) {\n <div @enableTrigger class=\"search-container\">\n <input type=\"search\" [value]=\"service.query()\"\n (input)=\"onSearchTextChange($event)\" placeholder=\"Search\">\n @if (service.query()) {\n <mat-icon (click)=\"clear($event)\" color=\"primary\">\n close</mat-icon>\n }\n </div>\n}\n","import { AsyncDialog } from '@juice-js/core';\n\nexport abstract class ProfileDialogService extends AsyncDialog<any, string>{\n \n}","import { Component, Optional, OnInit, inject, ChangeDetectionStrategy, ChangeDetectorRef, HostBinding } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { ProfileDialogService } from './profile-dialog.service';\nimport { OAuthService } from 'angular-oauth2-oidc';\nimport { LayoutService } from '../../layout.service';\nimport { IS_PRODUCTION } from '../../layout.config';\nimport { UserProfile } from './user-profile.model';\n\n/**\n * Toolbar user avatar, or a \"Login\" button while nobody is signed in.\n *\n * The shell renders before a login completes (and before a stored session is refreshed), so the signed-in state is\n * evaluated in ngOnInit and again on every OAuth event. Async results mark the view for check, so the component\n * also renders in zoneless apps (the Angular 22 default).\n */\n@Component({\n selector: 'juice-user-profile',\n templateUrl: './user-profile.component.html',\n styleUrls: ['./user-profile.component.scss'],\n changeDetection: ChangeDetectionStrategy.Eager,\n standalone: false\n})\nexport class UserProfileComponent implements OnInit{\n imageUrl: string = \"\";\n imageFailed = false;\n initials: string = \"\";\n authenticated = false;\n isProduction = inject(IS_PRODUCTION);\n\n @HostBinding('class.anonymous')\n get anonymous(): boolean {\n return !this.authenticated;\n }\n\n constructor(@Optional() private dialogService: ProfileDialogService,\n private layoutService: LayoutService,\n private oauthService: OAuthService,\n private router: Router,\n private cdr: ChangeDetectorRef) {\n this.oauthService.events.subscribe((e) => {\n if(!this.isProduction && e.type === \"token_received\") console.debug('Token received', e);\n this.updateState();\n });\n }\n\n ngOnInit(): void {\n this.updateState();\n if(!this.authenticated && !this.isProduction){\n console.debug('No valid token', this.oauthService.hasValidAccessToken(), this.oauthService.hasValidIdToken());\n }\n }\n\n /** Starts the code flow; the login-completed page navigates back to the current route. */\n async login() {\n if(!this.oauthService.discoveryDocumentLoaded){\n await this.oauthService.loadDiscoveryDocument();\n }\n this.oauthService.initLoginFlow(this.router.url);\n }\n\n initImageUrl() {\n if(this.imageUrl){return;}\n\n const claims = this.oauthService.getIdentityClaims() ?? {};\n this.initials = this.computeInitials(claims);\n if(!this.isProduction) console.debug('Trying to get avatar from claims');\n if(claims[\"picture\"]){\n this.setImageUrl(claims[\"picture\"]);\n }else if(claims[\"avatar\"]){\n this.setImageUrl(claims[\"avatar\"]);\n }else{\n const username = claims[\"preferred_username\"];\n if(username){\n this.setImageUrl(this.layoutService.userImageUrl(username));\n }else{\n if(!this.isProduction) console.debug('Trying to load user profile to get avatar');\n this.oauthService.loadUserProfile().then(info => {\n var userProfile = info as UserProfile;\n if(userProfile){\n this.initials = this.initials || this.computeInitials(userProfile.info);\n this.setImageUrl(this.layoutService.userImageUrl(userProfile.info.preferred_username));\n this.cdr.markForCheck();\n }else{\n console.warn('No user profile found', info);\n }\n }).catch(() => {\n // Keep the initials / icon fallback.\n });\n }\n }\n }\n\n /** Syncs the avatar / login button with the token state. */\n private updateState() {\n const authenticated = this.hasValidToken();\n if(authenticated === this.authenticated){\n return;\n }\n this.authenticated = authenticated;\n if(authenticated){\n // Only on the anonymous -> signed-in transition, so thin claims don't\n // trigger a userinfo request on every OAuth event.\n this.initImageUrl();\n }else{\n this.imageUrl = \"\";\n this.initials = \"\";\n }\n this.cdr.markForCheck();\n }\n\n private setImageUrl(url: string) {\n this.imageUrl = url ?? \"\";\n this.imageFailed = false;\n }\n\n private computeInitials(claims: Record<string, any>): string {\n if(!claims){ return \"\"; }\n const name = claims[\"name\"]\n || [claims[\"given_name\"], claims[\"family_name\"]].filter(Boolean).join(\" \")\n || claims[\"preferred_username\"]\n || \"\";\n const words = String(name).trim().split(/\\s+/).filter(Boolean);\n if(words.length === 0){ return \"\"; }\n const chars = words.length === 1\n ? words[0].slice(0, 2)\n : words[0][0] + words[words.length - 1][0];\n return chars.toUpperCase();\n }\n\n onImageError() {\n if(!this.isProduction) console.debug('Avatar image failed to load', this.imageUrl);\n this.imageFailed = true;\n }\n\n onClick(){\n if(this.dialogService){\n this.dialogService.open(this.imageUrl);\n }\n }\n\n /**\n * Signed in = a usable access token. The id token is not required here: it is short-lived and a refresh-token\n * grant may not renew it, so it can be expired while the session (and its stored claims) is still valid.\n */\n private hasValidToken() {\n return this.oauthService.hasValidAccessToken();\n }\n}\n","@if (authenticated) {\n <button class=\"user-image\" (click)=\"onClick()\">\n @if (imageUrl && !imageFailed) {\n <img [src]=\"imageUrl\" (error)=\"onImageError()\"/>\n } @else if (initials) {\n <span class=\"user-image-initials\">{{ initials }}</span>\n } @else {\n <mat-icon class=\"user-image-fallback\">account_circle</mat-icon>\n }\n </button>\n} @else {\n <button mat-button class=\"login-button\" (click)=\"login()\">\n <mat-icon>login</mat-icon>\n {{ 'Login' | translate }}\n </button>\n}\n","import { Component, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core';\nimport { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';\nimport { LayoutService } from '../layout.service';\nimport { SearchService } from '../services/search.service';\nimport {\n trigger,\n state,\n style,\n animate,\n transition,\n // ...\n} from '@angular/animations';\n\n@Component({\n selector: 'app-page',\n templateUrl: './page.component.html',\n styleUrls: ['./page.component.scss'],\n animations: [\n trigger('menuTransition', [\n state('expand', style({\n width: '220px'\n })),\n state('collapsed', style({\n width: '60px'\n })),\n transition('* => collapsed', [\n animate('0.15s')\n ]),\n transition('* => expand', [\n animate('0.15s')\n ])\n ]),\n trigger('contentTransition', [\n state('expand', style({\n \"margin-left\": \"60px\"\n })),\n state('collapsed', style({\n \"margin-left\": \"220px\"\n })),\n state(\"full\", style({\n \"margin-left\": \"0\"\n })),\n transition('* => collapsed', [\n animate('0.15s')\n ]),\n transition('* => expand', [\n animate('0.15s')\n ])\n ])\n ],\n changeDetection: ChangeDetectionStrategy.Eager,\n standalone: false\n})\nexport class PageComponent {\n isMobile: boolean = false;\n isSnavOpenned: boolean = false;\n \n constructor(public service: LayoutService,\n private search: SearchService,\n private breakpointObserver: BreakpointObserver,\n cdr: ChangeDetectorRef) {\n breakpointObserver.observe([\n Breakpoints.HandsetLandscape,\n Breakpoints.HandsetPortrait\n ]).subscribe(result => {\n this.isMobile = result.matches;\n this.isSnavOpenned = !this.isMobile;\n cdr.markForCheck();\n });\n }\n\n public hideSidenavOnMobile(): void {\n if(this.isMobile){\n this.isSnavOpenned = false;\n }\n }\n\n public toggleSidenav(): void {\n this.isSnavOpenned = !this.isSnavOpenned;\n }\n\n public toolbarHeight(): string {\n return \"48px\"; // this.isMobile ? \"42px\" : \"48px\";\n }\n\n /**\n * The routed page just became visible — offer search if it supports it.\n *\n * Driven by the outlet rather than by router events on purpose: the outlet does not\n * deactivate for a cancelled navigation or a param-only change that reuses the\n * component, so the box correctly survives both.\n */\n public onPageActivate(instance: unknown): void {\n this.search.bindPage(instance);\n }\n\n /** The routed page is going away — take the search box with it. */\n public onPageDeactivate(): void {\n this.search.unbindPage();\n }\n}\n","<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * The content below * * * * * * * * * * * -->\n<!-- * * * * * * * * * * is only a placeholder * * * * * * * * * * -->\n<!-- * * * * * * * * * * and can be replaced. * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<!-- * * * * * * * * * Delete the template below * * * * * * * * * * -->\n<!-- * * * * * * * to get started with your project! * * * * * * * * -->\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<div class=\"container\" [class.mobile]=\"isMobile\">\n <!-- Toolbar -->\n <mat-toolbar color=\"primary\" [style.height]=\"toolbarHeight()\">\n @if (isMobile) {\n <button mat-icon-button (click)=\"toggleSidenav()\" class=\"m-r\">\n <mat-icon aria-hidden=\"false\" fontIcon=\"menu\"></mat-icon>\n </button>\n }\n @if (!isMobile) {\n <a [routerLink]=\"['/',service.tenantIdentifier]\" class=\"nav-link home\">\n <img height=\"40 \" alt=\"{{service.brandName()}} Logo \" [src]=\"service.brandLogo() \" class=\"p-r \" />\n </a>\n }\n @if (!isMobile) {\n <span>{{service.brandName()}}</span>\n }\n <juice-search-bar></juice-search-bar>\n <span class=\"toolbar-spacer \"></span>\n <juice-dark-mode></juice-dark-mode>\n <juice-user-profile></juice-user-profile>\n </mat-toolbar>\n\n <mat-sidenav-container>\n <mat-sidenav [opened]=\"isSnavOpenned\" (closed)=\"isSnavOpenned = false\" #snav\n (navigate)=\"hideSidenavOnMobile\" (click)=\"hideSidenavOnMobile\" (swipeRight)=\"hideSidenavOnMobile\"\n [mode]=\"isMobile ? 'over': 'side' \"\n [@menuTransition]=\" menu.isExpanded ? 'expand' : 'collapsed' \" [fixedInViewport]=\"true\"\n [style.top]=\"isMobile ? toolbarHeight():0\">\n <juice-nav-menu #menu [class.menu-expanded]=\"isSnavOpenned\"\n [class.menu-collapsed]=\"!isSnavOpenned\"></juice-nav-menu>\n </mat-sidenav>\n\n <mat-sidenav-content style=\"margin-left: 0;\">\n <router-outlet (activate)=\"onPageActivate($event)\" (deactivate)=\"onPageDeactivate()\"></router-outlet>\n </mat-sidenav-content>\n\n </mat-sidenav-container>\n</div>\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * The content above * * * * * * * * * * * -->\n<!-- * * * * * * * * * * is only a placeholder * * * * * * * * * * -->\n<!-- * * * * * * * * * * and can be replaced. * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<!-- * * * * * * * * * * End of Placeholder * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->","import { Component, ChangeDetectionStrategy } from '@angular/core';\n\n@Component({\n selector: 'juice-page-notfound',\n templateUrl: './page-notfound.component.html',\n styleUrls: ['./page-notfound.component.scss'],\n changeDetection: ChangeDetectionStrategy.Eager,\n standalone: false\n})\nexport class PageNotfoundComponent {\n\n}\n","<div class=\"container pt-4\">\n <h1>{{'Not found' | translate }}</h1>\n <p>{{ 'Your requested resource could not be found' | translate}}</p>\n </div>\n ","import { ModuleWithProviders, NgModule } from '@angular/core';\nimport { RouterModule, Routes } from '@angular/router';\nimport { CommonModule } from '@angular/common';\nimport { TranslatePipe, TranslateDirective } from '@ngx-translate/core';\n\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatToolbarModule } from '@angular/material/toolbar';\nimport { MatSidenavModule } from '@angular/material/sidenav';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatExpansionModule } from '@angular/material/expansion';\nimport { MatListModule } from '@angular/material/list';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatTooltipModule } from '@angular/material/tooltip';\n\nimport { ILayoutConfig, IS_PRODUCTION, LayoutConfig } from './layout.config';\nimport { LayoutService } from './layout.service';\nimport { DarkModeComponent } from './components/dark-mode/dark-mode.component';\nimport { PageComponent } from './page/page.component';\nimport { NavMenuComponent } from './components/nav-menu/nav-menu.component';\nimport { ExpandableMenuComponent } from './components/expandable-menu/expandable-menu.component';\nimport { PageNotfoundComponent } from './pages/page-notfound/page-notfound.component';\nimport { SearchBarComponent } from './components/search-bar/search-bar.component';\nimport { UserProfileComponent } from './components/user-profile/user-profile.component';\n\nconst routes: Routes = [ \n \n];\n\n@NgModule({\n declarations: [\n PageComponent,\n DarkModeComponent,\n NavMenuComponent,\n ExpandableMenuComponent,\n PageNotfoundComponent,\n SearchBarComponent,\n UserProfileComponent,\n ],\n imports: [\n RouterModule.forChild(routes),\n CommonModule,\n TranslatePipe,\n TranslateDirective,\n MatIconModule,\n MatToolbarModule,\n MatSidenavModule,\n MatButtonModule,\n MatExpansionModule,\n MatListModule,\n MatFormFieldModule,\n MatInputModule,\n MatTooltipModule\n ],\n exports: [\n PageComponent,\n RouterModule\n ]\n})\nexport class LayoutModule { \n\n public static forRoot(production: boolean, options: ILayoutConfig): ModuleWithProviders<LayoutModule> {\n let config: LayoutConfig = new LayoutConfig(options);\n return {\n ngModule: LayoutModule,\n providers: [\n LayoutService,\n {\n provide: IS_PRODUCTION,\n useValue: production\n },\n {\n provide: LayoutConfig,\n useValue: config\n }\n ]\n }\n }\n\n}\n","import {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {TooltipComponent} from './tooltip.component';\nimport {TooltipDirective} from './tooltip.directive';\n\n@NgModule({\n declarations: [\n TooltipComponent,\n TooltipDirective\n ],\n imports: [\n CommonModule\n ],\n exports: [\n TooltipDirective\n ]\n})\n/**\n * This module for study purpose only.\n * Consider using matTooltip from @angular/material\n */\nexport class TooltipModule {\n}","import { Injectable, inject } from '@angular/core';\nimport { IS_PRODUCTION } from './layout.config';\n\n@Injectable({\n providedIn: 'root'\n })\nexport class DevGuard {\n isProduction = inject(IS_PRODUCTION);\n canActivate() {\n console.log('DevGuard: this route is available in development environment only!', this.isProduction);\n return !this.isProduction;\n }\n\n canDisplay() {\n console.log('DevGuard: this menu is available in development environment only!', this.isProduction);\n return !this.isProduction;\n }\n}\n","import { Component, OnInit, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core';\nimport { OAuthService } from 'angular-oauth2-oidc';\nimport { UserProfile } from '../user-profile/user-profile.model';\n\n@Component({\n selector: 'app-user-profile',\n templateUrl: './user-profile-dialog.component.html',\n styleUrls: ['./user-profile-dialog.component.scss'],\n changeDetection: ChangeDetectionStrategy.Eager,\n standalone: false\n})\nexport class UserProfileDialogComponent implements OnInit{\n username = '';\n name = '';\n email = '';\n loggedin = false;\n constructor(private auth: OAuthService, private cdr: ChangeDetectorRef) { \n \n }\n\n ngOnInit(): void {\n if(this.auth.hasValidIdToken()){\n const claims = this.auth.getIdentityClaims();\n if(claims['preferred_username']){\n this.setValues(claims);\n }else{\n this.auth.loadUserProfile().then(info => {\n var userProfile = info as UserProfile;\n if(userProfile){\n this.setValues(userProfile.info);\n // Resolved outside an event: mark explicitly for zoneless apps.\n this.cdr.markForCheck();\n }else{\n console.debug('No user profile', info);\n }\n });\n }\n }\n }\n\n setValues(claims: any){\n this.username = claims['preferred_username'];\n this.name = claims['name'];\n this.email = claims['email']??'';\n this.loggedin = true;\n }\n\n logout(){\n this.auth.loadDiscoveryDocument().then(() => {\n this.auth.logOut();\n });\n }\n}\n","@if (loggedin) {\n <h3 mat-dialog-title>{{name}}</h3>\n}\n<div mat-dialog-content>\n @if (loggedin) {\n <div>\n @if (name) {\n <p>{{'Welcome' | translate}} {{name}}</p>\n }\n @if (email) {\n <p>{{ 'Email' | translate}}: {{email}}</p>\n }\n <!-- Logout -->\n </div>\n }\n @if (!loggedin) {\n <div>\n <p>{{ 'Please login to view your profile' | translate}}</p>\n </div>\n }\n</div>\n<div mat-dialog-actions>\n @if (loggedin) {\n <button mat-raised-button color=\"primary\" (click)=\"logout()\">{{ 'Logout' | translate}}</button>\n }\n <button mat-button mat-dialog-close cdkFocusInitial>{{ 'Close' | translate}}</button>\n</div>","import { Injectable } from '@angular/core';\nimport { MatDialog } from '@angular/material/dialog';\nimport { ProfileDialogService } from '../user-profile/profile-dialog.service';\nimport { UserProfileDialogComponent } from './user-profile-dialog.component';\n\n@Injectable()\nexport class UserProfileDialogService extends ProfileDialogService {\n constructor(matDialog: MatDialog) {\n super(matDialog);\n }\n async open(data: string): Promise<any> {\n return this.matDialog.open(UserProfileDialogComponent, {position: { top: '50px', right: '10px'}});\n }\n}","import { NgModule } from '@angular/core';\nimport { UserProfileDialogComponent } from './user-profile-dialog.component';\nimport { MatDialogModule } from '@angular/material/dialog';\nimport { MatButtonModule } from '@angular/material/button';\nimport { ProfileDialogService } from '../user-profile/profile-dialog.service';\nimport { UserProfileDialogService } from './user-profile-dialog.service';\nimport { TranslatePipe, TranslateDirective } from '@ngx-translate/core';\nimport { CommonModule } from '@angular/common';\n\n@NgModule({\n declarations: [\n UserProfileDialogComponent\n ],\n imports: [\n MatDialogModule,\n MatButtonModule,\n TranslatePipe,\n TranslateDirective,\n CommonModule\n ],\n exports: [\n ],\n providers: [\n {\n provide: ProfileDialogService,\n useClass: UserProfileDialogService\n }\n ]\n})\nexport class UserProfileDialogModule {\n}\n","/*\n * Public API Surface of layout\n */\n\nexport * from './lib/layout.service';\nexport * from './lib/page/page.component';\nexport * from './lib/layout.module';\nexport * from './lib/components/nav-menu/nav-menu.component';\nexport * from './lib/components/expandable-menu/expandable-menu.component';\nexport * from './lib/pages/page-notfound/page-notfound.component';\nexport * from './lib/components/tooltip/tooltip.directive';\nexport * from './lib/components/tooltip/tooltip.module';\nexport * from './lib/dev.guard';\nexport * from './lib/services/search.service';\nexport * from './lib/services/searchable-page';\nexport * from './lib/components/user-profile/profile-dialog.service';\nexport * from './lib/components/user-profile-dialog/user-profile-dialog.module';","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.LayoutConfig","i2","i1.LayoutService","i5","i1","i3","i4","i2.LayoutService","i7","i8.ExpandableMenuComponent","i9","i1.SearchService","i1.ProfileDialogService","i6","i2.SearchService","i8","i9.DarkModeComponent","i10.NavMenuComponent","i11.SearchBarComponent","i12.UserProfileComponent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,IAAY,SAIX;AAJD,CAAA,UAAY,SAAS,EAAA;AACjB,IAAA,SAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACf,IAAA,SAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACb,IAAA,SAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACjB,CAAC,EAJW,SAAS,KAAT,SAAS,GAAA,EAAA,CAAA,CAAA;MAKR,YAAY,CAAA;AAUrB,IAAA,WAAA,CAAY,OAAuB,EAAA;QATnC,IAAA,CAAA,OAAO,GAAW,aAAa;QAC/B,I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A,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,EAAA,SAAA,EAPvB;AACT,YAAA;AACE,gBAAA,OAAO,EAAE,oBAAoB;AAC7B,gBAAA,QAAQ,EAAE;AACX;AACF,SAAA,EAAA,OAAA,EAAA,CAbC,eAAe;YACf,eAAe;YAGf,YAAY,CAAA,EAAA,CAAA,CAAA;;2FAWH,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBApBnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ;AACD,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,eAAe;wBACf,eAAe;wBACf,aAAa;wBACb,kBAAkB;wBAClB;AACD,qBAAA;AACD,oBAAA,OAAO,EAAE,EACR;AACD,oBAAA,SAAS,EAAE;AACT,wBAAA;AACE,4BAAA,OAAO,EAAE,oBAAoB;AAC7B,4BAAA,QAAQ,EAAE;AACX;AACF;AACF,iBAAA;;;AC5BD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"juice-js-layout.mjs","sources":["../../../../projects/juice-js/layout/src/lib/layout.config.ts","../../../../projects/juice-js/layout/src/lib/layout.service.ts","../../../../projects/juice-js/layout/src/lib/services/searchable-page.ts","../../../../projects/juice-js/layout/src/lib/services/search.service.ts","../../../../projects/juice-js/layout/src/lib/components/dark-mode/dark-mode.component.ts","../../../../projects/juice-js/layout/src/lib/components/dark-mode/dark-mode.component.html","../../../../projects/juice-js/layout/src/lib/components/tooltip/tooltip.component.ts","../../../../projects/juice-js/layout/src/lib/components/tooltip/tooltip.component.html","../../../../projects/juice-js/layout/src/lib/components/tooltip/tooltip.directive.ts","../../../../projects/juice-js/layout/src/lib/components/expandable-menu/expandable-menu.component.ts","../../../../projects/juice-js/layout/src/lib/components/expandable-menu/expandable-menu.component.html","../../../../projects/juice-js/layout/src/lib/components/nav-menu/nav-menu.component.ts","../../../../projects/juice-js/layout/src/lib/components/nav-menu/nav-menu.component.html","../../../../projects/juice-js/layout/src/lib/components/search-bar/search-bar.component.ts","../../../../projects/juice-js/layout/src/lib/components/search-bar/search-bar.component.html","../../../../projects/juice-js/layout/src/lib/components/user-profile/profile-dialog.service.ts","../../../../projects/juice-js/layout/src/lib/components/user-profile/user-profile.component.ts","../../../../projects/juice-js/layout/src/lib/components/user-profile/user-profile.component.html","../../../../projects/juice-js/layout/src/lib/page/page.component.ts","../../../../projects/juice-js/layout/src/lib/page/page.component.html","../../../../projects/juice-js/layout/src/lib/pages/page-notfound/page-notfound.component.ts","../../../../projects/juice-js/layout/src/lib/pages/page-notfound/page-notfound.component.html","../../../../projects/juice-js/layout/src/lib/layout.module.ts","../../../../projects/juice-js/layout/src/lib/components/tooltip/tooltip.module.ts","../../../../projects/juice-js/layout/src/lib/dev.guard.ts","../../../../projects/juice-js/layout/src/lib/components/user-profile-dialog/user-profile-dialog.component.ts","../../../../projects/juice-js/layout/src/lib/components/user-profile-dialog/user-profile-dialog.component.html","../../../../projects/juice-js/layout/src/lib/components/user-profile-dialog/user-profile-dialog.service.ts","../../../../projects/juice-js/layout/src/lib/components/user-profile-dialog/user-profile-dialog.module.ts","../../../../projects/juice-js/layout/src/public-api.ts","../../../../projects/juice-js/layout/src/juice-js-layout.ts"],"sourcesContent":["import { InjectionToken, Type } from '@angular/core';\nexport enum ThemeMode{\n Light = \"light\",\n Dark = \"dark\",\n Auto = \"auto\"\n}\nexport class LayoutConfig{\n favicon: string = \"favicon.ico\";\n brand: string = \"Juice\";\n brandLogo: string = \"assets/images/logo.png\";\n defaultThemeMode: ThemeMode = ThemeMode.Auto;\n defaultLanguage: string = \"en-US\";\n defaultMenuOpen: boolean = false;\n settingUrl: string | undefined;\n userImageUrl: string | undefined;\n\n constructor(options?: ILayoutConfig){\n if(options){\n Object.assign(this, options);\n }\n }\n}\n\nexport interface ILayoutConfig{\n favicon?: string;\n brand: string;\n brandLogo?: string;\n defaultThemeMode?: ThemeMode;\n defaultLanguage?: string;\n defaultMenuOpen?: boolean;\n settingUrl?: string;\n userImageUrl?: string;\n}\n\nexport const IS_PRODUCTION = new InjectionToken<boolean>('production');\n\n/**\n * Components an app adds to the toolbar, before the dark mode switch (a notification bell): provide each with `multi: true`.\n * `{ provide: LAYOUT_TOOLBAR_ITEMS, useValue: NotificationBellComponent, multi: true }`.\n */\nexport const LAYOUT_TOOLBAR_ITEMS = new InjectionToken<Type<unknown>[]>('LAYOUT_TOOLBAR_ITEMS');\n","import { Injectable, Optional, signal } from '@angular/core';\nimport { LayoutConfig, ThemeMode } from './layout.config';\nimport { TenantInfo, TenantService } from '@juice-js/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class LayoutService {\n public static DARK_MODE = \"IS_DARK_MODE\";\n public static MENU_OPEN = \"IS_MENU_OPEN\";\n\n // Signals, not plain fields: the tenant arrives after the shell has rendered, and templates reading\n // brandName()/brandLogo()/tenantIdentifier must re-render then, also in zoneless apps.\n private readonly _tenantIdentifier = signal(\"\");\n private readonly _tenant = signal<TenantInfo|null>(null);\n private _options: LayoutConfig;\n\n get tenantIdentifier(): string {\n return this._tenantIdentifier();\n }\n set tenantIdentifier(value: string) {\n this._tenantIdentifier.set(value);\n }\n\n constructor(@Optional() options: LayoutConfig,\n tenantService: TenantService\n ) {\n tenantService?.getTenantInfo().then(tenantInfo => {\n this._tenantIdentifier.set(tenantInfo?.identifier ??\"\");\n this._tenant.set(tenantInfo);\n });\n this._options = options ?? new LayoutConfig();\n }\n\n public getThemeMode(): ThemeMode {\n let mode = localStorage.getItem(LayoutService.DARK_MODE);\n if(mode){\n return JSON.parse(mode);\n }\n return this._options.defaultThemeMode;\n }\n public toggleDarkMode(){\n var state = this.getThemeMode();\n if(state == ThemeMode.Auto){\n state = ThemeMode.Light;\n }else if(state == ThemeMode.Light){\n state = ThemeMode.Dark;\n }else{\n state = ThemeMode.Auto;\n }\n localStorage.setItem(LayoutService.DARK_MODE, JSON.stringify(state));\n }\n\n public isMenuOpen(): boolean {\n let isMenuOpen = localStorage.getItem(LayoutService.MENU_OPEN);\n if(isMenuOpen){\n return JSON.parse(isMenuOpen);\n }\n return this._options.defaultMenuOpen;\n }\n\n public toggleMenu(){\n let state = !this.isMenuOpen();\n localStorage.setItem(LayoutService.MENU_OPEN, JSON.stringify(state));\n }\n\n public favicon(): string {\n return this._tenant()?.favicon ?? this._options.favicon;\n }\n\n public brandName(): string {\n return this._tenant()?.name ?? this._options.brand;\n }\n\n public brandLogo(): string {\n return this._tenant()?.logo ?? this._options.brandLogo;\n }\n\n public settingUrl(): string | undefined{\n return this._options.settingUrl;\n }\n\n public userImageUrl(username: string): string{\n return this._options.userImageUrl ? this._options.userImageUrl.replace(\"{username}\", username) : \"\";\n }\n}\n","/**\n * Implemented by a routed page to declare that it supports search.\n *\n * The shell's toolbar hosts one search box, shared by every page. It appears only\n * while the displayed page implements this interface, and disappears otherwise —\n * there is nothing else to opt in to and no flag to set.\n *\n * Implementing `onSearch` IS the declaration: support and handling cannot be\n * declared apart, so a box that accepts typing no page listens to is impossible.\n *\n * @example\n * export class OrdersComponent implements SearchablePage {\n * onSearch(query: string): void {\n * this.filter = query; // '' means the box was cleared — show everything\n * }\n * }\n */\nexport interface SearchablePage {\n /**\n * Called as the user types, and once with `''` when the box is cleared.\n * An empty query means \"show everything\" — it is not the same as the box being\n * absent, which calls nothing at all.\n *\n * Called on every keystroke: the shell does not debounce, impose a minimum\n * length, or wait for Enter. A page that wants any of those owns them.\n * Must not throw — the shell does not catch.\n *\n * @param query What the user has typed. Never null; `''` when cleared.\n * @param event The originating DOM event, when there is one.\n */\n onSearch(query: string, event?: Event): void;\n}\n\n/**\n * Structural type guard used by the shell to detect {@link SearchablePage}.\n *\n * TypeScript interfaces are erased at runtime, so support is detected by shape\n * rather than by nominal type. See research.md Decision 1 for the trade-off.\n */\nexport function isSearchablePage(value: unknown): value is SearchablePage {\n return (\n typeof value === 'object' &&\n value !== null &&\n typeof (value as SearchablePage).onSearch === 'function'\n );\n}\n","import { Injectable, Signal, computed, signal } from '@angular/core';\nimport { SearchablePage, isSearchablePage } from './searchable-page';\n\n/**\n * Mediates between the shell's single toolbar search box and the page on display.\n *\n * The box appears only while the displayed page implements {@link SearchablePage}.\n * The shell binds and unbinds the page from its own `router-outlet` lifecycle — this\n * service deliberately does NOT listen to router events. Revoking on `NavigationStart`\n * (as it once did) fires before guards run and before a reused component is rebuilt,\n * which silently lost the box on a cancelled navigation or a tenant switch.\n */\n@Injectable({\n providedIn: 'root'\n})\nexport class SearchService {\n private readonly _page = signal<SearchablePage | null>(null);\n private readonly _query = signal<string>('');\n\n /** Set only by the deprecated {@link enable}. */\n private readonly _legacyCallback = signal<Function | null>(null);\n\n /**\n * Whether the toolbar should offer search — true iff a page is bound.\n *\n * Derived, with no setter: presence cannot be set independently of page support.\n */\n readonly isEnabled: Signal<boolean> = computed(\n () => this._page() !== null || this._legacyCallback() !== null\n );\n\n /** What the user has currently typed for the displayed page. */\n readonly query: Signal<string> = this._query.asReadonly();\n\n /**\n * Bind the page now on display. Called by the shell on outlet activation.\n *\n * A page that does not implement {@link SearchablePage} binds nothing, leaving the\n * box hidden — support is opt-in.\n */\n public bindPage(instance: unknown): void {\n this._page.set(isSearchablePage(instance) ? instance : null);\n }\n\n /**\n * Release the page. Called by the shell on outlet deactivation.\n *\n * Also discards the query: the box is mounted once and shared, so a term left here\n * would surface on the next page, which never received it.\n */\n public unbindPage(): void {\n this._page.set(null);\n this._legacyCallback.set(null);\n this._query.set('');\n }\n\n /** Forward what the user typed to the bound page. Called by the search box. */\n public submit(query: string, event?: Event): void {\n this._query.set(query);\n\n const page = this._page();\n if (page) {\n page.onSearch(query, event);\n return;\n }\n\n const legacy = this._legacyCallback();\n if (legacy) {\n legacy(query, event);\n }\n }\n\n /**\n * @deprecated Implement {@link SearchablePage} on the page component instead — it ties\n * the declaration to the handler, so search cannot be claimed without being served.\n * Still functional; scheduled for removal in the next major.\n */\n public enable(callback: Function) {\n this._legacyCallback.set(callback);\n }\n\n /**\n * @deprecated The shell now revokes automatically when the page changes; there is\n * nothing to call. Still functional; scheduled for removal in the next major.\n */\n public disable() {\n this._page.set(null);\n this._legacyCallback.set(null);\n }\n\n /**\n * @deprecated Renamed to {@link submit}, which also records the query for the box.\n */\n public callback(searchText: string | null, event: any) {\n this.submit(searchText ?? '', event);\n }\n}\n","import { Component, OnInit, ChangeDetectionStrategy } from '@angular/core';\nimport { LayoutService } from '../../layout.service';\nimport { ThemeMode } from '../../layout.config';\n\n@Component({\n selector: 'juice-dark-mode',\n templateUrl: './dark-mode.component.html',\n changeDetection: ChangeDetectionStrategy.Eager,\n standalone: false\n})\nexport class DarkModeComponent{\n ThemeMode: typeof ThemeMode = ThemeMode;\n prefersDark = window.matchMedia(\"(prefers-color-scheme: dark)\");\n constructor(private service: LayoutService) { \n this.prefersDark.addEventListener(\"change\", e => {\n this.initTheme(e.matches);\n });\n this.initTheme(this.prefersDark.matches);\n }\n icons = new Map<ThemeMode, string>([\n [ThemeMode.Light, \"light_mode\"],\n [ThemeMode.Dark, \"dark_mode\"],\n [ThemeMode.Auto, \"adjust\"]\n ]);\n names = new Map<ThemeMode, string>([\n [ThemeMode.Light, \"Light\"],\n [ThemeMode.Dark, \"Dark\"],\n [ThemeMode.Auto, \"Adaptive\"]\n ]);\n\n name: string = \"\";\n\n icon: string = \"light_mode\";\n\n toggleDarkMode(){\n this.service.toggleDarkMode();\n this.initTheme(this.prefersDark.matches);\n }\n\n initTheme(prefersDark: boolean = false){\n var mode = this.service.getThemeMode();\n var scheme = mode == ThemeMode.Auto ? prefersDark ? ThemeMode.Dark : ThemeMode.Light\n : mode;\n\n document.body.classList.remove(\"dark\");\n\n if(scheme == ThemeMode.Dark){\n document.body.classList.add(scheme);\n }\n this.icon = this.icons.get(mode)??\"\";\n this.name = this.names.get(mode)??\"\";\n }\n}\n","<button mat-icon-button (click)=\"toggleDarkMode()\" matTooltip=\"{{ name | translate }}\" matTooltipPosition=\"left\"><mat-icon>{{icon}}</mat-icon></button>","import { OnInit, Component, ElementRef, ChangeDetectionStrategy } from '@angular/core';\nimport { TooltipPosition } from './tooltip.directive';\n\n@Component({\n selector: 'tooltip',\n templateUrl: './tooltip.component.html',\n styleUrls: ['./tooltip.component.scss'],\n changeDetection: ChangeDetectionStrategy.Eager,\n standalone: false\n})\nexport class TooltipComponent{\n tooltip: string = '';\n position: TooltipPosition = TooltipPosition.DEFAULT;\n left: number = 0;\n top: number = 0;\n display: boolean = true;\n constructor(private elementRef: ElementRef) { }\n\n calculatePosition(left:number, right:number, top: number, bottom: number): void {\n switch(this.position) {\n case TooltipPosition.BELOW: {\n this.left = Math.round((right - left) / 2 + left);\n this.top = Math.round(bottom);\n break;\n }\n case TooltipPosition.ABOVE: {\n this.left = Math.round((right - left) / 2 + left);\n this.top = Math.round(top);\n break;\n }\n case TooltipPosition.RIGHT: {\n this.left = Math.round(right);\n this.top = Math.round(top + (bottom - top) / 2);\n break;\n }\n case TooltipPosition.LEFT: {\n this.left = Math.round(left);\n this.top = Math.round(top + (bottom - top) / 2);\n break;\n }\n default: {\n break;\n }\n }\n }\n}\n","@if (display) {\n <div #tooltipId class=\"tooltip\" [ngClass]=\"['tooltip--'+position]\"\n [style.left]=\"left + 'px'\" [style.top]=\"top + 'px'\">\n {{tooltip}}\n </div>\n}","import {Directive, Input, ElementRef, HostListener, ComponentRef, ViewContainerRef, EmbeddedViewRef, booleanAttribute} from '@angular/core';\nimport {TooltipComponent} from \"./tooltip.component\";\n\nexport enum TooltipPosition {\n ABOVE = 'above',\n BELOW = 'below',\n LEFT = 'left',\n RIGHT = 'right',\n DEFAULT = 'above'\n}\n\nfunction tooltipPosition(position: string): TooltipPosition {\n switch(position){\n case TooltipPosition.ABOVE: return TooltipPosition.ABOVE;\n case TooltipPosition.BELOW: return TooltipPosition.BELOW;\n case TooltipPosition.LEFT: return TooltipPosition.LEFT;\n case TooltipPosition.RIGHT: return TooltipPosition.RIGHT;\n default: return TooltipPosition.DEFAULT;\n }\n}\n\n@Directive({\n selector: '[tooltip]',\n standalone: false\n})\nexport class TooltipDirective {\n\n @Input() tooltip = '';\n @Input({ transform: tooltipPosition }) tooltipPosition: TooltipPosition = TooltipPosition.DEFAULT;\n @Input({ transform: booleanAttribute }) tooltipDisplay!: boolean;\n componentRef?: ComponentRef<any>;\n constructor(\n\tprivate elementRef: ElementRef,\n private viewContainerRef: ViewContainerRef) {\n }\n\n @HostListener('mouseenter')\n onMouseEnter(): void {\n if (!this.componentRef) {\n\n this.componentRef = this.viewContainerRef.createComponent(TooltipComponent);\n const domElem = \n (this.componentRef.hostView as EmbeddedViewRef<any>)\n .rootNodes[0] as HTMLElement; \n document.body.appendChild(domElem);\n this.setTooltipComponentProperties();\n }\n }\n private getPosition(): TooltipPosition {\n return this.tooltipPosition;\n }\n private setTooltipComponentProperties() {\n if (this.componentRef) {\n this.componentRef.instance.tooltip = this.tooltip;\n this.componentRef.instance.position = this.getPosition();\n this.componentRef.instance.display = this.tooltipDisplay;\n const {left, right, top, bottom} = this.elementRef.nativeElement.getBoundingClientRect();\n this.componentRef.instance.calculatePosition(left, right, top, bottom);\n }\n }\n\n @HostListener('mouseleave')\n onMouseLeave(): void {\n this.destroy();\n }\n\n ngOnDestroy(): void {\n this.destroy();\n }\n\n destroy(): void {\n if (this.componentRef) {\n this.componentRef.destroy();\n this.componentRef = undefined;\n }\n }\n}","import { Component, Input, ChangeDetectionStrategy } from '@angular/core';\nimport { MenuItem } from '@juice-js/core';\nimport { Router } from '@angular/router';\nimport { TooltipPosition } from '../tooltip/tooltip.directive';\n\n@Component({\n selector: 'juice-expandable-menu',\n templateUrl: './expandable-menu.component.html',\n styleUrls: ['./expandable-menu.component.scss'],\n changeDetection: ChangeDetectionStrategy.Eager,\n standalone: false\n})\nexport class ExpandableMenuComponent {\n @Input()\n isExpanded = false;\n @Input()\n item: MenuItem= {} as MenuItem;\n TooltipPosition: typeof TooltipPosition = TooltipPosition;\n\n constructor(public router: Router) {}\n}\n","<mat-expansion-panel [expanded]=\"item.routerLink ? router.isActive(item.routerLink, false) : false\" [hideToggle]=\"!isExpanded\" [ngClass]=\"(item.routerLink && router.isActive(item.routerLink, false)) ? 'active' : ''\">\n <mat-expansion-panel-header >\n <mat-list-item routerLink=\"{{ item.routerLink }}\" [routerLinkActive]=\"['active']\"\n [routerLinkActiveOptions]=\"{exact: true}\">\n <mat-icon matListItemIcon>{{ item.icon }}</mat-icon>\n @if (isExpanded) {\n <span matListItemTitle style=\"margin-left: 4px;\"> {{ item.label }}</span>\n }\n </mat-list-item>\n </mat-expansion-panel-header>\n <mat-nav-list>\n @for ( subitem of item.children ; track subitem) {\n <mat-list-item routerLink=\"{{ subitem.routerLink }}\" [routerLinkActive]=\"['active']\"\n [routerLinkActiveOptions]=\"{exact: true}\">\n <mat-icon matListItemIcon>{{ subitem.icon }}</mat-icon>\n @if (isExpanded) {\n <span matListItemTitle style=\"margin-left: 4px;\"> {{ subitem.label }}</span>\n }\n </mat-list-item>\n }\n </mat-nav-list>\n</mat-expansion-panel>\n","import { Component, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core';\nimport { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';\nimport { MenuItem, MenuService, TenantService } from '@juice-js/core';\nimport { LayoutService } from '../../layout.service';\nimport { TooltipPosition } from '../tooltip/tooltip.directive';\nimport { ActivatedRoute } from '@angular/router';\n\n@Component({\n selector: 'juice-nav-menu',\n templateUrl: './nav-menu.component.html',\n styleUrls: ['./nav-menu.component.scss'],\n changeDetection: ChangeDetectionStrategy.Eager,\n standalone: false\n})\nexport class NavMenuComponent {\n isExpanded = false;\n isMobile = false;\n items: MenuItem[] = [];\n TooltipPosition: typeof TooltipPosition = TooltipPosition;\n\n settingUrl: string|null|undefined;\n\n constructor(private service: MenuService, \n public layout: LayoutService, private tenantService: TenantService,\n private route: ActivatedRoute,\n private breakpointObserver: BreakpointObserver,\n private cdr: ChangeDetectorRef) {\n \n if(route.snapshot.data['settingUrl']){\n this.settingUrl = route.snapshot.data['settingUrl'];\n }else{\n this.settingUrl = layout.settingUrl();\n }\n // Async callbacks don't trigger change detection in zoneless apps (the Angular 22 default), so mark explicitly.\n tenantService.getTenantIdentifier().then(tenant => {\n this.settingUrl = this.settingUrl?.injectTenant(tenant);\n this.cdr.markForCheck();\n });\n\n breakpointObserver.observe([\n Breakpoints.HandsetLandscape,\n Breakpoints.HandsetPortrait\n ]).subscribe(result => {\n this.isMobile = result.matches;\n this.isExpanded = result.matches ? true : this.layout.isMenuOpen();\n this.cdr.markForCheck();\n });\n this.service.getMenu().subscribe(items => {\n console.debug('Menu items', JSON.parse(JSON.stringify(items)));\n this.items = items;\n this.cdr.markForCheck();\n });\n }\n\n toggle() {\n this.layout.toggleMenu();\n this.isExpanded = this.layout.isMenuOpen();\n }\n\n mouseEnter() {\n if(!this.isMobile){\n this.isExpanded = true;\n }\n }\n mouseLeave() {\n if(!this.isMobile){\n this.isExpanded = this.layout.isMenuOpen();\n }\n }\n\n}\n","<mat-nav-list class=\"menu-scroll\" (mouseenter)=\"mouseEnter()\" (mouseleave)=\"mouseLeave()\">\n @for (item of items; track item) {\n @if (!item.children || item.children.length==0) {\n <mat-list-item\n routerLink=\"{{ item.routerLink }}\" [routerLinkActive]=\"['active']\"\n [routerLinkActiveOptions]=\"{exact:true}\">\n <mat-icon matListItemIcon color=\"accent\">{{ item.icon }}</mat-icon>\n <span matListItemTitle style=\"margin-left: 4px;\"> {{ item.label }}</span>\n </mat-list-item>\n }\n @if (item.children && item.children.length>0) {\n <juice-expandable-menu\n [item]=\"item\" [isExpanded]=\"isExpanded\"></juice-expandable-menu>\n }\n }\n</mat-nav-list>\n<mat-divider></mat-divider>\n<mat-action-list class=\"list-horizontal bottom-menu\">\n @if (settingUrl) {\n <a mat-list-item [href]=\"settingUrl\"\n matTooltip=\"{{'Settings' | translate}}\" matTooltipPosition=\"right\" [matTooltipDisabled]=\"isExpanded\">\n <mat-icon>settings</mat-icon>\n </a>\n }\n @if (!isMobile) {\n <button mat-list-item (click)=\"toggle()\">\n <mat-icon [style.transform]= \"isExpanded ? 'rotate(-180deg)':'rotate(0)'\">double_arrow</mat-icon>\n </button>\n }\n</mat-action-list>","import { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { SearchService } from '../../services/search.service';\nimport {\n trigger,\n state,\n style,\n animate,\n transition,\n // ...\n} from '@angular/animations';\n\n/**\n * The shell's single search box. Mounted once by the toolbar and shared by every page,\n * so it deliberately owns no state of its own: both its visibility and its text come\n * from {@link SearchService}, which scopes them to the page on display. A query held\n * here would outlive the page that was searched and surface on the next one.\n */\n@Component({\n selector: 'juice-search-bar',\n templateUrl: './search-bar.component.html',\n styleUrls: ['./search-bar.component.scss'],\n animations: [\n trigger('enableTrigger', [\n transition(':enter', [\n style({ opacity: 0 }),\n animate('100ms', style({ opacity: 1 })),\n ]),\n transition(':leave', [\n animate('100ms', style({ opacity: 0 }))\n ])\n ]),\n ],\n changeDetection: ChangeDetectionStrategy.Eager,\n standalone: false\n})\nexport class SearchBarComponent {\n constructor(public service: SearchService) {\n\n }\n\n onSearchTextChange(event: Event){\n const text = (event.target as HTMLInputElement).value;\n this.service.submit(text, event);\n }\n\n clear(event: Event){\n this.service.submit('', event);\n }\n}\n","@if (service.isEnabled()) {\n <div @enableTrigger class=\"search-container\">\n <input type=\"search\" [value]=\"service.query()\"\n (input)=\"onSearchTextChange($event)\" placeholder=\"Search\">\n @if (service.query()) {\n <mat-icon (click)=\"clear($event)\" color=\"primary\">\n close</mat-icon>\n }\n </div>\n}\n","import { AsyncDialog } from '@juice-js/core';\n\nexport abstract class ProfileDialogService extends AsyncDialog<any, string>{\n \n}","import { Component, Optional, OnInit, inject, ChangeDetectionStrategy, ChangeDetectorRef, HostBinding } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { ProfileDialogService } from './profile-dialog.service';\nimport { OAuthService } from 'angular-oauth2-oidc';\nimport { LayoutService } from '../../layout.service';\nimport { IS_PRODUCTION } from '../../layout.config';\nimport { UserProfile } from './user-profile.model';\n\n/**\n * Toolbar user avatar, or a \"Login\" button while nobody is signed in.\n *\n * The shell renders before a login completes (and before a stored session is refreshed), so the signed-in state is\n * evaluated in ngOnInit and again on every OAuth event. Async results mark the view for check, so the component\n * also renders in zoneless apps (the Angular 22 default).\n */\n@Component({\n selector: 'juice-user-profile',\n templateUrl: './user-profile.component.html',\n styleUrls: ['./user-profile.component.scss'],\n changeDetection: ChangeDetectionStrategy.Eager,\n standalone: false\n})\nexport class UserProfileComponent implements OnInit{\n imageUrl: string = \"\";\n imageFailed = false;\n initials: string = \"\";\n authenticated = false;\n isProduction = inject(IS_PRODUCTION);\n\n @HostBinding('class.anonymous')\n get anonymous(): boolean {\n return !this.authenticated;\n }\n\n constructor(@Optional() private dialogService: ProfileDialogService,\n private layoutService: LayoutService,\n private oauthService: OAuthService,\n private router: Router,\n private cdr: ChangeDetectorRef) {\n this.oauthService.events.subscribe((e) => {\n if(!this.isProduction && e.type === \"token_received\") console.debug('Token received', e);\n this.updateState();\n });\n }\n\n ngOnInit(): void {\n this.updateState();\n if(!this.authenticated && !this.isProduction){\n console.debug('No valid token', this.oauthService.hasValidAccessToken(), this.oauthService.hasValidIdToken());\n }\n }\n\n /** Starts the code flow; the login-completed page navigates back to the current route. */\n async login() {\n if(!this.oauthService.discoveryDocumentLoaded){\n await this.oauthService.loadDiscoveryDocument();\n }\n this.oauthService.initLoginFlow(this.router.url);\n }\n\n initImageUrl() {\n if(this.imageUrl){return;}\n\n const claims = this.oauthService.getIdentityClaims() ?? {};\n this.initials = this.computeInitials(claims);\n if(!this.isProduction) console.debug('Trying to get avatar from claims');\n if(claims[\"picture\"]){\n this.setImageUrl(claims[\"picture\"]);\n }else if(claims[\"avatar\"]){\n this.setImageUrl(claims[\"avatar\"]);\n }else{\n const username = claims[\"preferred_username\"];\n if(username){\n this.setImageUrl(this.layoutService.userImageUrl(username));\n }else{\n if(!this.isProduction) console.debug('Trying to load user profile to get avatar');\n this.oauthService.loadUserProfile().then(info => {\n var userProfile = info as UserProfile;\n if(userProfile){\n this.initials = this.initials || this.computeInitials(userProfile.info);\n this.setImageUrl(this.layoutService.userImageUrl(userProfile.info.preferred_username));\n this.cdr.markForCheck();\n }else{\n console.warn('No user profile found', info);\n }\n }).catch(() => {\n // Keep the initials / icon fallback.\n });\n }\n }\n }\n\n /** Syncs the avatar / login button with the token state. */\n private updateState() {\n const authenticated = this.hasValidToken();\n if(authenticated === this.authenticated){\n return;\n }\n this.authenticated = authenticated;\n if(authenticated){\n // Only on the anonymous -> signed-in transition, so thin claims don't\n // trigger a userinfo request on every OAuth event.\n this.initImageUrl();\n }else{\n this.imageUrl = \"\";\n this.initials = \"\";\n }\n this.cdr.markForCheck();\n }\n\n private setImageUrl(url: string) {\n this.imageUrl = url ?? \"\";\n this.imageFailed = false;\n }\n\n private computeInitials(claims: Record<string, any>): string {\n if(!claims){ return \"\"; }\n const name = claims[\"name\"]\n || [claims[\"given_name\"], claims[\"family_name\"]].filter(Boolean).join(\" \")\n || claims[\"preferred_username\"]\n || \"\";\n const words = String(name).trim().split(/\\s+/).filter(Boolean);\n if(words.length === 0){ return \"\"; }\n const chars = words.length === 1\n ? words[0].slice(0, 2)\n : words[0][0] + words[words.length - 1][0];\n return chars.toUpperCase();\n }\n\n onImageError() {\n if(!this.isProduction) console.debug('Avatar image failed to load', this.imageUrl);\n this.imageFailed = true;\n }\n\n onClick(){\n if(this.dialogService){\n this.dialogService.open(this.imageUrl);\n }\n }\n\n /**\n * Signed in = a usable access token. The id token is not required here: it is short-lived and a refresh-token\n * grant may not renew it, so it can be expired while the session (and its stored claims) is still valid.\n */\n private hasValidToken() {\n return this.oauthService.hasValidAccessToken();\n }\n}\n","@if (authenticated) {\n <button class=\"user-image\" (click)=\"onClick()\">\n @if (imageUrl && !imageFailed) {\n <img [src]=\"imageUrl\" (error)=\"onImageError()\"/>\n } @else if (initials) {\n <span class=\"user-image-initials\">{{ initials }}</span>\n } @else {\n <mat-icon class=\"user-image-fallback\">account_circle</mat-icon>\n }\n </button>\n} @else {\n <button mat-button class=\"login-button\" (click)=\"login()\">\n <mat-icon>login</mat-icon>\n {{ 'Login' | translate }}\n </button>\n}\n","import { Component, ChangeDetectionStrategy, ChangeDetectorRef, Type, inject } from '@angular/core';\nimport { LAYOUT_TOOLBAR_ITEMS } from '../layout.config';\nimport { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';\nimport { LayoutService } from '../layout.service';\nimport { SearchService } from '../services/search.service';\nimport {\n trigger,\n state,\n style,\n animate,\n transition,\n // ...\n} from '@angular/animations';\n\n@Component({\n selector: 'app-page',\n templateUrl: './page.component.html',\n styleUrls: ['./page.component.scss'],\n animations: [\n trigger('menuTransition', [\n state('expand', style({\n width: '220px'\n })),\n state('collapsed', style({\n width: '60px'\n })),\n transition('* => collapsed', [\n animate('0.15s')\n ]),\n transition('* => expand', [\n animate('0.15s')\n ])\n ]),\n trigger('contentTransition', [\n state('expand', style({\n \"margin-left\": \"60px\"\n })),\n state('collapsed', style({\n \"margin-left\": \"220px\"\n })),\n state(\"full\", style({\n \"margin-left\": \"0\"\n })),\n transition('* => collapsed', [\n animate('0.15s')\n ]),\n transition('* => expand', [\n animate('0.15s')\n ])\n ])\n ],\n changeDetection: ChangeDetectionStrategy.Eager,\n standalone: false\n})\nexport class PageComponent {\n /** The app's own toolbar items ({@link LAYOUT_TOOLBAR_ITEMS}). */\n readonly toolbarItems: Type<unknown>[] = inject(LAYOUT_TOOLBAR_ITEMS, { optional: true }) ?? [];\n isMobile: boolean = false;\n isSnavOpenned: boolean = false;\n \n constructor(public service: LayoutService,\n private search: SearchService,\n private breakpointObserver: BreakpointObserver,\n cdr: ChangeDetectorRef) {\n breakpointObserver.observe([\n Breakpoints.HandsetLandscape,\n Breakpoints.HandsetPortrait\n ]).subscribe(result => {\n this.isMobile = result.matches;\n this.isSnavOpenned = !this.isMobile;\n cdr.markForCheck();\n });\n }\n\n public hideSidenavOnMobile(): void {\n if(this.isMobile){\n this.isSnavOpenned = false;\n }\n }\n\n public toggleSidenav(): void {\n this.isSnavOpenned = !this.isSnavOpenned;\n }\n\n public toolbarHeight(): string {\n return \"48px\"; // this.isMobile ? \"42px\" : \"48px\";\n }\n\n /**\n * The routed page just became visible — offer search if it supports it.\n *\n * Driven by the outlet rather than by router events on purpose: the outlet does not\n * deactivate for a cancelled navigation or a param-only change that reuses the\n * component, so the box correctly survives both.\n */\n public onPageActivate(instance: unknown): void {\n this.search.bindPage(instance);\n }\n\n /** The routed page is going away — take the search box with it. */\n public onPageDeactivate(): void {\n this.search.unbindPage();\n }\n}\n","<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * The content below * * * * * * * * * * * -->\n<!-- * * * * * * * * * * is only a placeholder * * * * * * * * * * -->\n<!-- * * * * * * * * * * and can be replaced. * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<!-- * * * * * * * * * Delete the template below * * * * * * * * * * -->\n<!-- * * * * * * * to get started with your project! * * * * * * * * -->\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<div class=\"container\" [class.mobile]=\"isMobile\">\n <!-- Toolbar -->\n <mat-toolbar color=\"primary\" [style.height]=\"toolbarHeight()\">\n @if (isMobile) {\n <button mat-icon-button (click)=\"toggleSidenav()\" class=\"m-r\">\n <mat-icon aria-hidden=\"false\" fontIcon=\"menu\"></mat-icon>\n </button>\n }\n @if (!isMobile) {\n <a [routerLink]=\"['/',service.tenantIdentifier]\" class=\"nav-link home\">\n <img height=\"40 \" alt=\"{{service.brandName()}} Logo \" [src]=\"service.brandLogo() \" class=\"p-r \" />\n </a>\n }\n @if (!isMobile) {\n <span>{{service.brandName()}}</span>\n }\n <juice-search-bar></juice-search-bar>\n <span class=\"toolbar-spacer \"></span>\n @for (item of toolbarItems; track $index) {\n <ng-container *ngComponentOutlet=\"item\"></ng-container>\n }\n <juice-dark-mode></juice-dark-mode>\n <juice-user-profile></juice-user-profile>\n </mat-toolbar>\n\n <mat-sidenav-container>\n <mat-sidenav [opened]=\"isSnavOpenned\" (closed)=\"isSnavOpenned = false\" #snav\n (navigate)=\"hideSidenavOnMobile\" (click)=\"hideSidenavOnMobile\" (swipeRight)=\"hideSidenavOnMobile\"\n [mode]=\"isMobile ? 'over': 'side' \"\n [@menuTransition]=\" menu.isExpanded ? 'expand' : 'collapsed' \" [fixedInViewport]=\"true\"\n [style.top]=\"isMobile ? toolbarHeight():0\">\n <juice-nav-menu #menu [class.menu-expanded]=\"isSnavOpenned\"\n [class.menu-collapsed]=\"!isSnavOpenned\"></juice-nav-menu>\n </mat-sidenav>\n\n <mat-sidenav-content style=\"margin-left: 0;\">\n <router-outlet (activate)=\"onPageActivate($event)\" (deactivate)=\"onPageDeactivate()\"></router-outlet>\n </mat-sidenav-content>\n\n </mat-sidenav-container>\n</div>\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * The content above * * * * * * * * * * * -->\n<!-- * * * * * * * * * * is only a placeholder * * * * * * * * * * -->\n<!-- * * * * * * * * * * and can be replaced. * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->\n<!-- * * * * * * * * * * End of Placeholder * * * * * * * * * * * -->\n<!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->","import { Component, ChangeDetectionStrategy } from '@angular/core';\n\n@Component({\n selector: 'juice-page-notfound',\n templateUrl: './page-notfound.component.html',\n styleUrls: ['./page-notfound.component.scss'],\n changeDetection: ChangeDetectionStrategy.Eager,\n standalone: false\n})\nexport class PageNotfoundComponent {\n\n}\n","<div class=\"container pt-4\">\n <h1>{{'Not found' | translate }}</h1>\n <p>{{ 'Your requested resource could not be found' | translate}}</p>\n </div>\n ","import { ModuleWithProviders, NgModule } from '@angular/core';\nimport { RouterModule, Routes } from '@angular/router';\nimport { CommonModule } from '@angular/common';\nimport { TranslatePipe, TranslateDirective } from '@ngx-translate/core';\n\nimport { MatIconModule } from '@angular/material/icon';\nimport { MatToolbarModule } from '@angular/material/toolbar';\nimport { MatSidenavModule } from '@angular/material/sidenav';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatExpansionModule } from '@angular/material/expansion';\nimport { MatListModule } from '@angular/material/list';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatTooltipModule } from '@angular/material/tooltip';\n\nimport { ILayoutConfig, IS_PRODUCTION, LayoutConfig } from './layout.config';\nimport { LayoutService } from './layout.service';\nimport { DarkModeComponent } from './components/dark-mode/dark-mode.component';\nimport { PageComponent } from './page/page.component';\nimport { NavMenuComponent } from './components/nav-menu/nav-menu.component';\nimport { ExpandableMenuComponent } from './components/expandable-menu/expandable-menu.component';\nimport { PageNotfoundComponent } from './pages/page-notfound/page-notfound.component';\nimport { SearchBarComponent } from './components/search-bar/search-bar.component';\nimport { UserProfileComponent } from './components/user-profile/user-profile.component';\n\nconst routes: Routes = [ \n \n];\n\n@NgModule({\n declarations: [\n PageComponent,\n DarkModeComponent,\n NavMenuComponent,\n ExpandableMenuComponent,\n PageNotfoundComponent,\n SearchBarComponent,\n UserProfileComponent,\n ],\n imports: [\n RouterModule.forChild(routes),\n CommonModule,\n TranslatePipe,\n TranslateDirective,\n MatIconModule,\n MatToolbarModule,\n MatSidenavModule,\n MatButtonModule,\n MatExpansionModule,\n MatListModule,\n MatFormFieldModule,\n MatInputModule,\n MatTooltipModule\n ],\n exports: [\n PageComponent,\n RouterModule\n ]\n})\nexport class LayoutModule { \n\n public static forRoot(production: boolean, options: ILayoutConfig): ModuleWithProviders<LayoutModule> {\n let config: LayoutConfig = new LayoutConfig(options);\n return {\n ngModule: LayoutModule,\n providers: [\n LayoutService,\n {\n provide: IS_PRODUCTION,\n useValue: production\n },\n {\n provide: LayoutConfig,\n useValue: config\n }\n ]\n }\n }\n\n}\n","import {NgModule} from '@angular/core';\nimport {CommonModule} from '@angular/common';\nimport {TooltipComponent} from './tooltip.component';\nimport {TooltipDirective} from './tooltip.directive';\n\n@NgModule({\n declarations: [\n TooltipComponent,\n TooltipDirective\n ],\n imports: [\n CommonModule\n ],\n exports: [\n TooltipDirective\n ]\n})\n/**\n * This module for study purpose only.\n * Consider using matTooltip from @angular/material\n */\nexport class TooltipModule {\n}","import { Injectable, inject } from '@angular/core';\nimport { IS_PRODUCTION } from './layout.config';\n\n@Injectable({\n providedIn: 'root'\n })\nexport class DevGuard {\n isProduction = inject(IS_PRODUCTION);\n canActivate() {\n console.log('DevGuard: this route is available in development environment only!', this.isProduction);\n return !this.isProduction;\n }\n\n canDisplay() {\n console.log('DevGuard: this menu is available in development environment only!', this.isProduction);\n return !this.isProduction;\n }\n}\n","import { Component, OnInit, ChangeDetectionStrategy, ChangeDetectorRef } from '@angular/core';\nimport { OAuthService } from 'angular-oauth2-oidc';\nimport { UserProfile } from '../user-profile/user-profile.model';\n\n@Component({\n selector: 'app-user-profile',\n templateUrl: './user-profile-dialog.component.html',\n styleUrls: ['./user-profile-dialog.component.scss'],\n changeDetection: ChangeDetectionStrategy.Eager,\n standalone: false\n})\nexport class UserProfileDialogComponent implements OnInit{\n username = '';\n name = '';\n email = '';\n loggedin = false;\n constructor(private auth: OAuthService, private cdr: ChangeDetectorRef) { \n \n }\n\n ngOnInit(): void {\n if(this.auth.hasValidIdToken()){\n const claims = this.auth.getIdentityClaims();\n if(claims['preferred_username']){\n this.setValues(claims);\n }else{\n this.auth.loadUserProfile().then(info => {\n var userProfile = info as UserProfile;\n if(userProfile){\n this.setValues(userProfile.info);\n // Resolved outside an event: mark explicitly for zoneless apps.\n this.cdr.markForCheck();\n }else{\n console.debug('No user profile', info);\n }\n });\n }\n }\n }\n\n setValues(claims: any){\n this.username = claims['preferred_username'];\n this.name = claims['name'];\n this.email = claims['email']??'';\n this.loggedin = true;\n }\n\n logout(){\n this.auth.loadDiscoveryDocument().then(() => {\n this.auth.logOut();\n });\n }\n}\n","@if (loggedin) {\n <h3 mat-dialog-title>{{name}}</h3>\n}\n<div mat-dialog-content>\n @if (loggedin) {\n <div>\n @if (name) {\n <p>{{'Welcome' | translate}} {{name}}</p>\n }\n @if (email) {\n <p>{{ 'Email' | translate}}: {{email}}</p>\n }\n <!-- Logout -->\n </div>\n }\n @if (!loggedin) {\n <div>\n <p>{{ 'Please login to view your profile' | translate}}</p>\n </div>\n }\n</div>\n<div mat-dialog-actions>\n @if (loggedin) {\n <button mat-raised-button color=\"primary\" (click)=\"logout()\">{{ 'Logout' | translate}}</button>\n }\n <button mat-button mat-dialog-close cdkFocusInitial>{{ 'Close' | translate}}</button>\n</div>","import { Injectable } from '@angular/core';\nimport { MatDialog } from '@angular/material/dialog';\nimport { ProfileDialogService } from '../user-profile/profile-dialog.service';\nimport { UserProfileDialogComponent } from './user-profile-dialog.component';\n\n@Injectable()\nexport class UserProfileDialogService extends ProfileDialogService {\n constructor(matDialog: MatDialog) {\n super(matDialog);\n }\n async open(data: string): Promise<any> {\n return this.matDialog.open(UserProfileDialogComponent, {position: { top: '50px', right: '10px'}});\n }\n}","import { NgModule } from '@angular/core';\nimport { UserProfileDialogComponent } from './user-profile-dialog.component';\nimport { MatDialogModule } from '@angular/material/dialog';\nimport { MatButtonModule } from '@angular/material/button';\nimport { ProfileDialogService } from '../user-profile/profile-dialog.service';\nimport { UserProfileDialogService } from './user-profile-dialog.service';\nimport { TranslatePipe, TranslateDirective } from '@ngx-translate/core';\nimport { CommonModule } from '@angular/common';\n\n@NgModule({\n declarations: [\n UserProfileDialogComponent\n ],\n imports: [\n MatDialogModule,\n MatButtonModule,\n TranslatePipe,\n TranslateDirective,\n CommonModule\n ],\n exports: [\n ],\n providers: [\n {\n provide: ProfileDialogService,\n useClass: UserProfileDialogService\n }\n ]\n})\nexport class UserProfileDialogModule {\n}\n","/*\n * Public API Surface of layout\n */\n\nexport * from './lib/layout.service';\nexport * from './lib/page/page.component';\nexport * from './lib/layout.module';\nexport { LAYOUT_TOOLBAR_ITEMS } from './lib/layout.config';\nexport * from './lib/components/nav-menu/nav-menu.component';\nexport * from './lib/components/expandable-menu/expandable-menu.component';\nexport * from './lib/pages/page-notfound/page-notfound.component';\nexport * from './lib/components/tooltip/tooltip.directive';\nexport * from './lib/components/tooltip/tooltip.module';\nexport * from './lib/dev.guard';\nexport * from './lib/services/search.service';\nexport * from './lib/services/searchable-page';\nexport * from './lib/components/user-profile/profile-dialog.service';\nexport * from './lib/components/user-profile-dialog/user-profile-dialog.module';","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.LayoutConfig","i2","i1.LayoutService","i1","i3","i4","i5","i2.LayoutService","i7","i8.ExpandableMenuComponent","i9","i1.SearchService","i1.ProfileDialogService","i6","i2.SearchService","i10.DarkModeComponent","i11.NavMenuComponent","i12.SearchBarComponent","i13.UserProfileComponent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,IAAY,SAIX;AAJD,CAAA,UAAY,SAAS,EAAA;AACjB,IAAA,SAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACf,IAAA,SAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACb,IAAA,SAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACjB,CAAC,EAJW,SAAS,KAAT,SAAS,GAAA,EAAA,CAAA,CAAA;MAKR,YAAY,CAAA;AAUrB,IAAA,WAAA,CAAY,OAAuB,EAAA;QATnC,IAAA,CAAA,OAAO,GAAW,aAAa;QAC/B,IAAA,CAAA,KAAK,GAAW,OAAO;QACvB,IAAA,CAAA,SAAS,GAAW,wBAAwB;AAC5C,QAAA,IAAA,CAAA,gBAAgB,GAAc,SAAS,CAAC,IAAI;QAC5C,IAAA,CAAA,eAAe,GAAW,OAAO;QACjC,IAAA,CAAA,eAAe,GAAY,KAAK;QAK5B,IAAG,OAAO,EAAC;AACP,YAAA,MAAM,CAAC,MAAM,CAA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A,EAAA,CAlBhC,0BAA0B,CAAA,EAAA,OAAA,EAAA,CAG1B,eAAe;YACf,eAAe;YACf,aAAa;YACb,kBAAkB;YAClB,YAAY,CAAA,EAAA,CAAA,CAAA;AAWH,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,EAAA,SAAA,EAPvB;AACT,YAAA;AACE,gBAAA,OAAO,EAAE,oBAAoB;AAC7B,gBAAA,QAAQ,EAAE;AACX;AACF,SAAA,EAAA,OAAA,EAAA,CAbC,eAAe;YACf,eAAe;YAGf,YAAY,CAAA,EAAA,CAAA,CAAA;;2FAWH,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBApBnC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ;AACD,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,eAAe;wBACf,eAAe;wBACf,aAAa;wBACb,kBAAkB;wBAClB;AACD,qBAAA;AACD,oBAAA,OAAO,EAAE,EACR;AACD,oBAAA,SAAS,EAAE;AACT,wBAAA;AACE,4BAAA,OAAO,EAAE,oBAAoB;AAC7B,4BAAA,QAAQ,EAAE;AACX;AACF;AACF,iBAAA;;;AC5BD;;AAEG;;ACFH;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@juice-js/layout",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0-alpha.1",
|
|
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.0
|
|
23
|
-
"@juice-js/localize": "2.0
|
|
22
|
+
"@juice-js/core": "2.1.0-alpha.1",
|
|
23
|
+
"@juice-js/localize": "2.1.0-alpha.1"
|
|
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.0
|
|
43
|
+
"_id": "@juice-js/layout@2.1.0-alpha.1"
|
|
44
44
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TenantService, MenuItem, MenuService, AsyncDialog } from '@juice-js/core';
|
|
2
1
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { Signal, ChangeDetectorRef, ComponentRef, ElementRef, ViewContainerRef, OnInit, ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { InjectionToken, Type, Signal, ChangeDetectorRef, ComponentRef, ElementRef, ViewContainerRef, OnInit, ModuleWithProviders } from '@angular/core';
|
|
3
|
+
import { TenantService, MenuItem, MenuService, AsyncDialog } from '@juice-js/core';
|
|
4
4
|
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
5
5
|
import * as i8 from '@angular/router';
|
|
6
6
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
@@ -44,6 +44,11 @@ interface ILayoutConfig {
|
|
|
44
44
|
settingUrl?: string;
|
|
45
45
|
userImageUrl?: string;
|
|
46
46
|
}
|
|
47
|
+
/**
|
|
48
|
+
* Components an app adds to the toolbar, before the dark mode switch (a notification bell): provide each with `multi: true`.
|
|
49
|
+
* `{ provide: LAYOUT_TOOLBAR_ITEMS, useValue: NotificationBellComponent, multi: true }`.
|
|
50
|
+
*/
|
|
51
|
+
declare const LAYOUT_TOOLBAR_ITEMS: InjectionToken<Type<unknown>[]>;
|
|
47
52
|
|
|
48
53
|
declare class LayoutService {
|
|
49
54
|
static DARK_MODE: string;
|
|
@@ -128,6 +133,8 @@ declare class PageComponent {
|
|
|
128
133
|
service: LayoutService;
|
|
129
134
|
private search;
|
|
130
135
|
private breakpointObserver;
|
|
136
|
+
/** The app's own toolbar items ({@link LAYOUT_TOOLBAR_ITEMS}). */
|
|
137
|
+
readonly toolbarItems: Type<unknown>[];
|
|
131
138
|
isMobile: boolean;
|
|
132
139
|
isSnavOpenned: boolean;
|
|
133
140
|
constructor(service: LayoutService, search: SearchService, breakpointObserver: BreakpointObserver, cdr: ChangeDetectorRef);
|
|
@@ -377,5 +384,5 @@ declare class UserProfileDialogModule {
|
|
|
377
384
|
static ɵinj: i0.ɵɵInjectorDeclaration<UserProfileDialogModule>;
|
|
378
385
|
}
|
|
379
386
|
|
|
380
|
-
export { DevGuard, ExpandableMenuComponent, LayoutModule, LayoutService, NavMenuComponent, PageComponent, PageNotfoundComponent, ProfileDialogService, SearchService, TooltipDirective, TooltipModule, TooltipPosition, UserProfileDialogModule, isSearchablePage };
|
|
387
|
+
export { DevGuard, ExpandableMenuComponent, LAYOUT_TOOLBAR_ITEMS, LayoutModule, LayoutService, NavMenuComponent, PageComponent, PageNotfoundComponent, ProfileDialogService, SearchService, TooltipDirective, TooltipModule, TooltipPosition, UserProfileDialogModule, isSearchablePage };
|
|
381
388
|
export type { SearchablePage };
|