@paris-ias/list 1.0.112 → 1.0.113
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/list/molecules/Pagination.vue +2 -0
- package/dist/runtime/components/list/organisms/List.vue +11 -1
- package/dist/runtime/runtime/components/actions/ExpandedItem.vue +14 -0
- package/dist/runtime/runtime/components/actions/RowsItem.vue +12 -0
- package/dist/runtime/runtime/components/actions/View.vue +20 -0
- package/dist/runtime/runtime/components/affiliations/ExpandedItem.vue +14 -0
- package/dist/runtime/runtime/components/affiliations/RowsItem.vue +12 -0
- package/dist/runtime/runtime/components/affiliations/View.vue +20 -0
- package/dist/runtime/runtime/components/apps/ExpandedItem.vue +14 -0
- package/dist/runtime/runtime/components/apps/RowsItem.vue +12 -0
- package/dist/runtime/runtime/components/apps/View.vue +20 -0
- package/dist/runtime/runtime/components/disciplines/ExpandedItem.vue +14 -0
- package/dist/runtime/runtime/components/disciplines/RowsItem.vue +12 -0
- package/dist/runtime/runtime/components/disciplines/View.vue +20 -0
- package/dist/runtime/runtime/components/events/Badges.vue +73 -0
- package/dist/runtime/runtime/components/events/DateTimePlace.vue +77 -0
- package/dist/runtime/runtime/components/events/DenseItem.vue +60 -0
- package/dist/runtime/runtime/components/events/ExpandedItem.vue +9 -0
- package/dist/runtime/runtime/components/events/RegisterModal.vue +50 -0
- package/dist/runtime/runtime/components/events/RelatedItem.vue +44 -0
- package/dist/runtime/runtime/components/events/RowsItem.vue +118 -0
- package/dist/runtime/runtime/components/events/SlidingItem.vue +63 -0
- package/dist/runtime/runtime/components/events/View.vue +333 -0
- package/dist/runtime/runtime/components/fellowships/Badges.vue +47 -0
- package/dist/runtime/runtime/components/fellowships/DenseItem.vue +42 -0
- package/dist/runtime/runtime/components/fellowships/ExpandedItem.vue +7 -0
- package/dist/runtime/runtime/components/fellowships/RegisterModal.vue +41 -0
- package/dist/runtime/runtime/components/fellowships/RowsItem.vue +58 -0
- package/dist/runtime/runtime/components/fellowships/View.vue +203 -0
- package/dist/runtime/runtime/components/files/ExpandedItem.vue +14 -0
- package/dist/runtime/runtime/components/files/RowsItem.vue +12 -0
- package/dist/runtime/runtime/components/files/View.vue +20 -0
- package/dist/runtime/runtime/components/list/atoms/FiltersMenu.vue +44 -0
- package/dist/runtime/runtime/components/list/atoms/ResetButton.vue +33 -0
- package/dist/runtime/runtime/components/list/atoms/ResultsList.vue +27 -0
- package/dist/runtime/runtime/components/list/atoms/SearchInput.vue +59 -0
- package/dist/runtime/runtime/components/list/atoms/SearchItem.vue +65 -0
- package/dist/runtime/runtime/components/list/atoms/SearchString.vue +160 -0
- package/dist/runtime/runtime/components/list/atoms/SortMenu.vue +80 -0
- package/dist/runtime/runtime/components/list/atoms/ViewMenu.vue +63 -0
- package/dist/runtime/runtime/components/list/atoms/itemsPerPage.vue +33 -0
- package/dist/runtime/runtime/components/list/inputs/AutoComplete.vue +24 -0
- package/dist/runtime/runtime/components/list/inputs/BooleanSwitch.vue +20 -0
- package/dist/runtime/runtime/components/list/inputs/Checkbox.vue +20 -0
- package/dist/runtime/runtime/components/list/inputs/Select.vue +28 -0
- package/dist/runtime/runtime/components/list/molecules/Filters.vue +98 -0
- package/dist/runtime/runtime/components/list/molecules/GlobalSearchInput.vue +131 -0
- package/dist/runtime/runtime/components/list/molecules/Header.vue +51 -0
- package/dist/runtime/runtime/components/list/molecules/Pagination.vue +194 -0
- package/dist/runtime/runtime/components/list/molecules/ResultsContainer.vue +78 -0
- package/dist/runtime/runtime/components/list/organisms/List.vue +110 -0
- package/dist/runtime/runtime/components/list/organisms/Results.vue +72 -0
- package/dist/runtime/runtime/components/list/organisms/Slider.vue +180 -0
- package/dist/runtime/runtime/components/list/views/Dense.vue +12 -0
- package/dist/runtime/runtime/components/list/views/Expanded.vue +10 -0
- package/dist/runtime/runtime/components/list/views/Grid.vue +13 -0
- package/dist/runtime/runtime/components/list/views/Rows.vue +12 -0
- package/dist/runtime/runtime/components/list/views/Slider.vue +147 -0
- package/dist/runtime/runtime/components/list/views/Table.vue +13 -0
- package/dist/runtime/runtime/components/mailing/ExpandedItem.vue +14 -0
- package/dist/runtime/runtime/components/mailing/RowsItem.vue +12 -0
- package/dist/runtime/runtime/components/mailing/View.vue +20 -0
- package/dist/runtime/runtime/components/misc/atoms/DateStamp.vue +101 -0
- package/dist/runtime/runtime/components/misc/atoms/ImageContainer.vue +127 -0
- package/dist/runtime/runtime/components/misc/atoms/ShareMenu.vue +61 -0
- package/dist/runtime/runtime/components/misc/atoms/Socials.vue +120 -0
- package/dist/runtime/runtime/components/misc/molecules/ChipContainer.vue +31 -0
- package/dist/runtime/runtime/components/misc/molecules/Related.vue +28 -0
- package/dist/runtime/runtime/components/misc/molecules/RelatedItems.vue +27 -0
- package/dist/runtime/runtime/components/misc/molecules/SearchItem.vue +26 -0
- package/dist/runtime/runtime/components/news/DenseItem.vue +73 -0
- package/dist/runtime/runtime/components/news/ExpandedItem.vue +145 -0
- package/dist/runtime/runtime/components/news/Header.vue +7 -0
- package/dist/runtime/runtime/components/news/RelatedItem.vue +44 -0
- package/dist/runtime/runtime/components/news/RowsItem.vue +182 -0
- package/dist/runtime/runtime/components/news/View.vue +174 -0
- package/dist/runtime/runtime/components/people/DenseItem.vue +60 -0
- package/dist/runtime/runtime/components/people/ExpandedItem.vue +14 -0
- package/dist/runtime/runtime/components/people/GroupBadges.vue +54 -0
- package/dist/runtime/runtime/components/people/RelatedItem.vue +41 -0
- package/dist/runtime/runtime/components/people/RowsItem.vue +93 -0
- package/dist/runtime/runtime/components/people/View.vue +172 -0
- package/dist/runtime/runtime/components/projects/DenseItem.vue +77 -0
- package/dist/runtime/runtime/components/projects/ExpandedItem.vue +12 -0
- package/dist/runtime/runtime/components/projects/RelatedItem.vue +44 -0
- package/dist/runtime/runtime/components/projects/RowsItem.vue +103 -0
- package/dist/runtime/runtime/components/projects/View.vue +130 -0
- package/dist/runtime/runtime/components/publications/DenseItem.vue +89 -0
- package/dist/runtime/runtime/components/publications/RelatedItem.vue +44 -0
- package/dist/runtime/runtime/components/publications/RowsItem.vue +105 -0
- package/dist/runtime/runtime/components/publications/View.vue +132 -0
- package/dist/runtime/runtime/components/tags/ExpandedItem.vue +14 -0
- package/dist/runtime/runtime/components/tags/RowsItem.vue +12 -0
- package/dist/runtime/runtime/components/tags/View.vue +20 -0
- package/dist/runtime/runtime/components/users/ExpandedItem.vue +14 -0
- package/dist/runtime/runtime/components/users/RowsItem.vue +12 -0
- package/dist/runtime/runtime/components/users/View.vue +20 -0
- package/dist/runtime/runtime/composables/useFetchItem.d.ts +6 -0
- package/dist/runtime/runtime/composables/useFetchItem.js +49 -0
- package/dist/runtime/runtime/composables/useIcons.d.ts +1 -0
- package/dist/runtime/runtime/composables/useIcons.js +30 -0
- package/dist/runtime/runtime/composables/useUtils.d.ts +12 -0
- package/dist/runtime/runtime/composables/useUtils.js +48 -0
- package/dist/runtime/runtime/graphql/buildFiltersValues.gql +35 -0
- package/dist/runtime/runtime/graphql/item/action.gql +22 -0
- package/dist/runtime/runtime/graphql/item/affiliations.gql +37 -0
- package/dist/runtime/runtime/graphql/item/apps.gql +34 -0
- package/dist/runtime/runtime/graphql/item/disciplines.gql +17 -0
- package/dist/runtime/runtime/graphql/item/events.gql +120 -0
- package/dist/runtime/runtime/graphql/item/fellowships.gql +164 -0
- package/dist/runtime/runtime/graphql/item/files.gql +25 -0
- package/dist/runtime/runtime/graphql/item/mailing.gql +10 -0
- package/dist/runtime/runtime/graphql/item/news.gql +129 -0
- package/dist/runtime/runtime/graphql/item/people.gql +174 -0
- package/dist/runtime/runtime/graphql/item/projects.gql +171 -0
- package/dist/runtime/runtime/graphql/item/publications.gql +169 -0
- package/dist/runtime/runtime/graphql/item/tags.gql +13 -0
- package/dist/runtime/runtime/graphql/item/users.gql +14 -0
- package/dist/runtime/runtime/graphql/list/action.gql +31 -0
- package/dist/runtime/runtime/graphql/list/affiliations.gql +42 -0
- package/dist/runtime/runtime/graphql/list/apps.gql +42 -0
- package/dist/runtime/runtime/graphql/list/disciplines.gql +22 -0
- package/dist/runtime/runtime/graphql/list/events.gql +44 -0
- package/dist/runtime/runtime/graphql/list/fellowships.gql +53 -0
- package/dist/runtime/runtime/graphql/list/files.gql +37 -0
- package/dist/runtime/runtime/graphql/list/mailing.gql +22 -0
- package/dist/runtime/runtime/graphql/list/news.gql +40 -0
- package/dist/runtime/runtime/graphql/list/people.gql +50 -0
- package/dist/runtime/runtime/graphql/list/projects.gql +37 -0
- package/dist/runtime/runtime/graphql/list/publications.gql +38 -0
- package/dist/runtime/runtime/graphql/list/search.gql +161 -0
- package/dist/runtime/runtime/graphql/list/tags.gql +22 -0
- package/dist/runtime/runtime/graphql/list/users.gql +38 -0
- package/dist/runtime/runtime/graphql/login.gql +0 -0
- package/dist/runtime/runtime/plugins/pinia.d.ts +2 -0
- package/dist/runtime/runtime/plugins/pinia.js +134 -0
- package/dist/runtime/runtime/plugins/vuetify.d.ts +2 -0
- package/dist/runtime/runtime/plugins/vuetify.js +21 -0
- package/dist/runtime/runtime/public/default.png +0 -0
- package/dist/runtime/runtime/public/filters.json +72 -0
- package/dist/runtime/runtime/server/tsconfig.json +3 -0
- package/dist/runtime/runtime/stores/factory.d.ts +25 -0
- package/dist/runtime/runtime/stores/factory.js +19 -0
- package/dist/runtime/runtime/stores/root.d.ts +60 -0
- package/dist/runtime/runtime/stores/root.js +315 -0
- package/dist/runtime/runtime/translations/en.json +350 -0
- package/dist/runtime/runtime/translations/fr.json +349 -0
- package/dist/runtime/runtime/types/imports.d.ts +13 -0
- package/dist/runtime/runtime/types/stores.d.ts +11 -0
- package/package.json +1 -1
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<v-sheet
|
|
3
|
+
:to="
|
|
4
|
+
localePath({
|
|
5
|
+
name: 'activities-projects-slug',
|
|
6
|
+
params: { slug: item.name },
|
|
7
|
+
})
|
|
8
|
+
"
|
|
9
|
+
>
|
|
10
|
+
<v-row>
|
|
11
|
+
<v-col v-if="lgAndUp" cols="3">
|
|
12
|
+
<MiscAtomsImageContainer
|
|
13
|
+
contain
|
|
14
|
+
:src="item.image"
|
|
15
|
+
:loading="rootStore.loading"
|
|
16
|
+
:ratio="1 / 1"
|
|
17
|
+
:link="item.name"
|
|
18
|
+
name="activities-projects-slug"
|
|
19
|
+
/>
|
|
20
|
+
</v-col>
|
|
21
|
+
<v-col cols="12" lg="9">
|
|
22
|
+
<v-skeleton-loader v-if="rootStore.loading" type="heading, text@3" />
|
|
23
|
+
<template v-else>
|
|
24
|
+
<div class="text-h6">
|
|
25
|
+
{{ item.name }}
|
|
26
|
+
</div>
|
|
27
|
+
<div class="text-body-1">
|
|
28
|
+
{{ item.shortDescription }}
|
|
29
|
+
</div>
|
|
30
|
+
</template>
|
|
31
|
+
</v-col>
|
|
32
|
+
</v-row>
|
|
33
|
+
</v-sheet>
|
|
34
|
+
</template>
|
|
35
|
+
|
|
36
|
+
<script setup>
|
|
37
|
+
import { useDisplay } from "vuetify";
|
|
38
|
+
import { useRootStore } from "../../stores/root";
|
|
39
|
+
import { useLocalePath } from "#imports";
|
|
40
|
+
const localePath = useLocalePath();
|
|
41
|
+
const rootStore = useRootStore();
|
|
42
|
+
const { lgAndUp } = useDisplay();
|
|
43
|
+
const props = defineProps({ item: { type: Object, required: true } });
|
|
44
|
+
</script>
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<v-row class="highlight-on-hover pa-3">
|
|
3
|
+
<v-col v-ripple cols="12" sm="6" md="4" lg="3" xl="2">
|
|
4
|
+
<MiscAtomsImageContainer
|
|
5
|
+
contain
|
|
6
|
+
:src="item.image"
|
|
7
|
+
:loading="$stores.projects.loading"
|
|
8
|
+
:ratio="1 / 1"
|
|
9
|
+
:title="item.name"
|
|
10
|
+
link="activities-projects-slug"
|
|
11
|
+
:slug="item.slug[locale]"
|
|
12
|
+
/>
|
|
13
|
+
</v-col>
|
|
14
|
+
<v-col
|
|
15
|
+
v-ripple
|
|
16
|
+
cols="12"
|
|
17
|
+
sm="6"
|
|
18
|
+
md="8"
|
|
19
|
+
lg="9"
|
|
20
|
+
xl="10"
|
|
21
|
+
class="px-6 cursor-pointer"
|
|
22
|
+
@click="
|
|
23
|
+
router.push(localePath('/activities/projects/' + item.slug[locale]))
|
|
24
|
+
"
|
|
25
|
+
>
|
|
26
|
+
<v-skeleton-loader
|
|
27
|
+
v-if="rootStore.loading"
|
|
28
|
+
type="heading,ossein,text@8,ossein,button,button"
|
|
29
|
+
/>
|
|
30
|
+
|
|
31
|
+
<template v-else>
|
|
32
|
+
<div class="text-h5 text-sm-h3 text-md-h4 text-md-h4 my-6">
|
|
33
|
+
{{ item.name }}
|
|
34
|
+
</div>
|
|
35
|
+
<div
|
|
36
|
+
v-if="item.summary"
|
|
37
|
+
class="mt-n3 text-wrap clamped-text"
|
|
38
|
+
:style="
|
|
39
|
+
'-webkit-line-clamp:' +
|
|
40
|
+
[5, 5, 4, 8, 10][
|
|
41
|
+
['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].indexOf(name || 'md')
|
|
42
|
+
]
|
|
43
|
+
"
|
|
44
|
+
>
|
|
45
|
+
<MDC :value="item.summary" />
|
|
46
|
+
</div>
|
|
47
|
+
|
|
48
|
+
<v-btn
|
|
49
|
+
class="mt-4"
|
|
50
|
+
variant="outlined"
|
|
51
|
+
tile
|
|
52
|
+
:to="
|
|
53
|
+
localePath({
|
|
54
|
+
name: 'project-slug',
|
|
55
|
+
params: { slug: item.slug[locale] },
|
|
56
|
+
})
|
|
57
|
+
"
|
|
58
|
+
:size="
|
|
59
|
+
['small', 'small', 'small', 'default', 'default', 'large'][
|
|
60
|
+
['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].indexOf(name || 'md')
|
|
61
|
+
]
|
|
62
|
+
"
|
|
63
|
+
>
|
|
64
|
+
{{ $t("read-more") }}
|
|
65
|
+
</v-btn>
|
|
66
|
+
<v-btn
|
|
67
|
+
variant="outlined"
|
|
68
|
+
tile
|
|
69
|
+
class="mt-4 ml-4"
|
|
70
|
+
prepend-icon="mdi-web"
|
|
71
|
+
:size="
|
|
72
|
+
['small', 'small', 'small', 'default', 'default', 'large'][
|
|
73
|
+
['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].indexOf(name || 'md')
|
|
74
|
+
]
|
|
75
|
+
"
|
|
76
|
+
>
|
|
77
|
+
{{ $t("visit-the-project-website") }}
|
|
78
|
+
</v-btn>
|
|
79
|
+
</template>
|
|
80
|
+
</v-col>
|
|
81
|
+
</v-row>
|
|
82
|
+
<v-divider />
|
|
83
|
+
</template>
|
|
84
|
+
|
|
85
|
+
<script setup>
|
|
86
|
+
import { useDisplay } from "vuetify";
|
|
87
|
+
import { useRootStore } from "../../stores/root";
|
|
88
|
+
import { useRouter, useLocalePath, useI18n } from "#imports";
|
|
89
|
+
const { locale } = useI18n();
|
|
90
|
+
const { name } = useDisplay();
|
|
91
|
+
const rootStore = useRootStore();
|
|
92
|
+
const router = useRouter();
|
|
93
|
+
const localePath = useLocalePath();
|
|
94
|
+
const props = defineProps({
|
|
95
|
+
item: {
|
|
96
|
+
type: Object,
|
|
97
|
+
default: () => {
|
|
98
|
+
return {};
|
|
99
|
+
},
|
|
100
|
+
required: true
|
|
101
|
+
}
|
|
102
|
+
});
|
|
103
|
+
</script>
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<!-- {{ name }} -->
|
|
3
|
+
<v-row justify="center">
|
|
4
|
+
<v-col cols="12" sm="11" md="8" lg="8" xl="6">
|
|
5
|
+
<v-row class="justify-center">
|
|
6
|
+
<v-col cols="12" sm="10" md="6" lg="4" xl="3" class="text-center">
|
|
7
|
+
<!-- PROJECT IMAGE -->
|
|
8
|
+
<v-skeleton-loader v-if="loading" height="100%" type="image" />
|
|
9
|
+
|
|
10
|
+
<MiscAtomsImageContainer
|
|
11
|
+
v-else
|
|
12
|
+
contain
|
|
13
|
+
:loading="loading"
|
|
14
|
+
:src="item.image.url ? item.image : '/default.png'"
|
|
15
|
+
:ratio="1 / 1"
|
|
16
|
+
/>
|
|
17
|
+
</v-col>
|
|
18
|
+
</v-row>
|
|
19
|
+
<v-skeleton-loader
|
|
20
|
+
v-if="loading"
|
|
21
|
+
:type="
|
|
22
|
+
[
|
|
23
|
+
'avatar, paragraph',
|
|
24
|
+
'avatar, paragraph',
|
|
25
|
+
'heading, ossein, avatar, text, ossein, chip@3',
|
|
26
|
+
'heading, ossein, avatar, text, ossein, chip@3',
|
|
27
|
+
'heading, ossein, avatar, text, ossein, chip@3',
|
|
28
|
+
'heading',
|
|
29
|
+
][['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].indexOf(name || 'md')]
|
|
30
|
+
"
|
|
31
|
+
/>
|
|
32
|
+
|
|
33
|
+
<div v-else class="d-flex align-center flex-column mt-12">
|
|
34
|
+
<div class="d-flex text-center text-wrap text-h3 text-black">
|
|
35
|
+
{{ item.name }}
|
|
36
|
+
</div>
|
|
37
|
+
<v-divider width="154px" class="mb-1 mt-6" />
|
|
38
|
+
<v-divider width="154px" />
|
|
39
|
+
<div
|
|
40
|
+
v-if="!loading"
|
|
41
|
+
class="d-flex text-center text-wrap text-h5 text-black mt-6"
|
|
42
|
+
>
|
|
43
|
+
<MDC v-if="item.subtitle" :value="item.subtitle" />
|
|
44
|
+
</div>
|
|
45
|
+
<MiscMoleculesChipContainer
|
|
46
|
+
v-if="item && item.tags"
|
|
47
|
+
:items="item.tags"
|
|
48
|
+
class="py-6 mt-4 align-self-center"
|
|
49
|
+
/>
|
|
50
|
+
<v-btn-toggle variant="outlined">
|
|
51
|
+
<MiscAtomsShareMenu :item class="mt-6" />
|
|
52
|
+
</v-btn-toggle>
|
|
53
|
+
<v-btn
|
|
54
|
+
v-if="item.url"
|
|
55
|
+
class="my-6 d-flex"
|
|
56
|
+
variant="outlined"
|
|
57
|
+
:href="item.url"
|
|
58
|
+
target="_blank"
|
|
59
|
+
prepend-icon="mdi-link"
|
|
60
|
+
>
|
|
61
|
+
{{ $t("visit-this-project-website") }}
|
|
62
|
+
</v-btn>
|
|
63
|
+
</div>
|
|
64
|
+
|
|
65
|
+
<!-- DIVIDERS -->
|
|
66
|
+
<v-responsive class="mx-auto my-9" width="120">
|
|
67
|
+
<v-divider class="mb-1" />
|
|
68
|
+
<v-divider />
|
|
69
|
+
</v-responsive>
|
|
70
|
+
|
|
71
|
+
<!-- PROJECT DESCRIPTION -->
|
|
72
|
+
<v-skeleton-loader
|
|
73
|
+
v-if="loading"
|
|
74
|
+
:type="
|
|
75
|
+
['text@50', 'text@50', 'text@50', 'text@50', 'text@50', 'text@50'][
|
|
76
|
+
['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].indexOf(name || 'md')
|
|
77
|
+
]
|
|
78
|
+
"
|
|
79
|
+
/>
|
|
80
|
+
<div v-if="item.description" class="mt-md-n2 mx-10 mx-md-0">
|
|
81
|
+
<MDC :value="item.description" />
|
|
82
|
+
</div>
|
|
83
|
+
</v-col>
|
|
84
|
+
</v-row>
|
|
85
|
+
|
|
86
|
+
<!-- DIVIDERS -->
|
|
87
|
+
<v-responsive class="mx-auto my-9" width="120">
|
|
88
|
+
<v-divider class="mb-1" />
|
|
89
|
+
<v-divider />
|
|
90
|
+
</v-responsive>
|
|
91
|
+
<!-- <MiscAtomsSlidingCarousel
|
|
92
|
+
v-if="item && item.gallery && item.gallery.length"
|
|
93
|
+
ref="MiscAtomsImage"
|
|
94
|
+
key="MiscAtomsImage"
|
|
95
|
+
:items="item.gallery"
|
|
96
|
+
type="MiscAtomsImage"
|
|
97
|
+
:loading="false"
|
|
98
|
+
:more="false"
|
|
99
|
+
>
|
|
100
|
+
<div :class="mdAndUp ? 'text-h5' : 'text-h6'">
|
|
101
|
+
{{ $t("gallery") }}
|
|
102
|
+
</div>
|
|
103
|
+
</MiscAtomsSlidingCarousel> -->
|
|
104
|
+
<!-- DIVIDERS -->
|
|
105
|
+
<v-responsive class="mx-auto my-9" width="120">
|
|
106
|
+
<v-divider class="mb-1" />
|
|
107
|
+
<v-divider />
|
|
108
|
+
</v-responsive>
|
|
109
|
+
|
|
110
|
+
<MiscMoleculesRelated v-if="item && item.related" :related="item.related" />
|
|
111
|
+
</template>
|
|
112
|
+
|
|
113
|
+
<script setup>
|
|
114
|
+
import { useDisplay } from "vuetify";
|
|
115
|
+
import { useNuxtApp } from "#imports";
|
|
116
|
+
const { $stores } = useNuxtApp();
|
|
117
|
+
const { name } = useDisplay();
|
|
118
|
+
const props = defineProps({
|
|
119
|
+
item: {
|
|
120
|
+
type: Object,
|
|
121
|
+
required: true
|
|
122
|
+
},
|
|
123
|
+
loading: {
|
|
124
|
+
type: Boolean,
|
|
125
|
+
required: false,
|
|
126
|
+
default: false
|
|
127
|
+
}
|
|
128
|
+
});
|
|
129
|
+
$stores.projects.loading = false;
|
|
130
|
+
</script>
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<v-row
|
|
3
|
+
v-ripple
|
|
4
|
+
no-gutters
|
|
5
|
+
class="cursor-pointer highlight-on-hover my-2"
|
|
6
|
+
@click="
|
|
7
|
+
$router.push(localePath('/activities/publications/' + item.slug[locale]))
|
|
8
|
+
"
|
|
9
|
+
>
|
|
10
|
+
<v-col v-if="mdAndUp" align-self="center" cols="1">
|
|
11
|
+
<MiscAtomsImageContainer
|
|
12
|
+
cover
|
|
13
|
+
:loading="$stores.people.loading"
|
|
14
|
+
:src="item.image.url ? item.image : '/default.png'"
|
|
15
|
+
:ratio="1 / 1"
|
|
16
|
+
:name="item.lastname + ' ' + item.firstname"
|
|
17
|
+
:slug="item.slug[locale]"
|
|
18
|
+
link="activities-publications-slug"
|
|
19
|
+
width="80px"
|
|
20
|
+
/>
|
|
21
|
+
</v-col>
|
|
22
|
+
<v-col align-self="center" class="text-h5 dense pl-2">
|
|
23
|
+
<v-skeleton-loader v-if="rootStore.loading" type="heading" />
|
|
24
|
+
<template v-else>
|
|
25
|
+
{{ item.name }}
|
|
26
|
+
<div class="text-body-2">
|
|
27
|
+
{{ item.summary }}
|
|
28
|
+
</div>
|
|
29
|
+
</template>
|
|
30
|
+
</v-col>
|
|
31
|
+
|
|
32
|
+
<v-col align-self="center">
|
|
33
|
+
<v-skeleton-loader
|
|
34
|
+
v-if="rootStore.loading"
|
|
35
|
+
:type="
|
|
36
|
+
['chip', 'chip@2', 'chip@3', 'chip@4', 'chip@4', 'chip@4'][
|
|
37
|
+
['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].indexOf(name || 'md')
|
|
38
|
+
]
|
|
39
|
+
"
|
|
40
|
+
/>
|
|
41
|
+
|
|
42
|
+
<template v-else>
|
|
43
|
+
<v-chip class="ma-2" style="background-color: white; color: black">
|
|
44
|
+
{{ $t(eventCategory) }} </v-chip
|
|
45
|
+
><v-chip class="ma-2" style="background-color: white; color: black">
|
|
46
|
+
{{ $t(eventType) }}
|
|
47
|
+
</v-chip>
|
|
48
|
+
<MiscMoleculesChipContainer :items="item.tags" size="small" />
|
|
49
|
+
</template>
|
|
50
|
+
</v-col>
|
|
51
|
+
</v-row>
|
|
52
|
+
</template>
|
|
53
|
+
|
|
54
|
+
<script setup>
|
|
55
|
+
import { useDisplay } from "vuetify";
|
|
56
|
+
import { useRootStore } from "../../stores/root";
|
|
57
|
+
import { computed, useNuxtApp, useI18n, useLocalePath } from "#imports";
|
|
58
|
+
const { $stores } = useNuxtApp();
|
|
59
|
+
const { name, mdAndUp } = useDisplay();
|
|
60
|
+
const localePath = useLocalePath();
|
|
61
|
+
const { locale } = useI18n();
|
|
62
|
+
const rootStore = useRootStore();
|
|
63
|
+
const props = defineProps({
|
|
64
|
+
item: {
|
|
65
|
+
type: Object,
|
|
66
|
+
required: true
|
|
67
|
+
},
|
|
68
|
+
index: {
|
|
69
|
+
type: Number,
|
|
70
|
+
required: true
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
const eventCategory = computed(() => {
|
|
74
|
+
if (props.item.category) {
|
|
75
|
+
console.log("props.item.category: ", props.item.category);
|
|
76
|
+
return "list.filters.publications.category." + props.item.category;
|
|
77
|
+
} else {
|
|
78
|
+
return "list.filters.publications.category.OTHERS";
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
const eventType = computed(() => {
|
|
82
|
+
if (props.item.type) {
|
|
83
|
+
console.log("props.item.type: ", props.item.type);
|
|
84
|
+
return "list.filters.publications.type." + props.item.type;
|
|
85
|
+
} else {
|
|
86
|
+
return "list.filters.publications.type.OTHERS";
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
</script>
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<v-sheet
|
|
3
|
+
:to="
|
|
4
|
+
localePath({
|
|
5
|
+
name: 'activities-publicationss-slug',
|
|
6
|
+
params: { slug: item.name },
|
|
7
|
+
})
|
|
8
|
+
"
|
|
9
|
+
>
|
|
10
|
+
<v-row>
|
|
11
|
+
<v-col v-if="lgAndUp" cols="3">
|
|
12
|
+
<MiscAtomsImageContainer
|
|
13
|
+
contain
|
|
14
|
+
:src="item.image"
|
|
15
|
+
:loading="rootStore.loading"
|
|
16
|
+
:ratio="1 / 1"
|
|
17
|
+
:link="item.name"
|
|
18
|
+
name="activities-publicationss-slug"
|
|
19
|
+
/>
|
|
20
|
+
</v-col>
|
|
21
|
+
<v-col cols="12" lg="9">
|
|
22
|
+
<v-skeleton-loader v-if="rootStore.loading" type="heading, text@3" />
|
|
23
|
+
<template v-else>
|
|
24
|
+
<div class="text-h6">
|
|
25
|
+
{{ item.name }}
|
|
26
|
+
</div>
|
|
27
|
+
<div class="text-body-1">
|
|
28
|
+
{{ item.shortDescription }}
|
|
29
|
+
</div>
|
|
30
|
+
</template>
|
|
31
|
+
</v-col>
|
|
32
|
+
</v-row>
|
|
33
|
+
</v-sheet>
|
|
34
|
+
</template>
|
|
35
|
+
|
|
36
|
+
<script setup>
|
|
37
|
+
import { useDisplay } from "vuetify";
|
|
38
|
+
import { useRootStore } from "../../stores/root";
|
|
39
|
+
import { useLocalePath } from "#imports";
|
|
40
|
+
const localePath = useLocalePath();
|
|
41
|
+
const rootStore = useRootStore();
|
|
42
|
+
const { lgAndUp } = useDisplay();
|
|
43
|
+
const props = defineProps({ item: { type: Object, required: true } });
|
|
44
|
+
</script>
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<v-col v-ripple cols="12" sm="6" md="4" lg="3" xl="2">
|
|
3
|
+
<MiscAtomsImageContainer
|
|
4
|
+
contain
|
|
5
|
+
:src="item.image.url ? item.image : '/default.png'"
|
|
6
|
+
:loading="$stores.publications.loading"
|
|
7
|
+
:ratio="1 / 1"
|
|
8
|
+
:title="item.name"
|
|
9
|
+
link="activities-publications-slug"
|
|
10
|
+
:slug="item.slug[locale]"
|
|
11
|
+
/>
|
|
12
|
+
</v-col>
|
|
13
|
+
<v-col
|
|
14
|
+
v-ripple
|
|
15
|
+
cols="12"
|
|
16
|
+
sm="6"
|
|
17
|
+
md="8"
|
|
18
|
+
lg="9"
|
|
19
|
+
xl="10"
|
|
20
|
+
class="px-6 cursor-pointer"
|
|
21
|
+
@click="
|
|
22
|
+
router.push(localePath('/activities/publications/' + item.slug[locale]))
|
|
23
|
+
"
|
|
24
|
+
>
|
|
25
|
+
<div>
|
|
26
|
+
<v-skeleton-loader
|
|
27
|
+
v-if="$stores.publications.loading"
|
|
28
|
+
type="heading,ossein,text@8,ossein,button,button"
|
|
29
|
+
/>
|
|
30
|
+
|
|
31
|
+
<template v-else>
|
|
32
|
+
<div v-if="item.type" class="text-overline">{{ $t(item.type) }}</div>
|
|
33
|
+
<div class="text-h5 text-sm-h3 text-md-h4 text-md-h4 my-6">
|
|
34
|
+
{{ item.name }}
|
|
35
|
+
</div>
|
|
36
|
+
<div
|
|
37
|
+
v-if="item.summary"
|
|
38
|
+
class="text-wrap clamped-text"
|
|
39
|
+
:style="
|
|
40
|
+
'-webkit-line-clamp:' +
|
|
41
|
+
[5, 5, 5, 10, 12, 14][
|
|
42
|
+
['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].indexOf(name || 'md')
|
|
43
|
+
]
|
|
44
|
+
"
|
|
45
|
+
>
|
|
46
|
+
<MDC :value="item.summary" />
|
|
47
|
+
</div>
|
|
48
|
+
<v-btn
|
|
49
|
+
class="mt-4"
|
|
50
|
+
variant="outlined"
|
|
51
|
+
tile
|
|
52
|
+
:to="
|
|
53
|
+
localePath({
|
|
54
|
+
name: 'publications-slug',
|
|
55
|
+
params: { slug: item.slug[locale] },
|
|
56
|
+
})
|
|
57
|
+
"
|
|
58
|
+
:size="
|
|
59
|
+
['small', 'small', 'small', 'default', 'default', 'large'][
|
|
60
|
+
['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].indexOf(name || 'md')
|
|
61
|
+
]
|
|
62
|
+
"
|
|
63
|
+
>
|
|
64
|
+
{{ $t("read-more") }}
|
|
65
|
+
</v-btn>
|
|
66
|
+
<v-btn
|
|
67
|
+
v-if="item.url"
|
|
68
|
+
variant="outlined"
|
|
69
|
+
tile
|
|
70
|
+
target="_blank"
|
|
71
|
+
:href="item.url"
|
|
72
|
+
class="mt-4 ml-4"
|
|
73
|
+
prepend-icon="mdi-web"
|
|
74
|
+
:size="
|
|
75
|
+
['small', 'small', 'small', 'default', 'default', 'large'][
|
|
76
|
+
['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].indexOf(name || 'md')
|
|
77
|
+
]
|
|
78
|
+
"
|
|
79
|
+
>
|
|
80
|
+
{{ $t("visit-the-publications-website") }}
|
|
81
|
+
</v-btn>
|
|
82
|
+
</template>
|
|
83
|
+
</div>
|
|
84
|
+
</v-col>
|
|
85
|
+
<v-divider />
|
|
86
|
+
</template>
|
|
87
|
+
|
|
88
|
+
<script setup>
|
|
89
|
+
import { useDisplay } from "vuetify";
|
|
90
|
+
import { useNuxtApp, useI18n, useLocalePath, useRouter } from "#imports";
|
|
91
|
+
const { name } = useDisplay();
|
|
92
|
+
const { locale } = useI18n();
|
|
93
|
+
const { $stores } = useNuxtApp();
|
|
94
|
+
const router = useRouter();
|
|
95
|
+
const localePath = useLocalePath();
|
|
96
|
+
const props = defineProps({
|
|
97
|
+
item: {
|
|
98
|
+
type: Object,
|
|
99
|
+
default: () => {
|
|
100
|
+
return {};
|
|
101
|
+
},
|
|
102
|
+
required: true
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
</script>
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<!-- {{ name }} -->
|
|
3
|
+
<v-row justify="center">
|
|
4
|
+
<v-col cols="12" sm="11" md="8" lg="8" xl="6">
|
|
5
|
+
<v-row class="justify-center">
|
|
6
|
+
<v-col cols="12" sm="10" md="6" lg="4" xl="3" class="text-center">
|
|
7
|
+
<!-- PUBLICATIONS IMAGE -->
|
|
8
|
+
|
|
9
|
+
<v-skeleton-loader v-if="loading" height="100%" type="image" />
|
|
10
|
+
|
|
11
|
+
<MiscAtomsImageContainer
|
|
12
|
+
v-else
|
|
13
|
+
contain
|
|
14
|
+
:loading="$stores.publications.loading"
|
|
15
|
+
:src="item.image.url ? item.image : '/default.png'"
|
|
16
|
+
:ratio="1 / 1"
|
|
17
|
+
/>
|
|
18
|
+
</v-col>
|
|
19
|
+
</v-row>
|
|
20
|
+
<v-skeleton-loader
|
|
21
|
+
v-if="loading"
|
|
22
|
+
:type="
|
|
23
|
+
[
|
|
24
|
+
'avatar, paragraph',
|
|
25
|
+
'avatar, paragraph',
|
|
26
|
+
'heading, ossein, avatar, text, ossein, chip@3',
|
|
27
|
+
'heading, ossein, avatar, text, ossein, chip@3',
|
|
28
|
+
'heading, ossein, avatar, text, ossein, chip@3',
|
|
29
|
+
'heading',
|
|
30
|
+
][['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].indexOf(name || 'md')]
|
|
31
|
+
"
|
|
32
|
+
/>
|
|
33
|
+
|
|
34
|
+
<div v-else class="d-flex align-center flex-column mt-12">
|
|
35
|
+
<div class="d-flex text-center text-wrap text-h3 text-black">
|
|
36
|
+
{{ item.name }}
|
|
37
|
+
</div>
|
|
38
|
+
<v-divider width="154px" class="mb-1 mt-6" />
|
|
39
|
+
<v-divider width="154px" />
|
|
40
|
+
<div class="overline my-2">
|
|
41
|
+
{{ formatDateValue(item.date, locale) }}
|
|
42
|
+
</div>
|
|
43
|
+
<MiscMoleculesChipContainer
|
|
44
|
+
v-if="item.tags && item.tags.length"
|
|
45
|
+
:items="item.tags"
|
|
46
|
+
class="py-6 mt-4 align-self-center"
|
|
47
|
+
/>
|
|
48
|
+
<v-btn-toggle variant="outlined">
|
|
49
|
+
<MiscAtomsShareMenu :item class="mt-6" />
|
|
50
|
+
<v-btn
|
|
51
|
+
v-if="item.url"
|
|
52
|
+
class="my-6 d-flex"
|
|
53
|
+
variant="outlined"
|
|
54
|
+
:href="item.url"
|
|
55
|
+
target="_blank"
|
|
56
|
+
prepend-icon="mdi-link"
|
|
57
|
+
>
|
|
58
|
+
{{ $t("visit-this-publications-website") }}
|
|
59
|
+
</v-btn>
|
|
60
|
+
</v-btn-toggle>
|
|
61
|
+
</div>
|
|
62
|
+
|
|
63
|
+
<!-- DIVIDERS -->
|
|
64
|
+
<v-responsive class="mx-auto my-9" width="120">
|
|
65
|
+
<v-divider class="mb-1" />
|
|
66
|
+
<v-divider />
|
|
67
|
+
</v-responsive>
|
|
68
|
+
|
|
69
|
+
<!-- PUBLICATIONS DESCRIPTION -->
|
|
70
|
+
<v-skeleton-loader
|
|
71
|
+
v-if="loading"
|
|
72
|
+
:type="
|
|
73
|
+
['text@50', 'text@50', 'text@50', 'text@50', 'text@50', 'text@50'][
|
|
74
|
+
['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].indexOf(name || 'md')
|
|
75
|
+
]
|
|
76
|
+
"
|
|
77
|
+
/>
|
|
78
|
+
<div v-if="item.description" class="mt-md-n2 mx-10 mx-md-0">
|
|
79
|
+
<MDC :value="item.description" />
|
|
80
|
+
</div>
|
|
81
|
+
</v-col>
|
|
82
|
+
</v-row>
|
|
83
|
+
|
|
84
|
+
<!-- DIVIDERS -->
|
|
85
|
+
<v-responsive class="mx-auto my-9" width="120">
|
|
86
|
+
<v-divider class="mb-1" />
|
|
87
|
+
<v-divider />
|
|
88
|
+
</v-responsive>
|
|
89
|
+
<!-- <MiscAtomsSlidingCarousel
|
|
90
|
+
v-if="item && item.gallery && item.gallery.length"
|
|
91
|
+
ref="MiscAtomsImage"
|
|
92
|
+
key="MiscAtomsImage"
|
|
93
|
+
:items="item.gallery"
|
|
94
|
+
type="MiscAtomsImage"
|
|
95
|
+
:loading="false"
|
|
96
|
+
:more="false"
|
|
97
|
+
>
|
|
98
|
+
<div :class="mdAndUp ? 'text-h5' : 'text-h6'">
|
|
99
|
+
{{ $t("gallery") }}
|
|
100
|
+
</div>
|
|
101
|
+
</MiscAtomsSlidingCarousel> -->
|
|
102
|
+
<!-- DIVIDERS -->
|
|
103
|
+
<v-responsive class="mx-auto my-9" width="120">
|
|
104
|
+
<v-divider class="mb-1" />
|
|
105
|
+
<v-divider />
|
|
106
|
+
</v-responsive>
|
|
107
|
+
|
|
108
|
+
<MiscMoleculesRelated
|
|
109
|
+
v-if="!loading && item && item.related"
|
|
110
|
+
:related="item.related"
|
|
111
|
+
/>
|
|
112
|
+
</template>
|
|
113
|
+
|
|
114
|
+
<script setup>
|
|
115
|
+
import { useDisplay } from "vuetify";
|
|
116
|
+
import { useNuxtApp, useI18n } from "#imports";
|
|
117
|
+
const { $stores } = useNuxtApp();
|
|
118
|
+
const { name } = useDisplay();
|
|
119
|
+
const { locale } = useI18n();
|
|
120
|
+
const props = defineProps({
|
|
121
|
+
item: {
|
|
122
|
+
type: Object,
|
|
123
|
+
required: true
|
|
124
|
+
},
|
|
125
|
+
loading: {
|
|
126
|
+
type: Boolean,
|
|
127
|
+
required: false,
|
|
128
|
+
default: false
|
|
129
|
+
}
|
|
130
|
+
});
|
|
131
|
+
$stores.publications.loading = false;
|
|
132
|
+
</script>
|