@solostylist/ui-kit 1.0.11 → 1.0.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 (236) hide show
  1. package/README.md +1 -1
  2. package/dist/{Box-DyPisl7H.js → Box-BAmUWsQI.js} +4 -4
  3. package/dist/{Menu-CzI0zcbw.js → Menu-B8rPlcSd.js} +426 -420
  4. package/dist/{Stack-DIkbVcfm.js → Stack-DDbGEkxd.js} +17 -18
  5. package/dist/{Typography-jSFidXje.js → Typography-DiJzGJJd.js} +4 -4
  6. package/dist/{buttonBaseClasses-DxKwiRBX.js → buttonBaseClasses-DuDP2bLR.js} +2 -2
  7. package/dist/{createSvgIcon-B7_s-URK.js → createSvgIcon-Bpes8W5L.js} +20 -20
  8. package/dist/{createTheme-BZxWCiBm.js → createTheme-DDycScYN.js} +294 -263
  9. package/dist/{extendSxProp-SCsFy5tr.js → extendSxProp-De4gGzfV.js} +1 -1
  10. package/dist/{generateUtilityClasses-STjIp_B9.js → generateUtilityClasses-Z7VQRhBn.js} +1 -1
  11. package/dist/hooks/use-popover.d.ts +1 -1
  12. package/dist/{iconButtonClasses-CqYTUZq-.js → iconButtonClasses-8TuGhR-e.js} +2 -2
  13. package/dist/{index-DljiS4x1.js → index-CBHvlAxO.js} +4 -4
  14. package/dist/main.d.ts +0 -13
  15. package/dist/main.js +73 -99
  16. package/dist/{memoTheme-CaOW5YiB.js → memoTheme-DX35GGEJ.js} +30 -30
  17. package/dist/{menuItemClasses-BxqenSTj.js → menuItemClasses-DLFqc90k.js} +2 -2
  18. package/dist/outlinedInputClasses-CnRkAD7A.js +19 -0
  19. package/dist/s-button-link/s-button-link.d.ts +2 -3
  20. package/dist/s-button-link/s-button-link.js +11 -12
  21. package/dist/s-checkbox/s-checkbox.js +8 -9
  22. package/dist/s-chips/s-chips.js +6 -7
  23. package/dist/s-data-table/s-data-table.js +232 -233
  24. package/dist/s-dialog-confirm/s-dialog-confirm.js +26 -27
  25. package/dist/s-dialog-message/s-dialog-message.js +27 -28
  26. package/dist/s-file-dropzone/s-file-dropzone.js +27 -29
  27. package/dist/s-file-icon/s-file-icon.js +1 -1
  28. package/dist/s-multi-select/s-multi-select.js +318 -33
  29. package/dist/s-pagination/s-pagination.d.ts +2 -1
  30. package/dist/s-pagination/s-pagination.js +12 -15
  31. package/dist/s-select/s-select.js +10 -11
  32. package/dist/s-text-editor/s-text-editor-toolbar.js +506 -508
  33. package/dist/s-text-editor/s-text-editor.js +1 -1
  34. package/dist/s-theme-provider/s-theme-provider.js +1 -1
  35. package/dist/s-tip/s-tip.js +3 -3
  36. package/dist/{selectClasses-BaagNb21.js → selectClasses-CDFwg8w_.js} +2 -2
  37. package/dist/{svgIconClasses-SzHbWjUv.js → svgIconClasses-XJq1Ciua.js} +2 -2
  38. package/dist/theme/{customizations/components → components}/avatar.js +2 -2
  39. package/dist/theme/components/components.d.ts +2 -1126
  40. package/dist/theme/components/components.js +4 -108
  41. package/dist/theme/customizations/data-display.js +98 -58
  42. package/dist/theme/customizations/feedback.js +1 -1
  43. package/dist/theme/customizations/inputs.js +5 -5
  44. package/dist/theme/customizations/navigation.js +24 -24
  45. package/dist/theme/customizations/surfaces.js +1 -1
  46. package/dist/theme/theme-primitives.js +1 -1
  47. package/dist/{typographyClasses-BrhUWCU3.js → typographyClasses-CyVhKkh8.js} +2 -2
  48. package/dist/useSlot-B682hoPx.js +1179 -0
  49. package/dist/{useTheme-DrS6mww6.js → useTheme-DPznNGA-.js} +1 -1
  50. package/package.json +1 -1
  51. package/dist/ButtonBase-BFsNsbc9.js +0 -999
  52. package/dist/CaretDown-CZu0drmJ.js +0 -41
  53. package/dist/MenuItem-Bl45WcKS.js +0 -258
  54. package/dist/backdropClasses-lc38rgzd.js +0 -10
  55. package/dist/generateUtilityClass-CRH_bFW6.js +0 -34
  56. package/dist/inputBaseClasses-BRd7g4Od.js +0 -10
  57. package/dist/listItemIconClasses-D-kc0Y9u.js +0 -5
  58. package/dist/outlinedInputClasses-BTtPbpE5.js +0 -14
  59. package/dist/paperClasses-D1WMlaxU.js +0 -10
  60. package/dist/s-avatar/index.d.ts +0 -1
  61. package/dist/s-avatar/index.js +0 -4
  62. package/dist/s-avatar/package.json +0 -5
  63. package/dist/s-avatar/s-avatar.d.ts +0 -6
  64. package/dist/s-avatar/s-avatar.js +0 -6
  65. package/dist/s-box/index.d.ts +0 -1
  66. package/dist/s-box/index.js +0 -4
  67. package/dist/s-box/package.json +0 -5
  68. package/dist/s-box/s-box.d.ts +0 -5
  69. package/dist/s-box/s-box.js +0 -6
  70. package/dist/s-breadcrumbs-separator/index.d.ts +0 -1
  71. package/dist/s-breadcrumbs-separator/index.js +0 -4
  72. package/dist/s-breadcrumbs-separator/package.json +0 -5
  73. package/dist/s-breadcrumbs-separator/s-breadcrumbs-separator.d.ts +0 -3
  74. package/dist/s-breadcrumbs-separator/s-breadcrumbs-separator.js +0 -6
  75. package/dist/s-button/index.d.ts +0 -1
  76. package/dist/s-button/index.js +0 -4
  77. package/dist/s-button/package.json +0 -5
  78. package/dist/s-button/s-button.d.ts +0 -6
  79. package/dist/s-button/s-button.js +0 -18
  80. package/dist/s-card/index.d.ts +0 -1
  81. package/dist/s-card/index.js +0 -4
  82. package/dist/s-card/package.json +0 -5
  83. package/dist/s-card/s-card.d.ts +0 -6
  84. package/dist/s-card/s-card.js +0 -6
  85. package/dist/s-card-actions/index.d.ts +0 -1
  86. package/dist/s-card-actions/index.js +0 -4
  87. package/dist/s-card-actions/package.json +0 -5
  88. package/dist/s-card-actions/s-card-actions.d.ts +0 -6
  89. package/dist/s-card-actions/s-card-actions.js +0 -6
  90. package/dist/s-card-content/index.d.ts +0 -1
  91. package/dist/s-card-content/index.js +0 -4
  92. package/dist/s-card-content/package.json +0 -5
  93. package/dist/s-card-content/s-card-content.d.ts +0 -6
  94. package/dist/s-card-content/s-card-content.js +0 -6
  95. package/dist/s-card-header/index.d.ts +0 -1
  96. package/dist/s-card-header/index.js +0 -4
  97. package/dist/s-card-header/package.json +0 -5
  98. package/dist/s-card-header/s-card-header.d.ts +0 -6
  99. package/dist/s-card-header/s-card-header.js +0 -6
  100. package/dist/s-chip/index.d.ts +0 -1
  101. package/dist/s-chip/index.js +0 -4
  102. package/dist/s-chip/package.json +0 -5
  103. package/dist/s-chip/s-chip.d.ts +0 -6
  104. package/dist/s-chip/s-chip.js +0 -6
  105. package/dist/s-link/index.d.ts +0 -1
  106. package/dist/s-link/index.js +0 -4
  107. package/dist/s-link/package.json +0 -5
  108. package/dist/s-link/s-link.d.ts +0 -6
  109. package/dist/s-link/s-link.js +0 -6
  110. package/dist/s-menu-item/index.d.ts +0 -1
  111. package/dist/s-menu-item/index.js +0 -4
  112. package/dist/s-menu-item/package.json +0 -5
  113. package/dist/s-menu-item/s-menu-item.d.ts +0 -9
  114. package/dist/s-menu-item/s-menu-item.js +0 -6
  115. package/dist/s-rating/index.d.ts +0 -1
  116. package/dist/s-rating/index.js +0 -4
  117. package/dist/s-rating/package.json +0 -5
  118. package/dist/s-rating/s-rating.d.ts +0 -7
  119. package/dist/s-rating/s-rating.js +0 -6
  120. package/dist/s-stack/index.d.ts +0 -1
  121. package/dist/s-stack/index.js +0 -4
  122. package/dist/s-stack/package.json +0 -5
  123. package/dist/s-stack/s-stack.d.ts +0 -5
  124. package/dist/s-stack/s-stack.js +0 -6
  125. package/dist/tabClasses-CDDkt7la.js +0 -5
  126. package/dist/tableCellClasses-CBw1aep0.js +0 -10
  127. package/dist/theme/components/accordion.d.ts +0 -8
  128. package/dist/theme/components/accordion.js +0 -11
  129. package/dist/theme/components/alert.d.ts +0 -7
  130. package/dist/theme/components/alert.js +0 -4
  131. package/dist/theme/components/autocomplete.d.ts +0 -124
  132. package/dist/theme/components/autocomplete.js +0 -51
  133. package/dist/theme/components/backdrop.d.ts +0 -9
  134. package/dist/theme/components/backdrop.js +0 -9
  135. package/dist/theme/components/button-base.d.ts +0 -5
  136. package/dist/theme/components/button-base.js +0 -4
  137. package/dist/theme/components/button-group.d.ts +0 -5
  138. package/dist/theme/components/button-group.js +0 -4
  139. package/dist/theme/components/button.d.ts +0 -156
  140. package/dist/theme/components/button.js +0 -109
  141. package/dist/theme/components/card-actions.d.ts +0 -7
  142. package/dist/theme/components/card-actions.js +0 -6
  143. package/dist/theme/components/card-content.d.ts +0 -10
  144. package/dist/theme/components/card-content.js +0 -7
  145. package/dist/theme/components/card-header.d.ts +0 -25
  146. package/dist/theme/components/card-header.js +0 -20
  147. package/dist/theme/components/card.d.ts +0 -17
  148. package/dist/theme/components/card.js +0 -17
  149. package/dist/theme/components/checkbox.d.ts +0 -18
  150. package/dist/theme/components/checkbox.js +0 -60
  151. package/dist/theme/components/chip.d.ts +0 -28
  152. package/dist/theme/components/chip.js +0 -62
  153. package/dist/theme/components/dialog-actions.d.ts +0 -7
  154. package/dist/theme/components/dialog-actions.js +0 -6
  155. package/dist/theme/components/dialog-content-text.d.ts +0 -8
  156. package/dist/theme/components/dialog-content-text.js +0 -6
  157. package/dist/theme/components/dialog-content.d.ts +0 -8
  158. package/dist/theme/components/dialog-content.js +0 -6
  159. package/dist/theme/components/dialog-title.d.ts +0 -7
  160. package/dist/theme/components/dialog-title.js +0 -6
  161. package/dist/theme/components/filled-input.d.ts +0 -31
  162. package/dist/theme/components/filled-input.js +0 -21
  163. package/dist/theme/components/form-control-label.d.ts +0 -15
  164. package/dist/theme/components/form-control-label.js +0 -7
  165. package/dist/theme/components/form-group.d.ts +0 -7
  166. package/dist/theme/components/form-group.js +0 -4
  167. package/dist/theme/components/form-helper-text.d.ts +0 -8
  168. package/dist/theme/components/form-helper-text.js +0 -8
  169. package/dist/theme/components/form-label.d.ts +0 -12
  170. package/dist/theme/components/form-label.js +0 -9
  171. package/dist/theme/components/icon-button.d.ts +0 -83
  172. package/dist/theme/components/icon-button.js +0 -49
  173. package/dist/theme/components/input-base.d.ts +0 -39
  174. package/dist/theme/components/input-base.js +0 -34
  175. package/dist/theme/components/input-label.d.ts +0 -10
  176. package/dist/theme/components/input-label.js +0 -6
  177. package/dist/theme/components/input.d.ts +0 -32
  178. package/dist/theme/components/input.js +0 -22
  179. package/dist/theme/components/linear-progress.d.ts +0 -8
  180. package/dist/theme/components/linear-progress.js +0 -6
  181. package/dist/theme/components/link.d.ts +0 -10
  182. package/dist/theme/components/link.js +0 -11
  183. package/dist/theme/components/list-item-avatar.d.ts +0 -7
  184. package/dist/theme/components/list-item-avatar.js +0 -6
  185. package/dist/theme/components/list-item-button.d.ts +0 -10
  186. package/dist/theme/components/list-item-button.js +0 -7
  187. package/dist/theme/components/list-item-icon.d.ts +0 -9
  188. package/dist/theme/components/list-item-icon.js +0 -6
  189. package/dist/theme/components/list-item-text.d.ts +0 -7
  190. package/dist/theme/components/list-item-text.js +0 -6
  191. package/dist/theme/components/list-item.d.ts +0 -7
  192. package/dist/theme/components/list-item.js +0 -6
  193. package/dist/theme/components/list.d.ts +0 -7
  194. package/dist/theme/components/list.js +0 -6
  195. package/dist/theme/components/menu-item.d.ts +0 -17
  196. package/dist/theme/components/menu-item.js +0 -17
  197. package/dist/theme/components/menu.d.ts +0 -13
  198. package/dist/theme/components/menu.js +0 -7
  199. package/dist/theme/components/outlined-input.d.ts +0 -127
  200. package/dist/theme/components/outlined-input.js +0 -47
  201. package/dist/theme/components/paper.d.ts +0 -7
  202. package/dist/theme/components/paper.js +0 -6
  203. package/dist/theme/components/popover.d.ts +0 -11
  204. package/dist/theme/components/popover.js +0 -7
  205. package/dist/theme/components/radio.d.ts +0 -13
  206. package/dist/theme/components/radio.js +0 -25
  207. package/dist/theme/components/select.d.ts +0 -21
  208. package/dist/theme/components/select.js +0 -18
  209. package/dist/theme/components/skeleton.d.ts +0 -5
  210. package/dist/theme/components/skeleton.js +0 -8
  211. package/dist/theme/components/stack.d.ts +0 -5
  212. package/dist/theme/components/stack.js +0 -4
  213. package/dist/theme/components/switch.d.ts +0 -19
  214. package/dist/theme/components/switch.js +0 -11
  215. package/dist/theme/components/tab.d.ts +0 -18
  216. package/dist/theme/components/tab.js +0 -15
  217. package/dist/theme/components/table-body.d.ts +0 -5
  218. package/dist/theme/components/table-body.js +0 -10
  219. package/dist/theme/components/table-cell.d.ts +0 -10
  220. package/dist/theme/components/table-cell.js +0 -11
  221. package/dist/theme/components/table-head.d.ts +0 -11
  222. package/dist/theme/components/table-head.js +0 -15
  223. package/dist/theme/components/table-pagination.d.ts +0 -28
  224. package/dist/theme/components/table-pagination.js +0 -93
  225. package/dist/theme/components/tabs.d.ts +0 -33
  226. package/dist/theme/components/tabs.js +0 -21
  227. package/dist/theme/components/toggle-button-group.d.ts +0 -23
  228. package/dist/theme/components/toggle-button-group.js +0 -17
  229. package/dist/theme/components/toggle-button.d.ts +0 -12
  230. package/dist/theme/components/toggle-button.js +0 -9
  231. package/dist/theme/components/tooltip.d.ts +0 -10
  232. package/dist/theme/components/tooltip.js +0 -7
  233. package/dist/theme/customizations/components/components.d.ts +0 -7
  234. package/dist/theme/customizations/components/components.js +0 -7
  235. package/dist/useSlot-CtsS_jy6.js +0 -184
  236. /package/dist/theme/{customizations/components → components}/avatar.d.ts +0 -0
@@ -1,34 +1,30 @@
1
1
  import { j as r } from "../jsx-runtime-C5mzlN2N.js";
2
- import { v4 as Te } from "uuid";
2
+ import * as y from "react";
3
3
  import Ce from "../s-empty/s-empty.js";
4
- import * as h from "react";
5
- import { c as j, P as e, a as B, l as ke, n as je } from "../createTheme-BZxWCiBm.js";
6
- import { c as H } from "../identifier-CHPjnqaz.js";
7
- import { s as S, c as z, r as ae, u as M, m as W } from "../memoTheme-CaOW5YiB.js";
8
- import { g as I } from "../generateUtilityClass-CRH_bFW6.js";
9
- import { g as E } from "../generateUtilityClasses-STjIp_B9.js";
10
- import { g as Oe, t as Re } from "../tableCellClasses-CBw1aep0.js";
11
- import { u as we, a as Pe } from "../useControlled-Bvu9pDu8.js";
12
- import { u as A, m as Se } from "../useSlot-CtsS_jy6.js";
13
- import { B as Ne, r as ze } from "../ButtonBase-BFsNsbc9.js";
14
- import { c as G } from "../createSvgIcon-B7_s-URK.js";
4
+ import { g as N, b as j, P as e, a as M, n as Te, o as ke } from "../createTheme-DDycScYN.js";
5
+ import { c as I } from "../identifier-CHPjnqaz.js";
6
+ import { s as S, c as $, b as se, u as E, m as W } from "../memoTheme-DX35GGEJ.js";
7
+ import { g as B } from "../generateUtilityClasses-Z7VQRhBn.js";
8
+ import { u as je, a as Re } from "../useControlled-Bvu9pDu8.js";
9
+ import { a as A, B as Oe, r as we, m as Pe } from "../useSlot-B682hoPx.js";
10
+ import { c as J } from "../createSvgIcon-Bpes8W5L.js";
15
11
  import { c as Y } from "../createSimplePaletteValueFilter-B7--0ryQ.js";
16
- function $e(o) {
17
- return I("PrivateSwitchBase", o);
12
+ function Se(o) {
13
+ return N("PrivateSwitchBase", o);
18
14
  }
19
- E("PrivateSwitchBase", ["root", "checked", "disabled", "input", "edgeStart", "edgeEnd"]);
20
- const Be = (o) => {
15
+ B("PrivateSwitchBase", ["root", "checked", "disabled", "input", "edgeStart", "edgeEnd"]);
16
+ const ze = (o) => {
21
17
  const {
22
18
  classes: t,
23
- checked: s,
24
- disabled: a,
19
+ checked: a,
20
+ disabled: s,
25
21
  edge: i
26
22
  } = o, n = {
27
- root: ["root", s && "checked", a && "disabled", i && `edge${j(i)}`],
23
+ root: ["root", a && "checked", s && "disabled", i && `edge${j(i)}`],
28
24
  input: ["input"]
29
25
  };
30
- return z(n, $e, t);
31
- }, He = S(Ne)({
26
+ return $(n, Se, t);
27
+ }, Ne = S(Oe)({
32
28
  padding: 9,
33
29
  borderRadius: "50%",
34
30
  variants: [{
@@ -64,8 +60,8 @@ const Be = (o) => {
64
60
  marginRight: -12
65
61
  }
66
62
  }]
67
- }), Me = S("input", {
68
- shouldForwardProp: ae
63
+ }), $e = S("input", {
64
+ shouldForwardProp: se
69
65
  })({
70
66
  cursor: "inherit",
71
67
  position: "absolute",
@@ -77,38 +73,38 @@ const Be = (o) => {
77
73
  margin: 0,
78
74
  padding: 0,
79
75
  zIndex: 1
80
- }), ne = /* @__PURE__ */ h.forwardRef(function(t, s) {
76
+ }), ne = /* @__PURE__ */ y.forwardRef(function(t, a) {
81
77
  const {
82
- autoFocus: a,
78
+ autoFocus: s,
83
79
  checked: i,
84
80
  checkedIcon: n,
85
81
  defaultChecked: p,
86
82
  disabled: d,
87
83
  disableFocusRipple: u = !1,
88
- edge: y = !1,
84
+ edge: g = !1,
89
85
  icon: l,
90
86
  id: x,
91
- inputProps: O,
92
- inputRef: g,
93
- name: T,
87
+ inputProps: R,
88
+ inputRef: m,
89
+ name: C,
94
90
  onBlur: c,
95
91
  onChange: v,
96
- onFocus: m,
97
- readOnly: C,
92
+ onFocus: h,
93
+ readOnly: T,
98
94
  required: f = !1,
99
- tabIndex: N,
100
- type: R,
95
+ tabIndex: z,
96
+ type: O,
101
97
  value: V,
102
98
  slots: ce = {},
103
99
  slotProps: pe = {},
104
100
  ...de
105
- } = t, [K, ue] = we({
101
+ } = t, [K, ue] = je({
106
102
  controlled: i,
107
103
  default: !!p,
108
104
  name: "SwitchBase",
109
105
  state: "checked"
110
- }), w = Pe(), fe = (b) => {
111
- m && m(b), w && w.onFocus && w.onFocus(b);
106
+ }), w = Re(), fe = (b) => {
107
+ h && h(b), w && w.onFocus && w.onFocus(b);
112
108
  }, be = (b) => {
113
109
  c && c(b), w && w.onBlur && w.onBlur(b);
114
110
  }, ye = (b) => {
@@ -119,21 +115,21 @@ const Be = (o) => {
119
115
  };
120
116
  let F = d;
121
117
  w && typeof F > "u" && (F = w.disabled);
122
- const ge = R === "checkbox" || R === "radio", D = {
118
+ const ge = O === "checkbox" || O === "radio", D = {
123
119
  ...t,
124
120
  checked: K,
125
121
  disabled: F,
126
122
  disableFocusRipple: u,
127
- edge: y
128
- }, Q = Be(D), X = {
123
+ edge: g
124
+ }, Q = ze(D), X = {
129
125
  slots: ce,
130
126
  slotProps: {
131
- input: O,
127
+ input: R,
132
128
  ...pe
133
129
  }
134
130
  }, [me, he] = A("root", {
135
- ref: s,
136
- elementType: He,
131
+ ref: a,
132
+ elementType: Ne,
137
133
  className: Q.root,
138
134
  shouldForwardComponentProp: !0,
139
135
  externalForwardedProps: {
@@ -161,8 +157,8 @@ const Be = (o) => {
161
157
  tabIndex: null
162
158
  }
163
159
  }), [xe, ve] = A("input", {
164
- ref: g,
165
- elementType: Me,
160
+ ref: m,
161
+ elementType: $e,
166
162
  className: Q.input,
167
163
  externalForwardedProps: X,
168
164
  getSlotProps: (b) => ({
@@ -174,17 +170,17 @@ const Be = (o) => {
174
170
  }),
175
171
  ownerState: D,
176
172
  additionalProps: {
177
- autoFocus: a,
173
+ autoFocus: s,
178
174
  checked: i,
179
175
  defaultChecked: p,
180
176
  disabled: F,
181
177
  id: ge ? x : void 0,
182
- name: T,
183
- readOnly: C,
178
+ name: C,
179
+ readOnly: T,
184
180
  required: f,
185
- tabIndex: N,
186
- type: R,
187
- ...R === "checkbox" && V === void 0 ? {} : {
181
+ tabIndex: z,
182
+ type: O,
183
+ ...O === "checkbox" && V === void 0 ? {} : {
188
184
  value: V
189
185
  }
190
186
  }
@@ -253,7 +249,7 @@ process.env.NODE_ENV !== "production" && (ne.propTypes = {
253
249
  /**
254
250
  * Pass a ref to the `input` element.
255
251
  */
256
- inputRef: ze,
252
+ inputRef: we,
257
253
  /*
258
254
  * @ignore
259
255
  */
@@ -315,39 +311,39 @@ process.env.NODE_ENV !== "production" && (ne.propTypes = {
315
311
  */
316
312
  value: e.any
317
313
  });
318
- const Ie = G(/* @__PURE__ */ r.jsx("path", {
314
+ const Be = J(/* @__PURE__ */ r.jsx("path", {
319
315
  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"
320
- }), "CheckBoxOutlineBlank"), Ee = G(/* @__PURE__ */ r.jsx("path", {
316
+ }), "CheckBoxOutlineBlank"), He = J(/* @__PURE__ */ r.jsx("path", {
321
317
  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"
322
- }), "CheckBox"), Fe = G(/* @__PURE__ */ r.jsx("path", {
318
+ }), "CheckBox"), Me = J(/* @__PURE__ */ r.jsx("path", {
323
319
  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"
324
320
  }), "IndeterminateCheckBox");
325
- function Ue(o) {
326
- return I("MuiCheckbox", o);
321
+ function Ie(o) {
322
+ return N("MuiCheckbox", o);
327
323
  }
328
- const L = E("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "colorPrimary", "colorSecondary", "sizeSmall", "sizeMedium"]), Ve = (o) => {
324
+ const L = B("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "colorPrimary", "colorSecondary", "sizeSmall", "sizeMedium"]), Ee = (o) => {
329
325
  const {
330
326
  classes: t,
331
- indeterminate: s,
332
- color: a,
327
+ indeterminate: a,
328
+ color: s,
333
329
  size: i
334
330
  } = o, n = {
335
- root: ["root", s && "indeterminate", `color${j(a)}`, `size${j(i)}`]
336
- }, p = z(n, Ue, t);
331
+ root: ["root", a && "indeterminate", `color${j(s)}`, `size${j(i)}`]
332
+ }, p = $(n, Ie, t);
337
333
  return {
338
334
  ...t,
339
335
  // forward the disabled and checked classes to the SwitchBase
340
336
  ...p
341
337
  };
342
- }, _e = S(ne, {
343
- shouldForwardProp: (o) => ae(o) || o === "classes",
338
+ }, Fe = S(ne, {
339
+ shouldForwardProp: (o) => se(o) || o === "classes",
344
340
  name: "MuiCheckbox",
345
341
  slot: "Root",
346
342
  overridesResolver: (o, t) => {
347
343
  const {
348
- ownerState: s
344
+ ownerState: a
349
345
  } = o;
350
- return [t.root, s.indeterminate && t.indeterminate, t[`size${j(s.size)}`], s.color !== "default" && t[`color${j(s.color)}`]];
346
+ return [t.root, a.indeterminate && t.indeterminate, t[`size${j(a.size)}`], a.color !== "default" && t[`color${j(a.color)}`]];
351
347
  }
352
348
  })(W(({
353
349
  theme: o
@@ -360,7 +356,7 @@ const L = E("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
360
356
  },
361
357
  style: {
362
358
  "&:hover": {
363
- backgroundColor: o.vars ? `rgba(${o.vars.palette.action.activeChannel} / ${o.vars.palette.action.hoverOpacity})` : B(o.palette.action.active, o.palette.action.hoverOpacity)
359
+ backgroundColor: o.vars ? `rgba(${o.vars.palette.action.activeChannel} / ${o.vars.palette.action.hoverOpacity})` : M(o.palette.action.active, o.palette.action.hoverOpacity)
364
360
  }
365
361
  }
366
362
  }, ...Object.entries(o.palette).filter(Y()).map(([t]) => ({
@@ -370,7 +366,7 @@ const L = E("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
370
366
  },
371
367
  style: {
372
368
  "&:hover": {
373
- backgroundColor: o.vars ? `rgba(${o.vars.palette[t].mainChannel} / ${o.vars.palette.action.hoverOpacity})` : B(o.palette[t].main, o.palette.action.hoverOpacity)
369
+ backgroundColor: o.vars ? `rgba(${o.vars.palette[t].mainChannel} / ${o.vars.palette.action.hoverOpacity})` : M(o.palette[t].main, o.palette.action.hoverOpacity)
374
370
  }
375
371
  }
376
372
  })), ...Object.entries(o.palette).filter(Y()).map(([t]) => ({
@@ -399,58 +395,58 @@ const L = E("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "col
399
395
  }
400
396
  }
401
397
  }]
402
- }))), We = /* @__PURE__ */ r.jsx(Ee, {}), De = /* @__PURE__ */ r.jsx(Ie, {}), Le = /* @__PURE__ */ r.jsx(Fe, {}), q = /* @__PURE__ */ h.forwardRef(function(t, s) {
403
- const a = M({
398
+ }))), Ue = /* @__PURE__ */ r.jsx(He, {}), Ve = /* @__PURE__ */ r.jsx(Be, {}), _e = /* @__PURE__ */ r.jsx(Me, {}), q = /* @__PURE__ */ y.forwardRef(function(t, a) {
399
+ const s = E({
404
400
  props: t,
405
401
  name: "MuiCheckbox"
406
402
  }), {
407
- checkedIcon: i = We,
403
+ checkedIcon: i = Ue,
408
404
  color: n = "primary",
409
- icon: p = De,
405
+ icon: p = Ve,
410
406
  indeterminate: d = !1,
411
- indeterminateIcon: u = Le,
412
- inputProps: y,
407
+ indeterminateIcon: u = _e,
408
+ inputProps: g,
413
409
  size: l = "medium",
414
410
  disableRipple: x = !1,
415
- className: O,
416
- slots: g = {},
417
- slotProps: T = {},
411
+ className: R,
412
+ slots: m = {},
413
+ slotProps: C = {},
418
414
  ...c
419
- } = a, v = d ? u : p, m = d ? u : i, C = {
420
- ...a,
415
+ } = s, v = d ? u : p, h = d ? u : i, T = {
416
+ ...s,
421
417
  disableRipple: x,
422
418
  color: n,
423
419
  indeterminate: d,
424
420
  size: l
425
- }, f = Ve(C), N = T.input ?? y, [R, V] = A("root", {
426
- ref: s,
427
- elementType: _e,
428
- className: H(f.root, O),
421
+ }, f = Ee(T), z = C.input ?? g, [O, V] = A("root", {
422
+ ref: a,
423
+ elementType: Fe,
424
+ className: I(f.root, R),
429
425
  shouldForwardComponentProp: !0,
430
426
  externalForwardedProps: {
431
- slots: g,
432
- slotProps: T,
427
+ slots: m,
428
+ slotProps: C,
433
429
  ...c
434
430
  },
435
- ownerState: C,
431
+ ownerState: T,
436
432
  additionalProps: {
437
433
  type: "checkbox",
438
- icon: /* @__PURE__ */ h.cloneElement(v, {
434
+ icon: /* @__PURE__ */ y.cloneElement(v, {
439
435
  fontSize: v.props.fontSize ?? l
440
436
  }),
441
- checkedIcon: /* @__PURE__ */ h.cloneElement(m, {
442
- fontSize: m.props.fontSize ?? l
437
+ checkedIcon: /* @__PURE__ */ y.cloneElement(h, {
438
+ fontSize: h.props.fontSize ?? l
443
439
  }),
444
440
  disableRipple: x,
445
- slots: g,
441
+ slots: m,
446
442
  slotProps: {
447
- input: Se(typeof N == "function" ? N(C) : N, {
443
+ input: Pe(typeof z == "function" ? z(T) : z, {
448
444
  "data-indeterminate": d
449
445
  })
450
446
  }
451
447
  }
452
448
  });
453
- return /* @__PURE__ */ r.jsx(R, {
449
+ return /* @__PURE__ */ r.jsx(O, {
454
450
  ...V,
455
451
  classes: f
456
452
  });
@@ -569,28 +565,28 @@ process.env.NODE_ENV !== "production" && (q.propTypes = {
569
565
  */
570
566
  value: e.any
571
567
  });
572
- const J = /* @__PURE__ */ h.createContext();
573
- process.env.NODE_ENV !== "production" && (J.displayName = "TableContext");
574
- function Ae(o) {
575
- return I("MuiTable", o);
568
+ const G = /* @__PURE__ */ y.createContext();
569
+ process.env.NODE_ENV !== "production" && (G.displayName = "TableContext");
570
+ function We(o) {
571
+ return N("MuiTable", o);
576
572
  }
577
- E("MuiTable", ["root", "stickyHeader"]);
578
- const qe = (o) => {
573
+ B("MuiTable", ["root", "stickyHeader"]);
574
+ const De = (o) => {
579
575
  const {
580
576
  classes: t,
581
- stickyHeader: s
577
+ stickyHeader: a
582
578
  } = o;
583
- return z({
584
- root: ["root", s && "stickyHeader"]
585
- }, Ae, t);
586
- }, Ge = S("table", {
579
+ return $({
580
+ root: ["root", a && "stickyHeader"]
581
+ }, We, t);
582
+ }, Le = S("table", {
587
583
  name: "MuiTable",
588
584
  slot: "Root",
589
585
  overridesResolver: (o, t) => {
590
586
  const {
591
- ownerState: s
587
+ ownerState: a
592
588
  } = o;
593
- return [t.root, s.stickyHeader && t.stickyHeader];
589
+ return [t.root, a.stickyHeader && t.stickyHeader];
594
590
  }
595
591
  })(W(({
596
592
  theme: o
@@ -614,8 +610,8 @@ const qe = (o) => {
614
610
  borderCollapse: "separate"
615
611
  }
616
612
  }]
617
- }))), Z = "table", re = /* @__PURE__ */ h.forwardRef(function(t, s) {
618
- const a = M({
613
+ }))), Z = "table", re = /* @__PURE__ */ y.forwardRef(function(t, a) {
614
+ const s = E({
619
615
  props: t,
620
616
  name: "MuiTable"
621
617
  }), {
@@ -624,27 +620,27 @@ const qe = (o) => {
624
620
  padding: p = "normal",
625
621
  size: d = "medium",
626
622
  stickyHeader: u = !1,
627
- ...y
628
- } = a, l = {
629
- ...a,
623
+ ...g
624
+ } = s, l = {
625
+ ...s,
630
626
  component: n,
631
627
  padding: p,
632
628
  size: d,
633
629
  stickyHeader: u
634
- }, x = qe(l), O = h.useMemo(() => ({
630
+ }, x = De(l), R = y.useMemo(() => ({
635
631
  padding: p,
636
632
  size: d,
637
633
  stickyHeader: u
638
634
  }), [p, d, u]);
639
- return /* @__PURE__ */ r.jsx(J.Provider, {
640
- value: O,
641
- children: /* @__PURE__ */ r.jsx(Ge, {
635
+ return /* @__PURE__ */ r.jsx(G.Provider, {
636
+ value: R,
637
+ children: /* @__PURE__ */ r.jsx(Le, {
642
638
  as: n,
643
639
  role: n === Z ? null : "table",
644
- ref: s,
645
- className: H(x.root, i),
640
+ ref: a,
641
+ className: I(x.root, i),
646
642
  ownerState: l,
647
- ...y
643
+ ...g
648
644
  })
649
645
  });
650
646
  });
@@ -690,45 +686,45 @@ process.env.NODE_ENV !== "production" && (re.propTypes = {
690
686
  */
691
687
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
692
688
  });
693
- const U = /* @__PURE__ */ h.createContext();
689
+ const U = /* @__PURE__ */ y.createContext();
694
690
  process.env.NODE_ENV !== "production" && (U.displayName = "Tablelvl2Context");
695
- function Je(o) {
696
- return I("MuiTableBody", o);
691
+ function Ae(o) {
692
+ return N("MuiTableBody", o);
697
693
  }
698
- E("MuiTableBody", ["root"]);
699
- const Ke = (o) => {
694
+ B("MuiTableBody", ["root"]);
695
+ const qe = (o) => {
700
696
  const {
701
697
  classes: t
702
698
  } = o;
703
- return z({
699
+ return $({
704
700
  root: ["root"]
705
- }, Je, t);
706
- }, Qe = S("tbody", {
701
+ }, Ae, t);
702
+ }, Je = S("tbody", {
707
703
  name: "MuiTableBody",
708
704
  slot: "Root",
709
705
  overridesResolver: (o, t) => t.root
710
706
  })({
711
707
  display: "table-row-group"
712
- }), Xe = {
708
+ }), Ge = {
713
709
  variant: "body"
714
- }, ee = "tbody", ie = /* @__PURE__ */ h.forwardRef(function(t, s) {
715
- const a = M({
710
+ }, ee = "tbody", ie = /* @__PURE__ */ y.forwardRef(function(t, a) {
711
+ const s = E({
716
712
  props: t,
717
713
  name: "MuiTableBody"
718
714
  }), {
719
715
  className: i,
720
716
  component: n = ee,
721
717
  ...p
722
- } = a, d = {
723
- ...a,
718
+ } = s, d = {
719
+ ...s,
724
720
  component: n
725
- }, u = Ke(d);
721
+ }, u = qe(d);
726
722
  return /* @__PURE__ */ r.jsx(U.Provider, {
727
- value: Xe,
728
- children: /* @__PURE__ */ r.jsx(Qe, {
729
- className: H(u.root, i),
723
+ value: Ge,
724
+ children: /* @__PURE__ */ r.jsx(Je, {
725
+ className: I(u.root, i),
730
726
  as: n,
731
- ref: s,
727
+ ref: a,
732
728
  role: n === ee ? null : "rowgroup",
733
729
  ownerState: d,
734
730
  ...p
@@ -762,26 +758,29 @@ process.env.NODE_ENV !== "production" && (ie.propTypes = {
762
758
  */
763
759
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
764
760
  });
765
- const Ye = (o) => {
761
+ function Ke(o) {
762
+ return N("MuiTableCell", o);
763
+ }
764
+ const Qe = B("MuiTableCell", ["root", "head", "body", "footer", "sizeSmall", "sizeMedium", "paddingCheckbox", "paddingNone", "alignLeft", "alignCenter", "alignRight", "alignJustify", "stickyHeader"]), Xe = (o) => {
766
765
  const {
767
766
  classes: t,
768
- variant: s,
769
- align: a,
767
+ variant: a,
768
+ align: s,
770
769
  padding: i,
771
770
  size: n,
772
771
  stickyHeader: p
773
772
  } = o, d = {
774
- root: ["root", s, p && "stickyHeader", a !== "inherit" && `align${j(a)}`, i !== "normal" && `padding${j(i)}`, `size${j(n)}`]
773
+ root: ["root", a, p && "stickyHeader", s !== "inherit" && `align${j(s)}`, i !== "normal" && `padding${j(i)}`, `size${j(n)}`]
775
774
  };
776
- return z(d, Oe, t);
777
- }, Ze = S("td", {
775
+ return $(d, Ke, t);
776
+ }, Ye = S("td", {
778
777
  name: "MuiTableCell",
779
778
  slot: "Root",
780
779
  overridesResolver: (o, t) => {
781
780
  const {
782
- ownerState: s
781
+ ownerState: a
783
782
  } = o;
784
- return [t.root, t[s.variant], t[`size${j(s.size)}`], s.padding !== "normal" && t[`padding${j(s.padding)}`], s.align !== "inherit" && t[`align${j(s.align)}`], s.stickyHeader && t.stickyHeader];
783
+ return [t.root, t[a.variant], t[`size${j(a.size)}`], a.padding !== "normal" && t[`padding${j(a.padding)}`], a.align !== "inherit" && t[`align${j(a.align)}`], a.stickyHeader && t.stickyHeader];
785
784
  }
786
785
  })(W(({
787
786
  theme: o
@@ -792,7 +791,7 @@ const Ye = (o) => {
792
791
  // Workaround for a rendering bug with spanned columns in Chrome 62.0.
793
792
  // Removes the alpha (sets it to 1), and lightens or darkens the theme color.
794
793
  borderBottom: o.vars ? `1px solid ${o.vars.palette.TableCell.border}` : `1px solid
795
- ${o.palette.mode === "light" ? ke(B(o.palette.divider, 1), 0.88) : je(B(o.palette.divider, 1), 0.68)}`,
794
+ ${o.palette.mode === "light" ? Te(M(o.palette.divider, 1), 0.88) : ke(M(o.palette.divider, 1), 0.68)}`,
796
795
  textAlign: "left",
797
796
  padding: 16,
798
797
  variants: [{
@@ -826,7 +825,7 @@ const Ye = (o) => {
826
825
  },
827
826
  style: {
828
827
  padding: "6px 16px",
829
- [`&.${Re.paddingCheckbox}`]: {
828
+ [`&.${Qe.paddingCheckbox}`]: {
830
829
  width: 24,
831
830
  // prevent the checkbox column from growing
832
831
  padding: "0 12px 0 16px",
@@ -891,8 +890,8 @@ const Ye = (o) => {
891
890
  backgroundColor: (o.vars || o).palette.background.default
892
891
  }
893
892
  }]
894
- }))), $ = /* @__PURE__ */ h.forwardRef(function(t, s) {
895
- const a = M({
893
+ }))), H = /* @__PURE__ */ y.forwardRef(function(t, a) {
894
+ const s = E({
896
895
  props: t,
897
896
  name: "MuiTableCell"
898
897
  }), {
@@ -901,37 +900,37 @@ const Ye = (o) => {
901
900
  component: p,
902
901
  padding: d,
903
902
  scope: u,
904
- size: y,
903
+ size: g,
905
904
  sortDirection: l,
906
905
  variant: x,
907
- ...O
908
- } = a, g = h.useContext(J), T = h.useContext(U), c = T && T.variant === "head";
906
+ ...R
907
+ } = s, m = y.useContext(G), C = y.useContext(U), c = C && C.variant === "head";
909
908
  let v;
910
909
  p ? v = p : v = c ? "th" : "td";
911
- let m = u;
912
- v === "td" ? m = void 0 : !m && c && (m = "col");
913
- const C = x || T && T.variant, f = {
914
- ...a,
910
+ let h = u;
911
+ v === "td" ? h = void 0 : !h && c && (h = "col");
912
+ const T = x || C && C.variant, f = {
913
+ ...s,
915
914
  align: i,
916
915
  component: v,
917
- padding: d || (g && g.padding ? g.padding : "normal"),
918
- size: y || (g && g.size ? g.size : "medium"),
916
+ padding: d || (m && m.padding ? m.padding : "normal"),
917
+ size: g || (m && m.size ? m.size : "medium"),
919
918
  sortDirection: l,
920
- stickyHeader: C === "head" && g && g.stickyHeader,
921
- variant: C
922
- }, N = Ye(f);
923
- let R = null;
924
- return l && (R = l === "asc" ? "ascending" : "descending"), /* @__PURE__ */ r.jsx(Ze, {
919
+ stickyHeader: T === "head" && m && m.stickyHeader,
920
+ variant: T
921
+ }, z = Xe(f);
922
+ let O = null;
923
+ return l && (O = l === "asc" ? "ascending" : "descending"), /* @__PURE__ */ r.jsx(Ye, {
925
924
  as: v,
926
- ref: s,
927
- className: H(N.root, n),
928
- "aria-sort": R,
929
- scope: m,
925
+ ref: a,
926
+ className: I(z.root, n),
927
+ "aria-sort": O,
928
+ scope: h,
930
929
  ownerState: f,
931
- ...O
930
+ ...R
932
931
  });
933
932
  });
934
- process.env.NODE_ENV !== "production" && ($.propTypes = {
933
+ process.env.NODE_ENV !== "production" && (H.propTypes = {
935
934
  // ┌────────────────────────────── Warning ──────────────────────────────┐
936
935
  // │ These PropTypes are generated from the TypeScript type definitions. │
937
936
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -989,43 +988,43 @@ process.env.NODE_ENV !== "production" && ($.propTypes = {
989
988
  */
990
989
  variant: e.oneOfType([e.oneOf(["body", "footer", "head"]), e.string])
991
990
  });
992
- function eo(o) {
993
- return I("MuiTableHead", o);
991
+ function Ze(o) {
992
+ return N("MuiTableHead", o);
994
993
  }
995
- E("MuiTableHead", ["root"]);
996
- const oo = (o) => {
994
+ B("MuiTableHead", ["root"]);
995
+ const eo = (o) => {
997
996
  const {
998
997
  classes: t
999
998
  } = o;
1000
- return z({
999
+ return $({
1001
1000
  root: ["root"]
1002
- }, eo, t);
1003
- }, to = S("thead", {
1001
+ }, Ze, t);
1002
+ }, oo = S("thead", {
1004
1003
  name: "MuiTableHead",
1005
1004
  slot: "Root",
1006
1005
  overridesResolver: (o, t) => t.root
1007
1006
  })({
1008
1007
  display: "table-header-group"
1009
- }), so = {
1008
+ }), to = {
1010
1009
  variant: "head"
1011
- }, oe = "thead", le = /* @__PURE__ */ h.forwardRef(function(t, s) {
1012
- const a = M({
1010
+ }, oe = "thead", le = /* @__PURE__ */ y.forwardRef(function(t, a) {
1011
+ const s = E({
1013
1012
  props: t,
1014
1013
  name: "MuiTableHead"
1015
1014
  }), {
1016
1015
  className: i,
1017
1016
  component: n = oe,
1018
1017
  ...p
1019
- } = a, d = {
1020
- ...a,
1018
+ } = s, d = {
1019
+ ...s,
1021
1020
  component: n
1022
- }, u = oo(d);
1021
+ }, u = eo(d);
1023
1022
  return /* @__PURE__ */ r.jsx(U.Provider, {
1024
- value: so,
1025
- children: /* @__PURE__ */ r.jsx(to, {
1023
+ value: to,
1024
+ children: /* @__PURE__ */ r.jsx(oo, {
1026
1025
  as: n,
1027
- className: H(u.root, i),
1028
- ref: s,
1026
+ className: I(u.root, i),
1027
+ ref: a,
1029
1028
  role: n === oe ? null : "rowgroup",
1030
1029
  ownerState: d,
1031
1030
  ...p
@@ -1060,27 +1059,27 @@ process.env.NODE_ENV !== "production" && (le.propTypes = {
1060
1059
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
1061
1060
  });
1062
1061
  function ao(o) {
1063
- return I("MuiTableRow", o);
1062
+ return N("MuiTableRow", o);
1064
1063
  }
1065
- const te = E("MuiTableRow", ["root", "selected", "hover", "head", "footer"]), no = (o) => {
1064
+ const te = B("MuiTableRow", ["root", "selected", "hover", "head", "footer"]), so = (o) => {
1066
1065
  const {
1067
1066
  classes: t,
1068
- selected: s,
1069
- hover: a,
1067
+ selected: a,
1068
+ hover: s,
1070
1069
  head: i,
1071
1070
  footer: n
1072
1071
  } = o;
1073
- return z({
1074
- root: ["root", s && "selected", a && "hover", i && "head", n && "footer"]
1072
+ return $({
1073
+ root: ["root", a && "selected", s && "hover", i && "head", n && "footer"]
1075
1074
  }, ao, t);
1076
- }, ro = S("tr", {
1075
+ }, no = S("tr", {
1077
1076
  name: "MuiTableRow",
1078
1077
  slot: "Root",
1079
1078
  overridesResolver: (o, t) => {
1080
1079
  const {
1081
- ownerState: s
1080
+ ownerState: a
1082
1081
  } = o;
1083
- return [t.root, s.head && t.head, s.footer && t.footer];
1082
+ return [t.root, a.head && t.head, a.footer && t.footer];
1084
1083
  }
1085
1084
  })(W(({
1086
1085
  theme: o
@@ -1094,34 +1093,34 @@ const te = E("MuiTableRow", ["root", "selected", "hover", "head", "footer"]), no
1094
1093
  backgroundColor: (o.vars || o).palette.action.hover
1095
1094
  },
1096
1095
  [`&.${te.selected}`]: {
1097
- backgroundColor: o.vars ? `rgba(${o.vars.palette.primary.mainChannel} / ${o.vars.palette.action.selectedOpacity})` : B(o.palette.primary.main, o.palette.action.selectedOpacity),
1096
+ backgroundColor: o.vars ? `rgba(${o.vars.palette.primary.mainChannel} / ${o.vars.palette.action.selectedOpacity})` : M(o.palette.primary.main, o.palette.action.selectedOpacity),
1098
1097
  "&:hover": {
1099
- backgroundColor: o.vars ? `rgba(${o.vars.palette.primary.mainChannel} / calc(${o.vars.palette.action.selectedOpacity} + ${o.vars.palette.action.hoverOpacity}))` : B(o.palette.primary.main, o.palette.action.selectedOpacity + o.palette.action.hoverOpacity)
1098
+ backgroundColor: o.vars ? `rgba(${o.vars.palette.primary.mainChannel} / calc(${o.vars.palette.action.selectedOpacity} + ${o.vars.palette.action.hoverOpacity}))` : M(o.palette.primary.main, o.palette.action.selectedOpacity + o.palette.action.hoverOpacity)
1100
1099
  }
1101
1100
  }
1102
- }))), se = "tr", _ = /* @__PURE__ */ h.forwardRef(function(t, s) {
1103
- const a = M({
1101
+ }))), ae = "tr", _ = /* @__PURE__ */ y.forwardRef(function(t, a) {
1102
+ const s = E({
1104
1103
  props: t,
1105
1104
  name: "MuiTableRow"
1106
1105
  }), {
1107
1106
  className: i,
1108
- component: n = se,
1107
+ component: n = ae,
1109
1108
  hover: p = !1,
1110
1109
  selected: d = !1,
1111
1110
  ...u
1112
- } = a, y = h.useContext(U), l = {
1113
- ...a,
1111
+ } = s, g = y.useContext(U), l = {
1112
+ ...s,
1114
1113
  component: n,
1115
1114
  hover: p,
1116
1115
  selected: d,
1117
- head: y && y.variant === "head",
1118
- footer: y && y.variant === "footer"
1119
- }, x = no(l);
1120
- return /* @__PURE__ */ r.jsx(ro, {
1116
+ head: g && g.variant === "head",
1117
+ footer: g && g.variant === "footer"
1118
+ }, x = so(l);
1119
+ return /* @__PURE__ */ r.jsx(no, {
1121
1120
  as: n,
1122
- ref: s,
1123
- className: H(x.root, i),
1124
- role: n === se ? null : "row",
1121
+ ref: a,
1122
+ className: I(x.root, i),
1123
+ role: n === ae ? null : "row",
1125
1124
  ownerState: l,
1126
1125
  ...u
1127
1126
  });
@@ -1163,23 +1162,23 @@ process.env.NODE_ENV !== "production" && (_.propTypes = {
1163
1162
  */
1164
1163
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object])
1165
1164
  });
1166
- function Co({
1165
+ function mo({
1167
1166
  columns: o,
1168
1167
  hideHead: t,
1169
- hover: s,
1170
- onClick: a,
1168
+ hover: a,
1169
+ onClick: s,
1171
1170
  onDeselectAll: i,
1172
1171
  onDeselectOne: n,
1173
1172
  onSelectOne: p,
1174
1173
  onSelectAll: d,
1175
1174
  rows: u,
1176
- selectable: y,
1175
+ selectable: g,
1177
1176
  selected: l,
1178
1177
  uniqueRowId: x,
1179
- ...O
1178
+ ...R
1180
1179
  }) {
1181
- const g = ((l == null ? void 0 : l.size) ?? 0) > 0 && ((l == null ? void 0 : l.size) ?? 0) < u.length, T = u.length > 0 && (l == null ? void 0 : l.size) === u.length;
1182
- return /* @__PURE__ */ r.jsxs(re, { ...O, sx: { mt: 1 }, children: [
1180
+ const m = ((l == null ? void 0 : l.size) ?? 0) > 0 && ((l == null ? void 0 : l.size) ?? 0) < u.length, C = u.length > 0 && (l == null ? void 0 : l.size) === u.length;
1181
+ return /* @__PURE__ */ r.jsxs(re, { ...R, sx: { mt: 1 }, children: [
1183
1182
  /* @__PURE__ */ r.jsx(
1184
1183
  le,
1185
1184
  {
@@ -1190,19 +1189,19 @@ function Co({
1190
1189
  }
1191
1190
  },
1192
1191
  children: /* @__PURE__ */ r.jsxs(_, { children: [
1193
- y ? /* @__PURE__ */ r.jsx($, { padding: "checkbox", sx: { width: "40px", minWidth: "40px", maxWidth: "40px" }, children: /* @__PURE__ */ r.jsx(
1192
+ g ? /* @__PURE__ */ r.jsx(H, { padding: "checkbox", sx: { width: "40px", minWidth: "40px", maxWidth: "40px" }, children: /* @__PURE__ */ r.jsx(
1194
1193
  q,
1195
1194
  {
1196
- checked: T,
1197
- indeterminate: g,
1195
+ checked: C,
1196
+ indeterminate: m,
1198
1197
  onChange: (c) => {
1199
- T ? i == null || i(c) : d == null || d(c);
1198
+ C ? i == null || i(c) : d == null || d(c);
1200
1199
  }
1201
1200
  }
1202
1201
  ) }) : null,
1203
1202
  o.map(
1204
1203
  (c) => /* @__PURE__ */ r.jsx(
1205
- $,
1204
+ H,
1206
1205
  {
1207
1206
  sx: {
1208
1207
  width: c.width,
@@ -1212,48 +1211,48 @@ function Co({
1212
1211
  },
1213
1212
  children: c.hideName ? null : c.name
1214
1213
  },
1215
- c.name ?? Te()
1214
+ c.name ?? y.useId()
1216
1215
  )
1217
1216
  )
1218
1217
  ] })
1219
1218
  }
1220
1219
  ),
1221
1220
  /* @__PURE__ */ r.jsx(ie, { children: u.length ? u.map((c, v) => {
1222
- const m = c.id ? c.id : x == null ? void 0 : x(c), C = m ? l == null ? void 0 : l.has(m) : !1;
1221
+ const h = c.id ? c.id : x == null ? void 0 : x(c), T = h ? l == null ? void 0 : l.has(h) : !1;
1223
1222
  return /* @__PURE__ */ r.jsxs(
1224
1223
  _,
1225
1224
  {
1226
- hover: s,
1227
- selected: C,
1228
- ...a && {
1225
+ hover: a,
1226
+ selected: T,
1227
+ ...s && {
1229
1228
  onClick: (f) => {
1230
- a(f, c);
1229
+ s(f, c);
1231
1230
  }
1232
1231
  },
1233
- sx: { ...a && { cursor: "pointer" } },
1232
+ sx: { ...s && { cursor: "pointer" } },
1234
1233
  children: [
1235
- y ? /* @__PURE__ */ r.jsx($, { padding: "checkbox", children: /* @__PURE__ */ r.jsx(
1234
+ g ? /* @__PURE__ */ r.jsx(H, { padding: "checkbox", children: /* @__PURE__ */ r.jsx(
1236
1235
  q,
1237
1236
  {
1238
- checked: m ? C : !1,
1237
+ checked: h ? T : !1,
1239
1238
  onChange: (f) => {
1240
- C ? n == null || n(f, c) : p == null || p(f, c);
1239
+ T ? n == null || n(f, c) : p == null || p(f, c);
1241
1240
  },
1242
1241
  onClick: (f) => {
1243
- a && f.stopPropagation();
1242
+ s && f.stopPropagation();
1244
1243
  }
1245
1244
  }
1246
1245
  ) }) : null,
1247
1246
  o.map(
1248
- (f) => /* @__PURE__ */ r.jsx($, { sx: { ...f.align && { textAlign: f.align } }, children: f.formatter ? f.formatter(c, v) : f.field ? c[f.field] : null }, f.name)
1247
+ (f) => /* @__PURE__ */ r.jsx(H, { sx: { ...f.align && { textAlign: f.align } }, children: f.formatter ? f.formatter(c, v) : f.field ? c[f.field] : null }, f.name)
1249
1248
  )
1250
1249
  ]
1251
1250
  },
1252
- m ?? v
1251
+ h ?? v
1253
1252
  );
1254
- }) : /* @__PURE__ */ r.jsx(_, { children: /* @__PURE__ */ r.jsx($, { align: "center", colSpan: o.length, children: /* @__PURE__ */ r.jsx(Ce, {}) }) }) })
1253
+ }) : /* @__PURE__ */ r.jsx(_, { children: /* @__PURE__ */ r.jsx(H, { align: "center", colSpan: o.length, children: /* @__PURE__ */ r.jsx(Ce, {}) }) }) })
1255
1254
  ] });
1256
1255
  }
1257
1256
  export {
1258
- Co as default
1257
+ mo as default
1259
1258
  };