@abdellatifui/react 3.1.26 → 3.1.28

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, srcLng: 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,6 +187,24 @@ export declare const loadFontsOnInteraction: () => void;
193
187
 
194
188
  export declare const MainHeader: (props: any) => JSX_2.Element;
195
189
 
190
+ export declare const mapStyles: ({
191
+ name: string;
192
+ url: string;
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
+ })[];
207
+
196
208
  export declare const MenuButton: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
197
209
 
198
210
  export declare const Model: default_2.ForwardRefExoticComponent<ModelProps & default_2.RefAttributes<HTMLDivElement>>;
@@ -218,11 +230,20 @@ declare type NetworkMapProps = {
218
230
  linkHighlightedColorHex: string;
219
231
  defaultLinkColorHex: string;
220
232
  hideLinksOnDrag: boolean;
233
+ showHoveredLinksOnly: boolean;
234
+ draggingMode: boolean;
235
+ maxZoomOutForLinkCount: number;
236
+ nodeSizeScaler: number;
221
237
  defaultAnimationLinkColor: string;
222
238
  linkAnimation: boolean;
239
+ staticMapColor: string;
240
+ isolateNonSelectedLinksOnNodeClick: boolean;
241
+ showLinkCount: boolean;
242
+ tid: string | number;
223
243
  onConnClick: (conn: object) => void;
224
244
  onNodeClick: (node: object) => void;
225
245
  onNodeMouseOver: (node: object) => void;
246
+ getMenuTitle: (connection: object) => void;
226
247
  onLinkContextMenu: (info: {
227
248
  data: object;
228
249
  event: default_2.MouseEvent;
@@ -231,6 +252,12 @@ declare type NetworkMapProps = {
231
252
  }) => void;
232
253
  enableNativeContextMenu: boolean;
233
254
  enableLngLatBox: boolean;
255
+ mapStyle: {
256
+ url: string;
257
+ index: number;
258
+ name: string;
259
+ };
260
+ hideLinks: boolean;
234
261
  mapProps: MapProps;
235
262
  menuItems: {
236
263
  label: string;