@voicenter-team/voicenter-ui-plus 4.0.0-beta.6 → 4.0.0-beta.7
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/MIGRATION_v3.md +196 -196
- package/README.md +2 -1
- package/library/assets/components/VcFileUploader/VcFileUploaderSimple.css +1 -1
- package/library/assets/components/VcFilterBar/VcFilterAddMenu.css +1 -0
- package/library/assets/components/VcFilterBar/VcFilterBar.css +1 -0
- package/library/assets/components/VcFilterBar/VcFilterChip.css +1 -0
- package/library/assets/components/VcFilterBar/VcFilterChipEditor.css +1 -0
- package/library/assets/components/VcFilterBar/VcFilterEditorModal.css +1 -0
- package/library/assets/components/VcFilterBar/VcFilterEditorPanel.css +1 -0
- package/library/assets/components/VcFilterBar/editors/VcFilterBooleanEditor.css +1 -0
- package/library/assets/components/VcFilterBar/editors/VcFilterMultiselectEditor.css +1 -0
- package/library/assets/components/VcFilterBar/editors/VcFilterRangeEditor.css +1 -0
- package/library/assets/components/VcFilterBar/editors/VcFilterSelectEditor.css +1 -0
- package/library/assets/components/VcFilterBar/editors/VcFilterTextEditor.css +1 -0
- package/library/assets/components/VcFilterBar/editors/VcFilterTextListEditor.css +1 -0
- package/library/assets/components/VcJsonSchema/Components/JsonSchemaEditor.css +1 -1
- package/library/assets/components/VcLoading/Loaders/Circles.css +1 -1
- package/library/assets/components/VcLoading/Loaders/DotSpinner.css +1 -1
- package/library/assets/components/VcLoading/Loaders/LdsSpinner.css +1 -1
- package/library/assets/components/VcLoading/Loaders/LoadIcon.css +1 -1
- package/library/assets/components/VcLoading/Loaders/Stretch.css +1 -1
- package/library/assets/components/VcLoading/VcLoading.css +1 -1
- package/library/assets/components/VcMdEditor/ParameterNode.css +1 -1
- package/library/assets/components/VcSegmented/VcSegmented.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Card.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Circle.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Row.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Square.css +1 -1
- package/library/assets/components/VcSkeletonLoader/Loaders/Text.css +1 -1
- package/library/assets/components/VcTimeInput/VcTimeInput.css +1 -1
- package/library/components/VcCheckbox/VcCheckbox.vue.mjs +1 -1
- package/library/components/VcCheckbox/VcCheckboxButton.vue.mjs +1 -1
- package/library/components/VcDatePicker/VcDatePicker.vue.mjs +1 -1
- package/library/components/VcDropdown/VcDropdownItem.vue.mjs +1 -1
- package/library/components/VcFileUploader/VcFileUploaderSimple.vue.mjs +1 -1
- package/library/components/VcFilterBar/VcFilterAddMenu.vue.mjs +380 -0
- package/library/components/VcFilterBar/VcFilterAddMenu.vue3.mjs +5 -0
- package/library/components/VcFilterBar/VcFilterBar.vue.mjs +469 -0
- package/library/components/VcFilterBar/VcFilterBar.vue3.mjs +5 -0
- package/library/components/VcFilterBar/VcFilterChip.vue.mjs +136 -0
- package/library/components/VcFilterBar/VcFilterChip.vue3.mjs +5 -0
- package/library/components/VcFilterBar/VcFilterChipEditor.vue.mjs +133 -0
- package/library/components/VcFilterBar/VcFilterChipEditor.vue3.mjs +5 -0
- package/library/components/VcFilterBar/VcFilterEditorModal.vue.mjs +90 -0
- package/library/components/VcFilterBar/VcFilterEditorModal.vue3.mjs +5 -0
- package/library/components/VcFilterBar/VcFilterEditorPanel.vue.mjs +179 -0
- package/library/components/VcFilterBar/VcFilterEditorPanel.vue3.mjs +5 -0
- package/library/components/VcFilterBar/editors/VcFilterBooleanEditor.vue.mjs +62 -0
- package/library/components/VcFilterBar/editors/VcFilterBooleanEditor.vue3.mjs +5 -0
- package/library/components/VcFilterBar/editors/VcFilterMultiselectEditor.vue.mjs +199 -0
- package/library/components/VcFilterBar/editors/VcFilterMultiselectEditor.vue3.mjs +5 -0
- package/library/components/VcFilterBar/editors/VcFilterRangeEditor.vue.mjs +124 -0
- package/library/components/VcFilterBar/editors/VcFilterRangeEditor.vue3.mjs +5 -0
- package/library/components/VcFilterBar/editors/VcFilterSelectEditor.vue.mjs +96 -0
- package/library/components/VcFilterBar/editors/VcFilterSelectEditor.vue3.mjs +5 -0
- package/library/components/VcFilterBar/editors/VcFilterTextEditor.vue.mjs +58 -0
- package/library/components/VcFilterBar/editors/VcFilterTextEditor.vue3.mjs +5 -0
- package/library/components/VcFilterBar/editors/VcFilterTextListEditor.vue.mjs +155 -0
- package/library/components/VcFilterBar/editors/VcFilterTextListEditor.vue3.mjs +5 -0
- package/library/components/VcFilterBar/filterBarChip.mjs +59 -0
- package/library/components/VcFilterBar/filterBarDate.mjs +69 -0
- package/library/components/VcFilterBar/filterBarDraft.mjs +86 -0
- package/library/components/VcFilterBar/filterBarEditors.mjs +36 -0
- package/library/components/VcFilterBar/filterBarErrors.mjs +57 -0
- package/library/components/VcFilterBar/filterBarModel.mjs +378 -0
- package/library/components/VcFilterBar/filterBarOptions.mjs +253 -0
- package/library/components/VcFilterBar/filterBarSearch.mjs +89 -0
- package/library/components/VcFilterBar/filterBarValidate.mjs +99 -0
- package/library/components/VcForm/VcForm.vue.mjs +1 -1
- package/library/components/VcForm/VcFormItem.vue.mjs +1 -1
- package/library/components/VcHtmlEditor/VcHtmlEditorToolbar.vue.mjs +1 -1
- package/library/components/VcInput/VcInput.vue.mjs +1 -1
- package/library/components/VcJsonSchema/Components/JsonSchemaEditor.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/Circles.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/DotSpinner.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/DotSpinner.vue2.mjs +2 -2
- package/library/components/VcLoading/Loaders/LdsSpinner.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/LoadIcon.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/Stretch.vue.mjs +1 -1
- package/library/components/VcLoading/Loaders/Stretch.vue2.mjs +1 -1
- package/library/components/VcLoading/VcLoading.vue.mjs +1 -1
- package/library/components/VcMdEditor/ParameterNode.vue.mjs +1 -1
- package/library/components/VcMdEditor/VcMdEditor.vue.mjs +1 -1
- package/library/components/VcMdEditor/VcMdEditorToolbar.vue.mjs +1 -1
- package/library/components/VcMessage/reactions/VcMessageReactionBar.vue.mjs +1 -1
- package/library/components/VcRadio/VcRadio.vue.mjs +1 -1
- package/library/components/VcSegmented/VcSegmented.vue.mjs +1 -1
- package/library/components/VcSelect/VcSelect.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Card.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Circle.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Row.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Square.vue.mjs +1 -1
- package/library/components/VcSkeletonLoader/Loaders/Text.vue.mjs +1 -1
- package/library/components/VcSlider/VcSlider.vue.mjs +1 -1
- package/library/components/VcTimeInput/VcTimeInput.vue.mjs +61 -27
- package/library/index.mjs +227 -162
- package/library/index.mjs.br +0 -0
- package/library/index.mjs.gz +0 -0
- package/library/localization/index.mjs.gz +0 -0
- package/library/localization/locales/en.json.mjs +51 -1
- package/library/plugin-components.gen.mjs +125 -122
- package/library/plugin.mjs +225 -160
- package/library/plugin.mjs.br +0 -0
- package/library/plugin.mjs.gz +0 -0
- package/library/style.css +40 -16
- package/library/style.css.br +0 -0
- package/library/style.css.gz +0 -0
- package/library/theme/index.mjs.gz +0 -0
- package/library/tokens/tokens.mjs +2 -0
- package/library/types/components/VcFilterBar/VcFilterAddMenu.vue.d.ts +39 -0
- package/library/types/components/VcFilterBar/VcFilterBar.vue.d.ts +132 -0
- package/library/types/components/VcFilterBar/VcFilterChip.vue.d.ts +42 -0
- package/library/types/components/VcFilterBar/VcFilterChipEditor.vue.d.ts +46 -0
- package/library/types/components/VcFilterBar/VcFilterEditorModal.vue.d.ts +40 -0
- package/library/types/components/VcFilterBar/VcFilterEditorPanel.vue.d.ts +116 -0
- package/library/types/components/VcFilterBar/editors/VcFilterBooleanEditor.vue.d.ts +66 -0
- package/library/types/components/VcFilterBar/editors/VcFilterMultiselectEditor.vue.d.ts +73 -0
- package/library/types/components/VcFilterBar/editors/VcFilterRangeEditor.vue.d.ts +62 -0
- package/library/types/components/VcFilterBar/editors/VcFilterSelectEditor.vue.d.ts +62 -0
- package/library/types/components/VcFilterBar/editors/VcFilterTextEditor.vue.d.ts +68 -0
- package/library/types/components/VcFilterBar/editors/VcFilterTextListEditor.vue.d.ts +64 -0
- package/library/types/components/VcFilterBar/filterBarChip.d.ts +23 -0
- package/library/types/components/VcFilterBar/filterBarDate.d.ts +14 -0
- package/library/types/components/VcFilterBar/filterBarDraft.d.ts +28 -0
- package/library/types/components/VcFilterBar/filterBarEditors.d.ts +7 -0
- package/library/types/components/VcFilterBar/filterBarErrors.d.ts +22 -0
- package/library/types/components/VcFilterBar/filterBarModel.d.ts +83 -0
- package/library/types/components/VcFilterBar/filterBarOptions.d.ts +52 -0
- package/library/types/components/VcFilterBar/filterBarSearch.d.ts +23 -0
- package/library/types/components/VcFilterBar/filterBarValidate.d.ts +34 -0
- package/library/types/components/VcJsonSchema/Components/JsonSchemaEditor.vue.d.ts +1 -1
- package/library/types/components/VcTimeInput/VcTimeInput.vue.d.ts +9 -0
- package/library/types/components/exports.d.ts +3 -1
- package/library/types/components.gen.d.ts +1 -0
- package/library/types/entity/components/Table/VcEntityListTable.vue.d.ts +3 -3
- package/library/types/index.d.ts +8 -0
- package/library/types/localization/locales/en.json.d.ts +415 -365
- package/library/types/theme/themes.json.d.ts +72 -72
- package/library/types/tokens/tokens.d.ts +2 -1
- package/library/types/types/VcFilterBar.types.d.ts +329 -0
- package/library/types/types/VcTimeInput.types.d.ts +3 -0
- package/library/types/types/index.d.ts +2 -0
- package/library/utils/jsonSchema/index.mjs.gz +0 -0
- package/package.json +311 -311
- package/src/theme/index.ts +101 -101
- package/src/theme/tailwindScheme.js +78 -78
- package/src/theme/theme.types.ts +31 -31
- package/src/theme/themeMerge.ts +63 -63
- package/src/theme/themes.json +72 -72
- package/tailwind.config.d.ts +5 -5
- package/tailwind.config.js +178 -178
- /package/library/assets/node_modules/element-plus/theme-chalk/src/{tooltip.css → date-picker.css} +0 -0
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import type { VcFilterApplied, VcFilterDateRangeConfig, VcFilterField, VcFilterFieldValue, VcFilterModel, VcFilterOptionsStore, VcFilterSearchConfig, VcFilterErrors, VcFilterRefusedValues } from '../../types';
|
|
2
|
+
declare function updateDateRange(range: [Date, Date] | null): void;
|
|
3
|
+
declare function onSearchInput(text: string, immediate?: boolean): void;
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
/** @description The filter: a plain object, sent to the server as it is. */
|
|
6
|
+
modelValue?: VcFilterModel | undefined;
|
|
7
|
+
fields: VcFilterField[];
|
|
8
|
+
/** @description The date range; `false` hides it. Default: shown, `StartTime` / `EndTime` as dates. */
|
|
9
|
+
dateRange?: false | VcFilterDateRangeConfig | undefined;
|
|
10
|
+
/** @description The search line; `false` hides it. Default: shown, the text goes to `search`. */
|
|
11
|
+
search?: false | VcFilterSearchConfig | undefined;
|
|
12
|
+
/** @description The model key of the exclude object. */
|
|
13
|
+
excludeKey?: string | undefined;
|
|
14
|
+
/** @description A store shared with other bars; by default the bar has its own. */
|
|
15
|
+
optionsStore?: VcFilterOptionsStore | undefined;
|
|
16
|
+
/** @description Whether the chip row can be hidden behind "N filters applied". */
|
|
17
|
+
collapsible?: boolean | undefined;
|
|
18
|
+
/** @description A line above a list's options in the Add filter menu, e.g. "Calls in this period". */
|
|
19
|
+
optionsCaption?: string | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* @description Server errors by the path they name (`UserList`, `Exclude.UserList`, `StartTime`):
|
|
22
|
+
* shown at the chip, the date range or the search line, or under the toolbar. An error hides once
|
|
23
|
+
* the user changes what it names.
|
|
24
|
+
*/
|
|
25
|
+
errors?: VcFilterErrors | undefined;
|
|
26
|
+
/** @description Values the login may not use, by path (`UserList`, `Exclude.QueueList`): marked in the chip and its editor. */
|
|
27
|
+
refusedValues?: VcFilterRefusedValues | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
modelValue: () => {};
|
|
30
|
+
dateRange: undefined;
|
|
31
|
+
search: undefined;
|
|
32
|
+
excludeKey: undefined;
|
|
33
|
+
optionsStore: undefined;
|
|
34
|
+
collapsible: boolean;
|
|
35
|
+
optionsCaption: undefined;
|
|
36
|
+
errors: undefined;
|
|
37
|
+
refusedValues: undefined;
|
|
38
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
|
+
"update:modelValue": (value: VcFilterModel) => void;
|
|
40
|
+
search: (text: string) => void;
|
|
41
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
42
|
+
/** @description The filter: a plain object, sent to the server as it is. */
|
|
43
|
+
modelValue?: VcFilterModel | undefined;
|
|
44
|
+
fields: VcFilterField[];
|
|
45
|
+
/** @description The date range; `false` hides it. Default: shown, `StartTime` / `EndTime` as dates. */
|
|
46
|
+
dateRange?: false | VcFilterDateRangeConfig | undefined;
|
|
47
|
+
/** @description The search line; `false` hides it. Default: shown, the text goes to `search`. */
|
|
48
|
+
search?: false | VcFilterSearchConfig | undefined;
|
|
49
|
+
/** @description The model key of the exclude object. */
|
|
50
|
+
excludeKey?: string | undefined;
|
|
51
|
+
/** @description A store shared with other bars; by default the bar has its own. */
|
|
52
|
+
optionsStore?: VcFilterOptionsStore | undefined;
|
|
53
|
+
/** @description Whether the chip row can be hidden behind "N filters applied". */
|
|
54
|
+
collapsible?: boolean | undefined;
|
|
55
|
+
/** @description A line above a list's options in the Add filter menu, e.g. "Calls in this period". */
|
|
56
|
+
optionsCaption?: string | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* @description Server errors by the path they name (`UserList`, `Exclude.UserList`, `StartTime`):
|
|
59
|
+
* shown at the chip, the date range or the search line, or under the toolbar. An error hides once
|
|
60
|
+
* the user changes what it names.
|
|
61
|
+
*/
|
|
62
|
+
errors?: VcFilterErrors | undefined;
|
|
63
|
+
/** @description Values the login may not use, by path (`UserList`, `Exclude.QueueList`): marked in the chip and its editor. */
|
|
64
|
+
refusedValues?: VcFilterRefusedValues | undefined;
|
|
65
|
+
}>, {
|
|
66
|
+
modelValue: () => {};
|
|
67
|
+
dateRange: undefined;
|
|
68
|
+
search: undefined;
|
|
69
|
+
excludeKey: undefined;
|
|
70
|
+
optionsStore: undefined;
|
|
71
|
+
collapsible: boolean;
|
|
72
|
+
optionsCaption: undefined;
|
|
73
|
+
errors: undefined;
|
|
74
|
+
refusedValues: undefined;
|
|
75
|
+
}>>> & Readonly<{
|
|
76
|
+
onSearch?: ((text: string) => any) | undefined;
|
|
77
|
+
"onUpdate:modelValue"?: ((value: VcFilterModel) => any) | undefined;
|
|
78
|
+
}>, {
|
|
79
|
+
search: false | VcFilterSearchConfig;
|
|
80
|
+
modelValue: VcFilterModel;
|
|
81
|
+
errors: VcFilterErrors;
|
|
82
|
+
optionsCaption: string;
|
|
83
|
+
dateRange: false | VcFilterDateRangeConfig;
|
|
84
|
+
excludeKey: string;
|
|
85
|
+
optionsStore: VcFilterOptionsStore;
|
|
86
|
+
collapsible: boolean;
|
|
87
|
+
refusedValues: VcFilterRefusedValues;
|
|
88
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Partial<Record<`chip-${string}`, (_: {
|
|
89
|
+
item: VcFilterApplied<VcFilterFieldValue>;
|
|
90
|
+
remove: () => void;
|
|
91
|
+
}) => any>> & {
|
|
92
|
+
date?(_: {
|
|
93
|
+
value: [Date, Date] | undefined;
|
|
94
|
+
update: typeof updateDateRange;
|
|
95
|
+
}): any;
|
|
96
|
+
search?(_: {
|
|
97
|
+
text: string;
|
|
98
|
+
update: typeof onSearchInput;
|
|
99
|
+
}): any;
|
|
100
|
+
"search-append"?(_: {}): any;
|
|
101
|
+
add?(_: {
|
|
102
|
+
modelValue: VcFilterModel;
|
|
103
|
+
}): any;
|
|
104
|
+
actions?(_: {
|
|
105
|
+
modelValue: VcFilterModel;
|
|
106
|
+
}): any;
|
|
107
|
+
"footer-start"?(_: {}): any;
|
|
108
|
+
"footer-end"?(_: {}): any;
|
|
109
|
+
}>;
|
|
110
|
+
export default _default;
|
|
111
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
112
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
113
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
114
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
115
|
+
} : {
|
|
116
|
+
type: import('vue').PropType<T[K]>;
|
|
117
|
+
required: true;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
type __VLS_WithDefaults<P, D> = {
|
|
121
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
122
|
+
default: D[K];
|
|
123
|
+
}> : P[K];
|
|
124
|
+
};
|
|
125
|
+
type __VLS_Prettify<T> = {
|
|
126
|
+
[K in keyof T]: T[K];
|
|
127
|
+
} & {};
|
|
128
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
129
|
+
new (): {
|
|
130
|
+
$slots: S;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { VcFilterField, VcFilterFieldValue, VcFilterListItem, VcFilterMode } from '../../types';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
field: VcFilterField;
|
|
4
|
+
mode: VcFilterMode;
|
|
5
|
+
value: VcFilterFieldValue;
|
|
6
|
+
error?: string | undefined;
|
|
7
|
+
/** @description Values the login may not use. */
|
|
8
|
+
refused?: VcFilterListItem[] | undefined;
|
|
9
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
edit: (event: MouseEvent) => void;
|
|
11
|
+
remove: () => void;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
+
field: VcFilterField;
|
|
14
|
+
mode: VcFilterMode;
|
|
15
|
+
value: VcFilterFieldValue;
|
|
16
|
+
error?: string | undefined;
|
|
17
|
+
/** @description Values the login may not use. */
|
|
18
|
+
refused?: VcFilterListItem[] | undefined;
|
|
19
|
+
}>>> & Readonly<{
|
|
20
|
+
onRemove?: (() => any) | undefined;
|
|
21
|
+
onEdit?: ((event: MouseEvent) => any) | undefined;
|
|
22
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
23
|
+
value?(_: {
|
|
24
|
+
text: string;
|
|
25
|
+
value: VcFilterFieldValue;
|
|
26
|
+
}): any;
|
|
27
|
+
}>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
30
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
31
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
32
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
33
|
+
} : {
|
|
34
|
+
type: import('vue').PropType<T[K]>;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
39
|
+
new (): {
|
|
40
|
+
$slots: S;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { Slot } from 'vue';
|
|
2
|
+
import type { VcFilterField, VcFilterFieldValue, VcFilterListItem, VcFilterMode, VcFilterModel, VcFilterModelOptions } from '../../types';
|
|
3
|
+
declare function toggle(): void;
|
|
4
|
+
declare function close(): void;
|
|
5
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
field: VcFilterField;
|
|
7
|
+
mode: VcFilterMode;
|
|
8
|
+
value: VcFilterFieldValue;
|
|
9
|
+
modelValue: VcFilterModel;
|
|
10
|
+
modelOptions?: VcFilterModelOptions | undefined;
|
|
11
|
+
editorSlots?: Record<string, Slot | undefined> | undefined;
|
|
12
|
+
footerSlot?: Slot | undefined;
|
|
13
|
+
optionsCaption?: string | undefined;
|
|
14
|
+
error?: string | undefined;
|
|
15
|
+
refused?: VcFilterListItem[] | undefined;
|
|
16
|
+
}>>, {
|
|
17
|
+
open: typeof toggle;
|
|
18
|
+
close: typeof close;
|
|
19
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
+
"update:modelValue": (value: VcFilterModel) => void;
|
|
21
|
+
remove: () => void;
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
23
|
+
field: VcFilterField;
|
|
24
|
+
mode: VcFilterMode;
|
|
25
|
+
value: VcFilterFieldValue;
|
|
26
|
+
modelValue: VcFilterModel;
|
|
27
|
+
modelOptions?: VcFilterModelOptions | undefined;
|
|
28
|
+
editorSlots?: Record<string, Slot | undefined> | undefined;
|
|
29
|
+
footerSlot?: Slot | undefined;
|
|
30
|
+
optionsCaption?: string | undefined;
|
|
31
|
+
error?: string | undefined;
|
|
32
|
+
refused?: VcFilterListItem[] | undefined;
|
|
33
|
+
}>>> & Readonly<{
|
|
34
|
+
onRemove?: (() => any) | undefined;
|
|
35
|
+
"onUpdate:modelValue"?: ((value: VcFilterModel) => any) | undefined;
|
|
36
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
37
|
+
export default _default;
|
|
38
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
39
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
40
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
41
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
42
|
+
} : {
|
|
43
|
+
type: import('vue').PropType<T[K]>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { Slot } from 'vue';
|
|
2
|
+
import type { VcFilterField, VcFilterFieldValue, VcFilterListItem, VcFilterMode, VcFilterModel, VcFilterModelOptions } from '../../types';
|
|
3
|
+
import type { DraftOrigin } from './filterBarDraft';
|
|
4
|
+
declare function open(next: {
|
|
5
|
+
field: VcFilterField;
|
|
6
|
+
origin: DraftOrigin;
|
|
7
|
+
mode?: VcFilterMode;
|
|
8
|
+
value?: VcFilterFieldValue;
|
|
9
|
+
error?: string;
|
|
10
|
+
refused?: Array<VcFilterListItem>;
|
|
11
|
+
}): void;
|
|
12
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
+
modelValue: VcFilterModel;
|
|
14
|
+
modelOptions?: VcFilterModelOptions | undefined;
|
|
15
|
+
editorSlots?: Record<string, Slot | undefined> | undefined;
|
|
16
|
+
footerSlot?: Slot | undefined;
|
|
17
|
+
optionsCaption?: string | undefined;
|
|
18
|
+
}>>, {
|
|
19
|
+
open: typeof open;
|
|
20
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
+
"update:modelValue": (value: VcFilterModel) => void;
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
23
|
+
modelValue: VcFilterModel;
|
|
24
|
+
modelOptions?: VcFilterModelOptions | undefined;
|
|
25
|
+
editorSlots?: Record<string, Slot | undefined> | undefined;
|
|
26
|
+
footerSlot?: Slot | undefined;
|
|
27
|
+
optionsCaption?: string | undefined;
|
|
28
|
+
}>>> & Readonly<{
|
|
29
|
+
"onUpdate:modelValue"?: ((value: VcFilterModel) => any) | undefined;
|
|
30
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
34
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
+
} : {
|
|
37
|
+
type: import('vue').PropType<T[K]>;
|
|
38
|
+
required: true;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import type { Slot } from 'vue';
|
|
2
|
+
import type { VcFilterField, VcFilterFieldValue, VcFilterListItem, VcFilterMode, VcFilterModel } from '../../types';
|
|
3
|
+
import type { EditorSlots } from './filterBarEditors';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
field: VcFilterField;
|
|
6
|
+
mode: VcFilterMode;
|
|
7
|
+
value?: VcFilterFieldValue | undefined;
|
|
8
|
+
applied?: VcFilterListItem[] | undefined;
|
|
9
|
+
blocked?: VcFilterListItem[] | undefined;
|
|
10
|
+
canExclude?: boolean | undefined;
|
|
11
|
+
showBack?: boolean | undefined;
|
|
12
|
+
showTitle?: boolean | undefined;
|
|
13
|
+
commitLabel: string;
|
|
14
|
+
canCommit?: boolean | undefined;
|
|
15
|
+
editorSlots?: EditorSlots | undefined;
|
|
16
|
+
footerSlot?: Slot | undefined;
|
|
17
|
+
/** @description The whole filter as it would be with this draft, for the footer slot (e.g. a count from the server). */
|
|
18
|
+
preview?: VcFilterModel | undefined;
|
|
19
|
+
/** @description A line above a list's options. */
|
|
20
|
+
caption?: string | undefined;
|
|
21
|
+
/** @description The server's error for this field and side. */
|
|
22
|
+
error?: string | undefined;
|
|
23
|
+
/** @description Values the login may not use. */
|
|
24
|
+
refused?: VcFilterListItem[] | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
value: undefined;
|
|
27
|
+
applied: () => never[];
|
|
28
|
+
blocked: () => never[];
|
|
29
|
+
canExclude: boolean;
|
|
30
|
+
showBack: boolean;
|
|
31
|
+
showTitle: boolean;
|
|
32
|
+
canCommit: boolean;
|
|
33
|
+
editorSlots: undefined;
|
|
34
|
+
footerSlot: undefined;
|
|
35
|
+
preview: undefined;
|
|
36
|
+
caption: undefined;
|
|
37
|
+
error: undefined;
|
|
38
|
+
refused: () => never[];
|
|
39
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
40
|
+
"update:mode": (mode: VcFilterMode) => void;
|
|
41
|
+
"update:value": (value: VcFilterFieldValue | undefined) => void;
|
|
42
|
+
back: () => void;
|
|
43
|
+
commit: () => void;
|
|
44
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
45
|
+
field: VcFilterField;
|
|
46
|
+
mode: VcFilterMode;
|
|
47
|
+
value?: VcFilterFieldValue | undefined;
|
|
48
|
+
applied?: VcFilterListItem[] | undefined;
|
|
49
|
+
blocked?: VcFilterListItem[] | undefined;
|
|
50
|
+
canExclude?: boolean | undefined;
|
|
51
|
+
showBack?: boolean | undefined;
|
|
52
|
+
showTitle?: boolean | undefined;
|
|
53
|
+
commitLabel: string;
|
|
54
|
+
canCommit?: boolean | undefined;
|
|
55
|
+
editorSlots?: EditorSlots | undefined;
|
|
56
|
+
footerSlot?: Slot | undefined;
|
|
57
|
+
/** @description The whole filter as it would be with this draft, for the footer slot (e.g. a count from the server). */
|
|
58
|
+
preview?: VcFilterModel | undefined;
|
|
59
|
+
/** @description A line above a list's options. */
|
|
60
|
+
caption?: string | undefined;
|
|
61
|
+
/** @description The server's error for this field and side. */
|
|
62
|
+
error?: string | undefined;
|
|
63
|
+
/** @description Values the login may not use. */
|
|
64
|
+
refused?: VcFilterListItem[] | undefined;
|
|
65
|
+
}>, {
|
|
66
|
+
value: undefined;
|
|
67
|
+
applied: () => never[];
|
|
68
|
+
blocked: () => never[];
|
|
69
|
+
canExclude: boolean;
|
|
70
|
+
showBack: boolean;
|
|
71
|
+
showTitle: boolean;
|
|
72
|
+
canCommit: boolean;
|
|
73
|
+
editorSlots: undefined;
|
|
74
|
+
footerSlot: undefined;
|
|
75
|
+
preview: undefined;
|
|
76
|
+
caption: undefined;
|
|
77
|
+
error: undefined;
|
|
78
|
+
refused: () => never[];
|
|
79
|
+
}>>> & Readonly<{
|
|
80
|
+
"onUpdate:mode"?: ((mode: VcFilterMode) => any) | undefined;
|
|
81
|
+
"onUpdate:value"?: ((value: VcFilterFieldValue | undefined) => any) | undefined;
|
|
82
|
+
onBack?: (() => any) | undefined;
|
|
83
|
+
onCommit?: (() => any) | undefined;
|
|
84
|
+
}>, {
|
|
85
|
+
error: string;
|
|
86
|
+
value: VcFilterFieldValue;
|
|
87
|
+
caption: string;
|
|
88
|
+
preview: VcFilterModel;
|
|
89
|
+
blocked: Array<VcFilterListItem>;
|
|
90
|
+
applied: Array<VcFilterListItem>;
|
|
91
|
+
refused: Array<VcFilterListItem>;
|
|
92
|
+
canExclude: boolean;
|
|
93
|
+
showBack: boolean;
|
|
94
|
+
showTitle: boolean;
|
|
95
|
+
canCommit: boolean;
|
|
96
|
+
editorSlots: EditorSlots;
|
|
97
|
+
footerSlot: Slot;
|
|
98
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
99
|
+
export default _default;
|
|
100
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
101
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
102
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
103
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
104
|
+
} : {
|
|
105
|
+
type: import('vue').PropType<T[K]>;
|
|
106
|
+
required: true;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
type __VLS_WithDefaults<P, D> = {
|
|
110
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
111
|
+
default: D[K];
|
|
112
|
+
}> : P[K];
|
|
113
|
+
};
|
|
114
|
+
type __VLS_Prettify<T> = {
|
|
115
|
+
[K in keyof T]: T[K];
|
|
116
|
+
} & {};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import type { VcFilterField, VcFilterFieldValue, VcFilterListItem, VcFilterMode } from '../../../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
/** @description The editor's working copy (the editor contract, `VcFilterEditorProps`). */
|
|
4
|
+
modelValue?: VcFilterFieldValue | undefined;
|
|
5
|
+
field: VcFilterField;
|
|
6
|
+
mode: VcFilterMode;
|
|
7
|
+
/** @description Values the other side of a list field has. */
|
|
8
|
+
blocked?: VcFilterListItem[] | undefined;
|
|
9
|
+
/** @description Values the field already has on this side. */
|
|
10
|
+
applied?: VcFilterListItem[] | undefined;
|
|
11
|
+
error?: string | undefined;
|
|
12
|
+
/** @description Values the login may not use. */
|
|
13
|
+
refused?: VcFilterListItem[] | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
modelValue: undefined;
|
|
16
|
+
blocked: () => never[];
|
|
17
|
+
applied: () => never[];
|
|
18
|
+
error: undefined;
|
|
19
|
+
refused: () => never[];
|
|
20
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
+
"update:modelValue": (value: boolean | undefined) => void;
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
23
|
+
/** @description The editor's working copy (the editor contract, `VcFilterEditorProps`). */
|
|
24
|
+
modelValue?: VcFilterFieldValue | undefined;
|
|
25
|
+
field: VcFilterField;
|
|
26
|
+
mode: VcFilterMode;
|
|
27
|
+
/** @description Values the other side of a list field has. */
|
|
28
|
+
blocked?: VcFilterListItem[] | undefined;
|
|
29
|
+
/** @description Values the field already has on this side. */
|
|
30
|
+
applied?: VcFilterListItem[] | undefined;
|
|
31
|
+
error?: string | undefined;
|
|
32
|
+
/** @description Values the login may not use. */
|
|
33
|
+
refused?: VcFilterListItem[] | undefined;
|
|
34
|
+
}>, {
|
|
35
|
+
modelValue: undefined;
|
|
36
|
+
blocked: () => never[];
|
|
37
|
+
applied: () => never[];
|
|
38
|
+
error: undefined;
|
|
39
|
+
refused: () => never[];
|
|
40
|
+
}>>> & Readonly<{
|
|
41
|
+
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
|
|
42
|
+
}>, {
|
|
43
|
+
error: string;
|
|
44
|
+
modelValue: VcFilterFieldValue;
|
|
45
|
+
blocked: Array<VcFilterListItem>;
|
|
46
|
+
applied: Array<VcFilterListItem>;
|
|
47
|
+
refused: Array<VcFilterListItem>;
|
|
48
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
49
|
+
export default _default;
|
|
50
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
51
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
52
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
53
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
54
|
+
} : {
|
|
55
|
+
type: import('vue').PropType<T[K]>;
|
|
56
|
+
required: true;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
type __VLS_WithDefaults<P, D> = {
|
|
60
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
61
|
+
default: D[K];
|
|
62
|
+
}> : P[K];
|
|
63
|
+
};
|
|
64
|
+
type __VLS_Prettify<T> = {
|
|
65
|
+
[K in keyof T]: T[K];
|
|
66
|
+
} & {};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import type { VcFilterField, VcFilterFieldValue, VcFilterListItem, VcFilterMode } from '../../../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
/** @description The editor's working copy (the editor contract, `VcFilterEditorProps`). */
|
|
4
|
+
modelValue?: VcFilterFieldValue | undefined;
|
|
5
|
+
field: VcFilterField;
|
|
6
|
+
mode: VcFilterMode;
|
|
7
|
+
/** @description Values the other side of a list field has. */
|
|
8
|
+
blocked?: VcFilterListItem[] | undefined;
|
|
9
|
+
/** @description Values the field already has on this side. */
|
|
10
|
+
applied?: VcFilterListItem[] | undefined;
|
|
11
|
+
error?: string | undefined;
|
|
12
|
+
/** @description Values the login may not use. */
|
|
13
|
+
refused?: VcFilterListItem[] | undefined;
|
|
14
|
+
/** @description A line above the options, e.g. "Calls in this period". */
|
|
15
|
+
caption?: string | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
modelValue: undefined;
|
|
18
|
+
blocked: () => never[];
|
|
19
|
+
applied: () => never[];
|
|
20
|
+
error: undefined;
|
|
21
|
+
refused: () => never[];
|
|
22
|
+
caption: undefined;
|
|
23
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
+
"update:modelValue": (value: VcFilterListItem[] | undefined) => void;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
26
|
+
/** @description The editor's working copy (the editor contract, `VcFilterEditorProps`). */
|
|
27
|
+
modelValue?: VcFilterFieldValue | undefined;
|
|
28
|
+
field: VcFilterField;
|
|
29
|
+
mode: VcFilterMode;
|
|
30
|
+
/** @description Values the other side of a list field has. */
|
|
31
|
+
blocked?: VcFilterListItem[] | undefined;
|
|
32
|
+
/** @description Values the field already has on this side. */
|
|
33
|
+
applied?: VcFilterListItem[] | undefined;
|
|
34
|
+
error?: string | undefined;
|
|
35
|
+
/** @description Values the login may not use. */
|
|
36
|
+
refused?: VcFilterListItem[] | undefined;
|
|
37
|
+
/** @description A line above the options, e.g. "Calls in this period". */
|
|
38
|
+
caption?: string | undefined;
|
|
39
|
+
}>, {
|
|
40
|
+
modelValue: undefined;
|
|
41
|
+
blocked: () => never[];
|
|
42
|
+
applied: () => never[];
|
|
43
|
+
error: undefined;
|
|
44
|
+
refused: () => never[];
|
|
45
|
+
caption: undefined;
|
|
46
|
+
}>>> & Readonly<{
|
|
47
|
+
"onUpdate:modelValue"?: ((value: VcFilterListItem[] | undefined) => any) | undefined;
|
|
48
|
+
}>, {
|
|
49
|
+
error: string;
|
|
50
|
+
modelValue: VcFilterFieldValue;
|
|
51
|
+
caption: string;
|
|
52
|
+
blocked: Array<VcFilterListItem>;
|
|
53
|
+
applied: Array<VcFilterListItem>;
|
|
54
|
+
refused: Array<VcFilterListItem>;
|
|
55
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
56
|
+
export default _default;
|
|
57
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
58
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
59
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
60
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
61
|
+
} : {
|
|
62
|
+
type: import('vue').PropType<T[K]>;
|
|
63
|
+
required: true;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
type __VLS_WithDefaults<P, D> = {
|
|
67
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
68
|
+
default: D[K];
|
|
69
|
+
}> : P[K];
|
|
70
|
+
};
|
|
71
|
+
type __VLS_Prettify<T> = {
|
|
72
|
+
[K in keyof T]: T[K];
|
|
73
|
+
} & {};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import type { VcFilterField, VcFilterFieldValue, VcFilterListItem, VcFilterMode, VcFilterRangeValue } from '../../../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
/** @description The editor's working copy (the editor contract, `VcFilterEditorProps`). */
|
|
4
|
+
modelValue?: VcFilterFieldValue | undefined;
|
|
5
|
+
field: VcFilterField;
|
|
6
|
+
mode: VcFilterMode;
|
|
7
|
+
blocked?: VcFilterListItem[] | undefined;
|
|
8
|
+
applied?: VcFilterListItem[] | undefined;
|
|
9
|
+
error?: string | undefined;
|
|
10
|
+
/** @description Values the login may not use. */
|
|
11
|
+
refused?: VcFilterListItem[] | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
modelValue: undefined;
|
|
14
|
+
blocked: () => never[];
|
|
15
|
+
applied: () => never[];
|
|
16
|
+
error: undefined;
|
|
17
|
+
refused: () => never[];
|
|
18
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
"update:modelValue": (value: VcFilterRangeValue | undefined) => void;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
21
|
+
/** @description The editor's working copy (the editor contract, `VcFilterEditorProps`). */
|
|
22
|
+
modelValue?: VcFilterFieldValue | undefined;
|
|
23
|
+
field: VcFilterField;
|
|
24
|
+
mode: VcFilterMode;
|
|
25
|
+
blocked?: VcFilterListItem[] | undefined;
|
|
26
|
+
applied?: VcFilterListItem[] | undefined;
|
|
27
|
+
error?: string | undefined;
|
|
28
|
+
/** @description Values the login may not use. */
|
|
29
|
+
refused?: VcFilterListItem[] | undefined;
|
|
30
|
+
}>, {
|
|
31
|
+
modelValue: undefined;
|
|
32
|
+
blocked: () => never[];
|
|
33
|
+
applied: () => never[];
|
|
34
|
+
error: undefined;
|
|
35
|
+
refused: () => never[];
|
|
36
|
+
}>>> & Readonly<{
|
|
37
|
+
"onUpdate:modelValue"?: ((value: VcFilterRangeValue | undefined) => any) | undefined;
|
|
38
|
+
}>, {
|
|
39
|
+
error: string;
|
|
40
|
+
modelValue: VcFilterFieldValue;
|
|
41
|
+
blocked: Array<VcFilterListItem>;
|
|
42
|
+
applied: Array<VcFilterListItem>;
|
|
43
|
+
refused: Array<VcFilterListItem>;
|
|
44
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
45
|
+
export default _default;
|
|
46
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
47
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
48
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
49
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
50
|
+
} : {
|
|
51
|
+
type: import('vue').PropType<T[K]>;
|
|
52
|
+
required: true;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
type __VLS_WithDefaults<P, D> = {
|
|
56
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
57
|
+
default: D[K];
|
|
58
|
+
}> : P[K];
|
|
59
|
+
};
|
|
60
|
+
type __VLS_Prettify<T> = {
|
|
61
|
+
[K in keyof T]: T[K];
|
|
62
|
+
} & {};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import type { VcFilterField, VcFilterFieldValue, VcFilterListItem, VcFilterMode } from '../../../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
/** @description The editor's working copy (the editor contract, `VcFilterEditorProps`). */
|
|
4
|
+
modelValue?: VcFilterFieldValue | undefined;
|
|
5
|
+
field: VcFilterField;
|
|
6
|
+
mode: VcFilterMode;
|
|
7
|
+
blocked?: VcFilterListItem[] | undefined;
|
|
8
|
+
applied?: VcFilterListItem[] | undefined;
|
|
9
|
+
error?: string | undefined;
|
|
10
|
+
/** @description Values the login may not use. */
|
|
11
|
+
refused?: VcFilterListItem[] | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
modelValue: undefined;
|
|
14
|
+
blocked: () => never[];
|
|
15
|
+
applied: () => never[];
|
|
16
|
+
error: undefined;
|
|
17
|
+
refused: () => never[];
|
|
18
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
"update:modelValue": (value: VcFilterListItem | undefined) => void;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
21
|
+
/** @description The editor's working copy (the editor contract, `VcFilterEditorProps`). */
|
|
22
|
+
modelValue?: VcFilterFieldValue | undefined;
|
|
23
|
+
field: VcFilterField;
|
|
24
|
+
mode: VcFilterMode;
|
|
25
|
+
blocked?: VcFilterListItem[] | undefined;
|
|
26
|
+
applied?: VcFilterListItem[] | undefined;
|
|
27
|
+
error?: string | undefined;
|
|
28
|
+
/** @description Values the login may not use. */
|
|
29
|
+
refused?: VcFilterListItem[] | undefined;
|
|
30
|
+
}>, {
|
|
31
|
+
modelValue: undefined;
|
|
32
|
+
blocked: () => never[];
|
|
33
|
+
applied: () => never[];
|
|
34
|
+
error: undefined;
|
|
35
|
+
refused: () => never[];
|
|
36
|
+
}>>> & Readonly<{
|
|
37
|
+
"onUpdate:modelValue"?: ((value: VcFilterListItem | undefined) => any) | undefined;
|
|
38
|
+
}>, {
|
|
39
|
+
error: string;
|
|
40
|
+
modelValue: VcFilterFieldValue;
|
|
41
|
+
blocked: Array<VcFilterListItem>;
|
|
42
|
+
applied: Array<VcFilterListItem>;
|
|
43
|
+
refused: Array<VcFilterListItem>;
|
|
44
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
45
|
+
export default _default;
|
|
46
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
47
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
48
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
49
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
50
|
+
} : {
|
|
51
|
+
type: import('vue').PropType<T[K]>;
|
|
52
|
+
required: true;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
type __VLS_WithDefaults<P, D> = {
|
|
56
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
57
|
+
default: D[K];
|
|
58
|
+
}> : P[K];
|
|
59
|
+
};
|
|
60
|
+
type __VLS_Prettify<T> = {
|
|
61
|
+
[K in keyof T]: T[K];
|
|
62
|
+
} & {};
|