@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,23 +0,0 @@
1
- import { i as t } from "./generateUtilityClasses-C3ivN9Ie.js";
2
- import { r as a } from "./createSvgIcon-DuDuASu1.js";
3
- import u from "react/jsx-runtime";
4
- var e = {}, l = t;
5
- Object.defineProperty(e, "__esModule", {
6
- value: !0
7
- });
8
- var i = e.default = void 0, o = l(a()), d = u;
9
- i = e.default = (0, o.default)(/* @__PURE__ */ (0, d.jsx)("path", {
10
- d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"
11
- }), "Edit");
12
- var r = {}, v = t;
13
- Object.defineProperty(r, "__esModule", {
14
- value: !0
15
- });
16
- var f = r.default = void 0, p = v(a()), _ = u;
17
- f = r.default = (0, p.default)(/* @__PURE__ */ (0, _.jsx)("path", {
18
- d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"
19
- }), "Delete");
20
- export {
21
- f as a,
22
- i as d
23
- };
@@ -1,523 +0,0 @@
1
- import { a as t, _ as T } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
2
- import * as u from "react";
3
- import { P as o } from "./index-C__OZmYy.js";
4
- import { c as b } from "./clsx-OuTLNxxd.js";
5
- import { g as h, a as y, s as f, b as m, u as S, c as P } from "./generateUtilityClasses-C3ivN9Ie.js";
6
- import { P as R, u as G } from "./Paper-BkQLdsCI.js";
7
- import { jsx as p } from "react/jsx-runtime";
8
- import { B as J, M as Q, F as Z } from "./Modal-MUZygjmQ.js";
9
- import { u as oo } from "./useId-BW-oWmul.js";
10
- function eo(e) {
11
- return y("MuiDialog", e);
12
- }
13
- const W = h("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "paper", "paperScrollPaper", "paperScrollBody", "paperWidthFalse", "paperWidthXs", "paperWidthSm", "paperWidthMd", "paperWidthLg", "paperWidthXl", "paperFullWidth", "paperFullScreen"]), j = /* @__PURE__ */ u.createContext({});
14
- process.env.NODE_ENV !== "production" && (j.displayName = "DialogContext");
15
- const ao = ["aria-describedby", "aria-labelledby", "BackdropComponent", "BackdropProps", "children", "className", "disableEscapeKeyDown", "fullScreen", "fullWidth", "maxWidth", "onBackdropClick", "onClick", "onClose", "open", "PaperComponent", "PaperProps", "scroll", "TransitionComponent", "transitionDuration", "TransitionProps"], ro = f(J, {
16
- name: "MuiDialog",
17
- slot: "Backdrop",
18
- overrides: (e, a) => a.backdrop
19
- })({
20
- // Improve scrollable dialog support.
21
- zIndex: -1
22
- }), io = (e) => {
23
- const {
24
- classes: a,
25
- scroll: r,
26
- maxWidth: i,
27
- fullWidth: s,
28
- fullScreen: n
29
- } = e, l = {
30
- root: ["root"],
31
- container: ["container", `scroll${m(r)}`],
32
- paper: ["paper", `paperScroll${m(r)}`, `paperWidth${m(String(i))}`, s && "paperFullWidth", n && "paperFullScreen"]
33
- };
34
- return P(l, eo, a);
35
- }, to = f(Q, {
36
- name: "MuiDialog",
37
- slot: "Root",
38
- overridesResolver: (e, a) => a.root
39
- })({
40
- "@media print": {
41
- // Use !important to override the Modal inline-style.
42
- position: "absolute !important"
43
- }
44
- }), so = f("div", {
45
- name: "MuiDialog",
46
- slot: "Container",
47
- overridesResolver: (e, a) => {
48
- const {
49
- ownerState: r
50
- } = e;
51
- return [a.container, a[`scroll${m(r.scroll)}`]];
52
- }
53
- })(({
54
- ownerState: e
55
- }) => t({
56
- height: "100%",
57
- "@media print": {
58
- height: "auto"
59
- },
60
- // We disable the focus ring for mouse, touch and keyboard users.
61
- outline: 0
62
- }, e.scroll === "paper" && {
63
- display: "flex",
64
- justifyContent: "center",
65
- alignItems: "center"
66
- }, e.scroll === "body" && {
67
- overflowY: "auto",
68
- overflowX: "hidden",
69
- textAlign: "center",
70
- "&::after": {
71
- content: '""',
72
- display: "inline-block",
73
- verticalAlign: "middle",
74
- height: "100%",
75
- width: "0"
76
- }
77
- })), no = f(R, {
78
- name: "MuiDialog",
79
- slot: "Paper",
80
- overridesResolver: (e, a) => {
81
- const {
82
- ownerState: r
83
- } = e;
84
- return [a.paper, a[`scrollPaper${m(r.scroll)}`], a[`paperWidth${m(String(r.maxWidth))}`], r.fullWidth && a.paperFullWidth, r.fullScreen && a.paperFullScreen];
85
- }
86
- })(({
87
- theme: e,
88
- ownerState: a
89
- }) => t({
90
- margin: 32,
91
- position: "relative",
92
- overflowY: "auto",
93
- // Fix IE11 issue, to remove at some point.
94
- "@media print": {
95
- overflowY: "visible",
96
- boxShadow: "none"
97
- }
98
- }, a.scroll === "paper" && {
99
- display: "flex",
100
- flexDirection: "column",
101
- maxHeight: "calc(100% - 64px)"
102
- }, a.scroll === "body" && {
103
- display: "inline-block",
104
- verticalAlign: "middle",
105
- textAlign: "left"
106
- // 'initial' doesn't work on IE11
107
- }, !a.maxWidth && {
108
- maxWidth: "calc(100% - 64px)"
109
- }, a.maxWidth === "xs" && {
110
- maxWidth: e.breakpoints.unit === "px" ? Math.max(e.breakpoints.values.xs, 444) : `max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,
111
- [`&.${W.paperScrollBody}`]: {
112
- [e.breakpoints.down(Math.max(e.breakpoints.values.xs, 444) + 32 * 2)]: {
113
- maxWidth: "calc(100% - 64px)"
114
- }
115
- }
116
- }, a.maxWidth && a.maxWidth !== "xs" && {
117
- maxWidth: `${e.breakpoints.values[a.maxWidth]}${e.breakpoints.unit}`,
118
- [`&.${W.paperScrollBody}`]: {
119
- [e.breakpoints.down(e.breakpoints.values[a.maxWidth] + 32 * 2)]: {
120
- maxWidth: "calc(100% - 64px)"
121
- }
122
- }
123
- }, a.fullWidth && {
124
- width: "calc(100% - 64px)"
125
- }, a.fullScreen && {
126
- margin: 0,
127
- width: "100%",
128
- maxWidth: "100%",
129
- height: "100%",
130
- maxHeight: "none",
131
- borderRadius: 0,
132
- [`&.${W.paperScrollBody}`]: {
133
- margin: 0,
134
- maxWidth: "100%"
135
- }
136
- })), lo = /* @__PURE__ */ u.forwardRef(function(a, r) {
137
- const i = S({
138
- props: a,
139
- name: "MuiDialog"
140
- }), s = G(), n = {
141
- enter: s.transitions.duration.enteringScreen,
142
- exit: s.transitions.duration.leavingScreen
143
- }, {
144
- "aria-describedby": l,
145
- "aria-labelledby": c,
146
- BackdropComponent: g,
147
- BackdropProps: A,
148
- children: E,
149
- className: _,
150
- disableEscapeKeyDown: M = !1,
151
- fullScreen: F = !1,
152
- fullWidth: U = !1,
153
- maxWidth: I = "sm",
154
- onBackdropClick: N,
155
- onClick: w,
156
- onClose: D,
157
- open: B,
158
- PaperComponent: L = R,
159
- PaperProps: $ = {},
160
- scroll: V = "paper",
161
- TransitionComponent: K = Z,
162
- transitionDuration: O = n,
163
- TransitionProps: Y
164
- } = i, X = T(i, ao), x = t({}, i, {
165
- disableEscapeKeyDown: M,
166
- fullScreen: F,
167
- fullWidth: U,
168
- maxWidth: I,
169
- scroll: V
170
- }), C = io(x), v = u.useRef(), z = (d) => {
171
- v.current = d.target === d.currentTarget;
172
- }, H = (d) => {
173
- w && w(d), v.current && (v.current = null, N && N(d), D && D(d, "backdropClick"));
174
- }, k = oo(c), q = u.useMemo(() => ({
175
- titleId: k
176
- }), [k]);
177
- return /* @__PURE__ */ p(to, t({
178
- className: b(C.root, _),
179
- closeAfterTransition: !0,
180
- components: {
181
- Backdrop: ro
182
- },
183
- componentsProps: {
184
- backdrop: t({
185
- transitionDuration: O,
186
- as: g
187
- }, A)
188
- },
189
- disableEscapeKeyDown: M,
190
- onClose: D,
191
- open: B,
192
- ref: r,
193
- onClick: H,
194
- ownerState: x
195
- }, X, {
196
- children: /* @__PURE__ */ p(K, t({
197
- appear: !0,
198
- in: B,
199
- timeout: O,
200
- role: "presentation"
201
- }, Y, {
202
- children: /* @__PURE__ */ p(so, {
203
- className: b(C.container),
204
- onMouseDown: z,
205
- ownerState: x,
206
- children: /* @__PURE__ */ p(no, t({
207
- as: L,
208
- elevation: 24,
209
- role: "dialog",
210
- "aria-describedby": l,
211
- "aria-labelledby": k
212
- }, $, {
213
- className: b(C.paper, $.className),
214
- ownerState: x,
215
- children: /* @__PURE__ */ p(j.Provider, {
216
- value: q,
217
- children: E
218
- })
219
- }))
220
- })
221
- }))
222
- }));
223
- });
224
- process.env.NODE_ENV !== "production" && (lo.propTypes = {
225
- // ┌────────────────────────────── Warning ──────────────────────────────┐
226
- // │ These PropTypes are generated from the TypeScript type definitions. │
227
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
228
- // └─────────────────────────────────────────────────────────────────────┘
229
- /**
230
- * The id(s) of the element(s) that describe the dialog.
231
- */
232
- "aria-describedby": o.string,
233
- /**
234
- * The id(s) of the element(s) that label the dialog.
235
- */
236
- "aria-labelledby": o.string,
237
- /**
238
- * A backdrop component. This prop enables custom backdrop rendering.
239
- * @deprecated Use `slots.backdrop` instead. While this prop currently works, it will be removed in the next major version.
240
- * Use the `slots.backdrop` prop to make your application ready for the next version of Material UI.
241
- * @default styled(Backdrop, {
242
- * name: 'MuiModal',
243
- * slot: 'Backdrop',
244
- * overridesResolver: (props, styles) => {
245
- * return styles.backdrop;
246
- * },
247
- * })({
248
- * zIndex: -1,
249
- * })
250
- */
251
- BackdropComponent: o.elementType,
252
- /**
253
- * @ignore
254
- */
255
- BackdropProps: o.object,
256
- /**
257
- * Dialog children, usually the included sub-components.
258
- */
259
- children: o.node,
260
- /**
261
- * Override or extend the styles applied to the component.
262
- */
263
- classes: o.object,
264
- /**
265
- * @ignore
266
- */
267
- className: o.string,
268
- /**
269
- * If `true`, hitting escape will not fire the `onClose` callback.
270
- * @default false
271
- */
272
- disableEscapeKeyDown: o.bool,
273
- /**
274
- * If `true`, the dialog is full-screen.
275
- * @default false
276
- */
277
- fullScreen: o.bool,
278
- /**
279
- * If `true`, the dialog stretches to `maxWidth`.
280
- *
281
- * Notice that the dialog width grow is limited by the default margin.
282
- * @default false
283
- */
284
- fullWidth: o.bool,
285
- /**
286
- * Determine the max-width of the dialog.
287
- * The dialog width grows with the size of the screen.
288
- * Set to `false` to disable `maxWidth`.
289
- * @default 'sm'
290
- */
291
- maxWidth: o.oneOfType([o.oneOf(["xs", "sm", "md", "lg", "xl", !1]), o.string]),
292
- /**
293
- * Callback fired when the backdrop is clicked.
294
- * @deprecated Use the `onClose` prop with the `reason` argument to handle the `backdropClick` events.
295
- */
296
- onBackdropClick: o.func,
297
- /**
298
- * @ignore
299
- */
300
- onClick: o.func,
301
- /**
302
- * Callback fired when the component requests to be closed.
303
- *
304
- * @param {object} event The event source of the callback.
305
- * @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
306
- */
307
- onClose: o.func,
308
- /**
309
- * If `true`, the component is shown.
310
- */
311
- open: o.bool.isRequired,
312
- /**
313
- * The component used to render the body of the dialog.
314
- * @default Paper
315
- */
316
- PaperComponent: o.elementType,
317
- /**
318
- * Props applied to the [`Paper`](/material-ui/api/paper/) element.
319
- * @default {}
320
- */
321
- PaperProps: o.object,
322
- /**
323
- * Determine the container for scrolling the dialog.
324
- * @default 'paper'
325
- */
326
- scroll: o.oneOf(["body", "paper"]),
327
- /**
328
- * The system prop that allows defining system overrides as well as additional CSS styles.
329
- */
330
- sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
331
- /**
332
- * The component used for the transition.
333
- * [Follow this guide](/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
334
- * @default Fade
335
- */
336
- TransitionComponent: o.elementType,
337
- /**
338
- * The duration for the transition, in milliseconds.
339
- * You may specify a single timeout for all transitions, or individually with an object.
340
- * @default {
341
- * enter: theme.transitions.duration.enteringScreen,
342
- * exit: theme.transitions.duration.leavingScreen,
343
- * }
344
- */
345
- transitionDuration: o.oneOfType([o.number, o.shape({
346
- appear: o.number,
347
- enter: o.number,
348
- exit: o.number
349
- })]),
350
- /**
351
- * Props applied to the transition element.
352
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
353
- */
354
- TransitionProps: o.object
355
- });
356
- function co(e) {
357
- return y("MuiDialogActions", e);
358
- }
359
- h("MuiDialogActions", ["root", "spacing"]);
360
- const po = ["className", "disableSpacing"], uo = (e) => {
361
- const {
362
- classes: a,
363
- disableSpacing: r
364
- } = e;
365
- return P({
366
- root: ["root", !r && "spacing"]
367
- }, co, a);
368
- }, mo = f("div", {
369
- name: "MuiDialogActions",
370
- slot: "Root",
371
- overridesResolver: (e, a) => {
372
- const {
373
- ownerState: r
374
- } = e;
375
- return [a.root, !r.disableSpacing && a.spacing];
376
- }
377
- })(({
378
- ownerState: e
379
- }) => t({
380
- display: "flex",
381
- alignItems: "center",
382
- padding: 8,
383
- justifyContent: "flex-end",
384
- flex: "0 0 auto"
385
- }, !e.disableSpacing && {
386
- "& > :not(style) ~ :not(style)": {
387
- marginLeft: 8
388
- }
389
- })), fo = /* @__PURE__ */ u.forwardRef(function(a, r) {
390
- const i = S({
391
- props: a,
392
- name: "MuiDialogActions"
393
- }), {
394
- className: s,
395
- disableSpacing: n = !1
396
- } = i, l = T(i, po), c = t({}, i, {
397
- disableSpacing: n
398
- }), g = uo(c);
399
- return /* @__PURE__ */ p(mo, t({
400
- className: b(g.root, s),
401
- ownerState: c,
402
- ref: r
403
- }, l));
404
- });
405
- process.env.NODE_ENV !== "production" && (fo.propTypes = {
406
- // ┌────────────────────────────── Warning ──────────────────────────────┐
407
- // │ These PropTypes are generated from the TypeScript type definitions. │
408
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
409
- // └─────────────────────────────────────────────────────────────────────┘
410
- /**
411
- * The content of the component.
412
- */
413
- children: o.node,
414
- /**
415
- * Override or extend the styles applied to the component.
416
- */
417
- classes: o.object,
418
- /**
419
- * @ignore
420
- */
421
- className: o.string,
422
- /**
423
- * If `true`, the actions do not have additional margin.
424
- * @default false
425
- */
426
- disableSpacing: o.bool,
427
- /**
428
- * The system prop that allows defining system overrides as well as additional CSS styles.
429
- */
430
- sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
431
- });
432
- function go(e) {
433
- return y("MuiDialogContent", e);
434
- }
435
- h("MuiDialogContent", ["root", "dividers"]);
436
- function No(e) {
437
- return y("MuiDialogTitle", e);
438
- }
439
- const bo = h("MuiDialogTitle", ["root"]), xo = ["className", "dividers"], ho = (e) => {
440
- const {
441
- classes: a,
442
- dividers: r
443
- } = e;
444
- return P({
445
- root: ["root", r && "dividers"]
446
- }, go, a);
447
- }, yo = f("div", {
448
- name: "MuiDialogContent",
449
- slot: "Root",
450
- overridesResolver: (e, a) => {
451
- const {
452
- ownerState: r
453
- } = e;
454
- return [a.root, r.dividers && a.dividers];
455
- }
456
- })(({
457
- theme: e,
458
- ownerState: a
459
- }) => t({
460
- flex: "1 1 auto",
461
- // Add iOS momentum scrolling for iOS < 13.0
462
- WebkitOverflowScrolling: "touch",
463
- overflowY: "auto",
464
- padding: "20px 24px"
465
- }, a.dividers ? {
466
- padding: "16px 24px",
467
- borderTop: `1px solid ${(e.vars || e).palette.divider}`,
468
- borderBottom: `1px solid ${(e.vars || e).palette.divider}`
469
- } : {
470
- [`.${bo.root} + &`]: {
471
- paddingTop: 0
472
- }
473
- })), Do = /* @__PURE__ */ u.forwardRef(function(a, r) {
474
- const i = S({
475
- props: a,
476
- name: "MuiDialogContent"
477
- }), {
478
- className: s,
479
- dividers: n = !1
480
- } = i, l = T(i, xo), c = t({}, i, {
481
- dividers: n
482
- }), g = ho(c);
483
- return /* @__PURE__ */ p(yo, t({
484
- className: b(g.root, s),
485
- ownerState: c,
486
- ref: r
487
- }, l));
488
- });
489
- process.env.NODE_ENV !== "production" && (Do.propTypes = {
490
- // ┌────────────────────────────── Warning ──────────────────────────────┐
491
- // │ These PropTypes are generated from the TypeScript type definitions. │
492
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
493
- // └─────────────────────────────────────────────────────────────────────┘
494
- /**
495
- * The content of the component.
496
- */
497
- children: o.node,
498
- /**
499
- * Override or extend the styles applied to the component.
500
- */
501
- classes: o.object,
502
- /**
503
- * @ignore
504
- */
505
- className: o.string,
506
- /**
507
- * Display the top and bottom dividers.
508
- * @default false
509
- */
510
- dividers: o.bool,
511
- /**
512
- * The system prop that allows defining system overrides as well as additional CSS styles.
513
- */
514
- sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
515
- });
516
- export {
517
- lo as D,
518
- Do as a,
519
- j as b,
520
- fo as c,
521
- W as d,
522
- No as g
523
- };
@@ -1,89 +0,0 @@
1
- import { a, _ as f } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
2
- import * as w from "react";
3
- import { P as o } from "./index-C__OZmYy.js";
4
- import { c as d } from "./clsx-OuTLNxxd.js";
5
- import { g as F, a as x, s as y, u as C, c as G } from "./generateUtilityClasses-C3ivN9Ie.js";
6
- import { u as b } from "./useFormControl-CatNKXAi.js";
7
- import { f as N } from "./formControlState-vgaj2ksH.js";
8
- import { jsx as g } from "react/jsx-runtime";
9
- function j(r) {
10
- return x("MuiFormGroup", r);
11
- }
12
- F("MuiFormGroup", ["root", "row", "error"]);
13
- const v = ["className", "row"], R = (r) => {
14
- const {
15
- classes: s,
16
- row: t,
17
- error: e
18
- } = r;
19
- return G({
20
- root: ["root", t && "row", e && "error"]
21
- }, j, s);
22
- }, _ = y("div", {
23
- name: "MuiFormGroup",
24
- slot: "Root",
25
- overridesResolver: (r, s) => {
26
- const {
27
- ownerState: t
28
- } = r;
29
- return [s.root, t.row && s.row];
30
- }
31
- })(({
32
- ownerState: r
33
- }) => a({
34
- display: "flex",
35
- flexDirection: "column",
36
- flexWrap: "wrap"
37
- }, r.row && {
38
- flexDirection: "row"
39
- })), D = /* @__PURE__ */ w.forwardRef(function(s, t) {
40
- const e = C({
41
- props: s,
42
- name: "MuiFormGroup"
43
- }), {
44
- className: n,
45
- row: i = !1
46
- } = e, l = f(e, v), m = b(), p = N({
47
- props: e,
48
- muiFormControl: m,
49
- states: ["error"]
50
- }), c = a({}, e, {
51
- row: i,
52
- error: p.error
53
- }), u = R(c);
54
- return /* @__PURE__ */ g(_, a({
55
- className: d(u.root, n),
56
- ownerState: c,
57
- ref: t
58
- }, l));
59
- });
60
- process.env.NODE_ENV !== "production" && (D.propTypes = {
61
- // ┌────────────────────────────── Warning ──────────────────────────────┐
62
- // │ These PropTypes are generated from the TypeScript type definitions. │
63
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
64
- // └─────────────────────────────────────────────────────────────────────┘
65
- /**
66
- * The content of the component.
67
- */
68
- children: o.node,
69
- /**
70
- * Override or extend the styles applied to the component.
71
- */
72
- classes: o.object,
73
- /**
74
- * @ignore
75
- */
76
- className: o.string,
77
- /**
78
- * Display group of elements in a compact row.
79
- * @default false
80
- */
81
- row: o.bool,
82
- /**
83
- * The system prop that allows defining system overrides as well as additional CSS styles.
84
- */
85
- sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
86
- });
87
- export {
88
- D as F
89
- };