ia-table 0.13.1 → 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 +10 -6
- package/dist/index.js +7339 -7291
- 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";
|
|
@@ -2971,7 +2974,7 @@ export declare interface SmartGridTableBodyContentProps {
|
|
|
2971
2974
|
headerHeight?: number | string;
|
|
2972
2975
|
showHeader?: boolean;
|
|
2973
2976
|
masterDetail?: boolean;
|
|
2974
|
-
height
|
|
2977
|
+
height: number | string;
|
|
2975
2978
|
normalScrollContainerRef: RefObject<HTMLDivElement>;
|
|
2976
2979
|
ShowFullText?: boolean;
|
|
2977
2980
|
enterPriseTableRef: RefObject<HTMLDivElement>;
|
|
@@ -2993,6 +2996,7 @@ export declare interface SmartGridTableBodyProps {
|
|
|
2993
2996
|
virtualizedStartCololumnIndex: MutableRefObject<number>;
|
|
2994
2997
|
columnHorizontalScrollContainerRef: RefObject<HTMLDivElement>;
|
|
2995
2998
|
paginateOriginalRowsOnly?: boolean;
|
|
2999
|
+
height: string | number;
|
|
2996
3000
|
}
|
|
2997
3001
|
|
|
2998
3002
|
export declare type SmartGridTableComponentProps = SmartGridTableProps;
|
|
@@ -3015,7 +3019,7 @@ export declare interface SmartGridTableContentDetailsProps {
|
|
|
3015
3019
|
adjustTableHeightServerSide?: boolean;
|
|
3016
3020
|
paginateOriginalRowsOnly?: boolean;
|
|
3017
3021
|
tableId?: string;
|
|
3018
|
-
height
|
|
3022
|
+
height: number | string;
|
|
3019
3023
|
ShowFullText?: boolean;
|
|
3020
3024
|
isLeftPinnedRowsAvailable?: boolean;
|
|
3021
3025
|
columnScrollHandlerRef?: MutableRefObject<SmartGridScrollHandler | null>;
|
|
@@ -3027,7 +3031,7 @@ export declare interface SmartGridTableContentProps {
|
|
|
3027
3031
|
showFooter?: boolean;
|
|
3028
3032
|
showToolbar?: boolean;
|
|
3029
3033
|
showSaveTableConfig?: boolean;
|
|
3030
|
-
height
|
|
3034
|
+
height: number | string;
|
|
3031
3035
|
headerHeight?: number | string;
|
|
3032
3036
|
pagination?: boolean;
|
|
3033
3037
|
paginateOriginalRowsOnly?: boolean;
|
|
@@ -3111,7 +3115,7 @@ export declare interface SmartGridTableContentRendererProps {
|
|
|
3111
3115
|
containerStyles: CSSProperties;
|
|
3112
3116
|
bodyContainerClassName: string;
|
|
3113
3117
|
bodyScrollContainer: RefObject<HTMLDivElement | null>;
|
|
3114
|
-
height
|
|
3118
|
+
height: number | string;
|
|
3115
3119
|
handleHorizontalNormalScroll: SmartGridScrollHandler;
|
|
3116
3120
|
paginateOriginalRowsOnly?: boolean;
|
|
3117
3121
|
adjustTableHeightServerSide?: boolean;
|
|
@@ -3325,10 +3329,10 @@ export declare interface SmartGridTooltipButton {
|
|
|
3325
3329
|
}
|
|
3326
3330
|
|
|
3327
3331
|
export declare interface SmartGridTooltipConfig {
|
|
3328
|
-
title
|
|
3332
|
+
title: string;
|
|
3333
|
+
targetRef: RefObject<HTMLElement>;
|
|
3329
3334
|
varient?: SmartGridTooltipVariant;
|
|
3330
3335
|
orientation?: SmartGridTooltipOrientation;
|
|
3331
|
-
targetRef?: RefObject<HTMLElement>;
|
|
3332
3336
|
illustration?: string;
|
|
3333
3337
|
icon?: ReactNode | null;
|
|
3334
3338
|
bodyText?: string;
|