@webitel/ui-datalist 1.1.45 → 1.1.47
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/_shared/createDatalistStore.ts +5 -1
- package/src/modules/card/composables/useCardComponent.ts +0 -1
- package/src/modules/card/composables/useCardValidation.ts +1 -1
- package/src/modules/card/stores/createCardStore.ts +7 -1
- package/src/modules/filter-presets/api/PresetQuery.ts +1 -1
- package/src/modules/filter-presets/components/_shared/input-fields/preset-name-field.vue +1 -2
- package/src/modules/filter-presets/components/apply-preset/apply-preset-action.vue +7 -6
- package/src/modules/filter-presets/components/save-preset/save-preset-action.vue +5 -4
- package/src/modules/filter-presets/components/save-preset/save-preset-popup.vue +0 -4
- package/src/modules/filter-presets/stores/createFilterPresetsStore.ts +7 -1
- package/src/modules/filter-presets/stores/headers/headers.ts +2 -2
- package/src/modules/filters/classes/FiltersManager.ts +5 -2
- package/src/modules/filters/components/config/dynamic-view/dynamic-filter-config-form.vue +21 -2
- package/src/modules/filters/components/config/dynamic-view/dynamic-filter-config-view.vue +1 -1
- package/src/modules/filters/components/dynamic-filter-add-action.vue +4 -2
- package/src/modules/filters/components/preview/dynamic-filter-preview.vue +11 -8
- package/src/modules/filters/components/search-bar/dynamic-filter-search.vue +3 -1
- package/src/modules/filters/components/table-filters-panel.vue +2 -2
- package/src/modules/filters/composables/useFilterConfigsToolkit.ts +7 -2
- package/src/modules/filters/createTableFiltersStore.ts +3 -2
- package/src/modules/filters/modules/filterConfig/classes/FilterConfig.ts +39 -8
- package/src/modules/filters/modules/filterConfig/classes/createFilterConfig.ts +1 -1
- package/src/modules/filters/modules/filterConfig/components/_custom/filterConfig.ts +7 -8
- package/src/modules/filters/modules/filterConfig/components/_custom/type-extension-filter-value-field.vue +27 -10
- package/src/modules/filters/modules/filterConfig/components/_custom/type-extension-filter-value-preview.vue +21 -5
- package/src/modules/filters/modules/filterConfig/components/_shared/date-time-filter/date-time-options/date-time-options-filter-value-field.vue +59 -3
- package/src/modules/filters/modules/filterConfig/components/_shared/date-time-filter/date-time-options/date-time-options-filter-value-preview.vue +13 -7
- package/src/modules/filters/modules/filterConfig/components/_shared/durations/duration-filter-value-field.vue +16 -3
- package/src/modules/filters/modules/filterConfig/components/_shared/lookup-filter-preview/lookup-filter-value-preview.vue +14 -6
- package/src/modules/filters/modules/filterConfig/components/case-actual-reaction-time/case-actual-reaction-time-filter-value-preview.vue +4 -1
- package/src/modules/filters/modules/filterConfig/components/case-actual-resolution-time/case-actual-resolution-time-filter-value-preview.vue +4 -1
- package/src/modules/filters/modules/filterConfig/components/case-assignee/case-assignee-filter-value-field.vue +16 -3
- package/src/modules/filters/modules/filterConfig/components/case-assignee/case-assignee-filter-value-preview.vue +7 -3
- package/src/modules/filters/modules/filterConfig/components/case-assignee/filterConfig.ts +9 -5
- package/src/modules/filters/modules/filterConfig/components/case-close-reason-groups/case-close-reason-groups-filter-value-field.vue +16 -3
- package/src/modules/filters/modules/filterConfig/components/case-close-reason-groups/case-close-reason-groups-filter-value-preview.vue +2 -2
- package/src/modules/filters/modules/filterConfig/components/case-priority/case-priority-filter-value-preview.vue +2 -2
- package/src/modules/filters/modules/filterConfig/components/case-reaction-time/case-reaction-time-filter-value-preview.vue +4 -1
- package/src/modules/filters/modules/filterConfig/components/case-resolution-time/case-resolution-time-filter-value-preview.vue +4 -1
- package/src/modules/filters/modules/filterConfig/components/case-service/case-service-filter-value-field.vue +1 -1
- package/src/modules/filters/modules/filterConfig/components/case-service/case-service-filter-value-preview.vue +2 -2
- package/src/modules/filters/modules/filterConfig/components/case-sla/case-sla-filter-value-preview.vue +2 -2
- package/src/modules/filters/modules/filterConfig/components/case-sla-condition/case-sla-condition-filter-value-field.vue +16 -3
- package/src/modules/filters/modules/filterConfig/components/case-sla-condition/case-sla-condition-filter-value-preview.vue +2 -2
- package/src/modules/filters/modules/filterConfig/components/case-source/case-source-filter-value-preview.vue +2 -2
- package/src/modules/filters/modules/filterConfig/components/case-status/case-status-filter-value-field.vue +16 -3
- package/src/modules/filters/modules/filterConfig/components/case-status/case-status-filter-value-preview.vue +2 -2
- package/src/modules/filters/modules/filterConfig/components/contact-group/contact-group-filter-value-field.vue +19 -6
- package/src/modules/filters/modules/filterConfig/components/contact-group/contact-group-filter-value-preview.vue +7 -3
- package/src/modules/filters/modules/filterConfig/components/contact-group/index.ts +6 -3
- package/src/modules/filters/modules/filterConfig/components/contact-label/index.ts +14 -5
- package/src/modules/filters/modules/filterConfig/components/has-attachment/has-attachment-filter-value-field.vue +1 -1
- package/src/modules/filters/modules/filterConfig/components/index.ts +58 -57
- package/src/modules/filters/modules/filterConfig/components/rating/rating-from-to-filter-value-field.vue +16 -3
- package/src/modules/filters/modules/filterConfig/components/rating/rating-from-to-filter-value-preview.vue +4 -1
- package/src/modules/filters/modules/filterConfig/components/score/score-from-to-filter-value-field.vue +16 -3
- package/src/modules/filters/modules/filterConfig/components/score/score-from-to-filter-value-preview.vue +4 -1
- package/src/modules/filters/modules/filterConfig/components/tag/tag-filter-value-preview.vue +1 -1
- package/src/modules/filters/modules/filterConfig/components/utilization-progress/utilization-progress-filter-value-preview.vue +3 -1
- package/src/modules/filters/modules/filterConfig/composables/useQueueTypeOptions.ts +2 -2
- package/src/modules/filters/modules/filterConfig/types/DynamicFilterPreviewComponent.ts +2 -2
- package/src/modules/headers/createTableHeadersStore.ts +9 -6
- package/src/modules/pagination/createTablePaginationStore.ts +2 -1
- package/src/modules/table/createTableStore.store.ts +3 -12
- package/src/modules/types/createDatalistStore.types.ts +1 -1
- package/src/modules/types/tableStore.types.ts +12 -2
- package/types/modules/card/composables/useCardComponent.d.ts +3 -3
- package/types/modules/card/composables/useCardValidation.d.ts +1 -1
- package/types/modules/card/composables/useNestedCardComponent.d.ts +3 -3
- package/types/modules/card/stores/createCardStore.d.ts +5 -1
- package/types/modules/filter-presets/api/PresetQuery.d.ts +2 -2
- package/types/modules/filter-presets/components/_shared/input-fields/preset-name-field.vue.d.ts +1 -2
- package/types/modules/filter-presets/components/apply-preset/apply-preset-action.vue.d.ts +2 -2
- package/types/modules/filter-presets/stores/createFilterPresetsStore.d.ts +90 -16
- package/types/modules/filter-presets/stores/headers/headers.d.ts +2 -2
- package/types/modules/filters/classes/FiltersManager.d.ts +7 -2
- package/types/modules/filters/components/preview/dynamic-filter-preview.vue.d.ts +2 -3
- package/types/modules/filters/components/table-filters-panel.vue.d.ts +2 -2
- package/types/modules/filters/composables/useFilterConfigsToolkit.d.ts +6 -2
- package/types/modules/filters/createTableFiltersStore.d.ts +17 -6
- package/types/modules/filters/modules/filterConfig/classes/FilterConfig.d.ts +33 -8
- package/types/modules/filters/modules/filterConfig/classes/createFilterConfig.d.ts +1 -1
- package/types/modules/filters/modules/filterConfig/components/_custom/filterConfig.d.ts +3 -3
- package/types/modules/filters/modules/filterConfig/components/_shared/date-time-filter/date-time-options/date-time-options-filter-value-field.vue.d.ts +2 -0
- package/types/modules/filters/modules/filterConfig/components/_shared/lookup-filter-preview/lookup-filter-value-preview.vue.d.ts +1 -4
- package/types/modules/filters/modules/filterConfig/components/case-actual-reaction-time/case-actual-reaction-time-filter-value-preview.vue.d.ts +4 -1
- package/types/modules/filters/modules/filterConfig/components/case-actual-resolution-time/case-actual-resolution-time-filter-value-preview.vue.d.ts +4 -1
- package/types/modules/filters/modules/filterConfig/components/case-assignee/case-assignee-filter-value-preview.vue.d.ts +4 -2
- package/types/modules/filters/modules/filterConfig/components/case-assignee/filterConfig.d.ts +10 -5
- package/types/modules/filters/modules/filterConfig/components/case-close-reason-groups/case-close-reason-groups-filter-value-preview.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/case-priority/case-priority-filter-value-preview.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/case-reaction-time/case-reaction-time-filter-value-preview.vue.d.ts +4 -1
- package/types/modules/filters/modules/filterConfig/components/case-resolution-time/case-resolution-time-filter-value-preview.vue.d.ts +4 -1
- package/types/modules/filters/modules/filterConfig/components/case-service/case-service-filter-value-preview.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/case-sla/case-sla-filter-value-preview.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/case-sla-condition/case-sla-condition-filter-value-preview.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/case-source/case-source-filter-value-preview.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/case-status/case-status-filter-value-preview.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/contact-group/contact-group-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/contact-group/contact-group-filter-value-preview.vue.d.ts +4 -2
- package/types/modules/filters/modules/filterConfig/components/contact-group/index.d.ts +19 -14
- package/types/modules/filters/modules/filterConfig/components/contact-label/index.d.ts +4 -2
- package/types/modules/filters/modules/filterConfig/components/has-attachment/has-attachment-filter-value-field.vue.d.ts +3 -3
- package/types/modules/filters/modules/filterConfig/components/index.d.ts +50 -39
- package/types/modules/filters/modules/filterConfig/components/rating/rating-from-to-filter-value-preview.vue.d.ts +4 -1
- package/types/modules/filters/modules/filterConfig/components/score/score-from-to-filter-value-preview.vue.d.ts +4 -1
- package/types/modules/filters/modules/filterConfig/components/utilization-progress/utilization-progress-filter-value-preview.vue.d.ts +3 -1
- package/types/modules/filters/modules/filterConfig/types/DynamicFilterPreviewComponent.d.ts +2 -2
- package/types/modules/headers/createTableHeadersStore.d.ts +66 -12
- package/types/modules/pagination/createTablePaginationStore.d.ts +2 -1
- package/types/modules/table/createTableStore.store.d.ts +93 -24
- package/types/modules/types/createDatalistStore.types.d.ts +1 -1
- package/types/modules/types/tableStore.types.d.ts +11 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { WebitelCasesCloseReasonGroup } from 'webitel-sdk';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
-
value:
|
|
3
|
+
value: WebitelCasesCloseReasonGroup[];
|
|
4
4
|
};
|
|
5
5
|
declare const __VLS_export: 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
6
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { WebitelCasesPriority } from 'webitel-sdk';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
-
value:
|
|
3
|
+
value: WebitelCasesPriority[];
|
|
4
4
|
};
|
|
5
5
|
declare const __VLS_export: 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
6
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
-
value:
|
|
2
|
+
value: {
|
|
3
|
+
from: number | null;
|
|
4
|
+
to: number | null;
|
|
5
|
+
};
|
|
3
6
|
};
|
|
4
7
|
declare const __VLS_export: 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
8
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
-
value:
|
|
2
|
+
value: {
|
|
3
|
+
from: number | null;
|
|
4
|
+
to: number | null;
|
|
5
|
+
};
|
|
3
6
|
};
|
|
4
7
|
declare const __VLS_export: 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
8
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { WebitelCasesService } from 'webitel-sdk';
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
/**
|
|
4
4
|
* would be great to use generated type for this
|
|
5
5
|
* */
|
|
6
|
-
value:
|
|
6
|
+
value: WebitelCasesService[];
|
|
7
7
|
};
|
|
8
8
|
declare const __VLS_export: 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>;
|
|
9
9
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { WebitelCasesSLA } from 'webitel-sdk';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
-
value:
|
|
3
|
+
value: WebitelCasesSLA[];
|
|
4
4
|
};
|
|
5
5
|
declare const __VLS_export: 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
6
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { WebitelCasesSLACondition } from 'webitel-sdk';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
-
value:
|
|
3
|
+
value: WebitelCasesSLACondition[];
|
|
4
4
|
};
|
|
5
5
|
declare const __VLS_export: 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
6
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { WebitelCasesSource } from 'webitel-sdk';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
-
value:
|
|
3
|
+
value: WebitelCasesSource[];
|
|
4
4
|
};
|
|
5
5
|
declare const __VLS_export: 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
6
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { WebitelCasesStatus } from 'webitel-sdk';
|
|
2
2
|
type __VLS_Props = {
|
|
3
|
-
value:
|
|
3
|
+
value: WebitelCasesStatus[];
|
|
4
4
|
};
|
|
5
5
|
declare const __VLS_export: 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
6
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { WebitelContactsContact } from 'webitel-sdk';
|
|
2
1
|
import { IFilter } from '../../../../classes/Filter';
|
|
3
2
|
type __VLS_Props = {
|
|
4
|
-
value:
|
|
3
|
+
value: Array<{
|
|
4
|
+
id?: string | number;
|
|
5
|
+
name?: string;
|
|
6
|
+
}>;
|
|
5
7
|
filter: IFilter;
|
|
6
8
|
};
|
|
7
9
|
declare const __VLS_export: 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>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { type IWtSysTypeFilterConfig, WtSysTypeFilterConfig } from '../../classes/FilterConfig';
|
|
1
|
+
import { type FilterConfigBaseParams, type FilterConfigSearchFilterContext, type FilterConfigSearchRequestParams, type IWtSysTypeFilterConfig, WtSysTypeFilterConfig } from '../../classes/FilterConfig';
|
|
3
2
|
declare class ContactGroupFilterConfig extends WtSysTypeFilterConfig {
|
|
4
3
|
readonly name: "contactGroup";
|
|
5
4
|
valueInputComponent: import("vue").DefineComponent<{
|
|
@@ -8,13 +7,13 @@ declare class ContactGroupFilterConfig extends WtSysTypeFilterConfig {
|
|
|
8
7
|
hideLabel?: boolean;
|
|
9
8
|
} & {
|
|
10
9
|
modelValue?: {
|
|
11
|
-
list
|
|
12
|
-
unassigned
|
|
10
|
+
list?: string[];
|
|
11
|
+
unassigned?: boolean | null;
|
|
13
12
|
};
|
|
14
13
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
14
|
"update:modelValue": (value: {
|
|
16
|
-
list
|
|
17
|
-
unassigned
|
|
15
|
+
list?: string[];
|
|
16
|
+
unassigned?: boolean | null;
|
|
18
17
|
}) => any;
|
|
19
18
|
"update:invalid": (args_0: boolean) => any;
|
|
20
19
|
}, string, import("vue").PublicProps, Readonly<{
|
|
@@ -23,28 +22,34 @@ declare class ContactGroupFilterConfig extends WtSysTypeFilterConfig {
|
|
|
23
22
|
hideLabel?: boolean;
|
|
24
23
|
} & {
|
|
25
24
|
modelValue?: {
|
|
26
|
-
list
|
|
27
|
-
unassigned
|
|
25
|
+
list?: string[];
|
|
26
|
+
unassigned?: boolean | null;
|
|
28
27
|
};
|
|
29
28
|
}> & Readonly<{
|
|
30
29
|
"onUpdate:modelValue"?: (value: {
|
|
31
|
-
list
|
|
32
|
-
unassigned
|
|
30
|
+
list?: string[];
|
|
31
|
+
unassigned?: boolean | null;
|
|
33
32
|
}) => any;
|
|
34
33
|
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
35
34
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
36
35
|
valuePreviewComponent: import("vue").DefineComponent<{
|
|
37
|
-
value:
|
|
36
|
+
value: Array<{
|
|
37
|
+
id?: string | number;
|
|
38
|
+
name?: string;
|
|
39
|
+
}>;
|
|
38
40
|
filter: import("../../../..").IFilter;
|
|
39
41
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
40
|
-
value:
|
|
42
|
+
value: Array<{
|
|
43
|
+
id?: string | number;
|
|
44
|
+
name?: string;
|
|
45
|
+
}>;
|
|
41
46
|
filter: import("../../../..").IFilter;
|
|
42
47
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
43
48
|
hideUnassigned?: boolean;
|
|
44
|
-
constructor(params?: {
|
|
49
|
+
constructor(params?: FilterConfigBaseParams & {
|
|
45
50
|
hideUnassigned?: boolean;
|
|
46
51
|
});
|
|
47
|
-
searchRecords(params:
|
|
52
|
+
searchRecords(params: FilterConfigSearchRequestParams, { filterValue }?: FilterConfigSearchFilterContext): Promise<{
|
|
48
53
|
items: unknown[];
|
|
49
54
|
next?: boolean;
|
|
50
55
|
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WtSysTypeFilterConfig } from '../../classes/FilterConfig';
|
|
1
|
+
import { type FilterConfigSearchFilterContext, type FilterConfigSearchRequestParams, WtSysTypeFilterConfig } from '../../classes/FilterConfig';
|
|
2
2
|
declare class ContactLabelFilterConfig extends WtSysTypeFilterConfig {
|
|
3
3
|
readonly name: "contactLabel";
|
|
4
4
|
valueInputComponent: import("vue").DefineComponent<{
|
|
@@ -25,7 +25,9 @@ declare class ContactLabelFilterConfig extends WtSysTypeFilterConfig {
|
|
|
25
25
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
26
26
|
value: Record<string, unknown>[];
|
|
27
27
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
|
-
searchRecords(params:
|
|
28
|
+
searchRecords(params: FilterConfigSearchRequestParams, { filterValue, }?: Omit<FilterConfigSearchFilterContext, 'filterValue'> & {
|
|
29
|
+
filterValue?: unknown[];
|
|
30
|
+
}): Promise<{
|
|
29
31
|
items: unknown[];
|
|
30
32
|
next?: boolean;
|
|
31
33
|
}>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
type __VLS_ModelProps = {
|
|
2
|
-
modelValue?:
|
|
2
|
+
modelValue?: boolean | null;
|
|
3
3
|
};
|
|
4
4
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
-
"update:modelValue": (value:
|
|
5
|
+
"update:modelValue": (value: boolean) => any;
|
|
6
6
|
"update:invalid": (args_0: boolean) => any;
|
|
7
7
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
8
|
-
"onUpdate:modelValue"?: (value:
|
|
8
|
+
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
9
9
|
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
10
10
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { Component } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import type { FilterConfigSearchMethodParams } from '../classes/FilterConfig';
|
|
3
|
+
import { FilterOption } from '../enums/FilterOption';
|
|
3
4
|
import DateTimeOptionsFilterValueField from './_shared/date-time-filter/date-time-options/date-time-options-filter-value-field.vue';
|
|
4
5
|
import AgentFilter from './agent/agent-filter-value-field.vue';
|
|
5
6
|
import AgentFilterPreview from './agent/agent-filter-value-preview.vue';
|
|
7
|
+
import { searchMethod as agentSearchMethod } from './agent/config';
|
|
6
8
|
import AgentStatusFilter from './agent-status/agent-status-filter-value-field.vue';
|
|
7
9
|
import AgentStatusFilterPreview from './agent-status/agent-status-filter-value-preview.vue';
|
|
8
10
|
import AmdResultFilter from './amd-result/amd-result-filter-value-field.vue';
|
|
@@ -96,11 +98,12 @@ import UtilizationProgressFilterPreview from './utilization-progress/utilization
|
|
|
96
98
|
import VariableFilter from './variable/variable-filter-value-field.vue';
|
|
97
99
|
import VariableFilterPreview from './variable/variable-filter-value-preview.vue';
|
|
98
100
|
export { AgentFilter, AgentFilterPreview, AgentStatusFilter, AgentStatusFilterPreview, AmdResultFilter, AmdResultFilterPreview, AuditorFilter, AuditorFilterPreview, 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, QueuePeriodFilter, QueuePeriodFilterPreview, QueueTypeFilter, QueueTypeFilterPreview, RatedByFilter, RatedByFilterPreview, RatingFromToFilter, RatingFromToFilterPreview, RegionFilter, RegionFilterPreview, ScoreFilter, ScoreFilterPreview, SkillFilter, SkillFilterPreview, SupervisorFilter, SupervisorFilterPreview, TagFilter, TagFilterPreview, TalkDurationFilter, TalkDurationFilterPreview, TeamFilter, TeamFilterPreview, TotalDurationFilter, TotalDurationFilterPreview, UserFilter, UserFilterPreview, UtilizationProgressFilter, UtilizationProgressFilterPreview, VariableFilter, VariableFilterPreview, };
|
|
99
|
-
export declare const FilterOptionToValueComponentMap: Record<
|
|
100
|
-
export declare const FilterOptionToPreviewComponentMap: Record<
|
|
101
|
-
export declare const FilterOptionToPreviewApiSearchMethodMap: Record<
|
|
102
|
-
items:
|
|
103
|
-
|
|
101
|
+
export declare const FilterOptionToValueComponentMap: Record<FilterOption, Component>;
|
|
102
|
+
export declare const FilterOptionToPreviewComponentMap: Record<FilterOption, Component>;
|
|
103
|
+
export declare const FilterOptionToPreviewApiSearchMethodMap: Record<FilterOption, (...params: FilterConfigSearchMethodParams) => Promise<{
|
|
104
|
+
items: unknown[];
|
|
105
|
+
next?: boolean;
|
|
106
|
+
}>>;
|
|
104
107
|
export declare const FilterOptionToFilterConfigCreatorMap: {
|
|
105
108
|
assignee: (params: any) => import("./case-assignee").CaseAssigneeFilterConfig;
|
|
106
109
|
contactLabel: (params: any) => {
|
|
@@ -129,11 +132,13 @@ export declare const FilterOptionToFilterConfigCreatorMap: {
|
|
|
129
132
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
130
133
|
value: Record<string, unknown>[];
|
|
131
134
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
132
|
-
searchRecords(params:
|
|
135
|
+
searchRecords(params: import("..").FilterConfigSearchRequestParams, { filterValue, }?: Omit<import("..").FilterConfigSearchFilterContext, "filterValue"> & {
|
|
136
|
+
filterValue?: unknown[];
|
|
137
|
+
}): Promise<{
|
|
133
138
|
items: unknown[];
|
|
134
139
|
next?: boolean;
|
|
135
140
|
}>;
|
|
136
|
-
label?: ReturnType<
|
|
141
|
+
label?: ReturnType<agentSearchMethod> | string;
|
|
137
142
|
staticView?: boolean;
|
|
138
143
|
notDeletable: boolean;
|
|
139
144
|
showFilterName: boolean;
|
|
@@ -164,7 +169,7 @@ export declare const FilterOptionToFilterConfigCreatorMap: {
|
|
|
164
169
|
items: unknown[];
|
|
165
170
|
next?: boolean;
|
|
166
171
|
}>;
|
|
167
|
-
label?: ReturnType<
|
|
172
|
+
label?: ReturnType<agentSearchMethod> | string;
|
|
168
173
|
staticView?: boolean;
|
|
169
174
|
notDeletable: boolean;
|
|
170
175
|
showFilterName: boolean;
|
|
@@ -177,13 +182,13 @@ export declare const FilterOptionToFilterConfigCreatorMap: {
|
|
|
177
182
|
hideLabel?: boolean;
|
|
178
183
|
} & {
|
|
179
184
|
modelValue?: {
|
|
180
|
-
list
|
|
181
|
-
unassigned
|
|
185
|
+
list?: string[];
|
|
186
|
+
unassigned?: boolean | null;
|
|
182
187
|
};
|
|
183
188
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
184
189
|
"update:modelValue": (value: {
|
|
185
|
-
list
|
|
186
|
-
unassigned
|
|
190
|
+
list?: string[];
|
|
191
|
+
unassigned?: boolean | null;
|
|
187
192
|
}) => any;
|
|
188
193
|
"update:invalid": (args_0: boolean) => any;
|
|
189
194
|
}, string, import("vue").PublicProps, Readonly<{
|
|
@@ -192,29 +197,35 @@ export declare const FilterOptionToFilterConfigCreatorMap: {
|
|
|
192
197
|
hideLabel?: boolean;
|
|
193
198
|
} & {
|
|
194
199
|
modelValue?: {
|
|
195
|
-
list
|
|
196
|
-
unassigned
|
|
200
|
+
list?: string[];
|
|
201
|
+
unassigned?: boolean | null;
|
|
197
202
|
};
|
|
198
203
|
}> & Readonly<{
|
|
199
204
|
"onUpdate:modelValue"?: (value: {
|
|
200
|
-
list
|
|
201
|
-
unassigned
|
|
205
|
+
list?: string[];
|
|
206
|
+
unassigned?: boolean | null;
|
|
202
207
|
}) => any;
|
|
203
208
|
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
204
209
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
205
210
|
valuePreviewComponent: import("vue").DefineComponent<{
|
|
206
|
-
value:
|
|
211
|
+
value: Array<{
|
|
212
|
+
id?: string | number;
|
|
213
|
+
name?: string;
|
|
214
|
+
}>;
|
|
207
215
|
filter: import("../../..").IFilter;
|
|
208
216
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
209
|
-
value:
|
|
217
|
+
value: Array<{
|
|
218
|
+
id?: string | number;
|
|
219
|
+
name?: string;
|
|
220
|
+
}>;
|
|
210
221
|
filter: import("../../..").IFilter;
|
|
211
222
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
212
223
|
hideUnassigned?: boolean;
|
|
213
|
-
searchRecords(params:
|
|
224
|
+
searchRecords(params: import("..").FilterConfigSearchRequestParams, { filterValue }?: import("..").FilterConfigSearchFilterContext): Promise<{
|
|
214
225
|
items: unknown[];
|
|
215
226
|
next?: boolean;
|
|
216
227
|
}>;
|
|
217
|
-
label?: ReturnType<
|
|
228
|
+
label?: ReturnType<agentSearchMethod> | string;
|
|
218
229
|
staticView?: boolean;
|
|
219
230
|
notDeletable: boolean;
|
|
220
231
|
showFilterName: boolean;
|
|
@@ -239,15 +250,15 @@ export declare const FilterOptionToFilterConfigCreatorMap: {
|
|
|
239
250
|
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
240
251
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
241
252
|
valuePreviewComponent: import("vue").DefineComponent<{
|
|
242
|
-
value:
|
|
253
|
+
value: agentSearchMethod[];
|
|
243
254
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
244
|
-
value:
|
|
255
|
+
value: agentSearchMethod[];
|
|
245
256
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
246
257
|
searchRecords(params: object): Promise<{
|
|
247
258
|
items: unknown[];
|
|
248
259
|
next?: boolean;
|
|
249
260
|
}>;
|
|
250
|
-
label?: ReturnType<
|
|
261
|
+
label?: ReturnType<agentSearchMethod> | string;
|
|
251
262
|
staticView?: boolean;
|
|
252
263
|
notDeletable: boolean;
|
|
253
264
|
showFilterName: boolean;
|
|
@@ -272,15 +283,15 @@ export declare const FilterOptionToFilterConfigCreatorMap: {
|
|
|
272
283
|
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
273
284
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
274
285
|
valuePreviewComponent: import("vue").DefineComponent<{
|
|
275
|
-
value:
|
|
286
|
+
value: agentSearchMethod[];
|
|
276
287
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
277
|
-
value:
|
|
288
|
+
value: agentSearchMethod[];
|
|
278
289
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
279
290
|
searchRecords(params: object): Promise<{
|
|
280
291
|
items: unknown[];
|
|
281
292
|
next?: boolean;
|
|
282
293
|
}>;
|
|
283
|
-
label?: ReturnType<
|
|
294
|
+
label?: ReturnType<agentSearchMethod> | string;
|
|
284
295
|
staticView?: boolean;
|
|
285
296
|
notDeletable: boolean;
|
|
286
297
|
showFilterName: boolean;
|
|
@@ -305,15 +316,15 @@ export declare const FilterOptionToFilterConfigCreatorMap: {
|
|
|
305
316
|
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
306
317
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
307
318
|
valuePreviewComponent: import("vue").DefineComponent<{
|
|
308
|
-
value:
|
|
319
|
+
value: agentSearchMethod[];
|
|
309
320
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
310
|
-
value:
|
|
321
|
+
value: agentSearchMethod[];
|
|
311
322
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
312
323
|
searchRecords(params: object): Promise<{
|
|
313
324
|
items: unknown[];
|
|
314
325
|
next?: boolean;
|
|
315
326
|
}>;
|
|
316
|
-
label?: ReturnType<
|
|
327
|
+
label?: ReturnType<agentSearchMethod> | string;
|
|
317
328
|
staticView?: boolean;
|
|
318
329
|
notDeletable: boolean;
|
|
319
330
|
showFilterName: boolean;
|
|
@@ -338,15 +349,15 @@ export declare const FilterOptionToFilterConfigCreatorMap: {
|
|
|
338
349
|
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
339
350
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
340
351
|
valuePreviewComponent: import("vue").DefineComponent<{
|
|
341
|
-
value:
|
|
352
|
+
value: agentSearchMethod[];
|
|
342
353
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
343
|
-
value:
|
|
354
|
+
value: agentSearchMethod[];
|
|
344
355
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
345
356
|
searchRecords(params: object): Promise<{
|
|
346
357
|
items: unknown[];
|
|
347
358
|
next?: boolean;
|
|
348
359
|
}>;
|
|
349
|
-
label?: ReturnType<
|
|
360
|
+
label?: ReturnType<agentSearchMethod> | string;
|
|
350
361
|
staticView?: boolean;
|
|
351
362
|
notDeletable: boolean;
|
|
352
363
|
showFilterName: boolean;
|
|
@@ -371,15 +382,15 @@ export declare const FilterOptionToFilterConfigCreatorMap: {
|
|
|
371
382
|
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
372
383
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
373
384
|
valuePreviewComponent: import("vue").DefineComponent<{
|
|
374
|
-
value:
|
|
385
|
+
value: agentSearchMethod[];
|
|
375
386
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
376
|
-
value:
|
|
387
|
+
value: agentSearchMethod[];
|
|
377
388
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
378
389
|
searchRecords(params: object): Promise<{
|
|
379
390
|
items: unknown[];
|
|
380
391
|
next?: boolean;
|
|
381
392
|
}>;
|
|
382
|
-
label?: ReturnType<
|
|
393
|
+
label?: ReturnType<agentSearchMethod> | string;
|
|
383
394
|
staticView?: boolean;
|
|
384
395
|
notDeletable: boolean;
|
|
385
396
|
showFilterName: boolean;
|
|
@@ -404,15 +415,15 @@ export declare const FilterOptionToFilterConfigCreatorMap: {
|
|
|
404
415
|
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
405
416
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
406
417
|
valuePreviewComponent: import("vue").DefineComponent<{
|
|
407
|
-
value:
|
|
418
|
+
value: agentSearchMethod[];
|
|
408
419
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
409
|
-
value:
|
|
420
|
+
value: agentSearchMethod[];
|
|
410
421
|
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
411
422
|
searchRecords(params: object): Promise<{
|
|
412
423
|
items: unknown[];
|
|
413
424
|
next?: boolean;
|
|
414
425
|
}>;
|
|
415
|
-
label?: ReturnType<
|
|
426
|
+
label?: ReturnType<agentSearchMethod> | string;
|
|
416
427
|
staticView?: boolean;
|
|
417
428
|
notDeletable: boolean;
|
|
418
429
|
showFilterName: boolean;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
-
value:
|
|
2
|
+
value: {
|
|
3
|
+
from: number | null;
|
|
4
|
+
to: number | null;
|
|
5
|
+
};
|
|
3
6
|
};
|
|
4
7
|
declare const __VLS_export: 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
8
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
-
value:
|
|
2
|
+
value: {
|
|
3
|
+
from: number | null;
|
|
4
|
+
to: number | null;
|
|
5
|
+
};
|
|
3
6
|
};
|
|
4
7
|
declare const __VLS_export: 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
8
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
-
value:
|
|
2
|
+
value: {
|
|
3
|
+
name?: string;
|
|
4
|
+
}[];
|
|
3
5
|
};
|
|
4
6
|
declare const __VLS_export: 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
7
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IFilter } from '../../../classes/Filter';
|
|
2
|
-
import type {
|
|
2
|
+
import type { AnyFilterConfig } from '../classes/FilterConfig';
|
|
3
3
|
export type DynamicFilterPreviewComponentProps = {
|
|
4
4
|
value: unknown;
|
|
5
|
-
filterConfig:
|
|
5
|
+
filterConfig: AnyFilterConfig;
|
|
6
6
|
filter: IFilter;
|
|
7
7
|
};
|
|
@@ -1,16 +1,43 @@
|
|
|
1
|
-
import type { WtTableHeader } from '@webitel/ui-sdk/components/wt-table/types/WtTable';
|
|
2
1
|
import { SortSymbols } from '@webitel/ui-sdk/scripts/sortQueryAdapters';
|
|
3
|
-
import type {
|
|
2
|
+
import type { Identifiable } from '../types/createDatalistStore.types';
|
|
3
|
+
import type { DatalistTableHeader, useTableStoreConfig } from '../types/tableStore.types';
|
|
4
4
|
interface TableHeadersStoreBodyParams {
|
|
5
|
-
rawHeaders:
|
|
5
|
+
rawHeaders: DatalistTableHeader[];
|
|
6
6
|
id: string;
|
|
7
7
|
}
|
|
8
8
|
export declare const tableHeadersStoreBody: ({ rawHeaders, id, }: TableHeadersStoreBodyParams) => {
|
|
9
|
-
headers: import("vue").Ref<
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
headers: import("vue").Ref<{
|
|
10
|
+
value: string;
|
|
11
|
+
locale?: string | [string];
|
|
12
|
+
text?: string;
|
|
13
|
+
width?: string;
|
|
14
|
+
sort?: boolean;
|
|
15
|
+
show?: boolean;
|
|
16
|
+
field: string;
|
|
17
|
+
shouldBeInitialized?: boolean;
|
|
18
|
+
}[], DatalistTableHeader[] | {
|
|
19
|
+
value: string;
|
|
20
|
+
locale?: string | [string];
|
|
21
|
+
text?: string;
|
|
22
|
+
width?: string;
|
|
23
|
+
sort?: boolean;
|
|
24
|
+
show?: boolean;
|
|
25
|
+
field: string;
|
|
26
|
+
shouldBeInitialized?: boolean;
|
|
27
|
+
}[]>;
|
|
28
|
+
shownHeaders: import("vue").ComputedRef<{
|
|
29
|
+
value: string;
|
|
30
|
+
locale?: string | [string];
|
|
31
|
+
text?: string;
|
|
32
|
+
width?: string;
|
|
33
|
+
sort?: boolean;
|
|
34
|
+
show?: boolean;
|
|
35
|
+
field: string;
|
|
36
|
+
shouldBeInitialized?: boolean;
|
|
37
|
+
}[]>;
|
|
38
|
+
fields: import("vue").ComputedRef<string[]>;
|
|
12
39
|
sort: import("vue").ComputedRef<string>;
|
|
13
|
-
columnWidths: import("vue").ComputedRef<
|
|
40
|
+
columnWidths: import("vue").ComputedRef<{}>;
|
|
14
41
|
isReorderingColumn: import("vue").Ref<boolean, boolean>;
|
|
15
42
|
updateShownHeaders: (value: any) => void;
|
|
16
43
|
updateSort: (column: any, options?: {
|
|
@@ -24,14 +51,41 @@ export declare const tableHeadersStoreBody: ({ rawHeaders, id, }: TableHeadersSt
|
|
|
24
51
|
setupPersistence: () => Promise<[PromiseSettledResult<void>, PromiseSettledResult<void>, PromiseSettledResult<void>]>;
|
|
25
52
|
$reset: () => void;
|
|
26
53
|
};
|
|
27
|
-
export declare const createTableHeadersStore: <Entity>(namespace: string, config: useTableStoreConfig<Entity>, { headers: rawHeaders }: {
|
|
54
|
+
export declare const createTableHeadersStore: <Entity extends Identifiable>(namespace: string, config: useTableStoreConfig<Entity>, { headers: rawHeaders }: {
|
|
28
55
|
headers: any;
|
|
29
56
|
}) => import("../types/createDatalistStore.types").PatchableStoreFactory<{
|
|
30
|
-
headers: import("vue").Ref<
|
|
31
|
-
|
|
32
|
-
|
|
57
|
+
headers: import("vue").Ref<{
|
|
58
|
+
value: string;
|
|
59
|
+
locale?: string | [string];
|
|
60
|
+
text?: string;
|
|
61
|
+
width?: string;
|
|
62
|
+
sort?: boolean;
|
|
63
|
+
show?: boolean;
|
|
64
|
+
field: string;
|
|
65
|
+
shouldBeInitialized?: boolean;
|
|
66
|
+
}[], DatalistTableHeader[] | {
|
|
67
|
+
value: string;
|
|
68
|
+
locale?: string | [string];
|
|
69
|
+
text?: string;
|
|
70
|
+
width?: string;
|
|
71
|
+
sort?: boolean;
|
|
72
|
+
show?: boolean;
|
|
73
|
+
field: string;
|
|
74
|
+
shouldBeInitialized?: boolean;
|
|
75
|
+
}[]>;
|
|
76
|
+
shownHeaders: import("vue").ComputedRef<{
|
|
77
|
+
value: string;
|
|
78
|
+
locale?: string | [string];
|
|
79
|
+
text?: string;
|
|
80
|
+
width?: string;
|
|
81
|
+
sort?: boolean;
|
|
82
|
+
show?: boolean;
|
|
83
|
+
field: string;
|
|
84
|
+
shouldBeInitialized?: boolean;
|
|
85
|
+
}[]>;
|
|
86
|
+
fields: import("vue").ComputedRef<string[]>;
|
|
33
87
|
sort: import("vue").ComputedRef<string>;
|
|
34
|
-
columnWidths: import("vue").ComputedRef<
|
|
88
|
+
columnWidths: import("vue").ComputedRef<{}>;
|
|
35
89
|
isReorderingColumn: import("vue").Ref<boolean, boolean>;
|
|
36
90
|
updateShownHeaders: (value: any) => void;
|
|
37
91
|
updateSort: (column: any, options?: {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Identifiable } from '../types/createDatalistStore.types';
|
|
1
2
|
import type { useTableStoreConfig } from '../types/tableStore.types';
|
|
2
3
|
export declare const tablePaginationStoreBody: () => {
|
|
3
4
|
page: import("vue").Ref<number, number>;
|
|
@@ -8,7 +9,7 @@ export declare const tablePaginationStoreBody: () => {
|
|
|
8
9
|
setupPersistence: () => Promise<[PromiseSettledResult<void>, PromiseSettledResult<void>]>;
|
|
9
10
|
$reset: () => void;
|
|
10
11
|
};
|
|
11
|
-
export declare const createTablePaginationStore: <Entity>(namespace: string, config: useTableStoreConfig<Entity>) => import("../types/createDatalistStore.types").PatchableStoreFactory<{
|
|
12
|
+
export declare const createTablePaginationStore: <Entity extends Identifiable>(namespace: string, config: useTableStoreConfig<Entity>) => import("../types/createDatalistStore.types").PatchableStoreFactory<{
|
|
12
13
|
page: import("vue").Ref<number, number>;
|
|
13
14
|
size: import("vue").Ref<number, number>;
|
|
14
15
|
next: import("vue").Ref<boolean, boolean>;
|