@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.
Files changed (102) hide show
  1. package/fesm2022/ojiepermana-angular-chart-area.mjs +3 -3
  2. package/fesm2022/ojiepermana-angular-chart-bar.mjs +3 -3
  3. package/fesm2022/ojiepermana-angular-chart-core.mjs +33 -33
  4. package/fesm2022/ojiepermana-angular-chart-line.mjs +3 -3
  5. package/fesm2022/ojiepermana-angular-chart-pie.mjs +3 -3
  6. package/fesm2022/ojiepermana-angular-chart-primitives.mjs +33 -33
  7. package/fesm2022/ojiepermana-angular-chart-radar.mjs +3 -3
  8. package/fesm2022/ojiepermana-angular-chart-radial.mjs +3 -3
  9. package/fesm2022/ojiepermana-angular-chart-scatter.mjs +3 -3
  10. package/fesm2022/ojiepermana-angular-component-accordion.mjs +15 -15
  11. package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs +27 -27
  12. package/fesm2022/ojiepermana-angular-component-alert.mjs +12 -12
  13. package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs +3 -3
  14. package/fesm2022/ojiepermana-angular-component-avatar.mjs +18 -18
  15. package/fesm2022/ojiepermana-angular-component-badge.mjs +3 -3
  16. package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs +21 -21
  17. package/fesm2022/ojiepermana-angular-component-button-group.mjs +9 -9
  18. package/fesm2022/ojiepermana-angular-component-button.mjs +3 -3
  19. package/fesm2022/ojiepermana-angular-component-calendar.mjs +3 -3
  20. package/fesm2022/ojiepermana-angular-component-card.mjs +21 -21
  21. package/fesm2022/ojiepermana-angular-component-carousel.mjs +18 -18
  22. package/fesm2022/ojiepermana-angular-component-checkbox.mjs +3 -3
  23. package/fesm2022/ojiepermana-angular-component-collapsible.mjs +12 -12
  24. package/fesm2022/ojiepermana-angular-component-combobox.mjs +3 -3
  25. package/fesm2022/ojiepermana-angular-component-command.mjs +27 -27
  26. package/fesm2022/ojiepermana-angular-component-composer.mjs +21 -21
  27. package/fesm2022/ojiepermana-angular-component-context-menu.mjs +3 -3
  28. package/fesm2022/ojiepermana-angular-component-date-picker.mjs +3 -3
  29. package/fesm2022/ojiepermana-angular-component-dialog.mjs +21 -21
  30. package/fesm2022/ojiepermana-angular-component-drawer.mjs +1 -2
  31. package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs +39 -39
  32. package/fesm2022/ojiepermana-angular-component-editor.mjs +18 -18
  33. package/fesm2022/ojiepermana-angular-component-empty.mjs +18 -18
  34. package/fesm2022/ojiepermana-angular-component-form.mjs +36 -36
  35. package/fesm2022/ojiepermana-angular-component-hover-card.mjs +9 -9
  36. package/fesm2022/ojiepermana-angular-component-icon.mjs +6 -6
  37. package/fesm2022/ojiepermana-angular-component-input-group.mjs +18 -18
  38. package/fesm2022/ojiepermana-angular-component-input-otp.mjs +15 -15
  39. package/fesm2022/ojiepermana-angular-component-input.mjs +3 -3
  40. package/fesm2022/ojiepermana-angular-component-item.mjs +30 -30
  41. package/fesm2022/ojiepermana-angular-component-kanban.mjs +27 -27
  42. package/fesm2022/ojiepermana-angular-component-kbd.mjs +6 -6
  43. package/fesm2022/ojiepermana-angular-component-label.mjs +3 -3
  44. package/fesm2022/ojiepermana-angular-component-menubar.mjs +12 -12
  45. package/fesm2022/ojiepermana-angular-component-native-select.mjs +9 -9
  46. package/fesm2022/ojiepermana-angular-component-navigation-menu.mjs +21 -21
  47. package/fesm2022/ojiepermana-angular-component-pagination.mjs +3 -3
  48. package/fesm2022/ojiepermana-angular-component-pillbox.mjs +15 -15
  49. package/fesm2022/ojiepermana-angular-component-popover.mjs +6 -6
  50. package/fesm2022/ojiepermana-angular-component-progress.mjs +3 -3
  51. package/fesm2022/ojiepermana-angular-component-radio.mjs +6 -6
  52. package/fesm2022/ojiepermana-angular-component-resizable.mjs +12 -12
  53. package/fesm2022/ojiepermana-angular-component-scroll-area.mjs +3 -3
  54. package/fesm2022/ojiepermana-angular-component-segmented-control.mjs +3 -3
  55. package/fesm2022/ojiepermana-angular-component-select.mjs +6 -6
  56. package/fesm2022/ojiepermana-angular-component-separator.mjs +3 -3
  57. package/fesm2022/ojiepermana-angular-component-sheet.mjs +21 -21
  58. package/fesm2022/ojiepermana-angular-component-skeleton.mjs +3 -3
  59. package/fesm2022/ojiepermana-angular-component-slider.mjs +6 -6
  60. package/fesm2022/ojiepermana-angular-component-spinner.mjs +3 -3
  61. package/fesm2022/ojiepermana-angular-component-switch.mjs +3 -3
  62. package/fesm2022/ojiepermana-angular-component-table.mjs +24 -24
  63. package/fesm2022/ojiepermana-angular-component-tabs.mjs +18 -18
  64. package/fesm2022/ojiepermana-angular-component-textarea.mjs +3 -3
  65. package/fesm2022/ojiepermana-angular-component-timeline.mjs +18 -18
  66. package/fesm2022/ojiepermana-angular-component-toast.mjs +3 -3
  67. package/fesm2022/ojiepermana-angular-component-toggle-group.mjs +9 -9
  68. package/fesm2022/ojiepermana-angular-component-toggle.mjs +3 -3
  69. package/fesm2022/ojiepermana-angular-component-tooltip.mjs +15 -15
  70. package/fesm2022/ojiepermana-angular-component-utils-scale.mjs +3 -3
  71. package/fesm2022/ojiepermana-angular-navigation-icon.mjs +3 -3
  72. package/fesm2022/{ojiepermana-angular-navigation-navigation-badge-count.component-BKCeWzml.mjs → ojiepermana-angular-navigation-navigation-badge-count.component-DYuysKVf.mjs} +3 -3
  73. package/fesm2022/{ojiepermana-angular-navigation-navigation-dockbar-menu.component-DFEJK2jD.mjs → ojiepermana-angular-navigation-navigation-dockbar-menu.component-COiTaw34.mjs} +7 -6
  74. package/fesm2022/{ojiepermana-angular-navigation-navigation-entry-grid.component-mpK9Ar08.mjs → ojiepermana-angular-navigation-navigation-entry-grid.component-YIz0IsIb.mjs} +27 -46
  75. package/fesm2022/{ojiepermana-angular-navigation-navigation-flyout-menu.component-BPgH7FJk.mjs → ojiepermana-angular-navigation-navigation-flyout-menu.component-D2vwEwBY.mjs} +5 -5
  76. package/fesm2022/{ojiepermana-angular-navigation-navigation-horizontal.component-DMpYcD9t.mjs → ojiepermana-angular-navigation-navigation-horizontal.component-B5D7yXfb.mjs} +5 -5
  77. package/fesm2022/{ojiepermana-angular-navigation-navigation-item.component-Basp5SIk.mjs → ojiepermana-angular-navigation-navigation-item.component-CUb68MZH.mjs} +27 -36
  78. package/fesm2022/{ojiepermana-angular-navigation-navigation-list.component-YUzHI9Pj.mjs → ojiepermana-angular-navigation-navigation-list.component-CrK16trj.mjs} +22 -6
  79. package/fesm2022/ojiepermana-angular-navigation-service.mjs +6 -4
  80. package/fesm2022/ojiepermana-angular-navigation-types.mjs +113 -1
  81. package/fesm2022/ojiepermana-angular-navigation.mjs +271 -67
  82. package/fesm2022/ojiepermana-angular-theme-component-settings.mjs +29 -19
  83. package/fesm2022/ojiepermana-angular-theme-layout-services.mjs +6 -6
  84. package/fesm2022/ojiepermana-angular-theme-layout-wrapper.mjs +239 -31
  85. package/fesm2022/ojiepermana-angular-theme-layout.mjs +24 -24
  86. package/fesm2022/ojiepermana-angular-theme-page-core.mjs +3 -3
  87. package/fesm2022/ojiepermana-angular-theme-page-filter.mjs +6 -6
  88. package/fesm2022/ojiepermana-angular-theme-page-overview.mjs +3 -3
  89. package/fesm2022/ojiepermana-angular-theme-page-root.mjs +3 -3
  90. package/fesm2022/ojiepermana-angular-theme-page-side.mjs +6 -6
  91. package/fesm2022/ojiepermana-angular-theme-page-slots.mjs +12 -12
  92. package/fesm2022/ojiepermana-angular-theme-shell-services.mjs +3 -3
  93. package/fesm2022/ojiepermana-angular-theme-shell.mjs +9 -9
  94. package/fesm2022/ojiepermana-angular-theme-styles.mjs +15 -15
  95. package/navigation/README.md +68 -17
  96. package/package.json +2 -2
  97. package/types/ojiepermana-angular-component-card.d.ts +1 -1
  98. package/types/ojiepermana-angular-component-command.d.ts +1 -1
  99. package/types/ojiepermana-angular-navigation-types.d.ts +47 -2
  100. package/types/ojiepermana-angular-navigation.d.ts +47 -3
  101. package/types/ojiepermana-angular-theme-component-settings.d.ts +5 -3
  102. package/types/ojiepermana-angular-theme-layout-wrapper.d.ts +48 -1
@@ -1,12 +1,13 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import { Component, Service, booleanAttribute, computed, effect, inject, input, model, output, signal, viewChild } from "@angular/core";
3
- import { NavigationAsideFooterDirective, NavigationContainerComponent, NavigationDockbarComponent, NavigationFlyoutComponent, NavigationFooterActionComponent, NavigationFooterComponent, NavigationFooterInitialComponent, NavigationFooterTitleComponent, NavigationHeaderComponent, NavigationHeaderInitialComponent, NavigationHeaderTitleComponent, NavigationNavbarComponent, NavigationSidebarComponent } from "@ojiepermana/angular/navigation";
3
+ import { NavigationAsideFooterDirective, NavigationContainerComponent, NavigationDockbarComponent, NavigationFlyoutComponent, NavigationFooterActionComponent, NavigationFooterComponent, NavigationFooterInitialComponent, NavigationFooterTitleComponent, NavigationHeaderComponent, NavigationHeaderInitialComponent, NavigationHeaderTitleComponent, NavigationMinidockComponent, NavigationNavbarComponent, NavigationSidebarComponent } from "@ojiepermana/angular/navigation";
4
4
  import { IconComponent } from "@ojiepermana/angular/component/icon";
5
5
  import { ThemeSettingsComponent } from "@ojiepermana/angular/theme/component/settings";
6
6
  import { DOCUMENT, NgTemplateOutlet } from "@angular/common";
7
7
  import { cn } from "@ojiepermana/angular/component/utils/core";
8
8
  import { LayoutComponent, LayoutContentComponent, LayoutEmptyComponent, LayoutFluidComponent, LayoutHorizontalComponent, LayoutNavigationComponent, LayoutVerticalComponent } from "@ojiepermana/angular/theme/layout";
9
9
  import { LAYOUT_DEFAULT_APPEARANCE, LAYOUT_DEFAULT_SURFACE, LAYOUT_DEFAULT_TYPE, LAYOUT_DEFAULT_WIDTH } from "@ojiepermana/angular/theme/layout/types";
10
+ import { toMinidockItems } from "@ojiepermana/angular/navigation/types";
10
11
  import { NAVIGATION_ADAPTER } from "@ojiepermana/angular/navigation/core";
11
12
  const LAYOUT_DESKTOP_NAVIGATION_DATA_ID = "__layout-desktop-navigation";
12
13
  var LayoutIdentityService = class LayoutIdentityService {
@@ -22,7 +23,7 @@ var LayoutIdentityService = class LayoutIdentityService {
22
23
  }
23
24
  static ɵfac = i0.ɵɵngDeclareFactory({
24
25
  minVersion: "12.0.0",
25
- version: "22.2.0",
26
+ version: "22.2.2",
26
27
  ngImport: i0,
27
28
  type: LayoutIdentityService,
28
29
  deps: [],
@@ -30,14 +31,14 @@ var LayoutIdentityService = class LayoutIdentityService {
30
31
  });
31
32
  static ɵprov = i0.ɵɵngDeclareService({
32
33
  minVersion: "22.0.0",
33
- version: "22.2.0",
34
+ version: "22.2.2",
34
35
  ngImport: i0,
35
36
  type: LayoutIdentityService
36
37
  });
37
38
  };
38
39
  i0.ɵɵngDeclareClassMetadata({
39
40
  minVersion: "12.0.0",
40
- version: "22.2.0",
41
+ version: "22.2.2",
41
42
  ngImport: i0,
42
43
  type: LayoutIdentityService,
43
44
  decorators: [{ type: Service }]
@@ -50,7 +51,7 @@ var LayoutBrand = class LayoutBrand {
50
51
  });
51
52
  static ɵfac = i0.ɵɵngDeclareFactory({
52
53
  minVersion: "12.0.0",
53
- version: "22.2.0",
54
+ version: "22.2.2",
54
55
  ngImport: i0,
55
56
  type: LayoutBrand,
56
57
  deps: [],
@@ -58,7 +59,7 @@ var LayoutBrand = class LayoutBrand {
58
59
  });
59
60
  static ɵcmp = i0.ɵɵngDeclareComponent({
60
61
  minVersion: "17.0.0",
61
- version: "22.2.0",
62
+ version: "22.2.2",
62
63
  type: LayoutBrand,
63
64
  isStandalone: true,
64
65
  selector: "LayoutBrand",
@@ -113,7 +114,7 @@ var LayoutBrand = class LayoutBrand {
113
114
  };
114
115
  i0.ɵɵngDeclareClassMetadata({
115
116
  minVersion: "12.0.0",
116
- version: "22.2.0",
117
+ version: "22.2.2",
117
118
  ngImport: i0,
118
119
  type: LayoutBrand,
119
120
  decorators: [{
@@ -160,7 +161,7 @@ var LayoutUser = class LayoutUser {
160
161
  logout = output();
161
162
  static ɵfac = i0.ɵɵngDeclareFactory({
162
163
  minVersion: "12.0.0",
163
- version: "22.2.0",
164
+ version: "22.2.2",
164
165
  ngImport: i0,
165
166
  type: LayoutUser,
166
167
  deps: [],
@@ -168,7 +169,7 @@ var LayoutUser = class LayoutUser {
168
169
  });
169
170
  static ɵcmp = i0.ɵɵngDeclareComponent({
170
171
  minVersion: "17.0.0",
171
- version: "22.2.0",
172
+ version: "22.2.2",
172
173
  type: LayoutUser,
173
174
  isStandalone: true,
174
175
  selector: "LayoutUser",
@@ -288,7 +289,7 @@ var LayoutUser = class LayoutUser {
288
289
  };
289
290
  i0.ɵɵngDeclareClassMetadata({
290
291
  minVersion: "12.0.0",
291
- version: "22.2.0",
292
+ version: "22.2.2",
292
293
  ngImport: i0,
293
294
  type: LayoutUser,
294
295
  decorators: [{
@@ -377,7 +378,7 @@ var LayoutNavSidebar = class LayoutNavSidebar {
377
378
  shellClass = computed(() => this.isBorderRail() ? "border-r-[length:var(--layout-rail-width)] border-border" : "border-r border-border", ...ngDevMode ? [{ debugName: "shellClass" }] : /* istanbul ignore next */ []);
378
379
  static ɵfac = i0.ɵɵngDeclareFactory({
379
380
  minVersion: "12.0.0",
380
- version: "22.2.0",
381
+ version: "22.2.2",
381
382
  ngImport: i0,
382
383
  type: LayoutNavSidebar,
383
384
  deps: [],
@@ -385,7 +386,7 @@ var LayoutNavSidebar = class LayoutNavSidebar {
385
386
  });
386
387
  static ɵcmp = i0.ɵɵngDeclareComponent({
387
388
  minVersion: "17.1.0",
388
- version: "22.2.0",
389
+ version: "22.2.2",
389
390
  type: LayoutNavSidebar,
390
391
  isStandalone: true,
391
392
  selector: "LayoutNavSidebar",
@@ -481,7 +482,7 @@ var LayoutNavSidebar = class LayoutNavSidebar {
481
482
  };
482
483
  i0.ɵɵngDeclareClassMetadata({
483
484
  minVersion: "12.0.0",
484
- version: "22.2.0",
485
+ version: "22.2.2",
485
486
  ngImport: i0,
486
487
  type: LayoutNavSidebar,
487
488
  decorators: [{
@@ -574,7 +575,7 @@ var LayoutNavDockbar = class LayoutNavDockbar {
574
575
  shellClass = computed(() => this.isBorderRail() ? "border-r-[length:var(--layout-rail-width)] border-border" : "border-r border-border", ...ngDevMode ? [{ debugName: "shellClass" }] : /* istanbul ignore next */ []);
575
576
  static ɵfac = i0.ɵɵngDeclareFactory({
576
577
  minVersion: "12.0.0",
577
- version: "22.2.0",
578
+ version: "22.2.2",
578
579
  ngImport: i0,
579
580
  type: LayoutNavDockbar,
580
581
  deps: [],
@@ -582,7 +583,7 @@ var LayoutNavDockbar = class LayoutNavDockbar {
582
583
  });
583
584
  static ɵcmp = i0.ɵɵngDeclareComponent({
584
585
  minVersion: "17.0.0",
585
- version: "22.2.0",
586
+ version: "22.2.2",
586
587
  type: LayoutNavDockbar,
587
588
  isStandalone: true,
588
589
  selector: "LayoutNavDockbar",
@@ -739,7 +740,7 @@ var LayoutNavDockbar = class LayoutNavDockbar {
739
740
  };
740
741
  i0.ɵɵngDeclareClassMetadata({
741
742
  minVersion: "12.0.0",
742
- version: "22.2.0",
743
+ version: "22.2.2",
743
744
  ngImport: i0,
744
745
  type: LayoutNavDockbar,
745
746
  decorators: [{
@@ -851,6 +852,164 @@ i0.ɵɵngDeclareClassMetadata({
851
852
  }]
852
853
  }
853
854
  });
855
+ var LayoutNavMinidock = class LayoutNavMinidock {
856
+ brand = input.required(...ngDevMode ? [{ debugName: "brand" }] : /* istanbul ignore next */ []);
857
+ user = input.required(...ngDevMode ? [{ debugName: "user" }] : /* istanbul ignore next */ []);
858
+ appearance = input("flat", ...ngDevMode ? [{ debugName: "appearance" }] : /* istanbul ignore next */ []);
859
+ logout = output();
860
+ isBorderRail = computed(() => this.appearance() === "border-rail", ...ngDevMode ? [{ debugName: "isBorderRail" }] : /* istanbul ignore next */ []);
861
+ shellClass = computed(() => this.isBorderRail() ? "border-r-[length:var(--layout-rail-width)] border-border" : "border-r border-border", ...ngDevMode ? [{ debugName: "shellClass" }] : /* istanbul ignore next */ []);
862
+ static ɵfac = i0.ɵɵngDeclareFactory({
863
+ minVersion: "12.0.0",
864
+ version: "22.2.2",
865
+ ngImport: i0,
866
+ type: LayoutNavMinidock,
867
+ deps: [],
868
+ target: i0.ɵɵFactoryTarget.Component
869
+ });
870
+ static ɵcmp = i0.ɵɵngDeclareComponent({
871
+ minVersion: "17.1.0",
872
+ version: "22.2.2",
873
+ type: LayoutNavMinidock,
874
+ isStandalone: true,
875
+ selector: "LayoutNavMinidock",
876
+ inputs: {
877
+ brand: {
878
+ classPropertyName: "brand",
879
+ publicName: "brand",
880
+ isSignal: true,
881
+ isRequired: true,
882
+ transformFunction: null
883
+ },
884
+ user: {
885
+ classPropertyName: "user",
886
+ publicName: "user",
887
+ isSignal: true,
888
+ isRequired: true,
889
+ transformFunction: null
890
+ },
891
+ appearance: {
892
+ classPropertyName: "appearance",
893
+ publicName: "appearance",
894
+ isSignal: true,
895
+ isRequired: false,
896
+ transformFunction: null
897
+ }
898
+ },
899
+ outputs: { logout: "logout" },
900
+ host: { classAttribute: "contents" },
901
+ ngImport: i0,
902
+ template: `
903
+ <NavigationMinidock [class]="shellClass()">
904
+ <NavigationHeader>
905
+ <LayoutBrand [brand]="brand()" />
906
+ </NavigationHeader>
907
+ <NavigationFooter class="px-3">
908
+ <LayoutUser [user]="user()" detailed (logout)="logout.emit()" />
909
+ </NavigationFooter>
910
+ </NavigationMinidock>
911
+ `,
912
+ isInline: true,
913
+ dependencies: [
914
+ {
915
+ kind: "component",
916
+ type: NavigationMinidockComponent,
917
+ selector: "NavigationMinidock",
918
+ inputs: ["position", "class"]
919
+ },
920
+ {
921
+ kind: "component",
922
+ type: NavigationHeaderComponent,
923
+ selector: "NavigationHeader",
924
+ inputs: ["toggle", "class"]
925
+ },
926
+ {
927
+ kind: "component",
928
+ type: NavigationFooterComponent,
929
+ selector: "NavigationFooter",
930
+ inputs: ["class"]
931
+ },
932
+ {
933
+ kind: "component",
934
+ type: LayoutBrand,
935
+ selector: "LayoutBrand",
936
+ inputs: ["brand", "compact"]
937
+ },
938
+ {
939
+ kind: "component",
940
+ type: LayoutUser,
941
+ selector: "LayoutUser",
942
+ inputs: [
943
+ "user",
944
+ "detailed",
945
+ "logoutLabel",
946
+ "logoutIcon"
947
+ ],
948
+ outputs: ["logout"]
949
+ }
950
+ ]
951
+ });
952
+ };
953
+ i0.ɵɵngDeclareClassMetadata({
954
+ minVersion: "12.0.0",
955
+ version: "22.2.2",
956
+ ngImport: i0,
957
+ type: LayoutNavMinidock,
958
+ decorators: [{
959
+ type: Component,
960
+ args: [{
961
+ selector: "LayoutNavMinidock",
962
+ imports: [
963
+ NavigationMinidockComponent,
964
+ NavigationHeaderComponent,
965
+ NavigationFooterComponent,
966
+ LayoutBrand,
967
+ LayoutUser
968
+ ],
969
+ host: { class: "contents" },
970
+ template: `
971
+ <NavigationMinidock [class]="shellClass()">
972
+ <NavigationHeader>
973
+ <LayoutBrand [brand]="brand()" />
974
+ </NavigationHeader>
975
+ <NavigationFooter class="px-3">
976
+ <LayoutUser [user]="user()" detailed (logout)="logout.emit()" />
977
+ </NavigationFooter>
978
+ </NavigationMinidock>
979
+ `
980
+ }]
981
+ }],
982
+ propDecorators: {
983
+ brand: [{
984
+ type: i0.Input,
985
+ args: [{
986
+ isSignal: true,
987
+ alias: "brand",
988
+ required: true
989
+ }]
990
+ }],
991
+ user: [{
992
+ type: i0.Input,
993
+ args: [{
994
+ isSignal: true,
995
+ alias: "user",
996
+ required: true
997
+ }]
998
+ }],
999
+ appearance: [{
1000
+ type: i0.Input,
1001
+ args: [{
1002
+ isSignal: true,
1003
+ alias: "appearance",
1004
+ required: false
1005
+ }]
1006
+ }],
1007
+ logout: [{
1008
+ type: i0.Output,
1009
+ args: ["logout"]
1010
+ }]
1011
+ }
1012
+ });
854
1013
  var LayoutNavNavbar = class LayoutNavNavbar {
855
1014
  brand = input.required(...ngDevMode ? [{ debugName: "brand" }] : /* istanbul ignore next */ []);
856
1015
  user = input.required(...ngDevMode ? [{ debugName: "user" }] : /* istanbul ignore next */ []);
@@ -858,7 +1017,7 @@ var LayoutNavNavbar = class LayoutNavNavbar {
858
1017
  logout = output();
859
1018
  static ɵfac = i0.ɵɵngDeclareFactory({
860
1019
  minVersion: "12.0.0",
861
- version: "22.2.0",
1020
+ version: "22.2.2",
862
1021
  ngImport: i0,
863
1022
  type: LayoutNavNavbar,
864
1023
  deps: [],
@@ -866,7 +1025,7 @@ var LayoutNavNavbar = class LayoutNavNavbar {
866
1025
  });
867
1026
  static ɵcmp = i0.ɵɵngDeclareComponent({
868
1027
  minVersion: "17.1.0",
869
- version: "22.2.0",
1028
+ version: "22.2.2",
870
1029
  type: LayoutNavNavbar,
871
1030
  isStandalone: true,
872
1031
  selector: "LayoutNavNavbar",
@@ -953,7 +1112,7 @@ var LayoutNavNavbar = class LayoutNavNavbar {
953
1112
  };
954
1113
  i0.ɵɵngDeclareClassMetadata({
955
1114
  minVersion: "12.0.0",
956
- version: "22.2.0",
1115
+ version: "22.2.2",
957
1116
  ngImport: i0,
958
1117
  type: LayoutNavNavbar,
959
1118
  decorators: [{
@@ -1018,7 +1177,7 @@ var LayoutNavFlyout = class LayoutNavFlyout {
1018
1177
  logout = output();
1019
1178
  static ɵfac = i0.ɵɵngDeclareFactory({
1020
1179
  minVersion: "12.0.0",
1021
- version: "22.2.0",
1180
+ version: "22.2.2",
1022
1181
  ngImport: i0,
1023
1182
  type: LayoutNavFlyout,
1024
1183
  deps: [],
@@ -1026,7 +1185,7 @@ var LayoutNavFlyout = class LayoutNavFlyout {
1026
1185
  });
1027
1186
  static ɵcmp = i0.ɵɵngDeclareComponent({
1028
1187
  minVersion: "17.1.0",
1029
- version: "22.2.0",
1188
+ version: "22.2.2",
1030
1189
  type: LayoutNavFlyout,
1031
1190
  isStandalone: true,
1032
1191
  selector: "LayoutNavFlyout",
@@ -1127,7 +1286,7 @@ var LayoutNavFlyout = class LayoutNavFlyout {
1127
1286
  };
1128
1287
  i0.ɵɵngDeclareClassMetadata({
1129
1288
  minVersion: "12.0.0",
1130
- version: "22.2.0",
1289
+ version: "22.2.2",
1131
1290
  ngImport: i0,
1132
1291
  type: LayoutNavFlyout,
1133
1292
  decorators: [{
@@ -1194,7 +1353,7 @@ var LayoutNavMinimal = class LayoutNavMinimal {
1194
1353
  brand = input.required(...ngDevMode ? [{ debugName: "brand" }] : /* istanbul ignore next */ []);
1195
1354
  static ɵfac = i0.ɵɵngDeclareFactory({
1196
1355
  minVersion: "12.0.0",
1197
- version: "22.2.0",
1356
+ version: "22.2.2",
1198
1357
  ngImport: i0,
1199
1358
  type: LayoutNavMinimal,
1200
1359
  deps: [],
@@ -1202,7 +1361,7 @@ var LayoutNavMinimal = class LayoutNavMinimal {
1202
1361
  });
1203
1362
  static ɵcmp = i0.ɵɵngDeclareComponent({
1204
1363
  minVersion: "17.1.0",
1205
- version: "22.2.0",
1364
+ version: "22.2.2",
1206
1365
  type: LayoutNavMinimal,
1207
1366
  isStandalone: true,
1208
1367
  selector: "LayoutNavMinimal",
@@ -1253,7 +1412,7 @@ var LayoutNavMinimal = class LayoutNavMinimal {
1253
1412
  };
1254
1413
  i0.ɵɵngDeclareClassMetadata({
1255
1414
  minVersion: "12.0.0",
1256
- version: "22.2.0",
1415
+ version: "22.2.2",
1257
1416
  ngImport: i0,
1258
1417
  type: LayoutNavMinimal,
1259
1418
  decorators: [{
@@ -1285,6 +1444,8 @@ i0.ɵɵngDeclareClassMetadata({
1285
1444
  }] }
1286
1445
  });
1287
1446
  const EMPTY_NAVIGATION_BADGE_CONTEXT = Object.freeze({});
1447
+ const MAIN_NAVIGATION_ID = "main";
1448
+ const MINIDOCK_NAVIGATION_DATA_ID = "main-minidock";
1288
1449
  var LayoutWrapperDefault = class LayoutWrapperDefault {
1289
1450
  surface = input(LAYOUT_DEFAULT_SURFACE, ...ngDevMode ? [{ debugName: "surface" }] : /* istanbul ignore next */ []);
1290
1451
  appearance = input(LAYOUT_DEFAULT_APPEARANCE, {
@@ -1343,6 +1504,7 @@ var LayoutWrapperDefault = class LayoutWrapperDefault {
1343
1504
  identity = inject(LayoutIdentityService);
1344
1505
  navigation = inject(NAVIGATION_ADAPTER);
1345
1506
  desktopNavigationDataOwner = {};
1507
+ minidockMainDataOwner = {};
1346
1508
  document = inject(DOCUMENT, { optional: true });
1347
1509
  mobileNavTriggerRef = viewChild("mobileNavTrigger", ...ngDevMode ? [{ debugName: "mobileNavTriggerRef" }] : /* istanbul ignore next */ []);
1348
1510
  constructor() {
@@ -1353,6 +1515,11 @@ var LayoutWrapperDefault = class LayoutWrapperDefault {
1353
1515
  this.navigation.publishData(LAYOUT_DESKTOP_NAVIGATION_DATA_ID, this.data(), this.desktopNavigationDataOwner);
1354
1516
  onCleanup(() => this.navigation.clearData(LAYOUT_DESKTOP_NAVIGATION_DATA_ID, this.desktopNavigationDataOwner));
1355
1517
  });
1518
+ effect((onCleanup) => {
1519
+ if (this.navKind() !== "minidock") return;
1520
+ this.navigation.publishData(MAIN_NAVIGATION_ID, this.data(), this.minidockMainDataOwner);
1521
+ onCleanup(() => this.navigation.clearData(MAIN_NAVIGATION_ID, this.minidockMainDataOwner));
1522
+ });
1356
1523
  effect((onCleanup) => {
1357
1524
  const media = this.document?.defaultView?.matchMedia?.("(min-width: 640px)");
1358
1525
  if (!media) return;
@@ -1378,6 +1545,9 @@ var LayoutWrapperDefault = class LayoutWrapperDefault {
1378
1545
  const navType = this.navType();
1379
1546
  return layoutType === "empty" || layoutType === "fluid" || navType === "desktop" ? "brand" : navType;
1380
1547
  }, ...ngDevMode ? [{ debugName: "navKind" }] : /* istanbul ignore next */ []);
1548
+ minidockData = computed(() => toMinidockItems(this.data()), ...ngDevMode ? [{ debugName: "minidockData" }] : /* istanbul ignore next */ []);
1549
+ desktopDataId = computed(() => this.navKind() === "minidock" ? MINIDOCK_NAVIGATION_DATA_ID : MAIN_NAVIGATION_ID, ...ngDevMode ? [{ debugName: "desktopDataId" }] : /* istanbul ignore next */ []);
1550
+ desktopData = computed(() => this.navKind() === "minidock" ? this.minidockData() : this.data(), ...ngDevMode ? [{ debugName: "desktopData" }] : /* istanbul ignore next */ []);
1381
1551
  navClass = computed(() => this.effectiveLayoutType() === "horizontal" ? "w-full" : "h-full", ...ngDevMode ? [{ debugName: "navClass" }] : /* istanbul ignore next */ []);
1382
1552
  showsMobileNavigation = computed(() => {
1383
1553
  if (this.navType() === "desktop") return false;
@@ -1392,7 +1562,7 @@ var LayoutWrapperDefault = class LayoutWrapperDefault {
1392
1562
  contentClass = computed(() => cn(this.effectiveLayoutType() === "fluid" ? "w-full max-w-3xl" : "", this.contentClassInput()), ...ngDevMode ? [{ debugName: "contentClass" }] : /* istanbul ignore next */ []);
1393
1563
  static ɵfac = i0.ɵɵngDeclareFactory({
1394
1564
  minVersion: "12.0.0",
1395
- version: "22.2.0",
1565
+ version: "22.2.2",
1396
1566
  ngImport: i0,
1397
1567
  type: LayoutWrapperDefault,
1398
1568
  deps: [],
@@ -1400,7 +1570,7 @@ var LayoutWrapperDefault = class LayoutWrapperDefault {
1400
1570
  });
1401
1571
  static ɵcmp = i0.ɵɵngDeclareComponent({
1402
1572
  minVersion: "17.0.0",
1403
- version: "22.2.0",
1573
+ version: "22.2.2",
1404
1574
  type: LayoutWrapperDefault,
1405
1575
  isStandalone: true,
1406
1576
  selector: "LayoutWrapperDefault",
@@ -1623,7 +1793,12 @@ var LayoutWrapperDefault = class LayoutWrapperDefault {
1623
1793
  [landmark]="false"
1624
1794
  class="max-sm:hidden"
1625
1795
  >
1626
- <Navigation id="main" data-id="main" [data]="data()" [class]="navClass()">
1796
+ <Navigation
1797
+ id="main"
1798
+ [data-id]="desktopDataId()"
1799
+ [data]="desktopData()"
1800
+ [class]="navClass()"
1801
+ >
1627
1802
  @switch (navKind()) {
1628
1803
  @case ('navbar') {
1629
1804
  <LayoutNavNavbar
@@ -1652,6 +1827,14 @@ var LayoutWrapperDefault = class LayoutWrapperDefault {
1652
1827
  (logout)="logout.emit()"
1653
1828
  />
1654
1829
  }
1830
+ @case ('minidock') {
1831
+ <LayoutNavMinidock
1832
+ [brand]="brand()"
1833
+ [user]="user()"
1834
+ [appearance]="appearance()"
1835
+ (logout)="logout.emit()"
1836
+ />
1837
+ }
1655
1838
  @case ('brand') {
1656
1839
  <LayoutNavMinimal [brand]="brand()" />
1657
1840
  }
@@ -1824,6 +2007,17 @@ var LayoutWrapperDefault = class LayoutWrapperDefault {
1824
2007
  ],
1825
2008
  outputs: ["logout"]
1826
2009
  },
2010
+ {
2011
+ kind: "component",
2012
+ type: LayoutNavMinidock,
2013
+ selector: "LayoutNavMinidock",
2014
+ inputs: [
2015
+ "brand",
2016
+ "user",
2017
+ "appearance"
2018
+ ],
2019
+ outputs: ["logout"]
2020
+ },
1827
2021
  {
1828
2022
  kind: "component",
1829
2023
  type: LayoutNavNavbar,
@@ -1863,7 +2057,7 @@ var LayoutWrapperDefault = class LayoutWrapperDefault {
1863
2057
  };
1864
2058
  i0.ɵɵngDeclareClassMetadataAsync({
1865
2059
  minVersion: "18.0.0",
1866
- version: "22.2.0",
2060
+ version: "22.2.2",
1867
2061
  ngImport: i0,
1868
2062
  type: LayoutWrapperDefault,
1869
2063
  resolveDeferredDeps: () => [import("@ojiepermana/angular/component/sheet").then((m) => m.SheetComponent), import("@ojiepermana/angular/component/sheet").then((m) => m.SheetTitleComponent)],
@@ -1888,6 +2082,7 @@ i0.ɵɵngDeclareClassMetadataAsync({
1888
2082
  LayoutBrand,
1889
2083
  LayoutNavSidebar,
1890
2084
  LayoutNavDockbar,
2085
+ LayoutNavMinidock,
1891
2086
  LayoutNavNavbar,
1892
2087
  LayoutNavFlyout,
1893
2088
  LayoutNavMinimal
@@ -1970,7 +2165,12 @@ i0.ɵɵngDeclareClassMetadataAsync({
1970
2165
  [landmark]="false"
1971
2166
  class="max-sm:hidden"
1972
2167
  >
1973
- <Navigation id="main" data-id="main" [data]="data()" [class]="navClass()">
2168
+ <Navigation
2169
+ id="main"
2170
+ [data-id]="desktopDataId()"
2171
+ [data]="desktopData()"
2172
+ [class]="navClass()"
2173
+ >
1974
2174
  @switch (navKind()) {
1975
2175
  @case ('navbar') {
1976
2176
  <LayoutNavNavbar
@@ -1999,6 +2199,14 @@ i0.ɵɵngDeclareClassMetadataAsync({
1999
2199
  (logout)="logout.emit()"
2000
2200
  />
2001
2201
  }
2202
+ @case ('minidock') {
2203
+ <LayoutNavMinidock
2204
+ [brand]="brand()"
2205
+ [user]="user()"
2206
+ [appearance]="appearance()"
2207
+ (logout)="logout.emit()"
2208
+ />
2209
+ }
2002
2210
  @case ('brand') {
2003
2211
  <LayoutNavMinimal [brand]="brand()" />
2004
2212
  }
@@ -2212,4 +2420,4 @@ i0.ɵɵngDeclareClassMetadataAsync({
2212
2420
  }
2213
2421
  })
2214
2422
  });
2215
- export { LAYOUT_DESKTOP_NAVIGATION_DATA_ID, LayoutBrand, LayoutIdentityService, LayoutNavDockbar, LayoutNavFlyout, LayoutNavMinimal, LayoutNavNavbar, LayoutNavSidebar, LayoutUser, LayoutWrapperDefault };
2423
+ export { LAYOUT_DESKTOP_NAVIGATION_DATA_ID, LayoutBrand, LayoutIdentityService, LayoutNavDockbar, LayoutNavFlyout, LayoutNavMinidock, LayoutNavMinimal, LayoutNavNavbar, LayoutNavSidebar, LayoutUser, LayoutWrapperDefault };