@nanahoshi/mona-ui 0.1.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 (134) hide show
  1. package/README.md +25 -0
  2. package/fesm2022/nanahoshi-mona-ui-auto-complete.mjs +590 -0
  3. package/fesm2022/nanahoshi-mona-ui-avatar.mjs +168 -0
  4. package/fesm2022/nanahoshi-mona-ui-breadcrumb.mjs +220 -0
  5. package/fesm2022/nanahoshi-mona-ui-button-group.mjs +225 -0
  6. package/fesm2022/nanahoshi-mona-ui-button.mjs +497 -0
  7. package/fesm2022/nanahoshi-mona-ui-calendar.mjs +1569 -0
  8. package/fesm2022/nanahoshi-mona-ui-check-box.mjs +339 -0
  9. package/fesm2022/nanahoshi-mona-ui-chip.mjs +453 -0
  10. package/fesm2022/nanahoshi-mona-ui-circular-progress-bar.mjs +200 -0
  11. package/fesm2022/nanahoshi-mona-ui-color-gradient.mjs +853 -0
  12. package/fesm2022/nanahoshi-mona-ui-color-palette.mjs +923 -0
  13. package/fesm2022/nanahoshi-mona-ui-color-picker.mjs +495 -0
  14. package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +686 -0
  15. package/fesm2022/nanahoshi-mona-ui-common.mjs +642 -0
  16. package/fesm2022/nanahoshi-mona-ui-contextmenu.mjs +485 -0
  17. package/fesm2022/nanahoshi-mona-ui-date-input.mjs +132 -0
  18. package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +460 -0
  19. package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +659 -0
  20. package/fesm2022/nanahoshi-mona-ui-dialog.mjs +828 -0
  21. package/fesm2022/nanahoshi-mona-ui-dropdown-button.mjs +523 -0
  22. package/fesm2022/nanahoshi-mona-ui-dropdown-list.mjs +615 -0
  23. package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +701 -0
  24. package/fesm2022/nanahoshi-mona-ui-editor.mjs +1400 -0
  25. package/fesm2022/nanahoshi-mona-ui-expansion-panel.mjs +245 -0
  26. package/fesm2022/nanahoshi-mona-ui-fieldset.mjs +170 -0
  27. package/fesm2022/nanahoshi-mona-ui-filter.mjs +680 -0
  28. package/fesm2022/nanahoshi-mona-ui-grid-grid-footer-cell.component-B9SQH5N-.mjs +105 -0
  29. package/fesm2022/nanahoshi-mona-ui-grid-grid-footer-table-cell.directive-DlLwcCFT.mjs +42 -0
  30. package/fesm2022/nanahoshi-mona-ui-grid-grid-list.component-Dgea-O0X.mjs +130 -0
  31. package/fesm2022/nanahoshi-mona-ui-grid-grid-toggle.component-DIUutx9s.mjs +773 -0
  32. package/fesm2022/nanahoshi-mona-ui-grid-grid-virtual-list.component-DRHycGIh.mjs +240 -0
  33. package/fesm2022/nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-C3eZIaJK.mjs +5374 -0
  34. package/fesm2022/nanahoshi-mona-ui-grid.mjs +2 -0
  35. package/fesm2022/nanahoshi-mona-ui-internal-filter-input.mjs +87 -0
  36. package/fesm2022/nanahoshi-mona-ui-internal-indicator-icon.mjs +154 -0
  37. package/fesm2022/nanahoshi-mona-ui-internal-list.mjs +1356 -0
  38. package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +2263 -0
  39. package/fesm2022/nanahoshi-mona-ui-internal.mjs +379 -0
  40. package/fesm2022/nanahoshi-mona-ui-list-box.mjs +630 -0
  41. package/fesm2022/nanahoshi-mona-ui-list-view.mjs +527 -0
  42. package/fesm2022/nanahoshi-mona-ui-list.mjs +4 -0
  43. package/fesm2022/nanahoshi-mona-ui-menubar.mjs +966 -0
  44. package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +641 -0
  45. package/fesm2022/nanahoshi-mona-ui-notification.mjs +536 -0
  46. package/fesm2022/nanahoshi-mona-ui-numeric-text-box.mjs +597 -0
  47. package/fesm2022/nanahoshi-mona-ui-pager.mjs +790 -0
  48. package/fesm2022/nanahoshi-mona-ui-placeholder.mjs +83 -0
  49. package/fesm2022/nanahoshi-mona-ui-popover.mjs +325 -0
  50. package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +1559 -0
  51. package/fesm2022/nanahoshi-mona-ui-popup.mjs +1321 -0
  52. package/fesm2022/nanahoshi-mona-ui-progress-bar.mjs +294 -0
  53. package/fesm2022/nanahoshi-mona-ui-query.mjs +175 -0
  54. package/fesm2022/nanahoshi-mona-ui-radio-button.mjs +339 -0
  55. package/fesm2022/nanahoshi-mona-ui-scroll-view.mjs +565 -0
  56. package/fesm2022/nanahoshi-mona-ui-slider.mjs +1049 -0
  57. package/fesm2022/nanahoshi-mona-ui-split-button.mjs +636 -0
  58. package/fesm2022/nanahoshi-mona-ui-splitter.mjs +843 -0
  59. package/fesm2022/nanahoshi-mona-ui-stepper.mjs +537 -0
  60. package/fesm2022/nanahoshi-mona-ui-switch.mjs +308 -0
  61. package/fesm2022/nanahoshi-mona-ui-tabs.mjs +664 -0
  62. package/fesm2022/nanahoshi-mona-ui-text-area.mjs +111 -0
  63. package/fesm2022/nanahoshi-mona-ui-text-box.mjs +369 -0
  64. package/fesm2022/nanahoshi-mona-ui-theme.mjs +314 -0
  65. package/fesm2022/nanahoshi-mona-ui-time-picker.mjs +450 -0
  66. package/fesm2022/nanahoshi-mona-ui-time-selector.mjs +723 -0
  67. package/fesm2022/nanahoshi-mona-ui-tooltip.mjs +716 -0
  68. package/fesm2022/nanahoshi-mona-ui-tree-view.mjs +733 -0
  69. package/fesm2022/nanahoshi-mona-ui-window.mjs +1329 -0
  70. package/fesm2022/nanahoshi-mona-ui.mjs +9 -0
  71. package/package.json +289 -0
  72. package/types/nanahoshi-mona-ui-auto-complete.d.ts +223 -0
  73. package/types/nanahoshi-mona-ui-avatar.d.ts +642 -0
  74. package/types/nanahoshi-mona-ui-breadcrumb.d.ts +70 -0
  75. package/types/nanahoshi-mona-ui-button-group.d.ts +77 -0
  76. package/types/nanahoshi-mona-ui-button.d.ts +111 -0
  77. package/types/nanahoshi-mona-ui-calendar.d.ts +262 -0
  78. package/types/nanahoshi-mona-ui-check-box.d.ts +133 -0
  79. package/types/nanahoshi-mona-ui-chip.d.ts +130 -0
  80. package/types/nanahoshi-mona-ui-circular-progress-bar.d.ts +113 -0
  81. package/types/nanahoshi-mona-ui-color-gradient.d.ts +201 -0
  82. package/types/nanahoshi-mona-ui-color-palette.d.ts +102 -0
  83. package/types/nanahoshi-mona-ui-color-picker.d.ts +156 -0
  84. package/types/nanahoshi-mona-ui-combo-box.d.ts +232 -0
  85. package/types/nanahoshi-mona-ui-common.d.ts +386 -0
  86. package/types/nanahoshi-mona-ui-contextmenu.d.ts +129 -0
  87. package/types/nanahoshi-mona-ui-date-input.d.ts +60 -0
  88. package/types/nanahoshi-mona-ui-date-picker.d.ts +177 -0
  89. package/types/nanahoshi-mona-ui-datetime-picker.d.ts +199 -0
  90. package/types/nanahoshi-mona-ui-dialog.d.ts +261 -0
  91. package/types/nanahoshi-mona-ui-dropdown-button.d.ts +159 -0
  92. package/types/nanahoshi-mona-ui-dropdown-list.d.ts +219 -0
  93. package/types/nanahoshi-mona-ui-dropdowns.d.ts +176 -0
  94. package/types/nanahoshi-mona-ui-editor.d.ts +113 -0
  95. package/types/nanahoshi-mona-ui-expansion-panel.d.ts +87 -0
  96. package/types/nanahoshi-mona-ui-fieldset.d.ts +68 -0
  97. package/types/nanahoshi-mona-ui-filter.d.ts +115 -0
  98. package/types/nanahoshi-mona-ui-grid.d.ts +1114 -0
  99. package/types/nanahoshi-mona-ui-internal-filter-input.d.ts +25 -0
  100. package/types/nanahoshi-mona-ui-internal-indicator-icon.d.ts +28 -0
  101. package/types/nanahoshi-mona-ui-internal-list.d.ts +269 -0
  102. package/types/nanahoshi-mona-ui-internal-tree.d.ts +391 -0
  103. package/types/nanahoshi-mona-ui-internal.d.ts +136 -0
  104. package/types/nanahoshi-mona-ui-list-box.d.ts +225 -0
  105. package/types/nanahoshi-mona-ui-list-view.d.ts +188 -0
  106. package/types/nanahoshi-mona-ui-list.d.ts +1 -0
  107. package/types/nanahoshi-mona-ui-menubar.d.ts +198 -0
  108. package/types/nanahoshi-mona-ui-multi-select.d.ts +247 -0
  109. package/types/nanahoshi-mona-ui-notification.d.ts +106 -0
  110. package/types/nanahoshi-mona-ui-numeric-text-box.d.ts +161 -0
  111. package/types/nanahoshi-mona-ui-pager.d.ts +238 -0
  112. package/types/nanahoshi-mona-ui-placeholder.d.ts +35 -0
  113. package/types/nanahoshi-mona-ui-popover.d.ts +130 -0
  114. package/types/nanahoshi-mona-ui-popup-menu.d.ts +412 -0
  115. package/types/nanahoshi-mona-ui-popup.d.ts +485 -0
  116. package/types/nanahoshi-mona-ui-progress-bar.d.ts +139 -0
  117. package/types/nanahoshi-mona-ui-query.d.ts +89 -0
  118. package/types/nanahoshi-mona-ui-radio-button.d.ts +128 -0
  119. package/types/nanahoshi-mona-ui-scroll-view.d.ts +166 -0
  120. package/types/nanahoshi-mona-ui-slider.d.ts +305 -0
  121. package/types/nanahoshi-mona-ui-split-button.d.ts +182 -0
  122. package/types/nanahoshi-mona-ui-splitter.d.ts +70 -0
  123. package/types/nanahoshi-mona-ui-stepper.d.ts +173 -0
  124. package/types/nanahoshi-mona-ui-switch.d.ts +125 -0
  125. package/types/nanahoshi-mona-ui-tabs.d.ts +158 -0
  126. package/types/nanahoshi-mona-ui-text-area.d.ts +42 -0
  127. package/types/nanahoshi-mona-ui-text-box.d.ts +164 -0
  128. package/types/nanahoshi-mona-ui-theme.d.ts +23 -0
  129. package/types/nanahoshi-mona-ui-time-picker.d.ts +184 -0
  130. package/types/nanahoshi-mona-ui-time-selector.d.ts +143 -0
  131. package/types/nanahoshi-mona-ui-tooltip.d.ts +130 -0
  132. package/types/nanahoshi-mona-ui-tree-view.d.ts +274 -0
  133. package/types/nanahoshi-mona-ui-window.d.ts +295 -0
  134. package/types/nanahoshi-mona-ui.d.ts +2 -0
@@ -0,0 +1,159 @@
1
+ import * as _nanahoshi_mona_ui_popup_menu from '@nanahoshi/mona-ui/popup-menu';
2
+ import { PopupMenuComponent, PopupMenuItemClickEvent, PopupMenuCheckboxItemComponent, PopupMenuOrigin, PopupMenuGroupComponent, PopupMenuItemComponent, PopupMenuRadioGroupComponent, PopupMenuRadioItemComponent, PopupMenuSeparatorComponent, PopupMenuGroupTemplateDirective, PopupMenuTemplateOrigin, PopupMenuIconTemplateDirective, PopupMenuShortcutTemplateDirective, PopupMenuTextTemplateDirective } from '@nanahoshi/mona-ui/popup-menu';
3
+ import * as i0 from '@angular/core';
4
+ import { ElementRef, TemplateRef } from '@angular/core';
5
+ import { ButtonVariantsInput } from '@nanahoshi/mona-ui/button';
6
+
7
+ type DropdownButtonVariantInputs = Omit<ButtonVariantsInput, "selected">;
8
+
9
+ declare class DropdownButtonComponent implements DropdownButtonVariantInputs {
10
+ #private;
11
+ private readonly menuItemComponents;
12
+ protected readonly buttonRef: i0.Signal<ElementRef<HTMLButtonElement> | undefined>;
13
+ protected readonly dropdownButtonAriaLabel: i0.Signal<string>;
14
+ protected readonly isMenuOpen: i0.WritableSignal<boolean>;
15
+ protected readonly menuId: string;
16
+ protected readonly groupTemplate: i0.Signal<TemplateRef<any> | undefined>;
17
+ protected readonly menuItemIconTemplate: i0.Signal<TemplateRef<any> | undefined>;
18
+ protected readonly menuItems: i0.Signal<_nanahoshi_mona_ui_popup_menu.PopupMenuItem[]>;
19
+ protected readonly menuItemShortcutTemplate: i0.Signal<TemplateRef<any> | undefined>;
20
+ protected readonly menuItemTextTemplate: i0.Signal<TemplateRef<any> | undefined>;
21
+ protected readonly popupMenuRef: i0.Signal<PopupMenuComponent | undefined>;
22
+ protected readonly textTemplate: i0.Signal<TemplateRef<any> | undefined>;
23
+ /**
24
+ * @description Accessible name for the dropdown button.
25
+ * Falls back to `"{text} dropdown button"` when empty; provide an explicit value when no visible text is present.
26
+ * @default ""
27
+ */
28
+ readonly ariaLabel: i0.InputSignal<string>;
29
+ /**
30
+ * @description ID of an external element that provides the accessible name for the dropdown button.
31
+ * Takes precedence over `ariaLabel` when both are set.
32
+ * @default ""
33
+ */
34
+ readonly ariaLabelledby: i0.InputSignal<string>;
35
+ /**
36
+ * @description Renders the button as a square for icon-only usage, removing horizontal text padding.
37
+ * Set `ariaLabel` when no visible text is present to ensure an accessible name.
38
+ * @default false
39
+ */
40
+ readonly iconOnly: i0.InputSignal<boolean>;
41
+ /**
42
+ * @description Renders the button with reduced visual emphasis and removes pointer interaction.
43
+ * @default false
44
+ */
45
+ readonly disabled: i0.InputSignal<boolean>;
46
+ /**
47
+ * @description Displays a loading indicator and prevents interaction while an operation is in progress.
48
+ * @default false
49
+ */
50
+ readonly loading: i0.InputSignal<boolean>;
51
+ /**
52
+ * @description Visual style preset applied to the button.
53
+ * @default "default"
54
+ */
55
+ readonly look: i0.InputSignal<"default" | "primary" | "success" | "error" | "warning" | "info" | "outline" | "secondary" | "ghost" | "link" | "clear" | null | undefined>;
56
+ /**
57
+ * @description Emitted when a menu item in the dropdown menu is clicked.
58
+ */
59
+ readonly menuItemClick: i0.OutputEmitterRef<PopupMenuItemClickEvent>;
60
+ /**
61
+ * @description Border-radius preset applied to the button.
62
+ * @default "medium"
63
+ */
64
+ readonly rounded: i0.InputSignal<"full" | "large" | "medium" | "none" | "small" | null | undefined>;
65
+ /**
66
+ * @description Size preset controlling the button's dimensions.
67
+ * @default "medium"
68
+ */
69
+ readonly size: i0.InputSignal<"large" | "medium" | "small" | null | undefined>;
70
+ /**
71
+ * @description Primary text content displayed inside the dropdown button.
72
+ * Passed as `$implicit` to a `monaDropdownButtonTextTemplate` when one is provided.
73
+ * @default ""
74
+ */
75
+ readonly text: i0.InputSignal<string>;
76
+ /**
77
+ * @description Additional CSS classes merged onto the host element via `tailwind-merge`.
78
+ * @default ""
79
+ */
80
+ readonly userClass: i0.InputSignal<string>;
81
+ constructor();
82
+ protected onMenuClose(): void;
83
+ protected onMenuItemClick(event: PopupMenuItemClickEvent): void;
84
+ protected onMenuOpen(): void;
85
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownButtonComponent, never>;
86
+ static ɵcmp: i0.ɵɵComponentDeclaration<DropdownButtonComponent, "mona-dropdown-button", never, { "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; "iconOnly": { "alias": "iconOnly"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "text": { "alias": "text"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; }, { "menuItemClick": "menuItemClick"; }, ["menuItemComponents", "groupTemplate", "menuItemIconTemplate", "menuItemShortcutTemplate", "menuItemTextTemplate", "textTemplate"], never, true, never>;
87
+ }
88
+
89
+ declare class DropdownButtonCheckboxItemComponent extends PopupMenuCheckboxItemComponent {
90
+ readonly origin = PopupMenuOrigin.DropdownButton;
91
+ constructor();
92
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownButtonCheckboxItemComponent, never>;
93
+ static ɵcmp: i0.ɵɵComponentDeclaration<DropdownButtonCheckboxItemComponent, "mona-dropdown-button-checkbox-item", never, {}, {}, never, never, true, never>;
94
+ }
95
+
96
+ declare class DropdownButtonGroupComponent extends PopupMenuGroupComponent {
97
+ readonly origin = PopupMenuOrigin.DropdownButton;
98
+ constructor();
99
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownButtonGroupComponent, never>;
100
+ static ɵcmp: i0.ɵɵComponentDeclaration<DropdownButtonGroupComponent, "mona-dropdown-button-group", never, {}, {}, never, never, true, never>;
101
+ }
102
+
103
+ declare class DropdownButtonItemComponent extends PopupMenuItemComponent {
104
+ readonly origin = PopupMenuOrigin.DropdownButton;
105
+ constructor();
106
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownButtonItemComponent, never>;
107
+ static ɵcmp: i0.ɵɵComponentDeclaration<DropdownButtonItemComponent, "mona-dropdown-button-item", never, {}, {}, never, never, true, never>;
108
+ }
109
+
110
+ declare class DropdownButtonRadioGroupComponent extends PopupMenuRadioGroupComponent {
111
+ readonly origin = PopupMenuOrigin.DropdownButton;
112
+ constructor();
113
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownButtonRadioGroupComponent, never>;
114
+ static ɵcmp: i0.ɵɵComponentDeclaration<DropdownButtonRadioGroupComponent, "mona-dropdown-button-radio-group", never, {}, {}, never, never, true, never>;
115
+ }
116
+
117
+ declare class DropdownButtonRadioItemComponent extends PopupMenuRadioItemComponent {
118
+ readonly origin = PopupMenuOrigin.DropdownButton;
119
+ constructor();
120
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownButtonRadioItemComponent, never>;
121
+ static ɵcmp: i0.ɵɵComponentDeclaration<DropdownButtonRadioItemComponent, "mona-dropdown-button-radio-item", never, {}, {}, never, never, true, never>;
122
+ }
123
+
124
+ declare class DropdownButtonSeparatorComponent extends PopupMenuSeparatorComponent {
125
+ readonly origin = PopupMenuOrigin.DropdownButton;
126
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownButtonSeparatorComponent, never>;
127
+ static ɵcmp: i0.ɵɵComponentDeclaration<DropdownButtonSeparatorComponent, "mona-dropdown-button-separator", never, {}, {}, never, never, true, never>;
128
+ }
129
+
130
+ declare class DropdownButtonMenuGroupTemplateDirective extends PopupMenuGroupTemplateDirective {
131
+ readonly origin = PopupMenuTemplateOrigin.DropdownButton;
132
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownButtonMenuGroupTemplateDirective, never>;
133
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownButtonMenuGroupTemplateDirective, "ng-template[monaDropdownButtonMenuGroupTemplate]", never, {}, {}, never, never, true, never>;
134
+ }
135
+
136
+ declare class DropdownButtonMenuItemIconTemplateDirective extends PopupMenuIconTemplateDirective {
137
+ readonly origin = PopupMenuTemplateOrigin.DropdownButton;
138
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownButtonMenuItemIconTemplateDirective, never>;
139
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownButtonMenuItemIconTemplateDirective, "ng-template[monaDropdownButtonMenuItemIconTemplate]", never, {}, {}, never, never, true, never>;
140
+ }
141
+
142
+ declare class DropdownButtonMenuItemShortcutTemplateDirective extends PopupMenuShortcutTemplateDirective {
143
+ readonly origin = PopupMenuTemplateOrigin.DropdownButton;
144
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownButtonMenuItemShortcutTemplateDirective, never>;
145
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownButtonMenuItemShortcutTemplateDirective, "ng-template[monaDropdownButtonMenuItemShortcutTemplate]", never, {}, {}, never, never, true, never>;
146
+ }
147
+
148
+ declare class DropdownButtonMenuItemTextTemplateDirective extends PopupMenuTextTemplateDirective {
149
+ readonly origin = PopupMenuTemplateOrigin.DropdownButton;
150
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownButtonMenuItemTextTemplateDirective, never>;
151
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownButtonMenuItemTextTemplateDirective, "ng-template[monaDropdownButtonMenuItemTextTemplate]", never, {}, {}, never, never, true, never>;
152
+ }
153
+
154
+ declare class DropdownButtonTextTemplateDirective {
155
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownButtonTextTemplateDirective, never>;
156
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownButtonTextTemplateDirective, "ng-template[monaDropdownButtonTextTemplate]", never, {}, {}, never, never, true, never>;
157
+ }
158
+
159
+ export { DropdownButtonCheckboxItemComponent, DropdownButtonComponent, DropdownButtonGroupComponent, DropdownButtonItemComponent, DropdownButtonMenuGroupTemplateDirective, DropdownButtonMenuItemIconTemplateDirective, DropdownButtonMenuItemShortcutTemplateDirective, DropdownButtonMenuItemTextTemplateDirective, DropdownButtonRadioGroupComponent, DropdownButtonRadioItemComponent, DropdownButtonSeparatorComponent, DropdownButtonTextTemplateDirective };
@@ -0,0 +1,219 @@
1
+ import * as _nanahoshi_mona_ui_internal_list from '@nanahoshi/mona-ui/internal/list';
2
+ import { SelectableOptions, ListSizeInputType, SelectionChangeEvent } from '@nanahoshi/mona-ui/internal/list';
3
+ import * as _angular_core from '@angular/core';
4
+ import { TemplateRef } from '@angular/core';
5
+ import { FormValueControl } from '@angular/forms/signals';
6
+ import { PreventableEvent } from '@nanahoshi/mona-ui/common';
7
+ import * as i1 from '@nanahoshi/mona-ui/dropdowns';
8
+ import { DropdownDataInput, DropdownPopupInput, DropdownFieldPredicateType, DropdownFieldSelectorType } from '@nanahoshi/mona-ui/dropdowns';
9
+ import { PopupCloseEvent } from '@nanahoshi/mona-ui/popup';
10
+ import * as class_variance_authority_types from 'class-variance-authority/types';
11
+ import { VariantInputs } from '@nanahoshi/mona-ui/internal';
12
+ import { ThemeStyle } from '@nanahoshi/mona-ui/theme';
13
+ import { VariantProps } from 'class-variance-authority';
14
+
15
+ declare const dropdownListAffixContainerThemeVariants: (theme: ThemeStyle) => (props?: class_variance_authority_types.ClassProp | undefined) => string;
16
+ declare const dropdownListInputThemeVariants: (theme: ThemeStyle) => (props?: ({
17
+ disabled?: boolean | null | undefined;
18
+ expanded?: boolean | null | undefined;
19
+ hasPrefix?: boolean | null | undefined;
20
+ invalid?: boolean | null | undefined;
21
+ rounded?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
22
+ size?: "small" | "medium" | "large" | null | undefined;
23
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
24
+ declare const dropdownListValueContainerThemeVariants: (theme: ThemeStyle) => (props?: ({
25
+ hasTemplate?: boolean | null | undefined;
26
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
27
+ type DropdownListInputVariantProps = VariantProps<ReturnType<typeof dropdownListInputThemeVariants>>;
28
+ type DropdownListInputVariantInput = VariantInputs<DropdownListInputVariantProps>;
29
+ type DropdownListAffixContainerVariantProps = VariantProps<ReturnType<typeof dropdownListAffixContainerThemeVariants>>;
30
+ type DropdownListAffixContainerVariantInput = VariantInputs<DropdownListAffixContainerVariantProps>;
31
+ type DropdownListValueContainerVariantProps = VariantProps<ReturnType<typeof dropdownListValueContainerThemeVariants>>;
32
+ type DropdownListValueContainerVariantInput = VariantInputs<DropdownListValueContainerVariantProps>;
33
+ type DropDownListVariantProps = DropdownListInputVariantProps & DropdownListAffixContainerVariantProps & DropdownListValueContainerVariantProps;
34
+ type DropDownListVariantInput = Omit<DropdownListInputVariantInput, "expanded" | "hasPrefix" | "invalid"> & DropdownListAffixContainerVariantInput & Omit<DropdownListValueContainerVariantInput, "hasTemplate">;
35
+
36
+ declare class DropdownListComponent<TData = unknown> implements FormValueControl<TData | null>, DropDownListVariantInput, DropdownDataInput<TData>, DropdownPopupInput {
37
+ #private;
38
+ protected readonly activeDescendant: _angular_core.Signal<string | null>;
39
+ protected readonly affixClass: _angular_core.Signal<string>;
40
+ protected readonly baseClass: _angular_core.Signal<string>;
41
+ protected readonly effectiveAriaLabel: _angular_core.Signal<string>;
42
+ protected readonly expanded: _angular_core.Signal<boolean>;
43
+ protected readonly footerTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
44
+ protected readonly groupHeaderTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
45
+ protected readonly headerTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
46
+ protected readonly itemTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
47
+ protected readonly invalidState: _angular_core.Signal<boolean>;
48
+ protected readonly isEmpty: _angular_core.Signal<boolean>;
49
+ protected readonly listId: string;
50
+ protected readonly listPopupClass: _angular_core.Signal<string>;
51
+ protected readonly noDataTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
52
+ protected readonly popupTemplate: _angular_core.Signal<TemplateRef<any>>;
53
+ protected readonly prefixTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
54
+ protected readonly selectableOptions: SelectableOptions;
55
+ protected readonly selectedDataItem: _angular_core.Signal<NonNullable<TData> | null>;
56
+ protected readonly selectedListItem: _angular_core.Signal<_nanahoshi_mona_ui_internal_list.ListItem<TData> | null>;
57
+ protected readonly valueContainerClass: _angular_core.Signal<string>;
58
+ protected readonly valueTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
59
+ protected readonly valueText: _angular_core.Signal<string>;
60
+ /**
61
+ * @description Accessible name for the host element. Describe what the component represents.
62
+ * When empty, falls back to the placeholder text.
63
+ * @default ""
64
+ */
65
+ readonly ariaLabel: _angular_core.InputSignal<string>;
66
+ /**
67
+ * @description ID of an external element that provides the accessible name for the host element.
68
+ * @default ""
69
+ */
70
+ readonly ariaLabelledBy: _angular_core.InputSignal<string>;
71
+ /**
72
+ * @description Emitted when the popup is about to close. This event is preventable.
73
+ */
74
+ readonly close: _angular_core.OutputEmitterRef<PopupCloseEvent<unknown>>;
75
+ /**
76
+ * @description Emitted after the popup closes.
77
+ */
78
+ readonly closed: _angular_core.OutputEmitterRef<void>;
79
+ /**
80
+ * @description Collection of items to render.
81
+ * @default []
82
+ */
83
+ readonly data: _angular_core.InputSignal<Iterable<TData>>;
84
+ /**
85
+ * @description Renders the component with reduced visual emphasis and removes pointer interaction.
86
+ * @default false
87
+ */
88
+ readonly disabled: _angular_core.ModelSignal<boolean>;
89
+ /**
90
+ * @description Predicate or field name used to determine whether an individual item is disabled.
91
+ * @default undefined
92
+ */
93
+ readonly itemDisabled: _angular_core.InputSignal<DropdownFieldPredicateType<TData>>;
94
+ /**
95
+ * @description Marks the field as invalid. Set automatically by the `FormField` directive when bound via `[formField]`.
96
+ * @default false
97
+ */
98
+ readonly invalid: _angular_core.InputSignal<boolean>;
99
+ /**
100
+ * @description Displays a loading indicator and prevents interaction while an operation is in progress.
101
+ * @default false
102
+ */
103
+ readonly loading: _angular_core.InputSignal<boolean>;
104
+ /**
105
+ * @description Emitted when the popup is about to open. This event is preventable.
106
+ */
107
+ readonly open: _angular_core.OutputEmitterRef<PreventableEvent<Event>>;
108
+ /**
109
+ * @description Emitted after the popup opens.
110
+ */
111
+ readonly opened: _angular_core.OutputEmitterRef<void>;
112
+ /**
113
+ * @description Placeholder text shown when no value is selected or entered.
114
+ * @default ""
115
+ */
116
+ readonly placeholder: _angular_core.InputSignal<string>;
117
+ /**
118
+ * @description Additional CSS classes applied to the popup element.
119
+ * @default ""
120
+ */
121
+ readonly popupClass: _angular_core.InputSignal<string>;
122
+ /**
123
+ * @description Height of the popup element.
124
+ * @default null
125
+ */
126
+ readonly popupHeight: _angular_core.InputSignal<ListSizeInputType>;
127
+ /**
128
+ * @description Width of the popup element.
129
+ * @default null
130
+ */
131
+ readonly popupWidth: _angular_core.InputSignal<ListSizeInputType>;
132
+ /**
133
+ * @description Prevents value changes while preserving the component's visual state.
134
+ * @default false
135
+ */
136
+ readonly readonly: _angular_core.InputSignal<boolean>;
137
+ /**
138
+ * @description Marks the field as required for form validation.
139
+ * @default false
140
+ */
141
+ readonly required: _angular_core.InputSignal<boolean>;
142
+ /**
143
+ * @description Border-radius preset applied to the component.
144
+ * @default "medium"
145
+ */
146
+ readonly rounded: _angular_core.InputSignal<"none" | "small" | "medium" | "large" | "full" | null | undefined>;
147
+ /**
148
+ * @description Shows a clear button that resets the selected value when clicked.
149
+ * @default false
150
+ */
151
+ readonly showClearButton: _angular_core.InputSignal<boolean>;
152
+ /**
153
+ * @description Size preset controlling the component's dimensions.
154
+ * @default "medium"
155
+ */
156
+ readonly size: _angular_core.InputSignal<"small" | "medium" | "large" | null | undefined>;
157
+ /**
158
+ * @description Property name or accessor used to derive the display text from a data item.
159
+ * If omitted, the item itself is used as the display text.
160
+ * @default undefined
161
+ */
162
+ readonly textField: _angular_core.InputSignal<DropdownFieldSelectorType<TData>>;
163
+ /**
164
+ * @description Emitted when the control is interacted with via blur, selection, or clear.
165
+ * The `FormField` directive listens to this to mark the field as touched.
166
+ */
167
+ readonly touch: _angular_core.OutputEmitterRef<void>;
168
+ /**
169
+ * @description Marks the control as touched. Set automatically by the `FormField` directive when bound via `[formField]`.
170
+ * @default false
171
+ */
172
+ readonly touched: _angular_core.InputSignal<boolean>;
173
+ /**
174
+ * @description Additional CSS classes merged onto the host element via `tailwind-merge`.
175
+ * @default ""
176
+ */
177
+ readonly userClass: _angular_core.InputSignal<string>;
178
+ /**
179
+ * @description Property name or accessor used to derive the value from a data item.
180
+ * If omitted, the item itself is used as the value.
181
+ * @default undefined
182
+ */
183
+ readonly valueField: _angular_core.InputSignal<DropdownFieldSelectorType<TData>>;
184
+ /**
185
+ * @description Currently selected value, two-way bindable and compatible with Signal Forms via `[formField]`.
186
+ * When `valueField` is set, this may hold the primitive field value instead of the full data item.
187
+ * @default null
188
+ */
189
+ readonly value: _angular_core.ModelSignal<TData | null>;
190
+ constructor();
191
+ setValue(value: TData): void;
192
+ protected onBlur(): void;
193
+ protected onItemSelect(event: SelectionChangeEvent<TData>): void;
194
+ protected onValueClear(event: MouseEvent | KeyboardEvent): void;
195
+ private closePopup;
196
+ private cycleThroughMatchedItems;
197
+ focus(): void;
198
+ private handleEnterKey;
199
+ private handleHomeEndKeys;
200
+ private initialize;
201
+ private scrollToSelectedItem;
202
+ private setArrowKeyNavigationSubscription;
203
+ private setFilterChangeSubscription;
204
+ private setKeydownSubscription;
205
+ private setPopupCloseSubscriptions;
206
+ private setSubscriptions;
207
+ private setTypeaheadSubscription;
208
+ private updateValue;
209
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DropdownListComponent<any>, never>;
210
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DropdownListComponent<any>, "mona-dropdown-list", never, { "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "ariaLabelledBy": { "alias": "aria-labelledby"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "itemDisabled": { "alias": "itemDisabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "popupClass": { "alias": "popupClass"; "required": false; "isSignal": true; }; "popupHeight": { "alias": "popupHeight"; "required": false; "isSignal": true; }; "popupWidth": { "alias": "popupWidth"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "showClearButton": { "alias": "showClearButton"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "textField": { "alias": "textField"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "userClass": { "alias": "class"; "required": false; "isSignal": true; }; "valueField": { "alias": "valueField"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "close": "close"; "closed": "closed"; "disabled": "disabledChange"; "open": "open"; "opened": "opened"; "touch": "touch"; "value": "valueChange"; }, ["footerTemplate", "groupHeaderTemplate", "headerTemplate", "itemTemplate", "noDataTemplate", "prefixTemplate", "valueTemplate"], never, true, [{ directive: typeof i1.DropdownDataHandlerDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.DropdownListPopupHandlerDirective; inputs: {}; outputs: {}; }]>;
211
+ }
212
+
213
+ declare class DropdownListValueTemplateDirective {
214
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DropdownListValueTemplateDirective, never>;
215
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DropdownListValueTemplateDirective, "ng-template[monaDropDownListValueTemplate]", never, {}, {}, never, never, true, never>;
216
+ }
217
+
218
+ export { DropdownListComponent, DropdownListValueTemplateDirective };
219
+ export type { DropDownListVariantProps };
@@ -0,0 +1,176 @@
1
+ import * as i0 from '@angular/core';
2
+ import { InputSignal, InjectionToken, OutputEmitterRef, 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 { ThemeStyle } from '@nanahoshi/mona-ui/theme';
12
+ import { VariantProps } from 'class-variance-authority';
13
+
14
+ type DropdownFieldSelectorType<TData> = string | Selector<TData, string> | 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>>;
21
+ readonly valueField: InputSignal<DropdownFieldSelectorType<TData>>;
22
+ }
23
+ declare const DropdownDataInputToken: InjectionToken<DropdownDataInput<unknown>>;
24
+
25
+ interface DropdownPopupInput {
26
+ readonly close: OutputEmitterRef<PopupCloseEvent>;
27
+ readonly closed: OutputEmitterRef<void>;
28
+ readonly disabled: InputSignal<boolean>;
29
+ readonly open: OutputEmitterRef<PreventableEvent>;
30
+ readonly opened: OutputEmitterRef<void>;
31
+ readonly readonly: InputSignal<boolean>;
32
+ readonly popupHeight: InputSignal<ListSizeInputType>;
33
+ readonly popupWidth: InputSignal<ListSizeInputType>;
34
+ }
35
+ declare const DropdownPopupInputToken: InjectionToken<DropdownPopupInput>;
36
+
37
+ declare class DropdownFilterableDirective<TData> {
38
+ #private;
39
+ readonly filter: i0.InputSignal<string>;
40
+ readonly filterChange: i0.OutputEmitterRef<FilterChangeEvent>;
41
+ readonly filterPlaceholder: i0.InputSignal<string>;
42
+ readonly options: i0.InputSignal<"" | Partial<FilterableOptions>>;
43
+ constructor();
44
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownFilterableDirective<any>, never>;
45
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownFilterableDirective<any>, " 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>;
46
+ }
47
+
48
+ declare class DropdownFooterTemplateDirective {
49
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownFooterTemplateDirective, never>;
50
+ 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>;
51
+ }
52
+
53
+ declare class DropdownGroupHeaderTemplateDirective {
54
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownGroupHeaderTemplateDirective, never>;
55
+ 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>;
56
+ }
57
+
58
+ declare class DropdownGroupableDirective<TData> {
59
+ #private;
60
+ readonly groupBy: i0.InputSignal<string | Selector<TData, any> | null | undefined>;
61
+ readonly options: i0.InputSignal<"" | GroupableOptions<TData, any>>;
62
+ constructor();
63
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownGroupableDirective<any>, never>;
64
+ 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>;
65
+ }
66
+
67
+ declare class DropdownHeaderTemplateDirective {
68
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownHeaderTemplateDirective, never>;
69
+ 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>;
70
+ }
71
+
72
+ declare class DropdownItemTemplateDirective {
73
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownItemTemplateDirective, never>;
74
+ 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>;
75
+ }
76
+
77
+ declare class DropdownNoDataTemplateDirective {
78
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownNoDataTemplateDirective, never>;
79
+ 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>;
80
+ }
81
+
82
+ declare class DropdownVirtualScrollDirective<TData> {
83
+ #private;
84
+ readonly options: i0.InputSignal<"" | Partial<VirtualScrollOptions>>;
85
+ constructor();
86
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownVirtualScrollDirective<any>, never>;
87
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownVirtualScrollDirective<any>, " 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>;
88
+ }
89
+
90
+ declare class DropdownDataHandlerDirective {
91
+ #private;
92
+ constructor();
93
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownDataHandlerDirective, never>;
94
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownDataHandlerDirective, "[monaDropdownDataHandler]", never, {}, {}, never, never, true, never>;
95
+ }
96
+
97
+ declare class DropdownPopupHandlerDirective {
98
+ #private;
99
+ constructor();
100
+ private closePopup;
101
+ private getMaxHeight;
102
+ private getMinWidth;
103
+ private openPopup;
104
+ private setPopupCloseSubscriptions;
105
+ private togglePopup;
106
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownPopupHandlerDirective, never>;
107
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownPopupHandlerDirective, "[monaDropdownPopupHandler]", never, {}, {}, never, never, true, never>;
108
+ }
109
+
110
+ declare class DropdownListPopupHandlerDirective {
111
+ #private;
112
+ constructor();
113
+ private closePopup;
114
+ private handleArrowKeys;
115
+ private handleKeyDown;
116
+ private handleScrollOnPopupOpen;
117
+ private scrollToHighlightedItem;
118
+ private scrollToSelectedItem;
119
+ private setKeyboardEvents;
120
+ private setPopupCloseSubscriptions;
121
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownListPopupHandlerDirective, never>;
122
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownListPopupHandlerDirective, "[monaDropdownListPopupHandler]", never, {}, {}, never, never, true, [{ directive: typeof DropdownPopupHandlerDirective; inputs: {}; outputs: {}; }]>;
123
+ }
124
+
125
+ declare class DropdownLiveRegionDirective {
126
+ #private;
127
+ protected readonly liveRegionText: i0.Signal<string>;
128
+ constructor();
129
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownLiveRegionDirective, never>;
130
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownLiveRegionDirective, "span[monaDropdownLiveRegion]", never, {}, {}, never, never, true, never>;
131
+ }
132
+
133
+ declare class DropdownPrefixTemplateDirective {
134
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownPrefixTemplateDirective, never>;
135
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownPrefixTemplateDirective, "ng-template[monaDropdownPrefixTemplate]", never, {}, {}, never, never, true, never>;
136
+ }
137
+
138
+ declare class DropdownSuffixTemplateDirective {
139
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownSuffixTemplateDirective, never>;
140
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownSuffixTemplateDirective, "ng-template[monaDropdownSuffixTemplate]", never, {}, {}, never, never, true, never>;
141
+ }
142
+
143
+ declare class DropdownService {
144
+ readonly beforeKeydown$: Subject<PreventableEvent<KeyboardEvent>>;
145
+ readonly beforeNavigate$: Subject<PreventableEvent<KeyboardEvent>>;
146
+ readonly keydown$: Subject<KeyboardEvent>;
147
+ readonly popupCloseComplete$: Subject<PopupCloseEvent<unknown>>;
148
+ readonly popupCloseStart$: Subject<PopupCloseEvent<unknown>>;
149
+ readonly popupOpenComplete$: Subject<void>;
150
+ readonly popupRef: i0.WritableSignal<PopupRef | null>;
151
+ readonly popupTemplate: i0.WritableSignal<TemplateRef<any> | null>;
152
+ readonly restoreFocus: i0.WritableSignal<boolean | "auto">;
153
+ readonly triggerPopupOpen$: Subject<Partial<PopupSettings<unknown, void>>>;
154
+ readonly triggerPopupToggle$: Subject<Partial<PopupSettings<unknown, void>>>;
155
+ static getDefaultPositions(): ConnectionPositionPair[];
156
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownService, never>;
157
+ static ɵprov: i0.ɵɵInjectableDeclaration<DropdownService>;
158
+ }
159
+
160
+ declare class DropdownListService {
161
+ readonly navigate$: Subject<{
162
+ item: ListItem<any>;
163
+ }>;
164
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownListService, never>;
165
+ static ɵprov: i0.ɵɵInjectableDeclaration<DropdownListService>;
166
+ }
167
+
168
+ declare const dropdownPopupThemeVariants: (theme: ThemeStyle) => (props?: ({
169
+ rounded?: "none" | "small" | "medium" | "large" | "full" | null | undefined;
170
+ size?: "small" | "medium" | "large" | null | undefined;
171
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
172
+ type DropdownPopupVariantProps = VariantProps<ReturnType<typeof dropdownPopupThemeVariants>>;
173
+ type DropdownPopupVariantInput = VariantInputs<DropdownPopupVariantProps>;
174
+
175
+ export { DropdownDataHandlerDirective, DropdownDataInputToken, DropdownFilterableDirective, DropdownFooterTemplateDirective, DropdownGroupHeaderTemplateDirective, DropdownGroupableDirective, DropdownHeaderTemplateDirective, DropdownItemTemplateDirective, DropdownListPopupHandlerDirective, DropdownListService, DropdownLiveRegionDirective, DropdownNoDataTemplateDirective, DropdownPopupHandlerDirective, DropdownPopupInputToken, DropdownPrefixTemplateDirective, DropdownService, DropdownSuffixTemplateDirective, DropdownVirtualScrollDirective, dropdownPopupThemeVariants };
176
+ export type { DropdownDataInput, DropdownFieldPredicateType, DropdownFieldSelectorType, DropdownPopupInput, DropdownPopupVariantInput, DropdownPopupVariantProps };