bt-core-app 1.4.532 → 1.4.533
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.d.ts +8 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ import { ShallowRef } from 'vue';
|
|
|
25
25
|
import { Store } from 'pinia';
|
|
26
26
|
import { StoreDefinition } from 'pinia';
|
|
27
27
|
import { ThemeInstance } from 'vuetify';
|
|
28
|
+
import { UnwrapRef } from 'vue';
|
|
28
29
|
import { UpdateBladeData as UpdateBladeData_2 } from '../composables/blade.ts';
|
|
29
30
|
import { WritableComputedRef } from 'vue';
|
|
30
31
|
|
|
@@ -1327,6 +1328,12 @@ export declare function toCompareString(str?: string): string | null;
|
|
|
1327
1328
|
|
|
1328
1329
|
export declare function toggleCSV(value?: string | string[], tag?: string): string | null;
|
|
1329
1330
|
|
|
1331
|
+
declare interface TrackedItem<T> {
|
|
1332
|
+
asyncItem: Ref<T> | (T extends () => infer R ? Readonly<Ref<R>> : T extends Ref<any> ? T : Ref<UnwrapRef<T>>) | Readonly<Ref<T>>;
|
|
1333
|
+
isChanged: Ref<boolean>;
|
|
1334
|
+
restartTracker: () => void;
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1330
1337
|
export declare function twiddleThumbs(mSec?: number): Promise<void>;
|
|
1331
1338
|
|
|
1332
1339
|
declare interface UpdateBladeData<T extends GetOptions<any, any>> {
|
|
@@ -2068,11 +2075,7 @@ export declare interface UseStoreOptions {
|
|
|
2068
2075
|
storeName?: string;
|
|
2069
2076
|
}
|
|
2070
2077
|
|
|
2071
|
-
export declare function useTracker(data: MaybeRefOrGetter_2<
|
|
2072
|
-
asyncItem: Ref<any>;
|
|
2073
|
-
isChanged: Ref<boolean>;
|
|
2074
|
-
restartTracker: () => void;
|
|
2075
|
-
};
|
|
2078
|
+
export declare function useTracker<T>(data: MaybeRefOrGetter_2<T>, options?: UseTrackerOptions): TrackedItem<T>;
|
|
2076
2079
|
|
|
2077
2080
|
export declare interface UseTrackerOptions {
|
|
2078
2081
|
propsToIgnore?: string[];
|
package/package.json
CHANGED