@hybridcore/ui 1.3.7 → 1.4.1

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 (126) hide show
  1. package/dist/AccordionDetails-CGs6GZQK.js +454 -0
  2. package/dist/Add-eepk2WTM.js +379 -0
  3. package/dist/Box-BPyg-Ybm.js +70 -0
  4. package/dist/Button-DLwB_sKd.js +354 -0
  5. package/dist/{ButtonBase-D6qhsxB0.js → ButtonBase-D0qccOVb.js} +6 -5
  6. package/dist/{CardContent-B8hqgH-I.js → CardContent-DFsCCOWk.js} +4 -4
  7. package/dist/{Checkbox-BFWhj3s-.js → Checkbox-qy3cjvnb.js} +134 -195
  8. package/dist/{Collapse-D_TjnyE5.js → Collapse-CL6LGGZw.js} +68 -75
  9. package/dist/Delete-OHEw9lDi.js +22 -0
  10. package/dist/DialogContent-CxOSq6h9.js +519 -0
  11. package/dist/FormControlLabel-D9KFjcIx.js +193 -0
  12. package/dist/{IconButton-D8bwME9t.js → IconButton-BaiyAtmS.js} +5 -5
  13. package/dist/{Input-Dxzguyp5.js → Input-CmCkXczh.js} +6 -6
  14. package/dist/{InputAdornment-B8ERE7Zv.js → InputAdornment-CZUPEeia.js} +5 -5
  15. package/dist/{FormControl-BMRUQKHh.js → InputLabel-CWkW8NtU.js} +316 -316
  16. package/dist/{List-DEWyK9IO.js → List-PpNAWJ_I.js} +4 -4
  17. package/dist/ListItem-CZbZ91vp.js +428 -0
  18. package/dist/{MenuItem-DstAFfik.js → MenuItem-D-INSvZa.js} +7 -7
  19. package/dist/{Modal-DNGEQJ1M.js → Modal-KrI5qFIq.js} +61 -57
  20. package/dist/{OutlinedInput-w2Cj9STF.js → OutlinedInput-DkIUD30e.js} +6 -6
  21. package/dist/{Paper-BseeergJ.js → Paper-btu3j72o.js} +5 -5
  22. package/dist/{Select-NDq3WyLt.js → Select-ClaBvSqf.js} +20 -18
  23. package/dist/Tabs-BzelDJKy.js +787 -0
  24. package/dist/TextField-D87qTh1k.js +457 -0
  25. package/dist/Typography-Bm7PFqUT.js +176 -0
  26. package/dist/assets/index.css +1 -1
  27. package/dist/assets/index2.css +1 -1
  28. package/dist/components/card/index.js +341 -179
  29. package/dist/components/card/styled.js +1 -1
  30. package/dist/components/collapsible-card/style.js +20 -466
  31. package/dist/components/confirm/dialog.js +8 -149
  32. package/dist/components/confirm/index.js +1 -1
  33. package/dist/components/container/index.js +7 -7
  34. package/dist/components/context-menu/index.js +191 -604
  35. package/dist/components/data-security-selectors/dissemination-list/index.js +1 -1
  36. package/dist/components/data-security-selectors/security-level/index.js +42 -40
  37. package/dist/components/date-time-picker/index.js +18 -19
  38. package/dist/components/geometry-picker/coordinate/index.js +1 -1
  39. package/dist/components/geometry-picker/edit/index.js +16 -16
  40. package/dist/components/geometry-picker/geometry/index.js +35 -35
  41. package/dist/components/geometry-picker/index.js +3 -3
  42. package/dist/components/geometry-picker/kml/index.js +14 -14
  43. package/dist/components/geometry-picker/map/index.js +1 -1
  44. package/dist/components/geometry-picker/map/logic.js +38 -37
  45. package/dist/components/geometry-picker/parser/coordinate-input/logic.js +63 -59
  46. package/dist/components/geometry-picker/parser/logic.js +33 -32
  47. package/dist/components/icon-button/index.js +1 -1
  48. package/dist/components/icon-button/styled.js +0 -2
  49. package/dist/components/{data-management/instance-form → instance-form}/components/composite-list/index.js +2 -2
  50. package/dist/components/instance-form/components/variable/index.js +19 -0
  51. package/dist/components/instance-form/components/variables/index.js +40 -0
  52. package/dist/components/{data-management/instance-form → instance-form}/index.js +106 -100
  53. package/dist/components/instance-hierarchy-table/index.js +58 -0
  54. package/dist/components/instance-hierarchy-table/styled.js +29 -0
  55. package/dist/components/instance-table/index.js +125 -0
  56. package/dist/components/instance-table/styled.js +13 -0
  57. package/dist/components/map/helpers/ol.js +1 -1
  58. package/dist/components/map/index.js +1 -1
  59. package/dist/components/map/logic.js +1 -1
  60. package/dist/components/map/styled.js +1 -1
  61. package/dist/components/phone-input/index.js +1 -1
  62. package/dist/components/property-mapping/index.js +558 -0
  63. package/dist/components/range-selector/components/composite-list-range/index.js +81 -0
  64. package/dist/components/range-selector/components/date-range/index.js +9 -0
  65. package/dist/components/range-selector/components/geometry-range/index.js +26 -0
  66. package/dist/components/range-selector/components/number-range/index.js +86 -0
  67. package/dist/components/range-selector/components/string-range/index.js +31 -0
  68. package/dist/components/range-selector/index.js +59 -0
  69. package/dist/components/search-input/index.js +4 -4
  70. package/dist/components/tabs/appleTabs.style.js +55 -0
  71. package/dist/components/tabs/index.js +93 -0
  72. package/dist/components/tabs/tab-panel.js +18 -0
  73. package/dist/components/template-form/components/catalogue-instance-selector/index.js +158 -0
  74. package/dist/components/template-form/components/property-list/index.js +72 -0
  75. package/dist/components/template-form/components/property-list/property-list-columns.js +125 -0
  76. package/dist/components/template-form/components/property-list/property-list-form.js +16 -0
  77. package/dist/components/template-form/components/property-list/property-list-logic.js +66 -0
  78. package/dist/components/template-form/components/property-list/types.js +8 -0
  79. package/dist/components/template-form/components/recognition-property-list/index.js +69 -0
  80. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +50 -0
  81. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +174 -0
  82. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-logic.js +64 -0
  83. package/dist/components/template-form/components/recognition-property-list/types.js +8 -0
  84. package/dist/components/template-form/components/select-icon/index.js +186 -0
  85. package/dist/components/template-form/components/select-icon/styled.js +76 -0
  86. package/dist/components/template-form/index.js +338 -0
  87. package/dist/components/template-property-filters/property.js +48 -46
  88. package/dist/components/tree-select/index.js +16 -15
  89. package/dist/components/tree-select/styled.js +2 -2
  90. package/dist/components/treeview-filter/index.js +8 -8
  91. package/dist/components/treeview-filter/item/index.js +1 -1
  92. package/dist/components/treeview-filter/item-label/index.js +18 -17
  93. package/dist/constants/index.js +41 -0
  94. package/dist/{createStyled-B96gjom1.js → createStyled-BzvgQjjR.js} +487 -464
  95. package/dist/createSvgIcon-Cfm1LkEe.js +73 -0
  96. package/dist/{createSvgIcon-BNrb7rDY.js → createSvgIcon-DEXLbMwp.js} +62 -90
  97. package/dist/dialog-v5-nL5yy.js +153 -0
  98. package/dist/{exactProp-CI_rjX83.js → exactProp-DkmnwNVS.js} +3 -3
  99. package/dist/extendSxProp-qqdkfHzS.js +30 -0
  100. package/dist/{index-CSfSVkKj.js → index-B0JPwFI9.js} +6 -5
  101. package/dist/index-C1fczHEW.js +11042 -0
  102. package/dist/{index-CJVcedWy.js → index-DPf5olog.js} +29 -27
  103. package/dist/{index-JrtqxUdI.js → index-DlnzUkwe.js} +1 -1
  104. package/dist/{listItemTextClasses-CFiI_U7B.js → listItemTextClasses-DsHGzpPM.js} +2 -2
  105. package/dist/main.d.ts +562 -78
  106. package/dist/main.js +157 -157
  107. package/dist/{ol-BUKJ1urU.js → ol-CHaVTXvL.js} +24 -24
  108. package/dist/property-list-form-BfP9gzSo.js +391 -0
  109. package/dist/requirePropFactory-BjhhI-AW.js +18 -0
  110. package/dist/{styled-cPJbqF0E.js → styled-LNCprp4n.js} +24 -22
  111. package/dist/unsupportedProp-BuVD30Gh.js +9 -0
  112. package/dist/useControlled-BYdyS7Pn.js +31 -0
  113. package/dist/{useTheme-C-T6Qisa.js → useTheme-DBiahn6p.js} +2 -2
  114. package/dist/{useThemeProps-DeftUmqJ.js → useThemeProps-uYx_RkOH.js} +16 -14
  115. package/dist/utils/ontology.js +52 -30
  116. package/dist/{utils-CCkxV0lZ.js → utils-DNe_YYjm.js} +16 -16
  117. package/package.json +2 -1
  118. package/dist/DialogContent-BCYm_d1s.js +0 -864
  119. package/dist/FormControlLabel-DENNVXWL.js +0 -639
  120. package/dist/Typography-Dg-ROiTA.js +0 -201
  121. package/dist/components/data-management/instance-form/components/variable/index.js +0 -17
  122. package/dist/components/data-management/instance-form/components/variables/index.js +0 -41
  123. package/dist/createSvgIcon-B2WT0K4k.js +0 -87
  124. package/dist/components/{data-management/instance-form → instance-form}/components/composite-list/styled.js +0 -0
  125. package/dist/components/{data-management/instance-form → instance-form}/components/policy-list/index.js +0 -0
  126. package/dist/{extends-Cyw62AD_.js → objectWithoutPropertiesLoose-BK36oJDi.js} +9 -9
@@ -1,89 +1,29 @@
1
- import { l as Z, s as ee, P as e, a as F } from "./createStyled-B96gjom1.js";
2
- import { c as oe, C as ne, g as E, s as S, r as te, a as se } from "./styled-cPJbqF0E.js";
3
- import { a as T, _ as r } from "./extends-Cyw62AD_.js";
4
- import * as B from "react";
5
- import { d as ce, g as M, c as q, a as V, u as ae } from "./useThemeProps-DeftUmqJ.js";
6
- import { jsx as u, jsxs as re } from "react/jsx-runtime";
7
- import { e as ie } from "./Typography-Dg-ROiTA.js";
8
- import { u as le } from "./useFormControl-CatNKXAi.js";
9
- import { B as de, r as U } from "./ButtonBase-D6qhsxB0.js";
10
- import { u as ue, c as z } from "./createSvgIcon-BNrb7rDY.js";
11
- function H(o) {
12
- var n, s, t = "";
13
- if (typeof o == "string" || typeof o == "number") t += o;
14
- else if (typeof o == "object") if (Array.isArray(o)) {
15
- var c = o.length;
16
- for (n = 0; n < c; n++) o[n] && (s = H(o[n])) && (t && (t += " "), t += s);
17
- } else for (s in o) o[s] && (t && (t += " "), t += s);
18
- return t;
1
+ import { _ as r, a as _ } from "./objectWithoutPropertiesLoose-BK36oJDi.js";
2
+ import * as x from "react";
3
+ import { P as e, a as z } from "./createStyled-BzvgQjjR.js";
4
+ import { g as q, c as E, a as M, u as Y } from "./useThemeProps-uYx_RkOH.js";
5
+ import { g as U, s as S, r as Z, a as ee } from "./styled-LNCprp4n.js";
6
+ import { u as oe } from "./useFormControl-CatNKXAi.js";
7
+ import { jsxs as ne, jsx as l } from "react/jsx-runtime";
8
+ import { B as te, r as V } from "./ButtonBase-D0qccOVb.js";
9
+ import { u as ce } from "./useControlled-BYdyS7Pn.js";
10
+ import { c as w } from "./createSvgIcon-DEXLbMwp.js";
11
+ function se(o) {
12
+ return U("PrivateSwitchBase", o);
19
13
  }
20
- function pe() {
21
- for (var o, n, s = 0, t = "", c = arguments.length; s < c; s++) (o = arguments[s]) && (n = H(o)) && (t && (t += " "), t += n);
22
- return t;
23
- }
24
- const fe = ["className", "component"];
25
- function me(o = {}) {
26
- const {
27
- themeId: n,
28
- defaultTheme: s,
29
- defaultClassName: t = "MuiBox-root",
30
- generateClassName: c
31
- } = o, a = Z("div", {
32
- shouldForwardProp: (i) => i !== "theme" && i !== "sx" && i !== "as"
33
- })(ee);
34
- return /* @__PURE__ */ B.forwardRef(function(b, l) {
35
- const p = ce(s), h = ie(b), {
36
- className: m,
37
- component: g = "div"
38
- } = h, k = T(h, fe);
39
- return /* @__PURE__ */ u(a, r({
40
- as: g,
41
- ref: l,
42
- className: pe(m, c ? c(t) : t),
43
- theme: n && p[n] || p
44
- }, k));
45
- });
46
- }
47
- const he = oe(), be = me({
48
- defaultTheme: he,
49
- defaultClassName: "MuiBox-root",
50
- generateClassName: ne.generate
51
- });
52
- process.env.NODE_ENV !== "production" && (be.propTypes = {
53
- // ----------------------------- Warning --------------------------------
54
- // | These PropTypes are generated from the TypeScript type definitions |
55
- // | To update them edit the d.ts file and run "yarn proptypes" |
56
- // ----------------------------------------------------------------------
57
- /**
58
- * @ignore
59
- */
60
- children: e.node,
61
- /**
62
- * The component used for the root node.
63
- * Either a string to use a HTML element or a component.
64
- */
65
- component: e.elementType,
66
- /**
67
- * The system prop that allows defining system overrides as well as additional CSS styles.
68
- */
69
- sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
70
- });
71
- function ge(o) {
72
- return E("PrivateSwitchBase", o);
73
- }
74
- M("PrivateSwitchBase", ["root", "checked", "disabled", "input", "edgeStart", "edgeEnd"]);
75
- const ke = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked", "disabled", "disableFocusRipple", "edge", "icon", "id", "inputProps", "inputRef", "name", "onBlur", "onChange", "onFocus", "readOnly", "required", "tabIndex", "type", "value"], xe = (o) => {
14
+ q("PrivateSwitchBase", ["root", "checked", "disabled", "input", "edgeStart", "edgeEnd"]);
15
+ const ae = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked", "disabled", "disableFocusRipple", "edge", "icon", "id", "inputProps", "inputRef", "name", "onBlur", "onChange", "onFocus", "readOnly", "required", "tabIndex", "type", "value"], re = (o) => {
76
16
  const {
77
17
  classes: n,
78
- checked: s,
79
- disabled: t,
18
+ checked: t,
19
+ disabled: i,
80
20
  edge: c
81
- } = o, a = {
82
- root: ["root", s && "checked", t && "disabled", c && `edge${F(c)}`],
21
+ } = o, s = {
22
+ root: ["root", t && "checked", i && "disabled", c && `edge${z(c)}`],
83
23
  input: ["input"]
84
24
  };
85
- return V(a, ge, n);
86
- }, Ce = S(de)(({
25
+ return M(s, se, n);
26
+ }, ie = S(te)(({
87
27
  ownerState: o
88
28
  }) => r({
89
29
  padding: 9,
@@ -92,7 +32,7 @@ const ke = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked"
92
32
  marginLeft: o.size === "small" ? -3 : -12
93
33
  }, o.edge === "end" && {
94
34
  marginRight: o.size === "small" ? -3 : -12
95
- })), ye = S("input")({
35
+ })), de = S("input")({
96
36
  cursor: "inherit",
97
37
  position: "absolute",
98
38
  opacity: 0,
@@ -103,86 +43,86 @@ const ke = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked"
103
43
  margin: 0,
104
44
  padding: 0,
105
45
  zIndex: 1
106
- }), L = /* @__PURE__ */ B.forwardRef(function(n, s) {
46
+ }), H = /* @__PURE__ */ x.forwardRef(function(n, t) {
107
47
  const {
108
- autoFocus: t,
48
+ autoFocus: i,
109
49
  checked: c,
110
- checkedIcon: a,
111
- className: I,
112
- defaultChecked: i,
113
- disabled: b,
114
- disableFocusRipple: l = !1,
115
- edge: p = !1,
116
- icon: h,
117
- id: m,
118
- inputProps: g,
119
- inputRef: k,
120
- name: R,
121
- onBlur: x,
122
- onChange: C,
123
- onFocus: y,
124
- readOnly: D,
125
- required: A = !1,
126
- tabIndex: G,
127
- type: P,
128
- value: $
129
- } = n, W = T(n, ke), [w, J] = ue({
50
+ checkedIcon: s,
51
+ className: v,
52
+ defaultChecked: k,
53
+ disabled: I,
54
+ disableFocusRipple: u = !1,
55
+ edge: C = !1,
56
+ icon: B,
57
+ id: p,
58
+ inputProps: R,
59
+ inputRef: P,
60
+ name: g,
61
+ onBlur: f,
62
+ onChange: h,
63
+ onFocus: m,
64
+ readOnly: L,
65
+ required: D = !1,
66
+ tabIndex: W,
67
+ type: y,
68
+ value: N
69
+ } = n, A = _(n, ae), [$, G] = ce({
130
70
  controlled: c,
131
- default: !!i,
71
+ default: !!k,
132
72
  name: "SwitchBase",
133
73
  state: "checked"
134
- }), f = le(), K = (d) => {
135
- y && y(d), f && f.onFocus && f.onFocus(d);
136
- }, Q = (d) => {
137
- x && x(d), f && f.onBlur && f.onBlur(d);
138
- }, X = (d) => {
139
- if (d.nativeEvent.defaultPrevented)
74
+ }), d = oe(), J = (a) => {
75
+ m && m(a), d && d.onFocus && d.onFocus(a);
76
+ }, K = (a) => {
77
+ f && f(a), d && d.onBlur && d.onBlur(a);
78
+ }, Q = (a) => {
79
+ if (a.nativeEvent.defaultPrevented)
140
80
  return;
141
- const _ = d.target.checked;
142
- J(_), C && C(d, _);
81
+ const T = a.target.checked;
82
+ G(T), h && h(a, T);
143
83
  };
144
- let v = b;
145
- f && typeof v > "u" && (v = f.disabled);
146
- const Y = P === "checkbox" || P === "radio", N = r({}, n, {
147
- checked: w,
148
- disabled: v,
149
- disableFocusRipple: l,
150
- edge: p
151
- }), j = xe(N);
152
- return /* @__PURE__ */ re(Ce, r({
84
+ let b = I;
85
+ d && typeof b > "u" && (b = d.disabled);
86
+ const X = y === "checkbox" || y === "radio", F = r({}, n, {
87
+ checked: $,
88
+ disabled: b,
89
+ disableFocusRipple: u,
90
+ edge: C
91
+ }), j = re(F);
92
+ return /* @__PURE__ */ ne(ie, r({
153
93
  component: "span",
154
- className: q(j.root, I),
94
+ className: E(j.root, v),
155
95
  centerRipple: !0,
156
- focusRipple: !l,
157
- disabled: v,
96
+ focusRipple: !u,
97
+ disabled: b,
158
98
  tabIndex: null,
159
99
  role: void 0,
160
- onFocus: K,
161
- onBlur: Q,
162
- ownerState: N,
163
- ref: s
164
- }, W, {
165
- children: [/* @__PURE__ */ u(ye, r({
166
- autoFocus: t,
100
+ onFocus: J,
101
+ onBlur: K,
102
+ ownerState: F,
103
+ ref: t
104
+ }, A, {
105
+ children: [/* @__PURE__ */ l(de, r({
106
+ autoFocus: i,
167
107
  checked: c,
168
- defaultChecked: i,
108
+ defaultChecked: k,
169
109
  className: j.input,
170
- disabled: v,
171
- id: Y ? m : void 0,
172
- name: R,
173
- onChange: X,
174
- readOnly: D,
175
- ref: k,
176
- required: A,
177
- ownerState: N,
178
- tabIndex: G,
179
- type: P
180
- }, P === "checkbox" && $ === void 0 ? {} : {
181
- value: $
182
- }, g)), w ? a : h]
110
+ disabled: b,
111
+ id: X ? p : void 0,
112
+ name: g,
113
+ onChange: Q,
114
+ readOnly: L,
115
+ ref: P,
116
+ required: D,
117
+ ownerState: F,
118
+ tabIndex: W,
119
+ type: y
120
+ }, y === "checkbox" && N === void 0 ? {} : {
121
+ value: N
122
+ }, R)), $ ? s : B]
183
123
  }));
184
124
  });
185
- process.env.NODE_ENV !== "production" && (L.propTypes = {
125
+ process.env.NODE_ENV !== "production" && (H.propTypes = {
186
126
  /**
187
127
  * If `true`, the `input` element is focused during the first mount.
188
128
  */
@@ -240,7 +180,7 @@ process.env.NODE_ENV !== "production" && (L.propTypes = {
240
180
  /**
241
181
  * Pass a ref to the `input` element.
242
182
  */
243
- inputRef: U,
183
+ inputRef: V,
244
184
  /*
245
185
  * @ignore
246
186
  */
@@ -286,34 +226,34 @@ process.env.NODE_ENV !== "production" && (L.propTypes = {
286
226
  */
287
227
  value: e.any
288
228
  });
289
- const ve = z(/* @__PURE__ */ u("path", {
229
+ const le = w(/* @__PURE__ */ l("path", {
290
230
  d: "M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"
291
- }), "CheckBoxOutlineBlank"), Be = z(/* @__PURE__ */ u("path", {
231
+ }), "CheckBoxOutlineBlank"), ue = w(/* @__PURE__ */ l("path", {
292
232
  d: "M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"
293
- }), "CheckBox"), Ie = z(/* @__PURE__ */ u("path", {
233
+ }), "CheckBox"), pe = w(/* @__PURE__ */ l("path", {
294
234
  d: "M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"
295
235
  }), "IndeterminateCheckBox");
296
- function Re(o) {
297
- return E("MuiCheckbox", o);
236
+ function fe(o) {
237
+ return U("MuiCheckbox", o);
298
238
  }
299
- const O = M("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "colorPrimary", "colorSecondary"]), Pe = ["checkedIcon", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size", "className"], Ne = (o) => {
239
+ const O = q("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "colorPrimary", "colorSecondary"]), he = ["checkedIcon", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size", "className"], me = (o) => {
300
240
  const {
301
241
  classes: n,
302
- indeterminate: s,
303
- color: t
242
+ indeterminate: t,
243
+ color: i
304
244
  } = o, c = {
305
- root: ["root", s && "indeterminate", `color${F(t)}`]
306
- }, a = V(c, Re, n);
307
- return r({}, n, a);
308
- }, Oe = S(L, {
309
- shouldForwardProp: (o) => te(o) || o === "classes",
245
+ root: ["root", t && "indeterminate", `color${z(i)}`]
246
+ }, s = M(c, fe, n);
247
+ return r({}, n, s);
248
+ }, be = S(H, {
249
+ shouldForwardProp: (o) => Z(o) || o === "classes",
310
250
  name: "MuiCheckbox",
311
251
  slot: "Root",
312
252
  overridesResolver: (o, n) => {
313
253
  const {
314
- ownerState: s
254
+ ownerState: t
315
255
  } = o;
316
- return [n.root, s.indeterminate && n.indeterminate, s.color !== "default" && n[`color${F(s.color)}`]];
256
+ return [n.root, t.indeterminate && n.indeterminate, t.color !== "default" && n[`color${z(t.color)}`]];
317
257
  }
318
258
  })(({
319
259
  theme: o,
@@ -322,7 +262,7 @@ const O = M("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
322
262
  color: (o.vars || o).palette.text.secondary
323
263
  }, !n.disableRipple && {
324
264
  "&:hover": {
325
- backgroundColor: o.vars ? `rgba(${n.color === "default" ? o.vars.palette.action.activeChannel : o.vars.palette.primary.mainChannel} / ${o.vars.palette.action.hoverOpacity})` : se(n.color === "default" ? o.palette.action.active : o.palette[n.color].main, o.palette.action.hoverOpacity),
265
+ backgroundColor: o.vars ? `rgba(${n.color === "default" ? o.vars.palette.action.activeChannel : o.vars.palette.primary.mainChannel} / ${o.vars.palette.action.hoverOpacity})` : ee(n.color === "default" ? o.palette.action.active : o.palette[n.color].main, o.palette.action.hoverOpacity),
326
266
  // Reset on touch devices, it doesn't add specificity
327
267
  "@media (hover: none)": {
328
268
  backgroundColor: "transparent"
@@ -335,44 +275,44 @@ const O = M("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
335
275
  [`&.${O.disabled}`]: {
336
276
  color: (o.vars || o).palette.action.disabled
337
277
  }
338
- })), Fe = /* @__PURE__ */ u(Be, {}), Se = /* @__PURE__ */ u(ve, {}), Te = /* @__PURE__ */ u(Ie, {}), ze = /* @__PURE__ */ B.forwardRef(function(n, s) {
339
- var t, c;
340
- const a = ae({
278
+ })), ke = /* @__PURE__ */ l(ue, {}), Ce = /* @__PURE__ */ l(le, {}), ge = /* @__PURE__ */ l(pe, {}), ye = /* @__PURE__ */ x.forwardRef(function(n, t) {
279
+ var i, c;
280
+ const s = Y({
341
281
  props: n,
342
282
  name: "MuiCheckbox"
343
283
  }), {
344
- checkedIcon: I = Fe,
345
- color: i = "primary",
346
- icon: b = Se,
347
- indeterminate: l = !1,
348
- indeterminateIcon: p = Te,
349
- inputProps: h,
350
- size: m = "medium",
351
- className: g
352
- } = a, k = T(a, Pe), R = l ? p : b, x = l ? p : I, C = r({}, a, {
353
- color: i,
354
- indeterminate: l,
355
- size: m
356
- }), y = Ne(C);
357
- return /* @__PURE__ */ u(Oe, r({
284
+ checkedIcon: v = ke,
285
+ color: k = "primary",
286
+ icon: I = Ce,
287
+ indeterminate: u = !1,
288
+ indeterminateIcon: C = ge,
289
+ inputProps: B,
290
+ size: p = "medium",
291
+ className: R
292
+ } = s, P = _(s, he), g = u ? C : I, f = u ? C : v, h = r({}, s, {
293
+ color: k,
294
+ indeterminate: u,
295
+ size: p
296
+ }), m = me(h);
297
+ return /* @__PURE__ */ l(be, r({
358
298
  type: "checkbox",
359
299
  inputProps: r({
360
- "data-indeterminate": l
361
- }, h),
362
- icon: /* @__PURE__ */ B.cloneElement(R, {
363
- fontSize: (t = R.props.fontSize) != null ? t : m
300
+ "data-indeterminate": u
301
+ }, B),
302
+ icon: /* @__PURE__ */ x.cloneElement(g, {
303
+ fontSize: (i = g.props.fontSize) != null ? i : p
364
304
  }),
365
- checkedIcon: /* @__PURE__ */ B.cloneElement(x, {
366
- fontSize: (c = x.props.fontSize) != null ? c : m
305
+ checkedIcon: /* @__PURE__ */ x.cloneElement(f, {
306
+ fontSize: (c = f.props.fontSize) != null ? c : p
367
307
  }),
368
- ownerState: C,
369
- ref: s,
370
- className: q(y.root, g)
371
- }, k, {
372
- classes: y
308
+ ownerState: h,
309
+ ref: t,
310
+ className: E(m.root, R)
311
+ }, P, {
312
+ classes: m
373
313
  }));
374
314
  });
375
- process.env.NODE_ENV !== "production" && (ze.propTypes = {
315
+ process.env.NODE_ENV !== "production" && (ye.propTypes = {
376
316
  // ----------------------------- Warning --------------------------------
377
317
  // | These PropTypes are generated from the TypeScript type definitions |
378
318
  // | To update them edit the d.ts file and run "yarn proptypes" |
@@ -444,7 +384,7 @@ process.env.NODE_ENV !== "production" && (ze.propTypes = {
444
384
  /**
445
385
  * Pass a ref to the `input` element.
446
386
  */
447
- inputRef: U,
387
+ inputRef: V,
448
388
  /**
449
389
  * Callback fired when the state is changed.
450
390
  *
@@ -474,6 +414,5 @@ process.env.NODE_ENV !== "production" && (ze.propTypes = {
474
414
  value: e.any
475
415
  });
476
416
  export {
477
- be as B,
478
- ze as C
417
+ ye as C
479
418
  };