@turquoisehealth/pit-viper 2.216.1-dev.0 → 2.217.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/_site/assets/css/pit-viper-a11y.css +45 -9
- package/_site/assets/css/pit-viper-consumer.css +40 -4
- package/_site/assets/css/pit-viper-v2-scoped.css +45 -14
- package/_site/assets/css/pit-viper-v2.css +50 -14
- package/_site/assets/css/pit-viper.css +37 -1
- package/_src/assets/sprite-v2.svg +1 -1
- package/_src/assets/sprite.svg +1 -1
- package/package.json +1 -1
- package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/PvDataTableWithChart.vue.d.ts +1 -2
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +3 -1
- package/pv-components/dist/vue/visualizations/components/visualizations/index.d.ts +1 -1
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +10 -12
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AdvancedFilterModel, ColumnMovedEvent, ColumnResizedEvent, ColumnRowGroupChangedEvent, FilterChangedEvent, FilterModel } from 'ag-grid-enterprise';
|
|
2
2
|
import { ColumnValueChangedEvent, FirstDataRenderedEvent, GridReadyEvent, RefreshServerSideParams, SortChangedEvent } from 'ag-grid-community';
|
|
3
3
|
import { ChartStateChangedEvent, FilterValueResponseOption, FocusUpdateEvent } from '../../tables/PvDataTable/types';
|
|
4
|
-
import { PvDataTableWithChartProps
|
|
4
|
+
import { PvDataTableWithChartProps } from './types';
|
|
5
5
|
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
6
6
|
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<{
|
|
7
7
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
@@ -35,7 +35,6 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
|
|
|
35
35
|
};
|
|
36
36
|
getPvFilterModel: () => AdvancedFilterModel | FilterModel | null | undefined;
|
|
37
37
|
setPvFilterModel: (model: FilterModel | AdvancedFilterModel | null) => boolean | undefined;
|
|
38
|
-
getChipSections: () => ChipSection[];
|
|
39
38
|
}>): void;
|
|
40
39
|
attrs: any;
|
|
41
40
|
slots: {
|
package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts
CHANGED
|
@@ -74,9 +74,11 @@ export interface CrosslineOverlayGroup {
|
|
|
74
74
|
*/
|
|
75
75
|
loading?: boolean;
|
|
76
76
|
}
|
|
77
|
-
export interface BenchmarkChip
|
|
77
|
+
export interface BenchmarkChip {
|
|
78
78
|
key: string;
|
|
79
79
|
loading: boolean;
|
|
80
|
+
label?: string;
|
|
81
|
+
color?: string;
|
|
80
82
|
formattedValue?: string | number;
|
|
81
83
|
}
|
|
82
84
|
export interface ChipSection {
|
|
@@ -12,7 +12,7 @@ export type { PvChartWidgetMiniChartMode, PvChartWidgetProps, PvChartWidgetSlotP
|
|
|
12
12
|
export type { PvDataWidgetChartType, PvDataWidgetChartTypeOption, PvDataWidgetColumnDefinition, PvDataWidgetDataRow, PvDataWidgetProps, PvDataWidgetViewType, } from '../charts/PvDataWidget/types';
|
|
13
13
|
export { DEFAULT_DATA_WIDGET_ERROR_TEXT, usePvDataWidgetData } from '../charts/PvDataWidget/usePvDataWidgetData';
|
|
14
14
|
export type { PvDataWidgetDataHandler, UsePvDataWidgetDataOptions, UsePvDataWidgetDataReturn, } from '../charts/PvDataWidget/usePvDataWidgetData';
|
|
15
|
-
export type {
|
|
15
|
+
export type { CrosslineOverlayGroup, VerticalLineOverlay } from '../charts/PvDataTableWithChart/types';
|
|
16
16
|
export { constructAdvancedFilterCondition, convertFilterModelToAdvanced, filterModelContainsColId, mergeFilterModels, getSelectedValuesFromFilterModel, filterModelsEqual, mergeAdvancedFilterCondition, removeColumnFromAdvancedFilter, getSelectedValuesFromAdvancedFilterModel, isAdvancedFilterModel, isFilterModelEmpty, getSelectedValues, getSelectedValuesFromFilterModelByColId, updateSetFilter, updateMultiOrSetFilter, removeColumnFilter, excludeValueFromSetFilter, } from '../tables/PvDataTable/filters/filterHelpers';
|
|
17
17
|
export type { AnyFilterModel } from '../tables/PvDataTable/filters/filterHelpers';
|
|
18
18
|
export { RumContextKey, useRumContext, addRumAction, deferRumTask } from '../../functions/rum';
|
|
@@ -13448,22 +13448,21 @@ function wp(e, t, n, r, i) {
|
|
|
13448
13448
|
};
|
|
13449
13449
|
}
|
|
13450
13450
|
var Tp = (e, t) => {
|
|
13451
|
-
if (t.length === 0) return null;
|
|
13452
|
-
let n =
|
|
13453
|
-
|
|
13454
|
-
|
|
13455
|
-
|
|
13456
|
-
|
|
13457
|
-
return r + n;
|
|
13451
|
+
if (t.length === 0 || e < t[0].bucketMin) return null;
|
|
13452
|
+
for (let n = 0; n < t.length; n++) {
|
|
13453
|
+
let r = t[n];
|
|
13454
|
+
if (e <= r.bucketMax) {
|
|
13455
|
+
let t = r.bucketMax - r.bucketMin, i = t > 0 ? (e - r.bucketMin) / t : 0;
|
|
13456
|
+
return n + i;
|
|
13458
13457
|
}
|
|
13459
13458
|
}
|
|
13460
13459
|
return null;
|
|
13461
13460
|
}, Ep = (e, t) => {
|
|
13462
|
-
let n = +!!t
|
|
13461
|
+
let n = +!!t;
|
|
13463
13462
|
return {
|
|
13464
13463
|
categoryPadOffset: n,
|
|
13465
|
-
axisMin:
|
|
13466
|
-
axisMax:
|
|
13464
|
+
axisMin: -1,
|
|
13465
|
+
axisMax: e + n * 2 + 1
|
|
13467
13466
|
};
|
|
13468
13467
|
}, Dp = (e, t) => {
|
|
13469
13468
|
let { categoryPadOffset: n, axisMin: r, axisMax: i } = t;
|
|
@@ -14497,8 +14496,7 @@ var jp = { style: {
|
|
|
14497
14496
|
refreshData: (e) => (p.value && Ze(p.value), m.value?.refreshData(e)),
|
|
14498
14497
|
getFilterValueSelectedMetadataMap: Vt,
|
|
14499
14498
|
getPvFilterModel: () => m.value?.getPvFilterModel(),
|
|
14500
|
-
setPvFilterModel: (e) => m.value?.setPvFilterModel(e)
|
|
14501
|
-
getChipSections: () => it.value
|
|
14499
|
+
setPvFilterModel: (e) => m.value?.setPvFilterModel(e)
|
|
14502
14500
|
}), S(() => {
|
|
14503
14501
|
if (l.initialGridState) {
|
|
14504
14502
|
let e = l.initialGridState.rowGroup?.groupColIds || [];
|