@abdellatifui/react 3.0.19 → 3.0.22
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 +45 -72
- package/package.json +4 -9
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 {
|
|
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) =>
|
|
18
|
+
export declare const AccordionGroup: (props: any) => JSX.Element;
|
|
29
19
|
|
|
30
|
-
export declare const AccordionItem: (props: any) =>
|
|
20
|
+
export declare const AccordionItem: (props: any) => JSX.Element;
|
|
31
21
|
|
|
32
|
-
export declare const Alert:
|
|
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:
|
|
55
|
+
export declare const AutoComplete: ForwardRefExoticComponent<AutocompeleteProps & RefAttributes<HTMLInputElement>>;
|
|
66
56
|
|
|
67
|
-
declare const Body_2:
|
|
57
|
+
declare const Body_2: ForwardRefExoticComponent<RefAttributes<unknown>>;
|
|
68
58
|
export { Body_2 as Body }
|
|
69
59
|
|
|
70
|
-
export declare const Button:
|
|
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:
|
|
64
|
+
export declare const CloseButton: ForwardRefExoticComponent<RefAttributes<unknown>>;
|
|
75
65
|
|
|
76
|
-
export declare function cn(...inputs: ClassValue[]):
|
|
66
|
+
export declare function cn(...inputs: ClassValue[]): any;
|
|
77
67
|
|
|
78
|
-
export declare const Container:
|
|
68
|
+
export declare const Container: ForwardRefExoticComponent<RefAttributes<unknown>>;
|
|
79
69
|
|
|
80
|
-
export declare const ContextMenu:
|
|
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:
|
|
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:
|
|
105
|
+
export declare const DataTable: ForwardRefExoticComponent<TableProps & RefAttributes<HTMLDivElement>>;
|
|
116
106
|
|
|
117
|
-
export declare const DialogPanel:
|
|
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) =>
|
|
120
|
+
export declare const ErrorBoundry: (props: any) => JSX.Element;
|
|
131
121
|
|
|
132
|
-
export declare const Frame:
|
|
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: () =>
|
|
128
|
+
export declare const getWholeSpectrum: () => string[];
|
|
139
129
|
|
|
140
|
-
export declare function Headline(props: any):
|
|
130
|
+
export declare function Headline(props: any): JSX.Element;
|
|
141
131
|
|
|
142
|
-
export declare const HelpPopover: (props: any) =>
|
|
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) =>
|
|
136
|
+
export declare const HorizontalDiv: (props: any) => JSX.Element;
|
|
147
137
|
|
|
148
|
-
export declare const IconButton:
|
|
138
|
+
export declare const IconButton: ForwardRefExoticComponent<RefAttributes<unknown>>;
|
|
149
139
|
|
|
150
|
-
export declare function InformationTableMui(props: any):
|
|
140
|
+
export declare function InformationTableMui(props: any): JSX.Element;
|
|
151
141
|
|
|
152
|
-
export declare const InlineSpinner:
|
|
142
|
+
export declare const InlineSpinner: ForwardRefExoticComponent<RefAttributes<unknown>>;
|
|
153
143
|
|
|
154
|
-
export declare const Input:
|
|
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:
|
|
168
|
+
export declare const MenuButton: ForwardRefExoticComponent<RefAttributes<unknown>>;
|
|
179
169
|
|
|
180
|
-
export declare const Model:
|
|
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) =>
|
|
183
|
+
export declare const MuiTable: (props: any) => JSX.Element;
|
|
194
184
|
|
|
195
|
-
export declare const NetworkMap:
|
|
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) =>
|
|
219
|
+
export declare const NgFailedLegend: (props: any) => JSX.Element;
|
|
230
220
|
|
|
231
|
-
export declare const NgSuccessLegend: (props: any) =>
|
|
221
|
+
export declare const NgSuccessLegend: (props: any) => JSX.Element;
|
|
232
222
|
|
|
233
|
-
export declare const Panel:
|
|
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) =>
|
|
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) =>
|
|
256
|
+
export declare const ScrolBarStyle: (props: any) => JSX.Element;
|
|
267
257
|
|
|
268
|
-
export declare const ScrollArea:
|
|
258
|
+
export declare const ScrollArea: ForwardRefExoticComponent<RefAttributes<unknown>>;
|
|
269
259
|
|
|
270
|
-
export declare const Spinner:
|
|
260
|
+
export declare const Spinner: ForwardRefExoticComponent<RefAttributes<unknown>>;
|
|
271
261
|
|
|
272
|
-
export declare const SpinnerDialog:
|
|
262
|
+
export declare const SpinnerDialog: ForwardRefExoticComponent<RefAttributes<unknown>>;
|
|
273
263
|
|
|
274
|
-
export declare const SplitButton: (props: any) =>
|
|
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:
|
|
268
|
+
export declare const SwapIconButton: ForwardRefExoticComponent<RefAttributes<unknown>>;
|
|
279
269
|
|
|
280
|
-
export declare const Switch:
|
|
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) =>
|
|
331
|
+
export declare const ToggleGroup: (props: any) => JSX.Element;
|
|
342
332
|
|
|
343
|
-
export declare const ToggleItem: (props: any) =>
|
|
333
|
+
export declare const ToggleItem: (props: any) => JSX.Element;
|
|
344
334
|
|
|
345
|
-
export declare const Tooltip:
|
|
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:
|
|
355
|
+
export declare const VirtualContainer: ForwardRefExoticComponent<RefAttributes<unknown>>;
|
|
383
356
|
|
|
384
|
-
export declare const Whatsnew:
|
|
357
|
+
export declare const Whatsnew: ForwardRefExoticComponent<RefAttributes<unknown>>;
|
|
385
358
|
|
|
386
359
|
|
|
387
360
|
export * from "lucide-react";
|
package/package.json
CHANGED
|
@@ -1,22 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abdellatifui/react",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.22",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"types": "dist/nextgen.d.ts",
|
|
6
7
|
"files": [
|
|
7
8
|
"dist"
|
|
8
9
|
],
|
|
9
|
-
"main": "dist/nextgen
|
|
10
|
+
"main": "dist/nextgen.js",
|
|
10
11
|
"module": "dist/nextgen.js",
|
|
11
|
-
"exports": {
|
|
12
|
-
".": {
|
|
13
|
-
"import": "./dist/nextgen.js",
|
|
14
|
-
"require": "./dist/nextgen-umd.cjs"
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
12
|
"scripts": {
|
|
18
13
|
"dev": "vite",
|
|
19
|
-
"build": "
|
|
14
|
+
"build": "vite build && tsc -p tsconfig.build.json --jsx",
|
|
20
15
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
21
16
|
"preview": "vite preview",
|
|
22
17
|
"storybook": "storybook dev -p 6006",
|