@turquoisehealth/pit-viper 2.108.0 → 2.109.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.
@@ -179,7 +179,7 @@ class PVAutoClose extends HTMLElement {
179
179
  }
180
180
  customElements.define('pv-data-grid', PVDataGrid);
181
181
 
182
- class PvGlobalNav extends HTMLElement {
182
+ class PvGlobalNav extends HTMLElement {
183
183
  constructor() {
184
184
  super();
185
185
  this.hoverTimeout = null;
@@ -191,7 +191,7 @@ class PVAutoClose extends HTMLElement {
191
191
  this.minimizeButton?.addEventListener('click', (e) => this.toggleSidebar(e.currentTarget));
192
192
  this.addEventListener('mouseenter', () => this.handleHoverIn());
193
193
  this.addEventListener('mouseleave', () => this.handleHoverOut());
194
- document.addEventListener('click', (e) => this.handleMenuClick(e));
194
+ document.addEventListener('click', (e) => this.globalNavClickHandler(e));
195
195
  // if data-collapsed is not set, add data-expanded by default
196
196
  if (!this.layout.hasAttribute('data-collapsed') && !this.layout.hasAttribute('data-expanded')) {
197
197
  this.setState({ 'data-collapsed': false, 'data-expanded': true });
@@ -260,23 +260,20 @@ class PVAutoClose extends HTMLElement {
260
260
 
261
261
  handleHoverIn() {
262
262
  clearTimeout(this.hoverTimeout);
263
- if (this.layout.hasAttribute('data-collapsed')) {
264
- this.hoverTimeout = setTimeout(() => {
265
- if (window.innerWidth < 768) {
266
- this.layout.removeAttribute('data-collapsed');
267
- this.layout.setAttribute('data-floating', '');
268
- } else {
269
- this.hoverExpandState();
270
- }
271
- }, 200);
272
- }
263
+ this.hoverTimeout = setTimeout(() => {
264
+ if (window.innerWidth < 768) {
265
+ this.layout.removeAttribute('data-collapsed');
266
+ this.layout.setAttribute('data-floating', '');
267
+ } else if (this.layout.hasAttribute('data-collapsed')) {
268
+ this.hoverExpandState();
269
+ }
270
+ }, 200);
273
271
  }
274
272
 
275
273
  handleHoverOut() {
276
274
  clearTimeout(this.hoverTimeout);
277
275
  if (this.layout.hasAttribute('data-floating') && !this.hasOpenMenu()) {
278
276
  this.layout.removeAttribute('data-floating');
279
- this.layout.setAttribute('data-collapsed', '');
280
277
  } else if (!this.layout.hasAttribute('data-collapsed') && !this.layout.hasAttribute('data-expanded') && !this.hasOpenMenu()) {
281
278
  this.hoverCollapseState();
282
279
  }
@@ -286,27 +283,50 @@ class PVAutoClose extends HTMLElement {
286
283
  return this.querySelector('.pv-popover-menu[data-active]') !== null;
287
284
  }
288
285
 
289
- handleMenuClick(event) {
286
+ toggleMenu(menu) {
287
+ const isActive = menu.hasAttribute('data-active');
288
+ if (isActive) {
289
+ menu.removeAttribute('data-active');
290
+ } else {
291
+ menu.setAttribute('data-active', '');
292
+ }
293
+ }
294
+
295
+ globalNavClickHandler(event) {
296
+ const inSidebar = this.contains(event.target);
297
+ const insideMenu = event.target.closest('.pv-popover');
290
298
  const clickedMenu = event.target.closest('.pv-popover-menu');
291
299
  const allMenus = this.querySelectorAll('.pv-popover-menu');
292
300
 
301
+ // if we are inside a menu (not the trigger), do nothing
302
+ if (insideMenu) {
303
+ return;
304
+ }
305
+
306
+ // if we clicked on a menu trigger, toggle that menu and close others
293
307
  if (clickedMenu && this.contains(clickedMenu)) {
294
- allMenus.forEach(menu => menu.removeAttribute('data-active'));
295
- clickedMenu.setAttribute('data-active', '');
296
- this.style.overflow = 'initial';
308
+ allMenus.forEach(menu => {
309
+ if (menu !== clickedMenu) {
310
+ menu.removeAttribute('data-active');
311
+ }
312
+ });
313
+ this.toggleMenu(clickedMenu);
314
+ this.style.overflowX = 'initial';
297
315
  if (!this.layout.hasAttribute('data-expanded')) {
298
- this.hoverExpandState();
316
+ this.hoverExpandState();
299
317
  }
300
318
  return;
301
319
  }
320
+ // if outside sidebar, remove 'data-floating;
321
+ if (!inSidebar) {
322
+ this.layout.removeAttribute('data-floating');
323
+ }
302
324
 
303
- // Only close menu if click is outside the sidebar
304
- if (!this.contains(event.target)) {
305
- allMenus.forEach(menu => menu.removeAttribute('data-active'));
306
- this.style.overflowX = 'hidden';
307
- if (!this.layout.hasAttribute('data-collapsed') && !this.layout.hasAttribute('data-expanded')) {
308
- this.hoverCollapseState();
309
- }
325
+ // clicked outside any menu, close all menus
326
+ allMenus.forEach(menu => menu.removeAttribute('data-active'));
327
+ this.style.overflowX = 'hidden';
328
+ if (!this.layout.hasAttribute('data-collapsed') && !this.layout.hasAttribute('data-expanded')) {
329
+ this.hoverCollapseState();
310
330
  }
311
331
  }
312
332
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@turquoisehealth/pit-viper",
3
- "version": "2.108.0",
3
+ "version": "2.109.1",
4
4
  "description": "Turquoise Health's design system.",
5
5
  "main": "README.md",
6
6
  "publishConfig": {
@@ -1,491 +0,0 @@
1
- import { AdvancedFilterModel } from 'ag-grid-community/dist/types/src/interfaces/advancedFilterModel';
2
- import { AgChartInstance } from 'ag-charts-enterprise';
3
- import { AgChartOptions } from 'ag-charts-types';
4
- import { AgChartOptions as AgChartOptions_2 } from 'ag-charts-enterprise';
5
- import { AgMapLineSeriesTooltipRendererParams } from 'ag-charts-enterprise';
6
- import { AgSeriesVisibilityChange } from 'ag-charts-enterprise';
7
- import { ColDef } from 'ag-grid-community';
8
- import { Column } from 'ag-grid-enterprise';
9
- import { ColumnMovedEvent } from 'ag-grid-enterprise';
10
- import { ColumnResizedEvent } from 'ag-grid-enterprise';
11
- import { ColumnRowGroupChangedEvent } from 'ag-grid-enterprise';
12
- import { ColumnVO } from 'ag-grid-community/dist/types/src/interfaces/iColumnVO';
13
- import { Component } from 'vue';
14
- import { ComponentOptionsMixin } from 'vue';
15
- import { ComponentProvideOptions } from 'vue';
16
- import { CreateComponentPublicInstanceWithMixins } from 'vue';
17
- import { CSSProperties } from 'vue';
18
- import { DefineComponent } from 'vue';
19
- import { ExtractPropTypes } from 'vue';
20
- import { FilterChangedEvent } from 'ag-grid-enterprise';
21
- import { FilterModel } from 'ag-grid-enterprise';
22
- import { FilterModel as FilterModel_2 } from 'ag-grid-community/dist/types/src/interfaces/iFilter';
23
- import { FirstDataRenderedEvent } from 'ag-grid-community';
24
- import { GlobalComponents } from 'vue';
25
- import { GlobalDirectives } from 'vue';
26
- import { GridApi } from 'ag-grid-community';
27
- import { GridReadyEvent } from 'ag-grid-community';
28
- import { GridState } from 'ag-grid-enterprise';
29
- import { IServerSideGetRowsParams } from 'ag-grid-enterprise';
30
- import { IsGroupOpenByDefaultParams } from 'ag-grid-community';
31
- import { IsServerSideGroupOpenByDefaultParams } from 'ag-grid-community';
32
- import { PropType } from 'vue';
33
- import { PublicProps } from 'vue';
34
- import { RefreshServerSideParams } from 'ag-grid-community';
35
- import { ShallowUnwrapRef } from 'vue';
36
- import { SortChangedEvent } from 'ag-grid-community';
37
- import { Theme } from 'ag-grid-enterprise';
38
- import { VNode } from 'vue';
39
-
40
- declare type __VLS_PrettifyLocal<T> = {
41
- [K in keyof T]: T[K];
42
- } & {};
43
-
44
- declare type ChartConfigPanelType = "y-axis" | "x-axis" | "sort" | "chart-type";
45
-
46
- declare interface ChartFilter {
47
- colId: string;
48
- options: ChartFilterOption[];
49
- }
50
-
51
- declare type ChartFilterOption = {
52
- label: string;
53
- value: string;
54
- filterValues: string[];
55
- };
56
-
57
- declare interface ChartState {
58
- seriesField?: string | null;
59
- chartType?: string | null;
60
- chartSort?: string | null;
61
- chartCategoryFields?: string[] | null;
62
- }
63
-
64
- declare interface ChartStateChangedEvent {
65
- api: GridApi | null;
66
- newState: ChartState | null;
67
- oldState: ChartState | null;
68
- }
69
-
70
- declare interface FilterValueResponseOption {
71
- value: string;
72
- label?: string;
73
- isPreference?: boolean;
74
- isSelectable?: boolean;
75
- metadata?: any;
76
- }
77
-
78
- declare interface FilterValuesSetHandlerParams<T> {
79
- api: GridApi<T>;
80
- colDef: ColDef<T>;
81
- column: Column<T>;
82
- filterModel?: FilterModel | null;
83
- query?: string;
84
- }
85
-
86
- declare interface FocusUpdateEvent {
87
- focuses?: string[] | null | undefined;
88
- filterField?: string | null | undefined;
89
- }
90
-
91
- declare type MapTopologyType = "state" | "city" | "county" | "cbsa" | "zip_code";
92
-
93
- declare interface MenuOption {
94
- id: string;
95
- text: string;
96
- subText?: string;
97
- secondaryText?: string | number;
98
- icon?: string;
99
- companyName?: string;
100
- avatar?: {
101
- initials?: string;
102
- image?: string;
103
- icon?: boolean;
104
- };
105
- groupingLabel?: string;
106
- disabled?: boolean;
107
- renderer?: Component;
108
- rendererProps?: any;
109
- classList?: string[];
110
- searchText?: string;
111
- }
112
-
113
- export declare const PvChart: DefineComponent<PvChartProps, {
114
- getChartImageDataURL: (dimensions?: {
115
- width?: number;
116
- height?: number;
117
- }) => Promise<string> | undefined;
118
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
119
- "series-visibility-change": (event: AgSeriesVisibilityChange<unknown>) => any;
120
- }, string, PublicProps, Readonly<PvChartProps> & Readonly<{
121
- "onSeries-visibility-change"?: ((event: AgSeriesVisibilityChange<unknown>) => any) | undefined;
122
- }>, {
123
- seriesFormatType: "none" | "currency" | "percent";
124
- isLoading: boolean;
125
- enableFocusView: boolean;
126
- minHeight: number;
127
- translateNullValues: boolean;
128
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
129
- chartRef: CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes< {
130
- options: {
131
- type: PropType<AgChartOptions>;
132
- default: () => AgChartOptions;
133
- };
134
- }>> & Readonly<{}>, {
135
- chart: AgChartInstance | undefined;
136
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
137
- options: AgChartOptions;
138
- }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
139
- P: {};
140
- B: {};
141
- D: {};
142
- C: {};
143
- M: {};
144
- Defaults: {};
145
- }, Readonly<ExtractPropTypes< {
146
- options: {
147
- type: PropType<AgChartOptions>;
148
- default: () => AgChartOptions;
149
- };
150
- }>> & Readonly<{}>, {
151
- chart: AgChartInstance | undefined;
152
- }, {}, {}, {}, {
153
- options: AgChartOptions;
154
- }> | null;
155
- }, HTMLDivElement>;
156
-
157
- declare interface PvChartProps {
158
- options: AgChartOptions;
159
- seriesFormatType?: "none" | "currency" | "percent";
160
- isLoading?: boolean;
161
- enableFocusView?: boolean;
162
- minHeight?: number;
163
- translateNullValues?: boolean;
164
- }
165
-
166
- declare interface PvDataTableProps<T> {
167
- /**
168
- * Column definitions for the table. Follows the AG Grid column definition format.
169
- */
170
- colDefs?: ColDef<T>[];
171
- /**
172
- * Array of JSON data objects to be displayed in the table. Only used for client-side row model.
173
- */
174
- rowData?: T[];
175
- /**
176
- * Handler to fetch server-side data. Only used for server-side row model.
177
- */
178
- serverSideRowHandler?: (params: IServerSideGetRowsParams<T>, isCsvExport?: boolean) => void;
179
- /**
180
- * Handler to fetch filter values for server-side filtering. Only used for server-side row model.
181
- */
182
- filterValuesSetHandler?: (params: FilterValuesSetHandlerParams<T>) => Promise<(FilterValueResponseOption | null)[]>;
183
- /**
184
- * Handler to return suggestions for applying search terms to the table.
185
- */
186
- tableSearchHandler?: (params: TableSearchHandlerParams<T>) => Promise<(QueryBuilderSuggestionMenuOption | null)[]>;
187
- /**
188
- * Specifies an initial set of filters/groups/sort/etc. to be applied to the table.
189
- */
190
- initialGridState?: GridState;
191
- /**
192
- * Specifies an initial set of metadata values for filters that require them
193
- */
194
- initialFilterValueMap?: Record<string, (FilterValueResponseOption | null)[]>;
195
- /**
196
- * Override the Pit Viper them
197
- */
198
- theme?: Theme;
199
- /**
200
- * For aggregated columns, only show the aggregate at the final group level
201
- */
202
- displayBaseAggregationsOnly?: boolean;
203
- /**
204
- * Display Row Number in the first column
205
- */
206
- displayRowNumber?: boolean;
207
- /**
208
- * Display Counts on Grouped Rows (requires allChildrenCount on the object)
209
- */
210
- displayGroupCount?: boolean;
211
- /**
212
- * Displays Icon on Preferences that emits handle-settings-icon event
213
- */
214
- displayPreferencesIcon?: boolean;
215
- /**
216
- * Display button to hide/show columns
217
- */
218
- enableColumnVisibilitySelector?: boolean;
219
- /**
220
- * Display everything focus view related
221
- */
222
- enableFocusView?: boolean;
223
- /**
224
- * Display button to group by columns
225
- */
226
- enableGroupBySelector?: boolean;
227
- /**
228
- * Display input to search within the table
229
- */
230
- enableTableSearch?: boolean;
231
- /**
232
- * Allows for slot content to be placed above the chart
233
- */
234
- enableTopSlot?: boolean;
235
- /**
236
- * Display button to open the vertical filter drawer
237
- */
238
- enableVerticalFilterPanel?: boolean;
239
- /**
240
- * Number of groups to support (defaults to 2)
241
- */
242
- rowGroupLimit?: number;
243
- /**
244
- * Whether to expand all groups by default, based on level. -1 expands all groups
245
- */
246
- groupDefaultExpanded?: number;
247
- /**
248
- * A handler to determine if a group should be open by default dynamically.
249
- */
250
- isClientSideGroupOpenByDefault?: (params: IsGroupOpenByDefaultParams) => boolean;
251
- /**
252
- * A handler to determine whether a group should be open by default.
253
- */
254
- isServerSideGroupOpenByDefault?: (params: IsServerSideGroupOpenByDefaultParams) => boolean;
255
- /**
256
- * Display button to export table data as CSV
257
- */
258
- enableCsvExport?: boolean;
259
- /**
260
- * # of rows to export to CSV - be careful overriding this as large exports can cause performance issues
261
- */
262
- csvRowLimit?: number;
263
- /**
264
- * Optional param to implement custom logic for CSV export. If not specified, the serverSideRowHandler will be used to generate the CSV data.
265
- */
266
- serverSideCsvHandler?: (params: IServerSideGetRowsParams<T>) => Promise<void>;
267
- /**
268
- * Field that can be used to identify row uniqueness for preserving expanded/collapsed row states
269
- */
270
- uniqueRowIdField?: string;
271
- /**
272
- * If true, will not show data until at least one filter is applied
273
- */
274
- requireFiltersToShowData?: boolean;
275
- /**
276
- * If true, will show loading state - can be used as a dynamic prop to show/hide loading state
277
- */
278
- isLoading?: boolean;
279
- /**
280
- * Height of the table + filter container
281
- */
282
- containerHeight?: number;
283
- /**
284
- * Min height of the table + filter container
285
- */
286
- containerMinHeight?: number;
287
- /**
288
- * Enables the ValidationModule for advanced debugging as well as additional console logging from AG Grid
289
- */
290
- debugMode?: boolean;
291
- /**
292
- * If true, hide all row-grouped columns from the table.
293
- */
294
- hideAllRowGroupedColumns?: boolean;
295
- /**
296
- * Specifies the column to pin to the left of the table if at least one row grouping is enabled.
297
- */
298
- leftPinnedColumnName?: string;
299
- /**
300
- * Enables pagination
301
- */
302
- pagination?: boolean;
303
- /**
304
- * Set the pagination page size. Defaults to 50.
305
- */
306
- paginationPageSize?: 20 | 50 | 100 | 200;
307
- /**
308
- * Row height for individual rows
309
- */
310
- rowHeight?: number;
311
- /**
312
- * Set tooltip show delay. Detaults 1000ms
313
- */
314
- tooltipShowDelay?: number;
315
- /**
316
- * Set tooltip hide delay.
317
- */
318
- tooltipHideDelay?: number;
319
- /**
320
- * Hide the table rows (but still show the filter panel)
321
- */
322
- hideTable?: boolean;
323
- /**
324
- * DOM location to use for relocating the filter panel
325
- */
326
- filterTeleportLocation?: string;
327
- /**
328
- * List of column fields that can be focused
329
- */
330
- focusableColumns?: string[];
331
- tableSearchPlaceholder?: string;
332
- tableSearchStyle?: TableSearchStyle;
333
- maxHorizontalFilters?: number;
334
- maintainColumnOrder?: boolean;
335
- /**
336
- * Custom CSS Properties
337
- */
338
- customCssProperties?: {
339
- agGridWrapper: CSSProperties;
340
- };
341
- }
342
-
343
- 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<{
344
- props: __VLS_PrettifyLocal<any & PvDataTableWithChartProps<T> & Partial<{}>> & PublicProps;
345
- expose(exposed: ShallowUnwrapRef< {
346
- getChartImageDataURL: (dimensions?: {
347
- width?: number;
348
- height?: number;
349
- }) => Promise<string> | undefined;
350
- getCsvData: () => Promise<string | null> | undefined;
351
- refreshData: (params?: RefreshServerSideParams | null) => Promise<void> | undefined;
352
- getFilterValueSelectedMetadataMap: () => Record<string, (FilterValueResponseOption | null)[]> | undefined;
353
- }>): void;
354
- attrs: any;
355
- slots: {};
356
- emit: {
357
- (e: "chart-state-changed", event: ChartStateChangedEvent): void;
358
- (e: "column-moved", event: ColumnMovedEvent<T>): void;
359
- (e: "column-resized", event: ColumnResizedEvent<T>): void;
360
- (e: "column-row-group-changed", event: ColumnRowGroupChangedEvent<T>): void;
361
- (e: "grid-ready", event: GridReadyEvent<T>): void;
362
- (e: "filter-changed", event: FilterChangedEvent<T>): void;
363
- (e: "sort-changed", event: SortChangedEvent<T>): void;
364
- (e: "filter-opened", event: FilterChangedEvent<T>): void;
365
- (e: "first-data-rendered", event: FirstDataRenderedEvent<T>): void;
366
- (e: "handle-settings-icon", value: string): void;
367
- (e: "focus-update", event: FocusUpdateEvent): void;
368
- (e: "chart-collapsed", collapsed: boolean): void;
369
- };
370
- }>) => VNode & {
371
- __ctx?: Awaited<typeof __VLS_setup>;
372
- };
373
-
374
- declare interface PvDataTableWithChartProps<T> extends PvDataTableProps<T> {
375
- enabledChartTypes?: supportedChartType[];
376
- serverSideChartHandler?: (params: ServerSideChartDataHandlerParams) => Promise<ServerSideChartDataHandlerResponse>;
377
- showSeriesLabels?: boolean;
378
- truncateLabelValues?: boolean;
379
- initialChartData?: AgChartOptions_2["data"];
380
- enableCombinedChartConfigPanel?: boolean;
381
- chartConfigPanelOptions?: ChartConfigPanelType[];
382
- chartFilter?: ChartFilter;
383
- chartType?: supportedChartType;
384
- yKey?: string;
385
- initialSort?: string;
386
- hideChart?: boolean;
387
- hideTable?: boolean;
388
- filterPanelAboveChart?: boolean;
389
- initialChartCollapsed?: boolean;
390
- initialFocusData?: {
391
- focuses: string[];
392
- focusType: string | null;
393
- };
394
- percentOfFocusViewYKey?: string;
395
- focusableColumns?: string[];
396
- /**
397
- * Enable toggle to group or ungroup
398
- */
399
- enableGroupingToggle?: boolean;
400
- /**
401
- * Css Properties
402
- */
403
- customCssProperties?: {
404
- agGridWrapper: CSSProperties;
405
- };
406
- }
407
-
408
- export declare const PvMapChart: DefineComponent< {
409
- chartData: PvMapChartData[];
410
- selectedRegion?: string | undefined;
411
- } & PvMapChartProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
412
- "update:chartData": (value: PvMapChartData[]) => any;
413
- "update:selectedRegion": (value: string | undefined) => any;
414
- } & {
415
- "region-selection-changed": (event: RegionSelectionChangedEvent) => any;
416
- }, string, PublicProps, Readonly<{
417
- chartData: PvMapChartData[];
418
- selectedRegion?: string | undefined;
419
- } & PvMapChartProps> & Readonly<{
420
- "onUpdate:chartData"?: ((value: PvMapChartData[]) => any) | undefined;
421
- "onUpdate:selectedRegion"?: ((value: string | undefined) => any) | undefined;
422
- "onRegion-selection-changed"?: ((event: RegionSelectionChangedEvent) => any) | undefined;
423
- }>, {
424
- isLoading: boolean;
425
- mapType: MapTopologyType;
426
- displayGradientLegend: boolean;
427
- gradientLegendMin: number;
428
- gradientLegendMax: number;
429
- seriesValueFormatter: (value: number) => string;
430
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
431
-
432
- declare interface PvMapChartData {
433
- [key: string]: string | number;
434
- }
435
-
436
- declare interface PvMapChartProps {
437
- seriesKey: string;
438
- mapType?: MapTopologyType;
439
- displayGradientLegend?: boolean;
440
- displayRegionSelector?: boolean;
441
- gradientLegendMin?: number;
442
- gradientLegendMax?: number;
443
- seriesValueFormatter?: (value: number) => string;
444
- isLoading?: boolean;
445
- noDataMessage?: string;
446
- tooltipRenderer?: (params: AgMapLineSeriesTooltipRendererParams<PvMapChartData>) => string | HTMLElement;
447
- }
448
-
449
- declare interface QueryBuilderSuggestionMenuOption extends MenuOption {
450
- queryTerm?: QueryTerm;
451
- }
452
-
453
- declare interface QueryTerm {
454
- queryField?: string;
455
- queryDisplayField?: string;
456
- exactMatch?: boolean;
457
- queryText?: string;
458
- }
459
-
460
- declare interface RegionSelectionChangedEvent {
461
- region: string | null | undefined;
462
- }
463
-
464
- declare interface ServerSideChartDataHandlerParams {
465
- rowGroupCols: ColumnVO[];
466
- /** Columns that have aggregations on them. */
467
- valueCols: ColumnVO[];
468
- /**
469
- * If filtering, what the filter model is.
470
- * If Advanced Filter is enabled, will be of type `AdvancedFilterModel | null`.
471
- * If Advanced Filter is disabled, will be of type `FilterModel`.
472
- */
473
- filterModel: FilterModel_2 | AdvancedFilterModel | null;
474
- }
475
-
476
- declare interface ServerSideChartDataHandlerResponse {
477
- data: AgChartOptions_2["data"];
478
- stackField: string;
479
- }
480
-
481
- declare type supportedChartType = "column" | "bar" | "column_stacked" | "bar_stacked" | "line" | "area" | "pie";
482
-
483
- declare interface TableSearchHandlerParams<T> {
484
- api: GridApi<T>;
485
- filterModel?: FilterModel | null;
486
- query?: string;
487
- }
488
-
489
- declare type TableSearchStyle = "query-builder" | "text";
490
-
491
- export { }