@hybridcore/ui 1.6.25 → 1.6.26
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/{AccordionSummary-c6-Buzbq.js → AccordionSummary-B6-hHjCC.js} +3 -3
- package/dist/{Add-CB4mPrke.js → Add-eXYPgCCB.js} +1 -1
- package/dist/{Alert-BsT46Tgd.js → Alert-OoSOUjZM.js} +2 -2
- package/dist/{Button-BMUZn0cT.js → Button-gZFgy23t.js} +1 -1
- package/dist/{ButtonBase-DG5J0YgP.js → ButtonBase-Dgg9dzM8.js} +2 -2
- package/dist/{Delete-ofipLwkd.js → Delete-B8COyxKI.js} +1 -1
- package/dist/{IconButton-SJfF1cr9.js → IconButton-CQwROBzr.js} +1 -1
- package/dist/{MenuItem-BjnnhDbD.js → MenuItem-BAKBPyZx.js} +3 -3
- package/dist/{Modal-Djf5pMjD.js → Modal-DVdqH5dj.js} +1 -1
- package/dist/{Select-nL91eUH9.js → Select-B4zhu5G_.js} +2 -2
- package/dist/{SwitchBase-BcJAJYsB.js → SwitchBase-BqUrfIHp.js} +1 -1
- package/dist/{TextField-Db63_GNb.js → TextField-Cx5T7iJn.js} +4 -3
- package/dist/components/button/styled.js +1 -1
- package/dist/components/charts/forecast-cone/index.js +1 -1
- package/dist/components/collapsible-card/index.js +1 -1
- package/dist/components/collapsible-card/styled.js +1 -1
- package/dist/components/color-picker/index.js +2 -2
- package/dist/components/color-picker/styled.js +1 -1
- package/dist/components/confirm/dialog.js +2 -2
- package/dist/components/confirm/index.js +1 -1
- package/dist/components/duration-select/index.js +1 -1
- package/dist/components/duration-select/styled.js +1 -1
- package/dist/components/instance-form/components/composite-list/index.js +1 -1
- package/dist/components/instance-form/components/variable/index.js +3 -2
- package/dist/components/instance-form/components/variables/index.js +1 -1
- package/dist/components/instance-hierarchy-table/styled.js +1 -1
- package/dist/components/property-mapping/index.js +1 -1
- package/dist/components/template-form/components/default-value-input/index.js +120 -0
- package/dist/components/template-form/components/default-value-input/logic.js +76 -0
- package/dist/components/template-form/components/property-list/index.js +5 -5
- package/dist/components/template-form/components/property-list/property-list-columns.js +2 -2
- package/dist/components/template-form/components/property-list/property-list-form.js +245 -240
- package/dist/components/template-form/components/property-list/property-list-logic.js +59 -42
- package/dist/components/template-form/components/recognition-property-list/index.js +5 -5
- 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 +5 -5
- package/dist/components/template-form/index.js +39 -37
- package/dist/components/template-form/logic.js +24 -23
- package/dist/components/template-property-filters/property.js +23 -20
- package/dist/createSvgIcon-Bi-IzY8I.js +83 -0
- package/dist/{dialog-CNxZ7uox.js → dialog-DwmnOp5c.js} +2 -2
- package/dist/{index-BQ4_OA4b.js → index-Dvh8D1yM.js} +26 -25
- package/dist/isMuiElement-CxT3_ACP.js +13 -0
- package/dist/main.d.ts +25 -0
- package/dist/{styled-DObpn_Bi.js → styled-C5WQOj4E.js} +1 -1
- package/dist/{useIsFocusVisible-BHPF-Pml.js → useIsFocusVisible-CVnvB5M2.js} +1 -1
- package/dist/{useSlot-gpKOd92R.js → useSlot-BOHuz6Wu.js} +1 -1
- package/dist/{useTimeout-CM6EsHyp.js → useTimeout-D5vWrF1x.js} +2 -2
- package/dist/utils/ontology.js +49 -43
- package/package.json +1 -1
- package/dist/createSvgIcon-jKAqRXE2.js +0 -93
|
@@ -1,116 +1,117 @@
|
|
|
1
|
-
import
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { g as
|
|
6
|
-
import { r as
|
|
7
|
-
import { DATA_TYPES as
|
|
1
|
+
import Oe, { jsx as r, jsxs as h, Fragment as ue } from "react/jsx-runtime";
|
|
2
|
+
import * as V from "react";
|
|
3
|
+
import S from "react";
|
|
4
|
+
import W from "lodash";
|
|
5
|
+
import { g as ye, a as ve, s as K, r as Re, b as w, d as Pe, u as Z, c as Te, i as Fe } from "../../../../styled-Ckq8ALHh.js";
|
|
6
|
+
import { r as Se } from "../../../../createSvgIcon-Bi-IzY8I.js";
|
|
7
|
+
import { DATA_TYPES as J, COORDINATE_FORMAT as qe, PRIVACY_PRESERVATION_METHOD as fe } from "../../../../constants/index.js";
|
|
8
8
|
import { LabeledField as y } from "../../helpers.js";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
9
|
+
import { DefaultValueInput as De } from "../default-value-input/index.js";
|
|
10
|
+
import { A as Me } from "../../../../Alert-OoSOUjZM.js";
|
|
11
|
+
import { T as j, F as H, B as Ne } from "../../../../TextField-Cx5T7iJn.js";
|
|
12
|
+
import { I as U } from "../../../../InputLabel-jPm6Xuco.js";
|
|
13
|
+
import { S as G } from "../../../../Select-B4zhu5G_.js";
|
|
14
|
+
import { M as Y } from "../../../../MenuItem-BAKBPyZx.js";
|
|
15
|
+
import { F as _e } from "../../../../FormGroup-LH368jad.js";
|
|
16
|
+
import { a as g, _ as Ie } from "../../../../objectWithoutPropertiesLoose-DJteAcBH.js";
|
|
16
17
|
import { P as e } from "../../../../index-CblbdqjE.js";
|
|
17
|
-
import { c as
|
|
18
|
-
import { f as
|
|
19
|
-
import { u as
|
|
20
|
-
import { T as
|
|
21
|
-
import { createStack as
|
|
22
|
-
import { r as
|
|
23
|
-
import { S as
|
|
24
|
-
import { c as
|
|
25
|
-
import { B as
|
|
26
|
-
const
|
|
18
|
+
import { c as X } from "../../../../clsx-OuTLNxxd.js";
|
|
19
|
+
import { f as Ee } from "../../../../formControlState-vgaj2ksH.js";
|
|
20
|
+
import { u as $e } from "../../../../useFormControl-CatNKXAi.js";
|
|
21
|
+
import { T as be } from "../../../../Typography-B_LKrxyI.js";
|
|
22
|
+
import { createStack as je } from "@mui/system";
|
|
23
|
+
import { r as ge } from "../../../../TransitionGroupContext-C_aW1Tei.js";
|
|
24
|
+
import { S as we } from "../../../../SwitchBase-BqUrfIHp.js";
|
|
25
|
+
import { c as ee } from "../../../../createSvgIcon-Bx0mTP6n.js";
|
|
26
|
+
import { B as he } from "../../../../Button-gZFgy23t.js";
|
|
27
|
+
const ze = ee(/* @__PURE__ */ r("path", {
|
|
27
28
|
d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
|
|
28
|
-
}), "CheckBoxOutlineBlank"),
|
|
29
|
+
}), "CheckBoxOutlineBlank"), Le = ee(/* @__PURE__ */ r("path", {
|
|
29
30
|
d: "M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
|
|
30
|
-
}), "CheckBox"),
|
|
31
|
+
}), "CheckBox"), Be = ee(/* @__PURE__ */ r("path", {
|
|
31
32
|
d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"
|
|
32
33
|
}), "IndeterminateCheckBox");
|
|
33
|
-
function
|
|
34
|
-
return
|
|
34
|
+
function Ve(a) {
|
|
35
|
+
return ve("MuiCheckbox", a);
|
|
35
36
|
}
|
|
36
|
-
const
|
|
37
|
+
const Q = ye("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "colorPrimary", "colorSecondary", "sizeSmall", "sizeMedium"]), Ae = ["checkedIcon", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size", "className"], We = (a) => {
|
|
37
38
|
const {
|
|
38
39
|
classes: o,
|
|
39
40
|
indeterminate: c,
|
|
40
41
|
color: p,
|
|
41
|
-
size:
|
|
42
|
+
size: f
|
|
42
43
|
} = a, d = {
|
|
43
|
-
root: ["root", c && "indeterminate", `color${
|
|
44
|
-
}, v =
|
|
45
|
-
return
|
|
46
|
-
},
|
|
47
|
-
shouldForwardProp: (a) =>
|
|
44
|
+
root: ["root", c && "indeterminate", `color${w(p)}`, `size${w(f)}`]
|
|
45
|
+
}, v = Te(d, Ve, o);
|
|
46
|
+
return g({}, o, v);
|
|
47
|
+
}, He = K(we, {
|
|
48
|
+
shouldForwardProp: (a) => Re(a) || a === "classes",
|
|
48
49
|
name: "MuiCheckbox",
|
|
49
50
|
slot: "Root",
|
|
50
51
|
overridesResolver: (a, o) => {
|
|
51
52
|
const {
|
|
52
53
|
ownerState: c
|
|
53
54
|
} = a;
|
|
54
|
-
return [o.root, c.indeterminate && o.indeterminate, o[`size${
|
|
55
|
+
return [o.root, c.indeterminate && o.indeterminate, o[`size${w(c.size)}`], c.color !== "default" && o[`color${w(c.color)}`]];
|
|
55
56
|
}
|
|
56
57
|
})(({
|
|
57
58
|
theme: a,
|
|
58
59
|
ownerState: o
|
|
59
|
-
}) =>
|
|
60
|
+
}) => g({
|
|
60
61
|
color: (a.vars || a).palette.text.secondary
|
|
61
62
|
}, !o.disableRipple && {
|
|
62
63
|
"&:hover": {
|
|
63
|
-
backgroundColor: a.vars ? `rgba(${o.color === "default" ? a.vars.palette.action.activeChannel : a.vars.palette[o.color].mainChannel} / ${a.vars.palette.action.hoverOpacity})` :
|
|
64
|
+
backgroundColor: a.vars ? `rgba(${o.color === "default" ? a.vars.palette.action.activeChannel : a.vars.palette[o.color].mainChannel} / ${a.vars.palette.action.hoverOpacity})` : Pe(o.color === "default" ? a.palette.action.active : a.palette[o.color].main, a.palette.action.hoverOpacity),
|
|
64
65
|
// Reset on touch devices, it doesn't add specificity
|
|
65
66
|
"@media (hover: none)": {
|
|
66
67
|
backgroundColor: "transparent"
|
|
67
68
|
}
|
|
68
69
|
}
|
|
69
70
|
}, o.color !== "default" && {
|
|
70
|
-
[`&.${
|
|
71
|
+
[`&.${Q.checked}, &.${Q.indeterminate}`]: {
|
|
71
72
|
color: (a.vars || a).palette[o.color].main
|
|
72
73
|
},
|
|
73
|
-
[`&.${
|
|
74
|
+
[`&.${Q.disabled}`]: {
|
|
74
75
|
color: (a.vars || a).palette.action.disabled
|
|
75
76
|
}
|
|
76
|
-
})),
|
|
77
|
-
var p,
|
|
78
|
-
const d =
|
|
77
|
+
})), Ue = /* @__PURE__ */ r(Le, {}), Ge = /* @__PURE__ */ r(ze, {}), Ye = /* @__PURE__ */ r(Be, {}), q = /* @__PURE__ */ V.forwardRef(function(o, c) {
|
|
78
|
+
var p, f;
|
|
79
|
+
const d = Z({
|
|
79
80
|
props: o,
|
|
80
81
|
name: "MuiCheckbox"
|
|
81
82
|
}), {
|
|
82
|
-
checkedIcon: v =
|
|
83
|
+
checkedIcon: v = Ue,
|
|
83
84
|
color: t = "primary",
|
|
84
|
-
icon:
|
|
85
|
-
indeterminate:
|
|
86
|
-
indeterminateIcon:
|
|
87
|
-
inputProps:
|
|
88
|
-
size:
|
|
89
|
-
className:
|
|
90
|
-
} = d,
|
|
85
|
+
icon: m = Ge,
|
|
86
|
+
indeterminate: b = !1,
|
|
87
|
+
indeterminateIcon: x = Ye,
|
|
88
|
+
inputProps: M,
|
|
89
|
+
size: i = "medium",
|
|
90
|
+
className: s
|
|
91
|
+
} = d, z = Ie(d, Ae), O = b ? x : m, C = b ? x : v, k = g({}, d, {
|
|
91
92
|
color: t,
|
|
92
|
-
indeterminate:
|
|
93
|
-
size:
|
|
94
|
-
}),
|
|
95
|
-
return /* @__PURE__ */ r(
|
|
93
|
+
indeterminate: b,
|
|
94
|
+
size: i
|
|
95
|
+
}), T = We(k);
|
|
96
|
+
return /* @__PURE__ */ r(He, g({
|
|
96
97
|
type: "checkbox",
|
|
97
|
-
inputProps:
|
|
98
|
-
"data-indeterminate":
|
|
99
|
-
},
|
|
100
|
-
icon: /* @__PURE__ */
|
|
101
|
-
fontSize: (p =
|
|
98
|
+
inputProps: g({
|
|
99
|
+
"data-indeterminate": b
|
|
100
|
+
}, M),
|
|
101
|
+
icon: /* @__PURE__ */ V.cloneElement(O, {
|
|
102
|
+
fontSize: (p = O.props.fontSize) != null ? p : i
|
|
102
103
|
}),
|
|
103
|
-
checkedIcon: /* @__PURE__ */
|
|
104
|
-
fontSize: (
|
|
104
|
+
checkedIcon: /* @__PURE__ */ V.cloneElement(C, {
|
|
105
|
+
fontSize: (f = C.props.fontSize) != null ? f : i
|
|
105
106
|
}),
|
|
106
107
|
ownerState: k,
|
|
107
108
|
ref: c,
|
|
108
|
-
className:
|
|
109
|
-
},
|
|
110
|
-
classes:
|
|
109
|
+
className: X(T.root, s)
|
|
110
|
+
}, z, {
|
|
111
|
+
classes: T
|
|
111
112
|
}));
|
|
112
113
|
});
|
|
113
|
-
process.env.NODE_ENV !== "production" && (
|
|
114
|
+
process.env.NODE_ENV !== "production" && (q.propTypes = {
|
|
114
115
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
115
116
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
116
117
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -182,7 +183,7 @@ process.env.NODE_ENV !== "production" && (M.propTypes = {
|
|
|
182
183
|
/**
|
|
183
184
|
* Pass a ref to the `input` element.
|
|
184
185
|
*/
|
|
185
|
-
inputRef:
|
|
186
|
+
inputRef: ge,
|
|
186
187
|
/**
|
|
187
188
|
* Callback fired when the state is changed.
|
|
188
189
|
*
|
|
@@ -211,18 +212,18 @@ process.env.NODE_ENV !== "production" && (M.propTypes = {
|
|
|
211
212
|
*/
|
|
212
213
|
value: e.any
|
|
213
214
|
});
|
|
214
|
-
const
|
|
215
|
-
createStyledComponent:
|
|
215
|
+
const xe = je({
|
|
216
|
+
createStyledComponent: K("div", {
|
|
216
217
|
name: "MuiStack",
|
|
217
218
|
slot: "Root",
|
|
218
219
|
overridesResolver: (a, o) => o.root
|
|
219
220
|
}),
|
|
220
|
-
useThemeProps: (a) =>
|
|
221
|
+
useThemeProps: (a) => Z({
|
|
221
222
|
props: a,
|
|
222
223
|
name: "MuiStack"
|
|
223
224
|
})
|
|
224
225
|
});
|
|
225
|
-
process.env.NODE_ENV !== "production" && (
|
|
226
|
+
process.env.NODE_ENV !== "production" && (xe.propTypes = {
|
|
226
227
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
227
228
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
228
229
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -266,23 +267,23 @@ process.env.NODE_ENV !== "production" && (Ie.propTypes = {
|
|
|
266
267
|
*/
|
|
267
268
|
useFlexGap: e.bool
|
|
268
269
|
});
|
|
269
|
-
function
|
|
270
|
-
return
|
|
270
|
+
function Ke(a) {
|
|
271
|
+
return ve("MuiFormControlLabel", a);
|
|
271
272
|
}
|
|
272
|
-
const B =
|
|
273
|
+
const B = ye("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlacementTop", "labelPlacementBottom", "disabled", "label", "error", "required", "asterisk"]), Je = ["checked", "className", "componentsProps", "control", "disabled", "disableTypography", "inputRef", "label", "labelPlacement", "name", "onChange", "required", "slotProps", "value"], Qe = (a) => {
|
|
273
274
|
const {
|
|
274
275
|
classes: o,
|
|
275
276
|
disabled: c,
|
|
276
277
|
labelPlacement: p,
|
|
277
|
-
error:
|
|
278
|
+
error: f,
|
|
278
279
|
required: d
|
|
279
280
|
} = a, v = {
|
|
280
|
-
root: ["root", c && "disabled", `labelPlacement${
|
|
281
|
+
root: ["root", c && "disabled", `labelPlacement${w(p)}`, f && "error", d && "required"],
|
|
281
282
|
label: ["label", c && "disabled"],
|
|
282
|
-
asterisk: ["asterisk",
|
|
283
|
+
asterisk: ["asterisk", f && "error"]
|
|
283
284
|
};
|
|
284
|
-
return
|
|
285
|
-
},
|
|
285
|
+
return Te(v, Ke, o);
|
|
286
|
+
}, Xe = K("label", {
|
|
286
287
|
name: "MuiFormControlLabel",
|
|
287
288
|
slot: "Root",
|
|
288
289
|
overridesResolver: (a, o) => {
|
|
@@ -291,12 +292,12 @@ const B = be("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlacem
|
|
|
291
292
|
} = a;
|
|
292
293
|
return [{
|
|
293
294
|
[`& .${B.label}`]: o.label
|
|
294
|
-
}, o.root, o[`labelPlacement${
|
|
295
|
+
}, o.root, o[`labelPlacement${w(c.labelPlacement)}`]];
|
|
295
296
|
}
|
|
296
297
|
})(({
|
|
297
298
|
theme: a,
|
|
298
299
|
ownerState: o
|
|
299
|
-
}) =>
|
|
300
|
+
}) => g({
|
|
300
301
|
display: "inline-flex",
|
|
301
302
|
alignItems: "center",
|
|
302
303
|
cursor: "pointer",
|
|
@@ -326,7 +327,7 @@ const B = be("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlacem
|
|
|
326
327
|
color: (a.vars || a).palette.text.disabled
|
|
327
328
|
}
|
|
328
329
|
}
|
|
329
|
-
})),
|
|
330
|
+
})), Ze = K("span", {
|
|
330
331
|
name: "MuiFormControlLabel",
|
|
331
332
|
slot: "Asterisk",
|
|
332
333
|
overridesResolver: (a, o) => o.asterisk
|
|
@@ -336,61 +337,61 @@ const B = be("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlacem
|
|
|
336
337
|
[`&.${B.error}`]: {
|
|
337
338
|
color: (a.vars || a).palette.error.main
|
|
338
339
|
}
|
|
339
|
-
})),
|
|
340
|
-
var p,
|
|
341
|
-
const d =
|
|
340
|
+
})), D = /* @__PURE__ */ V.forwardRef(function(o, c) {
|
|
341
|
+
var p, f;
|
|
342
|
+
const d = Z({
|
|
342
343
|
props: o,
|
|
343
344
|
name: "MuiFormControlLabel"
|
|
344
345
|
}), {
|
|
345
346
|
className: v,
|
|
346
347
|
componentsProps: t = {},
|
|
347
|
-
control:
|
|
348
|
-
disabled:
|
|
349
|
-
disableTypography:
|
|
350
|
-
label:
|
|
351
|
-
labelPlacement:
|
|
352
|
-
required:
|
|
353
|
-
slotProps:
|
|
354
|
-
} = d,
|
|
348
|
+
control: m,
|
|
349
|
+
disabled: b,
|
|
350
|
+
disableTypography: x,
|
|
351
|
+
label: M,
|
|
352
|
+
labelPlacement: i = "end",
|
|
353
|
+
required: s,
|
|
354
|
+
slotProps: z = {}
|
|
355
|
+
} = d, O = Ie(d, Je), C = $e(), k = (p = b ?? m.props.disabled) != null ? p : C == null ? void 0 : C.disabled, T = s ?? m.props.required, L = {
|
|
355
356
|
disabled: k,
|
|
356
|
-
required:
|
|
357
|
+
required: T
|
|
357
358
|
};
|
|
358
359
|
["checked", "name", "onChange", "value", "inputRef"].forEach((R) => {
|
|
359
|
-
typeof
|
|
360
|
+
typeof m.props[R] > "u" && typeof d[R] < "u" && (L[R] = d[R]);
|
|
360
361
|
});
|
|
361
|
-
const A =
|
|
362
|
+
const A = Ee({
|
|
362
363
|
props: d,
|
|
363
|
-
muiFormControl:
|
|
364
|
+
muiFormControl: C,
|
|
364
365
|
states: ["error"]
|
|
365
|
-
}),
|
|
366
|
+
}), N = g({}, d, {
|
|
366
367
|
disabled: k,
|
|
367
|
-
labelPlacement:
|
|
368
|
-
required:
|
|
368
|
+
labelPlacement: i,
|
|
369
|
+
required: T,
|
|
369
370
|
error: A.error
|
|
370
|
-
}),
|
|
371
|
-
let
|
|
372
|
-
return
|
|
371
|
+
}), _ = Qe(N), E = (f = z.typography) != null ? f : t.typography;
|
|
372
|
+
let I = M;
|
|
373
|
+
return I != null && I.type !== be && !x && (I = /* @__PURE__ */ r(be, g({
|
|
373
374
|
component: "span"
|
|
374
375
|
}, E, {
|
|
375
|
-
className:
|
|
376
|
-
children:
|
|
377
|
-
}))), /* @__PURE__ */
|
|
378
|
-
className:
|
|
379
|
-
ownerState:
|
|
376
|
+
className: X(_.label, E == null ? void 0 : E.className),
|
|
377
|
+
children: I
|
|
378
|
+
}))), /* @__PURE__ */ h(Xe, g({
|
|
379
|
+
className: X(_.root, v),
|
|
380
|
+
ownerState: N,
|
|
380
381
|
ref: c
|
|
381
|
-
},
|
|
382
|
-
children: [/* @__PURE__ */
|
|
382
|
+
}, O, {
|
|
383
|
+
children: [/* @__PURE__ */ V.cloneElement(m, L), T ? /* @__PURE__ */ h(xe, {
|
|
383
384
|
display: "block",
|
|
384
|
-
children: [
|
|
385
|
-
ownerState:
|
|
385
|
+
children: [I, /* @__PURE__ */ h(Ze, {
|
|
386
|
+
ownerState: N,
|
|
386
387
|
"aria-hidden": !0,
|
|
387
|
-
className:
|
|
388
|
+
className: _.asterisk,
|
|
388
389
|
children: [" ", "*"]
|
|
389
390
|
})]
|
|
390
|
-
}) :
|
|
391
|
+
}) : I]
|
|
391
392
|
}));
|
|
392
393
|
});
|
|
393
|
-
process.env.NODE_ENV !== "production" && (
|
|
394
|
+
process.env.NODE_ENV !== "production" && (D.propTypes = {
|
|
394
395
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
395
396
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
396
397
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -429,7 +430,7 @@ process.env.NODE_ENV !== "production" && (N.propTypes = {
|
|
|
429
430
|
/**
|
|
430
431
|
* Pass a ref to the `input` element.
|
|
431
432
|
*/
|
|
432
|
-
inputRef:
|
|
433
|
+
inputRef: ge,
|
|
433
434
|
/**
|
|
434
435
|
* A text or an element to be used in an enclosing label element.
|
|
435
436
|
*/
|
|
@@ -470,26 +471,26 @@ process.env.NODE_ENV !== "production" && (N.propTypes = {
|
|
|
470
471
|
*/
|
|
471
472
|
value: e.any
|
|
472
473
|
});
|
|
473
|
-
var
|
|
474
|
-
Object.defineProperty(
|
|
474
|
+
var oe = {}, eo = Fe;
|
|
475
|
+
Object.defineProperty(oe, "__esModule", {
|
|
475
476
|
value: !0
|
|
476
477
|
});
|
|
477
|
-
var
|
|
478
|
-
|
|
478
|
+
var Ce = oe.default = void 0, oo = eo(Se()), ro = Oe;
|
|
479
|
+
Ce = oe.default = (0, oo.default)(/* @__PURE__ */ (0, ro.jsx)("path", {
|
|
479
480
|
d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"
|
|
480
481
|
}), "Check");
|
|
481
|
-
function
|
|
482
|
+
function So({
|
|
482
483
|
inputVariant: a,
|
|
483
484
|
labelPosition: o = "default",
|
|
484
485
|
templateId: c,
|
|
485
486
|
defaultValues: p = {
|
|
486
487
|
name: "",
|
|
487
488
|
propertyId: "",
|
|
488
|
-
type:
|
|
489
|
+
type: J[0],
|
|
489
490
|
dataTypeInfo: {},
|
|
490
491
|
defaultValue: "",
|
|
491
492
|
description: "",
|
|
492
|
-
privacyPreservationMethod:
|
|
493
|
+
privacyPreservationMethod: fe[0],
|
|
493
494
|
required: !1,
|
|
494
495
|
visible: !1,
|
|
495
496
|
editable: !1,
|
|
@@ -497,41 +498,47 @@ function Oo({
|
|
|
497
498
|
temporal: !1,
|
|
498
499
|
unique: !1
|
|
499
500
|
},
|
|
500
|
-
disablePropertyId:
|
|
501
|
+
disablePropertyId: f,
|
|
501
502
|
onSubmit: d,
|
|
502
503
|
onCancel: v
|
|
503
504
|
}) {
|
|
504
|
-
var
|
|
505
|
-
const [t,
|
|
505
|
+
var k, T, L, A, N, _, E, I, R, re, te, ae, ne, le, ie, se, ce, de, pe, me;
|
|
506
|
+
const [t, m] = S.useState(p), [b, x] = S.useState({
|
|
506
507
|
name: !1,
|
|
507
508
|
scale: !1
|
|
508
|
-
}),
|
|
509
|
-
var
|
|
510
|
-
const
|
|
511
|
-
let
|
|
512
|
-
if (t.type === "enum" &&
|
|
513
|
-
|
|
514
|
-
|
|
509
|
+
}), M = S.useRef(p.type), i = !!((k = p.inheritedFrom) != null && k.templateId) && ((T = p.inheritedFrom) == null ? void 0 : T.templateId) !== c, s = (n) => {
|
|
510
|
+
var P, F;
|
|
511
|
+
const l = n.target.name;
|
|
512
|
+
let u = n.target.type === "checkbox" ? n.target.checked : n.target.value;
|
|
513
|
+
if (t.type === "enum" && l === "dataTypeInfo.enumValues" && (u = u.split(",")), ((F = (P = t.dataTypeInfo) == null ? void 0 : P.innerType) == null ? void 0 : F.type) === "enum" && l === "dataTypeInfo.innerType.enumValues" && (u = u.split(",")), l.includes(".")) {
|
|
514
|
+
const $ = W.cloneDeep(t);
|
|
515
|
+
W.set($, l, u), m($);
|
|
515
516
|
return;
|
|
516
517
|
}
|
|
517
|
-
|
|
518
|
+
m(($) => ({
|
|
518
519
|
...$,
|
|
519
|
-
[
|
|
520
|
+
[l]: u
|
|
520
521
|
}));
|
|
522
|
+
}, z = (n) => {
|
|
523
|
+
m((l) => ({ ...l, defaultValue: n }));
|
|
521
524
|
}, O = (n) => {
|
|
522
|
-
const { name:
|
|
523
|
-
|
|
524
|
-
},
|
|
525
|
-
const { precision: n, scale:
|
|
526
|
-
if (!t.name ||
|
|
527
|
-
|
|
525
|
+
const { name: l, value: u } = n.target, P = Number.parseInt(u, 10), F = W.cloneDeep(t);
|
|
526
|
+
W.set(F, l, Number.isNaN(P) ? void 0 : P), m(F);
|
|
527
|
+
}, C = () => {
|
|
528
|
+
const { precision: n, scale: l } = t.dataTypeInfo ?? {}, u = t.type === "decimal" && n !== void 0 && l !== void 0 && l > n;
|
|
529
|
+
if (!t.name || u) {
|
|
530
|
+
x({ name: !t.name, scale: u });
|
|
528
531
|
return;
|
|
529
532
|
}
|
|
530
533
|
d(t);
|
|
531
534
|
};
|
|
532
|
-
return
|
|
533
|
-
}), [t.name]),
|
|
534
|
-
|
|
535
|
+
return S.useEffect(() => (b.name && t.name && x({ ...b, name: !1 }), () => {
|
|
536
|
+
}), [t.name]), S.useEffect(() => {
|
|
537
|
+
if (M.current !== t.type)
|
|
538
|
+
return M.current = t.type, m((n) => ({ ...n, defaultValue: "" })), () => {
|
|
539
|
+
};
|
|
540
|
+
}, [t.type]), S.useEffect(() => (x((n) => n.scale ? { ...n, scale: !1 } : n), () => {
|
|
541
|
+
}), [t.type, (L = t.dataTypeInfo) == null ? void 0 : L.precision, (A = t.dataTypeInfo) == null ? void 0 : A.scale]), S.useEffect(() => {
|
|
535
542
|
if (![
|
|
536
543
|
"date",
|
|
537
544
|
"coordinate",
|
|
@@ -543,150 +550,150 @@ function Oo({
|
|
|
543
550
|
if (t.dataTypeInfo) {
|
|
544
551
|
const {
|
|
545
552
|
coordinateFormat: n,
|
|
546
|
-
datePattern:
|
|
547
|
-
innerType:
|
|
548
|
-
enumValues:
|
|
549
|
-
precision:
|
|
553
|
+
datePattern: l,
|
|
554
|
+
innerType: u,
|
|
555
|
+
enumValues: P,
|
|
556
|
+
precision: F,
|
|
550
557
|
scale: $
|
|
551
558
|
} = t.dataTypeInfo;
|
|
552
|
-
(n ||
|
|
559
|
+
(n || l || u || P || F !== void 0 || $ !== void 0) && m((ke) => ({ ...ke, dataTypeInfo: {} }));
|
|
553
560
|
}
|
|
554
561
|
return () => {
|
|
555
562
|
};
|
|
556
563
|
}
|
|
557
|
-
}, [t.type]), /* @__PURE__ */
|
|
558
|
-
|
|
564
|
+
}, [t.type]), /* @__PURE__ */ h(ue, { children: [
|
|
565
|
+
i && /* @__PURE__ */ h(Me, { severity: "info", sx: { mb: 2 }, children: [
|
|
559
566
|
"This property is inherited from",
|
|
560
567
|
" ",
|
|
561
|
-
/* @__PURE__ */ r("strong", { children: (
|
|
568
|
+
/* @__PURE__ */ r("strong", { children: (N = p.inheritedFrom) == null ? void 0 : N.templateName }),
|
|
562
569
|
". Only Default Value, Description and Required can be updated here."
|
|
563
570
|
] }),
|
|
564
571
|
/* @__PURE__ */ r(y, { label: "Name", required: !0, labelPosition: o, children: /* @__PURE__ */ r(
|
|
565
|
-
|
|
572
|
+
j,
|
|
566
573
|
{
|
|
567
574
|
label: o === "default" ? "Name" : void 0,
|
|
568
575
|
name: "name",
|
|
569
576
|
variant: a,
|
|
570
577
|
fullWidth: !0,
|
|
571
|
-
disabled:
|
|
578
|
+
disabled: i,
|
|
572
579
|
sx: { mb: 2, mt: 0.5 },
|
|
573
580
|
value: t.name,
|
|
574
|
-
onChange:
|
|
581
|
+
onChange: s,
|
|
575
582
|
required: !0,
|
|
576
|
-
...
|
|
583
|
+
...b.name && {
|
|
577
584
|
error: !0,
|
|
578
585
|
helperText: "This field is required!"
|
|
579
586
|
}
|
|
580
587
|
}
|
|
581
588
|
) }),
|
|
582
589
|
/* @__PURE__ */ r(y, { label: "Property ID", labelPosition: o, children: /* @__PURE__ */ r(
|
|
583
|
-
|
|
590
|
+
j,
|
|
584
591
|
{
|
|
585
592
|
label: o === "default" ? "Property ID" : void 0,
|
|
586
593
|
name: "propertyId",
|
|
587
594
|
variant: a,
|
|
588
595
|
fullWidth: !0,
|
|
589
|
-
disabled:
|
|
596
|
+
disabled: f || i,
|
|
590
597
|
sx: { mb: 2 },
|
|
591
598
|
value: t.propertyId,
|
|
592
|
-
onChange:
|
|
599
|
+
onChange: s
|
|
593
600
|
}
|
|
594
601
|
) }),
|
|
595
|
-
/* @__PURE__ */ r(y, { label: "Type", labelPosition: o, children: /* @__PURE__ */
|
|
596
|
-
o === "default" && /* @__PURE__ */ r(
|
|
602
|
+
/* @__PURE__ */ r(y, { label: "Type", labelPosition: o, children: /* @__PURE__ */ h(H, { fullWidth: !0, variant: a, sx: { mb: 2 }, children: [
|
|
603
|
+
o === "default" && /* @__PURE__ */ r(U, { id: "type-select-label", children: "Type" }),
|
|
597
604
|
/* @__PURE__ */ r(
|
|
598
|
-
|
|
605
|
+
G,
|
|
599
606
|
{
|
|
600
607
|
label: o === "default" ? "Type" : void 0,
|
|
601
608
|
name: "type",
|
|
602
609
|
labelId: "type-select-label",
|
|
603
610
|
id: "type-select",
|
|
604
611
|
value: t.type,
|
|
605
|
-
disabled:
|
|
606
|
-
onChange:
|
|
607
|
-
children:
|
|
612
|
+
disabled: i,
|
|
613
|
+
onChange: s,
|
|
614
|
+
children: J.map((n, l) => /* @__PURE__ */ r(Y, { value: n, children: n }, l))
|
|
608
615
|
}
|
|
609
616
|
)
|
|
610
617
|
] }) }),
|
|
611
|
-
t.type === "coordinate" && /* @__PURE__ */ r(y, { label: "Coordinate Format", labelPosition: o, children: /* @__PURE__ */
|
|
612
|
-
o === "default" && /* @__PURE__ */ r(
|
|
618
|
+
t.type === "coordinate" && /* @__PURE__ */ r(y, { label: "Coordinate Format", labelPosition: o, children: /* @__PURE__ */ h(H, { fullWidth: !0, variant: a, sx: { mb: 2 }, children: [
|
|
619
|
+
o === "default" && /* @__PURE__ */ r(U, { id: "coordinate-format-select-label", children: "Cordinate Format" }),
|
|
613
620
|
/* @__PURE__ */ r(
|
|
614
|
-
|
|
621
|
+
G,
|
|
615
622
|
{
|
|
616
623
|
label: o === "default" ? "Coordinate Format" : void 0,
|
|
617
624
|
name: "dataTypeInfo.coordinateFormat",
|
|
618
625
|
labelId: "coordinate-format-select-label",
|
|
619
626
|
id: "coordinate-format-select",
|
|
620
|
-
value: (
|
|
621
|
-
disabled:
|
|
622
|
-
onChange:
|
|
623
|
-
children:
|
|
627
|
+
value: (_ = t.dataTypeInfo) == null ? void 0 : _.coordinateFormat,
|
|
628
|
+
disabled: i,
|
|
629
|
+
onChange: s,
|
|
630
|
+
children: qe.map((n, l) => /* @__PURE__ */ r(Y, { value: n, children: n }, l))
|
|
624
631
|
}
|
|
625
632
|
)
|
|
626
633
|
] }) }),
|
|
627
|
-
(t.type === "composite-list" || t.type === "composite-matrix") && /* @__PURE__ */ r(y, { label: "Inner Type", labelPosition: o, children: /* @__PURE__ */
|
|
628
|
-
o === "default" && /* @__PURE__ */ r(
|
|
634
|
+
(t.type === "composite-list" || t.type === "composite-matrix") && /* @__PURE__ */ r(y, { label: "Inner Type", labelPosition: o, children: /* @__PURE__ */ h(H, { fullWidth: !0, variant: a, sx: { mb: 2 }, children: [
|
|
635
|
+
o === "default" && /* @__PURE__ */ r(U, { id: "composite-list-select-label", children: "Inner Type" }),
|
|
629
636
|
/* @__PURE__ */ r(
|
|
630
|
-
|
|
637
|
+
G,
|
|
631
638
|
{
|
|
632
639
|
label: o === "default" ? "Inner Type" : void 0,
|
|
633
640
|
name: "dataTypeInfo.innerType.type",
|
|
634
641
|
labelId: "composite-list-select-label",
|
|
635
642
|
id: "composite-list-select",
|
|
636
|
-
value: (
|
|
637
|
-
disabled:
|
|
638
|
-
onChange:
|
|
639
|
-
children:
|
|
643
|
+
value: (I = (E = t.dataTypeInfo) == null ? void 0 : E.innerType) == null ? void 0 : I.type,
|
|
644
|
+
disabled: i,
|
|
645
|
+
onChange: s,
|
|
646
|
+
children: J.filter(
|
|
640
647
|
(n) => n !== "composite-list" && n !== "list"
|
|
641
|
-
).map((n,
|
|
648
|
+
).map((n, l) => /* @__PURE__ */ r(Y, { value: n, children: n }, l))
|
|
642
649
|
}
|
|
643
650
|
)
|
|
644
651
|
] }) }),
|
|
645
|
-
(t.type === "enum" || ((
|
|
646
|
-
|
|
652
|
+
(t.type === "enum" || ((re = (R = t.dataTypeInfo) == null ? void 0 : R.innerType) == null ? void 0 : re.type) === "enum") && /* @__PURE__ */ r(y, { label: "Enum Values", labelPosition: o, children: /* @__PURE__ */ r(
|
|
653
|
+
j,
|
|
647
654
|
{
|
|
648
655
|
label: o === "default" ? "Enum Values" : void 0,
|
|
649
|
-
name: ((
|
|
656
|
+
name: ((ae = (te = t.dataTypeInfo) == null ? void 0 : te.innerType) == null ? void 0 : ae.type) === "enum" ? "dataTypeInfo.innerType.enumValues" : "dataTypeInfo.enumValues",
|
|
650
657
|
variant: a,
|
|
651
658
|
fullWidth: !0,
|
|
652
|
-
disabled:
|
|
659
|
+
disabled: i,
|
|
653
660
|
sx: { mb: 2 },
|
|
654
|
-
value: ((
|
|
655
|
-
onChange:
|
|
661
|
+
value: ((le = (ne = t.dataTypeInfo) == null ? void 0 : ne.innerType) == null ? void 0 : le.type) === "enum" ? (se = (ie = t.dataTypeInfo.innerType) == null ? void 0 : ie.enumValues) == null ? void 0 : se.join(",") : (de = (ce = t.dataTypeInfo) == null ? void 0 : ce.enumValues) == null ? void 0 : de.join(","),
|
|
662
|
+
onChange: s,
|
|
656
663
|
helperText: "Add list values with the comma (,) separated string"
|
|
657
664
|
}
|
|
658
665
|
) }),
|
|
659
|
-
t.type === "decimal" && /* @__PURE__ */
|
|
666
|
+
t.type === "decimal" && /* @__PURE__ */ h(ue, { children: [
|
|
660
667
|
/* @__PURE__ */ r(y, { label: "Precision", labelPosition: o, children: /* @__PURE__ */ r(
|
|
661
|
-
|
|
668
|
+
j,
|
|
662
669
|
{
|
|
663
670
|
label: o === "default" ? "Precision" : void 0,
|
|
664
671
|
name: "dataTypeInfo.precision",
|
|
665
672
|
type: "number",
|
|
666
673
|
variant: a,
|
|
667
674
|
fullWidth: !0,
|
|
668
|
-
disabled:
|
|
675
|
+
disabled: i,
|
|
669
676
|
sx: { mb: 2 },
|
|
670
|
-
value: ((
|
|
677
|
+
value: ((pe = t.dataTypeInfo) == null ? void 0 : pe.precision) ?? "",
|
|
671
678
|
onChange: O,
|
|
672
679
|
inputProps: { min: 1, step: 1 },
|
|
673
680
|
helperText: "Total number of significant digits, e.g. 18"
|
|
674
681
|
}
|
|
675
682
|
) }),
|
|
676
683
|
/* @__PURE__ */ r(y, { label: "Scale", labelPosition: o, children: /* @__PURE__ */ r(
|
|
677
|
-
|
|
684
|
+
j,
|
|
678
685
|
{
|
|
679
686
|
label: o === "default" ? "Scale" : void 0,
|
|
680
687
|
name: "dataTypeInfo.scale",
|
|
681
688
|
type: "number",
|
|
682
689
|
variant: a,
|
|
683
690
|
fullWidth: !0,
|
|
684
|
-
disabled:
|
|
691
|
+
disabled: i,
|
|
685
692
|
sx: { mb: 2 },
|
|
686
|
-
value: ((
|
|
693
|
+
value: ((me = t.dataTypeInfo) == null ? void 0 : me.scale) ?? "",
|
|
687
694
|
onChange: O,
|
|
688
695
|
inputProps: { min: 0, step: 1 },
|
|
689
|
-
...
|
|
696
|
+
...b.scale ? {
|
|
690
697
|
error: !0,
|
|
691
698
|
helperText: "Scale cannot be greater than the precision!"
|
|
692
699
|
} : {
|
|
@@ -696,22 +703,20 @@ function Oo({
|
|
|
696
703
|
) })
|
|
697
704
|
] }),
|
|
698
705
|
/* @__PURE__ */ r(y, { label: "Default Value", labelPosition: o, children: /* @__PURE__ */ r(
|
|
699
|
-
|
|
706
|
+
De,
|
|
700
707
|
{
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
value: t.defaultValue,
|
|
707
|
-
onChange: l,
|
|
708
|
+
property: t,
|
|
709
|
+
value: t.defaultValue ?? "",
|
|
710
|
+
inputVariant: a,
|
|
711
|
+
labelPosition: o,
|
|
712
|
+
onChange: z,
|
|
708
713
|
...t.type === "decimal" && {
|
|
709
714
|
helperText: 'Exact numeric string, e.g. "1234.56"'
|
|
710
715
|
}
|
|
711
716
|
}
|
|
712
717
|
) }),
|
|
713
718
|
/* @__PURE__ */ r(y, { label: "Description", labelPosition: o, children: /* @__PURE__ */ r(
|
|
714
|
-
|
|
719
|
+
j,
|
|
715
720
|
{
|
|
716
721
|
label: o === "default" ? "Description" : void 0,
|
|
717
722
|
name: "description",
|
|
@@ -721,7 +726,7 @@ function Oo({
|
|
|
721
726
|
minRows: 2,
|
|
722
727
|
sx: { mb: 2 },
|
|
723
728
|
value: t.description ?? "",
|
|
724
|
-
onChange:
|
|
729
|
+
onChange: s
|
|
725
730
|
}
|
|
726
731
|
) }),
|
|
727
732
|
/* @__PURE__ */ r(
|
|
@@ -729,129 +734,129 @@ function Oo({
|
|
|
729
734
|
{
|
|
730
735
|
label: "Privacy Preservation Method",
|
|
731
736
|
labelPosition: o,
|
|
732
|
-
children: /* @__PURE__ */
|
|
733
|
-
o === "default" && /* @__PURE__ */ r(
|
|
737
|
+
children: /* @__PURE__ */ h(H, { fullWidth: !0, variant: a, sx: { mb: 2 }, children: [
|
|
738
|
+
o === "default" && /* @__PURE__ */ r(U, { id: "privacy-method-label", children: "Privacy Preservation Method" }),
|
|
734
739
|
/* @__PURE__ */ r(
|
|
735
|
-
|
|
740
|
+
G,
|
|
736
741
|
{
|
|
737
742
|
label: o === "default" ? "Privacy Preservation Method" : void 0,
|
|
738
743
|
name: "privacyPreservationMethod",
|
|
739
744
|
labelId: "privacy-method-label",
|
|
740
745
|
id: "privacy-method",
|
|
741
746
|
value: t.privacyPreservationMethod,
|
|
742
|
-
disabled:
|
|
743
|
-
onChange:
|
|
744
|
-
children:
|
|
747
|
+
disabled: i,
|
|
748
|
+
onChange: s,
|
|
749
|
+
children: fe.map((n, l) => /* @__PURE__ */ r(Y, { value: n, children: n }, l))
|
|
745
750
|
}
|
|
746
751
|
)
|
|
747
752
|
] })
|
|
748
753
|
}
|
|
749
754
|
),
|
|
750
|
-
/* @__PURE__ */
|
|
755
|
+
/* @__PURE__ */ h(_e, { row: !0, sx: { mb: 2 }, children: [
|
|
751
756
|
/* @__PURE__ */ r(
|
|
752
|
-
|
|
757
|
+
D,
|
|
753
758
|
{
|
|
754
759
|
label: "Required",
|
|
755
760
|
control: /* @__PURE__ */ r(
|
|
756
|
-
|
|
761
|
+
q,
|
|
757
762
|
{
|
|
758
763
|
name: "required",
|
|
759
764
|
checked: t.required,
|
|
760
|
-
onChange:
|
|
765
|
+
onChange: s
|
|
761
766
|
}
|
|
762
767
|
),
|
|
763
768
|
sx: { width: "30%" }
|
|
764
769
|
}
|
|
765
770
|
),
|
|
766
771
|
/* @__PURE__ */ r(
|
|
767
|
-
|
|
772
|
+
D,
|
|
768
773
|
{
|
|
769
774
|
label: "Editable",
|
|
770
775
|
control: /* @__PURE__ */ r(
|
|
771
|
-
|
|
776
|
+
q,
|
|
772
777
|
{
|
|
773
778
|
name: "editable",
|
|
774
779
|
checked: t.editable,
|
|
775
|
-
disabled:
|
|
776
|
-
onChange:
|
|
780
|
+
disabled: i,
|
|
781
|
+
onChange: s
|
|
777
782
|
}
|
|
778
783
|
),
|
|
779
784
|
sx: { width: "30%" }
|
|
780
785
|
}
|
|
781
786
|
),
|
|
782
787
|
/* @__PURE__ */ r(
|
|
783
|
-
|
|
788
|
+
D,
|
|
784
789
|
{
|
|
785
790
|
label: "Visible",
|
|
786
791
|
control: /* @__PURE__ */ r(
|
|
787
|
-
|
|
792
|
+
q,
|
|
788
793
|
{
|
|
789
794
|
name: "visible",
|
|
790
795
|
checked: t.visible,
|
|
791
|
-
disabled:
|
|
792
|
-
onChange:
|
|
796
|
+
disabled: i,
|
|
797
|
+
onChange: s
|
|
793
798
|
}
|
|
794
799
|
),
|
|
795
800
|
sx: { width: "30%" }
|
|
796
801
|
}
|
|
797
802
|
),
|
|
798
803
|
/* @__PURE__ */ r(
|
|
799
|
-
|
|
804
|
+
D,
|
|
800
805
|
{
|
|
801
806
|
label: "Unique",
|
|
802
807
|
control: /* @__PURE__ */ r(
|
|
803
|
-
|
|
808
|
+
q,
|
|
804
809
|
{
|
|
805
810
|
name: "unique",
|
|
806
811
|
checked: t.unique,
|
|
807
|
-
disabled:
|
|
808
|
-
onChange:
|
|
812
|
+
disabled: i,
|
|
813
|
+
onChange: s
|
|
809
814
|
}
|
|
810
815
|
),
|
|
811
816
|
sx: { width: "30%" }
|
|
812
817
|
}
|
|
813
818
|
),
|
|
814
819
|
/* @__PURE__ */ r(
|
|
815
|
-
|
|
820
|
+
D,
|
|
816
821
|
{
|
|
817
822
|
label: "Distinctive",
|
|
818
823
|
control: /* @__PURE__ */ r(
|
|
819
|
-
|
|
824
|
+
q,
|
|
820
825
|
{
|
|
821
826
|
name: "distinctive",
|
|
822
827
|
checked: t.distinctive,
|
|
823
|
-
disabled:
|
|
824
|
-
onChange:
|
|
828
|
+
disabled: i,
|
|
829
|
+
onChange: s
|
|
825
830
|
}
|
|
826
831
|
),
|
|
827
832
|
sx: { width: "30%" }
|
|
828
833
|
}
|
|
829
834
|
),
|
|
830
835
|
/* @__PURE__ */ r(
|
|
831
|
-
|
|
836
|
+
D,
|
|
832
837
|
{
|
|
833
838
|
label: "Temporal",
|
|
834
839
|
control: /* @__PURE__ */ r(
|
|
835
|
-
|
|
840
|
+
q,
|
|
836
841
|
{
|
|
837
842
|
name: "temporal",
|
|
838
843
|
checked: t.temporal,
|
|
839
|
-
disabled:
|
|
840
|
-
onChange:
|
|
844
|
+
disabled: i,
|
|
845
|
+
onChange: s
|
|
841
846
|
}
|
|
842
847
|
),
|
|
843
848
|
sx: { width: "30%" }
|
|
844
849
|
}
|
|
845
850
|
)
|
|
846
851
|
] }),
|
|
847
|
-
/* @__PURE__ */
|
|
848
|
-
/* @__PURE__ */ r(
|
|
852
|
+
/* @__PURE__ */ h(Ne, { display: "flex", justifyContent: "flex-end", children: [
|
|
853
|
+
/* @__PURE__ */ r(he, { variant: "contained", onClick: v, sx: { marginRight: 2 }, children: "Cancel" }),
|
|
849
854
|
/* @__PURE__ */ r(
|
|
850
|
-
|
|
855
|
+
he,
|
|
851
856
|
{
|
|
852
857
|
variant: "contained",
|
|
853
|
-
startIcon: /* @__PURE__ */ r(
|
|
854
|
-
onClick:
|
|
858
|
+
startIcon: /* @__PURE__ */ r(Ce, {}),
|
|
859
|
+
onClick: C,
|
|
855
860
|
children: "OK"
|
|
856
861
|
}
|
|
857
862
|
)
|
|
@@ -859,5 +864,5 @@ function Oo({
|
|
|
859
864
|
] });
|
|
860
865
|
}
|
|
861
866
|
export {
|
|
862
|
-
|
|
867
|
+
So as default
|
|
863
868
|
};
|