ia-table 0.14.3 → 0.14.4

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/dist/index.d.ts CHANGED
@@ -97,6 +97,7 @@ declare const ACTION_TYPES: {
97
97
  readonly SET_HAS_SPLIT_RENDERER: "SET_HAS_SPLIT_RENDERER";
98
98
  readonly SET_HAS_SPLIT_RENDERER_KEYS: "SET_HAS_SPLIT_RENDERER_KEYS";
99
99
  readonly SET_REMOVE_SELECTION_ON_OPERATION: "SET_REMOVE_SELECTION_ON_OPERATION";
100
+ readonly SET_REMOVE_CHECK_CONFIGURATION_ON_OPERATION: "SET_REMOVE_CHECK_CONFIGURATION_ON_OPERATION";
100
101
  };
101
102
 
102
103
  declare interface ChildHeightsResult {
@@ -513,6 +514,7 @@ export declare interface SmartGridAPI {
513
514
  getIsSelectAllRecords: () => boolean;
514
515
  setIsSelectAllRecords: (value: boolean) => void;
515
516
  getSelectedRows: () => SmartGridRowData[];
517
+ getSelectedRowsID: () => (string | number)[];
516
518
  setSelectedRows: (rowIds: (string | number)[]) => void;
517
519
  clearSelection: () => void;
518
520
  selectAll: () => void;
@@ -536,7 +538,7 @@ export declare interface SmartGridAPI {
536
538
  getTableWidth: () => number;
537
539
  sizeColumnsToFit: () => void;
538
540
  setRowData: (newData: SmartGridRowData[]) => boolean | void;
539
- forEachNode: (callback: (node: SmartGridRowNode, index: number) => void) => void;
541
+ forEachNode: (callback: (node: SmartGridRowNode, index: number) => void | Promise<void>) => Promise<void>;
540
542
  getColumnDefs: () => SmartGridColumnDefinition[];
541
543
  getAllColumns: () => SmartGridColumnDefinition[];
542
544
  setColumnDefs: (newColumns: SmartGridColumnDefinition) => void;
@@ -703,6 +705,7 @@ export declare interface SmartGridBaseColumnDefinition {
703
705
  is_multi?: boolean;
704
706
  options_column?: string;
705
707
  aggregation_func?: SmartGridSelectOption[];
708
+ enableCommaSeparated?: boolean;
706
709
  [key: string]: unknown;
707
710
  };
708
711
  headerComponent?: default_2.FC<SmartGridHeaderStyleParams>;
@@ -1173,6 +1176,7 @@ export declare type SmartGridCheckConfigraitonSearchField = {
1173
1176
  type: string;
1174
1177
  filterType: string;
1175
1178
  filter: string;
1179
+ filterMax?: string;
1176
1180
  };
1177
1181
 
1178
1182
  export declare interface SmartGridCheckConfiguration {
@@ -1324,7 +1328,7 @@ export declare interface SmartGridDateConstraints {
1324
1328
  maxDate?: Date | string | null;
1325
1329
  }
1326
1330
 
1327
- export declare type SmartGridDateFormat = "YYYY-MM-DD" | "DD-MM-YYYY" | "MM-DD-YYYY";
1331
+ export declare type SmartGridDateFormat = "YYYY-MM-DD" | "DD-MM-YYYY" | "MM-DD-YYYY" | "YYYY/MM/DD" | "DD/MM/YYYY" | "MM/DD/YYYY";
1328
1332
 
1329
1333
  export declare type SmartGridDatePickerHandler = React.MouseEvent<HTMLButtonElement> | KeyboardEvent;
1330
1334
 
@@ -1693,6 +1697,7 @@ export declare interface SmartGridGetDatePickerDataParams {
1693
1697
  startDate?: string;
1694
1698
  endDate?: string;
1695
1699
  } | string | string[];
1700
+ dateFormat?: string;
1696
1701
  }
1697
1702
 
1698
1703
  export declare interface SmartGridGetErrorInDateTimeParams {
@@ -3187,6 +3192,7 @@ export declare interface SmartGridStateContext {
3187
3192
  savedViewsOptions?: SmartGridSavedViewsOptions[];
3188
3193
  } & Record<string, unknown>;
3189
3194
  pivotPanelColumnDef: null | SmartGridColumnDefinition[];
3195
+ removeCheckConfigurationOnOperation: boolean;
3190
3196
  [key: string]: unknown;
3191
3197
  }
3192
3198
 
@@ -3423,7 +3429,7 @@ export declare interface SmartGridTableModel {
3423
3429
  getFilterModel: () => SmartGridFilterModel;
3424
3430
  getType: () => SmartGridModelType;
3425
3431
  getRowsToDisplay: () => number;
3426
- forEachNode: (callback: (node: SmartGridRowNode, index: number) => void) => void;
3432
+ forEachNode: (callback: (node: SmartGridRowNode, index: number) => void | Promise<void>) => Promise<void>;
3427
3433
  getRowNode: (id: string | number) => SmartGridRowNode | null;
3428
3434
  getSelectedRows: () => SmartGridRowData[];
3429
3435
  getPaginationModel: () => SmartGridPaginationModel;
@@ -3553,6 +3559,7 @@ export declare interface SmartGridTableProps extends SmartGridSaveViewCallbackRe
3553
3559
  hasSplitRenderer?: boolean;
3554
3560
  splitRendererKeys?: string[];
3555
3561
  removeSelectionOnOperation?: boolean;
3562
+ removeCheckConfigurationOnOperation?: boolean;
3556
3563
  pivotConfig?: SmartGridPivotConfig;
3557
3564
  /**
3558
3565
  * Controls whether the table should show loading state.