@edsis/angular 21.1.27 → 21.2.3

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.
Files changed (32) hide show
  1. package/README.md +32 -39
  2. package/fesm2022/ojiepermana-angular-chart.mjs +72 -72
  3. package/fesm2022/ojiepermana-angular-chart.mjs.map +1 -1
  4. package/fesm2022/ojiepermana-angular-component.mjs +3490 -1785
  5. package/fesm2022/ojiepermana-angular-component.mjs.map +1 -1
  6. package/fesm2022/ojiepermana-angular-generator-api.mjs.map +1 -1
  7. package/fesm2022/ojiepermana-angular-layout.mjs +18 -18
  8. package/fesm2022/ojiepermana-angular-layout.mjs.map +1 -1
  9. package/fesm2022/ojiepermana-angular-navigation.mjs +81 -27
  10. package/fesm2022/ojiepermana-angular-navigation.mjs.map +1 -1
  11. package/fesm2022/ojiepermana-angular-theme.mjs +3 -3
  12. package/fesm2022/ojiepermana-angular-theme.mjs.map +1 -1
  13. package/fesm2022/ojiepermana-angular.mjs +0 -1
  14. package/fesm2022/ojiepermana-angular.mjs.map +1 -1
  15. package/generator/api/bin/schematics/ng-add/index.js +37 -14
  16. package/generator/guide/bin/src/engine/component.js +2 -1
  17. package/generator/guide/bin/src/engine/render.js +15 -2
  18. package/package.json +7 -17
  19. package/theme/styles/themes/tailwind.css +1 -1
  20. package/types/ojiepermana-angular-component.d.ts +636 -95
  21. package/types/ojiepermana-angular-navigation.d.ts +6 -1
  22. package/brand/etos/README.md +0 -273
  23. package/brand/etos/package.json +0 -4
  24. package/etos/styles/color.css +0 -73
  25. package/etos/styles/index.css +0 -7
  26. package/etos/styles/layout.css +0 -21
  27. package/etos/styles/package.css +0 -15
  28. package/etos/styles/style.css +0 -53
  29. package/fesm2022/ojiepermana-angular-brand-etos.mjs +0 -1060
  30. package/fesm2022/ojiepermana-angular-brand-etos.mjs.map +0 -1
  31. package/theme/styles/etos.css +0 -6
  32. package/types/ojiepermana-angular-brand-etos.d.ts +0 -162
@@ -197,10 +197,10 @@ class NavigationService {
197
197
  /* ignore */
198
198
  }
199
199
  }
200
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: NavigationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
201
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: NavigationService, providedIn: 'root' });
200
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: NavigationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
201
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: NavigationService, providedIn: 'root' });
202
202
  }
203
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: NavigationService, decorators: [{
203
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: NavigationService, decorators: [{
204
204
  type: Injectable,
205
205
  args: [{ providedIn: 'root' }]
206
206
  }], ctorParameters: () => [] });
@@ -240,10 +240,10 @@ class UiNavIconComponent {
240
240
  link.setAttribute(MATERIAL_SYMBOLS_FONT_ATTR, MATERIAL_SYMBOLS_FONT_ID);
241
241
  this.doc.head.appendChild(link);
242
242
  }
243
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: UiNavIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
244
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.13", type: UiNavIconComponent, isStandalone: true, selector: "ui-nav-icon", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "aria-hidden": "true", "translate": "no" }, properties: { "class": "classes()", "style.font-size.px": "size()", "style.font-variation-settings": "fontVariationSettings" } }, ngImport: i0, template: `{{ name() }}`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
243
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: UiNavIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
244
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.14", type: UiNavIconComponent, isStandalone: true, selector: "ui-nav-icon", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "aria-hidden": "true", "translate": "no" }, properties: { "class": "classes()", "style.font-size.px": "size()", "style.font-variation-settings": "fontVariationSettings" } }, ngImport: i0, template: `{{ name() }}`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
245
245
  }
246
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: UiNavIconComponent, decorators: [{
246
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: UiNavIconComponent, decorators: [{
247
247
  type: Component,
248
248
  args: [{
249
249
  selector: 'ui-nav-icon',
@@ -277,6 +277,9 @@ class UiNavItemComponent {
277
277
  level = input(0, ...(ngDevMode ? [{ debugName: "level" }] : /* istanbul ignore next */ []));
278
278
  /** Compact / icon-only rendering (sidebar `thin`). */
279
279
  compact = input(false, ...(ngDevMode ? [{ debugName: "compact" }] : /* istanbul ignore next */ []));
280
+ /** True when this branch sits inside a collapsable rail and can draw a connector back to it. */
281
+ railConnector = input(false, ...(ngDevMode ? [{ debugName: "railConnector" }] : /* istanbul ignore next */ []));
282
+ railConnectorDotClasses = 'pointer-events-none absolute -left-[11px] top-1/2 z-10 h-1 w-1 -translate-x-1/2 -translate-y-1/2 rounded-full bg-foreground/80';
280
283
  exactMatch = {
281
284
  exact: true,
282
285
  paths: 'exact',
@@ -312,6 +315,15 @@ class UiNavItemComponent {
312
315
  isTrailActive() {
313
316
  return this.nav.isActive(this.item().id);
314
317
  }
318
+ railConnectorClasses(active) {
319
+ if (!active || !this.railConnector())
320
+ return '';
321
+ return ('relative after:pointer-events-none after:absolute after:-left-3 after:top-1/2 after:z-0 after:h-px ' +
322
+ "after:w-3 after:-translate-y-1/2 after:rounded-full after:bg-primary/30 after:content-['']");
323
+ }
324
+ showRailConnector(active) {
325
+ return active && this.railConnector();
326
+ }
315
327
  toggleGroup() {
316
328
  const id = this.item().id;
317
329
  if (id)
@@ -323,8 +335,8 @@ class UiNavItemComponent {
323
335
  item.action(item);
324
336
  }
325
337
  }
326
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: UiNavItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
327
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: UiNavItemComponent, isStandalone: true, selector: "ui-nav-item", inputs: { item: { classPropertyName: "item", publicName: "item", isSignal: true, isRequired: true, transformFunction: null }, level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null }, compact: { classPropertyName: "compact", publicName: "compact", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
338
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: UiNavItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
339
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: UiNavItemComponent, isStandalone: true, selector: "ui-nav-item", inputs: { item: { classPropertyName: "item", publicName: "item", isSignal: true, isRequired: true, transformFunction: null }, level: { classPropertyName: "level", publicName: "level", isSignal: true, isRequired: false, transformFunction: null }, compact: { classPropertyName: "compact", publicName: "compact", isSignal: true, isRequired: false, transformFunction: null }, railConnector: { classPropertyName: "railConnector", publicName: "railConnector", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
328
340
  @switch (type()) {
329
341
  @case ('divider') {
330
342
  <hr class="my-2 border-t border-border" role="separator" />
@@ -343,7 +355,11 @@ class UiNavItemComponent {
343
355
  }
344
356
  <div class="flex flex-col gap-0.5">
345
357
  @for (child of groupItem().children; track child.id) {
346
- <ui-nav-item [item]="child" [level]="level() + 1" [compact]="compact()" />
358
+ <ui-nav-item
359
+ [item]="child"
360
+ [level]="level() + 1"
361
+ [compact]="compact()"
362
+ [railConnector]="railConnector()" />
347
363
  }
348
364
  </div>
349
365
  </div>
@@ -351,12 +367,14 @@ class UiNavItemComponent {
351
367
  @case ('collapsable') {
352
368
  @let id = collapsableItem().id ?? '';
353
369
  @let open = isGroupOpen();
370
+ @let active = isTrailActive();
354
371
  <button
355
372
  type="button"
356
373
  [class]="
357
374
  cn(
358
375
  'ui-nav-text ui-nav-hover-surface group/ni flex w-full items-center gap-3 rounded p-3 text-foreground/80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring',
359
- isTrailActive() && 'text-primary',
376
+ active && 'text-primary',
377
+ railConnectorClasses(active),
360
378
  item().classes?.wrapper
361
379
  )
362
380
  "
@@ -367,6 +385,9 @@ class UiNavItemComponent {
367
385
  matTooltipPosition="right"
368
386
  [matTooltipDisabled]="!compact()"
369
387
  (click)="toggleGroup()">
388
+ @if (showRailConnector(active)) {
389
+ <span aria-hidden="true" data-nav-rail-dot [class]="railConnectorDotClasses"></span>
390
+ }
370
391
  @if (collapsableItem().icon) {
371
392
  <span
372
393
  [class]="
@@ -397,7 +418,7 @@ class UiNavItemComponent {
397
418
  role="region"
398
419
  class="relative ml-6.5 mt-0.5 flex flex-col gap-0.5 pl-3 before:absolute before:bottom-0 before:left-0 before:-top-3.5 before:w-px before:bg-primary/30 before:content-['']">
399
420
  @for (child of collapsableItem().children; track child.id) {
400
- <ui-nav-item [item]="child" [level]="level() + 1" [compact]="false" />
421
+ <ui-nav-item [item]="child" [level]="level() + 1" [compact]="false" [railConnector]="true" />
401
422
  }
402
423
  </div>
403
424
  }
@@ -412,7 +433,11 @@ class UiNavItemComponent {
412
433
  }
413
434
  <div class="flex flex-col gap-0.5">
414
435
  @for (child of megaItem().children; track child.id) {
415
- <ui-nav-item [item]="child" [level]="level() + 1" [compact]="compact()" />
436
+ <ui-nav-item
437
+ [item]="child"
438
+ [level]="level() + 1"
439
+ [compact]="compact()"
440
+ [railConnector]="railConnector()" />
416
441
  }
417
442
  </div>
418
443
  </div>
@@ -422,6 +447,7 @@ class UiNavItemComponent {
422
447
  [class]="
423
448
  cn(
424
449
  'ui-nav-text ui-nav-hover-surface flex items-center gap-3 rounded px-3 py-2 text-foreground/80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring aria-[current=page]:text-primary',
450
+ railConnectorClasses(rla.isActive),
425
451
  item().classes?.wrapper
426
452
  )
427
453
  "
@@ -435,6 +461,9 @@ class UiNavItemComponent {
435
461
  [matTooltip]="compact() ? (asideItem().title ?? '') : ''"
436
462
  matTooltipPosition="right"
437
463
  [matTooltipDisabled]="!compact()">
464
+ @if (showRailConnector(rla.isActive)) {
465
+ <span aria-hidden="true" data-nav-rail-dot [class]="railConnectorDotClasses"></span>
466
+ }
438
467
  @if (asideItem().icon) {
439
468
  <ui-nav-icon [name]="asideItem().icon!" [size]="18" />
440
469
  }
@@ -450,6 +479,7 @@ class UiNavItemComponent {
450
479
  [class]="
451
480
  cn(
452
481
  'ui-nav-text ui-nav-hover-surface flex items-center gap-3 rounded px-3 py-2 text-foreground/80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring aria-[current=page]:text-primary aria-disabled:pointer-events-none aria-disabled:opacity-50',
482
+ railConnectorClasses(rla.isActive),
453
483
  item().classes?.wrapper
454
484
  )
455
485
  "
@@ -470,6 +500,9 @@ class UiNavItemComponent {
470
500
  [preserveFragment]="basicItem().preserveFragment ?? false"
471
501
  [target]="basicItem().target ?? undefined"
472
502
  (click)="runAction()">
503
+ @if (showRailConnector(rla.isActive)) {
504
+ <span aria-hidden="true" data-nav-rail-dot [class]="railConnectorDotClasses"></span>
505
+ }
473
506
  @if (basicItem().icon) {
474
507
  <ui-nav-icon [name]="basicItem().icon!" [size]="18" [class]="item().classes?.icon ?? ''" />
475
508
  }
@@ -525,9 +558,9 @@ class UiNavItemComponent {
525
558
  }
526
559
  }
527
560
  }
528
- `, isInline: true, dependencies: [{ kind: "component", type: UiNavItemComponent, selector: "ui-nav-item", inputs: ["item", "level", "compact"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: UiNavIconComponent, selector: "ui-nav-icon", inputs: ["name", "class", "size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
561
+ `, isInline: true, dependencies: [{ kind: "component", type: UiNavItemComponent, selector: "ui-nav-item", inputs: ["item", "level", "compact", "railConnector"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "component", type: UiNavIconComponent, selector: "ui-nav-icon", inputs: ["name", "class", "size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
529
562
  }
530
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: UiNavItemComponent, decorators: [{
563
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: UiNavItemComponent, decorators: [{
531
564
  type: Component,
532
565
  args: [{
533
566
  selector: 'ui-nav-item',
@@ -552,7 +585,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
552
585
  }
553
586
  <div class="flex flex-col gap-0.5">
554
587
  @for (child of groupItem().children; track child.id) {
555
- <ui-nav-item [item]="child" [level]="level() + 1" [compact]="compact()" />
588
+ <ui-nav-item
589
+ [item]="child"
590
+ [level]="level() + 1"
591
+ [compact]="compact()"
592
+ [railConnector]="railConnector()" />
556
593
  }
557
594
  </div>
558
595
  </div>
@@ -560,12 +597,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
560
597
  @case ('collapsable') {
561
598
  @let id = collapsableItem().id ?? '';
562
599
  @let open = isGroupOpen();
600
+ @let active = isTrailActive();
563
601
  <button
564
602
  type="button"
565
603
  [class]="
566
604
  cn(
567
605
  'ui-nav-text ui-nav-hover-surface group/ni flex w-full items-center gap-3 rounded p-3 text-foreground/80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring',
568
- isTrailActive() && 'text-primary',
606
+ active && 'text-primary',
607
+ railConnectorClasses(active),
569
608
  item().classes?.wrapper
570
609
  )
571
610
  "
@@ -576,6 +615,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
576
615
  matTooltipPosition="right"
577
616
  [matTooltipDisabled]="!compact()"
578
617
  (click)="toggleGroup()">
618
+ @if (showRailConnector(active)) {
619
+ <span aria-hidden="true" data-nav-rail-dot [class]="railConnectorDotClasses"></span>
620
+ }
579
621
  @if (collapsableItem().icon) {
580
622
  <span
581
623
  [class]="
@@ -606,7 +648,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
606
648
  role="region"
607
649
  class="relative ml-6.5 mt-0.5 flex flex-col gap-0.5 pl-3 before:absolute before:bottom-0 before:left-0 before:-top-3.5 before:w-px before:bg-primary/30 before:content-['']">
608
650
  @for (child of collapsableItem().children; track child.id) {
609
- <ui-nav-item [item]="child" [level]="level() + 1" [compact]="false" />
651
+ <ui-nav-item [item]="child" [level]="level() + 1" [compact]="false" [railConnector]="true" />
610
652
  }
611
653
  </div>
612
654
  }
@@ -621,7 +663,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
621
663
  }
622
664
  <div class="flex flex-col gap-0.5">
623
665
  @for (child of megaItem().children; track child.id) {
624
- <ui-nav-item [item]="child" [level]="level() + 1" [compact]="compact()" />
666
+ <ui-nav-item
667
+ [item]="child"
668
+ [level]="level() + 1"
669
+ [compact]="compact()"
670
+ [railConnector]="railConnector()" />
625
671
  }
626
672
  </div>
627
673
  </div>
@@ -631,6 +677,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
631
677
  [class]="
632
678
  cn(
633
679
  'ui-nav-text ui-nav-hover-surface flex items-center gap-3 rounded px-3 py-2 text-foreground/80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring aria-[current=page]:text-primary',
680
+ railConnectorClasses(rla.isActive),
634
681
  item().classes?.wrapper
635
682
  )
636
683
  "
@@ -644,6 +691,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
644
691
  [matTooltip]="compact() ? (asideItem().title ?? '') : ''"
645
692
  matTooltipPosition="right"
646
693
  [matTooltipDisabled]="!compact()">
694
+ @if (showRailConnector(rla.isActive)) {
695
+ <span aria-hidden="true" data-nav-rail-dot [class]="railConnectorDotClasses"></span>
696
+ }
647
697
  @if (asideItem().icon) {
648
698
  <ui-nav-icon [name]="asideItem().icon!" [size]="18" />
649
699
  }
@@ -659,6 +709,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
659
709
  [class]="
660
710
  cn(
661
711
  'ui-nav-text ui-nav-hover-surface flex items-center gap-3 rounded px-3 py-2 text-foreground/80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring aria-[current=page]:text-primary aria-disabled:pointer-events-none aria-disabled:opacity-50',
712
+ railConnectorClasses(rla.isActive),
662
713
  item().classes?.wrapper
663
714
  )
664
715
  "
@@ -679,6 +730,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
679
730
  [preserveFragment]="basicItem().preserveFragment ?? false"
680
731
  [target]="basicItem().target ?? undefined"
681
732
  (click)="runAction()">
733
+ @if (showRailConnector(rla.isActive)) {
734
+ <span aria-hidden="true" data-nav-rail-dot [class]="railConnectorDotClasses"></span>
735
+ }
682
736
  @if (basicItem().icon) {
683
737
  <ui-nav-icon [name]="basicItem().icon!" [size]="18" [class]="item().classes?.icon ?? ''" />
684
738
  }
@@ -736,7 +790,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImpo
736
790
  }
737
791
  `,
738
792
  }]
739
- }], propDecorators: { item: [{ type: i0.Input, args: [{ isSignal: true, alias: "item", required: true }] }], level: [{ type: i0.Input, args: [{ isSignal: true, alias: "level", required: false }] }], compact: [{ type: i0.Input, args: [{ isSignal: true, alias: "compact", required: false }] }] } });
793
+ }], propDecorators: { item: [{ type: i0.Input, args: [{ isSignal: true, alias: "item", required: true }] }], level: [{ type: i0.Input, args: [{ isSignal: true, alias: "level", required: false }] }], compact: [{ type: i0.Input, args: [{ isSignal: true, alias: "compact", required: false }] }], railConnector: [{ type: i0.Input, args: [{ isSignal: true, alias: "railConnector", required: false }] }] } });
740
794
 
741
795
  /**
742
796
  * Vertical navigation (sidebar) — shadcn-styled.
@@ -963,8 +1017,8 @@ class SidebarComponent {
963
1017
  this.previouslyFocused?.focus?.();
964
1018
  this.previouslyFocused = null;
965
1019
  }
966
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: SidebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
967
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: SidebarComponent, isStandalone: true, selector: "sidebar", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, navigationId: { classPropertyName: "navigationId", publicName: "navigationId", isSignal: true, isRequired: false, transformFunction: null }, appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, borderSource: { classPropertyName: "borderSource", publicName: "borderSource", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, autoMobile: { classPropertyName: "autoMobile", publicName: "autoMobile", isSignal: true, isRequired: false, transformFunction: null }, autoRegister: { classPropertyName: "autoRegister", publicName: "autoRegister", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "navigation" }, listeners: { "mouseenter": "onHoverEnter()", "mouseleave": "onHoverLeave()", "focusin": "onHoverEnter()", "click": "onHostClick($event)" }, properties: { "attr.aria-label": "ariaLabel()", "class": "hostClasses()", "attr.data-appearance": "resolvedAppearance()", "attr.data-position": "position()", "attr.data-expanded": "isExpanded()", "hidden": "isMobile()" } }, viewQueries: [{ propertyName: "drawerTpl", first: true, predicate: ["drawerTpl"], descendants: true, isSignal: true }], ngImport: i0, template: `
1020
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: SidebarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1021
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: SidebarComponent, isStandalone: true, selector: "sidebar", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, navigationId: { classPropertyName: "navigationId", publicName: "navigationId", isSignal: true, isRequired: false, transformFunction: null }, appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, borderSource: { classPropertyName: "borderSource", publicName: "borderSource", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, autoMobile: { classPropertyName: "autoMobile", publicName: "autoMobile", isSignal: true, isRequired: false, transformFunction: null }, autoRegister: { classPropertyName: "autoRegister", publicName: "autoRegister", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "navigation" }, listeners: { "mouseenter": "onHoverEnter()", "mouseleave": "onHoverLeave()", "focusin": "onHoverEnter()", "click": "onHostClick($event)" }, properties: { "attr.aria-label": "ariaLabel()", "class": "hostClasses()", "attr.data-appearance": "resolvedAppearance()", "attr.data-position": "position()", "attr.data-expanded": "isExpanded()", "hidden": "isMobile()" } }, viewQueries: [{ propertyName: "drawerTpl", first: true, predicate: ["drawerTpl"], descendants: true, isSignal: true }], ngImport: i0, template: `
968
1022
  <div [class]="innerClasses()">
969
1023
  <ng-container [ngTemplateOutlet]="body" />
970
1024
  </div>
@@ -1015,9 +1069,9 @@ class SidebarComponent {
1015
1069
  <ng-container [ngTemplateOutlet]="body" />
1016
1070
  </div>
1017
1071
  </ng-template>
1018
- `, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ScrollAreaComponent, selector: "ui-scroll-area", inputs: ["class", "viewportClass"] }, { kind: "component", type: UiNavIconComponent, selector: "ui-nav-icon", inputs: ["name", "class", "size"] }, { kind: "component", type: UiNavItemComponent, selector: "ui-nav-item", inputs: ["item", "level", "compact"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1072
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ScrollAreaComponent, selector: "ui-scroll-area", inputs: ["class", "viewportClass", "viewportAriaLabel", "viewportTabIndex"] }, { kind: "component", type: UiNavIconComponent, selector: "ui-nav-icon", inputs: ["name", "class", "size"] }, { kind: "component", type: UiNavItemComponent, selector: "ui-nav-item", inputs: ["item", "level", "compact", "railConnector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1019
1073
  }
1020
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: SidebarComponent, decorators: [{
1074
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: SidebarComponent, decorators: [{
1021
1075
  type: Component,
1022
1076
  args: [{
1023
1077
  selector: 'sidebar',
@@ -1277,8 +1331,8 @@ class TopbarComponent {
1277
1331
  const items = this.collectPanelFocusables(panel);
1278
1332
  items[0]?.focus();
1279
1333
  }
1280
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: TopbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1281
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.13", type: TopbarComponent, isStandalone: true, selector: "topbar", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, navigationId: { classPropertyName: "navigationId", publicName: "navigationId", isSignal: true, isRequired: false, transformFunction: null }, appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, autoRegister: { classPropertyName: "autoRegister", publicName: "autoRegister", isSignal: true, isRequired: false, transformFunction: null }, showHamburger: { classPropertyName: "showHamburger", publicName: "showHamburger", isSignal: true, isRequired: false, transformFunction: null }, hamburgerLabel: { classPropertyName: "hamburgerLabel", publicName: "hamburgerLabel", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "navigation" }, properties: { "attr.aria-label": "ariaLabel()", "class": "hostClasses()", "attr.data-appearance": "appearance()" } }, viewQueries: [{ propertyName: "dropdownTpl", first: true, predicate: ["dropdownTpl"], descendants: true, isSignal: true }], ngImport: i0, template: `
1334
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: TopbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1335
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.14", type: TopbarComponent, isStandalone: true, selector: "topbar", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, navigationId: { classPropertyName: "navigationId", publicName: "navigationId", isSignal: true, isRequired: false, transformFunction: null }, appearance: { classPropertyName: "appearance", publicName: "appearance", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, class: { classPropertyName: "class", publicName: "class", isSignal: true, isRequired: false, transformFunction: null }, autoRegister: { classPropertyName: "autoRegister", publicName: "autoRegister", isSignal: true, isRequired: false, transformFunction: null }, showHamburger: { classPropertyName: "showHamburger", publicName: "showHamburger", isSignal: true, isRequired: false, transformFunction: null }, hamburgerLabel: { classPropertyName: "hamburgerLabel", publicName: "hamburgerLabel", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "role": "navigation" }, properties: { "attr.aria-label": "ariaLabel()", "class": "hostClasses()", "attr.data-appearance": "appearance()" } }, viewQueries: [{ propertyName: "dropdownTpl", first: true, predicate: ["dropdownTpl"], descendants: true, isSignal: true }], ngImport: i0, template: `
1282
1336
  <div class="flex h-full w-full items-center gap-3 px-1">
1283
1337
  <div data-topbar-slot="start" class="flex shrink-0 items-center gap-2">
1284
1338
  @if (showHamburger()) {
@@ -1381,9 +1435,9 @@ class TopbarComponent {
1381
1435
  }
1382
1436
  </div>
1383
1437
  </ng-template>
1384
- `, isInline: true, dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "component", type: UiNavIconComponent, selector: "ui-nav-icon", inputs: ["name", "class", "size"] }, { kind: "component", type: UiNavItemComponent, selector: "ui-nav-item", inputs: ["item", "level", "compact"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1438
+ `, isInline: true, dependencies: [{ kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "component", type: UiNavIconComponent, selector: "ui-nav-icon", inputs: ["name", "class", "size"] }, { kind: "component", type: UiNavItemComponent, selector: "ui-nav-item", inputs: ["item", "level", "compact", "railConnector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1385
1439
  }
1386
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.13", ngImport: i0, type: TopbarComponent, decorators: [{
1440
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: TopbarComponent, decorators: [{
1387
1441
  type: Component,
1388
1442
  args: [{
1389
1443
  selector: 'topbar',