@webitel/ui-datalist 1.1.80 → 1.1.82
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/filter-presets/api/PresetQuery.ts +18 -22
- package/src/modules/filters/components/table-filters-panel.vue +2 -2
- package/src/modules/filters/composables/useFilterConfigsToolkit.ts +3 -3
- package/src/modules/filters/modules/filterConfig/components/_custom/filterConfig.ts +6 -6
- package/src/modules/filters/modules/filterConfig/components/agent/config.js +1 -1
- package/src/modules/filters/modules/filterConfig/components/case-assignee/filterConfig.ts +1 -1
- package/src/modules/filters/modules/filterConfig/components/case-author/config.js +1 -1
- package/src/modules/filters/modules/filterConfig/components/case-close-reason-groups/config.js +4 -2
- package/src/modules/filters/modules/filterConfig/components/case-impacted/config.js +1 -1
- package/src/modules/filters/modules/filterConfig/components/case-priority/config.js +1 -1
- package/src/modules/filters/modules/filterConfig/components/case-reporter/config.js +1 -1
- package/src/modules/filters/modules/filterConfig/components/case-service/config.js +1 -2
- package/src/modules/filters/modules/filterConfig/components/case-sla/config.js +1 -1
- package/src/modules/filters/modules/filterConfig/components/case-sla-condition/config.js +1 -2
- package/src/modules/filters/modules/filterConfig/components/case-source/config.js +1 -1
- package/src/modules/filters/modules/filterConfig/components/case-status/config.js +4 -2
- package/src/modules/filters/modules/filterConfig/components/contact/config.js +1 -1
- package/src/modules/filters/modules/filterConfig/components/contact-group/index.ts +1 -1
- package/src/modules/filters/modules/filterConfig/components/contact-label/index.ts +1 -1
- package/src/modules/filters/modules/filterConfig/components/contact-owner/index.ts +1 -1
- package/src/modules/filters/modules/filterConfig/components/gateway/config.js +1 -1
- package/src/modules/filters/modules/filterConfig/components/queue/index.ts +1 -1
- package/src/modules/filters/modules/filterConfig/components/rated-by/config.js +1 -1
- package/src/modules/filters/modules/filterConfig/components/team/index.ts +1 -1
- package/src/modules/filters/modules/filterConfig/components/user/config.js +1 -1
- package/types/.tsbuildinfo +1 -1
- package/types/modules/filter-presets/api/PresetQuery.d.ts +1 -1
- package/types/modules/filters/components/table-filters-panel.vue.d.ts +2 -2
- package/types/modules/filters/composables/useFilterConfigsToolkit.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/_custom/filterConfig.d.ts +5 -5
- package/types/modules/filters/modules/filterConfig/components/agent/config.d.ts +7 -2
- package/types/modules/filters/modules/filterConfig/components/case-author/config.d.ts +4 -1
- package/types/modules/filters/modules/filterConfig/components/case-close-reason-groups/config.d.ts +16 -4
- package/types/modules/filters/modules/filterConfig/components/case-impacted/config.d.ts +7 -2
- package/types/modules/filters/modules/filterConfig/components/case-priority/config.d.ts +7 -2
- package/types/modules/filters/modules/filterConfig/components/case-reporter/config.d.ts +7 -2
- package/types/modules/filters/modules/filterConfig/components/case-service/config.d.ts +14 -4
- package/types/modules/filters/modules/filterConfig/components/case-sla/config.d.ts +7 -2
- package/types/modules/filters/modules/filterConfig/components/case-sla-condition/config.d.ts +16 -4
- package/types/modules/filters/modules/filterConfig/components/case-source/config.d.ts +7 -1
- package/types/modules/filters/modules/filterConfig/components/case-status/config.d.ts +17 -4
- package/types/modules/filters/modules/filterConfig/components/contact/config.d.ts +7 -2
- package/types/modules/filters/modules/filterConfig/components/gateway/config.d.ts +7 -2
- package/types/modules/filters/modules/filterConfig/components/rated-by/config.d.ts +4 -1
- package/types/modules/filters/modules/filterConfig/components/user/config.d.ts +4 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { EngineCreatePresetQueryRequest, EnginePresetQuery } from '@webitel/api-services/gen/models';
|
|
1
2
|
import type { Id } from '@webitel/ui-sdk/api/types/ApiModule';
|
|
2
|
-
import { type EngineCreatePresetQueryRequest, type EnginePresetQuery } from 'webitel-sdk';
|
|
3
3
|
type GetPresetListRequestConfig = {
|
|
4
4
|
transformers: {
|
|
5
5
|
useStarToSearch?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { DataField } from '@webitel/api-services/gen/models';
|
|
1
2
|
import { StoreGeneric } from 'pinia';
|
|
2
|
-
import { WebitelProtoDataField } from 'webitel-sdk';
|
|
3
3
|
import { FilterInitParams, IFilter } from '../classes/Filter';
|
|
4
4
|
import { IFiltersManager } from '../classes/FiltersManager';
|
|
5
5
|
import { AnyFilterConfig } from '../modules/filterConfig/classes/FilterConfig';
|
|
@@ -27,7 +27,7 @@ type Props = {
|
|
|
27
27
|
* Props.filterOptions, because this functionality can be expanded to many
|
|
28
28
|
* filter panels
|
|
29
29
|
*/
|
|
30
|
-
filterableExtensionFields?:
|
|
30
|
+
filterableExtensionFields?: DataField[];
|
|
31
31
|
/**
|
|
32
32
|
* @description
|
|
33
33
|
* QueryPreset "section" field
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { DataField } from '@webitel/api-services/gen/models';
|
|
1
2
|
import { type ComputedRef } from 'vue';
|
|
2
|
-
import type { WebitelProtoDataField } from 'webitel-sdk';
|
|
3
3
|
import type { FilterName, IFilter } from '../classes/Filter';
|
|
4
4
|
import type { IFiltersManager } from '../classes/FiltersManager';
|
|
5
5
|
import { type BaseFilterConfig } from '../modules/filterConfig/classes/FilterConfig';
|
|
@@ -31,7 +31,7 @@ export type FilterConfigToolkit = {
|
|
|
31
31
|
export type FilterConfigToolkitParams = {
|
|
32
32
|
filterOptions: (FilterOption | BaseFilterConfig)[];
|
|
33
33
|
filtersManager: IFiltersManager;
|
|
34
|
-
filterableExtensionFields?:
|
|
34
|
+
filterableExtensionFields?: DataField[];
|
|
35
35
|
staticMode?: boolean;
|
|
36
36
|
};
|
|
37
37
|
export declare const useFilterConfigsToolkit: ({ filterOptions, filtersManager, filterableExtensionFields, }: FilterConfigToolkitParams) => FilterConfigToolkit;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { DataField } from '@webitel/api-services/gen/models';
|
|
2
2
|
import type { BaseFilterConfig, FilterConfigBaseParams, FilterConfigSearchRequestParams, IWtSysTypeFilterConfig } from '../../classes/FilterConfig';
|
|
3
3
|
import { FilterConfig } from '../../classes/FilterConfig';
|
|
4
4
|
export interface ITypeExtensionFilterConfig extends BaseFilterConfig {
|
|
5
|
-
readonly field:
|
|
5
|
+
readonly field: DataField;
|
|
6
6
|
searchRecords?: IWtSysTypeFilterConfig['searchRecords'];
|
|
7
7
|
}
|
|
8
8
|
declare class TypeExtensionFilterConfig extends FilterConfig implements ITypeExtensionFilterConfig {
|
|
9
|
-
readonly field:
|
|
9
|
+
readonly field: DataField;
|
|
10
10
|
constructor({ name }: FilterConfigBaseParams, { field, }: {
|
|
11
|
-
field:
|
|
11
|
+
field: DataField;
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
14
|
declare class TypeExtensionWtSysTypeFieldFilterConfig extends TypeExtensionFilterConfig implements IWtSysTypeFilterConfig {
|
|
@@ -19,5 +19,5 @@ declare class TypeExtensionWtSysTypeFieldFilterConfig extends TypeExtensionFilte
|
|
|
19
19
|
}
|
|
20
20
|
export type { TypeExtensionFilterConfig, TypeExtensionWtSysTypeFieldFilterConfig, };
|
|
21
21
|
export declare const createTypeExtensionFilterConfig: (params: FilterConfigBaseParams, { field, }: {
|
|
22
|
-
field:
|
|
22
|
+
field: DataField;
|
|
23
23
|
}) => TypeExtensionFilterConfig;
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
export const searchMethod:
|
|
2
|
-
|
|
1
|
+
export const searchMethod: (params: Parameters<(params: import("@webitel/api-services/api/clients/_shared/types").ApiParams) => Promise<{
|
|
2
|
+
items: any;
|
|
3
|
+
next: any;
|
|
4
|
+
}>>[0]) => Promise<{
|
|
5
|
+
items: any;
|
|
6
|
+
next: any;
|
|
7
|
+
}>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
export const searchMethod: (params:
|
|
1
|
+
export const searchMethod: (params: Parameters<(params: import("@webitel/api-services/api/clients/_shared/types").ApiParams) => Promise<{
|
|
2
|
+
items: any;
|
|
3
|
+
next: any;
|
|
4
|
+
}>>[0]) => Promise<{
|
|
2
5
|
items: any;
|
|
3
6
|
next: any;
|
|
4
7
|
}>;
|
package/types/modules/filters/modules/filterConfig/components/case-close-reason-groups/config.d.ts
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
|
-
export const caseCloseReasonsGroupsSearchMethod:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export const caseCloseReasonsGroupsSearchMethod: (params: Parameters<(params: import("@webitel/api-services/api/clients/_shared/types").ApiParams) => Promise<{
|
|
2
|
+
items: any;
|
|
3
|
+
next: any;
|
|
4
|
+
}>>[0]) => Promise<{
|
|
5
|
+
items: any;
|
|
6
|
+
next: any;
|
|
7
|
+
}>;
|
|
8
|
+
export const caseCloseReasonsSearchMethod: (params: Parameters<({ parentId, ...rest }: {
|
|
9
|
+
parentId: import("@webitel/api-services/api/clients/_shared/types").ApiId;
|
|
10
|
+
} & import("@webitel/api-services/api/clients/_shared/types").ApiParams) => Promise<{
|
|
11
|
+
items: any;
|
|
12
|
+
next: any;
|
|
13
|
+
}>>[0]) => Promise<{
|
|
14
|
+
items: any;
|
|
15
|
+
next: any;
|
|
16
|
+
}>;
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
export const searchMethod:
|
|
2
|
-
|
|
1
|
+
export const searchMethod: (params: Parameters<(params: import("@webitel/api-services/api/clients/_shared/types").ApiParams) => Promise<{
|
|
2
|
+
items: any;
|
|
3
|
+
next: any;
|
|
4
|
+
}>>[0]) => Promise<{
|
|
5
|
+
items: any;
|
|
6
|
+
next: any;
|
|
7
|
+
}>;
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
export const searchMethod:
|
|
2
|
-
|
|
1
|
+
export const searchMethod: (params: Parameters<(params: import("@webitel/api-services/api/clients/_shared/types").ApiParams) => Promise<{
|
|
2
|
+
items: any;
|
|
3
|
+
next: any;
|
|
4
|
+
}>>[0]) => Promise<{
|
|
5
|
+
items: any;
|
|
6
|
+
next: any;
|
|
7
|
+
}>;
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
export const searchMethod:
|
|
2
|
-
|
|
1
|
+
export const searchMethod: (params: Parameters<(params: import("@webitel/api-services/api/clients/_shared/types").ApiParams) => Promise<{
|
|
2
|
+
items: any;
|
|
3
|
+
next: any;
|
|
4
|
+
}>>[0]) => Promise<{
|
|
5
|
+
items: any;
|
|
6
|
+
next: any;
|
|
7
|
+
}>;
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
export const searchMethod:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export const searchMethod: (params: import("@webitel/api-services/api/clients/_shared/types").ApiParams) => Promise<{
|
|
2
|
+
items: any;
|
|
3
|
+
next: any;
|
|
4
|
+
}>;
|
|
5
|
+
export const servicesSearchMethod: (params: Parameters<({ parentId, rootId, ...rest }: {
|
|
6
|
+
parentId?: import("@webitel/api-services/api/clients/_shared/types").ApiId;
|
|
7
|
+
rootId: import("@webitel/api-services/api/clients/_shared/types").ApiId;
|
|
8
|
+
} & import("@webitel/api-services/api/clients/_shared/types").ApiParams) => Promise<{
|
|
9
|
+
items: any;
|
|
10
|
+
next: any;
|
|
11
|
+
}>>[0]) => Promise<{
|
|
12
|
+
items: any;
|
|
13
|
+
next: any;
|
|
14
|
+
}>;
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
export const searchMethod:
|
|
2
|
-
|
|
1
|
+
export const searchMethod: (params: Parameters<(params: import("@webitel/api-services/api/clients/_shared/types").ApiParams) => Promise<{
|
|
2
|
+
items: any;
|
|
3
|
+
next: any;
|
|
4
|
+
}>>[0]) => Promise<{
|
|
5
|
+
items: any;
|
|
6
|
+
next: any;
|
|
7
|
+
}>;
|
package/types/modules/filters/modules/filterConfig/components/case-sla-condition/config.d.ts
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
|
-
export const slasConditionsSearchMethod:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export const slasConditionsSearchMethod: (params: Parameters<({ parentId, ...rest }: {
|
|
2
|
+
parentId: import("@webitel/api-services/api/clients/_shared/types").ApiId;
|
|
3
|
+
} & import("@webitel/api-services/api/clients/_shared/types").ApiParams) => Promise<{
|
|
4
|
+
items: any;
|
|
5
|
+
next: any;
|
|
6
|
+
}>>[0]) => Promise<{
|
|
7
|
+
items: any;
|
|
8
|
+
next: any;
|
|
9
|
+
}>;
|
|
10
|
+
export const slasSearchMethod: (params: Parameters<(params: import("@webitel/api-services/api/clients/_shared/types").ApiParams) => Promise<{
|
|
11
|
+
items: any;
|
|
12
|
+
next: any;
|
|
13
|
+
}>>[0]) => Promise<{
|
|
14
|
+
items: any;
|
|
15
|
+
next: any;
|
|
16
|
+
}>;
|
|
@@ -1,4 +1,17 @@
|
|
|
1
|
-
export const caseStatusesSearchMethod:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export const caseStatusesSearchMethod: (params: Parameters<(params: import("@webitel/api-services/api/clients/_shared/types").ApiParams) => Promise<{
|
|
2
|
+
items: any;
|
|
3
|
+
next: any;
|
|
4
|
+
}>>[0]) => Promise<{
|
|
5
|
+
items: any;
|
|
6
|
+
next: any;
|
|
7
|
+
}>;
|
|
8
|
+
export const caseStatusConditionsSearchMethod: (params: Parameters<({ statusId, parentId, ...rest }: {
|
|
9
|
+
statusId?: import("@webitel/api-services/api/clients/_shared/types").ApiId;
|
|
10
|
+
parentId?: import("@webitel/api-services/api/clients/_shared/types").ApiId;
|
|
11
|
+
} & import("@webitel/api-services/api/clients/_shared/types").ApiParams) => Promise<{
|
|
12
|
+
items: any;
|
|
13
|
+
next: any;
|
|
14
|
+
}>>[0]) => Promise<{
|
|
15
|
+
items: any;
|
|
16
|
+
next: any;
|
|
17
|
+
}>;
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
export const searchMethod:
|
|
2
|
-
|
|
1
|
+
export const searchMethod: (params: Parameters<(params: import("@webitel/api-services/api/clients/_shared/types").ApiParams) => Promise<{
|
|
2
|
+
items: any;
|
|
3
|
+
next: any;
|
|
4
|
+
}>>[0]) => Promise<{
|
|
5
|
+
items: any;
|
|
6
|
+
next: any;
|
|
7
|
+
}>;
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
export const searchMethod:
|
|
2
|
-
|
|
1
|
+
export const searchMethod: (params: Parameters<(params: import("@webitel/api-services/api/clients/_shared/types").ApiParams) => Promise<{
|
|
2
|
+
items: any;
|
|
3
|
+
next: any;
|
|
4
|
+
}>>[0]) => Promise<{
|
|
5
|
+
items: any;
|
|
6
|
+
next: any;
|
|
7
|
+
}>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
export const searchMethod: (params:
|
|
1
|
+
export const searchMethod: (params: Parameters<(params: import("@webitel/api-services/api/clients/_shared/types").ApiParams) => Promise<{
|
|
2
|
+
items: any;
|
|
3
|
+
next: any;
|
|
4
|
+
}>>[0]) => Promise<{
|
|
2
5
|
items: any;
|
|
3
6
|
next: any;
|
|
4
7
|
}>;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
export const searchMethod: (params:
|
|
1
|
+
export const searchMethod: (params: Parameters<(params: import("@webitel/api-services/api/clients/_shared/types").ApiParams) => Promise<{
|
|
2
|
+
items: any;
|
|
3
|
+
next: any;
|
|
4
|
+
}>>[0]) => Promise<{
|
|
2
5
|
items: any;
|
|
3
6
|
next: any;
|
|
4
7
|
}>;
|