@webitel/ui-datalist 26.8.6 → 26.8.8

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 (148) hide show
  1. package/Readme.md +1 -0
  2. package/package.json +3 -2
  3. package/src/modules/filter-presets/components/apply-preset/apply-preset-action.vue +16 -4
  4. package/src/modules/filter-presets/components/save-preset/save-preset-action.vue +18 -4
  5. package/src/modules/filters/__tests__/createTableFiltersStore.spec.ts +38 -2
  6. package/src/modules/filters/components/column/column-filter-preview.vue +70 -0
  7. package/src/modules/filters/components/column/column-filter.vue +76 -0
  8. package/src/modules/filters/components/config/dynamic-view/dynamic-filter-config-form-value-input.vue +2 -0
  9. package/src/modules/filters/components/config/dynamic-view/dynamic-filter-config-form.vue +43 -5
  10. package/src/modules/filters/components/config/static-view/static-filter-field.vue +6 -21
  11. package/src/modules/filters/components/filters-actions-menu.vue +177 -0
  12. package/src/modules/filters/components/preview/dynamic-filter-preview.vue +5 -60
  13. package/src/modules/filters/components/table-filters-panel.vue +6 -28
  14. package/src/modules/filters/components/types/Filter.types.ts +5 -0
  15. package/src/modules/filters/composables/useColumnFilter.ts +116 -0
  16. package/src/modules/filters/composables/useFilterValueChange.ts +58 -0
  17. package/src/modules/filters/composables/useFilterValuePreview.ts +87 -0
  18. package/src/modules/filters/composables/useSelectedFilters.ts +64 -0
  19. package/src/modules/filters/createTableFiltersStore.ts +13 -5
  20. package/src/modules/filters/index.ts +4 -0
  21. package/src/modules/filters/modules/filterConfig/components/_custom/filterConfig.ts +1 -1
  22. package/src/modules/filters/modules/filterConfig/components/_custom/type-extension-filter-value-field.vue +9 -5
  23. package/src/modules/filters/modules/filterConfig/components/_shared/date-time-filter/date-time-filter-value-field.vue +7 -4
  24. package/src/modules/filters/modules/filterConfig/components/_shared/date-time-filter/date-time-options/date-time-options-filter-value-field.vue +7 -4
  25. package/src/modules/filters/modules/filterConfig/components/_shared/durations/duration-filter-value-field.vue +7 -4
  26. package/src/modules/filters/modules/filterConfig/components/_shared/string-filter/string-filter-value-field.vue +6 -3
  27. package/src/modules/filters/modules/filterConfig/components/agent/agent-filter-value-field.vue +6 -3
  28. package/src/modules/filters/modules/filterConfig/components/amd-result/amd-result-filter-value-field.vue +6 -3
  29. package/src/modules/filters/modules/filterConfig/components/call-direction/call-direction-filter-value-field.vue +6 -3
  30. package/src/modules/filters/modules/filterConfig/components/case-assignee/case-assignee-filter-value-field.vue +4 -4
  31. package/src/modules/filters/modules/filterConfig/components/case-author/case-author-filter-value-field.vue +6 -3
  32. package/src/modules/filters/modules/filterConfig/components/case-close-reason-groups/case-close-reason-groups-filter-value-field.vue +7 -4
  33. package/src/modules/filters/modules/filterConfig/components/case-impacted/case-impacted-filter-value-field.vue +6 -3
  34. package/src/modules/filters/modules/filterConfig/components/case-priority/case-priority-filter-value-field.vue +6 -3
  35. package/src/modules/filters/modules/filterConfig/components/case-reporter/case-reporter-filter-value-field.vue +6 -3
  36. package/src/modules/filters/modules/filterConfig/components/case-service/case-service-filter-value-field.vue +1 -32
  37. package/src/modules/filters/modules/filterConfig/components/case-sla/case-sla-filter-value-field.vue +6 -3
  38. package/src/modules/filters/modules/filterConfig/components/case-sla-condition/case-sla-condition-filter-value-field.vue +7 -4
  39. package/src/modules/filters/modules/filterConfig/components/case-source/case-source-filter-value-field.vue +6 -3
  40. package/src/modules/filters/modules/filterConfig/components/case-status/case-status-filter-value-field.vue +7 -4
  41. package/src/modules/filters/modules/filterConfig/components/contact/contact-filter-value-field.vue +6 -3
  42. package/src/modules/filters/modules/filterConfig/components/contact-owner/contact-owner-filter-value-field.vue +3 -3
  43. package/src/modules/filters/modules/filterConfig/components/gateway/gateway-filter-value-field.vue +6 -3
  44. package/src/modules/filters/modules/filterConfig/components/grantee/grantee-filter-value-field.vue +6 -3
  45. package/src/modules/filters/modules/filterConfig/components/hangup-cause/hangup-cause-filter-value-field.vue +6 -3
  46. package/src/modules/filters/modules/filterConfig/components/has-attachment/has-attachment-filter-value-field.vue +6 -3
  47. package/src/modules/filters/modules/filterConfig/components/rated-by/rated-by-filter-value-field.vue +6 -3
  48. package/src/modules/filters/modules/filterConfig/components/rating/rating-from-to-filter-value-field.vue +7 -4
  49. package/src/modules/filters/modules/filterConfig/components/score/score-from-to-filter-value-field.vue +4 -4
  50. package/src/modules/filters/modules/filterConfig/components/tag/tag-filter-value-field.vue +6 -3
  51. package/src/modules/filters/modules/filterConfig/components/user/user-filter-value-field.vue +6 -3
  52. package/src/modules/filters/modules/filterConfig/components/variable/variable-filter-value-field.vue +6 -3
  53. package/src/modules/headers/__tests__/createTableHeadersStore.spec.ts +34 -2
  54. package/src/modules/headers/createTableHeadersStore.ts +19 -5
  55. package/src/modules/pagination/__tests__/createTablePaginationStore.spec.ts +27 -3
  56. package/src/modules/pagination/createTablePaginationStore.ts +23 -4
  57. package/src/modules/table/__tests__/createTableStore.spec.ts +26 -0
  58. package/src/modules/table/createTableStore.store.ts +34 -15
  59. package/src/modules/types/tableStore.types.ts +21 -2
  60. package/types/.tsbuildinfo +1 -1
  61. package/types/modules/filter-presets/components/apply-preset/apply-preset-action.vue.d.ts +15 -1
  62. package/types/modules/filter-presets/components/save-preset/save-preset-action.vue.d.ts +17 -1
  63. package/types/modules/filter-presets/stores/createFilterPresetsStore.d.ts +2 -35
  64. package/types/modules/filters/components/column/column-filter-preview.vue.d.ts +21 -0
  65. package/types/modules/filters/components/column/column-filter.vue.d.ts +36 -0
  66. package/types/modules/filters/components/config/dynamic-view/dynamic-filter-config-form-label.vue.d.ts +2 -2
  67. package/types/modules/filters/components/config/dynamic-view/dynamic-filter-config-form-value-input.vue.d.ts +3 -2
  68. package/types/modules/filters/components/config/dynamic-view/dynamic-filter-config-form.vue.d.ts +13 -1
  69. package/types/modules/filters/components/config/static-view/static-filter-field.vue.d.ts +2 -2
  70. package/types/modules/filters/components/filters-actions-menu.vue.d.ts +29 -0
  71. package/types/modules/filters/components/table-filters-panel.vue.d.ts +6 -6
  72. package/types/modules/filters/components/types/Filter.types.d.ts +4 -0
  73. package/types/modules/filters/composables/useColumnFilter.d.ts +27 -0
  74. package/types/modules/filters/composables/useFilterValueChange.d.ts +23 -0
  75. package/types/modules/filters/composables/useFilterValuePreview.d.ts +21 -0
  76. package/types/modules/filters/composables/useSelectedFilters.d.ts +22 -0
  77. package/types/modules/filters/createTableFiltersStore.d.ts +6 -2
  78. package/types/modules/filters/index.d.ts +3 -1
  79. package/types/modules/filters/modules/filterConfig/components/_custom/type-extension-filter-value-field.vue.d.ts +3 -2
  80. package/types/modules/filters/modules/filterConfig/components/_shared/date-time-filter/date-time-filter-value-field.vue.d.ts +8 -4
  81. package/types/modules/filters/modules/filterConfig/components/_shared/date-time-filter/date-time-options/date-time-options-filter-value-field.vue.d.ts +8 -4
  82. package/types/modules/filters/modules/filterConfig/components/_shared/durations/duration-filter-value-field.vue.d.ts +8 -4
  83. package/types/modules/filters/modules/filterConfig/components/_shared/string-filter/string-filter-value-field.vue.d.ts +8 -4
  84. package/types/modules/filters/modules/filterConfig/components/agent/agent-filter-value-field.vue.d.ts +8 -4
  85. package/types/modules/filters/modules/filterConfig/components/agent-status/agent-status-filter-value-field.vue.d.ts +2 -2
  86. package/types/modules/filters/modules/filterConfig/components/amd-result/amd-result-filter-value-field.vue.d.ts +8 -4
  87. package/types/modules/filters/modules/filterConfig/components/auditor/auditor-filter-value-field.vue.d.ts +2 -2
  88. package/types/modules/filters/modules/filterConfig/components/auditor/index.d.ts +2 -2
  89. package/types/modules/filters/modules/filterConfig/components/bucket/bucket-filter-value-field.vue.d.ts +2 -2
  90. package/types/modules/filters/modules/filterConfig/components/bucket/index.d.ts +2 -2
  91. package/types/modules/filters/modules/filterConfig/components/call-direction/call-direction-filter-value-field.vue.d.ts +8 -4
  92. package/types/modules/filters/modules/filterConfig/components/call-reporting-result/call-reporting-result-filter-value-field.vue.d.ts +2 -2
  93. package/types/modules/filters/modules/filterConfig/components/case-assignee/case-assignee-filter-value-field.vue.d.ts +3 -2
  94. package/types/modules/filters/modules/filterConfig/components/case-assignee/filterConfig.d.ts +4 -2
  95. package/types/modules/filters/modules/filterConfig/components/case-author/case-author-filter-value-field.vue.d.ts +8 -4
  96. package/types/modules/filters/modules/filterConfig/components/case-close-reason-groups/case-close-reason-groups-filter-value-field.vue.d.ts +8 -4
  97. package/types/modules/filters/modules/filterConfig/components/case-impacted/case-impacted-filter-value-field.vue.d.ts +8 -4
  98. package/types/modules/filters/modules/filterConfig/components/case-priority/case-priority-filter-value-field.vue.d.ts +8 -4
  99. package/types/modules/filters/modules/filterConfig/components/case-reporter/case-reporter-filter-value-field.vue.d.ts +8 -4
  100. package/types/modules/filters/modules/filterConfig/components/case-sla/case-sla-filter-value-field.vue.d.ts +8 -4
  101. package/types/modules/filters/modules/filterConfig/components/case-sla-condition/case-sla-condition-filter-value-field.vue.d.ts +8 -4
  102. package/types/modules/filters/modules/filterConfig/components/case-source/case-source-filter-value-field.vue.d.ts +8 -4
  103. package/types/modules/filters/modules/filterConfig/components/case-status/case-status-filter-value-field.vue.d.ts +8 -4
  104. package/types/modules/filters/modules/filterConfig/components/contact/contact-filter-value-field.vue.d.ts +8 -4
  105. package/types/modules/filters/modules/filterConfig/components/contact-group/contact-group-filter-value-field.vue.d.ts +2 -2
  106. package/types/modules/filters/modules/filterConfig/components/contact-group/index.d.ts +2 -2
  107. package/types/modules/filters/modules/filterConfig/components/contact-label/contact-label-filter-value-field.vue.d.ts +2 -2
  108. package/types/modules/filters/modules/filterConfig/components/contact-label/index.d.ts +2 -2
  109. package/types/modules/filters/modules/filterConfig/components/contact-owner/contact-owner-filter-value-field.vue.d.ts +3 -2
  110. package/types/modules/filters/modules/filterConfig/components/contact-owner/index.d.ts +4 -2
  111. package/types/modules/filters/modules/filterConfig/components/gateway/gateway-filter-value-field.vue.d.ts +8 -4
  112. package/types/modules/filters/modules/filterConfig/components/grantee/grantee-filter-value-field.vue.d.ts +8 -4
  113. package/types/modules/filters/modules/filterConfig/components/hangup-cause/hangup-cause-filter-value-field.vue.d.ts +8 -4
  114. package/types/modules/filters/modules/filterConfig/components/has-attachment/has-attachment-filter-value-field.vue.d.ts +8 -4
  115. package/types/modules/filters/modules/filterConfig/components/has-file/has-file-filter-value-field.vue.d.ts +2 -2
  116. package/types/modules/filters/modules/filterConfig/components/has-rating/has-rating-filter-value-field.vue.d.ts +2 -2
  117. package/types/modules/filters/modules/filterConfig/components/has-transcription/has-transcription-filter-value-field.vue.d.ts +2 -2
  118. package/types/modules/filters/modules/filterConfig/components/has-user/has-user-filter-value-field.vue.d.ts +2 -2
  119. package/types/modules/filters/modules/filterConfig/components/index.d.ts +24 -22
  120. package/types/modules/filters/modules/filterConfig/components/queue/index.d.ts +2 -2
  121. package/types/modules/filters/modules/filterConfig/components/queue/queue-filter-value-field.vue.d.ts +2 -2
  122. package/types/modules/filters/modules/filterConfig/components/queue-period/queue-period-filter-value-field.vue.d.ts +2 -2
  123. package/types/modules/filters/modules/filterConfig/components/queue-type/queue-type-filter-value-field.vue.d.ts +2 -2
  124. package/types/modules/filters/modules/filterConfig/components/rated-by/rated-by-filter-value-field.vue.d.ts +8 -4
  125. package/types/modules/filters/modules/filterConfig/components/rating/rating-from-to-filter-value-field.vue.d.ts +8 -4
  126. package/types/modules/filters/modules/filterConfig/components/region/index.d.ts +2 -2
  127. package/types/modules/filters/modules/filterConfig/components/region/region-filter-value-field.vue.d.ts +2 -2
  128. package/types/modules/filters/modules/filterConfig/components/score/score-from-to-filter-value-field.vue.d.ts +3 -2
  129. package/types/modules/filters/modules/filterConfig/components/skill/index.d.ts +2 -2
  130. package/types/modules/filters/modules/filterConfig/components/skill/skill-filter-value-field.vue.d.ts +2 -2
  131. package/types/modules/filters/modules/filterConfig/components/stop-cause/stop-cause-filter-value-field.vue.d.ts +2 -2
  132. package/types/modules/filters/modules/filterConfig/components/supervisor/index.d.ts +2 -2
  133. package/types/modules/filters/modules/filterConfig/components/supervisor/supervisor-filter-value-field.vue.d.ts +2 -2
  134. package/types/modules/filters/modules/filterConfig/components/tag/tag-filter-value-field.vue.d.ts +8 -4
  135. package/types/modules/filters/modules/filterConfig/components/tags/index.d.ts +2 -2
  136. package/types/modules/filters/modules/filterConfig/components/tags/tags-filter-value-field.vue.d.ts +2 -2
  137. package/types/modules/filters/modules/filterConfig/components/talk-duration/talk-duration-filter-value-field.vue.d.ts +2 -2
  138. package/types/modules/filters/modules/filterConfig/components/team/index.d.ts +2 -2
  139. package/types/modules/filters/modules/filterConfig/components/team/team-filter-value-field.vue.d.ts +2 -2
  140. package/types/modules/filters/modules/filterConfig/components/total-duration/total-duration-filter-value-field.vue.d.ts +2 -2
  141. package/types/modules/filters/modules/filterConfig/components/user/user-filter-value-field.vue.d.ts +8 -4
  142. package/types/modules/filters/modules/filterConfig/components/utilization-progress/utilization-progress-filter-value-field.vue.d.ts +2 -2
  143. package/types/modules/filters/modules/filterConfig/components/variable/variable-filter-value-field.vue.d.ts +8 -4
  144. package/types/modules/headers/createTableHeadersStore.d.ts +48 -20
  145. package/types/modules/pagination/createTablePaginationStore.d.ts +7 -3
  146. package/types/modules/permissions-page/stores/createPermissionsStore.d.ts +4 -70
  147. package/types/modules/table/createTableStore.store.d.ts +76 -141
  148. package/types/modules/types/tableStore.types.d.ts +20 -2
@@ -14,12 +14,26 @@ type __VLS_Props = {
14
14
  */
15
15
  hasAnyFilters?: boolean;
16
16
  };
17
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
+ declare var __VLS_1: {
18
+ open: () => boolean;
19
+ };
20
+ type __VLS_Slots = {} & {
21
+ activator?: (props: typeof __VLS_1) => any;
22
+ };
23
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
24
+ open: () => void;
25
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
18
26
  apply: (args_0: string) => any;
19
27
  restore: (args_0: string) => any;
20
28
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
21
29
  onApply?: ((args_0: string) => any) | undefined;
22
30
  onRestore?: ((args_0: string) => any) | undefined;
23
31
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
32
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
24
33
  declare const _default: typeof __VLS_export;
25
34
  export default _default;
35
+ type __VLS_WithSlots<T, S> = T & {
36
+ new (): {
37
+ $slots: S;
38
+ };
39
+ };
@@ -18,6 +18,22 @@ type __VLS_Props = {
18
18
  filtersIncluded: FilterName[];
19
19
  filterConfigs: AnyFilterConfig[];
20
20
  };
21
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
+ declare var __VLS_1: {
22
+ open: () => boolean;
23
+ disabled: boolean;
24
+ };
25
+ type __VLS_Slots = {} & {
26
+ activator?: (props: typeof __VLS_1) => any;
27
+ };
28
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
29
+ open: () => void;
30
+ disabled: import("vue").ComputedRef<boolean>;
31
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
32
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
33
  declare const _default: typeof __VLS_export;
23
34
  export default _default;
35
+ type __VLS_WithSlots<T, S> = T & {
36
+ new (): {
37
+ $slots: S;
38
+ };
39
+ };
@@ -12,41 +12,8 @@ export declare const filterPresetsStoreBody: (namespace?: string) => {
12
12
  page: import("vue").Ref<number, number>;
13
13
  size: import("vue").Ref<number, number>;
14
14
  next: import("vue").Ref<boolean, boolean>;
15
- headers: import("vue").Ref<{
16
- value: string;
17
- locale?: string | (string | number | Record<string, unknown>)[] | undefined;
18
- text?: string | undefined;
19
- width?: string | undefined;
20
- field: string;
21
- sort?: (import("@webitel/ui-sdk/src/components/wt-table/types/WtTable").WtTableSortOrder | boolean) | undefined;
22
- show?: boolean | undefined;
23
- reorderable?: boolean | undefined;
24
- shouldBeInitialized?: boolean | undefined;
25
- access?: (() => boolean | import("vue").Ref<boolean>) | undefined;
26
- }[], import("../../..").DatalistTableHeader[] | {
27
- value: string;
28
- locale?: string | (string | number | Record<string, unknown>)[] | undefined;
29
- text?: string | undefined;
30
- width?: string | undefined;
31
- field: string;
32
- sort?: (import("@webitel/ui-sdk/src/components/wt-table/types/WtTable").WtTableSortOrder | boolean) | undefined;
33
- show?: boolean | undefined;
34
- reorderable?: boolean | undefined;
35
- shouldBeInitialized?: boolean | undefined;
36
- access?: (() => boolean | import("vue").Ref<boolean>) | undefined;
37
- }[]>;
38
- shownHeaders: import("vue").ComputedRef<{
39
- value: string;
40
- locale?: string | (string | number | Record<string, unknown>)[] | undefined;
41
- text?: string | undefined;
42
- width?: string | undefined;
43
- field: string;
44
- sort?: (import("@webitel/ui-sdk/src/components/wt-table/types/WtTable").WtTableSortOrder | boolean) | undefined;
45
- show?: boolean | undefined;
46
- reorderable?: boolean | undefined;
47
- shouldBeInitialized?: boolean | undefined;
48
- access?: (() => boolean | import("vue").Ref<boolean>) | undefined;
49
- }[]>;
15
+ headers: import("vue").ComputedRef<import("../../..").DatalistTableHeader[]>;
16
+ shownHeaders: import("vue").ComputedRef<import("../../..").DatalistTableHeader[]>;
50
17
  fields: import("vue").ComputedRef<string[]>;
51
18
  sort: import("vue").ComputedRef<string | null>;
52
19
  columnWidths: import("vue").ComputedRef<Record<string, string>>;
@@ -0,0 +1,21 @@
1
+ import type { DataField } from '@webitel/api-services/gen/models';
2
+ import type { DatalistTableHeader } from '../../../types/tableStore.types';
3
+ import type { IFiltersManager } from '../../classes/FiltersManager';
4
+ import type { FilterConfigDefinition } from '../../modules/filterConfig/types/FilterConfigDefinition';
5
+ /**
6
+ * Hover preview of an applied column filter (`column-filter` slot, `formView: false`):
7
+ * the same "label + values" card the panel chip shows on hover.
8
+ *
9
+ * [WTEL-7727](https://webitel.atlassian.net/browse/WTEL-7727)
10
+ */
11
+ type __VLS_Props = {
12
+ header: DatalistTableHeader;
13
+ filtersManager: IFiltersManager;
14
+ /** the page's filter definitions; a configured one is reused for the matching header */
15
+ filterOptions?: FilterConfigDefinition[];
16
+ /** custom (type extension) fields the table can filter by; matched to the header by field id */
17
+ filterableExtensionFields?: DataField[];
18
+ };
19
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
+ declare const _default: typeof __VLS_export;
21
+ export default _default;
@@ -0,0 +1,36 @@
1
+ import type { DataField } from '@webitel/api-services/gen/models';
2
+ import type { DatalistTableHeader } from '../../../types/tableStore.types';
3
+ import type { FilterInitParams } from '../../classes/Filter';
4
+ import type { IFiltersManager } from '../../classes/FiltersManager';
5
+ import type { FilterConfigDefinition } from '../../modules/filterConfig/types/FilterConfigDefinition';
6
+ /**
7
+ * Column header filter for the `wt-table` `column-filter` slot, bound with `v-bind="scope"`:
8
+ * `formView: true` renders the value form in the filter popover, `false` the hover card.
9
+ * Resolves the filter from `header.filter`, reads the applied value from the filters manager and,
10
+ * like the panel, only emits — the app binds `add/update/delete:filter` to its table store:
11
+ * Apply → `add:filter` / `update:filter`; Clear then Apply → `delete:filter`; then the popover is closed via `hide`.
12
+ * Values stay local to the form until Apply, so the table doesn't reload on every click.
13
+ *
14
+ * [WTEL-7727](https://webitel.atlassian.net/browse/WTEL-7727)
15
+ */
16
+ type __VLS_Props = {
17
+ header: DatalistTableHeader;
18
+ filtersManager: IFiltersManager;
19
+ filterOptions?: FilterConfigDefinition[];
20
+ filterableExtensionFields?: DataField[];
21
+ formView?: boolean;
22
+ hide?: () => void;
23
+ };
24
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
+ "add:filter": (args_0: FilterInitParams) => any;
26
+ "update:filter": (args_0: FilterInitParams) => any;
27
+ "delete:filter": (args_0: import("../..").IFilter) => any;
28
+ close: () => any;
29
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
30
+ "onAdd:filter"?: ((args_0: FilterInitParams) => any) | undefined;
31
+ "onUpdate:filter"?: ((args_0: FilterInitParams) => any) | undefined;
32
+ "onDelete:filter"?: ((args_0: import("../..").IFilter) => any) | undefined;
33
+ onClose?: (() => any) | undefined;
34
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
35
+ declare const _default: typeof __VLS_export;
36
+ export default _default;
@@ -2,11 +2,11 @@ type __VLS_ModelProps = {
2
2
  modelValue?: string;
3
3
  };
4
4
  declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
- "update:modelValue": (value: string | undefined) => any;
6
5
  "update:invalid": (args_0: boolean) => any;
6
+ "update:modelValue": (value: string | undefined) => any;
7
7
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
8
- "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
9
8
  "onUpdate:invalid"?: ((args_0: boolean) => any) | undefined;
9
+ "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
10
10
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  export default _default;
@@ -2,17 +2,18 @@ import { AnyFilterConfig } from '../../../modules/filterConfig/classes/FilterCon
2
2
  type __VLS_Props = {
3
3
  filterConfig: AnyFilterConfig;
4
4
  label?: string;
5
+ disableValidation?: boolean;
5
6
  };
6
7
  type __VLS_ModelProps = {
7
8
  modelValue?: unknown;
8
9
  };
9
10
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
10
11
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
- "update:modelValue": (value: unknown) => any;
12
12
  "update:invalid": (args_0: boolean) => any;
13
+ "update:modelValue": (value: unknown) => any;
13
14
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
14
- "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
15
15
  "onUpdate:invalid"?: ((args_0: boolean) => any) | undefined;
16
+ "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
16
17
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
18
  declare const _default: typeof __VLS_export;
18
19
  export default _default;
@@ -16,11 +16,23 @@ type __VLS_Props = {
16
16
  * Edited filter instance
17
17
  */
18
18
  filter?: IFilter;
19
+ /**
20
+ * @description
21
+ * Column filter mode: the filter is fixed by `filterConfig`, so only the value input is shown
22
+ * (no filter name select, no label); the secondary button is "Clear" (empties the value) instead
23
+ * of "Cancel", and Apply goes through with an empty value — deleting the filter.
24
+ * A `notDeletable` filter config keeps Apply disabled on an empty value instead,
25
+ * the same way its panel chip has no "x".
26
+ *
27
+ * [WTEL-7727](https://webitel.atlassian.net/browse/WTEL-7727)
28
+ */
29
+ columnMode?: boolean;
19
30
  };
20
31
  declare var __VLS_8: {
21
- filterName: any;
32
+ filterName: string | undefined;
22
33
  filterValue: any;
23
34
  inputLabel: any;
35
+ disableValidation: boolean;
24
36
  onValueChange: (v: unknown) => void;
25
37
  onValueInvalidChange: (v: boolean) => void;
26
38
  };
@@ -1,12 +1,12 @@
1
1
  import { StaticFilterProps } from '../../types/Filter.types';
2
2
  declare const __VLS_export: import("vue").DefineComponent<StaticFilterProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
+ "add:filter": (args_0: import("../../..").FilterInitParams) => any;
3
4
  "update:filter": (args_0: import("../../..").FilterInitParams) => any;
4
5
  "delete:filter": (args_0: import("../../..").IFilter) => any;
5
- "add:filter": (args_0: import("../../..").FilterInitParams) => any;
6
6
  }, string, import("vue").PublicProps, Readonly<StaticFilterProps> & Readonly<{
7
+ "onAdd:filter"?: ((args_0: import("../../..").FilterInitParams) => any) | undefined;
7
8
  "onUpdate:filter"?: ((args_0: import("../../..").FilterInitParams) => any) | undefined;
8
9
  "onDelete:filter"?: ((args_0: import("../../..").IFilter) => any) | undefined;
9
- "onAdd:filter"?: ((args_0: import("../../..").FilterInitParams) => any) | undefined;
10
10
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  export default _default;
@@ -0,0 +1,29 @@
1
+ import type { DataField } from '@webitel/api-services/gen/models';
2
+ import type { StoreGeneric } from 'pinia';
3
+ import type { IFiltersManager } from '../classes/FiltersManager';
4
+ import type { FilterConfigDefinition } from '../modules/filterConfig/types/FilterConfigDefinition';
5
+ /**
6
+ * Filter actions for pages without a filters panel (column filters only, WTEL-7727):
7
+ * the "filters" icon with a badge when filters are applied, and a context menu
8
+ * with reset + presets (when `presetNamespace` is given) — the same actions the panel has.
9
+ * Only emits, like the panel; the page binds them to its table store.
10
+ */
11
+ type __VLS_Props = {
12
+ filtersManager: IFiltersManager;
13
+ filterOptions: FilterConfigDefinition[];
14
+ filterableExtensionFields?: DataField[];
15
+ /** enables preset actions */
16
+ presetNamespace?: string;
17
+ usePresetsStore?: () => StoreGeneric;
18
+ };
19
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ "filter:reset-all": () => any;
21
+ "preset:apply": (args_0: string) => any;
22
+ "preset:restore": (args_0: string) => any;
23
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
24
+ "onFilter:reset-all"?: (() => any) | undefined;
25
+ "onPreset:apply"?: ((args_0: string) => any) | undefined;
26
+ "onPreset:restore"?: ((args_0: string) => any) | undefined;
27
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
+ declare const _default: typeof __VLS_export;
29
+ export default _default;
@@ -55,21 +55,21 @@ type Props = {
55
55
  staticMode?: boolean;
56
56
  };
57
57
  declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
58
- "filter:add": (args_0: FilterInitParams) => any;
59
- "filter:update": (args_0: FilterInitParams) => any;
60
- "filter:delete": (args_0: IFilter) => any;
61
58
  hide: () => any;
62
59
  "filter:reset-all": () => any;
63
60
  "preset:apply": (args_0: string) => any;
64
61
  "preset:restore": (args_0: string) => any;
62
+ "filter:add": (args_0: FilterInitParams) => any;
63
+ "filter:update": (args_0: FilterInitParams) => any;
64
+ "filter:delete": (args_0: IFilter) => any;
65
65
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
66
- "onFilter:add"?: ((args_0: FilterInitParams) => any) | undefined;
67
- "onFilter:update"?: ((args_0: FilterInitParams) => any) | undefined;
68
- "onFilter:delete"?: ((args_0: IFilter) => any) | undefined;
69
66
  onHide?: (() => any) | undefined;
70
67
  "onFilter:reset-all"?: (() => any) | undefined;
71
68
  "onPreset:apply"?: ((args_0: string) => any) | undefined;
72
69
  "onPreset:restore"?: ((args_0: string) => any) | undefined;
70
+ "onFilter:add"?: ((args_0: FilterInitParams) => any) | undefined;
71
+ "onFilter:update"?: ((args_0: FilterInitParams) => any) | undefined;
72
+ "onFilter:delete"?: ((args_0: IFilter) => any) | undefined;
73
73
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
74
74
  declare const _default: typeof __VLS_export;
75
75
  export default _default;
@@ -15,6 +15,10 @@ export interface StaticFilterEmits extends FilterEmits {
15
15
  }
16
16
  export interface DynamicFilterEmits extends FilterEmits {
17
17
  }
18
+ /** column filter lives in a popover, so it also asks the parent to close it */
19
+ export interface ColumnFilterEmits extends StaticFilterEmits {
20
+ close: [];
21
+ }
18
22
  export interface FilterProps {
19
23
  filter: IFilter;
20
24
  filterConfig: AnyFilterConfig;
@@ -0,0 +1,27 @@
1
+ import type { DataField } from '@webitel/api-services/gen/models';
2
+ import { type MaybeRefOrGetter } from 'vue';
3
+ import type { DatalistTableHeader } from '../../types/tableStore.types';
4
+ import type { IFiltersManager } from '../classes/FiltersManager';
5
+ import type { FilterConfigDefinition } from '../modules/filterConfig/types/FilterConfigDefinition';
6
+ /**
7
+ * Resolves a table header into its filter config and the filter currently applied in the
8
+ * filters manager.
9
+ *
10
+ * `header.filter` is either a plain name — resolved the same way the panel does
11
+ * (useFilterConfigsToolkit): a custom (type extension) column is matched by field id in
12
+ * `filterableExtensionFields`, a pre-configured definition from `filterOptions` (the page's
13
+ * filtersOptions) is reused as is, everything else is a standard filter option with an i18n
14
+ * label fallback — or an already-resolved config, used as is. Passing a resolved config from
15
+ * `headers.ts` skips the `filterOptions`/`filterableExtensionFields` search entirely.
16
+ *
17
+ * [WTEL-7727](https://webitel.atlassian.net/browse/WTEL-7727)
18
+ */
19
+ export declare const useColumnFilter: ({ header, filtersManager, filterOptions, filterableExtensionFields, }: {
20
+ header: MaybeRefOrGetter<DatalistTableHeader>;
21
+ filtersManager: MaybeRefOrGetter<IFiltersManager>;
22
+ filterOptions?: MaybeRefOrGetter<FilterConfigDefinition[]>;
23
+ filterableExtensionFields?: MaybeRefOrGetter<DataField[]>;
24
+ }) => {
25
+ filterConfig: import("vue").ComputedRef<import("..").BaseFilterConfig>;
26
+ filter: import("vue").ComputedRef<import("..").IFilter | undefined>;
27
+ };
@@ -0,0 +1,23 @@
1
+ import { type MaybeRefOrGetter } from 'vue';
2
+ import type { FilterValue, IFilter } from '../classes/Filter';
3
+ import type { StaticFilterEmits } from '../components/types/Filter.types';
4
+ import type { AnyFilterConfig } from '../modules/filterConfig';
5
+ type StaticFilterEmit = <K extends keyof StaticFilterEmits>(event: K, ...args: StaticFilterEmits[K]) => void;
6
+ /**
7
+ * Turns a new filter value into the right manager event:
8
+ * - empty value (except booleans) → `delete:filter` (only if the filter exists)
9
+ * - no filter yet → `add:filter`
10
+ * - filter exists → `update:filter`, keeping its label
11
+ *
12
+ * Shared by the static filter field and the column filter.
13
+ *
14
+ * [WTEL-7727](https://webitel.atlassian.net/browse/WTEL-7727)
15
+ */
16
+ export declare const useFilterValueChange: ({ filterConfig, filter, emit, }: {
17
+ filterConfig: MaybeRefOrGetter<AnyFilterConfig>;
18
+ filter: MaybeRefOrGetter<IFilter | undefined>;
19
+ emit: StaticFilterEmit;
20
+ }) => {
21
+ onValueChange: (value: FilterValue) => void;
22
+ };
23
+ export {};
@@ -0,0 +1,21 @@
1
+ import { type MaybeRefOrGetter } from 'vue';
2
+ import type { IFilter } from '../classes/Filter';
3
+ import type { AnyFilterConfig } from '../modules/filterConfig/classes/FilterConfig';
4
+ /**
5
+ * @author @dlohvinov
6
+ *
7
+ * @description
8
+ * Loads the data shown in a filter's hover preview (records behind the stored ids)
9
+ * once per filter value, in the parent, instead of inside tooltip components —
10
+ * to avoid api requests spam.
11
+ *
12
+ * Shared by the panel chip and the column header icon (WTEL-7727).
13
+ */
14
+ export declare const useFilterValuePreview: ({ filter, filterConfig, }: {
15
+ filter: MaybeRefOrGetter<IFilter | undefined>;
16
+ filterConfig: MaybeRefOrGetter<AnyFilterConfig>;
17
+ }) => {
18
+ localValue: import("vue").Ref<any, any>;
19
+ isRenderPreview: import("vue").ComputedRef<any>;
20
+ fillLocalValue: (currentFilter?: IFilter | undefined) => Promise<void>;
21
+ };
@@ -0,0 +1,22 @@
1
+ import type { DataField } from '@webitel/api-services/gen/models';
2
+ import { type ComputedRef, type MaybeRefOrGetter } from 'vue';
3
+ import type { IFilter } from '../classes/Filter';
4
+ import type { IFiltersManager } from '../classes/FiltersManager';
5
+ import type { BaseFilterConfig } from '../modules/filterConfig/classes/FilterConfig';
6
+ import type { FilterConfigDefinition } from '../modules/filterConfig/types/FilterConfigDefinition';
7
+ /**
8
+ * Filters from the manager that belong to this panel/menu (its filter options + extension fields),
9
+ * so search filters living in the same manager are ignored.
10
+ *
11
+ * `hasAnyFilters` skips `notDeletable` configs — they are seeded defaults, not a user choice
12
+ * ([WTEL-7014](https://webitel.atlassian.net/browse/WTEL-7014)).
13
+ */
14
+ export declare const useSelectedFilters: ({ filtersManager, filterOptions, filterableExtensionFields, filterConfigs, }: {
15
+ filtersManager: MaybeRefOrGetter<IFiltersManager>;
16
+ filterOptions: MaybeRefOrGetter<FilterConfigDefinition[]>;
17
+ filterableExtensionFields?: MaybeRefOrGetter<DataField[] | undefined>;
18
+ filterConfigs: ComputedRef<BaseFilterConfig[]>;
19
+ }) => {
20
+ listSelectedFilters: ComputedRef<Map<string, IFilter>>;
21
+ hasAnyFilters: ComputedRef<boolean>;
22
+ };
@@ -57,7 +57,9 @@ export declare const tableFiltersStoreBody: (namespace: string, config?: {
57
57
  name: import(".").FilterName;
58
58
  }) => import(".").IFilter | undefined;
59
59
  updateSearchMode: (newSearch: string) => void;
60
- setupPersistence: () => Promise<[void, void]>;
60
+ setupPersistence: ({ isNested, }?: {
61
+ isNested?: boolean;
62
+ }) => Promise<[void, void]>;
61
63
  syncPersistence: () => Promise<void>;
62
64
  };
63
65
  export declare const createTableFiltersStore: <Entity extends Identifiable>(namespace: string, config: useTableStoreConfig<Entity> & {
@@ -116,6 +118,8 @@ export declare const createTableFiltersStore: <Entity extends Identifiable>(name
116
118
  name: import(".").FilterName;
117
119
  }) => import(".").IFilter | undefined;
118
120
  updateSearchMode: (newSearch: string) => void;
119
- setupPersistence: () => Promise<[void, void]>;
121
+ setupPersistence: ({ isNested, }?: {
122
+ isNested?: boolean;
123
+ }) => Promise<[void, void]>;
120
124
  syncPersistence: () => Promise<void>;
121
125
  }>;
@@ -1,8 +1,10 @@
1
1
  import { Filter, type FilterInitParams, type FilterInstanceConfig, type FilterLabel, type FilterName, type FilterValue, type IFilter } from './classes/Filter';
2
2
  import { createFiltersManager, type FiltersManagerConfig, type IFiltersManager } from './classes/FiltersManager';
3
+ import ColumnFilterComponent from './components/column/column-filter.vue';
4
+ import FiltersActionsMenuComponent from './components/filters-actions-menu.vue';
3
5
  import DynamicFilterSearchComponent from './components/search-bar/dynamic-filter-search.vue';
4
6
  import TableFiltersPanelComponent from './components/table-filters-panel.vue';
5
7
  import { FilterOption } from './modules/filterConfig/enums/FilterOption';
6
8
  export * from './modules/filterConfig';
7
9
  export type { FilterInitParams, FilterInstanceConfig, FilterLabel, FilterName, FiltersManagerConfig, FilterValue, IFilter, IFiltersManager, };
8
- export { createFiltersManager, DynamicFilterSearchComponent, Filter, FilterOption, TableFiltersPanelComponent, };
10
+ export { ColumnFilterComponent, createFiltersManager, DynamicFilterSearchComponent, Filter, FilterOption, FiltersActionsMenuComponent, TableFiltersPanelComponent, };
@@ -1,17 +1,18 @@
1
1
  import { ITypeExtensionFilterConfig } from './index';
2
2
  type __VLS_Props = {
3
3
  filterConfig: ITypeExtensionFilterConfig;
4
+ disableValidation?: boolean;
4
5
  };
5
6
  type __VLS_ModelProps = {
6
7
  modelValue?: unknown;
7
8
  };
8
9
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
9
10
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
- "update:modelValue": (value: unknown) => any;
11
11
  "update:invalid": (args_0: boolean) => any;
12
+ "update:modelValue": (value: unknown) => any;
12
13
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
- "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
14
14
  "onUpdate:invalid"?: ((args_0: boolean) => any) | undefined;
15
+ "onUpdate:modelValue"?: ((value: unknown) => any) | undefined;
15
16
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
17
  declare const _default: typeof __VLS_export;
17
18
  export default _default;
@@ -2,15 +2,19 @@ type ModelValue = {
2
2
  from: number;
3
3
  to: number;
4
4
  };
5
+ type __VLS_Props = {
6
+ disableValidation?: boolean;
7
+ };
5
8
  type __VLS_ModelProps = {
6
9
  modelValue?: ModelValue;
7
10
  };
8
- declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
- "update:modelValue": (value: ModelValue) => any;
11
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
12
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
13
  "update:invalid": (args_0: boolean) => any;
11
- }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
12
- "onUpdate:modelValue"?: ((value: ModelValue) => any) | undefined;
14
+ "update:modelValue": (value: ModelValue) => any;
15
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
16
  "onUpdate:invalid"?: ((args_0: boolean) => any) | undefined;
17
+ "onUpdate:modelValue"?: ((value: ModelValue) => any) | undefined;
14
18
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
19
  declare const _default: typeof __VLS_export;
16
20
  export default _default;
@@ -1,16 +1,20 @@
1
1
  import { RelativeDatetimeValue } from '@webitel/ui-sdk/enums';
2
+ type __VLS_Props = {
3
+ disableValidation?: boolean;
4
+ };
2
5
  type __VLS_ModelProps = {
3
6
  modelValue?: RelativeDatetimeValue | {
4
7
  from: number;
5
8
  to: number;
6
9
  };
7
10
  };
8
- declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
- "update:modelValue": (value: any) => any;
11
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
12
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
13
  "update:invalid": (args_0: boolean) => any;
11
- }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
12
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
14
+ "update:modelValue": (value: any) => any;
15
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
16
  "onUpdate:invalid"?: ((args_0: boolean) => any) | undefined;
17
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
14
18
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
19
  declare const _default: typeof __VLS_export;
16
20
  export default _default;
@@ -1,3 +1,6 @@
1
+ type __VLS_Props = {
2
+ disableValidation?: boolean;
3
+ };
1
4
  type ModelValue = {
2
5
  from: number;
3
6
  to: number;
@@ -5,12 +8,13 @@ type ModelValue = {
5
8
  type __VLS_ModelProps = {
6
9
  modelValue?: ModelValue;
7
10
  };
8
- declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
- "update:modelValue": (value: ModelValue) => any;
11
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
12
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
13
  "update:invalid": (args_0: boolean) => any;
11
- }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
12
- "onUpdate:modelValue"?: ((value: ModelValue) => any) | undefined;
14
+ "update:modelValue": (value: ModelValue) => any;
15
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
16
  "onUpdate:invalid"?: ((args_0: boolean) => any) | undefined;
17
+ "onUpdate:modelValue"?: ((value: ModelValue) => any) | undefined;
14
18
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
19
  declare const _default: typeof __VLS_export;
16
20
  export default _default;
@@ -1,13 +1,17 @@
1
1
  type ModelValue = string;
2
+ type __VLS_Props = {
3
+ disableValidation?: boolean;
4
+ };
2
5
  type __VLS_ModelProps = {
3
6
  modelValue?: ModelValue;
4
7
  };
5
- declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
- "update:modelValue": (value: string | undefined) => any;
8
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
9
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
10
  "update:invalid": (args_0: boolean) => any;
8
- }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
9
- "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
11
+ "update:modelValue": (value: string | undefined) => any;
12
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
10
13
  "onUpdate:invalid"?: ((args_0: boolean) => any) | undefined;
14
+ "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
11
15
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
16
  declare const _default: typeof __VLS_export;
13
17
  export default _default;
@@ -1,13 +1,17 @@
1
1
  type ModelValue = number[];
2
+ type __VLS_Props = {
3
+ disableValidation?: boolean;
4
+ };
2
5
  type __VLS_ModelProps = {
3
6
  modelValue?: ModelValue;
4
7
  };
5
- declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
- "update:modelValue": (value: ModelValue | undefined) => any;
8
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
9
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
10
  "update:invalid": (args_0: boolean) => any;
8
- }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
9
- "onUpdate:modelValue"?: ((value: ModelValue | undefined) => any) | undefined;
11
+ "update:modelValue": (value: ModelValue | undefined) => any;
12
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
10
13
  "onUpdate:invalid"?: ((args_0: boolean) => any) | undefined;
14
+ "onUpdate:modelValue"?: ((value: ModelValue | undefined) => any) | undefined;
11
15
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
16
  declare const _default: typeof __VLS_export;
13
17
  export default _default;
@@ -8,11 +8,11 @@ type __VLS_ModelProps = {
8
8
  };
9
9
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
10
10
  declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
- "update:modelValue": (value: string | undefined) => any;
12
11
  "update:invalid": (args_0: boolean) => any;
12
+ "update:modelValue": (value: string | undefined) => any;
13
13
  }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
14
- "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
15
14
  "onUpdate:invalid"?: ((args_0: boolean) => any) | undefined;
15
+ "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
16
16
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
17
  declare const _default: typeof __VLS_export;
18
18
  export default _default;