@acorex/components 22.4.0 → 22.4.1

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.0",
3
+ "version": "22.4.1",
4
4
  "peerDependencies": {
5
- "@acorex/core": "22.4.0",
6
- "@acorex/cdk": "22.4.0",
5
+ "@acorex/core": "22.4.1",
6
+ "@acorex/cdk": "22.4.1",
7
7
  "@angular/aria": ">=22.1.0",
8
8
  "polytype": ">=0.17.0",
9
9
  "hammerjs": ">=2.0.8",
@@ -44,6 +44,10 @@ declare abstract class AXDataTableColumnComponent {
44
44
  effectiveFixed: 'start' | 'end' | undefined;
45
45
  get isBand(): boolean;
46
46
  getLeafColumns(): AXDataTableColumnComponent[];
47
+ /**
48
+ * Column used for multi-level header layout. Single-child bands are skipped so the child is promoted.
49
+ */
50
+ getHeaderColumn(): AXDataTableColumnComponent;
47
51
  getHeaderDepth(): number;
48
52
  abstract get renderCellTemplate(): TemplateRef<unknown>;
49
53
  abstract get renderHeaderTemplate(): TemplateRef<unknown>;
@@ -860,8 +864,10 @@ interface DataTableBandHeaderCell {
860
864
  colspan: number;
861
865
  /** Index of the last leaf column covered by this band within the current header section. */
862
866
  endLeafIndex: number;
863
- /** Top-level column used for drag-reorder on the first header row. */
867
+ /** Band column rendered in this header cell. */
864
868
  column: AXDataTableColumnComponent;
869
+ /** Top-level column for drag-reorder on the first header row; otherwise the rendered column. */
870
+ ownerColumn: AXDataTableColumnComponent;
865
871
  }
866
872
  interface DataTableLeafHeaderCell {
867
873
  type: 'leaf';
@@ -869,6 +875,8 @@ interface DataTableLeafHeaderCell {
869
875
  rowspan: number;
870
876
  /** Leaf column index within the current header section. */
871
877
  endLeafIndex: number;
878
+ /** Top-level column for drag-reorder on the first header row; otherwise the rendered column. */
879
+ ownerColumn: AXDataTableColumnComponent;
872
880
  }
873
881
  interface DataTableGapHeaderCell {
874
882
  type: 'gap';