@abdellatifui/react 3.1.31 → 3.1.33

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,7 +97,7 @@ 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, sourceId: any, destinationId: any, details?: {}, linkColor?: any, linkAnimationColor?: any) => {
100
+ export declare const createDefaultConnTemplate: (name: any, id: any, sourceId: any, destinationId: any, details?: {}, linkColor?: any, linkAnimationColor?: any, layer?: number, group?: number, bidir?: boolean) => {
101
101
  name: any;
102
102
  id: any;
103
103
  details: {};
@@ -105,6 +105,9 @@ export declare const createDefaultConnTemplate: (name: any, id: any, sourceId: a
105
105
  destinationId: any;
106
106
  linkColor: any;
107
107
  linkAnimationColor: any;
108
+ layer: number;
109
+ group: number;
110
+ bidir: boolean;
108
111
  };
109
112
 
110
113
  export declare const createDefaultNodeTempate: (name: any, id: any, color: any, lng: any, lat: any, details: any) => {
@@ -141,6 +144,8 @@ export declare const Frame: default_2.ForwardRefExoticComponent<default_2.RefAtt
141
144
 
142
145
  export declare const Frequency: ForwardRefExoticComponent<RefAttributes<unknown>>;
143
146
 
147
+ export declare function getRandomColor(): string;
148
+
144
149
  export declare const GetRandomStr: (length?: number, str?: boolean) => string;
145
150
 
146
151
  export declare const getWholeSpectrum: () => any[];
@@ -268,6 +273,15 @@ declare type NetworkMapProps = {
268
273
  type: string;
269
274
  }) => void;
270
275
  }[];
276
+ nodeMenuItems: {
277
+ label: string;
278
+ action?: (args: {
279
+ data: object;
280
+ event: default_2.MouseEvent;
281
+ mapApi: MapProps;
282
+ type: string;
283
+ }) => void;
284
+ }[];
271
285
  nodeIconMapper?: (object: any) => default_2.ReactNode | null;
272
286
  };
273
287