@abdellatifui/react 3.2.17 → 3.2.19
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/nextgen.css +1 -1
- package/dist/nextgen.d.ts +33 -13
- package/dist/nextgen.js +5042 -4874
- package/package.json +3 -3
package/dist/nextgen.d.ts
CHANGED
|
@@ -17,11 +17,13 @@ import { InternalAxiosRequestConfig } from 'axios';
|
|
|
17
17
|
import { IntersectionOptions } from 'react-intersection-observer';
|
|
18
18
|
import { JSX } from 'react/jsx-runtime';
|
|
19
19
|
import { MapProps } from 'react-map-gl/maplibre';
|
|
20
|
+
import { MutableRefObject } from 'react';
|
|
20
21
|
import * as React_2 from 'react';
|
|
21
22
|
import { ReactNode } from 'react';
|
|
22
23
|
import { RefAttributes } from 'react';
|
|
23
24
|
import { RefObject } from 'react';
|
|
24
25
|
import { SetStateAction } from 'react';
|
|
26
|
+
import { ThemeDefaultParams } from 'ag-grid-community';
|
|
25
27
|
import { TooltipProviderProps } from '@radix-ui/react-tooltip';
|
|
26
28
|
import { ViewState } from 'react-map-gl/maplibre';
|
|
27
29
|
|
|
@@ -284,7 +286,7 @@ export declare const createDefaultNodeTempate: (params: NodeParams) => NodeTempl
|
|
|
284
286
|
|
|
285
287
|
export { cva }
|
|
286
288
|
|
|
287
|
-
export declare const DataTable: default_2.
|
|
289
|
+
export declare const DataTable: default_2.MemoExoticComponent<(props: TableProps_2) => JSX.Element>;
|
|
288
290
|
|
|
289
291
|
export declare const DialogPanel: default_2.ForwardRefExoticComponent<Omit<DialogPanelProps_2, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
290
292
|
|
|
@@ -547,7 +549,7 @@ export declare interface MenuButtonProps extends ButtonProps {
|
|
|
547
549
|
}>;
|
|
548
550
|
}
|
|
549
551
|
|
|
550
|
-
export declare const Model: default_2.
|
|
552
|
+
export declare const Model: default_2.NamedExoticComponent<ModelProps_2 & default_2.RefAttributes<ModelHandle_2>>;
|
|
551
553
|
|
|
552
554
|
export declare const ModelContext: Context< {}>;
|
|
553
555
|
|
|
@@ -578,11 +580,12 @@ declare interface ModelProps_2 {
|
|
|
578
580
|
children?: default_2.ReactNode;
|
|
579
581
|
bodyClick?: boolean;
|
|
580
582
|
className?: string;
|
|
581
|
-
variant?:
|
|
583
|
+
variant?: "transparent" | "blur" | "dimmed";
|
|
582
584
|
inline?: boolean;
|
|
583
585
|
hideOnContextMenu?: boolean;
|
|
584
586
|
onBodyClick?: (event: default_2.MouseEvent<HTMLDivElement>) => void;
|
|
585
587
|
blur?: boolean;
|
|
588
|
+
container?: MutableRefObject<HTMLDivElement>;
|
|
586
589
|
}
|
|
587
590
|
|
|
588
591
|
export declare const MuiTable: (props: any) => JSX.Element;
|
|
@@ -905,7 +908,7 @@ export declare const Sidebar: default_2.ForwardRefExoticComponent<Omit<SidebarPr
|
|
|
905
908
|
|
|
906
909
|
export declare type SidebarDirection = 'left' | 'right';
|
|
907
910
|
|
|
908
|
-
declare type SidebarDirection_2 =
|
|
911
|
+
declare type SidebarDirection_2 = "left" | "right";
|
|
909
912
|
|
|
910
913
|
export declare interface SidebarEvent {
|
|
911
914
|
isOpen: boolean;
|
|
@@ -941,7 +944,7 @@ declare interface SidebarHandle_2 {
|
|
|
941
944
|
|
|
942
945
|
export declare type SidebarModelProps = Partial<Omit<ModelProps, 'children'>>;
|
|
943
946
|
|
|
944
|
-
declare type SidebarModelProps_2 = Partial<Omit<ModelProps_2,
|
|
947
|
+
declare type SidebarModelProps_2 = Partial<Omit<ModelProps_2, "children">>;
|
|
945
948
|
|
|
946
949
|
export declare interface SidebarProps {
|
|
947
950
|
variant?: SidebarVariant;
|
|
@@ -962,9 +965,9 @@ export declare interface SidebarProps {
|
|
|
962
965
|
|
|
963
966
|
declare interface SidebarProps_2 {
|
|
964
967
|
variant?: SidebarVariant_2;
|
|
965
|
-
rounded?:
|
|
968
|
+
rounded?: "none" | "sm" | "md" | "lg" | "xl" | "xxl";
|
|
966
969
|
padding?: boolean;
|
|
967
|
-
margin?:
|
|
970
|
+
margin?: "none" | "sm" | "md" | "lg" | "xl" | "xxl";
|
|
968
971
|
direction?: SidebarDirection_2;
|
|
969
972
|
defaultOpen?: boolean;
|
|
970
973
|
children?: ReactNode;
|
|
@@ -979,7 +982,7 @@ declare interface SidebarProps_2 {
|
|
|
979
982
|
|
|
980
983
|
export declare type SidebarVariant = 'default';
|
|
981
984
|
|
|
982
|
-
declare type SidebarVariant_2 =
|
|
985
|
+
declare type SidebarVariant_2 = "default";
|
|
983
986
|
|
|
984
987
|
export declare interface SizeVariants {
|
|
985
988
|
size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
@@ -1136,6 +1139,7 @@ declare interface TableProps_2 {
|
|
|
1136
1139
|
aggrid: AgGridReactProps;
|
|
1137
1140
|
pageSize: number;
|
|
1138
1141
|
rowHeight: string;
|
|
1142
|
+
enableRowStream?: boolean;
|
|
1139
1143
|
tableName: string;
|
|
1140
1144
|
enablePagination?: boolean;
|
|
1141
1145
|
enableContextMenu?: boolean;
|
|
@@ -1143,11 +1147,14 @@ declare interface TableProps_2 {
|
|
|
1143
1147
|
toolbarBtns?: any[];
|
|
1144
1148
|
hidden?: any[];
|
|
1145
1149
|
enableExpand: boolean;
|
|
1150
|
+
cellGrid: boolean;
|
|
1151
|
+
supressCellRefresh: boolean;
|
|
1146
1152
|
autoSizeStrategy?: string;
|
|
1147
1153
|
headerMapper?: {
|
|
1148
1154
|
key: string;
|
|
1149
1155
|
value: any;
|
|
1150
1156
|
}[];
|
|
1157
|
+
tableTheme?: ThemeDefaultParams;
|
|
1151
1158
|
menuItems?: {
|
|
1152
1159
|
label: string;
|
|
1153
1160
|
icon: any;
|
|
@@ -1160,7 +1167,16 @@ declare interface TableProps_2 {
|
|
|
1160
1167
|
onCellClick?: (params: any, value: any, field: string) => void;
|
|
1161
1168
|
onTableBuilt?: (callback: any) => void;
|
|
1162
1169
|
onExpand?: (params: any) => void;
|
|
1170
|
+
showCellTextInTopBar: boolean;
|
|
1163
1171
|
onRefresh?: (callback: any) => void;
|
|
1172
|
+
columnProps?: [
|
|
1173
|
+
{
|
|
1174
|
+
minWidth: number;
|
|
1175
|
+
maxWidth: number;
|
|
1176
|
+
column: string;
|
|
1177
|
+
index: number;
|
|
1178
|
+
}
|
|
1179
|
+
];
|
|
1164
1180
|
onChangeItem: {
|
|
1165
1181
|
key: string;
|
|
1166
1182
|
operation: void;
|
|
@@ -1178,9 +1194,11 @@ declare interface TableProps_2 {
|
|
|
1178
1194
|
topbar?: boolean;
|
|
1179
1195
|
hideFromTable?: any[];
|
|
1180
1196
|
formater?: any;
|
|
1197
|
+
fontFamily: string;
|
|
1181
1198
|
viewAsArray?: any[];
|
|
1182
1199
|
filter?: any;
|
|
1183
1200
|
groupBy?: any;
|
|
1201
|
+
rowSelectionBgColor?: string;
|
|
1184
1202
|
onMultiRowSelection?: (params: any, rows: any[]) => void;
|
|
1185
1203
|
}
|
|
1186
1204
|
|
|
@@ -1203,13 +1221,14 @@ export declare interface TextAreaProps extends default_2.TextareaHTMLAttributes<
|
|
|
1203
1221
|
*/
|
|
1204
1222
|
export declare function throttle(func: Function, limit: number): (this: any, ...args: any[]) => void;
|
|
1205
1223
|
|
|
1206
|
-
export declare const TinnyHelp: (props:
|
|
1224
|
+
export declare const TinnyHelp: (props: TinnyHelpProps) => JSX.Element;
|
|
1207
1225
|
|
|
1208
1226
|
export declare interface TinnyHelpProps {
|
|
1209
|
-
info
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1227
|
+
info: string;
|
|
1228
|
+
help: string;
|
|
1229
|
+
more: React.ReactNode | string;
|
|
1230
|
+
className: string;
|
|
1231
|
+
description: string;
|
|
1213
1232
|
}
|
|
1214
1233
|
|
|
1215
1234
|
export declare const Toast: ForwardRefExoticComponent<RefAttributes<unknown>>;
|
|
@@ -1268,6 +1287,7 @@ export declare const useApi: (props: any) => {
|
|
|
1268
1287
|
ready: boolean;
|
|
1269
1288
|
socketioConnected: boolean;
|
|
1270
1289
|
connected: boolean;
|
|
1290
|
+
csid: string;
|
|
1271
1291
|
pool: RefObject<any[]>;
|
|
1272
1292
|
props: any;
|
|
1273
1293
|
create(config?: CreateAxiosDefaults): AxiosInstance;
|