@ojiepermana/angular 22.2.7 → 22.2.11
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/chart/README.md +3 -0
- package/component/icon/README.md +17 -0
- 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 +71 -34
- package/fesm2022/ojiepermana-angular-chart-line.mjs +3 -3
- package/fesm2022/ojiepermana-angular-chart-pie.mjs +14 -7
- 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 +32 -24
- 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-D-WgBF6d.mjs → ojiepermana-angular-navigation-navigation-badge-count.component-BxWVj145.mjs} +3 -3
- package/fesm2022/{ojiepermana-angular-navigation-navigation-dockbar-menu.component-DqomVKM3.mjs → ojiepermana-angular-navigation-navigation-dockbar-menu.component-Q6Ef4ut3.mjs} +17 -9
- package/fesm2022/{ojiepermana-angular-navigation-navigation-entry-grid.component-nge3WGLa.mjs → ojiepermana-angular-navigation-navigation-entry-grid.component-XxQv3yxu.mjs} +15 -7
- package/fesm2022/{ojiepermana-angular-navigation-navigation-flyout-menu.component-CeoyWTbP.mjs → ojiepermana-angular-navigation-navigation-flyout-menu.component-BBz0IwXv.mjs} +24 -8
- package/fesm2022/{ojiepermana-angular-navigation-navigation-horizontal.component-BhE_XVog.mjs → ojiepermana-angular-navigation-navigation-horizontal.component-aFxLw5XV.mjs} +6 -6
- package/fesm2022/{ojiepermana-angular-navigation-navigation-item.component-2R9tPqQK.mjs → ojiepermana-angular-navigation-navigation-item.component-DlazoaD2.mjs} +21 -13
- package/fesm2022/{ojiepermana-angular-navigation-navigation-list.component-DO_eoMWG.mjs → ojiepermana-angular-navigation-navigation-list.component-Cgj0SLHr.mjs} +4 -4
- package/fesm2022/ojiepermana-angular-navigation-service.mjs +3 -3
- package/fesm2022/ojiepermana-angular-navigation.mjs +91 -67
- package/fesm2022/ojiepermana-angular-theme-component-settings.mjs +261 -80
- package/fesm2022/ojiepermana-angular-theme-layout-services.mjs +6 -6
- package/fesm2022/ojiepermana-angular-theme-layout-wrapper.mjs +59 -35
- package/fesm2022/ojiepermana-angular-theme-layout.mjs +24 -24
- package/fesm2022/ojiepermana-angular-theme-on-fill.mjs +89 -0
- 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 +14 -6
- 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 +20 -12
- package/fesm2022/ojiepermana-angular-theme-styles.mjs +77 -44
- package/package.json +7 -2
- package/theme/README.md +5 -0
- package/theme/styles/README.md +52 -3
- package/theme/styles/css/base/on-fill.css +153 -0
- package/theme/styles/css/base/package.css +1 -0
- package/theme/styles/css/base/prefers-dark.css +0 -5
- package/theme/styles/css/base/theme.css +4 -51
- package/theme/styles/css/color/emerald.css +1 -1
- package/types/ojiepermana-angular-chart-core.d.ts +3 -1
- package/types/ojiepermana-angular-chart-pie.d.ts +5 -0
- package/types/ojiepermana-angular-theme-component-settings.d.ts +2 -2
- package/types/ojiepermana-angular-theme-on-fill.d.ts +45 -0
- package/types/ojiepermana-angular-theme-styles.d.ts +37 -4
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { i as hasNavigationCountBadge } from "./ojiepermana-angular-navigation-navigation-badge-count.component-
|
|
2
|
-
import { a as NAVIGATION_SHELL, r as NavigationItemContentComponent, t as NavigationItemComponent } from "./ojiepermana-angular-navigation-navigation-item.component-
|
|
3
|
-
import { t as NavigationListComponent } from "./ojiepermana-angular-navigation-navigation-list.component-
|
|
1
|
+
import { i as hasNavigationCountBadge } from "./ojiepermana-angular-navigation-navigation-badge-count.component-BxWVj145.mjs";
|
|
2
|
+
import { a as NAVIGATION_SHELL, r as NavigationItemContentComponent, t as NavigationItemComponent } from "./ojiepermana-angular-navigation-navigation-item.component-DlazoaD2.mjs";
|
|
3
|
+
import { t as NavigationListComponent } from "./ojiepermana-angular-navigation-navigation-list.component-Cgj0SLHr.mjs";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
import { Component, ElementRef, Injector, afterNextRender, computed, inject, input, output, signal } from "@angular/core";
|
|
6
6
|
import { cn } from "@ojiepermana/angular/component/utils/core";
|
|
7
7
|
import { NAVIGATION_ADAPTER } from "@ojiepermana/angular/navigation/core";
|
|
8
8
|
import { NgTemplateOutlet } from "@angular/common";
|
|
9
|
-
import {
|
|
9
|
+
import { X } from "lucide";
|
|
10
10
|
import { IconComponent, provideIcons } from "@ojiepermana/angular/component/icon";
|
|
11
11
|
import { TooltipDirective } from "@ojiepermana/angular/component/tooltip";
|
|
12
12
|
const EMPTY_NAVIGATION_BADGE_CONTEXT = Object.freeze({});
|
|
@@ -171,7 +171,7 @@ var NavigationDockbarMenuComponent = class NavigationDockbarMenuComponent {
|
|
|
171
171
|
}
|
|
172
172
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
173
173
|
minVersion: "12.0.0",
|
|
174
|
-
version: "22.2.
|
|
174
|
+
version: "22.2.4",
|
|
175
175
|
ngImport: i0,
|
|
176
176
|
type: NavigationDockbarMenuComponent,
|
|
177
177
|
deps: [],
|
|
@@ -179,7 +179,7 @@ var NavigationDockbarMenuComponent = class NavigationDockbarMenuComponent {
|
|
|
179
179
|
});
|
|
180
180
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
181
181
|
minVersion: "17.0.0",
|
|
182
|
-
version: "22.2.
|
|
182
|
+
version: "22.2.4",
|
|
183
183
|
type: NavigationDockbarMenuComponent,
|
|
184
184
|
isStandalone: true,
|
|
185
185
|
selector: "NavigationDockbarMenu",
|
|
@@ -298,7 +298,11 @@ var NavigationDockbarMenuComponent = class NavigationDockbarMenuComponent {
|
|
|
298
298
|
"attr.data-position": "position()"
|
|
299
299
|
}
|
|
300
300
|
},
|
|
301
|
-
providers: [provideIcons(
|
|
301
|
+
providers: [provideIcons({
|
|
302
|
+
name: "x",
|
|
303
|
+
size: 24,
|
|
304
|
+
node: X
|
|
305
|
+
})],
|
|
302
306
|
ngImport: i0,
|
|
303
307
|
template: `
|
|
304
308
|
<ul [class]="railClasses()" role="list">
|
|
@@ -543,7 +547,7 @@ var NavigationDockbarMenuComponent = class NavigationDockbarMenuComponent {
|
|
|
543
547
|
};
|
|
544
548
|
i0.ɵɵngDeclareClassMetadata({
|
|
545
549
|
minVersion: "12.0.0",
|
|
546
|
-
version: "22.2.
|
|
550
|
+
version: "22.2.4",
|
|
547
551
|
ngImport: i0,
|
|
548
552
|
type: NavigationDockbarMenuComponent,
|
|
549
553
|
decorators: [{
|
|
@@ -558,7 +562,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
558
562
|
NgTemplateOutlet,
|
|
559
563
|
TooltipDirective
|
|
560
564
|
],
|
|
561
|
-
providers: [provideIcons(
|
|
565
|
+
providers: [provideIcons({
|
|
566
|
+
name: "x",
|
|
567
|
+
size: 24,
|
|
568
|
+
node: X
|
|
569
|
+
})],
|
|
562
570
|
host: {
|
|
563
571
|
"[class]": "hostClasses()",
|
|
564
572
|
"[attr.data-mode]": "mode()",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { i as NavigationItemBadgeComponent, n as navigationPanelId, t as NavigationItemComponent } from "./ojiepermana-angular-navigation-navigation-item.component-
|
|
1
|
+
import { i as NavigationItemBadgeComponent, n as navigationPanelId, t as NavigationItemComponent } from "./ojiepermana-angular-navigation-navigation-item.component-DlazoaD2.mjs";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import { Component, computed, inject, input, output, signal } from "@angular/core";
|
|
4
4
|
import { ActivatedRoute, Router, RouterLink } from "@angular/router";
|
|
5
5
|
import { cn } from "@ojiepermana/angular/component/utils/core";
|
|
6
6
|
import { NAVIGATION_ADAPTER, NAVIGATION_ROUTE_CONTEXT_ADAPTER } from "@ojiepermana/angular/navigation/core";
|
|
7
7
|
import { NgTemplateOutlet } from "@angular/common";
|
|
8
|
-
import {
|
|
8
|
+
import { ChevronRight } from "lucide";
|
|
9
9
|
import { IconComponent, provideIcons } from "@ojiepermana/angular/component/icon";
|
|
10
10
|
var NavigationEntryGridComponent = class NavigationEntryGridComponent {
|
|
11
11
|
nav = inject(NAVIGATION_ADAPTER);
|
|
@@ -120,7 +120,7 @@ var NavigationEntryGridComponent = class NavigationEntryGridComponent {
|
|
|
120
120
|
}
|
|
121
121
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
122
122
|
minVersion: "12.0.0",
|
|
123
|
-
version: "22.2.
|
|
123
|
+
version: "22.2.4",
|
|
124
124
|
ngImport: i0,
|
|
125
125
|
type: NavigationEntryGridComponent,
|
|
126
126
|
deps: [],
|
|
@@ -128,7 +128,7 @@ var NavigationEntryGridComponent = class NavigationEntryGridComponent {
|
|
|
128
128
|
});
|
|
129
129
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
130
130
|
minVersion: "17.0.0",
|
|
131
|
-
version: "22.2.
|
|
131
|
+
version: "22.2.4",
|
|
132
132
|
type: NavigationEntryGridComponent,
|
|
133
133
|
isStandalone: true,
|
|
134
134
|
selector: "NavigationEntryGrid",
|
|
@@ -209,7 +209,11 @@ var NavigationEntryGridComponent = class NavigationEntryGridComponent {
|
|
|
209
209
|
itemSelected: "itemSelected"
|
|
210
210
|
},
|
|
211
211
|
host: { classAttribute: "contents" },
|
|
212
|
-
providers: [provideIcons(
|
|
212
|
+
providers: [provideIcons({
|
|
213
|
+
name: "chevron-right",
|
|
214
|
+
size: 24,
|
|
215
|
+
node: ChevronRight
|
|
216
|
+
})],
|
|
213
217
|
ngImport: i0,
|
|
214
218
|
template: `
|
|
215
219
|
@let branchItem = branch();
|
|
@@ -504,7 +508,7 @@ var NavigationEntryGridComponent = class NavigationEntryGridComponent {
|
|
|
504
508
|
};
|
|
505
509
|
i0.ɵɵngDeclareClassMetadata({
|
|
506
510
|
minVersion: "12.0.0",
|
|
507
|
-
version: "22.2.
|
|
511
|
+
version: "22.2.4",
|
|
508
512
|
ngImport: i0,
|
|
509
513
|
type: NavigationEntryGridComponent,
|
|
510
514
|
decorators: [{
|
|
@@ -518,7 +522,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
518
522
|
NavigationItemComponent,
|
|
519
523
|
NavigationItemBadgeComponent
|
|
520
524
|
],
|
|
521
|
-
providers: [provideIcons(
|
|
525
|
+
providers: [provideIcons({
|
|
526
|
+
name: "chevron-right",
|
|
527
|
+
size: 24,
|
|
528
|
+
node: ChevronRight
|
|
529
|
+
})],
|
|
522
530
|
host: { class: "contents" },
|
|
523
531
|
template: `
|
|
524
532
|
@let branchItem = branch();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { r as NavigationItemContentComponent, t as NavigationItemComponent } from "./ojiepermana-angular-navigation-navigation-item.component-
|
|
2
|
-
import { t as NavigationEntryGridComponent } from "./ojiepermana-angular-navigation-navigation-entry-grid.component-
|
|
1
|
+
import { r as NavigationItemContentComponent, t as NavigationItemComponent } from "./ojiepermana-angular-navigation-navigation-item.component-DlazoaD2.mjs";
|
|
2
|
+
import { t as NavigationEntryGridComponent } from "./ojiepermana-angular-navigation-navigation-entry-grid.component-XxQv3yxu.mjs";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import { Component, ElementRef, Injector, afterNextRender, computed, effect, inject, input, output, signal } from "@angular/core";
|
|
5
5
|
import { cn } from "@ojiepermana/angular/component/utils/core";
|
|
6
6
|
import { NAVIGATION_ADAPTER } from "@ojiepermana/angular/navigation/core";
|
|
7
7
|
import { DOCUMENT } from "@angular/common";
|
|
8
|
-
import {
|
|
8
|
+
import { ChevronRight, Menu } from "lucide";
|
|
9
9
|
import { IconComponent, provideIcons } from "@ojiepermana/angular/component/icon";
|
|
10
10
|
var NavigationFlyoutMenuComponent = class NavigationFlyoutMenuComponent {
|
|
11
11
|
nav = inject(NAVIGATION_ADAPTER);
|
|
@@ -201,7 +201,7 @@ var NavigationFlyoutMenuComponent = class NavigationFlyoutMenuComponent {
|
|
|
201
201
|
}
|
|
202
202
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
203
203
|
minVersion: "12.0.0",
|
|
204
|
-
version: "22.2.
|
|
204
|
+
version: "22.2.4",
|
|
205
205
|
ngImport: i0,
|
|
206
206
|
type: NavigationFlyoutMenuComponent,
|
|
207
207
|
deps: [],
|
|
@@ -209,7 +209,7 @@ var NavigationFlyoutMenuComponent = class NavigationFlyoutMenuComponent {
|
|
|
209
209
|
});
|
|
210
210
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
211
211
|
minVersion: "17.0.0",
|
|
212
|
-
version: "22.2.
|
|
212
|
+
version: "22.2.4",
|
|
213
213
|
type: NavigationFlyoutMenuComponent,
|
|
214
214
|
isStandalone: true,
|
|
215
215
|
selector: "NavigationFlyoutMenu",
|
|
@@ -377,7 +377,15 @@ var NavigationFlyoutMenuComponent = class NavigationFlyoutMenuComponent {
|
|
|
377
377
|
listeners: { "keydown.escape": "onEscape($event)" },
|
|
378
378
|
properties: { "class": "hostClasses()" }
|
|
379
379
|
},
|
|
380
|
-
providers: [provideIcons(
|
|
380
|
+
providers: [provideIcons({
|
|
381
|
+
name: "chevron-right",
|
|
382
|
+
size: 24,
|
|
383
|
+
node: ChevronRight
|
|
384
|
+
}, {
|
|
385
|
+
name: "menu",
|
|
386
|
+
size: 24,
|
|
387
|
+
node: Menu
|
|
388
|
+
})],
|
|
381
389
|
ngImport: i0,
|
|
382
390
|
template: "<button\n type=\"button\"\n data-navigation-flyout-trigger=\"true\"\n [class]=\"triggerClasses()\"\n aria-haspopup=\"menu\"\n [attr.aria-expanded]=\"isOpen()\"\n [attr.aria-controls]=\"isOpen() ? panelId() : null\"\n [attr.aria-label]=\"showIconOnly() ? label() : null\"\n [attr.title]=\"showIconOnly() ? label() : null\"\n (click)=\"toggleFlyout()\"\n>\n @if (showIconOnly()) {\n <Icon\n [name]=\"triggerIcon() ?? 'menu'\"\n size=\"inherit\"\n class=\"text-(length:--nav-icon-size) text-current\"\n />\n } @else {\n @if (iconPosition() === 'start' && triggerIcon(); as iconName) {\n <Icon\n [name]=\"iconName\"\n size=\"inherit\"\n class=\"shrink-0 text-(length:--nav-icon-size) text-current\"\n />\n }\n\n <span class=\"truncate\">{{ label() }}</span>\n\n @if (iconPosition() === 'end' && triggerIcon(); as iconName) {\n <Icon\n [name]=\"iconName\"\n size=\"inherit\"\n class=\"shrink-0 text-(length:--nav-icon-size) text-current\"\n />\n }\n }\n</button>\n\n@if (isOpen()) {\n <div\n [id]=\"panelId()\"\n data-navigation-flyout-panel=\"true\"\n [attr.data-navigation-flyout-floating]=\"floating() ? 'true' : null\"\n [class]=\"panelWrapperClasses()\"\n [style.left.px]=\"floating() ? null : panelPlacement()?.left\"\n [style.top.px]=\"floating() || isBottom() ? null : panelPlacement()?.top\"\n [style.bottom.px]=\"!floating() && isBottom() ? panelPlacement()?.bottom : null\"\n [style.width.px]=\"floating() ? null : panelPlacement()?.width\"\n >\n <div\n [attr.data-navigation-flyout-floating-card]=\"floating() ? 'true' : null\"\n [class]=\"panelCardClasses()\"\n >\n <div data-navigation-flyout-menu-layout=\"true\" [class]=\"menuClasses()\">\n <!-- ROW 1 = bar (sticky, menutup bar trigger), struktur seperti bar navbar:\n Header (kiri) | menu item (tengah) | Footer (kanan). Hanya ROW 2 (grid child)\n di bawah bar yang ikut scroll. -->\n <div data-navigation-flyout-bar=\"true\" [class]=\"barRowClasses()\">\n <ng-content select=\"NavigationHeader\" />\n\n <ul\n role=\"menu\"\n tabindex=\"-1\"\n data-navigation-flyout-row=\"true\"\n [class]=\"rowClasses()\"\n [attr.aria-label]=\"label()\"\n (keydown)=\"onRowKeydown($event)\"\n >\n @for (item of items(); track item.key) {\n @switch (item.type) {\n @case ('divider') {\n <li role=\"separator\" class=\"mx-1 h-5 w-px bg-border\"></li>\n }\n @case ('spacer') {\n <li role=\"none\" aria-hidden=\"true\" class=\"flex-1\"></li>\n }\n @default {\n @if (item.children.length > 0) {\n <li\n role=\"none\"\n [class]=\"groupContainerClasses(item)\"\n [attr.data-navigation-item-key]=\"item.key\"\n >\n <button\n type=\"button\"\n role=\"menuitem\"\n data-navigation-flyout-tab=\"true\"\n [class]=\"tabClasses(item)\"\n [attr.aria-expanded]=\"isBranchOpen(item)\"\n [attr.aria-controls]=\"isBranchOpen(item) ? panelContentId() : null\"\n [disabled]=\"item.disabled || null\"\n (click)=\"openBranch(item)\"\n >\n <NavigationItemContent\n [item]=\"item\"\n [active]=\"isItemActive(item)\"\n [compact]=\"false\"\n [orientation]=\"'horizontal'\"\n [level]=\"0\"\n [badgeContext]=\"badgeContext()\"\n [iconTemplate]=\"iconTemplate()\"\n />\n <Icon\n name=\"chevron-right\"\n size=\"inherit\"\n [class]=\"tabChevronClasses(item)\"\n />\n </button>\n </li>\n } @else {\n <li\n NavigationItem\n [navId]=\"navId()\"\n [item]=\"item\"\n [level]=\"0\"\n [orientation]=\"'horizontal'\"\n [compact]=\"false\"\n [itemClass]=\"navItemClass()\"\n [activeIds]=\"activeIds()\"\n [activeUrl]=\"activeUrl()\"\n [badgeContext]=\"badgeContext()\"\n [iconTemplate]=\"iconTemplate()\"\n [collapseTree]=\"collapseTree()\"\n [openedIds]=\"openedIds()\"\n (openedIdsChange)=\"openedIdsChange.emit($event)\"\n (itemSelected)=\"itemSelected.emit($event)\"\n ></li>\n }\n }\n }\n }\n </ul>\n\n <ng-content select=\"NavigationFooter\" />\n </div>\n\n <!-- ROW 2 = child dari menu item aktif; HANYA area ini yang men-scroll. -->\n <div\n [id]=\"panelContentId()\"\n data-navigation-flyout-scroll=\"true\"\n [attr.role]=\"activeBranch() ? 'menu' : null\"\n [attr.aria-label]=\"activeBranch()?.title || null\"\n [class]=\"scrollRegionClasses()\"\n >\n @if (activeBranch(); as branch) {\n <NavigationEntryGrid\n [navId]=\"navId()\"\n [branch]=\"branch\"\n [typeStyle]=\"typeStyle()\"\n [itemClass]=\"itemClass()\"\n [activeIds]=\"activeIds()\"\n [activeUrl]=\"activeUrl()\"\n [badgeContext]=\"badgeContext()\"\n [iconTemplate]=\"iconTemplate()\"\n [collapseTree]=\"collapseTree()\"\n [openedIds]=\"openedIds()\"\n (openedIdsChange)=\"openedIdsChange.emit($event)\"\n (itemSelected)=\"itemSelected.emit($event)\"\n />\n }\n </div>\n </div>\n </div>\n </div>\n}\n",
|
|
383
391
|
styles: ["[data-navigation-flyout-floating=true]{width:var(--nav-flyout-floating-width, min(22rem, 85vw));max-width:var(--nav-flyout-floating-max-width, 85vw)}[data-navigation-flyout-floating-card=true]{border-radius:var(--nav-flyout-floating-radius, var(--radius-xl))}[data-navigation-flyout-panel=true]{-webkit-app-region:no-drag;app-region:no-drag}\n"],
|
|
@@ -457,7 +465,7 @@ var NavigationFlyoutMenuComponent = class NavigationFlyoutMenuComponent {
|
|
|
457
465
|
};
|
|
458
466
|
i0.ɵɵngDeclareClassMetadata({
|
|
459
467
|
minVersion: "12.0.0",
|
|
460
|
-
version: "22.2.
|
|
468
|
+
version: "22.2.4",
|
|
461
469
|
ngImport: i0,
|
|
462
470
|
type: NavigationFlyoutMenuComponent,
|
|
463
471
|
decorators: [{
|
|
@@ -470,7 +478,15 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
470
478
|
NavigationItemComponent,
|
|
471
479
|
NavigationItemContentComponent
|
|
472
480
|
],
|
|
473
|
-
providers: [provideIcons(
|
|
481
|
+
providers: [provideIcons({
|
|
482
|
+
name: "chevron-right",
|
|
483
|
+
size: 24,
|
|
484
|
+
node: ChevronRight
|
|
485
|
+
}, {
|
|
486
|
+
name: "menu",
|
|
487
|
+
size: 24,
|
|
488
|
+
node: Menu
|
|
489
|
+
})],
|
|
474
490
|
host: {
|
|
475
491
|
"[class]": "hostClasses()",
|
|
476
492
|
"(keydown.escape)": "onEscape($event)"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as hasNavigationCountBadge } from "./ojiepermana-angular-navigation-navigation-badge-count.component-
|
|
2
|
-
import { n as navigationPanelId, r as NavigationItemContentComponent, t as NavigationItemComponent } from "./ojiepermana-angular-navigation-navigation-item.component-
|
|
3
|
-
import { t as NavigationEntryGridComponent } from "./ojiepermana-angular-navigation-navigation-entry-grid.component-
|
|
1
|
+
import { i as hasNavigationCountBadge } from "./ojiepermana-angular-navigation-navigation-badge-count.component-BxWVj145.mjs";
|
|
2
|
+
import { n as navigationPanelId, r as NavigationItemContentComponent, t as NavigationItemComponent } from "./ojiepermana-angular-navigation-navigation-item.component-DlazoaD2.mjs";
|
|
3
|
+
import { t as NavigationEntryGridComponent } from "./ojiepermana-angular-navigation-navigation-entry-grid.component-XxQv3yxu.mjs";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
import { Component, ElementRef, Injector, afterNextRender, computed, effect, inject, input, output, signal } from "@angular/core";
|
|
6
6
|
import { cn } from "@ojiepermana/angular/component/utils/core";
|
|
@@ -158,7 +158,7 @@ var NavigationHorizontalComponent = class NavigationHorizontalComponent {
|
|
|
158
158
|
}
|
|
159
159
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
160
160
|
minVersion: "12.0.0",
|
|
161
|
-
version: "22.2.
|
|
161
|
+
version: "22.2.4",
|
|
162
162
|
ngImport: i0,
|
|
163
163
|
type: NavigationHorizontalComponent,
|
|
164
164
|
deps: [],
|
|
@@ -166,7 +166,7 @@ var NavigationHorizontalComponent = class NavigationHorizontalComponent {
|
|
|
166
166
|
});
|
|
167
167
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
168
168
|
minVersion: "17.0.0",
|
|
169
|
-
version: "22.2.
|
|
169
|
+
version: "22.2.4",
|
|
170
170
|
type: NavigationHorizontalComponent,
|
|
171
171
|
isStandalone: true,
|
|
172
172
|
selector: "NavigationHorizontal",
|
|
@@ -449,7 +449,7 @@ var NavigationHorizontalComponent = class NavigationHorizontalComponent {
|
|
|
449
449
|
};
|
|
450
450
|
i0.ɵɵngDeclareClassMetadata({
|
|
451
451
|
minVersion: "12.0.0",
|
|
452
|
-
version: "22.2.
|
|
452
|
+
version: "22.2.4",
|
|
453
453
|
ngImport: i0,
|
|
454
454
|
type: NavigationHorizontalComponent,
|
|
455
455
|
decorators: [{
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { i as hasNavigationCountBadge, s as navigationDescendantBadgeSources, t as NavigationBadgeCountComponent } from "./ojiepermana-angular-navigation-navigation-badge-count.component-
|
|
1
|
+
import { i as hasNavigationCountBadge, s as navigationDescendantBadgeSources, t as NavigationBadgeCountComponent } from "./ojiepermana-angular-navigation-navigation-badge-count.component-BxWVj145.mjs";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import { Component, InjectionToken, computed, inject, input, output, signal } from "@angular/core";
|
|
4
4
|
import { ActivatedRoute, Router, RouterLink } from "@angular/router";
|
|
5
5
|
import { cn } from "@ojiepermana/angular/component/utils/core";
|
|
6
6
|
import { NAVIGATION_ADAPTER, NAVIGATION_ROUTE_CONTEXT_ADAPTER } from "@ojiepermana/angular/navigation/core";
|
|
7
7
|
import { NgTemplateOutlet } from "@angular/common";
|
|
8
|
-
import {
|
|
8
|
+
import { ChevronRight } from "lucide";
|
|
9
9
|
import { IconComponent, provideIcons } from "@ojiepermana/angular/component/icon";
|
|
10
10
|
import { TooltipDirective } from "@ojiepermana/angular/component/tooltip";
|
|
11
11
|
const NAVIGATION_SHELL = new InjectionToken("NAVIGATION_SHELL");
|
|
@@ -23,7 +23,7 @@ var NavigationItemBadgeComponent = class NavigationItemBadgeComponent {
|
|
|
23
23
|
}, ...ngDevMode ? [{ debugName: "source" }] : /* istanbul ignore next */ []);
|
|
24
24
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
25
25
|
minVersion: "12.0.0",
|
|
26
|
-
version: "22.2.
|
|
26
|
+
version: "22.2.4",
|
|
27
27
|
ngImport: i0,
|
|
28
28
|
type: NavigationItemBadgeComponent,
|
|
29
29
|
deps: [],
|
|
@@ -31,7 +31,7 @@ var NavigationItemBadgeComponent = class NavigationItemBadgeComponent {
|
|
|
31
31
|
});
|
|
32
32
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
33
33
|
minVersion: "17.0.0",
|
|
34
|
-
version: "22.2.
|
|
34
|
+
version: "22.2.4",
|
|
35
35
|
type: NavigationItemBadgeComponent,
|
|
36
36
|
isStandalone: true,
|
|
37
37
|
selector: "NavigationItemBadge",
|
|
@@ -102,7 +102,7 @@ var NavigationItemBadgeComponent = class NavigationItemBadgeComponent {
|
|
|
102
102
|
};
|
|
103
103
|
i0.ɵɵngDeclareClassMetadata({
|
|
104
104
|
minVersion: "12.0.0",
|
|
105
|
-
version: "22.2.
|
|
105
|
+
version: "22.2.4",
|
|
106
106
|
ngImport: i0,
|
|
107
107
|
type: NavigationItemBadgeComponent,
|
|
108
108
|
decorators: [{
|
|
@@ -193,7 +193,7 @@ var NavigationItemContentComponent = class NavigationItemContentComponent {
|
|
|
193
193
|
}
|
|
194
194
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
195
195
|
minVersion: "12.0.0",
|
|
196
|
-
version: "22.2.
|
|
196
|
+
version: "22.2.4",
|
|
197
197
|
ngImport: i0,
|
|
198
198
|
type: NavigationItemContentComponent,
|
|
199
199
|
deps: [],
|
|
@@ -201,7 +201,7 @@ var NavigationItemContentComponent = class NavigationItemContentComponent {
|
|
|
201
201
|
});
|
|
202
202
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
203
203
|
minVersion: "17.0.0",
|
|
204
|
-
version: "22.2.
|
|
204
|
+
version: "22.2.4",
|
|
205
205
|
type: NavigationItemContentComponent,
|
|
206
206
|
isStandalone: true,
|
|
207
207
|
selector: "NavigationItemContent",
|
|
@@ -343,7 +343,7 @@ var NavigationItemContentComponent = class NavigationItemContentComponent {
|
|
|
343
343
|
};
|
|
344
344
|
i0.ɵɵngDeclareClassMetadata({
|
|
345
345
|
minVersion: "12.0.0",
|
|
346
|
-
version: "22.2.
|
|
346
|
+
version: "22.2.4",
|
|
347
347
|
ngImport: i0,
|
|
348
348
|
type: NavigationItemContentComponent,
|
|
349
349
|
decorators: [{
|
|
@@ -627,7 +627,7 @@ var NavigationItemComponent = class NavigationItemComponent {
|
|
|
627
627
|
}
|
|
628
628
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
629
629
|
minVersion: "12.0.0",
|
|
630
|
-
version: "22.2.
|
|
630
|
+
version: "22.2.4",
|
|
631
631
|
ngImport: i0,
|
|
632
632
|
type: NavigationItemComponent,
|
|
633
633
|
deps: [],
|
|
@@ -635,7 +635,7 @@ var NavigationItemComponent = class NavigationItemComponent {
|
|
|
635
635
|
});
|
|
636
636
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
637
637
|
minVersion: "17.0.0",
|
|
638
|
-
version: "22.2.
|
|
638
|
+
version: "22.2.4",
|
|
639
639
|
type: NavigationItemComponent,
|
|
640
640
|
isStandalone: true,
|
|
641
641
|
selector: "li[NavigationItem]",
|
|
@@ -777,7 +777,11 @@ var NavigationItemComponent = class NavigationItemComponent {
|
|
|
777
777
|
"attr.data-navigation-item-key": "item().key",
|
|
778
778
|
"attr.aria-hidden": "item().type === \"spacer\" || item().type === \"divider\" ? \"true\" : null"
|
|
779
779
|
} },
|
|
780
|
-
providers: [provideIcons(
|
|
780
|
+
providers: [provideIcons({
|
|
781
|
+
name: "chevron-right",
|
|
782
|
+
size: 24,
|
|
783
|
+
node: ChevronRight
|
|
784
|
+
})],
|
|
781
785
|
ngImport: i0,
|
|
782
786
|
template: `
|
|
783
787
|
@switch (item().type) {
|
|
@@ -1116,7 +1120,7 @@ var NavigationItemComponent = class NavigationItemComponent {
|
|
|
1116
1120
|
};
|
|
1117
1121
|
i0.ɵɵngDeclareClassMetadata({
|
|
1118
1122
|
minVersion: "12.0.0",
|
|
1119
|
-
version: "22.2.
|
|
1123
|
+
version: "22.2.4",
|
|
1120
1124
|
ngImport: i0,
|
|
1121
1125
|
type: NavigationItemComponent,
|
|
1122
1126
|
decorators: [{
|
|
@@ -1131,7 +1135,11 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
1131
1135
|
RouterLink,
|
|
1132
1136
|
TooltipDirective
|
|
1133
1137
|
],
|
|
1134
|
-
providers: [provideIcons(
|
|
1138
|
+
providers: [provideIcons({
|
|
1139
|
+
name: "chevron-right",
|
|
1140
|
+
size: 24,
|
|
1141
|
+
node: ChevronRight
|
|
1142
|
+
})],
|
|
1135
1143
|
host: {
|
|
1136
1144
|
"[class]": "hostClasses()",
|
|
1137
1145
|
"[attr.role]": "hostRole()",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as NavigationItemComponent } from "./ojiepermana-angular-navigation-navigation-item.component-
|
|
1
|
+
import { t as NavigationItemComponent } from "./ojiepermana-angular-navigation-navigation-item.component-DlazoaD2.mjs";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import { Component, computed, input, output } from "@angular/core";
|
|
4
4
|
import { cn } from "@ojiepermana/angular/component/utils/core";
|
|
@@ -23,7 +23,7 @@ var NavigationListComponent = class NavigationListComponent {
|
|
|
23
23
|
listClasses = computed(() => cn(this.isCollapsed() ? "flex list-none flex-col items-center gap-0.5 p-0" : cn("flex list-none flex-col gap-0.5 p-0", this.position() === "right" && "items-end"), this.fill() && "flex-1"), ...ngDevMode ? [{ debugName: "listClasses" }] : /* istanbul ignore next */ []);
|
|
24
24
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
25
25
|
minVersion: "12.0.0",
|
|
26
|
-
version: "22.2.
|
|
26
|
+
version: "22.2.4",
|
|
27
27
|
ngImport: i0,
|
|
28
28
|
type: NavigationListComponent,
|
|
29
29
|
deps: [],
|
|
@@ -31,7 +31,7 @@ var NavigationListComponent = class NavigationListComponent {
|
|
|
31
31
|
});
|
|
32
32
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
33
33
|
minVersion: "17.0.0",
|
|
34
|
-
version: "22.2.
|
|
34
|
+
version: "22.2.4",
|
|
35
35
|
type: NavigationListComponent,
|
|
36
36
|
isStandalone: true,
|
|
37
37
|
selector: "NavigationList",
|
|
@@ -191,7 +191,7 @@ var NavigationListComponent = class NavigationListComponent {
|
|
|
191
191
|
};
|
|
192
192
|
i0.ɵɵngDeclareClassMetadata({
|
|
193
193
|
minVersion: "12.0.0",
|
|
194
|
-
version: "22.2.
|
|
194
|
+
version: "22.2.4",
|
|
195
195
|
ngImport: i0,
|
|
196
196
|
type: NavigationListComponent,
|
|
197
197
|
decorators: [{
|
|
@@ -534,7 +534,7 @@ var NavigationService = class NavigationService {
|
|
|
534
534
|
}
|
|
535
535
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
536
536
|
minVersion: "12.0.0",
|
|
537
|
-
version: "22.2.
|
|
537
|
+
version: "22.2.4",
|
|
538
538
|
ngImport: i0,
|
|
539
539
|
type: NavigationService,
|
|
540
540
|
deps: [],
|
|
@@ -542,14 +542,14 @@ var NavigationService = class NavigationService {
|
|
|
542
542
|
});
|
|
543
543
|
static ɵprov = i0.ɵɵngDeclareService({
|
|
544
544
|
minVersion: "22.0.0",
|
|
545
|
-
version: "22.2.
|
|
545
|
+
version: "22.2.4",
|
|
546
546
|
ngImport: i0,
|
|
547
547
|
type: NavigationService
|
|
548
548
|
});
|
|
549
549
|
};
|
|
550
550
|
i0.ɵɵngDeclareClassMetadata({
|
|
551
551
|
minVersion: "12.0.0",
|
|
552
|
-
version: "22.2.
|
|
552
|
+
version: "22.2.4",
|
|
553
553
|
ngImport: i0,
|
|
554
554
|
type: NavigationService,
|
|
555
555
|
decorators: [{ type: Service }],
|