@ojiepermana/angular 22.2.0 → 22.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/ojiepermana-angular-chart-area.mjs +3 -3
- package/fesm2022/ojiepermana-angular-chart-bar.mjs +3 -3
- package/fesm2022/ojiepermana-angular-chart-core.mjs +33 -33
- package/fesm2022/ojiepermana-angular-chart-line.mjs +3 -3
- package/fesm2022/ojiepermana-angular-chart-pie.mjs +3 -3
- package/fesm2022/ojiepermana-angular-chart-primitives.mjs +33 -33
- package/fesm2022/ojiepermana-angular-chart-radar.mjs +3 -3
- package/fesm2022/ojiepermana-angular-chart-radial.mjs +3 -3
- package/fesm2022/ojiepermana-angular-chart-scatter.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-accordion.mjs +15 -15
- package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs +27 -27
- package/fesm2022/ojiepermana-angular-component-alert.mjs +12 -12
- package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-avatar.mjs +18 -18
- package/fesm2022/ojiepermana-angular-component-badge.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs +21 -21
- package/fesm2022/ojiepermana-angular-component-button-group.mjs +9 -9
- package/fesm2022/ojiepermana-angular-component-button.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-calendar.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-card.mjs +21 -21
- package/fesm2022/ojiepermana-angular-component-carousel.mjs +18 -18
- package/fesm2022/ojiepermana-angular-component-checkbox.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-collapsible.mjs +12 -12
- package/fesm2022/ojiepermana-angular-component-combobox.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-command.mjs +27 -27
- package/fesm2022/ojiepermana-angular-component-composer.mjs +21 -21
- package/fesm2022/ojiepermana-angular-component-context-menu.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-date-picker.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-dialog.mjs +21 -21
- package/fesm2022/ojiepermana-angular-component-drawer.mjs +1 -2
- package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs +39 -39
- package/fesm2022/ojiepermana-angular-component-editor.mjs +18 -18
- package/fesm2022/ojiepermana-angular-component-empty.mjs +18 -18
- package/fesm2022/ojiepermana-angular-component-form.mjs +36 -36
- package/fesm2022/ojiepermana-angular-component-hover-card.mjs +9 -9
- package/fesm2022/ojiepermana-angular-component-icon.mjs +6 -6
- package/fesm2022/ojiepermana-angular-component-input-group.mjs +18 -18
- package/fesm2022/ojiepermana-angular-component-input-otp.mjs +15 -15
- package/fesm2022/ojiepermana-angular-component-input.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-item.mjs +30 -30
- package/fesm2022/ojiepermana-angular-component-kanban.mjs +27 -27
- package/fesm2022/ojiepermana-angular-component-kbd.mjs +6 -6
- package/fesm2022/ojiepermana-angular-component-label.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-menubar.mjs +12 -12
- package/fesm2022/ojiepermana-angular-component-native-select.mjs +9 -9
- package/fesm2022/ojiepermana-angular-component-navigation-menu.mjs +21 -21
- package/fesm2022/ojiepermana-angular-component-pagination.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-pillbox.mjs +15 -15
- package/fesm2022/ojiepermana-angular-component-popover.mjs +6 -6
- package/fesm2022/ojiepermana-angular-component-progress.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-radio.mjs +6 -6
- package/fesm2022/ojiepermana-angular-component-resizable.mjs +12 -12
- package/fesm2022/ojiepermana-angular-component-scroll-area.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-segmented-control.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-select.mjs +6 -6
- package/fesm2022/ojiepermana-angular-component-separator.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-sheet.mjs +21 -21
- package/fesm2022/ojiepermana-angular-component-skeleton.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-slider.mjs +6 -6
- package/fesm2022/ojiepermana-angular-component-spinner.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-switch.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-table.mjs +24 -24
- package/fesm2022/ojiepermana-angular-component-tabs.mjs +18 -18
- package/fesm2022/ojiepermana-angular-component-textarea.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-timeline.mjs +18 -18
- package/fesm2022/ojiepermana-angular-component-toast.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-toggle-group.mjs +9 -9
- package/fesm2022/ojiepermana-angular-component-toggle.mjs +3 -3
- package/fesm2022/ojiepermana-angular-component-tooltip.mjs +15 -15
- package/fesm2022/ojiepermana-angular-component-utils-scale.mjs +3 -3
- package/fesm2022/ojiepermana-angular-navigation-icon.mjs +3 -3
- package/fesm2022/{ojiepermana-angular-navigation-navigation-badge-count.component-BKCeWzml.mjs → ojiepermana-angular-navigation-navigation-badge-count.component-DYuysKVf.mjs} +3 -3
- package/fesm2022/{ojiepermana-angular-navigation-navigation-dockbar-menu.component-DFEJK2jD.mjs → ojiepermana-angular-navigation-navigation-dockbar-menu.component-COiTaw34.mjs} +7 -6
- package/fesm2022/{ojiepermana-angular-navigation-navigation-entry-grid.component-mpK9Ar08.mjs → ojiepermana-angular-navigation-navigation-entry-grid.component-YIz0IsIb.mjs} +27 -46
- package/fesm2022/{ojiepermana-angular-navigation-navigation-flyout-menu.component-BPgH7FJk.mjs → ojiepermana-angular-navigation-navigation-flyout-menu.component-D2vwEwBY.mjs} +5 -5
- package/fesm2022/{ojiepermana-angular-navigation-navigation-horizontal.component-DMpYcD9t.mjs → ojiepermana-angular-navigation-navigation-horizontal.component-B5D7yXfb.mjs} +5 -5
- package/fesm2022/{ojiepermana-angular-navigation-navigation-item.component-Basp5SIk.mjs → ojiepermana-angular-navigation-navigation-item.component-CUb68MZH.mjs} +27 -36
- package/fesm2022/{ojiepermana-angular-navigation-navigation-list.component-YUzHI9Pj.mjs → ojiepermana-angular-navigation-navigation-list.component-CrK16trj.mjs} +22 -6
- package/fesm2022/ojiepermana-angular-navigation-service.mjs +6 -4
- package/fesm2022/ojiepermana-angular-navigation-types.mjs +113 -1
- package/fesm2022/ojiepermana-angular-navigation.mjs +271 -67
- package/fesm2022/ojiepermana-angular-theme-component-settings.mjs +29 -19
- package/fesm2022/ojiepermana-angular-theme-layout-services.mjs +6 -6
- package/fesm2022/ojiepermana-angular-theme-layout-wrapper.mjs +239 -31
- package/fesm2022/ojiepermana-angular-theme-layout.mjs +24 -24
- package/fesm2022/ojiepermana-angular-theme-page-core.mjs +3 -3
- package/fesm2022/ojiepermana-angular-theme-page-filter.mjs +6 -6
- package/fesm2022/ojiepermana-angular-theme-page-overview.mjs +3 -3
- package/fesm2022/ojiepermana-angular-theme-page-root.mjs +3 -3
- package/fesm2022/ojiepermana-angular-theme-page-side.mjs +6 -6
- package/fesm2022/ojiepermana-angular-theme-page-slots.mjs +12 -12
- package/fesm2022/ojiepermana-angular-theme-shell-services.mjs +3 -3
- package/fesm2022/ojiepermana-angular-theme-shell.mjs +9 -9
- package/fesm2022/ojiepermana-angular-theme-styles.mjs +15 -15
- package/navigation/README.md +68 -17
- package/package.json +2 -2
- package/types/ojiepermana-angular-component-card.d.ts +1 -1
- package/types/ojiepermana-angular-component-command.d.ts +1 -1
- package/types/ojiepermana-angular-navigation-types.d.ts +47 -2
- package/types/ojiepermana-angular-navigation.d.ts +47 -3
- package/types/ojiepermana-angular-theme-component-settings.d.ts +5 -3
- package/types/ojiepermana-angular-theme-layout-wrapper.d.ts +48 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as NavigationListComponent } from "./ojiepermana-angular-navigation-navigation-list.component-
|
|
1
|
+
import { t as NavigationListComponent } from "./ojiepermana-angular-navigation-navigation-list.component-CrK16trj.mjs";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import { Component, DestroyRef, Directive, ElementRef, InjectionToken, Injector, TemplateRef, ViewContainerRef, afterNextRender, booleanAttribute, computed, contentChild, effect, forwardRef, inject, input, isDevMode, model, output, signal } from "@angular/core";
|
|
4
4
|
import { ActivatedRoute } from "@angular/router";
|
|
5
5
|
import { cn } from "@ojiepermana/angular/component/utils/core";
|
|
6
6
|
import { NavigationIconDirective, NavigationIconDirective as NavigationIconDirective$1 } from "@ojiepermana/angular/navigation/icon";
|
|
7
7
|
import { NAVIGATION_ADAPTER, NAVIGATION_ROUTE_CONTEXT_ADAPTER } from "@ojiepermana/angular/navigation/core";
|
|
8
|
-
import { NAVIGATION_DOCKBAR_FALLBACK_ICON, NAVIGATION_DOCKBAR_FALLBACK_ICON as NAVIGATION_DOCKBAR_FALLBACK_ICON$1, formatNavigationBadgeCount, normalizeUiNavItems, normalizeUiNavItems as normalizeUiNavItems$1 } from "@ojiepermana/angular/navigation/types";
|
|
8
|
+
import { NAVIGATION_DOCKBAR_FALLBACK_ICON, NAVIGATION_DOCKBAR_FALLBACK_ICON as NAVIGATION_DOCKBAR_FALLBACK_ICON$1, formatNavigationBadgeCount, normalizeUiNavItems, normalizeUiNavItems as normalizeUiNavItems$1, toMinidockItems, ɵassertMinidockItems, ɵcompactNavigationDividers } from "@ojiepermana/angular/navigation/types";
|
|
9
9
|
import { NgTemplateOutlet } from "@angular/common";
|
|
10
10
|
import { IconComponent } from "@ojiepermana/angular/component/icon";
|
|
11
11
|
import { TooltipDirective } from "@ojiepermana/angular/component/tooltip";
|
|
@@ -56,7 +56,7 @@ function normalizeId(value) {
|
|
|
56
56
|
return value.trim() || "default";
|
|
57
57
|
}
|
|
58
58
|
function fallbackType(orientation, type) {
|
|
59
|
-
if (orientation === "vertical" && (type === "sidebar" || type === "dockbar")) return type;
|
|
59
|
+
if (orientation === "vertical" && (type === "sidebar" || type === "dockbar" || type === "minidock")) return type;
|
|
60
60
|
if (orientation === "horizontal" && (type === "navbar" || type === "flyout")) return type;
|
|
61
61
|
return orientation === "horizontal" ? "navbar" : "sidebar";
|
|
62
62
|
}
|
|
@@ -192,6 +192,7 @@ var NavigationContainerComponent = class NavigationContainerComponent {
|
|
|
192
192
|
if (activeEntry === null) return this.normalizedItems();
|
|
193
193
|
return this.normalizedItems().filter((entry) => entry.key !== activeEntry.key);
|
|
194
194
|
}, ...ngDevMode ? [{ debugName: "dockbarRailItems" }] : /* istanbul ignore next */ []);
|
|
195
|
+
minidockRailItems = computed(() => ɵcompactNavigationDividers(this.normalizedItems()), ...ngDevMode ? [{ debugName: "minidockRailItems" }] : /* istanbul ignore next */ []);
|
|
195
196
|
dockbarAsideId = computed(() => `nav-dockbar-${this.safeId(this.resolvedState().id)}`, ...ngDevMode ? [{ debugName: "dockbarAsideId" }] : /* istanbul ignore next */ []);
|
|
196
197
|
dockbarOpenGroup = computed(() => {
|
|
197
198
|
const state = this.resolvedState();
|
|
@@ -217,7 +218,7 @@ var NavigationContainerComponent = class NavigationContainerComponent {
|
|
|
217
218
|
previewRailOffset = computed(() => this.previewRailExpanded() ? "calc(var(--layout-sidebar-width) - var(--layout-sidebar-collapsed-width))" : "0px", ...ngDevMode ? [{ debugName: "previewRailOffset" }] : /* istanbul ignore next */ []);
|
|
218
219
|
displayState = computed(() => {
|
|
219
220
|
const state = this.resolvedState();
|
|
220
|
-
if (state.type === "dockbar") return {
|
|
221
|
+
if (state.type === "dockbar" || state.type === "minidock") return {
|
|
221
222
|
...state,
|
|
222
223
|
collapsed: true
|
|
223
224
|
};
|
|
@@ -238,7 +239,7 @@ var NavigationContainerComponent = class NavigationContainerComponent {
|
|
|
238
239
|
shellClasses = computed(() => cn("flex h-full min-h-0 transition-[width,box-shadow,transform] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)] motion-reduce:transition-none", this.resolvedState().orientation === "horizontal" ? "flex-row items-stretch overflow-visible" : this.resolvedState().type === "dockbar" ? "flex-col overflow-visible" : "flex-col overflow-hidden", this.resolvedState().type === "dockbar" && ["w-(--layout-sidebar-collapsed-width) shrink-0", this.resolvedState().position === "right" && "ml-auto"], this.resolvedState().position === "right" ? "origin-right" : "origin-left", this.previewRailExpanded() && ["absolute inset-y-0 z-20 w-(--layout-sidebar-width) overflow-hidden bg-background shadow-xl", this.resolvedState().position === "right" ? "right-0 border-l border-border" : "left-0 border-r border-border"]), ...ngDevMode ? [{ debugName: "shellClasses" }] : /* istanbul ignore next */ []);
|
|
239
240
|
state = this.resolvedState;
|
|
240
241
|
resolvedDataId = computed(() => this.dataId()?.trim() || this.navId().trim() || "default", ...ngDevMode ? [{ debugName: "resolvedDataId" }] : /* istanbul ignore next */ []);
|
|
241
|
-
hostClasses = computed(() => cn("relative block min-h-0 text-foreground transition-[width] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)] motion-reduce:transition-none", this.resolvedState().orientation === "horizontal" ? "h-full w-full" : this.resolvedState().type === "dockbar" ? this.dockbarAsideOpen() ? "w-[calc(var(--layout-sidebar-collapsed-width)+var(--layout-aside-width))]" : "w-(--layout-sidebar-collapsed-width)" : this.resolvedState().collapsed ? "w-(--layout-sidebar-collapsed-width)" : "w-(--layout-sidebar-width)", this.resolvedState().orientation === "horizontal" || this.resolvedState().type === "dockbar" || this.previewRailExpanded() ? "overflow-visible" : "overflow-hidden", this.class()), ...ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []);
|
|
242
|
+
hostClasses = computed(() => cn("relative block min-h-0 text-foreground transition-[width] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)] motion-reduce:transition-none", this.resolvedState().orientation === "horizontal" ? "h-full w-full" : this.resolvedState().type === "dockbar" ? this.dockbarAsideOpen() ? "w-[calc(var(--layout-sidebar-collapsed-width)+var(--layout-aside-width))]" : "w-(--layout-sidebar-collapsed-width)" : this.resolvedState().type === "minidock" || this.resolvedState().collapsed ? "w-(--layout-sidebar-collapsed-width)" : "w-(--layout-sidebar-width)", this.resolvedState().orientation === "horizontal" || this.resolvedState().type === "dockbar" || this.previewRailExpanded() ? "overflow-visible" : "overflow-hidden", this.class()), ...ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []);
|
|
242
243
|
constructor() {
|
|
243
244
|
effect((onCleanup) => {
|
|
244
245
|
const dataId = this.resolvedDataId();
|
|
@@ -247,7 +248,7 @@ var NavigationContainerComponent = class NavigationContainerComponent {
|
|
|
247
248
|
});
|
|
248
249
|
}
|
|
249
250
|
registerType(config) {
|
|
250
|
-
if (this.typeConfig() !== null && isDevMode()) throw new Error("[Navigation] Hanya satu type (<NavigationSidebar>/<NavigationDockbar>/<NavigationNavbar>/<NavigationFlyout>) yang boleh hidup dalam satu <Navigation>.");
|
|
251
|
+
if (this.typeConfig() !== null && isDevMode()) throw new Error("[Navigation] Hanya satu type (<NavigationSidebar>/<NavigationDockbar>/<NavigationMinidock>/<NavigationNavbar>/<NavigationFlyout>) yang boleh hidup dalam satu <Navigation>.");
|
|
251
252
|
this.typeConfig.set(config);
|
|
252
253
|
}
|
|
253
254
|
unregisterType(config) {
|
|
@@ -301,7 +302,7 @@ var NavigationContainerComponent = class NavigationContainerComponent {
|
|
|
301
302
|
}
|
|
302
303
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
303
304
|
minVersion: "12.0.0",
|
|
304
|
-
version: "22.2.
|
|
305
|
+
version: "22.2.2",
|
|
305
306
|
ngImport: i0,
|
|
306
307
|
type: NavigationContainerComponent,
|
|
307
308
|
deps: [],
|
|
@@ -309,7 +310,7 @@ var NavigationContainerComponent = class NavigationContainerComponent {
|
|
|
309
310
|
});
|
|
310
311
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
311
312
|
minVersion: "17.2.0",
|
|
312
|
-
version: "22.2.
|
|
313
|
+
version: "22.2.2",
|
|
313
314
|
type: NavigationContainerComponent,
|
|
314
315
|
isStandalone: true,
|
|
315
316
|
selector: "Navigation",
|
|
@@ -442,7 +443,7 @@ var NavigationContainerComponent = class NavigationContainerComponent {
|
|
|
442
443
|
};
|
|
443
444
|
i0.ɵɵngDeclareClassMetadata({
|
|
444
445
|
minVersion: "12.0.0",
|
|
445
|
-
version: "22.2.
|
|
446
|
+
version: "22.2.2",
|
|
446
447
|
ngImport: i0,
|
|
447
448
|
type: NavigationContainerComponent,
|
|
448
449
|
decorators: [{
|
|
@@ -590,10 +591,10 @@ var NavigationContentComponent = class NavigationContentComponent {
|
|
|
590
591
|
...ngDevMode ? { debugName: "class" } : /* istanbul ignore next */ {},
|
|
591
592
|
alias: "class"
|
|
592
593
|
});
|
|
593
|
-
hostClasses = computed(() => cn("min-h-0 flex-1", this.container.displayState().orientation === "horizontal" ? "flex h-full min-w-0 items-stretch justify-center overflow-visible" : "block overflow-y-auto overflow-x-hidden py-2", this.class()), ...ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []);
|
|
594
|
+
hostClasses = computed(() => cn("min-h-0 flex-1", this.container.displayState().orientation === "horizontal" ? "flex h-full min-w-0 items-stretch justify-center overflow-visible" : this.container.displayState().type === "minidock" ? "flex flex-col overflow-y-auto overflow-x-hidden py-2" : "block overflow-y-auto overflow-x-hidden py-2", this.class()), ...ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []);
|
|
594
595
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
595
596
|
minVersion: "12.0.0",
|
|
596
|
-
version: "22.2.
|
|
597
|
+
version: "22.2.2",
|
|
597
598
|
ngImport: i0,
|
|
598
599
|
type: NavigationContentComponent,
|
|
599
600
|
deps: [],
|
|
@@ -601,7 +602,7 @@ var NavigationContentComponent = class NavigationContentComponent {
|
|
|
601
602
|
});
|
|
602
603
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
603
604
|
minVersion: "17.0.0",
|
|
604
|
-
version: "22.2.
|
|
605
|
+
version: "22.2.2",
|
|
605
606
|
type: NavigationContentComponent,
|
|
606
607
|
isStandalone: true,
|
|
607
608
|
selector: "NavigationContent",
|
|
@@ -693,6 +694,23 @@ var NavigationContentComponent = class NavigationContentComponent {
|
|
|
693
694
|
(itemSelected)="container.itemSelected.emit($event)"
|
|
694
695
|
/>
|
|
695
696
|
}
|
|
697
|
+
} @else if (navState.type === 'minidock') {
|
|
698
|
+
<!-- Minidock: always compact, and the list fills the rail so a spacer can push items down. -->
|
|
699
|
+
<NavigationList
|
|
700
|
+
[navId]="navState.id"
|
|
701
|
+
[items]="container.minidockRailItems()"
|
|
702
|
+
[collapsed]="true"
|
|
703
|
+
[fill]="true"
|
|
704
|
+
[position]="navState.position"
|
|
705
|
+
[itemClass]="container.itemClass()"
|
|
706
|
+
[activeIds]="container.activeIdSet()"
|
|
707
|
+
[activeUrl]="container.activeUrl()"
|
|
708
|
+
[iconTemplate]="container.iconTemplate()"
|
|
709
|
+
[collapseTree]="container.collapseTree()"
|
|
710
|
+
[openedIds]="container.openedIds()"
|
|
711
|
+
(openedIdsChange)="container.openedIds.set($event)"
|
|
712
|
+
(itemSelected)="container.itemSelected.emit($event)"
|
|
713
|
+
/>
|
|
696
714
|
} @else {
|
|
697
715
|
<!-- The vertical list (sidebar) is the common default — kept eager, no first-paint pop-in. -->
|
|
698
716
|
<NavigationList
|
|
@@ -721,6 +739,7 @@ var NavigationContentComponent = class NavigationContentComponent {
|
|
|
721
739
|
"items",
|
|
722
740
|
"collapsed",
|
|
723
741
|
"compact",
|
|
742
|
+
"fill",
|
|
724
743
|
"position",
|
|
725
744
|
"itemClass",
|
|
726
745
|
"activeIds",
|
|
@@ -732,21 +751,21 @@ var NavigationContentComponent = class NavigationContentComponent {
|
|
|
732
751
|
outputs: ["openedIdsChange", "itemSelected"]
|
|
733
752
|
}],
|
|
734
753
|
deferBlockDependencies: [
|
|
735
|
-
() => [import("./ojiepermana-angular-navigation-navigation-flyout-menu.component-
|
|
736
|
-
() => [import("./ojiepermana-angular-navigation-navigation-horizontal.component-
|
|
737
|
-
() => [import("./ojiepermana-angular-navigation-navigation-dockbar-menu.component-
|
|
754
|
+
() => [import("./ojiepermana-angular-navigation-navigation-flyout-menu.component-D2vwEwBY.mjs").then((m) => m.NavigationFlyoutMenuComponent)],
|
|
755
|
+
() => [import("./ojiepermana-angular-navigation-navigation-horizontal.component-B5D7yXfb.mjs").then((m) => m.NavigationHorizontalComponent)],
|
|
756
|
+
() => [import("./ojiepermana-angular-navigation-navigation-dockbar-menu.component-COiTaw34.mjs").then((m) => m.NavigationDockbarMenuComponent)]
|
|
738
757
|
]
|
|
739
758
|
});
|
|
740
759
|
};
|
|
741
760
|
i0.ɵɵngDeclareClassMetadataAsync({
|
|
742
761
|
minVersion: "18.0.0",
|
|
743
|
-
version: "22.2.
|
|
762
|
+
version: "22.2.2",
|
|
744
763
|
ngImport: i0,
|
|
745
764
|
type: NavigationContentComponent,
|
|
746
765
|
resolveDeferredDeps: () => [
|
|
747
|
-
import("./ojiepermana-angular-navigation-navigation-flyout-menu.component-
|
|
748
|
-
import("./ojiepermana-angular-navigation-navigation-horizontal.component-
|
|
749
|
-
import("./ojiepermana-angular-navigation-navigation-dockbar-menu.component-
|
|
766
|
+
import("./ojiepermana-angular-navigation-navigation-flyout-menu.component-D2vwEwBY.mjs").then((m) => m.NavigationFlyoutMenuComponent),
|
|
767
|
+
import("./ojiepermana-angular-navigation-navigation-horizontal.component-B5D7yXfb.mjs").then((m) => m.NavigationHorizontalComponent),
|
|
768
|
+
import("./ojiepermana-angular-navigation-navigation-dockbar-menu.component-COiTaw34.mjs").then((m) => m.NavigationDockbarMenuComponent)
|
|
750
769
|
],
|
|
751
770
|
resolveMetadata: (NavigationFlyoutMenuComponent, NavigationHorizontalComponent, NavigationDockbarMenuComponent) => ({
|
|
752
771
|
decorators: [{
|
|
@@ -839,6 +858,23 @@ i0.ɵɵngDeclareClassMetadataAsync({
|
|
|
839
858
|
(itemSelected)="container.itemSelected.emit($event)"
|
|
840
859
|
/>
|
|
841
860
|
}
|
|
861
|
+
} @else if (navState.type === 'minidock') {
|
|
862
|
+
<!-- Minidock: always compact, and the list fills the rail so a spacer can push items down. -->
|
|
863
|
+
<NavigationList
|
|
864
|
+
[navId]="navState.id"
|
|
865
|
+
[items]="container.minidockRailItems()"
|
|
866
|
+
[collapsed]="true"
|
|
867
|
+
[fill]="true"
|
|
868
|
+
[position]="navState.position"
|
|
869
|
+
[itemClass]="container.itemClass()"
|
|
870
|
+
[activeIds]="container.activeIdSet()"
|
|
871
|
+
[activeUrl]="container.activeUrl()"
|
|
872
|
+
[iconTemplate]="container.iconTemplate()"
|
|
873
|
+
[collapseTree]="container.collapseTree()"
|
|
874
|
+
[openedIds]="container.openedIds()"
|
|
875
|
+
(openedIdsChange)="container.openedIds.set($event)"
|
|
876
|
+
(itemSelected)="container.itemSelected.emit($event)"
|
|
877
|
+
/>
|
|
842
878
|
} @else {
|
|
843
879
|
<!-- The vertical list (sidebar) is the common default — kept eager, no first-paint pop-in. -->
|
|
844
880
|
<NavigationList
|
|
@@ -882,7 +918,7 @@ var NavigationFooterComponent = class NavigationFooterComponent {
|
|
|
882
918
|
hostClasses = computed(() => cn(this.isHorizontal() ? "relative z-10 block h-full w-auto shrink-0" : "sticky bottom-0 z-10 block h-(--layout-topbar-height) shrink-0 border-t border-[hsl(var(--border)/var(--section-border-opacity))]", this.class()), ...ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []);
|
|
883
919
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
884
920
|
minVersion: "12.0.0",
|
|
885
|
-
version: "22.2.
|
|
921
|
+
version: "22.2.2",
|
|
886
922
|
ngImport: i0,
|
|
887
923
|
type: NavigationFooterComponent,
|
|
888
924
|
deps: [],
|
|
@@ -890,7 +926,7 @@ var NavigationFooterComponent = class NavigationFooterComponent {
|
|
|
890
926
|
});
|
|
891
927
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
892
928
|
minVersion: "17.1.0",
|
|
893
|
-
version: "22.2.
|
|
929
|
+
version: "22.2.2",
|
|
894
930
|
type: NavigationFooterComponent,
|
|
895
931
|
isStandalone: true,
|
|
896
932
|
selector: "NavigationFooter",
|
|
@@ -916,7 +952,7 @@ var NavigationFooterComponent = class NavigationFooterComponent {
|
|
|
916
952
|
};
|
|
917
953
|
i0.ɵɵngDeclareClassMetadata({
|
|
918
954
|
minVersion: "12.0.0",
|
|
919
|
-
version: "22.2.
|
|
955
|
+
version: "22.2.2",
|
|
920
956
|
ngImport: i0,
|
|
921
957
|
type: NavigationFooterComponent,
|
|
922
958
|
decorators: [{
|
|
@@ -954,7 +990,7 @@ var NavigationHeaderComponent = class NavigationHeaderComponent {
|
|
|
954
990
|
displayCollapsed = computed(() => this.shell.displayState().collapsed, ...ngDevMode ? [{ debugName: "displayCollapsed" }] : /* istanbul ignore next */ []);
|
|
955
991
|
isHorizontal = computed(() => this.shell.displayState().orientation === "horizontal", ...ngDevMode ? [{ debugName: "isHorizontal" }] : /* istanbul ignore next */ []);
|
|
956
992
|
showToggle = computed(() => {
|
|
957
|
-
if (this.isHorizontal()) return false;
|
|
993
|
+
if (this.isHorizontal() || this.shell.state().type === "minidock") return false;
|
|
958
994
|
return this.toggle() || this.shell.collapseEnabled();
|
|
959
995
|
}, ...ngDevMode ? [{ debugName: "showToggle" }] : /* istanbul ignore next */ []);
|
|
960
996
|
toggleAriaLabel = computed(() => this.collapsed() ? "Expand navigation" : "Collapse navigation", ...ngDevMode ? [{ debugName: "toggleAriaLabel" }] : /* istanbul ignore next */ []);
|
|
@@ -970,7 +1006,7 @@ var NavigationHeaderComponent = class NavigationHeaderComponent {
|
|
|
970
1006
|
}
|
|
971
1007
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
972
1008
|
minVersion: "12.0.0",
|
|
973
|
-
version: "22.2.
|
|
1009
|
+
version: "22.2.2",
|
|
974
1010
|
ngImport: i0,
|
|
975
1011
|
type: NavigationHeaderComponent,
|
|
976
1012
|
deps: [],
|
|
@@ -978,7 +1014,7 @@ var NavigationHeaderComponent = class NavigationHeaderComponent {
|
|
|
978
1014
|
});
|
|
979
1015
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
980
1016
|
minVersion: "17.0.0",
|
|
981
|
-
version: "22.2.
|
|
1017
|
+
version: "22.2.2",
|
|
982
1018
|
type: NavigationHeaderComponent,
|
|
983
1019
|
isStandalone: true,
|
|
984
1020
|
selector: "NavigationHeader",
|
|
@@ -1047,7 +1083,7 @@ var NavigationHeaderComponent = class NavigationHeaderComponent {
|
|
|
1047
1083
|
};
|
|
1048
1084
|
i0.ɵɵngDeclareClassMetadata({
|
|
1049
1085
|
minVersion: "12.0.0",
|
|
1050
|
-
version: "22.2.
|
|
1086
|
+
version: "22.2.2",
|
|
1051
1087
|
ngImport: i0,
|
|
1052
1088
|
type: NavigationHeaderComponent,
|
|
1053
1089
|
decorators: [{
|
|
@@ -1138,7 +1174,7 @@ var NavigationSidebarComponent = class NavigationSidebarComponent {
|
|
|
1138
1174
|
}
|
|
1139
1175
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1140
1176
|
minVersion: "12.0.0",
|
|
1141
|
-
version: "22.2.
|
|
1177
|
+
version: "22.2.2",
|
|
1142
1178
|
ngImport: i0,
|
|
1143
1179
|
type: NavigationSidebarComponent,
|
|
1144
1180
|
deps: [],
|
|
@@ -1146,7 +1182,7 @@ var NavigationSidebarComponent = class NavigationSidebarComponent {
|
|
|
1146
1182
|
});
|
|
1147
1183
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1148
1184
|
minVersion: "17.0.0",
|
|
1149
|
-
version: "22.2.
|
|
1185
|
+
version: "22.2.2",
|
|
1150
1186
|
type: NavigationSidebarComponent,
|
|
1151
1187
|
isStandalone: true,
|
|
1152
1188
|
selector: "NavigationSidebar",
|
|
@@ -1238,7 +1274,7 @@ var NavigationSidebarComponent = class NavigationSidebarComponent {
|
|
|
1238
1274
|
};
|
|
1239
1275
|
i0.ɵɵngDeclareClassMetadata({
|
|
1240
1276
|
minVersion: "12.0.0",
|
|
1241
|
-
version: "22.2.
|
|
1277
|
+
version: "22.2.2",
|
|
1242
1278
|
ngImport: i0,
|
|
1243
1279
|
type: NavigationSidebarComponent,
|
|
1244
1280
|
decorators: [{
|
|
@@ -1324,7 +1360,7 @@ var NavigationAsideFooterDirective = class NavigationAsideFooterDirective {
|
|
|
1324
1360
|
templateRef = inject(TemplateRef);
|
|
1325
1361
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1326
1362
|
minVersion: "12.0.0",
|
|
1327
|
-
version: "22.2.
|
|
1363
|
+
version: "22.2.2",
|
|
1328
1364
|
ngImport: i0,
|
|
1329
1365
|
type: NavigationAsideFooterDirective,
|
|
1330
1366
|
deps: [],
|
|
@@ -1332,7 +1368,7 @@ var NavigationAsideFooterDirective = class NavigationAsideFooterDirective {
|
|
|
1332
1368
|
});
|
|
1333
1369
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
1334
1370
|
minVersion: "14.0.0",
|
|
1335
|
-
version: "22.2.
|
|
1371
|
+
version: "22.2.2",
|
|
1336
1372
|
type: NavigationAsideFooterDirective,
|
|
1337
1373
|
isStandalone: true,
|
|
1338
1374
|
selector: "ng-template[NavigationAsideFooter]",
|
|
@@ -1341,7 +1377,7 @@ var NavigationAsideFooterDirective = class NavigationAsideFooterDirective {
|
|
|
1341
1377
|
};
|
|
1342
1378
|
i0.ɵɵngDeclareClassMetadata({
|
|
1343
1379
|
minVersion: "12.0.0",
|
|
1344
|
-
version: "22.2.
|
|
1380
|
+
version: "22.2.2",
|
|
1345
1381
|
ngImport: i0,
|
|
1346
1382
|
type: NavigationAsideFooterDirective,
|
|
1347
1383
|
decorators: [{
|
|
@@ -1414,7 +1450,7 @@ var NavigationDockbarComponent = class NavigationDockbarComponent {
|
|
|
1414
1450
|
}
|
|
1415
1451
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1416
1452
|
minVersion: "12.0.0",
|
|
1417
|
-
version: "22.2.
|
|
1453
|
+
version: "22.2.2",
|
|
1418
1454
|
ngImport: i0,
|
|
1419
1455
|
type: NavigationDockbarComponent,
|
|
1420
1456
|
deps: [],
|
|
@@ -1422,7 +1458,7 @@ var NavigationDockbarComponent = class NavigationDockbarComponent {
|
|
|
1422
1458
|
});
|
|
1423
1459
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1424
1460
|
minVersion: "17.0.0",
|
|
1425
|
-
version: "22.2.
|
|
1461
|
+
version: "22.2.2",
|
|
1426
1462
|
type: NavigationDockbarComponent,
|
|
1427
1463
|
isStandalone: true,
|
|
1428
1464
|
selector: "NavigationDockbar",
|
|
@@ -1620,15 +1656,15 @@ var NavigationDockbarComponent = class NavigationDockbarComponent {
|
|
|
1620
1656
|
exportAs: ["Tooltip"]
|
|
1621
1657
|
}
|
|
1622
1658
|
],
|
|
1623
|
-
deferBlockDependencies: [() => [import("./ojiepermana-angular-navigation-navigation-badge-count.component-
|
|
1659
|
+
deferBlockDependencies: [() => [import("./ojiepermana-angular-navigation-navigation-badge-count.component-DYuysKVf.mjs").then((m) => m.NavigationBadgeCountComponent)]]
|
|
1624
1660
|
});
|
|
1625
1661
|
};
|
|
1626
1662
|
i0.ɵɵngDeclareClassMetadataAsync({
|
|
1627
1663
|
minVersion: "18.0.0",
|
|
1628
|
-
version: "22.2.
|
|
1664
|
+
version: "22.2.2",
|
|
1629
1665
|
ngImport: i0,
|
|
1630
1666
|
type: NavigationDockbarComponent,
|
|
1631
|
-
resolveDeferredDeps: () => [import("./ojiepermana-angular-navigation-navigation-badge-count.component-
|
|
1667
|
+
resolveDeferredDeps: () => [import("./ojiepermana-angular-navigation-navigation-badge-count.component-DYuysKVf.mjs").then((m) => m.NavigationBadgeCountComponent)],
|
|
1632
1668
|
resolveMetadata: (NavigationBadgeCountComponent) => ({
|
|
1633
1669
|
decorators: [{
|
|
1634
1670
|
type: Component,
|
|
@@ -1777,6 +1813,174 @@ i0.ɵɵngDeclareClassMetadataAsync({
|
|
|
1777
1813
|
}
|
|
1778
1814
|
})
|
|
1779
1815
|
});
|
|
1816
|
+
var NavigationMinidockComponent = class NavigationMinidockComponent {
|
|
1817
|
+
container = inject(NavigationContainerComponent);
|
|
1818
|
+
destroyRef = inject(DestroyRef);
|
|
1819
|
+
position = input(null, ...ngDevMode ? [{ debugName: "position" }] : /* istanbul ignore next */ []);
|
|
1820
|
+
class = input("", {
|
|
1821
|
+
...ngDevMode ? { debugName: "class" } : /* istanbul ignore next */ {},
|
|
1822
|
+
alias: "class"
|
|
1823
|
+
});
|
|
1824
|
+
headerSlot = contentChild(NavigationHeaderComponent, ...ngDevMode ? [{ debugName: "headerSlot" }] : /* istanbul ignore next */ []);
|
|
1825
|
+
contentSlot = contentChild(NavigationContentComponent, ...ngDevMode ? [{ debugName: "contentSlot" }] : /* istanbul ignore next */ []);
|
|
1826
|
+
footerSlot = contentChild(NavigationFooterComponent, ...ngDevMode ? [{ debugName: "footerSlot" }] : /* istanbul ignore next */ []);
|
|
1827
|
+
dataValidated = computed(() => {
|
|
1828
|
+
ɵassertMinidockItems(this.container.data());
|
|
1829
|
+
return true;
|
|
1830
|
+
}, ...ngDevMode ? [{ debugName: "dataValidated" }] : /* istanbul ignore next */ []);
|
|
1831
|
+
hostClasses = computed(() => cn(this.container.shellClasses(), this.class()), ...ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []);
|
|
1832
|
+
constructor() {
|
|
1833
|
+
const config = {
|
|
1834
|
+
orientation: "vertical",
|
|
1835
|
+
type: "minidock",
|
|
1836
|
+
position: this.position
|
|
1837
|
+
};
|
|
1838
|
+
this.container.registerType(config);
|
|
1839
|
+
this.destroyRef.onDestroy(() => this.container.unregisterType(config));
|
|
1840
|
+
}
|
|
1841
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1842
|
+
minVersion: "12.0.0",
|
|
1843
|
+
version: "22.2.2",
|
|
1844
|
+
ngImport: i0,
|
|
1845
|
+
type: NavigationMinidockComponent,
|
|
1846
|
+
deps: [],
|
|
1847
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
1848
|
+
});
|
|
1849
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1850
|
+
minVersion: "17.0.0",
|
|
1851
|
+
version: "22.2.2",
|
|
1852
|
+
type: NavigationMinidockComponent,
|
|
1853
|
+
isStandalone: true,
|
|
1854
|
+
selector: "NavigationMinidock",
|
|
1855
|
+
inputs: {
|
|
1856
|
+
position: {
|
|
1857
|
+
classPropertyName: "position",
|
|
1858
|
+
publicName: "position",
|
|
1859
|
+
isSignal: true,
|
|
1860
|
+
isRequired: false,
|
|
1861
|
+
transformFunction: null
|
|
1862
|
+
},
|
|
1863
|
+
class: {
|
|
1864
|
+
classPropertyName: "class",
|
|
1865
|
+
publicName: "class",
|
|
1866
|
+
isSignal: true,
|
|
1867
|
+
isRequired: false,
|
|
1868
|
+
transformFunction: null
|
|
1869
|
+
}
|
|
1870
|
+
},
|
|
1871
|
+
host: { properties: { "class": "hostClasses()" } },
|
|
1872
|
+
queries: [
|
|
1873
|
+
{
|
|
1874
|
+
propertyName: "headerSlot",
|
|
1875
|
+
first: true,
|
|
1876
|
+
predicate: NavigationHeaderComponent,
|
|
1877
|
+
descendants: true,
|
|
1878
|
+
isSignal: true
|
|
1879
|
+
},
|
|
1880
|
+
{
|
|
1881
|
+
propertyName: "contentSlot",
|
|
1882
|
+
first: true,
|
|
1883
|
+
predicate: NavigationContentComponent,
|
|
1884
|
+
descendants: true,
|
|
1885
|
+
isSignal: true
|
|
1886
|
+
},
|
|
1887
|
+
{
|
|
1888
|
+
propertyName: "footerSlot",
|
|
1889
|
+
first: true,
|
|
1890
|
+
predicate: NavigationFooterComponent,
|
|
1891
|
+
descendants: true,
|
|
1892
|
+
isSignal: true
|
|
1893
|
+
}
|
|
1894
|
+
],
|
|
1895
|
+
ngImport: i0,
|
|
1896
|
+
template: `
|
|
1897
|
+
@if (dataValidated()) {
|
|
1898
|
+
@if (headerSlot()) {
|
|
1899
|
+
<ng-content select="NavigationHeader" />
|
|
1900
|
+
}
|
|
1901
|
+
|
|
1902
|
+
@if (contentSlot()) {
|
|
1903
|
+
<ng-content select="NavigationContent" />
|
|
1904
|
+
} @else {
|
|
1905
|
+
<NavigationContent />
|
|
1906
|
+
}
|
|
1907
|
+
|
|
1908
|
+
@if (footerSlot()) {
|
|
1909
|
+
<ng-content select="NavigationFooter" />
|
|
1910
|
+
}
|
|
1911
|
+
}
|
|
1912
|
+
`,
|
|
1913
|
+
isInline: true,
|
|
1914
|
+
dependencies: [{
|
|
1915
|
+
kind: "component",
|
|
1916
|
+
type: NavigationContentComponent,
|
|
1917
|
+
selector: "NavigationContent",
|
|
1918
|
+
inputs: ["class"]
|
|
1919
|
+
}]
|
|
1920
|
+
});
|
|
1921
|
+
};
|
|
1922
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
1923
|
+
minVersion: "12.0.0",
|
|
1924
|
+
version: "22.2.2",
|
|
1925
|
+
ngImport: i0,
|
|
1926
|
+
type: NavigationMinidockComponent,
|
|
1927
|
+
decorators: [{
|
|
1928
|
+
type: Component,
|
|
1929
|
+
args: [{
|
|
1930
|
+
selector: "NavigationMinidock",
|
|
1931
|
+
imports: [NavigationContentComponent],
|
|
1932
|
+
host: { "[class]": "hostClasses()" },
|
|
1933
|
+
template: `
|
|
1934
|
+
@if (dataValidated()) {
|
|
1935
|
+
@if (headerSlot()) {
|
|
1936
|
+
<ng-content select="NavigationHeader" />
|
|
1937
|
+
}
|
|
1938
|
+
|
|
1939
|
+
@if (contentSlot()) {
|
|
1940
|
+
<ng-content select="NavigationContent" />
|
|
1941
|
+
} @else {
|
|
1942
|
+
<NavigationContent />
|
|
1943
|
+
}
|
|
1944
|
+
|
|
1945
|
+
@if (footerSlot()) {
|
|
1946
|
+
<ng-content select="NavigationFooter" />
|
|
1947
|
+
}
|
|
1948
|
+
}
|
|
1949
|
+
`
|
|
1950
|
+
}]
|
|
1951
|
+
}],
|
|
1952
|
+
ctorParameters: () => [],
|
|
1953
|
+
propDecorators: {
|
|
1954
|
+
position: [{
|
|
1955
|
+
type: i0.Input,
|
|
1956
|
+
args: [{
|
|
1957
|
+
isSignal: true,
|
|
1958
|
+
alias: "position",
|
|
1959
|
+
required: false
|
|
1960
|
+
}]
|
|
1961
|
+
}],
|
|
1962
|
+
class: [{
|
|
1963
|
+
type: i0.Input,
|
|
1964
|
+
args: [{
|
|
1965
|
+
isSignal: true,
|
|
1966
|
+
alias: "class",
|
|
1967
|
+
required: false
|
|
1968
|
+
}]
|
|
1969
|
+
}],
|
|
1970
|
+
headerSlot: [{
|
|
1971
|
+
type: i0.ContentChild,
|
|
1972
|
+
args: [i0.forwardRef(() => NavigationHeaderComponent), { isSignal: true }]
|
|
1973
|
+
}],
|
|
1974
|
+
contentSlot: [{
|
|
1975
|
+
type: i0.ContentChild,
|
|
1976
|
+
args: [i0.forwardRef(() => NavigationContentComponent), { isSignal: true }]
|
|
1977
|
+
}],
|
|
1978
|
+
footerSlot: [{
|
|
1979
|
+
type: i0.ContentChild,
|
|
1980
|
+
args: [i0.forwardRef(() => NavigationFooterComponent), { isSignal: true }]
|
|
1981
|
+
}]
|
|
1982
|
+
}
|
|
1983
|
+
});
|
|
1780
1984
|
var NavigationNavbarComponent = class NavigationNavbarComponent {
|
|
1781
1985
|
container = inject(NavigationContainerComponent);
|
|
1782
1986
|
destroyRef = inject(DestroyRef);
|
|
@@ -1808,7 +2012,7 @@ var NavigationNavbarComponent = class NavigationNavbarComponent {
|
|
|
1808
2012
|
}
|
|
1809
2013
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1810
2014
|
minVersion: "12.0.0",
|
|
1811
|
-
version: "22.2.
|
|
2015
|
+
version: "22.2.2",
|
|
1812
2016
|
ngImport: i0,
|
|
1813
2017
|
type: NavigationNavbarComponent,
|
|
1814
2018
|
deps: [],
|
|
@@ -1816,7 +2020,7 @@ var NavigationNavbarComponent = class NavigationNavbarComponent {
|
|
|
1816
2020
|
});
|
|
1817
2021
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1818
2022
|
minVersion: "17.0.0",
|
|
1819
|
-
version: "22.2.
|
|
2023
|
+
version: "22.2.2",
|
|
1820
2024
|
type: NavigationNavbarComponent,
|
|
1821
2025
|
isStandalone: true,
|
|
1822
2026
|
selector: "NavigationNavbar",
|
|
@@ -1894,7 +2098,7 @@ var NavigationNavbarComponent = class NavigationNavbarComponent {
|
|
|
1894
2098
|
};
|
|
1895
2099
|
i0.ɵɵngDeclareClassMetadata({
|
|
1896
2100
|
minVersion: "12.0.0",
|
|
1897
|
-
version: "22.2.
|
|
2101
|
+
version: "22.2.2",
|
|
1898
2102
|
ngImport: i0,
|
|
1899
2103
|
type: NavigationNavbarComponent,
|
|
1900
2104
|
decorators: [{
|
|
@@ -2030,7 +2234,7 @@ var NavigationFlyoutComponent = class NavigationFlyoutComponent {
|
|
|
2030
2234
|
}
|
|
2031
2235
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2032
2236
|
minVersion: "12.0.0",
|
|
2033
|
-
version: "22.2.
|
|
2237
|
+
version: "22.2.2",
|
|
2034
2238
|
ngImport: i0,
|
|
2035
2239
|
type: NavigationFlyoutComponent,
|
|
2036
2240
|
deps: [],
|
|
@@ -2038,7 +2242,7 @@ var NavigationFlyoutComponent = class NavigationFlyoutComponent {
|
|
|
2038
2242
|
});
|
|
2039
2243
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2040
2244
|
minVersion: "17.1.0",
|
|
2041
|
-
version: "22.2.
|
|
2245
|
+
version: "22.2.2",
|
|
2042
2246
|
type: NavigationFlyoutComponent,
|
|
2043
2247
|
isStandalone: true,
|
|
2044
2248
|
selector: "NavigationFlyout",
|
|
@@ -2151,7 +2355,7 @@ var NavigationFlyoutComponent = class NavigationFlyoutComponent {
|
|
|
2151
2355
|
};
|
|
2152
2356
|
i0.ɵɵngDeclareClassMetadata({
|
|
2153
2357
|
minVersion: "12.0.0",
|
|
2154
|
-
version: "22.2.
|
|
2358
|
+
version: "22.2.2",
|
|
2155
2359
|
ngImport: i0,
|
|
2156
2360
|
type: NavigationFlyoutComponent,
|
|
2157
2361
|
decorators: [{
|
|
@@ -2275,19 +2479,19 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
2275
2479
|
function isCompactDisplay(shell) {
|
|
2276
2480
|
const state = shell.displayState();
|
|
2277
2481
|
if (state.orientation !== "vertical") return false;
|
|
2278
|
-
if (state.type === "dockbar") return true;
|
|
2482
|
+
if (state.type === "dockbar" || state.type === "minidock") return true;
|
|
2279
2483
|
return shell.collapseEnabled() && state.collapsed;
|
|
2280
2484
|
}
|
|
2281
2485
|
var NavigationCollapseRootDirective = class NavigationCollapseRootDirective {
|
|
2282
2486
|
shell = inject(NAVIGATION_SHELL);
|
|
2283
2487
|
collapseEnabled = computed(() => {
|
|
2284
2488
|
const state = this.shell.displayState();
|
|
2285
|
-
return state.orientation === "vertical" && (this.shell.collapseEnabled() || state.type === "dockbar");
|
|
2489
|
+
return state.orientation === "vertical" && (this.shell.collapseEnabled() || state.type === "dockbar" || state.type === "minidock");
|
|
2286
2490
|
}, ...ngDevMode ? [{ debugName: "collapseEnabled" }] : /* istanbul ignore next */ []);
|
|
2287
2491
|
displayCollapsed = computed(() => isCompactDisplay(this.shell), ...ngDevMode ? [{ debugName: "displayCollapsed" }] : /* istanbul ignore next */ []);
|
|
2288
2492
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2289
2493
|
minVersion: "12.0.0",
|
|
2290
|
-
version: "22.2.
|
|
2494
|
+
version: "22.2.2",
|
|
2291
2495
|
ngImport: i0,
|
|
2292
2496
|
type: NavigationCollapseRootDirective,
|
|
2293
2497
|
deps: [],
|
|
@@ -2295,7 +2499,7 @@ var NavigationCollapseRootDirective = class NavigationCollapseRootDirective {
|
|
|
2295
2499
|
});
|
|
2296
2500
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
2297
2501
|
minVersion: "14.0.0",
|
|
2298
|
-
version: "22.2.
|
|
2502
|
+
version: "22.2.2",
|
|
2299
2503
|
type: NavigationCollapseRootDirective,
|
|
2300
2504
|
isStandalone: true,
|
|
2301
2505
|
selector: "[NavigationCollapseRoot]",
|
|
@@ -2308,7 +2512,7 @@ var NavigationCollapseRootDirective = class NavigationCollapseRootDirective {
|
|
|
2308
2512
|
};
|
|
2309
2513
|
i0.ɵɵngDeclareClassMetadata({
|
|
2310
2514
|
minVersion: "12.0.0",
|
|
2311
|
-
version: "22.2.
|
|
2515
|
+
version: "22.2.2",
|
|
2312
2516
|
ngImport: i0,
|
|
2313
2517
|
type: NavigationCollapseRootDirective,
|
|
2314
2518
|
decorators: [{
|
|
@@ -2345,7 +2549,7 @@ var NavigationCollapseExpandedDirective = class NavigationCollapseExpandedDirect
|
|
|
2345
2549
|
}
|
|
2346
2550
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2347
2551
|
minVersion: "12.0.0",
|
|
2348
|
-
version: "22.2.
|
|
2552
|
+
version: "22.2.2",
|
|
2349
2553
|
ngImport: i0,
|
|
2350
2554
|
type: NavigationCollapseExpandedDirective,
|
|
2351
2555
|
deps: [],
|
|
@@ -2353,7 +2557,7 @@ var NavigationCollapseExpandedDirective = class NavigationCollapseExpandedDirect
|
|
|
2353
2557
|
});
|
|
2354
2558
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
2355
2559
|
minVersion: "14.0.0",
|
|
2356
|
-
version: "22.2.
|
|
2560
|
+
version: "22.2.2",
|
|
2357
2561
|
type: NavigationCollapseExpandedDirective,
|
|
2358
2562
|
isStandalone: true,
|
|
2359
2563
|
selector: "[NavigationCollapseExpanded]",
|
|
@@ -2362,7 +2566,7 @@ var NavigationCollapseExpandedDirective = class NavigationCollapseExpandedDirect
|
|
|
2362
2566
|
};
|
|
2363
2567
|
i0.ɵɵngDeclareClassMetadata({
|
|
2364
2568
|
minVersion: "12.0.0",
|
|
2365
|
-
version: "22.2.
|
|
2569
|
+
version: "22.2.2",
|
|
2366
2570
|
ngImport: i0,
|
|
2367
2571
|
type: NavigationCollapseExpandedDirective,
|
|
2368
2572
|
decorators: [{
|
|
@@ -2384,7 +2588,7 @@ var NavigationFooterActionComponent = class NavigationFooterActionComponent {
|
|
|
2384
2588
|
hostClasses = computed(() => cn(this.collapsed() ? "hidden" : "ml-auto flex shrink-0 items-center gap-1", this.class()), ...ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []);
|
|
2385
2589
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2386
2590
|
minVersion: "12.0.0",
|
|
2387
|
-
version: "22.2.
|
|
2591
|
+
version: "22.2.2",
|
|
2388
2592
|
ngImport: i0,
|
|
2389
2593
|
type: NavigationFooterActionComponent,
|
|
2390
2594
|
deps: [],
|
|
@@ -2392,7 +2596,7 @@ var NavigationFooterActionComponent = class NavigationFooterActionComponent {
|
|
|
2392
2596
|
});
|
|
2393
2597
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2394
2598
|
minVersion: "17.1.0",
|
|
2395
|
-
version: "22.2.
|
|
2599
|
+
version: "22.2.2",
|
|
2396
2600
|
type: NavigationFooterActionComponent,
|
|
2397
2601
|
isStandalone: true,
|
|
2398
2602
|
selector: "NavigationFooterAction",
|
|
@@ -2411,7 +2615,7 @@ var NavigationFooterActionComponent = class NavigationFooterActionComponent {
|
|
|
2411
2615
|
};
|
|
2412
2616
|
i0.ɵɵngDeclareClassMetadata({
|
|
2413
2617
|
minVersion: "12.0.0",
|
|
2414
|
-
version: "22.2.
|
|
2618
|
+
version: "22.2.2",
|
|
2415
2619
|
ngImport: i0,
|
|
2416
2620
|
type: NavigationFooterActionComponent,
|
|
2417
2621
|
decorators: [{
|
|
@@ -2466,7 +2670,7 @@ var NavigationFooterInitialComponent = class NavigationFooterInitialComponent {
|
|
|
2466
2670
|
hostClasses = this.view.hostClasses;
|
|
2467
2671
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2468
2672
|
minVersion: "12.0.0",
|
|
2469
|
-
version: "22.2.
|
|
2673
|
+
version: "22.2.2",
|
|
2470
2674
|
ngImport: i0,
|
|
2471
2675
|
type: NavigationFooterInitialComponent,
|
|
2472
2676
|
deps: [],
|
|
@@ -2474,7 +2678,7 @@ var NavigationFooterInitialComponent = class NavigationFooterInitialComponent {
|
|
|
2474
2678
|
});
|
|
2475
2679
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2476
2680
|
minVersion: "17.0.0",
|
|
2477
|
-
version: "22.2.
|
|
2681
|
+
version: "22.2.2",
|
|
2478
2682
|
type: NavigationFooterInitialComponent,
|
|
2479
2683
|
isStandalone: true,
|
|
2480
2684
|
selector: "NavigationFooterInitial",
|
|
@@ -2549,7 +2753,7 @@ var NavigationFooterInitialComponent = class NavigationFooterInitialComponent {
|
|
|
2549
2753
|
};
|
|
2550
2754
|
i0.ɵɵngDeclareClassMetadata({
|
|
2551
2755
|
minVersion: "12.0.0",
|
|
2552
|
-
version: "22.2.
|
|
2756
|
+
version: "22.2.2",
|
|
2553
2757
|
ngImport: i0,
|
|
2554
2758
|
type: NavigationFooterInitialComponent,
|
|
2555
2759
|
decorators: [{
|
|
@@ -2631,7 +2835,7 @@ var NavigationFooterTitleComponent = class NavigationFooterTitleComponent {
|
|
|
2631
2835
|
hostClasses = computed(() => cn(this.collapsed() ? "hidden" : "flex min-w-0 flex-col justify-center", this.class()), ...ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []);
|
|
2632
2836
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2633
2837
|
minVersion: "12.0.0",
|
|
2634
|
-
version: "22.2.
|
|
2838
|
+
version: "22.2.2",
|
|
2635
2839
|
ngImport: i0,
|
|
2636
2840
|
type: NavigationFooterTitleComponent,
|
|
2637
2841
|
deps: [],
|
|
@@ -2639,7 +2843,7 @@ var NavigationFooterTitleComponent = class NavigationFooterTitleComponent {
|
|
|
2639
2843
|
});
|
|
2640
2844
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2641
2845
|
minVersion: "17.0.0",
|
|
2642
|
-
version: "22.2.
|
|
2846
|
+
version: "22.2.2",
|
|
2643
2847
|
type: NavigationFooterTitleComponent,
|
|
2644
2848
|
isStandalone: true,
|
|
2645
2849
|
selector: "NavigationFooterTitle",
|
|
@@ -2687,7 +2891,7 @@ var NavigationFooterTitleComponent = class NavigationFooterTitleComponent {
|
|
|
2687
2891
|
};
|
|
2688
2892
|
i0.ɵɵngDeclareClassMetadata({
|
|
2689
2893
|
minVersion: "12.0.0",
|
|
2690
|
-
version: "22.2.
|
|
2894
|
+
version: "22.2.2",
|
|
2691
2895
|
ngImport: i0,
|
|
2692
2896
|
type: NavigationFooterTitleComponent,
|
|
2693
2897
|
decorators: [{
|
|
@@ -2762,7 +2966,7 @@ var NavigationHeaderInitialComponent = class NavigationHeaderInitialComponent {
|
|
|
2762
2966
|
hostClasses = this.view.hostClasses;
|
|
2763
2967
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2764
2968
|
minVersion: "12.0.0",
|
|
2765
|
-
version: "22.2.
|
|
2969
|
+
version: "22.2.2",
|
|
2766
2970
|
ngImport: i0,
|
|
2767
2971
|
type: NavigationHeaderInitialComponent,
|
|
2768
2972
|
deps: [],
|
|
@@ -2770,7 +2974,7 @@ var NavigationHeaderInitialComponent = class NavigationHeaderInitialComponent {
|
|
|
2770
2974
|
});
|
|
2771
2975
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2772
2976
|
minVersion: "17.0.0",
|
|
2773
|
-
version: "22.2.
|
|
2977
|
+
version: "22.2.2",
|
|
2774
2978
|
type: NavigationHeaderInitialComponent,
|
|
2775
2979
|
isStandalone: true,
|
|
2776
2980
|
selector: "NavigationHeaderInitial",
|
|
@@ -2852,7 +3056,7 @@ var NavigationHeaderInitialComponent = class NavigationHeaderInitialComponent {
|
|
|
2852
3056
|
};
|
|
2853
3057
|
i0.ɵɵngDeclareClassMetadata({
|
|
2854
3058
|
minVersion: "12.0.0",
|
|
2855
|
-
version: "22.2.
|
|
3059
|
+
version: "22.2.2",
|
|
2856
3060
|
ngImport: i0,
|
|
2857
3061
|
type: NavigationHeaderInitialComponent,
|
|
2858
3062
|
decorators: [{
|
|
@@ -2942,7 +3146,7 @@ var NavigationHeaderTitleComponent = class NavigationHeaderTitleComponent {
|
|
|
2942
3146
|
hostClasses = computed(() => cn(this.collapsed() ? "hidden" : "flex min-w-0 flex-col justify-center", this.class()), ...ngDevMode ? [{ debugName: "hostClasses" }] : /* istanbul ignore next */ []);
|
|
2943
3147
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
2944
3148
|
minVersion: "12.0.0",
|
|
2945
|
-
version: "22.2.
|
|
3149
|
+
version: "22.2.2",
|
|
2946
3150
|
ngImport: i0,
|
|
2947
3151
|
type: NavigationHeaderTitleComponent,
|
|
2948
3152
|
deps: [],
|
|
@@ -2950,7 +3154,7 @@ var NavigationHeaderTitleComponent = class NavigationHeaderTitleComponent {
|
|
|
2950
3154
|
});
|
|
2951
3155
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2952
3156
|
minVersion: "17.0.0",
|
|
2953
|
-
version: "22.2.
|
|
3157
|
+
version: "22.2.2",
|
|
2954
3158
|
type: NavigationHeaderTitleComponent,
|
|
2955
3159
|
isStandalone: true,
|
|
2956
3160
|
selector: "NavigationHeaderTitle",
|
|
@@ -2998,7 +3202,7 @@ var NavigationHeaderTitleComponent = class NavigationHeaderTitleComponent {
|
|
|
2998
3202
|
};
|
|
2999
3203
|
i0.ɵɵngDeclareClassMetadata({
|
|
3000
3204
|
minVersion: "12.0.0",
|
|
3001
|
-
version: "22.2.
|
|
3205
|
+
version: "22.2.2",
|
|
3002
3206
|
ngImport: i0,
|
|
3003
3207
|
type: NavigationHeaderTitleComponent,
|
|
3004
3208
|
decorators: [{
|
|
@@ -3049,4 +3253,4 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
3049
3253
|
}]
|
|
3050
3254
|
}
|
|
3051
3255
|
});
|
|
3052
|
-
export { NAVIGATION_DOCKBAR_FALLBACK_ICON, NavigationAsideFooterDirective, NavigationCollapseExpandedDirective, NavigationCollapseRootDirective, NavigationContainerComponent, NavigationContentComponent, NavigationDockbarComponent, NavigationFlyoutComponent, NavigationFooterActionComponent, NavigationFooterComponent, NavigationFooterInitialComponent, NavigationFooterTitleComponent, NavigationHeaderComponent, NavigationHeaderInitialComponent, NavigationHeaderTitleComponent, NavigationIconDirective, NavigationNavbarComponent, NavigationSidebarComponent, deriveNavigationInitials, formatNavigationBadgeCount, normalizeUiNavItems };
|
|
3256
|
+
export { NAVIGATION_DOCKBAR_FALLBACK_ICON, NavigationAsideFooterDirective, NavigationCollapseExpandedDirective, NavigationCollapseRootDirective, NavigationContainerComponent, NavigationContentComponent, NavigationDockbarComponent, NavigationFlyoutComponent, NavigationFooterActionComponent, NavigationFooterComponent, NavigationFooterInitialComponent, NavigationFooterTitleComponent, NavigationHeaderComponent, NavigationHeaderInitialComponent, NavigationHeaderTitleComponent, NavigationIconDirective, NavigationMinidockComponent, NavigationNavbarComponent, NavigationSidebarComponent, deriveNavigationInitials, formatNavigationBadgeCount, normalizeUiNavItems, toMinidockItems };
|