@paris-ias/list 1.0.136 → 1.0.137
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/dist/module.json +1 -1
- package/dist/runtime/components/actions/ExpandedItem.vue +4 -0
- package/dist/runtime/components/actions/RowsItem.vue +5 -1
- package/dist/runtime/components/actions/View.vue +4 -4
- package/dist/runtime/components/affiliation/DenseItem.vue +4 -0
- package/dist/runtime/components/affiliation/ExpandedItem.vue +4 -0
- package/dist/runtime/components/affiliation/RowsItem.vue +5 -1
- package/dist/runtime/components/affiliation/View.vue +4 -4
- package/dist/runtime/components/apps/DenseItem.vue +4 -0
- package/dist/runtime/components/apps/ExpandedItem.vue +5 -1
- package/dist/runtime/components/apps/RowsItem.vue +5 -1
- package/dist/runtime/components/apps/View.vue +4 -4
- package/dist/runtime/components/disciplines/DenseItem.vue +4 -0
- package/dist/runtime/components/disciplines/ExpandedItem.vue +4 -0
- package/dist/runtime/components/disciplines/RowsItem.vue +5 -1
- package/dist/runtime/components/disciplines/View.vue +4 -4
- package/dist/runtime/components/events/Badges.vue +8 -12
- package/dist/runtime/components/events/DenseItem.vue +15 -14
- package/dist/runtime/components/events/ExpandedItem.vue +4 -0
- package/dist/runtime/components/events/RelatedItem.vue +4 -13
- package/dist/runtime/components/events/RowsItem.vue +9 -16
- package/dist/runtime/components/events/SlidingItem.vue +39 -47
- package/dist/runtime/components/events/View.vue +1 -1
- package/dist/runtime/components/fellowships/Badges.vue +15 -11
- package/dist/runtime/components/fellowships/DenseItem.vue +8 -11
- package/dist/runtime/components/fellowships/ExpandedItem.vue +8 -1
- package/dist/runtime/components/fellowships/RowsItem.vue +7 -14
- package/dist/runtime/components/files/DenseItem.vue +5 -0
- package/dist/runtime/components/files/ExpandedItem.vue +4 -0
- package/dist/runtime/components/files/RowsItem.vue +5 -1
- package/dist/runtime/components/files/View.vue +4 -4
- package/dist/runtime/components/list/molecules/Filters.vue +5 -5
- package/dist/runtime/components/list/organisms/List.vue +19 -4
- package/dist/runtime/components/mailing/DenseItem.vue +4 -0
- package/dist/runtime/components/mailing/ExpandedItem.vue +4 -0
- package/dist/runtime/components/mailing/RowsItem.vue +5 -1
- package/dist/runtime/components/mailing/View.vue +4 -4
- package/dist/runtime/components/misc/atoms/ImageContainer.vue +3 -45
- package/dist/runtime/components/misc/molecules/Related.vue +1 -1
- package/dist/runtime/components/news/DenseItem.vue +6 -11
- package/dist/runtime/components/news/ExpandedItem.vue +11 -17
- package/dist/runtime/components/news/RelatedItem.vue +4 -13
- package/dist/runtime/components/news/RowsItem.vue +10 -35
- package/dist/runtime/components/news/View.vue +7 -7
- package/dist/runtime/components/people/DenseItem.vue +7 -13
- package/dist/runtime/components/people/RelatedItem.vue +4 -14
- package/dist/runtime/components/people/RowsItem.vue +3 -21
- package/dist/runtime/components/projects/DenseItem.vue +6 -13
- package/dist/runtime/components/projects/RelatedItem.vue +4 -13
- package/dist/runtime/components/projects/RowsItem.vue +7 -14
- package/dist/runtime/components/projects/View.vue +6 -6
- package/dist/runtime/components/publications/DenseItem.vue +6 -8
- package/dist/runtime/components/publications/RelatedItem.vue +4 -13
- package/dist/runtime/components/publications/RowsItem.vue +7 -15
- package/dist/runtime/components/tags/DenseItem.vue +4 -0
- package/dist/runtime/components/tags/ExpandedItem.vue +4 -0
- package/dist/runtime/components/tags/RowsItem.vue +5 -1
- package/dist/runtime/components/tags/View.vue +4 -4
- package/dist/runtime/components/users/DenseItem.vue +4 -0
- package/dist/runtime/components/users/ExpandedItem.vue +5 -1
- package/dist/runtime/components/users/RowsItem.vue +5 -1
- package/dist/runtime/components/users/View.vue +4 -4
- package/dist/runtime/stores/root.js +1 -2
- package/package.json +3 -4
|
@@ -3,14 +3,7 @@
|
|
|
3
3
|
v-ripple
|
|
4
4
|
no-gutters
|
|
5
5
|
class="cursor-pointer highlight-on-hover my-2"
|
|
6
|
-
@click="
|
|
7
|
-
$router.push(
|
|
8
|
-
localePath({
|
|
9
|
-
name: 'people-slug',
|
|
10
|
-
params: { slug: item.slug },
|
|
11
|
-
})
|
|
12
|
-
)
|
|
13
|
-
"
|
|
6
|
+
@click="$router.push(pathPrefix)"
|
|
14
7
|
>
|
|
15
8
|
<v-col v-if="mdAndUp" cols="1">
|
|
16
9
|
<MiscAtomsImageContainer
|
|
@@ -20,9 +13,6 @@
|
|
|
20
13
|
item && item.image && item.image.url ? item.image.url : '/default.png'
|
|
21
14
|
"
|
|
22
15
|
:ratio="1 / 1"
|
|
23
|
-
:name="item.lastname + ' ' + item.firstname"
|
|
24
|
-
:slug="item.slug"
|
|
25
|
-
link="people-slug"
|
|
26
16
|
:width="80"
|
|
27
17
|
/>
|
|
28
18
|
</v-col>
|
|
@@ -35,7 +25,7 @@
|
|
|
35
25
|
? highlightAndTruncate(
|
|
36
26
|
300,
|
|
37
27
|
item.firstname + ' ' + item.lastname,
|
|
38
|
-
$rootStore.search.split(' ')
|
|
28
|
+
$rootStore.search.split(' '),
|
|
39
29
|
)
|
|
40
30
|
: item.firstname + ' ' + item.lastname
|
|
41
31
|
"
|
|
@@ -51,7 +41,7 @@
|
|
|
51
41
|
? highlightAndTruncate(
|
|
52
42
|
300,
|
|
53
43
|
item.groups.vintage[0].theme,
|
|
54
|
-
$rootStore.search.split(' ')
|
|
44
|
+
$rootStore.search.split(' '),
|
|
55
45
|
)
|
|
56
46
|
: item.groups.vintage[0].theme
|
|
57
47
|
"
|
|
@@ -78,6 +68,10 @@ const props = defineProps({
|
|
|
78
68
|
type: Number,
|
|
79
69
|
required: true,
|
|
80
70
|
},
|
|
71
|
+
pathPrefix: {
|
|
72
|
+
type: String,
|
|
73
|
+
required: true,
|
|
74
|
+
},
|
|
81
75
|
})
|
|
82
76
|
</script>
|
|
83
77
|
<style>
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<v-sheet
|
|
3
|
-
:to="
|
|
4
|
-
localePath({
|
|
5
|
-
name: 'people-slug',
|
|
6
|
-
params: { slug: item.slug },
|
|
7
|
-
})
|
|
8
|
-
"
|
|
9
|
-
>
|
|
2
|
+
<v-sheet>
|
|
10
3
|
<v-row>
|
|
11
4
|
<v-col v-if="lgAndUp" cols="3">
|
|
12
5
|
<MiscAtomsImageContainer
|
|
@@ -14,8 +7,6 @@
|
|
|
14
7
|
:loading="rootStore.loading"
|
|
15
8
|
:src="item.image"
|
|
16
9
|
:ratio="1 / 1"
|
|
17
|
-
:link="item.firstname + item.lastname"
|
|
18
|
-
:name="people - slug"
|
|
19
10
|
/>
|
|
20
11
|
</v-col>
|
|
21
12
|
<v-col cols="12" lg="9">
|
|
@@ -34,11 +25,10 @@
|
|
|
34
25
|
import { useDisplay } from "vuetify"
|
|
35
26
|
import { useRootStore } from "../../stores/root"
|
|
36
27
|
|
|
37
|
-
import { useLocalePath } from "#imports"
|
|
38
|
-
|
|
39
|
-
const localePath = useLocalePath()
|
|
40
28
|
const rootStore = useRootStore()
|
|
41
29
|
const { lgAndUp } = useDisplay()
|
|
42
30
|
|
|
43
|
-
const props = defineProps({
|
|
31
|
+
const props = defineProps({
|
|
32
|
+
item: { type: Object, required: true },
|
|
33
|
+
})
|
|
44
34
|
</script>
|
|
@@ -2,14 +2,7 @@
|
|
|
2
2
|
<v-divider v-if="index > 0" />
|
|
3
3
|
<v-row
|
|
4
4
|
class="my-6 ml-md-1 px-3 px-md-0 highlight-on-hover"
|
|
5
|
-
@click="
|
|
6
|
-
$router.push(
|
|
7
|
-
localePath({
|
|
8
|
-
name: 'people-slug',
|
|
9
|
-
params: { slug: item.slug },
|
|
10
|
-
}),
|
|
11
|
-
)
|
|
12
|
-
"
|
|
5
|
+
@click="$router.push(pathPrefix)"
|
|
13
6
|
>
|
|
14
7
|
<v-col v-if="mdAndUp" cols="12" md="3">
|
|
15
8
|
<MiscAtomsImageContainer
|
|
@@ -17,9 +10,6 @@
|
|
|
17
10
|
:loading="$stores.people.loading"
|
|
18
11
|
:src="item.image.url ? item.image : '/default.png'"
|
|
19
12
|
:ratio="1 / 1"
|
|
20
|
-
:name="item.lastname + ' ' + item.firstname"
|
|
21
|
-
:slug="item.slug"
|
|
22
|
-
link="people-slug"
|
|
23
13
|
/>
|
|
24
14
|
</v-col>
|
|
25
15
|
|
|
@@ -39,17 +29,9 @@
|
|
|
39
29
|
/>
|
|
40
30
|
|
|
41
31
|
<div v-else class="ml-md-8">
|
|
42
|
-
<
|
|
43
|
-
:to="
|
|
44
|
-
localePath({
|
|
45
|
-
name: 'people-slug',
|
|
46
|
-
params: { slug: item.slug },
|
|
47
|
-
})
|
|
48
|
-
"
|
|
49
|
-
class="text-wrap text-h5 text-md-h4 text-black"
|
|
50
|
-
>
|
|
32
|
+
<div class="text-wrap text-h5 text-md-h4 text-black">
|
|
51
33
|
{{ item.firstname + " " + item.lastname }}
|
|
52
|
-
</
|
|
34
|
+
</div>
|
|
53
35
|
<MiscAtomsSocials v-if="item.socials" :socials="item.socials" />
|
|
54
36
|
<PeoplepBadges :item="item" />
|
|
55
37
|
<div
|
|
@@ -3,14 +3,7 @@
|
|
|
3
3
|
v-ripple
|
|
4
4
|
no-gutters
|
|
5
5
|
class="cursor-pointer highlight-on-hover"
|
|
6
|
-
@click="
|
|
7
|
-
$router.push(
|
|
8
|
-
localePath({
|
|
9
|
-
name: 'activities-projects-slug',
|
|
10
|
-
params: { slug: item.slug[locale] },
|
|
11
|
-
}),
|
|
12
|
-
)
|
|
13
|
-
"
|
|
6
|
+
@click="$router.push(pathPrefix)"
|
|
14
7
|
>
|
|
15
8
|
<v-col v-if="mdAndUp" align-self="center" cols="1">
|
|
16
9
|
<MiscAtomsImageContainer
|
|
@@ -20,9 +13,6 @@
|
|
|
20
13
|
item && item.image && item.image.url ? item.image.url : '/default.png'
|
|
21
14
|
"
|
|
22
15
|
:ratio="1 / 1"
|
|
23
|
-
:name="item.name"
|
|
24
|
-
:slug="item.slug && item.slug[locale]"
|
|
25
|
-
link="activities-projects-slug"
|
|
26
16
|
:width="50"
|
|
27
17
|
/>
|
|
28
18
|
</v-col>
|
|
@@ -58,11 +48,10 @@
|
|
|
58
48
|
<script setup>
|
|
59
49
|
import { useDisplay } from "vuetify"
|
|
60
50
|
import { useRootStore } from "../../stores/root"
|
|
61
|
-
import { computed, useNuxtApp, useI18n
|
|
51
|
+
import { computed, useNuxtApp, useI18n } from "#imports"
|
|
62
52
|
|
|
63
53
|
const { $stores } = useNuxtApp()
|
|
64
54
|
const { name, mdAndUp } = useDisplay()
|
|
65
|
-
const localePath = useLocalePath()
|
|
66
55
|
const { locale } = useI18n()
|
|
67
56
|
|
|
68
57
|
const rootStore = useRootStore()
|
|
@@ -75,6 +64,10 @@ const props = defineProps({
|
|
|
75
64
|
type: Number,
|
|
76
65
|
required: true,
|
|
77
66
|
},
|
|
67
|
+
pathPrefix: {
|
|
68
|
+
type: String,
|
|
69
|
+
required: true,
|
|
70
|
+
},
|
|
78
71
|
})
|
|
79
72
|
const eventCategory = computed(() => {
|
|
80
73
|
if (props.item.category) {
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<v-sheet
|
|
3
|
-
:to="
|
|
4
|
-
localePath({
|
|
5
|
-
name: 'activities-projects-slug',
|
|
6
|
-
params: { slug: item.name },
|
|
7
|
-
})
|
|
8
|
-
"
|
|
9
|
-
>
|
|
2
|
+
<v-sheet :to="pathPrefix">
|
|
10
3
|
<v-row>
|
|
11
4
|
<v-col v-if="lgAndUp" cols="3">
|
|
12
5
|
<MiscAtomsImageContainer
|
|
@@ -14,8 +7,6 @@
|
|
|
14
7
|
:src="item.image"
|
|
15
8
|
:loading="rootStore.loading"
|
|
16
9
|
:ratio="1 / 1"
|
|
17
|
-
:link="item.name"
|
|
18
|
-
name="activities-projects-slug"
|
|
19
10
|
/>
|
|
20
11
|
</v-col>
|
|
21
12
|
<v-col cols="12" lg="9">
|
|
@@ -36,11 +27,11 @@
|
|
|
36
27
|
<script setup>
|
|
37
28
|
import { useDisplay } from "vuetify"
|
|
38
29
|
import { useRootStore } from "../../stores/root"
|
|
39
|
-
import { useLocalePath } from "#imports"
|
|
40
30
|
|
|
41
|
-
const localePath = useLocalePath()
|
|
42
31
|
const rootStore = useRootStore()
|
|
43
32
|
const { lgAndUp } = useDisplay()
|
|
44
33
|
|
|
45
|
-
const props = defineProps({
|
|
34
|
+
const props = defineProps({
|
|
35
|
+
item: { type: Object, required: true },
|
|
36
|
+
})
|
|
46
37
|
</script>
|
|
@@ -6,9 +6,6 @@
|
|
|
6
6
|
:src="item.image"
|
|
7
7
|
:loading="$stores.projects.loading"
|
|
8
8
|
:ratio="1 / 1"
|
|
9
|
-
:title="item.name"
|
|
10
|
-
link="activities-projects-slug"
|
|
11
|
-
:slug="item.slug[locale]"
|
|
12
9
|
/>
|
|
13
10
|
</v-col>
|
|
14
11
|
<v-col
|
|
@@ -19,9 +16,7 @@
|
|
|
19
16
|
lg="9"
|
|
20
17
|
xl="10"
|
|
21
18
|
class="px-6 cursor-pointer"
|
|
22
|
-
@click="
|
|
23
|
-
router.push(localePath('/activities/projects/' + item.slug[locale]))
|
|
24
|
-
"
|
|
19
|
+
@click="router.push(pathPrefix)"
|
|
25
20
|
>
|
|
26
21
|
<v-skeleton-loader
|
|
27
22
|
v-if="rootStore.loading"
|
|
@@ -49,12 +44,7 @@
|
|
|
49
44
|
class="mt-4"
|
|
50
45
|
variant="outlined"
|
|
51
46
|
tile
|
|
52
|
-
:to="
|
|
53
|
-
localePath({
|
|
54
|
-
name: 'project-slug',
|
|
55
|
-
params: { slug: item.slug[locale] },
|
|
56
|
-
})
|
|
57
|
-
"
|
|
47
|
+
:to="pathPrefix"
|
|
58
48
|
:size="
|
|
59
49
|
['small', 'small', 'small', 'default', 'default', 'large'][
|
|
60
50
|
['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].indexOf(name || 'md')
|
|
@@ -85,7 +75,7 @@
|
|
|
85
75
|
<script setup>
|
|
86
76
|
import { useDisplay } from "vuetify"
|
|
87
77
|
import { useRootStore } from "../../stores/root"
|
|
88
|
-
import { useRouter,
|
|
78
|
+
import { useRouter, useI18n } from "#imports"
|
|
89
79
|
|
|
90
80
|
const { locale } = useI18n()
|
|
91
81
|
|
|
@@ -93,7 +83,6 @@ const { name } = useDisplay()
|
|
|
93
83
|
|
|
94
84
|
const rootStore = useRootStore()
|
|
95
85
|
const router = useRouter()
|
|
96
|
-
const localePath = useLocalePath()
|
|
97
86
|
|
|
98
87
|
const props = defineProps({
|
|
99
88
|
item: {
|
|
@@ -103,6 +92,10 @@ const props = defineProps({
|
|
|
103
92
|
},
|
|
104
93
|
required: true,
|
|
105
94
|
},
|
|
95
|
+
pathPrefix: {
|
|
96
|
+
type: String,
|
|
97
|
+
required: true,
|
|
98
|
+
},
|
|
106
99
|
})
|
|
107
100
|
</script>
|
|
108
101
|
|
|
@@ -111,11 +111,11 @@
|
|
|
111
111
|
</template>
|
|
112
112
|
|
|
113
113
|
<script setup>
|
|
114
|
-
import { useDisplay } from "vuetify"
|
|
115
|
-
import { useNuxtApp } from "#imports"
|
|
114
|
+
import { useDisplay } from "vuetify"
|
|
115
|
+
import { useNuxtApp } from "#imports"
|
|
116
116
|
|
|
117
|
-
const { $stores } = useNuxtApp()
|
|
118
|
-
const { name } = useDisplay()
|
|
117
|
+
const { $stores } = useNuxtApp()
|
|
118
|
+
const { name } = useDisplay()
|
|
119
119
|
const props = defineProps({
|
|
120
120
|
item: {
|
|
121
121
|
type: Object,
|
|
@@ -126,6 +126,6 @@ const props = defineProps({
|
|
|
126
126
|
required: false,
|
|
127
127
|
default: false,
|
|
128
128
|
},
|
|
129
|
-
})
|
|
130
|
-
$stores.projects.loading = false
|
|
129
|
+
})
|
|
130
|
+
$stores.projects.loading = false
|
|
131
131
|
</script>
|
|
@@ -3,9 +3,7 @@
|
|
|
3
3
|
v-ripple
|
|
4
4
|
no-gutters
|
|
5
5
|
class="cursor-pointer highlight-on-hover my-2"
|
|
6
|
-
@click="
|
|
7
|
-
$router.push(localePath('/activities/publications/' + item.slug[locale]))
|
|
8
|
-
"
|
|
6
|
+
@click="$router.push(pathPrefix)"
|
|
9
7
|
>
|
|
10
8
|
<v-col v-if="mdAndUp" cols="1" class="align-center">
|
|
11
9
|
<MiscAtomsImageContainer
|
|
@@ -15,9 +13,6 @@
|
|
|
15
13
|
item && item.image && item.image.url ? item.image.url : '/default.png'
|
|
16
14
|
"
|
|
17
15
|
:ratio="1 / 1"
|
|
18
|
-
:name="item.lastname + ' ' + item.firstname"
|
|
19
|
-
:slug="item.slug && item.slug[locale]"
|
|
20
|
-
link="activities-publications-slug"
|
|
21
16
|
width="80px"
|
|
22
17
|
/>
|
|
23
18
|
</v-col>
|
|
@@ -81,12 +76,11 @@
|
|
|
81
76
|
<script setup>
|
|
82
77
|
import { useDisplay } from "vuetify"
|
|
83
78
|
import { useRootStore } from "../../stores/root"
|
|
84
|
-
import { computed, useNuxtApp, useI18n
|
|
79
|
+
import { computed, useNuxtApp, useI18n } from "#imports"
|
|
85
80
|
const rootStore = useRootStore()
|
|
86
81
|
|
|
87
82
|
const { $stores } = useNuxtApp()
|
|
88
83
|
const { name, mdAndUp } = useDisplay()
|
|
89
|
-
const localePath = useLocalePath()
|
|
90
84
|
const { locale } = useI18n()
|
|
91
85
|
const props = defineProps({
|
|
92
86
|
item: {
|
|
@@ -97,6 +91,10 @@ const props = defineProps({
|
|
|
97
91
|
type: Number,
|
|
98
92
|
required: true,
|
|
99
93
|
},
|
|
94
|
+
pathPrefix: {
|
|
95
|
+
type: String,
|
|
96
|
+
required: true,
|
|
97
|
+
},
|
|
100
98
|
})
|
|
101
99
|
|
|
102
100
|
const eventCategory = computed(() => {
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<v-sheet
|
|
3
|
-
:to="
|
|
4
|
-
localePath({
|
|
5
|
-
name: 'activities-publicationss-slug',
|
|
6
|
-
params: { slug: item.name },
|
|
7
|
-
})
|
|
8
|
-
"
|
|
9
|
-
>
|
|
2
|
+
<v-sheet>
|
|
10
3
|
<v-row>
|
|
11
4
|
<v-col v-if="lgAndUp" cols="3">
|
|
12
5
|
<MiscAtomsImageContainer
|
|
@@ -14,8 +7,6 @@
|
|
|
14
7
|
:src="item.image"
|
|
15
8
|
:loading="rootStore.loading"
|
|
16
9
|
:ratio="1 / 1"
|
|
17
|
-
:link="item.name"
|
|
18
|
-
name="activities-publicationss-slug"
|
|
19
10
|
/>
|
|
20
11
|
</v-col>
|
|
21
12
|
<v-col cols="12" lg="9">
|
|
@@ -36,11 +27,11 @@
|
|
|
36
27
|
<script setup>
|
|
37
28
|
import { useDisplay } from "vuetify"
|
|
38
29
|
import { useRootStore } from "../../stores/root"
|
|
39
|
-
import { useLocalePath } from "#imports"
|
|
40
30
|
|
|
41
|
-
const localePath = useLocalePath()
|
|
42
31
|
const rootStore = useRootStore()
|
|
43
32
|
const { lgAndUp } = useDisplay()
|
|
44
33
|
|
|
45
|
-
const props = defineProps({
|
|
34
|
+
const props = defineProps({
|
|
35
|
+
item: { type: Object, required: true },
|
|
36
|
+
})
|
|
46
37
|
</script>
|
|
@@ -5,9 +5,6 @@
|
|
|
5
5
|
:src="item.image.url ? item.image : '/default.png'"
|
|
6
6
|
:loading="$stores.publications.loading"
|
|
7
7
|
:ratio="1 / 1"
|
|
8
|
-
:title="item.name"
|
|
9
|
-
link="activities-publications-slug"
|
|
10
|
-
:slug="item.slug[locale]"
|
|
11
8
|
/>
|
|
12
9
|
</v-col>
|
|
13
10
|
<v-col
|
|
@@ -18,9 +15,7 @@
|
|
|
18
15
|
lg="9"
|
|
19
16
|
xl="10"
|
|
20
17
|
class="px-6 cursor-pointer"
|
|
21
|
-
@click="
|
|
22
|
-
router.push(localePath('/activities/publications/' + item.slug[locale]))
|
|
23
|
-
"
|
|
18
|
+
@click="router.push(pathPrefix)"
|
|
24
19
|
>
|
|
25
20
|
<div>
|
|
26
21
|
<v-skeleton-loader
|
|
@@ -49,12 +44,7 @@
|
|
|
49
44
|
class="mt-4"
|
|
50
45
|
variant="outlined"
|
|
51
46
|
tile
|
|
52
|
-
:to="
|
|
53
|
-
localePath({
|
|
54
|
-
name: 'publications-slug',
|
|
55
|
-
params: { slug: item.slug[locale] },
|
|
56
|
-
})
|
|
57
|
-
"
|
|
47
|
+
:to="pathPrefix"
|
|
58
48
|
:size="
|
|
59
49
|
['small', 'small', 'small', 'default', 'default', 'large'][
|
|
60
50
|
['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].indexOf(name || 'md')
|
|
@@ -87,13 +77,11 @@
|
|
|
87
77
|
|
|
88
78
|
<script setup>
|
|
89
79
|
import { useDisplay } from "vuetify"
|
|
90
|
-
import { useNuxtApp, useI18n,
|
|
80
|
+
import { useNuxtApp, useI18n, useRouter } from "#imports"
|
|
91
81
|
|
|
92
82
|
const { name } = useDisplay()
|
|
93
|
-
const { locale } = useI18n()
|
|
94
83
|
const { $stores } = useNuxtApp()
|
|
95
84
|
const router = useRouter()
|
|
96
|
-
const localePath = useLocalePath()
|
|
97
85
|
const props = defineProps({
|
|
98
86
|
item: {
|
|
99
87
|
type: Object,
|
|
@@ -102,6 +90,10 @@ const props = defineProps({
|
|
|
102
90
|
},
|
|
103
91
|
required: true,
|
|
104
92
|
},
|
|
93
|
+
pathPrefix: {
|
|
94
|
+
type: String,
|
|
95
|
+
required: true,
|
|
96
|
+
},
|
|
105
97
|
})
|
|
106
98
|
</script>
|
|
107
99
|
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
</template>
|
|
4
4
|
|
|
5
5
|
<script setup>
|
|
6
|
-
import { useNuxtApp } from "#imports"
|
|
6
|
+
import { useNuxtApp } from "#imports"
|
|
7
7
|
|
|
8
|
-
const { $stores } = useNuxtApp()
|
|
8
|
+
const { $stores } = useNuxtApp()
|
|
9
9
|
defineProps({
|
|
10
10
|
item: {
|
|
11
11
|
type: Object,
|
|
@@ -16,7 +16,7 @@ defineProps({
|
|
|
16
16
|
required: false,
|
|
17
17
|
default: false,
|
|
18
18
|
},
|
|
19
|
-
})
|
|
19
|
+
})
|
|
20
20
|
|
|
21
|
-
$stores.tags.loading = false
|
|
21
|
+
$stores.tags.loading = false
|
|
22
22
|
</script>
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
</template>
|
|
4
4
|
|
|
5
5
|
<script setup>
|
|
6
|
-
import { useNuxtApp } from "#imports"
|
|
6
|
+
import { useNuxtApp } from "#imports"
|
|
7
7
|
|
|
8
|
-
const { $stores } = useNuxtApp()
|
|
8
|
+
const { $stores } = useNuxtApp()
|
|
9
9
|
defineProps({
|
|
10
10
|
item: {
|
|
11
11
|
type: Object,
|
|
@@ -16,7 +16,7 @@ defineProps({
|
|
|
16
16
|
required: false,
|
|
17
17
|
default: false,
|
|
18
18
|
},
|
|
19
|
-
})
|
|
19
|
+
})
|
|
20
20
|
|
|
21
|
-
$stores.users.loading = false
|
|
21
|
+
$stores.users.loading = false
|
|
22
22
|
</script>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineStore } from "pinia";
|
|
2
2
|
import SEARCH from "../graphql/list/search.gql";
|
|
3
|
-
import { useNuxtApp, useRouter
|
|
3
|
+
import { useNuxtApp, useRouter } from "#imports";
|
|
4
4
|
export const useRootStore = defineStore("rootStore", {
|
|
5
5
|
state: () => ({
|
|
6
6
|
scrolled: typeof window !== "undefined" ? window.scrollY > 0 : false,
|
|
@@ -45,7 +45,6 @@ export const useRootStore = defineStore("rootStore", {
|
|
|
45
45
|
const { currentRoute } = useRouter();
|
|
46
46
|
const query = currentRoute.value.query;
|
|
47
47
|
const filters = $stores[type]?.filters ?? {};
|
|
48
|
-
console.log("filters: ", filters);
|
|
49
48
|
if (Object.keys(query)?.length) {
|
|
50
49
|
Object.keys(query).forEach((filter) => {
|
|
51
50
|
if (filter in filters) {
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"license": "AGPL-3.0-only",
|
|
3
3
|
"main": "./dist/module.mjs",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.137",
|
|
5
5
|
"name": "@paris-ias/list",
|
|
6
6
|
"repository": {
|
|
7
7
|
"url": "git+https://github.com/IEA-Paris/list.git",
|
|
8
8
|
"type": "git"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@paris-ias/data": "^1.8.
|
|
11
|
+
"@paris-ias/data": "^1.8.54"
|
|
12
12
|
},
|
|
13
13
|
"description": "Paris IAS List Module",
|
|
14
14
|
"peerDependencies": {
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
"@nuxt/module-builder": "^0.8.4",
|
|
20
20
|
"@nuxt/schema": "^3.16.2",
|
|
21
21
|
"@nuxt/test-utils": "^3.17.2",
|
|
22
|
-
"@nuxtjs/apollo": "^5.0.0-alpha.14",
|
|
23
22
|
"@nuxtjs/i18n": "^9.5.2",
|
|
24
23
|
"@nuxtjs/mdc": "0.16.1",
|
|
25
24
|
"@pinia/nuxt": "^0.5.4",
|
|
@@ -69,6 +68,6 @@
|
|
|
69
68
|
},
|
|
70
69
|
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e",
|
|
71
70
|
"devDependencies": {
|
|
72
|
-
"@
|
|
71
|
+
"@nuxtjs/apollo": "^5.0.0-alpha.15"
|
|
73
72
|
}
|
|
74
73
|
}
|