@turquoisehealth/pit-viper 2.81.0 → 2.81.2-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. package/package.json +31 -12
  2. package/pv-components/dist/vue/base/components/base/PvAccordion/PvAccordion.spec.d.ts +1 -0
  3. package/pv-components/dist/vue/base/components/base/PvAccordion/PvAccordion.vue.d.ts +28 -0
  4. package/pv-components/dist/vue/base/components/base/PvAccordion/types.d.ts +5 -0
  5. package/pv-components/dist/vue/base/components/base/PvActionBar/PvActionBar.spec.d.ts +1 -0
  6. package/pv-components/dist/vue/base/components/base/PvActionBar/PvActionBar.vue.d.ts +24 -0
  7. package/pv-components/dist/vue/base/components/base/PvActionBar/types.d.ts +2 -0
  8. package/pv-components/dist/vue/base/components/base/PvAiButton/PvAiButton.spec.d.ts +1 -0
  9. package/pv-components/dist/vue/base/components/base/PvAiButton/PvAiButton.vue.d.ts +13 -0
  10. package/pv-components/dist/vue/base/components/base/PvAiButton/types.d.ts +2 -0
  11. package/pv-components/dist/vue/base/components/base/PvAvatar/PvAvatar.spec.d.ts +1 -0
  12. package/pv-components/dist/vue/base/components/base/PvAvatar/PvAvatar.vue.d.ts +11 -0
  13. package/pv-components/dist/vue/base/components/base/PvAvatar/types.d.ts +2 -0
  14. package/pv-components/dist/vue/base/components/base/PvAvatarGroup/PvAvatarGroup.spec.d.ts +1 -0
  15. package/pv-components/dist/vue/base/components/base/PvAvatarGroup/PvAvatarGroup.vue.d.ts +8 -0
  16. package/pv-components/dist/vue/base/components/base/PvAvatarGroup/types.d.ts +5 -0
  17. package/pv-components/dist/vue/base/components/base/PvBanner/PvBanner.spec.d.ts +1 -0
  18. package/pv-components/dist/vue/base/components/base/PvBanner/PvBanner.vue.d.ts +29 -0
  19. package/pv-components/dist/vue/base/components/base/PvBanner/types.d.ts +11 -0
  20. package/pv-components/dist/vue/base/components/base/PvBreadcrumbs/PvBreadcrumbs.spec.d.ts +1 -0
  21. package/pv-components/dist/vue/base/components/base/PvBreadcrumbs/PvBreadcrumbs.vue.d.ts +7 -0
  22. package/pv-components/dist/vue/base/components/base/PvBreadcrumbs/types.d.ts +4 -0
  23. package/pv-components/dist/vue/base/components/base/PvButton/PvButton.spec.d.ts +1 -0
  24. package/pv-components/dist/vue/base/components/base/PvButton/PvButton.vue.d.ts +20 -0
  25. package/pv-components/dist/vue/base/components/base/PvButton/types.d.ts +3 -0
  26. package/pv-components/dist/vue/base/components/base/PvCard/PvCard.spec.d.ts +1 -0
  27. package/pv-components/dist/vue/base/components/base/PvCard/PvCard.vue.d.ts +27 -0
  28. package/pv-components/dist/vue/base/components/base/PvCard/types.d.ts +2 -0
  29. package/pv-components/dist/vue/base/components/base/PvCheckbox/PvCheckbox.vue.d.ts +17 -0
  30. package/pv-components/dist/vue/base/components/base/PvCompanyLabel/PvCompanyLabel.vue.d.ts +11 -0
  31. package/pv-components/dist/vue/base/components/base/PvCompanyLabel/types.d.ts +2 -0
  32. package/pv-components/dist/vue/base/components/base/PvCompanyLogo/PvCompanyLogo.spec.d.ts +1 -0
  33. package/pv-components/dist/vue/base/components/base/PvCompanyLogo/PvCompanyLogo.vue.d.ts +15 -0
  34. package/pv-components/dist/vue/base/components/base/PvCompanyLogo/types.d.ts +2 -0
  35. package/pv-components/dist/vue/base/components/base/PvCompanyTag/PvCompanyTag.spec.d.ts +1 -0
  36. package/pv-components/dist/vue/base/components/base/PvCompanyTag/PvCompanyTag.vue.d.ts +27 -0
  37. package/pv-components/dist/vue/base/components/base/PvComponentsConfig/primeVue.config.d.ts +14 -0
  38. package/pv-components/dist/vue/base/components/base/PvComponentsConfig/usePvComponents.d.ts +2 -0
  39. package/pv-components/dist/vue/base/components/base/PvCounterBadge/PvCounterBadge.spec.d.ts +1 -0
  40. package/pv-components/dist/vue/base/components/base/PvCounterBadge/PvCounterBadge.vue.d.ts +16 -0
  41. package/pv-components/dist/vue/base/components/base/PvCounterBadge/types.d.ts +3 -0
  42. package/pv-components/dist/vue/base/components/base/PvDatePicker/PvDatePicker.vue.d.ts +115 -0
  43. package/pv-components/dist/vue/base/components/base/PvDateTime/PvDateTime.spec.d.ts +1 -0
  44. package/pv-components/dist/vue/base/components/base/PvDateTime/PvDateTime.vue.d.ts +14 -0
  45. package/pv-components/dist/vue/base/components/base/PvDateTime/useDateTime.d.ts +9 -0
  46. package/pv-components/dist/vue/base/components/base/PvDateTime/useDateTime.spec.d.ts +1 -0
  47. package/pv-components/dist/vue/base/components/base/PvDrawer/PvDrawer.spec.d.ts +1 -0
  48. package/pv-components/dist/vue/base/components/base/PvDrawer/PvDrawer.vue.d.ts +34 -0
  49. package/pv-components/dist/vue/base/components/base/PvDropdown/PvDropdown.vue.d.ts +117 -0
  50. package/pv-components/dist/vue/base/components/base/PvExpandableContent/PvExpandableContent.spec.d.ts +1 -0
  51. package/pv-components/dist/vue/base/components/base/PvExpandableContent/PvExpandableContent.vue.d.ts +30 -0
  52. package/pv-components/dist/vue/base/components/base/PvExpandableContent/types.d.ts +3 -0
  53. package/pv-components/dist/vue/base/components/base/PvGhostInput/PvGhostInput.spec.d.ts +1 -0
  54. package/pv-components/dist/vue/base/components/base/PvGhostInput/PvGhostInput.vue.d.ts +39 -0
  55. package/pv-components/dist/vue/base/components/base/PvGhostInput/types.d.ts +2 -0
  56. package/pv-components/dist/vue/base/components/base/PvIcon/PvIcon.vue.d.ts +10 -0
  57. package/pv-components/dist/vue/base/components/base/PvInput/PvInput.spec.d.ts +1 -0
  58. package/pv-components/dist/vue/base/components/base/PvInput/PvInput.vue.d.ts +40 -0
  59. package/pv-components/dist/vue/base/components/base/PvInput/types.d.ts +3 -0
  60. package/pv-components/dist/vue/base/components/base/PvInsightCard/PvInsightCard.spec.d.ts +1 -0
  61. package/pv-components/dist/vue/base/components/base/PvInsightCard/PvInsightCard.vue.d.ts +22 -0
  62. package/pv-components/dist/vue/base/components/base/PvMenu/PvMenu.spec.d.ts +1 -0
  63. package/pv-components/dist/vue/base/components/base/PvMenu/PvMenu.vue.d.ts +183 -0
  64. package/pv-components/dist/vue/base/components/base/PvMenu/PvMenuControlPanel.spec.d.ts +1 -0
  65. package/pv-components/dist/vue/base/components/base/PvMenu/PvMenuControlPanel.vue.d.ts +12 -0
  66. package/pv-components/dist/vue/base/components/base/PvMenu/PvMenuEmptyState.vue.d.ts +3 -0
  67. package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuCheckboxItem.spec.d.ts +1 -0
  68. package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuCheckboxItem.vue.d.ts +18 -0
  69. package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuItem.spec.d.ts +1 -0
  70. package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuItem.vue.d.ts +25 -0
  71. package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuRadioItem.spec.d.ts +1 -0
  72. package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuRadioItem.vue.d.ts +13 -0
  73. package/pv-components/dist/vue/base/components/base/PvMenu/useMenuPosition.d.ts +66 -0
  74. package/pv-components/dist/vue/base/components/base/PvMenu/useMenuPosition.spec.d.ts +1 -0
  75. package/pv-components/dist/vue/base/components/base/PvModal/PvModal.spec.d.ts +1 -0
  76. package/pv-components/dist/vue/base/components/base/PvModal/PvModal.vue.d.ts +28 -0
  77. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.spec.d.ts +1 -0
  78. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +361 -0
  79. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectMenuItem.vue.d.ts +15 -0
  80. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/mocks.d.ts +15 -0
  81. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/types.d.ts +3 -0
  82. package/pv-components/dist/vue/base/components/base/PvPagination/PvPagination.spec.d.ts +1 -0
  83. package/pv-components/dist/vue/base/components/base/PvPagination/PvPagination.vue.d.ts +21 -0
  84. package/pv-components/dist/vue/base/components/base/PvPagination/types.d.ts +3 -0
  85. package/pv-components/dist/vue/base/components/base/PvPagination/usePagination.d.ts +12 -0
  86. package/pv-components/dist/vue/base/components/base/PvPagination/usePagination.spec.d.ts +1 -0
  87. package/pv-components/dist/vue/base/components/base/PvPill/PvPill.spec.d.ts +1 -0
  88. package/pv-components/dist/vue/base/components/base/PvPill/PvPill.vue.d.ts +31 -0
  89. package/pv-components/dist/vue/base/components/base/PvPill/types.d.ts +4 -0
  90. package/pv-components/dist/vue/base/components/base/PvPopover/PvPopover.vue.d.ts +31 -0
  91. package/pv-components/dist/vue/base/components/base/PvQueryBuilderInput/useQueryBuilder.d.ts +44 -0
  92. package/pv-components/dist/vue/base/components/base/PvQueryBuilderInput/useQueryBuilder.spec.d.ts +1 -0
  93. package/pv-components/dist/vue/base/components/base/PvRating/PvRating.spec.d.ts +1 -0
  94. package/pv-components/dist/vue/base/components/base/PvRating/PvRating.vue.d.ts +12 -0
  95. package/pv-components/dist/vue/base/components/base/PvRating/types.d.ts +4 -0
  96. package/pv-components/dist/vue/base/components/base/PvReleaseBadge/PvReleaseBadge.spec.d.ts +1 -0
  97. package/pv-components/dist/vue/base/components/base/PvReleaseBadge/PvReleaseBadge.vue.d.ts +8 -0
  98. package/pv-components/dist/vue/base/components/base/PvReleaseBadge/types.d.ts +1 -0
  99. package/pv-components/dist/vue/base/components/base/PvSearchInput/PvSearchInput.spec.d.ts +1 -0
  100. package/pv-components/dist/vue/base/components/base/PvSearchInput/PvSearchInput.vue.d.ts +26 -0
  101. package/pv-components/dist/vue/base/components/base/PvSegmentedControl/PvSegmentedControl.spec.d.ts +1 -0
  102. package/pv-components/dist/vue/base/components/base/PvSegmentedControl/PvSegmentedControl.vue.d.ts +19 -0
  103. package/pv-components/dist/vue/base/components/base/PvSegmentedControl/types.d.ts +8 -0
  104. package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButton.spec.d.ts +1 -0
  105. package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButton.vue.d.ts +228 -0
  106. package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.spec.d.ts +1 -0
  107. package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.vue.d.ts +33 -0
  108. package/pv-components/dist/vue/base/components/base/PvSelectButton/mocks.d.ts +13 -0
  109. package/pv-components/dist/vue/base/components/base/PvSelectButton/types.d.ts +3 -0
  110. package/pv-components/dist/vue/base/components/base/PvSelectableCard/PvSelectableCard.spec.d.ts +1 -0
  111. package/pv-components/dist/vue/base/components/base/PvSelectableCard/PvSelectableCard.vue.d.ts +25 -0
  112. package/pv-components/dist/vue/base/components/base/PvSkeleton/PvSkeleton.spec.d.ts +1 -0
  113. package/pv-components/dist/vue/base/components/base/PvSkeleton/PvSkeleton.vue.d.ts +11 -0
  114. package/pv-components/dist/vue/base/components/base/PvSkeleton/types.d.ts +3 -0
  115. package/pv-components/dist/vue/base/components/base/PvSpinner/PvSpinner.spec.d.ts +1 -0
  116. package/pv-components/dist/vue/base/components/base/PvSpinner/PvSpinner.vue.d.ts +11 -0
  117. package/pv-components/dist/vue/base/components/base/PvSpinner/types.d.ts +3 -0
  118. package/pv-components/dist/vue/base/components/base/PvSprite/PvSprite.vue.d.ts +9 -0
  119. package/pv-components/dist/vue/base/components/base/PvSuggestionTag/PvSuggestionTag.spec.d.ts +1 -0
  120. package/pv-components/dist/vue/base/components/base/PvSuggestionTag/PvSuggestionTag.vue.d.ts +31 -0
  121. package/pv-components/dist/vue/base/components/base/PvSwitch/PvSwitch.spec.d.ts +1 -0
  122. package/pv-components/dist/vue/base/components/base/PvSwitch/PvSwitch.vue.d.ts +22 -0
  123. package/pv-components/dist/vue/base/components/base/PvSwitch/types.d.ts +2 -0
  124. package/pv-components/dist/vue/base/components/base/PvTabList/PvTabList.vue.d.ts +12 -0
  125. package/pv-components/dist/vue/base/components/base/PvTabs/PvTabs.spec.d.ts +1 -0
  126. package/pv-components/dist/vue/base/components/base/PvTabs/PvTabs.vue.d.ts +18 -0
  127. package/pv-components/dist/vue/base/components/base/PvTabs/types.d.ts +7 -0
  128. package/pv-components/dist/vue/base/components/base/PvTag/PvTag.spec.d.ts +1 -0
  129. package/pv-components/dist/vue/base/components/base/PvTag/PvTag.vue.d.ts +41 -0
  130. package/pv-components/dist/vue/base/components/base/PvTag/types.d.ts +3 -0
  131. package/pv-components/dist/vue/base/components/base/PvTextArea/PvTextArea.spec.d.ts +1 -0
  132. package/pv-components/dist/vue/base/components/base/PvTextArea/PvTextArea.vue.d.ts +40 -0
  133. package/pv-components/dist/vue/base/components/base/PvTextArea/types.d.ts +2 -0
  134. package/pv-components/dist/vue/base/components/base/PvToast/PvToast.spec.d.ts +1 -0
  135. package/pv-components/dist/vue/base/components/base/PvToast/PvToast.vue.d.ts +30 -0
  136. package/pv-components/dist/vue/base/components/base/PvToast/types.d.ts +1 -0
  137. package/pv-components/dist/vue/base/components/base/PvToggleButton/PvToggleButton.spec.d.ts +1 -0
  138. package/pv-components/dist/vue/base/components/base/PvToggleButton/PvToggleButton.vue.d.ts +29 -0
  139. package/pv-components/dist/vue/base/components/base/PvToggleButton/types.d.ts +3 -0
  140. package/pv-components/dist/vue/base/components/base/PvTooltip/PvTooltip.spec.d.ts +1 -0
  141. package/pv-components/dist/vue/base/components/base/PvTooltip/PvTooltip.vue.d.ts +34 -0
  142. package/pv-components/dist/vue/base/components/base/PvTooltip/types.d.ts +4 -0
  143. package/pv-components/dist/vue/base/components/base/PvWidget/PvWidget.spec.d.ts +1 -0
  144. package/pv-components/dist/vue/base/components/base/PvWidget/PvWidget.vue.d.ts +18 -0
  145. package/pv-components/dist/vue/base/components/base/baseProps.d.ts +15 -0
  146. package/pv-components/dist/vue/base/components/base/index.d.ts +54 -0
  147. package/pv-components/dist/vue/base/components/layout/PvSidePanel/PvSidePanel.spec.d.ts +1 -0
  148. package/pv-components/dist/vue/base/components/layout/PvSidePanel/PvSidePanel.vue.d.ts +24 -0
  149. package/pv-components/dist/vue/base/pv-components-base.js +1 -1
  150. package/pv-components/dist/vue/base/pv-components-base.mjs +1 -1
  151. package/pv-components/dist/vue/base/pv-components-base.umd.js +1 -1
  152. package/pv-components/dist/vue/base/types.d.ts +40 -0
  153. package/pv-components/dist/vue/visualizations/components/visualizations/index.d.ts +5 -0
  154. package/pv-components/dist/vue/visualizations/pv-components-visualizations.js +176 -0
  155. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +11868 -0
  156. package/pv-components/dist/vue/visualizations/pv-components-visualizations.umd.js +176 -0
  157. package/pv-components/dist/vue/visualizations/types.d.ts +40 -0
  158. package/pv-components/dist/web/pv-components.iife.js +1 -1
  159. package/pv-components/dist/vue/base/pv-components-base.d.ts +0 -2073
  160. package/pv-components/dist/vue/charts/pv-components-charts.d.ts +0 -491
  161. package/pv-components/dist/vue/charts/pv-components-charts.js +0 -259
  162. package/pv-components/dist/vue/charts/pv-components-charts.mjs +0 -121831
  163. package/pv-components/dist/vue/charts/pv-components-charts.umd.js +0 -259
  164. package/pv-components/dist/vue/tables/pv-components-tables.d.ts +0 -299
  165. package/pv-components/dist/vue/tables/pv-components-tables.js +0 -223
  166. package/pv-components/dist/vue/tables/pv-components-tables.mjs +0 -47028
  167. package/pv-components/dist/vue/tables/pv-components-tables.umd.js +0 -223
  168. package/pv-components/dist/web/index.d.ts +0 -1
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom";
@@ -0,0 +1,12 @@
1
+ import { PvRatingVariant, PvRatingSize } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ interface PvRatingProps {
4
+ variant?: PvRatingVariant;
5
+ value: number;
6
+ size?: PvRatingSize;
7
+ }
8
+ declare const _default: DefineComponent<PvRatingProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvRatingProps> & Readonly<{}>, {
9
+ size: PvRatingSize;
10
+ variant: PvRatingVariant;
11
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
12
+ export default _default;
@@ -0,0 +1,4 @@
1
+ export declare const PvRatingSizes: readonly [12, 16, 20, 24, 32, 64];
2
+ export type PvRatingSize = (typeof PvRatingSizes)[number];
3
+ export declare const PvRatingVariants: string[];
4
+ export type PvRatingVariant = (typeof PvRatingVariants)[number];
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom/vitest";
@@ -0,0 +1,8 @@
1
+ import { PvReleaseBadgeVariant } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ interface PvBadgeProps {
4
+ variant: PvReleaseBadgeVariant;
5
+ inverse?: boolean;
6
+ }
7
+ declare const _default: DefineComponent<PvBadgeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvBadgeProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
8
+ export default _default;
@@ -0,0 +1 @@
1
+ export type PvReleaseBadgeVariant = "release-alpha" | "release-beta";
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom/vitest";
@@ -0,0 +1,26 @@
1
+ import { DefineComponent, ShallowRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ export interface PvSearchInputProps {
3
+ placeholder?: string;
4
+ disabled?: boolean;
5
+ displayShortcut?: boolean;
6
+ }
7
+ export interface PvSearchInputExposed {
8
+ input: HTMLInputElement | null;
9
+ }
10
+ type __VLS_Props = PvSearchInputProps;
11
+ type __VLS_PublicProps = {
12
+ modelValue?: string;
13
+ } & __VLS_Props;
14
+ declare const _default: DefineComponent<__VLS_PublicProps, {
15
+ input: Readonly< ShallowRef<HTMLInputElement | null>>;
16
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
17
+ "update:modelValue": (value: string) => any;
18
+ }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
19
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
20
+ }>, {
21
+ disabled: boolean;
22
+ placeholder: string;
23
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
24
+ 'search-input': HTMLInputElement;
25
+ }, HTMLDivElement>;
26
+ export default _default;
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom/vitest";
@@ -0,0 +1,19 @@
1
+ import { PvSegmentControlSize, PvSegmentedControlOption } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ interface PvSegmentControlProps {
4
+ size?: PvSegmentControlSize;
5
+ options: PvSegmentedControlOption[];
6
+ }
7
+ type __VLS_Props = PvSegmentControlProps;
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
+ }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
14
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
15
+ }>, {
16
+ size: PvSegmentControlSize;
17
+ options: PvSegmentedControlOption[];
18
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
19
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { PvSize } from '../baseProps';
2
+ export type PvSegmentControlSize = Extract<PvSize, "lg" | "xl">;
3
+ export interface PvSegmentedControlOption {
4
+ label?: string;
5
+ value: string;
6
+ icon?: string;
7
+ iconPosition?: "left" | "right";
8
+ }
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom";
@@ -0,0 +1,228 @@
1
+ import { CSSProperties, nextTick, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, Ref, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
2
+ import { PvSelectButtonSize, PvSelectButtonVariant } from './types';
3
+ import { MenuOption, MenuOptionsVariant } from '../../../types.ts';
4
+ import { PvSelectButtonTrigger } from './PvSelectButtonTrigger/PvSelectButtonTrigger.vue';
5
+ import { PvSelectButtonSize, PvSelectButtonVariant } from '../PvMultiSelectButton/types';
6
+ import { PvPopoverProps } from '../PvPopover/PvPopover.vue';
7
+ import { OnCleanup } from '@vue/reactivity';
8
+ import { PvSelectMenu } from '../PvMenu/PvMenu.vue';
9
+ export interface PvSelectButton {
10
+ defaultOpen?: boolean;
11
+ disabled?: boolean;
12
+ teleportLocation?: string;
13
+ isLoading?: boolean;
14
+ variant?: PvSelectButtonVariant;
15
+ size?: PvSelectButtonSize;
16
+ alignment?: "top" | "right" | "top right" | undefined;
17
+ popoverCssProperties?: CSSProperties;
18
+ prefixLabel?: string;
19
+ label?: string;
20
+ showMenuAction?: boolean;
21
+ showSearchInput?: boolean;
22
+ optionsVariant?: Exclude<MenuOptionsVariant, "checkbox">;
23
+ options: MenuOption[];
24
+ useTeleport?: boolean;
25
+ allowDeselect?: boolean;
26
+ }
27
+ declare const _default: DefineComponent<{
28
+ modelValue?: MenuOption;
29
+ searchInput?: string;
30
+ } & PvSelectButton, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
31
+ "update:modelValue": (value: MenuOption) => any;
32
+ "update:searchInput": (value: string) => any;
33
+ } & {
34
+ "dropdown-open": () => any;
35
+ "dropdown-closed": () => any;
36
+ }, string, PublicProps, Readonly<{
37
+ modelValue?: MenuOption;
38
+ searchInput?: string;
39
+ } & PvSelectButton> & Readonly<{
40
+ "onDropdown-open"?: (() => any) | undefined;
41
+ "onDropdown-closed"?: (() => any) | undefined;
42
+ "onUpdate:modelValue"?: ((value: MenuOption) => any) | undefined;
43
+ "onUpdate:searchInput"?: ((value: string) => any) | undefined;
44
+ }>, {
45
+ size: PvSelectButtonSize;
46
+ label: string;
47
+ variant: PvSelectButtonVariant;
48
+ useTeleport: boolean;
49
+ teleportLocation: string;
50
+ optionsVariant: Exclude<MenuOptionsVariant, "checkbox">;
51
+ showSearchInput: boolean;
52
+ allowDeselect: boolean;
53
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
54
+ 'select-button-trigger-ref': CreateComponentPublicInstanceWithMixins<Readonly< PvSelectButtonTrigger> & Readonly<{
55
+ "onHandle-toggle-dropdown"?: (() => any) | undefined;
56
+ "onHandle-clear"?: (() => any) | undefined;
57
+ }>, {
58
+ triggerRef: Ref<HTMLElement | null, HTMLElement | null>;
59
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
60
+ "handle-toggle-dropdown": () => any;
61
+ "handle-clear": () => any;
62
+ }, PublicProps, {
63
+ size: PvSelectButtonSize;
64
+ variant: PvSelectButtonVariant;
65
+ showDropdown: boolean;
66
+ }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
67
+ triggerRef: HTMLButtonElement;
68
+ }, HTMLButtonElement, ComponentProvideOptions, {
69
+ P: {};
70
+ B: {};
71
+ D: {};
72
+ C: {};
73
+ M: {};
74
+ Defaults: {};
75
+ }, Readonly< PvSelectButtonTrigger> & Readonly<{
76
+ "onHandle-toggle-dropdown"?: (() => any) | undefined;
77
+ "onHandle-clear"?: (() => any) | undefined;
78
+ }>, {
79
+ triggerRef: Ref<HTMLElement | null, HTMLElement | null>;
80
+ }, {}, {}, {}, {
81
+ size: PvSelectButtonSize;
82
+ variant: PvSelectButtonVariant;
83
+ showDropdown: boolean;
84
+ }> | null;
85
+ 'select-menu-ref': ({
86
+ $: ComponentInternalInstance;
87
+ $data: {};
88
+ $props: {
89
+ readonly teleportLocation?: string | undefined;
90
+ readonly open: boolean;
91
+ readonly popoverPositionStyle?: CSSProperties | undefined;
92
+ readonly cssCustomListProperties?: CSSProperties | undefined;
93
+ readonly useTeleport?: boolean | undefined;
94
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
95
+ $attrs: {
96
+ [x: string]: unknown;
97
+ };
98
+ $refs: {
99
+ [x: string]: unknown;
100
+ } & {
101
+ popoverRef: ({
102
+ $: ComponentInternalInstance;
103
+ $data: {};
104
+ $props: {
105
+ readonly alignment?: "top" | "right" | "top right" | undefined | undefined;
106
+ readonly cssCustomProperties?: CSSProperties | undefined;
107
+ readonly cssCustomListProperties?: CSSProperties | undefined;
108
+ readonly isList?: boolean | undefined;
109
+ readonly isSortable?: boolean | undefined;
110
+ readonly "onList-order-updated"?: ((value: string[]) => any) | undefined;
111
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
112
+ $attrs: {
113
+ [x: string]: unknown;
114
+ };
115
+ $refs: {
116
+ [x: string]: unknown;
117
+ } & {
118
+ popoverRoot: HTMLDivElement;
119
+ popoverList: HTMLUListElement;
120
+ };
121
+ $slots: Readonly<{
122
+ [name: string]: Slot<any> | undefined;
123
+ }>;
124
+ $root: ComponentPublicInstance | null;
125
+ $parent: ComponentPublicInstance | null;
126
+ $host: Element | null;
127
+ $emit: (event: "list-order-updated", value: string[]) => void;
128
+ $el: HTMLDivElement;
129
+ $options: ComponentOptionsBase<Readonly< PvPopoverProps> & Readonly<{
130
+ "onList-order-updated"?: ((value: string[]) => any) | undefined;
131
+ }>, {
132
+ popoverRoot: Ref<HTMLElement | null, HTMLElement | null>;
133
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
134
+ "list-order-updated": (value: string[]) => any;
135
+ }, string, {
136
+ alignment: "top" | "right" | "top right";
137
+ cssCustomProperties: CSSProperties;
138
+ isList: boolean;
139
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
140
+ beforeCreate?: (() => void) | (() => void)[];
141
+ created?: (() => void) | (() => void)[];
142
+ beforeMount?: (() => void) | (() => void)[];
143
+ mounted?: (() => void) | (() => void)[];
144
+ beforeUpdate?: (() => void) | (() => void)[];
145
+ updated?: (() => void) | (() => void)[];
146
+ activated?: (() => void) | (() => void)[];
147
+ deactivated?: (() => void) | (() => void)[];
148
+ beforeDestroy?: (() => void) | (() => void)[];
149
+ beforeUnmount?: (() => void) | (() => void)[];
150
+ destroyed?: (() => void) | (() => void)[];
151
+ unmounted?: (() => void) | (() => void)[];
152
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
153
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
154
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
155
+ };
156
+ $forceUpdate: () => void;
157
+ $nextTick: typeof nextTick;
158
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
159
+ } & Readonly<{
160
+ alignment: "top" | "right" | "top right";
161
+ cssCustomProperties: CSSProperties;
162
+ isList: boolean;
163
+ }> & Omit<Readonly< PvPopoverProps> & Readonly<{
164
+ "onList-order-updated"?: ((value: string[]) => any) | undefined;
165
+ }>, "popoverRoot" | ("alignment" | "cssCustomProperties" | "isList")> & ShallowUnwrapRef<{
166
+ popoverRoot: Ref<HTMLElement | null, HTMLElement | null>;
167
+ }> & {} & ComponentCustomProperties & {} & {
168
+ $slots: {
169
+ default?(_: {}): any;
170
+ default?(_: {}): any;
171
+ };
172
+ }) | null;
173
+ };
174
+ $slots: Readonly<{
175
+ [name: string]: Slot<any> | undefined;
176
+ }>;
177
+ $root: ComponentPublicInstance | null;
178
+ $parent: ComponentPublicInstance | null;
179
+ $host: Element | null;
180
+ $emit: (event: string, ...args: any[]) => void;
181
+ $el: any;
182
+ $options: ComponentOptionsBase<Readonly< PvSelectMenu> & Readonly<{}>, {
183
+ popoverRef: Ref<{
184
+ popoverRoot: HTMLElement | null;
185
+ } | null, {
186
+ popoverRoot: HTMLElement | null;
187
+ } | {
188
+ popoverRoot: HTMLElement | null;
189
+ } | null>;
190
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
191
+ useTeleport: boolean;
192
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
193
+ beforeCreate?: (() => void) | (() => void)[];
194
+ created?: (() => void) | (() => void)[];
195
+ beforeMount?: (() => void) | (() => void)[];
196
+ mounted?: (() => void) | (() => void)[];
197
+ beforeUpdate?: (() => void) | (() => void)[];
198
+ updated?: (() => void) | (() => void)[];
199
+ activated?: (() => void) | (() => void)[];
200
+ deactivated?: (() => void) | (() => void)[];
201
+ beforeDestroy?: (() => void) | (() => void)[];
202
+ beforeUnmount?: (() => void) | (() => void)[];
203
+ destroyed?: (() => void) | (() => void)[];
204
+ unmounted?: (() => void) | (() => void)[];
205
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
206
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
207
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
208
+ };
209
+ $forceUpdate: () => void;
210
+ $nextTick: typeof nextTick;
211
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
212
+ } & Readonly<{
213
+ useTeleport: boolean;
214
+ }> & Omit<Readonly< PvSelectMenu> & Readonly<{}>, "useTeleport" | "popoverRef"> & ShallowUnwrapRef<{
215
+ popoverRef: Ref<{
216
+ popoverRoot: HTMLElement | null;
217
+ } | null, {
218
+ popoverRoot: HTMLElement | null;
219
+ } | {
220
+ popoverRoot: HTMLElement | null;
221
+ } | null>;
222
+ }> & {} & ComponentCustomProperties & {} & {
223
+ $slots: {
224
+ default?(_: {}): any;
225
+ };
226
+ }) | null;
227
+ }, HTMLDivElement>;
228
+ export default _default;
@@ -0,0 +1,33 @@
1
+ import { PvSelectButtonSize, PvSelectButtonVariant } from '../../PvMultiSelectButton/types.ts';
2
+ import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ export interface PvSelectButtonTrigger {
4
+ variant?: PvSelectButtonVariant;
5
+ size?: PvSelectButtonSize;
6
+ disabled?: boolean;
7
+ counterPosition?: "left" | "right" | "none";
8
+ counterValue?: number;
9
+ prefixLabel?: string;
10
+ label?: string;
11
+ icon?: string;
12
+ companyLogo?: string;
13
+ showClear?: boolean;
14
+ showDropdown?: boolean;
15
+ open: boolean;
16
+ isLoading?: boolean;
17
+ }
18
+ declare const _default: DefineComponent<PvSelectButtonTrigger, {
19
+ triggerRef: Ref<HTMLElement | null, HTMLElement | null>;
20
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
21
+ "handle-toggle-dropdown": () => any;
22
+ "handle-clear": () => any;
23
+ }, string, PublicProps, Readonly<PvSelectButtonTrigger> & Readonly<{
24
+ "onHandle-toggle-dropdown"?: (() => any) | undefined;
25
+ "onHandle-clear"?: (() => any) | undefined;
26
+ }>, {
27
+ size: PvSelectButtonSize;
28
+ variant: PvSelectButtonVariant;
29
+ showDropdown: boolean;
30
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
31
+ triggerRef: HTMLButtonElement;
32
+ }, HTMLButtonElement>;
33
+ export default _default;
@@ -0,0 +1,13 @@
1
+ export declare const simpleOptions: {
2
+ id: string;
3
+ text: string;
4
+ }[];
5
+ export declare const companyOption: {
6
+ id: string;
7
+ text: string;
8
+ companyName: string;
9
+ }[];
10
+ export declare const checkboxOptions: {
11
+ id: string;
12
+ text: string;
13
+ }[];
@@ -0,0 +1,3 @@
1
+ import { PvSize, PvVariants } from '../baseProps';
2
+ export type PvSelectButtonVariant = Extract<PvVariants, "secondary" | "ghost">;
3
+ export type PvSelectButtonSize = Extract<PvSize, "lg" | "xl">;
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom";
@@ -0,0 +1,25 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ interface PvSelectableCardProps {
3
+ variant?: "default" | "highlight";
4
+ value?: string;
5
+ id?: string;
6
+ deselect?: boolean;
7
+ selected?: boolean;
8
+ }
9
+ declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
11
+ slots: {
12
+ default?(_: {}): any;
13
+ };
14
+ refs: {};
15
+ rootEl: HTMLLabelElement;
16
+ };
17
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
+ declare const __VLS_component: DefineComponent<PvSelectableCardProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvSelectableCardProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
19
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
20
+ export default _default;
21
+ type __VLS_WithTemplateSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom/vitest";
@@ -0,0 +1,11 @@
1
+ import { PvSekeltonSize, PvSkeletonVariant } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ interface PvSkeletonProps {
4
+ size?: PvSekeltonSize;
5
+ variant?: PvSkeletonVariant;
6
+ }
7
+ declare const _default: DefineComponent<PvSkeletonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvSkeletonProps> & Readonly<{}>, {
8
+ size: PvSekeltonSize;
9
+ variant: PvSkeletonVariant;
10
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
11
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { PvSize } from '../baseProps';
2
+ export type PvSekeltonSize = Extract<PvSize, "xs" | "sm" | "md" | "lg" | "xl">;
3
+ export type PvSkeletonVariant = "square" | "rectangle";
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom/vitest";
@@ -0,0 +1,11 @@
1
+ import { PvSpinnerSize, PvSpinnerVariant } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ interface PvSpinnerProps {
4
+ variant?: PvSpinnerVariant;
5
+ size?: PvSpinnerSize;
6
+ }
7
+ declare const _default: DefineComponent<PvSpinnerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvSpinnerProps> & Readonly<{}>, {
8
+ size: PvSpinnerSize;
9
+ variant: PvSpinnerVariant;
10
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
11
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { PvSize, PvThemes, PvVariants } from '../baseProps';
2
+ export type PvSpinnerSize = Extract<PvSize, "xs" | "sm" | "md" | "lg" | "xl">;
3
+ export type PvSpinnerVariant = Extract<PvVariants, "primary"> | Extract<PvThemes, "white" | "dark">;
@@ -0,0 +1,9 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ type PvSpriteProps = {
3
+ src: string;
4
+ variant?: "v1" | "v2";
5
+ };
6
+ declare const _default: DefineComponent<PvSpriteProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvSpriteProps> & Readonly<{}>, {
7
+ variant: "v1" | "v2";
8
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
9
+ export default _default;
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom/vitest";
@@ -0,0 +1,31 @@
1
+ import { TagSize } from '../PvTag/types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ export interface PvSuggestionTag {
4
+ /**
5
+ * @default 'Medium'
6
+ * Tag Size
7
+ */
8
+ size?: TagSize;
9
+ /**
10
+ * Tag Label
11
+ */
12
+ label: string;
13
+ /**
14
+ * Show left Icon
15
+ */
16
+ showIcon?: boolean;
17
+ /**
18
+ * Show rounded state
19
+ */
20
+ rounded?: boolean;
21
+ disabled?: boolean;
22
+ }
23
+ declare const _default: DefineComponent<PvSuggestionTag, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
24
+ "handle-click": (label: string) => any;
25
+ }, string, PublicProps, Readonly<PvSuggestionTag> & Readonly<{
26
+ "onHandle-click"?: ((label: string) => any) | undefined;
27
+ }>, {
28
+ size: TagSize;
29
+ disabled: boolean;
30
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
31
+ export default _default;
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom";
@@ -0,0 +1,22 @@
1
+ import { PvSwitchSize } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ interface PvSwitchProps {
4
+ size?: PvSwitchSize;
5
+ label?: string;
6
+ disabled?: boolean;
7
+ id?: string;
8
+ }
9
+ type __VLS_Props = PvSwitchProps;
10
+ type __VLS_PublicProps = {
11
+ modelValue: boolean;
12
+ } & __VLS_Props;
13
+ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
14
+ "update:modelValue": (value: boolean) => any;
15
+ }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
16
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
17
+ }>, {
18
+ size: PvSwitchSize;
19
+ disabled: boolean;
20
+ id: string;
21
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
22
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import { PvSize } from '../baseProps';
2
+ export type PvSwitchSize = Extract<PvSize, "md" | "lg">;
@@ -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;
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom";
@@ -0,0 +1,18 @@
1
+ import { Tab, TabSize } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ interface PvTabsProps {
4
+ tabs: Tab[];
5
+ size?: TabSize;
6
+ }
7
+ type __VLS_Props = PvTabsProps;
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
+ }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
14
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
15
+ }>, {
16
+ size: TabSize;
17
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLUListElement>;
18
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import { PvSize } from '../baseProps';
2
+ export type TabSize = Extract<PvSize, "lg" | "xl">;
3
+ export interface Tab {
4
+ counter?: number;
5
+ label: string;
6
+ icon?: string;
7
+ }
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom/vitest";
@@ -0,0 +1,41 @@
1
+ import { TagSize, TagVariant } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ export interface PvTagProps {
4
+ /**
5
+ * @default 'Medium'
6
+ * Tag size
7
+ */
8
+ size?: TagSize;
9
+ /**
10
+ * @default 'Tertiary'
11
+ * Tag Variant
12
+ */
13
+ variant?: TagVariant;
14
+ /**
15
+ * Tag Icon
16
+ */
17
+ icon?: string;
18
+ /**
19
+ * Tag Label
20
+ */
21
+ label: string;
22
+ /**
23
+ * Show left clear icon
24
+ */
25
+ showClear?: boolean;
26
+ /**
27
+ * Show rounded state
28
+ */
29
+ rounded?: boolean;
30
+ }
31
+ declare const _default: DefineComponent<PvTagProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
32
+ "handle-close": (payload: string) => any;
33
+ "handle-click": (payload: string) => any;
34
+ }, string, PublicProps, Readonly<PvTagProps> & Readonly<{
35
+ "onHandle-close"?: ((payload: string) => any) | undefined;
36
+ "onHandle-click"?: ((payload: string) => any) | undefined;
37
+ }>, {
38
+ size: TagSize;
39
+ variant: TagVariant;
40
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
41
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { PvSize, PvVariants } from '../baseProps.ts';
2
+ export type TagSize = Extract<PvSize, "sm" | "md" | "lg">;
3
+ export type TagVariant = Extract<PvVariants, "primary" | "tertiary">;
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom";