@turquoisehealth/pit-viper 2.237.0 → 2.238.1-dev.0

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 (62) hide show
  1. package/package.json +1 -1
  2. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  3. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  4. package/pv-components/dist/stats/web/pv-dropdown-stats.html +1 -1
  5. package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
  6. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  7. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  8. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  9. package/pv-components/dist/stats/web/pv-popover-menu-stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-popover-stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  13. package/pv-components/dist/vue/ai/components/base/PvDropdown/PvDropdown.vue.d.ts +9 -1
  14. package/pv-components/dist/vue/ai/components/base/PvFilterModal/PvFilterModal.vue.d.ts +2 -0
  15. package/pv-components/dist/vue/ai/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +4 -1
  16. package/pv-components/dist/vue/ai/components/base/PvFilterPanel/PvFilterPanelAppliedFiltersSection.vue.d.ts +4 -1
  17. package/pv-components/dist/vue/ai/components/base/PvFilterPanel/types.d.ts +25 -0
  18. package/pv-components/dist/vue/ai/components/base/PvPopover/PvPopover.vue.d.ts +8 -0
  19. package/pv-components/dist/vue/ai/components/base/PvQueryBuilderInput/PvQueryBuilderInput.vue.d.ts +21 -1
  20. package/pv-components/dist/vue/ai/components/base/PvQueryBuilderInput/useQueryBuilder.d.ts +1 -1
  21. package/pv-components/dist/vue/base/components/base/PvDropdown/PvDropdown.vue.d.ts +9 -1
  22. package/pv-components/dist/vue/base/components/base/PvFilterModal/PvFilterModal.vue.d.ts +2 -0
  23. package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +4 -1
  24. package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanelAppliedFiltersSection.vue.d.ts +4 -1
  25. package/pv-components/dist/vue/base/components/base/PvFilterPanel/types.d.ts +25 -0
  26. package/pv-components/dist/vue/base/components/base/PvPopover/PvPopover.vue.d.ts +8 -0
  27. package/pv-components/dist/vue/base/components/base/PvQueryBuilderInput/PvQueryBuilderInput.vue.d.ts +21 -1
  28. package/pv-components/dist/vue/base/components/base/PvQueryBuilderInput/useQueryBuilder.d.ts +1 -1
  29. package/pv-components/dist/vue/base/pv-components-base.mjs +1931 -1817
  30. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  31. package/pv-components/dist/vue/base/types.d.ts +6 -0
  32. package/pv-components/dist/vue/visualizations/components/base/PvDropdown/PvDropdown.vue.d.ts +9 -1
  33. package/pv-components/dist/vue/visualizations/components/base/PvFilterModal/PvFilterModal.vue.d.ts +2 -0
  34. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +4 -1
  35. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanelAppliedFiltersSection.vue.d.ts +4 -1
  36. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/types.d.ts +25 -0
  37. package/pv-components/dist/vue/visualizations/components/base/PvPopover/PvPopover.vue.d.ts +8 -0
  38. package/pv-components/dist/vue/visualizations/components/base/PvQueryBuilderInput/PvQueryBuilderInput.vue.d.ts +21 -1
  39. package/pv-components/dist/vue/visualizations/components/base/PvQueryBuilderInput/useQueryBuilder.d.ts +1 -1
  40. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/table-chart-components/PvTableOptionsPanel.vue.d.ts +9 -1
  41. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/helpers.d.ts +5 -0
  42. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/FilterGroupMenu.vue.d.ts +9 -1
  43. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +2 -1
  44. package/pv-components/dist/vue/visualizations/components/tables/themes.d.ts +7 -1
  45. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +1810 -1758
  46. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  47. package/pv-components/dist/vue/visualizations/types.d.ts +6 -0
  48. package/pv-components/dist/web/components/pv-dropdown/pv-dropdown.js +947 -933
  49. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +1457 -1383
  50. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +715 -677
  51. package/pv-components/dist/web/components/pv-menu/pv-menu.js +1533 -1461
  52. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +1820 -1748
  53. package/pv-components/dist/web/components/pv-popover/pv-popover.js +952 -938
  54. package/pv-components/dist/web/components/pv-popover-menu/pv-popover-menu.js +944 -930
  55. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +1948 -1861
  56. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +1777 -1705
  57. package/pv-components/dist/web/pv-components.iife.js +36 -36
  58. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
  59. package/pv-components/dist/vue/ai/components/base/PvQueryBuilderInput/QueryBuilderMenuOptionRenderer.vue.d.ts +0 -6
  60. package/pv-components/dist/vue/base/components/base/PvQueryBuilderInput/QueryBuilderMenuOptionRenderer.vue.d.ts +0 -6
  61. package/pv-components/dist/vue/visualizations/components/base/PvQueryBuilderInput/QueryBuilderMenuOptionRenderer.vue.d.ts +0 -6
  62. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/table-chart-components/PvChartOptionMenuItemRenderer.vue.d.ts +0 -10
@@ -30,9 +30,15 @@ export interface MenuOption<T = unknown> {
30
30
  subText?: string;
31
31
  /** Value of the secondary text which appears on the menu item. Number shows up as a counter badge, string shows up as plain text */
32
32
  secondaryText?: number | string;
33
+ /** When true, a spinner takes the place of the secondary text. Takes precedence over secondaryIcon and secondaryText. */
34
+ secondaryLoading?: boolean;
35
+ /** Icon rendered in place of the secondary text. Takes precedence over secondaryText. */
36
+ secondaryIcon?: string;
33
37
  subduedText?: string;
34
38
  icon?: string;
35
39
  hoverTitle?: string;
40
+ /** Explanatory copy surfaced as an info-icon tooltip at the end of the menu item. */
41
+ description?: string;
36
42
  /** Optional Datadog RUM action name applied to the interactive menu item. */
37
43
  rumActionName?: string;
38
44
  /** ARIA popup type for options with custom child content. Defaults to menu. */
@@ -49,6 +49,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<PvDropdownProps
49
49
  readonly cssCustomListProperties?: CSSProperties | undefined;
50
50
  readonly cssCustomProperties?: CSSProperties | undefined;
51
51
  readonly isList?: boolean | undefined;
52
+ readonly listId?: string | undefined;
53
+ readonly listRole?: string | undefined;
52
54
  readonly isSortable?: boolean | undefined;
53
55
  readonly "onList-order-updated"?: ((value: string[]) => any) | undefined;
54
56
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -77,6 +79,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<PvDropdownProps
77
79
  cssCustomProperties: CSSProperties;
78
80
  alignment: "top" | "right" | "top right";
79
81
  isList: boolean;
82
+ listId: string;
83
+ listRole: string;
80
84
  isSortable: boolean;
81
85
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
82
86
  beforeCreate?: (() => void) | (() => void)[];
@@ -102,15 +106,19 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<PvDropdownProps
102
106
  cssCustomProperties: CSSProperties;
103
107
  alignment: "top" | "right" | "top right";
104
108
  isList: boolean;
109
+ listId: string;
110
+ listRole: string;
105
111
  isSortable: boolean;
106
112
  }> & Omit<Readonly< PvPopoverProps> & Readonly<{
107
113
  "onList-order-updated"?: ((value: string[]) => any) | undefined;
108
- }>, "popoverRoot" | ("cssCustomProperties" | "alignment" | "isList" | "isSortable")> & {
114
+ }>, "popoverRoot" | ("cssCustomProperties" | "alignment" | "isList" | "listId" | "listRole" | "isSortable")> & {
109
115
  popoverRoot: HTMLElement | null;
110
116
  } & {} & ComponentCustomProperties & {} & {
111
117
  $slots: {
118
+ header?(_: {}): any;
112
119
  default?(_: {}): any;
113
120
  default?(_: {}): any;
121
+ footer?(_: {}): any;
114
122
  };
115
123
  }) | null;
116
124
  }, HTMLDivElement>, {
@@ -23,6 +23,7 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}
23
23
  "controlled-change": (filterKey: string, values: string[], colDef: PvFilterPanelColDef) => any;
24
24
  "filter-change": (event: PvFilterPanelFilterChangeEvent) => any;
25
25
  "focus-change": (field: string, value: string, option: PvFilterPanelOption) => any;
26
+ "remove-external-filter": (key: string, value: string) => any;
26
27
  "handle-settings-icon": (field: string, colDef: PvFilterPanelColDef) => any;
27
28
  "open-change": (field: string, open: boolean, colDef: PvFilterPanelColDef) => any;
28
29
  "search-change": (field: string, query: string, colDef: PvFilterPanelColDef) => any;
@@ -37,6 +38,7 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}
37
38
  "onControlled-change"?: ((filterKey: string, values: string[], colDef: PvFilterPanelColDef) => any) | undefined;
38
39
  "onFilter-change"?: ((event: PvFilterPanelFilterChangeEvent) => any) | undefined;
39
40
  "onFocus-change"?: ((field: string, value: string, option: PvFilterPanelOption) => any) | undefined;
41
+ "onRemove-external-filter"?: ((key: string, value: string) => any) | undefined;
40
42
  "onHandle-settings-icon"?: ((field: string, colDef: PvFilterPanelColDef) => any) | undefined;
41
43
  "onOpen-change"?: ((field: string, open: boolean, colDef: PvFilterPanelColDef) => any) | undefined;
42
44
  "onSearch-change"?: ((field: string, query: string, colDef: PvFilterPanelColDef) => any) | undefined;
@@ -1,4 +1,4 @@
1
- import { PvFilterPanelFilterModel, PvFilterPanelProps, PvFilterPanelColDef, PvFilterPanelFilterChangeEvent, PvFilterPanelOption, PvFilterPanelSuggestion } from './types';
1
+ import { PvFilterPanelFilterModel, PvFilterPanelProps, PvFilterPanelColDef, PvFilterPanelFilterChangeEvent, PvFilterPanelOption, PvFilterPanelSuggestion, PvFilterPanelExternalFilterGroup } from './types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  type __VLS_Props = PvFilterPanelProps;
4
4
  type __VLS_PublicProps = {
@@ -22,6 +22,7 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}
22
22
  "controlled-change": (filterKey: string, values: string[], colDef: PvFilterPanelColDef) => any;
23
23
  "filter-change": (event: PvFilterPanelFilterChangeEvent) => any;
24
24
  "focus-change": (field: string, value: string, option: PvFilterPanelOption) => any;
25
+ "remove-external-filter": (key: string, value: string) => any;
25
26
  "handle-settings-icon": (field: string, colDef: PvFilterPanelColDef) => any;
26
27
  "open-change": (field: string, open: boolean, colDef: PvFilterPanelColDef) => any;
27
28
  "search-change": (field: string, query: string, colDef: PvFilterPanelColDef) => any;
@@ -36,6 +37,7 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}
36
37
  "onControlled-change"?: ((filterKey: string, values: string[], colDef: PvFilterPanelColDef) => any) | undefined;
37
38
  "onFilter-change"?: ((event: PvFilterPanelFilterChangeEvent) => any) | undefined;
38
39
  "onFocus-change"?: ((field: string, value: string, option: PvFilterPanelOption) => any) | undefined;
40
+ "onRemove-external-filter"?: ((key: string, value: string) => any) | undefined;
39
41
  "onHandle-settings-icon"?: ((field: string, colDef: PvFilterPanelColDef) => any) | undefined;
40
42
  "onOpen-change"?: ((field: string, open: boolean, colDef: PvFilterPanelColDef) => any) | undefined;
41
43
  "onSearch-change"?: ((field: string, query: string, colDef: PvFilterPanelColDef) => any) | undefined;
@@ -72,6 +74,7 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}
72
74
  clearAllLabel: string;
73
75
  disableWhileLoading: boolean;
74
76
  enableFilterSearch: boolean;
77
+ externalFilters: PvFilterPanelExternalFilterGroup[];
75
78
  filterSearchPlaceholder: string;
76
79
  hideCollapseButton: boolean;
77
80
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
@@ -1,11 +1,14 @@
1
- import { PvFilterPanelAppliedFiltersSectionProps, PvFilterPanelFilterType, PvFilterPanelAppliedGroup } from './types';
1
+ import { PvFilterPanelAppliedFiltersSectionProps, PvFilterPanelExternalFilterGroup, PvFilterPanelFilterType, PvFilterPanelAppliedGroup } from './types';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  declare const _default: DefineComponent<PvFilterPanelAppliedFiltersSectionProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
4
4
  "remove-filter": (filterKey: string, value: string, type?: PvFilterPanelFilterType | undefined) => any;
5
+ "remove-external-filter": (key: string, value: string) => any;
5
6
  }, string, PublicProps, Readonly<PvFilterPanelAppliedFiltersSectionProps> & Readonly<{
6
7
  "onRemove-filter"?: ((filterKey: string, value: string, type?: PvFilterPanelFilterType | undefined) => any) | undefined;
8
+ "onRemove-external-filter"?: ((key: string, value: string) => any) | undefined;
7
9
  }>, {
8
10
  readOnly: boolean;
11
+ externalFilters: PvFilterPanelExternalFilterGroup[];
9
12
  appliedCount: number;
10
13
  appliedGroups: PvFilterPanelAppliedGroup[];
11
14
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
@@ -289,6 +289,21 @@ export interface PvFilterPanelAppliedGroup {
289
289
  label: string;
290
290
  values: PvFilterPanelAppliedValue[];
291
291
  }
292
+ /**
293
+ * A filter that is applied outside the panel's own controls - a table search bar's partial match, a
294
+ * saved view, a URL parameter - surfaced at the top of the Applied tab so every active narrowing is
295
+ * visible in one place. The panel only displays these: it never writes them to the filter model, and
296
+ * removing one is reported back through `remove-external-filter` for the owner to act on.
297
+ */
298
+ export interface PvFilterPanelExternalFilterGroup {
299
+ /** Stable key echoed back with removals. */
300
+ key: string;
301
+ /** Heading shown above the group's tags. */
302
+ label: string;
303
+ /** When false, tags render without a clear button and clear-all leaves them alone. Defaults to true. */
304
+ removable?: boolean;
305
+ values: PvFilterPanelAppliedValue[];
306
+ }
292
307
  export type PvFilterPanelControlChange = {
293
308
  checked: boolean;
294
309
  field?: string;
@@ -468,6 +483,8 @@ export interface PvFilterPanelAccordionProps {
468
483
  export interface PvFilterPanelAppliedFiltersSectionProps {
469
484
  appliedCount?: number;
470
485
  appliedGroups?: PvFilterPanelAppliedGroup[];
486
+ /** Filters applied outside the panel, rendered above the panel's own applied groups. */
487
+ externalFilters?: PvFilterPanelExternalFilterGroup[];
471
488
  readOnly?: boolean;
472
489
  }
473
490
  export interface PvFilterPanelCategoryButtonRowProps {
@@ -506,6 +523,8 @@ export type PvFilterPanelEmits = {
506
523
  "facet-change": [field: string, facets: Record<string, string[]>, colDef: PvFilterPanelColDef];
507
524
  "filter-change": [event: PvFilterPanelFilterChangeEvent];
508
525
  "focus-change": [field: string, value: string, option: PvFilterPanelOption];
526
+ /** Emitted when an external filter tag is cleared, including via clear all. */
527
+ "remove-external-filter": [key: string, value: string];
509
528
  "handle-settings-icon": [field: string, colDef: PvFilterPanelColDef];
510
529
  "load-more": [field: string, colDef: PvFilterPanelColDef, query: string, parentId?: string];
511
530
  "open-change": [field: string, open: boolean, colDef: PvFilterPanelColDef];
@@ -542,6 +561,12 @@ export interface PvFilterPanelProps {
542
561
  */
543
562
  enableFilterSearch?: boolean;
544
563
  enableFocusView?: boolean;
564
+ /**
565
+ * Filters applied outside this panel (e.g. a search bar's partial match), shown at the top of the
566
+ * Applied tab. They count toward the applied badge and clear all, but are never written to the
567
+ * filter model - clearing one emits `remove-external-filter` for the owner to handle.
568
+ */
569
+ externalFilters?: PvFilterPanelExternalFilterGroup[];
545
570
  /** @deprecated Prefer filterStore/filterOptionsHandler. Whether more value-filter options can be loaded, keyed by column key (`colId` when present, otherwise `field`). */
546
571
  filterHasMoreMap?: Record<string, boolean | undefined>;
547
572
  /** @deprecated Prefer filterStore/filterOptionsHandler. Initial/options loading state keyed by column key (`colId` when present, otherwise `field`). */
@@ -8,6 +8,10 @@ export interface PvPopoverProps {
8
8
  cssCustomProperties?: CSSProperties;
9
9
  /** When true, renders the content inside a `<ul>` list element. */
10
10
  isList?: boolean;
11
+ /** id applied to the inner list element, so a trigger can reference it via aria-controls. */
12
+ listId?: string;
13
+ /** ARIA role for the inner list element. Defaults to `list`. */
14
+ listRole?: string;
11
15
  /** When true and isList is true, enables drag-and-drop reordering of list items. */
12
16
  isSortable?: boolean;
13
17
  }
@@ -21,13 +25,17 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<PvPopoverProps,
21
25
  cssCustomProperties: CSSProperties;
22
26
  alignment: "top" | "right" | "top right";
23
27
  isList: boolean;
28
+ listId: string;
29
+ listRole: string;
24
30
  isSortable: boolean;
25
31
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
26
32
  popoverRoot: HTMLDivElement;
27
33
  popoverList: HTMLUListElement;
28
34
  }, HTMLDivElement>, {
35
+ header?(_: {}): any;
29
36
  default?(_: {}): any;
30
37
  default?(_: {}): any;
38
+ footer?(_: {}): any;
31
39
  }>;
32
40
  export default _default;
33
41
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -51,7 +51,21 @@ type __VLS_PublicProps = {
51
51
  "query": QueryBuilderOutput | null;
52
52
  "options"?: QueryBuilderSuggestionMenuOption[];
53
53
  } & __VLS_Props;
54
- declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
54
+ declare function __VLS_template(): {
55
+ attrs: Partial<{}>;
56
+ slots: {
57
+ header?(_: {}): any;
58
+ footer?(_: {}): any;
59
+ empty?(_: {}): any;
60
+ };
61
+ refs: {
62
+ 'query-builder-input': HTMLDivElement;
63
+ 'search-input': HTMLInputElement;
64
+ };
65
+ rootEl: HTMLDivElement;
66
+ };
67
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
68
+ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
55
69
  "update:options": (value: QueryBuilderSuggestionMenuOption[]) => any;
56
70
  "update:searchText": (value: string) => any;
57
71
  "update:query": (value: QueryBuilderOutput | null) => any;
@@ -74,4 +88,10 @@ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Compo
74
88
  'query-builder-input': HTMLDivElement;
75
89
  'search-input': HTMLInputElement;
76
90
  }, HTMLDivElement>;
91
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
77
92
  export default _default;
93
+ type __VLS_WithTemplateSlots<T, S> = T & {
94
+ new (): {
95
+ $slots: S;
96
+ };
97
+ };
@@ -10,7 +10,7 @@ export interface QueryTerm {
10
10
  exactMatch?: boolean;
11
11
  queryText?: string;
12
12
  }
13
- export interface QueryBuilderSuggestionMenuOption extends MenuOption {
13
+ export interface QueryBuilderSuggestionMenuOption extends MenuOption<QueryTerm> {
14
14
  queryTerm?: QueryTerm;
15
15
  }
16
16
  /**
@@ -23,6 +23,8 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
23
23
  readonly cssCustomListProperties?: CSSProperties | undefined;
24
24
  readonly cssCustomProperties?: CSSProperties | undefined;
25
25
  readonly isList?: boolean | undefined;
26
+ readonly listId?: string | undefined;
27
+ readonly listRole?: string | undefined;
26
28
  readonly isSortable?: boolean | undefined;
27
29
  readonly "onList-order-updated"?: ((value: string[]) => any) | undefined;
28
30
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -51,6 +53,8 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
51
53
  cssCustomProperties: CSSProperties;
52
54
  alignment: "top" | "right" | "top right";
53
55
  isList: boolean;
56
+ listId: string;
57
+ listRole: string;
54
58
  isSortable: boolean;
55
59
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
56
60
  beforeCreate?: (() => void) | (() => void)[];
@@ -76,15 +80,19 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
76
80
  cssCustomProperties: CSSProperties;
77
81
  alignment: "top" | "right" | "top right";
78
82
  isList: boolean;
83
+ listId: string;
84
+ listRole: string;
79
85
  isSortable: boolean;
80
86
  }> & Omit<Readonly< PvPopoverProps> & Readonly<{
81
87
  "onList-order-updated"?: ((value: string[]) => any) | undefined;
82
- }>, "popoverRoot" | ("cssCustomProperties" | "alignment" | "isList" | "isSortable")> & {
88
+ }>, "popoverRoot" | ("cssCustomProperties" | "alignment" | "isList" | "listId" | "listRole" | "isSortable")> & {
83
89
  popoverRoot: HTMLElement | null;
84
90
  } & {} & ComponentCustomProperties & {} & {
85
91
  $slots: {
92
+ header?(_: {}): any;
86
93
  default?(_: {}): any;
87
94
  default?(_: {}): any;
95
+ footer?(_: {}): any;
88
96
  };
89
97
  }) | null;
90
98
  }, any>;
@@ -13,6 +13,11 @@ export declare const colDefValueFormatter: <T>(colDef: ColDef<T>) => ValueFormat
13
13
  export declare const colDefMaxSelectableValues: <T>(colDef: ColDef<T>) => number | null;
14
14
  export declare const isColDefSingleSelect: <T>(colDef: ColDef<T>) => boolean;
15
15
  export declare const isColDefNumericDataType: <T>(colDef: ColDef<T>) => boolean;
16
+ /**
17
+ * Whether a column's header should sit on the right edge. Numeric data types
18
+ * right-align by convention, and so does AG Grid's own `rightAligned` type.
19
+ */
20
+ export declare const isColDefRightAligned: <T>(colDef: ColDef<T>) => boolean;
16
21
  export declare const flattenAggregateFieldHierarchy: (hierarchy: AggregateFieldHierarchy | undefined) => string[];
17
22
  export declare const getAggregateFields: <T>(colDef: ColDef<T>) => string[];
18
23
  export declare const getAggregateLeafFields: (hierarchy: AggregateFieldHierarchy | undefined) => string[];
@@ -18,6 +18,8 @@ declare const _default: DefineComponent<FilterGroupMenuProps, {
18
18
  readonly cssCustomListProperties?: CSSProperties | undefined;
19
19
  readonly cssCustomProperties?: CSSProperties | undefined;
20
20
  readonly isList?: boolean | undefined;
21
+ readonly listId?: string | undefined;
22
+ readonly listRole?: string | undefined;
21
23
  readonly isSortable?: boolean | undefined;
22
24
  readonly "onList-order-updated"?: ((value: string[]) => any) | undefined;
23
25
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -46,6 +48,8 @@ declare const _default: DefineComponent<FilterGroupMenuProps, {
46
48
  cssCustomProperties: CSSProperties;
47
49
  alignment: "top" | "right" | "top right";
48
50
  isList: boolean;
51
+ listId: string;
52
+ listRole: string;
49
53
  isSortable: boolean;
50
54
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
51
55
  beforeCreate?: (() => void) | (() => void)[];
@@ -71,15 +75,19 @@ declare const _default: DefineComponent<FilterGroupMenuProps, {
71
75
  cssCustomProperties: CSSProperties;
72
76
  alignment: "top" | "right" | "top right";
73
77
  isList: boolean;
78
+ listId: string;
79
+ listRole: string;
74
80
  isSortable: boolean;
75
81
  }> & Omit<Readonly< PvPopoverProps> & Readonly<{
76
82
  "onList-order-updated"?: ((value: string[]) => any) | undefined;
77
- }>, "popoverRoot" | ("cssCustomProperties" | "alignment" | "isList" | "isSortable")> & {
83
+ }>, "popoverRoot" | ("cssCustomProperties" | "alignment" | "isList" | "listId" | "listRole" | "isSortable")> & {
78
84
  popoverRoot: HTMLElement | null;
79
85
  } & {} & ComponentCustomProperties & {} & {
80
86
  $slots: {
87
+ header?(_: {}): any;
81
88
  default?(_: {}): any;
82
89
  default?(_: {}): any;
90
+ footer?(_: {}): any;
83
91
  };
84
92
  }) | null;
85
93
  }, HTMLDivElement>;
@@ -61,7 +61,8 @@ export interface ColDefContextProps<T> extends Omit<PvFilterPanelColDefContext,
61
61
  */
62
62
  aggFuncDisplayName?: string;
63
63
  /**
64
- * A map of aggregation function names to descriptions shown in chart-series menu tooltips.
64
+ * A map of aggregation function names to descriptions, shown as an info-icon tooltip on the
65
+ * matching option in the header aggregation selector and in chart-series menus.
65
66
  */
66
67
  aggFuncDescriptionMap?: Record<string, string>;
67
68
  /**
@@ -2,5 +2,11 @@ import { Theme } from 'ag-grid-community';
2
2
  export declare const PitViperAGGridBaseTheme: Theme;
3
3
  export declare const PitViperAGGridNoBordersTheme: Theme;
4
4
  export declare const PitViperAGGridGroupedTheme: Theme;
5
- export type PvDataTableTheme = "pv-data-table-base" | "pv-data-table-grouped" | "pv-data-table-grouped-card";
5
+ /**
6
+ * Matches the `.pv-table` CSS framework styling used by components like
7
+ * PvDataWidget: gray header, no wrapper border or radius, no row hover, and
8
+ * a single hairline rule between rows.
9
+ */
10
+ export declare const PitViperAGGridClassicTheme: Theme;
11
+ export type PvDataTableTheme = "pv-data-table-base" | "pv-data-table-grouped" | "pv-data-table-grouped-card" | "pv-data-table-classic";
6
12
  export declare const themeMap: Record<PvDataTableTheme, Theme>;