@turquoisehealth/pit-viper 2.79.2-dev.2 → 2.80.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 (169) hide show
  1. package/_site/assets/css/pit-viper-v2-scoped.css +43 -53
  2. package/_site/assets/css/pit-viper-v2.css +44 -53
  3. package/_site/assets/css/pit-viper.css +30 -39
  4. package/package.json +12 -31
  5. package/pv-components/dist/vue/base/pv-components-base.d.ts +2074 -0
  6. package/pv-components/dist/vue/base/pv-components-base.js +20 -20
  7. package/pv-components/dist/vue/base/pv-components-base.mjs +873 -873
  8. package/pv-components/dist/vue/base/pv-components-base.umd.js +14 -14
  9. package/pv-components/dist/vue/charts/pv-components-charts.d.ts +489 -0
  10. package/pv-components/dist/vue/charts/pv-components-charts.js +259 -0
  11. package/pv-components/dist/vue/charts/pv-components-charts.mjs +121812 -0
  12. package/pv-components/dist/vue/charts/pv-components-charts.umd.js +259 -0
  13. package/pv-components/dist/vue/tables/pv-components-tables.d.ts +299 -0
  14. package/pv-components/dist/vue/tables/pv-components-tables.js +223 -0
  15. package/pv-components/dist/vue/tables/pv-components-tables.mjs +47028 -0
  16. package/pv-components/dist/vue/tables/pv-components-tables.umd.js +223 -0
  17. package/pv-components/dist/web/index.d.ts +1 -0
  18. package/pv-components/dist/web/pv-components.iife.js +13 -13
  19. package/pv-components/dist/vue/base/components/base/PvAccordion/PvAccordion.spec.d.ts +0 -1
  20. package/pv-components/dist/vue/base/components/base/PvAccordion/PvAccordion.vue.d.ts +0 -28
  21. package/pv-components/dist/vue/base/components/base/PvAccordion/types.d.ts +0 -5
  22. package/pv-components/dist/vue/base/components/base/PvActionBar/PvActionBar.spec.d.ts +0 -1
  23. package/pv-components/dist/vue/base/components/base/PvActionBar/PvActionBar.vue.d.ts +0 -24
  24. package/pv-components/dist/vue/base/components/base/PvActionBar/types.d.ts +0 -2
  25. package/pv-components/dist/vue/base/components/base/PvAiButton/PvAiButton.spec.d.ts +0 -1
  26. package/pv-components/dist/vue/base/components/base/PvAiButton/PvAiButton.vue.d.ts +0 -13
  27. package/pv-components/dist/vue/base/components/base/PvAiButton/types.d.ts +0 -2
  28. package/pv-components/dist/vue/base/components/base/PvAvatar/PvAvatar.spec.d.ts +0 -1
  29. package/pv-components/dist/vue/base/components/base/PvAvatar/PvAvatar.vue.d.ts +0 -11
  30. package/pv-components/dist/vue/base/components/base/PvAvatar/types.d.ts +0 -2
  31. package/pv-components/dist/vue/base/components/base/PvAvatarGroup/PvAvatarGroup.spec.d.ts +0 -1
  32. package/pv-components/dist/vue/base/components/base/PvAvatarGroup/PvAvatarGroup.vue.d.ts +0 -8
  33. package/pv-components/dist/vue/base/components/base/PvAvatarGroup/types.d.ts +0 -5
  34. package/pv-components/dist/vue/base/components/base/PvBanner/PvBanner.spec.d.ts +0 -1
  35. package/pv-components/dist/vue/base/components/base/PvBanner/PvBanner.vue.d.ts +0 -29
  36. package/pv-components/dist/vue/base/components/base/PvBanner/types.d.ts +0 -11
  37. package/pv-components/dist/vue/base/components/base/PvBreadcrumbs/PvBreadcrumbs.spec.d.ts +0 -1
  38. package/pv-components/dist/vue/base/components/base/PvBreadcrumbs/PvBreadcrumbs.vue.d.ts +0 -7
  39. package/pv-components/dist/vue/base/components/base/PvBreadcrumbs/types.d.ts +0 -4
  40. package/pv-components/dist/vue/base/components/base/PvButton/PvButton.spec.d.ts +0 -1
  41. package/pv-components/dist/vue/base/components/base/PvButton/PvButton.vue.d.ts +0 -20
  42. package/pv-components/dist/vue/base/components/base/PvButton/types.d.ts +0 -3
  43. package/pv-components/dist/vue/base/components/base/PvCard/PvCard.spec.d.ts +0 -1
  44. package/pv-components/dist/vue/base/components/base/PvCard/PvCard.vue.d.ts +0 -27
  45. package/pv-components/dist/vue/base/components/base/PvCard/types.d.ts +0 -2
  46. package/pv-components/dist/vue/base/components/base/PvCheckbox/PvCheckbox.vue.d.ts +0 -17
  47. package/pv-components/dist/vue/base/components/base/PvCompanyLabel/PvCompanyLabel.vue.d.ts +0 -11
  48. package/pv-components/dist/vue/base/components/base/PvCompanyLabel/types.d.ts +0 -2
  49. package/pv-components/dist/vue/base/components/base/PvCompanyLogo/PvCompanyLogo.spec.d.ts +0 -1
  50. package/pv-components/dist/vue/base/components/base/PvCompanyLogo/PvCompanyLogo.vue.d.ts +0 -15
  51. package/pv-components/dist/vue/base/components/base/PvCompanyLogo/types.d.ts +0 -2
  52. package/pv-components/dist/vue/base/components/base/PvCompanyTag/PvCompanyTag.spec.d.ts +0 -1
  53. package/pv-components/dist/vue/base/components/base/PvCompanyTag/PvCompanyTag.vue.d.ts +0 -27
  54. package/pv-components/dist/vue/base/components/base/PvComponentsConfig/primeVue.config.d.ts +0 -14
  55. package/pv-components/dist/vue/base/components/base/PvComponentsConfig/usePvComponents.d.ts +0 -2
  56. package/pv-components/dist/vue/base/components/base/PvCounterBadge/PvCounterBadge.spec.d.ts +0 -1
  57. package/pv-components/dist/vue/base/components/base/PvCounterBadge/PvCounterBadge.vue.d.ts +0 -16
  58. package/pv-components/dist/vue/base/components/base/PvCounterBadge/types.d.ts +0 -3
  59. package/pv-components/dist/vue/base/components/base/PvDatePicker/PvDatePicker.vue.d.ts +0 -115
  60. package/pv-components/dist/vue/base/components/base/PvDateTime/PvDateTime.spec.d.ts +0 -1
  61. package/pv-components/dist/vue/base/components/base/PvDateTime/PvDateTime.vue.d.ts +0 -14
  62. package/pv-components/dist/vue/base/components/base/PvDateTime/useDateTime.d.ts +0 -9
  63. package/pv-components/dist/vue/base/components/base/PvDateTime/useDateTime.spec.d.ts +0 -1
  64. package/pv-components/dist/vue/base/components/base/PvDrawer/PvDrawer.spec.d.ts +0 -1
  65. package/pv-components/dist/vue/base/components/base/PvDrawer/PvDrawer.vue.d.ts +0 -34
  66. package/pv-components/dist/vue/base/components/base/PvDropdown/PvDropdown.vue.d.ts +0 -117
  67. package/pv-components/dist/vue/base/components/base/PvExpandableContent/PvExpandableContent.spec.d.ts +0 -1
  68. package/pv-components/dist/vue/base/components/base/PvExpandableContent/PvExpandableContent.vue.d.ts +0 -30
  69. package/pv-components/dist/vue/base/components/base/PvExpandableContent/types.d.ts +0 -3
  70. package/pv-components/dist/vue/base/components/base/PvGhostInput/PvGhostInput.spec.d.ts +0 -1
  71. package/pv-components/dist/vue/base/components/base/PvGhostInput/PvGhostInput.vue.d.ts +0 -39
  72. package/pv-components/dist/vue/base/components/base/PvGhostInput/types.d.ts +0 -2
  73. package/pv-components/dist/vue/base/components/base/PvIcon/PvIcon.vue.d.ts +0 -10
  74. package/pv-components/dist/vue/base/components/base/PvInput/PvInput.spec.d.ts +0 -1
  75. package/pv-components/dist/vue/base/components/base/PvInput/PvInput.vue.d.ts +0 -40
  76. package/pv-components/dist/vue/base/components/base/PvInput/types.d.ts +0 -3
  77. package/pv-components/dist/vue/base/components/base/PvInsightCard/PvInsightCard.spec.d.ts +0 -1
  78. package/pv-components/dist/vue/base/components/base/PvInsightCard/PvInsightCard.vue.d.ts +0 -22
  79. package/pv-components/dist/vue/base/components/base/PvMenu/PvMenu.spec.d.ts +0 -1
  80. package/pv-components/dist/vue/base/components/base/PvMenu/PvMenu.vue.d.ts +0 -183
  81. package/pv-components/dist/vue/base/components/base/PvMenu/PvMenuControlPanel.spec.d.ts +0 -1
  82. package/pv-components/dist/vue/base/components/base/PvMenu/PvMenuControlPanel.vue.d.ts +0 -12
  83. package/pv-components/dist/vue/base/components/base/PvMenu/PvMenuEmptyState.vue.d.ts +0 -3
  84. package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuCheckboxItem.spec.d.ts +0 -1
  85. package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuCheckboxItem.vue.d.ts +0 -18
  86. package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuItem.spec.d.ts +0 -1
  87. package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuItem.vue.d.ts +0 -25
  88. package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuRadioItem.spec.d.ts +0 -1
  89. package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuRadioItem.vue.d.ts +0 -13
  90. package/pv-components/dist/vue/base/components/base/PvMenu/useMenuPosition.d.ts +0 -66
  91. package/pv-components/dist/vue/base/components/base/PvMenu/useMenuPosition.spec.d.ts +0 -1
  92. package/pv-components/dist/vue/base/components/base/PvModal/PvModal.spec.d.ts +0 -1
  93. package/pv-components/dist/vue/base/components/base/PvModal/PvModal.vue.d.ts +0 -28
  94. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.spec.d.ts +0 -1
  95. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +0 -361
  96. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectMenuItem.vue.d.ts +0 -15
  97. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/mocks.d.ts +0 -15
  98. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/types.d.ts +0 -3
  99. package/pv-components/dist/vue/base/components/base/PvPagination/PvPagination.spec.d.ts +0 -1
  100. package/pv-components/dist/vue/base/components/base/PvPagination/PvPagination.vue.d.ts +0 -21
  101. package/pv-components/dist/vue/base/components/base/PvPagination/types.d.ts +0 -3
  102. package/pv-components/dist/vue/base/components/base/PvPagination/usePagination.d.ts +0 -12
  103. package/pv-components/dist/vue/base/components/base/PvPagination/usePagination.spec.d.ts +0 -1
  104. package/pv-components/dist/vue/base/components/base/PvPill/PvPill.spec.d.ts +0 -1
  105. package/pv-components/dist/vue/base/components/base/PvPill/PvPill.vue.d.ts +0 -31
  106. package/pv-components/dist/vue/base/components/base/PvPill/types.d.ts +0 -4
  107. package/pv-components/dist/vue/base/components/base/PvPopover/PvPopover.vue.d.ts +0 -31
  108. package/pv-components/dist/vue/base/components/base/PvQueryBuilderInput/useQueryBuilder.d.ts +0 -44
  109. package/pv-components/dist/vue/base/components/base/PvQueryBuilderInput/useQueryBuilder.spec.d.ts +0 -1
  110. package/pv-components/dist/vue/base/components/base/PvRating/PvRating.spec.d.ts +0 -1
  111. package/pv-components/dist/vue/base/components/base/PvRating/PvRating.vue.d.ts +0 -12
  112. package/pv-components/dist/vue/base/components/base/PvRating/types.d.ts +0 -4
  113. package/pv-components/dist/vue/base/components/base/PvReleaseBadge/PvReleaseBadge.vue.d.ts +0 -6
  114. package/pv-components/dist/vue/base/components/base/PvSearchInput/PvSearchInput.spec.d.ts +0 -1
  115. package/pv-components/dist/vue/base/components/base/PvSearchInput/PvSearchInput.vue.d.ts +0 -26
  116. package/pv-components/dist/vue/base/components/base/PvSegmentedControl/PvSegmentedControl.spec.d.ts +0 -1
  117. package/pv-components/dist/vue/base/components/base/PvSegmentedControl/PvSegmentedControl.vue.d.ts +0 -19
  118. package/pv-components/dist/vue/base/components/base/PvSegmentedControl/types.d.ts +0 -8
  119. package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButton.spec.d.ts +0 -1
  120. package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButton.vue.d.ts +0 -228
  121. package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.spec.d.ts +0 -1
  122. package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.vue.d.ts +0 -33
  123. package/pv-components/dist/vue/base/components/base/PvSelectButton/mocks.d.ts +0 -13
  124. package/pv-components/dist/vue/base/components/base/PvSelectButton/types.d.ts +0 -3
  125. package/pv-components/dist/vue/base/components/base/PvSelectableCard/PvSelectableCard.spec.d.ts +0 -1
  126. package/pv-components/dist/vue/base/components/base/PvSelectableCard/PvSelectableCard.vue.d.ts +0 -25
  127. package/pv-components/dist/vue/base/components/base/PvSkeleton/PvSkeleton.spec.d.ts +0 -1
  128. package/pv-components/dist/vue/base/components/base/PvSkeleton/PvSkeleton.vue.d.ts +0 -11
  129. package/pv-components/dist/vue/base/components/base/PvSkeleton/types.d.ts +0 -3
  130. package/pv-components/dist/vue/base/components/base/PvSpinner/PvSpinner.spec.d.ts +0 -1
  131. package/pv-components/dist/vue/base/components/base/PvSpinner/PvSpinner.vue.d.ts +0 -11
  132. package/pv-components/dist/vue/base/components/base/PvSpinner/types.d.ts +0 -3
  133. package/pv-components/dist/vue/base/components/base/PvSprite/PvSprite.vue.d.ts +0 -9
  134. package/pv-components/dist/vue/base/components/base/PvSuggestionTag/PvSuggestionTag.spec.d.ts +0 -1
  135. package/pv-components/dist/vue/base/components/base/PvSuggestionTag/PvSuggestionTag.vue.d.ts +0 -31
  136. package/pv-components/dist/vue/base/components/base/PvSwitch/PvSwitch.spec.d.ts +0 -1
  137. package/pv-components/dist/vue/base/components/base/PvSwitch/PvSwitch.vue.d.ts +0 -22
  138. package/pv-components/dist/vue/base/components/base/PvSwitch/types.d.ts +0 -2
  139. package/pv-components/dist/vue/base/components/base/PvTabList/PvTabList.vue.d.ts +0 -12
  140. package/pv-components/dist/vue/base/components/base/PvTabs/PvTabs.spec.d.ts +0 -1
  141. package/pv-components/dist/vue/base/components/base/PvTabs/PvTabs.vue.d.ts +0 -18
  142. package/pv-components/dist/vue/base/components/base/PvTabs/types.d.ts +0 -7
  143. package/pv-components/dist/vue/base/components/base/PvTag/PvTag.spec.d.ts +0 -1
  144. package/pv-components/dist/vue/base/components/base/PvTag/PvTag.vue.d.ts +0 -41
  145. package/pv-components/dist/vue/base/components/base/PvTag/types.d.ts +0 -3
  146. package/pv-components/dist/vue/base/components/base/PvTextArea/PvTextArea.spec.d.ts +0 -1
  147. package/pv-components/dist/vue/base/components/base/PvTextArea/PvTextArea.vue.d.ts +0 -40
  148. package/pv-components/dist/vue/base/components/base/PvTextArea/types.d.ts +0 -2
  149. package/pv-components/dist/vue/base/components/base/PvToast/PvToast.spec.d.ts +0 -1
  150. package/pv-components/dist/vue/base/components/base/PvToast/PvToast.vue.d.ts +0 -30
  151. package/pv-components/dist/vue/base/components/base/PvToast/types.d.ts +0 -1
  152. package/pv-components/dist/vue/base/components/base/PvToggleButton/PvToggleButton.spec.d.ts +0 -1
  153. package/pv-components/dist/vue/base/components/base/PvToggleButton/PvToggleButton.vue.d.ts +0 -29
  154. package/pv-components/dist/vue/base/components/base/PvToggleButton/types.d.ts +0 -3
  155. package/pv-components/dist/vue/base/components/base/PvTooltip/PvTooltip.spec.d.ts +0 -1
  156. package/pv-components/dist/vue/base/components/base/PvTooltip/PvTooltip.vue.d.ts +0 -34
  157. package/pv-components/dist/vue/base/components/base/PvTooltip/types.d.ts +0 -4
  158. package/pv-components/dist/vue/base/components/base/PvWidget/PvWidget.spec.d.ts +0 -1
  159. package/pv-components/dist/vue/base/components/base/PvWidget/PvWidget.vue.d.ts +0 -18
  160. package/pv-components/dist/vue/base/components/base/baseProps.d.ts +0 -15
  161. package/pv-components/dist/vue/base/components/base/index.d.ts +0 -54
  162. package/pv-components/dist/vue/base/components/layout/PvSidePanel/PvSidePanel.spec.d.ts +0 -1
  163. package/pv-components/dist/vue/base/components/layout/PvSidePanel/PvSidePanel.vue.d.ts +0 -24
  164. package/pv-components/dist/vue/base/types.d.ts +0 -40
  165. package/pv-components/dist/vue/visualizations/components/visualizations/index.d.ts +0 -5
  166. package/pv-components/dist/vue/visualizations/pv-components-visualizations.js +0 -176
  167. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +0 -11849
  168. package/pv-components/dist/vue/visualizations/pv-components-visualizations.umd.js +0 -176
  169. package/pv-components/dist/vue/visualizations/types.d.ts +0 -40
@@ -0,0 +1,489 @@
1
+ import { AdvancedFilterModel } from 'ag-grid-community/dist/types/src/interfaces/advancedFilterModel';
2
+ import { AgChartInstance } from 'ag-charts-enterprise';
3
+ import { AgChartOptions } from 'ag-charts-types';
4
+ import { AgChartOptions as AgChartOptions_2 } from 'ag-charts-enterprise';
5
+ import { AgMapLineSeriesTooltipRendererParams } from 'ag-charts-enterprise';
6
+ import { AgSeriesVisibilityChange } from 'ag-charts-enterprise';
7
+ import { ColDef } from 'ag-grid-community';
8
+ import { Column } from 'ag-grid-enterprise';
9
+ import { ColumnMovedEvent } from 'ag-grid-enterprise';
10
+ import { ColumnResizedEvent } from 'ag-grid-enterprise';
11
+ import { ColumnRowGroupChangedEvent } from 'ag-grid-enterprise';
12
+ import { ColumnVO } from 'ag-grid-community/dist/types/src/interfaces/iColumnVO';
13
+ import { Component } from 'vue';
14
+ import { ComponentOptionsMixin } from 'vue';
15
+ import { ComponentProvideOptions } from 'vue';
16
+ import { CreateComponentPublicInstanceWithMixins } from 'vue';
17
+ import { CSSProperties } from 'vue';
18
+ import { DefineComponent } from 'vue';
19
+ import { ExtractPropTypes } from 'vue';
20
+ import { FilterChangedEvent } from 'ag-grid-enterprise';
21
+ import { FilterModel } from 'ag-grid-enterprise';
22
+ import { FilterModel as FilterModel_2 } from 'ag-grid-community/dist/types/src/interfaces/iFilter';
23
+ import { FirstDataRenderedEvent } from 'ag-grid-community';
24
+ import { GlobalComponents } from 'vue';
25
+ import { GlobalDirectives } from 'vue';
26
+ import { GridApi } from 'ag-grid-community';
27
+ import { GridReadyEvent } from 'ag-grid-community';
28
+ import { GridState } from 'ag-grid-enterprise';
29
+ import { IServerSideGetRowsParams } from 'ag-grid-enterprise';
30
+ import { IsGroupOpenByDefaultParams } from 'ag-grid-community';
31
+ import { IsServerSideGroupOpenByDefaultParams } from 'ag-grid-community';
32
+ import { PropType } from 'vue';
33
+ import { PublicProps } from 'vue';
34
+ import { RefreshServerSideParams } from 'ag-grid-community';
35
+ import { ShallowUnwrapRef } from 'vue';
36
+ import { SortChangedEvent } from 'ag-grid-community';
37
+ import { Theme } from 'ag-grid-enterprise';
38
+ import { VNode } from 'vue';
39
+
40
+ declare type __VLS_PrettifyLocal<T> = {
41
+ [K in keyof T]: T[K];
42
+ } & {};
43
+
44
+ declare type ChartConfigPanelType = "y-axis" | "x-axis" | "sort" | "chart-type";
45
+
46
+ declare interface ChartFilter {
47
+ colId: string;
48
+ options: ChartFilterOption[];
49
+ }
50
+
51
+ declare type ChartFilterOption = {
52
+ label: string;
53
+ value: string;
54
+ filterValues: string[];
55
+ };
56
+
57
+ declare interface ChartState {
58
+ seriesField?: string | null;
59
+ chartType?: string | null;
60
+ chartSort?: string | null;
61
+ chartCategoryFields?: string[] | null;
62
+ }
63
+
64
+ declare interface ChartStateChangedEvent {
65
+ api: GridApi | null;
66
+ newState: ChartState | null;
67
+ oldState: ChartState | null;
68
+ }
69
+
70
+ declare interface FilterValueResponseOption {
71
+ value: string;
72
+ label?: string;
73
+ isPreference?: boolean;
74
+ isSelectable?: boolean;
75
+ metadata?: any;
76
+ }
77
+
78
+ declare interface FilterValuesSetHandlerParams<T> {
79
+ api: GridApi<T>;
80
+ colDef: ColDef<T>;
81
+ column: Column<T>;
82
+ filterModel?: FilterModel | null;
83
+ query?: string;
84
+ }
85
+
86
+ declare interface FocusUpdateEvent {
87
+ focuses?: string[] | null | undefined;
88
+ filterField?: string | null | undefined;
89
+ }
90
+
91
+ declare type MapTopologyType = "state" | "city" | "county" | "cbsa" | "zip_code";
92
+
93
+ declare interface MenuOption {
94
+ id: string;
95
+ text: string;
96
+ subText?: string;
97
+ secondaryText?: string | number;
98
+ icon?: string;
99
+ companyName?: string;
100
+ avatar?: {
101
+ initials?: string;
102
+ image?: string;
103
+ icon?: boolean;
104
+ };
105
+ groupingLabel?: string;
106
+ disabled?: boolean;
107
+ renderer?: Component;
108
+ rendererProps?: any;
109
+ classList?: string[];
110
+ searchText?: string;
111
+ }
112
+
113
+ export declare const PvChart: DefineComponent<PvChartProps, {
114
+ getChartImageDataURL: (dimensions?: {
115
+ width?: number;
116
+ height?: number;
117
+ }) => Promise<string> | undefined;
118
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
119
+ "series-visibility-change": (event: AgSeriesVisibilityChange<unknown>) => any;
120
+ }, string, PublicProps, Readonly<PvChartProps> & Readonly<{
121
+ "onSeries-visibility-change"?: ((event: AgSeriesVisibilityChange<unknown>) => any) | undefined;
122
+ }>, {
123
+ seriesFormatType: "none" | "currency" | "percent";
124
+ isLoading: boolean;
125
+ enableFocusView: boolean;
126
+ minHeight: number;
127
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
128
+ chartRef: CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
129
+ options: {
130
+ type: PropType<AgChartOptions>;
131
+ default: () => AgChartOptions;
132
+ };
133
+ }>> & Readonly<{}>, {
134
+ chart: AgChartInstance | undefined;
135
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
136
+ options: AgChartOptions;
137
+ }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
138
+ P: {};
139
+ B: {};
140
+ D: {};
141
+ C: {};
142
+ M: {};
143
+ Defaults: {};
144
+ }, Readonly<ExtractPropTypes< {
145
+ options: {
146
+ type: PropType<AgChartOptions>;
147
+ default: () => AgChartOptions;
148
+ };
149
+ }>> & Readonly<{}>, {
150
+ chart: AgChartInstance | undefined;
151
+ }, {}, {}, {}, {
152
+ options: AgChartOptions;
153
+ }> | null;
154
+ }, HTMLDivElement>;
155
+
156
+ declare interface PvChartProps {
157
+ options: AgChartOptions;
158
+ seriesFormatType?: "none" | "currency" | "percent";
159
+ isLoading?: boolean;
160
+ enableFocusView?: boolean;
161
+ minHeight?: number;
162
+ }
163
+
164
+ declare interface PvDataTableProps<T> {
165
+ /**
166
+ * Column definitions for the table. Follows the AG Grid column definition format.
167
+ */
168
+ colDefs?: ColDef<T>[];
169
+ /**
170
+ * Array of JSON data objects to be displayed in the table. Only used for client-side row model.
171
+ */
172
+ rowData?: T[];
173
+ /**
174
+ * Handler to fetch server-side data. Only used for server-side row model.
175
+ */
176
+ serverSideRowHandler?: (params: IServerSideGetRowsParams<T>, isCsvExport?: boolean) => void;
177
+ /**
178
+ * Handler to fetch filter values for server-side filtering. Only used for server-side row model.
179
+ */
180
+ filterValuesSetHandler?: (params: FilterValuesSetHandlerParams<T>) => Promise<(FilterValueResponseOption | null)[]>;
181
+ /**
182
+ * Handler to return suggestions for applying search terms to the table.
183
+ */
184
+ tableSearchHandler?: (params: TableSearchHandlerParams<T>) => Promise<(QueryBuilderSuggestionMenuOption | null)[]>;
185
+ /**
186
+ * Specifies an initial set of filters/groups/sort/etc. to be applied to the table.
187
+ */
188
+ initialGridState?: GridState;
189
+ /**
190
+ * Specifies an initial set of metadata values for filters that require them
191
+ */
192
+ initialFilterValueMap?: Record<string, (FilterValueResponseOption | null)[]>;
193
+ /**
194
+ * Override the Pit Viper them
195
+ */
196
+ theme?: Theme;
197
+ /**
198
+ * For aggregated columns, only show the aggregate at the final group level
199
+ */
200
+ displayBaseAggregationsOnly?: boolean;
201
+ /**
202
+ * Display Row Number in the first column
203
+ */
204
+ displayRowNumber?: boolean;
205
+ /**
206
+ * Display Counts on Grouped Rows (requires allChildrenCount on the object)
207
+ */
208
+ displayGroupCount?: boolean;
209
+ /**
210
+ * Displays Icon on Preferences that emits handle-settings-icon event
211
+ */
212
+ displayPreferencesIcon?: boolean;
213
+ /**
214
+ * Display button to hide/show columns
215
+ */
216
+ enableColumnVisibilitySelector?: boolean;
217
+ /**
218
+ * Display everything focus view related
219
+ */
220
+ enableFocusView?: boolean;
221
+ /**
222
+ * Display button to group by columns
223
+ */
224
+ enableGroupBySelector?: boolean;
225
+ /**
226
+ * Display input to search within the table
227
+ */
228
+ enableTableSearch?: boolean;
229
+ /**
230
+ * Allows for slot content to be placed above the chart
231
+ */
232
+ enableTopSlot?: boolean;
233
+ /**
234
+ * Display button to open the vertical filter drawer
235
+ */
236
+ enableVerticalFilterPanel?: boolean;
237
+ /**
238
+ * Number of groups to support (defaults to 2)
239
+ */
240
+ rowGroupLimit?: number;
241
+ /**
242
+ * Whether to expand all groups by default, based on level. -1 expands all groups
243
+ */
244
+ groupDefaultExpanded?: number;
245
+ /**
246
+ * A handler to determine if a group should be open by default dynamically.
247
+ */
248
+ isClientSideGroupOpenByDefault?: (params: IsGroupOpenByDefaultParams) => boolean;
249
+ /**
250
+ * A handler to determine whether a group should be open by default.
251
+ */
252
+ isServerSideGroupOpenByDefault?: (params: IsServerSideGroupOpenByDefaultParams) => boolean;
253
+ /**
254
+ * Display button to export table data as CSV
255
+ */
256
+ enableCsvExport?: boolean;
257
+ /**
258
+ * # of rows to export to CSV - be careful overriding this as large exports can cause performance issues
259
+ */
260
+ csvRowLimit?: number;
261
+ /**
262
+ * Optional param to implement custom logic for CSV export. If not specified, the serverSideRowHandler will be used to generate the CSV data.
263
+ */
264
+ serverSideCsvHandler?: (params: IServerSideGetRowsParams<T>) => Promise<void>;
265
+ /**
266
+ * Field that can be used to identify row uniqueness for preserving expanded/collapsed row states
267
+ */
268
+ uniqueRowIdField?: string;
269
+ /**
270
+ * If true, will not show data until at least one filter is applied
271
+ */
272
+ requireFiltersToShowData?: boolean;
273
+ /**
274
+ * If true, will show loading state - can be used as a dynamic prop to show/hide loading state
275
+ */
276
+ isLoading?: boolean;
277
+ /**
278
+ * Height of the table + filter container
279
+ */
280
+ containerHeight?: number;
281
+ /**
282
+ * Min height of the table + filter container
283
+ */
284
+ containerMinHeight?: number;
285
+ /**
286
+ * Enables the ValidationModule for advanced debugging as well as additional console logging from AG Grid
287
+ */
288
+ debugMode?: boolean;
289
+ /**
290
+ * If true, hide all row-grouped columns from the table.
291
+ */
292
+ hideAllRowGroupedColumns?: boolean;
293
+ /**
294
+ * Specifies the column to pin to the left of the table if at least one row grouping is enabled.
295
+ */
296
+ leftPinnedColumnName?: string;
297
+ /**
298
+ * Enables pagination
299
+ */
300
+ pagination?: boolean;
301
+ /**
302
+ * Set the pagination page size. Defaults to 50.
303
+ */
304
+ paginationPageSize?: 20 | 50 | 100 | 200;
305
+ /**
306
+ * Row height for individual rows
307
+ */
308
+ rowHeight?: number;
309
+ /**
310
+ * Set tooltip show delay. Detaults 1000ms
311
+ */
312
+ tooltipShowDelay?: number;
313
+ /**
314
+ * Set tooltip hide delay.
315
+ */
316
+ tooltipHideDelay?: number;
317
+ /**
318
+ * Hide the table rows (but still show the filter panel)
319
+ */
320
+ hideTable?: boolean;
321
+ /**
322
+ * DOM location to use for relocating the filter panel
323
+ */
324
+ filterTeleportLocation?: string;
325
+ /**
326
+ * List of column fields that can be focused
327
+ */
328
+ focusableColumns?: string[];
329
+ tableSearchPlaceholder?: string;
330
+ tableSearchStyle?: TableSearchStyle;
331
+ maxHorizontalFilters?: number;
332
+ maintainColumnOrder?: boolean;
333
+ /**
334
+ * Custom CSS Properties
335
+ */
336
+ customCssProperties?: {
337
+ agGridWrapper: CSSProperties;
338
+ };
339
+ }
340
+
341
+ export declare const PvDataTableWithChart: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
342
+ props: __VLS_PrettifyLocal<any & PvDataTableWithChartProps<T> & Partial<{}>> & PublicProps;
343
+ expose(exposed: ShallowUnwrapRef< {
344
+ getChartImageDataURL: (dimensions?: {
345
+ width?: number;
346
+ height?: number;
347
+ }) => Promise<string> | undefined;
348
+ getCsvData: () => Promise<string | null> | undefined;
349
+ refreshData: (params?: RefreshServerSideParams | null) => Promise<void> | undefined;
350
+ getFilterValueSelectedMetadataMap: () => Record<string, (FilterValueResponseOption | null)[]> | undefined;
351
+ }>): void;
352
+ attrs: any;
353
+ slots: {};
354
+ emit: {
355
+ (e: "chart-state-changed", event: ChartStateChangedEvent): void;
356
+ (e: "column-moved", event: ColumnMovedEvent<T>): void;
357
+ (e: "column-resized", event: ColumnResizedEvent<T>): void;
358
+ (e: "column-row-group-changed", event: ColumnRowGroupChangedEvent<T>): void;
359
+ (e: "grid-ready", event: GridReadyEvent<T>): void;
360
+ (e: "filter-changed", event: FilterChangedEvent<T>): void;
361
+ (e: "sort-changed", event: SortChangedEvent<T>): void;
362
+ (e: "filter-opened", event: FilterChangedEvent<T>): void;
363
+ (e: "first-data-rendered", event: FirstDataRenderedEvent<T>): void;
364
+ (e: "handle-settings-icon", value: string): void;
365
+ (e: "focus-update", event: FocusUpdateEvent): void;
366
+ (e: "chart-collapsed", collapsed: boolean): void;
367
+ };
368
+ }>) => VNode & {
369
+ __ctx?: Awaited<typeof __VLS_setup>;
370
+ };
371
+
372
+ declare interface PvDataTableWithChartProps<T> extends PvDataTableProps<T> {
373
+ enabledChartTypes?: supportedChartType[];
374
+ serverSideChartHandler?: (params: ServerSideChartDataHandlerParams) => Promise<ServerSideChartDataHandlerResponse>;
375
+ showSeriesLabels?: boolean;
376
+ truncateLabelValues?: boolean;
377
+ initialChartData?: AgChartOptions_2["data"];
378
+ enableCombinedChartConfigPanel?: boolean;
379
+ chartConfigPanelOptions?: ChartConfigPanelType[];
380
+ chartFilter?: ChartFilter;
381
+ chartType?: supportedChartType;
382
+ yKey?: string;
383
+ initialSort?: string;
384
+ hideChart?: boolean;
385
+ hideTable?: boolean;
386
+ filterPanelAboveChart?: boolean;
387
+ initialChartCollapsed?: boolean;
388
+ initialFocusData?: {
389
+ focuses: string[];
390
+ focusType: string | null;
391
+ };
392
+ percentOfFocusViewYKey?: string;
393
+ focusableColumns?: string[];
394
+ /**
395
+ * Enable toggle to group or ungroup
396
+ */
397
+ enableGroupingToggle?: boolean;
398
+ /**
399
+ * Css Properties
400
+ */
401
+ customCssProperties?: {
402
+ agGridWrapper: CSSProperties;
403
+ };
404
+ }
405
+
406
+ export declare const PvMapChart: DefineComponent< {
407
+ chartData: PvMapChartData[];
408
+ selectedRegion?: string | undefined;
409
+ } & PvMapChartProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
410
+ "update:chartData": (value: PvMapChartData[]) => any;
411
+ "update:selectedRegion": (value: string | undefined) => any;
412
+ } & {
413
+ "region-selection-changed": (event: RegionSelectionChangedEvent) => any;
414
+ }, string, PublicProps, Readonly<{
415
+ chartData: PvMapChartData[];
416
+ selectedRegion?: string | undefined;
417
+ } & PvMapChartProps> & Readonly<{
418
+ "onUpdate:chartData"?: ((value: PvMapChartData[]) => any) | undefined;
419
+ "onUpdate:selectedRegion"?: ((value: string | undefined) => any) | undefined;
420
+ "onRegion-selection-changed"?: ((event: RegionSelectionChangedEvent) => any) | undefined;
421
+ }>, {
422
+ isLoading: boolean;
423
+ mapType: MapTopologyType;
424
+ displayGradientLegend: boolean;
425
+ gradientLegendMin: number;
426
+ gradientLegendMax: number;
427
+ seriesValueFormatter: (value: number) => string;
428
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
429
+
430
+ declare interface PvMapChartData {
431
+ [key: string]: string | number;
432
+ }
433
+
434
+ declare interface PvMapChartProps {
435
+ seriesKey: string;
436
+ mapType?: MapTopologyType;
437
+ displayGradientLegend?: boolean;
438
+ displayRegionSelector?: boolean;
439
+ gradientLegendMin?: number;
440
+ gradientLegendMax?: number;
441
+ seriesValueFormatter?: (value: number) => string;
442
+ isLoading?: boolean;
443
+ noDataMessage?: string;
444
+ tooltipRenderer?: (params: AgMapLineSeriesTooltipRendererParams<PvMapChartData>) => string | HTMLElement;
445
+ }
446
+
447
+ declare interface QueryBuilderSuggestionMenuOption extends MenuOption {
448
+ queryTerm?: QueryTerm;
449
+ }
450
+
451
+ declare interface QueryTerm {
452
+ queryField?: string;
453
+ queryDisplayField?: string;
454
+ exactMatch?: boolean;
455
+ queryText?: string;
456
+ }
457
+
458
+ declare interface RegionSelectionChangedEvent {
459
+ region: string | null | undefined;
460
+ }
461
+
462
+ declare interface ServerSideChartDataHandlerParams {
463
+ rowGroupCols: ColumnVO[];
464
+ /** Columns that have aggregations on them. */
465
+ valueCols: ColumnVO[];
466
+ /**
467
+ * If filtering, what the filter model is.
468
+ * If Advanced Filter is enabled, will be of type `AdvancedFilterModel | null`.
469
+ * If Advanced Filter is disabled, will be of type `FilterModel`.
470
+ */
471
+ filterModel: FilterModel_2 | AdvancedFilterModel | null;
472
+ }
473
+
474
+ declare interface ServerSideChartDataHandlerResponse {
475
+ data: AgChartOptions_2["data"];
476
+ stackField: string;
477
+ }
478
+
479
+ declare type supportedChartType = "column" | "bar" | "column_stacked" | "bar_stacked" | "line" | "area" | "pie";
480
+
481
+ declare interface TableSearchHandlerParams<T> {
482
+ api: GridApi<T>;
483
+ filterModel?: FilterModel | null;
484
+ query?: string;
485
+ }
486
+
487
+ declare type TableSearchStyle = "query-builder" | "text";
488
+
489
+ export { }