@hybridcore/ui 1.6.13 → 1.6.14

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 (95) hide show
  1. package/dist/AccordionSummary-DUtr16g6.js +781 -0
  2. package/dist/Add-Bk8R160M.js +403 -0
  3. package/dist/Button-Cem3nbwc.js +357 -0
  4. package/dist/ButtonBase-DObmf4Q_.js +886 -0
  5. package/dist/Delete-CVJ6FeDn.js +203 -0
  6. package/dist/FormGroup-BRj1o7-E.js +89 -0
  7. package/dist/InputLabel-CjD30ZHz.js +341 -0
  8. package/dist/MenuItem-BKvRGLvM.js +233 -0
  9. package/dist/Modal-BVYydOr5.js +1156 -0
  10. package/dist/Paper-B1HV8GyO.js +582 -0
  11. package/dist/Select-Bfhvigsx.js +3914 -0
  12. package/dist/Source-BSZST_GH.js +4410 -0
  13. package/dist/SwitchBase-BEK49kdS.js +235 -0
  14. package/dist/Text-ChJRuaD8.js +2197 -0
  15. package/dist/TextField-Ca9ykixI.js +696 -0
  16. package/dist/TransitionGroupContext-Ja2CgIob.js +96 -0
  17. package/dist/Typography-D3X-Y5fh.js +178 -0
  18. package/dist/Vector-BmuhQO4p.js +3606 -0
  19. package/dist/Vector-DfTqQEln.js +1735 -0
  20. package/dist/WKT-2wsDT-nq.js +2310 -0
  21. package/dist/{_commonjsHelpers-BVfed4GL.js → _commonjsHelpers-BkfeUUK-.js} +2 -2
  22. package/dist/assertThisInitialized-C1dAyb4j.js +7 -0
  23. package/dist/assets/index.css +1 -1
  24. package/dist/assets/index2.css +1 -1
  25. package/dist/assets/index3.css +1 -0
  26. package/dist/assets/index4.css +1 -0
  27. package/dist/clsx-OuTLNxxd.js +16 -0
  28. package/dist/components/button/styled.js +1 -1
  29. package/dist/components/charts/_common/format.js +126 -82
  30. package/dist/components/charts/drill-down-voronoi-treemap/logic.js +1 -1
  31. package/dist/components/collapsible-card/index.js +30 -21
  32. package/dist/components/collapsible-card/styled.js +14 -16
  33. package/dist/components/color-picker/index.js +3358 -2228
  34. package/dist/components/color-picker/styled.js +7 -87
  35. package/dist/components/confirm/dialog.js +7 -89
  36. package/dist/components/confirm/index.js +1 -1
  37. package/dist/components/data-map/index.js +1 -1
  38. package/dist/components/data-map/logic.js +20 -20
  39. package/dist/components/data-security-selectors/dissemination-list/index.js +3117 -32
  40. package/dist/components/date-range-picker/index.js +454 -466
  41. package/dist/components/document-viewer/components/viewer/index.js +1 -1
  42. package/dist/components/duration-select/index.js +10 -10
  43. package/dist/components/duration-select/styled.js +1 -1
  44. package/dist/components/geometry-picker/coordinate/index.js +14 -14
  45. package/dist/components/geometry-picker/edit/index.js +1 -1
  46. package/dist/components/geometry-picker/geometry/index.js +1 -1
  47. package/dist/components/geometry-picker/kml/index.js +11 -11
  48. package/dist/components/geometry-picker/map/logic.js +3656 -145
  49. package/dist/components/geometry-picker/map/style.js +17 -18
  50. package/dist/components/geometry-picker/parser/coordinate-input/logic.js +1255 -43
  51. package/dist/components/heat-map/index.js +1 -1
  52. package/dist/components/heat-map/logic.js +1924 -77
  53. package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +2 -2
  54. package/dist/components/instance-hierarchy-table/styled.js +16 -18
  55. package/dist/components/map/helpers/mapbox.js +15 -17
  56. package/dist/components/map/helpers/ol.js +27 -386
  57. package/dist/components/map/index.js +10 -11
  58. package/dist/components/map/logic.js +22 -22
  59. package/dist/components/map/styled.js +27 -31
  60. package/dist/components/phone-input/index.js +9 -10
  61. package/dist/components/property-mapping/index.js +1 -1
  62. package/dist/components/prr-map/index.js +1 -1
  63. package/dist/components/prr-map/logic.js +26 -27
  64. package/dist/components/raster-grid-map/index.js +1 -1
  65. package/dist/components/raster-grid-map/logic.js +57 -60
  66. package/dist/components/sortable-list/index.js +1264 -1091
  67. package/dist/components/template-form/components/property-list/index.js +32 -36
  68. package/dist/components/template-form/components/property-list/property-list-columns.js +17 -19
  69. package/dist/components/template-form/components/property-list/property-list-form.js +600 -137
  70. package/dist/components/template-form/components/recognition-property-list/index.js +36 -40
  71. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +9 -11
  72. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +64 -57
  73. package/dist/components/tree-select/index.js +16 -16
  74. package/dist/createChainedFunction-C0nujS3O.js +9 -0
  75. package/dist/createSvgIcon-BghzB2Y9.js +93 -0
  76. package/dist/createSvgIcon-D7U1nd99.js +185 -0
  77. package/dist/debounce-46wSf_lW.js +15 -0
  78. package/dist/dialog-BtJhjyF5.js +664 -0
  79. package/dist/extends-C3382pL0.js +22 -0
  80. package/dist/formControlState-vgaj2ksH.js +10 -0
  81. package/dist/generateUtilityClasses-Cc-owZ4J.js +2971 -0
  82. package/dist/{index-C__OZmYy.js → index-CblbdqjE.js} +1 -1
  83. package/dist/index-DH6qsPBn.js +153 -0
  84. package/dist/index.esm-DAf19hyR.js +318 -0
  85. package/dist/math-Bvt2Ubuz.js +704 -0
  86. package/dist/ol-yOE-NV0X.js +7465 -0
  87. package/dist/ownerWindow-wg6foiOE.js +10 -0
  88. package/dist/setPrototypeOf-NPgp4cYc.js +8 -0
  89. package/dist/styled-DD4BkuVf.js +350 -0
  90. package/dist/useControlled-BYdyS7Pn.js +31 -0
  91. package/dist/useFormControl-CatNKXAi.js +10 -0
  92. package/dist/useId-BW-oWmul.js +19 -0
  93. package/dist/useSlot-u4t0X96G.js +42 -0
  94. package/package.json +1 -1
  95. package/dist/index.esm-UfGMjYOL.js +0 -197
@@ -0,0 +1,696 @@
1
+ import { createBox as de } from "@mui/system";
2
+ import { P as e } from "./index-CblbdqjE.js";
3
+ import { g as W, h as ce, T as ue, C as pe, a as V, s as A, b as q, u as k, c as G } from "./generateUtilityClasses-Cc-owZ4J.js";
4
+ import { a as i, _ as J } from "./extends-C3382pL0.js";
5
+ import * as p from "react";
6
+ import { c as K } from "./clsx-OuTLNxxd.js";
7
+ import { jsx as y, jsxs as fe } from "react/jsx-runtime";
8
+ import { i as me, a as ee, S as be, I as ge, F as he, O as Te } from "./Select-Bfhvigsx.js";
9
+ import { F as ye, u as xe } from "./useFormControl-CatNKXAi.js";
10
+ import { i as U } from "./createSvgIcon-BghzB2Y9.js";
11
+ import { u as Fe } from "./useId-BW-oWmul.js";
12
+ import { I as ve } from "./InputLabel-CjD30ZHz.js";
13
+ import { f as Ce } from "./formControlState-vgaj2ksH.js";
14
+ import { r as Oe } from "./TransitionGroupContext-Ja2CgIob.js";
15
+ const Ne = W("MuiBox", ["root"]), Ie = ce(), Re = de({
16
+ themeId: ue,
17
+ defaultTheme: Ie,
18
+ defaultClassName: Ne.root,
19
+ generateClassName: pe.generate
20
+ });
21
+ process.env.NODE_ENV !== "production" && (Re.propTypes = {
22
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
23
+ // │ These PropTypes are generated from the TypeScript type definitions. │
24
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
25
+ // └─────────────────────────────────────────────────────────────────────┘
26
+ /**
27
+ * @ignore
28
+ */
29
+ children: e.node,
30
+ /**
31
+ * The component used for the root node.
32
+ * Either a string to use a HTML element or a component.
33
+ */
34
+ component: e.elementType,
35
+ /**
36
+ * The system prop that allows defining system overrides as well as additional CSS styles.
37
+ */
38
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
39
+ });
40
+ function we(o) {
41
+ return V("MuiFormControl", o);
42
+ }
43
+ W("MuiFormControl", ["root", "marginNone", "marginNormal", "marginDense", "fullWidth", "disabled"]);
44
+ const Pe = ["children", "className", "color", "component", "disabled", "error", "focused", "fullWidth", "hiddenLabel", "margin", "required", "size", "variant"], Se = (o) => {
45
+ const {
46
+ classes: r,
47
+ margin: s,
48
+ fullWidth: t
49
+ } = o, l = {
50
+ root: ["root", s !== "none" && `margin${q(s)}`, t && "fullWidth"]
51
+ };
52
+ return G(l, we, r);
53
+ }, je = A("div", {
54
+ name: "MuiFormControl",
55
+ slot: "Root",
56
+ overridesResolver: ({
57
+ ownerState: o
58
+ }, r) => i({}, r.root, r[`margin${q(o.margin)}`], o.fullWidth && r.fullWidth)
59
+ })(({
60
+ ownerState: o
61
+ }) => i({
62
+ display: "inline-flex",
63
+ flexDirection: "column",
64
+ position: "relative",
65
+ // Reset fieldset default style.
66
+ minWidth: 0,
67
+ padding: 0,
68
+ margin: 0,
69
+ border: 0,
70
+ verticalAlign: "top"
71
+ }, o.margin === "normal" && {
72
+ marginTop: 16,
73
+ marginBottom: 8
74
+ }, o.margin === "dense" && {
75
+ marginTop: 8,
76
+ marginBottom: 4
77
+ }, o.fullWidth && {
78
+ width: "100%"
79
+ })), te = /* @__PURE__ */ p.forwardRef(function(r, s) {
80
+ const t = k({
81
+ props: r,
82
+ name: "MuiFormControl"
83
+ }), {
84
+ children: l,
85
+ className: f,
86
+ color: c = "primary",
87
+ component: m = "div",
88
+ disabled: a = !1,
89
+ error: n = !1,
90
+ focused: b,
91
+ fullWidth: g = !1,
92
+ hiddenLabel: C = !1,
93
+ margin: O = "none",
94
+ required: x = !1,
95
+ size: N = "medium",
96
+ variant: h = "outlined"
97
+ } = t, B = J(t, Pe), S = i({}, t, {
98
+ color: c,
99
+ component: m,
100
+ disabled: a,
101
+ error: n,
102
+ fullWidth: g,
103
+ hiddenLabel: C,
104
+ margin: O,
105
+ required: x,
106
+ size: N,
107
+ variant: h
108
+ }), _ = Se(S), [T, H] = p.useState(() => {
109
+ let d = !1;
110
+ return l && p.Children.forEach(l, (u) => {
111
+ if (!U(u, ["Input", "Select"]))
112
+ return;
113
+ const F = U(u, ["Select"]) ? u.props.input : u;
114
+ F && me(F.props) && (d = !0);
115
+ }), d;
116
+ }), [j, I] = p.useState(() => {
117
+ let d = !1;
118
+ return l && p.Children.forEach(l, (u) => {
119
+ U(u, ["Input", "Select"]) && (ee(u.props, !0) || ee(u.props.inputProps, !0)) && (d = !0);
120
+ }), d;
121
+ }), [E, R] = p.useState(!1);
122
+ a && E && R(!1);
123
+ const M = b !== void 0 && !a ? b : E;
124
+ let w;
125
+ if (process.env.NODE_ENV !== "production") {
126
+ const d = p.useRef(!1);
127
+ w = () => (d.current && console.error(["MUI: There are multiple `InputBase` components inside a FormControl.", "This creates visual inconsistencies, only use one `InputBase`."].join(`
128
+ `)), d.current = !0, () => {
129
+ d.current = !1;
130
+ });
131
+ }
132
+ const $ = p.useMemo(() => ({
133
+ adornedStart: T,
134
+ setAdornedStart: H,
135
+ color: c,
136
+ disabled: a,
137
+ error: n,
138
+ filled: j,
139
+ focused: M,
140
+ fullWidth: g,
141
+ hiddenLabel: C,
142
+ size: N,
143
+ onBlur: () => {
144
+ R(!1);
145
+ },
146
+ onEmpty: () => {
147
+ I(!1);
148
+ },
149
+ onFilled: () => {
150
+ I(!0);
151
+ },
152
+ onFocus: () => {
153
+ R(!0);
154
+ },
155
+ registerEffect: w,
156
+ required: x,
157
+ variant: h
158
+ }), [T, c, a, n, j, M, g, C, w, x, N, h]);
159
+ return /* @__PURE__ */ y(ye.Provider, {
160
+ value: $,
161
+ children: /* @__PURE__ */ y(je, i({
162
+ as: m,
163
+ ownerState: S,
164
+ className: K(_.root, f),
165
+ ref: s
166
+ }, B, {
167
+ children: l
168
+ }))
169
+ });
170
+ });
171
+ process.env.NODE_ENV !== "production" && (te.propTypes = {
172
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
173
+ // │ These PropTypes are generated from the TypeScript type definitions. │
174
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
175
+ // └─────────────────────────────────────────────────────────────────────┘
176
+ /**
177
+ * The content of the component.
178
+ */
179
+ children: e.node,
180
+ /**
181
+ * Override or extend the styles applied to the component.
182
+ */
183
+ classes: e.object,
184
+ /**
185
+ * @ignore
186
+ */
187
+ className: e.string,
188
+ /**
189
+ * The color of the component.
190
+ * It supports both default and custom theme colors, which can be added as shown in the
191
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
192
+ * @default 'primary'
193
+ */
194
+ color: e.oneOfType([e.oneOf(["primary", "secondary", "error", "info", "success", "warning"]), e.string]),
195
+ /**
196
+ * The component used for the root node.
197
+ * Either a string to use a HTML element or a component.
198
+ */
199
+ component: e.elementType,
200
+ /**
201
+ * If `true`, the label, input and helper text should be displayed in a disabled state.
202
+ * @default false
203
+ */
204
+ disabled: e.bool,
205
+ /**
206
+ * If `true`, the label is displayed in an error state.
207
+ * @default false
208
+ */
209
+ error: e.bool,
210
+ /**
211
+ * If `true`, the component is displayed in focused state.
212
+ */
213
+ focused: e.bool,
214
+ /**
215
+ * If `true`, the component will take up the full width of its container.
216
+ * @default false
217
+ */
218
+ fullWidth: e.bool,
219
+ /**
220
+ * If `true`, the label is hidden.
221
+ * This is used to increase density for a `FilledInput`.
222
+ * Be sure to add `aria-label` to the `input` element.
223
+ * @default false
224
+ */
225
+ hiddenLabel: e.bool,
226
+ /**
227
+ * If `dense` or `normal`, will adjust vertical spacing of this and contained components.
228
+ * @default 'none'
229
+ */
230
+ margin: e.oneOf(["dense", "none", "normal"]),
231
+ /**
232
+ * If `true`, the label will indicate that the `input` is required.
233
+ * @default false
234
+ */
235
+ required: e.bool,
236
+ /**
237
+ * The size of the component.
238
+ * @default 'medium'
239
+ */
240
+ size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
241
+ /**
242
+ * The system prop that allows defining system overrides as well as additional CSS styles.
243
+ */
244
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
245
+ /**
246
+ * The variant to use.
247
+ * @default 'outlined'
248
+ */
249
+ variant: e.oneOf(["filled", "outlined", "standard"])
250
+ });
251
+ function Ee(o) {
252
+ return V("MuiFormHelperText", o);
253
+ }
254
+ const oe = W("MuiFormHelperText", ["root", "error", "disabled", "sizeSmall", "sizeMedium", "contained", "focused", "filled", "required"]);
255
+ var re;
256
+ const Me = ["children", "className", "component", "disabled", "error", "filled", "focused", "margin", "required", "variant"], ze = (o) => {
257
+ const {
258
+ classes: r,
259
+ contained: s,
260
+ size: t,
261
+ disabled: l,
262
+ error: f,
263
+ filled: c,
264
+ focused: m,
265
+ required: a
266
+ } = o, n = {
267
+ root: ["root", l && "disabled", f && "error", t && `size${q(t)}`, s && "contained", m && "focused", c && "filled", a && "required"]
268
+ };
269
+ return G(n, Ee, r);
270
+ }, We = A("p", {
271
+ name: "MuiFormHelperText",
272
+ slot: "Root",
273
+ overridesResolver: (o, r) => {
274
+ const {
275
+ ownerState: s
276
+ } = o;
277
+ return [r.root, s.size && r[`size${q(s.size)}`], s.contained && r.contained, s.filled && r.filled];
278
+ }
279
+ })(({
280
+ theme: o,
281
+ ownerState: r
282
+ }) => i({
283
+ color: (o.vars || o).palette.text.secondary
284
+ }, o.typography.caption, {
285
+ textAlign: "left",
286
+ marginTop: 3,
287
+ marginRight: 0,
288
+ marginBottom: 0,
289
+ marginLeft: 0,
290
+ [`&.${oe.disabled}`]: {
291
+ color: (o.vars || o).palette.text.disabled
292
+ },
293
+ [`&.${oe.error}`]: {
294
+ color: (o.vars || o).palette.error.main
295
+ }
296
+ }, r.size === "small" && {
297
+ marginTop: 4
298
+ }, r.contained && {
299
+ marginLeft: 14,
300
+ marginRight: 14
301
+ })), ne = /* @__PURE__ */ p.forwardRef(function(r, s) {
302
+ const t = k({
303
+ props: r,
304
+ name: "MuiFormHelperText"
305
+ }), {
306
+ children: l,
307
+ className: f,
308
+ component: c = "p"
309
+ } = t, m = J(t, Me), a = xe(), n = Ce({
310
+ props: t,
311
+ muiFormControl: a,
312
+ states: ["variant", "size", "disabled", "error", "filled", "focused", "required"]
313
+ }), b = i({}, t, {
314
+ component: c,
315
+ contained: n.variant === "filled" || n.variant === "outlined",
316
+ variant: n.variant,
317
+ size: n.size,
318
+ disabled: n.disabled,
319
+ error: n.error,
320
+ filled: n.filled,
321
+ focused: n.focused,
322
+ required: n.required
323
+ }), g = ze(b);
324
+ return /* @__PURE__ */ y(We, i({
325
+ as: c,
326
+ ownerState: b,
327
+ className: K(g.root, f),
328
+ ref: s
329
+ }, m, {
330
+ children: l === " " ? (
331
+ // notranslate needed while Google Translate will not fix zero-width space issue
332
+ re || (re = /* @__PURE__ */ y("span", {
333
+ className: "notranslate",
334
+ children: "​"
335
+ }))
336
+ ) : l
337
+ }));
338
+ });
339
+ process.env.NODE_ENV !== "production" && (ne.propTypes = {
340
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
341
+ // │ These PropTypes are generated from the TypeScript type definitions. │
342
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
343
+ // └─────────────────────────────────────────────────────────────────────┘
344
+ /**
345
+ * The content of the component.
346
+ *
347
+ * If `' '` is provided, the component reserves one line height for displaying a future message.
348
+ */
349
+ children: e.node,
350
+ /**
351
+ * Override or extend the styles applied to the component.
352
+ */
353
+ classes: e.object,
354
+ /**
355
+ * @ignore
356
+ */
357
+ className: e.string,
358
+ /**
359
+ * The component used for the root node.
360
+ * Either a string to use a HTML element or a component.
361
+ */
362
+ component: e.elementType,
363
+ /**
364
+ * If `true`, the helper text should be displayed in a disabled state.
365
+ */
366
+ disabled: e.bool,
367
+ /**
368
+ * If `true`, helper text should be displayed in an error state.
369
+ */
370
+ error: e.bool,
371
+ /**
372
+ * If `true`, the helper text should use filled classes key.
373
+ */
374
+ filled: e.bool,
375
+ /**
376
+ * If `true`, the helper text should use focused classes key.
377
+ */
378
+ focused: e.bool,
379
+ /**
380
+ * If `dense`, will adjust vertical spacing. This is normally obtained via context from
381
+ * FormControl.
382
+ */
383
+ margin: e.oneOf(["dense"]),
384
+ /**
385
+ * If `true`, the helper text should use required classes key.
386
+ */
387
+ required: e.bool,
388
+ /**
389
+ * The system prop that allows defining system overrides as well as additional CSS styles.
390
+ */
391
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
392
+ /**
393
+ * The variant to use.
394
+ */
395
+ variant: e.oneOfType([e.oneOf(["filled", "outlined", "standard"]), e.string])
396
+ });
397
+ function qe(o) {
398
+ return V("MuiTextField", o);
399
+ }
400
+ W("MuiTextField", ["root"]);
401
+ const Be = ["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"], _e = {
402
+ standard: ge,
403
+ filled: he,
404
+ outlined: Te
405
+ }, He = (o) => {
406
+ const {
407
+ classes: r
408
+ } = o;
409
+ return G({
410
+ root: ["root"]
411
+ }, qe, r);
412
+ }, $e = A(te, {
413
+ name: "MuiTextField",
414
+ slot: "Root",
415
+ overridesResolver: (o, r) => r.root
416
+ })({}), Le = /* @__PURE__ */ p.forwardRef(function(r, s) {
417
+ const t = k({
418
+ props: r,
419
+ name: "MuiTextField"
420
+ }), {
421
+ autoComplete: l,
422
+ autoFocus: f = !1,
423
+ children: c,
424
+ className: m,
425
+ color: a = "primary",
426
+ defaultValue: n,
427
+ disabled: b = !1,
428
+ error: g = !1,
429
+ FormHelperTextProps: C,
430
+ fullWidth: O = !1,
431
+ helperText: x,
432
+ id: N,
433
+ InputLabelProps: h,
434
+ inputProps: B,
435
+ InputProps: S,
436
+ inputRef: _,
437
+ label: T,
438
+ maxRows: H,
439
+ minRows: j,
440
+ multiline: I = !1,
441
+ name: E,
442
+ onBlur: R,
443
+ onChange: M,
444
+ onFocus: w,
445
+ placeholder: $,
446
+ required: d = !1,
447
+ rows: u,
448
+ select: F = !1,
449
+ SelectProps: L,
450
+ type: se,
451
+ value: Q,
452
+ variant: z = "outlined"
453
+ } = t, le = J(t, Be), X = i({}, t, {
454
+ autoFocus: f,
455
+ color: a,
456
+ disabled: b,
457
+ error: g,
458
+ fullWidth: O,
459
+ multiline: I,
460
+ required: d,
461
+ select: F,
462
+ variant: z
463
+ }), ie = He(X);
464
+ process.env.NODE_ENV !== "production" && F && !c && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
465
+ const P = {};
466
+ z === "outlined" && (h && typeof h.shrink < "u" && (P.notched = h.shrink), P.label = T), F && ((!L || !L.native) && (P.id = void 0), P["aria-describedby"] = void 0);
467
+ const v = Fe(N), D = x && v ? `${v}-helper-text` : void 0, Y = T && v ? `${v}-label` : void 0, ae = _e[z], Z = /* @__PURE__ */ y(ae, i({
468
+ "aria-describedby": D,
469
+ autoComplete: l,
470
+ autoFocus: f,
471
+ defaultValue: n,
472
+ fullWidth: O,
473
+ multiline: I,
474
+ name: E,
475
+ rows: u,
476
+ maxRows: H,
477
+ minRows: j,
478
+ type: se,
479
+ value: Q,
480
+ id: v,
481
+ inputRef: _,
482
+ onBlur: R,
483
+ onChange: M,
484
+ onFocus: w,
485
+ placeholder: $,
486
+ inputProps: B
487
+ }, P, S));
488
+ return /* @__PURE__ */ fe($e, i({
489
+ className: K(ie.root, m),
490
+ disabled: b,
491
+ error: g,
492
+ fullWidth: O,
493
+ ref: s,
494
+ required: d,
495
+ color: a,
496
+ variant: z,
497
+ ownerState: X
498
+ }, le, {
499
+ children: [T != null && T !== "" && /* @__PURE__ */ y(ve, i({
500
+ htmlFor: v,
501
+ id: Y
502
+ }, h, {
503
+ children: T
504
+ })), F ? /* @__PURE__ */ y(be, i({
505
+ "aria-describedby": D,
506
+ id: v,
507
+ labelId: Y,
508
+ value: Q,
509
+ input: Z
510
+ }, L, {
511
+ children: c
512
+ })) : Z, x && /* @__PURE__ */ y(ne, i({
513
+ id: D
514
+ }, C, {
515
+ children: x
516
+ }))]
517
+ }));
518
+ });
519
+ process.env.NODE_ENV !== "production" && (Le.propTypes = {
520
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
521
+ // │ These PropTypes are generated from the TypeScript type definitions. │
522
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
523
+ // └─────────────────────────────────────────────────────────────────────┘
524
+ /**
525
+ * This prop helps users to fill forms faster, especially on mobile devices.
526
+ * The name can be confusing, as it's more like an autofill.
527
+ * You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
528
+ */
529
+ autoComplete: e.string,
530
+ /**
531
+ * If `true`, the `input` element is focused during the first mount.
532
+ * @default false
533
+ */
534
+ autoFocus: e.bool,
535
+ /**
536
+ * @ignore
537
+ */
538
+ children: e.node,
539
+ /**
540
+ * Override or extend the styles applied to the component.
541
+ */
542
+ classes: e.object,
543
+ /**
544
+ * @ignore
545
+ */
546
+ className: e.string,
547
+ /**
548
+ * The color of the component.
549
+ * It supports both default and custom theme colors, which can be added as shown in the
550
+ * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
551
+ * @default 'primary'
552
+ */
553
+ color: e.oneOfType([e.oneOf(["primary", "secondary", "error", "info", "success", "warning"]), e.string]),
554
+ /**
555
+ * The default value. Use when the component is not controlled.
556
+ */
557
+ defaultValue: e.any,
558
+ /**
559
+ * If `true`, the component is disabled.
560
+ * @default false
561
+ */
562
+ disabled: e.bool,
563
+ /**
564
+ * If `true`, the label is displayed in an error state.
565
+ * @default false
566
+ */
567
+ error: e.bool,
568
+ /**
569
+ * Props applied to the [`FormHelperText`](/material-ui/api/form-helper-text/) element.
570
+ */
571
+ FormHelperTextProps: e.object,
572
+ /**
573
+ * If `true`, the input will take up the full width of its container.
574
+ * @default false
575
+ */
576
+ fullWidth: e.bool,
577
+ /**
578
+ * The helper text content.
579
+ */
580
+ helperText: e.node,
581
+ /**
582
+ * The id of the `input` element.
583
+ * Use this prop to make `label` and `helperText` accessible for screen readers.
584
+ */
585
+ id: e.string,
586
+ /**
587
+ * Props applied to the [`InputLabel`](/material-ui/api/input-label/) element.
588
+ * Pointer events like `onClick` are enabled if and only if `shrink` is `true`.
589
+ */
590
+ InputLabelProps: e.object,
591
+ /**
592
+ * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
593
+ */
594
+ inputProps: e.object,
595
+ /**
596
+ * Props applied to the Input element.
597
+ * It will be a [`FilledInput`](/material-ui/api/filled-input/),
598
+ * [`OutlinedInput`](/material-ui/api/outlined-input/) or [`Input`](/material-ui/api/input/)
599
+ * component depending on the `variant` prop value.
600
+ */
601
+ InputProps: e.object,
602
+ /**
603
+ * Pass a ref to the `input` element.
604
+ */
605
+ inputRef: Oe,
606
+ /**
607
+ * The label content.
608
+ */
609
+ label: e.node,
610
+ /**
611
+ * If `dense` or `normal`, will adjust vertical spacing of this and contained components.
612
+ * @default 'none'
613
+ */
614
+ margin: e.oneOf(["dense", "none", "normal"]),
615
+ /**
616
+ * Maximum number of rows to display when multiline option is set to true.
617
+ */
618
+ maxRows: e.oneOfType([e.number, e.string]),
619
+ /**
620
+ * Minimum number of rows to display when multiline option is set to true.
621
+ */
622
+ minRows: e.oneOfType([e.number, e.string]),
623
+ /**
624
+ * If `true`, a `textarea` element is rendered instead of an input.
625
+ * @default false
626
+ */
627
+ multiline: e.bool,
628
+ /**
629
+ * Name attribute of the `input` element.
630
+ */
631
+ name: e.string,
632
+ /**
633
+ * @ignore
634
+ */
635
+ onBlur: e.func,
636
+ /**
637
+ * Callback fired when the value is changed.
638
+ *
639
+ * @param {object} event The event source of the callback.
640
+ * You can pull out the new value by accessing `event.target.value` (string).
641
+ */
642
+ onChange: e.func,
643
+ /**
644
+ * @ignore
645
+ */
646
+ onFocus: e.func,
647
+ /**
648
+ * The short hint displayed in the `input` before the user enters a value.
649
+ */
650
+ placeholder: e.string,
651
+ /**
652
+ * If `true`, the label is displayed as required and the `input` element is required.
653
+ * @default false
654
+ */
655
+ required: e.bool,
656
+ /**
657
+ * Number of rows to display when multiline option is set to true.
658
+ */
659
+ rows: e.oneOfType([e.number, e.string]),
660
+ /**
661
+ * Render a [`Select`](/material-ui/api/select/) element while passing the Input element to `Select` as `input` parameter.
662
+ * If this option is set you must pass the options of the select as children.
663
+ * @default false
664
+ */
665
+ select: e.bool,
666
+ /**
667
+ * Props applied to the [`Select`](/material-ui/api/select/) element.
668
+ */
669
+ SelectProps: e.object,
670
+ /**
671
+ * The size of the component.
672
+ */
673
+ size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
674
+ /**
675
+ * The system prop that allows defining system overrides as well as additional CSS styles.
676
+ */
677
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
678
+ /**
679
+ * 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).
680
+ */
681
+ type: e.string,
682
+ /**
683
+ * The value of the `input` element, required for a controlled component.
684
+ */
685
+ value: e.any,
686
+ /**
687
+ * The variant to use.
688
+ * @default 'outlined'
689
+ */
690
+ variant: e.oneOf(["filled", "outlined", "standard"])
691
+ });
692
+ export {
693
+ Re as B,
694
+ te as F,
695
+ Le as T
696
+ };