@ojiepermana/angular 22.2.15 → 22.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (208) hide show
  1. package/README.md +10 -6
  2. package/SUPPORT.md +23 -9
  3. package/chart/README.md +1 -1
  4. package/component/README.md +1 -1
  5. package/component/composer/README.md +3 -0
  6. package/component/editor/README.md +3 -0
  7. package/fesm2022/ojiepermana-angular-chart-area.mjs +3 -3
  8. package/fesm2022/ojiepermana-angular-chart-bar.mjs +3 -3
  9. package/fesm2022/ojiepermana-angular-chart-core.mjs +33 -33
  10. package/fesm2022/ojiepermana-angular-chart-line.mjs +3 -3
  11. package/fesm2022/ojiepermana-angular-chart-pie.mjs +3 -3
  12. package/fesm2022/ojiepermana-angular-chart-primitives.mjs +33 -33
  13. package/fesm2022/ojiepermana-angular-chart-radar.mjs +3 -3
  14. package/fesm2022/ojiepermana-angular-chart-radial.mjs +3 -3
  15. package/fesm2022/ojiepermana-angular-chart-scatter.mjs +3 -3
  16. package/fesm2022/ojiepermana-angular-component-accordion.mjs +15 -15
  17. package/fesm2022/ojiepermana-angular-component-alert-dialog.mjs +27 -27
  18. package/fesm2022/ojiepermana-angular-component-alert.mjs +12 -12
  19. package/fesm2022/ojiepermana-angular-component-aspect-ratio.mjs +3 -3
  20. package/fesm2022/ojiepermana-angular-component-avatar.mjs +18 -18
  21. package/fesm2022/ojiepermana-angular-component-badge.mjs +3 -3
  22. package/fesm2022/ojiepermana-angular-component-breadcrumb.mjs +21 -21
  23. package/fesm2022/ojiepermana-angular-component-button-group.mjs +9 -9
  24. package/fesm2022/ojiepermana-angular-component-button.mjs +3 -3
  25. package/fesm2022/ojiepermana-angular-component-calendar.mjs +3 -3
  26. package/fesm2022/ojiepermana-angular-component-card.mjs +21 -21
  27. package/fesm2022/ojiepermana-angular-component-carousel.mjs +18 -18
  28. package/fesm2022/ojiepermana-angular-component-checkbox.mjs +3 -3
  29. package/fesm2022/ojiepermana-angular-component-collapsible.mjs +12 -12
  30. package/fesm2022/ojiepermana-angular-component-combobox.mjs +3 -3
  31. package/fesm2022/ojiepermana-angular-component-command.mjs +27 -27
  32. package/fesm2022/ojiepermana-angular-component-composer.mjs +89 -40
  33. package/fesm2022/ojiepermana-angular-component-context-menu.mjs +3 -3
  34. package/fesm2022/ojiepermana-angular-component-date-picker.mjs +3 -3
  35. package/fesm2022/ojiepermana-angular-component-dialog.mjs +21 -21
  36. package/fesm2022/ojiepermana-angular-component-dropdown-menu.mjs +39 -39
  37. package/fesm2022/ojiepermana-angular-component-editor.mjs +86 -30
  38. package/fesm2022/ojiepermana-angular-component-empty.mjs +18 -18
  39. package/fesm2022/ojiepermana-angular-component-form.mjs +36 -36
  40. package/fesm2022/ojiepermana-angular-component-hover-card.mjs +9 -9
  41. package/fesm2022/ojiepermana-angular-component-icon.mjs +6 -6
  42. package/fesm2022/ojiepermana-angular-component-input-group.mjs +18 -18
  43. package/fesm2022/ojiepermana-angular-component-input-otp.mjs +15 -15
  44. package/fesm2022/ojiepermana-angular-component-input.mjs +4 -4
  45. package/fesm2022/ojiepermana-angular-component-item.mjs +30 -30
  46. package/fesm2022/ojiepermana-angular-component-kanban.mjs +27 -27
  47. package/fesm2022/ojiepermana-angular-component-kbd.mjs +6 -6
  48. package/fesm2022/ojiepermana-angular-component-label.mjs +3 -3
  49. package/fesm2022/ojiepermana-angular-component-menubar.mjs +12 -12
  50. package/fesm2022/ojiepermana-angular-component-native-select.mjs +10 -10
  51. package/fesm2022/ojiepermana-angular-component-navigation-menu.mjs +21 -21
  52. package/fesm2022/ojiepermana-angular-component-pagination.mjs +3 -3
  53. package/fesm2022/ojiepermana-angular-component-pillbox.mjs +15 -15
  54. package/fesm2022/ojiepermana-angular-component-popover.mjs +6 -6
  55. package/fesm2022/ojiepermana-angular-component-progress.mjs +3 -3
  56. package/fesm2022/ojiepermana-angular-component-radio.mjs +6 -6
  57. package/fesm2022/ojiepermana-angular-component-resizable.mjs +12 -12
  58. package/fesm2022/ojiepermana-angular-component-scroll-area.mjs +3 -3
  59. package/fesm2022/ojiepermana-angular-component-segmented-control.mjs +3 -3
  60. package/fesm2022/ojiepermana-angular-component-select.mjs +8 -8
  61. package/fesm2022/ojiepermana-angular-component-separator.mjs +3 -3
  62. package/fesm2022/ojiepermana-angular-component-sheet.mjs +21 -21
  63. package/fesm2022/ojiepermana-angular-component-skeleton.mjs +3 -3
  64. package/fesm2022/ojiepermana-angular-component-slider.mjs +6 -6
  65. package/fesm2022/ojiepermana-angular-component-spinner.mjs +3 -3
  66. package/fesm2022/ojiepermana-angular-component-switch.mjs +3 -3
  67. package/fesm2022/ojiepermana-angular-component-table.mjs +24 -24
  68. package/fesm2022/ojiepermana-angular-component-tabs.mjs +18 -18
  69. package/fesm2022/ojiepermana-angular-component-textarea.mjs +4 -4
  70. package/fesm2022/ojiepermana-angular-component-timeline.mjs +18 -18
  71. package/fesm2022/ojiepermana-angular-component-toast.mjs +3 -3
  72. package/fesm2022/ojiepermana-angular-component-toggle-group.mjs +9 -9
  73. package/fesm2022/ojiepermana-angular-component-toggle.mjs +3 -3
  74. package/fesm2022/ojiepermana-angular-component-tooltip.mjs +15 -15
  75. package/fesm2022/ojiepermana-angular-component-utils-core.mjs +7 -1
  76. package/fesm2022/ojiepermana-angular-component-utils-scale.mjs +3 -3
  77. package/fesm2022/ojiepermana-angular-navigation-icon.mjs +3 -3
  78. package/fesm2022/{ojiepermana-angular-navigation-navigation-badge-count.component-Bx89vXtg.mjs → ojiepermana-angular-navigation-navigation-badge-count.component-B8lxwAAQ.mjs} +31 -21
  79. package/fesm2022/{ojiepermana-angular-navigation-navigation-dockbar-menu.component-CSs3QW5t.mjs → ojiepermana-angular-navigation-navigation-dockbar-menu.component-CYtBogW_.mjs} +6 -6
  80. package/fesm2022/{ojiepermana-angular-navigation-navigation-entry-grid.component-Cgq8iaRG.mjs → ojiepermana-angular-navigation-navigation-entry-grid.component-_8xg5lk4.mjs} +9 -4
  81. package/fesm2022/{ojiepermana-angular-navigation-navigation-flyout-menu.component-7Drr8U4O.mjs → ojiepermana-angular-navigation-navigation-flyout-menu.component-4TWyDz3S.mjs} +7 -7
  82. package/fesm2022/{ojiepermana-angular-navigation-navigation-horizontal.component-BrRGBBcK.mjs → ojiepermana-angular-navigation-navigation-horizontal.component-kREBNZlK.mjs} +6 -6
  83. package/fesm2022/{ojiepermana-angular-navigation-navigation-item.component-DAxMpuW_.mjs → ojiepermana-angular-navigation-navigation-item.component-BVOnGfvp.mjs} +25 -12
  84. package/fesm2022/{ojiepermana-angular-navigation-navigation-list.component-Bs6dssld.mjs → ojiepermana-angular-navigation-navigation-list.component-D92MNDsa.mjs} +4 -4
  85. package/fesm2022/ojiepermana-angular-navigation-service.mjs +3 -3
  86. package/fesm2022/ojiepermana-angular-navigation.mjs +84 -63
  87. package/fesm2022/ojiepermana-angular-theme-component-settings.mjs +20 -19
  88. package/fesm2022/ojiepermana-angular-theme-layout-services.mjs +6 -6
  89. package/fesm2022/ojiepermana-angular-theme-layout-wrapper.mjs +54 -30
  90. package/fesm2022/ojiepermana-angular-theme-layout.mjs +24 -24
  91. package/fesm2022/ojiepermana-angular-theme-on-fill.mjs +3 -3
  92. package/fesm2022/ojiepermana-angular-theme-page-core.mjs +163 -95
  93. package/fesm2022/ojiepermana-angular-theme-page-filter.mjs +15 -23
  94. package/fesm2022/ojiepermana-angular-theme-page-overview.mjs +3 -3
  95. package/fesm2022/ojiepermana-angular-theme-page-root.mjs +18 -9
  96. package/fesm2022/ojiepermana-angular-theme-page-side.mjs +16 -24
  97. package/fesm2022/ojiepermana-angular-theme-page-slots.mjs +12 -12
  98. package/fesm2022/ojiepermana-angular-theme-shell-services.mjs +3 -3
  99. package/fesm2022/ojiepermana-angular-theme-shell.mjs +10 -9
  100. package/fesm2022/ojiepermana-angular-theme-styles.mjs +19 -19
  101. package/navigation/README.md +19 -1
  102. package/package.json +13 -13
  103. package/sdk/README.md +4 -0
  104. package/sdk/schematics/ng-add/index.js +36 -5
  105. package/sdk/src/parser/ir.js +4 -3
  106. package/sdk/src/writer/index.js +3 -3
  107. package/theme/README.md +1 -1
  108. package/theme/page/README.md +5 -3
  109. package/theme/styles/css/base/components.css +90 -0
  110. package/theme/styles/css/base/tokens.css +13 -0
  111. package/types/ojiepermana-angular-chart-area.d.ts +3 -0
  112. package/types/ojiepermana-angular-chart-bar.d.ts +3 -0
  113. package/types/ojiepermana-angular-chart-core.d.ts +3 -0
  114. package/types/ojiepermana-angular-chart-line.d.ts +3 -0
  115. package/types/ojiepermana-angular-chart-pie.d.ts +3 -0
  116. package/types/ojiepermana-angular-chart-primitives.d.ts +3 -0
  117. package/types/ojiepermana-angular-chart-radar.d.ts +3 -0
  118. package/types/ojiepermana-angular-chart-radial.d.ts +3 -0
  119. package/types/ojiepermana-angular-chart-scatter.d.ts +3 -0
  120. package/types/ojiepermana-angular-chart.d.ts +3 -0
  121. package/types/ojiepermana-angular-component-accordion.d.ts +3 -0
  122. package/types/ojiepermana-angular-component-alert-dialog.d.ts +3 -0
  123. package/types/ojiepermana-angular-component-alert.d.ts +3 -0
  124. package/types/ojiepermana-angular-component-aspect-ratio.d.ts +3 -0
  125. package/types/ojiepermana-angular-component-avatar.d.ts +3 -0
  126. package/types/ojiepermana-angular-component-badge.d.ts +3 -0
  127. package/types/ojiepermana-angular-component-breadcrumb.d.ts +3 -0
  128. package/types/ojiepermana-angular-component-button-group.d.ts +3 -0
  129. package/types/ojiepermana-angular-component-button.d.ts +3 -0
  130. package/types/ojiepermana-angular-component-calendar.d.ts +3 -0
  131. package/types/ojiepermana-angular-component-card.d.ts +3 -0
  132. package/types/ojiepermana-angular-component-carousel.d.ts +3 -0
  133. package/types/ojiepermana-angular-component-checkbox.d.ts +3 -0
  134. package/types/ojiepermana-angular-component-collapsible.d.ts +3 -0
  135. package/types/ojiepermana-angular-component-combobox.d.ts +3 -0
  136. package/types/ojiepermana-angular-component-command.d.ts +3 -0
  137. package/types/ojiepermana-angular-component-composer.d.ts +8 -1
  138. package/types/ojiepermana-angular-component-context-menu.d.ts +3 -0
  139. package/types/ojiepermana-angular-component-date-picker.d.ts +3 -0
  140. package/types/ojiepermana-angular-component-dialog.d.ts +3 -0
  141. package/types/ojiepermana-angular-component-drawer.d.ts +3 -0
  142. package/types/ojiepermana-angular-component-dropdown-menu.d.ts +3 -0
  143. package/types/ojiepermana-angular-component-editor.d.ts +7 -0
  144. package/types/ojiepermana-angular-component-empty.d.ts +3 -0
  145. package/types/ojiepermana-angular-component-form.d.ts +3 -0
  146. package/types/ojiepermana-angular-component-hover-card.d.ts +3 -0
  147. package/types/ojiepermana-angular-component-icon.d.ts +3 -0
  148. package/types/ojiepermana-angular-component-input-group.d.ts +3 -0
  149. package/types/ojiepermana-angular-component-input-otp.d.ts +3 -0
  150. package/types/ojiepermana-angular-component-input.d.ts +3 -0
  151. package/types/ojiepermana-angular-component-item.d.ts +3 -0
  152. package/types/ojiepermana-angular-component-kanban.d.ts +3 -0
  153. package/types/ojiepermana-angular-component-kbd.d.ts +3 -0
  154. package/types/ojiepermana-angular-component-label.d.ts +3 -0
  155. package/types/ojiepermana-angular-component-menubar.d.ts +3 -0
  156. package/types/ojiepermana-angular-component-native-select.d.ts +3 -0
  157. package/types/ojiepermana-angular-component-navigation-menu.d.ts +3 -0
  158. package/types/ojiepermana-angular-component-pagination.d.ts +3 -0
  159. package/types/ojiepermana-angular-component-pillbox.d.ts +3 -0
  160. package/types/ojiepermana-angular-component-popover.d.ts +3 -0
  161. package/types/ojiepermana-angular-component-progress.d.ts +3 -0
  162. package/types/ojiepermana-angular-component-radio.d.ts +3 -0
  163. package/types/ojiepermana-angular-component-resizable.d.ts +3 -0
  164. package/types/ojiepermana-angular-component-scroll-area.d.ts +3 -0
  165. package/types/ojiepermana-angular-component-segmented-control.d.ts +3 -0
  166. package/types/ojiepermana-angular-component-select.d.ts +3 -0
  167. package/types/ojiepermana-angular-component-separator.d.ts +3 -0
  168. package/types/ojiepermana-angular-component-sheet.d.ts +3 -0
  169. package/types/ojiepermana-angular-component-skeleton.d.ts +3 -0
  170. package/types/ojiepermana-angular-component-slider.d.ts +3 -0
  171. package/types/ojiepermana-angular-component-spinner.d.ts +3 -0
  172. package/types/ojiepermana-angular-component-switch.d.ts +3 -0
  173. package/types/ojiepermana-angular-component-table.d.ts +3 -0
  174. package/types/ojiepermana-angular-component-tabs.d.ts +3 -0
  175. package/types/ojiepermana-angular-component-textarea.d.ts +3 -0
  176. package/types/ojiepermana-angular-component-timeline.d.ts +3 -0
  177. package/types/ojiepermana-angular-component-toast.d.ts +3 -0
  178. package/types/ojiepermana-angular-component-toggle-group.d.ts +3 -0
  179. package/types/ojiepermana-angular-component-toggle.d.ts +3 -0
  180. package/types/ojiepermana-angular-component-tooltip.d.ts +3 -0
  181. package/types/ojiepermana-angular-component-utils-core.d.ts +3 -0
  182. package/types/ojiepermana-angular-component-utils-overlay.d.ts +3 -0
  183. package/types/ojiepermana-angular-component-utils-scale.d.ts +3 -0
  184. package/types/ojiepermana-angular-component-utils.d.ts +3 -0
  185. package/types/ojiepermana-angular-navigation-core.d.ts +3 -0
  186. package/types/ojiepermana-angular-navigation-icon.d.ts +3 -0
  187. package/types/ojiepermana-angular-navigation-service.d.ts +3 -0
  188. package/types/ojiepermana-angular-navigation-types.d.ts +11 -0
  189. package/types/ojiepermana-angular-navigation.d.ts +15 -2
  190. package/types/ojiepermana-angular-sdk.d.ts +3 -0
  191. package/types/ojiepermana-angular-theme-component-settings.d.ts +3 -0
  192. package/types/ojiepermana-angular-theme-layout-services.d.ts +3 -0
  193. package/types/ojiepermana-angular-theme-layout-types.d.ts +3 -0
  194. package/types/ojiepermana-angular-theme-layout-wrapper.d.ts +14 -1
  195. package/types/ojiepermana-angular-theme-layout.d.ts +3 -0
  196. package/types/ojiepermana-angular-theme-on-fill.d.ts +3 -0
  197. package/types/ojiepermana-angular-theme-page-core.d.ts +11 -9
  198. package/types/ojiepermana-angular-theme-page-filter.d.ts +3 -0
  199. package/types/ojiepermana-angular-theme-page-overview.d.ts +3 -0
  200. package/types/ojiepermana-angular-theme-page-root.d.ts +4 -0
  201. package/types/ojiepermana-angular-theme-page-side.d.ts +3 -0
  202. package/types/ojiepermana-angular-theme-page-slots.d.ts +3 -0
  203. package/types/ojiepermana-angular-theme-page.d.ts +3 -0
  204. package/types/ojiepermana-angular-theme-shell-services.d.ts +3 -0
  205. package/types/ojiepermana-angular-theme-shell-types.d.ts +3 -0
  206. package/types/ojiepermana-angular-theme-shell.d.ts +3 -0
  207. package/types/ojiepermana-angular-theme-styles.d.ts +3 -0
  208. package/types/ojiepermana-angular.d.ts +3 -0
@@ -23,7 +23,7 @@ var LayoutLoadingComponent = class LayoutLoadingComponent {
23
23
  }
24
24
  static ɵfac = i0.ɵɵngDeclareFactory({
25
25
  minVersion: "12.0.0",
26
- version: "22.2.6",
26
+ version: "22.3.0",
27
27
  ngImport: i0,
28
28
  type: LayoutLoadingComponent,
29
29
  deps: [],
@@ -31,7 +31,7 @@ var LayoutLoadingComponent = class LayoutLoadingComponent {
31
31
  });
32
32
  static ɵcmp = i0.ɵɵngDeclareComponent({
33
33
  minVersion: "17.0.0",
34
- version: "22.2.6",
34
+ version: "22.3.0",
35
35
  type: LayoutLoadingComponent,
36
36
  isStandalone: true,
37
37
  selector: "LayoutLoading",
@@ -83,7 +83,7 @@ var LayoutLoadingComponent = class LayoutLoadingComponent {
83
83
  };
84
84
  i0.ɵɵngDeclareClassMetadata({
85
85
  minVersion: "12.0.0",
86
- version: "22.2.6",
86
+ version: "22.3.0",
87
87
  ngImport: i0,
88
88
  type: LayoutLoadingComponent,
89
89
  decorators: [{
@@ -214,7 +214,7 @@ var LayoutComponent = class LayoutComponent {
214
214
  }
215
215
  static ɵfac = i0.ɵɵngDeclareFactory({
216
216
  minVersion: "12.0.0",
217
- version: "22.2.6",
217
+ version: "22.3.0",
218
218
  ngImport: i0,
219
219
  type: LayoutComponent,
220
220
  deps: [],
@@ -222,7 +222,7 @@ var LayoutComponent = class LayoutComponent {
222
222
  });
223
223
  static ɵcmp = i0.ɵɵngDeclareComponent({
224
224
  minVersion: "17.0.0",
225
- version: "22.2.6",
225
+ version: "22.3.0",
226
226
  type: LayoutComponent,
227
227
  isStandalone: true,
228
228
  selector: "Layout",
@@ -398,7 +398,7 @@ var LayoutComponent = class LayoutComponent {
398
398
  };
399
399
  i0.ɵɵngDeclareClassMetadata({
400
400
  minVersion: "12.0.0",
401
- version: "22.2.6",
401
+ version: "22.3.0",
402
402
  ngImport: i0,
403
403
  type: LayoutComponent,
404
404
  decorators: [{
@@ -583,7 +583,7 @@ var LayoutVerticalComponent = class LayoutVerticalComponent {
583
583
  }
584
584
  static ɵfac = i0.ɵɵngDeclareFactory({
585
585
  minVersion: "12.0.0",
586
- version: "22.2.6",
586
+ version: "22.3.0",
587
587
  ngImport: i0,
588
588
  type: LayoutVerticalComponent,
589
589
  deps: [],
@@ -591,7 +591,7 @@ var LayoutVerticalComponent = class LayoutVerticalComponent {
591
591
  });
592
592
  static ɵcmp = i0.ɵɵngDeclareComponent({
593
593
  minVersion: "17.1.0",
594
- version: "22.2.6",
594
+ version: "22.3.0",
595
595
  type: LayoutVerticalComponent,
596
596
  isStandalone: true,
597
597
  selector: "LayoutVertical",
@@ -616,7 +616,7 @@ var LayoutVerticalComponent = class LayoutVerticalComponent {
616
616
  };
617
617
  i0.ɵɵngDeclareClassMetadata({
618
618
  minVersion: "12.0.0",
619
- version: "22.2.6",
619
+ version: "22.3.0",
620
620
  ngImport: i0,
621
621
  type: LayoutVerticalComponent,
622
622
  decorators: [{
@@ -650,7 +650,7 @@ var LayoutHorizontalComponent = class LayoutHorizontalComponent {
650
650
  }
651
651
  static ɵfac = i0.ɵɵngDeclareFactory({
652
652
  minVersion: "12.0.0",
653
- version: "22.2.6",
653
+ version: "22.3.0",
654
654
  ngImport: i0,
655
655
  type: LayoutHorizontalComponent,
656
656
  deps: [],
@@ -658,7 +658,7 @@ var LayoutHorizontalComponent = class LayoutHorizontalComponent {
658
658
  });
659
659
  static ɵcmp = i0.ɵɵngDeclareComponent({
660
660
  minVersion: "17.1.0",
661
- version: "22.2.6",
661
+ version: "22.3.0",
662
662
  type: LayoutHorizontalComponent,
663
663
  isStandalone: true,
664
664
  selector: "LayoutHorizontal",
@@ -683,7 +683,7 @@ var LayoutHorizontalComponent = class LayoutHorizontalComponent {
683
683
  };
684
684
  i0.ɵɵngDeclareClassMetadata({
685
685
  minVersion: "12.0.0",
686
- version: "22.2.6",
686
+ version: "22.3.0",
687
687
  ngImport: i0,
688
688
  type: LayoutHorizontalComponent,
689
689
  decorators: [{
@@ -717,7 +717,7 @@ var LayoutEmptyComponent = class LayoutEmptyComponent {
717
717
  }
718
718
  static ɵfac = i0.ɵɵngDeclareFactory({
719
719
  minVersion: "12.0.0",
720
- version: "22.2.6",
720
+ version: "22.3.0",
721
721
  ngImport: i0,
722
722
  type: LayoutEmptyComponent,
723
723
  deps: [],
@@ -725,7 +725,7 @@ var LayoutEmptyComponent = class LayoutEmptyComponent {
725
725
  });
726
726
  static ɵcmp = i0.ɵɵngDeclareComponent({
727
727
  minVersion: "17.1.0",
728
- version: "22.2.6",
728
+ version: "22.3.0",
729
729
  type: LayoutEmptyComponent,
730
730
  isStandalone: true,
731
731
  selector: "LayoutEmpty",
@@ -750,7 +750,7 @@ var LayoutEmptyComponent = class LayoutEmptyComponent {
750
750
  };
751
751
  i0.ɵɵngDeclareClassMetadata({
752
752
  minVersion: "12.0.0",
753
- version: "22.2.6",
753
+ version: "22.3.0",
754
754
  ngImport: i0,
755
755
  type: LayoutEmptyComponent,
756
756
  decorators: [{
@@ -784,7 +784,7 @@ var LayoutFluidComponent = class LayoutFluidComponent {
784
784
  }
785
785
  static ɵfac = i0.ɵɵngDeclareFactory({
786
786
  minVersion: "12.0.0",
787
- version: "22.2.6",
787
+ version: "22.3.0",
788
788
  ngImport: i0,
789
789
  type: LayoutFluidComponent,
790
790
  deps: [],
@@ -792,7 +792,7 @@ var LayoutFluidComponent = class LayoutFluidComponent {
792
792
  });
793
793
  static ɵcmp = i0.ɵɵngDeclareComponent({
794
794
  minVersion: "17.1.0",
795
- version: "22.2.6",
795
+ version: "22.3.0",
796
796
  type: LayoutFluidComponent,
797
797
  isStandalone: true,
798
798
  selector: "LayoutFluid",
@@ -817,7 +817,7 @@ var LayoutFluidComponent = class LayoutFluidComponent {
817
817
  };
818
818
  i0.ɵɵngDeclareClassMetadata({
819
819
  minVersion: "12.0.0",
820
- version: "22.2.6",
820
+ version: "22.3.0",
821
821
  ngImport: i0,
822
822
  type: LayoutFluidComponent,
823
823
  decorators: [{
@@ -856,7 +856,7 @@ var LayoutNavigationComponent = class LayoutNavigationComponent {
856
856
  }, ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
857
857
  static ɵfac = i0.ɵɵngDeclareFactory({
858
858
  minVersion: "12.0.0",
859
- version: "22.2.6",
859
+ version: "22.3.0",
860
860
  ngImport: i0,
861
861
  type: LayoutNavigationComponent,
862
862
  deps: [],
@@ -864,7 +864,7 @@ var LayoutNavigationComponent = class LayoutNavigationComponent {
864
864
  });
865
865
  static ɵcmp = i0.ɵɵngDeclareComponent({
866
866
  minVersion: "17.1.0",
867
- version: "22.2.6",
867
+ version: "22.3.0",
868
868
  type: LayoutNavigationComponent,
869
869
  isStandalone: true,
870
870
  selector: "LayoutNavigation",
@@ -908,7 +908,7 @@ var LayoutNavigationComponent = class LayoutNavigationComponent {
908
908
  };
909
909
  i0.ɵɵngDeclareClassMetadata({
910
910
  minVersion: "12.0.0",
911
- version: "22.2.6",
911
+ version: "22.3.0",
912
912
  ngImport: i0,
913
913
  type: LayoutNavigationComponent,
914
914
  decorators: [{
@@ -981,7 +981,7 @@ var LayoutContentComponent = class LayoutContentComponent {
981
981
  }
982
982
  static ɵfac = i0.ɵɵngDeclareFactory({
983
983
  minVersion: "12.0.0",
984
- version: "22.2.6",
984
+ version: "22.3.0",
985
985
  ngImport: i0,
986
986
  type: LayoutContentComponent,
987
987
  deps: [],
@@ -989,7 +989,7 @@ var LayoutContentComponent = class LayoutContentComponent {
989
989
  });
990
990
  static ɵcmp = i0.ɵɵngDeclareComponent({
991
991
  minVersion: "17.1.0",
992
- version: "22.2.6",
992
+ version: "22.3.0",
993
993
  type: LayoutContentComponent,
994
994
  isStandalone: true,
995
995
  selector: "LayoutContent",
@@ -1036,7 +1036,7 @@ var LayoutContentComponent = class LayoutContentComponent {
1036
1036
  };
1037
1037
  i0.ɵɵngDeclareClassMetadata({
1038
1038
  minVersion: "12.0.0",
1039
- version: "22.2.6",
1039
+ version: "22.3.0",
1040
1040
  ngImport: i0,
1041
1041
  type: LayoutContentComponent,
1042
1042
  decorators: [{
@@ -35,7 +35,7 @@ var OnFill = class OnFill {
35
35
  }
36
36
  static ɵfac = i0.ɵɵngDeclareFactory({
37
37
  minVersion: "12.0.0",
38
- version: "22.2.6",
38
+ version: "22.3.0",
39
39
  ngImport: i0,
40
40
  type: OnFill,
41
41
  deps: [],
@@ -43,7 +43,7 @@ var OnFill = class OnFill {
43
43
  });
44
44
  static ɵdir = i0.ɵɵngDeclareDirective({
45
45
  minVersion: "17.1.0",
46
- version: "22.2.6",
46
+ version: "22.3.0",
47
47
  type: OnFill,
48
48
  isStandalone: true,
49
49
  selector: "[OnFill]",
@@ -63,7 +63,7 @@ var OnFill = class OnFill {
63
63
  };
64
64
  i0.ɵɵngDeclareClassMetadata({
65
65
  minVersion: "12.0.0",
66
- version: "22.2.6",
66
+ version: "22.3.0",
67
67
  ngImport: i0,
68
68
  type: OnFill,
69
69
  decorators: [{
@@ -1,5 +1,6 @@
1
1
  import * as i0 from "@angular/core";
2
- import { Service, computed, effect, signal } from "@angular/core";
2
+ import { ElementRef, Injectable, Service, afterRenderEffect, computed, inject, signal } from "@angular/core";
3
+ import { Overlay, OverlayContainer } from "@angular/cdk/overlay";
3
4
  const PAGE_VARIANTS = ["stacked", "side"];
4
5
  const PAGE_SIDE_POSITIONS = ["left", "right"];
5
6
  const PAGE_SIDE_MODES = [
@@ -179,7 +180,7 @@ var PageStateService = class PageStateService {
179
180
  }
180
181
  static ɵfac = i0.ɵɵngDeclareFactory({
181
182
  minVersion: "12.0.0",
182
- version: "22.2.6",
183
+ version: "22.3.0",
183
184
  ngImport: i0,
184
185
  type: PageStateService,
185
186
  deps: [],
@@ -187,7 +188,7 @@ var PageStateService = class PageStateService {
187
188
  });
188
189
  static ɵprov = i0.ɵɵngDeclareService({
189
190
  minVersion: "22.0.0",
190
- version: "22.2.6",
191
+ version: "22.3.0",
191
192
  ngImport: i0,
192
193
  type: PageStateService,
193
194
  autoProvided: false
@@ -195,7 +196,7 @@ var PageStateService = class PageStateService {
195
196
  };
196
197
  i0.ɵɵngDeclareClassMetadata({
197
198
  minVersion: "12.0.0",
198
- version: "22.2.6",
199
+ version: "22.3.0",
199
200
  ngImport: i0,
200
201
  type: PageStateService,
201
202
  decorators: [{
@@ -203,113 +204,180 @@ i0.ɵɵngDeclareClassMetadata({
203
204
  args: [{ autoProvided: false }]
204
205
  }]
205
206
  });
206
- const FOCUSABLE_SELECTOR = [
207
- "a[href]",
208
- "button:not([disabled])",
209
- "input:not([disabled])",
210
- "select:not([disabled])",
211
- "textarea:not([disabled])",
212
- "[tabindex]:not([tabindex=\"-1\"])"
213
- ].join(",");
214
- const inertLocks = /* @__PURE__ */ new WeakMap();
215
- const scrollLocks = /* @__PURE__ */ new WeakMap();
207
+ const FOCUSABLE_SELECTOR = "a[href], button, input, select, textarea, summary, [contenteditable]:not([contenteditable=\"false\"]), [tabindex]";
208
+ const modalStacks = /* @__PURE__ */ new WeakMap();
209
+ function ɵisActivePageOverlay(document, id) {
210
+ return id !== null && modalStacks.get(document)?.active?.id === id;
211
+ }
216
212
  function ɵsetupOverlayFocusManagement(config) {
217
- effect((onCleanup) => {
213
+ afterRenderEffect({ mixedReadWrite: (onCleanup) => {
218
214
  if (!config.isInteractive() || !config.isOpen()) return;
219
- const document = config.document;
215
+ const { document, host } = config;
220
216
  const view = document?.defaultView;
221
- if (!document || !view) return;
217
+ if (!document || !view || !host.isConnected) return;
222
218
  const returnFocus = config.takeReturnFocus?.() ?? document.activeElement;
223
219
  const modal = config.isModal();
224
- const inertSnapshots = modal ? makeBackgroundInert(config.host) : [];
225
- if (modal) lockDocumentScroll(document);
226
- const handleKeydown = (event) => {
227
- if (!modal || event.key !== "Tab") return;
228
- const focusable = getFocusableElements(config.host);
229
- if (focusable.length === 0) {
230
- event.preventDefault();
231
- config.host.focus();
232
- return;
233
- }
234
- const active = document.activeElement;
235
- const first = focusable[0];
236
- const last = focusable.at(-1);
237
- const activeIndex = focusable.indexOf(active);
238
- if (event.shiftKey && activeIndex <= 0) {
239
- event.preventDefault();
240
- last.focus();
241
- } else if (!event.shiftKey && (activeIndex === -1 || active === last)) {
242
- event.preventDefault();
243
- first.focus();
244
- }
220
+ const stack = modal ? getModalStack(document) : void 0;
221
+ stack?.open(host);
222
+ let childEscape;
223
+ const onKeydownCapture = (event) => {
224
+ if (event.key === "Escape" && host.querySelector(".cdk-overlay-pane:not(:empty)")) childEscape = event;
245
225
  };
246
- config.host.addEventListener("keydown", handleKeydown);
226
+ const onKeydown = (event) => {
227
+ const activeModal = modalStacks.get(document)?.active;
228
+ if (event.defaultPrevented || activeModal && activeModal !== host) return;
229
+ if (event.key === "Escape" && config.closeOnEsc?.() && childEscape !== event) {
230
+ if (modal) event.preventDefault();
231
+ config.close?.();
232
+ } else if (modal && event.key === "Tab") trapTab(host, event);
233
+ };
234
+ view.addEventListener("keydown", onKeydownCapture, true);
235
+ view.addEventListener("keydown", onKeydown);
247
236
  const animationFrame = view.requestAnimationFrame(() => {
248
- (config.host.querySelector("[data-page-initial-focus], [autofocus]") ?? getFocusableElements(config.host)[0] ?? config.host).focus();
237
+ const activeModal = modalStacks.get(document)?.active;
238
+ if (!activeModal || activeModal === host) focusPanel(host);
249
239
  });
250
240
  onCleanup(() => {
251
241
  view.cancelAnimationFrame(animationFrame);
252
- config.host.removeEventListener("keydown", handleKeydown);
253
- restoreBackground(inertSnapshots);
254
- if (modal) unlockDocumentScroll(document);
255
- if (returnFocus?.isConnected && typeof returnFocus.focus === "function") view.requestAnimationFrame(() => returnFocus.focus());
242
+ view.removeEventListener("keydown", onKeydownCapture, true);
243
+ view.removeEventListener("keydown", onKeydown);
244
+ const wasTop = !stack || stack.active === host;
245
+ stack?.close(host);
246
+ if (wasTop) view.requestAnimationFrame(() => {
247
+ const active = modalStacks.get(document)?.active;
248
+ if (returnFocus instanceof HTMLElement && returnFocus.isConnected && !returnFocus.closest("[inert]") && (!active || active.contains(returnFocus))) returnFocus.focus({ preventScroll: true });
249
+ else if (active && !active.contains(document.activeElement)) focusPanel(active);
250
+ });
256
251
  });
257
- });
252
+ } });
253
+ }
254
+ function trapTab(host, event) {
255
+ const focusable = getFocusableElements(host);
256
+ const index = focusable.indexOf(host.ownerDocument.activeElement);
257
+ if (index < 0 || (event.shiftKey ? index === 0 : index === focusable.length - 1)) {
258
+ event.preventDefault();
259
+ ((event.shiftKey ? focusable.at(-1) : focusable[0]) ?? host).focus({ preventScroll: true });
260
+ }
261
+ }
262
+ function focusPanel(host) {
263
+ (host.querySelector("[data-page-initial-focus], [autofocus]") ?? getFocusableElements(host)[0] ?? host).focus({ preventScroll: true });
264
+ if (!host.contains(host.ownerDocument.activeElement)) (getFocusableElements(host)[0] ?? host).focus({ preventScroll: true });
258
265
  }
259
266
  function getFocusableElements(host) {
260
- return Array.from(host.querySelectorAll(FOCUSABLE_SELECTOR)).filter((element) => !element.hidden && !element.inert && element.getAttribute("aria-hidden") !== "true");
267
+ return Array.from(host.querySelectorAll(FOCUSABLE_SELECTOR)).filter((element) => !element.matches(":disabled, [tabindex=\"-1\"], input[type=\"hidden\"]") && !element.closest("[hidden], [inert], [aria-hidden=\"true\"]") && (element.checkVisibility?.({ visibilityProperty: true }) ?? host.ownerDocument.defaultView?.getComputedStyle(element).visibility !== "hidden"));
261
268
  }
262
- function makeBackgroundInert(host) {
263
- const snapshots = [];
264
- const pageRoot = host.closest("Page");
265
- if (!pageRoot) return snapshots;
266
- let branch = host;
267
- let parent = branch.parentElement;
268
- while (parent) {
269
- for (const sibling of Array.from(parent.children)) {
270
- if (sibling === branch || !(sibling instanceof HTMLElement) || sibling.hasAttribute("data-page-overlay-backdrop")) continue;
271
- const lock = inertLocks.get(sibling);
272
- if (lock) lock.count += 1;
273
- else inertLocks.set(sibling, {
274
- count: 1,
275
- initial: sibling.inert === true
276
- });
277
- snapshots.push({ element: sibling });
278
- sibling.inert = true;
279
- }
280
- if (parent === pageRoot) break;
281
- branch = parent;
282
- parent = parent.parentElement;
269
+ function getModalStack(document) {
270
+ let stack = modalStacks.get(document);
271
+ if (!stack) {
272
+ stack = new PageModalStack(document);
273
+ modalStacks.set(document, stack);
283
274
  }
284
- return snapshots;
275
+ return stack;
285
276
  }
286
- function restoreBackground(snapshots) {
287
- for (const snapshot of snapshots) {
288
- const lock = inertLocks.get(snapshot.element);
289
- if (!lock) continue;
290
- lock.count -= 1;
291
- if (lock.count === 0) {
292
- snapshot.element.inert = lock.initial;
293
- inertLocks.delete(snapshot.element);
277
+ var PageModalStack = class {
278
+ document;
279
+ panels = [];
280
+ background = /* @__PURE__ */ new Set();
281
+ ancestorOverflow = /* @__PURE__ */ new Map();
282
+ observer = new MutationObserver(() => this.isolate());
283
+ constructor(document) {
284
+ this.document = document;
285
+ }
286
+ get active() {
287
+ return this.panels.at(-1);
288
+ }
289
+ open(panel) {
290
+ this.panels.push(panel);
291
+ this.isolate();
292
+ }
293
+ close(panel) {
294
+ this.panels.splice(this.panels.indexOf(panel), 1);
295
+ this.isolate();
296
+ if (!this.active) modalStacks.delete(this.document);
297
+ }
298
+ isolate() {
299
+ this.observer.disconnect();
300
+ const keep = /* @__PURE__ */ new Set();
301
+ const host = this.active;
302
+ if (host?.isConnected) {
303
+ const backdrop = host.closest("[data-page-root]")?.querySelector(":scope > [data-page-overlay-backdrop]");
304
+ for (const node of [host, backdrop]) for (let branch = node; branch && branch !== this.document.body; branch = branch.parentElement) keep.add(branch);
305
+ }
306
+ this.lockAncestorScroll(host);
307
+ const blocked = /* @__PURE__ */ new Set();
308
+ for (const branch of keep) {
309
+ const parent = branch.parentElement;
310
+ if (parent) {
311
+ this.observer.observe(parent, { childList: true });
312
+ for (const sibling of parent.children) if (!keep.has(sibling)) blocked.add(sibling);
313
+ }
314
+ }
315
+ for (const element of this.background) if (!blocked.has(element)) {
316
+ if (!element.matches("[data-page-slot]:is([data-page-side-mode], [data-page-filter-mode])[aria-hidden=\"true\"]")) element.removeAttribute("inert");
317
+ this.background.delete(element);
318
+ }
319
+ for (const element of blocked) if (!element.hasAttribute("inert")) {
320
+ element.setAttribute("inert", "");
321
+ this.background.add(element);
294
322
  }
295
323
  }
296
- }
297
- function lockDocumentScroll(document) {
298
- const lock = scrollLocks.get(document);
299
- if (lock) lock.count += 1;
300
- else scrollLocks.set(document, {
301
- count: 1,
302
- initialOverflow: document.body.style.overflow
303
- });
304
- document.body.style.overflow = "hidden";
305
- }
306
- function unlockDocumentScroll(document) {
307
- const lock = scrollLocks.get(document);
308
- if (!lock) return;
309
- lock.count -= 1;
310
- if (lock.count === 0) {
311
- document.body.style.overflow = lock.initialOverflow;
312
- scrollLocks.delete(document);
324
+ lockAncestorScroll(host) {
325
+ for (const [element, previous] of this.ancestorOverflow) if (!host?.isConnected || !element.contains(host) || element === host) {
326
+ element.style.overflow = previous.value;
327
+ element.style.overflowX = previous.x;
328
+ element.style.overflowY = previous.y;
329
+ this.ancestorOverflow.delete(element);
330
+ }
331
+ for (let element = host?.isConnected ? host.parentElement : null; element && element !== this.document.documentElement; element = element.parentElement) {
332
+ if (this.ancestorOverflow.has(element)) continue;
333
+ const style = this.document.defaultView?.getComputedStyle(element);
334
+ if (element === this.document.body || style && /auto|scroll/.test(`${style.overflowX} ${style.overflowY}`)) {
335
+ this.ancestorOverflow.set(element, {
336
+ value: element.style.overflow,
337
+ x: element.style.overflowX,
338
+ y: element.style.overflowY
339
+ });
340
+ element.style.overflow = "hidden";
341
+ }
342
+ }
313
343
  }
314
- }
315
- export { PAGE_APPEARANCES, PAGE_DEFAULT_APPEARANCE, PAGE_DEFAULT_FILTER_MODE, PAGE_DEFAULT_FILTER_PLACEMENT, PAGE_DEFAULT_FILTER_POSITION, PAGE_DEFAULT_FILTER_WIDTH, PAGE_DEFAULT_HEIGHT, PAGE_DEFAULT_SCROLL, PAGE_DEFAULT_SIDE_MODE, PAGE_DEFAULT_SIDE_POSITION, PAGE_DEFAULT_SIDE_WIDTH, PAGE_DEFAULT_VARIANT, PAGE_FILTER_PLACEMENTS, PAGE_HEIGHT_VALUES, PAGE_SCROLL_VALUES, PAGE_SIDE_MODES, PAGE_SIDE_POSITIONS, PAGE_VARIANTS, PageStateService, isUiPageAppearance, isUiPageFilterPlacement, isUiPageHeight, isUiPageScroll, isUiPageSideMode, isUiPageSidePosition, isUiPageVariant, ɵsetupOverlayFocusManagement };
344
+ };
345
+ var PagePanelOverlayContainer = class PagePanelOverlayContainer extends OverlayContainer {
346
+ panel = inject(ElementRef).nativeElement;
347
+ parent = inject(OverlayContainer, { skipSelf: true });
348
+ getContainerElement() {
349
+ return this.panel.getAttribute("aria-modal") === "true" ? super.getContainerElement() : this.parent.getContainerElement();
350
+ }
351
+ _createContainer() {
352
+ const container = this.panel.ownerDocument.createElement("div");
353
+ container.classList.add("cdk-overlay-container");
354
+ this.panel.append(container);
355
+ this._containerElement = container;
356
+ }
357
+ static ɵfac = i0.ɵɵngDeclareFactory({
358
+ minVersion: "12.0.0",
359
+ version: "22.3.0",
360
+ ngImport: i0,
361
+ type: PagePanelOverlayContainer,
362
+ deps: null,
363
+ target: i0.ɵɵFactoryTarget.Injectable
364
+ });
365
+ static ɵprov = i0.ɵɵngDeclareInjectable({
366
+ minVersion: "12.0.0",
367
+ version: "22.3.0",
368
+ ngImport: i0,
369
+ type: PagePanelOverlayContainer
370
+ });
371
+ };
372
+ i0.ɵɵngDeclareClassMetadata({
373
+ minVersion: "12.0.0",
374
+ version: "22.3.0",
375
+ ngImport: i0,
376
+ type: PagePanelOverlayContainer,
377
+ decorators: [{ type: Injectable }]
378
+ });
379
+ const ɵPAGE_PANEL_OVERLAY_PROVIDERS = [Overlay, {
380
+ provide: OverlayContainer,
381
+ useClass: PagePanelOverlayContainer
382
+ }];
383
+ export { PAGE_APPEARANCES, PAGE_DEFAULT_APPEARANCE, PAGE_DEFAULT_FILTER_MODE, PAGE_DEFAULT_FILTER_PLACEMENT, PAGE_DEFAULT_FILTER_POSITION, PAGE_DEFAULT_FILTER_WIDTH, PAGE_DEFAULT_HEIGHT, PAGE_DEFAULT_SCROLL, PAGE_DEFAULT_SIDE_MODE, PAGE_DEFAULT_SIDE_POSITION, PAGE_DEFAULT_SIDE_WIDTH, PAGE_DEFAULT_VARIANT, PAGE_FILTER_PLACEMENTS, PAGE_HEIGHT_VALUES, PAGE_SCROLL_VALUES, PAGE_SIDE_MODES, PAGE_SIDE_POSITIONS, PAGE_VARIANTS, PageStateService, isUiPageAppearance, isUiPageFilterPlacement, isUiPageHeight, isUiPageScroll, isUiPageSideMode, isUiPageSidePosition, isUiPageVariant, ɵPAGE_PANEL_OVERLAY_PROVIDERS, ɵisActivePageOverlay, ɵsetupOverlayFocusManagement };
@@ -1,8 +1,8 @@
1
1
  import { DOCUMENT } from "@angular/common";
2
2
  import * as i0 from "@angular/core";
3
- import { Component, ElementRef, booleanAttribute, computed, effect, inject, input, output, untracked } from "@angular/core";
3
+ import { Component, ElementRef, booleanAttribute, computed, effect, inject, input, output } from "@angular/core";
4
4
  import { cn } from "@ojiepermana/angular/component/utils/core";
5
- import { PAGE_DEFAULT_FILTER_MODE, PAGE_DEFAULT_FILTER_PLACEMENT, PAGE_DEFAULT_FILTER_WIDTH, PAGE_DEFAULT_SCROLL, PageStateService, ɵsetupOverlayFocusManagement } from "@ojiepermana/angular/theme/page/core";
5
+ import { PAGE_DEFAULT_FILTER_MODE, PAGE_DEFAULT_FILTER_PLACEMENT, PAGE_DEFAULT_FILTER_WIDTH, PAGE_DEFAULT_SCROLL, PageStateService, ɵPAGE_PANEL_OVERLAY_PROVIDERS, ɵsetupOverlayFocusManagement } from "@ojiepermana/angular/theme/page/core";
6
6
  let nextPageFilterId = 0;
7
7
  const FILTER_BG = "bg-surface/50";
8
8
  const FILTER_BG_OPAQUE = "bg-[color-mix(in_srgb,var(--color-surface)_50%,var(--color-background))]";
@@ -44,7 +44,7 @@ var PageFilterComponent = class PageFilterComponent {
44
44
  const scroll = this.resolvedScroll();
45
45
  const open = this.page.filterOpen();
46
46
  if (this.isStacked()) return cn("block shrink-0 border-b border-border text-surface-foreground", scroll === "page" ? `sticky top-0 z-10 ${FILTER_BG_OPAQUE}` : FILTER_BG, this.class(), this.isCollapsedStacked() && "hidden");
47
- return cn("block min-h-0 border-border text-surface-foreground", this.isSticky() ? FILTER_BG : FILTER_BG_OPAQUE, scroll === "content" && "h-full overflow-auto", scroll === "page" && "overflow-visible", this.isSticky() && "shrink-0 w-[var(--page-filter-width)]", this.isSticky() && position === "left" && "border-r", this.isSticky() && position === "right" && "order-last border-l", this.isDrawer() && "absolute inset-y-0 z-20 w-[var(--page-filter-width)] border shadow-sm transition-transform duration-normal ease-out motion-reduce:transition-none", this.isDrawer() && position === "left" && (open ? "left-0 translate-x-0" : "left-0 -translate-x-full"), this.isDrawer() && position === "right" && (open ? "right-0 translate-x-0" : "right-0 translate-x-full"), this.isOverlay() && "absolute inset-y-0 z-30 w-[var(--page-filter-width)] border shadow-md transition-transform duration-normal ease-out motion-reduce:transition-none", this.isOverlay() && position === "left" && (open ? "left-0 translate-x-0" : "left-0 -translate-x-full"), this.isOverlay() && position === "right" && (open ? "right-0 translate-x-0" : "right-0 translate-x-full"), this.class());
47
+ return cn("block min-h-0 border-border text-surface-foreground", this.isSticky() ? FILTER_BG : FILTER_BG_OPAQUE, scroll === "content" && "h-full overflow-auto", scroll === "page" && "overflow-visible", this.isSticky() && "shrink-0 w-[var(--page-filter-width)]", this.isSticky() && position === "left" && "border-r", this.isSticky() && position === "right" && "order-last border-l", this.isDrawer() && "absolute inset-y-0 z-20 w-[var(--page-filter-width)] border shadow-sm transition-transform duration-normal ease-out motion-reduce:transition-none", this.isDrawer() && position === "left" && (open ? "left-0 translate-x-0" : "left-0 -translate-x-full"), this.isDrawer() && position === "right" && (open ? "right-0 translate-x-0" : "right-0 translate-x-full"), this.isOverlay() && "overflow-auto overscroll-contain [&:not([inert])]:z-40 [&[inert]>.cdk-overlay-container]:hidden", this.isOverlay() && "absolute inset-y-0 z-30 w-[var(--page-filter-width)] border shadow-md transition-transform duration-normal ease-out motion-reduce:transition-none", this.isOverlay() && position === "left" && (open ? "left-0 translate-x-0" : "left-0 -translate-x-full"), this.isOverlay() && position === "right" && (open ? "right-0 translate-x-0" : "right-0 translate-x-full"), this.class());
48
48
  }, ...ngDevMode ? [{ debugName: "classes" }] : /* istanbul ignore next */ []);
49
49
  constructor() {
50
50
  ɵsetupOverlayFocusManagement({
@@ -53,6 +53,8 @@ var PageFilterComponent = class PageFilterComponent {
53
53
  isOpen: this.page.filterOpen,
54
54
  isInteractive: this.isInteractive,
55
55
  isModal: this.isOverlay,
56
+ closeOnEsc: this.closeOnEsc,
57
+ close: () => this.page.closeFilter(),
56
58
  takeReturnFocus: () => this.page.takeFilterReturnFocus()
57
59
  });
58
60
  effect(() => {
@@ -64,24 +66,10 @@ var PageFilterComponent = class PageFilterComponent {
64
66
  id: this.resolvedId
65
67
  });
66
68
  });
67
- effect((onCleanup) => {
68
- if (!this.closeOnEsc() || this.isSticky()) return;
69
- const defaultView = this.document?.defaultView;
70
- if (!defaultView) return;
71
- const handler = (event) => {
72
- if (event.key !== "Escape") return;
73
- if (!untracked(() => this.page.filterOpen())) return;
74
- untracked(() => {
75
- this.page.closeFilter();
76
- });
77
- };
78
- defaultView.addEventListener("keydown", handler);
79
- onCleanup(() => defaultView.removeEventListener("keydown", handler));
80
- });
81
69
  }
82
70
  static ɵfac = i0.ɵɵngDeclareFactory({
83
71
  minVersion: "12.0.0",
84
- version: "22.2.6",
72
+ version: "22.3.0",
85
73
  ngImport: i0,
86
74
  type: PageFilterComponent,
87
75
  deps: [],
@@ -89,7 +77,7 @@ var PageFilterComponent = class PageFilterComponent {
89
77
  });
90
78
  static ɵcmp = i0.ɵɵngDeclareComponent({
91
79
  minVersion: "17.1.0",
92
- version: "22.2.6",
80
+ version: "22.3.0",
93
81
  type: PageFilterComponent,
94
82
  isStandalone: true,
95
83
  selector: "PageFilter",
@@ -165,8 +153,10 @@ var PageFilterComponent = class PageFilterComponent {
165
153
  "attr.aria-modal": "ariaModal()",
166
154
  "attr.aria-label": "dialogLabel()",
167
155
  "attr.tabindex": "dialogTabindex()",
156
+ "style.translate": "isOverlay() && page.filterOpen() ? \"none\" : null",
168
157
  "style.--page-filter-width": "resolvedWidth()"
169
158
  } },
159
+ providers: ɵPAGE_PANEL_OVERLAY_PROVIDERS,
170
160
  ngImport: i0,
171
161
  template: `<ng-content />`,
172
162
  isInline: true
@@ -174,13 +164,14 @@ var PageFilterComponent = class PageFilterComponent {
174
164
  };
175
165
  i0.ɵɵngDeclareClassMetadata({
176
166
  minVersion: "12.0.0",
177
- version: "22.2.6",
167
+ version: "22.3.0",
178
168
  ngImport: i0,
179
169
  type: PageFilterComponent,
180
170
  decorators: [{
181
171
  type: Component,
182
172
  args: [{
183
173
  selector: "PageFilter",
174
+ providers: ɵPAGE_PANEL_OVERLAY_PROVIDERS,
184
175
  host: {
185
176
  "[class]": "classes()",
186
177
  "[attr.id]": "resolvedId",
@@ -195,6 +186,7 @@ i0.ɵɵngDeclareClassMetadata({
195
186
  "[attr.aria-modal]": "ariaModal()",
196
187
  "[attr.aria-label]": "dialogLabel()",
197
188
  "[attr.tabindex]": "dialogTabindex()",
189
+ "[style.translate]": "isOverlay() && page.filterOpen() ? \"none\" : null",
198
190
  "[style.--page-filter-width]": "resolvedWidth()"
199
191
  },
200
192
  template: `<ng-content />`
@@ -281,7 +273,7 @@ var PageFilterToggleComponent = class PageFilterToggleComponent {
281
273
  }
282
274
  static ɵfac = i0.ɵɵngDeclareFactory({
283
275
  minVersion: "12.0.0",
284
- version: "22.2.6",
276
+ version: "22.3.0",
285
277
  ngImport: i0,
286
278
  type: PageFilterToggleComponent,
287
279
  deps: [],
@@ -289,7 +281,7 @@ var PageFilterToggleComponent = class PageFilterToggleComponent {
289
281
  });
290
282
  static ɵcmp = i0.ɵɵngDeclareComponent({
291
283
  minVersion: "17.1.0",
292
- version: "22.2.6",
284
+ version: "22.3.0",
293
285
  type: PageFilterToggleComponent,
294
286
  isStandalone: true,
295
287
  selector: "PageFilterToggle",
@@ -345,7 +337,7 @@ var PageFilterToggleComponent = class PageFilterToggleComponent {
345
337
  };
346
338
  i0.ɵɵngDeclareClassMetadata({
347
339
  minVersion: "12.0.0",
348
- version: "22.2.6",
340
+ version: "22.3.0",
349
341
  ngImport: i0,
350
342
  type: PageFilterToggleComponent,
351
343
  decorators: [{