@hybridcore/ui 1.5.79 → 1.5.80
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/components/charts/candlestick/index.js +30 -613
- package/dist/components/charts/candlestick/logic.js +642 -0
- package/dist/components/charts/candlestick/styled.js +12 -0
- package/dist/components/charts/highlighting-line-data/index.js +31 -813
- package/dist/components/charts/highlighting-line-data/logic.js +836 -0
- package/dist/components/charts/highlighting-line-data/styled.js +12 -0
- package/dist/components/metric-card/index.js +55 -185
- package/dist/components/metric-card/logic.js +46 -0
- package/dist/components/metric-card/styled.js +136 -0
- package/dist/components/paginated-list/index.js +68 -95
- package/dist/components/paginated-list/logic.js +45 -0
- package/dist/components/paginated-list/styled.js +49 -0
- package/dist/components/profile-card/index.js +80 -0
- package/dist/components/profile-card/logic.js +33 -0
- package/dist/components/profile-card/styled.js +43 -0
- package/dist/main.d.ts +158 -32
- package/package.json +1 -1
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { styled as t, Card as e, CardHeader as a, CardContent as n, List as o } from "@mui/material";
|
|
2
|
+
const s = t(e, {
|
|
3
|
+
name: "MuiPaginatedList",
|
|
4
|
+
slot: "Root"
|
|
5
|
+
})(() => ({
|
|
6
|
+
display: "flex",
|
|
7
|
+
flexDirection: "column",
|
|
8
|
+
height: "100%"
|
|
9
|
+
})), r = t(a, {
|
|
10
|
+
name: "MuiPaginatedList",
|
|
11
|
+
slot: "Header"
|
|
12
|
+
})(({ theme: i }) => ({
|
|
13
|
+
padding: i.spacing(3),
|
|
14
|
+
paddingBottom: 0,
|
|
15
|
+
"& .MuiCardHeader-title": {
|
|
16
|
+
fontSize: "1rem",
|
|
17
|
+
fontWeight: 500
|
|
18
|
+
},
|
|
19
|
+
"& .MuiCardHeader-subheader": {
|
|
20
|
+
fontSize: ".875rem"
|
|
21
|
+
}
|
|
22
|
+
})), l = t(n, {
|
|
23
|
+
name: "MuiPaginatedList",
|
|
24
|
+
slot: "Content"
|
|
25
|
+
})(() => ({
|
|
26
|
+
padding: "0px !important",
|
|
27
|
+
display: "flex",
|
|
28
|
+
flexDirection: "column",
|
|
29
|
+
flex: 1,
|
|
30
|
+
overflow: "hidden"
|
|
31
|
+
})), g = t(o, {
|
|
32
|
+
name: "MuiPaginatedList",
|
|
33
|
+
slot: "List"
|
|
34
|
+
})(() => ({
|
|
35
|
+
flex: 1,
|
|
36
|
+
overflowY: "auto"
|
|
37
|
+
})), m = t("div", {
|
|
38
|
+
name: "MuiPaginatedList",
|
|
39
|
+
slot: "Pagination"
|
|
40
|
+
})(({ theme: i }) => ({
|
|
41
|
+
borderTop: `1px solid ${i.palette.divider}`
|
|
42
|
+
}));
|
|
43
|
+
export {
|
|
44
|
+
l as PaginatedListContent,
|
|
45
|
+
r as PaginatedListHeader,
|
|
46
|
+
g as PaginatedListList,
|
|
47
|
+
m as PaginatedListPagination,
|
|
48
|
+
s as PaginatedListRoot
|
|
49
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { ArrowRight as d } from "@mui/icons-material";
|
|
3
|
+
import { Box as l, Typography as n } from "@mui/material";
|
|
4
|
+
import p from "lodash";
|
|
5
|
+
import x from "react";
|
|
6
|
+
import b from "../instance-variable-list/variable.js";
|
|
7
|
+
import { useProfileCardLogic as u } from "./logic.js";
|
|
8
|
+
import { ProfileCardRoot as v, ProfileCardImage as P, ProfileCardHierarchy as C, ProfileCardVariables as I } from "./styled.js";
|
|
9
|
+
function A(s) {
|
|
10
|
+
const {
|
|
11
|
+
instance: r,
|
|
12
|
+
imageUrl: h,
|
|
13
|
+
templateHierarchy: m,
|
|
14
|
+
propertyNames: c,
|
|
15
|
+
ownerState: a,
|
|
16
|
+
sx: f,
|
|
17
|
+
templateIconUrl: g,
|
|
18
|
+
other: y
|
|
19
|
+
} = u(s);
|
|
20
|
+
return console.log(c, 26), /* @__PURE__ */ i(v, { ownerState: a, sx: f, ...y, children: [
|
|
21
|
+
/* @__PURE__ */ e(l, { mb: 2, children: /* @__PURE__ */ e(
|
|
22
|
+
P,
|
|
23
|
+
{
|
|
24
|
+
src: h || "https://picsum.photos/600/400",
|
|
25
|
+
alt: "Profile",
|
|
26
|
+
ownerState: a
|
|
27
|
+
}
|
|
28
|
+
) }),
|
|
29
|
+
/* @__PURE__ */ i(l, { display: "flex", alignItems: "center", mb: 1, children: [
|
|
30
|
+
/* @__PURE__ */ e("img", { src: g, alt: "Template Icon" }),
|
|
31
|
+
/* @__PURE__ */ e(n, { variant: "h5", component: "h2", gutterBottom: !0, children: r.title })
|
|
32
|
+
] }),
|
|
33
|
+
r.description && /* @__PURE__ */ e(n, { variant: "body1", paragraph: !0, children: r.description }),
|
|
34
|
+
/* @__PURE__ */ i(C, { ownerState: a, children: [
|
|
35
|
+
m.map((t, o) => /* @__PURE__ */ i(l, { display: "inline", alignItems: "center", children: [
|
|
36
|
+
o > 0 && /* @__PURE__ */ e(
|
|
37
|
+
d,
|
|
38
|
+
{
|
|
39
|
+
sx: { height: 20, verticalAlign: "middle" },
|
|
40
|
+
color: "disabled"
|
|
41
|
+
}
|
|
42
|
+
),
|
|
43
|
+
/* @__PURE__ */ e(n, { variant: "caption", color: "text.secondary", children: t.name })
|
|
44
|
+
] }, t.id || o)),
|
|
45
|
+
/* @__PURE__ */ i(l, { display: "inline", alignItems: "center", children: [
|
|
46
|
+
m.length > 0 && /* @__PURE__ */ e(
|
|
47
|
+
d,
|
|
48
|
+
{
|
|
49
|
+
sx: { height: 20, verticalAlign: "middle" },
|
|
50
|
+
color: "disabled"
|
|
51
|
+
}
|
|
52
|
+
),
|
|
53
|
+
/* @__PURE__ */ e(
|
|
54
|
+
n,
|
|
55
|
+
{
|
|
56
|
+
variant: "caption",
|
|
57
|
+
color: "text.secondary",
|
|
58
|
+
fontWeight: "bold",
|
|
59
|
+
children: r.template.name
|
|
60
|
+
}
|
|
61
|
+
)
|
|
62
|
+
] })
|
|
63
|
+
] }),
|
|
64
|
+
/* @__PURE__ */ e(I, { ownerState: a, children: p.keys(r.variables).map((t, o) => /* @__PURE__ */ e(
|
|
65
|
+
b,
|
|
66
|
+
{
|
|
67
|
+
type: t,
|
|
68
|
+
data: p.get(r.variables, t),
|
|
69
|
+
hashPrefix: `${r.template.type}-${r.template.templateKey}-`,
|
|
70
|
+
properties: c
|
|
71
|
+
},
|
|
72
|
+
o
|
|
73
|
+
)) })
|
|
74
|
+
] });
|
|
75
|
+
}
|
|
76
|
+
const V = x.memo(A);
|
|
77
|
+
export {
|
|
78
|
+
A as ProfileCard,
|
|
79
|
+
V as default
|
|
80
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { useThemeProps as g } from "@mui/material";
|
|
2
|
+
import { useMemo as n } from "react";
|
|
3
|
+
import { getTemplateHierarchy as M } from "../../utils/ontology.js";
|
|
4
|
+
const $ = (c) => {
|
|
5
|
+
const a = g({ props: c, name: "MuiProfileCard" }), { instance: t, templates: e, sx: m, ...i } = a, l = t.profileImageUrl, o = e.get(t.template.id), f = o == null ? void 0 : o.icon, h = n(() => {
|
|
6
|
+
const r = e.get(t.template.id);
|
|
7
|
+
return r ? M(e, r) : [];
|
|
8
|
+
}, [e, t.template.id]), u = n(() => {
|
|
9
|
+
const r = /* @__PURE__ */ new Map();
|
|
10
|
+
return e && e.forEach((s) => {
|
|
11
|
+
s.properties.forEach((p) => {
|
|
12
|
+
const d = `${s.type}-${s.templateKey}-${p.propertyId}`;
|
|
13
|
+
r.set(d, p.name);
|
|
14
|
+
});
|
|
15
|
+
}), r;
|
|
16
|
+
}, [e]), y = {
|
|
17
|
+
...a
|
|
18
|
+
};
|
|
19
|
+
return {
|
|
20
|
+
instance: t,
|
|
21
|
+
templates: e,
|
|
22
|
+
imageUrl: l,
|
|
23
|
+
templateHierarchy: h,
|
|
24
|
+
propertyNames: u,
|
|
25
|
+
ownerState: y,
|
|
26
|
+
sx: m,
|
|
27
|
+
templateIconUrl: f,
|
|
28
|
+
other: i
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export {
|
|
32
|
+
$ as useProfileCardLogic
|
|
33
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { styled as e, Container as i, Box as a } from "@mui/material";
|
|
2
|
+
const d = e(i, {
|
|
3
|
+
name: "MuiProfileCard",
|
|
4
|
+
slot: "Root",
|
|
5
|
+
overridesResolver: (r, o) => o.root
|
|
6
|
+
})(({ theme: r }) => ({
|
|
7
|
+
display: "flex",
|
|
8
|
+
flexDirection: "column",
|
|
9
|
+
alignItems: "center",
|
|
10
|
+
padding: r.spacing(3),
|
|
11
|
+
borderRadius: r.shape.borderRadius * 2,
|
|
12
|
+
boxShadow: r.shadows[1],
|
|
13
|
+
backgroundColor: r.palette.background.paper
|
|
14
|
+
})), l = e("img", {
|
|
15
|
+
name: "MuiProfileCard",
|
|
16
|
+
slot: "Image",
|
|
17
|
+
overridesResolver: (r, o) => o.image
|
|
18
|
+
})(({ theme: r }) => ({
|
|
19
|
+
maxWidth: 200,
|
|
20
|
+
borderRadius: "100%",
|
|
21
|
+
height: 200,
|
|
22
|
+
marginBottom: r.spacing(2)
|
|
23
|
+
})), t = e(a, {
|
|
24
|
+
name: "MuiProfileCard",
|
|
25
|
+
slot: "Hierarchy",
|
|
26
|
+
overridesResolver: (r, o) => o.hierarchy
|
|
27
|
+
})(({ theme: r }) => ({
|
|
28
|
+
marginLeft: 0,
|
|
29
|
+
marginBottom: r.spacing(2),
|
|
30
|
+
textAlign: "left"
|
|
31
|
+
})), n = e(a, {
|
|
32
|
+
name: "MuiProfileCard",
|
|
33
|
+
slot: "Variables",
|
|
34
|
+
overridesResolver: (r, o) => o.variables
|
|
35
|
+
})(({ theme: r }) => ({
|
|
36
|
+
paddingTop: r.spacing(2)
|
|
37
|
+
}));
|
|
38
|
+
export {
|
|
39
|
+
t as ProfileCardHierarchy,
|
|
40
|
+
l as ProfileCardImage,
|
|
41
|
+
d as ProfileCardRoot,
|
|
42
|
+
n as ProfileCardVariables
|
|
43
|
+
};
|
package/dist/main.d.ts
CHANGED
|
@@ -21,13 +21,14 @@ import { IconButtonProps } from '@mui/material/IconButton';
|
|
|
21
21
|
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
22
22
|
import { LocalizationProvider } from '@mui/x-date-pickers';
|
|
23
23
|
import { Pixel } from 'ol/pixel';
|
|
24
|
+
import * as React_2 from 'react';
|
|
24
25
|
import { ReactNode } from 'react';
|
|
25
26
|
import { Size } from 'ol/size';
|
|
26
27
|
import { SxProps } from '@mui/material';
|
|
27
28
|
import { SxProps as SxProps_2 } from '@mui/material/styles';
|
|
28
29
|
import { TabsProps as TabsProps_2 } from '@mui/material';
|
|
29
|
-
import { Theme } from '@mui/material
|
|
30
|
-
import { Theme as Theme_2 } from '@mui/material';
|
|
30
|
+
import { Theme } from '@mui/material';
|
|
31
|
+
import { Theme as Theme_2 } from '@mui/material/styles';
|
|
31
32
|
import { ThemeOptions } from '@mui/material';
|
|
32
33
|
import { ThemeProvider } from '@mui/material';
|
|
33
34
|
import { View } from 'ol';
|
|
@@ -64,10 +65,10 @@ declare interface ButtonType {
|
|
|
64
65
|
onClick?(event?: React.MouseEvent<HTMLElement>): void;
|
|
65
66
|
}
|
|
66
67
|
|
|
67
|
-
export declare function CandlestickChart
|
|
68
|
+
export declare function CandlestickChart(inProps: CandlestickChartProps): JSX_2.Element;
|
|
68
69
|
|
|
69
|
-
export declare interface CandlestickChartProps
|
|
70
|
-
data:
|
|
70
|
+
export declare interface CandlestickChartProps {
|
|
71
|
+
data: CandlestickData[];
|
|
71
72
|
height?: string | number;
|
|
72
73
|
width?: string | number;
|
|
73
74
|
chartId?: string;
|
|
@@ -77,6 +78,7 @@ export declare interface CandlestickChartProps<T extends CandlestickData> {
|
|
|
77
78
|
loading?: boolean;
|
|
78
79
|
emptyMessage?: string;
|
|
79
80
|
seriesName?: string;
|
|
81
|
+
sx?: SxProps<Theme>;
|
|
80
82
|
}
|
|
81
83
|
|
|
82
84
|
export declare interface CandlestickData {
|
|
@@ -170,15 +172,15 @@ declare interface ContainerProps {
|
|
|
170
172
|
/**
|
|
171
173
|
*
|
|
172
174
|
*/
|
|
173
|
-
sx?: SxProps_2<
|
|
175
|
+
sx?: SxProps_2<Theme_2>;
|
|
174
176
|
/**
|
|
175
177
|
*
|
|
176
178
|
*/
|
|
177
|
-
headerSx?: SxProps_2<
|
|
179
|
+
headerSx?: SxProps_2<Theme_2>;
|
|
178
180
|
/**
|
|
179
181
|
*
|
|
180
182
|
*/
|
|
181
|
-
contentSx?: SxProps_2<
|
|
183
|
+
contentSx?: SxProps_2<Theme_2>;
|
|
182
184
|
/**
|
|
183
185
|
*
|
|
184
186
|
*/
|
|
@@ -295,23 +297,24 @@ declare const hasDataAccess: (role: string, access: AccessType, permissions: AUT
|
|
|
295
297
|
|
|
296
298
|
declare const hasUIAccess: <T extends string>(feature: FeatureType | T, permissions?: AUTH.PermissionType) => boolean;
|
|
297
299
|
|
|
298
|
-
export declare function HighlightLineChart
|
|
300
|
+
export declare function HighlightLineChart(props: HighlightLineChartProps): JSX_2.Element;
|
|
299
301
|
|
|
300
|
-
export declare interface HighlightLineChartProps
|
|
301
|
-
seriesData: LineSeriesData
|
|
302
|
+
export declare interface HighlightLineChartProps {
|
|
303
|
+
seriesData: LineSeriesData[];
|
|
302
304
|
height?: string | number;
|
|
303
305
|
width?: string | number;
|
|
304
306
|
chartId?: string;
|
|
305
307
|
showLegend?: boolean;
|
|
306
308
|
loading?: boolean;
|
|
307
309
|
emptyMessage?: string;
|
|
310
|
+
sx?: SxProps<Theme>;
|
|
308
311
|
}
|
|
309
312
|
|
|
310
313
|
export declare const IconButton: default_2.FC<Props_6>;
|
|
311
314
|
|
|
312
315
|
declare function importKey(jwk: any): Promise<CryptoKey>;
|
|
313
316
|
|
|
314
|
-
export declare const InstanceForm: <T extends ONTOLOGY.Object | ONTOLOGY.Event | ONTOLOGY.Agent | ONTOLOGY.File, K extends INSTANCE.CreateObjectDTO | INSTANCE.UpdateObjectDTO | INSTANCE.CreateEventDTO | INSTANCE.UpdateEventDTO | INSTANCE.CreateAgentDTO | INSTANCE.CreateFileDTO | INSTANCE.UpdateFileDTO>(props: InstanceFormProps<T, K> & default_2.RefAttributes<InstanceFormHandle>) => default_2.ReactNode | null;
|
|
317
|
+
export declare const InstanceForm: <T extends ONTOLOGY.Object | ONTOLOGY.Event | ONTOLOGY.Agent | ONTOLOGY.File | ONTOLOGY.System, K extends INSTANCE.CreateObjectDTO | INSTANCE.UpdateObjectDTO | INSTANCE.CreateEventDTO | INSTANCE.UpdateEventDTO | INSTANCE.CreateAgentDTO | INSTANCE.CreateFileDTO | INSTANCE.UpdateFileDTO | INSTANCE.CreateSystemDTO | INSTANCE.UpdateSystemDTO>(props: InstanceFormProps<T, K> & default_2.RefAttributes<InstanceFormHandle>) => default_2.ReactNode | null;
|
|
315
318
|
|
|
316
319
|
export declare interface InstanceFormHandle {
|
|
317
320
|
/**
|
|
@@ -342,7 +345,12 @@ export declare interface InstanceFormHandle {
|
|
|
342
345
|
}
|
|
343
346
|
|
|
344
347
|
declare interface InstanceFormProps<
|
|
345
|
-
T extends
|
|
348
|
+
T extends
|
|
349
|
+
| ONTOLOGY.Object
|
|
350
|
+
| ONTOLOGY.Event
|
|
351
|
+
| ONTOLOGY.Agent
|
|
352
|
+
| ONTOLOGY.File
|
|
353
|
+
| ONTOLOGY.System,
|
|
346
354
|
K extends
|
|
347
355
|
| INSTANCE.CreateObjectDTO
|
|
348
356
|
| INSTANCE.UpdateObjectDTO
|
|
@@ -351,6 +359,8 @@ K extends
|
|
|
351
359
|
| INSTANCE.CreateAgentDTO
|
|
352
360
|
| INSTANCE.CreateFileDTO
|
|
353
361
|
| INSTANCE.UpdateFileDTO
|
|
362
|
+
| INSTANCE.CreateSystemDTO
|
|
363
|
+
| INSTANCE.UpdateSystemDTO
|
|
354
364
|
> {
|
|
355
365
|
/**
|
|
356
366
|
*
|
|
@@ -560,14 +570,14 @@ declare interface LinearIndicatorProps {
|
|
|
560
570
|
}
|
|
561
571
|
|
|
562
572
|
export declare interface LineDataPoint {
|
|
563
|
-
date: number
|
|
573
|
+
date: number; // timestamp
|
|
564
574
|
value: number;
|
|
565
575
|
}
|
|
566
576
|
|
|
567
|
-
export declare interface LineSeriesData
|
|
577
|
+
export declare interface LineSeriesData {
|
|
568
578
|
id: string; // unique seri ID'si
|
|
569
579
|
name: string;
|
|
570
|
-
data:
|
|
580
|
+
data: LineDataPoint[];
|
|
571
581
|
color?: string;
|
|
572
582
|
}
|
|
573
583
|
|
|
@@ -663,11 +673,11 @@ export declare namespace Map_2 {
|
|
|
663
673
|
}
|
|
664
674
|
}
|
|
665
675
|
|
|
666
|
-
export declare const MetricCard: (
|
|
676
|
+
export declare const MetricCard: (props: MetricCardProps & React_2.RefAttributes<HTMLDivElement>) => React_2.ReactNode | null;
|
|
667
677
|
|
|
668
678
|
export declare interface MetricCardProps {
|
|
669
|
-
label
|
|
670
|
-
value
|
|
679
|
+
label?: string;
|
|
680
|
+
value?: string | number;
|
|
671
681
|
change?: number;
|
|
672
682
|
changeType?: MetricChangeType;
|
|
673
683
|
trend?: MetricTrend;
|
|
@@ -681,7 +691,7 @@ export declare interface MetricCardProps {
|
|
|
681
691
|
| "bottom-right";
|
|
682
692
|
description?: string;
|
|
683
693
|
variant?: MetricVariant;
|
|
684
|
-
sx?: SxProps<
|
|
694
|
+
sx?: SxProps<Theme>;
|
|
685
695
|
}
|
|
686
696
|
|
|
687
697
|
export declare type MetricChangeType = "percentage" | "absolute";
|
|
@@ -708,16 +718,23 @@ declare interface OptionsType {
|
|
|
708
718
|
|
|
709
719
|
declare type OrientationType_2 = "portrait" | "landscape";
|
|
710
720
|
|
|
711
|
-
export declare function PaginatedList(
|
|
721
|
+
export declare function PaginatedList(inProps: PaginatedListProps): JSX_2.Element;
|
|
722
|
+
|
|
723
|
+
declare interface PaginatedListItem {
|
|
724
|
+
id: number;
|
|
725
|
+
title: string;
|
|
726
|
+
description: string;
|
|
727
|
+
icon?: React.ReactNode;
|
|
728
|
+
}
|
|
712
729
|
|
|
713
730
|
export declare interface PaginatedListProps {
|
|
714
731
|
title?: string;
|
|
715
|
-
data:
|
|
732
|
+
data: PaginatedListItem[];
|
|
716
733
|
totalCount?: number;
|
|
717
734
|
payload?: Partial<FV.SearchDTO>;
|
|
718
735
|
onChange?: (params: Partial<FV.SearchDTO>) => void;
|
|
719
|
-
onItemClick?: (item:
|
|
720
|
-
sx?: SxProps<
|
|
736
|
+
onItemClick?: (item: PaginatedListItem) => void;
|
|
737
|
+
sx?: SxProps<Theme>;
|
|
721
738
|
}
|
|
722
739
|
|
|
723
740
|
export declare const PhoneInput: React.FC<Props_9>;
|
|
@@ -919,7 +936,7 @@ declare interface SearchInputProps {
|
|
|
919
936
|
variant?: "outlined" | "filled" | "standard";
|
|
920
937
|
size?: "small" | "medium";
|
|
921
938
|
iconSize?: "small" | "medium" | "large";
|
|
922
|
-
sx?: SxProps_2<
|
|
939
|
+
sx?: SxProps_2<Theme_2>;
|
|
923
940
|
onChange?(value: string): void;
|
|
924
941
|
onSubmit?(value: string | undefined): void;
|
|
925
942
|
}
|
|
@@ -1045,7 +1062,7 @@ declare interface TemplateFilterProps {
|
|
|
1045
1062
|
|
|
1046
1063
|
export declare const TemplateFilters: React.FC<TemplateFilterProps>;
|
|
1047
1064
|
|
|
1048
|
-
export declare const TemplateForm: <T extends ONTOLOGY.Object | ONTOLOGY.Event | ONTOLOGY.Agent | ONTOLOGY.File, K extends ONTOLOGY.CreateObjectDTO | ONTOLOGY.CreateEventDTO | ONTOLOGY.CreateFileDTO | ONTOLOGY.CreateAgentDTO | ONTOLOGY.UpdateObjectDTO | ONTOLOGY.UpdateEventDTO | ONTOLOGY.UpdateFileDTO | ONTOLOGY.UpdateAgentDTO>(props: TemplateFormProps<T, K> & default_2.RefAttributes<TemplateFormHandle>) => default_2.ReactNode | null;
|
|
1065
|
+
export declare const TemplateForm: <T extends ONTOLOGY.Object | ONTOLOGY.Event | ONTOLOGY.Agent | ONTOLOGY.File | ONTOLOGY.System, K extends ONTOLOGY.CreateObjectDTO | ONTOLOGY.CreateEventDTO | ONTOLOGY.CreateFileDTO | ONTOLOGY.CreateAgentDTO | ONTOLOGY.UpdateObjectDTO | ONTOLOGY.UpdateEventDTO | ONTOLOGY.UpdateFileDTO | ONTOLOGY.UpdateAgentDTO | ONTOLOGY.CreateSystemDTO | ONTOLOGY.UpdateSystemDTO>(props: TemplateFormProps<T, K> & default_2.RefAttributes<TemplateFormHandle>) => default_2.ReactNode | null;
|
|
1049
1066
|
|
|
1050
1067
|
export declare interface TemplateFormHandle {
|
|
1051
1068
|
getValues: (key?: string) => any;
|
|
@@ -1064,12 +1081,12 @@ K extends
|
|
|
1064
1081
|
| ONTOLOGY.CreateEventDTO
|
|
1065
1082
|
| ONTOLOGY.CreateFileDTO
|
|
1066
1083
|
| ONTOLOGY.CreateAgentDTO
|
|
1067
|
-
| ONTOLOGY.
|
|
1084
|
+
| ONTOLOGY.CreateSystemDTO
|
|
1068
1085
|
| ONTOLOGY.UpdateObjectDTO
|
|
1069
1086
|
| ONTOLOGY.UpdateEventDTO
|
|
1070
1087
|
| ONTOLOGY.UpdateFileDTO
|
|
1071
1088
|
| ONTOLOGY.UpdateAgentDTO
|
|
1072
|
-
| ONTOLOGY.
|
|
1089
|
+
| ONTOLOGY.UpdateSystemDTO
|
|
1073
1090
|
> {
|
|
1074
1091
|
mappedTemplates: Map<string | number, T>;
|
|
1075
1092
|
|
|
@@ -1078,12 +1095,12 @@ K extends
|
|
|
1078
1095
|
ONTOLOGY.CreateEventDTO &
|
|
1079
1096
|
ONTOLOGY.CreateFileDTO &
|
|
1080
1097
|
ONTOLOGY.CreateAgentDTO &
|
|
1081
|
-
ONTOLOGY.
|
|
1098
|
+
ONTOLOGY.CreateSystemDTO &
|
|
1082
1099
|
ONTOLOGY.UpdateObjectDTO &
|
|
1083
1100
|
ONTOLOGY.UpdateEventDTO &
|
|
1084
1101
|
ONTOLOGY.UpdateFileDTO &
|
|
1085
1102
|
ONTOLOGY.UpdateAgentDTO &
|
|
1086
|
-
ONTOLOGY.
|
|
1103
|
+
ONTOLOGY.UpdateSystemDTO
|
|
1087
1104
|
>;
|
|
1088
1105
|
loading?: boolean;
|
|
1089
1106
|
agentTemplates?: Map<string | number, ONTOLOGY.Agent>;
|
|
@@ -1154,6 +1171,46 @@ export { }
|
|
|
1154
1171
|
|
|
1155
1172
|
|
|
1156
1173
|
|
|
1174
|
+
declare module "@mui/material/styles" {
|
|
1175
|
+
interface ComponentNameToClassKey {
|
|
1176
|
+
MuiCandlestickChart: "root";
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
interface ComponentsPropsList {
|
|
1180
|
+
MuiCandlestickChart: CandlestickChartProps;
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
interface Components {
|
|
1184
|
+
MuiCandlestickChart?: {
|
|
1185
|
+
defaultProps?: ComponentsPropsList["MuiCandlestickChart"];
|
|
1186
|
+
styleOverrides?: ComponentsOverrides<Theme>["MuiCandlestickChart"];
|
|
1187
|
+
variants?: ComponentsVariants["MuiCandlestickChart"];
|
|
1188
|
+
};
|
|
1189
|
+
}
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
|
|
1193
|
+
|
|
1194
|
+
declare module "@mui/material/styles" {
|
|
1195
|
+
interface ComponentNameToClassKey {
|
|
1196
|
+
MuiHighlightLineChart: "root";
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1199
|
+
interface ComponentsPropsList {
|
|
1200
|
+
MuiHighlightLineChart: HighlightLineChartProps;
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
interface Components {
|
|
1204
|
+
MuiHighlightLineChart?: {
|
|
1205
|
+
defaultProps?: ComponentsPropsList["MuiHighlightLineChart"];
|
|
1206
|
+
styleOverrides?: ComponentsOverrides<Theme>["MuiHighlightLineChart"];
|
|
1207
|
+
variants?: ComponentsVariants["MuiHighlightLineChart"];
|
|
1208
|
+
};
|
|
1209
|
+
}
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
|
|
1213
|
+
|
|
1157
1214
|
declare namespace MAP {
|
|
1158
1215
|
interface Coordinate {
|
|
1159
1216
|
latitude: number;
|
|
@@ -1236,6 +1293,75 @@ declare namespace MAP {
|
|
|
1236
1293
|
}
|
|
1237
1294
|
}
|
|
1238
1295
|
|
|
1296
|
+
|
|
1297
|
+
|
|
1298
|
+
declare module "@mui/material/styles" {
|
|
1299
|
+
interface ComponentNameToClassKey {
|
|
1300
|
+
MuiMetricCard:
|
|
1301
|
+
| "root"
|
|
1302
|
+
| "content"
|
|
1303
|
+
| "label"
|
|
1304
|
+
| "value"
|
|
1305
|
+
| "trendContainer"
|
|
1306
|
+
| "trendValue"
|
|
1307
|
+
| "description"
|
|
1308
|
+
| "icon"
|
|
1309
|
+
| "cornerIcon";
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1312
|
+
interface ComponentsPropsList {
|
|
1313
|
+
MuiMetricCard: MetricCardProps;
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
interface Components {
|
|
1317
|
+
MuiMetricCard?: {
|
|
1318
|
+
defaultProps?: ComponentsPropsList["MuiMetricCard"];
|
|
1319
|
+
styleOverrides?: ComponentsOverrides<Theme>["MuiMetricCard"];
|
|
1320
|
+
variants?: ComponentsVariants["MuiMetricCard"];
|
|
1321
|
+
};
|
|
1322
|
+
}
|
|
1323
|
+
}
|
|
1324
|
+
|
|
1325
|
+
|
|
1326
|
+
|
|
1327
|
+
declare module "@mui/material/styles" {
|
|
1328
|
+
interface ComponentNameToClassKey {
|
|
1329
|
+
MuiPaginatedList: "root" | "content" | "header" | "list" | "pagination";
|
|
1330
|
+
}
|
|
1331
|
+
|
|
1332
|
+
interface ComponentsPropsList {
|
|
1333
|
+
MuiPaginatedList: PaginatedListProps;
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
interface Components {
|
|
1337
|
+
MuiPaginatedList?: {
|
|
1338
|
+
defaultProps?: ComponentsPropsList["MuiPaginatedList"];
|
|
1339
|
+
styleOverrides?: ComponentsOverrides<Theme>["MuiPaginatedList"];
|
|
1340
|
+
variants?: ComponentsVariants["MuiPaginatedList"];
|
|
1341
|
+
};
|
|
1342
|
+
}
|
|
1343
|
+
}
|
|
1344
|
+
|
|
1345
|
+
|
|
1346
|
+
|
|
1347
|
+
declare module "@mui/material/styles" {
|
|
1348
|
+
interface ComponentNameToClassKey {
|
|
1349
|
+
MuiProfileCard: "root" | "image" | "hierarchy" | "variables";
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
interface ComponentsPropsList {
|
|
1353
|
+
MuiProfileCard: ProfileCardProps;
|
|
1354
|
+
}
|
|
1355
|
+
|
|
1356
|
+
interface Components {
|
|
1357
|
+
MuiProfileCard?: {
|
|
1358
|
+
defaultProps?: ComponentsPropsList["MuiProfileCard"];
|
|
1359
|
+
styleOverrides?: ComponentsOverrides<Theme>["MuiProfileCard"];
|
|
1360
|
+
variants?: ComponentsVariants["MuiProfileCard"];
|
|
1361
|
+
};
|
|
1362
|
+
}
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1239
1365
|
declare namespace AUTH {
|
|
1240
1366
|
type ModuleType =
|
|
1241
1367
|
| "UI"
|
|
@@ -1993,7 +2119,7 @@ declare namespace ONTOLOGY {
|
|
|
1993
2119
|
editable: boolean;
|
|
1994
2120
|
}
|
|
1995
2121
|
|
|
1996
|
-
interface
|
|
2122
|
+
interface CreateSystemDTO {
|
|
1997
2123
|
templateKey: string;
|
|
1998
2124
|
name: string;
|
|
1999
2125
|
description: string;
|
|
@@ -2007,7 +2133,7 @@ declare namespace ONTOLOGY {
|
|
|
2007
2133
|
editable: boolean;
|
|
2008
2134
|
}
|
|
2009
2135
|
|
|
2010
|
-
interface
|
|
2136
|
+
interface UpdateSystemDTO extends CreateSystemDTO {
|
|
2011
2137
|
id: number;
|
|
2012
2138
|
}
|
|
2013
2139
|
|