sevago-sso-fe 1.0.56 → 1.0.57
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/common/constant/apps.data.d.ts +19 -0
- package/dist/common/constant/hierarchical.constant.d.ts +8 -0
- package/dist/common/utils/index.d.ts +0 -2
- package/dist/common/utils/other/hierarchical.utils.d.ts +1 -0
- package/dist/components/app-grid/app-grid.component.d.ts +1 -3
- package/dist/components/elements/pagination/index.d.ts +1 -0
- package/dist/components/elements/pagination/pagination.element.d.ts +14 -0
- package/dist/components/elements/radio/index.d.ts +1 -0
- package/dist/components/elements/radio/radio-group.element.d.ts +16 -0
- package/dist/components/elements/switch/index.d.ts +2 -0
- package/dist/components/elements/switch/switch-content.element.d.ts +10 -0
- package/dist/components/elements/switch/switch.element.d.ts +7 -0
- package/dist/components/elements/tag/index.d.ts +2 -0
- package/dist/components/elements/tag/tag-on-click.element.d.ts +8 -0
- package/dist/components/elements/tag/tag.element.d.ts +18 -0
- package/dist/components/elements/text-field/index.d.ts +1 -0
- package/dist/components/elements/text-field/text-field-date.element.d.ts +0 -0
- package/dist/components/elements/text-field/text-field-label.element.d.ts +9 -0
- package/dist/components/elements/text-field/text-field-month-year.element.d.ts +0 -0
- package/dist/components/elements/text-field/text-field-number.element.d.ts +0 -0
- package/dist/components/elements/text-field/text-field-search-custom.element.d.ts +9 -0
- package/dist/components/elements/text-field/text-field-search.element.d.ts +9 -0
- package/dist/components/elements/text-field/text-field-select-search-object.element.d.ts +0 -0
- package/dist/components/elements/text-field/text-field-select-search.element.d.ts +0 -0
- package/dist/components/elements/text-field/text-field.element.d.ts +13 -0
- package/dist/components/elements/text-field/text-highlight.element.d.ts +3 -0
- package/dist/components/elements/tooltip/index.d.ts +2 -0
- package/dist/components/elements/tooltip/tooltip-on-click.element.d.ts +7 -0
- package/dist/components/elements/tooltip/tooltip-on-hover.element.d.ts +9 -0
- package/dist/components/elements/typography/typography-grid-info-row.component.d.ts +14 -0
- package/dist/components/elements/typography/typography-info-row.component.d.ts +11 -0
- package/dist/components/elements/typography/typography-info-user.component.d.ts +19 -0
- package/dist/components/elements/wrapper/index.d.ts +3 -0
- package/dist/components/elements/wrapper/wrapper-chart.element.d.ts +9 -0
- package/dist/components/elements/wrapper/wrapper-content.element.d.ts +18 -0
- package/dist/components/elements/wrapper/wrapper.element.d.ts +23 -0
- package/dist/components/sidebar/apps-sidebar.component.d.ts +2 -0
- package/dist/components/sidebar/system-monitor-sidebar.part.d.ts +2 -0
- package/dist/components/system-monitor/system-monitor.screen.d.ts +2 -0
- package/dist/index.cjs.js +159 -161
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +160 -162
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/dist/common/utils/delay.utils.d.ts +0 -1
- package/dist/common/utils/string.utils.d.ts +0 -10
|
@@ -9,6 +9,7 @@ export declare enum AppGroup {
|
|
|
9
9
|
}
|
|
10
10
|
export interface AppInfo {
|
|
11
11
|
path: {
|
|
12
|
+
local: string;
|
|
12
13
|
develop: string;
|
|
13
14
|
staging: string;
|
|
14
15
|
production: string;
|
|
@@ -27,6 +28,7 @@ export declare const APP_GROUP_COLOR: {
|
|
|
27
28
|
Khác: string;
|
|
28
29
|
};
|
|
29
30
|
export declare const SSO: {
|
|
31
|
+
local: string;
|
|
30
32
|
develop: string;
|
|
31
33
|
staging: string;
|
|
32
34
|
production: string;
|
|
@@ -34,6 +36,7 @@ export declare const SSO: {
|
|
|
34
36
|
export declare const APP_OBJ: {
|
|
35
37
|
E_HIRING: {
|
|
36
38
|
path: {
|
|
39
|
+
local: string;
|
|
37
40
|
develop: string;
|
|
38
41
|
staging: string;
|
|
39
42
|
production: string;
|
|
@@ -45,6 +48,7 @@ export declare const APP_OBJ: {
|
|
|
45
48
|
};
|
|
46
49
|
HR: {
|
|
47
50
|
path: {
|
|
51
|
+
local: string;
|
|
48
52
|
develop: string;
|
|
49
53
|
staging: string;
|
|
50
54
|
production: string;
|
|
@@ -56,6 +60,7 @@ export declare const APP_OBJ: {
|
|
|
56
60
|
};
|
|
57
61
|
PAYROLL: {
|
|
58
62
|
path: {
|
|
63
|
+
local: string;
|
|
59
64
|
develop: string;
|
|
60
65
|
staging: string;
|
|
61
66
|
production: string;
|
|
@@ -67,6 +72,7 @@ export declare const APP_OBJ: {
|
|
|
67
72
|
};
|
|
68
73
|
ORG: {
|
|
69
74
|
path: {
|
|
75
|
+
local: string;
|
|
70
76
|
develop: string;
|
|
71
77
|
staging: string;
|
|
72
78
|
production: string;
|
|
@@ -78,6 +84,7 @@ export declare const APP_OBJ: {
|
|
|
78
84
|
};
|
|
79
85
|
CHECKIN: {
|
|
80
86
|
path: {
|
|
87
|
+
local: string;
|
|
81
88
|
develop: string;
|
|
82
89
|
staging: string;
|
|
83
90
|
production: string;
|
|
@@ -89,6 +96,7 @@ export declare const APP_OBJ: {
|
|
|
89
96
|
};
|
|
90
97
|
CHAT: {
|
|
91
98
|
path: {
|
|
99
|
+
local: string;
|
|
92
100
|
develop: string;
|
|
93
101
|
staging: string;
|
|
94
102
|
production: string;
|
|
@@ -100,6 +108,7 @@ export declare const APP_OBJ: {
|
|
|
100
108
|
};
|
|
101
109
|
TRAINING: {
|
|
102
110
|
path: {
|
|
111
|
+
local: string;
|
|
103
112
|
develop: string;
|
|
104
113
|
staging: string;
|
|
105
114
|
production: string;
|
|
@@ -111,6 +120,7 @@ export declare const APP_OBJ: {
|
|
|
111
120
|
};
|
|
112
121
|
FORM: {
|
|
113
122
|
path: {
|
|
123
|
+
local: string;
|
|
114
124
|
develop: string;
|
|
115
125
|
staging: string;
|
|
116
126
|
production: string;
|
|
@@ -122,6 +132,7 @@ export declare const APP_OBJ: {
|
|
|
122
132
|
};
|
|
123
133
|
INSIDE: {
|
|
124
134
|
path: {
|
|
135
|
+
local: string;
|
|
125
136
|
develop: string;
|
|
126
137
|
staging: string;
|
|
127
138
|
production: string;
|
|
@@ -133,6 +144,7 @@ export declare const APP_OBJ: {
|
|
|
133
144
|
};
|
|
134
145
|
BOOKING: {
|
|
135
146
|
path: {
|
|
147
|
+
local: string;
|
|
136
148
|
develop: string;
|
|
137
149
|
staging: string;
|
|
138
150
|
production: string;
|
|
@@ -144,6 +156,7 @@ export declare const APP_OBJ: {
|
|
|
144
156
|
};
|
|
145
157
|
PROJECT: {
|
|
146
158
|
path: {
|
|
159
|
+
local: string;
|
|
147
160
|
develop: string;
|
|
148
161
|
staging: string;
|
|
149
162
|
production: string;
|
|
@@ -155,6 +168,7 @@ export declare const APP_OBJ: {
|
|
|
155
168
|
};
|
|
156
169
|
REQUEST: {
|
|
157
170
|
path: {
|
|
171
|
+
local: string;
|
|
158
172
|
develop: string;
|
|
159
173
|
staging: string;
|
|
160
174
|
production: string;
|
|
@@ -166,6 +180,7 @@ export declare const APP_OBJ: {
|
|
|
166
180
|
};
|
|
167
181
|
TRACKING: {
|
|
168
182
|
path: {
|
|
183
|
+
local: string;
|
|
169
184
|
develop: string;
|
|
170
185
|
staging: string;
|
|
171
186
|
production: string;
|
|
@@ -177,6 +192,7 @@ export declare const APP_OBJ: {
|
|
|
177
192
|
};
|
|
178
193
|
PROCESS: {
|
|
179
194
|
path: {
|
|
195
|
+
local: string;
|
|
180
196
|
develop: string;
|
|
181
197
|
staging: string;
|
|
182
198
|
production: string;
|
|
@@ -188,6 +204,7 @@ export declare const APP_OBJ: {
|
|
|
188
204
|
};
|
|
189
205
|
FORMULA_PRICE: {
|
|
190
206
|
path: {
|
|
207
|
+
local: string;
|
|
191
208
|
develop: string;
|
|
192
209
|
staging: string;
|
|
193
210
|
production: string;
|
|
@@ -199,6 +216,7 @@ export declare const APP_OBJ: {
|
|
|
199
216
|
};
|
|
200
217
|
E_CATALOGUE: {
|
|
201
218
|
path: {
|
|
219
|
+
local: string;
|
|
202
220
|
develop: string;
|
|
203
221
|
staging: string;
|
|
204
222
|
production: string;
|
|
@@ -210,6 +228,7 @@ export declare const APP_OBJ: {
|
|
|
210
228
|
};
|
|
211
229
|
LANDING_PAGE: {
|
|
212
230
|
path: {
|
|
231
|
+
local: string;
|
|
213
232
|
develop: string;
|
|
214
233
|
staging: string;
|
|
215
234
|
production: string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const columnWidth = 250;
|
|
2
|
+
export declare const columnHeight = 400;
|
|
3
|
+
export declare const visibleCount = 3;
|
|
4
|
+
export declare const rowHeight = 40;
|
|
5
|
+
export declare const COLOR_HIERARCHIAL: {
|
|
6
|
+
COLOR_HIGHLIGHT_ROW: string;
|
|
7
|
+
COLOR_HIGHLIGHT_TEXT: string;
|
|
8
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const normalizeText: (text: string) => string;
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { AppInfo } from '../../common/constant/apps.data';
|
|
3
|
-
import { Environment } from '../../common';
|
|
4
3
|
export interface AppGridProps {
|
|
5
4
|
apps: AppInfo[];
|
|
6
5
|
columns?: number;
|
|
7
6
|
rows?: number;
|
|
8
7
|
iconSize?: number;
|
|
9
8
|
iconRadius?: number;
|
|
10
|
-
iconShadow?: string;
|
|
11
9
|
gap?: number | string;
|
|
12
10
|
titleVariant?: "subtitle1" | "body1" | "caption";
|
|
13
11
|
captionVariant?: "caption" | "body2";
|
|
14
12
|
titleColor?: string;
|
|
15
13
|
captionColor?: string;
|
|
16
14
|
showPagination?: boolean;
|
|
17
|
-
|
|
15
|
+
onClickApp: (appInfo: AppInfo) => void;
|
|
18
16
|
}
|
|
19
17
|
export declare const AppGrid: React.FC<AppGridProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { PaginationElement } from './pagination.element';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export interface PaginationElementProps {
|
|
4
|
+
total?: number;
|
|
5
|
+
page: number;
|
|
6
|
+
take: number;
|
|
7
|
+
openRowsPerPage?: boolean;
|
|
8
|
+
onChange: (pagination: {
|
|
9
|
+
page: number;
|
|
10
|
+
take: number;
|
|
11
|
+
}) => void;
|
|
12
|
+
sx?: SxProps<Theme>;
|
|
13
|
+
}
|
|
14
|
+
export declare const PaginationElement: React.FC<PaginationElementProps>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material';
|
|
2
|
+
import { default as React, ReactNode } from 'react';
|
|
3
|
+
export interface RadioGroupElementProps {
|
|
4
|
+
name?: string;
|
|
5
|
+
direction?: "row" | "column";
|
|
6
|
+
label?: string;
|
|
7
|
+
iconLabel?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
defaultValue?: any;
|
|
10
|
+
value?: any;
|
|
11
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement> | any) => void;
|
|
12
|
+
children: ReactNode;
|
|
13
|
+
required?: boolean;
|
|
14
|
+
sx?: SxProps<Theme>;
|
|
15
|
+
}
|
|
16
|
+
export declare const RadioGroupElement: React.FC<RadioGroupElementProps>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export interface SwitchContentElementProps {
|
|
4
|
+
name?: string;
|
|
5
|
+
content: string;
|
|
6
|
+
value?: boolean;
|
|
7
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement> | any) => void;
|
|
8
|
+
sx?: SxProps<Theme>;
|
|
9
|
+
}
|
|
10
|
+
export declare const SwitchContentElement: React.FC<SwitchContentElementProps>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface TagOnClickElementProps {
|
|
3
|
+
content: string;
|
|
4
|
+
active: boolean;
|
|
5
|
+
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
6
|
+
size?: "small" | "medium";
|
|
7
|
+
}
|
|
8
|
+
export declare const TagOnClickElement: React.FC<TagOnClickElementProps>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export type TagType = "success" | "warning" | "info" | "secondary" | "primary" | "error";
|
|
4
|
+
export type TagSize = "large" | "medium" | "small";
|
|
5
|
+
export type TagVariant = "contained" | "outlined" | "outlined-border";
|
|
6
|
+
export declare const lightenColor: (hex: string, percent: number) => string;
|
|
7
|
+
export interface TagElementProps {
|
|
8
|
+
type: string;
|
|
9
|
+
content: string;
|
|
10
|
+
width?: number;
|
|
11
|
+
sx?: SxProps<Theme>;
|
|
12
|
+
variation?: "body1" | "caption";
|
|
13
|
+
variant?: TagVariant;
|
|
14
|
+
size?: TagSize;
|
|
15
|
+
color?: string;
|
|
16
|
+
iconProps?: React.ReactNode;
|
|
17
|
+
}
|
|
18
|
+
export declare const TagElement: React.FC<TagElementProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './text-highlight.element';
|
|
File without changes
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface TextFieldLabelElementProps {
|
|
3
|
+
label?: string | React.ReactNode;
|
|
4
|
+
iconLabel?: string;
|
|
5
|
+
colorLabel?: string;
|
|
6
|
+
required?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const TextFieldLabelElement: React.FC<TextFieldLabelElementProps>;
|
|
9
|
+
export {};
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseTextFieldProps } from '@mui/material';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export interface TextFieldSearchCustomElementProps extends BaseTextFieldProps {
|
|
4
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement> | any) => void;
|
|
5
|
+
label?: string;
|
|
6
|
+
iconLabel?: string;
|
|
7
|
+
value?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const TextFieldSearchCustomElement: React.FC<TextFieldSearchCustomElementProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseTextFieldProps } from '@mui/material';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export interface TextFieldSearchElementProps extends BaseTextFieldProps {
|
|
4
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement> | any) => void;
|
|
5
|
+
label?: string;
|
|
6
|
+
iconLabel?: string;
|
|
7
|
+
searchIcon?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const TextFieldSearchElement: React.FC<TextFieldSearchElementProps>;
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TextFieldProps } from '@mui/material';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export interface TextFieldElementProps extends Omit<TextFieldProps, ""> {
|
|
4
|
+
iconLabel?: string;
|
|
5
|
+
error?: any;
|
|
6
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement> | any) => void;
|
|
7
|
+
InputProps?: TextFieldProps["InputProps"];
|
|
8
|
+
colorLabel?: string;
|
|
9
|
+
description?: string | null;
|
|
10
|
+
showResetButton?: boolean;
|
|
11
|
+
onReset?: () => void;
|
|
12
|
+
}
|
|
13
|
+
export declare const TextFieldElement: React.FC<TextFieldElementProps>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export declare const highlightText: (text: string, searchTerm: string) => React.ReactNode;
|
|
3
|
+
export declare const highlightYellow: (text: string | React.ReactNode, highlightQuery: string, showEmptyAsDots: boolean) => string | number | bigint | true | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TooltipProps } from '@mui/material';
|
|
2
|
+
import { default as React, ReactElement } from 'react';
|
|
3
|
+
export interface TooltipOnClickElementProps extends Partial<Omit<TooltipProps, "content">> {
|
|
4
|
+
content: ReactElement | string;
|
|
5
|
+
onClickAway: () => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const TooltipOnClickElement: React.FC<TooltipOnClickElementProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TooltipProps } from '@mui/material';
|
|
2
|
+
import { default as React, ReactElement } from 'react';
|
|
3
|
+
export interface TooltipOnHoverElementProps extends Partial<Omit<TooltipProps, 'content'>> {
|
|
4
|
+
openTest?: boolean;
|
|
5
|
+
content: ReactElement | string;
|
|
6
|
+
showCloseIcon?: boolean;
|
|
7
|
+
onCloseClick?: () => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const TooltipOnHoverElement: React.FC<TooltipOnHoverElementProps>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
type TypographyGridInfoRowProps = {
|
|
4
|
+
label: string;
|
|
5
|
+
value: React.ReactNode;
|
|
6
|
+
sx?: SxProps<Theme>;
|
|
7
|
+
lineLimit?: number;
|
|
8
|
+
columns?: string;
|
|
9
|
+
layout?: "horizontal" | "vertical";
|
|
10
|
+
sxValue?: SxProps<Theme>;
|
|
11
|
+
sxLabel?: SxProps<Theme>;
|
|
12
|
+
};
|
|
13
|
+
declare const TypographyGridInfoRow: React.FC<TypographyGridInfoRowProps>;
|
|
14
|
+
export default TypographyGridInfoRow;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export interface TypographyInfoRowProps {
|
|
4
|
+
label: React.ReactNode;
|
|
5
|
+
value?: React.ReactNode;
|
|
6
|
+
sx?: SxProps<Theme>;
|
|
7
|
+
lineLimit?: number;
|
|
8
|
+
labelSx?: SxProps<Theme>;
|
|
9
|
+
isColumn?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const TypographyInfoRow: React.FC<TypographyInfoRowProps>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export interface InfoItem {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string | React.ReactNode;
|
|
6
|
+
sxValue?: SxProps<Theme>;
|
|
7
|
+
}
|
|
8
|
+
interface TypographyInfoGridProps {
|
|
9
|
+
items: InfoItem[];
|
|
10
|
+
columns?: number;
|
|
11
|
+
sx?: SxProps<Theme>;
|
|
12
|
+
columnGap?: number;
|
|
13
|
+
showEmptyAsDots?: boolean;
|
|
14
|
+
gridTemplateColumns?: string;
|
|
15
|
+
gap?: number;
|
|
16
|
+
highlightQuery?: string;
|
|
17
|
+
}
|
|
18
|
+
declare const TypographyInfoUser: React.FC<TypographyInfoGridProps>;
|
|
19
|
+
export default TypographyInfoUser;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material';
|
|
2
|
+
import { default as React, ReactNode } from 'react';
|
|
3
|
+
export interface WrapperChartElementProps {
|
|
4
|
+
name: string;
|
|
5
|
+
loading: boolean;
|
|
6
|
+
chart: ReactNode;
|
|
7
|
+
sx?: SxProps<Theme>;
|
|
8
|
+
}
|
|
9
|
+
export declare const WrapperChartElement: React.FC<WrapperChartElementProps>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material';
|
|
2
|
+
import { default as React, ReactNode } from 'react';
|
|
3
|
+
export interface WrapperContentElementProps {
|
|
4
|
+
iconLabel?: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
nodeLabel?: ReactNode;
|
|
7
|
+
labelSize?: 'large' | 'small' | 'medium';
|
|
8
|
+
flex?: number;
|
|
9
|
+
height?: string | number | 'fit-content';
|
|
10
|
+
width?: string | number | 'fit-content';
|
|
11
|
+
direction?: 'column' | 'row';
|
|
12
|
+
directionNodeLabel?: 'column' | 'row';
|
|
13
|
+
loading?: boolean;
|
|
14
|
+
sx?: SxProps<Theme>;
|
|
15
|
+
children?: ReactNode;
|
|
16
|
+
sxChildren?: SxProps<Theme>;
|
|
17
|
+
}
|
|
18
|
+
export declare const WrapperContentElement: React.FC<WrapperContentElementProps>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material';
|
|
2
|
+
import { default as React, ReactNode } from 'react';
|
|
3
|
+
export interface WrapperElementProps {
|
|
4
|
+
iconLabel?: string;
|
|
5
|
+
labelId?: string;
|
|
6
|
+
label?: string;
|
|
7
|
+
nodeAction?: ReactNode;
|
|
8
|
+
nodeLabel?: ReactNode;
|
|
9
|
+
labelSize?: 'large' | 'small' | 'medium';
|
|
10
|
+
flex?: number;
|
|
11
|
+
height?: string | number | 'fit-content';
|
|
12
|
+
width?: string | number | 'fit-content';
|
|
13
|
+
direction?: 'column' | 'row';
|
|
14
|
+
directionNodeLabel?: 'column' | 'row';
|
|
15
|
+
loading?: boolean;
|
|
16
|
+
sx?: SxProps<Theme>;
|
|
17
|
+
children?: ReactNode;
|
|
18
|
+
sxChildren?: SxProps<Theme>;
|
|
19
|
+
sxLabel?: SxProps<Theme>;
|
|
20
|
+
divider?: ReactNode;
|
|
21
|
+
isTopLabel?: boolean;
|
|
22
|
+
}
|
|
23
|
+
export declare const WrapperElement: React.FC<WrapperElementProps>;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { Environment } from '../../common';
|
|
3
|
+
import { AppInfo } from '../../common/constant/apps.data';
|
|
3
4
|
interface AppsSidebarProps {
|
|
4
5
|
isOpen: boolean;
|
|
5
6
|
onClose: () => void;
|
|
6
7
|
position?: "left" | "right";
|
|
7
8
|
blacklist?: string[];
|
|
8
9
|
env: Environment;
|
|
10
|
+
onClickApp: (appInfo: AppInfo) => void;
|
|
9
11
|
}
|
|
10
12
|
export declare const AppsSidebar: React.FC<AppsSidebarProps>;
|
|
11
13
|
export {};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { AppInfo } from '../../common';
|
|
1
2
|
import { Environment } from '../../common/utils/other/app.utils';
|
|
2
3
|
export interface SystemMonitorSidebarPartProps {
|
|
3
4
|
position?: "left" | "right";
|
|
4
5
|
blacklist?: string[];
|
|
5
6
|
env: Environment;
|
|
7
|
+
onClickApp: (appInfo: AppInfo) => void;
|
|
6
8
|
}
|
|
7
9
|
export declare const SystemMonitorSidebarPart: React.FC<SystemMonitorSidebarPartProps>;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
import { AppInfo } from '../../common/constant/apps.data';
|
|
2
3
|
import { Environment } from '../../common/utils/other/app.utils';
|
|
3
4
|
export interface SystemMonitorScreenProps {
|
|
4
5
|
blacklist?: string[];
|
|
5
6
|
env: Environment;
|
|
7
|
+
onClickApp: (appInfo: AppInfo) => void;
|
|
6
8
|
}
|
|
7
9
|
export declare const SystemMonitorScreen: React.FC<SystemMonitorScreenProps>;
|