@abdellatifui/react 3.1.27 → 3.1.29

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
@@ -97,18 +97,12 @@ export declare function convertTimestampToDate(timestamp: any): string;
97
97
 
98
98
  export declare const CopyButton: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
99
99
 
100
- export declare const createDefaultConnTemplate: (name: any, id: any, srcLng: any, srcLat: any, destLng: any, destLat: any, details?: {}, linkColor?: any, linkAnimationColor?: any) => {
100
+ export declare const createDefaultConnTemplate: (name: any, id: any, sourceId: any, destinationId: any, details?: {}, linkColor?: any, linkAnimationColor?: any) => {
101
101
  name: any;
102
102
  id: any;
103
103
  details: {};
104
- source: {
105
- lng: any;
106
- lat: any;
107
- };
108
- destination: {
109
- lng: any;
110
- lat: any;
111
- };
104
+ source: any;
105
+ destination: any;
112
106
  linkColor: any;
113
107
  linkAnimationColor: any;
114
108
  };
@@ -116,7 +110,7 @@ export declare const createDefaultConnTemplate: (name: any, id: any, srcLng: any
116
110
  export declare const createDefaultNodeTempate: (name: any, id: any, color: any, lng: any, lat: any, details: any) => {
117
111
  name: any;
118
112
  color: any;
119
- id: any;
113
+ elementId: any;
120
114
  details: any;
121
115
  location: {
122
116
  lng: any;
@@ -155,7 +149,7 @@ export declare function Headline(props: any): JSX_2.Element;
155
149
 
156
150
  export declare const HelpPopover: (props: any) => JSX_2.Element;
157
151
 
158
- export declare const hex2rgb: (hex: any) => any[];
152
+ export declare const hex2rgb: (hex: any) => number[];
159
153
 
160
154
  export declare const HorizontalDiv: (props: any) => JSX_2.Element;
161
155
 
@@ -193,11 +187,23 @@ export declare const loadFontsOnInteraction: () => void;
193
187
 
194
188
  export declare const MainHeader: (props: any) => JSX_2.Element;
195
189
 
196
- export declare const mapStyles: {
190
+ export declare const mapStyles: ({
197
191
  name: string;
198
192
  url: string;
199
- index: number;
200
- }[];
193
+ } | {
194
+ name: string;
195
+ url: {
196
+ version: number;
197
+ sources: {};
198
+ layers: {
199
+ id: string;
200
+ type: string;
201
+ paint: {
202
+ "background-color": string;
203
+ };
204
+ }[];
205
+ };
206
+ })[];
201
207
 
202
208
  export declare const MenuButton: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
203
209
 
@@ -224,11 +230,20 @@ declare type NetworkMapProps = {
224
230
  linkHighlightedColorHex: string;
225
231
  defaultLinkColorHex: string;
226
232
  hideLinksOnDrag: boolean;
233
+ showHoveredLinksOnly: boolean;
234
+ draggingMode: boolean;
235
+ maxZoomOutForLinkCount: number;
236
+ nodeSizeScaler: number;
227
237
  defaultAnimationLinkColor: string;
228
238
  linkAnimation: boolean;
239
+ staticMapColor: string;
240
+ isolateNonSelectedLinksOnNodeClick: boolean;
241
+ showLinkCount: boolean;
242
+ tid: string | number;
229
243
  onConnClick: (conn: object) => void;
230
244
  onNodeClick: (node: object) => void;
231
245
  onNodeMouseOver: (node: object) => void;
246
+ getMenuTitle: (connection: object) => void;
232
247
  onLinkContextMenu: (info: {
233
248
  data: object;
234
249
  event: default_2.MouseEvent;