@turquoisehealth/pit-viper 2.66.1-dev.0 → 2.66.1-dev.2
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/vue/charts/pv-components-charts.d.ts +38 -7
- package/pv-components/dist/vue/charts/pv-components-charts.js +57 -57
- package/pv-components/dist/vue/charts/pv-components-charts.mjs +23073 -23042
- package/pv-components/dist/vue/charts/pv-components-charts.umd.js +57 -57
- package/pv-components/dist/vue/tables/pv-components-tables.d.ts +9 -1
- package/pv-components/dist/vue/tables/pv-components-tables.js +37 -37
- package/pv-components/dist/vue/tables/pv-components-tables.mjs +5483 -5488
- package/pv-components/dist/vue/tables/pv-components-tables.umd.js +37 -37
package/package.json
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AdvancedFilterModel } from 'ag-grid-community/dist/types/src/interfaces/advancedFilterModel';
|
|
1
2
|
import { AgChartInstance } from 'ag-charts-enterprise';
|
|
2
3
|
import { AgChartOptions } from 'ag-charts-types';
|
|
3
4
|
import { AgChartOptions as AgChartOptions_2 } from 'ag-charts-enterprise';
|
|
@@ -8,6 +9,7 @@ import { Column } from 'ag-grid-enterprise';
|
|
|
8
9
|
import { ColumnMovedEvent } from 'ag-grid-enterprise';
|
|
9
10
|
import { ColumnResizedEvent } from 'ag-grid-enterprise';
|
|
10
11
|
import { ColumnRowGroupChangedEvent } from 'ag-grid-enterprise';
|
|
12
|
+
import { ColumnVO } from 'ag-grid-community/dist/types/src/interfaces/iColumnVO';
|
|
11
13
|
import { Component } from 'vue';
|
|
12
14
|
import { ComponentOptionsMixin } from 'vue';
|
|
13
15
|
import { ComponentProvideOptions } from 'vue';
|
|
@@ -16,6 +18,7 @@ import { DefineComponent } from 'vue';
|
|
|
16
18
|
import { ExtractPropTypes } from 'vue';
|
|
17
19
|
import { FilterChangedEvent } from 'ag-grid-enterprise';
|
|
18
20
|
import { FilterModel } from 'ag-grid-enterprise';
|
|
21
|
+
import { FilterModel as FilterModel_2 } from 'ag-grid-community/dist/types/src/interfaces/iFilter';
|
|
19
22
|
import { FirstDataRenderedEvent } from 'ag-grid-community';
|
|
20
23
|
import { GlobalComponents } from 'vue';
|
|
21
24
|
import { GlobalDirectives } from 'vue';
|
|
@@ -50,6 +53,14 @@ declare type ChartFilterOption = {
|
|
|
50
53
|
filterValues: string[];
|
|
51
54
|
};
|
|
52
55
|
|
|
56
|
+
declare interface ChartStateChangedEvent {
|
|
57
|
+
api: GridApi | null;
|
|
58
|
+
seriesField?: string | null;
|
|
59
|
+
chartType?: string | null;
|
|
60
|
+
chartSort?: string | null;
|
|
61
|
+
chartCategoryFields?: string[] | null;
|
|
62
|
+
}
|
|
63
|
+
|
|
53
64
|
declare interface FilterValueResponseOption {
|
|
54
65
|
value: string;
|
|
55
66
|
label?: string;
|
|
@@ -209,6 +220,10 @@ declare interface PvDataTableProps<T> {
|
|
|
209
220
|
* Display input to search within the table
|
|
210
221
|
*/
|
|
211
222
|
enableTableSearch?: boolean;
|
|
223
|
+
/**
|
|
224
|
+
* Allows for slot content to be placed above the chart
|
|
225
|
+
*/
|
|
226
|
+
enableTopSlot?: boolean;
|
|
212
227
|
/**
|
|
213
228
|
* Display button to open the vertical filter drawer
|
|
214
229
|
*/
|
|
@@ -312,7 +327,6 @@ declare interface PvDataTableProps<T> {
|
|
|
312
327
|
export declare const PvDataTableWithChart: <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<{
|
|
313
328
|
props: __VLS_PrettifyLocal<any & PvDataTableWithChartProps<T> & Partial<{}>> & PublicProps;
|
|
314
329
|
expose(exposed: ShallowUnwrapRef< {
|
|
315
|
-
provideChartData: (data: AgChartOptions["data"], stackField: string) => void;
|
|
316
330
|
getChartImageDataURL: (dimensions?: {
|
|
317
331
|
width?: number;
|
|
318
332
|
height?: number;
|
|
@@ -328,10 +342,7 @@ export declare const PvDataTableWithChart: <T>(__VLS_props: NonNullable<Awaited<
|
|
|
328
342
|
attrs: any;
|
|
329
343
|
slots: {};
|
|
330
344
|
emit: {
|
|
331
|
-
(e: "chart-
|
|
332
|
-
api: GridApi | null;
|
|
333
|
-
seriesField: string | null;
|
|
334
|
-
}): void;
|
|
345
|
+
(e: "chart-state-changed", event: ChartStateChangedEvent): void;
|
|
335
346
|
(e: "column-moved", event: ColumnMovedEvent<T>): void;
|
|
336
347
|
(e: "column-resized", event: ColumnResizedEvent<T>): void;
|
|
337
348
|
(e: "column-row-group-changed", event: ColumnRowGroupChangedEvent<T>): void;
|
|
@@ -350,11 +361,10 @@ export declare const PvDataTableWithChart: <T>(__VLS_props: NonNullable<Awaited<
|
|
|
350
361
|
|
|
351
362
|
declare interface PvDataTableWithChartProps<T> extends PvDataTableProps<T> {
|
|
352
363
|
enabledChartTypes?: supportedChartType[];
|
|
353
|
-
|
|
364
|
+
serverSideChartHandler?: (params: ServerSideChartDataHandlerParams) => Promise<ServerSideChartDataHandlerResponse>;
|
|
354
365
|
showSeriesLabels?: boolean;
|
|
355
366
|
truncateLabelValues?: boolean;
|
|
356
367
|
initialChartData?: AgChartOptions_2["data"];
|
|
357
|
-
displayChartLoading?: boolean;
|
|
358
368
|
enableCombinedChartConfigPanel?: boolean;
|
|
359
369
|
chartConfigPanelOptions?: ChartConfigPanelType[];
|
|
360
370
|
chartFilter?: ChartFilter;
|
|
@@ -370,6 +380,10 @@ declare interface PvDataTableWithChartProps<T> extends PvDataTableProps<T> {
|
|
|
370
380
|
};
|
|
371
381
|
percentOfFocusViewYKey?: string;
|
|
372
382
|
focusableColumns?: string[];
|
|
383
|
+
/**
|
|
384
|
+
* Enable toggle to group or ungroup
|
|
385
|
+
*/
|
|
386
|
+
enableGroupingToggle?: boolean;
|
|
373
387
|
}
|
|
374
388
|
|
|
375
389
|
export declare const PvMapChart: DefineComponent< {
|
|
@@ -428,6 +442,23 @@ declare interface RegionSelectionChangedEvent {
|
|
|
428
442
|
region: string | null | undefined;
|
|
429
443
|
}
|
|
430
444
|
|
|
445
|
+
declare interface ServerSideChartDataHandlerParams {
|
|
446
|
+
rowGroupCols: ColumnVO[];
|
|
447
|
+
/** Columns that have aggregations on them. */
|
|
448
|
+
valueCols: ColumnVO[];
|
|
449
|
+
/**
|
|
450
|
+
* If filtering, what the filter model is.
|
|
451
|
+
* If Advanced Filter is enabled, will be of type `AdvancedFilterModel | null`.
|
|
452
|
+
* If Advanced Filter is disabled, will be of type `FilterModel`.
|
|
453
|
+
*/
|
|
454
|
+
filterModel: FilterModel_2 | AdvancedFilterModel | null;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
declare interface ServerSideChartDataHandlerResponse {
|
|
458
|
+
data: AgChartOptions_2["data"];
|
|
459
|
+
stackField: string;
|
|
460
|
+
}
|
|
461
|
+
|
|
431
462
|
declare type supportedChartType = "column" | "bar" | "column_stacked" | "bar_stacked" | "line" | "area" | "pie";
|
|
432
463
|
|
|
433
464
|
declare interface TableSearchHandlerParams<T> {
|