@acorex/components 22.4.23 → 22.4.25

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.
@@ -1000,9 +1000,8 @@ declare class AXDataTableComponent extends AXBaseDataTable implements OnInit, Af
1000
1000
  */
1001
1001
  protected normalColumnsList: Signal<AXDataTableColumnComponent[]>;
1002
1002
  /**
1003
- * True when a text column owns the tree expander. Leftover table space is added
1004
- * to that column for nested indent. Its content width is a minimum, so the table
1005
- * scrolls horizontally instead of collapsing the column.
1003
+ * True when a column owns the tree expander. Its width stays the widest parent row.
1004
+ * Nested rows do not widen it, and leftover wrapper space stays in the spacer column.
1006
1005
  */
1007
1006
  protected hasTreeFillColumn: Signal<boolean>;
1008
1007
  /**
@@ -1479,19 +1478,21 @@ declare class AXDataTableComponent extends AXBaseDataTable implements OnInit, Af
1479
1478
  * Does not write a pixel `column.width` or emit `onColumnSizeChanged`.
1480
1479
  */
1481
1480
  private refreshTreeFillLayout;
1482
- /** Nested rows paint after `onItemExpanded`; measure indent once they are in the DOM. */
1481
+ /** Nested rows paint after `onItemExpanded`; remeasure parent rows without widening for children. */
1483
1482
  private scheduleTreeFillAfterExpand;
1484
1483
  /**
1485
- * Stores the content width of tree-expander columns, including visible nested indent.
1484
+ * Stores the content width of tree-expander columns from parent rows only.
1485
+ * Child indent must not widen the column.
1486
1486
  */
1487
1487
  private measureTreeFillColumns;
1488
- /** Deepest visible nested-row indent, which content measurement does not include. */
1489
- private readTreeIndentPadding;
1488
+ /** A body row nested under a parent (`data-level` greater than 0). */
1489
+ private isNestedTreeRow;
1490
+ private columnHasVisibleRootRow;
1490
1491
  private readPixelWidth;
1491
1492
  /**
1492
1493
  * Sizes the table to the sum of column widths so columns keep their content width
1493
1494
  * and the wrapper scrolls horizontally when that sum exceeds the container.
1494
- * Tree-expander columns receive any leftover container width.
1495
+ * A tree-expander column stays at the widest parent row. Leftover space stays in the spacer.
1495
1496
  */
1496
1497
  private updateColumnLayoutWidths;
1497
1498
  private observeTableWrapper;
@@ -14,6 +14,8 @@ declare abstract class AXRootMenu {
14
14
  onItemClick: OutputEmitterRef<AXMenuItemClickBaseEvent>;
15
15
  nativeElement: HTMLDivElement;
16
16
  hasArrow: WritableSignal<boolean>;
17
+ /** When implemented (e.g. context menu), reports whether the root panel is open. */
18
+ isOpen?: () => boolean;
17
19
  }
18
20
  declare abstract class AXMenuItemComponentBase {
19
21
  parent?: AXMenuItemComponentBase | null;
@@ -85,6 +87,9 @@ declare class AXContextMenuComponent extends NXComponent {
85
87
  /** Emitted when the menu closes (backdrop, item click, scroll, another menu opening, etc.). */
86
88
  onClose: _angular_core.OutputEmitterRef<void>;
87
89
  hasArrow: _angular_core.WritableSignal<boolean>;
90
+ private readonly isMenuOpen;
91
+ /** @ignore */
92
+ isOpen: () => boolean;
88
93
  private service;
89
94
  private renderer;
90
95
  private document;