bt-core-app 1.4.202 → 1.4.203

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.
@@ -29924,30 +29924,30 @@ function gy(e, t) {
29924
29924
  };
29925
29925
  }
29926
29926
  function yD(e) {
29927
- const t = Y([]);
29928
- function n() {
29929
- t.value.every((r) => r.loaded) && e.onAllLoaded();
29927
+ const t = Y([]), n = Y(!1);
29928
+ function a() {
29929
+ t.value.every((l) => l.loaded) && e.onAllLoaded();
29930
29930
  }
29931
- function a(r) {
29932
- const l = {
29933
- nav: r.nav ?? r.bladeName ?? "",
29931
+ function r(l) {
29932
+ const i = {
29933
+ nav: l.nav ?? l.bladeName ?? "",
29934
29934
  loaded: !1
29935
29935
  };
29936
- if (t.value.push(l), r.onFinished == null)
29937
- r.onFinished = () => {
29938
- l.loaded = !0, n();
29936
+ if (t.value.push(i), n.value = !0, l.onFinished == null)
29937
+ l.onFinished = () => {
29938
+ i.loaded = !0, a();
29939
29939
  };
29940
29940
  else {
29941
- const i = r.onFinished;
29942
- r.onFinished = () => {
29943
- l.loaded = !0, n(), i();
29941
+ const s = l.onFinished;
29942
+ l.onFinished = () => {
29943
+ i.loaded = !0, a(), s();
29944
29944
  };
29945
29945
  }
29946
- return r;
29946
+ return l;
29947
29947
  }
29948
29948
  return {
29949
- loading: C(() => t.value.every((r) => r.loaded)),
29950
- registerList: a
29949
+ loading: n,
29950
+ registerList: r
29951
29951
  };
29952
29952
  }
29953
29953
  let Yr;
package/dist/index.d.ts CHANGED
@@ -1429,7 +1429,7 @@ declare interface UseListOptions {
1429
1429
  }
1430
1430
 
1431
1431
  export declare function useLists(options: UseListsOptions): {
1432
- loading: ComputedRef<boolean>;
1432
+ loading: Ref<boolean>;
1433
1433
  registerList: (listOptions: ListProps) => ListProps;
1434
1434
  };
1435
1435
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-core-app",
3
- "version": "1.4.202",
3
+ "version": "1.4.203",
4
4
  "description": "Core app tools for some basic features like navigation, authentication, server apis, and cosmetics",
5
5
  "homepage": "https://github.com/BlitzItTech/bt-core",
6
6
  "bugs": {