@abdellatifui/react 3.0.18 → 3.0.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.d.ts CHANGED
@@ -15,6 +15,7 @@ import { ForwardRefExoticComponent } from 'react';
15
15
  import { HeadersDefaults } from 'axios';
16
16
  import { InternalAxiosRequestConfig } from 'axios';
17
17
  import { JSX as JSX_2 } from 'react/jsx-runtime';
18
+ import { MapProps } from 'react-map-gl/maplibre';
18
19
  import { MUIStyledCommonProps } from '@mui/system';
19
20
  import { MutableRefObject } from 'react';
20
21
  import * as React_2 from 'react';
@@ -191,6 +192,40 @@ declare interface ModelProps {
191
192
 
192
193
  export declare const MuiTable: (props: any) => JSX_2.Element;
193
194
 
195
+ export declare const NetworkMap: default_2.ForwardRefExoticComponent<NetworkMapProps & default_2.RefAttributes<unknown>>;
196
+
197
+ declare type NetworkMapProps = {
198
+ nodes: object[];
199
+ connections: object[];
200
+ linkHighlightedColorHex: string;
201
+ defaultLinkColorHex: string;
202
+ hideLinksOnDrag: boolean;
203
+ defaultAnimationLinkColor: string;
204
+ linkAnimation: boolean;
205
+ onConnClick: (conn: object) => void;
206
+ onNodeClick: (node: object) => void;
207
+ onNodeMouseOver: (node: object) => void;
208
+ onLinkContextMenu: (info: {
209
+ data: object;
210
+ event: default_2.MouseEvent;
211
+ mapApi: MapProps;
212
+ type: string;
213
+ }) => void;
214
+ enableNativeContextMenu: boolean;
215
+ enableLngLatBox: boolean;
216
+ mapProps: MapProps;
217
+ menuItems: {
218
+ label: string;
219
+ action?: (args: {
220
+ data: object;
221
+ event: default_2.MouseEvent;
222
+ mapApi: MapProps;
223
+ type: string;
224
+ }) => void;
225
+ }[];
226
+ nodeIconMapper?: (object: any) => default_2.ReactNode | null;
227
+ };
228
+
194
229
  export declare const NgFailedLegend: (props: any) => JSX_2.Element;
195
230
 
196
231
  export declare const NgSuccessLegend: (props: any) => JSX_2.Element;