@hybridcore/ui 1.6.1 → 1.6.2
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/CATALOG.md +179 -0
- package/README.md +1 -2
- package/dist/AccordionSummary-CJppWeqF.js +781 -0
- package/dist/Add-CqcD1PWb.js +403 -0
- package/dist/Box-DqUMmZjL.js +31 -0
- package/dist/Button-C5yquWAB.js +357 -0
- package/dist/ButtonBase-BEF7oTOe.js +887 -0
- package/dist/{Delete-fBLhTHbF.js → Delete-BdyYpINH.js} +9 -8
- package/dist/{DialogContent-CGJ7alb8.js → DialogContent-BvVjD9z3.js} +127 -122
- package/dist/FormGroup-CpBsIyYR.js +89 -0
- package/dist/{IconButton-_opV1iNK.js → IconButton-BoGwbvrP.js} +26 -26
- package/dist/{InputLabel-rEwwnD4_.js → InputLabel-Dd8RrneV.js} +140 -153
- package/dist/{MenuItem-DrE50M_p.js → MenuItem-DwqJqzuM.js} +65 -89
- package/dist/Modal-MUZygjmQ.js +1158 -0
- package/dist/Paper-BkQLdsCI.js +582 -0
- package/dist/Select-DHUl_uG3.js +3916 -0
- package/dist/SwitchBase-DTndTqI8.js +235 -0
- package/dist/TextField-e2oKaUN1.js +669 -0
- package/dist/TransitionGroupContext-BDAp2T0O.js +96 -0
- package/dist/{Typography-B-Z5Y0Xq.js → Typography-DgsSLCFC.js} +28 -26
- package/dist/assertThisInitialized-C1dAyb4j.js +7 -0
- package/dist/assets/index4.css +1 -0
- package/dist/clsx-OuTLNxxd.js +16 -0
- package/dist/components/access/helpers.js +1 -1
- package/dist/components/access/logic.js +1 -1
- package/dist/components/button/index.js +10 -0
- package/dist/components/button/logic.js +26 -0
- package/dist/components/button/styled.js +9 -0
- package/dist/components/charts/_common/chart-error.js +19 -0
- package/dist/components/charts/candlestick/index.js +3 -3
- package/dist/components/charts/candlestick/logic.js +123 -113
- package/dist/components/charts/chart-wrapper/index.js +5 -5
- package/dist/components/charts/column-line-mix/index.js +9 -8
- package/dist/components/charts/column-line-mix/logic.js +68 -71
- package/dist/components/charts/drill-down-treemap/index.js +8 -7
- package/dist/components/charts/drill-down-treemap/logic.js +138 -144
- package/dist/components/charts/drill-down-voronoi-treemap/index.js +9 -8
- package/dist/components/charts/drill-down-voronoi-treemap/logic.js +222 -228
- package/dist/components/charts/heatmap/index.js +9 -8
- package/dist/components/charts/heatmap/logic.js +167 -173
- package/dist/components/charts/highlighting-line-data/index.js +3 -3
- package/dist/components/charts/line/index.js +9 -8
- package/dist/components/charts/line/logic.js +74 -79
- package/dist/components/charts/logaritmic-scale/index.js +9 -8
- package/dist/components/charts/logaritmic-scale/logic.js +63 -69
- package/dist/components/charts/multiple-value-axes/index.js +9 -8
- package/dist/components/charts/multiple-value-axes/logic.js +101 -107
- package/dist/components/charts/nested-pie/index.js +9 -8
- package/dist/components/charts/nested-pie/logic.js +62 -68
- package/dist/components/charts/packed-circles/index.js +7 -6
- package/dist/components/charts/packed-circles/logic.js +50 -56
- package/dist/components/charts/pie-chart/index.js +9 -8
- package/dist/components/charts/pie-chart/logic.js +49 -54
- package/dist/components/charts/stacked-area-radar/index.js +8 -7
- package/dist/components/charts/stacked-area-radar/logic.js +113 -118
- package/dist/components/charts/stacked-column-chart/index.js +9 -8
- package/dist/components/charts/stacked-column-chart/logic.js +78 -84
- package/dist/components/charts/xy-chart/index.js +9 -8
- package/dist/components/charts/xy-chart/logic.js +56 -60
- package/dist/components/collapsible-card/index.js +11 -10
- package/dist/components/collapsible-card/styled.js +1 -1
- package/dist/components/color-picker/index.js +7120 -0
- package/dist/components/color-picker/logic.js +18 -0
- package/dist/components/color-picker/styled.js +7 -0
- package/dist/components/confirm/dialog.js +3 -3
- package/dist/components/confirm/index.js +1 -1
- package/dist/components/data-grid/index.js +22 -0
- package/dist/components/data-grid/logic.js +15 -0
- package/dist/components/data-grid/styled.js +20 -0
- package/dist/components/data-map/components/controls/index.js +4 -6
- package/dist/components/data-map/index.js +11 -11
- package/dist/components/data-security-selectors/dissemination-list/index.js +192 -191
- package/dist/components/data-security-selectors/dissemination-list/styled.js +12 -12
- package/dist/components/data-security-selectors/security-level/index.js +18 -15
- package/dist/components/data-security-selectors/security-level/logic.js +18 -63
- package/dist/components/data-security-selectors/security-level/styled.js +23 -17
- package/dist/components/date-picker-with-custom-range/index.js +1 -1
- package/dist/components/date-range-picker/index.js +2748 -0
- package/dist/components/date-range-picker/styled.js +14 -0
- package/dist/components/date-time-picker/index.js +45 -46
- package/dist/components/divider/index.js +11 -11
- package/dist/components/document-viewer/components/action-buttons/index.js +15 -15
- package/dist/components/document-viewer/components/navigation/index.js +9 -9
- package/dist/components/document-viewer/components/viewer/index.js +31 -35
- package/dist/components/document-viewer/index.js +31 -39
- package/dist/components/document-viewer/logic.js +41 -34
- package/dist/components/document-viewer/styled.js +115 -27
- package/dist/components/duration-select/index.js +27 -0
- package/dist/components/duration-select/logic.js +21 -0
- package/dist/components/duration-select/styled.js +26 -0
- package/dist/components/editable-text/index.js +20 -0
- package/dist/components/editable-text/logic.js +18 -0
- package/dist/components/editable-text/styled.js +22 -0
- package/dist/components/geometry-picker/coordinate/index.js +29 -29
- package/dist/components/geometry-picker/edit/index.js +18 -18
- package/dist/components/geometry-picker/geometry/index.js +67 -67
- package/dist/components/geometry-picker/geometry/map-overlay.js +6 -6
- package/dist/components/geometry-picker/index.js +69 -86
- package/dist/components/geometry-picker/kml/index.js +16 -16
- package/dist/components/geometry-picker/logic.js +50 -57
- package/dist/components/geometry-picker/map/index.js +8 -8
- package/dist/components/geometry-picker/parser/coordinate-input/index.js +4 -4
- package/dist/components/geometry-picker/parser/index.js +46 -50
- package/dist/components/geometry-picker/parser/styled.js +22 -4
- package/dist/components/geometry-picker/styled.js +97 -37
- package/dist/components/geometry-picker/wkt/index.js +13 -13
- package/dist/components/heat-map/components/controls/index.js +4 -6
- package/dist/components/heat-map/components/legend/index.js +15 -17
- package/dist/components/heat-map/index.js +7 -7
- package/dist/components/instance-form/components/TopLabelWrapper.js +8 -48
- package/dist/components/instance-form/components/composite-list/index.js +5 -3
- package/dist/components/instance-form/components/composite-matrix/components/editable-table/index.js +83 -74
- package/dist/components/instance-form/components/composite-matrix/components/editor/index.js +45 -66
- package/dist/components/instance-form/components/composite-matrix/components/form/index.js +60 -75
- package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +2425 -2422
- package/dist/components/instance-form/components/composite-matrix/components/table/index.js +33 -52
- package/dist/components/instance-form/components/composite-matrix/index.js +30 -36
- package/dist/components/instance-form/components/policy-list/index.js +47 -81
- package/dist/components/instance-form/components/variable/index.js +6 -9
- package/dist/components/instance-form/components/variables/index.js +48 -55
- package/dist/components/instance-form/helpers.js +9 -0
- package/dist/components/instance-form/index.js +402 -518
- package/dist/components/instance-form/logic.js +115 -0
- package/dist/components/instance-form/styled.js +487 -0
- package/dist/components/instance-hierarchy-table/styled.js +1 -1
- package/dist/components/instance-variable-list/index.js +11 -11
- package/dist/components/map/index.js +28 -6
- package/dist/components/map/styled.js +1 -1
- package/dist/components/notification/index.js +67 -0
- package/dist/components/notification/logic.js +30 -0
- package/dist/components/notification/store.js +23 -0
- package/dist/components/notification/styled.js +52 -0
- package/dist/components/object-profile-card/components/avatar/index.js +9 -10
- package/dist/components/object-profile-card/index.js +19 -20
- package/dist/components/paginated-list/index.js +2 -3
- package/dist/components/placeholder/index.js +10 -0
- package/dist/components/placeholder/logic.js +12 -0
- package/dist/components/placeholder/styled.js +32 -0
- package/dist/components/positional-tooltip/index.js +24 -0
- package/dist/components/positional-tooltip/styled.js +17 -0
- package/dist/components/property-mapping/index.js +204 -423
- package/dist/components/property-mapping/logic.js +156 -0
- package/dist/components/property-mapping/styled.js +199 -0
- package/dist/components/prr-map/components/controls/index.js +4 -6
- package/dist/components/prr-map/components/legend/index.js +26 -28
- package/dist/components/prr-map/index.js +5 -5
- package/dist/components/range-selector/styled.js +1106 -1034
- package/dist/components/raster-grid-map/components/controls/index.js +4 -6
- package/dist/components/raster-grid-map/components/legend/index.js +4 -6
- package/dist/components/raster-grid-map/index.js +5 -5
- package/dist/components/scroll-drag/index.js +22 -0
- package/dist/components/scroll-drag/logic.js +39 -0
- package/dist/components/scroll-drag/styled.js +17 -0
- package/dist/components/search-input/logic.js +35 -33
- package/dist/components/simple-pivot-table/index.js +12 -12
- package/dist/components/sortable-list/index.js +599 -0
- package/dist/components/sortable-list/logic.js +18 -0
- package/dist/components/sortable-list/styled.js +38 -0
- package/dist/components/static-text/index.js +6 -6
- package/dist/components/stats-box/index.js +12 -0
- package/dist/components/stats-box/styled.js +36 -0
- package/dist/components/template-form/components/property-list/index.js +27 -26
- 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 +758 -12
- package/dist/components/template-form/components/recognition-property-list/index.js +11 -11
- 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 +24 -22
- package/dist/components/template-form/components/select-icon/index.js +24 -24
- package/dist/components/template-form/helpers.js +17 -0
- package/dist/components/template-form/index.js +270 -308
- package/dist/components/template-form/logic.js +69 -0
- package/dist/components/template-form/styled.js +84 -0
- package/dist/components/text-overflow/index.js +6 -0
- package/dist/components/text-overflow/styled.js +13 -0
- package/dist/components/timeline/index.js +12 -12
- package/dist/components/toggle-view-button/index.js +35 -0
- package/dist/components/toggle-view-button/logic.js +22 -0
- package/dist/components/toggle-view-button/styled.js +11 -0
- package/dist/components/tree-select/index.js +1 -1
- package/dist/components/visually-hidden-input/index.js +4 -0
- package/dist/components/visually-hidden-input/styled.js +18 -0
- package/dist/createChainedFunction-C0nujS3O.js +9 -0
- package/dist/{createSvgIcon-DX-SqL8M.js → createSvgIcon-Ch_cT8az.js} +68 -65
- package/dist/createSvgIcon-DuDuASu1.js +62 -0
- package/dist/debounce-46wSf_lW.js +15 -0
- package/dist/{dialog-cf4HUXXl.js → dialog-BYRnCztH.js} +30 -29
- package/dist/formControlState-vgaj2ksH.js +10 -0
- package/dist/generateUtilityClasses-C3ivN9Ie.js +2973 -0
- package/dist/{helpers-B4UL9NMD.js → helpers-D4uXfBfO.js} +2 -2
- package/dist/index-BtlzPygz.js +470 -0
- package/dist/index-DH6qsPBn.js +153 -0
- package/dist/{index-C8C3YXle.js → index-e9xTIYWt.js} +139 -137
- package/dist/main.d.ts +1054 -330
- package/dist/main.js +163 -130
- package/dist/ownerWindow-wg6foiOE.js +10 -0
- package/dist/setPrototypeOf-NPgp4cYc.js +8 -0
- package/dist/styled-Db1RdcPA.js +323 -0
- package/dist/unsupportedProp-DuqR2hj9.js +36 -0
- package/dist/useFormControl-CatNKXAi.js +10 -0
- package/dist/useId-BW-oWmul.js +19 -0
- package/dist/{useMobilePicker-B-M3dnTn.js → useMobilePicker-CY8ndYRL.js} +4777 -4491
- package/dist/useSlot-B_Q4vnX5.js +42 -0
- package/package.json +15 -7
- package/dist/AccordionSummary-CMg08YSA.js +0 -739
- package/dist/Add-DuVVJeQU.js +0 -380
- package/dist/ButtonBase-sObABYY2.js +0 -965
- package/dist/FormControl-BCurCxRj.js +0 -1294
- package/dist/FormControlLabel-BkRfrhNy.js +0 -601
- package/dist/InputAdornment-C7PEvvYr.js +0 -155
- package/dist/Modal-DlB6GH-f.js +0 -1659
- package/dist/Paper-q9kKjAKx.js +0 -527
- package/dist/TextField-DSDIEEKu.js +0 -3161
- package/dist/assertThisInitialized-BUtkG-md.js +0 -13
- package/dist/capitalize-quqpGCFu.js +0 -9
- package/dist/components/instance-form/components/composite-list/styled.js +0 -73
- package/dist/components/instance-form/components/composite-matrix/components/editor/styled.js +0 -1
- package/dist/components/instance-form/components/composite-matrix/styled.js +0 -69
- package/dist/components/key-protection/index.js +0 -47
- package/dist/components/key-protection/logic.js +0 -40
- package/dist/components/key-protection/styled.js +0 -45
- package/dist/components/key-protection/utils.js +0 -10
- package/dist/createSvgIcon-BM3-TsGy.js +0 -70
- package/dist/index-BMS1Otro.js +0 -183
- package/dist/index-DPKUmQnz.js +0 -501
- package/dist/index-kCJ_Zvl8.js +0 -34
- package/dist/isMuiElement-BkJ72LB3.js +0 -26
- package/dist/property-list-form-DL_dEoNn.js +0 -381
- package/dist/styled-Bsjp3kFh.js +0 -668
- package/dist/unsupportedProp-BND8AB6O.js +0 -25
- package/dist/useId-B4-oF9Mq.js +0 -34
- package/dist/utils-Cxu-fHjQ.js +0 -115
|
@@ -1,381 +0,0 @@
|
|
|
1
|
-
import H, { jsx as t, jsxs as m, Fragment as K } from "react/jsx-runtime";
|
|
2
|
-
import * as J from "react";
|
|
3
|
-
import I from "react";
|
|
4
|
-
import Q from "lodash";
|
|
5
|
-
import { r as X, i as Z } from "./createSvgIcon-BM3-TsGy.js";
|
|
6
|
-
import { DATA_TYPES as R, COORDINATE_FORMAT as ee, PRIVACY_PRESERVATION_METHOD as L } from "./constants/index.js";
|
|
7
|
-
import { T as w, S as C } from "./TextField-DSDIEEKu.js";
|
|
8
|
-
import { F } from "./FormControl-BCurCxRj.js";
|
|
9
|
-
import { u as te, f as re, I as _ } from "./InputLabel-rEwwnD4_.js";
|
|
10
|
-
import { M as P, B as ae } from "./MenuItem-DrE50M_p.js";
|
|
11
|
-
import { a as M, _ as oe } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
|
|
12
|
-
import { P as n } from "./index-C__OZmYy.js";
|
|
13
|
-
import { g as le, b as ne, s as ie, u as se, c as ce, a as de } from "./styled-Bsjp3kFh.js";
|
|
14
|
-
import { F as p, C as f } from "./FormControlLabel-BkRfrhNy.js";
|
|
15
|
-
import { B as Y } from "./Modal-DlB6GH-f.js";
|
|
16
|
-
function me(a) {
|
|
17
|
-
return ne("MuiFormGroup", a);
|
|
18
|
-
}
|
|
19
|
-
le("MuiFormGroup", ["root", "row", "error"]);
|
|
20
|
-
const ue = ["className", "row"], pe = (a) => {
|
|
21
|
-
const {
|
|
22
|
-
classes: i,
|
|
23
|
-
row: d,
|
|
24
|
-
error: s
|
|
25
|
-
} = a;
|
|
26
|
-
return de({
|
|
27
|
-
root: ["root", d && "row", s && "error"]
|
|
28
|
-
}, me, i);
|
|
29
|
-
}, fe = ie("div", {
|
|
30
|
-
name: "MuiFormGroup",
|
|
31
|
-
slot: "Root",
|
|
32
|
-
overridesResolver: (a, i) => {
|
|
33
|
-
const {
|
|
34
|
-
ownerState: d
|
|
35
|
-
} = a;
|
|
36
|
-
return [i.root, d.row && i.row];
|
|
37
|
-
}
|
|
38
|
-
})(({
|
|
39
|
-
ownerState: a
|
|
40
|
-
}) => M({
|
|
41
|
-
display: "flex",
|
|
42
|
-
flexDirection: "column",
|
|
43
|
-
flexWrap: "wrap"
|
|
44
|
-
}, a.row && {
|
|
45
|
-
flexDirection: "row"
|
|
46
|
-
})), $ = /* @__PURE__ */ J.forwardRef(function(i, d) {
|
|
47
|
-
const s = se({
|
|
48
|
-
props: i,
|
|
49
|
-
name: "MuiFormGroup"
|
|
50
|
-
}), {
|
|
51
|
-
className: h,
|
|
52
|
-
row: e = !1
|
|
53
|
-
} = s, y = oe(s, ue), u = te(), b = re({
|
|
54
|
-
props: s,
|
|
55
|
-
muiFormControl: u,
|
|
56
|
-
states: ["error"]
|
|
57
|
-
}), o = M({}, s, {
|
|
58
|
-
row: e,
|
|
59
|
-
error: b.error
|
|
60
|
-
}), g = pe(o);
|
|
61
|
-
return /* @__PURE__ */ t(fe, M({
|
|
62
|
-
className: ce(g.root, h),
|
|
63
|
-
ownerState: o,
|
|
64
|
-
ref: d
|
|
65
|
-
}, y));
|
|
66
|
-
});
|
|
67
|
-
process.env.NODE_ENV !== "production" && ($.propTypes = {
|
|
68
|
-
// ----------------------------- Warning --------------------------------
|
|
69
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
70
|
-
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
71
|
-
// ----------------------------------------------------------------------
|
|
72
|
-
/**
|
|
73
|
-
* The content of the component.
|
|
74
|
-
*/
|
|
75
|
-
children: n.node,
|
|
76
|
-
/**
|
|
77
|
-
* Override or extend the styles applied to the component.
|
|
78
|
-
*/
|
|
79
|
-
classes: n.object,
|
|
80
|
-
/**
|
|
81
|
-
* @ignore
|
|
82
|
-
*/
|
|
83
|
-
className: n.string,
|
|
84
|
-
/**
|
|
85
|
-
* Display group of elements in a compact row.
|
|
86
|
-
* @default false
|
|
87
|
-
*/
|
|
88
|
-
row: n.bool,
|
|
89
|
-
/**
|
|
90
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
91
|
-
*/
|
|
92
|
-
sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object])
|
|
93
|
-
});
|
|
94
|
-
var q = {}, ye = Z;
|
|
95
|
-
Object.defineProperty(q, "__esModule", {
|
|
96
|
-
value: !0
|
|
97
|
-
});
|
|
98
|
-
var z = q.default = void 0, he = ye(X()), be = H;
|
|
99
|
-
z = q.default = (0, he.default)(/* @__PURE__ */ (0, be.jsx)("path", {
|
|
100
|
-
d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"
|
|
101
|
-
}), "Check");
|
|
102
|
-
function De({
|
|
103
|
-
inputVariant: a,
|
|
104
|
-
defaultValues: i = {
|
|
105
|
-
name: "",
|
|
106
|
-
propertyId: "",
|
|
107
|
-
type: R[0],
|
|
108
|
-
dataTypeInfo: {},
|
|
109
|
-
defaultValue: "",
|
|
110
|
-
privacyPreservationMethod: L[0],
|
|
111
|
-
required: !1,
|
|
112
|
-
visible: !1,
|
|
113
|
-
editable: !1,
|
|
114
|
-
distinctive: !1,
|
|
115
|
-
temporal: !1,
|
|
116
|
-
unique: !1
|
|
117
|
-
},
|
|
118
|
-
disablePropertyId: d,
|
|
119
|
-
onSubmit: s,
|
|
120
|
-
onCancel: h
|
|
121
|
-
}) {
|
|
122
|
-
var k, D, E, S, j, O, W, N, V, G, A, U, B;
|
|
123
|
-
const [e, y] = I.useState(i), [u, b] = I.useState({
|
|
124
|
-
name: !1
|
|
125
|
-
}), o = (r) => {
|
|
126
|
-
var v, T;
|
|
127
|
-
const l = r.target.name;
|
|
128
|
-
let c = r.target.type === "checkbox" ? r.target.checked : r.target.value;
|
|
129
|
-
if (e.type === "enum" && l === "dataTypeInfo.enumValues" && (c = c.split(",")), ((T = (v = e.dataTypeInfo) == null ? void 0 : v.innerType) == null ? void 0 : T.type) === "enum" && l === "dataTypeInfo.innerType.enumValues" && (c = c.split(",")), l.includes(".")) {
|
|
130
|
-
let x = { ...e };
|
|
131
|
-
Q.set(x, l, c), y(x);
|
|
132
|
-
return;
|
|
133
|
-
}
|
|
134
|
-
y((x) => ({
|
|
135
|
-
...x,
|
|
136
|
-
[l]: c
|
|
137
|
-
}));
|
|
138
|
-
}, g = () => {
|
|
139
|
-
if (!e.name) {
|
|
140
|
-
b({ ...u, name: !0 });
|
|
141
|
-
return;
|
|
142
|
-
}
|
|
143
|
-
s(e);
|
|
144
|
-
};
|
|
145
|
-
return I.useEffect(() => (u.name && e.name && b({ ...u, name: !1 }), () => {
|
|
146
|
-
}), [e.name]), I.useEffect(() => {
|
|
147
|
-
if (![
|
|
148
|
-
"date",
|
|
149
|
-
"coordinate",
|
|
150
|
-
"composite-list",
|
|
151
|
-
"enum",
|
|
152
|
-
"composite-matrix"
|
|
153
|
-
].includes(e.type)) {
|
|
154
|
-
if (e.dataTypeInfo) {
|
|
155
|
-
const { coordinateFormat: r, datePattern: l, innerType: c, enumValues: v } = e.dataTypeInfo;
|
|
156
|
-
(r || l || c || v) && y((T) => ({ ...T, dataTypeInfo: {} }));
|
|
157
|
-
}
|
|
158
|
-
return () => {
|
|
159
|
-
};
|
|
160
|
-
}
|
|
161
|
-
}, [e.type]), /* @__PURE__ */ m(K, { children: [
|
|
162
|
-
/* @__PURE__ */ t(
|
|
163
|
-
w,
|
|
164
|
-
{
|
|
165
|
-
label: "Name",
|
|
166
|
-
name: "name",
|
|
167
|
-
variant: a,
|
|
168
|
-
fullWidth: !0,
|
|
169
|
-
sx: { mb: 2, mt: 0.5 },
|
|
170
|
-
value: e.name,
|
|
171
|
-
onChange: o,
|
|
172
|
-
required: !0,
|
|
173
|
-
...u.name && {
|
|
174
|
-
error: !0,
|
|
175
|
-
helperText: "This field is required!"
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
),
|
|
179
|
-
/* @__PURE__ */ t(
|
|
180
|
-
w,
|
|
181
|
-
{
|
|
182
|
-
label: "Property ID",
|
|
183
|
-
name: "propertyId",
|
|
184
|
-
variant: a,
|
|
185
|
-
fullWidth: !0,
|
|
186
|
-
disabled: d,
|
|
187
|
-
sx: { mb: 2 },
|
|
188
|
-
value: e.propertyId,
|
|
189
|
-
onChange: o
|
|
190
|
-
}
|
|
191
|
-
),
|
|
192
|
-
/* @__PURE__ */ m(F, { fullWidth: !0, variant: a, sx: { mb: 2 }, children: [
|
|
193
|
-
/* @__PURE__ */ t(_, { id: "type-select-label", children: "Type" }),
|
|
194
|
-
/* @__PURE__ */ t(
|
|
195
|
-
C,
|
|
196
|
-
{
|
|
197
|
-
label: "Type",
|
|
198
|
-
name: "type",
|
|
199
|
-
labelId: "type-select-label",
|
|
200
|
-
id: "type-select",
|
|
201
|
-
value: e.type,
|
|
202
|
-
onChange: o,
|
|
203
|
-
children: R.map((r, l) => /* @__PURE__ */ t(P, { value: r, children: r }, l))
|
|
204
|
-
}
|
|
205
|
-
)
|
|
206
|
-
] }),
|
|
207
|
-
e.type === "coordinate" && /* @__PURE__ */ m(F, { fullWidth: !0, variant: a, sx: { mb: 2 }, children: [
|
|
208
|
-
/* @__PURE__ */ t(_, { id: "coordinate-format-select-label", children: "Cordinate Format" }),
|
|
209
|
-
/* @__PURE__ */ t(
|
|
210
|
-
C,
|
|
211
|
-
{
|
|
212
|
-
label: "Coordinate Format",
|
|
213
|
-
name: "dataTypeInfo.coordinateFormat",
|
|
214
|
-
labelId: "coordinate-format-select-label",
|
|
215
|
-
id: "coordinate-format-select",
|
|
216
|
-
value: (k = e.dataTypeInfo) == null ? void 0 : k.coordinateFormat,
|
|
217
|
-
onChange: o,
|
|
218
|
-
children: ee.map((r, l) => /* @__PURE__ */ t(P, { value: r, children: r }, l))
|
|
219
|
-
}
|
|
220
|
-
)
|
|
221
|
-
] }),
|
|
222
|
-
(e.type === "composite-list" || e.type === "composite-matrix") && /* @__PURE__ */ m(F, { fullWidth: !0, variant: a, sx: { mb: 2 }, children: [
|
|
223
|
-
/* @__PURE__ */ t(_, { id: "composite-list-select-label", children: "Inner Type" }),
|
|
224
|
-
/* @__PURE__ */ t(
|
|
225
|
-
C,
|
|
226
|
-
{
|
|
227
|
-
label: "Inner Type",
|
|
228
|
-
name: "dataTypeInfo.innerType.type",
|
|
229
|
-
labelId: "composite-list-select-label",
|
|
230
|
-
id: "composite-list-select",
|
|
231
|
-
value: (E = (D = e.dataTypeInfo) == null ? void 0 : D.innerType) == null ? void 0 : E.type,
|
|
232
|
-
onChange: o,
|
|
233
|
-
children: R.filter(
|
|
234
|
-
(r) => r !== "composite-list" && r !== "list"
|
|
235
|
-
).map((r, l) => /* @__PURE__ */ t(P, { value: r, children: r }, l))
|
|
236
|
-
}
|
|
237
|
-
)
|
|
238
|
-
] }),
|
|
239
|
-
(e.type === "enum" || ((j = (S = e.dataTypeInfo) == null ? void 0 : S.innerType) == null ? void 0 : j.type) === "enum") && /* @__PURE__ */ t(
|
|
240
|
-
w,
|
|
241
|
-
{
|
|
242
|
-
label: "Enum Values",
|
|
243
|
-
name: ((W = (O = e.dataTypeInfo) == null ? void 0 : O.innerType) == null ? void 0 : W.type) === "enum" ? "dataTypeInfo.innerType.enumValues" : "dataTypeInfo.enumValues",
|
|
244
|
-
variant: a,
|
|
245
|
-
fullWidth: !0,
|
|
246
|
-
sx: { mb: 2 },
|
|
247
|
-
value: ((V = (N = e.dataTypeInfo) == null ? void 0 : N.innerType) == null ? void 0 : V.type) === "enum" ? (A = (G = e.dataTypeInfo.innerType) == null ? void 0 : G.enumValues) == null ? void 0 : A.join(",") : (B = (U = e.dataTypeInfo) == null ? void 0 : U.enumValues) == null ? void 0 : B.join(","),
|
|
248
|
-
onChange: o,
|
|
249
|
-
helperText: "Add list values with the comma (,) separated string"
|
|
250
|
-
}
|
|
251
|
-
),
|
|
252
|
-
/* @__PURE__ */ t(
|
|
253
|
-
w,
|
|
254
|
-
{
|
|
255
|
-
label: "Default Value",
|
|
256
|
-
name: "defaultValue",
|
|
257
|
-
variant: a,
|
|
258
|
-
fullWidth: !0,
|
|
259
|
-
sx: { mb: 2 },
|
|
260
|
-
value: e.defaultValue,
|
|
261
|
-
onChange: o
|
|
262
|
-
}
|
|
263
|
-
),
|
|
264
|
-
/* @__PURE__ */ m(F, { fullWidth: !0, variant: a, sx: { mb: 2 }, children: [
|
|
265
|
-
/* @__PURE__ */ t(_, { id: "privacy-method-label", children: "Privacy Preservation Method" }),
|
|
266
|
-
/* @__PURE__ */ t(
|
|
267
|
-
C,
|
|
268
|
-
{
|
|
269
|
-
label: "Privacy Preservation Method",
|
|
270
|
-
name: "privacyPreservationMethod",
|
|
271
|
-
labelId: "privacy-method-label",
|
|
272
|
-
id: "privacy-method",
|
|
273
|
-
value: e.privacyPreservationMethod,
|
|
274
|
-
onChange: o,
|
|
275
|
-
children: L.map((r, l) => /* @__PURE__ */ t(P, { value: r, children: r }, l))
|
|
276
|
-
}
|
|
277
|
-
)
|
|
278
|
-
] }),
|
|
279
|
-
/* @__PURE__ */ m($, { row: !0, sx: { mb: 2 }, children: [
|
|
280
|
-
/* @__PURE__ */ t(
|
|
281
|
-
p,
|
|
282
|
-
{
|
|
283
|
-
label: "Required",
|
|
284
|
-
control: /* @__PURE__ */ t(
|
|
285
|
-
f,
|
|
286
|
-
{
|
|
287
|
-
name: "required",
|
|
288
|
-
checked: e.required,
|
|
289
|
-
onChange: o
|
|
290
|
-
}
|
|
291
|
-
),
|
|
292
|
-
sx: { width: "30%" }
|
|
293
|
-
}
|
|
294
|
-
),
|
|
295
|
-
/* @__PURE__ */ t(
|
|
296
|
-
p,
|
|
297
|
-
{
|
|
298
|
-
label: "Editable",
|
|
299
|
-
control: /* @__PURE__ */ t(
|
|
300
|
-
f,
|
|
301
|
-
{
|
|
302
|
-
name: "editable",
|
|
303
|
-
checked: e.editable,
|
|
304
|
-
onChange: o
|
|
305
|
-
}
|
|
306
|
-
),
|
|
307
|
-
sx: { width: "30%" }
|
|
308
|
-
}
|
|
309
|
-
),
|
|
310
|
-
/* @__PURE__ */ t(
|
|
311
|
-
p,
|
|
312
|
-
{
|
|
313
|
-
label: "Visible",
|
|
314
|
-
control: /* @__PURE__ */ t(
|
|
315
|
-
f,
|
|
316
|
-
{
|
|
317
|
-
name: "visible",
|
|
318
|
-
checked: e.visible,
|
|
319
|
-
onChange: o
|
|
320
|
-
}
|
|
321
|
-
),
|
|
322
|
-
sx: { width: "30%" }
|
|
323
|
-
}
|
|
324
|
-
),
|
|
325
|
-
/* @__PURE__ */ t(
|
|
326
|
-
p,
|
|
327
|
-
{
|
|
328
|
-
label: "Unique",
|
|
329
|
-
control: /* @__PURE__ */ t(f, { name: "unique", checked: e.unique, onChange: o }),
|
|
330
|
-
sx: { width: "30%" }
|
|
331
|
-
}
|
|
332
|
-
),
|
|
333
|
-
/* @__PURE__ */ t(
|
|
334
|
-
p,
|
|
335
|
-
{
|
|
336
|
-
label: "Distinctive",
|
|
337
|
-
control: /* @__PURE__ */ t(
|
|
338
|
-
f,
|
|
339
|
-
{
|
|
340
|
-
name: "distinctive",
|
|
341
|
-
checked: e.distinctive,
|
|
342
|
-
onChange: o
|
|
343
|
-
}
|
|
344
|
-
),
|
|
345
|
-
sx: { width: "30%" }
|
|
346
|
-
}
|
|
347
|
-
),
|
|
348
|
-
/* @__PURE__ */ t(
|
|
349
|
-
p,
|
|
350
|
-
{
|
|
351
|
-
label: "Temporal",
|
|
352
|
-
control: /* @__PURE__ */ t(
|
|
353
|
-
f,
|
|
354
|
-
{
|
|
355
|
-
name: "temporal",
|
|
356
|
-
checked: e.temporal,
|
|
357
|
-
onChange: o
|
|
358
|
-
}
|
|
359
|
-
),
|
|
360
|
-
sx: { width: "30%" }
|
|
361
|
-
}
|
|
362
|
-
)
|
|
363
|
-
] }),
|
|
364
|
-
/* @__PURE__ */ m(ae, { display: "flex", justifyContent: "flex-end", children: [
|
|
365
|
-
/* @__PURE__ */ t(Y, { variant: "contained", onClick: h, sx: { marginRight: 2 }, children: "Cancel" }),
|
|
366
|
-
/* @__PURE__ */ t(
|
|
367
|
-
Y,
|
|
368
|
-
{
|
|
369
|
-
variant: "contained",
|
|
370
|
-
startIcon: /* @__PURE__ */ t(z, {}),
|
|
371
|
-
onClick: g,
|
|
372
|
-
children: "OK"
|
|
373
|
-
}
|
|
374
|
-
)
|
|
375
|
-
] })
|
|
376
|
-
] });
|
|
377
|
-
}
|
|
378
|
-
export {
|
|
379
|
-
$ as F,
|
|
380
|
-
De as a
|
|
381
|
-
};
|