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