@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.
- package/fesm2022/acorex-components-color-box.mjs +2 -2
- package/fesm2022/acorex-components-color-box.mjs.map +1 -1
- package/fesm2022/acorex-components-data-table.mjs +48 -29
- package/fesm2022/acorex-components-data-table.mjs.map +1 -1
- package/fesm2022/acorex-components-lookup.mjs +29 -4
- package/fesm2022/acorex-components-lookup.mjs.map +1 -1
- package/fesm2022/acorex-components-menu.mjs +26 -4
- package/fesm2022/acorex-components-menu.mjs.map +1 -1
- package/package.json +3 -3
- package/types/acorex-components-data-table.d.ts +9 -8
- package/types/acorex-components-menu.d.ts +5 -0
|
@@ -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
|
|
1004
|
-
*
|
|
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`;
|
|
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
|
|
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
|
-
/**
|
|
1489
|
-
private
|
|
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
|
-
*
|
|
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;
|