@hybridcore/ui 1.4.31 → 1.4.32

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 (107) hide show
  1. package/dist/AccordionDetails-mpRYHtGq.js +743 -0
  2. package/dist/{Add-eepk2WTM.js → Add-BKnWHZ7A.js} +10 -9
  3. package/dist/{Box-BPyg-Ybm.js → Box-SSMZuKnS.js} +8 -8
  4. package/dist/{Button-DLwB_sKd.js → Button-jy67CcTH.js} +8 -7
  5. package/dist/{ButtonBase-D0qccOVb.js → ButtonBase-CgQC8DUB.js} +13 -12
  6. package/dist/{CardContent-DFsCCOWk.js → CardContent-CCq4R1KS.js} +14 -13
  7. package/dist/{Checkbox-qy3cjvnb.js → Checkbox-B0P8LhCl.js} +10 -9
  8. package/dist/{Delete-OHEw9lDi.js → Delete-DfyX03ib.js} +1 -1
  9. package/dist/{DialogContent-CxOSq6h9.js → DialogContent-B0_-g7B0.js} +10 -9
  10. package/dist/{FormControlLabel-D9KFjcIx.js → FormControlLabel-BNT5EI0b.js} +10 -9
  11. package/dist/{IconButton-BaiyAtmS.js → IconButton-DekcZv4i.js} +16 -15
  12. package/dist/{Input-CmCkXczh.js → Input-BAbDr3Tk.js} +17 -16
  13. package/dist/{InputAdornment-CZUPEeia.js → InputAdornment-BAVRrRts.js} +8 -7
  14. package/dist/{InputLabel-CWkW8NtU.js → InputLabel-ClDXuWBr.js} +16 -14
  15. package/dist/{List-PpNAWJ_I.js → List-CNeRnfGL.js} +10 -9
  16. package/dist/{ListItem-CZbZ91vp.js → ListItem-N_dSd02S.js} +15 -14
  17. package/dist/{MenuItem-D-INSvZa.js → MenuItem-Lcjh1XlV.js} +11 -10
  18. package/dist/{Modal-KrI5qFIq.js → Modal-CJn-Bqyo.js} +14 -13
  19. package/dist/{OutlinedInput-DkIUD30e.js → OutlinedInput-De2keFJK.js} +28 -27
  20. package/dist/{Paper-btu3j72o.js → Paper-DRRYGupP.js} +22 -21
  21. package/dist/{Select-ClaBvSqf.js → Select-DwAJxKTN.js} +65 -63
  22. package/dist/{Source-Hf_SiWEW.js → Source-CnCcu5UP.js} +123 -123
  23. package/dist/{Tabs-BzelDJKy.js → Tabs-DqdkJU6b.js} +16 -14
  24. package/dist/{Text-D6oGbCdi.js → Text-BT5kPHOo.js} +41 -41
  25. package/dist/{TextField-D87qTh1k.js → TextField-BAXUnwnR.js} +14 -13
  26. package/dist/{Typography-Bm7PFqUT.js → Typography-CLq43OVQ.js} +21 -20
  27. package/dist/components/access/helpers.js +1 -1
  28. package/dist/components/access/index.js +1 -1
  29. package/dist/components/card/index.js +49 -48
  30. package/dist/components/card/styled.js +1 -1
  31. package/dist/components/collapsible-card/style.js +3 -3
  32. package/dist/components/confirm/dialog.js +3 -3
  33. package/dist/components/confirm/index.js +1 -1
  34. package/dist/components/container/index.js +10 -9
  35. package/dist/components/context-menu/index.js +13 -12
  36. package/dist/components/data-security-selectors/dissemination-list/index.js +1 -1
  37. package/dist/components/data-security-selectors/security-level/index.js +7 -7
  38. package/dist/components/geometry-picker/coordinate/index.js +1 -1
  39. package/dist/components/geometry-picker/edit/index.js +2 -2
  40. package/dist/components/geometry-picker/geometry/index.js +1 -1
  41. package/dist/components/geometry-picker/index.js +3 -3
  42. package/dist/components/geometry-picker/kml/index.js +1 -1
  43. package/dist/components/geometry-picker/map/logic.js +19 -19
  44. package/dist/components/geometry-picker/map/style.js +1 -1
  45. package/dist/components/icon-button/index.js +1 -1
  46. package/dist/components/instance-form/components/composite-list/index.js +1 -1
  47. package/dist/components/instance-form/components/variable/index.js +8 -8
  48. package/dist/components/instance-form/components/variables/index.js +1 -1
  49. package/dist/components/instance-hierarchy-table/styled.js +1 -1
  50. package/dist/components/map/helpers/mapbox.js +3 -3
  51. package/dist/components/map/helpers/ol.js +3 -3
  52. package/dist/components/map/logic.js +2 -2
  53. package/dist/components/map/styled.js +2 -2
  54. package/dist/components/property-mapping/index.js +2 -2
  55. package/dist/components/range-selector/components/composite-list-range/index.js +1 -1
  56. package/dist/components/range-selector/components/date-range/index.js +1 -1
  57. package/dist/components/range-selector/index.js +1 -1
  58. package/dist/components/search-input/index.js +4 -4
  59. package/dist/components/tabs/index.js +1 -1
  60. package/dist/components/template-filters/components/filter/index.js +44 -0
  61. package/dist/components/template-filters/components/tab-panel/index.js +27 -0
  62. package/dist/components/template-filters/index.js +39 -0
  63. package/dist/components/template-filters/styled.js +1 -0
  64. package/dist/components/template-form/components/property-list/index.js +7 -7
  65. package/dist/components/template-form/components/property-list/property-list-columns.js +3 -3
  66. package/dist/components/template-form/components/property-list/property-list-form.js +9 -9
  67. package/dist/components/template-form/components/recognition-property-list/index.js +6 -6
  68. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +2 -2
  69. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +7 -7
  70. package/dist/components/template-form/index.js +5 -5
  71. package/dist/components/template-property-filters/property.js +5 -5
  72. package/dist/components/tree-select/index.js +5 -5
  73. package/dist/components/treeview-filter/index.js +384 -318
  74. package/dist/components/treeview-filter/item/index.js +56 -5
  75. package/dist/components/treeview-filter/item/styled.js +38 -0
  76. package/dist/components/treeview-filter/item-label/index.js +27 -26
  77. package/dist/createStyled-CUatW1r9.js +352 -0
  78. package/dist/{createSvgIcon-Cfm1LkEe.js → createSvgIcon-BXjHHQ0B.js} +28 -29
  79. package/dist/{createSvgIcon-DEXLbMwp.js → createSvgIcon-CBoAEepv.js} +9 -8
  80. package/dist/{styled-LNCprp4n.js → createTheme-DVoJnXAT.js} +134 -142
  81. package/dist/createTheme-DrgvKMA_.js +1563 -0
  82. package/dist/{dialog-v5-nL5yy.js → dialog-DPGR2gik.js} +7 -7
  83. package/dist/{exactProp-DkmnwNVS.js → exactProp-H1i70prd.js} +3 -3
  84. package/dist/{extendSxProp-qqdkfHzS.js → extendSxProp-BmK2hLmq.js} +4 -4
  85. package/dist/{has-CjQtZJa9.js → has-9_asnBxn.js} +26 -26
  86. package/dist/{helpers-B4UL9NMD.js → helpers-DaCoWmi2.js} +3 -3
  87. package/dist/{index-oPY7k6mu.js → index-B_GNCJdV.js} +7 -7
  88. package/dist/{index-C1fczHEW.js → index-RfDWDd66.js} +28 -27
  89. package/dist/{listItemTextClasses-DsHGzpPM.js → listItemTextClasses-CC7nbQWN.js} +4 -4
  90. package/dist/main.js +35 -35
  91. package/dist/{objectWithoutPropertiesLoose-BK36oJDi.js → objectWithoutPropertiesLoose-DJteAcBH.js} +2 -2
  92. package/dist/{ol-CHaVTXvL.js → ol-9hySGI6D.js} +3 -3
  93. package/dist/{property-list-form-B1GZ9ZGO.js → property-list-form-DgmTiBvu.js} +36 -35
  94. package/dist/styled-DkqItiLo.js +12 -0
  95. package/dist/unsupportedProp-BND8AB6O.js +25 -0
  96. package/dist/{useTheme-DBiahn6p.js → useTheme-B6oa3v5u.js} +4 -4
  97. package/dist/useTheme-GN5Dc3mG.js +18 -0
  98. package/dist/useThemeProps-BlXpIqSE.js +95 -0
  99. package/dist/{utils-DNe_YYjm.js → utils-BRsEqTye.js} +8 -8
  100. package/package.json +1 -1
  101. package/dist/AccordionDetails-CGs6GZQK.js +0 -454
  102. package/dist/Collapse-CL6LGGZw.js +0 -298
  103. package/dist/createStyled-BzvgQjjR.js +0 -1910
  104. package/dist/index-B0JPwFI9.js +0 -596
  105. package/dist/requirePropFactory-BjhhI-AW.js +0 -18
  106. package/dist/unsupportedProp-BuVD30Gh.js +0 -9
  107. package/dist/useThemeProps-uYx_RkOH.js +0 -109
@@ -1,7 +1,58 @@
1
- import "react/jsx-runtime";
2
- import "../item-label/index.js";
3
- import "lodash";
4
- import { I as i } from "../../../index-B0JPwFI9.js";
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import g from "../item-label/index.js";
3
+ import a from "lodash";
4
+ import { ArrowRight as I } from "@mui/icons-material";
5
+ import { TreeItem as h } from "./styled.js";
6
+ function x({
7
+ id: n,
8
+ idKey: e,
9
+ name: f,
10
+ checked: i,
11
+ disabled: l,
12
+ disabledIds: c,
13
+ onChange: s,
14
+ children: r,
15
+ defaultSelected: p
16
+ }) {
17
+ return /* @__PURE__ */ o(
18
+ h,
19
+ {
20
+ nodeId: String(n),
21
+ label: /* @__PURE__ */ o(
22
+ g,
23
+ {
24
+ id: n,
25
+ name: f,
26
+ checked: i,
27
+ disabled: l,
28
+ onChange: s
29
+ }
30
+ ),
31
+ checked: i,
32
+ ...r && r.length > 0 && {
33
+ icon: /* @__PURE__ */ o(I, {})
34
+ },
35
+ children: r && r.map((t, u) => {
36
+ const m = String(t[e]), d = a.includes(p, m), b = a.includes(c, m);
37
+ return /* @__PURE__ */ o(
38
+ x,
39
+ {
40
+ id: m,
41
+ idKey: e,
42
+ name: t.name,
43
+ checked: d,
44
+ disabled: b,
45
+ disabledIds: c,
46
+ children: t.children,
47
+ onChange: s,
48
+ defaultSelected: p
49
+ },
50
+ u
51
+ );
52
+ })
53
+ }
54
+ );
55
+ }
5
56
  export {
6
- i as default
57
+ x as default
7
58
  };
@@ -0,0 +1,38 @@
1
+ import { TreeItem as t } from "@mui/lab";
2
+ import { styled as r, alpha as i } from "@mui/material";
3
+ const m = r(t)(
4
+ ({ theme: e, checked: o }) => ({
5
+ position: "relative",
6
+ "& .MuiTreeItem-content": {
7
+ flexDirection: "row-reverse",
8
+ borderBottom: "1px solid",
9
+ borderBottomColor: e.palette.divider,
10
+ boxSizing: "border-box"
11
+ },
12
+ "& .MuiTreeItem-iconContainer": {
13
+ transition: ".3s all",
14
+ "& svg": {
15
+ fontSize: "20px !important"
16
+ }
17
+ },
18
+ "& .MuiTreeItem-content.Mui-expanded .MuiTreeItem-iconContainer": {
19
+ transform: "rotate(90deg)"
20
+ },
21
+ ...o && {
22
+ "&:before": {
23
+ content: '""',
24
+ position: "absolute",
25
+ left: 0,
26
+ top: 0,
27
+ bottom: 0,
28
+ right: 0,
29
+ borderLeft: "1px solid",
30
+ borderLeftColor: e.palette.primary.main,
31
+ backgroundColor: i(e.palette.primary.main, 0.1)
32
+ }
33
+ }
34
+ })
35
+ );
36
+ export {
37
+ m as TreeItem
38
+ };
@@ -1,39 +1,40 @@
1
- import { jsxs as c, jsx as o } from "react/jsx-runtime";
2
- import { RadioButtonUnchecked as l, CheckCircle as p } from "@mui/icons-material";
3
- import { B as s } from "../../../Box-BPyg-Ybm.js";
4
- import { C as h } from "../../../Checkbox-qy3cjvnb.js";
5
- import { T as d } from "../../../Typography-Bm7PFqUT.js";
6
- function y({
7
- id: t,
1
+ import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
+ import { B as s } from "../../../Box-SSMZuKnS.js";
3
+ import { C as p } from "../../../Checkbox-B0P8LhCl.js";
4
+ import { T as h } from "../../../Typography-CLq43OVQ.js";
5
+ function u({
6
+ id: o,
8
7
  name: n,
9
- checked: r,
10
- disabled: i,
8
+ checked: i,
9
+ disabled: r,
11
10
  onChange: a
12
11
  }) {
13
- return /* @__PURE__ */ c(s, { display: "flex", alignItems: "center", py: 1, children: [
14
- /* @__PURE__ */ o(
15
- h,
12
+ return /* @__PURE__ */ l(s, { display: "flex", alignItems: "center", py: 1, children: [
13
+ /* @__PURE__ */ e(
14
+ p,
16
15
  {
17
16
  size: "small",
18
- checked: r,
19
- value: t,
20
- sx: { padding: 0, marginRight: 0.85 },
21
- icon: /* @__PURE__ */ o(l, {}),
22
- checkedIcon: /* @__PURE__ */ o(p, {}),
23
- disabled: i,
24
- onChange: (e) => {
25
- a && a(e.target.value, e.target.checked);
17
+ checked: i,
18
+ value: o,
19
+ sx: {
20
+ padding: 0,
21
+ marginRight: 0.85,
22
+ "& .MuiSvgIcon-root": { width: 14, height: 14 }
23
+ },
24
+ disabled: r,
25
+ onChange: (t) => {
26
+ a && a(t.target.value, t.target.checked);
26
27
  },
27
- onClick: (e) => {
28
- e.stopPropagation();
28
+ onClick: (t) => {
29
+ t.stopPropagation();
29
30
  }
30
31
  }
31
32
  ),
32
- /* @__PURE__ */ o(
33
- d,
33
+ /* @__PURE__ */ e(
34
+ h,
34
35
  {
35
36
  variant: "subtitle1",
36
- fontSize: "14px",
37
+ fontSize: "12px",
37
38
  sx: { userSelect: "none" },
38
39
  children: n
39
40
  }
@@ -41,5 +42,5 @@ function y({
41
42
  ] });
42
43
  }
43
44
  export {
44
- y as default
45
+ u as default
45
46
  };
@@ -0,0 +1,352 @@
1
+ import { _ as k, a as R } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
2
+ import { b as pe, f as ye, s as ve, c as Se, e as Ee, i as _e } from "./createTheme-DrgvKMA_.js";
3
+ var W = { exports: {} }, o = {};
4
+ /**
5
+ * @license React
6
+ * react-is.production.min.js
7
+ *
8
+ * Copyright (c) Facebook, Inc. and its affiliates.
9
+ *
10
+ * This source code is licensed under the MIT license found in the
11
+ * LICENSE file in the root directory of this source tree.
12
+ */
13
+ var G;
14
+ function Re() {
15
+ if (G) return o;
16
+ G = 1;
17
+ var r = Symbol.for("react.element"), a = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), d = Symbol.for("react.context"), S = Symbol.for("react.server_context"), i = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), $;
18
+ $ = Symbol.for("react.module.reference");
19
+ function y(e) {
20
+ if (typeof e == "object" && e !== null) {
21
+ var T = e.$$typeof;
22
+ switch (T) {
23
+ case r:
24
+ switch (e = e.type, e) {
25
+ case n:
26
+ case l:
27
+ case f:
28
+ case u:
29
+ case m:
30
+ return e;
31
+ default:
32
+ switch (e = e && e.$$typeof, e) {
33
+ case S:
34
+ case d:
35
+ case i:
36
+ case E:
37
+ case h:
38
+ case p:
39
+ return e;
40
+ default:
41
+ return T;
42
+ }
43
+ }
44
+ case a:
45
+ return T;
46
+ }
47
+ }
48
+ }
49
+ return o.ContextConsumer = d, o.ContextProvider = p, o.Element = r, o.ForwardRef = i, o.Fragment = n, o.Lazy = E, o.Memo = h, o.Portal = a, o.Profiler = l, o.StrictMode = f, o.Suspense = u, o.SuspenseList = m, o.isAsyncMode = function() {
50
+ return !1;
51
+ }, o.isConcurrentMode = function() {
52
+ return !1;
53
+ }, o.isContextConsumer = function(e) {
54
+ return y(e) === d;
55
+ }, o.isContextProvider = function(e) {
56
+ return y(e) === p;
57
+ }, o.isElement = function(e) {
58
+ return typeof e == "object" && e !== null && e.$$typeof === r;
59
+ }, o.isForwardRef = function(e) {
60
+ return y(e) === i;
61
+ }, o.isFragment = function(e) {
62
+ return y(e) === n;
63
+ }, o.isLazy = function(e) {
64
+ return y(e) === E;
65
+ }, o.isMemo = function(e) {
66
+ return y(e) === h;
67
+ }, o.isPortal = function(e) {
68
+ return y(e) === a;
69
+ }, o.isProfiler = function(e) {
70
+ return y(e) === l;
71
+ }, o.isStrictMode = function(e) {
72
+ return y(e) === f;
73
+ }, o.isSuspense = function(e) {
74
+ return y(e) === u;
75
+ }, o.isSuspenseList = function(e) {
76
+ return y(e) === m;
77
+ }, o.isValidElementType = function(e) {
78
+ return typeof e == "string" || typeof e == "function" || e === n || e === l || e === f || e === u || e === m || e === x || typeof e == "object" && e !== null && (e.$$typeof === E || e.$$typeof === h || e.$$typeof === p || e.$$typeof === d || e.$$typeof === i || e.$$typeof === $ || e.getModuleId !== void 0);
79
+ }, o.typeOf = y, o;
80
+ }
81
+ var s = {};
82
+ /**
83
+ * @license React
84
+ * react-is.development.js
85
+ *
86
+ * Copyright (c) Facebook, Inc. and its affiliates.
87
+ *
88
+ * This source code is licensed under the MIT license found in the
89
+ * LICENSE file in the root directory of this source tree.
90
+ */
91
+ var H;
92
+ function he() {
93
+ return H || (H = 1, process.env.NODE_ENV !== "production" && function() {
94
+ var r = Symbol.for("react.element"), a = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), d = Symbol.for("react.context"), S = Symbol.for("react.server_context"), i = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), $ = !1, y = !1, e = !1, T = !1, A = !1, M;
95
+ M = Symbol.for("react.module.reference");
96
+ function O(t) {
97
+ return !!(typeof t == "string" || typeof t == "function" || t === n || t === l || A || t === f || t === u || t === m || T || t === x || $ || y || e || typeof t == "object" && t !== null && (t.$$typeof === E || t.$$typeof === h || t.$$typeof === p || t.$$typeof === d || t.$$typeof === i || // This needs to include all possible module reference object
98
+ // types supported by any Flight configuration anywhere since
99
+ // we don't know which Flight build this will end up being used
100
+ // with.
101
+ t.$$typeof === M || t.getModuleId !== void 0));
102
+ }
103
+ function c(t) {
104
+ if (typeof t == "object" && t !== null) {
105
+ var j = t.$$typeof;
106
+ switch (j) {
107
+ case r:
108
+ var I = t.type;
109
+ switch (I) {
110
+ case n:
111
+ case l:
112
+ case f:
113
+ case u:
114
+ case m:
115
+ return I;
116
+ default:
117
+ var X = I && I.$$typeof;
118
+ switch (X) {
119
+ case S:
120
+ case d:
121
+ case i:
122
+ case E:
123
+ case h:
124
+ case p:
125
+ return X;
126
+ default:
127
+ return j;
128
+ }
129
+ }
130
+ case a:
131
+ return j;
132
+ }
133
+ }
134
+ }
135
+ var b = d, F = p, P = r, L = i, N = n, v = E, _ = h, C = a, w = l, D = f, V = u, Q = m, q = !1, U = !1;
136
+ function ee(t) {
137
+ return q || (q = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
138
+ }
139
+ function re(t) {
140
+ return U || (U = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
141
+ }
142
+ function te(t) {
143
+ return c(t) === d;
144
+ }
145
+ function ne(t) {
146
+ return c(t) === p;
147
+ }
148
+ function oe(t) {
149
+ return typeof t == "object" && t !== null && t.$$typeof === r;
150
+ }
151
+ function se(t) {
152
+ return c(t) === i;
153
+ }
154
+ function ie(t) {
155
+ return c(t) === n;
156
+ }
157
+ function ae(t) {
158
+ return c(t) === E;
159
+ }
160
+ function ce(t) {
161
+ return c(t) === h;
162
+ }
163
+ function ue(t) {
164
+ return c(t) === a;
165
+ }
166
+ function fe(t) {
167
+ return c(t) === l;
168
+ }
169
+ function le(t) {
170
+ return c(t) === f;
171
+ }
172
+ function de(t) {
173
+ return c(t) === u;
174
+ }
175
+ function me(t) {
176
+ return c(t) === m;
177
+ }
178
+ s.ContextConsumer = b, s.ContextProvider = F, s.Element = P, s.ForwardRef = L, s.Fragment = N, s.Lazy = v, s.Memo = _, s.Portal = C, s.Profiler = w, s.StrictMode = D, s.Suspense = V, s.SuspenseList = Q, s.isAsyncMode = ee, s.isConcurrentMode = re, s.isContextConsumer = te, s.isContextProvider = ne, s.isElement = oe, s.isForwardRef = se, s.isFragment = ie, s.isLazy = ae, s.isMemo = ce, s.isPortal = ue, s.isProfiler = fe, s.isStrictMode = le, s.isSuspense = de, s.isSuspenseList = me, s.isValidElementType = O, s.typeOf = c;
179
+ }()), s;
180
+ }
181
+ process.env.NODE_ENV === "production" ? W.exports = Re() : W.exports = he();
182
+ var Z = W.exports;
183
+ const be = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;
184
+ function Te(r) {
185
+ const a = `${r}`.match(be);
186
+ return a && a[1] || "";
187
+ }
188
+ function K(r, a = "") {
189
+ return r.displayName || r.name || Te(r) || a;
190
+ }
191
+ function B(r, a, n) {
192
+ const f = K(a);
193
+ return r.displayName || (f !== "" ? `${n}(${f})` : n);
194
+ }
195
+ function Pe(r) {
196
+ if (r != null) {
197
+ if (typeof r == "string")
198
+ return r;
199
+ if (typeof r == "function")
200
+ return K(r, "Component");
201
+ if (typeof r == "object")
202
+ switch (r.$$typeof) {
203
+ case Z.ForwardRef:
204
+ return B(r, r.render, "ForwardRef");
205
+ case Z.Memo:
206
+ return B(r, r.type, "memo");
207
+ default:
208
+ return;
209
+ }
210
+ }
211
+ }
212
+ const Ce = ["ownerState"], $e = ["variants"], we = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
213
+ function xe(r) {
214
+ return Object.keys(r).length === 0;
215
+ }
216
+ function Ae(r) {
217
+ return typeof r == "string" && // 96 is one less than the char code
218
+ // for "a" so this is checking that
219
+ // it's a lowercase character
220
+ r.charCodeAt(0) > 96;
221
+ }
222
+ function z(r) {
223
+ return r !== "ownerState" && r !== "theme" && r !== "sx" && r !== "as";
224
+ }
225
+ const Me = pe(), J = (r) => r && r.charAt(0).toLowerCase() + r.slice(1);
226
+ function g({
227
+ defaultTheme: r,
228
+ theme: a,
229
+ themeId: n
230
+ }) {
231
+ return xe(a) ? r : a[n] || a;
232
+ }
233
+ function Fe(r) {
234
+ return r ? (a, n) => n[r] : null;
235
+ }
236
+ function Y(r, a) {
237
+ let {
238
+ ownerState: n
239
+ } = a, f = k(a, Ce);
240
+ const l = typeof r == "function" ? r(R({
241
+ ownerState: n
242
+ }, f)) : r;
243
+ if (Array.isArray(l))
244
+ return l.flatMap((p) => Y(p, R({
245
+ ownerState: n
246
+ }, f)));
247
+ if (l && typeof l == "object" && Array.isArray(l.variants)) {
248
+ const {
249
+ variants: p = []
250
+ } = l;
251
+ let S = k(l, $e);
252
+ return p.forEach((i) => {
253
+ let u = !0;
254
+ typeof i.props == "function" ? u = i.props(R({
255
+ ownerState: n
256
+ }, f, n)) : Object.keys(i.props).forEach((m) => {
257
+ (n == null ? void 0 : n[m]) !== i.props[m] && f[m] !== i.props[m] && (u = !1);
258
+ }), u && (Array.isArray(S) || (S = [S]), S.push(typeof i.style == "function" ? i.style(R({
259
+ ownerState: n
260
+ }, f, n)) : i.style));
261
+ }), S;
262
+ }
263
+ return l;
264
+ }
265
+ function Le(r = {}) {
266
+ const {
267
+ themeId: a,
268
+ defaultTheme: n = Me,
269
+ rootShouldForwardProp: f = z,
270
+ slotShouldForwardProp: l = z
271
+ } = r, p = (d) => Ee(R({}, d, {
272
+ theme: g(R({}, d, {
273
+ defaultTheme: n,
274
+ themeId: a
275
+ }))
276
+ }));
277
+ return p.__mui_systemSx = !0, (d, S = {}) => {
278
+ ye(d, (c) => c.filter((b) => !(b != null && b.__mui_systemSx)));
279
+ const {
280
+ name: i,
281
+ slot: u,
282
+ skipVariantsResolver: m,
283
+ skipSx: h,
284
+ // TODO v6: remove `lowercaseFirstLetter()` in the next major release
285
+ // For more details: https://github.com/mui/material-ui/pull/37908
286
+ overridesResolver: E = Fe(J(u))
287
+ } = S, x = k(S, we), $ = m !== void 0 ? m : (
288
+ // TODO v6: remove `Root` in the next major release
289
+ // For more details: https://github.com/mui/material-ui/pull/37908
290
+ u && u !== "Root" && u !== "root" || !1
291
+ ), y = h || !1;
292
+ let e;
293
+ process.env.NODE_ENV !== "production" && i && (e = `${i}-${J(u || "Root")}`);
294
+ let T = z;
295
+ u === "Root" || u === "root" ? T = f : u ? T = l : Ae(d) && (T = void 0);
296
+ const A = ve(d, R({
297
+ shouldForwardProp: T,
298
+ label: e
299
+ }, x)), M = (c) => typeof c == "function" && c.__emotion_real !== c || _e(c) ? (b) => Y(c, R({}, b, {
300
+ theme: g({
301
+ theme: b.theme,
302
+ defaultTheme: n,
303
+ themeId: a
304
+ })
305
+ })) : c, O = (c, ...b) => {
306
+ let F = M(c);
307
+ const P = b ? b.map(M) : [];
308
+ i && E && P.push((v) => {
309
+ const _ = g(R({}, v, {
310
+ defaultTheme: n,
311
+ themeId: a
312
+ }));
313
+ if (!_.components || !_.components[i] || !_.components[i].styleOverrides)
314
+ return null;
315
+ const C = _.components[i].styleOverrides, w = {};
316
+ return Object.entries(C).forEach(([D, V]) => {
317
+ w[D] = Y(V, R({}, v, {
318
+ theme: _
319
+ }));
320
+ }), E(v, w);
321
+ }), i && !$ && P.push((v) => {
322
+ var _;
323
+ const C = g(R({}, v, {
324
+ defaultTheme: n,
325
+ themeId: a
326
+ })), w = C == null || (_ = C.components) == null || (_ = _[i]) == null ? void 0 : _.variants;
327
+ return Y({
328
+ variants: w
329
+ }, R({}, v, {
330
+ theme: C
331
+ }));
332
+ }), y || P.push(p);
333
+ const L = P.length - b.length;
334
+ if (Array.isArray(c) && L > 0) {
335
+ const v = new Array(L).fill("");
336
+ F = [...c, ...v], F.raw = [...c.raw, ...v];
337
+ }
338
+ const N = A(F, ...P);
339
+ if (process.env.NODE_ENV !== "production") {
340
+ let v;
341
+ i && (v = `${i}${Se(u || "")}`), v === void 0 && (v = `Styled(${Pe(d)})`), N.displayName = v;
342
+ }
343
+ return d.muiName && (N.muiName = d.muiName), N;
344
+ };
345
+ return A.withConfig && (O.withConfig = A.withConfig), O;
346
+ };
347
+ }
348
+ export {
349
+ Le as c,
350
+ Z as r,
351
+ z as s
352
+ };
@@ -1,14 +1,13 @@
1
- import { a as p, n as l } from "./createStyled-BzvgQjjR.js";
2
- import { c as d } from "./createSvgIcon-DEXLbMwp.js";
3
- import { C as _ } from "./styled-LNCprp4n.js";
4
- import { c as g, u as v } from "./useId-BHG98T5I.js";
5
- import { r as b } from "./requirePropFactory-BjhhI-AW.js";
6
- import { s as h, u as E, b as N, a as C, c as I } from "./ButtonBase-D0qccOVb.js";
7
- import { d as S } from "./debounce-46wSf_lW.js";
8
- import { i as x } from "./isMuiElement-CxT3_ACP.js";
9
- import { o as y } from "./ownerDocument-CUrv0DIK.js";
10
- import { o as q } from "./ownerWindow-niciwP7I.js";
11
- import { u as $ } from "./unsupportedProp-BuVD30Gh.js";
1
+ import { c as l, g as p } from "./createTheme-DrgvKMA_.js";
2
+ import { c as d } from "./createSvgIcon-CBoAEepv.js";
3
+ import { C as g } from "./createTheme-DVoJnXAT.js";
4
+ import { c as _, u as v } from "./useId-BHG98T5I.js";
5
+ import { r as b, u as h } from "./unsupportedProp-BND8AB6O.js";
6
+ import { s as E, u as N, b as C, a as I, c as S } from "./ButtonBase-CgQC8DUB.js";
7
+ import { d as x } from "./debounce-46wSf_lW.js";
8
+ import { i as y } from "./isMuiElement-CxT3_ACP.js";
9
+ import { o as q } from "./ownerDocument-CUrv0DIK.js";
10
+ import { o as $ } from "./ownerWindow-niciwP7I.js";
12
11
  import { u as D } from "./useControlled-BYdyS7Pn.js";
13
12
  function M(e, t) {
14
13
  return process.env.NODE_ENV === "production" ? () => null : (r, a, u, i, c) => {
@@ -25,35 +24,35 @@ var n = { exports: {} };
25
24
  }
26
25
  e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
27
26
  })(n);
28
- var B = n.exports, o = {};
27
+ var Y = n.exports, o = {};
29
28
  const O = {
30
29
  configure: (e) => {
31
30
  process.env.NODE_ENV !== "production" && console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.", "", "You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead", "", "The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401", "", "The updated documentation: https://mui.com/guides/classname-generator/"].join(`
32
- `)), _.configure(e);
31
+ `)), g.configure(e);
33
32
  }
34
33
  }, P = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
35
34
  __proto__: null,
36
- capitalize: p,
37
- createChainedFunction: g,
35
+ capitalize: l,
36
+ createChainedFunction: _,
38
37
  createSvgIcon: d,
39
- debounce: S,
38
+ debounce: x,
40
39
  deprecatedPropType: M,
41
- isMuiElement: x,
42
- ownerDocument: y,
43
- ownerWindow: q,
40
+ isMuiElement: y,
41
+ ownerDocument: q,
42
+ ownerWindow: $,
44
43
  requirePropFactory: b,
45
- setRef: h,
44
+ setRef: E,
46
45
  unstable_ClassNameGenerator: O,
47
- unstable_useEnhancedEffect: E,
46
+ unstable_useEnhancedEffect: N,
48
47
  unstable_useId: v,
49
- unsupportedProp: $,
48
+ unsupportedProp: h,
50
49
  useControlled: D,
51
- useEventCallback: N,
52
- useForkRef: C,
53
- useIsFocusVisible: I
54
- }, Symbol.toStringTag, { value: "Module" })), R = /* @__PURE__ */ l(P);
50
+ useEventCallback: C,
51
+ useForkRef: I,
52
+ useIsFocusVisible: S
53
+ }, Symbol.toStringTag, { value: "Module" })), R = /* @__PURE__ */ p(P);
55
54
  var s;
56
- function H() {
55
+ function B() {
57
56
  return s || (s = 1, function(e) {
58
57
  "use client";
59
58
  Object.defineProperty(e, "__esModule", {
@@ -68,6 +67,6 @@ function H() {
68
67
  }(o)), o;
69
68
  }
70
69
  export {
71
- B as i,
72
- H as r
70
+ Y as i,
71
+ B as r
73
72
  };
@@ -1,11 +1,12 @@
1
- import { a as I, _ as $ } from "./objectWithoutPropertiesLoose-BK36oJDi.js";
1
+ import { _ as I, a as $ } from "./objectWithoutPropertiesLoose-DJteAcBH.js";
2
2
  import * as _ from "react";
3
3
  import { jsxs as b, jsx as w } from "react/jsx-runtime";
4
- import { a as y, P as o } from "./createStyled-BzvgQjjR.js";
5
- import { g as T, u as N, c as C, a as R } from "./useThemeProps-uYx_RkOH.js";
6
- import { g as O, s as B } from "./styled-LNCprp4n.js";
4
+ import { c as y, P as o } from "./createTheme-DrgvKMA_.js";
5
+ import { g as T, u as N, c as C, a as R } from "./useThemeProps-BlXpIqSE.js";
6
+ import { s as O } from "./styled-DkqItiLo.js";
7
+ import { g as B } from "./createTheme-DVoJnXAT.js";
7
8
  function j(e) {
8
- return O("MuiSvgIcon", e);
9
+ return B("MuiSvgIcon", e);
9
10
  }
10
11
  T("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
11
12
  const E = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"], M = (e) => {
@@ -17,7 +18,7 @@ const E = ["children", "className", "color", "component", "fontSize", "htmlColor
17
18
  root: ["root", t !== "inherit" && `color${y(t)}`, `fontSize${y(n)}`]
18
19
  };
19
20
  return R(r, j, i);
20
- }, V = B("svg", {
21
+ }, V = O("svg", {
21
22
  name: "MuiSvgIcon",
22
23
  slot: "Root",
23
24
  overridesResolver: (e, t) => {
@@ -166,7 +167,7 @@ process.env.NODE_ENV !== "production" && (S.propTypes = {
166
167
  viewBox: o.string
167
168
  });
168
169
  S.muiName = "SvgIcon";
169
- function L(e, t) {
170
+ function F(e, t) {
170
171
  function n(i, r) {
171
172
  return /* @__PURE__ */ w(S, $({
172
173
  "data-testid": `${t}Icon`,
@@ -178,5 +179,5 @@ function L(e, t) {
178
179
  return process.env.NODE_ENV !== "production" && (n.displayName = `${t}Icon`), n.muiName = S.muiName, /* @__PURE__ */ _.memo(/* @__PURE__ */ _.forwardRef(n));
179
180
  }
180
181
  export {
181
- L as c
182
+ F as c
182
183
  };