@paris-ias/list 1.3.6 → 1.3.8
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
CHANGED
|
@@ -46,41 +46,48 @@
|
|
|
46
46
|
class="mt-2"
|
|
47
47
|
/>
|
|
48
48
|
<MiscMoleculesChipContainer
|
|
49
|
-
v-else
|
|
50
|
-
:items="
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
49
|
+
v-else-if="fellowshipTypeLabels.length"
|
|
50
|
+
:items="fellowshipTypeLabels"
|
|
51
|
+
class="mt-2"
|
|
52
|
+
/>
|
|
53
|
+
<!-- DISCIPLINES -->
|
|
54
|
+
<MiscMoleculesDisciplinesTags
|
|
55
|
+
v-if="loading || (item.disciplines && item.disciplines.length)"
|
|
56
|
+
:disciplines="item.disciplines"
|
|
57
|
+
:loading="loading"
|
|
58
|
+
inline
|
|
59
|
+
class="mt-2"
|
|
58
60
|
/>
|
|
59
61
|
</template>
|
|
60
62
|
</v-col>
|
|
61
63
|
|
|
62
64
|
<v-col v-if="mdAndUp" class="d-flex flex-column" cols="1">
|
|
63
65
|
<v-skeleton-loader v-if="loading" type="chip" width="260" class="mt-2" />
|
|
64
|
-
<
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
66
|
+
<template v-else>
|
|
67
|
+
<MiscMoleculesChipContainer
|
|
68
|
+
v-if="fellowshipTypeLabels.length"
|
|
69
|
+
:items="fellowshipTypeLabels"
|
|
70
|
+
class="mt-2"
|
|
71
|
+
/>
|
|
72
|
+
<!-- DISCIPLINES -->
|
|
73
|
+
<MiscMoleculesDisciplinesTags
|
|
74
|
+
v-if="item.disciplines && item.disciplines.length"
|
|
75
|
+
:disciplines="item.disciplines"
|
|
76
|
+
inline
|
|
77
|
+
class="mt-2"
|
|
78
|
+
/>
|
|
79
|
+
</template>
|
|
74
80
|
</v-col>
|
|
75
81
|
</ListMoleculesDenseItemContainer>
|
|
76
82
|
</template>
|
|
77
83
|
|
|
78
84
|
<script setup>
|
|
79
85
|
import { useDisplay } from "vuetify"
|
|
80
|
-
import { useNuxtApp, useRoute, computed } from "#imports"
|
|
86
|
+
import { useNuxtApp, useRoute, useI18n, computed } from "#imports"
|
|
81
87
|
import { highlightAndTruncate } from "../../composables/useUtils"
|
|
82
88
|
const { $rootStore, $stores } = useNuxtApp()
|
|
83
89
|
const { name } = useRoute()
|
|
90
|
+
const { t } = useI18n()
|
|
84
91
|
const { mdAndUp, mdAndDown, smAndDown } = useDisplay()
|
|
85
92
|
const searchQuery = computed(() =>
|
|
86
93
|
name.startsWith("search")
|
|
@@ -102,4 +109,12 @@ const props = defineProps({
|
|
|
102
109
|
default: false,
|
|
103
110
|
},
|
|
104
111
|
})
|
|
112
|
+
|
|
113
|
+
// fellowshipType is an array in the DB (e.g. ["LONG_STAY"]); translate each
|
|
114
|
+
// value. Tolerates a scalar too. Disciplines are rendered separately as pills.
|
|
115
|
+
const fellowshipTypeLabels = computed(() => {
|
|
116
|
+
const ft = props.item?.fellowshipType
|
|
117
|
+
const values = Array.isArray(ft) ? ft : ft ? [ft] : []
|
|
118
|
+
return values.map((v) => t("list.filters.fellowships.fellowshipType." + v))
|
|
119
|
+
})
|
|
105
120
|
</script>
|
|
@@ -33,6 +33,14 @@
|
|
|
33
33
|
:items="item.tags || []"
|
|
34
34
|
size="small"
|
|
35
35
|
/>
|
|
36
|
+
<!-- DISCIPLINES -->
|
|
37
|
+
<MiscMoleculesDisciplinesTags
|
|
38
|
+
v-if="loading || (item.disciplines && item.disciplines.length)"
|
|
39
|
+
:disciplines="item.disciplines"
|
|
40
|
+
:loading="loading"
|
|
41
|
+
inline
|
|
42
|
+
class="mt-2"
|
|
43
|
+
/>
|
|
36
44
|
<v-skeleton-loader v-if="loading" type="text@2" class="mt-3" />
|
|
37
45
|
<MDC
|
|
38
46
|
v-else-if="item.summary && item.summary.length && mdAndUp"
|
|
@@ -121,6 +121,9 @@
|
|
|
121
121
|
},
|
|
122
122
|
"status": {
|
|
123
123
|
"label": "Status",
|
|
124
|
+
"OPEN": "Open for registration",
|
|
125
|
+
"FULL": "Full",
|
|
126
|
+
"CLOSED": "Registrations closed",
|
|
124
127
|
"CANCELLED": "Cancelled",
|
|
125
128
|
"POSTPONED": "Postponed to {0}",
|
|
126
129
|
"PUBLISHED": "Published",
|
|
@@ -150,30 +153,6 @@
|
|
|
150
153
|
}
|
|
151
154
|
},
|
|
152
155
|
"news": {
|
|
153
|
-
"category": {
|
|
154
|
-
"label": "Category",
|
|
155
|
-
"ANNOUNCEMENT": "Announcement",
|
|
156
|
-
"ARTICLE": "Article",
|
|
157
|
-
"AUDIO": "Audio",
|
|
158
|
-
"AWARD": "Award",
|
|
159
|
-
"BLOG": "Blog",
|
|
160
|
-
"DATA": "Data",
|
|
161
|
-
"EVENT": "Event",
|
|
162
|
-
"FELLOWSHIP": "Fellowship",
|
|
163
|
-
"GRANT": "Grant",
|
|
164
|
-
"INTERVIEW": "Interview",
|
|
165
|
-
"JOB": "Job",
|
|
166
|
-
"LIFE_AT_THE_INSTITUTE": "Life at the institute",
|
|
167
|
-
"OPINION": "Opinion",
|
|
168
|
-
"PRESS_RELEASE": "Press release",
|
|
169
|
-
"PROJECT": "Project",
|
|
170
|
-
"PUBLICATION": "Publication",
|
|
171
|
-
"REPORT": "Report",
|
|
172
|
-
"SOFTWARE": "Software",
|
|
173
|
-
"TOOL": "Tool",
|
|
174
|
-
"VIDEO": "Video",
|
|
175
|
-
"OTHER": "Other"
|
|
176
|
-
},
|
|
177
156
|
"tags": {
|
|
178
157
|
"label": "Tags",
|
|
179
158
|
"Socioscope": "Socioscope",
|
|
@@ -251,6 +230,38 @@
|
|
|
251
230
|
"disciplines": {
|
|
252
231
|
"label": "Disciplines"
|
|
253
232
|
},
|
|
233
|
+
"mediaType": {
|
|
234
|
+
"label": "Type",
|
|
235
|
+
"FELLOWS": "Fellows",
|
|
236
|
+
"EVENTS": "Event",
|
|
237
|
+
"IDEAS": "Ideas",
|
|
238
|
+
"CONFERENCE_CYCLE": "Conference cycle",
|
|
239
|
+
"OTHER": "Other"
|
|
240
|
+
},
|
|
241
|
+
"newsCategories": {
|
|
242
|
+
"label": "Category",
|
|
243
|
+
"ANNOUNCEMENT": "Announcement",
|
|
244
|
+
"ARTICLE": "Article",
|
|
245
|
+
"AUDIO": "Audio",
|
|
246
|
+
"AWARD": "Award",
|
|
247
|
+
"BLOG": "Blog",
|
|
248
|
+
"DATA": "Data",
|
|
249
|
+
"EVENT": "Event",
|
|
250
|
+
"FELLOWSHIP": "Fellowship",
|
|
251
|
+
"GRANT": "Grant",
|
|
252
|
+
"INTERVIEW": "Interview",
|
|
253
|
+
"JOB": "Job",
|
|
254
|
+
"LIFE_AT_THE_INSTITUTE": "Life at the institute",
|
|
255
|
+
"OPINION": "Opinion",
|
|
256
|
+
"PRESS_RELEASE": "Press release",
|
|
257
|
+
"PROJECT": "Project",
|
|
258
|
+
"PUBLICATION": "Publication",
|
|
259
|
+
"REPORT": "Report",
|
|
260
|
+
"SOFTWARE": "Software",
|
|
261
|
+
"TOOL": "Tool",
|
|
262
|
+
"VIDEO": "Video",
|
|
263
|
+
"OTHER": "Other"
|
|
264
|
+
},
|
|
254
265
|
"category": {
|
|
255
266
|
"label": "Event category",
|
|
256
267
|
"COLLOQUIUM": "Colloquium",
|
|
@@ -283,6 +294,31 @@
|
|
|
283
294
|
"THESIS": "Thesis",
|
|
284
295
|
"VIDEO": "Video",
|
|
285
296
|
"OTHERS": "Others"
|
|
297
|
+
},
|
|
298
|
+
"publicationType": {
|
|
299
|
+
"label": "Type",
|
|
300
|
+
"ARTICLE": "Article",
|
|
301
|
+
"BOOK": "Book",
|
|
302
|
+
"BOOK_CHAPTER": "Book chapter",
|
|
303
|
+
"CONFERENCE_PAPER": "Conference paper",
|
|
304
|
+
"DATA": "Data",
|
|
305
|
+
"REPORT": "Report",
|
|
306
|
+
"SOFTWARE": "Software",
|
|
307
|
+
"THESIS": "Thesis"
|
|
308
|
+
},
|
|
309
|
+
"mediaPublicType": {
|
|
310
|
+
"label": "Type",
|
|
311
|
+
"AUDIO": "Audio",
|
|
312
|
+
"PODCAST": "Podcast",
|
|
313
|
+
"VIDEO": "Video"
|
|
314
|
+
},
|
|
315
|
+
"mediaCategory": {
|
|
316
|
+
"label": "Category",
|
|
317
|
+
"FELLOWS": "Fellows",
|
|
318
|
+
"EVENTS": "Event",
|
|
319
|
+
"IDEAS": "Ideas",
|
|
320
|
+
"CONFERENCE_CYCLE": "Conference cycle",
|
|
321
|
+
"OTHER": "Other"
|
|
286
322
|
}
|
|
287
323
|
},
|
|
288
324
|
"affiliations": {
|
|
@@ -112,6 +112,9 @@
|
|
|
112
112
|
},
|
|
113
113
|
"status": {
|
|
114
114
|
"label": "Statut",
|
|
115
|
+
"OPEN": "Inscriptions ouvertes",
|
|
116
|
+
"FULL": "Complet",
|
|
117
|
+
"CLOSED": "Inscriptions fermées",
|
|
115
118
|
"CANCELLED": "Annulé",
|
|
116
119
|
"DONE": "Terminé",
|
|
117
120
|
"POSTPONED": "Reporté",
|
|
@@ -142,30 +145,6 @@
|
|
|
142
145
|
}
|
|
143
146
|
},
|
|
144
147
|
"news": {
|
|
145
|
-
"category": {
|
|
146
|
-
"label": "Catégorie",
|
|
147
|
-
"ANNOUNCEMENT": "Annonce",
|
|
148
|
-
"ARTICLE": "Article",
|
|
149
|
-
"AUDIO": "Audio",
|
|
150
|
-
"AWARD": "Prix",
|
|
151
|
-
"BLOG": "Blog",
|
|
152
|
-
"DATA": "Données",
|
|
153
|
-
"EVENT": "Événement",
|
|
154
|
-
"FELLOWSHIP": "Programme d'accueil chercheur",
|
|
155
|
-
"GRANT": "Financement",
|
|
156
|
-
"INTERVIEW": "Entretien",
|
|
157
|
-
"JOB": "Emploi",
|
|
158
|
-
"LIFE_AT_THE_INSTITUTE": "La vie à l'institut",
|
|
159
|
-
"OPINION": "Opinion",
|
|
160
|
-
"PRESS_RELEASE": "Communiqué de presse",
|
|
161
|
-
"PROJECT": "Projet",
|
|
162
|
-
"PUBLICATION": "Publication",
|
|
163
|
-
"REPORT": "Rapport",
|
|
164
|
-
"SOFTWARE": "Logiciel",
|
|
165
|
-
"TOOL": "Outil",
|
|
166
|
-
"VIDEO": "Vidéo",
|
|
167
|
-
"OTHER": "Autres"
|
|
168
|
-
},
|
|
169
148
|
"tags": {
|
|
170
149
|
"label": "Tags",
|
|
171
150
|
"Socioscope": "Socioscope",
|
|
@@ -203,7 +182,10 @@
|
|
|
203
182
|
"status": {
|
|
204
183
|
"label": "Statut",
|
|
205
184
|
"ACTIVE": "Actif",
|
|
206
|
-
"INACTIVE": "Inactif"
|
|
185
|
+
"INACTIVE": "Inactif",
|
|
186
|
+
"PAST": "Ancien",
|
|
187
|
+
"IN_PROGRESS": "En cours",
|
|
188
|
+
"PLANNED": "Prévu"
|
|
207
189
|
}
|
|
208
190
|
},
|
|
209
191
|
"projects": {
|
|
@@ -241,6 +223,38 @@
|
|
|
241
223
|
"disciplines": {
|
|
242
224
|
"label": "Disciplines"
|
|
243
225
|
},
|
|
226
|
+
"mediaType": {
|
|
227
|
+
"label": "Type",
|
|
228
|
+
"FELLOWS": "Résidents",
|
|
229
|
+
"EVENTS": "Événements",
|
|
230
|
+
"IDEAS": "Idées",
|
|
231
|
+
"CONFERENCE_CYCLE": "Cycle de conférences",
|
|
232
|
+
"OTHER": "Autres"
|
|
233
|
+
},
|
|
234
|
+
"newsCategories": {
|
|
235
|
+
"label": "Catégorie",
|
|
236
|
+
"ANNOUNCEMENT": "Annonce",
|
|
237
|
+
"ARTICLE": "Article",
|
|
238
|
+
"AUDIO": "Audio",
|
|
239
|
+
"AWARD": "Prix",
|
|
240
|
+
"BLOG": "Blog",
|
|
241
|
+
"DATA": "Données",
|
|
242
|
+
"EVENT": "Événement",
|
|
243
|
+
"FELLOWSHIP": "Programme d'accueil chercheur",
|
|
244
|
+
"GRANT": "Financement",
|
|
245
|
+
"INTERVIEW": "Entretien",
|
|
246
|
+
"JOB": "Emploi",
|
|
247
|
+
"LIFE_AT_THE_INSTITUTE": "La vie à l'institut",
|
|
248
|
+
"OPINION": "Opinion",
|
|
249
|
+
"PRESS_RELEASE": "Communiqué de presse",
|
|
250
|
+
"PROJECT": "Projet",
|
|
251
|
+
"PUBLICATION": "Publication",
|
|
252
|
+
"REPORT": "Rapport",
|
|
253
|
+
"SOFTWARE": "Logiciel",
|
|
254
|
+
"TOOL": "Outil",
|
|
255
|
+
"VIDEO": "Vidéo",
|
|
256
|
+
"OTHER": "Autres"
|
|
257
|
+
},
|
|
244
258
|
"eventCategories": {
|
|
245
259
|
"label": "Catégorie d'évènement",
|
|
246
260
|
"COLLOQUIUM": "Colloque",
|
|
@@ -273,6 +287,31 @@
|
|
|
273
287
|
"THESIS": "Thèse",
|
|
274
288
|
"VIDEO": "Vidéo",
|
|
275
289
|
"OTHERS": "Autres"
|
|
290
|
+
},
|
|
291
|
+
"publicationType": {
|
|
292
|
+
"label": "Type",
|
|
293
|
+
"ARTICLE": "Article",
|
|
294
|
+
"BOOK": "Livre",
|
|
295
|
+
"BOOK_CHAPTER": "Chapitre de livre",
|
|
296
|
+
"CONFERENCE_PAPER": "Actes de conférence",
|
|
297
|
+
"DATA": "Données",
|
|
298
|
+
"REPORT": "Rapport",
|
|
299
|
+
"SOFTWARE": "Logiciel",
|
|
300
|
+
"THESIS": "Thèse"
|
|
301
|
+
},
|
|
302
|
+
"mediaPublicType": {
|
|
303
|
+
"label": "Type",
|
|
304
|
+
"AUDIO": "Audio",
|
|
305
|
+
"PODCAST": "Podcast",
|
|
306
|
+
"VIDEO": "Vidéo"
|
|
307
|
+
},
|
|
308
|
+
"mediaCategory": {
|
|
309
|
+
"label": "Catégorie",
|
|
310
|
+
"FELLOWS": "Résidents",
|
|
311
|
+
"EVENTS": "Événements",
|
|
312
|
+
"IDEAS": "Idées",
|
|
313
|
+
"CONFERENCE_CYCLE": "Cycle de conférences",
|
|
314
|
+
"OTHER": "Autres"
|
|
276
315
|
}
|
|
277
316
|
},
|
|
278
317
|
"affiliations": {
|
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.3.
|
|
4
|
+
"version": "1.3.8",
|
|
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/trees": "^2.2.
|
|
11
|
+
"@paris-ias/trees": "^2.2.22"
|
|
12
12
|
},
|
|
13
13
|
"description": "Paris IAS List Module",
|
|
14
14
|
"peerDependencies": {
|