@abdellatifui/react 2.0.39
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 +291 -0
- package/dist/nextgen.js +42252 -0
- package/dist/style.css +1 -0
- package/package.json +133 -0
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
|
|
3
|
+
import { AgGridReactProps } from 'ag-grid-react';
|
|
4
|
+
import { AxiosInstance } from 'axios';
|
|
5
|
+
import { ChangeEvent } from 'react';
|
|
6
|
+
import { ClassValue } from 'clsx';
|
|
7
|
+
import { Context } from 'react';
|
|
8
|
+
import { cva } from 'class-variance-authority';
|
|
9
|
+
import { default as default_2 } from 'react';
|
|
10
|
+
import { Dispatch } from 'react';
|
|
11
|
+
import { ForwardRefExoticComponent } from 'react';
|
|
12
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
13
|
+
import { MUIStyledCommonProps } from '@mui/system';
|
|
14
|
+
import * as React_2 from 'react';
|
|
15
|
+
import { ReactNode } from 'react';
|
|
16
|
+
import { RefAttributes } from 'react';
|
|
17
|
+
import { SetStateAction } from 'react';
|
|
18
|
+
import { StyledComponent } from '@emotion/styled';
|
|
19
|
+
import { Theme } from '@mui/material';
|
|
20
|
+
|
|
21
|
+
export declare const Alert: default_2.ForwardRefExoticComponent<AlertProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
22
|
+
|
|
23
|
+
declare interface AlertProps {
|
|
24
|
+
dialog: {
|
|
25
|
+
header: string;
|
|
26
|
+
body: string;
|
|
27
|
+
onAccept: void;
|
|
28
|
+
onDecline: void;
|
|
29
|
+
autoAccept: boolean;
|
|
30
|
+
autoDecline: boolean;
|
|
31
|
+
variant: string;
|
|
32
|
+
extraButtons: [];
|
|
33
|
+
acceptButtonParams: object;
|
|
34
|
+
declineButtonParams: object;
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export declare const AppContext: Context< {}>;
|
|
39
|
+
|
|
40
|
+
declare interface AutocompeleteProps extends InputProps {
|
|
41
|
+
onChange?: void;
|
|
42
|
+
options?: object;
|
|
43
|
+
defaultValue?: string;
|
|
44
|
+
value?: string;
|
|
45
|
+
onClick: void;
|
|
46
|
+
onLoad: void;
|
|
47
|
+
search: boolean;
|
|
48
|
+
className: string;
|
|
49
|
+
placeholder: string;
|
|
50
|
+
autoScroll: boolean;
|
|
51
|
+
type: string;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export declare const AutoComplete: default_2.ForwardRefExoticComponent<AutocompeleteProps & default_2.RefAttributes<HTMLInputElement>>;
|
|
55
|
+
|
|
56
|
+
declare const Body_2: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
|
|
57
|
+
export { Body_2 as Body }
|
|
58
|
+
|
|
59
|
+
export declare const Button: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
|
|
60
|
+
|
|
61
|
+
export declare function capitalizeFirstLetter(string: any): any;
|
|
62
|
+
|
|
63
|
+
export declare const CloseButton: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
|
|
64
|
+
|
|
65
|
+
export declare function cn(...inputs: ClassValue[]): string;
|
|
66
|
+
|
|
67
|
+
export declare const Container: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
|
|
68
|
+
|
|
69
|
+
export declare const ContextMenu: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
|
|
70
|
+
|
|
71
|
+
export declare const convertNumberToArray: (number: any) => unknown[];
|
|
72
|
+
|
|
73
|
+
export declare function convertTimestampToDate(timestamp: any): string;
|
|
74
|
+
|
|
75
|
+
export declare const CopyButton: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
|
|
76
|
+
|
|
77
|
+
export { cva }
|
|
78
|
+
|
|
79
|
+
export declare const DataTable: default_2.ForwardRefExoticComponent<TableProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
80
|
+
|
|
81
|
+
export declare const DialogPanel: default_2.ForwardRefExoticComponent<Omit<DialogPanelProps, "ref"> & default_2.RefAttributes<HTMLDivElement>>;
|
|
82
|
+
|
|
83
|
+
declare interface DialogPanelProps {
|
|
84
|
+
children: any;
|
|
85
|
+
header: string;
|
|
86
|
+
shortInfo: string;
|
|
87
|
+
defaultClose: boolean | string;
|
|
88
|
+
collapsable: boolean;
|
|
89
|
+
ref?: object;
|
|
90
|
+
defaultOpen: boolean;
|
|
91
|
+
closeButton: string;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export declare const Frame: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
|
|
95
|
+
|
|
96
|
+
export declare const Frequency: ForwardRefExoticComponent<RefAttributes<unknown>>;
|
|
97
|
+
|
|
98
|
+
export declare const getWholeSpectrum: () => any[];
|
|
99
|
+
|
|
100
|
+
export declare function Headline(props: any): JSX_2.Element;
|
|
101
|
+
|
|
102
|
+
export declare const HelpPopover: (props: any) => JSX_2.Element;
|
|
103
|
+
|
|
104
|
+
export declare const IconButton: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
|
|
105
|
+
|
|
106
|
+
export declare function InformationTableMui(props: any): JSX_2.Element;
|
|
107
|
+
|
|
108
|
+
export declare const InlineSpinner: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
|
|
109
|
+
|
|
110
|
+
export declare const Input: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
|
|
111
|
+
|
|
112
|
+
declare interface InputProps extends InputProps_2 {
|
|
113
|
+
placeholder: string;
|
|
114
|
+
size: string;
|
|
115
|
+
description: string;
|
|
116
|
+
inputRef: object;
|
|
117
|
+
className: string;
|
|
118
|
+
invalid: string;
|
|
119
|
+
type: string;
|
|
120
|
+
defaultValue: string;
|
|
121
|
+
value: string;
|
|
122
|
+
onClick: any;
|
|
123
|
+
onChange: void;
|
|
124
|
+
multiple: boolean;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
declare interface InputProps_2 extends React_2.InputHTMLAttributes<HTMLInputElement> {
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export declare const Label: (props: any) => JSX_2.Element;
|
|
131
|
+
|
|
132
|
+
export declare const MainHeader: (props: any) => JSX_2.Element;
|
|
133
|
+
|
|
134
|
+
export declare const MenuButton: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
|
|
135
|
+
|
|
136
|
+
export declare const Model: default_2.ForwardRefExoticComponent<ModelProps & default_2.RefAttributes<HTMLDivElement>>;
|
|
137
|
+
|
|
138
|
+
export declare const ModelContext: Context< {}>;
|
|
139
|
+
|
|
140
|
+
declare interface ModelProps {
|
|
141
|
+
children: any;
|
|
142
|
+
bodyClick: boolean;
|
|
143
|
+
className: string;
|
|
144
|
+
variant: string;
|
|
145
|
+
inline: boolean;
|
|
146
|
+
hideOnContextMenu: boolean;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export declare const MuiTable: (props: any) => JSX_2.Element;
|
|
150
|
+
|
|
151
|
+
export declare const NgFailedLegend: (props: any) => JSX_2.Element;
|
|
152
|
+
|
|
153
|
+
export declare const NgSuccessLegend: (props: any) => JSX_2.Element;
|
|
154
|
+
|
|
155
|
+
export declare const Panel: default_2.ForwardRefExoticComponent<default_2.RefAttributes<PanelProps>>;
|
|
156
|
+
|
|
157
|
+
declare interface PanelProps {
|
|
158
|
+
children: any;
|
|
159
|
+
closeButton: boolean;
|
|
160
|
+
header: string;
|
|
161
|
+
moreInfo: string;
|
|
162
|
+
description: string;
|
|
163
|
+
spinnerArgs: object;
|
|
164
|
+
spinnerState: any;
|
|
165
|
+
className?: string;
|
|
166
|
+
defaultClose: string;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export declare const PropItem: (props: any) => JSX_2.Element;
|
|
170
|
+
|
|
171
|
+
export declare const RadioGroup: ForwardRefExoticComponent<RefAttributes<unknown>>;
|
|
172
|
+
|
|
173
|
+
export declare const RadioItem: React.FC<RadioItemProps>;
|
|
174
|
+
|
|
175
|
+
declare interface RadioItemProps {
|
|
176
|
+
children?: ReactNode;
|
|
177
|
+
header?: ReactNode;
|
|
178
|
+
onSelect?: (ev: ChangeEvent<HTMLInputElement>, checked: boolean, state: any) => void;
|
|
179
|
+
onClick?: (state: any) => void;
|
|
180
|
+
onDoubleClick?: (state: any) => void;
|
|
181
|
+
onContextMenu?: (state: any) => void;
|
|
182
|
+
labelProps?: React.LabelHTMLAttributes<HTMLLabelElement>;
|
|
183
|
+
inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
export declare function range(start: any, end: any, step?: number): any[];
|
|
187
|
+
|
|
188
|
+
export declare const ScrolBarStyle: (props: any) => JSX_2.Element;
|
|
189
|
+
|
|
190
|
+
export declare const ScrollArea: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
|
|
191
|
+
|
|
192
|
+
export declare const Spinner: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
|
|
193
|
+
|
|
194
|
+
export declare const SpinnerDialog: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
|
|
195
|
+
|
|
196
|
+
export declare const SplitButton: (props: any) => JSX_2.Element;
|
|
197
|
+
|
|
198
|
+
export declare const SubHeader: (props: any) => JSX_2.Element;
|
|
199
|
+
|
|
200
|
+
export declare const SwapIconButton: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
|
|
201
|
+
|
|
202
|
+
export declare const Switch: default_2.ForwardRefExoticComponent<SwitchProps2 & default_2.RefAttributes<any>>;
|
|
203
|
+
|
|
204
|
+
declare interface SwitchProps2 extends default_2.ComponentPropsWithoutRef {
|
|
205
|
+
onChange?: void;
|
|
206
|
+
label: string;
|
|
207
|
+
defaultChecked: boolean;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
declare interface TableProps {
|
|
211
|
+
tid: string | number;
|
|
212
|
+
dataset: any[];
|
|
213
|
+
aggrid: AgGridReactProps;
|
|
214
|
+
pageSize: number;
|
|
215
|
+
rowHeight: string;
|
|
216
|
+
tableName: string;
|
|
217
|
+
enablePagination?: boolean;
|
|
218
|
+
enableContextMenu?: boolean;
|
|
219
|
+
rowSelection?: string;
|
|
220
|
+
toolbarBtns?: any[];
|
|
221
|
+
hidden?: any[];
|
|
222
|
+
enableExpand: boolean;
|
|
223
|
+
autoSizeStrategy?: string;
|
|
224
|
+
headerMapper?: {
|
|
225
|
+
key: string;
|
|
226
|
+
value: any;
|
|
227
|
+
}[];
|
|
228
|
+
menuItems?: {
|
|
229
|
+
label: string;
|
|
230
|
+
icon: any;
|
|
231
|
+
action: () => void;
|
|
232
|
+
type: string;
|
|
233
|
+
size: string;
|
|
234
|
+
}[];
|
|
235
|
+
onRowClick?: (params: any, rowData: any, rows: any[]) => void;
|
|
236
|
+
onRowDoubleClicked?: (params: any, rowData: any) => void;
|
|
237
|
+
onCellClick?: (params: any, value: any, field: string) => void;
|
|
238
|
+
onTableBuilt?: (callback: any) => void;
|
|
239
|
+
onExpand?: (params: any) => void;
|
|
240
|
+
onRefresh?: (callback: any) => void;
|
|
241
|
+
ready?: boolean;
|
|
242
|
+
multiple?: boolean;
|
|
243
|
+
autoHideSpinner?: boolean;
|
|
244
|
+
aggridProps?: Partial<AgGridReactProps>;
|
|
245
|
+
className?: string;
|
|
246
|
+
topbar?: boolean;
|
|
247
|
+
hideFromTable?: any[];
|
|
248
|
+
formater?: any;
|
|
249
|
+
viewAsArray?: any[];
|
|
250
|
+
filter?: any;
|
|
251
|
+
groupBy?: any;
|
|
252
|
+
onMultiRowSelection?: (params: any, rows: any[]) => void;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
export declare const Tabs: ForwardRefExoticComponent<RefAttributes<unknown>>;
|
|
256
|
+
|
|
257
|
+
export declare const TextArea: ForwardRefExoticComponent<RefAttributes<unknown>>;
|
|
258
|
+
|
|
259
|
+
export declare const TinnyHelp: (props: any) => JSX_2.Element;
|
|
260
|
+
|
|
261
|
+
export declare const Toast: ForwardRefExoticComponent<RefAttributes<unknown>>;
|
|
262
|
+
|
|
263
|
+
export declare const Tooltip: StyledComponent< {
|
|
264
|
+
[x: string]: any;
|
|
265
|
+
className: any;
|
|
266
|
+
} & MUIStyledCommonProps<Theme>, {}, {}>;
|
|
267
|
+
|
|
268
|
+
export declare const useApi: (props: any) => AxiosInstance;
|
|
269
|
+
|
|
270
|
+
export declare function useBoxSize(ref: any): ({
|
|
271
|
+
y: number;
|
|
272
|
+
x: number;
|
|
273
|
+
} | Dispatch<SetStateAction< {
|
|
274
|
+
y: number;
|
|
275
|
+
x: number;
|
|
276
|
+
}>>)[];
|
|
277
|
+
|
|
278
|
+
export declare const useRandomId: (length?: number) => string;
|
|
279
|
+
|
|
280
|
+
export declare const useStore: (props?: {}) => {}[];
|
|
281
|
+
|
|
282
|
+
export declare const useVariable: (props?: {}) => {}[];
|
|
283
|
+
|
|
284
|
+
export declare const VirtualContainer: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
|
|
285
|
+
|
|
286
|
+
export declare const Whatsnew: default_2.ForwardRefExoticComponent<default_2.RefAttributes<unknown>>;
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
export * from "lucide-react";
|
|
290
|
+
|
|
291
|
+
export { }
|