itube-specs 0.0.823 → 0.0.826

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.
@@ -0,0 +1,60 @@
1
+ <template>
2
+ <Html :lang="htmlAttrs.lang">
3
+ <div class="layout">
4
+ <LayoutSkipLink/>
5
+
6
+ <LayoutHeader class="header"/>
7
+
8
+ <LazyLayoutNav
9
+ class="navigation _from-sm"
10
+ hydrate-on-idle
11
+ />
12
+
13
+ <main
14
+ id="main"
15
+ class="main"
16
+ >
17
+ <slot/>
18
+ </main>
19
+
20
+ <LazyLayoutFooter hydrate-on-visible/>
21
+
22
+ <LazyAuthPopup hydrate-on-idle/>
23
+
24
+ <ClientOnly>
25
+ <LazyPlaylistMain
26
+ v-if="isAuthorized"
27
+ :key="playlistId"
28
+ />
29
+ </ClientOnly>
30
+
31
+ <LazyReportWrapper hydrate-on-idle/>
32
+
33
+ <transition mode="out-in">
34
+ <LazyUiSnackbar v-if="snackbarText && !isSnackBarInPopup"/>
35
+ </transition>
36
+
37
+ <ClientOnly>
38
+ <LazyLayoutCookie/>
39
+ </ClientOnly>
40
+ </div>
41
+ </Html>
42
+ </template>
43
+
44
+ <script setup lang="ts">
45
+ import { AuthorizationApiService } from 'itube-specs/services/api/authorization.service';
46
+
47
+ const head = useLocaleHead({
48
+ addSeoAttributes: true,
49
+ });
50
+
51
+ const route = useRoute();
52
+
53
+ const playlistId = computed(() => String(route.params[ 'playlistId' ]) || '');
54
+
55
+ const { snackbarText, isSnackBarInPopup } = useSnackbar();
56
+
57
+ const { isAuthorized } = useUser(AuthorizationApiService);
58
+
59
+ const htmlAttrs = computed(() => head.value.htmlAttrs);
60
+ </script>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "itube-specs",
3
3
  "type": "module",
4
- "version": "0.0.823",
4
+ "version": "0.0.826",
5
5
  "main": "./nuxt.config.ts",
6
6
  "types": "./types/index.d.ts",
7
7
  "scripts": {
@@ -56,6 +56,7 @@
56
56
  "plugins/",
57
57
  "server/",
58
58
  "pages/",
59
+ "layouts/",
59
60
  "public/",
60
61
  "assets/icons/",
61
62
  "assets/scss/mixins/",