@turquoisehealth/pit-viper 2.71.1-dev.3 → 2.72.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-v2-scoped.css +24 -0
- package/_site/assets/css/pit-viper-v2.css +27 -0
- package/_site/assets/css/pit-viper.css +27 -0
- package/package.json +1 -1
- package/pv-components/dist/vue/base/pv-components-base.d.ts +1 -1
- package/pv-components/dist/vue/base/pv-components-base.js +3 -3
- package/pv-components/dist/vue/base/pv-components-base.mjs +40 -10
- package/pv-components/dist/vue/base/pv-components-base.umd.js +3 -3
- package/pv-components/dist/vue/charts/pv-components-charts.d.ts +7 -94
- package/pv-components/dist/vue/charts/pv-components-charts.js +56 -57
- package/pv-components/dist/vue/charts/pv-components-charts.mjs +24683 -26636
- package/pv-components/dist/vue/charts/pv-components-charts.umd.js +57 -58
- package/pv-components/dist/vue/tables/pv-components-tables.d.ts +1 -59
- package/pv-components/dist/vue/tables/pv-components-tables.js +48 -49
- package/pv-components/dist/vue/tables/pv-components-tables.mjs +6813 -8659
- package/pv-components/dist/vue/tables/pv-components-tables.umd.js +48 -49
- package/pv-components/dist/web/pv-components.iife.js +2 -2
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { AdvancedFilterModel } from 'ag-grid-community/dist/types/src/interfaces/advancedFilterModel';
|
|
2
1
|
import { AgChartInstance } from 'ag-charts-enterprise';
|
|
3
2
|
import { AgChartOptions } from 'ag-charts-types';
|
|
4
3
|
import { AgChartOptions as AgChartOptions_2 } from 'ag-charts-enterprise';
|
|
@@ -9,8 +8,6 @@ import { Column } from 'ag-grid-enterprise';
|
|
|
9
8
|
import { ColumnMovedEvent } from 'ag-grid-enterprise';
|
|
10
9
|
import { ColumnResizedEvent } from 'ag-grid-enterprise';
|
|
11
10
|
import { ColumnRowGroupChangedEvent } from 'ag-grid-enterprise';
|
|
12
|
-
import { ColumnVO } from 'ag-grid-community/dist/types/src/interfaces/iColumnVO';
|
|
13
|
-
import { Component } from 'vue';
|
|
14
11
|
import { ComponentOptionsMixin } from 'vue';
|
|
15
12
|
import { ComponentProvideOptions } from 'vue';
|
|
16
13
|
import { CreateComponentPublicInstanceWithMixins } from 'vue';
|
|
@@ -18,7 +15,6 @@ import { DefineComponent } from 'vue';
|
|
|
18
15
|
import { ExtractPropTypes } from 'vue';
|
|
19
16
|
import { FilterChangedEvent } from 'ag-grid-enterprise';
|
|
20
17
|
import { FilterModel } from 'ag-grid-enterprise';
|
|
21
|
-
import { FilterModel as FilterModel_2 } from 'ag-grid-community/dist/types/src/interfaces/iFilter';
|
|
22
18
|
import { FirstDataRenderedEvent } from 'ag-grid-community';
|
|
23
19
|
import { GlobalComponents } from 'vue';
|
|
24
20
|
import { GlobalDirectives } from 'vue';
|
|
@@ -53,19 +49,6 @@ declare type ChartFilterOption = {
|
|
|
53
49
|
filterValues: string[];
|
|
54
50
|
};
|
|
55
51
|
|
|
56
|
-
declare interface ChartState {
|
|
57
|
-
seriesField?: string | null;
|
|
58
|
-
chartType?: string | null;
|
|
59
|
-
chartSort?: string | null;
|
|
60
|
-
chartCategoryFields?: string[] | null;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
declare interface ChartStateChangedEvent {
|
|
64
|
-
api: GridApi | null;
|
|
65
|
-
newState: ChartState | null;
|
|
66
|
-
oldState: ChartState | null;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
52
|
declare interface FilterValueResponseOption {
|
|
70
53
|
value: string;
|
|
71
54
|
label?: string;
|
|
@@ -89,26 +72,6 @@ declare interface FocusUpdateEvent {
|
|
|
89
72
|
|
|
90
73
|
declare type MapTopologyType = "state" | "city" | "county" | "cbsa" | "zip_code";
|
|
91
74
|
|
|
92
|
-
declare interface MenuOption {
|
|
93
|
-
id: string;
|
|
94
|
-
text: string;
|
|
95
|
-
subText?: string;
|
|
96
|
-
secondaryText?: string | number;
|
|
97
|
-
icon?: string;
|
|
98
|
-
companyName?: string;
|
|
99
|
-
avatar?: {
|
|
100
|
-
initials?: string;
|
|
101
|
-
image?: string;
|
|
102
|
-
icon?: boolean;
|
|
103
|
-
};
|
|
104
|
-
groupingLabel?: string;
|
|
105
|
-
disabled?: boolean;
|
|
106
|
-
renderer?: Component;
|
|
107
|
-
rendererProps?: any;
|
|
108
|
-
classList?: string[];
|
|
109
|
-
searchText?: string;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
75
|
export declare const PvChart: DefineComponent<PvChartProps, {
|
|
113
76
|
getChartImageDataURL: (dimensions?: {
|
|
114
77
|
width?: number;
|
|
@@ -177,10 +140,6 @@ declare interface PvDataTableProps<T> {
|
|
|
177
140
|
* Handler to fetch filter values for server-side filtering. Only used for server-side row model.
|
|
178
141
|
*/
|
|
179
142
|
filterValuesSetHandler?: (params: FilterValuesSetHandlerParams<T>) => Promise<(FilterValueResponseOption | null)[]>;
|
|
180
|
-
/**
|
|
181
|
-
* Handler to return suggestions for applying search terms to the table.
|
|
182
|
-
*/
|
|
183
|
-
tableSearchHandler?: (params: TableSearchHandlerParams<T>) => Promise<(QueryBuilderSuggestionMenuOption | null)[]>;
|
|
184
143
|
/**
|
|
185
144
|
* Specifies an initial set of filters/groups/sort/etc. to be applied to the table.
|
|
186
145
|
*/
|
|
@@ -221,14 +180,6 @@ declare interface PvDataTableProps<T> {
|
|
|
221
180
|
* Display button to group by columns
|
|
222
181
|
*/
|
|
223
182
|
enableGroupBySelector?: boolean;
|
|
224
|
-
/**
|
|
225
|
-
* Display input to search within the table
|
|
226
|
-
*/
|
|
227
|
-
enableTableSearch?: boolean;
|
|
228
|
-
/**
|
|
229
|
-
* Allows for slot content to be placed above the chart
|
|
230
|
-
*/
|
|
231
|
-
enableTopSlot?: boolean;
|
|
232
183
|
/**
|
|
233
184
|
* Display button to open the vertical filter drawer
|
|
234
185
|
*/
|
|
@@ -325,13 +276,12 @@ declare interface PvDataTableProps<T> {
|
|
|
325
276
|
* List of column fields that can be focused
|
|
326
277
|
*/
|
|
327
278
|
focusableColumns?: string[];
|
|
328
|
-
tableSearchPlaceholder?: string;
|
|
329
|
-
tableSearchStyle?: TableSearchStyle;
|
|
330
279
|
}
|
|
331
280
|
|
|
332
281
|
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<{
|
|
333
282
|
props: __VLS_PrettifyLocal<any & PvDataTableWithChartProps<T> & Partial<{}>> & PublicProps;
|
|
334
283
|
expose(exposed: ShallowUnwrapRef< {
|
|
284
|
+
provideChartData: (data: AgChartOptions["data"], stackField: string) => void;
|
|
335
285
|
getChartImageDataURL: (dimensions?: {
|
|
336
286
|
width?: number;
|
|
337
287
|
height?: number;
|
|
@@ -347,7 +297,10 @@ export declare const PvDataTableWithChart: <T>(__VLS_props: NonNullable<Awaited<
|
|
|
347
297
|
attrs: any;
|
|
348
298
|
slots: {};
|
|
349
299
|
emit: {
|
|
350
|
-
(e: "chart-
|
|
300
|
+
(e: "chart-series-changed", event: {
|
|
301
|
+
api: GridApi | null;
|
|
302
|
+
seriesField: string | null;
|
|
303
|
+
}): void;
|
|
351
304
|
(e: "column-moved", event: ColumnMovedEvent<T>): void;
|
|
352
305
|
(e: "column-resized", event: ColumnResizedEvent<T>): void;
|
|
353
306
|
(e: "column-row-group-changed", event: ColumnRowGroupChangedEvent<T>): void;
|
|
@@ -366,16 +319,16 @@ export declare const PvDataTableWithChart: <T>(__VLS_props: NonNullable<Awaited<
|
|
|
366
319
|
|
|
367
320
|
declare interface PvDataTableWithChartProps<T> extends PvDataTableProps<T> {
|
|
368
321
|
enabledChartTypes?: supportedChartType[];
|
|
369
|
-
|
|
322
|
+
overrideChartData?: boolean;
|
|
370
323
|
showSeriesLabels?: boolean;
|
|
371
324
|
truncateLabelValues?: boolean;
|
|
372
325
|
initialChartData?: AgChartOptions_2["data"];
|
|
326
|
+
displayChartLoading?: boolean;
|
|
373
327
|
enableCombinedChartConfigPanel?: boolean;
|
|
374
328
|
chartConfigPanelOptions?: ChartConfigPanelType[];
|
|
375
329
|
chartFilter?: ChartFilter;
|
|
376
330
|
chartType?: supportedChartType;
|
|
377
331
|
yKey?: string;
|
|
378
|
-
initialSort?: string;
|
|
379
332
|
hideChart?: boolean;
|
|
380
333
|
hideTable?: boolean;
|
|
381
334
|
filterPanelAboveChart?: boolean;
|
|
@@ -386,10 +339,6 @@ declare interface PvDataTableWithChartProps<T> extends PvDataTableProps<T> {
|
|
|
386
339
|
};
|
|
387
340
|
percentOfFocusViewYKey?: string;
|
|
388
341
|
focusableColumns?: string[];
|
|
389
|
-
/**
|
|
390
|
-
* Enable toggle to group or ungroup
|
|
391
|
-
*/
|
|
392
|
-
enableGroupingToggle?: boolean;
|
|
393
342
|
}
|
|
394
343
|
|
|
395
344
|
export declare const PvMapChart: DefineComponent< {
|
|
@@ -433,46 +382,10 @@ declare interface PvMapChartProps {
|
|
|
433
382
|
tooltipRenderer?: (params: AgMapLineSeriesTooltipRendererParams<PvMapChartData>) => string | HTMLElement;
|
|
434
383
|
}
|
|
435
384
|
|
|
436
|
-
declare interface QueryBuilderSuggestionMenuOption extends MenuOption {
|
|
437
|
-
queryTerm?: QueryTerm;
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
declare interface QueryTerm {
|
|
441
|
-
queryField?: string;
|
|
442
|
-
queryDisplayField?: string;
|
|
443
|
-
exactMatch?: boolean;
|
|
444
|
-
queryText?: string;
|
|
445
|
-
}
|
|
446
|
-
|
|
447
385
|
declare interface RegionSelectionChangedEvent {
|
|
448
386
|
region: string | null | undefined;
|
|
449
387
|
}
|
|
450
388
|
|
|
451
|
-
declare interface ServerSideChartDataHandlerParams {
|
|
452
|
-
rowGroupCols: ColumnVO[];
|
|
453
|
-
/** Columns that have aggregations on them. */
|
|
454
|
-
valueCols: ColumnVO[];
|
|
455
|
-
/**
|
|
456
|
-
* If filtering, what the filter model is.
|
|
457
|
-
* If Advanced Filter is enabled, will be of type `AdvancedFilterModel | null`.
|
|
458
|
-
* If Advanced Filter is disabled, will be of type `FilterModel`.
|
|
459
|
-
*/
|
|
460
|
-
filterModel: FilterModel_2 | AdvancedFilterModel | null;
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
declare interface ServerSideChartDataHandlerResponse {
|
|
464
|
-
data: AgChartOptions_2["data"];
|
|
465
|
-
stackField: string;
|
|
466
|
-
}
|
|
467
|
-
|
|
468
389
|
declare type supportedChartType = "column" | "bar" | "column_stacked" | "bar_stacked" | "line" | "area" | "pie";
|
|
469
390
|
|
|
470
|
-
declare interface TableSearchHandlerParams<T> {
|
|
471
|
-
api: GridApi<T>;
|
|
472
|
-
filterModel?: FilterModel | null;
|
|
473
|
-
query?: string;
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
declare type TableSearchStyle = "query-builder" | "text";
|
|
477
|
-
|
|
478
391
|
export { }
|