@paris-ias/list 1.0.88 → 1.0.90
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
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<v-sheet class="d-flex sliding-item flex-md-row flex-column px-6">
|
|
3
|
+
<MiscAtomsDateStamp
|
|
4
|
+
:date-start="item.start"
|
|
5
|
+
:date-stop="item.stop"
|
|
6
|
+
:loading="loading"
|
|
7
|
+
class="mr-4 mb-6 mb-md-0"
|
|
8
|
+
style="min-width: 70px"
|
|
9
|
+
/>
|
|
10
|
+
<div
|
|
11
|
+
class="d-flex flex-column"
|
|
12
|
+
:style="
|
|
13
|
+
'min-width:' +
|
|
14
|
+
[250, 300, 350, 380, 430, 460][
|
|
15
|
+
['xs', 'sm', 'md', 'lg', 'xl', 'xxl'].indexOf(name || 'md')
|
|
16
|
+
] +
|
|
17
|
+
'px!important;'
|
|
18
|
+
"
|
|
19
|
+
>
|
|
20
|
+
<MiscAtomsImageContainer
|
|
21
|
+
cover
|
|
22
|
+
:ratio="1"
|
|
23
|
+
:src="item.image"
|
|
24
|
+
link="activities-events-slug"
|
|
25
|
+
:slug="item.id"
|
|
26
|
+
:loading="loading"
|
|
27
|
+
/>
|
|
28
|
+
<a
|
|
29
|
+
class="mt-6 pl-0 text-h5 text-md-h4 font-weight-medium sliding-item-title cursor-pointer"
|
|
30
|
+
:href="
|
|
31
|
+
localePath('activities-events-slug', {
|
|
32
|
+
slug: item.id,
|
|
33
|
+
})
|
|
34
|
+
"
|
|
35
|
+
>
|
|
36
|
+
{{ item.name }}
|
|
37
|
+
</a>
|
|
38
|
+
</div>
|
|
39
|
+
</v-sheet>
|
|
40
|
+
</template>
|
|
41
|
+
|
|
42
|
+
<script setup>
|
|
43
|
+
import { useDisplay } from "vuetify";
|
|
44
|
+
const { name } = useDisplay();
|
|
45
|
+
const props = defineProps({
|
|
46
|
+
item: { type: Object, required: true },
|
|
47
|
+
loading: { type: Boolean, required: true, default: false }
|
|
48
|
+
});
|
|
49
|
+
</script>
|
|
@@ -29,7 +29,7 @@ export const useRootStore = defineStore("rootStore", {
|
|
|
29
29
|
setLoading(value, type = "") {
|
|
30
30
|
const { $stores } = useNuxtApp();
|
|
31
31
|
this.loading = value;
|
|
32
|
-
if (type.length && $stores[type]) {
|
|
32
|
+
if (type.length && type !== "all" && $stores[type]) {
|
|
33
33
|
$stores[type].loading = value;
|
|
34
34
|
}
|
|
35
35
|
},
|