bt-core-app 1.4.16 → 1.4.18
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 +2696 -2576
- package/dist/index.d.ts +5 -3
- package/package.json +10 -8
package/dist/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ import { RouteLocationNormalized } from 'vue-router';
|
|
|
11
11
|
import { ShallowRef } from 'vue';
|
|
12
12
|
import { Store } from 'pinia';
|
|
13
13
|
import { StoreDefinition } from 'pinia';
|
|
14
|
+
import { ThemeInstance } from 'vuetify';
|
|
14
15
|
|
|
15
16
|
/**adds and sorts the weekday string */
|
|
16
17
|
export declare function addWeekday(weekdays?: string, day?: string): string | undefined;
|
|
@@ -121,10 +122,10 @@ export declare interface BTAuth {
|
|
|
121
122
|
}
|
|
122
123
|
|
|
123
124
|
export declare interface BTCosmetics {
|
|
124
|
-
state:
|
|
125
|
-
initiate: () => void;
|
|
125
|
+
state: Ref<CosmeticData>;
|
|
126
126
|
resetCosmetics: (toDefault: boolean) => void;
|
|
127
127
|
setTemporaryColor: (color: string) => void;
|
|
128
|
+
setVuetifyInstance: (theme: ThemeInstance) => void;
|
|
128
129
|
toggleDrawer: () => void;
|
|
129
130
|
toggleDrawerStick: () => void;
|
|
130
131
|
toggleLightDark: () => void;
|
|
@@ -272,7 +273,7 @@ export declare interface CreateCoreOptions extends UseCosmeticsOptions<BaseCosme
|
|
|
272
273
|
urls: CreateUrlOptions;
|
|
273
274
|
}
|
|
274
275
|
|
|
275
|
-
export declare function createCosmetics<T extends BaseCosmeticTheme>(options: UseCosmeticsOptions<T>):
|
|
276
|
+
export declare function createCosmetics<T extends BaseCosmeticTheme>(options: UseCosmeticsOptions<T>): BTCosmetics;
|
|
276
277
|
|
|
277
278
|
export declare function createDates(options: CreateDatesOptions): BTDates;
|
|
278
279
|
|
|
@@ -921,6 +922,7 @@ export declare interface UseCosmeticsOptions<T extends BaseCosmeticTheme> {
|
|
|
921
922
|
defaultDrawer?: boolean;
|
|
922
923
|
defaultDrawerStick?: boolean;
|
|
923
924
|
defaultTheme?: string;
|
|
925
|
+
vuetifyInstance?: ThemeInstance;
|
|
924
926
|
}
|
|
925
927
|
|
|
926
928
|
export declare function useCSV(): UseCSVPropsReturn;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bt-core-app",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.18",
|
|
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": {
|
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
"default": "./dist/bt-core-app.js"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
|
-
"./package.json": "./package.json"
|
|
24
|
+
"./package.json": "./package.json",
|
|
25
|
+
"./style.css": "./dist/style.css"
|
|
25
26
|
},
|
|
26
27
|
"files": [
|
|
27
28
|
"dist"
|
|
@@ -29,23 +30,24 @@
|
|
|
29
30
|
"scripts": {
|
|
30
31
|
"dev": "vite",
|
|
31
32
|
"build": "vue-tsc && vite build",
|
|
33
|
+
"publish": "vue-tsc && vite build && npm version patch && npm publish",
|
|
32
34
|
"preview": "vite preview",
|
|
33
35
|
"test": "vitest",
|
|
34
36
|
"test live": "vitest watch"
|
|
35
37
|
},
|
|
36
38
|
"dependencies": {
|
|
37
|
-
"@vueuse/core": "^10.4.1",
|
|
38
39
|
"@vuepic/vue-datepicker": "^8.3.1",
|
|
40
|
+
"@vueuse/core": "^10.4.1",
|
|
39
41
|
"localforage": "^1.10.0",
|
|
40
|
-
"thenby": "^1.3.4",
|
|
41
|
-
"vuejs-confirm-dialog": "^0.5.1",
|
|
42
42
|
"luxon": "^3.4.4",
|
|
43
|
-
"
|
|
43
|
+
"thenby": "^1.3.4",
|
|
44
|
+
"vuetify": "^3.4.10"
|
|
45
|
+
},
|
|
46
|
+
"peerDependencies": {
|
|
44
47
|
"vue": "^3.4.21",
|
|
45
48
|
"vue-router": "^4.0.0",
|
|
46
|
-
"
|
|
49
|
+
"pinia": "^2.1.7"
|
|
47
50
|
},
|
|
48
|
-
"peerDependencies": {},
|
|
49
51
|
"devDependencies": {
|
|
50
52
|
"@testing-library/vue": "^8.0.3",
|
|
51
53
|
"@types/localforage": "^0.0.34",
|