@explorer-1/vue 0.2.62 → 0.2.64

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@explorer-1/vue",
3
- "version": "0.2.62",
3
+ "version": "0.2.64",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -160,7 +160,7 @@
160
160
  >
161
161
  <div
162
162
  v-if="commitSha"
163
- class="lg:inline-block lg:mb-0 block pr-4 mb-2"
163
+ class="lg:inline-block lg:mb-0 block pr-4 mb-2 !hidden"
164
164
  >
165
165
  <span class="text-gray-light font-bold inline-block pr-1">Version:</span>
166
166
  <span>{{ commitSha }}</span>
@@ -178,7 +178,7 @@
178
178
  <div v-else>
179
179
  <div
180
180
  v-if="commitSha != null"
181
- class="lg:inline-block lg:mb-0 block px-3 mb-2"
181
+ class="lg:inline-block lg:mb-0 block px-3 mb-2 !hidden"
182
182
  >
183
183
  <span class="text-gray-light font-bold inline-block pr-1">Version:</span>
184
184
  <span>{{ commitSha }}</span>
@@ -1,3 +1,21 @@
1
+ <script setup lang="ts">
2
+ import { reactive } from 'vue'
3
+ import NavSecondary from './../../../components/NavSecondary/NavSecondary.vue'
4
+ import LayoutHelper from './../../../components/LayoutHelper/LayoutHelper.vue'
5
+ import DetailHeadline from './../../../components/DetailHeadline/DetailHeadline.vue'
6
+ import HeroMedia from './../../../components/HeroMedia/HeroMedia.vue'
7
+ import ShareButtons from './../../../components/ShareButtons/ShareButtons.vue'
8
+ import BlockStreamfield from './../../../components/BlockStreamfield/BlockStreamfield.vue'
9
+
10
+ interface PageAsteroidWatchContentProps {
11
+ data: any
12
+ }
13
+ const props = withDefaults(defineProps<PageAsteroidWatchContentProps>(), {
14
+ data: undefined
15
+ })
16
+
17
+ const { data } = reactive(props)
18
+ </script>
1
19
  <template>
2
20
  <div
3
21
  v-if="data"
@@ -30,7 +48,7 @@
30
48
  </LayoutHelper>
31
49
 
32
50
  <template v-if="data.slug === 'next-five-approaches'">
33
- <AsteroidWatchWidget class="lg:mb-18 mb-10" />
51
+ <FetchAsteroidWatchWidget class="lg:mb-18 mb-10" />
34
52
  </template>
35
53
 
36
54
  <!-- share buttons -->
@@ -48,32 +66,3 @@
48
66
  <BlockStreamfield :data="data.body" />
49
67
  </div>
50
68
  </template>
51
- <script>
52
- import { defineComponent } from 'vue'
53
- import NavSecondary from './../../../components/NavSecondary/NavSecondary.vue'
54
- import LayoutHelper from './../../../components/LayoutHelper/LayoutHelper.vue'
55
- import DetailHeadline from './../../../components/DetailHeadline/DetailHeadline.vue'
56
- import HeroMedia from './../../../components/HeroMedia/HeroMedia.vue'
57
- import ShareButtons from './../../../components/ShareButtons/ShareButtons.vue'
58
- import BlockStreamfield from './../../../components/BlockStreamfield/BlockStreamfield.vue'
59
- import AsteroidWatchWidget from './../../../components/AsteroidWatchWidget/AsteroidWatchWidget.vue'
60
-
61
- export default defineComponent({
62
- name: 'PageAsteroidWatchContent',
63
- components: {
64
- NavSecondary,
65
- LayoutHelper,
66
- HeroMedia,
67
- ShareButtons,
68
- BlockStreamfield,
69
- DetailHeadline,
70
- AsteroidWatchWidget
71
- },
72
- props: {
73
- data: {
74
- type: Object,
75
- required: false
76
- }
77
- }
78
- })
79
- </script>