@hybridcore/ui 1.5.80 → 1.5.83
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/{AccordionDetails-mpRYHtGq.js → AccordionDetails-DhriPVPP.js} +9 -9
- package/dist/{Add-Cjs72ewI.js → Add-CMz4N2zT.js} +36 -35
- package/dist/{AxisRendererY-CFo972D5.js → AxisRendererY-kADUad00.js} +2464 -3363
- package/dist/{Box-SSMZuKnS.js → Box-B1AVyJ_s.js} +17 -16
- package/dist/{Button-jy67CcTH.js → Button-eqWvpDuh.js} +12 -11
- package/dist/{ButtonBase-CgQC8DUB.js → ButtonBase-DsX-jMQJ.js} +4 -4
- package/dist/{CardContent-CCq4R1KS.js → CardContent-DsYqqPeJ.js} +4 -4
- package/dist/{Checkbox-B0P8LhCl.js → Checkbox-CrU2hpWB.js} +13 -12
- package/dist/ColumnSeries-BTcqshjB.js +399 -0
- package/dist/DateAxis-CMum47iz.js +924 -0
- package/dist/{Delete-6rKk6pCT.js → Delete-86TO0fMo.js} +1 -1
- package/dist/{DialogContent-WDuguvBY.js → DialogContent-CqTojymQ.js} +10 -9
- package/dist/{FormControlLabel-BNT5EI0b.js → FormControlLabel-DzNokgFD.js} +8 -7
- package/dist/{IconButton-DekcZv4i.js → IconButton-DJ-31-Fd.js} +11 -10
- package/dist/{Input-BAbDr3Tk.js → Input-B7ry6o4t.js} +23 -22
- package/dist/{InputAdornment-BAVRrRts.js → InputAdornment-B7qEA4kN.js} +6 -5
- package/dist/{InputLabel-ClDXuWBr.js → InputLabel-rrSJo8M_.js} +10 -9
- package/dist/LineSeries-CfcpoYla.js +549 -0
- package/dist/{List-CNeRnfGL.js → List-DOD5kSk3.js} +4 -4
- package/dist/{ListItem-N_dSd02S.js → ListItem-r8PbsvCz.js} +6 -6
- package/dist/{MenuItem-Lcjh1XlV.js → MenuItem-C6qlUyV3.js} +7 -7
- package/dist/{Modal-Csc9jNOg.js → Modal-CkcFEpHa.js} +8 -8
- package/dist/{OutlinedInput-De2keFJK.js → OutlinedInput-BDK6qOwW.js} +6 -6
- package/dist/{Paper-DRRYGupP.js → Paper-CjqLScHA.js} +5 -5
- package/dist/{Select-BQ4C15bt.js → Select-jjAc5JX1.js} +102 -101
- package/dist/{Tabs-DqdkJU6b.js → Tabs-Cn42Z5QI.js} +8 -8
- package/dist/{TextField-Db_pNPbv.js → TextField-Bf46COnQ.js} +24 -23
- package/dist/{Typography-CLq43OVQ.js → Typography-D1t7XuLN.js} +6 -5
- package/dist/components/card/index.js +6 -6
- package/dist/components/card/styled.js +1 -1
- package/dist/components/charts/candlestick/logic.js +133 -526
- package/dist/components/charts/highlighting-line-data/logic.js +152 -695
- package/dist/components/collapsible-card/style.js +3 -3
- package/dist/components/confirm/dialog.js +3 -3
- package/dist/components/confirm/index.js +1 -1
- package/dist/components/container/index.js +7 -7
- package/dist/components/context-menu/index.js +10 -10
- package/dist/components/flex-col/index.js +10 -0
- package/dist/components/flex-row/index.js +10 -0
- package/dist/components/geometry-picker/index.js +3 -3
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/instance-form/components/composite-list/index.js +1 -1
- package/dist/components/instance-form/components/composite-matrix/components/editable-table/index.js +93 -0
- package/dist/components/instance-form/components/composite-matrix/components/editor/index.js +87 -0
- package/dist/components/instance-form/components/composite-matrix/components/editor/styled.js +1 -0
- package/dist/components/instance-form/components/composite-matrix/components/form/index.js +105 -0
- package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +20551 -0
- package/dist/components/instance-form/components/composite-matrix/components/table/index.js +56 -0
- package/dist/components/instance-form/components/composite-matrix/index.js +52 -0
- package/dist/components/instance-form/components/composite-matrix/styled.js +69 -0
- package/dist/components/instance-form/components/variable/index.js +10 -9
- package/dist/components/instance-form/components/variables/index.js +1 -1
- package/dist/components/instance-hierarchy-table/styled.js +1 -1
- package/dist/components/map/styled.js +1 -1
- package/dist/components/metric-card/MetricChart.js +525 -0
- package/dist/components/metric-card/index.js +88 -45
- package/dist/components/metric-card/logic.js +82 -37
- package/dist/components/metric-card/styled.js +109 -90
- package/dist/components/paginated-list/styled.js +3 -3
- package/dist/components/property-mapping/index.js +1 -1
- package/dist/components/range-selector/components/composite-list-range/index.js +1 -1
- package/dist/components/range-selector/components/date-range/index.js +1 -1
- package/dist/components/range-selector/index.js +1 -1
- package/dist/components/search-input/index.js +4 -4
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/template-filters/components/tab-panel/index.js +1 -1
- package/dist/components/template-form/components/property-list/index.js +7 -7
- package/dist/components/template-form/components/property-list/property-list-columns.js +3 -3
- package/dist/components/template-form/components/property-list/property-list-form.js +9 -9
- package/dist/components/template-form/components/recognition-property-list/index.js +6 -6
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +2 -2
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +7 -7
- package/dist/components/template-form/index.js +5 -5
- package/dist/components/template-property-filters/property.js +5 -5
- package/dist/components/tree-select/index.js +5 -5
- package/dist/components/treeview-filter/item-label/index.js +3 -3
- package/dist/{createStyled-CUatW1r9.js → createStyled-BGx1I94c.js} +1 -1
- package/dist/{createSvgIcon-CsckVnG-.js → createSvgIcon-DLPYMuH1.js} +25 -24
- package/dist/{createSvgIcon-CBoAEepv.js → createSvgIcon-OuwzpcaC.js} +15 -14
- package/dist/{createTheme-DVoJnXAT.js → createTheme-CNnKNxwL.js} +1 -1
- package/dist/createTheme-CyC5HawC.js +879 -0
- package/dist/{dialog-D6oTCUrm.js → dialog-BE4D6swf.js} +6 -6
- package/dist/{exactProp-H1i70prd.js → exactProp-cjT0t_Pt.js} +2 -2
- package/dist/{extendSxProp-BmK2hLmq.js → extendSxProp-FEpqY5_S.js} +1 -1
- package/dist/index-DMSHuq6l.js +688 -0
- package/dist/{index-BmlSd3mA.js → index-MMaYBAn0.js} +138 -128
- package/dist/{index-R_b1ETBe.js → index-NNOChRJ7.js} +25 -24
- package/dist/{listItemTextClasses-CC7nbQWN.js → listItemTextClasses-CNjn41Of.js} +2 -2
- package/dist/main.d.ts +48 -14
- package/dist/main.js +47 -43
- package/dist/{property-list-form-B7SCqmD0.js → property-list-form-BvnaooEW.js} +13 -13
- package/dist/{styled-DkqItiLo.js → styled-B8ugzvji.js} +2 -2
- package/dist/{useTheme-GN5Dc3mG.js → useTheme-C15Eq8KG.js} +1 -1
- package/dist/{useTheme-B6oa3v5u.js → useTheme-D-uii9iX.js} +2 -2
- package/dist/{useThemeProps-BlXpIqSE.js → useThemeProps-DRP1dikX.js} +3 -3
- package/dist/{utils-BRsEqTye.js → utils-CsOZUsQj.js} +2 -2
- package/package.json +2 -1
- package/dist/createTheme-DrgvKMA_.js +0 -1563
|
@@ -1,46 +1,91 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { useThemeProps as
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
label:
|
|
6
|
-
value:
|
|
7
|
-
|
|
1
|
+
import { ArrowForward as S, TrendingUp as $, TrendingDown as y } from "@mui/icons-material";
|
|
2
|
+
import { useThemeProps as P } from "@mui/material";
|
|
3
|
+
const L = (N) => {
|
|
4
|
+
const u = P({ props: N, name: "MuiMetricCard" }), {
|
|
5
|
+
label: w,
|
|
6
|
+
value: e = [],
|
|
7
|
+
description: b,
|
|
8
|
+
variant: f = "default",
|
|
9
|
+
loading: v = !1,
|
|
10
|
+
showChange: p = !1,
|
|
8
11
|
changeType: r = "percentage",
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
showTrend: d = !1,
|
|
13
|
+
showIcon: l = !1,
|
|
14
|
+
icon: c,
|
|
15
|
+
iconPosition: i = "right",
|
|
16
|
+
showChart: T = !1,
|
|
17
|
+
chartType: C,
|
|
18
|
+
sx: I,
|
|
19
|
+
...x
|
|
20
|
+
} = u, m = e.length > 0;
|
|
21
|
+
let h = "—";
|
|
22
|
+
if (m) {
|
|
23
|
+
const t = Number(e[e.length - 1].v);
|
|
24
|
+
isNaN(t) || (h = new Intl.NumberFormat("en-US", {
|
|
25
|
+
maximumFractionDigits: 2
|
|
26
|
+
}).format(t));
|
|
27
|
+
}
|
|
28
|
+
let s;
|
|
29
|
+
if (p)
|
|
30
|
+
if (e.length >= 2) {
|
|
31
|
+
const t = Number(e[e.length - 1].v), n = Number(e[e.length - 2].v);
|
|
32
|
+
if (isNaN(t) || isNaN(n))
|
|
33
|
+
s = "—";
|
|
34
|
+
else if (n === 0 && r === "percentage")
|
|
35
|
+
s = "—";
|
|
36
|
+
else {
|
|
37
|
+
let a = 0;
|
|
38
|
+
r === "absolute" ? a = t - n : a = (t - n) / n * 100, s = `${a > 0 ? "+" : a < 0 ? "−" : ""}${Math.abs(a).toFixed(
|
|
39
|
+
r === "percentage" ? 1 : 2
|
|
40
|
+
)}${r === "percentage" ? "%" : ""}`;
|
|
41
|
+
}
|
|
42
|
+
} else
|
|
43
|
+
s = "—";
|
|
44
|
+
let o;
|
|
45
|
+
if (d && e.length >= 2) {
|
|
46
|
+
const t = Number(e[e.length - 1].v), n = Number(e[e.length - 2].v);
|
|
47
|
+
!isNaN(t) && !isNaN(n) && (t > n ? o = "up" : t < n ? o = "down" : o = "neutral");
|
|
48
|
+
}
|
|
49
|
+
const F = {
|
|
50
|
+
...u,
|
|
51
|
+
calculatedValue: h,
|
|
52
|
+
calculatedChange: s,
|
|
53
|
+
calculatedTrend: o,
|
|
54
|
+
hasData: m,
|
|
18
55
|
changeType: r,
|
|
19
|
-
iconPosition:
|
|
20
|
-
variant:
|
|
56
|
+
iconPosition: i,
|
|
57
|
+
variant: f
|
|
21
58
|
};
|
|
22
|
-
let
|
|
23
|
-
|
|
24
|
-
const
|
|
25
|
-
|
|
26
|
-
);
|
|
59
|
+
let g = S;
|
|
60
|
+
o === "up" ? g = $ : o === "down" && (g = y);
|
|
61
|
+
const M = l && !!c && ["top-left", "top-right", "bottom-left", "bottom-right"].includes(
|
|
62
|
+
i || ""
|
|
63
|
+
), D = l && !!c && ["left", "right"].includes(i || "");
|
|
27
64
|
return {
|
|
28
|
-
label:
|
|
29
|
-
value:
|
|
30
|
-
|
|
65
|
+
label: w,
|
|
66
|
+
value: e,
|
|
67
|
+
calculatedValue: h,
|
|
68
|
+
calculatedChange: s,
|
|
69
|
+
calculatedTrend: o,
|
|
70
|
+
description: b,
|
|
71
|
+
variant: f,
|
|
72
|
+
loading: v,
|
|
73
|
+
showChange: p,
|
|
31
74
|
changeType: r,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
75
|
+
showTrend: d,
|
|
76
|
+
showIcon: l,
|
|
77
|
+
Icon: c,
|
|
78
|
+
iconPosition: i,
|
|
79
|
+
showChart: T,
|
|
80
|
+
chartType: C,
|
|
81
|
+
sx: I,
|
|
82
|
+
other: x,
|
|
83
|
+
ownerState: F,
|
|
84
|
+
TrendIcon: g,
|
|
85
|
+
showCornerIcon: M,
|
|
86
|
+
showSideIcon: D
|
|
42
87
|
};
|
|
43
88
|
};
|
|
44
89
|
export {
|
|
45
|
-
|
|
90
|
+
L as useMetricCardLogic
|
|
46
91
|
};
|
|
@@ -1,136 +1,155 @@
|
|
|
1
|
-
import { styled as
|
|
2
|
-
const
|
|
1
|
+
import { styled as t, alpha as o, Stack as s, Typography as e } from "@mui/material";
|
|
2
|
+
const c = t("div", {
|
|
3
3
|
name: "MuiMetricCard",
|
|
4
4
|
slot: "Root"
|
|
5
|
-
})(({ theme:
|
|
6
|
-
const
|
|
5
|
+
})(({ theme: a, ownerState: i }) => {
|
|
6
|
+
const r = {
|
|
7
7
|
position: "relative",
|
|
8
8
|
overflow: "hidden",
|
|
9
|
-
padding:
|
|
10
|
-
borderRadius:
|
|
11
|
-
boxShadow:
|
|
9
|
+
padding: a.spacing(2, 3),
|
|
10
|
+
borderRadius: a.shape.borderRadius * 2,
|
|
11
|
+
boxShadow: a.shadows[1],
|
|
12
12
|
transition: "all 0.3s",
|
|
13
|
-
"&:hover": { boxShadow:
|
|
14
|
-
border: `1px solid ${
|
|
15
|
-
backgroundColor:
|
|
13
|
+
"&:hover": { boxShadow: a.shadows[3] },
|
|
14
|
+
border: `1px solid ${a.palette.divider}`,
|
|
15
|
+
backgroundColor: a.palette.background.paper,
|
|
16
|
+
display: "flex",
|
|
17
|
+
flexDirection: "column",
|
|
18
|
+
minHeight: 120
|
|
16
19
|
};
|
|
17
|
-
let
|
|
18
|
-
switch (
|
|
20
|
+
let n = {};
|
|
21
|
+
switch (i.variant) {
|
|
19
22
|
case "primary":
|
|
20
|
-
|
|
21
|
-
backgroundColor:
|
|
22
|
-
borderColor:
|
|
23
|
+
n = {
|
|
24
|
+
backgroundColor: o(a.palette.primary.main, 0.05),
|
|
25
|
+
borderColor: o(a.palette.primary.main, 0.2)
|
|
23
26
|
};
|
|
24
27
|
break;
|
|
25
28
|
case "success":
|
|
26
|
-
|
|
27
|
-
backgroundColor:
|
|
28
|
-
borderColor:
|
|
29
|
+
n = {
|
|
30
|
+
backgroundColor: o(a.palette.success.main, 0.05),
|
|
31
|
+
borderColor: o(a.palette.success.main, 0.2)
|
|
29
32
|
};
|
|
30
33
|
break;
|
|
31
34
|
case "warning":
|
|
32
|
-
|
|
33
|
-
backgroundColor:
|
|
34
|
-
borderColor:
|
|
35
|
+
n = {
|
|
36
|
+
backgroundColor: o(a.palette.warning.main, 0.05),
|
|
37
|
+
borderColor: o(a.palette.warning.main, 0.2)
|
|
35
38
|
};
|
|
36
39
|
break;
|
|
37
40
|
case "danger":
|
|
38
|
-
|
|
39
|
-
backgroundColor:
|
|
40
|
-
borderColor:
|
|
41
|
+
n = {
|
|
42
|
+
backgroundColor: o(a.palette.error.main, 0.05),
|
|
43
|
+
borderColor: o(a.palette.error.main, 0.2)
|
|
41
44
|
};
|
|
42
45
|
break;
|
|
43
46
|
default:
|
|
44
|
-
|
|
45
|
-
backgroundColor:
|
|
46
|
-
borderColor:
|
|
47
|
+
n = {
|
|
48
|
+
backgroundColor: a.palette.background.paper,
|
|
49
|
+
borderColor: a.palette.divider
|
|
47
50
|
};
|
|
48
51
|
break;
|
|
49
52
|
}
|
|
50
53
|
return {
|
|
51
|
-
...
|
|
52
|
-
...
|
|
54
|
+
...r,
|
|
55
|
+
...n
|
|
53
56
|
};
|
|
54
|
-
}),
|
|
57
|
+
}), p = t(s, {
|
|
55
58
|
name: "MuiMetricCard",
|
|
56
59
|
slot: "Content"
|
|
57
|
-
})(() => ({
|
|
58
|
-
flex: 1
|
|
59
|
-
|
|
60
|
+
})(({ theme: a }) => ({
|
|
61
|
+
flex: 1,
|
|
62
|
+
width: "100%",
|
|
63
|
+
zIndex: 1,
|
|
64
|
+
[a.breakpoints.down("sm")]: {
|
|
65
|
+
alignItems: "center",
|
|
66
|
+
textAlign: "center"
|
|
67
|
+
}
|
|
68
|
+
})), d = t(e, {
|
|
60
69
|
name: "MuiMetricCard",
|
|
61
70
|
slot: "Label"
|
|
62
|
-
})(({ theme:
|
|
63
|
-
color:
|
|
64
|
-
marginBottom:
|
|
65
|
-
|
|
71
|
+
})(({ theme: a }) => ({
|
|
72
|
+
color: a.palette.text.secondary,
|
|
73
|
+
marginBottom: a.spacing(0.5),
|
|
74
|
+
fontWeight: 500
|
|
75
|
+
})), g = t(e, {
|
|
66
76
|
name: "MuiMetricCard",
|
|
67
77
|
slot: "Value"
|
|
68
|
-
})(({ theme:
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
78
|
+
})(({ theme: a, ownerState: i }) => {
|
|
79
|
+
let r = a.palette.text.primary;
|
|
80
|
+
return i.variant === "primary" && (r = a.palette.primary.main), i.variant === "success" && (r = a.palette.success.main), i.variant === "warning" && (r = a.palette.warning.main), i.variant === "danger" && (r = a.palette.error.main), {
|
|
81
|
+
color: r,
|
|
82
|
+
fontWeight: "bold",
|
|
83
|
+
marginBottom: a.spacing(0.5)
|
|
84
|
+
};
|
|
85
|
+
}), u = t("div", {
|
|
73
86
|
name: "MuiMetricCard",
|
|
74
87
|
slot: "TrendContainer"
|
|
75
|
-
})(({ theme:
|
|
76
|
-
let
|
|
77
|
-
return
|
|
88
|
+
})(({ theme: a, ownerState: i }) => {
|
|
89
|
+
let r = a.palette.text.secondary;
|
|
90
|
+
return i.calculatedTrend === "up" ? r = a.palette.success.main : i.calculatedTrend === "down" ? r = a.palette.error.main : i.calculatedTrend === "neutral" && (r = a.palette.text.secondary), {
|
|
78
91
|
display: "inline-flex",
|
|
79
92
|
alignItems: "center",
|
|
80
|
-
gap:
|
|
81
|
-
|
|
82
|
-
borderRadius: 10,
|
|
83
|
-
...o.typography.caption,
|
|
93
|
+
gap: a.spacing(0.5),
|
|
94
|
+
fontSize: "0.875rem",
|
|
84
95
|
fontWeight: 500,
|
|
85
|
-
color:
|
|
86
|
-
backgroundColor: r
|
|
96
|
+
color: r
|
|
87
97
|
};
|
|
88
|
-
}),
|
|
98
|
+
}), C = t(e, {
|
|
89
99
|
name: "MuiMetricCard",
|
|
90
100
|
slot: "Description"
|
|
91
|
-
})(({ theme:
|
|
92
|
-
color:
|
|
93
|
-
|
|
101
|
+
})(({ theme: a }) => ({
|
|
102
|
+
color: a.palette.text.secondary,
|
|
103
|
+
display: "block"
|
|
104
|
+
})), f = t("div", {
|
|
94
105
|
name: "MuiMetricCard",
|
|
95
106
|
slot: "Icon"
|
|
96
|
-
})(({ theme:
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
+
})(({ theme: a, ownerState: i }) => {
|
|
108
|
+
let r = a.palette.text.secondary;
|
|
109
|
+
return i.variant === "primary" && (r = a.palette.primary.main), i.variant === "success" && (r = a.palette.success.main), i.variant === "warning" && (r = a.palette.warning.main), i.variant === "danger" && (r = a.palette.error.main), {
|
|
110
|
+
display: "flex",
|
|
111
|
+
alignItems: "center",
|
|
112
|
+
justifyContent: "center",
|
|
113
|
+
color: r,
|
|
114
|
+
marginRight: i.iconPosition === "left" ? a.spacing(2) : 0,
|
|
115
|
+
marginLeft: i.iconPosition === "right" ? a.spacing(2) : 0,
|
|
116
|
+
[a.breakpoints.down("sm")]: {
|
|
117
|
+
position: "absolute",
|
|
118
|
+
top: a.spacing(2),
|
|
119
|
+
left: a.spacing(2),
|
|
120
|
+
margin: 0
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
}), b = t("div", {
|
|
107
124
|
name: "MuiMetricCard",
|
|
108
125
|
slot: "CornerIcon"
|
|
109
|
-
})(({ theme:
|
|
110
|
-
|
|
111
|
-
|
|
126
|
+
})(({ theme: a, ownerState: i }) => {
|
|
127
|
+
let r = a.palette.text.secondary;
|
|
128
|
+
i.variant === "primary" && (r = a.palette.primary.main), i.variant === "success" && (r = a.palette.success.main), i.variant === "warning" && (r = a.palette.warning.main), i.variant === "danger" && (r = a.palette.error.main);
|
|
129
|
+
const n = {};
|
|
130
|
+
return i.iconPosition === "top-left" ? (n.top = a.spacing(2), n.left = a.spacing(2)) : i.iconPosition === "top-right" ? (n.top = a.spacing(2), n.right = a.spacing(2)) : i.iconPosition === "bottom-left" ? (n.bottom = a.spacing(2), n.left = a.spacing(2)) : i.iconPosition === "bottom-right" && (n.bottom = a.spacing(2), n.right = a.spacing(2)), {
|
|
112
131
|
position: "absolute",
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
right: (d = a.iconPosition) != null && d.includes("right") ? 24 : void 0,
|
|
117
|
-
zIndex: 1,
|
|
118
|
-
width: 48,
|
|
119
|
-
height: 48,
|
|
120
|
-
borderRadius: "50%",
|
|
121
|
-
backgroundColor: o.palette.action.hover,
|
|
122
|
-
display: "flex",
|
|
123
|
-
alignItems: "center",
|
|
124
|
-
justifyContent: "center"
|
|
132
|
+
...n,
|
|
133
|
+
color: r,
|
|
134
|
+
zIndex: 2
|
|
125
135
|
};
|
|
126
|
-
})
|
|
136
|
+
}), y = t("div", {
|
|
137
|
+
name: "MuiMetricCard",
|
|
138
|
+
slot: "ChartContainer"
|
|
139
|
+
})(() => ({
|
|
140
|
+
height: 40,
|
|
141
|
+
width: "100%",
|
|
142
|
+
display: "flex",
|
|
143
|
+
alignItems: "flex-end"
|
|
144
|
+
}));
|
|
127
145
|
export {
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
146
|
+
y as MetricCardChartContainer,
|
|
147
|
+
p as MetricCardContent,
|
|
148
|
+
b as MetricCardCornerIconContainer,
|
|
149
|
+
C as MetricCardDescription,
|
|
150
|
+
f as MetricCardIconContainer,
|
|
151
|
+
d as MetricCardLabel,
|
|
152
|
+
c as MetricCardRoot,
|
|
153
|
+
u as MetricCardTrendContainer,
|
|
154
|
+
g as MetricCardValue
|
|
136
155
|
};
|
|
@@ -11,7 +11,7 @@ const s = t(e, {
|
|
|
11
11
|
slot: "Header"
|
|
12
12
|
})(({ theme: i }) => ({
|
|
13
13
|
padding: i.spacing(3),
|
|
14
|
-
paddingBottom:
|
|
14
|
+
paddingBottom: i.spacing(2),
|
|
15
15
|
"& .MuiCardHeader-title": {
|
|
16
16
|
fontSize: "1rem",
|
|
17
17
|
fontWeight: 500
|
|
@@ -34,7 +34,7 @@ const s = t(e, {
|
|
|
34
34
|
})(() => ({
|
|
35
35
|
flex: 1,
|
|
36
36
|
overflowY: "auto"
|
|
37
|
-
})),
|
|
37
|
+
})), p = t("div", {
|
|
38
38
|
name: "MuiPaginatedList",
|
|
39
39
|
slot: "Pagination"
|
|
40
40
|
})(({ theme: i }) => ({
|
|
@@ -44,6 +44,6 @@ export {
|
|
|
44
44
|
l as PaginatedListContent,
|
|
45
45
|
r as PaginatedListHeader,
|
|
46
46
|
g as PaginatedListList,
|
|
47
|
-
|
|
47
|
+
p as PaginatedListPagination,
|
|
48
48
|
s as PaginatedListRoot
|
|
49
49
|
};
|
|
@@ -5,7 +5,7 @@ import { DataGrid as fe } from "@mui/x-data-grid";
|
|
|
5
5
|
import { useState as G, useEffect as ue } from "react";
|
|
6
6
|
import h from "lodash";
|
|
7
7
|
import { d as ye } from "../../ol-lGwSyEIV.js";
|
|
8
|
-
import { V as he } from "../../index-
|
|
8
|
+
import { V as he } from "../../index-MMaYBAn0.js";
|
|
9
9
|
import { RangeSelector as me } from "../range-selector/index.js";
|
|
10
10
|
const $e = ({
|
|
11
11
|
open: F,
|
|
@@ -3,7 +3,7 @@ import { Box as f, TextField as u } from "@mui/material";
|
|
|
3
3
|
import x from "../number-range/index.js";
|
|
4
4
|
import I from "../string-range/index.js";
|
|
5
5
|
import C from "../geometry-range/index.js";
|
|
6
|
-
import { D as c } from "../../../../index-
|
|
6
|
+
import { D as c } from "../../../../index-NNOChRJ7.js";
|
|
7
7
|
function j({
|
|
8
8
|
value: n,
|
|
9
9
|
innerType: e,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t, Fragment as a } from "react/jsx-runtime";
|
|
2
2
|
import n from "lodash";
|
|
3
3
|
import f from "./components/composite-list-range/index.js";
|
|
4
|
-
import { D as g } from "../../index-
|
|
4
|
+
import { D as g } from "../../index-NNOChRJ7.js";
|
|
5
5
|
import u from "./components/geometry-range/index.js";
|
|
6
6
|
import l from "./components/number-range/index.js";
|
|
7
7
|
import s from "./components/string-range/index.js";
|
|
@@ -2,10 +2,10 @@ import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import k, { useState as O } from "react";
|
|
3
3
|
import { Close as m, Search as u } from "@mui/icons-material";
|
|
4
4
|
import { FilledInput as b, Input as R } from "@mui/material";
|
|
5
|
-
import { F as _, I as j } from "../../InputLabel-
|
|
6
|
-
import { O as v } from "../../OutlinedInput-
|
|
7
|
-
import { I as g } from "../../InputAdornment-
|
|
8
|
-
import { I as t } from "../../IconButton-
|
|
5
|
+
import { F as _, I as j } from "../../InputLabel-rrSJo8M_.js";
|
|
6
|
+
import { O as v } from "../../OutlinedInput-BDK6qOwW.js";
|
|
7
|
+
import { I as g } from "../../InputAdornment-B7qEA4kN.js";
|
|
8
|
+
import { I as t } from "../../IconButton-DJ-31-Fd.js";
|
|
9
9
|
const z = ({
|
|
10
10
|
defaultValue: x = "",
|
|
11
11
|
label: I = "Search",
|
|
@@ -5,7 +5,7 @@ import wn from "./tab-panel.js";
|
|
|
5
5
|
import Jt from "./appleTabs.style.js";
|
|
6
6
|
import { TabsRoot as kn, TabContentContainer as Pn } from "./styled.js";
|
|
7
7
|
import { ConditionalWrapper as xn } from "../conditional-wrapper/index.js";
|
|
8
|
-
import { T as Rn } from "../../Tabs-
|
|
8
|
+
import { T as Rn } from "../../Tabs-Cn42Z5QI.js";
|
|
9
9
|
var En = Object.defineProperty, Cn = (e, t, r) => t in e ? En(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, k = (e, t, r) => (Cn(e, typeof t != "symbol" ? t + "" : t, r), r), wt = { exports: {} }, He = {};
|
|
10
10
|
/**
|
|
11
11
|
* @license React
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { DataGrid as d } from "@mui/x-data-grid";
|
|
3
|
-
import { A as n, a as m, d as s } from "../../../../Add-
|
|
3
|
+
import { A as n, a as m, d as s } from "../../../../Add-CMz4N2zT.js";
|
|
4
4
|
import p from "./property-list-columns.js";
|
|
5
|
-
import { a as c } from "../../../../property-list-form-
|
|
5
|
+
import { a as c } from "../../../../property-list-form-BvnaooEW.js";
|
|
6
6
|
import u from "./property-list-logic.js";
|
|
7
|
-
import { B as f } from "../../../../Box-
|
|
8
|
-
import { T as y } from "../../../../Typography-
|
|
9
|
-
import { B as h } from "../../../../Button-
|
|
10
|
-
import { D as g, a as b } from "../../../../DialogContent-
|
|
11
|
-
import { D } from "../../../../dialog-
|
|
7
|
+
import { B as f } from "../../../../Box-B1AVyJ_s.js";
|
|
8
|
+
import { T as y } from "../../../../Typography-D1t7XuLN.js";
|
|
9
|
+
import { B as h } from "../../../../Button-eqWvpDuh.js";
|
|
10
|
+
import { D as g, a as b } from "../../../../DialogContent-CqTojymQ.js";
|
|
11
|
+
import { D } from "../../../../dialog-BE4D6swf.js";
|
|
12
12
|
function v(t) {
|
|
13
13
|
var a;
|
|
14
14
|
const { state: o, action: r } = u(t);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as d, jsx as r, Fragment as s } from "react/jsx-runtime";
|
|
2
|
-
import { d as u, a as b } from "../../../../Delete-
|
|
3
|
-
import { T as l } from "../../../../Typography-
|
|
4
|
-
import { I as p } from "../../../../IconButton-
|
|
2
|
+
import { d as u, a as b } from "../../../../Delete-86TO0fMo.js";
|
|
3
|
+
import { T as l } from "../../../../Typography-D1t7XuLN.js";
|
|
4
|
+
import { I as p } from "../../../../IconButton-DJ-31-Fd.js";
|
|
5
5
|
const y = (o) => [
|
|
6
6
|
{ field: "name", headerName: "Name", flex: 1 },
|
|
7
7
|
{ field: "propertyId", headerName: "Property ID", flex: 1 },
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "lodash";
|
|
4
|
-
import { a as b } from "../../../../property-list-form-
|
|
4
|
+
import { a as b } from "../../../../property-list-form-BvnaooEW.js";
|
|
5
5
|
import "../../../../constants/index.js";
|
|
6
|
-
import "../../../../TextField-
|
|
7
|
-
import "../../../../InputLabel-
|
|
8
|
-
import "../../../../Select-
|
|
9
|
-
import "../../../../MenuItem-
|
|
10
|
-
import "../../../../FormControlLabel-
|
|
11
|
-
import "../../../../Checkbox-
|
|
12
|
-
import "../../../../Box-
|
|
13
|
-
import "../../../../Button-
|
|
6
|
+
import "../../../../TextField-Bf46COnQ.js";
|
|
7
|
+
import "../../../../InputLabel-rrSJo8M_.js";
|
|
8
|
+
import "../../../../Select-jjAc5JX1.js";
|
|
9
|
+
import "../../../../MenuItem-C6qlUyV3.js";
|
|
10
|
+
import "../../../../FormControlLabel-DzNokgFD.js";
|
|
11
|
+
import "../../../../Checkbox-CrU2hpWB.js";
|
|
12
|
+
import "../../../../Box-B1AVyJ_s.js";
|
|
13
|
+
import "../../../../Button-eqWvpDuh.js";
|
|
14
14
|
export {
|
|
15
15
|
b as default
|
|
16
16
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { DataGrid as a } from "@mui/x-data-grid";
|
|
3
|
-
import { A as n, a as d, d as s } from "../../../../Add-
|
|
3
|
+
import { A as n, a as d, d as s } from "../../../../Add-CMz4N2zT.js";
|
|
4
4
|
import m from "./recognition-property-list-columns.js";
|
|
5
5
|
import c from "./recognition-property-list-form.js";
|
|
6
6
|
import p from "./recognition-property-list-logic.js";
|
|
7
|
-
import { B as g } from "../../../../Box-
|
|
8
|
-
import { T as u } from "../../../../Typography-
|
|
9
|
-
import { B as h } from "../../../../Button-
|
|
10
|
-
import { D as f, a as y } from "../../../../DialogContent-
|
|
11
|
-
import { D as b } from "../../../../dialog-
|
|
7
|
+
import { B as g } from "../../../../Box-B1AVyJ_s.js";
|
|
8
|
+
import { T as u } from "../../../../Typography-D1t7XuLN.js";
|
|
9
|
+
import { B as h } from "../../../../Button-eqWvpDuh.js";
|
|
10
|
+
import { D as f, a as y } from "../../../../DialogContent-CqTojymQ.js";
|
|
11
|
+
import { D as b } from "../../../../dialog-BE4D6swf.js";
|
|
12
12
|
function L(i) {
|
|
13
13
|
const { state: l, action: t } = p(i);
|
|
14
14
|
return /* @__PURE__ */ r(g, { children: [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as i, Fragment as t, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { d as o, a as l } from "../../../../Delete-
|
|
3
|
-
import { I as d } from "../../../../IconButton-
|
|
2
|
+
import { d as o, a as l } from "../../../../Delete-86TO0fMo.js";
|
|
3
|
+
import { I as d } from "../../../../IconButton-DJ-31-Fd.js";
|
|
4
4
|
const h = (r) => [
|
|
5
5
|
{ field: "ownerType", headerName: "Owner Type", width: 120 },
|
|
6
6
|
{ field: "owner", headerName: "Owner", width: 120 },
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import V, { jsxs as i, Fragment as S, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import o from "react";
|
|
3
|
-
import { r as C, i as g } from "../../../../createSvgIcon-
|
|
3
|
+
import { r as C, i as g } from "../../../../createSvgIcon-DLPYMuH1.js";
|
|
4
4
|
import { RECOGNITION_PROPERTY_OWNER_TYPE as h, RECOGNITION_PROPERTY_TYPE as T, RECOGNITION_PROPERTY_TERM_MATCH as v } from "../../../../constants/index.js";
|
|
5
|
-
import { F as c, I as u } from "../../../../InputLabel-
|
|
6
|
-
import { S as d } from "../../../../Select-
|
|
7
|
-
import { M as m } from "../../../../MenuItem-
|
|
8
|
-
import { T as b } from "../../../../TextField-
|
|
9
|
-
import { B as M } from "../../../../Box-
|
|
10
|
-
import { B as y } from "../../../../Button-
|
|
5
|
+
import { F as c, I as u } from "../../../../InputLabel-rrSJo8M_.js";
|
|
6
|
+
import { S as d } from "../../../../Select-jjAc5JX1.js";
|
|
7
|
+
import { M as m } from "../../../../MenuItem-C6qlUyV3.js";
|
|
8
|
+
import { T as b } from "../../../../TextField-Bf46COnQ.js";
|
|
9
|
+
import { B as M } from "../../../../Box-B1AVyJ_s.js";
|
|
10
|
+
import { B as y } from "../../../../Button-eqWvpDuh.js";
|
|
11
11
|
var p = {}, q = g;
|
|
12
12
|
Object.defineProperty(p, "__esModule", {
|
|
13
13
|
value: !0
|
|
@@ -9,11 +9,11 @@ import { FormLabel as L, Button as g } from "@mui/material";
|
|
|
9
9
|
import { getNestedChildrenFromMap as _ } from "../../utils/ontology.js";
|
|
10
10
|
import { TreeSelect as w } from "../tree-select/index.js";
|
|
11
11
|
import A from "./components/select-icon/index.js";
|
|
12
|
-
import { T as m } from "../../TextField-
|
|
13
|
-
import { F as h } from "../../property-list-form-
|
|
14
|
-
import { F as d } from "../../FormControlLabel-
|
|
15
|
-
import { C as c } from "../../Checkbox-
|
|
16
|
-
import { B as p } from "../../Box-
|
|
12
|
+
import { T as m } from "../../TextField-Bf46COnQ.js";
|
|
13
|
+
import { F as h } from "../../property-list-form-BvnaooEW.js";
|
|
14
|
+
import { F as d } from "../../FormControlLabel-DzNokgFD.js";
|
|
15
|
+
import { C as c } from "../../Checkbox-CrU2hpWB.js";
|
|
16
|
+
import { B as p } from "../../Box-B1AVyJ_s.js";
|
|
17
17
|
function B(e, x) {
|
|
18
18
|
const {
|
|
19
19
|
register: s,
|
|
@@ -4,11 +4,11 @@ import u from "dayjs";
|
|
|
4
4
|
import { KeyboardArrowUp as z, KeyboardArrowDown as L } from "@mui/icons-material";
|
|
5
5
|
import { Typography as f, FormLabel as P, FormGroup as D, Button as W } from "@mui/material";
|
|
6
6
|
import { DatePicker as C } from "@mui/x-date-pickers";
|
|
7
|
-
import { B as d } from "../../Box-
|
|
8
|
-
import { T as b } from "../../TextField-
|
|
9
|
-
import { F as O } from "../../FormControlLabel-
|
|
10
|
-
import { C as k } from "../../Checkbox-
|
|
11
|
-
import { F as B } from "../../InputLabel-
|
|
7
|
+
import { B as d } from "../../Box-B1AVyJ_s.js";
|
|
8
|
+
import { T as b } from "../../TextField-Bf46COnQ.js";
|
|
9
|
+
import { F as O } from "../../FormControlLabel-DzNokgFD.js";
|
|
10
|
+
import { C as k } from "../../Checkbox-CrU2hpWB.js";
|
|
11
|
+
import { F as B } from "../../InputLabel-rrSJo8M_.js";
|
|
12
12
|
const R = ({
|
|
13
13
|
property: e,
|
|
14
14
|
value: a,
|