@turquoisehealth/pit-viper 2.82.3 → 2.82.4-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 (160) hide show
  1. package/_site/assets/js/pit-viper.js +1 -0
  2. package/package.json +31 -12
  3. package/pv-components/dist/vue/base/components/base/PvAccordion/PvAccordion.spec.d.ts +1 -0
  4. package/pv-components/dist/vue/base/components/base/PvAccordion/PvAccordion.vue.d.ts +28 -0
  5. package/pv-components/dist/vue/base/components/base/PvAccordion/types.d.ts +5 -0
  6. package/pv-components/dist/vue/base/components/base/PvActionBar/PvActionBar.spec.d.ts +1 -0
  7. package/pv-components/dist/vue/base/components/base/PvActionBar/PvActionBar.vue.d.ts +24 -0
  8. package/pv-components/dist/vue/base/components/base/PvActionBar/types.d.ts +2 -0
  9. package/pv-components/dist/vue/base/components/base/PvAiButton/PvAiButton.spec.d.ts +1 -0
  10. package/pv-components/dist/vue/base/components/base/PvAiButton/PvAiButton.vue.d.ts +13 -0
  11. package/pv-components/dist/vue/base/components/base/PvAiButton/types.d.ts +2 -0
  12. package/pv-components/dist/vue/base/components/base/PvAvatar/PvAvatar.spec.d.ts +1 -0
  13. package/pv-components/dist/vue/base/components/base/PvAvatar/PvAvatar.vue.d.ts +11 -0
  14. package/pv-components/dist/vue/base/components/base/PvAvatar/types.d.ts +2 -0
  15. package/pv-components/dist/vue/base/components/base/PvAvatarGroup/PvAvatarGroup.spec.d.ts +1 -0
  16. package/pv-components/dist/vue/base/components/base/PvAvatarGroup/PvAvatarGroup.vue.d.ts +8 -0
  17. package/pv-components/dist/vue/base/components/base/PvAvatarGroup/types.d.ts +5 -0
  18. package/pv-components/dist/vue/base/components/base/PvBanner/PvBanner.spec.d.ts +1 -0
  19. package/pv-components/dist/vue/base/components/base/PvBanner/PvBanner.vue.d.ts +29 -0
  20. package/pv-components/dist/vue/base/components/base/PvBanner/types.d.ts +11 -0
  21. package/pv-components/dist/vue/base/components/base/PvBreadcrumbs/PvBreadcrumbs.spec.d.ts +1 -0
  22. package/pv-components/dist/vue/base/components/base/PvBreadcrumbs/PvBreadcrumbs.vue.d.ts +7 -0
  23. package/pv-components/dist/vue/base/components/base/PvBreadcrumbs/types.d.ts +4 -0
  24. package/pv-components/dist/vue/base/components/base/PvButton/PvButton.spec.d.ts +1 -0
  25. package/pv-components/dist/vue/base/components/base/PvButton/PvButton.vue.d.ts +20 -0
  26. package/pv-components/dist/vue/base/components/base/PvButton/types.d.ts +3 -0
  27. package/pv-components/dist/vue/base/components/base/PvCard/PvCard.spec.d.ts +1 -0
  28. package/pv-components/dist/vue/base/components/base/PvCard/PvCard.vue.d.ts +27 -0
  29. package/pv-components/dist/vue/base/components/base/PvCard/types.d.ts +2 -0
  30. package/pv-components/dist/vue/base/components/base/PvCheckbox/PvCheckbox.vue.d.ts +17 -0
  31. package/pv-components/dist/vue/base/components/base/PvCompanyLabel/PvCompanyLabel.vue.d.ts +11 -0
  32. package/pv-components/dist/vue/base/components/base/PvCompanyLabel/types.d.ts +2 -0
  33. package/pv-components/dist/vue/base/components/base/PvCompanyLogo/PvCompanyLogo.spec.d.ts +1 -0
  34. package/pv-components/dist/vue/base/components/base/PvCompanyLogo/PvCompanyLogo.vue.d.ts +15 -0
  35. package/pv-components/dist/vue/base/components/base/PvCompanyLogo/types.d.ts +2 -0
  36. package/pv-components/dist/vue/base/components/base/PvCompanyTag/PvCompanyTag.spec.d.ts +1 -0
  37. package/pv-components/dist/vue/base/components/base/PvCompanyTag/PvCompanyTag.vue.d.ts +27 -0
  38. package/pv-components/dist/vue/base/components/base/PvComponentsConfig/primeVue.config.d.ts +14 -0
  39. package/pv-components/dist/vue/base/components/base/PvComponentsConfig/usePvComponents.d.ts +2 -0
  40. package/pv-components/dist/vue/base/components/base/PvCounterBadge/PvCounterBadge.spec.d.ts +1 -0
  41. package/pv-components/dist/vue/base/components/base/PvCounterBadge/PvCounterBadge.vue.d.ts +16 -0
  42. package/pv-components/dist/vue/base/components/base/PvCounterBadge/types.d.ts +3 -0
  43. package/pv-components/dist/vue/base/components/base/PvDatePicker/PvDatePicker.vue.d.ts +115 -0
  44. package/pv-components/dist/vue/base/components/base/PvDateTime/PvDateTime.spec.d.ts +1 -0
  45. package/pv-components/dist/vue/base/components/base/PvDateTime/PvDateTime.vue.d.ts +14 -0
  46. package/pv-components/dist/vue/base/components/base/PvDateTime/useDateTime.d.ts +9 -0
  47. package/pv-components/dist/vue/base/components/base/PvDateTime/useDateTime.spec.d.ts +1 -0
  48. package/pv-components/dist/vue/base/components/base/PvDrawer/PvDrawer.spec.d.ts +1 -0
  49. package/pv-components/dist/vue/base/components/base/PvDrawer/PvDrawer.vue.d.ts +34 -0
  50. package/pv-components/dist/vue/base/components/base/PvDropdown/PvDropdown.vue.d.ts +117 -0
  51. package/pv-components/dist/vue/base/components/base/PvExpandableContent/PvExpandableContent.spec.d.ts +1 -0
  52. package/pv-components/dist/vue/base/components/base/PvExpandableContent/PvExpandableContent.vue.d.ts +30 -0
  53. package/pv-components/dist/vue/base/components/base/PvExpandableContent/types.d.ts +3 -0
  54. package/pv-components/dist/vue/base/components/base/PvGhostInput/PvGhostInput.spec.d.ts +1 -0
  55. package/pv-components/dist/vue/base/components/base/PvGhostInput/PvGhostInput.vue.d.ts +39 -0
  56. package/pv-components/dist/vue/base/components/base/PvGhostInput/types.d.ts +2 -0
  57. package/pv-components/dist/vue/base/components/base/PvIcon/PvIcon.vue.d.ts +10 -0
  58. package/pv-components/dist/vue/base/components/base/PvInput/PvInput.spec.d.ts +1 -0
  59. package/pv-components/dist/vue/base/components/base/PvInput/PvInput.vue.d.ts +40 -0
  60. package/pv-components/dist/vue/base/components/base/PvInput/types.d.ts +3 -0
  61. package/pv-components/dist/vue/base/components/base/PvInsightCard/PvInsightCard.spec.d.ts +1 -0
  62. package/pv-components/dist/vue/base/components/base/PvInsightCard/PvInsightCard.vue.d.ts +22 -0
  63. package/pv-components/dist/vue/base/components/base/PvMenu/PvMenu.spec.d.ts +1 -0
  64. package/pv-components/dist/vue/base/components/base/PvMenu/PvMenu.vue.d.ts +183 -0
  65. package/pv-components/dist/vue/base/components/base/PvMenu/PvMenuControlPanel.spec.d.ts +1 -0
  66. package/pv-components/dist/vue/base/components/base/PvMenu/PvMenuControlPanel.vue.d.ts +12 -0
  67. package/pv-components/dist/vue/base/components/base/PvMenu/PvMenuEmptyState.vue.d.ts +3 -0
  68. package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuCheckboxItem.spec.d.ts +1 -0
  69. package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuCheckboxItem.vue.d.ts +18 -0
  70. package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuItem.spec.d.ts +1 -0
  71. package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuItem.vue.d.ts +25 -0
  72. package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuRadioItem.spec.d.ts +1 -0
  73. package/pv-components/dist/vue/base/components/base/PvMenu/items/PvMenuRadioItem.vue.d.ts +13 -0
  74. package/pv-components/dist/vue/base/components/base/PvMenu/useMenuPosition.d.ts +66 -0
  75. package/pv-components/dist/vue/base/components/base/PvMenu/useMenuPosition.spec.d.ts +1 -0
  76. package/pv-components/dist/vue/base/components/base/PvModal/PvModal.spec.d.ts +1 -0
  77. package/pv-components/dist/vue/base/components/base/PvModal/PvModal.vue.d.ts +28 -0
  78. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.spec.d.ts +1 -0
  79. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +361 -0
  80. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectMenuItem.vue.d.ts +15 -0
  81. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/mocks.d.ts +15 -0
  82. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/types.d.ts +3 -0
  83. package/pv-components/dist/vue/base/components/base/PvPagination/PvPagination.spec.d.ts +1 -0
  84. package/pv-components/dist/vue/base/components/base/PvPagination/PvPagination.vue.d.ts +21 -0
  85. package/pv-components/dist/vue/base/components/base/PvPagination/types.d.ts +3 -0
  86. package/pv-components/dist/vue/base/components/base/PvPagination/usePagination.d.ts +12 -0
  87. package/pv-components/dist/vue/base/components/base/PvPagination/usePagination.spec.d.ts +1 -0
  88. package/pv-components/dist/vue/base/components/base/PvPill/PvPill.spec.d.ts +1 -0
  89. package/pv-components/dist/vue/base/components/base/PvPill/PvPill.vue.d.ts +31 -0
  90. package/pv-components/dist/vue/base/components/base/PvPill/types.d.ts +4 -0
  91. package/pv-components/dist/vue/base/components/base/PvPopover/PvPopover.vue.d.ts +31 -0
  92. package/pv-components/dist/vue/base/components/base/PvQueryBuilderInput/useQueryBuilder.d.ts +44 -0
  93. package/pv-components/dist/vue/base/components/base/PvQueryBuilderInput/useQueryBuilder.spec.d.ts +1 -0
  94. package/pv-components/dist/vue/base/components/base/PvRating/PvRating.spec.d.ts +1 -0
  95. package/pv-components/dist/vue/base/components/base/PvRating/PvRating.vue.d.ts +12 -0
  96. package/pv-components/dist/vue/base/components/base/PvRating/types.d.ts +4 -0
  97. package/pv-components/dist/vue/base/components/base/PvReleaseBadge/PvReleaseBadge.spec.d.ts +1 -0
  98. package/pv-components/dist/vue/base/components/base/PvReleaseBadge/PvReleaseBadge.vue.d.ts +8 -0
  99. package/pv-components/dist/vue/base/components/base/PvReleaseBadge/types.d.ts +1 -0
  100. package/pv-components/dist/vue/base/components/base/PvSearchInput/PvSearchInput.spec.d.ts +1 -0
  101. package/pv-components/dist/vue/base/components/base/PvSearchInput/PvSearchInput.vue.d.ts +26 -0
  102. package/pv-components/dist/vue/base/components/base/PvSegmentedControl/PvSegmentedControl.spec.d.ts +1 -0
  103. package/pv-components/dist/vue/base/components/base/PvSegmentedControl/PvSegmentedControl.vue.d.ts +19 -0
  104. package/pv-components/dist/vue/base/components/base/PvSegmentedControl/types.d.ts +8 -0
  105. package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButton.spec.d.ts +1 -0
  106. package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButton.vue.d.ts +228 -0
  107. package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.spec.d.ts +1 -0
  108. package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.vue.d.ts +33 -0
  109. package/pv-components/dist/vue/base/components/base/PvSelectButton/mocks.d.ts +13 -0
  110. package/pv-components/dist/vue/base/components/base/PvSelectButton/types.d.ts +3 -0
  111. package/pv-components/dist/vue/base/components/base/PvSelectableCard/PvSelectableCard.spec.d.ts +1 -0
  112. package/pv-components/dist/vue/base/components/base/PvSelectableCard/PvSelectableCard.vue.d.ts +25 -0
  113. package/pv-components/dist/vue/base/components/base/PvSkeleton/PvSkeleton.spec.d.ts +1 -0
  114. package/pv-components/dist/vue/base/components/base/PvSkeleton/PvSkeleton.vue.d.ts +11 -0
  115. package/pv-components/dist/vue/base/components/base/PvSkeleton/types.d.ts +3 -0
  116. package/pv-components/dist/vue/base/components/base/PvSpinner/PvSpinner.spec.d.ts +1 -0
  117. package/pv-components/dist/vue/base/components/base/PvSpinner/PvSpinner.vue.d.ts +11 -0
  118. package/pv-components/dist/vue/base/components/base/PvSpinner/types.d.ts +3 -0
  119. package/pv-components/dist/vue/base/components/base/PvSprite/PvSprite.vue.d.ts +9 -0
  120. package/pv-components/dist/vue/base/components/base/PvSuggestionTag/PvSuggestionTag.spec.d.ts +1 -0
  121. package/pv-components/dist/vue/base/components/base/PvSuggestionTag/PvSuggestionTag.vue.d.ts +31 -0
  122. package/pv-components/dist/vue/base/components/base/PvSwitch/PvSwitch.spec.d.ts +1 -0
  123. package/pv-components/dist/vue/base/components/base/PvSwitch/PvSwitch.vue.d.ts +22 -0
  124. package/pv-components/dist/vue/base/components/base/PvSwitch/types.d.ts +2 -0
  125. package/pv-components/dist/vue/base/components/base/PvTabList/PvTabList.vue.d.ts +12 -0
  126. package/pv-components/dist/vue/base/components/base/PvTabs/PvTabs.spec.d.ts +1 -0
  127. package/pv-components/dist/vue/base/components/base/PvTabs/PvTabs.vue.d.ts +18 -0
  128. package/pv-components/dist/vue/base/components/base/PvTabs/types.d.ts +7 -0
  129. package/pv-components/dist/vue/base/components/base/PvTag/PvTag.spec.d.ts +1 -0
  130. package/pv-components/dist/vue/base/components/base/PvTag/PvTag.vue.d.ts +41 -0
  131. package/pv-components/dist/vue/base/components/base/PvTag/types.d.ts +3 -0
  132. package/pv-components/dist/vue/base/components/base/PvTextArea/PvTextArea.spec.d.ts +1 -0
  133. package/pv-components/dist/vue/base/components/base/PvTextArea/PvTextArea.vue.d.ts +40 -0
  134. package/pv-components/dist/vue/base/components/base/PvTextArea/types.d.ts +2 -0
  135. package/pv-components/dist/vue/base/components/base/PvToast/PvToast.spec.d.ts +1 -0
  136. package/pv-components/dist/vue/base/components/base/PvToast/PvToast.vue.d.ts +30 -0
  137. package/pv-components/dist/vue/base/components/base/PvToast/types.d.ts +1 -0
  138. package/pv-components/dist/vue/base/components/base/PvToggleButton/PvToggleButton.spec.d.ts +1 -0
  139. package/pv-components/dist/vue/base/components/base/PvToggleButton/PvToggleButton.vue.d.ts +29 -0
  140. package/pv-components/dist/vue/base/components/base/PvToggleButton/types.d.ts +3 -0
  141. package/pv-components/dist/vue/base/components/base/PvTooltip/PvTooltip.spec.d.ts +1 -0
  142. package/pv-components/dist/vue/base/components/base/PvTooltip/PvTooltip.vue.d.ts +34 -0
  143. package/pv-components/dist/vue/base/components/base/PvTooltip/types.d.ts +4 -0
  144. package/pv-components/dist/vue/base/components/base/PvWidget/PvWidget.spec.d.ts +1 -0
  145. package/pv-components/dist/vue/base/components/base/PvWidget/PvWidget.vue.d.ts +18 -0
  146. package/pv-components/dist/vue/base/components/base/baseProps.d.ts +15 -0
  147. package/pv-components/dist/vue/base/components/base/index.d.ts +54 -0
  148. package/pv-components/dist/vue/base/components/layout/PvSidePanel/PvSidePanel.spec.d.ts +1 -0
  149. package/pv-components/dist/vue/base/components/layout/PvSidePanel/PvSidePanel.vue.d.ts +24 -0
  150. package/pv-components/dist/vue/base/types.d.ts +40 -0
  151. package/pv-components/dist/vue/base/pv-components-base.d.ts +0 -2074
  152. package/pv-components/dist/vue/charts/pv-components-charts.d.ts +0 -491
  153. package/pv-components/dist/vue/charts/pv-components-charts.js +0 -259
  154. package/pv-components/dist/vue/charts/pv-components-charts.mjs +0 -121834
  155. package/pv-components/dist/vue/charts/pv-components-charts.umd.js +0 -259
  156. package/pv-components/dist/vue/tables/pv-components-tables.d.ts +0 -299
  157. package/pv-components/dist/vue/tables/pv-components-tables.js +0 -223
  158. package/pv-components/dist/vue/tables/pv-components-tables.mjs +0 -47028
  159. package/pv-components/dist/vue/tables/pv-components-tables.umd.js +0 -223
  160. package/pv-components/dist/web/index.d.ts +0 -1
@@ -154,6 +154,7 @@ class PVAutoClose extends HTMLElement {
154
154
  loadingOverlayComponentParams: {
155
155
  loadingImgSrc: this.loadingImgSrc,
156
156
  },
157
+ theme: "legacy",
157
158
  animateRows: false,
158
159
  tooltipShowDelay: 0,
159
160
  tooltipHideDelay: 5000,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turquoisehealth/pit-viper",
3
- "version": "2.82.3",
3
+ "version": "2.82.4-dev.0",
4
4
  "description": "Turquoise Health's design system.",
5
5
  "main": "README.md",
6
6
  "publishConfig": {
@@ -23,22 +23,17 @@
23
23
  ],
24
24
  "exports": {
25
25
  "./components": {
26
- "types": "./pv-components/dist/vue/base/pv-components-base.d.ts",
26
+ "types": "./pv-components/dist/vue/base/components/base/index.d.ts",
27
27
  "import": "./pv-components/dist/vue/base/pv-components-base.mjs",
28
28
  "require": "./pv-components/dist/vue/base/pv-components-base.js"
29
29
  },
30
- "./components/tables": {
31
- "types": "./pv-components/dist/vue/tables/pv-components-tables.d.ts",
32
- "import": "./pv-components/dist/vue/tables/pv-components-tables.mjs",
33
- "require": "./pv-components/dist/vue/tables/pv-components-tables.js"
34
- },
35
- "./components/charts": {
36
- "types": "./pv-components/dist/vue/charts/pv-components-charts.d.ts",
37
- "import": "./pv-components/dist/vue/charts/pv-components-charts.mjs",
38
- "require": "./pv-components/dist/vue/charts/pv-components-charts.js"
30
+ "./components/visualizations": {
31
+ "types": "./pv-components/dist/vue/visualizations/components/visualizations/index.d.ts",
32
+ "import": "./pv-components/dist/vue/visualizations/pv-components-visualizations.mjs",
33
+ "require": "./pv-components/dist/vue/visualizations/pv-components-visualizations.js"
39
34
  },
40
35
  "./web_components": {
41
- "types": "./pv-components/dist/types/index.d.ts",
36
+ "types": "./pv-components/dist/src/web-components.d.ts",
42
37
  "default": "./pv-components/dist/web/pv-components.iife.js"
43
38
  }
44
39
  },
@@ -73,6 +68,30 @@
73
68
  "url": "https://github.com/turquoisehealth/pit-viper/issues"
74
69
  },
75
70
  "homepage": "https://github.com/turquoisehealth/pit-viper/",
71
+ "peerDependencies": {
72
+ "ag-charts-enterprise": "^12.1.0",
73
+ "ag-charts-vue3": "^12.1.0",
74
+ "ag-grid-community": "^33.2.4",
75
+ "ag-grid-enterprise": "^33.2.4",
76
+ "ag-grid-vue3": "^33.2.4"
77
+ },
78
+ "peerDependenciesMeta": {
79
+ "ag-charts-enterprise": {
80
+ "optional": true
81
+ },
82
+ "ag-charts-vue3": {
83
+ "optional": true
84
+ },
85
+ "ag-grid-community": {
86
+ "optional": true
87
+ },
88
+ "ag-grid-enterprise": {
89
+ "optional": true
90
+ },
91
+ "ag-grid-vue3": {
92
+ "optional": true
93
+ }
94
+ },
76
95
  "dependencies": {
77
96
  "@11ty/eleventy": "^3.0.0",
78
97
  "@11ty/eleventy-navigation": "^0.3.5",
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom/vitest";
@@ -0,0 +1,28 @@
1
+ import { ChevronPosition } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ interface PvAccordionProps {
4
+ header: string;
5
+ chevronPosition?: ChevronPosition;
6
+ defaultOpen?: boolean;
7
+ counter?: number;
8
+ }
9
+ declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
11
+ slots: {
12
+ default?(_: {}): any;
13
+ };
14
+ refs: {};
15
+ rootEl: HTMLDetailsElement;
16
+ };
17
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
+ declare const __VLS_component: DefineComponent<PvAccordionProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvAccordionProps> & Readonly<{}>, {
19
+ defaultOpen: boolean;
20
+ chevronPosition: ChevronPosition;
21
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDetailsElement>;
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,5 @@
1
+ export declare enum ChevronPositionEnum {
2
+ left = "left",
3
+ right = "right"
4
+ }
5
+ export type ChevronPosition = `${ChevronPositionEnum}`;
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom/vitest";
@@ -0,0 +1,24 @@
1
+ import { PvActionBarTheme } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ interface PvActionBarProps {
4
+ variant?: PvActionBarTheme;
5
+ }
6
+ declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
8
+ slots: {
9
+ default?(_: {}): any;
10
+ };
11
+ refs: {};
12
+ rootEl: HTMLDivElement;
13
+ };
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ declare const __VLS_component: DefineComponent<PvActionBarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvActionBarProps> & Readonly<{}>, {
16
+ variant: PvActionBarTheme;
17
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
18
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
19
+ export default _default;
20
+ type __VLS_WithTemplateSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,2 @@
1
+ import { PvThemes } from '../baseProps';
2
+ export type PvActionBarTheme = Extract<PvThemes, "white" | "dark">;
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom/vitest";
@@ -0,0 +1,13 @@
1
+ import { PvAiButtonSize } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ interface PvAiButtonProps {
4
+ size?: PvAiButtonSize;
5
+ label?: string;
6
+ leftIcon?: string;
7
+ loading?: boolean;
8
+ disabled?: boolean;
9
+ }
10
+ declare const _default: DefineComponent<PvAiButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvAiButtonProps> & Readonly<{}>, {
11
+ size: PvAiButtonSize;
12
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
13
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import { PvSize } from '../baseProps';
2
+ export type PvAiButtonSize = Extract<PvSize, "md" | "lg" | "xl">;
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom/vitest";
@@ -0,0 +1,11 @@
1
+ import { PvAvatarSize } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ interface PvAvatarProps {
4
+ size?: PvAvatarSize;
5
+ image?: string;
6
+ initials?: string;
7
+ }
8
+ declare const _default: DefineComponent<PvAvatarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvAvatarProps> & Readonly<{}>, {
9
+ size: PvAvatarSize;
10
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
11
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import { PvSize } from '../baseProps';
2
+ export type PvAvatarSize = Extract<PvSize, "sm" | "md" | "lg" | "xl" | "2x">;
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom/vitest";
@@ -0,0 +1,8 @@
1
+ import { PvAvatarGroupItem } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ interface PvAvatarGroupProps {
4
+ items: PvAvatarGroupItem[];
5
+ maxDisplayed: number;
6
+ }
7
+ declare const _default: DefineComponent<PvAvatarGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvAvatarGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLUListElement>;
8
+ export default _default;
@@ -0,0 +1,5 @@
1
+ export interface PvAvatarGroupItem {
2
+ initials?: string;
3
+ image?: string;
4
+ icon?: boolean;
5
+ }
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom/vitest";
@@ -0,0 +1,29 @@
1
+ import { BannerOrientations, BannerVariants } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ export interface PvBannerProps {
4
+ label: string;
5
+ icon?: string;
6
+ variant?: BannerVariants;
7
+ orientation?: BannerOrientations;
8
+ }
9
+ declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
11
+ slots: {
12
+ left?(_: {}): any;
13
+ action?(_: {}): any;
14
+ };
15
+ refs: {};
16
+ rootEl: HTMLDivElement;
17
+ };
18
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
+ declare const __VLS_component: DefineComponent<PvBannerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvBannerProps> & Readonly<{}>, {
20
+ variant: BannerVariants;
21
+ orientation: BannerOrientations;
22
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
23
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
+ export default _default;
25
+ type __VLS_WithTemplateSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
@@ -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 @@
1
+ import "@testing-library/jest-dom/vitest";
@@ -0,0 +1,7 @@
1
+ import { PvBreadcrumbsOptions } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ interface PvBreadcrumbsProps {
4
+ options: PvBreadcrumbsOptions[];
5
+ }
6
+ declare const _default: DefineComponent<PvBreadcrumbsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvBreadcrumbsProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLUListElement>;
7
+ export default _default;
@@ -0,0 +1,4 @@
1
+ export interface PvBreadcrumbsOptions {
2
+ label: string;
3
+ href?: string;
4
+ }
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom/vitest";
@@ -0,0 +1,20 @@
1
+ import { PvButtonSize, PvButtonVariant } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ type PvButtonProps = {
4
+ variant?: PvButtonVariant;
5
+ disabled?: boolean;
6
+ size?: PvButtonSize;
7
+ loading?: boolean;
8
+ label?: string;
9
+ leftIcon?: string;
10
+ rightIcon?: string;
11
+ inverse?: boolean;
12
+ };
13
+ declare const _default: DefineComponent<PvButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvButtonProps> & Readonly<{}>, {
14
+ size: PvButtonSize;
15
+ variant: PvButtonVariant;
16
+ disabled: boolean;
17
+ loading: boolean;
18
+ inverse: boolean;
19
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
20
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { PvSize, PvVariants } from '../baseProps';
2
+ export type PvButtonSize = Extract<PvSize, "md" | "lg" | "xl">;
3
+ export type PvButtonVariant = Extract<PvVariants, "primary" | "secondary" | "ghost" | "destructive" | "tertiary">;
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom";
@@ -0,0 +1,27 @@
1
+ import { PvCardVariant } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ interface PvCardProps {
4
+ href?: string;
5
+ variant?: PvCardVariant;
6
+ interactive?: 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<PvCardProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvCardProps> & Readonly<{}>, {
18
+ variant: PvCardVariant;
19
+ interactive: boolean;
20
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
21
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
22
+ export default _default;
23
+ type __VLS_WithTemplateSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
@@ -0,0 +1,2 @@
1
+ import { PvVariants } from '../baseProps';
2
+ export type PvCardVariant = Extract<PvVariants, "primary" | "secondary">;
@@ -0,0 +1,17 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ interface PvCheckboxProps {
3
+ disabled?: boolean;
4
+ indeterminate?: boolean;
5
+ }
6
+ type __VLS_Props = PvCheckboxProps;
7
+ type __VLS_PublicProps = {
8
+ modelValue?: boolean;
9
+ } & __VLS_Props;
10
+ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
11
+ "update:modelValue": (value: boolean) => any;
12
+ }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
15
+ 'checkbox-ref': HTMLInputElement;
16
+ }, HTMLInputElement>;
17
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import { PvCompanyLabelSize } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ interface PvCompanyLabelProps {
4
+ size?: PvCompanyLabelSize;
5
+ logo?: string;
6
+ label: string;
7
+ }
8
+ declare const _default: DefineComponent<PvCompanyLabelProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvCompanyLabelProps> & Readonly<{}>, {
9
+ size: PvCompanyLabelSize;
10
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
11
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import { PvSize } from '../baseProps';
2
+ export type PvCompanyLabelSize = Extract<PvSize, "xs" | "sm" | "md">;
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom";
@@ -0,0 +1,15 @@
1
+ import { PvCompanyLogoSize } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ type PvCompanyLogoProps = {
4
+ basePath?: string;
5
+ name: string;
6
+ size?: PvCompanyLogoSize;
7
+ srcPathOverride?: string;
8
+ toCamelCase?: boolean;
9
+ };
10
+ declare const _default: DefineComponent<PvCompanyLogoProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvCompanyLogoProps> & Readonly<{}>, {
11
+ size: PvCompanyLogoSize;
12
+ basePath: string;
13
+ toCamelCase: boolean;
14
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
15
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import { PvSize } from '../baseProps.ts';
2
+ export type PvCompanyLogoSize = PvSize;
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom/vitest";
@@ -0,0 +1,27 @@
1
+ import { TagSize } from '../PvTag/types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ export interface PvCompanyTag {
4
+ /**
5
+ * Company name. Displayed on the left
6
+ */
7
+ companyName: string;
8
+ /**
9
+ * Size
10
+ */
11
+ size?: TagSize;
12
+ /**
13
+ * Show clear left icon
14
+ */
15
+ showClear?: boolean;
16
+ }
17
+ declare const _default: DefineComponent<PvCompanyTag, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
18
+ "handle-close": (companyName: string) => any;
19
+ "handle-click": (companyName: string) => any;
20
+ }, string, PublicProps, Readonly<PvCompanyTag> & Readonly<{
21
+ "onHandle-close"?: ((companyName: string) => any) | undefined;
22
+ "onHandle-click"?: ((companyName: string) => any) | undefined;
23
+ }>, {
24
+ size: TagSize;
25
+ showClear: boolean;
26
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
27
+ export default _default;
@@ -0,0 +1,14 @@
1
+ import { Preset } from '@primeuix/themes/types';
2
+ import { AuraBaseDesignTokens } from '@primeuix/themes/aura/base';
3
+ export declare const PvComponentsConfig: {
4
+ theme: {
5
+ preset: Preset<AuraBaseDesignTokens>;
6
+ options: {
7
+ darkModeSelector: string;
8
+ cssLayer: {
9
+ name: string;
10
+ order: string;
11
+ };
12
+ };
13
+ };
14
+ };
@@ -0,0 +1,2 @@
1
+ import { App } from 'vue';
2
+ export declare const usePvComponents: (app: App<Element>) => void;
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom/vitest";
@@ -0,0 +1,16 @@
1
+ import { PvCounterBadgeSize, PvCounterBadgeVariant } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ export interface PvCounterBadgeProps {
4
+ value?: number;
5
+ prefix?: string;
6
+ variant?: PvCounterBadgeVariant;
7
+ size?: PvCounterBadgeSize;
8
+ maxValue?: number;
9
+ }
10
+ declare const _default: DefineComponent<PvCounterBadgeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvCounterBadgeProps> & Readonly<{}>, {
11
+ size: PvCounterBadgeSize;
12
+ variant: PvCounterBadgeVariant;
13
+ prefix: string;
14
+ maxValue: number;
15
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
16
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { PvVariants, PvSize } from '../baseProps';
2
+ export type PvCounterBadgeVariant = PvVariants;
3
+ export type PvCounterBadgeSize = Extract<PvSize, "sm" | "md">;
@@ -0,0 +1,115 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ export interface PvDatePickerProps {
3
+ /**
4
+ * Defines the quantity of the selection.
5
+ * @defaultValue single
6
+ */
7
+ selectionMode?: "single" | "multiple" | "range" | undefined;
8
+ /**
9
+ * Format of the date. Defaults to PrimeVue Locale configuration.
10
+ */
11
+ dateFormat?: string | undefined;
12
+ /**
13
+ * When enabled, displays the datepicker as inline instead of an overlay.
14
+ * @defaultValue false
15
+ */
16
+ inline?: boolean | undefined;
17
+ /**
18
+ * Whether days in other months shown before or after the current month are selectable. This only applies if the showOtherMonths option is set to true.
19
+ * @defaultValue false
20
+ */
21
+ selectOtherMonths?: boolean | undefined;
22
+ /**
23
+ * Number of months to display.
24
+ * @defaultValue 1
25
+ */
26
+ numberOfMonths?: number | undefined;
27
+ /**
28
+ * Type of view to display.
29
+ * @defaultValue date
30
+ */
31
+ view?: "date" | "month" | "year" | undefined;
32
+ /**
33
+ * The minimum selectable date.
34
+ */
35
+ minDate?: Date | undefined;
36
+ /**
37
+ * The maximum selectable date.
38
+ */
39
+ maxDate?: Date | undefined;
40
+ /**
41
+ * When enabled, displays a button with icon next to input.
42
+ * @defaultValue false
43
+ */
44
+ /**
45
+ * Array with dates to disable.
46
+ */
47
+ disabledDates?: Date[] | undefined;
48
+ /**
49
+ * Array with disabled weekday numbers.
50
+ */
51
+ disabledDays?: number[] | undefined;
52
+ /**
53
+ * Maximum number of selectable dates in multiple mode.
54
+ */
55
+ maxDateCount?: number | undefined;
56
+ /**
57
+ * Whether to display today and clear buttons at the footer.
58
+ * @defaultValue false
59
+ */
60
+ showButtonBar?: boolean | undefined;
61
+ /**
62
+ * When enabled, datepicker will show week numbers.
63
+ * @defaultValue false
64
+ */
65
+ showWeek?: boolean | undefined;
66
+ /**
67
+ * Whether to allow entering the date manually via typing.
68
+ * @defaultValue true
69
+ */
70
+ manualInput?: boolean | undefined;
71
+ /**
72
+ * When present, it specifies that the component should be disabled.
73
+ * @defaultValue false
74
+ */
75
+ disabled?: boolean | undefined;
76
+ /**
77
+ * When present, it specifies that the component should have invalid state style.
78
+ * @defaultValue false
79
+ */
80
+ invalid?: boolean | undefined;
81
+ /**
82
+ * When present, it specifies that an input field is read-only.
83
+ * @defaultValue false
84
+ */
85
+ readonly?: boolean | undefined;
86
+ /**
87
+ * Placeholder text for the input.
88
+ */
89
+ placeholder?: string | undefined;
90
+ /**
91
+ * When enabled, displays a button with icon next to input.
92
+ * @defaultValue false
93
+ */
94
+ showIcon?: boolean;
95
+ /**
96
+ * When input should take 100% width
97
+ */
98
+ fullWidth?: boolean;
99
+ /**
100
+ * A valid query selector or an HTMLElement to specify where the overlay gets attached.
101
+ */
102
+ appendTo?: "body" | "self" | undefined;
103
+ }
104
+ type __VLS_Props = PvDatePickerProps;
105
+ type __VLS_PublicProps = {
106
+ modelValue: Date;
107
+ } & __VLS_Props;
108
+ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
109
+ "update:modelValue": (value: Date) => any;
110
+ }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
111
+ "onUpdate:modelValue"?: ((value: Date) => any) | undefined;
112
+ }>, {
113
+ appendTo: "body" | "self";
114
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
115
+ export default _default;
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom/vitest";
@@ -0,0 +1,14 @@
1
+ import { PvSize } from '../baseProps';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ type DateTimeSize = Extract<PvSize, "xs" | "sm">;
4
+ interface PvDateTimeProps {
5
+ variants?: "condensed" | "time";
6
+ timezone?: string;
7
+ date: Date;
8
+ size?: DateTimeSize;
9
+ }
10
+ declare const _default: DefineComponent<PvDateTimeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvDateTimeProps> & Readonly<{}>, {
11
+ size: DateTimeSize;
12
+ variants: "condensed" | "time";
13
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
14
+ export default _default;
@@ -0,0 +1,9 @@
1
+ export declare const useDateTime: () => {
2
+ getCondensedDate: ({ date }: {
3
+ date: Date;
4
+ }) => string;
5
+ getTime: ({ date, timezone }: {
6
+ date: Date;
7
+ timezone?: string;
8
+ }) => string;
9
+ };
@@ -0,0 +1 @@
1
+ import "@testing-library/jest-dom/vitest";