@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,114 @@
|
|
|
1
|
+
export interface PvDatePickerProps {
|
|
2
|
+
/**
|
|
3
|
+
* Defines the quantity of the selection.
|
|
4
|
+
* @defaultValue single
|
|
5
|
+
*/
|
|
6
|
+
selectionMode?: "single" | "multiple" | "range" | undefined;
|
|
7
|
+
/**
|
|
8
|
+
* Format of the date. Defaults to PrimeVue Locale configuration.
|
|
9
|
+
*/
|
|
10
|
+
dateFormat?: string | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* When enabled, displays the datepicker as inline instead of an overlay.
|
|
13
|
+
* @defaultValue false
|
|
14
|
+
*/
|
|
15
|
+
inline?: boolean | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Whether days in other months shown before or after the current month are selectable. This only applies if the showOtherMonths option is set to true.
|
|
18
|
+
* @defaultValue false
|
|
19
|
+
*/
|
|
20
|
+
selectOtherMonths?: boolean | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Number of months to display.
|
|
23
|
+
* @defaultValue 1
|
|
24
|
+
*/
|
|
25
|
+
numberOfMonths?: number | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Type of view to display.
|
|
28
|
+
* @defaultValue date
|
|
29
|
+
*/
|
|
30
|
+
view?: "date" | "month" | "year" | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* The minimum selectable date.
|
|
33
|
+
*/
|
|
34
|
+
minDate?: Date | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* The maximum selectable date.
|
|
37
|
+
*/
|
|
38
|
+
maxDate?: Date | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* When enabled, displays a button with icon next to input.
|
|
41
|
+
* @defaultValue false
|
|
42
|
+
*/
|
|
43
|
+
/**
|
|
44
|
+
* Array with dates to disable.
|
|
45
|
+
*/
|
|
46
|
+
disabledDates?: Date[] | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* Array with disabled weekday numbers.
|
|
49
|
+
*/
|
|
50
|
+
disabledDays?: number[] | undefined;
|
|
51
|
+
/**
|
|
52
|
+
* Maximum number of selectable dates in multiple mode.
|
|
53
|
+
*/
|
|
54
|
+
maxDateCount?: number | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* Whether to display today and clear buttons at the footer.
|
|
57
|
+
* @defaultValue false
|
|
58
|
+
*/
|
|
59
|
+
showButtonBar?: boolean | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* When enabled, datepicker will show week numbers.
|
|
62
|
+
* @defaultValue false
|
|
63
|
+
*/
|
|
64
|
+
showWeek?: boolean | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* Whether to allow entering the date manually via typing.
|
|
67
|
+
* @defaultValue true
|
|
68
|
+
*/
|
|
69
|
+
manualInput?: boolean | undefined;
|
|
70
|
+
/**
|
|
71
|
+
* When present, it specifies that the component should be disabled.
|
|
72
|
+
* @defaultValue false
|
|
73
|
+
*/
|
|
74
|
+
disabled?: boolean | undefined;
|
|
75
|
+
/**
|
|
76
|
+
* When present, it specifies that the component should have invalid state style.
|
|
77
|
+
* @defaultValue false
|
|
78
|
+
*/
|
|
79
|
+
invalid?: boolean | undefined;
|
|
80
|
+
/**
|
|
81
|
+
* When present, it specifies that an input field is read-only.
|
|
82
|
+
* @defaultValue false
|
|
83
|
+
*/
|
|
84
|
+
readonly?: boolean | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* Placeholder text for the input.
|
|
87
|
+
*/
|
|
88
|
+
placeholder?: string | undefined;
|
|
89
|
+
/**
|
|
90
|
+
* When enabled, displays a button with icon next to input.
|
|
91
|
+
* @defaultValue false
|
|
92
|
+
*/
|
|
93
|
+
showIcon?: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* When input should take 100% width
|
|
96
|
+
*/
|
|
97
|
+
fullWidth?: boolean;
|
|
98
|
+
/**
|
|
99
|
+
* A valid query selector or an HTMLElement to specify where the overlay gets attached.
|
|
100
|
+
*/
|
|
101
|
+
appendTo?: "body" | "self" | undefined;
|
|
102
|
+
}
|
|
103
|
+
type __VLS_Props = PvDatePickerProps;
|
|
104
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
105
|
+
modelValue: Date;
|
|
106
|
+
};
|
|
107
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
108
|
+
"update:modelValue": (value: Date) => any;
|
|
109
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
110
|
+
"onUpdate:modelValue"?: ((value: Date) => any) | undefined;
|
|
111
|
+
}>, {
|
|
112
|
+
appendTo: "body" | "self";
|
|
113
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
114
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom/vitest";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PvSize } from "../baseProps";
|
|
2
|
+
type DateTimeSize = Extract<PvSize, "xs" | "sm">;
|
|
3
|
+
interface PvDateTimeProps {
|
|
4
|
+
variants?: "condensed" | "time";
|
|
5
|
+
timezone?: string;
|
|
6
|
+
date: Date;
|
|
7
|
+
size?: DateTimeSize;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import("vue").DefineComponent<PvDateTimeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PvDateTimeProps> & Readonly<{}>, {
|
|
10
|
+
size: DateTimeSize;
|
|
11
|
+
variants: "condensed" | "time";
|
|
12
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom/vitest";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export interface PvDrawer {
|
|
2
|
+
header: string;
|
|
3
|
+
subheader?: string;
|
|
4
|
+
showSearchbar?: boolean;
|
|
5
|
+
closeOnClickOutside?: boolean;
|
|
6
|
+
searchInputProps?: PvSearchInputProps;
|
|
7
|
+
}
|
|
8
|
+
import { PvSearchInputProps } from "../PvSearchInput/PvSearchInput.vue";
|
|
9
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<PvDrawer & {
|
|
10
|
+
searchInput?: string;
|
|
11
|
+
modelValue: boolean;
|
|
12
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (value: boolean) => any;
|
|
14
|
+
"update:searchInput": (value: string | undefined) => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<PvDrawer & {
|
|
16
|
+
searchInput?: string;
|
|
17
|
+
modelValue: boolean;
|
|
18
|
+
}> & Readonly<{
|
|
19
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
20
|
+
"onUpdate:searchInput"?: ((value: string | undefined) => any) | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
closeOnClickOutside: boolean;
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
24
|
+
default?: (props: {}) => any;
|
|
25
|
+
}>;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { CSSProperties } from "vue";
|
|
2
|
+
export interface PvDropdownProps {
|
|
3
|
+
defaultOpen?: boolean;
|
|
4
|
+
popoverCssProperties?: CSSProperties;
|
|
5
|
+
alignment?: "top" | "right" | "top right" | undefined;
|
|
6
|
+
isList?: boolean;
|
|
7
|
+
isSortable?: boolean;
|
|
8
|
+
icon?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
isLoading?: boolean;
|
|
11
|
+
useTeleport?: boolean;
|
|
12
|
+
teleportLocation?: string;
|
|
13
|
+
}
|
|
14
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<PvDropdownProps, {
|
|
15
|
+
closeDropdown: () => void;
|
|
16
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
17
|
+
"list-order-updated": (value: string[]) => any;
|
|
18
|
+
"dropdown-open": () => any;
|
|
19
|
+
"dropdown-closed": () => any;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<PvDropdownProps> & Readonly<{
|
|
21
|
+
"onList-order-updated"?: ((value: string[]) => any) | undefined;
|
|
22
|
+
"onDropdown-open"?: (() => any) | undefined;
|
|
23
|
+
"onDropdown-closed"?: (() => any) | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
alignment: "right" | "top" | "top right";
|
|
27
|
+
isList: boolean;
|
|
28
|
+
defaultOpen: boolean;
|
|
29
|
+
isLoading: boolean;
|
|
30
|
+
useTeleport: boolean;
|
|
31
|
+
teleportLocation: string;
|
|
32
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
33
|
+
trigger?: (props: {}) => any;
|
|
34
|
+
} & {
|
|
35
|
+
default?: (props: {}) => any;
|
|
36
|
+
}>;
|
|
37
|
+
export default _default;
|
|
38
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
39
|
+
new (): {
|
|
40
|
+
$slots: S;
|
|
41
|
+
};
|
|
42
|
+
};
|
package/pv-components/dist/src/components/base/PvExpandableContent/PvExpandableContent.spec.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom/vitest";
|
package/pv-components/dist/src/components/base/PvExpandableContent/PvExpandableContent.vue.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { PvExpandableContentSizes, PvExpandableContentVariants } from "./types";
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
lines?: number;
|
|
4
|
+
size?: PvExpandableContentSizes;
|
|
5
|
+
variant?: PvExpandableContentVariants;
|
|
6
|
+
defaultOpen?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare var __VLS_1: {};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
default?: (props: typeof __VLS_1) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
13
|
+
size: PvExpandableContentSizes;
|
|
14
|
+
variant: PvExpandableContentVariants;
|
|
15
|
+
defaultOpen: boolean;
|
|
16
|
+
lines: number;
|
|
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
|
+
import "@testing-library/jest-dom/vitest";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { PvGhostInputVariant } from "./types";
|
|
2
|
+
interface PvGhostInputProps {
|
|
3
|
+
variant?: PvGhostInputVariant;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
showEditIcon?: boolean;
|
|
7
|
+
}
|
|
8
|
+
type __VLS_Props = PvGhostInputProps;
|
|
9
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
10
|
+
modelValue?: string;
|
|
11
|
+
};
|
|
12
|
+
declare var __VLS_1: {};
|
|
13
|
+
type __VLS_Slots = {} & {
|
|
14
|
+
action?: (props: typeof __VLS_1) => any;
|
|
15
|
+
};
|
|
16
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
"update:modelValue": (value: string | undefined) => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
19
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
variant: PvGhostInputVariant;
|
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PvIconSize } from "../baseProps";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
name: string;
|
|
4
|
+
size?: PvIconSize;
|
|
5
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
6
|
+
name: string;
|
|
7
|
+
size?: PvIconSize;
|
|
8
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom";
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { PvInputType, PvInputVariant } from "./types";
|
|
2
|
+
interface PvInputProps {
|
|
3
|
+
error?: boolean;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
type?: PvInputType;
|
|
7
|
+
id?: string;
|
|
8
|
+
lowerLabel?: string;
|
|
9
|
+
variant?: PvInputVariant;
|
|
10
|
+
}
|
|
11
|
+
type __VLS_Props = PvInputProps;
|
|
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
|
+
type: PvInputType;
|
|
25
|
+
id: string;
|
|
26
|
+
variant: PvInputVariant;
|
|
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";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface PvInsightCardProps {
|
|
2
|
+
icon: string;
|
|
3
|
+
insight: string;
|
|
4
|
+
upperLabel?: string;
|
|
5
|
+
title?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
showButton?: boolean;
|
|
8
|
+
interactive?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: import("vue").DefineComponent<PvInsightCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
11
|
+
click: () => any;
|
|
12
|
+
"icon-click": () => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<PvInsightCardProps> & Readonly<{
|
|
14
|
+
onClick?: (() => any) | undefined;
|
|
15
|
+
"onIcon-click"?: (() => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
icon: string;
|
|
18
|
+
interactive: boolean;
|
|
19
|
+
showButton: boolean;
|
|
20
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { CSSProperties } from "vue";
|
|
2
|
+
export interface PvSelectMenu {
|
|
3
|
+
teleportLocation?: string;
|
|
4
|
+
open: boolean;
|
|
5
|
+
popoverPositionStyle?: CSSProperties;
|
|
6
|
+
cssCustomListProperties?: CSSProperties;
|
|
7
|
+
useTeleport?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare var __VLS_10: {};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
default?: (props: typeof __VLS_10) => any;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_component: import("vue").DefineComponent<PvSelectMenu, {
|
|
14
|
+
popoverRef: import("vue").Ref<{
|
|
15
|
+
popoverRoot: HTMLElement | null;
|
|
16
|
+
} | null, {
|
|
17
|
+
popoverRoot: HTMLElement | null;
|
|
18
|
+
} | {
|
|
19
|
+
popoverRoot: HTMLElement | null;
|
|
20
|
+
} | null>;
|
|
21
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PvSelectMenu> & Readonly<{}>, {
|
|
22
|
+
useTeleport: 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 @@
|
|
|
1
|
+
import "@testing-library/jest-dom";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
disabled?: boolean;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
5
|
+
"handle-select-all": () => any;
|
|
6
|
+
"handle-clear-all": () => any;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
"onHandle-select-all"?: (() => any) | undefined;
|
|
9
|
+
"onHandle-clear-all"?: (() => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Component } from "vue";
|
|
2
|
+
export interface PvMenuCheckboxItem {
|
|
3
|
+
id: string;
|
|
4
|
+
text: string;
|
|
5
|
+
subText?: string;
|
|
6
|
+
secondaryText?: string | number;
|
|
7
|
+
value?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
renderer?: Component;
|
|
10
|
+
rendererProps?: any;
|
|
11
|
+
classList?: string[];
|
|
12
|
+
}
|
|
13
|
+
declare const _default: import("vue").DefineComponent<PvMenuCheckboxItem, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
14
|
+
"handle-selected": () => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<PvMenuCheckboxItem> & Readonly<{
|
|
16
|
+
"onHandle-selected"?: (() => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { Component } from "vue";
|
|
2
|
+
export interface PvMenuItemProps {
|
|
3
|
+
id: string;
|
|
4
|
+
text: string;
|
|
5
|
+
subText?: string;
|
|
6
|
+
secondaryText?: string | number;
|
|
7
|
+
icon?: string;
|
|
8
|
+
companyName?: string;
|
|
9
|
+
avatar?: {
|
|
10
|
+
initials?: string;
|
|
11
|
+
image?: string;
|
|
12
|
+
icon?: boolean;
|
|
13
|
+
};
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
renderer?: Component;
|
|
16
|
+
rendererProps?: any;
|
|
17
|
+
classList?: string[];
|
|
18
|
+
searchText?: string;
|
|
19
|
+
}
|
|
20
|
+
declare const _default: import("vue").DefineComponent<PvMenuItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
21
|
+
"handle-selected": () => any;
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<PvMenuItemProps> & Readonly<{
|
|
23
|
+
"onHandle-selected"?: (() => any) | undefined;
|
|
24
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface PvMenuRadioItem {
|
|
2
|
+
text: string;
|
|
3
|
+
subText?: string;
|
|
4
|
+
secondaryText?: string | number;
|
|
5
|
+
value?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import("vue").DefineComponent<PvMenuRadioItem, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
8
|
+
"handle-selected": () => any;
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<PvMenuRadioItem> & Readonly<{
|
|
10
|
+
"onHandle-selected"?: (() => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { CSSProperties } from "vue";
|
|
2
|
+
export interface PopoverComponent {
|
|
3
|
+
popoverRef: PopoverRefElement;
|
|
4
|
+
}
|
|
5
|
+
export interface TriggerComponent {
|
|
6
|
+
triggerRef: HTMLElement | null;
|
|
7
|
+
}
|
|
8
|
+
export interface PopoverRefElement {
|
|
9
|
+
popoverRoot: HTMLElement | null;
|
|
10
|
+
}
|
|
11
|
+
export declare const useMenuPosition: ({ alignment, useTeleport, popoverCssProperties, }?: {
|
|
12
|
+
alignment?: "top" | "right" | "top right";
|
|
13
|
+
useTeleport?: boolean;
|
|
14
|
+
popoverCssProperties?: CSSProperties;
|
|
15
|
+
}) => {
|
|
16
|
+
triggerRef: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
17
|
+
popoverRef: import("vue").Ref<{
|
|
18
|
+
popoverRoot: HTMLElement | null;
|
|
19
|
+
} | null, PopoverRefElement | {
|
|
20
|
+
popoverRoot: HTMLElement | null;
|
|
21
|
+
} | null>;
|
|
22
|
+
triggerRect: import("vue").Ref<{
|
|
23
|
+
height: number;
|
|
24
|
+
width: number;
|
|
25
|
+
x: number;
|
|
26
|
+
y: number;
|
|
27
|
+
readonly bottom: number;
|
|
28
|
+
readonly left: number;
|
|
29
|
+
readonly right: number;
|
|
30
|
+
readonly top: number;
|
|
31
|
+
toJSON: () => any;
|
|
32
|
+
} | null, DOMRect | {
|
|
33
|
+
height: number;
|
|
34
|
+
width: number;
|
|
35
|
+
x: number;
|
|
36
|
+
y: number;
|
|
37
|
+
readonly bottom: number;
|
|
38
|
+
readonly left: number;
|
|
39
|
+
readonly right: number;
|
|
40
|
+
readonly top: number;
|
|
41
|
+
toJSON: () => any;
|
|
42
|
+
} | null>;
|
|
43
|
+
popoverRect: import("vue").Ref<{
|
|
44
|
+
height: number;
|
|
45
|
+
width: number;
|
|
46
|
+
x: number;
|
|
47
|
+
y: number;
|
|
48
|
+
readonly bottom: number;
|
|
49
|
+
readonly left: number;
|
|
50
|
+
readonly right: number;
|
|
51
|
+
readonly top: number;
|
|
52
|
+
toJSON: () => any;
|
|
53
|
+
} | null, DOMRect | {
|
|
54
|
+
height: number;
|
|
55
|
+
width: number;
|
|
56
|
+
x: number;
|
|
57
|
+
y: number;
|
|
58
|
+
readonly bottom: number;
|
|
59
|
+
readonly left: number;
|
|
60
|
+
readonly right: number;
|
|
61
|
+
readonly top: number;
|
|
62
|
+
toJSON: () => any;
|
|
63
|
+
} | null>;
|
|
64
|
+
popoverPositionStyle: import("vue").ComputedRef<CSSProperties | undefined>;
|
|
65
|
+
updateRects: () => void;
|
|
66
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom/vitest";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface ModalProps {
|
|
2
|
+
header: string;
|
|
3
|
+
subheader?: string;
|
|
4
|
+
closeOnClickOutside?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<ModalProps & {
|
|
7
|
+
modelValue: boolean;
|
|
8
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
"update:modelValue": (value: boolean) => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<ModalProps & {
|
|
11
|
+
modelValue: boolean;
|
|
12
|
+
}> & Readonly<{
|
|
13
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
closeOnClickOutside: boolean;
|
|
16
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
17
|
+
body?: (props: {}) => any;
|
|
18
|
+
} & {
|
|
19
|
+
footer?: (props: {}) => any;
|
|
20
|
+
}>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
package/pv-components/dist/src/components/base/PvMultiSelectButton/PvMultiSelectButton.spec.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "@testing-library/jest-dom";
|