@webitel/ui-datalist 1.0.18 → 1.0.20
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 +1 -1
- package/src/modules/filters/modules/filterConfig/components/_custom/filterConfig.ts +99 -0
- package/src/modules/filters/modules/filterConfig/components/_custom/index.ts +7 -68
- package/src/modules/filters/modules/filterConfig/components/case-assignee/filterConfig.ts +32 -0
- package/src/modules/filters/modules/filterConfig/components/case-assignee/index.ts +7 -26
- package/types/modules/filters/modules/filterConfig/components/_custom/filterConfig.d.ts +26 -0
- package/types/modules/filters/modules/filterConfig/components/_custom/index.d.ts +5 -17
- package/types/modules/filters/modules/filterConfig/components/case-assignee/filterConfig.d.ts +44 -0
- package/types/modules/filters/modules/filterConfig/components/case-assignee/index.d.ts +5 -44
- package/types/modules/filters/modules/filterConfig/components/index.d.ts +1 -43
package/package.json
CHANGED
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { sysTypes } from '@webitel/ui-sdk/api/clients/index';
|
|
2
|
+
import { WtTypeExtensionFieldKind } from '@webitel/ui-sdk/enums';
|
|
3
|
+
import get from 'lodash/get';
|
|
4
|
+
import { WebitelProtoDataField } from 'webitel-sdk';
|
|
5
|
+
|
|
6
|
+
import { FilterConfig } from '../../classes/FilterConfig';
|
|
7
|
+
import { CustomFilterOption } from '../../enums/FilterOption';
|
|
8
|
+
import {
|
|
9
|
+
BaseFilterConfig,
|
|
10
|
+
FilterConfigBaseParams,
|
|
11
|
+
IWtSysTypeFilterConfig,
|
|
12
|
+
} from '../../types/FilterConfig';
|
|
13
|
+
import TypeExtensionFilterValueField from './type-extension-filter-value-field.vue';
|
|
14
|
+
import TypeExtensionFilterValuePreview from './type-extension-filter-value-preview.vue';
|
|
15
|
+
|
|
16
|
+
export interface ITypeExtensionFilterConfig extends BaseFilterConfig {
|
|
17
|
+
readonly field: WebitelProtoDataField;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
class TypeExtensionFilterConfig
|
|
21
|
+
extends FilterConfig
|
|
22
|
+
implements ITypeExtensionFilterConfig
|
|
23
|
+
{
|
|
24
|
+
readonly field: WebitelProtoDataField;
|
|
25
|
+
|
|
26
|
+
constructor(
|
|
27
|
+
{ name }: FilterConfigBaseParams,
|
|
28
|
+
{ field }: { field: WebitelProtoDataField },
|
|
29
|
+
) {
|
|
30
|
+
super({
|
|
31
|
+
name,
|
|
32
|
+
valueInputComponent: TypeExtensionFilterValueField,
|
|
33
|
+
valuePreviewComponent: TypeExtensionFilterValuePreview,
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
this.label = field.name;
|
|
37
|
+
this.field = field;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
class TypeExtensionWtSysTypeFieldFilterConfig
|
|
42
|
+
extends TypeExtensionFilterConfig
|
|
43
|
+
implements IWtSysTypeFilterConfig
|
|
44
|
+
{
|
|
45
|
+
async searchRecords(
|
|
46
|
+
{ id: filterValue, ...rest },
|
|
47
|
+
// {
|
|
48
|
+
// filterValue,
|
|
49
|
+
// }: {
|
|
50
|
+
// filterValue: unknown;
|
|
51
|
+
// },
|
|
52
|
+
): Promise<{ items: unknown[]; next?: boolean }> {
|
|
53
|
+
const { items, ...restResponse } = await sysTypes.getLookup({
|
|
54
|
+
...rest,
|
|
55
|
+
...this.field.lookup,
|
|
56
|
+
id: filterValue,
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* @author @dlohvinov
|
|
61
|
+
*
|
|
62
|
+
* [WTEL-6787](https://webitel.atlassian.net/browse/WTEL-6787)
|
|
63
|
+
*
|
|
64
|
+
* name from display is get here instead of wt-select props because it's
|
|
65
|
+
* much simplier than configuring wt-select, but still this code is still
|
|
66
|
+
* isolated enough.
|
|
67
|
+
*
|
|
68
|
+
* for instance, contacts:
|
|
69
|
+
* display=name.common_name
|
|
70
|
+
* objects=[{ name: { common_name: 'str' } }]
|
|
71
|
+
*/
|
|
72
|
+
return {
|
|
73
|
+
items: items.map((item) => ({
|
|
74
|
+
...item,
|
|
75
|
+
name: get(item, this.field.lookup.display),
|
|
76
|
+
})),
|
|
77
|
+
...restResponse,
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export type {
|
|
83
|
+
TypeExtensionFilterConfig,
|
|
84
|
+
TypeExtensionWtSysTypeFieldFilterConfig,
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
export const createTypeExtensionFilterConfig = (
|
|
88
|
+
name: CustomFilterOption,
|
|
89
|
+
{ field }: { field: WebitelProtoDataField },
|
|
90
|
+
) => {
|
|
91
|
+
switch (field.kind) {
|
|
92
|
+
case WtTypeExtensionFieldKind.Select:
|
|
93
|
+
return new TypeExtensionWtSysTypeFieldFilterConfig(name, { field });
|
|
94
|
+
case WtTypeExtensionFieldKind.Multiselect:
|
|
95
|
+
return new TypeExtensionWtSysTypeFieldFilterConfig(name, { field });
|
|
96
|
+
default:
|
|
97
|
+
return new TypeExtensionFilterConfig(name, { field });
|
|
98
|
+
}
|
|
99
|
+
};
|
|
@@ -1,72 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { WtTypeExtensionFieldKind } from '@webitel/ui-sdk/enums';
|
|
3
|
-
import { WebitelProtoDataField } from 'webitel-sdk';
|
|
4
|
-
|
|
5
|
-
import { FilterConfig } from '../../classes/FilterConfig';
|
|
6
|
-
import { CustomFilterOption } from '../../enums/FilterOption';
|
|
7
|
-
import {
|
|
8
|
-
BaseFilterConfig,
|
|
9
|
-
FilterConfigBaseParams,
|
|
10
|
-
IWtSysTypeFilterConfig,
|
|
11
|
-
} from '../../types/FilterConfig';
|
|
1
|
+
import { createTypeExtensionFilterConfig } from './filterConfig';
|
|
12
2
|
import TypeExtensionFilterValueField from './type-extension-filter-value-field.vue';
|
|
13
3
|
import TypeExtensionFilterValuePreview from './type-extension-filter-value-preview.vue';
|
|
14
4
|
|
|
15
|
-
export
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
class TypeExtensionFilterConfig
|
|
20
|
-
extends FilterConfig
|
|
21
|
-
implements ITypeExtensionFilterConfig
|
|
22
|
-
{
|
|
23
|
-
readonly field: WebitelProtoDataField;
|
|
24
|
-
|
|
25
|
-
constructor(
|
|
26
|
-
{ name }: FilterConfigBaseParams,
|
|
27
|
-
{ field }: { field: WebitelProtoDataField },
|
|
28
|
-
) {
|
|
29
|
-
super({
|
|
30
|
-
name,
|
|
31
|
-
valueInputComponent: TypeExtensionFilterValueField,
|
|
32
|
-
valuePreviewComponent: TypeExtensionFilterValuePreview,
|
|
33
|
-
});
|
|
34
|
-
|
|
35
|
-
this.label = field.name;
|
|
36
|
-
this.field = field;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
class TypeExtensionWtSysTypeFieldFilterConfig
|
|
41
|
-
extends TypeExtensionFilterConfig
|
|
42
|
-
implements IWtSysTypeFilterConfig
|
|
43
|
-
{
|
|
44
|
-
searchRecords(
|
|
45
|
-
{ id: filterValue, ...rest },
|
|
46
|
-
// {
|
|
47
|
-
// filterValue,
|
|
48
|
-
// }: {
|
|
49
|
-
// filterValue: unknown;
|
|
50
|
-
// },
|
|
51
|
-
): Promise<{ items: unknown[]; next?: boolean }> {
|
|
52
|
-
return sysTypes.getLookup({
|
|
53
|
-
...rest,
|
|
54
|
-
...this.field.lookup,
|
|
55
|
-
id: filterValue,
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export const createTypeExtensionFilterConfig = (
|
|
61
|
-
name: CustomFilterOption,
|
|
62
|
-
{ field }: { field: WebitelProtoDataField },
|
|
63
|
-
) => {
|
|
64
|
-
switch (field.kind) {
|
|
65
|
-
case WtTypeExtensionFieldKind.Select:
|
|
66
|
-
return new TypeExtensionWtSysTypeFieldFilterConfig(name, { field });
|
|
67
|
-
case WtTypeExtensionFieldKind.Multiselect:
|
|
68
|
-
return new TypeExtensionWtSysTypeFieldFilterConfig(name, { field });
|
|
69
|
-
default:
|
|
70
|
-
return new TypeExtensionFilterConfig(name, { field });
|
|
71
|
-
}
|
|
5
|
+
export {
|
|
6
|
+
createTypeExtensionFilterConfig,
|
|
7
|
+
TypeExtensionFilterValueField,
|
|
8
|
+
TypeExtensionFilterValuePreview,
|
|
72
9
|
};
|
|
10
|
+
|
|
11
|
+
export type * from './filterConfig';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { contacts as ContactsAPI } from '@webitel/ui-sdk/api/clients/index';
|
|
2
|
+
|
|
3
|
+
import { WtSysTypeFilterConfig } from '../../classes/FilterConfig';
|
|
4
|
+
import { FilterOption } from '../../enums/FilterOption';
|
|
5
|
+
import CaseAssigneeFilterValueField from './case-assignee-filter-value-field.vue';
|
|
6
|
+
import CaseAssigneeFilterValuePreview from './case-assignee-filter-value-preview.vue';
|
|
7
|
+
|
|
8
|
+
class CaseAssigneeFilterConfig extends WtSysTypeFilterConfig {
|
|
9
|
+
readonly name = FilterOption.CaseAssignee;
|
|
10
|
+
valueInputComponent = CaseAssigneeFilterValueField;
|
|
11
|
+
valuePreviewComponent = CaseAssigneeFilterValuePreview;
|
|
12
|
+
|
|
13
|
+
searchRecords(
|
|
14
|
+
params: object,
|
|
15
|
+
{ filterValue } = {},
|
|
16
|
+
): Promise<{ items: unknown[]; next?: boolean }> {
|
|
17
|
+
const id =
|
|
18
|
+
params.id?.list /* general logic from dynamic-filter-preview.vue*/ ||
|
|
19
|
+
params.id /* wt-select options loadings */ ||
|
|
20
|
+
filterValue?.list; /* newest and coolest, but not implemented on all filters 🥲 */
|
|
21
|
+
|
|
22
|
+
return ContactsAPI.getLookup({
|
|
23
|
+
...params,
|
|
24
|
+
id,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type { CaseAssigneeFilterConfig };
|
|
30
|
+
|
|
31
|
+
export const createCaseAssigneeFilterConfig = (params) =>
|
|
32
|
+
new CaseAssigneeFilterConfig(params);
|
|
@@ -1,30 +1,11 @@
|
|
|
1
|
-
import { contacts as ContactsAPI } from '@webitel/ui-sdk/api/clients/index';
|
|
2
|
-
|
|
3
|
-
import { WtSysTypeFilterConfig } from '../../classes/FilterConfig';
|
|
4
|
-
import { FilterOption } from '../../enums/FilterOption';
|
|
5
1
|
import CaseAssigneeFilterValueField from './case-assignee-filter-value-field.vue';
|
|
6
2
|
import CaseAssigneeFilterValuePreview from './case-assignee-filter-value-preview.vue';
|
|
3
|
+
import { createCaseAssigneeFilterConfig } from './filterConfig';
|
|
7
4
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
searchRecords(
|
|
14
|
-
params: object,
|
|
15
|
-
{ filterValue } = {},
|
|
16
|
-
): Promise<{ items: unknown[]; next?: boolean }> {
|
|
17
|
-
const id =
|
|
18
|
-
params.id?.list /* general logic from dynamic-filter-preview.vue*/ ||
|
|
19
|
-
params.id /* wt-select options loadings */ ||
|
|
20
|
-
filterValue?.list; /* newest and coolest, but not implemented on all filters 🥲 */
|
|
21
|
-
|
|
22
|
-
return ContactsAPI.getLookup({
|
|
23
|
-
...params,
|
|
24
|
-
id,
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
}
|
|
5
|
+
export {
|
|
6
|
+
CaseAssigneeFilterValueField,
|
|
7
|
+
CaseAssigneeFilterValuePreview,
|
|
8
|
+
createCaseAssigneeFilterConfig,
|
|
9
|
+
};
|
|
28
10
|
|
|
29
|
-
export
|
|
30
|
-
new CaseAssigneeFilterConfig();
|
|
11
|
+
export type * from './filterConfig';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { WebitelProtoDataField } from 'webitel-sdk';
|
|
2
|
+
import { FilterConfig } from '../../classes/FilterConfig';
|
|
3
|
+
import { CustomFilterOption } from '../../enums/FilterOption';
|
|
4
|
+
import { BaseFilterConfig, FilterConfigBaseParams, IWtSysTypeFilterConfig } from '../../types/FilterConfig';
|
|
5
|
+
export interface ITypeExtensionFilterConfig extends BaseFilterConfig {
|
|
6
|
+
readonly field: WebitelProtoDataField;
|
|
7
|
+
}
|
|
8
|
+
declare class TypeExtensionFilterConfig extends FilterConfig implements ITypeExtensionFilterConfig {
|
|
9
|
+
readonly field: WebitelProtoDataField;
|
|
10
|
+
constructor({ name }: FilterConfigBaseParams, { field }: {
|
|
11
|
+
field: WebitelProtoDataField;
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
declare class TypeExtensionWtSysTypeFieldFilterConfig extends TypeExtensionFilterConfig implements IWtSysTypeFilterConfig {
|
|
15
|
+
searchRecords({ id: filterValue, ...rest }: {
|
|
16
|
+
[x: string]: any;
|
|
17
|
+
id: any;
|
|
18
|
+
}): Promise<{
|
|
19
|
+
items: unknown[];
|
|
20
|
+
next?: boolean;
|
|
21
|
+
}>;
|
|
22
|
+
}
|
|
23
|
+
export type { TypeExtensionFilterConfig, TypeExtensionWtSysTypeFieldFilterConfig, };
|
|
24
|
+
export declare const createTypeExtensionFilterConfig: (name: CustomFilterOption, { field }: {
|
|
25
|
+
field: WebitelProtoDataField;
|
|
26
|
+
}) => TypeExtensionFilterConfig;
|
|
@@ -1,17 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
export
|
|
6
|
-
readonly field: WebitelProtoDataField;
|
|
7
|
-
}
|
|
8
|
-
declare class TypeExtensionFilterConfig extends FilterConfig implements ITypeExtensionFilterConfig {
|
|
9
|
-
readonly field: WebitelProtoDataField;
|
|
10
|
-
constructor({ name }: FilterConfigBaseParams, { field }: {
|
|
11
|
-
field: WebitelProtoDataField;
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
export declare const createTypeExtensionFilterConfig: (name: CustomFilterOption, { field }: {
|
|
15
|
-
field: WebitelProtoDataField;
|
|
16
|
-
}) => TypeExtensionFilterConfig;
|
|
17
|
-
export {};
|
|
1
|
+
import { createTypeExtensionFilterConfig } from './filterConfig';
|
|
2
|
+
import TypeExtensionFilterValueField from './type-extension-filter-value-field.vue';
|
|
3
|
+
import TypeExtensionFilterValuePreview from './type-extension-filter-value-preview.vue';
|
|
4
|
+
export { createTypeExtensionFilterConfig, TypeExtensionFilterValueField, TypeExtensionFilterValuePreview, };
|
|
5
|
+
export type * from './filterConfig';
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { WtSysTypeFilterConfig } from '../../classes/FilterConfig';
|
|
2
|
+
declare class CaseAssigneeFilterConfig extends WtSysTypeFilterConfig {
|
|
3
|
+
readonly name: "assignee";
|
|
4
|
+
valueInputComponent: import("vue").DefineComponent<{
|
|
5
|
+
filterConfig: WtSysTypeFilterConfig;
|
|
6
|
+
} & {
|
|
7
|
+
modelValue?: {
|
|
8
|
+
list: string[];
|
|
9
|
+
unassigned: boolean;
|
|
10
|
+
};
|
|
11
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
"update:modelValue": (value: {
|
|
13
|
+
list: string[];
|
|
14
|
+
unassigned: boolean;
|
|
15
|
+
}) => any;
|
|
16
|
+
"update:invalid": (args_0: boolean) => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
18
|
+
filterConfig: WtSysTypeFilterConfig;
|
|
19
|
+
} & {
|
|
20
|
+
modelValue?: {
|
|
21
|
+
list: string[];
|
|
22
|
+
unassigned: boolean;
|
|
23
|
+
};
|
|
24
|
+
}> & Readonly<{
|
|
25
|
+
"onUpdate:modelValue"?: (value: {
|
|
26
|
+
list: string[];
|
|
27
|
+
unassigned: boolean;
|
|
28
|
+
}) => any;
|
|
29
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
30
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
valuePreviewComponent: import("vue").DefineComponent<{
|
|
32
|
+
value: import("webitel-sdk").WebitelContactsContact[];
|
|
33
|
+
filter: import("../../../..").IFilter;
|
|
34
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
35
|
+
value: import("webitel-sdk").WebitelContactsContact[];
|
|
36
|
+
filter: import("../../../..").IFilter;
|
|
37
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
38
|
+
searchRecords(params: object, { filterValue }?: {}): Promise<{
|
|
39
|
+
items: unknown[];
|
|
40
|
+
next?: boolean;
|
|
41
|
+
}>;
|
|
42
|
+
}
|
|
43
|
+
export type { CaseAssigneeFilterConfig };
|
|
44
|
+
export declare const createCaseAssigneeFilterConfig: (params: any) => CaseAssigneeFilterConfig;
|
|
@@ -1,44 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
} & {
|
|
7
|
-
modelValue?: {
|
|
8
|
-
list: string[];
|
|
9
|
-
unassigned: boolean;
|
|
10
|
-
};
|
|
11
|
-
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
-
"update:modelValue": (value: {
|
|
13
|
-
list: string[];
|
|
14
|
-
unassigned: boolean;
|
|
15
|
-
}) => any;
|
|
16
|
-
"update:invalid": (args_0: boolean) => any;
|
|
17
|
-
}, string, import("vue").PublicProps, Readonly<{
|
|
18
|
-
filterConfig: WtSysTypeFilterConfig;
|
|
19
|
-
} & {
|
|
20
|
-
modelValue?: {
|
|
21
|
-
list: string[];
|
|
22
|
-
unassigned: boolean;
|
|
23
|
-
};
|
|
24
|
-
}> & Readonly<{
|
|
25
|
-
"onUpdate:modelValue"?: (value: {
|
|
26
|
-
list: string[];
|
|
27
|
-
unassigned: boolean;
|
|
28
|
-
}) => any;
|
|
29
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
30
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
|
-
valuePreviewComponent: import("vue").DefineComponent<{
|
|
32
|
-
value: import("webitel-sdk").WebitelContactsContact[];
|
|
33
|
-
filter: import("../../../..").IFilter;
|
|
34
|
-
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
35
|
-
value: import("webitel-sdk").WebitelContactsContact[];
|
|
36
|
-
filter: import("../../../..").IFilter;
|
|
37
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
38
|
-
searchRecords(params: object, { filterValue }?: {}): Promise<{
|
|
39
|
-
items: unknown[];
|
|
40
|
-
next?: boolean;
|
|
41
|
-
}>;
|
|
42
|
-
}
|
|
43
|
-
export declare const createCaseAssigneeFilterConfig: () => CaseAssigneeFilterConfig;
|
|
44
|
-
export {};
|
|
1
|
+
import CaseAssigneeFilterValueField from './case-assignee-filter-value-field.vue';
|
|
2
|
+
import CaseAssigneeFilterValuePreview from './case-assignee-filter-value-preview.vue';
|
|
3
|
+
import { createCaseAssigneeFilterConfig } from './filterConfig';
|
|
4
|
+
export { CaseAssigneeFilterValueField, CaseAssigneeFilterValuePreview, createCaseAssigneeFilterConfig, };
|
|
5
|
+
export type * from './filterConfig';
|
|
@@ -80,47 +80,5 @@ export declare const FilterOptionToPreviewApiSearchMethodMap: Record<FilterOptio
|
|
|
80
80
|
items: any;
|
|
81
81
|
}>;
|
|
82
82
|
export declare const FilterOptionToFilterConfigCreatorMap: {
|
|
83
|
-
assignee: () =>
|
|
84
|
-
readonly name: "assignee";
|
|
85
|
-
valueInputComponent: import("vue").DefineComponent<{
|
|
86
|
-
filterConfig: import("..").WtSysTypeFilterConfig;
|
|
87
|
-
} & {
|
|
88
|
-
modelValue?: {
|
|
89
|
-
list: string[];
|
|
90
|
-
unassigned: boolean;
|
|
91
|
-
};
|
|
92
|
-
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
93
|
-
"update:modelValue": (value: {
|
|
94
|
-
list: string[];
|
|
95
|
-
unassigned: boolean;
|
|
96
|
-
}) => any;
|
|
97
|
-
"update:invalid": (args_0: boolean) => any;
|
|
98
|
-
}, string, import("vue").PublicProps, Readonly<{
|
|
99
|
-
filterConfig: import("..").WtSysTypeFilterConfig;
|
|
100
|
-
} & {
|
|
101
|
-
modelValue?: {
|
|
102
|
-
list: string[];
|
|
103
|
-
unassigned: boolean;
|
|
104
|
-
};
|
|
105
|
-
}> & Readonly<{
|
|
106
|
-
"onUpdate:modelValue"?: (value: {
|
|
107
|
-
list: string[];
|
|
108
|
-
unassigned: boolean;
|
|
109
|
-
}) => any;
|
|
110
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
111
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
112
|
-
valuePreviewComponent: import("vue").DefineComponent<{
|
|
113
|
-
value: import("webitel-sdk").WebitelContactsContact[];
|
|
114
|
-
filter: import("../../..").IFilter;
|
|
115
|
-
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
116
|
-
value: import("webitel-sdk").WebitelContactsContact[];
|
|
117
|
-
filter: import("../../..").IFilter;
|
|
118
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
119
|
-
searchRecords(params: object, { filterValue }?: {}): Promise<{
|
|
120
|
-
items: unknown[];
|
|
121
|
-
next?: boolean;
|
|
122
|
-
}>;
|
|
123
|
-
label?: ReturnType<import("vue-i18n").MessageResolver> | string;
|
|
124
|
-
notDeletable: boolean;
|
|
125
|
-
};
|
|
83
|
+
assignee: (params: any) => import("./case-assignee").CaseAssigneeFilterConfig;
|
|
126
84
|
};
|