@turquoisehealth/pit-viper 2.79.0 → 2.79.2-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_site/assets/css/pit-viper-v2-scoped.css +2 -2
- package/_site/assets/css/pit-viper-v2.css +2 -2
- package/_site/assets/css/pit-viper.css +2 -2
- package/package.json +31 -12
- package/pv-components/dist/docs/router.d.ts +1 -0
- package/pv-components/dist/docs/scripts/autoDocGen.d.ts +1 -0
- package/pv-components/dist/docs/scripts/copyPvAssets.d.ts +1 -0
- package/pv-components/dist/docs/scripts/plugins.d.ts +7 -0
- package/pv-components/dist/docs/scripts/propGen.d.ts +5 -0
- package/pv-components/dist/docs/src/App.vue.d.ts +2 -0
- package/pv-components/dist/docs/types/vue-component-doc.d.ts +20 -0
- package/pv-components/dist/docs/vite.config.d.ts +2 -0
- package/pv-components/dist/src/components/base/PvAccordion/PvAccordion.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvAccordion/PvAccordion.vue.d.ts +22 -0
- package/pv-components/dist/src/components/base/PvAccordion/types.d.ts +5 -0
- package/pv-components/dist/src/components/base/PvActionBar/PvActionBar.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvActionBar/PvActionBar.vue.d.ts +18 -0
- package/pv-components/dist/src/components/base/PvActionBar/types.d.ts +2 -0
- package/pv-components/dist/src/components/base/PvAiButton/PvAiButton.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvAiButton/PvAiButton.vue.d.ts +12 -0
- package/pv-components/dist/src/components/base/PvAiButton/types.d.ts +2 -0
- package/pv-components/dist/src/components/base/PvAvatar/PvAvatar.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvAvatar/PvAvatar.vue.d.ts +10 -0
- package/pv-components/dist/src/components/base/PvAvatar/types.d.ts +2 -0
- package/pv-components/dist/src/components/base/PvAvatarGroup/PvAvatarGroup.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvAvatarGroup/PvAvatarGroup.vue.d.ts +7 -0
- package/pv-components/dist/src/components/base/PvAvatarGroup/types.d.ts +5 -0
- package/pv-components/dist/src/components/base/PvBanner/PvBanner.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvBanner/PvBanner.vue.d.ts +24 -0
- package/pv-components/dist/src/components/base/PvBanner/types.d.ts +11 -0
- package/pv-components/dist/src/components/base/PvBreadcrumbs/PvBreadcrumbs.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvBreadcrumbs/PvBreadcrumbs.vue.d.ts +6 -0
- package/pv-components/dist/src/components/base/PvBreadcrumbs/types.d.ts +4 -0
- package/pv-components/dist/src/components/base/PvButton/PvButton.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvButton/PvButton.vue.d.ts +19 -0
- package/pv-components/dist/src/components/base/PvButton/types.d.ts +3 -0
- package/pv-components/dist/src/components/base/PvCard/PvCard.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvCard/PvCard.vue.d.ts +21 -0
- package/pv-components/dist/src/components/base/PvCard/types.d.ts +2 -0
- package/pv-components/dist/src/components/base/PvCheckbox/PvCheckbox.vue.d.ts +14 -0
- package/pv-components/dist/src/components/base/PvCompanyLabel/PvCompanyLabel.vue.d.ts +10 -0
- package/pv-components/dist/src/components/base/PvCompanyLabel/types.d.ts +2 -0
- package/pv-components/dist/src/components/base/PvCompanyLogo/PvCompanyLogo.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvCompanyLogo/PvCompanyLogo.vue.d.ts +14 -0
- package/pv-components/dist/src/components/base/PvCompanyLogo/types.d.ts +2 -0
- package/pv-components/dist/src/components/base/PvCompanyTag/PvCompanyTag.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvCompanyTag/PvCompanyTag.vue.d.ts +26 -0
- package/pv-components/dist/src/components/base/PvComponentsConfig/primeVue.config.d.ts +12 -0
- package/pv-components/dist/src/components/base/PvComponentsConfig/usePvComponents.d.ts +2 -0
- package/pv-components/dist/src/components/base/PvCounterBadge/PvCounterBadge.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvCounterBadge/PvCounterBadge.vue.d.ts +15 -0
- package/pv-components/dist/src/components/base/PvCounterBadge/types.d.ts +3 -0
- package/pv-components/dist/src/components/base/PvDatePicker/PvDatePicker.vue.d.ts +114 -0
- package/pv-components/dist/src/components/base/PvDateTime/PvDateTime.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvDateTime/PvDateTime.vue.d.ts +13 -0
- package/pv-components/dist/src/components/base/PvDateTime/useDateTime.d.ts +9 -0
- package/pv-components/dist/src/components/base/PvDateTime/useDateTime.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvDrawer/PvDrawer.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvDrawer/PvDrawer.vue.d.ts +31 -0
- package/pv-components/dist/src/components/base/PvDropdown/PvDropdown.vue.d.ts +42 -0
- package/pv-components/dist/src/components/base/PvExpandableContent/PvExpandableContent.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvExpandableContent/PvExpandableContent.vue.d.ts +24 -0
- package/pv-components/dist/src/components/base/PvExpandableContent/types.d.ts +3 -0
- package/pv-components/dist/src/components/base/PvGhostInput/PvGhostInput.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvGhostInput/PvGhostInput.vue.d.ts +29 -0
- package/pv-components/dist/src/components/base/PvGhostInput/types.d.ts +2 -0
- package/pv-components/dist/src/components/base/PvIcon/PvIcon.vue.d.ts +9 -0
- package/pv-components/dist/src/components/base/PvInput/PvInput.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvInput/PvInput.vue.d.ts +34 -0
- package/pv-components/dist/src/components/base/PvInput/types.d.ts +3 -0
- package/pv-components/dist/src/components/base/PvInsightCard/PvInsightCard.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvInsightCard/PvInsightCard.vue.d.ts +21 -0
- package/pv-components/dist/src/components/base/PvMenu/PvMenu.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvMenu/PvMenu.vue.d.ts +30 -0
- package/pv-components/dist/src/components/base/PvMenu/PvMenuControlPanel.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvMenu/PvMenuControlPanel.vue.d.ts +11 -0
- package/pv-components/dist/src/components/base/PvMenu/PvMenuEmptyState.vue.d.ts +2 -0
- package/pv-components/dist/src/components/base/PvMenu/items/PvMenuCheckboxItem.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvMenu/items/PvMenuCheckboxItem.vue.d.ts +18 -0
- package/pv-components/dist/src/components/base/PvMenu/items/PvMenuItem.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvMenu/items/PvMenuItem.vue.d.ts +25 -0
- package/pv-components/dist/src/components/base/PvMenu/items/PvMenuRadioItem.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvMenu/items/PvMenuRadioItem.vue.d.ts +12 -0
- package/pv-components/dist/src/components/base/PvMenu/useMenuPosition.d.ts +66 -0
- package/pv-components/dist/src/components/base/PvMenu/useMenuPosition.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvModal/PvModal.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvModal/PvModal.vue.d.ts +26 -0
- package/pv-components/dist/src/components/base/PvMultiSelectButton/PvMultiSelectButton.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +155 -0
- package/pv-components/dist/src/components/base/PvMultiSelectButton/PvMultiSelectMenuItem.vue.d.ts +14 -0
- package/pv-components/dist/src/components/base/PvMultiSelectButton/mocks.d.ts +15 -0
- package/pv-components/dist/src/components/base/PvMultiSelectButton/types.d.ts +3 -0
- package/pv-components/dist/src/components/base/PvPagination/PvPagination.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvPagination/PvPagination.vue.d.ts +20 -0
- package/pv-components/dist/src/components/base/PvPagination/types.d.ts +3 -0
- package/pv-components/dist/src/components/base/PvPagination/usePagination.d.ts +12 -0
- package/pv-components/dist/src/components/base/PvPagination/usePagination.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvPill/PvPill.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvPill/PvPill.vue.d.ts +30 -0
- package/pv-components/dist/src/components/base/PvPill/types.d.ts +4 -0
- package/pv-components/dist/src/components/base/PvPopover/PvPopover.vue.d.ts +29 -0
- package/pv-components/dist/src/components/base/PvQueryBuilderInput/FormattedQueryText.vue.d.ts +5 -0
- package/pv-components/dist/src/components/base/PvQueryBuilderInput/PvQueryBuilderInput.vue.d.ts +29 -0
- package/pv-components/dist/src/components/base/PvQueryBuilderInput/QueryBuilderMenuOptionRenderer.vue.d.ts +3 -0
- package/pv-components/dist/src/components/base/PvQueryBuilderInput/QueryFormatter.vue.d.ts +13 -0
- package/pv-components/dist/src/components/base/PvQueryBuilderInput/useQueryBuilder.d.ts +44 -0
- package/pv-components/dist/src/components/base/PvQueryBuilderInput/useQueryBuilder.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvRating/PvRating.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvRating/PvRating.vue.d.ts +11 -0
- package/pv-components/dist/src/components/base/PvRating/types.d.ts +4 -0
- package/pv-components/dist/src/components/base/PvReleaseBadge/PvReleaseBadge.vue.d.ts +5 -0
- package/pv-components/dist/src/components/base/PvSearchInput/PvSearchInput.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvSearchInput/PvSearchInput.vue.d.ts +23 -0
- package/pv-components/dist/src/components/base/PvSegmentedControl/PvSegmentedControl.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvSegmentedControl/PvSegmentedControl.vue.d.ts +18 -0
- package/pv-components/dist/src/components/base/PvSegmentedControl/types.d.ts +8 -0
- package/pv-components/dist/src/components/base/PvSelectButton/PvSelectButton.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvSelectButton/PvSelectButton.vue.d.ts +49 -0
- package/pv-components/dist/src/components/base/PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.vue.d.ts +30 -0
- package/pv-components/dist/src/components/base/PvSelectButton/mocks.d.ts +13 -0
- package/pv-components/dist/src/components/base/PvSelectButton/types.d.ts +3 -0
- package/pv-components/dist/src/components/base/PvSelectableCard/PvSelectableCard.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvSelectableCard/PvSelectableCard.vue.d.ts +19 -0
- package/pv-components/dist/src/components/base/PvSkeleton/PvSkeleton.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvSkeleton/PvSkeleton.vue.d.ts +10 -0
- package/pv-components/dist/src/components/base/PvSkeleton/types.d.ts +3 -0
- package/pv-components/dist/src/components/base/PvSortableList/PvSortableList.vue.d.ts +21 -0
- package/pv-components/dist/src/components/base/PvSpinner/PvSpinner.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvSpinner/PvSpinner.vue.d.ts +10 -0
- package/pv-components/dist/src/components/base/PvSpinner/types.d.ts +3 -0
- package/pv-components/dist/src/components/base/PvSprite/PvSprite.vue.d.ts +8 -0
- package/pv-components/dist/src/components/base/PvSuggestionTag/PvSuggestionTag.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvSuggestionTag/PvSuggestionTag.vue.d.ts +30 -0
- package/pv-components/dist/src/components/base/PvSwitch/PvSwitch.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvSwitch/PvSwitch.vue.d.ts +21 -0
- package/pv-components/dist/src/components/base/PvSwitch/types.d.ts +2 -0
- package/pv-components/dist/src/components/base/PvTabList/PvTabList.vue.d.ts +11 -0
- package/pv-components/dist/src/components/base/PvTabs/PvTabs.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvTabs/PvTabs.vue.d.ts +17 -0
- package/pv-components/dist/src/components/base/PvTabs/types.d.ts +7 -0
- package/pv-components/dist/src/components/base/PvTag/PvTag.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvTag/PvTag.vue.d.ts +40 -0
- package/pv-components/dist/src/components/base/PvTag/types.d.ts +3 -0
- package/pv-components/dist/src/components/base/PvTextArea/PvTextArea.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvTextArea/PvTextArea.vue.d.ts +34 -0
- package/pv-components/dist/src/components/base/PvTextArea/types.d.ts +2 -0
- package/pv-components/dist/src/components/base/PvToast/PvToast.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvToast/PvToast.vue.d.ts +24 -0
- package/pv-components/dist/src/components/base/PvToast/types.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvToggleButton/PvToggleButton.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvToggleButton/PvToggleButton.vue.d.ts +28 -0
- package/pv-components/dist/src/components/base/PvToggleButton/types.d.ts +3 -0
- package/pv-components/dist/src/components/base/PvTooltip/PvTooltip.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvTooltip/PvTooltip.vue.d.ts +30 -0
- package/pv-components/dist/src/components/base/PvTooltip/types.d.ts +4 -0
- package/pv-components/dist/src/components/base/PvWidget/PvWidget.spec.d.ts +1 -0
- package/pv-components/dist/src/components/base/PvWidget/PvWidget.vue.d.ts +12 -0
- package/pv-components/dist/src/components/base/baseProps.d.ts +15 -0
- package/pv-components/dist/src/components/base/index.d.ts +54 -0
- package/pv-components/dist/src/components/charts/PvChart/PvChart.vue.d.ts +25 -0
- package/pv-components/dist/src/components/charts/PvDataTableWithChart/PvDataTableWithChart.spec.d.ts +1 -0
- package/pv-components/dist/src/components/charts/PvDataTableWithChart/PvDataTableWithChart.vue.d.ts +39 -0
- package/pv-components/dist/src/components/charts/PvDataTableWithChart/constants.d.ts +5 -0
- package/pv-components/dist/src/components/charts/PvDataTableWithChart/helpers.d.ts +13 -0
- package/pv-components/dist/src/components/charts/PvDataTableWithChart/helpers.spec.d.ts +1 -0
- package/pv-components/dist/src/components/charts/PvDataTableWithChart/table-chart-components/PvChartOptionsPanel.vue.d.ts +21 -0
- package/pv-components/dist/src/components/charts/PvDataTableWithChart/types.d.ts +75 -0
- package/pv-components/dist/src/components/charts/PvMapChart/PvMapChart.vue.d.ts +44 -0
- package/pv-components/dist/src/components/charts/chart-components/maps/MapGradient.vue.d.ts +10 -0
- package/pv-components/dist/src/components/charts/chart-components/maps/MapRegionSelector.vue.d.ts +15 -0
- package/pv-components/dist/src/components/charts/chart-components/maps/topologies/alaskaStateTopology.d.ts +20 -0
- package/pv-components/dist/src/components/charts/chart-components/maps/topologies/hawaiiStateTopology.d.ts +20 -0
- package/pv-components/dist/src/components/charts/chart-components/maps/topologies/usStateTopology.d.ts +28 -0
- package/pv-components/dist/src/components/charts/chart-components/maps/useTopology.d.ts +8 -0
- package/pv-components/dist/src/components/charts/themes.d.ts +5 -0
- package/pv-components/dist/src/components/helpers/charts/mockChartData.d.ts +7 -0
- package/pv-components/dist/src/components/helpers/components/ExampleTable.vue.d.ts +20 -0
- package/pv-components/dist/src/components/helpers/tables/mockData.d.ts +25 -0
- package/pv-components/dist/src/components/helpers/tables/mockPvDataTableServer.d.ts +49 -0
- package/pv-components/dist/src/components/layout/PvSidePanel/PvSidePanel.spec.d.ts +1 -0
- package/pv-components/dist/src/components/layout/PvSidePanel/PvSidePanel.vue.d.ts +20 -0
- package/pv-components/dist/src/components/tables/PvDataTable/PvDataTable.vue.d.ts +31 -0
- package/pv-components/dist/src/components/tables/PvDataTable/helpers.d.ts +24 -0
- package/pv-components/dist/src/components/tables/PvDataTable/helpers.spec.d.ts +1 -0
- package/pv-components/dist/src/components/tables/PvDataTable/table-components/ColumnVisibilitySelector.vue.d.ts +13 -0
- package/pv-components/dist/src/components/tables/PvDataTable/table-components/ExportMenu.vue.d.ts +15 -0
- package/pv-components/dist/src/components/tables/PvDataTable/table-components/FilterPanel.vue.d.ts +22 -0
- package/pv-components/dist/src/components/tables/PvDataTable/table-components/FilterValueLabel.vue.d.ts +15 -0
- package/pv-components/dist/src/components/tables/PvDataTable/table-components/FocusItemRenderer.vue.d.ts +7 -0
- package/pv-components/dist/src/components/tables/PvDataTable/table-components/GroupAggCellRenderer.vue.d.ts +16 -0
- package/pv-components/dist/src/components/tables/PvDataTable/table-components/GroupBySelector.vue.d.ts +16 -0
- package/pv-components/dist/src/components/tables/PvDataTable/table-components/GroupedCellRenderer.vue.d.ts +15 -0
- package/pv-components/dist/src/components/tables/PvDataTable/table-components/HeaderCellRenderer.vue.d.ts +9 -0
- package/pv-components/dist/src/components/tables/PvDataTable/table-components/LogoCellRenderer.vue.d.ts +6 -0
- package/pv-components/dist/src/components/tables/PvDataTable/table-components/PaginationPanel.vue.d.ts +15 -0
- package/pv-components/dist/src/components/tables/PvDataTable/table-components/RowCountCellRenderer.vue.d.ts +16 -0
- package/pv-components/dist/src/components/tables/PvDataTable/table-components/RowLoadingCellRenderer.vue.d.ts +2 -0
- package/pv-components/dist/src/components/tables/PvDataTable/table-components/SetFilter.vue.d.ts +29 -0
- package/pv-components/dist/src/components/tables/PvDataTable/table-components/TableSearch.vue.d.ts +7 -0
- package/pv-components/dist/src/components/tables/PvDataTable/table-components/TableTooltip.vue.d.ts +6 -0
- package/pv-components/dist/src/components/tables/PvDataTable/table-components/TagCellRenderer.vue.d.ts +6 -0
- package/pv-components/dist/src/components/tables/PvDataTable/table-components/formatting.d.ts +29 -0
- package/pv-components/dist/src/components/tables/PvDataTable/table-components/formatting.spec.d.ts +1 -0
- package/pv-components/dist/{vue/tables/pv-components-tables.d.ts → src/components/tables/PvDataTable/types.d.ts} +244 -299
- package/pv-components/dist/src/components/tables/PvDataTable/useFilterStore.d.ts +43 -0
- package/pv-components/dist/src/components/tables/PvDataTable/useFocus.d.ts +24 -0
- package/pv-components/dist/src/components/tables/PvDataTable/useFocus.spec.d.ts +1 -0
- package/pv-components/dist/src/components/tables/symbols.d.ts +48 -0
- package/pv-components/dist/src/components/tables/themes.d.ts +3 -0
- package/pv-components/dist/src/components/visualizations/index.d.ts +5 -0
- package/pv-components/dist/src/functions/aggregations.d.ts +1 -0
- package/pv-components/dist/src/functions/formatting.d.ts +7 -0
- package/pv-components/dist/src/helpers/tests/findIcon.d.ts +1 -0
- package/pv-components/dist/src/helpers/tests/helpers.d.ts +9 -0
- package/pv-components/dist/src/styles.d.ts +1 -0
- package/pv-components/dist/src/types.d.ts +40 -0
- package/pv-components/dist/src/web-components.d.ts +1 -0
- package/pv-components/dist/vite.config.d.ts +2 -0
- package/pv-components/dist/vue/base/pv-components-base.js +1 -1
- package/pv-components/dist/vue/base/pv-components-base.mjs +652 -596
- package/pv-components/dist/vue/base/pv-components-base.umd.js +2 -2
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.js +176 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +11849 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.umd.js +176 -0
- package/pv-components/dist/web/pv-components.iife.js +23 -23
- package/pv-components/dist/vue/base/pv-components-base.d.ts +0 -2020
- package/pv-components/dist/vue/charts/pv-components-charts.d.ts +0 -489
- package/pv-components/dist/vue/charts/pv-components-charts.js +0 -259
- package/pv-components/dist/vue/charts/pv-components-charts.mjs +0 -121810
- package/pv-components/dist/vue/charts/pv-components-charts.umd.js +0 -259
- package/pv-components/dist/vue/tables/pv-components-tables.js +0 -223
- package/pv-components/dist/vue/tables/pv-components-tables.mjs +0 -47026
- package/pv-components/dist/vue/tables/pv-components-tables.umd.js +0 -223
- package/pv-components/dist/web/index.d.ts +0 -1
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Column, FilterModel } from "ag-grid-enterprise";
|
|
2
|
+
import { Ref } from "vue";
|
|
3
|
+
import { ColDef, GridApi } from "ag-grid-community";
|
|
4
|
+
import { FilterValueResponseOption, FilterValuesSetHandlerParams, TableSearchHandlerParams } from "@tables/PvDataTable/types.ts";
|
|
5
|
+
import { QueryTerm } from "@/components/base/PvQueryBuilderInput/useQueryBuilder.ts";
|
|
6
|
+
export declare const createFilterStore: () => {
|
|
7
|
+
filterModel: Ref<FilterModel | null, FilterModel | null>;
|
|
8
|
+
filterLastUpdatedMap: Ref<Record<string, number>, Record<string, number>>;
|
|
9
|
+
filterLastFetchTimeMap: Ref<Record<string, number>, Record<string, number>>;
|
|
10
|
+
filterModelCleared: Ref<number, number>;
|
|
11
|
+
filterValuesLoadingStatus: Ref<Record<string, boolean>, Record<string, boolean>>;
|
|
12
|
+
filterValueMap: Ref<Record<string, (FilterValueResponseOption | null)[]>, Record<string, (FilterValueResponseOption | null)[]>>;
|
|
13
|
+
filterValueSelectedMetadataMap: Ref<Record<string, (FilterValueResponseOption | null)[]>, Record<string, (FilterValueResponseOption | null)[]>>;
|
|
14
|
+
filterStoreHandler: Ref<((params: FilterValuesSetHandlerParams<unknown>) => Promise<(FilterValueResponseOption | null)[]>) | undefined, ((params: FilterValuesSetHandlerParams<unknown>) => Promise<(FilterValueResponseOption | null)[]>) | undefined>;
|
|
15
|
+
fetchFilterValues: (api: GridApi, colDef: ColDef, column: Column, filterModel?: FilterModel) => Promise<(string | null)[]>;
|
|
16
|
+
filterValueContext: (colField: string, value: string | null) => FilterValueResponseOption | null | undefined;
|
|
17
|
+
getFilterSelectedValues: (colField: string) => (string | null)[];
|
|
18
|
+
isServerSideFilter: import("vue").ComputedRef<boolean>;
|
|
19
|
+
stagedFilterModel: Ref<FilterModel | null, FilterModel | null>;
|
|
20
|
+
setFilterSelectedValues: (colField: string, selectedValues: (string | null)[]) => (string | null)[];
|
|
21
|
+
setFilterValueSearchText: (colField: string, searchText: string | null) => void;
|
|
22
|
+
tableSearchFilterModel: Ref<FilterModel | null, FilterModel | null>;
|
|
23
|
+
tableSearchHandler: Ref<((params: TableSearchHandlerParams<unknown>) => Promise<(QueryTerm | null)[]>) | undefined, ((params: TableSearchHandlerParams<unknown>) => Promise<(QueryTerm | null)[]>) | undefined>;
|
|
24
|
+
};
|
|
25
|
+
export declare const useFilterStore: () => {
|
|
26
|
+
filterModel: Ref<FilterModel | null, FilterModel | null>;
|
|
27
|
+
filterLastUpdatedMap: Ref<Record<string, number>, Record<string, number>>;
|
|
28
|
+
filterLastFetchTimeMap: Ref<Record<string, number>, Record<string, number>>;
|
|
29
|
+
filterModelCleared: Ref<number, number>;
|
|
30
|
+
filterValuesLoadingStatus: Ref<Record<string, boolean>, Record<string, boolean>>;
|
|
31
|
+
filterValueMap: Ref<Record<string, (FilterValueResponseOption | null)[]>, Record<string, (FilterValueResponseOption | null)[]>>;
|
|
32
|
+
filterValueSelectedMetadataMap: Ref<Record<string, (FilterValueResponseOption | null)[]>, Record<string, (FilterValueResponseOption | null)[]>>;
|
|
33
|
+
filterStoreHandler: Ref<((params: FilterValuesSetHandlerParams<unknown>) => Promise<(FilterValueResponseOption | null)[]>) | undefined, ((params: FilterValuesSetHandlerParams<unknown>) => Promise<(FilterValueResponseOption | null)[]>) | undefined>;
|
|
34
|
+
fetchFilterValues: (api: GridApi, colDef: ColDef, column: Column, filterModel?: FilterModel) => Promise<(string | null)[]>;
|
|
35
|
+
filterValueContext: (colField: string, value: string | null) => FilterValueResponseOption | null | undefined;
|
|
36
|
+
getFilterSelectedValues: (colField: string) => (string | null)[];
|
|
37
|
+
isServerSideFilter: import("vue").ComputedRef<boolean>;
|
|
38
|
+
stagedFilterModel: Ref<FilterModel | null, FilterModel | null>;
|
|
39
|
+
setFilterSelectedValues: (colField: string, selectedValues: (string | null)[]) => (string | null)[];
|
|
40
|
+
setFilterValueSearchText: (colField: string, searchText: string | null) => void;
|
|
41
|
+
tableSearchFilterModel: Ref<FilterModel | null, FilterModel | null>;
|
|
42
|
+
tableSearchHandler: Ref<((params: TableSearchHandlerParams<unknown>) => Promise<(QueryTerm | null)[]>) | undefined, ((params: TableSearchHandlerParams<unknown>) => Promise<(QueryTerm | null)[]>) | undefined>;
|
|
43
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface FocusData {
|
|
2
|
+
focuses?: string[] | undefined;
|
|
3
|
+
focusType?: string | null | undefined;
|
|
4
|
+
}
|
|
5
|
+
export declare const createFocusStore: (initialFocusData?: FocusData | null) => {
|
|
6
|
+
computedFocuses: import("vue").ComputedRef<string[]>;
|
|
7
|
+
computedFocusType: import("vue").ComputedRef<string | null>;
|
|
8
|
+
clearAllFocuses: () => void;
|
|
9
|
+
handleFocusUpdate: (option: string | null) => void;
|
|
10
|
+
isFocused: (option: string | null, filterField: string | null) => boolean;
|
|
11
|
+
removeFocus: (option: string | null) => void;
|
|
12
|
+
shouldShowFocusButton: (filterField: string) => boolean;
|
|
13
|
+
setFocusType: (newFocusType: string | null | undefined) => void;
|
|
14
|
+
};
|
|
15
|
+
export declare const useFocusStore: () => {
|
|
16
|
+
computedFocuses: import("vue").ComputedRef<string[]>;
|
|
17
|
+
computedFocusType: import("vue").ComputedRef<string | null>;
|
|
18
|
+
clearAllFocuses: () => void;
|
|
19
|
+
handleFocusUpdate: (option: string | null) => void;
|
|
20
|
+
isFocused: (option: string | null, filterField: string | null) => boolean;
|
|
21
|
+
removeFocus: (option: string | null) => void;
|
|
22
|
+
shouldShowFocusButton: (filterField: string) => boolean;
|
|
23
|
+
setFocusType: (newFocusType: string | null | undefined) => void;
|
|
24
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { InjectionKey, Ref, ShallowRef } from "vue";
|
|
2
|
+
import { Column, GridApi, SortModelItem, ColDef } from "ag-grid-community";
|
|
3
|
+
import { MenuOption } from "@/types";
|
|
4
|
+
import { createFilterStore } from "@tables/PvDataTable/useFilterStore.ts";
|
|
5
|
+
import { OptionWithFormatterAndDataType } from "@charts/PvDataTableWithChart/types.ts";
|
|
6
|
+
import { createFocusStore } from "@tables/PvDataTable/useFocus.ts";
|
|
7
|
+
export declare const FilterStoreKey: InjectionKey<ReturnType<typeof createFilterStore>>;
|
|
8
|
+
export declare const FocusStoreKey: InjectionKey<ReturnType<typeof createFocusStore>>;
|
|
9
|
+
export type SortState = Ref<SortModelItem[]>;
|
|
10
|
+
export declare const SortStateKey: InjectionKey<SortState>;
|
|
11
|
+
export type GridApiState = ShallowRef<GridApi | null>;
|
|
12
|
+
export declare const GridApiKey: InjectionKey<GridApiState>;
|
|
13
|
+
export type ColumnDisplayOrderState = Ref<Column[] | null>;
|
|
14
|
+
export declare const ColumnDisplayOrderKey: InjectionKey<ColumnDisplayOrderState>;
|
|
15
|
+
export type CurrentlyActiveFilterState = Ref<ColDef | null>;
|
|
16
|
+
export declare const CurrentlyActiveFilterKey: InjectionKey<CurrentlyActiveFilterState>;
|
|
17
|
+
export type AvailableFilterColumnsState = Ref<ColDef[]>;
|
|
18
|
+
export declare const AvailableFilterColumnsKey: InjectionKey<AvailableFilterColumnsState>;
|
|
19
|
+
export type AvailableRowGroupColumnsState = Ref<ColDef[]>;
|
|
20
|
+
export declare const AvailableRowGroupColumnsKey: InjectionKey<AvailableRowGroupColumnsState>;
|
|
21
|
+
export type RowGroupColumnFieldsState = Ref<string[]>;
|
|
22
|
+
export declare const RowGroupColumnFieldsKey: InjectionKey<RowGroupColumnFieldsState>;
|
|
23
|
+
export type GroupColumnCellValueColumnState = Ref<Column | null>;
|
|
24
|
+
export declare const GroupColumnCellValueColumnKey: InjectionKey<GroupColumnCellValueColumnState>;
|
|
25
|
+
export type ExpandedRowsState = Ref<Record<number, boolean>>;
|
|
26
|
+
export declare const ExpandedRowsKey: InjectionKey<ExpandedRowsState>;
|
|
27
|
+
export type FirstDataRenderedState = Ref<boolean>;
|
|
28
|
+
export declare const FirstDataRenderedKey: InjectionKey<FirstDataRenderedState>;
|
|
29
|
+
export type CurrentPageState = Ref<number>;
|
|
30
|
+
export declare const CurrentPageKey: InjectionKey<CurrentPageState>;
|
|
31
|
+
export type TotalPageState = Ref<number>;
|
|
32
|
+
export declare const TotalPageKey: InjectionKey<TotalPageState>;
|
|
33
|
+
export type ActiveChartFilterOptionState = Ref<string>;
|
|
34
|
+
export declare const ActiveChartFilterOptionKey: InjectionKey<ActiveChartFilterOptionState>;
|
|
35
|
+
export type RowGroupColumnsState = Ref<string[]>;
|
|
36
|
+
export declare const RowGroupColumnsKey: InjectionKey<RowGroupColumnsState>;
|
|
37
|
+
export type ChartTypesState = Ref<MenuOption[]>;
|
|
38
|
+
export declare const ChartTypeKey: InjectionKey<ChartTypesState>;
|
|
39
|
+
export type SortTypesState = Ref<MenuOption[]>;
|
|
40
|
+
export declare const SortTypesKey: InjectionKey<SortTypesState>;
|
|
41
|
+
export type ActiveChartState = Ref<MenuOption | undefined>;
|
|
42
|
+
export declare const ActiveChartKey: InjectionKey<ActiveChartState>;
|
|
43
|
+
export type ActiveSortState = Ref<MenuOption | undefined>;
|
|
44
|
+
export declare const ActiveSortKey: InjectionKey<ActiveSortState>;
|
|
45
|
+
export type ActiveSeriesKey = Ref<string | undefined>;
|
|
46
|
+
export declare const ActiveSeriesKey: InjectionKey<ActiveSeriesKey>;
|
|
47
|
+
export type AvailableSeriesKey = Ref<OptionWithFormatterAndDataType[]>;
|
|
48
|
+
export declare const AvailableSeriesKey: InjectionKey<AvailableSeriesKey>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as PvChart } from "@charts/PvChart/PvChart.vue";
|
|
2
|
+
export { default as PvDataTableWithChart } from "@charts/PvDataTableWithChart/PvDataTableWithChart.vue";
|
|
3
|
+
export { default as PvMapChart } from "@charts/PvMapChart/PvMapChart.vue";
|
|
4
|
+
export { default as PvDataTable } from "@tables/PvDataTable/PvDataTable.vue";
|
|
5
|
+
export type { FocusUpdateEvent } from "@tables/PvDataTable/types";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function calculateHighMedian(values: number[]): number | null;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ValueFormatterParams } from "ag-grid-enterprise";
|
|
2
|
+
import { AgAxisLabelFormatterParams } from "ag-charts-enterprise";
|
|
3
|
+
import { ColDefDataType } from "@tables/PvDataTable/table-components/formatting.ts";
|
|
4
|
+
export declare function currencyFormatter(params: ValueFormatterParams | AgAxisLabelFormatterParams, precision: number | undefined): string;
|
|
5
|
+
export declare function percentageFormatter(params: ValueFormatterParams | AgAxisLabelFormatterParams, precision: number | undefined): string;
|
|
6
|
+
export declare function integerFormatter(params: ValueFormatterParams | AgAxisLabelFormatterParams): string;
|
|
7
|
+
export declare function arrayValueFormatter(params: ValueFormatterParams | AgAxisLabelFormatterParams, dataType?: ColDefDataType): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const findIcon: (container: Element, iconName: string) => Element | null;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { InjectionKey } from "vue";
|
|
2
|
+
interface InjectionConfig {
|
|
3
|
+
key: InjectionKey<unknown> | string;
|
|
4
|
+
value: unknown;
|
|
5
|
+
}
|
|
6
|
+
export declare function useInjectedSetup<TResult>(setup: () => TResult, injections?: InjectionConfig[]): TResult & {
|
|
7
|
+
unmount: () => void;
|
|
8
|
+
};
|
|
9
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@pv-assets/css/pit-viper-v2.css";
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { Component } from "vue";
|
|
2
|
+
/**
|
|
3
|
+
* For interfaces and type aliases shared across multiple components.
|
|
4
|
+
*/
|
|
5
|
+
export interface Option {
|
|
6
|
+
value: string;
|
|
7
|
+
label: string;
|
|
8
|
+
}
|
|
9
|
+
export interface OptionWithIcon extends Option {
|
|
10
|
+
iconName: string;
|
|
11
|
+
iconPosition: "left" | "right";
|
|
12
|
+
}
|
|
13
|
+
export interface MenuOption {
|
|
14
|
+
id: string;
|
|
15
|
+
text: string;
|
|
16
|
+
subText?: string;
|
|
17
|
+
secondaryText?: string | number;
|
|
18
|
+
icon?: string;
|
|
19
|
+
companyName?: string;
|
|
20
|
+
avatar?: {
|
|
21
|
+
initials?: string;
|
|
22
|
+
image?: string;
|
|
23
|
+
icon?: boolean;
|
|
24
|
+
};
|
|
25
|
+
groupingLabel?: string;
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
renderer?: Component;
|
|
28
|
+
rendererProps?: any;
|
|
29
|
+
classList?: string[];
|
|
30
|
+
searchText?: string;
|
|
31
|
+
}
|
|
32
|
+
export declare enum MenuItemType {
|
|
33
|
+
simple = "simple",
|
|
34
|
+
checkbox = "checkbox",
|
|
35
|
+
company = "company",
|
|
36
|
+
avatar = "avatar",
|
|
37
|
+
icon = "icon",
|
|
38
|
+
radio = "radio"
|
|
39
|
+
}
|
|
40
|
+
export type MenuOptionsVariant = `${MenuItemType}`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|