@fluid-topics/ftds-tree-list 2.2.18 → 2.2.19
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/build/ftds-tree-list.js
CHANGED
|
@@ -406,7 +406,8 @@ export class FtdsTreeList extends FtLitElement {
|
|
|
406
406
|
return visibleTreeItems;
|
|
407
407
|
}
|
|
408
408
|
isVisible(treeitem) {
|
|
409
|
-
var _a
|
|
409
|
+
var _a;
|
|
410
|
+
var _b;
|
|
410
411
|
const tree = this.data.rootNodes;
|
|
411
412
|
if (treeitem.value.includes("load-more-")) {
|
|
412
413
|
const parentValue = treeitem.value.replace("load-more-", "");
|
|
@@ -473,7 +474,8 @@ export class FtdsTreeList extends FtLitElement {
|
|
|
473
474
|
return childrenCount;
|
|
474
475
|
}
|
|
475
476
|
getEntriesCount() {
|
|
476
|
-
var _a
|
|
477
|
+
var _a;
|
|
478
|
+
var _b;
|
|
477
479
|
return (_b = (_a = this.data) === null || _a === void 0 ? void 0 : _a.rootNodes.reduce((count, node) => count + this.getChildrenCount(node) + 1, 0)) !== null && _b !== void 0 ? _b : 0;
|
|
478
480
|
}
|
|
479
481
|
hasExpandableChildren(node) {
|