@acorex/components 22.2.12 → 22.2.13

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.2.12",
3
+ "version": "22.2.13",
4
4
  "peerDependencies": {
5
- "@acorex/core": "22.2.12",
6
- "@acorex/cdk": "22.2.12",
5
+ "@acorex/core": "22.2.13",
6
+ "@acorex/cdk": "22.2.13",
7
7
  "@angular/aria": ">=22.1.0",
8
8
  "polytype": ">=0.17.0",
9
9
  "hammerjs": ">=2.0.8",
@@ -212,9 +212,13 @@ declare abstract class AXBaseDataTable extends MXBaseComponent {
212
212
  */
213
213
  getColumnHighlightColor(column: AXDataTableColumnComponent): AXDataTableRowColorType | null;
214
214
  /**
215
- * Returns column CSS classes for header and body cells (`cssClass` + temporary highlight).
215
+ * Returns the CSS class of a highlighted column, applied to its header and body cells.
216
216
  */
217
217
  getColumnCssClass(column: AXDataTableColumnComponent): string;
218
+ /**
219
+ * Header `<th>` classes: column highlight + column `cssClass` (e.g. `ax-select-column`).
220
+ */
221
+ getHeadColumnCssClass(column: AXDataTableColumnComponent): string;
218
222
  /**
219
223
  * Returns the temporary highlight state for a row, if any.
220
224
  */
@@ -729,6 +733,8 @@ declare class AXRowIndexColumnComponent extends AXDataTableColumnComponent imple
729
733
 
730
734
  /**
731
735
  * Column component that provides checkboxes for row selection in a data table.
736
+ * The header shows a split control: the checkbox selects all visible rows; the chevron opens
737
+ * a menu with reverse selection and unselect actions for visible rows.
732
738
  *
733
739
  * @category Components
734
740
  */
@@ -748,6 +754,7 @@ declare class AXRowSelectColumnComponent extends AXDataTableColumnComponent {
748
754
  private _contentHeaderTemplate;
749
755
  /**
750
756
  * Gets the template used to render the column header.
757
+ * Renders a split control: the checkbox selects or clears all visible rows; the chevron opens a menu with Reverse and Unselect actions scoped to visible rows.
751
758
  */
752
759
  get renderHeaderTemplate(): TemplateRef<unknown>;
753
760
  /**
@@ -766,14 +773,37 @@ declare class AXRowSelectColumnComponent extends AXDataTableColumnComponent {
766
773
  * @ignore
767
774
  */
768
775
  private getDataSourceKey;
776
+ /**
777
+ * @ignore
778
+ */
779
+ private resolveSelectableRows;
769
780
  /**
770
781
  * @ignore
771
782
  */
772
783
  protected isSelected(item: unknown): boolean;
784
+ /**
785
+ * Header checkbox model: `true` when every visible row is selected, `false` when none are,
786
+ * and `null` for a partial (indeterminate) selection.
787
+ *
788
+ * @ignore
789
+ */
790
+ headerCheckboxValue(rows: unknown[] | null | undefined, selectedRows?: unknown[]): boolean;
773
791
  /**
774
792
  * @ignore
775
793
  */
776
- protected checkAllSelected(rows: any): boolean;
794
+ onHeaderSelectAll(e: AXValueChangedEvent, rows: unknown[] | null | undefined): void;
795
+ /**
796
+ * @ignore
797
+ */
798
+ onHeaderReverseSelect(rows: unknown[] | null | undefined): void;
799
+ /**
800
+ * @ignore
801
+ */
802
+ onHeaderUnselect(rows: unknown[] | null | undefined): void;
803
+ /**
804
+ * @ignore
805
+ */
806
+ protected checkAllSelected(rows: unknown[] | null | undefined, selectedRows?: unknown[]): boolean | null;
777
807
  /**
778
808
  * @ignore
779
809
  */
@@ -781,7 +811,15 @@ declare class AXRowSelectColumnComponent extends AXDataTableColumnComponent {
781
811
  /**
782
812
  * @ignore
783
813
  */
784
- protected handleSelectAll(e: AXValueChangedEvent, rows: any): void;
814
+ protected handleSelectAll(e: AXValueChangedEvent, rows: unknown[] | null | undefined): void;
815
+ /**
816
+ * @ignore
817
+ */
818
+ protected handleReverseSelect(rows: unknown[] | null | undefined): void;
819
+ /**
820
+ * @ignore
821
+ */
822
+ protected handleUnselect(rows: unknown[] | null | undefined): void;
785
823
  /**
786
824
  * Indicates whether loading is enabled for the column.
787
825
  */
@@ -863,6 +901,10 @@ declare class AXDataTableComponent extends AXBaseDataTable implements OnInit, Af
863
901
  * so leftover table space is used for nested indent instead of the empty spacer.
864
902
  */
865
903
  protected hasTreeFillColumn: Signal<boolean>;
904
+ /**
905
+ * @ignore
906
+ */
907
+ protected isSelectColumn(column: AXDataTableColumnComponent): column is AXRowSelectColumnComponent;
866
908
  /**
867
909
  * @ignore
868
910
  */