@turquoisehealth/pit-viper 2.130.1-dev.0 → 2.130.1-dev.2

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 (222) hide show
  1. package/package.json +1 -1
  2. package/pv-components/dist/vue/visualizations/components/base/PvAccordion/PvAccordion.spec.d.ts +1 -0
  3. package/pv-components/dist/vue/visualizations/components/base/PvAccordion/PvAccordion.vue.d.ts +49 -0
  4. package/pv-components/dist/vue/visualizations/components/base/PvAccordion/types.d.ts +5 -0
  5. package/pv-components/dist/vue/visualizations/components/base/PvActionBar/PvActionBar.spec.d.ts +1 -0
  6. package/pv-components/dist/vue/visualizations/components/base/PvActionBar/PvActionBar.vue.d.ts +34 -0
  7. package/pv-components/dist/vue/visualizations/components/base/PvActionBar/types.d.ts +2 -0
  8. package/pv-components/dist/vue/visualizations/components/base/PvAiButton/PvAiButton.spec.d.ts +1 -0
  9. package/pv-components/dist/vue/visualizations/components/base/PvAiButton/PvAiButton.vue.d.ts +13 -0
  10. package/pv-components/dist/vue/visualizations/components/base/PvAiButton/types.d.ts +2 -0
  11. package/pv-components/dist/vue/visualizations/components/base/PvAvatar/PvAvatar.spec.d.ts +1 -0
  12. package/pv-components/dist/vue/visualizations/components/base/PvAvatar/PvAvatar.vue.d.ts +13 -0
  13. package/pv-components/dist/vue/visualizations/components/base/PvAvatar/types.d.ts +3 -0
  14. package/pv-components/dist/vue/visualizations/components/base/PvAvatarGroup/PvAvatarGroup.spec.d.ts +1 -0
  15. package/pv-components/dist/vue/visualizations/components/base/PvAvatarGroup/PvAvatarGroup.vue.d.ts +8 -0
  16. package/pv-components/dist/vue/visualizations/components/base/PvAvatarGroup/types.d.ts +5 -0
  17. package/pv-components/dist/vue/visualizations/components/base/PvBanner/PvBanner.spec.d.ts +1 -0
  18. package/pv-components/dist/vue/visualizations/components/base/PvBanner/PvBanner.vue.d.ts +30 -0
  19. package/pv-components/dist/vue/visualizations/components/base/PvBanner/types.d.ts +11 -0
  20. package/pv-components/dist/vue/visualizations/components/base/PvBreadcrumbs/PvBreadcrumbs.spec.d.ts +1 -0
  21. package/pv-components/dist/vue/visualizations/components/base/PvBreadcrumbs/PvBreadcrumbs.vue.d.ts +7 -0
  22. package/pv-components/dist/vue/visualizations/components/base/PvBreadcrumbs/types.d.ts +4 -0
  23. package/pv-components/dist/vue/visualizations/components/base/PvButton/PvButton.spec.d.ts +1 -0
  24. package/pv-components/dist/vue/visualizations/components/base/PvButton/PvButton.vue.d.ts +10 -0
  25. package/pv-components/dist/vue/visualizations/components/base/PvButton/PvButtonWithTooltip.vue.d.ts +8 -0
  26. package/pv-components/dist/vue/visualizations/components/base/PvButton/helpers.d.ts +3 -0
  27. package/pv-components/dist/vue/visualizations/components/base/PvButton/types.d.ts +28 -0
  28. package/pv-components/dist/vue/visualizations/components/base/PvCard/PvCard.spec.d.ts +1 -0
  29. package/pv-components/dist/vue/visualizations/components/base/PvCard/PvCard.vue.d.ts +27 -0
  30. package/pv-components/dist/vue/visualizations/components/base/PvCard/types.d.ts +2 -0
  31. package/pv-components/dist/vue/visualizations/components/base/PvCheckbox/PvCheckbox.vue.d.ts +17 -0
  32. package/pv-components/dist/vue/visualizations/components/base/PvCompanyLabel/PvCompanyLabel.vue.d.ts +11 -0
  33. package/pv-components/dist/vue/visualizations/components/base/PvCompanyLabel/types.d.ts +2 -0
  34. package/pv-components/dist/vue/visualizations/components/base/PvCompanyLogo/PvCompanyLogo.spec.d.ts +1 -0
  35. package/pv-components/dist/vue/visualizations/components/base/PvCompanyLogo/PvCompanyLogo.vue.d.ts +15 -0
  36. package/pv-components/dist/vue/visualizations/components/base/PvCompanyLogo/types.d.ts +2 -0
  37. package/pv-components/dist/vue/visualizations/components/base/PvCompanyTag/PvCompanyTag.spec.d.ts +1 -0
  38. package/pv-components/dist/vue/visualizations/components/base/PvCompanyTag/PvCompanyTag.vue.d.ts +27 -0
  39. package/pv-components/dist/vue/visualizations/components/base/PvComponentsConfig/primeVue.config.d.ts +14 -0
  40. package/pv-components/dist/vue/visualizations/components/base/PvComponentsConfig/usePvComponents.d.ts +2 -0
  41. package/pv-components/dist/vue/visualizations/components/base/PvCounterBadge/PvCounterBadge.spec.d.ts +1 -0
  42. package/pv-components/dist/vue/visualizations/components/base/PvCounterBadge/PvCounterBadge.vue.d.ts +16 -0
  43. package/pv-components/dist/vue/visualizations/components/base/PvCounterBadge/types.d.ts +3 -0
  44. package/pv-components/dist/vue/visualizations/components/base/PvDatePicker/PvDatePicker.vue.d.ts +115 -0
  45. package/pv-components/dist/vue/visualizations/components/base/PvDateTime/PvDateTime.spec.d.ts +1 -0
  46. package/pv-components/dist/vue/visualizations/components/base/PvDateTime/PvDateTime.vue.d.ts +14 -0
  47. package/pv-components/dist/vue/visualizations/components/base/PvDateTime/useDateTime.d.ts +9 -0
  48. package/pv-components/dist/vue/visualizations/components/base/PvDateTime/useDateTime.spec.d.ts +1 -0
  49. package/pv-components/dist/vue/visualizations/components/base/PvDistributionBar/PvDistributionBar.vue.d.ts +6 -0
  50. package/pv-components/dist/vue/visualizations/components/base/PvDrawer/PvDrawer.spec.d.ts +1 -0
  51. package/pv-components/dist/vue/visualizations/components/base/PvDrawer/PvDrawer.vue.d.ts +48 -0
  52. package/pv-components/dist/vue/visualizations/components/base/PvDropdown/PvDropdown.vue.d.ts +117 -0
  53. package/pv-components/dist/vue/visualizations/components/base/PvExpandableContent/PvExpandableContent.spec.d.ts +1 -0
  54. package/pv-components/dist/vue/visualizations/components/base/PvExpandableContent/PvExpandableContent.vue.d.ts +30 -0
  55. package/pv-components/dist/vue/visualizations/components/base/PvExpandableContent/types.d.ts +3 -0
  56. package/pv-components/dist/vue/visualizations/components/base/PvGhostInput/PvGhostInput.spec.d.ts +1 -0
  57. package/pv-components/dist/vue/visualizations/components/base/PvGhostInput/PvGhostInput.vue.d.ts +39 -0
  58. package/pv-components/dist/vue/visualizations/components/base/PvGhostInput/types.d.ts +2 -0
  59. package/pv-components/dist/vue/visualizations/components/base/PvIcon/PvIcon.vue.d.ts +10 -0
  60. package/pv-components/dist/vue/visualizations/components/base/PvInput/PvInput.spec.d.ts +1 -0
  61. package/pv-components/dist/vue/visualizations/components/base/PvInput/PvInput.vue.d.ts +40 -0
  62. package/pv-components/dist/vue/visualizations/components/base/PvInput/types.d.ts +3 -0
  63. package/pv-components/dist/vue/visualizations/components/base/PvInsightCard/PvInsightCard.spec.d.ts +1 -0
  64. package/pv-components/dist/vue/visualizations/components/base/PvInsightCard/PvInsightCard.vue.d.ts +22 -0
  65. package/pv-components/dist/vue/visualizations/components/base/PvMenu/PvMenu.spec.d.ts +1 -0
  66. package/pv-components/dist/vue/visualizations/components/base/PvMenu/PvMenu.vue.d.ts +183 -0
  67. package/pv-components/dist/vue/visualizations/components/base/PvMenu/PvMenuControlPanel.spec.d.ts +1 -0
  68. package/pv-components/dist/vue/visualizations/components/base/PvMenu/PvMenuControlPanel.vue.d.ts +18 -0
  69. package/pv-components/dist/vue/visualizations/components/base/PvMenu/PvMenuEmptyState.vue.d.ts +3 -0
  70. package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuBaseItem.spec.d.ts +1 -0
  71. package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuBaseItem.vue.d.ts +11 -0
  72. package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuItem.spec.d.ts +1 -0
  73. package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuItem.vue.d.ts +16 -0
  74. package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuItemAction.spec.d.ts +1 -0
  75. package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuItemAction.vue.d.ts +8 -0
  76. package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuItemVariant.vue.d.ts +14 -0
  77. package/pv-components/dist/vue/visualizations/components/base/PvMenu/useMenuPosition.d.ts +66 -0
  78. package/pv-components/dist/vue/visualizations/components/base/PvMenu/useMenuPosition.spec.d.ts +1 -0
  79. package/pv-components/dist/vue/visualizations/components/base/PvModal/PvModal.spec.d.ts +1 -0
  80. package/pv-components/dist/vue/visualizations/components/base/PvModal/PvModal.vue.d.ts +30 -0
  81. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.spec.d.ts +1 -0
  82. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +126 -0
  83. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/mocks.d.ts +15 -0
  84. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/types.d.ts +48 -0
  85. package/pv-components/dist/vue/visualizations/components/base/PvPagination/PvPagination.spec.d.ts +1 -0
  86. package/pv-components/dist/vue/visualizations/components/base/PvPagination/PvPagination.vue.d.ts +21 -0
  87. package/pv-components/dist/vue/visualizations/components/base/PvPagination/types.d.ts +3 -0
  88. package/pv-components/dist/vue/visualizations/components/base/PvPagination/usePagination.d.ts +12 -0
  89. package/pv-components/dist/vue/visualizations/components/base/PvPagination/usePagination.spec.d.ts +1 -0
  90. package/pv-components/dist/vue/visualizations/components/base/PvPill/PvPill.spec.d.ts +1 -0
  91. package/pv-components/dist/vue/visualizations/components/base/PvPill/PvPill.vue.d.ts +31 -0
  92. package/pv-components/dist/vue/visualizations/components/base/PvPill/types.d.ts +4 -0
  93. package/pv-components/dist/vue/visualizations/components/base/PvPopover/PvPopover.vue.d.ts +31 -0
  94. package/pv-components/dist/vue/visualizations/components/base/PvPopoverMenu/PvPopoverMenu.spec.d.ts +1 -0
  95. package/pv-components/dist/vue/visualizations/components/base/PvPopoverMenu/PvPopoverMenu.vue.d.ts +26 -0
  96. package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +47 -0
  97. package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/types.d.ts +20 -0
  98. package/pv-components/dist/vue/visualizations/components/base/PvProgressBar/PvProgressBar.vue.d.ts +8 -0
  99. package/pv-components/dist/vue/visualizations/components/base/PvQueryBuilderInput/PvQueryBuilderInput.vue.d.ts +44 -0
  100. package/pv-components/dist/vue/visualizations/components/base/PvQueryBuilderInput/QueryBuilderMenuOptionRenderer.vue.d.ts +8 -0
  101. package/pv-components/dist/vue/visualizations/components/base/PvQueryBuilderInput/QueryFormatter.vue.d.ts +20 -0
  102. package/pv-components/dist/vue/visualizations/components/base/PvQueryBuilderInput/useQueryBuilder.d.ts +44 -0
  103. package/pv-components/dist/vue/visualizations/components/base/PvQueryBuilderInput/useQueryBuilder.spec.d.ts +1 -0
  104. package/pv-components/dist/vue/visualizations/components/base/PvRating/PvRating.spec.d.ts +1 -0
  105. package/pv-components/dist/vue/visualizations/components/base/PvRating/PvRating.vue.d.ts +12 -0
  106. package/pv-components/dist/vue/visualizations/components/base/PvRating/types.d.ts +4 -0
  107. package/pv-components/dist/vue/visualizations/components/base/PvReleaseBadge/PvReleaseBadge.spec.d.ts +1 -0
  108. package/pv-components/dist/vue/visualizations/components/base/PvReleaseBadge/PvReleaseBadge.vue.d.ts +8 -0
  109. package/pv-components/dist/vue/visualizations/components/base/PvReleaseBadge/types.d.ts +1 -0
  110. package/pv-components/dist/vue/visualizations/components/base/PvSearchInput/PvSearchInput.spec.d.ts +1 -0
  111. package/pv-components/dist/vue/visualizations/components/base/PvSearchInput/PvSearchInput.vue.d.ts +26 -0
  112. package/pv-components/dist/vue/visualizations/components/base/PvSegmentedControl/PvSegmentedControl.spec.d.ts +1 -0
  113. package/pv-components/dist/vue/visualizations/components/base/PvSegmentedControl/PvSegmentedControl.vue.d.ts +19 -0
  114. package/pv-components/dist/vue/visualizations/components/base/PvSegmentedControl/types.d.ts +8 -0
  115. package/pv-components/dist/vue/visualizations/components/base/PvSelectButton/PvSelectButton.spec.d.ts +1 -0
  116. package/pv-components/dist/vue/visualizations/components/base/PvSelectButton/PvSelectButton.vue.d.ts +53 -0
  117. package/pv-components/dist/vue/visualizations/components/base/PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.spec.d.ts +1 -0
  118. package/pv-components/dist/vue/visualizations/components/base/PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.vue.d.ts +30 -0
  119. package/pv-components/dist/vue/visualizations/components/base/PvSelectButton/mocks.d.ts +21 -0
  120. package/pv-components/dist/vue/visualizations/components/base/PvSelectButton/types.d.ts +3 -0
  121. package/pv-components/dist/vue/visualizations/components/base/PvSelectableCard/PvSelectableCard.spec.d.ts +1 -0
  122. package/pv-components/dist/vue/visualizations/components/base/PvSelectableCard/PvSelectableCard.vue.d.ts +25 -0
  123. package/pv-components/dist/vue/visualizations/components/base/PvSkeleton/PvSkeleton.spec.d.ts +1 -0
  124. package/pv-components/dist/vue/visualizations/components/base/PvSkeleton/PvSkeleton.vue.d.ts +11 -0
  125. package/pv-components/dist/vue/visualizations/components/base/PvSkeleton/types.d.ts +3 -0
  126. package/pv-components/dist/vue/visualizations/components/base/PvSortableList/PvSortableList.vue.d.ts +25 -0
  127. package/pv-components/dist/vue/visualizations/components/base/PvSpinner/PvSpinner.spec.d.ts +1 -0
  128. package/pv-components/dist/vue/visualizations/components/base/PvSpinner/PvSpinner.vue.d.ts +11 -0
  129. package/pv-components/dist/vue/visualizations/components/base/PvSpinner/types.d.ts +3 -0
  130. package/pv-components/dist/vue/visualizations/components/base/PvSprite/PvSprite.vue.d.ts +9 -0
  131. package/pv-components/dist/vue/visualizations/components/base/PvSuggestionTag/PvSuggestionTag.spec.d.ts +1 -0
  132. package/pv-components/dist/vue/visualizations/components/base/PvSuggestionTag/PvSuggestionTag.vue.d.ts +31 -0
  133. package/pv-components/dist/vue/visualizations/components/base/PvSwitch/PvSwitch.spec.d.ts +1 -0
  134. package/pv-components/dist/vue/visualizations/components/base/PvSwitch/PvSwitch.vue.d.ts +22 -0
  135. package/pv-components/dist/vue/visualizations/components/base/PvSwitch/types.d.ts +2 -0
  136. package/pv-components/dist/vue/visualizations/components/base/PvTabList/PvTabList.vue.d.ts +12 -0
  137. package/pv-components/dist/vue/visualizations/components/base/PvTabs/PvTabs.spec.d.ts +1 -0
  138. package/pv-components/dist/vue/visualizations/components/base/PvTabs/PvTabs.vue.d.ts +18 -0
  139. package/pv-components/dist/vue/visualizations/components/base/PvTabs/types.d.ts +7 -0
  140. package/pv-components/dist/vue/visualizations/components/base/PvTag/PvTag.spec.d.ts +1 -0
  141. package/pv-components/dist/vue/visualizations/components/base/PvTag/PvTag.vue.d.ts +41 -0
  142. package/pv-components/dist/vue/visualizations/components/base/PvTag/types.d.ts +3 -0
  143. package/pv-components/dist/vue/visualizations/components/base/PvTextArea/PvTextArea.spec.d.ts +1 -0
  144. package/pv-components/dist/vue/visualizations/components/base/PvTextArea/PvTextArea.vue.d.ts +40 -0
  145. package/pv-components/dist/vue/visualizations/components/base/PvTextArea/types.d.ts +2 -0
  146. package/pv-components/dist/vue/visualizations/components/base/PvToast/PvToast.spec.d.ts +1 -0
  147. package/pv-components/dist/vue/visualizations/components/base/PvToast/PvToast.vue.d.ts +30 -0
  148. package/pv-components/dist/vue/visualizations/components/base/PvToast/types.d.ts +1 -0
  149. package/pv-components/dist/vue/visualizations/components/base/PvToggleButton/PvToggleButton.spec.d.ts +1 -0
  150. package/pv-components/dist/vue/visualizations/components/base/PvToggleButton/PvToggleButton.vue.d.ts +29 -0
  151. package/pv-components/dist/vue/visualizations/components/base/PvToggleButton/types.d.ts +3 -0
  152. package/pv-components/dist/vue/visualizations/components/base/PvToggleGroup/PvToggleGroup.vue.d.ts +12 -0
  153. package/pv-components/dist/vue/visualizations/components/base/PvToggleGroup/types.d.ts +12 -0
  154. package/pv-components/dist/vue/visualizations/components/base/PvTooltip/PvTooltip.spec.d.ts +1 -0
  155. package/pv-components/dist/vue/visualizations/components/base/PvTooltip/PvTooltip.vue.d.ts +36 -0
  156. package/pv-components/dist/vue/visualizations/components/base/PvTooltip/types.d.ts +4 -0
  157. package/pv-components/dist/vue/visualizations/components/base/PvTooltipV2/PvTooltipV2.vue.d.ts +28 -0
  158. package/pv-components/dist/vue/visualizations/components/base/PvTooltipV2/types.d.ts +10 -0
  159. package/pv-components/dist/vue/visualizations/components/base/PvTree/PvButtonTreeItem.vue.d.ts +33 -0
  160. package/pv-components/dist/vue/visualizations/components/base/PvTree/PvCheckboxTreeItem.vue.d.ts +33 -0
  161. package/pv-components/dist/vue/visualizations/components/base/PvTree/PvSimpleItemTree.vue.d.ts +7 -0
  162. package/pv-components/dist/vue/visualizations/components/base/PvTree/PvSimpleNestedTree.vue.d.ts +21 -0
  163. package/pv-components/dist/vue/visualizations/components/base/PvTree/PvTree.vue.d.ts +22 -0
  164. package/pv-components/dist/vue/visualizations/components/base/PvTree/PvTreeItem.vue.d.ts +23 -0
  165. package/pv-components/dist/vue/visualizations/components/base/PvTree/PvTreeReorderIcon.vue.d.ts +3 -0
  166. package/pv-components/dist/vue/visualizations/components/base/PvTree/types.d.ts +31 -0
  167. package/pv-components/dist/vue/visualizations/components/base/PvTree/useDragAndDrop.d.ts +16 -0
  168. package/pv-components/dist/vue/visualizations/components/base/PvTree/useHoverIcon.d.ts +6 -0
  169. package/pv-components/dist/vue/visualizations/components/base/PvWidget/PvWidget.spec.d.ts +1 -0
  170. package/pv-components/dist/vue/visualizations/components/base/PvWidget/PvWidget.vue.d.ts +18 -0
  171. package/pv-components/dist/vue/visualizations/components/base/baseProps.d.ts +16 -0
  172. package/pv-components/dist/vue/visualizations/components/base/index.d.ts +64 -0
  173. package/pv-components/dist/vue/visualizations/components/charts/PvChart/PvChart.vue.d.ts +48 -0
  174. package/pv-components/dist/vue/visualizations/components/charts/PvChart/constants.d.ts +2 -0
  175. package/pv-components/dist/vue/visualizations/components/charts/PvChart/functions.d.ts +42 -0
  176. package/pv-components/dist/vue/visualizations/components/charts/PvChart/types.d.ts +25 -0
  177. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/PvDataTableWithChart.spec.d.ts +1 -0
  178. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/PvDataTableWithChart.vue.d.ts +39 -0
  179. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/constants.d.ts +5 -0
  180. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/helpers.d.ts +14 -0
  181. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/helpers.spec.d.ts +1 -0
  182. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/table-chart-components/PvChartOptionsPanel.vue.d.ts +22 -0
  183. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +75 -0
  184. package/pv-components/dist/vue/visualizations/components/charts/PvMapChart/PvMapChart.vue.d.ts +45 -0
  185. package/pv-components/dist/vue/visualizations/components/charts/chart-components/maps/MapGradient.vue.d.ts +11 -0
  186. package/pv-components/dist/vue/visualizations/components/charts/chart-components/maps/MapRegionSelector.vue.d.ts +16 -0
  187. package/pv-components/dist/vue/visualizations/components/charts/chart-components/maps/topologies/alaskaStateTopology.d.ts +20 -0
  188. package/pv-components/dist/vue/visualizations/components/charts/chart-components/maps/topologies/hawaiiStateTopology.d.ts +20 -0
  189. package/pv-components/dist/vue/visualizations/components/charts/chart-components/maps/topologies/usStateTopology.d.ts +28 -0
  190. package/pv-components/dist/vue/visualizations/components/charts/chart-components/maps/useTopology.d.ts +8 -0
  191. package/pv-components/dist/vue/visualizations/components/charts/themes.d.ts +6 -0
  192. package/pv-components/dist/vue/visualizations/components/layout/PvSidePanel/PvSidePanel.spec.d.ts +1 -0
  193. package/pv-components/dist/vue/visualizations/components/layout/PvSidePanel/PvSidePanel.vue.d.ts +24 -0
  194. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/PvDataTable.spec.d.ts +1 -0
  195. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/PvDataTable.vue.d.ts +38 -0
  196. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/helpers.d.ts +24 -0
  197. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/helpers.spec.d.ts +1 -0
  198. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/ExportMenu.vue.d.ts +16 -0
  199. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/FilterPanel.spec.d.ts +1 -0
  200. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/FilterPanel.vue.d.ts +23 -0
  201. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/GroupAggCellRenderer.vue.d.ts +17 -0
  202. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/GroupBySelector.vue.d.ts +17 -0
  203. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/GroupedCellRenderer.vue.d.ts +16 -0
  204. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/HeaderCellRenderer.vue.d.ts +12 -0
  205. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/PaginationPanel.vue.d.ts +16 -0
  206. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/RowCountCellRenderer.vue.d.ts +17 -0
  207. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/RowLoadingCellRenderer.vue.d.ts +3 -0
  208. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/SetFilter.spec.d.ts +1 -0
  209. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/SetFilter.vue.d.ts +35 -0
  210. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/TableSearch.vue.d.ts +8 -0
  211. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/TableTooltip.vue.d.ts +7 -0
  212. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/TagCellRenderer.vue.d.ts +7 -0
  213. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/formatting.d.ts +29 -0
  214. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/formatting.spec.d.ts +1 -0
  215. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +352 -0
  216. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useFilterStore.d.ts +45 -0
  217. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useFilterStore.spec.d.ts +1 -0
  218. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useFocus.d.ts +27 -0
  219. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useFocus.spec.d.ts +1 -0
  220. package/pv-components/dist/vue/visualizations/components/tables/symbols.d.ts +54 -0
  221. package/pv-components/dist/vue/visualizations/components/tables/themes.d.ts +3 -0
  222. package/pv-components/dist/vue/visualizations/components/visualizations/index.d.ts +1 -1
@@ -0,0 +1,66 @@
1
+ import { CSSProperties, Ref, ComputedRef } from 'vue';
2
+ export interface PopoverComponent {
3
+ popoverRef: PopoverRefElement;
4
+ }
5
+ export interface TriggerComponent {
6
+ triggerRef: HTMLElement | null;
7
+ }
8
+ export interface PopoverRefElement {
9
+ popoverRoot: HTMLElement | null;
10
+ }
11
+ export declare const useMenuPosition: ({ alignment, useTeleport, popoverCssProperties, }?: {
12
+ alignment?: "top" | "right" | "top right";
13
+ useTeleport?: boolean;
14
+ popoverCssProperties?: CSSProperties;
15
+ }) => {
16
+ triggerRef: Ref<HTMLElement | null, HTMLElement | null>;
17
+ popoverRef: Ref<{
18
+ popoverRoot: HTMLElement | null;
19
+ } | null, PopoverRefElement | {
20
+ popoverRoot: HTMLElement | null;
21
+ } | null>;
22
+ triggerRect: Ref<{
23
+ height: number;
24
+ width: number;
25
+ x: number;
26
+ y: number;
27
+ readonly bottom: number;
28
+ readonly left: number;
29
+ readonly right: number;
30
+ readonly top: number;
31
+ toJSON: () => any;
32
+ } | null, DOMRect | {
33
+ height: number;
34
+ width: number;
35
+ x: number;
36
+ y: number;
37
+ readonly bottom: number;
38
+ readonly left: number;
39
+ readonly right: number;
40
+ readonly top: number;
41
+ toJSON: () => any;
42
+ } | null>;
43
+ popoverRect: Ref<{
44
+ height: number;
45
+ width: number;
46
+ x: number;
47
+ y: number;
48
+ readonly bottom: number;
49
+ readonly left: number;
50
+ readonly right: number;
51
+ readonly top: number;
52
+ toJSON: () => any;
53
+ } | null, DOMRect | {
54
+ height: number;
55
+ width: number;
56
+ x: number;
57
+ y: number;
58
+ readonly bottom: number;
59
+ readonly left: number;
60
+ readonly right: number;
61
+ readonly top: number;
62
+ toJSON: () => any;
63
+ } | null>;
64
+ popoverPositionStyle: ComputedRef<CSSProperties | undefined>;
65
+ updateRects: () => void;
66
+ };
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom/vitest";
@@ -0,0 +1,30 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ export interface ModalProps {
3
+ header: string;
4
+ subheader?: string;
5
+ disableCloseOnClickOutside?: boolean;
6
+ hideFooter?: boolean;
7
+ }
8
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
9
+ modelValue: boolean;
10
+ } & ModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
11
+ "update:modelValue": (value: boolean) => any;
12
+ }, string, PublicProps, Readonly<{
13
+ modelValue: boolean;
14
+ } & ModalProps> & Readonly<{
15
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
16
+ }>, {
17
+ disableCloseOnClickOutside: boolean;
18
+ hideFooter: boolean;
19
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
20
+ dialog: HTMLDialogElement;
21
+ }, HTMLDialogElement>, {
22
+ body?(_: {}): any;
23
+ footer?(_: {}): any;
24
+ }>;
25
+ export default _default;
26
+ type __VLS_WithTemplateSlots<T, S> = T & {
27
+ new (): {
28
+ $slots: S;
29
+ };
30
+ };
@@ -0,0 +1,126 @@
1
+ import { PvMultiSelectButtonProps, PvSelectButtonVariant, PvSelectButtonSize, MenuActionsVariant } from './types';
2
+ import { MenuOption, MenuAction } from '../../../types';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, CSSProperties, Component, VNode } from 'vue';
4
+ import { PvPopoverV2Props } from '../PvPopoverV2/types';
5
+ import { PvCounterBadgeVariant } from '../PvCounterBadge/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<Pick<Partial<{}> & Omit<{
8
+ readonly "onDropdown-open"?: (() => any) | undefined;
9
+ readonly "onDropdown-closed"?: (() => any) | undefined;
10
+ readonly "onUpdate:modelValue"?: ((value: MenuOption<T>[]) => any) | undefined;
11
+ readonly "onUpdate:searchInput"?: ((value: string) => any) | undefined;
12
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onDropdown-open" | "onDropdown-closed" | "onUpdate:modelValue" | "onUpdate:searchInput"> & ({
13
+ modelValue?: MenuOption<T>[];
14
+ searchInput?: string;
15
+ } & PvMultiSelectButtonProps<T, Record<string, unknown>>) & Partial<{}>> & PublicProps;
16
+ expose(exposed: ShallowUnwrapRef<{}>): void;
17
+ attrs: any;
18
+ slots: Partial<Record<string, (_: {}) => any>> & {
19
+ header?(_: {
20
+ selectedItems: MenuOption<T>[];
21
+ searchInput: string;
22
+ slotContext: Record<string, unknown> | undefined;
23
+ isOpen: boolean;
24
+ isLoading: boolean;
25
+ groupings: string[];
26
+ defaultOpen: boolean;
27
+ disabled: boolean;
28
+ teleportLocation: string;
29
+ popoverProperties: PvPopoverV2Props;
30
+ popoverCssProperties: CSSProperties;
31
+ prefixLabel: string;
32
+ icon: string;
33
+ companyLogo: string;
34
+ searchPlaceholder: string;
35
+ overlayTrigger: boolean;
36
+ optionsRenderer: Component;
37
+ optionsAction: MenuAction<T> | undefined;
38
+ counterBadgeVariant: PvCounterBadgeVariant;
39
+ counterPosition: "none" | "right" | "left";
40
+ variant: PvSelectButtonVariant;
41
+ size: PvSelectButtonSize;
42
+ label: string;
43
+ disableDropdownIcon: boolean;
44
+ disableClearIcon: boolean;
45
+ disableSearchInput: boolean;
46
+ optionsVariant: "icon" | "checkbox" | "simple" | "company" | "avatar";
47
+ options: MenuOption<T>[];
48
+ menuActionsVariant: MenuActionsVariant | null;
49
+ highlightSearchText: boolean;
50
+ }): any;
51
+ 'no-results'?(_: {
52
+ selectedItems: MenuOption<T>[];
53
+ searchInput: string;
54
+ slotContext: Record<string, unknown> | undefined;
55
+ isOpen: boolean;
56
+ isLoading: boolean;
57
+ groupings: string[];
58
+ defaultOpen: boolean;
59
+ disabled: boolean;
60
+ teleportLocation: string;
61
+ popoverProperties: PvPopoverV2Props;
62
+ popoverCssProperties: CSSProperties;
63
+ prefixLabel: string;
64
+ icon: string;
65
+ companyLogo: string;
66
+ searchPlaceholder: string;
67
+ overlayTrigger: boolean;
68
+ optionsRenderer: Component;
69
+ optionsAction: MenuAction<T> | undefined;
70
+ counterBadgeVariant: PvCounterBadgeVariant;
71
+ counterPosition: "none" | "right" | "left";
72
+ variant: PvSelectButtonVariant;
73
+ size: PvSelectButtonSize;
74
+ label: string;
75
+ disableDropdownIcon: boolean;
76
+ disableClearIcon: boolean;
77
+ disableSearchInput: boolean;
78
+ optionsVariant: "icon" | "checkbox" | "simple" | "company" | "avatar";
79
+ options: MenuOption<T>[];
80
+ menuActionsVariant: MenuActionsVariant | null;
81
+ highlightSearchText: boolean;
82
+ }): any;
83
+ footer?(_: {
84
+ selectedItems: MenuOption<T>[];
85
+ searchInput: string;
86
+ slotContext: Record<string, unknown> | undefined;
87
+ isOpen: boolean;
88
+ isLoading: boolean;
89
+ groupings: string[];
90
+ defaultOpen: boolean;
91
+ disabled: boolean;
92
+ teleportLocation: string;
93
+ popoverProperties: PvPopoverV2Props;
94
+ popoverCssProperties: CSSProperties;
95
+ prefixLabel: string;
96
+ icon: string;
97
+ companyLogo: string;
98
+ searchPlaceholder: string;
99
+ overlayTrigger: boolean;
100
+ optionsRenderer: Component;
101
+ optionsAction: MenuAction<T> | undefined;
102
+ counterBadgeVariant: PvCounterBadgeVariant;
103
+ counterPosition: "none" | "right" | "left";
104
+ variant: PvSelectButtonVariant;
105
+ size: PvSelectButtonSize;
106
+ label: string;
107
+ disableDropdownIcon: boolean;
108
+ disableClearIcon: boolean;
109
+ disableSearchInput: boolean;
110
+ optionsVariant: "icon" | "checkbox" | "simple" | "company" | "avatar";
111
+ options: MenuOption<T>[];
112
+ menuActionsVariant: MenuActionsVariant | null;
113
+ highlightSearchText: boolean;
114
+ }): any;
115
+ };
116
+ emit: {
117
+ (e: "dropdown-open"): void;
118
+ (e: "dropdown-closed"): void;
119
+ } & (((evt: "update:modelValue", value: MenuOption<T>[]) => void) & ((evt: "update:searchInput", value: string) => void));
120
+ }>) => VNode & {
121
+ __ctx?: Awaited<typeof __VLS_setup>;
122
+ };
123
+ export default _default;
124
+ type __VLS_PrettifyLocal<T> = {
125
+ [K in keyof T]: T[K];
126
+ } & {};
@@ -0,0 +1,15 @@
1
+ import { MenuOption } from '../../../types';
2
+ export declare const simpleOptions: {
3
+ id: string;
4
+ text: string;
5
+ }[];
6
+ export declare const companyOption: {
7
+ id: string;
8
+ text: string;
9
+ companyName: string;
10
+ }[];
11
+ export declare const checkboxOptions: {
12
+ id: string;
13
+ text: string;
14
+ }[];
15
+ export declare const checkboxOptionsWithGroups: MenuOption[];
@@ -0,0 +1,48 @@
1
+ import { PvSize, PvVariants } from '../baseProps';
2
+ import { PvPopoverV2Props } from '../PvPopoverV2/types.ts';
3
+ import { Component, CSSProperties } from 'vue';
4
+ import { MenuAction, MenuOption, MenuOptionsVariant } from '../../../types.ts';
5
+ import { PvCounterBadgeVariant } from '../PvCounterBadge/types.ts';
6
+ export type PvSelectButtonVariant = Extract<PvVariants, "secondary" | "ghost">;
7
+ export type PvSelectButtonSize = Extract<PvSize, "lg" | "xl">;
8
+ export type MenuActionsVariant = "select-clear" | "cancel-confirm";
9
+ export interface PvMultiSelectButtonProps<T = unknown, SlotContext extends Record<string, unknown> = Record<string, unknown>> {
10
+ groupings?: string[];
11
+ defaultOpen?: boolean;
12
+ disabled?: boolean;
13
+ teleportLocation?: string;
14
+ isLoading?: boolean;
15
+ variant?: PvSelectButtonVariant;
16
+ size?: PvSelectButtonSize;
17
+ popoverProperties?: PvPopoverV2Props;
18
+ popoverCssProperties?: CSSProperties;
19
+ prefixLabel?: string;
20
+ label?: string;
21
+ icon?: string;
22
+ counterPosition?: "left" | "right" | "none";
23
+ companyLogo?: string;
24
+ disableClearIcon?: boolean;
25
+ disableDropdownIcon?: boolean;
26
+ disableSearchInput?: boolean;
27
+ searchPlaceholder?: string;
28
+ overlayTrigger?: boolean;
29
+ optionsVariant?: Exclude<MenuOptionsVariant, "radio">;
30
+ options?: MenuOption<T>[];
31
+ optionsRenderer?: Component;
32
+ optionsAction?: MenuAction<T>;
33
+ menuActionsVariant?: MenuActionsVariant | null;
34
+ /** Variant of the counter badge which appears on the button and menu items */
35
+ counterBadgeVariant?: PvCounterBadgeVariant;
36
+ /** Additional context to pass to slot components */
37
+ slotContext?: SlotContext;
38
+ /** Whether to highlight the search text in the options list */
39
+ highlightSearchText?: boolean;
40
+ }
41
+ export interface PvMultiSelectButtonSlotProps<T = unknown, SlotContext = Record<string, unknown>> extends Omit<PvMultiSelectButtonProps, "slotContext"> {
42
+ searchInput?: string;
43
+ selectedItems?: MenuOption<T>[];
44
+ /** Additional context passed through from slotContext prop */
45
+ slotContext?: SlotContext;
46
+ /** Whether the dropdown is currently open */
47
+ isOpen?: boolean;
48
+ }
@@ -0,0 +1,21 @@
1
+ import { PvPaginationSize, PvPaginationVariant } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ interface PvPaginationProps {
4
+ size?: PvPaginationSize;
5
+ maxPages: number;
6
+ maxNumberToShow?: number;
7
+ variant?: PvPaginationVariant;
8
+ }
9
+ type __VLS_Props = PvPaginationProps;
10
+ type __VLS_PublicProps = {
11
+ modelValue: number;
12
+ } & __VLS_Props;
13
+ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
14
+ "update:modelValue": (value: number) => any;
15
+ }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
16
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
17
+ }>, {
18
+ size: PvPaginationSize;
19
+ variant: PvPaginationVariant;
20
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLOListElement>;
21
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { PvSize } from '../baseProps';
2
+ export type PvPaginationSize = Extract<PvSize, "lg" | "xl">;
3
+ export type PvPaginationVariant = "short" | "long";
@@ -0,0 +1,12 @@
1
+ import { PvPaginationVariant } from './types';
2
+ export declare const usePagination: ({ variant, }?: {
3
+ variant?: PvPaginationVariant;
4
+ }) => {
5
+ getPaginations: ({ currentPage, pages, }: {
6
+ currentPage: number;
7
+ pages: number;
8
+ }) => {
9
+ page: number;
10
+ label: string;
11
+ }[];
12
+ };
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom/vitest";
@@ -0,0 +1,31 @@
1
+ import { PillSize, PillVariant, PillDotVariant } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ export interface PvPillProps {
4
+ /**
5
+ * @default 'Medium'
6
+ * Tag size
7
+ */
8
+ size?: PillSize;
9
+ /**
10
+ * @default 'Tertiary'
11
+ * Tag Variant
12
+ */
13
+ variant?: PillVariant;
14
+ /**
15
+ * Tag Icon
16
+ */
17
+ icon?: string;
18
+ /**
19
+ * Dot Variant
20
+ */
21
+ dotVariant?: PillDotVariant;
22
+ /**
23
+ * Tag Label
24
+ */
25
+ label: string;
26
+ }
27
+ declare const _default: DefineComponent<PvPillProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvPillProps> & Readonly<{}>, {
28
+ size: PillSize;
29
+ variant: PillVariant;
30
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
31
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import { PvColorVariants, PvSize } from '../baseProps';
2
+ export type PillSize = Extract<PvSize, "md" | "lg" | "sm">;
3
+ export type PillVariant = Extract<PvColorVariants, "default" | "success" | "warning" | "critical" | "highlight">;
4
+ export type PillDotVariant = "green" | "orange" | "yellow" | "red";
@@ -0,0 +1,31 @@
1
+ import { CSSProperties, DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ export interface PvPopoverProps {
3
+ alignment?: "top" | "right" | "top right" | undefined;
4
+ cssCustomProperties?: CSSProperties;
5
+ cssCustomListProperties?: CSSProperties;
6
+ isList?: boolean;
7
+ isSortable?: boolean;
8
+ }
9
+ declare const _default: __VLS_WithTemplateSlots< DefineComponent<PvPopoverProps, {
10
+ popoverRoot: Ref<HTMLElement | null, HTMLElement | null>;
11
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
12
+ "list-order-updated": (value: string[]) => any;
13
+ }, string, PublicProps, Readonly<PvPopoverProps> & Readonly<{
14
+ "onList-order-updated"?: ((value: string[]) => any) | undefined;
15
+ }>, {
16
+ alignment: "top" | "right" | "top right";
17
+ cssCustomProperties: CSSProperties;
18
+ isList: boolean;
19
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
20
+ popoverRoot: HTMLDivElement;
21
+ popoverList: HTMLUListElement;
22
+ }, HTMLDivElement>, {
23
+ default?(_: {}): any;
24
+ default?(_: {}): any;
25
+ }>;
26
+ export default _default;
27
+ type __VLS_WithTemplateSlots<T, S> = T & {
28
+ new (): {
29
+ $slots: S;
30
+ };
31
+ };
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom/vitest";
@@ -0,0 +1,26 @@
1
+ import { CSSProperties, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ type __VLS_Props = {
3
+ alignment?: "top" | "right" | "top right" | undefined;
4
+ cssCustomProperties?: CSSProperties;
5
+ };
6
+ declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
8
+ slots: {
9
+ trigger?(_: {}): any;
10
+ content?(_: {}): any;
11
+ };
12
+ refs: {};
13
+ rootEl: HTMLElement;
14
+ };
15
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
+ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
17
+ alignment: "top" | "right" | "top right";
18
+ cssCustomProperties: CSSProperties;
19
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
20
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
21
+ export default _default;
22
+ type __VLS_WithTemplateSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,47 @@
1
+ import { PvPopoverV2Props } from './types.ts';
2
+ import { PvAlignmentPositions } from '../baseProps.ts';
3
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
+ import { Strategy } from '@floating-ui/utils';
5
+ type __VLS_Props = PvPopoverV2Props;
6
+ type __VLS_PublicProps = {
7
+ modelValue?: boolean;
8
+ } & __VLS_Props;
9
+ declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
11
+ slots: {
12
+ trigger?(_: {}): any;
13
+ content?(_: {}): any;
14
+ };
15
+ refs: {
16
+ triggerWrapper: HTMLDivElement;
17
+ floating: HTMLDivElement;
18
+ };
19
+ rootEl: HTMLDivElement;
20
+ };
21
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
+ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
23
+ "update:modelValue": (value: boolean) => any;
24
+ }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
25
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
26
+ }>, {
27
+ position: PvAlignmentPositions;
28
+ useTeleport: boolean;
29
+ teleportLocation: string;
30
+ delay: number;
31
+ disableAutoPlacement: boolean;
32
+ positioningStrategy: Strategy;
33
+ showOnHover: boolean;
34
+ disableInteractive: boolean;
35
+ disableClickOutsideToClose: boolean;
36
+ zIndex: number;
37
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
38
+ triggerWrapper: HTMLDivElement;
39
+ floating: HTMLDivElement;
40
+ }, HTMLDivElement>;
41
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
42
+ export default _default;
43
+ type __VLS_WithTemplateSlots<T, S> = T & {
44
+ new (): {
45
+ $slots: S;
46
+ };
47
+ };
@@ -0,0 +1,20 @@
1
+ import { Strategy } from '@floating-ui/vue';
2
+ import { PvAlignmentPositions } from '../baseProps.ts';
3
+ export interface PvPopoverV2Props {
4
+ disableAutoPlacement?: boolean;
5
+ position?: PvAlignmentPositions;
6
+ positioningStrategy?: Strategy;
7
+ showOnHover?: boolean;
8
+ disableInteractive?: boolean;
9
+ useTeleport?: boolean;
10
+ disableClickOutsideToClose?: boolean;
11
+ delay?: number;
12
+ zIndex?: number;
13
+ teleportLocation?: string;
14
+ /**
15
+ * offset distance in pixels between the popover and the reference element.
16
+ * The offset is applied in the logical direction of the popover's placement (e.g., along the top/bottom/left/right
17
+ * placement axis): positive values move the popover further away from the reference element, and negative values move
18
+ */
19
+ offset?: number;
20
+ }
@@ -0,0 +1,8 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ interface PvProgressBarProps {
3
+ progress?: number;
4
+ showLabel?: boolean;
5
+ disabled?: boolean;
6
+ }
7
+ declare const _default: DefineComponent<PvProgressBarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvProgressBarProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
8
+ export default _default;
@@ -0,0 +1,44 @@
1
+ import { QueryBuilderOutput, QueryBuilderProcessor, QueryBuilderSuggestionMenuOption } from './useQueryBuilder';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ export interface PvQueryBuilderInputProps {
4
+ placeholder?: string;
5
+ disabled?: boolean;
6
+ displayShortcut?: boolean;
7
+ processor?: QueryBuilderProcessor;
8
+ optionsLoading?: boolean;
9
+ /** When true, users can add any text without requiring an option to be selected */
10
+ enableCustomOptionsInput?: boolean;
11
+ hideSearchIcon?: boolean;
12
+ hideClearButton?: boolean;
13
+ queryTermDisplayLimit?: number;
14
+ enableWrapQueryTerms?: boolean;
15
+ }
16
+ type __VLS_Props = PvQueryBuilderInputProps;
17
+ type __VLS_PublicProps = {
18
+ "searchText"?: string;
19
+ "query": QueryBuilderOutput | null;
20
+ "options"?: QueryBuilderSuggestionMenuOption[];
21
+ } & __VLS_Props;
22
+ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
23
+ "update:options": (value: QueryBuilderSuggestionMenuOption[]) => any;
24
+ "update:searchText": (value: string) => any;
25
+ "update:query": (value: QueryBuilderOutput | null) => any;
26
+ }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
27
+ "onUpdate:options"?: ((value: QueryBuilderSuggestionMenuOption[]) => any) | undefined;
28
+ "onUpdate:searchText"?: ((value: string) => any) | undefined;
29
+ "onUpdate:query"?: ((value: QueryBuilderOutput | null) => any) | undefined;
30
+ }>, {
31
+ placeholder: string;
32
+ disabled: boolean;
33
+ queryTermDisplayLimit: number;
34
+ processor: QueryBuilderProcessor;
35
+ optionsLoading: boolean;
36
+ enableCustomOptionsInput: boolean;
37
+ hideSearchIcon: boolean;
38
+ hideClearButton: boolean;
39
+ enableWrapQueryTerms: boolean;
40
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
41
+ 'query-builder-input': HTMLDivElement;
42
+ 'search-input': HTMLInputElement;
43
+ }, HTMLDivElement>;
44
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { QueryTerm } from './useQueryBuilder';
2
+ import { MenuOption } from '../../../types';
3
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
+ type __VLS_Props = MenuOption<QueryTerm>;
5
+ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
6
+ queryOptionText: HTMLParagraphElement;
7
+ }, HTMLDivElement>;
8
+ export default _default;
@@ -0,0 +1,20 @@
1
+ import { QueryBuilderOutput } from './useQueryBuilder';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ interface QueryFormatterProps {
4
+ queryTermDisplayLimit?: number;
5
+ }
6
+ type __VLS_Props = QueryFormatterProps;
7
+ type __VLS_PublicProps = {
8
+ modelValue: QueryBuilderOutput | null;
9
+ "wrap-content"?: boolean;
10
+ } & __VLS_Props;
11
+ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
12
+ "update:modelValue": (value: QueryBuilderOutput | null) => any;
13
+ "update:wrap-content": (value: boolean) => any;
14
+ }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
15
+ "onUpdate:modelValue"?: ((value: QueryBuilderOutput | null) => any) | undefined;
16
+ "onUpdate:wrap-content"?: ((value: boolean) => any) | undefined;
17
+ }>, {
18
+ queryTermDisplayLimit: number;
19
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
20
+ export default _default;
@@ -0,0 +1,44 @@
1
+ import { MenuOption } from '../../../types';
2
+ export type QueryBuilderProcessor = "full" | "field-only";
3
+ export interface QueryBuilderOutput {
4
+ queryTerms: QueryTerm[];
5
+ freeTextTerms?: string[];
6
+ }
7
+ export interface QueryTerm {
8
+ queryField?: string;
9
+ queryDisplayField?: string;
10
+ exactMatch?: boolean;
11
+ queryText?: string;
12
+ }
13
+ export interface QueryBuilderSuggestionMenuOption extends MenuOption {
14
+ queryTerm?: QueryTerm;
15
+ }
16
+ /**
17
+ * The filter model is structured as follows:
18
+ * For single conditions
19
+ * {
20
+ * [field]: {
21
+ * filterType: "text",
22
+ * type: "equals" | "contains",
23
+ * filter: string,
24
+ * },
25
+ * }
26
+ * For multiple conditions on the same field, it will be structured as:
27
+ * {
28
+ * [field]: {
29
+ * filterType: "text",
30
+ * operator: 'OR',
31
+ * conditions: [
32
+ * {
33
+ * type: "equals" | "contains",
34
+ * filter: string,
35
+ * }
36
+ * ]
37
+ * },
38
+ * }
39
+ */
40
+ export declare const useQueryBuilder: () => {
41
+ addQueryOption: (query: QueryBuilderOutput | null, option: QueryBuilderSuggestionMenuOption) => QueryBuilderOutput | null;
42
+ containsQueryOption: (query: QueryBuilderOutput | null, option: QueryBuilderSuggestionMenuOption) => boolean;
43
+ removeQueryOption: (query: QueryBuilderOutput | null, option: QueryBuilderSuggestionMenuOption) => QueryBuilderOutput | null;
44
+ };
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom";