@webitel/ui-datalist 1.1.0-1 → 1.1.0-3
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/package.json +6 -9
- package/src/modules/filter-presets/components/apply-preset/apply-preset-action.vue +1 -3
- package/src/modules/filter-presets/components/save-preset/save-preset-popup.vue +6 -5
- package/src/modules/filters/components/preview/dynamic-filter-preview-info.vue +1 -4
- package/src/modules/filters/modules/filterConfig/components/_shared/date-time-filter/date-time-options/date-time-options-filter-value-preview.vue +2 -5
- package/src/modules/filters/modules/filterConfig/components/case-actual-reaction-time/case-actual-reaction-time-filter-value-preview.vue +2 -5
- package/src/modules/filters/modules/filterConfig/components/case-actual-resolution-time/case-actual-resolution-time-filter-value-preview.vue +2 -5
- package/src/modules/filters/modules/filterConfig/components/case-reaction-time/case-reaction-time-filter-value-preview.vue +2 -5
- package/src/modules/filters/modules/filterConfig/components/case-resolution-time/case-resolution-time-filter-value-preview.vue +2 -5
- package/src/modules/filters/modules/filterConfig/components/rating/rating-from-to-filter-value-preview.vue +2 -5
- package/src/modules/filters/modules/filterConfig/components/score/score-from-to-filter-value-preview.vue +2 -5
- package/src/modules/filters/modules/filterConfig/components/talk-duration/talk-duration-filter-value-preview.vue +11 -9
- package/src/modules/filters/modules/filterConfig/components/total-duration/total-duration-filter-value-preview.vue +11 -9
- package/src/modules/filters/modules/filterConfig/components/variable/variable-filter-value-preview.vue +2 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webitel/ui-datalist",
|
|
3
|
-
"version": "1.1.0-
|
|
3
|
+
"version": "1.1.0-3",
|
|
4
4
|
"description": "Toolkit for building data lists in webitel ui system",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"make-all": "npm version patch --git-tag-version false && ( npm run lint:fix || true) && (npm run build:types || true) && npm run utils:publish",
|
|
@@ -27,17 +27,17 @@
|
|
|
27
27
|
"CHANGELOG.md"
|
|
28
28
|
],
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"axios": "^1",
|
|
31
|
-
"date-fns": "^4",
|
|
32
|
-
"pinia": "^3.x",
|
|
33
|
-
"vue": "^3.5",
|
|
34
30
|
"@regle/schemas": "^1.x",
|
|
35
31
|
"@vuelidate/core": "^2.0.3",
|
|
36
32
|
"@vuelidate/validators": "^2.0.4",
|
|
37
33
|
"@vueuse/core": "^14.0",
|
|
38
34
|
"@webitel/api-services": "^0.1.0",
|
|
39
|
-
"@webitel/styleguide": "
|
|
35
|
+
"@webitel/styleguide": "^26.2.0-1",
|
|
40
36
|
"@webitel/ui-sdk": "^26.2.0-2",
|
|
37
|
+
"axios": "^1",
|
|
38
|
+
"date-fns": "^4",
|
|
39
|
+
"pinia": "^3.x",
|
|
40
|
+
"vue": "^3.5",
|
|
41
41
|
"zod": "^4.x"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
@@ -45,7 +45,6 @@
|
|
|
45
45
|
"@standard-schema/spec": "^1.x",
|
|
46
46
|
"@tsconfig/node22": "^22.0.0",
|
|
47
47
|
"@types/node": "^24.x",
|
|
48
|
-
"@vitejs/plugin-vue": "^6.x",
|
|
49
48
|
"@vue/tsconfig": "^0.8.x",
|
|
50
49
|
"eslint": "^9.22.0",
|
|
51
50
|
"eslint-config-prettier": "^10.1.1",
|
|
@@ -62,8 +61,6 @@
|
|
|
62
61
|
"typescript-eslint": "^8.26.1",
|
|
63
62
|
"typescript-plugin-css-modules": "^5.x",
|
|
64
63
|
"unplugin-auto-import": "^19.x",
|
|
65
|
-
"vite": "npm:rolldown-vite@^7.3.x",
|
|
66
|
-
"vite-plugin-checker": "^0.12.x",
|
|
67
64
|
"vue-tsc": "^3.x"
|
|
68
65
|
},
|
|
69
66
|
"engines": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
:text="textEmpty"
|
|
30
30
|
/>
|
|
31
31
|
|
|
32
|
-
<section class="available-presets-list">
|
|
32
|
+
<section class="available-presets-list wt-scrollbar">
|
|
33
33
|
<preset-preview
|
|
34
34
|
v-for="preset of dataList"
|
|
35
35
|
:key="preset.id"
|
|
@@ -255,8 +255,6 @@ onMounted(async () => {
|
|
|
255
255
|
}
|
|
256
256
|
|
|
257
257
|
.available-presets-list {
|
|
258
|
-
@extend %wt-scrollbar;
|
|
259
|
-
|
|
260
258
|
display: flex;
|
|
261
259
|
overflow-y: auto;
|
|
262
260
|
flex-direction: column;
|
|
@@ -24,10 +24,12 @@
|
|
|
24
24
|
/>
|
|
25
25
|
</form>
|
|
26
26
|
|
|
27
|
-
<preset-filters-preview
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
<div class="save-preset-filters-preview-wrapper wt-scrollbar">
|
|
28
|
+
<preset-filters-preview
|
|
29
|
+
:filters-manager="props.filtersManager"
|
|
30
|
+
:filter-configs="props.filterConfigs"
|
|
31
|
+
/>
|
|
32
|
+
</div>
|
|
31
33
|
</template>
|
|
32
34
|
|
|
33
35
|
<template #actions>
|
|
@@ -137,7 +139,6 @@ const save = () => {
|
|
|
137
139
|
}
|
|
138
140
|
|
|
139
141
|
.save-preset-filters-preview-wrapper {
|
|
140
|
-
@extend %wt-scrollbar;
|
|
141
142
|
margin-top: var(--spacing-sm);
|
|
142
143
|
max-height: 140px;
|
|
143
144
|
overflow-y: auto;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<section class="dynamic-filter-preview-info">
|
|
3
|
-
<header class="dynamic-filter-preview-info__header">
|
|
3
|
+
<header class="dynamic-filter-preview-info__header typo-body-2-bold">
|
|
4
4
|
<slot name="header" />
|
|
5
5
|
</header>
|
|
6
6
|
|
|
@@ -23,9 +23,6 @@
|
|
|
23
23
|
gap: var(--spacing-xs);
|
|
24
24
|
min-width: 60px;
|
|
25
25
|
|
|
26
|
-
&__header {
|
|
27
|
-
@extend %typo-body-2-bold;
|
|
28
|
-
}
|
|
29
26
|
|
|
30
27
|
&__body {
|
|
31
28
|
display: flex;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
<template v-else>
|
|
8
8
|
<div>
|
|
9
|
-
<p class="date-time-options-filter-value-preview__title">
|
|
9
|
+
<p class="date-time-options-filter-value-preview__title typo-subtitle-1">
|
|
10
10
|
{{ t('reusable.from') }}
|
|
11
11
|
</p>
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</div>
|
|
15
15
|
|
|
16
16
|
<div>
|
|
17
|
-
<p class="date-time-options-filter-value-preview__title">
|
|
17
|
+
<p class="date-time-options-filter-value-preview__title typo-subtitle-1">
|
|
18
18
|
{{ t('reusable.to') }}
|
|
19
19
|
</p>
|
|
20
20
|
|
|
@@ -57,7 +57,4 @@ const to = computed(() => {
|
|
|
57
57
|
<style lang="scss" scoped>
|
|
58
58
|
@use '@webitel/styleguide/typography' as *;
|
|
59
59
|
|
|
60
|
-
.date-time-options-filter-value-preview__title {
|
|
61
|
-
@extend %typo-subtitle-1;
|
|
62
|
-
}
|
|
63
60
|
</style>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="actual-reaction-time-filter-value-preview">
|
|
3
3
|
<div v-if="props.value.from">
|
|
4
|
-
<p class="actual-reaction-time-filter-value-preview__title">
|
|
4
|
+
<p class="actual-reaction-time-filter-value-preview__title typo-subtitle-1">
|
|
5
5
|
{{ t('reusable.from') }}
|
|
6
6
|
</p>
|
|
7
7
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
</div>
|
|
10
10
|
|
|
11
11
|
<div v-if="props.value.to">
|
|
12
|
-
<p class="actual-reaction-time-filter-value-preview__title">
|
|
12
|
+
<p class="actual-reaction-time-filter-value-preview__title typo-subtitle-1">
|
|
13
13
|
{{ t('reusable.to') }}
|
|
14
14
|
</p>
|
|
15
15
|
|
|
@@ -37,8 +37,5 @@ function convertTimestampToDate(value) {
|
|
|
37
37
|
@use '@webitel/styleguide/typography' as *;
|
|
38
38
|
|
|
39
39
|
.actual-reaction-time-filter-value-preview {
|
|
40
|
-
&__title {
|
|
41
|
-
@extend %typo-subtitle-1;
|
|
42
|
-
}
|
|
43
40
|
}
|
|
44
41
|
</style>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="actual-resolution-time-filter-value-preview">
|
|
3
3
|
<div v-if="props.value.from">
|
|
4
|
-
<p class="actual-resolution-time-filter-value-preview__title">
|
|
4
|
+
<p class="actual-resolution-time-filter-value-preview__title typo-subtitle-1">
|
|
5
5
|
{{ t('reusable.from') }}
|
|
6
6
|
</p>
|
|
7
7
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
</div>
|
|
10
10
|
|
|
11
11
|
<div v-if="props.value.to">
|
|
12
|
-
<p class="actual-resolution-time-filter-value-preview__title">
|
|
12
|
+
<p class="actual-resolution-time-filter-value-preview__title typo-subtitle-1">
|
|
13
13
|
{{ t('reusable.to') }}
|
|
14
14
|
</p>
|
|
15
15
|
|
|
@@ -37,8 +37,5 @@ function convertTimestampToDate(value) {
|
|
|
37
37
|
@use '@webitel/styleguide/typography' as *;
|
|
38
38
|
|
|
39
39
|
.actual-resolution-time-filter-value-preview {
|
|
40
|
-
&__title {
|
|
41
|
-
@extend %typo-subtitle-1;
|
|
42
|
-
}
|
|
43
40
|
}
|
|
44
41
|
</style>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="reaction-time-filter-value-preview">
|
|
3
3
|
<div v-if="props.value.from">
|
|
4
|
-
<p class="reaction-time-filter-value-preview__title">
|
|
4
|
+
<p class="reaction-time-filter-value-preview__title typo-subtitle-1">
|
|
5
5
|
{{ t('reusable.from') }}
|
|
6
6
|
</p>
|
|
7
7
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
</div>
|
|
10
10
|
|
|
11
11
|
<div v-if="props.value.to">
|
|
12
|
-
<p class="reaction-time-filter-value-preview__title">
|
|
12
|
+
<p class="reaction-time-filter-value-preview__title typo-subtitle-1">
|
|
13
13
|
{{ t('reusable.to') }}
|
|
14
14
|
</p>
|
|
15
15
|
|
|
@@ -37,8 +37,5 @@ function convertTimestampToDate(value) {
|
|
|
37
37
|
@use '@webitel/styleguide/typography' as *;
|
|
38
38
|
|
|
39
39
|
.reaction-time-filter-value-preview {
|
|
40
|
-
&__title {
|
|
41
|
-
@extend %typo-subtitle-1;
|
|
42
|
-
}
|
|
43
40
|
}
|
|
44
41
|
</style>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="resolution-time-filter-value-preview">
|
|
3
3
|
<div v-if="props.value.from">
|
|
4
|
-
<p class="resolution-time-filter-value-preview__title">
|
|
4
|
+
<p class="resolution-time-filter-value-preview__title typo-subtitle-1">
|
|
5
5
|
{{ t('reusable.from') }}
|
|
6
6
|
</p>
|
|
7
7
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
</div>
|
|
10
10
|
|
|
11
11
|
<div v-if="props.value.to">
|
|
12
|
-
<p class="resolution-time-filter-value-preview__title">
|
|
12
|
+
<p class="resolution-time-filter-value-preview__title typo-subtitle-1">
|
|
13
13
|
{{ t('reusable.to') }}
|
|
14
14
|
</p>
|
|
15
15
|
|
|
@@ -37,8 +37,5 @@ function convertTimestampToDate(value) {
|
|
|
37
37
|
@use '@webitel/styleguide/typography' as *;
|
|
38
38
|
|
|
39
39
|
.resolution-time-filter-value-preview {
|
|
40
|
-
&__title {
|
|
41
|
-
@extend %typo-subtitle-1;
|
|
42
|
-
}
|
|
43
40
|
}
|
|
44
41
|
</style>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="score-from-to-filter-value-preview">
|
|
3
3
|
<div v-if="props.value.from">
|
|
4
|
-
<p class="score-from-to-filter-value-preview__title">
|
|
4
|
+
<p class="score-from-to-filter-value-preview__title typo-subtitle-1">
|
|
5
5
|
{{ t('reusable.from') }}
|
|
6
6
|
</p>
|
|
7
7
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
</div>
|
|
10
10
|
|
|
11
11
|
<div v-if="props.value.to">
|
|
12
|
-
<p class="score-from-to-filter-value-preview__title">
|
|
12
|
+
<p class="score-from-to-filter-value-preview__title typo-subtitle-1">
|
|
13
13
|
{{ t('reusable.to') }}
|
|
14
14
|
</p>
|
|
15
15
|
|
|
@@ -32,8 +32,5 @@ const { t } = useI18n();
|
|
|
32
32
|
@use '@webitel/styleguide/typography' as *;
|
|
33
33
|
|
|
34
34
|
.score-from-to-filter-value-preview {
|
|
35
|
-
&__title {
|
|
36
|
-
@extend %typo-subtitle-1;
|
|
37
|
-
}
|
|
38
35
|
}
|
|
39
36
|
</style>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="score-from-to-filter-value-preview">
|
|
3
3
|
<div v-if="props.value.from">
|
|
4
|
-
<p class="score-from-to-filter-value-preview__title">
|
|
4
|
+
<p class="score-from-to-filter-value-preview__title typo-subtitle-1">
|
|
5
5
|
{{ t('reusable.from') }}
|
|
6
6
|
</p>
|
|
7
7
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
</div>
|
|
10
10
|
|
|
11
11
|
<div v-if="props.value.to">
|
|
12
|
-
<p class="score-from-to-filter-value-preview__title">
|
|
12
|
+
<p class="score-from-to-filter-value-preview__title typo-subtitle-1">
|
|
13
13
|
{{ t('reusable.to') }}
|
|
14
14
|
</p>
|
|
15
15
|
|
|
@@ -32,8 +32,5 @@ const { t } = useI18n();
|
|
|
32
32
|
@use '@webitel/styleguide/typography' as *;
|
|
33
33
|
|
|
34
34
|
.score-from-to-filter-value-preview {
|
|
35
|
-
&__title {
|
|
36
|
-
@extend %typo-subtitle-1;
|
|
37
|
-
}
|
|
38
35
|
}
|
|
39
36
|
</style>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="talk-duration-filter-value-preview">
|
|
3
3
|
<div v-if="from">
|
|
4
|
-
<p class="talk-duration-filter-value-preview__title">
|
|
4
|
+
<p class="talk-duration-filter-value-preview__title typo-subtitle-1">
|
|
5
5
|
{{ t('reusable.from') }}
|
|
6
6
|
</p>
|
|
7
7
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
</div>
|
|
10
10
|
|
|
11
11
|
<div v-if="to">
|
|
12
|
-
<p class="talk-duration-filter-value-preview__title">
|
|
12
|
+
<p class="talk-duration-filter-value-preview__title typo-subtitle-1">
|
|
13
13
|
{{ t('reusable.to') }}
|
|
14
14
|
</p>
|
|
15
15
|
|
|
@@ -18,7 +18,10 @@
|
|
|
18
18
|
</div>
|
|
19
19
|
</template>
|
|
20
20
|
|
|
21
|
-
<script
|
|
21
|
+
<script
|
|
22
|
+
lang="ts"
|
|
23
|
+
setup
|
|
24
|
+
>
|
|
22
25
|
import { useI18n } from 'vue-i18n';
|
|
23
26
|
|
|
24
27
|
import { useFromToSecToPreviewTime } from '../../composables/useFromToSecToPreviewTime';
|
|
@@ -33,12 +36,11 @@ const { t } = useI18n();
|
|
|
33
36
|
const { from, to } = useFromToSecToPreviewTime(props.value);
|
|
34
37
|
</script>
|
|
35
38
|
|
|
36
|
-
<style
|
|
39
|
+
<style
|
|
40
|
+
lang="scss"
|
|
41
|
+
scoped
|
|
42
|
+
>
|
|
37
43
|
@use '@webitel/styleguide/typography' as *;
|
|
38
44
|
|
|
39
|
-
.duration-filter-value-preview {
|
|
40
|
-
&__title {
|
|
41
|
-
@extend %typo-subtitle-1;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
45
|
+
.duration-filter-value-preview {}
|
|
44
46
|
</style>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="total-duration-filter-value-preview">
|
|
3
3
|
<div v-if="from">
|
|
4
|
-
<p class="total-duration-filter-value-preview__title">
|
|
4
|
+
<p class="total-duration-filter-value-preview__title typo-subtitle-1">
|
|
5
5
|
{{ t('reusable.from') }}
|
|
6
6
|
</p>
|
|
7
7
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
</div>
|
|
10
10
|
|
|
11
11
|
<div v-if="to">
|
|
12
|
-
<p class="total-duration-filter-value-preview__title">
|
|
12
|
+
<p class="total-duration-filter-value-preview__title typo-subtitle-1">
|
|
13
13
|
{{ t('reusable.to') }}
|
|
14
14
|
</p>
|
|
15
15
|
|
|
@@ -18,7 +18,10 @@
|
|
|
18
18
|
</div>
|
|
19
19
|
</template>
|
|
20
20
|
|
|
21
|
-
<script
|
|
21
|
+
<script
|
|
22
|
+
lang="ts"
|
|
23
|
+
setup
|
|
24
|
+
>
|
|
22
25
|
import { useI18n } from 'vue-i18n';
|
|
23
26
|
|
|
24
27
|
import { useFromToSecToPreviewTime } from '../../composables/useFromToSecToPreviewTime';
|
|
@@ -33,12 +36,11 @@ const { t } = useI18n();
|
|
|
33
36
|
const { from, to } = useFromToSecToPreviewTime(props.value);
|
|
34
37
|
</script>
|
|
35
38
|
|
|
36
|
-
<style
|
|
39
|
+
<style
|
|
40
|
+
lang="scss"
|
|
41
|
+
scoped
|
|
42
|
+
>
|
|
37
43
|
@use '@webitel/styleguide/typography' as *;
|
|
38
44
|
|
|
39
|
-
.duration-filter-value-preview {
|
|
40
|
-
&__title {
|
|
41
|
-
@extend %typo-subtitle-1;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
45
|
+
.duration-filter-value-preview {}
|
|
44
46
|
</style>
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="variables-filter-value-preview">
|
|
3
3
|
<div>
|
|
4
|
-
<p class="variables-filter-value-preview__title">
|
|
4
|
+
<p class="variables-filter-value-preview__title typo-subtitle-1">
|
|
5
5
|
{{ t('vocabulary.keys') }}:
|
|
6
6
|
</p>
|
|
7
7
|
<span>{{ variable[0] }}</span>
|
|
8
8
|
</div>
|
|
9
9
|
|
|
10
10
|
<div>
|
|
11
|
-
<p class="variables-filter-value-preview__title">
|
|
11
|
+
<p class="variables-filter-value-preview__title typo-subtitle-1">
|
|
12
12
|
{{ t('vocabulary.values') }}:
|
|
13
13
|
</p>
|
|
14
14
|
<span>{{ variable[1] }}</span>
|
|
@@ -32,8 +32,5 @@ const variable = props.value.split('=');
|
|
|
32
32
|
@use '@webitel/styleguide/typography' as *;
|
|
33
33
|
|
|
34
34
|
.variables-filter-value-preview {
|
|
35
|
-
&__title {
|
|
36
|
-
@extend %typo-subtitle-1;
|
|
37
|
-
}
|
|
38
35
|
}
|
|
39
36
|
</style>
|