@turquoisehealth/pit-viper 2.216.0 → 2.217.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-a11y.css +45 -9
- package/_site/assets/css/pit-viper-consumer.css +40 -4
- package/_site/assets/css/pit-viper-v2-scoped.css +45 -14
- package/_site/assets/css/pit-viper-v2.css +50 -14
- package/_site/assets/css/pit-viper.css +37 -1
- package/_src/assets/sprite-v2.svg +1 -1
- package/_src/assets/sprite.svg +1 -1
- package/package.json +5 -1
- package/pv-components/dist/stats/vue/ai/stats.html +4950 -0
- 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-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/visualizations/pv-components-visualizations.mjs +1 -1
- 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-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 +37 -37
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { TagSize } from '../PvTag/types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
export interface PvSuggestionTag {
|
|
4
|
+
/**
|
|
5
|
+
* Tag size
|
|
6
|
+
*/
|
|
7
|
+
size?: TagSize;
|
|
8
|
+
/**
|
|
9
|
+
* Tag Label
|
|
10
|
+
*/
|
|
11
|
+
label: string;
|
|
12
|
+
/**
|
|
13
|
+
* Tag Icon
|
|
14
|
+
*/
|
|
15
|
+
icon?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Icon class
|
|
18
|
+
*/
|
|
19
|
+
iconClasses?: string[];
|
|
20
|
+
/**
|
|
21
|
+
* Show rounded state
|
|
22
|
+
*/
|
|
23
|
+
rounded?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Disable the tag, preventing interaction
|
|
26
|
+
*/
|
|
27
|
+
disabled?: boolean;
|
|
28
|
+
}
|
|
29
|
+
declare const _default: DefineComponent<PvSuggestionTag, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
30
|
+
"handle-click": (label: string) => any;
|
|
31
|
+
}, string, PublicProps, Readonly<PvSuggestionTag> & Readonly<{
|
|
32
|
+
"onHandle-click"?: ((label: string) => any) | undefined;
|
|
33
|
+
}>, {
|
|
34
|
+
size: TagSize;
|
|
35
|
+
disabled: boolean;
|
|
36
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
37
|
+
export default _default;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { PvSwitchSize } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
interface PvSwitchProps {
|
|
4
|
+
/**
|
|
5
|
+
* The visual size of the switch track and thumb.
|
|
6
|
+
*/
|
|
7
|
+
size?: PvSwitchSize;
|
|
8
|
+
/** Optional text label displayed next to the switch. */
|
|
9
|
+
label?: string;
|
|
10
|
+
/** Accessible name for the switch when no visible label is provided. */
|
|
11
|
+
ariaLabel?: string;
|
|
12
|
+
/** When true, the switch is non-interactive and visually dimmed. */
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
/** HTML id for the underlying checkbox input. Auto-generated when omitted. */
|
|
15
|
+
id?: string;
|
|
16
|
+
/**
|
|
17
|
+
* When true, hides the checkmark icon inside the switch thumb.
|
|
18
|
+
*/
|
|
19
|
+
hideCheckIcon?: boolean;
|
|
20
|
+
}
|
|
21
|
+
type __VLS_Props = PvSwitchProps;
|
|
22
|
+
type __VLS_PublicProps = {
|
|
23
|
+
modelValue: boolean;
|
|
24
|
+
} & __VLS_Props;
|
|
25
|
+
declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
26
|
+
"update:modelValue": (value: boolean) => any;
|
|
27
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
28
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
29
|
+
}>, {
|
|
30
|
+
size: PvSwitchSize;
|
|
31
|
+
disabled: boolean;
|
|
32
|
+
hideCheckIcon: boolean;
|
|
33
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
34
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Option } from '../../../types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
export interface PvTabListBaseProps {
|
|
4
|
+
modelValue: string;
|
|
5
|
+
options: Option[];
|
|
6
|
+
}
|
|
7
|
+
declare const _default: DefineComponent<PvTabListBaseProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8
|
+
"update:modelValue": (...args: any[]) => void;
|
|
9
|
+
}, string, PublicProps, Readonly<PvTabListBaseProps> & Readonly<{
|
|
10
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
12
|
+
export default _default;
|
package/pv-components/dist/vue/ai/components/base/PvTableOfContents/PvTableOfContents.vue.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PvTableOfContentsItem } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
interface PvTableOfContentsProps {
|
|
4
|
+
/** Items to display in the table of contents */
|
|
5
|
+
items: PvTableOfContentsItem[];
|
|
6
|
+
}
|
|
7
|
+
type __VLS_Props = PvTableOfContentsProps;
|
|
8
|
+
type __VLS_PublicProps = {
|
|
9
|
+
modelValue?: string;
|
|
10
|
+
} & __VLS_Props;
|
|
11
|
+
declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
12
|
+
"update:modelValue": (value: string) => any;
|
|
13
|
+
} & {
|
|
14
|
+
"handle-select": (item: PvTableOfContentsItem) => any;
|
|
15
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
16
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
17
|
+
"onHandle-select"?: ((item: PvTableOfContentsItem) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLUListElement>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Tab, TabSize } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
interface PvTabsProps {
|
|
4
|
+
/** Array of tab objects defining each tab's label, icon, and counter */
|
|
5
|
+
tabs: Tab[];
|
|
6
|
+
/** Size of the tab list */
|
|
7
|
+
size?: TabSize;
|
|
8
|
+
}
|
|
9
|
+
type __VLS_Props = PvTabsProps;
|
|
10
|
+
type __VLS_PublicProps = {
|
|
11
|
+
modelValue: string;
|
|
12
|
+
} & __VLS_Props;
|
|
13
|
+
declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
14
|
+
"update:modelValue": (value: string) => any;
|
|
15
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
16
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
size: TabSize;
|
|
19
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLUListElement>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PvSize } from '../baseProps';
|
|
2
|
+
export type TabSize = Extract<PvSize, "lg" | "xl">;
|
|
3
|
+
export interface Tab {
|
|
4
|
+
/** Optional counter badge value displayed on the tab */
|
|
5
|
+
counter?: number;
|
|
6
|
+
/** Display text for the tab */
|
|
7
|
+
label: string;
|
|
8
|
+
/** Optional icon name displayed before the tab label */
|
|
9
|
+
icon?: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { TagSize, TagVariant } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
export interface PvTagProps {
|
|
4
|
+
/**
|
|
5
|
+
* Tag size
|
|
6
|
+
*/
|
|
7
|
+
size?: TagSize;
|
|
8
|
+
/**
|
|
9
|
+
* Tag visual variant
|
|
10
|
+
*/
|
|
11
|
+
variant?: TagVariant;
|
|
12
|
+
/**
|
|
13
|
+
* Tag Icon
|
|
14
|
+
*/
|
|
15
|
+
icon?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Icon class
|
|
18
|
+
*/
|
|
19
|
+
iconClasses?: string[];
|
|
20
|
+
/**
|
|
21
|
+
* Tag Label
|
|
22
|
+
*/
|
|
23
|
+
label: string;
|
|
24
|
+
/**
|
|
25
|
+
* Show left clear icon
|
|
26
|
+
*/
|
|
27
|
+
showClear?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Show rounded state
|
|
30
|
+
*/
|
|
31
|
+
rounded?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Spine - dotted state
|
|
34
|
+
*/
|
|
35
|
+
spine?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Optional `data-dd-action-name` attached to the close (×) icon so Datadog
|
|
38
|
+
* RUM resolves the click to a named action instead of the tag label.
|
|
39
|
+
* Leave unset to fall back to Datadog's default text resolution.
|
|
40
|
+
*/
|
|
41
|
+
rumRemoveActionName?: string;
|
|
42
|
+
}
|
|
43
|
+
declare const _default: DefineComponent<PvTagProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
44
|
+
"handle-close": (payload: string) => any;
|
|
45
|
+
"handle-click": (payload: string) => any;
|
|
46
|
+
}, string, PublicProps, Readonly<PvTagProps> & Readonly<{
|
|
47
|
+
"onHandle-close"?: ((payload: string) => any) | undefined;
|
|
48
|
+
"onHandle-click"?: ((payload: string) => any) | undefined;
|
|
49
|
+
}>, {
|
|
50
|
+
size: TagSize;
|
|
51
|
+
variant: TagVariant;
|
|
52
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
53
|
+
export default _default;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { PvTextAreaVariant } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
interface PvTextareaProps {
|
|
4
|
+
/** When true, applies invalid/error styling to the textarea and lower label. */
|
|
5
|
+
error?: boolean;
|
|
6
|
+
/** When true, the textarea is non-interactive and visually dimmed. */
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
/** Placeholder text shown when the textarea is empty. */
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
/** HTML id for the textarea element. Auto-generated when omitted. */
|
|
11
|
+
id?: string;
|
|
12
|
+
/** Helper or validation text displayed below the textarea. Turns red when error is true. */
|
|
13
|
+
lowerLabel?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Background color variant of the textarea.
|
|
16
|
+
*/
|
|
17
|
+
variant?: PvTextAreaVariant;
|
|
18
|
+
/**
|
|
19
|
+
* Number of visible text rows.
|
|
20
|
+
*/
|
|
21
|
+
rows?: number;
|
|
22
|
+
}
|
|
23
|
+
type __VLS_Props = PvTextareaProps;
|
|
24
|
+
type __VLS_PublicProps = {
|
|
25
|
+
modelValue?: string;
|
|
26
|
+
} & __VLS_Props;
|
|
27
|
+
declare function __VLS_template(): {
|
|
28
|
+
attrs: Partial<{}>;
|
|
29
|
+
slots: {
|
|
30
|
+
label?(_: {}): any;
|
|
31
|
+
};
|
|
32
|
+
refs: {};
|
|
33
|
+
rootEl: HTMLDivElement;
|
|
34
|
+
};
|
|
35
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
36
|
+
declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
37
|
+
"update:modelValue": (value: string) => any;
|
|
38
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
39
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
40
|
+
}>, {
|
|
41
|
+
variant: PvTextAreaVariant;
|
|
42
|
+
id: string;
|
|
43
|
+
rows: number;
|
|
44
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
45
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
46
|
+
export default _default;
|
|
47
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
48
|
+
new (): {
|
|
49
|
+
$slots: S;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { PvToastVariants } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
interface PvToastProps {
|
|
4
|
+
/** Visual style variant determining color scheme and default icon */
|
|
5
|
+
variant?: PvToastVariants;
|
|
6
|
+
/** Custom icon name; overrides the default variant icon */
|
|
7
|
+
icon?: string;
|
|
8
|
+
/** Text message displayed in the toast */
|
|
9
|
+
label: string;
|
|
10
|
+
}
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
attrs: Partial<{}>;
|
|
13
|
+
slots: {
|
|
14
|
+
default?(_: {}): any;
|
|
15
|
+
};
|
|
16
|
+
refs: {};
|
|
17
|
+
rootEl: HTMLDivElement;
|
|
18
|
+
};
|
|
19
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
|
+
declare const __VLS_component: DefineComponent<PvToastProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
21
|
+
"handle-close": () => any;
|
|
22
|
+
}, string, PublicProps, Readonly<PvToastProps> & Readonly<{
|
|
23
|
+
"onHandle-close"?: (() => any) | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
variant: PvToastVariants;
|
|
26
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
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 @@
|
|
|
1
|
+
export type PvToastVariants = "info" | "success" | "error" | "dark";
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { PvToggleButtonSize, PvToggleButtonVariant } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
interface PvToggleButton {
|
|
4
|
+
/**
|
|
5
|
+
* The visual size of the toggle button.
|
|
6
|
+
*/
|
|
7
|
+
size?: PvToggleButtonSize;
|
|
8
|
+
/**
|
|
9
|
+
* The visual style variant.
|
|
10
|
+
*/
|
|
11
|
+
variant?: PvToggleButtonVariant;
|
|
12
|
+
/** When true, applies fully rounded (pill) corners. */
|
|
13
|
+
rounded?: boolean;
|
|
14
|
+
/** When true, the toggle button is non-interactive and visually dimmed. */
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
/** The value emitted when this toggle is selected (used with radio-style groups). */
|
|
17
|
+
value?: string;
|
|
18
|
+
/** Visible text label displayed inside the toggle. */
|
|
19
|
+
label?: string;
|
|
20
|
+
/** Icon name displayed to the left of the label. */
|
|
21
|
+
leftIcon?: string;
|
|
22
|
+
/** Icon name displayed to the right of the label. */
|
|
23
|
+
rightIcon?: string;
|
|
24
|
+
/** HTML id for the underlying input element. Auto-generated from label when omitted. */
|
|
25
|
+
id?: string;
|
|
26
|
+
/** HTML name attribute, used to group radio-style toggles. */
|
|
27
|
+
name?: string;
|
|
28
|
+
/**
|
|
29
|
+
* When true, renders as a checkbox (can be deselected). When false, renders as a radio (stays selected).
|
|
30
|
+
*/
|
|
31
|
+
deselect?: boolean;
|
|
32
|
+
/** Optional counter on the right side of the button */
|
|
33
|
+
rightCounterBadge?: number;
|
|
34
|
+
}
|
|
35
|
+
type __VLS_Props = PvToggleButton;
|
|
36
|
+
type __VLS_PublicProps = {
|
|
37
|
+
modelValue?: boolean | string;
|
|
38
|
+
} & __VLS_Props;
|
|
39
|
+
declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
40
|
+
"update:modelValue": (value: string | boolean) => any;
|
|
41
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
42
|
+
"onUpdate:modelValue"?: ((value: string | boolean) => any) | undefined;
|
|
43
|
+
}>, {
|
|
44
|
+
size: PvToggleButtonSize;
|
|
45
|
+
variant: PvToggleButtonVariant;
|
|
46
|
+
deselect: boolean;
|
|
47
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
48
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PvToggleGroupOption, PvToggleGroupProps } from './types.ts';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = PvToggleGroupProps;
|
|
4
|
+
type __VLS_PublicProps = {
|
|
5
|
+
modelValue?: PvToggleGroupOption | null;
|
|
6
|
+
} & __VLS_Props;
|
|
7
|
+
declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8
|
+
"update:modelValue": (value: PvToggleGroupOption | null) => any;
|
|
9
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
10
|
+
"onUpdate:modelValue"?: ((value: PvToggleGroupOption | null) => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface PvToggleGroupOption {
|
|
2
|
+
label: string;
|
|
3
|
+
value: string;
|
|
4
|
+
icon?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface PvToggleGroupProps {
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
allowDeselect?: boolean;
|
|
10
|
+
hideLabels?: boolean;
|
|
11
|
+
options?: PvToggleGroupOption[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { PvTooltipPositions, PvTooltipVariants, PvTooltipSize } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
interface PvTooltipProps {
|
|
4
|
+
/** Color theme variant */
|
|
5
|
+
variant?: PvTooltipVariants;
|
|
6
|
+
/** Position of the tooltip relative to the trigger element */
|
|
7
|
+
tooltipPosition?: PvTooltipPositions;
|
|
8
|
+
/** Accessibility label reference ID linking trigger to tooltip content */
|
|
9
|
+
ariaLabelledBy?: string;
|
|
10
|
+
/** Size of the tooltip content area */
|
|
11
|
+
size?: PvTooltipSize;
|
|
12
|
+
/** When true, tooltip hides immediately when cursor leaves the trigger */
|
|
13
|
+
disableInteractive?: boolean;
|
|
14
|
+
/** Delay in milliseconds before showing the tooltip */
|
|
15
|
+
delay?: number;
|
|
16
|
+
}
|
|
17
|
+
declare function __VLS_template(): {
|
|
18
|
+
attrs: Partial<{}>;
|
|
19
|
+
slots: {
|
|
20
|
+
label?(_: {}): any;
|
|
21
|
+
'tooltip-content'?(_: {}): any;
|
|
22
|
+
};
|
|
23
|
+
refs: {};
|
|
24
|
+
rootEl: HTMLDivElement;
|
|
25
|
+
};
|
|
26
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
27
|
+
declare const __VLS_component: DefineComponent<PvTooltipProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvTooltipProps> & Readonly<{}>, {
|
|
28
|
+
tooltipPosition: PvTooltipPositions;
|
|
29
|
+
delay: number;
|
|
30
|
+
size: PvTooltipSize;
|
|
31
|
+
variant: PvTooltipVariants;
|
|
32
|
+
disableInteractive: boolean;
|
|
33
|
+
ariaLabelledBy: string;
|
|
34
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
35
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
36
|
+
export default _default;
|
|
37
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$slots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { PvSize } from '../baseProps';
|
|
2
|
+
export type PvTooltipVariants = "white" | "dark";
|
|
3
|
+
export type PvTooltipPositions = "bottom-left" | "bottom-center" | "bottom-right" | "top-left" | "top-center" | "top-right" | "center-left" | "center-right";
|
|
4
|
+
export type PvTooltipSize = Extract<PvSize, "sm" | "md">;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { PvTooltipV2Props, PvTooltipSize, PvTooltipVariants } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { PvAlignmentPositions } from '../baseProps';
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
slots: {
|
|
7
|
+
trigger?(_: {}): any;
|
|
8
|
+
content?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: HTMLDivElement;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: DefineComponent<PvTooltipV2Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvTooltipV2Props> & Readonly<{}>, {
|
|
15
|
+
delay: number;
|
|
16
|
+
size: PvTooltipSize;
|
|
17
|
+
variant: PvTooltipVariants;
|
|
18
|
+
position: PvAlignmentPositions;
|
|
19
|
+
showOnHover: boolean;
|
|
20
|
+
disableInteractive: boolean;
|
|
21
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PvSize } from '../baseProps';
|
|
2
|
+
import { PvPopoverV2Props } from '../PvPopoverV2/types.ts';
|
|
3
|
+
export type PvTooltipVariants = "white" | "dark";
|
|
4
|
+
export type PvTooltipSize = Extract<PvSize, "sm" | "md">;
|
|
5
|
+
export interface PvTooltipV2Props extends PvPopoverV2Props {
|
|
6
|
+
/** Color theme variant */
|
|
7
|
+
variant?: PvTooltipVariants;
|
|
8
|
+
/** Fallback text for the trigger when no trigger slot is provided */
|
|
9
|
+
label?: string;
|
|
10
|
+
/** Text content displayed inside the tooltip when no content slot is provided */
|
|
11
|
+
description?: string;
|
|
12
|
+
/** Size of the tooltip content area */
|
|
13
|
+
size?: PvTooltipSize;
|
|
14
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { PvTreeOption } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
interface PvButtonTreeItemProps {
|
|
4
|
+
selected?: boolean;
|
|
5
|
+
option: PvTreeOption;
|
|
6
|
+
disableSelection?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
};
|
|
13
|
+
refs: {};
|
|
14
|
+
rootEl: any;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
+
declare const __VLS_component: DefineComponent<PvButtonTreeItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
18
|
+
"handle-selected": (payload: {
|
|
19
|
+
option: PvTreeOption;
|
|
20
|
+
event: MouseEvent;
|
|
21
|
+
}) => any;
|
|
22
|
+
}, string, PublicProps, Readonly<PvButtonTreeItemProps> & Readonly<{
|
|
23
|
+
"onHandle-selected"?: ((payload: {
|
|
24
|
+
option: PvTreeOption;
|
|
25
|
+
event: MouseEvent;
|
|
26
|
+
}) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
disableSelection: boolean;
|
|
29
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
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,36 @@
|
|
|
1
|
+
import { PvTreeOption } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
interface PvCheckboxTreeItemProps {
|
|
4
|
+
selected?: boolean;
|
|
5
|
+
option: PvTreeOption;
|
|
6
|
+
disableSelection?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
};
|
|
13
|
+
refs: {};
|
|
14
|
+
rootEl: HTMLLabelElement;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
+
declare const __VLS_component: DefineComponent<PvCheckboxTreeItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
18
|
+
"handle-selected": (payload: {
|
|
19
|
+
option: PvTreeOption;
|
|
20
|
+
event: MouseEvent;
|
|
21
|
+
}) => any;
|
|
22
|
+
}, string, PublicProps, Readonly<PvCheckboxTreeItemProps> & Readonly<{
|
|
23
|
+
"onHandle-selected"?: ((payload: {
|
|
24
|
+
option: PvTreeOption;
|
|
25
|
+
event: MouseEvent;
|
|
26
|
+
}) => any) | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
disableSelection: boolean;
|
|
29
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
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,7 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
interface PvSimpleItemTreeProps {
|
|
3
|
+
label: string;
|
|
4
|
+
icon?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: DefineComponent<PvSimpleItemTreeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvSimpleItemTreeProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { PvTreeOption, PvTreeSettings } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
interface PvSimpleNestedTreeProps {
|
|
4
|
+
option: PvTreeOption;
|
|
5
|
+
settings: PvTreeSettings;
|
|
6
|
+
level: number;
|
|
7
|
+
selectedOptions?: PvTreeOption[];
|
|
8
|
+
isDraggable?: boolean;
|
|
9
|
+
isParentPathOpen?: boolean;
|
|
10
|
+
disableSelection?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare const _default: DefineComponent<PvSimpleNestedTreeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
13
|
+
"handle-tree-select": (payload: {
|
|
14
|
+
option: PvTreeOption;
|
|
15
|
+
event: MouseEvent;
|
|
16
|
+
}) => any;
|
|
17
|
+
"update:children": (payload: {
|
|
18
|
+
optionId: PvTreeOption["node_id"];
|
|
19
|
+
newChildren: PvTreeOption[];
|
|
20
|
+
}) => any;
|
|
21
|
+
}, string, PublicProps, Readonly<PvSimpleNestedTreeProps> & Readonly<{
|
|
22
|
+
"onHandle-tree-select"?: ((payload: {
|
|
23
|
+
option: PvTreeOption;
|
|
24
|
+
event: MouseEvent;
|
|
25
|
+
}) => any) | undefined;
|
|
26
|
+
"onUpdate:children"?: ((payload: {
|
|
27
|
+
optionId: PvTreeOption["node_id"];
|
|
28
|
+
newChildren: PvTreeOption[];
|
|
29
|
+
}) => any) | undefined;
|
|
30
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { PvTreeOption, PvTreeSettings } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
interface PvSimpleNestedTreeItemProps {
|
|
4
|
+
option: PvTreeOption;
|
|
5
|
+
settings: PvTreeSettings;
|
|
6
|
+
level: number;
|
|
7
|
+
index: number;
|
|
8
|
+
totalSiblings: number;
|
|
9
|
+
parentField: string;
|
|
10
|
+
selectedOptions?: PvTreeOption[];
|
|
11
|
+
isDraggable?: boolean;
|
|
12
|
+
isParentPathOpen?: boolean;
|
|
13
|
+
isLastItem?: boolean;
|
|
14
|
+
disableSelection?: boolean;
|
|
15
|
+
}
|
|
16
|
+
declare const _default: DefineComponent<PvSimpleNestedTreeItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
17
|
+
"handle-tree-select": (payload: {
|
|
18
|
+
option: PvTreeOption;
|
|
19
|
+
event: MouseEvent;
|
|
20
|
+
}) => any;
|
|
21
|
+
"update:children": (payload: {
|
|
22
|
+
optionId: PvTreeOption["node_id"];
|
|
23
|
+
newChildren: PvTreeOption[];
|
|
24
|
+
}) => any;
|
|
25
|
+
}, string, PublicProps, Readonly<PvSimpleNestedTreeItemProps> & Readonly<{
|
|
26
|
+
"onHandle-tree-select"?: ((payload: {
|
|
27
|
+
option: PvTreeOption;
|
|
28
|
+
event: MouseEvent;
|
|
29
|
+
}) => any) | undefined;
|
|
30
|
+
"onUpdate:children"?: ((payload: {
|
|
31
|
+
optionId: PvTreeOption["node_id"];
|
|
32
|
+
newChildren: PvTreeOption[];
|
|
33
|
+
}) => any) | undefined;
|
|
34
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
35
|
+
export default _default;
|