@turquoisehealth/pit-viper 2.79.1 → 2.79.2-dev.1

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 (232) hide show
  1. package/package.json +31 -12
  2. package/pv-components/dist/docs/router.d.ts +1 -0
  3. package/pv-components/dist/docs/scripts/autoDocGen.d.ts +1 -0
  4. package/pv-components/dist/docs/scripts/copyPvAssets.d.ts +1 -0
  5. package/pv-components/dist/docs/scripts/plugins.d.ts +7 -0
  6. package/pv-components/dist/docs/scripts/propGen.d.ts +5 -0
  7. package/pv-components/dist/docs/src/App.vue.d.ts +2 -0
  8. package/pv-components/dist/docs/types/vue-component-doc.d.ts +20 -0
  9. package/pv-components/dist/docs/vite.config.d.ts +2 -0
  10. package/pv-components/dist/src/components/base/PvAccordion/PvAccordion.spec.d.ts +1 -0
  11. package/pv-components/dist/src/components/base/PvAccordion/PvAccordion.vue.d.ts +22 -0
  12. package/pv-components/dist/src/components/base/PvAccordion/types.d.ts +5 -0
  13. package/pv-components/dist/src/components/base/PvActionBar/PvActionBar.spec.d.ts +1 -0
  14. package/pv-components/dist/src/components/base/PvActionBar/PvActionBar.vue.d.ts +18 -0
  15. package/pv-components/dist/src/components/base/PvActionBar/types.d.ts +2 -0
  16. package/pv-components/dist/src/components/base/PvAiButton/PvAiButton.spec.d.ts +1 -0
  17. package/pv-components/dist/src/components/base/PvAiButton/PvAiButton.vue.d.ts +12 -0
  18. package/pv-components/dist/src/components/base/PvAiButton/types.d.ts +2 -0
  19. package/pv-components/dist/src/components/base/PvAvatar/PvAvatar.spec.d.ts +1 -0
  20. package/pv-components/dist/src/components/base/PvAvatar/PvAvatar.vue.d.ts +10 -0
  21. package/pv-components/dist/src/components/base/PvAvatar/types.d.ts +2 -0
  22. package/pv-components/dist/src/components/base/PvAvatarGroup/PvAvatarGroup.spec.d.ts +1 -0
  23. package/pv-components/dist/src/components/base/PvAvatarGroup/PvAvatarGroup.vue.d.ts +7 -0
  24. package/pv-components/dist/src/components/base/PvAvatarGroup/types.d.ts +5 -0
  25. package/pv-components/dist/src/components/base/PvBanner/PvBanner.spec.d.ts +1 -0
  26. package/pv-components/dist/src/components/base/PvBanner/PvBanner.vue.d.ts +24 -0
  27. package/pv-components/dist/src/components/base/PvBanner/types.d.ts +11 -0
  28. package/pv-components/dist/src/components/base/PvBreadcrumbs/PvBreadcrumbs.spec.d.ts +1 -0
  29. package/pv-components/dist/src/components/base/PvBreadcrumbs/PvBreadcrumbs.vue.d.ts +6 -0
  30. package/pv-components/dist/src/components/base/PvBreadcrumbs/types.d.ts +4 -0
  31. package/pv-components/dist/src/components/base/PvButton/PvButton.spec.d.ts +1 -0
  32. package/pv-components/dist/src/components/base/PvButton/PvButton.vue.d.ts +19 -0
  33. package/pv-components/dist/src/components/base/PvButton/types.d.ts +3 -0
  34. package/pv-components/dist/src/components/base/PvCard/PvCard.spec.d.ts +1 -0
  35. package/pv-components/dist/src/components/base/PvCard/PvCard.vue.d.ts +21 -0
  36. package/pv-components/dist/src/components/base/PvCard/types.d.ts +2 -0
  37. package/pv-components/dist/src/components/base/PvCheckbox/PvCheckbox.vue.d.ts +14 -0
  38. package/pv-components/dist/src/components/base/PvCompanyLabel/PvCompanyLabel.vue.d.ts +10 -0
  39. package/pv-components/dist/src/components/base/PvCompanyLabel/types.d.ts +2 -0
  40. package/pv-components/dist/src/components/base/PvCompanyLogo/PvCompanyLogo.spec.d.ts +1 -0
  41. package/pv-components/dist/src/components/base/PvCompanyLogo/PvCompanyLogo.vue.d.ts +14 -0
  42. package/pv-components/dist/src/components/base/PvCompanyLogo/types.d.ts +2 -0
  43. package/pv-components/dist/src/components/base/PvCompanyTag/PvCompanyTag.spec.d.ts +1 -0
  44. package/pv-components/dist/src/components/base/PvCompanyTag/PvCompanyTag.vue.d.ts +26 -0
  45. package/pv-components/dist/src/components/base/PvComponentsConfig/primeVue.config.d.ts +12 -0
  46. package/pv-components/dist/src/components/base/PvComponentsConfig/usePvComponents.d.ts +2 -0
  47. package/pv-components/dist/src/components/base/PvCounterBadge/PvCounterBadge.spec.d.ts +1 -0
  48. package/pv-components/dist/src/components/base/PvCounterBadge/PvCounterBadge.vue.d.ts +15 -0
  49. package/pv-components/dist/src/components/base/PvCounterBadge/types.d.ts +3 -0
  50. package/pv-components/dist/src/components/base/PvDatePicker/PvDatePicker.vue.d.ts +114 -0
  51. package/pv-components/dist/src/components/base/PvDateTime/PvDateTime.spec.d.ts +1 -0
  52. package/pv-components/dist/src/components/base/PvDateTime/PvDateTime.vue.d.ts +13 -0
  53. package/pv-components/dist/src/components/base/PvDateTime/useDateTime.d.ts +9 -0
  54. package/pv-components/dist/src/components/base/PvDateTime/useDateTime.spec.d.ts +1 -0
  55. package/pv-components/dist/src/components/base/PvDrawer/PvDrawer.spec.d.ts +1 -0
  56. package/pv-components/dist/src/components/base/PvDrawer/PvDrawer.vue.d.ts +31 -0
  57. package/pv-components/dist/src/components/base/PvDropdown/PvDropdown.vue.d.ts +42 -0
  58. package/pv-components/dist/src/components/base/PvExpandableContent/PvExpandableContent.spec.d.ts +1 -0
  59. package/pv-components/dist/src/components/base/PvExpandableContent/PvExpandableContent.vue.d.ts +24 -0
  60. package/pv-components/dist/src/components/base/PvExpandableContent/types.d.ts +3 -0
  61. package/pv-components/dist/src/components/base/PvGhostInput/PvGhostInput.spec.d.ts +1 -0
  62. package/pv-components/dist/src/components/base/PvGhostInput/PvGhostInput.vue.d.ts +29 -0
  63. package/pv-components/dist/src/components/base/PvGhostInput/types.d.ts +2 -0
  64. package/pv-components/dist/src/components/base/PvIcon/PvIcon.vue.d.ts +9 -0
  65. package/pv-components/dist/src/components/base/PvInput/PvInput.spec.d.ts +1 -0
  66. package/pv-components/dist/src/components/base/PvInput/PvInput.vue.d.ts +34 -0
  67. package/pv-components/dist/src/components/base/PvInput/types.d.ts +3 -0
  68. package/pv-components/dist/src/components/base/PvInsightCard/PvInsightCard.spec.d.ts +1 -0
  69. package/pv-components/dist/src/components/base/PvInsightCard/PvInsightCard.vue.d.ts +21 -0
  70. package/pv-components/dist/src/components/base/PvMenu/PvMenu.spec.d.ts +1 -0
  71. package/pv-components/dist/src/components/base/PvMenu/PvMenu.vue.d.ts +30 -0
  72. package/pv-components/dist/src/components/base/PvMenu/PvMenuControlPanel.spec.d.ts +1 -0
  73. package/pv-components/dist/src/components/base/PvMenu/PvMenuControlPanel.vue.d.ts +11 -0
  74. package/pv-components/dist/src/components/base/PvMenu/PvMenuEmptyState.vue.d.ts +2 -0
  75. package/pv-components/dist/src/components/base/PvMenu/items/PvMenuCheckboxItem.spec.d.ts +1 -0
  76. package/pv-components/dist/src/components/base/PvMenu/items/PvMenuCheckboxItem.vue.d.ts +18 -0
  77. package/pv-components/dist/src/components/base/PvMenu/items/PvMenuItem.spec.d.ts +1 -0
  78. package/pv-components/dist/src/components/base/PvMenu/items/PvMenuItem.vue.d.ts +25 -0
  79. package/pv-components/dist/src/components/base/PvMenu/items/PvMenuRadioItem.spec.d.ts +1 -0
  80. package/pv-components/dist/src/components/base/PvMenu/items/PvMenuRadioItem.vue.d.ts +12 -0
  81. package/pv-components/dist/src/components/base/PvMenu/useMenuPosition.d.ts +66 -0
  82. package/pv-components/dist/src/components/base/PvMenu/useMenuPosition.spec.d.ts +1 -0
  83. package/pv-components/dist/src/components/base/PvModal/PvModal.spec.d.ts +1 -0
  84. package/pv-components/dist/src/components/base/PvModal/PvModal.vue.d.ts +26 -0
  85. package/pv-components/dist/src/components/base/PvMultiSelectButton/PvMultiSelectButton.spec.d.ts +1 -0
  86. package/pv-components/dist/src/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +155 -0
  87. package/pv-components/dist/src/components/base/PvMultiSelectButton/PvMultiSelectMenuItem.vue.d.ts +14 -0
  88. package/pv-components/dist/src/components/base/PvMultiSelectButton/mocks.d.ts +15 -0
  89. package/pv-components/dist/src/components/base/PvMultiSelectButton/types.d.ts +3 -0
  90. package/pv-components/dist/src/components/base/PvPagination/PvPagination.spec.d.ts +1 -0
  91. package/pv-components/dist/src/components/base/PvPagination/PvPagination.vue.d.ts +20 -0
  92. package/pv-components/dist/src/components/base/PvPagination/types.d.ts +3 -0
  93. package/pv-components/dist/src/components/base/PvPagination/usePagination.d.ts +12 -0
  94. package/pv-components/dist/src/components/base/PvPagination/usePagination.spec.d.ts +1 -0
  95. package/pv-components/dist/src/components/base/PvPill/PvPill.spec.d.ts +1 -0
  96. package/pv-components/dist/src/components/base/PvPill/PvPill.vue.d.ts +30 -0
  97. package/pv-components/dist/src/components/base/PvPill/types.d.ts +4 -0
  98. package/pv-components/dist/src/components/base/PvPopover/PvPopover.vue.d.ts +29 -0
  99. package/pv-components/dist/src/components/base/PvQueryBuilderInput/FormattedQueryText.vue.d.ts +5 -0
  100. package/pv-components/dist/src/components/base/PvQueryBuilderInput/PvQueryBuilderInput.vue.d.ts +29 -0
  101. package/pv-components/dist/src/components/base/PvQueryBuilderInput/QueryBuilderMenuOptionRenderer.vue.d.ts +3 -0
  102. package/pv-components/dist/src/components/base/PvQueryBuilderInput/QueryFormatter.vue.d.ts +13 -0
  103. package/pv-components/dist/src/components/base/PvQueryBuilderInput/useQueryBuilder.d.ts +44 -0
  104. package/pv-components/dist/src/components/base/PvQueryBuilderInput/useQueryBuilder.spec.d.ts +1 -0
  105. package/pv-components/dist/src/components/base/PvRating/PvRating.spec.d.ts +1 -0
  106. package/pv-components/dist/src/components/base/PvRating/PvRating.vue.d.ts +11 -0
  107. package/pv-components/dist/src/components/base/PvRating/types.d.ts +4 -0
  108. package/pv-components/dist/src/components/base/PvReleaseBadge/PvReleaseBadge.vue.d.ts +5 -0
  109. package/pv-components/dist/src/components/base/PvSearchInput/PvSearchInput.spec.d.ts +1 -0
  110. package/pv-components/dist/src/components/base/PvSearchInput/PvSearchInput.vue.d.ts +23 -0
  111. package/pv-components/dist/src/components/base/PvSegmentedControl/PvSegmentedControl.spec.d.ts +1 -0
  112. package/pv-components/dist/src/components/base/PvSegmentedControl/PvSegmentedControl.vue.d.ts +18 -0
  113. package/pv-components/dist/src/components/base/PvSegmentedControl/types.d.ts +8 -0
  114. package/pv-components/dist/src/components/base/PvSelectButton/PvSelectButton.spec.d.ts +1 -0
  115. package/pv-components/dist/src/components/base/PvSelectButton/PvSelectButton.vue.d.ts +49 -0
  116. package/pv-components/dist/src/components/base/PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.spec.d.ts +1 -0
  117. package/pv-components/dist/src/components/base/PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.vue.d.ts +30 -0
  118. package/pv-components/dist/src/components/base/PvSelectButton/mocks.d.ts +13 -0
  119. package/pv-components/dist/src/components/base/PvSelectButton/types.d.ts +3 -0
  120. package/pv-components/dist/src/components/base/PvSelectableCard/PvSelectableCard.spec.d.ts +1 -0
  121. package/pv-components/dist/src/components/base/PvSelectableCard/PvSelectableCard.vue.d.ts +19 -0
  122. package/pv-components/dist/src/components/base/PvSkeleton/PvSkeleton.spec.d.ts +1 -0
  123. package/pv-components/dist/src/components/base/PvSkeleton/PvSkeleton.vue.d.ts +10 -0
  124. package/pv-components/dist/src/components/base/PvSkeleton/types.d.ts +3 -0
  125. package/pv-components/dist/src/components/base/PvSortableList/PvSortableList.vue.d.ts +21 -0
  126. package/pv-components/dist/src/components/base/PvSpinner/PvSpinner.spec.d.ts +1 -0
  127. package/pv-components/dist/src/components/base/PvSpinner/PvSpinner.vue.d.ts +10 -0
  128. package/pv-components/dist/src/components/base/PvSpinner/types.d.ts +3 -0
  129. package/pv-components/dist/src/components/base/PvSprite/PvSprite.vue.d.ts +8 -0
  130. package/pv-components/dist/src/components/base/PvSuggestionTag/PvSuggestionTag.spec.d.ts +1 -0
  131. package/pv-components/dist/src/components/base/PvSuggestionTag/PvSuggestionTag.vue.d.ts +30 -0
  132. package/pv-components/dist/src/components/base/PvSwitch/PvSwitch.spec.d.ts +1 -0
  133. package/pv-components/dist/src/components/base/PvSwitch/PvSwitch.vue.d.ts +21 -0
  134. package/pv-components/dist/src/components/base/PvSwitch/types.d.ts +2 -0
  135. package/pv-components/dist/src/components/base/PvTabList/PvTabList.vue.d.ts +11 -0
  136. package/pv-components/dist/src/components/base/PvTabs/PvTabs.spec.d.ts +1 -0
  137. package/pv-components/dist/src/components/base/PvTabs/PvTabs.vue.d.ts +17 -0
  138. package/pv-components/dist/src/components/base/PvTabs/types.d.ts +7 -0
  139. package/pv-components/dist/src/components/base/PvTag/PvTag.spec.d.ts +1 -0
  140. package/pv-components/dist/src/components/base/PvTag/PvTag.vue.d.ts +40 -0
  141. package/pv-components/dist/src/components/base/PvTag/types.d.ts +3 -0
  142. package/pv-components/dist/src/components/base/PvTextArea/PvTextArea.spec.d.ts +1 -0
  143. package/pv-components/dist/src/components/base/PvTextArea/PvTextArea.vue.d.ts +34 -0
  144. package/pv-components/dist/src/components/base/PvTextArea/types.d.ts +2 -0
  145. package/pv-components/dist/src/components/base/PvToast/PvToast.spec.d.ts +1 -0
  146. package/pv-components/dist/src/components/base/PvToast/PvToast.vue.d.ts +24 -0
  147. package/pv-components/dist/src/components/base/PvToast/types.d.ts +1 -0
  148. package/pv-components/dist/src/components/base/PvToggleButton/PvToggleButton.spec.d.ts +1 -0
  149. package/pv-components/dist/src/components/base/PvToggleButton/PvToggleButton.vue.d.ts +28 -0
  150. package/pv-components/dist/src/components/base/PvToggleButton/types.d.ts +3 -0
  151. package/pv-components/dist/src/components/base/PvTooltip/PvTooltip.spec.d.ts +1 -0
  152. package/pv-components/dist/src/components/base/PvTooltip/PvTooltip.vue.d.ts +30 -0
  153. package/pv-components/dist/src/components/base/PvTooltip/types.d.ts +4 -0
  154. package/pv-components/dist/src/components/base/PvWidget/PvWidget.spec.d.ts +1 -0
  155. package/pv-components/dist/src/components/base/PvWidget/PvWidget.vue.d.ts +12 -0
  156. package/pv-components/dist/src/components/base/baseProps.d.ts +15 -0
  157. package/pv-components/dist/src/components/base/index.d.ts +54 -0
  158. package/pv-components/dist/src/components/charts/PvChart/PvChart.vue.d.ts +25 -0
  159. package/pv-components/dist/src/components/charts/PvDataTableWithChart/PvDataTableWithChart.spec.d.ts +1 -0
  160. package/pv-components/dist/src/components/charts/PvDataTableWithChart/PvDataTableWithChart.vue.d.ts +39 -0
  161. package/pv-components/dist/src/components/charts/PvDataTableWithChart/constants.d.ts +5 -0
  162. package/pv-components/dist/src/components/charts/PvDataTableWithChart/helpers.d.ts +13 -0
  163. package/pv-components/dist/src/components/charts/PvDataTableWithChart/helpers.spec.d.ts +1 -0
  164. package/pv-components/dist/src/components/charts/PvDataTableWithChart/table-chart-components/PvChartOptionsPanel.vue.d.ts +21 -0
  165. package/pv-components/dist/src/components/charts/PvDataTableWithChart/types.d.ts +75 -0
  166. package/pv-components/dist/src/components/charts/PvMapChart/PvMapChart.vue.d.ts +44 -0
  167. package/pv-components/dist/src/components/charts/chart-components/maps/MapGradient.vue.d.ts +10 -0
  168. package/pv-components/dist/src/components/charts/chart-components/maps/MapRegionSelector.vue.d.ts +15 -0
  169. package/pv-components/dist/src/components/charts/chart-components/maps/topologies/alaskaStateTopology.d.ts +20 -0
  170. package/pv-components/dist/src/components/charts/chart-components/maps/topologies/hawaiiStateTopology.d.ts +20 -0
  171. package/pv-components/dist/src/components/charts/chart-components/maps/topologies/usStateTopology.d.ts +28 -0
  172. package/pv-components/dist/src/components/charts/chart-components/maps/useTopology.d.ts +8 -0
  173. package/pv-components/dist/src/components/charts/themes.d.ts +5 -0
  174. package/pv-components/dist/src/components/helpers/charts/mockChartData.d.ts +7 -0
  175. package/pv-components/dist/src/components/helpers/components/ExampleTable.vue.d.ts +20 -0
  176. package/pv-components/dist/src/components/helpers/tables/mockData.d.ts +25 -0
  177. package/pv-components/dist/src/components/helpers/tables/mockPvDataTableServer.d.ts +49 -0
  178. package/pv-components/dist/src/components/layout/PvSidePanel/PvSidePanel.spec.d.ts +1 -0
  179. package/pv-components/dist/src/components/layout/PvSidePanel/PvSidePanel.vue.d.ts +20 -0
  180. package/pv-components/dist/src/components/tables/PvDataTable/PvDataTable.vue.d.ts +31 -0
  181. package/pv-components/dist/src/components/tables/PvDataTable/helpers.d.ts +24 -0
  182. package/pv-components/dist/src/components/tables/PvDataTable/helpers.spec.d.ts +1 -0
  183. package/pv-components/dist/src/components/tables/PvDataTable/table-components/ColumnVisibilitySelector.vue.d.ts +13 -0
  184. package/pv-components/dist/src/components/tables/PvDataTable/table-components/ExportMenu.vue.d.ts +15 -0
  185. package/pv-components/dist/src/components/tables/PvDataTable/table-components/FilterPanel.vue.d.ts +22 -0
  186. package/pv-components/dist/src/components/tables/PvDataTable/table-components/FilterValueLabel.vue.d.ts +15 -0
  187. package/pv-components/dist/src/components/tables/PvDataTable/table-components/FocusItemRenderer.vue.d.ts +7 -0
  188. package/pv-components/dist/src/components/tables/PvDataTable/table-components/GroupAggCellRenderer.vue.d.ts +16 -0
  189. package/pv-components/dist/src/components/tables/PvDataTable/table-components/GroupBySelector.vue.d.ts +16 -0
  190. package/pv-components/dist/src/components/tables/PvDataTable/table-components/GroupedCellRenderer.vue.d.ts +15 -0
  191. package/pv-components/dist/src/components/tables/PvDataTable/table-components/HeaderCellRenderer.vue.d.ts +9 -0
  192. package/pv-components/dist/src/components/tables/PvDataTable/table-components/LogoCellRenderer.vue.d.ts +6 -0
  193. package/pv-components/dist/src/components/tables/PvDataTable/table-components/PaginationPanel.vue.d.ts +15 -0
  194. package/pv-components/dist/src/components/tables/PvDataTable/table-components/RowCountCellRenderer.vue.d.ts +16 -0
  195. package/pv-components/dist/src/components/tables/PvDataTable/table-components/RowLoadingCellRenderer.vue.d.ts +2 -0
  196. package/pv-components/dist/src/components/tables/PvDataTable/table-components/SetFilter.vue.d.ts +29 -0
  197. package/pv-components/dist/src/components/tables/PvDataTable/table-components/TableSearch.vue.d.ts +7 -0
  198. package/pv-components/dist/src/components/tables/PvDataTable/table-components/TableTooltip.vue.d.ts +6 -0
  199. package/pv-components/dist/src/components/tables/PvDataTable/table-components/TagCellRenderer.vue.d.ts +6 -0
  200. package/pv-components/dist/src/components/tables/PvDataTable/table-components/formatting.d.ts +29 -0
  201. package/pv-components/dist/src/components/tables/PvDataTable/table-components/formatting.spec.d.ts +1 -0
  202. package/pv-components/dist/{vue/tables/pv-components-tables.d.ts → src/components/tables/PvDataTable/types.d.ts} +244 -299
  203. package/pv-components/dist/src/components/tables/PvDataTable/useFilterStore.d.ts +43 -0
  204. package/pv-components/dist/src/components/tables/PvDataTable/useFocus.d.ts +24 -0
  205. package/pv-components/dist/src/components/tables/PvDataTable/useFocus.spec.d.ts +1 -0
  206. package/pv-components/dist/src/components/tables/symbols.d.ts +48 -0
  207. package/pv-components/dist/src/components/tables/themes.d.ts +3 -0
  208. package/pv-components/dist/src/components/visualizations/index.d.ts +5 -0
  209. package/pv-components/dist/src/functions/aggregations.d.ts +1 -0
  210. package/pv-components/dist/src/functions/formatting.d.ts +7 -0
  211. package/pv-components/dist/src/helpers/tests/findIcon.d.ts +1 -0
  212. package/pv-components/dist/src/helpers/tests/helpers.d.ts +9 -0
  213. package/pv-components/dist/src/styles.d.ts +1 -0
  214. package/pv-components/dist/src/types.d.ts +40 -0
  215. package/pv-components/dist/src/web-components.d.ts +1 -0
  216. package/pv-components/dist/vite.config.d.ts +2 -0
  217. package/pv-components/dist/vue/base/pv-components-base.js +1 -1
  218. package/pv-components/dist/vue/base/pv-components-base.mjs +652 -596
  219. package/pv-components/dist/vue/base/pv-components-base.umd.js +2 -2
  220. package/pv-components/dist/vue/visualizations/pv-components-visualizations.js +176 -0
  221. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +11849 -0
  222. package/pv-components/dist/vue/visualizations/pv-components-visualizations.umd.js +176 -0
  223. package/pv-components/dist/web/pv-components.iife.js +23 -23
  224. package/pv-components/dist/vue/base/pv-components-base.d.ts +0 -2020
  225. package/pv-components/dist/vue/charts/pv-components-charts.d.ts +0 -489
  226. package/pv-components/dist/vue/charts/pv-components-charts.js +0 -259
  227. package/pv-components/dist/vue/charts/pv-components-charts.mjs +0 -121810
  228. package/pv-components/dist/vue/charts/pv-components-charts.umd.js +0 -259
  229. package/pv-components/dist/vue/tables/pv-components-tables.js +0 -223
  230. package/pv-components/dist/vue/tables/pv-components-tables.mjs +0 -47026
  231. package/pv-components/dist/vue/tables/pv-components-tables.umd.js +0 -223
  232. package/pv-components/dist/web/index.d.ts +0 -1
@@ -0,0 +1,40 @@
1
+ import { TagSize, TagVariant } from "./types";
2
+ export interface PvTagProps {
3
+ /**
4
+ * @default 'Medium'
5
+ * Tag size
6
+ */
7
+ size?: TagSize;
8
+ /**
9
+ * @default 'Tertiary'
10
+ * Tag Variant
11
+ */
12
+ variant?: TagVariant;
13
+ /**
14
+ * Tag Icon
15
+ */
16
+ icon?: string;
17
+ /**
18
+ * Tag Label
19
+ */
20
+ label: string;
21
+ /**
22
+ * Show left clear icon
23
+ */
24
+ showClear?: boolean;
25
+ /**
26
+ * Show rounded state
27
+ */
28
+ rounded?: boolean;
29
+ }
30
+ declare const _default: import("vue").DefineComponent<PvTagProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
31
+ "handle-close": (payload: string) => any;
32
+ "handle-click": (payload: string) => any;
33
+ }, string, import("vue").PublicProps, Readonly<PvTagProps> & Readonly<{
34
+ "onHandle-close"?: ((payload: string) => any) | undefined;
35
+ "onHandle-click"?: ((payload: string) => any) | undefined;
36
+ }>, {
37
+ size: TagSize;
38
+ variant: TagVariant;
39
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
40
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { PvSize, PvVariants } from "@/components/base/baseProps.ts";
2
+ export type TagSize = Extract<PvSize, "sm" | "md" | "lg">;
3
+ export type TagVariant = Extract<PvVariants, "primary" | "tertiary">;
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom";
@@ -0,0 +1,34 @@
1
+ import { PvTextAreaVariant } from "./types";
2
+ interface PvTextareaProps {
3
+ error?: boolean;
4
+ disabled?: boolean;
5
+ placeholder?: string;
6
+ id?: string;
7
+ lowerLabel?: string;
8
+ variant?: PvTextAreaVariant;
9
+ rows?: number;
10
+ }
11
+ type __VLS_Props = PvTextareaProps;
12
+ type __VLS_PublicProps = __VLS_Props & {
13
+ modelValue?: string;
14
+ };
15
+ declare var __VLS_1: {};
16
+ type __VLS_Slots = {} & {
17
+ label?: (props: typeof __VLS_1) => any;
18
+ };
19
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ "update:modelValue": (value: string | undefined) => any;
21
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
22
+ "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
23
+ }>, {
24
+ id: string;
25
+ variant: PvTextAreaVariant;
26
+ rows: number;
27
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
29
+ export default _default;
30
+ type __VLS_WithSlots<T, S> = T & {
31
+ new (): {
32
+ $slots: S;
33
+ };
34
+ };
@@ -0,0 +1,2 @@
1
+ import { PvTextInputColors } from "../baseProps";
2
+ export type PvTextAreaVariant = Extract<PvTextInputColors, "white" | "grey">;
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom/vitest";
@@ -0,0 +1,24 @@
1
+ import type { PvToastVariants } from "./types";
2
+ interface PvToastProps {
3
+ variant?: PvToastVariants;
4
+ icon?: string;
5
+ label: string;
6
+ }
7
+ declare var __VLS_4: {};
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_4) => any;
10
+ };
11
+ declare const __VLS_component: import("vue").DefineComponent<PvToastProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
12
+ "handle-close": () => any;
13
+ }, string, import("vue").PublicProps, Readonly<PvToastProps> & Readonly<{
14
+ "onHandle-close"?: (() => any) | undefined;
15
+ }>, {
16
+ variant: PvToastVariants;
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
19
+ export default _default;
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1 @@
1
+ export type PvToastVariants = "info" | "success" | "error" | "dark";
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom/vitest";
@@ -0,0 +1,28 @@
1
+ import { PvToggleButtonSize, PvToggleButtonVariant } from "./types";
2
+ interface PvToggleButton {
3
+ size?: PvToggleButtonSize;
4
+ variant?: PvToggleButtonVariant;
5
+ rounded?: boolean;
6
+ disabled?: boolean;
7
+ value?: string;
8
+ label?: string;
9
+ leftIcon?: string;
10
+ rightIcon?: string;
11
+ id?: string;
12
+ name?: string;
13
+ deselect?: boolean;
14
+ }
15
+ type __VLS_Props = PvToggleButton;
16
+ type __VLS_PublicProps = __VLS_Props & {
17
+ modelValue?: boolean | string;
18
+ };
19
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ "update:modelValue": (value: string | boolean | undefined) => any;
21
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
22
+ "onUpdate:modelValue"?: ((value: string | boolean | undefined) => any) | undefined;
23
+ }>, {
24
+ size: PvToggleButtonSize;
25
+ variant: PvToggleButtonVariant;
26
+ deselect: boolean;
27
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { PvSize, PvVariants } from "../baseProps";
2
+ export type PvToggleButtonSize = Extract<PvSize, "lg" | "xl">;
3
+ export type PvToggleButtonVariant = Extract<PvVariants, "secondary" | "tertiary">;
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom/vitest";
@@ -0,0 +1,30 @@
1
+ import { PvTooltipPositions, PvTooltipVariants, PvTooltipSize } from "./types";
2
+ interface PvTooltipProps {
3
+ variant?: PvTooltipVariants;
4
+ tooltipPosition?: PvTooltipPositions;
5
+ ariaLabelledBy?: string;
6
+ size?: PvTooltipSize;
7
+ interactive?: boolean;
8
+ }
9
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
10
+ type __VLS_Slots = {} & {
11
+ label?: (props: typeof __VLS_1) => any;
12
+ } & {
13
+ 'tooltip-content'?: (props: typeof __VLS_3) => any;
14
+ } & {
15
+ label?: (props: typeof __VLS_5) => any;
16
+ };
17
+ declare const __VLS_component: import("vue").DefineComponent<PvTooltipProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PvTooltipProps> & Readonly<{}>, {
18
+ size: PvTooltipSize;
19
+ variant: PvTooltipVariants;
20
+ tooltipPosition: PvTooltipPositions;
21
+ ariaLabelledBy: string;
22
+ interactive: boolean;
23
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
25
+ export default _default;
26
+ type __VLS_WithSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
@@ -0,0 +1,4 @@
1
+ import { PvSize } from "../baseProps";
2
+ export type PvTooltipVariants = "white" | "dark";
3
+ export type PvTooltipPositions = "bottom-center" | "bottom-right" | "top-left" | "top-center" | "top-right" | "center-left" | "center-right";
4
+ export type PvTooltipSize = Extract<PvSize, "sm" | "md">;
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom";
@@ -0,0 +1,12 @@
1
+ declare var __VLS_5: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_5) => any;
4
+ };
5
+ declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
7
+ export default _default;
8
+ type __VLS_WithSlots<T, S> = T & {
9
+ new (): {
10
+ $slots: S;
11
+ };
12
+ };
@@ -0,0 +1,15 @@
1
+ export declare const PvSizes: readonly ["xs", "sm", "md", "lg", "xl", "2x"];
2
+ export type PvSize = (typeof PvSizes)[number];
3
+ export declare const PvTheme: readonly ["white", "dark"];
4
+ export type PvThemes = (typeof PvTheme)[number];
5
+ export declare const PvVariants: readonly ["primary", "secondary", "tertiary", "ghost", "destructive"];
6
+ export type PvVariants = (typeof PvVariants)[number];
7
+ export declare const PvColorVariants: readonly ["default", "success", "warning", "critical", "highlight"];
8
+ export type PvColorVariants = (typeof PvColorVariants)[number];
9
+ export declare const PvInputVariants: readonly ["h1", "h2", "h3", "h4", "text-md", "text-sm", "text-lg", "caption"];
10
+ export type PvInputVariants = (typeof PvInputVariants)[number];
11
+ export declare const PvTextInputColors: readonly ["white", "grey"];
12
+ export type PvTextInputColors = (typeof PvTextInputColors)[number];
13
+ export declare const sizeMap: Record<PvSize, string>;
14
+ export declare const PvIconSizes: readonly [undefined, 10, 12, 20, 24, 32, 64];
15
+ export type PvIconSize = (typeof PvIconSizes)[number];
@@ -0,0 +1,54 @@
1
+ export { default as PvButton } from "@/components/base/PvButton/PvButton.vue";
2
+ export { default as PvCounterBadge } from "@/components/base/PvCounterBadge/PvCounterBadge.vue";
3
+ export { default as PvReleaseBadge } from "@/components/base/PvReleaseBadge/PvReleaseBadge.vue";
4
+ export { default as PvTag } from "@/components/base/PvTag/PvTag.vue";
5
+ export { default as PvPill } from "@/components/base/PvPill/PvPill.vue";
6
+ export { default as PvDropdown } from "@/components/base/PvDropdown/PvDropdown.vue";
7
+ export { default as PvIcon } from "@/components/base/PvIcon/PvIcon.vue";
8
+ export { default as PvPopover } from "@/components/base/PvPopover/PvPopover.vue";
9
+ export { default as PvSegmentedControl } from "@/components/base/PvSegmentedControl/PvSegmentedControl.vue";
10
+ export { default as PvTabList } from "@/components/base/PvTabList/PvTabList.vue";
11
+ export { default as PvCompanyLogo } from "@/components/base/PvCompanyLogo/PvCompanyLogo.vue";
12
+ export { default as PvModal } from "@/components/base/PvModal/PvModal.vue";
13
+ export { default as PvBanner } from "@/components/base/PvBanner/PvBanner.vue";
14
+ export { default as PvCompanyTag } from "@/components/base/PvCompanyTag/PvCompanyTag.vue";
15
+ export { default as PvSuggestionTag } from "@/components/base/PvSuggestionTag/PvSuggestionTag.vue";
16
+ export { default as PvAccordion } from "@/components/base/PvAccordion/PvAccordion.vue";
17
+ export { default as PvSearchInput } from "@/components/base/PvSearchInput/PvSearchInput.vue";
18
+ export { default as PvDatePicker } from "@/components/base/PvDatePicker/PvDatePicker.vue";
19
+ export { default as PvDateTime } from "@/components/base/PvDateTime/PvDateTime.vue";
20
+ export { default as PvDrawer } from "@/components/base/PvDrawer/PvDrawer.vue";
21
+ export { default as PvTooltip } from "@/components/base/PvTooltip/PvTooltip.vue";
22
+ export { default as PvTabs } from "@/components/base/PvTabs/PvTabs.vue";
23
+ export { default as PvBreadcrumbs } from "@/components/base/PvBreadcrumbs/PvBreadcrumbs.vue";
24
+ export { default as PvMultiSelectButton } from "@/components/base/PvMultiSelectButton/PvMultiSelectButton.vue";
25
+ export { default as PvSelectButton } from "@/components/base/PvSelectButton/PvSelectButton.vue";
26
+ export { default as PvPagination } from "@/components/base/PvPagination/PvPagination.vue";
27
+ export { default as PvSelectableCard } from "@/components/base/PvSelectableCard/PvSelectableCard.vue";
28
+ export { default as PvSidePanel } from "@/components/layout/PvSidePanel/PvSidePanel.vue";
29
+ export { default as PvGhostInput } from "@/components/base/PvGhostInput/PvGhostInput.vue";
30
+ export { default as PvCompanyLabel } from "@/components/base/PvCompanyLabel/PvCompanyLabel.vue";
31
+ export { default as PvAvatar } from "@/components/base/PvAvatar/PvAvatar.vue";
32
+ export { default as PvAvatarGroup } from "@/components/base/PvAvatarGroup/PvAvatarGroup.vue";
33
+ export { default as PvToggleButton } from "@/components/base/PvToggleButton/PvToggleButton.vue";
34
+ export { default as PvCheckbox } from "@/components/base/PvCheckbox/PvCheckbox.vue";
35
+ export { default as PvSprite } from "@/components/base/PvSprite/PvSprite.vue";
36
+ export { default as PvSkeleton } from "@/components/base/PvSkeleton/PvSkeleton.vue";
37
+ export { default as PvSpinner } from "@/components/base/PvSpinner/PvSpinner.vue";
38
+ export { default as PvInput } from "@/components/base/PvInput/PvInput.vue";
39
+ export { default as PvRating } from "@/components/base/PvRating/PvRating.vue";
40
+ export { default as PvWidget } from "@/components/base/PvWidget/PvWidget.vue";
41
+ export { default as PvCard } from "@/components/base/PvCard/PvCard.vue";
42
+ export { default as PvInsightCard } from "@/components/base/PvInsightCard/PvInsightCard.vue";
43
+ export { default as PvSwitch } from "@/components/base/PvSwitch/PvSwitch.vue";
44
+ export { default as PvExpandableContent } from "@/components/base/PvExpandableContent/PvExpandableContent.vue";
45
+ export { default as PvToast } from "@/components/base/PvToast/PvToast.vue";
46
+ export { default as PvActionBar } from "@/components/base/PvActionBar/PvActionBar.vue";
47
+ export { default as PvTextArea } from "@/components/base/PvTextArea/PvTextArea.vue";
48
+ export { useDateTime } from "@/components/base/PvDateTime/useDateTime";
49
+ export { usePvComponents } from "@/components/base/PvComponentsConfig/usePvComponents";
50
+ export type { Tab } from "@/components/base/PvTabs/types";
51
+ export type { PvBreadcrumbsOptions } from "@/components/base/PvBreadcrumbs/types";
52
+ export type { PvAvatarGroupItem } from "@/components/base/PvAvatarGroup/types";
53
+ export type { MenuOption } from "@/types";
54
+ export type { PvMultiSelectButtonSlotProps } from "@/components/base/PvMultiSelectButton/PvMultiSelectButton.vue";
@@ -0,0 +1,25 @@
1
+ import { AgSeriesVisibilityChange } from "ag-charts-enterprise";
2
+ import { AgChartOptions } from "ag-charts-types";
3
+ export interface PvChartProps {
4
+ options: AgChartOptions;
5
+ seriesFormatType?: "none" | "currency" | "percent";
6
+ isLoading?: boolean;
7
+ enableFocusView?: boolean;
8
+ minHeight?: number;
9
+ }
10
+ declare const _default: import("vue").DefineComponent<PvChartProps, {
11
+ getChartImageDataURL: (dimensions?: {
12
+ width?: number;
13
+ height?: number;
14
+ }) => Promise<string> | undefined;
15
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
16
+ "series-visibility-change": (event: AgSeriesVisibilityChange<unknown>) => any;
17
+ }, string, import("vue").PublicProps, Readonly<PvChartProps> & Readonly<{
18
+ "onSeries-visibility-change"?: ((event: AgSeriesVisibilityChange<unknown>) => any) | undefined;
19
+ }>, {
20
+ isLoading: boolean;
21
+ minHeight: number;
22
+ seriesFormatType: "none" | "currency" | "percent";
23
+ enableFocusView: boolean;
24
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
25
+ export default _default;
@@ -0,0 +1,39 @@
1
+ import { ColumnMovedEvent, ColumnResizedEvent, ColumnRowGroupChangedEvent, FilterChangedEvent } from "ag-grid-enterprise";
2
+ import { FirstDataRenderedEvent, GridReadyEvent, RefreshServerSideParams, SortChangedEvent } from "ag-grid-community";
3
+ import { ChartStateChangedEvent } from "@tables/PvDataTable/types.ts";
4
+ import { PvDataTableWithChartProps } from "./types";
5
+ import { FocusUpdateEvent } from "@/components/tables/PvDataTable/types";
6
+ 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<{
7
+ props: __VLS_PrettifyLocal<any & PvDataTableWithChartProps<T> & Partial<{}>> & import("vue").PublicProps;
8
+ expose(exposed: import("vue").ShallowUnwrapRef<{
9
+ getChartImageDataURL: (dimensions?: {
10
+ width?: number;
11
+ height?: number;
12
+ }) => Promise<string> | undefined;
13
+ getCsvData: () => Promise<string | null> | undefined;
14
+ refreshData: (params?: RefreshServerSideParams | null) => Promise<void> | undefined;
15
+ getFilterValueSelectedMetadataMap: () => Record<string, (import("@tables/PvDataTable/types.ts").FilterValueResponseOption | null)[]> | undefined;
16
+ }>): void;
17
+ attrs: any;
18
+ slots: {};
19
+ emit: {
20
+ (e: "chart-state-changed", event: ChartStateChangedEvent): void;
21
+ (e: "column-moved", event: ColumnMovedEvent<T>): void;
22
+ (e: "column-resized", event: ColumnResizedEvent<T>): void;
23
+ (e: "column-row-group-changed", event: ColumnRowGroupChangedEvent<T>): void;
24
+ (e: "grid-ready", event: GridReadyEvent<T>): void;
25
+ (e: "filter-changed", event: FilterChangedEvent<T>): void;
26
+ (e: "sort-changed", event: SortChangedEvent<T>): void;
27
+ (e: "filter-opened", event: FilterChangedEvent<T>): void;
28
+ (e: "first-data-rendered", event: FirstDataRenderedEvent<T>): void;
29
+ (e: "handle-settings-icon", value: string): void;
30
+ (e: "focus-update", event: FocusUpdateEvent): void;
31
+ (e: "chart-collapsed", collapsed: boolean): void;
32
+ };
33
+ }>) => import("vue").VNode & {
34
+ __ctx?: Awaited<typeof __VLS_setup>;
35
+ };
36
+ export default _default;
37
+ type __VLS_PrettifyLocal<T> = {
38
+ [K in keyof T]: T[K];
39
+ } & {};
@@ -0,0 +1,5 @@
1
+ import { MenuOption } from "@/types";
2
+ export declare const singleGroupChartTypeConfigs: MenuOption[];
3
+ export declare const multiGroupChartTypeConfigs: MenuOption[];
4
+ export declare const separatorValue = "--SEPARATOR--";
5
+ export declare const sortTotalSuffix = "_sort_total";
@@ -0,0 +1,13 @@
1
+ import { AgChartOptions } from "ag-charts-enterprise";
2
+ import { OptionWithFormatterAndDataType } from "@charts/PvDataTableWithChart/types.ts";
3
+ export declare const generateStackSeriesKey: (seriesField: string, stackField: string) => string;
4
+ export declare const buildStackedChartData: (data: AgChartOptions["data"], categoryField: string, stackField: string, seriesColumns: OptionWithFormatterAndDataType[]) => {
5
+ data: never[];
6
+ uniqueFieldValues: never[];
7
+ stackedData?: undefined;
8
+ } | {
9
+ stackedData: any[];
10
+ uniqueFieldValues: string[];
11
+ data?: undefined;
12
+ };
13
+ export declare const calculateMaxChartSeriesValue: (data: any[] | undefined, seriesField: string, isStacked: boolean) => number;
@@ -0,0 +1,21 @@
1
+ import { ChartConfigPanelType, ChartFilter } from "@charts/PvDataTableWithChart/types";
2
+ export interface PvChartOptionsPanelProps {
3
+ enablePanel: boolean;
4
+ chartFilter?: ChartFilter;
5
+ rowGroupLimit?: number;
6
+ useCombinedButton?: boolean;
7
+ chartConfigOptions?: ChartConfigPanelType[];
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<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, never> & PvChartOptionsPanelProps & Partial<{}>> & import("vue").PublicProps;
11
+ expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
12
+ attrs: any;
13
+ slots: {};
14
+ emit: {};
15
+ }>) => import("vue").VNode & {
16
+ __ctx?: Awaited<typeof __VLS_setup>;
17
+ };
18
+ export default _default;
19
+ type __VLS_PrettifyLocal<T> = {
20
+ [K in keyof T]: T[K];
21
+ } & {};
@@ -0,0 +1,75 @@
1
+ import { CSSProperties } from "vue";
2
+ import { AgChartOptions } from "ag-charts-enterprise";
3
+ import { ValueFormatterFunc } from "ag-grid-enterprise";
4
+ import { Option } from "@/types";
5
+ import { PvDataTableProps } from "@tables/PvDataTable/types.ts";
6
+ import type { ColumnVO } from "ag-grid-community/dist/types/src/interfaces/iColumnVO";
7
+ import type { FilterModel } from "ag-grid-community/dist/types/src/interfaces/iFilter";
8
+ import type { AdvancedFilterModel } from "ag-grid-community/dist/types/src/interfaces/advancedFilterModel";
9
+ export type supportedChartType = "column" | "bar" | "column_stacked" | "bar_stacked" | "line" | "area" | "pie";
10
+ export type ChartConfigPanelType = "y-axis" | "x-axis" | "sort" | "chart-type";
11
+ export type ChartFilterOption = {
12
+ label: string;
13
+ value: string;
14
+ filterValues: string[];
15
+ };
16
+ export interface ChartFilter {
17
+ colId: string;
18
+ options: ChartFilterOption[];
19
+ }
20
+ export interface ServerSideChartDataHandlerParams {
21
+ rowGroupCols: ColumnVO[];
22
+ /** Columns that have aggregations on them. */
23
+ valueCols: ColumnVO[];
24
+ /**
25
+ * If filtering, what the filter model is.
26
+ * If Advanced Filter is enabled, will be of type `AdvancedFilterModel | null`.
27
+ * If Advanced Filter is disabled, will be of type `FilterModel`.
28
+ */
29
+ filterModel: FilterModel | AdvancedFilterModel | null;
30
+ }
31
+ export interface ServerSideChartDataHandlerResponse {
32
+ data: AgChartOptions["data"];
33
+ stackField: string;
34
+ }
35
+ export interface PvDataTableWithChartProps<T> extends PvDataTableProps<T> {
36
+ enabledChartTypes?: supportedChartType[];
37
+ serverSideChartHandler?: (params: ServerSideChartDataHandlerParams) => Promise<ServerSideChartDataHandlerResponse>;
38
+ showSeriesLabels?: boolean;
39
+ truncateLabelValues?: boolean;
40
+ initialChartData?: AgChartOptions["data"];
41
+ enableCombinedChartConfigPanel?: boolean;
42
+ chartConfigPanelOptions?: ChartConfigPanelType[];
43
+ chartFilter?: ChartFilter;
44
+ chartType?: supportedChartType;
45
+ yKey?: string;
46
+ initialSort?: string;
47
+ hideChart?: boolean;
48
+ hideTable?: boolean;
49
+ filterPanelAboveChart?: boolean;
50
+ initialChartCollapsed?: boolean;
51
+ initialFocusData?: {
52
+ focuses: string[];
53
+ focusType: string | null;
54
+ };
55
+ percentOfFocusViewYKey?: string;
56
+ focusableColumns?: string[];
57
+ /**
58
+ * Enable toggle to group or ungroup
59
+ */
60
+ enableGroupingToggle?: boolean;
61
+ /**
62
+ * Css Properties
63
+ */
64
+ customCssProperties?: {
65
+ agGridWrapper: CSSProperties;
66
+ };
67
+ }
68
+ export interface OptionWithFormatterAndDataType extends Option {
69
+ formatter?: ValueFormatterFunc | string;
70
+ dataType?: string;
71
+ }
72
+ export interface StackField {
73
+ fieldName: string;
74
+ fieldValues: string[];
75
+ }
@@ -0,0 +1,44 @@
1
+ import { MapTopologyType } from "@charts/chart-components/maps/useTopology.ts";
2
+ import { AgMapLineSeriesTooltipRendererParams } from "ag-charts-enterprise";
3
+ export interface PvMapChartData {
4
+ [key: string]: string | number;
5
+ }
6
+ export interface RegionSelectionChangedEvent {
7
+ region: string | null | undefined;
8
+ }
9
+ export interface PvMapChartProps {
10
+ seriesKey: string;
11
+ mapType?: MapTopologyType;
12
+ displayGradientLegend?: boolean;
13
+ displayRegionSelector?: boolean;
14
+ gradientLegendMin?: number;
15
+ gradientLegendMax?: number;
16
+ seriesValueFormatter?: (value: number) => string;
17
+ isLoading?: boolean;
18
+ noDataMessage?: string;
19
+ tooltipRenderer?: (params: AgMapLineSeriesTooltipRendererParams<PvMapChartData>) => string | HTMLElement;
20
+ }
21
+ declare const _default: import("vue").DefineComponent<PvMapChartProps & {
22
+ chartData: PvMapChartData[];
23
+ selectedRegion?: string | undefined;
24
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
+ "update:chartData": (value: PvMapChartData[]) => any;
26
+ "update:selectedRegion": (value: string | undefined) => any;
27
+ } & {
28
+ "region-selection-changed": (event: RegionSelectionChangedEvent) => any;
29
+ }, string, import("vue").PublicProps, Readonly<PvMapChartProps & {
30
+ chartData: PvMapChartData[];
31
+ selectedRegion?: string | undefined;
32
+ }> & Readonly<{
33
+ "onUpdate:chartData"?: ((value: PvMapChartData[]) => any) | undefined;
34
+ "onUpdate:selectedRegion"?: ((value: string | undefined) => any) | undefined;
35
+ "onRegion-selection-changed"?: ((event: RegionSelectionChangedEvent) => any) | undefined;
36
+ }>, {
37
+ isLoading: boolean;
38
+ mapType: MapTopologyType;
39
+ displayGradientLegend: boolean;
40
+ gradientLegendMin: number;
41
+ gradientLegendMax: number;
42
+ seriesValueFormatter: (value: number) => string;
43
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
44
+ export default _default;
@@ -0,0 +1,10 @@
1
+ type ChartGradientProps = {
2
+ min?: number;
3
+ max?: number;
4
+ valueFormatter?: (value: number) => string;
5
+ };
6
+ declare const _default: import("vue").DefineComponent<ChartGradientProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ChartGradientProps> & Readonly<{}>, {
7
+ min: number;
8
+ max: number;
9
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ export default _default;
@@ -0,0 +1,15 @@
1
+ import { MapTopologyType } from "@charts/chart-components/maps/useTopology.ts";
2
+ type ChartStateSelectorProps = {
3
+ topologyType: MapTopologyType;
4
+ selectableRegions?: string[];
5
+ };
6
+ type __VLS_Props = ChartStateSelectorProps;
7
+ type __VLS_PublicProps = __VLS_Props & {
8
+ modelValue?: string | undefined;
9
+ };
10
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ "update:modelValue": (value: string | undefined) => any;
12
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
+ "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ export default _default;
@@ -0,0 +1,20 @@
1
+ export declare const processedAlaskaTopology: {
2
+ type: string;
3
+ properties: {
4
+ name: string;
5
+ };
6
+ geometry: {
7
+ type: string;
8
+ coordinates: number[][][][];
9
+ };
10
+ };
11
+ export declare const rawAlaskaTopology: {
12
+ type: string;
13
+ properties: {
14
+ name: string;
15
+ };
16
+ geometry: {
17
+ type: string;
18
+ coordinates: number[][][][];
19
+ };
20
+ };
@@ -0,0 +1,20 @@
1
+ export declare const processedHawaiiTopology: {
2
+ type: string;
3
+ properties: {
4
+ name: string;
5
+ };
6
+ geometry: {
7
+ type: string;
8
+ coordinates: number[][][][];
9
+ };
10
+ };
11
+ export declare const rawHawaiiTopology: {
12
+ type: string;
13
+ properties: {
14
+ name: string;
15
+ };
16
+ geometry: {
17
+ type: string;
18
+ coordinates: number[][][][];
19
+ };
20
+ };
@@ -0,0 +1,28 @@
1
+ export declare const minFeatureName = "_FeatureMin";
2
+ export declare const maxFeatureName = "_FeatureMax";
3
+ export declare const stateCodeToName: (stateCode: string) => string;
4
+ export declare const stateMappings: {
5
+ [key: string]: string;
6
+ };
7
+ export declare const usStateTopology: {
8
+ type: string;
9
+ features: ({
10
+ type: string;
11
+ properties: {
12
+ name: string;
13
+ };
14
+ geometry: {
15
+ type: string;
16
+ coordinates: number[][][][];
17
+ };
18
+ } | {
19
+ type: string;
20
+ geometry: {
21
+ type: string;
22
+ coordinates: number[][][];
23
+ };
24
+ properties: {
25
+ name: string;
26
+ };
27
+ })[];
28
+ };
@@ -0,0 +1,8 @@
1
+ import { PvMapChartData } from "@charts/PvMapChart/PvMapChart.vue";
2
+ export type MapTopologyType = "state" | "city" | "county" | "cbsa" | "zip_code";
3
+ export declare const useTopology: () => {
4
+ getTopologyObject: (topologyType: MapTopologyType) => any;
5
+ buildMapData: (inputData: PvMapChartData[], topologyType: MapTopologyType, seriesKey: string, scaleMin: number, scaleMax: number) => {
6
+ [key: string]: string | number;
7
+ }[];
8
+ };