bt-core-app 1.4.21 → 1.4.23
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 +1124 -1121
- package/dist/index.d.ts +13 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -125,7 +125,6 @@ export declare interface BTCosmetics {
|
|
|
125
125
|
state: Ref<CosmeticData>;
|
|
126
126
|
resetCosmetics: (toDefault: boolean) => void;
|
|
127
127
|
setTemporaryColor: (color: string) => void;
|
|
128
|
-
setVuetifyInstance: (theme: ThemeInstance) => void;
|
|
129
128
|
toggleDrawer: () => void;
|
|
130
129
|
toggleDrawerStick: () => void;
|
|
131
130
|
toggleLightDark: () => void;
|
|
@@ -223,7 +222,7 @@ export declare function copyDeep(aObject: any): any;
|
|
|
223
222
|
export declare function copyItemByAlphabet(aObject: any): any;
|
|
224
223
|
|
|
225
224
|
export declare interface CoreApp {
|
|
226
|
-
install(app: App): void;
|
|
225
|
+
install(app: App, options: any): void;
|
|
227
226
|
}
|
|
228
227
|
|
|
229
228
|
declare interface CosmeticData {
|
|
@@ -449,6 +448,10 @@ export declare interface GroupedHeaderOption {
|
|
|
449
448
|
/**tests for whether string is contains in any of the given props of the given value */
|
|
450
449
|
export declare function hasSearch(value: any, str?: string, props?: string[]): boolean;
|
|
451
450
|
|
|
451
|
+
export declare interface InstallCoreOptions {
|
|
452
|
+
vuetifyInstance?: ThemeInstance;
|
|
453
|
+
}
|
|
454
|
+
|
|
452
455
|
export declare function isArrayOfLength(val: any, l: number): boolean;
|
|
453
456
|
|
|
454
457
|
export declare function isLengthyArray(val: any, greaterThan?: number): boolean;
|
|
@@ -1113,6 +1116,14 @@ export declare function useLocalCache(): {
|
|
|
1113
1116
|
saveAsync: <T_1>(data: T_1, key: string) => Promise<void>;
|
|
1114
1117
|
};
|
|
1115
1118
|
|
|
1119
|
+
declare interface UseLocalCosmeticOptions {
|
|
1120
|
+
defaultTheme?: string;
|
|
1121
|
+
dark?: BaseCosmeticTheme;
|
|
1122
|
+
light?: BaseCosmeticTheme;
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
export declare function useLocalCosmetics(options?: UseLocalCosmeticOptions): CosmeticData;
|
|
1126
|
+
|
|
1116
1127
|
export declare function useLocalDb(): LocalForage;
|
|
1117
1128
|
|
|
1118
1129
|
export declare function useNavigation(): BTNavigation;
|
package/package.json
CHANGED