ia-table 0.15.1 → 0.15.2

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
@@ -1175,6 +1175,9 @@ export declare type SmartGridCellRendererParams = {
1175
1175
  splits?: SmartGridColumnDefinition[];
1176
1176
  isEnableResetButton?: boolean;
1177
1177
  placeholder?: string;
1178
+ isOnDemandDropdownOptions?: boolean;
1179
+ isDropdownValueLableSame?: boolean;
1180
+ getDropdownOptions?: (params: SmartGridDropdownOptionsParams) => Promise<SmartGridSelectOption[]>;
1178
1181
  } & Record<string, unknown>;
1179
1182
 
1180
1183
  export declare interface SmartGridCellRendererRendererProps {
@@ -2260,6 +2263,12 @@ export declare interface SmartGridDrawerProps {
2260
2263
 
2261
2264
  export declare type SmartGridDrawerSize = "small" | "medium" | "large";
2262
2265
 
2266
+ export declare interface SmartGridDropdownOptionsParams {
2267
+ value: string | number | (string | number)[] | null;
2268
+ data: SmartGridRowData;
2269
+ colDef: SmartGridColumnDefinition;
2270
+ }
2271
+
2263
2272
  export declare interface SmartGridEditorCommands {
2264
2273
  toggleBold?: () => void;
2265
2274
  toggleItalic?: () => void;
@@ -3124,6 +3133,8 @@ export declare interface SmartGridMenuAlignments {
3124
3133
  AUTO: "auto";
3125
3134
  }
3126
3135
 
3136
+ export declare type SmartGridMenuAnchorOrigin = "start" | "end" | "center";
3137
+
3127
3138
  export declare interface SmartGridMenuOption {
3128
3139
  label: string | number;
3129
3140
  id: string | number;
@@ -3251,6 +3262,7 @@ export declare interface SmartGridMenuProps {
3251
3262
  portalContainer?: HTMLElement;
3252
3263
  additionalButtons?: ReactNode;
3253
3264
  forcePosition?: boolean;
3265
+ anchorOrigin?: SmartGridMenuAnchorOrigin;
3254
3266
  onClick?: (option: SmartGridMenuOption) => void;
3255
3267
  menuContainerClassName?: string;
3256
3268
  primaryButtonProps?: SmartGridMenuPrimaryButtonProps;
@@ -4341,6 +4353,10 @@ export declare interface SmartGridSelectProps {
4341
4353
  tableApi?: SmartGridAPI | null;
4342
4354
  lazyLoadCellRenderer?: boolean;
4343
4355
  isEnableResetButton?: boolean;
4356
+ isOnDemandOptions?: boolean;
4357
+ getDropdownOptions?: (params: SmartGridDropdownOptionsParams) => Promise<SmartGridSelectOption[]>;
4358
+ isDropdownValueLableSame?: boolean;
4359
+ dropdownOptionsParams?: SmartGridDropdownOptionsParams;
4344
4360
  }
4345
4361
 
4346
4362
  export declare interface SmartGridSendPayload {