@turquoisehealth/pit-viper 2.79.1 → 2.79.2-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
@@ -1,299 +1,244 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
*/
|
|
246
|
-
tooltipHideDelay?: number;
|
|
247
|
-
/**
|
|
248
|
-
* Hide the table rows (but still show the filter panel)
|
|
249
|
-
*/
|
|
250
|
-
hideTable?: boolean;
|
|
251
|
-
/**
|
|
252
|
-
* DOM location to use for relocating the filter panel
|
|
253
|
-
*/
|
|
254
|
-
filterTeleportLocation?: string;
|
|
255
|
-
/**
|
|
256
|
-
* List of column fields that can be focused
|
|
257
|
-
*/
|
|
258
|
-
focusableColumns?: string[];
|
|
259
|
-
tableSearchPlaceholder?: string;
|
|
260
|
-
tableSearchStyle?: TableSearchStyle;
|
|
261
|
-
maxHorizontalFilters?: number;
|
|
262
|
-
maintainColumnOrder?: boolean;
|
|
263
|
-
/**
|
|
264
|
-
* Custom CSS Properties
|
|
265
|
-
*/
|
|
266
|
-
customCssProperties?: {
|
|
267
|
-
agGridWrapper: CSSProperties;
|
|
268
|
-
};
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
declare interface PvDataTablePublicInterface {
|
|
272
|
-
getCsvData: () => Promise<string | null>;
|
|
273
|
-
refreshData: (params?: RefreshServerSideParams | null) => Promise<void>;
|
|
274
|
-
getFilterValueSelectedMetadataMap: () => Record<string, (FilterValueResponseOption | null)[]>;
|
|
275
|
-
availableRowGroupColumns: ComputedRef<ColDef[]>;
|
|
276
|
-
availableAggFuncColumns: ComputedRef<ColDef[]>;
|
|
277
|
-
rowGroupColumnFields: Ref<string[]>;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
declare interface QueryBuilderSuggestionMenuOption extends MenuOption {
|
|
281
|
-
queryTerm?: QueryTerm;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
declare interface QueryTerm {
|
|
285
|
-
queryField?: string;
|
|
286
|
-
queryDisplayField?: string;
|
|
287
|
-
exactMatch?: boolean;
|
|
288
|
-
queryText?: string;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
declare interface TableSearchHandlerParams<T> {
|
|
292
|
-
api: GridApi<T>;
|
|
293
|
-
filterModel?: FilterModel | null;
|
|
294
|
-
query?: string;
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
declare type TableSearchStyle = "query-builder" | "text";
|
|
298
|
-
|
|
299
|
-
export { }
|
|
1
|
+
import { ColDefDataType } from "@tables/PvDataTable/table-components/formatting.ts";
|
|
2
|
+
import type { Component, ComputedRef, CSSProperties, Ref } from "vue";
|
|
3
|
+
import { Column, FilterModel, GridState, IServerSideGetRowsParams, Theme, ValueFormatterFunc } from "ag-grid-enterprise";
|
|
4
|
+
import { ColDef, GridApi, IsGroupOpenByDefaultParams, IsServerSideGroupOpenByDefaultParams, RefreshServerSideParams } from "ag-grid-community";
|
|
5
|
+
import { QueryBuilderSuggestionMenuOption } from "@/components/base/PvQueryBuilderInput/useQueryBuilder.ts";
|
|
6
|
+
export type TableSearchStyle = "query-builder" | "text";
|
|
7
|
+
export interface FocusUpdateEvent {
|
|
8
|
+
focuses?: string[] | null | undefined;
|
|
9
|
+
filterField?: string | null | undefined;
|
|
10
|
+
}
|
|
11
|
+
export interface ChartState {
|
|
12
|
+
seriesField?: string | null;
|
|
13
|
+
chartType?: string | null;
|
|
14
|
+
chartSort?: string | null;
|
|
15
|
+
chartCategoryFields?: string[] | null;
|
|
16
|
+
}
|
|
17
|
+
export interface ChartStateChangedEvent {
|
|
18
|
+
api: GridApi | null;
|
|
19
|
+
newState: ChartState | null;
|
|
20
|
+
oldState: ChartState | null;
|
|
21
|
+
}
|
|
22
|
+
export interface ColDefContextProps<T> {
|
|
23
|
+
aggFuncDisplayName?: string;
|
|
24
|
+
chartSeriesDisplayName?: string;
|
|
25
|
+
dataType?: ColDefDataType;
|
|
26
|
+
emptyFilterResultsRenderer?: Component;
|
|
27
|
+
filterSelectMax?: number;
|
|
28
|
+
filterSelectMin?: number;
|
|
29
|
+
filterOptionsSortDescription?: string;
|
|
30
|
+
filterOptionsSortTooltip?: string;
|
|
31
|
+
filterOptionsRenderer?: Component;
|
|
32
|
+
filterSearch?: boolean;
|
|
33
|
+
filterRequiredToGroup?: boolean;
|
|
34
|
+
filterValueFormatter?: string | ValueFormatterFunc<T> | undefined;
|
|
35
|
+
filterFooterRenderer?: Component;
|
|
36
|
+
isArrayField?: boolean;
|
|
37
|
+
metadataDisplayFields?: string[];
|
|
38
|
+
valueDecimals?: number;
|
|
39
|
+
visibilityState?: "alwaysShow" | "alwaysHide";
|
|
40
|
+
hideFromCharting?: boolean;
|
|
41
|
+
}
|
|
42
|
+
export interface FilterValuesSetHandlerParams<T> {
|
|
43
|
+
api: GridApi<T>;
|
|
44
|
+
colDef: ColDef<T>;
|
|
45
|
+
column: Column<T>;
|
|
46
|
+
filterModel?: FilterModel | null;
|
|
47
|
+
query?: string;
|
|
48
|
+
}
|
|
49
|
+
export interface TableSearchHandlerParams<T> {
|
|
50
|
+
api: GridApi<T>;
|
|
51
|
+
filterModel?: FilterModel | null;
|
|
52
|
+
query?: string;
|
|
53
|
+
}
|
|
54
|
+
export interface FilterValueResponseOption {
|
|
55
|
+
value: string;
|
|
56
|
+
label?: string;
|
|
57
|
+
isPreference?: boolean;
|
|
58
|
+
isSelectable?: boolean;
|
|
59
|
+
metadata?: any;
|
|
60
|
+
}
|
|
61
|
+
export interface PvDataTableProps<T> {
|
|
62
|
+
/**
|
|
63
|
+
* Column definitions for the table. Follows the AG Grid column definition format.
|
|
64
|
+
*/
|
|
65
|
+
colDefs?: ColDef<T>[];
|
|
66
|
+
/**
|
|
67
|
+
* Array of JSON data objects to be displayed in the table. Only used for client-side row model.
|
|
68
|
+
*/
|
|
69
|
+
rowData?: T[];
|
|
70
|
+
/**
|
|
71
|
+
* Handler to fetch server-side data. Only used for server-side row model.
|
|
72
|
+
*/
|
|
73
|
+
serverSideRowHandler?: (params: IServerSideGetRowsParams<T>, isCsvExport?: boolean) => void;
|
|
74
|
+
/**
|
|
75
|
+
* Handler to fetch filter values for server-side filtering. Only used for server-side row model.
|
|
76
|
+
*/
|
|
77
|
+
filterValuesSetHandler?: (params: FilterValuesSetHandlerParams<T>) => Promise<(FilterValueResponseOption | null)[]>;
|
|
78
|
+
/**
|
|
79
|
+
* Handler to return suggestions for applying search terms to the table.
|
|
80
|
+
*/
|
|
81
|
+
tableSearchHandler?: (params: TableSearchHandlerParams<T>) => Promise<(QueryBuilderSuggestionMenuOption | null)[]>;
|
|
82
|
+
/**
|
|
83
|
+
* Specifies an initial set of filters/groups/sort/etc. to be applied to the table.
|
|
84
|
+
*/
|
|
85
|
+
initialGridState?: GridState;
|
|
86
|
+
/**
|
|
87
|
+
* Specifies an initial set of metadata values for filters that require them
|
|
88
|
+
*/
|
|
89
|
+
initialFilterValueMap?: Record<string, (FilterValueResponseOption | null)[]>;
|
|
90
|
+
/**
|
|
91
|
+
* Override the Pit Viper them
|
|
92
|
+
*/
|
|
93
|
+
theme?: Theme;
|
|
94
|
+
/**
|
|
95
|
+
* For aggregated columns, only show the aggregate at the final group level
|
|
96
|
+
*/
|
|
97
|
+
displayBaseAggregationsOnly?: boolean;
|
|
98
|
+
/**
|
|
99
|
+
* Display Row Number in the first column
|
|
100
|
+
*/
|
|
101
|
+
displayRowNumber?: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* Display Counts on Grouped Rows (requires allChildrenCount on the object)
|
|
104
|
+
*/
|
|
105
|
+
displayGroupCount?: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* Displays Icon on Preferences that emits handle-settings-icon event
|
|
108
|
+
*/
|
|
109
|
+
displayPreferencesIcon?: boolean;
|
|
110
|
+
/**
|
|
111
|
+
* Display button to hide/show columns
|
|
112
|
+
*/
|
|
113
|
+
enableColumnVisibilitySelector?: boolean;
|
|
114
|
+
/**
|
|
115
|
+
* Display everything focus view related
|
|
116
|
+
*/
|
|
117
|
+
enableFocusView?: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* Display button to group by columns
|
|
120
|
+
*/
|
|
121
|
+
enableGroupBySelector?: boolean;
|
|
122
|
+
/**
|
|
123
|
+
* Display input to search within the table
|
|
124
|
+
*/
|
|
125
|
+
enableTableSearch?: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* Allows for slot content to be placed above the chart
|
|
128
|
+
*/
|
|
129
|
+
enableTopSlot?: boolean;
|
|
130
|
+
/**
|
|
131
|
+
* Display button to open the vertical filter drawer
|
|
132
|
+
*/
|
|
133
|
+
enableVerticalFilterPanel?: boolean;
|
|
134
|
+
/**
|
|
135
|
+
* Number of groups to support (defaults to 2)
|
|
136
|
+
*/
|
|
137
|
+
rowGroupLimit?: number;
|
|
138
|
+
/**
|
|
139
|
+
* Whether to expand all groups by default, based on level. -1 expands all groups
|
|
140
|
+
*/
|
|
141
|
+
groupDefaultExpanded?: number;
|
|
142
|
+
/**
|
|
143
|
+
* A handler to determine if a group should be open by default dynamically.
|
|
144
|
+
*/
|
|
145
|
+
isClientSideGroupOpenByDefault?: (params: IsGroupOpenByDefaultParams) => boolean;
|
|
146
|
+
/**
|
|
147
|
+
* A handler to determine whether a group should be open by default.
|
|
148
|
+
*/
|
|
149
|
+
isServerSideGroupOpenByDefault?: (params: IsServerSideGroupOpenByDefaultParams) => boolean;
|
|
150
|
+
/**
|
|
151
|
+
* Display button to export table data as CSV
|
|
152
|
+
*/
|
|
153
|
+
enableCsvExport?: boolean;
|
|
154
|
+
/**
|
|
155
|
+
* # of rows to export to CSV - be careful overriding this as large exports can cause performance issues
|
|
156
|
+
*/
|
|
157
|
+
csvRowLimit?: number;
|
|
158
|
+
/**
|
|
159
|
+
* Optional param to implement custom logic for CSV export. If not specified, the serverSideRowHandler will be used to generate the CSV data.
|
|
160
|
+
*/
|
|
161
|
+
serverSideCsvHandler?: (params: IServerSideGetRowsParams<T>) => Promise<void>;
|
|
162
|
+
/**
|
|
163
|
+
* Field that can be used to identify row uniqueness for preserving expanded/collapsed row states
|
|
164
|
+
*/
|
|
165
|
+
uniqueRowIdField?: string;
|
|
166
|
+
/**
|
|
167
|
+
* If true, will not show data until at least one filter is applied
|
|
168
|
+
*/
|
|
169
|
+
requireFiltersToShowData?: boolean;
|
|
170
|
+
/**
|
|
171
|
+
* If true, will show loading state - can be used as a dynamic prop to show/hide loading state
|
|
172
|
+
*/
|
|
173
|
+
isLoading?: boolean;
|
|
174
|
+
/**
|
|
175
|
+
* Height of the table + filter container
|
|
176
|
+
*/
|
|
177
|
+
containerHeight?: number;
|
|
178
|
+
/**
|
|
179
|
+
* Min height of the table + filter container
|
|
180
|
+
*/
|
|
181
|
+
containerMinHeight?: number;
|
|
182
|
+
/**
|
|
183
|
+
* Enables the ValidationModule for advanced debugging as well as additional console logging from AG Grid
|
|
184
|
+
*/
|
|
185
|
+
debugMode?: boolean;
|
|
186
|
+
/**
|
|
187
|
+
* If true, hide all row-grouped columns from the table.
|
|
188
|
+
*/
|
|
189
|
+
hideAllRowGroupedColumns?: boolean;
|
|
190
|
+
/**
|
|
191
|
+
* Specifies the column to pin to the left of the table if at least one row grouping is enabled.
|
|
192
|
+
*/
|
|
193
|
+
leftPinnedColumnName?: string;
|
|
194
|
+
/**
|
|
195
|
+
* Enables pagination
|
|
196
|
+
*/
|
|
197
|
+
pagination?: boolean;
|
|
198
|
+
/**
|
|
199
|
+
* Set the pagination page size. Defaults to 50.
|
|
200
|
+
*/
|
|
201
|
+
paginationPageSize?: 20 | 50 | 100 | 200;
|
|
202
|
+
/**
|
|
203
|
+
* Row height for individual rows
|
|
204
|
+
*/
|
|
205
|
+
rowHeight?: number;
|
|
206
|
+
/**
|
|
207
|
+
* Set tooltip show delay. Detaults 1000ms
|
|
208
|
+
*/
|
|
209
|
+
tooltipShowDelay?: number;
|
|
210
|
+
/**
|
|
211
|
+
* Set tooltip hide delay.
|
|
212
|
+
*/
|
|
213
|
+
tooltipHideDelay?: number;
|
|
214
|
+
/**
|
|
215
|
+
* Hide the table rows (but still show the filter panel)
|
|
216
|
+
*/
|
|
217
|
+
hideTable?: boolean;
|
|
218
|
+
/**
|
|
219
|
+
* DOM location to use for relocating the filter panel
|
|
220
|
+
*/
|
|
221
|
+
filterTeleportLocation?: string;
|
|
222
|
+
/**
|
|
223
|
+
* List of column fields that can be focused
|
|
224
|
+
*/
|
|
225
|
+
focusableColumns?: string[];
|
|
226
|
+
tableSearchPlaceholder?: string;
|
|
227
|
+
tableSearchStyle?: TableSearchStyle;
|
|
228
|
+
maxHorizontalFilters?: number;
|
|
229
|
+
maintainColumnOrder?: boolean;
|
|
230
|
+
/**
|
|
231
|
+
* Custom CSS Properties
|
|
232
|
+
*/
|
|
233
|
+
customCssProperties?: {
|
|
234
|
+
agGridWrapper: CSSProperties;
|
|
235
|
+
};
|
|
236
|
+
}
|
|
237
|
+
export interface PvDataTablePublicInterface {
|
|
238
|
+
getCsvData: () => Promise<string | null>;
|
|
239
|
+
refreshData: (params?: RefreshServerSideParams | null) => Promise<void>;
|
|
240
|
+
getFilterValueSelectedMetadataMap: () => Record<string, (FilterValueResponseOption | null)[]>;
|
|
241
|
+
availableRowGroupColumns: ComputedRef<ColDef[]>;
|
|
242
|
+
availableAggFuncColumns: ComputedRef<ColDef[]>;
|
|
243
|
+
rowGroupColumnFields: Ref<string[]>;
|
|
244
|
+
}
|
|
@@ -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 {};
|