@turquoisehealth/pit-viper 2.54.0 → 2.55.0-alpha.2

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 (80) hide show
  1. package/package.json +1 -1
  2. package/pv-components/dist/stats-vue_base.html +4949 -0
  3. package/pv-components/dist/stats-vue_charts.html +4949 -0
  4. package/pv-components/dist/stats-vue_tables.html +4949 -0
  5. package/pv-components/dist/stats-web.html +4949 -0
  6. package/pv-components/dist/types/base/PvAccordion/PvAccordion.vue.d.ts +22 -0
  7. package/pv-components/dist/types/base/PvAccordion/types.d.ts +5 -0
  8. package/pv-components/dist/types/base/PvBanner/PvBanner.vue.d.ts +22 -0
  9. package/pv-components/dist/types/base/PvBanner/types.d.ts +11 -0
  10. package/pv-components/dist/types/base/PvBreadcrumbs/PvBreadcrumbs.vue.d.ts +6 -0
  11. package/pv-components/dist/types/base/PvBreadcrumbs/types.d.ts +4 -0
  12. package/pv-components/dist/types/base/PvButton/PvButton.vue.d.ts +24 -0
  13. package/pv-components/dist/types/base/PvButton/types.d.ts +3 -0
  14. package/pv-components/dist/types/base/PvCard/PvCard.example.vue.d.ts +2 -0
  15. package/pv-components/dist/types/base/PvCard/PvCard.vue.d.ts +15 -0
  16. package/pv-components/dist/types/base/PvCompanyLogo/PvCompanyLogo.example.vue.d.ts +2 -0
  17. package/pv-components/dist/types/base/PvCompanyLogo/PvCompanyLogo.vue.d.ts +15 -0
  18. package/pv-components/dist/types/base/PvCompanyTag/PvCompanyTag.example.vue.d.ts +2 -0
  19. package/pv-components/dist/types/base/PvCompanyTag/PvCompanyTag.vue.d.ts +26 -0
  20. package/pv-components/dist/types/base/PvCounterBadge/PvCounterBadge.vue.d.ts +15 -0
  21. package/pv-components/dist/types/base/PvCounterBadge/types.d.ts +3 -0
  22. package/pv-components/dist/types/base/PvDatePicker/PvDatePicker.example.vue.d.ts +2 -0
  23. package/pv-components/dist/types/base/PvDatePicker/PvDatePicker.vue.d.ts +114 -0
  24. package/pv-components/dist/types/base/PvDateTime/PvDateTime.example.vue.d.ts +2 -0
  25. package/pv-components/dist/types/base/PvDateTime/PvDateTime.vue.d.ts +13 -0
  26. package/pv-components/dist/types/base/PvDateTime/useDateTime.d.ts +9 -0
  27. package/pv-components/dist/types/base/PvDrawer/PvDrawer.example.vue.d.ts +2 -0
  28. package/pv-components/dist/types/base/PvDrawer/PvDrawer.vue.d.ts +31 -0
  29. package/pv-components/dist/types/base/PvDropdown/PvDropdown.example.vue.d.ts +2 -0
  30. package/pv-components/dist/types/base/PvDropdown/PvDropdown.vue.d.ts +42 -0
  31. package/pv-components/dist/types/base/PvDropdown/useDropdownMenuPosition.d.ts +59 -0
  32. package/pv-components/dist/types/base/PvIcon/PvIcon.example.vue.d.ts +2 -0
  33. package/pv-components/dist/types/base/PvIcon/PvIcon.vue.d.ts +10 -0
  34. package/pv-components/dist/types/base/PvModal/PvModal.vue.d.ts +26 -0
  35. package/pv-components/dist/types/base/PvMultiSelect/PvMultiSelect.example.vue.d.ts +2 -0
  36. package/pv-components/dist/types/base/PvMultiSelect/PvMultiSelect.vue.d.ts +12 -0
  37. package/pv-components/dist/types/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +54 -0
  38. package/pv-components/dist/types/base/PvMultiSelectButton/PvMultiSelectButtonTrigger.vue.d.ts +28 -0
  39. package/pv-components/dist/types/base/PvMultiSelectButton/PvSelectMenu.vue.d.ts +30 -0
  40. package/pv-components/dist/types/base/PvMultiSelectButton/PvSelectMenuControlPanel.vue.d.ts +8 -0
  41. package/pv-components/dist/types/base/PvMultiSelectButton/items/PvMenuCheckboxItem.vue.d.ts +11 -0
  42. package/pv-components/dist/types/base/PvMultiSelectButton/items/PvMenuItem.vue.d.ts +12 -0
  43. package/pv-components/dist/types/base/PvMultiSelectButton/items/PvMenuRadioItem.vue.d.ts +11 -0
  44. package/pv-components/dist/types/base/PvMultiSelectButton/mocks.d.ts +13 -0
  45. package/pv-components/dist/types/base/PvMultiSelectButton/types.d.ts +17 -0
  46. package/pv-components/dist/types/base/PvPill/PvPill.vue.d.ts +30 -0
  47. package/pv-components/dist/types/base/PvPill/types.d.ts +3 -0
  48. package/pv-components/dist/types/base/PvPopover/PvPopover.vue.d.ts +29 -0
  49. package/pv-components/dist/types/base/PvReleaseBadge/PvReleaseBadge.example.vue.d.ts +2 -0
  50. package/pv-components/dist/types/base/PvReleaseBadge/PvReleaseBadge.vue.d.ts +5 -0
  51. package/pv-components/dist/types/base/PvSearchInput/PvSearchInput.vue.d.ts +18 -0
  52. package/pv-components/dist/types/base/PvSegmentedControl/PvSegmentedControl.example.vue.d.ts +2 -0
  53. package/pv-components/dist/types/base/PvSegmentedControl/PvSegmentedControl.vue.d.ts +19 -0
  54. package/pv-components/dist/types/base/PvSelect/PvSelect.example.vue.d.ts +2 -0
  55. package/pv-components/dist/types/base/PvSelect/PvSelect.vue.d.ts +22 -0
  56. package/pv-components/dist/types/base/PvSuggestionTag/PvSuggestionTag.example.vue.d.ts +2 -0
  57. package/pv-components/dist/types/base/PvSuggestionTag/PvSuggestionTag.vue.d.ts +28 -0
  58. package/pv-components/dist/types/base/PvTabList/PvTabList.vue.d.ts +11 -0
  59. package/pv-components/dist/types/base/PvTabs/PvTabs.example.vue.d.ts +2 -0
  60. package/pv-components/dist/types/base/PvTabs/PvTabs.vue.d.ts +17 -0
  61. package/pv-components/dist/types/base/PvTabs/types.d.ts +7 -0
  62. package/pv-components/dist/types/base/PvTag/PvTag.example.vue.d.ts +2 -0
  63. package/pv-components/dist/types/base/PvTag/PvTag.vue.d.ts +40 -0
  64. package/pv-components/dist/types/base/PvTag/types.d.ts +3 -0
  65. package/pv-components/dist/types/base/PvToggle/PvToggle.vue.d.ts +35 -0
  66. package/pv-components/dist/types/base/PvTooltip/PvTooltip.vue.d.ts +24 -0
  67. package/pv-components/dist/types/base/PvTooltip/types.d.ts +2 -0
  68. package/pv-components/dist/types/base/baseProps.d.ts +7 -0
  69. package/pv-components/dist/types/base/index.d.ts +29 -0
  70. package/pv-components/dist/vue/base/pv-components-base.d.ts +146 -14
  71. package/pv-components/dist/vue/base/pv-components-base.js +20 -20
  72. package/pv-components/dist/vue/base/pv-components-base.mjs +2500 -2429
  73. package/pv-components/dist/vue/base/pv-components-base.umd.js +20 -20
  74. package/pv-components/dist/vue/charts/pv-components-charts.js +50 -50
  75. package/pv-components/dist/vue/charts/pv-components-charts.mjs +18956 -18577
  76. package/pv-components/dist/vue/charts/pv-components-charts.umd.js +50 -50
  77. package/pv-components/dist/vue/tables/pv-components-tables.js +39 -39
  78. package/pv-components/dist/vue/tables/pv-components-tables.mjs +11249 -10569
  79. package/pv-components/dist/vue/tables/pv-components-tables.umd.js +39 -39
  80. package/pv-components/dist/web/pv-components.iife.js +24 -24
@@ -1,5 +1,6 @@
1
1
  import { AllowedComponentProps } from 'vue';
2
2
  import { App } from 'vue';
3
+ import { Component } from 'vue';
3
4
  import { ComponentCustomProperties } from 'vue';
4
5
  import { ComponentCustomProps } from 'vue';
5
6
  import { ComponentInternalInstance } from 'vue';
@@ -17,9 +18,12 @@ import { nextTick } from 'vue';
17
18
  import { OnCleanup } from '@vue/reactivity';
18
19
  import { PublicProps } from 'vue';
19
20
  import { Ref } from 'vue';
21
+ import { ShallowRef } from 'vue';
20
22
  import { ShallowUnwrapRef } from 'vue';
21
23
  import { Slot } from 'vue';
24
+ import { VNode } from 'vue';
22
25
  import { VNodeProps } from 'vue';
26
+ import { VNodeRef } from 'vue';
23
27
  import { WatchOptions } from 'vue';
24
28
  import { WatchStopHandle } from 'vue';
25
29
 
@@ -39,7 +43,7 @@ variant: PvTooltipVariants;
39
43
  tooltipPosition: PvTooltipPositions;
40
44
  ariaLabelledBy: string;
41
45
  interactive: boolean;
42
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
46
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
43
47
 
44
48
  declare const __VLS_component_4: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
45
49
  "update:modelValue": (value: string | boolean) => any;
@@ -144,11 +148,12 @@ declare function __VLS_template_2(): {
144
148
  declare function __VLS_template_3(): {
145
149
  attrs: Partial<{}>;
146
150
  slots: {
151
+ label?(_: {}): any;
147
152
  label?(_: {}): any;
148
153
  'tooltip-content'?(_: {}): any;
149
154
  };
150
155
  refs: {};
151
- rootEl: HTMLDivElement;
156
+ rootEl: any;
152
157
  };
153
158
 
154
159
  declare function __VLS_template_4(): {
@@ -310,7 +315,7 @@ declare enum MenuItemType {
310
315
  radio = "radio"
311
316
  }
312
317
 
313
- declare interface MenuOption {
318
+ export declare interface MenuOption {
314
319
  id: string;
315
320
  text: string;
316
321
  subText?: string;
@@ -323,6 +328,10 @@ declare interface MenuOption {
323
328
  icon?: boolean;
324
329
  };
325
330
  groupingLabel?: string;
331
+ disabled?: boolean;
332
+ renderer?: Component;
333
+ rendererProps?: any;
334
+ classList?: string[];
326
335
  }
327
336
 
328
337
  declare type MenuOptionsVariant = `${MenuItemType}`;
@@ -649,17 +658,17 @@ declare interface PvDateTimeProps {
649
658
  }
650
659
 
651
660
  export declare const PvDrawer: __VLS_WithTemplateSlots_6<DefineComponent< {
652
- "search-input"?: string;
661
+ searchInput?: string;
653
662
  modelValue: boolean;
654
663
  } & PvDrawer_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
655
664
  "update:modelValue": (value: boolean) => any;
656
- "update:search-input": (value: string) => any;
665
+ "update:searchInput": (value: string) => any;
657
666
  }, string, PublicProps, Readonly<{
658
- "search-input"?: string;
667
+ searchInput?: string;
659
668
  modelValue: boolean;
660
669
  } & PvDrawer_2> & Readonly<{
661
670
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
662
- "onUpdate:search-input"?: ((value: string) => any) | undefined;
671
+ "onUpdate:searchInput"?: ((value: string) => any) | undefined;
663
672
  }>, {
664
673
  closeOnClickOutside: boolean;
665
674
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
@@ -849,7 +858,7 @@ dialog: HTMLDialogElement;
849
858
  export declare const PvMultiSelectButton: __VLS_WithTemplateSlots_8<DefineComponent< {
850
859
  modelValue?: MenuOption[];
851
860
  searchInput?: string;
852
- } & PvMultiSelectButton_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
861
+ } & PvMultiSelectButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
853
862
  "update:modelValue": (value: MenuOption[]) => any;
854
863
  "update:searchInput": (value: string) => any;
855
864
  } & {
@@ -858,7 +867,7 @@ searchInput?: string;
858
867
  }, string, PublicProps, Readonly<{
859
868
  modelValue?: MenuOption[];
860
869
  searchInput?: string;
861
- } & PvMultiSelectButton_2> & Readonly<{
870
+ } & PvMultiSelectButtonProps> & Readonly<{
862
871
  "onDropdown-open"?: (() => any) | undefined;
863
872
  "onDropdown-closed"?: (() => any) | undefined;
864
873
  "onUpdate:modelValue"?: ((value: MenuOption[]) => any) | undefined;
@@ -871,6 +880,7 @@ showClear: boolean;
871
880
  useTeleport: boolean;
872
881
  teleportLocation: string;
873
882
  options: MenuOption[];
883
+ counterPosition: "left" | "right" | "none";
874
884
  showDropdown: boolean;
875
885
  optionsVariant: Exclude<MenuOptionsVariant, "radio">;
876
886
  showMenuAction: boolean;
@@ -1049,9 +1059,124 @@ $slots: {
1049
1059
  default?(_: {}): any;
1050
1060
  };
1051
1061
  }) | null;
1052
- }, HTMLDivElement>, Partial<Record<string, (_: {}) => any>>>;
1062
+ searchInputRef: CreateComponentPublicInstanceWithMixins<Readonly<{
1063
+ modelValue: string;
1064
+ } & PvSearchInputProps> & Readonly<{
1065
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1066
+ }>, {
1067
+ input: Readonly<ShallowRef<HTMLInputElement | null>>;
1068
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1069
+ "update:modelValue": (value: string) => any;
1070
+ }, PublicProps, {
1071
+ disabled: boolean;
1072
+ placeholder: string;
1073
+ }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
1074
+ 'search-input': HTMLInputElement;
1075
+ }, HTMLDivElement, ComponentProvideOptions, {
1076
+ P: {};
1077
+ B: {};
1078
+ D: {};
1079
+ C: {};
1080
+ M: {};
1081
+ Defaults: {};
1082
+ }, Readonly<{
1083
+ modelValue: string;
1084
+ } & PvSearchInputProps> & Readonly<{
1085
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1086
+ }>, {
1087
+ input: Readonly<ShallowRef<HTMLInputElement | null>>;
1088
+ }, {}, {}, {}, {
1089
+ disabled: boolean;
1090
+ placeholder: string;
1091
+ }> | null;
1092
+ }, HTMLDivElement>, Partial<Record<string, (_: {}) => any>> & {
1093
+ 'no-results'?(_: {
1094
+ modelValue?: MenuOption[];
1095
+ searchInput?: string;
1096
+ groupings?: string[];
1097
+ defaultOpen?: boolean;
1098
+ disabled?: boolean;
1099
+ teleportLocation?: string;
1100
+ isLoading?: boolean;
1101
+ variant?: PvSelectButtonVariant;
1102
+ size?: PvSelectButtonSize;
1103
+ alignment?: "top" | "right" | "top right" | undefined;
1104
+ popoverCssProperties?: CSSProperties;
1105
+ prefixLabel?: string;
1106
+ label?: string;
1107
+ icon?: string;
1108
+ counterPosition?: "left" | "right" | "none";
1109
+ companyLogo?: string;
1110
+ showClear?: boolean;
1111
+ showDropdown?: boolean;
1112
+ showMenuAction?: boolean;
1113
+ showSearchInput?: boolean;
1114
+ overlayTrigger?: boolean;
1115
+ optionsVariant?: Exclude<MenuOptionsVariant, "radio">;
1116
+ options: MenuOption[];
1117
+ useTeleport?: boolean;
1118
+ "onDropdown-open"?: (() => any) | undefined;
1119
+ "onDropdown-closed"?: (() => any) | undefined;
1120
+ "onUpdate:modelValue"?: ((value: MenuOption[]) => any) | undefined;
1121
+ "onUpdate:searchInput"?: ((value: string) => any) | undefined;
1122
+ key?: PropertyKey;
1123
+ ref?: VNodeRef;
1124
+ ref_for?: boolean;
1125
+ ref_key?: string;
1126
+ onVnodeBeforeMount?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
1127
+ onVnodeMounted?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
1128
+ onVnodeBeforeUpdate?: ((vnode: VNode, oldVNode: VNode) => void) | ((vnode: VNode, oldVNode: VNode) => void)[];
1129
+ onVnodeUpdated?: ((vnode: VNode, oldVNode: VNode) => void) | ((vnode: VNode, oldVNode: VNode) => void)[];
1130
+ onVnodeBeforeUnmount?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
1131
+ onVnodeUnmounted?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
1132
+ class?: unknown;
1133
+ style?: unknown;
1134
+ }): any;
1135
+ footer?(_: {
1136
+ modelValue?: MenuOption[];
1137
+ searchInput?: string;
1138
+ groupings?: string[];
1139
+ defaultOpen?: boolean;
1140
+ disabled?: boolean;
1141
+ teleportLocation?: string;
1142
+ isLoading?: boolean;
1143
+ variant?: PvSelectButtonVariant;
1144
+ size?: PvSelectButtonSize;
1145
+ alignment?: "top" | "right" | "top right" | undefined;
1146
+ popoverCssProperties?: CSSProperties;
1147
+ prefixLabel?: string;
1148
+ label?: string;
1149
+ icon?: string;
1150
+ counterPosition?: "left" | "right" | "none";
1151
+ companyLogo?: string;
1152
+ showClear?: boolean;
1153
+ showDropdown?: boolean;
1154
+ showMenuAction?: boolean;
1155
+ showSearchInput?: boolean;
1156
+ overlayTrigger?: boolean;
1157
+ optionsVariant?: Exclude<MenuOptionsVariant, "radio">;
1158
+ options: MenuOption[];
1159
+ useTeleport?: boolean;
1160
+ "onDropdown-open"?: (() => any) | undefined;
1161
+ "onDropdown-closed"?: (() => any) | undefined;
1162
+ "onUpdate:modelValue"?: ((value: MenuOption[]) => any) | undefined;
1163
+ "onUpdate:searchInput"?: ((value: string) => any) | undefined;
1164
+ key?: PropertyKey;
1165
+ ref?: VNodeRef;
1166
+ ref_for?: boolean;
1167
+ ref_key?: string;
1168
+ onVnodeBeforeMount?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
1169
+ onVnodeMounted?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
1170
+ onVnodeBeforeUpdate?: ((vnode: VNode, oldVNode: VNode) => void) | ((vnode: VNode, oldVNode: VNode) => void)[];
1171
+ onVnodeUpdated?: ((vnode: VNode, oldVNode: VNode) => void) | ((vnode: VNode, oldVNode: VNode) => void)[];
1172
+ onVnodeBeforeUnmount?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
1173
+ onVnodeUnmounted?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
1174
+ class?: unknown;
1175
+ style?: unknown;
1176
+ }): any;
1177
+ }>;
1053
1178
 
1054
- declare interface PvMultiSelectButton_2 {
1179
+ declare interface PvMultiSelectButtonProps {
1055
1180
  groupings?: string[];
1056
1181
  defaultOpen?: boolean;
1057
1182
  disabled?: boolean;
@@ -1064,17 +1189,22 @@ declare interface PvMultiSelectButton_2 {
1064
1189
  prefixLabel?: string;
1065
1190
  label?: string;
1066
1191
  icon?: string;
1067
- counterPosition?: "left" | "right";
1192
+ counterPosition?: "left" | "right" | "none";
1068
1193
  companyLogo?: string;
1069
1194
  showClear?: boolean;
1070
1195
  showDropdown?: boolean;
1071
1196
  showMenuAction?: boolean;
1072
1197
  showSearchInput?: boolean;
1198
+ overlayTrigger?: boolean;
1073
1199
  optionsVariant?: Exclude<MenuOptionsVariant, "radio">;
1074
1200
  options: MenuOption[];
1075
1201
  useTeleport?: boolean;
1076
1202
  }
1077
1203
 
1204
+ export declare interface PvMultiSelectButtonSlotProps {
1205
+ searchInput: string;
1206
+ }
1207
+
1078
1208
  export declare const PvPagination: DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1079
1209
  "update:modelValue": (value: number) => any;
1080
1210
  }, string, PublicProps, Readonly<__VLS_PublicProps_4> & Readonly<{
@@ -1153,7 +1283,9 @@ declare interface PvPopoverProps {
1153
1283
 
1154
1284
  export declare const PvReleaseBadge: DefineComponent<PvBadgeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvBadgeProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1155
1285
 
1156
- export declare const PvSearchInput: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1286
+ export declare const PvSearchInput: DefineComponent<__VLS_PublicProps, {
1287
+ input: Readonly<ShallowRef<HTMLInputElement | null>>;
1288
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1157
1289
  "update:modelValue": (value: string) => any;
1158
1290
  }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
1159
1291
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
@@ -1431,7 +1563,7 @@ declare interface PvSelectButtonTrigger {
1431
1563
  variant?: PvSelectButtonVariant;
1432
1564
  size?: PvSelectButtonSize;
1433
1565
  disabled?: boolean;
1434
- counterPosition?: "left" | "right";
1566
+ counterPosition?: "left" | "right" | "none";
1435
1567
  counterValue?: number;
1436
1568
  prefixLabel?: string;
1437
1569
  label?: string;