@paris-ias/list 1.0.41 → 1.0.42
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
|
@@ -35,17 +35,18 @@
|
|
|
35
35
|
</v-btn>
|
|
36
36
|
<template v-else>
|
|
37
37
|
<v-btn
|
|
38
|
-
:class="{ 'active-page': page.current }"
|
|
38
|
+
:class="{ 'active-page': !!page.current }"
|
|
39
39
|
tabindex="0"
|
|
40
40
|
outlined
|
|
41
41
|
min-width="35"
|
|
42
42
|
height="35"
|
|
43
43
|
tile
|
|
44
44
|
nuxt
|
|
45
|
-
:
|
|
45
|
+
:active="!!page.current"
|
|
46
|
+
:color="!!page.current ? 'white' : 'black'"
|
|
46
47
|
text
|
|
47
48
|
width="35"
|
|
48
|
-
:aria-current="page.current ? 'true' : 'false'"
|
|
49
|
+
:aria-current="!!page.current ? 'true' : 'false'"
|
|
49
50
|
:aria-label="
|
|
50
51
|
page.current
|
|
51
52
|
? `Current page, Page ${page.value}`
|
|
@@ -10,14 +10,13 @@
|
|
|
10
10
|
|
|
11
11
|
<template v-else>
|
|
12
12
|
<nuxt-link
|
|
13
|
+
v-if="link"
|
|
13
14
|
v-slot="{ navigate, isActive }"
|
|
14
15
|
:to="
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
})
|
|
20
|
-
: null
|
|
16
|
+
localePath({
|
|
17
|
+
name: link,
|
|
18
|
+
params: { slug },
|
|
19
|
+
})
|
|
21
20
|
"
|
|
22
21
|
custom
|
|
23
22
|
>
|
|
@@ -49,6 +48,32 @@
|
|
|
49
48
|
<slot />
|
|
50
49
|
</v-img></div
|
|
51
50
|
></nuxt-link>
|
|
51
|
+
<div v-else class="overflow-hidden mw-100">
|
|
52
|
+
<!-- TODO debug why the picture is not displaying/sizing properly -->
|
|
53
|
+
<v-img
|
|
54
|
+
v-if="src"
|
|
55
|
+
:aspect-ratio="ratio"
|
|
56
|
+
:class="{ 'img-animation': animate }"
|
|
57
|
+
:lazy-src="
|
|
58
|
+
img(computedSrc, {
|
|
59
|
+
width,
|
|
60
|
+
quality: 70,
|
|
61
|
+
})
|
|
62
|
+
"
|
|
63
|
+
:src="
|
|
64
|
+
img(computedSrc, {
|
|
65
|
+
width,
|
|
66
|
+
quality: 70,
|
|
67
|
+
})
|
|
68
|
+
"
|
|
69
|
+
:srcset="_srcset.srcset"
|
|
70
|
+
:sizes="_srcset.sizes"
|
|
71
|
+
:title="caption"
|
|
72
|
+
v-bind="$attrs"
|
|
73
|
+
>
|
|
74
|
+
<slot />
|
|
75
|
+
</v-img>
|
|
76
|
+
</div>
|
|
52
77
|
</template>
|
|
53
78
|
</div>
|
|
54
79
|
</template>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
2
|
+
"applications-closed-since-0": "Applications closed since {0}",
|
|
3
3
|
"back": "Back",
|
|
4
4
|
"biography": "Biography",
|
|
5
5
|
"date-et-heure": "Date and Time",
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"0-1-found-page-2-of-3-f": "Aucun {1} trouvée. \n\nPage {2} sur {3} | \n{0} {1} trouvée. \n\nPage {2} sur {3} | \n{0} {1} trouvées. \n\nPage {2} de {3}",
|
|
2
|
+
"applications-closed-since-0": "Inscriptions fermées deepuis le {0}",
|
|
4
3
|
"back": "Retour",
|
|
5
4
|
"biography": "Biographie",
|
|
6
5
|
"date-et-heure": "Date et heure",
|