@angular/aria 22.0.4 → 22.0.5
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/fesm2022/_deferred-content-chunk.mjs +6 -6
- package/fesm2022/accordion.mjs +12 -12
- package/fesm2022/aria.mjs +1 -1
- package/fesm2022/aria.mjs.map +1 -1
- package/fesm2022/combobox.mjs +11 -12
- package/fesm2022/combobox.mjs.map +1 -1
- package/fesm2022/grid.mjs +12 -12
- package/fesm2022/listbox.mjs +6 -6
- package/fesm2022/menu.mjs +15 -15
- package/fesm2022/private.mjs +8 -9
- package/fesm2022/private.mjs.map +1 -1
- package/fesm2022/tabs.mjs +15 -15
- package/fesm2022/toolbar.mjs +9 -9
- package/fesm2022/tree.mjs +9 -9
- package/package.json +2 -2
- package/types/private.d.ts +1 -3
|
@@ -10,7 +10,7 @@ class DeferredContentAware {
|
|
|
10
10
|
}] : []));
|
|
11
11
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
12
12
|
minVersion: "12.0.0",
|
|
13
|
-
version: "22.0.
|
|
13
|
+
version: "22.0.6",
|
|
14
14
|
ngImport: i0,
|
|
15
15
|
type: DeferredContentAware,
|
|
16
16
|
deps: [],
|
|
@@ -18,7 +18,7 @@ class DeferredContentAware {
|
|
|
18
18
|
});
|
|
19
19
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
20
20
|
minVersion: "17.1.0",
|
|
21
|
-
version: "22.0.
|
|
21
|
+
version: "22.0.6",
|
|
22
22
|
type: DeferredContentAware,
|
|
23
23
|
isStandalone: true,
|
|
24
24
|
inputs: {
|
|
@@ -38,7 +38,7 @@ class DeferredContentAware {
|
|
|
38
38
|
}
|
|
39
39
|
i0.ɵɵngDeclareClassMetadata({
|
|
40
40
|
minVersion: "12.0.0",
|
|
41
|
-
version: "22.0.
|
|
41
|
+
version: "22.0.6",
|
|
42
42
|
ngImport: i0,
|
|
43
43
|
type: DeferredContentAware,
|
|
44
44
|
decorators: [{
|
|
@@ -97,7 +97,7 @@ class DeferredContent {
|
|
|
97
97
|
}
|
|
98
98
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
99
99
|
minVersion: "12.0.0",
|
|
100
|
-
version: "22.0.
|
|
100
|
+
version: "22.0.6",
|
|
101
101
|
ngImport: i0,
|
|
102
102
|
type: DeferredContent,
|
|
103
103
|
deps: [],
|
|
@@ -105,7 +105,7 @@ class DeferredContent {
|
|
|
105
105
|
});
|
|
106
106
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
107
107
|
minVersion: "14.0.0",
|
|
108
|
-
version: "22.0.
|
|
108
|
+
version: "22.0.6",
|
|
109
109
|
type: DeferredContent,
|
|
110
110
|
isStandalone: true,
|
|
111
111
|
ngImport: i0
|
|
@@ -113,7 +113,7 @@ class DeferredContent {
|
|
|
113
113
|
}
|
|
114
114
|
i0.ɵɵngDeclareClassMetadata({
|
|
115
115
|
minVersion: "12.0.0",
|
|
116
|
-
version: "22.0.
|
|
116
|
+
version: "22.0.6",
|
|
117
117
|
ngImport: i0,
|
|
118
118
|
type: DeferredContent,
|
|
119
119
|
decorators: [{
|
package/fesm2022/accordion.mjs
CHANGED
|
@@ -13,7 +13,7 @@ import './_click-event-manager-chunk.mjs';
|
|
|
13
13
|
class AccordionContent {
|
|
14
14
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
15
15
|
minVersion: "12.0.0",
|
|
16
|
-
version: "22.0.
|
|
16
|
+
version: "22.0.6",
|
|
17
17
|
ngImport: i0,
|
|
18
18
|
type: AccordionContent,
|
|
19
19
|
deps: [],
|
|
@@ -21,7 +21,7 @@ class AccordionContent {
|
|
|
21
21
|
});
|
|
22
22
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
23
23
|
minVersion: "14.0.0",
|
|
24
|
-
version: "22.0.
|
|
24
|
+
version: "22.0.6",
|
|
25
25
|
type: AccordionContent,
|
|
26
26
|
isStandalone: true,
|
|
27
27
|
selector: "ng-template[ngAccordionContent]",
|
|
@@ -33,7 +33,7 @@ class AccordionContent {
|
|
|
33
33
|
}
|
|
34
34
|
i0.ɵɵngDeclareClassMetadata({
|
|
35
35
|
minVersion: "12.0.0",
|
|
36
|
-
version: "22.0.
|
|
36
|
+
version: "22.0.6",
|
|
37
37
|
ngImport: i0,
|
|
38
38
|
type: AccordionContent,
|
|
39
39
|
decorators: [{
|
|
@@ -91,7 +91,7 @@ class AccordionPanel {
|
|
|
91
91
|
}
|
|
92
92
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
93
93
|
minVersion: "12.0.0",
|
|
94
|
-
version: "22.0.
|
|
94
|
+
version: "22.0.6",
|
|
95
95
|
ngImport: i0,
|
|
96
96
|
type: AccordionPanel,
|
|
97
97
|
deps: [],
|
|
@@ -99,7 +99,7 @@ class AccordionPanel {
|
|
|
99
99
|
});
|
|
100
100
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
101
101
|
minVersion: "17.2.0",
|
|
102
|
-
version: "22.0.
|
|
102
|
+
version: "22.0.6",
|
|
103
103
|
type: AccordionPanel,
|
|
104
104
|
isStandalone: true,
|
|
105
105
|
selector: "[ngAccordionPanel]",
|
|
@@ -139,7 +139,7 @@ class AccordionPanel {
|
|
|
139
139
|
}
|
|
140
140
|
i0.ɵɵngDeclareClassMetadata({
|
|
141
141
|
minVersion: "12.0.0",
|
|
142
|
-
version: "22.0.
|
|
142
|
+
version: "22.0.6",
|
|
143
143
|
ngImport: i0,
|
|
144
144
|
type: AccordionPanel,
|
|
145
145
|
decorators: [{
|
|
@@ -244,7 +244,7 @@ class AccordionGroup {
|
|
|
244
244
|
}
|
|
245
245
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
246
246
|
minVersion: "12.0.0",
|
|
247
|
-
version: "22.0.
|
|
247
|
+
version: "22.0.6",
|
|
248
248
|
ngImport: i0,
|
|
249
249
|
type: AccordionGroup,
|
|
250
250
|
deps: [],
|
|
@@ -252,7 +252,7 @@ class AccordionGroup {
|
|
|
252
252
|
});
|
|
253
253
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
254
254
|
minVersion: "17.1.0",
|
|
255
|
-
version: "22.0.
|
|
255
|
+
version: "22.0.6",
|
|
256
256
|
type: AccordionGroup,
|
|
257
257
|
isStandalone: true,
|
|
258
258
|
selector: "[ngAccordionGroup]",
|
|
@@ -303,7 +303,7 @@ class AccordionGroup {
|
|
|
303
303
|
}
|
|
304
304
|
i0.ɵɵngDeclareClassMetadata({
|
|
305
305
|
minVersion: "12.0.0",
|
|
306
|
-
version: "22.0.
|
|
306
|
+
version: "22.0.6",
|
|
307
307
|
ngImport: i0,
|
|
308
308
|
type: AccordionGroup,
|
|
309
309
|
decorators: [{
|
|
@@ -429,7 +429,7 @@ class AccordionTrigger {
|
|
|
429
429
|
}
|
|
430
430
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
431
431
|
minVersion: "12.0.0",
|
|
432
|
-
version: "22.0.
|
|
432
|
+
version: "22.0.6",
|
|
433
433
|
ngImport: i0,
|
|
434
434
|
type: AccordionTrigger,
|
|
435
435
|
deps: [],
|
|
@@ -437,7 +437,7 @@ class AccordionTrigger {
|
|
|
437
437
|
});
|
|
438
438
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
439
439
|
minVersion: "17.1.0",
|
|
440
|
-
version: "22.0.
|
|
440
|
+
version: "22.0.6",
|
|
441
441
|
type: AccordionTrigger,
|
|
442
442
|
isStandalone: true,
|
|
443
443
|
selector: "[ngAccordionTrigger]",
|
|
@@ -494,7 +494,7 @@ class AccordionTrigger {
|
|
|
494
494
|
}
|
|
495
495
|
i0.ɵɵngDeclareClassMetadata({
|
|
496
496
|
minVersion: "12.0.0",
|
|
497
|
-
version: "22.0.
|
|
497
|
+
version: "22.0.6",
|
|
498
498
|
ngImport: i0,
|
|
499
499
|
type: AccordionTrigger,
|
|
500
500
|
decorators: [{
|
package/fesm2022/aria.mjs
CHANGED
package/fesm2022/aria.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aria.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/aria/version.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {Version} from '@angular/core';\n\n/** Current version of the Aria package. */\nexport const VERSION = new Version('22.0.
|
|
1
|
+
{"version":3,"file":"aria.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/aria/version.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {Version} from '@angular/core';\n\n/** Current version of the Aria package. */\nexport const VERSION = new Version('22.0.5');\n"],"names":["VERSION","Version"],"mappings":";;MAWaA,OAAO,GAAG,IAAIC,OAAO,CAAC,mBAAmB;;;;"}
|
package/fesm2022/combobox.mjs
CHANGED
|
@@ -56,7 +56,6 @@ class Combobox extends DeferredContentAware {
|
|
|
56
56
|
afterRenderEffect({
|
|
57
57
|
write: () => this._pattern.keyboardEventRelayEffect()
|
|
58
58
|
});
|
|
59
|
-
afterRenderEffect(() => this._pattern.closePopupOnBlurEffect());
|
|
60
59
|
afterRenderEffect(() => {
|
|
61
60
|
this.contentVisible.set(this._pattern.isExpanded());
|
|
62
61
|
});
|
|
@@ -82,7 +81,7 @@ class Combobox extends DeferredContentAware {
|
|
|
82
81
|
}
|
|
83
82
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
84
83
|
minVersion: "12.0.0",
|
|
85
|
-
version: "22.0.
|
|
84
|
+
version: "22.0.6",
|
|
86
85
|
ngImport: i0,
|
|
87
86
|
type: Combobox,
|
|
88
87
|
deps: [],
|
|
@@ -90,7 +89,7 @@ class Combobox extends DeferredContentAware {
|
|
|
90
89
|
});
|
|
91
90
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
92
91
|
minVersion: "17.1.0",
|
|
93
|
-
version: "22.0.
|
|
92
|
+
version: "22.0.6",
|
|
94
93
|
type: Combobox,
|
|
95
94
|
isStandalone: true,
|
|
96
95
|
selector: "[ngCombobox]",
|
|
@@ -156,7 +155,7 @@ class Combobox extends DeferredContentAware {
|
|
|
156
155
|
listeners: {
|
|
157
156
|
"keydown": "_pattern.onKeydown($event)",
|
|
158
157
|
"focusin": "_pattern.onFocusin()",
|
|
159
|
-
"focusout": "_pattern.onFocusout(
|
|
158
|
+
"focusout": "_pattern.onFocusout()",
|
|
160
159
|
"click": "_pattern.onClick($event)",
|
|
161
160
|
"input": "_pattern.onInput($event)"
|
|
162
161
|
},
|
|
@@ -179,7 +178,7 @@ class Combobox extends DeferredContentAware {
|
|
|
179
178
|
}
|
|
180
179
|
i0.ɵɵngDeclareClassMetadata({
|
|
181
180
|
minVersion: "12.0.0",
|
|
182
|
-
version: "22.0.
|
|
181
|
+
version: "22.0.6",
|
|
183
182
|
ngImport: i0,
|
|
184
183
|
type: Combobox,
|
|
185
184
|
decorators: [{
|
|
@@ -200,7 +199,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
200
199
|
'[attr.readonly]': 'disabled() && _pattern.isEditable() ? "" : null',
|
|
201
200
|
'(keydown)': '_pattern.onKeydown($event)',
|
|
202
201
|
'(focusin)': '_pattern.onFocusin()',
|
|
203
|
-
'(focusout)': '_pattern.onFocusout(
|
|
202
|
+
'(focusout)': '_pattern.onFocusout()',
|
|
204
203
|
'(click)': '_pattern.onClick($event)',
|
|
205
204
|
'(input)': '_pattern.onInput($event)'
|
|
206
205
|
}
|
|
@@ -313,7 +312,7 @@ class ComboboxPopup {
|
|
|
313
312
|
}
|
|
314
313
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
315
314
|
minVersion: "12.0.0",
|
|
316
|
-
version: "22.0.
|
|
315
|
+
version: "22.0.6",
|
|
317
316
|
ngImport: i0,
|
|
318
317
|
type: ComboboxPopup,
|
|
319
318
|
deps: [],
|
|
@@ -321,7 +320,7 @@ class ComboboxPopup {
|
|
|
321
320
|
});
|
|
322
321
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
323
322
|
minVersion: "17.1.0",
|
|
324
|
-
version: "22.0.
|
|
323
|
+
version: "22.0.6",
|
|
325
324
|
type: ComboboxPopup,
|
|
326
325
|
isStandalone: true,
|
|
327
326
|
selector: "ng-template[ngComboboxPopup]",
|
|
@@ -354,7 +353,7 @@ class ComboboxPopup {
|
|
|
354
353
|
}
|
|
355
354
|
i0.ɵɵngDeclareClassMetadata({
|
|
356
355
|
minVersion: "12.0.0",
|
|
357
|
-
version: "22.0.
|
|
356
|
+
version: "22.0.6",
|
|
358
357
|
ngImport: i0,
|
|
359
358
|
type: ComboboxPopup,
|
|
360
359
|
decorators: [{
|
|
@@ -430,7 +429,7 @@ class ComboboxWidget {
|
|
|
430
429
|
}
|
|
431
430
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
432
431
|
minVersion: "12.0.0",
|
|
433
|
-
version: "22.0.
|
|
432
|
+
version: "22.0.6",
|
|
434
433
|
ngImport: i0,
|
|
435
434
|
type: ComboboxWidget,
|
|
436
435
|
deps: [],
|
|
@@ -438,7 +437,7 @@ class ComboboxWidget {
|
|
|
438
437
|
});
|
|
439
438
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
440
439
|
minVersion: "17.1.0",
|
|
441
|
-
version: "22.0.
|
|
440
|
+
version: "22.0.6",
|
|
442
441
|
type: ComboboxWidget,
|
|
443
442
|
isStandalone: true,
|
|
444
443
|
selector: "[ngComboboxWidget]",
|
|
@@ -463,7 +462,7 @@ class ComboboxWidget {
|
|
|
463
462
|
}
|
|
464
463
|
i0.ɵɵngDeclareClassMetadata({
|
|
465
464
|
minVersion: "12.0.0",
|
|
466
|
-
version: "22.0.
|
|
465
|
+
version: "22.0.6",
|
|
467
466
|
ngImport: i0,
|
|
468
467
|
type: ComboboxWidget,
|
|
469
468
|
decorators: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"combobox.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/aria/combobox/combobox.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/aria/combobox/combobox-tokens.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/aria/combobox/combobox-popup.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/aria/combobox/combobox-widget.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {\n afterRenderEffect,\n booleanAttribute,\n computed,\n Directive,\n ElementRef,\n inject,\n input,\n model,\n OnInit,\n signal,\n Renderer2,\n} from '@angular/core';\nimport {DeferredContentAware, ComboboxPattern, tabIndexTransform} from '@angular/aria/private';\nimport type {ComboboxPopup} from './combobox-popup';\n\n/**\n * A directive that coordinates a combobox trigger element and its associated popup widget.\n *\n * The `ngCombobox` directive is applied directly to the interactive trigger element, which can be\n * either an editable `<input>` (for search/autocomplete behaviors) or a non-editable element like\n * a `<div>` (for custom select dropdowns). It manages focus and expansion states, coordinates autocomplete\n * suggestions (if editable), and forwards navigation keys down into the active popup.\n *\n * ### Example 1: Editable Autocomplete Input\n * ```html\n * <input ngCombobox #combobox=\"ngCombobox\" [(value)]=\"searchQuery\" [(expanded)]=\"isExpanded\" />\n *\n * <ng-template ngComboboxPopup [combobox]=\"combobox\">\n * <div ngComboboxWidget #listbox=\"ngListbox\" ngListbox [(value)]=\"selectedValues\" [activeDescendant]=\"listbox.activeDescendant()\">\n * <div ngOption value=\"first\">First Option</div>\n * <div ngOption value=\"second\">Second Option</div>\n * </div>\n * </ng-template>\n * ```\n *\n * ### Example 2: Non-Editable Custom Select Dropdown\n * ```html\n * <div ngCombobox #combobox=\"ngCombobox\" [(expanded)]=\"isExpanded\" class=\"select-trigger\">\n * {{selectedValue}}\n * </div>\n *\n * <ng-template ngComboboxPopup [combobox]=\"combobox\">\n * <div ngComboboxWidget #listbox=\"ngListbox\" ngListbox [(value)]=\"selectedValues\" [activeDescendant]=\"listbox.activeDescendant()\">\n * <div ngOption value=\"first\">First Option</div>\n * <div ngOption value=\"second\">Second Option</div>\n * </div>\n * </ng-template>\n * ```\n */\n@Directive({\n selector: '[ngCombobox]',\n exportAs: 'ngCombobox',\n host: {\n 'role': 'combobox',\n '[attr.aria-autocomplete]': '_pattern.autocomplete()',\n '[attr.aria-disabled]': '_pattern.disabled()',\n '[attr.aria-expanded]': '_pattern.isExpanded()',\n '[attr.aria-activedescendant]': '_pattern.activeDescendant()',\n '[attr.aria-controls]': '_pattern.popupId()',\n '[attr.aria-haspopup]': '_pattern.popupType()',\n '[attr.tabindex]':\n 'disabled() && !softDisabled() ? -1 : (tabIndex() !== undefined ? tabIndex() : 0)',\n '[attr.disabled]': 'disabled() && !softDisabled() ? \"\" : null',\n '[attr.readonly]': 'disabled() && _pattern.isEditable() ? \"\" : null',\n '(keydown)': '_pattern.onKeydown($event)',\n '(focusin)': '_pattern.onFocusin()',\n '(focusout)': '_pattern.onFocusout($event)',\n '(click)': '_pattern.onClick($event)',\n '(input)': '_pattern.onInput($event)',\n },\n})\nexport class Combobox extends DeferredContentAware implements OnInit {\n private readonly _renderer = inject(Renderer2);\n\n /** The element that the combobox is attached to. */\n private readonly _elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** A reference to the input element. */\n readonly element = this._elementRef.nativeElement;\n\n /** The popup associated with the combobox. */\n readonly _popup = signal<ComboboxPopup | undefined>(undefined);\n\n /** Whether the combobox is disabled. */\n readonly disabled = input(false, {transform: booleanAttribute});\n\n /** Whether the combobox is soft disabled (remains focusable). */\n readonly softDisabled = input(true, {transform: booleanAttribute});\n\n /** Whether the combobox should always remain expanded. */\n readonly alwaysExpanded = input(false, {transform: booleanAttribute});\n\n /** The tabindex of the combobox. */\n readonly tabIndex = input(undefined, {\n alias: 'tabindex',\n transform: tabIndexTransform,\n });\n\n /** Whether the combobox is expanded. */\n readonly expanded = model<boolean>(false);\n\n /** The value of the combobox input. */\n readonly value = model<string>('');\n\n /** An inline suggestion to be displayed in the input. */\n readonly inlineSuggestion = input<string | undefined>(undefined);\n\n /** The combobox ui pattern. */\n readonly _pattern = new ComboboxPattern({\n ...this,\n element: () => this.element,\n expandable: () => true,\n popup: computed(() => this._popup()?._pattern),\n });\n\n constructor() {\n super();\n\n afterRenderEffect({write: () => this._pattern.keyboardEventRelayEffect()});\n afterRenderEffect(() => this._pattern.closePopupOnBlurEffect());\n afterRenderEffect(() => {\n this.contentVisible.set(this._pattern.isExpanded());\n });\n\n if (this._pattern.isEditable()) {\n afterRenderEffect(() => {\n this._renderer.setProperty(this.element, 'value', this.value());\n });\n afterRenderEffect(() => {\n this._pattern.highlightEffect();\n });\n }\n }\n\n ngOnInit() {\n if (this.alwaysExpanded()) {\n this.expanded.set(true);\n }\n }\n\n /** Registers a popup with the combobox. */\n _registerPopup(popup: ComboboxPopup) {\n this._popup.set(popup);\n }\n\n /** Unregisters the popup from the combobox. */\n _unregisterPopup() {\n this._popup.set(undefined);\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {InjectionToken} from '@angular/core';\nimport type {ComboboxPopup} from './combobox-popup';\n\n/** Token used to expose the combobox popup. */\nexport const COMBOBOX_POPUP = new InjectionToken<ComboboxPopup>('COMBOBOX_POPUP');\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {computed, Directive, inject, input, OnDestroy, OnInit, signal} from '@angular/core';\nimport {DeferredContent, ComboboxPopupPattern} from '@angular/aria/private';\nimport type {Combobox} from './combobox';\nimport type {ComboboxWidget} from './combobox-widget';\nimport {COMBOBOX_POPUP} from './combobox-tokens';\n\n/**\n * A structural directive that marks the `ng-template` to be used as the popup\n * for a combobox. This content is conditionally rendered.\n *\n * The content of the popup can be any element with the `ngComboboxWidget` directive.\n *\n * ```html\n * <ng-template ngComboboxPopup>\n * <div ngComboboxWidget>\n * <!-- ... options ... -->\n * </div>\n * </ng-template>\n * ```\n */\n@Directive({\n selector: 'ng-template[ngComboboxPopup]',\n exportAs: 'ngComboboxPopup',\n hostDirectives: [DeferredContent],\n providers: [{provide: COMBOBOX_POPUP, useExisting: ComboboxPopup}],\n})\nexport class ComboboxPopup implements OnInit, OnDestroy {\n private readonly _deferredContent = inject(DeferredContent);\n\n /** The combobox that the popup belongs to. */\n readonly combobox = input.required<Combobox>();\n\n /** The widget contained within the popup. */\n readonly _widget = signal<ComboboxWidget | undefined>(undefined);\n\n /** The element that serves as the control target for the popup. */\n readonly controlTarget = computed(() => this._widget()?.element);\n\n /** The ID of the popup. */\n readonly popupId = computed(() => this._widget()?.popupId());\n\n /** The ID of the active descendant in the popup. */\n readonly activeDescendant = computed(() => this._widget()?.activeDescendant());\n\n /** The type of the popup (e.g., listbox, tree, grid, dialog). */\n readonly popupType = input<'listbox' | 'tree' | 'grid' | 'dialog'>('listbox');\n\n /** The popup pattern. */\n readonly _pattern = new ComboboxPopupPattern({\n ...this,\n });\n\n ngOnInit() {\n this.combobox()._registerPopup(this);\n this._deferredContent.deferredContentAware.set(this.combobox());\n }\n\n ngOnDestroy() {\n this.combobox()._unregisterPopup();\n }\n\n /** Registers a widget with the popup. */\n _registerWidget(widget: ComboboxWidget) {\n this._widget.set(widget);\n }\n\n /** Unregisters the widget from the popup. */\n _unregisterWidget() {\n this._widget.set(undefined);\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {Directive, ElementRef, inject, input, OnDestroy, OnInit, signal} from '@angular/core';\nimport {COMBOBOX_POPUP} from './combobox-tokens';\n\n/**\n * Identifies an element as a widget within a combobox popup.\n *\n * This directive should be applied to the element that contains the options or content\n * of the popup. It handles the communication of ID and active descendant information\n * to the combobox.\n */\n@Directive({\n selector: '[ngComboboxWidget]',\n exportAs: 'ngComboboxWidget',\n host: {\n '(focusin)': 'onFocusin()',\n '(focusout)': 'onFocusout($event)',\n },\n})\nexport class ComboboxWidget implements OnInit, OnDestroy {\n /** The element that the popup widget is attached to. */\n private readonly _elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly _popup = inject(COMBOBOX_POPUP);\n\n /** A reference to the popup widget element. */\n readonly element = this._elementRef.nativeElement;\n\n /** The ID of the popup widget. */\n readonly popupId = signal<string | undefined>(undefined);\n\n /** The ID of the active descendant in the widget. */\n readonly activeDescendant = input<string | undefined>(undefined);\n\n private _observer: MutationObserver | undefined;\n\n constructor() {\n const el = this.element;\n this._observer = new MutationObserver(mutations => {\n for (const mutation of mutations) {\n if (mutation.attributeName === 'id') {\n this.popupId.set(el.id);\n }\n }\n });\n\n this._observer.observe(el, {\n attributes: true,\n attributeFilter: ['id'],\n });\n }\n\n ngOnInit() {\n this.popupId.set(this.element.id);\n this._popup._registerWidget(this);\n }\n\n ngOnDestroy(): void {\n this._observer?.disconnect();\n this._popup._unregisterWidget();\n }\n\n /** Handles focus in events for the widget. */\n onFocusin() {\n this._popup._pattern.onFocusin();\n }\n\n /** Handles focus out events for the widget. */\n onFocusout(event: FocusEvent) {\n this._popup._pattern.onFocusout(event);\n }\n}\n"],"names":["Combobox","DeferredContentAware","_renderer","inject","Renderer2","_elementRef","ElementRef","element","nativeElement","_popup","signal","undefined","disabled","input","transform","booleanAttribute","softDisabled","alwaysExpanded","tabIndex","ngDevMode","debugName","alias","tabIndexTransform","expanded","model","value","inlineSuggestion","_pattern","ComboboxPattern","expandable","popup","computed","constructor","afterRenderEffect","write","keyboardEventRelayEffect","closePopupOnBlurEffect","contentVisible","set","isExpanded","isEditable","setProperty","highlightEffect","ngOnInit","_registerPopup","_unregisterPopup","deps","target","i0","ɵɵFactoryTarget","Directive","isStandalone","selector","inputs","classPropertyName","publicName","isSignal","isRequired","transformFunction","outputs","host","attributes","listeners","properties","exportAs","usesInheritance","ngImport","decorators","args","COMBOBOX_POPUP","InjectionToken","ComboboxPopup","_deferredContent","DeferredContent","combobox","required","_widget","controlTarget","popupId","activeDescendant","popupType","ComboboxPopupPattern","deferredContentAware","ngOnDestroy","_registerWidget","widget","_unregisterWidget","providers","provide","useExisting","hostDirectives","directive","i1","ComboboxWidget","_observer","el","MutationObserver","mutations","mutation","attributeName","id","observe","attributeFilter","disconnect","onFocusin","onFocusout","event"],"mappings":";;;;;;AAgFM,MAAOA,QAAS,SAAQC,oBAAoB,CAAA;AAC/BC,EAAAA,SAAS,GAAGC,MAAM,CAACC,SAAS,CAAC;AAG7BC,EAAAA,WAAW,GAAGF,MAAM,CAA0BG,UAAU,CAAC;AAGjEC,EAAAA,OAAO,GAAG,IAAI,CAACF,WAAW,CAACG,aAAa;EAGxCC,MAAM,GAAGC,MAAM,CAA4BC,SAAS;;WAAC;AAGrDC,EAAAA,QAAQ,GAAGC,KAAK,CAAC,KAAK;;;;AAAGC,IAAAA,SAAS,EAAEC;AAAgB,GAAA,CAAE;AAGtDC,EAAAA,YAAY,GAAGH,KAAK,CAAC,IAAI;;;;AAAGC,IAAAA,SAAS,EAAEC;AAAgB,GAAA,CAAE;AAGzDE,EAAAA,cAAc,GAAGJ,KAAK,CAAC,KAAK;;;;AAAGC,IAAAA,SAAS,EAAEC;AAAgB,GAAA,CAAE;AAG5DG,EAAAA,QAAQ,GAAGL,KAAK,CAACF,SAAS,EAAA;AAAA,IAAA,IAAAQ,SAAA,GAAA;AAAAC,MAAAA,SAAA,EAAA;KAAA,GAAA,EAAA,CAAA;AACjCC,IAAAA,KAAK,EAAE,UAAU;AACjBP,IAAAA,SAAS,EAAEQ;AAAiB,GAAA,CAC5B;EAGOC,QAAQ,GAAGC,KAAK,CAA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A,MAAA,EAAAC,EAAA,CAAAC,eAAA,CAAAC;AAAA,GAAA,CAAA;;;;UAAd2C,cAAc;AAAA1C,IAAAA,YAAA,EAAA,IAAA;AAAAC,IAAAA,QAAA,EAAA,oBAAA;AAAAC,IAAAA,MAAA,EAAA;AAAA0B,MAAAA,gBAAA,EAAA;AAAAzB,QAAAA,iBAAA,EAAA,kBAAA;AAAAC,QAAAA,UAAA,EAAA,kBAAA;AAAAC,QAAAA,QAAA,EAAA,IAAA;AAAAC,QAAAA,UAAA,EAAA,KAAA;AAAAC,QAAAA,iBAAA,EAAA;AAAA;KAAA;AAAAE,IAAAA,IAAA,EAAA;AAAAE,MAAAA,SAAA,EAAA;AAAA,QAAA,SAAA,EAAA,aAAA;AAAA,QAAA,UAAA,EAAA;AAAA;KAAA;IAAAE,QAAA,EAAA,CAAA,kBAAA,CAAA;AAAAE,IAAAA,QAAA,EAAAlB;AAAA,GAAA,CAAA;;;;;;QAAd6C,cAAc;AAAA1B,EAAAA,UAAA,EAAA,CAAA;UAR1BjB,SAAS;AAACkB,IAAAA,IAAA,EAAA,CAAA;AACThB,MAAAA,QAAQ,EAAE,oBAAoB;AAC9BY,MAAAA,QAAQ,EAAE,kBAAkB;AAC5BJ,MAAAA,IAAI,EAAE;AACJ,QAAA,WAAW,EAAE,aAAa;AAC1B,QAAA,YAAY,EAAE;AACf;KACF;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"combobox.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/aria/combobox/combobox.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/aria/combobox/combobox-tokens.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/aria/combobox/combobox-popup.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/aria/combobox/combobox-widget.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {\n afterRenderEffect,\n booleanAttribute,\n computed,\n Directive,\n ElementRef,\n inject,\n input,\n model,\n OnInit,\n signal,\n Renderer2,\n} from '@angular/core';\nimport {DeferredContentAware, ComboboxPattern, tabIndexTransform} from '@angular/aria/private';\nimport type {ComboboxPopup} from './combobox-popup';\n\n/**\n * A directive that coordinates a combobox trigger element and its associated popup widget.\n *\n * The `ngCombobox` directive is applied directly to the interactive trigger element, which can be\n * either an editable `<input>` (for search/autocomplete behaviors) or a non-editable element like\n * a `<div>` (for custom select dropdowns). It manages focus and expansion states, coordinates autocomplete\n * suggestions (if editable), and forwards navigation keys down into the active popup.\n *\n * ### Example 1: Editable Autocomplete Input\n * ```html\n * <input ngCombobox #combobox=\"ngCombobox\" [(value)]=\"searchQuery\" [(expanded)]=\"isExpanded\" />\n *\n * <ng-template ngComboboxPopup [combobox]=\"combobox\">\n * <div ngComboboxWidget #listbox=\"ngListbox\" ngListbox [(value)]=\"selectedValues\" [activeDescendant]=\"listbox.activeDescendant()\">\n * <div ngOption value=\"first\">First Option</div>\n * <div ngOption value=\"second\">Second Option</div>\n * </div>\n * </ng-template>\n * ```\n *\n * ### Example 2: Non-Editable Custom Select Dropdown\n * ```html\n * <div ngCombobox #combobox=\"ngCombobox\" [(expanded)]=\"isExpanded\" class=\"select-trigger\">\n * {{selectedValue}}\n * </div>\n *\n * <ng-template ngComboboxPopup [combobox]=\"combobox\">\n * <div ngComboboxWidget #listbox=\"ngListbox\" ngListbox [(value)]=\"selectedValues\" [activeDescendant]=\"listbox.activeDescendant()\">\n * <div ngOption value=\"first\">First Option</div>\n * <div ngOption value=\"second\">Second Option</div>\n * </div>\n * </ng-template>\n * ```\n */\n@Directive({\n selector: '[ngCombobox]',\n exportAs: 'ngCombobox',\n host: {\n 'role': 'combobox',\n '[attr.aria-autocomplete]': '_pattern.autocomplete()',\n '[attr.aria-disabled]': '_pattern.disabled()',\n '[attr.aria-expanded]': '_pattern.isExpanded()',\n '[attr.aria-activedescendant]': '_pattern.activeDescendant()',\n '[attr.aria-controls]': '_pattern.popupId()',\n '[attr.aria-haspopup]': '_pattern.popupType()',\n '[attr.tabindex]':\n 'disabled() && !softDisabled() ? -1 : (tabIndex() !== undefined ? tabIndex() : 0)',\n '[attr.disabled]': 'disabled() && !softDisabled() ? \"\" : null',\n '[attr.readonly]': 'disabled() && _pattern.isEditable() ? \"\" : null',\n '(keydown)': '_pattern.onKeydown($event)',\n '(focusin)': '_pattern.onFocusin()',\n '(focusout)': '_pattern.onFocusout()',\n '(click)': '_pattern.onClick($event)',\n '(input)': '_pattern.onInput($event)',\n },\n})\nexport class Combobox extends DeferredContentAware implements OnInit {\n private readonly _renderer = inject(Renderer2);\n\n /** The element that the combobox is attached to. */\n private readonly _elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n\n /** A reference to the input element. */\n readonly element = this._elementRef.nativeElement;\n\n /** The popup associated with the combobox. */\n readonly _popup = signal<ComboboxPopup | undefined>(undefined);\n\n /** Whether the combobox is disabled. */\n readonly disabled = input(false, {transform: booleanAttribute});\n\n /** Whether the combobox is soft disabled (remains focusable). */\n readonly softDisabled = input(true, {transform: booleanAttribute});\n\n /** Whether the combobox should always remain expanded. */\n readonly alwaysExpanded = input(false, {transform: booleanAttribute});\n\n /** The tabindex of the combobox. */\n readonly tabIndex = input(undefined, {\n alias: 'tabindex',\n transform: tabIndexTransform,\n });\n\n /** Whether the combobox is expanded. */\n readonly expanded = model<boolean>(false);\n\n /** The value of the combobox input. */\n readonly value = model<string>('');\n\n /** An inline suggestion to be displayed in the input. */\n readonly inlineSuggestion = input<string | undefined>(undefined);\n\n /** The combobox ui pattern. */\n readonly _pattern = new ComboboxPattern({\n ...this,\n element: () => this.element,\n expandable: () => true,\n popup: computed(() => this._popup()?._pattern),\n });\n\n constructor() {\n super();\n\n afterRenderEffect({write: () => this._pattern.keyboardEventRelayEffect()});\n afterRenderEffect(() => {\n this.contentVisible.set(this._pattern.isExpanded());\n });\n\n if (this._pattern.isEditable()) {\n afterRenderEffect(() => {\n this._renderer.setProperty(this.element, 'value', this.value());\n });\n afterRenderEffect(() => {\n this._pattern.highlightEffect();\n });\n }\n }\n\n ngOnInit() {\n if (this.alwaysExpanded()) {\n this.expanded.set(true);\n }\n }\n\n /** Registers a popup with the combobox. */\n _registerPopup(popup: ComboboxPopup) {\n this._popup.set(popup);\n }\n\n /** Unregisters the popup from the combobox. */\n _unregisterPopup() {\n this._popup.set(undefined);\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {InjectionToken} from '@angular/core';\nimport type {ComboboxPopup} from './combobox-popup';\n\n/** Token used to expose the combobox popup. */\nexport const COMBOBOX_POPUP = new InjectionToken<ComboboxPopup>('COMBOBOX_POPUP');\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {computed, Directive, inject, input, OnDestroy, OnInit, signal} from '@angular/core';\nimport {DeferredContent, ComboboxPopupPattern} from '@angular/aria/private';\nimport type {Combobox} from './combobox';\nimport type {ComboboxWidget} from './combobox-widget';\nimport {COMBOBOX_POPUP} from './combobox-tokens';\n\n/**\n * A structural directive that marks the `ng-template` to be used as the popup\n * for a combobox. This content is conditionally rendered.\n *\n * The content of the popup can be any element with the `ngComboboxWidget` directive.\n *\n * ```html\n * <ng-template ngComboboxPopup>\n * <div ngComboboxWidget>\n * <!-- ... options ... -->\n * </div>\n * </ng-template>\n * ```\n */\n@Directive({\n selector: 'ng-template[ngComboboxPopup]',\n exportAs: 'ngComboboxPopup',\n hostDirectives: [DeferredContent],\n providers: [{provide: COMBOBOX_POPUP, useExisting: ComboboxPopup}],\n})\nexport class ComboboxPopup implements OnInit, OnDestroy {\n private readonly _deferredContent = inject(DeferredContent);\n\n /** The combobox that the popup belongs to. */\n readonly combobox = input.required<Combobox>();\n\n /** The widget contained within the popup. */\n readonly _widget = signal<ComboboxWidget | undefined>(undefined);\n\n /** The element that serves as the control target for the popup. */\n readonly controlTarget = computed(() => this._widget()?.element);\n\n /** The ID of the popup. */\n readonly popupId = computed(() => this._widget()?.popupId());\n\n /** The ID of the active descendant in the popup. */\n readonly activeDescendant = computed(() => this._widget()?.activeDescendant());\n\n /** The type of the popup (e.g., listbox, tree, grid, dialog). */\n readonly popupType = input<'listbox' | 'tree' | 'grid' | 'dialog'>('listbox');\n\n /** The popup pattern. */\n readonly _pattern = new ComboboxPopupPattern({\n ...this,\n });\n\n ngOnInit() {\n this.combobox()._registerPopup(this);\n this._deferredContent.deferredContentAware.set(this.combobox());\n }\n\n ngOnDestroy() {\n this.combobox()._unregisterPopup();\n }\n\n /** Registers a widget with the popup. */\n _registerWidget(widget: ComboboxWidget) {\n this._widget.set(widget);\n }\n\n /** Unregisters the widget from the popup. */\n _unregisterWidget() {\n this._widget.set(undefined);\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {Directive, ElementRef, inject, input, OnDestroy, OnInit, signal} from '@angular/core';\nimport {COMBOBOX_POPUP} from './combobox-tokens';\n\n/**\n * Identifies an element as a widget within a combobox popup.\n *\n * This directive should be applied to the element that contains the options or content\n * of the popup. It handles the communication of ID and active descendant information\n * to the combobox.\n */\n@Directive({\n selector: '[ngComboboxWidget]',\n exportAs: 'ngComboboxWidget',\n host: {\n '(focusin)': 'onFocusin()',\n '(focusout)': 'onFocusout($event)',\n },\n})\nexport class ComboboxWidget implements OnInit, OnDestroy {\n /** The element that the popup widget is attached to. */\n private readonly _elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly _popup = inject(COMBOBOX_POPUP);\n\n /** A reference to the popup widget element. */\n readonly element = this._elementRef.nativeElement;\n\n /** The ID of the popup widget. */\n readonly popupId = signal<string | undefined>(undefined);\n\n /** The ID of the active descendant in the widget. */\n readonly activeDescendant = input<string | undefined>(undefined);\n\n private _observer: MutationObserver | undefined;\n\n constructor() {\n const el = this.element;\n this._observer = new MutationObserver(mutations => {\n for (const mutation of mutations) {\n if (mutation.attributeName === 'id') {\n this.popupId.set(el.id);\n }\n }\n });\n\n this._observer.observe(el, {\n attributes: true,\n attributeFilter: ['id'],\n });\n }\n\n ngOnInit() {\n this.popupId.set(this.element.id);\n this._popup._registerWidget(this);\n }\n\n ngOnDestroy(): void {\n this._observer?.disconnect();\n this._popup._unregisterWidget();\n }\n\n /** Handles focus in events for the widget. */\n onFocusin() {\n this._popup._pattern.onFocusin();\n }\n\n /** Handles focus out events for the widget. */\n onFocusout(event: FocusEvent) {\n this._popup._pattern.onFocusout(event);\n }\n}\n"],"names":["Combobox","DeferredContentAware","_renderer","inject","Renderer2","_elementRef","ElementRef","element","nativeElement","_popup","signal","undefined","disabled","input","transform","booleanAttribute","softDisabled","alwaysExpanded","tabIndex","ngDevMode","debugName","alias","tabIndexTransform","expanded","model","value","inlineSuggestion","_pattern","ComboboxPattern","expandable","popup","computed","constructor","afterRenderEffect","write","keyboardEventRelayEffect","contentVisible","set","isExpanded","isEditable","setProperty","highlightEffect","ngOnInit","_registerPopup","_unregisterPopup","deps","target","i0","ɵɵFactoryTarget","Directive","isStandalone","selector","inputs","classPropertyName","publicName","isSignal","isRequired","transformFunction","outputs","host","attributes","listeners","properties","exportAs","usesInheritance","ngImport","decorators","args","COMBOBOX_POPUP","InjectionToken","ComboboxPopup","_deferredContent","DeferredContent","combobox","required","_widget","controlTarget","popupId","activeDescendant","popupType","ComboboxPopupPattern","deferredContentAware","ngOnDestroy","_registerWidget","widget","_unregisterWidget","providers","provide","useExisting","hostDirectives","directive","i1","ComboboxWidget","_observer","el","MutationObserver","mutations","mutation","attributeName","id","observe","attributeFilter","disconnect","onFocusin","onFocusout","event"],"mappings":";;;;;;AAgFM,MAAOA,Q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kBAAA,CAAA;AAAAE,IAAAA,QAAA,EAAAlB;AAAA,GAAA,CAAA;;;;;;QAAd6C,cAAc;AAAA1B,EAAAA,UAAA,EAAA,CAAA;UAR1BjB,SAAS;AAACkB,IAAAA,IAAA,EAAA,CAAA;AACThB,MAAAA,QAAQ,EAAE,oBAAoB;AAC9BY,MAAAA,QAAQ,EAAE,kBAAkB;AAC5BJ,MAAAA,IAAI,EAAE;AACJ,QAAA,WAAW,EAAE,aAAa;AAC1B,QAAA,YAAY,EAAE;AACf;KACF;;;;;;;;;;;;;;;;;"}
|
package/fesm2022/grid.mjs
CHANGED
|
@@ -123,7 +123,7 @@ class Grid {
|
|
|
123
123
|
}
|
|
124
124
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
125
125
|
minVersion: "12.0.0",
|
|
126
|
-
version: "22.0.
|
|
126
|
+
version: "22.0.6",
|
|
127
127
|
ngImport: i0,
|
|
128
128
|
type: Grid,
|
|
129
129
|
deps: [],
|
|
@@ -131,7 +131,7 @@ class Grid {
|
|
|
131
131
|
});
|
|
132
132
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
133
133
|
minVersion: "17.1.0",
|
|
134
|
-
version: "22.0.
|
|
134
|
+
version: "22.0.6",
|
|
135
135
|
type: Grid,
|
|
136
136
|
isStandalone: true,
|
|
137
137
|
selector: "[ngGrid]",
|
|
@@ -227,7 +227,7 @@ class Grid {
|
|
|
227
227
|
}
|
|
228
228
|
i0.ɵɵngDeclareClassMetadata({
|
|
229
229
|
minVersion: "12.0.0",
|
|
230
|
-
version: "22.0.
|
|
230
|
+
version: "22.0.6",
|
|
231
231
|
ngImport: i0,
|
|
232
232
|
type: Grid,
|
|
233
233
|
decorators: [{
|
|
@@ -385,7 +385,7 @@ class GridCellWidget {
|
|
|
385
385
|
}
|
|
386
386
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
387
387
|
minVersion: "12.0.0",
|
|
388
|
-
version: "22.0.
|
|
388
|
+
version: "22.0.6",
|
|
389
389
|
ngImport: i0,
|
|
390
390
|
type: GridCellWidget,
|
|
391
391
|
deps: [],
|
|
@@ -393,7 +393,7 @@ class GridCellWidget {
|
|
|
393
393
|
});
|
|
394
394
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
395
395
|
minVersion: "17.1.0",
|
|
396
|
-
version: "22.0.
|
|
396
|
+
version: "22.0.6",
|
|
397
397
|
type: GridCellWidget,
|
|
398
398
|
isStandalone: true,
|
|
399
399
|
selector: "[ngGridCellWidget]",
|
|
@@ -452,7 +452,7 @@ class GridCellWidget {
|
|
|
452
452
|
}
|
|
453
453
|
i0.ɵɵngDeclareClassMetadata({
|
|
454
454
|
minVersion: "12.0.0",
|
|
455
|
-
version: "22.0.
|
|
455
|
+
version: "22.0.6",
|
|
456
456
|
ngImport: i0,
|
|
457
457
|
type: GridCellWidget,
|
|
458
458
|
decorators: [{
|
|
@@ -635,7 +635,7 @@ class GridCell {
|
|
|
635
635
|
}
|
|
636
636
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
637
637
|
minVersion: "12.0.0",
|
|
638
|
-
version: "22.0.
|
|
638
|
+
version: "22.0.6",
|
|
639
639
|
ngImport: i0,
|
|
640
640
|
type: GridCell,
|
|
641
641
|
deps: [],
|
|
@@ -643,7 +643,7 @@ class GridCell {
|
|
|
643
643
|
});
|
|
644
644
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
645
645
|
minVersion: "17.2.0",
|
|
646
|
-
version: "22.0.
|
|
646
|
+
version: "22.0.6",
|
|
647
647
|
type: GridCell,
|
|
648
648
|
isStandalone: true,
|
|
649
649
|
selector: "[ngGridCell]",
|
|
@@ -739,7 +739,7 @@ class GridCell {
|
|
|
739
739
|
}
|
|
740
740
|
i0.ɵɵngDeclareClassMetadata({
|
|
741
741
|
minVersion: "12.0.0",
|
|
742
|
-
version: "22.0.
|
|
742
|
+
version: "22.0.6",
|
|
743
743
|
ngImport: i0,
|
|
744
744
|
type: GridCell,
|
|
745
745
|
decorators: [{
|
|
@@ -883,7 +883,7 @@ class GridRow {
|
|
|
883
883
|
}
|
|
884
884
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
885
885
|
minVersion: "12.0.0",
|
|
886
|
-
version: "22.0.
|
|
886
|
+
version: "22.0.6",
|
|
887
887
|
ngImport: i0,
|
|
888
888
|
type: GridRow,
|
|
889
889
|
deps: [],
|
|
@@ -891,7 +891,7 @@ class GridRow {
|
|
|
891
891
|
});
|
|
892
892
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
893
893
|
minVersion: "17.1.0",
|
|
894
|
-
version: "22.0.
|
|
894
|
+
version: "22.0.6",
|
|
895
895
|
type: GridRow,
|
|
896
896
|
isStandalone: true,
|
|
897
897
|
selector: "[ngGridRow]",
|
|
@@ -922,7 +922,7 @@ class GridRow {
|
|
|
922
922
|
}
|
|
923
923
|
i0.ɵɵngDeclareClassMetadata({
|
|
924
924
|
minVersion: "12.0.0",
|
|
925
|
-
version: "22.0.
|
|
925
|
+
version: "22.0.6",
|
|
926
926
|
ngImport: i0,
|
|
927
927
|
type: GridRow,
|
|
928
928
|
decorators: [{
|
package/fesm2022/listbox.mjs
CHANGED
|
@@ -144,7 +144,7 @@ class Listbox {
|
|
|
144
144
|
}
|
|
145
145
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
146
146
|
minVersion: "12.0.0",
|
|
147
|
-
version: "22.0.
|
|
147
|
+
version: "22.0.6",
|
|
148
148
|
ngImport: i0,
|
|
149
149
|
type: Listbox,
|
|
150
150
|
deps: [],
|
|
@@ -152,7 +152,7 @@ class Listbox {
|
|
|
152
152
|
});
|
|
153
153
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
154
154
|
minVersion: "17.1.0",
|
|
155
|
-
version: "22.0.
|
|
155
|
+
version: "22.0.6",
|
|
156
156
|
type: Listbox,
|
|
157
157
|
isStandalone: true,
|
|
158
158
|
selector: "[ngListbox]",
|
|
@@ -274,7 +274,7 @@ class Listbox {
|
|
|
274
274
|
}
|
|
275
275
|
i0.ɵɵngDeclareClassMetadata({
|
|
276
276
|
minVersion: "12.0.0",
|
|
277
|
-
version: "22.0.
|
|
277
|
+
version: "22.0.6",
|
|
278
278
|
ngImport: i0,
|
|
279
279
|
type: Listbox,
|
|
280
280
|
decorators: [{
|
|
@@ -448,7 +448,7 @@ class Option {
|
|
|
448
448
|
}
|
|
449
449
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
450
450
|
minVersion: "12.0.0",
|
|
451
|
-
version: "22.0.
|
|
451
|
+
version: "22.0.6",
|
|
452
452
|
ngImport: i0,
|
|
453
453
|
type: Option,
|
|
454
454
|
deps: [],
|
|
@@ -456,7 +456,7 @@ class Option {
|
|
|
456
456
|
});
|
|
457
457
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
458
458
|
minVersion: "17.1.0",
|
|
459
|
-
version: "22.0.
|
|
459
|
+
version: "22.0.6",
|
|
460
460
|
type: Option,
|
|
461
461
|
isStandalone: true,
|
|
462
462
|
selector: "[ngOption]",
|
|
@@ -508,7 +508,7 @@ class Option {
|
|
|
508
508
|
}
|
|
509
509
|
i0.ɵɵngDeclareClassMetadata({
|
|
510
510
|
minVersion: "12.0.0",
|
|
511
|
-
version: "22.0.
|
|
511
|
+
version: "22.0.6",
|
|
512
512
|
ngImport: i0,
|
|
513
513
|
type: Option,
|
|
514
514
|
decorators: [{
|
package/fesm2022/menu.mjs
CHANGED
|
@@ -58,7 +58,7 @@ class MenuTrigger {
|
|
|
58
58
|
}
|
|
59
59
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
60
60
|
minVersion: "12.0.0",
|
|
61
|
-
version: "22.0.
|
|
61
|
+
version: "22.0.6",
|
|
62
62
|
ngImport: i0,
|
|
63
63
|
type: MenuTrigger,
|
|
64
64
|
deps: [],
|
|
@@ -66,7 +66,7 @@ class MenuTrigger {
|
|
|
66
66
|
});
|
|
67
67
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
68
68
|
minVersion: "17.1.0",
|
|
69
|
-
version: "22.0.
|
|
69
|
+
version: "22.0.6",
|
|
70
70
|
type: MenuTrigger,
|
|
71
71
|
isStandalone: true,
|
|
72
72
|
selector: "[ngMenuTrigger]",
|
|
@@ -115,7 +115,7 @@ class MenuTrigger {
|
|
|
115
115
|
}
|
|
116
116
|
i0.ɵɵngDeclareClassMetadata({
|
|
117
117
|
minVersion: "12.0.0",
|
|
118
|
-
version: "22.0.
|
|
118
|
+
version: "22.0.6",
|
|
119
119
|
ngImport: i0,
|
|
120
120
|
type: MenuTrigger,
|
|
121
121
|
decorators: [{
|
|
@@ -241,7 +241,7 @@ class MenuItem {
|
|
|
241
241
|
}
|
|
242
242
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
243
243
|
minVersion: "12.0.0",
|
|
244
|
-
version: "22.0.
|
|
244
|
+
version: "22.0.6",
|
|
245
245
|
ngImport: i0,
|
|
246
246
|
type: MenuItem,
|
|
247
247
|
deps: [],
|
|
@@ -249,7 +249,7 @@ class MenuItem {
|
|
|
249
249
|
});
|
|
250
250
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
251
251
|
minVersion: "17.1.0",
|
|
252
|
-
version: "22.0.
|
|
252
|
+
version: "22.0.6",
|
|
253
253
|
type: MenuItem,
|
|
254
254
|
isStandalone: true,
|
|
255
255
|
selector: "[ngMenuItem]",
|
|
@@ -320,7 +320,7 @@ class MenuItem {
|
|
|
320
320
|
}
|
|
321
321
|
i0.ɵɵngDeclareClassMetadata({
|
|
322
322
|
minVersion: "12.0.0",
|
|
323
|
-
version: "22.0.
|
|
323
|
+
version: "22.0.6",
|
|
324
324
|
ngImport: i0,
|
|
325
325
|
type: MenuItem,
|
|
326
326
|
decorators: [{
|
|
@@ -458,7 +458,7 @@ class MenuBar {
|
|
|
458
458
|
}
|
|
459
459
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
460
460
|
minVersion: "12.0.0",
|
|
461
|
-
version: "22.0.
|
|
461
|
+
version: "22.0.6",
|
|
462
462
|
ngImport: i0,
|
|
463
463
|
type: MenuBar,
|
|
464
464
|
deps: [],
|
|
@@ -466,7 +466,7 @@ class MenuBar {
|
|
|
466
466
|
});
|
|
467
467
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
468
468
|
minVersion: "17.1.0",
|
|
469
|
-
version: "22.0.
|
|
469
|
+
version: "22.0.6",
|
|
470
470
|
type: MenuBar,
|
|
471
471
|
isStandalone: true,
|
|
472
472
|
selector: "[ngMenuBar]",
|
|
@@ -538,7 +538,7 @@ class MenuBar {
|
|
|
538
538
|
}
|
|
539
539
|
i0.ɵɵngDeclareClassMetadata({
|
|
540
540
|
minVersion: "12.0.0",
|
|
541
|
-
version: "22.0.
|
|
541
|
+
version: "22.0.6",
|
|
542
542
|
ngImport: i0,
|
|
543
543
|
type: MenuBar,
|
|
544
544
|
decorators: [{
|
|
@@ -723,7 +723,7 @@ class Menu {
|
|
|
723
723
|
}
|
|
724
724
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
725
725
|
minVersion: "12.0.0",
|
|
726
|
-
version: "22.0.
|
|
726
|
+
version: "22.0.6",
|
|
727
727
|
ngImport: i0,
|
|
728
728
|
type: Menu,
|
|
729
729
|
deps: [],
|
|
@@ -731,7 +731,7 @@ class Menu {
|
|
|
731
731
|
});
|
|
732
732
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
733
733
|
minVersion: "17.1.0",
|
|
734
|
-
version: "22.0.
|
|
734
|
+
version: "22.0.6",
|
|
735
735
|
type: Menu,
|
|
736
736
|
isStandalone: true,
|
|
737
737
|
selector: "[ngMenu]",
|
|
@@ -815,7 +815,7 @@ class Menu {
|
|
|
815
815
|
}
|
|
816
816
|
i0.ɵɵngDeclareClassMetadata({
|
|
817
817
|
minVersion: "12.0.0",
|
|
818
|
-
version: "22.0.
|
|
818
|
+
version: "22.0.6",
|
|
819
819
|
ngImport: i0,
|
|
820
820
|
type: Menu,
|
|
821
821
|
decorators: [{
|
|
@@ -906,7 +906,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
906
906
|
class MenuContent {
|
|
907
907
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
908
908
|
minVersion: "12.0.0",
|
|
909
|
-
version: "22.0.
|
|
909
|
+
version: "22.0.6",
|
|
910
910
|
ngImport: i0,
|
|
911
911
|
type: MenuContent,
|
|
912
912
|
deps: [],
|
|
@@ -914,7 +914,7 @@ class MenuContent {
|
|
|
914
914
|
});
|
|
915
915
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
916
916
|
minVersion: "14.0.0",
|
|
917
|
-
version: "22.0.
|
|
917
|
+
version: "22.0.6",
|
|
918
918
|
type: MenuContent,
|
|
919
919
|
isStandalone: true,
|
|
920
920
|
selector: "ng-template[ngMenuContent]",
|
|
@@ -927,7 +927,7 @@ class MenuContent {
|
|
|
927
927
|
}
|
|
928
928
|
i0.ɵɵngDeclareClassMetadata({
|
|
929
929
|
minVersion: "12.0.0",
|
|
930
|
-
version: "22.0.
|
|
930
|
+
version: "22.0.6",
|
|
931
931
|
ngImport: i0,
|
|
932
932
|
type: MenuContent,
|
|
933
933
|
decorators: [{
|
package/fesm2022/private.mjs
CHANGED
|
@@ -110,7 +110,14 @@ class ComboboxPattern {
|
|
|
110
110
|
onFocusin() {
|
|
111
111
|
this.isFocused.set(true);
|
|
112
112
|
}
|
|
113
|
-
onFocusout(
|
|
113
|
+
onFocusout() {
|
|
114
|
+
setTimeout(() => {
|
|
115
|
+
const comboboxFocused = this.isFocused();
|
|
116
|
+
const popupFocused = !!this.inputs.popup()?.isFocused();
|
|
117
|
+
if (!this.inputs.alwaysExpanded() && !comboboxFocused && !popupFocused) {
|
|
118
|
+
this.inputs.expanded.set(false);
|
|
119
|
+
}
|
|
120
|
+
});
|
|
114
121
|
this.isFocused.set(false);
|
|
115
122
|
}
|
|
116
123
|
onInput(event) {
|
|
@@ -146,14 +153,6 @@ class ComboboxPattern {
|
|
|
146
153
|
}
|
|
147
154
|
});
|
|
148
155
|
}
|
|
149
|
-
closePopupOnBlurEffect() {
|
|
150
|
-
const expanded = this.isExpanded();
|
|
151
|
-
const comboboxFocused = this.isFocused();
|
|
152
|
-
const popupFocused = !!this.inputs.popup()?.isFocused();
|
|
153
|
-
if (expanded && !this.inputs.alwaysExpanded() && !comboboxFocused && !popupFocused) {
|
|
154
|
-
this.inputs.expanded.set(false);
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
156
|
}
|
|
158
157
|
class ComboboxPopupPattern {
|
|
159
158
|
inputs;
|
package/fesm2022/private.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"private.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/aria/private/combobox/combobox.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {KeyboardEventManager, ClickEventManager, Modifier} from '../behaviors/event-manager';\nimport {computed, signal, untracked} from '@angular/core';\nimport {SignalLike, WritableSignalLike} from '../behaviors/signal-like/signal-like';\nimport {ExpansionItem} from '../behaviors/expansion/expansion';\n\n/** Represents the required inputs for a simple combobox. */\nexport interface ComboboxInputs extends ExpansionItem {\n /** Whether the combobox should always remain expanded. */\n alwaysExpanded: SignalLike<boolean>;\n\n /** The value of the combobox. */\n value: WritableSignalLike<string>;\n\n /** The element that the combobox is attached to. */\n element: SignalLike<HTMLElement>;\n\n /** The popup associated with the combobox. */\n popup: SignalLike<ComboboxPopupPattern | undefined>;\n\n /** An inline suggestion to be displayed in the input. */\n inlineSuggestion: SignalLike<string | undefined>;\n\n /** Whether the combobox is disabled. */\n disabled: SignalLike<boolean>;\n\n /** Whether the combobox is soft disabled. */\n softDisabled?: SignalLike<boolean>;\n}\n\n/** Controls the state of a simple combobox. */\nexport class ComboboxPattern {\n /** The expanded state of the combobox. */\n readonly isExpanded = computed(() => this.inputs.alwaysExpanded() || this.inputs.expanded());\n\n /** The value of the combobox. */\n readonly value: WritableSignalLike<string>;\n\n /** The element that the combobox is attached to. */\n readonly element = () => this.inputs.element();\n\n /** Whether the combobox is disabled. */\n readonly disabled = () => this.inputs.disabled();\n\n /** Whether the combobox is soft disabled. */\n readonly softDisabled = () => this.inputs.softDisabled?.() ?? true;\n\n /** An inline suggestion to be displayed in the input. */\n readonly inlineSuggestion = () => this.inputs.inlineSuggestion();\n\n /** The ID of the active descendant in the popup. */\n readonly activeDescendant = computed(() => this.inputs.popup()?.activeDescendant());\n\n /** The ID of the popup. */\n readonly popupId = computed(() => this.inputs.popup()?.popupId());\n\n /** The type of the popup. */\n readonly popupType = computed(() => this.inputs.popup()?.popupType());\n\n /** The autocomplete behavior of the combobox. */\n readonly autocomplete = computed<'none' | 'inline' | 'list' | 'both'>(() => {\n const popupType = this.popupType();\n const hasAutocompletePopup = !!this.inputs.popup() && popupType !== 'dialog';\n const hasInlineSuggestion = !!this.inlineSuggestion();\n if (hasAutocompletePopup && hasInlineSuggestion) {\n return 'both';\n }\n if (hasAutocompletePopup) {\n return 'list';\n }\n if (hasInlineSuggestion) {\n return 'inline';\n }\n return 'none';\n });\n\n /** A relay for keyboard events to the popup. */\n readonly keyboardEventRelay = signal<KeyboardEvent | undefined>(undefined);\n\n /** Whether the combobox is focused. */\n readonly isFocused = signal(false);\n\n /** Whether the most recent input event was a deletion. */\n readonly isDeleting = signal(false);\n\n /** Whether the combobox is editable (i.e., an input or textarea). */\n readonly isEditable = computed(\n () =>\n this.element().tagName.toLowerCase() === 'input' ||\n this.element().tagName.toLowerCase() === 'textarea',\n );\n\n /** The keydown event manager for the combobox. */\n // TODO(tjshiu): Allow combo keys in combobox (#33101).\n keydown = computed(() => {\n const manager = new KeyboardEventManager();\n\n if (!this.isExpanded()) {\n manager.on('ArrowDown', () => this.inputs.expanded.set(true));\n\n if (!this.isEditable()) {\n manager.on('Enter', () => this.inputs.expanded.set(true));\n manager.on(' ', () => this.inputs.expanded.set(true));\n }\n\n return manager;\n }\n\n manager\n .on(\n 'ArrowLeft',\n e => {\n this.keyboardEventRelay.set(e);\n },\n {preventDefault: this.popupType() !== 'listbox', ignoreRepeat: false},\n )\n .on(\n 'ArrowRight',\n e => {\n this.keyboardEventRelay.set(e);\n },\n {preventDefault: this.popupType() !== 'listbox', ignoreRepeat: false},\n )\n .on('ArrowUp', e => this.keyboardEventRelay.set(e), {ignoreRepeat: false})\n .on('ArrowDown', e => this.keyboardEventRelay.set(e), {ignoreRepeat: false})\n .on(Modifier.Shift, 'ArrowUp', e => this.keyboardEventRelay.set(e), {ignoreRepeat: false})\n .on(Modifier.Shift, 'ArrowDown', e => this.keyboardEventRelay.set(e), {ignoreRepeat: false})\n .on('Home', e => this.keyboardEventRelay.set(e))\n .on('End', e => this.keyboardEventRelay.set(e))\n .on('Enter', e => this.keyboardEventRelay.set(e))\n .on('PageUp', e => this.keyboardEventRelay.set(e))\n .on('PageDown', e => this.keyboardEventRelay.set(e))\n .on('Escape', () => {\n if (!this.inputs.alwaysExpanded()) {\n this.inputs.expanded.set(false);\n }\n });\n\n if (!this.isEditable()) {\n manager\n .on(' ', e => this.keyboardEventRelay.set(e))\n .on([Modifier.Ctrl, Modifier.Meta], 'a', e => this.keyboardEventRelay.set(e))\n .on([Modifier.Ctrl, Modifier.Meta], 'A', e => this.keyboardEventRelay.set(e))\n .on(Modifier.Shift, 'Home', e => this.keyboardEventRelay.set(e))\n .on(Modifier.Shift, 'End', e => this.keyboardEventRelay.set(e))\n .on(/^.$/, e => {\n this.keyboardEventRelay.set(e);\n });\n }\n\n return manager;\n });\n\n /** The click event manager for the combobox. */\n click = computed(() => {\n const manager = new ClickEventManager<PointerEvent>();\n\n if (this.isEditable()) return manager;\n\n manager.on(() => this.inputs.expanded.update(v => !v));\n\n return manager;\n });\n\n constructor(readonly inputs: ComboboxInputs) {\n this.value = inputs.value;\n }\n\n /** Handles keydown events for the combobox. */\n onKeydown(event: KeyboardEvent) {\n if (!this.inputs.disabled()) {\n this.keydown().handle(event);\n }\n }\n\n /** Handles click events for the combobox. */\n onClick(event: PointerEvent) {\n if (!this.disabled()) {\n this.click().handle(event);\n }\n }\n\n /** Handles focus in events for the combobox. */\n onFocusin() {\n this.isFocused.set(true);\n }\n\n /** Handles focus out events for the combobox. */\n onFocusout(event: FocusEvent) {\n this.isFocused.set(false);\n }\n\n /** Handles input events for the combobox. */\n onInput(event: Event) {\n if (!(event.target instanceof HTMLInputElement)) return;\n if (this.disabled()) return;\n\n this.inputs.expanded.set(true);\n this.value.set(event.target.value);\n this.isDeleting.set(event instanceof InputEvent && !!event.inputType.match(/^delete/));\n }\n\n /** Highlights the currently selected item in the combobox. */\n highlightEffect() {\n const value = this.value();\n const inlineSuggestion = this.inlineSuggestion();\n\n const isDeleting = untracked(() => this.isDeleting());\n const isFocused = untracked(() => this.isFocused());\n const isExpanded = this.isExpanded();\n\n if (!inlineSuggestion || !isFocused || !isExpanded || isDeleting) return;\n\n const inputEl = this.element() as HTMLInputElement;\n const isHighlightable = inlineSuggestion.toLowerCase().startsWith(value.toLowerCase());\n\n if (isHighlightable) {\n inputEl.value = value + inlineSuggestion.slice(value.length);\n inputEl.setSelectionRange(value.length, inlineSuggestion.length);\n }\n }\n\n /** Relays keyboard events to the popup. */\n keyboardEventRelayEffect() {\n const event = this.keyboardEventRelay();\n if (event === undefined) return;\n\n // Reset isDeleting when the user navigates, so that the highlight effect can run again.\n this.isDeleting.set(false);\n\n untracked(() => {\n const popup = this.inputs.popup();\n if (this.isExpanded()) {\n const relayedEvent = new KeyboardEvent(event.type, event);\n popup?.controlTarget()?.dispatchEvent(relayedEvent);\n }\n });\n }\n\n /** Closes the popup when focus leaves the combobox and popup. */\n closePopupOnBlurEffect() {\n const expanded = this.isExpanded();\n const comboboxFocused = this.isFocused();\n const popupFocused = !!this.inputs.popup()?.isFocused();\n if (expanded && !this.inputs.alwaysExpanded() && !comboboxFocused && !popupFocused) {\n this.inputs.expanded.set(false);\n }\n }\n}\n\n/** Represents the required inputs for a simple combobox popup. */\nexport interface ComboboxPopupInputs {\n /** The type of the popup. */\n popupType: SignalLike<'listbox' | 'tree' | 'grid' | 'dialog'>;\n\n /** The element that serves as the control target for the popup. */\n controlTarget: SignalLike<HTMLElement | undefined>;\n\n /** The ID of the active descendant in the popup. */\n activeDescendant: SignalLike<string | undefined>;\n\n /** The ID of the popup. */\n popupId: SignalLike<string | undefined>;\n}\n\n/** Controls the state of a simple combobox popup. */\nexport class ComboboxPopupPattern {\n /** The type of the popup. */\n readonly popupType = () => this.inputs.popupType();\n\n /** The element that serves as the control target for the popup. */\n readonly controlTarget = () => this.inputs.controlTarget();\n\n /** The ID of the active descendant in the popup. */\n readonly activeDescendant = () => this.inputs.activeDescendant();\n\n /** The ID of the popup. */\n readonly popupId = () => this.inputs.popupId();\n\n /** Whether the popup is focused. */\n readonly isFocused = signal(false);\n\n constructor(readonly inputs: ComboboxPopupInputs) {}\n\n /** Handles focus in events for the popup. */\n onFocusin() {\n this.isFocused.set(true);\n }\n\n /** Handles focus out events for the popup. */\n onFocusout(event: FocusEvent) {\n const focusTarget = event.relatedTarget as Element | null;\n if (this.controlTarget()?.contains(focusTarget)) return;\n\n this.isFocused.set(false);\n }\n}\n"],"names":["ComboboxPattern","inputs","isExpanded","computed","alwaysExpanded","expanded","value","element","disabled","softDisabled","inlineSuggestion","activeDescendant","popup","popupId","popupType","autocomplete","hasAutocompletePopup","hasInlineSuggestion","keyboardEventRelay","signal","undefined","isFocused","isDeleting","isEditable","tagName","toLowerCase","keydown","manager","KeyboardEventManager","on","set","e","preventDefault","ignoreRepeat","Modifier","Shift","Ctrl","Meta","click","ClickEventManager","update","v","constructor","onKeydown","event","handle","onClick","onFocusin","onFocusout","onInput","target","HTMLInputElement","InputEvent","inputType","match","highlightEffect","untracked","inputEl","isHighlightable","startsWith","slice","length","setSelectionRange","keyboardEventRelayEffect","relayedEvent","KeyboardEvent","type","controlTarget","dispatchEvent","closePopupOnBlurEffect","combobox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S,GAAGA,MAAM,IAAI,CAACb,MAAM,CAACa,SAAS,EAAE;EAGzCqD,aAAa,GAAGA,MAAM,IAAI,CAAClE,MAAM,CAACkE,aAAa,EAAE;EAGjDxD,gBAAgB,GAAGA,MAAM,IAAI,CAACV,MAAM,CAACU,gBAAgB,EAAE;EAGvDE,OAAO,GAAGA,MAAM,IAAI,CAACZ,MAAM,CAACY,OAAO,EAAE;AAGrCQ,EAAAA,SAAS,GAAGF,MAAM,CAAC,KAAK,CAAC;EAElCuB,WAAAA,CAAqBzC,MAA2B,EAAA;IAA3B,IAAA,CAAAA,MAAM,GAANA,MAAM;AAAwB,EAAA;AAGnD8C,EAAAA,SAASA,GAAA;AACP,IAAA,IAAI,CAAC1B,SAAS,CAACS,GAAG,CAAC,IAAI,CAAC;AAC1B,EAAA;EAGAkB,UAAUA,CAACJ,KAAiB,EAAA;AAC1B,IAAA,MAAM6B,WAAW,GAAG7B,KAAK,CAAC8B,aAA+B;IACzD,IAAI,IAAI,CAACP,aAAa,EAAE,EAAEQ,QAAQ,CAACF,WAAW,CAAC,EAAE;AAEjD,IAAA,IAAI,CAACpD,SAAS,CAACS,GAAG,CAAC,KAAK,CAAC;AAC3B,EAAA;AACD;;;;"}
|
|
1
|
+
{"version":3,"file":"private.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/aria/private/combobox/combobox.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {KeyboardEventManager, ClickEventManager, Modifier} from '../behaviors/event-manager';\nimport {computed, signal, untracked} from '@angular/core';\nimport {SignalLike, WritableSignalLike} from '../behaviors/signal-like/signal-like';\nimport {ExpansionItem} from '../behaviors/expansion/expansion';\n\n/** Represents the required inputs for a simple combobox. */\nexport interface ComboboxInputs extends ExpansionItem {\n /** Whether the combobox should always remain expanded. */\n alwaysExpanded: SignalLike<boolean>;\n\n /** The value of the combobox. */\n value: WritableSignalLike<string>;\n\n /** The element that the combobox is attached to. */\n element: SignalLike<HTMLElement>;\n\n /** The popup associated with the combobox. */\n popup: SignalLike<ComboboxPopupPattern | undefined>;\n\n /** An inline suggestion to be displayed in the input. */\n inlineSuggestion: SignalLike<string | undefined>;\n\n /** Whether the combobox is disabled. */\n disabled: SignalLike<boolean>;\n\n /** Whether the combobox is soft disabled. */\n softDisabled?: SignalLike<boolean>;\n}\n\n/** Controls the state of a simple combobox. */\nexport class ComboboxPattern {\n /** The expanded state of the combobox. */\n readonly isExpanded = computed(() => this.inputs.alwaysExpanded() || this.inputs.expanded());\n\n /** The value of the combobox. */\n readonly value: WritableSignalLike<string>;\n\n /** The element that the combobox is attached to. */\n readonly element = () => this.inputs.element();\n\n /** Whether the combobox is disabled. */\n readonly disabled = () => this.inputs.disabled();\n\n /** Whether the combobox is soft disabled. */\n readonly softDisabled = () => this.inputs.softDisabled?.() ?? true;\n\n /** An inline suggestion to be displayed in the input. */\n readonly inlineSuggestion = () => this.inputs.inlineSuggestion();\n\n /** The ID of the active descendant in the popup. */\n readonly activeDescendant = computed(() => this.inputs.popup()?.activeDescendant());\n\n /** The ID of the popup. */\n readonly popupId = computed(() => this.inputs.popup()?.popupId());\n\n /** The type of the popup. */\n readonly popupType = computed(() => this.inputs.popup()?.popupType());\n\n /** The autocomplete behavior of the combobox. */\n readonly autocomplete = computed<'none' | 'inline' | 'list' | 'both'>(() => {\n const popupType = this.popupType();\n const hasAutocompletePopup = !!this.inputs.popup() && popupType !== 'dialog';\n const hasInlineSuggestion = !!this.inlineSuggestion();\n if (hasAutocompletePopup && hasInlineSuggestion) {\n return 'both';\n }\n if (hasAutocompletePopup) {\n return 'list';\n }\n if (hasInlineSuggestion) {\n return 'inline';\n }\n return 'none';\n });\n\n /** A relay for keyboard events to the popup. */\n readonly keyboardEventRelay = signal<KeyboardEvent | undefined>(undefined);\n\n /** Whether the combobox is focused. */\n readonly isFocused = signal(false);\n\n /** Whether the most recent input event was a deletion. */\n readonly isDeleting = signal(false);\n\n /** Whether the combobox is editable (i.e., an input or textarea). */\n readonly isEditable = computed(\n () =>\n this.element().tagName.toLowerCase() === 'input' ||\n this.element().tagName.toLowerCase() === 'textarea',\n );\n\n /** The keydown event manager for the combobox. */\n // TODO(tjshiu): Allow combo keys in combobox (#33101).\n keydown = computed(() => {\n const manager = new KeyboardEventManager();\n\n if (!this.isExpanded()) {\n manager.on('ArrowDown', () => this.inputs.expanded.set(true));\n\n if (!this.isEditable()) {\n manager.on('Enter', () => this.inputs.expanded.set(true));\n manager.on(' ', () => this.inputs.expanded.set(true));\n }\n\n return manager;\n }\n\n manager\n .on(\n 'ArrowLeft',\n e => {\n this.keyboardEventRelay.set(e);\n },\n {preventDefault: this.popupType() !== 'listbox', ignoreRepeat: false},\n )\n .on(\n 'ArrowRight',\n e => {\n this.keyboardEventRelay.set(e);\n },\n {preventDefault: this.popupType() !== 'listbox', ignoreRepeat: false},\n )\n .on('ArrowUp', e => this.keyboardEventRelay.set(e), {ignoreRepeat: false})\n .on('ArrowDown', e => this.keyboardEventRelay.set(e), {ignoreRepeat: false})\n .on(Modifier.Shift, 'ArrowUp', e => this.keyboardEventRelay.set(e), {ignoreRepeat: false})\n .on(Modifier.Shift, 'ArrowDown', e => this.keyboardEventRelay.set(e), {ignoreRepeat: false})\n .on('Home', e => this.keyboardEventRelay.set(e))\n .on('End', e => this.keyboardEventRelay.set(e))\n .on('Enter', e => this.keyboardEventRelay.set(e))\n .on('PageUp', e => this.keyboardEventRelay.set(e))\n .on('PageDown', e => this.keyboardEventRelay.set(e))\n .on('Escape', () => {\n if (!this.inputs.alwaysExpanded()) {\n this.inputs.expanded.set(false);\n }\n });\n\n if (!this.isEditable()) {\n manager\n .on(' ', e => this.keyboardEventRelay.set(e))\n .on([Modifier.Ctrl, Modifier.Meta], 'a', e => this.keyboardEventRelay.set(e))\n .on([Modifier.Ctrl, Modifier.Meta], 'A', e => this.keyboardEventRelay.set(e))\n .on(Modifier.Shift, 'Home', e => this.keyboardEventRelay.set(e))\n .on(Modifier.Shift, 'End', e => this.keyboardEventRelay.set(e))\n .on(/^.$/, e => {\n this.keyboardEventRelay.set(e);\n });\n }\n\n return manager;\n });\n\n /** The click event manager for the combobox. */\n click = computed(() => {\n const manager = new ClickEventManager<PointerEvent>();\n\n if (this.isEditable()) return manager;\n\n manager.on(() => this.inputs.expanded.update(v => !v));\n\n return manager;\n });\n\n constructor(readonly inputs: ComboboxInputs) {\n this.value = inputs.value;\n }\n\n /** Handles keydown events for the combobox. */\n onKeydown(event: KeyboardEvent) {\n if (!this.inputs.disabled()) {\n this.keydown().handle(event);\n }\n }\n\n /** Handles click events for the combobox. */\n onClick(event: PointerEvent) {\n if (!this.disabled()) {\n this.click().handle(event);\n }\n }\n\n /** Handles focus in events for the combobox. */\n onFocusin() {\n this.isFocused.set(true);\n }\n\n /** Handles focus out events for the combobox. */\n onFocusout() {\n // Give focus some time to move before we check it.\n setTimeout(() => {\n const comboboxFocused = this.isFocused();\n const popupFocused = !!this.inputs.popup()?.isFocused();\n\n if (!this.inputs.alwaysExpanded() && !comboboxFocused && !popupFocused) {\n this.inputs.expanded.set(false);\n }\n });\n\n this.isFocused.set(false);\n }\n\n /** Handles input events for the combobox. */\n onInput(event: Event) {\n if (!(event.target instanceof HTMLInputElement)) return;\n if (this.disabled()) return;\n\n this.inputs.expanded.set(true);\n this.value.set(event.target.value);\n this.isDeleting.set(event instanceof InputEvent && !!event.inputType.match(/^delete/));\n }\n\n /** Highlights the currently selected item in the combobox. */\n highlightEffect() {\n const value = this.value();\n const inlineSuggestion = this.inlineSuggestion();\n\n const isDeleting = untracked(() => this.isDeleting());\n const isFocused = untracked(() => this.isFocused());\n const isExpanded = this.isExpanded();\n\n if (!inlineSuggestion || !isFocused || !isExpanded || isDeleting) return;\n\n const inputEl = this.element() as HTMLInputElement;\n const isHighlightable = inlineSuggestion.toLowerCase().startsWith(value.toLowerCase());\n\n if (isHighlightable) {\n inputEl.value = value + inlineSuggestion.slice(value.length);\n inputEl.setSelectionRange(value.length, inlineSuggestion.length);\n }\n }\n\n /** Relays keyboard events to the popup. */\n keyboardEventRelayEffect() {\n const event = this.keyboardEventRelay();\n if (event === undefined) return;\n\n // Reset isDeleting when the user navigates, so that the highlight effect can run again.\n this.isDeleting.set(false);\n\n untracked(() => {\n const popup = this.inputs.popup();\n if (this.isExpanded()) {\n const relayedEvent = new KeyboardEvent(event.type, event);\n popup?.controlTarget()?.dispatchEvent(relayedEvent);\n }\n });\n }\n}\n\n/** Represents the required inputs for a simple combobox popup. */\nexport interface ComboboxPopupInputs {\n /** The type of the popup. */\n popupType: SignalLike<'listbox' | 'tree' | 'grid' | 'dialog'>;\n\n /** The element that serves as the control target for the popup. */\n controlTarget: SignalLike<HTMLElement | undefined>;\n\n /** The ID of the active descendant in the popup. */\n activeDescendant: SignalLike<string | undefined>;\n\n /** The ID of the popup. */\n popupId: SignalLike<string | undefined>;\n}\n\n/** Controls the state of a simple combobox popup. */\nexport class ComboboxPopupPattern {\n /** The type of the popup. */\n readonly popupType = () => this.inputs.popupType();\n\n /** The element that serves as the control target for the popup. */\n readonly controlTarget = () => this.inputs.controlTarget();\n\n /** The ID of the active descendant in the popup. */\n readonly activeDescendant = () => this.inputs.activeDescendant();\n\n /** The ID of the popup. */\n readonly popupId = () => this.inputs.popupId();\n\n /** Whether the popup is focused. */\n readonly isFocused = signal(false);\n\n constructor(readonly inputs: ComboboxPopupInputs) {}\n\n /** Handles focus in events for the popup. */\n onFocusin() {\n this.isFocused.set(true);\n }\n\n /** Handles focus out events for the popup. */\n onFocusout(event: FocusEvent) {\n const focusTarget = event.relatedTarget as Element | null;\n if (this.controlTarget()?.contains(focusTarget)) return;\n\n this.isFocused.set(false);\n }\n}\n"],"names":["ComboboxPattern","inputs","isExpanded","computed","alwaysExpanded","expanded","value","element","disabled","softDisabled","inlineSuggestion","activeDescendant","popup","popupId","popupType","autocomplete","hasAutocompletePopup","hasInlineSuggestion","keyboardEventRelay","signal","undefined","isFocused","isDeleting","isEditable","tagName","toLowerCase","keydown","manager","KeyboardEventManager","on","set","e","preventDefault","ignoreRepeat","Modifier","Shift","Ctrl","Meta","click","ClickEventManager","update","v","constructor","onKeydown","event","handle","onClick","onFocusin","onFocusout","setTimeout","comboboxFocused","popupFocused","onInput","target","HTMLInputElement","InputEvent","inputType","match","highlightEffect","untracked","inputEl","isHighlightable","startsWith","slice","length","setSelectionRange","keyboardEventRelayEffect","relayedEvent","KeyboardEvent","type","controlTarget","dispatchEvent","ComboboxPopupPattern","focusTarget","relatedTarget","contains"],"mappings":";;;;;;;;;;;;;;;;;;;MAsCaA,eAAe,CAAA;EAqILC,MAAA;AAnIZC,EAAAA,UAAU,GAAGC,QAAQ,CAAC,MAAM,IAAI,CAACF,MAAM,CAACG,cAAc,EAAE,IAAI,IAAI,CAACH,MAAM,CAACI,QAAQ,EAAE,CAAC;EAGnFC,KAAK;EAGLC,OAAO,GAAGA,MAAM,IAAI,CAACN,MAAM,CAACM,OAAO,EAAE;EAGrCC,QAAQ,GAAGA,MAAM,IAAI,CAACP,MAAM,CAACO,QAAQ,EAAE;EAGvCC,YAAY,GAAGA,MAAM,IAAI,CAACR,MAAM,CAACQ,YAAY,IAAI,IAAI,IAAI;EAGzDC,gBAAgB,GAAGA,MAAM,IAAI,CAACT,MAAM,CAACS,gBAAgB,EAAE;AAGvDC,EAAAA,gBAAgB,GAAGR,QAAQ,CAAC,MAAM,IAAI,CAACF,MAAM,CAACW,KAAK,EAAE,EAAED,gBAAgB,EAAE,CAAC;AAG1EE,EAAAA,OAAO,GAAGV,QAAQ,CAAC,MAAM,IAAI,CAACF,MAAM,CAACW,KAAK,EAAE,EAAEC,OAAO,EAAE,CAAC;AAGxDC,EAAAA,SAAS,GAAGX,QAAQ,CAAC,MAAM,IAAI,CAACF,MAAM,CAACW,KAAK,EAAE,EAAEE,SAAS,EAAE,CAAC;EAG5DC,YAAY,GAAGZ,QAAQ,CAAsC,MAAK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|
|
68
68
|
type: Tabs,
|
|
69
69
|
deps: [],
|
|
@@ -71,7 +71,7 @@ class Tabs {
|
|
|
71
71
|
});
|
|
72
72
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
73
73
|
minVersion: "14.0.0",
|
|
74
|
-
version: "22.0.
|
|
74
|
+
version: "22.0.6",
|
|
75
75
|
type: Tabs,
|
|
76
76
|
isStandalone: true,
|
|
77
77
|
selector: "[ngTabs]",
|
|
@@ -85,7 +85,7 @@ class Tabs {
|
|
|
85
85
|
}
|
|
86
86
|
i0.ɵɵngDeclareClassMetadata({
|
|
87
87
|
minVersion: "12.0.0",
|
|
88
|
-
version: "22.0.
|
|
88
|
+
version: "22.0.6",
|
|
89
89
|
ngImport: i0,
|
|
90
90
|
type: Tabs,
|
|
91
91
|
decorators: [{
|
|
@@ -197,7 +197,7 @@ class TabList {
|
|
|
197
197
|
}
|
|
198
198
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
199
199
|
minVersion: "12.0.0",
|
|
200
|
-
version: "22.0.
|
|
200
|
+
version: "22.0.6",
|
|
201
201
|
ngImport: i0,
|
|
202
202
|
type: TabList,
|
|
203
203
|
deps: [],
|
|
@@ -205,7 +205,7 @@ class TabList {
|
|
|
205
205
|
});
|
|
206
206
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
207
207
|
minVersion: "17.1.0",
|
|
208
|
-
version: "22.0.
|
|
208
|
+
version: "22.0.6",
|
|
209
209
|
type: TabList,
|
|
210
210
|
isStandalone: true,
|
|
211
211
|
selector: "[ngTabList]",
|
|
@@ -289,7 +289,7 @@ class TabList {
|
|
|
289
289
|
}
|
|
290
290
|
i0.ɵɵngDeclareClassMetadata({
|
|
291
291
|
minVersion: "12.0.0",
|
|
292
|
-
version: "22.0.
|
|
292
|
+
version: "22.0.6",
|
|
293
293
|
ngImport: i0,
|
|
294
294
|
type: TabList,
|
|
295
295
|
decorators: [{
|
|
@@ -439,7 +439,7 @@ class Tab {
|
|
|
439
439
|
}
|
|
440
440
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
441
441
|
minVersion: "12.0.0",
|
|
442
|
-
version: "22.0.
|
|
442
|
+
version: "22.0.6",
|
|
443
443
|
ngImport: i0,
|
|
444
444
|
type: Tab,
|
|
445
445
|
deps: [],
|
|
@@ -447,7 +447,7 @@ class Tab {
|
|
|
447
447
|
});
|
|
448
448
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
449
449
|
minVersion: "17.1.0",
|
|
450
|
-
version: "22.0.
|
|
450
|
+
version: "22.0.6",
|
|
451
451
|
type: Tab,
|
|
452
452
|
isStandalone: true,
|
|
453
453
|
selector: "[ngTab]",
|
|
@@ -493,7 +493,7 @@ class Tab {
|
|
|
493
493
|
}
|
|
494
494
|
i0.ɵɵngDeclareClassMetadata({
|
|
495
495
|
minVersion: "12.0.0",
|
|
496
|
-
version: "22.0.
|
|
496
|
+
version: "22.0.6",
|
|
497
497
|
ngImport: i0,
|
|
498
498
|
type: Tab,
|
|
499
499
|
decorators: [{
|
|
@@ -544,7 +544,7 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
544
544
|
class TabContent {
|
|
545
545
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
546
546
|
minVersion: "12.0.0",
|
|
547
|
-
version: "22.0.
|
|
547
|
+
version: "22.0.6",
|
|
548
548
|
ngImport: i0,
|
|
549
549
|
type: TabContent,
|
|
550
550
|
deps: [],
|
|
@@ -552,7 +552,7 @@ class TabContent {
|
|
|
552
552
|
});
|
|
553
553
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
554
554
|
minVersion: "14.0.0",
|
|
555
|
-
version: "22.0.
|
|
555
|
+
version: "22.0.6",
|
|
556
556
|
type: TabContent,
|
|
557
557
|
isStandalone: true,
|
|
558
558
|
selector: "ng-template[ngTabContent]",
|
|
@@ -565,7 +565,7 @@ class TabContent {
|
|
|
565
565
|
}
|
|
566
566
|
i0.ɵɵngDeclareClassMetadata({
|
|
567
567
|
minVersion: "12.0.0",
|
|
568
|
-
version: "22.0.
|
|
568
|
+
version: "22.0.6",
|
|
569
569
|
ngImport: i0,
|
|
570
570
|
type: TabContent,
|
|
571
571
|
decorators: [{
|
|
@@ -633,7 +633,7 @@ class TabPanel {
|
|
|
633
633
|
}
|
|
634
634
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
635
635
|
minVersion: "12.0.0",
|
|
636
|
-
version: "22.0.
|
|
636
|
+
version: "22.0.6",
|
|
637
637
|
ngImport: i0,
|
|
638
638
|
type: TabPanel,
|
|
639
639
|
deps: [],
|
|
@@ -641,7 +641,7 @@ class TabPanel {
|
|
|
641
641
|
});
|
|
642
642
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
643
643
|
minVersion: "17.2.0",
|
|
644
|
-
version: "22.0.
|
|
644
|
+
version: "22.0.6",
|
|
645
645
|
type: TabPanel,
|
|
646
646
|
isStandalone: true,
|
|
647
647
|
selector: "[ngTabPanel]",
|
|
@@ -689,7 +689,7 @@ class TabPanel {
|
|
|
689
689
|
}
|
|
690
690
|
i0.ɵɵngDeclareClassMetadata({
|
|
691
691
|
minVersion: "12.0.0",
|
|
692
|
-
version: "22.0.
|
|
692
|
+
version: "22.0.6",
|
|
693
693
|
ngImport: i0,
|
|
694
694
|
type: TabPanel,
|
|
695
695
|
decorators: [{
|
package/fesm2022/toolbar.mjs
CHANGED
|
@@ -73,7 +73,7 @@ class Toolbar {
|
|
|
73
73
|
}
|
|
74
74
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
75
75
|
minVersion: "12.0.0",
|
|
76
|
-
version: "22.0.
|
|
76
|
+
version: "22.0.6",
|
|
77
77
|
ngImport: i0,
|
|
78
78
|
type: Toolbar,
|
|
79
79
|
deps: [],
|
|
@@ -81,7 +81,7 @@ class Toolbar {
|
|
|
81
81
|
});
|
|
82
82
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
83
83
|
minVersion: "17.1.0",
|
|
84
|
-
version: "22.0.
|
|
84
|
+
version: "22.0.6",
|
|
85
85
|
type: Toolbar,
|
|
86
86
|
isStandalone: true,
|
|
87
87
|
selector: "[ngToolbar]",
|
|
@@ -147,7 +147,7 @@ class Toolbar {
|
|
|
147
147
|
}
|
|
148
148
|
i0.ɵɵngDeclareClassMetadata({
|
|
149
149
|
minVersion: "12.0.0",
|
|
150
|
-
version: "22.0.
|
|
150
|
+
version: "22.0.6",
|
|
151
151
|
ngImport: i0,
|
|
152
152
|
type: Toolbar,
|
|
153
153
|
decorators: [{
|
|
@@ -263,7 +263,7 @@ class ToolbarWidget {
|
|
|
263
263
|
}
|
|
264
264
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
265
265
|
minVersion: "12.0.0",
|
|
266
|
-
version: "22.0.
|
|
266
|
+
version: "22.0.6",
|
|
267
267
|
ngImport: i0,
|
|
268
268
|
type: ToolbarWidget,
|
|
269
269
|
deps: [],
|
|
@@ -271,7 +271,7 @@ class ToolbarWidget {
|
|
|
271
271
|
});
|
|
272
272
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
273
273
|
minVersion: "17.1.0",
|
|
274
|
-
version: "22.0.
|
|
274
|
+
version: "22.0.6",
|
|
275
275
|
type: ToolbarWidget,
|
|
276
276
|
isStandalone: true,
|
|
277
277
|
selector: "[ngToolbarWidget]",
|
|
@@ -317,7 +317,7 @@ class ToolbarWidget {
|
|
|
317
317
|
}
|
|
318
318
|
i0.ɵɵngDeclareClassMetadata({
|
|
319
319
|
minVersion: "12.0.0",
|
|
320
|
-
version: "22.0.
|
|
320
|
+
version: "22.0.6",
|
|
321
321
|
ngImport: i0,
|
|
322
322
|
type: ToolbarWidget,
|
|
323
323
|
decorators: [{
|
|
@@ -412,7 +412,7 @@ class ToolbarWidgetGroup {
|
|
|
412
412
|
}
|
|
413
413
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
414
414
|
minVersion: "12.0.0",
|
|
415
|
-
version: "22.0.
|
|
415
|
+
version: "22.0.6",
|
|
416
416
|
ngImport: i0,
|
|
417
417
|
type: ToolbarWidgetGroup,
|
|
418
418
|
deps: [],
|
|
@@ -420,7 +420,7 @@ class ToolbarWidgetGroup {
|
|
|
420
420
|
});
|
|
421
421
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
422
422
|
minVersion: "17.2.0",
|
|
423
|
-
version: "22.0.
|
|
423
|
+
version: "22.0.6",
|
|
424
424
|
type: ToolbarWidgetGroup,
|
|
425
425
|
isStandalone: true,
|
|
426
426
|
selector: "[ngToolbarWidgetGroup]",
|
|
@@ -456,7 +456,7 @@ class ToolbarWidgetGroup {
|
|
|
456
456
|
}
|
|
457
457
|
i0.ɵɵngDeclareClassMetadata({
|
|
458
458
|
minVersion: "12.0.0",
|
|
459
|
-
version: "22.0.
|
|
459
|
+
version: "22.0.6",
|
|
460
460
|
ngImport: i0,
|
|
461
461
|
type: ToolbarWidgetGroup,
|
|
462
462
|
decorators: [{
|
package/fesm2022/tree.mjs
CHANGED
|
@@ -123,7 +123,7 @@ class Tree {
|
|
|
123
123
|
}
|
|
124
124
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
125
125
|
minVersion: "12.0.0",
|
|
126
|
-
version: "22.0.
|
|
126
|
+
version: "22.0.6",
|
|
127
127
|
ngImport: i0,
|
|
128
128
|
type: Tree,
|
|
129
129
|
deps: [],
|
|
@@ -131,7 +131,7 @@ class Tree {
|
|
|
131
131
|
});
|
|
132
132
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
133
133
|
minVersion: "17.1.0",
|
|
134
|
-
version: "22.0.
|
|
134
|
+
version: "22.0.6",
|
|
135
135
|
type: Tree,
|
|
136
136
|
isStandalone: true,
|
|
137
137
|
selector: "[ngTree]",
|
|
@@ -255,7 +255,7 @@ class Tree {
|
|
|
255
255
|
}
|
|
256
256
|
i0.ɵɵngDeclareClassMetadata({
|
|
257
257
|
minVersion: "12.0.0",
|
|
258
|
-
version: "22.0.
|
|
258
|
+
version: "22.0.6",
|
|
259
259
|
ngImport: i0,
|
|
260
260
|
type: Tree,
|
|
261
261
|
decorators: [{
|
|
@@ -419,7 +419,7 @@ class TreeItemGroup {
|
|
|
419
419
|
}
|
|
420
420
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
421
421
|
minVersion: "12.0.0",
|
|
422
|
-
version: "22.0.
|
|
422
|
+
version: "22.0.6",
|
|
423
423
|
ngImport: i0,
|
|
424
424
|
type: TreeItemGroup,
|
|
425
425
|
deps: [],
|
|
@@ -427,7 +427,7 @@ class TreeItemGroup {
|
|
|
427
427
|
});
|
|
428
428
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
429
429
|
minVersion: "17.1.0",
|
|
430
|
-
version: "22.0.
|
|
430
|
+
version: "22.0.6",
|
|
431
431
|
type: TreeItemGroup,
|
|
432
432
|
isStandalone: true,
|
|
433
433
|
selector: "ng-template[ngTreeItemGroup]",
|
|
@@ -449,7 +449,7 @@ class TreeItemGroup {
|
|
|
449
449
|
}
|
|
450
450
|
i0.ɵɵngDeclareClassMetadata({
|
|
451
451
|
minVersion: "12.0.0",
|
|
452
|
-
version: "22.0.
|
|
452
|
+
version: "22.0.6",
|
|
453
453
|
ngImport: i0,
|
|
454
454
|
type: TreeItemGroup,
|
|
455
455
|
decorators: [{
|
|
@@ -577,7 +577,7 @@ class TreeItem extends DeferredContentAware {
|
|
|
577
577
|
}
|
|
578
578
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
579
579
|
minVersion: "12.0.0",
|
|
580
|
-
version: "22.0.
|
|
580
|
+
version: "22.0.6",
|
|
581
581
|
ngImport: i0,
|
|
582
582
|
type: TreeItem,
|
|
583
583
|
deps: [],
|
|
@@ -585,7 +585,7 @@ class TreeItem extends DeferredContentAware {
|
|
|
585
585
|
});
|
|
586
586
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
587
587
|
minVersion: "17.1.0",
|
|
588
|
-
version: "22.0.
|
|
588
|
+
version: "22.0.6",
|
|
589
589
|
type: TreeItem,
|
|
590
590
|
isStandalone: true,
|
|
591
591
|
selector: "[ngTreeItem]",
|
|
@@ -667,7 +667,7 @@ class TreeItem extends DeferredContentAware {
|
|
|
667
667
|
}
|
|
668
668
|
i0.ɵɵngDeclareClassMetadata({
|
|
669
669
|
minVersion: "12.0.0",
|
|
670
|
-
version: "22.0.
|
|
670
|
+
version: "22.0.6",
|
|
671
671
|
ngImport: i0,
|
|
672
672
|
type: TreeItem,
|
|
673
673
|
decorators: [{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/aria",
|
|
3
|
-
"version": "22.0.
|
|
3
|
+
"version": "22.0.5",
|
|
4
4
|
"description": "Angular Aria",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
},
|
|
13
13
|
"homepage": "https://github.com/angular/components#readme",
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@angular/cdk": "22.0.
|
|
15
|
+
"@angular/cdk": "22.0.5",
|
|
16
16
|
"@angular/core": "^22.0.0 || ^23.0.0"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
package/types/private.d.ts
CHANGED
|
@@ -85,15 +85,13 @@ declare class ComboboxPattern {
|
|
|
85
85
|
/** Handles focus in events for the combobox. */
|
|
86
86
|
onFocusin(): void;
|
|
87
87
|
/** Handles focus out events for the combobox. */
|
|
88
|
-
onFocusout(
|
|
88
|
+
onFocusout(): void;
|
|
89
89
|
/** Handles input events for the combobox. */
|
|
90
90
|
onInput(event: Event): void;
|
|
91
91
|
/** Highlights the currently selected item in the combobox. */
|
|
92
92
|
highlightEffect(): void;
|
|
93
93
|
/** Relays keyboard events to the popup. */
|
|
94
94
|
keyboardEventRelayEffect(): void;
|
|
95
|
-
/** Closes the popup when focus leaves the combobox and popup. */
|
|
96
|
-
closePopupOnBlurEffect(): void;
|
|
97
95
|
}
|
|
98
96
|
/** Represents the required inputs for a simple combobox popup. */
|
|
99
97
|
interface ComboboxPopupInputs {
|