@paris-ias/list 1.0.31 → 1.0.33
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/list/atoms/SearchInput.vue +1 -2
- package/dist/runtime/components/list/atoms/SearchString.vue +5 -10
- package/dist/runtime/components/list/atoms/SortMenu.vue +2 -2
- package/dist/runtime/components/misc/atoms/DateStamp.vue +1 -2
- package/dist/runtime/components/misc/molecules/Related.vue +1 -17
- package/dist/runtime/components/news/DenseItem.vue +1 -2
- package/dist/runtime/components/news/RowsItem.vue +1 -2
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -66,9 +66,8 @@
|
|
|
66
66
|
|
|
67
67
|
<script setup>
|
|
68
68
|
import { useDebounceFn } from "@vueuse/core";
|
|
69
|
-
import { computed } from "vue";
|
|
70
69
|
import { useRootStore } from "../../../stores/root";
|
|
71
|
-
import { useNuxtApp, useI18n } from "#imports";
|
|
70
|
+
import { useNuxtApp, useI18n, computed } from "#imports";
|
|
72
71
|
const { locale, t } = useI18n();
|
|
73
72
|
const rootStore = useRootStore();
|
|
74
73
|
const { $stores } = useNuxtApp();
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
<template
|
|
68
68
|
v-else-if="
|
|
69
69
|
(!$stores[type].search || $stores[type].search.length === 0) &&
|
|
70
|
-
$stores[type]
|
|
70
|
+
$stores[type].filtersCount > 0
|
|
71
71
|
"
|
|
72
72
|
>
|
|
73
73
|
{{
|
|
@@ -90,11 +90,7 @@
|
|
|
90
90
|
"list.0-items-found-with-1-filter",
|
|
91
91
|
[
|
|
92
92
|
$stores[type].total,
|
|
93
|
-
$t(
|
|
94
|
-
"items." + props.type,
|
|
95
|
-
$stores[type].total,
|
|
96
|
-
$stores[type].total
|
|
97
|
-
),
|
|
93
|
+
$t("items." + type, $stores[type].total, $stores[type].total),
|
|
98
94
|
$stores[type].filtersCount,
|
|
99
95
|
$t("filters", $stores[type].filtersCount),
|
|
100
96
|
],
|
|
@@ -116,7 +112,7 @@
|
|
|
116
112
|
"list.0-items-found-searching-for-with-1-filter-f",
|
|
117
113
|
[
|
|
118
114
|
$stores[type].total,
|
|
119
|
-
$t("items." +
|
|
115
|
+
$t("items." + type, $stores[type].total),
|
|
120
116
|
$stores[type].search,
|
|
121
117
|
$stores[type].filtersCount,
|
|
122
118
|
$t("filters", $stores[type].filtersCount),
|
|
@@ -127,7 +123,7 @@
|
|
|
127
123
|
"list.0-items-found-searching-for-with-1-filter",
|
|
128
124
|
[
|
|
129
125
|
$stores[type].total,
|
|
130
|
-
$t("items." +
|
|
126
|
+
$t("items." + type, $stores[type].total),
|
|
131
127
|
$stores[type].search,
|
|
132
128
|
$stores[type].filtersCount,
|
|
133
129
|
$t("filters", $stores[type].filtersCount),
|
|
@@ -152,8 +148,7 @@
|
|
|
152
148
|
</template>
|
|
153
149
|
|
|
154
150
|
<script setup>
|
|
155
|
-
import { ref } from "
|
|
156
|
-
import { useNuxtApp } from "#imports";
|
|
151
|
+
import { useNuxtApp, ref } from "#imports";
|
|
157
152
|
const { $stores } = useNuxtApp();
|
|
158
153
|
const props = defineProps({
|
|
159
154
|
type: {
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
</template>
|
|
44
44
|
|
|
45
45
|
<script setup>
|
|
46
|
-
import { mergeProps
|
|
46
|
+
import { mergeProps } from "vue";
|
|
47
47
|
import { useDisplay } from "vuetify";
|
|
48
48
|
import { useRootStore } from "../../../stores/root";
|
|
49
|
-
import { useNuxtApp } from "#imports";
|
|
49
|
+
import { useNuxtApp, computed, ref } from "#imports";
|
|
50
50
|
const { $stores } = useNuxtApp();
|
|
51
51
|
const { xs: isXsDisplay } = useDisplay();
|
|
52
52
|
const rootStore = useRootStore();
|
|
@@ -41,12 +41,11 @@
|
|
|
41
41
|
|
|
42
42
|
<script setup>
|
|
43
43
|
import { useDisplay } from "vuetify";
|
|
44
|
-
import { computed } from "vue";
|
|
45
44
|
import {
|
|
46
45
|
getDetailedFormatedDate,
|
|
47
46
|
formatDateValue
|
|
48
47
|
} from "../../../composables/useUtils";
|
|
49
|
-
import { useI18n } from "#imports";
|
|
48
|
+
import { computed, useI18n } from "#imports";
|
|
50
49
|
const { smAndDown, mdAndUp, name } = useDisplay();
|
|
51
50
|
const { locale } = useI18n();
|
|
52
51
|
const props = defineProps({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<v-row>
|
|
3
3
|
<v-col
|
|
4
|
-
v-for="(items, type) in
|
|
4
|
+
v-for="(items, type) in related"
|
|
5
5
|
:key="type"
|
|
6
6
|
cols="12"
|
|
7
7
|
md="6"
|
|
@@ -15,26 +15,10 @@
|
|
|
15
15
|
</template>
|
|
16
16
|
|
|
17
17
|
<script setup>
|
|
18
|
-
import { computed } from "vue";
|
|
19
18
|
const props = defineProps({
|
|
20
19
|
related: {
|
|
21
20
|
type: Object,
|
|
22
21
|
required: true
|
|
23
22
|
}
|
|
24
23
|
});
|
|
25
|
-
const typeMapping = {
|
|
26
|
-
events: "events",
|
|
27
|
-
people: "people",
|
|
28
|
-
news: "news",
|
|
29
|
-
projects: "projects"
|
|
30
|
-
};
|
|
31
|
-
const filteredRelatedItems = computed(() => {
|
|
32
|
-
const result = {};
|
|
33
|
-
for (const key in typeMapping) {
|
|
34
|
-
if (props.related[key] && props.related[key].length > 0) {
|
|
35
|
-
result[typeMapping[key]] = props.related[key];
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
return result;
|
|
39
|
-
});
|
|
40
24
|
</script>
|
|
@@ -36,9 +36,8 @@
|
|
|
36
36
|
|
|
37
37
|
<script setup>
|
|
38
38
|
import { useDisplay } from "vuetify";
|
|
39
|
-
import { computed } from "vue";
|
|
40
39
|
import { useRootStore } from "../../stores/root";
|
|
41
|
-
import { useNuxtApp, useI18n, useLocalePath } from "#imports";
|
|
40
|
+
import { computed, useNuxtApp, useI18n, useLocalePath } from "#imports";
|
|
42
41
|
const { $stores } = useNuxtApp();
|
|
43
42
|
const { name } = useDisplay();
|
|
44
43
|
const localePath = useLocalePath();
|
|
@@ -132,9 +132,8 @@
|
|
|
132
132
|
|
|
133
133
|
<script setup>
|
|
134
134
|
import { useDisplay } from "vuetify";
|
|
135
|
-
import { computed } from "vue";
|
|
136
135
|
import { useRootStore } from "../../stores/root";
|
|
137
|
-
import { useNuxtApp, useI18n, useLocalePath } from "#imports";
|
|
136
|
+
import { useNuxtApp, useI18n, useLocalePath, computed } from "#imports";
|
|
138
137
|
const { $stores } = useNuxtApp();
|
|
139
138
|
const { locale } = useI18n();
|
|
140
139
|
const localePath = useLocalePath();
|