@spaceandtimelabs/dapp-mi-components 0.2.0 → 0.3.2
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/index.d.ts +421 -77
- package/dist/index.es.js +13342 -13465
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1547 -1511
- package/dist/index.umd.js.map +1 -1
- package/package.json +23 -14
package/dist/index.d.ts
CHANGED
|
@@ -1,25 +1,27 @@
|
|
|
1
|
-
import { AccordionProps } from '
|
|
2
|
-
import { ButtonProps as ButtonProps_2 } from '
|
|
3
|
-
import { ChangeEvent } from '
|
|
4
|
-
import { Component } from '
|
|
5
|
-
import { default as default_2 } from '
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
1
|
+
import { AccordionProps } from '@mui/material';
|
|
2
|
+
import { ButtonProps as ButtonProps_2 } from '@mui/material/Button';
|
|
3
|
+
import { ChangeEvent } from 'react';
|
|
4
|
+
import { Component } from 'react';
|
|
5
|
+
import { default as default_2 } from 'react';
|
|
6
|
+
import { DefaultTheme } from 'styled-components';
|
|
7
|
+
import { ErrorInfo } from 'react';
|
|
8
|
+
import { GlobalStyleComponent } from 'styled-components';
|
|
9
|
+
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
10
|
+
import { MenuProps } from '@mui/material';
|
|
11
|
+
import { PaginationProps } from '@mui/material';
|
|
12
|
+
import { PropsWithChildren } from 'react';
|
|
13
13
|
import * as React_2 from 'react';
|
|
14
|
-
import { ReactNode } from '
|
|
15
|
-
import { SnackbarCloseReason } from '
|
|
16
|
-
import { SwitchProps } from '
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
14
|
+
import { ReactNode } from 'react';
|
|
15
|
+
import { SnackbarCloseReason } from '@mui/material/Snackbar';
|
|
16
|
+
import { SwitchProps } from '@mui/material';
|
|
17
|
+
import { SxProps } from '@mui/system';
|
|
18
|
+
import { Theme } from '@mui/material/styles';
|
|
19
|
+
import { TooltipProps } from '@mui/material/Tooltip';
|
|
20
|
+
import { TooltipProps as TooltipProps_2 } from '@mui/material';
|
|
19
21
|
|
|
20
|
-
export declare const Accordion: default_2.FC<AccordionComponentProps
|
|
22
|
+
export declare const Accordion: default_2.FC<ComponentWithChildren<AccordionComponentProps>>;
|
|
21
23
|
|
|
22
|
-
declare interface AccordionComponentProps extends
|
|
24
|
+
declare interface AccordionComponentProps extends Omit_2<AccordionProps, 'children'>, BaseComponentProps {
|
|
23
25
|
id: string;
|
|
24
26
|
summary: string;
|
|
25
27
|
items: ItemProps[];
|
|
@@ -33,7 +35,7 @@ export declare const ActivityBar: React_2.FC<ActivityBarProps>;
|
|
|
33
35
|
declare interface ActivityBarProps {
|
|
34
36
|
handleClose: (event: Event | React_2.SyntheticEvent, reason?: SnackbarCloseReason) => void;
|
|
35
37
|
open: boolean;
|
|
36
|
-
theme?:
|
|
38
|
+
theme?: Theme;
|
|
37
39
|
anchorOrigin?: {
|
|
38
40
|
vertical: 'top' | 'bottom';
|
|
39
41
|
horizontal: 'left' | 'right';
|
|
@@ -50,48 +52,106 @@ export declare const arrowRight: string;
|
|
|
50
52
|
|
|
51
53
|
export declare const arrowRightUp: string;
|
|
52
54
|
|
|
55
|
+
declare interface BaseComponentProps {
|
|
56
|
+
className?: string;
|
|
57
|
+
theme?: Theme;
|
|
58
|
+
sx?: SxProps<Theme>;
|
|
59
|
+
}
|
|
60
|
+
|
|
53
61
|
export declare const btnArrowRight: string;
|
|
54
62
|
|
|
55
|
-
export declare const Button:
|
|
63
|
+
export declare const Button: default_2.FC<ComponentWithChildren<ButtonProps>>;
|
|
56
64
|
|
|
57
|
-
export declare interface ButtonProps extends
|
|
65
|
+
export declare interface ButtonProps extends Omit_2<ButtonProps_2, 'variant' | 'size'>, BaseComponentProps {
|
|
58
66
|
type?: 'button' | 'submit' | 'reset';
|
|
59
67
|
sizes?: 'sm' | 'md';
|
|
60
68
|
variants?: 'primary' | 'secondary' | 'primary-outline' | 'skyPink' | 'skyPink-outline' | 'blue' | 'blue-outline' | 'indigo' | 'indigo-outline' | 'violet' | 'violet-outline' | 'danger' | 'danger-outline';
|
|
61
|
-
className?: string;
|
|
62
69
|
icon?: string;
|
|
63
70
|
iconPosition?: 'right' | 'left' | string | undefined;
|
|
64
71
|
text?: string | undefined;
|
|
65
72
|
onClick?: (event: default_2.MouseEvent<HTMLButtonElement>) => void;
|
|
66
73
|
isDisabled?: boolean;
|
|
67
|
-
theme?: any;
|
|
68
|
-
iconColor?: string;
|
|
69
74
|
}
|
|
70
75
|
|
|
71
|
-
export declare const Cards: ({ variants, className, theme, title, content, image
|
|
76
|
+
export declare const Cards: ({ variants, className, theme, title, content, image }: CardsProps) => JSX_2.Element;
|
|
72
77
|
|
|
73
78
|
declare interface CardsProps {
|
|
74
79
|
variants?: 'apps' | 'dashboard';
|
|
75
80
|
className?: string;
|
|
76
|
-
theme?:
|
|
81
|
+
theme?: Theme;
|
|
77
82
|
title?: string;
|
|
78
83
|
content?: string;
|
|
79
84
|
image?: string;
|
|
80
85
|
}
|
|
81
86
|
|
|
82
|
-
export declare const
|
|
87
|
+
export declare const Chat: ({ messageCollection, onNewUserMessage, userInput, onInputValueChange, messageLoading, onImageUploadClick, imageUploadDisabled, isSendDisabled, }: ChatProps) => JSX_2.Element;
|
|
83
88
|
|
|
84
|
-
export declare const
|
|
89
|
+
export declare const ChatBotButton: default_2.FC<ChatBotProps>;
|
|
85
90
|
|
|
86
|
-
export declare const
|
|
91
|
+
export declare const ChatBotComponentsTab: () => JSX_2.Element;
|
|
92
|
+
|
|
93
|
+
declare interface ChatbotMessage {
|
|
94
|
+
content: string;
|
|
95
|
+
role: string;
|
|
96
|
+
timestamp: number;
|
|
97
|
+
type: ChatMessageTypeEnum;
|
|
98
|
+
class?: string;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
declare interface ChatBotProps {
|
|
102
|
+
ChatTab: default_2.ComponentType;
|
|
103
|
+
ComponentsTab: default_2.ComponentType;
|
|
104
|
+
ProjectsTab: default_2.ComponentType;
|
|
105
|
+
ManageTab: default_2.ComponentType;
|
|
106
|
+
onChatBotPinnedClick: () => void;
|
|
107
|
+
onChatBotCloseClick: () => void;
|
|
108
|
+
chatBotPinned: boolean;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export declare const ChatBotWrapper: ({ ChatTab, ComponentsTab, ProjectsTab, ManageTab, onChatBotPinnedClick, onChatBotCloseClick, chatBotPinned, }: ChatBotWrapperProps) => JSX_2.Element;
|
|
112
|
+
|
|
113
|
+
declare interface ChatBotWrapperProps {
|
|
114
|
+
ChatTab: default_2.ComponentType;
|
|
115
|
+
ComponentsTab: default_2.ComponentType;
|
|
116
|
+
ProjectsTab: default_2.ComponentType;
|
|
117
|
+
ManageTab: default_2.ComponentType;
|
|
118
|
+
onChatBotPinnedClick: () => void;
|
|
119
|
+
onChatBotCloseClick: () => void;
|
|
120
|
+
chatBotPinned: boolean;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
declare interface ChatInputEvent extends React.ChangeEvent<HTMLInputElement> {
|
|
124
|
+
target: HTMLInputElement;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
declare enum ChatMessageTypeEnum {
|
|
128
|
+
popularTrade = "popular",
|
|
129
|
+
suggestion = "suggestion",
|
|
130
|
+
trade = "trade",
|
|
131
|
+
success = "success",
|
|
132
|
+
error = "error",
|
|
133
|
+
default = "default",
|
|
134
|
+
currency = "currency"
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
declare interface ChatProps {
|
|
138
|
+
messageCollection: ChatbotMessage[];
|
|
139
|
+
onNewUserMessage: () => void;
|
|
140
|
+
userInput: string;
|
|
141
|
+
onInputValueChange: (e: ChatInputEvent) => void;
|
|
142
|
+
messageLoading: boolean;
|
|
143
|
+
onImageUploadClick: () => void;
|
|
144
|
+
imageUploadDisabled: boolean;
|
|
145
|
+
isSendDisabled: boolean;
|
|
146
|
+
}
|
|
87
147
|
|
|
88
|
-
export declare const ChoiceOptions:
|
|
148
|
+
export declare const ChoiceOptions: default_2.FC;
|
|
89
149
|
|
|
90
|
-
export declare const Circular: () =>
|
|
150
|
+
export declare const Circular: () => JSX_2.Element;
|
|
91
151
|
|
|
92
152
|
export declare const circular: string;
|
|
93
153
|
|
|
94
|
-
export declare const CloseIconComponent:
|
|
154
|
+
export declare const CloseIconComponent: default_2.FC<ComponentWithChildren<IconsProps>>;
|
|
95
155
|
|
|
96
156
|
export declare const CommonDrawer: default_2.FC<CommonDrawerProps>;
|
|
97
157
|
|
|
@@ -99,7 +159,7 @@ export declare interface CommonDrawerProps {
|
|
|
99
159
|
children?: default_2.ReactNode;
|
|
100
160
|
header?: default_2.ReactNode;
|
|
101
161
|
drawerList: default_2.ReactNode;
|
|
102
|
-
theme?:
|
|
162
|
+
theme?: Theme;
|
|
103
163
|
}
|
|
104
164
|
|
|
105
165
|
export declare const CommonTable: default_2.FC<TableProps>;
|
|
@@ -111,26 +171,27 @@ export declare interface CommonTooltipProps extends TooltipProps {
|
|
|
111
171
|
sizes?: 'sm' | 'md';
|
|
112
172
|
}
|
|
113
173
|
|
|
174
|
+
declare type ComponentWithChildren<P = Record<string, unknown>> = PropsWithChildren<P>;
|
|
175
|
+
|
|
114
176
|
export declare const create: string;
|
|
115
177
|
|
|
116
|
-
export declare const CreateProject: () =>
|
|
178
|
+
export declare const CreateProject: () => JSX_2.Element;
|
|
117
179
|
|
|
118
|
-
export declare const CurrencyBox:
|
|
180
|
+
export declare const CurrencyBox: default_2.FC;
|
|
119
181
|
|
|
120
|
-
declare
|
|
121
|
-
}
|
|
182
|
+
declare type CustomPaginationProps = PaginationProps;
|
|
122
183
|
|
|
123
184
|
export declare const CustomSwitch: default_2.FC<CustomSwitchProps>;
|
|
124
185
|
|
|
125
186
|
export declare interface CustomSwitchProps extends SwitchProps {
|
|
126
187
|
className?: string;
|
|
127
|
-
theme?:
|
|
188
|
+
theme?: Theme;
|
|
128
189
|
label?: string;
|
|
129
190
|
labelPlacement?: 'end' | 'start' | 'top' | 'bottom';
|
|
130
191
|
}
|
|
131
192
|
|
|
132
193
|
declare interface Data {
|
|
133
|
-
[key: string]:
|
|
194
|
+
[key: string]: unknown;
|
|
134
195
|
}
|
|
135
196
|
|
|
136
197
|
export declare const data: string;
|
|
@@ -139,7 +200,7 @@ export declare const downArrow: string;
|
|
|
139
200
|
|
|
140
201
|
export declare const edit: string;
|
|
141
202
|
|
|
142
|
-
export declare const EditMenu: () =>
|
|
203
|
+
export declare const EditMenu: () => JSX_2.Element;
|
|
143
204
|
|
|
144
205
|
export declare class ErrorBoundary extends Component<Props, State> {
|
|
145
206
|
constructor(props: Props);
|
|
@@ -150,29 +211,33 @@ export declare class ErrorBoundary extends Component<Props, State> {
|
|
|
150
211
|
|
|
151
212
|
export declare const Explore: default_2.FC;
|
|
152
213
|
|
|
214
|
+
export declare const ExplorePage: default_2.FC;
|
|
215
|
+
|
|
153
216
|
export declare const filterIcn: string;
|
|
154
217
|
|
|
155
218
|
export declare const Footer: default_2.FC;
|
|
156
219
|
|
|
157
220
|
export declare const GlobalStyle: GlobalStyleComponent< {
|
|
158
|
-
theme:
|
|
221
|
+
theme: Theme;
|
|
159
222
|
$useImgColors?: boolean | undefined;
|
|
160
223
|
$chartBackground?: string[] | undefined;
|
|
161
224
|
}, DefaultTheme>;
|
|
162
225
|
|
|
163
|
-
export declare const Header: () =>
|
|
226
|
+
export declare const Header: ({ onAuthButtonClick }: HeaderProps) => JSX_2.Element;
|
|
227
|
+
|
|
228
|
+
declare interface HeaderProps {
|
|
229
|
+
onAuthButtonClick: () => void;
|
|
230
|
+
}
|
|
164
231
|
|
|
165
232
|
export declare const icnSearchInput: string;
|
|
166
233
|
|
|
167
|
-
export declare interface IconsProps extends
|
|
168
|
-
className?: string;
|
|
234
|
+
export declare interface IconsProps extends Omit_2<ButtonProps_2, 'variant' | 'size'>, BaseComponentProps {
|
|
169
235
|
iconColor?: string;
|
|
170
|
-
theme?: any;
|
|
171
236
|
}
|
|
172
237
|
|
|
173
238
|
export declare const infoCircle: string;
|
|
174
239
|
|
|
175
|
-
export declare const Input: ({ type, isDisabled, onClick, className, icon, iconPosition, placeholder, isButton, btnText, isBtnIcon, isIconPosition, inputRef, onChange, onBlur, onFocus, ...rest }: InputProps) =>
|
|
240
|
+
export declare const Input: ({ type, isDisabled, onClick, className, icon, iconPosition, placeholder, isButton, btnText, isBtnIcon, isIconPosition, inputRef, onChange, onBlur, onFocus, ...rest }: InputProps) => JSX_2.Element;
|
|
176
241
|
|
|
177
242
|
declare interface InputProps extends default_2.InputHTMLAttributes<HTMLInputElement> {
|
|
178
243
|
type: 'text' | 'email' | 'password' | 'search';
|
|
@@ -182,7 +247,7 @@ declare interface InputProps extends default_2.InputHTMLAttributes<HTMLInputElem
|
|
|
182
247
|
placeholder: string;
|
|
183
248
|
onClick?: (event: default_2.MouseEvent<HTMLElement>) => void;
|
|
184
249
|
isDisabled?: boolean;
|
|
185
|
-
isButton
|
|
250
|
+
isButton: boolean;
|
|
186
251
|
btnText?: string;
|
|
187
252
|
isBtnIcon?: string;
|
|
188
253
|
isIconPosition?: string;
|
|
@@ -200,7 +265,9 @@ declare interface ItemProps {
|
|
|
200
265
|
|
|
201
266
|
export declare const Landing: default_2.FC;
|
|
202
267
|
|
|
203
|
-
export declare const LandingDrawer:
|
|
268
|
+
export declare const LandingDrawer: default_2.FC<MiniDrawerProps>;
|
|
269
|
+
|
|
270
|
+
export declare const LandingPage: default_2.FC;
|
|
204
271
|
|
|
205
272
|
export declare const layer: string;
|
|
206
273
|
|
|
@@ -208,6 +275,8 @@ export declare const Layout: default_2.FC<LayoutProps>;
|
|
|
208
275
|
|
|
209
276
|
declare interface LayoutProps {
|
|
210
277
|
children: default_2.ReactNode;
|
|
278
|
+
onAuthButtonClick: () => void;
|
|
279
|
+
onSidebarLinkClick: (link: string) => void;
|
|
211
280
|
}
|
|
212
281
|
|
|
213
282
|
export declare const magicpen: string;
|
|
@@ -217,17 +286,290 @@ export declare const menu: string;
|
|
|
217
286
|
declare interface MenuItem {
|
|
218
287
|
icon: string;
|
|
219
288
|
title: string;
|
|
220
|
-
onClick?: (event:
|
|
289
|
+
onClick?: (event: default_2.MouseEvent<HTMLElement>) => void;
|
|
221
290
|
className?: string;
|
|
222
291
|
}
|
|
223
292
|
|
|
224
293
|
export declare const messages: string;
|
|
225
294
|
|
|
295
|
+
export declare const MI_DAPP_COMPONENTS_THEME: {
|
|
296
|
+
bodyBg: string;
|
|
297
|
+
palette: {
|
|
298
|
+
primary: {
|
|
299
|
+
main: string;
|
|
300
|
+
dark: string;
|
|
301
|
+
light: string;
|
|
302
|
+
};
|
|
303
|
+
secondary: {
|
|
304
|
+
main: string;
|
|
305
|
+
dark: string;
|
|
306
|
+
light: string;
|
|
307
|
+
};
|
|
308
|
+
error: {
|
|
309
|
+
main: string;
|
|
310
|
+
dark: string;
|
|
311
|
+
light: string;
|
|
312
|
+
};
|
|
313
|
+
};
|
|
314
|
+
typography: {
|
|
315
|
+
fontFamily: string;
|
|
316
|
+
};
|
|
317
|
+
breakpoints: {
|
|
318
|
+
values: {
|
|
319
|
+
xs: number;
|
|
320
|
+
sm: number;
|
|
321
|
+
md: number;
|
|
322
|
+
lg: number;
|
|
323
|
+
xl: number;
|
|
324
|
+
};
|
|
325
|
+
};
|
|
326
|
+
custom: {
|
|
327
|
+
brown: string;
|
|
328
|
+
blue: string;
|
|
329
|
+
blueLight: string;
|
|
330
|
+
blueActive: string;
|
|
331
|
+
navyBlue: string;
|
|
332
|
+
green: string;
|
|
333
|
+
greenLight: string;
|
|
334
|
+
red: string;
|
|
335
|
+
redLight: string;
|
|
336
|
+
redTrash: string;
|
|
337
|
+
violet: string;
|
|
338
|
+
orange: string;
|
|
339
|
+
cyan: string;
|
|
340
|
+
pink: string;
|
|
341
|
+
pinkDark: string;
|
|
342
|
+
olive: string;
|
|
343
|
+
blueDark: string;
|
|
344
|
+
mint: string;
|
|
345
|
+
purple: string;
|
|
346
|
+
purpleRgba: string;
|
|
347
|
+
purpleDark: string;
|
|
348
|
+
purpleLight: string;
|
|
349
|
+
purpleShade: string;
|
|
350
|
+
resizer: string;
|
|
351
|
+
chartGrid: string;
|
|
352
|
+
chartLabel: string;
|
|
353
|
+
yellow: string;
|
|
354
|
+
skelton: string;
|
|
355
|
+
axisPointer: string;
|
|
356
|
+
insightInfoBg: string;
|
|
357
|
+
nebulaBlue: string;
|
|
358
|
+
mutedColor: string;
|
|
359
|
+
drawerWidth: string;
|
|
360
|
+
drawerWidthMobile: string;
|
|
361
|
+
chatBotWidth: string;
|
|
362
|
+
pythonScriptColor: {
|
|
363
|
+
color1: string;
|
|
364
|
+
color2: string;
|
|
365
|
+
color3: string;
|
|
366
|
+
color5: string;
|
|
367
|
+
color6: string;
|
|
368
|
+
color7: string;
|
|
369
|
+
color8: string;
|
|
370
|
+
color9: string;
|
|
371
|
+
color10: string;
|
|
372
|
+
color11: string;
|
|
373
|
+
footerButtonBg: string;
|
|
374
|
+
};
|
|
375
|
+
chart: {
|
|
376
|
+
area: string;
|
|
377
|
+
bar: string;
|
|
378
|
+
sliderBg: string;
|
|
379
|
+
pieShadow: string;
|
|
380
|
+
A1: string;
|
|
381
|
+
};
|
|
382
|
+
gradiant: {
|
|
383
|
+
blue: string;
|
|
384
|
+
red: string;
|
|
385
|
+
mint: string;
|
|
386
|
+
bluePink: string;
|
|
387
|
+
violet: string;
|
|
388
|
+
};
|
|
389
|
+
tags: {
|
|
390
|
+
A1: string;
|
|
391
|
+
A2: string;
|
|
392
|
+
A3: string;
|
|
393
|
+
A4: string;
|
|
394
|
+
bg1: string;
|
|
395
|
+
bg2: string;
|
|
396
|
+
bg3: string;
|
|
397
|
+
bg4: string;
|
|
398
|
+
bg5: string;
|
|
399
|
+
};
|
|
400
|
+
counterType: {
|
|
401
|
+
A1: string;
|
|
402
|
+
A2: string;
|
|
403
|
+
A3: string;
|
|
404
|
+
A4: string;
|
|
405
|
+
};
|
|
406
|
+
greyText: {
|
|
407
|
+
A1: string;
|
|
408
|
+
A2: string;
|
|
409
|
+
A3: string;
|
|
410
|
+
A4: string;
|
|
411
|
+
A5: string;
|
|
412
|
+
A6: string;
|
|
413
|
+
A7: string;
|
|
414
|
+
A8: string;
|
|
415
|
+
A9: string;
|
|
416
|
+
A10: string;
|
|
417
|
+
A11: string;
|
|
418
|
+
A12: string;
|
|
419
|
+
A13: string;
|
|
420
|
+
};
|
|
421
|
+
black: {
|
|
422
|
+
A1: string;
|
|
423
|
+
A2: string;
|
|
424
|
+
A3: string;
|
|
425
|
+
A4: string;
|
|
426
|
+
A5: string;
|
|
427
|
+
A6: string;
|
|
428
|
+
A7: string;
|
|
429
|
+
A8: string;
|
|
430
|
+
Rgba: string;
|
|
431
|
+
};
|
|
432
|
+
white: {
|
|
433
|
+
A1: string;
|
|
434
|
+
A2: string;
|
|
435
|
+
A3: string;
|
|
436
|
+
A4: string;
|
|
437
|
+
A5: string;
|
|
438
|
+
A6: string;
|
|
439
|
+
A7: string;
|
|
440
|
+
A8: string;
|
|
441
|
+
A9: string;
|
|
442
|
+
A10: string;
|
|
443
|
+
A11: string;
|
|
444
|
+
A12: string;
|
|
445
|
+
A13: string;
|
|
446
|
+
A14: string;
|
|
447
|
+
Rgba: string;
|
|
448
|
+
};
|
|
449
|
+
erd: {
|
|
450
|
+
miniMap: {
|
|
451
|
+
nodeColor: string;
|
|
452
|
+
maskColor: string;
|
|
453
|
+
background: string;
|
|
454
|
+
};
|
|
455
|
+
parentHeadBg: string;
|
|
456
|
+
};
|
|
457
|
+
erdTable: {
|
|
458
|
+
titleBg: string;
|
|
459
|
+
countBg: string;
|
|
460
|
+
tableBg: string;
|
|
461
|
+
border: string;
|
|
462
|
+
headBg: string;
|
|
463
|
+
headText: string;
|
|
464
|
+
icon: string;
|
|
465
|
+
cellActive: string;
|
|
466
|
+
name: string;
|
|
467
|
+
type: string;
|
|
468
|
+
greyBg: string;
|
|
469
|
+
greyHeadBg: string;
|
|
470
|
+
greyLight: string;
|
|
471
|
+
pendingBg: string;
|
|
472
|
+
pendingTableHead: string;
|
|
473
|
+
};
|
|
474
|
+
editor: {
|
|
475
|
+
keyword: string;
|
|
476
|
+
function: string;
|
|
477
|
+
string: string;
|
|
478
|
+
type: string;
|
|
479
|
+
numeric: string;
|
|
480
|
+
ddl: string;
|
|
481
|
+
dml: string;
|
|
482
|
+
transactions: string;
|
|
483
|
+
};
|
|
484
|
+
chatBot: {
|
|
485
|
+
A1: string;
|
|
486
|
+
A2: string;
|
|
487
|
+
A3: string;
|
|
488
|
+
A4: string;
|
|
489
|
+
A5: string;
|
|
490
|
+
A6: string;
|
|
491
|
+
A7: string;
|
|
492
|
+
};
|
|
493
|
+
inputBg: string;
|
|
494
|
+
inputFocused: string;
|
|
495
|
+
primaryBg: string;
|
|
496
|
+
primaryBgActive: string;
|
|
497
|
+
primaryDisabled: string;
|
|
498
|
+
secondaryBg: string;
|
|
499
|
+
secondaryBgActive: string;
|
|
500
|
+
secondaryDisabled: string;
|
|
501
|
+
HeaderBg: string;
|
|
502
|
+
toolBarBg: string;
|
|
503
|
+
boxBg: string;
|
|
504
|
+
boxBg2: string;
|
|
505
|
+
boxBg3: string;
|
|
506
|
+
gredientBg: string;
|
|
507
|
+
editorBg: string;
|
|
508
|
+
modalBg: string;
|
|
509
|
+
popupBg: string;
|
|
510
|
+
cardBg: string;
|
|
511
|
+
dropdownBg: string;
|
|
512
|
+
trashBg: string;
|
|
513
|
+
tableBg: string;
|
|
514
|
+
tableActionBg: string;
|
|
515
|
+
tableActionBgHover: string;
|
|
516
|
+
tableActionBgDisabled: string;
|
|
517
|
+
thumbnailBg: string;
|
|
518
|
+
thumbnailImgBg: string;
|
|
519
|
+
thumbnailBgHover: string;
|
|
520
|
+
chartThumbnail: string;
|
|
521
|
+
chartThumbnailActive: string;
|
|
522
|
+
gridColumnsBg: string;
|
|
523
|
+
tableHoverBg: string;
|
|
524
|
+
counterBg: string;
|
|
525
|
+
counterThumbnailBg: string;
|
|
526
|
+
paymentCardBg: string;
|
|
527
|
+
avatarBgGradient: string;
|
|
528
|
+
loadData: {
|
|
529
|
+
panelBg: string;
|
|
530
|
+
listBg: string;
|
|
531
|
+
listBgActive: string;
|
|
532
|
+
descText: string;
|
|
533
|
+
};
|
|
534
|
+
piplineBg: string;
|
|
535
|
+
piplineFilterBg: string;
|
|
536
|
+
azureCardBg: string;
|
|
537
|
+
fontSize: {
|
|
538
|
+
font8: string;
|
|
539
|
+
font10: string;
|
|
540
|
+
font11: string;
|
|
541
|
+
font12: string;
|
|
542
|
+
font14: string;
|
|
543
|
+
font16: string;
|
|
544
|
+
font18: string;
|
|
545
|
+
font20: string;
|
|
546
|
+
font22: string;
|
|
547
|
+
font24: string;
|
|
548
|
+
font26: string;
|
|
549
|
+
font30: string;
|
|
550
|
+
font48: string;
|
|
551
|
+
};
|
|
552
|
+
fontWeight: {
|
|
553
|
+
lt: number;
|
|
554
|
+
rg: number;
|
|
555
|
+
md: number;
|
|
556
|
+
sm: number;
|
|
557
|
+
bd: number;
|
|
558
|
+
};
|
|
559
|
+
heading: {
|
|
560
|
+
h1: string;
|
|
561
|
+
h2: string;
|
|
562
|
+
h3: string;
|
|
563
|
+
};
|
|
564
|
+
};
|
|
565
|
+
};
|
|
566
|
+
|
|
226
567
|
declare interface MiniDrawerProps {
|
|
227
|
-
children:
|
|
568
|
+
children: default_2.ReactNode;
|
|
569
|
+
onSidebarLinkClick: (link: string) => void;
|
|
228
570
|
}
|
|
229
571
|
|
|
230
|
-
export declare const MyAppsContent: () =>
|
|
572
|
+
export declare const MyAppsContent: () => JSX_2.Element;
|
|
231
573
|
|
|
232
574
|
export declare const MyProjectHeader: default_2.FC<MyProjectHeaderProps>;
|
|
233
575
|
|
|
@@ -236,11 +578,13 @@ declare interface MyProjectHeaderProps {
|
|
|
236
578
|
title: string;
|
|
237
579
|
}
|
|
238
580
|
|
|
239
|
-
export declare const MyProjects: () =>
|
|
581
|
+
export declare const MyProjects: () => JSX_2.Element;
|
|
240
582
|
|
|
241
|
-
export declare const MySavedQueries: () =>
|
|
583
|
+
export declare const MySavedQueries: () => JSX_2.Element;
|
|
242
584
|
|
|
243
|
-
export declare const NextIcon: () =>
|
|
585
|
+
export declare const NextIcon: () => JSX_2.Element;
|
|
586
|
+
|
|
587
|
+
declare type Omit_2<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|
|
244
588
|
|
|
245
589
|
export declare const OverlayLoading: default_2.FC;
|
|
246
590
|
|
|
@@ -255,15 +599,16 @@ declare interface PageHeadProps {
|
|
|
255
599
|
|
|
256
600
|
export declare const pages: string;
|
|
257
601
|
|
|
258
|
-
export declare const PagesVersions: () =>
|
|
602
|
+
export declare const PagesVersions: () => JSX_2.Element;
|
|
259
603
|
|
|
260
604
|
export declare const PaginationComponent: default_2.FC<CustomPaginationProps>;
|
|
261
605
|
|
|
262
606
|
export declare const plus: string;
|
|
263
607
|
|
|
264
|
-
export declare const PopoverMenu: default_2.FC<PopoverMenuProps
|
|
608
|
+
export declare const PopoverMenu: default_2.FC<ComponentWithChildren<PopoverMenuProps>>;
|
|
265
609
|
|
|
266
|
-
export declare interface PopoverMenuProps extends
|
|
610
|
+
export declare interface PopoverMenuProps extends Omit_2<MenuProps, 'variant' | 'content' | 'open'>, BaseComponentProps {
|
|
611
|
+
id?: string;
|
|
267
612
|
anchorEl: HTMLElement | null;
|
|
268
613
|
onClose: () => void;
|
|
269
614
|
onClick?: (event: default_2.MouseEvent<HTMLElement>) => void;
|
|
@@ -283,15 +628,13 @@ export declare interface PopoverMenuProps extends Omit<MenuProps, 'variant' | 'c
|
|
|
283
628
|
vertical: 'top' | 'bottom';
|
|
284
629
|
horizontal: 'left' | 'right';
|
|
285
630
|
};
|
|
286
|
-
className?: string;
|
|
287
|
-
theme?: any;
|
|
288
631
|
}
|
|
289
632
|
|
|
290
|
-
export declare const PopularTrade:
|
|
633
|
+
export declare const PopularTrade: default_2.FC;
|
|
291
634
|
|
|
292
|
-
export declare const PreviousIcon: () =>
|
|
635
|
+
export declare const PreviousIcon: () => JSX_2.Element;
|
|
293
636
|
|
|
294
|
-
export declare const ProfileTooltip: () =>
|
|
637
|
+
export declare const ProfileTooltip: () => JSX_2.Element;
|
|
295
638
|
|
|
296
639
|
export declare const proofOFSql: string;
|
|
297
640
|
|
|
@@ -316,20 +659,20 @@ export declare const share: string;
|
|
|
316
659
|
declare interface SideBarButtonProps {
|
|
317
660
|
menuItems: MenuItem[];
|
|
318
661
|
section: string;
|
|
319
|
-
tootlTipProps?:
|
|
662
|
+
tootlTipProps?: Partial<TooltipProps_2>;
|
|
320
663
|
}
|
|
321
664
|
|
|
322
|
-
export declare const SideBarButtons:
|
|
665
|
+
export declare const SideBarButtons: default_2.FC<SideBarButtonProps>;
|
|
323
666
|
|
|
324
|
-
export declare const SideBarListItem:
|
|
667
|
+
export declare const SideBarListItem: default_2.NamedExoticComponent<SideBarListItemProps>;
|
|
325
668
|
|
|
326
669
|
declare interface SideBarListItemProps {
|
|
327
670
|
icon: string;
|
|
328
671
|
title: string;
|
|
329
672
|
className?: string;
|
|
330
673
|
isSelected: boolean;
|
|
331
|
-
onClick?: (event:
|
|
332
|
-
tooltipProps?:
|
|
674
|
+
onClick?: (event: default_2.MouseEvent<HTMLElement>) => void;
|
|
675
|
+
tooltipProps?: Partial<TooltipProps_2>;
|
|
333
676
|
}
|
|
334
677
|
|
|
335
678
|
export declare const spaceArchitecture: string;
|
|
@@ -340,7 +683,7 @@ declare interface State {
|
|
|
340
683
|
hasError: boolean;
|
|
341
684
|
}
|
|
342
685
|
|
|
343
|
-
export declare const SuggestedTrade:
|
|
686
|
+
export declare const SuggestedTrade: default_2.FC;
|
|
344
687
|
|
|
345
688
|
declare interface TableProps {
|
|
346
689
|
headers: string[];
|
|
@@ -356,15 +699,15 @@ declare interface TabProps {
|
|
|
356
699
|
|
|
357
700
|
export declare const TabsComponent: React_2.FC<TabProps>;
|
|
358
701
|
|
|
359
|
-
export declare const TradeInfo: () =>
|
|
702
|
+
export declare const TradeInfo: () => JSX_2.Element;
|
|
360
703
|
|
|
361
|
-
export declare const TradeSuccess:
|
|
704
|
+
export declare const TradeSuccess: default_2.FC;
|
|
362
705
|
|
|
363
706
|
export declare const transactions: string;
|
|
364
707
|
|
|
365
|
-
export declare const TypeWriterInput: () =>
|
|
708
|
+
export declare const TypeWriterInput: () => JSX_2.Element;
|
|
366
709
|
|
|
367
|
-
export declare const UIComponents: () =>
|
|
710
|
+
export declare const UIComponents: () => JSX_2.Element;
|
|
368
711
|
|
|
369
712
|
export declare const upload: string;
|
|
370
713
|
|
|
@@ -372,13 +715,14 @@ export declare const variableTheme: Theme;
|
|
|
372
715
|
|
|
373
716
|
export { }
|
|
374
717
|
|
|
718
|
+
|
|
375
719
|
declare module '@mui/material/styles' {
|
|
376
720
|
interface Theme {
|
|
377
|
-
custom:
|
|
378
|
-
bodyBg:
|
|
721
|
+
custom: CustomTheme;
|
|
722
|
+
bodyBg: string;
|
|
379
723
|
}
|
|
380
724
|
interface ThemeOptions {
|
|
381
|
-
custom?:
|
|
382
|
-
bodyBg?:
|
|
725
|
+
custom?: CustomTheme;
|
|
726
|
+
bodyBg?: string;
|
|
383
727
|
}
|
|
384
728
|
}
|