@turquoisehealth/pit-viper 2.203.0 → 2.203.1-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/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-menu-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
- package/pv-components/dist/vue/base/components/base/PvMenu/symbols.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/PvMenu/types.d.ts +4 -0
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -0
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/types.d.ts +4 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +868 -859
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvMenu/symbols.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMenu/types.d.ts +4 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/types.d.ts +4 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +770 -760
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +1003 -1002
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +498 -489
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +898 -898
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +1033 -1032
- package/pv-components/dist/web/pv-components.iife.js +13 -13
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -7,3 +7,5 @@ export declare const CascadeSelectedParentIdsKey: InjectionKey<Ref<Set<string>>>
|
|
|
7
7
|
export declare const CascadeDeselectedChildIdsKey: InjectionKey<Ref<Map<string, Set<string>>>>;
|
|
8
8
|
export declare const ParentSelectsAllChildrenKey: InjectionKey<ComputedRef<boolean>>;
|
|
9
9
|
export declare const EnableChildExpansionKey: InjectionKey<ComputedRef<boolean>>;
|
|
10
|
+
export declare const ReadOnlyKey: InjectionKey<ComputedRef<boolean>>;
|
|
11
|
+
export declare const HideUnselectedInReadOnlyKey: InjectionKey<ComputedRef<boolean>>;
|
|
@@ -21,4 +21,8 @@ export interface PvMenuProps {
|
|
|
21
21
|
hasMoreOptions?: boolean;
|
|
22
22
|
/** When true, item clicks are ignored — the list is display-only. */
|
|
23
23
|
readOnly?: boolean;
|
|
24
|
+
/** When true (and readOnly), unselected options are hidden entirely so only the
|
|
25
|
+
* selected/active options are shown. When false (default, and readOnly), unselected
|
|
26
|
+
* options are shown but rendered disabled (greyed but readable). */
|
|
27
|
+
hideUnselectedInReadOnly?: boolean;
|
|
24
28
|
}
|
package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts
CHANGED
|
@@ -55,6 +55,7 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
|
|
|
55
55
|
disableClearIcon: boolean;
|
|
56
56
|
disableSearchInput: boolean;
|
|
57
57
|
readOnly: boolean;
|
|
58
|
+
hideUnselectedInReadOnly: boolean;
|
|
58
59
|
optionsVariant: "icon" | "toggle" | "checkbox" | "simple" | "company" | "avatar" | "checkmark";
|
|
59
60
|
options: MenuOption<T>[];
|
|
60
61
|
menuActionsVariant: MenuActionsVariant | null;
|
|
@@ -98,6 +99,7 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
|
|
|
98
99
|
disableClearIcon: boolean;
|
|
99
100
|
disableSearchInput: boolean;
|
|
100
101
|
readOnly: boolean;
|
|
102
|
+
hideUnselectedInReadOnly: boolean;
|
|
101
103
|
optionsVariant: "icon" | "toggle" | "checkbox" | "simple" | "company" | "avatar" | "checkmark";
|
|
102
104
|
options: MenuOption<T>[];
|
|
103
105
|
menuActionsVariant: MenuActionsVariant | null;
|
|
@@ -141,6 +143,7 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
|
|
|
141
143
|
disableClearIcon: boolean;
|
|
142
144
|
disableSearchInput: boolean;
|
|
143
145
|
readOnly: boolean;
|
|
146
|
+
hideUnselectedInReadOnly: boolean;
|
|
144
147
|
optionsVariant: "icon" | "toggle" | "checkbox" | "simple" | "company" | "avatar" | "checkmark";
|
|
145
148
|
options: MenuOption<T>[];
|
|
146
149
|
menuActionsVariant: MenuActionsVariant | null;
|
|
@@ -28,6 +28,10 @@ export interface PvMultiSelectButtonProps<T = unknown, SlotContext extends Recor
|
|
|
28
28
|
disabled?: boolean;
|
|
29
29
|
/** Allow the dropdown to open for viewing but prevent adding or removing selections */
|
|
30
30
|
readOnly?: boolean;
|
|
31
|
+
/** When true (and readOnly), unselected options are hidden so only the selected/active
|
|
32
|
+
* options are shown. When false (default, and readOnly), unselected options are shown
|
|
33
|
+
* but rendered disabled (greyed but readable). */
|
|
34
|
+
hideUnselectedInReadOnly?: boolean;
|
|
31
35
|
/** Enable cascade (parent/child) selection. When true, clicking a parent option
|
|
32
36
|
* toggles all its leaf descendants, and parent checkboxes show indeterminate state
|
|
33
37
|
* when partially selected. All existing behavior is unchanged when false (default). */
|