@gravionlabs/helix-shell 22.2.16 → 22.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/gravionlabs-helix-shell.mjs +610 -311
- package/fesm2022/gravionlabs-helix-shell.mjs.map +1 -1
- package/package.json +1 -1
- package/styles.css +43 -24
- package/types/gravionlabs-helix-shell.d.ts +201 -41
|
@@ -5,7 +5,7 @@ import { CommonModule, DOCUMENT, NgClass, NgTemplateOutlet, SlicePipe } from "@a
|
|
|
5
5
|
import * as i1$1 from "@angular/forms";
|
|
6
6
|
import { FormsModule, NG_VALUE_ACCESSOR } from "@angular/forms";
|
|
7
7
|
import * as i2 from "@angular/router";
|
|
8
|
-
import { ActivatedRoute, NavigationEnd, Router, RouterModule } from "@angular/router";
|
|
8
|
+
import { ActivatedRoute, NavigationEnd, NavigationStart, Router, RouterModule } from "@angular/router";
|
|
9
9
|
import { HX_PRIMARY_COLORS, HX_SURFACES, HX_SURFACE_NAMES, HxBreadcrumb, HxButton, HxCard, HxCheckbox, HxDivider, HxInput, HxPassword, HxSelectButton, HxTheme, HxTooltip } from "@gravionlabs/helix-ui";
|
|
10
10
|
import { patchState, signalStore, withComputed, withHooks, withMethods, withState } from "@ngrx/signals";
|
|
11
11
|
import { DomSanitizer } from "@angular/platform-browser";
|
|
@@ -29,7 +29,7 @@ var HelixFormField = class HelixFormField {
|
|
|
29
29
|
}, ...ngDevMode ? [{ debugName: "activeError" }] : /* istanbul ignore next */ []);
|
|
30
30
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
31
31
|
minVersion: "12.0.0",
|
|
32
|
-
version: "22.2.
|
|
32
|
+
version: "22.2.4",
|
|
33
33
|
ngImport: i0,
|
|
34
34
|
type: HelixFormField,
|
|
35
35
|
deps: [],
|
|
@@ -37,7 +37,7 @@ var HelixFormField = class HelixFormField {
|
|
|
37
37
|
});
|
|
38
38
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
39
39
|
minVersion: "17.0.0",
|
|
40
|
-
version: "22.2.
|
|
40
|
+
version: "22.2.4",
|
|
41
41
|
type: HelixFormField,
|
|
42
42
|
isStandalone: true,
|
|
43
43
|
selector: "helix-form-field",
|
|
@@ -93,7 +93,7 @@ var HelixFormField = class HelixFormField {
|
|
|
93
93
|
};
|
|
94
94
|
i0.ɵɵngDeclareClassMetadata({
|
|
95
95
|
minVersion: "12.0.0",
|
|
96
|
-
version: "22.2.
|
|
96
|
+
version: "22.2.4",
|
|
97
97
|
ngImport: i0,
|
|
98
98
|
type: HelixFormField,
|
|
99
99
|
decorators: [{
|
|
@@ -211,7 +211,7 @@ var HelixSelect = class HelixSelect {
|
|
|
211
211
|
}
|
|
212
212
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
213
213
|
minVersion: "12.0.0",
|
|
214
|
-
version: "22.2.
|
|
214
|
+
version: "22.2.4",
|
|
215
215
|
ngImport: i0,
|
|
216
216
|
type: HelixSelect,
|
|
217
217
|
deps: [],
|
|
@@ -219,7 +219,7 @@ var HelixSelect = class HelixSelect {
|
|
|
219
219
|
});
|
|
220
220
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
221
221
|
minVersion: "17.0.0",
|
|
222
|
-
version: "22.2.
|
|
222
|
+
version: "22.2.4",
|
|
223
223
|
type: HelixSelect,
|
|
224
224
|
isStandalone: true,
|
|
225
225
|
selector: "helix-select",
|
|
@@ -295,7 +295,7 @@ var HelixSelect = class HelixSelect {
|
|
|
295
295
|
};
|
|
296
296
|
i0.ɵɵngDeclareClassMetadata({
|
|
297
297
|
minVersion: "12.0.0",
|
|
298
|
-
version: "22.2.
|
|
298
|
+
version: "22.2.4",
|
|
299
299
|
ngImport: i0,
|
|
300
300
|
type: HelixSelect,
|
|
301
301
|
decorators: [{
|
|
@@ -386,6 +386,14 @@ function helixBreadcrumbsFromRoutes(route) {
|
|
|
386
386
|
}
|
|
387
387
|
return breadcrumbs;
|
|
388
388
|
}
|
|
389
|
+
function helixPageTitleFromRoutes(route) {
|
|
390
|
+
let current = route;
|
|
391
|
+
while (current.firstChild) current = current.firstChild;
|
|
392
|
+
for (; current; current = current.parent) {
|
|
393
|
+
const title = current.snapshot.title ?? current.snapshot.data?.["title"];
|
|
394
|
+
if (typeof title === "string" && title) return title;
|
|
395
|
+
}
|
|
396
|
+
}
|
|
389
397
|
const DESKTOP_MIN_WIDTH = 992;
|
|
390
398
|
const COLLAPSED_STORAGE_KEY = "helix.nav-rail.collapsed";
|
|
391
399
|
const isDesktopViewport = () => typeof window === "undefined" || window.innerWidth >= DESKTOP_MIN_WIDTH;
|
|
@@ -417,6 +425,11 @@ const LayoutStore = signalStore({ providedIn: "root" }, withState(initialState),
|
|
|
417
425
|
darkTheme: computed(() => theme.dark()),
|
|
418
426
|
primary: computed(() => theme.primary()),
|
|
419
427
|
surface: computed(() => theme.surface()),
|
|
428
|
+
density: computed(() => theme.density()),
|
|
429
|
+
preset: computed(() => theme.preset()),
|
|
430
|
+
presetNames: computed(() => theme.presetNames),
|
|
431
|
+
activePrimary: computed(() => theme.activePrimary()),
|
|
432
|
+
activeSurface: computed(() => theme.activeSurface()),
|
|
420
433
|
isDarkTheme: computed(() => theme.dark()),
|
|
421
434
|
isOverlay: computed(() => store.menuMode() === "overlay"),
|
|
422
435
|
isStatic: computed(() => store.menuMode() === "static"),
|
|
@@ -477,6 +490,12 @@ const LayoutStore = signalStore({ providedIn: "root" }, withState(initialState),
|
|
|
477
490
|
setSurface(surface) {
|
|
478
491
|
theme.setSurface(surface);
|
|
479
492
|
},
|
|
493
|
+
setDensity(density) {
|
|
494
|
+
theme.setDensity(density);
|
|
495
|
+
},
|
|
496
|
+
setPreset(preset) {
|
|
497
|
+
theme.setPreset(preset);
|
|
498
|
+
},
|
|
480
499
|
isDesktop() {
|
|
481
500
|
return window.innerWidth > 991;
|
|
482
501
|
},
|
|
@@ -667,7 +686,7 @@ var HelixNavRailItem = class HelixNavRailItem {
|
|
|
667
686
|
}
|
|
668
687
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
669
688
|
minVersion: "12.0.0",
|
|
670
|
-
version: "22.2.
|
|
689
|
+
version: "22.2.4",
|
|
671
690
|
ngImport: i0,
|
|
672
691
|
type: HelixNavRailItem,
|
|
673
692
|
deps: [],
|
|
@@ -675,7 +694,7 @@ var HelixNavRailItem = class HelixNavRailItem {
|
|
|
675
694
|
});
|
|
676
695
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
677
696
|
minVersion: "17.0.0",
|
|
678
|
-
version: "22.2.
|
|
697
|
+
version: "22.2.4",
|
|
679
698
|
type: HelixNavRailItem,
|
|
680
699
|
isStandalone: true,
|
|
681
700
|
selector: "[helix-nav-rail-item]",
|
|
@@ -796,7 +815,7 @@ var HelixNavRailItem = class HelixNavRailItem {
|
|
|
796
815
|
};
|
|
797
816
|
i0.ɵɵngDeclareClassMetadata({
|
|
798
817
|
minVersion: "12.0.0",
|
|
799
|
-
version: "22.2.
|
|
818
|
+
version: "22.2.4",
|
|
800
819
|
ngImport: i0,
|
|
801
820
|
type: HelixNavRailItem,
|
|
802
821
|
decorators: [{
|
|
@@ -990,13 +1009,13 @@ var HelixNavRail = class HelixNavRail {
|
|
|
990
1009
|
}
|
|
991
1010
|
}
|
|
992
1011
|
isOutsideClicked(event) {
|
|
993
|
-
const topbarButtonEl = document.querySelector(".
|
|
1012
|
+
const topbarButtonEl = document.querySelector(".layout-menu-button");
|
|
994
1013
|
const railEl = this.el.nativeElement;
|
|
995
1014
|
return !(railEl?.isSameNode(event.target) || railEl?.contains(event.target) || topbarButtonEl?.isSameNode(event.target) || topbarButtonEl?.contains(event.target));
|
|
996
1015
|
}
|
|
997
1016
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
998
1017
|
minVersion: "12.0.0",
|
|
999
|
-
version: "22.2.
|
|
1018
|
+
version: "22.2.4",
|
|
1000
1019
|
ngImport: i0,
|
|
1001
1020
|
type: HelixNavRail,
|
|
1002
1021
|
deps: [],
|
|
@@ -1004,7 +1023,7 @@ var HelixNavRail = class HelixNavRail {
|
|
|
1004
1023
|
});
|
|
1005
1024
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1006
1025
|
minVersion: "17.0.0",
|
|
1007
|
-
version: "22.2.
|
|
1026
|
+
version: "22.2.4",
|
|
1008
1027
|
type: HelixNavRail,
|
|
1009
1028
|
isStandalone: true,
|
|
1010
1029
|
selector: "helix-nav-rail",
|
|
@@ -1041,7 +1060,7 @@ var HelixNavRail = class HelixNavRail {
|
|
|
1041
1060
|
}],
|
|
1042
1061
|
ngImport: i0,
|
|
1043
1062
|
template: "<aside class=\"helix-nav-rail\" [class.helix-nav-rail-collapsed]=\"store.isCollapsed()\">\n <div class=\"helix-nav-rail-brand\">\n <a routerLink=\"/\">\n @if (brandIcon(); as icon) {\n @if (isInlineSvg()) {\n <span [innerHTML]=\"safeBrandIcon()\"></span>\n } @else {\n <img [src]=\"icon\" alt=\"\" width=\"24\" height=\"24\" />\n }\n } @else {\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"var(--primary-color)\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <path d=\"m10 16 1.5 1.5\" />\n <path d=\"m14 8-1.5-1.5\" />\n <path d=\"M15 2c-1.798 1.998-2.518 3.995-2.807 5.993\" />\n <path d=\"m16.5 10.5 1 1\" />\n <path d=\"m17 6-2.891-2.891\" />\n <path d=\"M2 15c6.667-6 13.333 0 20-6\" />\n <path d=\"m20 9 .891.891\" />\n <path d=\"M3.109 14.109 4 15\" />\n <path d=\"m6.5 12.5 1 1\" />\n <path d=\"m7 18 2.891 2.891\" />\n <path d=\"M9 22c1.798-1.998 2.518-3.995 2.807-5.993\" />\n </svg>\n }\n @if (!store.isCollapsed()) {\n <span class=\"helix-nav-rail-brand-text\">\n <span>{{ appTitle() }}</span>\n </span>\n }\n </a>\n </div>\n\n @if (!store.isCollapsed()) {\n <div class=\"helix-nav-rail-search\">\n <i class=\"pi pi-search\" aria-hidden=\"true\"></i>\n <input\n #search\n type=\"search\"\n autocomplete=\"off\"\n placeholder=\"Search\"\n aria-label=\"Filter navigation\"\n [value]=\"query()\"\n (input)=\"onSearchInput($event)\"\n (keydown)=\"onSearchKeydown($event)\"\n />\n <kbd aria-hidden=\"true\">Ctrl K</kbd>\n </div>\n }\n\n <nav class=\"helix-nav-rail-nav\" aria-label=\"Main\">\n @for (group of visibleModel(); track group.section ?? $index) {\n <div class=\"helix-nav-rail-group\">\n @if (group.section && !store.isCollapsed()) {\n <button\n type=\"button\"\n class=\"helix-nav-rail-section\"\n [attr.aria-expanded]=\"!isGroupCollapsed(group)\"\n (click)=\"toggleGroup(group)\"\n >\n <span>{{ group.section }}</span>\n <i\n class=\"pi pi-chevron-down helix-nav-rail-section-chevron\"\n [class.helix-nav-rail-section-chevron-closed]=\"isGroupCollapsed(group)\"\n aria-hidden=\"true\"\n ></i>\n </button>\n }\n @if (group.section && store.isCollapsed() && $index > 0) {\n <div class=\"helix-nav-rail-divider\"></div>\n }\n <ul class=\"helix-nav-rail-list\" [hidden]=\"isGroupCollapsed(group)\">\n @if (store.isCollapsed() && group.section && group.icon) {\n <li\n helix-nav-rail-item\n [item]=\"{ label: group.section, icon: group.icon, items: group.items }\"\n [parentPath]=\"null\"\n [depth]=\"0\"\n ></li>\n } @else {\n @for (item of group.items; track item.label) {\n <li\n helix-nav-rail-item\n [item]=\"item\"\n [parentPath]=\"null\"\n [depth]=\"0\"\n [expandAll]=\"isFiltering()\"\n ></li>\n }\n }\n </ul>\n </div>\n }\n </nav>\n\n <div class=\"helix-nav-rail-footer\">\n <button\n type=\"button\"\n class=\"helix-nav-rail-collapse-button\"\n (click)=\"store.toggleSidebar()\"\n [hx-tooltip]=\"store.isCollapsed() ? 'Expand navigation' : 'Collapse navigation'\"\n hxTooltipPosition=\"top\"\n [attr.aria-label]=\"store.isCollapsed() ? 'Expand navigation' : 'Collapse navigation'\"\n [attr.aria-expanded]=\"!store.isCollapsed()\"\n >\n <i\n class=\"pi\"\n [ngClass]=\"{\n 'pi-angle-double-left': !store.isCollapsed(),\n 'pi-angle-double-right': store.isCollapsed(),\n }\"\n ></i>\n </button>\n </div>\n</aside>\n",
|
|
1044
|
-
styles: [":host{--helix-nav-text: var(--text-color);--helix-nav-text-muted: var(--text-color-secondary);--helix-nav-hover-bg: var(--helix-surface-hover);--helix-nav-active-bg: color-mix(in srgb, var(--primary-color) 12%, transparent);--helix-nav-active-text: var(--text-color);--helix-nav-accent: var(--primary-color);--helix-nav-border: var(--helix-border);display:contents}.helix-nav-rail{display:flex;flex-direction:column;position:fixed;top:
|
|
1063
|
+
styles: [":host{--helix-nav-text: var(--text-color);--helix-nav-text-muted: var(--text-color-secondary);--helix-nav-hover-bg: var(--helix-surface-hover);--helix-nav-active-bg: color-mix(in srgb, var(--primary-color) 12%, transparent);--helix-nav-active-text: var(--text-color);--helix-nav-accent: var(--primary-color);--helix-nav-border: var(--helix-border);display:contents}.helix-nav-rail{display:flex;flex-direction:column;position:fixed;top:var(--helix-panel-gap);bottom:calc(var(--helix-status-bar-height) + var(--helix-panel-gap));left:var(--helix-panel-gap);width:var(--helix-nav-width, 17rem);z-index:999;-webkit-user-select:none;user-select:none;box-sizing:border-box;background:var(--h-content-background);color:var(--helix-nav-text);border:1px solid var(--h-content-border-color);border-radius:var(--helix-panel-radius);transition:width var(--layout-section-transition-duration)}.helix-nav-rail.helix-nav-rail-collapsed{width:var(--helix-nav-width-collapsed, 4.75rem)}.helix-nav-rail-brand{flex:0 0 auto;height:var(--helix-topbar-height, 4rem);display:flex;align-items:center;padding:0 1.25rem;gap:.65rem;overflow:hidden}.helix-nav-rail-brand a{display:flex;align-items:center;gap:.65rem;color:var(--text-color);font-size:1.15rem;font-weight:600;white-space:nowrap;text-decoration:none;min-width:0}.helix-nav-rail-brand a:hover{color:var(--text-color)}.helix-nav-rail-brand svg{flex-shrink:0;width:1.75rem;height:1.75rem}.helix-nav-rail-brand .helix-nav-rail-brand-text{display:flex;align-items:center;gap:.5rem;overflow:hidden;min-width:0}.helix-nav-rail-collapsed .helix-nav-rail-brand{justify-content:center;padding:0}.helix-nav-rail-collapsed .helix-nav-rail-brand a{gap:0}.helix-nav-rail-nav{flex:1;overflow-y:auto;overflow-x:hidden;padding:.85rem .65rem}.helix-nav-rail-group{margin-bottom:1.35rem}.helix-nav-rail-section{display:flex;align-items:center;justify-content:space-between;width:100%;margin:0;padding:.5rem .75rem .4rem;border:0;background:none;font:inherit;font-size:.74rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;text-align:left;color:var(--helix-nav-text-muted);cursor:pointer;border-radius:var(--content-border-radius);outline:0 none}.helix-nav-rail-section:hover{color:var(--helix-nav-text)}.helix-nav-rail-section:focus-visible{outline:2px solid var(--primary-color);outline-offset:-2px}.helix-nav-rail-section-chevron{font-size:.65rem;transition:transform var(--element-transition-duration)}.helix-nav-rail-section-chevron.helix-nav-rail-section-chevron-closed{transform:rotate(-90deg)}.helix-nav-rail-search{position:relative;flex:0 0 auto;display:flex;align-items:center;margin:.75rem .65rem 0;padding:0 .6rem;gap:.5rem;box-sizing:border-box;height:var(--helix-control-height, 32px);border-radius:var(--h-inputtext-border-radius);border:1px solid var(--h-inputtext-border-color);background:var(--h-inputtext-background);color:var(--helix-nav-text-muted);transition:border-color var(--h-inputtext-transition-duration),outline-color var(--h-inputtext-transition-duration)}.helix-nav-rail-search:hover{border-color:var(--h-inputtext-hover-border-color)}.helix-nav-rail-search:focus-within{border-color:var(--h-inputtext-focus-border-color);outline:var(--h-inputtext-focus-ring-width) var(--h-inputtext-focus-ring-style) var(--h-inputtext-focus-ring-color);outline-offset:var(--h-inputtext-focus-ring-offset)}.helix-nav-rail-search input{flex:1 1 auto;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:1rem;color:var(--h-inputtext-color)}.helix-nav-rail-search input::placeholder{color:var(--h-inputtext-placeholder-color)}.helix-nav-rail-search kbd{font:inherit;font-size:.68rem;padding:.1rem .35rem;border-radius:4px;border:1px solid var(--helix-nav-border);color:var(--helix-nav-text-muted);white-space:nowrap}.helix-nav-rail-search:focus-within kbd{display:none}.helix-nav-rail-divider{height:1px;background:var(--helix-nav-border);margin:.5rem}.helix-nav-rail-list{margin:0;padding:0;list-style-type:none}.helix-nav-rail-footer{flex:0 0 auto;display:flex;align-items:flex-end;justify-content:space-between;gap:.25rem;min-height:calc(var(--helix-control-height, 32px) + 1rem);box-sizing:border-box;padding:.5rem .65rem}.helix-nav-rail-collapsed .helix-nav-rail-footer{flex-direction:column;align-items:center;justify-content:flex-end}.helix-nav-rail-collapse-button{display:flex;align-items:center;justify-content:center;width:var(--helix-control-height, 32px);height:var(--helix-control-height, 32px);padding:0;border:none;border-radius:var(--h-border-radius-md);background-color:transparent;color:var(--helix-nav-text-muted);cursor:pointer;transition:background-color var(--element-transition-duration),color var(--element-transition-duration)}.helix-nav-rail-collapse-button:hover{background-color:var(--helix-surface-hover);color:var(--helix-nav-text)}.helix-nav-rail-collapse-button:focus-visible{outline:2px solid var(--primary-color);outline-offset:-2px}@media(max-width:991px){.helix-nav-rail-collapse-button{display:none}}\n"],
|
|
1045
1064
|
dependencies: [
|
|
1046
1065
|
{
|
|
1047
1066
|
kind: "ngmodule",
|
|
@@ -1106,7 +1125,7 @@ var HelixNavRail = class HelixNavRail {
|
|
|
1106
1125
|
};
|
|
1107
1126
|
i0.ɵɵngDeclareClassMetadata({
|
|
1108
1127
|
minVersion: "12.0.0",
|
|
1109
|
-
version: "22.2.
|
|
1128
|
+
version: "22.2.4",
|
|
1110
1129
|
ngImport: i0,
|
|
1111
1130
|
type: HelixNavRail,
|
|
1112
1131
|
decorators: [{
|
|
@@ -1123,7 +1142,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1123
1142
|
changeDetection: ChangeDetectionStrategy.Eager,
|
|
1124
1143
|
host: { "(document:keydown)": "onDocumentKeydown($event)" },
|
|
1125
1144
|
template: "<aside class=\"helix-nav-rail\" [class.helix-nav-rail-collapsed]=\"store.isCollapsed()\">\n <div class=\"helix-nav-rail-brand\">\n <a routerLink=\"/\">\n @if (brandIcon(); as icon) {\n @if (isInlineSvg()) {\n <span [innerHTML]=\"safeBrandIcon()\"></span>\n } @else {\n <img [src]=\"icon\" alt=\"\" width=\"24\" height=\"24\" />\n }\n } @else {\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"var(--primary-color)\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n >\n <path d=\"m10 16 1.5 1.5\" />\n <path d=\"m14 8-1.5-1.5\" />\n <path d=\"M15 2c-1.798 1.998-2.518 3.995-2.807 5.993\" />\n <path d=\"m16.5 10.5 1 1\" />\n <path d=\"m17 6-2.891-2.891\" />\n <path d=\"M2 15c6.667-6 13.333 0 20-6\" />\n <path d=\"m20 9 .891.891\" />\n <path d=\"M3.109 14.109 4 15\" />\n <path d=\"m6.5 12.5 1 1\" />\n <path d=\"m7 18 2.891 2.891\" />\n <path d=\"M9 22c1.798-1.998 2.518-3.995 2.807-5.993\" />\n </svg>\n }\n @if (!store.isCollapsed()) {\n <span class=\"helix-nav-rail-brand-text\">\n <span>{{ appTitle() }}</span>\n </span>\n }\n </a>\n </div>\n\n @if (!store.isCollapsed()) {\n <div class=\"helix-nav-rail-search\">\n <i class=\"pi pi-search\" aria-hidden=\"true\"></i>\n <input\n #search\n type=\"search\"\n autocomplete=\"off\"\n placeholder=\"Search\"\n aria-label=\"Filter navigation\"\n [value]=\"query()\"\n (input)=\"onSearchInput($event)\"\n (keydown)=\"onSearchKeydown($event)\"\n />\n <kbd aria-hidden=\"true\">Ctrl K</kbd>\n </div>\n }\n\n <nav class=\"helix-nav-rail-nav\" aria-label=\"Main\">\n @for (group of visibleModel(); track group.section ?? $index) {\n <div class=\"helix-nav-rail-group\">\n @if (group.section && !store.isCollapsed()) {\n <button\n type=\"button\"\n class=\"helix-nav-rail-section\"\n [attr.aria-expanded]=\"!isGroupCollapsed(group)\"\n (click)=\"toggleGroup(group)\"\n >\n <span>{{ group.section }}</span>\n <i\n class=\"pi pi-chevron-down helix-nav-rail-section-chevron\"\n [class.helix-nav-rail-section-chevron-closed]=\"isGroupCollapsed(group)\"\n aria-hidden=\"true\"\n ></i>\n </button>\n }\n @if (group.section && store.isCollapsed() && $index > 0) {\n <div class=\"helix-nav-rail-divider\"></div>\n }\n <ul class=\"helix-nav-rail-list\" [hidden]=\"isGroupCollapsed(group)\">\n @if (store.isCollapsed() && group.section && group.icon) {\n <li\n helix-nav-rail-item\n [item]=\"{ label: group.section, icon: group.icon, items: group.items }\"\n [parentPath]=\"null\"\n [depth]=\"0\"\n ></li>\n } @else {\n @for (item of group.items; track item.label) {\n <li\n helix-nav-rail-item\n [item]=\"item\"\n [parentPath]=\"null\"\n [depth]=\"0\"\n [expandAll]=\"isFiltering()\"\n ></li>\n }\n }\n </ul>\n </div>\n }\n </nav>\n\n <div class=\"helix-nav-rail-footer\">\n <button\n type=\"button\"\n class=\"helix-nav-rail-collapse-button\"\n (click)=\"store.toggleSidebar()\"\n [hx-tooltip]=\"store.isCollapsed() ? 'Expand navigation' : 'Collapse navigation'\"\n hxTooltipPosition=\"top\"\n [attr.aria-label]=\"store.isCollapsed() ? 'Expand navigation' : 'Collapse navigation'\"\n [attr.aria-expanded]=\"!store.isCollapsed()\"\n >\n <i\n class=\"pi\"\n [ngClass]=\"{\n 'pi-angle-double-left': !store.isCollapsed(),\n 'pi-angle-double-right': store.isCollapsed(),\n }\"\n ></i>\n </button>\n </div>\n</aside>\n",
|
|
1126
|
-
styles: [":host{--helix-nav-text: var(--text-color);--helix-nav-text-muted: var(--text-color-secondary);--helix-nav-hover-bg: var(--helix-surface-hover);--helix-nav-active-bg: color-mix(in srgb, var(--primary-color) 12%, transparent);--helix-nav-active-text: var(--text-color);--helix-nav-accent: var(--primary-color);--helix-nav-border: var(--helix-border);display:contents}.helix-nav-rail{display:flex;flex-direction:column;position:fixed;top:
|
|
1145
|
+
styles: [":host{--helix-nav-text: var(--text-color);--helix-nav-text-muted: var(--text-color-secondary);--helix-nav-hover-bg: var(--helix-surface-hover);--helix-nav-active-bg: color-mix(in srgb, var(--primary-color) 12%, transparent);--helix-nav-active-text: var(--text-color);--helix-nav-accent: var(--primary-color);--helix-nav-border: var(--helix-border);display:contents}.helix-nav-rail{display:flex;flex-direction:column;position:fixed;top:var(--helix-panel-gap);bottom:calc(var(--helix-status-bar-height) + var(--helix-panel-gap));left:var(--helix-panel-gap);width:var(--helix-nav-width, 17rem);z-index:999;-webkit-user-select:none;user-select:none;box-sizing:border-box;background:var(--h-content-background);color:var(--helix-nav-text);border:1px solid var(--h-content-border-color);border-radius:var(--helix-panel-radius);transition:width var(--layout-section-transition-duration)}.helix-nav-rail.helix-nav-rail-collapsed{width:var(--helix-nav-width-collapsed, 4.75rem)}.helix-nav-rail-brand{flex:0 0 auto;height:var(--helix-topbar-height, 4rem);display:flex;align-items:center;padding:0 1.25rem;gap:.65rem;overflow:hidden}.helix-nav-rail-brand a{display:flex;align-items:center;gap:.65rem;color:var(--text-color);font-size:1.15rem;font-weight:600;white-space:nowrap;text-decoration:none;min-width:0}.helix-nav-rail-brand a:hover{color:var(--text-color)}.helix-nav-rail-brand svg{flex-shrink:0;width:1.75rem;height:1.75rem}.helix-nav-rail-brand .helix-nav-rail-brand-text{display:flex;align-items:center;gap:.5rem;overflow:hidden;min-width:0}.helix-nav-rail-collapsed .helix-nav-rail-brand{justify-content:center;padding:0}.helix-nav-rail-collapsed .helix-nav-rail-brand a{gap:0}.helix-nav-rail-nav{flex:1;overflow-y:auto;overflow-x:hidden;padding:.85rem .65rem}.helix-nav-rail-group{margin-bottom:1.35rem}.helix-nav-rail-section{display:flex;align-items:center;justify-content:space-between;width:100%;margin:0;padding:.5rem .75rem .4rem;border:0;background:none;font:inherit;font-size:.74rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;text-align:left;color:var(--helix-nav-text-muted);cursor:pointer;border-radius:var(--content-border-radius);outline:0 none}.helix-nav-rail-section:hover{color:var(--helix-nav-text)}.helix-nav-rail-section:focus-visible{outline:2px solid var(--primary-color);outline-offset:-2px}.helix-nav-rail-section-chevron{font-size:.65rem;transition:transform var(--element-transition-duration)}.helix-nav-rail-section-chevron.helix-nav-rail-section-chevron-closed{transform:rotate(-90deg)}.helix-nav-rail-search{position:relative;flex:0 0 auto;display:flex;align-items:center;margin:.75rem .65rem 0;padding:0 .6rem;gap:.5rem;box-sizing:border-box;height:var(--helix-control-height, 32px);border-radius:var(--h-inputtext-border-radius);border:1px solid var(--h-inputtext-border-color);background:var(--h-inputtext-background);color:var(--helix-nav-text-muted);transition:border-color var(--h-inputtext-transition-duration),outline-color var(--h-inputtext-transition-duration)}.helix-nav-rail-search:hover{border-color:var(--h-inputtext-hover-border-color)}.helix-nav-rail-search:focus-within{border-color:var(--h-inputtext-focus-border-color);outline:var(--h-inputtext-focus-ring-width) var(--h-inputtext-focus-ring-style) var(--h-inputtext-focus-ring-color);outline-offset:var(--h-inputtext-focus-ring-offset)}.helix-nav-rail-search input{flex:1 1 auto;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:1rem;color:var(--h-inputtext-color)}.helix-nav-rail-search input::placeholder{color:var(--h-inputtext-placeholder-color)}.helix-nav-rail-search kbd{font:inherit;font-size:.68rem;padding:.1rem .35rem;border-radius:4px;border:1px solid var(--helix-nav-border);color:var(--helix-nav-text-muted);white-space:nowrap}.helix-nav-rail-search:focus-within kbd{display:none}.helix-nav-rail-divider{height:1px;background:var(--helix-nav-border);margin:.5rem}.helix-nav-rail-list{margin:0;padding:0;list-style-type:none}.helix-nav-rail-footer{flex:0 0 auto;display:flex;align-items:flex-end;justify-content:space-between;gap:.25rem;min-height:calc(var(--helix-control-height, 32px) + 1rem);box-sizing:border-box;padding:.5rem .65rem}.helix-nav-rail-collapsed .helix-nav-rail-footer{flex-direction:column;align-items:center;justify-content:flex-end}.helix-nav-rail-collapse-button{display:flex;align-items:center;justify-content:center;width:var(--helix-control-height, 32px);height:var(--helix-control-height, 32px);padding:0;border:none;border-radius:var(--h-border-radius-md);background-color:transparent;color:var(--helix-nav-text-muted);cursor:pointer;transition:background-color var(--element-transition-duration),color var(--element-transition-duration)}.helix-nav-rail-collapse-button:hover{background-color:var(--helix-surface-hover);color:var(--helix-nav-text)}.helix-nav-rail-collapse-button:focus-visible{outline:2px solid var(--primary-color);outline-offset:-2px}@media(max-width:991px){.helix-nav-rail-collapse-button{display:none}}\n"]
|
|
1127
1146
|
}]
|
|
1128
1147
|
}],
|
|
1129
1148
|
ctorParameters: () => [],
|
|
@@ -1184,7 +1203,7 @@ var HelixBadge = class HelixBadge {
|
|
|
1184
1203
|
size = input("md", ...ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []);
|
|
1185
1204
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1186
1205
|
minVersion: "12.0.0",
|
|
1187
|
-
version: "22.2.
|
|
1206
|
+
version: "22.2.4",
|
|
1188
1207
|
ngImport: i0,
|
|
1189
1208
|
type: HelixBadge,
|
|
1190
1209
|
deps: [],
|
|
@@ -1192,7 +1211,7 @@ var HelixBadge = class HelixBadge {
|
|
|
1192
1211
|
});
|
|
1193
1212
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1194
1213
|
minVersion: "17.0.0",
|
|
1195
|
-
version: "22.2.
|
|
1214
|
+
version: "22.2.4",
|
|
1196
1215
|
type: HelixBadge,
|
|
1197
1216
|
isStandalone: true,
|
|
1198
1217
|
selector: "helix-badge",
|
|
@@ -1251,7 +1270,7 @@ var HelixBadge = class HelixBadge {
|
|
|
1251
1270
|
};
|
|
1252
1271
|
i0.ɵɵngDeclareClassMetadata({
|
|
1253
1272
|
minVersion: "12.0.0",
|
|
1254
|
-
version: "22.2.
|
|
1273
|
+
version: "22.2.4",
|
|
1255
1274
|
ngImport: i0,
|
|
1256
1275
|
type: HelixBadge,
|
|
1257
1276
|
decorators: [{
|
|
@@ -1358,7 +1377,7 @@ var HelixEnvironmentBadge = class HelixEnvironmentBadge {
|
|
|
1358
1377
|
}, ...ngDevMode ? [{ debugName: "mapped" }] : /* istanbul ignore next */ []);
|
|
1359
1378
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1360
1379
|
minVersion: "12.0.0",
|
|
1361
|
-
version: "22.2.
|
|
1380
|
+
version: "22.2.4",
|
|
1362
1381
|
ngImport: i0,
|
|
1363
1382
|
type: HelixEnvironmentBadge,
|
|
1364
1383
|
deps: [],
|
|
@@ -1366,7 +1385,7 @@ var HelixEnvironmentBadge = class HelixEnvironmentBadge {
|
|
|
1366
1385
|
});
|
|
1367
1386
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1368
1387
|
minVersion: "17.1.0",
|
|
1369
|
-
version: "22.2.
|
|
1388
|
+
version: "22.2.4",
|
|
1370
1389
|
type: HelixEnvironmentBadge,
|
|
1371
1390
|
isStandalone: true,
|
|
1372
1391
|
selector: "helix-environment-badge",
|
|
@@ -1402,7 +1421,7 @@ var HelixEnvironmentBadge = class HelixEnvironmentBadge {
|
|
|
1402
1421
|
};
|
|
1403
1422
|
i0.ɵɵngDeclareClassMetadata({
|
|
1404
1423
|
minVersion: "12.0.0",
|
|
1405
|
-
version: "22.2.
|
|
1424
|
+
version: "22.2.4",
|
|
1406
1425
|
ngImport: i0,
|
|
1407
1426
|
type: HelixEnvironmentBadge,
|
|
1408
1427
|
decorators: [{
|
|
@@ -1431,11 +1450,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1431
1450
|
}] }
|
|
1432
1451
|
});
|
|
1433
1452
|
const TONE_BG = {
|
|
1434
|
-
staging: "var(--h-amber-
|
|
1435
|
-
production: "var(--h-surface-800, #
|
|
1436
|
-
success: "var(--h-green-
|
|
1437
|
-
danger: "var(--h-red-
|
|
1438
|
-
neutral: "
|
|
1453
|
+
staging: "var(--h-amber-700, #996548)",
|
|
1454
|
+
production: "var(--h-surface-800, #202127)",
|
|
1455
|
+
success: "var(--h-green-700, #4a7754)",
|
|
1456
|
+
danger: "var(--h-red-700, #984b43)",
|
|
1457
|
+
neutral: "transparent"
|
|
1439
1458
|
};
|
|
1440
1459
|
const TONE_TEXT = {
|
|
1441
1460
|
staging: "#fff",
|
|
@@ -1450,7 +1469,7 @@ var HelixStatusBar = class HelixStatusBar {
|
|
|
1450
1469
|
note = input(...ngDevMode ? [void 0, { debugName: "note" }] : /* istanbul ignore next */ []);
|
|
1451
1470
|
versions = input([], ...ngDevMode ? [{ debugName: "versions" }] : /* istanbul ignore next */ []);
|
|
1452
1471
|
tone = input("neutral", ...ngDevMode ? [{ debugName: "tone" }] : /* istanbul ignore next */ []);
|
|
1453
|
-
height = input("var(--helix-status-bar-height,
|
|
1472
|
+
height = input("var(--helix-status-bar-height, 28px)", ...ngDevMode ? [{ debugName: "height" }] : /* istanbul ignore next */ []);
|
|
1454
1473
|
envForBadge = computed(() => this.environment() || void 0, ...ngDevMode ? [{ debugName: "envForBadge" }] : /* istanbul ignore next */ []);
|
|
1455
1474
|
noteTemplate = computed(() => {
|
|
1456
1475
|
const n = this.note();
|
|
@@ -1461,10 +1480,11 @@ var HelixStatusBar = class HelixStatusBar {
|
|
|
1461
1480
|
return typeof n === "string" ? n : "";
|
|
1462
1481
|
}, ...ngDevMode ? [{ debugName: "noteText" }] : /* istanbul ignore next */ []);
|
|
1463
1482
|
bgColor = computed(() => TONE_BG[this.tone()], ...ngDevMode ? [{ debugName: "bgColor" }] : /* istanbul ignore next */ []);
|
|
1483
|
+
tinted = computed(() => this.tone() !== "neutral", ...ngDevMode ? [{ debugName: "tinted" }] : /* istanbul ignore next */ []);
|
|
1464
1484
|
textColor = computed(() => TONE_TEXT[this.tone()], ...ngDevMode ? [{ debugName: "textColor" }] : /* istanbul ignore next */ []);
|
|
1465
1485
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1466
1486
|
minVersion: "12.0.0",
|
|
1467
|
-
version: "22.2.
|
|
1487
|
+
version: "22.2.4",
|
|
1468
1488
|
ngImport: i0,
|
|
1469
1489
|
type: HelixStatusBar,
|
|
1470
1490
|
deps: [],
|
|
@@ -1472,7 +1492,7 @@ var HelixStatusBar = class HelixStatusBar {
|
|
|
1472
1492
|
});
|
|
1473
1493
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1474
1494
|
minVersion: "17.0.0",
|
|
1475
|
-
version: "22.2.
|
|
1495
|
+
version: "22.2.4",
|
|
1476
1496
|
type: HelixStatusBar,
|
|
1477
1497
|
isStandalone: true,
|
|
1478
1498
|
selector: "helix-status-bar",
|
|
@@ -1521,8 +1541,8 @@ var HelixStatusBar = class HelixStatusBar {
|
|
|
1521
1541
|
}
|
|
1522
1542
|
},
|
|
1523
1543
|
ngImport: i0,
|
|
1524
|
-
template: "<div\n class=\"helix-status-bar\"\n [style.height]=\"height()\"\n [style.background-color]=\"bgColor()\"\n [style.color]=\"textColor()\"\n>\n <span class=\"helix-status-bar-brand\">{{ brand() }}</span>\n\n @if (envForBadge(); as env) {\n <helix-environment-badge [environment]=\"env\" />\n }\n\n @if (note(); as n) {\n <span class=\"helix-status-bar-note\">\n @if (noteTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n {{ noteText() }}\n }\n </span>\n }\n\n <div class=\"helix-status-bar-versions\">\n @for (ver of versions(); track ver.label) {\n <span class=\"helix-status-bar-version\">\n <span class=\"helix-status-bar-version-label\">{{ ver.label }}:</span>\n <span class=\"helix-status-bar-version-value\">{{ ver.value }}</span>\n </span>\n }\n </div>\n <div class=\"helix-status-bar-end\"><ng-content select=\"[hxStatusBarEnd]\" /></div>\n</div>\n",
|
|
1525
|
-
styles: [".helix-status-bar{display:flex;align-items:center;gap:1rem;padding:0
|
|
1544
|
+
template: "<div\n class=\"helix-status-bar\"\n [class.helix-status-bar-tinted]=\"tinted()\"\n [style.height]=\"height()\"\n [style.background-color]=\"bgColor()\"\n [style.color]=\"textColor()\"\n>\n <span class=\"helix-status-bar-brand\">{{ brand() }}</span>\n\n @if (envForBadge(); as env) {\n <helix-environment-badge [environment]=\"env\" />\n }\n\n @if (note(); as n) {\n <span class=\"helix-status-bar-note\">\n @if (noteTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n {{ noteText() }}\n }\n </span>\n }\n\n <div class=\"helix-status-bar-versions\">\n @for (ver of versions(); track ver.label) {\n <span class=\"helix-status-bar-version\">\n <span class=\"helix-status-bar-version-label\">{{ ver.label }}:</span>\n <span class=\"helix-status-bar-version-value\">{{ ver.value }}</span>\n </span>\n }\n </div>\n <div class=\"helix-status-bar-end\"><ng-content select=\"[hxStatusBarEnd]\" /></div>\n</div>\n",
|
|
1545
|
+
styles: [".helix-status-bar{display:flex;align-items:center;gap:1rem;padding:0 var(--helix-panel-gap, 4px);height:var(--helix-status-bar-height, 28px);font-size:.75rem;font-weight:500;white-space:nowrap;overflow:hidden;box-sizing:border-box}.helix-status-bar-tinted{margin:0 var(--helix-panel-gap, 4px);padding:0 .75rem;border-radius:var(--helix-panel-radius, 6px)}.helix-status-bar-brand{font-weight:700;flex-shrink:0}.helix-status-bar-note{overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}.helix-status-bar-versions{display:flex;gap:.75rem;flex-shrink:0}.helix-status-bar-note a{color:inherit;text-decoration:none}.helix-status-bar-note a:hover{text-decoration:underline}.helix-status-bar-end{display:flex;align-items:center;gap:.75rem;flex-shrink:0;margin-left:auto}.helix-status-bar-end:empty{display:none}.helix-status-bar-version{display:inline-flex;gap:.25rem}.helix-status-bar-version-label{font-weight:400}.helix-status-bar-version-value{font-weight:600}\n"],
|
|
1526
1546
|
dependencies: [{
|
|
1527
1547
|
kind: "component",
|
|
1528
1548
|
type: HelixEnvironmentBadge,
|
|
@@ -1543,7 +1563,7 @@ var HelixStatusBar = class HelixStatusBar {
|
|
|
1543
1563
|
};
|
|
1544
1564
|
i0.ɵɵngDeclareClassMetadata({
|
|
1545
1565
|
minVersion: "12.0.0",
|
|
1546
|
-
version: "22.2.
|
|
1566
|
+
version: "22.2.4",
|
|
1547
1567
|
ngImport: i0,
|
|
1548
1568
|
type: HelixStatusBar,
|
|
1549
1569
|
decorators: [{
|
|
@@ -1553,8 +1573,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1553
1573
|
standalone: true,
|
|
1554
1574
|
imports: [HelixEnvironmentBadge, NgTemplateOutlet],
|
|
1555
1575
|
changeDetection: ChangeDetectionStrategy.Eager,
|
|
1556
|
-
template: "<div\n class=\"helix-status-bar\"\n [style.height]=\"height()\"\n [style.background-color]=\"bgColor()\"\n [style.color]=\"textColor()\"\n>\n <span class=\"helix-status-bar-brand\">{{ brand() }}</span>\n\n @if (envForBadge(); as env) {\n <helix-environment-badge [environment]=\"env\" />\n }\n\n @if (note(); as n) {\n <span class=\"helix-status-bar-note\">\n @if (noteTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n {{ noteText() }}\n }\n </span>\n }\n\n <div class=\"helix-status-bar-versions\">\n @for (ver of versions(); track ver.label) {\n <span class=\"helix-status-bar-version\">\n <span class=\"helix-status-bar-version-label\">{{ ver.label }}:</span>\n <span class=\"helix-status-bar-version-value\">{{ ver.value }}</span>\n </span>\n }\n </div>\n <div class=\"helix-status-bar-end\"><ng-content select=\"[hxStatusBarEnd]\" /></div>\n</div>\n",
|
|
1557
|
-
styles: [".helix-status-bar{display:flex;align-items:center;gap:1rem;padding:0
|
|
1576
|
+
template: "<div\n class=\"helix-status-bar\"\n [class.helix-status-bar-tinted]=\"tinted()\"\n [style.height]=\"height()\"\n [style.background-color]=\"bgColor()\"\n [style.color]=\"textColor()\"\n>\n <span class=\"helix-status-bar-brand\">{{ brand() }}</span>\n\n @if (envForBadge(); as env) {\n <helix-environment-badge [environment]=\"env\" />\n }\n\n @if (note(); as n) {\n <span class=\"helix-status-bar-note\">\n @if (noteTemplate(); as tpl) {\n <ng-container [ngTemplateOutlet]=\"tpl\" />\n } @else {\n {{ noteText() }}\n }\n </span>\n }\n\n <div class=\"helix-status-bar-versions\">\n @for (ver of versions(); track ver.label) {\n <span class=\"helix-status-bar-version\">\n <span class=\"helix-status-bar-version-label\">{{ ver.label }}:</span>\n <span class=\"helix-status-bar-version-value\">{{ ver.value }}</span>\n </span>\n }\n </div>\n <div class=\"helix-status-bar-end\"><ng-content select=\"[hxStatusBarEnd]\" /></div>\n</div>\n",
|
|
1577
|
+
styles: [".helix-status-bar{display:flex;align-items:center;gap:1rem;padding:0 var(--helix-panel-gap, 4px);height:var(--helix-status-bar-height, 28px);font-size:.75rem;font-weight:500;white-space:nowrap;overflow:hidden;box-sizing:border-box}.helix-status-bar-tinted{margin:0 var(--helix-panel-gap, 4px);padding:0 .75rem;border-radius:var(--helix-panel-radius, 6px)}.helix-status-bar-brand{font-weight:700;flex-shrink:0}.helix-status-bar-note{overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}.helix-status-bar-versions{display:flex;gap:.75rem;flex-shrink:0}.helix-status-bar-note a{color:inherit;text-decoration:none}.helix-status-bar-note a:hover{text-decoration:underline}.helix-status-bar-end{display:flex;align-items:center;gap:.75rem;flex-shrink:0;margin-left:auto}.helix-status-bar-end:empty{display:none}.helix-status-bar-version{display:inline-flex;gap:.25rem}.helix-status-bar-version-label{font-weight:400}.helix-status-bar-version-value{font-weight:600}\n"]
|
|
1558
1578
|
}]
|
|
1559
1579
|
}],
|
|
1560
1580
|
propDecorators: {
|
|
@@ -1608,6 +1628,103 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1608
1628
|
}]
|
|
1609
1629
|
}
|
|
1610
1630
|
});
|
|
1631
|
+
var HelixAlertAction = class HelixAlertAction {
|
|
1632
|
+
count = input.required(...ngDevMode ? [{ debugName: "count" }] : /* istanbul ignore next */ []);
|
|
1633
|
+
alerts = input(...ngDevMode ? [void 0, { debugName: "alerts" }] : /* istanbul ignore next */ []);
|
|
1634
|
+
open = signal(false, ...ngDevMode ? [{ debugName: "open" }] : /* istanbul ignore next */ []);
|
|
1635
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1636
|
+
minVersion: "12.0.0",
|
|
1637
|
+
version: "22.2.4",
|
|
1638
|
+
ngImport: i0,
|
|
1639
|
+
type: HelixAlertAction,
|
|
1640
|
+
deps: [],
|
|
1641
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
1642
|
+
});
|
|
1643
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1644
|
+
minVersion: "17.0.0",
|
|
1645
|
+
version: "22.2.4",
|
|
1646
|
+
type: HelixAlertAction,
|
|
1647
|
+
isStandalone: true,
|
|
1648
|
+
selector: "helix-alert-action",
|
|
1649
|
+
inputs: {
|
|
1650
|
+
count: {
|
|
1651
|
+
classPropertyName: "count",
|
|
1652
|
+
publicName: "count",
|
|
1653
|
+
isSignal: true,
|
|
1654
|
+
isRequired: true,
|
|
1655
|
+
transformFunction: null
|
|
1656
|
+
},
|
|
1657
|
+
alerts: {
|
|
1658
|
+
classPropertyName: "alerts",
|
|
1659
|
+
publicName: "alerts",
|
|
1660
|
+
isSignal: true,
|
|
1661
|
+
isRequired: false,
|
|
1662
|
+
transformFunction: null
|
|
1663
|
+
}
|
|
1664
|
+
},
|
|
1665
|
+
ngImport: i0,
|
|
1666
|
+
template: "<button type=\"button\" class=\"alert-badge-trigger\" (click)=\"open.set(!open())\" (blur)=\"open.set(false)\">\n <i class=\"pi pi-bell\"></i>\n @if (count() > 0) {\n <span class=\"alert-badge-count\">{{ count() }}</span>\n }\n</button>\n@if (open() && alerts() && alerts()!.length > 0) {\n <div class=\"alert-badge-dropdown\">\n @for (alert of alerts(); track alert.id) {\n <a\n class=\"alert-badge-item\"\n [class.alert-badge-item--warn]=\"alert.severity === 'warn'\"\n [class.alert-badge-item--error]=\"alert.severity === 'error'\"\n [class.alert-badge-item--success]=\"alert.severity === 'success'\"\n [routerLink]=\"alert.route || undefined\"\n >\n <span class=\"alert-badge-dot\"></span>\n <span class=\"alert-badge-label\">{{ alert.label }}</span>\n </a>\n }\n </div>\n}\n",
|
|
1667
|
+
styles: [":host{position:relative;display:inline-flex;justify-content:center;align-items:center;border-radius:var(--h-border-radius-md);width:var(--helix-control-height, 32px);height:var(--helix-control-height, 32px);color:var(--text-color);cursor:pointer}:host:hover{background-color:var(--surface-hover)}.alert-badge-trigger{display:inline-flex;justify-content:center;align-items:center;background:none;border:none;color:inherit;cursor:pointer;padding:0;width:100%;height:100%;position:relative}.alert-badge-trigger i{font-size:1.4rem}.alert-badge-count{position:absolute;top:-.25rem;right:-.25rem;display:inline-flex;align-items:center;justify-content:center;min-width:1rem;height:1rem;padding:0 .25rem;border-radius:9999px;background-color:var(--h-red-500, #ef4444);color:#fff;font-size:.625rem;font-weight:700;line-height:1}.alert-badge-dropdown{position:absolute;top:100%;right:0;margin-top:.5rem;min-width:16rem;background-color:var(--surface-overlay, white);border:1px solid var(--surface-border, #e5e7eb);border-radius:var(--content-border-radius, 6px);box-shadow:0 4px 6px -1px #0000001a;z-index:1000;padding:.5rem}.alert-badge-item{display:flex;align-items:center;gap:.5rem;padding:.5rem;border-radius:var(--content-border-radius, 6px);text-decoration:none;color:var(--text-color, #1f2937);cursor:pointer}.alert-badge-item:hover{background-color:var(--surface-hover, #f3f4f6)}.alert-badge-dot{width:.5rem;height:.5rem;border-radius:50%;background-color:var(--h-info-500, #3b82f6);flex-shrink:0}.alert-badge-item--warn .alert-badge-dot{background-color:var(--h-warn-500, #f59e0b)}.alert-badge-item--error .alert-badge-dot{background-color:var(--h-red-500, #ef4444)}.alert-badge-item--success .alert-badge-dot{background-color:var(--h-green-500, #22c55e)}.alert-badge-label{font-size:.875rem}\n"],
|
|
1668
|
+
dependencies: [{
|
|
1669
|
+
kind: "ngmodule",
|
|
1670
|
+
type: RouterModule
|
|
1671
|
+
}, {
|
|
1672
|
+
kind: "directive",
|
|
1673
|
+
type: i2.RouterLink,
|
|
1674
|
+
selector: "[routerLink]",
|
|
1675
|
+
inputs: [
|
|
1676
|
+
"target",
|
|
1677
|
+
"queryParams",
|
|
1678
|
+
"fragment",
|
|
1679
|
+
"queryParamsHandling",
|
|
1680
|
+
"state",
|
|
1681
|
+
"info",
|
|
1682
|
+
"relativeTo",
|
|
1683
|
+
"preserveFragment",
|
|
1684
|
+
"skipLocationChange",
|
|
1685
|
+
"replaceUrl",
|
|
1686
|
+
"browserUrl",
|
|
1687
|
+
"routerLink"
|
|
1688
|
+
]
|
|
1689
|
+
}],
|
|
1690
|
+
changeDetection: i0.ChangeDetectionStrategy.Eager
|
|
1691
|
+
});
|
|
1692
|
+
};
|
|
1693
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
1694
|
+
minVersion: "12.0.0",
|
|
1695
|
+
version: "22.2.4",
|
|
1696
|
+
ngImport: i0,
|
|
1697
|
+
type: HelixAlertAction,
|
|
1698
|
+
decorators: [{
|
|
1699
|
+
type: Component,
|
|
1700
|
+
args: [{
|
|
1701
|
+
selector: "helix-alert-action",
|
|
1702
|
+
standalone: true,
|
|
1703
|
+
imports: [RouterModule],
|
|
1704
|
+
changeDetection: ChangeDetectionStrategy.Eager,
|
|
1705
|
+
template: "<button type=\"button\" class=\"alert-badge-trigger\" (click)=\"open.set(!open())\" (blur)=\"open.set(false)\">\n <i class=\"pi pi-bell\"></i>\n @if (count() > 0) {\n <span class=\"alert-badge-count\">{{ count() }}</span>\n }\n</button>\n@if (open() && alerts() && alerts()!.length > 0) {\n <div class=\"alert-badge-dropdown\">\n @for (alert of alerts(); track alert.id) {\n <a\n class=\"alert-badge-item\"\n [class.alert-badge-item--warn]=\"alert.severity === 'warn'\"\n [class.alert-badge-item--error]=\"alert.severity === 'error'\"\n [class.alert-badge-item--success]=\"alert.severity === 'success'\"\n [routerLink]=\"alert.route || undefined\"\n >\n <span class=\"alert-badge-dot\"></span>\n <span class=\"alert-badge-label\">{{ alert.label }}</span>\n </a>\n }\n </div>\n}\n",
|
|
1706
|
+
styles: [":host{position:relative;display:inline-flex;justify-content:center;align-items:center;border-radius:var(--h-border-radius-md);width:var(--helix-control-height, 32px);height:var(--helix-control-height, 32px);color:var(--text-color);cursor:pointer}:host:hover{background-color:var(--surface-hover)}.alert-badge-trigger{display:inline-flex;justify-content:center;align-items:center;background:none;border:none;color:inherit;cursor:pointer;padding:0;width:100%;height:100%;position:relative}.alert-badge-trigger i{font-size:1.4rem}.alert-badge-count{position:absolute;top:-.25rem;right:-.25rem;display:inline-flex;align-items:center;justify-content:center;min-width:1rem;height:1rem;padding:0 .25rem;border-radius:9999px;background-color:var(--h-red-500, #ef4444);color:#fff;font-size:.625rem;font-weight:700;line-height:1}.alert-badge-dropdown{position:absolute;top:100%;right:0;margin-top:.5rem;min-width:16rem;background-color:var(--surface-overlay, white);border:1px solid var(--surface-border, #e5e7eb);border-radius:var(--content-border-radius, 6px);box-shadow:0 4px 6px -1px #0000001a;z-index:1000;padding:.5rem}.alert-badge-item{display:flex;align-items:center;gap:.5rem;padding:.5rem;border-radius:var(--content-border-radius, 6px);text-decoration:none;color:var(--text-color, #1f2937);cursor:pointer}.alert-badge-item:hover{background-color:var(--surface-hover, #f3f4f6)}.alert-badge-dot{width:.5rem;height:.5rem;border-radius:50%;background-color:var(--h-info-500, #3b82f6);flex-shrink:0}.alert-badge-item--warn .alert-badge-dot{background-color:var(--h-warn-500, #f59e0b)}.alert-badge-item--error .alert-badge-dot{background-color:var(--h-red-500, #ef4444)}.alert-badge-item--success .alert-badge-dot{background-color:var(--h-green-500, #22c55e)}.alert-badge-label{font-size:.875rem}\n"]
|
|
1707
|
+
}]
|
|
1708
|
+
}],
|
|
1709
|
+
propDecorators: {
|
|
1710
|
+
count: [{
|
|
1711
|
+
type: i0.Input,
|
|
1712
|
+
args: [{
|
|
1713
|
+
isSignal: true,
|
|
1714
|
+
alias: "count",
|
|
1715
|
+
required: true
|
|
1716
|
+
}]
|
|
1717
|
+
}],
|
|
1718
|
+
alerts: [{
|
|
1719
|
+
type: i0.Input,
|
|
1720
|
+
args: [{
|
|
1721
|
+
isSignal: true,
|
|
1722
|
+
alias: "alerts",
|
|
1723
|
+
required: false
|
|
1724
|
+
}]
|
|
1725
|
+
}]
|
|
1726
|
+
}
|
|
1727
|
+
});
|
|
1611
1728
|
let nextId = 0;
|
|
1612
1729
|
const HIDDEN = "hidden";
|
|
1613
1730
|
var HelixDisclosure = class HelixDisclosure {
|
|
@@ -1683,7 +1800,7 @@ var HelixDisclosure = class HelixDisclosure {
|
|
|
1683
1800
|
}
|
|
1684
1801
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1685
1802
|
minVersion: "12.0.0",
|
|
1686
|
-
version: "22.2.
|
|
1803
|
+
version: "22.2.4",
|
|
1687
1804
|
ngImport: i0,
|
|
1688
1805
|
type: HelixDisclosure,
|
|
1689
1806
|
deps: [],
|
|
@@ -1691,7 +1808,7 @@ var HelixDisclosure = class HelixDisclosure {
|
|
|
1691
1808
|
});
|
|
1692
1809
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
1693
1810
|
minVersion: "17.1.0",
|
|
1694
|
-
version: "22.2.
|
|
1811
|
+
version: "22.2.4",
|
|
1695
1812
|
type: HelixDisclosure,
|
|
1696
1813
|
isStandalone: true,
|
|
1697
1814
|
selector: "[helixDisclosure]",
|
|
@@ -1714,7 +1831,7 @@ var HelixDisclosure = class HelixDisclosure {
|
|
|
1714
1831
|
};
|
|
1715
1832
|
i0.ɵɵngDeclareClassMetadata({
|
|
1716
1833
|
minVersion: "12.0.0",
|
|
1717
|
-
version: "22.2.
|
|
1834
|
+
version: "22.2.4",
|
|
1718
1835
|
ngImport: i0,
|
|
1719
1836
|
type: HelixDisclosure,
|
|
1720
1837
|
decorators: [{
|
|
@@ -1738,103 +1855,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1738
1855
|
}]
|
|
1739
1856
|
}] }
|
|
1740
1857
|
});
|
|
1741
|
-
var HelixAlertAction = class HelixAlertAction {
|
|
1742
|
-
count = input.required(...ngDevMode ? [{ debugName: "count" }] : /* istanbul ignore next */ []);
|
|
1743
|
-
alerts = input(...ngDevMode ? [void 0, { debugName: "alerts" }] : /* istanbul ignore next */ []);
|
|
1744
|
-
open = signal(false, ...ngDevMode ? [{ debugName: "open" }] : /* istanbul ignore next */ []);
|
|
1745
|
-
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1746
|
-
minVersion: "12.0.0",
|
|
1747
|
-
version: "22.2.3",
|
|
1748
|
-
ngImport: i0,
|
|
1749
|
-
type: HelixAlertAction,
|
|
1750
|
-
deps: [],
|
|
1751
|
-
target: i0.ɵɵFactoryTarget.Component
|
|
1752
|
-
});
|
|
1753
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1754
|
-
minVersion: "17.0.0",
|
|
1755
|
-
version: "22.2.3",
|
|
1756
|
-
type: HelixAlertAction,
|
|
1757
|
-
isStandalone: true,
|
|
1758
|
-
selector: "helix-alert-action",
|
|
1759
|
-
inputs: {
|
|
1760
|
-
count: {
|
|
1761
|
-
classPropertyName: "count",
|
|
1762
|
-
publicName: "count",
|
|
1763
|
-
isSignal: true,
|
|
1764
|
-
isRequired: true,
|
|
1765
|
-
transformFunction: null
|
|
1766
|
-
},
|
|
1767
|
-
alerts: {
|
|
1768
|
-
classPropertyName: "alerts",
|
|
1769
|
-
publicName: "alerts",
|
|
1770
|
-
isSignal: true,
|
|
1771
|
-
isRequired: false,
|
|
1772
|
-
transformFunction: null
|
|
1773
|
-
}
|
|
1774
|
-
},
|
|
1775
|
-
ngImport: i0,
|
|
1776
|
-
template: "<button type=\"button\" class=\"alert-badge-trigger\" (click)=\"open.set(!open())\" (blur)=\"open.set(false)\">\n <i class=\"pi pi-bell\"></i>\n @if (count() > 0) {\n <span class=\"alert-badge-count\">{{ count() }}</span>\n }\n</button>\n@if (open() && alerts() && alerts()!.length > 0) {\n <div class=\"alert-badge-dropdown\">\n @for (alert of alerts(); track alert.id) {\n <a\n class=\"alert-badge-item\"\n [class.alert-badge-item--warn]=\"alert.severity === 'warn'\"\n [class.alert-badge-item--error]=\"alert.severity === 'error'\"\n [class.alert-badge-item--success]=\"alert.severity === 'success'\"\n [routerLink]=\"alert.route || undefined\"\n >\n <span class=\"alert-badge-dot\"></span>\n <span class=\"alert-badge-label\">{{ alert.label }}</span>\n </a>\n }\n </div>\n}\n",
|
|
1777
|
-
styles: [":host{position:relative;display:inline-flex;justify-content:center;align-items:center;border-radius:50%;width:2.5rem;height:2.5rem;color:var(--text-color);cursor:pointer}:host:hover{background-color:var(--surface-hover)}.alert-badge-trigger{display:inline-flex;justify-content:center;align-items:center;background:none;border:none;color:inherit;cursor:pointer;padding:0;width:100%;height:100%;position:relative}.alert-badge-trigger i{font-size:1.4rem}.alert-badge-count{position:absolute;top:-.25rem;right:-.25rem;display:inline-flex;align-items:center;justify-content:center;min-width:1rem;height:1rem;padding:0 .25rem;border-radius:9999px;background-color:var(--h-red-500, #ef4444);color:#fff;font-size:.625rem;font-weight:700;line-height:1}.alert-badge-dropdown{position:absolute;top:100%;right:0;margin-top:.5rem;min-width:16rem;background-color:var(--surface-overlay, white);border:1px solid var(--surface-border, #e5e7eb);border-radius:var(--content-border-radius, 6px);box-shadow:0 4px 6px -1px #0000001a;z-index:1000;padding:.5rem}.alert-badge-item{display:flex;align-items:center;gap:.5rem;padding:.5rem;border-radius:var(--content-border-radius, 6px);text-decoration:none;color:var(--text-color, #1f2937);cursor:pointer}.alert-badge-item:hover{background-color:var(--surface-hover, #f3f4f6)}.alert-badge-dot{width:.5rem;height:.5rem;border-radius:50%;background-color:var(--h-info-500, #3b82f6);flex-shrink:0}.alert-badge-item--warn .alert-badge-dot{background-color:var(--h-warn-500, #f59e0b)}.alert-badge-item--error .alert-badge-dot{background-color:var(--h-red-500, #ef4444)}.alert-badge-item--success .alert-badge-dot{background-color:var(--h-green-500, #22c55e)}.alert-badge-label{font-size:.875rem}\n"],
|
|
1778
|
-
dependencies: [{
|
|
1779
|
-
kind: "ngmodule",
|
|
1780
|
-
type: RouterModule
|
|
1781
|
-
}, {
|
|
1782
|
-
kind: "directive",
|
|
1783
|
-
type: i2.RouterLink,
|
|
1784
|
-
selector: "[routerLink]",
|
|
1785
|
-
inputs: [
|
|
1786
|
-
"target",
|
|
1787
|
-
"queryParams",
|
|
1788
|
-
"fragment",
|
|
1789
|
-
"queryParamsHandling",
|
|
1790
|
-
"state",
|
|
1791
|
-
"info",
|
|
1792
|
-
"relativeTo",
|
|
1793
|
-
"preserveFragment",
|
|
1794
|
-
"skipLocationChange",
|
|
1795
|
-
"replaceUrl",
|
|
1796
|
-
"browserUrl",
|
|
1797
|
-
"routerLink"
|
|
1798
|
-
]
|
|
1799
|
-
}],
|
|
1800
|
-
changeDetection: i0.ChangeDetectionStrategy.Eager
|
|
1801
|
-
});
|
|
1802
|
-
};
|
|
1803
|
-
i0.ɵɵngDeclareClassMetadata({
|
|
1804
|
-
minVersion: "12.0.0",
|
|
1805
|
-
version: "22.2.3",
|
|
1806
|
-
ngImport: i0,
|
|
1807
|
-
type: HelixAlertAction,
|
|
1808
|
-
decorators: [{
|
|
1809
|
-
type: Component,
|
|
1810
|
-
args: [{
|
|
1811
|
-
selector: "helix-alert-action",
|
|
1812
|
-
standalone: true,
|
|
1813
|
-
imports: [RouterModule],
|
|
1814
|
-
changeDetection: ChangeDetectionStrategy.Eager,
|
|
1815
|
-
template: "<button type=\"button\" class=\"alert-badge-trigger\" (click)=\"open.set(!open())\" (blur)=\"open.set(false)\">\n <i class=\"pi pi-bell\"></i>\n @if (count() > 0) {\n <span class=\"alert-badge-count\">{{ count() }}</span>\n }\n</button>\n@if (open() && alerts() && alerts()!.length > 0) {\n <div class=\"alert-badge-dropdown\">\n @for (alert of alerts(); track alert.id) {\n <a\n class=\"alert-badge-item\"\n [class.alert-badge-item--warn]=\"alert.severity === 'warn'\"\n [class.alert-badge-item--error]=\"alert.severity === 'error'\"\n [class.alert-badge-item--success]=\"alert.severity === 'success'\"\n [routerLink]=\"alert.route || undefined\"\n >\n <span class=\"alert-badge-dot\"></span>\n <span class=\"alert-badge-label\">{{ alert.label }}</span>\n </a>\n }\n </div>\n}\n",
|
|
1816
|
-
styles: [":host{position:relative;display:inline-flex;justify-content:center;align-items:center;border-radius:50%;width:2.5rem;height:2.5rem;color:var(--text-color);cursor:pointer}:host:hover{background-color:var(--surface-hover)}.alert-badge-trigger{display:inline-flex;justify-content:center;align-items:center;background:none;border:none;color:inherit;cursor:pointer;padding:0;width:100%;height:100%;position:relative}.alert-badge-trigger i{font-size:1.4rem}.alert-badge-count{position:absolute;top:-.25rem;right:-.25rem;display:inline-flex;align-items:center;justify-content:center;min-width:1rem;height:1rem;padding:0 .25rem;border-radius:9999px;background-color:var(--h-red-500, #ef4444);color:#fff;font-size:.625rem;font-weight:700;line-height:1}.alert-badge-dropdown{position:absolute;top:100%;right:0;margin-top:.5rem;min-width:16rem;background-color:var(--surface-overlay, white);border:1px solid var(--surface-border, #e5e7eb);border-radius:var(--content-border-radius, 6px);box-shadow:0 4px 6px -1px #0000001a;z-index:1000;padding:.5rem}.alert-badge-item{display:flex;align-items:center;gap:.5rem;padding:.5rem;border-radius:var(--content-border-radius, 6px);text-decoration:none;color:var(--text-color, #1f2937);cursor:pointer}.alert-badge-item:hover{background-color:var(--surface-hover, #f3f4f6)}.alert-badge-dot{width:.5rem;height:.5rem;border-radius:50%;background-color:var(--h-info-500, #3b82f6);flex-shrink:0}.alert-badge-item--warn .alert-badge-dot{background-color:var(--h-warn-500, #f59e0b)}.alert-badge-item--error .alert-badge-dot{background-color:var(--h-red-500, #ef4444)}.alert-badge-item--success .alert-badge-dot{background-color:var(--h-green-500, #22c55e)}.alert-badge-label{font-size:.875rem}\n"]
|
|
1817
|
-
}]
|
|
1818
|
-
}],
|
|
1819
|
-
propDecorators: {
|
|
1820
|
-
count: [{
|
|
1821
|
-
type: i0.Input,
|
|
1822
|
-
args: [{
|
|
1823
|
-
isSignal: true,
|
|
1824
|
-
alias: "count",
|
|
1825
|
-
required: true
|
|
1826
|
-
}]
|
|
1827
|
-
}],
|
|
1828
|
-
alerts: [{
|
|
1829
|
-
type: i0.Input,
|
|
1830
|
-
args: [{
|
|
1831
|
-
isSignal: true,
|
|
1832
|
-
alias: "alerts",
|
|
1833
|
-
required: false
|
|
1834
|
-
}]
|
|
1835
|
-
}]
|
|
1836
|
-
}
|
|
1837
|
-
});
|
|
1838
1858
|
var HelixConfigurator = class HelixConfigurator {
|
|
1839
1859
|
router = inject(Router);
|
|
1840
1860
|
store = inject(LayoutStore);
|
|
@@ -1855,20 +1875,39 @@ var HelixConfigurator = class HelixConfigurator {
|
|
|
1855
1875
|
swatch: HX_SURFACES[name][500]
|
|
1856
1876
|
}));
|
|
1857
1877
|
selectedPrimaryColor = computed(() => this.store.primary(), ...ngDevMode ? [{ debugName: "selectedPrimaryColor" }] : /* istanbul ignore next */ []);
|
|
1858
|
-
activePrimaryColor = computed(() => this.store.
|
|
1859
|
-
selectedSurfaceColor = computed(() => this.store.
|
|
1878
|
+
activePrimaryColor = computed(() => this.store.activePrimary(), ...ngDevMode ? [{ debugName: "activePrimaryColor" }] : /* istanbul ignore next */ []);
|
|
1879
|
+
selectedSurfaceColor = computed(() => this.store.activeSurface(), ...ngDevMode ? [{ debugName: "selectedSurfaceColor" }] : /* istanbul ignore next */ []);
|
|
1880
|
+
presetOptions = computed(() => this.store.presetNames().map((name) => ({
|
|
1881
|
+
label: name.charAt(0).toUpperCase() + name.slice(1),
|
|
1882
|
+
value: name
|
|
1883
|
+
})), ...ngDevMode ? [{ debugName: "presetOptions" }] : /* istanbul ignore next */ []);
|
|
1884
|
+
preset = computed(() => this.store.preset(), ...ngDevMode ? [{ debugName: "preset" }] : /* istanbul ignore next */ []);
|
|
1885
|
+
densityOptions = [{
|
|
1886
|
+
label: "Comfortable",
|
|
1887
|
+
value: "comfortable"
|
|
1888
|
+
}, {
|
|
1889
|
+
label: "Compact",
|
|
1890
|
+
value: "compact"
|
|
1891
|
+
}];
|
|
1892
|
+
density = computed(() => this.store.density(), ...ngDevMode ? [{ debugName: "density" }] : /* istanbul ignore next */ []);
|
|
1860
1893
|
menuMode = computed(() => this.store.menuMode(), ...ngDevMode ? [{ debugName: "menuMode" }] : /* istanbul ignore next */ []);
|
|
1861
1894
|
updateColors(event, type, color) {
|
|
1862
1895
|
if (type === "primary") this.store.setPrimary(color.name);
|
|
1863
1896
|
else this.store.setSurface(color.name);
|
|
1864
1897
|
event.stopPropagation();
|
|
1865
1898
|
}
|
|
1899
|
+
onPresetChange(preset) {
|
|
1900
|
+
this.store.setPreset(preset);
|
|
1901
|
+
}
|
|
1902
|
+
onDensityChange(density) {
|
|
1903
|
+
this.store.setDensity(density);
|
|
1904
|
+
}
|
|
1866
1905
|
onMenuModeChange(event) {
|
|
1867
1906
|
this.store.setMenuMode(event);
|
|
1868
1907
|
}
|
|
1869
1908
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1870
1909
|
minVersion: "12.0.0",
|
|
1871
|
-
version: "22.2.
|
|
1910
|
+
version: "22.2.4",
|
|
1872
1911
|
ngImport: i0,
|
|
1873
1912
|
type: HelixConfigurator,
|
|
1874
1913
|
deps: [],
|
|
@@ -1876,13 +1915,13 @@ var HelixConfigurator = class HelixConfigurator {
|
|
|
1876
1915
|
});
|
|
1877
1916
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1878
1917
|
minVersion: "17.0.0",
|
|
1879
|
-
version: "22.2.
|
|
1918
|
+
version: "22.2.4",
|
|
1880
1919
|
type: HelixConfigurator,
|
|
1881
1920
|
isStandalone: true,
|
|
1882
1921
|
selector: "helix-configurator",
|
|
1883
1922
|
host: { classAttribute: "hidden absolute top-13 right-0 w-72 p-4 bg-surface-0 dark:bg-surface-900 border border-surface rounded-border origin-top shadow-[0px_3px_5px_rgba(0,0,0,0.02),0px_0px_2px_rgba(0,0,0,0.05),0px_1px_4px_rgba(0,0,0,0.08)]" },
|
|
1884
1923
|
ngImport: i0,
|
|
1885
|
-
template: "<div class=\"flex flex-col gap-4\">\n <div>\n <span class=\"text-sm text-muted-color font-semibold\">Primary</span>\n <div class=\"pt-2 flex gap-2 flex-wrap justify-start\">\n @for (primaryColor of primaryColors; track primaryColor.name) {\n <button\n type=\"button\"\n [title]=\"primaryColor.name\"\n (click)=\"updateColors($event, 'primary', primaryColor)\"\n [ngClass]=\"{ 'outline outline-primary': primaryColor.name === activePrimaryColor() }\"\n class=\"cursor-pointer w-5 h-5 rounded-full flex shrink-0 items-center justify-center outline-offset-1 shadow\"\n [style.background-color]=\"primaryColor.swatch\"\n ></button>\n }\n </div>\n </div>\n <div>\n <span class=\"text-sm text-muted-color font-semibold\">Surface</span>\n <div class=\"pt-2 flex gap-2 flex-wrap justify-start\">\n @for (surface of surfaces; track surface.name) {\n <button\n type=\"button\"\n [title]=\"surface.name\"\n (click)=\"updateColors($event, 'surface', surface)\"\n class=\"cursor-pointer w-5 h-5 rounded-full flex shrink-0 items-center justify-center p-0 outline-offset-1\"\n [ngClass]=\"{\n 'outline outline-primary': selectedSurfaceColor()\n ? selectedSurfaceColor() === surface.name\n : store.darkTheme()\n ? surface.name === 'zinc'\n : surface.name === 'slate',\n }\"\n [style.background-color]=\"surface.swatch\"\n ></button>\n }\n </div>\n </div>\n @if (showMenuModeButton()) {\n <div class=\"flex flex-col gap-2\">\n <span id=\"helix-config-menu-mode\" class=\"text-sm text-muted-color font-semibold\">Menu Mode</span>\n <hx-select-button\n ariaLabelledby=\"helix-config-menu-mode\"\n [ngModel]=\"menuMode()\"\n (ngModelChange)=\"onMenuModeChange($event)\"\n [options]=\"menuModeOptions\"\n [allowEmpty]=\"false\"\n size=\"small\"\n />\n </div>\n }\n</div>\n",
|
|
1924
|
+
template: "<div class=\"flex flex-col gap-4\">\n <div class=\"flex flex-col gap-2\">\n <span id=\"helix-config-preset\" class=\"text-sm text-muted-color font-semibold\">Preset</span>\n <hx-select-button\n ariaLabelledby=\"helix-config-preset\"\n [ngModel]=\"preset()\"\n (ngModelChange)=\"onPresetChange($event)\"\n [options]=\"presetOptions()\"\n [allowEmpty]=\"false\"\n size=\"small\"\n />\n </div>\n <div>\n <span class=\"text-sm text-muted-color font-semibold\">Primary</span>\n <div class=\"pt-2 flex gap-2 flex-wrap justify-start\">\n @for (primaryColor of primaryColors; track primaryColor.name) {\n <button\n type=\"button\"\n [title]=\"primaryColor.name\"\n (click)=\"updateColors($event, 'primary', primaryColor)\"\n [ngClass]=\"{ 'outline outline-primary': primaryColor.name === activePrimaryColor() }\"\n class=\"cursor-pointer w-5 h-5 rounded-full flex shrink-0 items-center justify-center outline-offset-1 shadow\"\n [style.background-color]=\"primaryColor.swatch\"\n ></button>\n }\n </div>\n </div>\n <div class=\"flex flex-col gap-2\">\n <span id=\"helix-config-density\" class=\"text-sm text-muted-color font-semibold\">Density</span>\n <hx-select-button\n ariaLabelledby=\"helix-config-density\"\n [ngModel]=\"density()\"\n (ngModelChange)=\"onDensityChange($event)\"\n [options]=\"densityOptions\"\n [allowEmpty]=\"false\"\n size=\"small\"\n />\n </div>\n <div>\n <span class=\"text-sm text-muted-color font-semibold\">Surface</span>\n <div class=\"pt-2 flex gap-2 flex-wrap justify-start\">\n @for (surface of surfaces; track surface.name) {\n <button\n type=\"button\"\n [title]=\"surface.name\"\n (click)=\"updateColors($event, 'surface', surface)\"\n class=\"cursor-pointer w-5 h-5 rounded-full flex shrink-0 items-center justify-center p-0 outline-offset-1\"\n [ngClass]=\"{\n 'outline outline-primary': selectedSurfaceColor()\n ? selectedSurfaceColor() === surface.name\n : store.darkTheme()\n ? surface.name === 'zinc'\n : surface.name === 'slate',\n }\"\n [style.background-color]=\"surface.swatch\"\n ></button>\n }\n </div>\n </div>\n @if (showMenuModeButton()) {\n <div class=\"flex flex-col gap-2\">\n <span id=\"helix-config-menu-mode\" class=\"text-sm text-muted-color font-semibold\">Menu Mode</span>\n <hx-select-button\n ariaLabelledby=\"helix-config-menu-mode\"\n [ngModel]=\"menuMode()\"\n (ngModelChange)=\"onMenuModeChange($event)\"\n [options]=\"menuModeOptions\"\n [allowEmpty]=\"false\"\n size=\"small\"\n />\n </div>\n }\n</div>\n",
|
|
1886
1925
|
styles: [""],
|
|
1887
1926
|
dependencies: [
|
|
1888
1927
|
{
|
|
@@ -1944,7 +1983,7 @@ var HelixConfigurator = class HelixConfigurator {
|
|
|
1944
1983
|
};
|
|
1945
1984
|
i0.ɵɵngDeclareClassMetadata({
|
|
1946
1985
|
minVersion: "12.0.0",
|
|
1947
|
-
version: "22.2.
|
|
1986
|
+
version: "22.2.4",
|
|
1948
1987
|
ngImport: i0,
|
|
1949
1988
|
type: HelixConfigurator,
|
|
1950
1989
|
decorators: [{
|
|
@@ -1959,7 +1998,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1959
1998
|
],
|
|
1960
1999
|
changeDetection: ChangeDetectionStrategy.Eager,
|
|
1961
2000
|
host: { class: "hidden absolute top-13 right-0 w-72 p-4 bg-surface-0 dark:bg-surface-900 border border-surface rounded-border origin-top shadow-[0px_3px_5px_rgba(0,0,0,0.02),0px_0px_2px_rgba(0,0,0,0.05),0px_1px_4px_rgba(0,0,0,0.08)]" },
|
|
1962
|
-
template: "<div class=\"flex flex-col gap-4\">\n <div>\n <span class=\"text-sm text-muted-color font-semibold\">Primary</span>\n <div class=\"pt-2 flex gap-2 flex-wrap justify-start\">\n @for (primaryColor of primaryColors; track primaryColor.name) {\n <button\n type=\"button\"\n [title]=\"primaryColor.name\"\n (click)=\"updateColors($event, 'primary', primaryColor)\"\n [ngClass]=\"{ 'outline outline-primary': primaryColor.name === activePrimaryColor() }\"\n class=\"cursor-pointer w-5 h-5 rounded-full flex shrink-0 items-center justify-center outline-offset-1 shadow\"\n [style.background-color]=\"primaryColor.swatch\"\n ></button>\n }\n </div>\n </div>\n <div>\n <span class=\"text-sm text-muted-color font-semibold\">Surface</span>\n <div class=\"pt-2 flex gap-2 flex-wrap justify-start\">\n @for (surface of surfaces; track surface.name) {\n <button\n type=\"button\"\n [title]=\"surface.name\"\n (click)=\"updateColors($event, 'surface', surface)\"\n class=\"cursor-pointer w-5 h-5 rounded-full flex shrink-0 items-center justify-center p-0 outline-offset-1\"\n [ngClass]=\"{\n 'outline outline-primary': selectedSurfaceColor()\n ? selectedSurfaceColor() === surface.name\n : store.darkTheme()\n ? surface.name === 'zinc'\n : surface.name === 'slate',\n }\"\n [style.background-color]=\"surface.swatch\"\n ></button>\n }\n </div>\n </div>\n @if (showMenuModeButton()) {\n <div class=\"flex flex-col gap-2\">\n <span id=\"helix-config-menu-mode\" class=\"text-sm text-muted-color font-semibold\">Menu Mode</span>\n <hx-select-button\n ariaLabelledby=\"helix-config-menu-mode\"\n [ngModel]=\"menuMode()\"\n (ngModelChange)=\"onMenuModeChange($event)\"\n [options]=\"menuModeOptions\"\n [allowEmpty]=\"false\"\n size=\"small\"\n />\n </div>\n }\n</div>\n"
|
|
2001
|
+
template: "<div class=\"flex flex-col gap-4\">\n <div class=\"flex flex-col gap-2\">\n <span id=\"helix-config-preset\" class=\"text-sm text-muted-color font-semibold\">Preset</span>\n <hx-select-button\n ariaLabelledby=\"helix-config-preset\"\n [ngModel]=\"preset()\"\n (ngModelChange)=\"onPresetChange($event)\"\n [options]=\"presetOptions()\"\n [allowEmpty]=\"false\"\n size=\"small\"\n />\n </div>\n <div>\n <span class=\"text-sm text-muted-color font-semibold\">Primary</span>\n <div class=\"pt-2 flex gap-2 flex-wrap justify-start\">\n @for (primaryColor of primaryColors; track primaryColor.name) {\n <button\n type=\"button\"\n [title]=\"primaryColor.name\"\n (click)=\"updateColors($event, 'primary', primaryColor)\"\n [ngClass]=\"{ 'outline outline-primary': primaryColor.name === activePrimaryColor() }\"\n class=\"cursor-pointer w-5 h-5 rounded-full flex shrink-0 items-center justify-center outline-offset-1 shadow\"\n [style.background-color]=\"primaryColor.swatch\"\n ></button>\n }\n </div>\n </div>\n <div class=\"flex flex-col gap-2\">\n <span id=\"helix-config-density\" class=\"text-sm text-muted-color font-semibold\">Density</span>\n <hx-select-button\n ariaLabelledby=\"helix-config-density\"\n [ngModel]=\"density()\"\n (ngModelChange)=\"onDensityChange($event)\"\n [options]=\"densityOptions\"\n [allowEmpty]=\"false\"\n size=\"small\"\n />\n </div>\n <div>\n <span class=\"text-sm text-muted-color font-semibold\">Surface</span>\n <div class=\"pt-2 flex gap-2 flex-wrap justify-start\">\n @for (surface of surfaces; track surface.name) {\n <button\n type=\"button\"\n [title]=\"surface.name\"\n (click)=\"updateColors($event, 'surface', surface)\"\n class=\"cursor-pointer w-5 h-5 rounded-full flex shrink-0 items-center justify-center p-0 outline-offset-1\"\n [ngClass]=\"{\n 'outline outline-primary': selectedSurfaceColor()\n ? selectedSurfaceColor() === surface.name\n : store.darkTheme()\n ? surface.name === 'zinc'\n : surface.name === 'slate',\n }\"\n [style.background-color]=\"surface.swatch\"\n ></button>\n }\n </div>\n </div>\n @if (showMenuModeButton()) {\n <div class=\"flex flex-col gap-2\">\n <span id=\"helix-config-menu-mode\" class=\"text-sm text-muted-color font-semibold\">Menu Mode</span>\n <hx-select-button\n ariaLabelledby=\"helix-config-menu-mode\"\n [ngModel]=\"menuMode()\"\n (ngModelChange)=\"onMenuModeChange($event)\"\n [options]=\"menuModeOptions\"\n [allowEmpty]=\"false\"\n size=\"small\"\n />\n </div>\n }\n</div>\n"
|
|
1963
2002
|
}]
|
|
1964
2003
|
}]
|
|
1965
2004
|
});
|
|
@@ -1967,7 +2006,7 @@ var HelixConfiguratorAction = class HelixConfiguratorAction {
|
|
|
1967
2006
|
label = input("Configure theme", ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
1968
2007
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1969
2008
|
minVersion: "12.0.0",
|
|
1970
|
-
version: "22.2.
|
|
2009
|
+
version: "22.2.4",
|
|
1971
2010
|
ngImport: i0,
|
|
1972
2011
|
type: HelixConfiguratorAction,
|
|
1973
2012
|
deps: [],
|
|
@@ -1975,7 +2014,7 @@ var HelixConfiguratorAction = class HelixConfiguratorAction {
|
|
|
1975
2014
|
});
|
|
1976
2015
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1977
2016
|
minVersion: "17.1.0",
|
|
1978
|
-
version: "22.2.
|
|
2017
|
+
version: "22.2.4",
|
|
1979
2018
|
type: HelixConfiguratorAction,
|
|
1980
2019
|
isStandalone: true,
|
|
1981
2020
|
selector: "helix-configurator-action",
|
|
@@ -1990,7 +2029,7 @@ var HelixConfiguratorAction = class HelixConfiguratorAction {
|
|
|
1990
2029
|
template: `
|
|
1991
2030
|
<div
|
|
1992
2031
|
class="relative"
|
|
1993
|
-
style="display: inline-flex; align-items: center; justify-content: center; width:
|
|
2032
|
+
style="display: inline-flex; align-items: center; justify-content: center; width: var(--helix-control-height, 32px); height: var(--helix-control-height, 32px);"
|
|
1994
2033
|
>
|
|
1995
2034
|
<button
|
|
1996
2035
|
type="button"
|
|
@@ -2005,7 +2044,7 @@ var HelixConfiguratorAction = class HelixConfiguratorAction {
|
|
|
2005
2044
|
</div>
|
|
2006
2045
|
`,
|
|
2007
2046
|
isInline: true,
|
|
2008
|
-
styles: [":host{display:inline-flex;align-items:center;justify-content:center;width:
|
|
2047
|
+
styles: [":host{display:inline-flex;align-items:center;justify-content:center;width:var(--helix-control-height, 32px);height:var(--helix-control-height, 32px);border-radius:var(--h-border-radius-md);cursor:pointer;transition:background-color var(--element-transition-duration)}:host(:hover){background-color:var(--surface-hover)}.relative,button{cursor:pointer}button i{cursor:inherit}\n"],
|
|
2009
2048
|
dependencies: [{
|
|
2010
2049
|
kind: "directive",
|
|
2011
2050
|
type: HelixDisclosure,
|
|
@@ -2021,7 +2060,7 @@ var HelixConfiguratorAction = class HelixConfiguratorAction {
|
|
|
2021
2060
|
};
|
|
2022
2061
|
i0.ɵɵngDeclareClassMetadata({
|
|
2023
2062
|
minVersion: "12.0.0",
|
|
2024
|
-
version: "22.2.
|
|
2063
|
+
version: "22.2.4",
|
|
2025
2064
|
ngImport: i0,
|
|
2026
2065
|
type: HelixConfiguratorAction,
|
|
2027
2066
|
decorators: [{
|
|
@@ -2033,7 +2072,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2033
2072
|
template: `
|
|
2034
2073
|
<div
|
|
2035
2074
|
class="relative"
|
|
2036
|
-
style="display: inline-flex; align-items: center; justify-content: center; width:
|
|
2075
|
+
style="display: inline-flex; align-items: center; justify-content: center; width: var(--helix-control-height, 32px); height: var(--helix-control-height, 32px);"
|
|
2037
2076
|
>
|
|
2038
2077
|
<button
|
|
2039
2078
|
type="button"
|
|
@@ -2048,7 +2087,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2048
2087
|
</div>
|
|
2049
2088
|
`,
|
|
2050
2089
|
changeDetection: ChangeDetectionStrategy.Eager,
|
|
2051
|
-
styles: [":host{display:inline-flex;align-items:center;justify-content:center;width:
|
|
2090
|
+
styles: [":host{display:inline-flex;align-items:center;justify-content:center;width:var(--helix-control-height, 32px);height:var(--helix-control-height, 32px);border-radius:var(--h-border-radius-md);cursor:pointer;transition:background-color var(--element-transition-duration)}:host(:hover){background-color:var(--surface-hover)}.relative,button{cursor:pointer}button i{cursor:inherit}\n"]
|
|
2052
2091
|
}]
|
|
2053
2092
|
}],
|
|
2054
2093
|
propDecorators: { label: [{
|
|
@@ -2064,7 +2103,7 @@ var HelixDarkModeAction = class HelixDarkModeAction {
|
|
|
2064
2103
|
store = inject(LayoutStore);
|
|
2065
2104
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2066
2105
|
minVersion: "12.0.0",
|
|
2067
|
-
version: "22.2.
|
|
2106
|
+
version: "22.2.4",
|
|
2068
2107
|
ngImport: i0,
|
|
2069
2108
|
type: HelixDarkModeAction,
|
|
2070
2109
|
deps: [],
|
|
@@ -2072,11 +2111,11 @@ var HelixDarkModeAction = class HelixDarkModeAction {
|
|
|
2072
2111
|
});
|
|
2073
2112
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2074
2113
|
minVersion: "14.0.0",
|
|
2075
|
-
version: "22.2.
|
|
2114
|
+
version: "22.2.4",
|
|
2076
2115
|
type: HelixDarkModeAction,
|
|
2077
2116
|
isStandalone: true,
|
|
2078
2117
|
selector: "helix-dark-mode-action",
|
|
2079
|
-
host: { styleAttribute: "display: inline-flex; align-items: center; justify-content: center; width:
|
|
2118
|
+
host: { styleAttribute: "display: inline-flex; align-items: center; justify-content: center; width: var(--helix-control-height, 32px); height: var(--helix-control-height, 32px); border-radius: var(--h-border-radius-md); cursor: pointer; transition: background-color var(--element-transition-duration);" },
|
|
2080
2119
|
ngImport: i0,
|
|
2081
2120
|
template: `
|
|
2082
2121
|
<button type="button" class="layout-topbar-action" (click)="store.toggleDarkMode()">
|
|
@@ -2106,7 +2145,7 @@ var HelixDarkModeAction = class HelixDarkModeAction {
|
|
|
2106
2145
|
};
|
|
2107
2146
|
i0.ɵɵngDeclareClassMetadata({
|
|
2108
2147
|
minVersion: "12.0.0",
|
|
2109
|
-
version: "22.2.
|
|
2148
|
+
version: "22.2.4",
|
|
2110
2149
|
ngImport: i0,
|
|
2111
2150
|
type: HelixDarkModeAction,
|
|
2112
2151
|
decorators: [{
|
|
@@ -2127,46 +2166,195 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2127
2166
|
></i>
|
|
2128
2167
|
</button>
|
|
2129
2168
|
`,
|
|
2130
|
-
host: { style: "display: inline-flex; align-items: center; justify-content: center; width:
|
|
2169
|
+
host: { style: "display: inline-flex; align-items: center; justify-content: center; width: var(--helix-control-height, 32px); height: var(--helix-control-height, 32px); border-radius: var(--h-border-radius-md); cursor: pointer; transition: background-color var(--element-transition-duration);" },
|
|
2131
2170
|
changeDetection: ChangeDetectionStrategy.Eager,
|
|
2132
2171
|
styles: [":host(:hover){background-color:var(--surface-hover)}button{cursor:pointer}button i{cursor:inherit}\n"]
|
|
2133
2172
|
}]
|
|
2134
2173
|
}]
|
|
2135
2174
|
});
|
|
2136
|
-
|
|
2175
|
+
var HelixSearchAction = class HelixSearchAction {
|
|
2176
|
+
placeholder = input("Search", ...ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []);
|
|
2177
|
+
label = input("Search", ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
2178
|
+
search = output();
|
|
2179
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2180
|
+
minVersion: "12.0.0",
|
|
2181
|
+
version: "22.2.4",
|
|
2182
|
+
ngImport: i0,
|
|
2183
|
+
type: HelixSearchAction,
|
|
2184
|
+
deps: [],
|
|
2185
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
2186
|
+
});
|
|
2187
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2188
|
+
minVersion: "17.1.0",
|
|
2189
|
+
version: "22.2.4",
|
|
2190
|
+
type: HelixSearchAction,
|
|
2191
|
+
isStandalone: true,
|
|
2192
|
+
selector: "helix-search-action",
|
|
2193
|
+
inputs: {
|
|
2194
|
+
placeholder: {
|
|
2195
|
+
classPropertyName: "placeholder",
|
|
2196
|
+
publicName: "placeholder",
|
|
2197
|
+
isSignal: true,
|
|
2198
|
+
isRequired: false,
|
|
2199
|
+
transformFunction: null
|
|
2200
|
+
},
|
|
2201
|
+
label: {
|
|
2202
|
+
classPropertyName: "label",
|
|
2203
|
+
publicName: "label",
|
|
2204
|
+
isSignal: true,
|
|
2205
|
+
isRequired: false,
|
|
2206
|
+
transformFunction: null
|
|
2207
|
+
}
|
|
2208
|
+
},
|
|
2209
|
+
outputs: { search: "search" },
|
|
2210
|
+
host: { styleAttribute: "display: flex; flex: 1 1 auto; min-width: 0;" },
|
|
2211
|
+
ngImport: i0,
|
|
2212
|
+
template: `
|
|
2213
|
+
<input
|
|
2214
|
+
hx-input
|
|
2215
|
+
type="search"
|
|
2216
|
+
autocomplete="off"
|
|
2217
|
+
class="helix-search-action-input"
|
|
2218
|
+
[attr.aria-label]="label()"
|
|
2219
|
+
[placeholder]="placeholder()"
|
|
2220
|
+
(input)="search.emit($any($event.target).value)"
|
|
2221
|
+
/>
|
|
2222
|
+
`,
|
|
2223
|
+
isInline: true,
|
|
2224
|
+
styles: [".helix-search-action-input{flex:1 1 auto;min-width:0;height:var(--helix-control-height, 32px);padding-block:0}\n"],
|
|
2225
|
+
dependencies: [{
|
|
2226
|
+
kind: "directive",
|
|
2227
|
+
type: HxInput,
|
|
2228
|
+
selector: "input[hx-input], textarea[hx-input]",
|
|
2229
|
+
inputs: [
|
|
2230
|
+
"variant",
|
|
2231
|
+
"size",
|
|
2232
|
+
"fluid",
|
|
2233
|
+
"autoResize"
|
|
2234
|
+
],
|
|
2235
|
+
exportAs: ["hx-input"]
|
|
2236
|
+
}],
|
|
2237
|
+
changeDetection: i0.ChangeDetectionStrategy.Eager
|
|
2238
|
+
});
|
|
2239
|
+
};
|
|
2240
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
2241
|
+
minVersion: "12.0.0",
|
|
2242
|
+
version: "22.2.4",
|
|
2243
|
+
ngImport: i0,
|
|
2244
|
+
type: HelixSearchAction,
|
|
2245
|
+
decorators: [{
|
|
2246
|
+
type: Component,
|
|
2247
|
+
args: [{
|
|
2248
|
+
selector: "helix-search-action",
|
|
2249
|
+
standalone: true,
|
|
2250
|
+
imports: [HxInput],
|
|
2251
|
+
template: `
|
|
2252
|
+
<input
|
|
2253
|
+
hx-input
|
|
2254
|
+
type="search"
|
|
2255
|
+
autocomplete="off"
|
|
2256
|
+
class="helix-search-action-input"
|
|
2257
|
+
[attr.aria-label]="label()"
|
|
2258
|
+
[placeholder]="placeholder()"
|
|
2259
|
+
(input)="search.emit($any($event.target).value)"
|
|
2260
|
+
/>
|
|
2261
|
+
`,
|
|
2262
|
+
host: { style: "display: flex; flex: 1 1 auto; min-width: 0;" },
|
|
2263
|
+
changeDetection: ChangeDetectionStrategy.Eager,
|
|
2264
|
+
styles: [".helix-search-action-input{flex:1 1 auto;min-width:0;height:var(--helix-control-height, 32px);padding-block:0}\n"]
|
|
2265
|
+
}]
|
|
2266
|
+
}],
|
|
2267
|
+
propDecorators: {
|
|
2268
|
+
placeholder: [{
|
|
2269
|
+
type: i0.Input,
|
|
2270
|
+
args: [{
|
|
2271
|
+
isSignal: true,
|
|
2272
|
+
alias: "placeholder",
|
|
2273
|
+
required: false
|
|
2274
|
+
}]
|
|
2275
|
+
}],
|
|
2276
|
+
label: [{
|
|
2277
|
+
type: i0.Input,
|
|
2278
|
+
args: [{
|
|
2279
|
+
isSignal: true,
|
|
2280
|
+
alias: "label",
|
|
2281
|
+
required: false
|
|
2282
|
+
}]
|
|
2283
|
+
}],
|
|
2284
|
+
search: [{
|
|
2285
|
+
type: i0.Output,
|
|
2286
|
+
args: ["search"]
|
|
2287
|
+
}]
|
|
2288
|
+
}
|
|
2289
|
+
});
|
|
2290
|
+
const HELIX_DEFAULT_TOPBAR_ACTIONS = [
|
|
2137
2291
|
{
|
|
2138
|
-
|
|
2139
|
-
|
|
2292
|
+
action: "search",
|
|
2293
|
+
position: "center",
|
|
2294
|
+
order: 0
|
|
2140
2295
|
},
|
|
2141
2296
|
{
|
|
2142
|
-
|
|
2143
|
-
|
|
2297
|
+
action: "darkMode",
|
|
2298
|
+
position: "end",
|
|
2299
|
+
order: 10
|
|
2144
2300
|
},
|
|
2145
2301
|
{
|
|
2146
|
-
|
|
2147
|
-
|
|
2302
|
+
action: "configurator",
|
|
2303
|
+
position: "end",
|
|
2304
|
+
order: 20
|
|
2305
|
+
},
|
|
2306
|
+
{
|
|
2307
|
+
action: "alerts",
|
|
2308
|
+
position: "end",
|
|
2309
|
+
order: 30
|
|
2148
2310
|
}
|
|
2149
2311
|
];
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2312
|
+
function helixTopbarActionId(entry) {
|
|
2313
|
+
return typeof entry.action === "string" ? entry.action : entry.action.id;
|
|
2314
|
+
}
|
|
2315
|
+
function defineTopbarActions(defaults, overrides = []) {
|
|
2316
|
+
const result = defaults.map((entry) => ({ ...entry }));
|
|
2317
|
+
for (const override of overrides) {
|
|
2318
|
+
const id = helixTopbarActionId(override);
|
|
2319
|
+
const index = result.findIndex((entry) => helixTopbarActionId(entry) === id);
|
|
2320
|
+
if (index === -1) result.push({ ...override });
|
|
2321
|
+
else result[index] = {
|
|
2322
|
+
...result[index],
|
|
2323
|
+
...override
|
|
2324
|
+
};
|
|
2325
|
+
}
|
|
2326
|
+
return result;
|
|
2327
|
+
}
|
|
2328
|
+
const HELIX_TOPBAR_NARROW_QUERY = "(max-width: 991px)";
|
|
2155
2329
|
var HelixTopbar = class HelixTopbar {
|
|
2156
2330
|
appTitle = input("Helix", ...ngDevMode ? [{ debugName: "appTitle" }] : /* istanbul ignore next */ []);
|
|
2157
|
-
topbarActions = input(DEFAULT_ACTIONS, ...ngDevMode ? [{ debugName: "topbarActions" }] : /* istanbul ignore next */ []);
|
|
2158
2331
|
breadcrumbs = input(void 0, ...ngDevMode ? [{ debugName: "breadcrumbs" }] : /* istanbul ignore next */ []);
|
|
2159
|
-
|
|
2160
|
-
|
|
2332
|
+
pageTitle = input(void 0, ...ngDevMode ? [{ debugName: "pageTitle" }] : /* istanbul ignore next */ []);
|
|
2333
|
+
actions = input(void 0, ...ngDevMode ? [{ debugName: "actions" }] : /* istanbul ignore next */ []);
|
|
2334
|
+
alerts = input([], ...ngDevMode ? [{ debugName: "alerts" }] : /* istanbul ignore next */ []);
|
|
2335
|
+
searchPlaceholder = input("Search", ...ngDevMode ? [{ debugName: "searchPlaceholder" }] : /* istanbul ignore next */ []);
|
|
2336
|
+
search = output();
|
|
2161
2337
|
store = inject(LayoutStore);
|
|
2338
|
+
narrow = signal(false, ...ngDevMode ? [{ debugName: "narrow" }] : /* istanbul ignore next */ []);
|
|
2162
2339
|
router = inject(Router);
|
|
2163
2340
|
route = inject(ActivatedRoute);
|
|
2164
2341
|
destroy$ = new Subject();
|
|
2165
2342
|
routeChange = signal(0, ...ngDevMode ? [{ debugName: "routeChange" }] : /* istanbul ignore next */ []);
|
|
2166
2343
|
ngOnInit() {
|
|
2344
|
+
this.watchViewport();
|
|
2167
2345
|
this.router.events.pipe(filter((event) => event instanceof NavigationEnd), takeUntil(this.destroy$)).subscribe(() => this.routeChange.update((n) => n + 1));
|
|
2168
2346
|
}
|
|
2347
|
+
watchViewport() {
|
|
2348
|
+
if (typeof window === "undefined" || typeof window.matchMedia !== "function") return;
|
|
2349
|
+
const query = window.matchMedia(HELIX_TOPBAR_NARROW_QUERY);
|
|
2350
|
+
this.narrow.set(query.matches);
|
|
2351
|
+
const onChange = (event) => this.narrow.set(event.matches);
|
|
2352
|
+
query.addEventListener("change", onChange);
|
|
2353
|
+
this.cleanup = () => query.removeEventListener("change", onChange);
|
|
2354
|
+
}
|
|
2355
|
+
cleanup;
|
|
2169
2356
|
ngOnDestroy() {
|
|
2357
|
+
this.cleanup?.();
|
|
2170
2358
|
this.destroy$.next();
|
|
2171
2359
|
this.destroy$.complete();
|
|
2172
2360
|
}
|
|
@@ -2177,9 +2365,44 @@ var HelixTopbar = class HelixTopbar {
|
|
|
2177
2365
|
return helixBreadcrumbsFromRoutes(this.route);
|
|
2178
2366
|
}, ...ngDevMode ? [{ debugName: "effectiveBreadcrumbs" }] : /* istanbul ignore next */ []);
|
|
2179
2367
|
showBreadcrumbs = computed(() => this.effectiveBreadcrumbs().length > 1, ...ngDevMode ? [{ debugName: "showBreadcrumbs" }] : /* istanbul ignore next */ []);
|
|
2368
|
+
effectiveTitle = computed(() => {
|
|
2369
|
+
const explicit = this.pageTitle();
|
|
2370
|
+
if (explicit) return explicit;
|
|
2371
|
+
this.routeChange();
|
|
2372
|
+
const fromRoute = helixPageTitleFromRoutes(this.route);
|
|
2373
|
+
if (fromRoute) return fromRoute;
|
|
2374
|
+
const crumbs = this.effectiveBreadcrumbs();
|
|
2375
|
+
return crumbs[crumbs.length - 1]?.label || this.appTitle();
|
|
2376
|
+
}, ...ngDevMode ? [{ debugName: "effectiveTitle" }] : /* istanbul ignore next */ []);
|
|
2377
|
+
customTemplate(entry) {
|
|
2378
|
+
return typeof entry.action === "string" ? null : entry.action.template;
|
|
2379
|
+
}
|
|
2380
|
+
zones = computed(() => {
|
|
2381
|
+
const explicit = this.actions();
|
|
2382
|
+
const hasAlerts = this.alerts().length > 0;
|
|
2383
|
+
const list = explicit ?? HELIX_DEFAULT_TOPBAR_ACTIONS.filter((entry) => entry.action !== "alerts" || hasAlerts);
|
|
2384
|
+
const zones = {
|
|
2385
|
+
start: [],
|
|
2386
|
+
center: [],
|
|
2387
|
+
end: []
|
|
2388
|
+
};
|
|
2389
|
+
const sorted = list.map((config, index) => ({
|
|
2390
|
+
config,
|
|
2391
|
+
index
|
|
2392
|
+
})).filter(({ config }) => !config.hidden).sort((a, b) => (a.config.order ?? 0) - (b.config.order ?? 0) || a.index - b.index);
|
|
2393
|
+
for (const { config } of sorted) {
|
|
2394
|
+
let position = config.position ?? "end";
|
|
2395
|
+
if (position === "center" && this.narrow()) position = "end";
|
|
2396
|
+
zones[position].push({
|
|
2397
|
+
id: helixTopbarActionId(config),
|
|
2398
|
+
config
|
|
2399
|
+
});
|
|
2400
|
+
}
|
|
2401
|
+
return zones;
|
|
2402
|
+
}, ...ngDevMode ? [{ debugName: "zones" }] : /* istanbul ignore next */ []);
|
|
2180
2403
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2181
2404
|
minVersion: "12.0.0",
|
|
2182
|
-
version: "22.2.
|
|
2405
|
+
version: "22.2.4",
|
|
2183
2406
|
ngImport: i0,
|
|
2184
2407
|
type: HelixTopbar,
|
|
2185
2408
|
deps: [],
|
|
@@ -2187,7 +2410,7 @@ var HelixTopbar = class HelixTopbar {
|
|
|
2187
2410
|
});
|
|
2188
2411
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2189
2412
|
minVersion: "17.0.0",
|
|
2190
|
-
version: "22.2.
|
|
2413
|
+
version: "22.2.4",
|
|
2191
2414
|
type: HelixTopbar,
|
|
2192
2415
|
isStandalone: true,
|
|
2193
2416
|
selector: "helix-topbar",
|
|
@@ -2199,38 +2422,46 @@ var HelixTopbar = class HelixTopbar {
|
|
|
2199
2422
|
isRequired: false,
|
|
2200
2423
|
transformFunction: null
|
|
2201
2424
|
},
|
|
2202
|
-
|
|
2203
|
-
classPropertyName: "
|
|
2204
|
-
publicName: "
|
|
2425
|
+
breadcrumbs: {
|
|
2426
|
+
classPropertyName: "breadcrumbs",
|
|
2427
|
+
publicName: "breadcrumbs",
|
|
2205
2428
|
isSignal: true,
|
|
2206
2429
|
isRequired: false,
|
|
2207
2430
|
transformFunction: null
|
|
2208
2431
|
},
|
|
2209
|
-
|
|
2210
|
-
classPropertyName: "
|
|
2211
|
-
publicName: "
|
|
2432
|
+
pageTitle: {
|
|
2433
|
+
classPropertyName: "pageTitle",
|
|
2434
|
+
publicName: "pageTitle",
|
|
2212
2435
|
isSignal: true,
|
|
2213
2436
|
isRequired: false,
|
|
2214
2437
|
transformFunction: null
|
|
2215
2438
|
},
|
|
2216
|
-
|
|
2217
|
-
classPropertyName: "
|
|
2218
|
-
publicName: "
|
|
2439
|
+
actions: {
|
|
2440
|
+
classPropertyName: "actions",
|
|
2441
|
+
publicName: "actions",
|
|
2219
2442
|
isSignal: true,
|
|
2220
2443
|
isRequired: false,
|
|
2221
2444
|
transformFunction: null
|
|
2222
2445
|
},
|
|
2223
|
-
|
|
2224
|
-
classPropertyName: "
|
|
2225
|
-
publicName: "
|
|
2446
|
+
alerts: {
|
|
2447
|
+
classPropertyName: "alerts",
|
|
2448
|
+
publicName: "alerts",
|
|
2449
|
+
isSignal: true,
|
|
2450
|
+
isRequired: false,
|
|
2451
|
+
transformFunction: null
|
|
2452
|
+
},
|
|
2453
|
+
searchPlaceholder: {
|
|
2454
|
+
classPropertyName: "searchPlaceholder",
|
|
2455
|
+
publicName: "searchPlaceholder",
|
|
2226
2456
|
isSignal: true,
|
|
2227
2457
|
isRequired: false,
|
|
2228
2458
|
transformFunction: null
|
|
2229
2459
|
}
|
|
2230
2460
|
},
|
|
2461
|
+
outputs: { search: "search" },
|
|
2231
2462
|
ngImport: i0,
|
|
2232
|
-
template: "<div class=\"layout-topbar\">\n <div class=\"layout-topbar-start\">\n <button\n type=\"button\"\n class=\"layout-menu-button layout-topbar-action\"\n [class.layout-menu-button-mobile-only]=\"store.isStatic()\"\n aria-label=\"Toggle navigation\"\n (click)=\"store.onMenuToggle()\"\n >\n <i class=\"pi pi-bars\"></i>\n </button>\n @if (showBreadcrumbs()) {\n <hx-breadcrumb [model]=\"effectiveBreadcrumbs()\" [home]=\"{ icon: 'pi pi-home', routerLink: '/' }\" />\n }\n
|
|
2233
|
-
styles: [".layout-topbar{
|
|
2463
|
+
template: "<ng-template #actionTpl let-entry>\n @if (customTemplate(entry); as template) {\n <ng-container [ngTemplateOutlet]=\"template\" />\n } @else {\n @switch (entry.action) {\n @case ('search') {\n <helix-search-action\n [placeholder]=\"searchPlaceholder()\"\n (search)=\"search.emit($event)\"\n />\n }\n @case ('darkMode') {\n <helix-dark-mode-action />\n }\n @case ('configurator') {\n <helix-configurator-action />\n }\n @case ('alerts') {\n <helix-alert-action [count]=\"alerts().length\" [alerts]=\"alerts()\" />\n }\n }\n }\n</ng-template>\n\n<div class=\"layout-topbar\" [class.layout-topbar-narrow]=\"narrow()\">\n <div class=\"layout-topbar-start\">\n <button\n type=\"button\"\n class=\"layout-menu-button layout-topbar-action\"\n [class.layout-menu-button-mobile-only]=\"store.isStatic()\"\n aria-label=\"Toggle navigation\"\n (click)=\"store.onMenuToggle()\"\n >\n <i class=\"pi pi-bars\"></i>\n </button>\n @if (showBreadcrumbs()) {\n <hx-breadcrumb [model]=\"effectiveBreadcrumbs()\" [home]=\"{ icon: 'pi pi-home', routerLink: '/' }\" />\n } @else {\n <span class=\"layout-topbar-title\">{{ effectiveTitle() }}</span>\n }\n @if (zones().start.length > 0) {\n <div class=\"layout-topbar-zone layout-topbar-zone-start\">\n @for (entry of zones().start; track $index) {\n <ng-container [ngTemplateOutlet]=\"actionTpl\" [ngTemplateOutletContext]=\"{ $implicit: entry.config }\" />\n }\n </div>\n }\n </div>\n\n @if (zones().center.length > 0) {\n <div class=\"layout-topbar-center layout-topbar-zone\">\n @for (entry of zones().center; track $index) {\n <ng-container [ngTemplateOutlet]=\"actionTpl\" [ngTemplateOutletContext]=\"{ $implicit: entry.config }\" />\n }\n </div>\n }\n\n @if (zones().end.length > 0) {\n <div class=\"layout-topbar-end layout-topbar-zone\">\n @for (entry of zones().end; track $index) {\n <ng-container [ngTemplateOutlet]=\"actionTpl\" [ngTemplateOutletContext]=\"{ $implicit: entry.config }\" />\n }\n </div>\n }\n</div>\n",
|
|
2464
|
+
styles: [":host{display:block;flex:0 0 auto}.layout-topbar{box-sizing:border-box;height:var(--helix-topbar-height, 3rem);padding:0 var(--helix-panel-gap, 4px) 0 1rem;border-bottom:1px solid var(--h-content-border-color);display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:.75rem}.layout-topbar .layout-topbar-start{grid-column:1;display:flex;align-items:center;gap:.5rem;min-width:0}.layout-topbar .layout-topbar-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1rem;font-weight:600;color:var(--text-color)}.layout-topbar .layout-topbar-zone{display:flex;align-items:center;gap:.5rem;min-width:0}.layout-topbar .layout-topbar-zone-start{margin-left:auto}.layout-topbar .layout-topbar-center{grid-column:2;width:clamp(10rem,30vw,28rem)}.layout-topbar .layout-topbar-end{grid-column:3;justify-content:flex-end}.layout-topbar.layout-topbar-narrow{grid-template-columns:minmax(0,1fr) auto}.layout-topbar.layout-topbar-narrow .layout-topbar-end{grid-column:2}.layout-topbar ::ng-deep .hx-breadcrumb{background:inherit;color:inherit}.layout-topbar .layout-topbar-action{display:inline-flex;flex-shrink:0;justify-content:center;align-items:center;border-radius:var(--h-border-radius-md);width:var(--helix-control-height, 32px);height:var(--helix-control-height, 32px);color:var(--text-color);transition:background-color var(--element-transition-duration);cursor:pointer}.layout-topbar .layout-topbar-action:hover{background-color:var(--helix-surface-hover)}.layout-topbar .layout-topbar-action:focus-visible{outline-width:var(--focus-ring-width);outline-style:var(--focus-ring-style);outline-color:var(--focus-ring-color);outline-offset:var(--focus-ring-offset);box-shadow:var(--focus-ring-shadow);transition:box-shadow var(--transition-duration),outline-color var(--transition-duration)}.layout-topbar .layout-topbar-action i{font-size:1.25rem}.layout-topbar .layout-menu-button{flex-shrink:0;margin-left:-.5rem}@media(min-width:992px){.layout-topbar .layout-menu-button-mobile-only{display:none}.layout-topbar .layout-topbar-start{min-width:12rem}}@media(max-width:991px){.layout-topbar{padding:0 .5rem}.layout-topbar .layout-menu-button{margin-left:0}}.config-panel .config-panel-label{font-size:.875rem;color:var(--text-secondary-color);font-weight:600;line-height:1}.config-panel .config-panel-colors>div{padding-top:.5rem;display:flex;gap:.5rem;flex-wrap:wrap;justify-content:space-between}.config-panel .config-panel-colors>div button{border:none;width:1.25rem;height:1.25rem;border-radius:50%;padding:0;cursor:pointer;outline-color:transparent;outline-width:2px;outline-style:solid;outline-offset:1px}.config-panel .config-panel-colors>div button.active-color{outline-color:var(--primary-color)}.config-panel .config-panel-settings{display:flex;flex-direction:column;gap:.5rem}\n"],
|
|
2234
2465
|
dependencies: [
|
|
2235
2466
|
{
|
|
2236
2467
|
kind: "ngmodule",
|
|
@@ -2240,6 +2471,26 @@ var HelixTopbar = class HelixTopbar {
|
|
|
2240
2471
|
kind: "ngmodule",
|
|
2241
2472
|
type: CommonModule
|
|
2242
2473
|
},
|
|
2474
|
+
{
|
|
2475
|
+
kind: "directive",
|
|
2476
|
+
type: i1.NgTemplateOutlet,
|
|
2477
|
+
selector: "[ngTemplateOutlet]",
|
|
2478
|
+
inputs: [
|
|
2479
|
+
"ngTemplateOutletContext",
|
|
2480
|
+
"ngTemplateOutlet",
|
|
2481
|
+
"ngTemplateOutletInjector"
|
|
2482
|
+
]
|
|
2483
|
+
},
|
|
2484
|
+
{
|
|
2485
|
+
kind: "component",
|
|
2486
|
+
type: HxBreadcrumb,
|
|
2487
|
+
selector: "hx-breadcrumb",
|
|
2488
|
+
inputs: [
|
|
2489
|
+
"model",
|
|
2490
|
+
"home",
|
|
2491
|
+
"ariaLabel"
|
|
2492
|
+
]
|
|
2493
|
+
},
|
|
2243
2494
|
{
|
|
2244
2495
|
kind: "component",
|
|
2245
2496
|
type: HelixAlertAction,
|
|
@@ -2257,21 +2508,12 @@ var HelixTopbar = class HelixTopbar {
|
|
|
2257
2508
|
type: HelixDarkModeAction,
|
|
2258
2509
|
selector: "helix-dark-mode-action"
|
|
2259
2510
|
},
|
|
2260
|
-
{
|
|
2261
|
-
kind: "directive",
|
|
2262
|
-
type: HelixDisclosure,
|
|
2263
|
-
selector: "[helixDisclosure]",
|
|
2264
|
-
inputs: ["helixDisclosureAnimate"]
|
|
2265
|
-
},
|
|
2266
2511
|
{
|
|
2267
2512
|
kind: "component",
|
|
2268
|
-
type:
|
|
2269
|
-
selector: "
|
|
2270
|
-
inputs: [
|
|
2271
|
-
|
|
2272
|
-
"home",
|
|
2273
|
-
"ariaLabel"
|
|
2274
|
-
]
|
|
2513
|
+
type: HelixSearchAction,
|
|
2514
|
+
selector: "helix-search-action",
|
|
2515
|
+
inputs: ["placeholder", "label"],
|
|
2516
|
+
outputs: ["search"]
|
|
2275
2517
|
}
|
|
2276
2518
|
],
|
|
2277
2519
|
changeDetection: i0.ChangeDetectionStrategy.Eager
|
|
@@ -2279,7 +2521,7 @@ var HelixTopbar = class HelixTopbar {
|
|
|
2279
2521
|
};
|
|
2280
2522
|
i0.ɵɵngDeclareClassMetadata({
|
|
2281
2523
|
minVersion: "12.0.0",
|
|
2282
|
-
version: "22.2.
|
|
2524
|
+
version: "22.2.4",
|
|
2283
2525
|
ngImport: i0,
|
|
2284
2526
|
type: HelixTopbar,
|
|
2285
2527
|
decorators: [{
|
|
@@ -2290,15 +2532,15 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2290
2532
|
imports: [
|
|
2291
2533
|
RouterModule,
|
|
2292
2534
|
CommonModule,
|
|
2535
|
+
HxBreadcrumb,
|
|
2293
2536
|
HelixAlertAction,
|
|
2294
2537
|
HelixConfiguratorAction,
|
|
2295
2538
|
HelixDarkModeAction,
|
|
2296
|
-
|
|
2297
|
-
HxBreadcrumb
|
|
2539
|
+
HelixSearchAction
|
|
2298
2540
|
],
|
|
2299
2541
|
changeDetection: ChangeDetectionStrategy.Eager,
|
|
2300
|
-
template: "<div class=\"layout-topbar\">\n <div class=\"layout-topbar-start\">\n <button\n type=\"button\"\n class=\"layout-menu-button layout-topbar-action\"\n [class.layout-menu-button-mobile-only]=\"store.isStatic()\"\n aria-label=\"Toggle navigation\"\n (click)=\"store.onMenuToggle()\"\n >\n <i class=\"pi pi-bars\"></i>\n </button>\n @if (showBreadcrumbs()) {\n <hx-breadcrumb [model]=\"effectiveBreadcrumbs()\" [home]=\"{ icon: 'pi pi-home', routerLink: '/' }\" />\n }\n
|
|
2301
|
-
styles: [".layout-topbar{
|
|
2542
|
+
template: "<ng-template #actionTpl let-entry>\n @if (customTemplate(entry); as template) {\n <ng-container [ngTemplateOutlet]=\"template\" />\n } @else {\n @switch (entry.action) {\n @case ('search') {\n <helix-search-action\n [placeholder]=\"searchPlaceholder()\"\n (search)=\"search.emit($event)\"\n />\n }\n @case ('darkMode') {\n <helix-dark-mode-action />\n }\n @case ('configurator') {\n <helix-configurator-action />\n }\n @case ('alerts') {\n <helix-alert-action [count]=\"alerts().length\" [alerts]=\"alerts()\" />\n }\n }\n }\n</ng-template>\n\n<div class=\"layout-topbar\" [class.layout-topbar-narrow]=\"narrow()\">\n <div class=\"layout-topbar-start\">\n <button\n type=\"button\"\n class=\"layout-menu-button layout-topbar-action\"\n [class.layout-menu-button-mobile-only]=\"store.isStatic()\"\n aria-label=\"Toggle navigation\"\n (click)=\"store.onMenuToggle()\"\n >\n <i class=\"pi pi-bars\"></i>\n </button>\n @if (showBreadcrumbs()) {\n <hx-breadcrumb [model]=\"effectiveBreadcrumbs()\" [home]=\"{ icon: 'pi pi-home', routerLink: '/' }\" />\n } @else {\n <span class=\"layout-topbar-title\">{{ effectiveTitle() }}</span>\n }\n @if (zones().start.length > 0) {\n <div class=\"layout-topbar-zone layout-topbar-zone-start\">\n @for (entry of zones().start; track $index) {\n <ng-container [ngTemplateOutlet]=\"actionTpl\" [ngTemplateOutletContext]=\"{ $implicit: entry.config }\" />\n }\n </div>\n }\n </div>\n\n @if (zones().center.length > 0) {\n <div class=\"layout-topbar-center layout-topbar-zone\">\n @for (entry of zones().center; track $index) {\n <ng-container [ngTemplateOutlet]=\"actionTpl\" [ngTemplateOutletContext]=\"{ $implicit: entry.config }\" />\n }\n </div>\n }\n\n @if (zones().end.length > 0) {\n <div class=\"layout-topbar-end layout-topbar-zone\">\n @for (entry of zones().end; track $index) {\n <ng-container [ngTemplateOutlet]=\"actionTpl\" [ngTemplateOutletContext]=\"{ $implicit: entry.config }\" />\n }\n </div>\n }\n</div>\n",
|
|
2543
|
+
styles: [":host{display:block;flex:0 0 auto}.layout-topbar{box-sizing:border-box;height:var(--helix-topbar-height, 3rem);padding:0 var(--helix-panel-gap, 4px) 0 1rem;border-bottom:1px solid var(--h-content-border-color);display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:.75rem}.layout-topbar .layout-topbar-start{grid-column:1;display:flex;align-items:center;gap:.5rem;min-width:0}.layout-topbar .layout-topbar-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:1rem;font-weight:600;color:var(--text-color)}.layout-topbar .layout-topbar-zone{display:flex;align-items:center;gap:.5rem;min-width:0}.layout-topbar .layout-topbar-zone-start{margin-left:auto}.layout-topbar .layout-topbar-center{grid-column:2;width:clamp(10rem,30vw,28rem)}.layout-topbar .layout-topbar-end{grid-column:3;justify-content:flex-end}.layout-topbar.layout-topbar-narrow{grid-template-columns:minmax(0,1fr) auto}.layout-topbar.layout-topbar-narrow .layout-topbar-end{grid-column:2}.layout-topbar ::ng-deep .hx-breadcrumb{background:inherit;color:inherit}.layout-topbar .layout-topbar-action{display:inline-flex;flex-shrink:0;justify-content:center;align-items:center;border-radius:var(--h-border-radius-md);width:var(--helix-control-height, 32px);height:var(--helix-control-height, 32px);color:var(--text-color);transition:background-color var(--element-transition-duration);cursor:pointer}.layout-topbar .layout-topbar-action:hover{background-color:var(--helix-surface-hover)}.layout-topbar .layout-topbar-action:focus-visible{outline-width:var(--focus-ring-width);outline-style:var(--focus-ring-style);outline-color:var(--focus-ring-color);outline-offset:var(--focus-ring-offset);box-shadow:var(--focus-ring-shadow);transition:box-shadow var(--transition-duration),outline-color var(--transition-duration)}.layout-topbar .layout-topbar-action i{font-size:1.25rem}.layout-topbar .layout-menu-button{flex-shrink:0;margin-left:-.5rem}@media(min-width:992px){.layout-topbar .layout-menu-button-mobile-only{display:none}.layout-topbar .layout-topbar-start{min-width:12rem}}@media(max-width:991px){.layout-topbar{padding:0 .5rem}.layout-topbar .layout-menu-button{margin-left:0}}.config-panel .config-panel-label{font-size:.875rem;color:var(--text-secondary-color);font-weight:600;line-height:1}.config-panel .config-panel-colors>div{padding-top:.5rem;display:flex;gap:.5rem;flex-wrap:wrap;justify-content:space-between}.config-panel .config-panel-colors>div button{border:none;width:1.25rem;height:1.25rem;border-radius:50%;padding:0;cursor:pointer;outline-color:transparent;outline-width:2px;outline-style:solid;outline-offset:1px}.config-panel .config-panel-colors>div button.active-color{outline-color:var(--primary-color)}.config-panel .config-panel-settings{display:flex;flex-direction:column;gap:.5rem}\n"]
|
|
2302
2544
|
}]
|
|
2303
2545
|
}],
|
|
2304
2546
|
propDecorators: {
|
|
@@ -2310,45 +2552,60 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2310
2552
|
required: false
|
|
2311
2553
|
}]
|
|
2312
2554
|
}],
|
|
2313
|
-
|
|
2555
|
+
breadcrumbs: [{
|
|
2314
2556
|
type: i0.Input,
|
|
2315
2557
|
args: [{
|
|
2316
2558
|
isSignal: true,
|
|
2317
|
-
alias: "
|
|
2559
|
+
alias: "breadcrumbs",
|
|
2318
2560
|
required: false
|
|
2319
2561
|
}]
|
|
2320
2562
|
}],
|
|
2321
|
-
|
|
2563
|
+
pageTitle: [{
|
|
2322
2564
|
type: i0.Input,
|
|
2323
2565
|
args: [{
|
|
2324
2566
|
isSignal: true,
|
|
2325
|
-
alias: "
|
|
2567
|
+
alias: "pageTitle",
|
|
2326
2568
|
required: false
|
|
2327
2569
|
}]
|
|
2328
2570
|
}],
|
|
2329
|
-
|
|
2571
|
+
actions: [{
|
|
2330
2572
|
type: i0.Input,
|
|
2331
2573
|
args: [{
|
|
2332
2574
|
isSignal: true,
|
|
2333
|
-
alias: "
|
|
2575
|
+
alias: "actions",
|
|
2576
|
+
required: false
|
|
2577
|
+
}]
|
|
2578
|
+
}],
|
|
2579
|
+
alerts: [{
|
|
2580
|
+
type: i0.Input,
|
|
2581
|
+
args: [{
|
|
2582
|
+
isSignal: true,
|
|
2583
|
+
alias: "alerts",
|
|
2334
2584
|
required: false
|
|
2335
2585
|
}]
|
|
2336
2586
|
}],
|
|
2337
|
-
|
|
2587
|
+
searchPlaceholder: [{
|
|
2338
2588
|
type: i0.Input,
|
|
2339
2589
|
args: [{
|
|
2340
2590
|
isSignal: true,
|
|
2341
|
-
alias: "
|
|
2591
|
+
alias: "searchPlaceholder",
|
|
2342
2592
|
required: false
|
|
2343
2593
|
}]
|
|
2594
|
+
}],
|
|
2595
|
+
search: [{
|
|
2596
|
+
type: i0.Output,
|
|
2597
|
+
args: ["search"]
|
|
2344
2598
|
}]
|
|
2345
2599
|
}
|
|
2346
2600
|
});
|
|
2347
2601
|
var HelixAppLayout = class HelixAppLayout {
|
|
2348
2602
|
appTitle = input("Helix", ...ngDevMode ? [{ debugName: "appTitle" }] : /* istanbul ignore next */ []);
|
|
2349
2603
|
environment = input(...ngDevMode ? [void 0, { debugName: "environment" }] : /* istanbul ignore next */ []);
|
|
2350
|
-
|
|
2604
|
+
pageTitle = input(...ngDevMode ? [void 0, { debugName: "pageTitle" }] : /* istanbul ignore next */ []);
|
|
2351
2605
|
topbarActions = input(...ngDevMode ? [void 0, { debugName: "topbarActions" }] : /* istanbul ignore next */ []);
|
|
2606
|
+
alerts = input([], ...ngDevMode ? [{ debugName: "alerts" }] : /* istanbul ignore next */ []);
|
|
2607
|
+
searchPlaceholder = input("Search", ...ngDevMode ? [{ debugName: "searchPlaceholder" }] : /* istanbul ignore next */ []);
|
|
2608
|
+
search = output();
|
|
2352
2609
|
brandIcon = input(...ngDevMode ? [void 0, { debugName: "brandIcon" }] : /* istanbul ignore next */ []);
|
|
2353
2610
|
statusBarEnvironment = input(...ngDevMode ? [void 0, { debugName: "statusBarEnvironment" }] : /* istanbul ignore next */ []);
|
|
2354
2611
|
statusBarNote = input(...ngDevMode ? [void 0, { debugName: "statusBarNote" }] : /* istanbul ignore next */ []);
|
|
@@ -2358,20 +2615,6 @@ var HelixAppLayout = class HelixAppLayout {
|
|
|
2358
2615
|
menu = input([], ...ngDevMode ? [{ debugName: "menu" }] : /* istanbul ignore next */ []);
|
|
2359
2616
|
navStyle = input("sections", ...ngDevMode ? [{ debugName: "navStyle" }] : /* istanbul ignore next */ []);
|
|
2360
2617
|
navGroups = input(...ngDevMode ? [void 0, { debugName: "navGroups" }] : /* istanbul ignore next */ []);
|
|
2361
|
-
static DEFAULT_TOP_ACTIONS = [
|
|
2362
|
-
{
|
|
2363
|
-
icon: "pi pi-calendar",
|
|
2364
|
-
label: "Calendar"
|
|
2365
|
-
},
|
|
2366
|
-
{
|
|
2367
|
-
icon: "pi pi-inbox",
|
|
2368
|
-
label: "Messages"
|
|
2369
|
-
},
|
|
2370
|
-
{
|
|
2371
|
-
icon: "pi pi-user",
|
|
2372
|
-
label: "Profile"
|
|
2373
|
-
}
|
|
2374
|
-
];
|
|
2375
2618
|
store = inject(LayoutStore);
|
|
2376
2619
|
activatedRoute = inject(ActivatedRoute);
|
|
2377
2620
|
effectiveMenu = computed(() => {
|
|
@@ -2385,21 +2628,29 @@ var HelixAppLayout = class HelixAppLayout {
|
|
|
2385
2628
|
if (input !== void 0) return input;
|
|
2386
2629
|
return this.activatedRoute.snapshot.data["environment"];
|
|
2387
2630
|
}, ...ngDevMode ? [{ debugName: "effectiveEnvironment" }] : /* istanbul ignore next */ []);
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
if (custom !== void 0) return custom;
|
|
2391
|
-
return [
|
|
2392
|
-
{ type: "darkmode" },
|
|
2393
|
-
{ type: "configurator" },
|
|
2394
|
-
{ type: "mobile" }
|
|
2395
|
-
];
|
|
2396
|
-
}, ...ngDevMode ? [{ debugName: "effectiveItems" }] : /* istanbul ignore next */ []);
|
|
2397
|
-
effectiveTopbarActions = computed(() => this.topbarActions() ?? HelixAppLayout.DEFAULT_TOP_ACTIONS, ...ngDevMode ? [{ debugName: "effectiveTopbarActions" }] : /* istanbul ignore next */ []);
|
|
2631
|
+
mainPanel = viewChild("mainPanel", ...ngDevMode ? [{ debugName: "mainPanel" }] : /* istanbul ignore next */ []);
|
|
2632
|
+
router = inject(Router, { optional: true });
|
|
2398
2633
|
constructor() {
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2634
|
+
this.resetScrollOnNavigation();
|
|
2635
|
+
}
|
|
2636
|
+
resetScrollOnNavigation() {
|
|
2637
|
+
if (!this.router) return;
|
|
2638
|
+
const offsets = /* @__PURE__ */ new Map();
|
|
2639
|
+
let currentId = 0;
|
|
2640
|
+
let restoreId;
|
|
2641
|
+
const sub = this.router.events.subscribe((event) => {
|
|
2642
|
+
const panel = this.mainPanel()?.nativeElement;
|
|
2643
|
+
if (event instanceof NavigationStart) {
|
|
2644
|
+
if (panel && currentId) offsets.set(currentId, panel.scrollTop);
|
|
2645
|
+
restoreId = event.navigationTrigger === "popstate" ? event.restoredState?.navigationId : void 0;
|
|
2646
|
+
} else if (event instanceof NavigationEnd && panel) {
|
|
2647
|
+
currentId = event.id;
|
|
2648
|
+
if (event.urlAfterRedirects.includes("#")) return;
|
|
2649
|
+
panel.scrollTop = (restoreId !== void 0 ? offsets.get(restoreId) : void 0) ?? 0;
|
|
2650
|
+
offsets.set(currentId, panel.scrollTop);
|
|
2651
|
+
}
|
|
2402
2652
|
});
|
|
2653
|
+
inject(DestroyRef).onDestroy(() => sub.unsubscribe());
|
|
2403
2654
|
}
|
|
2404
2655
|
containerClass = computed(() => ({
|
|
2405
2656
|
"layout-overlay": this.store.menuMode() === "overlay",
|
|
@@ -2411,15 +2662,15 @@ var HelixAppLayout = class HelixAppLayout {
|
|
|
2411
2662
|
}), ...ngDevMode ? [{ debugName: "containerClass" }] : /* istanbul ignore next */ []);
|
|
2412
2663
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2413
2664
|
minVersion: "12.0.0",
|
|
2414
|
-
version: "22.2.
|
|
2665
|
+
version: "22.2.4",
|
|
2415
2666
|
ngImport: i0,
|
|
2416
2667
|
type: HelixAppLayout,
|
|
2417
2668
|
deps: [],
|
|
2418
2669
|
target: i0.ɵɵFactoryTarget.Component
|
|
2419
2670
|
});
|
|
2420
2671
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2421
|
-
minVersion: "17.
|
|
2422
|
-
version: "22.2.
|
|
2672
|
+
minVersion: "17.2.0",
|
|
2673
|
+
version: "22.2.4",
|
|
2423
2674
|
type: HelixAppLayout,
|
|
2424
2675
|
isStandalone: true,
|
|
2425
2676
|
selector: "helix-app-layout",
|
|
@@ -2438,9 +2689,9 @@ var HelixAppLayout = class HelixAppLayout {
|
|
|
2438
2689
|
isRequired: false,
|
|
2439
2690
|
transformFunction: null
|
|
2440
2691
|
},
|
|
2441
|
-
|
|
2442
|
-
classPropertyName: "
|
|
2443
|
-
publicName: "
|
|
2692
|
+
pageTitle: {
|
|
2693
|
+
classPropertyName: "pageTitle",
|
|
2694
|
+
publicName: "pageTitle",
|
|
2444
2695
|
isSignal: true,
|
|
2445
2696
|
isRequired: false,
|
|
2446
2697
|
transformFunction: null
|
|
@@ -2452,6 +2703,20 @@ var HelixAppLayout = class HelixAppLayout {
|
|
|
2452
2703
|
isRequired: false,
|
|
2453
2704
|
transformFunction: null
|
|
2454
2705
|
},
|
|
2706
|
+
alerts: {
|
|
2707
|
+
classPropertyName: "alerts",
|
|
2708
|
+
publicName: "alerts",
|
|
2709
|
+
isSignal: true,
|
|
2710
|
+
isRequired: false,
|
|
2711
|
+
transformFunction: null
|
|
2712
|
+
},
|
|
2713
|
+
searchPlaceholder: {
|
|
2714
|
+
classPropertyName: "searchPlaceholder",
|
|
2715
|
+
publicName: "searchPlaceholder",
|
|
2716
|
+
isSignal: true,
|
|
2717
|
+
isRequired: false,
|
|
2718
|
+
transformFunction: null
|
|
2719
|
+
},
|
|
2455
2720
|
brandIcon: {
|
|
2456
2721
|
classPropertyName: "brandIcon",
|
|
2457
2722
|
publicName: "brandIcon",
|
|
@@ -2516,9 +2781,17 @@ var HelixAppLayout = class HelixAppLayout {
|
|
|
2516
2781
|
transformFunction: null
|
|
2517
2782
|
}
|
|
2518
2783
|
},
|
|
2784
|
+
outputs: { search: "search" },
|
|
2785
|
+
viewQueries: [{
|
|
2786
|
+
propertyName: "mainPanel",
|
|
2787
|
+
first: true,
|
|
2788
|
+
predicate: ["mainPanel"],
|
|
2789
|
+
descendants: true,
|
|
2790
|
+
isSignal: true
|
|
2791
|
+
}],
|
|
2519
2792
|
ngImport: i0,
|
|
2520
|
-
template: "<div class=\"layout-wrapper\" [ngClass]=\"containerClass()\">\n <helix-
|
|
2521
|
-
styles: [".layout-wrapper{
|
|
2793
|
+
template: "<div class=\"layout-wrapper\" [ngClass]=\"containerClass()\">\n <helix-nav-rail\n [model]=\"effectiveNavGroups()\"\n [appTitle]=\"appTitle()\"\n [brandIcon]=\"brandIcon()\"\n ></helix-nav-rail>\n <div class=\"layout-main-container\">\n <div class=\"layout-panel\">\n <helix-topbar\n [pageTitle]=\"pageTitle()\"\n [appTitle]=\"appTitle()\"\n [actions]=\"topbarActions()\"\n [alerts]=\"alerts()\"\n [searchPlaceholder]=\"searchPlaceholder()\"\n (search)=\"search.emit($event)\"\n />\n <div\n #mainPanel\n class=\"layout-main\"\n [attr.inert]=\"store.mobileMenuActive() ? '' : null\"\n >\n <router-outlet></router-outlet>\n </div>\n </div>\n </div>\n <helix-status-bar\n [brand]=\"statusBarBrand()\"\n [environment]=\"statusBarEnvironment()\"\n [note]=\"statusBarNote()\"\n [tone]=\"statusBarTone()\"\n [versions]=\"statusBarVersions()\"\n >\n <ng-content select=\"[hxStatusBarEnd]\" ngProjectAs=\"[hxStatusBarEnd]\" />\n </helix-status-bar>\n <div class=\"layout-mask\"></div>\n</div>\n",
|
|
2794
|
+
styles: [".layout-wrapper{height:100vh;height:100dvh;overflow:hidden;background:var(--helix-surface-chrome);--helix-content-offset: calc(var(--helix-panel-gap) + var(--helix-nav-width))}.layout-main-container{position:fixed;top:0;bottom:var(--helix-status-bar-height);left:var(--helix-content-offset);right:0;display:flex;padding:var(--helix-panel-gap);box-sizing:border-box;transition:left var(--layout-section-transition-duration)}.layout-panel{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box;background:var(--h-content-background);--helix-panel-border-width: 1px;border:var(--helix-panel-border-width) solid var(--h-content-border-color);border-radius:var(--helix-panel-radius)}.layout-main{flex:1 1 auto;min-height:0;overflow:auto;box-sizing:border-box;padding:var(--helix-layout-gap);padding-top:calc(var(--helix-panel-gap) + var(--helix-panel-border-width) + var(--helix-layout-gap))}.layout-wrapper>helix-status-bar{position:fixed;bottom:0;left:0;right:0;z-index:996}.layout-mask{display:none;position:fixed;top:0;left:0;z-index:998;width:100%;height:100%;background-color:var(--maskbg)}@media(min-width:992px){.layout-wrapper.layout-overlay{--helix-content-offset: 0px}.layout-wrapper.layout-overlay .helix-nav-rail{transform:translate(calc(-100% - var(--helix-panel-gap)));transition:transform .4s cubic-bezier(.05,.74,.2,.99),left .4s cubic-bezier(.05,.74,.2,.99);box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014}.layout-wrapper.layout-overlay.layout-overlay-active .helix-nav-rail{transform:translate(0)}.layout-wrapper.layout-static.layout-static-inactive{--helix-content-offset: 0px}.layout-wrapper.layout-static.layout-static-inactive .helix-nav-rail{transform:translate(calc(-100% - var(--helix-panel-gap)))}.layout-wrapper.layout-static.layout-sidebar-collapsed{--helix-content-offset: calc(var(--helix-panel-gap) + var(--helix-nav-width-collapsed))}.layout-wrapper .layout-mask{display:none}}@media(max-width:991px){.layout-wrapper .layout-main-container{left:0;padding:0}.layout-wrapper .layout-panel{--helix-panel-border-width: 0px;border:0;border-radius:0}.layout-wrapper .layout-main{padding-top:var(--helix-layout-gap)}.layout-wrapper .helix-nav-rail{top:0;bottom:0;left:0;border-radius:0;border-width:0 1px 0 0;transform:translate(-100%);transition:transform .4s cubic-bezier(.05,.74,.2,.99),left .4s cubic-bezier(.05,.74,.2,.99)}.layout-wrapper.layout-mobile-active .helix-nav-rail{transform:translate(0)}.layout-wrapper.layout-mobile-active .layout-mask{display:block}}@media screen and (min-width:1960px){.landing-wrapper{width:100%;max-width:1760px;margin-left:auto!important;margin-right:auto!important}}\n"],
|
|
2522
2795
|
dependencies: [
|
|
2523
2796
|
{
|
|
2524
2797
|
kind: "ngmodule",
|
|
@@ -2536,11 +2809,13 @@ var HelixAppLayout = class HelixAppLayout {
|
|
|
2536
2809
|
selector: "helix-topbar",
|
|
2537
2810
|
inputs: [
|
|
2538
2811
|
"appTitle",
|
|
2539
|
-
"topbarActions",
|
|
2540
2812
|
"breadcrumbs",
|
|
2541
|
-
"
|
|
2542
|
-
"
|
|
2543
|
-
|
|
2813
|
+
"pageTitle",
|
|
2814
|
+
"actions",
|
|
2815
|
+
"alerts",
|
|
2816
|
+
"searchPlaceholder"
|
|
2817
|
+
],
|
|
2818
|
+
outputs: ["search"]
|
|
2544
2819
|
},
|
|
2545
2820
|
{
|
|
2546
2821
|
kind: "component",
|
|
@@ -2589,7 +2864,7 @@ var HelixAppLayout = class HelixAppLayout {
|
|
|
2589
2864
|
};
|
|
2590
2865
|
i0.ɵɵngDeclareClassMetadata({
|
|
2591
2866
|
minVersion: "12.0.0",
|
|
2592
|
-
version: "22.2.
|
|
2867
|
+
version: "22.2.4",
|
|
2593
2868
|
ngImport: i0,
|
|
2594
2869
|
type: HelixAppLayout,
|
|
2595
2870
|
decorators: [{
|
|
@@ -2606,8 +2881,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2606
2881
|
],
|
|
2607
2882
|
changeDetection: ChangeDetectionStrategy.Eager,
|
|
2608
2883
|
encapsulation: ViewEncapsulation.None,
|
|
2609
|
-
template: "<div class=\"layout-wrapper\" [ngClass]=\"containerClass()\">\n <helix-
|
|
2610
|
-
styles: [".layout-wrapper{
|
|
2884
|
+
template: "<div class=\"layout-wrapper\" [ngClass]=\"containerClass()\">\n <helix-nav-rail\n [model]=\"effectiveNavGroups()\"\n [appTitle]=\"appTitle()\"\n [brandIcon]=\"brandIcon()\"\n ></helix-nav-rail>\n <div class=\"layout-main-container\">\n <div class=\"layout-panel\">\n <helix-topbar\n [pageTitle]=\"pageTitle()\"\n [appTitle]=\"appTitle()\"\n [actions]=\"topbarActions()\"\n [alerts]=\"alerts()\"\n [searchPlaceholder]=\"searchPlaceholder()\"\n (search)=\"search.emit($event)\"\n />\n <div\n #mainPanel\n class=\"layout-main\"\n [attr.inert]=\"store.mobileMenuActive() ? '' : null\"\n >\n <router-outlet></router-outlet>\n </div>\n </div>\n </div>\n <helix-status-bar\n [brand]=\"statusBarBrand()\"\n [environment]=\"statusBarEnvironment()\"\n [note]=\"statusBarNote()\"\n [tone]=\"statusBarTone()\"\n [versions]=\"statusBarVersions()\"\n >\n <ng-content select=\"[hxStatusBarEnd]\" ngProjectAs=\"[hxStatusBarEnd]\" />\n </helix-status-bar>\n <div class=\"layout-mask\"></div>\n</div>\n",
|
|
2885
|
+
styles: [".layout-wrapper{height:100vh;height:100dvh;overflow:hidden;background:var(--helix-surface-chrome);--helix-content-offset: calc(var(--helix-panel-gap) + var(--helix-nav-width))}.layout-main-container{position:fixed;top:0;bottom:var(--helix-status-bar-height);left:var(--helix-content-offset);right:0;display:flex;padding:var(--helix-panel-gap);box-sizing:border-box;transition:left var(--layout-section-transition-duration)}.layout-panel{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box;background:var(--h-content-background);--helix-panel-border-width: 1px;border:var(--helix-panel-border-width) solid var(--h-content-border-color);border-radius:var(--helix-panel-radius)}.layout-main{flex:1 1 auto;min-height:0;overflow:auto;box-sizing:border-box;padding:var(--helix-layout-gap);padding-top:calc(var(--helix-panel-gap) + var(--helix-panel-border-width) + var(--helix-layout-gap))}.layout-wrapper>helix-status-bar{position:fixed;bottom:0;left:0;right:0;z-index:996}.layout-mask{display:none;position:fixed;top:0;left:0;z-index:998;width:100%;height:100%;background-color:var(--maskbg)}@media(min-width:992px){.layout-wrapper.layout-overlay{--helix-content-offset: 0px}.layout-wrapper.layout-overlay .helix-nav-rail{transform:translate(calc(-100% - var(--helix-panel-gap)));transition:transform .4s cubic-bezier(.05,.74,.2,.99),left .4s cubic-bezier(.05,.74,.2,.99);box-shadow:0 3px 5px #00000005,0 0 2px #0000000d,0 1px 4px #00000014}.layout-wrapper.layout-overlay.layout-overlay-active .helix-nav-rail{transform:translate(0)}.layout-wrapper.layout-static.layout-static-inactive{--helix-content-offset: 0px}.layout-wrapper.layout-static.layout-static-inactive .helix-nav-rail{transform:translate(calc(-100% - var(--helix-panel-gap)))}.layout-wrapper.layout-static.layout-sidebar-collapsed{--helix-content-offset: calc(var(--helix-panel-gap) + var(--helix-nav-width-collapsed))}.layout-wrapper .layout-mask{display:none}}@media(max-width:991px){.layout-wrapper .layout-main-container{left:0;padding:0}.layout-wrapper .layout-panel{--helix-panel-border-width: 0px;border:0;border-radius:0}.layout-wrapper .layout-main{padding-top:var(--helix-layout-gap)}.layout-wrapper .helix-nav-rail{top:0;bottom:0;left:0;border-radius:0;border-width:0 1px 0 0;transform:translate(-100%);transition:transform .4s cubic-bezier(.05,.74,.2,.99),left .4s cubic-bezier(.05,.74,.2,.99)}.layout-wrapper.layout-mobile-active .helix-nav-rail{transform:translate(0)}.layout-wrapper.layout-mobile-active .layout-mask{display:block}}@media screen and (min-width:1960px){.landing-wrapper{width:100%;max-width:1760px;margin-left:auto!important;margin-right:auto!important}}\n"]
|
|
2611
2886
|
}]
|
|
2612
2887
|
}],
|
|
2613
2888
|
ctorParameters: () => [],
|
|
@@ -2628,11 +2903,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2628
2903
|
required: false
|
|
2629
2904
|
}]
|
|
2630
2905
|
}],
|
|
2631
|
-
|
|
2906
|
+
pageTitle: [{
|
|
2632
2907
|
type: i0.Input,
|
|
2633
2908
|
args: [{
|
|
2634
2909
|
isSignal: true,
|
|
2635
|
-
alias: "
|
|
2910
|
+
alias: "pageTitle",
|
|
2636
2911
|
required: false
|
|
2637
2912
|
}]
|
|
2638
2913
|
}],
|
|
@@ -2644,6 +2919,26 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2644
2919
|
required: false
|
|
2645
2920
|
}]
|
|
2646
2921
|
}],
|
|
2922
|
+
alerts: [{
|
|
2923
|
+
type: i0.Input,
|
|
2924
|
+
args: [{
|
|
2925
|
+
isSignal: true,
|
|
2926
|
+
alias: "alerts",
|
|
2927
|
+
required: false
|
|
2928
|
+
}]
|
|
2929
|
+
}],
|
|
2930
|
+
searchPlaceholder: [{
|
|
2931
|
+
type: i0.Input,
|
|
2932
|
+
args: [{
|
|
2933
|
+
isSignal: true,
|
|
2934
|
+
alias: "searchPlaceholder",
|
|
2935
|
+
required: false
|
|
2936
|
+
}]
|
|
2937
|
+
}],
|
|
2938
|
+
search: [{
|
|
2939
|
+
type: i0.Output,
|
|
2940
|
+
args: ["search"]
|
|
2941
|
+
}],
|
|
2647
2942
|
brandIcon: [{
|
|
2648
2943
|
type: i0.Input,
|
|
2649
2944
|
args: [{
|
|
@@ -2715,6 +3010,10 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2715
3010
|
alias: "navGroups",
|
|
2716
3011
|
required: false
|
|
2717
3012
|
}]
|
|
3013
|
+
}],
|
|
3014
|
+
mainPanel: [{
|
|
3015
|
+
type: i0.ViewChild,
|
|
3016
|
+
args: ["mainPanel", { isSignal: true }]
|
|
2718
3017
|
}]
|
|
2719
3018
|
}
|
|
2720
3019
|
});
|
|
@@ -2729,7 +3028,7 @@ var HelixFloatingConfigurator = class HelixFloatingConfigurator {
|
|
|
2729
3028
|
}
|
|
2730
3029
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2731
3030
|
minVersion: "12.0.0",
|
|
2732
|
-
version: "22.2.
|
|
3031
|
+
version: "22.2.4",
|
|
2733
3032
|
ngImport: i0,
|
|
2734
3033
|
type: HelixFloatingConfigurator,
|
|
2735
3034
|
deps: [],
|
|
@@ -2737,7 +3036,7 @@ var HelixFloatingConfigurator = class HelixFloatingConfigurator {
|
|
|
2737
3036
|
});
|
|
2738
3037
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2739
3038
|
minVersion: "17.1.0",
|
|
2740
|
-
version: "22.2.
|
|
3039
|
+
version: "22.2.4",
|
|
2741
3040
|
type: HelixFloatingConfigurator,
|
|
2742
3041
|
isStandalone: true,
|
|
2743
3042
|
selector: "helix-floating-configurator",
|
|
@@ -2811,7 +3110,7 @@ var HelixFloatingConfigurator = class HelixFloatingConfigurator {
|
|
|
2811
3110
|
};
|
|
2812
3111
|
i0.ɵɵngDeclareClassMetadata({
|
|
2813
3112
|
minVersion: "12.0.0",
|
|
2814
|
-
version: "22.2.
|
|
3113
|
+
version: "22.2.4",
|
|
2815
3114
|
ngImport: i0,
|
|
2816
3115
|
type: HelixFloatingConfigurator,
|
|
2817
3116
|
decorators: [{
|
|
@@ -2862,7 +3161,7 @@ var HelixFooter = class HelixFooter {
|
|
|
2862
3161
|
columns = input([], ...ngDevMode ? [{ debugName: "columns" }] : /* istanbul ignore next */ []);
|
|
2863
3162
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2864
3163
|
minVersion: "12.0.0",
|
|
2865
|
-
version: "22.2.
|
|
3164
|
+
version: "22.2.4",
|
|
2866
3165
|
ngImport: i0,
|
|
2867
3166
|
type: HelixFooter,
|
|
2868
3167
|
deps: [],
|
|
@@ -2870,7 +3169,7 @@ var HelixFooter = class HelixFooter {
|
|
|
2870
3169
|
});
|
|
2871
3170
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2872
3171
|
minVersion: "17.0.0",
|
|
2873
|
-
version: "22.2.
|
|
3172
|
+
version: "22.2.4",
|
|
2874
3173
|
type: HelixFooter,
|
|
2875
3174
|
isStandalone: true,
|
|
2876
3175
|
selector: "helix-footer",
|
|
@@ -2935,7 +3234,7 @@ var HelixFooter = class HelixFooter {
|
|
|
2935
3234
|
};
|
|
2936
3235
|
i0.ɵɵngDeclareClassMetadata({
|
|
2937
3236
|
minVersion: "12.0.0",
|
|
2938
|
-
version: "22.2.
|
|
3237
|
+
version: "22.2.4",
|
|
2939
3238
|
ngImport: i0,
|
|
2940
3239
|
type: HelixFooter,
|
|
2941
3240
|
decorators: [{
|
|
@@ -2980,7 +3279,7 @@ var HelixMobileMenuAction = class HelixMobileMenuAction {
|
|
|
2980
3279
|
label = input("More actions", ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
|
|
2981
3280
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2982
3281
|
minVersion: "12.0.0",
|
|
2983
|
-
version: "22.2.
|
|
3282
|
+
version: "22.2.4",
|
|
2984
3283
|
ngImport: i0,
|
|
2985
3284
|
type: HelixMobileMenuAction,
|
|
2986
3285
|
deps: [],
|
|
@@ -2988,7 +3287,7 @@ var HelixMobileMenuAction = class HelixMobileMenuAction {
|
|
|
2988
3287
|
});
|
|
2989
3288
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2990
3289
|
minVersion: "17.1.0",
|
|
2991
|
-
version: "22.2.
|
|
3290
|
+
version: "22.2.4",
|
|
2992
3291
|
type: HelixMobileMenuAction,
|
|
2993
3292
|
isStandalone: true,
|
|
2994
3293
|
selector: "helix-mobile-menu-action",
|
|
@@ -3023,7 +3322,7 @@ var HelixMobileMenuAction = class HelixMobileMenuAction {
|
|
|
3023
3322
|
};
|
|
3024
3323
|
i0.ɵɵngDeclareClassMetadata({
|
|
3025
3324
|
minVersion: "12.0.0",
|
|
3026
|
-
version: "22.2.
|
|
3325
|
+
version: "22.2.4",
|
|
3027
3326
|
ngImport: i0,
|
|
3028
3327
|
type: HelixMobileMenuAction,
|
|
3029
3328
|
decorators: [{
|
|
@@ -3102,7 +3401,7 @@ var HelixAccess = class HelixAccess {
|
|
|
3102
3401
|
buttonRoute = input("/", ...ngDevMode ? [{ debugName: "buttonRoute" }] : /* istanbul ignore next */ []);
|
|
3103
3402
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3104
3403
|
minVersion: "12.0.0",
|
|
3105
|
-
version: "22.2.
|
|
3404
|
+
version: "22.2.4",
|
|
3106
3405
|
ngImport: i0,
|
|
3107
3406
|
type: HelixAccess,
|
|
3108
3407
|
deps: [],
|
|
@@ -3110,7 +3409,7 @@ var HelixAccess = class HelixAccess {
|
|
|
3110
3409
|
});
|
|
3111
3410
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
3112
3411
|
minVersion: "17.1.0",
|
|
3113
|
-
version: "22.2.
|
|
3412
|
+
version: "22.2.4",
|
|
3114
3413
|
type: HelixAccess,
|
|
3115
3414
|
isStandalone: true,
|
|
3116
3415
|
selector: "helix-access",
|
|
@@ -3203,7 +3502,7 @@ var HelixAccess = class HelixAccess {
|
|
|
3203
3502
|
};
|
|
3204
3503
|
i0.ɵɵngDeclareClassMetadata({
|
|
3205
3504
|
minVersion: "12.0.0",
|
|
3206
|
-
version: "22.2.
|
|
3505
|
+
version: "22.2.4",
|
|
3207
3506
|
ngImport: i0,
|
|
3208
3507
|
type: HelixAccess,
|
|
3209
3508
|
decorators: [{
|
|
@@ -3262,7 +3561,7 @@ var HelixError = class HelixError {
|
|
|
3262
3561
|
buttonRoute = input("/", ...ngDevMode ? [{ debugName: "buttonRoute" }] : /* istanbul ignore next */ []);
|
|
3263
3562
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3264
3563
|
minVersion: "12.0.0",
|
|
3265
|
-
version: "22.2.
|
|
3564
|
+
version: "22.2.4",
|
|
3266
3565
|
ngImport: i0,
|
|
3267
3566
|
type: HelixError,
|
|
3268
3567
|
deps: [],
|
|
@@ -3270,7 +3569,7 @@ var HelixError = class HelixError {
|
|
|
3270
3569
|
});
|
|
3271
3570
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
3272
3571
|
minVersion: "17.1.0",
|
|
3273
|
-
version: "22.2.
|
|
3572
|
+
version: "22.2.4",
|
|
3274
3573
|
type: HelixError,
|
|
3275
3574
|
isStandalone: true,
|
|
3276
3575
|
selector: "helix-error",
|
|
@@ -3363,7 +3662,7 @@ var HelixError = class HelixError {
|
|
|
3363
3662
|
};
|
|
3364
3663
|
i0.ɵɵngDeclareClassMetadata({
|
|
3365
3664
|
minVersion: "12.0.0",
|
|
3366
|
-
version: "22.2.
|
|
3665
|
+
version: "22.2.4",
|
|
3367
3666
|
ngImport: i0,
|
|
3368
3667
|
type: HelixError,
|
|
3369
3668
|
decorators: [{
|
|
@@ -3437,7 +3736,7 @@ var HelixLogin = class HelixLogin {
|
|
|
3437
3736
|
}
|
|
3438
3737
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3439
3738
|
minVersion: "12.0.0",
|
|
3440
|
-
version: "22.2.
|
|
3739
|
+
version: "22.2.4",
|
|
3441
3740
|
ngImport: i0,
|
|
3442
3741
|
type: HelixLogin,
|
|
3443
3742
|
deps: [],
|
|
@@ -3445,7 +3744,7 @@ var HelixLogin = class HelixLogin {
|
|
|
3445
3744
|
});
|
|
3446
3745
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
3447
3746
|
minVersion: "17.1.0",
|
|
3448
|
-
version: "22.2.
|
|
3747
|
+
version: "22.2.4",
|
|
3449
3748
|
type: HelixLogin,
|
|
3450
3749
|
isStandalone: true,
|
|
3451
3750
|
selector: "helix-login",
|
|
@@ -3596,7 +3895,7 @@ var HelixLogin = class HelixLogin {
|
|
|
3596
3895
|
};
|
|
3597
3896
|
i0.ɵɵngDeclareClassMetadata({
|
|
3598
3897
|
minVersion: "12.0.0",
|
|
3599
|
-
version: "22.2.
|
|
3898
|
+
version: "22.2.4",
|
|
3600
3899
|
ngImport: i0,
|
|
3601
3900
|
type: HelixLogin,
|
|
3602
3901
|
decorators: [{
|
|
@@ -3679,7 +3978,7 @@ var HelixEmpty = class HelixEmpty {
|
|
|
3679
3978
|
description = input("Use this page to start from scratch and place your custom content.", ...ngDevMode ? [{ debugName: "description" }] : /* istanbul ignore next */ []);
|
|
3680
3979
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3681
3980
|
minVersion: "12.0.0",
|
|
3682
|
-
version: "22.2.
|
|
3981
|
+
version: "22.2.4",
|
|
3683
3982
|
ngImport: i0,
|
|
3684
3983
|
type: HelixEmpty,
|
|
3685
3984
|
deps: [],
|
|
@@ -3687,7 +3986,7 @@ var HelixEmpty = class HelixEmpty {
|
|
|
3687
3986
|
});
|
|
3688
3987
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
3689
3988
|
minVersion: "17.1.0",
|
|
3690
|
-
version: "22.2.
|
|
3989
|
+
version: "22.2.4",
|
|
3691
3990
|
type: HelixEmpty,
|
|
3692
3991
|
isStandalone: true,
|
|
3693
3992
|
selector: "helix-empty",
|
|
@@ -3715,7 +4014,7 @@ var HelixEmpty = class HelixEmpty {
|
|
|
3715
4014
|
};
|
|
3716
4015
|
i0.ɵɵngDeclareClassMetadata({
|
|
3717
4016
|
minVersion: "12.0.0",
|
|
3718
|
-
version: "22.2.
|
|
4017
|
+
version: "22.2.4",
|
|
3719
4018
|
ngImport: i0,
|
|
3720
4019
|
type: HelixEmpty,
|
|
3721
4020
|
decorators: [{
|
|
@@ -3834,7 +4133,7 @@ var HelixFeaturesWidget = class HelixFeaturesWidget {
|
|
|
3834
4133
|
testimonial = input(DEFAULT_TESTIMONIAL, ...ngDevMode ? [{ debugName: "testimonial" }] : /* istanbul ignore next */ []);
|
|
3835
4134
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3836
4135
|
minVersion: "12.0.0",
|
|
3837
|
-
version: "22.2.
|
|
4136
|
+
version: "22.2.4",
|
|
3838
4137
|
ngImport: i0,
|
|
3839
4138
|
type: HelixFeaturesWidget,
|
|
3840
4139
|
deps: [],
|
|
@@ -3842,7 +4141,7 @@ var HelixFeaturesWidget = class HelixFeaturesWidget {
|
|
|
3842
4141
|
});
|
|
3843
4142
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
3844
4143
|
minVersion: "17.0.0",
|
|
3845
|
-
version: "22.2.
|
|
4144
|
+
version: "22.2.4",
|
|
3846
4145
|
type: HelixFeaturesWidget,
|
|
3847
4146
|
isStandalone: true,
|
|
3848
4147
|
selector: "helix-features-widget",
|
|
@@ -3893,7 +4192,7 @@ var HelixFeaturesWidget = class HelixFeaturesWidget {
|
|
|
3893
4192
|
};
|
|
3894
4193
|
i0.ɵɵngDeclareClassMetadata({
|
|
3895
4194
|
minVersion: "12.0.0",
|
|
3896
|
-
version: "22.2.
|
|
4195
|
+
version: "22.2.4",
|
|
3897
4196
|
ngImport: i0,
|
|
3898
4197
|
type: HelixFeaturesWidget,
|
|
3899
4198
|
decorators: [{
|
|
@@ -3984,7 +4283,7 @@ var HelixFooterWidget = class HelixFooterWidget {
|
|
|
3984
4283
|
brandName = input("SAKAI", ...ngDevMode ? [{ debugName: "brandName" }] : /* istanbul ignore next */ []);
|
|
3985
4284
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
3986
4285
|
minVersion: "12.0.0",
|
|
3987
|
-
version: "22.2.
|
|
4286
|
+
version: "22.2.4",
|
|
3988
4287
|
ngImport: i0,
|
|
3989
4288
|
type: HelixFooterWidget,
|
|
3990
4289
|
deps: [],
|
|
@@ -3992,7 +4291,7 @@ var HelixFooterWidget = class HelixFooterWidget {
|
|
|
3992
4291
|
});
|
|
3993
4292
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
3994
4293
|
minVersion: "17.0.0",
|
|
3995
|
-
version: "22.2.
|
|
4294
|
+
version: "22.2.4",
|
|
3996
4295
|
type: HelixFooterWidget,
|
|
3997
4296
|
isStandalone: true,
|
|
3998
4297
|
selector: "helix-footer-widget",
|
|
@@ -4049,7 +4348,7 @@ var HelixFooterWidget = class HelixFooterWidget {
|
|
|
4049
4348
|
};
|
|
4050
4349
|
i0.ɵɵngDeclareClassMetadata({
|
|
4051
4350
|
minVersion: "12.0.0",
|
|
4052
|
-
version: "22.2.
|
|
4351
|
+
version: "22.2.4",
|
|
4053
4352
|
ngImport: i0,
|
|
4054
4353
|
type: HelixFooterWidget,
|
|
4055
4354
|
decorators: [{
|
|
@@ -4099,7 +4398,7 @@ var HelixHeroWidget = class HelixHeroWidget {
|
|
|
4099
4398
|
buttonClick = output();
|
|
4100
4399
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
4101
4400
|
minVersion: "12.0.0",
|
|
4102
|
-
version: "22.2.
|
|
4401
|
+
version: "22.2.4",
|
|
4103
4402
|
ngImport: i0,
|
|
4104
4403
|
type: HelixHeroWidget,
|
|
4105
4404
|
deps: [],
|
|
@@ -4107,7 +4406,7 @@ var HelixHeroWidget = class HelixHeroWidget {
|
|
|
4107
4406
|
});
|
|
4108
4407
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
4109
4408
|
minVersion: "17.1.0",
|
|
4110
|
-
version: "22.2.
|
|
4409
|
+
version: "22.2.4",
|
|
4111
4410
|
type: HelixHeroWidget,
|
|
4112
4411
|
isStandalone: true,
|
|
4113
4412
|
selector: "helix-hero-widget",
|
|
@@ -4180,7 +4479,7 @@ var HelixHeroWidget = class HelixHeroWidget {
|
|
|
4180
4479
|
};
|
|
4181
4480
|
i0.ɵɵngDeclareClassMetadata({
|
|
4182
4481
|
minVersion: "12.0.0",
|
|
4183
|
-
version: "22.2.
|
|
4482
|
+
version: "22.2.4",
|
|
4184
4483
|
ngImport: i0,
|
|
4185
4484
|
type: HelixHeroWidget,
|
|
4186
4485
|
decorators: [{
|
|
@@ -4275,7 +4574,7 @@ var HelixHighlightsWidget = class HelixHighlightsWidget {
|
|
|
4275
4574
|
highlights = input(DEFAULT_HIGHLIGHTS, ...ngDevMode ? [{ debugName: "highlights" }] : /* istanbul ignore next */ []);
|
|
4276
4575
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
4277
4576
|
minVersion: "12.0.0",
|
|
4278
|
-
version: "22.2.
|
|
4577
|
+
version: "22.2.4",
|
|
4279
4578
|
ngImport: i0,
|
|
4280
4579
|
type: HelixHighlightsWidget,
|
|
4281
4580
|
deps: [],
|
|
@@ -4283,7 +4582,7 @@ var HelixHighlightsWidget = class HelixHighlightsWidget {
|
|
|
4283
4582
|
});
|
|
4284
4583
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
4285
4584
|
minVersion: "17.0.0",
|
|
4286
|
-
version: "22.2.
|
|
4585
|
+
version: "22.2.4",
|
|
4287
4586
|
type: HelixHighlightsWidget,
|
|
4288
4587
|
isStandalone: true,
|
|
4289
4588
|
selector: "helix-highlights-widget",
|
|
@@ -4324,7 +4623,7 @@ var HelixHighlightsWidget = class HelixHighlightsWidget {
|
|
|
4324
4623
|
};
|
|
4325
4624
|
i0.ɵɵngDeclareClassMetadata({
|
|
4326
4625
|
minVersion: "12.0.0",
|
|
4327
|
-
version: "22.2.
|
|
4626
|
+
version: "22.2.4",
|
|
4328
4627
|
ngImport: i0,
|
|
4329
4628
|
type: HelixHighlightsWidget,
|
|
4330
4629
|
decorators: [{
|
|
@@ -4415,7 +4714,7 @@ var HelixPricingWidget = class HelixPricingWidget {
|
|
|
4415
4714
|
planSelect = output();
|
|
4416
4715
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
4417
4716
|
minVersion: "12.0.0",
|
|
4418
|
-
version: "22.2.
|
|
4717
|
+
version: "22.2.4",
|
|
4419
4718
|
ngImport: i0,
|
|
4420
4719
|
type: HelixPricingWidget,
|
|
4421
4720
|
deps: [],
|
|
@@ -4423,7 +4722,7 @@ var HelixPricingWidget = class HelixPricingWidget {
|
|
|
4423
4722
|
});
|
|
4424
4723
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
4425
4724
|
minVersion: "17.0.0",
|
|
4426
|
-
version: "22.2.
|
|
4725
|
+
version: "22.2.4",
|
|
4427
4726
|
type: HelixPricingWidget,
|
|
4428
4727
|
isStandalone: true,
|
|
4429
4728
|
selector: "helix-pricing-widget",
|
|
@@ -4484,7 +4783,7 @@ var HelixPricingWidget = class HelixPricingWidget {
|
|
|
4484
4783
|
};
|
|
4485
4784
|
i0.ɵɵngDeclareClassMetadata({
|
|
4486
4785
|
minVersion: "12.0.0",
|
|
4487
|
-
version: "22.2.
|
|
4786
|
+
version: "22.2.4",
|
|
4488
4787
|
ngImport: i0,
|
|
4489
4788
|
type: HelixPricingWidget,
|
|
4490
4789
|
decorators: [{
|
|
@@ -4563,7 +4862,7 @@ var HelixTopbarWidget = class HelixTopbarWidget {
|
|
|
4563
4862
|
}
|
|
4564
4863
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
4565
4864
|
minVersion: "12.0.0",
|
|
4566
|
-
version: "22.2.
|
|
4865
|
+
version: "22.2.4",
|
|
4567
4866
|
ngImport: i0,
|
|
4568
4867
|
type: HelixTopbarWidget,
|
|
4569
4868
|
deps: [{ token: i2.Router }],
|
|
@@ -4571,7 +4870,7 @@ var HelixTopbarWidget = class HelixTopbarWidget {
|
|
|
4571
4870
|
});
|
|
4572
4871
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
4573
4872
|
minVersion: "17.0.0",
|
|
4574
|
-
version: "22.2.
|
|
4873
|
+
version: "22.2.4",
|
|
4575
4874
|
type: HelixTopbarWidget,
|
|
4576
4875
|
isStandalone: true,
|
|
4577
4876
|
selector: "helix-topbar-widget",
|
|
@@ -4684,7 +4983,7 @@ var HelixTopbarWidget = class HelixTopbarWidget {
|
|
|
4684
4983
|
};
|
|
4685
4984
|
i0.ɵɵngDeclareClassMetadata({
|
|
4686
4985
|
minVersion: "12.0.0",
|
|
4687
|
-
version: "22.2.
|
|
4986
|
+
version: "22.2.4",
|
|
4688
4987
|
ngImport: i0,
|
|
4689
4988
|
type: HelixTopbarWidget,
|
|
4690
4989
|
decorators: [{
|
|
@@ -4757,7 +5056,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
4757
5056
|
var HelixLanding = class HelixLanding {
|
|
4758
5057
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
4759
5058
|
minVersion: "12.0.0",
|
|
4760
|
-
version: "22.2.
|
|
5059
|
+
version: "22.2.4",
|
|
4761
5060
|
ngImport: i0,
|
|
4762
5061
|
type: HelixLanding,
|
|
4763
5062
|
deps: [],
|
|
@@ -4765,7 +5064,7 @@ var HelixLanding = class HelixLanding {
|
|
|
4765
5064
|
});
|
|
4766
5065
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
4767
5066
|
minVersion: "14.0.0",
|
|
4768
|
-
version: "22.2.
|
|
5067
|
+
version: "22.2.4",
|
|
4769
5068
|
type: HelixLanding,
|
|
4770
5069
|
isStandalone: true,
|
|
4771
5070
|
selector: "helix-landing",
|
|
@@ -4852,7 +5151,7 @@ var HelixLanding = class HelixLanding {
|
|
|
4852
5151
|
};
|
|
4853
5152
|
i0.ɵɵngDeclareClassMetadata({
|
|
4854
5153
|
minVersion: "12.0.0",
|
|
4855
|
-
version: "22.2.
|
|
5154
|
+
version: "22.2.4",
|
|
4856
5155
|
ngImport: i0,
|
|
4857
5156
|
type: HelixLanding,
|
|
4858
5157
|
decorators: [{
|
|
@@ -4903,7 +5202,7 @@ var HelixNotfound = class HelixNotfound {
|
|
|
4903
5202
|
suggestions = input(DEFAULT_SUGGESTIONS, ...ngDevMode ? [{ debugName: "suggestions" }] : /* istanbul ignore next */ []);
|
|
4904
5203
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
4905
5204
|
minVersion: "12.0.0",
|
|
4906
|
-
version: "22.2.
|
|
5205
|
+
version: "22.2.4",
|
|
4907
5206
|
ngImport: i0,
|
|
4908
5207
|
type: HelixNotfound,
|
|
4909
5208
|
deps: [],
|
|
@@ -4911,7 +5210,7 @@ var HelixNotfound = class HelixNotfound {
|
|
|
4911
5210
|
});
|
|
4912
5211
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
4913
5212
|
minVersion: "17.0.0",
|
|
4914
|
-
version: "22.2.
|
|
5213
|
+
version: "22.2.4",
|
|
4915
5214
|
type: HelixNotfound,
|
|
4916
5215
|
isStandalone: true,
|
|
4917
5216
|
selector: "helix-notfound",
|
|
@@ -5018,7 +5317,7 @@ var HelixNotfound = class HelixNotfound {
|
|
|
5018
5317
|
};
|
|
5019
5318
|
i0.ɵɵngDeclareClassMetadata({
|
|
5020
5319
|
minVersion: "12.0.0",
|
|
5021
|
-
version: "22.2.
|
|
5320
|
+
version: "22.2.4",
|
|
5022
5321
|
ngImport: i0,
|
|
5023
5322
|
type: HelixNotfound,
|
|
5024
5323
|
decorators: [{
|
|
@@ -5097,7 +5396,7 @@ var HelixEmptyState = class HelixEmptyState {
|
|
|
5097
5396
|
});
|
|
5098
5397
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5099
5398
|
minVersion: "12.0.0",
|
|
5100
|
-
version: "22.2.
|
|
5399
|
+
version: "22.2.4",
|
|
5101
5400
|
ngImport: i0,
|
|
5102
5401
|
type: HelixEmptyState,
|
|
5103
5402
|
deps: [],
|
|
@@ -5105,7 +5404,7 @@ var HelixEmptyState = class HelixEmptyState {
|
|
|
5105
5404
|
});
|
|
5106
5405
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
5107
5406
|
minVersion: "17.0.0",
|
|
5108
|
-
version: "22.2.
|
|
5407
|
+
version: "22.2.4",
|
|
5109
5408
|
type: HelixEmptyState,
|
|
5110
5409
|
isStandalone: true,
|
|
5111
5410
|
selector: "helix-empty-state",
|
|
@@ -5158,7 +5457,7 @@ var HelixEmptyState = class HelixEmptyState {
|
|
|
5158
5457
|
};
|
|
5159
5458
|
i0.ɵɵngDeclareClassMetadata({
|
|
5160
5459
|
minVersion: "12.0.0",
|
|
5161
|
-
version: "22.2.
|
|
5460
|
+
version: "22.2.4",
|
|
5162
5461
|
ngImport: i0,
|
|
5163
5462
|
type: HelixEmptyState,
|
|
5164
5463
|
decorators: [{
|
|
@@ -5229,7 +5528,7 @@ var HelixPageHeader = class HelixPageHeader {
|
|
|
5229
5528
|
});
|
|
5230
5529
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5231
5530
|
minVersion: "12.0.0",
|
|
5232
|
-
version: "22.2.
|
|
5531
|
+
version: "22.2.4",
|
|
5233
5532
|
ngImport: i0,
|
|
5234
5533
|
type: HelixPageHeader,
|
|
5235
5534
|
deps: [],
|
|
@@ -5237,7 +5536,7 @@ var HelixPageHeader = class HelixPageHeader {
|
|
|
5237
5536
|
});
|
|
5238
5537
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
5239
5538
|
minVersion: "17.0.0",
|
|
5240
|
-
version: "22.2.
|
|
5539
|
+
version: "22.2.4",
|
|
5241
5540
|
type: HelixPageHeader,
|
|
5242
5541
|
isStandalone: true,
|
|
5243
5542
|
selector: "helix-page-header",
|
|
@@ -5297,7 +5596,7 @@ var HelixPageHeader = class HelixPageHeader {
|
|
|
5297
5596
|
};
|
|
5298
5597
|
i0.ɵɵngDeclareClassMetadata({
|
|
5299
5598
|
minVersion: "12.0.0",
|
|
5300
|
-
version: "22.2.
|
|
5599
|
+
version: "22.2.4",
|
|
5301
5600
|
ngImport: i0,
|
|
5302
5601
|
type: HelixPageHeader,
|
|
5303
5602
|
decorators: [{
|
|
@@ -5394,7 +5693,7 @@ var HelixStatCard = class HelixStatCard {
|
|
|
5394
5693
|
}, ...ngDevMode ? [{ debugName: "trendText" }] : /* istanbul ignore next */ []);
|
|
5395
5694
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
5396
5695
|
minVersion: "12.0.0",
|
|
5397
|
-
version: "22.2.
|
|
5696
|
+
version: "22.2.4",
|
|
5398
5697
|
ngImport: i0,
|
|
5399
5698
|
type: HelixStatCard,
|
|
5400
5699
|
deps: [],
|
|
@@ -5402,7 +5701,7 @@ var HelixStatCard = class HelixStatCard {
|
|
|
5402
5701
|
});
|
|
5403
5702
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
5404
5703
|
minVersion: "17.0.0",
|
|
5405
|
-
version: "22.2.
|
|
5704
|
+
version: "22.2.4",
|
|
5406
5705
|
type: HelixStatCard,
|
|
5407
5706
|
isStandalone: true,
|
|
5408
5707
|
selector: "helix-stat-card",
|
|
@@ -5500,7 +5799,7 @@ var HelixStatCard = class HelixStatCard {
|
|
|
5500
5799
|
};
|
|
5501
5800
|
i0.ɵɵngDeclareClassMetadata({
|
|
5502
5801
|
minVersion: "12.0.0",
|
|
5503
|
-
version: "22.2.
|
|
5802
|
+
version: "22.2.4",
|
|
5504
5803
|
ngImport: i0,
|
|
5505
5804
|
type: HelixStatCard,
|
|
5506
5805
|
decorators: [{
|
|
@@ -5601,6 +5900,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
5601
5900
|
}]
|
|
5602
5901
|
}
|
|
5603
5902
|
});
|
|
5604
|
-
export { HELIX_BREADCRUMB, HelixAccess, HelixAlertAction, HelixAppLayout, HelixBadge, HelixConfigurator, HelixConfiguratorAction, HelixDarkModeAction, HelixEmpty, HelixEmptyState, HelixEnvironmentBadge, HelixError, HelixFeaturesWidget, HelixFloatingConfigurator, HelixFooter, HelixFooterWidget, HelixFormField, HelixHeroWidget, HelixHighlightsWidget, HelixLanding, HelixLogin, HelixMobileMenuAction, HelixNavRail, HelixNavRailItem, HelixNotfound, HelixPageHeader, HelixPricingWidget, HelixSelect, HelixStatCard, HelixStatusBar, HelixTopbar, HelixTopbarWidget, LayoutStore, authRoutes, helixBreadcrumbsFromRoutes, helixMenuLinksFrom, helixNavGroupsFromMenu, helixRoutesFrom };
|
|
5903
|
+
export { HELIX_BREADCRUMB, HELIX_DEFAULT_TOPBAR_ACTIONS, HelixAccess, HelixAlertAction, HelixAppLayout, HelixBadge, HelixConfigurator, HelixConfiguratorAction, HelixDarkModeAction, HelixEmpty, HelixEmptyState, HelixEnvironmentBadge, HelixError, HelixFeaturesWidget, HelixFloatingConfigurator, HelixFooter, HelixFooterWidget, HelixFormField, HelixHeroWidget, HelixHighlightsWidget, HelixLanding, HelixLogin, HelixMobileMenuAction, HelixNavRail, HelixNavRailItem, HelixNotfound, HelixPageHeader, HelixPricingWidget, HelixSearchAction, HelixSelect, HelixStatCard, HelixStatusBar, HelixTopbar, HelixTopbarWidget, LayoutStore, authRoutes, defineTopbarActions, helixBreadcrumbsFromRoutes, helixMenuLinksFrom, helixNavGroupsFromMenu, helixRoutesFrom };
|
|
5605
5904
|
|
|
5606
5905
|
//# sourceMappingURL=gravionlabs-helix-shell.mjs.map
|