@arsedizioni/ars-utils 21.2.350 → 21.2.352

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arsedizioni/ars-utils",
3
- "version": "21.2.350",
3
+ "version": "21.2.352",
4
4
  "author": {
5
5
  "email": "software@arsedizioni.it",
6
6
  "name": "Fabio Buscaroli, Alberto Doria"
@@ -1370,8 +1370,8 @@ declare class TreePickerComponent {
1370
1370
  /** Maximum number of tree levels to display (default: 3). */
1371
1371
  readonly maxDepth: _angular_core.InputSignal<number>;
1372
1372
  /**
1373
- * List of node IDs at depth >= maxDepth that are allowed to be expanded and selected.
1374
- * Nodes beyond maxDepth not in this list are visible and expandable but have no checkbox.
1373
+ * List of node IDs at depth >= maxDepth that unlock selection for themselves
1374
+ * and all their descendants, regardless of depth.
1375
1375
  */
1376
1376
  readonly maxDepthOverrides: _angular_core.InputSignal<string[]>;
1377
1377
  /**
@@ -1390,8 +1390,11 @@ declare class TreePickerComponent {
1390
1390
  readonly changed: _angular_core.OutputEmitterRef<void>;
1391
1391
  private readonly _treeRef;
1392
1392
  private readonly _elRef;
1393
- /** Set of node IDs that override the maxDepth selection limit. */
1394
- private readonly _overridesSet;
1393
+ /**
1394
+ * Set of all node IDs selectable via overrides: each listed root and all its descendants.
1395
+ * Recomputed whenever the tree data or the override list changes.
1396
+ */
1397
+ private readonly _overrideSubtreeSet;
1395
1398
  /** All three maps rebuilt lazily as a single computed whenever taxonomy changes. */
1396
1399
  private readonly _maps;
1397
1400
  /** O(1) set of selected ids, rebuilt only when selection changes. */