@hybridcore/ui 1.0.2 → 1.1.0

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.
Files changed (103) hide show
  1. package/dist/Button-BZR43NHz.js +2025 -0
  2. package/dist/ButtonBase-B6WYZgVU.js +967 -0
  3. package/dist/CardContent-C8PxkJz4.js +73 -0
  4. package/dist/Checkbox-CxbQ9tJ5.js +673 -0
  5. package/dist/FormControl-C4PmH1vh.js +1491 -0
  6. package/dist/IconButton-CKHPuOyh.js +183 -0
  7. package/dist/Input-CH_JyT5B.js +324 -0
  8. package/dist/List-BX_5LP1i.js +132 -0
  9. package/dist/Object-DBPgar-D.js +688 -0
  10. package/dist/OutlinedInput-gnp48tDo.js +452 -0
  11. package/dist/Paper-CaiWdndQ.js +162 -0
  12. package/dist/Select-DOyHt8I_.js +2526 -0
  13. package/dist/Source-Bo1Eq6y-.js +4374 -0
  14. package/dist/Text-DVP2PrYM.js +2192 -0
  15. package/dist/Typography-XIiVCSto.js +178 -0
  16. package/dist/assertThisInitialized-BUtkG-md.js +13 -0
  17. package/dist/assets/index.css +1 -0
  18. package/dist/assets/index2.css +1 -0
  19. package/dist/chainPropTypes-DtBfUj5o.js +96 -0
  20. package/dist/components/access/helpers.js +32 -0
  21. package/dist/components/access/index.js +15 -0
  22. package/dist/components/card/index.js +159 -469
  23. package/dist/components/card/styled.js +75 -7
  24. package/dist/components/conditional-wrapper/index.js +9 -0
  25. package/dist/components/confirm/dialog.js +151 -0
  26. package/dist/components/confirm/index.js +23 -0
  27. package/dist/components/container/index.js +270 -0
  28. package/dist/components/context-menu/index.js +973 -0
  29. package/dist/components/data-management/instance-form/components/composite-list/index.js +12 -0
  30. package/dist/components/data-management/instance-form/components/composite-list/styled.js +64 -0
  31. package/dist/components/data-management/instance-form/components/policy-list/index.js +86 -0
  32. package/dist/components/data-management/instance-form/components/variable/index.js +15 -0
  33. package/dist/components/data-management/instance-form/components/variables/index.js +39 -0
  34. package/dist/components/data-management/instance-form/index.js +437 -0
  35. package/dist/components/data-security-selectors/dissemination-list/index.js +3201 -0
  36. package/dist/components/data-security-selectors/security-level/index.js +81 -0
  37. package/dist/components/date-time-picker/index.js +103 -0
  38. package/dist/components/geometry-picker/coordinate/index.js +93 -0
  39. package/dist/components/geometry-picker/edit/index.js +71 -0
  40. package/dist/components/geometry-picker/geometry/index.js +160 -0
  41. package/dist/components/geometry-picker/geometry/map-overlay.js +22 -0
  42. package/dist/components/geometry-picker/index.js +140 -0
  43. package/dist/components/geometry-picker/kml/index.js +62 -0
  44. package/dist/components/geometry-picker/kml/select-input-method.js +75 -0
  45. package/dist/components/geometry-picker/logic.js +69 -0
  46. package/dist/components/geometry-picker/map/index.js +42 -0
  47. package/dist/components/geometry-picker/map/logic.js +2360 -0
  48. package/dist/components/geometry-picker/map/style.js +88 -0
  49. package/dist/components/geometry-picker/parser/coordinate-input/index.js +78 -0
  50. package/dist/components/geometry-picker/parser/coordinate-input/logic.js +1305 -0
  51. package/dist/components/geometry-picker/parser/index.js +179 -0
  52. package/dist/components/geometry-picker/parser/logic.js +84 -0
  53. package/dist/components/geometry-picker/parser/styled.js +25 -0
  54. package/dist/components/geometry-picker/styled.js +48 -0
  55. package/dist/components/geometry-picker/wkt/index.js +59 -0
  56. package/dist/components/geometry-picker/wkt/select-input-method.js +75 -0
  57. package/dist/components/icon-button/index.js +18 -0
  58. package/dist/components/icon-button/styled.js +51 -0
  59. package/dist/components/key-protection/index.js +4 -0
  60. package/dist/components/key-protection/menu.js +85 -0
  61. package/dist/components/key-protection/utils.js +10 -0
  62. package/dist/components/loading/index.js +7 -0
  63. package/dist/components/loading/styled.js +16 -0
  64. package/dist/components/map/helpers/kml.js +45 -0
  65. package/dist/components/map/helpers/mapbox.js +48 -0
  66. package/dist/components/map/helpers/ol.js +25 -0
  67. package/dist/components/map/helpers/wkt.js +29 -0
  68. package/dist/components/map/index.js +30 -0
  69. package/dist/components/map/logic.js +140 -0
  70. package/dist/components/map/styled.js +8 -0
  71. package/dist/components/phone-input/index.js +25 -0
  72. package/dist/components/phone-input/styled.js +26 -0
  73. package/dist/components/search-input/index.js +76 -0
  74. package/dist/components/tree-select/index.js +70 -0
  75. package/dist/components/tree-select/styled.js +64 -0
  76. package/dist/components/treeview-filter/index.js +621 -0
  77. package/dist/components/treeview-filter/item/index.js +7 -0
  78. package/dist/components/treeview-filter/item-label/index.js +44 -0
  79. package/dist/createTheme-agWfFD64.js +2392 -0
  80. package/dist/exactProp-CI8dagM-.js +36 -0
  81. package/dist/extends-C3382pL0.js +22 -0
  82. package/dist/hooks/useMenuLogic.js +21 -0
  83. package/dist/hooks/useToggle.js +23 -0
  84. package/dist/index-BQE8B4sc.js +957 -0
  85. package/dist/index-DHFb1Qpn.js +1105 -0
  86. package/dist/isHostComponent-kiaBvYVo.js +6 -0
  87. package/dist/isMuiElement-CxT3_ACP.js +13 -0
  88. package/dist/main.d.ts +646 -0
  89. package/dist/ol-CMEkXXLJ.js +15041 -0
  90. package/dist/ownerDocument-CUrv0DIK.js +6 -0
  91. package/dist/ownerWindow-niciwP7I.js +7 -0
  92. package/dist/styled-B22KrhDR.js +229 -0
  93. package/dist/styled-Iq9jsO4F.js +1033 -0
  94. package/dist/useFormControl-CatNKXAi.js +10 -0
  95. package/dist/useId-BHG98T5I.js +26 -0
  96. package/dist/useTheme-C0Dky5rV.js +17 -0
  97. package/dist/useTheme-CeyGVuQP.js +10 -0
  98. package/dist/useThemeProps-CzAjOL6F.js +26 -0
  99. package/dist/utils/ontology.js +37 -0
  100. package/dist/utils-Bq0ye5vf.js +115 -0
  101. package/dist/utils-C13eMoWa.js +365 -0
  102. package/package.json +26 -5
  103. package/dist/styled-BG5UIpPU.js +0 -3459
@@ -0,0 +1,1105 @@
1
+ import { jsx as l, jsxs as F, Fragment as ae } from "react/jsx-runtime";
2
+ import M from "lodash";
3
+ import ie from "dayjs";
4
+ import { Typography as ce, Chip as Re, Dialog as Ve, DialogTitle as ke, DialogContent as we, DialogActions as je, Button as oe, InputAdornment as Ne, Tooltip as Le, Stack as Se } from "@mui/material";
5
+ import { Container as $e, Values as De, MiniButton as qe } from "./components/data-management/instance-form/components/composite-list/styled.js";
6
+ import { Add as Ee, LockOutlined as Me } from "@mui/icons-material";
7
+ import _e from "./hooks/useToggle.js";
8
+ import { GeometryPicker as Be } from "./components/geometry-picker/index.js";
9
+ import { PhoneInput as Ae } from "./components/phone-input/index.js";
10
+ import { DateTimePicker as He } from "./components/date-time-picker/index.js";
11
+ import { a as g, _ } from "./extends-C3382pL0.js";
12
+ import * as V from "react";
13
+ import { useState as We } from "react";
14
+ import { P as e, a as Ue, h as ne, r as z, f as Ge, d as ze, m as Ye, j as te, c as B } from "./createTheme-agWfFD64.js";
15
+ import { c as S, a as A, g as J, u as H } from "./chainPropTypes-DtBfUj5o.js";
16
+ import { e as Je, g as W, s as $ } from "./styled-Iq9jsO4F.js";
17
+ import { f as de, F as ue, I as me } from "./FormControl-C4PmH1vh.js";
18
+ import { u as Ke } from "./useId-BHG98T5I.js";
19
+ import { S as pe, F as Qe, M as Xe } from "./Select-DOyHt8I_.js";
20
+ import { u as fe } from "./useFormControl-CatNKXAi.js";
21
+ import { r as be } from "./ButtonBase-B6WYZgVU.js";
22
+ import { I as Ze } from "./Input-CH_JyT5B.js";
23
+ import { O as eo } from "./OutlinedInput-gnp48tDo.js";
24
+ import { B as E, C as oo } from "./Checkbox-CxbQ9tJ5.js";
25
+ import { T as re } from "./Typography-XIiVCSto.js";
26
+ import { s as no } from "./styled-B22KrhDR.js";
27
+ import { u as to } from "./useThemeProps-CzAjOL6F.js";
28
+ const ro = ["component", "direction", "spacing", "divider", "children", "className", "useFlexGap"], lo = Ue(), so = no("div", {
29
+ name: "MuiStack",
30
+ slot: "Root",
31
+ overridesResolver: (n, o) => o.root
32
+ });
33
+ function ao(n) {
34
+ return to({
35
+ props: n,
36
+ name: "MuiStack",
37
+ defaultTheme: lo
38
+ });
39
+ }
40
+ function io(n, o) {
41
+ const t = V.Children.toArray(n).filter(Boolean);
42
+ return t.reduce((a, c, r) => (a.push(c), r < t.length - 1 && a.push(/* @__PURE__ */ V.cloneElement(o, {
43
+ key: `separator-${r}`
44
+ })), a), []);
45
+ }
46
+ const co = (n) => ({
47
+ row: "Left",
48
+ "row-reverse": "Right",
49
+ column: "Top",
50
+ "column-reverse": "Bottom"
51
+ })[n], uo = ({
52
+ ownerState: n,
53
+ theme: o
54
+ }) => {
55
+ let t = g({
56
+ display: "flex",
57
+ flexDirection: "column"
58
+ }, ne({
59
+ theme: o
60
+ }, z({
61
+ values: n.direction,
62
+ breakpoints: o.breakpoints.values
63
+ }), (a) => ({
64
+ flexDirection: a
65
+ })));
66
+ if (n.spacing) {
67
+ const a = Ge(o), c = Object.keys(o.breakpoints.values).reduce((d, i) => ((typeof n.spacing == "object" && n.spacing[i] != null || typeof n.direction == "object" && n.direction[i] != null) && (d[i] = !0), d), {}), r = z({
68
+ values: n.direction,
69
+ base: c
70
+ }), u = z({
71
+ values: n.spacing,
72
+ base: c
73
+ });
74
+ typeof r == "object" && Object.keys(r).forEach((d, i, b) => {
75
+ if (!r[d]) {
76
+ const x = i > 0 ? r[b[i - 1]] : "column";
77
+ r[d] = x;
78
+ }
79
+ }), t = ze(t, ne({
80
+ theme: o
81
+ }, u, (d, i) => n.useFlexGap ? {
82
+ gap: te(a, d)
83
+ } : {
84
+ // The useFlexGap={false} implement relies on each child to give up control of the margin.
85
+ // We need to reset the margin to avoid double spacing.
86
+ "& > :not(style):not(style)": {
87
+ margin: 0
88
+ },
89
+ "& > :not(style) ~ :not(style)": {
90
+ [`margin${co(i ? r[i] : n.direction)}`]: te(a, d)
91
+ }
92
+ }));
93
+ }
94
+ return t = Ye(o.breakpoints, t), t;
95
+ };
96
+ function mo(n = {}) {
97
+ const {
98
+ // This will allow adding custom styled fn (for example for custom sx style function)
99
+ createStyledComponent: o = so,
100
+ useThemeProps: t = ao,
101
+ componentName: a = "MuiStack"
102
+ } = n, c = () => A({
103
+ root: ["root"]
104
+ }, (d) => W(a, d), {}), r = o(uo), u = /* @__PURE__ */ V.forwardRef(function(d, i) {
105
+ const b = t(d), y = Je(b), {
106
+ component: x = "div",
107
+ direction: f = "column",
108
+ spacing: h = 0,
109
+ divider: C,
110
+ children: s,
111
+ className: p,
112
+ useFlexGap: v = !1
113
+ } = y, O = _(y, ro), P = {
114
+ direction: f,
115
+ spacing: h,
116
+ useFlexGap: v
117
+ }, T = c();
118
+ return /* @__PURE__ */ l(r, g({
119
+ as: x,
120
+ ownerState: P,
121
+ ref: i,
122
+ className: S(T.root, p)
123
+ }, O, {
124
+ children: C ? io(s, C) : s
125
+ }));
126
+ });
127
+ return process.env.NODE_ENV !== "production" && (u.propTypes = {
128
+ children: e.node,
129
+ direction: e.oneOfType([e.oneOf(["column-reverse", "column", "row-reverse", "row"]), e.arrayOf(e.oneOf(["column-reverse", "column", "row-reverse", "row"])), e.object]),
130
+ divider: e.node,
131
+ spacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
132
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
133
+ }), u;
134
+ }
135
+ function po(n) {
136
+ return W("MuiFormHelperText", n);
137
+ }
138
+ const le = J("MuiFormHelperText", ["root", "error", "disabled", "sizeSmall", "sizeMedium", "contained", "focused", "filled", "required"]);
139
+ var se;
140
+ const fo = ["children", "className", "component", "disabled", "error", "filled", "focused", "margin", "required", "variant"], bo = (n) => {
141
+ const {
142
+ classes: o,
143
+ contained: t,
144
+ size: a,
145
+ disabled: c,
146
+ error: r,
147
+ filled: u,
148
+ focused: m,
149
+ required: d
150
+ } = n, i = {
151
+ root: ["root", c && "disabled", r && "error", a && `size${B(a)}`, t && "contained", m && "focused", u && "filled", d && "required"]
152
+ };
153
+ return A(i, po, o);
154
+ }, ho = $("p", {
155
+ name: "MuiFormHelperText",
156
+ slot: "Root",
157
+ overridesResolver: (n, o) => {
158
+ const {
159
+ ownerState: t
160
+ } = n;
161
+ return [o.root, t.size && o[`size${B(t.size)}`], t.contained && o.contained, t.filled && o.filled];
162
+ }
163
+ })(({
164
+ theme: n,
165
+ ownerState: o
166
+ }) => g({
167
+ color: (n.vars || n).palette.text.secondary
168
+ }, n.typography.caption, {
169
+ textAlign: "left",
170
+ marginTop: 3,
171
+ marginRight: 0,
172
+ marginBottom: 0,
173
+ marginLeft: 0,
174
+ [`&.${le.disabled}`]: {
175
+ color: (n.vars || n).palette.text.disabled
176
+ },
177
+ [`&.${le.error}`]: {
178
+ color: (n.vars || n).palette.error.main
179
+ }
180
+ }, o.size === "small" && {
181
+ marginTop: 4
182
+ }, o.contained && {
183
+ marginLeft: 14,
184
+ marginRight: 14
185
+ })), he = /* @__PURE__ */ V.forwardRef(function(o, t) {
186
+ const a = H({
187
+ props: o,
188
+ name: "MuiFormHelperText"
189
+ }), {
190
+ children: c,
191
+ className: r,
192
+ component: u = "p"
193
+ } = a, m = _(a, fo), d = fe(), i = de({
194
+ props: a,
195
+ muiFormControl: d,
196
+ states: ["variant", "size", "disabled", "error", "filled", "focused", "required"]
197
+ }), b = g({}, a, {
198
+ component: u,
199
+ contained: i.variant === "filled" || i.variant === "outlined",
200
+ variant: i.variant,
201
+ size: i.size,
202
+ disabled: i.disabled,
203
+ error: i.error,
204
+ filled: i.filled,
205
+ focused: i.focused,
206
+ required: i.required
207
+ }), y = bo(b);
208
+ return /* @__PURE__ */ l(ho, g({
209
+ as: u,
210
+ ownerState: b,
211
+ className: S(y.root, r),
212
+ ref: t
213
+ }, m, {
214
+ children: c === " " ? (
215
+ // notranslate needed while Google Translate will not fix zero-width space issue
216
+ se || (se = /* @__PURE__ */ l("span", {
217
+ className: "notranslate",
218
+ children: "​"
219
+ }))
220
+ ) : c
221
+ }));
222
+ });
223
+ process.env.NODE_ENV !== "production" && (he.propTypes = {
224
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
225
+ // │ These PropTypes are generated from the TypeScript type definitions. │
226
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
227
+ // └─────────────────────────────────────────────────────────────────────┘
228
+ /**
229
+ * The content of the component.
230
+ *
231
+ * If `' '` is provided, the component reserves one line height for displaying a future message.
232
+ */
233
+ children: e.node,
234
+ /**
235
+ * Override or extend the styles applied to the component.
236
+ */
237
+ classes: e.object,
238
+ /**
239
+ * @ignore
240
+ */
241
+ className: e.string,
242
+ /**
243
+ * The component used for the root node.
244
+ * Either a string to use a HTML element or a component.
245
+ */
246
+ component: e.elementType,
247
+ /**
248
+ * If `true`, the helper text should be displayed in a disabled state.
249
+ */
250
+ disabled: e.bool,
251
+ /**
252
+ * If `true`, helper text should be displayed in an error state.
253
+ */
254
+ error: e.bool,
255
+ /**
256
+ * If `true`, the helper text should use filled classes key.
257
+ */
258
+ filled: e.bool,
259
+ /**
260
+ * If `true`, the helper text should use focused classes key.
261
+ */
262
+ focused: e.bool,
263
+ /**
264
+ * If `dense`, will adjust vertical spacing. This is normally obtained via context from
265
+ * FormControl.
266
+ */
267
+ margin: e.oneOf(["dense"]),
268
+ /**
269
+ * If `true`, the helper text should use required classes key.
270
+ */
271
+ required: e.bool,
272
+ /**
273
+ * The system prop that allows defining system overrides as well as additional CSS styles.
274
+ */
275
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
276
+ /**
277
+ * The variant to use.
278
+ */
279
+ variant: e.oneOfType([e.oneOf(["filled", "outlined", "standard"]), e.string])
280
+ });
281
+ function go(n) {
282
+ return W("MuiTextField", n);
283
+ }
284
+ J("MuiTextField", ["root"]);
285
+ const yo = ["autoComplete", "autoFocus", "children", "className", "color", "defaultValue", "disabled", "error", "FormHelperTextProps", "fullWidth", "helperText", "id", "InputLabelProps", "inputProps", "InputProps", "inputRef", "label", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onFocus", "placeholder", "required", "rows", "select", "SelectProps", "type", "value", "variant"], vo = {
286
+ standard: Ze,
287
+ filled: Qe,
288
+ outlined: eo
289
+ }, To = (n) => {
290
+ const {
291
+ classes: o
292
+ } = n;
293
+ return A({
294
+ root: ["root"]
295
+ }, go, o);
296
+ }, xo = $(ue, {
297
+ name: "MuiTextField",
298
+ slot: "Root",
299
+ overridesResolver: (n, o) => o.root
300
+ })({}), Y = /* @__PURE__ */ V.forwardRef(function(o, t) {
301
+ const a = H({
302
+ props: o,
303
+ name: "MuiTextField"
304
+ }), {
305
+ autoComplete: c,
306
+ autoFocus: r = !1,
307
+ children: u,
308
+ className: m,
309
+ color: d = "primary",
310
+ defaultValue: i,
311
+ disabled: b = !1,
312
+ error: y = !1,
313
+ FormHelperTextProps: x,
314
+ fullWidth: f = !1,
315
+ helperText: h,
316
+ id: C,
317
+ InputLabelProps: s,
318
+ inputProps: p,
319
+ InputProps: v,
320
+ inputRef: O,
321
+ label: P,
322
+ maxRows: T,
323
+ minRows: j,
324
+ multiline: k = !1,
325
+ name: I,
326
+ onBlur: w,
327
+ onChange: ve,
328
+ onFocus: Te,
329
+ placeholder: xe,
330
+ required: K = !1,
331
+ rows: Ce,
332
+ select: D = !1,
333
+ SelectProps: U,
334
+ type: Pe,
335
+ value: Q,
336
+ variant: q = "outlined"
337
+ } = a, Oe = _(a, yo), X = g({}, a, {
338
+ autoFocus: r,
339
+ color: d,
340
+ disabled: b,
341
+ error: y,
342
+ fullWidth: f,
343
+ multiline: k,
344
+ required: K,
345
+ select: D,
346
+ variant: q
347
+ }), Fe = To(X);
348
+ process.env.NODE_ENV !== "production" && D && !u && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
349
+ const N = {};
350
+ q === "outlined" && (s && typeof s.shrink < "u" && (N.notched = s.shrink), N.label = P), D && ((!U || !U.native) && (N.id = void 0), N["aria-describedby"] = void 0);
351
+ const R = Ke(C), G = h && R ? `${R}-helper-text` : void 0, Z = P && R ? `${R}-label` : void 0, Ie = vo[q], ee = /* @__PURE__ */ l(Ie, g({
352
+ "aria-describedby": G,
353
+ autoComplete: c,
354
+ autoFocus: r,
355
+ defaultValue: i,
356
+ fullWidth: f,
357
+ multiline: k,
358
+ name: I,
359
+ rows: Ce,
360
+ maxRows: T,
361
+ minRows: j,
362
+ type: Pe,
363
+ value: Q,
364
+ id: R,
365
+ inputRef: O,
366
+ onBlur: w,
367
+ onChange: ve,
368
+ onFocus: Te,
369
+ placeholder: xe,
370
+ inputProps: p
371
+ }, N, v));
372
+ return /* @__PURE__ */ F(xo, g({
373
+ className: S(Fe.root, m),
374
+ disabled: b,
375
+ error: y,
376
+ fullWidth: f,
377
+ ref: t,
378
+ required: K,
379
+ color: d,
380
+ variant: q,
381
+ ownerState: X
382
+ }, Oe, {
383
+ children: [P != null && P !== "" && /* @__PURE__ */ l(me, g({
384
+ htmlFor: R,
385
+ id: Z
386
+ }, s, {
387
+ children: P
388
+ })), D ? /* @__PURE__ */ l(pe, g({
389
+ "aria-describedby": G,
390
+ id: R,
391
+ labelId: Z,
392
+ value: Q,
393
+ input: ee
394
+ }, U, {
395
+ children: u
396
+ })) : ee, h && /* @__PURE__ */ l(he, g({
397
+ id: G
398
+ }, x, {
399
+ children: h
400
+ }))]
401
+ }));
402
+ });
403
+ process.env.NODE_ENV !== "production" && (Y.propTypes = {
404
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
405
+ // │ These PropTypes are generated from the TypeScript type definitions. │
406
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
407
+ // └─────────────────────────────────────────────────────────────────────┘
408
+ /**
409
+ * This prop helps users to fill forms faster, especially on mobile devices.
410
+ * The name can be confusing, as it's more like an autofill.
411
+ * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
412
+ */
413
+ autoComplete: e.string,
414
+ /**
415
+ * If `true`, the `input` element is focused during the first mount.
416
+ * @default false
417
+ */
418
+ autoFocus: e.bool,
419
+ /**
420
+ * @ignore
421
+ */
422
+ children: e.node,
423
+ /**
424
+ * Override or extend the styles applied to the component.
425
+ */
426
+ classes: e.object,
427
+ /**
428
+ * @ignore
429
+ */
430
+ className: e.string,
431
+ /**
432
+ * The color of the component.
433
+ * It supports both default and custom theme colors, which can be added as shown in the
434
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
435
+ * @default 'primary'
436
+ */
437
+ color: e.oneOfType([e.oneOf(["primary", "secondary", "error", "info", "success", "warning"]), e.string]),
438
+ /**
439
+ * The default value. Use when the component is not controlled.
440
+ */
441
+ defaultValue: e.any,
442
+ /**
443
+ * If `true`, the component is disabled.
444
+ * @default false
445
+ */
446
+ disabled: e.bool,
447
+ /**
448
+ * If `true`, the label is displayed in an error state.
449
+ * @default false
450
+ */
451
+ error: e.bool,
452
+ /**
453
+ * Props applied to the [`FormHelperText`](/material-ui/api/form-helper-text/) element.
454
+ */
455
+ FormHelperTextProps: e.object,
456
+ /**
457
+ * If `true`, the input will take up the full width of its container.
458
+ * @default false
459
+ */
460
+ fullWidth: e.bool,
461
+ /**
462
+ * The helper text content.
463
+ */
464
+ helperText: e.node,
465
+ /**
466
+ * The id of the `input` element.
467
+ * Use this prop to make `label` and `helperText` accessible for screen readers.
468
+ */
469
+ id: e.string,
470
+ /**
471
+ * Props applied to the [`InputLabel`](/material-ui/api/input-label/) element.
472
+ * Pointer events like `onClick` are enabled if and only if `shrink` is `true`.
473
+ */
474
+ InputLabelProps: e.object,
475
+ /**
476
+ * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
477
+ */
478
+ inputProps: e.object,
479
+ /**
480
+ * Props applied to the Input element.
481
+ * It will be a [`FilledInput`](/material-ui/api/filled-input/),
482
+ * [`OutlinedInput`](/material-ui/api/outlined-input/) or [`Input`](/material-ui/api/input/)
483
+ * component depending on the `variant` prop value.
484
+ */
485
+ InputProps: e.object,
486
+ /**
487
+ * Pass a ref to the `input` element.
488
+ */
489
+ inputRef: be,
490
+ /**
491
+ * The label content.
492
+ */
493
+ label: e.node,
494
+ /**
495
+ * If `dense` or `normal`, will adjust vertical spacing of this and contained components.
496
+ * @default 'none'
497
+ */
498
+ margin: e.oneOf(["dense", "none", "normal"]),
499
+ /**
500
+ * Maximum number of rows to display when multiline option is set to true.
501
+ */
502
+ maxRows: e.oneOfType([e.number, e.string]),
503
+ /**
504
+ * Minimum number of rows to display when multiline option is set to true.
505
+ */
506
+ minRows: e.oneOfType([e.number, e.string]),
507
+ /**
508
+ * If `true`, a `textarea` element is rendered instead of an input.
509
+ * @default false
510
+ */
511
+ multiline: e.bool,
512
+ /**
513
+ * Name attribute of the `input` element.
514
+ */
515
+ name: e.string,
516
+ /**
517
+ * @ignore
518
+ */
519
+ onBlur: e.func,
520
+ /**
521
+ * Callback fired when the value is changed.
522
+ *
523
+ * @param {object} event The event source of the callback.
524
+ * You can pull out the new value by accessing `event.target.value` (string).
525
+ */
526
+ onChange: e.func,
527
+ /**
528
+ * @ignore
529
+ */
530
+ onFocus: e.func,
531
+ /**
532
+ * The short hint displayed in the `input` before the user enters a value.
533
+ */
534
+ placeholder: e.string,
535
+ /**
536
+ * If `true`, the label is displayed as required and the `input` element is required.
537
+ * @default false
538
+ */
539
+ required: e.bool,
540
+ /**
541
+ * Number of rows to display when multiline option is set to true.
542
+ */
543
+ rows: e.oneOfType([e.number, e.string]),
544
+ /**
545
+ * Render a [`Select`](/material-ui/api/select/) element while passing the Input element to `Select` as `input` parameter.
546
+ * If this option is set you must pass the options of the select as children.
547
+ * @default false
548
+ */
549
+ select: e.bool,
550
+ /**
551
+ * Props applied to the [`Select`](/material-ui/api/select/) element.
552
+ */
553
+ SelectProps: e.object,
554
+ /**
555
+ * The size of the component.
556
+ */
557
+ size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
558
+ /**
559
+ * The system prop that allows defining system overrides as well as additional CSS styles.
560
+ */
561
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
562
+ /**
563
+ * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
564
+ */
565
+ type: e.string,
566
+ /**
567
+ * The value of the `input` element, required for a controlled component.
568
+ */
569
+ value: e.any,
570
+ /**
571
+ * The variant to use.
572
+ * @default 'outlined'
573
+ */
574
+ variant: e.oneOf(["filled", "outlined", "standard"])
575
+ });
576
+ const ge = mo({
577
+ createStyledComponent: $("div", {
578
+ name: "MuiStack",
579
+ slot: "Root",
580
+ overridesResolver: (n, o) => o.root
581
+ }),
582
+ useThemeProps: (n) => H({
583
+ props: n,
584
+ name: "MuiStack"
585
+ })
586
+ });
587
+ process.env.NODE_ENV !== "production" && (ge.propTypes = {
588
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
589
+ // │ These PropTypes are generated from the TypeScript type definitions. │
590
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
591
+ // └─────────────────────────────────────────────────────────────────────┘
592
+ /**
593
+ * The content of the component.
594
+ */
595
+ children: e.node,
596
+ /**
597
+ * The component used for the root node.
598
+ * Either a string to use a HTML element or a component.
599
+ */
600
+ component: e.elementType,
601
+ /**
602
+ * Defines the `flex-direction` style property.
603
+ * It is applied for all screen sizes.
604
+ * @default 'column'
605
+ */
606
+ direction: e.oneOfType([e.oneOf(["column-reverse", "column", "row-reverse", "row"]), e.arrayOf(e.oneOf(["column-reverse", "column", "row-reverse", "row"])), e.object]),
607
+ /**
608
+ * Add an element between each child.
609
+ */
610
+ divider: e.node,
611
+ /**
612
+ * Defines the space between immediate children.
613
+ * @default 0
614
+ */
615
+ spacing: e.oneOfType([e.arrayOf(e.oneOfType([e.number, e.string])), e.number, e.object, e.string]),
616
+ /**
617
+ * The system prop, which allows defining system overrides as well as additional CSS styles.
618
+ */
619
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
620
+ /**
621
+ * If `true`, the CSS flexbox `gap` is used instead of applying `margin` to children.
622
+ *
623
+ * While CSS `gap` removes the [known limitations](https://mui.com/joy-ui/react-stack/#limitations),
624
+ * it is not fully supported in some browsers. We recommend checking https://caniuse.com/?search=flex%20gap before using this flag.
625
+ *
626
+ * To enable this flag globally, follow the [theme's default props](https://mui.com/material-ui/customization/theme-components/#default-props) configuration.
627
+ * @default false
628
+ */
629
+ useFlexGap: e.bool
630
+ });
631
+ function Co(n) {
632
+ return W("MuiFormControlLabel", n);
633
+ }
634
+ const L = J("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlacementTop", "labelPlacementBottom", "disabled", "label", "error", "required", "asterisk"]), Po = ["checked", "className", "componentsProps", "control", "disabled", "disableTypography", "inputRef", "label", "labelPlacement", "name", "onChange", "required", "slotProps", "value"], Oo = (n) => {
635
+ const {
636
+ classes: o,
637
+ disabled: t,
638
+ labelPlacement: a,
639
+ error: c,
640
+ required: r
641
+ } = n, u = {
642
+ root: ["root", t && "disabled", `labelPlacement${B(a)}`, c && "error", r && "required"],
643
+ label: ["label", t && "disabled"],
644
+ asterisk: ["asterisk", c && "error"]
645
+ };
646
+ return A(u, Co, o);
647
+ }, Fo = $("label", {
648
+ name: "MuiFormControlLabel",
649
+ slot: "Root",
650
+ overridesResolver: (n, o) => {
651
+ const {
652
+ ownerState: t
653
+ } = n;
654
+ return [{
655
+ [`& .${L.label}`]: o.label
656
+ }, o.root, o[`labelPlacement${B(t.labelPlacement)}`]];
657
+ }
658
+ })(({
659
+ theme: n,
660
+ ownerState: o
661
+ }) => g({
662
+ display: "inline-flex",
663
+ alignItems: "center",
664
+ cursor: "pointer",
665
+ // For correct alignment with the text.
666
+ verticalAlign: "middle",
667
+ WebkitTapHighlightColor: "transparent",
668
+ marginLeft: -11,
669
+ marginRight: 16,
670
+ // used for row presentation of radio/checkbox
671
+ [`&.${L.disabled}`]: {
672
+ cursor: "default"
673
+ }
674
+ }, o.labelPlacement === "start" && {
675
+ flexDirection: "row-reverse",
676
+ marginLeft: 16,
677
+ // used for row presentation of radio/checkbox
678
+ marginRight: -11
679
+ }, o.labelPlacement === "top" && {
680
+ flexDirection: "column-reverse",
681
+ marginLeft: 16
682
+ }, o.labelPlacement === "bottom" && {
683
+ flexDirection: "column",
684
+ marginLeft: 16
685
+ }, {
686
+ [`& .${L.label}`]: {
687
+ [`&.${L.disabled}`]: {
688
+ color: (n.vars || n).palette.text.disabled
689
+ }
690
+ }
691
+ })), Io = $("span", {
692
+ name: "MuiFormControlLabel",
693
+ slot: "Asterisk",
694
+ overridesResolver: (n, o) => o.asterisk
695
+ })(({
696
+ theme: n
697
+ }) => ({
698
+ [`&.${L.error}`]: {
699
+ color: (n.vars || n).palette.error.main
700
+ }
701
+ })), ye = /* @__PURE__ */ V.forwardRef(function(o, t) {
702
+ var a, c;
703
+ const r = H({
704
+ props: o,
705
+ name: "MuiFormControlLabel"
706
+ }), {
707
+ className: u,
708
+ componentsProps: m = {},
709
+ control: d,
710
+ disabled: i,
711
+ disableTypography: b,
712
+ label: y,
713
+ labelPlacement: x = "end",
714
+ required: f,
715
+ slotProps: h = {}
716
+ } = r, C = _(r, Po), s = fe(), p = (a = i ?? d.props.disabled) != null ? a : s == null ? void 0 : s.disabled, v = f ?? d.props.required, O = {
717
+ disabled: p,
718
+ required: v
719
+ };
720
+ ["checked", "name", "onChange", "value", "inputRef"].forEach((w) => {
721
+ typeof d.props[w] > "u" && typeof r[w] < "u" && (O[w] = r[w]);
722
+ });
723
+ const P = de({
724
+ props: r,
725
+ muiFormControl: s,
726
+ states: ["error"]
727
+ }), T = g({}, r, {
728
+ disabled: p,
729
+ labelPlacement: x,
730
+ required: v,
731
+ error: P.error
732
+ }), j = Oo(T), k = (c = h.typography) != null ? c : m.typography;
733
+ let I = y;
734
+ return I != null && I.type !== re && !b && (I = /* @__PURE__ */ l(re, g({
735
+ component: "span"
736
+ }, k, {
737
+ className: S(j.label, k == null ? void 0 : k.className),
738
+ children: I
739
+ }))), /* @__PURE__ */ F(Fo, g({
740
+ className: S(j.root, u),
741
+ ownerState: T,
742
+ ref: t
743
+ }, C, {
744
+ children: [/* @__PURE__ */ V.cloneElement(d, O), v ? /* @__PURE__ */ F(ge, {
745
+ display: "block",
746
+ children: [I, /* @__PURE__ */ F(Io, {
747
+ ownerState: T,
748
+ "aria-hidden": !0,
749
+ className: j.asterisk,
750
+ children: [" ", "*"]
751
+ })]
752
+ }) : I]
753
+ }));
754
+ });
755
+ process.env.NODE_ENV !== "production" && (ye.propTypes = {
756
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
757
+ // │ These PropTypes are generated from the TypeScript type definitions. │
758
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
759
+ // └─────────────────────────────────────────────────────────────────────┘
760
+ /**
761
+ * If `true`, the component appears selected.
762
+ */
763
+ checked: e.bool,
764
+ /**
765
+ * Override or extend the styles applied to the component.
766
+ */
767
+ classes: e.object,
768
+ /**
769
+ * @ignore
770
+ */
771
+ className: e.string,
772
+ /**
773
+ * The props used for each slot inside.
774
+ * @default {}
775
+ */
776
+ componentsProps: e.shape({
777
+ typography: e.object
778
+ }),
779
+ /**
780
+ * A control element. For instance, it can be a `Radio`, a `Switch` or a `Checkbox`.
781
+ */
782
+ control: e.element.isRequired,
783
+ /**
784
+ * If `true`, the control is disabled.
785
+ */
786
+ disabled: e.bool,
787
+ /**
788
+ * If `true`, the label is rendered as it is passed without an additional typography node.
789
+ */
790
+ disableTypography: e.bool,
791
+ /**
792
+ * Pass a ref to the `input` element.
793
+ */
794
+ inputRef: be,
795
+ /**
796
+ * A text or an element to be used in an enclosing label element.
797
+ */
798
+ label: e.node,
799
+ /**
800
+ * The position of the label.
801
+ * @default 'end'
802
+ */
803
+ labelPlacement: e.oneOf(["bottom", "end", "start", "top"]),
804
+ /**
805
+ * @ignore
806
+ */
807
+ name: e.string,
808
+ /**
809
+ * Callback fired when the state is changed.
810
+ *
811
+ * @param {React.SyntheticEvent} event The event source of the callback.
812
+ * You can pull out the new checked state by accessing `event.target.checked` (boolean).
813
+ */
814
+ onChange: e.func,
815
+ /**
816
+ * If `true`, the label will indicate that the `input` is required.
817
+ */
818
+ required: e.bool,
819
+ /**
820
+ * The props used for each slot inside.
821
+ * @default {}
822
+ */
823
+ slotProps: e.shape({
824
+ typography: e.object
825
+ }),
826
+ /**
827
+ * The system prop that allows defining system overrides as well as additional CSS styles.
828
+ */
829
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
830
+ /**
831
+ * The value of the component.
832
+ */
833
+ value: e.any
834
+ });
835
+ function Ro({
836
+ property: n,
837
+ mapboxAccessToken: o,
838
+ value: t,
839
+ variant: a = "standard",
840
+ size: c = "medium",
841
+ onChange: r
842
+ }) {
843
+ var x;
844
+ const u = _e(!1), [m, d] = We(), i = (f) => {
845
+ d(M.get(f, n.propertyId));
846
+ }, b = () => {
847
+ r([...t || [], m]), d(""), u.action.close();
848
+ }, y = (f) => () => {
849
+ if (t) {
850
+ let h = [...t];
851
+ h.splice(f, 1), r(h);
852
+ }
853
+ };
854
+ return /* @__PURE__ */ F(ae, { children: [
855
+ /* @__PURE__ */ F($e, { variant: a, children: [
856
+ /* @__PURE__ */ l(ce, { children: n.name }),
857
+ /* @__PURE__ */ l(De, { children: M.isArray(t) && t.map((f, h) => {
858
+ var C, s;
859
+ return /* @__PURE__ */ l(
860
+ Re,
861
+ {
862
+ label: ((s = (C = n.dataTypeInfo) == null ? void 0 : C.innerType) == null ? void 0 : s.type) === "date" ? ie(f).format("DD/MM/YYYY HH:mm:ss") : f,
863
+ size: c,
864
+ onDelete: y(h)
865
+ },
866
+ h
867
+ );
868
+ }) }),
869
+ /* @__PURE__ */ l(
870
+ qe,
871
+ {
872
+ startIcon: /* @__PURE__ */ l(Ee, {}),
873
+ variant: "text",
874
+ onClick: u.action.open,
875
+ children: "Add"
876
+ }
877
+ )
878
+ ] }),
879
+ /* @__PURE__ */ F(
880
+ Ve,
881
+ {
882
+ open: u.state.isOpen,
883
+ onClose: u.action.close,
884
+ maxWidth: "sm",
885
+ fullWidth: !0,
886
+ children: [
887
+ /* @__PURE__ */ l(ke, { children: "Add List Value" }),
888
+ /* @__PURE__ */ l(we, { children: (x = n.dataTypeInfo) != null && x.innerType ? /* @__PURE__ */ l(
889
+ Vo,
890
+ {
891
+ mapboxAccessToken: o,
892
+ property: {
893
+ ...n,
894
+ name: "Value",
895
+ type: n.dataTypeInfo.innerType.type
896
+ },
897
+ value: m,
898
+ onChange: i
899
+ }
900
+ ) : null }),
901
+ /* @__PURE__ */ F(je, { children: [
902
+ /* @__PURE__ */ l(
903
+ oe,
904
+ {
905
+ variant: "contained",
906
+ color: "inherit",
907
+ onClick: u.action.close,
908
+ children: "Cancel"
909
+ }
910
+ ),
911
+ /* @__PURE__ */ l(oe, { variant: "contained", color: "primary", onClick: b, children: "Ok" })
912
+ ] })
913
+ ]
914
+ }
915
+ )
916
+ ] });
917
+ }
918
+ function Vo({
919
+ mapboxAccessToken: n,
920
+ property: o,
921
+ value: t,
922
+ variant: a = "standard",
923
+ size: c = "medium",
924
+ disableMargin: r = !1,
925
+ defaultExtent: u,
926
+ // keyAuth,
927
+ onChange: m
928
+ }) {
929
+ var C;
930
+ const d = (s) => {
931
+ const v = s.target.value.split(",").map((O) => O.trimStart());
932
+ m({
933
+ [o.propertyId]: v
934
+ });
935
+ }, i = (s) => {
936
+ const { name: p, type: v, checked: O, value: P } = s.target;
937
+ let T = P;
938
+ o.type === "double" && (T = T.replace(",", "."), T = T.replace(/[^\d.-]+/g, "")), m({
939
+ [p]: v === "checkbox" ? O : T
940
+ });
941
+ }, b = (s) => {
942
+ m({
943
+ [o.propertyId]: s
944
+ });
945
+ }, y = (s) => {
946
+ m({
947
+ [o.propertyId]: s.target.value
948
+ });
949
+ }, x = (s) => (p) => {
950
+ m({
951
+ [s]: p
952
+ });
953
+ }, f = (s) => (p) => {
954
+ m({
955
+ [s]: p
956
+ });
957
+ }, h = (s) => (p) => {
958
+ m({
959
+ [s]: p
960
+ });
961
+ };
962
+ if ([
963
+ "string",
964
+ "integer",
965
+ "double",
966
+ "text",
967
+ "long",
968
+ "byte",
969
+ "bank-account"
970
+ ].includes(o.type))
971
+ return /* @__PURE__ */ l(
972
+ Y,
973
+ {
974
+ label: o.name,
975
+ name: o.propertyId,
976
+ value: t ?? o.defaultValue ?? "",
977
+ defaultValue: t,
978
+ onChange: i,
979
+ variant: a,
980
+ type: "text",
981
+ multiline: o.type === "text",
982
+ disabled: !o.editable,
983
+ fullWidth: !0,
984
+ sx: { mb: r ? 0 : 2 },
985
+ InputProps: {
986
+ size: c,
987
+ ...o.privacyPreservationMethod === "ENCRYPTION" ? {
988
+ endAdornment: /* @__PURE__ */ l(Ne, { position: "end", children: /* @__PURE__ */ l(Le, { title: "Encrypted Field", children: /* @__PURE__ */ l(Me, {}) }) })
989
+ } : {}
990
+ }
991
+ }
992
+ );
993
+ if (o.type === "date") {
994
+ const s = t !== void 0 ? ie(t).format() : "";
995
+ return /* @__PURE__ */ F(Se, { mb: r ? 0 : 2, children: [
996
+ /* @__PURE__ */ l(ce, { variant: "subtitle2", children: o.name }),
997
+ /* @__PURE__ */ l(
998
+ He,
999
+ {
1000
+ value: s,
1001
+ variant: a,
1002
+ size: c,
1003
+ name: o.propertyId,
1004
+ onChange: b
1005
+ }
1006
+ )
1007
+ ] });
1008
+ }
1009
+ if (o.type === "list") {
1010
+ let s = "";
1011
+ return o.defaultValue && (s = M.isArray(o.defaultValue) ? t.join(", ") : o.defaultValue), t && (s = M.isArray(t) ? t.join(",") : t), /* @__PURE__ */ l(
1012
+ Y,
1013
+ {
1014
+ label: o.name,
1015
+ name: o.propertyId,
1016
+ value: s,
1017
+ onChange: d,
1018
+ variant: a,
1019
+ disabled: !o.editable,
1020
+ fullWidth: !0,
1021
+ helperText: c === "small" ? null : "Add list values with the comma (,) separated string",
1022
+ sx: { mb: r ? 0 : 2 },
1023
+ InputProps: {
1024
+ size: c,
1025
+ placeholder: c === "small" ? "Add list values with the comma (,) separated string" : ""
1026
+ }
1027
+ }
1028
+ );
1029
+ }
1030
+ if (o.type === "boolean")
1031
+ return /* @__PURE__ */ l(E, { mb: r ? 0 : 2, children: /* @__PURE__ */ l(
1032
+ ye,
1033
+ {
1034
+ control: /* @__PURE__ */ l(
1035
+ oo,
1036
+ {
1037
+ name: o.propertyId,
1038
+ checked: !!t,
1039
+ onChange: i,
1040
+ size: c
1041
+ }
1042
+ ),
1043
+ label: o.name
1044
+ }
1045
+ ) });
1046
+ if (o.type === "enum") {
1047
+ let s = [];
1048
+ return (C = o.dataTypeInfo) != null && C.enumValues && (s = o.dataTypeInfo.enumValues), /* @__PURE__ */ F(
1049
+ ue,
1050
+ {
1051
+ fullWidth: !0,
1052
+ variant: a,
1053
+ sx: { mb: r ? 0 : 2 },
1054
+ size: c,
1055
+ children: [
1056
+ /* @__PURE__ */ l(me, { id: `${o.propertyId}-label`, children: o.name }),
1057
+ /* @__PURE__ */ l(
1058
+ pe,
1059
+ {
1060
+ label: o.name,
1061
+ name: o.name,
1062
+ labelId: `${o.propertyId}-label`,
1063
+ id: o.propertyId,
1064
+ value: t ?? "",
1065
+ onChange: y,
1066
+ children: s.map((p, v) => /* @__PURE__ */ l(Xe, { value: p, children: p }, v))
1067
+ }
1068
+ )
1069
+ ]
1070
+ }
1071
+ );
1072
+ }
1073
+ return o.type === "geometry" ? /* @__PURE__ */ l(E, { sx: { mb: r ? 0 : 2, width: "100%" }, children: /* @__PURE__ */ l(
1074
+ Be,
1075
+ {
1076
+ mapboxAccessToken: n,
1077
+ label: o.name,
1078
+ value: t ?? o.defaultValue ?? "",
1079
+ defaultExtent: u,
1080
+ onChange: x(o.propertyId)
1081
+ }
1082
+ ) }) : o.type === "phone-number" ? /* @__PURE__ */ l(E, { sx: { mb: r ? 0 : 2, width: "100%" }, children: /* @__PURE__ */ l(
1083
+ Ae,
1084
+ {
1085
+ label: o.name,
1086
+ placeholder: "Enter phone number",
1087
+ value: t ?? o.defaultValue ?? "",
1088
+ onChange: f(o.propertyId)
1089
+ }
1090
+ ) }) : o.type === "composite-list" ? /* @__PURE__ */ l(E, { sx: { mb: r ? 0 : 2, width: "100%" }, children: /* @__PURE__ */ l(
1091
+ Ro,
1092
+ {
1093
+ property: o,
1094
+ value: t ?? o.defaultValue ?? "",
1095
+ variant: a,
1096
+ size: c,
1097
+ mapboxAccessToken: n,
1098
+ onChange: h(o.propertyId)
1099
+ }
1100
+ ) }) : /* @__PURE__ */ l(ae, {});
1101
+ }
1102
+ export {
1103
+ Ro as C,
1104
+ Vo as V
1105
+ };