@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.
Files changed (152) hide show
  1. package/MIGRATION_v3.md +196 -196
  2. package/README.md +2 -1
  3. package/library/assets/components/VcFileUploader/VcFileUploaderSimple.css +1 -1
  4. package/library/assets/components/VcFilterBar/VcFilterAddMenu.css +1 -0
  5. package/library/assets/components/VcFilterBar/VcFilterBar.css +1 -0
  6. package/library/assets/components/VcFilterBar/VcFilterChip.css +1 -0
  7. package/library/assets/components/VcFilterBar/VcFilterChipEditor.css +1 -0
  8. package/library/assets/components/VcFilterBar/VcFilterEditorModal.css +1 -0
  9. package/library/assets/components/VcFilterBar/VcFilterEditorPanel.css +1 -0
  10. package/library/assets/components/VcFilterBar/editors/VcFilterBooleanEditor.css +1 -0
  11. package/library/assets/components/VcFilterBar/editors/VcFilterMultiselectEditor.css +1 -0
  12. package/library/assets/components/VcFilterBar/editors/VcFilterRangeEditor.css +1 -0
  13. package/library/assets/components/VcFilterBar/editors/VcFilterSelectEditor.css +1 -0
  14. package/library/assets/components/VcFilterBar/editors/VcFilterTextEditor.css +1 -0
  15. package/library/assets/components/VcFilterBar/editors/VcFilterTextListEditor.css +1 -0
  16. package/library/assets/components/VcJsonSchema/Components/JsonSchemaEditor.css +1 -1
  17. package/library/assets/components/VcLoading/Loaders/Circles.css +1 -1
  18. package/library/assets/components/VcLoading/Loaders/DotSpinner.css +1 -1
  19. package/library/assets/components/VcLoading/Loaders/LdsSpinner.css +1 -1
  20. package/library/assets/components/VcLoading/Loaders/LoadIcon.css +1 -1
  21. package/library/assets/components/VcLoading/Loaders/Stretch.css +1 -1
  22. package/library/assets/components/VcLoading/VcLoading.css +1 -1
  23. package/library/assets/components/VcMdEditor/ParameterNode.css +1 -1
  24. package/library/assets/components/VcSegmented/VcSegmented.css +1 -1
  25. package/library/assets/components/VcSkeletonLoader/Loaders/Card.css +1 -1
  26. package/library/assets/components/VcSkeletonLoader/Loaders/Circle.css +1 -1
  27. package/library/assets/components/VcSkeletonLoader/Loaders/Row.css +1 -1
  28. package/library/assets/components/VcSkeletonLoader/Loaders/Square.css +1 -1
  29. package/library/assets/components/VcSkeletonLoader/Loaders/Text.css +1 -1
  30. package/library/assets/components/VcTimeInput/VcTimeInput.css +1 -1
  31. package/library/components/VcCheckbox/VcCheckbox.vue.mjs +1 -1
  32. package/library/components/VcCheckbox/VcCheckboxButton.vue.mjs +1 -1
  33. package/library/components/VcDatePicker/VcDatePicker.vue.mjs +1 -1
  34. package/library/components/VcDropdown/VcDropdownItem.vue.mjs +1 -1
  35. package/library/components/VcFileUploader/VcFileUploaderSimple.vue.mjs +1 -1
  36. package/library/components/VcFilterBar/VcFilterAddMenu.vue.mjs +380 -0
  37. package/library/components/VcFilterBar/VcFilterAddMenu.vue3.mjs +5 -0
  38. package/library/components/VcFilterBar/VcFilterBar.vue.mjs +469 -0
  39. package/library/components/VcFilterBar/VcFilterBar.vue3.mjs +5 -0
  40. package/library/components/VcFilterBar/VcFilterChip.vue.mjs +136 -0
  41. package/library/components/VcFilterBar/VcFilterChip.vue3.mjs +5 -0
  42. package/library/components/VcFilterBar/VcFilterChipEditor.vue.mjs +133 -0
  43. package/library/components/VcFilterBar/VcFilterChipEditor.vue3.mjs +5 -0
  44. package/library/components/VcFilterBar/VcFilterEditorModal.vue.mjs +90 -0
  45. package/library/components/VcFilterBar/VcFilterEditorModal.vue3.mjs +5 -0
  46. package/library/components/VcFilterBar/VcFilterEditorPanel.vue.mjs +179 -0
  47. package/library/components/VcFilterBar/VcFilterEditorPanel.vue3.mjs +5 -0
  48. package/library/components/VcFilterBar/editors/VcFilterBooleanEditor.vue.mjs +62 -0
  49. package/library/components/VcFilterBar/editors/VcFilterBooleanEditor.vue3.mjs +5 -0
  50. package/library/components/VcFilterBar/editors/VcFilterMultiselectEditor.vue.mjs +199 -0
  51. package/library/components/VcFilterBar/editors/VcFilterMultiselectEditor.vue3.mjs +5 -0
  52. package/library/components/VcFilterBar/editors/VcFilterRangeEditor.vue.mjs +124 -0
  53. package/library/components/VcFilterBar/editors/VcFilterRangeEditor.vue3.mjs +5 -0
  54. package/library/components/VcFilterBar/editors/VcFilterSelectEditor.vue.mjs +96 -0
  55. package/library/components/VcFilterBar/editors/VcFilterSelectEditor.vue3.mjs +5 -0
  56. package/library/components/VcFilterBar/editors/VcFilterTextEditor.vue.mjs +58 -0
  57. package/library/components/VcFilterBar/editors/VcFilterTextEditor.vue3.mjs +5 -0
  58. package/library/components/VcFilterBar/editors/VcFilterTextListEditor.vue.mjs +155 -0
  59. package/library/components/VcFilterBar/editors/VcFilterTextListEditor.vue3.mjs +5 -0
  60. package/library/components/VcFilterBar/filterBarChip.mjs +59 -0
  61. package/library/components/VcFilterBar/filterBarDate.mjs +69 -0
  62. package/library/components/VcFilterBar/filterBarDraft.mjs +86 -0
  63. package/library/components/VcFilterBar/filterBarEditors.mjs +36 -0
  64. package/library/components/VcFilterBar/filterBarErrors.mjs +57 -0
  65. package/library/components/VcFilterBar/filterBarModel.mjs +378 -0
  66. package/library/components/VcFilterBar/filterBarOptions.mjs +253 -0
  67. package/library/components/VcFilterBar/filterBarSearch.mjs +89 -0
  68. package/library/components/VcFilterBar/filterBarValidate.mjs +99 -0
  69. package/library/components/VcForm/VcForm.vue.mjs +1 -1
  70. package/library/components/VcForm/VcFormItem.vue.mjs +1 -1
  71. package/library/components/VcHtmlEditor/VcHtmlEditorToolbar.vue.mjs +1 -1
  72. package/library/components/VcInput/VcInput.vue.mjs +1 -1
  73. package/library/components/VcJsonSchema/Components/JsonSchemaEditor.vue.mjs +1 -1
  74. package/library/components/VcLoading/Loaders/Circles.vue.mjs +1 -1
  75. package/library/components/VcLoading/Loaders/DotSpinner.vue.mjs +1 -1
  76. package/library/components/VcLoading/Loaders/DotSpinner.vue2.mjs +2 -2
  77. package/library/components/VcLoading/Loaders/LdsSpinner.vue.mjs +1 -1
  78. package/library/components/VcLoading/Loaders/LoadIcon.vue.mjs +1 -1
  79. package/library/components/VcLoading/Loaders/Stretch.vue.mjs +1 -1
  80. package/library/components/VcLoading/Loaders/Stretch.vue2.mjs +1 -1
  81. package/library/components/VcLoading/VcLoading.vue.mjs +1 -1
  82. package/library/components/VcMdEditor/ParameterNode.vue.mjs +1 -1
  83. package/library/components/VcMdEditor/VcMdEditor.vue.mjs +1 -1
  84. package/library/components/VcMdEditor/VcMdEditorToolbar.vue.mjs +1 -1
  85. package/library/components/VcMessage/reactions/VcMessageReactionBar.vue.mjs +1 -1
  86. package/library/components/VcRadio/VcRadio.vue.mjs +1 -1
  87. package/library/components/VcSegmented/VcSegmented.vue.mjs +1 -1
  88. package/library/components/VcSelect/VcSelect.vue.mjs +1 -1
  89. package/library/components/VcSkeletonLoader/Loaders/Card.vue.mjs +1 -1
  90. package/library/components/VcSkeletonLoader/Loaders/Circle.vue.mjs +1 -1
  91. package/library/components/VcSkeletonLoader/Loaders/Row.vue.mjs +1 -1
  92. package/library/components/VcSkeletonLoader/Loaders/Square.vue.mjs +1 -1
  93. package/library/components/VcSkeletonLoader/Loaders/Text.vue.mjs +1 -1
  94. package/library/components/VcSlider/VcSlider.vue.mjs +1 -1
  95. package/library/components/VcTimeInput/VcTimeInput.vue.mjs +61 -27
  96. package/library/index.mjs +227 -162
  97. package/library/index.mjs.br +0 -0
  98. package/library/index.mjs.gz +0 -0
  99. package/library/localization/index.mjs.gz +0 -0
  100. package/library/localization/locales/en.json.mjs +51 -1
  101. package/library/plugin-components.gen.mjs +125 -122
  102. package/library/plugin.mjs +225 -160
  103. package/library/plugin.mjs.br +0 -0
  104. package/library/plugin.mjs.gz +0 -0
  105. package/library/style.css +40 -16
  106. package/library/style.css.br +0 -0
  107. package/library/style.css.gz +0 -0
  108. package/library/theme/index.mjs.gz +0 -0
  109. package/library/tokens/tokens.mjs +2 -0
  110. package/library/types/components/VcFilterBar/VcFilterAddMenu.vue.d.ts +39 -0
  111. package/library/types/components/VcFilterBar/VcFilterBar.vue.d.ts +132 -0
  112. package/library/types/components/VcFilterBar/VcFilterChip.vue.d.ts +42 -0
  113. package/library/types/components/VcFilterBar/VcFilterChipEditor.vue.d.ts +46 -0
  114. package/library/types/components/VcFilterBar/VcFilterEditorModal.vue.d.ts +40 -0
  115. package/library/types/components/VcFilterBar/VcFilterEditorPanel.vue.d.ts +116 -0
  116. package/library/types/components/VcFilterBar/editors/VcFilterBooleanEditor.vue.d.ts +66 -0
  117. package/library/types/components/VcFilterBar/editors/VcFilterMultiselectEditor.vue.d.ts +73 -0
  118. package/library/types/components/VcFilterBar/editors/VcFilterRangeEditor.vue.d.ts +62 -0
  119. package/library/types/components/VcFilterBar/editors/VcFilterSelectEditor.vue.d.ts +62 -0
  120. package/library/types/components/VcFilterBar/editors/VcFilterTextEditor.vue.d.ts +68 -0
  121. package/library/types/components/VcFilterBar/editors/VcFilterTextListEditor.vue.d.ts +64 -0
  122. package/library/types/components/VcFilterBar/filterBarChip.d.ts +23 -0
  123. package/library/types/components/VcFilterBar/filterBarDate.d.ts +14 -0
  124. package/library/types/components/VcFilterBar/filterBarDraft.d.ts +28 -0
  125. package/library/types/components/VcFilterBar/filterBarEditors.d.ts +7 -0
  126. package/library/types/components/VcFilterBar/filterBarErrors.d.ts +22 -0
  127. package/library/types/components/VcFilterBar/filterBarModel.d.ts +83 -0
  128. package/library/types/components/VcFilterBar/filterBarOptions.d.ts +52 -0
  129. package/library/types/components/VcFilterBar/filterBarSearch.d.ts +23 -0
  130. package/library/types/components/VcFilterBar/filterBarValidate.d.ts +34 -0
  131. package/library/types/components/VcJsonSchema/Components/JsonSchemaEditor.vue.d.ts +1 -1
  132. package/library/types/components/VcTimeInput/VcTimeInput.vue.d.ts +9 -0
  133. package/library/types/components/exports.d.ts +3 -1
  134. package/library/types/components.gen.d.ts +1 -0
  135. package/library/types/entity/components/Table/VcEntityListTable.vue.d.ts +3 -3
  136. package/library/types/index.d.ts +8 -0
  137. package/library/types/localization/locales/en.json.d.ts +415 -365
  138. package/library/types/theme/themes.json.d.ts +72 -72
  139. package/library/types/tokens/tokens.d.ts +2 -1
  140. package/library/types/types/VcFilterBar.types.d.ts +329 -0
  141. package/library/types/types/VcTimeInput.types.d.ts +3 -0
  142. package/library/types/types/index.d.ts +2 -0
  143. package/library/utils/jsonSchema/index.mjs.gz +0 -0
  144. package/package.json +311 -311
  145. package/src/theme/index.ts +101 -101
  146. package/src/theme/tailwindScheme.js +78 -78
  147. package/src/theme/theme.types.ts +31 -31
  148. package/src/theme/themeMerge.ts +63 -63
  149. package/src/theme/themes.json +72 -72
  150. package/tailwind.config.d.ts +5 -5
  151. package/tailwind.config.js +178 -178
  152. /package/library/assets/node_modules/element-plus/theme-chalk/src/{tooltip.css → date-picker.css} +0 -0
@@ -0,0 +1,68 @@
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: string | undefined) => void;
22
+ close: () => void;
23
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
24
+ /** @description The editor's working copy (the editor contract, `VcFilterEditorProps`). */
25
+ modelValue?: VcFilterFieldValue | undefined;
26
+ field: VcFilterField;
27
+ mode: VcFilterMode;
28
+ /** @description Values the other side of a list field has. */
29
+ blocked?: VcFilterListItem[] | undefined;
30
+ /** @description Values the field already has on this side. */
31
+ applied?: VcFilterListItem[] | undefined;
32
+ error?: string | undefined;
33
+ /** @description Values the login may not use. */
34
+ refused?: VcFilterListItem[] | undefined;
35
+ }>, {
36
+ modelValue: undefined;
37
+ blocked: () => never[];
38
+ applied: () => never[];
39
+ error: undefined;
40
+ refused: () => never[];
41
+ }>>> & Readonly<{
42
+ "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
43
+ onClose?: (() => any) | undefined;
44
+ }>, {
45
+ error: string;
46
+ modelValue: VcFilterFieldValue;
47
+ blocked: Array<VcFilterListItem>;
48
+ applied: Array<VcFilterListItem>;
49
+ refused: Array<VcFilterListItem>;
50
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
51
+ export default _default;
52
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
53
+ type __VLS_TypePropsToRuntimeProps<T> = {
54
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
55
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
56
+ } : {
57
+ type: import('vue').PropType<T[K]>;
58
+ required: true;
59
+ };
60
+ };
61
+ type __VLS_WithDefaults<P, D> = {
62
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
63
+ default: D[K];
64
+ }> : P[K];
65
+ };
66
+ type __VLS_Prettify<T> = {
67
+ [K in keyof T]: T[K];
68
+ } & {};
@@ -0,0 +1,64 @@
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
+ close: () => void;
21
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
22
+ /** @description The editor's working copy (the editor contract, `VcFilterEditorProps`). */
23
+ modelValue?: VcFilterFieldValue | undefined;
24
+ field: VcFilterField;
25
+ mode: VcFilterMode;
26
+ blocked?: VcFilterListItem[] | undefined;
27
+ applied?: VcFilterListItem[] | undefined;
28
+ error?: string | undefined;
29
+ /** @description Values the login may not use. */
30
+ refused?: VcFilterListItem[] | undefined;
31
+ }>, {
32
+ modelValue: undefined;
33
+ blocked: () => never[];
34
+ applied: () => never[];
35
+ error: undefined;
36
+ refused: () => never[];
37
+ }>>> & Readonly<{
38
+ "onUpdate:modelValue"?: ((value: VcFilterListItem[] | undefined) => any) | undefined;
39
+ onClose?: (() => any) | undefined;
40
+ }>, {
41
+ error: string;
42
+ modelValue: VcFilterFieldValue;
43
+ blocked: Array<VcFilterListItem>;
44
+ applied: Array<VcFilterListItem>;
45
+ refused: Array<VcFilterListItem>;
46
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
47
+ export default _default;
48
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
49
+ type __VLS_TypePropsToRuntimeProps<T> = {
50
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
51
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
52
+ } : {
53
+ type: import('vue').PropType<T[K]>;
54
+ required: true;
55
+ };
56
+ };
57
+ type __VLS_WithDefaults<P, D> = {
58
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
59
+ default: D[K];
60
+ }> : P[K];
61
+ };
62
+ type __VLS_Prettify<T> = {
63
+ [K in keyof T]: T[K];
64
+ } & {};
@@ -0,0 +1,23 @@
1
+ import type { VcFilterField, VcFilterFieldValue, VcFilterListItem } from '../../types';
2
+ export declare const CHIP_MAX_NAMES = 2;
3
+ export interface ChipTextContext {
4
+ /** @description The name of a list value; `undefined` while its list is not loaded. */
5
+ optionLabel: (value: VcFilterListItem) => string | undefined;
6
+ yes: string;
7
+ no: string;
8
+ maxNames?: number;
9
+ }
10
+ export interface ChipText {
11
+ /** @description What the chip shows, e.g. `Incoming, Queue +1`. */
12
+ text: string;
13
+ /** @description Every value, for the tooltip and the accessible name. */
14
+ full: string;
15
+ }
16
+ export declare function formatChipValue(field: VcFilterField, value: VcFilterFieldValue, context: ChipTextContext): ChipText;
17
+ /**
18
+ * @description The direction of a value's text: right to left when it has Hebrew or Arabic letters,
19
+ * otherwise left to right, so ids, numbers, phone numbers and ranges keep their order on an RTL page.
20
+ */
21
+ export declare function getTextDirection(text: string): 'ltr' | 'rtl';
22
+ /** @description The label of an option object, read through the keys of the field's option config. */
23
+ export declare function readOptionKey(option: object, key: string): unknown;
@@ -0,0 +1,14 @@
1
+ import type { VcFilterDateRangeConfig, VcFilterDateValueFormat, VcFilterModel } from '../../types';
2
+ export declare const DEFAULT_START_KEY = "StartTime";
3
+ export declare const DEFAULT_END_KEY = "EndTime";
4
+ /**
5
+ * @description A bound as the model keeps it. With whole days the start is the start of its day and the
6
+ * end the end of its day; with `keepTime` the bound is the time picked, to the second.
7
+ */
8
+ export declare function toModelDate(date: Date, format: VcFilterDateValueFormat, edge: 'start' | 'end', keepTime?: boolean): string | number;
9
+ /** @description A bound of the model as a local Date, or `undefined` when it is not one. */
10
+ export declare function fromModelDate(value: unknown): Date | undefined;
11
+ export declare function getDateKeys(config: VcFilterDateRangeConfig): [string, string];
12
+ export declare function readDateRange(model: VcFilterModel, config: VcFilterDateRangeConfig): [Date, Date] | undefined;
13
+ /** @description A new model with the range, or without it when `range` is empty. */
14
+ export declare function writeDateRange(model: VcFilterModel, range: [Date, Date] | null | undefined, config: VcFilterDateRangeConfig): VcFilterModel;
@@ -0,0 +1,28 @@
1
+ import type { Ref } from 'vue';
2
+ import type { VcFilterField, VcFilterFieldValue, VcFilterMode, VcFilterModel, VcFilterModelOptions } from '../../types';
3
+ export type DraftOrigin = 'add' | 'edit';
4
+ export interface FilterDraftContext {
5
+ model: () => VcFilterModel;
6
+ modelOptions: () => VcFilterModelOptions | undefined;
7
+ }
8
+ export declare function useFilterDraft(context: FilterDraftContext): {
9
+ field: import("vue").ShallowRef<VcFilterField | undefined, VcFilterField | undefined>;
10
+ origin: Ref<DraftOrigin, DraftOrigin>;
11
+ preview: import("vue").ComputedRef<VcFilterModel>;
12
+ mode: Ref<VcFilterMode, VcFilterMode>;
13
+ value: Ref<VcFilterFieldValue | undefined, VcFilterFieldValue | undefined>;
14
+ applied: import("vue").ComputedRef<import('../../types').VcFilterListItem[]>;
15
+ blocked: import("vue").ComputedRef<import('../../types').VcFilterListItem[]>;
16
+ canExclude: import("vue").ComputedRef<boolean>;
17
+ canCommit: import("vue").ComputedRef<boolean>;
18
+ changed: import("vue").ComputedRef<boolean>;
19
+ start: (next: {
20
+ field: VcFilterField;
21
+ origin: DraftOrigin;
22
+ mode?: VcFilterMode | undefined;
23
+ value?: VcFilterFieldValue | undefined;
24
+ }) => void;
25
+ clear: () => void;
26
+ setMode: (next: VcFilterMode) => void;
27
+ result: () => VcFilterModel | undefined;
28
+ };
@@ -0,0 +1,7 @@
1
+ import type { Component, Slot } from 'vue';
2
+ import type { VcFilterField } from '../../types';
3
+ export declare const BUILT_IN_EDITORS: Partial<Record<VcFilterField['kind'], Component>>;
4
+ export type EditorSlots = Record<string, Slot | undefined>;
5
+ export declare function getEditorSlot(field: VcFilterField, slots?: EditorSlots): Slot | undefined;
6
+ export declare function hasFilterEditor(field: VcFilterField, slots?: EditorSlots): boolean;
7
+ export declare function isModalField(field: VcFilterField): boolean;
@@ -0,0 +1,22 @@
1
+ import type { VcFilterErrors, VcFilterField, VcFilterListItem, VcFilterMode, VcFilterModel, VcFilterModelOptions, VcFilterRefusedValues } from '../../types';
2
+ export interface FilterErrorPlacement {
3
+ /** @description Messages by chip id (`<field key>:<mode>`). */
4
+ byChip: Record<string, string>;
5
+ date?: string;
6
+ search?: string;
7
+ /** @description Errors that name nothing in the bar. */
8
+ other: Array<string>;
9
+ }
10
+ export interface PlaceErrorsContext {
11
+ fields: Array<VcFilterField>;
12
+ /** @description The model now. */
13
+ model: VcFilterModel;
14
+ /** @description The model when the errors arrived. */
15
+ snapshot: VcFilterModel;
16
+ dateKeys: Array<string>;
17
+ searchKeys: Array<string>;
18
+ options?: VcFilterModelOptions;
19
+ }
20
+ export declare function placeFilterErrors(errors: VcFilterErrors | undefined, context: PlaceErrorsContext): FilterErrorPlacement;
21
+ /** @description The refused values a field still has on one side. */
22
+ export declare function getRefusedValues(refused: VcFilterRefusedValues | undefined, field: VcFilterField, mode: VcFilterMode, model: VcFilterModel, options?: VcFilterModelOptions): Array<VcFilterListItem>;
@@ -0,0 +1,83 @@
1
+ import type { VcFilterApplied, VcFilterField, VcFilterFieldValue, VcFilterListItem, VcFilterMode, VcFilterModel, VcFilterModelOptions, VcFilterOverlap, VcFilterRangeValue } from '../../types';
2
+ export declare const DEFAULT_EXCLUDE_KEY = "Exclude";
3
+ /** @description `[]`, `null`, `undefined` and `''` filter nothing; `false` and `0` are values. */
4
+ export declare function isEmptyFilterValue(value: unknown): boolean;
5
+ export declare function isFilterListValue(value: unknown): value is Array<VcFilterListItem>;
6
+ export declare function isFilterRangeValue(value: unknown): value is VcFilterRangeValue;
7
+ /** @description The model keys of a field on the include side. */
8
+ export declare function getFieldKeys(field: VcFilterField): Array<string>;
9
+ export declare function supportsExclude(field: VcFilterField): boolean;
10
+ /** @description The sides a field can be on. */
11
+ export declare function getFieldModes(field: VcFilterField): Array<VcFilterMode>;
12
+ /**
13
+ * @description The path a server error names for a field on one side,
14
+ * e.g. `UserList` or `Exclude.UserList`. A field with several keys answers with its first one.
15
+ */
16
+ export declare function getFieldErrorPath(field: VcFilterField, mode: VcFilterMode, options?: VcFilterModelOptions): string;
17
+ /**
18
+ * @description The field and side a server error path belongs to:
19
+ * `Exclude.LabelConditions[0].Value` → the field owning `LabelConditions`, exclude side.
20
+ */
21
+ export declare function findFieldByErrorPath(path: string, fields: Array<VcFilterField>, options?: VcFilterModelOptions): {
22
+ field: VcFilterField;
23
+ mode: VcFilterMode;
24
+ } | undefined;
25
+ /**
26
+ * @description The value of a field on one side, or `undefined` when the field filters nothing there.
27
+ * A custom field's value always uses its include keys, whichever side it is read from.
28
+ */
29
+ export declare function readFieldValue(model: VcFilterModel, field: VcFilterField, mode: VcFilterMode, options?: VcFilterModelOptions): VcFilterFieldValue | undefined;
30
+ /**
31
+ * @description The values a list field cannot take on this side because the other side has them.
32
+ * A value is either included or excluded, never both.
33
+ */
34
+ export declare function getBlockedValues(model: VcFilterModel, field: VcFilterField, mode: VcFilterMode, options?: VcFilterModelOptions): Array<VcFilterListItem>;
35
+ /**
36
+ * @description The values a list field already has on this side: Add filter shows them as already added,
37
+ * since adding the field again goes into the same chip.
38
+ */
39
+ export declare function getAppliedValues(model: VcFilterModel, field: VcFilterField, mode: VcFilterMode, options?: VcFilterModelOptions): Array<VcFilterListItem>;
40
+ /** @description Whether the field already has a chip on this side. */
41
+ export declare function isFieldApplied(model: VcFilterModel, field: VcFilterField, mode: VcFilterMode, options?: VcFilterModelOptions): boolean;
42
+ /** @description The list fields whose values are on both sides, e.g. in a saved filter. The model is not changed. */
43
+ export declare function findOverlaps(model: VcFilterModel, fields: Array<VcFilterField>, options?: VcFilterModelOptions): Array<VcFilterOverlap>;
44
+ /**
45
+ * @description A new model with the field's value on one side. An empty value removes the field there;
46
+ * an exclude object left empty is removed too. On a list field, values the other side has are dropped.
47
+ */
48
+ export declare function writeFieldValue(model: VcFilterModel, field: VcFilterField, mode: VcFilterMode, value: VcFilterFieldValue | undefined, options?: VcFilterModelOptions): VcFilterModel;
49
+ /** @description A new model without the field on one side. */
50
+ export declare function removeFieldValue(model: VcFilterModel, field: VcFilterField, mode: VcFilterMode, options?: VcFilterModelOptions): VcFilterModel;
51
+ /**
52
+ * @description A new model with a chip edited: its value replaced on its side, or moved to the other
53
+ * side, where it joins that side's chip like an added value. An empty value removes the chip.
54
+ * Moving takes the chip off its side first, so its own values are not blocked by themselves.
55
+ */
56
+ export declare function editFieldValue(model: VcFilterModel, field: VcFilterField, fromMode: VcFilterMode, toMode: VcFilterMode, value: VcFilterFieldValue | undefined, options?: VcFilterModelOptions): VcFilterModel;
57
+ /** @description The model an editor of a chip works against: the chip's own side taken off. */
58
+ export declare function withoutSide(model: VcFilterModel, field: VcFilterField, mode: VcFilterMode, options?: VcFilterModelOptions): VcFilterModel;
59
+ /**
60
+ * @description A new model with a value added through Add filter. A field has one chip per side,
61
+ * so the value goes into that chip: a list gets the new values after its own (include and exclude
62
+ * each on their own side; values the other side has are dropped), a custom field with `merge` joins
63
+ * the two values, and any other value replaces the current one. An empty value changes nothing.
64
+ */
65
+ export declare function addFieldValue(model: VcFilterModel, field: VcFilterField, mode: VcFilterMode, value: VcFilterFieldValue | undefined, options?: VcFilterModelOptions): VcFilterModel;
66
+ export declare function getAppliedId(field: VcFilterField, mode: VcFilterMode): string;
67
+ /** @description The applied fields of a model, in the order of `fields`, include before exclude. */
68
+ export declare function getAppliedFilters(model: VcFilterModel, fields: Array<VcFilterField>, options?: VcFilterModelOptions): Array<VcFilterApplied>;
69
+ /**
70
+ * @description A model taken apart: the applied fields, and the rest (keys no field owns,
71
+ * such as the date range and the search), kept as they are.
72
+ */
73
+ export declare function splitFilterModel(model: VcFilterModel, fields: Array<VcFilterField>, options?: VcFilterModelOptions): {
74
+ applied: Array<VcFilterApplied>;
75
+ rest: VcFilterModel;
76
+ };
77
+ /** @description A model from applied fields, written over `rest` (the keys no field owns). */
78
+ export declare function joinFilterModel(applied: Array<VcFilterApplied>, rest?: VcFilterModel, options?: VcFilterModelOptions): VcFilterModel;
79
+ /**
80
+ * @description Whether two values of a field filter the same, so an editor that changed nothing
81
+ * sends nothing. A list compares as a set; empty values are equal to each other.
82
+ */
83
+ export declare function isSameFieldValue(field: VcFilterField, a: VcFilterFieldValue | undefined, b: VcFilterFieldValue | undefined): boolean;
@@ -0,0 +1,52 @@
1
+ import type { ComputedRef, MaybeRefOrGetter } from 'vue';
2
+ import type { VcFilterField, VcFilterOption, VcFilterOptionsParams, VcFilterOptionsSource, VcFilterOptionsStore, VcFilterOptionsStoreOptions } from '../../types';
3
+ export declare const DEFAULT_OPTIONS_TTL: number;
4
+ /**
5
+ * @description What a loader throws when the login may not read the list
6
+ * (e.g. 403 section_not_enabled). The field is disabled with the reason; the rest of the bar works.
7
+ * An error with a string `disabledReason` does the same.
8
+ */
9
+ export declare class VcFilterOptionsDeniedError extends Error {
10
+ readonly disabledReason: string;
11
+ constructor(reason: string);
12
+ }
13
+ /** @description The reason a loader error refuses the list, or `undefined` for any other failure. */
14
+ export declare function getDeniedReason(error: unknown): string | undefined;
15
+ /** @description The cache key of a list: its source id and its params, in any key order. */
16
+ export declare function getOptionsKey(source: VcFilterOptionsSource, params?: VcFilterOptionsParams): string;
17
+ /**
18
+ * @description A store of lists. The bar creates its own, which drops a list once nothing uses it;
19
+ * an application can create one with a longer life and pass it to several bars, so they share the lists.
20
+ */
21
+ export declare function createFilterOptionsStore(options?: VcFilterOptionsStoreOptions): VcFilterOptionsStore;
22
+ /**
23
+ * @description Gives the bar's descendants (chips, editors, custom editors) one store.
24
+ * Without a store, it makes one that drops a list once nothing uses it.
25
+ */
26
+ export declare function provideFilterOptionsStore(store?: VcFilterOptionsStore): VcFilterOptionsStore;
27
+ /** @description The store of the nearest bar; outside a bar, a store of this component's own. */
28
+ export declare function useFilterOptionsStore(): VcFilterOptionsStore;
29
+ export interface UseFilterOptionsOptions {
30
+ /** @description Load as soon as the component uses the list. Default `false`: load on `get()`. */
31
+ immediate?: boolean;
32
+ }
33
+ export interface UseFilterOptionsReturn {
34
+ data: ComputedRef<Array<VcFilterOption>>;
35
+ loading: ComputedRef<boolean>;
36
+ loaded: ComputedRef<boolean>;
37
+ error: ComputedRef<unknown>;
38
+ deniedReason: ComputedRef<string | undefined>;
39
+ /** @description Loads the list if needed. Never rejects: a failure is in `error` and `deniedReason`. */
40
+ get: () => Promise<Array<VcFilterOption>>;
41
+ /** @description Loads the list again. Never rejects. */
42
+ refresh: () => Promise<Array<VcFilterOption>>;
43
+ }
44
+ /**
45
+ * @description One list for a component: its data and state, and get / refresh.
46
+ * The list counts as used while the component is mounted, so a chip keeps the names it shows,
47
+ * and the bar's store drops the list when the last chip and editor using it are gone.
48
+ * A static array (or no source) gives that array, with nothing to load.
49
+ */
50
+ export declare function useFilterOptions(source: MaybeRefOrGetter<VcFilterOptionsSource | Array<VcFilterOption> | undefined>, params?: MaybeRefOrGetter<VcFilterOptionsParams | undefined>, options?: UseFilterOptionsOptions): UseFilterOptionsReturn;
51
+ /** @description The options of a field: its static array or its loaded list, with the field's params. */
52
+ export declare function useFieldOptions(field: MaybeRefOrGetter<VcFilterField>, options?: UseFilterOptionsOptions): UseFilterOptionsReturn;
@@ -0,0 +1,23 @@
1
+ import type { VcFilterField, VcFilterListItem, VcFilterModel, VcFilterModelOptions, VcFilterSearchConfig, VcFilterSearchLinked, VcFilterSearchTarget } from '../../types';
2
+ export declare const DEFAULT_SEARCH_DEBOUNCE = 400;
3
+ /**
4
+ * @description The target the text goes to: the one picked (by its `valueKey`), or the first that matches the text.
5
+ */
6
+ export declare function getSearchTarget(text: string, config: VcFilterSearchConfig, picked?: string): VcFilterSearchTarget | undefined;
7
+ /** @description The text the search line shows for a model: the first `set` target that has a value. */
8
+ export declare function readSearchText(model: VcFilterModel, config: VcFilterSearchConfig): string;
9
+ /** @description The model keys the search line owns: its `set` targets and their linked controls. */
10
+ export declare function getSearchKeys(config: VcFilterSearchConfig): Array<string>;
11
+ export declare function readLinkedValue(model: VcFilterModel, linked: VcFilterSearchLinked): VcFilterListItem;
12
+ /** @description A new model with the linked control of a target set; written only while the target has a value. */
13
+ export declare function writeLinkedValue(model: VcFilterModel, target: VcFilterSearchTarget, value: VcFilterListItem): VcFilterModel;
14
+ /**
15
+ * @description A new model with the typed text: every `set` key (and linked key) is cleared, then the
16
+ * matching `set` target gets the text, and its linked control keeps its value or takes its default.
17
+ */
18
+ export declare function writeSearchText(model: VcFilterModel, text: string, config: VcFilterSearchConfig, picked?: string): VcFilterModel;
19
+ /**
20
+ * @description A new model with the text added to the list field of its `append` target (on Enter).
21
+ * The model is unchanged when the text has no `append` target or the field is unknown.
22
+ */
23
+ export declare function appendSearchText(model: VcFilterModel, text: string, config: VcFilterSearchConfig, fields: Array<VcFilterField>, options?: VcFilterModelOptions, picked?: string): VcFilterModel;
@@ -0,0 +1,34 @@
1
+ import type { VcFilterField, VcFilterFieldValue, VcFilterListItem } from '../../types';
2
+ export type FilterValueProblem = {
3
+ code: 'tooShort';
4
+ count: number;
5
+ } | {
6
+ code: 'tooLong';
7
+ count: number;
8
+ } | {
9
+ code: 'pattern';
10
+ } | {
11
+ code: 'tooMany';
12
+ count: number;
13
+ } | {
14
+ code: 'rangeOrder';
15
+ } | {
16
+ code: 'belowMin';
17
+ count: number;
18
+ } | {
19
+ code: 'aboveMax';
20
+ count: number;
21
+ };
22
+ /**
23
+ * @description The first problem of a value, or `undefined` when it can go into the model.
24
+ * `applied` are the values the field already has on this side: a list's limit counts them too,
25
+ * since Add filter adds to the chip.
26
+ */
27
+ export declare function validateFieldValue(field: VcFilterField, value: VcFilterFieldValue | undefined, applied?: Array<VcFilterListItem>): FilterValueProblem | undefined;
28
+ /** @description Whether a draft can be added: it filters something and has no problem. */
29
+ export declare function canAddFieldValue(field: VcFilterField, value: VcFilterFieldValue | undefined, applied?: Array<VcFilterListItem>): boolean;
30
+ /** @description The translation key and params of a problem, under `voicenterUi.filterBar.problem.*`. */
31
+ export declare function getProblemMessage(problem: FilterValueProblem): {
32
+ key: string;
33
+ params: Record<string, number>;
34
+ };
@@ -59,12 +59,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
59
59
  oldValue: string;
60
60
  }) => any) | undefined;
61
61
  }>, {
62
+ custom: boolean;
62
63
  deep: number;
63
64
  parent: SchemaModel;
64
65
  root: boolean;
65
66
  property: string;
66
67
  modalAppendTo: string | HTMLElement;
67
- custom: boolean;
68
68
  isItem: boolean;
69
69
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
70
70
  export default _default;
@@ -1,4 +1,5 @@
1
1
  import { IVcBaseInputProps } from '../../composables/input/useInputBase';
2
+ import type { VcTimeInputFormat } from '../../types';
2
3
  type TimeSettingsType = {
3
4
  hours: string;
4
5
  minutes: string;
@@ -14,6 +15,11 @@ interface ITimeInputProps extends IVcBaseInputProps {
14
15
  emptyDataText?: string;
15
16
  placeholder?: string;
16
17
  allowMouseWheel?: boolean;
18
+ /**
19
+ * @description Which units the input shows. The model is always seconds; the first unit has no
20
+ * upper limit (`mm:ss` shows 90:00), the ones after it go up to 59. Default `hh:mm:ss`.
21
+ */
22
+ format?: VcTimeInputFormat;
17
23
  }
18
24
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ITimeInputProps>, {
19
25
  id: undefined;
@@ -26,6 +32,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
26
32
  placeholder: string;
27
33
  dataTestName: string;
28
34
  allowMouseWheel: boolean;
35
+ format: string;
29
36
  disabled: boolean;
30
37
  isError: boolean;
31
38
  name: undefined;
@@ -47,6 +54,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
47
54
  placeholder: string;
48
55
  dataTestName: string;
49
56
  allowMouseWheel: boolean;
57
+ format: string;
50
58
  disabled: boolean;
51
59
  isError: boolean;
52
60
  name: undefined;
@@ -66,6 +74,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
66
74
  name: string;
67
75
  placeholder: string;
68
76
  color: "" | "success" | "info" | "warning" | "primary" | "secondary" | "destructive";
77
+ format: VcTimeInputFormat;
69
78
  step: number;
70
79
  emptyDataText: string;
71
80
  minValue: number;
@@ -61,6 +61,7 @@ import VcBadgeTag from './VcBadgeTag/VcBadgeTag.vue';
61
61
  import VcDelimitedList from './VcDelimitedList/VcDelimitedList.vue';
62
62
  import VcSparkline from './VcSparkline/VcSparkline.vue';
63
63
  import VcSegmented from './VcSegmented/VcSegmented.vue';
64
+ import VcFilterBar from './VcFilterBar/VcFilterBar.vue';
64
65
  import VcLoading from './VcLoading/VcLoading.vue';
65
66
  import VcProgress from './VcProgress/VcProgress.vue';
66
67
  import VcProgressCircular from './VcProgress/VcProgressCircular.vue';
@@ -123,7 +124,7 @@ import VcBaseVerticalForm from '../entity/components/Form/VcBaseVerticalForm.vue
123
124
  import VcEntityVerticalCreateForm from '../entity/components/Form/VcEntityVerticalCreateForm.vue';
124
125
  import VcEntityVerticalEditForm from '../entity/components/Form/VcEntityVerticalEditForm.vue';
125
126
  import VcEntityEditPageForm from '../entity/components/Form/VcEntityEditPageForm.vue';
126
- export { VcButton, VcButtonIcon, VcToggleButton, VcInput, VcInputNumber, VcInputError, VcInputLabel, VcSelect, VcSelectGrouped, VcSelectOption, VcInfiniteScrollSelect, VcAutocomplete, VcCheckbox, VcCheckboxButton, VcCheckboxButtonGroup, VcCheckboxGroup, VcRadio, VcRadioGroup, VcRadioButtonsGroup, VcSwitch, VcSlider, VcColorPicker, VcDatePicker, VcDatePickerPanel, VcExtendedDatetimeRangePicker, VcTimeInput, VcPhoneInput, VcFlagLabel, VcTagInput, VcOtpInput, VcFileUploader, VcFileUploaderSimple, VcFileUploaderArea, VcFileItem, VcCard, VcCodeBlock, VcModal, VcConfirmModal, VcPopover, VcConfirmPopover, VcSelectPopover, VcTabs, VcTabNav, VcTabPane, VcVerticalTabs, VcRadioTabs, VcRadioTabsNav, VcCollapse, VcCollapseItem, VcWizard, VcDropdown, VcDropdownItem, VcTable, VcPagination, VcTree, VcTreeSelect, VcTransfer, VcTag, VcAvatar, VcBadgeTag, VcDelimitedList, VcSparkline, VcSegmented, VcLoading, VcProgress, VcProgressCircular, VcSkeletonLoader, VcNotification, VcPluginOverlays, VcForm, VcFormItem, VcSplitButton, VcHyperLink, VcIcon, VcIconPicker, VcMeterGroup, VcMeterGroupLabel, VcMdEditor, VcSystemUserPrompt, VcSoundPlayer, VcSoundPlayerCompact, VcJsonSchema, VcJsonViewer, VcMessage, VcMessagesWrapper, VcLightbox, VcToolCall, VcApprovalCard, VcAskUserCard, VcPlayerPlaybackRate, VcPlayerPlaybackRatePopup, VcPlayerPlayStopButton, VcPlayerSkipButtons, VcSoundCurrentTime, VcSoundDuration, VcSoundPlayerError, VcSoundPlayerMarker, VcSoundPlayerMarkers, VcSoundPlayerProgress, VcSoundPlayerWrapper, VcSoundVolume, VcHtmlEditor, VcPdfDocument, VcExcelFileUploader, VcImageUploader, VcTour, VcSipFlow, VcEmojiPicker, VcChatComposer, VcAiReasoning, VcAgentRunCard, VcAgentRunGroup, VcPdfViewer, VcEntityAddButton, VcEntityCancelButton, VcEntityDeleteIconButton, VcEntityEditIconButton, VcEntityRestoreButton, VcEntityStatusButton, VcEntityEditableTabs, VcEntityListTable, VcBaseVerticalForm, VcEntityVerticalCreateForm, VcEntityVerticalEditForm, VcEntityEditPageForm, };
127
+ export { VcButton, VcButtonIcon, VcToggleButton, VcInput, VcInputNumber, VcInputError, VcInputLabel, VcSelect, VcSelectGrouped, VcSelectOption, VcInfiniteScrollSelect, VcAutocomplete, VcCheckbox, VcCheckboxButton, VcCheckboxButtonGroup, VcCheckboxGroup, VcRadio, VcRadioGroup, VcRadioButtonsGroup, VcSwitch, VcSlider, VcColorPicker, VcDatePicker, VcDatePickerPanel, VcExtendedDatetimeRangePicker, VcTimeInput, VcPhoneInput, VcFlagLabel, VcTagInput, VcOtpInput, VcFileUploader, VcFileUploaderSimple, VcFileUploaderArea, VcFileItem, VcCard, VcCodeBlock, VcModal, VcConfirmModal, VcPopover, VcConfirmPopover, VcSelectPopover, VcTabs, VcTabNav, VcTabPane, VcVerticalTabs, VcRadioTabs, VcRadioTabsNav, VcCollapse, VcCollapseItem, VcWizard, VcDropdown, VcDropdownItem, VcTable, VcPagination, VcTree, VcTreeSelect, VcTransfer, VcTag, VcAvatar, VcBadgeTag, VcDelimitedList, VcSparkline, VcSegmented, VcFilterBar, VcLoading, VcProgress, VcProgressCircular, VcSkeletonLoader, VcNotification, VcPluginOverlays, VcForm, VcFormItem, VcSplitButton, VcHyperLink, VcIcon, VcIconPicker, VcMeterGroup, VcMeterGroupLabel, VcMdEditor, VcSystemUserPrompt, VcSoundPlayer, VcSoundPlayerCompact, VcJsonSchema, VcJsonViewer, VcMessage, VcMessagesWrapper, VcLightbox, VcToolCall, VcApprovalCard, VcAskUserCard, VcPlayerPlaybackRate, VcPlayerPlaybackRatePopup, VcPlayerPlayStopButton, VcPlayerSkipButtons, VcSoundCurrentTime, VcSoundDuration, VcSoundPlayerError, VcSoundPlayerMarker, VcSoundPlayerMarkers, VcSoundPlayerProgress, VcSoundPlayerWrapper, VcSoundVolume, VcHtmlEditor, VcPdfDocument, VcExcelFileUploader, VcImageUploader, VcTour, VcSipFlow, VcEmojiPicker, VcChatComposer, VcAiReasoning, VcAgentRunCard, VcAgentRunGroup, VcPdfViewer, VcEntityAddButton, VcEntityCancelButton, VcEntityDeleteIconButton, VcEntityEditIconButton, VcEntityRestoreButton, VcEntityStatusButton, VcEntityEditableTabs, VcEntityListTable, VcBaseVerticalForm, VcEntityVerticalCreateForm, VcEntityVerticalEditForm, VcEntityEditPageForm, };
127
128
  declare module '@vue/runtime-core' {
128
129
  interface GlobalComponents {
129
130
  VcButton: typeof VcButton;
@@ -189,6 +190,7 @@ declare module '@vue/runtime-core' {
189
190
  VcDelimitedList: typeof VcDelimitedList;
190
191
  VcSparkline: typeof VcSparkline;
191
192
  VcSegmented: typeof VcSegmented;
193
+ VcFilterBar: typeof VcFilterBar;
192
194
  VcLoading: typeof VcLoading;
193
195
  VcProgress: typeof VcProgress;
194
196
  VcProgressCircular: typeof VcProgressCircular;
@@ -61,6 +61,7 @@ export { default as VcBadgeTag } from './components/VcBadgeTag/VcBadgeTag.vue';
61
61
  export { default as VcDelimitedList } from './components/VcDelimitedList/VcDelimitedList.vue';
62
62
  export { default as VcSparkline } from './components/VcSparkline/VcSparkline.vue';
63
63
  export { default as VcSegmented } from './components/VcSegmented/VcSegmented.vue';
64
+ export { default as VcFilterBar } from './components/VcFilterBar/VcFilterBar.vue';
64
65
  export { default as VcLoading } from './components/VcLoading/VcLoading.vue';
65
66
  export { default as VcProgress } from './components/VcProgress/VcProgress.vue';
66
67
  export { default as VcProgressCircular } from './components/VcProgress/VcProgressCircular.vue';
@@ -7,8 +7,8 @@ declare const _default: <Data extends EntityListDataType>(__VLS_props: {
7
7
  readonly "onHandle-selection-change"?: ((payload: Data[]) => any) | undefined;
8
8
  columns: ColumnType<Data>;
9
9
  showSelection?: boolean | undefined;
10
- readonly onAdd?: (() => any) | undefined;
11
10
  readonly onEdit?: ((payload: Data) => any) | undefined;
11
+ readonly onAdd?: (() => any) | undefined;
12
12
  readonly "onUpdate:inputSearch"?: ((val: string) => any) | undefined;
13
13
  searchKeys?: string[] | undefined;
14
14
  showRecycleBinAction?: boolean | undefined;
@@ -52,8 +52,8 @@ declare const _default: <Data extends EntityListDataType>(__VLS_props: {
52
52
  readonly "onHandle-selection-change"?: ((payload: Data[]) => any) | undefined;
53
53
  columns: ColumnType<Data>;
54
54
  showSelection?: boolean | undefined;
55
- readonly onAdd?: (() => any) | undefined;
56
55
  readonly onEdit?: ((payload: Data) => any) | undefined;
56
+ readonly onAdd?: (() => any) | undefined;
57
57
  readonly "onUpdate:inputSearch"?: ((val: string) => any) | undefined;
58
58
  searchKeys?: string[] | undefined;
59
59
  showRecycleBinAction?: boolean | undefined;
@@ -101,8 +101,8 @@ declare const _default: <Data extends EntityListDataType>(__VLS_props: {
101
101
  readonly "onHandle-selection-change"?: ((payload: Data[]) => any) | undefined;
102
102
  columns: ColumnType<Data>;
103
103
  showSelection?: boolean | undefined;
104
- readonly onAdd?: (() => any) | undefined;
105
104
  readonly onEdit?: ((payload: Data) => any) | undefined;
105
+ readonly onAdd?: (() => any) | undefined;
106
106
  readonly "onUpdate:inputSearch"?: ((val: string) => any) | undefined;
107
107
  searchKeys?: string[] | undefined;
108
108
  showRecycleBinAction?: boolean | undefined;
@@ -33,4 +33,12 @@ export { useEntityListTableProvide, useEntityListTableInject } from './entity/co
33
33
  export { useTabsEditableDataProvide, useTabsEditableDataInject } from './entity/composable/useEntityTabsProvideInject';
34
34
  export { useEntityProvide, useEntityInject } from './entity/composable/useEntityProvideInject';
35
35
  export * from './components/VcSipFlow/sip-flow.options';
36
+ export * from './components/VcFilterBar/filterBarModel';
37
+ export * from './components/VcFilterBar/filterBarOptions';
38
+ export * from './components/VcFilterBar/filterBarSearch';
39
+ export * from './components/VcFilterBar/filterBarDate';
40
+ export * from './components/VcFilterBar/filterBarValidate';
41
+ export * from './components/VcFilterBar/filterBarErrors';
42
+ export { formatChipValue } from './components/VcFilterBar/filterBarChip';
43
+ export type { ChipText, ChipTextContext } from './components/VcFilterBar/filterBarChip';
36
44
  export type * from './components/exports';