|
4 | 4 |
|
5 | 5 | ```ts |
6 | 6 |
|
7 | | -import * as _angular_cdk_bidi from '@angular/cdk/bidi'; |
8 | 7 | import * as _angular_core from '@angular/core'; |
| 8 | +import { ComboboxPattern } from '@angular/aria/private'; |
| 9 | +import { ComboboxPopupPattern } from '@angular/aria/private'; |
| 10 | +import { DeferredContentAware } from '@angular/aria/private'; |
| 11 | +import * as i1 from '@angular/aria/private'; |
9 | 12 | import { OnDestroy } from '@angular/core'; |
| 13 | +import { OnInit } from '@angular/core'; |
10 | 14 |
|
11 | 15 | // @public |
12 | | -export class Combobox<V> { |
| 16 | +export class Combobox extends DeferredContentAware implements OnInit { |
13 | 17 | constructor(); |
14 | 18 | readonly alwaysExpanded: _angular_core.InputSignalWithTransform<boolean, unknown>; |
15 | | - close(): void; |
16 | 19 | readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>; |
17 | 20 | readonly element: HTMLElement; |
18 | | - readonly expanded: _angular_core.Signal<boolean>; |
19 | | - readonly filterMode: _angular_core.InputSignal<"manual" | "auto-select" | "highlight">; |
20 | | - readonly firstMatch: _angular_core.InputSignal<V | undefined>; |
21 | | - readonly inputElement: _angular_core.Signal<HTMLInputElement | undefined>; |
22 | | - open(): void; |
23 | | - readonly _pattern: ComboboxPattern<any, V>; |
24 | | - readonly popup: _angular_core.Signal<ComboboxPopup<V> | undefined>; |
25 | | - readonly readonly: _angular_core.InputSignalWithTransform<boolean, unknown>; |
26 | | - protected readonly textDirection: _angular_core.Signal<_angular_cdk_bidi.Direction>; |
| 21 | + readonly expanded: _angular_core.ModelSignal<boolean>; |
| 22 | + readonly inlineSuggestion: _angular_core.InputSignal<string | undefined>; |
27 | 23 | // (undocumented) |
28 | | - static ɵdir: _angular_core.ɵɵDirectiveDeclaration<Combobox<any>, "[ngCombobox]", ["ngCombobox"], { "filterMode": { "alias": "filterMode"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "firstMatch": { "alias": "firstMatch"; "required": false; "isSignal": true; }; "alwaysExpanded": { "alias": "alwaysExpanded"; "required": false; "isSignal": true; }; }, {}, ["popup"], never, true, [{ directive: typeof DeferredContentAware; inputs: { "preserveContent": "preserveContent"; }; outputs: {}; }]>; |
| 24 | + ngOnInit(): void; |
| 25 | + readonly _pattern: ComboboxPattern; |
| 26 | + readonly _popup: _angular_core.WritableSignal<ComboboxPopup | undefined>; |
| 27 | + _registerPopup(popup: ComboboxPopup): void; |
| 28 | + _unregisterPopup(): void; |
| 29 | + readonly value: _angular_core.ModelSignal<string>; |
| 30 | + // (undocumented) |
| 31 | + static ɵdir: _angular_core.ɵɵDirectiveDeclaration<Combobox, "[ngCombobox]", ["ngCombobox"], { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "alwaysExpanded": { "alias": "alwaysExpanded"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "inlineSuggestion": { "alias": "inlineSuggestion"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; "value": "valueChange"; }, never, never, true, never>; |
29 | 32 | // (undocumented) |
30 | | - static ɵfac: _angular_core.ɵɵFactoryDeclaration<Combobox<any>, never>; |
| 33 | + static ɵfac: _angular_core.ɵɵFactoryDeclaration<Combobox, never>; |
31 | 34 | } |
32 | 35 |
|
33 | 36 | // @public |
34 | | -export class ComboboxDialog { |
35 | | - constructor(); |
| 37 | +export class ComboboxPopup implements OnInit, OnDestroy { |
| 38 | + readonly activeDescendant: _angular_core.Signal<string | undefined>; |
| 39 | + readonly combobox: _angular_core.InputSignal<Combobox>; |
| 40 | + readonly controlTarget: _angular_core.Signal<HTMLElement | undefined>; |
36 | 41 | // (undocumented) |
37 | | - close(): void; |
38 | | - readonly combobox: Combobox<any>; |
39 | | - readonly element: HTMLDialogElement; |
40 | | - readonly id: _angular_core.InputSignal<string>; |
| 42 | + ngOnDestroy(): void; |
41 | 43 | // (undocumented) |
42 | | - readonly _pattern: ComboboxDialogPattern; |
| 44 | + ngOnInit(): void; |
| 45 | + readonly _pattern: ComboboxPopupPattern; |
| 46 | + readonly popupId: _angular_core.Signal<string | undefined>; |
| 47 | + readonly popupType: _angular_core.InputSignal<"listbox" | "tree" | "grid" | "dialog">; |
| 48 | + _registerWidget(widget: ComboboxWidget): void; |
| 49 | + _unregisterWidget(): void; |
| 50 | + readonly _widget: _angular_core.WritableSignal<ComboboxWidget | undefined>; |
43 | 51 | // (undocumented) |
44 | | - static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ComboboxDialog, "dialog[ngComboboxDialog]", ["ngComboboxDialog"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof ComboboxPopup; inputs: {}; outputs: {}; }]>; |
| 52 | + static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ComboboxPopup, "ng-template[ngComboboxPopup]", ["ngComboboxPopup"], { "combobox": { "alias": "combobox"; "required": true; "isSignal": true; }; "popupType": { "alias": "popupType"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.DeferredContent; inputs: {}; outputs: {}; }]>; |
45 | 53 | // (undocumented) |
46 | | - static ɵfac: _angular_core.ɵɵFactoryDeclaration<ComboboxDialog, never>; |
| 54 | + static ɵfac: _angular_core.ɵɵFactoryDeclaration<ComboboxPopup, never>; |
47 | 55 | } |
48 | 56 |
|
49 | 57 | // @public |
50 | | -export class ComboboxInput { |
| 58 | +export class ComboboxWidget implements OnInit, OnDestroy { |
51 | 59 | constructor(); |
52 | | - readonly combobox: Combobox<any>; |
| 60 | + readonly activeDescendant: _angular_core.InputSignal<string | undefined>; |
53 | 61 | readonly element: HTMLElement; |
54 | | - readonly value: _angular_core.ModelSignal<string>; |
55 | | - // (undocumented) |
56 | | - static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ComboboxInput, "input[ngComboboxInput]", ["ngComboboxInput"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>; |
57 | | - // (undocumented) |
58 | | - static ɵfac: _angular_core.ɵɵFactoryDeclaration<ComboboxInput, never>; |
59 | | -} |
60 | | - |
61 | | -// @public |
62 | | -export class ComboboxPopup<V> { |
63 | | - readonly combobox: Combobox<V> | null; |
64 | | - readonly _controls: _angular_core.WritableSignal<ComboboxListboxControls<any, V> | ComboboxTreeControls<any, V> | ComboboxDialogPattern | undefined>; |
65 | 62 | // (undocumented) |
66 | | - static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ComboboxPopup<any>, "[ngComboboxPopup]", ["ngComboboxPopup"], {}, {}, never, never, true, never>; |
| 63 | + ngOnDestroy(): void; |
67 | 64 | // (undocumented) |
68 | | - static ɵfac: _angular_core.ɵɵFactoryDeclaration<ComboboxPopup<any>, never>; |
69 | | -} |
70 | | - |
71 | | -// @public |
72 | | -export class ComboboxPopupContainer { |
| 65 | + ngOnInit(): void; |
| 66 | + onFocusin(): void; |
| 67 | + onFocusout(event: FocusEvent): void; |
| 68 | + readonly popupId: _angular_core.WritableSignal<string | undefined>; |
73 | 69 | // (undocumented) |
74 | | - static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ComboboxPopupContainer, "ng-template[ngComboboxPopupContainer]", ["ngComboboxPopupContainer"], {}, {}, never, never, true, [{ directive: typeof DeferredContent; inputs: {}; outputs: {}; }]>; |
| 70 | + static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ComboboxWidget, "[ngComboboxWidget]", ["ngComboboxWidget"], { "activeDescendant": { "alias": "activeDescendant"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>; |
75 | 71 | // (undocumented) |
76 | | - static ɵfac: _angular_core.ɵɵFactoryDeclaration<ComboboxPopupContainer, never>; |
| 72 | + static ɵfac: _angular_core.ɵɵFactoryDeclaration<ComboboxWidget, never>; |
77 | 73 | } |
78 | 74 |
|
79 | 75 | // (No @packageDocumentation comment for this package) |
|
0 commit comments