@turquoisehealth/pit-viper 2.130.1 → 2.130.2-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 (237) 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-multi-select-button-stats.html +1 -1
  5. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  6. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  7. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
  8. package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuItem.vue.d.ts +2 -2
  9. package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuItemVariant.vue.d.ts +2 -2
  10. package/pv-components/dist/vue/base/pv-components-base.mjs +3 -3
  11. package/pv-components/dist/vue/base/types.d.ts +2 -2
  12. package/pv-components/dist/vue/visualizations/components/base/PvAccordion/PvAccordion.spec.d.ts +1 -0
  13. package/pv-components/dist/vue/visualizations/components/base/PvAccordion/PvAccordion.vue.d.ts +49 -0
  14. package/pv-components/dist/vue/visualizations/components/base/PvAccordion/types.d.ts +5 -0
  15. package/pv-components/dist/vue/visualizations/components/base/PvActionBar/PvActionBar.spec.d.ts +1 -0
  16. package/pv-components/dist/vue/visualizations/components/base/PvActionBar/PvActionBar.vue.d.ts +34 -0
  17. package/pv-components/dist/vue/visualizations/components/base/PvActionBar/types.d.ts +2 -0
  18. package/pv-components/dist/vue/visualizations/components/base/PvAiButton/PvAiButton.spec.d.ts +1 -0
  19. package/pv-components/dist/vue/visualizations/components/base/PvAiButton/PvAiButton.vue.d.ts +13 -0
  20. package/pv-components/dist/vue/visualizations/components/base/PvAiButton/types.d.ts +2 -0
  21. package/pv-components/dist/vue/visualizations/components/base/PvAvatar/PvAvatar.spec.d.ts +1 -0
  22. package/pv-components/dist/vue/visualizations/components/base/PvAvatar/PvAvatar.vue.d.ts +13 -0
  23. package/pv-components/dist/vue/visualizations/components/base/PvAvatar/types.d.ts +3 -0
  24. package/pv-components/dist/vue/visualizations/components/base/PvAvatarGroup/PvAvatarGroup.spec.d.ts +1 -0
  25. package/pv-components/dist/vue/visualizations/components/base/PvAvatarGroup/PvAvatarGroup.vue.d.ts +8 -0
  26. package/pv-components/dist/vue/visualizations/components/base/PvAvatarGroup/types.d.ts +5 -0
  27. package/pv-components/dist/vue/visualizations/components/base/PvBanner/PvBanner.spec.d.ts +1 -0
  28. package/pv-components/dist/vue/visualizations/components/base/PvBanner/PvBanner.vue.d.ts +30 -0
  29. package/pv-components/dist/vue/visualizations/components/base/PvBanner/types.d.ts +11 -0
  30. package/pv-components/dist/vue/visualizations/components/base/PvBreadcrumbs/PvBreadcrumbs.spec.d.ts +1 -0
  31. package/pv-components/dist/vue/visualizations/components/base/PvBreadcrumbs/PvBreadcrumbs.vue.d.ts +7 -0
  32. package/pv-components/dist/vue/visualizations/components/base/PvBreadcrumbs/types.d.ts +4 -0
  33. package/pv-components/dist/vue/visualizations/components/base/PvButton/PvButton.spec.d.ts +1 -0
  34. package/pv-components/dist/vue/visualizations/components/base/PvButton/PvButton.vue.d.ts +10 -0
  35. package/pv-components/dist/vue/visualizations/components/base/PvButton/PvButtonWithTooltip.vue.d.ts +8 -0
  36. package/pv-components/dist/vue/visualizations/components/base/PvButton/helpers.d.ts +3 -0
  37. package/pv-components/dist/vue/visualizations/components/base/PvButton/types.d.ts +28 -0
  38. package/pv-components/dist/vue/visualizations/components/base/PvCard/PvCard.spec.d.ts +1 -0
  39. package/pv-components/dist/vue/visualizations/components/base/PvCard/PvCard.vue.d.ts +27 -0
  40. package/pv-components/dist/vue/visualizations/components/base/PvCard/types.d.ts +2 -0
  41. package/pv-components/dist/vue/visualizations/components/base/PvCheckbox/PvCheckbox.vue.d.ts +17 -0
  42. package/pv-components/dist/vue/visualizations/components/base/PvCompanyLabel/PvCompanyLabel.vue.d.ts +11 -0
  43. package/pv-components/dist/vue/visualizations/components/base/PvCompanyLabel/types.d.ts +2 -0
  44. package/pv-components/dist/vue/visualizations/components/base/PvCompanyLogo/PvCompanyLogo.spec.d.ts +1 -0
  45. package/pv-components/dist/vue/visualizations/components/base/PvCompanyLogo/PvCompanyLogo.vue.d.ts +15 -0
  46. package/pv-components/dist/vue/visualizations/components/base/PvCompanyLogo/types.d.ts +2 -0
  47. package/pv-components/dist/vue/visualizations/components/base/PvCompanyTag/PvCompanyTag.spec.d.ts +1 -0
  48. package/pv-components/dist/vue/visualizations/components/base/PvCompanyTag/PvCompanyTag.vue.d.ts +27 -0
  49. package/pv-components/dist/vue/visualizations/components/base/PvComponentsConfig/primeVue.config.d.ts +14 -0
  50. package/pv-components/dist/vue/visualizations/components/base/PvComponentsConfig/usePvComponents.d.ts +2 -0
  51. package/pv-components/dist/vue/visualizations/components/base/PvCounterBadge/PvCounterBadge.spec.d.ts +1 -0
  52. package/pv-components/dist/vue/visualizations/components/base/PvCounterBadge/PvCounterBadge.vue.d.ts +16 -0
  53. package/pv-components/dist/vue/visualizations/components/base/PvCounterBadge/types.d.ts +3 -0
  54. package/pv-components/dist/vue/visualizations/components/base/PvDatePicker/PvDatePicker.vue.d.ts +115 -0
  55. package/pv-components/dist/vue/visualizations/components/base/PvDateTime/PvDateTime.spec.d.ts +1 -0
  56. package/pv-components/dist/vue/visualizations/components/base/PvDateTime/PvDateTime.vue.d.ts +14 -0
  57. package/pv-components/dist/vue/visualizations/components/base/PvDateTime/useDateTime.d.ts +9 -0
  58. package/pv-components/dist/vue/visualizations/components/base/PvDateTime/useDateTime.spec.d.ts +1 -0
  59. package/pv-components/dist/vue/visualizations/components/base/PvDistributionBar/PvDistributionBar.vue.d.ts +6 -0
  60. package/pv-components/dist/vue/visualizations/components/base/PvDrawer/PvDrawer.spec.d.ts +1 -0
  61. package/pv-components/dist/vue/visualizations/components/base/PvDrawer/PvDrawer.vue.d.ts +48 -0
  62. package/pv-components/dist/vue/visualizations/components/base/PvDropdown/PvDropdown.vue.d.ts +117 -0
  63. package/pv-components/dist/vue/visualizations/components/base/PvExpandableContent/PvExpandableContent.spec.d.ts +1 -0
  64. package/pv-components/dist/vue/visualizations/components/base/PvExpandableContent/PvExpandableContent.vue.d.ts +30 -0
  65. package/pv-components/dist/vue/visualizations/components/base/PvExpandableContent/types.d.ts +3 -0
  66. package/pv-components/dist/vue/visualizations/components/base/PvGhostInput/PvGhostInput.spec.d.ts +1 -0
  67. package/pv-components/dist/vue/visualizations/components/base/PvGhostInput/PvGhostInput.vue.d.ts +39 -0
  68. package/pv-components/dist/vue/visualizations/components/base/PvGhostInput/types.d.ts +2 -0
  69. package/pv-components/dist/vue/visualizations/components/base/PvIcon/PvIcon.vue.d.ts +10 -0
  70. package/pv-components/dist/vue/visualizations/components/base/PvInput/PvInput.spec.d.ts +1 -0
  71. package/pv-components/dist/vue/visualizations/components/base/PvInput/PvInput.vue.d.ts +40 -0
  72. package/pv-components/dist/vue/visualizations/components/base/PvInput/types.d.ts +3 -0
  73. package/pv-components/dist/vue/visualizations/components/base/PvInsightCard/PvInsightCard.spec.d.ts +1 -0
  74. package/pv-components/dist/vue/visualizations/components/base/PvInsightCard/PvInsightCard.vue.d.ts +22 -0
  75. package/pv-components/dist/vue/visualizations/components/base/PvMenu/PvMenu.spec.d.ts +1 -0
  76. package/pv-components/dist/vue/visualizations/components/base/PvMenu/PvMenu.vue.d.ts +183 -0
  77. package/pv-components/dist/vue/visualizations/components/base/PvMenu/PvMenuControlPanel.spec.d.ts +1 -0
  78. package/pv-components/dist/vue/visualizations/components/base/PvMenu/PvMenuControlPanel.vue.d.ts +18 -0
  79. package/pv-components/dist/vue/visualizations/components/base/PvMenu/PvMenuEmptyState.vue.d.ts +3 -0
  80. package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuBaseItem.spec.d.ts +1 -0
  81. package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuBaseItem.vue.d.ts +11 -0
  82. package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuItem.spec.d.ts +1 -0
  83. package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuItem.vue.d.ts +16 -0
  84. package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuItemAction.spec.d.ts +1 -0
  85. package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuItemAction.vue.d.ts +8 -0
  86. package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuItemVariant.vue.d.ts +14 -0
  87. package/pv-components/dist/vue/visualizations/components/base/PvMenu/useMenuPosition.d.ts +66 -0
  88. package/pv-components/dist/vue/visualizations/components/base/PvMenu/useMenuPosition.spec.d.ts +1 -0
  89. package/pv-components/dist/vue/visualizations/components/base/PvModal/PvModal.spec.d.ts +1 -0
  90. package/pv-components/dist/vue/visualizations/components/base/PvModal/PvModal.vue.d.ts +30 -0
  91. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.spec.d.ts +1 -0
  92. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +126 -0
  93. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/mocks.d.ts +15 -0
  94. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/types.d.ts +48 -0
  95. package/pv-components/dist/vue/visualizations/components/base/PvPagination/PvPagination.spec.d.ts +1 -0
  96. package/pv-components/dist/vue/visualizations/components/base/PvPagination/PvPagination.vue.d.ts +21 -0
  97. package/pv-components/dist/vue/visualizations/components/base/PvPagination/types.d.ts +3 -0
  98. package/pv-components/dist/vue/visualizations/components/base/PvPagination/usePagination.d.ts +12 -0
  99. package/pv-components/dist/vue/visualizations/components/base/PvPagination/usePagination.spec.d.ts +1 -0
  100. package/pv-components/dist/vue/visualizations/components/base/PvPill/PvPill.spec.d.ts +1 -0
  101. package/pv-components/dist/vue/visualizations/components/base/PvPill/PvPill.vue.d.ts +31 -0
  102. package/pv-components/dist/vue/visualizations/components/base/PvPill/types.d.ts +4 -0
  103. package/pv-components/dist/vue/visualizations/components/base/PvPopover/PvPopover.vue.d.ts +31 -0
  104. package/pv-components/dist/vue/visualizations/components/base/PvPopoverMenu/PvPopoverMenu.spec.d.ts +1 -0
  105. package/pv-components/dist/vue/visualizations/components/base/PvPopoverMenu/PvPopoverMenu.vue.d.ts +26 -0
  106. package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +47 -0
  107. package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/types.d.ts +20 -0
  108. package/pv-components/dist/vue/visualizations/components/base/PvProgressBar/PvProgressBar.vue.d.ts +8 -0
  109. package/pv-components/dist/vue/visualizations/components/base/PvQueryBuilderInput/PvQueryBuilderInput.vue.d.ts +44 -0
  110. package/pv-components/dist/vue/visualizations/components/base/PvQueryBuilderInput/QueryBuilderMenuOptionRenderer.vue.d.ts +8 -0
  111. package/pv-components/dist/vue/visualizations/components/base/PvQueryBuilderInput/QueryFormatter.vue.d.ts +20 -0
  112. package/pv-components/dist/vue/visualizations/components/base/PvQueryBuilderInput/useQueryBuilder.d.ts +44 -0
  113. package/pv-components/dist/vue/visualizations/components/base/PvQueryBuilderInput/useQueryBuilder.spec.d.ts +1 -0
  114. package/pv-components/dist/vue/visualizations/components/base/PvRating/PvRating.spec.d.ts +1 -0
  115. package/pv-components/dist/vue/visualizations/components/base/PvRating/PvRating.vue.d.ts +12 -0
  116. package/pv-components/dist/vue/visualizations/components/base/PvRating/types.d.ts +4 -0
  117. package/pv-components/dist/vue/visualizations/components/base/PvReleaseBadge/PvReleaseBadge.spec.d.ts +1 -0
  118. package/pv-components/dist/vue/visualizations/components/base/PvReleaseBadge/PvReleaseBadge.vue.d.ts +8 -0
  119. package/pv-components/dist/vue/visualizations/components/base/PvReleaseBadge/types.d.ts +1 -0
  120. package/pv-components/dist/vue/visualizations/components/base/PvSearchInput/PvSearchInput.spec.d.ts +1 -0
  121. package/pv-components/dist/vue/visualizations/components/base/PvSearchInput/PvSearchInput.vue.d.ts +26 -0
  122. package/pv-components/dist/vue/visualizations/components/base/PvSegmentedControl/PvSegmentedControl.spec.d.ts +1 -0
  123. package/pv-components/dist/vue/visualizations/components/base/PvSegmentedControl/PvSegmentedControl.vue.d.ts +19 -0
  124. package/pv-components/dist/vue/visualizations/components/base/PvSegmentedControl/types.d.ts +8 -0
  125. package/pv-components/dist/vue/visualizations/components/base/PvSelectButton/PvSelectButton.spec.d.ts +1 -0
  126. package/pv-components/dist/vue/visualizations/components/base/PvSelectButton/PvSelectButton.vue.d.ts +53 -0
  127. package/pv-components/dist/vue/visualizations/components/base/PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.spec.d.ts +1 -0
  128. package/pv-components/dist/vue/visualizations/components/base/PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.vue.d.ts +30 -0
  129. package/pv-components/dist/vue/visualizations/components/base/PvSelectButton/mocks.d.ts +21 -0
  130. package/pv-components/dist/vue/visualizations/components/base/PvSelectButton/types.d.ts +3 -0
  131. package/pv-components/dist/vue/visualizations/components/base/PvSelectableCard/PvSelectableCard.spec.d.ts +1 -0
  132. package/pv-components/dist/vue/visualizations/components/base/PvSelectableCard/PvSelectableCard.vue.d.ts +25 -0
  133. package/pv-components/dist/vue/visualizations/components/base/PvSkeleton/PvSkeleton.spec.d.ts +1 -0
  134. package/pv-components/dist/vue/visualizations/components/base/PvSkeleton/PvSkeleton.vue.d.ts +11 -0
  135. package/pv-components/dist/vue/visualizations/components/base/PvSkeleton/types.d.ts +3 -0
  136. package/pv-components/dist/vue/visualizations/components/base/PvSortableList/PvSortableList.vue.d.ts +25 -0
  137. package/pv-components/dist/vue/visualizations/components/base/PvSpinner/PvSpinner.spec.d.ts +1 -0
  138. package/pv-components/dist/vue/visualizations/components/base/PvSpinner/PvSpinner.vue.d.ts +11 -0
  139. package/pv-components/dist/vue/visualizations/components/base/PvSpinner/types.d.ts +3 -0
  140. package/pv-components/dist/vue/visualizations/components/base/PvSprite/PvSprite.vue.d.ts +9 -0
  141. package/pv-components/dist/vue/visualizations/components/base/PvSuggestionTag/PvSuggestionTag.spec.d.ts +1 -0
  142. package/pv-components/dist/vue/visualizations/components/base/PvSuggestionTag/PvSuggestionTag.vue.d.ts +31 -0
  143. package/pv-components/dist/vue/visualizations/components/base/PvSwitch/PvSwitch.spec.d.ts +1 -0
  144. package/pv-components/dist/vue/visualizations/components/base/PvSwitch/PvSwitch.vue.d.ts +22 -0
  145. package/pv-components/dist/vue/visualizations/components/base/PvSwitch/types.d.ts +2 -0
  146. package/pv-components/dist/vue/visualizations/components/base/PvTabList/PvTabList.vue.d.ts +12 -0
  147. package/pv-components/dist/vue/visualizations/components/base/PvTabs/PvTabs.spec.d.ts +1 -0
  148. package/pv-components/dist/vue/visualizations/components/base/PvTabs/PvTabs.vue.d.ts +18 -0
  149. package/pv-components/dist/vue/visualizations/components/base/PvTabs/types.d.ts +7 -0
  150. package/pv-components/dist/vue/visualizations/components/base/PvTag/PvTag.spec.d.ts +1 -0
  151. package/pv-components/dist/vue/visualizations/components/base/PvTag/PvTag.vue.d.ts +41 -0
  152. package/pv-components/dist/vue/visualizations/components/base/PvTag/types.d.ts +3 -0
  153. package/pv-components/dist/vue/visualizations/components/base/PvTextArea/PvTextArea.spec.d.ts +1 -0
  154. package/pv-components/dist/vue/visualizations/components/base/PvTextArea/PvTextArea.vue.d.ts +40 -0
  155. package/pv-components/dist/vue/visualizations/components/base/PvTextArea/types.d.ts +2 -0
  156. package/pv-components/dist/vue/visualizations/components/base/PvToast/PvToast.spec.d.ts +1 -0
  157. package/pv-components/dist/vue/visualizations/components/base/PvToast/PvToast.vue.d.ts +30 -0
  158. package/pv-components/dist/vue/visualizations/components/base/PvToast/types.d.ts +1 -0
  159. package/pv-components/dist/vue/visualizations/components/base/PvToggleButton/PvToggleButton.spec.d.ts +1 -0
  160. package/pv-components/dist/vue/visualizations/components/base/PvToggleButton/PvToggleButton.vue.d.ts +29 -0
  161. package/pv-components/dist/vue/visualizations/components/base/PvToggleButton/types.d.ts +3 -0
  162. package/pv-components/dist/vue/visualizations/components/base/PvToggleGroup/PvToggleGroup.vue.d.ts +12 -0
  163. package/pv-components/dist/vue/visualizations/components/base/PvToggleGroup/types.d.ts +12 -0
  164. package/pv-components/dist/vue/visualizations/components/base/PvTooltip/PvTooltip.spec.d.ts +1 -0
  165. package/pv-components/dist/vue/visualizations/components/base/PvTooltip/PvTooltip.vue.d.ts +36 -0
  166. package/pv-components/dist/vue/visualizations/components/base/PvTooltip/types.d.ts +4 -0
  167. package/pv-components/dist/vue/visualizations/components/base/PvTooltipV2/PvTooltipV2.vue.d.ts +28 -0
  168. package/pv-components/dist/vue/visualizations/components/base/PvTooltipV2/types.d.ts +10 -0
  169. package/pv-components/dist/vue/visualizations/components/base/PvTree/PvButtonTreeItem.vue.d.ts +33 -0
  170. package/pv-components/dist/vue/visualizations/components/base/PvTree/PvCheckboxTreeItem.vue.d.ts +33 -0
  171. package/pv-components/dist/vue/visualizations/components/base/PvTree/PvSimpleItemTree.vue.d.ts +7 -0
  172. package/pv-components/dist/vue/visualizations/components/base/PvTree/PvSimpleNestedTree.vue.d.ts +21 -0
  173. package/pv-components/dist/vue/visualizations/components/base/PvTree/PvTree.vue.d.ts +22 -0
  174. package/pv-components/dist/vue/visualizations/components/base/PvTree/PvTreeItem.vue.d.ts +23 -0
  175. package/pv-components/dist/vue/visualizations/components/base/PvTree/PvTreeReorderIcon.vue.d.ts +3 -0
  176. package/pv-components/dist/vue/visualizations/components/base/PvTree/types.d.ts +31 -0
  177. package/pv-components/dist/vue/visualizations/components/base/PvTree/useDragAndDrop.d.ts +16 -0
  178. package/pv-components/dist/vue/visualizations/components/base/PvTree/useHoverIcon.d.ts +6 -0
  179. package/pv-components/dist/vue/visualizations/components/base/PvWidget/PvWidget.spec.d.ts +1 -0
  180. package/pv-components/dist/vue/visualizations/components/base/PvWidget/PvWidget.vue.d.ts +18 -0
  181. package/pv-components/dist/vue/visualizations/components/base/baseProps.d.ts +16 -0
  182. package/pv-components/dist/vue/visualizations/components/base/index.d.ts +64 -0
  183. package/pv-components/dist/vue/visualizations/components/charts/PvChart/PvChart.vue.d.ts +48 -0
  184. package/pv-components/dist/vue/visualizations/components/charts/PvChart/constants.d.ts +2 -0
  185. package/pv-components/dist/vue/visualizations/components/charts/PvChart/functions.d.ts +42 -0
  186. package/pv-components/dist/vue/visualizations/components/charts/PvChart/types.d.ts +25 -0
  187. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/PvDataTableWithChart.spec.d.ts +1 -0
  188. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/PvDataTableWithChart.vue.d.ts +39 -0
  189. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/constants.d.ts +5 -0
  190. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/helpers.d.ts +14 -0
  191. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/helpers.spec.d.ts +1 -0
  192. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/table-chart-components/PvChartOptionsPanel.vue.d.ts +22 -0
  193. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +75 -0
  194. package/pv-components/dist/vue/visualizations/components/charts/PvMapChart/PvMapChart.vue.d.ts +45 -0
  195. package/pv-components/dist/vue/visualizations/components/charts/chart-components/maps/MapGradient.vue.d.ts +11 -0
  196. package/pv-components/dist/vue/visualizations/components/charts/chart-components/maps/MapRegionSelector.vue.d.ts +16 -0
  197. package/pv-components/dist/vue/visualizations/components/charts/chart-components/maps/topologies/alaskaStateTopology.d.ts +20 -0
  198. package/pv-components/dist/vue/visualizations/components/charts/chart-components/maps/topologies/hawaiiStateTopology.d.ts +20 -0
  199. package/pv-components/dist/vue/visualizations/components/charts/chart-components/maps/topologies/usStateTopology.d.ts +28 -0
  200. package/pv-components/dist/vue/visualizations/components/charts/chart-components/maps/useTopology.d.ts +8 -0
  201. package/pv-components/dist/vue/visualizations/components/charts/themes.d.ts +6 -0
  202. package/pv-components/dist/vue/visualizations/components/layout/PvSidePanel/PvSidePanel.spec.d.ts +1 -0
  203. package/pv-components/dist/vue/visualizations/components/layout/PvSidePanel/PvSidePanel.vue.d.ts +24 -0
  204. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/PvDataTable.spec.d.ts +1 -0
  205. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/PvDataTable.vue.d.ts +38 -0
  206. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/helpers.d.ts +24 -0
  207. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/helpers.spec.d.ts +1 -0
  208. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/ExportMenu.vue.d.ts +16 -0
  209. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/FilterPanel.spec.d.ts +1 -0
  210. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/FilterPanel.vue.d.ts +23 -0
  211. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/GroupAggCellRenderer.vue.d.ts +17 -0
  212. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/GroupBySelector.vue.d.ts +17 -0
  213. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/GroupedCellRenderer.vue.d.ts +16 -0
  214. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/HeaderCellRenderer.vue.d.ts +12 -0
  215. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/PaginationPanel.vue.d.ts +16 -0
  216. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/RowCountCellRenderer.vue.d.ts +17 -0
  217. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/RowLoadingCellRenderer.vue.d.ts +3 -0
  218. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/SetFilter.spec.d.ts +1 -0
  219. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/SetFilter.vue.d.ts +35 -0
  220. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/TableSearch.vue.d.ts +8 -0
  221. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/TableTooltip.vue.d.ts +7 -0
  222. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/TagCellRenderer.vue.d.ts +7 -0
  223. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/formatting.d.ts +29 -0
  224. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/formatting.spec.d.ts +1 -0
  225. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +352 -0
  226. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useFilterStore.d.ts +45 -0
  227. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useFilterStore.spec.d.ts +1 -0
  228. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useFocus.d.ts +27 -0
  229. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useFocus.spec.d.ts +1 -0
  230. package/pv-components/dist/vue/visualizations/components/tables/symbols.d.ts +54 -0
  231. package/pv-components/dist/vue/visualizations/components/tables/themes.d.ts +3 -0
  232. package/pv-components/dist/vue/visualizations/components/visualizations/index.d.ts +1 -1
  233. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +2929 -2936
  234. package/pv-components/dist/vue/visualizations/types.d.ts +2 -2
  235. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +2 -2
  236. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +2 -2
  237. package/pv-components/dist/web/pv-components.iife.js +1 -1
@@ -0,0 +1,16 @@
1
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
2
+ declare const _default: <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<{
3
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & {
4
+ getCsvData: () => Promise<string | null>;
5
+ } & Partial<{}>> & PublicProps;
6
+ expose(exposed: ShallowUnwrapRef<{}>): void;
7
+ attrs: any;
8
+ slots: {};
9
+ emit: {};
10
+ }>) => VNode & {
11
+ __ctx?: Awaited<typeof __VLS_setup>;
12
+ };
13
+ export default _default;
14
+ type __VLS_PrettifyLocal<T> = {
15
+ [K in keyof T]: T[K];
16
+ } & {};
@@ -0,0 +1,23 @@
1
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
2
+ export interface FilterPanelProps {
3
+ enableFocusView?: boolean;
4
+ enableVerticalPanel?: boolean;
5
+ displayPreferencesIcon?: boolean;
6
+ focusableColumns?: string[];
7
+ maxHorizontalFilters: number;
8
+ }
9
+ declare const _default: <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<{
10
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
11
+ readonly "onHandle-settings-icon"?: ((value: string) => any) | undefined;
12
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onHandle-settings-icon"> & FilterPanelProps & Partial<{}>> & PublicProps;
13
+ expose(exposed: ShallowUnwrapRef<{}>): void;
14
+ attrs: any;
15
+ slots: {};
16
+ emit: (e: "handle-settings-icon", value: string) => void;
17
+ }>) => VNode & {
18
+ __ctx?: Awaited<typeof __VLS_setup>;
19
+ };
20
+ export default _default;
21
+ type __VLS_PrettifyLocal<T> = {
22
+ [K in keyof T]: T[K];
23
+ } & {};
@@ -0,0 +1,17 @@
1
+ import { ICellRendererParams } from 'ag-grid-enterprise';
2
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
3
+ declare const _default: <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<{
4
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & {
5
+ params: ICellRendererParams;
6
+ } & Partial<{}>> & PublicProps;
7
+ expose(exposed: ShallowUnwrapRef<{}>): void;
8
+ attrs: any;
9
+ slots: {};
10
+ emit: {};
11
+ }>) => VNode & {
12
+ __ctx?: Awaited<typeof __VLS_setup>;
13
+ };
14
+ export default _default;
15
+ type __VLS_PrettifyLocal<T> = {
16
+ [K in keyof T]: T[K];
17
+ } & {};
@@ -0,0 +1,17 @@
1
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
2
+ declare const _default: <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<{
3
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & {
4
+ rowGroupLimit?: number;
5
+ enableFocusView?: boolean;
6
+ } & Partial<{}>> & PublicProps;
7
+ expose(exposed: ShallowUnwrapRef<{}>): void;
8
+ attrs: any;
9
+ slots: {};
10
+ emit: {};
11
+ }>) => VNode & {
12
+ __ctx?: Awaited<typeof __VLS_setup>;
13
+ };
14
+ export default _default;
15
+ type __VLS_PrettifyLocal<T> = {
16
+ [K in keyof T]: T[K];
17
+ } & {};
@@ -0,0 +1,16 @@
1
+ import { GridApi } from 'ag-grid-community';
2
+ import { RowNode } from 'ag-grid-enterprise';
3
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
+ interface GroupCellRendererParams {
5
+ displayBaseAggregationsOnly: boolean;
6
+ displayCount: boolean;
7
+ displayRowNumber: boolean;
8
+ formattedValue: string;
9
+ rowNode: RowNode;
10
+ api: GridApi;
11
+ }
12
+ type __VLS_Props = {
13
+ params: GroupCellRendererParams;
14
+ };
15
+ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
16
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import { IHeaderParams } from 'ag-grid-enterprise';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ type __VLS_Props = {
4
+ params: IHeaderParams;
5
+ };
6
+ declare function refresh(params: IHeaderParams): boolean;
7
+ declare const _default: DefineComponent<__VLS_Props, {
8
+ refresh: typeof refresh;
9
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
10
+ menuButton: HTMLDivElement;
11
+ }, HTMLDivElement>;
12
+ export default _default;
@@ -0,0 +1,16 @@
1
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
2
+ declare const _default: <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<{
3
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & {
4
+ panelSize?: "xl" | "l";
5
+ } & Partial<{}>> & PublicProps;
6
+ expose(exposed: ShallowUnwrapRef<{}>): void;
7
+ attrs: any;
8
+ slots: {};
9
+ emit: {};
10
+ }>) => VNode & {
11
+ __ctx?: Awaited<typeof __VLS_setup>;
12
+ };
13
+ export default _default;
14
+ type __VLS_PrettifyLocal<T> = {
15
+ [K in keyof T]: T[K];
16
+ } & {};
@@ -0,0 +1,17 @@
1
+ import { ICellRendererParams } from 'ag-grid-enterprise';
2
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
3
+ declare const _default: <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<{
4
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & {
5
+ params: ICellRendererParams;
6
+ } & Partial<{}>> & PublicProps;
7
+ expose(exposed: ShallowUnwrapRef<{}>): void;
8
+ attrs: any;
9
+ slots: {};
10
+ emit: {};
11
+ }>) => VNode & {
12
+ __ctx?: Awaited<typeof __VLS_setup>;
13
+ };
14
+ export default _default;
15
+ type __VLS_PrettifyLocal<T> = {
16
+ [K in keyof T]: T[K];
17
+ } & {};
@@ -0,0 +1,3 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
3
+ export default _default;
@@ -0,0 +1,35 @@
1
+ import { ColDef } from 'ag-grid-community';
2
+ import { FilterValueResponseOption } from '../types.ts';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
4
+ export interface SetFilterMenuOptionProps {
5
+ filterField?: string;
6
+ filterContext?: FilterValueResponseOption | null;
7
+ }
8
+ export interface SetFilterProps<T> {
9
+ enableFocusView?: boolean;
10
+ filterColDef: ColDef<T>;
11
+ filterStyle?: "horizontal" | "vertical";
12
+ displayPreferencesIcon?: boolean;
13
+ focusableColumns?: string[];
14
+ }
15
+ declare const _default: <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<{
16
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
17
+ readonly "onFilter-selection-changed"?: (() => any) | undefined;
18
+ readonly "onFilter-closed"?: (() => any) | undefined;
19
+ readonly "onHandle-settings-icon"?: ((value: string) => any) | undefined;
20
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onFilter-selection-changed" | "onFilter-closed" | "onHandle-settings-icon"> & SetFilterProps<T> & Partial<{}>> & PublicProps;
21
+ expose(exposed: ShallowUnwrapRef<{}>): void;
22
+ attrs: any;
23
+ slots: {};
24
+ emit: {
25
+ (e: "filter-selection-changed"): void;
26
+ (e: "filter-closed"): void;
27
+ (e: "handle-settings-icon", value: string): void;
28
+ };
29
+ }>) => VNode & {
30
+ __ctx?: Awaited<typeof __VLS_setup>;
31
+ };
32
+ export default _default;
33
+ type __VLS_PrettifyLocal<T> = {
34
+ [K in keyof T]: T[K];
35
+ } & {};
@@ -0,0 +1,8 @@
1
+ import { TableSearchStyle } from '../types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ export interface TableSearchProps {
4
+ placeholder: string;
5
+ searchStyle: TableSearchStyle;
6
+ }
7
+ declare const _default: DefineComponent<TableSearchProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TableSearchProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
8
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import { ITooltipParams } from 'ag-grid-enterprise';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ type __VLS_Props = {
4
+ params: ITooltipParams;
5
+ };
6
+ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
7
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import { ICellRendererParams } from 'ag-grid-enterprise';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ type __VLS_Props = {
4
+ params: ICellRendererParams;
5
+ };
6
+ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
7
+ export default _default;
@@ -0,0 +1,29 @@
1
+ export declare enum ColDefDataType {
2
+ String = "string",
3
+ Number = "number",
4
+ Boolean = "boolean",
5
+ Date = "date",
6
+ Currency = "currency",
7
+ Formula = "formula",
8
+ Select = "select",
9
+ Percent = "percent",
10
+ Entity = "entity",
11
+ Id = "id",
12
+ Integer = "integer",
13
+ User = "user",
14
+ Link = "link",
15
+ Location = "location",
16
+ Status = "status",
17
+ Tag = "tag",
18
+ File = "file",
19
+ None = "none"
20
+ }
21
+ export declare const mapEntityTypeToHeaderIcon: (entityType: ColDefDataType | null) => "formula" | "percent" | "user" | "link" | "location" | "file" | "fonts" | "hash" | "list" | "calendar" | "currency-dollar" | "building" | "id-2" | "circle-chevron-down" | null;
22
+ /**
23
+ * Remove unnecessary chars from table header displayNames
24
+ */
25
+ export declare const updateDisplayNameForDataType: (displayName: string, entityType: ColDefDataType | null) => string;
26
+ export declare const truncateValue: (value: number, isPercent?: boolean, maxChartValue?: number) => {
27
+ newValue: string;
28
+ newSuffix: string;
29
+ };
@@ -0,0 +1,352 @@
1
+ import { AgCartesianSeriesTooltipRendererParams } from 'ag-charts-enterprise';
2
+ import { ColDefDataType } from './table-components/formatting';
3
+ import { Component, ComputedRef, CSSProperties, Ref } from 'vue';
4
+ import { CellSelectionOptions, Column, FilterModel, GetContextMenuItemsParams, GridState, IServerSideGetRowsParams, ProcessCellForExportParams, ProcessDataFromClipboardParams, RowSelectionOptions, Theme, ValueFormatterFunc } from 'ag-grid-enterprise';
5
+ import { ColDef, GridApi, IsGroupOpenByDefaultParams, IsServerSideGroupOpenByDefaultParams, RefreshServerSideParams } from 'ag-grid-community';
6
+ import { QueryBuilderSuggestionMenuOption } from '../../base/PvQueryBuilderInput/useQueryBuilder';
7
+ import { MenuOption, PvMultiSelectButtonSlotProps } from '../../base';
8
+ export type TableSearchStyle = "query-builder" | "text";
9
+ /**
10
+ * Context passed to custom filter renderer components via slotContext
11
+ */
12
+ export interface FilterSlotContext {
13
+ gridApi?: GridApi;
14
+ colDef?: ColDef;
15
+ /** Whether the table is currently loading rows */
16
+ rowsLoading?: boolean;
17
+ }
18
+ /**
19
+ * Props passed to custom filter renderer components (header, footer, empty results, options)
20
+ * Extends PvMultiSelectButton slot props with MenuOption specialized to FilterValueResponseOption
21
+ */
22
+ export interface FilterRendererProps extends Omit<PvMultiSelectButtonSlotProps<FilterValueResponseOption, FilterSlotContext>, 'selectedItems'> {
23
+ selectedItems: MenuOption<FilterValueResponseOption>[];
24
+ }
25
+ export interface FocusUpdateEvent {
26
+ focuses?: string[] | null | undefined;
27
+ filterField?: string | null | undefined;
28
+ }
29
+ export interface ChartState {
30
+ seriesField?: string | null;
31
+ secondarySeriesField?: string | null;
32
+ chartType?: string | null;
33
+ chartSort?: string | null;
34
+ chartCategoryFields?: string[] | null;
35
+ tableGrouped?: boolean | null;
36
+ }
37
+ export interface ChartStateChangedEvent {
38
+ api: GridApi | null;
39
+ newState: ChartState | null;
40
+ oldState: ChartState | null;
41
+ }
42
+ export interface TooltipDatum {
43
+ [key: string]: string | number | undefined;
44
+ }
45
+ export type ChartTooltipRenderer = (params: AgCartesianSeriesTooltipRendererParams<TooltipDatum>) => string;
46
+ export interface ColDefContextProps<T> {
47
+ aggFuncDisplayName?: string;
48
+ chartSeriesDisplayName?: string;
49
+ dataType?: ColDefDataType;
50
+ emptyFilterResultsRenderer?: Component;
51
+ filterSelectMax?: number;
52
+ filterSelectMin?: number;
53
+ filterOptionsSortDescription?: string;
54
+ filterOptionsSortTooltip?: string;
55
+ filterOptionsRenderer?: Component;
56
+ filterSearch?: boolean;
57
+ filterRequiredToGroup?: boolean;
58
+ filterValueFormatter?: string | ValueFormatterFunc<T> | undefined;
59
+ filterHeaderRenderer?: Component;
60
+ filterFooterRenderer?: Component;
61
+ isArrayField?: boolean;
62
+ metadataDisplayFields?: string[];
63
+ valueDecimals?: number;
64
+ visibilityState?: "alwaysShow" | "alwaysHide";
65
+ hideFromCharting?: boolean;
66
+ chartOnSecondaryAxes?: boolean;
67
+ customTooltipRenderer?: ChartTooltipRenderer;
68
+ queryColIds?: string[];
69
+ aggregateFields?: string[];
70
+ }
71
+ export interface FilterValuesSetHandlerParams<T> {
72
+ api: GridApi<T>;
73
+ colDef: ColDef<T>;
74
+ column: Column<T>;
75
+ filterModel?: FilterModel | null;
76
+ query?: string;
77
+ }
78
+ export interface TableSearchHandlerParams<T> {
79
+ api: GridApi<T>;
80
+ filterModel?: FilterModel | null;
81
+ query?: string;
82
+ }
83
+ export interface FilterValueMatchResult {
84
+ matchedField?: string;
85
+ matchedValue?: string;
86
+ }
87
+ export interface FilterValueResponseOption {
88
+ value: string;
89
+ label?: string;
90
+ subduedText?: string;
91
+ isPreference?: boolean;
92
+ isSelectable?: boolean;
93
+ metadata?: any;
94
+ colField?: string;
95
+ matchedValue?: string;
96
+ matchedField?: string;
97
+ }
98
+ export interface PvDataTableProps<T> {
99
+ /**
100
+ * Column definitions for the table. Follows the AG Grid column definition format.
101
+ */
102
+ colDefs?: ColDef<T>[];
103
+ /**
104
+ * Array of JSON data objects to be displayed in the table. Only used for client-side row model.
105
+ */
106
+ rowData?: T[];
107
+ /**
108
+ * Handler to fetch server-side data. Only used for server-side row model.
109
+ */
110
+ serverSideRowHandler?: (params: IServerSideGetRowsParams<T>, isCsvExport?: boolean) => void;
111
+ /**
112
+ * Handler to fetch filter values for server-side filtering. Only used for server-side row model.
113
+ */
114
+ filterValuesSetHandler?: (params: FilterValuesSetHandlerParams<T>) => Promise<(FilterValueResponseOption | null)[]>;
115
+ /**
116
+ * Handler to return suggestions for applying search terms to the table.
117
+ */
118
+ tableSearchHandler?: (params: TableSearchHandlerParams<T>) => Promise<(QueryBuilderSuggestionMenuOption | null)[]>;
119
+ /**
120
+ * Specifies an initial set of filters/groups/sort/etc. to be applied to the table.
121
+ */
122
+ initialGridState?: GridState;
123
+ /**
124
+ * Specifies an initial set of metadata values for filters that require them
125
+ */
126
+ initialFilterValueMap?: Record<string, (FilterValueResponseOption | null)[]>;
127
+ /**
128
+ * Override the Pit Viper them
129
+ */
130
+ theme?: Theme;
131
+ /**
132
+ * For aggregated columns, only show the aggregate at the final group level
133
+ */
134
+ displayBaseAggregationsOnly?: boolean;
135
+ /**
136
+ * Display Row Number in the first column
137
+ */
138
+ displayRowNumber?: boolean;
139
+ /**
140
+ * Display Counts on Grouped Rows (requires allChildrenCount on the object)
141
+ */
142
+ displayGroupCount?: boolean;
143
+ /**
144
+ * Displays Icon on Preferences that emits handle-settings-icon event
145
+ */
146
+ displayPreferencesIcon?: boolean;
147
+ /**
148
+ * Display button to hide/show columns
149
+ */
150
+ enableColumnVisibilitySelector?: boolean;
151
+ /**
152
+ * Display everything focus view related
153
+ */
154
+ enableFocusView?: boolean;
155
+ /**
156
+ * Display button to group by columns
157
+ */
158
+ enableGroupBySelector?: boolean;
159
+ /**
160
+ * Display input to search within the table
161
+ */
162
+ enableTableSearch?: boolean;
163
+ /**
164
+ * Allows for slot content to be placed above the chart
165
+ */
166
+ enableTopSlot?: boolean;
167
+ /**
168
+ * Display button to open the vertical filter drawer
169
+ */
170
+ enableVerticalFilterPanel?: boolean;
171
+ /**
172
+ * Number of groups to support (defaults to 2)
173
+ */
174
+ rowGroupLimit?: number;
175
+ /**
176
+ * Whether to expand all groups by default, based on level. -1 expands all groups
177
+ */
178
+ groupDefaultExpanded?: number;
179
+ /**
180
+ * A handler to determine if a group should be open by default dynamically.
181
+ */
182
+ isClientSideGroupOpenByDefault?: (params: IsGroupOpenByDefaultParams) => boolean;
183
+ /**
184
+ * A handler to determine whether a group should be open by default.
185
+ */
186
+ isServerSideGroupOpenByDefault?: (params: IsServerSideGroupOpenByDefaultParams) => boolean;
187
+ /**
188
+ * Display button to export table data as CSV
189
+ */
190
+ enableCsvExport?: boolean;
191
+ /**
192
+ * # of rows to export to CSV - be careful overriding this as large exports can cause performance issues
193
+ */
194
+ csvRowLimit?: number;
195
+ /**
196
+ * Optional param to implement custom logic for CSV export. If not specified, the serverSideRowHandler will be used to generate the CSV data.
197
+ */
198
+ serverSideCsvHandler?: (params: IServerSideGetRowsParams<T>) => Promise<void>;
199
+ /**
200
+ * Field that can be used to identify row uniqueness for preserving expanded/collapsed row states
201
+ */
202
+ uniqueRowIdField?: string;
203
+ /**
204
+ * If true, will not show data until at least one filter is applied
205
+ */
206
+ requireFiltersToShowData?: boolean;
207
+ /**
208
+ * If true, will show loading state - can be used as a dynamic prop to show/hide loading state
209
+ */
210
+ isLoading?: boolean;
211
+ /**
212
+ * Height of the table + filter container (must be a valid CSS height value, e.g. '500px', '50vh', etc.).
213
+ */
214
+ containerHeight?: string;
215
+ /**
216
+ * Min height of the table + filter container (must be a valid CSS height value, e.g. '500px', '50vh', etc.)
217
+ */
218
+ containerMinHeight?: string;
219
+ /**
220
+ * Enables the ValidationModule for advanced debugging as well as additional console logging from AG Grid
221
+ */
222
+ debugMode?: boolean;
223
+ /**
224
+ * If true, hide all row-grouped columns from the table.
225
+ */
226
+ hideAllRowGroupedColumns?: boolean;
227
+ /**
228
+ * Specifies the column to pin to the left of the table if at least one row grouping is enabled.
229
+ */
230
+ leftPinnedColumnName?: string;
231
+ /**
232
+ * Enables pagination
233
+ */
234
+ pagination?: boolean;
235
+ /**
236
+ * Set the pagination page size. Defaults to 50.
237
+ */
238
+ paginationPageSize?: 20 | 50 | 100 | 200;
239
+ /**
240
+ * Row height for individual rows
241
+ */
242
+ rowHeight?: number;
243
+ /**
244
+ * Set tooltip show delay. Detaults 1000ms
245
+ */
246
+ tooltipShowDelay?: number;
247
+ /**
248
+ * Set tooltip hide delay.
249
+ */
250
+ tooltipHideDelay?: number;
251
+ /**
252
+ * Hide the table rows (but still show the filter panel)
253
+ */
254
+ hideTable?: boolean;
255
+ /**
256
+ * DOM location to use for relocating the filter panel
257
+ */
258
+ filterTeleportLocation?: string;
259
+ /**
260
+ * When specified, the filters will be put in their native spot within the AG Grid headers
261
+ */
262
+ enableInlineFilters?: boolean;
263
+ /**
264
+ * List of column fields that can be focused
265
+ */
266
+ focusableColumns?: string[];
267
+ tableSearchPlaceholder?: string;
268
+ tableSearchStyle?: TableSearchStyle;
269
+ maxHorizontalFilters?: number;
270
+ maintainColumnOrder?: boolean;
271
+ /**
272
+ * Custom CSS Properties
273
+ */
274
+ customCssProperties?: {
275
+ agGridWrapper: CSSProperties;
276
+ };
277
+ /**
278
+ * If true, then the table is grouped.
279
+ */
280
+ isTableGrouped?: boolean;
281
+ /**
282
+ * Options for configuring row selection
283
+ */
284
+ rowSelection?: RowSelectionOptions;
285
+ /**
286
+ * If true, copies column headers along with cell values when using the clipboard.
287
+ */
288
+ copyHeadersToClipboard?: boolean;
289
+ /**
290
+ * Controls cell-level selection behavior.
291
+ *
292
+ * - `false` (default): Cell selection is disabled and only row selection (if configured)
293
+ * is available.
294
+ * - `true`: Enables the default AG Grid cell selection behavior.
295
+ * - `CellSelectionOptions`: Pass an options object from `ag-grid-enterprise` to
296
+ * fine-tune how cell selection works (for example, enabling range selection,
297
+ * configuring selection mode, or adjusting drag/handle behavior).
298
+ *
299
+ * Use the boolean form when you only need to turn cell selection on or off.
300
+ * Use the `CellSelectionOptions` form when you need more granular configuration.
301
+ */
302
+ cellSelection?: boolean | CellSelectionOptions;
303
+ /**
304
+ * If true, disables cutting data to the clipboard from the table.
305
+ */
306
+ suppressCutToClipboard?: boolean;
307
+ /**
308
+ * If true, disables pasting data from the clipboard into the table.
309
+ */
310
+ suppressClipboardPaste?: boolean;
311
+ processCellForClipboard?: (params: ProcessCellForExportParams) => any;
312
+ processCellFromClipboard?: (params: ProcessCellForExportParams) => any;
313
+ processDataFromClipboard?: (params: ProcessDataFromClipboardParams) => string[][] | null;
314
+ /**
315
+ * A handler to customize the context menu items. If provided, will override the default behavior.
316
+ * Return an array of context menu item names, or undefined to use defaults.
317
+ */
318
+ getContextMenuItems?: (params: GetContextMenuItemsParams<T>) => any;
319
+ /**
320
+ * If true, enables undo/redo functionality for cell editing.
321
+ */
322
+ undoRedoCellEditing?: boolean;
323
+ /**
324
+ * The maximum number of undo/redo actions to store. Defaults to 10
325
+ */
326
+ undoRedoCellEditingLimit?: number;
327
+ /**
328
+ * Properties to override the default `ColDef` properties applied to all columns.
329
+ *
330
+ * These overrides are **shallow-merged** with the defaults: only top-level
331
+ * properties are merged. Nested objects (for example `filterParams`,
332
+ * `headerClass`, etc.) are not deep-merged; providing an override for a
333
+ * nested object will replace the entire default object.
334
+ */
335
+ defaultColDefOverrides?: Partial<ColDef<T>>;
336
+ /**
337
+ * Properties to override the defaults for `autoGroupColumnDef`.
338
+ *
339
+ * These overrides are **shallow-merged** with the defaults: only top-level
340
+ * properties are merged. Nested objects are not deep-merged and will replace
341
+ * the corresponding default object when provided.
342
+ */
343
+ autoGroupColumnDefOverrides?: Partial<ColDef<T>>;
344
+ }
345
+ export interface PvDataTablePublicInterface {
346
+ getCsvData: () => Promise<string | null>;
347
+ refreshData: (params?: RefreshServerSideParams | null) => Promise<void>;
348
+ getFilterValueSelectedMetadataMap: () => Record<string, (FilterValueResponseOption | null)[]>;
349
+ availableRowGroupColumns: ComputedRef<ColDef[]>;
350
+ availableAggFuncColumns: ComputedRef<ColDef[]>;
351
+ rowGroupColumnFields: Ref<string[]>;
352
+ }
@@ -0,0 +1,45 @@
1
+ import { Column, FilterModel } from 'ag-grid-enterprise';
2
+ import { Ref, ComputedRef } from 'vue';
3
+ import { ColDef, GridApi } from 'ag-grid-community';
4
+ import { FilterValueMatchResult, FilterValueResponseOption, FilterValuesSetHandlerParams, TableSearchHandlerParams } from './types';
5
+ import { QueryTerm } from '../../base/PvQueryBuilderInput/useQueryBuilder';
6
+ export declare const createFilterStore: () => {
7
+ filterModel: Ref<FilterModel | null, FilterModel | null>;
8
+ filterLastUpdatedMap: Ref<Record<string, number>, Record<string, number>>;
9
+ filterLastFetchTimeMap: Ref<Record<string, number>, Record<string, number>>;
10
+ filterModelCleared: Ref<number, number>;
11
+ filterValuesLoadingStatus: Ref<Record<string, boolean>, Record<string, boolean>>;
12
+ filterValueMap: Ref<Record<string, (FilterValueResponseOption | null)[]>, Record<string, (FilterValueResponseOption | null)[]>>;
13
+ filterValueSelectedMetadataMap: Ref<Record<string, (FilterValueResponseOption | null)[]>, Record<string, (FilterValueResponseOption | null)[]>>;
14
+ filterStoreHandler: Ref<((params: FilterValuesSetHandlerParams<unknown>) => Promise<(FilterValueResponseOption | null)[]>) | undefined, ((params: FilterValuesSetHandlerParams<unknown>) => Promise<(FilterValueResponseOption | null)[]>) | undefined>;
15
+ fetchFilterValues: (api: GridApi, colDef: ColDef, column: Column, filterModel?: FilterModel) => Promise<(string | null)[]>;
16
+ filterValueContext: (colField: string, value: string | null) => FilterValueResponseOption | null | undefined;
17
+ getFilterSelectedValues: (colField: string) => (string | null)[];
18
+ getSearchMatchDataFromFilterContext: (colDef: ColDef, option: FilterValueResponseOption | null | undefined) => FilterValueMatchResult;
19
+ isServerSideFilter: ComputedRef<boolean>;
20
+ stagedFilterModel: Ref<FilterModel | null, FilterModel | null>;
21
+ setFilterSelectedValues: (colField: string, selectedValues: (string | null)[]) => (string | null)[];
22
+ setFilterValueSearchText: (colField: string, searchText: string | null) => void;
23
+ tableSearchFilterModel: Ref<FilterModel | null, FilterModel | null>;
24
+ tableSearchHandler: Ref<((params: TableSearchHandlerParams<unknown>) => Promise<(QueryTerm | null)[]>) | undefined, ((params: TableSearchHandlerParams<unknown>) => Promise<(QueryTerm | null)[]>) | undefined>;
25
+ };
26
+ export declare const useFilterStore: () => {
27
+ filterModel: Ref<FilterModel | null, FilterModel | null>;
28
+ filterLastUpdatedMap: Ref<Record<string, number>, Record<string, number>>;
29
+ filterLastFetchTimeMap: Ref<Record<string, number>, Record<string, number>>;
30
+ filterModelCleared: Ref<number, number>;
31
+ filterValuesLoadingStatus: Ref<Record<string, boolean>, Record<string, boolean>>;
32
+ filterValueMap: Ref<Record<string, (FilterValueResponseOption | null)[]>, Record<string, (FilterValueResponseOption | null)[]>>;
33
+ filterValueSelectedMetadataMap: Ref<Record<string, (FilterValueResponseOption | null)[]>, Record<string, (FilterValueResponseOption | null)[]>>;
34
+ filterStoreHandler: Ref<((params: FilterValuesSetHandlerParams<unknown>) => Promise<(FilterValueResponseOption | null)[]>) | undefined, ((params: FilterValuesSetHandlerParams<unknown>) => Promise<(FilterValueResponseOption | null)[]>) | undefined>;
35
+ fetchFilterValues: (api: GridApi, colDef: ColDef, column: Column, filterModel?: FilterModel) => Promise<(string | null)[]>;
36
+ filterValueContext: (colField: string, value: string | null) => FilterValueResponseOption | null | undefined;
37
+ getFilterSelectedValues: (colField: string) => (string | null)[];
38
+ getSearchMatchDataFromFilterContext: (colDef: ColDef, option: FilterValueResponseOption | null | undefined) => FilterValueMatchResult;
39
+ isServerSideFilter: ComputedRef<boolean>;
40
+ stagedFilterModel: Ref<FilterModel | null, FilterModel | null>;
41
+ setFilterSelectedValues: (colField: string, selectedValues: (string | null)[]) => (string | null)[];
42
+ setFilterValueSearchText: (colField: string, searchText: string | null) => void;
43
+ tableSearchFilterModel: Ref<FilterModel | null, FilterModel | null>;
44
+ tableSearchHandler: Ref<((params: TableSearchHandlerParams<unknown>) => Promise<(QueryTerm | null)[]>) | undefined, ((params: TableSearchHandlerParams<unknown>) => Promise<(QueryTerm | null)[]>) | undefined>;
45
+ };