@diasro/ucsd-its-frontend 0.1.2 → 0.1.4
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/assets/light_dock_bg.jpg +0 -0
- package/dist/main.css +7 -2
- package/dist/stores/its-app.d.ts +3 -3
- package/dist/stores/its-auth.d.ts +30 -3
- package/dist/templates/.env +2 -2
- package/dist/ucsd-its-frontend.js +5674 -5365
- package/dist/ucsd-its-frontend.umd.cjs +62 -62
- package/package.json +4 -4
- package/src/lib/templates/.env +2 -2
|
Binary file
|
package/dist/main.css
CHANGED
|
@@ -11,10 +11,15 @@
|
|
|
11
11
|
.light.dock-window {
|
|
12
12
|
width: 100%;
|
|
13
13
|
position: relative;
|
|
14
|
-
|
|
14
|
+
z-index: 1;
|
|
15
|
+
background-image: url("./assets/light_dock_bg.jpg");
|
|
15
16
|
background-repeat: no-repeat;
|
|
16
17
|
background-size: cover;
|
|
17
|
-
|
|
18
|
+
|
|
19
|
+
}
|
|
20
|
+
.light .tile-btn {
|
|
21
|
+
background-image: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
|
|
22
|
+
color: #222;
|
|
18
23
|
}
|
|
19
24
|
|
|
20
25
|
.image-remove-bg {
|
package/dist/stores/its-app.d.ts
CHANGED
|
@@ -117,7 +117,7 @@ export declare const useItsAppStore: import("pinia").StoreDefinition<"its-app",
|
|
|
117
117
|
getBadgeContent: (item: TileRecord) => string | undefined;
|
|
118
118
|
execAction: (menuItem: TileRecord, eventMap: any) => void;
|
|
119
119
|
renderIcon: (menuItem: any) => any;
|
|
120
|
-
invokeLoginCallback: (
|
|
120
|
+
invokeLoginCallback: () => Promise<void>;
|
|
121
121
|
getCustomAuth: () => (() => Promise<any>) | undefined;
|
|
122
122
|
secureRoutes: () => void;
|
|
123
123
|
startProgTimer: () => void;
|
|
@@ -224,7 +224,7 @@ export declare const useItsAppStore: import("pinia").StoreDefinition<"its-app",
|
|
|
224
224
|
getBadgeContent: (item: TileRecord) => string | undefined;
|
|
225
225
|
execAction: (menuItem: TileRecord, eventMap: any) => void;
|
|
226
226
|
renderIcon: (menuItem: any) => any;
|
|
227
|
-
invokeLoginCallback: (
|
|
227
|
+
invokeLoginCallback: () => Promise<void>;
|
|
228
228
|
getCustomAuth: () => (() => Promise<any>) | undefined;
|
|
229
229
|
secureRoutes: () => void;
|
|
230
230
|
startProgTimer: () => void;
|
|
@@ -331,7 +331,7 @@ export declare const useItsAppStore: import("pinia").StoreDefinition<"its-app",
|
|
|
331
331
|
getBadgeContent: (item: TileRecord) => string | undefined;
|
|
332
332
|
execAction: (menuItem: TileRecord, eventMap: any) => void;
|
|
333
333
|
renderIcon: (menuItem: any) => any;
|
|
334
|
-
invokeLoginCallback: (
|
|
334
|
+
invokeLoginCallback: () => Promise<void>;
|
|
335
335
|
getCustomAuth: () => (() => Promise<any>) | undefined;
|
|
336
336
|
secureRoutes: () => void;
|
|
337
337
|
startProgTimer: () => void;
|
|
@@ -60,7 +60,16 @@ export declare const useItsAuthStore: import("pinia").StoreDefinition<"its-auth"
|
|
|
60
60
|
targetEnv?: string | undefined;
|
|
61
61
|
appVersion?: string | undefined;
|
|
62
62
|
}>;
|
|
63
|
-
preAuthRoute: import("vue").Ref<
|
|
63
|
+
preAuthRoute: import("vue").Ref<{
|
|
64
|
+
path: string;
|
|
65
|
+
query: Record<string, any>;
|
|
66
|
+
} | null, {
|
|
67
|
+
path: string;
|
|
68
|
+
query: Record<string, any>;
|
|
69
|
+
} | {
|
|
70
|
+
path: string;
|
|
71
|
+
query: Record<string, any>;
|
|
72
|
+
} | null>;
|
|
64
73
|
isAuthenticated: () => boolean;
|
|
65
74
|
decryptedToken: () => string;
|
|
66
75
|
isTokenExpired: () => boolean;
|
|
@@ -104,7 +113,16 @@ export declare const useItsAuthStore: import("pinia").StoreDefinition<"its-auth"
|
|
|
104
113
|
targetEnv?: string | undefined;
|
|
105
114
|
appVersion?: string | undefined;
|
|
106
115
|
}>;
|
|
107
|
-
preAuthRoute: import("vue").Ref<
|
|
116
|
+
preAuthRoute: import("vue").Ref<{
|
|
117
|
+
path: string;
|
|
118
|
+
query: Record<string, any>;
|
|
119
|
+
} | null, {
|
|
120
|
+
path: string;
|
|
121
|
+
query: Record<string, any>;
|
|
122
|
+
} | {
|
|
123
|
+
path: string;
|
|
124
|
+
query: Record<string, any>;
|
|
125
|
+
} | null>;
|
|
108
126
|
isAuthenticated: () => boolean;
|
|
109
127
|
decryptedToken: () => string;
|
|
110
128
|
isTokenExpired: () => boolean;
|
|
@@ -148,7 +166,16 @@ export declare const useItsAuthStore: import("pinia").StoreDefinition<"its-auth"
|
|
|
148
166
|
targetEnv?: string | undefined;
|
|
149
167
|
appVersion?: string | undefined;
|
|
150
168
|
}>;
|
|
151
|
-
preAuthRoute: import("vue").Ref<
|
|
169
|
+
preAuthRoute: import("vue").Ref<{
|
|
170
|
+
path: string;
|
|
171
|
+
query: Record<string, any>;
|
|
172
|
+
} | null, {
|
|
173
|
+
path: string;
|
|
174
|
+
query: Record<string, any>;
|
|
175
|
+
} | {
|
|
176
|
+
path: string;
|
|
177
|
+
query: Record<string, any>;
|
|
178
|
+
} | null>;
|
|
152
179
|
isAuthenticated: () => boolean;
|
|
153
180
|
decryptedToken: () => string;
|
|
154
181
|
isTokenExpired: () => boolean;
|
package/dist/templates/.env
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
VITE_APP_VERSION=1.0.0
|
|
2
2
|
VITE_APP_TITLE='UCSD Vue App'
|
|
3
|
-
VITE_DEFAULT_HEADER='
|
|
4
|
-
VITE_DEFAULT_SUB_HEADER='
|
|
3
|
+
VITE_DEFAULT_HEADER=''
|
|
4
|
+
VITE_DEFAULT_SUB_HEADER=''
|
|
5
5
|
VITE_CLIENT_ID='From API manager'
|
|
6
6
|
VITE_CLIENT_SECRET='From API manager'
|
|
7
7
|
VITE_AUTH_URL='https://api-qa.ucsd.edu/oauth2/authorize'
|