@acorex/components 22.1.0-next.1 → 22.1.0-next.10
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.
- package/combo-box/README.md +5 -1
- package/fesm2022/acorex-components-accordion.mjs +2 -2
- package/fesm2022/acorex-components-accordion.mjs.map +1 -1
- package/fesm2022/acorex-components-button.mjs +2 -2
- package/fesm2022/acorex-components-button.mjs.map +1 -1
- package/fesm2022/acorex-components-check-box.mjs +2 -2
- package/fesm2022/acorex-components-check-box.mjs.map +1 -1
- package/fesm2022/acorex-components-combo-box.mjs +181 -46
- package/fesm2022/acorex-components-combo-box.mjs.map +1 -1
- package/fesm2022/acorex-components-conversation.mjs +222 -101
- package/fesm2022/acorex-components-conversation.mjs.map +1 -1
- package/fesm2022/acorex-components-form.mjs +21 -5
- package/fesm2022/acorex-components-form.mjs.map +1 -1
- package/fesm2022/acorex-components-label.mjs +2 -2
- package/fesm2022/acorex-components-label.mjs.map +1 -1
- package/fesm2022/acorex-components-list.mjs +2 -2
- package/fesm2022/acorex-components-list.mjs.map +1 -1
- package/fesm2022/acorex-components-loading-dialog.mjs +59 -42
- package/fesm2022/acorex-components-loading-dialog.mjs.map +1 -1
- package/fesm2022/acorex-components-lookup.mjs +93 -43
- package/fesm2022/acorex-components-lookup.mjs.map +1 -1
- package/fesm2022/acorex-components-password-box.mjs +2 -2
- package/fesm2022/acorex-components-password-box.mjs.map +1 -1
- package/fesm2022/acorex-components-radio.mjs +2 -2
- package/fesm2022/acorex-components-radio.mjs.map +1 -1
- package/fesm2022/acorex-components-range-slider.mjs +2 -2
- package/fesm2022/acorex-components-range-slider.mjs.map +1 -1
- package/fesm2022/acorex-components-select-box.mjs +6 -7
- package/fesm2022/acorex-components-select-box.mjs.map +1 -1
- package/fesm2022/acorex-components-selection-list.mjs +2 -2
- package/fesm2022/acorex-components-selection-list.mjs.map +1 -1
- package/fesm2022/acorex-components-switch.mjs +2 -2
- package/fesm2022/acorex-components-switch.mjs.map +1 -1
- package/fesm2022/acorex-components-tabs.mjs +2 -2
- package/fesm2022/acorex-components-tabs.mjs.map +1 -1
- package/fesm2022/acorex-components-tag-box.mjs +2 -2
- package/fesm2022/acorex-components-tag-box.mjs.map +1 -1
- package/fesm2022/acorex-components-text-area.mjs +2 -2
- package/fesm2022/acorex-components-text-area.mjs.map +1 -1
- package/lookup/README.md +11 -0
- package/package.json +4 -7
- package/types/acorex-components-combo-box.d.ts +65 -18
- package/types/acorex-components-conversation.d.ts +81 -48
- package/types/acorex-components-loading-dialog.d.ts +12 -4
- package/types/acorex-components-lookup.d.ts +26 -3
- package/types/acorex-components-select-box.d.ts +2 -2
- package/fesm2022/acorex-components-selection-list-2.mjs +0 -168
- package/fesm2022/acorex-components-selection-list-2.mjs.map +0 -1
- package/selection-list-2/README.md +0 -3
- package/types/acorex-components-selection-list-2.d.ts +0 -52
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { TemplateRef } from '@angular/core';
|
|
3
|
-
import {
|
|
3
|
+
import { NXValueComponent, AXStyleLookType, AXValueChangedEvent, AXFocusEvent, AXItemClickEvent, AXItemSelectedEvent, AXEvent } from '@acorex/cdk/common';
|
|
4
4
|
import { AXPopoverComponent } from '@acorex/components/popover';
|
|
5
5
|
import { Combobox } from '@angular/aria/combobox';
|
|
6
6
|
import { Listbox } from '@angular/aria/listbox';
|
|
@@ -18,15 +18,23 @@ interface AXComboBoxItem {
|
|
|
18
18
|
text: string;
|
|
19
19
|
value: string | number;
|
|
20
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
* The combo box model value: a scalar (or `null`) in single-select mode,
|
|
23
|
+
* or an array of scalars in multi-select mode.
|
|
24
|
+
*/
|
|
25
|
+
type AXComboBoxValue = string | number | (string | number)[] | null;
|
|
21
26
|
|
|
22
27
|
/**
|
|
23
|
-
* A minimal combo box for selecting
|
|
28
|
+
* A minimal combo box for selecting one or more values from a list of items.
|
|
24
29
|
*
|
|
25
30
|
* Built on top of the `@angular/aria/combobox` directives, it supports two behaviors:
|
|
26
31
|
* - `searchable="true"` (default): an input with typeahead filtering (matches `id`).
|
|
27
32
|
* - `searchable="false"`: a select-like, non-editable trigger (same input; typing blocked without
|
|
28
33
|
* Combobox `readonly`, so Tab focus and keyboard open/select keep working).
|
|
29
34
|
*
|
|
35
|
+
* With `multiple="true"`, selected values are shown as chips in the trigger and the popup stays
|
|
36
|
+
* open while toggling items (same interaction model as `ax-lookup` multi-select).
|
|
37
|
+
*
|
|
30
38
|
* With `adaptivityEnabled` (default `true`), the list opens as a bottom actionsheet on small
|
|
31
39
|
* screens instead of an anchored dropdown — the same alternate presentation as `ax-select-box`.
|
|
32
40
|
*
|
|
@@ -36,8 +44,12 @@ interface AXComboBoxItem {
|
|
|
36
44
|
*
|
|
37
45
|
* @category Components
|
|
38
46
|
*/
|
|
39
|
-
declare class AXComboBoxComponent extends
|
|
47
|
+
declare class AXComboBoxComponent extends NXValueComponent implements FormValueControl<AXComboBoxValue> {
|
|
40
48
|
#private;
|
|
49
|
+
/**
|
|
50
|
+
* The name of the form field, used by validation rules and `ax-form.validate(names)`.
|
|
51
|
+
*/
|
|
52
|
+
name: _angular_core.InputSignal<string>;
|
|
41
53
|
/**
|
|
42
54
|
* The list of items the user can select from.
|
|
43
55
|
* Each item has `id` (search/identity), `text` (display), and `value` (submitted).
|
|
@@ -48,6 +60,11 @@ declare class AXComboBoxComponent extends NXComponent implements FormValueContro
|
|
|
48
60
|
* or is a select-like, non-editable trigger (`false`).
|
|
49
61
|
*/
|
|
50
62
|
searchable: _angular_core.InputSignal<boolean>;
|
|
63
|
+
/**
|
|
64
|
+
* When `true`, multiple items can be selected. Selected values are shown as chips and the
|
|
65
|
+
* popup stays open while toggling. The model value is an array (`[]` when empty).
|
|
66
|
+
*/
|
|
67
|
+
multiple: _angular_core.InputSignal<boolean>;
|
|
51
68
|
/**
|
|
52
69
|
* When `true` (default), the popup list uses the alternate actionsheet presentation on small
|
|
53
70
|
* screens (`SM`). When `false`, the list always opens as an anchored dropdown.
|
|
@@ -65,6 +82,11 @@ declare class AXComboBoxComponent extends NXComponent implements FormValueContro
|
|
|
65
82
|
* The placeholder text shown when no value is selected.
|
|
66
83
|
*/
|
|
67
84
|
placeholder: _angular_core.InputSignal<string>;
|
|
85
|
+
/**
|
|
86
|
+
* Placeholder for the trigger search input when items are already selected (multi-select).
|
|
87
|
+
* Falls back to `placeholder` when the selection is empty.
|
|
88
|
+
*/
|
|
89
|
+
searchPlaceholder: _angular_core.InputSignal<string>;
|
|
68
90
|
/**
|
|
69
91
|
* Custom template rendered when the filtered list has no items.
|
|
70
92
|
* When omitted, a default "no result found" message is shown.
|
|
@@ -80,6 +102,7 @@ declare class AXComboBoxComponent extends NXComponent implements FormValueContro
|
|
|
80
102
|
* Context: `{ $implicit: AXComboBoxItem }`.
|
|
81
103
|
* When `searchable` is true, the template is shown while the popup is closed and the input
|
|
82
104
|
* still reflects the selected text; typing/opening falls back to the plain input.
|
|
105
|
+
* In multi-select mode, the template replaces the chip text for each selected item.
|
|
83
106
|
*/
|
|
84
107
|
selectedTemplate: _angular_core.InputSignal<TemplateRef<unknown>>;
|
|
85
108
|
/**
|
|
@@ -95,14 +118,14 @@ declare class AXComboBoxComponent extends NXComponent implements FormValueContro
|
|
|
95
118
|
*/
|
|
96
119
|
look: _angular_core.ModelSignal<AXStyleLookType>;
|
|
97
120
|
/**
|
|
98
|
-
* The selected item
|
|
99
|
-
* via {@link FormValueControl}.
|
|
121
|
+
* The selected item `value`(s). Scalar (or `null`) in single mode; an array in multi mode.
|
|
122
|
+
* Supports `[(value)]`, `[(ngModel)]`, and signal forms via {@link FormValueControl}.
|
|
100
123
|
*/
|
|
101
|
-
readonly value: _angular_core.ModelSignal<
|
|
124
|
+
readonly value: _angular_core.ModelSignal<AXComboBoxValue>;
|
|
102
125
|
/**
|
|
103
126
|
* Emitted when the selected value changes.
|
|
104
127
|
*/
|
|
105
|
-
onValueChanged: _angular_core.OutputEmitterRef<AXValueChangedEvent<
|
|
128
|
+
onValueChanged: _angular_core.OutputEmitterRef<AXValueChangedEvent<AXComboBoxValue>>;
|
|
106
129
|
/**
|
|
107
130
|
* Emitted when the trigger receives focus.
|
|
108
131
|
*/
|
|
@@ -131,15 +154,26 @@ declare class AXComboBoxComponent extends NXComponent implements FormValueContro
|
|
|
131
154
|
protected expanded: _angular_core.WritableSignal<boolean>;
|
|
132
155
|
/** Whether the list is currently shown as a bottom actionsheet (small screens + adaptivity). */
|
|
133
156
|
protected isActionsheetStyle: _angular_core.WritableSignal<boolean>;
|
|
134
|
-
/** The
|
|
157
|
+
/** The current selection normalized to an array of submitted values. */
|
|
158
|
+
protected selectedValues: _angular_core.Signal<(string | number)[]>;
|
|
159
|
+
/** Whether there is at least one selected value. */
|
|
160
|
+
protected hasSelection: _angular_core.Signal<boolean>;
|
|
161
|
+
/** Resolved selected items for the current model value(s). */
|
|
162
|
+
protected selectedItems: _angular_core.Signal<AXComboBoxItem[]>;
|
|
163
|
+
/** The item whose `value` matches the current model value (single-select). */
|
|
135
164
|
protected selectedItem: _angular_core.Signal<AXComboBoxItem>;
|
|
136
|
-
/** Display text shown in the trigger / used as the searchable input baseline. */
|
|
165
|
+
/** Display text shown in the trigger / used as the searchable input baseline (single-select). */
|
|
137
166
|
protected displayText: _angular_core.Signal<string>;
|
|
138
|
-
/**
|
|
167
|
+
/**
|
|
168
|
+
* The text typed in the searchable input.
|
|
169
|
+
* Multi-select starts empty; single mode syncs from the selected display text.
|
|
170
|
+
*/
|
|
139
171
|
protected searchText: _angular_core.WritableSignal<string>;
|
|
140
172
|
/** Whether the trigger should render `selectedTemplate` instead of the plain input text. */
|
|
141
173
|
protected showSelectedTemplate: _angular_core.Signal<boolean>;
|
|
142
|
-
/**
|
|
174
|
+
/** Placeholder for the editable trigger search input in multi-select. */
|
|
175
|
+
protected triggerSearchPlaceholder: _angular_core.Signal<string>;
|
|
176
|
+
/** The listbox selection (item ids), kept in sync with the selected value(s). */
|
|
143
177
|
protected selection: _angular_core.WritableSignal<string[]>;
|
|
144
178
|
/** Items filtered by typed query against `id` when the combo box is searchable. */
|
|
145
179
|
protected filteredItems: _angular_core.Signal<AXComboBoxItem[]>;
|
|
@@ -149,13 +183,16 @@ declare class AXComboBoxComponent extends NXComponent implements FormValueContro
|
|
|
149
183
|
constructor();
|
|
150
184
|
/** Stable unique key for `@for` — avoids NG0955 when `id` is missing or duplicated. */
|
|
151
185
|
protected trackItemKey(index: number, item: AXComboBoxItem): string;
|
|
186
|
+
/** Whether the given item is currently selected. */
|
|
187
|
+
protected isItemSelected(item: AXComboBoxItem): boolean;
|
|
152
188
|
/**
|
|
153
189
|
* Opens (searchable) or toggles (non-searchable) the popup on trigger click.
|
|
154
190
|
*/
|
|
155
191
|
protected onTriggerClick(): void;
|
|
156
192
|
/**
|
|
157
|
-
*
|
|
158
|
-
*
|
|
193
|
+
* Keyboard handling on the trigger:
|
|
194
|
+
* - Non-searchable: open with Enter/Space when collapsed; commit with Space when expanded.
|
|
195
|
+
* - Multi-select: Backspace removes the last chip when the search input is empty.
|
|
159
196
|
*/
|
|
160
197
|
protected onTriggerKeydown(event: KeyboardEvent): void;
|
|
161
198
|
/** Blocks typing in non-searchable mode without Combobox `readonly` (keeps Tab/keyboard working). */
|
|
@@ -165,8 +202,12 @@ declare class AXComboBoxComponent extends NXComponent implements FormValueContro
|
|
|
165
202
|
*/
|
|
166
203
|
protected onPopoverClosed(): void;
|
|
167
204
|
/**
|
|
168
|
-
*
|
|
169
|
-
|
|
205
|
+
* Removes a single chip from the multi selection.
|
|
206
|
+
*/
|
|
207
|
+
protected removeChip(event: Event, item: AXComboBoxItem): void;
|
|
208
|
+
/**
|
|
209
|
+
* Clears the selected value(s) and closes the popup.
|
|
210
|
+
* Sets `null` in single mode and `[]` in multi mode. Used by projected `ax-clear-button`.
|
|
170
211
|
*
|
|
171
212
|
* @param isUserInteraction - Whether the clear was triggered by the user.
|
|
172
213
|
*/
|
|
@@ -180,18 +221,24 @@ declare class AXComboBoxComponent extends NXComponent implements FormValueContro
|
|
|
180
221
|
*/
|
|
181
222
|
closeAll(): void;
|
|
182
223
|
/**
|
|
183
|
-
* Commits the highlighted (active) or clicked list item as the component value
|
|
224
|
+
* Commits the highlighted (active) or clicked list item as the component value.
|
|
184
225
|
*
|
|
185
226
|
* With `selectionMode="explicit"`, arrow keys only move the active item; Enter/Space must resolve
|
|
186
227
|
* that option. Clicks resolve from the event target so we do not depend on listener order vs ngListbox.
|
|
228
|
+
*
|
|
229
|
+
* In multi-select mode the item is toggled and the popup stays open.
|
|
187
230
|
*/
|
|
188
231
|
protected commit(event?: Event): void;
|
|
232
|
+
/**
|
|
233
|
+
* Focuses the combo box trigger input.
|
|
234
|
+
*/
|
|
235
|
+
focus(options?: FocusOptions): void;
|
|
189
236
|
/** Forwards native focus from the trigger input. */
|
|
190
237
|
protected emitOnFocus(e: FocusEvent): void;
|
|
191
238
|
/** Forwards native blur from the trigger input. */
|
|
192
239
|
protected emitOnBlur(e: FocusEvent): void;
|
|
193
240
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXComboBoxComponent, never>;
|
|
194
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXComboBoxComponent, "ax-combo-box", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "searchable": { "alias": "searchable"; "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; }; "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"], true, never>;
|
|
241
|
+
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; }; "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>;
|
|
195
242
|
}
|
|
196
243
|
|
|
197
244
|
declare class AXComboBoxModule {
|
|
@@ -201,4 +248,4 @@ declare class AXComboBoxModule {
|
|
|
201
248
|
}
|
|
202
249
|
|
|
203
250
|
export { AXComboBoxComponent, AXComboBoxModule };
|
|
204
|
-
export type { AXComboBoxItem };
|
|
251
|
+
export type { AXComboBoxItem, AXComboBoxValue };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _acorex_components_conversation from '@acorex/components/conversation';
|
|
2
2
|
import * as _angular_core from '@angular/core';
|
|
3
3
|
import { OnDestroy, ViewContainerRef, Type, InputSignal, WritableSignal, Signal, Provider, OnInit, EventEmitter, TemplateRef, InjectionToken, ModuleWithProviders } from '@angular/core';
|
|
4
|
-
import { AXComponentCloseEvent, AXHtmlEvent, AXDataSource, AXPlacement, AXClosableComponent } from '@acorex/cdk/common';
|
|
4
|
+
import { AXComponentCloseEvent, AXHtmlEvent, AXClickEvent, AXDataSource, AXPlacement, AXClosableComponent } from '@acorex/cdk/common';
|
|
5
5
|
import * as _acorex_components_popup from '@acorex/components/popup';
|
|
6
6
|
import { AXPopupService, AXPopupRef } from '@acorex/components/popup';
|
|
7
7
|
import { AXFileUploadOptions, AXUploadResult, AXUploadReference, AXUploaderService, AXUploaderFileChangeEvent } from '@acorex/cdk/uploader';
|
|
@@ -716,18 +716,20 @@ declare class AXConversationComposerService {
|
|
|
716
716
|
readonly canSend: _angular_core.Signal<boolean>;
|
|
717
717
|
/** Composer action context */
|
|
718
718
|
readonly actionContext: _angular_core.Signal<AXConversationComposerActionContext>;
|
|
719
|
-
/**
|
|
720
|
-
readonly
|
|
721
|
-
/**
|
|
722
|
-
readonly
|
|
723
|
-
/**
|
|
724
|
-
readonly
|
|
725
|
-
/**
|
|
726
|
-
readonly
|
|
727
|
-
/**
|
|
728
|
-
readonly
|
|
729
|
-
/**
|
|
730
|
-
readonly
|
|
719
|
+
/** Start actions from registry */
|
|
720
|
+
readonly startActions: _angular_core.Signal<AXConversationComposerAction[]>;
|
|
721
|
+
/** End actions from registry */
|
|
722
|
+
readonly endActions: _angular_core.Signal<AXConversationComposerAction[]>;
|
|
723
|
+
/** Start inline actions (location = 'inline' or undefined) */
|
|
724
|
+
readonly startInlineActions: _angular_core.Signal<AXConversationComposerAction[]>;
|
|
725
|
+
/** Start menu actions — shown in the attachment popup */
|
|
726
|
+
readonly startMenuActions: _angular_core.Signal<AXConversationComposerAction[]>;
|
|
727
|
+
/** End inline actions inside the input pill (excludes default action) */
|
|
728
|
+
readonly endInlineActions: _angular_core.Signal<AXConversationComposerAction[]>;
|
|
729
|
+
/** End menu actions (location = 'menu') */
|
|
730
|
+
readonly endMenuActions: _angular_core.Signal<AXConversationComposerAction[]>;
|
|
731
|
+
/** Default end action (voice/send morph button) */
|
|
732
|
+
readonly defaultAction: _angular_core.Signal<AXConversationComposerAction>;
|
|
731
733
|
startReply(message: AXConversationMessage): void;
|
|
732
734
|
startEdit(message: AXConversationMessage): void;
|
|
733
735
|
/** Focus the composer text area when the composer component is mounted. */
|
|
@@ -758,7 +760,7 @@ declare class AXConversationComposerService {
|
|
|
758
760
|
/**
|
|
759
761
|
* Get actions for the active conversation
|
|
760
762
|
*/
|
|
761
|
-
getActionsForPosition(position: '
|
|
763
|
+
getActionsForPosition(position: 'start' | 'end', context: AXConversationComposerActionContext): AXConversationComposerAction[];
|
|
762
764
|
/**
|
|
763
765
|
* Execute an action
|
|
764
766
|
*/
|
|
@@ -822,10 +824,15 @@ interface AXConversationComposerAction extends Omit<AXConversationRegistryItem,
|
|
|
822
824
|
label: string;
|
|
823
825
|
/** Icon name/class */
|
|
824
826
|
icon: string;
|
|
825
|
-
/** Position:
|
|
826
|
-
position: '
|
|
827
|
-
/** Location: inline (show as button) or menu (show in
|
|
827
|
+
/** Position: start or end of the composer */
|
|
828
|
+
position: 'start' | 'end';
|
|
829
|
+
/** Location: inline (show as button) or menu (show in attachment popup menu) */
|
|
828
830
|
location?: 'inline' | 'menu';
|
|
831
|
+
/**
|
|
832
|
+
* Primary end action (e.g. voice record). Only one action may be default.
|
|
833
|
+
* Renders as the circular send-style button and morphs into send when the draft has content.
|
|
834
|
+
*/
|
|
835
|
+
default?: boolean;
|
|
829
836
|
/** Visibility condition */
|
|
830
837
|
visible: (context: AXConversationComposerActionContext) => boolean;
|
|
831
838
|
/** Enabled condition */
|
|
@@ -869,18 +876,20 @@ declare class AXConversationComposerActionRegistry {
|
|
|
869
876
|
constructor();
|
|
870
877
|
/** All registered actions */
|
|
871
878
|
readonly actions: _angular_core.Signal<AXConversationComposerAction[]>;
|
|
872
|
-
/**
|
|
873
|
-
readonly
|
|
874
|
-
/**
|
|
875
|
-
readonly
|
|
876
|
-
/**
|
|
877
|
-
readonly
|
|
878
|
-
/**
|
|
879
|
-
readonly
|
|
880
|
-
/**
|
|
881
|
-
readonly
|
|
882
|
-
/**
|
|
883
|
-
readonly
|
|
879
|
+
/** Start-side actions sorted by priority */
|
|
880
|
+
readonly startActions: _angular_core.Signal<AXConversationComposerAction[]>;
|
|
881
|
+
/** End-side actions sorted by priority */
|
|
882
|
+
readonly endActions: _angular_core.Signal<AXConversationComposerAction[]>;
|
|
883
|
+
/** Start-side inline actions (location = 'inline' or undefined) */
|
|
884
|
+
readonly startInlineActions: _angular_core.Signal<AXConversationComposerAction[]>;
|
|
885
|
+
/** Start-side menu actions (location = 'menu') — shown in the attachment popup */
|
|
886
|
+
readonly startMenuActions: _angular_core.Signal<AXConversationComposerAction[]>;
|
|
887
|
+
/** End-side inline actions inside the input pill (excludes default action) */
|
|
888
|
+
readonly endInlineActions: _angular_core.Signal<AXConversationComposerAction[]>;
|
|
889
|
+
/** End-side menu actions (location = 'menu') */
|
|
890
|
+
readonly endMenuActions: _angular_core.Signal<AXConversationComposerAction[]>;
|
|
891
|
+
/** The single default end action (voice/send morph button) */
|
|
892
|
+
readonly defaultAction: _angular_core.Signal<AXConversationComposerAction>;
|
|
884
893
|
/**
|
|
885
894
|
* Register a composer action
|
|
886
895
|
*/
|
|
@@ -895,11 +904,11 @@ declare class AXConversationComposerActionRegistry {
|
|
|
895
904
|
/**
|
|
896
905
|
* Get visible actions for a position
|
|
897
906
|
*/
|
|
898
|
-
getVisibleActions(position: '
|
|
907
|
+
getVisibleActions(position: 'start' | 'end', context: AXConversationComposerActionContext): AXConversationComposerAction[];
|
|
899
908
|
/**
|
|
900
909
|
* Get enabled actions for a position
|
|
901
910
|
*/
|
|
902
|
-
getEnabledActions(position: '
|
|
911
|
+
getEnabledActions(position: 'start' | 'end', context: AXConversationComposerActionContext): AXConversationComposerAction[];
|
|
903
912
|
isActionEnabled(action: AXConversationComposerAction, context: AXConversationComposerActionContext): boolean;
|
|
904
913
|
/**
|
|
905
914
|
* Picker actions for a file catalog (by priority), when visible and enabled.
|
|
@@ -1598,7 +1607,7 @@ declare class AXConversationComposerComponent implements OnDestroy {
|
|
|
1598
1607
|
private readonly config;
|
|
1599
1608
|
private readonly translation;
|
|
1600
1609
|
/** Access registry through conversation service */
|
|
1601
|
-
|
|
1610
|
+
protected get composerActionRegistry(): _acorex_components_conversation.AXConversationComposerActionRegistry;
|
|
1602
1611
|
/** Composer text area reference */
|
|
1603
1612
|
private readonly textAreaRef;
|
|
1604
1613
|
/** Draft text - use service */
|
|
@@ -1627,6 +1636,9 @@ declare class AXConversationComposerComponent implements OnDestroy {
|
|
|
1627
1636
|
/** Emoji popover state */
|
|
1628
1637
|
private readonly emojiPopoverRef;
|
|
1629
1638
|
readonly emojiPopoverTarget: _angular_core.WritableSignal<HTMLElement>;
|
|
1639
|
+
/** Attachment menu popover state */
|
|
1640
|
+
private readonly attachPopoverRef;
|
|
1641
|
+
readonly attachPopoverTarget: _angular_core.WritableSignal<HTMLElement>;
|
|
1630
1642
|
readonly composerPopupLoader: () => Promise<typeof _acorex_components_conversation.AXConversationComposerPopupComponent>;
|
|
1631
1643
|
/** Input placeholder - use service */
|
|
1632
1644
|
readonly placeholder: _angular_core.Signal<string>;
|
|
@@ -1638,18 +1650,20 @@ declare class AXConversationComposerComponent implements OnDestroy {
|
|
|
1638
1650
|
readonly inputRows: _angular_core.Signal<number>;
|
|
1639
1651
|
/** Can send message - use service */
|
|
1640
1652
|
readonly canSend: _angular_core.Signal<boolean>;
|
|
1641
|
-
/**
|
|
1642
|
-
readonly
|
|
1643
|
-
/**
|
|
1644
|
-
readonly
|
|
1645
|
-
/**
|
|
1646
|
-
readonly
|
|
1647
|
-
/**
|
|
1648
|
-
readonly
|
|
1649
|
-
/**
|
|
1650
|
-
readonly
|
|
1651
|
-
/**
|
|
1652
|
-
readonly
|
|
1653
|
+
/** Start actions from registry - use service */
|
|
1654
|
+
readonly startActions: _angular_core.Signal<AXConversationComposerAction[]>;
|
|
1655
|
+
/** End actions from registry - use service */
|
|
1656
|
+
readonly endActions: _angular_core.Signal<AXConversationComposerAction[]>;
|
|
1657
|
+
/** Start inline actions */
|
|
1658
|
+
readonly startInlineActions: _angular_core.Signal<AXConversationComposerAction[]>;
|
|
1659
|
+
/** Start menu actions (attachment popup) */
|
|
1660
|
+
readonly startMenuActions: _angular_core.Signal<AXConversationComposerAction[]>;
|
|
1661
|
+
/** End inline actions inside input pill */
|
|
1662
|
+
readonly endInlineActions: _angular_core.Signal<AXConversationComposerAction[]>;
|
|
1663
|
+
/** End menu actions */
|
|
1664
|
+
readonly endMenuActions: _angular_core.Signal<AXConversationComposerAction[]>;
|
|
1665
|
+
/** Default end action (voice/send morph) */
|
|
1666
|
+
readonly defaultAction: _angular_core.Signal<AXConversationComposerAction>;
|
|
1653
1667
|
/** Handle key down */
|
|
1654
1668
|
onKeyDown(event: AXHtmlEvent<KeyboardEvent>): void;
|
|
1655
1669
|
/** Handle input */
|
|
@@ -1661,7 +1675,7 @@ declare class AXConversationComposerComponent implements OnDestroy {
|
|
|
1661
1675
|
/** Handle send click */
|
|
1662
1676
|
onSendClick(): Promise<void>;
|
|
1663
1677
|
/** Handle emoji click */
|
|
1664
|
-
onEmojiClick(event?: MouseEvent): Promise<void>;
|
|
1678
|
+
onEmojiClick(event?: AXClickEvent | MouseEvent): Promise<void>;
|
|
1665
1679
|
/** Handle emoji popover closed */
|
|
1666
1680
|
onEmojiPopoverClosed(): void;
|
|
1667
1681
|
/** Handle emoji/sticker selection from popup */
|
|
@@ -1670,8 +1684,16 @@ declare class AXConversationComposerComponent implements OnDestroy {
|
|
|
1670
1684
|
private sendSticker;
|
|
1671
1685
|
/** Get inputs for emoji popup component */
|
|
1672
1686
|
getEmojiPopupInputs(): Record<string, unknown>;
|
|
1673
|
-
/** Handle attach click */
|
|
1674
|
-
|
|
1687
|
+
/** Handle attach menu click */
|
|
1688
|
+
onAttachMenuClick(event: AXClickEvent): void;
|
|
1689
|
+
/** Handle attachment popover closed */
|
|
1690
|
+
onAttachPopoverClosed(): void;
|
|
1691
|
+
/** Handle attachment menu action selection */
|
|
1692
|
+
onAttachMenuAction(actionId: string): Promise<void>;
|
|
1693
|
+
/** Handle default action click (voice when empty, send when has content) */
|
|
1694
|
+
onDefaultActionClick(): Promise<void>;
|
|
1695
|
+
/** Icon for the default morph button */
|
|
1696
|
+
getDefaultActionIcon(): string;
|
|
1675
1697
|
/** Handle voice click */
|
|
1676
1698
|
onVoiceClick(): void;
|
|
1677
1699
|
/** Remove attachment */
|
|
@@ -1684,8 +1706,9 @@ declare class AXConversationComposerComponent implements OnDestroy {
|
|
|
1684
1706
|
startReply(message: AXConversationMessage): void;
|
|
1685
1707
|
/** Focus the native textarea inside ax-text-area */
|
|
1686
1708
|
private focusTextArea;
|
|
1709
|
+
private getClickTarget;
|
|
1687
1710
|
/** Handle action click */
|
|
1688
|
-
onActionClick(actionId: string, event?: MouseEvent): Promise<void>;
|
|
1711
|
+
onActionClick(actionId: string, event?: AXClickEvent | MouseEvent): Promise<void>;
|
|
1689
1712
|
/** Check if action is enabled */
|
|
1690
1713
|
isActionEnabled(action: any): boolean;
|
|
1691
1714
|
/** Get replying sender name */
|
|
@@ -1693,6 +1716,9 @@ declare class AXConversationComposerComponent implements OnDestroy {
|
|
|
1693
1716
|
getActionLabel(action: {
|
|
1694
1717
|
label: string;
|
|
1695
1718
|
}): string;
|
|
1719
|
+
getActionButtonClass(action: {
|
|
1720
|
+
className?: string;
|
|
1721
|
+
}): string;
|
|
1696
1722
|
/** Get replying message text */
|
|
1697
1723
|
getReplyingMessageText(): string;
|
|
1698
1724
|
/** Preview object for replying banner (type, icon, value) */
|
|
@@ -1788,7 +1814,10 @@ interface AXConversationDropdownMenuItem {
|
|
|
1788
1814
|
declare class AXConversationInfoBarComponent {
|
|
1789
1815
|
private readonly conversationService;
|
|
1790
1816
|
private readonly infoBar;
|
|
1817
|
+
private readonly customUserAvatarComponent;
|
|
1791
1818
|
protected get registry(): _acorex_components_conversation.AXConversationRegistryService;
|
|
1819
|
+
/** Whether a custom user avatar component is registered via conversation config. */
|
|
1820
|
+
readonly hasCustomUserAvatar: _angular_core.Signal<boolean>;
|
|
1792
1821
|
/** Active conversation */
|
|
1793
1822
|
readonly activeConversation: _angular_core.Signal<AXConversation>;
|
|
1794
1823
|
/** Active component from service */
|
|
@@ -3838,6 +3867,9 @@ declare class AXConversationMessageListComponent implements OnDestroy {
|
|
|
3838
3867
|
readonly showScrollButton: _angular_core.WritableSignal<boolean>;
|
|
3839
3868
|
/** Active conversation */
|
|
3840
3869
|
readonly activeConversation: _angular_core.Signal<_acorex_components_conversation.AXConversation>;
|
|
3870
|
+
readonly isGroupConversation: _angular_core.Signal<boolean>;
|
|
3871
|
+
/** Placeholder indices for the initial message list skeleton. */
|
|
3872
|
+
protected readonly loadingSkeletonItems: readonly [0, 1, 2, 3, 4, 5];
|
|
3841
3873
|
/** Whether the active conversation allows message reactions. */
|
|
3842
3874
|
readonly reactionsEnabled: _angular_core.Signal<boolean>;
|
|
3843
3875
|
/** Messages */
|
|
@@ -6269,6 +6301,7 @@ declare class AXConversationDefaultConversationAvatarComponent {
|
|
|
6269
6301
|
displayAvatar: string;
|
|
6270
6302
|
displayIcon: string;
|
|
6271
6303
|
}>;
|
|
6304
|
+
readonly filteredUserAvatarInputs: _angular_core.Signal<Record<string, unknown>>;
|
|
6272
6305
|
readonly fallbackDisplay: _angular_core.Signal<_acorex_components_conversation.AXConversationAvatarDisplay>;
|
|
6273
6306
|
readonly fallbackInitials: _angular_core.Signal<string>;
|
|
6274
6307
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXConversationDefaultConversationAvatarComponent, never>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AXStyleColorType, AXStyleLookType, AXHotKeyAction, MXBaseComponent } from '@acorex/cdk/common';
|
|
2
2
|
import { AXOverlayRef } from '@acorex/cdk/overlay';
|
|
3
3
|
import { AXDialogButtonItem } from '@acorex/components/dialog';
|
|
4
|
+
import { AXPopupSizeType, AXPopupRef } from '@acorex/components/popup';
|
|
4
5
|
import { AXProgressMode } from '@acorex/components/progress-bar';
|
|
5
6
|
import * as _angular_core from '@angular/core';
|
|
6
7
|
import { OnInit } from '@angular/core';
|
|
@@ -13,6 +14,8 @@ interface AXLoadingDialogConfig {
|
|
|
13
14
|
progressValue?: number;
|
|
14
15
|
progressColor?: AXStyleColorType;
|
|
15
16
|
progressHeight?: number;
|
|
17
|
+
/** Popup size token. Uses the same responsive sizes as `AXPopupService`. @default 'sm' */
|
|
18
|
+
size?: AXPopupSizeType;
|
|
16
19
|
buttons?: AXLoadingDialogButtonItem[];
|
|
17
20
|
}
|
|
18
21
|
interface AXLoadingDialogButtonItem {
|
|
@@ -43,7 +46,7 @@ interface AXLoadingDialogRef {
|
|
|
43
46
|
type AXDialogRef = AXLoadingDialogRef;
|
|
44
47
|
/**
|
|
45
48
|
* @internal
|
|
46
|
-
* Internal reference used by loading dialog service to manage overlay instances
|
|
49
|
+
* Internal reference used by loading dialog service to manage overlay instances.
|
|
47
50
|
*/
|
|
48
51
|
interface AXLoadingDialogInternalRef {
|
|
49
52
|
overlayRef: AXOverlayRef<unknown>;
|
|
@@ -57,8 +60,13 @@ interface AXLoadingDialogInternalRef {
|
|
|
57
60
|
declare class AXLoadingDialogComponent extends MXBaseComponent implements OnInit {
|
|
58
61
|
/** Loading dialog configuration data */
|
|
59
62
|
data: _angular_core.InputSignal<AXLoadingDialogConfig>;
|
|
60
|
-
/**
|
|
63
|
+
/** Callback function to close the dialog */
|
|
61
64
|
onClose: _angular_core.InputSignal<() => void>;
|
|
65
|
+
/**
|
|
66
|
+
* Injected by {@link AXPopupComponent} when this dialog is opened via {@link AXPopupService}.
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
69
|
+
readonly __popup__: _angular_core.InputSignal<AXPopupRef<any>>;
|
|
62
70
|
/** @ignore */
|
|
63
71
|
protected progressText: _angular_core.WritableSignal<string>;
|
|
64
72
|
/** @ignore */
|
|
@@ -116,7 +124,7 @@ declare class AXLoadingDialogComponent extends MXBaseComponent implements OnInit
|
|
|
116
124
|
/** @ignore */
|
|
117
125
|
protected _hasAutoFocus(button: AXLoadingDialogButtonItem): boolean;
|
|
118
126
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXLoadingDialogComponent, never>;
|
|
119
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXLoadingDialogComponent, "ax-loading-dialog", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "onClose": { "alias": "onClose"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
127
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXLoadingDialogComponent, "ax-loading-dialog", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "onClose": { "alias": "onClose"; "required": false; "isSignal": true; }; "__popup__": { "alias": "__popup__"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
120
128
|
}
|
|
121
129
|
|
|
122
130
|
declare class AXLoadingDialogModule {
|
|
@@ -126,7 +134,7 @@ declare class AXLoadingDialogModule {
|
|
|
126
134
|
}
|
|
127
135
|
|
|
128
136
|
declare class AXLoadingDialogService {
|
|
129
|
-
private
|
|
137
|
+
private popupService;
|
|
130
138
|
/**
|
|
131
139
|
* Opens a loading dialog with the specified configuration.
|
|
132
140
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { TemplateRef, ElementRef } from '@angular/core';
|
|
3
|
-
import { AXEvent, AXDataSource, AXListDataSource, AXHtmlEvent,
|
|
3
|
+
import { AXEvent, AXDataSource, AXListDataSource, AXHtmlEvent, NXValueComponent, AXStyleLookType, AXValueChangedEvent, AXFocusEvent, AXItemClickEvent, AXItemSelectedEvent } from '@acorex/cdk/common';
|
|
4
4
|
import { AXPopoverComponent } from '@acorex/components/popover';
|
|
5
5
|
import { AXTreeViewNode, AXTreeViewDataSource, AXTreeViewSelectionBehavior, AXTreeViewItemTemplateContext, AXTreeViewSelectionChangeEvent } from '@acorex/components/tree-view';
|
|
6
6
|
import { FormValueControl } from '@angular/forms/signals';
|
|
@@ -127,6 +127,11 @@ declare abstract class AXLookupListViewBase {
|
|
|
127
127
|
protected isSelected(item: AXLookupItem): boolean;
|
|
128
128
|
protected isDisabled(item: AXLookupItem): boolean;
|
|
129
129
|
protected handleItemClick(item: AXLookupItem | null | undefined): void;
|
|
130
|
+
/**
|
|
131
|
+
* Commit on mousedown (not click) so a searchable trigger blur cannot destroy the
|
|
132
|
+
* list before the pick is applied.
|
|
133
|
+
*/
|
|
134
|
+
protected handleItemMouseDown(event: Event, item: AXLookupItem | null | undefined): void;
|
|
130
135
|
protected handleItemKeypress(e: AXHtmlEvent<KeyboardEvent>, item: AXLookupItem | null | undefined): void;
|
|
131
136
|
protected handleListKeypress(e: AXHtmlEvent<KeyboardEvent>): void;
|
|
132
137
|
protected activateNavItem(nav: AXListNavigationDirective, item: AXListNavigationItemDirective): void;
|
|
@@ -205,8 +210,12 @@ declare class AXLookupMultiSelectTreeComponent {
|
|
|
205
210
|
*
|
|
206
211
|
* @category Components
|
|
207
212
|
*/
|
|
208
|
-
declare class AXLookupComponent extends
|
|
213
|
+
declare class AXLookupComponent extends NXValueComponent implements FormValueControl<unknown | unknown[] | null> {
|
|
209
214
|
#private;
|
|
215
|
+
/**
|
|
216
|
+
* The name of the form field, used by validation rules and `ax-form.validate(names)`.
|
|
217
|
+
*/
|
|
218
|
+
name: _angular_core.InputSignal<string>;
|
|
210
219
|
/**
|
|
211
220
|
* The lookup rendering mode. Selects which mini component renders in the popup.
|
|
212
221
|
*/
|
|
@@ -313,6 +322,12 @@ declare class AXLookupComponent extends NXComponent implements FormValueControl<
|
|
|
313
322
|
* via {@link FormValueControl}.
|
|
314
323
|
*/
|
|
315
324
|
readonly value: _angular_core.ModelSignal<unknown>;
|
|
325
|
+
/**
|
|
326
|
+
* Full items that resolve the current `value` key(s) without calling datasource `byKey`.
|
|
327
|
+
* Use when the parent already has the selected entity (e.g. edit forms). Seeds the internal
|
|
328
|
+
* item cache; missing keys still fall through to `find` / `byKey`.
|
|
329
|
+
*/
|
|
330
|
+
valueItems: _angular_core.InputSignal<AXLookupItem[]>;
|
|
316
331
|
/**
|
|
317
332
|
* Emitted when the selected value changes.
|
|
318
333
|
*/
|
|
@@ -445,6 +460,13 @@ declare class AXLookupComponent extends NXComponent implements FormValueControl<
|
|
|
445
460
|
* Removes a single chip from the multi selection.
|
|
446
461
|
*/
|
|
447
462
|
protected removeChip(event: Event, item: AXLookupItem): void;
|
|
463
|
+
/**
|
|
464
|
+
* Seeds the item cache with known items so matching `value` keys resolve without `byKey`.
|
|
465
|
+
* Useful after an async parent-entity load when `valueItems` is not bound.
|
|
466
|
+
*
|
|
467
|
+
* @param items - Full items that include `valueField` (and ideally `textField`) properties.
|
|
468
|
+
*/
|
|
469
|
+
seedItems(items: AXLookupItem[]): void;
|
|
448
470
|
/**
|
|
449
471
|
* Clears the whole selection.
|
|
450
472
|
* Sets `null` in single modes and `[]` in multi modes. Used by projected `ax-clear-button`.
|
|
@@ -453,7 +475,7 @@ declare class AXLookupComponent extends NXComponent implements FormValueControl<
|
|
|
453
475
|
*/
|
|
454
476
|
reset(isUserInteraction?: boolean): void;
|
|
455
477
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXLookupComponent, never>;
|
|
456
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXLookupComponent, "ax-lookup", never, { "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "treeDataSource": { "alias": "treeDataSource"; "required": false; "isSignal": true; }; "valueField": { "alias": "valueField"; "required": false; "isSignal": true; }; "textField": { "alias": "textField"; "required": false; "isSignal": true; }; "disabledField": { "alias": "disabledField"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "searchable": { "alias": "searchable"; "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; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "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; }; "itemHeight": { "alias": "itemHeight"; "required": false; "isSignal": true; }; "maxVisibleItems": { "alias": "maxVisibleItems"; "required": false; "isSignal": true; }; "treeSelectionBehavior": { "alias": "treeSelectionBehavior"; "required": false; "isSignal": true; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; "isSignal": true; }; "selectedTemplate": { "alias": "selectedTemplate"; "required": false; "isSignal": true; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; "isSignal": true; }; "loadingTemplate": { "alias": "loadingTemplate"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "look": "lookChange"; "value": "valueChange"; "onValueChanged": "onValueChanged"; "onSelectionChanged": "onSelectionChanged"; "onFocus": "onFocus"; "onBlur": "onBlur"; "onItemClick": "onItemClick"; "onItemSelected": "onItemSelected"; "onOpened": "onOpened"; "onClosed": "onClosed"; }, never, ["ax-prefix", "ax-clear-button", "ax-suffix", "ax-header", "ax-footer"], true, never>;
|
|
478
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<AXLookupComponent, "ax-lookup", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "treeDataSource": { "alias": "treeDataSource"; "required": false; "isSignal": true; }; "valueField": { "alias": "valueField"; "required": false; "isSignal": true; }; "textField": { "alias": "textField"; "required": false; "isSignal": true; }; "disabledField": { "alias": "disabledField"; "required": false; "isSignal": true; }; "columns": { "alias": "columns"; "required": false; "isSignal": true; }; "searchable": { "alias": "searchable"; "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; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "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; }; "itemHeight": { "alias": "itemHeight"; "required": false; "isSignal": true; }; "maxVisibleItems": { "alias": "maxVisibleItems"; "required": false; "isSignal": true; }; "treeSelectionBehavior": { "alias": "treeSelectionBehavior"; "required": false; "isSignal": true; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; "isSignal": true; }; "selectedTemplate": { "alias": "selectedTemplate"; "required": false; "isSignal": true; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; "isSignal": true; }; "loadingTemplate": { "alias": "loadingTemplate"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "valueItems": { "alias": "valueItems"; "required": false; "isSignal": true; }; }, { "look": "lookChange"; "value": "valueChange"; "onValueChanged": "onValueChanged"; "onSelectionChanged": "onSelectionChanged"; "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>;
|
|
457
479
|
}
|
|
458
480
|
|
|
459
481
|
/**
|
|
@@ -607,6 +629,7 @@ declare class AXLookupMultiColumnComponent {
|
|
|
607
629
|
protected resolveRowCssClass: (row: unknown) => string;
|
|
608
630
|
protected handleRowClick(event: AXDataTableRowClick): void;
|
|
609
631
|
protected handleItemClick(item: AXLookupItem | null | undefined): void;
|
|
632
|
+
protected handleItemMouseDown(event: Event, item: AXLookupItem | null | undefined): void;
|
|
610
633
|
protected isSelected(item: AXLookupItem): boolean;
|
|
611
634
|
protected isDisabled(item: AXLookupItem): boolean;
|
|
612
635
|
private getValue;
|
|
@@ -12,7 +12,7 @@ import { Observable } from 'rxjs';
|
|
|
12
12
|
import * as i1 from '@angular/common';
|
|
13
13
|
import * as i3 from '@angular/forms';
|
|
14
14
|
import * as i4 from '@acorex/components/check-box';
|
|
15
|
-
import * as i5 from '@acorex/components/
|
|
15
|
+
import * as i5 from '@acorex/components/tag';
|
|
16
16
|
import * as i6 from '@acorex/components/decorators';
|
|
17
17
|
import * as i7 from '@acorex/core/translation';
|
|
18
18
|
import * as i8 from '@acorex/components/popover';
|
|
@@ -197,7 +197,7 @@ declare class AXSelectBoxComponent extends AXSelectBoxComponent_base implements
|
|
|
197
197
|
*/
|
|
198
198
|
declare class AXSelectBoxModule {
|
|
199
199
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<AXSelectBoxModule, never>;
|
|
200
|
-
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXSelectBoxModule, never, [typeof i1.CommonModule, typeof i2.AXCommonModule, typeof i3.FormsModule, typeof i4.AXCheckBoxModule, typeof i5.
|
|
200
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<AXSelectBoxModule, never, [typeof i1.CommonModule, typeof i2.AXCommonModule, typeof i3.FormsModule, typeof i4.AXCheckBoxModule, typeof i5.AXTagModule, typeof i6.AXDecoratorModule, typeof i7.AXTranslationModule, typeof i8.AXPopoverModule, typeof i9.AXLoadingModule, typeof i10.A11yModule, typeof i11.AXTextBoxModule, typeof i12.AXDropdownModule, typeof i13.AXListModule, typeof AXSelectBoxComponent], [typeof AXSelectBoxComponent]>;
|
|
201
201
|
static ɵinj: _angular_core.ɵɵInjectorDeclaration<AXSelectBoxModule>;
|
|
202
202
|
}
|
|
203
203
|
|