@turquoisehealth/pit-viper 2.215.0 → 2.216.1-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/package.json +5 -1
- package/pv-components/dist/stats/vue/ai/stats.html +4950 -0
- package/pv-components/dist/stats/vue/base/stats.html +1 -1
- package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
- package/pv-components/dist/stats/web/pv-confirmation-stats.html +4950 -0
- package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-prompt-input-stats.html +4950 -0
- package/pv-components/dist/stats/web/pv-question-stats.html +4950 -0
- package/pv-components/dist/stats/web/pv-reasoning-stats.html +4950 -0
- package/pv-components/dist/stats/web/pv-tool-stats.html +4950 -0
- package/pv-components/dist/vue/ai/components/ai/PvConfirmation/PvConfirmation.vue.d.ts +30 -0
- package/pv-components/dist/vue/ai/components/ai/PvConfirmation/types.d.ts +21 -0
- package/pv-components/dist/vue/ai/components/ai/PvPromptInput/PvPromptInput.vue.d.ts +46 -0
- package/pv-components/dist/vue/ai/components/ai/PvPromptInput/types.d.ts +20 -0
- package/pv-components/dist/vue/ai/components/ai/PvQuestion/PvQuestion.vue.d.ts +35 -0
- package/pv-components/dist/vue/ai/components/ai/PvQuestion/types.d.ts +24 -0
- package/pv-components/dist/vue/ai/components/ai/PvReasoning/PvReasoning.vue.d.ts +33 -0
- package/pv-components/dist/vue/ai/components/ai/PvReasoning/types.d.ts +14 -0
- package/pv-components/dist/vue/ai/components/ai/PvTool/PvTool.vue.d.ts +35 -0
- package/pv-components/dist/vue/ai/components/ai/PvTool/types.d.ts +15 -0
- package/pv-components/dist/vue/ai/components/ai/index.d.ts +15 -0
- package/pv-components/dist/vue/ai/components/ai/toolLifecycle.d.ts +21 -0
- package/pv-components/dist/vue/ai/components/ai/useStickToBottom.d.ts +19 -0
- package/pv-components/dist/vue/ai/components/base/PvAccordion/PvAccordion.vue.d.ts +60 -0
- package/pv-components/dist/vue/ai/components/base/PvAccordion/types.d.ts +5 -0
- package/pv-components/dist/vue/ai/components/base/PvActionBar/PvActionBar.vue.d.ts +36 -0
- package/pv-components/dist/vue/ai/components/base/PvActionBar/types.d.ts +2 -0
- package/pv-components/dist/vue/ai/components/base/PvActionButton/PvActionButton.vue.d.ts +22 -0
- package/pv-components/dist/vue/ai/components/base/PvAiButton/PvAiButton.vue.d.ts +20 -0
- package/pv-components/dist/vue/ai/components/base/PvAiButton/types.d.ts +2 -0
- package/pv-components/dist/vue/ai/components/base/PvAvatar/PvAvatar.vue.d.ts +7 -0
- package/pv-components/dist/vue/ai/components/base/PvAvatar/types.d.ts +20 -0
- package/pv-components/dist/vue/ai/components/base/PvAvatarGroup/PvAvatarGroup.vue.d.ts +12 -0
- package/pv-components/dist/vue/ai/components/base/PvAvatarGroup/types.d.ts +16 -0
- package/pv-components/dist/vue/ai/components/base/PvBanner/PvBanner.vue.d.ts +35 -0
- package/pv-components/dist/vue/ai/components/base/PvBanner/types.d.ts +11 -0
- package/pv-components/dist/vue/ai/components/base/PvBreadcrumbs/PvBreadcrumbs.vue.d.ts +8 -0
- package/pv-components/dist/vue/ai/components/base/PvBreadcrumbs/types.d.ts +6 -0
- package/pv-components/dist/vue/ai/components/base/PvButton/PvButton.vue.d.ts +10 -0
- package/pv-components/dist/vue/ai/components/base/PvButton/PvButtonWithTooltip.vue.d.ts +8 -0
- package/pv-components/dist/vue/ai/components/base/PvButton/helpers.d.ts +3 -0
- package/pv-components/dist/vue/ai/components/base/PvButton/types.d.ts +38 -0
- package/pv-components/dist/vue/ai/components/base/PvCard/PvCard.vue.d.ts +30 -0
- package/pv-components/dist/vue/ai/components/base/PvCard/types.d.ts +2 -0
- package/pv-components/dist/vue/ai/components/base/PvCheckbox/PvCheckbox.vue.d.ts +19 -0
- package/pv-components/dist/vue/ai/components/base/PvCompanyLabel/PvCompanyLabel.vue.d.ts +14 -0
- package/pv-components/dist/vue/ai/components/base/PvCompanyLabel/types.d.ts +2 -0
- package/pv-components/dist/vue/ai/components/base/PvCompanyLogo/PvCompanyLogo.vue.d.ts +17 -0
- package/pv-components/dist/vue/ai/components/base/PvCompanyLogo/types.d.ts +2 -0
- package/pv-components/dist/vue/ai/components/base/PvCompanyTag/PvCompanyTag.vue.d.ts +31 -0
- package/pv-components/dist/vue/ai/components/base/PvComponentsConfig/primeVue.config.d.ts +14 -0
- package/pv-components/dist/vue/ai/components/base/PvComponentsConfig/usePvComponents.d.ts +2 -0
- package/pv-components/dist/vue/ai/components/base/PvCounterBadge/PvCounterBadge.vue.d.ts +21 -0
- package/pv-components/dist/vue/ai/components/base/PvCounterBadge/types.d.ts +3 -0
- package/pv-components/dist/vue/ai/components/base/PvDatePicker/PvDatePicker.vue.d.ts +103 -0
- package/pv-components/dist/vue/ai/components/base/PvDateTime/PvDateTime.vue.d.ts +18 -0
- package/pv-components/dist/vue/ai/components/base/PvDateTime/useDateTime.d.ts +9 -0
- package/pv-components/dist/vue/ai/components/base/PvDistributionBar/PvDistributionBar.vue.d.ts +7 -0
- package/pv-components/dist/vue/ai/components/base/PvDrawer/PvDrawer.vue.d.ts +54 -0
- package/pv-components/dist/vue/ai/components/base/PvDropdown/PvDropdown.vue.d.ts +125 -0
- package/pv-components/dist/vue/ai/components/base/PvEmptyErrorState/PvEmptyErrorState.vue.d.ts +22 -0
- package/pv-components/dist/vue/ai/components/base/PvEmptyErrorState/types.d.ts +11 -0
- package/pv-components/dist/vue/ai/components/base/PvExpandableContent/PvExpandableContent.vue.d.ts +34 -0
- package/pv-components/dist/vue/ai/components/base/PvExpandableContent/types.d.ts +3 -0
- package/pv-components/dist/vue/ai/components/base/PvFilterModal/PvFilterModal.vue.d.ts +80 -0
- package/pv-components/dist/vue/ai/components/base/PvFilterModal/PvFilterModalSelectItem.vue.d.ts +33 -0
- package/pv-components/dist/vue/ai/components/base/PvFilterModal/types.d.ts +11 -0
- package/pv-components/dist/vue/ai/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +78 -0
- package/pv-components/dist/vue/ai/components/base/PvFilterPanel/PvFilterPanelAccordion.vue.d.ts +18 -0
- package/pv-components/dist/vue/ai/components/base/PvFilterPanel/PvFilterPanelAppliedFiltersSection.vue.d.ts +12 -0
- package/pv-components/dist/vue/ai/components/base/PvFilterPanel/PvFilterPanelCategoryButtonRow.vue.d.ts +14 -0
- package/pv-components/dist/vue/ai/components/base/PvFilterPanel/PvFilterPanelOptionRow.vue.d.ts +35 -0
- package/pv-components/dist/vue/ai/components/base/PvFilterPanel/advancedFilterModel.d.ts +26 -0
- package/pv-components/dist/vue/ai/components/base/PvFilterPanel/aggregateFilterModel.d.ts +56 -0
- package/pv-components/dist/vue/ai/components/base/PvFilterPanel/filterOptionDisplay.d.ts +28 -0
- package/pv-components/dist/vue/ai/components/base/PvFilterPanel/filterOptionValue.d.ts +15 -0
- package/pv-components/dist/vue/ai/components/base/PvFilterPanel/types.d.ts +525 -0
- package/pv-components/dist/vue/ai/components/base/PvFilterPanel/usePvFilterPanel.d.ts +30 -0
- package/pv-components/dist/vue/ai/components/base/PvFilterPanel/usePvFilterStore.d.ts +5 -0
- package/pv-components/dist/vue/ai/components/base/PvGhostInput/PvGhostInput.vue.d.ts +45 -0
- package/pv-components/dist/vue/ai/components/base/PvGhostInput/types.d.ts +2 -0
- package/pv-components/dist/vue/ai/components/base/PvHeader/PvHeader.vue.d.ts +36 -0
- package/pv-components/dist/vue/ai/components/base/PvHorizontalScroller/PvHorizontalScroller.vue.d.ts +36 -0
- package/pv-components/dist/vue/ai/components/base/PvHorizontalScroller/types.d.ts +21 -0
- package/pv-components/dist/vue/ai/components/base/PvHoverActionMenu/PvHoverActionMenu.vue.d.ts +42 -0
- package/pv-components/dist/vue/ai/components/base/PvHoverActionMenu/types.d.ts +15 -0
- package/pv-components/dist/vue/ai/components/base/PvIcon/PvIcon.vue.d.ts +14 -0
- package/pv-components/dist/vue/ai/components/base/PvInput/PvInput.vue.d.ts +59 -0
- package/pv-components/dist/vue/ai/components/base/PvInput/types.d.ts +3 -0
- package/pv-components/dist/vue/ai/components/base/PvInsightCard/PvInsightCard.vue.d.ts +29 -0
- package/pv-components/dist/vue/ai/components/base/PvMenu/PvMenu.vue.d.ts +57 -0
- package/pv-components/dist/vue/ai/components/base/PvMenu/PvMenuControlPanel.vue.d.ts +26 -0
- package/pv-components/dist/vue/ai/components/base/PvMenu/PvMenuEmptyState.vue.d.ts +3 -0
- package/pv-components/dist/vue/ai/components/base/PvMenu/cascadeUtils.d.ts +42 -0
- package/pv-components/dist/vue/ai/components/base/PvMenu/items/PvMenuBaseItem.vue.d.ts +11 -0
- package/pv-components/dist/vue/ai/components/base/PvMenu/items/PvMenuItem.vue.d.ts +26 -0
- package/pv-components/dist/vue/ai/components/base/PvMenu/items/PvMenuItemAction.vue.d.ts +9 -0
- package/pv-components/dist/vue/ai/components/base/PvMenu/items/PvMenuItemVariant.vue.d.ts +22 -0
- package/pv-components/dist/vue/ai/components/base/PvMenu/symbols.d.ts +11 -0
- package/pv-components/dist/vue/ai/components/base/PvMenu/types.d.ts +31 -0
- package/pv-components/dist/vue/ai/components/base/PvMenu/useMenuPosition.d.ts +66 -0
- package/pv-components/dist/vue/ai/components/base/PvModal/PvModal.vue.d.ts +31 -0
- package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +170 -0
- package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/mocks.d.ts +20 -0
- package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/types.d.ts +129 -0
- package/pv-components/dist/vue/ai/components/base/PvPagination/PvPagination.vue.d.ts +24 -0
- package/pv-components/dist/vue/ai/components/base/PvPagination/types.d.ts +3 -0
- package/pv-components/dist/vue/ai/components/base/PvPagination/usePagination.d.ts +12 -0
- package/pv-components/dist/vue/ai/components/base/PvPill/PvPill.vue.d.ts +29 -0
- package/pv-components/dist/vue/ai/components/base/PvPill/types.d.ts +4 -0
- package/pv-components/dist/vue/ai/components/base/PvPopover/PvPopover.vue.d.ts +37 -0
- package/pv-components/dist/vue/ai/components/base/PvPopoverMenu/PvPopoverMenu.vue.d.ts +28 -0
- package/pv-components/dist/vue/ai/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +39 -0
- package/pv-components/dist/vue/ai/components/base/PvPopoverV2/types.d.ts +36 -0
- package/pv-components/dist/vue/ai/components/base/PvProgressBar/PvProgressBar.vue.d.ts +15 -0
- package/pv-components/dist/vue/ai/components/base/PvQueryBuilderInput/PvQueryBuilderInput.vue.d.ts +73 -0
- package/pv-components/dist/vue/ai/components/base/PvQueryBuilderInput/QueryBuilderMenuOptionRenderer.vue.d.ts +6 -0
- package/pv-components/dist/vue/ai/components/base/PvQueryBuilderInput/QueryFormatter.vue.d.ts +20 -0
- package/pv-components/dist/vue/ai/components/base/PvQueryBuilderInput/useQueryBuilder.d.ts +44 -0
- package/pv-components/dist/vue/ai/components/base/PvRadioGroup/PvRadioGroup.vue.d.ts +30 -0
- package/pv-components/dist/vue/ai/components/base/PvRadioGroup/types.d.ts +5 -0
- package/pv-components/dist/vue/ai/components/base/PvRange/PvRange.vue.d.ts +36 -0
- package/pv-components/dist/vue/ai/components/base/PvRange/types.d.ts +44 -0
- package/pv-components/dist/vue/ai/components/base/PvRating/PvRating.vue.d.ts +15 -0
- package/pv-components/dist/vue/ai/components/base/PvRating/types.d.ts +4 -0
- package/pv-components/dist/vue/ai/components/base/PvReleaseBadge/PvReleaseBadge.vue.d.ts +10 -0
- package/pv-components/dist/vue/ai/components/base/PvReleaseBadge/types.d.ts +1 -0
- package/pv-components/dist/vue/ai/components/base/PvSearchInput/PvSearchInput.vue.d.ts +33 -0
- package/pv-components/dist/vue/ai/components/base/PvSegmentedControl/PvSegmentedControl.vue.d.ts +23 -0
- package/pv-components/dist/vue/ai/components/base/PvSegmentedControl/types.d.ts +18 -0
- package/pv-components/dist/vue/ai/components/base/PvSelectButton/PvSelectButton.vue.d.ts +85 -0
- package/pv-components/dist/vue/ai/components/base/PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.vue.d.ts +14 -0
- package/pv-components/dist/vue/ai/components/base/PvSelectButton/PvSelectButtonTrigger/types.d.ts +27 -0
- package/pv-components/dist/vue/ai/components/base/PvSelectButton/mocks.d.ts +21 -0
- package/pv-components/dist/vue/ai/components/base/PvSelectButton/types.d.ts +3 -0
- package/pv-components/dist/vue/ai/components/base/PvSelectableCard/PvSelectableCard.vue.d.ts +30 -0
- package/pv-components/dist/vue/ai/components/base/PvSidebar/PvSidebar.vue.d.ts +38 -0
- package/pv-components/dist/vue/ai/components/base/PvSkeleton/PvSkeleton.vue.d.ts +17 -0
- package/pv-components/dist/vue/ai/components/base/PvSkeleton/types.d.ts +8 -0
- package/pv-components/dist/vue/ai/components/base/PvSpinner/PvSpinner.vue.d.ts +13 -0
- package/pv-components/dist/vue/ai/components/base/PvSpinner/types.d.ts +3 -0
- package/pv-components/dist/vue/ai/components/base/PvSplitButton/PvSplitButton.vue.d.ts +27 -0
- package/pv-components/dist/vue/ai/components/base/PvSplitButton/types.d.ts +12 -0
- package/pv-components/dist/vue/ai/components/base/PvSprite/PvSprite.vue.d.ts +9 -0
- package/pv-components/dist/vue/ai/components/base/PvStepper/PvStepper.vue.d.ts +16 -0
- package/pv-components/dist/vue/ai/components/base/PvSuggestionTag/PvSuggestionTag.vue.d.ts +37 -0
- package/pv-components/dist/vue/ai/components/base/PvSwitch/PvSwitch.vue.d.ts +34 -0
- package/pv-components/dist/vue/ai/components/base/PvSwitch/types.d.ts +2 -0
- package/pv-components/dist/vue/ai/components/base/PvTabList/PvTabList.vue.d.ts +12 -0
- package/pv-components/dist/vue/ai/components/base/PvTableOfContents/PvTableOfContents.vue.d.ts +19 -0
- package/pv-components/dist/vue/ai/components/base/PvTableOfContents/types.d.ts +6 -0
- package/pv-components/dist/vue/ai/components/base/PvTabs/PvTabs.vue.d.ts +20 -0
- package/pv-components/dist/vue/ai/components/base/PvTabs/types.d.ts +10 -0
- package/pv-components/dist/vue/ai/components/base/PvTag/PvTag.vue.d.ts +53 -0
- package/pv-components/dist/vue/ai/components/base/PvTag/types.d.ts +3 -0
- package/pv-components/dist/vue/ai/components/base/PvTextArea/PvTextArea.vue.d.ts +51 -0
- package/pv-components/dist/vue/ai/components/base/PvTextArea/types.d.ts +2 -0
- package/pv-components/dist/vue/ai/components/base/PvToast/PvToast.vue.d.ts +33 -0
- package/pv-components/dist/vue/ai/components/base/PvToast/types.d.ts +1 -0
- package/pv-components/dist/vue/ai/components/base/PvToggleButton/PvToggleButton.vue.d.ts +48 -0
- package/pv-components/dist/vue/ai/components/base/PvToggleButton/types.d.ts +3 -0
- package/pv-components/dist/vue/ai/components/base/PvToggleGroup/PvToggleGroup.vue.d.ts +12 -0
- package/pv-components/dist/vue/ai/components/base/PvToggleGroup/types.d.ts +12 -0
- package/pv-components/dist/vue/ai/components/base/PvTooltip/PvTooltip.vue.d.ts +41 -0
- package/pv-components/dist/vue/ai/components/base/PvTooltip/types.d.ts +4 -0
- package/pv-components/dist/vue/ai/components/base/PvTooltipV2/PvTooltipV2.vue.d.ts +28 -0
- package/pv-components/dist/vue/ai/components/base/PvTooltipV2/types.d.ts +14 -0
- package/pv-components/dist/vue/ai/components/base/PvTree/PvButtonTreeItem.vue.d.ts +36 -0
- package/pv-components/dist/vue/ai/components/base/PvTree/PvCheckboxTreeItem.vue.d.ts +36 -0
- package/pv-components/dist/vue/ai/components/base/PvTree/PvSimpleItemTree.vue.d.ts +7 -0
- package/pv-components/dist/vue/ai/components/base/PvTree/PvSimpleNestedTree.vue.d.ts +31 -0
- package/pv-components/dist/vue/ai/components/base/PvTree/PvSimpleNestedTreeItem.vue.d.ts +35 -0
- package/pv-components/dist/vue/ai/components/base/PvTree/PvTree.vue.d.ts +31 -0
- package/pv-components/dist/vue/ai/components/base/PvTree/PvTreeGroup.vue.d.ts +18 -0
- package/pv-components/dist/vue/ai/components/base/PvTree/PvTreeItem.vue.d.ts +37 -0
- package/pv-components/dist/vue/ai/components/base/PvTree/PvTreeReorderIcon.vue.d.ts +3 -0
- package/pv-components/dist/vue/ai/components/base/PvTree/composables/useDragAndDrop.d.ts +23 -0
- package/pv-components/dist/vue/ai/components/base/PvTree/composables/useDragAndDropIndicator.d.ts +8 -0
- package/pv-components/dist/vue/ai/components/base/PvTree/composables/useDraggingState.d.ts +40 -0
- package/pv-components/dist/vue/ai/components/base/PvTree/composables/useHoverIcon.d.ts +6 -0
- package/pv-components/dist/vue/ai/components/base/PvTree/composables/useTreeUpdate.d.ts +8 -0
- package/pv-components/dist/vue/ai/components/base/PvTree/symbols.d.ts +12 -0
- package/pv-components/dist/vue/ai/components/base/PvTree/types.d.ts +61 -0
- package/pv-components/dist/vue/ai/components/base/PvWidget/PvWidget.vue.d.ts +18 -0
- package/pv-components/dist/vue/ai/components/base/baseProps.d.ts +18 -0
- package/pv-components/dist/vue/ai/components/base/index.d.ts +92 -0
- package/pv-components/dist/vue/ai/components/layout/PvSidePanel/PvSidePanel.vue.d.ts +24 -0
- package/pv-components/dist/vue/ai/pv-components-ai.mjs +951 -0
- package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -0
- package/pv-components/dist/vue/base/components/base/PvFilterPanel/types.d.ts +32 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +158 -136
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/types.d.ts +32 -0
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/PvDataTableWithChart.vue.d.ts +2 -1
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +1 -3
- package/pv-components/dist/vue/visualizations/components/visualizations/index.d.ts +1 -1
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +40 -17
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-confirmation/pv-confirmation.js +6441 -0
- package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +950 -928
- package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +2 -0
- package/pv-components/dist/web/components/pv-prompt-input/pv-prompt-input.js +6541 -0
- package/pv-components/dist/web/components/pv-question/pv-question.js +6704 -0
- package/pv-components/dist/web/components/pv-reasoning/pv-reasoning.js +6418 -0
- package/pv-components/dist/web/components/pv-tool/pv-tool.js +6450 -0
- package/pv-components/dist/web/pv-components.iife.js +39 -39
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { PvConfirmationProps, PvConfirmationResponse } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: {
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
accepted?(_: {}): any;
|
|
8
|
+
rejected?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: any;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: DefineComponent<PvConfirmationProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
15
|
+
respond: (response: PvConfirmationResponse) => any;
|
|
16
|
+
}, string, PublicProps, Readonly<PvConfirmationProps> & Readonly<{
|
|
17
|
+
onRespond?: ((response: PvConfirmationResponse) => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
approveLabel: string;
|
|
21
|
+
message: string;
|
|
22
|
+
rejectLabel: string;
|
|
23
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
24
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ToolApproval, ToolLifecycleState } from '../toolLifecycle';
|
|
2
|
+
export interface PvConfirmationProps {
|
|
3
|
+
/** Approval request metadata supplied by the AI SDK. */
|
|
4
|
+
approval?: ToolApproval;
|
|
5
|
+
/** Label for the affirmative action. */
|
|
6
|
+
approveLabel?: string;
|
|
7
|
+
/** Disables both approval actions. */
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
/** Approval request shown when the default slot is not provided. */
|
|
10
|
+
message?: string;
|
|
11
|
+
/** Label for the negative action. */
|
|
12
|
+
rejectLabel?: string;
|
|
13
|
+
/** Current tool lifecycle state. */
|
|
14
|
+
state: ToolLifecycleState;
|
|
15
|
+
}
|
|
16
|
+
export interface PvConfirmationResponse {
|
|
17
|
+
/** Identifier of the approval being answered (echoes `ToolApproval.id`). */
|
|
18
|
+
id: string;
|
|
19
|
+
/** Whether the user approved the tool execution. */
|
|
20
|
+
approved: boolean;
|
|
21
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { PvPromptInputProps, PvPromptInputStatus } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = PvPromptInputProps;
|
|
4
|
+
type __VLS_PublicProps = {
|
|
5
|
+
modelValue?: string;
|
|
6
|
+
} & __VLS_Props;
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
header?(_: {}): any;
|
|
11
|
+
actions?(_: {}): any;
|
|
12
|
+
};
|
|
13
|
+
refs: {
|
|
14
|
+
formRef: HTMLFormElement;
|
|
15
|
+
};
|
|
16
|
+
rootEl: HTMLFormElement;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
+
declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
20
|
+
"update:modelValue": (value: string) => any;
|
|
21
|
+
} & {
|
|
22
|
+
stop: () => any;
|
|
23
|
+
submit: (value: string) => any;
|
|
24
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
25
|
+
onStop?: (() => any) | undefined;
|
|
26
|
+
onSubmit?: ((value: string) => any) | undefined;
|
|
27
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
ariaLabel: string;
|
|
31
|
+
placeholder: string;
|
|
32
|
+
status: PvPromptInputStatus;
|
|
33
|
+
rows: number;
|
|
34
|
+
maxHeight: string;
|
|
35
|
+
stopLabel: string;
|
|
36
|
+
submitLabel: string;
|
|
37
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
38
|
+
formRef: HTMLFormElement;
|
|
39
|
+
}, HTMLFormElement>;
|
|
40
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
41
|
+
export default _default;
|
|
42
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
43
|
+
new (): {
|
|
44
|
+
$slots: S;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const promptInputStatuses: readonly ["ready", "submitted", "streaming", "error"];
|
|
2
|
+
export type PvPromptInputStatus = (typeof promptInputStatuses)[number];
|
|
3
|
+
export interface PvPromptInputProps {
|
|
4
|
+
/** Accessible label for the textarea. */
|
|
5
|
+
ariaLabel?: string;
|
|
6
|
+
/** Disables the composer. */
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
/** Maximum auto-grown textarea height. */
|
|
9
|
+
maxHeight?: string;
|
|
10
|
+
/** Placeholder shown when the prompt is empty. */
|
|
11
|
+
placeholder?: string;
|
|
12
|
+
/** Initial visible textarea rows. */
|
|
13
|
+
rows?: number;
|
|
14
|
+
/** Current chat request status. */
|
|
15
|
+
status?: PvPromptInputStatus;
|
|
16
|
+
/** Accessible label for the stop button. */
|
|
17
|
+
stopLabel?: string;
|
|
18
|
+
/** Accessible label for the submit button. */
|
|
19
|
+
submitLabel?: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { PvQuestionOption, PvQuestionProps } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = PvQuestionProps;
|
|
4
|
+
type __VLS_PublicProps = {
|
|
5
|
+
modelValue?: string;
|
|
6
|
+
"chatInput"?: string;
|
|
7
|
+
} & __VLS_Props;
|
|
8
|
+
declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
9
|
+
"update:modelValue": (value: string) => any;
|
|
10
|
+
"update:chatInput": (value: string) => any;
|
|
11
|
+
} & {
|
|
12
|
+
select: (option: PvQuestionOption) => any;
|
|
13
|
+
submit: (value: string) => any;
|
|
14
|
+
close: () => any;
|
|
15
|
+
skip: () => any;
|
|
16
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
17
|
+
onSelect?: ((option: PvQuestionOption) => any) | undefined;
|
|
18
|
+
onSubmit?: ((value: string) => any) | undefined;
|
|
19
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
20
|
+
onClose?: (() => any) | undefined;
|
|
21
|
+
onSkip?: (() => any) | undefined;
|
|
22
|
+
"onUpdate:chatInput"?: ((value: string) => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
chatInputLabel: string;
|
|
25
|
+
chatInputPlaceholder: string;
|
|
26
|
+
currentQuestion: number;
|
|
27
|
+
headerLabel: string;
|
|
28
|
+
options: PvQuestionOption[];
|
|
29
|
+
subheader: string;
|
|
30
|
+
totalQuestions: number;
|
|
31
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
32
|
+
listboxRef: HTMLDivElement;
|
|
33
|
+
chatInputWrapperRef: HTMLDivElement;
|
|
34
|
+
}, HTMLElement>;
|
|
35
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface PvQuestionOption {
|
|
2
|
+
/** Additional context announced with the option and represented by an info icon. */
|
|
3
|
+
helpText?: string;
|
|
4
|
+
/** Stable option identifier emitted when selected. */
|
|
5
|
+
id: string;
|
|
6
|
+
/** Visible option label. */
|
|
7
|
+
label: string;
|
|
8
|
+
}
|
|
9
|
+
export interface PvQuestionProps {
|
|
10
|
+
/** Accessible name for the free-text answer input. */
|
|
11
|
+
chatInputLabel?: string;
|
|
12
|
+
/** Placeholder for the free-text answer input. */
|
|
13
|
+
chatInputPlaceholder?: string;
|
|
14
|
+
/** One-based index of the current question. */
|
|
15
|
+
currentQuestion?: number;
|
|
16
|
+
/** Question heading. */
|
|
17
|
+
headerLabel?: string;
|
|
18
|
+
/** Selectable answers. */
|
|
19
|
+
options?: PvQuestionOption[];
|
|
20
|
+
/** Supporting copy displayed beneath the heading. */
|
|
21
|
+
subheader?: string;
|
|
22
|
+
/** Total questions in the flow. */
|
|
23
|
+
totalQuestions?: number;
|
|
24
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { PvReasoningProps } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = PvReasoningProps;
|
|
4
|
+
type __VLS_PublicProps = {
|
|
5
|
+
"open"?: boolean;
|
|
6
|
+
} & __VLS_Props;
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: HTMLDetailsElement;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
17
|
+
"update:open": (value: boolean) => any;
|
|
18
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
19
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
defaultOpen: boolean;
|
|
22
|
+
autoCloseDelay: number;
|
|
23
|
+
completedLabel: string;
|
|
24
|
+
isStreaming: boolean;
|
|
25
|
+
streamingLabel: string;
|
|
26
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDetailsElement>;
|
|
27
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface PvReasoningProps {
|
|
2
|
+
/** Delay before automatically closing completed reasoning, in milliseconds. */
|
|
3
|
+
autoCloseDelay?: number;
|
|
4
|
+
/** Label displayed when no duration is available. */
|
|
5
|
+
completedLabel?: string;
|
|
6
|
+
/** Whether the disclosure starts open when it is not controlled. */
|
|
7
|
+
defaultOpen?: boolean;
|
|
8
|
+
/** Completed reasoning duration in seconds. */
|
|
9
|
+
duration?: number;
|
|
10
|
+
/** Whether reasoning content is currently streaming. */
|
|
11
|
+
isStreaming?: boolean;
|
|
12
|
+
/** Label displayed while reasoning is streaming. */
|
|
13
|
+
streamingLabel?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { PvToolProps } from './types';
|
|
2
|
+
import { JSONValue } from '..';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
+
type __VLS_Props = PvToolProps;
|
|
5
|
+
type __VLS_PublicProps = {
|
|
6
|
+
"open"?: boolean;
|
|
7
|
+
} & __VLS_Props;
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
input?(_: {
|
|
12
|
+
input: JSONValue | undefined;
|
|
13
|
+
}): any;
|
|
14
|
+
output?(_: {
|
|
15
|
+
output: JSONValue | undefined;
|
|
16
|
+
}): any;
|
|
17
|
+
};
|
|
18
|
+
refs: {};
|
|
19
|
+
rootEl: HTMLDetailsElement;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
+
declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
23
|
+
"update:open": (value: boolean) => any;
|
|
24
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
25
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
defaultOpen: boolean;
|
|
28
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDetailsElement>;
|
|
29
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { JSONValue, ToolLifecycleState } from '../toolLifecycle';
|
|
2
|
+
export interface PvToolProps {
|
|
3
|
+
/** Whether the disclosure starts open. */
|
|
4
|
+
defaultOpen?: boolean;
|
|
5
|
+
/** Error returned by the tool. */
|
|
6
|
+
errorText?: string;
|
|
7
|
+
/** Parameters passed to the tool. */
|
|
8
|
+
input?: JSONValue;
|
|
9
|
+
/** Value returned by the tool. */
|
|
10
|
+
output?: JSONValue;
|
|
11
|
+
/** Current tool lifecycle state. */
|
|
12
|
+
state: ToolLifecycleState;
|
|
13
|
+
/** Display name of the invoked tool. */
|
|
14
|
+
toolName: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export { default as PvQuestion } from './PvQuestion/PvQuestion.vue';
|
|
2
|
+
export type { PvQuestionOption, PvQuestionProps } from './PvQuestion/types';
|
|
3
|
+
export { default as PvConfirmation } from './PvConfirmation/PvConfirmation.vue';
|
|
4
|
+
export type { PvConfirmationProps, PvConfirmationResponse } from './PvConfirmation/types';
|
|
5
|
+
export { default as PvPromptInput } from './PvPromptInput/PvPromptInput.vue';
|
|
6
|
+
export { promptInputStatuses } from './PvPromptInput/types';
|
|
7
|
+
export type { PvPromptInputProps, PvPromptInputStatus } from './PvPromptInput/types';
|
|
8
|
+
export { default as PvReasoning } from './PvReasoning/PvReasoning.vue';
|
|
9
|
+
export type { PvReasoningProps } from './PvReasoning/types';
|
|
10
|
+
export { default as PvTool } from './PvTool/PvTool.vue';
|
|
11
|
+
export type { PvToolProps } from './PvTool/types';
|
|
12
|
+
export { toolLifecycleStates } from './toolLifecycle';
|
|
13
|
+
export type { JSONValue, ToolApproval, ToolLifecycleState } from './toolLifecycle';
|
|
14
|
+
export { useStickToBottom } from './useStickToBottom';
|
|
15
|
+
export type { UseStickToBottom, UseStickToBottomOptions } from './useStickToBottom';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const toolLifecycleStates: readonly ["input-streaming", "input-available", "approval-requested", "approval-responded", "output-available", "output-error", "output-denied"];
|
|
2
|
+
/**
|
|
3
|
+
* Tool lifecycle states. The `input-*` and `output-available`/`output-error`
|
|
4
|
+
* values mirror the Vercel AI SDK tool-part state union; `approval-requested`,
|
|
5
|
+
* `approval-responded`, and `output-denied` are Pit Viper additions for the
|
|
6
|
+
* human-in-the-loop approval flow.
|
|
7
|
+
*/
|
|
8
|
+
export type ToolLifecycleState = (typeof toolLifecycleStates)[number];
|
|
9
|
+
/** Any JSON-serializable value, matching the shape of AI SDK tool input/output. */
|
|
10
|
+
export type JSONValue = string | number | boolean | null | {
|
|
11
|
+
[key: string]: JSONValue;
|
|
12
|
+
} | JSONValue[];
|
|
13
|
+
/** Approval metadata for the tool confirmation flow. */
|
|
14
|
+
export interface ToolApproval {
|
|
15
|
+
/** Identifier of the approval request, echoed back in the response. */
|
|
16
|
+
id: string;
|
|
17
|
+
/** Whether the tool execution was approved; undefined until answered. */
|
|
18
|
+
approved?: boolean;
|
|
19
|
+
/** Optional reason supplied with the decision, primarily for rejections. */
|
|
20
|
+
reason?: string;
|
|
21
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
export interface UseStickToBottomOptions {
|
|
3
|
+
/** Distance in px from the bottom that still counts as "at the bottom". Defaults to 32. */
|
|
4
|
+
threshold?: number;
|
|
5
|
+
}
|
|
6
|
+
export interface UseStickToBottom {
|
|
7
|
+
/** Whether the container is scrolled to within `threshold` of the bottom. */
|
|
8
|
+
isAtBottom: Ref<boolean>;
|
|
9
|
+
/** Scroll the container to the bottom and mark it as pinned. */
|
|
10
|
+
scrollToBottom: (behavior?: ScrollBehavior) => void;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Chat-style auto-scroll for a scrollable element. Tracks whether the reader is
|
|
14
|
+
* at the bottom and keeps new content pinned to the bottom - but only while the
|
|
15
|
+
* reader is already there, so scrolling up to read history is never interrupted.
|
|
16
|
+
*
|
|
17
|
+
* @param container - Ref to the scrollable element (may be null before mount).
|
|
18
|
+
*/
|
|
19
|
+
export declare function useStickToBottom(container: Ref<HTMLElement | null | undefined>, options?: UseStickToBottomOptions): UseStickToBottom;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { ChevronPosition } from './types';
|
|
2
|
+
import { CSSProperties, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
interface PvAccordionProps {
|
|
4
|
+
/** Position of the chevron icon relative to the header text */
|
|
5
|
+
chevronPosition?: ChevronPosition;
|
|
6
|
+
/** Orientation of the chevron for the open/closed states (up-down vs right-down) */
|
|
7
|
+
chevronVariant?: "vertical" | "horizontal";
|
|
8
|
+
/** Whether the accordion is open by default on initial render */
|
|
9
|
+
defaultOpen?: boolean;
|
|
10
|
+
/** Optional counter badge value displayed next to the header text */
|
|
11
|
+
counter?: number;
|
|
12
|
+
/** Enables a custom trigger slot instead of the default header text */
|
|
13
|
+
enableTriggerSlot?: boolean;
|
|
14
|
+
/** Makes the trigger element expand to fill its container width */
|
|
15
|
+
enableTriggerFullWidth?: boolean;
|
|
16
|
+
/** Text displayed as the accordion header */
|
|
17
|
+
header?: string;
|
|
18
|
+
/** Custom CSS styles applied to the summary/trigger element */
|
|
19
|
+
summaryStyles?: CSSProperties;
|
|
20
|
+
/** CSS class bindings applied to the summary/trigger element */
|
|
21
|
+
summaryClasses?: Record<string, boolean>;
|
|
22
|
+
/** Custom CSS styles applied to the content container */
|
|
23
|
+
contentStyles?: CSSProperties;
|
|
24
|
+
}
|
|
25
|
+
type __VLS_Props = PvAccordionProps;
|
|
26
|
+
type __VLS_PublicProps = {
|
|
27
|
+
modelValue?: boolean;
|
|
28
|
+
} & __VLS_Props;
|
|
29
|
+
declare function __VLS_template(): {
|
|
30
|
+
attrs: Partial<{}>;
|
|
31
|
+
slots: {
|
|
32
|
+
trigger?(_: {}): any;
|
|
33
|
+
default?(_: {}): any;
|
|
34
|
+
};
|
|
35
|
+
refs: {};
|
|
36
|
+
rootEl: HTMLDetailsElement;
|
|
37
|
+
};
|
|
38
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
39
|
+
declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
40
|
+
"update:modelValue": (value: boolean) => any;
|
|
41
|
+
} & {
|
|
42
|
+
"summary-mouseenter": () => any;
|
|
43
|
+
"summary-mouseleave": () => any;
|
|
44
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
45
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
46
|
+
"onSummary-mouseenter"?: (() => any) | undefined;
|
|
47
|
+
"onSummary-mouseleave"?: (() => any) | undefined;
|
|
48
|
+
}>, {
|
|
49
|
+
chevronPosition: ChevronPosition;
|
|
50
|
+
chevronVariant: "vertical" | "horizontal";
|
|
51
|
+
enableTriggerSlot: boolean;
|
|
52
|
+
enableTriggerFullWidth: boolean;
|
|
53
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDetailsElement>;
|
|
54
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
55
|
+
export default _default;
|
|
56
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
57
|
+
new (): {
|
|
58
|
+
$slots: S;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { PvActionBarTheme } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
interface PvActionBarProps {
|
|
4
|
+
/** Visual theme of the action bar. Use "dark" on light backgrounds for contrast.
|
|
5
|
+
* When using "dark", set the `inverse` prop on child components that support it. */
|
|
6
|
+
variant?: PvActionBarTheme;
|
|
7
|
+
}
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: Readonly<{
|
|
11
|
+
/**
|
|
12
|
+
* Default slot for action bar content.
|
|
13
|
+
* sections are divided by the root elements inside the slot.
|
|
14
|
+
*/
|
|
15
|
+
default(): never;
|
|
16
|
+
}> & {
|
|
17
|
+
/**
|
|
18
|
+
* Default slot for action bar content.
|
|
19
|
+
* sections are divided by the root elements inside the slot.
|
|
20
|
+
*/
|
|
21
|
+
default(): never;
|
|
22
|
+
};
|
|
23
|
+
refs: {};
|
|
24
|
+
rootEl: HTMLDivElement;
|
|
25
|
+
};
|
|
26
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
27
|
+
declare const __VLS_component: DefineComponent<PvActionBarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvActionBarProps> & Readonly<{}>, {
|
|
28
|
+
variant: PvActionBarTheme;
|
|
29
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
30
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { PvAlignmentPositions, PvSize } from '../baseProps';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
icon: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
size?: Extract<PvSize, "xs" | "sm" | "md" | "lg">;
|
|
7
|
+
tooltipText: string;
|
|
8
|
+
tooltipPosition?: PvAlignmentPositions;
|
|
9
|
+
/** When false, the button is hidden until a `.pv-label` ancestor is hovered (used by menu actions). */
|
|
10
|
+
alwaysShow?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
13
|
+
click: (args_0: MouseEvent) => any;
|
|
14
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
onClick?: ((args_0: MouseEvent) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
tooltipPosition: PvAlignmentPositions;
|
|
18
|
+
size: Extract<PvSize, "xs" | "sm" | "md" | "lg">;
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
alwaysShow: boolean;
|
|
21
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { PvButtonSize } from '../PvButton/types.ts';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
interface PvAiButtonProps {
|
|
4
|
+
/** Size of the AI button */
|
|
5
|
+
size?: PvButtonSize;
|
|
6
|
+
/** Text label displayed next to the AI icon. Omit for icon-only. */
|
|
7
|
+
label?: string;
|
|
8
|
+
/** Show a loading spinner in place of the icon and label */
|
|
9
|
+
loading?: boolean;
|
|
10
|
+
/** Prevent the button from being clicked */
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
/** Hide AiFilled Icon */
|
|
13
|
+
hideIcon?: boolean;
|
|
14
|
+
}
|
|
15
|
+
declare const _default: DefineComponent<PvAiButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvAiButtonProps> & Readonly<{}>, {
|
|
16
|
+
size: PvButtonSize;
|
|
17
|
+
label: string;
|
|
18
|
+
hideIcon: boolean;
|
|
19
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PvAvatarProps, PvAvatarSize, PvAvatarShape } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<PvAvatarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvAvatarProps> & Readonly<{}>, {
|
|
4
|
+
size: PvAvatarSize;
|
|
5
|
+
shape: PvAvatarShape;
|
|
6
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { PvSize } from '../baseProps';
|
|
2
|
+
export type PvAvatarShape = "circle" | "square";
|
|
3
|
+
export type PvAvatarSize = Extract<PvSize, "sm" | "md" | "lg" | "xl" | "2x">;
|
|
4
|
+
export type PvAvatarVariant = "1" | "2" | "3" | "4" | "5" | "6" | "7";
|
|
5
|
+
export interface PvAvatarProps {
|
|
6
|
+
/** Accessible alt text for the avatar image. Defaults to "" (decorative) when initials or other context provides the name. */
|
|
7
|
+
alt?: string;
|
|
8
|
+
/** Icon name from the SVG sprite to display inside the avatar. Takes priority over `initials` and `image`. */
|
|
9
|
+
icon?: string;
|
|
10
|
+
/** URL of an image to display. Only rendered when `icon` and `initials` are not set. */
|
|
11
|
+
image?: string;
|
|
12
|
+
/** One or two character string displayed when no icon is provided. Takes priority over `image` when both are set. */
|
|
13
|
+
initials?: string;
|
|
14
|
+
/** Shape of the avatar. Defaults to `circle`. */
|
|
15
|
+
shape?: PvAvatarShape;
|
|
16
|
+
/** Display size of the avatar. */
|
|
17
|
+
size?: PvAvatarSize;
|
|
18
|
+
/** Color variant applied to the avatar background (1–7). */
|
|
19
|
+
variant?: PvAvatarVariant;
|
|
20
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PvAvatarGroupItem, PvAvatarGroupSize } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
interface PvAvatarGroupProps {
|
|
4
|
+
/** Array of avatar items to render in the group. */
|
|
5
|
+
items: PvAvatarGroupItem[];
|
|
6
|
+
/** Maximum number of avatars to show before displaying an overflow indicator. Capped at 7. */
|
|
7
|
+
maxDisplayed: number;
|
|
8
|
+
/** Size of each avatar in the group. Defaults to 'xl' (32px). */
|
|
9
|
+
size?: PvAvatarGroupSize;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: DefineComponent<PvAvatarGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvAvatarGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLUListElement>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { PvSize } from '../baseProps';
|
|
2
|
+
export type PvAvatarGroupSize = Extract<PvSize, "md" | "lg" | "xl"> | "xxl";
|
|
3
|
+
export interface PvAvatarGroupItem {
|
|
4
|
+
/** One or two character string displayed as text inside the avatar. */
|
|
5
|
+
initials?: string;
|
|
6
|
+
/** URL of an image to display in the avatar. */
|
|
7
|
+
image?: string;
|
|
8
|
+
/** Accessible alt text for the avatar image. Defaults to "" (decorative) when initials or other context provides the name. */
|
|
9
|
+
alt?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Reserved for future use.
|
|
12
|
+
* A default placeholder avatar is currently rendered whenever neither `initials`
|
|
13
|
+
* nor `image` is provided, regardless of this flag.
|
|
14
|
+
*/
|
|
15
|
+
icon?: boolean;
|
|
16
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { BannerOrientations, BannerVariants } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
export interface PvBannerProps {
|
|
4
|
+
/** Primary text displayed in the banner */
|
|
5
|
+
label: string;
|
|
6
|
+
/** Secondary descriptive text displayed below the label */
|
|
7
|
+
description?: string;
|
|
8
|
+
/** Icon name to display alongside the banner content */
|
|
9
|
+
icon?: string;
|
|
10
|
+
/** Visual style variant of the banner */
|
|
11
|
+
variant?: BannerVariants;
|
|
12
|
+
/** Layout orientation of the banner */
|
|
13
|
+
orientation?: BannerOrientations;
|
|
14
|
+
}
|
|
15
|
+
declare function __VLS_template(): {
|
|
16
|
+
attrs: Partial<{}>;
|
|
17
|
+
slots: {
|
|
18
|
+
left?(_: {}): any;
|
|
19
|
+
action?(_: {}): any;
|
|
20
|
+
};
|
|
21
|
+
refs: {};
|
|
22
|
+
rootEl: HTMLDivElement;
|
|
23
|
+
};
|
|
24
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
25
|
+
declare const __VLS_component: DefineComponent<PvBannerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvBannerProps> & Readonly<{}>, {
|
|
26
|
+
variant: BannerVariants;
|
|
27
|
+
orientation: BannerOrientations;
|
|
28
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
29
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare enum BannerOrientationsEnum {
|
|
2
|
+
Vertical = "Vertical",
|
|
3
|
+
Horizontal = "Horizontal"
|
|
4
|
+
}
|
|
5
|
+
export declare enum BannerVariantsEnum {
|
|
6
|
+
Primary = "Primary",
|
|
7
|
+
Secondary = "Secondary",
|
|
8
|
+
Tertiary = "Tertiary"
|
|
9
|
+
}
|
|
10
|
+
export type BannerOrientations = `${BannerOrientationsEnum}`;
|
|
11
|
+
export type BannerVariants = `${BannerVariantsEnum}`;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PvBreadcrumbsOptions } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
interface PvBreadcrumbsProps {
|
|
4
|
+
/** Array of breadcrumb items defining the navigation trail */
|
|
5
|
+
options: PvBreadcrumbsOptions[];
|
|
6
|
+
}
|
|
7
|
+
declare const _default: DefineComponent<PvBreadcrumbsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvBreadcrumbsProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLUListElement>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PvButtonProps, PvButtonSize, PvButtonVariant } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
declare const _default: DefineComponent<PvButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvButtonProps> & Readonly<{}>, {
|
|
4
|
+
size: PvButtonSize;
|
|
5
|
+
variant: PvButtonVariant;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
loading: boolean;
|
|
8
|
+
inverse: boolean;
|
|
9
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
10
|
+
export default _default;
|