@paris-ias/list 1.0.47 → 1.0.50
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/events/Badges.vue +2 -1
- package/dist/runtime/components/list/molecules/Header.vue +0 -12
- package/dist/runtime/stores/root.js +1 -1
- package/dist/runtime/translations/fr.json +4 -4
- package/package.json +6 -2
- package/dist/runtime/components/events/ListContainer.vue +0 -43
- package/dist/runtime/components/events/ListContainer.vue.d.ts +0 -7
package/dist/module.json
CHANGED
|
@@ -62,8 +62,9 @@
|
|
|
62
62
|
</template>
|
|
63
63
|
|
|
64
64
|
<script setup>
|
|
65
|
+
import { useLocalePath, useI18n } from "#imports";
|
|
65
66
|
import { useDisplay } from "vuetify";
|
|
66
|
-
|
|
67
|
+
const localePath = useLocalePath();
|
|
67
68
|
const { smAndUp } = useDisplay();
|
|
68
69
|
const { locale } = useI18n();
|
|
69
70
|
const props = defineProps({
|
|
@@ -1,18 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<v-row no-gutters>
|
|
3
3
|
<v-col cols="12">
|
|
4
|
-
<!-- <v-btn
|
|
5
|
-
v-if="rootStore.addBtn"
|
|
6
|
-
x-large
|
|
7
|
-
:height="mdAndUp ? '56' : '40'"
|
|
8
|
-
outlined
|
|
9
|
-
:rounded="0"
|
|
10
|
-
color="primary"
|
|
11
|
-
:to="localePath($route.fullPath + '/create')"
|
|
12
|
-
>
|
|
13
|
-
<v-icon left>mdi-plus</v-icon>
|
|
14
|
-
{{ $t("new-x", { item: $tc("x-" + type, 1) }) }}
|
|
15
|
-
</v-btn> -->
|
|
16
4
|
<div class="d-flex">
|
|
17
5
|
<ListAtomsFiltersMenu
|
|
18
6
|
:open="filtersOpen"
|
|
@@ -37,7 +37,7 @@ export const useRootStore = defineStore("rootStore", {
|
|
|
37
37
|
if (Object.keys(query)?.length) {
|
|
38
38
|
Object.keys(query).forEach((filter) => {
|
|
39
39
|
if (Object.keys($stores[type].filters).includes(filter))
|
|
40
|
-
$stores[type].filters[filter].value =
|
|
40
|
+
$stores[type].filters[filter].value = $stores[type].filters[filter].multiple ? JSON.parse(query[filter]) : query[filter];
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
43
|
console.log("query loaded");
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
"ONGOING": "En cours",
|
|
124
124
|
"PLANNED": "Prévu"
|
|
125
125
|
},
|
|
126
|
-
"
|
|
126
|
+
"disciplines": {
|
|
127
127
|
"label": "Discipline"
|
|
128
128
|
}
|
|
129
129
|
},
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
"groups": {
|
|
163
163
|
"label": "Catégorie",
|
|
164
164
|
"board": "Conseil d'administration",
|
|
165
|
-
"fellows": "
|
|
165
|
+
"fellows": "Résidents",
|
|
166
166
|
"sab": "Conseil scientifique",
|
|
167
167
|
"sponsor": "Mécènes",
|
|
168
168
|
"team": "Équipe"
|
|
@@ -250,8 +250,8 @@
|
|
|
250
250
|
"page-0-of-1": "Page {0} sur {1}",
|
|
251
251
|
"pls-x-more": "{0} Plus",
|
|
252
252
|
"rows": "Rangées",
|
|
253
|
-
"search-type": "Rechercher
|
|
254
|
-
"search-type-f": "Rechercher
|
|
253
|
+
"search-type": "Rechercher parmi les {0}",
|
|
254
|
+
"search-type-f": "Rechercher parmi les {0}",
|
|
255
255
|
"sort-mode": "Mode de tri:",
|
|
256
256
|
"tiles": "Tuiles",
|
|
257
257
|
"view-issues": "Par numéro",
|
package/package.json
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"license": "AGPL-3.0-only",
|
|
3
3
|
"main": "./dist/module.mjs",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.50",
|
|
5
5
|
"name": "@paris-ias/list",
|
|
6
|
-
"repository":
|
|
6
|
+
"repository": {
|
|
7
|
+
"url": "git+https://github.com/IEA-Paris/list.git",
|
|
8
|
+
"type": "git"
|
|
9
|
+
},
|
|
7
10
|
"dependencies": {
|
|
8
11
|
"@nuxt/kit": "^3.16.2"
|
|
9
12
|
},
|
|
@@ -18,6 +21,7 @@
|
|
|
18
21
|
"@nuxt/module-builder": "^1.0.0",
|
|
19
22
|
"@nuxt/schema": "^3.16.2",
|
|
20
23
|
"@nuxt/test-utils": "^3.17.2",
|
|
24
|
+
"@urql/exchange-execute": "2.3.1",
|
|
21
25
|
"@nuxtjs/apollo": "^5.0.0-alpha.14",
|
|
22
26
|
"@nuxtjs/i18n": "^9.5.2",
|
|
23
27
|
"@nuxtjs/mdc": "0.16.1",
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<v-sheet v-for="(event, i) in events" :key="i" flat class="ma-6">
|
|
3
|
-
<v-row
|
|
4
|
-
:value="event"
|
|
5
|
-
style="cursor: pointer"
|
|
6
|
-
@click="
|
|
7
|
-
$router.push(localePath('/activities/events/' + event.slug[locale]))
|
|
8
|
-
"
|
|
9
|
-
>
|
|
10
|
-
<v-col cols="3">
|
|
11
|
-
<MiscAtomsDateStamp
|
|
12
|
-
:loading="rootStore.events.loading"
|
|
13
|
-
:date="[
|
|
14
|
-
new Date(event.start),
|
|
15
|
-
...(event.stop ? [new Date(event.stop)] : []),
|
|
16
|
-
]"
|
|
17
|
-
/>
|
|
18
|
-
</v-col>
|
|
19
|
-
<v-col cols="9">
|
|
20
|
-
<v-list-item-title class="text-h6 my-3">
|
|
21
|
-
{{ event.title }}
|
|
22
|
-
</v-list-item-title>
|
|
23
|
-
<v-list-item-subtitle v-text="event.summary" />
|
|
24
|
-
<v-chip v-if="event.online" class="mr-2 mt-3" color="primary">
|
|
25
|
-
{{ $t("online") }}
|
|
26
|
-
</v-chip>
|
|
27
|
-
</v-col>
|
|
28
|
-
</v-row>
|
|
29
|
-
</v-sheet>
|
|
30
|
-
</template>
|
|
31
|
-
|
|
32
|
-
<script setup>
|
|
33
|
-
import { useRootStore } from "../../stores/root";
|
|
34
|
-
import { useI18n } from "#imports";
|
|
35
|
-
const { locale } = useI18n();
|
|
36
|
-
const rootStore = useRootStore();
|
|
37
|
-
const props = defineProps({
|
|
38
|
-
events: {
|
|
39
|
-
type: Array,
|
|
40
|
-
required: true
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
</script>
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
-
events: unknown[];
|
|
3
|
-
$props: {
|
|
4
|
-
readonly events?: unknown[] | undefined;
|
|
5
|
-
};
|
|
6
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
7
|
-
export default _default;
|