@nanahoshi/mona-ui 0.27.2 → 0.29.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 (213) hide show
  1. package/docs/api/chart.md +2 -2
  2. package/docs/api/locales.md +8 -0
  3. package/docs/api/popup.md +1 -1
  4. package/docs/api/theme.md +2 -2
  5. package/docs/chart.md +14 -0
  6. package/docs/editor.md +2 -0
  7. package/docs/installation.md +147 -15
  8. package/docs/introduction.md +37 -15
  9. package/docs/theming-built-in-themes.md +67 -0
  10. package/docs/theming-custom-colors.md +274 -0
  11. package/docs/theming-custom-themes.md +168 -0
  12. package/docs/theming.md +164 -248
  13. package/fesm2022/nanahoshi-mona-ui-auto-complete.mjs +1089 -603
  14. package/fesm2022/nanahoshi-mona-ui-avatar.mjs +369 -184
  15. package/fesm2022/nanahoshi-mona-ui-breadcrumb.mjs +658 -371
  16. package/fesm2022/nanahoshi-mona-ui-button-group.mjs +513 -359
  17. package/fesm2022/nanahoshi-mona-ui-button.mjs +622 -517
  18. package/fesm2022/nanahoshi-mona-ui-calendar.mjs +2071 -1573
  19. package/fesm2022/nanahoshi-mona-ui-card.mjs +620 -316
  20. package/fesm2022/nanahoshi-mona-ui-chart.mjs +61151 -64921
  21. package/fesm2022/nanahoshi-mona-ui-check-box.mjs +646 -317
  22. package/fesm2022/nanahoshi-mona-ui-chip.mjs +737 -516
  23. package/fesm2022/nanahoshi-mona-ui-circular-progress-bar.mjs +441 -242
  24. package/fesm2022/nanahoshi-mona-ui-collapsible.mjs +443 -390
  25. package/fesm2022/nanahoshi-mona-ui-color-gradient.mjs +1138 -814
  26. package/fesm2022/nanahoshi-mona-ui-color-palette.mjs +1114 -959
  27. package/fesm2022/nanahoshi-mona-ui-color-picker.mjs +858 -504
  28. package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +1181 -742
  29. package/fesm2022/nanahoshi-mona-ui-command.mjs +1454 -853
  30. package/fesm2022/nanahoshi-mona-ui-common.mjs +569 -743
  31. package/fesm2022/nanahoshi-mona-ui-contextmenu.mjs +978 -532
  32. package/fesm2022/nanahoshi-mona-ui-date-input.mjs +283 -266
  33. package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +973 -451
  34. package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +1203 -658
  35. package/fesm2022/nanahoshi-mona-ui-dialog.mjs +1415 -936
  36. package/fesm2022/nanahoshi-mona-ui-dropdown-button.mjs +1165 -568
  37. package/fesm2022/nanahoshi-mona-ui-dropdown-list.mjs +1142 -677
  38. package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +1018 -734
  39. package/fesm2022/nanahoshi-mona-ui-editor.mjs +3589 -2122
  40. package/fesm2022/nanahoshi-mona-ui-expansion-panel.mjs +577 -359
  41. package/fesm2022/nanahoshi-mona-ui-fieldset.mjs +311 -151
  42. package/fesm2022/nanahoshi-mona-ui-filter.mjs +1086 -718
  43. package/fesm2022/nanahoshi-mona-ui-grid-grid-colgroup.component-NhONCVIX.mjs +77 -0
  44. package/fesm2022/nanahoshi-mona-ui-grid-grid-footer-row.component-Djv8ZnT5.mjs +480 -0
  45. package/fesm2022/nanahoshi-mona-ui-grid-grid-list.component-WbXAzGCa.mjs +470 -0
  46. package/fesm2022/nanahoshi-mona-ui-grid-grid-row.component-DkWTD3pN.mjs +2115 -0
  47. package/fesm2022/nanahoshi-mona-ui-grid-grid-virtual-list.component-DAHqTwBJ.mjs +330 -0
  48. package/fesm2022/nanahoshi-mona-ui-grid-grid.styles-BmLU-3zP.mjs +3766 -0
  49. package/fesm2022/nanahoshi-mona-ui-grid.mjs +5418 -2
  50. package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +1379 -1079
  51. package/fesm2022/nanahoshi-mona-ui-i18n.mjs +4451 -5077
  52. package/fesm2022/nanahoshi-mona-ui-internal-filter-input.mjs +344 -143
  53. package/fesm2022/nanahoshi-mona-ui-internal-indicator-icon.mjs +257 -127
  54. package/fesm2022/nanahoshi-mona-ui-internal-list.mjs +2080 -1829
  55. package/fesm2022/nanahoshi-mona-ui-internal-popup-menu.mjs +103 -141
  56. package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +2498 -2706
  57. package/fesm2022/nanahoshi-mona-ui-internal.mjs +722 -1007
  58. package/fesm2022/nanahoshi-mona-ui-label.mjs +313 -202
  59. package/fesm2022/nanahoshi-mona-ui-list-box.mjs +1308 -1009
  60. package/fesm2022/nanahoshi-mona-ui-list-view.mjs +1411 -677
  61. package/fesm2022/nanahoshi-mona-ui-list.mjs +1 -6
  62. package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +556 -577
  63. package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +530 -573
  64. package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +530 -573
  65. package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +533 -576
  66. package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +520 -555
  67. package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +530 -571
  68. package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +520 -555
  69. package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +520 -555
  70. package/fesm2022/nanahoshi-mona-ui-locales-pl-pl.mjs +599 -0
  71. package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +530 -571
  72. package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +576 -591
  73. package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +530 -565
  74. package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +520 -555
  75. package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +520 -555
  76. package/fesm2022/nanahoshi-mona-ui-locales.mjs +61 -77
  77. package/fesm2022/nanahoshi-mona-ui-menubar.mjs +1411 -829
  78. package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +1326 -702
  79. package/fesm2022/nanahoshi-mona-ui-notification.mjs +763 -675
  80. package/fesm2022/nanahoshi-mona-ui-numeric-text-box.mjs +1306 -826
  81. package/fesm2022/nanahoshi-mona-ui-otp-input.mjs +1122 -897
  82. package/fesm2022/nanahoshi-mona-ui-pager.mjs +1110 -651
  83. package/fesm2022/nanahoshi-mona-ui-placeholder.mjs +95 -53
  84. package/fesm2022/nanahoshi-mona-ui-popover.mjs +559 -397
  85. package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +2323 -1694
  86. package/fesm2022/nanahoshi-mona-ui-popup.mjs +1657 -1455
  87. package/fesm2022/nanahoshi-mona-ui-progress-bar.mjs +441 -267
  88. package/fesm2022/nanahoshi-mona-ui-query.mjs +211 -340
  89. package/fesm2022/nanahoshi-mona-ui-radio-button.mjs +1017 -548
  90. package/fesm2022/nanahoshi-mona-ui-rating.mjs +874 -624
  91. package/fesm2022/nanahoshi-mona-ui-scroll-view.mjs +1130 -917
  92. package/fesm2022/nanahoshi-mona-ui-segmented.mjs +705 -455
  93. package/fesm2022/nanahoshi-mona-ui-sheet.mjs +461 -283
  94. package/fesm2022/nanahoshi-mona-ui-sidebar.mjs +2791 -2449
  95. package/fesm2022/nanahoshi-mona-ui-skeleton.mjs +145 -90
  96. package/fesm2022/nanahoshi-mona-ui-slider.mjs +1563 -1103
  97. package/fesm2022/nanahoshi-mona-ui-spinner.mjs +738 -673
  98. package/fesm2022/nanahoshi-mona-ui-split-button.mjs +1287 -647
  99. package/fesm2022/nanahoshi-mona-ui-splitter.mjs +1313 -909
  100. package/fesm2022/nanahoshi-mona-ui-stepper.mjs +761 -540
  101. package/fesm2022/nanahoshi-mona-ui-switch.mjs +611 -280
  102. package/fesm2022/nanahoshi-mona-ui-tabs.mjs +1393 -841
  103. package/fesm2022/nanahoshi-mona-ui-text-area.mjs +142 -73
  104. package/fesm2022/nanahoshi-mona-ui-text-box.mjs +876 -374
  105. package/fesm2022/nanahoshi-mona-ui-theme.mjs +1465 -1449
  106. package/fesm2022/nanahoshi-mona-ui-time-picker.mjs +897 -443
  107. package/fesm2022/nanahoshi-mona-ui-time-selector.mjs +1100 -703
  108. package/fesm2022/nanahoshi-mona-ui-tooltip.mjs +789 -538
  109. package/fesm2022/nanahoshi-mona-ui-tree-view.mjs +1361 -805
  110. package/fesm2022/nanahoshi-mona-ui-window.mjs +2145 -1531
  111. package/fesm2022/nanahoshi-mona-ui.mjs +1 -8
  112. package/llms.txt +7 -3
  113. package/locales/pl-pl/package.json +4 -0
  114. package/locales/pl-pl/pl-pl.messages.json +536 -0
  115. package/package.json +66 -23
  116. package/types/nanahoshi-mona-ui-auto-complete.d.ts +367 -233
  117. package/types/nanahoshi-mona-ui-avatar.d.ts +722 -649
  118. package/types/nanahoshi-mona-ui-breadcrumb.d.ts +134 -103
  119. package/types/nanahoshi-mona-ui-button-group.d.ts +213 -152
  120. package/types/nanahoshi-mona-ui-button.d.ts +227 -166
  121. package/types/nanahoshi-mona-ui-calendar.d.ts +324 -259
  122. package/types/nanahoshi-mona-ui-card.d.ts +125 -111
  123. package/types/nanahoshi-mona-ui-chart.d.ts +10483 -7326
  124. package/types/nanahoshi-mona-ui-check-box.d.ts +293 -180
  125. package/types/nanahoshi-mona-ui-chip.d.ts +208 -141
  126. package/types/nanahoshi-mona-ui-circular-progress-bar.d.ts +194 -133
  127. package/types/nanahoshi-mona-ui-collapsible.d.ts +103 -87
  128. package/types/nanahoshi-mona-ui-color-gradient.d.ts +281 -213
  129. package/types/nanahoshi-mona-ui-color-palette.d.ts +201 -138
  130. package/types/nanahoshi-mona-ui-color-picker.d.ts +283 -194
  131. package/types/nanahoshi-mona-ui-combo-box.d.ts +401 -262
  132. package/types/nanahoshi-mona-ui-command.d.ts +279 -191
  133. package/types/nanahoshi-mona-ui-common.d.ts +354 -385
  134. package/types/nanahoshi-mona-ui-contextmenu.d.ts +142 -117
  135. package/types/nanahoshi-mona-ui-date-input.d.ts +79 -96
  136. package/types/nanahoshi-mona-ui-date-picker.d.ts +338 -208
  137. package/types/nanahoshi-mona-ui-datetime-picker.d.ts +413 -259
  138. package/types/nanahoshi-mona-ui-dialog.d.ts +470 -381
  139. package/types/nanahoshi-mona-ui-dropdown-button.d.ts +216 -168
  140. package/types/nanahoshi-mona-ui-dropdown-list.d.ts +369 -243
  141. package/types/nanahoshi-mona-ui-dropdowns.d.ts +231 -217
  142. package/types/nanahoshi-mona-ui-editor.d.ts +302 -235
  143. package/types/nanahoshi-mona-ui-expansion-panel.d.ts +140 -109
  144. package/types/nanahoshi-mona-ui-fieldset.d.ts +98 -68
  145. package/types/nanahoshi-mona-ui-filter.d.ts +150 -124
  146. package/types/nanahoshi-mona-ui-grid.d.ts +1956 -1678
  147. package/types/nanahoshi-mona-ui-i18n-icu.d.ts +25 -34
  148. package/types/nanahoshi-mona-ui-i18n.d.ts +987 -1052
  149. package/types/nanahoshi-mona-ui-internal-filter-input.d.ts +118 -71
  150. package/types/nanahoshi-mona-ui-internal-indicator-icon.d.ts +56 -27
  151. package/types/nanahoshi-mona-ui-internal-list.d.ts +474 -408
  152. package/types/nanahoshi-mona-ui-internal-popup-menu.d.ts +143 -150
  153. package/types/nanahoshi-mona-ui-internal-tree.d.ts +493 -506
  154. package/types/nanahoshi-mona-ui-internal.d.ts +195 -213
  155. package/types/nanahoshi-mona-ui-label.d.ts +108 -78
  156. package/types/nanahoshi-mona-ui-list-box.d.ts +392 -322
  157. package/types/nanahoshi-mona-ui-list-view.d.ts +423 -282
  158. package/types/nanahoshi-mona-ui-list.d.ts +2 -1
  159. package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +540 -542
  160. package/types/nanahoshi-mona-ui-locales-de-de.d.ts +540 -542
  161. package/types/nanahoshi-mona-ui-locales-es-es.d.ts +540 -542
  162. package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +540 -542
  163. package/types/nanahoshi-mona-ui-locales-id-id.d.ts +540 -542
  164. package/types/nanahoshi-mona-ui-locales-it-it.d.ts +540 -542
  165. package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +540 -542
  166. package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +540 -542
  167. package/types/nanahoshi-mona-ui-locales-pl-pl.d.ts +540 -0
  168. package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +540 -542
  169. package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +540 -542
  170. package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +540 -542
  171. package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +540 -542
  172. package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +540 -542
  173. package/types/nanahoshi-mona-ui-locales.d.ts +18 -19
  174. package/types/nanahoshi-mona-ui-menubar.d.ts +210 -181
  175. package/types/nanahoshi-mona-ui-multi-select.d.ts +416 -276
  176. package/types/nanahoshi-mona-ui-notification.d.ts +140 -151
  177. package/types/nanahoshi-mona-ui-numeric-text-box.d.ts +407 -270
  178. package/types/nanahoshi-mona-ui-otp-input.d.ts +364 -241
  179. package/types/nanahoshi-mona-ui-pager.d.ts +379 -301
  180. package/types/nanahoshi-mona-ui-placeholder.d.ts +35 -28
  181. package/types/nanahoshi-mona-ui-popover.d.ts +176 -134
  182. package/types/nanahoshi-mona-ui-popup-menu.d.ts +488 -344
  183. package/types/nanahoshi-mona-ui-popup.d.ts +698 -560
  184. package/types/nanahoshi-mona-ui-progress-bar.d.ts +197 -137
  185. package/types/nanahoshi-mona-ui-query.d.ts +82 -88
  186. package/types/nanahoshi-mona-ui-radio-button.d.ts +434 -269
  187. package/types/nanahoshi-mona-ui-rating.d.ts +348 -254
  188. package/types/nanahoshi-mona-ui-scroll-view.d.ts +244 -172
  189. package/types/nanahoshi-mona-ui-segmented.d.ts +250 -175
  190. package/types/nanahoshi-mona-ui-sheet.d.ts +115 -63
  191. package/types/nanahoshi-mona-ui-sidebar.d.ts +653 -493
  192. package/types/nanahoshi-mona-ui-skeleton.d.ts +55 -39
  193. package/types/nanahoshi-mona-ui-slider.d.ts +503 -354
  194. package/types/nanahoshi-mona-ui-spinner.d.ts +125 -112
  195. package/types/nanahoshi-mona-ui-split-button.d.ts +241 -196
  196. package/types/nanahoshi-mona-ui-splitter.d.ts +124 -78
  197. package/types/nanahoshi-mona-ui-stepper.d.ts +206 -181
  198. package/types/nanahoshi-mona-ui-switch.d.ts +197 -131
  199. package/types/nanahoshi-mona-ui-tabs.d.ts +349 -248
  200. package/types/nanahoshi-mona-ui-text-area.d.ts +52 -36
  201. package/types/nanahoshi-mona-ui-text-box.d.ts +349 -218
  202. package/types/nanahoshi-mona-ui-theme.d.ts +415 -408
  203. package/types/nanahoshi-mona-ui-time-picker.d.ts +357 -217
  204. package/types/nanahoshi-mona-ui-time-selector.d.ts +255 -170
  205. package/types/nanahoshi-mona-ui-tooltip.d.ts +222 -144
  206. package/types/nanahoshi-mona-ui-tree-view.d.ts +466 -308
  207. package/types/nanahoshi-mona-ui-window.d.ts +494 -399
  208. package/types/nanahoshi-mona-ui.d.ts +1 -2
  209. package/fesm2022/nanahoshi-mona-ui-grid-grid-footer-row.component-DjNnVxHE.mjs +0 -181
  210. package/fesm2022/nanahoshi-mona-ui-grid-grid-list.component-ihQIKeP-.mjs +0 -208
  211. package/fesm2022/nanahoshi-mona-ui-grid-grid-row.component-BpnybNcs.mjs +0 -1082
  212. package/fesm2022/nanahoshi-mona-ui-grid-grid-virtual-list.component-CYlgfc7c.mjs +0 -186
  213. package/fesm2022/nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-LCzfCYd3.mjs +0 -7568
@@ -1,157 +1,180 @@
1
- import * as i0 from '@angular/core';
2
- import { InjectionToken, InputSignal, OutputEmitterRef, Signal, TemplateRef } from '@angular/core';
3
- import { Predicate, Selector } from '@mirei/ts-collections';
4
- import { ListSizeInputType, GroupableOptions, ListItem } from '@nanahoshi/mona-ui/internal/list';
5
- import { PopupCloseEvent, PopupRef, PopupSettings } from '@nanahoshi/mona-ui/popup';
6
- import { PreventableEvent, FilterChangeEvent, FilterableOptions, VirtualScrollOptions } from '@nanahoshi/mona-ui/common';
7
- import { ConnectionPositionPair } from '@angular/cdk/overlay';
8
- import { Subject } from 'rxjs';
9
- import * as class_variance_authority_types from 'class-variance-authority/types';
10
- import { VariantInputs } from '@nanahoshi/mona-ui/internal';
11
- import { VariantProps } from 'class-variance-authority';
12
- import { MonaDropdownsMessages } from '@nanahoshi/mona-ui/i18n';
13
-
14
- type DropdownFieldSelectorType<TData, TResult = unknown> = string | Selector<TData, TResult> | null | undefined;
15
- type DropdownFieldPredicateType<TData> = string | Predicate<TData> | null | undefined;
16
-
17
- interface DropdownDataInput<TData> {
18
- readonly data: InputSignal<Iterable<TData>>;
19
- readonly itemDisabled: InputSignal<DropdownFieldPredicateType<TData>>;
20
- readonly textField: InputSignal<DropdownFieldSelectorType<TData, string>>;
21
- readonly valueField: InputSignal<DropdownFieldSelectorType<TData, unknown>>;
1
+ import * as i0 from "@angular/core";
2
+ import { InjectionToken, InputSignal, OutputEmitterRef, Signal, TemplateRef } from "@angular/core";
3
+ import { Predicate, Selector } from "@mirei/ts-collections";
4
+ import { GroupableOptions, ListItem, ListSizeInputType } from "@nanahoshi/mona-ui/internal/list";
5
+ import { PopupCloseEvent, PopupRef, PopupSettings } from "@nanahoshi/mona-ui/popup";
6
+ import { FilterChangeEvent, FilterableOptions, PreventableEvent, VirtualScrollOptions } from "@nanahoshi/mona-ui/common";
7
+ import { ConnectionPositionPair } from "@angular/cdk/overlay";
8
+ import { Subject } from "rxjs";
9
+ import { VariantInputs } from "@nanahoshi/mona-ui/internal";
10
+ import { VariantProps } from "class-variance-authority";
11
+ import { MonaDropdownsMessages } from "@nanahoshi/mona-ui/i18n";
12
+ export type DropdownFieldSelectorType<TData, TResult = unknown> = string | Selector<TData, TResult> | null | undefined;
13
+ export type DropdownFieldPredicateType<TData> = string | Predicate<TData> | null | undefined;
14
+ export interface DropdownDataInput<TData> {
15
+ readonly data: InputSignal<Iterable<TData>>;
16
+ readonly itemDisabled: InputSignal<DropdownFieldPredicateType<TData>>;
17
+ readonly textField: InputSignal<DropdownFieldSelectorType<TData, string>>;
18
+ readonly valueField: InputSignal<DropdownFieldSelectorType<TData, unknown>>;
22
19
  }
23
20
  /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
24
- declare const DROPDOWN_DATA_INPUT_TOKEN: InjectionToken<DropdownDataInput<unknown>>;
21
+ export declare const DROPDOWN_DATA_INPUT_TOKEN: InjectionToken<DropdownDataInput<unknown>>;
25
22
  /**
26
23
  * @deprecated Use {@link DROPDOWN_DATA_INPUT_TOKEN}.
27
24
  */
28
- declare const DropdownDataInputToken: InjectionToken<DropdownDataInput<unknown>>;
29
-
25
+ export declare const DropdownDataInputToken: InjectionToken<DropdownDataInput<unknown>>;
30
26
  /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
31
- interface DropdownPopupInput {
32
- readonly close: OutputEmitterRef<PopupCloseEvent>;
33
- readonly closed: OutputEmitterRef<void>;
34
- readonly disabled: Signal<boolean>;
35
- readonly open: OutputEmitterRef<PreventableEvent>;
36
- readonly opened: OutputEmitterRef<void>;
37
- readonly popupHeight: InputSignal<ListSizeInputType>;
38
- readonly popupWidth: InputSignal<ListSizeInputType>;
39
- readonly readonly: Signal<boolean>;
40
- readonly touch: OutputEmitterRef<void>;
27
+ export interface DropdownPopupInput {
28
+ readonly close: OutputEmitterRef<PopupCloseEvent>;
29
+ readonly closed: OutputEmitterRef<void>;
30
+ readonly disabled: Signal<boolean>;
31
+ readonly open: OutputEmitterRef<PreventableEvent>;
32
+ readonly opened: OutputEmitterRef<void>;
33
+ readonly popupHeight: InputSignal<ListSizeInputType>;
34
+ readonly popupWidth: InputSignal<ListSizeInputType>;
35
+ readonly readonly: Signal<boolean>;
36
+ readonly touch: OutputEmitterRef<void>;
41
37
  }
42
38
  /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
43
- declare const DROPDOWN_POPUP_INPUT_TOKEN: InjectionToken<DropdownPopupInput>;
44
-
45
- declare class DropdownFilterableDirective {
46
- #private;
47
- /** @description Current filter text used to narrow the visible options. */
48
- readonly filter: i0.InputSignal<string>;
49
- /** @description Emitted when the filter value changes. Cancelable. */
50
- readonly filterChange: i0.OutputEmitterRef<FilterChangeEvent>;
51
- /**
52
- * @description Placeholder text in the popup's filter row. Auto Complete has no filter row, since its own input is
53
- * the filter, so it ignores this.
54
- * @default ""
55
- */
56
- readonly filterPlaceholder: i0.InputSignal<string>;
57
- /**
58
- * @description Filter operator, case sensitivity, and debounce delay. An empty string enables filtering with
59
- * default settings (`operator: "contains"`, `caseSensitive: false`, `debounce: 0`); pass an object to override any
60
- * field.
61
- */
62
- readonly options: i0.InputSignal<"" | Partial<FilterableOptions>>;
63
- constructor();
64
- static ɵfac: i0.ɵɵFactoryDeclaration<DropdownFilterableDirective, never>;
65
- static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownFilterableDirective, " mona-auto-complete[monaDropDownFilterable], mona-dropdown-list[monaDropDownFilterable], mona-combo-box[monaDropDownFilterable], mona-multi-select[monaDropDownFilterable] ", never, { "filter": { "alias": "filter"; "required": false; "isSignal": true; }; "filterPlaceholder": { "alias": "filterPlaceholder"; "required": false; "isSignal": true; }; "options": { "alias": "monaDropDownFilterable"; "required": false; "isSignal": true; }; }, { "filterChange": "filterChange"; }, never, never, true, never>;
39
+ export declare const DROPDOWN_POPUP_INPUT_TOKEN: InjectionToken<DropdownPopupInput>;
40
+ export declare class DropdownFilterableDirective {
41
+ #private;
42
+ /** @description Current filter text used to narrow the visible options. */
43
+ readonly filter: import("@angular/core").InputSignal<string>;
44
+ /** @description Emitted when the filter value changes. Cancelable. */
45
+ readonly filterChange: import("@angular/core").OutputEmitterRef<FilterChangeEvent>;
46
+ /**
47
+ * @description Placeholder text in the popup's filter row. Auto Complete has no filter row, since its own input is
48
+ * the filter, so it ignores this.
49
+ * @default ""
50
+ */
51
+ readonly filterPlaceholder: import("@angular/core").InputSignal<string>;
52
+ /**
53
+ * @description Filter operator, case sensitivity, and debounce delay. An empty string enables filtering with
54
+ * default settings (`operator: "contains"`, `caseSensitive: false`, `debounce: 0`); pass an object to override any
55
+ * field.
56
+ */
57
+ readonly options: import("@angular/core").InputSignal<"" | Partial<FilterableOptions>>;
58
+ constructor();
59
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownFilterableDirective, never>;
60
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownFilterableDirective, " mona-auto-complete[monaDropDownFilterable], mona-dropdown-list[monaDropDownFilterable], mona-combo-box[monaDropDownFilterable], mona-multi-select[monaDropDownFilterable] ", never, {
61
+ "filter": {
62
+ "alias": "filter";
63
+ "required": false;
64
+ "isSignal": true;
65
+ };
66
+ "filterPlaceholder": {
67
+ "alias": "filterPlaceholder";
68
+ "required": false;
69
+ "isSignal": true;
70
+ };
71
+ "options": {
72
+ "alias": "monaDropDownFilterable";
73
+ "required": false;
74
+ "isSignal": true;
75
+ };
76
+ }, {
77
+ "filterChange": "filterChange";
78
+ }, never, never, true, never>;
66
79
  }
67
-
68
- declare class DropdownFooterTemplateDirective {
69
- static ɵfac: i0.ɵɵFactoryDeclaration<DropdownFooterTemplateDirective, never>;
70
- static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownFooterTemplateDirective, " ng-template[monaDropDownFooterTemplate], ng-template[monaAutoCompleteFooterTemplate], ng-template[monaDropDownListFooterTemplate], ng-template[monaDropDownTreeFooterTemplate], ng-template[monaComboBoxFooterTemplate], ng-template[monaMultiSelectFooterTemplate] ", never, {}, {}, never, never, true, never>;
80
+ export declare class DropdownFooterTemplateDirective {
81
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownFooterTemplateDirective, never>;
82
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownFooterTemplateDirective, " ng-template[monaDropDownFooterTemplate], ng-template[monaAutoCompleteFooterTemplate], ng-template[monaDropDownListFooterTemplate], ng-template[monaDropDownTreeFooterTemplate], ng-template[monaComboBoxFooterTemplate], ng-template[monaMultiSelectFooterTemplate] ", never, {}, {}, never, never, true, never>;
71
83
  }
72
-
73
- declare class DropdownGroupHeaderTemplateDirective {
74
- static ɵfac: i0.ɵɵFactoryDeclaration<DropdownGroupHeaderTemplateDirective, never>;
75
- static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownGroupHeaderTemplateDirective, " ng-template[monaDropDownGroupHeaderTemplate], ng-template[monaAutoCompleteGroupHeaderTemplate], ng-template[monaDropDownListGroupHeaderTemplate], ng-template[monaComboBoxGroupHeaderTemplate], ng-template[monaMultiSelectGroupHeaderTemplate] ", never, {}, {}, never, never, true, never>;
84
+ export declare class DropdownGroupHeaderTemplateDirective {
85
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownGroupHeaderTemplateDirective, never>;
86
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownGroupHeaderTemplateDirective, " ng-template[monaDropDownGroupHeaderTemplate], ng-template[monaAutoCompleteGroupHeaderTemplate], ng-template[monaDropDownListGroupHeaderTemplate], ng-template[monaComboBoxGroupHeaderTemplate], ng-template[monaMultiSelectGroupHeaderTemplate] ", never, {}, {}, never, never, true, never>;
76
87
  }
77
-
78
- declare class DropdownGroupableDirective<TData> {
79
- #private;
80
- /** @description Property name, or accessor, used to derive an option's group. */
81
- readonly groupBy: i0.InputSignal<string | Selector<TData, unknown> | null | undefined>;
82
- /**
83
- * @description Group header order, and optional per-group item ordering. An empty string enables grouping with
84
- * default settings (`headerOrder: "asc"`); pass an object to override any field.
85
- */
86
- readonly options: i0.InputSignal<"" | GroupableOptions<TData, unknown>>;
87
- constructor();
88
- static ɵfac: i0.ɵɵFactoryDeclaration<DropdownGroupableDirective<any>, never>;
89
- static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownGroupableDirective<any>, " mona-auto-complete[monaDropDownGroupable], mona-combo-box[monaDropDownGroupable], mona-dropdown-list[monaDropDownGroupable], mona-multi-select[monaDropDownGroupable] ", never, { "groupBy": { "alias": "groupBy"; "required": false; "isSignal": true; }; "options": { "alias": "monaDropDownGroupable"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
88
+ export declare class DropdownGroupableDirective<TData> {
89
+ #private;
90
+ /** @description Property name, or accessor, used to derive an option's group. */
91
+ readonly groupBy: import("@angular/core").InputSignal<string | Selector<TData, unknown> | null | undefined>;
92
+ /**
93
+ * @description Group header order, and optional per-group item ordering. An empty string enables grouping with
94
+ * default settings (`headerOrder: "asc"`); pass an object to override any field.
95
+ */
96
+ readonly options: import("@angular/core").InputSignal<"" | GroupableOptions<TData, unknown>>;
97
+ constructor();
98
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownGroupableDirective<any>, never>;
99
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownGroupableDirective<any>, " mona-auto-complete[monaDropDownGroupable], mona-combo-box[monaDropDownGroupable], mona-dropdown-list[monaDropDownGroupable], mona-multi-select[monaDropDownGroupable] ", never, {
100
+ "groupBy": {
101
+ "alias": "groupBy";
102
+ "required": false;
103
+ "isSignal": true;
104
+ };
105
+ "options": {
106
+ "alias": "monaDropDownGroupable";
107
+ "required": false;
108
+ "isSignal": true;
109
+ };
110
+ }, {}, never, never, true, never>;
90
111
  }
91
-
92
- declare class DropdownHeaderTemplateDirective {
93
- static ɵfac: i0.ɵɵFactoryDeclaration<DropdownHeaderTemplateDirective, never>;
94
- static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownHeaderTemplateDirective, " ng-template[monaDropDownHeaderTemplate], ng-template[monaAutoCompleteHeaderTemplate], ng-template[monaDropDownListHeaderTemplate], ng-template[monaDropDownTreeHeaderTemplate], ng-template[monaComboBoxHeaderTemplate], ng-template[monaMultiSelectHeaderTemplate] ", never, {}, {}, never, never, true, never>;
112
+ export declare class DropdownHeaderTemplateDirective {
113
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownHeaderTemplateDirective, never>;
114
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownHeaderTemplateDirective, " ng-template[monaDropDownHeaderTemplate], ng-template[monaAutoCompleteHeaderTemplate], ng-template[monaDropDownListHeaderTemplate], ng-template[monaDropDownTreeHeaderTemplate], ng-template[monaComboBoxHeaderTemplate], ng-template[monaMultiSelectHeaderTemplate] ", never, {}, {}, never, never, true, never>;
95
115
  }
96
-
97
- declare class DropdownItemTemplateDirective {
98
- static ɵfac: i0.ɵɵFactoryDeclaration<DropdownItemTemplateDirective, never>;
99
- static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownItemTemplateDirective, " ng-template[monaDropDownItemTemplate], ng-template[monaAutoCompleteItemTemplate], ng-template[monaDropDownListItemTemplate], ng-template[monaComboBoxItemTemplate], ng-template[monaMultiSelectItemTemplate] ", never, {}, {}, never, never, true, never>;
116
+ export declare class DropdownItemTemplateDirective {
117
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownItemTemplateDirective, never>;
118
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownItemTemplateDirective, " ng-template[monaDropDownItemTemplate], ng-template[monaAutoCompleteItemTemplate], ng-template[monaDropDownListItemTemplate], ng-template[monaComboBoxItemTemplate], ng-template[monaMultiSelectItemTemplate] ", never, {}, {}, never, never, true, never>;
100
119
  }
101
-
102
- declare class DropdownNoDataTemplateDirective {
103
- static ɵfac: i0.ɵɵFactoryDeclaration<DropdownNoDataTemplateDirective, never>;
104
- static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownNoDataTemplateDirective, " ng-template[monaDropDownNoDataTemplate], ng-template[monaAutoCompleteNoDataTemplate], ng-template[monaDropDownListNoDataTemplate], ng-template[monaDropDownTreeNoDataTemplate], ng-template[monaComboBoxNoDataTemplate], ng-template[monaMultiSelectNoDataTemplate] ", never, {}, {}, never, never, true, never>;
120
+ export declare class DropdownNoDataTemplateDirective {
121
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownNoDataTemplateDirective, never>;
122
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownNoDataTemplateDirective, " ng-template[monaDropDownNoDataTemplate], ng-template[monaAutoCompleteNoDataTemplate], ng-template[monaDropDownListNoDataTemplate], ng-template[monaDropDownTreeNoDataTemplate], ng-template[monaComboBoxNoDataTemplate], ng-template[monaMultiSelectNoDataTemplate] ", never, {}, {}, never, never, true, never>;
105
123
  }
106
-
107
- declare class DropdownVirtualScrollDirective {
108
- #private;
109
- /**
110
- * @description Whether virtual scrolling is enabled and the pixel height of a single option row. An empty string
111
- * enables virtual scrolling with default settings (`height: 28`); pass an object to override either field.
112
- */
113
- readonly options: i0.InputSignal<"" | Partial<VirtualScrollOptions>>;
114
- constructor();
115
- static ɵfac: i0.ɵɵFactoryDeclaration<DropdownVirtualScrollDirective, never>;
116
- static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownVirtualScrollDirective, " mona-auto-complete[monaDropDownVirtualScroll], mona-dropdown-list[monaDropDownVirtualScroll], mona-combo-box[monaDropDownVirtualScroll], mona-multi-select[monaDropDownVirtualScroll] ", never, { "options": { "alias": "monaDropDownVirtualScroll"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
124
+ export declare class DropdownVirtualScrollDirective {
125
+ #private;
126
+ /**
127
+ * @description Whether virtual scrolling is enabled and the pixel height of a single option row. An empty string
128
+ * enables virtual scrolling with default settings (`height: 28`); pass an object to override either field.
129
+ */
130
+ readonly options: import("@angular/core").InputSignal<"" | Partial<VirtualScrollOptions>>;
131
+ constructor();
132
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownVirtualScrollDirective, never>;
133
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownVirtualScrollDirective, " mona-auto-complete[monaDropDownVirtualScroll], mona-dropdown-list[monaDropDownVirtualScroll], mona-combo-box[monaDropDownVirtualScroll], mona-multi-select[monaDropDownVirtualScroll] ", never, {
134
+ "options": {
135
+ "alias": "monaDropDownVirtualScroll";
136
+ "required": false;
137
+ "isSignal": true;
138
+ };
139
+ }, {}, never, never, true, never>;
117
140
  }
118
-
119
- declare class DropdownDataHandlerDirective {
120
- #private;
121
- constructor();
122
- static ɵfac: i0.ɵɵFactoryDeclaration<DropdownDataHandlerDirective, never>;
123
- static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownDataHandlerDirective, "[monaDropdownDataHandler]", never, {}, {}, never, never, true, never>;
141
+ export declare class DropdownDataHandlerDirective {
142
+ #private;
143
+ constructor();
144
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownDataHandlerDirective, never>;
145
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownDataHandlerDirective, "[monaDropdownDataHandler]", never, {}, {}, never, never, true, never>;
124
146
  }
125
-
126
147
  /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
127
- declare class DropdownPopupHandlerDirective {
128
- #private;
129
- constructor();
130
- private closePopup;
131
- private getMaxHeight;
132
- private getMinWidth;
133
- private openPopup;
134
- private setPopupCloseSubscriptions;
135
- private togglePopup;
136
- static ɵfac: i0.ɵɵFactoryDeclaration<DropdownPopupHandlerDirective, never>;
137
- static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownPopupHandlerDirective, "[monaDropdownPopupHandler]", never, {}, {}, never, never, true, never>;
148
+ export declare class DropdownPopupHandlerDirective {
149
+ #private;
150
+ constructor();
151
+ private closePopup;
152
+ private getMaxHeight;
153
+ private getMinWidth;
154
+ private openPopup;
155
+ private setPopupCloseSubscriptions;
156
+ private togglePopup;
157
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownPopupHandlerDirective, never>;
158
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownPopupHandlerDirective, "[monaDropdownPopupHandler]", never, {}, {}, never, never, true, never>;
138
159
  }
139
-
140
- declare class DropdownListPopupHandlerDirective {
141
- #private;
142
- constructor();
143
- private closePopup;
144
- private handleArrowKeys;
145
- private handleKeyDown;
146
- private handleScrollOnPopupOpen;
147
- private scrollToHighlightedItem;
148
- private scrollToSelectedItem;
149
- private setKeyboardEvents;
150
- private setPopupCloseSubscriptions;
151
- static ɵfac: i0.ɵɵFactoryDeclaration<DropdownListPopupHandlerDirective, never>;
152
- static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownListPopupHandlerDirective, "[monaDropdownListPopupHandler]", never, {}, {}, never, never, true, [{ directive: typeof DropdownPopupHandlerDirective; inputs: {}; outputs: {}; }]>;
160
+ export declare class DropdownListPopupHandlerDirective {
161
+ #private;
162
+ constructor();
163
+ private closePopup;
164
+ private handleArrowKeys;
165
+ private handleKeyDown;
166
+ private handleScrollOnPopupOpen;
167
+ private scrollToHighlightedItem;
168
+ private scrollToSelectedItem;
169
+ private setKeyboardEvents;
170
+ private setPopupCloseSubscriptions;
171
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownListPopupHandlerDirective, never>;
172
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownListPopupHandlerDirective, "[monaDropdownListPopupHandler]", never, {}, {}, never, never, true, [{
173
+ directive: typeof DropdownPopupHandlerDirective;
174
+ inputs: {};
175
+ outputs: {};
176
+ }]>;
153
177
  }
154
-
155
178
  /**
156
179
  * Announces how many results a dropdown shows after its list is filtered, or after its items change, while the
157
180
  * popup is open ("3 results available", "No results found").
@@ -161,97 +184,88 @@ declare class DropdownListPopupHandlerDirective {
161
184
  * `aria-activedescendant` already does that.
162
185
  * @hidden Exported for Mona UI's other entry points; applications don't need it.
163
186
  */
164
- declare class DropdownLiveRegionDirective {
165
- #private;
166
- constructor();
167
- static ɵfac: i0.ɵɵFactoryDeclaration<DropdownLiveRegionDirective, never>;
168
- static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownLiveRegionDirective, "[monaDropdownLiveRegion]", never, {}, {}, never, never, true, never>;
187
+ export declare class DropdownLiveRegionDirective {
188
+ #private;
189
+ constructor();
190
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownLiveRegionDirective, never>;
191
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownLiveRegionDirective, "[monaDropdownLiveRegion]", never, {}, {}, never, never, true, never>;
169
192
  }
170
-
171
- declare class DropdownPrefixTemplateDirective {
172
- static ɵfac: i0.ɵɵFactoryDeclaration<DropdownPrefixTemplateDirective, never>;
173
- static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownPrefixTemplateDirective, "ng-template[monaDropdownPrefixTemplate]", never, {}, {}, never, never, true, never>;
193
+ export declare class DropdownPrefixTemplateDirective {
194
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownPrefixTemplateDirective, never>;
195
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownPrefixTemplateDirective, "ng-template[monaDropdownPrefixTemplate]", never, {}, {}, never, never, true, never>;
174
196
  }
175
-
176
- declare class DropdownSuffixTemplateDirective {
177
- static ɵfac: i0.ɵɵFactoryDeclaration<DropdownSuffixTemplateDirective, never>;
178
- static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownSuffixTemplateDirective, "ng-template[monaDropdownSuffixTemplate]", never, {}, {}, never, never, true, never>;
197
+ export declare class DropdownSuffixTemplateDirective {
198
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownSuffixTemplateDirective, never>;
199
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownSuffixTemplateDirective, "ng-template[monaDropdownSuffixTemplate]", never, {}, {}, never, never, true, never>;
179
200
  }
180
-
181
201
  /**
182
202
  * @hidden
183
203
  * The state one dropdown shares with its popup handlers and live region. Each dropdown provides its own; the date and
184
204
  * time pickers use it too, which is why it is exported. Applications don't need it.
185
205
  */
186
- declare class DropdownService {
187
- /**
188
- * Every key the dropdown's host receives (outside IME composition), before the dropdown handles it. Call
189
- * `preventDefault()` on the event to skip the built-in handling.
190
- */
191
- readonly beforeKeydown$: Subject<PreventableEvent<KeyboardEvent>>;
192
- /**
193
- * ArrowDown or ArrowUp on the host, before the dropdown opens, closes or moves through the list. Call
194
- * `preventDefault()` on the event to skip the built-in handling.
195
- */
196
- readonly beforeNavigate$: Subject<PreventableEvent<KeyboardEvent>>;
197
- /**
198
- * Set when the popup finishes closing: whether focus may return to the dropdown. It is `false` when the user
199
- * moved focus outside the dropdown and its popup first, for example by clicking another field or pressing
200
- * Tab. Read it from `popupCloseComplete$` before calling `focus()`.
201
- */
202
- readonly focusCanReturn: i0.WritableSignal<boolean>;
203
- /**
204
- * Keys the dropdown has no built-in handling for, and Enter before it toggles the popup. Calling `preventDefault()`
205
- * on an Enter key stops the toggle.
206
- */
207
- readonly keydown$: Subject<KeyboardEvent>;
208
- /**
209
- * Emits when the popup has closed and its leave animation has finished, with the close event. By then
210
- * `popupRef` is `null` and {@link focusCanReturn} is set.
211
- */
212
- readonly popupCloseComplete$: Subject<PopupCloseEvent<unknown>>;
213
- /** Emits when the popup's close sequence starts, before its leave animation, with the close event. */
214
- readonly popupCloseStart$: Subject<PopupCloseEvent<unknown>>;
215
- /** Emits on the next task after the popup is created, together with the host's `opened` event. */
216
- readonly popupOpenComplete$: Subject<void>;
217
- /** The open popup, or `null` while it is closed. */
218
- readonly popupRef: i0.WritableSignal<PopupRef | null>;
219
- /** The template rendered as the popup's content. Each dropdown component sets it to its own popup template. */
220
- readonly popupTemplate: i0.WritableSignal<TemplateRef<unknown> | null>;
221
- /**
222
- * Whether focus returns to the dropdown when the popup closes, passed to the popup as its `restoreFocus` setting.
223
- * The auto-complete sets it to `false`.
224
- */
225
- readonly restoreFocus: i0.WritableSignal<boolean | "auto">;
226
- /**
227
- * Opens the popup with the given settings when it is closed. Does nothing while the host is disabled or read-only,
228
- * or when the `open` event is prevented.
229
- */
230
- readonly triggerPopupOpen$: Subject<Partial<PopupSettings<unknown, void>>>;
231
- /** Closes the popup when it is open, and otherwise opens it as {@link triggerPopupOpen$} does. */
232
- readonly triggerPopupToggle$: Subject<Partial<PopupSettings<unknown, void>>>;
233
- static getDefaultPositions(): ConnectionPositionPair[];
234
- static ɵfac: i0.ɵɵFactoryDeclaration<DropdownService, never>;
235
- static ɵprov: i0.ɵɵInjectableDeclaration<DropdownService>;
206
+ export declare class DropdownService {
207
+ /**
208
+ * Every key the dropdown's host receives (outside IME composition), before the dropdown handles it. Call
209
+ * `preventDefault()` on the event to skip the built-in handling.
210
+ */
211
+ readonly beforeKeydown$: Subject<PreventableEvent<KeyboardEvent>>;
212
+ /**
213
+ * ArrowDown or ArrowUp on the host, before the dropdown opens, closes or moves through the list. Call
214
+ * `preventDefault()` on the event to skip the built-in handling.
215
+ */
216
+ readonly beforeNavigate$: Subject<PreventableEvent<KeyboardEvent>>;
217
+ /**
218
+ * Set when the popup finishes closing: whether focus may return to the dropdown. It is `false` when the user
219
+ * moved focus outside the dropdown and its popup first, for example by clicking another field or pressing
220
+ * Tab. Read it from `popupCloseComplete$` before calling `focus()`.
221
+ */
222
+ readonly focusCanReturn: import("@angular/core").WritableSignal<boolean>;
223
+ /**
224
+ * Keys the dropdown has no built-in handling for, and Enter before it toggles the popup. Calling `preventDefault()`
225
+ * on an Enter key stops the toggle.
226
+ */
227
+ readonly keydown$: Subject<KeyboardEvent>;
228
+ /**
229
+ * Emits when the popup has closed and its leave animation has finished, with the close event. By then
230
+ * `popupRef` is `null` and {@link focusCanReturn} is set.
231
+ */
232
+ readonly popupCloseComplete$: Subject<PopupCloseEvent<unknown>>;
233
+ /** Emits when the popup's close sequence starts, before its leave animation, with the close event. */
234
+ readonly popupCloseStart$: Subject<PopupCloseEvent<unknown>>;
235
+ /** Emits on the next task after the popup is created, together with the host's `opened` event. */
236
+ readonly popupOpenComplete$: Subject<void>;
237
+ /** The open popup, or `null` while it is closed. */
238
+ readonly popupRef: import("@angular/core").WritableSignal<PopupRef | null>;
239
+ /** The template rendered as the popup's content. Each dropdown component sets it to its own popup template. */
240
+ readonly popupTemplate: import("@angular/core").WritableSignal<TemplateRef<unknown> | null>;
241
+ /**
242
+ * Whether focus returns to the dropdown when the popup closes, passed to the popup as its `restoreFocus` setting.
243
+ * The auto-complete sets it to `false`.
244
+ */
245
+ readonly restoreFocus: import("@angular/core").WritableSignal<boolean | "auto">;
246
+ /**
247
+ * Opens the popup with the given settings when it is closed. Does nothing while the host is disabled or read-only,
248
+ * or when the `open` event is prevented.
249
+ */
250
+ readonly triggerPopupOpen$: Subject<Partial<PopupSettings<unknown, void>>>;
251
+ /** Closes the popup when it is open, and otherwise opens it as {@link triggerPopupOpen$} does. */
252
+ readonly triggerPopupToggle$: Subject<Partial<PopupSettings<unknown, void>>>;
253
+ static getDefaultPositions(): ConnectionPositionPair[];
254
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownService, never>;
255
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
236
256
  }
237
-
238
- declare class DropdownListService<TData = unknown> {
239
- readonly navigate$: Subject<{
240
- item: ListItem<TData>;
241
- }>;
242
- static ɵfac: i0.ɵɵFactoryDeclaration<DropdownListService<any>, never>;
243
- static ɵprov: i0.ɵɵInjectableDeclaration<DropdownListService<any>>;
257
+ export declare class DropdownListService<TData = unknown> {
258
+ readonly navigate$: Subject<{
259
+ item: ListItem<TData>;
260
+ }>;
261
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownListService<any>, never>;
262
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
244
263
  }
245
-
246
264
  /** @hidden Exported for Mona UI's other entry points; applications don't need it. */
247
- declare const dropdownPopupThemeVariants: (props?: ({
248
- rounded?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
249
- size?: "small" | "medium" | "large" | null | undefined;
250
- } & class_variance_authority_types.ClassProp) | undefined) => string;
251
- type DropdownPopupVariantProps = VariantProps<typeof dropdownPopupThemeVariants>;
252
- type DropdownPopupVariantInput = VariantInputs<DropdownPopupVariantProps>;
253
-
254
- declare const DROPDOWNS_DEFAULT_MESSAGES: MonaDropdownsMessages;
255
-
256
- export { DROPDOWNS_DEFAULT_MESSAGES, DROPDOWN_DATA_INPUT_TOKEN, DROPDOWN_POPUP_INPUT_TOKEN, DropdownDataHandlerDirective, DropdownDataInputToken, DropdownFilterableDirective, DropdownFooterTemplateDirective, DropdownGroupHeaderTemplateDirective, DropdownGroupableDirective, DropdownHeaderTemplateDirective, DropdownItemTemplateDirective, DropdownListPopupHandlerDirective, DropdownListService, DropdownLiveRegionDirective, DropdownNoDataTemplateDirective, DropdownPopupHandlerDirective, DropdownPrefixTemplateDirective, DropdownService, DropdownSuffixTemplateDirective, DropdownVirtualScrollDirective, dropdownPopupThemeVariants };
257
- export type { DropdownDataInput, DropdownFieldPredicateType, DropdownFieldSelectorType, DropdownPopupInput, DropdownPopupVariantInput, DropdownPopupVariantProps };
265
+ export declare const dropdownPopupThemeVariants: (props?: ({
266
+ rounded?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
267
+ size?: "small" | "medium" | "large" | null | undefined;
268
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
269
+ export type DropdownPopupVariantProps = VariantProps<typeof dropdownPopupThemeVariants>;
270
+ export type DropdownPopupVariantInput = VariantInputs<DropdownPopupVariantProps>;
271
+ export declare const DROPDOWNS_DEFAULT_MESSAGES: MonaDropdownsMessages;