@hybridcore/ui 1.6.13 → 1.6.16
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 +781 -0
- package/dist/Add-Bk8R160M.js +403 -0
- package/dist/Button-Cem3nbwc.js +357 -0
- package/dist/ButtonBase-DObmf4Q_.js +886 -0
- package/dist/Delete-CVJ6FeDn.js +203 -0
- package/dist/FormGroup-BRj1o7-E.js +89 -0
- package/dist/InputLabel-CjD30ZHz.js +341 -0
- package/dist/MenuItem-BKvRGLvM.js +233 -0
- package/dist/Modal-BVYydOr5.js +1156 -0
- package/dist/Paper-B1HV8GyO.js +582 -0
- package/dist/Select-Bfhvigsx.js +3914 -0
- package/dist/Source-BSZST_GH.js +4410 -0
- package/dist/SwitchBase-BEK49kdS.js +235 -0
- package/dist/Text-ChJRuaD8.js +2197 -0
- package/dist/TextField-Ca9ykixI.js +696 -0
- package/dist/TransitionGroupContext-Ja2CgIob.js +96 -0
- package/dist/Typography-D3X-Y5fh.js +178 -0
- package/dist/Vector-BmuhQO4p.js +3606 -0
- package/dist/Vector-DfTqQEln.js +1735 -0
- package/dist/WKT-2wsDT-nq.js +2310 -0
- package/dist/{_commonjsHelpers-BVfed4GL.js → _commonjsHelpers-BkfeUUK-.js} +2 -2
- package/dist/assertThisInitialized-C1dAyb4j.js +7 -0
- package/dist/assets/index.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/assets/index3.css +1 -0
- package/dist/assets/index4.css +1 -0
- package/dist/clsx-OuTLNxxd.js +16 -0
- package/dist/components/button/styled.js +1 -1
- package/dist/components/charts/_common/format.js +126 -82
- package/dist/components/charts/_common/tooltip.js +44 -35
- package/dist/components/charts/chart-wrapper/index.js +44 -43
- package/dist/components/charts/donut-chart/logic.js +53 -40
- package/dist/components/charts/drill-down-voronoi-treemap/logic.js +1 -1
- package/dist/components/charts/xy-chart/logic.js +135 -134
- package/dist/components/collapsible-card/index.js +30 -21
- package/dist/components/collapsible-card/styled.js +14 -16
- package/dist/components/color-picker/index.js +3358 -2228
- package/dist/components/color-picker/styled.js +7 -87
- package/dist/components/confirm/dialog.js +7 -89
- package/dist/components/confirm/index.js +1 -1
- package/dist/components/data-map/index.js +1 -1
- package/dist/components/data-map/logic.js +20 -20
- package/dist/components/data-security-selectors/dissemination-list/index.js +3117 -32
- package/dist/components/date-range-picker/index.js +454 -466
- package/dist/components/document-viewer/components/viewer/index.js +1 -1
- package/dist/components/duration-select/index.js +10 -10
- package/dist/components/duration-select/styled.js +1 -1
- package/dist/components/geometry-picker/coordinate/index.js +14 -14
- package/dist/components/geometry-picker/edit/index.js +1 -1
- package/dist/components/geometry-picker/geometry/index.js +1 -1
- package/dist/components/geometry-picker/kml/index.js +11 -11
- package/dist/components/geometry-picker/map/logic.js +3656 -145
- package/dist/components/geometry-picker/map/style.js +17 -18
- package/dist/components/geometry-picker/parser/coordinate-input/logic.js +1255 -43
- package/dist/components/heat-map/index.js +1 -1
- package/dist/components/heat-map/logic.js +1924 -77
- package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +8737 -8722
- package/dist/components/instance-hierarchy-table/styled.js +16 -18
- package/dist/components/map/helpers/mapbox.js +15 -17
- package/dist/components/map/helpers/ol.js +27 -386
- package/dist/components/map/index.js +10 -11
- package/dist/components/map/logic.js +22 -22
- package/dist/components/map/styled.js +27 -31
- package/dist/components/phone-input/index.js +9 -10
- package/dist/components/property-mapping/index.js +1 -1
- package/dist/components/prr-map/index.js +1 -1
- package/dist/components/prr-map/logic.js +26 -27
- package/dist/components/raster-grid-map/index.js +1 -1
- package/dist/components/raster-grid-map/logic.js +57 -60
- package/dist/components/sortable-list/index.js +1264 -1091
- package/dist/components/template-form/components/property-list/index.js +32 -36
- package/dist/components/template-form/components/property-list/property-list-columns.js +17 -19
- package/dist/components/template-form/components/property-list/property-list-form.js +600 -137
- package/dist/components/template-form/components/recognition-property-list/index.js +36 -40
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +9 -11
- package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +64 -57
- package/dist/components/tree-select/index.js +16 -16
- package/dist/createChainedFunction-C0nujS3O.js +9 -0
- package/dist/createSvgIcon-BghzB2Y9.js +93 -0
- package/dist/createSvgIcon-D7U1nd99.js +185 -0
- package/dist/debounce-46wSf_lW.js +15 -0
- package/dist/dialog-BtJhjyF5.js +664 -0
- package/dist/extends-C3382pL0.js +22 -0
- package/dist/formControlState-vgaj2ksH.js +10 -0
- package/dist/generateUtilityClasses-Cc-owZ4J.js +2971 -0
- package/dist/{index-C__OZmYy.js → index-CblbdqjE.js} +1 -1
- package/dist/index-DH6qsPBn.js +153 -0
- package/dist/index.esm-DAf19hyR.js +318 -0
- package/dist/main.d.ts +9 -1
- package/dist/math-Bvt2Ubuz.js +704 -0
- package/dist/ol-yOE-NV0X.js +7465 -0
- package/dist/ownerWindow-wg6foiOE.js +10 -0
- package/dist/setPrototypeOf-NPgp4cYc.js +8 -0
- package/dist/styled-DD4BkuVf.js +350 -0
- package/dist/useControlled-BYdyS7Pn.js +31 -0
- package/dist/useFormControl-CatNKXAi.js +10 -0
- package/dist/useId-BW-oWmul.js +19 -0
- package/dist/useSlot-u4t0X96G.js +42 -0
- package/package.json +1 -1
- package/dist/index.esm-UfGMjYOL.js +0 -197
|
@@ -1,29 +1,492 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
import de, { jsx as t, jsxs as f, Fragment as pe } from "react/jsx-runtime";
|
|
2
|
+
import * as z from "react";
|
|
3
|
+
import V from "react";
|
|
4
|
+
import me from "lodash";
|
|
5
|
+
import { g as te, a as ae, s as G, r as ue, b as _, d as fe, u as Q, c as le, i as be } from "../../../../generateUtilityClasses-Cc-owZ4J.js";
|
|
6
|
+
import { r as he } from "../../../../createSvgIcon-BghzB2Y9.js";
|
|
7
|
+
import { DATA_TYPES as Y, COORDINATE_FORMAT as ye, PRIVACY_PRESERVATION_METHOD as ee } from "../../../../constants/index.js";
|
|
8
|
+
import { LabeledField as I } from "../../helpers.js";
|
|
9
|
+
import { T as B, F as A, B as ve } from "../../../../TextField-Ca9ykixI.js";
|
|
10
|
+
import { I as W } from "../../../../InputLabel-CjD30ZHz.js";
|
|
11
|
+
import { S as H } from "../../../../Select-Bfhvigsx.js";
|
|
12
|
+
import { M as U } from "../../../../MenuItem-BKvRGLvM.js";
|
|
13
|
+
import { F as Te } from "../../../../FormGroup-BRj1o7-E.js";
|
|
14
|
+
import { a as v, _ as ne } from "../../../../extends-C3382pL0.js";
|
|
15
|
+
import { P as e } from "../../../../index-CblbdqjE.js";
|
|
16
|
+
import { c as J } from "../../../../clsx-OuTLNxxd.js";
|
|
17
|
+
import { f as Ce } from "../../../../formControlState-vgaj2ksH.js";
|
|
18
|
+
import { u as xe } from "../../../../useFormControl-CatNKXAi.js";
|
|
19
|
+
import { T as oe } from "../../../../Typography-D3X-Y5fh.js";
|
|
20
|
+
import { createStack as Ie } from "@mui/system";
|
|
21
|
+
import { r as ie } from "../../../../TransitionGroupContext-Ja2CgIob.js";
|
|
22
|
+
import { S as ge } from "../../../../SwitchBase-BEK49kdS.js";
|
|
23
|
+
import { c as X } from "../../../../createSvgIcon-D7U1nd99.js";
|
|
24
|
+
import { B as re } from "../../../../Button-Cem3nbwc.js";
|
|
25
|
+
const ke = X(/* @__PURE__ */ t("path", {
|
|
26
|
+
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"), Oe = X(/* @__PURE__ */ t("path", {
|
|
28
|
+
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"), Pe = X(/* @__PURE__ */ t("path", {
|
|
30
|
+
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
|
+
}), "IndeterminateCheckBox");
|
|
32
|
+
function Re(r) {
|
|
33
|
+
return ae("MuiCheckbox", r);
|
|
34
|
+
}
|
|
35
|
+
const K = te("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "colorPrimary", "colorSecondary", "sizeSmall", "sizeMedium"]), Fe = ["checkedIcon", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size", "className"], Me = (r) => {
|
|
36
|
+
const {
|
|
37
|
+
classes: o,
|
|
38
|
+
indeterminate: i,
|
|
39
|
+
color: p,
|
|
40
|
+
size: d
|
|
41
|
+
} = r, s = {
|
|
42
|
+
root: ["root", i && "indeterminate", `color${_(p)}`, `size${_(d)}`]
|
|
43
|
+
}, a = le(s, Re, o);
|
|
44
|
+
return v({}, o, a);
|
|
45
|
+
}, Se = G(ge, {
|
|
46
|
+
shouldForwardProp: (r) => ue(r) || r === "classes",
|
|
47
|
+
name: "MuiCheckbox",
|
|
48
|
+
slot: "Root",
|
|
49
|
+
overridesResolver: (r, o) => {
|
|
50
|
+
const {
|
|
51
|
+
ownerState: i
|
|
52
|
+
} = r;
|
|
53
|
+
return [o.root, i.indeterminate && o.indeterminate, o[`size${_(i.size)}`], i.color !== "default" && o[`color${_(i.color)}`]];
|
|
54
|
+
}
|
|
55
|
+
})(({
|
|
56
|
+
theme: r,
|
|
57
|
+
ownerState: o
|
|
58
|
+
}) => v({
|
|
59
|
+
color: (r.vars || r).palette.text.secondary
|
|
60
|
+
}, !o.disableRipple && {
|
|
61
|
+
"&: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})` : fe(o.color === "default" ? r.palette.action.active : r.palette[o.color].main, r.palette.action.hoverOpacity),
|
|
63
|
+
// Reset on touch devices, it doesn't add specificity
|
|
64
|
+
"@media (hover: none)": {
|
|
65
|
+
backgroundColor: "transparent"
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}, o.color !== "default" && {
|
|
69
|
+
[`&.${K.checked}, &.${K.indeterminate}`]: {
|
|
70
|
+
color: (r.vars || r).palette[o.color].main
|
|
71
|
+
},
|
|
72
|
+
[`&.${K.disabled}`]: {
|
|
73
|
+
color: (r.vars || r).palette.action.disabled
|
|
74
|
+
}
|
|
75
|
+
})), qe = /* @__PURE__ */ t(Oe, {}), _e = /* @__PURE__ */ t(ke, {}), $e = /* @__PURE__ */ t(Pe, {}), P = /* @__PURE__ */ z.forwardRef(function(o, i) {
|
|
76
|
+
var p, d;
|
|
77
|
+
const s = Q({
|
|
78
|
+
props: o,
|
|
79
|
+
name: "MuiCheckbox"
|
|
80
|
+
}), {
|
|
81
|
+
checkedIcon: a = qe,
|
|
82
|
+
color: g = "primary",
|
|
83
|
+
icon: m = _e,
|
|
84
|
+
indeterminate: u = !1,
|
|
85
|
+
indeterminateIcon: n = $e,
|
|
86
|
+
inputProps: $,
|
|
87
|
+
size: T = "medium",
|
|
88
|
+
className: k
|
|
89
|
+
} = s, F = ne(s, Fe), O = u ? n : m, b = u ? n : a, C = v({}, s, {
|
|
90
|
+
color: g,
|
|
91
|
+
indeterminate: u,
|
|
92
|
+
size: T
|
|
93
|
+
}), h = Me(C);
|
|
94
|
+
return /* @__PURE__ */ t(Se, v({
|
|
95
|
+
type: "checkbox",
|
|
96
|
+
inputProps: v({
|
|
97
|
+
"data-indeterminate": u
|
|
98
|
+
}, $),
|
|
99
|
+
icon: /* @__PURE__ */ z.cloneElement(O, {
|
|
100
|
+
fontSize: (p = O.props.fontSize) != null ? p : T
|
|
101
|
+
}),
|
|
102
|
+
checkedIcon: /* @__PURE__ */ z.cloneElement(b, {
|
|
103
|
+
fontSize: (d = b.props.fontSize) != null ? d : T
|
|
104
|
+
}),
|
|
105
|
+
ownerState: C,
|
|
106
|
+
ref: i,
|
|
107
|
+
className: J(h.root, k)
|
|
108
|
+
}, F, {
|
|
109
|
+
classes: h
|
|
110
|
+
}));
|
|
111
|
+
});
|
|
112
|
+
process.env.NODE_ENV !== "production" && (P.propTypes = {
|
|
113
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
114
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
115
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
116
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
117
|
+
/**
|
|
118
|
+
* If `true`, the component is checked.
|
|
119
|
+
*/
|
|
120
|
+
checked: e.bool,
|
|
121
|
+
/**
|
|
122
|
+
* The icon to display when the component is checked.
|
|
123
|
+
* @default <CheckBoxIcon />
|
|
124
|
+
*/
|
|
125
|
+
checkedIcon: e.node,
|
|
126
|
+
/**
|
|
127
|
+
* Override or extend the styles applied to the component.
|
|
128
|
+
*/
|
|
129
|
+
classes: e.object,
|
|
130
|
+
/**
|
|
131
|
+
* @ignore
|
|
132
|
+
*/
|
|
133
|
+
className: e.string,
|
|
134
|
+
/**
|
|
135
|
+
* The color of the component.
|
|
136
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
137
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
138
|
+
* @default 'primary'
|
|
139
|
+
*/
|
|
140
|
+
color: e.oneOfType([e.oneOf(["default", "primary", "secondary", "error", "info", "success", "warning"]), e.string]),
|
|
141
|
+
/**
|
|
142
|
+
* The default checked state. Use when the component is not controlled.
|
|
143
|
+
*/
|
|
144
|
+
defaultChecked: e.bool,
|
|
145
|
+
/**
|
|
146
|
+
* If `true`, the component is disabled.
|
|
147
|
+
* @default false
|
|
148
|
+
*/
|
|
149
|
+
disabled: e.bool,
|
|
150
|
+
/**
|
|
151
|
+
* If `true`, the ripple effect is disabled.
|
|
152
|
+
* @default false
|
|
153
|
+
*/
|
|
154
|
+
disableRipple: e.bool,
|
|
155
|
+
/**
|
|
156
|
+
* The icon to display when the component is unchecked.
|
|
157
|
+
* @default <CheckBoxOutlineBlankIcon />
|
|
158
|
+
*/
|
|
159
|
+
icon: e.node,
|
|
160
|
+
/**
|
|
161
|
+
* The id of the `input` element.
|
|
162
|
+
*/
|
|
163
|
+
id: e.string,
|
|
164
|
+
/**
|
|
165
|
+
* If `true`, the component appears indeterminate.
|
|
166
|
+
* This does not set the native input element to indeterminate due
|
|
167
|
+
* to inconsistent behavior across browsers.
|
|
168
|
+
* However, we set a `data-indeterminate` attribute on the `input`.
|
|
169
|
+
* @default false
|
|
170
|
+
*/
|
|
171
|
+
indeterminate: e.bool,
|
|
172
|
+
/**
|
|
173
|
+
* The icon to display when the component is indeterminate.
|
|
174
|
+
* @default <IndeterminateCheckBoxIcon />
|
|
175
|
+
*/
|
|
176
|
+
indeterminateIcon: e.node,
|
|
177
|
+
/**
|
|
178
|
+
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
|
|
179
|
+
*/
|
|
180
|
+
inputProps: e.object,
|
|
181
|
+
/**
|
|
182
|
+
* Pass a ref to the `input` element.
|
|
183
|
+
*/
|
|
184
|
+
inputRef: ie,
|
|
185
|
+
/**
|
|
186
|
+
* Callback fired when the state is changed.
|
|
187
|
+
*
|
|
188
|
+
* @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.
|
|
189
|
+
* You can pull out the new checked state by accessing `event.target.checked` (boolean).
|
|
190
|
+
*/
|
|
191
|
+
onChange: e.func,
|
|
192
|
+
/**
|
|
193
|
+
* If `true`, the `input` element is required.
|
|
194
|
+
* @default false
|
|
195
|
+
*/
|
|
196
|
+
required: e.bool,
|
|
197
|
+
/**
|
|
198
|
+
* The size of the component.
|
|
199
|
+
* `small` is equivalent to the dense checkbox styling.
|
|
200
|
+
* @default 'medium'
|
|
201
|
+
*/
|
|
202
|
+
size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
|
|
203
|
+
/**
|
|
204
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
205
|
+
*/
|
|
206
|
+
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
|
|
207
|
+
/**
|
|
208
|
+
* The value of the component. The DOM API casts this to a string.
|
|
209
|
+
* The browser uses "on" as the default value.
|
|
210
|
+
*/
|
|
211
|
+
value: e.any
|
|
212
|
+
});
|
|
213
|
+
const se = Ie({
|
|
214
|
+
createStyledComponent: G("div", {
|
|
215
|
+
name: "MuiStack",
|
|
216
|
+
slot: "Root",
|
|
217
|
+
overridesResolver: (r, o) => o.root
|
|
218
|
+
}),
|
|
219
|
+
useThemeProps: (r) => Q({
|
|
220
|
+
props: r,
|
|
221
|
+
name: "MuiStack"
|
|
222
|
+
})
|
|
223
|
+
});
|
|
224
|
+
process.env.NODE_ENV !== "production" && (se.propTypes = {
|
|
225
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
226
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
227
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
228
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
229
|
+
/**
|
|
230
|
+
* The content of the component.
|
|
231
|
+
*/
|
|
232
|
+
children: e.node,
|
|
233
|
+
/**
|
|
234
|
+
* The component used for the root node.
|
|
235
|
+
* Either a string to use a HTML element or a component.
|
|
236
|
+
*/
|
|
237
|
+
component: e.elementType,
|
|
238
|
+
/**
|
|
239
|
+
* Defines the `flex-direction` style property.
|
|
240
|
+
* It is applied for all screen sizes.
|
|
241
|
+
* @default 'column'
|
|
242
|
+
*/
|
|
243
|
+
direction: e.oneOfType([e.oneOf(["column-reverse", "column", "row-reverse", "row"]), e.arrayOf(e.oneOf(["column-reverse", "column", "row-reverse", "row"])), e.object]),
|
|
244
|
+
/**
|
|
245
|
+
* Add an element between each child.
|
|
246
|
+
*/
|
|
247
|
+
divider: e.node,
|
|
248
|
+
/**
|
|
249
|
+
* Defines the space between immediate children.
|
|
250
|
+
* @default 0
|
|
251
|
+
*/
|
|
252
|
+
spacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
|
|
253
|
+
/**
|
|
254
|
+
* The system prop, which allows defining system overrides as well as additional CSS styles.
|
|
255
|
+
*/
|
|
256
|
+
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
|
|
257
|
+
/**
|
|
258
|
+
* If `true`, the CSS flexbox `gap` is used instead of applying `margin` to children.
|
|
259
|
+
*
|
|
260
|
+
* While CSS `gap` removes the [known limitations](https://mui.com/joy-ui/react-stack/#limitations),
|
|
261
|
+
* it is not fully supported in some browsers. We recommend checking https://caniuse.com/?search=flex%20gap before using this flag.
|
|
262
|
+
*
|
|
263
|
+
* To enable this flag globally, follow the [theme's default props](https://mui.com/material-ui/customization/theme-components/#default-props) configuration.
|
|
264
|
+
* @default false
|
|
265
|
+
*/
|
|
266
|
+
useFlexGap: e.bool
|
|
267
|
+
});
|
|
268
|
+
function je(r) {
|
|
269
|
+
return ae("MuiFormControlLabel", r);
|
|
270
|
+
}
|
|
271
|
+
const E = te("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlacementTop", "labelPlacementBottom", "disabled", "label", "error", "required", "asterisk"]), Ee = ["checked", "className", "componentsProps", "control", "disabled", "disableTypography", "inputRef", "label", "labelPlacement", "name", "onChange", "required", "slotProps", "value"], ze = (r) => {
|
|
272
|
+
const {
|
|
273
|
+
classes: o,
|
|
274
|
+
disabled: i,
|
|
275
|
+
labelPlacement: p,
|
|
276
|
+
error: d,
|
|
277
|
+
required: s
|
|
278
|
+
} = r, a = {
|
|
279
|
+
root: ["root", i && "disabled", `labelPlacement${_(p)}`, d && "error", s && "required"],
|
|
280
|
+
label: ["label", i && "disabled"],
|
|
281
|
+
asterisk: ["asterisk", d && "error"]
|
|
282
|
+
};
|
|
283
|
+
return le(a, je, o);
|
|
284
|
+
}, Ne = G("label", {
|
|
285
|
+
name: "MuiFormControlLabel",
|
|
286
|
+
slot: "Root",
|
|
287
|
+
overridesResolver: (r, o) => {
|
|
288
|
+
const {
|
|
289
|
+
ownerState: i
|
|
290
|
+
} = r;
|
|
291
|
+
return [{
|
|
292
|
+
[`& .${E.label}`]: o.label
|
|
293
|
+
}, o.root, o[`labelPlacement${_(i.labelPlacement)}`]];
|
|
294
|
+
}
|
|
295
|
+
})(({
|
|
296
|
+
theme: r,
|
|
297
|
+
ownerState: o
|
|
298
|
+
}) => v({
|
|
299
|
+
display: "inline-flex",
|
|
300
|
+
alignItems: "center",
|
|
301
|
+
cursor: "pointer",
|
|
302
|
+
// For correct alignment with the text.
|
|
303
|
+
verticalAlign: "middle",
|
|
304
|
+
WebkitTapHighlightColor: "transparent",
|
|
305
|
+
marginLeft: -11,
|
|
306
|
+
marginRight: 16,
|
|
307
|
+
// used for row presentation of radio/checkbox
|
|
308
|
+
[`&.${E.disabled}`]: {
|
|
309
|
+
cursor: "default"
|
|
310
|
+
}
|
|
311
|
+
}, o.labelPlacement === "start" && {
|
|
312
|
+
flexDirection: "row-reverse",
|
|
313
|
+
marginLeft: 16,
|
|
314
|
+
// used for row presentation of radio/checkbox
|
|
315
|
+
marginRight: -11
|
|
316
|
+
}, o.labelPlacement === "top" && {
|
|
317
|
+
flexDirection: "column-reverse",
|
|
318
|
+
marginLeft: 16
|
|
319
|
+
}, o.labelPlacement === "bottom" && {
|
|
320
|
+
flexDirection: "column",
|
|
321
|
+
marginLeft: 16
|
|
322
|
+
}, {
|
|
323
|
+
[`& .${E.label}`]: {
|
|
324
|
+
[`&.${E.disabled}`]: {
|
|
325
|
+
color: (r.vars || r).palette.text.disabled
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
})), Le = G("span", {
|
|
329
|
+
name: "MuiFormControlLabel",
|
|
330
|
+
slot: "Asterisk",
|
|
331
|
+
overridesResolver: (r, o) => o.asterisk
|
|
332
|
+
})(({
|
|
333
|
+
theme: r
|
|
334
|
+
}) => ({
|
|
335
|
+
[`&.${E.error}`]: {
|
|
336
|
+
color: (r.vars || r).palette.error.main
|
|
337
|
+
}
|
|
338
|
+
})), R = /* @__PURE__ */ z.forwardRef(function(o, i) {
|
|
339
|
+
var p, d;
|
|
340
|
+
const s = Q({
|
|
341
|
+
props: o,
|
|
342
|
+
name: "MuiFormControlLabel"
|
|
343
|
+
}), {
|
|
344
|
+
className: a,
|
|
345
|
+
componentsProps: g = {},
|
|
346
|
+
control: m,
|
|
347
|
+
disabled: u,
|
|
348
|
+
disableTypography: n,
|
|
349
|
+
label: $,
|
|
350
|
+
labelPlacement: T = "end",
|
|
351
|
+
required: k,
|
|
352
|
+
slotProps: F = {}
|
|
353
|
+
} = s, O = ne(s, Ee), b = xe(), C = (p = u ?? m.props.disabled) != null ? p : b == null ? void 0 : b.disabled, h = k ?? m.props.required, j = {
|
|
354
|
+
disabled: C,
|
|
355
|
+
required: h
|
|
356
|
+
};
|
|
357
|
+
["checked", "name", "onChange", "value", "inputRef"].forEach((l) => {
|
|
358
|
+
typeof m.props[l] > "u" && typeof s[l] < "u" && (j[l] = s[l]);
|
|
359
|
+
});
|
|
360
|
+
const N = Ce({
|
|
361
|
+
props: s,
|
|
362
|
+
muiFormControl: b,
|
|
363
|
+
states: ["error"]
|
|
364
|
+
}), M = v({}, s, {
|
|
365
|
+
disabled: C,
|
|
366
|
+
labelPlacement: T,
|
|
367
|
+
required: h,
|
|
368
|
+
error: N.error
|
|
369
|
+
}), S = ze(M), q = (d = F.typography) != null ? d : g.typography;
|
|
370
|
+
let y = $;
|
|
371
|
+
return y != null && y.type !== oe && !n && (y = /* @__PURE__ */ t(oe, v({
|
|
372
|
+
component: "span"
|
|
373
|
+
}, q, {
|
|
374
|
+
className: J(S.label, q == null ? void 0 : q.className),
|
|
375
|
+
children: y
|
|
376
|
+
}))), /* @__PURE__ */ f(Ne, v({
|
|
377
|
+
className: J(S.root, a),
|
|
378
|
+
ownerState: M,
|
|
379
|
+
ref: i
|
|
380
|
+
}, O, {
|
|
381
|
+
children: [/* @__PURE__ */ z.cloneElement(m, j), h ? /* @__PURE__ */ f(se, {
|
|
382
|
+
display: "block",
|
|
383
|
+
children: [y, /* @__PURE__ */ f(Le, {
|
|
384
|
+
ownerState: M,
|
|
385
|
+
"aria-hidden": !0,
|
|
386
|
+
className: S.asterisk,
|
|
387
|
+
children: [" ", "*"]
|
|
388
|
+
})]
|
|
389
|
+
}) : y]
|
|
390
|
+
}));
|
|
391
|
+
});
|
|
392
|
+
process.env.NODE_ENV !== "production" && (R.propTypes = {
|
|
393
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
394
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
395
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
396
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
397
|
+
/**
|
|
398
|
+
* If `true`, the component appears selected.
|
|
399
|
+
*/
|
|
400
|
+
checked: e.bool,
|
|
401
|
+
/**
|
|
402
|
+
* Override or extend the styles applied to the component.
|
|
403
|
+
*/
|
|
404
|
+
classes: e.object,
|
|
405
|
+
/**
|
|
406
|
+
* @ignore
|
|
407
|
+
*/
|
|
408
|
+
className: e.string,
|
|
409
|
+
/**
|
|
410
|
+
* The props used for each slot inside.
|
|
411
|
+
* @default {}
|
|
412
|
+
*/
|
|
413
|
+
componentsProps: e.shape({
|
|
414
|
+
typography: e.object
|
|
415
|
+
}),
|
|
416
|
+
/**
|
|
417
|
+
* A control element. For instance, it can be a `Radio`, a `Switch` or a `Checkbox`.
|
|
418
|
+
*/
|
|
419
|
+
control: e.element.isRequired,
|
|
420
|
+
/**
|
|
421
|
+
* If `true`, the control is disabled.
|
|
422
|
+
*/
|
|
423
|
+
disabled: e.bool,
|
|
424
|
+
/**
|
|
425
|
+
* If `true`, the label is rendered as it is passed without an additional typography node.
|
|
426
|
+
*/
|
|
427
|
+
disableTypography: e.bool,
|
|
428
|
+
/**
|
|
429
|
+
* Pass a ref to the `input` element.
|
|
430
|
+
*/
|
|
431
|
+
inputRef: ie,
|
|
432
|
+
/**
|
|
433
|
+
* A text or an element to be used in an enclosing label element.
|
|
434
|
+
*/
|
|
435
|
+
label: e.node,
|
|
436
|
+
/**
|
|
437
|
+
* The position of the label.
|
|
438
|
+
* @default 'end'
|
|
439
|
+
*/
|
|
440
|
+
labelPlacement: e.oneOf(["bottom", "end", "start", "top"]),
|
|
441
|
+
/**
|
|
442
|
+
* @ignore
|
|
443
|
+
*/
|
|
444
|
+
name: e.string,
|
|
445
|
+
/**
|
|
446
|
+
* Callback fired when the state is changed.
|
|
447
|
+
*
|
|
448
|
+
* @param {React.SyntheticEvent} event The event source of the callback.
|
|
449
|
+
* You can pull out the new checked state by accessing `event.target.checked` (boolean).
|
|
450
|
+
*/
|
|
451
|
+
onChange: e.func,
|
|
452
|
+
/**
|
|
453
|
+
* If `true`, the label will indicate that the `input` is required.
|
|
454
|
+
*/
|
|
455
|
+
required: e.bool,
|
|
456
|
+
/**
|
|
457
|
+
* The props used for each slot inside.
|
|
458
|
+
* @default {}
|
|
459
|
+
*/
|
|
460
|
+
slotProps: e.shape({
|
|
461
|
+
typography: e.object
|
|
462
|
+
}),
|
|
463
|
+
/**
|
|
464
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
465
|
+
*/
|
|
466
|
+
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
|
|
467
|
+
/**
|
|
468
|
+
* The value of the component.
|
|
469
|
+
*/
|
|
470
|
+
value: e.any
|
|
471
|
+
});
|
|
472
|
+
var Z = {}, we = be;
|
|
473
|
+
Object.defineProperty(Z, "__esModule", {
|
|
474
|
+
value: !0
|
|
475
|
+
});
|
|
476
|
+
var ce = Z.default = void 0, De = we(he()), Ve = de;
|
|
477
|
+
ce = Z.default = (0, De.default)(/* @__PURE__ */ (0, Ve.jsx)("path", {
|
|
478
|
+
d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"
|
|
479
|
+
}), "Check");
|
|
480
|
+
function mo({
|
|
481
|
+
inputVariant: r,
|
|
482
|
+
labelPosition: o = "default",
|
|
483
|
+
defaultValues: i = {
|
|
21
484
|
name: "",
|
|
22
485
|
propertyId: "",
|
|
23
|
-
type:
|
|
486
|
+
type: Y[0],
|
|
24
487
|
dataTypeInfo: {},
|
|
25
488
|
defaultValue: "",
|
|
26
|
-
privacyPreservationMethod:
|
|
489
|
+
privacyPreservationMethod: ee[0],
|
|
27
490
|
required: !1,
|
|
28
491
|
visible: !1,
|
|
29
492
|
editable: !1,
|
|
@@ -31,245 +494,245 @@ function fe({
|
|
|
31
494
|
temporal: !1,
|
|
32
495
|
unique: !1
|
|
33
496
|
},
|
|
34
|
-
disablePropertyId:
|
|
35
|
-
onSubmit:
|
|
36
|
-
onCancel:
|
|
497
|
+
disablePropertyId: p,
|
|
498
|
+
onSubmit: d,
|
|
499
|
+
onCancel: s
|
|
37
500
|
}) {
|
|
38
|
-
var
|
|
39
|
-
const [
|
|
501
|
+
var T, k, F, O, b, C, h, j, N, M, S, q, y;
|
|
502
|
+
const [a, g] = V.useState(i), [m, u] = V.useState({
|
|
40
503
|
name: !1
|
|
41
|
-
}), n = (
|
|
42
|
-
var
|
|
43
|
-
const
|
|
44
|
-
let
|
|
45
|
-
if (
|
|
46
|
-
let
|
|
47
|
-
|
|
504
|
+
}), n = (l) => {
|
|
505
|
+
var L, w;
|
|
506
|
+
const c = l.target.name;
|
|
507
|
+
let x = l.target.type === "checkbox" ? l.target.checked : l.target.value;
|
|
508
|
+
if (a.type === "enum" && c === "dataTypeInfo.enumValues" && (x = x.split(",")), ((w = (L = a.dataTypeInfo) == null ? void 0 : L.innerType) == null ? void 0 : w.type) === "enum" && c === "dataTypeInfo.innerType.enumValues" && (x = x.split(",")), c.includes(".")) {
|
|
509
|
+
let D = { ...a };
|
|
510
|
+
me.set(D, c, x), g(D);
|
|
48
511
|
return;
|
|
49
512
|
}
|
|
50
|
-
|
|
51
|
-
...
|
|
52
|
-
[
|
|
513
|
+
g((D) => ({
|
|
514
|
+
...D,
|
|
515
|
+
[c]: x
|
|
53
516
|
}));
|
|
54
|
-
},
|
|
55
|
-
if (!
|
|
56
|
-
|
|
517
|
+
}, $ = () => {
|
|
518
|
+
if (!a.name) {
|
|
519
|
+
u({ ...m, name: !0 });
|
|
57
520
|
return;
|
|
58
521
|
}
|
|
59
|
-
|
|
522
|
+
d(a);
|
|
60
523
|
};
|
|
61
|
-
return
|
|
62
|
-
}), [
|
|
524
|
+
return V.useEffect(() => (m.name && a.name && u({ ...m, name: !1 }), () => {
|
|
525
|
+
}), [a.name]), V.useEffect(() => {
|
|
63
526
|
if (![
|
|
64
527
|
"date",
|
|
65
528
|
"coordinate",
|
|
66
529
|
"composite-list",
|
|
67
530
|
"enum",
|
|
68
531
|
"composite-matrix"
|
|
69
|
-
].includes(
|
|
70
|
-
if (
|
|
71
|
-
const { coordinateFormat:
|
|
72
|
-
(
|
|
532
|
+
].includes(a.type)) {
|
|
533
|
+
if (a.dataTypeInfo) {
|
|
534
|
+
const { coordinateFormat: l, datePattern: c, innerType: x, enumValues: L } = a.dataTypeInfo;
|
|
535
|
+
(l || c || x || L) && g((w) => ({ ...w, dataTypeInfo: {} }));
|
|
73
536
|
}
|
|
74
537
|
return () => {
|
|
75
538
|
};
|
|
76
539
|
}
|
|
77
|
-
}, [
|
|
78
|
-
/* @__PURE__ */
|
|
79
|
-
|
|
540
|
+
}, [a.type]), /* @__PURE__ */ f(pe, { children: [
|
|
541
|
+
/* @__PURE__ */ t(I, { label: "Name", required: !0, labelPosition: o, children: /* @__PURE__ */ t(
|
|
542
|
+
B,
|
|
80
543
|
{
|
|
81
|
-
label:
|
|
544
|
+
label: o === "default" ? "Name" : void 0,
|
|
82
545
|
name: "name",
|
|
83
|
-
variant:
|
|
546
|
+
variant: r,
|
|
84
547
|
fullWidth: !0,
|
|
85
548
|
sx: { mb: 2, mt: 0.5 },
|
|
86
|
-
value:
|
|
549
|
+
value: a.name,
|
|
87
550
|
onChange: n,
|
|
88
551
|
required: !0,
|
|
89
|
-
...
|
|
552
|
+
...m.name && {
|
|
90
553
|
error: !0,
|
|
91
554
|
helperText: "This field is required!"
|
|
92
555
|
}
|
|
93
556
|
}
|
|
94
557
|
) }),
|
|
95
|
-
/* @__PURE__ */
|
|
96
|
-
|
|
558
|
+
/* @__PURE__ */ t(I, { label: "Property ID", labelPosition: o, children: /* @__PURE__ */ t(
|
|
559
|
+
B,
|
|
97
560
|
{
|
|
98
|
-
label:
|
|
561
|
+
label: o === "default" ? "Property ID" : void 0,
|
|
99
562
|
name: "propertyId",
|
|
100
|
-
variant:
|
|
563
|
+
variant: r,
|
|
101
564
|
fullWidth: !0,
|
|
102
|
-
disabled:
|
|
565
|
+
disabled: p,
|
|
103
566
|
sx: { mb: 2 },
|
|
104
|
-
value:
|
|
567
|
+
value: a.propertyId,
|
|
105
568
|
onChange: n
|
|
106
569
|
}
|
|
107
570
|
) }),
|
|
108
|
-
/* @__PURE__ */
|
|
109
|
-
|
|
110
|
-
/* @__PURE__ */
|
|
111
|
-
|
|
571
|
+
/* @__PURE__ */ t(I, { label: "Type", labelPosition: o, children: /* @__PURE__ */ f(A, { fullWidth: !0, variant: r, sx: { mb: 2 }, children: [
|
|
572
|
+
o === "default" && /* @__PURE__ */ t(W, { id: "type-select-label", children: "Type" }),
|
|
573
|
+
/* @__PURE__ */ t(
|
|
574
|
+
H,
|
|
112
575
|
{
|
|
113
|
-
label:
|
|
576
|
+
label: o === "default" ? "Type" : void 0,
|
|
114
577
|
name: "type",
|
|
115
578
|
labelId: "type-select-label",
|
|
116
579
|
id: "type-select",
|
|
117
|
-
value:
|
|
580
|
+
value: a.type,
|
|
118
581
|
onChange: n,
|
|
119
|
-
children:
|
|
582
|
+
children: Y.map((l, c) => /* @__PURE__ */ t(U, { value: l, children: l }, c))
|
|
120
583
|
}
|
|
121
584
|
)
|
|
122
585
|
] }) }),
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
/* @__PURE__ */
|
|
126
|
-
|
|
586
|
+
a.type === "coordinate" && /* @__PURE__ */ t(I, { label: "Coordinate Format", labelPosition: o, children: /* @__PURE__ */ f(A, { fullWidth: !0, variant: r, sx: { mb: 2 }, children: [
|
|
587
|
+
o === "default" && /* @__PURE__ */ t(W, { id: "coordinate-format-select-label", children: "Cordinate Format" }),
|
|
588
|
+
/* @__PURE__ */ t(
|
|
589
|
+
H,
|
|
127
590
|
{
|
|
128
|
-
label:
|
|
591
|
+
label: o === "default" ? "Coordinate Format" : void 0,
|
|
129
592
|
name: "dataTypeInfo.coordinateFormat",
|
|
130
593
|
labelId: "coordinate-format-select-label",
|
|
131
594
|
id: "coordinate-format-select",
|
|
132
|
-
value: (
|
|
595
|
+
value: (T = a.dataTypeInfo) == null ? void 0 : T.coordinateFormat,
|
|
133
596
|
onChange: n,
|
|
134
|
-
children:
|
|
597
|
+
children: ye.map((l, c) => /* @__PURE__ */ t(U, { value: l, children: l }, c))
|
|
135
598
|
}
|
|
136
599
|
)
|
|
137
600
|
] }) }),
|
|
138
|
-
(
|
|
139
|
-
|
|
140
|
-
/* @__PURE__ */
|
|
141
|
-
|
|
601
|
+
(a.type === "composite-list" || a.type === "composite-matrix") && /* @__PURE__ */ t(I, { label: "Inner Type", labelPosition: o, children: /* @__PURE__ */ f(A, { fullWidth: !0, variant: r, sx: { mb: 2 }, children: [
|
|
602
|
+
o === "default" && /* @__PURE__ */ t(W, { id: "composite-list-select-label", children: "Inner Type" }),
|
|
603
|
+
/* @__PURE__ */ t(
|
|
604
|
+
H,
|
|
142
605
|
{
|
|
143
|
-
label:
|
|
606
|
+
label: o === "default" ? "Inner Type" : void 0,
|
|
144
607
|
name: "dataTypeInfo.innerType.type",
|
|
145
608
|
labelId: "composite-list-select-label",
|
|
146
609
|
id: "composite-list-select",
|
|
147
|
-
value: (
|
|
610
|
+
value: (F = (k = a.dataTypeInfo) == null ? void 0 : k.innerType) == null ? void 0 : F.type,
|
|
148
611
|
onChange: n,
|
|
149
|
-
children:
|
|
150
|
-
(
|
|
151
|
-
).map((
|
|
612
|
+
children: Y.filter(
|
|
613
|
+
(l) => l !== "composite-list" && l !== "list"
|
|
614
|
+
).map((l, c) => /* @__PURE__ */ t(U, { value: l, children: l }, c))
|
|
152
615
|
}
|
|
153
616
|
)
|
|
154
617
|
] }) }),
|
|
155
|
-
(
|
|
156
|
-
|
|
618
|
+
(a.type === "enum" || ((b = (O = a.dataTypeInfo) == null ? void 0 : O.innerType) == null ? void 0 : b.type) === "enum") && /* @__PURE__ */ t(I, { label: "Enum Values", labelPosition: o, children: /* @__PURE__ */ t(
|
|
619
|
+
B,
|
|
157
620
|
{
|
|
158
|
-
label:
|
|
159
|
-
name: ((
|
|
160
|
-
variant:
|
|
621
|
+
label: o === "default" ? "Enum Values" : void 0,
|
|
622
|
+
name: ((h = (C = a.dataTypeInfo) == null ? void 0 : C.innerType) == null ? void 0 : h.type) === "enum" ? "dataTypeInfo.innerType.enumValues" : "dataTypeInfo.enumValues",
|
|
623
|
+
variant: r,
|
|
161
624
|
fullWidth: !0,
|
|
162
625
|
sx: { mb: 2 },
|
|
163
|
-
value: ((
|
|
626
|
+
value: ((N = (j = a.dataTypeInfo) == null ? void 0 : j.innerType) == null ? void 0 : N.type) === "enum" ? (S = (M = a.dataTypeInfo.innerType) == null ? void 0 : M.enumValues) == null ? void 0 : S.join(",") : (y = (q = a.dataTypeInfo) == null ? void 0 : q.enumValues) == null ? void 0 : y.join(","),
|
|
164
627
|
onChange: n,
|
|
165
628
|
helperText: "Add list values with the comma (,) separated string"
|
|
166
629
|
}
|
|
167
630
|
) }),
|
|
168
|
-
/* @__PURE__ */
|
|
169
|
-
|
|
631
|
+
/* @__PURE__ */ t(I, { label: "Default Value", labelPosition: o, children: /* @__PURE__ */ t(
|
|
632
|
+
B,
|
|
170
633
|
{
|
|
171
|
-
label:
|
|
634
|
+
label: o === "default" ? "Default Value" : void 0,
|
|
172
635
|
name: "defaultValue",
|
|
173
|
-
variant:
|
|
636
|
+
variant: r,
|
|
174
637
|
fullWidth: !0,
|
|
175
638
|
sx: { mb: 2 },
|
|
176
|
-
value:
|
|
639
|
+
value: a.defaultValue,
|
|
177
640
|
onChange: n
|
|
178
641
|
}
|
|
179
642
|
) }),
|
|
180
|
-
/* @__PURE__ */
|
|
181
|
-
|
|
182
|
-
/* @__PURE__ */
|
|
183
|
-
|
|
643
|
+
/* @__PURE__ */ t(I, { label: "Privacy Preservation Method", labelPosition: o, children: /* @__PURE__ */ f(A, { fullWidth: !0, variant: r, sx: { mb: 2 }, children: [
|
|
644
|
+
o === "default" && /* @__PURE__ */ t(W, { id: "privacy-method-label", children: "Privacy Preservation Method" }),
|
|
645
|
+
/* @__PURE__ */ t(
|
|
646
|
+
H,
|
|
184
647
|
{
|
|
185
|
-
label:
|
|
648
|
+
label: o === "default" ? "Privacy Preservation Method" : void 0,
|
|
186
649
|
name: "privacyPreservationMethod",
|
|
187
650
|
labelId: "privacy-method-label",
|
|
188
651
|
id: "privacy-method",
|
|
189
|
-
value:
|
|
652
|
+
value: a.privacyPreservationMethod,
|
|
190
653
|
onChange: n,
|
|
191
|
-
children:
|
|
654
|
+
children: ee.map((l, c) => /* @__PURE__ */ t(U, { value: l, children: l }, c))
|
|
192
655
|
}
|
|
193
656
|
)
|
|
194
657
|
] }) }),
|
|
195
|
-
/* @__PURE__ */
|
|
196
|
-
/* @__PURE__ */
|
|
197
|
-
|
|
658
|
+
/* @__PURE__ */ f(Te, { row: !0, sx: { mb: 2 }, children: [
|
|
659
|
+
/* @__PURE__ */ t(
|
|
660
|
+
R,
|
|
198
661
|
{
|
|
199
662
|
label: "Required",
|
|
200
|
-
control: /* @__PURE__ */
|
|
201
|
-
|
|
663
|
+
control: /* @__PURE__ */ t(
|
|
664
|
+
P,
|
|
202
665
|
{
|
|
203
666
|
name: "required",
|
|
204
|
-
checked:
|
|
667
|
+
checked: a.required,
|
|
205
668
|
onChange: n
|
|
206
669
|
}
|
|
207
670
|
),
|
|
208
671
|
sx: { width: "30%" }
|
|
209
672
|
}
|
|
210
673
|
),
|
|
211
|
-
/* @__PURE__ */
|
|
212
|
-
|
|
674
|
+
/* @__PURE__ */ t(
|
|
675
|
+
R,
|
|
213
676
|
{
|
|
214
677
|
label: "Editable",
|
|
215
|
-
control: /* @__PURE__ */
|
|
216
|
-
|
|
678
|
+
control: /* @__PURE__ */ t(
|
|
679
|
+
P,
|
|
217
680
|
{
|
|
218
681
|
name: "editable",
|
|
219
|
-
checked:
|
|
682
|
+
checked: a.editable,
|
|
220
683
|
onChange: n
|
|
221
684
|
}
|
|
222
685
|
),
|
|
223
686
|
sx: { width: "30%" }
|
|
224
687
|
}
|
|
225
688
|
),
|
|
226
|
-
/* @__PURE__ */
|
|
227
|
-
|
|
689
|
+
/* @__PURE__ */ t(
|
|
690
|
+
R,
|
|
228
691
|
{
|
|
229
692
|
label: "Visible",
|
|
230
|
-
control: /* @__PURE__ */
|
|
231
|
-
|
|
693
|
+
control: /* @__PURE__ */ t(
|
|
694
|
+
P,
|
|
232
695
|
{
|
|
233
696
|
name: "visible",
|
|
234
|
-
checked:
|
|
697
|
+
checked: a.visible,
|
|
235
698
|
onChange: n
|
|
236
699
|
}
|
|
237
700
|
),
|
|
238
701
|
sx: { width: "30%" }
|
|
239
702
|
}
|
|
240
703
|
),
|
|
241
|
-
/* @__PURE__ */
|
|
242
|
-
|
|
704
|
+
/* @__PURE__ */ t(
|
|
705
|
+
R,
|
|
243
706
|
{
|
|
244
707
|
label: "Unique",
|
|
245
|
-
control: /* @__PURE__ */
|
|
708
|
+
control: /* @__PURE__ */ t(P, { name: "unique", checked: a.unique, onChange: n }),
|
|
246
709
|
sx: { width: "30%" }
|
|
247
710
|
}
|
|
248
711
|
),
|
|
249
|
-
/* @__PURE__ */
|
|
250
|
-
|
|
712
|
+
/* @__PURE__ */ t(
|
|
713
|
+
R,
|
|
251
714
|
{
|
|
252
715
|
label: "Distinctive",
|
|
253
|
-
control: /* @__PURE__ */
|
|
254
|
-
|
|
716
|
+
control: /* @__PURE__ */ t(
|
|
717
|
+
P,
|
|
255
718
|
{
|
|
256
719
|
name: "distinctive",
|
|
257
|
-
checked:
|
|
720
|
+
checked: a.distinctive,
|
|
258
721
|
onChange: n
|
|
259
722
|
}
|
|
260
723
|
),
|
|
261
724
|
sx: { width: "30%" }
|
|
262
725
|
}
|
|
263
726
|
),
|
|
264
|
-
/* @__PURE__ */
|
|
265
|
-
|
|
727
|
+
/* @__PURE__ */ t(
|
|
728
|
+
R,
|
|
266
729
|
{
|
|
267
730
|
label: "Temporal",
|
|
268
|
-
control: /* @__PURE__ */
|
|
269
|
-
|
|
731
|
+
control: /* @__PURE__ */ t(
|
|
732
|
+
P,
|
|
270
733
|
{
|
|
271
734
|
name: "temporal",
|
|
272
|
-
checked:
|
|
735
|
+
checked: a.temporal,
|
|
273
736
|
onChange: n
|
|
274
737
|
}
|
|
275
738
|
),
|
|
@@ -277,14 +740,14 @@ function fe({
|
|
|
277
740
|
}
|
|
278
741
|
)
|
|
279
742
|
] }),
|
|
280
|
-
/* @__PURE__ */
|
|
281
|
-
/* @__PURE__ */
|
|
282
|
-
/* @__PURE__ */
|
|
283
|
-
|
|
743
|
+
/* @__PURE__ */ f(ve, { display: "flex", justifyContent: "flex-end", children: [
|
|
744
|
+
/* @__PURE__ */ t(re, { variant: "contained", onClick: s, sx: { marginRight: 2 }, children: "Cancel" }),
|
|
745
|
+
/* @__PURE__ */ t(
|
|
746
|
+
re,
|
|
284
747
|
{
|
|
285
748
|
variant: "contained",
|
|
286
|
-
startIcon: /* @__PURE__ */
|
|
287
|
-
onClick:
|
|
749
|
+
startIcon: /* @__PURE__ */ t(ce, {}),
|
|
750
|
+
onClick: $,
|
|
288
751
|
children: "OK"
|
|
289
752
|
}
|
|
290
753
|
)
|
|
@@ -292,5 +755,5 @@ function fe({
|
|
|
292
755
|
] });
|
|
293
756
|
}
|
|
294
757
|
export {
|
|
295
|
-
|
|
758
|
+
mo as default
|
|
296
759
|
};
|