@acorex/components 22.0.0-next.9 → 22.0.1-next.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 (205) hide show
  1. package/combo-box/README.md +35 -0
  2. package/emoji/README.md +3 -0
  3. package/emojipicker/README.md +3 -0
  4. package/fesm2022/acorex-components-accordion.mjs +4 -4
  5. package/fesm2022/acorex-components-accordion.mjs.map +1 -1
  6. package/fesm2022/acorex-components-action-sheet.mjs +1 -0
  7. package/fesm2022/acorex-components-action-sheet.mjs.map +1 -1
  8. package/fesm2022/acorex-components-alert.mjs +2 -2
  9. package/fesm2022/acorex-components-alert.mjs.map +1 -1
  10. package/fesm2022/acorex-components-audio-wave.mjs +291 -267
  11. package/fesm2022/acorex-components-audio-wave.mjs.map +1 -1
  12. package/fesm2022/acorex-components-bubble.mjs +71 -0
  13. package/fesm2022/acorex-components-bubble.mjs.map +1 -0
  14. package/fesm2022/acorex-components-button-group.mjs +12 -5
  15. package/fesm2022/acorex-components-button-group.mjs.map +1 -1
  16. package/fesm2022/acorex-components-button.mjs +6 -6
  17. package/fesm2022/acorex-components-button.mjs.map +1 -1
  18. package/fesm2022/acorex-components-calendar.mjs +328 -127
  19. package/fesm2022/acorex-components-calendar.mjs.map +1 -1
  20. package/fesm2022/acorex-components-check-box.mjs +2 -2
  21. package/fesm2022/acorex-components-check-box.mjs.map +1 -1
  22. package/fesm2022/acorex-components-combo-box.mjs +973 -0
  23. package/fesm2022/acorex-components-combo-box.mjs.map +1 -0
  24. package/fesm2022/acorex-components-conversation-acorex-components-conversation-DDkiZfPb.mjs +19058 -0
  25. package/fesm2022/acorex-components-conversation-acorex-components-conversation-DDkiZfPb.mjs.map +1 -0
  26. package/fesm2022/acorex-components-conversation-composer-action-choice-dialog.component-COUB9zrM.mjs +50 -0
  27. package/fesm2022/acorex-components-conversation-composer-action-choice-dialog.component-COUB9zrM.mjs.map +1 -0
  28. package/fesm2022/acorex-components-conversation-image-picker-editor-dialog.component-COT96F_v.mjs +87 -0
  29. package/fesm2022/acorex-components-conversation-image-picker-editor-dialog.component-COT96F_v.mjs.map +1 -0
  30. package/fesm2022/acorex-components-conversation-picker-rename-file-dialog.component-CH3Q6Hry.mjs +65 -0
  31. package/fesm2022/acorex-components-conversation-picker-rename-file-dialog.component-CH3Q6Hry.mjs.map +1 -0
  32. package/fesm2022/acorex-components-conversation.mjs +1 -22920
  33. package/fesm2022/acorex-components-conversation.mjs.map +1 -1
  34. package/fesm2022/acorex-components-cron-job.mjs +1 -1
  35. package/fesm2022/acorex-components-cron-job.mjs.map +1 -1
  36. package/fesm2022/acorex-components-data-pager.mjs +4 -4
  37. package/fesm2022/acorex-components-data-pager.mjs.map +1 -1
  38. package/fesm2022/acorex-components-data-table.mjs +310 -90
  39. package/fesm2022/acorex-components-data-table.mjs.map +1 -1
  40. package/fesm2022/acorex-components-datetime-box.mjs +14 -16
  41. package/fesm2022/acorex-components-datetime-box.mjs.map +1 -1
  42. package/fesm2022/acorex-components-datetime-input.mjs +61 -32
  43. package/fesm2022/acorex-components-datetime-input.mjs.map +1 -1
  44. package/fesm2022/acorex-components-datetime-picker.mjs +1 -1
  45. package/fesm2022/acorex-components-datetime-picker.mjs.map +1 -1
  46. package/fesm2022/acorex-components-decorators.mjs +57 -11
  47. package/fesm2022/acorex-components-decorators.mjs.map +1 -1
  48. package/fesm2022/acorex-components-dialog.mjs +7 -4
  49. package/fesm2022/acorex-components-dialog.mjs.map +1 -1
  50. package/fesm2022/acorex-components-drawer.mjs +2 -2
  51. package/fesm2022/acorex-components-drawer.mjs.map +1 -1
  52. package/fesm2022/acorex-components-dropdown-button.mjs +1 -1
  53. package/fesm2022/acorex-components-dropdown-button.mjs.map +1 -1
  54. package/fesm2022/acorex-components-dropdown.mjs +4 -4
  55. package/fesm2022/acorex-components-dropdown.mjs.map +1 -1
  56. package/fesm2022/acorex-components-emoji.mjs +74 -0
  57. package/fesm2022/acorex-components-emoji.mjs.map +1 -0
  58. package/fesm2022/acorex-components-emojipicker.mjs +425 -0
  59. package/fesm2022/acorex-components-emojipicker.mjs.map +1 -0
  60. package/fesm2022/acorex-components-fab.mjs +5 -5
  61. package/fesm2022/acorex-components-fab.mjs.map +1 -1
  62. package/fesm2022/acorex-components-file-viewer.mjs +359 -109
  63. package/fesm2022/acorex-components-file-viewer.mjs.map +1 -1
  64. package/fesm2022/acorex-components-form.mjs +22 -6
  65. package/fesm2022/acorex-components-form.mjs.map +1 -1
  66. package/fesm2022/acorex-components-grid-layout-builder.mjs +238 -36
  67. package/fesm2022/acorex-components-grid-layout-builder.mjs.map +1 -1
  68. package/fesm2022/acorex-components-highlight.mjs +80 -0
  69. package/fesm2022/acorex-components-highlight.mjs.map +1 -0
  70. package/fesm2022/acorex-components-image-editor.mjs +686 -416
  71. package/fesm2022/acorex-components-image-editor.mjs.map +1 -1
  72. package/fesm2022/acorex-components-inline-reaction.mjs +111 -0
  73. package/fesm2022/acorex-components-inline-reaction.mjs.map +1 -0
  74. package/fesm2022/acorex-components-kanban.mjs +1 -1
  75. package/fesm2022/acorex-components-kanban.mjs.map +1 -1
  76. package/fesm2022/acorex-components-label.mjs +2 -2
  77. package/fesm2022/acorex-components-label.mjs.map +1 -1
  78. package/fesm2022/acorex-components-list.mjs +2 -2
  79. package/fesm2022/acorex-components-list.mjs.map +1 -1
  80. package/fesm2022/acorex-components-loading-dialog.mjs +59 -42
  81. package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
  82. package/fesm2022/acorex-components-lookup.mjs +3505 -0
  83. package/fesm2022/acorex-components-lookup.mjs.map +1 -0
  84. package/fesm2022/acorex-components-map.mjs +9 -2
  85. package/fesm2022/acorex-components-map.mjs.map +1 -1
  86. package/fesm2022/acorex-components-menu.mjs +322 -79
  87. package/fesm2022/acorex-components-menu.mjs.map +1 -1
  88. package/fesm2022/acorex-components-message-status.mjs +71 -0
  89. package/fesm2022/acorex-components-message-status.mjs.map +1 -0
  90. package/fesm2022/acorex-components-message-time.mjs +36 -0
  91. package/fesm2022/acorex-components-message-time.mjs.map +1 -0
  92. package/fesm2022/acorex-components-message.mjs +120 -0
  93. package/fesm2022/acorex-components-message.mjs.map +1 -0
  94. package/fesm2022/acorex-components-notification.mjs +13 -6
  95. package/fesm2022/acorex-components-notification.mjs.map +1 -1
  96. package/fesm2022/acorex-components-number-box.mjs +30 -29
  97. package/fesm2022/acorex-components-number-box.mjs.map +1 -1
  98. package/fesm2022/acorex-components-paint.mjs +1 -1
  99. package/fesm2022/acorex-components-paint.mjs.map +1 -1
  100. package/fesm2022/acorex-components-password-box.mjs +3 -3
  101. package/fesm2022/acorex-components-password-box.mjs.map +1 -1
  102. package/fesm2022/acorex-components-popover.mjs +40 -6
  103. package/fesm2022/acorex-components-popover.mjs.map +1 -1
  104. package/fesm2022/acorex-components-popup.mjs +4 -2
  105. package/fesm2022/acorex-components-popup.mjs.map +1 -1
  106. package/fesm2022/acorex-components-radio.mjs +2 -2
  107. package/fesm2022/acorex-components-radio.mjs.map +1 -1
  108. package/fesm2022/acorex-components-rail-navigation.mjs +2 -2
  109. package/fesm2022/acorex-components-rail-navigation.mjs.map +1 -1
  110. package/fesm2022/acorex-components-range-slider.mjs +2 -2
  111. package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
  112. package/fesm2022/acorex-components-reaction.mjs +144 -0
  113. package/fesm2022/acorex-components-reaction.mjs.map +1 -0
  114. package/fesm2022/acorex-components-rest-api-generator.mjs +5 -5
  115. package/fesm2022/acorex-components-rest-api-generator.mjs.map +1 -1
  116. package/fesm2022/acorex-components-rrule.mjs +1 -1
  117. package/fesm2022/acorex-components-rrule.mjs.map +1 -1
  118. package/fesm2022/acorex-components-scheduler-picker.mjs +5 -5
  119. package/fesm2022/acorex-components-scheduler-picker.mjs.map +1 -1
  120. package/fesm2022/acorex-components-scheduler.mjs +12 -22
  121. package/fesm2022/acorex-components-scheduler.mjs.map +1 -1
  122. package/fesm2022/acorex-components-select-box.mjs +55 -18
  123. package/fesm2022/acorex-components-select-box.mjs.map +1 -1
  124. package/fesm2022/acorex-components-selection-list.mjs +3 -4
  125. package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
  126. package/fesm2022/acorex-components-switch.mjs +2 -2
  127. package/fesm2022/acorex-components-switch.mjs.map +1 -1
  128. package/fesm2022/acorex-components-tabs.mjs +510 -74
  129. package/fesm2022/acorex-components-tabs.mjs.map +1 -1
  130. package/fesm2022/acorex-components-tag-box.mjs +2 -2
  131. package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
  132. package/fesm2022/acorex-components-text-area.mjs +2 -2
  133. package/fesm2022/acorex-components-text-area.mjs.map +1 -1
  134. package/fesm2022/acorex-components-toast.mjs +9 -2
  135. package/fesm2022/acorex-components-toast.mjs.map +1 -1
  136. package/fesm2022/acorex-components-tooltip.mjs +2 -2
  137. package/fesm2022/acorex-components-tooltip.mjs.map +1 -1
  138. package/fesm2022/acorex-components-tree-view.mjs +86 -6
  139. package/fesm2022/acorex-components-tree-view.mjs.map +1 -1
  140. package/fesm2022/acorex-components-wysiwyg.mjs +76 -6
  141. package/fesm2022/acorex-components-wysiwyg.mjs.map +1 -1
  142. package/highlight/README.md +13 -0
  143. package/inline-reaction/README.md +3 -0
  144. package/lookup/README.md +74 -0
  145. package/message/README.md +3 -0
  146. package/message-status/README.md +3 -0
  147. package/message-time/README.md +3 -0
  148. package/package.json +51 -16
  149. package/reaction/README.md +3 -0
  150. package/select-box/README.md +5 -0
  151. package/types/acorex-components-action-sheet.d.ts +9 -1
  152. package/types/acorex-components-audio-wave.d.ts +132 -73
  153. package/types/acorex-components-bubble.d.ts +31 -0
  154. package/types/acorex-components-button-group.d.ts +4 -0
  155. package/types/acorex-components-button.d.ts +1 -1
  156. package/types/acorex-components-calendar.d.ts +41 -9
  157. package/types/acorex-components-combo-box.d.ts +310 -0
  158. package/types/acorex-components-conversation.d.ts +1806 -1790
  159. package/types/acorex-components-data-table.d.ts +74 -12
  160. package/types/acorex-components-datetime-box.d.ts +2 -0
  161. package/types/acorex-components-datetime-input.d.ts +24 -5
  162. package/types/acorex-components-decorators.d.ts +14 -1
  163. package/types/acorex-components-dialog.d.ts +9 -0
  164. package/types/acorex-components-emoji.d.ts +42 -0
  165. package/types/acorex-components-emojipicker.d.ts +146 -0
  166. package/types/acorex-components-file-viewer.d.ts +48 -4
  167. package/types/acorex-components-grid-layout-builder.d.ts +34 -2
  168. package/types/acorex-components-highlight.d.ts +31 -0
  169. package/types/acorex-components-image-editor.d.ts +68 -48
  170. package/types/acorex-components-inline-reaction.d.ts +52 -0
  171. package/types/acorex-components-loading-dialog.d.ts +12 -4
  172. package/types/acorex-components-lookup.d.ts +962 -0
  173. package/types/acorex-components-map.d.ts +5 -0
  174. package/types/acorex-components-menu.d.ts +43 -7
  175. package/types/acorex-components-message-status.d.ts +23 -0
  176. package/types/acorex-components-message-time.d.ts +19 -0
  177. package/types/acorex-components-message.d.ts +59 -0
  178. package/types/acorex-components-notification.d.ts +11 -1
  179. package/types/acorex-components-number-box.d.ts +3 -1
  180. package/types/acorex-components-popover.d.ts +12 -1
  181. package/types/acorex-components-popup.d.ts +9 -1
  182. package/types/acorex-components-reaction.d.ts +85 -0
  183. package/types/acorex-components-scheduler.d.ts +2 -4
  184. package/types/acorex-components-select-box.d.ts +21 -4
  185. package/types/acorex-components-selection-list.d.ts +1 -1
  186. package/types/acorex-components-tabs.d.ts +148 -19
  187. package/types/acorex-components-toast.d.ts +10 -1
  188. package/types/acorex-components-tree-view.d.ts +39 -2
  189. package/types/acorex-components-wysiwyg.d.ts +13 -0
  190. package/fesm2022/acorex-components-conversation-composer-action-choice-dialog.component-CNHiM1Sp.mjs +0 -106
  191. package/fesm2022/acorex-components-conversation-composer-action-choice-dialog.component-CNHiM1Sp.mjs.map +0 -1
  192. package/fesm2022/acorex-components-conversation-open-composer-picker-for-files-Hh5Oyp3p.mjs +0 -223
  193. package/fesm2022/acorex-components-conversation-open-composer-picker-for-files-Hh5Oyp3p.mjs.map +0 -1
  194. package/fesm2022/acorex-components-flow-chart.mjs +0 -735
  195. package/fesm2022/acorex-components-flow-chart.mjs.map +0 -1
  196. package/fesm2022/acorex-components-query-builder.mjs +0 -267
  197. package/fesm2022/acorex-components-query-builder.mjs.map +0 -1
  198. package/fesm2022/acorex-components-selection-list-2.mjs +0 -168
  199. package/fesm2022/acorex-components-selection-list-2.mjs.map +0 -1
  200. package/flow-chart/README.md +0 -3
  201. package/query-builder/README.md +0 -3
  202. package/selection-list-2/README.md +0 -3
  203. package/types/acorex-components-flow-chart.d.ts +0 -187
  204. package/types/acorex-components-query-builder.d.ts +0 -52
  205. package/types/acorex-components-selection-list-2.d.ts +0 -52
@@ -0,0 +1,310 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { TemplateRef, ElementRef } from '@angular/core';
3
+ import { NXValueComponent, AXStyleLookType, AXValueChangedEvent, AXFocusEvent, AXItemClickEvent, AXItemSelectedEvent, AXEvent, AXHtmlEvent } from '@acorex/cdk/common';
4
+ import { AXPopoverComponent } from '@acorex/components/popover';
5
+ import { AXSearchBoxComponent } from '@acorex/components/search-box';
6
+ import { Combobox } from '@angular/aria/combobox';
7
+ import { Listbox } from '@angular/aria/listbox';
8
+ import { FormValueControl } from '@angular/forms/signals';
9
+
10
+ /**
11
+ * An item in the combo box list.
12
+ *
13
+ * - `id` — unique key used for filtering/search and list identity
14
+ * - `text` — label shown in the list and in the trigger/input
15
+ * - `value` — value written to the component model when the item is selected
16
+ */
17
+ interface AXComboBoxItem {
18
+ id: string;
19
+ text: string;
20
+ value: string | number;
21
+ }
22
+ /**
23
+ * The combo box model value: a scalar (or `null`) in single-select mode,
24
+ * or an array of scalars in multi-select mode.
25
+ */
26
+ type AXComboBoxValue = string | number | (string | number)[] | null;
27
+
28
+ /**
29
+ * A minimal combo box for selecting one or more values from a list of items.
30
+ *
31
+ * Built on top of the `@angular/aria/combobox` directives, it supports two behaviors:
32
+ * - `searchable="true"` (default): an input with typeahead filtering (matches `id`). On small
33
+ * screens with `adaptivityEnabled`, the trigger is select-like and search moves into the actionsheet.
34
+ * - `searchable="false"`: a select-like, non-editable trigger (same input; typing blocked without
35
+ * Combobox `readonly`, so Tab focus and keyboard open/select keep working).
36
+ *
37
+ * With `multiple="true"`, selected values are shown as chips in the trigger and the popup stays
38
+ * open while toggling items (same interaction model as `ax-lookup` multi-select). Backspace with
39
+ * an empty trigger input removes the last chip; repeated presses clear the whole selection.
40
+ *
41
+ * With `adaptivityEnabled` (default `true`), the list opens as a bottom actionsheet on small
42
+ * screens instead of an anchored dropdown — the same alternate presentation as `ax-select-box`.
43
+ *
44
+ * Items use `text` for display, `id` for search/identity, and `value` as the submitted model value.
45
+ * Implements {@link FormValueControl} so `[(ngModel)]` / signal forms work via the `value` model
46
+ * (no `ControlValueAccessor`).
47
+ *
48
+ * @category Components
49
+ */
50
+ declare class AXComboBoxComponent extends NXValueComponent implements FormValueControl<AXComboBoxValue> {
51
+ #private;
52
+ /**
53
+ * The name of the form field, used by validation rules and `ax-form.validate(names)`.
54
+ */
55
+ name: _angular_core.InputSignal<string>;
56
+ /**
57
+ * The list of items the user can select from.
58
+ * Each item has `id` (search/identity), `text` (display), and `value` (submitted).
59
+ */
60
+ items: _angular_core.InputSignal<AXComboBoxItem[]>;
61
+ /**
62
+ * Whether the combo box accepts typing and filters the list (`true`),
63
+ * or is a select-like, non-editable trigger (`false`).
64
+ * On small screens with `adaptivityEnabled`, search is typed in the actionsheet instead of the trigger.
65
+ */
66
+ searchable: _angular_core.InputSignal<boolean>;
67
+ /**
68
+ * When `true`, multiple items can be selected. Selected values are shown as chips and the
69
+ * popup stays open while toggling. The model value is an array (`[]` when empty).
70
+ */
71
+ multiple: _angular_core.InputSignal<boolean>;
72
+ /**
73
+ * When `true` (default), the popup list uses the alternate actionsheet presentation on small
74
+ * screens (`SM`). Searchable mode then shows a search field inside the sheet. When `false`,
75
+ * the list always opens as an anchored dropdown.
76
+ */
77
+ adaptivityEnabled: _angular_core.InputSignal<boolean>;
78
+ /**
79
+ * Title shown in the actionsheet header on small screens. Falls back to `placeholder`.
80
+ * Supports i18n expressions (e.g. `@acorex:selectbox.popover.title`).
81
+ */
82
+ caption: _angular_core.InputSignal<string>;
83
+ /**
84
+ * When `true`, list rows use alternating background colors for easier scanning.
85
+ */
86
+ alternate: _angular_core.InputSignal<boolean>;
87
+ /**
88
+ * The placeholder text shown when no value is selected.
89
+ * Supports i18n expressions (e.g. `@acorex:chat.placeholders.select-conversation`).
90
+ */
91
+ placeholder: _angular_core.InputSignal<string>;
92
+ /**
93
+ * Placeholder for the trigger search input when items are already selected (multi-select),
94
+ * and for the in-sheet search field on small screens. Falls back to `placeholder` when the
95
+ * selection is empty on desktop.
96
+ * Supports i18n expressions (e.g. `@acorex:common.actions.search`).
97
+ */
98
+ searchPlaceholder: _angular_core.InputSignal<string>;
99
+ /** Resolved `placeholder` (i18n-aware). */
100
+ protected translatedPlaceholder: _angular_core.Signal<string>;
101
+ /** Resolved `searchPlaceholder` (i18n-aware). */
102
+ protected translatedSearchPlaceholder: _angular_core.Signal<string>;
103
+ /**
104
+ * When `true` (default), matching characters in popup result items are highlighted
105
+ * while the user searches.
106
+ */
107
+ highlightSearch: _angular_core.InputSignalWithTransform<boolean, unknown>;
108
+ /**
109
+ * Custom template rendered when the filtered list has no items.
110
+ * When omitted, a default "no result found" message is shown.
111
+ */
112
+ emptyTemplate: _angular_core.InputSignal<TemplateRef<unknown>>;
113
+ /**
114
+ * Custom template rendered for each item in the popup list.
115
+ * Context: `{ $implicit: AXComboBoxItem }`.
116
+ */
117
+ itemTemplate: _angular_core.InputSignal<TemplateRef<unknown>>;
118
+ /**
119
+ * Custom template rendered for the selected value in the trigger.
120
+ * Context: `{ $implicit: AXComboBoxItem }`.
121
+ * When `searchable` is true, the template is shown while the popup is closed and the input
122
+ * still reflects the selected text; typing/opening falls back to the plain input.
123
+ * In multi-select mode, the template replaces the chip text for each selected item.
124
+ */
125
+ selectedTemplate: _angular_core.InputSignal<TemplateRef<unknown>>;
126
+ /**
127
+ * Whether the combo box is disabled.
128
+ */
129
+ readonly disabled: _angular_core.InputSignal<boolean>;
130
+ /**
131
+ * Whether the combo box is readonly.
132
+ */
133
+ readonly readonly: _angular_core.InputSignal<boolean>;
134
+ /**
135
+ * Predefined look scheme of the editor container. Same looks as other editor components like ax-text-box.
136
+ */
137
+ look: _angular_core.ModelSignal<AXStyleLookType>;
138
+ /**
139
+ * The selected item `value`(s). Scalar (or `null`) in single mode; an array in multi mode.
140
+ * Supports `[(value)]`, `[(ngModel)]`, and signal forms via {@link FormValueControl}.
141
+ */
142
+ readonly value: _angular_core.ModelSignal<AXComboBoxValue>;
143
+ /**
144
+ * Emitted when the selected value changes.
145
+ */
146
+ onValueChanged: _angular_core.OutputEmitterRef<AXValueChangedEvent<AXComboBoxValue>>;
147
+ /**
148
+ * Emitted when the trigger receives focus.
149
+ */
150
+ onFocus: _angular_core.OutputEmitterRef<AXFocusEvent>;
151
+ /**
152
+ * Emitted when the trigger loses focus.
153
+ */
154
+ onBlur: _angular_core.OutputEmitterRef<AXFocusEvent>;
155
+ /**
156
+ * Emitted when a list item is clicked.
157
+ */
158
+ onItemClick: _angular_core.OutputEmitterRef<AXItemClickEvent<AXComboBoxItem>>;
159
+ /**
160
+ * Emitted when a list item is selected (click or keyboard).
161
+ */
162
+ onItemSelected: _angular_core.OutputEmitterRef<AXItemSelectedEvent<AXComboBoxItem>>;
163
+ /**
164
+ * Emitted when the popup list opens.
165
+ */
166
+ onOpened: _angular_core.OutputEmitterRef<AXEvent>;
167
+ /**
168
+ * Emitted when the popup list closes.
169
+ */
170
+ onClosed: _angular_core.OutputEmitterRef<AXEvent>;
171
+ /** Whether the popup is expanded. */
172
+ protected expanded: _angular_core.WritableSignal<boolean>;
173
+ /** Whether the list is currently shown as a bottom actionsheet (small screens + adaptivity). */
174
+ protected isActionsheetStyle: _angular_core.WritableSignal<boolean>;
175
+ /** Whether the trigger input is writable and filters as you type (desktop searchable only). */
176
+ protected isEditableTrigger: _angular_core.Signal<boolean>;
177
+ /** Whether search is typed in the actionsheet instead of the trigger. */
178
+ protected isSheetSearchEnabled: _angular_core.Signal<boolean>;
179
+ /** Query typed in the actionsheet search field (independent of the trigger display text). */
180
+ protected sheetSearchText: _angular_core.WritableSignal<string>;
181
+ /** The current selection normalized to an array of submitted values. */
182
+ protected selectedValues: _angular_core.Signal<(string | number)[]>;
183
+ /** Whether there is at least one selected value. */
184
+ protected hasSelection: _angular_core.Signal<boolean>;
185
+ /** Resolved selected items for the current model value(s). */
186
+ protected selectedItems: _angular_core.Signal<AXComboBoxItem[]>;
187
+ /** The item whose `value` matches the current model value (single-select). */
188
+ protected selectedItem: _angular_core.Signal<AXComboBoxItem>;
189
+ /** Display text shown in the trigger / used as the searchable input baseline (single-select). */
190
+ protected displayText: _angular_core.Signal<string>;
191
+ /** Resolved display text for the trigger input (i18n-aware). */
192
+ protected translatedDisplayText: _angular_core.Signal<string>;
193
+ /** Actionsheet header title with i18n fallback chain. */
194
+ protected actionsheetTitleSource: _angular_core.Signal<string>;
195
+ /** Resolved actionsheet title (i18n-aware). */
196
+ protected actionsheetTitle: _angular_core.Signal<string>;
197
+ /**
198
+ * The text typed in the searchable input.
199
+ * Multi-select starts empty; single mode syncs from the selected display text.
200
+ */
201
+ protected searchText: _angular_core.WritableSignal<string>;
202
+ /** Whether the trigger should render `selectedTemplate` instead of the plain input text. */
203
+ protected showSelectedTemplate: _angular_core.Signal<boolean>;
204
+ /** Placeholder for the editable trigger search input in multi-select. */
205
+ protected triggerSearchPlaceholder: _angular_core.Signal<string>;
206
+ /** The listbox selection (item ids), kept in sync with the selected value(s). */
207
+ protected selection: _angular_core.WritableSignal<string[]>;
208
+ /** Resolved search query from the trigger or sheet input (debounced before filtering). */
209
+ protected searchQuery: _angular_core.Signal<string>;
210
+ /** Query passed to result-item highlighting (empty when disabled). */
211
+ protected highlightQuery: _angular_core.Signal<string>;
212
+ /** Items filtered by typed query against `id` and `text` when the combo box is searchable. */
213
+ protected filteredItems: _angular_core.Signal<AXComboBoxItem[]>;
214
+ /** Whether the filtered list is empty (empty-state vs hidden listbox). */
215
+ protected hasNoMatches: _angular_core.Signal<boolean>;
216
+ protected comboboxRef: _angular_core.Signal<Combobox>;
217
+ protected listboxRef: _angular_core.Signal<Listbox<any>>;
218
+ protected popoverRef: _angular_core.Signal<AXPopoverComponent>;
219
+ protected originRef: _angular_core.Signal<ElementRef<HTMLElement>>;
220
+ protected popupRef: _angular_core.Signal<ElementRef<HTMLElement>>;
221
+ protected sheetSearchRef: _angular_core.Signal<AXSearchBoxComponent>;
222
+ constructor();
223
+ /** Scrolls the selected option into view after the popover overlay is open and laid out. */
224
+ protected onPopoverOpened(): void;
225
+ /** Stable unique key for `@for` — avoids NG0955 when `id` is missing or duplicated. */
226
+ protected trackItemKey(index: number, item: AXComboBoxItem): string;
227
+ /** Whether the given item is currently selected. */
228
+ protected isItemSelected(item: AXComboBoxItem): boolean;
229
+ /**
230
+ * Opens (searchable) or toggles (non-searchable) the popup on trigger click.
231
+ */
232
+ protected onTriggerClick(): void;
233
+ /**
234
+ * Toggles the popup when the chevron button is clicked.
235
+ */
236
+ protected onChevronClick(event: Event): void;
237
+ /**
238
+ * Keyboard handling on the trigger:
239
+ * - Searchable: Enter never submits the form; with no matches the value is cleared (`null`).
240
+ * - Non-searchable: open with Enter/Space when collapsed; commit with Space when expanded.
241
+ * - Multi-select: Backspace with an empty trigger input removes the last chip; repeated presses
242
+ * clear the whole selection.
243
+ */
244
+ protected onTriggerKeydown(event: KeyboardEvent): void;
245
+ /** Handles Enter in the actionsheet search field (no form submit; clear on no matches). */
246
+ protected onSheetSearchKeydown(e: AXHtmlEvent<KeyboardEvent>): void;
247
+ /** Blocks typing when the trigger is not editable (keeps Tab / keyboard open working). */
248
+ protected onBeforeInput(event: Event): void;
249
+ /**
250
+ * Combobox `expanded` two-way binding. On actionsheet with in-sheet search, ignore collapse
251
+ * so focusing the search field (Aria combobox blur) does not close the popup. Dismiss is owned
252
+ * by the header Apply/close button, `commit()`, and Escape. On desktop, outside click also closes.
253
+ */
254
+ protected onExpandedChange(open: boolean): void;
255
+ /** Filters the list from the actionsheet search field (reads the input so delayed ngModel cannot block typing). */
256
+ protected onSheetSearchInput(): void;
257
+ /**
258
+ * Keeps the combobox expanded state in sync when the popover closes (e.g. click outside).
259
+ */
260
+ protected onPopoverClosed(): void;
261
+ /**
262
+ * Removes a single chip from the multi selection.
263
+ */
264
+ protected removeChip(event: Event, item: AXComboBoxItem): void;
265
+ /**
266
+ * Clears the selected value(s) and closes the popup.
267
+ * Sets `null` in single mode and `[]` in multi mode. Used by projected `ax-clear-button`.
268
+ *
269
+ * @param isUserInteraction - Whether the clear was triggered by the user.
270
+ */
271
+ reset(isUserInteraction?: boolean): void;
272
+ /**
273
+ * Closes the popup list.
274
+ */
275
+ close(): void;
276
+ /**
277
+ * Closes the popup list (alias for {@link close}, required by `AXClosableComponent`).
278
+ */
279
+ closeAll(): void;
280
+ /**
281
+ * Commits the highlighted (active) or clicked list item as the component value.
282
+ *
283
+ * With `selectionMode="explicit"`, arrow keys only move the active item; Enter/Space must resolve
284
+ * that option. Clicks resolve from the event target so we do not depend on listener order vs ngListbox.
285
+ *
286
+ * In multi-select mode the item is toggled and the popup stays open.
287
+ * When the user typed a query with no matches, Enter clears single-select to `null`.
288
+ */
289
+ protected onListEnter(event: Event): void;
290
+ protected commit(event?: Event): void;
291
+ /**
292
+ * Focuses the combo box trigger input.
293
+ */
294
+ focus(options?: FocusOptions): void;
295
+ /** Forwards native focus from the trigger input. */
296
+ protected emitOnFocus(e: FocusEvent): void;
297
+ /** Forwards native blur from the trigger input. */
298
+ protected emitOnBlur(e: FocusEvent): void;
299
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXComboBoxComponent, never>;
300
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXComboBoxComponent, "ax-combo-box", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "searchable": { "alias": "searchable"; "required": false; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "adaptivityEnabled": { "alias": "adaptivityEnabled"; "required": false; "isSignal": true; }; "caption": { "alias": "caption"; "required": false; "isSignal": true; }; "alternate": { "alias": "alternate"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "highlightSearch": { "alias": "highlightSearch"; "required": false; "isSignal": true; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; "isSignal": true; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; "isSignal": true; }; "selectedTemplate": { "alias": "selectedTemplate"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "look": { "alias": "look"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "look": "lookChange"; "value": "valueChange"; "onValueChanged": "onValueChanged"; "onFocus": "onFocus"; "onBlur": "onBlur"; "onItemClick": "onItemClick"; "onItemSelected": "onItemSelected"; "onOpened": "onOpened"; "onClosed": "onClosed"; }, never, ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-header", "ax-footer", "ax-validation-rule"], true, never>;
301
+ }
302
+
303
+ declare class AXComboBoxModule {
304
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXComboBoxModule, never>;
305
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXComboBoxModule, never, [typeof AXComboBoxComponent], [typeof AXComboBoxComponent]>;
306
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXComboBoxModule>;
307
+ }
308
+
309
+ export { AXComboBoxComponent, AXComboBoxModule };
310
+ export type { AXComboBoxItem, AXComboBoxValue };