@turquoisehealth/pit-viper 2.130.2-dev.0 → 2.131.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 (247) 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-date-picker-stats.html +1 -1
  5. package/pv-components/dist/stats/web/pv-distribution-bar-stats.html +1 -1
  6. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  7. package/pv-components/dist/stats/web/pv-popover-v2-stats.html +1 -1
  8. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  9. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
  11. package/pv-components/dist/vue/base/components/base/PvDatePicker/PvDatePicker.vue.d.ts +4 -0
  12. package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuItem.vue.d.ts +2 -2
  13. package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuItemVariant.vue.d.ts +2 -2
  14. package/pv-components/dist/vue/base/components/base/PvPopoverV2/types.d.ts +1 -0
  15. package/pv-components/dist/vue/base/pv-components-base.mjs +174 -168
  16. package/pv-components/dist/vue/base/types.d.ts +2 -2
  17. package/pv-components/dist/vue/visualizations/components/visualizations/index.d.ts +1 -1
  18. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +2882 -2871
  19. package/pv-components/dist/vue/visualizations/types.d.ts +2 -2
  20. package/pv-components/dist/web/components/pv-date-picker/pv-date-picker.js +2 -1
  21. package/pv-components/dist/web/components/pv-distribution-bar/pv-distribution-bar.js +44 -44
  22. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +500 -496
  23. package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +189 -185
  24. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +333 -329
  25. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +230 -225
  26. package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +510 -505
  27. package/pv-components/dist/web/pv-components.iife.js +8 -8
  28. package/pv-components/dist/vue/visualizations/components/base/PvAccordion/PvAccordion.spec.d.ts +0 -1
  29. package/pv-components/dist/vue/visualizations/components/base/PvAccordion/PvAccordion.vue.d.ts +0 -49
  30. package/pv-components/dist/vue/visualizations/components/base/PvAccordion/types.d.ts +0 -5
  31. package/pv-components/dist/vue/visualizations/components/base/PvActionBar/PvActionBar.spec.d.ts +0 -1
  32. package/pv-components/dist/vue/visualizations/components/base/PvActionBar/PvActionBar.vue.d.ts +0 -34
  33. package/pv-components/dist/vue/visualizations/components/base/PvActionBar/types.d.ts +0 -2
  34. package/pv-components/dist/vue/visualizations/components/base/PvAiButton/PvAiButton.spec.d.ts +0 -1
  35. package/pv-components/dist/vue/visualizations/components/base/PvAiButton/PvAiButton.vue.d.ts +0 -13
  36. package/pv-components/dist/vue/visualizations/components/base/PvAiButton/types.d.ts +0 -2
  37. package/pv-components/dist/vue/visualizations/components/base/PvAvatar/PvAvatar.spec.d.ts +0 -1
  38. package/pv-components/dist/vue/visualizations/components/base/PvAvatar/PvAvatar.vue.d.ts +0 -13
  39. package/pv-components/dist/vue/visualizations/components/base/PvAvatar/types.d.ts +0 -3
  40. package/pv-components/dist/vue/visualizations/components/base/PvAvatarGroup/PvAvatarGroup.spec.d.ts +0 -1
  41. package/pv-components/dist/vue/visualizations/components/base/PvAvatarGroup/PvAvatarGroup.vue.d.ts +0 -8
  42. package/pv-components/dist/vue/visualizations/components/base/PvAvatarGroup/types.d.ts +0 -5
  43. package/pv-components/dist/vue/visualizations/components/base/PvBanner/PvBanner.spec.d.ts +0 -1
  44. package/pv-components/dist/vue/visualizations/components/base/PvBanner/PvBanner.vue.d.ts +0 -30
  45. package/pv-components/dist/vue/visualizations/components/base/PvBanner/types.d.ts +0 -11
  46. package/pv-components/dist/vue/visualizations/components/base/PvBreadcrumbs/PvBreadcrumbs.spec.d.ts +0 -1
  47. package/pv-components/dist/vue/visualizations/components/base/PvBreadcrumbs/PvBreadcrumbs.vue.d.ts +0 -7
  48. package/pv-components/dist/vue/visualizations/components/base/PvBreadcrumbs/types.d.ts +0 -4
  49. package/pv-components/dist/vue/visualizations/components/base/PvButton/PvButton.spec.d.ts +0 -1
  50. package/pv-components/dist/vue/visualizations/components/base/PvButton/PvButton.vue.d.ts +0 -10
  51. package/pv-components/dist/vue/visualizations/components/base/PvButton/PvButtonWithTooltip.vue.d.ts +0 -8
  52. package/pv-components/dist/vue/visualizations/components/base/PvButton/helpers.d.ts +0 -3
  53. package/pv-components/dist/vue/visualizations/components/base/PvButton/types.d.ts +0 -28
  54. package/pv-components/dist/vue/visualizations/components/base/PvCard/PvCard.spec.d.ts +0 -1
  55. package/pv-components/dist/vue/visualizations/components/base/PvCard/PvCard.vue.d.ts +0 -27
  56. package/pv-components/dist/vue/visualizations/components/base/PvCard/types.d.ts +0 -2
  57. package/pv-components/dist/vue/visualizations/components/base/PvCheckbox/PvCheckbox.vue.d.ts +0 -17
  58. package/pv-components/dist/vue/visualizations/components/base/PvCompanyLabel/PvCompanyLabel.vue.d.ts +0 -11
  59. package/pv-components/dist/vue/visualizations/components/base/PvCompanyLabel/types.d.ts +0 -2
  60. package/pv-components/dist/vue/visualizations/components/base/PvCompanyLogo/PvCompanyLogo.spec.d.ts +0 -1
  61. package/pv-components/dist/vue/visualizations/components/base/PvCompanyLogo/PvCompanyLogo.vue.d.ts +0 -15
  62. package/pv-components/dist/vue/visualizations/components/base/PvCompanyLogo/types.d.ts +0 -2
  63. package/pv-components/dist/vue/visualizations/components/base/PvCompanyTag/PvCompanyTag.spec.d.ts +0 -1
  64. package/pv-components/dist/vue/visualizations/components/base/PvCompanyTag/PvCompanyTag.vue.d.ts +0 -27
  65. package/pv-components/dist/vue/visualizations/components/base/PvComponentsConfig/primeVue.config.d.ts +0 -14
  66. package/pv-components/dist/vue/visualizations/components/base/PvComponentsConfig/usePvComponents.d.ts +0 -2
  67. package/pv-components/dist/vue/visualizations/components/base/PvCounterBadge/PvCounterBadge.spec.d.ts +0 -1
  68. package/pv-components/dist/vue/visualizations/components/base/PvCounterBadge/PvCounterBadge.vue.d.ts +0 -16
  69. package/pv-components/dist/vue/visualizations/components/base/PvCounterBadge/types.d.ts +0 -3
  70. package/pv-components/dist/vue/visualizations/components/base/PvDatePicker/PvDatePicker.vue.d.ts +0 -115
  71. package/pv-components/dist/vue/visualizations/components/base/PvDateTime/PvDateTime.spec.d.ts +0 -1
  72. package/pv-components/dist/vue/visualizations/components/base/PvDateTime/PvDateTime.vue.d.ts +0 -14
  73. package/pv-components/dist/vue/visualizations/components/base/PvDateTime/useDateTime.d.ts +0 -9
  74. package/pv-components/dist/vue/visualizations/components/base/PvDateTime/useDateTime.spec.d.ts +0 -1
  75. package/pv-components/dist/vue/visualizations/components/base/PvDistributionBar/PvDistributionBar.vue.d.ts +0 -6
  76. package/pv-components/dist/vue/visualizations/components/base/PvDrawer/PvDrawer.spec.d.ts +0 -1
  77. package/pv-components/dist/vue/visualizations/components/base/PvDrawer/PvDrawer.vue.d.ts +0 -48
  78. package/pv-components/dist/vue/visualizations/components/base/PvDropdown/PvDropdown.vue.d.ts +0 -117
  79. package/pv-components/dist/vue/visualizations/components/base/PvExpandableContent/PvExpandableContent.spec.d.ts +0 -1
  80. package/pv-components/dist/vue/visualizations/components/base/PvExpandableContent/PvExpandableContent.vue.d.ts +0 -30
  81. package/pv-components/dist/vue/visualizations/components/base/PvExpandableContent/types.d.ts +0 -3
  82. package/pv-components/dist/vue/visualizations/components/base/PvGhostInput/PvGhostInput.spec.d.ts +0 -1
  83. package/pv-components/dist/vue/visualizations/components/base/PvGhostInput/PvGhostInput.vue.d.ts +0 -39
  84. package/pv-components/dist/vue/visualizations/components/base/PvGhostInput/types.d.ts +0 -2
  85. package/pv-components/dist/vue/visualizations/components/base/PvIcon/PvIcon.vue.d.ts +0 -10
  86. package/pv-components/dist/vue/visualizations/components/base/PvInput/PvInput.spec.d.ts +0 -1
  87. package/pv-components/dist/vue/visualizations/components/base/PvInput/PvInput.vue.d.ts +0 -40
  88. package/pv-components/dist/vue/visualizations/components/base/PvInput/types.d.ts +0 -3
  89. package/pv-components/dist/vue/visualizations/components/base/PvInsightCard/PvInsightCard.spec.d.ts +0 -1
  90. package/pv-components/dist/vue/visualizations/components/base/PvInsightCard/PvInsightCard.vue.d.ts +0 -22
  91. package/pv-components/dist/vue/visualizations/components/base/PvMenu/PvMenu.spec.d.ts +0 -1
  92. package/pv-components/dist/vue/visualizations/components/base/PvMenu/PvMenu.vue.d.ts +0 -183
  93. package/pv-components/dist/vue/visualizations/components/base/PvMenu/PvMenuControlPanel.spec.d.ts +0 -1
  94. package/pv-components/dist/vue/visualizations/components/base/PvMenu/PvMenuControlPanel.vue.d.ts +0 -18
  95. package/pv-components/dist/vue/visualizations/components/base/PvMenu/PvMenuEmptyState.vue.d.ts +0 -3
  96. package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuBaseItem.spec.d.ts +0 -1
  97. package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuBaseItem.vue.d.ts +0 -11
  98. package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuItem.spec.d.ts +0 -1
  99. package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuItem.vue.d.ts +0 -16
  100. package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuItemAction.spec.d.ts +0 -1
  101. package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuItemAction.vue.d.ts +0 -8
  102. package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuItemVariant.vue.d.ts +0 -14
  103. package/pv-components/dist/vue/visualizations/components/base/PvMenu/useMenuPosition.d.ts +0 -66
  104. package/pv-components/dist/vue/visualizations/components/base/PvMenu/useMenuPosition.spec.d.ts +0 -1
  105. package/pv-components/dist/vue/visualizations/components/base/PvModal/PvModal.spec.d.ts +0 -1
  106. package/pv-components/dist/vue/visualizations/components/base/PvModal/PvModal.vue.d.ts +0 -30
  107. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.spec.d.ts +0 -1
  108. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +0 -126
  109. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/mocks.d.ts +0 -15
  110. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/types.d.ts +0 -48
  111. package/pv-components/dist/vue/visualizations/components/base/PvPagination/PvPagination.spec.d.ts +0 -1
  112. package/pv-components/dist/vue/visualizations/components/base/PvPagination/PvPagination.vue.d.ts +0 -21
  113. package/pv-components/dist/vue/visualizations/components/base/PvPagination/types.d.ts +0 -3
  114. package/pv-components/dist/vue/visualizations/components/base/PvPagination/usePagination.d.ts +0 -12
  115. package/pv-components/dist/vue/visualizations/components/base/PvPagination/usePagination.spec.d.ts +0 -1
  116. package/pv-components/dist/vue/visualizations/components/base/PvPill/PvPill.spec.d.ts +0 -1
  117. package/pv-components/dist/vue/visualizations/components/base/PvPill/PvPill.vue.d.ts +0 -31
  118. package/pv-components/dist/vue/visualizations/components/base/PvPill/types.d.ts +0 -4
  119. package/pv-components/dist/vue/visualizations/components/base/PvPopover/PvPopover.vue.d.ts +0 -31
  120. package/pv-components/dist/vue/visualizations/components/base/PvPopoverMenu/PvPopoverMenu.spec.d.ts +0 -1
  121. package/pv-components/dist/vue/visualizations/components/base/PvPopoverMenu/PvPopoverMenu.vue.d.ts +0 -26
  122. package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +0 -47
  123. package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/types.d.ts +0 -20
  124. package/pv-components/dist/vue/visualizations/components/base/PvProgressBar/PvProgressBar.vue.d.ts +0 -8
  125. package/pv-components/dist/vue/visualizations/components/base/PvQueryBuilderInput/PvQueryBuilderInput.vue.d.ts +0 -44
  126. package/pv-components/dist/vue/visualizations/components/base/PvQueryBuilderInput/QueryBuilderMenuOptionRenderer.vue.d.ts +0 -8
  127. package/pv-components/dist/vue/visualizations/components/base/PvQueryBuilderInput/QueryFormatter.vue.d.ts +0 -20
  128. package/pv-components/dist/vue/visualizations/components/base/PvQueryBuilderInput/useQueryBuilder.d.ts +0 -44
  129. package/pv-components/dist/vue/visualizations/components/base/PvQueryBuilderInput/useQueryBuilder.spec.d.ts +0 -1
  130. package/pv-components/dist/vue/visualizations/components/base/PvRating/PvRating.spec.d.ts +0 -1
  131. package/pv-components/dist/vue/visualizations/components/base/PvRating/PvRating.vue.d.ts +0 -12
  132. package/pv-components/dist/vue/visualizations/components/base/PvRating/types.d.ts +0 -4
  133. package/pv-components/dist/vue/visualizations/components/base/PvReleaseBadge/PvReleaseBadge.spec.d.ts +0 -1
  134. package/pv-components/dist/vue/visualizations/components/base/PvReleaseBadge/PvReleaseBadge.vue.d.ts +0 -8
  135. package/pv-components/dist/vue/visualizations/components/base/PvReleaseBadge/types.d.ts +0 -1
  136. package/pv-components/dist/vue/visualizations/components/base/PvSearchInput/PvSearchInput.spec.d.ts +0 -1
  137. package/pv-components/dist/vue/visualizations/components/base/PvSearchInput/PvSearchInput.vue.d.ts +0 -26
  138. package/pv-components/dist/vue/visualizations/components/base/PvSegmentedControl/PvSegmentedControl.spec.d.ts +0 -1
  139. package/pv-components/dist/vue/visualizations/components/base/PvSegmentedControl/PvSegmentedControl.vue.d.ts +0 -19
  140. package/pv-components/dist/vue/visualizations/components/base/PvSegmentedControl/types.d.ts +0 -8
  141. package/pv-components/dist/vue/visualizations/components/base/PvSelectButton/PvSelectButton.spec.d.ts +0 -1
  142. package/pv-components/dist/vue/visualizations/components/base/PvSelectButton/PvSelectButton.vue.d.ts +0 -53
  143. package/pv-components/dist/vue/visualizations/components/base/PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.spec.d.ts +0 -1
  144. package/pv-components/dist/vue/visualizations/components/base/PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.vue.d.ts +0 -30
  145. package/pv-components/dist/vue/visualizations/components/base/PvSelectButton/mocks.d.ts +0 -21
  146. package/pv-components/dist/vue/visualizations/components/base/PvSelectButton/types.d.ts +0 -3
  147. package/pv-components/dist/vue/visualizations/components/base/PvSelectableCard/PvSelectableCard.spec.d.ts +0 -1
  148. package/pv-components/dist/vue/visualizations/components/base/PvSelectableCard/PvSelectableCard.vue.d.ts +0 -25
  149. package/pv-components/dist/vue/visualizations/components/base/PvSkeleton/PvSkeleton.spec.d.ts +0 -1
  150. package/pv-components/dist/vue/visualizations/components/base/PvSkeleton/PvSkeleton.vue.d.ts +0 -11
  151. package/pv-components/dist/vue/visualizations/components/base/PvSkeleton/types.d.ts +0 -3
  152. package/pv-components/dist/vue/visualizations/components/base/PvSortableList/PvSortableList.vue.d.ts +0 -25
  153. package/pv-components/dist/vue/visualizations/components/base/PvSpinner/PvSpinner.spec.d.ts +0 -1
  154. package/pv-components/dist/vue/visualizations/components/base/PvSpinner/PvSpinner.vue.d.ts +0 -11
  155. package/pv-components/dist/vue/visualizations/components/base/PvSpinner/types.d.ts +0 -3
  156. package/pv-components/dist/vue/visualizations/components/base/PvSprite/PvSprite.vue.d.ts +0 -9
  157. package/pv-components/dist/vue/visualizations/components/base/PvSuggestionTag/PvSuggestionTag.spec.d.ts +0 -1
  158. package/pv-components/dist/vue/visualizations/components/base/PvSuggestionTag/PvSuggestionTag.vue.d.ts +0 -31
  159. package/pv-components/dist/vue/visualizations/components/base/PvSwitch/PvSwitch.spec.d.ts +0 -1
  160. package/pv-components/dist/vue/visualizations/components/base/PvSwitch/PvSwitch.vue.d.ts +0 -22
  161. package/pv-components/dist/vue/visualizations/components/base/PvSwitch/types.d.ts +0 -2
  162. package/pv-components/dist/vue/visualizations/components/base/PvTabList/PvTabList.vue.d.ts +0 -12
  163. package/pv-components/dist/vue/visualizations/components/base/PvTabs/PvTabs.spec.d.ts +0 -1
  164. package/pv-components/dist/vue/visualizations/components/base/PvTabs/PvTabs.vue.d.ts +0 -18
  165. package/pv-components/dist/vue/visualizations/components/base/PvTabs/types.d.ts +0 -7
  166. package/pv-components/dist/vue/visualizations/components/base/PvTag/PvTag.spec.d.ts +0 -1
  167. package/pv-components/dist/vue/visualizations/components/base/PvTag/PvTag.vue.d.ts +0 -41
  168. package/pv-components/dist/vue/visualizations/components/base/PvTag/types.d.ts +0 -3
  169. package/pv-components/dist/vue/visualizations/components/base/PvTextArea/PvTextArea.spec.d.ts +0 -1
  170. package/pv-components/dist/vue/visualizations/components/base/PvTextArea/PvTextArea.vue.d.ts +0 -40
  171. package/pv-components/dist/vue/visualizations/components/base/PvTextArea/types.d.ts +0 -2
  172. package/pv-components/dist/vue/visualizations/components/base/PvToast/PvToast.spec.d.ts +0 -1
  173. package/pv-components/dist/vue/visualizations/components/base/PvToast/PvToast.vue.d.ts +0 -30
  174. package/pv-components/dist/vue/visualizations/components/base/PvToast/types.d.ts +0 -1
  175. package/pv-components/dist/vue/visualizations/components/base/PvToggleButton/PvToggleButton.spec.d.ts +0 -1
  176. package/pv-components/dist/vue/visualizations/components/base/PvToggleButton/PvToggleButton.vue.d.ts +0 -29
  177. package/pv-components/dist/vue/visualizations/components/base/PvToggleButton/types.d.ts +0 -3
  178. package/pv-components/dist/vue/visualizations/components/base/PvToggleGroup/PvToggleGroup.vue.d.ts +0 -12
  179. package/pv-components/dist/vue/visualizations/components/base/PvToggleGroup/types.d.ts +0 -12
  180. package/pv-components/dist/vue/visualizations/components/base/PvTooltip/PvTooltip.spec.d.ts +0 -1
  181. package/pv-components/dist/vue/visualizations/components/base/PvTooltip/PvTooltip.vue.d.ts +0 -36
  182. package/pv-components/dist/vue/visualizations/components/base/PvTooltip/types.d.ts +0 -4
  183. package/pv-components/dist/vue/visualizations/components/base/PvTooltipV2/PvTooltipV2.vue.d.ts +0 -28
  184. package/pv-components/dist/vue/visualizations/components/base/PvTooltipV2/types.d.ts +0 -10
  185. package/pv-components/dist/vue/visualizations/components/base/PvTree/PvButtonTreeItem.vue.d.ts +0 -33
  186. package/pv-components/dist/vue/visualizations/components/base/PvTree/PvCheckboxTreeItem.vue.d.ts +0 -33
  187. package/pv-components/dist/vue/visualizations/components/base/PvTree/PvSimpleItemTree.vue.d.ts +0 -7
  188. package/pv-components/dist/vue/visualizations/components/base/PvTree/PvSimpleNestedTree.vue.d.ts +0 -21
  189. package/pv-components/dist/vue/visualizations/components/base/PvTree/PvTree.vue.d.ts +0 -22
  190. package/pv-components/dist/vue/visualizations/components/base/PvTree/PvTreeItem.vue.d.ts +0 -23
  191. package/pv-components/dist/vue/visualizations/components/base/PvTree/PvTreeReorderIcon.vue.d.ts +0 -3
  192. package/pv-components/dist/vue/visualizations/components/base/PvTree/types.d.ts +0 -31
  193. package/pv-components/dist/vue/visualizations/components/base/PvTree/useDragAndDrop.d.ts +0 -16
  194. package/pv-components/dist/vue/visualizations/components/base/PvTree/useHoverIcon.d.ts +0 -6
  195. package/pv-components/dist/vue/visualizations/components/base/PvWidget/PvWidget.spec.d.ts +0 -1
  196. package/pv-components/dist/vue/visualizations/components/base/PvWidget/PvWidget.vue.d.ts +0 -18
  197. package/pv-components/dist/vue/visualizations/components/base/baseProps.d.ts +0 -16
  198. package/pv-components/dist/vue/visualizations/components/base/index.d.ts +0 -64
  199. package/pv-components/dist/vue/visualizations/components/charts/PvChart/PvChart.vue.d.ts +0 -48
  200. package/pv-components/dist/vue/visualizations/components/charts/PvChart/constants.d.ts +0 -2
  201. package/pv-components/dist/vue/visualizations/components/charts/PvChart/functions.d.ts +0 -42
  202. package/pv-components/dist/vue/visualizations/components/charts/PvChart/types.d.ts +0 -25
  203. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/PvDataTableWithChart.spec.d.ts +0 -1
  204. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/PvDataTableWithChart.vue.d.ts +0 -39
  205. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/constants.d.ts +0 -5
  206. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/helpers.d.ts +0 -14
  207. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/helpers.spec.d.ts +0 -1
  208. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/table-chart-components/PvChartOptionsPanel.vue.d.ts +0 -22
  209. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +0 -75
  210. package/pv-components/dist/vue/visualizations/components/charts/PvMapChart/PvMapChart.vue.d.ts +0 -45
  211. package/pv-components/dist/vue/visualizations/components/charts/chart-components/maps/MapGradient.vue.d.ts +0 -11
  212. package/pv-components/dist/vue/visualizations/components/charts/chart-components/maps/MapRegionSelector.vue.d.ts +0 -16
  213. package/pv-components/dist/vue/visualizations/components/charts/chart-components/maps/topologies/alaskaStateTopology.d.ts +0 -20
  214. package/pv-components/dist/vue/visualizations/components/charts/chart-components/maps/topologies/hawaiiStateTopology.d.ts +0 -20
  215. package/pv-components/dist/vue/visualizations/components/charts/chart-components/maps/topologies/usStateTopology.d.ts +0 -28
  216. package/pv-components/dist/vue/visualizations/components/charts/chart-components/maps/useTopology.d.ts +0 -8
  217. package/pv-components/dist/vue/visualizations/components/charts/themes.d.ts +0 -6
  218. package/pv-components/dist/vue/visualizations/components/layout/PvSidePanel/PvSidePanel.spec.d.ts +0 -1
  219. package/pv-components/dist/vue/visualizations/components/layout/PvSidePanel/PvSidePanel.vue.d.ts +0 -24
  220. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/PvDataTable.spec.d.ts +0 -1
  221. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/PvDataTable.vue.d.ts +0 -38
  222. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/helpers.d.ts +0 -24
  223. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/helpers.spec.d.ts +0 -1
  224. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/ExportMenu.vue.d.ts +0 -16
  225. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/FilterPanel.spec.d.ts +0 -1
  226. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/FilterPanel.vue.d.ts +0 -23
  227. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/GroupAggCellRenderer.vue.d.ts +0 -17
  228. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/GroupBySelector.vue.d.ts +0 -17
  229. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/GroupedCellRenderer.vue.d.ts +0 -16
  230. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/HeaderCellRenderer.vue.d.ts +0 -12
  231. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/PaginationPanel.vue.d.ts +0 -16
  232. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/RowCountCellRenderer.vue.d.ts +0 -17
  233. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/RowLoadingCellRenderer.vue.d.ts +0 -3
  234. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/SetFilter.spec.d.ts +0 -1
  235. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/SetFilter.vue.d.ts +0 -35
  236. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/TableSearch.vue.d.ts +0 -8
  237. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/TableTooltip.vue.d.ts +0 -7
  238. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/TagCellRenderer.vue.d.ts +0 -7
  239. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/formatting.d.ts +0 -29
  240. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/formatting.spec.d.ts +0 -1
  241. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +0 -352
  242. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useFilterStore.d.ts +0 -45
  243. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useFilterStore.spec.d.ts +0 -1
  244. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useFocus.d.ts +0 -27
  245. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useFocus.spec.d.ts +0 -1
  246. package/pv-components/dist/vue/visualizations/components/tables/symbols.d.ts +0 -54
  247. package/pv-components/dist/vue/visualizations/components/tables/themes.d.ts +0 -3
@@ -1,352 +0,0 @@
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
- }
@@ -1,45 +0,0 @@
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
- };
@@ -1,27 +0,0 @@
1
- import { ComputedRef } from 'vue';
2
- export interface FocusData {
3
- focuses?: string[] | undefined;
4
- focusType?: string | null | undefined;
5
- }
6
- export declare const createFocusStore: (initialFocusData?: FocusData | null) => {
7
- computedFocuses: ComputedRef<string[]>;
8
- computedFocusType: ComputedRef<string | null>;
9
- clearAllFocuses: () => void;
10
- handleFocusUpdate: (option: string | null) => void;
11
- isFocused: (option: string | null, filterField: string | null) => boolean;
12
- removeFocus: (option: string | null) => void;
13
- isFocusable: (filterFields: string[]) => boolean;
14
- setFocusType: (newFocusType: string | null | undefined) => void;
15
- setFocuses: (newFocuses: string[]) => void;
16
- };
17
- export declare const useFocusStore: () => {
18
- computedFocuses: ComputedRef<string[]>;
19
- computedFocusType: ComputedRef<string | null>;
20
- clearAllFocuses: () => void;
21
- handleFocusUpdate: (option: string | null) => void;
22
- isFocused: (option: string | null, filterField: string | null) => boolean;
23
- removeFocus: (option: string | null) => void;
24
- isFocusable: (filterFields: string[]) => boolean;
25
- setFocusType: (newFocusType: string | null | undefined) => void;
26
- setFocuses: (newFocuses: string[]) => void;
27
- };
@@ -1,54 +0,0 @@
1
- import { InjectionKey, Ref, ShallowRef } from 'vue';
2
- import { Column, GridApi, SortModelItem, ColDef } from 'ag-grid-community';
3
- import { MenuOption } from '../../types';
4
- import { createFilterStore } from './PvDataTable/useFilterStore';
5
- import { OptionWithFormatterAndDataType } from '../charts/PvDataTableWithChart/types';
6
- import { createFocusStore } from './PvDataTable/useFocus';
7
- export declare const FilterStoreKey: InjectionKey<ReturnType<typeof createFilterStore>>;
8
- export declare const FocusStoreKey: InjectionKey<ReturnType<typeof createFocusStore>>;
9
- export type SortState = Ref<SortModelItem[]>;
10
- export declare const SortStateKey: InjectionKey<SortState>;
11
- export type GridApiState = ShallowRef<GridApi | null>;
12
- export declare const GridApiKey: InjectionKey<GridApiState>;
13
- export type ColumnDisplayOrderState = Ref<Column[] | null>;
14
- export declare const ColumnDisplayOrderKey: InjectionKey<ColumnDisplayOrderState>;
15
- export type CurrentlyActiveFilterState = Ref<ColDef | null>;
16
- export declare const CurrentlyActiveFilterKey: InjectionKey<CurrentlyActiveFilterState>;
17
- export type AvailableFilterColumnsState = Ref<ColDef[]>;
18
- export declare const AvailableFilterColumnsKey: InjectionKey<AvailableFilterColumnsState>;
19
- export type AvailableRowGroupColumnsState = Ref<ColDef[]>;
20
- export declare const AvailableRowGroupColumnsKey: InjectionKey<AvailableRowGroupColumnsState>;
21
- export type RowGroupColumnFieldsState = Ref<string[]>;
22
- export declare const RowGroupColumnFieldsKey: InjectionKey<RowGroupColumnFieldsState>;
23
- export type GroupColumnCellValueColumnState = Ref<Column | null>;
24
- export declare const GroupColumnCellValueColumnKey: InjectionKey<GroupColumnCellValueColumnState>;
25
- export type ExpandedRowsState = Ref<Record<number, boolean>>;
26
- export declare const ExpandedRowsKey: InjectionKey<ExpandedRowsState>;
27
- export type FirstDataRenderedState = Ref<boolean>;
28
- export declare const FirstDataRenderedKey: InjectionKey<FirstDataRenderedState>;
29
- export type RowsLoadingState = Ref<boolean>;
30
- export declare const RowsLoadingKey: InjectionKey<RowsLoadingState>;
31
- export type CurrentPageState = Ref<number>;
32
- export declare const CurrentPageKey: InjectionKey<CurrentPageState>;
33
- export type TotalPageState = Ref<number>;
34
- export declare const TotalPageKey: InjectionKey<TotalPageState>;
35
- export type ActiveChartFilterOptionState = Ref<string>;
36
- export declare const ActiveChartFilterOptionKey: InjectionKey<ActiveChartFilterOptionState>;
37
- export type RowGroupColumnsState = Ref<string[]>;
38
- export declare const RowGroupColumnsKey: InjectionKey<RowGroupColumnsState>;
39
- export type ChartTypesState = Ref<MenuOption[]>;
40
- export declare const ChartTypeKey: InjectionKey<ChartTypesState>;
41
- export type SortTypesState = Ref<MenuOption[]>;
42
- export declare const SortTypesKey: InjectionKey<SortTypesState>;
43
- export type ActiveChartState = Ref<MenuOption | undefined>;
44
- export declare const ActiveChartKey: InjectionKey<ActiveChartState>;
45
- export type ActiveSortState = Ref<MenuOption | undefined>;
46
- export declare const ActiveSortKey: InjectionKey<ActiveSortState>;
47
- export type ActiveSeriesKey = Ref<string | undefined>;
48
- export declare const ActiveSeriesKey: InjectionKey<ActiveSeriesKey>;
49
- export type AvailableSeriesKey = Ref<OptionWithFormatterAndDataType[]>;
50
- export declare const AvailableSeriesKey: InjectionKey<AvailableSeriesKey>;
51
- export type ActiveSecondarySeriesKey = Ref<string | undefined>;
52
- export declare const ActiveSecondarySeriesKey: InjectionKey<ActiveSecondarySeriesKey>;
53
- export type AvailableSecondarySeriesKey = Ref<OptionWithFormatterAndDataType[]>;
54
- export declare const AvailableSecondarySeriesKey: InjectionKey<AvailableSecondarySeriesKey>;
@@ -1,3 +0,0 @@
1
- import { Theme } from 'ag-grid-community';
2
- export declare const PitViperAGGridBaseTheme: Theme;
3
- export declare const PitViperAGGridGroupedTheme: Theme;