@ahrowe/ui 0.2.4 → 0.2.6

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.
package/dist/index.mjs CHANGED
@@ -6,7 +6,7 @@ import { Fragment as U, jsx as W, jsxs as G } from "react/jsx-runtime";
6
6
  import { createPortal as re } from "react-dom";
7
7
  import ie from "downshift";
8
8
  import ae from "@mona-health/react-input-mask";
9
- import { DndContext as K, DragOverlay as oe, PointerSensor as se, closestCorners as q, useDroppable as ce, useSensor as le, useSensors as ue } from "@dnd-kit/core";
9
+ import { DndContext as oe, DragOverlay as se, PointerSensor as K, closestCorners as ce, useDroppable as le, useSensor as q, useSensors as ue } from "@dnd-kit/core";
10
10
  import { SortableContext as de, arrayMove as fe, useSortable as pe, verticalListSortingStrategy as me } from "@dnd-kit/sortable";
11
11
  import { CSS as he } from "@dnd-kit/utilities";
12
12
  import { NumericFormat as ge } from "react-number-format";
@@ -875,183 +875,183 @@ var Y = {
875
875
  }({});
876
876
  //#endregion
877
877
  //#region package/common/input/input.tsx
878
- function ut({ name: t = "", label: n = "", errorMessage: r = "", isValid: o = !0, className: s = "", style: c, value: l = "", icon: u = null, onChange: h = () => {}, onFocus: g = null, onBlur: _ = null, onMouseEnter: v = null, onMouseLeave: y = null, isUppercase: b = !1, isRequired: x = !1, tabIndex: S = 0, type: C = void 0, isRow: w = !1, onIconClick: T = null, parse: E = null, formValidator: D = null, autoFocus: j = !1, suffix: M = null, upperRightLabel: N = null, labelInBorder: P = !1, showCancel: F = !1, onClearClicked: R, min: B = null, max: V = null, placeholder: ee = "", useMatLabelStyle: te = !0, autoComplete: ne = null, onClick: U = () => null, readOnly: re = !1, customInput: ie, alwaysShowCancel: ae = !1, multiline: K = !1, rows: oe, autoResize: se = !1, classNames: q, styles: ce, disabled: le = !1, ...ue }) {
879
- let [de, fe] = f(!1), [pe, me] = f(!1), [he, ge] = f(!1), [, _e] = f(0), ve = d(null), ye = d(D), be = i(() => {
880
- let e = ve.current;
881
- !e || !se || (e.style.height = "auto", e.style.height = `${e.scrollHeight}px`);
882
- }, [se]);
878
+ function ut({ name: t = "", id: n, label: r = "", errorMessage: s = "", isValid: c = !0, className: l = "", style: u, value: h = "", icon: g = null, onChange: _ = () => {}, onFocus: v = null, onBlur: y = null, onMouseEnter: b = null, onMouseLeave: x = null, isUppercase: S = !1, isRequired: C = !1, tabIndex: w = 0, type: T = void 0, isRow: E = !1, onIconClick: D = null, parse: j = null, formValidator: M = null, autoFocus: N = !1, suffix: P = null, upperRightLabel: F = null, labelInBorder: R = !1, showCancel: B = !1, onClearClicked: V, min: ee = null, max: te = null, placeholder: ne = "", useMatLabelStyle: U = !0, autoComplete: re = null, onClick: ie = () => null, readOnly: ae = !1, customInput: oe, alwaysShowCancel: se = !1, multiline: K = !1, rows: ce, autoResize: le = !1, classNames: q, styles: ue, disabled: de = !1, ...fe }) {
879
+ let [pe, me] = f(!1), [he, ge] = f(!1), [_e, ve] = f(!1), [, ye] = f(0), be = d(null), xe = d(M), Se = o(), Ce = n || t || Se, J = i(() => {
880
+ let e = be.current;
881
+ !e || !le || (e.style.height = "auto", e.style.height = `${e.scrollHeight}px`);
882
+ }, [le]);
883
883
  a(() => {
884
884
  setTimeout(() => {
885
- fe(!1), me(!1);
886
- }, 1), be();
885
+ me(!1), ge(!1);
886
+ }, 1), J();
887
887
  }, []), a(() => {
888
- j && ve.current && setTimeout(() => {
889
- ve.current?.focus();
888
+ N && be.current && setTimeout(() => {
889
+ be.current?.focus();
890
890
  }, 1);
891
- }, [j]), a(() => {
892
- ye.current = D;
893
- let e = ye.current;
891
+ }, [N]), a(() => {
892
+ xe.current = M;
893
+ let e = xe.current;
894
894
  if (!e) return;
895
- e.label = n ?? "", e.validate();
896
- let t = () => _e((e) => e + 1);
895
+ e.label = r ?? "", e.validate();
896
+ let t = () => ye((e) => e + 1);
897
897
  return e.registerOnUpdateListener(t), () => {
898
898
  e.removeOnUpdateListener(t);
899
899
  };
900
- }, [D, n]);
901
- let xe = () => D ? D.touched && D.hasError() : !o || !!r, Se = () => !!(x || D && D.validators.find((e) => e.validatorId === "required")), Ce = (e) => {
900
+ }, [M, r]);
901
+ let we = () => M ? M.touched && M.hasError() : !c || !!s, Te = () => !!(C || M && M.validators.find((e) => e.validatorId === "required")), Ee = (e) => {
902
+ ge(!0), b && b(e);
903
+ }, De = (e) => {
904
+ ge(!1), x && x(e);
905
+ }, Oe = (e) => {
902
906
  me(!0), v && v(e);
903
- }, J = (e) => {
904
- me(!1), y && y(e);
905
- }, we = (e) => {
906
- fe(!0), g && g(e);
907
- }, Te = (e) => {
908
- ye.current && (ye.current.touched = !0), fe(!1), _ && _(e);
909
- }, Ee = (e) => {
907
+ }, ke = (e) => {
908
+ xe.current && (xe.current.touched = !0), me(!1), y && y(e);
909
+ }, Ae = (e) => {
910
910
  let t, n;
911
- typeof e == "string" ? n = e : (t = e, n = e.target.value), E && (n = E(n)), D && D.set(n), h && h(n, t), be();
912
- }, De = () => {
913
- if (C !== "email") return C === "password" && he ? "text" : C;
914
- }, Oe = C && C !== lt.Date && C !== lt.Iban && C !== lt.HasNoIcon, ke = Oe && !te && (C === lt.Email || C === lt.Phone || C === lt.Search), Ae = {
911
+ typeof e == "string" ? n = e : (t = e, n = e.target.value), j && (n = j(n)), M && M.set(n), _ && _(n, t), J();
912
+ }, je = () => {
913
+ if (T !== "email") return T === "password" && _e ? "text" : T;
914
+ }, Me = T && T !== lt.Date && T !== lt.Iban && T !== lt.HasNoIcon, Ne = Me && !U && (T === lt.Email || T === lt.Phone || T === lt.Search), Pe = {
915
915
  className: p(Y.inputFieldIcon, {
916
- [Y.inputFieldIconNotClickable]: !T,
917
- [Y.inputFieldIconLeft]: ke
916
+ [Y.inputFieldIconNotClickable]: !D,
917
+ [Y.inputFieldIconLeft]: Ne
918
918
  }),
919
- onClick: T ?? void 0
920
- }, je = u, Me = je ? e.cloneElement(je, {
921
- className: p(Y.inputFieldIcon, { [Y.inputFieldIconNotClickable]: !T && !je.props.onClick }, je.props.className),
922
- onClick: T ?? je.props.onClick
923
- }) : null, Ne = !!u, Pe = {
919
+ onClick: D ?? void 0
920
+ }, Fe = g, Ie = Fe ? e.cloneElement(Fe, {
921
+ className: p(Y.inputFieldIcon, { [Y.inputFieldIconNotClickable]: !D && !Fe.props.onClick }, Fe.props.className),
922
+ onClick: D ?? Fe.props.onClick
923
+ }) : null, Le = !!g, Re = {
924
924
  className: p(Y.inputFieldIcon, Y.inputFieldIconPassword),
925
- onClick: () => ge(!he)
926
- }, Fe = xe(), Ie = n;
927
- Ie && Se() && (Ie = `${Ie} *`);
928
- let Le = D ? D.value : l, Re = te && (de || Le || C === lt.Date);
925
+ onClick: () => ve(!_e)
926
+ }, ze = we(), Be = r;
927
+ Be && Te() && (Be = `${Be} *`);
928
+ let Ve = M ? M.value : h, He = U && (pe || Ve || T === lt.Date);
929
929
  return /* @__PURE__ */ G("div", {
930
- className: p(Y.input, s),
931
- style: c,
930
+ className: p(Y.input, l),
931
+ style: u,
932
932
  children: [
933
933
  /* @__PURE__ */ G("label", {
934
- htmlFor: t,
934
+ htmlFor: Ce,
935
935
  className: p(Y.inputLabel, q?.label, {
936
- [Y.inputLabelColumn]: !w,
937
- [Y.inputLabelInBorder]: P
936
+ [Y.inputLabelColumn]: !E,
937
+ [Y.inputLabelInBorder]: R
938
938
  }),
939
- style: ce?.label,
939
+ style: ue?.label,
940
940
  children: [
941
- Ie && !te ? /* @__PURE__ */ G("span", {
941
+ Be && !U ? /* @__PURE__ */ G("span", {
942
942
  className: Y.inputLabelText,
943
- children: [`${Ie} `, Se() ? /* @__PURE__ */ W("span", {
943
+ children: [`${Be} `, Te() ? /* @__PURE__ */ W("span", {
944
944
  className: p(Y.isRequired),
945
945
  children: "\xA0 *"
946
946
  }) : null]
947
947
  }) : null,
948
- N && /* @__PURE__ */ W("div", {
948
+ F && /* @__PURE__ */ W("div", {
949
949
  className: p(Y.inputUpperRightLabel, q?.upperRightLabel),
950
- style: ce?.upperRightLabel,
951
- children: N
950
+ style: ue?.upperRightLabel,
951
+ children: F
952
952
  }),
953
953
  /* @__PURE__ */ G("div", {
954
954
  className: p(Y.inputContainer, { [Y.inputContainerMultiline]: K }, q?.container),
955
- style: ce?.container,
956
- onMouseEnter: Ce,
957
- onMouseLeave: J,
955
+ style: ue?.container,
956
+ onMouseEnter: Ee,
957
+ onMouseLeave: De,
958
958
  children: [
959
- Me,
960
- e.cloneElement(ie || W(K ? "textarea" : "input", {}), {
961
- ...ue,
959
+ Ie,
960
+ e.cloneElement(oe || W(K ? "textarea" : "input", {}), {
961
+ ...fe,
962
962
  className: p(Y.inputField, {
963
- [Y.inputFieldUppercase]: b,
964
- [Y.inputFieldDate]: C === lt.Date,
965
- [Y.inputFieldDefault]: C !== lt.Date,
966
- [Y.inputFieldWithIcon]: Oe || Ne,
967
- [Y.inputFieldWithIconLeft]: ke,
963
+ [Y.inputFieldUppercase]: S,
964
+ [Y.inputFieldDate]: T === lt.Date,
965
+ [Y.inputFieldDefault]: T !== lt.Date,
966
+ [Y.inputFieldWithIcon]: Me || Le,
967
+ [Y.inputFieldWithIconLeft]: Ne,
968
968
  [Y.inputFieldMultiline]: K,
969
- [Y.inputFieldMultilineAutoResize]: K && se
969
+ [Y.inputFieldMultilineAutoResize]: K && le
970
970
  }, q?.input),
971
971
  name: t,
972
- id: t,
973
- value: D ? D.value : l,
974
- tabIndex: S,
975
- ref: ie ? void 0 : ve,
976
- onChange: Ee,
977
- onFocus: we,
978
- onBlur: Te,
979
- placeholder: te ? "" : ee,
980
- autoComplete: ne,
981
- onClick: U,
982
- readOnly: re,
983
- disabled: le,
972
+ id: Ce,
973
+ value: M ? M.value : h,
974
+ tabIndex: w,
975
+ ref: oe ? void 0 : be,
976
+ onChange: Ae,
977
+ onFocus: Oe,
978
+ onBlur: ke,
979
+ placeholder: U ? "" : ne,
980
+ autoComplete: re,
981
+ onClick: ie,
982
+ readOnly: ae,
983
+ disabled: de,
984
984
  ...!K && {
985
- type: De(),
986
- min: B,
987
- max: V
985
+ type: je(),
986
+ min: ee,
987
+ max: te
988
988
  },
989
- ...K && oe !== void 0 && { rows: oe }
989
+ ...K && ce !== void 0 && { rows: ce }
990
990
  }),
991
- M && /* @__PURE__ */ W("div", {
991
+ P && /* @__PURE__ */ W("div", {
992
992
  className: p(Y.inputFieldSuffix, q?.suffix),
993
- style: ce?.suffix,
994
- children: M
993
+ style: ue?.suffix,
994
+ children: P
995
995
  })
996
996
  ]
997
997
  }),
998
998
  /* @__PURE__ */ W("fieldset", {
999
999
  className: p(Y.inputFieldset, q?.fieldset, {
1000
- [Y.inputContainerBorderFocused]: de,
1001
- [Y.inputContainerBorderSearchFocused]: C === lt.Search && (de || l),
1002
- [Y.inputContainerBorderInvalid]: Fe,
1003
- [Y.inputContainerBorderError]: Fe
1000
+ [Y.inputContainerBorderFocused]: pe,
1001
+ [Y.inputContainerBorderSearchFocused]: T === lt.Search && (pe || h),
1002
+ [Y.inputContainerBorderInvalid]: ze,
1003
+ [Y.inputContainerBorderError]: ze
1004
1004
  }),
1005
- style: ce?.fieldset,
1005
+ style: ue?.fieldset,
1006
1006
  children: /* @__PURE__ */ W("legend", {
1007
- className: p(Y.inputFieldsetLegend, { [Y.inputFieldsetLegendActive]: Re }),
1008
- children: /* @__PURE__ */ W("span", { children: Ie })
1007
+ className: p(Y.inputFieldsetLegend, { [Y.inputFieldsetLegendActive]: He }),
1008
+ children: /* @__PURE__ */ W("span", { children: Be })
1009
1009
  })
1010
1010
  }),
1011
- te && n && /* @__PURE__ */ W("div", {
1011
+ U && r && /* @__PURE__ */ W("div", {
1012
1012
  className: p(Y.inputMatLabel, {
1013
- [Y.inputMatLabelFloating]: Re,
1014
- [Y.inputMatLabelMultiline]: K && !Re
1013
+ [Y.inputMatLabelFloating]: He,
1014
+ [Y.inputMatLabelMultiline]: K && !He
1015
1015
  }),
1016
- children: Ie
1016
+ children: Be
1017
1017
  }),
1018
- te && ee && /* @__PURE__ */ W("div", {
1019
- className: p(Y.inputPlaceholder, de && !Le && Y.inputPlaceholderShown, K && Y.inputPlaceholderMultiline),
1020
- children: ee
1018
+ U && ne && /* @__PURE__ */ W("div", {
1019
+ className: p(Y.inputPlaceholder, pe && !Ve && Y.inputPlaceholderShown, K && Y.inputPlaceholderMultiline),
1020
+ children: ne
1021
1021
  }),
1022
1022
  /* @__PURE__ */ W(ct, {
1023
1023
  variant: "error",
1024
- message: D ? D.getCurrentErrorMessage() : r || "",
1025
- isVisible: Fe && (de || pe)
1024
+ message: M ? M.getCurrentErrorMessage() : s || "",
1025
+ isVisible: ze && (pe || he)
1026
1026
  })
1027
1027
  ]
1028
1028
  }),
1029
- C === lt.Phone && /* @__PURE__ */ W(m, {
1029
+ T === lt.Phone && /* @__PURE__ */ W(m, {
1030
1030
  icon: L,
1031
- ...Ae
1031
+ ...Pe
1032
1032
  }),
1033
- C === lt.Email && /* @__PURE__ */ W(m, {
1033
+ T === lt.Email && /* @__PURE__ */ W(m, {
1034
1034
  icon: O,
1035
- ...Ae
1035
+ ...Pe
1036
1036
  }),
1037
- C === lt.Edit && /* @__PURE__ */ W(m, {
1037
+ T === lt.Edit && /* @__PURE__ */ W(m, {
1038
1038
  icon: I,
1039
- ...Ae
1039
+ ...Pe
1040
1040
  }),
1041
- C === lt.Search && /* @__PURE__ */ W(m, {
1041
+ T === lt.Search && /* @__PURE__ */ W(m, {
1042
1042
  icon: z,
1043
- ...Ae
1044
- }),
1045
- C === lt.Password && /* @__PURE__ */ W(m, {
1046
- icon: he ? A : k,
1047
1043
  ...Pe
1048
1044
  }),
1049
- (F && l && (de || pe) || ae) && /* @__PURE__ */ W(m, {
1045
+ T === lt.Password && /* @__PURE__ */ W(m, {
1046
+ icon: _e ? A : k,
1047
+ ...Re
1048
+ }),
1049
+ (B && h && (pe || he) || se) && /* @__PURE__ */ W(m, {
1050
1050
  icon: H,
1051
1051
  className: Y.inputFieldIcon,
1052
- onClick: R ?? void 0,
1053
- onMouseEnter: () => me(!0),
1054
- onMouseLeave: () => me(!1)
1052
+ onClick: V ?? void 0,
1053
+ onMouseEnter: () => ge(!0),
1054
+ onMouseLeave: () => ge(!1)
1055
1055
  })
1056
1056
  ]
1057
1057
  });
@@ -1693,13 +1693,13 @@ function Xt({ errorMessage: e = "", className: t = "", label: n = "", value: r =
1693
1693
  B(!0), b?.(e);
1694
1694
  }, ae = (e) => {
1695
1695
  H.current && (H.current.touched = !0), B(!1), x?.(e);
1696
- }, K = () => k ? k.touched && k.hasError() : !i || !!e, oe = () => !!(s || k?.validators.find((e) => e.validatorId === "required")), se = (e) => {
1696
+ }, oe = () => k ? k.touched && k.hasError() : !i || !!e, se = () => !!(s || k?.validators.find((e) => e.validatorId === "required")), K = (e) => {
1697
1697
  k ? (k.set(e), y?.(k.value, c)) : y?.(e, c);
1698
- }, q = w, ce = k ? k.value : r, le = K();
1698
+ }, ce = w, le = k ? k.value : r, q = oe();
1699
1699
  M.forEach((e) => {
1700
- e.key === ce && (q = e.label);
1700
+ e.key === le && (ce = e.label);
1701
1701
  });
1702
- let ue = q || ce, de = ue == null || typeof ue == "string" && ue.trim() === "";
1702
+ let ue = ce || le, de = ue == null || typeof ue == "string" && ue.trim() === "";
1703
1703
  return /* @__PURE__ */ G("div", {
1704
1704
  ...R,
1705
1705
  className: p(t, X.dropdownLabel, X.dropdown, { [X.dropdownLabelColumn]: !l }),
@@ -1707,9 +1707,9 @@ function Xt({ errorMessage: e = "", className: t = "", label: n = "", value: r =
1707
1707
  onMouseLeave: U,
1708
1708
  children: [
1709
1709
  /* @__PURE__ */ W(ie, {
1710
- onChange: (e) => se((e || { key: "" }).key),
1710
+ onChange: (e) => K((e || { key: "" }).key),
1711
1711
  itemToString: (e) => e ? String(e.key) : "",
1712
- selectedItem: M.find((e) => e.key === ce) ?? null,
1712
+ selectedItem: M.find((e) => e.key === le) ?? null,
1713
1713
  stateReducer: (e, t) => I && Object.prototype.hasOwnProperty.call(t, "isOpen") ? {
1714
1714
  ...t,
1715
1715
  highlightedIndex: t.isOpen ? M.indexOf(e.selectedItem) : null
@@ -1774,8 +1774,8 @@ function Xt({ errorMessage: e = "", className: t = "", label: n = "", value: r =
1774
1774
  className: p(X.dropdownFieldset, {
1775
1775
  [X.dropdownBorderPlain]: F,
1776
1776
  [X.dropdownBorderFocused]: z,
1777
- [X.dropdownBorderInvalid]: le,
1778
- [X.dropdownBorderError]: le
1777
+ [X.dropdownBorderInvalid]: q,
1778
+ [X.dropdownBorderError]: q
1779
1779
  }),
1780
1780
  children: /* @__PURE__ */ W("legend", {
1781
1781
  className: p(X.dropdownFieldsetLegend, { [X.dropdownFieldsetLegendActive]: N && (z || !de) }),
@@ -1787,7 +1787,7 @@ function Xt({ errorMessage: e = "", className: t = "", label: n = "", value: r =
1787
1787
  children: n
1788
1788
  }),
1789
1789
  N && P && /* @__PURE__ */ W("div", {
1790
- className: p(X.dropdownPlaceholder, z && !q && X.dropdownPlaceholderShown),
1790
+ className: p(X.dropdownPlaceholder, z && !ce && X.dropdownPlaceholderShown),
1791
1791
  children: P
1792
1792
  })
1793
1793
  ]
@@ -1795,7 +1795,7 @@ function Xt({ errorMessage: e = "", className: t = "", label: n = "", value: r =
1795
1795
  }),
1796
1796
  n && !N && /* @__PURE__ */ G("div", {
1797
1797
  className: p(X.dropdownLabelText, A),
1798
- children: [n, oe() ? /* @__PURE__ */ W("div", {
1798
+ children: [n, se() ? /* @__PURE__ */ W("div", {
1799
1799
  className: X.requiredMark,
1800
1800
  children: "*"
1801
1801
  }) : null]
@@ -1803,7 +1803,7 @@ function Xt({ errorMessage: e = "", className: t = "", label: n = "", value: r =
1803
1803
  /* @__PURE__ */ W(ct, {
1804
1804
  variant: "error",
1805
1805
  message: k ? k.getCurrentErrorMessage() : e || "",
1806
- isVisible: le && (z || V)
1806
+ isVisible: q && (z || V)
1807
1807
  })
1808
1808
  ]
1809
1809
  });
@@ -1849,23 +1849,23 @@ function Qt({ className: e = "", selected: t, onSelect: n = () => null, formVali
1849
1849
  let n = t + e;
1850
1850
  return n < 1 ? (n = 12, A((e) => e - 1)) : n > 12 && (n = 1, A((e) => e + 1)), n;
1851
1851
  });
1852
- }, K = (e) => {
1852
+ }, oe = (e) => {
1853
1853
  if (e.match(/\d{2}\.\d{2}\.\d{4}/gi)) {
1854
1854
  let [t, n, r] = e.split("."), i = Pt(Number(t), Number(n), Number(r));
1855
1855
  if (i && i.toString() !== "Invalid Date" && (!m || i <= m) && (!u || i >= u)) return i;
1856
1856
  }
1857
1857
  return null;
1858
- }, oe = ({ previousState: e, nextState: t }) => {
1858
+ }, se = ({ previousState: e, nextState: t }) => {
1859
1859
  if (!e || t.value === e.value) return t;
1860
- let n = Vt(t.value, e.value, t.selection ?? null), r = K(n.value);
1860
+ let n = Vt(t.value, e.value, t.selection ?? null), r = oe(n.value);
1861
1861
  return r && ne(r), n;
1862
- }, se = () => {
1862
+ }, K = () => {
1863
1863
  let e = 400, t = (/* @__PURE__ */ new Date()).getFullYear() - 200;
1864
1864
  return u && (t = u.getFullYear()), m && (e = m.getFullYear() - t + 1), Array.from(Array(e).keys()).map((e) => ({
1865
1865
  key: e + t,
1866
1866
  label: e + t
1867
1867
  }));
1868
- }, q = T(), ce = te(), le = /* @__PURE__ */ G(U, { children: [
1868
+ }, ce = T(), le = te(), q = /* @__PURE__ */ G(U, { children: [
1869
1869
  o ? null : /* @__PURE__ */ G("div", {
1870
1870
  className: Zt.datePickerHeader,
1871
1871
  children: [
@@ -1894,7 +1894,7 @@ function Qt({ className: e = "", selected: t, onSelect: n = () => null, formVali
1894
1894
  className: Zt.datePickerHeaderYear,
1895
1895
  onChange: (e) => A(e),
1896
1896
  value: k,
1897
- items: se()
1897
+ items: K()
1898
1898
  })]
1899
1899
  })
1900
1900
  }),
@@ -1909,8 +1909,8 @@ function Qt({ className: e = "", selected: t, onSelect: n = () => null, formVali
1909
1909
  month: D,
1910
1910
  year: k,
1911
1911
  onSelect: re,
1912
- selectionStart: C ?? q,
1913
- selectionEnd: w ?? q,
1912
+ selectionStart: C ?? ce,
1913
+ selectionEnd: w ?? ce,
1914
1914
  minDate: u,
1915
1915
  maxDate: m
1916
1916
  }),
@@ -1928,24 +1928,24 @@ function Qt({ className: e = "", selected: t, onSelect: n = () => null, formVali
1928
1928
  customInput: /* @__PURE__ */ W(ae, {
1929
1929
  mask: "99.99.9999",
1930
1930
  maskPlaceholder: "_",
1931
- beforeMaskedStateChange: oe
1931
+ beforeMaskedStateChange: se
1932
1932
  }),
1933
1933
  onBlur: () => {
1934
- ee.current && (ee.current.touched = !0), I(!1), ne(K(N));
1934
+ ee.current && (ee.current.touched = !0), I(!1), ne(oe(N));
1935
1935
  },
1936
1936
  onFocus: () => I(!0),
1937
1937
  onMouseEnter: () => R(!0),
1938
1938
  onMouseLeave: () => R(!1),
1939
- isValid: !ce
1940
- }), de = c ? le : s ? /* @__PURE__ */ W(Ct, {
1939
+ isValid: !le
1940
+ }), de = c ? q : s ? /* @__PURE__ */ W(Ct, {
1941
1941
  hideHeader: !0,
1942
1942
  isOpen: j,
1943
1943
  onClose: () => M(!1),
1944
- children: le
1944
+ children: q
1945
1945
  }) : /* @__PURE__ */ W(ot, {
1946
1946
  isOpen: j,
1947
1947
  onOpenChange: (e) => M(e),
1948
- content: le,
1948
+ content: q,
1949
1949
  align: it.Left,
1950
1950
  dontCloseOnChildClick: !0,
1951
1951
  children: ue
@@ -1958,7 +1958,7 @@ function Qt({ className: e = "", selected: t, onSelect: n = () => null, formVali
1958
1958
  /* @__PURE__ */ W(ct, {
1959
1959
  variant: "error",
1960
1960
  message: r ? r.getCurrentErrorMessage() : x || "",
1961
- isVisible: ce && (F || L)
1961
+ isVisible: le && (F || L)
1962
1962
  })
1963
1963
  ]
1964
1964
  });
@@ -2580,7 +2580,7 @@ function Dn({ id: e, children: t }) {
2580
2580
  //#endregion
2581
2581
  //#region package/common/kanbanBoard/KanbanColumn.tsx
2582
2582
  function On({ id: e, title: t, itemIds: n, items: r, renderItem: i, className: a, classNames: o, styles: s }) {
2583
- let { setNodeRef: c, isOver: l } = ce({ id: `column-${e}` });
2583
+ let { setNodeRef: c, isOver: l } = le({ id: `column-${e}` });
2584
2584
  return /* @__PURE__ */ G("div", {
2585
2585
  className: p(En.column, l && En.columnOver, n.length === 0 && En.columnEmpty, a),
2586
2586
  children: [/* @__PURE__ */ W("div", {
@@ -2605,7 +2605,7 @@ function On({ id: e, title: t, itemIds: n, items: r, renderItem: i, className: a
2605
2605
  //#endregion
2606
2606
  //#region package/common/kanbanBoard/KanbanBoard.tsx
2607
2607
  function kn({ columns: e, items: t, renderItem: n, onChange: r, className: i, style: a, classNames: o, styles: s }) {
2608
- let [c, l] = f(null), [u, d] = f(null), m = ue(le(se, { activationConstraint: { distance: 8 } })), h = u ?? e;
2608
+ let [c, l] = f(null), [u, d] = f(null), m = ue(q(K, { activationConstraint: { distance: 8 } })), h = u ?? e;
2609
2609
  function g(e, t) {
2610
2610
  return e.findIndex((e) => e.itemIds.includes(t));
2611
2611
  }
@@ -2654,9 +2654,9 @@ function kn({ columns: e, items: t, renderItem: n, onChange: r, className: i, st
2654
2654
  }
2655
2655
  r(u), d(null);
2656
2656
  }
2657
- return /* @__PURE__ */ G(K, {
2657
+ return /* @__PURE__ */ G(oe, {
2658
2658
  sensors: m,
2659
- collisionDetection: q,
2659
+ collisionDetection: ce,
2660
2660
  onDragStart: _,
2661
2661
  onDragOver: v,
2662
2662
  onDragEnd: y,
@@ -2670,7 +2670,7 @@ function kn({ columns: e, items: t, renderItem: n, onChange: r, className: i, st
2670
2670
  items: t,
2671
2671
  renderItem: n
2672
2672
  }, e.id))
2673
- }), /* @__PURE__ */ W(oe, { children: c && t[c] !== void 0 ? /* @__PURE__ */ W("div", {
2673
+ }), /* @__PURE__ */ W(se, { children: c && t[c] !== void 0 ? /* @__PURE__ */ W("div", {
2674
2674
  className: p(En.dragOverlay, o?.dragOverlay),
2675
2675
  style: s?.dragOverlay,
2676
2676
  children: n(t[c], c)
@@ -3387,7 +3387,7 @@ function _r({ className: e }) {
3387
3387
  }
3388
3388
  return n;
3389
3389
  }
3390
- function K(e, t) {
3390
+ function oe(e, t) {
3391
3391
  let n = null;
3392
3392
  for (let r = 0; r < t.points.length; r++) {
3393
3393
  let i = t.points[r], a = t.points[(r + 1) % t.points.length], { dist: o, t: s } = Yn(e, i, a);
@@ -3399,7 +3399,7 @@ function _r({ className: e }) {
3399
3399
  }
3400
3400
  return n;
3401
3401
  }
3402
- function oe(e, t, r, a) {
3402
+ function se(e, t, r, a) {
3403
3403
  return n((n) => n.map((n) => {
3404
3404
  if (n.id !== e) return n;
3405
3405
  let r = [...n.points];
@@ -3419,7 +3419,7 @@ function _r({ className: e }) {
3419
3419
  wallIndex: n.wallIndex + 1
3420
3420
  } : n : n)), t + 1;
3421
3421
  }
3422
- function se(e, r) {
3422
+ function K(e, r) {
3423
3423
  let a = t.find((t) => t.id === e);
3424
3424
  if (!a || a.points.length <= 3) return;
3425
3425
  let o = a.points.length;
@@ -3438,7 +3438,7 @@ function _r({ className: e }) {
3438
3438
  } : t;
3439
3439
  }).filter((e) => e.wallIndex !== -1));
3440
3440
  }
3441
- function q(e) {
3441
+ function ce(e) {
3442
3442
  if (e.button === 1) {
3443
3443
  e.preventDefault();
3444
3444
  let t = z.current;
@@ -3498,12 +3498,12 @@ function _r({ className: e }) {
3498
3498
  }
3499
3499
  }
3500
3500
  if (e) {
3501
- let t = K(n, e);
3501
+ let t = oe(n, e);
3502
3502
  if (t) {
3503
3503
  let r = e.points[t.index], i = e.points[(t.index + 1) % e.points.length], a = Kn({
3504
3504
  x: r.x + (i.x - r.x) * t.t,
3505
3505
  y: r.y + (i.y - r.y) * t.t
3506
- }), o = oe(e.id, t.index, t.t, a);
3506
+ }), o = se(e.id, t.index, t.t, a);
3507
3507
  I.current = {
3508
3508
  type: "vertex",
3509
3509
  roomId: e.id,
@@ -3528,16 +3528,16 @@ function _r({ className: e }) {
3528
3528
  }
3529
3529
  }
3530
3530
  }
3531
- function ce(e) {
3531
+ function le(e) {
3532
3532
  if (o !== "select" || h) return;
3533
3533
  let n = ie(e);
3534
3534
  if (!n) return;
3535
3535
  let r = t.find((e) => e.id === l);
3536
3536
  if (!r) return;
3537
3537
  let i = ae(n, r);
3538
- i && (e.preventDefault(), se(r.id, i.index));
3538
+ i && (e.preventDefault(), K(r.id, i.index));
3539
3539
  }
3540
- function le(e) {
3540
+ function q(e) {
3541
3541
  if (R.current) {
3542
3542
  let { startClient: t, origPan: n, scaleX: r, scaleY: i } = R.current;
3543
3543
  N({
@@ -3741,10 +3741,10 @@ function _r({ className: e }) {
3741
3741
  ref: z,
3742
3742
  className: p(Q.roomDrawerCanvas, J),
3743
3743
  viewBox: `${j.x} ${j.y} ${Se} ${Ce}`,
3744
- onMouseDown: q,
3745
- onMouseMove: le,
3744
+ onMouseDown: ce,
3745
+ onMouseMove: q,
3746
3746
  onMouseUp: ue,
3747
- onDoubleClick: ce,
3747
+ onDoubleClick: le,
3748
3748
  children: [
3749
3749
  /* @__PURE__ */ W("defs", { children: /* @__PURE__ */ W("pattern", {
3750
3750
  id: "rd-grid",
@@ -4841,25 +4841,25 @@ function fi({ value: e, selected: t, onChange: n = () => null, onSelect: r = ()
4841
4841
  };
4842
4842
  return i.registerOnUpdateListener(e), () => i.removeOnUpdateListener(e);
4843
4843
  }, [i]);
4844
- let re = () => i ? i.touched && i.hasError() : !x || !!S, ie = () => !!(C || i?.validators.find((e) => e.validatorId === "required")), K = (e) => {
4844
+ let re = () => i ? i.touched && i.hasError() : !x || !!S, ie = () => !!(C || i?.validators.find((e) => e.validatorId === "required")), oe = (e) => {
4845
4845
  let t = e ? Jr(e) : null;
4846
4846
  i && i.set(t), n?.(t);
4847
- }, oe = (e) => {
4848
- N(e ? Jr(e) : ""), K(e);
4849
- }, se = qr(M), q = se ?? {
4847
+ }, se = (e) => {
4848
+ N(e ? Jr(e) : ""), oe(e);
4849
+ }, K = qr(M), ce = K ?? {
4850
4850
  hours: 12,
4851
4851
  minutes: 0
4852
- }, ce = (e) => {
4853
- oe(Zr({
4852
+ }, le = (e) => {
4853
+ se(Zr({
4854
4854
  hours: e.hours,
4855
4855
  minutes: Yr(e.minutes, g)
4856
4856
  }, v, y));
4857
- }, le = (e) => {
4857
+ }, q = (e) => {
4858
4858
  let t = Zr({
4859
4859
  hours: e.hours,
4860
4860
  minutes: Yr(e.minutes, g)
4861
4861
  }, v, y);
4862
- if (oe(t), I === "hours") {
4862
+ if (se(t), I === "hours") {
4863
4863
  L("minutes");
4864
4864
  return;
4865
4865
  }
@@ -4878,15 +4878,15 @@ function fi({ value: e, selected: t, onChange: n = () => null, onSelect: r = ()
4878
4878
  }, fe = (e) => {
4879
4879
  N(e);
4880
4880
  let t = qr(e);
4881
- t && K(t);
4881
+ t && oe(t);
4882
4882
  }, pe = () => {
4883
- U.current && (U.current.touched = !0), z(!1), K(qr(M));
4883
+ U.current && (U.current.touched = !0), z(!1), oe(qr(M));
4884
4884
  }, me = (e) => {
4885
- e !== q.hours >= 12 && oe({
4886
- hours: Gr(q.hours + (e ? 12 : -12)),
4887
- minutes: q.minutes
4885
+ e !== ce.hours >= 12 && se({
4886
+ hours: Gr(ce.hours + (e ? 12 : -12)),
4887
+ minutes: ce.minutes
4888
4888
  });
4889
- }, he = re(), ge = se ? String(_ ? se.hours : (se.hours + 11) % 12 + 1).padStart(2, "0") : "--", _e = se ? String(se.minutes).padStart(2, "0") : "--", ve = l ? null : /* @__PURE__ */ G("div", {
4889
+ }, he = re(), ge = K ? String(_ ? K.hours : (K.hours + 11) % 12 + 1).padStart(2, "0") : "--", _e = K ? String(K.minutes).padStart(2, "0") : "--", ve = l ? null : /* @__PURE__ */ G("div", {
4890
4890
  className: p(di.timeInputClockHeader, O?.clockHeader),
4891
4891
  style: k?.clockHeader,
4892
4892
  children: [
@@ -4913,12 +4913,12 @@ function fi({ value: e, selected: t, onChange: n = () => null, onSelect: r = ()
4913
4913
  style: k?.meridiem,
4914
4914
  children: [/* @__PURE__ */ W("button", {
4915
4915
  type: "button",
4916
- className: p(q.hours < 12 && di.timeInputMeridiemActive),
4916
+ className: p(ce.hours < 12 && di.timeInputMeridiemActive),
4917
4917
  onClick: () => me(!1),
4918
4918
  children: "AM"
4919
4919
  }), /* @__PURE__ */ W("button", {
4920
4920
  type: "button",
4921
- className: p(q.hours >= 12 && di.timeInputMeridiemActive),
4921
+ className: p(ce.hours >= 12 && di.timeInputMeridiemActive),
4922
4922
  onClick: () => me(!0),
4923
4923
  children: "PM"
4924
4924
  })]
@@ -4931,7 +4931,7 @@ function fi({ value: e, selected: t, onChange: n = () => null, onSelect: r = ()
4931
4931
  styleType: De.Default,
4932
4932
  onClick: () => {
4933
4933
  let e = /* @__PURE__ */ new Date();
4934
- ce({
4934
+ le({
4935
4935
  hours: e.getHours(),
4936
4936
  minutes: e.getMinutes()
4937
4937
  });
@@ -4940,7 +4940,7 @@ function fi({ value: e, selected: t, onChange: n = () => null, onSelect: r = ()
4940
4940
  }), u && /* @__PURE__ */ W(Pe, {
4941
4941
  styleType: De.Default,
4942
4942
  onClick: () => {
4943
- oe(null), r?.(null);
4943
+ se(null), r?.(null);
4944
4944
  },
4945
4945
  children: "Clear"
4946
4946
  })]
@@ -4950,12 +4950,12 @@ function fi({ value: e, selected: t, onChange: n = () => null, onSelect: r = ()
4950
4950
  children: [
4951
4951
  ve,
4952
4952
  /* @__PURE__ */ W(ui, {
4953
- time: q,
4953
+ time: ce,
4954
4954
  mode: I,
4955
4955
  use24Hour: _,
4956
4956
  minuteStep: g,
4957
- onChange: ce,
4958
- onCommit: le,
4957
+ onChange: le,
4958
+ onCommit: q,
4959
4959
  classNames: O,
4960
4960
  styles: k
4961
4961
  }),
@@ -5767,23 +5767,23 @@ function zi({ reorderable: e, treeReorder: t, onReorder: n, onTreeDrop: r, longP
5767
5767
  }, [h, g]), ae = i(() => {
5768
5768
  let e = I.current;
5769
5769
  e && (e.style.transform = `translate(${R.current}px, ${N.current - L.current}px)`);
5770
- }, []), K = i(() => {
5770
+ }, []), oe = i(() => {
5771
5771
  let e = h.current;
5772
5772
  if (!e || !A.current) {
5773
5773
  P.current = null;
5774
5774
  return;
5775
5775
  }
5776
5776
  let t = e.getBoundingClientRect(), n = M.current, r = N.current, i = 0;
5777
- n >= t.left && n <= t.right && r >= t.top && r <= t.bottom && (r < t.top + 48 ? i = -Math.min(18, Math.ceil((t.top + 48 - r) / 3)) : r > t.bottom - 48 && (i = Math.min(18, Math.ceil((r - (t.bottom - 48)) / 3)))), i !== 0 && (e.scrollTop += i, ie(n)), P.current = requestAnimationFrame(K);
5778
- }, [ie, h]), oe = i(() => {
5779
- if (k.current != null && (clearTimeout(k.current), k.current = null), window.removeEventListener("touchmove", se), window.removeEventListener("touchend", oe), window.removeEventListener("touchcancel", oe), P.current != null && (cancelAnimationFrame(P.current), P.current = null), I.current &&= (I.current.remove(), null), document.body.style.touchAction = "", document.body.style.overscrollBehavior = "", A.current && (F.current = !0, setTimeout(() => {
5777
+ n >= t.left && n <= t.right && r >= t.top && r <= t.bottom && (r < t.top + 48 ? i = -Math.min(18, Math.ceil((t.top + 48 - r) / 3)) : r > t.bottom - 48 && (i = Math.min(18, Math.ceil((r - (t.bottom - 48)) / 3)))), i !== 0 && (e.scrollTop += i, ie(n)), P.current = requestAnimationFrame(oe);
5778
+ }, [ie, h]), se = i(() => {
5779
+ if (k.current != null && (clearTimeout(k.current), k.current = null), window.removeEventListener("touchmove", K), window.removeEventListener("touchend", se), window.removeEventListener("touchcancel", se), P.current != null && (cancelAnimationFrame(P.current), P.current = null), I.current &&= (I.current.remove(), null), document.body.style.touchAction = "", document.body.style.overscrollBehavior = "", A.current && (F.current = !0, setTimeout(() => {
5780
5780
  F.current = !1;
5781
5781
  }, 350), T.current)) {
5782
5782
  let e = _.current, t = S.current;
5783
5783
  e != null && t && t.key !== e && w.current?.(e, t);
5784
5784
  }
5785
5785
  x(null), A.current = !1, j.current = null, _.current = null, y(null);
5786
- }, []), se = i((e) => {
5786
+ }, []), K = i((e) => {
5787
5787
  let t = e.touches[0];
5788
5788
  if (t) {
5789
5789
  if (M.current = t.clientX, N.current = t.clientY, !A.current) {
@@ -5794,14 +5794,14 @@ function zi({ reorderable: e, treeReorder: t, onReorder: n, onTreeDrop: r, longP
5794
5794
  e.cancelable && e.preventDefault(), ae(), ie(t.clientX);
5795
5795
  }
5796
5796
  }, [ie, ae]);
5797
- function q(n, r) {
5797
+ function ce(n, r) {
5798
5798
  if (!e && !t || s && !r.target.closest("[data-drag-handle]") || k.current != null || A.current) return;
5799
5799
  let i = r.touches[0];
5800
- i && (j.current = i.clientY, M.current = i.clientX, N.current = i.clientY, window.addEventListener("touchmove", se, { passive: !1 }), window.addEventListener("touchend", oe), window.addEventListener("touchcancel", oe), k.current = window.setTimeout(() => {
5801
- k.current = null, A.current = !0, _.current = n, y(n), navigator.vibrate?.(10), document.body.style.touchAction = "none", document.body.style.overscrollBehavior = "none", ce(n), P.current ??= requestAnimationFrame(K);
5800
+ i && (j.current = i.clientY, M.current = i.clientX, N.current = i.clientY, window.addEventListener("touchmove", K, { passive: !1 }), window.addEventListener("touchend", se), window.addEventListener("touchcancel", se), k.current = window.setTimeout(() => {
5801
+ k.current = null, A.current = !0, _.current = n, y(n), navigator.vibrate?.(10), document.body.style.touchAction = "none", document.body.style.overscrollBehavior = "none", le(n), P.current ??= requestAnimationFrame(oe);
5802
5802
  }, o));
5803
5803
  }
5804
- function ce(e) {
5804
+ function le(e) {
5805
5805
  let t = h.current;
5806
5806
  if (!t) return;
5807
5807
  let n = g.current.indexOf(e), r = t.querySelector(`[data-index="${n}"]`);
@@ -5824,20 +5824,20 @@ function zi({ reorderable: e, treeReorder: t, onReorder: n, onTreeDrop: r, longP
5824
5824
  borderRadius: "var(--default-border-radius)"
5825
5825
  }), t.appendChild(a), I.current = a, ae();
5826
5826
  }
5827
- a(() => oe, [oe]);
5828
- let le = e || t;
5827
+ a(() => se, [se]);
5828
+ let q = e || t;
5829
5829
  function ue(n, r) {
5830
5830
  let i = t && b?.key === r ? b.position : void 0;
5831
5831
  return {
5832
- reorderable: le,
5833
- draggable: le && !B || void 0,
5834
- isDragging: le && r === v,
5835
- onMouseDown: le && s ? V : void 0,
5836
- onDragStart: le ? (e) => ee(r, e) : void 0,
5832
+ reorderable: q && !s,
5833
+ draggable: q && !B || void 0,
5834
+ isDragging: q && r === v,
5835
+ onMouseDown: q && s ? V : void 0,
5836
+ onDragStart: q ? (e) => ee(r, e) : void 0,
5837
5837
  onDragOver: t ? (e) => H(n, e) : e ? (e) => G(n, e) : void 0,
5838
5838
  onDragEnd: t ? W : e ? re : void 0,
5839
5839
  onDrop: t ? U : void 0,
5840
- onTouchStart: le ? (e) => q(r, e) : void 0,
5840
+ onTouchStart: q ? (e) => ce(r, e) : void 0,
5841
5841
  dropPosition: i,
5842
5842
  dropIndentPx: i ? (p[n] ?? 0) * l : void 0
5843
5843
  };
@@ -5847,7 +5847,7 @@ function zi({ reorderable: e, treeReorder: t, onReorder: n, onTreeDrop: r, longP
5847
5847
  }
5848
5848
  return {
5849
5849
  draggingKey: v,
5850
- dragEnabled: le,
5850
+ dragEnabled: q,
5851
5851
  getRowDragProps: ue,
5852
5852
  consumeSuppressedClick: de
5853
5853
  };
@@ -5864,7 +5864,7 @@ function Bi({ items: e, renderRow: t, columns: n, height: r = "100%", estimatedR
5864
5864
  overscan: o,
5865
5865
  onLoadMore: b,
5866
5866
  loadMoreThreshold: x
5867
- }), { rootRef: K, headerRef: oe, rowObserver: se, keysRef: q, offsets: ce, totalHeight: le, startIndex: ue, endIndex: de } = ae, fe = Li({
5867
+ }), { rootRef: oe, headerRef: se, rowObserver: K, keysRef: ce, offsets: le, totalHeight: q, startIndex: ue, endIndex: de } = ae, fe = Li({
5868
5868
  items: e,
5869
5869
  getKey: H,
5870
5870
  multiSelect: C,
@@ -5878,7 +5878,7 @@ function Bi({ items: e, renderRow: t, columns: n, height: r = "100%", estimatedR
5878
5878
  onVisibleColumnsChange: _,
5879
5879
  persistColumnsKey: v,
5880
5880
  showColumnToggle: y,
5881
- rootRef: K,
5881
+ rootRef: oe,
5882
5882
  startIndex: ue,
5883
5883
  endIndex: de,
5884
5884
  containerHeight: ae.containerHeight,
@@ -5899,13 +5899,13 @@ function Bi({ items: e, renderRow: t, columns: n, height: r = "100%", estimatedR
5899
5899
  keys: ne,
5900
5900
  depths: re,
5901
5901
  isGroupAt: ie,
5902
- rootRef: K,
5903
- keysRef: q
5902
+ rootRef: oe,
5903
+ keysRef: ce
5904
5904
  }), Te = typeof u == "number" ? `${u}px` : u, De = (n) => {
5905
5905
  let r = e[n], i = H(r, n), a = d != null && i === d || pe.has(i), o = we.getRowDragProps(n, i);
5906
5906
  return /* @__PURE__ */ W(wi, {
5907
5907
  index: n,
5908
- top: ce[n],
5908
+ top: le[n],
5909
5909
  padding: Te,
5910
5910
  columnTemplate: ge,
5911
5911
  isSelected: a,
@@ -5914,7 +5914,7 @@ function Bi({ items: e, renderRow: t, columns: n, height: r = "100%", estimatedR
5914
5914
  onClick: () => {
5915
5915
  we.consumeSuppressedClick() || h?.(r, n);
5916
5916
  },
5917
- observer: se,
5917
+ observer: K,
5918
5918
  ariaRowIndex: me ? n + 2 : void 0,
5919
5919
  ariaPosInSet: me ? void 0 : n + 1,
5920
5920
  ariaSetSize: me ? void 0 : e.length,
@@ -5948,7 +5948,7 @@ function Bi({ items: e, renderRow: t, columns: n, height: r = "100%", estimatedR
5948
5948
  let ke = we.draggingKey == null ? -1 : ne.indexOf(we.draggingKey);
5949
5949
  return ke >= 0 && (ke < ue || ke > de) && Oe.push(De(ke)), /* @__PURE__ */ G("div", {
5950
5950
  ...ee,
5951
- ref: K,
5951
+ ref: oe,
5952
5952
  className: p($.virtualList, we.draggingKey != null && $.virtualListReordering, R, B?.root),
5953
5953
  style: {
5954
5954
  height: r,
@@ -5960,7 +5960,7 @@ function Bi({ items: e, renderRow: t, columns: n, height: r = "100%", estimatedR
5960
5960
  "aria-rowcount": me ? e.length + 1 : void 0,
5961
5961
  children: [
5962
5962
  me && /* @__PURE__ */ G("div", {
5963
- ref: oe,
5963
+ ref: se,
5964
5964
  className: p($.virtualListHeader, B?.header),
5965
5965
  style: {
5966
5966
  gridTemplateColumns: ge,
@@ -6031,7 +6031,7 @@ function Bi({ items: e, renderRow: t, columns: n, height: r = "100%", estimatedR
6031
6031
  }) : /* @__PURE__ */ W("div", {
6032
6032
  className: p($.virtualListBody, B?.body),
6033
6033
  style: {
6034
- height: le,
6034
+ height: q,
6035
6035
  ...V?.body
6036
6036
  },
6037
6037
  children: Oe