@abdellatifui/react 3.0.19 → 3.0.23

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.
@@ -18512,7 +18512,7 @@ function yH(t, e) {
18512
18512
  we(() => {
18513
18513
  const l = t.mapLib;
18514
18514
  let u = !0, f;
18515
- return Promise.resolve(l || import("./maplibre-gl-CcsUpnVb.js").then((d) => d.m)).then((d) => {
18515
+ return Promise.resolve(l || import("./maplibre-gl-CZC_SI94.js").then((d) => d.m)).then((d) => {
18516
18516
  if (!u)
18517
18517
  return;
18518
18518
  if (!d)
@@ -18787,6 +18787,7 @@ const OH = (t) => {
18787
18787
  longitude: e,
18788
18788
  latitude: n,
18789
18789
  anchor: "center",
18790
+ className: "hover:z-[3000]",
18790
18791
  onClick: (p) => {
18791
18792
  a({ event: p, data: s, type: "node", id: u, mapApi: o });
18792
18793
  },
@@ -1,4 +1,4 @@
1
- import { g as _f, c as gf } from "./index-CH0jGP78.js";
1
+ import { g as _f, c as gf } from "./index-yzQU8pOn.js";
2
2
  function yf(ea, Sc) {
3
3
  for (var Gr = 0; Gr < Sc.length; Gr++) {
4
4
  const Ni = Sc[Gr];
package/dist/nextgen.d.ts CHANGED
@@ -1,10 +1,6 @@
1
1
  /// <reference types="react" />
2
2
 
3
3
  import { AgGridReactProps } from 'ag-grid-react';
4
- import { AxiosDefaults } from 'axios';
5
- import { AxiosHeaderValue } from 'axios';
6
- import { AxiosInterceptorManager } from 'axios';
7
- import { AxiosResponse } from 'axios';
8
4
  import { ChangeEvent } from 'react';
9
5
  import { ClassValue } from 'clsx';
10
6
  import { Context } from 'react';
@@ -12,24 +8,18 @@ import { cva } from 'class-variance-authority';
12
8
  import { default as default_2 } from 'react';
13
9
  import { Dispatch } from 'react';
14
10
  import { ForwardRefExoticComponent } from 'react';
15
- import { HeadersDefaults } from 'axios';
16
- import { InternalAxiosRequestConfig } from 'axios';
17
- import { JSX as JSX_2 } from 'react/jsx-runtime';
11
+ import { JSX as JSX_2 } from 'react';
18
12
  import { MapProps } from 'react-map-gl/maplibre';
19
- import { MUIStyledCommonProps } from '@mui/system';
20
- import { MutableRefObject } from 'react';
21
13
  import * as React_2 from 'react';
22
14
  import { ReactNode } from 'react';
23
15
  import { RefAttributes } from 'react';
24
16
  import { SetStateAction } from 'react';
25
- import { StyledComponent } from '@emotion/styled';
26
- import { Theme } from '@mui/material';
27
17
 
28
- export declare const AccordionGroup: (props: any) => JSX_2.Element;
18
+ export declare const AccordionGroup: (props: any) => JSX.Element;
29
19
 
30
- export declare const AccordionItem: (props: any) => JSX_2.Element;
20
+ export declare const AccordionItem: (props: any) => JSX.Element;
31
21
 
32
- export declare const Alert: default_2.ForwardRefExoticComponent<AlertProps & default_2.RefAttributes<HTMLDivElement>>;
22
+ export declare const Alert: ForwardRefExoticComponent<AlertProps & RefAttributes<HTMLDivElement>>;
33
23
 
34
24
  declare interface AlertProps {
35
25
  dialog: {
@@ -62,28 +52,28 @@ declare interface AutocompeleteProps extends InputProps {
62
52
  type: string;
63
53
  }
64
54
 
65
- export declare const AutoComplete: default_2.ForwardRefExoticComponent<AutocompeleteProps & default_2.RefAttributes<HTMLInputElement>>;
55
+ export declare const AutoComplete: ForwardRefExoticComponent<AutocompeleteProps & RefAttributes<HTMLInputElement>>;
66
56
 
67
- declare const Body_2: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
57
+ declare const Body_2: ForwardRefExoticComponent<RefAttributes<unknown>>;
68
58
  export { Body_2 as Body }
69
59
 
70
- export declare const Button: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
60
+ export declare const Button: ForwardRefExoticComponent<RefAttributes<unknown>>;
71
61
 
72
62
  export declare function capitalizeFirstLetter(string: any): any;
73
63
 
74
- export declare const CloseButton: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
64
+ export declare const CloseButton: ForwardRefExoticComponent<RefAttributes<unknown>>;
75
65
 
76
- export declare function cn(...inputs: ClassValue[]): string;
66
+ export declare function cn(...inputs: ClassValue[]): any;
77
67
 
78
- export declare const Container: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
68
+ export declare const Container: ForwardRefExoticComponent<RefAttributes<unknown>>;
79
69
 
80
- export declare const ContextMenu: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
70
+ export declare const ContextMenu: ForwardRefExoticComponent<RefAttributes<unknown>>;
81
71
 
82
72
  export declare const convertNumberToArray: (number: any) => unknown[];
83
73
 
84
74
  export declare function convertTimestampToDate(timestamp: any): string;
85
75
 
86
- export declare const CopyButton: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
76
+ export declare const CopyButton: ForwardRefExoticComponent<RefAttributes<unknown>>;
87
77
 
88
78
  export declare const createDefaultConnTemplate: (name: any, id: any, srcLng: any, srcLat: any, destLng: any, destLat: any, details: any) => {
89
79
  name: any;
@@ -112,9 +102,9 @@ export declare const createDefaultNodeTempate: (name: any, id: any, color: any,
112
102
 
113
103
  export { cva }
114
104
 
115
- export declare const DataTable: default_2.ForwardRefExoticComponent<TableProps & default_2.RefAttributes<HTMLDivElement>>;
105
+ export declare const DataTable: ForwardRefExoticComponent<TableProps & RefAttributes<HTMLDivElement>>;
116
106
 
117
- export declare const DialogPanel: default_2.ForwardRefExoticComponent<Omit<DialogPanelProps, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
107
+ export declare const DialogPanel: ForwardRefExoticComponent<Omit<DialogPanelProps, "ref"> & RefAttributes<HTMLDivElement>>;
118
108
 
119
109
  declare interface DialogPanelProps {
120
110
  children: any;
@@ -127,31 +117,31 @@ declare interface DialogPanelProps {
127
117
  closeButton: string;
128
118
  }
129
119
 
130
- export declare const ErrorBoundry: (props: any) => JSX_2.Element;
120
+ export declare const ErrorBoundry: (props: any) => JSX.Element;
131
121
 
132
- export declare const Frame: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
122
+ export declare const Frame: ForwardRefExoticComponent<RefAttributes<unknown>>;
133
123
 
134
124
  export declare const Frequency: ForwardRefExoticComponent<RefAttributes<unknown>>;
135
125
 
136
126
  export declare const GetRandomStr: (length?: number, str?: boolean) => string;
137
127
 
138
- export declare const getWholeSpectrum: () => any[];
128
+ export declare const getWholeSpectrum: () => string[];
139
129
 
140
- export declare function Headline(props: any): JSX_2.Element;
130
+ export declare function Headline(props: any): JSX.Element;
141
131
 
142
- export declare const HelpPopover: (props: any) => JSX_2.Element;
132
+ export declare const HelpPopover: (props: any) => JSX.Element;
143
133
 
144
134
  export declare const hex2rgb: (hex: any) => any[];
145
135
 
146
- export declare const HorizontalDiv: (props: any) => JSX_2.Element;
136
+ export declare const HorizontalDiv: (props: any) => JSX.Element;
147
137
 
148
- export declare const IconButton: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
138
+ export declare const IconButton: ForwardRefExoticComponent<RefAttributes<unknown>>;
149
139
 
150
- export declare function InformationTableMui(props: any): JSX_2.Element;
140
+ export declare function InformationTableMui(props: any): JSX.Element;
151
141
 
152
- export declare const InlineSpinner: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
142
+ export declare const InlineSpinner: ForwardRefExoticComponent<RefAttributes<unknown>>;
153
143
 
154
- export declare const Input: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
144
+ export declare const Input: ForwardRefExoticComponent<RefAttributes<unknown>>;
155
145
 
156
146
  declare interface InputProps extends InputProps_2 {
157
147
  placeholder: string;
@@ -175,9 +165,9 @@ export declare const Label: (props: any) => JSX_2.Element;
175
165
 
176
166
  export declare const MainHeader: (props: any) => JSX_2.Element;
177
167
 
178
- export declare const MenuButton: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
168
+ export declare const MenuButton: ForwardRefExoticComponent<RefAttributes<unknown>>;
179
169
 
180
- export declare const Model: default_2.ForwardRefExoticComponent<ModelProps & default_2.RefAttributes<HTMLDivElement>>;
170
+ export declare const Model: ForwardRefExoticComponent<ModelProps & RefAttributes<HTMLDivElement>>;
181
171
 
182
172
  export declare const ModelContext: Context< {}>;
183
173
 
@@ -190,9 +180,9 @@ declare interface ModelProps {
190
180
  hideOnContextMenu: boolean;
191
181
  }
192
182
 
193
- export declare const MuiTable: (props: any) => JSX_2.Element;
183
+ export declare const MuiTable: (props: any) => JSX.Element;
194
184
 
195
- export declare const NetworkMap: default_2.ForwardRefExoticComponent<NetworkMapProps & default_2.RefAttributes<unknown>>;
185
+ export declare const NetworkMap: ForwardRefExoticComponent<NetworkMapProps & RefAttributes<unknown>>;
196
186
 
197
187
  declare type NetworkMapProps = {
198
188
  nodes: object[];
@@ -226,11 +216,11 @@ declare type NetworkMapProps = {
226
216
  nodeIconMapper?: (object: any) => default_2.ReactNode | null;
227
217
  };
228
218
 
229
- export declare const NgFailedLegend: (props: any) => JSX_2.Element;
219
+ export declare const NgFailedLegend: (props: any) => JSX.Element;
230
220
 
231
- export declare const NgSuccessLegend: (props: any) => JSX_2.Element;
221
+ export declare const NgSuccessLegend: (props: any) => JSX.Element;
232
222
 
233
- export declare const Panel: default_2.ForwardRefExoticComponent<default_2.RefAttributes<PanelProps>>;
223
+ export declare const Panel: ForwardRefExoticComponent<RefAttributes<PanelProps>>;
234
224
 
235
225
  declare interface PanelProps {
236
226
  children: any;
@@ -244,7 +234,7 @@ declare interface PanelProps {
244
234
  defaultClose: string;
245
235
  }
246
236
 
247
- export declare const PropItem: (props: any) => JSX_2.Element;
237
+ export declare const PropItem: (props: any) => JSX.Element;
248
238
 
249
239
  export declare const RadioGroup: ForwardRefExoticComponent<RefAttributes<unknown>>;
250
240
 
@@ -263,21 +253,21 @@ declare interface RadioItemProps {
263
253
 
264
254
  export declare function range(start: any, end: any, step?: number): any[];
265
255
 
266
- export declare const ScrolBarStyle: (props: any) => JSX_2.Element;
256
+ export declare const ScrolBarStyle: (props: any) => JSX.Element;
267
257
 
268
- export declare const ScrollArea: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
258
+ export declare const ScrollArea: ForwardRefExoticComponent<RefAttributes<unknown>>;
269
259
 
270
- export declare const Spinner: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
260
+ export declare const Spinner: ForwardRefExoticComponent<RefAttributes<unknown>>;
271
261
 
272
- export declare const SpinnerDialog: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
262
+ export declare const SpinnerDialog: ForwardRefExoticComponent<RefAttributes<unknown>>;
273
263
 
274
- export declare const SplitButton: (props: any) => JSX_2.Element;
264
+ export declare const SplitButton: (props: any) => JSX.Element;
275
265
 
276
266
  export declare const SubHeader: (props: any) => JSX_2.Element;
277
267
 
278
- export declare const SwapIconButton: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
268
+ export declare const SwapIconButton: ForwardRefExoticComponent<RefAttributes<unknown>>;
279
269
 
280
- export declare const Switch: default_2.ForwardRefExoticComponent<SwitchProps2 & default_2.RefAttributes<any>>;
270
+ export declare const Switch: ForwardRefExoticComponent<SwitchProps2 & RefAttributes<default_2.ComponentPropsWithoutRef>>;
281
271
 
282
272
  declare interface SwitchProps2 extends default_2.ComponentPropsWithoutRef {
283
273
  onChange?: void;
@@ -338,30 +328,13 @@ export declare const TinnyHelp: (props: any) => JSX_2.Element;
338
328
 
339
329
  export declare const Toast: ForwardRefExoticComponent<RefAttributes<unknown>>;
340
330
 
341
- export declare const ToggleGroup: (props: any) => JSX_2.Element;
331
+ export declare const ToggleGroup: (props: any) => JSX.Element;
342
332
 
343
- export declare const ToggleItem: (props: any) => JSX_2.Element;
333
+ export declare const ToggleItem: (props: any) => JSX.Element;
344
334
 
345
- export declare const Tooltip: StyledComponent< {
346
- [x: string]: any;
347
- className: any;
348
- } & MUIStyledCommonProps<Theme>, {}, {}>;
335
+ export declare const Tooltip: any;
349
336
 
350
- export declare const useApi: (props: any) => {
351
- ready: any;
352
- socketioConnected: any;
353
- pool: MutableRefObject<any[]>;
354
- props: any;
355
- defaults: Omit<AxiosDefaults<any>, "headers"> & {
356
- headers: HeadersDefaults & {
357
- [key: string]: AxiosHeaderValue;
358
- };
359
- };
360
- interceptors: {
361
- request: AxiosInterceptorManager<InternalAxiosRequestConfig<any>>;
362
- response: AxiosInterceptorManager<AxiosResponse<any, any>>;
363
- };
364
- };
337
+ export declare const useApi: (props: any) => any;
365
338
 
366
339
  export declare function useBoxSize(ref: any): ({
367
340
  y: number;
@@ -379,9 +352,9 @@ export declare const useStore: (props?: {}) => {}[];
379
352
 
380
353
  export declare const useVariable: (props?: {}) => {}[];
381
354
 
382
- export declare const VirtualContainer: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
355
+ export declare const VirtualContainer: ForwardRefExoticComponent<RefAttributes<unknown>>;
383
356
 
384
- export declare const Whatsnew: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
357
+ export declare const Whatsnew: ForwardRefExoticComponent<RefAttributes<unknown>>;
385
358
 
386
359
 
387
360
  export * from "lucide-react";
package/dist/nextgen.js CHANGED
@@ -1,4 +1,4 @@
1
- import { e as s, f as o, G as t, l as n, A as r, B as l, T as i, m as u, w as p, r as d, C as c, z as m, D as S, a8 as T, F as g, y as B, a9 as I, E as b, _ as A, H as C, h as x, q as M, I as y, x as D, L as f, M as H, v as h, j as v, k as G, a2 as N, N as w, a5 as F, a4 as L, P, Y as R, R as z, K as V, d as W, s as k, n as q, o as E, $ as j, a as J, i as K, t as O, Q, X as U, Z as X, J as Y, a7 as Z, a6 as _, S as $, V as aa, W as ea, ab as sa, b as oa, ad as ta, p as na, ah as ra, ag as la, U as ia, ae as ua, af as pa, ac as da, O as ca, a3 as ma, aa as Sa, u as Ta, a0 as ga, a1 as Ba } from "./index-CH0jGP78.js";
1
+ import { e as s, f as o, G as t, l as n, A as r, B as l, T as i, m as u, w as p, r as d, C as c, z as m, D as S, a8 as T, F as g, y as B, a9 as I, E as b, _ as A, H as C, h as x, q as M, I as y, x as D, L as f, M as H, v as h, j as v, k as G, a2 as N, N as w, a5 as F, a4 as L, P, Y as R, R as z, K as V, d as W, s as k, n as q, o as E, $ as j, a as J, i as K, t as O, Q, X as U, Z as X, J as Y, a7 as Z, a6 as _, S as $, V as aa, W as ea, ab as sa, b as oa, ad as ta, p as na, ah as ra, ag as la, U as ia, ae as ua, af as pa, ac as da, O as ca, a3 as ma, aa as Sa, u as Ta, a0 as ga, a1 as Ba } from "./index-yzQU8pOn.js";
2
2
  export * from "lucide-react";
3
3
  export {
4
4
  s as AccordionGroup,