@webitel/ui-sdk 25.4.41 → 25.4.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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [v25.4.41] - 2025-03-24
|
|
2
|
+
### :sparkles: New Features
|
|
3
|
+
- [`ef5b450`](https://github.com/webitel/webitel-ui-sdk/commit/ef5b450be4452e61e3b68cf95bde258081bcee58) - remove extension on imports [WTEL-6221](https://webitel.atlassian.net/browse/WTEL-6221) *(commit by [@stanislav-kozak](https://github.com/stanislav-kozak))*
|
|
4
|
+
- [`69f0149`](https://github.com/webitel/webitel-ui-sdk/commit/69f01499175f48fccdde09d408e45c824b2fb6c5) - implement api for objects [WTEL-6221](https://webitel.atlassian.net/browse/WTEL-6221) *(commit by [@stanislav-kozak](https://github.com/stanislav-kozak))*
|
|
5
|
+
|
|
6
|
+
|
|
1
7
|
## [v25.4.40] - 2025-03-21
|
|
2
8
|
### :bug: Bug Fixes
|
|
3
9
|
- [`3436353`](https://github.com/webitel/webitel-ui-sdk/commit/3436353d2b81e1b9d0cb6e023efaeb04ec158ab1) - rewrite cases group locale key [WTEL-6461](https://webitel.atlassian.net/browse/WTEL-6461) *(commit by [@plnnsimon](https://github.com/plnnsimon))*
|
|
@@ -1712,3 +1718,4 @@
|
|
|
1712
1718
|
[v25.4.38]: https://github.com/webitel/webitel-ui-sdk/compare/v25.4.37...v25.4.38
|
|
1713
1719
|
[v25.4.39]: https://github.com/webitel/webitel-ui-sdk/compare/v25.4.38...v25.4.39
|
|
1714
1720
|
[v25.4.40]: https://github.com/webitel/webitel-ui-sdk/compare/v24.12.174...v25.4.40
|
|
1721
|
+
[v25.4.41]: https://github.com/webitel/webitel-ui-sdk/compare/v25.4.40...v25.4.41
|
package/package.json
CHANGED
package/src/modules/Filters/v2/filters/components/filter-options/tag/tag-filter-value-preview.vue
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<ul>
|
|
3
3
|
<li
|
|
4
|
-
v-for="(tag, index) of
|
|
4
|
+
v-for="(tag, index) of tags"
|
|
5
5
|
:key="index"
|
|
6
6
|
>
|
|
7
7
|
{{ tag }}
|
|
@@ -10,9 +10,29 @@
|
|
|
10
10
|
</template>
|
|
11
11
|
|
|
12
12
|
<script lang="ts" setup>
|
|
13
|
+
import { computed } from 'vue';
|
|
14
|
+
import { useI18n } from 'vue-i18n';
|
|
15
|
+
|
|
16
|
+
import { TagOptions } from '../../../enums/tag-options';
|
|
17
|
+
|
|
13
18
|
const props = defineProps<{
|
|
14
|
-
value:
|
|
19
|
+
value: string[];
|
|
15
20
|
}>();
|
|
21
|
+
|
|
22
|
+
const { t } = useI18n();
|
|
23
|
+
|
|
24
|
+
const tags = computed(() => {
|
|
25
|
+
const tagLocaleMap = TagOptions.reduce((acc, option) => {
|
|
26
|
+
return {
|
|
27
|
+
...acc,
|
|
28
|
+
[option.value]: option.locale,
|
|
29
|
+
};
|
|
30
|
+
}, {});
|
|
31
|
+
|
|
32
|
+
return props.value.map((tag) => {
|
|
33
|
+
return t(tagLocaleMap[tag]) || tag;
|
|
34
|
+
});
|
|
35
|
+
});
|
|
16
36
|
</script>
|
|
17
37
|
|
|
18
38
|
<style lang="scss" scoped></style>
|