@amateescu/portal-ui-components 0.0.7-beta0 → 0.0.7-beta1

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.
@@ -2,10 +2,11 @@ import { jsx as M, jsxs as xe } from "react/jsx-runtime";
2
2
  import { _ as Y, a as f, r as rs } from "../../index-kNWC7pFF.js";
3
3
  import * as a from "react";
4
4
  import zn, { createElement as vn } from "react";
5
- import { P as o, G as Dd, f as La, q as Nd, s as Ld, t as Vd, a as _d, i as oe, v as Ad, r as Hd, w as Nr, x as Bd, n as lo, c as ie, y as si, z as El, A as zd, B as nl, D as ii, E as Gd, e as Va, j as be, h as Le, F as ls, T as ss, g as Ve, u as Be, k as ee, p as Ze, H as jd, o as Gt, l as ai, m as _a, I as Aa, J as Ha, K as Ud } from "../../generateUtilityClasses-sdN6xOVt.js";
5
+ import { P as o, G as Dd, d as La, n as Nd, s as Ld, o as Vd, a as _d, h as oe, p as Ad, r as Hd, q as Nr, t as Bd, k as lo, c as ie, v as si, w as El, x as zd, y as nl, z as ii, A as Gd, e as Va, i as be, f as Le, B as ls, T as ss, g as Ve, u as Be, j as ee, m as Ze, D as jd, l as Gt, E as _a, F as Aa, H as Ud } from "../../generateUtilityClasses-yRWzVVZS.js";
6
6
  import { a as xr, r as is, t as er } from "../../toPropertyKey-DMiYgyB_.js";
7
- import { _ as qd, T as Ba, u as et, a as nt, r as Ct, e as za, b as ct, c as Gn, s as Hl, d as tr, f as Wd, g as Kd, B as Yd } from "../../Button-BgbkoKxR.js";
8
- import { u as as, C as Xd } from "../../CircularProgress-BsBIRj7X.js";
7
+ import { _ as qd, T as Ha, u as et, a as nt, r as Ct, e as Ba, b as ct, c as Gn, s as Hl, d as tr, f as Wd, g as Kd, B as Yd } from "../../Button-DL5BII6f.js";
8
+ import { u as as, C as Xd } from "../../CircularProgress-CSYOC8B8.js";
9
+ import { css as ai, keyframes as za } from "@emotion/react";
9
10
  const ci = {
10
11
  disabled: !1
11
12
  };
@@ -150,13 +151,13 @@ var Zd = function(t) {
150
151
  var c = Y(s, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
151
152
  return (
152
153
  // allows for nested Transitions
153
- /* @__PURE__ */ zn.createElement(Ba.Provider, {
154
+ /* @__PURE__ */ zn.createElement(Ha.Provider, {
154
155
  value: null
155
156
  }, typeof i == "function" ? i(l, c) : zn.cloneElement(zn.Children.only(i), c))
156
157
  );
157
158
  }, t;
158
159
  }(zn.Component);
159
- ao.contextType = Ba;
160
+ ao.contextType = Ha;
160
161
  ao.propTypes = process.env.NODE_ENV !== "production" ? {
161
162
  /**
162
163
  * A React reference to DOM element that need to transition:
@@ -1036,7 +1037,7 @@ const Vp = Object.is, vs = Qa, _p = () => ({
1036
1037
  function Ge(e) {
1037
1038
  return Le("MuiDataGrid", e);
1038
1039
  }
1039
- const B = Ve("MuiDataGrid", ["actionsCell", "aggregationColumnHeader", "aggregationColumnHeader--alignLeft", "aggregationColumnHeader--alignCenter", "aggregationColumnHeader--alignRight", "aggregationColumnHeaderLabel", "autoHeight", "autosizing", "booleanCell", "cell--editable", "cell--editing", "cell--textCenter", "cell--textLeft", "cell--textRight", "cell--withRenderer", "cell--rangeTop", "cell--rangeBottom", "cell--rangeLeft", "cell--rangeRight", "cell--selectionMode", "cell", "cellContent", "cellCheckbox", "cellSkeleton", "checkboxInput", "columnHeader--alignCenter", "columnHeader--alignLeft", "columnHeader--alignRight", "columnHeader--dragging", "columnHeader--moving", "columnHeader--numeric", "columnHeader--sortable", "columnHeader--sorted", "columnHeader--filtered", "columnHeader", "columnHeaderCheckbox", "columnHeaderDraggableContainer", "columnHeaderDropZone", "columnHeaderTitle", "columnHeaderTitleContainer", "columnHeaderTitleContainerContent", "columnGroupHeader", "columnHeader--filledGroup", "columnHeader--emptyGroup", "columnHeader--showColumnBorder", "columnHeaders", "columnHeadersInner", "columnHeadersInner--scrollable", "columnSeparator--resizable", "columnSeparator--resizing", "columnSeparator--sideLeft", "columnSeparator--sideRight", "columnSeparator", "columnsPanel", "columnsPanelRow", "detailPanel", "detailPanels", "detailPanelToggleCell", "detailPanelToggleCell--expanded", "footerCell", "panel", "panelHeader", "panelWrapper", "panelContent", "panelFooter", "paper", "editBooleanCell", "editInputCell", "filterForm", "filterFormDeleteIcon", "filterFormLogicOperatorInput", "filterFormColumnInput", "filterFormOperatorInput", "filterFormValueInput", "filterIcon", "footerContainer", "headerFilterRow", "iconButtonContainer", "iconSeparator", "main", "menu", "menuIcon", "menuIconButton", "menuOpen", "menuList", "overlay", "overlayWrapper", "overlayWrapperInner", "root", "root--densityStandard", "root--densityComfortable", "root--densityCompact", "root--disableUserSelection", "row", "row--editable", "row--editing", "row--lastVisible", "row--dragging", "row--dynamicHeight", "row--detailPanelExpanded", "rowReorderCellPlaceholder", "rowCount", "rowReorderCellContainer", "rowReorderCell", "rowReorderCell--draggable", "scrollArea--left", "scrollArea--right", "scrollArea", "selectedRowCount", "sortIcon", "toolbarContainer", "toolbarFilterList", "virtualScroller", "virtualScrollerContent", "virtualScrollerContent--overflowed", "virtualScrollerRenderZone", "pinnedColumns", "pinnedColumns--left", "pinnedColumns--right", "pinnedColumnHeaders", "pinnedColumnHeaders--left", "pinnedColumnHeaders--right", "withBorderColor", "cell--withRightBorder", "columnHeader--withRightBorder", "treeDataGroupingCell", "treeDataGroupingCellToggle", "groupingCriteriaCell", "groupingCriteriaCellToggle", "pinnedRows", "pinnedRows--top", "pinnedRows--bottom", "pinnedRowsRenderZone"]);
1040
+ const H = Ve("MuiDataGrid", ["actionsCell", "aggregationColumnHeader", "aggregationColumnHeader--alignLeft", "aggregationColumnHeader--alignCenter", "aggregationColumnHeader--alignRight", "aggregationColumnHeaderLabel", "autoHeight", "autosizing", "booleanCell", "cell--editable", "cell--editing", "cell--textCenter", "cell--textLeft", "cell--textRight", "cell--withRenderer", "cell--rangeTop", "cell--rangeBottom", "cell--rangeLeft", "cell--rangeRight", "cell--selectionMode", "cell", "cellContent", "cellCheckbox", "cellSkeleton", "checkboxInput", "columnHeader--alignCenter", "columnHeader--alignLeft", "columnHeader--alignRight", "columnHeader--dragging", "columnHeader--moving", "columnHeader--numeric", "columnHeader--sortable", "columnHeader--sorted", "columnHeader--filtered", "columnHeader", "columnHeaderCheckbox", "columnHeaderDraggableContainer", "columnHeaderDropZone", "columnHeaderTitle", "columnHeaderTitleContainer", "columnHeaderTitleContainerContent", "columnGroupHeader", "columnHeader--filledGroup", "columnHeader--emptyGroup", "columnHeader--showColumnBorder", "columnHeaders", "columnHeadersInner", "columnHeadersInner--scrollable", "columnSeparator--resizable", "columnSeparator--resizing", "columnSeparator--sideLeft", "columnSeparator--sideRight", "columnSeparator", "columnsPanel", "columnsPanelRow", "detailPanel", "detailPanels", "detailPanelToggleCell", "detailPanelToggleCell--expanded", "footerCell", "panel", "panelHeader", "panelWrapper", "panelContent", "panelFooter", "paper", "editBooleanCell", "editInputCell", "filterForm", "filterFormDeleteIcon", "filterFormLogicOperatorInput", "filterFormColumnInput", "filterFormOperatorInput", "filterFormValueInput", "filterIcon", "footerContainer", "headerFilterRow", "iconButtonContainer", "iconSeparator", "main", "menu", "menuIcon", "menuIconButton", "menuOpen", "menuList", "overlay", "overlayWrapper", "overlayWrapperInner", "root", "root--densityStandard", "root--densityComfortable", "root--densityCompact", "root--disableUserSelection", "row", "row--editable", "row--editing", "row--lastVisible", "row--dragging", "row--dynamicHeight", "row--detailPanelExpanded", "rowReorderCellPlaceholder", "rowCount", "rowReorderCellContainer", "rowReorderCell", "rowReorderCell--draggable", "scrollArea--left", "scrollArea--right", "scrollArea", "selectedRowCount", "sortIcon", "toolbarContainer", "toolbarFilterList", "virtualScroller", "virtualScrollerContent", "virtualScrollerContent--overflowed", "virtualScrollerRenderZone", "pinnedColumns", "pinnedColumns--left", "pinnedColumns--right", "pinnedColumnHeaders", "pinnedColumnHeaders--left", "pinnedColumnHeaders--right", "withBorderColor", "cell--withRightBorder", "columnHeader--withRightBorder", "treeDataGroupingCell", "treeDataGroupingCellToggle", "groupingCriteriaCell", "groupingCriteriaCellToggle", "pinnedRows", "pinnedRows--top", "pinnedRows--bottom", "pinnedRowsRenderZone"]);
1040
1041
  var Lr = "NOT_FOUND";
1041
1042
  function Ap(e) {
1042
1043
  var t;
@@ -1718,7 +1719,7 @@ function If(e, t) {
1718
1719
  return e.querySelector(`[role="columnheader"][data-field="${Is(t)}"]`);
1719
1720
  }
1720
1721
  function mc(e) {
1721
- return `.${B.row}[data-id="${Is(String(e))}"]`;
1722
+ return `.${H.row}[data-id="${Is(String(e))}"]`;
1722
1723
  }
1723
1724
  function Of(e, t) {
1724
1725
  return e.querySelector(mc(t));
@@ -1727,7 +1728,7 @@ function Ef(e, {
1727
1728
  id: t,
1728
1729
  field: n
1729
1730
  }) {
1730
- const r = mc(t), l = `.${B.cell}[data-field="${Is(n)}"]`, s = `${r} ${l}`;
1731
+ const r = mc(t), l = `.${H.cell}[data-field="${Is(n)}"]`, s = `${r} ${l}`;
1731
1732
  return e.querySelector(s);
1732
1733
  }
1733
1734
  function fr(e) {
@@ -1914,11 +1915,11 @@ const bc = /* @__PURE__ */ a.forwardRef((e, t) => {
1914
1915
  });
1915
1916
  n.cellClassName && S.push(typeof n.cellClassName == "function" ? n.cellClassName(u) : n.cellClassName), y && S.push(y(u));
1916
1917
  let E;
1917
- if (l == null && n.renderCell && (E = n.renderCell(u), S.push(B["cell--withRenderer"]), S.push(w == null ? void 0 : w["cell--withRenderer"])), l != null && n.renderEditCell) {
1918
+ if (l == null && n.renderCell && (E = n.renderCell(u), S.push(H["cell--withRenderer"]), S.push(w == null ? void 0 : w["cell--withRenderer"])), l != null && n.renderEditCell) {
1918
1919
  const T = s.current.getRowWithUpdatedValues(r, n.field), A = Y(l, Mf), L = f({}, u, {
1919
1920
  row: T
1920
1921
  }, A);
1921
- E = n.renderEditCell(L), S.push(B["cell--editing"]), S.push(w == null ? void 0 : w["cell--editing"]);
1922
+ E = n.renderEditCell(L), S.push(H["cell--editing"]), S.push(w == null ? void 0 : w["cell--editing"]);
1922
1923
  }
1923
1924
  const {
1924
1925
  slots: V
@@ -1969,7 +1970,7 @@ const bc = /* @__PURE__ */ a.forwardRef((e, t) => {
1969
1970
  onKeyUp: P,
1970
1971
  onDragEnter: R,
1971
1972
  onDragOver: F
1972
- } = e, k = Y(e, Rf), D = d ?? y, H = a.useRef(null), G = et(t, H), z = a.useRef(null), j = He(), U = Se(), Q = {
1973
+ } = e, k = Y(e, Rf), D = d ?? y, B = a.useRef(null), G = et(t, B), z = a.useRef(null), j = He(), U = Se(), Q = {
1973
1974
  align: l,
1974
1975
  showRightBorder: V,
1975
1976
  isEditable: b,
@@ -2001,8 +2002,8 @@ const bc = /* @__PURE__ */ a.forwardRef((e, t) => {
2001
2002
  if (!g || u === Qe.Edit)
2002
2003
  return;
2003
2004
  const K = st(j.current.rootElementRef.current);
2004
- if (H.current && !H.current.contains(K.activeElement)) {
2005
- const ae = H.current.querySelector('[tabindex="0"]'), Z = z.current || ae || H.current;
2005
+ if (B.current && !B.current.contains(K.activeElement)) {
2006
+ const ae = B.current.querySelector('[tabindex="0"]'), Z = z.current || ae || B.current;
2006
2007
  if (fc())
2007
2008
  Z.focus({
2008
2009
  preventScroll: !0
@@ -2160,7 +2161,7 @@ const vc = /* @__PURE__ */ a.forwardRef((e, t) => {
2160
2161
  field: R
2161
2162
  })), {
2162
2163
  cellMode: D,
2163
- hasFocus: H,
2164
+ hasFocus: B,
2164
2165
  isEditable: G,
2165
2166
  value: z,
2166
2167
  formattedValue: j
@@ -2202,7 +2203,7 @@ const vc = /* @__PURE__ */ a.forwardRef((e, t) => {
2202
2203
  maxHeight: m === "auto" ? "none" : m
2203
2204
  }, _), [b, m, y, _]);
2204
2205
  if (a.useEffect(() => {
2205
- if (!H || D === Qe.Edit)
2206
+ if (!B || D === Qe.Edit)
2206
2207
  return;
2207
2208
  const te = st(x.current.rootElementRef.current);
2208
2209
  if (ge.current && !ge.current.contains(te.activeElement)) {
@@ -2216,7 +2217,7 @@ const vc = /* @__PURE__ */ a.forwardRef((e, t) => {
2216
2217
  Pe.focus(), x.current.scroll(De);
2217
2218
  }
2218
2219
  }
2219
- }, [H, D, x]), F === Br)
2220
+ }, [B, D, x]), F === Br)
2220
2221
  return null;
2221
2222
  let Re = N.onFocus;
2222
2223
  process.env.NODE_ENV === "test" && (s = P.experimentalFeatures) != null && s.warnIfFocusStateIsNotSynced && (Re = (te) => {
@@ -2229,11 +2230,11 @@ const vc = /* @__PURE__ */ a.forwardRef((e, t) => {
2229
2230
  `)), zr = !0);
2230
2231
  });
2231
2232
  let Te;
2232
- if (p == null && c.renderCell && (Te = c.renderCell(F), ne.push(B["cell--withRenderer"]), ne.push(se == null ? void 0 : se["cell--withRenderer"])), p != null && c.renderEditCell) {
2233
+ if (p == null && c.renderCell && (Te = c.renderCell(F), ne.push(H["cell--withRenderer"]), ne.push(se == null ? void 0 : se["cell--withRenderer"])), p != null && c.renderEditCell) {
2233
2234
  const te = x.current.getRowWithUpdatedValues(u, c.field), ue = Y(p, $f), Pe = f({}, F, {
2234
2235
  row: te
2235
2236
  }, ue);
2236
- Te = c.renderEditCell(Pe), ne.push(B["cell--editing"]), ne.push(se == null ? void 0 : se["cell--editing"]);
2237
+ Te = c.renderEditCell(Pe), ne.push(H["cell--editing"]), ne.push(se == null ? void 0 : se["cell--editing"]);
2237
2238
  }
2238
2239
  if (Te === void 0) {
2239
2240
  const te = me == null ? void 0 : me.toString();
@@ -2884,7 +2885,7 @@ const Ft = Ve("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
2884
2885
  rows: F,
2885
2886
  slotProps: k = {},
2886
2887
  slots: D = {},
2887
- startAdornment: H,
2888
+ startAdornment: B,
2888
2889
  type: G = "text",
2889
2890
  value: z
2890
2891
  } = l, j = Y(l, Wf), U = y.value != null ? y.value : z, {
@@ -2954,8 +2955,8 @@ const Ft = Ve("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
2954
2955
  });
2955
2956
  };
2956
2957
  a.useEffect(() => {
2957
- re && re.setAdornedStart(!!H);
2958
- }, [re, H]);
2958
+ re && re.setAdornedStart(!!B);
2959
+ }, [re, B]);
2959
2960
  const ce = f({}, l, {
2960
2961
  color: pe.color || "primary",
2961
2962
  disabled: pe.disabled,
@@ -2967,7 +2968,7 @@ const Ft = Ve("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
2967
2968
  hiddenLabel: pe.hiddenLabel,
2968
2969
  multiline: I,
2969
2970
  size: pe.size,
2970
- startAdornment: H,
2971
+ startAdornment: B,
2971
2972
  type: G
2972
2973
  }), te = Kf(ce), ue = D.root || p.Root || hl, Pe = k.root || d.root || {}, De = D.input || p.Input || bl;
2973
2974
  return Te = f({}, Te, (r = k.input) != null ? r : d.input), /* @__PURE__ */ xe(a.Fragment, {
@@ -2978,7 +2979,7 @@ const Ft = Ve("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
2978
2979
  onClick: Oe
2979
2980
  }, j, {
2980
2981
  className: ie(te.root, Pe.className, u, P && "MuiInputBase-readOnly"),
2981
- children: [H, /* @__PURE__ */ M(gr.Provider, {
2982
+ children: [B, /* @__PURE__ */ M(gr.Provider, {
2982
2983
  value: null,
2983
2984
  children: /* @__PURE__ */ M(De, f({
2984
2985
  ownerState: ce,
@@ -3010,7 +3011,7 @@ const Ft = Ve("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
3010
3011
  onFocus: K
3011
3012
  }))
3012
3013
  }), h, R ? R(f({}, pe, {
3013
- startAdornment: H
3014
+ startAdornment: B
3014
3015
  })) : null]
3015
3016
  }))]
3016
3017
  });
@@ -3112,7 +3113,7 @@ process.env.NODE_ENV !== "production" && (ln.propTypes = {
3112
3113
  * Either a string to use a HTML element or a component.
3113
3114
  * @default 'input'
3114
3115
  */
3115
- inputComponent: za,
3116
+ inputComponent: Ba,
3116
3117
  /**
3117
3118
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
3118
3119
  * @default {}
@@ -4109,12 +4110,12 @@ const yg = {
4109
4110
  }, {
4110
4111
  mode: "enter"
4111
4112
  });
4112
- let H;
4113
- v === "auto" ? (H = E.transitions.getAutoHeightDuration(P.clientHeight), S.current = H) : H = F, P.style.transition = [E.transitions.create("opacity", {
4114
- duration: H,
4113
+ let B;
4114
+ v === "auto" ? (B = E.transitions.getAutoHeightDuration(P.clientHeight), S.current = B) : B = F, P.style.transition = [E.transitions.create("opacity", {
4115
+ duration: B,
4115
4116
  delay: k
4116
4117
  }), E.transitions.create("transform", {
4117
- duration: $l ? H : H * 0.666,
4118
+ duration: $l ? B : B * 0.666,
4118
4119
  delay: k,
4119
4120
  easing: D
4120
4121
  })].join(","), u && u(P, R);
@@ -4947,7 +4948,7 @@ function pm(e) {
4947
4948
  O.set($, D);
4948
4949
  }
4949
4950
  if (T)
4950
- for (var H = h ? 3 : 1, G = function(Q) {
4951
+ for (var B = h ? 3 : 1, G = function(Q) {
4951
4952
  var se = E.find(function(de) {
4952
4953
  var ne = O.get(de);
4953
4954
  if (ne)
@@ -4957,7 +4958,7 @@ function pm(e) {
4957
4958
  });
4958
4959
  if (se)
4959
4960
  return A = se, "break";
4960
- }, z = H; z > 0; z--) {
4961
+ }, z = B; z > 0; z--) {
4961
4962
  var j = G(z);
4962
4963
  if (j === "break") break;
4963
4964
  }
@@ -5076,10 +5077,10 @@ function xm(e) {
5076
5077
  };
5077
5078
  if (I) {
5078
5079
  if (s) {
5079
- var N, x = E === "y" ? Mt : Rt, P = E === "y" ? Bt : zt, R = E === "y" ? "height" : "width", F = I[E], k = F + C[x], D = F - C[P], H = b ? -T[R] / 2 : 0, G = y === Pn ? O[R] : T[R], z = y === Pn ? -T[R] : -O[R], j = t.elements.arrow, U = b && j ? Rs(j) : {
5080
+ var N, x = E === "y" ? Mt : Rt, P = E === "y" ? Bt : zt, R = E === "y" ? "height" : "width", F = I[E], k = F + C[x], D = F - C[P], B = b ? -T[R] / 2 : 0, G = y === Pn ? O[R] : T[R], z = y === Pn ? -T[R] : -O[R], j = t.elements.arrow, U = b && j ? Rs(j) : {
5080
5081
  width: 0,
5081
5082
  height: 0
5082
- }, Q = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Ac(), se = Q[x], de = Q[P], ne = Xn(0, O[R], U[R]), me = S ? O[R] / 2 - H - ne - se - L.mainAxis : G - ne - se - L.mainAxis, ge = S ? -O[R] / 2 + H + ne + de + L.mainAxis : z + ne + de + L.mainAxis, re = t.elements.arrow && br(t.elements.arrow), pe = re ? E === "y" ? re.clientTop || 0 : re.clientLeft || 0 : 0, q = (N = $ == null ? void 0 : $[E]) != null ? N : 0, le = F + me - q - pe, J = F + ge - q, K = Xn(b ? Wr(k, le) : k, F, b ? Yo(D, J) : D);
5083
+ }, Q = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Ac(), se = Q[x], de = Q[P], ne = Xn(0, O[R], U[R]), me = S ? O[R] / 2 - B - ne - se - L.mainAxis : G - ne - se - L.mainAxis, ge = S ? -O[R] / 2 + B + ne + de + L.mainAxis : z + ne + de + L.mainAxis, re = t.elements.arrow && br(t.elements.arrow), pe = re ? E === "y" ? re.clientTop || 0 : re.clientLeft || 0 : 0, q = (N = $ == null ? void 0 : $[E]) != null ? N : 0, le = F + me - q - pe, J = F + ge - q, K = Xn(b ? Wr(k, le) : k, F, b ? Yo(D, J) : D);
5083
5084
  I[E] = K, _[E] = K - F;
5084
5085
  }
5085
5086
  if (c) {
@@ -5845,7 +5846,7 @@ const qm = ["open", "target", "onClose", "children", "position", "className", "o
5845
5846
  theme: e
5846
5847
  }) => ({
5847
5848
  zIndex: e.zIndex.modal,
5848
- [`& .${B.menuList}`]: {
5849
+ [`& .${H.menuList}`]: {
5849
5850
  outline: 0
5850
5851
  }
5851
5852
  })), Ym = {
@@ -5972,12 +5973,12 @@ function Uc(e) {
5972
5973
  }, x = (R) => {
5973
5974
  if (A <= 1)
5974
5975
  return;
5975
- const F = (D, H) => {
5976
+ const F = (D, B) => {
5976
5977
  var G;
5977
5978
  if (D < 0 || D > I.length)
5978
5979
  return D;
5979
- const z = y.direction === "rtl" ? -1 : 1, j = (H === "left" ? -1 : 1) * z;
5980
- return (G = I[D + j]) != null && G.props.disabled ? F(D + j, H) : D + j;
5980
+ const z = y.direction === "rtl" ? -1 : 1, j = (B === "left" ? -1 : 1) * z;
5981
+ return (G = I[D + j]) != null && G.props.disabled ? F(D + j, B) : D + j;
5981
5982
  };
5982
5983
  let k = p;
5983
5984
  R.key === "ArrowRight" ? k = F(p, "right") : R.key === "ArrowLeft" && (k = F(p, "left")), !(k < 0 || k >= A) && k !== p && (R.preventDefault(), R.stopPropagation(), d(k));
@@ -5988,7 +5989,7 @@ function Uc(e) {
5988
5989
  role: "menu",
5989
5990
  ref: h,
5990
5991
  tabIndex: -1,
5991
- className: B.actionsCell,
5992
+ className: H.actionsCell,
5992
5993
  onKeyDown: x
5993
5994
  }, u, {
5994
5995
  children: [O.map((R, F) => /* @__PURE__ */ a.cloneElement(R, {
@@ -6019,7 +6020,7 @@ function Uc(e) {
6019
6020
  onClose: $,
6020
6021
  children: /* @__PURE__ */ M(mr, {
6021
6022
  id: S,
6022
- className: B.menuList,
6023
+ className: H.menuList,
6023
6024
  onKeyDown: P,
6024
6025
  "aria-labelledby": E,
6025
6026
  variant: "menu",
@@ -6942,7 +6943,7 @@ const Ih = (e) => {
6942
6943
  return be({
6943
6944
  root: ["root", n, r, l && "withChildren", l && !s && "fitContent", l && !i && "heightAuto"]
6944
6945
  }, Sh, t);
6945
- }, Oh = _a(Di || (Di = Xr`
6946
+ }, Oh = za(Di || (Di = Xr`
6946
6947
  0% {
6947
6948
  opacity: 1;
6948
6949
  }
@@ -6954,7 +6955,7 @@ const Ih = (e) => {
6954
6955
  100% {
6955
6956
  opacity: 1;
6956
6957
  }
6957
- `)), Eh = _a(Ni || (Ni = Xr`
6958
+ `)), Eh = za(Ni || (Ni = Xr`
6958
6959
  0% {
6959
6960
  transform: translateX(-100%);
6960
6961
  }
@@ -7164,16 +7165,16 @@ function kh(e) {
7164
7165
  return e.vars ? e.vars.palette.TableCell.border : e.palette.mode === "light" ? up(Ut(e.palette.divider, 1), 0.88) : cp(Ut(e.palette.divider, 1), 0.68);
7165
7166
  }
7166
7167
  const _i = {
7167
- [`.${B.columnSeparator}, .${B["columnSeparator--resizing"]}`]: {
7168
+ [`.${H.columnSeparator}, .${H["columnSeparator--resizing"]}`]: {
7168
7169
  visibility: "visible",
7169
7170
  width: "auto"
7170
7171
  }
7171
7172
  }, Ai = {
7172
- [`& .${B.iconButtonContainer}`]: {
7173
+ [`& .${H.iconButtonContainer}`]: {
7173
7174
  visibility: "visible",
7174
7175
  width: "auto"
7175
7176
  },
7176
- [`& .${B.menuIcon}`]: {
7177
+ [`& .${H.menuIcon}`]: {
7177
7178
  width: "auto",
7178
7179
  visibility: "visible"
7179
7180
  }
@@ -7182,185 +7183,185 @@ const _i = {
7182
7183
  slot: "Root",
7183
7184
  overridesResolver: (e, t) => [
7184
7185
  {
7185
- [`&.${B.autoHeight}`]: t.autoHeight
7186
+ [`&.${H.autoHeight}`]: t.autoHeight
7186
7187
  },
7187
7188
  {
7188
- [`&.${B.aggregationColumnHeader}`]: t.aggregationColumnHeader
7189
+ [`&.${H.aggregationColumnHeader}`]: t.aggregationColumnHeader
7189
7190
  },
7190
7191
  {
7191
- [`&.${B["aggregationColumnHeader--alignLeft"]}`]: t["aggregationColumnHeader--alignLeft"]
7192
+ [`&.${H["aggregationColumnHeader--alignLeft"]}`]: t["aggregationColumnHeader--alignLeft"]
7192
7193
  },
7193
7194
  {
7194
- [`&.${B["aggregationColumnHeader--alignCenter"]}`]: t["aggregationColumnHeader--alignCenter"]
7195
+ [`&.${H["aggregationColumnHeader--alignCenter"]}`]: t["aggregationColumnHeader--alignCenter"]
7195
7196
  },
7196
7197
  {
7197
- [`&.${B["aggregationColumnHeader--alignRight"]}`]: t["aggregationColumnHeader--alignRight"]
7198
+ [`&.${H["aggregationColumnHeader--alignRight"]}`]: t["aggregationColumnHeader--alignRight"]
7198
7199
  },
7199
7200
  {
7200
- [`&.${B.aggregationColumnHeaderLabel}`]: t.aggregationColumnHeaderLabel
7201
+ [`&.${H.aggregationColumnHeaderLabel}`]: t.aggregationColumnHeaderLabel
7201
7202
  },
7202
7203
  {
7203
- [`&.${B["root--disableUserSelection"]} .${B.cell}`]: t["root--disableUserSelection"]
7204
+ [`&.${H["root--disableUserSelection"]} .${H.cell}`]: t["root--disableUserSelection"]
7204
7205
  },
7205
7206
  {
7206
- [`&.${B.autosizing}`]: t.autosizing
7207
+ [`&.${H.autosizing}`]: t.autosizing
7207
7208
  },
7208
7209
  {
7209
- [`& .${B.editBooleanCell}`]: t.editBooleanCell
7210
+ [`& .${H.editBooleanCell}`]: t.editBooleanCell
7210
7211
  },
7211
7212
  {
7212
- [`& .${B["cell--editing"]}`]: t["cell--editing"]
7213
+ [`& .${H["cell--editing"]}`]: t["cell--editing"]
7213
7214
  },
7214
7215
  {
7215
- [`& .${B["cell--textCenter"]}`]: t["cell--textCenter"]
7216
+ [`& .${H["cell--textCenter"]}`]: t["cell--textCenter"]
7216
7217
  },
7217
7218
  {
7218
- [`& .${B["cell--textLeft"]}`]: t["cell--textLeft"]
7219
+ [`& .${H["cell--textLeft"]}`]: t["cell--textLeft"]
7219
7220
  },
7220
7221
  {
7221
- [`& .${B["cell--textRight"]}`]: t["cell--textRight"]
7222
+ [`& .${H["cell--textRight"]}`]: t["cell--textRight"]
7222
7223
  },
7223
7224
  // TODO v6: Remove
7224
7225
  {
7225
- [`& .${B["cell--withRenderer"]}`]: t["cell--withRenderer"]
7226
+ [`& .${H["cell--withRenderer"]}`]: t["cell--withRenderer"]
7226
7227
  },
7227
7228
  {
7228
- [`& .${B.cell}`]: t.cell
7229
+ [`& .${H.cell}`]: t.cell
7229
7230
  },
7230
7231
  {
7231
- [`& .${B["cell--rangeTop"]}`]: t["cell--rangeTop"]
7232
+ [`& .${H["cell--rangeTop"]}`]: t["cell--rangeTop"]
7232
7233
  },
7233
7234
  {
7234
- [`& .${B["cell--rangeBottom"]}`]: t["cell--rangeBottom"]
7235
+ [`& .${H["cell--rangeBottom"]}`]: t["cell--rangeBottom"]
7235
7236
  },
7236
7237
  {
7237
- [`& .${B["cell--rangeLeft"]}`]: t["cell--rangeLeft"]
7238
+ [`& .${H["cell--rangeLeft"]}`]: t["cell--rangeLeft"]
7238
7239
  },
7239
7240
  {
7240
- [`& .${B["cell--rangeRight"]}`]: t["cell--rangeRight"]
7241
+ [`& .${H["cell--rangeRight"]}`]: t["cell--rangeRight"]
7241
7242
  },
7242
7243
  {
7243
- [`& .${B["cell--withRightBorder"]}`]: t["cell--withRightBorder"]
7244
+ [`& .${H["cell--withRightBorder"]}`]: t["cell--withRightBorder"]
7244
7245
  },
7245
7246
  {
7246
- [`& .${B.cellContent}`]: t.cellContent
7247
+ [`& .${H.cellContent}`]: t.cellContent
7247
7248
  },
7248
7249
  {
7249
- [`& .${B.cellCheckbox}`]: t.cellCheckbox
7250
+ [`& .${H.cellCheckbox}`]: t.cellCheckbox
7250
7251
  },
7251
7252
  {
7252
- [`& .${B.cellSkeleton}`]: t.cellSkeleton
7253
+ [`& .${H.cellSkeleton}`]: t.cellSkeleton
7253
7254
  },
7254
7255
  {
7255
- [`& .${B.checkboxInput}`]: t.checkboxInput
7256
+ [`& .${H.checkboxInput}`]: t.checkboxInput
7256
7257
  },
7257
7258
  {
7258
- [`& .${B["columnHeader--alignCenter"]}`]: t["columnHeader--alignCenter"]
7259
+ [`& .${H["columnHeader--alignCenter"]}`]: t["columnHeader--alignCenter"]
7259
7260
  },
7260
7261
  {
7261
- [`& .${B["columnHeader--alignLeft"]}`]: t["columnHeader--alignLeft"]
7262
+ [`& .${H["columnHeader--alignLeft"]}`]: t["columnHeader--alignLeft"]
7262
7263
  },
7263
7264
  {
7264
- [`& .${B["columnHeader--alignRight"]}`]: t["columnHeader--alignRight"]
7265
+ [`& .${H["columnHeader--alignRight"]}`]: t["columnHeader--alignRight"]
7265
7266
  },
7266
7267
  {
7267
- [`& .${B["columnHeader--dragging"]}`]: t["columnHeader--dragging"]
7268
+ [`& .${H["columnHeader--dragging"]}`]: t["columnHeader--dragging"]
7268
7269
  },
7269
7270
  {
7270
- [`& .${B["columnHeader--moving"]}`]: t["columnHeader--moving"]
7271
+ [`& .${H["columnHeader--moving"]}`]: t["columnHeader--moving"]
7271
7272
  },
7272
7273
  {
7273
- [`& .${B["columnHeader--numeric"]}`]: t["columnHeader--numeric"]
7274
+ [`& .${H["columnHeader--numeric"]}`]: t["columnHeader--numeric"]
7274
7275
  },
7275
7276
  {
7276
- [`& .${B["columnHeader--sortable"]}`]: t["columnHeader--sortable"]
7277
+ [`& .${H["columnHeader--sortable"]}`]: t["columnHeader--sortable"]
7277
7278
  },
7278
7279
  {
7279
- [`& .${B["columnHeader--sorted"]}`]: t["columnHeader--sorted"]
7280
+ [`& .${H["columnHeader--sorted"]}`]: t["columnHeader--sorted"]
7280
7281
  },
7281
7282
  {
7282
- [`& .${B["columnHeader--withRightBorder"]}`]: t["columnHeader--withRightBorder"]
7283
+ [`& .${H["columnHeader--withRightBorder"]}`]: t["columnHeader--withRightBorder"]
7283
7284
  },
7284
7285
  {
7285
- [`& .${B.columnHeader}`]: t.columnHeader
7286
+ [`& .${H.columnHeader}`]: t.columnHeader
7286
7287
  },
7287
7288
  {
7288
- [`& .${B.headerFilterRow}`]: t.headerFilterRow
7289
+ [`& .${H.headerFilterRow}`]: t.headerFilterRow
7289
7290
  },
7290
7291
  {
7291
- [`& .${B.columnHeaderCheckbox}`]: t.columnHeaderCheckbox
7292
+ [`& .${H.columnHeaderCheckbox}`]: t.columnHeaderCheckbox
7292
7293
  },
7293
7294
  {
7294
- [`& .${B.columnHeaderDraggableContainer}`]: t.columnHeaderDraggableContainer
7295
+ [`& .${H.columnHeaderDraggableContainer}`]: t.columnHeaderDraggableContainer
7295
7296
  },
7296
7297
  {
7297
- [`& .${B.columnHeaderTitleContainer}`]: t.columnHeaderTitleContainer
7298
+ [`& .${H.columnHeaderTitleContainer}`]: t.columnHeaderTitleContainer
7298
7299
  },
7299
7300
  {
7300
- [`& .${B["columnSeparator--resizable"]}`]: t["columnSeparator--resizable"]
7301
+ [`& .${H["columnSeparator--resizable"]}`]: t["columnSeparator--resizable"]
7301
7302
  },
7302
7303
  {
7303
- [`& .${B["columnSeparator--resizing"]}`]: t["columnSeparator--resizing"]
7304
+ [`& .${H["columnSeparator--resizing"]}`]: t["columnSeparator--resizing"]
7304
7305
  },
7305
7306
  {
7306
- [`& .${B.columnSeparator}`]: t.columnSeparator
7307
+ [`& .${H.columnSeparator}`]: t.columnSeparator
7307
7308
  },
7308
7309
  {
7309
- [`& .${B.filterIcon}`]: t.filterIcon
7310
+ [`& .${H.filterIcon}`]: t.filterIcon
7310
7311
  },
7311
7312
  {
7312
- [`& .${B.iconSeparator}`]: t.iconSeparator
7313
+ [`& .${H.iconSeparator}`]: t.iconSeparator
7313
7314
  },
7314
7315
  {
7315
- [`& .${B.menuIcon}`]: t.menuIcon
7316
+ [`& .${H.menuIcon}`]: t.menuIcon
7316
7317
  },
7317
7318
  {
7318
- [`& .${B.menuIconButton}`]: t.menuIconButton
7319
+ [`& .${H.menuIconButton}`]: t.menuIconButton
7319
7320
  },
7320
7321
  {
7321
- [`& .${B.menuOpen}`]: t.menuOpen
7322
+ [`& .${H.menuOpen}`]: t.menuOpen
7322
7323
  },
7323
7324
  {
7324
- [`& .${B.menuList}`]: t.menuList
7325
+ [`& .${H.menuList}`]: t.menuList
7325
7326
  },
7326
7327
  {
7327
- [`& .${B["row--editable"]}`]: t["row--editable"]
7328
+ [`& .${H["row--editable"]}`]: t["row--editable"]
7328
7329
  },
7329
7330
  {
7330
- [`& .${B["row--editing"]}`]: t["row--editing"]
7331
+ [`& .${H["row--editing"]}`]: t["row--editing"]
7331
7332
  },
7332
7333
  {
7333
- [`& .${B["row--dragging"]}`]: t["row--dragging"]
7334
+ [`& .${H["row--dragging"]}`]: t["row--dragging"]
7334
7335
  },
7335
7336
  {
7336
- [`& .${B.row}`]: t.row
7337
+ [`& .${H.row}`]: t.row
7337
7338
  },
7338
7339
  {
7339
- [`& .${B.rowReorderCellPlaceholder}`]: t.rowReorderCellPlaceholder
7340
+ [`& .${H.rowReorderCellPlaceholder}`]: t.rowReorderCellPlaceholder
7340
7341
  },
7341
7342
  {
7342
- [`& .${B.rowReorderCell}`]: t.rowReorderCell
7343
+ [`& .${H.rowReorderCell}`]: t.rowReorderCell
7343
7344
  },
7344
7345
  {
7345
- [`& .${B["rowReorderCell--draggable"]}`]: t["rowReorderCell--draggable"]
7346
+ [`& .${H["rowReorderCell--draggable"]}`]: t["rowReorderCell--draggable"]
7346
7347
  },
7347
7348
  {
7348
- [`& .${B.sortIcon}`]: t.sortIcon
7349
+ [`& .${H.sortIcon}`]: t.sortIcon
7349
7350
  },
7350
7351
  {
7351
- [`& .${B.withBorderColor}`]: t.withBorderColor
7352
+ [`& .${H.withBorderColor}`]: t.withBorderColor
7352
7353
  },
7353
7354
  {
7354
- [`& .${B.treeDataGroupingCell}`]: t.treeDataGroupingCell
7355
+ [`& .${H.treeDataGroupingCell}`]: t.treeDataGroupingCell
7355
7356
  },
7356
7357
  {
7357
- [`& .${B.treeDataGroupingCellToggle}`]: t.treeDataGroupingCellToggle
7358
+ [`& .${H.treeDataGroupingCellToggle}`]: t.treeDataGroupingCellToggle
7358
7359
  },
7359
7360
  {
7360
- [`& .${B.detailPanelToggleCell}`]: t.detailPanelToggleCell
7361
+ [`& .${H.detailPanelToggleCell}`]: t.detailPanelToggleCell
7361
7362
  },
7362
7363
  {
7363
- [`& .${B["detailPanelToggleCell--expanded"]}`]: t["detailPanelToggleCell--expanded"]
7364
+ [`& .${H["detailPanelToggleCell--expanded"]}`]: t["detailPanelToggleCell--expanded"]
7364
7365
  },
7365
7366
  t.root
7366
7367
  ]
@@ -7391,65 +7392,65 @@ const _i = {
7391
7392
  flexDirection: "column",
7392
7393
  overflowAnchor: "none",
7393
7394
  // Keep the same scrolling position
7394
- [`&.${B.autoHeight}`]: {
7395
+ [`&.${H.autoHeight}`]: {
7395
7396
  height: "auto",
7396
- [`& .${B["row--lastVisible"]} .${B.cell}`]: {
7397
+ [`& .${H["row--lastVisible"]} .${H.cell}`]: {
7397
7398
  borderBottomColor: "transparent"
7398
7399
  }
7399
7400
  },
7400
- [`&.${B.autosizing}`]: {
7401
- [`& .${B.columnHeaderTitleContainerContent} > *`]: {
7401
+ [`&.${H.autosizing}`]: {
7402
+ [`& .${H.columnHeaderTitleContainerContent} > *`]: {
7402
7403
  overflow: "visible !important"
7403
7404
  },
7404
- [`& .${B.cell} > *`]: {
7405
+ [`& .${H.cell} > *`]: {
7405
7406
  overflow: "visible !important",
7406
7407
  whiteSpace: "nowrap"
7407
7408
  },
7408
- [`& .${B.groupingCriteriaCell}`]: {
7409
+ [`& .${H.groupingCriteriaCell}`]: {
7409
7410
  width: "unset"
7410
7411
  },
7411
- [`& .${B.treeDataGroupingCell}`]: {
7412
+ [`& .${H.treeDataGroupingCell}`]: {
7412
7413
  width: "unset"
7413
7414
  }
7414
7415
  },
7415
- [`& .${B["virtualScrollerContent--overflowed"]} .${B["row--lastVisible"]} .${B.cell}`]: {
7416
+ [`& .${H["virtualScrollerContent--overflowed"]} .${H["row--lastVisible"]} .${H.cell}`]: {
7416
7417
  borderBottomColor: "transparent"
7417
7418
  },
7418
- [`& .${B.columnHeader}, & .${B.cell}`]: {
7419
+ [`& .${H.columnHeader}, & .${H.cell}`]: {
7419
7420
  WebkitTapHighlightColor: "transparent",
7420
7421
  lineHeight: null,
7421
7422
  padding: "0 10px",
7422
7423
  boxSizing: "border-box"
7423
7424
  },
7424
- [`& .${B.columnHeader}:focus-within, & .${B.cell}:focus-within`]: {
7425
+ [`& .${H.columnHeader}:focus-within, & .${H.cell}:focus-within`]: {
7425
7426
  outline: `solid ${e.vars ? `rgba(${e.vars.palette.primary.mainChannel} / 0.5)` : Ut(e.palette.primary.main, 0.5)} 1px`,
7426
7427
  outlineWidth: 1,
7427
7428
  outlineOffset: -1
7428
7429
  },
7429
- [`& .${B.columnHeader}:focus, & .${B.cell}:focus`]: {
7430
+ [`& .${H.columnHeader}:focus, & .${H.cell}:focus`]: {
7430
7431
  outline: `solid ${e.palette.primary.main} 1px`
7431
7432
  },
7432
- [`& .${B.columnHeaderCheckbox}, & .${B.cellCheckbox}`]: {
7433
+ [`& .${H.columnHeaderCheckbox}, & .${H.cellCheckbox}`]: {
7433
7434
  padding: 0,
7434
7435
  justifyContent: "center",
7435
7436
  alignItems: "center"
7436
7437
  },
7437
- [`& .${B.columnHeader}`]: {
7438
+ [`& .${H.columnHeader}`]: {
7438
7439
  position: "relative",
7439
7440
  display: "flex",
7440
7441
  alignItems: "center"
7441
7442
  },
7442
- [`& .${B["columnHeader--sorted"]} .${B.iconButtonContainer}, & .${B["columnHeader--filtered"]} .${B.iconButtonContainer}`]: {
7443
+ [`& .${H["columnHeader--sorted"]} .${H.iconButtonContainer}, & .${H["columnHeader--filtered"]} .${H.iconButtonContainer}`]: {
7443
7444
  visibility: "visible",
7444
7445
  width: "auto"
7445
7446
  },
7446
- [`& .${B.columnHeader}:not(.${B["columnHeader--sorted"]}) .${B.sortIcon}`]: {
7447
+ [`& .${H.columnHeader}:not(.${H["columnHeader--sorted"]}) .${H.sortIcon}`]: {
7447
7448
  opacity: 0,
7448
7449
  transition: e.transitions.create(["opacity"], {
7449
7450
  duration: e.transitions.duration.shorter
7450
7451
  })
7451
7452
  },
7452
- [`& .${B.columnHeaderTitleContainer}`]: {
7453
+ [`& .${H.columnHeaderTitleContainer}`]: {
7453
7454
  display: "flex",
7454
7455
  alignItems: "center",
7455
7456
  minWidth: 0,
@@ -7459,51 +7460,51 @@ const _i = {
7459
7460
  // to anchor the aggregation label
7460
7461
  position: "relative"
7461
7462
  },
7462
- [`& .${B.columnHeaderTitleContainerContent}`]: {
7463
+ [`& .${H.columnHeaderTitleContainerContent}`]: {
7463
7464
  overflow: "hidden",
7464
7465
  display: "flex",
7465
7466
  alignItems: "center"
7466
7467
  },
7467
- [`& .${B["columnHeader--filledGroup"]} .${B.columnHeaderTitleContainer}`]: {
7468
+ [`& .${H["columnHeader--filledGroup"]} .${H.columnHeaderTitleContainer}`]: {
7468
7469
  borderBottomWidth: "1px",
7469
7470
  borderBottomStyle: "solid",
7470
7471
  boxSizing: "border-box"
7471
7472
  },
7472
- [`& .${B["columnHeader--filledGroup"]}.${B["columnHeader--showColumnBorder"]} .${B.columnHeaderTitleContainer}`]: {
7473
+ [`& .${H["columnHeader--filledGroup"]}.${H["columnHeader--showColumnBorder"]} .${H.columnHeaderTitleContainer}`]: {
7473
7474
  borderBottom: "none"
7474
7475
  },
7475
- [`& .${B["columnHeader--filledGroup"]}.${B["columnHeader--showColumnBorder"]}`]: {
7476
+ [`& .${H["columnHeader--filledGroup"]}.${H["columnHeader--showColumnBorder"]}`]: {
7476
7477
  borderBottomWidth: "1px",
7477
7478
  borderBottomStyle: "solid",
7478
7479
  boxSizing: "border-box"
7479
7480
  },
7480
- [`& .${B.headerFilterRow}`]: {
7481
+ [`& .${H.headerFilterRow}`]: {
7481
7482
  borderTop: `1px solid ${t}`
7482
7483
  },
7483
- [`& .${B.sortIcon}, & .${B.filterIcon}`]: {
7484
+ [`& .${H.sortIcon}, & .${H.filterIcon}`]: {
7484
7485
  fontSize: "inherit"
7485
7486
  },
7486
- [`& .${B["columnHeader--sortable"]}`]: {
7487
+ [`& .${H["columnHeader--sortable"]}`]: {
7487
7488
  cursor: "pointer"
7488
7489
  },
7489
- [`& .${B["columnHeader--alignCenter"]} .${B.columnHeaderTitleContainer}`]: {
7490
+ [`& .${H["columnHeader--alignCenter"]} .${H.columnHeaderTitleContainer}`]: {
7490
7491
  justifyContent: "center"
7491
7492
  },
7492
- [`& .${B["columnHeader--alignRight"]} .${B.columnHeaderDraggableContainer}, & .${B["columnHeader--alignRight"]} .${B.columnHeaderTitleContainer}`]: {
7493
+ [`& .${H["columnHeader--alignRight"]} .${H.columnHeaderDraggableContainer}, & .${H["columnHeader--alignRight"]} .${H.columnHeaderTitleContainer}`]: {
7493
7494
  flexDirection: "row-reverse"
7494
7495
  },
7495
- [`& .${B["columnHeader--alignCenter"]} .${B.menuIcon}, & .${B["columnHeader--alignRight"]} .${B.menuIcon}`]: {
7496
+ [`& .${H["columnHeader--alignCenter"]} .${H.menuIcon}, & .${H["columnHeader--alignRight"]} .${H.menuIcon}`]: {
7496
7497
  marginRight: "auto",
7497
7498
  marginLeft: -6
7498
7499
  },
7499
- [`& .${B["columnHeader--alignRight"]} .${B.menuIcon}, & .${B["columnHeader--alignRight"]} .${B.menuIcon}`]: {
7500
+ [`& .${H["columnHeader--alignRight"]} .${H.menuIcon}, & .${H["columnHeader--alignRight"]} .${H.menuIcon}`]: {
7500
7501
  marginRight: "auto",
7501
7502
  marginLeft: -10
7502
7503
  },
7503
- [`& .${B["columnHeader--moving"]}`]: {
7504
+ [`& .${H["columnHeader--moving"]}`]: {
7504
7505
  backgroundColor: (e.vars || e).palette.action.hover
7505
7506
  },
7506
- [`& .${B.columnSeparator}`]: {
7507
+ [`& .${H.columnSeparator}`]: {
7507
7508
  visibility: "hidden",
7508
7509
  position: "absolute",
7509
7510
  zIndex: 100,
@@ -7513,23 +7514,23 @@ const _i = {
7513
7514
  color: t
7514
7515
  },
7515
7516
  "@media (hover: hover)": {
7516
- [`& .${B.columnHeaders}:hover`]: _i,
7517
- [`& .${B.columnHeader}:hover`]: Ai,
7518
- [`& .${B.columnHeader}:not(.${B["columnHeader--sorted"]}):hover .${B.sortIcon}`]: {
7517
+ [`& .${H.columnHeaders}:hover`]: _i,
7518
+ [`& .${H.columnHeader}:hover`]: Ai,
7519
+ [`& .${H.columnHeader}:not(.${H["columnHeader--sorted"]}):hover .${H.sortIcon}`]: {
7519
7520
  opacity: 0.5
7520
7521
  }
7521
7522
  },
7522
7523
  "@media (hover: none)": {
7523
- [`& .${B.columnHeaders}`]: _i,
7524
- [`& .${B.columnHeader}`]: Ai
7524
+ [`& .${H.columnHeaders}`]: _i,
7525
+ [`& .${H.columnHeader}`]: Ai
7525
7526
  },
7526
- [`& .${B["columnSeparator--sideLeft"]}`]: {
7527
+ [`& .${H["columnSeparator--sideLeft"]}`]: {
7527
7528
  left: -12
7528
7529
  },
7529
- [`& .${B["columnSeparator--sideRight"]}`]: {
7530
+ [`& .${H["columnSeparator--sideRight"]}`]: {
7530
7531
  right: -12
7531
7532
  },
7532
- [`& .${B["columnSeparator--resizable"]}`]: {
7533
+ [`& .${H["columnSeparator--resizable"]}`]: {
7533
7534
  cursor: "col-resize",
7534
7535
  touchAction: "none",
7535
7536
  "&:hover": {
@@ -7539,17 +7540,17 @@ const _i = {
7539
7540
  color: t
7540
7541
  }
7541
7542
  },
7542
- [`&.${B["columnSeparator--resizing"]}`]: {
7543
+ [`&.${H["columnSeparator--resizing"]}`]: {
7543
7544
  color: (e.vars || e).palette.text.primary
7544
7545
  },
7545
7546
  "& svg": {
7546
7547
  pointerEvents: "none"
7547
7548
  }
7548
7549
  },
7549
- [`& .${B.iconSeparator}`]: {
7550
+ [`& .${H.iconSeparator}`]: {
7550
7551
  color: "inherit"
7551
7552
  },
7552
- [`& .${B.menuIcon}`]: {
7553
+ [`& .${H.menuIcon}`]: {
7553
7554
  width: 0,
7554
7555
  visibility: "hidden",
7555
7556
  fontSize: 20,
@@ -7557,11 +7558,11 @@ const _i = {
7557
7558
  display: "flex",
7558
7559
  alignItems: "center"
7559
7560
  },
7560
- [`.${B.menuOpen}`]: {
7561
+ [`.${H.menuOpen}`]: {
7561
7562
  visibility: "visible",
7562
7563
  width: "auto"
7563
7564
  },
7564
- [`& .${B.row}`]: {
7565
+ [`& .${H.row}`]: {
7565
7566
  display: "flex",
7566
7567
  width: "fit-content",
7567
7568
  breakInside: "avoid",
@@ -7587,7 +7588,7 @@ const _i = {
7587
7588
  }
7588
7589
  }
7589
7590
  },
7590
- [`& .${B.cell}`]: {
7591
+ [`& .${H.cell}`]: {
7591
7592
  display: "flex",
7592
7593
  alignItems: "center",
7593
7594
  borderBottom: "1px solid",
@@ -7602,21 +7603,21 @@ const _i = {
7602
7603
  }
7603
7604
  }
7604
7605
  },
7605
- [`&.${B["root--disableUserSelection"]} .${B.cell}`]: {
7606
+ [`&.${H["root--disableUserSelection"]} .${H.cell}`]: {
7606
7607
  userSelect: "none"
7607
7608
  },
7608
- [`& .${B.row}:not(.${B["row--dynamicHeight"]}) > .${B.cell}`]: {
7609
+ [`& .${H.row}:not(.${H["row--dynamicHeight"]}) > .${H.cell}`]: {
7609
7610
  overflow: "hidden",
7610
7611
  whiteSpace: "nowrap"
7611
7612
  },
7612
- [`& .${B.cellContent}`]: {
7613
+ [`& .${H.cellContent}`]: {
7613
7614
  overflow: "hidden",
7614
7615
  textOverflow: "ellipsis"
7615
7616
  },
7616
- [`& .${B.cell}.${B["cell--selectionMode"]}`]: {
7617
+ [`& .${H.cell}.${H["cell--selectionMode"]}`]: {
7617
7618
  cursor: "default"
7618
7619
  },
7619
- [`& .${B.cell}.${B["cell--editing"]}`]: {
7620
+ [`& .${H.cell}.${H["cell--editing"]}`]: {
7620
7621
  padding: 1,
7621
7622
  display: "flex",
7622
7623
  boxShadow: e.shadows[2],
@@ -7626,105 +7627,105 @@ const _i = {
7626
7627
  outlineOffset: "-1px"
7627
7628
  }
7628
7629
  },
7629
- [`& .${B["row--editing"]}`]: {
7630
+ [`& .${H["row--editing"]}`]: {
7630
7631
  boxShadow: e.shadows[2]
7631
7632
  },
7632
- [`& .${B["row--editing"]} .${B.cell}`]: {
7633
+ [`& .${H["row--editing"]} .${H.cell}`]: {
7633
7634
  boxShadow: e.shadows[0],
7634
7635
  backgroundColor: (e.vars || e).palette.background.paper
7635
7636
  },
7636
- [`& .${B.editBooleanCell}`]: {
7637
+ [`& .${H.editBooleanCell}`]: {
7637
7638
  display: "flex",
7638
7639
  height: "100%",
7639
7640
  width: "100%",
7640
7641
  alignItems: "center",
7641
7642
  justifyContent: "center"
7642
7643
  },
7643
- [`& .${B.booleanCell}[data-value="true"]`]: {
7644
+ [`& .${H.booleanCell}[data-value="true"]`]: {
7644
7645
  color: (e.vars || e).palette.text.secondary
7645
7646
  },
7646
- [`& .${B.booleanCell}[data-value="false"]`]: {
7647
+ [`& .${H.booleanCell}[data-value="false"]`]: {
7647
7648
  color: (e.vars || e).palette.text.disabled
7648
7649
  },
7649
- [`& .${B.actionsCell}`]: {
7650
+ [`& .${H.actionsCell}`]: {
7650
7651
  display: "inline-flex",
7651
7652
  alignItems: "center",
7652
7653
  gridGap: e.spacing(1)
7653
7654
  },
7654
- [`& .${B.rowReorderCell}`]: {
7655
+ [`& .${H.rowReorderCell}`]: {
7655
7656
  display: "inline-flex",
7656
7657
  flex: 1,
7657
7658
  alignItems: "center",
7658
7659
  justifyContent: "center",
7659
7660
  opacity: (e.vars || e).palette.action.disabledOpacity
7660
7661
  },
7661
- [`& .${B["rowReorderCell--draggable"]}`]: {
7662
+ [`& .${H["rowReorderCell--draggable"]}`]: {
7662
7663
  cursor: "move",
7663
7664
  opacity: 1
7664
7665
  },
7665
- [`& .${B.rowReorderCellContainer}`]: {
7666
+ [`& .${H.rowReorderCellContainer}`]: {
7666
7667
  padding: 0,
7667
7668
  alignItems: "stretch"
7668
7669
  },
7669
- [`.${B.withBorderColor}`]: {
7670
+ [`.${H.withBorderColor}`]: {
7670
7671
  borderColor: t
7671
7672
  },
7672
- [`& .${B["cell--withRightBorder"]}`]: {
7673
+ [`& .${H["cell--withRightBorder"]}`]: {
7673
7674
  borderRightWidth: "1px",
7674
7675
  borderRightStyle: "solid"
7675
7676
  },
7676
- [`& .${B["columnHeader--withRightBorder"]}`]: {
7677
+ [`& .${H["columnHeader--withRightBorder"]}`]: {
7677
7678
  borderRightWidth: "1px",
7678
7679
  borderRightStyle: "solid"
7679
7680
  },
7680
- [`& .${B["cell--textLeft"]}`]: {
7681
+ [`& .${H["cell--textLeft"]}`]: {
7681
7682
  justifyContent: "flex-start"
7682
7683
  },
7683
- [`& .${B["cell--textRight"]}`]: {
7684
+ [`& .${H["cell--textRight"]}`]: {
7684
7685
  justifyContent: "flex-end"
7685
7686
  },
7686
- [`& .${B["cell--textCenter"]}`]: {
7687
+ [`& .${H["cell--textCenter"]}`]: {
7687
7688
  justifyContent: "center"
7688
7689
  },
7689
- [`& .${B.columnHeaderDraggableContainer}`]: {
7690
+ [`& .${H.columnHeaderDraggableContainer}`]: {
7690
7691
  display: "flex",
7691
7692
  width: "100%",
7692
7693
  height: "100%"
7693
7694
  },
7694
- [`& .${B.rowReorderCellPlaceholder}`]: {
7695
+ [`& .${H.rowReorderCellPlaceholder}`]: {
7695
7696
  display: "none"
7696
7697
  },
7697
- [`& .${B["columnHeader--dragging"]}, & .${B["row--dragging"]}`]: {
7698
+ [`& .${H["columnHeader--dragging"]}, & .${H["row--dragging"]}`]: {
7698
7699
  background: (e.vars || e).palette.background.paper,
7699
7700
  padding: "0 12px",
7700
7701
  borderRadius: "var(--unstable_DataGrid-radius)",
7701
7702
  opacity: (e.vars || e).palette.action.disabledOpacity
7702
7703
  },
7703
- [`& .${B["row--dragging"]}`]: {
7704
+ [`& .${H["row--dragging"]}`]: {
7704
7705
  background: (e.vars || e).palette.background.paper,
7705
7706
  padding: "0 12px",
7706
7707
  borderRadius: "var(--unstable_DataGrid-radius)",
7707
7708
  opacity: (e.vars || e).palette.action.disabledOpacity,
7708
- [`& .${B.rowReorderCellPlaceholder}`]: {
7709
+ [`& .${H.rowReorderCellPlaceholder}`]: {
7709
7710
  display: "flex"
7710
7711
  }
7711
7712
  },
7712
- [`& .${B.treeDataGroupingCell}`]: {
7713
+ [`& .${H.treeDataGroupingCell}`]: {
7713
7714
  display: "flex",
7714
7715
  alignItems: "center",
7715
7716
  width: "100%"
7716
7717
  },
7717
- [`& .${B.treeDataGroupingCellToggle}`]: {
7718
+ [`& .${H.treeDataGroupingCellToggle}`]: {
7718
7719
  flex: "0 0 28px",
7719
7720
  alignSelf: "stretch",
7720
7721
  marginRight: e.spacing(2)
7721
7722
  },
7722
- [`& .${B.groupingCriteriaCell}`]: {
7723
+ [`& .${H.groupingCriteriaCell}`]: {
7723
7724
  display: "flex",
7724
7725
  alignItems: "center",
7725
7726
  width: "100%"
7726
7727
  },
7727
- [`& .${B.groupingCriteriaCellToggle}`]: {
7728
+ [`& .${H.groupingCriteriaCellToggle}`]: {
7728
7729
  flex: "0 0 28px",
7729
7730
  alignSelf: "stretch",
7730
7731
  marginRight: e.spacing(2)
@@ -8135,11 +8136,11 @@ const To = Ve("MuiBadge", [
8135
8136
  overlap: F = C,
8136
8137
  anchorOrigin: k = d,
8137
8138
  variant: D = T
8138
- } = P ? x : p, H = D !== "dot" ? N : void 0, G = f({}, p, {
8139
+ } = P ? x : p, B = D !== "dot" ? N : void 0, G = f({}, p, {
8139
8140
  badgeContent: L,
8140
8141
  invisible: P,
8141
8142
  max: _,
8142
- displayValue: H,
8143
+ displayValue: B,
8143
8144
  showZero: O,
8144
8145
  anchorOrigin: k,
8145
8146
  color: R,
@@ -8163,7 +8164,7 @@ const To = Ve("MuiBadge", [
8163
8164
  });
8164
8165
  return /* @__PURE__ */ xe(j, f({}, de, {
8165
8166
  children: [v, /* @__PURE__ */ M(U, f({}, ne, {
8166
- children: H
8167
+ children: B
8167
8168
  }))]
8168
8169
  }));
8169
8170
  });
@@ -8712,14 +8713,14 @@ function nu(e) {
8712
8713
  ContentComponent: y.slots.columnMenu,
8713
8714
  contentComponentProps: (t = y.slotProps) == null ? void 0 : t.columnMenu,
8714
8715
  onExited: F
8715
- }), H = (n = s.sortingOrder) != null ? n : y.sortingOrder, G = /* @__PURE__ */ xe(a.Fragment, {
8716
+ }), B = (n = s.sortingOrder) != null ? n : y.sortingOrder, G = /* @__PURE__ */ xe(a.Fragment, {
8716
8717
  children: [!y.disableColumnFilter && /* @__PURE__ */ M(y.slots.columnHeaderFilterIconButton, f({
8717
8718
  field: s.field,
8718
8719
  counter: m
8719
8720
  }, (r = y.slotProps) == null ? void 0 : r.columnHeaderFilterIconButton)), s.sortable && !s.hideSortIcons && /* @__PURE__ */ M(Zh, {
8720
8721
  direction: d,
8721
8722
  index: g,
8722
- sortingOrder: H
8723
+ sortingOrder: B
8723
8724
  })]
8724
8725
  });
8725
8726
  a.useLayoutEffect(() => {
@@ -9609,7 +9610,7 @@ const gv = ze(/* @__PURE__ */ M("path", {
9609
9610
  return /* @__PURE__ */ M(hv, f({
9610
9611
  id: l,
9611
9612
  ref: n,
9612
- className: ie(B.menuList, i),
9613
+ className: ie(H.menuList, i),
9613
9614
  "aria-labelledby": s,
9614
9615
  onKeyDown: d,
9615
9616
  autoFocus: u
@@ -10121,8 +10122,8 @@ const Mv = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked"
10121
10122
  }, x = (D) => {
10122
10123
  if (D.nativeEvent.defaultPrevented)
10123
10124
  return;
10124
- const H = D.target.checked;
10125
- L(H), w && w(D, H);
10125
+ const B = D.target.checked;
10126
+ L(B), w && w(D, B);
10126
10127
  };
10127
10128
  let P = u;
10128
10129
  $ && typeof P > "u" && (P = $.disabled);
@@ -10409,7 +10410,7 @@ const yt = Ve("MuiSwitch", ["root", "edgeStart", "edgeEnd", "switchBase", "color
10409
10410
  }
10410
10411
  },
10411
10412
  [`&.${yt.disabled}`]: {
10412
- color: e.vars ? e.vars.palette.Switch[`${t}DisabledColor`] : `${e.palette.mode === "light" ? Aa(e.palette[t].main, 0.62) : Ha(e.palette[t].main, 0.55)}`
10413
+ color: e.vars ? e.vars.palette.Switch[`${t}DisabledColor`] : `${e.palette.mode === "light" ? _a(e.palette[t].main, 0.62) : Aa(e.palette[t].main, 0.55)}`
10413
10414
  }
10414
10415
  },
10415
10416
  [`&.${yt.checked} + .${yt.track}`]: {
@@ -11562,7 +11563,7 @@ const wy = ["children", "className", "classes"], xy = Ve("MuiDataGrid", ["panel"
11562
11563
  }], []), [b, h] = a.useState(null);
11563
11564
  return a.useEffect(() => {
11564
11565
  var v;
11565
- const C = (v = s.current.rootElementRef) == null || (v = v.current) == null ? void 0 : v.querySelector(`.${B.columnHeaders}`);
11566
+ const C = (v = s.current.rootElementRef) == null || (v = v.current) == null ? void 0 : v.querySelector(`.${H.columnHeaders}`);
11566
11567
  C && h(C);
11567
11568
  }, [s]), b ? /* @__PURE__ */ M(Sy, f({
11568
11569
  ref: t,
@@ -11703,7 +11704,7 @@ const Iy = /* @__PURE__ */ a.forwardRef(function(t, n) {
11703
11704
  operatorInputProps: $ = {},
11704
11705
  columnInputProps: _ = {},
11705
11706
  valueInputProps: N = {}
11706
- } = t, x = Y(t, Oy), P = He(), R = we(P, Za), F = we(P, ft), k = Je(), D = Je(), H = Je(), G = Je(), z = Se(), j = Ty(z), U = a.useRef(null), Q = a.useRef(null), se = h && I.length > 0, de = ((r = z.slotProps) == null ? void 0 : r.baseFormControl) || {}, me = (s = (((l = z.slotProps) == null ? void 0 : l.baseSelect) || {}).native) != null ? s : !0, ge = ((i = z.slotProps) == null ? void 0 : i.baseInputLabel) || {}, re = ((c = z.slotProps) == null ? void 0 : c.baseSelectOption) || {}, {
11707
+ } = t, x = Y(t, Oy), P = He(), R = we(P, Za), F = we(P, ft), k = Je(), D = Je(), B = Je(), G = Je(), z = Se(), j = Ty(z), U = a.useRef(null), Q = a.useRef(null), se = h && I.length > 0, de = ((r = z.slotProps) == null ? void 0 : r.baseFormControl) || {}, me = (s = (((l = z.slotProps) == null ? void 0 : l.baseSelect) || {}).native) != null ? s : !0, ge = ((i = z.slotProps) == null ? void 0 : i.baseInputLabel) || {}, re = ((c = z.slotProps) == null ? void 0 : c.baseSelectOption) || {}, {
11707
11708
  InputComponentProps: pe
11708
11709
  } = N, q = Y(N, Ey), le = a.useMemo(() => {
11709
11710
  if (T === void 0 || typeof T != "function")
@@ -11836,13 +11837,13 @@ const Iy = /* @__PURE__ */ a.forwardRef(function(t, n) {
11836
11837
  className: ie(j.operatorInput, de.className, $.className),
11837
11838
  ownerState: z,
11838
11839
  children: [/* @__PURE__ */ M(z.slots.baseInputLabel, f({}, ge, {
11839
- htmlFor: H,
11840
+ htmlFor: B,
11840
11841
  id: G,
11841
11842
  children: P.current.getLocaleText("filterPanelOperator")
11842
11843
  })), /* @__PURE__ */ M(z.slots.baseSelect, f({
11843
11844
  labelId: G,
11844
11845
  label: P.current.getLocaleText("filterPanelOperator"),
11845
- id: H,
11846
+ id: B,
11846
11847
  value: b.operator,
11847
11848
  onChange: Oe,
11848
11849
  native: me,
@@ -12599,7 +12600,7 @@ function qy(e) {
12599
12600
  onOpen: F,
12600
12601
  open: k,
12601
12602
  openOnFocus: D = !1,
12602
- options: H,
12603
+ options: B,
12603
12604
  readOnly: G = !1,
12604
12605
  selectOnFocus: z = !e.freeSolo,
12605
12606
  value: j
@@ -12644,7 +12645,7 @@ function qy(e) {
12644
12645
  name: p,
12645
12646
  state: "open"
12646
12647
  }), [ue, Pe] = a.useState(!0), De = !_ && K != null && Z === Q(K), Ee = ce && !G, $e = Ee ? C(
12647
- H.filter((X) => !(w && (_ ? K : [K]).some((W) => W !== null && $(X, W)))),
12648
+ B.filter((X) => !(w && (_ ? K : [K]).some((W) => W !== null && $(X, W)))),
12648
12649
  // we use the empty string to manipulate `filterOptions` to not filter any options
12649
12650
  // i.e. the filter predicate always returns true
12650
12651
  {
@@ -12661,8 +12662,8 @@ function qy(e) {
12661
12662
  Re && !X || y && !X || ye(null, K);
12662
12663
  }, [K, ye, Re, je.value, y]);
12663
12664
  const dt = ce && $e.length > 0 && !G;
12664
- if (process.env.NODE_ENV !== "production" && K !== null && !y && H.length > 0) {
12665
- const X = (_ ? K : [K]).filter((W) => !H.some((he) => $(he, W)));
12665
+ if (process.env.NODE_ENV !== "production" && K !== null && !y && B.length > 0) {
12666
+ const X = (_ ? K : [K]).filter((W) => !B.some((he) => $(he, W)));
12666
12667
  X.length > 0 && console.warn([`MUI: The value provided to ${p} is invalid.`, `None of the options match with \`${X.length > 1 ? JSON.stringify(X) : JSON.stringify(X[0])}\`.`, "You can use the `isOptionEqualToValue` prop to customize the equality test."].join(`
12667
12668
  `));
12668
12669
  }
@@ -14063,7 +14064,7 @@ const aC = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "Chip
14063
14064
  groupBy: F,
14064
14065
  handleHomeEndKeys: k = !c.freeSolo,
14065
14066
  includeInputInList: D = !1,
14066
- limitTags: H = -1,
14067
+ limitTags: B = -1,
14067
14068
  ListboxComponent: G = "ul",
14068
14069
  ListboxProps: z,
14069
14070
  loading: j = !1,
@@ -14144,9 +14145,9 @@ const aC = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "Chip
14144
14145
  }, an, m), wt);
14145
14146
  });
14146
14147
  }
14147
- if (H > -1 && Array.isArray(pt)) {
14148
- const fe = pt.length - H;
14149
- !Ce && fe > 0 && (pt = pt.splice(0, H), pt.push(/* @__PURE__ */ M("span", {
14148
+ if (B > -1 && Array.isArray(pt)) {
14149
+ const fe = pt.length - B;
14150
+ !Ce && fe > 0 && (pt = pt.splice(0, B), pt.push(/* @__PURE__ */ M("span", {
14150
14151
  className: tt.tag,
14151
14152
  children: P(fe)
14152
14153
  }, pt.length)));
@@ -14910,7 +14911,7 @@ const EC = ["children", "onClick"], TC = /* @__PURE__ */ a.forwardRef(function(t
14910
14911
  position: "bottom-start",
14911
14912
  children: /* @__PURE__ */ M(mr, {
14912
14913
  id: d,
14913
- className: B.menuList,
14914
+ className: H.menuList,
14914
14915
  "aria-labelledby": p,
14915
14916
  onKeyDown: w,
14916
14917
  autoFocusItem: g,
@@ -17204,7 +17205,7 @@ const Ow = ["BackdropComponent", "BackdropProps", "classes", "className", "close
17204
17205
  getRootProps: F,
17205
17206
  getBackdropProps: k,
17206
17207
  getTransitionProps: D,
17207
- portalRef: H,
17208
+ portalRef: B,
17208
17209
  isTopModal: G,
17209
17210
  exited: z,
17210
17211
  hasTransition: j
@@ -17244,7 +17245,7 @@ const Ow = ["BackdropComponent", "BackdropProps", "classes", "className", "close
17244
17245
  ownerState: U
17245
17246
  });
17246
17247
  return !L && !_ && (!j || z) ? null : /* @__PURE__ */ M(ir, {
17247
- ref: H,
17248
+ ref: B,
17248
17249
  container: v,
17249
17250
  disablePortal: I,
17250
17251
  children: /* @__PURE__ */ xe(de, f({}, re, {
@@ -17580,7 +17581,7 @@ const Dw = (e) => {
17580
17581
  left: `${Math.round(Z)}px`,
17581
17582
  transformOrigin: da(J)
17582
17583
  };
17583
- }, [u, g, F, k, C]), [H, G] = a.useState(w), z = a.useCallback(() => {
17584
+ }, [u, g, F, k, C]), [B, G] = a.useState(w), z = a.useCallback(() => {
17584
17585
  const q = N.current;
17585
17586
  if (!q)
17586
17587
  return;
@@ -17614,7 +17615,7 @@ const Dw = (e) => {
17614
17615
  const se = h || (u ? st(Fr(u)).body : void 0), de = (l = S == null ? void 0 : S.root) != null ? l : Nw, ne = (s = S == null ? void 0 : S.paper) != null ? s : Uu, me = wo({
17615
17616
  elementType: ne,
17616
17617
  externalSlotProps: f({}, _, {
17617
- style: H ? _.style : f({}, _.style, {
17618
+ style: B ? _.style : f({}, _.style, {
17618
17619
  opacity: 0
17619
17620
  })
17620
17621
  }),
@@ -17774,7 +17775,7 @@ process.env.NODE_ENV !== "production" && (qu.propTypes = {
17774
17775
  * @default {}
17775
17776
  */
17776
17777
  PaperProps: o.shape({
17777
- component: za
17778
+ component: Ba
17778
17779
  }),
17779
17780
  /**
17780
17781
  * The extra props for the slot components.
@@ -18387,7 +18388,7 @@ const ox = (e) => {
18387
18388
  controlled: P,
18388
18389
  default: g,
18389
18390
  name: "Select"
18390
- }), [H, G] = qo({
18391
+ }), [B, G] = qo({
18391
18392
  controlled: L,
18392
18393
  default: d,
18393
18394
  name: "Select"
@@ -18403,7 +18404,7 @@ const ox = (e) => {
18403
18404
  node: z.current,
18404
18405
  value: k
18405
18406
  }), [k]), a.useEffect(() => {
18406
- d && H && U && !se && (ne(c ? null : re.clientWidth), j.current.focus());
18407
+ d && B && U && !se && (ne(c ? null : re.clientWidth), j.current.focus());
18407
18408
  }, [U, c]), a.useEffect(() => {
18408
18409
  i && j.current.focus();
18409
18410
  }, [i]), a.useEffect(() => {
@@ -18458,7 +18459,7 @@ const ox = (e) => {
18458
18459
  // https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/
18459
18460
  "Enter"
18460
18461
  ].indexOf(Ce.key) !== -1 && (Ce.preventDefault(), pe(!0, Ce));
18461
- }, Oe = U !== null && H, Re = (Ce) => {
18462
+ }, Oe = U !== null && B, Re = (Ce) => {
18462
18463
  !Oe && V && (Object.defineProperty(Ce, "target", {
18463
18464
  writable: !0,
18464
18465
  value: {
@@ -19036,7 +19037,7 @@ const ux = ["autoComplete", "autoFocus", "children", "className", "color", "defa
19036
19037
  type: F,
19037
19038
  value: k,
19038
19039
  variant: D = "outlined"
19039
- } = r, H = Y(r, ux), G = f({}, r, {
19040
+ } = r, B = Y(r, ux), G = f({}, r, {
19040
19041
  autoFocus: s,
19041
19042
  color: u,
19042
19043
  disabled: d,
@@ -19081,7 +19082,7 @@ const ux = ["autoComplete", "autoFocus", "children", "className", "color", "defa
19081
19082
  color: u,
19082
19083
  variant: D,
19083
19084
  ownerState: G
19084
- }, H, {
19085
+ }, B, {
19085
19086
  children: [E != null && E !== "" && /* @__PURE__ */ M(Zs, f({
19086
19087
  htmlFor: U,
19087
19088
  id: se
@@ -19415,7 +19416,7 @@ const yx = Ve("MuiTableCell", ["root", "head", "body", "footer", "sizeSmall", "s
19415
19416
  // Workaround for a rendering bug with spanned columns in Chrome 62.0.
19416
19417
  // Removes the alpha (sets it to 1), and lightens or darkens the theme color.
19417
19418
  borderBottom: e.vars ? `1px solid ${e.vars.palette.TableCell.border}` : `1px solid
19418
- ${e.palette.mode === "light" ? Aa(Ze(e.palette.divider, 1), 0.88) : Ha(Ze(e.palette.divider, 1), 0.68)}`,
19419
+ ${e.palette.mode === "light" ? _a(Ze(e.palette.divider, 1), 0.88) : Aa(Ze(e.palette.divider, 1), 0.68)}`,
19419
19420
  textAlign: "left",
19420
19421
  padding: 16
19421
19422
  }, t.variant === "head" && {
@@ -19684,7 +19685,7 @@ const Ex = ze(/* @__PURE__ */ M("path", {
19684
19685
  C(me, w + 1);
19685
19686
  }, _ = (me) => {
19686
19687
  C(me, Math.max(0, Math.ceil(m / y) - 1));
19687
- }, N = (r = V.firstButton) != null ? r : yo, x = (l = V.lastButton) != null ? l : yo, P = (s = V.nextButton) != null ? s : yo, R = (i = V.previousButton) != null ? i : yo, F = (c = V.firstButtonIcon) != null ? c : Rx, k = (u = V.lastButtonIcon) != null ? u : Mx, D = (p = V.nextButtonIcon) != null ? p : Tx, H = (d = V.previousButtonIcon) != null ? d : Ex, G = T ? x : N, z = T ? P : R, j = T ? R : P, U = T ? N : x, Q = T ? I.lastButton : I.firstButton, se = T ? I.nextButton : I.previousButton, de = T ? I.previousButton : I.nextButton, ne = T ? I.firstButton : I.lastButton;
19688
+ }, N = (r = V.firstButton) != null ? r : yo, x = (l = V.lastButton) != null ? l : yo, P = (s = V.nextButton) != null ? s : yo, R = (i = V.previousButton) != null ? i : yo, F = (c = V.firstButtonIcon) != null ? c : Rx, k = (u = V.lastButtonIcon) != null ? u : Mx, D = (p = V.nextButtonIcon) != null ? p : Tx, B = (d = V.previousButtonIcon) != null ? d : Ex, G = T ? x : N, z = T ? P : R, j = T ? R : P, U = T ? N : x, Q = T ? I.lastButton : I.firstButton, se = T ? I.nextButton : I.previousButton, de = T ? I.previousButton : I.nextButton, ne = T ? I.firstButton : I.lastButton;
19688
19689
  return /* @__PURE__ */ xe("div", f({
19689
19690
  ref: n
19690
19691
  }, O, {
@@ -19702,7 +19703,7 @@ const Ex = ze(/* @__PURE__ */ M("path", {
19702
19703
  "aria-label": h("previous", w),
19703
19704
  title: h("previous", w)
19704
19705
  }, se ?? g, {
19705
- children: T ? /* @__PURE__ */ M(D, f({}, I.nextButtonIcon)) : /* @__PURE__ */ M(H, f({}, I.previousButtonIcon))
19706
+ children: T ? /* @__PURE__ */ M(D, f({}, I.nextButtonIcon)) : /* @__PURE__ */ M(B, f({}, I.previousButtonIcon))
19706
19707
  })), /* @__PURE__ */ M(j, f({
19707
19708
  onClick: $,
19708
19709
  disabled: b || (m !== -1 ? w >= Math.ceil(m / y) - 1 : !1),
@@ -19710,7 +19711,7 @@ const Ex = ze(/* @__PURE__ */ M("path", {
19710
19711
  "aria-label": h("next", w),
19711
19712
  title: h("next", w)
19712
19713
  }, de ?? v, {
19713
- children: T ? /* @__PURE__ */ M(H, f({}, I.previousButtonIcon)) : /* @__PURE__ */ M(D, f({}, I.nextButtonIcon))
19714
+ children: T ? /* @__PURE__ */ M(B, f({}, I.previousButtonIcon)) : /* @__PURE__ */ M(D, f({}, I.nextButtonIcon))
19714
19715
  })), E && /* @__PURE__ */ M(U, f({
19715
19716
  onClick: _,
19716
19717
  disabled: b || w >= Math.ceil(m / y) - 1,
@@ -20727,7 +20728,7 @@ function dS({
20727
20728
  width: e
20728
20729
  };
20729
20730
  return /* @__PURE__ */ M("div", {
20730
- className: `${B.cell} ${B.withBorderColor}`,
20731
+ className: `${H.cell} ${H.withBorderColor}`,
20731
20732
  style: t
20732
20733
  });
20733
20734
  }
@@ -20756,7 +20757,7 @@ const md = /* @__PURE__ */ a.forwardRef(function(t, n) {
20756
20757
  onMouseLeave: O,
20757
20758
  onMouseOut: T,
20758
20759
  onMouseOver: A
20759
- } = t, L = Y(t, cS), $ = He(), _ = a.useRef(null), N = Se(), x = sn($, N), P = we($, ys), R = we($, Vt), F = we($, ul), k = we($, pr), D = we($, St), H = et(_, n), G = c + k + 2, z = {
20760
+ } = t, L = Y(t, cS), $ = He(), _ = a.useRef(null), N = Se(), x = sn($, N), P = we($, ys), R = we($, Vt), F = we($, ul), k = we($, pr), D = we($, St), B = et(_, n), G = c + k + 2, z = {
20760
20761
  selected: r,
20761
20762
  isLastVisible: C,
20762
20763
  classes: N.classes,
@@ -20783,7 +20784,7 @@ const md = /* @__PURE__ */ a.forwardRef(function(t, n) {
20783
20784
  const U = a.useCallback((ce, te) => (ue) => {
20784
20785
  fr(ue) || $.current.getRow(s) && ($.current.publishEvent(ce, $.current.getRowParams(s), ue), te && te(ue));
20785
20786
  }, [$, s]), Q = a.useCallback((ce) => {
20786
- const te = Pf(ce.target, B.cell), ue = te == null ? void 0 : te.getAttribute("data-field");
20787
+ const te = Pf(ce.target, H.cell), ue = te == null ? void 0 : te.getAttribute("data-field");
20787
20788
  if (ue) {
20788
20789
  if (ue === Dn.field || ue === ti || ue === "__reorder__" || $.current.getCellMode(s, ue) === Qe.Edit)
20789
20790
  return;
@@ -20894,7 +20895,7 @@ const md = /* @__PURE__ */ a.forwardRef(function(t, n) {
20894
20895
  onMouseOver: U("rowMouseOver", A)
20895
20896
  } : null;
20896
20897
  return /* @__PURE__ */ xe("div", f({
20897
- ref: H,
20898
+ ref: B,
20898
20899
  "data-id": s,
20899
20900
  "data-rowindex": c,
20900
20901
  role: "row",
@@ -21988,26 +21989,26 @@ function JS(e, t) {
21988
21989
  k.splice(P, 0, D), u(f({}, Wo(e.current.state), {
21989
21990
  orderedFields: k
21990
21991
  }));
21991
- const H = {
21992
+ const B = {
21992
21993
  column: e.current.getColumn(x),
21993
21994
  targetIndex: e.current.getColumnIndexRelativeToVisibleColumns(x),
21994
21995
  oldIndex: F
21995
21996
  };
21996
- e.current.publishEvent("columnIndexChange", H);
21997
+ e.current.publishEvent("columnIndexChange", B);
21997
21998
  }, [e, l, u, w]), S = a.useCallback((x, P) => {
21998
21999
  var R, F;
21999
22000
  l.debug(`Updating column ${x} width to ${P}`);
22000
- const k = Wo(e.current.state), D = k.lookup[x], H = f({}, D, {
22001
+ const k = Wo(e.current.state), D = k.lookup[x], B = f({}, D, {
22001
22002
  width: P,
22002
22003
  hasBeenResized: !0
22003
22004
  });
22004
22005
  u(es(f({}, k, {
22005
22006
  lookup: f({}, k.lookup, {
22006
- [x]: H
22007
+ [x]: B
22007
22008
  })
22008
22009
  }), (R = (F = e.current.getRootDimensions()) == null ? void 0 : F.viewportInnerSize.width) != null ? R : 0)), e.current.publishEvent("columnWidthChange", {
22009
22010
  element: e.current.getColumnHeaderElement(x),
22010
- colDef: H,
22011
+ colDef: B,
22011
22012
  width: P
22012
22013
  });
22013
22014
  }, [e, l, u]), E = {
@@ -22342,22 +22343,22 @@ const uP = (e, t) => {
22342
22343
  }, v), S = h.contentDocument;
22343
22344
  if (!S)
22344
22345
  return;
22345
- const E = ur(e.current.state), V = e.current.rootElementRef.current, I = V.cloneNode(!0), O = I.querySelector(`.${B.main}`);
22346
+ const E = ur(e.current.state), V = e.current.rootElementRef.current, I = V.cloneNode(!0), O = I.querySelector(`.${H.main}`);
22346
22347
  O.style.overflow = "visible", I.style.contain = "size";
22347
- const A = I.querySelector(`.${B.columnHeaders}`).querySelector(`.${B.columnHeadersInner}`);
22348
+ const A = I.querySelector(`.${H.columnHeaders}`).querySelector(`.${H.columnHeadersInner}`);
22348
22349
  A.style.width = "100%";
22349
- let L = ((C = V.querySelector(`.${B.toolbarContainer}`)) == null ? void 0 : C.offsetHeight) || 0, $ = ((w = V.querySelector(`.${B.footerContainer}`)) == null ? void 0 : w.offsetHeight) || 0;
22350
+ let L = ((C = V.querySelector(`.${H.toolbarContainer}`)) == null ? void 0 : C.offsetHeight) || 0, $ = ((w = V.querySelector(`.${H.footerContainer}`)) == null ? void 0 : w.offsetHeight) || 0;
22350
22351
  if (y.hideToolbar) {
22351
22352
  var _;
22352
- (_ = I.querySelector(`.${B.toolbarContainer}`)) == null || _.remove(), L = 0;
22353
+ (_ = I.querySelector(`.${H.toolbarContainer}`)) == null || _.remove(), L = 0;
22353
22354
  }
22354
22355
  if (y.hideFooter) {
22355
22356
  var N;
22356
- (N = I.querySelector(`.${B.footerContainer}`)) == null || N.remove(), $ = 0;
22357
+ (N = I.querySelector(`.${H.footerContainer}`)) == null || N.remove(), $ = 0;
22357
22358
  }
22358
22359
  const x = E.currentPageTotalHeight + ri(e, t.columnHeaderHeight) + L + $;
22359
22360
  if (I.style.height = `${x}px`, I.style.boxSizing = "content-box", v != null && v.getRowsToExport) {
22360
- const k = I.querySelector(`.${B.footerContainer}`);
22361
+ const k = I.querySelector(`.${H.footerContainer}`);
22361
22362
  k.style.position = "absolute", k.style.width = "100%", k.style.top = `${x - $}px`;
22362
22363
  }
22363
22364
  const P = document.createElement("div");
@@ -22370,9 +22371,9 @@ const uP = (e, t) => {
22370
22371
  y.bodyClassName && S.body.classList.add(...y.bodyClassName.split(" "));
22371
22372
  const F = [];
22372
22373
  if (y.copyStyles) {
22373
- const k = V.getRootNode(), H = (k.constructor.name === "ShadowRoot" ? k : r.current).querySelectorAll("style, link[rel='stylesheet']");
22374
- for (let G = 0; G < H.length; G += 1) {
22375
- const z = H[G];
22374
+ const k = V.getRootNode(), B = (k.constructor.name === "ShadowRoot" ? k : r.current).querySelectorAll("style, link[rel='stylesheet']");
22375
+ for (let G = 0; G < B.length; G += 1) {
22376
+ const z = B[G];
22376
22377
  if (z.tagName === "STYLE") {
22377
22378
  const j = S.createElement(z.tagName), U = z.sheet;
22378
22379
  if (U) {
@@ -22596,8 +22597,8 @@ const gP = (e, t) => {
22596
22597
  passingQuickFilterValues: null
22597
22598
  }, R = V.current(e.current.state.rows.dataRowIdToModelLookup);
22598
22599
  for (let D = 0; D < R.length; D += 1) {
22599
- const H = R[D], G = E ? E(H) : H.id;
22600
- N(H, void 0, P);
22600
+ const B = R[D], G = E ? E(B) : B.id;
22601
+ N(B, void 0, P);
22601
22602
  const z = nS([P.passingFilterItems], [P.passingQuickFilterValues], L.filterModel, e, x);
22602
22603
  _[G] = z;
22603
22604
  }
@@ -22765,7 +22766,7 @@ const gP = (e, t) => {
22765
22766
  L !== null && L.depth === T && O.includes(L.field) || e.current.setColumnGroupHeaderFocus(O[0], T, A);
22766
22767
  }, [e]), v = a.useCallback((O, T) => {
22767
22768
  var A;
22768
- (A = T.relatedTarget) != null && A.className.includes(B.columnHeader) || (n.debug("Clearing focus"), e.current.setState((L) => f({}, L, {
22769
+ (A = T.relatedTarget) != null && A.className.includes(H.columnHeader) || (n.debug("Clearing focus"), e.current.setState((L) => f({}, L, {
22769
22770
  focus: {
22770
22771
  cell: null,
22771
22772
  columnHeader: null,
@@ -22918,7 +22919,7 @@ const Vl = ({
22918
22919
  var y;
22919
22920
  return (y = s[w]) == null ? void 0 : y.id;
22920
22921
  }, [s]), m = a.useCallback((w, y) => {
22921
- const S = y.currentTarget.querySelector(`.${B.columnHeaderTitleContainerContent}`);
22922
+ const S = y.currentTarget.querySelector(`.${H.columnHeaderTitleContainerContent}`);
22922
22923
  if (!!S && S.contains(y.target) && w.field !== Dn.field || !e.current.getRootDimensions())
22923
22924
  return;
22924
22925
  const I = e.current.getViewportPageSize(), O = w.field ? e.current.getColumnIndex(w.field) : 0, T = s.length > 0 ? 0 : null, A = s.length - 1, L = 0, $ = bt(e).length - 1, _ = pr(e);
@@ -23436,10 +23437,10 @@ const Vl = ({
23436
23437
  D();
23437
23438
  return;
23438
23439
  }
23439
- const H = St(e.current.state), {
23440
+ const B = St(e.current.state), {
23440
23441
  error: G,
23441
23442
  isProcessingProps: z
23442
- } = H[P][R];
23443
+ } = B[P][R];
23443
23444
  if (G || z) {
23444
23445
  s.current[P][R].mode = Qe.Edit, E(P, R, {
23445
23446
  mode: Qe.Edit
@@ -23470,12 +23471,12 @@ const Vl = ({
23470
23471
  field: F,
23471
23472
  value: k,
23472
23473
  debounceMs: D,
23473
- unstable_skipValueParser: H
23474
+ unstable_skipValueParser: B
23474
23475
  } = x;
23475
23476
  g(R, F), m(R, F, Qe.Edit);
23476
23477
  const G = e.current.getColumn(F), z = e.current.getRow(R);
23477
23478
  let j = k;
23478
- G.valueParser && !H && (j = G.valueParser(k, e.current.getCellParams(R, F)));
23479
+ G.valueParser && !B && (j = G.valueParser(k, e.current.getCellParams(R, F)));
23479
23480
  let U = St(e.current.state), Q = f({}, U[R][F], {
23480
23481
  value: j,
23481
23482
  changeReason: D ? "debouncedSetEditCellValue" : "setEditCellValue"
@@ -23521,8 +23522,8 @@ const Vl = ({
23521
23522
  const x = Vr(e), P = s.current;
23522
23523
  s.current = lu(n), Object.entries(n).forEach(([R, F]) => {
23523
23524
  Object.entries(F).forEach(([k, D]) => {
23524
- var H, G;
23525
- const z = ((H = P[R]) == null || (H = H[k]) == null ? void 0 : H.mode) || Qe.View, j = (G = x[R]) != null ? G : R;
23525
+ var B, G;
23526
+ const z = ((B = P[R]) == null || (B = B[k]) == null ? void 0 : B.mode) || Qe.View, j = (G = x[R]) != null ? G : R;
23526
23527
  D.mode === Qe.Edit && z === Qe.View ? O(f({
23527
23528
  id: j,
23528
23529
  field: k
@@ -23542,8 +23543,8 @@ const Vl = ({
23542
23543
  } = t, m = (k) => (...D) => {
23543
23544
  t.editMode === so.Row && k(...D);
23544
23545
  }, b = a.useCallback((k, D) => {
23545
- const H = e.current.getCellParams(k, D);
23546
- if (!e.current.isCellEditable(H))
23546
+ const B = e.current.getCellParams(k, D);
23547
+ if (!e.current.isCellEditable(B))
23547
23548
  throw new Error(`MUI: The cell with id=${k} and field=${D} is not editable.`);
23548
23549
  }, [e]), h = a.useCallback((k, D) => {
23549
23550
  if (e.current.getRowMode(k) !== D)
@@ -23551,7 +23552,7 @@ const Vl = ({
23551
23552
  }, [e]), v = a.useCallback((k, D) => {
23552
23553
  if (!k.isEditable || e.current.getRowMode(k.id) === ot.Edit)
23553
23554
  return;
23554
- const H = e.current.getRowParams(k.id), G = f({}, H, {
23555
+ const B = e.current.getRowParams(k.id), G = f({}, B, {
23555
23556
  field: k.field,
23556
23557
  reason: Mo.cellDoubleClick
23557
23558
  });
@@ -23560,8 +23561,8 @@ const Vl = ({
23560
23561
  c.current = k;
23561
23562
  }, []), w = a.useCallback((k, D) => {
23562
23563
  k.isEditable && e.current.getRowMode(k.id) !== ot.View && (c.current = null, i.current = setTimeout(() => {
23563
- var H;
23564
- if (i.current = null, ((H = c.current) == null ? void 0 : H.id) !== k.id) {
23564
+ var B;
23565
+ if (i.current = null, ((B = c.current) == null ? void 0 : B.id) !== k.id) {
23565
23566
  if (!e.current.getRow(k.id) || e.current.getRowMode(k.id) === ot.View)
23566
23567
  return;
23567
23568
  const G = e.current.getRowParams(k.id), z = f({}, G, {
@@ -23579,37 +23580,37 @@ const Vl = ({
23579
23580
  if (k.cellMode === ot.Edit) {
23580
23581
  if (D.which === 229)
23581
23582
  return;
23582
- let H;
23583
+ let B;
23583
23584
  if (D.key === "Escape")
23584
- H = bo.escapeKeyDown;
23585
+ B = bo.escapeKeyDown;
23585
23586
  else if (D.key === "Enter")
23586
- H = bo.enterKeyDown;
23587
+ B = bo.enterKeyDown;
23587
23588
  else if (D.key === "Tab") {
23588
23589
  const G = il(e).filter((z) => e.current.getColumn(z).type === Il ? !0 : e.current.isCellEditable(e.current.getCellParams(k.id, z)));
23589
- if (D.shiftKey ? k.field === G[0] && (H = bo.shiftTabKeyDown) : k.field === G[G.length - 1] && (H = bo.tabKeyDown), D.preventDefault(), !H) {
23590
+ if (D.shiftKey ? k.field === G[0] && (B = bo.shiftTabKeyDown) : k.field === G[G.length - 1] && (B = bo.tabKeyDown), D.preventDefault(), !B) {
23590
23591
  const z = G.findIndex((U) => U === k.field), j = G[D.shiftKey ? z - 1 : z + 1];
23591
23592
  e.current.setCellFocus(k.id, j);
23592
23593
  }
23593
23594
  }
23594
- if (H) {
23595
+ if (B) {
23595
23596
  const G = f({}, e.current.getRowParams(k.id), {
23596
- reason: H,
23597
+ reason: B,
23597
23598
  field: k.field
23598
23599
  });
23599
23600
  e.current.publishEvent("rowEditStop", G, D);
23600
23601
  }
23601
23602
  } else if (k.isEditable) {
23602
- let H;
23603
+ let B;
23603
23604
  if (!e.current.unstable_applyPipeProcessors("canStartEditing", !0, {
23604
23605
  event: D,
23605
23606
  cellParams: k,
23606
23607
  editMode: "row"
23607
23608
  }))
23608
23609
  return;
23609
- if (Ec(D) || (D.ctrlKey || D.metaKey) && D.key === "v" ? H = Mo.printableKeyDown : D.key === "Enter" ? H = Mo.enterKeyDown : (D.key === "Delete" || D.key === "Backspace") && (H = Mo.deleteKeyDown), H) {
23610
+ if (Ec(D) || (D.ctrlKey || D.metaKey) && D.key === "v" ? B = Mo.printableKeyDown : D.key === "Enter" ? B = Mo.enterKeyDown : (D.key === "Delete" || D.key === "Backspace") && (B = Mo.deleteKeyDown), B) {
23610
23611
  const z = e.current.getRowParams(k.id), j = f({}, z, {
23611
23612
  field: k.field,
23612
- reason: H
23613
+ reason: B
23613
23614
  });
23614
23615
  e.current.publishEvent("rowEditStart", j, D);
23615
23616
  }
@@ -23617,23 +23618,23 @@ const Vl = ({
23617
23618
  }, [e]), S = a.useCallback((k) => {
23618
23619
  const {
23619
23620
  id: D,
23620
- field: H,
23621
+ field: B,
23621
23622
  reason: G
23622
23623
  } = k, z = {
23623
23624
  id: D,
23624
- fieldToFocus: H
23625
+ fieldToFocus: B
23625
23626
  };
23626
- (G === Mo.printableKeyDown || G === Mo.deleteKeyDown) && (z.deleteValue = !!H), e.current.startRowEditMode(z);
23627
+ (G === Mo.printableKeyDown || G === Mo.deleteKeyDown) && (z.deleteValue = !!B), e.current.startRowEditMode(z);
23627
23628
  }, [e]), E = a.useCallback((k) => {
23628
23629
  const {
23629
23630
  id: D,
23630
- reason: H,
23631
+ reason: B,
23631
23632
  field: G
23632
23633
  } = k;
23633
23634
  e.current.runPendingEditCellValueMutation(D);
23634
23635
  let z;
23635
- H === bo.enterKeyDown ? z = "below" : H === bo.tabKeyDown ? z = "right" : H === bo.shiftTabKeyDown && (z = "left");
23636
- const j = H === "escapeKeyDown";
23636
+ B === bo.enterKeyDown ? z = "below" : B === bo.tabKeyDown ? z = "right" : B === bo.shiftTabKeyDown && (z = "left");
23637
+ const j = B === "escapeKeyDown";
23637
23638
  e.current.stopRowEditMode({
23638
23639
  id: D,
23639
23640
  ignoreModifications: j,
@@ -23651,20 +23652,20 @@ const Vl = ({
23651
23652
  const D = k !== t.rowModesModel;
23652
23653
  g && D && g(k, {}), !(t.rowModesModel && D) && (r(k), l.current = k, e.current.publishEvent("rowModesModelChange", k));
23653
23654
  }), O = a.useCallback((k, D) => {
23654
- const H = f({}, l.current);
23655
- D !== null ? H[k] = f({}, D) : delete H[k], I(H);
23655
+ const B = f({}, l.current);
23656
+ D !== null ? B[k] = f({}, D) : delete B[k], I(B);
23656
23657
  }, [I]), T = a.useCallback((k, D) => {
23657
- e.current.setState((H) => {
23658
- const G = f({}, H.editRows);
23659
- return D !== null ? G[k] = D : delete G[k], f({}, H, {
23658
+ e.current.setState((B) => {
23659
+ const G = f({}, B.editRows);
23660
+ return D !== null ? G[k] = D : delete G[k], f({}, B, {
23660
23661
  editRows: G
23661
23662
  });
23662
23663
  }), e.current.forceUpdate();
23663
- }, [e]), A = a.useCallback((k, D, H) => {
23664
+ }, [e]), A = a.useCallback((k, D, B) => {
23664
23665
  e.current.setState((G) => {
23665
23666
  const z = f({}, G.editRows);
23666
- return H !== null ? z[k] = f({}, z[k], {
23667
- [D]: f({}, H)
23667
+ return B !== null ? z[k] = f({}, z[k], {
23668
+ [D]: f({}, B)
23668
23669
  }) : (delete z[k][D], Object.keys(z[k]).length === 0 && delete z[k]), f({}, G, {
23669
23670
  editRows: z
23670
23671
  });
@@ -23672,38 +23673,38 @@ const Vl = ({
23672
23673
  }, [e]), L = a.useCallback((k) => {
23673
23674
  const {
23674
23675
  id: D
23675
- } = k, H = Y(k, TP);
23676
+ } = k, B = Y(k, TP);
23676
23677
  h(D, ot.View), O(D, f({
23677
23678
  mode: ot.Edit
23678
- }, H));
23679
+ }, B));
23679
23680
  }, [h, O]), $ = ct((k) => {
23680
23681
  const {
23681
23682
  id: D,
23682
- fieldToFocus: H,
23683
+ fieldToFocus: B,
23683
23684
  deleteValue: G,
23684
23685
  initialValue: z
23685
23686
  } = k, U = Co(e).reduce((Q, se) => {
23686
23687
  if (!e.current.getCellParams(D, se).isEditable)
23687
23688
  return Q;
23688
23689
  let ne = e.current.getCellValue(D, se);
23689
- return H === se && (G || z) && (ne = G ? "" : z), Q[se] = {
23690
+ return B === se && (G || z) && (ne = G ? "" : z), Q[se] = {
23690
23691
  value: ne,
23691
23692
  error: !1,
23692
23693
  isProcessingProps: !1
23693
23694
  }, Q;
23694
23695
  }, {});
23695
- T(D, U), H && e.current.setCellFocus(D, H);
23696
+ T(D, U), B && e.current.setCellFocus(D, B);
23696
23697
  }), _ = a.useCallback((k) => {
23697
23698
  const {
23698
23699
  id: D
23699
- } = k, H = Y(k, MP);
23700
+ } = k, B = Y(k, MP);
23700
23701
  h(D, ot.Edit), O(D, f({
23701
23702
  mode: ot.View
23702
- }, H));
23703
+ }, B));
23703
23704
  }, [h, O]), N = ct((k) => {
23704
23705
  const {
23705
23706
  id: D,
23706
- ignoreModifications: H,
23707
+ ignoreModifications: B,
23707
23708
  field: G,
23708
23709
  cellToFocusAfter: z = "none"
23709
23710
  } = k;
@@ -23711,7 +23712,7 @@ const Vl = ({
23711
23712
  const j = () => {
23712
23713
  z !== "none" && G && e.current.moveFocusToRelativeCell(D, G, z), T(D, null), O(D, null);
23713
23714
  };
23714
- if (H) {
23715
+ if (B) {
23715
23716
  j();
23716
23717
  return;
23717
23718
  }
@@ -23745,27 +23746,27 @@ const Vl = ({
23745
23746
  }), x = a.useCallback((k) => {
23746
23747
  const {
23747
23748
  id: D,
23748
- field: H,
23749
+ field: B,
23749
23750
  value: G,
23750
23751
  debounceMs: z,
23751
23752
  unstable_skipValueParser: j
23752
23753
  } = k;
23753
- b(D, H);
23754
- const U = e.current.getColumn(H), Q = e.current.getRow(D);
23754
+ b(D, B);
23755
+ const U = e.current.getColumn(B), Q = e.current.getRow(D);
23755
23756
  let se = G;
23756
- U.valueParser && !j && (se = U.valueParser(G, e.current.getCellParams(D, H)));
23757
- let de = St(e.current.state), ne = f({}, de[D][H], {
23757
+ U.valueParser && !j && (se = U.valueParser(G, e.current.getCellParams(D, B)));
23758
+ let de = St(e.current.state), ne = f({}, de[D][B], {
23758
23759
  value: se,
23759
23760
  changeReason: z ? "debouncedSetEditCellValue" : "setEditCellValue"
23760
23761
  });
23761
- return U.preProcessEditCellProps || A(D, H, ne), new Promise((me) => {
23762
+ return U.preProcessEditCellProps || A(D, B, ne), new Promise((me) => {
23762
23763
  const ge = [];
23763
23764
  if (U.preProcessEditCellProps) {
23764
- const re = ne.value !== de[D][H].value;
23765
+ const re = ne.value !== de[D][B].value;
23765
23766
  ne = f({}, ne, {
23766
23767
  isProcessingProps: !0
23767
- }), A(D, H, ne);
23768
- const pe = de[D], q = Y(pe, [H].map(er)), le = Promise.resolve(U.preProcessEditCellProps({
23768
+ }), A(D, B, ne);
23769
+ const pe = de[D], q = Y(pe, [B].map(er)), le = Promise.resolve(U.preProcessEditCellProps({
23769
23770
  id: D,
23770
23771
  row: Q,
23771
23772
  props: ne,
@@ -23778,12 +23779,12 @@ const Vl = ({
23778
23779
  }
23779
23780
  de = St(e.current.state), J = f({}, J, {
23780
23781
  isProcessingProps: !1
23781
- }), J.value = U.preProcessEditCellProps ? de[D][H].value : se, A(D, H, J);
23782
+ }), J.value = U.preProcessEditCellProps ? de[D][B].value : se, A(D, B, J);
23782
23783
  });
23783
23784
  ge.push(le);
23784
23785
  }
23785
23786
  Object.entries(de[D]).forEach(([re, pe]) => {
23786
- if (re === H)
23787
+ if (re === B)
23787
23788
  return;
23788
23789
  const q = e.current.getColumn(re);
23789
23790
  if (!q.preProcessEditCellProps)
@@ -23808,14 +23809,14 @@ const Vl = ({
23808
23809
  });
23809
23810
  ge.push(K);
23810
23811
  }), Promise.all(ge).then(() => {
23811
- e.current.getRowMode(D) === ot.Edit ? (de = St(e.current.state), me(!de[D][H].error)) : me(!1);
23812
+ e.current.getRowMode(D) === ot.Edit ? (de = St(e.current.state), me(!de[D][B].error)) : me(!1);
23812
23813
  });
23813
23814
  });
23814
23815
  }, [e, b, A]), P = a.useCallback((k) => {
23815
- const D = St(e.current.state), H = e.current.getRow(k);
23816
+ const D = St(e.current.state), B = e.current.getRow(k);
23816
23817
  if (!D[k])
23817
23818
  return e.current.getRow(k);
23818
- let G = f({}, H);
23819
+ let G = f({}, B);
23819
23820
  return Object.entries(D[k]).forEach(([z, j]) => {
23820
23821
  const U = e.current.getColumn(z);
23821
23822
  U.valueSetter ? G = U.valueSetter({
@@ -23835,9 +23836,9 @@ const Vl = ({
23835
23836
  d && I(d);
23836
23837
  }, [d, I]), nt(() => {
23837
23838
  const k = Vr(e), D = s.current;
23838
- s.current = lu(n), Object.entries(n).forEach(([H, G]) => {
23839
+ s.current = lu(n), Object.entries(n).forEach(([B, G]) => {
23839
23840
  var z, j;
23840
- const U = ((z = D[H]) == null ? void 0 : z.mode) || ot.View, Q = (j = k[H]) != null ? j : H;
23841
+ const U = ((z = D[B]) == null ? void 0 : z.mode) || ot.View, Q = (j = k[B]) != null ? j : B;
23841
23842
  G.mode === ot.Edit && U === ot.View ? $(f({
23842
23843
  id: Q
23843
23844
  }, G)) : G.mode === ot.View && U === ot.Edit && N(f({
@@ -23992,8 +23993,8 @@ const Vl = ({
23992
23993
  N.forEach((R) => {
23993
23994
  const F = Hr(R, t.getRowId, "A row was provided without id when calling updateRows():"), k = e.current.getRowNode(F);
23994
23995
  if ((k == null ? void 0 : k.type) === "pinnedRow") {
23995
- const D = e.current.caches.pinnedRows, H = D.idLookup[F];
23996
- H && (D.idLookup[F] = f({}, H, R));
23996
+ const D = e.current.caches.pinnedRows, B = D.idLookup[F];
23997
+ B && (D.idLookup[F] = f({}, B, R));
23997
23998
  } else
23998
23999
  x.push(R);
23999
24000
  });
@@ -24043,18 +24044,18 @@ const Vl = ({
24043
24044
  const D = F[x];
24044
24045
  if (!D)
24045
24046
  return [];
24046
- const H = Cs(e);
24047
+ const B = Cs(e);
24047
24048
  k = [];
24048
- const G = H.findIndex((z) => z === x) + 1;
24049
- for (let z = G; z < H.length && F[H[z]].depth > D.depth; z += 1) {
24050
- const j = H[z];
24049
+ const G = B.findIndex((z) => z === x) + 1;
24050
+ for (let z = G; z < B.length && F[B[z]].depth > D.depth; z += 1) {
24051
+ const j = B[z];
24051
24052
  (!N || !nr(F[j])) && k.push(j);
24052
24053
  }
24053
24054
  } else
24054
24055
  k = Ps(F, x, N);
24055
24056
  if (R) {
24056
24057
  const D = oc(e);
24057
- k = k.filter((H) => D[H] !== !1);
24058
+ k = k.filter((B) => D[B] !== !1);
24058
24059
  }
24059
24060
  return k;
24060
24061
  }, [e]), E = a.useCallback((N, x) => {
@@ -24070,12 +24071,12 @@ const Vl = ({
24070
24071
  if (D === -1 || D === x)
24071
24072
  return R;
24072
24073
  n.debug(`Moving row ${N} to index ${x}`);
24073
- const H = [...k];
24074
- return H.splice(x, 0, H.splice(D, 1)[0]), f({}, R, {
24074
+ const B = [...k];
24075
+ return B.splice(x, 0, B.splice(D, 1)[0]), f({}, R, {
24075
24076
  rows: f({}, R.rows, {
24076
24077
  tree: f({}, R.rows.tree, {
24077
24078
  [Pt]: f({}, F, {
24078
- children: H
24079
+ children: B
24079
24080
  })
24080
24081
  })
24081
24082
  })
@@ -24089,9 +24090,9 @@ const Vl = ({
24089
24090
  return;
24090
24091
  if (ul(e) > 1)
24091
24092
  throw new Error("`apiRef.current.unstable_replaceRows` is not compatible with tree data and row grouping");
24092
- const R = f({}, Wt(e)), F = f({}, vo(e)), k = f({}, Vr(e)), D = R[Pt], H = [...D.children], G = /* @__PURE__ */ new Set();
24093
+ const R = f({}, Wt(e)), F = f({}, vo(e)), k = f({}, Vr(e)), D = R[Pt], B = [...D.children], G = /* @__PURE__ */ new Set();
24093
24094
  for (let j = 0; j < x.length; j += 1) {
24094
- const U = x[j], Q = Hr(U, t.getRowId, "A row was provided without id when calling replaceRows()."), [se] = H.splice(N + j, 1, Q);
24095
+ const U = x[j], Q = Hr(U, t.getRowId, "A row was provided without id when calling replaceRows()."), [se] = B.splice(N + j, 1, Q);
24095
24096
  G.has(se) || (delete F[se], delete k[se], delete R[se]);
24096
24097
  const de = {
24097
24098
  id: Q,
@@ -24103,9 +24104,9 @@ const Vl = ({
24103
24104
  F[Q] = U, k[Q] = Q, R[Q] = de, G.add(Q);
24104
24105
  }
24105
24106
  R[Pt] = f({}, D, {
24106
- children: H
24107
+ children: B
24107
24108
  });
24108
- const z = H.filter((j) => R[j].type === "leaf");
24109
+ const z = B.filter((j) => R[j].type === "leaf");
24109
24110
  e.current.caches.rows.dataRowIdToModelLookup = F, e.current.caches.rows.dataRowIdToIdLookup = k, e.current.setState((j) => f({}, j, {
24110
24111
  rows: f({}, j.rows, {
24111
24112
  dataRowIdToModelLookup: F,
@@ -24288,10 +24289,10 @@ const Vl = ({
24288
24289
  let R = x;
24289
24290
  const F = (P = s.current) != null ? P : x, k = e.current.isRowSelected(x);
24290
24291
  if (k) {
24291
- const D = Yn(e), H = D.findIndex((z) => z === F), G = D.findIndex((z) => z === R);
24292
- if (H === G)
24292
+ const D = Yn(e), B = D.findIndex((z) => z === F), G = D.findIndex((z) => z === R);
24293
+ if (B === G)
24293
24294
  return;
24294
- H > G ? R = D[G + 1] : R = D[G - 1];
24295
+ B > G ? R = D[G + 1] : R = D[G - 1];
24295
24296
  }
24296
24297
  s.current = x, e.current.selectRowRange({
24297
24298
  startId: F,
@@ -24315,20 +24316,20 @@ const Vl = ({
24315
24316
  n.debug(`Setting selection for row ${x}`), e.current.setRowSelectionModel(P ? [x] : []);
24316
24317
  else {
24317
24318
  n.debug(`Toggling selection for row ${x}`);
24318
- const k = At(e.current.state).filter((H) => H !== x);
24319
+ const k = At(e.current.state).filter((B) => B !== x);
24319
24320
  P && k.push(x), (k.length < 2 || d) && e.current.setRowSelectionModel(k);
24320
24321
  }
24321
24322
  }, [e, n, d]), y = a.useCallback((x, P = !0, R = !1) => {
24322
24323
  n.debug("Setting selection for several rows");
24323
- const F = x.filter((H) => e.current.isRowSelectable(H));
24324
+ const F = x.filter((B) => e.current.isRowSelectable(B));
24324
24325
  let k;
24325
24326
  if (R)
24326
24327
  k = P ? F : [];
24327
24328
  else {
24328
- const H = f({}, Qr(e));
24329
+ const B = f({}, Qr(e));
24329
24330
  F.forEach((G) => {
24330
- P ? H[G] = G : delete H[G];
24331
- }), k = Object.values(H);
24331
+ P ? B[G] = G : delete B[G];
24332
+ }), k = Object.values(B);
24332
24333
  }
24333
24334
  (k.length < 2 || d) && e.current.setRowSelectionModel(k);
24334
24335
  }, [e, n, d]), S = a.useCallback(({
@@ -24338,7 +24339,7 @@ const Vl = ({
24338
24339
  if (!e.current.getRow(x) || !e.current.getRow(P))
24339
24340
  return;
24340
24341
  n.debug(`Expanding selection from row ${x} to row ${P}`);
24341
- const k = Yn(e), D = k.indexOf(x), H = k.indexOf(P), [G, z] = D > H ? [H, D] : [D, H], j = k.slice(G, z + 1);
24342
+ const k = Yn(e), D = k.indexOf(x), B = k.indexOf(P), [G, z] = D > B ? [B, D] : [D, B], j = k.slice(G, z + 1);
24342
24343
  e.current.selectRows(j, R, F);
24343
24344
  }, [e, n]), E = {
24344
24345
  selectRow: w,
@@ -24366,7 +24367,7 @@ const Vl = ({
24366
24367
  var R;
24367
24368
  if (u)
24368
24369
  return;
24369
- const F = (R = P.target.closest(`.${B.cell}`)) == null ? void 0 : R.getAttribute("data-field");
24370
+ const F = (R = P.target.closest(`.${H.cell}`)) == null ? void 0 : R.getAttribute("data-field");
24370
24371
  if (F === Dn.field || F === ti)
24371
24372
  return;
24372
24373
  if (F) {
@@ -24397,9 +24398,9 @@ const Vl = ({
24397
24398
  return;
24398
24399
  }
24399
24400
  const k = e.current.getRowIndexRelativeToVisibleRows(R.id), D = e.current.getRowIndexRelativeToVisibleRows(x.id);
24400
- let H, G;
24401
- k > D ? F ? (H = D, G = k - 1) : (H = D, G = k) : F ? (H = k + 1, G = D) : (H = k, G = D);
24402
- const z = g.rows.slice(H, G + 1).map((j) => j.id);
24401
+ let B, G;
24402
+ k > D ? F ? (B = D, G = k - 1) : (B = D, G = k) : F ? (B = k + 1, G = D) : (B = k, G = D);
24403
+ const z = g.rows.slice(B, G + 1).map((j) => j.id);
24403
24404
  e.current.selectRows(z, !F);
24404
24405
  return;
24405
24406
  }
@@ -24757,7 +24758,7 @@ const WP = (e, t) => {
24757
24758
  }
24758
24759
  if (g.rowIndex != null) {
24759
24760
  var w, y;
24760
- const S = ur(e.current.state), E = Ib(e), V = cu(e), I = t.pagination ? g.rowIndex - E * V : g.rowIndex, O = S.positions[I + 1] ? S.positions[I + 1] - S.positions[I] : S.currentPageTotalHeight - S.positions[I], T = ((w = s.current.querySelector(`.${B["pinnedRows--top"]}`)) == null ? void 0 : w.clientHeight) || 0, A = ((y = s.current.querySelector(`.${B["pinnedRows--bottom"]}`)) == null ? void 0 : y.clientHeight) || 0;
24761
+ const S = ur(e.current.state), E = Ib(e), V = cu(e), I = t.pagination ? g.rowIndex - E * V : g.rowIndex, O = S.positions[I + 1] ? S.positions[I + 1] - S.positions[I] : S.currentPageTotalHeight - S.positions[I], T = ((w = s.current.querySelector(`.${H["pinnedRows--top"]}`)) == null ? void 0 : w.clientHeight) || 0, A = ((y = s.current.querySelector(`.${H["pinnedRows--bottom"]}`)) == null ? void 0 : y.clientHeight) || 0;
24761
24762
  v.top = Ta({
24762
24763
  clientHeight: s.current.clientHeight - T - A,
24763
24764
  scrollTop: s.current.scrollTop,
@@ -24952,7 +24953,7 @@ const $o = ({
24952
24953
  focusedCellColumnIndexNotInRange: Oe,
24953
24954
  renderedColumns: Re
24954
24955
  };
24955
- }, tI)), D = a.useMemo(() => h !== null ? r.findIndex((q) => q.field === h.field) : -1, [h, r]), H = a.useCallback(() => {
24956
+ }, tI)), D = a.useMemo(() => h !== null ? r.findIndex((q) => q.field === h.field) : -1, [h, r]), B = a.useCallback(() => {
24956
24957
  if (!l)
24957
24958
  return {
24958
24959
  firstRowIndex: 0,
@@ -25047,7 +25048,7 @@ const $o = ({
25047
25048
  nt(() => {
25048
25049
  if (L.width == null)
25049
25050
  return;
25050
- const q = H();
25051
+ const q = B();
25051
25052
  U(q);
25052
25053
  const {
25053
25054
  top: le,
@@ -25058,7 +25059,7 @@ const $o = ({
25058
25059
  renderContext: q
25059
25060
  };
25060
25061
  t.current.publishEvent("scrollPositionChange", K);
25061
- }, [t, H, L.width, U]);
25062
+ }, [t, B, L.width, U]);
25062
25063
  const Q = ct((q) => {
25063
25064
  const {
25064
25065
  scrollTop: le,
@@ -25066,7 +25067,7 @@ const $o = ({
25066
25067
  } = q.currentTarget;
25067
25068
  if (A.current.top = le, A.current.left = J, !T.current || le < 0 || g.direction === "ltr" && J < 0 || g.direction === "rtl" && J > 0)
25068
25069
  return;
25069
- const K = l ? H() : T.current, ae = Math.abs(K.firstRowIndex - T.current.firstRowIndex), Z = Math.abs(K.lastRowIndex - T.current.lastRowIndex), Oe = Math.abs(K.firstColumnIndex - T.current.firstColumnIndex), Re = Math.abs(K.lastColumnIndex - T.current.lastColumnIndex), Te = ae >= n.rowThreshold || Z >= n.rowThreshold || Oe >= n.columnThreshold || Re >= n.columnThreshold || _.current !== b;
25070
+ const K = l ? B() : T.current, ae = Math.abs(K.firstRowIndex - T.current.firstRowIndex), Z = Math.abs(K.lastRowIndex - T.current.lastRowIndex), Oe = Math.abs(K.firstColumnIndex - T.current.firstColumnIndex), Re = Math.abs(K.lastColumnIndex - T.current.lastColumnIndex), Te = ae >= n.rowThreshold || Z >= n.rowThreshold || Oe >= n.columnThreshold || Re >= n.columnThreshold || _.current !== b;
25070
25071
  t.current.publishEvent("scrollPositionChange", {
25071
25072
  top: le,
25072
25073
  left: J,
@@ -25389,7 +25390,7 @@ const sI = (e) => {
25389
25390
  }, [I]);
25390
25391
  const D = a.useRef(sl(QS, {
25391
25392
  equalityCheck: (ge, re) => ["firstColumnIndex", "minColumnIndex", "columnBuffer"].every((pe) => ge[pe] === re[pe])
25392
- })), H = a.useCallback((ge) => {
25393
+ })), B = a.useCallback((ge) => {
25393
25394
  const [re, pe] = $o({
25394
25395
  firstIndex: ge.firstRowIndex,
25395
25396
  lastIndex: ge.lastRowIndex,
@@ -25408,8 +25409,8 @@ const sI = (e) => {
25408
25409
  A.current.style.transform = `translate3d(${-J}px, 0px, 0px)`;
25409
25410
  }, [i, n, T.columnBuffer, I, P.rows, T.rowBuffer, w.direction]);
25410
25411
  a.useLayoutEffect(() => {
25411
- $ && H($);
25412
- }, [$, H]);
25412
+ $ && B($);
25413
+ }, [$, B]);
25413
25414
  const G = a.useCallback(({
25414
25415
  left: ge,
25415
25416
  renderContext: re = null
@@ -25421,8 +25422,8 @@ const sI = (e) => {
25421
25422
  let J = !1;
25422
25423
  re !== N.current || !N.current ? (lI(pe) ? (is.flushSync(() => {
25423
25424
  k(re);
25424
- }), J = !0) : k(re), N.current = re) : J = !0, re && J && H(re);
25425
- }, [H, k]), z = a.useCallback((ge) => V(ge.field), []), j = a.useCallback(() => V(""), []), U = a.useCallback((ge) => S(ge.field), []), Q = a.useCallback(() => S(""), []);
25425
+ }), J = !0) : k(re), N.current = re) : J = !0, re && J && B(re);
25426
+ }, [B, k]), z = a.useCallback((ge) => V(ge.field), []), j = a.useCallback(() => V(""), []), U = a.useCallback((ge) => S(ge.field), []), Q = a.useCallback(() => S(""), []);
25426
25427
  Ie(I, "columnResizeStart", z), Ie(I, "columnResizeStop", j), Ie(I, "columnHeaderDragStart", U), Ie(I, "columnHeaderDragEnd", Q), Ie(I, "scrollPositionChange", G);
25427
25428
  const se = (ge) => {
25428
25429
  const {
@@ -25621,16 +25622,16 @@ const sI = (e) => {
25621
25622
  name: "MuiDataGrid",
25622
25623
  slot: "columnHeadersInner",
25623
25624
  overridesResolver: (e, t) => [{
25624
- [`&.${B.columnHeaderDropZone}`]: t.columnHeaderDropZone
25625
+ [`&.${H.columnHeaderDropZone}`]: t.columnHeaderDropZone
25625
25626
  }, t.columnHeadersInner]
25626
25627
  })(() => ({
25627
25628
  display: "flex",
25628
25629
  alignItems: "flex-start",
25629
25630
  flexDirection: "column",
25630
- [`&.${B.columnHeaderDropZone} .${B.columnHeaderDraggableContainer}`]: {
25631
+ [`&.${H.columnHeaderDropZone} .${H.columnHeaderDraggableContainer}`]: {
25631
25632
  cursor: "move"
25632
25633
  },
25633
- [`&.${B["columnHeadersInner--scrollable"]} .${B.columnHeader}:last-child`]: {
25634
+ [`&.${H["columnHeadersInner--scrollable"]} .${H.columnHeader}:last-child`]: {
25634
25635
  borderRight: "none"
25635
25636
  }
25636
25637
  })), gI = /* @__PURE__ */ a.forwardRef(function(t, n) {
@@ -26274,7 +26275,7 @@ const Rd = /* @__PURE__ */ a.forwardRef(function(t, n) {
26274
26275
  enterNextDelay: F = 0,
26275
26276
  enterTouchDelay: k = 700,
26276
26277
  followCursor: D = !1,
26277
- id: H,
26278
+ id: B,
26278
26279
  leaveDelay: G = 0,
26279
26280
  leaveTouchDelay: z = 1500,
26280
26281
  onClose: j,
@@ -26306,7 +26307,7 @@ const Rd = /* @__PURE__ */ a.forwardRef(function(t, n) {
26306
26307
  `));
26307
26308
  }, [re, Z, ve]);
26308
26309
  }
26309
- const dt = Je(H), Ue = a.useRef(), Ke = ct(() => {
26310
+ const dt = Je(B), Ue = a.useRef(), Ke = ct(() => {
26310
26311
  Ue.current !== void 0 && (document.body.style.WebkitUserSelect = Ue.current, Ue.current = void 0), De.clear();
26311
26312
  });
26312
26313
  a.useEffect(() => Ke, [Ke]);
@@ -26871,10 +26872,10 @@ const Na = (e, t, n) => typeof e == "number" && e > 0 ? e : (process.env.NODE_EN
26871
26872
  const {
26872
26873
  isResized: k,
26873
26874
  needsFirstMeasurement: D,
26874
- sizes: H
26875
+ sizes: B
26875
26876
  } = s.current[F.id];
26876
26877
  let G = typeof v == "number" && v > 0 ? v : 52;
26877
- const z = H.baseCenter;
26878
+ const z = B.baseCenter;
26878
26879
  if (k)
26879
26880
  G = z;
26880
26881
  else if (n) {
@@ -26895,8 +26896,8 @@ const Na = (e, t, n) => typeof e == "number" && e > 0 ? e : (process.env.NODE_EN
26895
26896
  } else
26896
26897
  s.current[F.id].needsFirstMeasurement = !1;
26897
26898
  const j = {};
26898
- for (const de in H)
26899
- /^base[A-Z]/.test(de) && (j[de] = H[de]);
26899
+ for (const de in B)
26900
+ /^base[A-Z]/.test(de) && (j[de] = B[de]);
26900
26901
  if (j.baseCenter = G, r) {
26901
26902
  var U, Q;
26902
26903
  const de = e.current.getRowIndexRelativeToVisibleRows(F.id), ne = r(f({}, F, {
@@ -26910,13 +26911,13 @@ const Na = (e, t, n) => typeof e == "number" && e > 0 ? e : (process.env.NODE_EN
26910
26911
  return s.current[F.id].sizes = se, se;
26911
26912
  }, P = [], R = m.rows.reduce((F, k) => {
26912
26913
  P.push(F);
26913
- let D = 0, H = 0;
26914
+ let D = 0, B = 0;
26914
26915
  const G = x(k);
26915
26916
  for (const z in G) {
26916
26917
  const j = G[z];
26917
- /^base[A-Z]/.test(z) ? D = j > D ? j : D : H += j;
26918
+ /^base[A-Z]/.test(z) ? D = j > D ? j : D : B += j;
26918
26919
  }
26919
- return F + D + H;
26920
+ return F + D + B;
26920
26921
  }, 0);
26921
26922
  b == null || (_ = b.top) == null || _.forEach((F) => {
26922
26923
  x(F);
@@ -27933,45 +27934,44 @@ Fd.propTypes = {
27933
27934
  csvExport: o.bool
27934
27935
  }), o.bool])
27935
27936
  };
27936
- const R0 = ({
27937
+ const k0 = ({
27937
27938
  rows: e,
27938
27939
  isFetching: t,
27939
- columnsDefinitions: n,
27940
- gridClasses: r
27940
+ columnsDefinitions: n
27941
27941
  }) => /* @__PURE__ */ M(
27942
27942
  x0,
27943
27943
  {
27944
27944
  loading: (!e || !e.length) && t,
27945
- rows: e.map((l, s) => (l.id = s, l)),
27945
+ rows: e.map((r, l) => (r.id = l, r)),
27946
27946
  columns: n,
27947
- getRowClassName: (l) => l.id === e.length - 1 ? "last-row" : "",
27947
+ getRowClassName: (r) => r.id === e.length - 1 ? "last-row" : "",
27948
27948
  sx: {
27949
27949
  "& .last-row": {
27950
27950
  "& .MuiDataGrid-cellContent": {
27951
27951
  fontWeight: "600"
27952
27952
  }
27953
27953
  },
27954
- [`& .${r.main}`]: {
27954
+ [`& .${H.main}`]: {
27955
27955
  backgroundColor: "#F0F0F0",
27956
27956
  borderRadius: "0px 0px 8px 8px"
27957
27957
  },
27958
- [`& .${r.row}`]: {
27958
+ [`& .${H.row}`]: {
27959
27959
  maxHeight: "36px",
27960
27960
  minHeight: "36px",
27961
27961
  "&.Mui-selected": {
27962
27962
  backgroundColor: "#05A9521A !important"
27963
27963
  }
27964
27964
  },
27965
- [`& .${r.cell}`]: {
27965
+ [`& .${H.cell}`]: {
27966
27966
  border: "none !important"
27967
27967
  },
27968
- [`& .${r.cell}:focus, & .${r.cell}:focus-within`]: {
27968
+ [`& .${H.cell}:focus, & .${H.cell}:focus-within`]: {
27969
27969
  outline: "none"
27970
27970
  },
27971
- [`& .${r.columnHeader}:focus, & .${r.columnHeader}:focus-within`]: {
27971
+ [`& .${H.columnHeader}:focus, & .${H.columnHeader}:focus-within`]: {
27972
27972
  outline: "none"
27973
27973
  },
27974
- [`& .${r.columnHeaders}`]: {
27974
+ [`& .${H.columnHeaders}`]: {
27975
27975
  backgroundColor: "#FAFAFA",
27976
27976
  textTransform: "uppercase",
27977
27977
  userSelect: "none",
@@ -27980,42 +27980,42 @@ const R0 = ({
27980
27980
  minHeight: "0px !important",
27981
27981
  lineHeight: "0px !important"
27982
27982
  },
27983
- [`& .${r.columnHeadersInner}`]: {
27983
+ [`& .${H.columnHeadersInner}`]: {
27984
27984
  minHeight: "0px !important",
27985
27985
  lineHeight: "0px !important"
27986
27986
  },
27987
- [`& .${r.columnHeader}`]: {
27987
+ [`& .${H.columnHeader}`]: {
27988
27988
  height: "0px !important"
27989
27989
  },
27990
- [`& .${r.columnHeaderTitle}`]: {
27990
+ [`& .${H.columnHeaderTitle}`]: {
27991
27991
  whiteSpace: "normal",
27992
27992
  lineHeight: "normal",
27993
27993
  color: "#626367",
27994
27994
  fontWeight: "500",
27995
27995
  fontSize: "13px"
27996
27996
  },
27997
- [`& .${r.columnHeaderTitleContainer}`]: {
27997
+ [`& .${H.columnHeaderTitleContainer}`]: {
27998
27998
  alignItems: "center"
27999
27999
  },
28000
- [`& .${r.footerContainer}`]: {
28000
+ [`& .${H.footerContainer}`]: {
28001
28001
  border: "0",
28002
28002
  backgroundColor: "#F0F0F0",
28003
28003
  borderRadius: "8px",
28004
28004
  marginTop: "10px",
28005
28005
  display: "none"
28006
28006
  },
28007
- [`& .${r.overlay}`]: {
28007
+ [`& .${H.overlay}`]: {
28008
28008
  backgroundColor: "#F0F0F0"
28009
28009
  },
28010
- [`& .${r.toolbarContainer}`]: {
28010
+ [`& .${H.toolbarContainer}`]: {
28011
28011
  backgroundColor: "#F0F0F0",
28012
28012
  borderRadius: "8px 8px 0 0",
28013
28013
  padding: "10px"
28014
28014
  },
28015
- [`& .${r.columnSeparator}`]: {
28015
+ [`& .${H.columnSeparator}`]: {
28016
28016
  display: "none"
28017
28017
  },
28018
- [`& .${r.root}`]: {
28018
+ [`& .${H.root}`]: {
28019
28019
  border: "0",
28020
28020
  ".MuiDataGrid-cell:focus-within": {
28021
28021
  outline: "none !important"
@@ -28055,5 +28055,5 @@ const R0 = ({
28055
28055
  }
28056
28056
  );
28057
28057
  export {
28058
- R0 as TotalDataGrid
28058
+ k0 as TotalDataGrid
28059
28059
  };