@explorer-1/vue 0.2.32 → 0.2.33

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.32",
3
+ "version": "0.2.33",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -86,7 +86,6 @@ export default defineComponent({
86
86
  this.dialog = this.$refs.DialogRef
87
87
  ? new A11yDialog(this.$refs.DialogRef as HTMLElement)
88
88
  : null
89
- console.log(this.dialog)
90
89
  if (this.dialog) {
91
90
  this.dialog
92
91
  .on('show', () => {
@@ -20,7 +20,8 @@
20
20
  v-if="data.url"
21
21
  class="print:border print:border-gray-dark"
22
22
  aspect-ratio="16:9"
23
- dark-mode
23
+ no-logo
24
+ :dark-mode="!themeStore.isEdu"
24
25
  >
25
26
  <div>
26
27
  <iframe
@@ -48,6 +49,8 @@
48
49
  </template>
49
50
  <script lang="ts">
50
51
  import { defineComponent } from 'vue'
52
+ import { mapStores } from 'pinia'
53
+ import { useThemeStore } from '../../store/theme'
51
54
  import BaseImageCaption from './../BaseImageCaption/BaseImageCaption.vue'
52
55
  import BaseImagePlaceholder from './../BaseImagePlaceholder/BaseImagePlaceholder.vue'
53
56
 
@@ -81,6 +84,9 @@ export default defineComponent({
81
84
  this.lazyNative = false
82
85
  }
83
86
  }
87
+ },
88
+ computed: {
89
+ ...mapStores(useThemeStore)
84
90
  }
85
91
  })
86
92
  </script>
@@ -256,7 +256,6 @@ export default defineComponent({
256
256
  if (isActive) {
257
257
  mixinUpdateGlobalChildren(sectionLinks)
258
258
  }
259
- console.log(isActive)
260
259
  return isActive
261
260
  }
262
261
  return false
@@ -20,7 +20,6 @@ const clearSearch = () => {
20
20
  }
21
21
  const submitSearch = () => {
22
22
  emit('submitForm')
23
- console.log(searchQuery.value)
24
23
  router.push({ path: '/search', query: searchQuery.value })
25
24
  }
26
25
  </script>