bt-core-app 1.4.56 → 1.4.57
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 +2211 -2176
- package/dist/index.d.ts +17 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -151,6 +151,13 @@ export declare interface BTCosmetics {
|
|
|
151
151
|
undoTemporaryColor: () => void;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
+
export declare interface BTCreateMenu {
|
|
155
|
+
currentGroup: Ref<string | undefined>;
|
|
156
|
+
groupOptions: Ref<MenuGroup[]>;
|
|
157
|
+
/**whether to read from vue routes or just purely the given groups */
|
|
158
|
+
useRoutes?: boolean;
|
|
159
|
+
}
|
|
160
|
+
|
|
154
161
|
export declare interface BTDates {
|
|
155
162
|
/**returns start of day */
|
|
156
163
|
getToday: () => string;
|
|
@@ -232,6 +239,10 @@ export declare interface BTStoreDefinition extends StoreDefinition<any, {}, {},
|
|
|
232
239
|
}> {
|
|
233
240
|
}
|
|
234
241
|
|
|
242
|
+
export declare interface BTUseMenu extends BTCreateMenu {
|
|
243
|
+
sidebarNavItems: ComputedRef<MenuGroup[]>;
|
|
244
|
+
}
|
|
245
|
+
|
|
235
246
|
export declare function capitalizeWords(val?: string): string | undefined;
|
|
236
247
|
|
|
237
248
|
export declare function checkImage(url?: string, goodCallback?: any, badCallback?: any): void;
|
|
@@ -319,7 +330,9 @@ declare interface CreateDemoOptions {
|
|
|
319
330
|
|
|
320
331
|
export declare function createFilters(options: UseFiltersOptions): BTFilters;
|
|
321
332
|
|
|
322
|
-
declare
|
|
333
|
+
export declare function createMenu(options?: CreateMenuOptions): BTCreateMenu;
|
|
334
|
+
|
|
335
|
+
export declare interface CreateMenuOptions {
|
|
323
336
|
default?: string;
|
|
324
337
|
groups?: MenuGroup[];
|
|
325
338
|
/**whether to read from vue routes or just purely the given groups */
|
|
@@ -752,7 +765,7 @@ export declare interface LocalMeta {
|
|
|
752
765
|
lastUpdate?: string;
|
|
753
766
|
}
|
|
754
767
|
|
|
755
|
-
declare interface MenuGroup {
|
|
768
|
+
export declare interface MenuGroup {
|
|
756
769
|
displayName: string;
|
|
757
770
|
icon?: string;
|
|
758
771
|
isGroup?: boolean;
|
|
@@ -1328,6 +1341,8 @@ declare interface UseLocalCosmeticsOptions {
|
|
|
1328
1341
|
|
|
1329
1342
|
export declare function useLocalDb(): LocalForage;
|
|
1330
1343
|
|
|
1344
|
+
export declare function useMenu(): BTUseMenu;
|
|
1345
|
+
|
|
1331
1346
|
export declare function useNavigation(): BTNavigation;
|
|
1332
1347
|
|
|
1333
1348
|
export declare interface UseNavigationOptions {
|
package/package.json
CHANGED