ia-table 0.14.7 → 0.15.0
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/RadioGroup-Cv9QL-Yd.js +1027 -0
- package/dist/chat.d.ts +3373 -0
- package/dist/chat.js +51341 -0
- package/dist/chat.type-_co7njq2.js +5086 -0
- package/dist/index.d.ts +1478 -15
- package/dist/index.js +9639 -14437
- package/dist/pivot.d.ts +97 -1
- package/dist/pivot.js +278 -261
- package/dist/right-arrow-5CR5OWUs.js +340 -0
- package/package.json +21 -8
- package/dist/right-arrow-u0DuaXma.js +0 -1339
package/dist/pivot.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
2
|
import { default as default_2 } from 'react';
|
|
3
3
|
import { MutableRefObject } from 'react';
|
|
4
|
+
import { RefObject } from 'react';
|
|
4
5
|
|
|
5
6
|
declare const ACTION_TYPES: {
|
|
6
7
|
readonly SET_DATA: "SET_DATA";
|
|
@@ -90,6 +91,10 @@ declare const ACTION_TYPES: {
|
|
|
90
91
|
readonly SET_TOTAL_COLUMNS_COUNT: "SET_TOTAL_COLUMNS_COUNT";
|
|
91
92
|
readonly SET_ALL_CHILD_ROWS_EXPANDED: "SET_ALL_CHILD_ROWS_EXPANDED";
|
|
92
93
|
readonly EXPAND_ROW_WITH_NESTED_CHILDREN: "EXPAND_ROW_WITH_NESTED_CHILDREN";
|
|
94
|
+
readonly SET_CUSTOM_CALLBACKS: "SET_CUSTOM_CALLBACKS";
|
|
95
|
+
readonly SET_COMMENT_CONTEXT_REF: "SET_COMMENT_CONTEXT_REF";
|
|
96
|
+
readonly SET_CHAT_ENABLED: "SET_CHAT_ENABLED";
|
|
97
|
+
readonly SET_COMMENT_ENABLED: "SET_COMMENT_ENABLED";
|
|
93
98
|
};
|
|
94
99
|
|
|
95
100
|
declare class InfiniteBlock {
|
|
@@ -878,7 +883,7 @@ declare type SmartGridCellRenderer = {
|
|
|
878
883
|
colDef: SmartGridColumnDefinition;
|
|
879
884
|
node: SmartGridCellRendererNode;
|
|
880
885
|
api: SmartGridAPI;
|
|
881
|
-
eGridCell: HTMLDivElement | null
|
|
886
|
+
eGridCell: RefObject<HTMLDivElement | null>;
|
|
882
887
|
wholeData: SmartGridRowData[] | null | undefined;
|
|
883
888
|
actions: Record<string, unknown>;
|
|
884
889
|
setDataValue: (colId: string, newValue: unknown) => void;
|
|
@@ -963,6 +968,10 @@ declare interface SmartGridCheckConfiguration {
|
|
|
963
968
|
unCheckAll?: boolean;
|
|
964
969
|
}
|
|
965
970
|
|
|
971
|
+
declare type SmartGridClickCallbackRefCurrent = {
|
|
972
|
+
onCellClick?: ((params: any) => void) | null;
|
|
973
|
+
};
|
|
974
|
+
|
|
966
975
|
/** Client-side datasource interface */
|
|
967
976
|
declare interface SmartGridClientSideDatasource {
|
|
968
977
|
getRows: (params: SmartGridGetRowsRequestParams) => void;
|
|
@@ -1004,6 +1013,88 @@ declare interface SmartGridColumnWithGroupId extends SmartGridBaseColumnDefiniti
|
|
|
1004
1013
|
groupId: string;
|
|
1005
1014
|
}
|
|
1006
1015
|
|
|
1016
|
+
/**
|
|
1017
|
+
* SmartGridComment - Represents a single comment in a thread
|
|
1018
|
+
*/
|
|
1019
|
+
declare interface SmartGridComment {
|
|
1020
|
+
id: string | number;
|
|
1021
|
+
text: string;
|
|
1022
|
+
author: string;
|
|
1023
|
+
timestamp: string;
|
|
1024
|
+
isEdited?: boolean;
|
|
1025
|
+
read?: boolean;
|
|
1026
|
+
isRead?: boolean;
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
/**
|
|
1030
|
+
* SmartGridCommentConfiguration - Configuration options for comment features
|
|
1031
|
+
*/
|
|
1032
|
+
declare interface SmartGridCommentConfiguration {
|
|
1033
|
+
disableMarkAsRead?: boolean;
|
|
1034
|
+
disableMarkAsResolved?: boolean;
|
|
1035
|
+
disableDeleteThread?: boolean;
|
|
1036
|
+
disableEditComment?: boolean;
|
|
1037
|
+
disableDeleteComment?: boolean;
|
|
1038
|
+
disableMultiCommentThread?: boolean;
|
|
1039
|
+
messageIdHighlightTimer?: number;
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
/**
|
|
1043
|
+
* SmartGridCommentContextRef - Context reference for comment functionality
|
|
1044
|
+
* Used by smartGridContextRef in CommentWrapper
|
|
1045
|
+
*/
|
|
1046
|
+
declare interface SmartGridCommentContextRef {
|
|
1047
|
+
comments: SmartGridCommentThread;
|
|
1048
|
+
popup: SmartGridCommentPopup | null;
|
|
1049
|
+
handleCommentIconHover: (params: SmartGridCellRenderer) => void;
|
|
1050
|
+
handleMouseEnter: () => void;
|
|
1051
|
+
handleMouseLeave: () => void;
|
|
1052
|
+
resolvedComments: string[];
|
|
1053
|
+
getLatestUnresolvedThreadId: (cellId: string) => string | null;
|
|
1054
|
+
configuration?: SmartGridCommentConfiguration;
|
|
1055
|
+
colIdentifierKey?: string;
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
/**
|
|
1059
|
+
* SmartGridCommentPopup - State for comment popup
|
|
1060
|
+
*/
|
|
1061
|
+
declare interface SmartGridCommentPopup {
|
|
1062
|
+
position: SmartGridCommentPopupPosition;
|
|
1063
|
+
rowId?: string | number;
|
|
1064
|
+
colId?: string;
|
|
1065
|
+
cellId: string;
|
|
1066
|
+
comment?: SmartGridComment[];
|
|
1067
|
+
author?: string;
|
|
1068
|
+
openedBy: "hover" | "click";
|
|
1069
|
+
data?: SmartGridCommentRowData;
|
|
1070
|
+
messageId?: string | number | null;
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
/**
|
|
1074
|
+
* SmartGridCommentPopupPosition - Position for comment popup
|
|
1075
|
+
*/
|
|
1076
|
+
declare interface SmartGridCommentPopupPosition {
|
|
1077
|
+
top: number;
|
|
1078
|
+
left: number;
|
|
1079
|
+
side?: "left" | "right" | "clamped";
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
/**
|
|
1083
|
+
* SmartGridCommentRowData - Row data associated with a comment
|
|
1084
|
+
*/
|
|
1085
|
+
declare interface SmartGridCommentRowData {
|
|
1086
|
+
[key: string]: unknown;
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* SmartGridCommentThread - A collection of comments keyed by cell ID
|
|
1091
|
+
*/
|
|
1092
|
+
declare type SmartGridCommentThread = Record<string, SmartGridComment[]>;
|
|
1093
|
+
|
|
1094
|
+
declare type SmartGridCustomCallbackRefCurrent = {
|
|
1095
|
+
onCellClick?: ((params: any) => void) | null;
|
|
1096
|
+
};
|
|
1097
|
+
|
|
1007
1098
|
/** Data source context */
|
|
1008
1099
|
declare interface SmartGridDataSourceContext {
|
|
1009
1100
|
infiniteCache?: InfiniteCache;
|
|
@@ -2103,6 +2194,9 @@ declare interface SmartGridStateContext {
|
|
|
2103
2194
|
deleteViewPromptText?: null | string;
|
|
2104
2195
|
}>;
|
|
2105
2196
|
saveViewCallbackRef: MutableRefObject<SmartGridSaveViewCallbackRefCurrent>;
|
|
2197
|
+
clickCallbackRef: MutableRefObject<SmartGridClickCallbackRefCurrent>;
|
|
2198
|
+
customCallback: SmartGridCustomCallbackRefCurrent;
|
|
2199
|
+
contextRef: MutableRefObject<SmartGridCommentContextRef> | null;
|
|
2106
2200
|
tableId: string;
|
|
2107
2201
|
isSingleSelect: boolean;
|
|
2108
2202
|
selectable: boolean;
|
|
@@ -2122,6 +2216,8 @@ declare interface SmartGridStateContext {
|
|
|
2122
2216
|
pivotPanelColumnDef: null | SmartGridColumnDefinition[];
|
|
2123
2217
|
removeCheckConfigurationOnOperation: boolean;
|
|
2124
2218
|
totalColumnsCount: number;
|
|
2219
|
+
isCommentFeatureEnabled: boolean;
|
|
2220
|
+
isChatEnabled: boolean;
|
|
2125
2221
|
[key: string]: unknown;
|
|
2126
2222
|
}
|
|
2127
2223
|
|