bt-core-app 2.0.176 → 2.0.177
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/bt-core-app.js +1 -1
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/bt-core-app.js
CHANGED
|
@@ -38,7 +38,7 @@ function kM(e) {
|
|
|
38
38
|
}
|
|
39
39
|
function s(p, y) {
|
|
40
40
|
let x;
|
|
41
|
-
return y != null && (x = t.value.find((S) => S.id == y)), x == null && (x = { id: RE(), msg: p ?? "Loading" }, t.value.
|
|
41
|
+
return y != null && (x = t.value.find((S) => S.id == y)), x == null && (x = { id: RE(), msg: p ?? "Loading" }, t.value.unshift(x)), p != null && (x.msg = p), a.value = t.value[0].msg, x.id;
|
|
42
42
|
}
|
|
43
43
|
function c(p) {
|
|
44
44
|
return (e == null ? void 0 : e.stringifyError) != null ? e == null ? void 0 : e.stringifyError(p) : p == null ? void 0 : p.toString();
|
package/dist/index.d.ts
CHANGED
|
@@ -210,7 +210,7 @@ export declare interface BTActions {
|
|
|
210
210
|
isLoading: ComputedRef<boolean>;
|
|
211
211
|
iterateThrough: <T>(opt: IterateThroughOptions<T>) => Promise<true | undefined>;
|
|
212
212
|
logError: (err?: string | Error) => void;
|
|
213
|
-
persistLoading: (startingMsg
|
|
213
|
+
persistLoading: (startingMsg: string) => void;
|
|
214
214
|
releaseLoading: () => void;
|
|
215
215
|
restoreItem: <T>(doOptions: RestoreOptions<T>) => Promise<T | undefined>;
|
|
216
216
|
saveItem: <T, TSave, TReturn>(doOptions: SaveOptions<T, TSave, TReturn>) => Promise<TReturn | undefined>;
|
|
@@ -1830,7 +1830,7 @@ export declare function useActionsTracker(useOptions?: DoActionOptions): {
|
|
|
1830
1830
|
isLoading: ComputedRef<boolean>;
|
|
1831
1831
|
iterateThrough: <T>(opt: IterateThroughOptions<T>) => Promise<true | undefined>;
|
|
1832
1832
|
logError: (err?: string | Error) => void;
|
|
1833
|
-
persistLoading: (startingMsg
|
|
1833
|
+
persistLoading: (startingMsg: string) => void;
|
|
1834
1834
|
releaseLoading: () => void;
|
|
1835
1835
|
};
|
|
1836
1836
|
|
package/package.json
CHANGED