@turquoisehealth/pit-viper 2.66.0 → 2.66.1-dev.1
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/base/pv-components-base.d.ts +4 -3
- package/pv-components/dist/vue/base/pv-components-base.js +3 -3
- package/pv-components/dist/vue/base/pv-components-base.mjs +5 -4
- package/pv-components/dist/vue/base/pv-components-base.umd.js +3 -3
- package/pv-components/dist/vue/charts/pv-components-charts.d.ts +54 -4
- package/pv-components/dist/vue/charts/pv-components-charts.js +60 -54
- package/pv-components/dist/vue/charts/pv-components-charts.mjs +72464 -59993
- package/pv-components/dist/vue/charts/pv-components-charts.umd.js +60 -54
- package/pv-components/dist/vue/tables/pv-components-tables.d.ts +50 -0
- package/pv-components/dist/vue/tables/pv-components-tables.js +49 -48
- package/pv-components/dist/vue/tables/pv-components-tables.mjs +8903 -7044
- package/pv-components/dist/vue/tables/pv-components-tables.umd.js +49 -48
- package/pv-components/dist/web/pv-components.iife.js +2 -2
|
@@ -8,6 +8,7 @@ import { Column } from 'ag-grid-enterprise';
|
|
|
8
8
|
import { ColumnMovedEvent } from 'ag-grid-enterprise';
|
|
9
9
|
import { ColumnResizedEvent } from 'ag-grid-enterprise';
|
|
10
10
|
import { ColumnRowGroupChangedEvent } from 'ag-grid-enterprise';
|
|
11
|
+
import { Component } from 'vue';
|
|
11
12
|
import { ComponentOptionsMixin } from 'vue';
|
|
12
13
|
import { ComponentProvideOptions } from 'vue';
|
|
13
14
|
import { CreateComponentPublicInstanceWithMixins } from 'vue';
|
|
@@ -72,20 +73,40 @@ declare interface FocusUpdateEvent {
|
|
|
72
73
|
|
|
73
74
|
declare type MapTopologyType = "state" | "city" | "county" | "cbsa" | "zip_code";
|
|
74
75
|
|
|
76
|
+
declare interface MenuOption {
|
|
77
|
+
id: string;
|
|
78
|
+
text: string;
|
|
79
|
+
subText?: string;
|
|
80
|
+
secondaryText?: string | number;
|
|
81
|
+
icon?: string;
|
|
82
|
+
companyName?: string;
|
|
83
|
+
avatar?: {
|
|
84
|
+
initials?: string;
|
|
85
|
+
image?: string;
|
|
86
|
+
icon?: boolean;
|
|
87
|
+
};
|
|
88
|
+
groupingLabel?: string;
|
|
89
|
+
disabled?: boolean;
|
|
90
|
+
renderer?: Component;
|
|
91
|
+
rendererProps?: any;
|
|
92
|
+
classList?: string[];
|
|
93
|
+
searchText?: string;
|
|
94
|
+
}
|
|
95
|
+
|
|
75
96
|
export declare const PvChart: DefineComponent<PvChartProps, {
|
|
76
97
|
getChartImageDataURL: (dimensions?: {
|
|
77
98
|
width?: number;
|
|
78
99
|
height?: number;
|
|
79
100
|
}) => Promise<string> | undefined;
|
|
80
101
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
81
|
-
"series-visibility-change": (event: AgSeriesVisibilityChange) => any;
|
|
102
|
+
"series-visibility-change": (event: AgSeriesVisibilityChange<unknown>) => any;
|
|
82
103
|
}, string, PublicProps, Readonly<PvChartProps> & Readonly<{
|
|
83
|
-
"onSeries-visibility-change"?: ((event: AgSeriesVisibilityChange) => any) | undefined;
|
|
104
|
+
"onSeries-visibility-change"?: ((event: AgSeriesVisibilityChange<unknown>) => any) | undefined;
|
|
84
105
|
}>, {
|
|
85
|
-
|
|
106
|
+
seriesFormatType: "none" | "currency" | "percent";
|
|
86
107
|
isLoading: boolean;
|
|
87
108
|
enableFocusView: boolean;
|
|
88
|
-
|
|
109
|
+
minHeight: number;
|
|
89
110
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
90
111
|
chartRef: CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
|
|
91
112
|
options: {
|
|
@@ -140,6 +161,10 @@ declare interface PvDataTableProps<T> {
|
|
|
140
161
|
* Handler to fetch filter values for server-side filtering. Only used for server-side row model.
|
|
141
162
|
*/
|
|
142
163
|
filterValuesSetHandler?: (params: FilterValuesSetHandlerParams<T>) => Promise<(FilterValueResponseOption | null)[]>;
|
|
164
|
+
/**
|
|
165
|
+
* Handler to return suggestions for applying search terms to the table.
|
|
166
|
+
*/
|
|
167
|
+
tableSearchHandler?: (params: TableSearchHandlerParams<T>) => Promise<(QueryBuilderSuggestionMenuOption | null)[]>;
|
|
143
168
|
/**
|
|
144
169
|
* Specifies an initial set of filters/groups/sort/etc. to be applied to the table.
|
|
145
170
|
*/
|
|
@@ -180,6 +205,10 @@ declare interface PvDataTableProps<T> {
|
|
|
180
205
|
* Display button to group by columns
|
|
181
206
|
*/
|
|
182
207
|
enableGroupBySelector?: boolean;
|
|
208
|
+
/**
|
|
209
|
+
* Display input to search within the table
|
|
210
|
+
*/
|
|
211
|
+
enableTableSearch?: boolean;
|
|
183
212
|
/**
|
|
184
213
|
* Display button to open the vertical filter drawer
|
|
185
214
|
*/
|
|
@@ -276,6 +305,8 @@ declare interface PvDataTableProps<T> {
|
|
|
276
305
|
* List of column fields that can be focused
|
|
277
306
|
*/
|
|
278
307
|
focusableColumns?: string[];
|
|
308
|
+
tableSearchPlaceholder?: string;
|
|
309
|
+
tableSearchStyle?: TableSearchStyle;
|
|
279
310
|
}
|
|
280
311
|
|
|
281
312
|
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<{
|
|
@@ -382,10 +413,29 @@ declare interface PvMapChartProps {
|
|
|
382
413
|
tooltipRenderer?: (params: AgMapLineSeriesTooltipRendererParams<PvMapChartData>) => string | HTMLElement;
|
|
383
414
|
}
|
|
384
415
|
|
|
416
|
+
declare interface QueryBuilderSuggestionMenuOption extends MenuOption {
|
|
417
|
+
queryTerm?: QueryTerm;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
declare interface QueryTerm {
|
|
421
|
+
queryField?: string;
|
|
422
|
+
queryDisplayField?: string;
|
|
423
|
+
exactMatch?: boolean;
|
|
424
|
+
queryText?: string;
|
|
425
|
+
}
|
|
426
|
+
|
|
385
427
|
declare interface RegionSelectionChangedEvent {
|
|
386
428
|
region: string | null | undefined;
|
|
387
429
|
}
|
|
388
430
|
|
|
389
431
|
declare type supportedChartType = "column" | "bar" | "column_stacked" | "bar_stacked" | "line" | "area" | "pie";
|
|
390
432
|
|
|
433
|
+
declare interface TableSearchHandlerParams<T> {
|
|
434
|
+
api: GridApi<T>;
|
|
435
|
+
filterModel?: FilterModel | null;
|
|
436
|
+
query?: string;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
declare type TableSearchStyle = "query-builder" | "text";
|
|
440
|
+
|
|
391
441
|
export { }
|