@eeplatform/nuxt-layer-common 1.2.7 → 1.2.9

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @eeplatform/nuxt-layer-common
2
2
 
3
+ ## 1.2.9
4
+
5
+ ### Patch Changes
6
+
7
+ - c035402: Revision - adjust switch context component styles
8
+
9
+ ## 1.2.8
10
+
11
+ ### Patch Changes
12
+
13
+ - 46fddb8: Revise getCurrentUser
14
+
3
15
  ## 1.2.7
4
16
 
5
17
  ### Patch Changes
@@ -16,7 +16,9 @@
16
16
  class="text-subtitle-2 font-weight-bold"
17
17
  rounded="e-pill"
18
18
  >
19
- <v-list-item-title class="text-truncate">
19
+ <v-list-item-title
20
+ class="text-truncate font-weight-medium text-subtitle-2"
21
+ >
20
22
  {{ name || `Select ${prop.title}` }}
21
23
  </v-list-item-title>
22
24
  </v-list-item>
@@ -24,7 +26,7 @@
24
26
  </template>
25
27
 
26
28
  <v-card width="300px" rounded="lg" class="pa-4">
27
- <span class="text-subtitle-2 font-weight-bold">
29
+ <span class="text-subtitle-2 font-weight-medium">
28
30
  Switch {{ prop.title }} context
29
31
  </span>
30
32
  <v-text-field
@@ -66,9 +66,9 @@ export default function useLocalAuth() {
66
66
  });
67
67
  }
68
68
 
69
- function getCurrentUser() {
69
+ async function getCurrentUser() {
70
70
  const user = useCookie("user", cookieConfig).value;
71
- const { data: userData } = useLazyAsyncData("get-current-user", () =>
71
+ const { data: userData } = await useLazyAsyncData("get-current-user", () =>
72
72
  useNuxtApp().$api<TUser>(`/api/users/id/${user}`)
73
73
  );
74
74
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@eeplatform/nuxt-layer-common",
3
3
  "license": "MIT",
4
4
  "type": "module",
5
- "version": "1.2.7",
5
+ "version": "1.2.9",
6
6
  "main": "./nuxt.config.ts",
7
7
  "publishConfig": {
8
8
  "access": "public"
package/plugins/API.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export default defineNuxtPlugin(() => {
2
- const { cookieConfig, BASE_URL } = useRuntimeConfig().public;
2
+ const { cookieConfig } = useRuntimeConfig().public;
3
3
 
4
4
  const api = $fetch.create({
5
5
  baseURL: "/",
@@ -25,6 +25,10 @@ export default defineNuxtPlugin((app) => {
25
25
  variant: "outlined",
26
26
  density: "comfortable",
27
27
  },
28
+ VCombobox: {
29
+ variant: "outlined",
30
+ density: "comfortable",
31
+ },
28
32
  VSelect: {
29
33
  variant: "outlined",
30
34
  density: "comfortable",