Skip to content

Commit 46f8d0c

Browse files
committed
refactor: require explicit component imports
1 parent 7d99f01 commit 46f8d0c

File tree

23 files changed

+37
-3
lines changed

23 files changed

+37
-3
lines changed

opendata.swiss/ui/app/components/OdsBreadcrumbs.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<script setup lang="ts">
22
import type { PropType } from 'vue'
33
import type { RouteLocationNamedI18n } from 'vue-router'
4+
import SvgIcon from "~/components/SvgIcon.vue";
45
56
export interface BreadcrumbItem {
67
id: string,

opendata.swiss/ui/app/components/OdsButton.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
<script setup lang="ts">
2222
import { computed } from 'vue';
23+
import SvgIcon from "~/components/SvgIcon.vue";
2324
2425
const { title, iconOnly = false, ...props } = defineProps<{
2526
title?: string

opendata.swiss/ui/app/components/OdsNavigationPanel.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<li v-if="menuStack.length > 0" style="border-bottom: none;" @click="goBack">
99
<a style="padding-top: 12px; padding-bottom: 12px;">
1010
<span>
11-
<SvgIcon icon="ArrowLeft" size="lg"></SvgIcon>
11+
<SvgIcon icon="ArrowLeft" size="lg"/>
1212
</span>
1313
</a>
1414
</li>
@@ -46,6 +46,7 @@
4646
import { ref, computed } from 'vue'
4747
import type { OdsNavTabItem } from './headers/model/ods-nav-tab-item';
4848
import { useI18n } from 'vue-i18n';
49+
import SvgIcon from "~/components/SvgIcon.vue";
4950
5051
const emit = defineEmits(['requestClose']);
5152
const { t } = useI18n();

opendata.swiss/ui/app/components/OdsPage.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
<script setup>
2+
import OdsToc from "~/components/OdsToc.vue";
3+
24
const { page } = defineProps({
35
page: {
46
type: Object,

opendata.swiss/ui/app/components/OdsToc.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
<script setup lang="ts">
2+
import OdsCard from "~/components/OdsCard.vue";
3+
import SvgIcon from "~/components/SvgIcon.vue";
4+
25
const { t } = useI18n()
36
47
const { toc } = defineProps({

opendata.swiss/ui/app/components/dataset-detail/OdsDatasetCatalogPanel.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ import { ref } from 'vue'
100100
import { useI18n } from 'vue-i18n'
101101
import type { Dataset } from '~/model/dataset'
102102
import OdsButton from '../OdsButton.vue'
103+
import SvgIcon from "~/components/SvgIcon.vue";
103104
104105
const { locale, t } = useI18n()
105106

opendata.swiss/ui/app/components/dataset-detail/OdsDetailsTable.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
1919
import type { PropertyTableEntry, PropertyTableEntryNode } from '@piveau/sdk-vue';
2020
import { computed } from 'vue'
21+
import OdsInfoBlock from "~/components/OdsInfoBlock.vue";
2122
2223
interface TableEntry {
2324
id: string;

opendata.swiss/ui/app/components/dataset-detail/OdsDownloadsList.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
<script setup lang="ts">
1818
import type { Dataset } from '~/model/dataset';
19+
import SvgIcon from "~/components/SvgIcon.vue";
1920
2021
interface Props {
2122
dataset: Dataset

opendata.swiss/ui/app/components/dataset-detail/OdsKeywordTag.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
<script setup lang="ts">
99
10+
import OdsTagItem from "~/components/OdsTagItem.vue";
11+
1012
const props = defineProps<{
1113
link: string
1214
label: string

opendata.swiss/ui/app/components/dataset/OdsDatasetCardListItem.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535
import type { Dataset } from '~/model/dataset';
3636
3737
import { useI18n } from 'vue-i18n'
38+
import OdsCard from "~/components/OdsCard.vue";
39+
import SvgIcon from "~/components/SvgIcon.vue";
3840
3941
const { t, locale } = useI18n()
4042
interface Props {

0 commit comments

Comments
 (0)