@procore/data-table 13.3.2 → 14.1.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/CHANGELOG.md +14 -0
- package/dist/legacy/index.d.mts +69 -20
- package/dist/legacy/index.d.ts +69 -20
- package/dist/legacy/index.js +1269 -1005
- package/dist/legacy/index.mjs +968 -708
- package/dist/modern/index.d.mts +69 -20
- package/dist/modern/index.d.ts +69 -20
- package/dist/modern/index.js +1258 -1005
- package/dist/modern/index.mjs +957 -708
- package/package.json +11 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 14.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 58fb8a5ef: Add SingleSelectQuickFilterRenderer component
|
|
8
|
+
|
|
9
|
+
## 14.0.0
|
|
10
|
+
|
|
11
|
+
### Major Changes
|
|
12
|
+
|
|
13
|
+
- a8cbbb2a76: - Breaking Change: Required peerDep versions `@procore/core-react` `12.0.0` and `@procore/globalization-toolkit` `3.1.0`
|
|
14
|
+
- Feature: Exports `Analytics` to continue support after removal from `core-react`
|
|
15
|
+
- Chore: prepare for core-react v12. remove /dist imports. duplicate analytics. fix missing types. update lab deps
|
|
16
|
+
|
|
3
17
|
## 13.3.2
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/legacy/index.d.mts
CHANGED
|
@@ -4,9 +4,48 @@ import * as React$1 from 'react';
|
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import { AgGridReactProps, AgReactUiProps } from '@ag-grid-community/react';
|
|
6
6
|
import { DropdownFlyoutOption, FormSelectProps, FormMultiSelectProps, FormCurrencyProps, TypographyProps, InputProps, DateTimeFormatTypes, PillColor, TextAreaProps, ComponentWithFieldProp, FormFieldValueComponentProps } from '@procore/core-react';
|
|
7
|
-
import { IAnalytics } from '@procore/core-react/dist/_utils/genericAnalyticsClient';
|
|
8
7
|
import { FormatConfig } from '@procore/labs-financials-utils/dist/configs';
|
|
9
8
|
|
|
9
|
+
interface RequestInfo extends RequestInit {
|
|
10
|
+
headers: Record<string, any>;
|
|
11
|
+
}
|
|
12
|
+
interface AnalyticsConfig$1 {
|
|
13
|
+
bodyParams?: Record<string, any>;
|
|
14
|
+
client: (endpoint: string, request: RequestInfo) => void;
|
|
15
|
+
endpoint: string;
|
|
16
|
+
headers?: Record<string, any>;
|
|
17
|
+
trackEvent: (event: string, properties: Record<string, any>) => void;
|
|
18
|
+
}
|
|
19
|
+
declare class Analytics {
|
|
20
|
+
bodyParams: Record<string, any>;
|
|
21
|
+
client: (endpoint: string, request: RequestInfo) => void;
|
|
22
|
+
endpoint: string;
|
|
23
|
+
headers: Object;
|
|
24
|
+
constructor({ bodyParams, client, endpoint, headers, }: AnalyticsConfig$1);
|
|
25
|
+
trackEvent(event: string, properties?: Record<string, any>): void;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
interface AnalyticEvent {
|
|
29
|
+
key: string;
|
|
30
|
+
properties: Record<string, any>;
|
|
31
|
+
timestamp: Date;
|
|
32
|
+
project_id: number;
|
|
33
|
+
event_id: string;
|
|
34
|
+
page_id: string;
|
|
35
|
+
}
|
|
36
|
+
interface AnalyticsClient extends AnalyticsConfig$1 {
|
|
37
|
+
sendAllEvents: () => Promise<void>;
|
|
38
|
+
addEvent: AnalyticsConfig$1['trackEvent'];
|
|
39
|
+
}
|
|
40
|
+
interface AnalyticsConfig {
|
|
41
|
+
client: AnalyticsClient;
|
|
42
|
+
clientName: string;
|
|
43
|
+
}
|
|
44
|
+
interface AnalyticsBulkConfig extends AnalyticsConfig$1 {
|
|
45
|
+
projectId: number;
|
|
46
|
+
bulkEndpoint: string;
|
|
47
|
+
}
|
|
48
|
+
|
|
10
49
|
interface GrandTotalsLabelRendererProps extends ICellRendererParams {
|
|
11
50
|
}
|
|
12
51
|
declare const GrandTotalsLabelRenderer: React__default.FunctionComponent<GrandTotalsLabelRendererProps>;
|
|
@@ -1017,14 +1056,6 @@ interface TablePanelProps extends React.HtmlHTMLAttributes<HTMLDivElement> {
|
|
|
1017
1056
|
className?: string;
|
|
1018
1057
|
style?: React.CSSProperties;
|
|
1019
1058
|
}
|
|
1020
|
-
interface AnalyticsConfig {
|
|
1021
|
-
client: AnalyticsClient;
|
|
1022
|
-
clientName: string;
|
|
1023
|
-
}
|
|
1024
|
-
interface AnalyticsClient extends IAnalytics {
|
|
1025
|
-
sendAllEvents: () => Promise<void>;
|
|
1026
|
-
addEvent: IAnalytics['trackEvent'];
|
|
1027
|
-
}
|
|
1028
1059
|
interface DataTableTranslations {
|
|
1029
1060
|
loadingLabel?: string;
|
|
1030
1061
|
searchEmptyStateTitle?: string;
|
|
@@ -1236,6 +1267,30 @@ interface InternalTableContext {
|
|
|
1236
1267
|
}
|
|
1237
1268
|
declare const InternalTableContext: React__default.Context<InternalTableContext>;
|
|
1238
1269
|
|
|
1270
|
+
type AnalyticsProviderProps = React__default.PropsWithChildren<{
|
|
1271
|
+
analytics?: Analytics;
|
|
1272
|
+
}>;
|
|
1273
|
+
type HydratedContextValue = Pick<Analytics, 'trackEvent'>;
|
|
1274
|
+
type DefaultContextValue = {};
|
|
1275
|
+
type ContextValue = HydratedContextValue | DefaultContextValue;
|
|
1276
|
+
declare function AnalyticsProvider({ analytics, children, }: AnalyticsProviderProps): React__default.JSX.Element;
|
|
1277
|
+
declare const useAnalyticsContext: () => HydratedContextValue;
|
|
1278
|
+
declare const _default$2: {
|
|
1279
|
+
Client: typeof Analytics;
|
|
1280
|
+
Consumer: React__default.Consumer<ContextValue>;
|
|
1281
|
+
Provider: typeof AnalyticsProvider;
|
|
1282
|
+
Context: React__default.Context<ContextValue>;
|
|
1283
|
+
};
|
|
1284
|
+
|
|
1285
|
+
declare class AnalyticsBulkClient extends _default$2.Client {
|
|
1286
|
+
private events;
|
|
1287
|
+
private projectId;
|
|
1288
|
+
private bulkEndpoint;
|
|
1289
|
+
constructor({ projectId, bulkEndpoint, bodyParams, headers, ...coreAnalyticsConfig }: AnalyticsBulkConfig);
|
|
1290
|
+
addEvent(event: string, properties: Record<string, any>): void;
|
|
1291
|
+
sendAllEvents(): Promise<void>;
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1239
1294
|
declare const DateTimeCellRenderer: React__default.FC<_ag_grid_community_core.ICellRendererParams<any, any, any>>;
|
|
1240
1295
|
declare const DateTimeCellEditor: React__default.ForwardRefExoticComponent<_ag_grid_community_core.ICellEditorParams<any, any, any>>;
|
|
1241
1296
|
|
|
@@ -1278,11 +1333,7 @@ declare const _default$1: (({ analytics, children, columnDefinitions: _columnDef
|
|
|
1278
1333
|
overlayMatchesTriggerWidth?: boolean | undefined;
|
|
1279
1334
|
}>;
|
|
1280
1335
|
RowGroupSelector: React__default.FC<{
|
|
1281
|
-
localeText:
|
|
1282
|
-
reset: string;
|
|
1283
|
-
placeholder: string;
|
|
1284
|
-
selectedItemsPrefix?: string | undefined;
|
|
1285
|
-
};
|
|
1336
|
+
localeText: GroupBySelectProps;
|
|
1286
1337
|
}>;
|
|
1287
1338
|
Search: React__default.FunctionComponent<SearchProps>;
|
|
1288
1339
|
Table: React__default.FC<Omit<TableProps<any, any>, "selectionSSREnabled" | "modules">>;
|
|
@@ -1303,6 +1354,8 @@ declare const LocationQuickFilterRenderer: React__default.FC<FilterProps>;
|
|
|
1303
1354
|
|
|
1304
1355
|
declare const MultiSelectQuickFilterRenderer: (props: FilterProps<any[]>) => React__default.JSX.Element;
|
|
1305
1356
|
|
|
1357
|
+
declare const SingleSelectQuickFilterRenderer: (props: FilterProps<any[]>) => React__default.JSX.Element;
|
|
1358
|
+
|
|
1306
1359
|
declare const _default: (({ analytics, children, columnDefinitions: _columnDefinitions, customBulkEditorFields, enableDynamicRowHeight, enableGroupEditAndValidation, filterGroups, getRowId, initialTableConfig: _initialTableConfig, onBulkEditUpdate, onServerSideDataRequest, onTableConfigChange, translations, }: React__default.PropsWithChildren<DataTableProps>) => React__default.JSX.Element) & {
|
|
1307
1360
|
BulkActions: React__default.FunctionComponent<React__default.PropsWithChildren<BulkActionProps>>;
|
|
1308
1361
|
BulkEditActionButton: React__default.FunctionComponent<ActionButtonProps>;
|
|
@@ -1313,11 +1366,7 @@ declare const _default: (({ analytics, children, columnDefinitions: _columnDefin
|
|
|
1313
1366
|
overlayMatchesTriggerWidth?: boolean | undefined;
|
|
1314
1367
|
}>;
|
|
1315
1368
|
RowGroupSelector: React__default.FC<{
|
|
1316
|
-
localeText:
|
|
1317
|
-
reset: string;
|
|
1318
|
-
placeholder: string;
|
|
1319
|
-
selectedItemsPrefix?: string | undefined;
|
|
1320
|
-
};
|
|
1369
|
+
localeText: GroupBySelectProps;
|
|
1321
1370
|
}>;
|
|
1322
1371
|
Search: React__default.FunctionComponent<SearchProps>;
|
|
1323
1372
|
Table: React__default.FC<Omit<TableProps<any, any>, "rows" | "modules">>;
|
|
@@ -1342,4 +1391,4 @@ declare const waitForAsyncCondition: (condition: Function, maxAttempts?: number,
|
|
|
1342
1391
|
*/
|
|
1343
1392
|
declare const UNSAFE_useTableContext: () => InternalTableContext;
|
|
1344
1393
|
|
|
1345
|
-
export { type AgDomLayout, type AgGetDetailRowDataParams, type AgSort, type AggregationFunction, type AnalyticsClient, type AnalyticsConfig, type AvatarStackItemFilter, type BooleanCellColumnDefinition, BooleanCellEditor, type BooleanCellEditorProps, BooleanCellRenderer, type BooleanCellRendererProps, type ButtonsCellColumnDefinition, ButtonsCellRenderer, type CSVExportConfig, type CellValueChangeParams, _default$1 as ClientSideDataTable, type ClientSideDataTableProps, type ColumnConfig, type ColumnDefinition, type ColumnGroupStateConfig, type CompanyCellColumnDefinition, CompanyCellRenderer, type CompanyCellRendererProps, type ContextPanelApi, type ContextPanelContent, type CurrencyCellColumnDefinition, CurrencyCellEditor, type CurrencyCellEditorProps, CurrencyCellRenderer, type CurrencyCellRendererProps, type CustomBulkEditorFields, type CustomEditorCell, type CustomFilter, type CustomFooterConfig, type CustomRendererCell, type DTExcelFormats, type DataTableCellEditorProps, type DataTableCellRendererProps, type DataTableConfig, type DataTableProps, type DataTableTranslations, type DateCellColumnDefinition, DateCellEditor, type DateCellEditorProps, DateCellRenderer, type DateCellRendererProps, DateFilterRenderer, type DateFilterSelectionType, QuickDateFilterRenderer as DateQuickFilterRenderer, type DateTimeCellColumnDefinition, DateTimeCellEditor, DateTimeCellRenderer, type DetailRowConfig, type EmptyRendererProps, type ExcelExportConfig, type ExtendedColDef, type FilterGroup, type FrameworkComponents, type GetDetailRowDataParams, type GetRowHeightWithFooters, GrandTotalsLabelRenderer, type GranularPartial, type GranularRequired, type GroupCellColumnDefinition, GroupCellRenderer, type HTMLStringExportConfig, type ISearchState, type IServerFilter, type IsEditableParams, type IsRowSelectable, type LinkCellColumnDefinition, LinkCellRenderer, type LinkCellRendererProps, type LocationColumnDefinition, type LocationFilterOpt, LocationFilterRenderer, LocationQuickFilterRenderer, type MultiSelectCellColumnDefinition, MultiSelectCellRenderer, type MultiSelectCellRendererProps, MultiSelectFilterRenderer, MultiSelectQuickFilterRenderer, type NestedColumnDefinition, type NumberCellColumnDefinition, NumberCellEditor, type NumberCellEditorProps, NumberCellRenderer, type NumberCellRendererProps, NumberFilterRenderer, type PartialTableApi, type PeopleCellColumnDefinition, PeopleCellRenderer, type PeopleCellRendererProps, type PercentCellColumnDefinition, PercentCellEditor, type PercentCellEditorProps, PercentCellRenderer, type PercentCellRendererProps, PersonCellRenderer, type PillCellColumnDefinition, PillCellRenderer, type PillCellRendererProps, PillSelectCellEditor, type PillSelectCellEditorProps, type PinnedBottomRow, type RefreshServerSideDataParams, type RowActivePredicateParams, type RowGroupToggledEvent, type RowNode, type RowSelectablePredicateParams, type RowSelectionRef, SelectAllState, type SelectCellColumnDefinition, SelectCellEditor, type SelectCellEditorProps, SelectCellRenderer, type SelectCellRendererProps, _default as ServerSideDataTable, type DataTableProps as ServerSideDataTableProps, type ServerSideGetRowsParams, type ServerSideGetRowsRequest, type ServerSideParamsOptions, type SortModel, type SuccessParams, type TableApi, type TablePanelProps, type TableProps, type TextAreaCellColumnDefinition, type TextAreaCellEditorProps, type TextAreaCellRendererProps, type TextCellColumnDefinition, TextCellEditor, type TextCellEditorProps, TextCellRenderer, type TextCellRendererProps, UNSAFE_useTableContext, type UpdateServerSideDataSourceParams, type ValueGetterParams, type ValueParserParams, type ValueSetterParams, type ValueValidator, type ValueValidatorParams, rowSize, useRowSelectionState, waitForAsyncCondition, withDataTableEditor, withDataTableRenderer };
|
|
1394
|
+
export { type AgDomLayout, type AgGetDetailRowDataParams, type AgSort, type AggregationFunction, type AnalyticEvent, _default$2 as Analytics, AnalyticsBulkClient, type AnalyticsBulkConfig, type AnalyticsClient, type AnalyticsConfig$1 as AnalyticsConfig, type AvatarStackItemFilter, type BooleanCellColumnDefinition, BooleanCellEditor, type BooleanCellEditorProps, BooleanCellRenderer, type BooleanCellRendererProps, type ButtonsCellColumnDefinition, ButtonsCellRenderer, type CSVExportConfig, type CellValueChangeParams, _default$1 as ClientSideDataTable, type ClientSideDataTableProps, type ColumnConfig, type ColumnDefinition, type ColumnGroupStateConfig, type CompanyCellColumnDefinition, CompanyCellRenderer, type CompanyCellRendererProps, type ContextPanelApi, type ContextPanelContent, type CurrencyCellColumnDefinition, CurrencyCellEditor, type CurrencyCellEditorProps, CurrencyCellRenderer, type CurrencyCellRendererProps, type CustomBulkEditorFields, type CustomEditorCell, type CustomFilter, type CustomFooterConfig, type CustomRendererCell, type DTExcelFormats, type DataTableCellEditorProps, type DataTableCellRendererProps, type DataTableConfig, type DataTableProps, type DataTableTranslations, type DateCellColumnDefinition, DateCellEditor, type DateCellEditorProps, DateCellRenderer, type DateCellRendererProps, DateFilterRenderer, type DateFilterSelectionType, QuickDateFilterRenderer as DateQuickFilterRenderer, type DateTimeCellColumnDefinition, DateTimeCellEditor, DateTimeCellRenderer, type DetailRowConfig, type EmptyRendererProps, type ExcelExportConfig, type ExtendedColDef, type FilterGroup, type FrameworkComponents, type GetDetailRowDataParams, type GetRowHeightWithFooters, GrandTotalsLabelRenderer, type GranularPartial, type GranularRequired, type GroupCellColumnDefinition, GroupCellRenderer, type HTMLStringExportConfig, type ISearchState, type IServerFilter, type IsEditableParams, type IsRowSelectable, type LinkCellColumnDefinition, LinkCellRenderer, type LinkCellRendererProps, type LocationColumnDefinition, type LocationFilterOpt, LocationFilterRenderer, LocationQuickFilterRenderer, type MultiSelectCellColumnDefinition, MultiSelectCellRenderer, type MultiSelectCellRendererProps, MultiSelectFilterRenderer, MultiSelectQuickFilterRenderer, type NestedColumnDefinition, type NumberCellColumnDefinition, NumberCellEditor, type NumberCellEditorProps, NumberCellRenderer, type NumberCellRendererProps, NumberFilterRenderer, type PartialTableApi, type PeopleCellColumnDefinition, PeopleCellRenderer, type PeopleCellRendererProps, type PercentCellColumnDefinition, PercentCellEditor, type PercentCellEditorProps, PercentCellRenderer, type PercentCellRendererProps, PersonCellRenderer, type PillCellColumnDefinition, PillCellRenderer, type PillCellRendererProps, PillSelectCellEditor, type PillSelectCellEditorProps, type PinnedBottomRow, type RefreshServerSideDataParams, type RowActivePredicateParams, type RowGroupToggledEvent, type RowNode, type RowSelectablePredicateParams, type RowSelectionRef, SelectAllState, type SelectCellColumnDefinition, SelectCellEditor, type SelectCellEditorProps, SelectCellRenderer, type SelectCellRendererProps, _default as ServerSideDataTable, type DataTableProps as ServerSideDataTableProps, type ServerSideGetRowsParams, type ServerSideGetRowsRequest, type ServerSideParamsOptions, SingleSelectQuickFilterRenderer, type SortModel, type SuccessParams, type TableApi, type TablePanelProps, type TableProps, type TextAreaCellColumnDefinition, type TextAreaCellEditorProps, type TextAreaCellRendererProps, type TextCellColumnDefinition, TextCellEditor, type TextCellEditorProps, TextCellRenderer, type TextCellRendererProps, UNSAFE_useTableContext, type UpdateServerSideDataSourceParams, type ValueGetterParams, type ValueParserParams, type ValueSetterParams, type ValueValidator, type ValueValidatorParams, rowSize, useAnalyticsContext, useRowSelectionState, waitForAsyncCondition, withDataTableEditor, withDataTableRenderer };
|
package/dist/legacy/index.d.ts
CHANGED
|
@@ -4,9 +4,48 @@ import * as React$1 from 'react';
|
|
|
4
4
|
import React__default from 'react';
|
|
5
5
|
import { AgGridReactProps, AgReactUiProps } from '@ag-grid-community/react';
|
|
6
6
|
import { DropdownFlyoutOption, FormSelectProps, FormMultiSelectProps, FormCurrencyProps, TypographyProps, InputProps, DateTimeFormatTypes, PillColor, TextAreaProps, ComponentWithFieldProp, FormFieldValueComponentProps } from '@procore/core-react';
|
|
7
|
-
import { IAnalytics } from '@procore/core-react/dist/_utils/genericAnalyticsClient';
|
|
8
7
|
import { FormatConfig } from '@procore/labs-financials-utils/dist/configs';
|
|
9
8
|
|
|
9
|
+
interface RequestInfo extends RequestInit {
|
|
10
|
+
headers: Record<string, any>;
|
|
11
|
+
}
|
|
12
|
+
interface AnalyticsConfig$1 {
|
|
13
|
+
bodyParams?: Record<string, any>;
|
|
14
|
+
client: (endpoint: string, request: RequestInfo) => void;
|
|
15
|
+
endpoint: string;
|
|
16
|
+
headers?: Record<string, any>;
|
|
17
|
+
trackEvent: (event: string, properties: Record<string, any>) => void;
|
|
18
|
+
}
|
|
19
|
+
declare class Analytics {
|
|
20
|
+
bodyParams: Record<string, any>;
|
|
21
|
+
client: (endpoint: string, request: RequestInfo) => void;
|
|
22
|
+
endpoint: string;
|
|
23
|
+
headers: Object;
|
|
24
|
+
constructor({ bodyParams, client, endpoint, headers, }: AnalyticsConfig$1);
|
|
25
|
+
trackEvent(event: string, properties?: Record<string, any>): void;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
interface AnalyticEvent {
|
|
29
|
+
key: string;
|
|
30
|
+
properties: Record<string, any>;
|
|
31
|
+
timestamp: Date;
|
|
32
|
+
project_id: number;
|
|
33
|
+
event_id: string;
|
|
34
|
+
page_id: string;
|
|
35
|
+
}
|
|
36
|
+
interface AnalyticsClient extends AnalyticsConfig$1 {
|
|
37
|
+
sendAllEvents: () => Promise<void>;
|
|
38
|
+
addEvent: AnalyticsConfig$1['trackEvent'];
|
|
39
|
+
}
|
|
40
|
+
interface AnalyticsConfig {
|
|
41
|
+
client: AnalyticsClient;
|
|
42
|
+
clientName: string;
|
|
43
|
+
}
|
|
44
|
+
interface AnalyticsBulkConfig extends AnalyticsConfig$1 {
|
|
45
|
+
projectId: number;
|
|
46
|
+
bulkEndpoint: string;
|
|
47
|
+
}
|
|
48
|
+
|
|
10
49
|
interface GrandTotalsLabelRendererProps extends ICellRendererParams {
|
|
11
50
|
}
|
|
12
51
|
declare const GrandTotalsLabelRenderer: React__default.FunctionComponent<GrandTotalsLabelRendererProps>;
|
|
@@ -1017,14 +1056,6 @@ interface TablePanelProps extends React.HtmlHTMLAttributes<HTMLDivElement> {
|
|
|
1017
1056
|
className?: string;
|
|
1018
1057
|
style?: React.CSSProperties;
|
|
1019
1058
|
}
|
|
1020
|
-
interface AnalyticsConfig {
|
|
1021
|
-
client: AnalyticsClient;
|
|
1022
|
-
clientName: string;
|
|
1023
|
-
}
|
|
1024
|
-
interface AnalyticsClient extends IAnalytics {
|
|
1025
|
-
sendAllEvents: () => Promise<void>;
|
|
1026
|
-
addEvent: IAnalytics['trackEvent'];
|
|
1027
|
-
}
|
|
1028
1059
|
interface DataTableTranslations {
|
|
1029
1060
|
loadingLabel?: string;
|
|
1030
1061
|
searchEmptyStateTitle?: string;
|
|
@@ -1236,6 +1267,30 @@ interface InternalTableContext {
|
|
|
1236
1267
|
}
|
|
1237
1268
|
declare const InternalTableContext: React__default.Context<InternalTableContext>;
|
|
1238
1269
|
|
|
1270
|
+
type AnalyticsProviderProps = React__default.PropsWithChildren<{
|
|
1271
|
+
analytics?: Analytics;
|
|
1272
|
+
}>;
|
|
1273
|
+
type HydratedContextValue = Pick<Analytics, 'trackEvent'>;
|
|
1274
|
+
type DefaultContextValue = {};
|
|
1275
|
+
type ContextValue = HydratedContextValue | DefaultContextValue;
|
|
1276
|
+
declare function AnalyticsProvider({ analytics, children, }: AnalyticsProviderProps): React__default.JSX.Element;
|
|
1277
|
+
declare const useAnalyticsContext: () => HydratedContextValue;
|
|
1278
|
+
declare const _default$2: {
|
|
1279
|
+
Client: typeof Analytics;
|
|
1280
|
+
Consumer: React__default.Consumer<ContextValue>;
|
|
1281
|
+
Provider: typeof AnalyticsProvider;
|
|
1282
|
+
Context: React__default.Context<ContextValue>;
|
|
1283
|
+
};
|
|
1284
|
+
|
|
1285
|
+
declare class AnalyticsBulkClient extends _default$2.Client {
|
|
1286
|
+
private events;
|
|
1287
|
+
private projectId;
|
|
1288
|
+
private bulkEndpoint;
|
|
1289
|
+
constructor({ projectId, bulkEndpoint, bodyParams, headers, ...coreAnalyticsConfig }: AnalyticsBulkConfig);
|
|
1290
|
+
addEvent(event: string, properties: Record<string, any>): void;
|
|
1291
|
+
sendAllEvents(): Promise<void>;
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1239
1294
|
declare const DateTimeCellRenderer: React__default.FC<_ag_grid_community_core.ICellRendererParams<any, any, any>>;
|
|
1240
1295
|
declare const DateTimeCellEditor: React__default.ForwardRefExoticComponent<_ag_grid_community_core.ICellEditorParams<any, any, any>>;
|
|
1241
1296
|
|
|
@@ -1278,11 +1333,7 @@ declare const _default$1: (({ analytics, children, columnDefinitions: _columnDef
|
|
|
1278
1333
|
overlayMatchesTriggerWidth?: boolean | undefined;
|
|
1279
1334
|
}>;
|
|
1280
1335
|
RowGroupSelector: React__default.FC<{
|
|
1281
|
-
localeText:
|
|
1282
|
-
reset: string;
|
|
1283
|
-
placeholder: string;
|
|
1284
|
-
selectedItemsPrefix?: string | undefined;
|
|
1285
|
-
};
|
|
1336
|
+
localeText: GroupBySelectProps;
|
|
1286
1337
|
}>;
|
|
1287
1338
|
Search: React__default.FunctionComponent<SearchProps>;
|
|
1288
1339
|
Table: React__default.FC<Omit<TableProps<any, any>, "selectionSSREnabled" | "modules">>;
|
|
@@ -1303,6 +1354,8 @@ declare const LocationQuickFilterRenderer: React__default.FC<FilterProps>;
|
|
|
1303
1354
|
|
|
1304
1355
|
declare const MultiSelectQuickFilterRenderer: (props: FilterProps<any[]>) => React__default.JSX.Element;
|
|
1305
1356
|
|
|
1357
|
+
declare const SingleSelectQuickFilterRenderer: (props: FilterProps<any[]>) => React__default.JSX.Element;
|
|
1358
|
+
|
|
1306
1359
|
declare const _default: (({ analytics, children, columnDefinitions: _columnDefinitions, customBulkEditorFields, enableDynamicRowHeight, enableGroupEditAndValidation, filterGroups, getRowId, initialTableConfig: _initialTableConfig, onBulkEditUpdate, onServerSideDataRequest, onTableConfigChange, translations, }: React__default.PropsWithChildren<DataTableProps>) => React__default.JSX.Element) & {
|
|
1307
1360
|
BulkActions: React__default.FunctionComponent<React__default.PropsWithChildren<BulkActionProps>>;
|
|
1308
1361
|
BulkEditActionButton: React__default.FunctionComponent<ActionButtonProps>;
|
|
@@ -1313,11 +1366,7 @@ declare const _default: (({ analytics, children, columnDefinitions: _columnDefin
|
|
|
1313
1366
|
overlayMatchesTriggerWidth?: boolean | undefined;
|
|
1314
1367
|
}>;
|
|
1315
1368
|
RowGroupSelector: React__default.FC<{
|
|
1316
|
-
localeText:
|
|
1317
|
-
reset: string;
|
|
1318
|
-
placeholder: string;
|
|
1319
|
-
selectedItemsPrefix?: string | undefined;
|
|
1320
|
-
};
|
|
1369
|
+
localeText: GroupBySelectProps;
|
|
1321
1370
|
}>;
|
|
1322
1371
|
Search: React__default.FunctionComponent<SearchProps>;
|
|
1323
1372
|
Table: React__default.FC<Omit<TableProps<any, any>, "rows" | "modules">>;
|
|
@@ -1342,4 +1391,4 @@ declare const waitForAsyncCondition: (condition: Function, maxAttempts?: number,
|
|
|
1342
1391
|
*/
|
|
1343
1392
|
declare const UNSAFE_useTableContext: () => InternalTableContext;
|
|
1344
1393
|
|
|
1345
|
-
export { type AgDomLayout, type AgGetDetailRowDataParams, type AgSort, type AggregationFunction, type AnalyticsClient, type AnalyticsConfig, type AvatarStackItemFilter, type BooleanCellColumnDefinition, BooleanCellEditor, type BooleanCellEditorProps, BooleanCellRenderer, type BooleanCellRendererProps, type ButtonsCellColumnDefinition, ButtonsCellRenderer, type CSVExportConfig, type CellValueChangeParams, _default$1 as ClientSideDataTable, type ClientSideDataTableProps, type ColumnConfig, type ColumnDefinition, type ColumnGroupStateConfig, type CompanyCellColumnDefinition, CompanyCellRenderer, type CompanyCellRendererProps, type ContextPanelApi, type ContextPanelContent, type CurrencyCellColumnDefinition, CurrencyCellEditor, type CurrencyCellEditorProps, CurrencyCellRenderer, type CurrencyCellRendererProps, type CustomBulkEditorFields, type CustomEditorCell, type CustomFilter, type CustomFooterConfig, type CustomRendererCell, type DTExcelFormats, type DataTableCellEditorProps, type DataTableCellRendererProps, type DataTableConfig, type DataTableProps, type DataTableTranslations, type DateCellColumnDefinition, DateCellEditor, type DateCellEditorProps, DateCellRenderer, type DateCellRendererProps, DateFilterRenderer, type DateFilterSelectionType, QuickDateFilterRenderer as DateQuickFilterRenderer, type DateTimeCellColumnDefinition, DateTimeCellEditor, DateTimeCellRenderer, type DetailRowConfig, type EmptyRendererProps, type ExcelExportConfig, type ExtendedColDef, type FilterGroup, type FrameworkComponents, type GetDetailRowDataParams, type GetRowHeightWithFooters, GrandTotalsLabelRenderer, type GranularPartial, type GranularRequired, type GroupCellColumnDefinition, GroupCellRenderer, type HTMLStringExportConfig, type ISearchState, type IServerFilter, type IsEditableParams, type IsRowSelectable, type LinkCellColumnDefinition, LinkCellRenderer, type LinkCellRendererProps, type LocationColumnDefinition, type LocationFilterOpt, LocationFilterRenderer, LocationQuickFilterRenderer, type MultiSelectCellColumnDefinition, MultiSelectCellRenderer, type MultiSelectCellRendererProps, MultiSelectFilterRenderer, MultiSelectQuickFilterRenderer, type NestedColumnDefinition, type NumberCellColumnDefinition, NumberCellEditor, type NumberCellEditorProps, NumberCellRenderer, type NumberCellRendererProps, NumberFilterRenderer, type PartialTableApi, type PeopleCellColumnDefinition, PeopleCellRenderer, type PeopleCellRendererProps, type PercentCellColumnDefinition, PercentCellEditor, type PercentCellEditorProps, PercentCellRenderer, type PercentCellRendererProps, PersonCellRenderer, type PillCellColumnDefinition, PillCellRenderer, type PillCellRendererProps, PillSelectCellEditor, type PillSelectCellEditorProps, type PinnedBottomRow, type RefreshServerSideDataParams, type RowActivePredicateParams, type RowGroupToggledEvent, type RowNode, type RowSelectablePredicateParams, type RowSelectionRef, SelectAllState, type SelectCellColumnDefinition, SelectCellEditor, type SelectCellEditorProps, SelectCellRenderer, type SelectCellRendererProps, _default as ServerSideDataTable, type DataTableProps as ServerSideDataTableProps, type ServerSideGetRowsParams, type ServerSideGetRowsRequest, type ServerSideParamsOptions, type SortModel, type SuccessParams, type TableApi, type TablePanelProps, type TableProps, type TextAreaCellColumnDefinition, type TextAreaCellEditorProps, type TextAreaCellRendererProps, type TextCellColumnDefinition, TextCellEditor, type TextCellEditorProps, TextCellRenderer, type TextCellRendererProps, UNSAFE_useTableContext, type UpdateServerSideDataSourceParams, type ValueGetterParams, type ValueParserParams, type ValueSetterParams, type ValueValidator, type ValueValidatorParams, rowSize, useRowSelectionState, waitForAsyncCondition, withDataTableEditor, withDataTableRenderer };
|
|
1394
|
+
export { type AgDomLayout, type AgGetDetailRowDataParams, type AgSort, type AggregationFunction, type AnalyticEvent, _default$2 as Analytics, AnalyticsBulkClient, type AnalyticsBulkConfig, type AnalyticsClient, type AnalyticsConfig$1 as AnalyticsConfig, type AvatarStackItemFilter, type BooleanCellColumnDefinition, BooleanCellEditor, type BooleanCellEditorProps, BooleanCellRenderer, type BooleanCellRendererProps, type ButtonsCellColumnDefinition, ButtonsCellRenderer, type CSVExportConfig, type CellValueChangeParams, _default$1 as ClientSideDataTable, type ClientSideDataTableProps, type ColumnConfig, type ColumnDefinition, type ColumnGroupStateConfig, type CompanyCellColumnDefinition, CompanyCellRenderer, type CompanyCellRendererProps, type ContextPanelApi, type ContextPanelContent, type CurrencyCellColumnDefinition, CurrencyCellEditor, type CurrencyCellEditorProps, CurrencyCellRenderer, type CurrencyCellRendererProps, type CustomBulkEditorFields, type CustomEditorCell, type CustomFilter, type CustomFooterConfig, type CustomRendererCell, type DTExcelFormats, type DataTableCellEditorProps, type DataTableCellRendererProps, type DataTableConfig, type DataTableProps, type DataTableTranslations, type DateCellColumnDefinition, DateCellEditor, type DateCellEditorProps, DateCellRenderer, type DateCellRendererProps, DateFilterRenderer, type DateFilterSelectionType, QuickDateFilterRenderer as DateQuickFilterRenderer, type DateTimeCellColumnDefinition, DateTimeCellEditor, DateTimeCellRenderer, type DetailRowConfig, type EmptyRendererProps, type ExcelExportConfig, type ExtendedColDef, type FilterGroup, type FrameworkComponents, type GetDetailRowDataParams, type GetRowHeightWithFooters, GrandTotalsLabelRenderer, type GranularPartial, type GranularRequired, type GroupCellColumnDefinition, GroupCellRenderer, type HTMLStringExportConfig, type ISearchState, type IServerFilter, type IsEditableParams, type IsRowSelectable, type LinkCellColumnDefinition, LinkCellRenderer, type LinkCellRendererProps, type LocationColumnDefinition, type LocationFilterOpt, LocationFilterRenderer, LocationQuickFilterRenderer, type MultiSelectCellColumnDefinition, MultiSelectCellRenderer, type MultiSelectCellRendererProps, MultiSelectFilterRenderer, MultiSelectQuickFilterRenderer, type NestedColumnDefinition, type NumberCellColumnDefinition, NumberCellEditor, type NumberCellEditorProps, NumberCellRenderer, type NumberCellRendererProps, NumberFilterRenderer, type PartialTableApi, type PeopleCellColumnDefinition, PeopleCellRenderer, type PeopleCellRendererProps, type PercentCellColumnDefinition, PercentCellEditor, type PercentCellEditorProps, PercentCellRenderer, type PercentCellRendererProps, PersonCellRenderer, type PillCellColumnDefinition, PillCellRenderer, type PillCellRendererProps, PillSelectCellEditor, type PillSelectCellEditorProps, type PinnedBottomRow, type RefreshServerSideDataParams, type RowActivePredicateParams, type RowGroupToggledEvent, type RowNode, type RowSelectablePredicateParams, type RowSelectionRef, SelectAllState, type SelectCellColumnDefinition, SelectCellEditor, type SelectCellEditorProps, SelectCellRenderer, type SelectCellRendererProps, _default as ServerSideDataTable, type DataTableProps as ServerSideDataTableProps, type ServerSideGetRowsParams, type ServerSideGetRowsRequest, type ServerSideParamsOptions, SingleSelectQuickFilterRenderer, type SortModel, type SuccessParams, type TableApi, type TablePanelProps, type TableProps, type TextAreaCellColumnDefinition, type TextAreaCellEditorProps, type TextAreaCellRendererProps, type TextCellColumnDefinition, TextCellEditor, type TextCellEditorProps, TextCellRenderer, type TextCellRendererProps, UNSAFE_useTableContext, type UpdateServerSideDataSourceParams, type ValueGetterParams, type ValueParserParams, type ValueSetterParams, type ValueValidator, type ValueValidatorParams, rowSize, useAnalyticsContext, useRowSelectionState, waitForAsyncCondition, withDataTableEditor, withDataTableRenderer };
|