@ni/nimble-components 21.3.2 → 21.3.3

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.
@@ -16301,7 +16301,7 @@
16301
16301
 
16302
16302
  /**
16303
16303
  * Do not edit directly
16304
- * Generated on Tue, 13 Feb 2024 17:29:05 GMT
16304
+ * Generated on Tue, 13 Feb 2024 21:07:13 GMT
16305
16305
  */
16306
16306
 
16307
16307
  const Information100DarkUi = "#a46eff";
@@ -65693,24 +65693,11 @@ img.ProseMirror-separator {
65693
65693
  : TableRowSelectionState.notSelected;
65694
65694
  }
65695
65695
  getGroupedRowSelectionState(groupedRow) {
65696
- const leafRows = groupedRow.getLeafRows() ?? [];
65696
+ const leafRows = groupedRow.getLeafRows().filter(x => !x.getIsGrouped()) ?? [];
65697
65697
  let foundSelectedRow = false;
65698
65698
  let foundNotSelectedRow = false;
65699
65699
  for (const row of leafRows) {
65700
- if (row.getIsGrouped()) {
65701
- const subGroupRowSelectionState = this.getGroupedRowSelectionState(row);
65702
- switch (subGroupRowSelectionState) {
65703
- case TableRowSelectionState.notSelected:
65704
- foundNotSelectedRow = true;
65705
- break;
65706
- case TableRowSelectionState.selected:
65707
- foundSelectedRow = true;
65708
- break;
65709
- default:
65710
- return TableRowSelectionState.partiallySelected;
65711
- }
65712
- }
65713
- else if (row.getIsSelected()) {
65700
+ if (row.getIsSelected()) {
65714
65701
  foundSelectedRow = true;
65715
65702
  }
65716
65703
  else {