@katlux/providers 0.1.1-alpha.97 → 0.1.1-alpha.99

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/dist/index.cjs CHANGED
@@ -1998,6 +1998,9 @@ class CTreeClientDataProvider extends CFlatClientDataProvider {
1998
1998
  ...node.data,
1999
1999
  __treeNode: node
2000
2000
  }));
2001
+ if (this.allData.value.length > 0) {
2002
+ this.initialLoad.value = false;
2003
+ }
2001
2004
  }
2002
2005
  isNodeVisible(node, nodeMap) {
2003
2006
  if (node.parentId === null || !nodeMap.has(node.parentId)) return true;
@@ -2063,6 +2066,8 @@ class CTreeClientDataProvider extends CFlatClientDataProvider {
2063
2066
  console.warn("[Katlux Providers] CTreeClientDataProvider loadPageData error", err);
2064
2067
  } finally {
2065
2068
  this.loading.value = false;
2069
+ this.initialLoad.value = false;
2070
+ this.notify();
2066
2071
  }
2067
2072
  }
2068
2073
  // Public API
package/dist/index.mjs CHANGED
@@ -1997,6 +1997,9 @@ class CTreeClientDataProvider extends CFlatClientDataProvider {
1997
1997
  ...node.data,
1998
1998
  __treeNode: node
1999
1999
  }));
2000
+ if (this.allData.value.length > 0) {
2001
+ this.initialLoad.value = false;
2002
+ }
2000
2003
  }
2001
2004
  isNodeVisible(node, nodeMap) {
2002
2005
  if (node.parentId === null || !nodeMap.has(node.parentId)) return true;
@@ -2062,6 +2065,8 @@ class CTreeClientDataProvider extends CFlatClientDataProvider {
2062
2065
  console.warn("[Katlux Providers] CTreeClientDataProvider loadPageData error", err);
2063
2066
  } finally {
2064
2067
  this.loading.value = false;
2068
+ this.initialLoad.value = false;
2069
+ this.notify();
2065
2070
  }
2066
2071
  }
2067
2072
  // Public API
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@katlux/providers",
3
- "version": "0.1.1-alpha.97",
3
+ "version": "0.1.1-alpha.99",
4
4
  "description": "Core data calculation and caching providers for the Katlux ecosystem",
5
5
  "author": "Katlux",
6
6
  "license": "Apache-2.0",