@paris-ias/list 1.0.19 → 1.0.20
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/DateTimePlace.vue +3 -2
- package/dist/runtime/components/events/View.vue +95 -30
- package/dist/runtime/components/list/atoms/SearchString.vue +1 -0
- package/dist/runtime/components/list/atoms/SortMenu.vue +1 -1
- package/dist/runtime/components/list/atoms/ViewMenu.vue +1 -1
- package/dist/runtime/components/list/inputs/BooleanSwitch.vue +1 -1
- package/dist/runtime/components/list/molecules/Header.vue +5 -2
- package/dist/runtime/components/list/molecules/Pagination.vue +1 -1
- package/dist/runtime/components/misc/atoms/ShareMenu.vue +6 -2
- package/dist/runtime/components/news/ExpandedItem.vue +1 -0
- package/dist/runtime/components/projects/RowsItem.vue +6 -4
- package/dist/runtime/composables/useFetchItem.js +1 -1
- package/dist/runtime/stores/root.js +1 -1
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
>Afficher une carte plus grande</a
|
|
42
42
|
></small
|
|
43
43
|
>
|
|
44
|
-
|
|
45
|
-
>
|
|
44
|
+
>
|
|
45
|
+
</v-responsive>
|
|
46
46
|
</v-expand-transition>
|
|
47
47
|
<br />
|
|
48
48
|
<v-btn
|
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
</template>
|
|
57
57
|
|
|
58
58
|
<script setup>
|
|
59
|
+
import { ref } from "vue";
|
|
59
60
|
import { getDetailedFormatedDate } from "../../composables/useUtils";
|
|
60
61
|
const { locale } = useI18n();
|
|
61
62
|
const props = defineProps({
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="">
|
|
3
3
|
<v-row>
|
|
4
|
-
<v-col
|
|
4
|
+
<v-col
|
|
5
|
+
v-if="mdAndUp"
|
|
6
|
+
cols="12"
|
|
7
|
+
md="3"
|
|
8
|
+
>
|
|
5
9
|
<MiscAtomsImageContainer
|
|
6
10
|
cover
|
|
7
11
|
:src="
|
|
@@ -38,7 +42,10 @@
|
|
|
38
42
|
{{ item.name }}
|
|
39
43
|
</div>
|
|
40
44
|
|
|
41
|
-
<v-divider
|
|
45
|
+
<v-divider
|
|
46
|
+
width="154px"
|
|
47
|
+
class="mb-1 mt-6"
|
|
48
|
+
/>
|
|
42
49
|
<v-divider width="154px" />
|
|
43
50
|
|
|
44
51
|
<div
|
|
@@ -58,7 +65,10 @@
|
|
|
58
65
|
<!-- <EventsBadges :item="item" /> -->
|
|
59
66
|
</div>
|
|
60
67
|
|
|
61
|
-
<v-divider
|
|
68
|
+
<v-divider
|
|
69
|
+
width="154px"
|
|
70
|
+
class="mb-1 mt-6"
|
|
71
|
+
/>
|
|
62
72
|
<v-divider width="154px" />
|
|
63
73
|
</div>
|
|
64
74
|
</template>
|
|
@@ -66,7 +76,12 @@
|
|
|
66
76
|
</v-row>
|
|
67
77
|
|
|
68
78
|
<v-row class="mt-md-3 mt-lg-10 mt-xl-12">
|
|
69
|
-
<v-col
|
|
79
|
+
<v-col
|
|
80
|
+
v-if="mdAndUp"
|
|
81
|
+
class="d-flex flex-column"
|
|
82
|
+
cols="12"
|
|
83
|
+
md="3"
|
|
84
|
+
>
|
|
70
85
|
<v-skeleton-loader
|
|
71
86
|
v-if="loading"
|
|
72
87
|
height="100%"
|
|
@@ -93,8 +108,8 @@
|
|
|
93
108
|
</div>
|
|
94
109
|
<div class="mt-md-4">
|
|
95
110
|
{{ $t("inscription-gratuite-et-obligatoire") }}
|
|
96
|
-
</div
|
|
97
|
-
>
|
|
111
|
+
</div>
|
|
112
|
+
</template>
|
|
98
113
|
</div>
|
|
99
114
|
</div>
|
|
100
115
|
|
|
@@ -103,8 +118,8 @@
|
|
|
103
118
|
v-if="!loading && bookingState === 'OPEN'"
|
|
104
119
|
:item="item"
|
|
105
120
|
>
|
|
106
|
-
<template #activator="activatorProps"
|
|
107
|
-
|
|
121
|
+
<template #activator="activatorProps">
|
|
122
|
+
<v-btn
|
|
108
123
|
color="grey-lighten-3"
|
|
109
124
|
v-bind="activatorProps"
|
|
110
125
|
flat
|
|
@@ -114,21 +129,26 @@
|
|
|
114
129
|
style="height: auto"
|
|
115
130
|
>
|
|
116
131
|
<template #append>
|
|
117
|
-
<v-icon
|
|
118
|
-
|
|
132
|
+
<v-icon
|
|
133
|
+
class="text-green"
|
|
134
|
+
size="x-large"
|
|
119
135
|
>
|
|
136
|
+
mdi-circle-medium
|
|
137
|
+
</v-icon>
|
|
120
138
|
</template>
|
|
121
139
|
{{ $t("inscription-ouverte") }}
|
|
122
|
-
</v-btn
|
|
123
|
-
>
|
|
140
|
+
</v-btn>
|
|
141
|
+
</template>
|
|
124
142
|
</EventsRegisterModal>
|
|
125
143
|
</div>
|
|
126
144
|
|
|
127
145
|
<v-sheet class="mt-md-0 mt-lg-2 mt-xl-4">
|
|
128
146
|
<v-list v-if="!loading && item.files && item.files.length">
|
|
129
|
-
<v-list-subheader class="text-overline font-weight-bold">
|
|
130
|
-
|
|
131
|
-
|
|
147
|
+
<v-list-subheader class="text-overline font-weight-bold">
|
|
148
|
+
{{
|
|
149
|
+
$t("document")
|
|
150
|
+
}}
|
|
151
|
+
</v-list-subheader>
|
|
132
152
|
|
|
133
153
|
<v-list-item
|
|
134
154
|
v-for="(file, i) in item.files"
|
|
@@ -136,16 +156,26 @@
|
|
|
136
156
|
:value="file"
|
|
137
157
|
>
|
|
138
158
|
<template #prepend>
|
|
139
|
-
<v-icon
|
|
159
|
+
<v-icon
|
|
160
|
+
v-if="mdAndUp"
|
|
161
|
+
:icon="getFileIcon(file.url)"
|
|
162
|
+
/>
|
|
140
163
|
</template>
|
|
141
|
-
<v-list-item-title
|
|
164
|
+
<v-list-item-title
|
|
165
|
+
class="text-wrap"
|
|
166
|
+
v-text="file.name"
|
|
167
|
+
/>
|
|
142
168
|
</v-list-item>
|
|
143
169
|
</v-list>
|
|
144
170
|
</v-sheet>
|
|
145
171
|
</template>
|
|
146
172
|
</v-col>
|
|
147
173
|
|
|
148
|
-
<v-col
|
|
174
|
+
<v-col
|
|
175
|
+
v-if="sm"
|
|
176
|
+
class="d-flex flex-row"
|
|
177
|
+
cols="12"
|
|
178
|
+
>
|
|
149
179
|
<v-row class="ml-sm-1">
|
|
150
180
|
<v-col cols="6">
|
|
151
181
|
<MiscAtomsImageContainer
|
|
@@ -160,12 +190,19 @@
|
|
|
160
190
|
v-if="loading"
|
|
161
191
|
type="heading, subtitle, heading, subtitle, ossein, button"
|
|
162
192
|
/>
|
|
163
|
-
<EventsDateTimePlace
|
|
193
|
+
<EventsDateTimePlace
|
|
194
|
+
v-else
|
|
195
|
+
:item="item"
|
|
196
|
+
/>
|
|
164
197
|
</v-col>
|
|
165
198
|
</v-row>
|
|
166
199
|
</v-col>
|
|
167
200
|
|
|
168
|
-
<v-col
|
|
201
|
+
<v-col
|
|
202
|
+
v-if="xs"
|
|
203
|
+
class="ml-2"
|
|
204
|
+
cols="12"
|
|
205
|
+
>
|
|
169
206
|
<MiscAtomsImageContainer
|
|
170
207
|
cover
|
|
171
208
|
:src="item.image.url ? item.image : '/default.png'"
|
|
@@ -174,15 +211,26 @@
|
|
|
174
211
|
/>
|
|
175
212
|
</v-col>
|
|
176
213
|
|
|
177
|
-
<v-col
|
|
214
|
+
<v-col
|
|
215
|
+
v-if="xs"
|
|
216
|
+
class="ml-2"
|
|
217
|
+
cols="12"
|
|
218
|
+
>
|
|
178
219
|
<v-skeleton-loader
|
|
179
220
|
v-if="loading"
|
|
180
221
|
type="heading, subtitle, heading, subtitle, ossein, button"
|
|
181
222
|
/>
|
|
182
|
-
<EventsDateTimePlace
|
|
223
|
+
<EventsDateTimePlace
|
|
224
|
+
v-else
|
|
225
|
+
:item="item"
|
|
226
|
+
/>
|
|
183
227
|
</v-col>
|
|
184
228
|
|
|
185
|
-
<v-col
|
|
229
|
+
<v-col
|
|
230
|
+
cols="12"
|
|
231
|
+
md="9"
|
|
232
|
+
class="px-0"
|
|
233
|
+
>
|
|
186
234
|
<v-skeleton-loader
|
|
187
235
|
v-if="loading"
|
|
188
236
|
:type="
|
|
@@ -226,7 +274,10 @@
|
|
|
226
274
|
class="py-2"
|
|
227
275
|
style="white-space: pre; text-wrap: auto"
|
|
228
276
|
>
|
|
229
|
-
<MDC
|
|
277
|
+
<MDC
|
|
278
|
+
v-if="item.description"
|
|
279
|
+
:value="item.description"
|
|
280
|
+
/>
|
|
230
281
|
</v-expansion-panel-text>
|
|
231
282
|
</v-expansion-panel>
|
|
232
283
|
|
|
@@ -244,10 +295,13 @@
|
|
|
244
295
|
{{ $t("programme") }}
|
|
245
296
|
</v-expansion-panel-title>
|
|
246
297
|
<v-expansion-panel-text>
|
|
247
|
-
<MDC
|
|
298
|
+
<MDC
|
|
299
|
+
v-if="item.program"
|
|
300
|
+
:value="item.program"
|
|
301
|
+
/>
|
|
248
302
|
|
|
249
|
-
|
|
250
|
-
>
|
|
303
|
+
>
|
|
304
|
+
</v-expansion-panel-text>
|
|
251
305
|
</v-expansion-panel>
|
|
252
306
|
|
|
253
307
|
<v-expansion-panel
|
|
@@ -267,7 +321,10 @@
|
|
|
267
321
|
class="border-thin text-black"
|
|
268
322
|
:color="key === accordeon ? 'light-grey' : 'white'"
|
|
269
323
|
>
|
|
270
|
-
<MDC
|
|
324
|
+
<MDC
|
|
325
|
+
v-if="item.details"
|
|
326
|
+
:value="item.details"
|
|
327
|
+
/>
|
|
271
328
|
</v-expansion-panel-text>
|
|
272
329
|
</v-expansion-panel>
|
|
273
330
|
</v-expansion-panels>
|
|
@@ -277,7 +334,10 @@
|
|
|
277
334
|
</v-row>
|
|
278
335
|
|
|
279
336
|
<!-- DIVIDERS -->
|
|
280
|
-
<v-responsive
|
|
337
|
+
<v-responsive
|
|
338
|
+
class="mx-auto my-9"
|
|
339
|
+
width="120"
|
|
340
|
+
>
|
|
281
341
|
<v-divider class="mb-1" />
|
|
282
342
|
<v-divider />
|
|
283
343
|
</v-responsive>
|
|
@@ -294,7 +354,10 @@
|
|
|
294
354
|
{{ $t("gallery") }}
|
|
295
355
|
</div>
|
|
296
356
|
</MiscAtomsSlidingCarousel> -->
|
|
297
|
-
<v-responsive
|
|
357
|
+
<v-responsive
|
|
358
|
+
class="mx-auto my-9"
|
|
359
|
+
width="120"
|
|
360
|
+
>
|
|
298
361
|
<v-divider class="mb-1" />
|
|
299
362
|
<v-divider />
|
|
300
363
|
</v-responsive>
|
|
@@ -307,6 +370,8 @@
|
|
|
307
370
|
|
|
308
371
|
<script setup>
|
|
309
372
|
import { useDisplay } from "vuetify";
|
|
373
|
+
import { ref } from "vue";
|
|
374
|
+
import { useRouter } from "vue-router";
|
|
310
375
|
import getFileIcon from "../../composables/useIcons";
|
|
311
376
|
const { name, mdAndUp, sm, xs } = useDisplay();
|
|
312
377
|
const router = useRouter();
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
</template>
|
|
44
44
|
|
|
45
45
|
<script setup>
|
|
46
|
-
import { mergeProps, computed } from "vue";
|
|
46
|
+
import { mergeProps, computed, ref } from "vue";
|
|
47
47
|
import { useDisplay } from "vuetify";
|
|
48
48
|
import { useRootStore } from "../../../stores/root";
|
|
49
49
|
import { useNuxtApp } from "#imports";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<script setup>
|
|
6
6
|
import { computed } from "vue";
|
|
7
7
|
import { useRootStore } from "../../../stores/root";
|
|
8
|
-
import { useNuxtApp } from "#imports";
|
|
8
|
+
import { useNuxtApp, computed } from "#imports";
|
|
9
9
|
const rootStore = useRootStore();
|
|
10
10
|
const props = defineProps(["type", "items", "name"]);
|
|
11
11
|
const { $stores } = useNuxtApp();
|
|
@@ -24,8 +24,9 @@
|
|
|
24
24
|
</div>
|
|
25
25
|
<v-expand-transition>
|
|
26
26
|
<div v-if="filtersOpen" class="mb-7">
|
|
27
|
-
<ListMoleculesFilters :type="type"
|
|
28
|
-
|
|
27
|
+
<ListMoleculesFilters :type="type" />
|
|
28
|
+
</div>
|
|
29
|
+
</v-expand-transition>
|
|
29
30
|
<ListAtomsSearchInput :type="type" />
|
|
30
31
|
<ListAtomsSearchString :type="type" />
|
|
31
32
|
</v-col>
|
|
@@ -33,6 +34,8 @@
|
|
|
33
34
|
</template>
|
|
34
35
|
|
|
35
36
|
<script setup>
|
|
37
|
+
import { ref } from "vue";
|
|
38
|
+
import { useRoute } from "#imports";
|
|
36
39
|
const route = useRoute();
|
|
37
40
|
const filtersOpen = ref(!!Object.keys(route.query)?.length);
|
|
38
41
|
const props = defineProps({
|
|
@@ -78,8 +78,8 @@
|
|
|
78
78
|
|
|
79
79
|
<script setup>
|
|
80
80
|
import { computed } from "vue";
|
|
81
|
-
import { useRoute } from "vue-router";
|
|
82
81
|
import { useRootStore } from "../../../stores/root";
|
|
82
|
+
import { useRoute } from "#imports";
|
|
83
83
|
const route = useRoute();
|
|
84
84
|
const rootStore = useRootStore();
|
|
85
85
|
const props = defineProps({
|
|
@@ -25,7 +25,10 @@
|
|
|
25
25
|
:image="item.image"
|
|
26
26
|
:hashtags="item.tags.map((tag) => tag.name)"
|
|
27
27
|
:url="config.url + route.fullPath"
|
|
28
|
-
|
|
28
|
+
>
|
|
29
|
+
<template #label>
|
|
30
|
+
{{ network }}
|
|
31
|
+
</template>
|
|
29
32
|
</SocialShare>
|
|
30
33
|
</v-list-item>
|
|
31
34
|
</v-list>
|
|
@@ -33,8 +36,9 @@
|
|
|
33
36
|
</template>
|
|
34
37
|
|
|
35
38
|
<script setup>
|
|
36
|
-
import config from "~/static.config";
|
|
37
39
|
import { mergeProps } from "vue";
|
|
40
|
+
import { useRoute } from "#imports";
|
|
41
|
+
import config from "~/static.config";
|
|
38
42
|
const route = useRoute();
|
|
39
43
|
const props = defineProps({
|
|
40
44
|
networks: {
|
|
@@ -73,17 +73,19 @@
|
|
|
73
73
|
['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].indexOf(name || 'md')
|
|
74
74
|
]
|
|
75
75
|
"
|
|
76
|
-
>{{ $t("visit-the-project-website") }}</v-btn
|
|
77
76
|
>
|
|
77
|
+
{{ $t("visit-the-project-website") }}
|
|
78
|
+
</v-btn>
|
|
78
79
|
</template>
|
|
79
|
-
</v-col
|
|
80
|
-
>
|
|
80
|
+
</v-col>
|
|
81
|
+
</v-row>
|
|
81
82
|
<v-divider />
|
|
82
83
|
</template>
|
|
83
84
|
|
|
84
85
|
<script setup>
|
|
85
|
-
import { useRootStore } from "../../stores/root";
|
|
86
86
|
import { useDisplay } from "vuetify";
|
|
87
|
+
import { useRootStore } from "../../stores/root";
|
|
88
|
+
import { useRouter } from "#imports";
|
|
87
89
|
const { locale } = useI18n();
|
|
88
90
|
const { name } = useDisplay();
|
|
89
91
|
const rootStore = useRootStore();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineStore } from "pinia";
|
|
2
2
|
import SEARCH from "../graphql/queries/list/search.gql";
|
|
3
|
-
import { useNuxtApp } from "#imports";
|
|
3
|
+
import { useNuxtApp, useRouter } from "#imports";
|
|
4
4
|
export const useRootStore = defineStore("rootStore", {
|
|
5
5
|
state: () => ({
|
|
6
6
|
scrolled: import.meta.browser ? window.scrollY > 0 : false,
|