ia-table 0.13.0 → 0.13.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 +22 -11
- package/dist/index.js +7505 -7438
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -586,6 +586,8 @@ export declare interface SmartGridAPI {
|
|
|
586
586
|
}) => void;
|
|
587
587
|
setServerSideDataSource: (dataSource: SmartGridServerSideDataSource, resetCache?: boolean) => void;
|
|
588
588
|
updateSmartGridTableData: (wholeData: SmartGridRowData[]) => void;
|
|
589
|
+
downloadSmartGridExcel: (fileName?: string, visibleOnly?: boolean) => void;
|
|
590
|
+
downloadSmartGridCSV: (fileName?: string, visibleOnly?: boolean) => void;
|
|
589
591
|
}
|
|
590
592
|
|
|
591
593
|
export declare type SmartGridBadgeColor = "default" | "success" | "warning" | "error" | "info";
|
|
@@ -868,6 +870,7 @@ export declare interface SmartGridButtonProps {
|
|
|
868
870
|
disabled?: boolean;
|
|
869
871
|
leftIcon?: ReactNode;
|
|
870
872
|
rightIcon?: ReactNode;
|
|
873
|
+
buttonRef?: MutableRefObject<HTMLButtonElement> | RefObject<HTMLButtonElement>;
|
|
871
874
|
}
|
|
872
875
|
|
|
873
876
|
export declare type SmartGridButtonSize = "small" | "medium" | "large";
|
|
@@ -1153,12 +1156,18 @@ export declare interface SmartGridCheckboxProps {
|
|
|
1153
1156
|
className?: string;
|
|
1154
1157
|
}
|
|
1155
1158
|
|
|
1159
|
+
export declare type SmartGridCheckConfigraitonSearchField = {
|
|
1160
|
+
type: string;
|
|
1161
|
+
filterType: string;
|
|
1162
|
+
filter: string;
|
|
1163
|
+
};
|
|
1164
|
+
|
|
1156
1165
|
export declare interface SmartGridCheckConfiguration {
|
|
1157
1166
|
checkedRows?: string[];
|
|
1158
1167
|
unCheckedRows?: string[];
|
|
1159
1168
|
checkAll?: boolean;
|
|
1160
|
-
searchColumns?:
|
|
1161
|
-
[key: string]:
|
|
1169
|
+
searchColumns?: SmartGridCheckConfigraitonSearchField | {
|
|
1170
|
+
[key: string]: SmartGridCheckConfigraitonSearchField;
|
|
1162
1171
|
};
|
|
1163
1172
|
unCheckAll?: boolean;
|
|
1164
1173
|
}
|
|
@@ -1428,9 +1437,9 @@ export declare interface SmartGridDateRangeValue {
|
|
|
1428
1437
|
export declare type SmartGridDefaultColDef = {
|
|
1429
1438
|
minWidth: number;
|
|
1430
1439
|
headerComponentParams?: {
|
|
1431
|
-
innerHeaderComponent:
|
|
1440
|
+
innerHeaderComponent: React.FC<SmartGridHeaderStyleParams> | null;
|
|
1432
1441
|
};
|
|
1433
|
-
headerComponent?:
|
|
1442
|
+
headerComponent?: React.FC<SmartGridHeaderStyleParams> | null;
|
|
1434
1443
|
};
|
|
1435
1444
|
|
|
1436
1445
|
export declare type SmartGridDispatch = (action: {
|
|
@@ -2367,6 +2376,7 @@ export declare interface SmartGridRefreshOptions {
|
|
|
2367
2376
|
purge?: boolean;
|
|
2368
2377
|
resetPage?: boolean;
|
|
2369
2378
|
userInitiated?: boolean;
|
|
2379
|
+
resetFilters?: boolean;
|
|
2370
2380
|
}
|
|
2371
2381
|
|
|
2372
2382
|
export declare interface SmartGridRemoveLazyLoadParams {
|
|
@@ -2814,7 +2824,7 @@ export declare interface SmartGridSortWithHeaderNameProps {
|
|
|
2814
2824
|
maxHeight: number;
|
|
2815
2825
|
maxLineCount: number;
|
|
2816
2826
|
} | null;
|
|
2817
|
-
innerHeaderComponent?:
|
|
2827
|
+
innerHeaderComponent?: React.FC<SmartGridHeaderStyleParams> | null;
|
|
2818
2828
|
customHeaderProps?: SmartGridHeaderStyleParams;
|
|
2819
2829
|
}
|
|
2820
2830
|
|
|
@@ -2964,7 +2974,7 @@ export declare interface SmartGridTableBodyContentProps {
|
|
|
2964
2974
|
headerHeight?: number | string;
|
|
2965
2975
|
showHeader?: boolean;
|
|
2966
2976
|
masterDetail?: boolean;
|
|
2967
|
-
height
|
|
2977
|
+
height: number | string;
|
|
2968
2978
|
normalScrollContainerRef: RefObject<HTMLDivElement>;
|
|
2969
2979
|
ShowFullText?: boolean;
|
|
2970
2980
|
enterPriseTableRef: RefObject<HTMLDivElement>;
|
|
@@ -2986,6 +2996,7 @@ export declare interface SmartGridTableBodyProps {
|
|
|
2986
2996
|
virtualizedStartCololumnIndex: MutableRefObject<number>;
|
|
2987
2997
|
columnHorizontalScrollContainerRef: RefObject<HTMLDivElement>;
|
|
2988
2998
|
paginateOriginalRowsOnly?: boolean;
|
|
2999
|
+
height: string | number;
|
|
2989
3000
|
}
|
|
2990
3001
|
|
|
2991
3002
|
export declare type SmartGridTableComponentProps = SmartGridTableProps;
|
|
@@ -3008,7 +3019,7 @@ export declare interface SmartGridTableContentDetailsProps {
|
|
|
3008
3019
|
adjustTableHeightServerSide?: boolean;
|
|
3009
3020
|
paginateOriginalRowsOnly?: boolean;
|
|
3010
3021
|
tableId?: string;
|
|
3011
|
-
height
|
|
3022
|
+
height: number | string;
|
|
3012
3023
|
ShowFullText?: boolean;
|
|
3013
3024
|
isLeftPinnedRowsAvailable?: boolean;
|
|
3014
3025
|
columnScrollHandlerRef?: MutableRefObject<SmartGridScrollHandler | null>;
|
|
@@ -3020,7 +3031,7 @@ export declare interface SmartGridTableContentProps {
|
|
|
3020
3031
|
showFooter?: boolean;
|
|
3021
3032
|
showToolbar?: boolean;
|
|
3022
3033
|
showSaveTableConfig?: boolean;
|
|
3023
|
-
height
|
|
3034
|
+
height: number | string;
|
|
3024
3035
|
headerHeight?: number | string;
|
|
3025
3036
|
pagination?: boolean;
|
|
3026
3037
|
paginateOriginalRowsOnly?: boolean;
|
|
@@ -3104,7 +3115,7 @@ export declare interface SmartGridTableContentRendererProps {
|
|
|
3104
3115
|
containerStyles: CSSProperties;
|
|
3105
3116
|
bodyContainerClassName: string;
|
|
3106
3117
|
bodyScrollContainer: RefObject<HTMLDivElement | null>;
|
|
3107
|
-
height
|
|
3118
|
+
height: number | string;
|
|
3108
3119
|
handleHorizontalNormalScroll: SmartGridScrollHandler;
|
|
3109
3120
|
paginateOriginalRowsOnly?: boolean;
|
|
3110
3121
|
adjustTableHeightServerSide?: boolean;
|
|
@@ -3318,10 +3329,10 @@ export declare interface SmartGridTooltipButton {
|
|
|
3318
3329
|
}
|
|
3319
3330
|
|
|
3320
3331
|
export declare interface SmartGridTooltipConfig {
|
|
3321
|
-
title
|
|
3332
|
+
title: string;
|
|
3333
|
+
targetRef: RefObject<HTMLElement>;
|
|
3322
3334
|
varient?: SmartGridTooltipVariant;
|
|
3323
3335
|
orientation?: SmartGridTooltipOrientation;
|
|
3324
|
-
targetRef?: RefObject<HTMLElement>;
|
|
3325
3336
|
illustration?: string;
|
|
3326
3337
|
icon?: ReactNode | null;
|
|
3327
3338
|
bodyText?: string;
|