@nanahoshi/mona-ui 0.27.2 → 0.28.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/docs/api/chart.md +2 -2
  2. package/docs/api/popup.md +1 -1
  3. package/docs/api/theme.md +2 -2
  4. package/docs/chart.md +14 -0
  5. package/docs/editor.md +2 -0
  6. package/docs/installation.md +147 -15
  7. package/docs/introduction.md +37 -15
  8. package/docs/theming-built-in-themes.md +67 -0
  9. package/docs/theming-custom-colors.md +274 -0
  10. package/docs/theming-custom-themes.md +168 -0
  11. package/docs/theming.md +164 -248
  12. package/fesm2022/nanahoshi-mona-ui-auto-complete.mjs +1089 -603
  13. package/fesm2022/nanahoshi-mona-ui-avatar.mjs +369 -184
  14. package/fesm2022/nanahoshi-mona-ui-breadcrumb.mjs +658 -371
  15. package/fesm2022/nanahoshi-mona-ui-button-group.mjs +513 -359
  16. package/fesm2022/nanahoshi-mona-ui-button.mjs +622 -517
  17. package/fesm2022/nanahoshi-mona-ui-calendar.mjs +2070 -1573
  18. package/fesm2022/nanahoshi-mona-ui-card.mjs +620 -316
  19. package/fesm2022/nanahoshi-mona-ui-chart.mjs +61151 -64921
  20. package/fesm2022/nanahoshi-mona-ui-check-box.mjs +646 -317
  21. package/fesm2022/nanahoshi-mona-ui-chip.mjs +737 -516
  22. package/fesm2022/nanahoshi-mona-ui-circular-progress-bar.mjs +441 -242
  23. package/fesm2022/nanahoshi-mona-ui-collapsible.mjs +443 -390
  24. package/fesm2022/nanahoshi-mona-ui-color-gradient.mjs +1138 -814
  25. package/fesm2022/nanahoshi-mona-ui-color-palette.mjs +1114 -959
  26. package/fesm2022/nanahoshi-mona-ui-color-picker.mjs +858 -504
  27. package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +1181 -742
  28. package/fesm2022/nanahoshi-mona-ui-command.mjs +1454 -853
  29. package/fesm2022/nanahoshi-mona-ui-common.mjs +569 -743
  30. package/fesm2022/nanahoshi-mona-ui-contextmenu.mjs +978 -532
  31. package/fesm2022/nanahoshi-mona-ui-date-input.mjs +283 -266
  32. package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +973 -451
  33. package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +1203 -658
  34. package/fesm2022/nanahoshi-mona-ui-dialog.mjs +1415 -936
  35. package/fesm2022/nanahoshi-mona-ui-dropdown-button.mjs +1165 -568
  36. package/fesm2022/nanahoshi-mona-ui-dropdown-list.mjs +1142 -677
  37. package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +1018 -734
  38. package/fesm2022/nanahoshi-mona-ui-editor.mjs +3589 -2122
  39. package/fesm2022/nanahoshi-mona-ui-expansion-panel.mjs +577 -359
  40. package/fesm2022/nanahoshi-mona-ui-fieldset.mjs +311 -151
  41. package/fesm2022/nanahoshi-mona-ui-filter.mjs +1086 -718
  42. package/fesm2022/nanahoshi-mona-ui-grid-grid-colgroup.component-NhONCVIX.mjs +77 -0
  43. package/fesm2022/nanahoshi-mona-ui-grid-grid-footer-row.component-Djv8ZnT5.mjs +480 -0
  44. package/fesm2022/nanahoshi-mona-ui-grid-grid-list.component-WbXAzGCa.mjs +470 -0
  45. package/fesm2022/nanahoshi-mona-ui-grid-grid-row.component-DkWTD3pN.mjs +2115 -0
  46. package/fesm2022/nanahoshi-mona-ui-grid-grid-virtual-list.component-DAHqTwBJ.mjs +330 -0
  47. package/fesm2022/nanahoshi-mona-ui-grid-grid.styles-BmLU-3zP.mjs +3766 -0
  48. package/fesm2022/nanahoshi-mona-ui-grid.mjs +5418 -2
  49. package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +1379 -1079
  50. package/fesm2022/nanahoshi-mona-ui-i18n.mjs +4451 -5077
  51. package/fesm2022/nanahoshi-mona-ui-internal-filter-input.mjs +344 -143
  52. package/fesm2022/nanahoshi-mona-ui-internal-indicator-icon.mjs +257 -127
  53. package/fesm2022/nanahoshi-mona-ui-internal-list.mjs +2080 -1829
  54. package/fesm2022/nanahoshi-mona-ui-internal-popup-menu.mjs +103 -141
  55. package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +2498 -2706
  56. package/fesm2022/nanahoshi-mona-ui-internal.mjs +722 -1007
  57. package/fesm2022/nanahoshi-mona-ui-label.mjs +313 -202
  58. package/fesm2022/nanahoshi-mona-ui-list-box.mjs +1308 -1009
  59. package/fesm2022/nanahoshi-mona-ui-list-view.mjs +1411 -677
  60. package/fesm2022/nanahoshi-mona-ui-list.mjs +1 -6
  61. package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +556 -577
  62. package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +530 -573
  63. package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +530 -573
  64. package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +533 -576
  65. package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +520 -555
  66. package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +530 -571
  67. package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +520 -555
  68. package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +520 -555
  69. package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +530 -571
  70. package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +576 -591
  71. package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +530 -565
  72. package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +520 -555
  73. package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +520 -555
  74. package/fesm2022/nanahoshi-mona-ui-locales.mjs +59 -77
  75. package/fesm2022/nanahoshi-mona-ui-menubar.mjs +1411 -829
  76. package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +1326 -702
  77. package/fesm2022/nanahoshi-mona-ui-notification.mjs +763 -675
  78. package/fesm2022/nanahoshi-mona-ui-numeric-text-box.mjs +1306 -826
  79. package/fesm2022/nanahoshi-mona-ui-otp-input.mjs +1122 -897
  80. package/fesm2022/nanahoshi-mona-ui-pager.mjs +1110 -651
  81. package/fesm2022/nanahoshi-mona-ui-placeholder.mjs +95 -53
  82. package/fesm2022/nanahoshi-mona-ui-popover.mjs +559 -397
  83. package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +2323 -1694
  84. package/fesm2022/nanahoshi-mona-ui-popup.mjs +1657 -1455
  85. package/fesm2022/nanahoshi-mona-ui-progress-bar.mjs +441 -267
  86. package/fesm2022/nanahoshi-mona-ui-query.mjs +211 -340
  87. package/fesm2022/nanahoshi-mona-ui-radio-button.mjs +1017 -548
  88. package/fesm2022/nanahoshi-mona-ui-rating.mjs +874 -624
  89. package/fesm2022/nanahoshi-mona-ui-scroll-view.mjs +1130 -917
  90. package/fesm2022/nanahoshi-mona-ui-segmented.mjs +705 -455
  91. package/fesm2022/nanahoshi-mona-ui-sheet.mjs +461 -283
  92. package/fesm2022/nanahoshi-mona-ui-sidebar.mjs +2791 -2449
  93. package/fesm2022/nanahoshi-mona-ui-skeleton.mjs +145 -90
  94. package/fesm2022/nanahoshi-mona-ui-slider.mjs +1563 -1103
  95. package/fesm2022/nanahoshi-mona-ui-spinner.mjs +738 -673
  96. package/fesm2022/nanahoshi-mona-ui-split-button.mjs +1287 -647
  97. package/fesm2022/nanahoshi-mona-ui-splitter.mjs +1313 -909
  98. package/fesm2022/nanahoshi-mona-ui-stepper.mjs +761 -540
  99. package/fesm2022/nanahoshi-mona-ui-switch.mjs +611 -280
  100. package/fesm2022/nanahoshi-mona-ui-tabs.mjs +1393 -841
  101. package/fesm2022/nanahoshi-mona-ui-text-area.mjs +142 -73
  102. package/fesm2022/nanahoshi-mona-ui-text-box.mjs +876 -374
  103. package/fesm2022/nanahoshi-mona-ui-theme.mjs +1465 -1449
  104. package/fesm2022/nanahoshi-mona-ui-time-picker.mjs +897 -443
  105. package/fesm2022/nanahoshi-mona-ui-time-selector.mjs +1100 -703
  106. package/fesm2022/nanahoshi-mona-ui-tooltip.mjs +789 -538
  107. package/fesm2022/nanahoshi-mona-ui-tree-view.mjs +1361 -805
  108. package/fesm2022/nanahoshi-mona-ui-window.mjs +2145 -1531
  109. package/fesm2022/nanahoshi-mona-ui.mjs +1 -8
  110. package/llms.txt +6 -2
  111. package/package.json +62 -23
  112. package/types/nanahoshi-mona-ui-auto-complete.d.ts +367 -233
  113. package/types/nanahoshi-mona-ui-avatar.d.ts +722 -649
  114. package/types/nanahoshi-mona-ui-breadcrumb.d.ts +134 -103
  115. package/types/nanahoshi-mona-ui-button-group.d.ts +213 -152
  116. package/types/nanahoshi-mona-ui-button.d.ts +227 -166
  117. package/types/nanahoshi-mona-ui-calendar.d.ts +324 -259
  118. package/types/nanahoshi-mona-ui-card.d.ts +125 -111
  119. package/types/nanahoshi-mona-ui-chart.d.ts +10483 -7326
  120. package/types/nanahoshi-mona-ui-check-box.d.ts +293 -180
  121. package/types/nanahoshi-mona-ui-chip.d.ts +208 -141
  122. package/types/nanahoshi-mona-ui-circular-progress-bar.d.ts +194 -133
  123. package/types/nanahoshi-mona-ui-collapsible.d.ts +103 -87
  124. package/types/nanahoshi-mona-ui-color-gradient.d.ts +281 -213
  125. package/types/nanahoshi-mona-ui-color-palette.d.ts +201 -138
  126. package/types/nanahoshi-mona-ui-color-picker.d.ts +283 -194
  127. package/types/nanahoshi-mona-ui-combo-box.d.ts +401 -262
  128. package/types/nanahoshi-mona-ui-command.d.ts +279 -191
  129. package/types/nanahoshi-mona-ui-common.d.ts +354 -385
  130. package/types/nanahoshi-mona-ui-contextmenu.d.ts +142 -117
  131. package/types/nanahoshi-mona-ui-date-input.d.ts +79 -96
  132. package/types/nanahoshi-mona-ui-date-picker.d.ts +338 -208
  133. package/types/nanahoshi-mona-ui-datetime-picker.d.ts +413 -259
  134. package/types/nanahoshi-mona-ui-dialog.d.ts +470 -381
  135. package/types/nanahoshi-mona-ui-dropdown-button.d.ts +216 -168
  136. package/types/nanahoshi-mona-ui-dropdown-list.d.ts +369 -243
  137. package/types/nanahoshi-mona-ui-dropdowns.d.ts +231 -217
  138. package/types/nanahoshi-mona-ui-editor.d.ts +302 -235
  139. package/types/nanahoshi-mona-ui-expansion-panel.d.ts +140 -109
  140. package/types/nanahoshi-mona-ui-fieldset.d.ts +98 -68
  141. package/types/nanahoshi-mona-ui-filter.d.ts +150 -124
  142. package/types/nanahoshi-mona-ui-grid.d.ts +1956 -1678
  143. package/types/nanahoshi-mona-ui-i18n-icu.d.ts +25 -34
  144. package/types/nanahoshi-mona-ui-i18n.d.ts +987 -1052
  145. package/types/nanahoshi-mona-ui-internal-filter-input.d.ts +118 -71
  146. package/types/nanahoshi-mona-ui-internal-indicator-icon.d.ts +56 -27
  147. package/types/nanahoshi-mona-ui-internal-list.d.ts +474 -408
  148. package/types/nanahoshi-mona-ui-internal-popup-menu.d.ts +143 -150
  149. package/types/nanahoshi-mona-ui-internal-tree.d.ts +493 -506
  150. package/types/nanahoshi-mona-ui-internal.d.ts +195 -213
  151. package/types/nanahoshi-mona-ui-label.d.ts +108 -78
  152. package/types/nanahoshi-mona-ui-list-box.d.ts +392 -322
  153. package/types/nanahoshi-mona-ui-list-view.d.ts +423 -282
  154. package/types/nanahoshi-mona-ui-list.d.ts +2 -1
  155. package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +540 -542
  156. package/types/nanahoshi-mona-ui-locales-de-de.d.ts +540 -542
  157. package/types/nanahoshi-mona-ui-locales-es-es.d.ts +540 -542
  158. package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +540 -542
  159. package/types/nanahoshi-mona-ui-locales-id-id.d.ts +540 -542
  160. package/types/nanahoshi-mona-ui-locales-it-it.d.ts +540 -542
  161. package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +540 -542
  162. package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +540 -542
  163. package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +540 -542
  164. package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +540 -542
  165. package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +540 -542
  166. package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +540 -542
  167. package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +540 -542
  168. package/types/nanahoshi-mona-ui-locales.d.ts +17 -19
  169. package/types/nanahoshi-mona-ui-menubar.d.ts +210 -181
  170. package/types/nanahoshi-mona-ui-multi-select.d.ts +416 -276
  171. package/types/nanahoshi-mona-ui-notification.d.ts +140 -151
  172. package/types/nanahoshi-mona-ui-numeric-text-box.d.ts +407 -270
  173. package/types/nanahoshi-mona-ui-otp-input.d.ts +364 -241
  174. package/types/nanahoshi-mona-ui-pager.d.ts +379 -301
  175. package/types/nanahoshi-mona-ui-placeholder.d.ts +35 -28
  176. package/types/nanahoshi-mona-ui-popover.d.ts +176 -134
  177. package/types/nanahoshi-mona-ui-popup-menu.d.ts +488 -344
  178. package/types/nanahoshi-mona-ui-popup.d.ts +698 -560
  179. package/types/nanahoshi-mona-ui-progress-bar.d.ts +197 -137
  180. package/types/nanahoshi-mona-ui-query.d.ts +82 -88
  181. package/types/nanahoshi-mona-ui-radio-button.d.ts +434 -269
  182. package/types/nanahoshi-mona-ui-rating.d.ts +348 -254
  183. package/types/nanahoshi-mona-ui-scroll-view.d.ts +244 -172
  184. package/types/nanahoshi-mona-ui-segmented.d.ts +250 -175
  185. package/types/nanahoshi-mona-ui-sheet.d.ts +115 -63
  186. package/types/nanahoshi-mona-ui-sidebar.d.ts +653 -493
  187. package/types/nanahoshi-mona-ui-skeleton.d.ts +55 -39
  188. package/types/nanahoshi-mona-ui-slider.d.ts +503 -354
  189. package/types/nanahoshi-mona-ui-spinner.d.ts +125 -112
  190. package/types/nanahoshi-mona-ui-split-button.d.ts +241 -196
  191. package/types/nanahoshi-mona-ui-splitter.d.ts +124 -78
  192. package/types/nanahoshi-mona-ui-stepper.d.ts +206 -181
  193. package/types/nanahoshi-mona-ui-switch.d.ts +197 -131
  194. package/types/nanahoshi-mona-ui-tabs.d.ts +349 -248
  195. package/types/nanahoshi-mona-ui-text-area.d.ts +52 -36
  196. package/types/nanahoshi-mona-ui-text-box.d.ts +349 -218
  197. package/types/nanahoshi-mona-ui-theme.d.ts +415 -408
  198. package/types/nanahoshi-mona-ui-time-picker.d.ts +357 -217
  199. package/types/nanahoshi-mona-ui-time-selector.d.ts +255 -170
  200. package/types/nanahoshi-mona-ui-tooltip.d.ts +222 -144
  201. package/types/nanahoshi-mona-ui-tree-view.d.ts +466 -308
  202. package/types/nanahoshi-mona-ui-window.d.ts +494 -399
  203. package/types/nanahoshi-mona-ui.d.ts +1 -2
  204. package/fesm2022/nanahoshi-mona-ui-grid-grid-footer-row.component-DjNnVxHE.mjs +0 -181
  205. package/fesm2022/nanahoshi-mona-ui-grid-grid-list.component-ihQIKeP-.mjs +0 -208
  206. package/fesm2022/nanahoshi-mona-ui-grid-grid-row.component-BpnybNcs.mjs +0 -1082
  207. package/fesm2022/nanahoshi-mona-ui-grid-grid-virtual-list.component-CYlgfc7c.mjs +0 -186
  208. package/fesm2022/nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-LCzfCYd3.mjs +0 -7568
@@ -1,580 +1,718 @@
1
- import * as _angular_core from '@angular/core';
2
- import { ComponentRef, TemplateRef, Injector, StaticProvider, OnDestroy, InjectionToken } from '@angular/core';
3
- import { OverlayRef, ConnectionPositionPair, FlexibleConnectedPositionStrategyOrigin, ComponentType, ConnectedPosition } from '@angular/cdk/overlay';
4
- import { Action } from '@nanahoshi/mona-ui/internal';
5
- import { PreventableEvent } from '@nanahoshi/mona-ui/common';
6
- import { Observable } from 'rxjs';
7
-
8
- declare class PopupCloseEvent<R = unknown> extends PreventableEvent {
9
- #private;
10
- constructor(options?: Partial<PopupCloseEventOptions<R>>);
11
- /** The result value passed to `close()`, if any. */
12
- get result(): R | undefined;
13
- /** The source of the close. */
14
- get via(): PopupCloseSource | undefined;
1
+ import { ComponentType, ConnectedPosition, ConnectionPositionPair, FlexibleConnectedPositionStrategyOrigin, OverlayRef } from "@angular/cdk/overlay";
2
+ import * as i0 from "@angular/core";
3
+ import { ComponentRef, InjectionToken, Injector, OnDestroy, StaticProvider, TemplateRef } from "@angular/core";
4
+ import { Action } from "@nanahoshi/mona-ui/internal";
5
+ import { PreventableEvent } from "@nanahoshi/mona-ui/common";
6
+ import { Observable } from "rxjs";
7
+ export declare class PopupCloseEvent<R = unknown> extends PreventableEvent {
8
+ #private;
9
+ constructor(options?: Partial<PopupCloseEventOptions<R>>);
10
+ /** The result value passed to `close()`, if any. */
11
+ get result(): R | undefined;
12
+ /** The source of the close. */
13
+ get via(): PopupCloseSource | undefined;
15
14
  }
16
15
  interface PopupCloseEventOptions<R = unknown, E = unknown> {
17
- event?: E;
18
- originalEvent: Event;
19
- result?: R;
20
- type?: string;
21
- via?: PopupCloseSource;
16
+ event?: E;
17
+ originalEvent: Event;
18
+ result?: R;
19
+ type?: string;
20
+ via?: PopupCloseSource;
22
21
  }
23
- declare enum PopupCloseSource {
24
- /** A dialog action button, such as OK or Cancel. */
25
- Action = "action",
26
- /** A click on the backdrop, when `closeOnBackdropClick` allows it. */
27
- BackdropClick = "backdropClick",
28
- /** The close button of a dialog, window or sheet. */
29
- CloseButton = "closeButton",
30
- /** The Escape key. */
31
- Escape = "escape",
32
- /** The pointer leaving the anchor, when `closeOnMouseLeave` is set. */
33
- MouseLeave = "mouseLeave",
34
- /** A `close()` call from code, with no user interaction behind it. */
35
- Programmatic = "programmatic",
36
- /** A pointer press outside the popup and its anchor. */
37
- OutsideClick = "outsideClick",
38
- /** The anchor scrolling away, when `closeOnScroll` is set. */
39
- Scroll = "scroll"
22
+ export declare enum PopupCloseSource {
23
+ /** A dialog action button, such as OK or Cancel. */
24
+ Action = "action",
25
+ /** A click on the backdrop, when `closeOnBackdropClick` allows it. */
26
+ BackdropClick = "backdropClick",
27
+ /** The close button of a dialog, window or sheet. */
28
+ CloseButton = "closeButton",
29
+ /** The Escape key. */
30
+ Escape = "escape",
31
+ /** The pointer leaving the anchor, when `closeOnMouseLeave` is set. */
32
+ MouseLeave = "mouseLeave",
33
+ /** A `close()` call from code, with no user interaction behind it. */
34
+ Programmatic = "programmatic",
35
+ /** A pointer press outside the popup and its anchor. */
36
+ OutsideClick = "outsideClick",
37
+ /** The anchor scrolling away, when `closeOnScroll` is set. */
38
+ Scroll = "scroll"
40
39
  }
41
-
42
- interface PopupOffset {
43
- horizontal?: number;
44
- vertical?: number;
40
+ export interface PopupOffset {
41
+ horizontal?: number;
42
+ vertical?: number;
45
43
  }
46
-
47
44
  interface PopupRefParams {
48
- get beforeClose$(): Observable<PopupCloseEvent>;
49
- close: <R>(result?: R, delay?: number) => boolean;
50
- get closeStart$(): Observable<PopupCloseEvent>;
51
- get closed$(): Observable<PopupCloseEvent>;
52
- get component(): ComponentRef<unknown> | null;
53
- get opened$(): Observable<void>;
54
- get overlayRef(): OverlayRef;
55
- get positionChanges$(): Observable<ConnectionPositionPair>;
45
+ get beforeClose$(): Observable<PopupCloseEvent>;
46
+ close: <R>(result?: R, delay?: number) => boolean;
47
+ get closeStart$(): Observable<PopupCloseEvent>;
48
+ get closed$(): Observable<PopupCloseEvent>;
49
+ get component(): ComponentRef<unknown> | null;
50
+ get opened$(): Observable<void>;
51
+ get overlayRef(): OverlayRef;
52
+ get positionChanges$(): Observable<ConnectionPositionPair>;
56
53
  }
57
-
58
54
  /** Returned by `PopupService.create()` and emitted via `PopupComponent`'s `open` output. */
59
- declare class PopupRef {
60
- #private;
61
- constructor(options: PopupRefParams);
62
- /**
63
- * Requests the popup to close.
64
- * @param result optional result passed to `beforeClose` and `closed` as the event's `result`
65
- * @param delay optional delay in milliseconds before the popup is removed, instead of waiting for the
66
- * leave animation
67
- * @returns `false` when the close was prevented or the popup is already closing, `true` otherwise.
68
- */
69
- close<R>(result?: R, delay?: number): boolean;
70
- /**
71
- * Closes the popup after a delay.
72
- * When the popup is closed, the overlay element is removed from the DOM instantly.
73
- * This causes the animation of the child elements to not play, therefore,
74
- * a delay is added to allow the animation to play.
75
- *
76
- * @see {@link https://github.com/angular/angular/issues/23302} for more information.
77
- * @param delay delay in milliseconds
78
- * @param result optional result to pass to the closed observable
79
- */
80
- closeWithDelay<R>(delay?: number, result?: R): void;
81
- /**
82
- * @description Emitted when the popup is about to close.
83
- * This event can be prevented. If it is prevented, the popup will not close.
84
- */
85
- get beforeClose(): Observable<PopupCloseEvent>;
86
- /**
87
- * @description Emitted when the popup begins closing, before the leave animation completes.
88
- * Subscribe to this to react at the moment the close sequence starts — for example, to begin
89
- * coordinating a transition in the consuming component. The `closed` observable fires after
90
- * the leave animation finishes.
91
- */
92
- get closeStart(): Observable<PopupCloseEvent>;
93
- /**
94
- * @description Emitted when the popup is closed.
95
- * This event is emitted after the animation completes.
96
- * Preventing this event has no effect.
97
- */
98
- get closed(): Observable<PopupCloseEvent>;
99
- /**
100
- * @description Reference to the component hosted in the popup.
101
- * This is `null` if the popup does not contain a component.
102
- */
103
- get component(): ComponentRef<unknown> | null;
104
- /**
105
- * @description Emitted when the popup is opened.
106
- */
107
- get opened(): Observable<void>;
108
- /**
109
- * @description Reference to the underlying CDK overlay.
110
- * Use this reference to manipulate the overlay directly, such as to set its size or position.
111
- * @see {@link https://material.angular.io/cdk/overlay/overview} for more information.
112
- * @example
113
- * ```ts
114
- * const overlayRef = popupRef.overlayRef;
115
- * overlayRef.updateSize({ width: '500px', height: '300px' });
116
- * ```
117
- */
118
- get overlayRef(): OverlayRef;
119
- /**
120
- * @description Returns the position pair of the popup's anchor element.
121
- * @example
122
- * ```ts
123
- * const positionChanges$ = popupRef.positionChanges;
124
- * positionChanges$.subscribe(pair => {
125
- * console.log(`Popup position changed to: ${pair.originX} ${pair.originY} -> ${pair.overlayX} ${pair.overlayY}`);
126
- * });
127
- * ```
128
- */
129
- get positionChanges(): Observable<ConnectionPositionPair>;
55
+ export declare class PopupRef {
56
+ #private;
57
+ constructor(options: PopupRefParams);
58
+ /**
59
+ * Requests the popup to close.
60
+ * @param result optional result passed to `beforeClose` and `closed` as the event's `result`
61
+ * @param delay optional delay in milliseconds before the popup is removed, instead of waiting for the
62
+ * leave animation
63
+ * @returns `false` when the close was prevented or the popup is already closing, `true` otherwise.
64
+ */
65
+ close<R>(result?: R, delay?: number): boolean;
66
+ /**
67
+ * Closes the popup after a delay.
68
+ * When the popup is closed, the overlay element is removed from the DOM instantly.
69
+ * This causes the animation of the child elements to not play, therefore,
70
+ * a delay is added to allow the animation to play.
71
+ *
72
+ * @see {@link https://github.com/angular/angular/issues/23302} for more information.
73
+ * @param delay delay in milliseconds
74
+ * @param result optional result to pass to the closed observable
75
+ */
76
+ closeWithDelay<R>(delay?: number, result?: R): void;
77
+ /**
78
+ * @description Emitted when the popup is about to close.
79
+ * This event can be prevented. If it is prevented, the popup will not close.
80
+ */
81
+ get beforeClose(): Observable<PopupCloseEvent>;
82
+ /**
83
+ * @description Emitted when the popup begins closing, before the leave animation completes.
84
+ * Subscribe to this to react at the moment the close sequence starts — for example, to begin
85
+ * coordinating a transition in the consuming component. The `closed` observable fires after
86
+ * the leave animation finishes.
87
+ */
88
+ get closeStart(): Observable<PopupCloseEvent>;
89
+ /**
90
+ * @description Emitted when the popup is closed.
91
+ * This event is emitted after the animation completes.
92
+ * Preventing this event has no effect.
93
+ */
94
+ get closed(): Observable<PopupCloseEvent>;
95
+ /**
96
+ * @description Reference to the component hosted in the popup.
97
+ * This is `null` if the popup does not contain a component.
98
+ */
99
+ get component(): ComponentRef<unknown> | null;
100
+ /**
101
+ * @description Emitted when the popup is opened.
102
+ */
103
+ get opened(): Observable<void>;
104
+ /**
105
+ * @description Reference to the underlying CDK overlay.
106
+ * Use this reference to manipulate the overlay directly, such as to set its size or position.
107
+ * @see {@link https://material.angular.io/cdk/overlay/overview} for more information.
108
+ * @example
109
+ * ```ts
110
+ * const overlayRef = popupRef.overlayRef;
111
+ * overlayRef.updateSize({ width: '500px', height: '300px' });
112
+ * ```
113
+ */
114
+ get overlayRef(): OverlayRef;
115
+ /**
116
+ * @description Returns the position pair of the popup's anchor element.
117
+ * @example
118
+ * ```ts
119
+ * const positionChanges$ = popupRef.positionChanges;
120
+ * positionChanges$.subscribe(pair => {
121
+ * console.log(`Popup position changed to: ${pair.originX} ${pair.originY} -> ${pair.overlayX} ${pair.overlayY}`);
122
+ * });
123
+ * ```
124
+ */
125
+ get positionChanges(): Observable<ConnectionPositionPair>;
130
126
  }
131
-
132
127
  type ConnectionPoint = "topleft" | "topcenter" | "topright" | "centerleft" | "center" | "centerright" | "bottomleft" | "bottomcenter" | "bottomright";
133
-
134
128
  type PopupAnchor = FlexibleConnectedPositionStrategyOrigin | string;
135
129
  interface PopupSettings<T = unknown, C = void> {
136
- /**
137
- * The anchor element to which the popup will be connected.
138
- * Can be an element, ElementRef, or CSS selector string.
139
- * @type {PopupAnchor}
140
- */
141
- anchor: PopupAnchor;
142
- /**
143
- * The connection point of the anchor element to which the popup will be connected.
144
- * @type {ConnectionPoint}
145
- */
146
- anchorConnectionPoint?: ConnectionPoint | null;
147
- /**
148
- * Animation settings for the popup.
149
- */
150
- animation?: boolean | PopupAnimationSettings;
151
- /**
152
- * Classes to be applied to the backdrop.
153
- * @type {string | string[]}
154
- */
155
- backdropClass?: string | string[];
156
- /**
157
- * Whether scrolling behind the popup should be blocked while it is open.
158
- * Default: false.
159
- * @type {boolean}
160
- */
161
- blockScroll?: boolean;
162
- /**
163
- * Whether the popup will be closed when the user clicks on the backdrop.
164
- * Only applies if `hasBackdrop` is true.
165
- * Default: true.
166
- * @type {boolean}
167
- */
168
- closeOnBackdropClick?: boolean;
169
- /**
170
- * Whether the popup will be closed when the user presses the escape key.
171
- * Escape only reaches the topmost open popup. When that popup sets this to `false`, Escape closes nothing,
172
- * not even the popups underneath it.
173
- * Default: true.
174
- * @type {boolean}
175
- */
176
- closeOnEscape?: boolean;
177
- /**
178
- * Whether the popup will be closed when the mouse leaves the anchor element.
179
- * Default: false.
180
- * @type {boolean}
181
- */
182
- closeOnMouseLeave?: boolean;
183
- /**
184
- * Whether the popup will be closed when the user clicks outside of it.
185
- * Clicks on the backdrop are governed by `closeOnBackdropClick` instead.
186
- * Default: true.
187
- * @type {boolean}
188
- */
189
- closeOnOutsideClick?: boolean;
190
- /**
191
- * Whether the popup will be closed when the user scrolls the page or a scrollable container around the anchor.
192
- * Default: false.
193
- * @type {boolean}
194
- */
195
- closeOnScroll?: boolean;
196
- /**
197
- * The content to display in the popup.
198
- * @type {TemplateRef | ComponentType}
199
- */
200
- content: TemplateRef<C> | ComponentType<C>;
201
- /**
202
- * Optional data to pass to the popup context.
203
- */
204
- data?: T;
205
- /**
206
- * Whether the popup will have a backdrop.
207
- * Default: false.
208
- */
209
- hasBackdrop?: boolean;
210
- /**
211
- * Height of the popup.
212
- * @type {number | string}
213
- */
214
- height?: number | string;
215
- /**
216
- * Parent injector for the popup content. Component content resolves its dependencies here, after
217
- * `providers`. Pass the injector of the component that opens the popup so its content can use services
218
- * provided by that component, its ancestors or a lazy-loaded route.
219
- * Default: the root injector.
220
- * @type {Injector}
221
- */
222
- injector?: Injector;
223
- /**
224
- * Maximum height of the popup.
225
- * @type {number | string}
226
- */
227
- maxHeight?: number | string;
228
- /**
229
- * Maximum width of the popup.
230
- * @type {number | string}
231
- */
232
- maxWidth?: number | string;
233
- /**
234
- * Minimum height of the popup.
235
- * @type {number | string}
236
- */
237
- minHeight?: number | string;
238
- /**
239
- * Minimum width of the popup.
240
- * @type {number | string}
241
- */
242
- minWidth?: number | string;
243
- /**
244
- * Offset of the popup.
245
- * @type {PopupOffset}
246
- */
247
- offset?: PopupOffset;
248
- /**
249
- * Classes to be applied to the popup.
250
- * @type {string | string[]}
251
- */
252
- popupClass?: string | string[];
253
- /**
254
- * The connection point of the popup element to which the anchor will be connected.
255
- * @type {ConnectionPoint}
256
- */
257
- popupConnectionPoint?: ConnectionPoint | null;
258
- /**
259
- * Classes to be applied to the popup wrapper content div.
260
- */
261
- popupWrapperClass?: string | string[];
262
- /**
263
- * The strategy for positioning the popup.
264
- * `global` means the popup will be positioned relative to the viewport,
265
- * `connected` means the popup will be positioned relative to the anchor element.
266
- * @type {"global" | "connected"}
267
- */
268
- positionStrategy?: "global" | "connected";
269
- /**
270
- * @description The positions to use for the popup.
271
- * The popup will try to position itself in the first position that fits.
272
- * This is only used when `positionStrategy` is set to `connected`.
273
- */
274
- positions?: Array<ConnectedPosition | ConnectionPositionPair>;
275
- /**
276
- * Optional callback invoked when the popup is about to close.
277
- * Return `true` to cancel the close. Takes priority over `PopupCloseEvent.preventDefault()`.
278
- * @type {(event: PopupCloseEvent) => boolean}
279
- */
280
- preventClose?: Action<PopupCloseEvent, boolean>;
281
- /**
282
- * Additional Angular providers made available within the popup's injector.
283
- * Use this to inject services or values that the popup content component needs.
284
- * @type {StaticProvider[]}
285
- */
286
- providers?: StaticProvider[];
287
- /**
288
- * Controls focus restoration behavior when the popup is closed.
289
- * - true: Always restore focus to anchor
290
- * - false: Never restore focus (recommended for tooltips)
291
- * - "auto": Only restore focus if the anchor, or an element inside it, was focused when the popup opened;
292
- * focus returns to that element
293
- * Focus is only restored while it is on the page itself, inside the popup or inside the anchor. If the user
294
- * moved it elsewhere, for example by clicking another field, it stays there.
295
- * Default: "auto".
296
- * @type {boolean | "auto"}
297
- */
298
- restoreFocus?: boolean | "auto";
299
- /**
300
- * Width of the popup.
301
- * @type {number | string}
302
- */
303
- width?: number | string;
304
- /**
305
- * Whether the CDK overlay should push the popup into the visible viewport when it would
306
- * otherwise overflow the screen edges.
307
- * Default: true.
308
- * @type {boolean}
309
- */
310
- withPush?: boolean;
311
- /**
312
- * Whether the popup should track scroll events and reposition itself.
313
- * Default: true.
314
- * @type {boolean}
315
- */
316
- withScrollTracking?: boolean;
130
+ /**
131
+ * The anchor element to which the popup will be connected.
132
+ * Can be an element, ElementRef, or CSS selector string.
133
+ * @type {PopupAnchor}
134
+ */
135
+ anchor: PopupAnchor;
136
+ /**
137
+ * The connection point of the anchor element to which the popup will be connected.
138
+ * @type {ConnectionPoint}
139
+ */
140
+ anchorConnectionPoint?: ConnectionPoint | null;
141
+ /**
142
+ * Animation settings for the popup.
143
+ */
144
+ animation?: boolean | PopupAnimationSettings;
145
+ /**
146
+ * Classes to be applied to the backdrop.
147
+ * @type {string | string[]}
148
+ */
149
+ backdropClass?: string | string[];
150
+ /**
151
+ * Whether scrolling behind the popup should be blocked while it is open. A page whose root doesn't scroll, because
152
+ * `html` or `body` hides its overflow, is left as it is, so no scrollbar appears and the page doesn't shift.
153
+ * Default: false.
154
+ * @type {boolean}
155
+ */
156
+ blockScroll?: boolean;
157
+ /**
158
+ * Whether the popup will be closed when the user clicks on the backdrop.
159
+ * Only applies if `hasBackdrop` is true.
160
+ * Default: true.
161
+ * @type {boolean}
162
+ */
163
+ closeOnBackdropClick?: boolean;
164
+ /**
165
+ * Whether the popup will be closed when the user presses the escape key.
166
+ * Escape only reaches the topmost open popup. When that popup sets this to `false`, Escape closes nothing,
167
+ * not even the popups underneath it.
168
+ * Default: true.
169
+ * @type {boolean}
170
+ */
171
+ closeOnEscape?: boolean;
172
+ /**
173
+ * Whether the popup will be closed when the mouse leaves the anchor element.
174
+ * Default: false.
175
+ * @type {boolean}
176
+ */
177
+ closeOnMouseLeave?: boolean;
178
+ /**
179
+ * Whether the popup will be closed when the user clicks outside of it.
180
+ * Clicks on the backdrop are governed by `closeOnBackdropClick` instead.
181
+ * Default: true.
182
+ * @type {boolean}
183
+ */
184
+ closeOnOutsideClick?: boolean;
185
+ /**
186
+ * Whether the popup will be closed when the user scrolls the page or a scrollable container around the anchor.
187
+ * Default: false.
188
+ * @type {boolean}
189
+ */
190
+ closeOnScroll?: boolean;
191
+ /**
192
+ * The content to display in the popup.
193
+ * @type {TemplateRef | ComponentType}
194
+ */
195
+ content: TemplateRef<C> | ComponentType<C>;
196
+ /**
197
+ * Optional data to pass to the popup context.
198
+ */
199
+ data?: T;
200
+ /**
201
+ * Whether the popup will have a backdrop.
202
+ * Default: false.
203
+ */
204
+ hasBackdrop?: boolean;
205
+ /**
206
+ * Height of the popup.
207
+ * @type {number | string}
208
+ */
209
+ height?: number | string;
210
+ /**
211
+ * Parent injector for the popup content. Component content resolves its dependencies here, after
212
+ * `providers`. Pass the injector of the component that opens the popup so its content can use services
213
+ * provided by that component, its ancestors or a lazy-loaded route.
214
+ * Default: the root injector.
215
+ * @type {Injector}
216
+ */
217
+ injector?: Injector;
218
+ /**
219
+ * Maximum height of the popup.
220
+ * @type {number | string}
221
+ */
222
+ maxHeight?: number | string;
223
+ /**
224
+ * Maximum width of the popup.
225
+ * @type {number | string}
226
+ */
227
+ maxWidth?: number | string;
228
+ /**
229
+ * Minimum height of the popup.
230
+ * @type {number | string}
231
+ */
232
+ minHeight?: number | string;
233
+ /**
234
+ * Minimum width of the popup.
235
+ * @type {number | string}
236
+ */
237
+ minWidth?: number | string;
238
+ /**
239
+ * Offset of the popup.
240
+ * @type {PopupOffset}
241
+ */
242
+ offset?: PopupOffset;
243
+ /**
244
+ * Classes to be applied to the popup.
245
+ * @type {string | string[]}
246
+ */
247
+ popupClass?: string | string[];
248
+ /**
249
+ * The connection point of the popup element to which the anchor will be connected.
250
+ * @type {ConnectionPoint}
251
+ */
252
+ popupConnectionPoint?: ConnectionPoint | null;
253
+ /**
254
+ * Classes to be applied to the popup wrapper content div.
255
+ */
256
+ popupWrapperClass?: string | string[];
257
+ /**
258
+ * The strategy for positioning the popup.
259
+ * `global` means the popup will be positioned relative to the viewport,
260
+ * `connected` means the popup will be positioned relative to the anchor element.
261
+ * @type {"global" | "connected"}
262
+ */
263
+ positionStrategy?: "global" | "connected";
264
+ /**
265
+ * @description The positions to use for the popup.
266
+ * The popup will try to position itself in the first position that fits.
267
+ * This is only used when `positionStrategy` is set to `connected`.
268
+ */
269
+ positions?: Array<ConnectedPosition | ConnectionPositionPair>;
270
+ /**
271
+ * Optional callback invoked when the popup is about to close.
272
+ * Return `true` to cancel the close. Takes priority over `PopupCloseEvent.preventDefault()`.
273
+ * @type {(event: PopupCloseEvent) => boolean}
274
+ */
275
+ preventClose?: Action<PopupCloseEvent, boolean>;
276
+ /**
277
+ * Additional Angular providers made available within the popup's injector.
278
+ * Use this to inject services or values that the popup content component needs.
279
+ * @type {StaticProvider[]}
280
+ */
281
+ providers?: StaticProvider[];
282
+ /**
283
+ * Controls focus restoration behavior when the popup is closed.
284
+ * - true: Always restore focus to anchor
285
+ * - false: Never restore focus (recommended for tooltips)
286
+ * - "auto": Only restore focus if the anchor, or an element inside it, was focused when the popup opened;
287
+ * focus returns to that element
288
+ * Focus is only restored while it is on the page itself, inside the popup or inside the anchor. If the user
289
+ * moved it elsewhere, for example by clicking another field, it stays there.
290
+ * Default: "auto".
291
+ * @type {boolean | "auto"}
292
+ */
293
+ restoreFocus?: boolean | "auto";
294
+ /**
295
+ * Width of the popup.
296
+ * @type {number | string}
297
+ */
298
+ width?: number | string;
299
+ /**
300
+ * Whether the CDK overlay should push the popup into the visible viewport when it would
301
+ * otherwise overflow the screen edges.
302
+ * Default: true.
303
+ * @type {boolean}
304
+ */
305
+ withPush?: boolean;
306
+ /**
307
+ * Whether the popup should track scroll events and reposition itself.
308
+ * Default: true.
309
+ * @type {boolean}
310
+ */
311
+ withScrollTracking?: boolean;
317
312
  }
318
313
  interface PopupAnimationSettings {
319
- /**
320
- * CSS class or classes applied by animate.enter when the popup is shown.
321
- */
322
- enter?: string | string[];
323
- /**
324
- * CSS class or classes applied by animate.leave when the popup is hidden.
325
- */
326
- leave?: string | string[];
314
+ /**
315
+ * CSS class or classes applied by animate.enter when the popup is shown.
316
+ */
317
+ enter?: string | string[];
318
+ /**
319
+ * CSS class or classes applied by animate.leave when the popup is hidden.
320
+ */
321
+ leave?: string | string[];
327
322
  }
328
-
329
- declare class PopupComponent<T = unknown> implements OnDestroy {
330
- #private;
331
- protected readonly contentTemplate: _angular_core.Signal<TemplateRef<any>>;
332
- protected popupRef: PopupRef | null;
333
- /**
334
- * @description The anchor element or point for the popup.
335
- */
336
- readonly anchor: _angular_core.InputSignal<FlexibleConnectedPositionStrategyOrigin>;
337
- /**
338
- * @description The connection point for the popup anchor.
339
- */
340
- readonly anchorConnectionPoint: _angular_core.InputSignal<ConnectionPoint>;
341
- /**
342
- * @description The animation settings for the popup.
343
- */
344
- readonly animation: _angular_core.InputSignal<boolean | PopupAnimationSettings>;
345
- /**
346
- * @description The class or classes to apply to the backdrop of the popup.
347
- */
348
- readonly backdropClass: _angular_core.InputSignal<string | string[]>;
349
- /**
350
- * @description Emits when the popup is closed.
351
- */
352
- readonly close: _angular_core.OutputEmitterRef<void>;
353
- /**
354
- * @description Whether to close the popup when clicking on the backdrop.
355
- * Only applies when the popup has a backdrop.
356
- */
357
- readonly closeOnBackdropClick: _angular_core.InputSignalWithTransform<boolean, unknown>;
358
- /**
359
- * @description Whether to close the popup when the escape key is pressed.
360
- * Escape only reaches the topmost open popup.
361
- */
362
- readonly closeOnEscape: _angular_core.InputSignalWithTransform<boolean, unknown>;
363
- /**
364
- * @description Whether to close the popup when the mouse leaves the anchor element.
365
- */
366
- readonly closeOnMouseLeave: _angular_core.InputSignalWithTransform<boolean, unknown>;
367
- /**
368
- * @description Whether to close the popup when clicking outside of it.
369
- */
370
- readonly closeOnOutsideClick: _angular_core.InputSignalWithTransform<boolean, unknown>;
371
- /**
372
- * @description Whether to close the popup when the user scrolls the page or a scrollable container around the anchor.
373
- */
374
- readonly closeOnScroll: _angular_core.InputSignalWithTransform<boolean, unknown>;
375
- /**
376
- * @description Arbitrary data to pass to the popup.
377
- */
378
- readonly data: _angular_core.InputSignal<T | undefined>;
379
- /**
380
- * @description Whether the popup should have a backdrop.
381
- */
382
- readonly hasBackdrop: _angular_core.InputSignalWithTransform<boolean, unknown>;
383
- /**
384
- * @description The height of the popup.
385
- */
386
- readonly height: _angular_core.InputSignal<string | number | undefined>;
387
- /**
388
- * @description The maximum height of the popup.
389
- */
390
- readonly maxHeight: _angular_core.InputSignal<string | number | undefined>;
391
- /**
392
- * @description The maximum width of the popup.
393
- */
394
- readonly maxWidth: _angular_core.InputSignal<string | number | undefined>;
395
- /**
396
- * @description The minimum height of the popup.
397
- */
398
- readonly minHeight: _angular_core.InputSignal<string | number | undefined>;
399
- /**
400
- * @description The minimum width of the popup.
401
- */
402
- readonly minWidth: _angular_core.InputSignal<string | number | undefined>;
403
- /**
404
- * @description The offset of the popup from the anchor.
405
- */
406
- readonly offset: _angular_core.InputSignal<PopupOffset | undefined>;
407
- /**
408
- * @description Emits when the popup is opened.
409
- */
410
- readonly open: _angular_core.OutputEmitterRef<PopupRef>;
411
- /**
412
- * @description The class or classes to apply to the popup.
413
- */
414
- readonly popupClass: _angular_core.InputSignal<string | string[]>;
415
- /**
416
- * @description The connection point for the popup.
417
- */
418
- readonly popupConnectionPoint: _angular_core.InputSignal<ConnectionPoint>;
419
- /**
420
- * @description The class or classes to apply to the popup wrapper.
421
- */
422
- readonly popupWrapperClass: _angular_core.InputSignal<string | string[]>;
423
- /**
424
- * @description The strategy for positioning the popup.
425
- * `global` means the popup will be positioned relative to the viewport,
426
- * `connected` means the popup will be positioned relative to the anchor element.
427
- */
428
- readonly positionStrategy: _angular_core.InputSignal<"global" | "connected">;
429
- /**
430
- * @description The positions to use for the popup.
431
- * The popup will try to position itself in the first position that fits.
432
- * This is only used when the `positionStrategy` is set to `connected`.
433
- */
434
- readonly positions: _angular_core.InputSignal<(ConnectionPositionPair | ConnectedPosition)[] | undefined>;
435
- /**
436
- * @description Called when the popup is requested to close.
437
- * This can be used to prevent the popup from closing.
438
- */
439
- readonly preventClose: _angular_core.InputSignal<Action<PopupCloseEvent<unknown>, boolean> | undefined>;
440
- /**
441
- * @description The providers that will be injected into the popup.
442
- */
443
- readonly providers: _angular_core.InputSignal<StaticProvider[]>;
444
- /**
445
- * @description Controls focus restoration when the popup closes.
446
- * - `true`: always restore focus to the anchor element.
447
- * - `false`: never restore focus (recommended for tooltips).
448
- * - `"auto"`: restore focus only if the anchor, or an element inside it, was focused when the popup opened.
449
- *
450
- * Focus is left alone if the user moved it outside the popup and the anchor before it closed.
451
- */
452
- readonly restoreFocus: _angular_core.InputSignalWithTransform<boolean | "auto", unknown>;
453
- /**
454
- * @description The trigger event for opening the popup.
455
- */
456
- readonly trigger: _angular_core.InputSignal<string>;
457
- /**
458
- * @description The width of the popup.
459
- */
460
- readonly width: _angular_core.InputSignal<string | number | undefined>;
461
- /**
462
- * @description Whether to push the popup into the screen when it is opened.
463
- */
464
- readonly withPush: _angular_core.InputSignalWithTransform<boolean, unknown>;
465
- /**
466
- * @description Whether the popup should track scroll events and reposition itself.
467
- */
468
- readonly withScrollTracking: _angular_core.InputSignalWithTransform<boolean, unknown>;
469
- constructor();
470
- /** Closes the popup if one is currently open. */
471
- closePopup(): void;
472
- ngOnDestroy(): void;
473
- private getPopupWidth;
474
- private setupEventListeners;
475
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<PopupComponent<any>, never>;
476
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<PopupComponent<any>, "mona-popup", never, { "anchor": { "alias": "anchor"; "required": true; "isSignal": true; }; "anchorConnectionPoint": { "alias": "anchorConnectionPoint"; "required": false; "isSignal": true; }; "animation": { "alias": "animation"; "required": false; "isSignal": true; }; "backdropClass": { "alias": "backdropClass"; "required": false; "isSignal": true; }; "closeOnBackdropClick": { "alias": "closeOnBackdropClick"; "required": false; "isSignal": true; }; "closeOnEscape": { "alias": "closeOnEscape"; "required": false; "isSignal": true; }; "closeOnMouseLeave": { "alias": "closeOnMouseLeave"; "required": false; "isSignal": true; }; "closeOnOutsideClick": { "alias": "closeOnOutsideClick"; "required": false; "isSignal": true; }; "closeOnScroll": { "alias": "closeOnScroll"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "hasBackdrop": { "alias": "hasBackdrop"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; "minHeight": { "alias": "minHeight"; "required": false; "isSignal": true; }; "minWidth": { "alias": "minWidth"; "required": false; "isSignal": true; }; "offset": { "alias": "offset"; "required": false; "isSignal": true; }; "popupClass": { "alias": "popupClass"; "required": false; "isSignal": true; }; "popupConnectionPoint": { "alias": "popupConnectionPoint"; "required": false; "isSignal": true; }; "popupWrapperClass": { "alias": "popupWrapperClass"; "required": false; "isSignal": true; }; "positionStrategy": { "alias": "positionStrategy"; "required": false; "isSignal": true; }; "positions": { "alias": "positions"; "required": false; "isSignal": true; }; "preventClose": { "alias": "preventClose"; "required": false; "isSignal": true; }; "providers": { "alias": "providers"; "required": false; "isSignal": true; }; "restoreFocus": { "alias": "restoreFocus"; "required": false; "isSignal": true; }; "trigger": { "alias": "trigger"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "withPush": { "alias": "withPush"; "required": false; "isSignal": true; }; "withScrollTracking": { "alias": "withScrollTracking"; "required": false; "isSignal": true; }; }, { "close": "close"; "open": "open"; }, never, ["*"], true, never>;
323
+ export declare class PopupComponent<T = unknown> implements OnDestroy {
324
+ #private;
325
+ protected readonly contentTemplate: import("@angular/core").Signal<TemplateRef<any>>;
326
+ protected popupRef: PopupRef | null;
327
+ /**
328
+ * @description The anchor element or point for the popup.
329
+ */
330
+ readonly anchor: import("@angular/core").InputSignal<FlexibleConnectedPositionStrategyOrigin>;
331
+ /**
332
+ * @description The connection point for the popup anchor.
333
+ */
334
+ readonly anchorConnectionPoint: import("@angular/core").InputSignal<ConnectionPoint>;
335
+ /**
336
+ * @description The animation settings for the popup.
337
+ */
338
+ readonly animation: import("@angular/core").InputSignal<boolean | PopupAnimationSettings>;
339
+ /**
340
+ * @description The class or classes to apply to the backdrop of the popup.
341
+ */
342
+ readonly backdropClass: import("@angular/core").InputSignal<string | string[]>;
343
+ /**
344
+ * @description Emits when the popup is closed.
345
+ */
346
+ readonly close: import("@angular/core").OutputEmitterRef<void>;
347
+ /**
348
+ * @description Whether to close the popup when clicking on the backdrop.
349
+ * Only applies when the popup has a backdrop.
350
+ */
351
+ readonly closeOnBackdropClick: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
352
+ /**
353
+ * @description Whether to close the popup when the escape key is pressed.
354
+ * Escape only reaches the topmost open popup.
355
+ */
356
+ readonly closeOnEscape: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
357
+ /**
358
+ * @description Whether to close the popup when the mouse leaves the anchor element.
359
+ */
360
+ readonly closeOnMouseLeave: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
361
+ /**
362
+ * @description Whether to close the popup when clicking outside of it.
363
+ */
364
+ readonly closeOnOutsideClick: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
365
+ /**
366
+ * @description Whether to close the popup when the user scrolls the page or a scrollable container around the anchor.
367
+ */
368
+ readonly closeOnScroll: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
369
+ /**
370
+ * @description Arbitrary data to pass to the popup.
371
+ */
372
+ readonly data: import("@angular/core").InputSignal<T | undefined>;
373
+ /**
374
+ * @description Whether the popup should have a backdrop.
375
+ */
376
+ readonly hasBackdrop: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
377
+ /**
378
+ * @description The height of the popup.
379
+ */
380
+ readonly height: import("@angular/core").InputSignal<string | number | undefined>;
381
+ /**
382
+ * @description The maximum height of the popup.
383
+ */
384
+ readonly maxHeight: import("@angular/core").InputSignal<string | number | undefined>;
385
+ /**
386
+ * @description The maximum width of the popup.
387
+ */
388
+ readonly maxWidth: import("@angular/core").InputSignal<string | number | undefined>;
389
+ /**
390
+ * @description The minimum height of the popup.
391
+ */
392
+ readonly minHeight: import("@angular/core").InputSignal<string | number | undefined>;
393
+ /**
394
+ * @description The minimum width of the popup.
395
+ */
396
+ readonly minWidth: import("@angular/core").InputSignal<string | number | undefined>;
397
+ /**
398
+ * @description The offset of the popup from the anchor.
399
+ */
400
+ readonly offset: import("@angular/core").InputSignal<PopupOffset | undefined>;
401
+ /**
402
+ * @description Emits when the popup is opened.
403
+ */
404
+ readonly open: import("@angular/core").OutputEmitterRef<PopupRef>;
405
+ /**
406
+ * @description The class or classes to apply to the popup.
407
+ */
408
+ readonly popupClass: import("@angular/core").InputSignal<string | string[]>;
409
+ /**
410
+ * @description The connection point for the popup.
411
+ */
412
+ readonly popupConnectionPoint: import("@angular/core").InputSignal<ConnectionPoint>;
413
+ /**
414
+ * @description The class or classes to apply to the popup wrapper.
415
+ */
416
+ readonly popupWrapperClass: import("@angular/core").InputSignal<string | string[]>;
417
+ /**
418
+ * @description The strategy for positioning the popup.
419
+ * `global` means the popup will be positioned relative to the viewport,
420
+ * `connected` means the popup will be positioned relative to the anchor element.
421
+ */
422
+ readonly positionStrategy: import("@angular/core").InputSignal<"global" | "connected">;
423
+ /**
424
+ * @description The positions to use for the popup.
425
+ * The popup will try to position itself in the first position that fits.
426
+ * This is only used when the `positionStrategy` is set to `connected`.
427
+ */
428
+ readonly positions: import("@angular/core").InputSignal<(ConnectionPositionPair | ConnectedPosition)[] | undefined>;
429
+ /**
430
+ * @description Called when the popup is requested to close.
431
+ * This can be used to prevent the popup from closing.
432
+ */
433
+ readonly preventClose: import("@angular/core").InputSignal<Action<PopupCloseEvent<unknown>, boolean> | undefined>;
434
+ /**
435
+ * @description The providers that will be injected into the popup.
436
+ */
437
+ readonly providers: import("@angular/core").InputSignal<StaticProvider[]>;
438
+ /**
439
+ * @description Controls focus restoration when the popup closes.
440
+ * - `true`: always restore focus to the anchor element.
441
+ * - `false`: never restore focus (recommended for tooltips).
442
+ * - `"auto"`: restore focus only if the anchor, or an element inside it, was focused when the popup opened.
443
+ *
444
+ * Focus is left alone if the user moved it outside the popup and the anchor before it closed.
445
+ */
446
+ readonly restoreFocus: import("@angular/core").InputSignalWithTransform<boolean | "auto", unknown>;
447
+ /**
448
+ * @description The trigger event for opening the popup.
449
+ */
450
+ readonly trigger: import("@angular/core").InputSignal<string>;
451
+ /**
452
+ * @description The width of the popup.
453
+ */
454
+ readonly width: import("@angular/core").InputSignal<string | number | undefined>;
455
+ /**
456
+ * @description Whether to push the popup into the screen when it is opened.
457
+ */
458
+ readonly withPush: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
459
+ /**
460
+ * @description Whether the popup should track scroll events and reposition itself.
461
+ */
462
+ readonly withScrollTracking: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
463
+ constructor();
464
+ /** Closes the popup if one is currently open. */
465
+ closePopup(): void;
466
+ ngOnDestroy(): void;
467
+ private getPopupWidth;
468
+ private setupEventListeners;
469
+ static ɵfac: i0.ɵɵFactoryDeclaration<PopupComponent<any>, never>;
470
+ static ɵcmp: i0.ɵɵComponentDeclaration<PopupComponent<any>, "mona-popup", never, {
471
+ "anchor": {
472
+ "alias": "anchor";
473
+ "required": true;
474
+ "isSignal": true;
475
+ };
476
+ "anchorConnectionPoint": {
477
+ "alias": "anchorConnectionPoint";
478
+ "required": false;
479
+ "isSignal": true;
480
+ };
481
+ "animation": {
482
+ "alias": "animation";
483
+ "required": false;
484
+ "isSignal": true;
485
+ };
486
+ "backdropClass": {
487
+ "alias": "backdropClass";
488
+ "required": false;
489
+ "isSignal": true;
490
+ };
491
+ "closeOnBackdropClick": {
492
+ "alias": "closeOnBackdropClick";
493
+ "required": false;
494
+ "isSignal": true;
495
+ };
496
+ "closeOnEscape": {
497
+ "alias": "closeOnEscape";
498
+ "required": false;
499
+ "isSignal": true;
500
+ };
501
+ "closeOnMouseLeave": {
502
+ "alias": "closeOnMouseLeave";
503
+ "required": false;
504
+ "isSignal": true;
505
+ };
506
+ "closeOnOutsideClick": {
507
+ "alias": "closeOnOutsideClick";
508
+ "required": false;
509
+ "isSignal": true;
510
+ };
511
+ "closeOnScroll": {
512
+ "alias": "closeOnScroll";
513
+ "required": false;
514
+ "isSignal": true;
515
+ };
516
+ "data": {
517
+ "alias": "data";
518
+ "required": false;
519
+ "isSignal": true;
520
+ };
521
+ "hasBackdrop": {
522
+ "alias": "hasBackdrop";
523
+ "required": false;
524
+ "isSignal": true;
525
+ };
526
+ "height": {
527
+ "alias": "height";
528
+ "required": false;
529
+ "isSignal": true;
530
+ };
531
+ "maxHeight": {
532
+ "alias": "maxHeight";
533
+ "required": false;
534
+ "isSignal": true;
535
+ };
536
+ "maxWidth": {
537
+ "alias": "maxWidth";
538
+ "required": false;
539
+ "isSignal": true;
540
+ };
541
+ "minHeight": {
542
+ "alias": "minHeight";
543
+ "required": false;
544
+ "isSignal": true;
545
+ };
546
+ "minWidth": {
547
+ "alias": "minWidth";
548
+ "required": false;
549
+ "isSignal": true;
550
+ };
551
+ "offset": {
552
+ "alias": "offset";
553
+ "required": false;
554
+ "isSignal": true;
555
+ };
556
+ "popupClass": {
557
+ "alias": "popupClass";
558
+ "required": false;
559
+ "isSignal": true;
560
+ };
561
+ "popupConnectionPoint": {
562
+ "alias": "popupConnectionPoint";
563
+ "required": false;
564
+ "isSignal": true;
565
+ };
566
+ "popupWrapperClass": {
567
+ "alias": "popupWrapperClass";
568
+ "required": false;
569
+ "isSignal": true;
570
+ };
571
+ "positionStrategy": {
572
+ "alias": "positionStrategy";
573
+ "required": false;
574
+ "isSignal": true;
575
+ };
576
+ "positions": {
577
+ "alias": "positions";
578
+ "required": false;
579
+ "isSignal": true;
580
+ };
581
+ "preventClose": {
582
+ "alias": "preventClose";
583
+ "required": false;
584
+ "isSignal": true;
585
+ };
586
+ "providers": {
587
+ "alias": "providers";
588
+ "required": false;
589
+ "isSignal": true;
590
+ };
591
+ "restoreFocus": {
592
+ "alias": "restoreFocus";
593
+ "required": false;
594
+ "isSignal": true;
595
+ };
596
+ "trigger": {
597
+ "alias": "trigger";
598
+ "required": false;
599
+ "isSignal": true;
600
+ };
601
+ "width": {
602
+ "alias": "width";
603
+ "required": false;
604
+ "isSignal": true;
605
+ };
606
+ "withPush": {
607
+ "alias": "withPush";
608
+ "required": false;
609
+ "isSignal": true;
610
+ };
611
+ "withScrollTracking": {
612
+ "alias": "withScrollTracking";
613
+ "required": false;
614
+ "isSignal": true;
615
+ };
616
+ }, {
617
+ "close": "close";
618
+ "open": "open";
619
+ }, never, ["*"], true, never>;
477
620
  }
478
-
479
- declare class PopupService {
480
- #private;
481
- /**
482
- * Opens a popup and returns its `PopupRef`. If `settings.anchor` is a CSS selector string, creates a
483
- * hover-triggered popup for every matching element (see Multi-element popups); otherwise creates a single popup
484
- * attached to the given element, `ElementRef`, or point.
485
- */
486
- create(settings: PopupSettings): PopupRef;
487
- private attachContent;
488
- private buildPanelClass;
489
- /**
490
- * With `"auto"` (also the default), remembers the focused element when it is the anchor or inside it, such
491
- * as the button inside a host component or the input inside a date picker, and returns focus to that element.
492
- */
493
- private captureOriginalFocus;
494
- private createInjector;
495
- private createMultiElementPopup;
496
- private createOverlay;
497
- private createPositionStrategy;
498
- private createScrollDispatcherTarget;
499
- private createSingleElementPopup;
500
- private getAnchorElement;
501
- private getPosition;
502
- private getScrollableAncestorElements;
503
- private getScrollableContainers;
504
- private getTopmostOpenPopup;
505
- /**
506
- * Escape goes to the topmost open popup only, so closing a dropdown inside a dialog leaves the dialog
507
- * open. The topmost popup consumes the key even when it doesn't close on Escape, so a modal that can't
508
- * be dismissed doesn't let it reach the popup underneath. An Escape that ends an IME composition is left
509
- * alone. `preventDefault()` doesn't keep the popup open, because controls call it on every navigation key;
510
- * a control that handles Escape itself stops its propagation instead.
511
- */
512
- private handleEscapeKey;
513
- private handleFocusRestoration;
514
- private isScrollableElement;
515
- private isScrollableOverflow;
516
- /**
517
- * One pair of `document` listeners serves every open popup. The capturing one notes which popup is on
518
- * top before the key reaches any control; the bubbling one closes it if nothing handled the key.
519
- */
520
- private listenForEscape;
521
- /**
522
- * A popup leaves the stack as soon as it starts closing, so a second Escape during its leave animation
523
- * goes to the popup underneath.
524
- */
525
- private registerOpenPopup;
526
- /**
527
- * Resolves a PopupAnchor to a FlexibleConnectedPositionStrategyOrigin.
528
- * This method should only receive actual elements or ElementRefs, not CSS selector strings.
529
- * CSS selectors are handled by the multi-element popup creation path.
530
- * @param anchor The anchor to resolve (should be Element or ElementRef)
531
- * @returns The resolved anchor
532
- */
533
- private resolveAnchor;
534
- private setupBackdropCloseSubscription;
535
- /**
536
- * Starts the backdrop fade-out as soon as the close begins, so it runs alongside the popup's leave
537
- * animation. Without it the backdrop stays fully opaque until `dispose()` removes it in one frame.
538
- */
539
- private setupBackdropFadeOut;
540
- private setupCleanupSubscription;
541
- private setupCloseSubscriptions;
542
- /**
543
- * `PopupRef.overlayRef` is public, so the overlay can be detached or disposed without going through
544
- * `close()`. Finish the close then too, or `closed` never fires and focus, subscriptions and consumers
545
- * waiting for it (the dropdowns won't reopen until it does) stay stuck.
546
- */
547
- private setupDetachTracking;
548
- private setupDirectionTracking;
549
- /**
550
- * Listens on the document rather than on the elements matched at creation time, so elements added later
551
- * get a popup too. One popup shows at a time; it closes when the pointer leaves its element, and the
552
- * returned subscription's teardown closes it as well.
553
- */
554
- private setupInternalEventDelegation;
555
- private setupMouseLeaveSubscription;
556
- private setupOutsideClickSubscription;
557
- private setupPositionChangeTracking;
558
- private setupScrollClosing;
559
- private setupScrollTracking;
560
- private shouldIgnoreOutsideClick;
561
- private unregisterOpenPopup;
562
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<PopupService, never>;
563
- static ɵprov: _angular_core.ɵɵInjectableDeclaration<PopupService>;
621
+ export declare class PopupService {
622
+ #private;
623
+ /**
624
+ * Opens a popup and returns its `PopupRef`. If `settings.anchor` is a CSS selector string, creates a
625
+ * hover-triggered popup for every matching element (see Multi-element popups); otherwise creates a single popup
626
+ * attached to the given element, `ElementRef`, or point.
627
+ */
628
+ create(settings: PopupSettings): PopupRef;
629
+ private attachContent;
630
+ private buildPanelClass;
631
+ /**
632
+ * With `"auto"` (also the default), remembers the focused element when it is the anchor or inside it, such
633
+ * as the button inside a host component or the input inside a date picker, and returns focus to that element.
634
+ */
635
+ private captureOriginalFocus;
636
+ private createInjector;
637
+ private createMultiElementPopup;
638
+ private createOverlay;
639
+ private createPositionStrategy;
640
+ private createScrollDispatcherTarget;
641
+ private createSingleElementPopup;
642
+ private getAnchorElement;
643
+ private getPosition;
644
+ private getScrollableAncestorElements;
645
+ private getScrollableContainers;
646
+ private getTopmostOpenPopup;
647
+ /**
648
+ * Escape goes to the topmost open popup only, so closing a dropdown inside a dialog leaves the dialog
649
+ * open. The topmost popup consumes the key even when it doesn't close on Escape, so a modal that can't
650
+ * be dismissed doesn't let it reach the popup underneath. An Escape that ends an IME composition is left
651
+ * alone. `preventDefault()` doesn't keep the popup open, because controls call it on every navigation key;
652
+ * a control that handles Escape itself stops its propagation instead.
653
+ */
654
+ private handleEscapeKey;
655
+ private handleFocusRestoration;
656
+ private isScrollableElement;
657
+ private isScrollableOverflow;
658
+ /**
659
+ * One pair of `document` listeners serves every open popup. The capturing one notes which popup is on
660
+ * top before the key reaches any control; the bubbling one closes it if nothing handled the key.
661
+ */
662
+ private listenForEscape;
663
+ /**
664
+ * A popup leaves the stack as soon as it starts closing, so a second Escape during its leave animation
665
+ * goes to the popup underneath.
666
+ */
667
+ private registerOpenPopup;
668
+ /**
669
+ * Resolves a PopupAnchor to a FlexibleConnectedPositionStrategyOrigin.
670
+ * This method should only receive actual elements or ElementRefs, not CSS selector strings.
671
+ * CSS selectors are handled by the multi-element popup creation path.
672
+ * @param anchor The anchor to resolve (should be Element or ElementRef)
673
+ * @returns The resolved anchor
674
+ */
675
+ private resolveAnchor;
676
+ private setupBackdropCloseSubscription;
677
+ /**
678
+ * Starts the backdrop fade-out as soon as the close begins, so it runs alongside the popup's leave
679
+ * animation. Without it the backdrop stays fully opaque until `dispose()` removes it in one frame.
680
+ */
681
+ private setupBackdropFadeOut;
682
+ private setupCleanupSubscription;
683
+ private setupCloseSubscriptions;
684
+ /**
685
+ * `PopupRef.overlayRef` is public, so the overlay can be detached or disposed without going through
686
+ * `close()`. Finish the close then too, or `closed` never fires and focus, subscriptions and consumers
687
+ * waiting for it (the dropdowns won't reopen until it does) stay stuck.
688
+ */
689
+ private setupDetachTracking;
690
+ private setupDirectionTracking;
691
+ /**
692
+ * Listens on the document rather than on the elements matched at creation time, so elements added later
693
+ * get a popup too. One popup shows at a time; it closes when the pointer leaves its element, and the
694
+ * returned subscription's teardown closes it as well.
695
+ */
696
+ private setupInternalEventDelegation;
697
+ private setupMouseLeaveSubscription;
698
+ private setupOutsideClickSubscription;
699
+ private setupPositionChangeTracking;
700
+ private setupScrollClosing;
701
+ private setupScrollTracking;
702
+ private shouldIgnoreOutsideClick;
703
+ private unregisterOpenPopup;
704
+ static ɵfac: i0.ɵɵFactoryDeclaration<PopupService, never>;
705
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
564
706
  }
565
-
566
- declare const defaultPopupAnimation: Required<PopupAnimationSettings>;
567
- declare const dropdownPopupAnimation: Required<PopupAnimationSettings>;
568
- declare const fadePopupAnimation: Required<PopupAnimationSettings>;
569
- declare const slideFromRightPopupAnimation: Required<PopupAnimationSettings>;
570
- declare const slideFromLeftPopupAnimation: Required<PopupAnimationSettings>;
571
- declare const slideFromTopPopupAnimation: Required<PopupAnimationSettings>;
572
- declare const slideFromBottomPopupAnimation: Required<PopupAnimationSettings>;
573
-
707
+ export declare const defaultPopupAnimation: Required<PopupAnimationSettings>;
708
+ export declare const dropdownPopupAnimation: Required<PopupAnimationSettings>;
709
+ export declare const fadePopupAnimation: Required<PopupAnimationSettings>;
710
+ export declare const slideFromRightPopupAnimation: Required<PopupAnimationSettings>;
711
+ export declare const slideFromLeftPopupAnimation: Required<PopupAnimationSettings>;
712
+ export declare const slideFromTopPopupAnimation: Required<PopupAnimationSettings>;
713
+ export declare const slideFromBottomPopupAnimation: Required<PopupAnimationSettings>;
574
714
  /**
575
715
  * The `data` passed in `PopupSettings`, available to the popup content.
576
716
  */
577
- declare const PopupDataInjectionToken: InjectionToken<unknown>;
578
-
579
- export { PopupCloseEvent, PopupCloseSource, PopupComponent, PopupDataInjectionToken, PopupRef, PopupService, defaultPopupAnimation, dropdownPopupAnimation, fadePopupAnimation, slideFromBottomPopupAnimation, slideFromLeftPopupAnimation, slideFromRightPopupAnimation, slideFromTopPopupAnimation };
580
- export type { ConnectionPoint, PopupAnchor, PopupAnimationSettings, PopupOffset, PopupSettings };
717
+ export declare const PopupDataInjectionToken: InjectionToken<unknown>;
718
+ export type { ConnectionPoint, PopupAnchor, PopupAnimationSettings, PopupSettings };