@turquoisehealth/pit-viper 2.211.1 → 2.211.3

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 (18) hide show
  1. package/package.json +1 -1
  2. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  3. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  4. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  5. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  6. package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButton.vue.d.ts +6 -0
  7. package/pv-components/dist/vue/base/pv-components-base.mjs +2 -1
  8. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  9. package/pv-components/dist/vue/visualizations/components/base/PvSelectButton/PvSelectButton.vue.d.ts +6 -0
  10. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/constants.d.ts +2 -0
  11. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/helpers.d.ts +13 -0
  12. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/table-chart-components/PvChartOptionsPanel.vue.d.ts +2 -0
  13. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +1627 -1603
  14. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  15. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +1 -1
  16. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +2 -1
  17. package/pv-components/dist/web/pv-components.iife.js +1 -1
  18. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -25,6 +25,12 @@ export interface PvSelectButtonProps<T = unknown> {
25
25
  prefixLabel?: string;
26
26
  /** Text label on the trigger button; updates to the selected option's text when an item is chosen */
27
27
  label?: string;
28
+ /**
29
+ * Keep the trigger showing `label` even after an option is selected, instead of
30
+ * swapping to the selected option's text. Use when the label is a fixed title
31
+ * (e.g. a column name) and the current selection is surfaced only inside the dropdown.
32
+ */
33
+ staticLabel?: boolean;
28
34
  /** Hide the search input inside the dropdown */
29
35
  disableSearchInput?: boolean;
30
36
  /** Placeholder text for the search input */
@@ -7,5 +7,7 @@ export declare const histogramChartTypeConfig: MenuOption;
7
7
  export declare const mapChartTypeConfig: MenuOption;
8
8
  export declare const MAP_REGION_FIELD = "state";
9
9
  export declare const separatorValue = "--SEPARATOR--";
10
+ export declare const padStartValue = "--PAD-START--";
11
+ export declare const padEndValue = "--PAD-END--";
10
12
  export declare const sortTotalSuffix = "_sort_total";
11
13
  export declare const SECONDARY_AXIS_INTERVAL_COUNT = 5;
@@ -41,5 +41,18 @@ export declare const buildStackedChartData: (data: AgChartOptions["data"], categ
41
41
  uniqueFieldValues: string[];
42
42
  data?: undefined;
43
43
  };
44
+ /**
45
+ * A lone bar in a category ("bar"-type) chart would otherwise stretch full-width.
46
+ * Flank the single row with two sentinel blank categories so it renders at a
47
+ * natural width instead.
48
+ *
49
+ * The sentinels are dedicated values that can never equal a real category. This
50
+ * matters when the single real category is itself blank (a "(Blanks)" group,
51
+ * whose key is ""): a naive "" pad would collide with the real category, and the
52
+ * pad's transparent, valueless bar would overwrite the real one - rendering it
53
+ * invisible. Both sentinels are hidden by the category-axis label formatter and
54
+ * filtered out of map/scatter data.
55
+ */
56
+ export declare const padSingleCategoryBarData: (data: AgChartOptions["data"], categoryField: string) => AgChartOptions["data"];
44
57
  export declare const calculateMaxChartSeriesValue: (data: any[] | undefined, seriesField: string, isStacked: boolean) => number;
45
58
  export declare const calculateMinChartSeriesValue: (data: any[] | undefined, seriesField: string, isStacked: boolean) => number;
@@ -9,6 +9,8 @@ export interface PvChartOptionsPanelProps {
9
9
  chartConfigOptions?: ChartConfigPanelType[];
10
10
  /** When true, the panel's controls are visible but disabled (view-only). */
11
11
  readOnly?: boolean;
12
+ /** Column field used for the "% of focus" chart view; its Y-axis option is disabled on line charts. */
13
+ percentOfFocusViewYKey?: string;
12
14
  }
13
15
  declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
14
16
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{