@drax/identity-vue 0.12.1 → 0.12.7

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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.12.1",
6
+ "version": "0.12.7",
7
7
  "type": "module",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -66,5 +66,5 @@
66
66
  "vue-tsc": "^2.1.6",
67
67
  "vuetify": "^3.7.1"
68
68
  },
69
- "gitHead": "76fd366e12449f5f605662197f985a28d98058a2"
69
+ "gitHead": "2a0174e7fff0e4778ff45b5e1f3752b06164e93a"
70
70
  }
@@ -26,12 +26,24 @@ const valueModel = defineModel<boolean>()
26
26
  <identity-profile-view></identity-profile-view>
27
27
  <v-divider></v-divider>
28
28
  <v-list>
29
+
30
+ <slot name="menu"></slot>
31
+
29
32
  <v-list-item
30
33
  @click="router.push({name:'Profile'})"
31
34
  prepend-icon="mdi-account-cog"
32
35
  :title="t('user.profile')"
33
36
  >
34
37
  </v-list-item>
38
+
39
+ <v-list-item
40
+ v-if="auth.hasPermission('userApiKey:manage')"
41
+ @click="router.push({name:'CrudUserApiKey'})"
42
+ prepend-icon="mdi-table-key"
43
+ :title="t('userapikey.menu')"
44
+ >
45
+ </v-list-item>
46
+
35
47
  <v-list-item
36
48
  @click="auth.logout()"
37
49
  prepend-icon="mdi-logout"