@abdellatifui/react 3.0.17 → 3.0.18
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 +27 -0
- package/dist/nextgen.js +22 -1
- package/package.json +1 -1
package/dist/nextgen.d.ts
CHANGED
|
@@ -84,6 +84,31 @@ export declare function convertTimestampToDate(timestamp: any): string;
|
|
|
84
84
|
|
|
85
85
|
export declare const CopyButton: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
|
|
86
86
|
|
|
87
|
+
export declare const createDefaultConnTemplate: (name: any, id: any, srcLng: any, srcLat: any, destLng: any, destLat: any, details: any) => {
|
|
88
|
+
name: any;
|
|
89
|
+
id: any;
|
|
90
|
+
details: any;
|
|
91
|
+
source: {
|
|
92
|
+
lng: any;
|
|
93
|
+
lat: any;
|
|
94
|
+
};
|
|
95
|
+
destination: {
|
|
96
|
+
lng: any;
|
|
97
|
+
lat: any;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
export declare const createDefaultNodeTempate: (name: any, id: any, color: any, lng: any, lat: any, details: any) => {
|
|
102
|
+
name: any;
|
|
103
|
+
color: any;
|
|
104
|
+
id: any;
|
|
105
|
+
details: any;
|
|
106
|
+
location: {
|
|
107
|
+
lng: any;
|
|
108
|
+
lat: any;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
|
|
87
112
|
export { cva }
|
|
88
113
|
|
|
89
114
|
export declare const DataTable: default_2.ForwardRefExoticComponent<TableProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
@@ -115,6 +140,8 @@ export declare function Headline(props: any): JSX_2.Element;
|
|
|
115
140
|
|
|
116
141
|
export declare const HelpPopover: (props: any) => JSX_2.Element;
|
|
117
142
|
|
|
143
|
+
export declare const hex2rgb: (hex: any) => any[];
|
|
144
|
+
|
|
118
145
|
export declare const HorizontalDiv: (props: any) => JSX_2.Element;
|
|
119
146
|
|
|
120
147
|
export declare const IconButton: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
|
package/dist/nextgen.js
CHANGED
|
@@ -43191,7 +43191,25 @@ const mJ = (e) => {
|
|
|
43191
43191
|
children: t
|
|
43192
43192
|
} = e;
|
|
43193
43193
|
return /* @__PURE__ */ S.jsx(fX, { fallbackRender: /* @__PURE__ */ S.jsx("div", { children: "Something went wrong" }), children: t });
|
|
43194
|
-
}
|
|
43194
|
+
}, gJ = (e) => {
|
|
43195
|
+
const [t, n, r] = e.match(/\w\w/g).map((o) => parseInt(o, 16));
|
|
43196
|
+
return [t, n, r];
|
|
43197
|
+
}, yJ = (e, t, n, r, o, i) => ({
|
|
43198
|
+
name: e,
|
|
43199
|
+
color: n,
|
|
43200
|
+
id: t,
|
|
43201
|
+
details: i || {},
|
|
43202
|
+
location: {
|
|
43203
|
+
lng: r,
|
|
43204
|
+
lat: o
|
|
43205
|
+
}
|
|
43206
|
+
}), vJ = (e, t, n, r, o, i, s) => ({
|
|
43207
|
+
name: e,
|
|
43208
|
+
id: t,
|
|
43209
|
+
details: s || {},
|
|
43210
|
+
source: { lng: n, lat: r },
|
|
43211
|
+
destination: { lng: o, lat: i }
|
|
43212
|
+
});
|
|
43195
43213
|
export {
|
|
43196
43214
|
$X as AccordionGroup,
|
|
43197
43215
|
DX as AccordionItem,
|
|
@@ -43250,8 +43268,11 @@ export {
|
|
|
43250
43268
|
Ee as cn,
|
|
43251
43269
|
NX as convertNumberToArray,
|
|
43252
43270
|
_X as convertTimestampToDate,
|
|
43271
|
+
vJ as createDefaultConnTemplate,
|
|
43272
|
+
yJ as createDefaultNodeTempate,
|
|
43253
43273
|
Ot as cva,
|
|
43254
43274
|
kX as getWholeSpectrum,
|
|
43275
|
+
gJ as hex2rgb,
|
|
43255
43276
|
RX as range,
|
|
43256
43277
|
rJ as useApi,
|
|
43257
43278
|
sE as useBoxSize,
|