@webitel/ui-sdk 24.12.127 → 24.12.128
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 +6 -0
- package/dist/ui-sdk.js +2 -2
- package/dist/ui-sdk.umd.cjs +1 -1
- package/package.json +1 -1
- package/src/components/wt-icon-action/iconMappings.js +1 -1
- package/src/locale/en/en.js +20 -22
- package/src/locale/ru/ru.js +19 -21
- package/src/locale/ua/ua.js +19 -21
- package/src/modules/Filters/v2/filters/components/preview/dynamic-filter-preview.vue +11 -6
package/package.json
CHANGED
package/src/locale/en/en.js
CHANGED
|
@@ -480,7 +480,7 @@ export default {
|
|
|
480
480
|
},
|
|
481
481
|
filters: {
|
|
482
482
|
addFilter: ({ linked }) => {
|
|
483
|
-
return `${linked('reusable.add')} ${linked(
|
|
483
|
+
return `${linked('reusable.add')} a ${linked(
|
|
484
484
|
'reusable.filter',
|
|
485
485
|
).toLowerCase()}`;
|
|
486
486
|
},
|
|
@@ -504,10 +504,10 @@ export default {
|
|
|
504
504
|
actualResolutionTime: ({ linked }) => {
|
|
505
505
|
return linked('cases.actualResolutionTime');
|
|
506
506
|
},
|
|
507
|
-
agent
|
|
507
|
+
agent: ({ linked }) => {
|
|
508
508
|
return linked('objects.agent.agent');
|
|
509
509
|
},
|
|
510
|
-
amdResult
|
|
510
|
+
amdResult: ({ linked }) => {
|
|
511
511
|
return linked('objects.amdResult');
|
|
512
512
|
},
|
|
513
513
|
assignee: ({ linked }) => {
|
|
@@ -516,31 +516,31 @@ export default {
|
|
|
516
516
|
author: ({ linked }) => {
|
|
517
517
|
return linked('cases.author');
|
|
518
518
|
},
|
|
519
|
-
cause
|
|
519
|
+
cause: ({ linked }) => {
|
|
520
520
|
return linked('objects.hangupCause');
|
|
521
521
|
},
|
|
522
522
|
closeReasonGroupsCase: ({ linked }) => {
|
|
523
523
|
return linked('cases.reason');
|
|
524
524
|
},
|
|
525
|
-
contact
|
|
525
|
+
contact: ({ linked }) => {
|
|
526
526
|
return linked('vocabulary.contact');
|
|
527
527
|
},
|
|
528
528
|
contactGroup: ({ linked }) => {
|
|
529
529
|
return linked('cases.group');
|
|
530
530
|
},
|
|
531
|
-
createdAtFrom
|
|
531
|
+
createdAtFrom: ({ linked }) => {
|
|
532
532
|
return linked('reusable.from');
|
|
533
533
|
},
|
|
534
|
-
createdAtTo
|
|
534
|
+
createdAtTo: ({ linked }) => {
|
|
535
535
|
return linked('reusable.to');
|
|
536
536
|
},
|
|
537
|
-
direction
|
|
538
|
-
return linked('
|
|
537
|
+
direction: ({ linked }) => {
|
|
538
|
+
return linked('objects.direction');
|
|
539
539
|
},
|
|
540
|
-
gateway
|
|
541
|
-
return linked('
|
|
540
|
+
gateway: ({ linked }) => {
|
|
541
|
+
return linked('objects.gateway');
|
|
542
542
|
},
|
|
543
|
-
grantee
|
|
543
|
+
grantee: ({ linked }) => {
|
|
544
544
|
return linked('objects.grantee');
|
|
545
545
|
},
|
|
546
546
|
hasAttachment: ({ linked }) => {
|
|
@@ -558,13 +558,11 @@ export default {
|
|
|
558
558
|
priorityCase: ({ linked }) => {
|
|
559
559
|
return linked('vocabulary.priority');
|
|
560
560
|
},
|
|
561
|
-
queue
|
|
561
|
+
queue: ({ linked }) => {
|
|
562
562
|
return linked('objects.queue.queue');
|
|
563
563
|
},
|
|
564
|
-
rated:
|
|
565
|
-
|
|
566
|
-
},
|
|
567
|
-
ratedBy : ({ linked }) => {
|
|
564
|
+
rated: 'Rated',
|
|
565
|
+
ratedBy: ({ linked }) => {
|
|
568
566
|
return linked('objects.ratedBy');
|
|
569
567
|
},
|
|
570
568
|
rating: ({ linked }) => {
|
|
@@ -579,7 +577,7 @@ export default {
|
|
|
579
577
|
resolutionTime: ({ linked }) => {
|
|
580
578
|
return linked('cases.resolutionTime');
|
|
581
579
|
},
|
|
582
|
-
score
|
|
580
|
+
score: ({ linked }) => {
|
|
583
581
|
return linked('webitelUI.auditForm.score');
|
|
584
582
|
},
|
|
585
583
|
serviceCase: ({ linked }) => {
|
|
@@ -597,22 +595,22 @@ export default {
|
|
|
597
595
|
statusCase: ({ linked }) => {
|
|
598
596
|
return linked('cases.status');
|
|
599
597
|
},
|
|
600
|
-
tag
|
|
598
|
+
tag: ({ linked }) => {
|
|
601
599
|
return linked('vocabulary.tag');
|
|
602
600
|
},
|
|
603
601
|
talkDuration: ({ linked }) => {
|
|
604
602
|
return linked('objects.talkDuration');
|
|
605
603
|
},
|
|
606
|
-
team
|
|
604
|
+
team: ({ linked }) => {
|
|
607
605
|
return linked('objects.team');
|
|
608
606
|
},
|
|
609
607
|
totalDuration: ({ linked }) => {
|
|
610
608
|
return linked('objects.totalDuration');
|
|
611
609
|
},
|
|
612
|
-
user
|
|
610
|
+
user: ({ linked }) => {
|
|
613
611
|
return linked('objects.user');
|
|
614
612
|
},
|
|
615
|
-
variable
|
|
613
|
+
variable: ({ linked }) => {
|
|
616
614
|
return linked('vocabulary.variables');
|
|
617
615
|
},
|
|
618
616
|
},
|
package/src/locale/ru/ru.js
CHANGED
|
@@ -501,10 +501,10 @@ export default {
|
|
|
501
501
|
actualResolutionTime: ({ linked }) => {
|
|
502
502
|
return linked('cases.actualResolutionTime');
|
|
503
503
|
},
|
|
504
|
-
agent
|
|
504
|
+
agent: ({ linked }) => {
|
|
505
505
|
return linked('objects.agent.agent');
|
|
506
506
|
},
|
|
507
|
-
amdResult
|
|
507
|
+
amdResult: ({ linked }) => {
|
|
508
508
|
return linked('objects.amdResult');
|
|
509
509
|
},
|
|
510
510
|
assignee: ({ linked }) => {
|
|
@@ -513,31 +513,31 @@ export default {
|
|
|
513
513
|
author: ({ linked }) => {
|
|
514
514
|
return linked('cases.author');
|
|
515
515
|
},
|
|
516
|
-
cause
|
|
516
|
+
cause: ({ linked }) => {
|
|
517
517
|
return linked('objects.hangupCause');
|
|
518
518
|
},
|
|
519
519
|
closeReasonGroupsCase: ({ linked }) => {
|
|
520
520
|
return linked('cases.reason');
|
|
521
521
|
},
|
|
522
|
-
contact
|
|
522
|
+
contact: ({ linked }) => {
|
|
523
523
|
return linked('vocabulary.contact');
|
|
524
524
|
},
|
|
525
525
|
contactGroup: ({ linked }) => {
|
|
526
526
|
return linked('cases.group');
|
|
527
527
|
},
|
|
528
|
-
createdAtFrom
|
|
528
|
+
createdAtFrom: ({ linked }) => {
|
|
529
529
|
return linked('reusable.from');
|
|
530
530
|
},
|
|
531
|
-
createdAtTo
|
|
531
|
+
createdAtTo: ({ linked }) => {
|
|
532
532
|
return linked('reusable.to');
|
|
533
533
|
},
|
|
534
|
-
direction
|
|
535
|
-
return linked('
|
|
534
|
+
direction: ({ linked }) => {
|
|
535
|
+
return linked('objects.direction');
|
|
536
536
|
},
|
|
537
|
-
gateway
|
|
538
|
-
return linked('
|
|
537
|
+
gateway: ({ linked }) => {
|
|
538
|
+
return linked('objects.gateway');
|
|
539
539
|
},
|
|
540
|
-
grantee
|
|
540
|
+
grantee: ({ linked }) => {
|
|
541
541
|
return linked('objects.grantee');
|
|
542
542
|
},
|
|
543
543
|
hasAttachment: ({ linked }) => {
|
|
@@ -555,13 +555,11 @@ export default {
|
|
|
555
555
|
priorityCase: ({ linked }) => {
|
|
556
556
|
return linked('vocabulary.priority');
|
|
557
557
|
},
|
|
558
|
-
queue
|
|
558
|
+
queue: ({ linked }) => {
|
|
559
559
|
return linked('objects.queue.queue');
|
|
560
560
|
},
|
|
561
|
-
rated:
|
|
562
|
-
|
|
563
|
-
},
|
|
564
|
-
ratedBy : ({ linked }) => {
|
|
561
|
+
rated: 'Оценены',
|
|
562
|
+
ratedBy: ({ linked }) => {
|
|
565
563
|
return linked('objects.ratedBy');
|
|
566
564
|
},
|
|
567
565
|
rating: ({ linked }) => {
|
|
@@ -576,7 +574,7 @@ export default {
|
|
|
576
574
|
resolutionTime: ({ linked }) => {
|
|
577
575
|
return linked('cases.resolutionTime');
|
|
578
576
|
},
|
|
579
|
-
score
|
|
577
|
+
score: ({ linked }) => {
|
|
580
578
|
return linked('webitelUI.auditForm.score');
|
|
581
579
|
},
|
|
582
580
|
serviceCase: ({ linked }) => {
|
|
@@ -594,22 +592,22 @@ export default {
|
|
|
594
592
|
statusCase: ({ linked }) => {
|
|
595
593
|
return linked('cases.status');
|
|
596
594
|
},
|
|
597
|
-
tag
|
|
595
|
+
tag: ({ linked }) => {
|
|
598
596
|
return linked('vocabulary.tag');
|
|
599
597
|
},
|
|
600
598
|
talkDuration: ({ linked }) => {
|
|
601
599
|
return linked('objects.talkDuration');
|
|
602
600
|
},
|
|
603
|
-
team
|
|
601
|
+
team: ({ linked }) => {
|
|
604
602
|
return linked('objects.team');
|
|
605
603
|
},
|
|
606
604
|
totalDuration: ({ linked }) => {
|
|
607
605
|
return linked('objects.totalDuration');
|
|
608
606
|
},
|
|
609
|
-
user
|
|
607
|
+
user: ({ linked }) => {
|
|
610
608
|
return linked('objects.user');
|
|
611
609
|
},
|
|
612
|
-
variable
|
|
610
|
+
variable: ({ linked }) => {
|
|
613
611
|
return linked('vocabulary.variables');
|
|
614
612
|
},
|
|
615
613
|
},
|
package/src/locale/ua/ua.js
CHANGED
|
@@ -501,10 +501,10 @@ export default {
|
|
|
501
501
|
actualResolutionTime: ({ linked }) => {
|
|
502
502
|
return linked('cases.actualResolutionTime');
|
|
503
503
|
},
|
|
504
|
-
agent
|
|
504
|
+
agent: ({ linked }) => {
|
|
505
505
|
return linked('objects.agent.agent');
|
|
506
506
|
},
|
|
507
|
-
amdResult
|
|
507
|
+
amdResult: ({ linked }) => {
|
|
508
508
|
return linked('objects.amdResult');
|
|
509
509
|
},
|
|
510
510
|
assignee: ({ linked }) => {
|
|
@@ -513,31 +513,31 @@ export default {
|
|
|
513
513
|
author: ({ linked }) => {
|
|
514
514
|
return linked('cases.author');
|
|
515
515
|
},
|
|
516
|
-
cause
|
|
516
|
+
cause: ({ linked }) => {
|
|
517
517
|
return linked('objects.hangupCause');
|
|
518
518
|
},
|
|
519
519
|
closeReasonGroupsCase: ({ linked }) => {
|
|
520
520
|
return linked('cases.reason');
|
|
521
521
|
},
|
|
522
|
-
contact
|
|
522
|
+
contact: ({ linked }) => {
|
|
523
523
|
return linked('vocabulary.contact');
|
|
524
524
|
},
|
|
525
525
|
contactGroup: ({ linked }) => {
|
|
526
526
|
return linked('cases.group');
|
|
527
527
|
},
|
|
528
|
-
createdAtFrom
|
|
528
|
+
createdAtFrom: ({ linked }) => {
|
|
529
529
|
return linked('reusable.from');
|
|
530
530
|
},
|
|
531
|
-
createdAtTo
|
|
531
|
+
createdAtTo: ({ linked }) => {
|
|
532
532
|
return linked('reusable.to');
|
|
533
533
|
},
|
|
534
|
-
direction
|
|
535
|
-
return linked('
|
|
534
|
+
direction: ({ linked }) => {
|
|
535
|
+
return linked('objects.direction');
|
|
536
536
|
},
|
|
537
|
-
gateway
|
|
538
|
-
return linked('
|
|
537
|
+
gateway: ({ linked }) => {
|
|
538
|
+
return linked('objects.gateway');
|
|
539
539
|
},
|
|
540
|
-
grantee
|
|
540
|
+
grantee: ({ linked }) => {
|
|
541
541
|
return linked('objects.grantee');
|
|
542
542
|
},
|
|
543
543
|
hasAttachment: ({ linked }) => {
|
|
@@ -555,13 +555,11 @@ export default {
|
|
|
555
555
|
priorityCase: ({ linked }) => {
|
|
556
556
|
return linked('vocabulary.priority');
|
|
557
557
|
},
|
|
558
|
-
queue
|
|
558
|
+
queue: ({ linked }) => {
|
|
559
559
|
return linked('objects.queue.queue');
|
|
560
560
|
},
|
|
561
|
-
rated:
|
|
562
|
-
|
|
563
|
-
},
|
|
564
|
-
ratedBy : ({ linked }) => {
|
|
561
|
+
rated: 'Оцінені',
|
|
562
|
+
ratedBy: ({ linked }) => {
|
|
565
563
|
return linked('objects.ratedBy');
|
|
566
564
|
},
|
|
567
565
|
rating: ({ linked }) => {
|
|
@@ -576,7 +574,7 @@ export default {
|
|
|
576
574
|
resolutionTime: ({ linked }) => {
|
|
577
575
|
return linked('cases.resolutionTime');
|
|
578
576
|
},
|
|
579
|
-
score
|
|
577
|
+
score: ({ linked }) => {
|
|
580
578
|
return linked('webitelUI.auditForm.score');
|
|
581
579
|
},
|
|
582
580
|
serviceCase: ({ linked }) => {
|
|
@@ -594,22 +592,22 @@ export default {
|
|
|
594
592
|
statusCase: ({ linked }) => {
|
|
595
593
|
return linked('cases.status');
|
|
596
594
|
},
|
|
597
|
-
tag
|
|
595
|
+
tag: ({ linked }) => {
|
|
598
596
|
return linked('vocabulary.tag');
|
|
599
597
|
},
|
|
600
598
|
talkDuration: ({ linked }) => {
|
|
601
599
|
return linked('objects.talkDuration');
|
|
602
600
|
},
|
|
603
|
-
team
|
|
601
|
+
team: ({ linked }) => {
|
|
604
602
|
return linked('objects.team');
|
|
605
603
|
},
|
|
606
604
|
totalDuration: ({ linked }) => {
|
|
607
605
|
return linked('objects.totalDuration');
|
|
608
606
|
},
|
|
609
|
-
user
|
|
607
|
+
user: ({ linked }) => {
|
|
610
608
|
return linked('objects.user');
|
|
611
609
|
},
|
|
612
|
-
variable
|
|
610
|
+
variable: ({ linked }) => {
|
|
613
611
|
return linked('vocabulary.variables');
|
|
614
612
|
},
|
|
615
613
|
},
|
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
<wt-tooltip :disabled="configFormVisible">
|
|
5
5
|
<template #activator>
|
|
6
6
|
<wt-chip color="primary">
|
|
7
|
-
{{
|
|
7
|
+
{{
|
|
8
|
+
props.filter.label || t(`webitelUI.filters.${props.filter.name}`)
|
|
9
|
+
}}
|
|
8
10
|
<wt-icon-btn
|
|
9
11
|
icon="close--filled"
|
|
10
12
|
size="sm"
|
|
@@ -23,25 +25,28 @@
|
|
|
23
25
|
<slot name="info" />
|
|
24
26
|
</template>
|
|
25
27
|
</dynamic-filter-preview-info>
|
|
26
|
-
|
|
27
28
|
</template>
|
|
28
29
|
</wt-tooltip>
|
|
29
30
|
</template>
|
|
30
31
|
|
|
31
|
-
<template #content>
|
|
32
|
-
<slot
|
|
32
|
+
<template #content="slotScope">
|
|
33
|
+
<slot
|
|
34
|
+
name="form"
|
|
35
|
+
v-bind="slotScope"
|
|
36
|
+
/>
|
|
33
37
|
</template>
|
|
34
38
|
</dynamic-filter-config-view>
|
|
35
39
|
</template>
|
|
36
40
|
|
|
37
41
|
<script lang="ts" setup>
|
|
42
|
+
import { useI18n } from 'vue-i18n';
|
|
43
|
+
|
|
38
44
|
import WtChip from '../../../../../../components/wt-chip/wt-chip.vue';
|
|
39
45
|
import WtIconBtn from '../../../../../../components/wt-icon-btn/wt-icon-btn.vue';
|
|
40
46
|
import WtTooltip from '../../../../../../components/wt-tooltip/wt-tooltip.vue';
|
|
41
47
|
import type { IFilter } from '../../types/Filter';
|
|
42
48
|
import DynamicFilterConfigView from '../config/dynamic-filter-config-view.vue';
|
|
43
|
-
import DynamicFilterPreviewInfo from
|
|
44
|
-
import {useI18n} from "vue-i18n";
|
|
49
|
+
import DynamicFilterPreviewInfo from './dynamic-filter-preview-info.vue';
|
|
45
50
|
|
|
46
51
|
interface Props {
|
|
47
52
|
filter: IFilter;
|