@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,10 @@
|
|
|
1
|
+
import { PvSekeltonSize, PvSkeletonVariant } from "./types";
|
|
2
|
+
interface PvSkeletonProps {
|
|
3
|
+
size?: PvSekeltonSize;
|
|
4
|
+
variant?: PvSkeletonVariant;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("vue").DefineComponent<PvSkeletonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PvSkeletonProps> & Readonly<{}>, {
|
|
7
|
+
size: PvSekeltonSize;
|
|
8
|
+
variant: PvSkeletonVariant;
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { MenuOption } from "@/components/base";
|
|
2
|
+
export type PvSortableMenuListProps = {
|
|
3
|
+
options: MenuOption[];
|
|
4
|
+
activeOptionLimit?: number;
|
|
5
|
+
placeholderText?: string;
|
|
6
|
+
showPlaceholders?: boolean;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_Props = PvSortableMenuListProps;
|
|
9
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
10
|
+
modelValue?: MenuOption[];
|
|
11
|
+
};
|
|
12
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (value: MenuOption[]) => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: ((value: MenuOption[]) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
options: MenuOption[];
|
|
18
|
+
placeholderText: string;
|
|
19
|
+
showPlaceholders: boolean;
|
|
20
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom/vitest";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PvSpinnerSize, PvSpinnerVariant } from "./types";
|
|
2
|
+
interface PvSpinnerProps {
|
|
3
|
+
variant?: PvSpinnerVariant;
|
|
4
|
+
size?: PvSpinnerSize;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("vue").DefineComponent<PvSpinnerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PvSpinnerProps> & Readonly<{}>, {
|
|
7
|
+
size: PvSpinnerSize;
|
|
8
|
+
variant: PvSpinnerVariant;
|
|
9
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type PvSpriteProps = {
|
|
2
|
+
src: string;
|
|
3
|
+
variant?: "v1" | "v2";
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<PvSpriteProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PvSpriteProps> & Readonly<{}>, {
|
|
6
|
+
variant: "v1" | "v2";
|
|
7
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom/vitest";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { TagSize } from "@/components/base/PvTag/types";
|
|
2
|
+
export interface PvSuggestionTag {
|
|
3
|
+
/**
|
|
4
|
+
* @default 'Medium'
|
|
5
|
+
* Tag Size
|
|
6
|
+
*/
|
|
7
|
+
size?: TagSize;
|
|
8
|
+
/**
|
|
9
|
+
* Tag Label
|
|
10
|
+
*/
|
|
11
|
+
label: string;
|
|
12
|
+
/**
|
|
13
|
+
* Show left Icon
|
|
14
|
+
*/
|
|
15
|
+
showIcon?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Show rounded state
|
|
18
|
+
*/
|
|
19
|
+
rounded?: boolean;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
}
|
|
22
|
+
declare const _default: import("vue").DefineComponent<PvSuggestionTag, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
23
|
+
"handle-click": (label: string) => any;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<PvSuggestionTag> & Readonly<{
|
|
25
|
+
"onHandle-click"?: ((label: string) => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
size: TagSize;
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { PvSwitchSize } from "./types";
|
|
2
|
+
interface PvSwitchProps {
|
|
3
|
+
size?: PvSwitchSize;
|
|
4
|
+
label?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
id?: string;
|
|
7
|
+
}
|
|
8
|
+
type __VLS_Props = PvSwitchProps;
|
|
9
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
10
|
+
modelValue: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (value: boolean) => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
id: string;
|
|
18
|
+
size: PvSwitchSize;
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Option } from "@/types";
|
|
2
|
+
export interface PvTabListBaseProps {
|
|
3
|
+
modelValue: string;
|
|
4
|
+
options: Option[];
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import("vue").DefineComponent<PvTabListBaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (...args: any[]) => void;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<PvTabListBaseProps> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Tab, TabSize } from "./types";
|
|
2
|
+
interface PvTabsProps {
|
|
3
|
+
tabs: Tab[];
|
|
4
|
+
size?: TabSize;
|
|
5
|
+
}
|
|
6
|
+
type __VLS_Props = PvTabsProps;
|
|
7
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
8
|
+
modelValue: string;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
"update:modelValue": (value: string) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
size: TabSize;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom/vitest";
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { TagSize, TagVariant } from "./types";
|
|
2
|
+
export interface PvTagProps {
|
|
3
|
+
/**
|
|
4
|
+
* @default 'Medium'
|
|
5
|
+
* Tag size
|
|
6
|
+
*/
|
|
7
|
+
size?: TagSize;
|
|
8
|
+
/**
|
|
9
|
+
* @default 'Tertiary'
|
|
10
|
+
* Tag Variant
|
|
11
|
+
*/
|
|
12
|
+
variant?: TagVariant;
|
|
13
|
+
/**
|
|
14
|
+
* Tag Icon
|
|
15
|
+
*/
|
|
16
|
+
icon?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Tag Label
|
|
19
|
+
*/
|
|
20
|
+
label: string;
|
|
21
|
+
/**
|
|
22
|
+
* Show left clear icon
|
|
23
|
+
*/
|
|
24
|
+
showClear?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Show rounded state
|
|
27
|
+
*/
|
|
28
|
+
rounded?: boolean;
|
|
29
|
+
}
|
|
30
|
+
declare const _default: import("vue").DefineComponent<PvTagProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
31
|
+
"handle-close": (payload: string) => any;
|
|
32
|
+
"handle-click": (payload: string) => any;
|
|
33
|
+
}, string, import("vue").PublicProps, Readonly<PvTagProps> & Readonly<{
|
|
34
|
+
"onHandle-close"?: ((payload: string) => any) | undefined;
|
|
35
|
+
"onHandle-click"?: ((payload: string) => any) | undefined;
|
|
36
|
+
}>, {
|
|
37
|
+
size: TagSize;
|
|
38
|
+
variant: TagVariant;
|
|
39
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
40
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom";
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { PvTextAreaVariant } from "./types";
|
|
2
|
+
interface PvTextareaProps {
|
|
3
|
+
error?: boolean;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
id?: string;
|
|
7
|
+
lowerLabel?: string;
|
|
8
|
+
variant?: PvTextAreaVariant;
|
|
9
|
+
rows?: number;
|
|
10
|
+
}
|
|
11
|
+
type __VLS_Props = PvTextareaProps;
|
|
12
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
13
|
+
modelValue?: string;
|
|
14
|
+
};
|
|
15
|
+
declare var __VLS_1: {};
|
|
16
|
+
type __VLS_Slots = {} & {
|
|
17
|
+
label?: (props: typeof __VLS_1) => any;
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
+
"update:modelValue": (value: string | undefined) => any;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
22
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
id: string;
|
|
25
|
+
variant: PvTextAreaVariant;
|
|
26
|
+
rows: number;
|
|
27
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom/vitest";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { PvToastVariants } from "./types";
|
|
2
|
+
interface PvToastProps {
|
|
3
|
+
variant?: PvToastVariants;
|
|
4
|
+
icon?: string;
|
|
5
|
+
label: string;
|
|
6
|
+
}
|
|
7
|
+
declare var __VLS_4: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_4) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<PvToastProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
12
|
+
"handle-close": () => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<PvToastProps> & Readonly<{
|
|
14
|
+
"onHandle-close"?: (() => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
variant: PvToastVariants;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type PvToastVariants = "info" | "success" | "error" | "dark";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom/vitest";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { PvToggleButtonSize, PvToggleButtonVariant } from "./types";
|
|
2
|
+
interface PvToggleButton {
|
|
3
|
+
size?: PvToggleButtonSize;
|
|
4
|
+
variant?: PvToggleButtonVariant;
|
|
5
|
+
rounded?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
value?: string;
|
|
8
|
+
label?: string;
|
|
9
|
+
leftIcon?: string;
|
|
10
|
+
rightIcon?: string;
|
|
11
|
+
id?: string;
|
|
12
|
+
name?: string;
|
|
13
|
+
deselect?: boolean;
|
|
14
|
+
}
|
|
15
|
+
type __VLS_Props = PvToggleButton;
|
|
16
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
17
|
+
modelValue?: boolean | string;
|
|
18
|
+
};
|
|
19
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
+
"update:modelValue": (value: string | boolean | undefined) => any;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
22
|
+
"onUpdate:modelValue"?: ((value: string | boolean | undefined) => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
size: PvToggleButtonSize;
|
|
25
|
+
variant: PvToggleButtonVariant;
|
|
26
|
+
deselect: boolean;
|
|
27
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom/vitest";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { PvTooltipPositions, PvTooltipVariants, PvTooltipSize } from "./types";
|
|
2
|
+
interface PvTooltipProps {
|
|
3
|
+
variant?: PvTooltipVariants;
|
|
4
|
+
tooltipPosition?: PvTooltipPositions;
|
|
5
|
+
ariaLabelledBy?: string;
|
|
6
|
+
size?: PvTooltipSize;
|
|
7
|
+
interactive?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
label?: (props: typeof __VLS_1) => any;
|
|
12
|
+
} & {
|
|
13
|
+
'tooltip-content'?: (props: typeof __VLS_3) => any;
|
|
14
|
+
} & {
|
|
15
|
+
label?: (props: typeof __VLS_5) => any;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_component: import("vue").DefineComponent<PvTooltipProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PvTooltipProps> & Readonly<{}>, {
|
|
18
|
+
size: PvTooltipSize;
|
|
19
|
+
variant: PvTooltipVariants;
|
|
20
|
+
tooltipPosition: PvTooltipPositions;
|
|
21
|
+
ariaLabelledBy: string;
|
|
22
|
+
interactive: boolean;
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { PvSize } from "../baseProps";
|
|
2
|
+
export type PvTooltipVariants = "white" | "dark";
|
|
3
|
+
export type PvTooltipPositions = "bottom-center" | "bottom-right" | "top-left" | "top-center" | "top-right" | "center-left" | "center-right";
|
|
4
|
+
export type PvTooltipSize = Extract<PvSize, "sm" | "md">;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare var __VLS_5: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_5) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
9
|
+
new (): {
|
|
10
|
+
$slots: S;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const PvSizes: readonly ["xs", "sm", "md", "lg", "xl", "2x"];
|
|
2
|
+
export type PvSize = (typeof PvSizes)[number];
|
|
3
|
+
export declare const PvTheme: readonly ["white", "dark"];
|
|
4
|
+
export type PvThemes = (typeof PvTheme)[number];
|
|
5
|
+
export declare const PvVariants: readonly ["primary", "secondary", "tertiary", "ghost", "destructive"];
|
|
6
|
+
export type PvVariants = (typeof PvVariants)[number];
|
|
7
|
+
export declare const PvColorVariants: readonly ["default", "success", "warning", "critical", "highlight"];
|
|
8
|
+
export type PvColorVariants = (typeof PvColorVariants)[number];
|
|
9
|
+
export declare const PvInputVariants: readonly ["h1", "h2", "h3", "h4", "text-md", "text-sm", "text-lg", "caption"];
|
|
10
|
+
export type PvInputVariants = (typeof PvInputVariants)[number];
|
|
11
|
+
export declare const PvTextInputColors: readonly ["white", "grey"];
|
|
12
|
+
export type PvTextInputColors = (typeof PvTextInputColors)[number];
|
|
13
|
+
export declare const sizeMap: Record<PvSize, string>;
|
|
14
|
+
export declare const PvIconSizes: readonly [undefined, 10, 12, 20, 24, 32, 64];
|
|
15
|
+
export type PvIconSize = (typeof PvIconSizes)[number];
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export { default as PvButton } from "@/components/base/PvButton/PvButton.vue";
|
|
2
|
+
export { default as PvCounterBadge } from "@/components/base/PvCounterBadge/PvCounterBadge.vue";
|
|
3
|
+
export { default as PvReleaseBadge } from "@/components/base/PvReleaseBadge/PvReleaseBadge.vue";
|
|
4
|
+
export { default as PvTag } from "@/components/base/PvTag/PvTag.vue";
|
|
5
|
+
export { default as PvPill } from "@/components/base/PvPill/PvPill.vue";
|
|
6
|
+
export { default as PvDropdown } from "@/components/base/PvDropdown/PvDropdown.vue";
|
|
7
|
+
export { default as PvIcon } from "@/components/base/PvIcon/PvIcon.vue";
|
|
8
|
+
export { default as PvPopover } from "@/components/base/PvPopover/PvPopover.vue";
|
|
9
|
+
export { default as PvSegmentedControl } from "@/components/base/PvSegmentedControl/PvSegmentedControl.vue";
|
|
10
|
+
export { default as PvTabList } from "@/components/base/PvTabList/PvTabList.vue";
|
|
11
|
+
export { default as PvCompanyLogo } from "@/components/base/PvCompanyLogo/PvCompanyLogo.vue";
|
|
12
|
+
export { default as PvModal } from "@/components/base/PvModal/PvModal.vue";
|
|
13
|
+
export { default as PvBanner } from "@/components/base/PvBanner/PvBanner.vue";
|
|
14
|
+
export { default as PvCompanyTag } from "@/components/base/PvCompanyTag/PvCompanyTag.vue";
|
|
15
|
+
export { default as PvSuggestionTag } from "@/components/base/PvSuggestionTag/PvSuggestionTag.vue";
|
|
16
|
+
export { default as PvAccordion } from "@/components/base/PvAccordion/PvAccordion.vue";
|
|
17
|
+
export { default as PvSearchInput } from "@/components/base/PvSearchInput/PvSearchInput.vue";
|
|
18
|
+
export { default as PvDatePicker } from "@/components/base/PvDatePicker/PvDatePicker.vue";
|
|
19
|
+
export { default as PvDateTime } from "@/components/base/PvDateTime/PvDateTime.vue";
|
|
20
|
+
export { default as PvDrawer } from "@/components/base/PvDrawer/PvDrawer.vue";
|
|
21
|
+
export { default as PvTooltip } from "@/components/base/PvTooltip/PvTooltip.vue";
|
|
22
|
+
export { default as PvTabs } from "@/components/base/PvTabs/PvTabs.vue";
|
|
23
|
+
export { default as PvBreadcrumbs } from "@/components/base/PvBreadcrumbs/PvBreadcrumbs.vue";
|
|
24
|
+
export { default as PvMultiSelectButton } from "@/components/base/PvMultiSelectButton/PvMultiSelectButton.vue";
|
|
25
|
+
export { default as PvSelectButton } from "@/components/base/PvSelectButton/PvSelectButton.vue";
|
|
26
|
+
export { default as PvPagination } from "@/components/base/PvPagination/PvPagination.vue";
|
|
27
|
+
export { default as PvSelectableCard } from "@/components/base/PvSelectableCard/PvSelectableCard.vue";
|
|
28
|
+
export { default as PvSidePanel } from "@/components/layout/PvSidePanel/PvSidePanel.vue";
|
|
29
|
+
export { default as PvGhostInput } from "@/components/base/PvGhostInput/PvGhostInput.vue";
|
|
30
|
+
export { default as PvCompanyLabel } from "@/components/base/PvCompanyLabel/PvCompanyLabel.vue";
|
|
31
|
+
export { default as PvAvatar } from "@/components/base/PvAvatar/PvAvatar.vue";
|
|
32
|
+
export { default as PvAvatarGroup } from "@/components/base/PvAvatarGroup/PvAvatarGroup.vue";
|
|
33
|
+
export { default as PvToggleButton } from "@/components/base/PvToggleButton/PvToggleButton.vue";
|
|
34
|
+
export { default as PvCheckbox } from "@/components/base/PvCheckbox/PvCheckbox.vue";
|
|
35
|
+
export { default as PvSprite } from "@/components/base/PvSprite/PvSprite.vue";
|
|
36
|
+
export { default as PvSkeleton } from "@/components/base/PvSkeleton/PvSkeleton.vue";
|
|
37
|
+
export { default as PvSpinner } from "@/components/base/PvSpinner/PvSpinner.vue";
|
|
38
|
+
export { default as PvInput } from "@/components/base/PvInput/PvInput.vue";
|
|
39
|
+
export { default as PvRating } from "@/components/base/PvRating/PvRating.vue";
|
|
40
|
+
export { default as PvWidget } from "@/components/base/PvWidget/PvWidget.vue";
|
|
41
|
+
export { default as PvCard } from "@/components/base/PvCard/PvCard.vue";
|
|
42
|
+
export { default as PvInsightCard } from "@/components/base/PvInsightCard/PvInsightCard.vue";
|
|
43
|
+
export { default as PvSwitch } from "@/components/base/PvSwitch/PvSwitch.vue";
|
|
44
|
+
export { default as PvExpandableContent } from "@/components/base/PvExpandableContent/PvExpandableContent.vue";
|
|
45
|
+
export { default as PvToast } from "@/components/base/PvToast/PvToast.vue";
|
|
46
|
+
export { default as PvActionBar } from "@/components/base/PvActionBar/PvActionBar.vue";
|
|
47
|
+
export { default as PvTextArea } from "@/components/base/PvTextArea/PvTextArea.vue";
|
|
48
|
+
export { useDateTime } from "@/components/base/PvDateTime/useDateTime";
|
|
49
|
+
export { usePvComponents } from "@/components/base/PvComponentsConfig/usePvComponents";
|
|
50
|
+
export type { Tab } from "@/components/base/PvTabs/types";
|
|
51
|
+
export type { PvBreadcrumbsOptions } from "@/components/base/PvBreadcrumbs/types";
|
|
52
|
+
export type { PvAvatarGroupItem } from "@/components/base/PvAvatarGroup/types";
|
|
53
|
+
export type { MenuOption } from "@/types";
|
|
54
|
+
export type { PvMultiSelectButtonSlotProps } from "@/components/base/PvMultiSelectButton/PvMultiSelectButton.vue";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { AgSeriesVisibilityChange } from "ag-charts-enterprise";
|
|
2
|
+
import { AgChartOptions } from "ag-charts-types";
|
|
3
|
+
export interface PvChartProps {
|
|
4
|
+
options: AgChartOptions;
|
|
5
|
+
seriesFormatType?: "none" | "currency" | "percent";
|
|
6
|
+
isLoading?: boolean;
|
|
7
|
+
enableFocusView?: boolean;
|
|
8
|
+
minHeight?: number;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: import("vue").DefineComponent<PvChartProps, {
|
|
11
|
+
getChartImageDataURL: (dimensions?: {
|
|
12
|
+
width?: number;
|
|
13
|
+
height?: number;
|
|
14
|
+
}) => Promise<string> | undefined;
|
|
15
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
16
|
+
"series-visibility-change": (event: AgSeriesVisibilityChange<unknown>) => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<PvChartProps> & Readonly<{
|
|
18
|
+
"onSeries-visibility-change"?: ((event: AgSeriesVisibilityChange<unknown>) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
isLoading: boolean;
|
|
21
|
+
minHeight: number;
|
|
22
|
+
seriesFormatType: "none" | "currency" | "percent";
|
|
23
|
+
enableFocusView: boolean;
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
export default _default;
|
package/pv-components/dist/src/components/charts/PvDataTableWithChart/PvDataTableWithChart.spec.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/pv-components/dist/src/components/charts/PvDataTableWithChart/PvDataTableWithChart.vue.d.ts
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ColumnMovedEvent, ColumnResizedEvent, ColumnRowGroupChangedEvent, FilterChangedEvent } from "ag-grid-enterprise";
|
|
2
|
+
import { FirstDataRenderedEvent, GridReadyEvent, RefreshServerSideParams, SortChangedEvent } from "ag-grid-community";
|
|
3
|
+
import { ChartStateChangedEvent } from "@tables/PvDataTable/types.ts";
|
|
4
|
+
import { PvDataTableWithChartProps } from "./types";
|
|
5
|
+
import { FocusUpdateEvent } from "@/components/tables/PvDataTable/types";
|
|
6
|
+
declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
7
|
+
props: __VLS_PrettifyLocal<any & PvDataTableWithChartProps<T> & Partial<{}>> & import("vue").PublicProps;
|
|
8
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
9
|
+
getChartImageDataURL: (dimensions?: {
|
|
10
|
+
width?: number;
|
|
11
|
+
height?: number;
|
|
12
|
+
}) => Promise<string> | undefined;
|
|
13
|
+
getCsvData: () => Promise<string | null> | undefined;
|
|
14
|
+
refreshData: (params?: RefreshServerSideParams | null) => Promise<void> | undefined;
|
|
15
|
+
getFilterValueSelectedMetadataMap: () => Record<string, (import("@tables/PvDataTable/types.ts").FilterValueResponseOption | null)[]> | undefined;
|
|
16
|
+
}>): void;
|
|
17
|
+
attrs: any;
|
|
18
|
+
slots: {};
|
|
19
|
+
emit: {
|
|
20
|
+
(e: "chart-state-changed", event: ChartStateChangedEvent): void;
|
|
21
|
+
(e: "column-moved", event: ColumnMovedEvent<T>): void;
|
|
22
|
+
(e: "column-resized", event: ColumnResizedEvent<T>): void;
|
|
23
|
+
(e: "column-row-group-changed", event: ColumnRowGroupChangedEvent<T>): void;
|
|
24
|
+
(e: "grid-ready", event: GridReadyEvent<T>): void;
|
|
25
|
+
(e: "filter-changed", event: FilterChangedEvent<T>): void;
|
|
26
|
+
(e: "sort-changed", event: SortChangedEvent<T>): void;
|
|
27
|
+
(e: "filter-opened", event: FilterChangedEvent<T>): void;
|
|
28
|
+
(e: "first-data-rendered", event: FirstDataRenderedEvent<T>): void;
|
|
29
|
+
(e: "handle-settings-icon", value: string): void;
|
|
30
|
+
(e: "focus-update", event: FocusUpdateEvent): void;
|
|
31
|
+
(e: "chart-collapsed", collapsed: boolean): void;
|
|
32
|
+
};
|
|
33
|
+
}>) => import("vue").VNode & {
|
|
34
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
35
|
+
};
|
|
36
|
+
export default _default;
|
|
37
|
+
type __VLS_PrettifyLocal<T> = {
|
|
38
|
+
[K in keyof T]: T[K];
|
|
39
|
+
} & {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { MenuOption } from "@/types";
|
|
2
|
+
export declare const singleGroupChartTypeConfigs: MenuOption[];
|
|
3
|
+
export declare const multiGroupChartTypeConfigs: MenuOption[];
|
|
4
|
+
export declare const separatorValue = "--SEPARATOR--";
|
|
5
|
+
export declare const sortTotalSuffix = "_sort_total";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AgChartOptions } from "ag-charts-enterprise";
|
|
2
|
+
import { OptionWithFormatterAndDataType } from "@charts/PvDataTableWithChart/types.ts";
|
|
3
|
+
export declare const generateStackSeriesKey: (seriesField: string, stackField: string) => string;
|
|
4
|
+
export declare const buildStackedChartData: (data: AgChartOptions["data"], categoryField: string, stackField: string, seriesColumns: OptionWithFormatterAndDataType[]) => {
|
|
5
|
+
data: never[];
|
|
6
|
+
uniqueFieldValues: never[];
|
|
7
|
+
stackedData?: undefined;
|
|
8
|
+
} | {
|
|
9
|
+
stackedData: any[];
|
|
10
|
+
uniqueFieldValues: string[];
|
|
11
|
+
data?: undefined;
|
|
12
|
+
};
|
|
13
|
+
export declare const calculateMaxChartSeriesValue: (data: any[] | undefined, seriesField: string, isStacked: boolean) => number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ChartConfigPanelType, ChartFilter } from "@charts/PvDataTableWithChart/types";
|
|
2
|
+
export interface PvChartOptionsPanelProps {
|
|
3
|
+
enablePanel: boolean;
|
|
4
|
+
chartFilter?: ChartFilter;
|
|
5
|
+
rowGroupLimit?: number;
|
|
6
|
+
useCombinedButton?: boolean;
|
|
7
|
+
chartConfigOptions?: ChartConfigPanelType[];
|
|
8
|
+
}
|
|
9
|
+
declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
10
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, never> & PvChartOptionsPanelProps & Partial<{}>> & import("vue").PublicProps;
|
|
11
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
12
|
+
attrs: any;
|
|
13
|
+
slots: {};
|
|
14
|
+
emit: {};
|
|
15
|
+
}>) => import("vue").VNode & {
|
|
16
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_PrettifyLocal<T> = {
|
|
20
|
+
[K in keyof T]: T[K];
|
|
21
|
+
} & {};
|