@smartbit4all/ng-client 3.1.64 → 3.1.66
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/esm2020/lib/smart-grid/smart-grid.component.mjs +7 -6
- package/fesm2015/smartbit4all-ng-client.mjs +6 -5
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +6 -5
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/package.json +1 -1
- package/smartbit4all-ng-client-3.1.66.tgz +0 -0
- package/smartbit4all-ng-client-3.1.64.tgz +0 -0
|
@@ -11345,8 +11345,11 @@ class SmartGridComponent {
|
|
|
11345
11345
|
return false;
|
|
11346
11346
|
}
|
|
11347
11347
|
const descendants = this.treeControl.getDescendants(node);
|
|
11348
|
-
|
|
11349
|
-
|
|
11348
|
+
let result = descendants.some((child) => this.treeChecklistSelection.isSelected(child));
|
|
11349
|
+
if (this.isMultipleSelection()) {
|
|
11350
|
+
result = result && !this.descendantsAllSelected(node);
|
|
11351
|
+
}
|
|
11352
|
+
return result;
|
|
11350
11353
|
}
|
|
11351
11354
|
async constructHeader() {
|
|
11352
11355
|
let header = [];
|
|
@@ -11522,9 +11525,7 @@ class SmartGridComponent {
|
|
|
11522
11525
|
}
|
|
11523
11526
|
}
|
|
11524
11527
|
async onSelect(rowId) {
|
|
11525
|
-
this.
|
|
11526
|
-
this.selectRowInternal(rowId);
|
|
11527
|
-
this.refresh();
|
|
11528
|
+
this.onSelectList([rowId]);
|
|
11528
11529
|
}
|
|
11529
11530
|
async selectRowInternal(rowId) {
|
|
11530
11531
|
const row = this.service.gridModel.page.rows?.find((gridRow) => gridRow.id === rowId);
|