@webitel/ui-datalist 1.1.30 → 1.1.32
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 +2 -2
- package/src/modules/filters/components/config/dynamic-view/dynamic-filter-config-form.vue +7 -7
- package/src/modules/filters/components/dynamic-filter-add-action.vue +3 -1
- package/src/modules/filters/modules/filterConfig/components/_custom/type-extension-filter-value-field.vue +9 -9
- package/src/modules/filters/modules/filterConfig/components/_shared/has-options/has-option-filter-value-field.vue +5 -6
- package/src/modules/filters/modules/filterConfig/components/agent/agent-filter-value-field.vue +5 -7
- package/src/modules/filters/modules/filterConfig/components/agent-status/agent-status-filter-value-field.vue +5 -7
- package/src/modules/filters/modules/filterConfig/components/amd-result/amd-result-filter-value-field.vue +6 -8
- package/src/modules/filters/modules/filterConfig/components/auditor/auditor-filter-value-field.vue +5 -7
- package/src/modules/filters/modules/filterConfig/components/call-direction/call-direction-filter-value-field.vue +5 -6
- package/src/modules/filters/modules/filterConfig/components/case-assignee/case-assignee-filter-value-field.vue +5 -8
- package/src/modules/filters/modules/filterConfig/components/case-author/case-author-filter-value-field.vue +5 -7
- package/src/modules/filters/modules/filterConfig/components/case-close-reason-groups/case-close-reason-groups-filter-value-field.vue +12 -14
- package/src/modules/filters/modules/filterConfig/components/case-impacted/case-impacted-filter-value-field.vue +5 -7
- package/src/modules/filters/modules/filterConfig/components/case-priority/case-priority-filter-value-field.vue +5 -7
- package/src/modules/filters/modules/filterConfig/components/case-reporter/case-reporter-filter-value-field.vue +5 -7
- package/src/modules/filters/modules/filterConfig/components/case-sla/case-sla-filter-value-field.vue +4 -6
- package/src/modules/filters/modules/filterConfig/components/case-sla-condition/case-sla-condition-filter-value-field.vue +13 -14
- package/src/modules/filters/modules/filterConfig/components/case-source/case-source-filter-value-field.vue +5 -7
- package/src/modules/filters/modules/filterConfig/components/case-status/case-status-filter-value-field.vue +12 -14
- package/src/modules/filters/modules/filterConfig/components/contact/contact-filter-value-field.vue +5 -7
- package/src/modules/filters/modules/filterConfig/components/contact-group/contact-group-filter-value-field.vue +6 -8
- package/src/modules/filters/modules/filterConfig/components/contact-label/contact-label-filter-value-field.vue +5 -6
- package/src/modules/filters/modules/filterConfig/components/contact-owner/contact-owner-filter-value-field.vue +5 -7
- package/src/modules/filters/modules/filterConfig/components/gateway/gateway-filter-value-field.vue +5 -7
- package/src/modules/filters/modules/filterConfig/components/grantee/grantee-filter-value-field.vue +5 -7
- package/src/modules/filters/modules/filterConfig/components/hangup-cause/hangup-cause-filter-value-field.vue +6 -8
- package/src/modules/filters/modules/filterConfig/components/queue/queue-filter-value-field.vue +5 -7
- package/src/modules/filters/modules/filterConfig/components/queue-period/queue-period-filter-value-field.vue +5 -6
- package/src/modules/filters/modules/filterConfig/components/queue-type/queue-type-filter-value-field.vue +5 -7
- package/src/modules/filters/modules/filterConfig/components/rated-by/rated-by-filter-value-field.vue +5 -7
- package/src/modules/filters/modules/filterConfig/components/region/region-filter-value-field.vue +5 -7
- package/src/modules/filters/modules/filterConfig/components/skill/skill-filter-value-field.vue +5 -7
- package/src/modules/filters/modules/filterConfig/components/supervisor/supervisor-filter-value-field.vue +5 -7
- package/src/modules/filters/modules/filterConfig/components/tag/tag-filter-value-field.vue +6 -8
- package/src/modules/filters/modules/filterConfig/components/team/team-filter-value-field.vue +5 -7
- package/src/modules/filters/modules/filterConfig/components/user/user-filter-value-field.vue +5 -7
- package/src/modules/filters/modules/filterConfig/components/utilization-progress/utilization-progress-filter-value-field.vue +5 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webitel/ui-datalist",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.32",
|
|
4
4
|
"description": "Toolkit for building data lists in webitel ui system",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build:types": "vue-tsc -p ./tsconfig.build.json",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"zod": "^4.x"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@biomejs/biome": "2.4.
|
|
48
|
+
"@biomejs/biome": "2.4.16",
|
|
49
49
|
"@standard-schema/spec": "^1.x",
|
|
50
50
|
"@tsconfig/node22": "^22.0.0",
|
|
51
51
|
"@types/node": "^24.x",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<form class="dynamic-filter-config-form">
|
|
3
|
-
<wt-select
|
|
4
|
-
:
|
|
3
|
+
<wt-single-select
|
|
4
|
+
:show-clear="false"
|
|
5
5
|
:disabled="editMode"
|
|
6
6
|
:label="t('webitelUI.filters.filterName')"
|
|
7
7
|
:options="filterConfigOptions"
|
|
8
8
|
option-label="label"
|
|
9
|
-
:value="filterName"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
@
|
|
9
|
+
:model-value="filterName"
|
|
10
|
+
data-key="name"
|
|
11
|
+
option-value="name"
|
|
12
|
+
@update:model-value="onFilterNameUpdate($event)"
|
|
13
13
|
/>
|
|
14
14
|
|
|
15
15
|
<slot
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
</template>
|
|
61
61
|
|
|
62
62
|
<script lang="ts" setup>
|
|
63
|
-
import { WtButton,
|
|
63
|
+
import { WtButton, WtSingleSelect } from '@webitel/ui-sdk/components';
|
|
64
64
|
import deepcopy from 'deep-copy';
|
|
65
65
|
import { computed, ref, watch } from 'vue';
|
|
66
66
|
import { useI18n } from 'vue-i18n';
|
|
@@ -81,7 +81,9 @@ onClickOutside(
|
|
|
81
81
|
ignore: [
|
|
82
82
|
'.wt-chip',
|
|
83
83
|
'.p-popover',
|
|
84
|
-
|
|
84
|
+
'.p-select-overlay',
|
|
85
|
+
'.p-multiselect-overlay',
|
|
86
|
+
], // Exclude activator, popover content, and teleported select/multiselect panels
|
|
85
87
|
},
|
|
86
88
|
);
|
|
87
89
|
</script>
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
<has-option-filter-value-field v-bind="defaultProps" v-model:model-value="model"/>
|
|
11
11
|
</template>
|
|
12
12
|
<template #[WtTypeExtensionFieldKind.Select]="{ defaultProps }">
|
|
13
|
-
<wt-select
|
|
13
|
+
<wt-single-select
|
|
14
14
|
v-bind="defaultProps"
|
|
15
15
|
:v="v$.model"
|
|
16
|
-
:value="
|
|
16
|
+
:model-value="
|
|
17
17
|
model ??
|
|
18
18
|
[] /* so that component won't break when model is nullish at init */
|
|
19
19
|
"
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
(...params) => props.filterConfig.searchRecords(...params)
|
|
22
22
|
"
|
|
23
23
|
:required="false /* https://github.com/webitel/webitel-ui-sdk/pull/1359#discussion_r3180877255 */"
|
|
24
|
-
|
|
25
|
-
@
|
|
24
|
+
option-value="id"
|
|
25
|
+
@update:model-value="model = $event"
|
|
26
26
|
/>
|
|
27
27
|
</template>
|
|
28
28
|
<template #[WtTypeExtensionFieldKind.Multiselect]="{ defaultProps }">
|
|
29
|
-
<wt-select
|
|
29
|
+
<wt-single-select
|
|
30
30
|
v-bind="defaultProps"
|
|
31
31
|
:v="v$.model"
|
|
32
|
-
:value="
|
|
32
|
+
:model-value="
|
|
33
33
|
model ??
|
|
34
34
|
[] /* so that component won't break when model is nullish at init */
|
|
35
35
|
"
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"
|
|
39
39
|
|
|
40
40
|
:required="false /* https://github.com/webitel/webitel-ui-sdk/pull/1359#discussion_r3180877255 */""
|
|
41
|
-
|
|
42
|
-
@
|
|
41
|
+
option-value="id"
|
|
42
|
+
@update:model-value="model = $event"
|
|
43
43
|
/>
|
|
44
44
|
</template>
|
|
45
45
|
<template #[WtTypeExtensionFieldKind.Calendar]>
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
import { useVuelidate } from '@vuelidate/core';
|
|
53
53
|
import { required } from '@vuelidate/validators';
|
|
54
54
|
import {
|
|
55
|
-
|
|
55
|
+
WtSingleSelect,
|
|
56
56
|
WtTypeExtensionValueInput,
|
|
57
57
|
} from '@webitel/ui-sdk/components';
|
|
58
58
|
import { WtTypeExtensionFieldKind } from '@webitel/ui-sdk/enums'; // DO NOT REMOVE THIS IMPORT!! : Webstorm lies you, import is used for dynamic slot computation
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wt-select
|
|
2
|
+
<wt-single-select
|
|
3
3
|
:label="labelValue"
|
|
4
4
|
:options="BooleanOptions"
|
|
5
|
-
:value="strModel"
|
|
5
|
+
v-model:model-value="strModel"
|
|
6
6
|
class="has-option-filter-value-field"
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
data-key="value"
|
|
8
|
+
option-value="value"
|
|
9
9
|
v-bind="attrs"
|
|
10
|
-
@input="strModel = $event"
|
|
11
10
|
/>
|
|
12
11
|
</template>
|
|
13
12
|
|
|
14
13
|
<script lang="ts" setup>
|
|
15
|
-
import {
|
|
14
|
+
import { WtSingleSelect } from '@webitel/ui-sdk/components';
|
|
16
15
|
import { computed, useAttrs } from 'vue';
|
|
17
16
|
import { useI18n } from 'vue-i18n';
|
|
18
17
|
|
package/src/modules/filters/modules/filterConfig/components/agent/agent-filter-value-field.vue
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wt-select
|
|
3
|
-
:close-on-select="false"
|
|
2
|
+
<wt-multi-select
|
|
4
3
|
:label="t('webitelUI.filters.filterValue')"
|
|
5
4
|
:search-method="searchMethod"
|
|
6
|
-
:value="model"
|
|
5
|
+
:model-value="model"
|
|
7
6
|
:v="v$.model"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
@input="handleInput"
|
|
7
|
+
option-value="id"
|
|
8
|
+
@update:model-value="handleInput"
|
|
11
9
|
/>
|
|
12
10
|
</template>
|
|
13
11
|
|
|
14
12
|
<script lang="ts" setup>
|
|
15
13
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
14
|
import { required } from '@vuelidate/validators';
|
|
17
|
-
import {
|
|
15
|
+
import { WtMultiSelect } from '@webitel/ui-sdk/components';
|
|
18
16
|
import { computed, watch } from 'vue';
|
|
19
17
|
import { useI18n } from 'vue-i18n';
|
|
20
18
|
|
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wt-select
|
|
2
|
+
<wt-multi-select
|
|
3
3
|
:label="labelValue"
|
|
4
4
|
:options="options"
|
|
5
|
-
:value="model"
|
|
5
|
+
v-model:model-value="model"
|
|
6
6
|
:v="!disableValidation && v$.model"
|
|
7
|
-
|
|
8
|
-
multiple
|
|
7
|
+
data-key="value"
|
|
9
8
|
option-label="label"
|
|
10
|
-
|
|
11
|
-
@input="model = $event"
|
|
9
|
+
option-value="value"
|
|
12
10
|
/>
|
|
13
11
|
</template>
|
|
14
12
|
|
|
15
13
|
<script lang="ts" setup>
|
|
16
14
|
import { useVuelidate } from '@vuelidate/core';
|
|
17
15
|
import { required } from '@vuelidate/validators';
|
|
18
|
-
import {
|
|
16
|
+
import { WtMultiSelect } from '@webitel/ui-sdk/components';
|
|
19
17
|
import { computed, onMounted, watch } from 'vue';
|
|
20
18
|
import { useI18n } from 'vue-i18n';
|
|
21
19
|
import { WtSysTypeFilterConfig } from '../../classes/FilterConfig';
|
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wt-select
|
|
3
|
-
:
|
|
2
|
+
<wt-multi-select
|
|
3
|
+
:show-clear="false"
|
|
4
4
|
:label="t('webitelUI.filters.filterValue')"
|
|
5
5
|
:options="AmdResultOptions"
|
|
6
|
-
:value="model"
|
|
6
|
+
v-model:model-value="model"
|
|
7
7
|
:v="v$.model"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
use-value-from-options-by-prop="value"
|
|
11
|
-
@input="model = $event"
|
|
8
|
+
data-key="value"
|
|
9
|
+
option-value="value"
|
|
12
10
|
/>
|
|
13
11
|
</template>
|
|
14
12
|
|
|
15
13
|
<script lang="ts" setup>
|
|
16
14
|
import { useVuelidate } from '@vuelidate/core';
|
|
17
15
|
import { required } from '@vuelidate/validators';
|
|
18
|
-
import {
|
|
16
|
+
import { WtMultiSelect } from '@webitel/ui-sdk/components';
|
|
19
17
|
import { computed, watch } from 'vue';
|
|
20
18
|
import { useI18n } from 'vue-i18n';
|
|
21
19
|
|
package/src/modules/filters/modules/filterConfig/components/auditor/auditor-filter-value-field.vue
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wt-select
|
|
3
|
-
:close-on-select="false"
|
|
2
|
+
<wt-multi-select
|
|
4
3
|
:label="labelValue"
|
|
5
4
|
:search-method="props.filterConfig.searchRecords"
|
|
6
|
-
:value="model"
|
|
5
|
+
:model-value="model"
|
|
7
6
|
:v="!disableValidation && v$.model"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
@input="handleInput"
|
|
7
|
+
option-value="id"
|
|
8
|
+
@update:model-value="handleInput"
|
|
11
9
|
/>
|
|
12
10
|
</template>
|
|
13
11
|
|
|
14
12
|
<script lang="ts" setup>
|
|
15
13
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
14
|
import { required } from '@vuelidate/validators';
|
|
17
|
-
import {
|
|
15
|
+
import { WtMultiSelect } from '@webitel/ui-sdk/components';
|
|
18
16
|
import { computed, onMounted, watch } from 'vue';
|
|
19
17
|
import { useI18n } from 'vue-i18n';
|
|
20
18
|
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wt-select
|
|
2
|
+
<wt-single-select
|
|
3
3
|
:clearable="false"
|
|
4
4
|
:label="t('webitelUI.filters.filterValue')"
|
|
5
5
|
:options="CallDirectionFilterOptions"
|
|
6
|
-
:value="model"
|
|
6
|
+
v-model:model-value="model"
|
|
7
7
|
:v="v$.model"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
@input="model = $event"
|
|
8
|
+
data-key="value"
|
|
9
|
+
option-value="value"
|
|
11
10
|
/>
|
|
12
11
|
</template>
|
|
13
12
|
|
|
14
13
|
<script lang="ts" setup>
|
|
15
14
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
15
|
import { required } from '@vuelidate/validators';
|
|
17
|
-
import {
|
|
16
|
+
import { WtSingleSelect } from '@webitel/ui-sdk/components';
|
|
18
17
|
import { computed, watch } from 'vue';
|
|
19
18
|
import { useI18n } from 'vue-i18n';
|
|
20
19
|
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wt-select
|
|
3
|
-
:close-on-select="false"
|
|
2
|
+
<wt-multi-select
|
|
4
3
|
:label="t('webitelUI.filters.filterValue')"
|
|
5
4
|
:search-method="props.filterConfig.searchRecords"
|
|
6
5
|
:v="v$.model.list"
|
|
7
|
-
:value="model
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
use-value-from-options-by-prop="id"
|
|
11
|
-
@input="model.list = $event"
|
|
6
|
+
v-model:model-value="model.list"
|
|
7
|
+
data-key="id"
|
|
8
|
+
option-value="id"
|
|
12
9
|
/>
|
|
13
10
|
<wt-checkbox
|
|
14
11
|
:label="t('reusable.showUnassigned')"
|
|
@@ -21,7 +18,7 @@
|
|
|
21
18
|
<script lang="ts" setup>
|
|
22
19
|
import { useVuelidate } from '@vuelidate/core';
|
|
23
20
|
import { requiredIf } from '@vuelidate/validators';
|
|
24
|
-
import { WtCheckbox,
|
|
21
|
+
import { WtCheckbox, WtMultiSelect } from '@webitel/ui-sdk/components';
|
|
25
22
|
import { computed, onMounted, watch } from 'vue';
|
|
26
23
|
import { useI18n } from 'vue-i18n';
|
|
27
24
|
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wt-select
|
|
3
|
-
:close-on-select="false"
|
|
2
|
+
<wt-multi-select
|
|
4
3
|
:label="t('webitelUI.filters.filterValue')"
|
|
5
4
|
:search-method="searchMethod"
|
|
6
5
|
:v="v$.model"
|
|
7
|
-
:value="model"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
@input="handleInput"
|
|
6
|
+
:model-value="model"
|
|
7
|
+
option-value="id"
|
|
8
|
+
@update:model-value="handleInput"
|
|
11
9
|
/>
|
|
12
10
|
</template>
|
|
13
11
|
|
|
14
12
|
<script lang="ts" setup>
|
|
15
13
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
14
|
import { required } from '@vuelidate/validators';
|
|
17
|
-
import {
|
|
15
|
+
import { WtMultiSelect } from '@webitel/ui-sdk/components';
|
|
18
16
|
import { computed, watch } from 'vue';
|
|
19
17
|
import { useI18n } from 'vue-i18n';
|
|
20
18
|
|
|
@@ -1,29 +1,27 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<wt-select
|
|
4
|
-
:
|
|
3
|
+
<wt-single-select
|
|
4
|
+
:show-clear="false"
|
|
5
5
|
:label="t('cases.reason')"
|
|
6
6
|
:search-method="caseCloseReasonsGroupsSearchMethod"
|
|
7
7
|
:v="v$.model.selection"
|
|
8
|
-
:value="model?.selection"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
@
|
|
8
|
+
:model-value="model?.selection"
|
|
9
|
+
data-key="id"
|
|
10
|
+
option-value="id"
|
|
11
|
+
@update:model-value="updateSelected"
|
|
12
12
|
/>
|
|
13
13
|
|
|
14
|
-
<wt-select
|
|
14
|
+
<wt-multi-select
|
|
15
15
|
v-if="model?.selection"
|
|
16
16
|
:key="model.selection"
|
|
17
|
-
:
|
|
17
|
+
:show-clear="false"
|
|
18
18
|
:disabled="!model.selection"
|
|
19
19
|
:label="t('webitelUI.filters.filterValue')"
|
|
20
20
|
:search-method="getConditionList"
|
|
21
21
|
:v="v$.model.conditions"
|
|
22
|
-
:value="model.conditions"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
use-value-from-options-by-prop="id"
|
|
26
|
-
@input="model.conditions = $event"
|
|
22
|
+
v-model:model-value="model.conditions"
|
|
23
|
+
data-key="id"
|
|
24
|
+
option-value="id"
|
|
27
25
|
/>
|
|
28
26
|
</div>
|
|
29
27
|
</template>
|
|
@@ -31,7 +29,7 @@
|
|
|
31
29
|
<script lang="ts" setup>
|
|
32
30
|
import { useVuelidate } from '@vuelidate/core';
|
|
33
31
|
import { required } from '@vuelidate/validators';
|
|
34
|
-
import {
|
|
32
|
+
import { WtMultiSelect, WtSingleSelect } from '@webitel/ui-sdk/components';
|
|
35
33
|
import { computed, onMounted, watch } from 'vue';
|
|
36
34
|
import { useI18n } from 'vue-i18n';
|
|
37
35
|
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wt-select
|
|
3
|
-
:close-on-select="false"
|
|
2
|
+
<wt-multi-select
|
|
4
3
|
:label="t('webitelUI.filters.filterValue')"
|
|
5
4
|
:search-method="searchMethod"
|
|
6
5
|
:v="v$.model"
|
|
7
|
-
:value="model"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
@input="handleInput"
|
|
6
|
+
:model-value="model"
|
|
7
|
+
option-value="id"
|
|
8
|
+
@update:model-value="handleInput"
|
|
11
9
|
/>
|
|
12
10
|
</template>
|
|
13
11
|
|
|
14
12
|
<script lang="ts" setup>
|
|
15
13
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
14
|
import { required } from '@vuelidate/validators';
|
|
17
|
-
import {
|
|
15
|
+
import { WtMultiSelect } from '@webitel/ui-sdk/components';
|
|
18
16
|
import { computed, watch } from 'vue';
|
|
19
17
|
import { useI18n } from 'vue-i18n';
|
|
20
18
|
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wt-select
|
|
3
|
-
:close-on-select="false"
|
|
2
|
+
<wt-multi-select
|
|
4
3
|
:label="t('webitelUI.filters.filterValue')"
|
|
5
4
|
:search-method="searchMethod"
|
|
6
5
|
:v="v$.model"
|
|
7
|
-
:value="model"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
@input="handleInput"
|
|
6
|
+
:model-value="model"
|
|
7
|
+
option-value="id"
|
|
8
|
+
@update:model-value="handleInput"
|
|
11
9
|
/>
|
|
12
10
|
</template>
|
|
13
11
|
|
|
14
12
|
<script lang="ts" setup>
|
|
15
13
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
14
|
import { required } from '@vuelidate/validators';
|
|
17
|
-
import {
|
|
15
|
+
import { WtMultiSelect } from '@webitel/ui-sdk/components';
|
|
18
16
|
import { computed, watch } from 'vue';
|
|
19
17
|
import { useI18n } from 'vue-i18n';
|
|
20
18
|
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wt-select
|
|
3
|
-
:close-on-select="false"
|
|
2
|
+
<wt-multi-select
|
|
4
3
|
:label="t('webitelUI.filters.filterValue')"
|
|
5
4
|
:search-method="searchMethod"
|
|
6
5
|
:v="v$.model"
|
|
7
|
-
:value="model"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
@input="handleInput"
|
|
6
|
+
:model-value="model"
|
|
7
|
+
option-value="id"
|
|
8
|
+
@update:model-value="handleInput"
|
|
11
9
|
/>
|
|
12
10
|
</template>
|
|
13
11
|
|
|
14
12
|
<script lang="ts" setup>
|
|
15
13
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
14
|
import { required } from '@vuelidate/validators';
|
|
17
|
-
import {
|
|
15
|
+
import { WtMultiSelect } from '@webitel/ui-sdk/components';
|
|
18
16
|
import { computed, watch } from 'vue';
|
|
19
17
|
import { useI18n } from 'vue-i18n';
|
|
20
18
|
|
package/src/modules/filters/modules/filterConfig/components/case-sla/case-sla-filter-value-field.vue
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wt-select
|
|
3
|
-
:close-on-select="false"
|
|
2
|
+
<wt-multi-select
|
|
4
3
|
:label="t('webitelUI.filters.filterValue')"
|
|
5
4
|
:search-method="searchMethod"
|
|
6
5
|
:v="v$.model"
|
|
7
|
-
:value="model"
|
|
8
|
-
|
|
9
|
-
use-value-from-options-by-prop="id"
|
|
6
|
+
:model-value="model"
|
|
7
|
+
option-value="id"
|
|
10
8
|
@input="handleInput"
|
|
11
9
|
/>
|
|
12
10
|
</template>
|
|
@@ -14,7 +12,7 @@
|
|
|
14
12
|
<script lang="ts" setup>
|
|
15
13
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
14
|
import { required } from '@vuelidate/validators';
|
|
17
|
-
import {
|
|
15
|
+
import { WtMultiSelect } from '@webitel/ui-sdk/components';
|
|
18
16
|
import { computed, watch } from 'vue';
|
|
19
17
|
import { useI18n } from 'vue-i18n';
|
|
20
18
|
|
|
@@ -1,29 +1,28 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<wt-select
|
|
4
|
-
:
|
|
3
|
+
<wt-single-select
|
|
4
|
+
:show-clear="false"
|
|
5
5
|
:label="t('cases.appliedSLA')"
|
|
6
6
|
:search-method="slasSearchMethod"
|
|
7
7
|
:v="v$.model.selection"
|
|
8
|
-
:value="model?.selection"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
@
|
|
8
|
+
:model-value="model?.selection"
|
|
9
|
+
data-key="id"
|
|
10
|
+
option-value="id"
|
|
11
|
+
@update:model-value="updateSelected"
|
|
12
12
|
/>
|
|
13
13
|
|
|
14
|
-
<wt-select
|
|
14
|
+
<wt-multi-select
|
|
15
15
|
v-if="model?.selection"
|
|
16
16
|
:key="model.selection"
|
|
17
|
-
:
|
|
17
|
+
:show-clear="false"
|
|
18
18
|
:disabled="!model.selection"
|
|
19
19
|
:label="t('webitelUI.filters.filterValue')"
|
|
20
20
|
:search-method="getConditionList"
|
|
21
21
|
:v="v$.model.conditions"
|
|
22
|
-
:value="model?.conditions"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
@input="model.conditions = $event"
|
|
22
|
+
:model-value="model?.conditions"
|
|
23
|
+
data-key="id"
|
|
24
|
+
option-value="id"
|
|
25
|
+
@update:model-value="model.conditions = $event"
|
|
27
26
|
/>
|
|
28
27
|
</div>
|
|
29
28
|
</template>
|
|
@@ -31,7 +30,7 @@
|
|
|
31
30
|
<script lang="ts" setup>
|
|
32
31
|
import { useVuelidate } from '@vuelidate/core';
|
|
33
32
|
import { required } from '@vuelidate/validators';
|
|
34
|
-
import {
|
|
33
|
+
import { WtMultiSelect, WtSingleSelect } from '@webitel/ui-sdk/components';
|
|
35
34
|
import { computed, onMounted, watch } from 'vue';
|
|
36
35
|
import { useI18n } from 'vue-i18n';
|
|
37
36
|
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wt-select
|
|
3
|
-
:close-on-select="false"
|
|
2
|
+
<wt-multi-select
|
|
4
3
|
:label="t('webitelUI.filters.filterValue')"
|
|
5
4
|
:search-method="searchMethod"
|
|
6
5
|
:v="v$.model"
|
|
7
|
-
:value="model"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
@input="handleInput"
|
|
6
|
+
:model-value="model"
|
|
7
|
+
option-value="id"
|
|
8
|
+
@update:model-value="handleInput"
|
|
11
9
|
/>
|
|
12
10
|
</template>
|
|
13
11
|
|
|
14
12
|
<script lang="ts" setup>
|
|
15
13
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
14
|
import { required } from '@vuelidate/validators';
|
|
17
|
-
import {
|
|
15
|
+
import { WtMultiSelect } from '@webitel/ui-sdk/components';
|
|
18
16
|
import { computed, watch } from 'vue';
|
|
19
17
|
import { useI18n } from 'vue-i18n';
|
|
20
18
|
|
|
@@ -1,29 +1,27 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<wt-select
|
|
4
|
-
:
|
|
3
|
+
<wt-single-select
|
|
4
|
+
:show-clear="false"
|
|
5
5
|
:label="t('cases.status')"
|
|
6
6
|
:search-method="caseStatusesSearchMethod"
|
|
7
7
|
:v="v$.model.selection"
|
|
8
|
-
:value="model?.selection"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
@
|
|
8
|
+
:model-value="model?.selection"
|
|
9
|
+
data-key="id"
|
|
10
|
+
option-value="id"
|
|
11
|
+
@update:model-value="updateSelected"
|
|
12
12
|
/>
|
|
13
13
|
|
|
14
|
-
<wt-select
|
|
14
|
+
<wt-multi-select
|
|
15
15
|
v-if="model?.selection"
|
|
16
16
|
:key="model.selection"
|
|
17
|
-
:
|
|
17
|
+
:show-clear="false"
|
|
18
18
|
:disabled="!model.selection"
|
|
19
19
|
:label="t('webitelUI.filters.filterValue')"
|
|
20
20
|
:search-method="getConditionList"
|
|
21
21
|
:v="v$.model.conditions"
|
|
22
|
-
:value="model.conditions"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
use-value-from-options-by-prop="id"
|
|
26
|
-
@input="model.conditions = $event"
|
|
22
|
+
v-model:model-value="model.conditions"
|
|
23
|
+
data-key="id"
|
|
24
|
+
option-value="id"
|
|
27
25
|
/>
|
|
28
26
|
</div>
|
|
29
27
|
</template>
|
|
@@ -31,7 +29,7 @@
|
|
|
31
29
|
<script lang="ts" setup>
|
|
32
30
|
import { useVuelidate } from '@vuelidate/core';
|
|
33
31
|
import { required } from '@vuelidate/validators';
|
|
34
|
-
import {
|
|
32
|
+
import { WtMultiSelect, WtSingleSelect } from '@webitel/ui-sdk/components';
|
|
35
33
|
import { computed, onMounted, watch } from 'vue';
|
|
36
34
|
import { useI18n } from 'vue-i18n';
|
|
37
35
|
|
package/src/modules/filters/modules/filterConfig/components/contact/contact-filter-value-field.vue
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wt-select
|
|
3
|
-
:close-on-select="false"
|
|
2
|
+
<wt-multi-select
|
|
4
3
|
:label="t('webitelUI.filters.filterValue')"
|
|
5
4
|
:search-method="searchMethod"
|
|
6
|
-
:value="model"
|
|
5
|
+
:model-value="model"
|
|
7
6
|
:v="v$.model"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
@input="handleInput"
|
|
7
|
+
option-value="id"
|
|
8
|
+
@update:model-value="handleInput"
|
|
11
9
|
/>
|
|
12
10
|
</template>
|
|
13
11
|
|
|
14
12
|
<script lang="ts" setup>
|
|
15
13
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
14
|
import { required } from '@vuelidate/validators';
|
|
17
|
-
import {
|
|
15
|
+
import { WtMultiSelect } from '@webitel/ui-sdk/components';
|
|
18
16
|
import { computed, watch } from 'vue';
|
|
19
17
|
import { useI18n } from 'vue-i18n';
|
|
20
18
|
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wt-select
|
|
3
|
-
:close-on-select="false"
|
|
2
|
+
<wt-multi-select
|
|
4
3
|
:label="labelValue"
|
|
5
4
|
:search-method="props.filterConfig.searchRecords"
|
|
6
5
|
:v="!disableValidation && v$?.model?.list"
|
|
7
|
-
:value="model?.list"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
use-value-from-options-by-prop="id"
|
|
6
|
+
:model-value="model?.list"
|
|
7
|
+
data-key="id"
|
|
8
|
+
option-value="id"
|
|
11
9
|
v-bind="$attrs"
|
|
12
|
-
@
|
|
10
|
+
@update:model-value="changeListValue"
|
|
13
11
|
/>
|
|
14
12
|
<wt-checkbox
|
|
15
13
|
v-if="!props.filterConfig?.hideUnassigned"
|
|
@@ -23,7 +21,7 @@
|
|
|
23
21
|
<script lang="ts" setup>
|
|
24
22
|
import { useVuelidate } from '@vuelidate/core';
|
|
25
23
|
import { requiredIf } from '@vuelidate/validators';
|
|
26
|
-
import { WtCheckbox,
|
|
24
|
+
import { WtCheckbox, WtMultiSelect } from '@webitel/ui-sdk/components';
|
|
27
25
|
import { computed, onMounted, watch } from 'vue';
|
|
28
26
|
import { useI18n } from 'vue-i18n';
|
|
29
27
|
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wt-select
|
|
2
|
+
<wt-multi-select
|
|
3
3
|
:label="labelValue"
|
|
4
4
|
:search-method="props.filterConfig.searchRecords"
|
|
5
5
|
:v="!disableValidation && v$?.model"
|
|
6
|
-
:value="model"
|
|
7
|
-
multiple
|
|
6
|
+
:model-value="model"
|
|
8
7
|
option-label="label"
|
|
9
|
-
|
|
8
|
+
data-key="label"
|
|
10
9
|
v-bind="$attrs"
|
|
11
|
-
@
|
|
10
|
+
@update:model-value="handleInput"
|
|
12
11
|
/>
|
|
13
12
|
</template>
|
|
14
13
|
|
|
15
14
|
<script lang="ts" setup>
|
|
16
15
|
import { useVuelidate } from '@vuelidate/core';
|
|
17
16
|
import { required } from '@vuelidate/validators';
|
|
18
|
-
import {
|
|
17
|
+
import { WtMultiSelect } from '@webitel/ui-sdk/components';
|
|
19
18
|
import { computed, onMounted, watch } from 'vue';
|
|
20
19
|
import { useI18n } from 'vue-i18n';
|
|
21
20
|
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wt-select
|
|
3
|
-
:close-on-select="false"
|
|
2
|
+
<wt-multi-select
|
|
4
3
|
:label="t('webitelUI.filters.filterValue')"
|
|
5
4
|
:search-method="props.filterConfig.searchRecords"
|
|
6
5
|
:v="v$.model"
|
|
7
|
-
:value="model"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
@input="handleInput"
|
|
6
|
+
:model-value="model"
|
|
7
|
+
option-value="id"
|
|
8
|
+
@update:model-value="handleInput"
|
|
11
9
|
/>
|
|
12
10
|
</template>
|
|
13
11
|
|
|
14
12
|
<script lang="ts" setup>
|
|
15
13
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
14
|
import { required } from '@vuelidate/validators';
|
|
17
|
-
import {
|
|
15
|
+
import { WtMultiSelect } from '@webitel/ui-sdk/components';
|
|
18
16
|
import { computed, watch } from 'vue';
|
|
19
17
|
import { useI18n } from 'vue-i18n';
|
|
20
18
|
|
package/src/modules/filters/modules/filterConfig/components/gateway/gateway-filter-value-field.vue
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wt-select
|
|
3
|
-
:close-on-select="false"
|
|
2
|
+
<wt-multi-select
|
|
4
3
|
:label="t('webitelUI.filters.filterValue')"
|
|
5
4
|
:search-method="searchGateway"
|
|
6
5
|
:v="v$.model"
|
|
7
|
-
:value="model"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
@input="handleInput"
|
|
6
|
+
:model-value="model"
|
|
7
|
+
option-value="id"
|
|
8
|
+
@update:model-value="handleInput"
|
|
11
9
|
/>
|
|
12
10
|
</template>
|
|
13
11
|
|
|
14
12
|
<script lang="ts" setup>
|
|
15
13
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
14
|
import { required } from '@vuelidate/validators';
|
|
17
|
-
import {
|
|
15
|
+
import { WtMultiSelect } from '@webitel/ui-sdk/components';
|
|
18
16
|
import { computed, watch } from 'vue';
|
|
19
17
|
import { useI18n } from 'vue-i18n';
|
|
20
18
|
|
package/src/modules/filters/modules/filterConfig/components/grantee/grantee-filter-value-field.vue
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wt-select
|
|
3
|
-
:close-on-select="false"
|
|
2
|
+
<wt-multi-select
|
|
4
3
|
:label="t('webitelUI.filters.filterValue')"
|
|
5
4
|
:search-method="searchMethod"
|
|
6
|
-
:value="model"
|
|
5
|
+
:model-value="model"
|
|
7
6
|
:v="v$.model"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
@input="handleInput"
|
|
7
|
+
option-value="id"
|
|
8
|
+
@update:model-value="handleInput"
|
|
11
9
|
/>
|
|
12
10
|
</template>
|
|
13
11
|
|
|
14
12
|
<script lang="ts" setup>
|
|
15
13
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
14
|
import { required } from '@vuelidate/validators';
|
|
17
|
-
import {
|
|
15
|
+
import { WtMultiSelect } from '@webitel/ui-sdk/components';
|
|
18
16
|
import { computed, watch } from 'vue';
|
|
19
17
|
import { useI18n } from 'vue-i18n';
|
|
20
18
|
|
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wt-select
|
|
3
|
-
:
|
|
2
|
+
<wt-multi-select
|
|
3
|
+
:show-clear="false"
|
|
4
4
|
:label="t('webitelUI.filters.filterValue')"
|
|
5
5
|
:options="HangupCauseOptions"
|
|
6
|
-
:value="model"
|
|
6
|
+
v-model:model-value="model"
|
|
7
7
|
:v="v$.model"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
use-value-from-options-by-prop="value"
|
|
11
|
-
@input="model = $event"
|
|
8
|
+
data-key="value"
|
|
9
|
+
option-value="value"
|
|
12
10
|
/>
|
|
13
11
|
</template>
|
|
14
12
|
|
|
15
13
|
<script lang="ts" setup>
|
|
16
14
|
import { useVuelidate } from '@vuelidate/core';
|
|
17
15
|
import { required } from '@vuelidate/validators';
|
|
18
|
-
import {
|
|
16
|
+
import { WtMultiSelect } from '@webitel/ui-sdk/components';
|
|
19
17
|
import { computed, watch } from 'vue';
|
|
20
18
|
import { useI18n } from 'vue-i18n';
|
|
21
19
|
|
package/src/modules/filters/modules/filterConfig/components/queue/queue-filter-value-field.vue
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wt-select
|
|
3
|
-
:close-on-select="false"
|
|
2
|
+
<wt-multi-select
|
|
4
3
|
:label="labelValue"
|
|
5
4
|
:search-method="props.filterConfig.searchRecords"
|
|
6
|
-
:value="model"
|
|
5
|
+
:model-value="model"
|
|
7
6
|
:v="!disableValidation && v$.model"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
@input="handleInput"
|
|
7
|
+
option-value="id"
|
|
8
|
+
@update:model-value="handleInput"
|
|
11
9
|
/>
|
|
12
10
|
</template>
|
|
13
11
|
|
|
14
12
|
<script lang="ts" setup>
|
|
15
13
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
14
|
import { required } from '@vuelidate/validators';
|
|
17
|
-
import {
|
|
15
|
+
import { WtMultiSelect } from '@webitel/ui-sdk/components';
|
|
18
16
|
import { computed, onMounted, watch } from 'vue';
|
|
19
17
|
import { useI18n } from 'vue-i18n';
|
|
20
18
|
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wt-select
|
|
2
|
+
<wt-single-select
|
|
3
3
|
:label="labelValue"
|
|
4
4
|
:options="options"
|
|
5
|
-
:value="model"
|
|
5
|
+
v-model:model-value="model"
|
|
6
6
|
:v="!disableValidation && v$.model"
|
|
7
|
-
|
|
7
|
+
data-key="value"
|
|
8
8
|
option-label="label"
|
|
9
|
-
|
|
10
|
-
@input="model = $event"
|
|
9
|
+
option-value="value"
|
|
11
10
|
/>
|
|
12
11
|
</template>
|
|
13
12
|
|
|
14
13
|
<script lang="ts" setup>
|
|
15
14
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
15
|
import { required } from '@vuelidate/validators';
|
|
17
|
-
import {
|
|
16
|
+
import { WtSingleSelect } from '@webitel/ui-sdk/components';
|
|
18
17
|
import { computed, onMounted, watch } from 'vue';
|
|
19
18
|
import { useI18n } from 'vue-i18n';
|
|
20
19
|
import { WtSysTypeFilterConfig } from '../../classes/FilterConfig';
|
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wt-select
|
|
2
|
+
<wt-multi-select
|
|
3
3
|
:label="labelValue"
|
|
4
4
|
:options="options"
|
|
5
|
-
:value="model"
|
|
5
|
+
v-model:model-value="model"
|
|
6
6
|
:v="!disableValidation && v$.model"
|
|
7
|
-
|
|
7
|
+
data-key="value"
|
|
8
8
|
option-label="label"
|
|
9
|
-
|
|
10
|
-
use-value-from-options-by-prop="value"
|
|
11
|
-
@input="model = $event"
|
|
9
|
+
option-value="value"
|
|
12
10
|
/>
|
|
13
11
|
</template>
|
|
14
12
|
|
|
15
13
|
<script lang="ts" setup>
|
|
16
14
|
import { useVuelidate } from '@vuelidate/core';
|
|
17
15
|
import { required } from '@vuelidate/validators';
|
|
18
|
-
import {
|
|
16
|
+
import { WtMultiSelect } from '@webitel/ui-sdk/components';
|
|
19
17
|
import { computed, onMounted, watch } from 'vue';
|
|
20
18
|
import { useI18n } from 'vue-i18n';
|
|
21
19
|
import { WtSysTypeFilterConfig } from '../../classes/FilterConfig';
|
package/src/modules/filters/modules/filterConfig/components/rated-by/rated-by-filter-value-field.vue
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wt-select
|
|
3
|
-
:close-on-select="false"
|
|
2
|
+
<wt-multi-select
|
|
4
3
|
:label="t('webitelUI.filters.filterValue')"
|
|
5
4
|
:search-method="searchMethod"
|
|
6
|
-
:value="model"
|
|
5
|
+
:model-value="model"
|
|
7
6
|
:v="v$.model"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
@input="handleInput"
|
|
7
|
+
option-value="id"
|
|
8
|
+
@update:model-value="handleInput"
|
|
11
9
|
/>
|
|
12
10
|
</template>
|
|
13
11
|
|
|
14
12
|
<script lang="ts" setup>
|
|
15
13
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
14
|
import { required } from '@vuelidate/validators';
|
|
17
|
-
import {
|
|
15
|
+
import { WtMultiSelect } from '@webitel/ui-sdk/components';
|
|
18
16
|
import { computed, watch } from 'vue';
|
|
19
17
|
import { useI18n } from 'vue-i18n';
|
|
20
18
|
|
package/src/modules/filters/modules/filterConfig/components/region/region-filter-value-field.vue
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wt-select
|
|
3
|
-
:close-on-select="false"
|
|
2
|
+
<wt-multi-select
|
|
4
3
|
:label="labelValue"
|
|
5
4
|
:search-method="props.filterConfig.searchRecords"
|
|
6
|
-
:value="model"
|
|
5
|
+
:model-value="model"
|
|
7
6
|
:v="!disableValidation && v$.model"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
@input="handleInput"
|
|
7
|
+
option-value="id"
|
|
8
|
+
@update:model-value="handleInput"
|
|
11
9
|
/>
|
|
12
10
|
</template>
|
|
13
11
|
|
|
14
12
|
<script lang="ts" setup>
|
|
15
13
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
14
|
import { required } from '@vuelidate/validators';
|
|
17
|
-
import {
|
|
15
|
+
import { WtMultiSelect } from '@webitel/ui-sdk/components';
|
|
18
16
|
import { computed, onMounted, watch } from 'vue';
|
|
19
17
|
import { useI18n } from 'vue-i18n';
|
|
20
18
|
|
package/src/modules/filters/modules/filterConfig/components/skill/skill-filter-value-field.vue
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wt-select
|
|
3
|
-
:close-on-select="false"
|
|
2
|
+
<wt-multi-select
|
|
4
3
|
:label="labelValue"
|
|
5
4
|
:search-method="props.filterConfig.searchRecords"
|
|
6
|
-
:value="model"
|
|
5
|
+
:model-value="model"
|
|
7
6
|
:v="!disableValidation && v$.model"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
@input="handleInput"
|
|
7
|
+
option-value="id"
|
|
8
|
+
@update:model-value="handleInput"
|
|
11
9
|
/>
|
|
12
10
|
</template>
|
|
13
11
|
|
|
14
12
|
<script lang="ts" setup>
|
|
15
13
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
14
|
import { required } from '@vuelidate/validators';
|
|
17
|
-
import {
|
|
15
|
+
import { WtMultiSelect } from '@webitel/ui-sdk/components';
|
|
18
16
|
import { computed, onMounted, watch } from 'vue';
|
|
19
17
|
import { useI18n } from 'vue-i18n';
|
|
20
18
|
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wt-select
|
|
3
|
-
:close-on-select="false"
|
|
2
|
+
<wt-multi-select
|
|
4
3
|
:label="labelValue"
|
|
5
4
|
:search-method="props.filterConfig.searchRecords"
|
|
6
|
-
:value="model"
|
|
5
|
+
:model-value="model"
|
|
7
6
|
:v="!disableValidation && v$.model"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
@input="handleInput"
|
|
7
|
+
option-value="id"
|
|
8
|
+
@update:model-value="handleInput"
|
|
11
9
|
/>
|
|
12
10
|
</template>
|
|
13
11
|
|
|
14
12
|
<script lang="ts" setup>
|
|
15
13
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
14
|
import { required } from '@vuelidate/validators';
|
|
17
|
-
import {
|
|
15
|
+
import { WtMultiSelect } from '@webitel/ui-sdk/components';
|
|
18
16
|
import { computed, onMounted, watch } from 'vue';
|
|
19
17
|
import { useI18n } from 'vue-i18n';
|
|
20
18
|
|
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wt-select
|
|
3
|
-
:
|
|
2
|
+
<wt-multi-select
|
|
3
|
+
:show-clear="false"
|
|
4
4
|
:label="t('webitelUI.filters.filterValue')"
|
|
5
5
|
:options="CallHistoryTagFilterOptions"
|
|
6
|
-
:value="model"
|
|
6
|
+
v-model:model-value="model"
|
|
7
7
|
:v="v$.model"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
use-value-from-options-by-prop="value"
|
|
11
|
-
@input="model = $event"
|
|
8
|
+
data-key="value"
|
|
9
|
+
option-value="value"
|
|
12
10
|
/>
|
|
13
11
|
</template>
|
|
14
12
|
|
|
15
13
|
<script lang="ts" setup>
|
|
16
14
|
import { useVuelidate } from '@vuelidate/core';
|
|
17
15
|
import { required } from '@vuelidate/validators';
|
|
18
|
-
import {
|
|
16
|
+
import { WtMultiSelect } from '@webitel/ui-sdk/components';
|
|
19
17
|
import { computed, watch } from 'vue';
|
|
20
18
|
import { useI18n } from 'vue-i18n';
|
|
21
19
|
|
package/src/modules/filters/modules/filterConfig/components/team/team-filter-value-field.vue
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wt-select
|
|
3
|
-
:close-on-select="false"
|
|
2
|
+
<wt-multi-select
|
|
4
3
|
:label="labelValue"
|
|
5
4
|
:search-method="props.filterConfig.searchRecords"
|
|
6
|
-
:value="model"
|
|
5
|
+
:model-value="model"
|
|
7
6
|
:v="!disableValidation && v$.model"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
@input="handleInput"
|
|
7
|
+
option-value="id"
|
|
8
|
+
@update:model-value="handleInput"
|
|
11
9
|
/>
|
|
12
10
|
</template>
|
|
13
11
|
|
|
14
12
|
<script lang="ts" setup>
|
|
15
13
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
14
|
import { required } from '@vuelidate/validators';
|
|
17
|
-
import {
|
|
15
|
+
import { WtMultiSelect } from '@webitel/ui-sdk/components';
|
|
18
16
|
import { computed, onMounted, watch } from 'vue';
|
|
19
17
|
import { useI18n } from 'vue-i18n';
|
|
20
18
|
|
package/src/modules/filters/modules/filterConfig/components/user/user-filter-value-field.vue
CHANGED
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wt-select
|
|
3
|
-
:close-on-select="false"
|
|
2
|
+
<wt-multi-select
|
|
4
3
|
:label="t('webitelUI.filters.filterValue')"
|
|
5
4
|
:search-method="searchMethod"
|
|
6
|
-
:value="model"
|
|
5
|
+
:model-value="model"
|
|
7
6
|
:v="v$.model"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
@input="handleInput"
|
|
7
|
+
option-value="id"
|
|
8
|
+
@update:model-value="handleInput"
|
|
11
9
|
/>
|
|
12
10
|
</template>
|
|
13
11
|
|
|
14
12
|
<script lang="ts" setup>
|
|
15
13
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
14
|
import { required } from '@vuelidate/validators';
|
|
17
|
-
import {
|
|
15
|
+
import { WtMultiSelect } from '@webitel/ui-sdk/components';
|
|
18
16
|
import { computed, watch } from 'vue';
|
|
19
17
|
import { useI18n } from 'vue-i18n';
|
|
20
18
|
|
|
@@ -1,20 +1,18 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<wt-select
|
|
3
|
-
:close-on-select="false"
|
|
2
|
+
<wt-single-select
|
|
4
3
|
:label="labelValue"
|
|
5
4
|
:options="UtilizationProgressOptions"
|
|
6
|
-
:value="model"
|
|
5
|
+
v-model:model-value="model"
|
|
7
6
|
:v="!disableValidation && v$.model"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
@input="model = $event"
|
|
7
|
+
data-key="value"
|
|
8
|
+
option-value="value"
|
|
11
9
|
/>
|
|
12
10
|
</template>
|
|
13
11
|
|
|
14
12
|
<script lang="ts" setup>
|
|
15
13
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
14
|
import { required } from '@vuelidate/validators';
|
|
17
|
-
import {
|
|
15
|
+
import { WtSingleSelect } from '@webitel/ui-sdk/components';
|
|
18
16
|
import { computed, onMounted, watch } from 'vue';
|
|
19
17
|
import { useI18n } from 'vue-i18n';
|
|
20
18
|
import { WtSysTypeFilterConfig } from '../../classes/FilterConfig';
|