@turquoisehealth/pit-viper 2.194.3-dev.2 → 2.194.5

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 (178) hide show
  1. package/_site/assets/css/pit-viper-a11y.css +258 -10
  2. package/_site/assets/css/pit-viper-consumer.css +258 -10
  3. package/_site/assets/css/pit-viper-v2-scoped.css +223 -10
  4. package/_site/assets/css/pit-viper-v2.css +258 -10
  5. package/_site/assets/css/pit-viper.css +258 -10
  6. package/package.json +15 -15
  7. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  8. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  9. package/pv-components/dist/stats/web/pv-accordion-stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-action-bar-stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-ai-button-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-avatar-group-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-avatar-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-banner-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-breadcrumbs-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-button-stats.html +1 -1
  17. package/pv-components/dist/stats/web/pv-card-stats.html +1 -1
  18. package/pv-components/dist/stats/web/pv-checkbox-stats.html +1 -1
  19. package/pv-components/dist/stats/web/pv-company-label-stats.html +1 -1
  20. package/pv-components/dist/stats/web/pv-company-logo-stats.html +1 -1
  21. package/pv-components/dist/stats/web/pv-company-tag-stats.html +1 -1
  22. package/pv-components/dist/stats/web/pv-counter-badge-stats.html +1 -1
  23. package/pv-components/dist/stats/web/pv-date-picker-stats.html +1 -1
  24. package/pv-components/dist/stats/web/pv-date-time-stats.html +1 -1
  25. package/pv-components/dist/stats/web/pv-distribution-bar-stats.html +1 -1
  26. package/pv-components/dist/stats/web/pv-drawer-stats.html +1 -1
  27. package/pv-components/dist/stats/web/pv-dropdown-stats.html +1 -1
  28. package/pv-components/dist/stats/web/pv-expandable-content-stats.html +1 -1
  29. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +4950 -0
  30. package/pv-components/dist/stats/web/pv-ghost-input-stats.html +1 -1
  31. package/pv-components/dist/stats/web/pv-header-stats.html +1 -1
  32. package/pv-components/dist/stats/web/pv-horizontal-scroller-stats.html +4950 -0
  33. package/pv-components/dist/stats/web/pv-icon-stats.html +1 -1
  34. package/pv-components/dist/stats/web/pv-input-stats.html +1 -1
  35. package/pv-components/dist/stats/web/pv-insight-card-stats.html +1 -1
  36. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  37. package/pv-components/dist/stats/web/pv-modal-stats.html +1 -1
  38. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  39. package/pv-components/dist/stats/web/pv-pagination-stats.html +1 -1
  40. package/pv-components/dist/stats/web/pv-pill-stats.html +1 -1
  41. package/pv-components/dist/stats/web/pv-popover-menu-stats.html +1 -1
  42. package/pv-components/dist/stats/web/pv-popover-stats.html +1 -1
  43. package/pv-components/dist/stats/web/pv-popover-v2-stats.html +1 -1
  44. package/pv-components/dist/stats/web/pv-progress-bar-stats.html +1 -1
  45. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  46. package/pv-components/dist/stats/web/pv-radio-group-stats.html +1 -1
  47. package/pv-components/dist/stats/web/pv-range-stats.html +1 -1
  48. package/pv-components/dist/stats/web/pv-rating-stats.html +1 -1
  49. package/pv-components/dist/stats/web/pv-release-badge-stats.html +1 -1
  50. package/pv-components/dist/stats/web/pv-search-input-stats.html +1 -1
  51. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
  52. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  53. package/pv-components/dist/stats/web/pv-selectable-card-stats.html +1 -1
  54. package/pv-components/dist/stats/web/pv-side-panel-stats.html +1 -1
  55. package/pv-components/dist/stats/web/pv-skeleton-stats.html +1 -1
  56. package/pv-components/dist/stats/web/pv-spinner-stats.html +1 -1
  57. package/pv-components/dist/stats/web/pv-sprite-stats.html +1 -1
  58. package/pv-components/dist/stats/web/pv-stepper-stats.html +1 -1
  59. package/pv-components/dist/stats/web/pv-suggestion-tag-stats.html +1 -1
  60. package/pv-components/dist/stats/web/pv-switch-stats.html +1 -1
  61. package/pv-components/dist/stats/web/pv-tab-list-stats.html +1 -1
  62. package/pv-components/dist/stats/web/pv-table-of-contents-stats.html +1 -1
  63. package/pv-components/dist/stats/web/pv-tabs-stats.html +1 -1
  64. package/pv-components/dist/stats/web/pv-tag-stats.html +1 -1
  65. package/pv-components/dist/stats/web/pv-text-area-stats.html +1 -1
  66. package/pv-components/dist/stats/web/pv-toast-stats.html +1 -1
  67. package/pv-components/dist/stats/web/pv-toggle-button-stats.html +1 -1
  68. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  69. package/pv-components/dist/stats/web/pv-tooltip-stats.html +1 -1
  70. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
  71. package/pv-components/dist/stats/web/pv-tree-stats.html +1 -1
  72. package/pv-components/dist/stats/web/pv-widget-stats.html +1 -1
  73. package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +74 -0
  74. package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanelAccordion.vue.d.ts +18 -0
  75. package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanelAppliedFiltersSection.vue.d.ts +12 -0
  76. package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanelCategoryButtonRow.vue.d.ts +14 -0
  77. package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanelOptionRow.vue.d.ts +34 -0
  78. package/pv-components/dist/vue/base/components/base/PvFilterPanel/advancedFilterModel.d.ts +26 -0
  79. package/pv-components/dist/vue/base/components/base/PvFilterPanel/aggregateFilterModel.d.ts +56 -0
  80. package/pv-components/dist/vue/base/components/base/PvFilterPanel/filterOptionDisplay.d.ts +28 -0
  81. package/pv-components/dist/vue/base/components/base/PvFilterPanel/filterOptionValue.d.ts +15 -0
  82. package/pv-components/dist/vue/base/components/base/PvFilterPanel/types.d.ts +410 -0
  83. package/pv-components/dist/vue/base/components/base/PvFilterPanel/usePvFilterStore.d.ts +5 -0
  84. package/pv-components/dist/vue/base/components/base/PvHorizontalScroller/PvHorizontalScroller.vue.d.ts +36 -0
  85. package/pv-components/dist/vue/base/components/base/PvHorizontalScroller/types.d.ts +21 -0
  86. package/pv-components/dist/vue/base/components/base/PvRange/PvRange.vue.d.ts +27 -15
  87. package/pv-components/dist/vue/base/components/base/PvRange/types.d.ts +44 -0
  88. package/pv-components/dist/vue/base/components/base/index.d.ts +6 -0
  89. package/pv-components/dist/vue/base/pv-components-base.mjs +3757 -1116
  90. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  91. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +74 -0
  92. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanelAccordion.vue.d.ts +18 -0
  93. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanelAppliedFiltersSection.vue.d.ts +12 -0
  94. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanelCategoryButtonRow.vue.d.ts +14 -0
  95. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanelOptionRow.vue.d.ts +34 -0
  96. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/advancedFilterModel.d.ts +26 -0
  97. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/aggregateFilterModel.d.ts +56 -0
  98. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/filterOptionDisplay.d.ts +28 -0
  99. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/filterOptionValue.d.ts +15 -0
  100. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/types.d.ts +410 -0
  101. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/usePvFilterStore.d.ts +5 -0
  102. package/pv-components/dist/vue/visualizations/components/base/PvHorizontalScroller/PvHorizontalScroller.vue.d.ts +36 -0
  103. package/pv-components/dist/vue/visualizations/components/base/PvHorizontalScroller/types.d.ts +21 -0
  104. package/pv-components/dist/vue/visualizations/components/base/PvRange/PvRange.vue.d.ts +27 -15
  105. package/pv-components/dist/vue/visualizations/components/base/PvRange/types.d.ts +44 -0
  106. package/pv-components/dist/vue/visualizations/components/base/index.d.ts +6 -0
  107. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/PvDataTableWithChart.vue.d.ts +1 -1
  108. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/SetFilter.vue.d.ts +2 -2
  109. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +6 -0
  110. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useSetFilter.d.ts +1 -0
  111. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +1889 -1845
  112. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  113. package/pv-components/dist/web/components/pv-accordion/pv-accordion.js +35 -28
  114. package/pv-components/dist/web/components/pv-action-bar/pv-action-bar.js +397 -390
  115. package/pv-components/dist/web/components/pv-ai-button/pv-ai-button.js +35 -28
  116. package/pv-components/dist/web/components/pv-avatar/pv-avatar.js +35 -28
  117. package/pv-components/dist/web/components/pv-avatar-group/pv-avatar-group.js +274 -267
  118. package/pv-components/dist/web/components/pv-banner/pv-banner.js +35 -28
  119. package/pv-components/dist/web/components/pv-breadcrumbs/pv-breadcrumbs.js +356 -349
  120. package/pv-components/dist/web/components/pv-button/pv-button.js +35 -28
  121. package/pv-components/dist/web/components/pv-card/pv-card.js +35 -28
  122. package/pv-components/dist/web/components/pv-checkbox/pv-checkbox.js +35 -28
  123. package/pv-components/dist/web/components/pv-company-label/pv-company-label.js +35 -28
  124. package/pv-components/dist/web/components/pv-company-logo/pv-company-logo.js +131 -124
  125. package/pv-components/dist/web/components/pv-company-tag/pv-company-tag.js +35 -28
  126. package/pv-components/dist/web/components/pv-counter-badge/pv-counter-badge.js +209 -202
  127. package/pv-components/dist/web/components/pv-date-picker/pv-date-picker.js +71 -64
  128. package/pv-components/dist/web/components/pv-date-time/pv-date-time.js +35 -28
  129. package/pv-components/dist/web/components/pv-distribution-bar/pv-distribution-bar.js +508 -501
  130. package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +35 -28
  131. package/pv-components/dist/web/components/pv-dropdown/pv-dropdown.js +410 -403
  132. package/pv-components/dist/web/components/pv-expandable-content/pv-expandable-content.js +49 -42
  133. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +10798 -0
  134. package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +35 -28
  135. package/pv-components/dist/web/components/pv-header/pv-header.js +49 -42
  136. package/pv-components/dist/web/components/pv-horizontal-scroller/pv-horizontal-scroller.js +6476 -0
  137. package/pv-components/dist/web/components/pv-icon/pv-icon.js +513 -506
  138. package/pv-components/dist/web/components/pv-input/pv-input.js +35 -28
  139. package/pv-components/dist/web/components/pv-insight-card/pv-insight-card.js +182 -175
  140. package/pv-components/dist/web/components/pv-menu/pv-menu.js +35 -28
  141. package/pv-components/dist/web/components/pv-modal/pv-modal.js +35 -28
  142. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +702 -695
  143. package/pv-components/dist/web/components/pv-pagination/pv-pagination.js +35 -28
  144. package/pv-components/dist/web/components/pv-pill/pv-pill.js +356 -349
  145. package/pv-components/dist/web/components/pv-popover/pv-popover.js +35 -28
  146. package/pv-components/dist/web/components/pv-popover-menu/pv-popover-menu.js +168 -161
  147. package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +35 -28
  148. package/pv-components/dist/web/components/pv-progress-bar/pv-progress-bar.js +103 -96
  149. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +453 -446
  150. package/pv-components/dist/web/components/pv-radio-group/pv-radio-group.js +35 -28
  151. package/pv-components/dist/web/components/pv-range/pv-range.js +1117 -530
  152. package/pv-components/dist/web/components/pv-rating/pv-rating.js +35 -28
  153. package/pv-components/dist/web/components/pv-release-badge/pv-release-badge.js +209 -202
  154. package/pv-components/dist/web/components/pv-search-input/pv-search-input.js +35 -28
  155. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +35 -28
  156. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +35 -28
  157. package/pv-components/dist/web/components/pv-selectable-card/pv-selectable-card.js +509 -502
  158. package/pv-components/dist/web/components/pv-side-panel/pv-side-panel.js +356 -349
  159. package/pv-components/dist/web/components/pv-skeleton/pv-skeleton.js +35 -28
  160. package/pv-components/dist/web/components/pv-spinner/pv-spinner.js +397 -390
  161. package/pv-components/dist/web/components/pv-sprite/pv-sprite.js +397 -390
  162. package/pv-components/dist/web/components/pv-stepper/pv-stepper.js +35 -28
  163. package/pv-components/dist/web/components/pv-suggestion-tag/pv-suggestion-tag.js +35 -28
  164. package/pv-components/dist/web/components/pv-switch/pv-switch.js +35 -28
  165. package/pv-components/dist/web/components/pv-tab-list/pv-tab-list.js +35 -28
  166. package/pv-components/dist/web/components/pv-table-of-contents/pv-table-of-contents.js +35 -28
  167. package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +35 -28
  168. package/pv-components/dist/web/components/pv-tag/pv-tag.js +402 -395
  169. package/pv-components/dist/web/components/pv-text-area/pv-text-area.js +35 -28
  170. package/pv-components/dist/web/components/pv-toast/pv-toast.js +402 -395
  171. package/pv-components/dist/web/components/pv-toggle-button/pv-toggle-button.js +35 -28
  172. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +35 -28
  173. package/pv-components/dist/web/components/pv-tooltip/pv-tooltip.js +35 -28
  174. package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +100 -93
  175. package/pv-components/dist/web/components/pv-tree/pv-tree.js +35 -28
  176. package/pv-components/dist/web/components/pv-widget/pv-widget.js +356 -349
  177. package/pv-components/dist/web/pv-components.iife.js +38 -38
  178. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -0,0 +1,74 @@
1
+ import { PvFilterPanelColDef, PvFilterPanelFilterChangeEvent, PvFilterPanelFilterModel, PvFilterPanelOption, PvFilterPanelProps, PvFilterPanelSuggestion } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ type __VLS_Props = PvFilterPanelProps;
4
+ type __VLS_PublicProps = {
5
+ "filterModel"?: PvFilterPanelFilterModel;
6
+ "isCollapsed"?: boolean;
7
+ } & __VLS_Props;
8
+ declare function __VLS_template(): {
9
+ attrs: Partial<{}>;
10
+ slots: {
11
+ suggestions?(_: {}): any;
12
+ };
13
+ refs: {};
14
+ rootEl: any;
15
+ };
16
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
+ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
18
+ cancel: () => any;
19
+ "load-more": (field: string, colDef: PvFilterPanelColDef, query: string, parentId?: string | undefined) => any;
20
+ "focus-change": (field: string, value: string, option: PvFilterPanelOption) => any;
21
+ "handle-settings-icon": (field: string, colDef: PvFilterPanelColDef) => any;
22
+ "open-change": (field: string, open: boolean, colDef: PvFilterPanelColDef) => any;
23
+ "filter-change": (event: PvFilterPanelFilterChangeEvent) => any;
24
+ "search-change": (field: string, query: string, colDef: PvFilterPanelColDef) => any;
25
+ apply: (filterModel: PvFilterPanelFilterModel) => any;
26
+ "suggestion-click": (suggestion: PvFilterPanelSuggestion) => any;
27
+ "update:filterModel": (value: PvFilterPanelFilterModel) => any;
28
+ "update:isCollapsed": (value: boolean) => any;
29
+ }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
30
+ onCancel?: (() => any) | undefined;
31
+ "onLoad-more"?: ((field: string, colDef: PvFilterPanelColDef, query: string, parentId?: string | undefined) => any) | undefined;
32
+ "onFocus-change"?: ((field: string, value: string, option: PvFilterPanelOption) => any) | undefined;
33
+ "onHandle-settings-icon"?: ((field: string, colDef: PvFilterPanelColDef) => any) | undefined;
34
+ "onOpen-change"?: ((field: string, open: boolean, colDef: PvFilterPanelColDef) => any) | undefined;
35
+ "onFilter-change"?: ((event: PvFilterPanelFilterChangeEvent) => any) | undefined;
36
+ "onSearch-change"?: ((field: string, query: string, colDef: PvFilterPanelColDef) => any) | undefined;
37
+ onApply?: ((filterModel: PvFilterPanelFilterModel) => any) | undefined;
38
+ "onSuggestion-click"?: ((suggestion: PvFilterPanelSuggestion) => any) | undefined;
39
+ "onUpdate:filterModel"?: ((value: PvFilterPanelFilterModel) => any) | undefined;
40
+ "onUpdate:isCollapsed"?: ((value: boolean) => any) | undefined;
41
+ }>, {
42
+ enableFocusView: boolean;
43
+ width: string;
44
+ ariaLabel: string;
45
+ readOnly: boolean;
46
+ focusText: string;
47
+ filterOptions: Record<string, PvFilterPanelOption[]>;
48
+ applyLabel: string;
49
+ autoHideRelatedFilterFields: boolean;
50
+ cancelLabel: string;
51
+ clearAllBody: string;
52
+ clearAllHeader: string;
53
+ clearAllLabel: string;
54
+ colDefs: PvFilterPanelColDef[];
55
+ devMode: boolean;
56
+ displayPreferencesIcon: boolean;
57
+ filterHasMoreMap: Record<string, boolean | undefined>;
58
+ filterLoadingMap: Record<string, boolean | undefined>;
59
+ filterLoadingMoreMap: Record<string, boolean | undefined>;
60
+ filterSearchQueries: Record<string, string | undefined>;
61
+ filterSuggestions: PvFilterPanelSuggestion[];
62
+ focusableFields: string[];
63
+ focusedValues: Record<string, string[] | undefined>;
64
+ hideCollapseButton: boolean;
65
+ rangeDebounceMs: number;
66
+ staged: boolean;
67
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
68
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
69
+ export default _default;
70
+ type __VLS_WithTemplateSlots<T, S> = T & {
71
+ new (): {
72
+ $slots: S;
73
+ };
74
+ };
@@ -0,0 +1,18 @@
1
+ import { PvFilterPanelAccordionProps, PvFilterPanelControlChange, PvFilterPanelOption, PvFilterPanelColDef } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare const _default: DefineComponent<PvFilterPanelAccordionProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
4
+ "load-more": (query: string, parentId?: string | undefined) => any;
5
+ "focus-change": (field: string, value: string, option: PvFilterPanelOption) => any;
6
+ "handle-settings-icon": (field: string, colDef: PvFilterPanelColDef) => any;
7
+ "open-change": (open: boolean) => any;
8
+ "filter-change": (change: PvFilterPanelControlChange) => any;
9
+ "search-change": (query: string) => any;
10
+ }, string, PublicProps, Readonly<PvFilterPanelAccordionProps> & Readonly<{
11
+ "onLoad-more"?: ((query: string, parentId?: string | undefined) => any) | undefined;
12
+ "onFocus-change"?: ((field: string, value: string, option: PvFilterPanelOption) => any) | undefined;
13
+ "onHandle-settings-icon"?: ((field: string, colDef: PvFilterPanelColDef) => any) | undefined;
14
+ "onOpen-change"?: ((open: boolean) => any) | undefined;
15
+ "onFilter-change"?: ((change: PvFilterPanelControlChange) => any) | undefined;
16
+ "onSearch-change"?: ((query: string) => any) | undefined;
17
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDetailsElement>;
18
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import { PvFilterPanelAppliedFiltersSectionProps, PvFilterPanelFilterType, PvFilterPanelAppliedGroup } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare const _default: DefineComponent<PvFilterPanelAppliedFiltersSectionProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
4
+ "remove-filter": (filterKey: string, value: string, type?: PvFilterPanelFilterType | undefined) => any;
5
+ }, string, PublicProps, Readonly<PvFilterPanelAppliedFiltersSectionProps> & Readonly<{
6
+ "onRemove-filter"?: ((filterKey: string, value: string, type?: PvFilterPanelFilterType | undefined) => any) | undefined;
7
+ }>, {
8
+ readOnly: boolean;
9
+ appliedCount: number;
10
+ appliedGroups: PvFilterPanelAppliedGroup[];
11
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
12
+ export default _default;
@@ -0,0 +1,14 @@
1
+ import { PvFilterPanelCategory, PvFilterPanelCategoryButtonRowProps, PvFilterPanelResolvedFilter } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ type __VLS_Props = PvFilterPanelCategoryButtonRowProps;
4
+ type __VLS_PublicProps = {
5
+ modelValue?: PvFilterPanelCategory | null;
6
+ } & __VLS_Props;
7
+ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
8
+ "update:modelValue": (value: string | null) => any;
9
+ }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
10
+ "onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
11
+ }>, {
12
+ filters: PvFilterPanelResolvedFilter[];
13
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
14
+ export default _default;
@@ -0,0 +1,34 @@
1
+ import { PvFilterPanelOptionRowProps, PvFilterPanelResultCount } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare function __VLS_template(): {
4
+ attrs: Partial<{}>;
5
+ slots: {
6
+ 'result-count'?(_: {}): any;
7
+ };
8
+ refs: {};
9
+ rootEl: HTMLLabelElement;
10
+ };
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const __VLS_component: DefineComponent<PvFilterPanelOptionRowProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
13
+ "focus-value": (value: string) => any;
14
+ "toggle-value": (value: string, checked: boolean) => any;
15
+ }, string, PublicProps, Readonly<PvFilterPanelOptionRowProps> & Readonly<{
16
+ "onFocus-value"?: ((value: string) => any) | undefined;
17
+ "onToggle-value"?: ((value: string, checked: boolean) => any) | undefined;
18
+ }>, {
19
+ disabled: boolean;
20
+ selected: boolean;
21
+ indeterminate: boolean;
22
+ resultCount: PvFilterPanelResultCount | null;
23
+ depth: number;
24
+ focusText: string;
25
+ isFocused: boolean;
26
+ showFocusAction: boolean;
27
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
28
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
29
+ export default _default;
30
+ type __VLS_WithTemplateSlots<T, S> = T & {
31
+ new (): {
32
+ $slots: S;
33
+ };
34
+ };
@@ -0,0 +1,26 @@
1
+ import { AdvancedFilterModel } from 'ag-grid-enterprise';
2
+ import { PvFilterPanelColDef, PvFilterPanelFilterModelType } from './types';
3
+ export interface PvFilterPanelRangeValue {
4
+ max: number | null;
5
+ min: number | null;
6
+ }
7
+ export type PvAdvancedFilterColumnType = "date" | "dateString" | "dateTime" | "dateTimeString" | "number" | "object" | "text";
8
+ export interface PvFilterPanelModelIndexEntry {
9
+ booleanValue: boolean | null;
10
+ existsValue: boolean;
11
+ rangeValue: PvFilterPanelRangeValue;
12
+ values: string[];
13
+ }
14
+ export type PvFilterPanelModelIndex = Map<string, PvFilterPanelModelIndexEntry>;
15
+ export declare const createFilterPanelModelIndex: (model: AdvancedFilterModel | null | undefined | unknown, modelType?: PvFilterPanelFilterModelType) => PvFilterPanelModelIndex;
16
+ export declare const advancedFilterHasConditions: (model: AdvancedFilterModel | null | undefined | unknown, modelType?: PvFilterPanelFilterModelType) => boolean;
17
+ export declare const getBooleanFilter: (model: AdvancedFilterModel | null | unknown, colId: string, modelType?: PvFilterPanelFilterModelType) => boolean | null;
18
+ export declare const getExistsFilter: (model: AdvancedFilterModel | null | unknown, colId: string, modelType?: PvFilterPanelFilterModelType) => boolean;
19
+ export declare const getRangeFilter: (model: AdvancedFilterModel | null | unknown, colId: string, modelType?: PvFilterPanelFilterModelType) => PvFilterPanelRangeValue;
20
+ export declare const getAdvancedFilterTypeForDataType: (dataType?: string | null) => PvAdvancedFilterColumnType;
21
+ export declare const getValueSelections: (model: AdvancedFilterModel | null | unknown, colId: string, modelType?: PvFilterPanelFilterModelType) => string[];
22
+ export declare const removeColumnFilter: (model: AdvancedFilterModel | null, colId: string, modelType?: PvFilterPanelFilterModelType) => AdvancedFilterModel | null;
23
+ export declare const updateBooleanFilter: (model: AdvancedFilterModel | null, colId: string, value: boolean | null, modelType?: PvFilterPanelFilterModelType, advancedFilterType?: "boolean" | "text", colDef?: PvFilterPanelColDef) => AdvancedFilterModel | null;
24
+ export declare const updateExistsFilter: (model: AdvancedFilterModel | null, colId: string, value: boolean, filterType?: PvAdvancedFilterColumnType, modelType?: PvFilterPanelFilterModelType, colDef?: PvFilterPanelColDef) => AdvancedFilterModel | null;
25
+ export declare const updateRangeFilter: (model: AdvancedFilterModel | null, colId: string, minValue: number | null, maxValue: number | null, modelType?: PvFilterPanelFilterModelType, colDef?: PvFilterPanelColDef) => AdvancedFilterModel | null;
26
+ export declare const updateValueFilter: (model: AdvancedFilterModel | null, colId: string, values: string[], modelType?: PvFilterPanelFilterModelType, colDef?: PvFilterPanelColDef) => AdvancedFilterModel | null;
@@ -0,0 +1,56 @@
1
+ import { AdvancedFilterModel } from 'ag-grid-enterprise';
2
+ import { MultiSelectState } from '../../../types';
3
+ import { PvFilterPanelAggregateFieldHierarchy, PvFilterPanelColDef, PvFilterPanelOption } from './types';
4
+ export interface PvFilterPanelAggregateSelectionStatus {
5
+ indeterminate: boolean;
6
+ selected: boolean;
7
+ }
8
+ export interface PvFilterPanelAggregateFieldValue {
9
+ field?: string;
10
+ value: string;
11
+ }
12
+ export declare const removeFilterPanelAggregateFieldsFromModel: (model: AdvancedFilterModel | null | undefined, fields: string[] | Set<string>) => AdvancedFilterModel | null;
13
+ export declare const flattenFilterPanelAggregateFieldHierarchy: (hierarchy: PvFilterPanelAggregateFieldHierarchy | undefined) => string[];
14
+ export declare const getFilterPanelAggregateLeafFields: (hierarchy: PvFilterPanelAggregateFieldHierarchy | undefined) => string[];
15
+ export declare const getFilterPanelAggregateFields: (colDef: PvFilterPanelColDef | null | undefined) => string[];
16
+ export declare const getFilterPanelAggregateRootField: (colDef: PvFilterPanelColDef | null | undefined) => string | undefined;
17
+ export declare const isFilterPanelAggregateColDef: (colDef: PvFilterPanelColDef | null | undefined) => boolean;
18
+ export declare const findFilterPanelOptionByValue: (options: (PvFilterPanelOption | null)[] | undefined, value: string) => PvFilterPanelOption | undefined;
19
+ export declare const getFilterPanelAggregateFieldValue: (optionId: string, options?: (PvFilterPanelOption | null)[]) => PvFilterPanelAggregateFieldValue;
20
+ export declare const findFilterPanelAggregateOptionId: (options: (PvFilterPanelOption | null)[] | undefined, field: string, rawValue: string) => string;
21
+ export declare const buildFilterPanelAggregateModelFromSelectionState: (params: {
22
+ baseModel: AdvancedFilterModel | null | undefined;
23
+ colDef: PvFilterPanelColDef;
24
+ options?: (PvFilterPanelOption | null)[];
25
+ state: MultiSelectState;
26
+ }) => AdvancedFilterModel | null;
27
+ export declare const seedFilterPanelAggregateSelectionState: (params: {
28
+ colDef: PvFilterPanelColDef;
29
+ model: AdvancedFilterModel | null | undefined;
30
+ options?: (PvFilterPanelOption | null)[];
31
+ }) => MultiSelectState;
32
+ export declare const getFilterPanelAggregateSelectedValuesByField: (params: {
33
+ colDef: PvFilterPanelColDef;
34
+ model: AdvancedFilterModel | null | undefined;
35
+ options?: (PvFilterPanelOption | null)[];
36
+ }) => Map<string, string[]>;
37
+ export declare const updateFilterPanelAggregateSelectionState: (params: {
38
+ checked: boolean;
39
+ option: PvFilterPanelOption;
40
+ options?: (PvFilterPanelOption | null)[];
41
+ state: MultiSelectState;
42
+ }) => MultiSelectState;
43
+ export declare const createFilterPanelAggregateSelectionStatusMap: (params: {
44
+ options?: (PvFilterPanelOption | null)[];
45
+ state: MultiSelectState;
46
+ }) => Map<string, PvFilterPanelAggregateSelectionStatus>;
47
+ export declare const getFilterPanelAggregateOptionSelectionStatus: (params: {
48
+ option: PvFilterPanelOption;
49
+ options?: (PvFilterPanelOption | null)[];
50
+ state: MultiSelectState;
51
+ }) => PvFilterPanelAggregateSelectionStatus;
52
+ export declare const getFilterPanelAggregateSelectionOptions: (params: {
53
+ options?: (PvFilterPanelOption | null)[];
54
+ state: MultiSelectState;
55
+ }) => PvFilterPanelOption[];
56
+ export declare const getFilterPanelAggregateSelectionCount: (state: MultiSelectState) => number;
@@ -0,0 +1,28 @@
1
+ export type PvFilterPanelDisplayResultCount = number | string;
2
+ export type FilterPanelDisplayResultCount = PvFilterPanelDisplayResultCount;
3
+ interface FilterOptionDisplaySource {
4
+ label?: string;
5
+ metadata?: unknown;
6
+ rawValue?: boolean | number | string | null;
7
+ resultCount?: unknown;
8
+ totalChildCount?: unknown;
9
+ value: string;
10
+ }
11
+ interface FilterOptionColDefLike {
12
+ context?: {
13
+ filterValueFormatter?: ((params: never) => string) | string | null;
14
+ metadataDisplayFields?: string[];
15
+ } | null;
16
+ valueFormatter?: ((params: never) => string) | string | null;
17
+ }
18
+ export declare const formatFilterPanelScalarValue: (value: number, options?: {
19
+ dataType?: string | null;
20
+ valueDecimals?: number | null;
21
+ }) => string;
22
+ export declare const formatFilterPanelRangeValue: (min: number | null, max: number | null, options?: {
23
+ dataType?: string | null;
24
+ valueDecimals?: number | null;
25
+ }) => string;
26
+ export declare const getFilterOptionLabel: (option: FilterOptionDisplaySource, colDef?: FilterOptionColDefLike) => string;
27
+ export declare const getFilterOptionResultCount: (option: FilterOptionDisplaySource | null | undefined) => PvFilterPanelDisplayResultCount | undefined;
28
+ export {};
@@ -0,0 +1,15 @@
1
+ import { PvFilterPanelOption } from './types';
2
+ export interface PvFilterPanelScopedValue {
3
+ field?: string;
4
+ pairs: Array<{
5
+ field: string;
6
+ value: string;
7
+ }>;
8
+ value: string;
9
+ }
10
+ export declare const parseFilterPanelScopedValue: (value: string | null | undefined) => PvFilterPanelScopedValue | null;
11
+ export declare const createFilterPanelScopedValue: (field: string, value: string) => string;
12
+ export declare const getFilterPanelOptionRawValue: (option: PvFilterPanelOption | null | undefined) => string | null;
13
+ export declare const getFilterPanelOptionField: (option: PvFilterPanelOption | null | undefined, fallbackField: string) => string;
14
+ export declare const flattenFilterPanelOptions: (options: PvFilterPanelOption[]) => PvFilterPanelOption[];
15
+ export declare const filterPanelOptionMatchesRawValue: (option: PvFilterPanelOption, field: string, rawValue: string, fallbackField: string) => boolean;