@turquoisehealth/pit-viper 2.212.0 → 2.212.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/visualizations/stats.html +1 -1
- package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/helpers.d.ts +5 -1
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/table-chart-components/PvBenchmarkChips.vue.d.ts +7 -0
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +28 -0
- package/pv-components/dist/vue/visualizations/components/charts/widgetOptions.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +1607 -1508
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +1 -1
package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/helpers.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AgAxisLabelFormatterParams, AgChartOptions, Formatter } from 'ag-charts-enterprise';
|
|
2
2
|
import { ColDef } from 'ag-grid-community';
|
|
3
|
-
import { OptionWithFormatterAndDataType } from './types';
|
|
3
|
+
import { ChipSection, CrosslineOverlayGroup, OptionWithFormatterAndDataType, VerticalLineOverlay } from './types';
|
|
4
4
|
export declare const isAvailableSecondarySeriesColDef: (colDef: ColDef) => boolean;
|
|
5
5
|
export declare const getSecondarySeriesKey: (field: string, aggFunc: string | null | undefined, rowGroupFields: Set<string>) => string;
|
|
6
6
|
/**
|
|
@@ -77,3 +77,7 @@ export declare const buildCategoryAxisLabelFormatter: ({ hideLabel, showDistribu
|
|
|
77
77
|
focuses: string[];
|
|
78
78
|
focusText: string;
|
|
79
79
|
}) => ((params: AgAxisLabelFormatterParams) => string);
|
|
80
|
+
export declare const DEFAULT_CROSSLINE_OVERLAY_COLOR = "#E7E2D9";
|
|
81
|
+
export declare const LEGACY_CROSSLINE_OVERLAY_COLOR = "#7C8AF4";
|
|
82
|
+
export declare const resolveCrosslineOverlays: (groups: CrosslineOverlayGroup[], activeGroupIds: Set<string>) => VerticalLineOverlay[];
|
|
83
|
+
export declare const computeChipSections: (groups: CrosslineOverlayGroup[], activeGroupIds: Set<string>, formatValue: (value: number) => string | number) => ChipSection[];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ChipSection } from '../types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
sections: ChipSection[];
|
|
5
|
+
};
|
|
6
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
7
|
+
export default _default;
|
package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts
CHANGED
|
@@ -51,6 +51,34 @@ export interface CrosslineOverlayGroup {
|
|
|
51
51
|
/** If true, this group is grayed out from the selection dropdown. */
|
|
52
52
|
disabled?: boolean;
|
|
53
53
|
disabledReason?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Name of the chip section this group's overlays are rendered under, beside the chart
|
|
56
|
+
* (e.g. "Benchmarks", "Percentiles"). Groups sharing the same `groupName` are chipped
|
|
57
|
+
* together under one section heading, in order of that name's first appearance across
|
|
58
|
+
* `crosslineOverlayGroups`. Groups without a `groupName` aren't rendered as chips.
|
|
59
|
+
*/
|
|
60
|
+
groupName?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Color (hex code) used for this group's chip and, when an overlay doesn't specify its
|
|
63
|
+
* own `color`, for that overlay's crossline.
|
|
64
|
+
*/
|
|
65
|
+
color?: string;
|
|
66
|
+
/**
|
|
67
|
+
* If true, this group's `overlays` haven't loaded yet: its chip renders as a skeleton
|
|
68
|
+
* placeholder (one per group, regardless of `overlays`) instead of chip content.
|
|
69
|
+
*/
|
|
70
|
+
loading?: boolean;
|
|
71
|
+
}
|
|
72
|
+
export interface BenchmarkChip {
|
|
73
|
+
key: string;
|
|
74
|
+
loading: boolean;
|
|
75
|
+
label?: string;
|
|
76
|
+
color?: string;
|
|
77
|
+
formattedValue?: string | number;
|
|
78
|
+
}
|
|
79
|
+
export interface ChipSection {
|
|
80
|
+
groupName: string;
|
|
81
|
+
chips: BenchmarkChip[];
|
|
54
82
|
}
|
|
55
83
|
export interface TableOverlayOption {
|
|
56
84
|
title: string;
|
|
@@ -44,6 +44,7 @@ export declare const getChartScrollContentStyle: (params: {
|
|
|
44
44
|
enableChartScrolling: boolean;
|
|
45
45
|
isHorizontalScrollingChart: boolean;
|
|
46
46
|
minContentWidth: number;
|
|
47
|
+
reserveWidth?: number;
|
|
47
48
|
}) => Record<string, string> | undefined;
|
|
48
49
|
/** Coerce to a plain object record, or `undefined` when the value is not one. */
|
|
49
50
|
export declare const asObjectRecord: (value: unknown) => ChartRecord | undefined;
|