@fy-/fws-vue 0.0.938 → 0.0.941

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.
@@ -89,6 +89,8 @@ const userFlow = async (params: paramsType = { initial: false }) => {
89
89
  eventBus.emit("login-loading", false);
90
90
  return;
91
91
  }
92
+ } else {
93
+ formData.value.initial = true;
92
94
  }
93
95
  hasOauth.value = false;
94
96
 
@@ -1,6 +1,7 @@
1
1
  <script lang="ts" setup>
2
2
  import { HomeIcon, ChevronRightIcon } from "@heroicons/vue/24/solid";
3
3
  import type { BreadcrumbLink } from "../../types";
4
+
4
5
  withDefaults(
5
6
  defineProps<{
6
7
  nav: BreadcrumbLink[];
@@ -12,6 +13,7 @@ withDefaults(
12
13
  },
13
14
  );
14
15
  </script>
16
+
15
17
  <template>
16
18
  <ol
17
19
  class="inline-flex items-center flex-wrap"
@@ -19,55 +21,49 @@ withDefaults(
19
21
  itemtype="https://schema.org/BreadcrumbList"
20
22
  >
21
23
  <template v-for="(item, index) in nav" :key="`bc_${index.toString()}`">
22
- <li class="'inline-flex items-center'">
24
+ <li
25
+ class="inline-flex items-center"
26
+ itemprop="itemListElement"
27
+ itemscope
28
+ itemtype="https://schema.org/ListItem"
29
+ >
30
+ <meta itemprop="position" :content="(index + 1).toString()" />
31
+
23
32
  <ChevronRightIcon
24
33
  v-if="index != 0"
25
34
  :class="
26
- item.to
27
- ? index == 0
28
- ? 'w-4 h-4 mr-2 inline-block'
29
- : 'w-5 h-5 text-fv-neutral-400 inline-block mx-0.5 md:mx-1.5'
35
+ index == 0
36
+ ? 'w-4 h-4 mr-2 inline-block'
30
37
  : 'w-5 h-5 text-fv-neutral-400 inline-block mx-0.5 md:mx-1.5'
31
38
  "
32
39
  />
33
40
 
34
41
  <router-link
35
- :to="item.to"
36
42
  v-if="item.to"
37
- itemprop="itemListElement"
38
- itemtype="https://schema.org/ListItem"
39
- itemscope
43
+ :to="item.to"
40
44
  :class="
41
- item.to
42
- ? index == 0
43
- ? 'text-xs font-medium text-fv-neutral-700 hover:text-fv-neutral-900 dark:text-fv-neutral-200 dark:hover:text-white'
44
- : 'text-xs font-medium text-fv-neutral-700 hover:text-fv-neutral-900 dark:text-fv-neutral-200 dark:hover:text-white'
45
- : ''
45
+ index == 0
46
+ ? 'text-xs font-medium text-fv-neutral-700 hover:text-fv-neutral-900 dark:text-fv-neutral-200 dark:hover:text-white'
47
+ : 'text-xs font-medium text-fv-neutral-700 hover:text-fv-neutral-900 dark:text-fv-neutral-200 dark:hover:text-white'
46
48
  "
49
+ itemprop="item"
47
50
  >
48
51
  <HomeIcon
52
+ v-if="showHome && index === 0"
49
53
  :class="
50
- item.to
51
- ? index == 0
52
- ? 'w-4 h-4 mr-2 inline-block'
53
- : 'w-4 h-4 text-fv-neutral-400 inline-block mx-0.5 md:mx-1.5'
54
+ index == 0
55
+ ? 'w-4 h-4 mr-2 inline-block'
54
56
  : 'w-4 h-4 text-fv-neutral-400 inline-block mx-0.5 md:mx-1.5'
55
57
  "
56
- v-if="showHome && index === 0"
57
58
  />
58
59
  <span itemprop="name">{{ item.name }}</span>
59
- <meta itemprop="position" :content="(index + 1).toString()" />
60
- <meta itemprop="url" :content="item.to" />
61
60
  </router-link>
62
61
  <span
63
- class="text-xs font-medium text-fv-neutral-500 dark:text-fv-neutral-200"
64
62
  v-else
65
- itemprop="itemListElement"
66
- itemtype="https://schema.org/ListItem"
67
- itemscope
63
+ class="text-xs font-medium text-fv-neutral-500 dark:text-fv-neutral-200"
64
+ itemprop="name"
68
65
  >
69
- <span itemprop="name">{{ item.name }}</span>
70
- <meta itemprop="position" :content="(index + 1).toString()" />
66
+ {{ item.name }}
71
67
  </span>
72
68
  </li>
73
69
  </template>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "0.0.938",
3
+ "version": "0.0.941",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "repository": {