@angular/aria 21.0.0-rc.2 → 21.0.0-rc.3

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/tree.mjs CHANGED
@@ -86,7 +86,7 @@ class Tree {
86
86
  };
87
87
  this._pattern = this._popup?.combobox ? new ComboboxTreePattern(inputs) : new TreePattern(inputs);
88
88
  if (this._popup?.combobox) {
89
- this._popup?.controls?.set(this._pattern);
89
+ this._popup?._controls?.set(this._pattern);
90
90
  }
91
91
  afterRenderEffect(() => {
92
92
  if (!this._hasFocused()) {
@@ -109,14 +109,14 @@ class Tree {
109
109
  }
110
110
  });
111
111
  }
112
- onFocus() {
112
+ _onFocus() {
113
113
  this._hasFocused.set(true);
114
114
  }
115
- register(child) {
115
+ _register(child) {
116
116
  this._unorderedItems().add(child);
117
117
  this._unorderedItems.set(new Set(this._unorderedItems()));
118
118
  }
119
- unregister(child) {
119
+ _unregister(child) {
120
120
  this._unorderedItems().delete(child);
121
121
  this._unorderedItems.set(new Set(this._unorderedItems()));
122
122
  }
@@ -235,7 +235,7 @@ class Tree {
235
235
  listeners: {
236
236
  "keydown": "_pattern.onKeydown($event)",
237
237
  "pointerdown": "_pattern.onPointerdown($event)",
238
- "focusin": "onFocus()"
238
+ "focusin": "_onFocus()"
239
239
  },
240
240
  properties: {
241
241
  "attr.id": "id()",
@@ -273,7 +273,7 @@ i0.ɵɵngDeclareClassMetadata({
273
273
  '[tabindex]': '_pattern.tabIndex()',
274
274
  '(keydown)': '_pattern.onKeydown($event)',
275
275
  '(pointerdown)': '_pattern.onPointerdown($event)',
276
- '(focusin)': 'onFocus()'
276
+ '(focusin)': '_onFocus()'
277
277
  },
278
278
  hostDirectives: [ComboboxPopup]
279
279
  }]
@@ -349,8 +349,8 @@ class TreeItem extends DeferredContentAware {
349
349
  });
350
350
  }
351
351
  ngOnInit() {
352
- this.parent().register(this);
353
- this.tree().register(this);
352
+ this.parent()._register(this);
353
+ this.tree()._register(this);
354
354
  const treePattern = computed(() => this.tree()._pattern, ...(ngDevMode ? [{
355
355
  debugName: "treePattern"
356
356
  }] : []));
@@ -366,19 +366,20 @@ class TreeItem extends DeferredContentAware {
366
366
  ...this,
367
367
  tree: treePattern,
368
368
  parent: parentPattern,
369
- children: computed(() => this._group()?.children() ?? []),
369
+ children: computed(() => this._group()?._childPatterns() ?? []),
370
370
  hasChildren: computed(() => !!this._group()),
371
- element: () => this.element
371
+ element: () => this.element,
372
+ searchTerm: () => this.searchTerm() ?? ''
372
373
  });
373
374
  }
374
375
  ngOnDestroy() {
375
- this.parent().unregister(this);
376
- this.tree().unregister(this);
376
+ this.parent()._unregister(this);
377
+ this.tree()._unregister(this);
377
378
  }
378
- register(group) {
379
+ _register(group) {
379
380
  this._group.set(group);
380
381
  }
381
- unregister() {
382
+ _unregister() {
382
383
  this._group.set(undefined);
383
384
  }
384
385
  static ɵfac = i0.ɵɵngDeclareFactory({
@@ -505,24 +506,24 @@ class TreeItemGroup {
505
506
  _unorderedItems = signal(new Set(), ...(ngDevMode ? [{
506
507
  debugName: "_unorderedItems"
507
508
  }] : []));
508
- children = computed(() => [...this._unorderedItems()].sort(sortDirectives).map(c => c._pattern), ...(ngDevMode ? [{
509
- debugName: "children"
509
+ _childPatterns = computed(() => [...this._unorderedItems()].sort(sortDirectives).map(c => c._pattern), ...(ngDevMode ? [{
510
+ debugName: "_childPatterns"
510
511
  }] : []));
511
512
  ownedBy = input.required(...(ngDevMode ? [{
512
513
  debugName: "ownedBy"
513
514
  }] : []));
514
515
  ngOnInit() {
515
516
  this._deferredContent.deferredContentAware.set(this.ownedBy());
516
- this.ownedBy().register(this);
517
+ this.ownedBy()._register(this);
517
518
  }
518
519
  ngOnDestroy() {
519
- this.ownedBy().unregister();
520
+ this.ownedBy()._unregister();
520
521
  }
521
- register(child) {
522
+ _register(child) {
522
523
  this._unorderedItems().add(child);
523
524
  this._unorderedItems.set(new Set(this._unorderedItems()));
524
525
  }
525
- unregister(child) {
526
+ _unregister(child) {
526
527
  this._unorderedItems().delete(child);
527
528
  this._unorderedItems.set(new Set(this._unorderedItems()));
528
529
  }
@@ -1 +1 @@
1
- {"version":3,"file":"tree.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-199a4f3c4e20/bin/src/aria/tree/tree.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 Directive,\n ElementRef,\n afterRenderEffect,\n booleanAttribute,\n computed,\n inject,\n input,\n model,\n signal,\n Signal,\n OnInit,\n OnDestroy,\n untracked,\n afterNextRender,\n} from '@angular/core';\nimport {_IdGenerator} from '@angular/cdk/a11y';\nimport {Directionality} from '@angular/cdk/bidi';\nimport {\n ComboboxTreePattern,\n TreeItemPattern,\n TreePattern,\n DeferredContent,\n DeferredContentAware,\n} from '@angular/aria/private';\nimport {ComboboxPopup} from '../combobox';\n\ninterface HasElement {\n element: HTMLElement;\n}\n\n/**\n * Sort directives by their document order.\n */\nfunction sortDirectives(a: HasElement, b: HasElement) {\n return (a.element.compareDocumentPosition(b.element) & Node.DOCUMENT_POSITION_PRECEDING) > 0\n ? 1\n : -1;\n}\n\n/**\n * A container that transforms nested lists into an accessible, ARIA-compliant tree structure.\n * It manages the overall state of the tree, including selection, expansion, and keyboard\n * navigation.\n *\n * ```html\n * <ul ngTree [(value)]=\"selectedItems\" [multi]=\"true\">\n * <ng-template\n * [ngTemplateOutlet]=\"treeNodes\"\n * [ngTemplateOutletContext]=\"{nodes: treeData, parent: tree}\"\n * />\n * </ul>\n *\n * <ng-template #treeNodes let-nodes=\"nodes\" let-parent=\"parent\">\n * @for (node of nodes; track node.name) {\n * <li ngTreeItem [parent]=\"parent\" [value]=\"node.name\" [label]=\"node.name\">\n * {{ node.name }}\n * @if (node.children) {\n * <ul role=\"group\">\n * <ng-template ngTreeItemGroup [ownedBy]=\"treeItem\" #group=\"ngTreeItemGroup\">\n * <ng-template\n * [ngTemplateOutlet]=\"treeNodes\"\n * [ngTemplateOutletContext]=\"{nodes: node.children, parent: group}\"\n * />\n * </ng-template>\n * </ul>\n * }\n * </li>\n * }\n * </ng-template>\n * ```\n *\n * @developerPreview 21.0\n */\n@Directive({\n selector: '[ngTree]',\n exportAs: 'ngTree',\n host: {\n 'role': 'tree',\n '[attr.id]': 'id()',\n '[attr.aria-orientation]': '_pattern.orientation()',\n '[attr.aria-multiselectable]': '_pattern.multi()',\n '[attr.aria-disabled]': '_pattern.disabled()',\n '[attr.aria-activedescendant]': '_pattern.activeDescendant()',\n '[tabindex]': '_pattern.tabIndex()',\n '(keydown)': '_pattern.onKeydown($event)',\n '(pointerdown)': '_pattern.onPointerdown($event)',\n '(focusin)': 'onFocus()',\n },\n hostDirectives: [ComboboxPopup],\n})\nexport class Tree<V> {\n /** A reference to the host element. */\n private readonly _elementRef = inject(ElementRef);\n\n /** A reference to the host element. */\n readonly element = this._elementRef.nativeElement as HTMLElement;\n\n /** A reference to the parent combobox popup, if one exists. */\n private readonly _popup = inject<ComboboxPopup<V>>(ComboboxPopup, {\n optional: true,\n });\n\n /** All TreeItem instances within this tree. */\n private readonly _unorderedItems = signal(new Set<TreeItem<V>>());\n\n /** A unique identifier for the tree. */\n readonly id = input(inject(_IdGenerator).getId('ng-tree-', true));\n\n /** Orientation of the tree. */\n readonly orientation = input<'vertical' | 'horizontal'>('vertical');\n\n /** Whether multi-selection is allowed. */\n readonly multi = input(false, {transform: booleanAttribute});\n\n /** Whether the tree is disabled. */\n readonly disabled = input(false, {transform: booleanAttribute});\n\n /**\n * The selection strategy used by the tree.\n * - `explicit`: Items are selected explicitly by the user (e.g., via click or spacebar).\n * - `follow`: The focused item is automatically selected.\n */\n readonly selectionMode = input<'explicit' | 'follow'>('explicit');\n\n /**\n * The focus strategy used by the tree.\n * - `roving`: Focus is moved to the active item using `tabindex`.\n * - `activedescendant`: Focus remains on the tree container, and `aria-activedescendant` is used to indicate the active item.\n */\n readonly focusMode = input<'roving' | 'activedescendant'>('roving');\n\n /** Whether navigation wraps. */\n readonly wrap = input(true, {transform: booleanAttribute});\n\n /**\n * Whether to allow disabled items to receive focus. When `true`, disabled items are\n * focusable but not interactive. When `false`, disabled items are skipped during navigation.\n */\n readonly softDisabled = input(true, {transform: booleanAttribute});\n\n /** The delay in seconds before the typeahead search is reset. */\n readonly typeaheadDelay = input(500);\n\n /** The values of the currently selected items. */\n readonly values = model<V[]>([]);\n\n /** Text direction. */\n readonly textDirection = inject(Directionality).valueSignal;\n\n /** Whether the tree is in navigation mode. */\n readonly nav = input(false, {transform: booleanAttribute});\n\n /**\n * The `aria-current` type. It can be used in navigation trees to indicate the currently active item.\n * See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-current for more details.\n */\n readonly currentType = input<'page' | 'step' | 'location' | 'date' | 'time' | 'true' | 'false'>(\n 'page',\n );\n\n /** The UI pattern for the tree. */\n readonly _pattern: TreePattern<V>;\n\n /** Whether the tree has received focus since it was rendered. */\n private _hasFocused = signal(false);\n\n constructor() {\n const inputs = {\n ...this,\n id: this.id,\n allItems: computed(() =>\n [...this._unorderedItems()].sort(sortDirectives).map(item => item._pattern),\n ),\n activeItem: signal<TreeItemPattern<V> | undefined>(undefined),\n combobox: () => this._popup?.combobox?._pattern,\n element: () => this.element,\n };\n\n this._pattern = this._popup?.combobox\n ? new ComboboxTreePattern<V>(inputs)\n : new TreePattern<V>(inputs);\n\n if (this._popup?.combobox) {\n this._popup?.controls?.set(this._pattern as ComboboxTreePattern<V>);\n }\n\n afterRenderEffect(() => {\n if (!this._hasFocused()) {\n this._pattern.setDefaultState();\n }\n });\n\n afterRenderEffect(() => {\n const items = inputs.allItems();\n const activeItem = untracked(() => inputs.activeItem());\n\n if (!items.some(i => i === activeItem) && activeItem) {\n this._pattern.listBehavior.unfocus();\n }\n });\n\n afterRenderEffect(() => {\n if (!(this._pattern instanceof ComboboxTreePattern)) return;\n\n const items = inputs.allItems();\n const values = untracked(() => this.values());\n\n if (items && values.some(v => !items.some(i => i.value() === v))) {\n this.values.set(values.filter(v => items.some(i => i.value() === v)));\n }\n });\n }\n\n onFocus() {\n this._hasFocused.set(true);\n }\n\n register(child: TreeItem<V>) {\n this._unorderedItems().add(child);\n this._unorderedItems.set(new Set(this._unorderedItems()));\n }\n\n unregister(child: TreeItem<V>) {\n this._unorderedItems().delete(child);\n this._unorderedItems.set(new Set(this._unorderedItems()));\n }\n\n scrollActiveItemIntoView(options: ScrollIntoViewOptions = {block: 'nearest'}) {\n this._pattern.inputs.activeItem()?.element()?.scrollIntoView(options);\n }\n}\n\n/**\n * A selectable and expandable item in an `ngTree`.\n *\n * The `ngTreeItem` directive represents an individual node within an `ngTree`. It can be\n * selected, expanded (if it has children), and disabled. The `parent` input establishes\n * the hierarchical relationship within the tree.\n *\n * ```html\n * <li ngTreeItem [parent]=\"parentTreeOrGroup\" value=\"item-id\" label=\"Item Label\">\n * Item Label\n * </li>\n * ```\n *\n * @developerPreview 21.0\n */\n@Directive({\n selector: '[ngTreeItem]',\n exportAs: 'ngTreeItem',\n host: {\n '[attr.data-active]': 'active()',\n 'role': 'treeitem',\n '[id]': '_pattern.id()',\n '[attr.aria-expanded]': '_expanded()',\n '[attr.aria-selected]': 'selected()',\n '[attr.aria-current]': '_pattern.current()',\n '[attr.aria-disabled]': '_pattern.disabled()',\n '[attr.aria-level]': 'level()',\n '[attr.aria-setsize]': '_pattern.setsize()',\n '[attr.aria-posinset]': '_pattern.posinset()',\n '[attr.tabindex]': '_pattern.tabIndex()',\n },\n})\nexport class TreeItem<V> extends DeferredContentAware implements OnInit, OnDestroy, HasElement {\n /** A reference to the host element. */\n private readonly _elementRef = inject(ElementRef);\n\n /** A reference to the host element. */\n readonly element = this._elementRef.nativeElement as HTMLElement;\n\n /** The owned tree item group. */\n private readonly _group = signal<TreeItemGroup<V> | undefined>(undefined);\n\n /** A unique identifier for the tree item. */\n readonly id = input(inject(_IdGenerator).getId('ng-tree-item-', true));\n\n /** The value of the tree item. */\n readonly value = input.required<V>();\n\n /** The parent tree root or tree item group. */\n readonly parent = input.required<Tree<V> | TreeItemGroup<V>>();\n\n /** Whether the tree item is disabled. */\n readonly disabled = input(false, {transform: booleanAttribute});\n\n /** Whether the tree item is selectable. */\n readonly selectable = input<boolean>(true);\n\n /** Whether the tree item is expanded. */\n readonly expanded = model<boolean>(false);\n\n /** Optional label for typeahead. Defaults to the element's textContent. */\n readonly label = input<string>();\n\n /** Search term for typeahead. */\n readonly searchTerm = computed(() => this.label() ?? this.element.textContent);\n\n /** The tree root. */\n readonly tree: Signal<Tree<V>> = computed(() => {\n if (this.parent() instanceof Tree) {\n return this.parent() as Tree<V>;\n }\n return (this.parent() as TreeItemGroup<V>).ownedBy().tree();\n });\n\n /** Whether the item is active. */\n readonly active = computed(() => this._pattern.active());\n\n /** The level of the current item in a tree. */\n readonly level = computed(() => this._pattern.level());\n\n /** Whether the item is selected. */\n readonly selected = computed(() => this._pattern.selected());\n\n /** Whether this item is visible due to all of its parents being expanded. */\n readonly visible = computed(() => this._pattern.visible());\n\n /** Whether the tree is expanded. Use this value for aria-expanded. */\n protected readonly _expanded: Signal<boolean | undefined> = computed(() =>\n this._pattern.expandable() ? this._pattern.expanded() : undefined,\n );\n\n /** The UI pattern for this item. */\n _pattern: TreeItemPattern<V>;\n\n constructor() {\n super();\n afterNextRender(() => {\n if (this.tree()._pattern instanceof ComboboxTreePattern) {\n this.preserveContent.set(true);\n }\n });\n // Connect the group's hidden state to the DeferredContentAware's visibility.\n afterRenderEffect(() => {\n this.tree()._pattern instanceof ComboboxTreePattern\n ? this.contentVisible.set(true)\n : this.contentVisible.set(this._pattern.expanded());\n });\n }\n\n ngOnInit() {\n this.parent().register(this);\n this.tree().register(this);\n\n const treePattern = computed(() => this.tree()._pattern);\n const parentPattern = computed(() => {\n if (this.parent() instanceof Tree) {\n return treePattern();\n }\n return (this.parent() as TreeItemGroup<V>).ownedBy()._pattern;\n });\n this._pattern = new TreeItemPattern<V>({\n ...this,\n tree: treePattern,\n parent: parentPattern,\n children: computed(() => this._group()?.children() ?? []),\n hasChildren: computed(() => !!this._group()),\n element: () => this.element,\n });\n }\n\n ngOnDestroy() {\n this.parent().unregister(this);\n this.tree().unregister(this);\n }\n\n register(group: TreeItemGroup<V>) {\n this._group.set(group);\n }\n\n unregister() {\n this._group.set(undefined);\n }\n}\n\n/**\n * Group that contains children tree items.\n *\n * The `ngTreeItemGroup` structural directive should be applied to an `ng-template` that\n * wraps the child `ngTreeItem` elements. It is used to define a group of children for an\n * expandable `ngTreeItem`. The `ownedBy` input links the group to its parent `ngTreeItem`.\n *\n * ```html\n * <li ngTreeItem [value]=\"'parent-id'\">\n * Parent Item\n * <ul role=\"group\">\n * <ng-template ngTreeItemGroup [ownedBy]=\"parentTreeItemRef\">\n * <li ngTreeItem [value]=\"'child-id'\">Child Item</li>\n * </ng-template>\n * </ul>\n * </li>\n * ```\n *\n * @developerPreview 21.0\n */\n@Directive({\n selector: 'ng-template[ngTreeItemGroup]',\n exportAs: 'ngTreeItemGroup',\n hostDirectives: [DeferredContent],\n})\nexport class TreeItemGroup<V> implements OnInit, OnDestroy {\n /** A reference to the host element. */\n private readonly _elementRef = inject(ElementRef);\n\n /** A reference to the host element. */\n readonly element = this._elementRef.nativeElement as HTMLElement;\n\n /** The DeferredContent host directive. */\n private readonly _deferredContent = inject(DeferredContent);\n\n /** All groupable items that are descendants of the group. */\n private readonly _unorderedItems = signal(new Set<TreeItem<V>>());\n\n /** Child items within this group. */\n readonly children = computed<TreeItemPattern<V>[]>(() =>\n [...this._unorderedItems()].sort(sortDirectives).map(c => c._pattern),\n );\n\n /** Tree item that owns the group. */\n readonly ownedBy = input.required<TreeItem<V>>();\n\n ngOnInit() {\n this._deferredContent.deferredContentAware.set(this.ownedBy());\n this.ownedBy().register(this);\n }\n\n ngOnDestroy() {\n this.ownedBy().unregister();\n }\n\n register(child: TreeItem<V>) {\n this._unorderedItems().add(child);\n this._unorderedItems.set(new Set(this._unorderedItems()));\n }\n\n unregister(child: TreeItem<V>) {\n this._unorderedItems().delete(child);\n this._unorderedItems.set(new Set(this._unorderedItems()));\n }\n}\n"],"names":["sortDirectives","a","b","element","compareDocumentPosition","Node","DOCUMENT_POSITION_PRECEDING","Tree","_elementRef","inject","ElementRef","nativeElement","_popup","ComboboxPopup","optional","_unorderedItems","signal","Set","id","input","_IdGenerator","getId","orientation","multi","transform","booleanAttribute","disabled","selectionMode","focusMode","wrap","softDisabled","typeaheadDelay","values","model","textDirection","Directionality","valueSignal","nav","currentType","_pattern","_hasFocused","constructor","inputs","allItems","computed","sort","map","item","activeItem","undefined","combobox","ComboboxTreePattern","TreePattern","controls","set","afterRenderEffect","setDefaultState","items","untracked","some","i","listBehavior","unfocus","v","value","filter","onFocus","register","child","add","unregister","delete","scrollActiveItemIntoView","options","block","scrollIntoView","deps","target","i0","ɵɵFactoryTarget","Directive","isStandalone","selector","classPropertyName","publicName","isSignal","isRequired","transformFunction","outputs","host","attributes","listeners","properties","exportAs","hostDirectives","directive","i1","ngImport","decorators","args","TreeItem","DeferredContentAware","_group","required","parent","selectable","expanded","label","ngDevMode","debugName","searchTerm","textContent","tree","ownedBy","active","level","selected","visible","_expanded","expandable","afterNextRender","preserveContent","contentVisible","ngOnInit","treePattern","parentPattern","TreeItemPattern","children","hasChildren","ngOnDestroy","group","usesInheritance","TreeItemGroup","_deferredContent","DeferredContent","c","deferredContentAware","i2"],"mappings":";;;;;;;;;AA0CA,SAASA,cAAcA,CAACC,CAAa,EAAEC,CAAa,EAAA;EAClD,OAAO,CAACD,CAAC,CAACE,OAAO,CAACC,uBAAuB,CAACF,CAAC,CAACC,OAAO,CAAC,GAAGE,IAAI,CAACC,2BAA2B,IAAI,CAAA,GACvF,CAAA,GACA,CAAC,CAAC;AACR;MAqDaC,IAAI,CAAA;AAEEC,EAAAA,WAAW,GAAGC,MAAM,CAACC,UAAU,CAAC;AAGxCP,EAAAA,OAAO,GAAG,IAAI,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MAAAC,SAAA,EAAA0C,EAAA,CAAAH;AAAA,KAAA,CAAA;AAAArC,IAAAA,QAAA,EAAAnB;AAAA,GAAA,CAAA;;;;;;QAAbsD,aAAa;AAAAlC,EAAAA,UAAA,EAAA,CAAA;UALzBlB,SAAS;AAACmB,IAAAA,IAAA,EAAA,CAAA;AACTjB,MAAAA,QAAQ,EAAE,8BAA8B;AACxCW,MAAAA,QAAQ,EAAE,iBAAiB;MAC3BC,cAAc,EAAE,CAACwC,eAAe;KACjC;;;;;;"}
1
+ {"version":3,"file":"tree.mjs","sources":["../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/src/aria/tree/tree.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 Directive,\n ElementRef,\n afterRenderEffect,\n booleanAttribute,\n computed,\n inject,\n input,\n model,\n signal,\n Signal,\n OnInit,\n OnDestroy,\n untracked,\n afterNextRender,\n} from '@angular/core';\nimport {_IdGenerator} from '@angular/cdk/a11y';\nimport {Directionality} from '@angular/cdk/bidi';\nimport {\n ComboboxTreePattern,\n TreeItemPattern,\n TreePattern,\n DeferredContent,\n DeferredContentAware,\n} from '@angular/aria/private';\nimport {ComboboxPopup} from '../combobox';\n\ninterface HasElement {\n element: HTMLElement;\n}\n\n/**\n * Sort directives by their document order.\n */\nfunction sortDirectives(a: HasElement, b: HasElement) {\n return (a.element.compareDocumentPosition(b.element) & Node.DOCUMENT_POSITION_PRECEDING) > 0\n ? 1\n : -1;\n}\n\n/**\n * A container that transforms nested lists into an accessible, ARIA-compliant tree structure.\n * It manages the overall state of the tree, including selection, expansion, and keyboard\n * navigation.\n *\n * ```html\n * <ul ngTree [(value)]=\"selectedItems\" [multi]=\"true\">\n * <ng-template\n * [ngTemplateOutlet]=\"treeNodes\"\n * [ngTemplateOutletContext]=\"{nodes: treeData, parent: tree}\"\n * />\n * </ul>\n *\n * <ng-template #treeNodes let-nodes=\"nodes\" let-parent=\"parent\">\n * @for (node of nodes; track node.name) {\n * <li ngTreeItem [parent]=\"parent\" [value]=\"node.name\" [label]=\"node.name\">\n * {{ node.name }}\n * @if (node.children) {\n * <ul role=\"group\">\n * <ng-template ngTreeItemGroup [ownedBy]=\"treeItem\" #group=\"ngTreeItemGroup\">\n * <ng-template\n * [ngTemplateOutlet]=\"treeNodes\"\n * [ngTemplateOutletContext]=\"{nodes: node.children, parent: group}\"\n * />\n * </ng-template>\n * </ul>\n * }\n * </li>\n * }\n * </ng-template>\n * ```\n *\n * @developerPreview 21.0\n */\n@Directive({\n selector: '[ngTree]',\n exportAs: 'ngTree',\n host: {\n 'role': 'tree',\n '[attr.id]': 'id()',\n '[attr.aria-orientation]': '_pattern.orientation()',\n '[attr.aria-multiselectable]': '_pattern.multi()',\n '[attr.aria-disabled]': '_pattern.disabled()',\n '[attr.aria-activedescendant]': '_pattern.activeDescendant()',\n '[tabindex]': '_pattern.tabIndex()',\n '(keydown)': '_pattern.onKeydown($event)',\n '(pointerdown)': '_pattern.onPointerdown($event)',\n '(focusin)': '_onFocus()',\n },\n hostDirectives: [ComboboxPopup],\n})\nexport class Tree<V> {\n /** A reference to the host element. */\n private readonly _elementRef = inject(ElementRef);\n\n /** A reference to the host element. */\n readonly element = this._elementRef.nativeElement as HTMLElement;\n\n /** A reference to the parent combobox popup, if one exists. */\n private readonly _popup = inject<ComboboxPopup<V>>(ComboboxPopup, {\n optional: true,\n });\n\n /** All TreeItem instances within this tree. */\n private readonly _unorderedItems = signal(new Set<TreeItem<V>>());\n\n /** A unique identifier for the tree. */\n readonly id = input(inject(_IdGenerator).getId('ng-tree-', true));\n\n /** Orientation of the tree. */\n readonly orientation = input<'vertical' | 'horizontal'>('vertical');\n\n /** Whether multi-selection is allowed. */\n readonly multi = input(false, {transform: booleanAttribute});\n\n /** Whether the tree is disabled. */\n readonly disabled = input(false, {transform: booleanAttribute});\n\n /**\n * The selection strategy used by the tree.\n * - `explicit`: Items are selected explicitly by the user (e.g., via click or spacebar).\n * - `follow`: The focused item is automatically selected.\n */\n readonly selectionMode = input<'explicit' | 'follow'>('explicit');\n\n /**\n * The focus strategy used by the tree.\n * - `roving`: Focus is moved to the active item using `tabindex`.\n * - `activedescendant`: Focus remains on the tree container, and `aria-activedescendant` is used to indicate the active item.\n */\n readonly focusMode = input<'roving' | 'activedescendant'>('roving');\n\n /** Whether navigation wraps. */\n readonly wrap = input(true, {transform: booleanAttribute});\n\n /**\n * Whether to allow disabled items to receive focus. When `true`, disabled items are\n * focusable but not interactive. When `false`, disabled items are skipped during navigation.\n */\n readonly softDisabled = input(true, {transform: booleanAttribute});\n\n /** The delay in seconds before the typeahead search is reset. */\n readonly typeaheadDelay = input(500);\n\n /** The values of the currently selected items. */\n readonly values = model<V[]>([]);\n\n /** Text direction. */\n readonly textDirection = inject(Directionality).valueSignal;\n\n /** Whether the tree is in navigation mode. */\n readonly nav = input(false, {transform: booleanAttribute});\n\n /**\n * The `aria-current` type. It can be used in navigation trees to indicate the currently active item.\n * See https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-current for more details.\n */\n readonly currentType = input<'page' | 'step' | 'location' | 'date' | 'time' | 'true' | 'false'>(\n 'page',\n );\n\n /** The UI pattern for the tree. */\n readonly _pattern: TreePattern<V>;\n\n /** Whether the tree has received focus since it was rendered. */\n private _hasFocused = signal(false);\n\n constructor() {\n const inputs = {\n ...this,\n id: this.id,\n allItems: computed(() =>\n [...this._unorderedItems()].sort(sortDirectives).map(item => item._pattern),\n ),\n activeItem: signal<TreeItemPattern<V> | undefined>(undefined),\n combobox: () => this._popup?.combobox?._pattern,\n element: () => this.element,\n };\n\n this._pattern = this._popup?.combobox\n ? new ComboboxTreePattern<V>(inputs)\n : new TreePattern<V>(inputs);\n\n if (this._popup?.combobox) {\n this._popup?._controls?.set(this._pattern as ComboboxTreePattern<V>);\n }\n\n afterRenderEffect(() => {\n if (!this._hasFocused()) {\n this._pattern.setDefaultState();\n }\n });\n\n afterRenderEffect(() => {\n const items = inputs.allItems();\n const activeItem = untracked(() => inputs.activeItem());\n\n if (!items.some(i => i === activeItem) && activeItem) {\n this._pattern.listBehavior.unfocus();\n }\n });\n\n afterRenderEffect(() => {\n if (!(this._pattern instanceof ComboboxTreePattern)) return;\n\n const items = inputs.allItems();\n const values = untracked(() => this.values());\n\n if (items && values.some(v => !items.some(i => i.value() === v))) {\n this.values.set(values.filter(v => items.some(i => i.value() === v)));\n }\n });\n }\n\n _onFocus() {\n this._hasFocused.set(true);\n }\n\n _register(child: TreeItem<V>) {\n this._unorderedItems().add(child);\n this._unorderedItems.set(new Set(this._unorderedItems()));\n }\n\n _unregister(child: TreeItem<V>) {\n this._unorderedItems().delete(child);\n this._unorderedItems.set(new Set(this._unorderedItems()));\n }\n\n scrollActiveItemIntoView(options: ScrollIntoViewOptions = {block: 'nearest'}) {\n this._pattern.inputs.activeItem()?.element()?.scrollIntoView(options);\n }\n}\n\n/**\n * A selectable and expandable item in an `ngTree`.\n *\n * The `ngTreeItem` directive represents an individual node within an `ngTree`. It can be\n * selected, expanded (if it has children), and disabled. The `parent` input establishes\n * the hierarchical relationship within the tree.\n *\n * ```html\n * <li ngTreeItem [parent]=\"parentTreeOrGroup\" value=\"item-id\" label=\"Item Label\">\n * Item Label\n * </li>\n * ```\n *\n * @developerPreview 21.0\n */\n@Directive({\n selector: '[ngTreeItem]',\n exportAs: 'ngTreeItem',\n host: {\n '[attr.data-active]': 'active()',\n 'role': 'treeitem',\n '[id]': '_pattern.id()',\n '[attr.aria-expanded]': '_expanded()',\n '[attr.aria-selected]': 'selected()',\n '[attr.aria-current]': '_pattern.current()',\n '[attr.aria-disabled]': '_pattern.disabled()',\n '[attr.aria-level]': 'level()',\n '[attr.aria-setsize]': '_pattern.setsize()',\n '[attr.aria-posinset]': '_pattern.posinset()',\n '[attr.tabindex]': '_pattern.tabIndex()',\n },\n})\nexport class TreeItem<V> extends DeferredContentAware implements OnInit, OnDestroy, HasElement {\n /** A reference to the host element. */\n private readonly _elementRef = inject(ElementRef);\n\n /** A reference to the host element. */\n readonly element = this._elementRef.nativeElement as HTMLElement;\n\n /** The owned tree item group. */\n private readonly _group = signal<TreeItemGroup<V> | undefined>(undefined);\n\n /** A unique identifier for the tree item. */\n readonly id = input(inject(_IdGenerator).getId('ng-tree-item-', true));\n\n /** The value of the tree item. */\n readonly value = input.required<V>();\n\n /** The parent tree root or tree item group. */\n readonly parent = input.required<Tree<V> | TreeItemGroup<V>>();\n\n /** Whether the tree item is disabled. */\n readonly disabled = input(false, {transform: booleanAttribute});\n\n /** Whether the tree item is selectable. */\n readonly selectable = input<boolean>(true);\n\n /** Whether the tree item is expanded. */\n readonly expanded = model<boolean>(false);\n\n /** Optional label for typeahead. Defaults to the element's textContent. */\n readonly label = input<string>();\n\n /** Search term for typeahead. */\n readonly searchTerm = computed(() => this.label() ?? this.element.textContent);\n\n /** The tree root. */\n readonly tree: Signal<Tree<V>> = computed(() => {\n if (this.parent() instanceof Tree) {\n return this.parent() as Tree<V>;\n }\n return (this.parent() as TreeItemGroup<V>).ownedBy().tree();\n });\n\n /** Whether the item is active. */\n readonly active = computed(() => this._pattern.active());\n\n /** The level of the current item in a tree. */\n readonly level = computed(() => this._pattern.level());\n\n /** Whether the item is selected. */\n readonly selected = computed(() => this._pattern.selected());\n\n /** Whether this item is visible due to all of its parents being expanded. */\n readonly visible = computed(() => this._pattern.visible());\n\n /** Whether the tree is expanded. Use this value for aria-expanded. */\n protected readonly _expanded: Signal<boolean | undefined> = computed(() =>\n this._pattern.expandable() ? this._pattern.expanded() : undefined,\n );\n\n /** The UI pattern for this item. */\n _pattern: TreeItemPattern<V>;\n\n constructor() {\n super();\n afterNextRender(() => {\n if (this.tree()._pattern instanceof ComboboxTreePattern) {\n this.preserveContent.set(true);\n }\n });\n // Connect the group's hidden state to the DeferredContentAware's visibility.\n afterRenderEffect(() => {\n this.tree()._pattern instanceof ComboboxTreePattern\n ? this.contentVisible.set(true)\n : this.contentVisible.set(this._pattern.expanded());\n });\n }\n\n ngOnInit() {\n this.parent()._register(this);\n this.tree()._register(this);\n\n const treePattern = computed(() => this.tree()._pattern);\n const parentPattern = computed(() => {\n if (this.parent() instanceof Tree) {\n return treePattern();\n }\n return (this.parent() as TreeItemGroup<V>).ownedBy()._pattern;\n });\n this._pattern = new TreeItemPattern<V>({\n ...this,\n tree: treePattern,\n parent: parentPattern,\n children: computed(() => this._group()?._childPatterns() ?? []),\n hasChildren: computed(() => !!this._group()),\n element: () => this.element,\n searchTerm: () => this.searchTerm() ?? '',\n });\n }\n\n ngOnDestroy() {\n this.parent()._unregister(this);\n this.tree()._unregister(this);\n }\n\n _register(group: TreeItemGroup<V>) {\n this._group.set(group);\n }\n\n _unregister() {\n this._group.set(undefined);\n }\n}\n\n/**\n * Group that contains children tree items.\n *\n * The `ngTreeItemGroup` structural directive should be applied to an `ng-template` that\n * wraps the child `ngTreeItem` elements. It is used to define a group of children for an\n * expandable `ngTreeItem`. The `ownedBy` input links the group to its parent `ngTreeItem`.\n *\n * ```html\n * <li ngTreeItem [value]=\"'parent-id'\">\n * Parent Item\n * <ul role=\"group\">\n * <ng-template ngTreeItemGroup [ownedBy]=\"parentTreeItemRef\">\n * <li ngTreeItem [value]=\"'child-id'\">Child Item</li>\n * </ng-template>\n * </ul>\n * </li>\n * ```\n *\n * @developerPreview 21.0\n */\n@Directive({\n selector: 'ng-template[ngTreeItemGroup]',\n exportAs: 'ngTreeItemGroup',\n hostDirectives: [DeferredContent],\n})\nexport class TreeItemGroup<V> implements OnInit, OnDestroy {\n /** A reference to the host element. */\n private readonly _elementRef = inject(ElementRef);\n\n /** A reference to the host element. */\n readonly element = this._elementRef.nativeElement as HTMLElement;\n\n /** The DeferredContent host directive. */\n private readonly _deferredContent = inject(DeferredContent);\n\n /** All groupable items that are descendants of the group. */\n private readonly _unorderedItems = signal(new Set<TreeItem<V>>());\n\n /** Child items within this group. */\n readonly _childPatterns = computed<TreeItemPattern<V>[]>(() =>\n [...this._unorderedItems()].sort(sortDirectives).map(c => c._pattern),\n );\n\n /** Tree item that owns the group. */\n readonly ownedBy = input.required<TreeItem<V>>();\n\n ngOnInit() {\n this._deferredContent.deferredContentAware.set(this.ownedBy());\n this.ownedBy()._register(this);\n }\n\n ngOnDestroy() {\n this.ownedBy()._unregister();\n }\n\n _register(child: TreeItem<V>) {\n this._unorderedItems().add(child);\n this._unorderedItems.set(new Set(this._unorderedItems()));\n }\n\n _unregister(child: TreeItem<V>) {\n this._unorderedItems().delete(child);\n this._unorderedItems.set(new Set(this._unorderedItems()));\n }\n}\n"],"names":["sortDirectives","a","b","element","compareDocumentPosition","Node","DOCUMENT_POSITION_PRECEDING","Tree","_elementRef","inject","ElementRef","nativeElement","_popup","ComboboxPopup","optional","_unorderedItems","signal","Set","id","input","_IdGenerator","getId","orientation","multi","transform","booleanAttribute","disabled","selectionMode","focusMode","wrap","softDisabled","typeaheadDelay","values","model","textDirection","Directionality","valueSignal","nav","currentType","_pattern","_hasFocused","constructor","inputs","allItems","computed","sort","map","item","activeItem","undefined","combobox","ComboboxTreePattern","TreePattern","_controls","set","afterRenderEffect","setDefaultState","items","untracked","some","i","listBehavior","unfocus","v","value","filter","_onFocus","_register","child","add","_unregister","delete","scrollActiveItemIntoView","options","block","scrollIntoView","deps","target","i0","ɵɵFactoryTarget","Directive","isStandalone","selector","classPropertyName","publicName","isSignal","isRequired","transformFunction","outputs","host","attributes","listeners","properties","exportAs","hostDirectives","directive","i1","ngImport","decorators","args","TreeItem","DeferredContentAware","_group","required","parent","selectable","expanded","label","ngDevMode","debugName","searchTerm","textContent","tree","ownedBy","active","level","selected","visible","_expanded","expandable","afterNextRender","preserveContent","contentVisible","ngOnInit","treePattern","parentPattern","TreeItemPattern","children","_childPatterns","hasChildren","ngOnDestroy","group","usesInheritance","TreeItemGroup","_deferredContent","DeferredContent","c","deferredContentAware","i2"],"mappings":";;;;;;;;;AA0CA,SAASA,cAAcA,CAACC,C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A,IAAA;AAAAC,IAAAA,QAAA,EAAA,8BAAA;AAAAxC,IAAAA,MAAA,EAAA;AAAAuE,MAAAA,OAAA,EAAA;AAAA9B,QAAAA,iBAAA,EAAA,SAAA;AAAAC,QAAAA,UAAA,EAAA,SAAA;AAAAC,QAAAA,QAAA,EAAA,IAAA;AAAAC,QAAAA,UAAA,EAAA,IAAA;AAAAC,QAAAA,iBAAA,EAAA;AAAA;KAAA;IAAAM,QAAA,EAAA,CAAA,iBAAA,CAAA;AAAAC,IAAAA,cAAA,EAAA,CAAA;MAAAC,SAAA,EAAA2C,EAAA,CAAAH;AAAA,KAAA,CAAA;AAAAtC,IAAAA,QAAA,EAAAnB;AAAA,GAAA,CAAA;;;;;;QAAbuD,aAAa;AAAAnC,EAAAA,UAAA,EAAA,CAAA;UALzBlB,SAAS;AAACmB,IAAAA,IAAA,EAAA,CAAA;AACTjB,MAAAA,QAAQ,EAAE,8BAA8B;AACxCW,MAAAA,QAAQ,EAAE,iBAAiB;MAC3BC,cAAc,EAAE,CAACyC,eAAe;KACjC;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/aria",
3
- "version": "21.0.0-rc.2",
3
+ "version": "21.0.0-rc.3",
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": "21.0.0-rc.2",
15
+ "@angular/cdk": "21.0.0-rc.3",
16
16
  "@angular/core": "^21.0.0-0 || ^21.1.0-0 || ^21.2.0-0 || ^21.3.0-0 || ^22.0.0-0"
17
17
  },
18
18
  "devDependencies": {
@@ -34,7 +34,7 @@ declare class AccordionPanel {
34
34
  /** Whether the accordion panel is visible. True if the associated trigger is expanded. */
35
35
  readonly visible: _angular_core.Signal<boolean>;
36
36
  /** The parent accordion trigger pattern that controls this panel. This is set by AccordionGroup. */
37
- readonly accordionTrigger: WritableSignal<AccordionTriggerPattern | undefined>;
37
+ readonly _accordionTriggerPattern: WritableSignal<AccordionTriggerPattern | undefined>;
38
38
  /** The UI pattern instance for this panel. */
39
39
  readonly _pattern: AccordionPanelPattern;
40
40
  constructor();
@@ -82,7 +82,7 @@ declare class AccordionTrigger {
82
82
  /** Whether the trigger is active. */
83
83
  readonly active: _angular_core.Signal<boolean>;
84
84
  /** The accordion panel pattern controlled by this trigger. This is set by AccordionGroup. */
85
- readonly _accordionPanel: WritableSignal<AccordionPanelPattern | undefined>;
85
+ readonly _accordionPanelPattern: WritableSignal<AccordionPanelPattern | undefined>;
86
86
  /** The UI pattern instance for this trigger. */
87
87
  readonly _pattern: AccordionTriggerPattern;
88
88
  /** Expands this item. */
@@ -73,10 +73,6 @@ declare class Combobox<V> {
73
73
  open(): void;
74
74
  /** Closes the combobox. */
75
75
  close(): void;
76
- /** Expands the combobox popup. */
77
- expand(): void;
78
- /** Collapses the combobox popup. */
79
- collapse(): void;
80
76
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<Combobox<any>, never>;
81
77
  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 i1.DeferredContentAware; inputs: { "preserveContent": "preserveContent"; }; outputs: {}; }]>;
82
78
  }
@@ -159,7 +155,7 @@ declare class ComboboxPopup<V> {
159
155
  /** The combobox that the popup belongs to. */
160
156
  readonly combobox: Combobox<V> | null;
161
157
  /** The popup controls exposed to the combobox. */
162
- readonly controls: WritableSignal<ComboboxDialogPattern | ComboboxListboxControls<any, V> | ComboboxTreeControls<any, V> | undefined>;
158
+ readonly _controls: WritableSignal<ComboboxDialogPattern | ComboboxListboxControls<any, V> | ComboboxTreeControls<any, V> | undefined>;
163
159
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ComboboxPopup<any>, never>;
164
160
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ComboboxPopup<any>, "[ngComboboxPopup]", ["ngComboboxPopup"], {}, {}, never, never, true, never>;
165
161
  }
package/types/grid.d.ts CHANGED
@@ -105,7 +105,7 @@ declare class GridRow {
105
105
  /** The parent grid. */
106
106
  private readonly _grid;
107
107
  /** The parent grid UI pattern. */
108
- readonly grid: Signal<GridPattern>;
108
+ readonly _gridPattern: Signal<GridPattern>;
109
109
  /** The index of this row within the grid. */
110
110
  readonly rowIndex: _angular_core.InputSignal<number | undefined>;
111
111
  /** The UI pattern for the grid row. */
@@ -75,7 +75,7 @@ declare class Listbox<V> {
75
75
  /** Whether the listbox has received focus yet. */
76
76
  private _hasFocused;
77
77
  constructor();
78
- onFocus(): void;
78
+ _onFocus(): void;
79
79
  scrollActiveItemIntoView(options?: ScrollIntoViewOptions): void;
80
80
  /** Navigates to the first item in the listbox. */
81
81
  gotoFirst(): void;
@@ -111,7 +111,7 @@ declare class Option<V> {
111
111
  /** The text used by the typeahead search. */
112
112
  protected searchTerm: _angular_core.Signal<string>;
113
113
  /** The parent Listbox UIPattern. */
114
- protected listbox: _angular_core.Signal<ListboxPattern<any>>;
114
+ private readonly _listboxPattern;
115
115
  /** The value of the option. */
116
116
  value: _angular_core.InputSignal<V>;
117
117
  /** Whether an item is disabled. */
package/types/menu.d.ts CHANGED
@@ -2,7 +2,7 @@ import * as _angular_core from '@angular/core';
2
2
  import { Signal } from '@angular/core';
3
3
  import * as _angular_cdk_bidi from '@angular/cdk/bidi';
4
4
  import * as i1 from '@angular/aria/private';
5
- import { MenuTriggerPattern, MenuPattern, MenuItemPattern, SignalLike, MenuBarPattern } from '@angular/aria/private';
5
+ import { MenuTriggerPattern, MenuPattern, SignalLike, MenuBarPattern, MenuItemPattern } from '@angular/aria/private';
6
6
 
7
7
  /**
8
8
  * A trigger for a menu.
@@ -105,7 +105,7 @@ declare class Menu<V> {
105
105
  * sometimes the items array is empty. The bug can be reproduced by switching this to use a
106
106
  * computed and then quickly opening and closing menus in the dev app.
107
107
  */
108
- readonly items: () => MenuItemPattern<V>[];
108
+ private readonly _itemPatterns;
109
109
  /** Whether the menu is visible. */
110
110
  readonly visible: Signal<boolean>;
111
111
  /** The tab index of the menu. */
@@ -169,7 +169,7 @@ declare class MenuBar<V> {
169
169
  /** The menu ui pattern instance. */
170
170
  readonly _pattern: MenuBarPattern<V>;
171
171
  /** The menu items as a writable signal. */
172
- readonly items: _angular_core.WritableSignal<MenuItemPattern<V>[]>;
172
+ private readonly _itemPatterns;
173
173
  /** A callback function triggered when a menu item is selected. */
174
174
  onSelect: _angular_core.OutputEmitterRef<V>;
175
175
  constructor();
@@ -1057,7 +1057,7 @@ declare class ToolbarWidgetPattern<V> implements ListItem<V> {
1057
1057
  }
1058
1058
 
1059
1059
  /** Represents the required inputs for a toolbar. */
1060
- type ToolbarInputs<V> = Omit<ListInputs<ToolbarWidgetPattern<V>, V>, 'multi' | 'typeaheadDelay' | 'values' | 'selectionMode' | 'focusMode'> & {
1060
+ type ToolbarInputs<V> = Omit<ListInputs<ToolbarWidgetPattern<V>, V>, 'multi' | 'typeaheadDelay' | 'selectionMode' | 'focusMode'> & {
1061
1061
  /** A function that returns the toolbar item associated with a given element. */
1062
1062
  getItem: (e: Element) => ToolbarWidgetPattern<V> | undefined;
1063
1063
  };
package/types/tabs.d.ts CHANGED
@@ -49,8 +49,8 @@ declare class Tabs {
49
49
  readonly _tabPatterns: _angular_core.Signal<TabPattern[] | undefined>;
50
50
  /** The TabPanel UIPattern of the child TabPanels. */
51
51
  readonly _unorderedTabpanelPatterns: _angular_core.Signal<TabPanelPattern[]>;
52
- register(child: TabList | TabPanel): void;
53
- deregister(child: TabList | TabPanel): void;
52
+ _register(child: TabList | TabPanel): void;
53
+ _unregister(child: TabList | TabPanel): void;
54
54
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<Tabs, never>;
55
55
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<Tabs, "[ngTabs]", ["ngTabs"], {}, {}, never, never, true, never>;
56
56
  }
@@ -113,11 +113,11 @@ declare class TabList implements OnInit, OnDestroy {
113
113
  /** Whether the tree has received focus yet. */
114
114
  private _hasFocused;
115
115
  constructor();
116
- onFocus(): void;
116
+ _onFocus(): void;
117
117
  ngOnInit(): void;
118
118
  ngOnDestroy(): void;
119
- register(child: Tab): void;
120
- deregister(child: Tab): void;
119
+ _register(child: Tab): void;
120
+ _unregister(child: Tab): void;
121
121
  /** Opens the tab panel with the specified value. */
122
122
  open(value: string): boolean;
123
123
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<TabList, never>;
@@ -149,9 +149,9 @@ declare class Tab implements HasElement, OnInit, OnDestroy {
149
149
  /** A unique identifier for the widget. */
150
150
  readonly id: _angular_core.InputSignal<string>;
151
151
  /** The parent TabList UIPattern. */
152
- readonly tablist: _angular_core.Signal<TabListPattern>;
152
+ private readonly _tablistPattern;
153
153
  /** The TabPanel UIPattern associated with the tab */
154
- readonly tabpanel: _angular_core.Signal<TabPanelPattern | undefined>;
154
+ private readonly _tabpanelPattern;
155
155
  /** Whether a tab is disabled. */
156
156
  readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
157
157
  /** The remote tabpanel unique identifier. */
@@ -198,7 +198,7 @@ declare class TabPanel implements OnInit, OnDestroy {
198
198
  /** A global unique identifier for the tab. */
199
199
  readonly id: _angular_core.InputSignal<string>;
200
200
  /** The Tab UIPattern associated with the tabpanel */
201
- readonly tab: _angular_core.Signal<TabPattern | undefined>;
201
+ private readonly _tabPattern;
202
202
  /** A local unique identifier for the tabpanel. */
203
203
  readonly value: _angular_core.InputSignal<string>;
204
204
  /** Whether the tab panel is visible. */
@@ -1,7 +1,7 @@
1
1
  import * as _angular_core from '@angular/core';
2
2
  import { OnInit, OnDestroy } from '@angular/core';
3
3
  import * as _angular_cdk_bidi from '@angular/cdk/bidi';
4
- import { ToolbarWidgetPattern, ToolbarPattern, SignalLike, ToolbarWidgetGroupPattern } from '@angular/aria/private';
4
+ import { ToolbarWidgetPattern, ToolbarPattern, ToolbarWidgetGroupPattern } from '@angular/aria/private';
5
5
 
6
6
  /**
7
7
  * A toolbar widget container for a group of interactive widgets, such as
@@ -33,7 +33,7 @@ declare class Toolbar<V> {
33
33
  /** Text direction. */
34
34
  readonly textDirection: _angular_core.WritableSignal<_angular_cdk_bidi.Direction>;
35
35
  /** Sorted UIPatterns of the child widgets */
36
- readonly items: _angular_core.Signal<ToolbarWidgetPattern<V>[]>;
36
+ readonly _itemPatterns: _angular_core.Signal<ToolbarWidgetPattern<V>[]>;
37
37
  /** Whether the toolbar is vertically or horizontally oriented. */
38
38
  readonly orientation: _angular_core.InputSignal<"vertical" | "horizontal">;
39
39
  /**
@@ -45,18 +45,20 @@ declare class Toolbar<V> {
45
45
  readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
46
46
  /** Whether focus should wrap when navigating. */
47
47
  readonly wrap: _angular_core.InputSignalWithTransform<boolean, unknown>;
48
+ /** The values of the selected widgets within the toolbar. */
49
+ readonly values: _angular_core.ModelSignal<V[]>;
48
50
  /** The toolbar UIPattern. */
49
51
  readonly _pattern: ToolbarPattern<V>;
50
52
  /** Whether the toolbar has received focus yet. */
51
53
  private _hasBeenFocused;
52
54
  constructor();
53
- onFocus(): void;
54
- register(widget: ToolbarWidget<V>): void;
55
- unregister(widget: ToolbarWidget<V>): void;
55
+ _onFocus(): void;
56
+ _register(widget: ToolbarWidget<V>): void;
57
+ _unregister(widget: ToolbarWidget<V>): void;
56
58
  /** Finds the toolbar item associated with a given element. */
57
59
  private _getItem;
58
60
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<Toolbar<any>, never>;
59
- static ɵdir: _angular_core.ɵɵDirectiveDeclaration<Toolbar<any>, "[ngToolbar]", ["ngToolbar"], { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "softDisabled": { "alias": "softDisabled"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "wrap": { "alias": "wrap"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
61
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<Toolbar<any>, "[ngToolbar]", ["ngToolbar"], { "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "softDisabled": { "alias": "softDisabled"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "wrap": { "alias": "wrap"; "required": false; "isSignal": true; }; "values": { "alias": "values"; "required": false; "isSignal": true; }; }, { "values": "valuesChange"; }, never, never, true, never>;
60
62
  }
61
63
  /**
62
64
  * A widget within a toolbar.
@@ -83,7 +85,7 @@ declare class ToolbarWidget<V> implements OnInit, OnDestroy {
83
85
  /** A unique identifier for the widget. */
84
86
  readonly id: _angular_core.InputSignal<string>;
85
87
  /** The parent Toolbar UIPattern. */
86
- readonly toolbar: _angular_core.Signal<ToolbarPattern<any>>;
88
+ readonly _toolbarPattern: _angular_core.Signal<ToolbarPattern<any>>;
87
89
  /** Whether the widget is disabled. */
88
90
  readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
89
91
  /** Whether the widget is 'hard' disabled, which is different from `aria-disabled`. A hard disabled widget cannot receive focus. */
@@ -96,7 +98,7 @@ declare class ToolbarWidget<V> implements OnInit, OnDestroy {
96
98
  readonly active: _angular_core.Signal<boolean>;
97
99
  /** Whether the widget is selected (only relevant in a selection group). */
98
100
  readonly selected: () => boolean;
99
- readonly group: SignalLike<ToolbarWidgetGroupPattern<ToolbarWidgetPattern<V>, V> | undefined>;
101
+ private readonly _groupPattern;
100
102
  /** The ToolbarWidget UIPattern. */
101
103
  readonly _pattern: ToolbarWidgetPattern<V>;
102
104
  ngOnInit(): void;
@@ -120,11 +122,11 @@ declare class ToolbarWidgetGroup<V> {
120
122
  /** The list of child widgets within the group. */
121
123
  private readonly _widgets;
122
124
  /** The parent Toolbar UIPattern. */
123
- readonly toolbar: _angular_core.Signal<ToolbarPattern<any> | undefined>;
125
+ private readonly _toolbarPattern;
124
126
  /** Whether the widget group is disabled. */
125
127
  readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
126
128
  /** The list of toolbar items within the group. */
127
- readonly items: () => ToolbarWidgetPattern<any>[];
129
+ private readonly _itemPatterns;
128
130
  /** Whether the group allows multiple widgets to be selected. */
129
131
  readonly multi: _angular_core.InputSignalWithTransform<boolean, unknown>;
130
132
  /** The ToolbarWidgetGroup UIPattern. */
package/types/tree.d.ts CHANGED
@@ -96,9 +96,9 @@ declare class Tree<V> {
96
96
  /** Whether the tree has received focus since it was rendered. */
97
97
  private _hasFocused;
98
98
  constructor();
99
- onFocus(): void;
100
- register(child: TreeItem<V>): void;
101
- unregister(child: TreeItem<V>): void;
99
+ _onFocus(): void;
100
+ _register(child: TreeItem<V>): void;
101
+ _unregister(child: TreeItem<V>): void;
102
102
  scrollActiveItemIntoView(options?: ScrollIntoViewOptions): void;
103
103
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<Tree<any>, never>;
104
104
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<Tree<any>, "[ngTree]", ["ngTree"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "multi": { "alias": "multi"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "selectionMode": { "alias": "selectionMode"; "required": false; "isSignal": true; }; "focusMode": { "alias": "focusMode"; "required": false; "isSignal": true; }; "wrap": { "alias": "wrap"; "required": false; "isSignal": true; }; "softDisabled": { "alias": "softDisabled"; "required": false; "isSignal": true; }; "typeaheadDelay": { "alias": "typeaheadDelay"; "required": false; "isSignal": true; }; "values": { "alias": "values"; "required": false; "isSignal": true; }; "nav": { "alias": "nav"; "required": false; "isSignal": true; }; "currentType": { "alias": "currentType"; "required": false; "isSignal": true; }; }, { "values": "valuesChange"; }, never, never, true, [{ directive: typeof ComboboxPopup; inputs: {}; outputs: {}; }]>;
@@ -158,8 +158,8 @@ declare class TreeItem<V> extends DeferredContentAware implements OnInit, OnDest
158
158
  constructor();
159
159
  ngOnInit(): void;
160
160
  ngOnDestroy(): void;
161
- register(group: TreeItemGroup<V>): void;
162
- unregister(): void;
161
+ _register(group: TreeItemGroup<V>): void;
162
+ _unregister(): void;
163
163
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<TreeItem<any>, never>;
164
164
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TreeItem<any>, "[ngTreeItem]", ["ngTreeItem"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; "parent": { "alias": "parent"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "selectable": { "alias": "selectable"; "required": false; "isSignal": true; }; "expanded": { "alias": "expanded"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, { "expanded": "expandedChange"; }, never, never, true, never>;
165
165
  }
@@ -193,13 +193,13 @@ declare class TreeItemGroup<V> implements OnInit, OnDestroy {
193
193
  /** All groupable items that are descendants of the group. */
194
194
  private readonly _unorderedItems;
195
195
  /** Child items within this group. */
196
- readonly children: Signal<TreeItemPattern<V>[]>;
196
+ readonly _childPatterns: Signal<TreeItemPattern<V>[]>;
197
197
  /** Tree item that owns the group. */
198
198
  readonly ownedBy: _angular_core.InputSignal<TreeItem<V>>;
199
199
  ngOnInit(): void;
200
200
  ngOnDestroy(): void;
201
- register(child: TreeItem<V>): void;
202
- unregister(child: TreeItem<V>): void;
201
+ _register(child: TreeItem<V>): void;
202
+ _unregister(child: TreeItem<V>): void;
203
203
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<TreeItemGroup<any>, never>;
204
204
  static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TreeItemGroup<any>, "ng-template[ngTreeItemGroup]", ["ngTreeItemGroup"], { "ownedBy": { "alias": "ownedBy"; "required": true; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.DeferredContent; inputs: {}; outputs: {}; }]>;
205
205
  }