ia-table 0.15.5 → 0.15.7

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
@@ -111,6 +111,8 @@ declare const ACTION_TYPES: {
111
111
  readonly SET_DATA_IS_TREE_DATA: "SET_DATA_IS_TREE_DATA";
112
112
  readonly SET_VIRTUALIZATION_CONFIG: "SET_VIRTUALIZATION_CONFIG";
113
113
  readonly SET_DISABLE_CURRENT_PAGE_RECORDS: "SET_DISABLE_CURRENT_PAGE_RECORDS";
114
+ readonly SET_FORCE_SHOW_LOADING: "SET_FORCE_SHOW_LOADING";
115
+ readonly UPDATE_ROW_DATA_WITH_REFRESH: "UPDATE_ROW_DATA_WITH_REFRESH";
114
116
  };
115
117
 
116
118
  declare interface ChildHeightsResult {
@@ -551,6 +553,7 @@ export declare interface SmartGridAPI extends SmartGridPaginationAPI, SmartGridA
551
553
  logCacheSummary: () => void | null;
552
554
  getCachedRowById: (id: string | number) => SmartGridRowData | null;
553
555
  getRowNode: (key: string | number) => Partial<SmartGridRowNode> | null;
556
+ getRowNodeWithIndex: (rowIndex: number) => Partial<SmartGridRowNode> | null;
554
557
  setVisibleRange: (startRow: number, endRow: number) => void;
555
558
  refreshCache: (options?: SmartGridRefreshOptions) => boolean;
556
559
  deselectAll: () => void;
@@ -621,6 +624,8 @@ export declare interface SmartGridAPI extends SmartGridPaginationAPI, SmartGridA
621
624
  updateSmartGridTableData: (wholeData: SmartGridRowData[]) => void;
622
625
  downloadSmartGridExcel: (fileName?: string, visibleOnly?: boolean) => void;
623
626
  downloadSmartGridCSV: (fileName?: string, visibleOnly?: boolean) => void;
627
+ showLoadingOverlay: () => void;
628
+ hideOverlay: () => void;
624
629
  }
625
630
 
626
631
  export declare type SmartGridApiExtra = {
@@ -893,8 +898,6 @@ export declare interface SmartGridBodyCellDetailProps {
893
898
  hasChildren: boolean;
894
899
  isAggregationParentRowWithAggregatedData: boolean;
895
900
  lazyLoadCellRenderer?: boolean;
896
- totalRows?: number;
897
- totalColumns?: number;
898
901
  childKeyField: string;
899
902
  isCommentFeatureEnabled: boolean;
900
903
  }
@@ -925,6 +928,7 @@ export declare interface SmartGridBodyCellProps {
925
928
  isLeftPinnedRowsAvailable?: boolean;
926
929
  style?: CSSProperties | null;
927
930
  index: number;
931
+ rowId: string | number;
928
932
  }
929
933
 
930
934
  export declare interface SmartGridButtonProps {
@@ -4231,7 +4235,6 @@ export declare interface SmartGridRowRenderProps {
4231
4235
  isLoading?: boolean;
4232
4236
  shimmerRowCount?: number;
4233
4237
  virtualizedStartCololumnIndex: MutableRefObject<number>;
4234
- columnHorizontalScrollContainerRef: RefObject<HTMLDivElement>;
4235
4238
  tableApi: SmartGridAPI | null;
4236
4239
  scrollContainerRef: RefObject<HTMLDivElement>;
4237
4240
  rowHeightCache: RowHeightCache | null;
@@ -4643,6 +4646,7 @@ export declare interface SmartGridStateContext {
4643
4646
  treeData: boolean;
4644
4647
  virtualizationConfig: SmartGridVirConfig;
4645
4648
  disableCurrentPageRecords: boolean;
4649
+ showForceLoading: boolean;
4646
4650
  [key: string]: unknown;
4647
4651
  }
4648
4652
 
@@ -4729,7 +4733,6 @@ export declare interface SmartGridTableBodyProps {
4729
4733
  isInfiniteLoadingMoreRef: MutableRefObject<boolean>;
4730
4734
  shimmerRowCount?: number;
4731
4735
  virtualizedStartCololumnIndex: MutableRefObject<number>;
4732
- columnHorizontalScrollContainerRef: RefObject<HTMLDivElement>;
4733
4736
  paginateOriginalRowsOnly?: boolean;
4734
4737
  height: string | number;
4735
4738
  }