@libs-ui/components-list 0.2.253 → 0.2.255

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.
@@ -1176,7 +1176,7 @@ class LibsUiComponentsListGroupComponent extends LibsUiComponentsListTemplatesCo
1176
1176
  });
1177
1177
  this.recursivelyCheckedParentByTree(item().parentItem);
1178
1178
  if (!configTemplateGroup.ignoreChooseParentThenAutoChooseChildren && !isCheckedByDefaultKey) {
1179
- this.setCheckCheckedItemsChild(itemsOfGroup());
1179
+ this.setCheckCheckedItemsChild(itemsOfGroup?.() || []);
1180
1180
  }
1181
1181
  this.setKeysCheckedByMappingChecked(isClickManual, item);
1182
1182
  return;
@@ -1437,8 +1437,8 @@ class LibsUiComponentsListGroupComponent extends LibsUiComponentsListTemplatesCo
1437
1437
  const itemGroup = item()[configTemplateGroup.fieldGetItems];
1438
1438
  itemMap.update(current => {
1439
1439
  const children = current[configTemplateGroup.fieldGetItems];
1440
- const data = this.filterItemsDisplay(this.convertDataByGroupInItem(itemGroup(), itemMap));
1441
- children.set(data);
1440
+ const data = this.filterItemsDisplay(this.convertDataByGroupInItem(itemGroup?.() || [], itemMap));
1441
+ children?.set(data);
1442
1442
  if (current[configTemplateGroup.fieldGetItems]?.()) {
1443
1443
  current[configTemplateGroup.fieldGetItems].update((itemFields) => {
1444
1444
  if (!itemFields.length) {
@@ -1616,7 +1616,7 @@ class LibsUiComponentsListGroupComponent extends LibsUiComponentsListTemplatesCo
1616
1616
  const itemsDisplay = items.filter(item => item().hasDisplay);
1617
1617
  itemsDisplay.forEach(item => {
1618
1618
  const itemGroup = item()[configTemplateGroup.fieldGetItems];
1619
- item()[configTemplateGroup.fieldGetItems]?.set(this.filterItemsDisplay(itemGroup()));
1619
+ item()[configTemplateGroup.fieldGetItems]?.set(this.filterItemsDisplay(itemGroup?.() || []));
1620
1620
  });
1621
1621
  return itemsDisplay;
1622
1622
  }