ia-table 0.14.2 → 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 +20 -4
- package/dist/index.js +8859 -8714
- package/dist/locale-patch-applied.txt +1 -0
- package/dist/pivot.d.ts +9 -4
- package/dist/pivot.js +1 -1
- package/dist/{right-arrow-Bi4Q_XN2.js → right-arrow-DVcW5eaL.js} +483 -471
- package/package.json +1 -1
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>;
|
|
@@ -841,6 +844,7 @@ export declare interface SmartGridBodyCellDetailProps {
|
|
|
841
844
|
hasChildren: boolean;
|
|
842
845
|
isAggregationParentRowWithAggregatedData: boolean;
|
|
843
846
|
lazyLoadCellRenderer?: boolean;
|
|
847
|
+
childKeyField: string;
|
|
844
848
|
}
|
|
845
849
|
|
|
846
850
|
export declare interface SmartGridBodyCellProps {
|
|
@@ -1172,6 +1176,7 @@ export declare type SmartGridCheckConfigraitonSearchField = {
|
|
|
1172
1176
|
type: string;
|
|
1173
1177
|
filterType: string;
|
|
1174
1178
|
filter: string;
|
|
1179
|
+
filterMax?: string;
|
|
1175
1180
|
};
|
|
1176
1181
|
|
|
1177
1182
|
export declare interface SmartGridCheckConfiguration {
|
|
@@ -1323,7 +1328,7 @@ export declare interface SmartGridDateConstraints {
|
|
|
1323
1328
|
maxDate?: Date | string | null;
|
|
1324
1329
|
}
|
|
1325
1330
|
|
|
1326
|
-
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";
|
|
1327
1332
|
|
|
1328
1333
|
export declare type SmartGridDatePickerHandler = React.MouseEvent<HTMLButtonElement> | KeyboardEvent;
|
|
1329
1334
|
|
|
@@ -1569,6 +1574,7 @@ export declare interface SmartGridExpandableCellProps {
|
|
|
1569
1574
|
isRowGroupEnabled: boolean;
|
|
1570
1575
|
updatedCellId: string | number;
|
|
1571
1576
|
isGroupRowExpanded: boolean;
|
|
1577
|
+
childKeyField: string;
|
|
1572
1578
|
}
|
|
1573
1579
|
|
|
1574
1580
|
export declare type SmartGridExpandedChildRows = {
|
|
@@ -1691,6 +1697,7 @@ export declare interface SmartGridGetDatePickerDataParams {
|
|
|
1691
1697
|
startDate?: string;
|
|
1692
1698
|
endDate?: string;
|
|
1693
1699
|
} | string | string[];
|
|
1700
|
+
dateFormat?: string;
|
|
1694
1701
|
}
|
|
1695
1702
|
|
|
1696
1703
|
export declare interface SmartGridGetErrorInDateTimeParams {
|
|
@@ -2055,6 +2062,7 @@ export declare interface SmartGridInputProps {
|
|
|
2055
2062
|
height?: string | number;
|
|
2056
2063
|
onFocus?: (e: FocusEvent_2<HTMLInputElement>) => void;
|
|
2057
2064
|
onBlur?: (e: FocusEvent_2<HTMLInputElement>) => void;
|
|
2065
|
+
autoFocus?: boolean;
|
|
2058
2066
|
}
|
|
2059
2067
|
|
|
2060
2068
|
export declare type SmartGridInputType = "text" | "password" | "email" | "number" | "tel" | "int" | "url";
|
|
@@ -3154,7 +3162,7 @@ export declare interface SmartGridStateContext {
|
|
|
3154
3162
|
height: number;
|
|
3155
3163
|
padding: number;
|
|
3156
3164
|
};
|
|
3157
|
-
aggregationTotalRow: SmartGridRowData | null;
|
|
3165
|
+
aggregationTotalRow: Record<number, SmartGridRowData> | null;
|
|
3158
3166
|
hasAggregation: boolean;
|
|
3159
3167
|
callBackRef: MutableRefObject<SmartGridCallbackRefCurrent | null>;
|
|
3160
3168
|
exportCallbackRef: MutableRefObject<{
|
|
@@ -3184,6 +3192,7 @@ export declare interface SmartGridStateContext {
|
|
|
3184
3192
|
savedViewsOptions?: SmartGridSavedViewsOptions[];
|
|
3185
3193
|
} & Record<string, unknown>;
|
|
3186
3194
|
pivotPanelColumnDef: null | SmartGridColumnDefinition[];
|
|
3195
|
+
removeCheckConfigurationOnOperation: boolean;
|
|
3187
3196
|
[key: string]: unknown;
|
|
3188
3197
|
}
|
|
3189
3198
|
|
|
@@ -3420,7 +3429,7 @@ export declare interface SmartGridTableModel {
|
|
|
3420
3429
|
getFilterModel: () => SmartGridFilterModel;
|
|
3421
3430
|
getType: () => SmartGridModelType;
|
|
3422
3431
|
getRowsToDisplay: () => number;
|
|
3423
|
-
forEachNode: (callback: (node: SmartGridRowNode, index: number) => void) => void
|
|
3432
|
+
forEachNode: (callback: (node: SmartGridRowNode, index: number) => void | Promise<void>) => Promise<void>;
|
|
3424
3433
|
getRowNode: (id: string | number) => SmartGridRowNode | null;
|
|
3425
3434
|
getSelectedRows: () => SmartGridRowData[];
|
|
3426
3435
|
getPaginationModel: () => SmartGridPaginationModel;
|
|
@@ -3550,7 +3559,14 @@ export declare interface SmartGridTableProps extends SmartGridSaveViewCallbackRe
|
|
|
3550
3559
|
hasSplitRenderer?: boolean;
|
|
3551
3560
|
splitRendererKeys?: string[];
|
|
3552
3561
|
removeSelectionOnOperation?: boolean;
|
|
3562
|
+
removeCheckConfigurationOnOperation?: boolean;
|
|
3553
3563
|
pivotConfig?: SmartGridPivotConfig;
|
|
3564
|
+
/**
|
|
3565
|
+
* Controls whether the table should show loading state.
|
|
3566
|
+
* When `false` and data is null/empty, the table will show "No data available" instead of shimmer/loading.
|
|
3567
|
+
* When `true` or undefined (default), normal loading behavior applies.
|
|
3568
|
+
*/
|
|
3569
|
+
loadingData?: boolean;
|
|
3554
3570
|
}
|
|
3555
3571
|
|
|
3556
3572
|
export declare interface SmartGridTableRef {
|