@turquoisehealth/pit-viper 2.53.0 → 2.53.1

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 (75) 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/charts/pv-components-charts.js +2 -2
  71. package/pv-components/dist/vue/charts/pv-components-charts.mjs +3 -3
  72. package/pv-components/dist/vue/charts/pv-components-charts.umd.js +2 -2
  73. package/pv-components/dist/vue/tables/pv-components-tables.js +2 -2
  74. package/pv-components/dist/vue/tables/pv-components-tables.mjs +3 -3
  75. package/pv-components/dist/vue/tables/pv-components-tables.umd.js +2 -2
@@ -0,0 +1,22 @@
1
+ import { ChevronPosition } from "./types";
2
+ interface PvAccordionProps {
3
+ header: string;
4
+ chevronPosition?: ChevronPosition;
5
+ defaultOpen?: boolean;
6
+ counter?: number;
7
+ }
8
+ declare var __VLS_4: {};
9
+ type __VLS_Slots = {} & {
10
+ default?: (props: typeof __VLS_4) => any;
11
+ };
12
+ declare const __VLS_component: import("vue").DefineComponent<PvAccordionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PvAccordionProps> & Readonly<{}>, {
13
+ defaultOpen: boolean;
14
+ chevronPosition: ChevronPosition;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
17
+ export default _default;
18
+ type __VLS_WithSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,5 @@
1
+ export declare enum ChevronPositionEnum {
2
+ left = "left",
3
+ right = "right"
4
+ }
5
+ export type ChevronPosition = `${ChevronPositionEnum}`;
@@ -0,0 +1,22 @@
1
+ import { BannerOrientations, BannerVariants } from "./types";
2
+ export interface PvBannerProps {
3
+ label: string;
4
+ icon?: string;
5
+ variant?: BannerVariants;
6
+ orientation?: BannerOrientations;
7
+ }
8
+ declare var __VLS_4: {};
9
+ type __VLS_Slots = {} & {
10
+ action?: (props: typeof __VLS_4) => any;
11
+ };
12
+ declare const __VLS_component: import("vue").DefineComponent<PvBannerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PvBannerProps> & Readonly<{}>, {
13
+ variant: BannerVariants;
14
+ orientation: BannerOrientations;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
17
+ export default _default;
18
+ type __VLS_WithSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -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,6 @@
1
+ import { PvBreadcrumbsOptions } from "./types";
2
+ interface PvBreadcrumbsProps {
3
+ options: PvBreadcrumbsOptions[];
4
+ }
5
+ declare const _default: import("vue").DefineComponent<PvBreadcrumbsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PvBreadcrumbsProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ export default _default;
@@ -0,0 +1,4 @@
1
+ export interface PvBreadcrumbsOptions {
2
+ label: string;
3
+ href?: string;
4
+ }
@@ -0,0 +1,24 @@
1
+ import { PvButtonSize, PvButtonVariant } from "./types";
2
+ declare const _default: import("vue").DefineComponent<{
3
+ variant?: PvButtonVariant;
4
+ disabled?: boolean;
5
+ size?: PvButtonSize;
6
+ loading?: boolean;
7
+ label?: string;
8
+ leftIcon?: string;
9
+ rightIcon?: string;
10
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
11
+ variant?: PvButtonVariant;
12
+ disabled?: boolean;
13
+ size?: PvButtonSize;
14
+ loading?: boolean;
15
+ label?: string;
16
+ leftIcon?: string;
17
+ rightIcon?: string;
18
+ }> & Readonly<{}>, {
19
+ size: PvButtonSize;
20
+ variant: PvButtonVariant;
21
+ disabled: boolean;
22
+ loading: boolean;
23
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
+ 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">;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,15 @@
1
+ interface PvCardProps {
2
+ href?: string;
3
+ }
4
+ declare var __VLS_6: {};
5
+ type __VLS_Slots = {} & {
6
+ default?: (props: typeof __VLS_6) => any;
7
+ };
8
+ declare const __VLS_component: import("vue").DefineComponent<PvCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PvCardProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
10
+ export default _default;
11
+ type __VLS_WithSlots<T, S> = T & {
12
+ new (): {
13
+ $slots: S;
14
+ };
15
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,15 @@
1
+ import { PvSize } from "@/components/base/baseProps.ts";
2
+ type PvCompanyLogoSize = PvSize;
3
+ type PvCompanyLogoProps = {
4
+ basePath?: string;
5
+ name: string;
6
+ size?: PvCompanyLogoSize;
7
+ srcPathOverride?: string;
8
+ toCamelCase?: boolean;
9
+ };
10
+ declare const _default: import("vue").DefineComponent<PvCompanyLogoProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PvCompanyLogoProps> & Readonly<{}>, {
11
+ size: PvCompanyLogoSize;
12
+ basePath: string;
13
+ toCamelCase: boolean;
14
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,26 @@
1
+ import { TagSize } from "@/components/base/PvTag/types";
2
+ export interface PvCompanyTag {
3
+ /**
4
+ * Company name. Displayed on the left
5
+ */
6
+ companyName: string;
7
+ /**
8
+ * Size
9
+ */
10
+ size?: TagSize;
11
+ /**
12
+ * Show clear left icon
13
+ */
14
+ showClear?: boolean;
15
+ }
16
+ declare const _default: import("vue").DefineComponent<PvCompanyTag, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
17
+ "handle-close": (companyName: string) => any;
18
+ "handle-click": (companyName: string) => any;
19
+ }, string, import("vue").PublicProps, Readonly<PvCompanyTag> & Readonly<{
20
+ "onHandle-close"?: ((companyName: string) => any) | undefined;
21
+ "onHandle-click"?: ((companyName: string) => any) | undefined;
22
+ }>, {
23
+ size: TagSize;
24
+ showClear: boolean;
25
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
+ export default _default;
@@ -0,0 +1,15 @@
1
+ import { PvCounterBadgeSize, PvCounterBadgeVariant } from "./types";
2
+ export interface PvCounterBadgeProps {
3
+ value?: number;
4
+ prefix?: string;
5
+ variant?: PvCounterBadgeVariant;
6
+ size?: PvCounterBadgeSize;
7
+ maxValue?: number;
8
+ }
9
+ declare const _default: import("vue").DefineComponent<PvCounterBadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PvCounterBadgeProps> & Readonly<{}>, {
10
+ size: PvCounterBadgeSize;
11
+ variant: PvCounterBadgeVariant;
12
+ prefix: string;
13
+ maxValue: number;
14
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { PvVariants, PvSize } from "@/components/base/baseProps";
2
+ export type PvCounterBadgeVariant = PvVariants;
3
+ export type PvCounterBadgeSize = Extract<PvSize, "sm" | "md">;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,114 @@
1
+ export interface PvDatePickerProps {
2
+ /**
3
+ * Defines the quantity of the selection.
4
+ * @defaultValue single
5
+ */
6
+ selectionMode?: "single" | "multiple" | "range" | undefined;
7
+ /**
8
+ * Format of the date. Defaults to PrimeVue Locale configuration.
9
+ */
10
+ dateFormat?: string | undefined;
11
+ /**
12
+ * When enabled, displays the datepicker as inline instead of an overlay.
13
+ * @defaultValue false
14
+ */
15
+ inline?: boolean | undefined;
16
+ /**
17
+ * 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.
18
+ * @defaultValue false
19
+ */
20
+ selectOtherMonths?: boolean | undefined;
21
+ /**
22
+ * Number of months to display.
23
+ * @defaultValue 1
24
+ */
25
+ numberOfMonths?: number | undefined;
26
+ /**
27
+ * Type of view to display.
28
+ * @defaultValue date
29
+ */
30
+ view?: "date" | "month" | "year" | undefined;
31
+ /**
32
+ * The minimum selectable date.
33
+ */
34
+ minDate?: Date | undefined;
35
+ /**
36
+ * The maximum selectable date.
37
+ */
38
+ maxDate?: Date | undefined;
39
+ /**
40
+ * When enabled, displays a button with icon next to input.
41
+ * @defaultValue false
42
+ */
43
+ /**
44
+ * Array with dates to disable.
45
+ */
46
+ disabledDates?: Date[] | undefined;
47
+ /**
48
+ * Array with disabled weekday numbers.
49
+ */
50
+ disabledDays?: number[] | undefined;
51
+ /**
52
+ * Maximum number of selectable dates in multiple mode.
53
+ */
54
+ maxDateCount?: number | undefined;
55
+ /**
56
+ * Whether to display today and clear buttons at the footer.
57
+ * @defaultValue false
58
+ */
59
+ showButtonBar?: boolean | undefined;
60
+ /**
61
+ * When enabled, datepicker will show week numbers.
62
+ * @defaultValue false
63
+ */
64
+ showWeek?: boolean | undefined;
65
+ /**
66
+ * Whether to allow entering the date manually via typing.
67
+ * @defaultValue true
68
+ */
69
+ manualInput?: boolean | undefined;
70
+ /**
71
+ * When present, it specifies that the component should be disabled.
72
+ * @defaultValue false
73
+ */
74
+ disabled?: boolean | undefined;
75
+ /**
76
+ * When present, it specifies that the component should have invalid state style.
77
+ * @defaultValue false
78
+ */
79
+ invalid?: boolean | undefined;
80
+ /**
81
+ * When present, it specifies that an input field is read-only.
82
+ * @defaultValue false
83
+ */
84
+ readonly?: boolean | undefined;
85
+ /**
86
+ * Placeholder text for the input.
87
+ */
88
+ placeholder?: string | undefined;
89
+ /**
90
+ * When enabled, displays a button with icon next to input.
91
+ * @defaultValue false
92
+ */
93
+ showIcon?: boolean;
94
+ /**
95
+ * When input should take 100% width
96
+ */
97
+ fullWidth?: boolean;
98
+ /**
99
+ * A valid query selector or an HTMLElement to specify where the overlay gets attached.
100
+ */
101
+ appendTo?: "body" | "self" | undefined;
102
+ }
103
+ type __VLS_Props = PvDatePickerProps;
104
+ type __VLS_PublicProps = __VLS_Props & {
105
+ modelValue: Date;
106
+ };
107
+ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
108
+ "update:modelValue": (value: Date) => any;
109
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
110
+ "onUpdate:modelValue"?: ((value: Date) => any) | undefined;
111
+ }>, {
112
+ appendTo: "body" | "self";
113
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
114
+ export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,13 @@
1
+ import { PvSize } from "../baseProps";
2
+ type DateTimeSize = Extract<PvSize, "xs" | "sm">;
3
+ interface PvDateTimeProps {
4
+ variants?: "condensed" | "time";
5
+ timezone?: string;
6
+ date: Date;
7
+ size?: DateTimeSize;
8
+ }
9
+ declare const _default: import("vue").DefineComponent<PvDateTimeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PvDateTimeProps> & Readonly<{}>, {
10
+ size: DateTimeSize;
11
+ variants: "condensed" | "time";
12
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ 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,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,31 @@
1
+ export interface PvDrawer {
2
+ header: string;
3
+ subheader?: string;
4
+ showSearchbar?: boolean;
5
+ closeOnClickOutside?: boolean;
6
+ searchInputProps?: PvSearchInputProps;
7
+ }
8
+ import { PvSearchInputProps } from "../PvSearchInput/PvSearchInput.vue";
9
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<PvDrawer & {
10
+ searchInput?: string;
11
+ modelValue: boolean;
12
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ "update:modelValue": (value: boolean) => any;
14
+ "update:searchInput": (value: string | undefined) => any;
15
+ }, string, import("vue").PublicProps, Readonly<PvDrawer & {
16
+ searchInput?: string;
17
+ modelValue: boolean;
18
+ }> & Readonly<{
19
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
20
+ "onUpdate:searchInput"?: ((value: string | undefined) => any) | undefined;
21
+ }>, {
22
+ closeOnClickOutside: boolean;
23
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
24
+ default?: (props: {}) => any;
25
+ }>;
26
+ export default _default;
27
+ type __VLS_WithSlots<T, S> = T & {
28
+ new (): {
29
+ $slots: S;
30
+ };
31
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,42 @@
1
+ import { CSSProperties } from "vue";
2
+ export interface PvDropdownProps {
3
+ defaultOpen?: boolean;
4
+ popoverCssProperties?: CSSProperties;
5
+ alignment?: "top" | "right" | "top right" | undefined;
6
+ isList?: boolean;
7
+ isSortable?: boolean;
8
+ icon?: boolean;
9
+ disabled?: boolean;
10
+ isLoading?: boolean;
11
+ useTeleport?: boolean;
12
+ teleportLocation?: string;
13
+ }
14
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<PvDropdownProps, {
15
+ closeDropdown: () => void;
16
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
17
+ "list-order-updated": (value: string[]) => any;
18
+ "dropdown-open": () => any;
19
+ "dropdown-closed": () => any;
20
+ }, string, import("vue").PublicProps, Readonly<PvDropdownProps> & Readonly<{
21
+ "onList-order-updated"?: ((value: string[]) => any) | undefined;
22
+ "onDropdown-open"?: (() => any) | undefined;
23
+ "onDropdown-closed"?: (() => any) | undefined;
24
+ }>, {
25
+ disabled: boolean;
26
+ alignment: "top" | "right" | "top right";
27
+ isList: boolean;
28
+ defaultOpen: boolean;
29
+ isLoading: boolean;
30
+ useTeleport: boolean;
31
+ teleportLocation: string;
32
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
33
+ trigger?: (props: {}) => any;
34
+ } & {
35
+ default?: (props: {}) => any;
36
+ }>;
37
+ export default _default;
38
+ type __VLS_WithSlots<T, S> = T & {
39
+ new (): {
40
+ $slots: S;
41
+ };
42
+ };
@@ -0,0 +1,59 @@
1
+ import { CSSProperties } from "vue";
2
+ export declare const useDropdownMenuPosition: ({ alignment, useTeleport, popoverCssProperties, }?: {
3
+ alignment?: "top" | "right" | "top right";
4
+ useTeleport?: boolean;
5
+ popoverCssProperties?: CSSProperties;
6
+ }) => {
7
+ triggerRef: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
8
+ popoverRef: import("vue").Ref<{
9
+ popoverRoot: HTMLElement | null;
10
+ } | null, {
11
+ popoverRoot: HTMLElement | null;
12
+ } | {
13
+ popoverRoot: HTMLElement | null;
14
+ } | null>;
15
+ triggerRect: import("vue").Ref<{
16
+ height: number;
17
+ width: number;
18
+ x: number;
19
+ y: number;
20
+ readonly bottom: number;
21
+ readonly left: number;
22
+ readonly right: number;
23
+ readonly top: number;
24
+ toJSON: () => any;
25
+ } | null, DOMRect | {
26
+ height: number;
27
+ width: number;
28
+ x: number;
29
+ y: number;
30
+ readonly bottom: number;
31
+ readonly left: number;
32
+ readonly right: number;
33
+ readonly top: number;
34
+ toJSON: () => any;
35
+ } | null>;
36
+ popoverRect: import("vue").Ref<{
37
+ height: number;
38
+ width: number;
39
+ x: number;
40
+ y: number;
41
+ readonly bottom: number;
42
+ readonly left: number;
43
+ readonly right: number;
44
+ readonly top: number;
45
+ toJSON: () => any;
46
+ } | null, DOMRect | {
47
+ height: number;
48
+ width: number;
49
+ x: number;
50
+ y: number;
51
+ readonly bottom: number;
52
+ readonly left: number;
53
+ readonly right: number;
54
+ readonly top: number;
55
+ toJSON: () => any;
56
+ } | null>;
57
+ popoverPositionStyle: import("vue").ComputedRef<CSSProperties | undefined>;
58
+ updateRects: () => void;
59
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,10 @@
1
+ export type PvIconSize = (typeof PvIconSizes)[number];
2
+ export declare const PvIconSizes: readonly [undefined, 10, 12, 20, 24, 32, 64];
3
+ declare const _default: import("vue").DefineComponent<{
4
+ name: string;
5
+ size?: PvIconSize;
6
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
7
+ name: string;
8
+ size?: PvIconSize;
9
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ export default _default;
@@ -0,0 +1,26 @@
1
+ export interface ModalProps {
2
+ header: string;
3
+ subheader?: string;
4
+ closeOnClickOutside?: boolean;
5
+ }
6
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<ModalProps & {
7
+ modelValue: boolean;
8
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ "update:modelValue": (value: boolean) => any;
10
+ }, string, import("vue").PublicProps, Readonly<ModalProps & {
11
+ modelValue: boolean;
12
+ }> & Readonly<{
13
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
14
+ }>, {
15
+ closeOnClickOutside: boolean;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
17
+ body?: (props: {}) => any;
18
+ } & {
19
+ footer?: (props: {}) => any;
20
+ }>;
21
+ export default _default;
22
+ type __VLS_WithSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import { Option, OptionWithIcon } from "@/types";
2
+ export interface PvMultiSelectProps {
3
+ options: Option[] | OptionWithIcon[];
4
+ defaultText?: string;
5
+ disabled?: boolean;
6
+ }
7
+ declare const _default: import("vue").DefineComponent<PvMultiSelectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PvMultiSelectProps> & Readonly<{}>, {
8
+ disabled: boolean;
9
+ options: Option[] | OptionWithIcon[];
10
+ defaultText: string;
11
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ export default _default;
@@ -0,0 +1,54 @@
1
+ export interface PvMultiSelectButton {
2
+ defaultOpen?: boolean;
3
+ disabled?: boolean;
4
+ teleportLocation?: string;
5
+ isLoading?: boolean;
6
+ variant?: PvSelectButtonVariant;
7
+ size?: PvSelectButtonSize;
8
+ alignment?: "top" | "right" | "top right" | undefined;
9
+ popoverCssProperties?: CSSProperties;
10
+ label?: string;
11
+ icon?: string;
12
+ counterPosition?: "left" | "right";
13
+ companyLogo?: string;
14
+ showClear?: boolean;
15
+ showDropdown?: boolean;
16
+ showMenuAction?: boolean;
17
+ showSearchInput?: boolean;
18
+ optionsVariant?: MenuOptionsVariant;
19
+ options: MenuOption[];
20
+ useTeleport?: boolean;
21
+ }
22
+ import { CSSProperties } from "vue";
23
+ import { PvSelectButtonSize, PvSelectButtonVariant, MenuOption, MenuOptionsVariant } from "./types";
24
+ declare const _default: import("vue").DefineComponent<PvMultiSelectButton & {
25
+ modelValue: MenuOption[];
26
+ searchInput?: string;
27
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
+ "update:modelValue": (value: MenuOption[]) => any;
29
+ "update:searchInput": (value: string) => any;
30
+ } & {
31
+ "dropdown-open": () => any;
32
+ "dropdown-closed": () => any;
33
+ }, string, import("vue").PublicProps, Readonly<PvMultiSelectButton & {
34
+ modelValue: MenuOption[];
35
+ searchInput?: string;
36
+ }> & Readonly<{
37
+ "onDropdown-open"?: (() => any) | undefined;
38
+ "onDropdown-closed"?: (() => any) | undefined;
39
+ "onUpdate:modelValue"?: ((value: MenuOption[]) => any) | undefined;
40
+ "onUpdate:searchInput"?: ((value: string) => any) | undefined;
41
+ }>, {
42
+ size: PvSelectButtonSize;
43
+ label: string;
44
+ variant: PvSelectButtonVariant;
45
+ showClear: boolean;
46
+ useTeleport: boolean;
47
+ teleportLocation: string;
48
+ counterPosition: "left" | "right";
49
+ showDropdown: boolean;
50
+ showMenuAction: boolean;
51
+ showSearchInput: boolean;
52
+ optionsVariant: MenuOptionsVariant;
53
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
54
+ export default _default;
@@ -0,0 +1,28 @@
1
+ import { PvSelectButtonSize, PvSelectButtonVariant } from "./types";
2
+ export interface PvSelectButtonTrigger {
3
+ variant?: PvSelectButtonVariant;
4
+ size?: PvSelectButtonSize;
5
+ disabled?: boolean;
6
+ counterPosition?: "left" | "right";
7
+ counterValue?: number;
8
+ label?: string;
9
+ icon?: string;
10
+ companyLogo?: string;
11
+ showClear?: boolean;
12
+ showDropdown?: boolean;
13
+ open: boolean;
14
+ }
15
+ declare const _default: import("vue").DefineComponent<PvSelectButtonTrigger, {
16
+ triggerRef: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
17
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
18
+ "handle-toggle-dropdown": () => any;
19
+ "handle-clear": () => any;
20
+ }, string, import("vue").PublicProps, Readonly<PvSelectButtonTrigger> & Readonly<{
21
+ "onHandle-toggle-dropdown"?: (() => any) | undefined;
22
+ "onHandle-clear"?: (() => any) | undefined;
23
+ }>, {
24
+ size: PvSelectButtonSize;
25
+ variant: PvSelectButtonVariant;
26
+ showDropdown: boolean;
27
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
+ export default _default;