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