@hybridcore/ui 1.1.0 → 1.1.2

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 (48) hide show
  1. package/dist/{ButtonBase-B6WYZgVU.js → ButtonBase-BYmh3G5j.js} +3 -3
  2. package/dist/{Checkbox-CxbQ9tJ5.js → Checkbox-DostZSwR.js} +1 -1
  3. package/dist/{Button-BZR43NHz.js → DialogContent-2aPOjKE7.js} +1252 -1252
  4. package/dist/{FormControl-C4PmH1vh.js → FormControl-BiAFm76F.js} +1 -1
  5. package/dist/{IconButton-CKHPuOyh.js → IconButton-CQJ8wZE8.js} +1 -1
  6. package/dist/{Input-CH_JyT5B.js → Input-Bf5G3tFN.js} +2 -2
  7. package/dist/{OutlinedInput-gnp48tDo.js → OutlinedInput-BEVE8VZQ.js} +2 -2
  8. package/dist/{Select-DOyHt8I_.js → Select-DxpxZbJp.js} +8 -8
  9. package/dist/{Source-Bo1Eq6y-.js → Source-CnCcu5UP.js} +275 -275
  10. package/dist/{Text-DVP2PrYM.js → Text-BT5kPHOo.js} +1156 -1156
  11. package/dist/assets/index.css +1 -1
  12. package/dist/assets/index2.css +1 -1
  13. package/dist/components/confirm/dialog.js +1 -1
  14. package/dist/components/context-menu/index.js +642 -642
  15. package/dist/components/data-management/instance-form/components/composite-list/index.js +1 -1
  16. package/dist/components/data-management/instance-form/components/variable/index.js +4 -4
  17. package/dist/components/data-management/instance-form/components/variables/index.js +1 -1
  18. package/dist/components/geometry-picker/coordinate/index.js +1 -1
  19. package/dist/components/geometry-picker/edit/index.js +3 -3
  20. package/dist/components/geometry-picker/geometry/index.js +1 -1
  21. package/dist/components/geometry-picker/index.js +2 -2
  22. package/dist/components/geometry-picker/kml/index.js +7 -7
  23. package/dist/components/geometry-picker/map/index.js +1 -1
  24. package/dist/components/geometry-picker/map/logic.js +4 -4
  25. package/dist/components/geometry-picker/map/style.js +1 -1
  26. package/dist/components/icon-button/index.js +1 -1
  27. package/dist/components/map/helpers/mapbox.js +1 -1
  28. package/dist/components/map/helpers/ol.js +4 -4
  29. package/dist/components/map/index.js +6 -28
  30. package/dist/components/map/logic.js +62 -62
  31. package/dist/components/map/styled.js +2 -2
  32. package/dist/components/phone-input/index.js +1 -1
  33. package/dist/components/search-input/index.js +3 -3
  34. package/dist/components/tree-select/index.js +3 -3
  35. package/dist/components/treeview-filter/index.js +4 -4
  36. package/dist/components/treeview-filter/item/index.js +1 -1
  37. package/dist/components/treeview-filter/item-label/index.js +1 -1
  38. package/dist/{Object-DBPgar-D.js → has-9_asnBxn.js} +108 -108
  39. package/dist/{index-DHFb1Qpn.js → index-Bw_m9ult.js} +7 -7
  40. package/dist/index-IvOfmM1F.js +34 -0
  41. package/dist/{index-BQE8B4sc.js → index-wW2D1aTG.js} +2 -2
  42. package/dist/{List-BX_5LP1i.js → listItemTextClasses-BvXFz-Oc.js} +16 -16
  43. package/dist/main.d.ts +677 -6
  44. package/dist/main.js +41 -2
  45. package/dist/{ol-CMEkXXLJ.js → ol-DXmSLlWv.js} +8 -8
  46. package/dist/{styled-B22KrhDR.js → styled-C43K9x7T.js} +1 -1
  47. package/dist/{utils-C13eMoWa.js → utils-DLpkeyhZ.js} +1 -1
  48. package/package.json +1 -1
@@ -1,11 +1,14 @@
1
- function N() {
2
- throw new Error("Unimplemented abstract method.");
1
+ function m(n) {
2
+ for (const e in n)
3
+ delete n[e];
3
4
  }
4
- let _ = 0;
5
- function b(n) {
6
- return n.ol_uid || (n.ol_uid = String(++_));
5
+ function _(n) {
6
+ let e;
7
+ for (e in n)
8
+ return !1;
9
+ return !e;
7
10
  }
8
- const A = {
11
+ const b = {
9
12
  1: "The view center is not defined",
10
13
  2: "The view resolution is not defined",
11
14
  3: "The view rotation is not defined",
@@ -64,35 +67,35 @@ const A = {
64
67
  68: "A VectorTile source can only be rendered if it has a projection compatible with the view projection",
65
68
  69: "`width` or `height` cannot be provided together with `scale`"
66
69
  };
67
- class w extends Error {
70
+ class A extends Error {
68
71
  /**
69
72
  * @param {number} code Error code.
70
73
  */
71
74
  constructor(e) {
72
- const s = A[e];
75
+ const s = b[e];
73
76
  super(s), this.code = e, this.name = "AssertionError", this.message = s;
74
77
  }
75
78
  }
76
- function M(n, e) {
79
+ function N(n, e) {
77
80
  if (!n)
78
- throw new w(e);
81
+ throw new A(e);
79
82
  }
80
- function U(n, e, s) {
83
+ function M(n, e, s) {
81
84
  return Math.min(Math.max(n, e), s);
82
85
  }
83
- function D(n, e, s, t, i, r) {
86
+ function U(n, e, s, t, i, r) {
84
87
  const a = i - s, o = r - t;
85
88
  if (a !== 0 || o !== 0) {
86
89
  const l = ((n - s) * a + (e - t) * o) / (a * a + o * o);
87
90
  l > 1 ? (s = i, t = r) : l > 0 && (s += a * l, t += o * l);
88
91
  }
89
- return R(n, e, s, t);
92
+ return w(n, e, s, t);
90
93
  }
91
- function R(n, e, s, t) {
94
+ function w(n, e, s, t) {
92
95
  const i = s - n, r = t - e;
93
96
  return i * i + r * r;
94
97
  }
95
- function V(n) {
98
+ function D(n) {
96
99
  const e = n.length;
97
100
  for (let t = 0; t < e; t++) {
98
101
  let i = t, r = Math.abs(n[t][t]);
@@ -118,36 +121,21 @@ function V(n) {
118
121
  }
119
122
  return s;
120
123
  }
121
- function B(n) {
124
+ function V(n) {
122
125
  return n * Math.PI / 180;
123
126
  }
124
- function G(n, e) {
127
+ function B(n, e) {
125
128
  const s = n % e;
126
129
  return s * e < 0 ? s + e : s;
127
130
  }
128
- function k(n, e, s) {
131
+ function G(n, e, s) {
129
132
  return n + s * (e - n);
130
133
  }
131
- function j(n, e) {
134
+ function k(n, e) {
132
135
  const s = Math.pow(10, e);
133
136
  return Math.round(n * s) / s;
134
137
  }
135
- const c = typeof navigator < "u" && typeof navigator.userAgent < "u" ? navigator.userAgent.toLowerCase() : "", q = c.includes("firefox"), L = c.includes("safari") && !c.includes("chrom");
136
- L && (c.includes("version/15.4") || /cpu (os|iphone os) 15_4 like mac os x/.test(c));
137
- const K = c.includes("webkit") && !c.includes("edge"), W = c.includes("macintosh"), z = typeof devicePixelRatio < "u" ? devicePixelRatio : 1, H = typeof WorkerGlobalScope < "u" && typeof OffscreenCanvas < "u" && self instanceof WorkerGlobalScope, Y = typeof Image < "u" && Image.prototype.decode, X = function() {
138
- let n = !1;
139
- try {
140
- const e = Object.defineProperty({}, "passive", {
141
- get: function() {
142
- n = !0;
143
- }
144
- });
145
- window.addEventListener("_", null, e), window.removeEventListener("_", null, e);
146
- } catch {
147
- }
148
- return n;
149
- }();
150
- class m {
138
+ class y {
151
139
  /**
152
140
  * @param {string} type Type.
153
141
  */
@@ -170,7 +158,7 @@ class m {
170
158
  this.propagationStopped = !0;
171
159
  }
172
160
  }
173
- const I = {
161
+ const R = {
174
162
  /**
175
163
  * Triggered when a property is changed.
176
164
  * @event module:ol/Object.ObjectEvent#propertychange
@@ -178,7 +166,7 @@ const I = {
178
166
  */
179
167
  PROPERTYCHANGE: "propertychange"
180
168
  };
181
- class T {
169
+ class L {
182
170
  constructor() {
183
171
  this.disposed = !1;
184
172
  }
@@ -195,18 +183,18 @@ class T {
195
183
  disposeInternal() {
196
184
  }
197
185
  }
198
- function $(n, e, s) {
186
+ function j(n, e, s) {
199
187
  let t, i;
200
- s = s || S;
188
+ s = s || I;
201
189
  let r = 0, a = n.length, o = !1;
202
190
  for (; r < a; )
203
191
  t = r + (a - r >> 1), i = +s(n[t], e), i < 0 ? r = t + 1 : (a = t, o = !i);
204
192
  return o ? r : ~r;
205
193
  }
206
- function S(n, e) {
194
+ function I(n, e) {
207
195
  return n > e ? 1 : n < e ? -1 : 0;
208
196
  }
209
- function J(n, e, s) {
197
+ function q(n, e, s) {
210
198
  if (n[0] <= e)
211
199
  return 0;
212
200
  const t = n.length;
@@ -242,18 +230,18 @@ function J(n, e, s) {
242
230
  }
243
231
  return t - 1;
244
232
  }
245
- function Q(n, e, s) {
233
+ function K(n, e, s) {
246
234
  for (; e < s; ) {
247
235
  const t = n[e];
248
236
  n[e] = n[s], n[s] = t, ++e, --s;
249
237
  }
250
238
  }
251
- function Z(n, e) {
239
+ function W(n, e) {
252
240
  const s = Array.isArray(e) ? e : [e], t = s.length;
253
241
  for (let i = 0; i < t; i++)
254
242
  n[n.length] = s[i];
255
243
  }
256
- function O(n, e) {
244
+ function T(n, e) {
257
245
  const s = n.length;
258
246
  if (s !== e.length)
259
247
  return !1;
@@ -262,32 +250,22 @@ function O(n, e) {
262
250
  return !1;
263
251
  return !0;
264
252
  }
265
- function ee() {
253
+ function z() {
266
254
  return !0;
267
255
  }
268
- function te() {
256
+ function H() {
269
257
  return !1;
270
258
  }
271
259
  function f() {
272
260
  }
273
- function ne(n) {
261
+ function Y(n) {
274
262
  let e = !1, s, t, i;
275
263
  return function() {
276
264
  const r = Array.prototype.slice.call(arguments);
277
- return (!e || this !== i || !O(r, t)) && (e = !0, i = this, t = r, s = n.apply(this, arguments)), s;
265
+ return (!e || this !== i || !T(r, t)) && (e = !0, i = this, t = r, s = n.apply(this, arguments)), s;
278
266
  };
279
267
  }
280
- function y(n) {
281
- for (const e in n)
282
- delete n[e];
283
- }
284
- function x(n) {
285
- let e;
286
- for (e in n)
287
- return !1;
288
- return !e;
289
- }
290
- class C extends T {
268
+ class S extends L {
291
269
  /**
292
270
  * @param {*} [target] Default event target for dispatched events.
293
271
  */
@@ -318,7 +296,7 @@ class C extends T {
318
296
  const s = typeof e == "string", t = s ? e : e.type, i = this.listeners_ && this.listeners_[t];
319
297
  if (!i)
320
298
  return;
321
- const r = s ? new m(e) : (
299
+ const r = s ? new y(e) : (
322
300
  /** @type {Event} */
323
301
  e
324
302
  );
@@ -345,7 +323,7 @@ class C extends T {
345
323
  * Clean up.
346
324
  */
347
325
  disposeInternal() {
348
- this.listeners_ && y(this.listeners_);
326
+ this.listeners_ && m(this.listeners_);
349
327
  }
350
328
  /**
351
329
  * Get the listeners for a specified event type. Listeners are returned in the
@@ -377,7 +355,7 @@ class C extends T {
377
355
  }
378
356
  }
379
357
  }
380
- const P = {
358
+ const O = {
381
359
  /**
382
360
  * Generic change event. Triggered when the revision counter is increased.
383
361
  * @event module:ol/events/Event~BaseEvent#change
@@ -424,9 +402,9 @@ function p(n, e, s, t) {
424
402
  return h(n, e, s, t, !0);
425
403
  }
426
404
  function v(n) {
427
- n && n.target && (n.target.removeEventListener(n.type, n.listener), y(n));
405
+ n && n.target && (n.target.removeEventListener(n.type, n.listener), m(n));
428
406
  }
429
- class d extends C {
407
+ class d extends S {
430
408
  constructor() {
431
409
  super(), this.on = /** @type {ObservableOnSignature<import("./events").EventsKey>} */
432
410
  this.onInternal, this.once = /** @type {ObservableOnSignature<import("./events").EventsKey>} */
@@ -438,7 +416,7 @@ class d extends C {
438
416
  * @api
439
417
  */
440
418
  changed() {
441
- ++this.revision_, this.dispatchEvent(P.CHANGE);
419
+ ++this.revision_, this.dispatchEvent(O.CHANGE);
442
420
  }
443
421
  /**
444
422
  * Get the version number for this object. Each time the object is modified,
@@ -503,7 +481,7 @@ class d extends C {
503
481
  s.ol_key
504
482
  );
505
483
  if (t)
506
- F(t);
484
+ x(t);
507
485
  else if (Array.isArray(e))
508
486
  for (let i = 0, r = e.length; i < r; ++i)
509
487
  this.removeEventListener(e[i], s);
@@ -514,7 +492,7 @@ class d extends C {
514
492
  d.prototype.on;
515
493
  d.prototype.once;
516
494
  d.prototype.un;
517
- function F(n) {
495
+ function x(n) {
518
496
  if (Array.isArray(n))
519
497
  for (let e = 0, s = n.length; e < s; ++e)
520
498
  v(n[e]);
@@ -524,7 +502,14 @@ function F(n) {
524
502
  n
525
503
  );
526
504
  }
527
- class g extends m {
505
+ function X() {
506
+ throw new Error("Unimplemented abstract method.");
507
+ }
508
+ let C = 0;
509
+ function P(n) {
510
+ return n.ol_uid || (n.ol_uid = String(++C));
511
+ }
512
+ class g extends y {
528
513
  /**
529
514
  * @param {string} type The event type.
530
515
  * @param {string} key The property name.
@@ -534,12 +519,12 @@ class g extends m {
534
519
  super(e), this.key = s, this.oldValue = t;
535
520
  }
536
521
  }
537
- class se extends d {
522
+ class $ extends d {
538
523
  /**
539
524
  * @param {Object<string, *>} [values] An object with key-value pairs.
540
525
  */
541
526
  constructor(e) {
542
- super(), this.on, this.once, this.un, b(this), this.values_ = null, e !== void 0 && this.setProperties(e);
527
+ super(), this.on, this.once, this.un, P(this), this.values_ = null, e !== void 0 && this.setProperties(e);
543
528
  }
544
529
  /**
545
530
  * Gets a value.
@@ -579,7 +564,7 @@ class se extends d {
579
564
  */
580
565
  notify(e, s) {
581
566
  let t;
582
- t = `change:${e}`, this.hasListener(t) && this.dispatchEvent(new g(t, e, s)), t = I.PROPERTYCHANGE, this.hasListener(t) && this.dispatchEvent(new g(t, e, s));
567
+ t = `change:${e}`, this.hasListener(t) && this.dispatchEvent(new g(t, e, s)), t = R.PROPERTYCHANGE, this.hasListener(t) && this.dispatchEvent(new g(t, e, s));
583
568
  }
584
569
  /**
585
570
  * @param {string} key Key name.
@@ -639,50 +624,65 @@ class se extends d {
639
624
  unset(e, s) {
640
625
  if (this.values_ && e in this.values_) {
641
626
  const t = this.values_[e];
642
- delete this.values_[e], x(this.values_) && (this.values_ = null), s || this.notify(e, t);
627
+ delete this.values_[e], _(this.values_) && (this.values_ = null), s || this.notify(e, t);
643
628
  }
644
629
  }
645
630
  }
631
+ const c = typeof navigator < "u" && typeof navigator.userAgent < "u" ? navigator.userAgent.toLowerCase() : "", J = c.includes("firefox"), F = c.includes("safari") && !c.includes("chrom");
632
+ F && (c.includes("version/15.4") || /cpu (os|iphone os) 15_4 like mac os x/.test(c));
633
+ const Q = c.includes("webkit") && !c.includes("edge"), Z = c.includes("macintosh"), ee = typeof devicePixelRatio < "u" ? devicePixelRatio : 1, te = typeof WorkerGlobalScope < "u" && typeof OffscreenCanvas < "u" && self instanceof WorkerGlobalScope, ne = typeof Image < "u" && Image.prototype.decode, se = function() {
634
+ let n = !1;
635
+ try {
636
+ const e = Object.defineProperty({}, "passive", {
637
+ get: function() {
638
+ n = !0;
639
+ }
640
+ });
641
+ window.addEventListener("_", null, e), window.removeEventListener("_", null, e);
642
+ } catch {
643
+ }
644
+ return n;
645
+ }();
646
646
  export {
647
- w as A,
648
- m as B,
649
- $ as C,
650
- T as D,
651
- P as E,
652
- te as F,
653
- x as G,
654
- Q as H,
655
- Y as I,
656
- W as M,
657
- I as O,
658
- X as P,
659
- ee as T,
647
+ A,
648
+ y as B,
649
+ j as C,
650
+ L as D,
651
+ O as E,
652
+ H as F,
653
+ _ as G,
654
+ K as H,
655
+ ne as I,
656
+ Z as M,
657
+ R as O,
658
+ se as P,
659
+ z as T,
660
660
  f as V,
661
- H as W,
662
- O as a,
663
- U as b,
664
- y as c,
661
+ te as W,
662
+ T as a,
663
+ M as b,
664
+ m as c,
665
665
  N as d,
666
- Z as e,
667
- M as f,
668
- b as g,
669
- se as h,
670
- p as i,
671
- C as j,
672
- B as k,
666
+ W as e,
667
+ $ as f,
668
+ P as g,
669
+ p as h,
670
+ X as i,
671
+ S as j,
672
+ V as k,
673
673
  h as l,
674
- G as m,
675
- J as n,
676
- ne as o,
677
- k as p,
678
- D as q,
679
- S as r,
680
- R as s,
681
- j as t,
674
+ B as m,
675
+ q as n,
676
+ Y as o,
677
+ G as p,
678
+ U as q,
679
+ I as r,
680
+ w as s,
681
+ k as t,
682
682
  v as u,
683
- K as v,
684
- q as w,
685
- z as x,
683
+ Q as v,
684
+ J as w,
685
+ ee as x,
686
686
  d as y,
687
- V as z
687
+ D as z
688
688
  };
@@ -14,16 +14,16 @@ import { useState as We } from "react";
14
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
15
  import { c as S, a as A, g as J, u as H } from "./chainPropTypes-DtBfUj5o.js";
16
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";
17
+ import { f as de, F as ue, I as me } from "./FormControl-BiAFm76F.js";
18
18
  import { u as Ke } from "./useId-BHG98T5I.js";
19
- import { S as pe, F as Qe, M as Xe } from "./Select-DOyHt8I_.js";
19
+ import { S as pe, F as Qe, M as Xe } from "./Select-DxpxZbJp.js";
20
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";
21
+ import { r as be } from "./ButtonBase-BYmh3G5j.js";
22
+ import { I as Ze } from "./Input-Bf5G3tFN.js";
23
+ import { O as eo } from "./OutlinedInput-BEVE8VZQ.js";
24
+ import { B as E, C as oo } from "./Checkbox-DostZSwR.js";
25
25
  import { T as re } from "./Typography-XIiVCSto.js";
26
- import { s as no } from "./styled-B22KrhDR.js";
26
+ import { s as no } from "./styled-C43K9x7T.js";
27
27
  import { u as to } from "./useThemeProps-CzAjOL6F.js";
28
28
  const ro = ["component", "direction", "spacing", "divider", "children", "className", "useFlexGap"], lo = Ue(), so = no("div", {
29
29
  name: "MuiStack",
@@ -0,0 +1,34 @@
1
+ import { jsx as a } from "react/jsx-runtime";
2
+ import o from "react";
3
+ import f from "./components/map/logic.js";
4
+ import { M as n } from "./styled-C43K9x7T.js";
5
+ import './assets/index.css';const l = (e, i) => {
6
+ var t, r;
7
+ const { refs: s, action: m } = f(e);
8
+ return o.useImperativeHandle(i, () => m), /* @__PURE__ */ a(
9
+ n.Container,
10
+ {
11
+ sx: {
12
+ position: "relative",
13
+ cursor: ((t = e.options) == null ? void 0 : t.cursor) || "default"
14
+ },
15
+ children: /* @__PURE__ */ a(
16
+ n.Container,
17
+ {
18
+ id: e.id || "map",
19
+ ref: s.mapContainer,
20
+ cssPosition: (r = e.options) == null ? void 0 : r.cssPosition,
21
+ onContextMenu: (c) => c.preventDefault(),
22
+ className: "map"
23
+ }
24
+ )
25
+ }
26
+ );
27
+ }, p = o.memo(o.forwardRef(l)), x = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28
+ __proto__: null,
29
+ default: p
30
+ }, Symbol.toStringTag, { value: "Module" }));
31
+ export {
32
+ p as O,
33
+ x as i
34
+ };
@@ -3,11 +3,11 @@ import Ne from "./components/treeview-filter/item-label/index.js";
3
3
  import pe from "lodash";
4
4
  import * as d from "react";
5
5
  import { l as ue, P as o } from "./createTheme-agWfFD64.js";
6
- import { b as Oe, d as Se, u as he, e as be } from "./ButtonBase-B6WYZgVU.js";
6
+ import { u as Oe, d as Se, a as he, e as be } from "./ButtonBase-BYmh3G5j.js";
7
7
  import { g as ye, u as Re, c as Me, a as xe } from "./chainPropTypes-DtBfUj5o.js";
8
8
  import { c as Pe, d as ke, T as ze, g as Ee, s as K, b as je } from "./styled-Iq9jsO4F.js";
9
9
  import { a as I, _ as _e } from "./extends-C3382pL0.js";
10
- import { T as Fe, g as fe } from "./utils-C13eMoWa.js";
10
+ import { T as Fe, g as fe } from "./utils-DLpkeyhZ.js";
11
11
  import { u as Ae } from "./useTheme-CeyGVuQP.js";
12
12
  import { u as Ue } from "./useThemeProps-CzAjOL6F.js";
13
13
  import { o as Ve } from "./ownerDocument-CUrv0DIK.js";
@@ -1,19 +1,11 @@
1
- import { g as l, u as y, c as I, a as C } from "./chainPropTypes-DtBfUj5o.js";
2
- import { g as c, s as P } from "./styled-Iq9jsO4F.js";
3
- import { a as r, _ as T } from "./extends-C3382pL0.js";
1
+ import { a as r, _ as y } from "./extends-C3382pL0.js";
4
2
  import * as d from "react";
5
3
  import { P as e } from "./createTheme-agWfFD64.js";
4
+ import { g as l, u as I, c as C, a as P } from "./chainPropTypes-DtBfUj5o.js";
5
+ import { g as c, s as T } from "./styled-Iq9jsO4F.js";
6
6
  import { jsx as M, jsxs as N } from "react/jsx-runtime";
7
7
  const g = /* @__PURE__ */ d.createContext({});
8
8
  process.env.NODE_ENV !== "production" && (g.displayName = "ListContext");
9
- function V(s) {
10
- return c("MuiListItemIcon", s);
11
- }
12
- const B = l("MuiListItemIcon", ["root", "alignItemsFlexStart"]);
13
- function F(s) {
14
- return c("MuiListItemText", s);
15
- }
16
- const W = l("MuiListItemText", ["root", "multiline", "dense", "inset", "primary", "secondary"]);
17
9
  function v(s) {
18
10
  return c("MuiList", s);
19
11
  }
@@ -25,10 +17,10 @@ const j = ["children", "className", "component", "dense", "disablePadding", "sub
25
17
  dense: n,
26
18
  subheader: i
27
19
  } = s;
28
- return C({
20
+ return P({
29
21
  root: ["root", !o && "padding", n && "dense", i && "subheader"]
30
22
  }, v, t);
31
- }, _ = P("ul", {
23
+ }, _ = T("ul", {
32
24
  name: "MuiList",
33
25
  slot: "Root",
34
26
  overridesResolver: (s, t) => {
@@ -50,7 +42,7 @@ const j = ["children", "className", "component", "dense", "disablePadding", "sub
50
42
  }, s.subheader && {
51
43
  paddingTop: 0
52
44
  })), O = /* @__PURE__ */ d.forwardRef(function(t, o) {
53
- const n = y({
45
+ const n = I({
54
46
  props: t,
55
47
  name: "MuiList"
56
48
  }), {
@@ -60,7 +52,7 @@ const j = ["children", "className", "component", "dense", "disablePadding", "sub
60
52
  dense: a = !1,
61
53
  disablePadding: b = !1,
62
54
  subheader: f
63
- } = n, L = T(n, j), h = d.useMemo(() => ({
55
+ } = n, L = y(n, j), h = d.useMemo(() => ({
64
56
  dense: a
65
57
  }), [a]), m = r({}, n, {
66
58
  component: p,
@@ -71,7 +63,7 @@ const j = ["children", "className", "component", "dense", "disablePadding", "sub
71
63
  value: h,
72
64
  children: /* @__PURE__ */ N(_, r({
73
65
  as: p,
74
- className: I(x.root, u),
66
+ className: C(x.root, u),
75
67
  ref: o,
76
68
  ownerState: m
77
69
  }, L, {
@@ -122,6 +114,14 @@ process.env.NODE_ENV !== "production" && (O.propTypes = {
122
114
  */
123
115
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
124
116
  });
117
+ function V(s) {
118
+ return c("MuiListItemIcon", s);
119
+ }
120
+ const B = l("MuiListItemIcon", ["root", "alignItemsFlexStart"]);
121
+ function F(s) {
122
+ return c("MuiListItemText", s);
123
+ }
124
+ const W = l("MuiListItemText", ["root", "multiline", "dense", "inset", "primary", "secondary"]);
125
125
  export {
126
126
  g as L,
127
127
  F as a,