@webitel/ui-datalist 1.0.69 → 1.0.71
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/_shared/date-time-filter/date-time-options/date-time-options-filter-value-field.vue +1 -0
- package/src/modules/filters/modules/filterConfig/components/index.ts +8 -8
- package/types/modules/filters/components/config/dynamic-view/dynamic-filter-config-form-label.vue.d.ts +2 -2
- package/types/modules/filters/components/config/dynamic-view/dynamic-filter-config-form-value-input.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/_custom/type-extension-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/_shared/durations/duration-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/agent/agent-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/amd-result/amd-result-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/call-direction/call-direction-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/case-assignee/case-assignee-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/case-assignee/filterConfig.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/case-author/case-author-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/case-close-reason-groups/case-close-reason-groups-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/case-impacted/case-impacted-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/case-priority/case-priority-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/case-reporter/case-reporter-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/case-sla/case-sla-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/case-sla-condition/case-sla-condition-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/case-source/case-source-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/case-status/case-status-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/contact/contact-filter-value-field.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/index.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/contact-label/contact-label-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/contact-label/index.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/contact-owner/contact-owner-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/contact-owner/index.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/gateway/gateway-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/grantee/grantee-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/hangup-cause/hangup-cause-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/has-attachment/has-attachment-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/has-file/has-file-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/has-rating/has-rating-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/has-transcription/has-transcription-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/has-user/has-user-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/index.d.ts +10 -10
- package/types/modules/filters/modules/filterConfig/components/queue/queue-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/rated-by/rated-by-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/rating/rating-from-to-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/score/score-from-to-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/tag/tag-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/talk-duration/talk-duration-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/team/team-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/total-duration/total-duration-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/user/user-filter-value-field.vue.d.ts +2 -2
- package/types/modules/filters/modules/filterConfig/components/variable/variable-filter-value-field.vue.d.ts +2 -2
- package/src/modules/filters/modules/filterConfig/components/created-at/created-at-filter-value-field.vue +0 -98
- package/src/modules/filters/modules/filterConfig/components/created-at/created-at-filter-value-preview.vue +0 -64
- package/types/modules/filters/modules/filterConfig/components/created-at/created-at-filter-value-field.vue.d.ts +0 -19
- package/types/modules/filters/modules/filterConfig/components/created-at/created-at-filter-value-preview.vue.d.ts +0 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webitel/ui-datalist",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.71",
|
|
4
4
|
"description": "Toolkit for building data lists in webitel ui system",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"make-all": "npm version patch --git-tag-version false && ( npm run lint:fix || true) && (npm run build:types || true) && npm run utils:publish",
|
|
@@ -5,6 +5,8 @@ import {
|
|
|
5
5
|
FilterOption,
|
|
6
6
|
FilterOptionName,
|
|
7
7
|
} from '../enums/FilterOption';
|
|
8
|
+
import DateTimeOptionsFilterValueField from './_shared/date-time-filter/date-time-options/date-time-options-filter-value-field.vue';
|
|
9
|
+
import DateTimeOptionsFilterValuePreview from './_shared/date-time-filter/date-time-options/date-time-options-filter-value-preview.vue';
|
|
8
10
|
import AgentFilter from './agent/agent-filter-value-field.vue';
|
|
9
11
|
import AgentFilterPreview from './agent/agent-filter-value-preview.vue';
|
|
10
12
|
import { searchMethod as agentSearchMethod } from './agent/config';
|
|
@@ -60,11 +62,9 @@ import ContactGroupFilterPreview from './contact-group/contact-group-filter-valu
|
|
|
60
62
|
import { createContactLabelFilterConfig } from './contact-label';
|
|
61
63
|
import ContactLabelFilter from './contact-label/contact-label-filter-value-field.vue';
|
|
62
64
|
import ContactLabelFilterPreview from './contact-label/contact-label-filter-value-preview.vue';
|
|
63
|
-
import { createContactOwnerFilterConfig } from './contact-owner'
|
|
64
|
-
import ContactOwnerFilter from
|
|
65
|
-
import ContactOwnerFilterPreview from
|
|
66
|
-
import CreatedAtFilterValueField from './created-at/created-at-filter-value-field.vue';
|
|
67
|
-
import CreatedAtFilterPreview from './created-at/created-at-filter-value-preview.vue';
|
|
65
|
+
import { createContactOwnerFilterConfig } from './contact-owner';
|
|
66
|
+
import ContactOwnerFilter from './contact-owner/contact-owner-filter-value-field.vue';
|
|
67
|
+
import ContactOwnerFilterPreview from './contact-owner/contact-owner-filter-value-preview.vue';
|
|
68
68
|
import { searchMethod as gatewaySearchMethod } from './gateway/config';
|
|
69
69
|
import GatewayFilter from './gateway/gateway-filter-value-field.vue';
|
|
70
70
|
import GatewayFilterPreview from './gateway/gateway-filter-value-preview.vue';
|
|
@@ -151,7 +151,7 @@ export {
|
|
|
151
151
|
ContactLabelFilterPreview,
|
|
152
152
|
ContactOwnerFilter,
|
|
153
153
|
ContactOwnerFilterPreview,
|
|
154
|
-
|
|
154
|
+
DateTimeOptionsFilterValueField,
|
|
155
155
|
GatewayFilter,
|
|
156
156
|
GatewayFilterPreview,
|
|
157
157
|
GranteeFilter,
|
|
@@ -214,7 +214,7 @@ export const FilterOptionToValueComponentMap: Record<
|
|
|
214
214
|
[FilterOption.HasUser]: HasUserFilter,
|
|
215
215
|
[FilterOption.User]: UserFilter,
|
|
216
216
|
[FilterOption.Variable]: VariableFilter,
|
|
217
|
-
[FilterOption.CreatedAt]:
|
|
217
|
+
[FilterOption.CreatedAt]: DateTimeOptionsFilterValueField,
|
|
218
218
|
[FilterOption.CaseStatus]: CaseStatusFilterValueField,
|
|
219
219
|
[FilterOption.CaseSource]: CaseSourceFilterValueField,
|
|
220
220
|
[FilterOption.CaseService]: CaseServiceFilterValueField,
|
|
@@ -238,7 +238,7 @@ export const FilterOptionToPreviewComponentMap: Record<
|
|
|
238
238
|
FilterOptionName,
|
|
239
239
|
Component
|
|
240
240
|
> = {
|
|
241
|
-
[FilterOption.CreatedAt]:
|
|
241
|
+
[FilterOption.CreatedAt]: DateTimeOptionsFilterValuePreview,
|
|
242
242
|
[FilterOption.Agent]: AgentFilterPreview,
|
|
243
243
|
[FilterOption.AmdResult]: AmdResultFilterPreview,
|
|
244
244
|
[FilterOption.Contact]: ContactFilterPreview,
|
|
@@ -2,10 +2,10 @@ type __VLS_PublicProps = {
|
|
|
2
2
|
modelValue?: string;
|
|
3
3
|
};
|
|
4
4
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
-
"update:invalid": (args_0: boolean) => any;
|
|
6
5
|
"update:modelValue": (value: string) => any;
|
|
6
|
+
"update:invalid": (args_0: boolean) => any;
|
|
7
7
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
8
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
9
8
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
9
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
10
10
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
11
|
export default _default;
|
|
@@ -7,10 +7,10 @@ type __VLS_PublicProps = __VLS_Props & {
|
|
|
7
7
|
modelValue?: unknown;
|
|
8
8
|
};
|
|
9
9
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
-
"update:invalid": (args_0: boolean) => any;
|
|
11
10
|
"update:modelValue": (value: unknown) => any;
|
|
11
|
+
"update:invalid": (args_0: boolean) => any;
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
14
13
|
"onUpdate:modelValue"?: (value: unknown) => any;
|
|
14
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
15
15
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
export default _default;
|
|
@@ -6,10 +6,10 @@ type __VLS_PublicProps = __VLS_Props & {
|
|
|
6
6
|
modelValue?: unknown;
|
|
7
7
|
};
|
|
8
8
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
-
"update:invalid": (args_0: boolean) => any;
|
|
10
9
|
"update:modelValue": (value: unknown) => any;
|
|
10
|
+
"update:invalid": (args_0: boolean) => any;
|
|
11
11
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
13
12
|
"onUpdate:modelValue"?: (value: unknown) => any;
|
|
13
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
14
14
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
export default _default;
|
|
@@ -6,10 +6,10 @@ type __VLS_PublicProps = {
|
|
|
6
6
|
modelValue?: ModelValue;
|
|
7
7
|
};
|
|
8
8
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
-
"update:invalid": (args_0: boolean) => any;
|
|
10
9
|
"update:modelValue": (value: ModelValue) => any;
|
|
10
|
+
"update:invalid": (args_0: boolean) => any;
|
|
11
11
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
13
12
|
"onUpdate:modelValue"?: (value: ModelValue) => any;
|
|
13
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
14
14
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
15
15
|
export default _default;
|
|
@@ -3,10 +3,10 @@ type __VLS_PublicProps = {
|
|
|
3
3
|
modelValue?: ModelValue;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
"update:invalid": (args_0: boolean) => any;
|
|
7
6
|
"update:modelValue": (value: ModelValue) => any;
|
|
7
|
+
"update:invalid": (args_0: boolean) => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
10
9
|
"onUpdate:modelValue"?: (value: ModelValue) => any;
|
|
10
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
11
11
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
12
|
export default _default;
|
|
@@ -2,10 +2,10 @@ type __VLS_PublicProps = {
|
|
|
2
2
|
modelValue?: string;
|
|
3
3
|
};
|
|
4
4
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
-
"update:invalid": (args_0: boolean) => any;
|
|
6
5
|
"update:modelValue": (value: string) => any;
|
|
6
|
+
"update:invalid": (args_0: boolean) => any;
|
|
7
7
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
8
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
9
8
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
9
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
10
10
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
11
|
export default _default;
|
|
@@ -2,10 +2,10 @@ type __VLS_PublicProps = {
|
|
|
2
2
|
modelValue?: string;
|
|
3
3
|
};
|
|
4
4
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
-
"update:invalid": (args_0: boolean) => any;
|
|
6
5
|
"update:modelValue": (value: string) => any;
|
|
6
|
+
"update:invalid": (args_0: boolean) => any;
|
|
7
7
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
8
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
9
8
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
9
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
10
10
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
11
|
export default _default;
|
|
@@ -10,10 +10,10 @@ type __VLS_PublicProps = __VLS_Props & {
|
|
|
10
10
|
modelValue?: ModelValue;
|
|
11
11
|
};
|
|
12
12
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
-
"update:invalid": (args_0: boolean) => any;
|
|
14
13
|
"update:modelValue": (value: ModelValue) => any;
|
|
14
|
+
"update:invalid": (args_0: boolean) => any;
|
|
15
15
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
16
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
17
16
|
"onUpdate:modelValue"?: (value: ModelValue) => any;
|
|
17
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
18
18
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
19
|
export default _default;
|
package/types/modules/filters/modules/filterConfig/components/case-assignee/filterConfig.d.ts
CHANGED
|
@@ -10,11 +10,11 @@ declare class CaseAssigneeFilterConfig extends WtSysTypeFilterConfig {
|
|
|
10
10
|
unassigned: boolean;
|
|
11
11
|
};
|
|
12
12
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
-
"update:invalid": (args_0: boolean) => any;
|
|
14
13
|
"update:modelValue": (value: {
|
|
15
14
|
list: string[];
|
|
16
15
|
unassigned: boolean;
|
|
17
16
|
}) => any;
|
|
17
|
+
"update:invalid": (args_0: boolean) => any;
|
|
18
18
|
}, string, import("vue").PublicProps, Readonly<{
|
|
19
19
|
filterConfig: CaseAssigneeFilterConfig;
|
|
20
20
|
} & {
|
|
@@ -23,11 +23,11 @@ declare class CaseAssigneeFilterConfig extends WtSysTypeFilterConfig {
|
|
|
23
23
|
unassigned: boolean;
|
|
24
24
|
};
|
|
25
25
|
}> & Readonly<{
|
|
26
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
27
26
|
"onUpdate:modelValue"?: (value: {
|
|
28
27
|
list: string[];
|
|
29
28
|
unassigned: boolean;
|
|
30
29
|
}) => any;
|
|
30
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
31
31
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
32
32
|
valuePreviewComponent: import("vue").DefineComponent<{
|
|
33
33
|
value: ContactsAPI[];
|
|
@@ -3,10 +3,10 @@ type __VLS_PublicProps = {
|
|
|
3
3
|
modelValue?: ModelValue;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
"update:invalid": (args_0: boolean) => any;
|
|
7
6
|
"update:modelValue": (value: ModelValue) => any;
|
|
7
|
+
"update:invalid": (args_0: boolean) => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
10
9
|
"onUpdate:modelValue"?: (value: ModelValue) => any;
|
|
10
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
11
11
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
12
|
export default _default;
|
|
@@ -6,10 +6,10 @@ type __VLS_PublicProps = {
|
|
|
6
6
|
modelValue?: ModelValue;
|
|
7
7
|
};
|
|
8
8
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
-
"update:invalid": (args_0: boolean) => any;
|
|
10
9
|
"update:modelValue": (value: ModelValue) => any;
|
|
10
|
+
"update:invalid": (args_0: boolean) => any;
|
|
11
11
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
13
12
|
"onUpdate:modelValue"?: (value: ModelValue) => any;
|
|
13
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
14
14
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
15
15
|
export default _default;
|
|
@@ -3,10 +3,10 @@ type __VLS_PublicProps = {
|
|
|
3
3
|
modelValue?: ModelValue;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
"update:invalid": (args_0: boolean) => any;
|
|
7
6
|
"update:modelValue": (value: ModelValue) => any;
|
|
7
|
+
"update:invalid": (args_0: boolean) => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
10
9
|
"onUpdate:modelValue"?: (value: ModelValue) => any;
|
|
10
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
11
11
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
12
|
export default _default;
|
|
@@ -3,10 +3,10 @@ type __VLS_PublicProps = {
|
|
|
3
3
|
modelValue?: ModelValue;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
"update:invalid": (args_0: boolean) => any;
|
|
7
6
|
"update:modelValue": (value: ModelValue) => any;
|
|
7
|
+
"update:invalid": (args_0: boolean) => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
10
9
|
"onUpdate:modelValue"?: (value: ModelValue) => any;
|
|
10
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
11
11
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
12
|
export default _default;
|
|
@@ -3,10 +3,10 @@ type __VLS_PublicProps = {
|
|
|
3
3
|
modelValue?: ModelValue;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
"update:invalid": (args_0: boolean) => any;
|
|
7
6
|
"update:modelValue": (value: ModelValue) => any;
|
|
7
|
+
"update:invalid": (args_0: boolean) => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
10
9
|
"onUpdate:modelValue"?: (value: ModelValue) => any;
|
|
10
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
11
11
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
12
|
export default _default;
|
|
@@ -3,10 +3,10 @@ type __VLS_PublicProps = {
|
|
|
3
3
|
modelValue?: ModelValue;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
"update:invalid": (args_0: boolean) => any;
|
|
7
6
|
"update:modelValue": (value: ModelValue) => any;
|
|
7
|
+
"update:invalid": (args_0: boolean) => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
10
9
|
"onUpdate:modelValue"?: (value: ModelValue) => any;
|
|
10
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
11
11
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
12
|
export default _default;
|
|
@@ -6,10 +6,10 @@ type __VLS_PublicProps = {
|
|
|
6
6
|
modelValue?: ModelValue;
|
|
7
7
|
};
|
|
8
8
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
-
"update:invalid": (args_0: boolean) => any;
|
|
10
9
|
"update:modelValue": (value: ModelValue) => any;
|
|
10
|
+
"update:invalid": (args_0: boolean) => any;
|
|
11
11
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
13
12
|
"onUpdate:modelValue"?: (value: ModelValue) => any;
|
|
13
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
14
14
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
15
15
|
export default _default;
|
|
@@ -3,10 +3,10 @@ type __VLS_PublicProps = {
|
|
|
3
3
|
modelValue?: ModelValue;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
"update:invalid": (args_0: boolean) => any;
|
|
7
6
|
"update:modelValue": (value: ModelValue) => any;
|
|
7
|
+
"update:invalid": (args_0: boolean) => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
10
9
|
"onUpdate:modelValue"?: (value: ModelValue) => any;
|
|
10
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
11
11
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
12
|
export default _default;
|
|
@@ -6,10 +6,10 @@ type __VLS_PublicProps = {
|
|
|
6
6
|
modelValue?: ModelValue;
|
|
7
7
|
};
|
|
8
8
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
-
"update:invalid": (args_0: boolean) => any;
|
|
10
9
|
"update:modelValue": (value: ModelValue) => any;
|
|
10
|
+
"update:invalid": (args_0: boolean) => any;
|
|
11
11
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
13
12
|
"onUpdate:modelValue"?: (value: ModelValue) => any;
|
|
13
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
14
14
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
15
15
|
export default _default;
|
|
@@ -3,10 +3,10 @@ type __VLS_PublicProps = {
|
|
|
3
3
|
modelValue?: ModelValue;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
"update:invalid": (args_0: boolean) => any;
|
|
7
6
|
"update:modelValue": (value: ModelValue) => any;
|
|
7
|
+
"update:invalid": (args_0: boolean) => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
10
9
|
"onUpdate:modelValue"?: (value: ModelValue) => any;
|
|
10
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
11
11
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
12
|
export default _default;
|
|
@@ -12,10 +12,10 @@ type __VLS_PublicProps = __VLS_Props & {
|
|
|
12
12
|
modelValue?: ModelValue;
|
|
13
13
|
};
|
|
14
14
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
-
"update:invalid": (args_0: boolean) => any;
|
|
16
15
|
"update:modelValue": (value: ModelValue) => any;
|
|
16
|
+
"update:invalid": (args_0: boolean) => any;
|
|
17
17
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
18
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
19
18
|
"onUpdate:modelValue"?: (value: ModelValue) => any;
|
|
19
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
20
20
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
export default _default;
|
|
@@ -12,11 +12,11 @@ declare class ContactGroupFilterConfig extends WtSysTypeFilterConfig {
|
|
|
12
12
|
unassigned: boolean;
|
|
13
13
|
};
|
|
14
14
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
-
"update:invalid": (args_0: boolean) => any;
|
|
16
15
|
"update:modelValue": (value: {
|
|
17
16
|
list: string[];
|
|
18
17
|
unassigned: boolean;
|
|
19
18
|
}) => any;
|
|
19
|
+
"update:invalid": (args_0: boolean) => any;
|
|
20
20
|
}, string, import("vue").PublicProps, Readonly<{
|
|
21
21
|
filterConfig: IContactGroupFilterConfig;
|
|
22
22
|
disableValidation?: boolean;
|
|
@@ -27,11 +27,11 @@ declare class ContactGroupFilterConfig extends WtSysTypeFilterConfig {
|
|
|
27
27
|
unassigned: boolean;
|
|
28
28
|
};
|
|
29
29
|
}> & Readonly<{
|
|
30
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
31
30
|
"onUpdate:modelValue"?: (value: {
|
|
32
31
|
list: string[];
|
|
33
32
|
unassigned: boolean;
|
|
34
33
|
}) => any;
|
|
34
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
35
35
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
36
36
|
valuePreviewComponent: import("vue").DefineComponent<{
|
|
37
37
|
value: contactGroups[];
|
|
@@ -9,10 +9,10 @@ type __VLS_PublicProps = __VLS_Props & {
|
|
|
9
9
|
modelValue?: ModelValue;
|
|
10
10
|
};
|
|
11
11
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
-
"update:invalid": (args_0: boolean) => any;
|
|
13
12
|
"update:modelValue": (value: ModelValue) => any;
|
|
13
|
+
"update:invalid": (args_0: boolean) => any;
|
|
14
14
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
16
15
|
"onUpdate:modelValue"?: (value: ModelValue) => any;
|
|
16
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
17
17
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
export default _default;
|
|
@@ -8,8 +8,8 @@ declare class ContactLabelFilterConfig extends WtSysTypeFilterConfig {
|
|
|
8
8
|
} & {
|
|
9
9
|
modelValue?: number[];
|
|
10
10
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
-
"update:invalid": (args_0: boolean) => any;
|
|
12
11
|
"update:modelValue": (value: number[]) => any;
|
|
12
|
+
"update:invalid": (args_0: boolean) => any;
|
|
13
13
|
}, string, import("vue").PublicProps, Readonly<{
|
|
14
14
|
filterConfig: WtSysTypeFilterConfig;
|
|
15
15
|
disableValidation?: boolean;
|
|
@@ -17,8 +17,8 @@ declare class ContactLabelFilterConfig extends WtSysTypeFilterConfig {
|
|
|
17
17
|
} & {
|
|
18
18
|
modelValue?: number[];
|
|
19
19
|
}> & Readonly<{
|
|
20
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
21
20
|
"onUpdate:modelValue"?: (value: number[]) => any;
|
|
21
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
22
22
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
23
|
valuePreviewComponent: import("vue").DefineComponent<{
|
|
24
24
|
value: Record<string, unknown>[];
|
|
@@ -7,10 +7,10 @@ type __VLS_PublicProps = __VLS_Props & {
|
|
|
7
7
|
modelValue?: ModelValue;
|
|
8
8
|
};
|
|
9
9
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
-
"update:invalid": (args_0: boolean) => any;
|
|
11
10
|
"update:modelValue": (value: ModelValue) => any;
|
|
11
|
+
"update:invalid": (args_0: boolean) => any;
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
14
13
|
"onUpdate:modelValue"?: (value: ModelValue) => any;
|
|
14
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
15
15
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
export default _default;
|
|
@@ -6,15 +6,15 @@ declare class ContactOwnerFilterConfig extends WtSysTypeFilterConfig {
|
|
|
6
6
|
} & {
|
|
7
7
|
modelValue?: number[];
|
|
8
8
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
-
"update:invalid": (args_0: boolean) => any;
|
|
10
9
|
"update:modelValue": (value: number[]) => any;
|
|
10
|
+
"update:invalid": (args_0: boolean) => any;
|
|
11
11
|
}, string, import("vue").PublicProps, Readonly<{
|
|
12
12
|
filterConfig: WtSysTypeFilterConfig;
|
|
13
13
|
} & {
|
|
14
14
|
modelValue?: number[];
|
|
15
15
|
}> & Readonly<{
|
|
16
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
17
16
|
"onUpdate:modelValue"?: (value: number[]) => any;
|
|
17
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
18
18
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
19
|
valuePreviewComponent: import("vue").DefineComponent<{
|
|
20
20
|
value: Record<string, unknown>[];
|
|
@@ -3,10 +3,10 @@ type __VLS_PublicProps = {
|
|
|
3
3
|
modelValue?: ModelValue;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
"update:invalid": (args_0: boolean) => any;
|
|
7
6
|
"update:modelValue": (value: ModelValue) => any;
|
|
7
|
+
"update:invalid": (args_0: boolean) => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
10
9
|
"onUpdate:modelValue"?: (value: ModelValue) => any;
|
|
10
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
11
11
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
12
|
export default _default;
|
|
@@ -3,10 +3,10 @@ type __VLS_PublicProps = {
|
|
|
3
3
|
modelValue?: ModelValue;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
"update:invalid": (args_0: boolean) => any;
|
|
7
6
|
"update:modelValue": (value: ModelValue) => any;
|
|
7
|
+
"update:invalid": (args_0: boolean) => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
10
9
|
"onUpdate:modelValue"?: (value: ModelValue) => any;
|
|
10
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
11
11
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
12
|
export default _default;
|
|
@@ -2,10 +2,10 @@ type __VLS_PublicProps = {
|
|
|
2
2
|
modelValue?: string;
|
|
3
3
|
};
|
|
4
4
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
-
"update:invalid": (args_0: boolean) => any;
|
|
6
5
|
"update:modelValue": (value: string) => any;
|
|
6
|
+
"update:invalid": (args_0: boolean) => any;
|
|
7
7
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
8
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
9
8
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
9
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
10
10
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
11
|
export default _default;
|
|
@@ -2,10 +2,10 @@ type __VLS_PublicProps = {
|
|
|
2
2
|
modelValue?: string;
|
|
3
3
|
};
|
|
4
4
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
-
"update:invalid": (args_0: boolean) => any;
|
|
6
5
|
"update:modelValue": (value: string) => any;
|
|
6
|
+
"update:invalid": (args_0: boolean) => any;
|
|
7
7
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
8
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
9
8
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
9
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
10
10
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
11
|
export default _default;
|
|
@@ -3,10 +3,10 @@ type __VLS_PublicProps = {
|
|
|
3
3
|
modelValue?: BooleanFilterModelValue;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
"update:invalid": (args_0: boolean) => any;
|
|
7
6
|
"update:modelValue": (value: boolean) => any;
|
|
7
|
+
"update:invalid": (args_0: boolean) => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
10
9
|
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
10
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
11
11
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
12
|
export default _default;
|
|
@@ -3,10 +3,10 @@ type __VLS_PublicProps = {
|
|
|
3
3
|
modelValue?: BooleanFilterModelValue;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
"update:invalid": (args_0: boolean) => any;
|
|
7
6
|
"update:modelValue": (value: boolean) => any;
|
|
7
|
+
"update:invalid": (args_0: boolean) => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
10
9
|
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
10
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
11
11
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
12
|
export default _default;
|
|
@@ -3,10 +3,10 @@ type __VLS_PublicProps = {
|
|
|
3
3
|
modelValue?: BooleanFilterModelValue;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
"update:invalid": (args_0: boolean) => any;
|
|
7
6
|
"update:modelValue": (value: boolean) => any;
|
|
7
|
+
"update:invalid": (args_0: boolean) => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
10
9
|
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
10
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
11
11
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
12
|
export default _default;
|
|
@@ -9,10 +9,10 @@ type __VLS_PublicProps = __VLS_Props & {
|
|
|
9
9
|
modelValue?: BooleanFilterModelValue;
|
|
10
10
|
};
|
|
11
11
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
-
"update:invalid": (args_0: boolean) => any;
|
|
13
12
|
"update:modelValue": (value: boolean) => any;
|
|
13
|
+
"update:invalid": (args_0: boolean) => any;
|
|
14
14
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
16
15
|
"onUpdate:modelValue"?: (value: boolean) => any;
|
|
16
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
17
17
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Component } from 'vue';
|
|
2
2
|
import { FilterOptionName } from '../enums/FilterOption';
|
|
3
|
+
import DateTimeOptionsFilterValueField from './_shared/date-time-filter/date-time-options/date-time-options-filter-value-field.vue';
|
|
3
4
|
import AgentFilter from './agent/agent-filter-value-field.vue';
|
|
4
5
|
import AgentFilterPreview from './agent/agent-filter-value-preview.vue';
|
|
5
6
|
import AmdResultFilter from './amd-result/amd-result-filter-value-field.vue';
|
|
@@ -40,9 +41,8 @@ import ContactGroupFilter from './contact-group/contact-group-filter-value-field
|
|
|
40
41
|
import ContactGroupFilterPreview from './contact-group/contact-group-filter-value-preview.vue';
|
|
41
42
|
import ContactLabelFilter from './contact-label/contact-label-filter-value-field.vue';
|
|
42
43
|
import ContactLabelFilterPreview from './contact-label/contact-label-filter-value-preview.vue';
|
|
43
|
-
import ContactOwnerFilter from
|
|
44
|
-
import ContactOwnerFilterPreview from
|
|
45
|
-
import CreatedAtFilterValueField from './created-at/created-at-filter-value-field.vue';
|
|
44
|
+
import ContactOwnerFilter from './contact-owner/contact-owner-filter-value-field.vue';
|
|
45
|
+
import ContactOwnerFilterPreview from './contact-owner/contact-owner-filter-value-preview.vue';
|
|
46
46
|
import GatewayFilter from './gateway/gateway-filter-value-field.vue';
|
|
47
47
|
import GatewayFilterPreview from './gateway/gateway-filter-value-preview.vue';
|
|
48
48
|
import GranteeFilter from './grantee/grantee-filter-value-field.vue';
|
|
@@ -79,7 +79,7 @@ import UserFilter from './user/user-filter-value-field.vue';
|
|
|
79
79
|
import UserFilterPreview from './user/user-filter-value-preview.vue';
|
|
80
80
|
import VariableFilter from './variable/variable-filter-value-field.vue';
|
|
81
81
|
import VariableFilterPreview from './variable/variable-filter-value-preview.vue';
|
|
82
|
-
export { AgentFilter, AgentFilterPreview, 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,
|
|
82
|
+
export { AgentFilter, AgentFilterPreview, 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, RatedByFilter, RatedByFilterPreview, RatingFromToFilter, RatingFromToFilterPreview, ScoreFilter, ScoreFilterPreview, TagFilter, TagFilterPreview, TalkDurationFilter, TalkDurationFilterPreview, TeamFilter, TeamFilterPreview, TotalDurationFilter, TotalDurationFilterPreview, UserFilter, UserFilterPreview, VariableFilter, VariableFilterPreview, };
|
|
83
83
|
export declare const FilterOptionToValueComponentMap: Record<FilterOptionName, Component>;
|
|
84
84
|
export declare const FilterOptionToPreviewComponentMap: Record<FilterOptionName, Component>;
|
|
85
85
|
export declare const FilterOptionToPreviewApiSearchMethodMap: Record<FilterOptionName, (unknown: any) => {
|
|
@@ -96,8 +96,8 @@ export declare const FilterOptionToFilterConfigCreatorMap: {
|
|
|
96
96
|
} & {
|
|
97
97
|
modelValue?: number[];
|
|
98
98
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
99
|
-
"update:invalid": (args_0: boolean) => any;
|
|
100
99
|
"update:modelValue": (value: number[]) => any;
|
|
100
|
+
"update:invalid": (args_0: boolean) => any;
|
|
101
101
|
}, string, import("vue").PublicProps, Readonly<{
|
|
102
102
|
filterConfig: import("..").WtSysTypeFilterConfig;
|
|
103
103
|
disableValidation?: boolean;
|
|
@@ -105,8 +105,8 @@ export declare const FilterOptionToFilterConfigCreatorMap: {
|
|
|
105
105
|
} & {
|
|
106
106
|
modelValue?: number[];
|
|
107
107
|
}> & Readonly<{
|
|
108
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
109
108
|
"onUpdate:modelValue"?: (value: number[]) => any;
|
|
109
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
110
110
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
111
111
|
valuePreviewComponent: import("vue").DefineComponent<{
|
|
112
112
|
value: Record<string, unknown>[];
|
|
@@ -128,15 +128,15 @@ export declare const FilterOptionToFilterConfigCreatorMap: {
|
|
|
128
128
|
} & {
|
|
129
129
|
modelValue?: number[];
|
|
130
130
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
131
|
-
"update:invalid": (args_0: boolean) => any;
|
|
132
131
|
"update:modelValue": (value: number[]) => any;
|
|
132
|
+
"update:invalid": (args_0: boolean) => any;
|
|
133
133
|
}, string, import("vue").PublicProps, Readonly<{
|
|
134
134
|
filterConfig: import("..").WtSysTypeFilterConfig;
|
|
135
135
|
} & {
|
|
136
136
|
modelValue?: number[];
|
|
137
137
|
}> & Readonly<{
|
|
138
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
139
138
|
"onUpdate:modelValue"?: (value: number[]) => any;
|
|
139
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
140
140
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
141
141
|
valuePreviewComponent: import("vue").DefineComponent<{
|
|
142
142
|
value: Record<string, unknown>[];
|
|
@@ -163,11 +163,11 @@ export declare const FilterOptionToFilterConfigCreatorMap: {
|
|
|
163
163
|
unassigned: boolean;
|
|
164
164
|
};
|
|
165
165
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
166
|
-
"update:invalid": (args_0: boolean) => any;
|
|
167
166
|
"update:modelValue": (value: {
|
|
168
167
|
list: string[];
|
|
169
168
|
unassigned: boolean;
|
|
170
169
|
}) => any;
|
|
170
|
+
"update:invalid": (args_0: boolean) => any;
|
|
171
171
|
}, string, import("vue").PublicProps, Readonly<{
|
|
172
172
|
filterConfig: import("./contact-group").IContactGroupFilterConfig;
|
|
173
173
|
disableValidation?: boolean;
|
|
@@ -178,11 +178,11 @@ export declare const FilterOptionToFilterConfigCreatorMap: {
|
|
|
178
178
|
unassigned: boolean;
|
|
179
179
|
};
|
|
180
180
|
}> & Readonly<{
|
|
181
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
182
181
|
"onUpdate:modelValue"?: (value: {
|
|
183
182
|
list: string[];
|
|
184
183
|
unassigned: boolean;
|
|
185
184
|
}) => any;
|
|
185
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
186
186
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
187
187
|
valuePreviewComponent: import("vue").DefineComponent<{
|
|
188
188
|
value: FilterOptionName[];
|
|
@@ -3,10 +3,10 @@ type __VLS_PublicProps = {
|
|
|
3
3
|
modelValue?: ModelValue;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
"update:invalid": (args_0: boolean) => any;
|
|
7
6
|
"update:modelValue": (value: ModelValue) => any;
|
|
7
|
+
"update:invalid": (args_0: boolean) => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
10
9
|
"onUpdate:modelValue"?: (value: ModelValue) => any;
|
|
10
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
11
11
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
12
|
export default _default;
|
|
@@ -3,10 +3,10 @@ type __VLS_PublicProps = {
|
|
|
3
3
|
modelValue?: ModelValue;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
"update:invalid": (args_0: boolean) => any;
|
|
7
6
|
"update:modelValue": (value: ModelValue) => any;
|
|
7
|
+
"update:invalid": (args_0: boolean) => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
10
9
|
"onUpdate:modelValue"?: (value: ModelValue) => any;
|
|
10
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
11
11
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
12
|
export default _default;
|
|
@@ -6,10 +6,10 @@ type __VLS_PublicProps = {
|
|
|
6
6
|
modelValue?: ModelValue;
|
|
7
7
|
};
|
|
8
8
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
-
"update:invalid": (args_0: boolean) => any;
|
|
10
9
|
"update:modelValue": (value: ModelValue) => any;
|
|
10
|
+
"update:invalid": (args_0: boolean) => any;
|
|
11
11
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
12
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
13
12
|
"onUpdate:modelValue"?: (value: ModelValue) => any;
|
|
13
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
14
14
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
15
15
|
export default _default;
|
|
@@ -9,11 +9,11 @@ type __VLS_PublicProps = __VLS_Props & {
|
|
|
9
9
|
modelValue?: ModelValue;
|
|
10
10
|
};
|
|
11
11
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
-
"update:invalid": (args_0: boolean) => any;
|
|
13
12
|
"update:modelValue": (value: ModelValue) => any;
|
|
13
|
+
"update:invalid": (args_0: boolean) => any;
|
|
14
14
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
16
15
|
"onUpdate:modelValue"?: (value: ModelValue) => any;
|
|
16
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
17
17
|
}>, {
|
|
18
18
|
numberMax: number;
|
|
19
19
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
package/types/modules/filters/modules/filterConfig/components/tag/tag-filter-value-field.vue.d.ts
CHANGED
|
@@ -2,10 +2,10 @@ type __VLS_PublicProps = {
|
|
|
2
2
|
modelValue?: string;
|
|
3
3
|
};
|
|
4
4
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
-
"update:invalid": (args_0: boolean) => any;
|
|
6
5
|
"update:modelValue": (value: string) => any;
|
|
6
|
+
"update:invalid": (args_0: boolean) => any;
|
|
7
7
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
8
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
9
8
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
9
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
10
10
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
11
|
export default _default;
|
|
@@ -3,10 +3,10 @@ type __VLS_PublicProps = {
|
|
|
3
3
|
modelValue?: TalkDurationFilterModelValue;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
"update:invalid": (args_0: boolean) => any;
|
|
7
6
|
"update:modelValue": (value: TalkDurationFilterModelValue) => any;
|
|
7
|
+
"update:invalid": (args_0: boolean) => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
10
9
|
"onUpdate:modelValue"?: (value: TalkDurationFilterModelValue) => any;
|
|
10
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
11
11
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
12
|
export default _default;
|
package/types/modules/filters/modules/filterConfig/components/team/team-filter-value-field.vue.d.ts
CHANGED
|
@@ -3,10 +3,10 @@ type __VLS_PublicProps = {
|
|
|
3
3
|
modelValue?: ModelValue;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
"update:invalid": (args_0: boolean) => any;
|
|
7
6
|
"update:modelValue": (value: ModelValue) => any;
|
|
7
|
+
"update:invalid": (args_0: boolean) => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
10
9
|
"onUpdate:modelValue"?: (value: ModelValue) => any;
|
|
10
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
11
11
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
12
|
export default _default;
|
|
@@ -3,10 +3,10 @@ type __VLS_PublicProps = {
|
|
|
3
3
|
modelValue?: TotalDurationFilterModelValue;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
"update:invalid": (args_0: boolean) => any;
|
|
7
6
|
"update:modelValue": (value: TotalDurationFilterModelValue) => any;
|
|
7
|
+
"update:invalid": (args_0: boolean) => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
10
9
|
"onUpdate:modelValue"?: (value: TotalDurationFilterModelValue) => any;
|
|
10
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
11
11
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
12
|
export default _default;
|
package/types/modules/filters/modules/filterConfig/components/user/user-filter-value-field.vue.d.ts
CHANGED
|
@@ -3,10 +3,10 @@ type __VLS_PublicProps = {
|
|
|
3
3
|
modelValue?: ModelValue;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
"update:invalid": (args_0: boolean) => any;
|
|
7
6
|
"update:modelValue": (value: ModelValue) => any;
|
|
7
|
+
"update:invalid": (args_0: boolean) => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
10
9
|
"onUpdate:modelValue"?: (value: ModelValue) => any;
|
|
10
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
11
11
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
12
|
export default _default;
|
|
@@ -3,10 +3,10 @@ type __VLS_PublicProps = {
|
|
|
3
3
|
modelValue?: ModelValue;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
-
"update:invalid": (args_0: boolean) => any;
|
|
7
6
|
"update:modelValue": (value: string) => any;
|
|
7
|
+
"update:invalid": (args_0: boolean) => any;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
-
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
10
9
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
10
|
+
"onUpdate:invalid"?: (args_0: boolean) => any;
|
|
11
11
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
12
|
export default _default;
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="created-at-filter-value-field">
|
|
3
|
-
<wt-radio
|
|
4
|
-
v-for="value of radioOpts"
|
|
5
|
-
:key="value"
|
|
6
|
-
:selected="selectedRadioValue"
|
|
7
|
-
:label="t(`webitelUI.filters.datetime.${value}`)"
|
|
8
|
-
:value="value"
|
|
9
|
-
@update:selected="handleRadioChange"
|
|
10
|
-
/>
|
|
11
|
-
<wt-datepicker
|
|
12
|
-
v-if="showDatepickers"
|
|
13
|
-
:value="model.from"
|
|
14
|
-
:label="t('reusable.from')"
|
|
15
|
-
mode="datetime"
|
|
16
|
-
@input="changeAbsoluteValue($event, 'from')"
|
|
17
|
-
/>
|
|
18
|
-
<wt-datepicker
|
|
19
|
-
v-if="showDatepickers"
|
|
20
|
-
:value="model.to"
|
|
21
|
-
:label="t('reusable.to')"
|
|
22
|
-
mode="datetime"
|
|
23
|
-
@input="changeAbsoluteValue($event, 'to')"
|
|
24
|
-
/>
|
|
25
|
-
</div>
|
|
26
|
-
</template>
|
|
27
|
-
|
|
28
|
-
<script lang="ts" setup>
|
|
29
|
-
import { WtRadio } from '@webitel/ui-sdk/components';
|
|
30
|
-
import { RelativeDatetimeValue } from '@webitel/ui-sdk/enums';
|
|
31
|
-
import { endOfToday, startOfToday } from 'date-fns';
|
|
32
|
-
import { computed, ref } from 'vue';
|
|
33
|
-
import { useI18n } from 'vue-i18n';
|
|
34
|
-
|
|
35
|
-
const model = defineModel<
|
|
36
|
-
RelativeDatetimeValue | { from: number; to: number }
|
|
37
|
-
>();
|
|
38
|
-
|
|
39
|
-
const { t } = useI18n();
|
|
40
|
-
|
|
41
|
-
const radioOpts = [
|
|
42
|
-
RelativeDatetimeValue.Today,
|
|
43
|
-
RelativeDatetimeValue.ThisWeek,
|
|
44
|
-
RelativeDatetimeValue.ThisMonth,
|
|
45
|
-
RelativeDatetimeValue.Custom,
|
|
46
|
-
];
|
|
47
|
-
|
|
48
|
-
const selectedRadioValue = ref();
|
|
49
|
-
|
|
50
|
-
const initialize = () => {
|
|
51
|
-
if (!model.value) {
|
|
52
|
-
/* initialize */
|
|
53
|
-
selectedRadioValue.value = radioOpts[0];
|
|
54
|
-
model.value = selectedRadioValue.value;
|
|
55
|
-
} else if (typeof model.value === 'string') {
|
|
56
|
-
/* RelativeDatetimeValue */
|
|
57
|
-
selectedRadioValue.value = model.value;
|
|
58
|
-
} else {
|
|
59
|
-
/* { from, to } */
|
|
60
|
-
selectedRadioValue.value = RelativeDatetimeValue.Custom;
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
initialize();
|
|
65
|
-
|
|
66
|
-
const showDatepickers = computed(() => {
|
|
67
|
-
return selectedRadioValue.value === RelativeDatetimeValue.Custom;
|
|
68
|
-
});
|
|
69
|
-
|
|
70
|
-
const handleRadioChange = (value: RelativeDatetimeValue) => {
|
|
71
|
-
selectedRadioValue.value = value;
|
|
72
|
-
if (value === RelativeDatetimeValue.Custom) {
|
|
73
|
-
model.value = {
|
|
74
|
-
from: startOfToday().getTime(),
|
|
75
|
-
to: endOfToday().getTime(),
|
|
76
|
-
};
|
|
77
|
-
} else {
|
|
78
|
-
model.value = value;
|
|
79
|
-
}
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
const changeAbsoluteValue = (value: number, prop: 'from' | 'to') => {
|
|
83
|
-
const newModelValue = {
|
|
84
|
-
...(model.value as { from: number; to: number }),
|
|
85
|
-
[prop]: value,
|
|
86
|
-
};
|
|
87
|
-
|
|
88
|
-
model.value = newModelValue;
|
|
89
|
-
};
|
|
90
|
-
</script>
|
|
91
|
-
|
|
92
|
-
<style scoped>
|
|
93
|
-
.created-at-filter-value-field {
|
|
94
|
-
display: flex;
|
|
95
|
-
flex-direction: column;
|
|
96
|
-
gap: var(--spacing-xs);
|
|
97
|
-
}
|
|
98
|
-
</style>
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="created-at-filter-value-preview">
|
|
3
|
-
<p v-if="isRelativeValue">
|
|
4
|
-
{{ t(`webitelUI.filters.datetime.${props.value}`) }}
|
|
5
|
-
</p>
|
|
6
|
-
|
|
7
|
-
<template v-else>
|
|
8
|
-
<div>
|
|
9
|
-
<p class="created-at-filter-value-preview__title">
|
|
10
|
-
{{ t('reusable.from') }}
|
|
11
|
-
</p>
|
|
12
|
-
|
|
13
|
-
<span>{{ from }}</span>
|
|
14
|
-
</div>
|
|
15
|
-
|
|
16
|
-
<div>
|
|
17
|
-
<p class="created-at-filter-value-preview__title">
|
|
18
|
-
{{ t('reusable.to') }}
|
|
19
|
-
</p>
|
|
20
|
-
|
|
21
|
-
<span>{{ to }}</span>
|
|
22
|
-
</div>
|
|
23
|
-
</template>
|
|
24
|
-
</div>
|
|
25
|
-
</template>
|
|
26
|
-
|
|
27
|
-
<script lang="ts" setup>
|
|
28
|
-
import { RelativeDatetimeValue } from '@webitel/ui-sdk/enums';
|
|
29
|
-
import { isRelativeDatetimeValue } from '@webitel/ui-sdk/scripts';
|
|
30
|
-
import { computed } from 'vue';
|
|
31
|
-
import { useI18n } from 'vue-i18n';
|
|
32
|
-
|
|
33
|
-
const props = defineProps<{
|
|
34
|
-
value: { from: number; to: number } | RelativeDatetimeValue;
|
|
35
|
-
}>();
|
|
36
|
-
|
|
37
|
-
const { t } = useI18n();
|
|
38
|
-
|
|
39
|
-
const isRelativeValue = computed(() => {
|
|
40
|
-
return isRelativeDatetimeValue(props.value);
|
|
41
|
-
});
|
|
42
|
-
|
|
43
|
-
const from = computed(() => {
|
|
44
|
-
return isRelativeDatetimeValue.value
|
|
45
|
-
? false
|
|
46
|
-
: new Date(props.value.from).toLocaleString();
|
|
47
|
-
});
|
|
48
|
-
|
|
49
|
-
const to = computed(() => {
|
|
50
|
-
return isRelativeDatetimeValue.value
|
|
51
|
-
? false
|
|
52
|
-
: new Date(props.value.to).toLocaleString();
|
|
53
|
-
});
|
|
54
|
-
</script>
|
|
55
|
-
|
|
56
|
-
<style lang="scss" scoped>
|
|
57
|
-
@use '@webitel/styleguide/typography' as *;
|
|
58
|
-
|
|
59
|
-
.duration-filter-value-preview {
|
|
60
|
-
&__title {
|
|
61
|
-
@extend %typo-subtitle-1;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
</style>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { RelativeDatetimeValue } from '@webitel/ui-sdk/enums';
|
|
2
|
-
type __VLS_PublicProps = {
|
|
3
|
-
modelValue?: RelativeDatetimeValue | {
|
|
4
|
-
from: number;
|
|
5
|
-
to: number;
|
|
6
|
-
};
|
|
7
|
-
};
|
|
8
|
-
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
-
"update:modelValue": (value: RelativeDatetimeValue | {
|
|
10
|
-
from: number;
|
|
11
|
-
to: number;
|
|
12
|
-
}) => any;
|
|
13
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
|
-
"onUpdate:modelValue"?: (value: RelativeDatetimeValue | {
|
|
15
|
-
from: number;
|
|
16
|
-
to: number;
|
|
17
|
-
}) => any;
|
|
18
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
19
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { RelativeDatetimeValue } from '@webitel/ui-sdk/enums';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
value: {
|
|
4
|
-
from: number;
|
|
5
|
-
to: number;
|
|
6
|
-
} | RelativeDatetimeValue;
|
|
7
|
-
};
|
|
8
|
-
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>;
|
|
9
|
-
export default _default;
|