@hybridcore/ui 1.6.12 → 1.6.13

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