@turquoisehealth/pit-viper 2.131.0 → 2.133.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_site/assets/css/pit-viper-a11y.css +3 -3
- package/_site/assets/css/pit-viper-v2-scoped.css +3 -3
- package/_site/assets/css/pit-viper-v2.css +3 -3
- package/_site/assets/css/pit-viper.css +2 -2
- package/package.json +1 -1
- package/pv-components/dist/stats/vue/base/stats.html +1 -1
- package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
- package/pv-components/dist/stats/web/pv-company-label-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-company-logo-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-company-tag-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-date-picker-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-date-time-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-drawer-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-dropdown-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-popover-menu-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-popover-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-popover-v2-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-search-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-skeleton-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tree-stats.html +1 -1
- package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuItem.vue.d.ts +2 -2
- package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuItemVariant.vue.d.ts +2 -2
- package/pv-components/dist/vue/base/pv-components-base.mjs +4 -4
- package/pv-components/dist/vue/base/types.d.ts +2 -2
- package/pv-components/dist/vue/charts/pv-components-charts.d.ts +491 -0
- package/pv-components/dist/vue/charts/pv-components-charts.js +259 -0
- package/pv-components/dist/vue/charts/pv-components-charts.mjs +121834 -0
- package/pv-components/dist/vue/charts/pv-components-charts.umd.js +259 -0
- package/pv-components/dist/vue/tables/pv-components-tables.d.ts +299 -0
- package/pv-components/dist/vue/tables/pv-components-tables.js +223 -0
- package/pv-components/dist/vue/tables/pv-components-tables.mjs +47028 -0
- package/pv-components/dist/vue/tables/pv-components-tables.umd.js +223 -0
- package/pv-components/dist/vue/visualizations/components/base/PvAccordion/PvAccordion.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvAccordion/PvAccordion.vue.d.ts +49 -0
- package/pv-components/dist/vue/visualizations/components/base/PvAccordion/types.d.ts +5 -0
- package/pv-components/dist/vue/visualizations/components/base/PvActionBar/PvActionBar.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvActionBar/PvActionBar.vue.d.ts +34 -0
- package/pv-components/dist/vue/visualizations/components/base/PvActionBar/types.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/base/PvAiButton/PvAiButton.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvAiButton/PvAiButton.vue.d.ts +13 -0
- package/pv-components/dist/vue/visualizations/components/base/PvAiButton/types.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/base/PvAvatar/PvAvatar.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvAvatar/PvAvatar.vue.d.ts +13 -0
- package/pv-components/dist/vue/visualizations/components/base/PvAvatar/types.d.ts +3 -0
- package/pv-components/dist/vue/visualizations/components/base/PvAvatarGroup/PvAvatarGroup.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvAvatarGroup/PvAvatarGroup.vue.d.ts +8 -0
- package/pv-components/dist/vue/visualizations/components/base/PvAvatarGroup/types.d.ts +5 -0
- package/pv-components/dist/vue/visualizations/components/base/PvBanner/PvBanner.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvBanner/PvBanner.vue.d.ts +30 -0
- package/pv-components/dist/vue/visualizations/components/base/PvBanner/types.d.ts +11 -0
- package/pv-components/dist/vue/visualizations/components/base/PvBreadcrumbs/PvBreadcrumbs.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvBreadcrumbs/PvBreadcrumbs.vue.d.ts +7 -0
- package/pv-components/dist/vue/visualizations/components/base/PvBreadcrumbs/types.d.ts +4 -0
- package/pv-components/dist/vue/visualizations/components/base/PvButton/PvButton.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvButton/PvButton.vue.d.ts +10 -0
- package/pv-components/dist/vue/visualizations/components/base/PvButton/PvButtonWithTooltip.vue.d.ts +8 -0
- package/pv-components/dist/vue/visualizations/components/base/PvButton/helpers.d.ts +3 -0
- package/pv-components/dist/vue/visualizations/components/base/PvButton/types.d.ts +28 -0
- package/pv-components/dist/vue/visualizations/components/base/PvCard/PvCard.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvCard/PvCard.vue.d.ts +27 -0
- package/pv-components/dist/vue/visualizations/components/base/PvCard/types.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/base/PvCheckbox/PvCheckbox.vue.d.ts +17 -0
- package/pv-components/dist/vue/visualizations/components/base/PvCompanyLabel/PvCompanyLabel.vue.d.ts +11 -0
- package/pv-components/dist/vue/visualizations/components/base/PvCompanyLabel/types.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/base/PvCompanyLogo/PvCompanyLogo.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvCompanyLogo/PvCompanyLogo.vue.d.ts +15 -0
- package/pv-components/dist/vue/visualizations/components/base/PvCompanyLogo/types.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/base/PvCompanyTag/PvCompanyTag.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvCompanyTag/PvCompanyTag.vue.d.ts +27 -0
- package/pv-components/dist/vue/visualizations/components/base/PvComponentsConfig/primeVue.config.d.ts +14 -0
- package/pv-components/dist/vue/visualizations/components/base/PvComponentsConfig/usePvComponents.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/base/PvCounterBadge/PvCounterBadge.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvCounterBadge/PvCounterBadge.vue.d.ts +16 -0
- package/pv-components/dist/vue/visualizations/components/base/PvCounterBadge/types.d.ts +3 -0
- package/pv-components/dist/vue/visualizations/components/base/PvDatePicker/PvDatePicker.vue.d.ts +119 -0
- package/pv-components/dist/vue/visualizations/components/base/PvDateTime/PvDateTime.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvDateTime/PvDateTime.vue.d.ts +14 -0
- package/pv-components/dist/vue/visualizations/components/base/PvDateTime/useDateTime.d.ts +9 -0
- package/pv-components/dist/vue/visualizations/components/base/PvDateTime/useDateTime.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvDistributionBar/PvDistributionBar.vue.d.ts +6 -0
- package/pv-components/dist/vue/visualizations/components/base/PvDrawer/PvDrawer.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvDrawer/PvDrawer.vue.d.ts +48 -0
- package/pv-components/dist/vue/visualizations/components/base/PvDropdown/PvDropdown.vue.d.ts +117 -0
- package/pv-components/dist/vue/visualizations/components/base/PvExpandableContent/PvExpandableContent.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvExpandableContent/PvExpandableContent.vue.d.ts +30 -0
- package/pv-components/dist/vue/visualizations/components/base/PvExpandableContent/types.d.ts +3 -0
- package/pv-components/dist/vue/visualizations/components/base/PvGhostInput/PvGhostInput.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvGhostInput/PvGhostInput.vue.d.ts +39 -0
- package/pv-components/dist/vue/visualizations/components/base/PvGhostInput/types.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/base/PvIcon/PvIcon.vue.d.ts +10 -0
- package/pv-components/dist/vue/visualizations/components/base/PvInput/PvInput.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvInput/PvInput.vue.d.ts +40 -0
- package/pv-components/dist/vue/visualizations/components/base/PvInput/types.d.ts +3 -0
- package/pv-components/dist/vue/visualizations/components/base/PvInsightCard/PvInsightCard.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvInsightCard/PvInsightCard.vue.d.ts +22 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMenu/PvMenu.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMenu/PvMenu.vue.d.ts +183 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMenu/PvMenuControlPanel.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMenu/PvMenuControlPanel.vue.d.ts +18 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMenu/PvMenuEmptyState.vue.d.ts +3 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuBaseItem.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuBaseItem.vue.d.ts +11 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuItem.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuItem.vue.d.ts +16 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuItemAction.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuItemAction.vue.d.ts +8 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMenu/items/PvMenuItemVariant.vue.d.ts +14 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMenu/useMenuPosition.d.ts +66 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMenu/useMenuPosition.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvModal/PvModal.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvModal/PvModal.vue.d.ts +30 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +126 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/mocks.d.ts +15 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/types.d.ts +48 -0
- package/pv-components/dist/vue/visualizations/components/base/PvPagination/PvPagination.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvPagination/PvPagination.vue.d.ts +21 -0
- package/pv-components/dist/vue/visualizations/components/base/PvPagination/types.d.ts +3 -0
- package/pv-components/dist/vue/visualizations/components/base/PvPagination/usePagination.d.ts +12 -0
- package/pv-components/dist/vue/visualizations/components/base/PvPagination/usePagination.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvPill/PvPill.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvPill/PvPill.vue.d.ts +31 -0
- package/pv-components/dist/vue/visualizations/components/base/PvPill/types.d.ts +4 -0
- package/pv-components/dist/vue/visualizations/components/base/PvPopover/PvPopover.vue.d.ts +31 -0
- package/pv-components/dist/vue/visualizations/components/base/PvPopoverMenu/PvPopoverMenu.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvPopoverMenu/PvPopoverMenu.vue.d.ts +26 -0
- package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +47 -0
- package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/types.d.ts +21 -0
- package/pv-components/dist/vue/visualizations/components/base/PvProgressBar/PvProgressBar.vue.d.ts +8 -0
- package/pv-components/dist/vue/visualizations/components/base/PvQueryBuilderInput/PvQueryBuilderInput.vue.d.ts +44 -0
- package/pv-components/dist/vue/visualizations/components/base/PvQueryBuilderInput/QueryBuilderMenuOptionRenderer.vue.d.ts +8 -0
- package/pv-components/dist/vue/visualizations/components/base/PvQueryBuilderInput/QueryFormatter.vue.d.ts +20 -0
- package/pv-components/dist/vue/visualizations/components/base/PvQueryBuilderInput/useQueryBuilder.d.ts +44 -0
- package/pv-components/dist/vue/visualizations/components/base/PvQueryBuilderInput/useQueryBuilder.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvRating/PvRating.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvRating/PvRating.vue.d.ts +12 -0
- package/pv-components/dist/vue/visualizations/components/base/PvRating/types.d.ts +4 -0
- package/pv-components/dist/vue/visualizations/components/base/PvReleaseBadge/PvReleaseBadge.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvReleaseBadge/PvReleaseBadge.vue.d.ts +8 -0
- package/pv-components/dist/vue/visualizations/components/base/PvReleaseBadge/types.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSearchInput/PvSearchInput.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSearchInput/PvSearchInput.vue.d.ts +26 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSegmentedControl/PvSegmentedControl.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSegmentedControl/PvSegmentedControl.vue.d.ts +19 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSegmentedControl/types.d.ts +8 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSelectButton/PvSelectButton.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSelectButton/PvSelectButton.vue.d.ts +53 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.vue.d.ts +30 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSelectButton/mocks.d.ts +21 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSelectButton/types.d.ts +3 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSelectableCard/PvSelectableCard.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSelectableCard/PvSelectableCard.vue.d.ts +25 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSkeleton/PvSkeleton.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSkeleton/PvSkeleton.vue.d.ts +11 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSkeleton/types.d.ts +3 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSortableList/PvSortableList.vue.d.ts +25 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSpinner/PvSpinner.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSpinner/PvSpinner.vue.d.ts +11 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSpinner/types.d.ts +3 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSprite/PvSprite.vue.d.ts +9 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSuggestionTag/PvSuggestionTag.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSuggestionTag/PvSuggestionTag.vue.d.ts +31 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSwitch/PvSwitch.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSwitch/PvSwitch.vue.d.ts +22 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSwitch/types.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTabList/PvTabList.vue.d.ts +12 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTabs/PvTabs.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTabs/PvTabs.vue.d.ts +18 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTabs/types.d.ts +7 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTag/PvTag.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTag/PvTag.vue.d.ts +41 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTag/types.d.ts +3 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTextArea/PvTextArea.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTextArea/PvTextArea.vue.d.ts +40 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTextArea/types.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/base/PvToast/PvToast.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvToast/PvToast.vue.d.ts +30 -0
- package/pv-components/dist/vue/visualizations/components/base/PvToast/types.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvToggleButton/PvToggleButton.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvToggleButton/PvToggleButton.vue.d.ts +29 -0
- package/pv-components/dist/vue/visualizations/components/base/PvToggleButton/types.d.ts +3 -0
- package/pv-components/dist/vue/visualizations/components/base/PvToggleGroup/PvToggleGroup.vue.d.ts +12 -0
- package/pv-components/dist/vue/visualizations/components/base/PvToggleGroup/types.d.ts +12 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTooltip/PvTooltip.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTooltip/PvTooltip.vue.d.ts +36 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTooltip/types.d.ts +4 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTooltipV2/PvTooltipV2.vue.d.ts +28 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTooltipV2/types.d.ts +10 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTree/PvButtonTreeItem.vue.d.ts +33 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTree/PvCheckboxTreeItem.vue.d.ts +33 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTree/PvSimpleItemTree.vue.d.ts +7 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTree/PvSimpleNestedTree.vue.d.ts +21 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTree/PvTree.vue.d.ts +22 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTree/PvTreeItem.vue.d.ts +23 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTree/PvTreeReorderIcon.vue.d.ts +3 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTree/types.d.ts +31 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTree/useDragAndDrop.d.ts +16 -0
- package/pv-components/dist/vue/visualizations/components/base/PvTree/useHoverIcon.d.ts +6 -0
- package/pv-components/dist/vue/visualizations/components/base/PvWidget/PvWidget.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvWidget/PvWidget.vue.d.ts +18 -0
- package/pv-components/dist/vue/visualizations/components/base/baseProps.d.ts +16 -0
- package/pv-components/dist/vue/visualizations/components/base/index.d.ts +64 -0
- package/pv-components/dist/vue/visualizations/components/charts/PvChart/PvChart.vue.d.ts +48 -0
- package/pv-components/dist/vue/visualizations/components/charts/PvChart/constants.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/charts/PvChart/functions.d.ts +42 -0
- package/pv-components/dist/vue/visualizations/components/charts/PvChart/types.d.ts +25 -0
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/PvDataTableWithChart.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/PvDataTableWithChart.vue.d.ts +39 -0
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/constants.d.ts +5 -0
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/helpers.d.ts +14 -0
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/helpers.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/table-chart-components/PvChartOptionsPanel.vue.d.ts +22 -0
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +76 -0
- package/pv-components/dist/vue/visualizations/components/charts/PvMapChart/PvMapChart.vue.d.ts +45 -0
- package/pv-components/dist/vue/visualizations/components/charts/chart-components/maps/MapGradient.vue.d.ts +11 -0
- package/pv-components/dist/vue/visualizations/components/charts/chart-components/maps/MapRegionSelector.vue.d.ts +16 -0
- package/pv-components/dist/vue/visualizations/components/charts/chart-components/maps/topologies/alaskaStateTopology.d.ts +20 -0
- package/pv-components/dist/vue/visualizations/components/charts/chart-components/maps/topologies/hawaiiStateTopology.d.ts +20 -0
- package/pv-components/dist/vue/visualizations/components/charts/chart-components/maps/topologies/usStateTopology.d.ts +28 -0
- package/pv-components/dist/vue/visualizations/components/charts/chart-components/maps/useTopology.d.ts +8 -0
- package/pv-components/dist/vue/visualizations/components/charts/themes.d.ts +6 -0
- package/pv-components/dist/vue/visualizations/components/layout/PvSidePanel/PvSidePanel.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/layout/PvSidePanel/PvSidePanel.vue.d.ts +24 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/PvDataTable.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/PvDataTable.vue.d.ts +38 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/helpers.d.ts +24 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/helpers.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/ExportMenu.vue.d.ts +16 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/FilterPanel.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/FilterPanel.vue.d.ts +23 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/GroupAggCellRenderer.vue.d.ts +17 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/GroupBySelector.vue.d.ts +17 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/GroupedCellRenderer.vue.d.ts +16 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/HeaderCellRenderer.vue.d.ts +12 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/PaginationPanel.vue.d.ts +16 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/RowCountCellRenderer.vue.d.ts +17 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/RowLoadingCellRenderer.vue.d.ts +3 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/SetFilter.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/SetFilter.vue.d.ts +35 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/TableSearch.vue.d.ts +8 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/TableTooltip.vue.d.ts +7 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/TagCellRenderer.vue.d.ts +7 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/formatting.d.ts +29 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/formatting.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +352 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useFilterStore.d.ts +47 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useFilterStore.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useFocus.d.ts +27 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useFocus.spec.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/tables/symbols.d.ts +54 -0
- package/pv-components/dist/vue/visualizations/components/tables/themes.d.ts +3 -0
- package/pv-components/dist/vue/visualizations/components/visualizations/index.d.ts +1 -1
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +2953 -2951
- package/pv-components/dist/vue/visualizations/types.d.ts +2 -2
- package/pv-components/dist/web/components/pv-distribution-bar/pv-distribution-bar.js +7 -7
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +2 -2
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +2 -2
- package/pv-components/dist/web/pv-components.iife.js +2 -2
|
@@ -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
|
+
};
|
package/pv-components/dist/vue/visualizations/components/base/PvMenu/useMenuPosition.spec.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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 @@
|
|
|
1
|
+
import "@testing-library/jest-dom";
|
|
@@ -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
|
+
}
|
package/pv-components/dist/vue/visualizations/components/base/PvPagination/PvPagination.spec.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom";
|
package/pv-components/dist/vue/visualizations/components/base/PvPagination/PvPagination.vue.d.ts
ADDED
|
@@ -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,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
|
+
};
|
package/pv-components/dist/vue/visualizations/components/base/PvPagination/usePagination.spec.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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
|
+
};
|
package/pv-components/dist/vue/visualizations/components/base/PvPopoverMenu/PvPopoverMenu.spec.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom/vitest";
|
package/pv-components/dist/vue/visualizations/components/base/PvPopoverMenu/PvPopoverMenu.vue.d.ts
ADDED
|
@@ -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
|
+
};
|
package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts
ADDED
|
@@ -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,21 @@
|
|
|
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
|
+
ignoreClickOutsideClasses?: string[];
|
|
21
|
+
}
|
package/pv-components/dist/vue/visualizations/components/base/PvProgressBar/PvProgressBar.vue.d.ts
ADDED
|
@@ -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
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom";
|