ia-table 0.15.1 → 0.15.3

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/chat.d.ts CHANGED
@@ -901,6 +901,7 @@ declare interface SmartGridCallbackRefCurrent {
901
901
  onSortChange?: ((sortModel: SmartGridSortModel) => void) | null;
902
902
  onFilterChange?: ((filterModel: SmartGridFilterModel) => void) | null;
903
903
  onSearch?: ((searchTerm: SmartGridSearchFunctionParams) => void) | null;
904
+ onContentDensityChange?: ((contentDensity: SmartGridRowHeightType) => void) | null;
904
905
  }
905
906
 
906
907
  declare type SmartGridCellRenderer = {
@@ -964,6 +965,9 @@ declare type SmartGridCellRendererParams = {
964
965
  splits?: SmartGridColumnDefinition[];
965
966
  isEnableResetButton?: boolean;
966
967
  placeholder?: string;
968
+ isOnDemandDropdownOptions?: boolean;
969
+ isDropdownValueLableSame?: boolean;
970
+ getDropdownOptions?: (params: SmartGridDropdownOptionsParams) => Promise<SmartGridSelectOption[]>;
967
971
  } & Record<string, unknown>;
968
972
 
969
973
  declare interface SmartGridCellValueChangedParams {
@@ -1757,6 +1761,12 @@ declare interface SmartGridDisptach {
1757
1761
  payload?: unknown;
1758
1762
  }
1759
1763
 
1764
+ declare interface SmartGridDropdownOptionsParams {
1765
+ value: string | number | (string | number)[] | null;
1766
+ data: SmartGridRowData;
1767
+ colDef: SmartGridColumnDefinition;
1768
+ }
1769
+
1760
1770
  export declare interface SmartGridEditorCommands {
1761
1771
  toggleBold?: () => void;
1762
1772
  toggleItalic?: () => void;
@@ -2807,8 +2817,11 @@ declare type SmartGridRowGroupStatePagination = {
2807
2817
  error?: boolean;
2808
2818
  };
2809
2819
 
2820
+ declare type SmartGridRowHeightType = "default" | "compact" | "comfortable";
2821
+
2810
2822
  declare type SmartGridRowInfo = {
2811
2823
  isFirst: boolean;
2824
+ isLast: boolean;
2812
2825
  span: number;
2813
2826
  rowIds?: (string | number)[];
2814
2827
  };