@turquoisehealth/pit-viper 2.71.1-dev.4 → 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.
@@ -3,7 +3,6 @@ import { Column } from 'ag-grid-enterprise';
3
3
  import { ColumnMovedEvent } from 'ag-grid-enterprise';
4
4
  import { ColumnResizedEvent } from 'ag-grid-enterprise';
5
5
  import { ColumnRowGroupChangedEvent } from 'ag-grid-enterprise';
6
- import { Component } from 'vue';
7
6
  import { ComputedRef } from 'vue';
8
7
  import { FilterChangedEvent } from 'ag-grid-enterprise';
9
8
  import { FilterModel } from 'ag-grid-enterprise';
@@ -15,7 +14,6 @@ import { IServerSideGetRowsParams } from 'ag-grid-enterprise';
15
14
  import { IsGroupOpenByDefaultParams } from 'ag-grid-community';
16
15
  import { IsServerSideGroupOpenByDefaultParams } from 'ag-grid-community';
17
16
  import { PublicProps } from 'vue';
18
- import { Ref } from 'vue';
19
17
  import { RefreshServerSideParams } from 'ag-grid-community';
20
18
  import { ShallowUnwrapRef } from 'vue';
21
19
  import { SortChangedEvent } from 'ag-grid-community';
@@ -47,33 +45,11 @@ export declare interface FocusUpdateEvent {
47
45
  filterField?: string | null | undefined;
48
46
  }
49
47
 
50
- declare interface MenuOption {
51
- id: string;
52
- text: string;
53
- subText?: string;
54
- secondaryText?: string | number;
55
- icon?: string;
56
- companyName?: string;
57
- avatar?: {
58
- initials?: string;
59
- image?: string;
60
- icon?: boolean;
61
- };
62
- groupingLabel?: string;
63
- disabled?: boolean;
64
- renderer?: Component;
65
- rendererProps?: any;
66
- classList?: string[];
67
- searchText?: string;
68
- }
69
-
70
48
  export declare const PvDataTable: <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<{
71
49
  props: __VLS_PrettifyLocal<any & PvDataTableProps<T> & Partial<{}>> & PublicProps;
72
50
  expose(exposed: ShallowUnwrapRef<PvDataTablePublicInterface>): void;
73
51
  attrs: any;
74
- slots: {
75
- 'top-slot'?(_: {}): any;
76
- };
52
+ slots: {};
77
53
  emit: {
78
54
  (e: "column-moved", event: ColumnMovedEvent<T>): void;
79
55
  (e: "column-resized", event: ColumnResizedEvent<T>): void;
@@ -107,10 +83,6 @@ declare interface PvDataTableProps<T> {
107
83
  * Handler to fetch filter values for server-side filtering. Only used for server-side row model.
108
84
  */
109
85
  filterValuesSetHandler?: (params: FilterValuesSetHandlerParams<T>) => Promise<(FilterValueResponseOption | null)[]>;
110
- /**
111
- * Handler to return suggestions for applying search terms to the table.
112
- */
113
- tableSearchHandler?: (params: TableSearchHandlerParams<T>) => Promise<(QueryBuilderSuggestionMenuOption | null)[]>;
114
86
  /**
115
87
  * Specifies an initial set of filters/groups/sort/etc. to be applied to the table.
116
88
  */
@@ -151,14 +123,6 @@ declare interface PvDataTableProps<T> {
151
123
  * Display button to group by columns
152
124
  */
153
125
  enableGroupBySelector?: boolean;
154
- /**
155
- * Display input to search within the table
156
- */
157
- enableTableSearch?: boolean;
158
- /**
159
- * Allows for slot content to be placed above the chart
160
- */
161
- enableTopSlot?: boolean;
162
126
  /**
163
127
  * Display button to open the vertical filter drawer
164
128
  */
@@ -255,9 +219,6 @@ declare interface PvDataTableProps<T> {
255
219
  * List of column fields that can be focused
256
220
  */
257
221
  focusableColumns?: string[];
258
- tableSearchPlaceholder?: string;
259
- tableSearchStyle?: TableSearchStyle;
260
- maxHorizontalFilters?: number;
261
222
  }
262
223
 
263
224
  declare interface PvDataTablePublicInterface {
@@ -266,26 +227,6 @@ declare interface PvDataTablePublicInterface {
266
227
  getFilterValueSelectedMetadataMap: () => Record<string, (FilterValueResponseOption | null)[]>;
267
228
  availableRowGroupColumns: ComputedRef<ColDef[]>;
268
229
  availableAggFuncColumns: ComputedRef<ColDef[]>;
269
- rowGroupColumnFields: Ref<string[]>;
270
230
  }
271
231
 
272
- declare interface QueryBuilderSuggestionMenuOption extends MenuOption {
273
- queryTerm?: QueryTerm;
274
- }
275
-
276
- declare interface QueryTerm {
277
- queryField?: string;
278
- queryDisplayField?: string;
279
- exactMatch?: boolean;
280
- queryText?: string;
281
- }
282
-
283
- declare interface TableSearchHandlerParams<T> {
284
- api: GridApi<T>;
285
- filterModel?: FilterModel | null;
286
- query?: string;
287
- }
288
-
289
- declare type TableSearchStyle = "query-builder" | "text";
290
-
291
232
  export { }