@webitel/ui-datalist 1.0.82 → 1.0.84
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 +4 -4
- package/src/modules/filters/modules/filterConfig/components/agent-status/agent-status-filter-value-field.vue +68 -0
- package/src/modules/filters/modules/filterConfig/components/agent-status/agent-status-filter-value-preview.vue +35 -0
- package/src/modules/filters/modules/filterConfig/components/auditor/auditor-filter-value-field.vue +69 -0
- package/src/modules/filters/modules/filterConfig/components/auditor/auditor-filter-value-preview.vue +15 -0
- package/src/modules/filters/modules/filterConfig/components/auditor/index.ts +21 -0
- package/src/modules/filters/modules/filterConfig/components/index.ts +44 -0
- package/src/modules/filters/modules/filterConfig/components/queue-period/queue-period-filter-value-field.vue +1 -0
- package/src/modules/filters/modules/filterConfig/components/queue-type/queue-type-filter-value-field.vue +1 -0
- package/src/modules/filters/modules/filterConfig/components/region/index.ts +20 -0
- package/src/modules/filters/modules/filterConfig/components/region/region-filter-value-field.vue +69 -0
- package/src/modules/filters/modules/filterConfig/components/region/region-filter-value-preview.vue +15 -0
- package/src/modules/filters/modules/filterConfig/components/skill/index.ts +21 -0
- package/src/modules/filters/modules/filterConfig/components/skill/skill-filter-value-field.vue +69 -0
- package/src/modules/filters/modules/filterConfig/components/skill/skill-filter-value-preview.vue +15 -0
- package/src/modules/filters/modules/filterConfig/components/supervisor/index.ts +21 -0
- package/src/modules/filters/modules/filterConfig/components/supervisor/supervisor-filter-value-field.vue +69 -0
- package/src/modules/filters/modules/filterConfig/components/supervisor/supervisor-filter-value-preview.vue +15 -0
- package/src/modules/filters/modules/filterConfig/components/utilization-progress/utilization-progress-filter-value-field.vue +66 -0
- package/src/modules/filters/modules/filterConfig/components/utilization-progress/utilization-progress-filter-value-preview.vue +19 -0
- package/src/modules/filters/modules/filterConfig/composables/useAgentStatusOptions.ts +23 -0
- package/src/modules/filters/modules/filterConfig/enums/FilterOption.ts +7 -1
- package/src/modules/filters/modules/filterConfig/enums/options/UtilizationProgressOptions.ts +20 -0
- package/types/modules/filters/modules/filterConfig/components/agent-status/agent-status-filter-value-field.vue.d.ts +16 -0
- package/types/modules/filters/modules/filterConfig/components/agent-status/agent-status-filter-value-preview.vue.d.ts +5 -0
- package/types/modules/filters/modules/filterConfig/components/auditor/auditor-filter-value-field.vue.d.ts +17 -0
- package/types/modules/filters/modules/filterConfig/components/auditor/auditor-filter-value-preview.vue.d.ts +6 -0
- package/types/modules/filters/modules/filterConfig/components/auditor/index.d.ts +32 -0
- package/types/modules/filters/modules/filterConfig/components/index.d.ts +145 -1
- package/types/modules/filters/modules/filterConfig/components/region/index.d.ts +32 -0
- package/types/modules/filters/modules/filterConfig/components/region/region-filter-value-field.vue.d.ts +17 -0
- package/types/modules/filters/modules/filterConfig/components/region/region-filter-value-preview.vue.d.ts +6 -0
- package/types/modules/filters/modules/filterConfig/components/skill/index.d.ts +32 -0
- package/types/modules/filters/modules/filterConfig/components/skill/skill-filter-value-field.vue.d.ts +17 -0
- package/types/modules/filters/modules/filterConfig/components/skill/skill-filter-value-preview.vue.d.ts +6 -0
- package/types/modules/filters/modules/filterConfig/components/supervisor/index.d.ts +32 -0
- package/types/modules/filters/modules/filterConfig/components/supervisor/supervisor-filter-value-field.vue.d.ts +17 -0
- package/types/modules/filters/modules/filterConfig/components/supervisor/supervisor-filter-value-preview.vue.d.ts +6 -0
- package/types/modules/filters/modules/filterConfig/components/utilization-progress/utilization-progress-filter-value-field.vue.d.ts +16 -0
- package/types/modules/filters/modules/filterConfig/components/utilization-progress/utilization-progress-filter-value-preview.vue.d.ts +5 -0
- package/types/modules/filters/modules/filterConfig/composables/useAgentStatusOptions.d.ts +6 -0
- package/types/modules/filters/modules/filterConfig/enums/FilterOption.d.ts +6 -0
- package/types/modules/filters/modules/filterConfig/enums/options/UtilizationProgressOptions.d.ts +5 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<wt-select
|
|
3
|
+
:close-on-select="false"
|
|
4
|
+
:label="labelValue"
|
|
5
|
+
:options="UtilizationProgressOptions"
|
|
6
|
+
:value="model"
|
|
7
|
+
:v="!disableValidation && v$.model"
|
|
8
|
+
track-by="value"
|
|
9
|
+
multiple
|
|
10
|
+
use-value-from-options-by-prop="value"
|
|
11
|
+
@input="model = $event"
|
|
12
|
+
/>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<script lang="ts" setup>
|
|
16
|
+
import { useVuelidate } from '@vuelidate/core';
|
|
17
|
+
import { required } from '@vuelidate/validators';
|
|
18
|
+
import { WtSelect } from '@webitel/ui-sdk/components';
|
|
19
|
+
import { computed, onMounted, watch } from 'vue';
|
|
20
|
+
import { useI18n } from 'vue-i18n';
|
|
21
|
+
|
|
22
|
+
import UtilizationProgressOptions from '../../enums/options/UtilizationProgressOptions';
|
|
23
|
+
import { WtSysTypeFilterConfig } from '../../classes/FilterConfig';
|
|
24
|
+
|
|
25
|
+
const model = defineModel<string>();
|
|
26
|
+
const { t } = useI18n();
|
|
27
|
+
|
|
28
|
+
const props = defineProps<{
|
|
29
|
+
filterConfig?: WtSysTypeFilterConfig;
|
|
30
|
+
disableValidation?: boolean;
|
|
31
|
+
}>();
|
|
32
|
+
|
|
33
|
+
const v$ = useVuelidate(
|
|
34
|
+
computed(() => ({
|
|
35
|
+
model: {
|
|
36
|
+
required,
|
|
37
|
+
},
|
|
38
|
+
})),
|
|
39
|
+
{ model },
|
|
40
|
+
{ $autoDirty: true },
|
|
41
|
+
);
|
|
42
|
+
|
|
43
|
+
v$.value.$touch();
|
|
44
|
+
|
|
45
|
+
const emit = defineEmits<{
|
|
46
|
+
'update:invalid': [boolean];
|
|
47
|
+
}>();
|
|
48
|
+
|
|
49
|
+
onMounted(() => {
|
|
50
|
+
if (!props?.disableValidation) v$.value.$touch();
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
const labelValue = computed(() =>
|
|
54
|
+
t(`webitelUI.filters.${props?.filterConfig?.showFilterName ?
|
|
55
|
+
props?.filterConfig.name : 'filterValue'}`));
|
|
56
|
+
|
|
57
|
+
watch(
|
|
58
|
+
() => v$.value.$invalid,
|
|
59
|
+
(invalid) => {
|
|
60
|
+
emit('update:invalid', invalid);
|
|
61
|
+
},
|
|
62
|
+
{ immediate: true },
|
|
63
|
+
);
|
|
64
|
+
</script>
|
|
65
|
+
|
|
66
|
+
<style scoped></style>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<ul>
|
|
3
|
+
<li
|
|
4
|
+
v-for="(item, index) of props.value"
|
|
5
|
+
:key="index"
|
|
6
|
+
>
|
|
7
|
+
{{ item?.name }}
|
|
8
|
+
</li>
|
|
9
|
+
</ul>
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<script lang="ts" setup>
|
|
13
|
+
|
|
14
|
+
const props = defineProps<{
|
|
15
|
+
value: number[];
|
|
16
|
+
}>();
|
|
17
|
+
</script>
|
|
18
|
+
|
|
19
|
+
<style scoped></style>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { AgentStatus } from 'webitel-sdk';
|
|
2
|
+
import { computed } from 'vue';
|
|
3
|
+
import { useI18n } from 'vue-i18n';
|
|
4
|
+
|
|
5
|
+
export function useAgentStatusOptions() {
|
|
6
|
+
const { t } = useI18n();
|
|
7
|
+
|
|
8
|
+
const mapAgentStatusToLabel = (value: string) => {
|
|
9
|
+
return t(`objects.agent.status.${value === 'BreakOut' ? 'breakOut' : value.toLowerCase()}`)
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
const options = computed(() =>{
|
|
13
|
+
return Object.keys(AgentStatus).map((value) => ({
|
|
14
|
+
value,
|
|
15
|
+
label: mapAgentStatusToLabel(value),
|
|
16
|
+
}))
|
|
17
|
+
}
|
|
18
|
+
);
|
|
19
|
+
|
|
20
|
+
return {
|
|
21
|
+
options,
|
|
22
|
+
};
|
|
23
|
+
}
|
|
@@ -41,7 +41,13 @@ export const FilterOption = {
|
|
|
41
41
|
HasAttachment: 'hasAttachment',
|
|
42
42
|
HasUser: 'hasUser',
|
|
43
43
|
QueueType: 'queueType',
|
|
44
|
-
QueuePeriod: 'queuePeriod'
|
|
44
|
+
QueuePeriod: 'queuePeriod',
|
|
45
|
+
AgentStatus: 'agentStatus',
|
|
46
|
+
Skill: 'skill',
|
|
47
|
+
Supervisor: 'supervisor',
|
|
48
|
+
Auditor: 'auditor',
|
|
49
|
+
Region: 'region',
|
|
50
|
+
UtilizationProgress: 'utilizationProgress',
|
|
45
51
|
} as const;
|
|
46
52
|
|
|
47
53
|
/**
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const UtilizationProgressOptions = Object.freeze([
|
|
2
|
+
{
|
|
3
|
+
name: '< 100%',
|
|
4
|
+
value: '100',
|
|
5
|
+
},
|
|
6
|
+
{
|
|
7
|
+
name: '< 90%',
|
|
8
|
+
value: '90',
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
name: '< 70%',
|
|
12
|
+
value: '70',
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
name: '< 50%',
|
|
16
|
+
value: '50',
|
|
17
|
+
},
|
|
18
|
+
]);
|
|
19
|
+
|
|
20
|
+
export default UtilizationProgressOptions;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { WtSysTypeFilterConfig } from '../../classes/FilterConfig';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
filterConfig?: WtSysTypeFilterConfig;
|
|
4
|
+
disableValidation?: boolean;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
7
|
+
modelValue?: string;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (value: string) => any;
|
|
11
|
+
"update:invalid": (args_0: boolean) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
14
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
value: number[];
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { WtSysTypeFilterConfig } from '../../classes/FilterConfig';
|
|
2
|
+
type ModelValue = number[];
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
filterConfig: WtSysTypeFilterConfig;
|
|
5
|
+
disableValidation?: boolean;
|
|
6
|
+
};
|
|
7
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
8
|
+
modelValue?: ModelValue;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
"update:modelValue": (value: ModelValue) => any;
|
|
12
|
+
"update:invalid": (args_0: boolean) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: (value: ModelValue) => any;
|
|
15
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { EngineQueue } from 'webitel-sdk';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
value: EngineQueue[];
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { WtSysTypeFilterConfig } from '../../classes/FilterConfig';
|
|
2
|
+
declare class AuditorFilterConfig extends WtSysTypeFilterConfig {
|
|
3
|
+
readonly name: "auditor";
|
|
4
|
+
valueInputComponent: import("vue").DefineComponent<{
|
|
5
|
+
filterConfig: WtSysTypeFilterConfig;
|
|
6
|
+
disableValidation?: boolean;
|
|
7
|
+
} & {
|
|
8
|
+
modelValue?: number[];
|
|
9
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (value: number[]) => any;
|
|
11
|
+
"update:invalid": (args_0: boolean) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
13
|
+
filterConfig: WtSysTypeFilterConfig;
|
|
14
|
+
disableValidation?: boolean;
|
|
15
|
+
} & {
|
|
16
|
+
modelValue?: number[];
|
|
17
|
+
}> & Readonly<{
|
|
18
|
+
"onUpdate:modelValue"?: (value: number[]) => any;
|
|
19
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
valuePreviewComponent: import("vue").DefineComponent<{
|
|
22
|
+
value: EngineQueue[];
|
|
23
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
24
|
+
value: EngineQueue[];
|
|
25
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
searchRecords(params: object): Promise<{
|
|
27
|
+
items: unknown[];
|
|
28
|
+
next?: boolean;
|
|
29
|
+
}>;
|
|
30
|
+
}
|
|
31
|
+
export declare const createAuditorFilterConfig: (params: any) => AuditorFilterConfig;
|
|
32
|
+
export {};
|
|
@@ -83,7 +83,19 @@ import UserFilter from './user/user-filter-value-field.vue';
|
|
|
83
83
|
import UserFilterPreview from './user/user-filter-value-preview.vue';
|
|
84
84
|
import VariableFilter from './variable/variable-filter-value-field.vue';
|
|
85
85
|
import VariableFilterPreview from './variable/variable-filter-value-preview.vue';
|
|
86
|
-
|
|
86
|
+
import AgentStatusFilter from './agent-status/agent-status-filter-value-field.vue';
|
|
87
|
+
import AgentStatusFilterPreview from './agent-status/agent-status-filter-value-preview.vue';
|
|
88
|
+
import SkillFilter from './skill/skill-filter-value-field.vue';
|
|
89
|
+
import SkillFilterPreview from './skill/skill-filter-value-preview.vue';
|
|
90
|
+
import SupervisorFilter from './supervisor/supervisor-filter-value-field.vue';
|
|
91
|
+
import SupervisorFilterPreview from './supervisor/supervisor-filter-value-preview.vue';
|
|
92
|
+
import AuditorFilter from './auditor/auditor-filter-value-field.vue';
|
|
93
|
+
import AuditorFilterPreview from './auditor/auditor-filter-value-preview.vue';
|
|
94
|
+
import RegionFilter from './region/region-filter-value-field.vue';
|
|
95
|
+
import RegionFilterPreview from './region/region-filter-value-preview.vue';
|
|
96
|
+
import UtilizationProgressFilter from './utilization-progress/utilization-progress-filter-value-field.vue';
|
|
97
|
+
import UtilizationProgressFilterPreview from './utilization-progress/utilization-progress-filter-value-preview.vue';
|
|
98
|
+
export { AgentFilter, AgentFilterPreview, SkillFilter, SkillFilterPreview, SupervisorFilter, SupervisorFilterPreview, AuditorFilter, AuditorFilterPreview, RegionFilter, RegionFilterPreview, AgentStatusFilter, AgentStatusFilterPreview, UtilizationProgressFilter, UtilizationProgressFilterPreview, AmdResultFilter, AmdResultFilterPreview, CallDirectionFilterValueField, CallDirectionFilterValuePreview, CaseActualReactionTimeFilterValueField, CaseActualReactionTimeFilterValuePreview, CaseActualResolutionTimeFilterValueField, CaseActualResolutionTimeFilterValuePreview, CaseAuthorFilterValueField, CaseAuthorFilterValuePreview, CaseCloseReasonGroupsFilterValueField, CaseCloseReasonGroupsFilterValuePreview, CaseImpactedFilterValueField, CaseImpactedFilterValuePreview, CasePriorityFilterValueField, CasePriorityFilterValuePreview, CaseReactionTimeFilterValueField, CaseReactionTimeFilterValuePreview, CaseReporterFilterValueField, CaseReporterFilterValuePreview, CaseResolutionTimeFilterValueField, CaseResolutionTimeFilterValuePreview, CaseServiceFilterValueField, CaseServiceFilterValuePreview, CaseSlaConditionFilterValueField, CaseSlaConditionFilterValuePreview, CaseSlaFilterValueField, CaseSlaFilterValuePreview, CaseSourceFilterValueField, CaseSourceFilterValuePreview, CaseStatusFilterValueField, CaseStatusFilterValuePreview, ContactFilter, ContactFilterPreview, ContactGroupFilter, ContactGroupFilterPreview, ContactLabelFilter, ContactLabelFilterPreview, ContactOwnerFilter, ContactOwnerFilterPreview, DateTimeOptionsFilterValueField, GatewayFilter, GatewayFilterPreview, GranteeFilter, GranteeFilterPreview, HangupCauseFilterValueField, HangupCauseFilterValuePreview, HasAttachmentFilter, HasAttachmentFilterPreview, HasFileFilter, HasFileFilterPreview, HasRatingFilterValueField, HasRatingFilterValuePreview, HasTranscriptionFilter, HasTranscriptionFilterPreview, HasUserFilter, HasUserFilterPreview, QueueFilter, QueueFilterPreview, QueueTypeFilter, QueueTypeFilterPreview, QueuePeriodFilter, QueuePeriodFilterPreview, RatedByFilter, RatedByFilterPreview, RatingFromToFilter, RatingFromToFilterPreview, ScoreFilter, ScoreFilterPreview, TagFilter, TagFilterPreview, TalkDurationFilter, TalkDurationFilterPreview, TeamFilter, TeamFilterPreview, TotalDurationFilter, TotalDurationFilterPreview, UserFilter, UserFilterPreview, VariableFilter, VariableFilterPreview, };
|
|
87
99
|
export declare const FilterOptionToValueComponentMap: Record<FilterOptionName, Component>;
|
|
88
100
|
export declare const FilterOptionToPreviewComponentMap: Record<FilterOptionName, Component>;
|
|
89
101
|
export declare const FilterOptionToPreviewApiSearchMethodMap: Record<FilterOptionName, (unknown: any) => {
|
|
@@ -273,4 +285,136 @@ export declare const FilterOptionToFilterConfigCreatorMap: {
|
|
|
273
285
|
notDeletable: boolean;
|
|
274
286
|
showFilterName: boolean;
|
|
275
287
|
};
|
|
288
|
+
skill: (params: any) => {
|
|
289
|
+
readonly name: "skill";
|
|
290
|
+
valueInputComponent: import("vue").DefineComponent<{
|
|
291
|
+
filterConfig: import("..").WtSysTypeFilterConfig;
|
|
292
|
+
disableValidation?: boolean;
|
|
293
|
+
} & {
|
|
294
|
+
modelValue?: number[];
|
|
295
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
296
|
+
"update:modelValue": (value: number[]) => any;
|
|
297
|
+
"update:invalid": (args_0: boolean) => any;
|
|
298
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
299
|
+
filterConfig: import("..").WtSysTypeFilterConfig;
|
|
300
|
+
disableValidation?: boolean;
|
|
301
|
+
} & {
|
|
302
|
+
modelValue?: number[];
|
|
303
|
+
}> & Readonly<{
|
|
304
|
+
"onUpdate:modelValue"?: (value: number[]) => any;
|
|
305
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
306
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
307
|
+
valuePreviewComponent: import("vue").DefineComponent<{
|
|
308
|
+
value: FilterOptionName[];
|
|
309
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
310
|
+
value: FilterOptionName[];
|
|
311
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
312
|
+
searchRecords(params: object): Promise<{
|
|
313
|
+
items: unknown[];
|
|
314
|
+
next?: boolean;
|
|
315
|
+
}>;
|
|
316
|
+
label?: ReturnType<FilterOptionName> | string;
|
|
317
|
+
staticView?: boolean;
|
|
318
|
+
notDeletable: boolean;
|
|
319
|
+
showFilterName: boolean;
|
|
320
|
+
};
|
|
321
|
+
supervisor: (params: any) => {
|
|
322
|
+
readonly name: "supervisor";
|
|
323
|
+
valueInputComponent: import("vue").DefineComponent<{
|
|
324
|
+
filterConfig: import("..").WtSysTypeFilterConfig;
|
|
325
|
+
disableValidation?: boolean;
|
|
326
|
+
} & {
|
|
327
|
+
modelValue?: number[];
|
|
328
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
329
|
+
"update:modelValue": (value: number[]) => any;
|
|
330
|
+
"update:invalid": (args_0: boolean) => any;
|
|
331
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
332
|
+
filterConfig: import("..").WtSysTypeFilterConfig;
|
|
333
|
+
disableValidation?: boolean;
|
|
334
|
+
} & {
|
|
335
|
+
modelValue?: number[];
|
|
336
|
+
}> & Readonly<{
|
|
337
|
+
"onUpdate:modelValue"?: (value: number[]) => any;
|
|
338
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
339
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
340
|
+
valuePreviewComponent: import("vue").DefineComponent<{
|
|
341
|
+
value: FilterOptionName[];
|
|
342
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
343
|
+
value: FilterOptionName[];
|
|
344
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
345
|
+
searchRecords(params: object): Promise<{
|
|
346
|
+
items: unknown[];
|
|
347
|
+
next?: boolean;
|
|
348
|
+
}>;
|
|
349
|
+
label?: ReturnType<FilterOptionName> | string;
|
|
350
|
+
staticView?: boolean;
|
|
351
|
+
notDeletable: boolean;
|
|
352
|
+
showFilterName: boolean;
|
|
353
|
+
};
|
|
354
|
+
auditor: (params: any) => {
|
|
355
|
+
readonly name: "auditor";
|
|
356
|
+
valueInputComponent: import("vue").DefineComponent<{
|
|
357
|
+
filterConfig: import("..").WtSysTypeFilterConfig;
|
|
358
|
+
disableValidation?: boolean;
|
|
359
|
+
} & {
|
|
360
|
+
modelValue?: number[];
|
|
361
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
362
|
+
"update:modelValue": (value: number[]) => any;
|
|
363
|
+
"update:invalid": (args_0: boolean) => any;
|
|
364
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
365
|
+
filterConfig: import("..").WtSysTypeFilterConfig;
|
|
366
|
+
disableValidation?: boolean;
|
|
367
|
+
} & {
|
|
368
|
+
modelValue?: number[];
|
|
369
|
+
}> & Readonly<{
|
|
370
|
+
"onUpdate:modelValue"?: (value: number[]) => any;
|
|
371
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
372
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
373
|
+
valuePreviewComponent: import("vue").DefineComponent<{
|
|
374
|
+
value: FilterOptionName[];
|
|
375
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
376
|
+
value: FilterOptionName[];
|
|
377
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
378
|
+
searchRecords(params: object): Promise<{
|
|
379
|
+
items: unknown[];
|
|
380
|
+
next?: boolean;
|
|
381
|
+
}>;
|
|
382
|
+
label?: ReturnType<FilterOptionName> | string;
|
|
383
|
+
staticView?: boolean;
|
|
384
|
+
notDeletable: boolean;
|
|
385
|
+
showFilterName: boolean;
|
|
386
|
+
};
|
|
387
|
+
region: (params: any) => {
|
|
388
|
+
readonly name: "region";
|
|
389
|
+
valueInputComponent: import("vue").DefineComponent<{
|
|
390
|
+
filterConfig: import("..").WtSysTypeFilterConfig;
|
|
391
|
+
disableValidation?: boolean;
|
|
392
|
+
} & {
|
|
393
|
+
modelValue?: number[];
|
|
394
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
395
|
+
"update:modelValue": (value: number[]) => any;
|
|
396
|
+
"update:invalid": (args_0: boolean) => any;
|
|
397
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
398
|
+
filterConfig: import("..").WtSysTypeFilterConfig;
|
|
399
|
+
disableValidation?: boolean;
|
|
400
|
+
} & {
|
|
401
|
+
modelValue?: number[];
|
|
402
|
+
}> & Readonly<{
|
|
403
|
+
"onUpdate:modelValue"?: (value: number[]) => any;
|
|
404
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
405
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
406
|
+
valuePreviewComponent: import("vue").DefineComponent<{
|
|
407
|
+
value: FilterOptionName[];
|
|
408
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
409
|
+
value: FilterOptionName[];
|
|
410
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
411
|
+
searchRecords(params: object): Promise<{
|
|
412
|
+
items: unknown[];
|
|
413
|
+
next?: boolean;
|
|
414
|
+
}>;
|
|
415
|
+
label?: ReturnType<FilterOptionName> | string;
|
|
416
|
+
staticView?: boolean;
|
|
417
|
+
notDeletable: boolean;
|
|
418
|
+
showFilterName: boolean;
|
|
419
|
+
};
|
|
276
420
|
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { WtSysTypeFilterConfig } from '../../classes/FilterConfig';
|
|
2
|
+
declare class RegionFilterConfig extends WtSysTypeFilterConfig {
|
|
3
|
+
readonly name: "region";
|
|
4
|
+
valueInputComponent: import("vue").DefineComponent<{
|
|
5
|
+
filterConfig: WtSysTypeFilterConfig;
|
|
6
|
+
disableValidation?: boolean;
|
|
7
|
+
} & {
|
|
8
|
+
modelValue?: number[];
|
|
9
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (value: number[]) => any;
|
|
11
|
+
"update:invalid": (args_0: boolean) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
13
|
+
filterConfig: WtSysTypeFilterConfig;
|
|
14
|
+
disableValidation?: boolean;
|
|
15
|
+
} & {
|
|
16
|
+
modelValue?: number[];
|
|
17
|
+
}> & Readonly<{
|
|
18
|
+
"onUpdate:modelValue"?: (value: number[]) => any;
|
|
19
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
valuePreviewComponent: import("vue").DefineComponent<{
|
|
22
|
+
value: EngineQueue[];
|
|
23
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
24
|
+
value: EngineQueue[];
|
|
25
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
searchRecords(params: object): Promise<{
|
|
27
|
+
items: unknown[];
|
|
28
|
+
next?: boolean;
|
|
29
|
+
}>;
|
|
30
|
+
}
|
|
31
|
+
export declare const createRegionFilterConfig: (params: any) => RegionFilterConfig;
|
|
32
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { WtSysTypeFilterConfig } from '../../classes/FilterConfig';
|
|
2
|
+
type ModelValue = number[];
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
filterConfig: WtSysTypeFilterConfig;
|
|
5
|
+
disableValidation?: boolean;
|
|
6
|
+
};
|
|
7
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
8
|
+
modelValue?: ModelValue;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
"update:modelValue": (value: ModelValue) => any;
|
|
12
|
+
"update:invalid": (args_0: boolean) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: (value: ModelValue) => any;
|
|
15
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { EngineQueue } from 'webitel-sdk';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
value: EngineQueue[];
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { WtSysTypeFilterConfig } from '../../classes/FilterConfig';
|
|
2
|
+
declare class SkillFilterConfig extends WtSysTypeFilterConfig {
|
|
3
|
+
readonly name: "skill";
|
|
4
|
+
valueInputComponent: import("vue").DefineComponent<{
|
|
5
|
+
filterConfig: WtSysTypeFilterConfig;
|
|
6
|
+
disableValidation?: boolean;
|
|
7
|
+
} & {
|
|
8
|
+
modelValue?: number[];
|
|
9
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (value: number[]) => any;
|
|
11
|
+
"update:invalid": (args_0: boolean) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
13
|
+
filterConfig: WtSysTypeFilterConfig;
|
|
14
|
+
disableValidation?: boolean;
|
|
15
|
+
} & {
|
|
16
|
+
modelValue?: number[];
|
|
17
|
+
}> & Readonly<{
|
|
18
|
+
"onUpdate:modelValue"?: (value: number[]) => any;
|
|
19
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
valuePreviewComponent: import("vue").DefineComponent<{
|
|
22
|
+
value: EngineQueue[];
|
|
23
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
24
|
+
value: EngineQueue[];
|
|
25
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
searchRecords(params: object): Promise<{
|
|
27
|
+
items: unknown[];
|
|
28
|
+
next?: boolean;
|
|
29
|
+
}>;
|
|
30
|
+
}
|
|
31
|
+
export declare const createSkillFilterConfig: (params: any) => SkillFilterConfig;
|
|
32
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { WtSysTypeFilterConfig } from '../../classes/FilterConfig';
|
|
2
|
+
type ModelValue = number[];
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
filterConfig: WtSysTypeFilterConfig;
|
|
5
|
+
disableValidation?: boolean;
|
|
6
|
+
};
|
|
7
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
8
|
+
modelValue?: ModelValue;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
"update:modelValue": (value: ModelValue) => any;
|
|
12
|
+
"update:invalid": (args_0: boolean) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: (value: ModelValue) => any;
|
|
15
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { EngineQueue } from 'webitel-sdk';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
value: EngineQueue[];
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { WtSysTypeFilterConfig } from '../../classes/FilterConfig';
|
|
2
|
+
declare class SupervisorFilterConfig extends WtSysTypeFilterConfig {
|
|
3
|
+
readonly name: "supervisor";
|
|
4
|
+
valueInputComponent: import("vue").DefineComponent<{
|
|
5
|
+
filterConfig: WtSysTypeFilterConfig;
|
|
6
|
+
disableValidation?: boolean;
|
|
7
|
+
} & {
|
|
8
|
+
modelValue?: number[];
|
|
9
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (value: number[]) => any;
|
|
11
|
+
"update:invalid": (args_0: boolean) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
13
|
+
filterConfig: WtSysTypeFilterConfig;
|
|
14
|
+
disableValidation?: boolean;
|
|
15
|
+
} & {
|
|
16
|
+
modelValue?: number[];
|
|
17
|
+
}> & Readonly<{
|
|
18
|
+
"onUpdate:modelValue"?: (value: number[]) => any;
|
|
19
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
valuePreviewComponent: import("vue").DefineComponent<{
|
|
22
|
+
value: EngineQueue[];
|
|
23
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
24
|
+
value: EngineQueue[];
|
|
25
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
searchRecords(params: object): Promise<{
|
|
27
|
+
items: unknown[];
|
|
28
|
+
next?: boolean;
|
|
29
|
+
}>;
|
|
30
|
+
}
|
|
31
|
+
export declare const createSupervisorFilterConfig: (params: any) => SupervisorFilterConfig;
|
|
32
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { WtSysTypeFilterConfig } from '../../classes/FilterConfig';
|
|
2
|
+
type ModelValue = number[];
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
filterConfig: WtSysTypeFilterConfig;
|
|
5
|
+
disableValidation?: boolean;
|
|
6
|
+
};
|
|
7
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
8
|
+
modelValue?: ModelValue;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
"update:modelValue": (value: ModelValue) => any;
|
|
12
|
+
"update:invalid": (args_0: boolean) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: (value: ModelValue) => any;
|
|
15
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { EngineQueue } from 'webitel-sdk';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
value: EngineQueue[];
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { WtSysTypeFilterConfig } from '../../classes/FilterConfig';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
filterConfig?: WtSysTypeFilterConfig;
|
|
4
|
+
disableValidation?: boolean;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
7
|
+
modelValue?: string;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (value: string) => any;
|
|
11
|
+
"update:invalid": (args_0: boolean) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
|
+
"onUpdate:modelValue"?: (value: string) => any;
|
|
14
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
value: number[];
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -42,6 +42,12 @@ export declare const FilterOption: {
|
|
|
42
42
|
readonly HasUser: "hasUser";
|
|
43
43
|
readonly QueueType: "queueType";
|
|
44
44
|
readonly QueuePeriod: "queuePeriod";
|
|
45
|
+
readonly AgentStatus: "agentStatus";
|
|
46
|
+
readonly Skill: "skill";
|
|
47
|
+
readonly Supervisor: "supervisor";
|
|
48
|
+
readonly Auditor: "auditor";
|
|
49
|
+
readonly Region: "region";
|
|
50
|
+
readonly UtilizationProgress: "utilizationProgress";
|
|
45
51
|
};
|
|
46
52
|
/**
|
|
47
53
|
*
|