@paris-ias/list 1.1.2 → 1.1.3
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
|
@@ -18,7 +18,16 @@
|
|
|
18
18
|
:dense="smAndDown"
|
|
19
19
|
:items="getItems(filterItem)"
|
|
20
20
|
clearable
|
|
21
|
-
:label="
|
|
21
|
+
:label="
|
|
22
|
+
$t(
|
|
23
|
+
'list.filters.' +
|
|
24
|
+
(['disciplines', 'thematics'].includes(filterItem)
|
|
25
|
+
? ''
|
|
26
|
+
: type + '.') +
|
|
27
|
+
filterItem +
|
|
28
|
+
'.label',
|
|
29
|
+
)
|
|
30
|
+
"
|
|
22
31
|
min-height="56"
|
|
23
32
|
variant="outlined"
|
|
24
33
|
:loading="$stores[type].loading"
|
|
@@ -45,7 +54,7 @@ const props = defineProps(["type", "expanded"])
|
|
|
45
54
|
|
|
46
55
|
const ComponentName = (name) => {
|
|
47
56
|
return resolveComponent(
|
|
48
|
-
"ListInputs" + capitalize($stores[props.type].filters[name].type)
|
|
57
|
+
"ListInputs" + capitalize($stores[props.type].filters[name].type),
|
|
49
58
|
)
|
|
50
59
|
}
|
|
51
60
|
const getItems = (name) => {
|
|
@@ -60,7 +69,7 @@ const getItems = (name) => {
|
|
|
60
69
|
title: i18n.t(
|
|
61
70
|
props.type === "people" && name === "vintage"
|
|
62
71
|
? item
|
|
63
|
-
: `list.filters.${props.type}.${name}.${item}
|
|
72
|
+
: `list.filters.${props.type}.${name}.${item}`,
|
|
64
73
|
),
|
|
65
74
|
value: item,
|
|
66
75
|
}))
|
|
@@ -68,13 +77,13 @@ const getItems = (name) => {
|
|
|
68
77
|
|
|
69
78
|
if (!messages.value[locale.value].list.filters[props.type]?.[name]) {
|
|
70
79
|
console.log(
|
|
71
|
-
`translations missing for the filter ${name} of the type ${props.type}
|
|
80
|
+
`translations missing for the filter ${name} of the type ${props.type}`,
|
|
72
81
|
)
|
|
73
82
|
return []
|
|
74
83
|
}
|
|
75
84
|
// TODO replace with package based values
|
|
76
85
|
return Object.keys(
|
|
77
|
-
messages.value[locale.value].list.filters[props.type][name]
|
|
86
|
+
messages.value[locale.value].list.filters[props.type][name],
|
|
78
87
|
)
|
|
79
88
|
.filter((key) => key !== "label")
|
|
80
89
|
.map((item) => ({
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
},
|
|
126
126
|
"fellowshipType": {
|
|
127
127
|
"label": "Type of fellowship",
|
|
128
|
-
"IN_GROUP": "
|
|
128
|
+
"IN_GROUP": "Collective",
|
|
129
129
|
"LONG_STAY": "Long stay",
|
|
130
130
|
"SHORT_STAY": "Short stay"
|
|
131
131
|
},
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
"CANCELLED": "Cancelled",
|
|
135
135
|
"FINISHED": "Finished",
|
|
136
136
|
"ONGOING": "Ongoing",
|
|
137
|
-
"PLANNED": "
|
|
137
|
+
"PLANNED": "Upcoming"
|
|
138
138
|
},
|
|
139
139
|
"disciplines": {
|
|
140
140
|
"label": "Disciplines"
|
|
@@ -197,6 +197,13 @@
|
|
|
197
197
|
},
|
|
198
198
|
"disciplines": {
|
|
199
199
|
"label": "Discipline"
|
|
200
|
+
},
|
|
201
|
+
"status": {
|
|
202
|
+
"label": "Status",
|
|
203
|
+
"CANCELLED": "Cancelled",
|
|
204
|
+
"PAST": "Finished",
|
|
205
|
+
"IN_PROGRESS": "Ongoing",
|
|
206
|
+
"UPCOMING": "Upcoming"
|
|
200
207
|
}
|
|
201
208
|
},
|
|
202
209
|
"projects": {
|
|
@@ -271,7 +278,63 @@
|
|
|
271
278
|
}
|
|
272
279
|
},
|
|
273
280
|
"disciplines": {
|
|
274
|
-
"label": "Discipline"
|
|
281
|
+
"label": "Discipline",
|
|
282
|
+
"ANTHROPOLOGY_AND_ETHNOLOGY": "Anthropology and Ethnology",
|
|
283
|
+
"ARCHITECTURE_AND_URBAN_PLANNING": "Architecture and Urban Planning",
|
|
284
|
+
"ARCHAEOLOGY": "Archaeology",
|
|
285
|
+
"ART_AND_HISTORY_OF_ART": "Art and History of Art",
|
|
286
|
+
"CLASSICAL_STUDIES": "Classical studies",
|
|
287
|
+
"DEMOGRAPHY": "Demography",
|
|
288
|
+
"DIGITAL_HUMANITIES": "Digital Humanities",
|
|
289
|
+
"ECONOMICS": "Economics",
|
|
290
|
+
"EDUCATION_SCIENCES": "Education sciences",
|
|
291
|
+
"ENVIRONMENTAL_SCIENCES": "Environmental sciences",
|
|
292
|
+
"GEOGRAPHY": "Geography",
|
|
293
|
+
"HISTORY": "History",
|
|
294
|
+
"INFORMATION_AND_COMMUNICATION_SCIENCES": "Information and Communication sciences",
|
|
295
|
+
"INTERNATIONAL_RELATIONS": "International relations",
|
|
296
|
+
"LAW": "Law",
|
|
297
|
+
"LINGUISTICS": "Linguistics",
|
|
298
|
+
"LITERATURE": "Literature",
|
|
299
|
+
"MANAGEMENT_AND_PUBLIC_ADMINISTRATION": "Management and public administration",
|
|
300
|
+
"NEUROSCIENCES_AND_COGNITIVE_SCIENCES": "Neurosciences and cognitive sciences",
|
|
301
|
+
"PHILOSOPHY": "Philosophy",
|
|
302
|
+
"POLITICAL_SCIENCE": "Political science",
|
|
303
|
+
"PSYCHOLOGY": "Psychology",
|
|
304
|
+
"SOCIOLOGY": "Sociology",
|
|
305
|
+
"STUDIES_IN_SCIENCE_AND_TECHNOLOGY": "Studies in science and technology",
|
|
306
|
+
"THEOLOGY": "Theology",
|
|
307
|
+
"BIOLOGY": "Biology",
|
|
308
|
+
"CHEMISTRY": "Chemistry",
|
|
309
|
+
"COMPUTER_SCIENCE": "Computer science",
|
|
310
|
+
"MEDICINE": "Medicine",
|
|
311
|
+
"PHYSICS_MATHEMATICS_AND_ENGINEERING": "Physics, mathematics and engineering"
|
|
312
|
+
},
|
|
313
|
+
"thematics": {
|
|
314
|
+
"label": "Themes",
|
|
315
|
+
"AGRICULTURE_AND_FOOD": "Agriculture/food",
|
|
316
|
+
"ARTIFICIAL_INTELLIGENCE": "Artificial Intelligence",
|
|
317
|
+
"COMMUNICATION_AND_DIGITAL_ECONOMY": "Communication and digital economy",
|
|
318
|
+
"BEHAVIOUR_PERCEPTION_EMOTIONS": "Behaviour, perception, emotions",
|
|
319
|
+
"CITIES_AND_REGIONS": "Cities and Regions",
|
|
320
|
+
"CULTURAL_HERITAGE": "Cultural heritage",
|
|
321
|
+
"DEMOCRACY_CITIZENSHIP_AND_GOVERNANCE": "Democracy, citizenship, and governance",
|
|
322
|
+
"EDUCATION_AND_RESEARCH": "Education and research",
|
|
323
|
+
"ENERGY_NATURAL_RESOURCES": "Energy, natural resources",
|
|
324
|
+
"ENVIRONMENT_AND_CLIMATE": "Environment and climate",
|
|
325
|
+
"IDENTITIES_GENDER_AND_SEXUALITIES": "Identities, gender and sexualities",
|
|
326
|
+
"INEQUALITIES_INCLUSION_SOCIAL_INNOVATION": "Inequalities, inclusion, social innovation",
|
|
327
|
+
"MIGRATIONS": "Migrations",
|
|
328
|
+
"OCEANS": "Oceans",
|
|
329
|
+
"PUBLIC_POLICIES": "Public policies",
|
|
330
|
+
"RADICALISATION_VIOLENCE_EXTREMISM": "Radicalisation, violence, extremism",
|
|
331
|
+
"REGULATION_AND_GLOBALISATION": "Regulation and globalisation",
|
|
332
|
+
"RELIGION_SECULARISM_SOCIETIES": "Religion, secularism, societies",
|
|
333
|
+
"HEALTH_AND_AGEING": "Health and ageing",
|
|
334
|
+
"SECURITY_WAR_AND_PEACE": "Security, war and peace",
|
|
335
|
+
"SPACE": "Space",
|
|
336
|
+
"TRANSPORT_MOBILITY_TOURISM": "Transport, mobility, tourism",
|
|
337
|
+
"WORK_INNOVATION_TECHNOLOGY": "Work, innovation, technology"
|
|
275
338
|
},
|
|
276
339
|
"tags": {
|
|
277
340
|
"label": "Tags"
|
|
@@ -126,16 +126,16 @@
|
|
|
126
126
|
},
|
|
127
127
|
"fellowshipType": {
|
|
128
128
|
"label": "Type de programme",
|
|
129
|
-
"IN_GROUP": "
|
|
129
|
+
"IN_GROUP": "Collectif",
|
|
130
130
|
"LONG_STAY": "Séjour long",
|
|
131
131
|
"SHORT_STAY": "Séjour court"
|
|
132
132
|
},
|
|
133
133
|
"status": {
|
|
134
134
|
"label": "Statut",
|
|
135
135
|
"CANCELLED": "Annulé",
|
|
136
|
-
"
|
|
137
|
-
"
|
|
138
|
-
"
|
|
136
|
+
"PAST": "Terminé",
|
|
137
|
+
"IN_PROGRESS": "En cours",
|
|
138
|
+
"UPCOMING": "À venir"
|
|
139
139
|
},
|
|
140
140
|
"disciplines": {
|
|
141
141
|
"label": "Discipline"
|
|
@@ -198,6 +198,11 @@
|
|
|
198
198
|
},
|
|
199
199
|
"disciplines": {
|
|
200
200
|
"label": "Disciplines"
|
|
201
|
+
},
|
|
202
|
+
"status": {
|
|
203
|
+
"label": "Statut",
|
|
204
|
+
"ACTIVE": "Actif",
|
|
205
|
+
"INACTIVE": "Inactif"
|
|
201
206
|
}
|
|
202
207
|
},
|
|
203
208
|
"projects": {
|
|
@@ -272,7 +277,63 @@
|
|
|
272
277
|
}
|
|
273
278
|
},
|
|
274
279
|
"disciplines": {
|
|
275
|
-
"label": "Discipline"
|
|
280
|
+
"label": "Discipline",
|
|
281
|
+
"ANTHROPOLOGY_AND_ETHNOLOGY": "Anthropologie et ethnologie",
|
|
282
|
+
"ARCHITECTURE_AND_URBAN_PLANNING": "Architecture et urbanisme",
|
|
283
|
+
"ARCHAEOLOGY": "Archéologie",
|
|
284
|
+
"ART_AND_HISTORY_OF_ART": "Art et histoire de l'art",
|
|
285
|
+
"CLASSICAL_STUDIES": "Études classiques",
|
|
286
|
+
"DEMOGRAPHY": "Démographie",
|
|
287
|
+
"DIGITAL_HUMANITIES": "Humanités numériques",
|
|
288
|
+
"ECONOMICS": "Économie",
|
|
289
|
+
"EDUCATION_SCIENCES": "Sciences de l'éducation",
|
|
290
|
+
"ENVIRONMENTAL_SCIENCES": "Sciences environnementales",
|
|
291
|
+
"GEOGRAPHY": "Géographie",
|
|
292
|
+
"HISTORY": "Histoire",
|
|
293
|
+
"INFORMATION_AND_COMMUNICATION_SCIENCES": "Sciences de l'information et de la communication",
|
|
294
|
+
"INTERNATIONAL_RELATIONS": "Relations internationales",
|
|
295
|
+
"LAW": "Droit",
|
|
296
|
+
"LINGUISTICS": "Linguistique",
|
|
297
|
+
"LITERATURE": "Littérature",
|
|
298
|
+
"MANAGEMENT_AND_PUBLIC_ADMINISTRATION": "Gestion et administration publique",
|
|
299
|
+
"NEUROSCIENCES_AND_COGNITIVE_SCIENCES": "Neurosciences et sciences cognitives",
|
|
300
|
+
"PHILOSOPHY": "Philosophie",
|
|
301
|
+
"POLITICAL_SCIENCE": "Science politique",
|
|
302
|
+
"PSYCHOLOGY": "Psychologie",
|
|
303
|
+
"SOCIOLOGY": "Sociologie",
|
|
304
|
+
"STUDIES_IN_SCIENCE_AND_TECHNOLOGY": "Études en sciences et technologies",
|
|
305
|
+
"THEOLOGY": "Théologie",
|
|
306
|
+
"BIOLOGY": "Biologie",
|
|
307
|
+
"CHEMISTRY": "Chimie",
|
|
308
|
+
"COMPUTER_SCIENCE": "Informatique",
|
|
309
|
+
"MEDICINE": "Médecine",
|
|
310
|
+
"PHYSICS_MATHEMATICS_AND_ENGINEERING": "Physique, mathématiques et ingénierie"
|
|
311
|
+
},
|
|
312
|
+
"thematics": {
|
|
313
|
+
"label": "Thématiques",
|
|
314
|
+
"AGRICULTURE_AND_FOOD": "Agriculture/alimentation",
|
|
315
|
+
"ARTIFICIAL_INTELLIGENCE": "Intelligence artificielle",
|
|
316
|
+
"COMMUNICATION_AND_DIGITAL_ECONOMY": "Communication et économie numérique",
|
|
317
|
+
"BEHAVIOUR_PERCEPTION_EMOTIONS": "Comportements, perception, émotions",
|
|
318
|
+
"CITIES_AND_REGIONS": "Villes et territoires",
|
|
319
|
+
"CULTURAL_HERITAGE": "Héritage culturel",
|
|
320
|
+
"DEMOCRACY_CITIZENSHIP_AND_GOVERNANCE": "Démocratie, citoyenneté et gouvernance",
|
|
321
|
+
"EDUCATION_AND_RESEARCH": "Éducation et recherche",
|
|
322
|
+
"ENERGY_NATURAL_RESOURCES": "Energie, ressources naturelles",
|
|
323
|
+
"ENVIRONMENT_AND_CLIMATE": "Environnement et climat",
|
|
324
|
+
"IDENTITIES_GENDER_AND_SEXUALITIES": "Identités, genre et sexualités",
|
|
325
|
+
"INEQUALITIES_INCLUSION_SOCIAL_INNOVATION": "Inégalités, inclusion, innovation sociale",
|
|
326
|
+
"MIGRATIONS": "Migrations",
|
|
327
|
+
"OCEANS": "Océans",
|
|
328
|
+
"PUBLIC_POLICIES": "Politiques publiques",
|
|
329
|
+
"RADICALISATION_VIOLENCE_EXTREMISM": "Radicalisations, violences, extrémismes",
|
|
330
|
+
"REGULATION_AND_GLOBALISATION": "Régulations et mondialisation",
|
|
331
|
+
"RELIGION_SECULARISM_SOCIETIES": "Religion, sécularisme, sociétés",
|
|
332
|
+
"HEALTH_AND_AGEING": "Santé et vieillissement",
|
|
333
|
+
"SECURITY_WAR_AND_PEACE": "Sécurité, guerre et paix",
|
|
334
|
+
"SPACE": "Espace",
|
|
335
|
+
"TRANSPORT_MOBILITY_TOURISM": "Transport, mobilité, tourisme",
|
|
336
|
+
"WORK_INNOVATION_TECHNOLOGY": "Travail, innovation, technologie"
|
|
276
337
|
},
|
|
277
338
|
"tags": {
|
|
278
339
|
"label": "Tags"
|
|
@@ -308,7 +369,7 @@
|
|
|
308
369
|
"view-tiles": "Tuiles"
|
|
309
370
|
},
|
|
310
371
|
"live-stream-available": "Flux vidéo disponible",
|
|
311
|
-
"location": "
|
|
372
|
+
"location": "Lieux",
|
|
312
373
|
"no-result": "Aucun résultat trouvé",
|
|
313
374
|
"online": "En ligne",
|
|
314
375
|
"open-the-filter-panel": "Ouvrez le panneau de filtre",
|
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.1.
|
|
4
|
+
"version": "1.1.3",
|
|
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.1.
|
|
11
|
+
"@paris-ias/trees": "^2.1.4"
|
|
12
12
|
},
|
|
13
13
|
"description": "Paris IAS List Module",
|
|
14
14
|
"peerDependencies": {
|