@acorex/components 22.4.33 → 22.4.34
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,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acorex/components",
|
|
3
|
-
"version": "22.4.
|
|
3
|
+
"version": "22.4.34",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@acorex/core": "22.4.
|
|
6
|
-
"@acorex/cdk": "22.4.
|
|
5
|
+
"@acorex/core": "22.4.34",
|
|
6
|
+
"@acorex/cdk": "22.4.34",
|
|
7
7
|
"@angular/aria": ">=22.1.0",
|
|
8
8
|
"polytype": ">=0.17.0",
|
|
9
9
|
"hammerjs": ">=2.0.8",
|
|
@@ -1454,7 +1454,7 @@ declare class AXDataTableComponent extends AXBaseDataTable implements OnInit, Af
|
|
|
1454
1454
|
autoFitColumn(columnIndex: number, options?: AXDataTableAutoFitColumnOptions): void;
|
|
1455
1455
|
/**
|
|
1456
1456
|
* Measures a column's content width without writing it back.
|
|
1457
|
-
* Tree-expander columns use
|
|
1457
|
+
* Tree-expander columns use {@link measureTreeColumnContentWidth} so icon, gap, and indent stay in the result.
|
|
1458
1458
|
*/
|
|
1459
1459
|
private measureColumnContentWidth;
|
|
1460
1460
|
private isCommandColumn;
|
|
@@ -1478,21 +1478,28 @@ declare class AXDataTableComponent extends AXBaseDataTable implements OnInit, Af
|
|
|
1478
1478
|
* Does not write a pixel `column.width` or emit `onColumnSizeChanged`.
|
|
1479
1479
|
*/
|
|
1480
1480
|
private refreshTreeFillLayout;
|
|
1481
|
-
/**
|
|
1481
|
+
/** Expanded rows paint after `onItemExpanded`; remeasure once icon, gap, and indent are in the DOM. */
|
|
1482
1482
|
private scheduleTreeFillAfterExpand;
|
|
1483
1483
|
/**
|
|
1484
|
-
* Stores the content width of tree-expander columns from
|
|
1485
|
-
*
|
|
1484
|
+
* Stores the content width of tree-expander columns from the rows currently on screen.
|
|
1485
|
+
* Collapsed trees measure parent rows. After expand, nested indent is included.
|
|
1486
1486
|
*/
|
|
1487
1487
|
private measureTreeFillColumns;
|
|
1488
|
-
/**
|
|
1489
|
-
|
|
1490
|
-
|
|
1488
|
+
/**
|
|
1489
|
+
* Widest visible tree cell. Padding, border, level indent, expand icon, and flex gap
|
|
1490
|
+
* are read from the live cell. Text is measured alone: a cloned cell stays at the
|
|
1491
|
+
* current column width because of `min-w-0`, `w-full`, and `truncate`.
|
|
1492
|
+
*/
|
|
1493
|
+
private measureTreeColumnContentWidth;
|
|
1494
|
+
private readTreeCellContentWidth;
|
|
1495
|
+
/** Text width outside the table, so truncation and flex shrinking do not cap it. */
|
|
1496
|
+
private readIntrinsicTextWidth;
|
|
1491
1497
|
private readPixelWidth;
|
|
1492
1498
|
/**
|
|
1493
1499
|
* Sizes the table to the sum of column widths so columns keep their content width
|
|
1494
1500
|
* and the wrapper scrolls horizontally when that sum exceeds the container.
|
|
1495
|
-
* A tree-expander column stays at the widest
|
|
1501
|
+
* A tree-expander column stays at the widest visible row, including icon, gap, padding, and indent.
|
|
1502
|
+
* Leftover space stays in the spacer.
|
|
1496
1503
|
*/
|
|
1497
1504
|
private updateColumnLayoutWidths;
|
|
1498
1505
|
private observeTableWrapper;
|