@paris-ias/list 1.3.5 → 1.3.7
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,16 +18,20 @@ export const useFetchItem = () => {
|
|
|
18
18
|
});
|
|
19
19
|
const item = data?.[key];
|
|
20
20
|
if (!item) throw new Error("Item not found in response");
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
21
|
+
try {
|
|
22
|
+
if (!String(route.name ?? "").includes("people")) {
|
|
23
|
+
setI18nParams({
|
|
24
|
+
en: { slug: item.slug?.en },
|
|
25
|
+
fr: { slug: item.slug?.fr }
|
|
26
|
+
});
|
|
27
|
+
} else {
|
|
28
|
+
setI18nParams({
|
|
29
|
+
en: { slug: item.slug },
|
|
30
|
+
fr: { slug: item.slug }
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
} catch (i18nError) {
|
|
34
|
+
console.warn("Skipping setI18nParams for item:", i18nError);
|
|
31
35
|
}
|
|
32
36
|
return item;
|
|
33
37
|
} catch (error) {
|
|
@@ -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",
|
|
@@ -103,6 +103,13 @@
|
|
|
103
103
|
"WPRN": "WPRN",
|
|
104
104
|
"WPRN-2021": "WPRN 2021"
|
|
105
105
|
},
|
|
106
|
+
"status": {
|
|
107
|
+
"label": "Statut",
|
|
108
|
+
"CANCELLED": "Annulé",
|
|
109
|
+
"PAST": "Terminé",
|
|
110
|
+
"IN_PROGRESS": "En cours",
|
|
111
|
+
"UPCOMING": "À venir"
|
|
112
|
+
},
|
|
106
113
|
"organiserCategory": {
|
|
107
114
|
"label": "Type d'organisateur",
|
|
108
115
|
"IAS": "IEA de Paris",
|
|
@@ -112,6 +119,9 @@
|
|
|
112
119
|
},
|
|
113
120
|
"status": {
|
|
114
121
|
"label": "Statut",
|
|
122
|
+
"OPEN": "Inscriptions ouvertes",
|
|
123
|
+
"FULL": "Complet",
|
|
124
|
+
"CLOSED": "Inscriptions fermées",
|
|
115
125
|
"CANCELLED": "Annulé",
|
|
116
126
|
"DONE": "Terminé",
|
|
117
127
|
"POSTPONED": "Reporté",
|
|
@@ -142,30 +152,6 @@
|
|
|
142
152
|
}
|
|
143
153
|
},
|
|
144
154
|
"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
155
|
"tags": {
|
|
170
156
|
"label": "Tags",
|
|
171
157
|
"Socioscope": "Socioscope",
|
|
@@ -241,6 +227,38 @@
|
|
|
241
227
|
"disciplines": {
|
|
242
228
|
"label": "Disciplines"
|
|
243
229
|
},
|
|
230
|
+
"mediaType": {
|
|
231
|
+
"label": "Type",
|
|
232
|
+
"FELLOWS": "Résidents",
|
|
233
|
+
"EVENTS": "Événements",
|
|
234
|
+
"IDEAS": "Idées",
|
|
235
|
+
"CONFERENCE_CYCLE": "Cycle de conférences",
|
|
236
|
+
"OTHER": "Autres"
|
|
237
|
+
},
|
|
238
|
+
"newsCategories": {
|
|
239
|
+
"label": "Catégorie",
|
|
240
|
+
"ANNOUNCEMENT": "Annonce",
|
|
241
|
+
"ARTICLE": "Article",
|
|
242
|
+
"AUDIO": "Audio",
|
|
243
|
+
"AWARD": "Prix",
|
|
244
|
+
"BLOG": "Blog",
|
|
245
|
+
"DATA": "Données",
|
|
246
|
+
"EVENT": "Événement",
|
|
247
|
+
"FELLOWSHIP": "Programme d'accueil chercheur",
|
|
248
|
+
"GRANT": "Financement",
|
|
249
|
+
"INTERVIEW": "Entretien",
|
|
250
|
+
"JOB": "Emploi",
|
|
251
|
+
"LIFE_AT_THE_INSTITUTE": "La vie à l'institut",
|
|
252
|
+
"OPINION": "Opinion",
|
|
253
|
+
"PRESS_RELEASE": "Communiqué de presse",
|
|
254
|
+
"PROJECT": "Projet",
|
|
255
|
+
"PUBLICATION": "Publication",
|
|
256
|
+
"REPORT": "Rapport",
|
|
257
|
+
"SOFTWARE": "Logiciel",
|
|
258
|
+
"TOOL": "Outil",
|
|
259
|
+
"VIDEO": "Vidéo",
|
|
260
|
+
"OTHER": "Autres"
|
|
261
|
+
},
|
|
244
262
|
"eventCategories": {
|
|
245
263
|
"label": "Catégorie d'évènement",
|
|
246
264
|
"COLLOQUIUM": "Colloque",
|
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.7",
|
|
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.21"
|
|
12
12
|
},
|
|
13
13
|
"description": "Paris IAS List Module",
|
|
14
14
|
"peerDependencies": {
|