@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 +38 -11
- package/dist/nextgen.js +5952 -5619
- package/dist/style.css +1 -1
- package/dist/types/components/NetworkMap/CustomMarker.d.ts +3 -2
- package/dist/types/components/NetworkMap/CustomMarker.d.ts.map +1 -1
- package/dist/types/components/NetworkMap/Map.d.ts +17 -0
- package/dist/types/components/NetworkMap/Map.d.ts.map +1 -1
- package/dist/types/components/NetworkMap/PinItem.d.ts.map +1 -1
- package/dist/types/components/NetworkMap/types.d.ts +15 -0
- package/dist/types/components/NetworkMap/types.d.ts.map +1 -1
- package/dist/types/components/NetworkMap/useCreatePath.d.ts +24 -28
- package/dist/types/components/NetworkMap/useCreatePath.d.ts.map +1 -1
- package/dist/types/components/NetworkMap/utils.d.ts +5 -11
- package/dist/types/components/NetworkMap/utils.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/stories/Map/map.stories.d.ts +22 -0
- package/dist/types/stories/Map/map.stories.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/types/components/NetworkMap/Connection.backup.d.ts +0 -3
- package/dist/types/components/NetworkMap/Connection.backup.d.ts.map +0 -1
- package/dist/types/components/NetworkMap/Connection.d.ts +0 -3
- package/dist/types/components/NetworkMap/Connection.d.ts.map +0 -1
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,
|
|
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
|
-
|
|
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
|
-
|
|
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) =>
|
|
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;
|