@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,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n, jsxs as u, Fragment as E } from "react/jsx-runtime";
|
|
2
2
|
import { KeyboardArrowUp as U, KeyboardArrowDown as J, Add as Q, LockOutlined as X } from "@mui/icons-material";
|
|
3
|
-
import { Box as
|
|
3
|
+
import { Box as S, Typography as I, FormControl as Z, FormLabel as z, FormGroup as P, FormControlLabel as y, Checkbox as O, Button as _, Chip as p, Dialog as ee, DialogTitle as ne, DialogContent as ae, DialogActions as de, InputAdornment as le, Tooltip as ce } from "@mui/material";
|
|
4
4
|
import K from "dayjs";
|
|
5
5
|
import C from "lodash";
|
|
6
6
|
import { useState as G } from "react";
|
|
@@ -9,38 +9,39 @@ import { ConditionalWrapper as o } from "./components/conditional-wrapper/index.
|
|
|
9
9
|
import { DateTimePicker as ie } from "./components/date-time-picker/index.js";
|
|
10
10
|
import { GeometryPicker as me } from "./components/geometry-picker/index.js";
|
|
11
11
|
import { PhoneInput as he } from "./components/phone-input/index.js";
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
|
|
12
|
+
import B from "./components/instance-form/components/TopLabelWrapper.js";
|
|
13
|
+
import ue from "./components/instance-form/components/composite-matrix/index.js";
|
|
14
|
+
import { B as m } from "./Box-B1AVyJ_s.js";
|
|
15
|
+
import { T as H } from "./TextField-Bf46COnQ.js";
|
|
16
|
+
import { F as re } from "./FormControlLabel-DzNokgFD.js";
|
|
17
|
+
import { C as oe } from "./Checkbox-CrU2hpWB.js";
|
|
18
|
+
import { F as se, I as Ie } from "./InputLabel-rrSJo8M_.js";
|
|
19
|
+
import { S as fe } from "./Select-jjAc5JX1.js";
|
|
20
|
+
import { M as ge } from "./MenuItem-C6qlUyV3.js";
|
|
21
|
+
import { Container as we, Values as xe, MiniButton as Ce } from "./components/instance-form/components/composite-list/styled.js";
|
|
22
|
+
function Ve({
|
|
22
23
|
property: r,
|
|
23
24
|
mapboxAccessToken: e,
|
|
24
25
|
value: l,
|
|
25
|
-
variant:
|
|
26
|
+
variant: f = "outlined",
|
|
26
27
|
labelPosition: c = "default",
|
|
27
|
-
size:
|
|
28
|
+
size: s = "medium",
|
|
28
29
|
onChange: T
|
|
29
30
|
}) {
|
|
30
31
|
var b, k, A;
|
|
31
|
-
const a = te(!1), [
|
|
32
|
-
|
|
33
|
-
},
|
|
34
|
-
T([...l || [],
|
|
35
|
-
},
|
|
32
|
+
const a = te(!1), [g, F] = G(), [V, N] = G(!1), M = 10, $ = (t) => {
|
|
33
|
+
F(C.get(t, r.propertyId));
|
|
34
|
+
}, j = () => {
|
|
35
|
+
T([...l || [], g]), F(""), a.action.close();
|
|
36
|
+
}, q = (t) => () => {
|
|
36
37
|
if (l) {
|
|
37
38
|
const i = [...l];
|
|
38
39
|
i.splice(t, 1), T(i);
|
|
39
40
|
}
|
|
40
|
-
},
|
|
41
|
+
}, v = (t) => {
|
|
41
42
|
const { value: i, checked: x } = t.target;
|
|
42
|
-
let
|
|
43
|
-
x ?
|
|
43
|
+
let w = C.isArray(l) ? l : [];
|
|
44
|
+
x ? w.push(i) : w = w.filter((W) => W !== i), T(w);
|
|
44
45
|
};
|
|
45
46
|
if (((k = (b = r.dataTypeInfo) == null ? void 0 : b.innerType) == null ? void 0 : k.type) === "enum") {
|
|
46
47
|
const { enumValues: t } = r.dataTypeInfo.innerType;
|
|
@@ -48,14 +49,14 @@ function Ce({
|
|
|
48
49
|
o,
|
|
49
50
|
{
|
|
50
51
|
condition: c === "left",
|
|
51
|
-
wrapper: (i) => /* @__PURE__ */ u(
|
|
52
|
-
/* @__PURE__ */ n(
|
|
53
|
-
/* @__PURE__ */ n(
|
|
52
|
+
wrapper: (i) => /* @__PURE__ */ u(S, { display: "flex", alignItems: "center", children: [
|
|
53
|
+
/* @__PURE__ */ n(I, { width: "32%", children: r.name }),
|
|
54
|
+
/* @__PURE__ */ n(S, { width: "68%", children: i })
|
|
54
55
|
] }),
|
|
55
56
|
children: /* @__PURE__ */ u(E, { children: [
|
|
56
|
-
/* @__PURE__ */ u(Z, { fullWidth: !0, component: "fieldset", variant:
|
|
57
|
+
/* @__PURE__ */ u(Z, { fullWidth: !0, component: "fieldset", variant: f, children: [
|
|
57
58
|
c === "default" && /* @__PURE__ */ n(z, { component: "legend", sx: { mb: 1 }, children: r.name }),
|
|
58
|
-
/* @__PURE__ */ n(P, { children: t && t.length > 0 ? t.slice(0, V ? 9999 :
|
|
59
|
+
/* @__PURE__ */ n(P, { children: t && t.length > 0 ? t.slice(0, V ? 9999 : M).map((i, x) => /* @__PURE__ */ n(
|
|
59
60
|
y,
|
|
60
61
|
{
|
|
61
62
|
label: i,
|
|
@@ -66,7 +67,7 @@ function Ce({
|
|
|
66
67
|
value: i,
|
|
67
68
|
size: "small",
|
|
68
69
|
checked: C.isArray(l) ? l.includes(i) : !1,
|
|
69
|
-
onChange:
|
|
70
|
+
onChange: v
|
|
70
71
|
}
|
|
71
72
|
),
|
|
72
73
|
componentsProps: {
|
|
@@ -76,15 +77,15 @@ function Ce({
|
|
|
76
77
|
}
|
|
77
78
|
},
|
|
78
79
|
x
|
|
79
|
-
)) : /* @__PURE__ */ n(
|
|
80
|
+
)) : /* @__PURE__ */ n(I, { variant: "caption", mb: 1, children: "No enum values!" }) })
|
|
80
81
|
] }),
|
|
81
|
-
C.isArray(t) && t.length >
|
|
82
|
+
C.isArray(t) && t.length > M && /* @__PURE__ */ u(
|
|
82
83
|
_,
|
|
83
84
|
{
|
|
84
85
|
size: "small",
|
|
85
86
|
sx: { p: 0, textTransform: "none" },
|
|
86
87
|
endIcon: V ? /* @__PURE__ */ n(U, {}) : /* @__PURE__ */ n(J, {}),
|
|
87
|
-
onClick: () =>
|
|
88
|
+
onClick: () => N((i) => !i),
|
|
88
89
|
children: [
|
|
89
90
|
"Show ",
|
|
90
91
|
V ? "Less" : "More"
|
|
@@ -100,26 +101,26 @@ function Ce({
|
|
|
100
101
|
o,
|
|
101
102
|
{
|
|
102
103
|
condition: c === "left",
|
|
103
|
-
wrapper: (t) => /* @__PURE__ */ u(
|
|
104
|
-
/* @__PURE__ */ n(
|
|
105
|
-
/* @__PURE__ */ n(
|
|
104
|
+
wrapper: (t) => /* @__PURE__ */ u(S, { display: "flex", alignItems: "center", children: [
|
|
105
|
+
/* @__PURE__ */ n(I, { width: "32%", children: r.name }),
|
|
106
|
+
/* @__PURE__ */ n(S, { width: "68%", children: t })
|
|
106
107
|
] }),
|
|
107
|
-
children: /* @__PURE__ */ u(
|
|
108
|
-
c === "default" && /* @__PURE__ */ n(
|
|
109
|
-
/* @__PURE__ */ n(
|
|
110
|
-
var x,
|
|
108
|
+
children: /* @__PURE__ */ u(we, { variant: f, children: [
|
|
109
|
+
c === "default" && /* @__PURE__ */ n(I, { children: r.name }),
|
|
110
|
+
/* @__PURE__ */ n(xe, { children: C.isArray(l) && l.map((t, i) => {
|
|
111
|
+
var x, w;
|
|
111
112
|
return /* @__PURE__ */ n(
|
|
112
113
|
p,
|
|
113
114
|
{
|
|
114
|
-
label: ((
|
|
115
|
-
size:
|
|
116
|
-
onDelete:
|
|
115
|
+
label: ((w = (x = r.dataTypeInfo) == null ? void 0 : x.innerType) == null ? void 0 : w.type) === "date" ? K(t).format("DD/MM/YYYY HH:mm:ss") : t,
|
|
116
|
+
size: s,
|
|
117
|
+
onDelete: q(i)
|
|
117
118
|
},
|
|
118
119
|
i
|
|
119
120
|
);
|
|
120
121
|
}) }),
|
|
121
122
|
/* @__PURE__ */ n(
|
|
122
|
-
|
|
123
|
+
Ce,
|
|
123
124
|
{
|
|
124
125
|
startIcon: /* @__PURE__ */ n(Q, {}),
|
|
125
126
|
variant: "text",
|
|
@@ -140,7 +141,7 @@ function Ce({
|
|
|
140
141
|
children: [
|
|
141
142
|
/* @__PURE__ */ n(ne, { children: "Add List Value" }),
|
|
142
143
|
/* @__PURE__ */ n(ae, { children: (A = r.dataTypeInfo) != null && A.innerType ? /* @__PURE__ */ n(
|
|
143
|
-
|
|
144
|
+
Te,
|
|
144
145
|
{
|
|
145
146
|
mapboxAccessToken: e,
|
|
146
147
|
property: {
|
|
@@ -148,8 +149,8 @@ function Ce({
|
|
|
148
149
|
name: "Value",
|
|
149
150
|
type: r.dataTypeInfo.innerType.type
|
|
150
151
|
},
|
|
151
|
-
value:
|
|
152
|
-
onChange:
|
|
152
|
+
value: g,
|
|
153
|
+
onChange: $
|
|
153
154
|
}
|
|
154
155
|
) : null }),
|
|
155
156
|
/* @__PURE__ */ u(de, { children: [
|
|
@@ -162,55 +163,55 @@ function Ce({
|
|
|
162
163
|
children: "Cancel"
|
|
163
164
|
}
|
|
164
165
|
),
|
|
165
|
-
/* @__PURE__ */ n(_, { variant: "contained", color: "primary", onClick:
|
|
166
|
+
/* @__PURE__ */ n(_, { variant: "contained", color: "primary", onClick: j, children: "Ok" })
|
|
166
167
|
] })
|
|
167
168
|
]
|
|
168
169
|
}
|
|
169
170
|
)
|
|
170
171
|
] });
|
|
171
172
|
}
|
|
172
|
-
function
|
|
173
|
+
function Te({
|
|
173
174
|
mapboxAccessToken: r,
|
|
174
175
|
property: e,
|
|
175
176
|
value: l,
|
|
176
|
-
variant:
|
|
177
|
+
variant: f = "standard",
|
|
177
178
|
labelPosition: c = "default",
|
|
178
|
-
size:
|
|
179
|
+
size: s = "medium",
|
|
179
180
|
defaultExtent: T,
|
|
180
181
|
fieldOptions: a,
|
|
181
|
-
onChange:
|
|
182
|
+
onChange: g
|
|
182
183
|
}) {
|
|
183
|
-
var
|
|
184
|
-
const
|
|
184
|
+
var v, b, k, A, t, i, x, w, W;
|
|
185
|
+
const F = (d) => {
|
|
185
186
|
const L = d.target.value.split(",").map((Y) => Y.trimStart());
|
|
186
|
-
|
|
187
|
+
g({
|
|
187
188
|
[e.propertyId]: L
|
|
188
189
|
});
|
|
189
190
|
}, V = (d) => {
|
|
190
|
-
const { name:
|
|
191
|
+
const { name: h, type: L, checked: Y, value: R } = d.target;
|
|
191
192
|
let D = R;
|
|
192
|
-
e.type === "double" && (D = D.replace(",", "."), D = D.replace(/[^\d.-]+/g, "")),
|
|
193
|
-
[
|
|
193
|
+
e.type === "double" && (D = D.replace(",", "."), D = D.replace(/[^\d.-]+/g, "")), g({
|
|
194
|
+
[h]: L === "checkbox" ? Y : D
|
|
194
195
|
});
|
|
195
|
-
},
|
|
196
|
-
|
|
196
|
+
}, N = (d) => {
|
|
197
|
+
g({
|
|
197
198
|
[e.propertyId]: d
|
|
198
199
|
});
|
|
199
|
-
},
|
|
200
|
-
|
|
200
|
+
}, M = (d) => {
|
|
201
|
+
g({
|
|
201
202
|
[e.propertyId]: d.target.value
|
|
202
203
|
});
|
|
203
|
-
},
|
|
204
|
-
|
|
205
|
-
[d]:
|
|
204
|
+
}, $ = (d) => (h) => {
|
|
205
|
+
g({
|
|
206
|
+
[d]: h
|
|
206
207
|
});
|
|
207
|
-
},
|
|
208
|
-
|
|
209
|
-
[d]:
|
|
208
|
+
}, j = (d) => (h) => {
|
|
209
|
+
g({
|
|
210
|
+
[d]: h
|
|
210
211
|
});
|
|
211
|
-
},
|
|
212
|
-
|
|
213
|
-
[d]:
|
|
212
|
+
}, q = (d) => (h) => {
|
|
213
|
+
g({
|
|
214
|
+
[d]: h
|
|
214
215
|
});
|
|
215
216
|
};
|
|
216
217
|
if (a && a[e.propertyId] && a[e.propertyId].component)
|
|
@@ -228,18 +229,18 @@ function Ve({
|
|
|
228
229
|
o,
|
|
229
230
|
{
|
|
230
231
|
condition: c === "left",
|
|
231
|
-
wrapper: (d) => /* @__PURE__ */ u(
|
|
232
|
-
/* @__PURE__ */ n(
|
|
233
|
-
/* @__PURE__ */ n(
|
|
232
|
+
wrapper: (d) => /* @__PURE__ */ u(m, { display: "flex", alignItems: "center", children: [
|
|
233
|
+
/* @__PURE__ */ n(I, { width: "32%", children: e.name }),
|
|
234
|
+
/* @__PURE__ */ n(m, { width: "68%", children: d })
|
|
234
235
|
] }),
|
|
235
236
|
children: /* @__PURE__ */ n(
|
|
236
237
|
o,
|
|
237
238
|
{
|
|
238
239
|
condition: c === "top",
|
|
239
|
-
wrapper:
|
|
240
|
+
wrapper: B(
|
|
240
241
|
e == null ? void 0 : e.name,
|
|
241
242
|
e == null ? void 0 : e.required,
|
|
242
|
-
(
|
|
243
|
+
(v = a == null ? void 0 : a[e == null ? void 0 : e.propertyId]) == null ? void 0 : v.description
|
|
243
244
|
),
|
|
244
245
|
children: /* @__PURE__ */ n(
|
|
245
246
|
H,
|
|
@@ -251,7 +252,7 @@ function Ve({
|
|
|
251
252
|
value: l ?? e.defaultValue ?? "",
|
|
252
253
|
defaultValue: l,
|
|
253
254
|
onChange: V,
|
|
254
|
-
variant:
|
|
255
|
+
variant: f,
|
|
255
256
|
type: "text",
|
|
256
257
|
multiline: e.type === "text",
|
|
257
258
|
disabled: !e.editable,
|
|
@@ -260,7 +261,7 @@ function Ve({
|
|
|
260
261
|
maxLength: ((k = a == null ? void 0 : a[e.propertyId]) == null ? void 0 : k.maxChar) ?? 1e5
|
|
261
262
|
},
|
|
262
263
|
InputProps: {
|
|
263
|
-
size:
|
|
264
|
+
size: s,
|
|
264
265
|
...a && a[e.propertyId] && {
|
|
265
266
|
tabIndex: a[e.propertyId].order
|
|
266
267
|
},
|
|
@@ -280,15 +281,15 @@ function Ve({
|
|
|
280
281
|
o,
|
|
281
282
|
{
|
|
282
283
|
condition: c === "left",
|
|
283
|
-
wrapper: (
|
|
284
|
-
/* @__PURE__ */ n(
|
|
285
|
-
/* @__PURE__ */ n(
|
|
284
|
+
wrapper: (h) => /* @__PURE__ */ u(m, { display: "flex", alignItems: "center", children: [
|
|
285
|
+
/* @__PURE__ */ n(I, { width: "32%", children: e.name }),
|
|
286
|
+
/* @__PURE__ */ n(m, { width: "68%", children: h })
|
|
286
287
|
] }),
|
|
287
288
|
children: /* @__PURE__ */ n(
|
|
288
289
|
o,
|
|
289
290
|
{
|
|
290
291
|
condition: c === "top",
|
|
291
|
-
wrapper:
|
|
292
|
+
wrapper: B(
|
|
292
293
|
e.name,
|
|
293
294
|
e == null ? void 0 : e.required,
|
|
294
295
|
(A = a == null ? void 0 : a[e == null ? void 0 : e.propertyId]) == null ? void 0 : A.description
|
|
@@ -298,10 +299,10 @@ function Ve({
|
|
|
298
299
|
{
|
|
299
300
|
label: c === "default" ? e.name : void 0,
|
|
300
301
|
value: d,
|
|
301
|
-
variant:
|
|
302
|
-
size:
|
|
302
|
+
variant: f,
|
|
303
|
+
size: s,
|
|
303
304
|
name: e.propertyId,
|
|
304
|
-
onChange:
|
|
305
|
+
onChange: N,
|
|
305
306
|
...a && a[e.propertyId] && {
|
|
306
307
|
minDate: a[e.propertyId].minDate
|
|
307
308
|
}
|
|
@@ -318,15 +319,15 @@ function Ve({
|
|
|
318
319
|
o,
|
|
319
320
|
{
|
|
320
321
|
condition: c === "left",
|
|
321
|
-
wrapper: (
|
|
322
|
-
/* @__PURE__ */ n(
|
|
323
|
-
/* @__PURE__ */ n(
|
|
322
|
+
wrapper: (h) => /* @__PURE__ */ u(m, { display: "flex", alignItems: "center", children: [
|
|
323
|
+
/* @__PURE__ */ n(I, { width: "32%", children: e.name }),
|
|
324
|
+
/* @__PURE__ */ n(m, { width: "68%", children: h })
|
|
324
325
|
] }),
|
|
325
326
|
children: /* @__PURE__ */ n(
|
|
326
327
|
o,
|
|
327
328
|
{
|
|
328
329
|
condition: c === "top",
|
|
329
|
-
wrapper:
|
|
330
|
+
wrapper: B(
|
|
330
331
|
e.name,
|
|
331
332
|
e == null ? void 0 : e.required,
|
|
332
333
|
(t = a == null ? void 0 : a[e == null ? void 0 : e.propertyId]) == null ? void 0 : t.description
|
|
@@ -337,15 +338,15 @@ function Ve({
|
|
|
337
338
|
label: c === "default" ? e.name : void 0,
|
|
338
339
|
name: e.propertyId,
|
|
339
340
|
value: d,
|
|
340
|
-
onChange:
|
|
341
|
-
variant:
|
|
341
|
+
onChange: F,
|
|
342
|
+
variant: f,
|
|
342
343
|
disabled: !e.editable,
|
|
343
344
|
required: e.required,
|
|
344
345
|
fullWidth: !0,
|
|
345
|
-
helperText:
|
|
346
|
+
helperText: s === "small" ? null : "Add list values with the comma (,) separated string",
|
|
346
347
|
InputProps: {
|
|
347
|
-
size:
|
|
348
|
-
placeholder:
|
|
348
|
+
size: s,
|
|
349
|
+
placeholder: s === "small" ? "Add list values with the comma (,) separated string" : "",
|
|
349
350
|
...a && a[e.propertyId] && {
|
|
350
351
|
tabIndex: a[e.propertyId].order
|
|
351
352
|
}
|
|
@@ -362,20 +363,20 @@ function Ve({
|
|
|
362
363
|
o,
|
|
363
364
|
{
|
|
364
365
|
condition: c === "left",
|
|
365
|
-
wrapper: (d) => /* @__PURE__ */ u(
|
|
366
|
-
/* @__PURE__ */ n(
|
|
367
|
-
/* @__PURE__ */ n(
|
|
366
|
+
wrapper: (d) => /* @__PURE__ */ u(m, { display: "flex", alignItems: "center", children: [
|
|
367
|
+
/* @__PURE__ */ n(I, { width: "32%", children: e.name }),
|
|
368
|
+
/* @__PURE__ */ n(m, { width: "68%", children: d })
|
|
368
369
|
] }),
|
|
369
370
|
children: /* @__PURE__ */ n(
|
|
370
|
-
|
|
371
|
+
re,
|
|
371
372
|
{
|
|
372
373
|
control: /* @__PURE__ */ n(
|
|
373
|
-
|
|
374
|
+
oe,
|
|
374
375
|
{
|
|
375
376
|
name: e.propertyId,
|
|
376
377
|
checked: !!(l ?? e.defaultValue ?? !1),
|
|
377
378
|
onChange: V,
|
|
378
|
-
size:
|
|
379
|
+
size: s
|
|
379
380
|
}
|
|
380
381
|
),
|
|
381
382
|
label: c === "default" ? e.name : void 0
|
|
@@ -385,47 +386,47 @@ function Ve({
|
|
|
385
386
|
);
|
|
386
387
|
if (e.type === "enum") {
|
|
387
388
|
let d = [];
|
|
388
|
-
return (i = e.dataTypeInfo) != null && i.enumValues && (d = e.dataTypeInfo.enumValues), (
|
|
389
|
+
return (i = e.dataTypeInfo) != null && i.enumValues && (d = e.dataTypeInfo.enumValues), (w = (x = e.dataTypeInfo) == null ? void 0 : x.innerType) != null && w.enumValues && (d = e.dataTypeInfo.innerType.enumValues), /* @__PURE__ */ n(
|
|
389
390
|
o,
|
|
390
391
|
{
|
|
391
392
|
condition: c === "left",
|
|
392
|
-
wrapper: (
|
|
393
|
-
/* @__PURE__ */ n(
|
|
394
|
-
/* @__PURE__ */ n(
|
|
393
|
+
wrapper: (h) => /* @__PURE__ */ u(m, { display: "flex", alignItems: "center", children: [
|
|
394
|
+
/* @__PURE__ */ n(I, { width: "32%", children: e.name }),
|
|
395
|
+
/* @__PURE__ */ n(m, { width: "68%", children: h })
|
|
395
396
|
] }),
|
|
396
397
|
children: /* @__PURE__ */ n(
|
|
397
398
|
o,
|
|
398
399
|
{
|
|
399
400
|
condition: c === "top",
|
|
400
|
-
wrapper:
|
|
401
|
+
wrapper: B(
|
|
401
402
|
e.name,
|
|
402
403
|
e == null ? void 0 : e.required,
|
|
403
|
-
(
|
|
404
|
+
(W = a == null ? void 0 : a[e == null ? void 0 : e.propertyId]) == null ? void 0 : W.description
|
|
404
405
|
),
|
|
405
406
|
children: /* @__PURE__ */ u(
|
|
406
|
-
|
|
407
|
+
se,
|
|
407
408
|
{
|
|
408
409
|
fullWidth: !0,
|
|
409
|
-
variant:
|
|
410
|
-
size:
|
|
410
|
+
variant: f,
|
|
411
|
+
size: s,
|
|
411
412
|
required: e.required,
|
|
412
413
|
children: [
|
|
413
|
-
c === "default" && /* @__PURE__ */ n(
|
|
414
|
+
c === "default" && /* @__PURE__ */ n(Ie, { id: `${e.propertyId}-label`, children: e.name }),
|
|
414
415
|
/* @__PURE__ */ n(
|
|
415
|
-
|
|
416
|
+
fe,
|
|
416
417
|
{
|
|
417
418
|
label: c === "default" ? e.name : void 0,
|
|
418
419
|
name: e.name,
|
|
419
420
|
labelId: `${e.propertyId}-label`,
|
|
420
421
|
id: e.propertyId,
|
|
421
422
|
value: l ?? "",
|
|
422
|
-
onChange:
|
|
423
|
+
onChange: M,
|
|
423
424
|
inputProps: {
|
|
424
425
|
...a && a[e.propertyId] && {
|
|
425
426
|
tabIndex: a[e.propertyId].order
|
|
426
427
|
}
|
|
427
428
|
},
|
|
428
|
-
children: d.map((
|
|
429
|
+
children: d.map((h, L) => /* @__PURE__ */ n(ge, { value: h, children: h }, L))
|
|
429
430
|
}
|
|
430
431
|
)
|
|
431
432
|
]
|
|
@@ -440,19 +441,19 @@ function Ve({
|
|
|
440
441
|
o,
|
|
441
442
|
{
|
|
442
443
|
condition: c === "left",
|
|
443
|
-
wrapper: (d) => /* @__PURE__ */ u(
|
|
444
|
-
/* @__PURE__ */ n(
|
|
445
|
-
/* @__PURE__ */ n(
|
|
444
|
+
wrapper: (d) => /* @__PURE__ */ u(m, { display: "flex", alignItems: "center", children: [
|
|
445
|
+
/* @__PURE__ */ n(I, { width: "32%", children: e.name }),
|
|
446
|
+
/* @__PURE__ */ n(m, { width: "68%", children: d })
|
|
446
447
|
] }),
|
|
447
|
-
children: /* @__PURE__ */ n(
|
|
448
|
+
children: /* @__PURE__ */ n(m, { sx: { width: "100%" }, children: /* @__PURE__ */ n(
|
|
448
449
|
me,
|
|
449
450
|
{
|
|
450
451
|
mapboxAccessToken: r,
|
|
451
452
|
label: c === "default" ? e.name : void 0,
|
|
452
453
|
value: l ?? e.defaultValue ?? "",
|
|
453
454
|
defaultExtent: T,
|
|
454
|
-
variant:
|
|
455
|
-
onChange:
|
|
455
|
+
variant: f,
|
|
456
|
+
onChange: $(e.propertyId)
|
|
456
457
|
}
|
|
457
458
|
) })
|
|
458
459
|
}
|
|
@@ -460,34 +461,43 @@ function Ve({
|
|
|
460
461
|
o,
|
|
461
462
|
{
|
|
462
463
|
condition: c === "left",
|
|
463
|
-
wrapper: (d) => /* @__PURE__ */ u(
|
|
464
|
-
/* @__PURE__ */ n(
|
|
465
|
-
/* @__PURE__ */ n(
|
|
464
|
+
wrapper: (d) => /* @__PURE__ */ u(m, { display: "flex", alignItems: "center", children: [
|
|
465
|
+
/* @__PURE__ */ n(I, { width: "32%", children: e.name }),
|
|
466
|
+
/* @__PURE__ */ n(m, { width: "68%", children: d })
|
|
466
467
|
] }),
|
|
467
|
-
children: /* @__PURE__ */ n(
|
|
468
|
+
children: /* @__PURE__ */ n(m, { sx: { width: "100%" }, children: /* @__PURE__ */ n(
|
|
468
469
|
he,
|
|
469
470
|
{
|
|
470
471
|
label: c === "default" ? e.name : void 0,
|
|
471
472
|
placeholder: "Enter phone number",
|
|
472
473
|
value: l ?? e.defaultValue ?? "",
|
|
473
|
-
onChange:
|
|
474
|
+
onChange: j(e.propertyId)
|
|
474
475
|
}
|
|
475
476
|
) })
|
|
476
477
|
}
|
|
477
|
-
) : e.type === "composite-list" ? /* @__PURE__ */ n(
|
|
478
|
-
|
|
478
|
+
) : e.type === "composite-list" ? /* @__PURE__ */ n(m, { sx: { width: "100%" }, children: /* @__PURE__ */ n(
|
|
479
|
+
Ve,
|
|
479
480
|
{
|
|
480
481
|
property: e,
|
|
481
482
|
value: l ?? e.defaultValue ?? "",
|
|
482
|
-
variant:
|
|
483
|
+
variant: f,
|
|
483
484
|
labelPosition: c,
|
|
484
|
-
size:
|
|
485
|
+
size: s,
|
|
485
486
|
mapboxAccessToken: r,
|
|
486
|
-
onChange:
|
|
487
|
+
onChange: q(e.propertyId)
|
|
488
|
+
}
|
|
489
|
+
) }) : e.type === "composite-matrix" ? /* @__PURE__ */ n(m, { sx: { width: "100%" }, children: /* @__PURE__ */ n(
|
|
490
|
+
ue,
|
|
491
|
+
{
|
|
492
|
+
property: e,
|
|
493
|
+
value: l ?? e.defaultValue ?? "",
|
|
494
|
+
variant: f,
|
|
495
|
+
size: s,
|
|
496
|
+
onChange: q(e.propertyId)
|
|
487
497
|
}
|
|
488
498
|
) }) : /* @__PURE__ */ n(E, {});
|
|
489
499
|
}
|
|
490
500
|
export {
|
|
491
|
-
|
|
492
|
-
|
|
501
|
+
Ve as C,
|
|
502
|
+
Te as V
|
|
493
503
|
};
|
|
@@ -6,32 +6,33 @@ import _r from "./hooks/useToggle.js";
|
|
|
6
6
|
import { _ as re, a as b } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
|
|
7
7
|
import * as y from "react";
|
|
8
8
|
import Bo from "react";
|
|
9
|
-
import { P as o
|
|
10
|
-
import { g as be, b as Wr, a as fe, d as Hr, u as pe, c as He } from "./useThemeProps-
|
|
11
|
-
import { a as pn, u as fn } from "./useTheme-
|
|
12
|
-
import { r as mn, a as Be, u as je, _ as Ur, b as J, B as jt, d as hn } from "./ButtonBase-
|
|
13
|
-
import { c as Ge } from "./createSvgIcon-
|
|
14
|
-
import { g as ge, a as Pe } from "./createTheme-
|
|
15
|
-
import { s as Y } from "./styled-
|
|
16
|
-
import { T as Yr, t as zr } from "./Tabs-
|
|
9
|
+
import { P as o } from "./index-DMSHuq6l.js";
|
|
10
|
+
import { g as be, b as Wr, a as fe, d as Hr, u as pe, c as He } from "./useThemeProps-DRP1dikX.js";
|
|
11
|
+
import { a as pn, u as fn } from "./useTheme-C15Eq8KG.js";
|
|
12
|
+
import { r as mn, a as Be, u as je, _ as Ur, b as J, B as jt, d as hn } from "./ButtonBase-DsX-jMQJ.js";
|
|
13
|
+
import { c as Ge } from "./createSvgIcon-OuwzpcaC.js";
|
|
14
|
+
import { g as ge, a as Pe } from "./createTheme-CNnKNxwL.js";
|
|
15
|
+
import { s as Y } from "./styled-B8ugzvji.js";
|
|
16
|
+
import { T as Yr, t as zr } from "./Tabs-Cn42Z5QI.js";
|
|
17
|
+
import { c as de, r as Yt, h as fo } from "./createTheme-CyC5HawC.js";
|
|
17
18
|
import { u as bn, r as qr } from "./unsupportedProp-BND8AB6O.js";
|
|
18
|
-
import { T as Ke } from "./Typography-
|
|
19
|
-
import { u as ft } from "./useTheme-
|
|
20
|
-
import { e as Kr } from "./extendSxProp-
|
|
21
|
-
import { B as vt } from "./Button-
|
|
22
|
-
import { P as Gr, H as _t, u as Ce, a as Qr, F as mo, b as Zr, r as gn } from "./Modal-
|
|
23
|
-
import { f as Xr, T as yn, c as Jr } from "./utils-
|
|
19
|
+
import { T as Ke } from "./Typography-D1t7XuLN.js";
|
|
20
|
+
import { u as ft } from "./useTheme-D-uii9iX.js";
|
|
21
|
+
import { e as Kr } from "./extendSxProp-FEpqY5_S.js";
|
|
22
|
+
import { B as vt } from "./Button-eqWvpDuh.js";
|
|
23
|
+
import { P as Gr, H as _t, u as Ce, a as Qr, F as mo, b as Zr, r as gn } from "./Modal-CkcFEpHa.js";
|
|
24
|
+
import { f as Xr, T as yn, c as Jr } from "./utils-CsOZUsQj.js";
|
|
24
25
|
import { u as Fe } from "./useControlled-BYdyS7Pn.js";
|
|
25
|
-
import { I as Rt } from "./IconButton-
|
|
26
|
+
import { I as Rt } from "./IconButton-DJ-31-Fd.js";
|
|
26
27
|
import { u as zt } from "./useId-BHG98T5I.js";
|
|
27
|
-
import { T as ea } from "./TextField-
|
|
28
|
+
import { T as ea } from "./TextField-Bf46COnQ.js";
|
|
28
29
|
import { o as wt } from "./ownerDocument-CUrv0DIK.js";
|
|
29
|
-
import { P as ta } from "./Paper-
|
|
30
|
-
import { G as oa } from "./Select-
|
|
31
|
-
import { I as na } from "./InputAdornment-
|
|
32
|
-
import { D as ra, d as jo, a as aa, b as sa } from "./DialogContent-
|
|
33
|
-
import { a as ia } from "./List-
|
|
34
|
-
import { L as la } from "./ListItem-
|
|
30
|
+
import { P as ta } from "./Paper-CjqLScHA.js";
|
|
31
|
+
import { G as oa } from "./Select-jjAc5JX1.js";
|
|
32
|
+
import { I as na } from "./InputAdornment-B7qEA4kN.js";
|
|
33
|
+
import { D as ra, d as jo, a as aa, b as sa } from "./DialogContent-CqTojymQ.js";
|
|
34
|
+
import { a as ia } from "./List-DOD5kSk3.js";
|
|
35
|
+
import { L as la } from "./ListItem-r8PbsvCz.js";
|
|
35
36
|
const ca = (e, t = "warning") => {
|
|
36
37
|
let n = !1;
|
|
37
38
|
const r = Array.isArray(e) ? e.join(`
|
|
@@ -10773,7 +10774,7 @@ process.env.NODE_ENV !== "production" && (Pr.propTypes = {
|
|
|
10773
10774
|
*/
|
|
10774
10775
|
yearsPerRow: o.oneOf([3, 4])
|
|
10775
10776
|
});
|
|
10776
|
-
function
|
|
10777
|
+
function Rd({
|
|
10777
10778
|
value: e,
|
|
10778
10779
|
minDate: t,
|
|
10779
10780
|
maxDate: n,
|
|
@@ -10957,6 +10958,6 @@ function Vd({
|
|
|
10957
10958
|
] });
|
|
10958
10959
|
}
|
|
10959
10960
|
export {
|
|
10960
|
-
|
|
10961
|
+
Rd as D,
|
|
10961
10962
|
ca as b
|
|
10962
10963
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as s } from "./useThemeProps-
|
|
2
|
-
import { g as e } from "./createTheme-
|
|
1
|
+
import { g as s } from "./useThemeProps-DRP1dikX.js";
|
|
2
|
+
import { g as e } from "./createTheme-CNnKNxwL.js";
|
|
3
3
|
function n(t) {
|
|
4
4
|
return e("MuiListItemIcon", t);
|
|
5
5
|
}
|