@turquoisehealth/pit-viper 2.122.1-dev.3 → 2.122.1-dev.5

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.
@@ -1,7 +1,7 @@
1
1
  import { PvMultiSelectButtonProps, PvSelectButtonVariant, PvSelectButtonSize, MenuActionsVariant } from './types';
2
2
  import { MenuOption, MenuOptionsVariant } from '../../../types';
3
3
  import { PvPopoverV2Props } from '../PvPopoverV2/types';
4
- import { CSSProperties, VNodeRef, VNode, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ShallowRef, DefineComponent } from 'vue';
4
+ import { CSSProperties, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ShallowRef, DefineComponent } from 'vue';
5
5
  import { PvSelectButtonTrigger } from '../PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.vue';
6
6
  import { PvSearchInputProps } from '../PvSearchInput/PvSearchInput.vue';
7
7
  type __VLS_Props = PvMultiSelectButtonProps;
@@ -15,130 +15,80 @@ declare function __VLS_template(): {
15
15
  header?(_: {
16
16
  selectedItems: MenuOption[];
17
17
  searchInput: string;
18
- modelValue?: MenuOption[];
19
- groupings?: string[];
20
- defaultOpen?: boolean;
21
- disabled?: boolean;
22
- teleportLocation?: string;
23
- isLoading?: boolean;
24
- variant?: PvSelectButtonVariant;
25
- size?: PvSelectButtonSize;
26
- popoverProperties?: PvPopoverV2Props;
27
- popoverCssProperties?: CSSProperties;
28
- prefixLabel?: string;
29
- label?: string;
30
- icon?: string;
31
- counterPosition?: "left" | "right" | "none";
32
- companyLogo?: string;
33
- disableClearIcon?: boolean;
34
- disableDropdownIcon?: boolean;
35
- disableSearchInput?: boolean;
36
- searchPlaceholder?: string;
37
- overlayTrigger?: boolean;
38
- optionsVariant?: Exclude< MenuOptionsVariant, "radio">;
39
- options?: MenuOption[];
40
- menuActionsVariant?: MenuActionsVariant | null;
41
- "onDropdown-open"?: (() => any) | undefined;
42
- "onDropdown-closed"?: (() => any) | undefined;
43
- "onUpdate:modelValue"?: ((value: MenuOption[]) => any) | undefined;
44
- "onUpdate:searchInput"?: ((value: string) => any) | undefined;
45
- key?: PropertyKey;
46
- ref?: VNodeRef;
47
- ref_for?: boolean;
48
- ref_key?: string;
49
- onVnodeBeforeMount?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
50
- onVnodeMounted?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
51
- onVnodeBeforeUpdate?: ((vnode: VNode, oldVNode: VNode) => void) | ((vnode: VNode, oldVNode: VNode) => void)[];
52
- onVnodeUpdated?: ((vnode: VNode, oldVNode: VNode) => void) | ((vnode: VNode, oldVNode: VNode) => void)[];
53
- onVnodeBeforeUnmount?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
54
- onVnodeUnmounted?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
55
- class?: unknown;
56
- style?: unknown;
18
+ groupings: string[];
19
+ defaultOpen: boolean;
20
+ disabled: boolean;
21
+ teleportLocation: string;
22
+ isLoading: boolean;
23
+ popoverProperties: PvPopoverV2Props;
24
+ popoverCssProperties: CSSProperties;
25
+ prefixLabel: string;
26
+ icon: string;
27
+ companyLogo: string;
28
+ searchPlaceholder: string;
29
+ overlayTrigger: boolean;
30
+ counterPosition: "right" | "left" | "none";
31
+ variant: PvSelectButtonVariant;
32
+ size: PvSelectButtonSize;
33
+ label: string;
34
+ disableDropdownIcon: boolean;
35
+ disableClearIcon: boolean;
36
+ disableSearchInput: boolean;
37
+ optionsVariant: "icon" | "checkbox" | "simple" | "company" | "avatar";
38
+ options: MenuOption[];
39
+ menuActionsVariant: MenuActionsVariant | null;
57
40
  }): any;
58
41
  'no-results'?(_: {
59
- modelValue?: MenuOption[];
60
- searchInput?: string;
61
- groupings?: string[];
62
- defaultOpen?: boolean;
63
- disabled?: boolean;
64
- teleportLocation?: string;
65
- isLoading?: boolean;
66
- variant?: PvSelectButtonVariant;
67
- size?: PvSelectButtonSize;
68
- popoverProperties?: PvPopoverV2Props;
69
- popoverCssProperties?: CSSProperties;
70
- prefixLabel?: string;
71
- label?: string;
72
- icon?: string;
73
- counterPosition?: "left" | "right" | "none";
74
- companyLogo?: string;
75
- disableClearIcon?: boolean;
76
- disableDropdownIcon?: boolean;
77
- disableSearchInput?: boolean;
78
- searchPlaceholder?: string;
79
- overlayTrigger?: boolean;
80
- optionsVariant?: Exclude< MenuOptionsVariant, "radio">;
81
- options?: MenuOption[];
82
- menuActionsVariant?: MenuActionsVariant | null;
83
- "onDropdown-open"?: (() => any) | undefined;
84
- "onDropdown-closed"?: (() => any) | undefined;
85
- "onUpdate:modelValue"?: ((value: MenuOption[]) => any) | undefined;
86
- "onUpdate:searchInput"?: ((value: string) => any) | undefined;
87
- key?: PropertyKey;
88
- ref?: VNodeRef;
89
- ref_for?: boolean;
90
- ref_key?: string;
91
- onVnodeBeforeMount?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
92
- onVnodeMounted?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
93
- onVnodeBeforeUpdate?: ((vnode: VNode, oldVNode: VNode) => void) | ((vnode: VNode, oldVNode: VNode) => void)[];
94
- onVnodeUpdated?: ((vnode: VNode, oldVNode: VNode) => void) | ((vnode: VNode, oldVNode: VNode) => void)[];
95
- onVnodeBeforeUnmount?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
96
- onVnodeUnmounted?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
97
- class?: unknown;
98
- style?: unknown;
42
+ selectedItems: MenuOption[];
43
+ searchInput: string;
44
+ groupings: string[];
45
+ defaultOpen: boolean;
46
+ disabled: boolean;
47
+ teleportLocation: string;
48
+ isLoading: boolean;
49
+ popoverProperties: PvPopoverV2Props;
50
+ popoverCssProperties: CSSProperties;
51
+ prefixLabel: string;
52
+ icon: string;
53
+ companyLogo: string;
54
+ searchPlaceholder: string;
55
+ overlayTrigger: boolean;
56
+ counterPosition: "right" | "left" | "none";
57
+ variant: PvSelectButtonVariant;
58
+ size: PvSelectButtonSize;
59
+ label: string;
60
+ disableDropdownIcon: boolean;
61
+ disableClearIcon: boolean;
62
+ disableSearchInput: boolean;
63
+ optionsVariant: "icon" | "checkbox" | "simple" | "company" | "avatar";
64
+ options: MenuOption[];
65
+ menuActionsVariant: MenuActionsVariant | null;
99
66
  }): any;
100
67
  footer?(_: {
101
68
  selectedItems: MenuOption[];
102
69
  searchInput: string;
103
- modelValue?: MenuOption[];
104
- groupings?: string[];
105
- defaultOpen?: boolean;
106
- disabled?: boolean;
107
- teleportLocation?: string;
108
- isLoading?: boolean;
109
- variant?: PvSelectButtonVariant;
110
- size?: PvSelectButtonSize;
111
- popoverProperties?: PvPopoverV2Props;
112
- popoverCssProperties?: CSSProperties;
113
- prefixLabel?: string;
114
- label?: string;
115
- icon?: string;
116
- counterPosition?: "left" | "right" | "none";
117
- companyLogo?: string;
118
- disableClearIcon?: boolean;
119
- disableDropdownIcon?: boolean;
120
- disableSearchInput?: boolean;
121
- searchPlaceholder?: string;
122
- overlayTrigger?: boolean;
123
- optionsVariant?: Exclude< MenuOptionsVariant, "radio">;
124
- options?: MenuOption[];
125
- menuActionsVariant?: MenuActionsVariant | null;
126
- "onDropdown-open"?: (() => any) | undefined;
127
- "onDropdown-closed"?: (() => any) | undefined;
128
- "onUpdate:modelValue"?: ((value: MenuOption[]) => any) | undefined;
129
- "onUpdate:searchInput"?: ((value: string) => any) | undefined;
130
- key?: PropertyKey;
131
- ref?: VNodeRef;
132
- ref_for?: boolean;
133
- ref_key?: string;
134
- onVnodeBeforeMount?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
135
- onVnodeMounted?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
136
- onVnodeBeforeUpdate?: ((vnode: VNode, oldVNode: VNode) => void) | ((vnode: VNode, oldVNode: VNode) => void)[];
137
- onVnodeUpdated?: ((vnode: VNode, oldVNode: VNode) => void) | ((vnode: VNode, oldVNode: VNode) => void)[];
138
- onVnodeBeforeUnmount?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
139
- onVnodeUnmounted?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
140
- class?: unknown;
141
- style?: unknown;
70
+ groupings: string[];
71
+ defaultOpen: boolean;
72
+ disabled: boolean;
73
+ teleportLocation: string;
74
+ isLoading: boolean;
75
+ popoverProperties: PvPopoverV2Props;
76
+ popoverCssProperties: CSSProperties;
77
+ prefixLabel: string;
78
+ icon: string;
79
+ companyLogo: string;
80
+ searchPlaceholder: string;
81
+ overlayTrigger: boolean;
82
+ counterPosition: "right" | "left" | "none";
83
+ variant: PvSelectButtonVariant;
84
+ size: PvSelectButtonSize;
85
+ label: string;
86
+ disableDropdownIcon: boolean;
87
+ disableClearIcon: boolean;
88
+ disableSearchInput: boolean;
89
+ optionsVariant: "icon" | "checkbox" | "simple" | "company" | "avatar";
90
+ options: MenuOption[];
91
+ menuActionsVariant: MenuActionsVariant | null;
142
92
  }): any;
143
93
  };
144
94
  refs: {
@@ -30,6 +30,6 @@ export interface PvMultiSelectButtonProps {
30
30
  menuActionsVariant?: MenuActionsVariant | null;
31
31
  }
32
32
  export interface PvMultiSelectButtonSlotProps extends PvMultiSelectButtonProps {
33
- searchInput: string;
34
- selectedItems: MenuOption[];
33
+ searchInput?: string;
34
+ selectedItems?: MenuOption[];
35
35
  }