@paris-ias/list 1.0.102 → 1.0.104
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 +1 -1
- package/dist/runtime/components/list/atoms/SearchInput.vue +1 -2
- package/dist/runtime/components/list/atoms/SortMenu.vue +1 -1
- package/dist/runtime/components/list/atoms/ViewMenu.vue +2 -2
- package/dist/runtime/components/list/inputs/AutoComplete.vue +1 -2
- package/dist/runtime/components/list/inputs/BooleanSwitch.vue +2 -2
- package/dist/runtime/components/list/inputs/Checkbox.vue +1 -2
- package/dist/runtime/components/list/inputs/Select.vue +1 -2
- package/dist/runtime/components/list/molecules/Filters.vue +1 -2
- package/dist/runtime/components/list/molecules/Pagination.vue +1 -2
- package/dist/runtime/components/list/organisms/List.vue +2 -2
- package/dist/runtime/components/list/organisms/Slider.vue +1 -2
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
<script setup>
|
|
59
59
|
import { ref } from "vue";
|
|
60
60
|
import { getDetailedFormatedDate } from "../../composables/useUtils";
|
|
61
|
-
import { useI18n } from "
|
|
61
|
+
import { useI18n } from "#imports";
|
|
62
62
|
const { locale } = useI18n();
|
|
63
63
|
const props = defineProps({
|
|
64
64
|
item: {
|
|
@@ -71,8 +71,7 @@
|
|
|
71
71
|
<script setup>
|
|
72
72
|
import { useDebounceFn } from "@vueuse/core";
|
|
73
73
|
import { useRootStore } from "../../../stores/root";
|
|
74
|
-
import { useNuxtApp, computed } from "#imports";
|
|
75
|
-
import { useI18n } from "vue-i18n";
|
|
74
|
+
import { useNuxtApp, computed, useI18n } from "#imports";
|
|
76
75
|
const { locale, t } = useI18n();
|
|
77
76
|
const rootStore = useRootStore();
|
|
78
77
|
const { $stores } = useNuxtApp();
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
import { mergeProps } from "vue";
|
|
47
47
|
import { useDisplay } from "vuetify";
|
|
48
48
|
import { useRootStore } from "../../../stores/root";
|
|
49
|
-
import { useNuxtApp, computed, ref } from "#imports";
|
|
49
|
+
import { useNuxtApp, computed, ref, useI18n } from "#imports";
|
|
50
50
|
const { $stores } = useNuxtApp();
|
|
51
51
|
const { xs: isXsDisplay } = useDisplay();
|
|
52
52
|
const { locale } = useI18n();
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
</template>
|
|
41
41
|
|
|
42
42
|
<script setup>
|
|
43
|
-
import { mergeProps
|
|
43
|
+
import { mergeProps } from "vue";
|
|
44
44
|
import { useDisplay } from "vuetify";
|
|
45
45
|
import { useRootStore } from "../../../stores/root";
|
|
46
|
-
import { useNuxtApp } from "#imports";
|
|
46
|
+
import { useNuxtApp, ref, useI18n } from "#imports";
|
|
47
47
|
const { locale } = useI18n();
|
|
48
48
|
const { $stores } = useNuxtApp();
|
|
49
49
|
const props = defineProps({
|
|
@@ -8,8 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
<script setup>
|
|
10
10
|
import { useRootStore } from "../../../stores/root";
|
|
11
|
-
import { useNuxtApp, computed } from "#imports";
|
|
12
|
-
import { useI18n } from "vue-i18n";
|
|
11
|
+
import { useNuxtApp, computed, useI18n } from "#imports";
|
|
13
12
|
const { locale } = useI18n();
|
|
14
13
|
const rootStore = useRootStore();
|
|
15
14
|
const { $stores } = useNuxtApp();
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
<script setup>
|
|
6
6
|
import { useRootStore } from "../../../stores/root";
|
|
7
|
-
import { useNuxtApp, computed } from "#imports";
|
|
7
|
+
import { useNuxtApp, computed, useI18n } from "#imports";
|
|
8
8
|
const { locale } = useI18n();
|
|
9
9
|
const rootStore = useRootStore();
|
|
10
10
|
const props = defineProps(["type", "items", "name"]);
|
|
@@ -14,7 +14,7 @@ const val = computed({
|
|
|
14
14
|
return $stores[props.type].filters[props.name]?.value;
|
|
15
15
|
},
|
|
16
16
|
set(value) {
|
|
17
|
-
rootStore.updateFilter(props.name, value, props.type);
|
|
17
|
+
rootStore.updateFilter(props.name, value, props.type, locale.value);
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
</script>
|
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
<script setup>
|
|
6
6
|
import { useRootStore } from "../../../stores/root";
|
|
7
|
-
import { useNuxtApp, computed } from "#imports";
|
|
8
|
-
import { useI18n } from "vue-i18n";
|
|
7
|
+
import { useNuxtApp, computed, useI18n } from "#imports";
|
|
9
8
|
const { locale } = useI18n();
|
|
10
9
|
const rootStore = useRootStore();
|
|
11
10
|
const props = defineProps(["type", "items", "name"]);
|
|
@@ -8,8 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
<script setup>
|
|
10
10
|
import { useRootStore } from "../../../stores/root";
|
|
11
|
-
import { useNuxtApp, computed } from "#imports";
|
|
12
|
-
import { useI18n } from "vue-i18n";
|
|
11
|
+
import { useNuxtApp, computed, useI18n } from "#imports";
|
|
13
12
|
const { locale } = useI18n();
|
|
14
13
|
const rootStore = useRootStore();
|
|
15
14
|
const { $stores } = useNuxtApp();
|
|
@@ -43,8 +43,7 @@
|
|
|
43
43
|
import { useDisplay } from "vuetify";
|
|
44
44
|
import { useRootStore } from "../../../stores/root";
|
|
45
45
|
import { capitalize } from "../../../composables/useUtils";
|
|
46
|
-
import { useNuxtApp, onMounted, resolveComponent } from "#imports";
|
|
47
|
-
import { useI18n } from "vue-i18n";
|
|
46
|
+
import { useNuxtApp, onMounted, resolveComponent, useI18n } from "#imports";
|
|
48
47
|
const { smAndDown } = useDisplay();
|
|
49
48
|
const i18n = useI18n();
|
|
50
49
|
const { locale, messages } = useI18n();
|
|
@@ -79,8 +79,7 @@
|
|
|
79
79
|
|
|
80
80
|
<script setup>
|
|
81
81
|
import { useRootStore } from "../../../stores/root";
|
|
82
|
-
import { useRoute, computed,
|
|
83
|
-
import { useI18n } from "vue-i18n";
|
|
82
|
+
import { useRoute, computed, useI18n } from "#imports";
|
|
84
83
|
const { locale } = useI18n();
|
|
85
84
|
const route = useRoute();
|
|
86
85
|
const rootStore = useRootStore();
|
|
@@ -32,9 +32,9 @@ import {
|
|
|
32
32
|
resolveComponent,
|
|
33
33
|
computed,
|
|
34
34
|
onBeforeUnmount,
|
|
35
|
-
onMounted
|
|
35
|
+
onMounted,
|
|
36
|
+
useI18n
|
|
36
37
|
} from "#imports";
|
|
37
|
-
import { useI18n } from "vue-i18n";
|
|
38
38
|
const { $stores } = useNuxtApp();
|
|
39
39
|
const { locale } = useI18n();
|
|
40
40
|
const rootStore = useRootStore();
|
|
@@ -55,8 +55,7 @@
|
|
|
55
55
|
import { ref, computed, onMounted, onBeforeUnmount, nextTick, watch } from "vue";
|
|
56
56
|
import { useRootStore } from "../../../stores/root";
|
|
57
57
|
import { capitalize } from "../../../composables/useUtils";
|
|
58
|
-
import { useNuxtApp } from "#imports";
|
|
59
|
-
import { useI18n } from "vue-i18n";
|
|
58
|
+
import { useNuxtApp, useI18n } from "#imports";
|
|
60
59
|
defineOptions({ name: "ListOrganismsSlider" });
|
|
61
60
|
const { $stores } = useNuxtApp();
|
|
62
61
|
const { locale } = useI18n();
|