@turquoisehealth/pit-viper 2.211.2 → 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.
- 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-select-button-stats.html +1 -1
- package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButton.vue.d.ts +6 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +2 -1
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvSelectButton/PvSelectButton.vue.d.ts +6 -0
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/constants.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/helpers.d.ts +13 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +715 -713
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +2 -1
- package/pv-components/dist/web/pv-components.iife.js +1 -1
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
package/pv-components/dist/vue/visualizations/components/base/PvSelectButton/PvSelectButton.vue.d.ts
CHANGED
|
@@ -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 */
|
package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/constants.d.ts
CHANGED
|
@@ -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;
|
package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/helpers.d.ts
CHANGED
|
@@ -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;
|