@turquoisehealth/pit-viper 2.251.0 → 2.251.2-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_site/assets/css/pit-viper-a11y.css +14 -6
- package/_site/assets/css/pit-viper-consumer.css +14 -6
- package/_site/assets/css/pit-viper-v2-scoped.css +14 -6
- package/_site/assets/css/pit-viper-v2.css +14 -6
- package/_site/assets/css/pit-viper.css +14 -6
- package/package.json +1 -1
- package/pv-components/dist/stats/vue/base/stats.html +1 -1
- package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
- package/pv-components/dist/stats/web/pv-sortable-list-stats.html +4950 -0
- package/pv-components/dist/vue/ai/components/base/PvSortableList/PvSortableList.vue.d.ts +43 -0
- package/pv-components/dist/vue/ai/components/base/index.d.ts +8 -1
- package/pv-components/dist/vue/base/components/base/PvSortableList/PvSortableList.vue.d.ts +43 -0
- package/pv-components/dist/vue/base/components/base/index.d.ts +8 -1
- package/pv-components/dist/vue/base/pv-components-base.mjs +2325 -2098
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/index.d.ts +8 -1
- package/pv-components/dist/vue/visualizations/components/visualizations/index.d.ts +11 -2
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +1674 -1674
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-sortable-list/pv-sortable-list.js +9138 -0
- package/pv-components/dist/web/pv-components.iife.js +13 -13
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { MenuOption } from '../../../types';
|
|
2
|
+
import { LockedOption } from './types';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
+
export type PvSortableMenuListProps = {
|
|
5
|
+
/** The full set of available options to choose from and reorder. */
|
|
6
|
+
options: MenuOption[];
|
|
7
|
+
/** Maximum number of options that can be active (above the divider) at once. */
|
|
8
|
+
activeOptionLimit?: number;
|
|
9
|
+
/**
|
|
10
|
+
* Text displayed inside empty placeholder drop zones.
|
|
11
|
+
*/
|
|
12
|
+
placeholderText?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Whether to render placeholder drop zones for unfilled active slots.
|
|
15
|
+
*/
|
|
16
|
+
showPlaceholders?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Options that cannot be removed or reordered: they render with a lock icon and grayed
|
|
19
|
+
* text, stay pinned at the top of the active list, and every mutation (click, drag,
|
|
20
|
+
* placeholder drop) re-asserts them. Ids must refer to options that are already active.
|
|
21
|
+
* An entry's optional `tooltip` explains WHY it is locked, rendered as an info icon
|
|
22
|
+
* (e.g. "Select a single drug to unlock").
|
|
23
|
+
*/
|
|
24
|
+
lockedOptions?: LockedOption[];
|
|
25
|
+
};
|
|
26
|
+
type __VLS_Props = PvSortableMenuListProps;
|
|
27
|
+
type __VLS_PublicProps = {
|
|
28
|
+
modelValue?: MenuOption[];
|
|
29
|
+
} & __VLS_Props;
|
|
30
|
+
declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
31
|
+
"update:modelValue": (value: MenuOption<unknown>[]) => any;
|
|
32
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
33
|
+
"onUpdate:modelValue"?: ((value: MenuOption<unknown>[]) => any) | undefined;
|
|
34
|
+
}>, {
|
|
35
|
+
options: MenuOption[];
|
|
36
|
+
placeholderText: string;
|
|
37
|
+
showPlaceholders: boolean;
|
|
38
|
+
lockedOptions: LockedOption[];
|
|
39
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
40
|
+
containerRef: HTMLDivElement;
|
|
41
|
+
sortableListRef: HTMLUListElement;
|
|
42
|
+
}, HTMLDivElement>;
|
|
43
|
+
export default _default;
|
|
@@ -34,6 +34,8 @@ export { default as PvTabs } from './PvTabs/PvTabs.vue';
|
|
|
34
34
|
export { default as PvBreadcrumbs } from './PvBreadcrumbs/PvBreadcrumbs.vue';
|
|
35
35
|
export { default as PvMultiSelectButton } from './PvMultiSelectButton/PvMultiSelectButton.vue';
|
|
36
36
|
export { default as PvSelectButton } from './PvSelectButton/PvSelectButton.vue';
|
|
37
|
+
export { default as PvSelectButtonTrigger } from './PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.vue';
|
|
38
|
+
export { default as PvSortableList } from './PvSortableList/PvSortableList.vue';
|
|
37
39
|
export { default as PvPagination } from './PvPagination/PvPagination.vue';
|
|
38
40
|
export { default as PvSelectableCard } from './PvSelectableCard/PvSelectableCard.vue';
|
|
39
41
|
export { default as PvSidePanel } from '../layout/PvSidePanel/PvSidePanel.vue';
|
|
@@ -84,7 +86,12 @@ export { usePvComponents } from './PvComponentsConfig/usePvComponents';
|
|
|
84
86
|
export type { Tab } from './PvTabs/types';
|
|
85
87
|
export type { PvBreadcrumbsOptions } from './PvBreadcrumbs/types';
|
|
86
88
|
export type { PvAvatarGroupItem } from './PvAvatarGroup/types';
|
|
87
|
-
export type { MenuOption, MenuOptionSelectedEvent } from '../../types';
|
|
89
|
+
export type { MenuOption, MenuOptionSelectedEvent, Option } from '../../types';
|
|
90
|
+
export type { LockedOption } from './PvSortableList/types';
|
|
91
|
+
export { SelectedItemsKey } from './PvMenu/symbols';
|
|
92
|
+
export { useMenuPosition } from './PvMenu/useMenuPosition';
|
|
93
|
+
export type { PopoverRefElement } from './PvMenu/useMenuPosition';
|
|
94
|
+
export { useSlotPresence } from '../../composables/useSlotPresence';
|
|
88
95
|
export type { PvMultiSelectButtonSlotProps } from './PvMultiSelectButton/types';
|
|
89
96
|
export type { PvTreeOption, PvTreeSetting, PvTreeSettings } from './PvTree/types';
|
|
90
97
|
export type { RadioGroupOption } from './PvRadioGroup/types';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { MenuOption } from '../../../types';
|
|
2
|
+
import { LockedOption } from './types';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
+
export type PvSortableMenuListProps = {
|
|
5
|
+
/** The full set of available options to choose from and reorder. */
|
|
6
|
+
options: MenuOption[];
|
|
7
|
+
/** Maximum number of options that can be active (above the divider) at once. */
|
|
8
|
+
activeOptionLimit?: number;
|
|
9
|
+
/**
|
|
10
|
+
* Text displayed inside empty placeholder drop zones.
|
|
11
|
+
*/
|
|
12
|
+
placeholderText?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Whether to render placeholder drop zones for unfilled active slots.
|
|
15
|
+
*/
|
|
16
|
+
showPlaceholders?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Options that cannot be removed or reordered: they render with a lock icon and grayed
|
|
19
|
+
* text, stay pinned at the top of the active list, and every mutation (click, drag,
|
|
20
|
+
* placeholder drop) re-asserts them. Ids must refer to options that are already active.
|
|
21
|
+
* An entry's optional `tooltip` explains WHY it is locked, rendered as an info icon
|
|
22
|
+
* (e.g. "Select a single drug to unlock").
|
|
23
|
+
*/
|
|
24
|
+
lockedOptions?: LockedOption[];
|
|
25
|
+
};
|
|
26
|
+
type __VLS_Props = PvSortableMenuListProps;
|
|
27
|
+
type __VLS_PublicProps = {
|
|
28
|
+
modelValue?: MenuOption[];
|
|
29
|
+
} & __VLS_Props;
|
|
30
|
+
declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
31
|
+
"update:modelValue": (value: MenuOption<unknown>[]) => any;
|
|
32
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
33
|
+
"onUpdate:modelValue"?: ((value: MenuOption<unknown>[]) => any) | undefined;
|
|
34
|
+
}>, {
|
|
35
|
+
options: MenuOption[];
|
|
36
|
+
placeholderText: string;
|
|
37
|
+
showPlaceholders: boolean;
|
|
38
|
+
lockedOptions: LockedOption[];
|
|
39
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
40
|
+
containerRef: HTMLDivElement;
|
|
41
|
+
sortableListRef: HTMLUListElement;
|
|
42
|
+
}, HTMLDivElement>;
|
|
43
|
+
export default _default;
|
|
@@ -34,6 +34,8 @@ export { default as PvTabs } from './PvTabs/PvTabs.vue';
|
|
|
34
34
|
export { default as PvBreadcrumbs } from './PvBreadcrumbs/PvBreadcrumbs.vue';
|
|
35
35
|
export { default as PvMultiSelectButton } from './PvMultiSelectButton/PvMultiSelectButton.vue';
|
|
36
36
|
export { default as PvSelectButton } from './PvSelectButton/PvSelectButton.vue';
|
|
37
|
+
export { default as PvSelectButtonTrigger } from './PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.vue';
|
|
38
|
+
export { default as PvSortableList } from './PvSortableList/PvSortableList.vue';
|
|
37
39
|
export { default as PvPagination } from './PvPagination/PvPagination.vue';
|
|
38
40
|
export { default as PvSelectableCard } from './PvSelectableCard/PvSelectableCard.vue';
|
|
39
41
|
export { default as PvSidePanel } from '../layout/PvSidePanel/PvSidePanel.vue';
|
|
@@ -84,7 +86,12 @@ export { usePvComponents } from './PvComponentsConfig/usePvComponents';
|
|
|
84
86
|
export type { Tab } from './PvTabs/types';
|
|
85
87
|
export type { PvBreadcrumbsOptions } from './PvBreadcrumbs/types';
|
|
86
88
|
export type { PvAvatarGroupItem } from './PvAvatarGroup/types';
|
|
87
|
-
export type { MenuOption, MenuOptionSelectedEvent } from '../../types';
|
|
89
|
+
export type { MenuOption, MenuOptionSelectedEvent, Option } from '../../types';
|
|
90
|
+
export type { LockedOption } from './PvSortableList/types';
|
|
91
|
+
export { SelectedItemsKey } from './PvMenu/symbols';
|
|
92
|
+
export { useMenuPosition } from './PvMenu/useMenuPosition';
|
|
93
|
+
export type { PopoverRefElement } from './PvMenu/useMenuPosition';
|
|
94
|
+
export { useSlotPresence } from '../../composables/useSlotPresence';
|
|
88
95
|
export type { PvMultiSelectButtonSlotProps } from './PvMultiSelectButton/types';
|
|
89
96
|
export type { PvTreeOption, PvTreeSetting, PvTreeSettings } from './PvTree/types';
|
|
90
97
|
export type { RadioGroupOption } from './PvRadioGroup/types';
|