@webitel/ui-datalist 1.0.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 +5 -10
- package/src/filter-presets/api/PresetQuery.api.ts +7 -8
- package/src/filter-presets/components/_shared/input-fields/preset-description-field.vue +2 -3
- package/src/filter-presets/components/_shared/input-fields/preset-name-field.vue +2 -3
- package/src/filter-presets/components/_shared/preset-filters-preview.vue +2 -2
- package/src/filter-presets/components/apply-preset/apply-preset-action.vue +10 -10
- package/src/filter-presets/components/apply-preset/preset-preview.vue +6 -6
- package/src/filter-presets/components/save-preset/overwrite-preset-popup.vue +1 -1
- package/src/filter-presets/components/save-preset/save-preset-action.vue +4 -4
- package/src/filter-presets/components/save-preset/save-preset-popup.vue +1 -1
- package/src/filters/classes/FiltersManager.ts +2 -1
- package/src/filters/components/config/dynamic-filter-config-form-label.vue +2 -3
- package/src/filters/components/config/dynamic-filter-config-form.vue +33 -13
- package/src/filters/components/config/dynamic-filter-config-view.vue +4 -4
- package/src/filters/components/dynamic-filter-add-action.vue +26 -4
- package/src/filters/components/dynamic-filter-panel-wrapper.vue +1 -1
- package/src/filters/components/dynamic-filter-search.vue +2 -3
- package/src/filters/components/filter-options/_shared/has-options/has-option-filter-value-field.vue +2 -2
- package/src/filters/components/filter-options/actual-reaction-time/actual-reaction-time-filter-value-field.vue +1 -1
- package/src/filters/components/filter-options/actual-resolution-time/actual-resolution-time-filter-value-field.vue +1 -1
- package/src/filters/components/filter-options/agent/agent-filter-value-field.vue +2 -2
- package/src/filters/components/filter-options/agent/agent-filter-value-preview.vue +1 -1
- package/src/filters/components/filter-options/agent/config.js +1 -1
- package/src/filters/components/filter-options/amd-result/amd-result-filter-value-field.vue +2 -2
- package/src/filters/components/filter-options/amd-result/amd-result-filter-value-preview.vue +1 -1
- package/src/filters/components/filter-options/assignee/assignee-filter-value-field.vue +2 -3
- package/src/filters/components/filter-options/assignee/assignee-filter-value-preview.vue +1 -1
- package/src/filters/components/filter-options/assignee/config.js +1 -1
- package/src/filters/components/filter-options/author/author-filter-value-field.vue +2 -2
- package/src/filters/components/filter-options/author/author-filter-value-preview.vue +1 -1
- package/src/filters/components/filter-options/author/config.js +1 -1
- package/src/filters/components/filter-options/cause/cause-filter-value-field.vue +2 -2
- package/src/filters/components/filter-options/cause/cause-filter-value-preview.vue +1 -1
- package/src/filters/components/filter-options/close-reason-groups-case/close-reason-groups-case-filter-value-field.vue +3 -3
- package/src/filters/components/filter-options/close-reason-groups-case/close-reason-groups-case-filter-value-preview.vue +1 -1
- package/src/filters/components/filter-options/close-reason-groups-case/config.js +2 -2
- package/src/filters/components/filter-options/contact/config.js +1 -1
- package/src/filters/components/filter-options/contact/contact-filter-value-field.vue +2 -2
- package/src/filters/components/filter-options/contact/contact-filter-value-preview.vue +1 -1
- package/src/filters/components/filter-options/contact-group/config.js +1 -1
- package/src/filters/components/filter-options/contact-group/contact-group-filter-value-field.vue +3 -3
- package/src/filters/components/filter-options/contact-group/contact-group-filter-value-preview.vue +1 -1
- package/src/filters/components/filter-options/created-at-from/created-at-from-filter-value-field.vue +1 -1
- package/src/filters/components/filter-options/created-at-from/created-at-from-filter-value-preview.vue +1 -1
- package/src/filters/components/filter-options/created-at-to/created-at-to-filter-value-field.vue +1 -1
- package/src/filters/components/filter-options/created-at-to/created-at-to-filter-value-preview.vue +1 -1
- package/src/filters/components/filter-options/direction/direction-filter-value-field.vue +2 -2
- package/src/filters/components/filter-options/direction/direction-filter-value-preview.vue +2 -2
- package/src/filters/components/filter-options/gateway/config.js +1 -1
- package/src/filters/components/filter-options/gateway/gateway-filter-value-field.vue +2 -2
- package/src/filters/components/filter-options/gateway/gateway-filter-value-preview.vue +1 -1
- package/src/filters/components/filter-options/grantee/config.js +1 -1
- package/src/filters/components/filter-options/grantee/grantee-filter-value-field.vue +2 -2
- package/src/filters/components/filter-options/grantee/grantee-filter-value-preview.vue +1 -1
- package/src/filters/components/filter-options/has-attachment/has-attachment-filter-value-field.vue +1 -1
- package/src/filters/components/filter-options/has-attachment/has-attachment-filter-value-preview.vue +1 -1
- package/src/filters/components/filter-options/has-file/has-file-filter-value-field.vue +1 -1
- package/src/filters/components/filter-options/has-file/has-file-filter-value-preview.vue +1 -1
- package/src/filters/components/filter-options/has-rating/has-rating-filter-value-field.vue +1 -1
- package/src/filters/components/filter-options/has-rating/has-rating-filter-value-preview.vue +1 -1
- package/src/filters/components/filter-options/has-transcription/has-transcription-filter-value-field.vue +1 -1
- package/src/filters/components/filter-options/has-transcription/has-transcription-filter-value-preview.vue +1 -1
- package/src/filters/components/filter-options/impacted/config.js +1 -1
- package/src/filters/components/filter-options/impacted/impacted-filter-value-field.vue +2 -2
- package/src/filters/components/filter-options/impacted/impacted-filter-value-preview.vue +1 -1
- package/src/filters/components/filter-options/priority-case/config.js +1 -1
- package/src/filters/components/filter-options/priority-case/priority-case-filter-value-field.vue +2 -2
- package/src/filters/components/filter-options/priority-case/priority-case-filter-value-preview.vue +1 -1
- package/src/filters/components/filter-options/queue/config.js +1 -1
- package/src/filters/components/filter-options/queue/queue-filter-value-field.vue +2 -2
- package/src/filters/components/filter-options/queue/queue-filter-value-preview.vue +1 -1
- package/src/filters/components/filter-options/rated-by/config.js +1 -1
- package/src/filters/components/filter-options/rated-by/rated-by-filter-value-field.vue +2 -2
- package/src/filters/components/filter-options/rated-by/rated-by-filter-value-preview.vue +1 -1
- package/src/filters/components/filter-options/rating/rating-from-to-filter-value-field.vue +1 -2
- package/src/filters/components/filter-options/reaction-time/reaction-time-filter-value-field.vue +1 -1
- package/src/filters/components/filter-options/reporter/config.js +1 -1
- package/src/filters/components/filter-options/reporter/reporter-filter-value-field.vue +2 -2
- package/src/filters/components/filter-options/reporter/reporter-filter-value-preview.vue +1 -1
- package/src/filters/components/filter-options/resolution-time/resolution-time-filter-value-field.vue +1 -1
- package/src/filters/components/filter-options/score/score-from-to-filter-value-field.vue +1 -1
- package/src/filters/components/filter-options/service-case/config.js +2 -2
- package/src/filters/components/filter-options/service-case/service-case-filter-value-field.vue +1 -1
- package/src/filters/components/filter-options/service-case/service-case-filter-value-preview.vue +1 -1
- package/src/filters/components/filter-options/sla/config.js +1 -1
- package/src/filters/components/filter-options/sla/sla-filter-value-field.vue +2 -2
- package/src/filters/components/filter-options/sla/sla-filter-value-preview.vue +1 -1
- package/src/filters/components/filter-options/sla-condition/config.js +2 -2
- package/src/filters/components/filter-options/sla-condition/sla-condition-filter-value-field.vue +2 -2
- package/src/filters/components/filter-options/sla-condition/sla-condition-filter-value-preview.vue +1 -1
- package/src/filters/components/filter-options/source-case/config.js +1 -1
- package/src/filters/components/filter-options/source-case/source-case-filter-value-field.vue +2 -2
- package/src/filters/components/filter-options/source-case/source-case-filter-value-preview.vue +1 -1
- package/src/filters/components/filter-options/status-case/config.js +2 -2
- package/src/filters/components/filter-options/status-case/status-case-filter-value-field.vue +2 -2
- package/src/filters/components/filter-options/status-case/status-case-filter-value-preview.vue +1 -1
- package/src/filters/components/filter-options/tag/tag-filter-value-field.vue +2 -2
- package/src/filters/components/filter-options/tag/tag-filter-value-preview.vue +1 -1
- package/src/filters/components/filter-options/talk-duration/talk-duration-filter-value-field.vue +1 -1
- package/src/filters/components/filter-options/team/config.js +1 -1
- package/src/filters/components/filter-options/team/team-filter-value-field.vue +2 -2
- package/src/filters/components/filter-options/team/team-filter-value-preview.vue +1 -1
- package/src/filters/components/filter-options/total-duration/total-duration-filter-value-field.vue +1 -1
- package/src/filters/components/filter-options/user/config.js +1 -1
- package/src/filters/components/filter-options/user/user-filter-value-field.vue +2 -2
- package/src/filters/components/filter-options/user/user-filter-value-preview.vue +1 -1
- package/src/filters/components/filter-options/variable/variable-filter-value-field.vue +2 -3
- package/src/filters/components/preview/dynamic-filter-preview.vue +25 -7
- package/src/filters/components/table-filters-panel.vue +137 -67
- package/src/filters/index.ts +10 -1
- package/src/filters/types/Filter.d.ts +5 -0
- package/src/headers/createTableHeadersStore.ts +3 -3
- package/src/types/tableStore.types.ts +1 -1
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
<script lang="ts" setup>
|
|
32
32
|
import { useVuelidate } from '@vuelidate/core';
|
|
33
33
|
import { required } from '@vuelidate/validators';
|
|
34
|
-
import {
|
|
34
|
+
import { WtSelect } from '@webitel/ui-sdk/components';
|
|
35
|
+
import { computed, onMounted, watch } from 'vue';
|
|
35
36
|
import { useI18n } from 'vue-i18n';
|
|
36
37
|
|
|
37
|
-
import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
|
|
38
38
|
import {
|
|
39
39
|
caseCloseReasonsGroupsSearchMethod,
|
|
40
40
|
caseCloseReasonsSearchMethod,
|
|
@@ -99,4 +99,4 @@ watch(
|
|
|
99
99
|
);
|
|
100
100
|
</script>
|
|
101
101
|
|
|
102
|
-
<style
|
|
102
|
+
<style scoped></style>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import CaseCloseReasonGroupsAPI from '
|
|
2
|
-
import CaseCloseReasonsAPI from '
|
|
1
|
+
import CaseCloseReasonGroupsAPI from '@webitel/ui-sdk/api/clients/caseCloseReasonGroups/caseCloseReasonGroups';
|
|
2
|
+
import CaseCloseReasonsAPI from '@webitel/ui-sdk/api/clients/caseCloseReasons/caseCloseReasons';
|
|
3
3
|
|
|
4
4
|
export const caseCloseReasonsGroupsSearchMethod =
|
|
5
5
|
CaseCloseReasonGroupsAPI.getLookup;
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
<script lang="ts" setup>
|
|
15
15
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
16
|
import { required } from '@vuelidate/validators';
|
|
17
|
+
import { WtSelect } from '@webitel/ui-sdk/components';
|
|
17
18
|
import { computed, watch } from 'vue';
|
|
18
19
|
import { useI18n } from 'vue-i18n';
|
|
19
20
|
|
|
20
|
-
import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
|
|
21
21
|
import { searchMethod } from './config.js';
|
|
22
22
|
|
|
23
23
|
type ModelValue = number[];
|
|
@@ -53,4 +53,4 @@ const handleInput = (value: ModelValue) => {
|
|
|
53
53
|
};
|
|
54
54
|
</script>
|
|
55
55
|
|
|
56
|
-
<style
|
|
56
|
+
<style scoped></style>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import ContactGroupsAPI from '
|
|
1
|
+
import ContactGroupsAPI from '@webitel/ui-sdk/api/clients/contactGroups/contactGroups';
|
|
2
2
|
|
|
3
3
|
export const searchMethod = ContactGroupsAPI.getLookup;
|
|
4
4
|
export const localePath = '';
|
package/src/filters/components/filter-options/contact-group/contact-group-filter-value-field.vue
CHANGED
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
<script lang="ts" setup>
|
|
22
22
|
import { useVuelidate } from '@vuelidate/core';
|
|
23
23
|
import { requiredIf } from '@vuelidate/validators';
|
|
24
|
+
import { WtSelect } from '@webitel/ui-sdk/components';
|
|
25
|
+
import { WtCheckbox } from '@webitel/ui-sdk/components';
|
|
24
26
|
import { computed, onMounted, watch } from 'vue';
|
|
25
27
|
import { useI18n } from 'vue-i18n';
|
|
26
28
|
|
|
27
|
-
import WtCheckbox from '../../../../../../../components/wt-checkbox/wt-checkbox.vue';
|
|
28
|
-
import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
|
|
29
29
|
import { searchMethod } from './config.js';
|
|
30
30
|
|
|
31
31
|
type ModelValue = {
|
|
@@ -71,4 +71,4 @@ watch(
|
|
|
71
71
|
);
|
|
72
72
|
</script>
|
|
73
73
|
|
|
74
|
-
<style
|
|
74
|
+
<style scoped></style>
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
<script lang="ts" setup>
|
|
15
15
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
16
|
import { required } from '@vuelidate/validators';
|
|
17
|
+
import { WtSelect } from '@webitel/ui-sdk/components';
|
|
17
18
|
import { computed, watch } from 'vue';
|
|
18
19
|
import { useI18n } from 'vue-i18n';
|
|
19
20
|
|
|
20
|
-
import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
|
|
21
21
|
import { DirectionOptions } from '../../../enums/direction-options';
|
|
22
22
|
|
|
23
23
|
const model = defineModel<string>();
|
|
@@ -48,4 +48,4 @@ watch(
|
|
|
48
48
|
);
|
|
49
49
|
</script>
|
|
50
50
|
|
|
51
|
-
<style
|
|
51
|
+
<style scoped></style>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
{{ t(`calls.direction.${value}`) }}
|
|
3
|
+
{{ t(`calls.direction.${props.value}`) }}
|
|
4
4
|
</div>
|
|
5
5
|
</template>
|
|
6
6
|
|
|
@@ -14,4 +14,4 @@ const props = defineProps<{
|
|
|
14
14
|
const { t } = useI18n();
|
|
15
15
|
</script>
|
|
16
16
|
|
|
17
|
-
<style
|
|
17
|
+
<style scoped></style>
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
<script lang="ts" setup>
|
|
15
15
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
16
|
import { required } from '@vuelidate/validators';
|
|
17
|
+
import { WtSelect } from '@webitel/ui-sdk/components';
|
|
17
18
|
import { computed, watch } from 'vue';
|
|
18
19
|
import { useI18n } from 'vue-i18n';
|
|
19
20
|
|
|
20
|
-
import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
|
|
21
21
|
import { searchMethod } from './config.js';
|
|
22
22
|
|
|
23
23
|
type ModelValue = number[];
|
|
@@ -53,4 +53,4 @@ const handleInput = (value: ModelValue) => {
|
|
|
53
53
|
};
|
|
54
54
|
</script>
|
|
55
55
|
|
|
56
|
-
<style
|
|
56
|
+
<style scoped></style>
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
<script lang="ts" setup>
|
|
15
15
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
16
|
import { required } from '@vuelidate/validators';
|
|
17
|
+
import { WtSelect } from '@webitel/ui-sdk/components';
|
|
17
18
|
import { computed, watch } from 'vue';
|
|
18
19
|
import { useI18n } from 'vue-i18n';
|
|
19
20
|
|
|
20
|
-
import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
|
|
21
21
|
import { searchMethod } from './config.js';
|
|
22
22
|
|
|
23
23
|
type ModelValue = number[];
|
|
@@ -53,4 +53,4 @@ const handleInput = (value: ModelValue) => {
|
|
|
53
53
|
};
|
|
54
54
|
</script>
|
|
55
55
|
|
|
56
|
-
<style
|
|
56
|
+
<style scoped></style>
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
<script lang="ts" setup>
|
|
15
15
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
16
|
import { required } from '@vuelidate/validators';
|
|
17
|
+
import { WtSelect } from '@webitel/ui-sdk/components';
|
|
17
18
|
import { computed, watch } from 'vue';
|
|
18
19
|
import { useI18n } from 'vue-i18n';
|
|
19
20
|
|
|
20
|
-
import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
|
|
21
21
|
import { searchMethod } from './config.js';
|
|
22
22
|
|
|
23
23
|
type ModelValue = number[];
|
|
@@ -53,4 +53,4 @@ const handleInput = (value: ModelValue) => {
|
|
|
53
53
|
};
|
|
54
54
|
</script>
|
|
55
55
|
|
|
56
|
-
<style
|
|
56
|
+
<style scoped></style>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import CasePrioritiesAPI from '
|
|
1
|
+
import CasePrioritiesAPI from '@webitel/ui-sdk/api/clients/casePriorities/casePriorities';
|
|
2
2
|
|
|
3
3
|
export const searchMethod = CasePrioritiesAPI.getLookup;
|
|
4
4
|
export const localePath = '';
|
package/src/filters/components/filter-options/priority-case/priority-case-filter-value-field.vue
CHANGED
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
<script lang="ts" setup>
|
|
15
15
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
16
|
import { required } from '@vuelidate/validators';
|
|
17
|
+
import { WtSelect } from '@webitel/ui-sdk/components';
|
|
17
18
|
import { computed, watch } from 'vue';
|
|
18
19
|
import { useI18n } from 'vue-i18n';
|
|
19
20
|
|
|
20
|
-
import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
|
|
21
21
|
import { searchMethod } from './config.js';
|
|
22
22
|
|
|
23
23
|
type ModelValue = number[];
|
|
@@ -54,4 +54,4 @@ const handleInput = (value: ModelValue) => {
|
|
|
54
54
|
};
|
|
55
55
|
</script>
|
|
56
56
|
|
|
57
|
-
<style
|
|
57
|
+
<style scoped></style>
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
<script lang="ts" setup>
|
|
15
15
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
16
|
import { required } from '@vuelidate/validators';
|
|
17
|
+
import { WtSelect } from '@webitel/ui-sdk/components';
|
|
17
18
|
import { computed, watch } from 'vue';
|
|
18
19
|
import { useI18n } from 'vue-i18n';
|
|
19
20
|
|
|
20
|
-
import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
|
|
21
21
|
import { searchMethod } from './config.js';
|
|
22
22
|
|
|
23
23
|
type ModelValue = number[];
|
|
@@ -53,4 +53,4 @@ const handleInput = (value: ModelValue) => {
|
|
|
53
53
|
};
|
|
54
54
|
</script>
|
|
55
55
|
|
|
56
|
-
<style
|
|
56
|
+
<style scoped></style>
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
<script lang="ts" setup>
|
|
15
15
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
16
|
import { required } from '@vuelidate/validators';
|
|
17
|
+
import { WtSelect } from '@webitel/ui-sdk/components';
|
|
17
18
|
import { computed, watch } from 'vue';
|
|
18
19
|
import { useI18n } from 'vue-i18n';
|
|
19
20
|
|
|
20
|
-
import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
|
|
21
21
|
import { searchMethod } from './config.js';
|
|
22
22
|
|
|
23
23
|
type ModelValue = number[];
|
|
@@ -53,4 +53,4 @@ const handleInput = (value: ModelValue) => {
|
|
|
53
53
|
};
|
|
54
54
|
</script>
|
|
55
55
|
|
|
56
|
-
<style
|
|
56
|
+
<style scoped></style>
|
|
@@ -29,11 +29,10 @@
|
|
|
29
29
|
<script lang="ts" setup>
|
|
30
30
|
import { useVuelidate } from '@vuelidate/core';
|
|
31
31
|
import { maxValue, requiredIf } from '@vuelidate/validators';
|
|
32
|
+
import { WtInput } from '@webitel/ui-sdk/components';
|
|
32
33
|
import { computed, watch } from 'vue';
|
|
33
34
|
import { useI18n } from 'vue-i18n';
|
|
34
35
|
|
|
35
|
-
import { WtInput } from '../../../../../../../components';
|
|
36
|
-
|
|
37
36
|
type ModelValue = {
|
|
38
37
|
from: number;
|
|
39
38
|
to: number;
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
<script lang="ts" setup>
|
|
15
15
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
16
|
import { required } from '@vuelidate/validators';
|
|
17
|
+
import { WtSelect } from '@webitel/ui-sdk/components';
|
|
17
18
|
import { computed, watch } from 'vue';
|
|
18
19
|
import { useI18n } from 'vue-i18n';
|
|
19
20
|
|
|
20
|
-
import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
|
|
21
21
|
import { searchMethod } from './config.js';
|
|
22
22
|
|
|
23
23
|
type ModelValue = number[];
|
|
@@ -53,4 +53,4 @@ const handleInput = (value: ModelValue) => {
|
|
|
53
53
|
};
|
|
54
54
|
</script>
|
|
55
55
|
|
|
56
|
-
<style
|
|
56
|
+
<style scoped></style>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import ServiceCatalogsAPI from '
|
|
2
|
-
import ServicesAPI from '
|
|
1
|
+
import ServiceCatalogsAPI from '@webitel/ui-sdk/api/clients/caseServiceCatalogs/service-catalogs';
|
|
2
|
+
import ServicesAPI from '@webitel/ui-sdk/api/clients/caseServices/services';
|
|
3
3
|
|
|
4
4
|
export const searchMethod = ServiceCatalogsAPI.getList;
|
|
5
5
|
export const servicesSearchMethod = ServicesAPI.getList;
|
package/src/filters/components/filter-options/service-case/service-case-filter-value-field.vue
CHANGED
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
</template>
|
|
13
13
|
|
|
14
14
|
<script lang="ts" setup>
|
|
15
|
+
import { WtTree } from '@webitel/ui-sdk/components';
|
|
15
16
|
import deepCopy from 'deep-copy';
|
|
16
17
|
import { onMounted, ref } from 'vue';
|
|
17
18
|
|
|
18
|
-
import WtTree from '../../../../../../../components/wt-tree/wt-tree.vue';
|
|
19
19
|
import { searchMethod } from './config.js';
|
|
20
20
|
|
|
21
21
|
type ModelValue = string[];
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
<script lang="ts" setup>
|
|
15
15
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
16
|
import { required } from '@vuelidate/validators';
|
|
17
|
+
import { WtSelect } from '@webitel/ui-sdk/components';
|
|
17
18
|
import { computed, watch } from 'vue';
|
|
18
19
|
import { useI18n } from 'vue-i18n';
|
|
19
20
|
|
|
20
|
-
import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
|
|
21
21
|
import { searchMethod } from './config.js';
|
|
22
22
|
|
|
23
23
|
type ModelValue = number[];
|
|
@@ -54,4 +54,4 @@ const handleInput = (value: ModelValue) => {
|
|
|
54
54
|
};
|
|
55
55
|
</script>
|
|
56
56
|
|
|
57
|
-
<style
|
|
57
|
+
<style scoped></style>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import SLAConditionsAPI from '
|
|
2
|
-
import SlasAPI from '
|
|
1
|
+
import SLAConditionsAPI from '@webitel/ui-sdk/api/clients/slaConditions/slaConditions';
|
|
2
|
+
import SlasAPI from '@webitel/ui-sdk/api/clients/slas/slas';
|
|
3
3
|
|
|
4
4
|
export const slasConditionsSearchMethod = SLAConditionsAPI.getLookup;
|
|
5
5
|
export const slasSearchMethod = SlasAPI.getLookup;
|
package/src/filters/components/filter-options/sla-condition/sla-condition-filter-value-field.vue
CHANGED
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
<script lang="ts" setup>
|
|
32
32
|
import { useVuelidate } from '@vuelidate/core';
|
|
33
33
|
import { required } from '@vuelidate/validators';
|
|
34
|
+
import { WtSelect } from '@webitel/ui-sdk/components';
|
|
34
35
|
import { computed, onMounted, watch } from 'vue';
|
|
35
36
|
import { useI18n } from 'vue-i18n';
|
|
36
37
|
|
|
37
|
-
import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
|
|
38
38
|
import { slasConditionsSearchMethod, slasSearchMethod } from './config.js';
|
|
39
39
|
|
|
40
40
|
type ModelValue = {
|
|
@@ -95,4 +95,4 @@ watch(
|
|
|
95
95
|
);
|
|
96
96
|
</script>
|
|
97
97
|
|
|
98
|
-
<style
|
|
98
|
+
<style scoped></style>
|
package/src/filters/components/filter-options/source-case/source-case-filter-value-field.vue
CHANGED
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
<script lang="ts" setup>
|
|
15
15
|
import { useVuelidate } from '@vuelidate/core';
|
|
16
16
|
import { required } from '@vuelidate/validators';
|
|
17
|
+
import { WtSelect } from '@webitel/ui-sdk/components';
|
|
17
18
|
import { computed, watch } from 'vue';
|
|
18
19
|
import { useI18n } from 'vue-i18n';
|
|
19
20
|
|
|
20
|
-
import WtSelect from '../../../../../../../components/wt-select/wt-select.vue';
|
|
21
21
|
import { searchMethod } from './config.js';
|
|
22
22
|
|
|
23
23
|
type ModelValue = number[];
|
|
@@ -54,4 +54,4 @@ const handleInput = (value: ModelValue) => {
|
|
|
54
54
|
};
|
|
55
55
|
</script>
|
|
56
56
|
|
|
57
|
-
<style
|
|
57
|
+
<style scoped></style>
|