@turquoisehealth/pit-viper 2.258.0 → 2.258.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 (32) hide show
  1. package/_site/assets/css/pit-viper-a11y-v3.css +13 -12
  2. package/_site/assets/css/pit-viper-a11y.css +13 -12
  3. package/_site/assets/css/pit-viper-consumer.css +13 -12
  4. package/_site/assets/css/pit-viper-v2-scoped.css +10 -12
  5. package/_site/assets/css/pit-viper-v2.css +13 -12
  6. package/_site/assets/css/pit-viper-v3.css +13 -12
  7. package/_site/assets/css/pit-viper.css +13 -12
  8. package/package.json +1 -1
  9. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  10. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-hover-action-menu-stats.html +1 -1
  14. package/pv-components/dist/vue/ai/components/base/PvFilterModal/PvFilterModal.vue.d.ts +1 -0
  15. package/pv-components/dist/vue/ai/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +1 -0
  16. package/pv-components/dist/vue/ai/components/base/PvFilterPanel/PvFilterPanelOptionRow.vue.d.ts +1 -0
  17. package/pv-components/dist/vue/ai/components/base/PvFilterPanel/types.d.ts +12 -4
  18. package/pv-components/dist/vue/base/components/base/PvFilterModal/PvFilterModal.vue.d.ts +1 -0
  19. package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +1 -0
  20. package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanelOptionRow.vue.d.ts +1 -0
  21. package/pv-components/dist/vue/base/components/base/PvFilterPanel/types.d.ts +12 -4
  22. package/pv-components/dist/vue/base/pv-components-base.mjs +188 -148
  23. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  24. package/pv-components/dist/vue/visualizations/components/base/PvFilterModal/PvFilterModal.vue.d.ts +1 -0
  25. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +1 -0
  26. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanelOptionRow.vue.d.ts +1 -0
  27. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/types.d.ts +12 -4
  28. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +48 -26
  29. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +394 -358
  30. package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +1 -1
  31. package/pv-components/dist/web/pv-components.iife.js +1 -1
  32. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -427,6 +427,7 @@ export interface PvFilterStore {
427
427
  export interface PvFilterPanelResolvedFilter {
428
428
  aggregateSelectionState?: MultiSelectState;
429
429
  booleanValue?: boolean | null;
430
+ canRemoveFocus?: boolean;
430
431
  category?: PvFilterPanelCategory | null;
431
432
  clientFiltering?: boolean;
432
433
  colDef: PvFilterPanelColDef;
@@ -447,11 +448,13 @@ export interface PvFilterPanelResolvedFilter {
447
448
  filterSectionHeaderRenderer?: Component;
448
449
  filterOptionsSortDescription?: string;
449
450
  filterOptionsSortTooltip?: string;
450
- hideOptionsSortDescription?: boolean;
451
- hideSearch?: boolean;
451
+ focusableFields?: string[];
452
+ focusFieldLabels?: Record<string, string>;
452
453
  focusText?: string;
453
454
  focusedValues?: string[];
454
455
  focusedValuesByField?: Record<string, string[] | undefined>;
456
+ hideOptionsSortDescription?: boolean;
457
+ hideSearch?: boolean;
455
458
  hasMore?: boolean;
456
459
  isAggregate?: boolean;
457
460
  isFocusable?: boolean;
@@ -507,8 +510,10 @@ export interface PvFilterPanelOptionRowProps {
507
510
  control?: "checkbox" | "radio";
508
511
  depth?: number;
509
512
  disabled?: boolean;
510
- indeterminate?: boolean;
513
+ focusActionDisabled?: boolean;
514
+ focusActionLabel?: string;
511
515
  focusText?: string;
516
+ indeterminate?: boolean;
512
517
  isFocused?: boolean;
513
518
  label: string;
514
519
  /** Name shared by inputs in the same radio group. */
@@ -547,6 +552,8 @@ export interface PvFilterPanelProps {
547
552
  ariaLabel?: string;
548
553
  /** Auto-hide backing fields represented by aggregate filters and child fields represented by filter groups. */
549
554
  autoHideRelatedFilterFields?: boolean;
555
+ /** Whether the currently focused value may be removed. */
556
+ canRemoveFocus?: boolean;
550
557
  cancelLabel?: string;
551
558
  categoryOrder?: PvFilterPanelCategory[];
552
559
  /** Base label used by the collapsed filters toggle; rendered as `Show/Hide ${label}`. */
@@ -616,7 +623,8 @@ export interface PvFilterPanelProps {
616
623
  * fields that consuming components default via `withDefaults` as required, so the composable can rely
617
624
  * on them being present. Both `PvFilterPanel` and `PvFilterModal` satisfy this after applying defaults.
618
625
  */
619
- export type PvFilterPanelCoreProps = Omit<PvFilterPanelProps, "colDefs" | "controlledValues" | "devMode" | "displayPreferencesIcon" | "enableFocusView" | "filterHasMoreMap" | "filterLoadingMap" | "filterLoadingMoreMap" | "filterOptions" | "filterSearchQueries" | "filterSuggestions" | "focusableFields" | "focusedValues" | "focusText" | "rangeDebounceMs" | "readOnly" | "staged"> & {
626
+ export type PvFilterPanelCoreProps = Omit<PvFilterPanelProps, "canRemoveFocus" | "colDefs" | "controlledValues" | "devMode" | "displayPreferencesIcon" | "enableFocusView" | "filterHasMoreMap" | "filterLoadingMap" | "filterLoadingMoreMap" | "filterOptions" | "filterSearchQueries" | "filterSuggestions" | "focusableFields" | "focusedValues" | "focusText" | "rangeDebounceMs" | "readOnly" | "staged"> & {
627
+ canRemoveFocus: boolean;
620
628
  colDefs: PvFilterPanelColDef[];
621
629
  controlledValues: Record<string, string[]>;
622
630
  devMode: boolean;
@@ -50,6 +50,7 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}
50
50
  ariaLabel: string;
51
51
  maxWidth: string;
52
52
  readOnly: boolean;
53
+ canRemoveFocus: boolean;
53
54
  colDefs: PvFilterPanelColDef[];
54
55
  controlledValues: Record<string, string[]>;
55
56
  devMode: boolean;
@@ -48,6 +48,7 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}
48
48
  ariaLabel: string;
49
49
  width: string;
50
50
  readOnly: boolean;
51
+ canRemoveFocus: boolean;
51
52
  colDefs: PvFilterPanelColDef[];
52
53
  controlledValues: Record<string, string[]>;
53
54
  devMode: boolean;
@@ -22,6 +22,7 @@ declare const __VLS_component: DefineComponent<PvFilterPanelOptionRowProps, {},
22
22
  focusText: string;
23
23
  control: "checkbox" | "radio";
24
24
  depth: number;
25
+ focusActionDisabled: boolean;
25
26
  isFocused: boolean;
26
27
  resultCount: PvFilterPanelResultCount | null;
27
28
  showFocusAction: boolean;
@@ -427,6 +427,7 @@ export interface PvFilterStore {
427
427
  export interface PvFilterPanelResolvedFilter {
428
428
  aggregateSelectionState?: MultiSelectState;
429
429
  booleanValue?: boolean | null;
430
+ canRemoveFocus?: boolean;
430
431
  category?: PvFilterPanelCategory | null;
431
432
  clientFiltering?: boolean;
432
433
  colDef: PvFilterPanelColDef;
@@ -447,11 +448,13 @@ export interface PvFilterPanelResolvedFilter {
447
448
  filterSectionHeaderRenderer?: Component;
448
449
  filterOptionsSortDescription?: string;
449
450
  filterOptionsSortTooltip?: string;
450
- hideOptionsSortDescription?: boolean;
451
- hideSearch?: boolean;
451
+ focusableFields?: string[];
452
+ focusFieldLabels?: Record<string, string>;
452
453
  focusText?: string;
453
454
  focusedValues?: string[];
454
455
  focusedValuesByField?: Record<string, string[] | undefined>;
456
+ hideOptionsSortDescription?: boolean;
457
+ hideSearch?: boolean;
455
458
  hasMore?: boolean;
456
459
  isAggregate?: boolean;
457
460
  isFocusable?: boolean;
@@ -507,8 +510,10 @@ export interface PvFilterPanelOptionRowProps {
507
510
  control?: "checkbox" | "radio";
508
511
  depth?: number;
509
512
  disabled?: boolean;
510
- indeterminate?: boolean;
513
+ focusActionDisabled?: boolean;
514
+ focusActionLabel?: string;
511
515
  focusText?: string;
516
+ indeterminate?: boolean;
512
517
  isFocused?: boolean;
513
518
  label: string;
514
519
  /** Name shared by inputs in the same radio group. */
@@ -547,6 +552,8 @@ export interface PvFilterPanelProps {
547
552
  ariaLabel?: string;
548
553
  /** Auto-hide backing fields represented by aggregate filters and child fields represented by filter groups. */
549
554
  autoHideRelatedFilterFields?: boolean;
555
+ /** Whether the currently focused value may be removed. */
556
+ canRemoveFocus?: boolean;
550
557
  cancelLabel?: string;
551
558
  categoryOrder?: PvFilterPanelCategory[];
552
559
  /** Base label used by the collapsed filters toggle; rendered as `Show/Hide ${label}`. */
@@ -616,7 +623,8 @@ export interface PvFilterPanelProps {
616
623
  * fields that consuming components default via `withDefaults` as required, so the composable can rely
617
624
  * on them being present. Both `PvFilterPanel` and `PvFilterModal` satisfy this after applying defaults.
618
625
  */
619
- export type PvFilterPanelCoreProps = Omit<PvFilterPanelProps, "colDefs" | "controlledValues" | "devMode" | "displayPreferencesIcon" | "enableFocusView" | "filterHasMoreMap" | "filterLoadingMap" | "filterLoadingMoreMap" | "filterOptions" | "filterSearchQueries" | "filterSuggestions" | "focusableFields" | "focusedValues" | "focusText" | "rangeDebounceMs" | "readOnly" | "staged"> & {
626
+ export type PvFilterPanelCoreProps = Omit<PvFilterPanelProps, "canRemoveFocus" | "colDefs" | "controlledValues" | "devMode" | "displayPreferencesIcon" | "enableFocusView" | "filterHasMoreMap" | "filterLoadingMap" | "filterLoadingMoreMap" | "filterOptions" | "filterSearchQueries" | "filterSuggestions" | "focusableFields" | "focusedValues" | "focusText" | "rangeDebounceMs" | "readOnly" | "staged"> & {
627
+ canRemoveFocus: boolean;
620
628
  colDefs: PvFilterPanelColDef[];
621
629
  controlledValues: Record<string, string[]>;
622
630
  devMode: boolean;