@hortiview/shared-components 0.0.11528 → 0.0.11589

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/README.md +21 -4
  2. package/dist/{BigLoadingSpinner-D7H28pr5.js → BigLoadingSpinner-iegTbDcD.js} +6 -6
  3. package/dist/GenericCard-6J558OgP.js +350 -0
  4. package/dist/{ListAreaService-YS_UUPh5.js → ListAreaService-DOwtdRa4.js} +18 -16
  5. package/dist/_MapCache-B75yWNNd.js +376 -0
  6. package/dist/_baseIsEqual-D0Dsajdb.js +317 -0
  7. package/dist/_getTag-BCf9b56Z.js +81 -0
  8. package/dist/animationframe-EMBh6XeO.js +54 -0
  9. package/dist/component-DsB0poTj.js +571 -0
  10. package/dist/component-neHBNHRu.js +114 -0
  11. package/dist/components/AlertBanner/AlertBanner.js +16 -15
  12. package/dist/components/BaseView/BaseView.js +5 -5
  13. package/dist/components/BasicHeading/BasicHeading.js +25 -24
  14. package/dist/components/BasicHeading/BasicHeading.test.js +9 -9
  15. package/dist/components/BlockView/BlockView.js +5 -5
  16. package/dist/components/ChipCard/ChipCard.js +1765 -14
  17. package/dist/components/ContextMenu/ContextMenu.d.ts +1 -1
  18. package/dist/components/ContextMenu/ContextMenu.js +28 -27
  19. package/dist/components/DeleteModal/DeleteModal.js +37 -34
  20. package/dist/components/Disclaimer/Disclaimer.js +11 -9
  21. package/dist/components/EmptyView/EmptyView.js +258 -19
  22. package/dist/components/Filter/Filter.js +58 -54
  23. package/dist/components/FormComponents/FormCheckBox/FormCheckBox.js +13 -11
  24. package/dist/components/FormComponents/FormDatePicker/FormDatePicker.d.ts +1 -1
  25. package/dist/components/FormComponents/FormDatePicker/FormDatePicker.js +5974 -6387
  26. package/dist/components/FormComponents/FormNumber/CustomTextField.d.ts +1 -1
  27. package/dist/components/FormComponents/FormNumber/CustomTextField.js +5 -5
  28. package/dist/components/FormComponents/FormNumber/FormNumber.d.ts +1 -1
  29. package/dist/components/FormComponents/FormNumber/FormNumber.js +1 -1
  30. package/dist/components/FormComponents/FormRadio/FormRadio.js +4 -4
  31. package/dist/components/FormComponents/FormSelect/FormSelect.d.ts +1 -1
  32. package/dist/components/FormComponents/FormSelect/FormSelect.js +3 -3
  33. package/dist/components/FormComponents/FormSelect/SelectTooltipText.js +6 -5
  34. package/dist/components/FormComponents/FormSlider/FormSlider.js +1155 -27
  35. package/dist/components/FormComponents/FormText/FormText.d.ts +1 -1
  36. package/dist/components/FormComponents/FormText/FormText.js +33 -32
  37. package/dist/components/FormComponents/FormToggle/FormToggle.d.ts +1 -1
  38. package/dist/components/FormComponents/FormToggle/FormToggle.js +17 -15
  39. package/dist/components/GenericTable/GenericTable.js +10486 -74
  40. package/dist/components/GenericTable/Mobile/GenericCard.js +4 -3
  41. package/dist/components/GenericTable/Mobile/GenericCard.test.js +1 -1
  42. package/dist/components/GenericTable/Mobile/GenericCardList.js +10 -8
  43. package/dist/components/HashTabView/HashTabView.js +1805 -72
  44. package/dist/components/HeaderFilter/HeaderFilter.d.ts +1 -1
  45. package/dist/components/HeaderFilter/HeaderFilter.js +4 -4
  46. package/dist/components/HealthCheckFailed/HealthCheckFailed.js +20 -17
  47. package/dist/components/Iconify/Iconify.d.ts +1 -2
  48. package/dist/components/Iconify/Iconify.js +42 -42
  49. package/dist/components/InfoGroup/InfoGroup.js +30 -28
  50. package/dist/components/ListArea/ListArea.js +29 -27
  51. package/dist/components/ListArea/ListArea.test.js +2 -2
  52. package/dist/components/ListArea/ListAreaService.js +7 -5
  53. package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.js +2 -2
  54. package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.test.js +1 -1
  55. package/dist/components/LoadingSpinner/Default/LoadingSpinner.js +506 -37
  56. package/dist/components/Modal/Modal.d.ts +1 -1
  57. package/dist/components/Modal/Modal.js +926 -9
  58. package/dist/components/ModulePadding/ModulePadding.d.ts +7 -0
  59. package/dist/components/ModulePadding/ModulePadding.js +28 -0
  60. package/dist/components/ModulePadding/ModulePadding.test.d.ts +1 -0
  61. package/dist/components/ModulePadding/ModulePadding.test.js +22 -0
  62. package/dist/components/OverflowTooltip/OverflowTooltip.js +6 -6
  63. package/dist/components/OverflowTooltip/OverflowTooltip.test.js +1 -1
  64. package/dist/components/SearchBar/SearchBar.js +7 -6
  65. package/dist/components/Select/Select.d.ts +1 -1
  66. package/dist/components/Select/Select.js +13 -13
  67. package/dist/floating-ui.dom-CeD8zknG.js +978 -0
  68. package/dist/get-7ACccM2X.js +114 -0
  69. package/dist/{get-BiqanC9_.js → get-DFv1gXfq.js} +1 -1
  70. package/dist/hooks/useHelperText.js +1 -1
  71. package/dist/identity-DLWZln-X.js +1763 -0
  72. package/dist/index.es-0lQcz8m1.js +444 -0
  73. package/dist/index.es-25EARqhH.js +2027 -0
  74. package/dist/index.es-3043KTnb.js +1066 -0
  75. package/dist/index.es-41ztjcFT.js +724 -0
  76. package/dist/index.es-6TJ1S8Jr.js +954 -0
  77. package/dist/index.es-8GOVkuo-.js +374 -0
  78. package/dist/index.es-B-_jXDuz.js +216 -0
  79. package/dist/index.es-BWgXLqXn.js +102 -0
  80. package/dist/index.es-BtjV0oNv.js +360 -0
  81. package/dist/index.es-BvrQnJ3j.js +509 -0
  82. package/dist/index.es-CF_xy2ns.js +674 -0
  83. package/dist/index.es-CL_Heu1n.js +54 -0
  84. package/dist/index.es-CiqbARoC.js +306 -0
  85. package/dist/index.es-D-CKRzIB.js +63 -0
  86. package/dist/index.es-D6N-XWHe.js +56 -0
  87. package/dist/index.es-DKDgy7Kt.js +45 -0
  88. package/dist/index.es-DntoATwO.js +159 -0
  89. package/dist/index.es-UHKFl8Da.js +7075 -0
  90. package/dist/index.es-d5xhUpJZ.js +3242 -0
  91. package/dist/index.es-da0cf7oE.js +569 -0
  92. package/dist/index.es-h2lMdt7G.js +107 -0
  93. package/dist/index.es-zr101OF5.js +4853 -0
  94. package/dist/{isArray-2zMxXFEr.js → isArray-DN9s620O.js} +3 -3
  95. package/dist/{isArray-C_5XvIlE.js → isArray-Dub1wGJM.js} +1 -1
  96. package/dist/isEmpty-B4GG2s-V.js +31 -0
  97. package/dist/isPlainObject-C273y67K.js +40 -0
  98. package/dist/isString-BW9UHONv.js +21 -0
  99. package/dist/keyboard-Bpt0aBqQ.js +107 -0
  100. package/dist/main.d.ts +1 -0
  101. package/dist/main.js +57 -55
  102. package/dist/orderBy-Bd48bw88.js +316 -0
  103. package/dist/react-tooltip.min-DSY6KDqS.js +431 -0
  104. package/dist/services/UtilService.js +2 -2
  105. package/dist/toString-CrgB_7Pe.js +54 -0
  106. package/dist/tslib.es6-BDCynO9F.js +162 -0
  107. package/dist/types/GenericTable.d.ts +1 -1
  108. package/dist/uniqueId-NU3-C36A.js +18 -0
  109. package/dist/util-DA21pZXj.js +78 -0
  110. package/package.json +1 -1
  111. package/dist/GenericCard-jlt8ZsHi.js +0 -80
  112. package/dist/_Map-Dtlps7IZ.js +0 -113
  113. package/dist/_overArg-_0pUmCsX.js +0 -14
  114. package/dist/get-P-5PYZOE.js +0 -426
  115. package/dist/isEmpty-BimaZd5G.js +0 -225
  116. package/dist/isString-BOHPtrlm.js +0 -44
  117. package/dist/orderBy-BVQIswlJ.js +0 -765
  118. package/dist/react-tooltip.min-Czs4RGD1.js +0 -1400
@@ -1,33 +1,34 @@
1
- import { jsx as e, Fragment as c, jsxs as _ } from "react/jsx-runtime";
2
- import { Group as g, TypoBody as l } from "@element-public/react-components";
3
- import { u as d } from "../../useBreakpoints-MzTZ0tCT.js";
4
- import '../../assets/AlertBanner.css';const m = "_messageContainer_1seos_1", p = "_info_1seos_9", u = "_danger_1seos_14", f = "_success_1seos_19", y = "_warning_1seos_24", n = {
5
- messageContainer: m,
1
+ import { jsx as s, Fragment as c, jsxs as m } from "react/jsx-runtime";
2
+ import { G as _ } from "../../index.es-DntoATwO.js";
3
+ import { b as g } from "../../index.es-CF_xy2ns.js";
4
+ import { u as l } from "../../useBreakpoints-MzTZ0tCT.js";
5
+ import '../../assets/AlertBanner.css';const d = "_messageContainer_1seos_1", p = "_info_1seos_9", f = "_danger_1seos_14", u = "_success_1seos_19", y = "_warning_1seos_24", n = {
6
+ messageContainer: d,
6
7
  info: p,
7
- danger: u,
8
- success: f,
8
+ danger: f,
9
+ success: u,
9
10
  warning: y
10
- }, C = ({
11
- text: s,
11
+ }, b = ({
12
+ text: e,
12
13
  color: r = "info",
13
14
  isOpen: o = !0,
14
15
  action: i,
15
16
  isBold: t = !0
16
17
  }) => {
17
- const { isDesktop: a } = d();
18
- return o ? /* @__PURE__ */ e("div", { className: `${n.messageContainer} ${n[r]}`, children: /* @__PURE__ */ _(
19
- g,
18
+ const { isDesktop: a } = l();
19
+ return o ? /* @__PURE__ */ s("div", { className: `${n.messageContainer} ${n[r]}`, children: /* @__PURE__ */ m(
20
+ _,
20
21
  {
21
22
  direction: a ? "horizontal" : "vertical",
22
23
  primaryAlign: "space-between",
23
24
  secondaryAlign: "center",
24
25
  children: [
25
- typeof s == "string" ? /* @__PURE__ */ e(l, { bold: t, level: 2, children: s }) : /* @__PURE__ */ e("div", { children: s }),
26
+ typeof e == "string" ? /* @__PURE__ */ s(g, { bold: t, level: 2, children: e }) : /* @__PURE__ */ s("div", { children: e }),
26
27
  i
27
28
  ]
28
29
  }
29
- ) }) : /* @__PURE__ */ e(c, {});
30
+ ) }) : /* @__PURE__ */ s(c, {});
30
31
  };
31
32
  export {
32
- C as AlertBanner
33
+ b as AlertBanner
33
34
  };
@@ -1,18 +1,18 @@
1
1
  import { jsx as e, Fragment as x, jsxs as s } from "react/jsx-runtime";
2
- import { Group as r } from "@element-public/react-components";
2
+ import { G as r } from "../../index.es-DntoATwO.js";
3
3
  import { useMemo as d } from "react";
4
4
  import { BasicHeading as u } from "../BasicHeading/BasicHeading.js";
5
5
  import { EmptyView as W } from "../EmptyView/EmptyView.js";
6
6
  import { ListArea as B } from "../ListArea/ListArea.js";
7
7
  import { VerticalDivider as N } from "../VerticalDivider/VerticalDivider.js";
8
8
  import { u as A } from "../../useBreakpoints-MzTZ0tCT.js";
9
- import '../../assets/BaseView.css';const V = "_divider_dw2rc_1", j = "_maxWidth_dw2rc_5", E = "_desktopList_dw2rc_9", H = "_mobileList_dw2rc_13", I = "_desktopDetail_dw2rc_17", y = "_mobileDetail_dw2rc_21", o = {
9
+ import '../../assets/BaseView.css';const V = "_divider_dw2rc_1", j = "_maxWidth_dw2rc_5", E = "_desktopList_dw2rc_9", G = "_mobileList_dw2rc_13", H = "_desktopDetail_dw2rc_17", I = "_mobileDetail_dw2rc_21", o = {
10
10
  divider: V,
11
11
  maxWidth: j,
12
12
  desktopList: E,
13
- mobileList: H,
14
- desktopDetail: I,
15
- mobileDetail: y
13
+ mobileList: G,
14
+ desktopDetail: H,
15
+ mobileDetail: I
16
16
  }, P = ({
17
17
  action: l,
18
18
  heading: c,
@@ -1,16 +1,17 @@
1
1
  import { jsxs as o, jsx as i } from "react/jsx-runtime";
2
- import { TypoDisplay as u, TypoBody as y, Icon as C } from "@element-public/react-components";
2
+ import { I as u } from "../../index.es-3043KTnb.js";
3
+ import { T as y, b as C } from "../../index.es-CF_xy2ns.js";
3
4
  import { Iconify as w } from "../Iconify/Iconify.js";
4
5
  import { AvailableCustomIcons as j } from "../../enums/AvailableCustomIcons.js";
5
6
  import { u as I } from "../../useBreakpoints-MzTZ0tCT.js";
6
7
  import { OverflowTooltip as B } from "../OverflowTooltip/OverflowTooltip.js";
7
- import '../../assets/BasicHeading.css';const N = "_pageHeader_gwnjc_1", H = "_actionButtonContainer_gwnjc_16", b = "_leadingIcon_gwnjc_31", x = "_headingWrapper_gwnjc_35", A = "_headingContainer_gwnjc_40", T = "_invisible_gwnjc_45", W = "_withAvatar_gwnjc_49", $ = "_iconContainer_gwnjc_54", n = {
8
+ import '../../assets/BasicHeading.css';const N = "_pageHeader_gwnjc_1", b = "_actionButtonContainer_gwnjc_16", H = "_leadingIcon_gwnjc_31", T = "_headingWrapper_gwnjc_35", x = "_headingContainer_gwnjc_40", A = "_invisible_gwnjc_45", W = "_withAvatar_gwnjc_49", $ = "_iconContainer_gwnjc_54", n = {
8
9
  pageHeader: N,
9
- actionButtonContainer: H,
10
- leadingIcon: b,
11
- headingWrapper: x,
12
- headingContainer: A,
13
- invisible: T,
10
+ actionButtonContainer: b,
11
+ leadingIcon: H,
12
+ headingWrapper: T,
13
+ headingContainer: x,
14
+ invisible: A,
14
15
  withAvatar: W,
15
16
  iconContainer: $
16
17
  }, k = ({ icon: e }) => e ? typeof e != "string" ? /* @__PURE__ */ i("div", { className: n.iconContainer, children: e }) : e in j ? /* @__PURE__ */ i(
@@ -21,22 +22,22 @@ import '../../assets/BasicHeading.css';const N = "_pageHeader_gwnjc_1", H = "_ac
21
22
  iconSize: "large",
22
23
  iconType: "filled"
23
24
  }
24
- ) : /* @__PURE__ */ i(C, { iconSize: "large", iconType: "filled", icon: e, className: n.leadingIcon }) : null, P = ({
25
+ ) : /* @__PURE__ */ i(u, { iconSize: "large", iconType: "filled", icon: e, className: n.leadingIcon }) : null, R = ({
25
26
  children: e,
26
- marginBottom: t,
27
- heading: a,
27
+ marginBottom: a,
28
+ heading: t,
28
29
  icon: d,
29
30
  className: p,
30
31
  subHeading: r,
31
32
  subHeadingLevel: g = 2,
32
- invisibleButton: _ = !1,
33
+ invisibleButton: m = !1,
33
34
  level: s = 4,
34
35
  fontWeight: c = 400,
35
- withAvatar: m = !1
36
+ withAvatar: _ = !1
36
37
  }) => {
37
- const { isDesktop: l } = I(), h = l ? s : s + 1, f = c === "bold" ? 500 : c, v = () => {
38
- if (t !== void 0)
39
- return typeof t == "number" ? `${t}px` : "2rem";
38
+ const { isDesktop: l } = I(), f = l ? s : s + 1, h = c === "bold" ? 500 : c, v = () => {
39
+ if (a !== void 0)
40
+ return typeof a == "number" ? `${a}px` : "2rem";
40
41
  };
41
42
  return /* @__PURE__ */ o(
42
43
  "div",
@@ -48,21 +49,21 @@ import '../../assets/BasicHeading.css';const N = "_pageHeader_gwnjc_1", H = "_ac
48
49
  /* @__PURE__ */ o(
49
50
  "div",
50
51
  {
51
- className: `${m && l ? n.withAvatar : ""} ${n.headingWrapper}`,
52
+ className: `${_ && l ? n.withAvatar : ""} ${n.headingWrapper}`,
52
53
  children: [
53
54
  /* @__PURE__ */ i(k, { icon: d }),
54
55
  /* @__PURE__ */ o("div", { className: r ? n.headingContainer : "", children: [
55
- /* @__PURE__ */ i(B, { id: a, text: a, children: /* @__PURE__ */ i(
56
- u,
56
+ /* @__PURE__ */ i(B, { id: t, text: t, children: /* @__PURE__ */ i(
57
+ y,
57
58
  {
58
- level: h,
59
+ level: f,
59
60
  "data-testid": "Header",
60
61
  className: p ?? "",
61
- style: { fontWeight: f },
62
- children: a
62
+ style: { fontWeight: h },
63
+ children: t
63
64
  }
64
65
  ) }),
65
- /* @__PURE__ */ i(y, { level: g, children: r })
66
+ /* @__PURE__ */ i(C, { level: g, children: r })
66
67
  ] })
67
68
  ]
68
69
  }
@@ -70,7 +71,7 @@ import '../../assets/BasicHeading.css';const N = "_pageHeader_gwnjc_1", H = "_ac
70
71
  /* @__PURE__ */ i(
71
72
  "div",
72
73
  {
73
- className: `${n.actionButtonContainer} ${_ && n.invisible}`,
74
+ className: `${n.actionButtonContainer} ${m && n.invisible}`,
74
75
  "data-testid": "RightPart",
75
76
  children: e
76
77
  }
@@ -80,5 +81,5 @@ import '../../assets/BasicHeading.css';const N = "_pageHeader_gwnjc_1", H = "_ac
80
81
  );
81
82
  };
82
83
  export {
83
- P as BasicHeading
84
+ R as BasicHeading
84
85
  };
@@ -1,11 +1,11 @@
1
1
  import { jsx as o, Fragment as c } from "react/jsx-runtime";
2
- import { Button as g } from "@element-public/react-components";
3
- import { BasicHeading as a } from "./BasicHeading.js";
4
- import { a as i, s as n } from "../../react.esm-DNwojocF.js";
2
+ import { B as g } from "../../index.es-CiqbARoC.js";
3
+ import { a, s as n } from "../../react.esm-DNwojocF.js";
4
+ import { BasicHeading as i } from "./BasicHeading.js";
5
5
  import { d as h, t as s, g as e } from "../../vi.CjhMlMwf-BCJNwXvu.js";
6
6
  h("BasicHeading-Test", () => {
7
7
  s("render small container without content", () => {
8
- i(/* @__PURE__ */ o(a, { heading: "Test" }));
8
+ a(/* @__PURE__ */ o(i, { heading: "Test" }));
9
9
  const t = n.getByTestId("HeaderContainer");
10
10
  e(t).toBeDefined(), e(t).toHaveClass(/pageHeader/);
11
11
  const r = n.getByTestId("Header");
@@ -13,8 +13,8 @@ h("BasicHeading-Test", () => {
13
13
  const d = n.getByTestId("RightPart");
14
14
  e(d).toBeDefined();
15
15
  }), s("render large container with children", () => {
16
- i(
17
- /* @__PURE__ */ o(a, { heading: "Test", marginBottom: "large", children: /* @__PURE__ */ o(g, { children: "Extracontent" }) })
16
+ a(
17
+ /* @__PURE__ */ o(i, { heading: "Test", marginBottom: "large", children: /* @__PURE__ */ o(g, { children: "Extracontent" }) })
18
18
  );
19
19
  const t = n.getByTestId("HeaderContainer");
20
20
  e(t).toBeDefined();
@@ -23,13 +23,13 @@ h("BasicHeading-Test", () => {
23
23
  const d = n.getByTestId("RightPart");
24
24
  e(d).toBeDefined(), e(d).toContainHTML("<button");
25
25
  }), s("render with available custom icon", () => {
26
- i(/* @__PURE__ */ o(a, { heading: "Test", icon: "farm" }));
26
+ a(/* @__PURE__ */ o(i, { heading: "Test", icon: "farm" }));
27
27
  const t = n.getByTestId("farm");
28
28
  e(t).toBeInTheDocument();
29
29
  }), s("render with JSX element as icon", () => {
30
- i(/* @__PURE__ */ o(a, { heading: "Test", icon: /* @__PURE__ */ o(c, { children: "JSX" }) })), e(n.getByText("JSX")).toBeInTheDocument();
30
+ a(/* @__PURE__ */ o(i, { heading: "Test", icon: /* @__PURE__ */ o(c, { children: "JSX" }) })), e(n.getByText("JSX")).toBeInTheDocument();
31
31
  }), s("render with other icon", () => {
32
- i(/* @__PURE__ */ o(a, { heading: "Test", icon: "contact_support" }));
32
+ a(/* @__PURE__ */ o(i, { heading: "Test", icon: "contact_support" }));
33
33
  const t = document.querySelector("i");
34
34
  e(t).toHaveTextContent("contact_support");
35
35
  });
@@ -1,5 +1,5 @@
1
1
  import { jsxs as h, jsx as c } from "react/jsx-runtime";
2
- import { TypoSubtitle as T, TypoDisplay as L } from "@element-public/react-components";
2
+ import { d as T, T as L } from "../../index.es-CF_xy2ns.js";
3
3
  import { useState as R, useEffect as B, useMemo as C } from "react";
4
4
  import { getBlockNumberByDto as E } from "../../services/BlockService.js";
5
5
  import '../../assets/BlockView.css';const A = "_grid_lihp2_1", D = "_black_lihp2_11", S = "_blockLayout_lihp2_15", M = "_blockRow_lihp2_27", V = "_block_lihp2_15", j = "_active_lihp2_46", q = "_error_lihp2_52", F = "_empty_lihp2_58", G = "_blockText_lihp2_62", o = {
@@ -34,11 +34,11 @@ import '../../assets/BlockView.css';const A = "_grid_lihp2_1", D = "_black_lihp2
34
34
  }, [i, e]);
35
35
  const w = C(() => s * e, [s, e]), $ = (l) => {
36
36
  k && k(l, i ?? void 0);
37
- }, x = ({ row: l, column: r }) => _.length === 0 ? !0 : _.some((n) => n.position?.row === l && n.position?.column === r);
37
+ }, x = ({ row: l, column: r }) => _.length === 0 ? !0 : _.some((a) => a.position?.row === l && a.position?.column === r);
38
38
  return /* @__PURE__ */ h("div", { "data-testid": "block-view-container", className: o.grid, children: [
39
39
  !b && /* @__PURE__ */ c(T, { level: 1, bold: !0, className: o.black, children: N }),
40
- /* @__PURE__ */ c("div", { className: o.blockLayout, style: { width: `${m}rem`, height: `${m}rem` }, children: Array.from({ length: s }).map((l, r) => /* @__PURE__ */ c("div", { className: o.blockRow, children: Array.from({ length: e }).map((n, a) => {
41
- const t = e * r + a + 1, u = x({ row: r + 1, column: a + 1 });
40
+ /* @__PURE__ */ c("div", { className: o.blockLayout, style: { width: `${m}rem`, height: `${m}rem` }, children: Array.from({ length: s }).map((l, r) => /* @__PURE__ */ c("div", { className: o.blockRow, children: Array.from({ length: e }).map((a, n) => {
41
+ const t = e * r + n + 1, u = x({ row: r + 1, column: n + 1 });
42
42
  return /* @__PURE__ */ c(
43
43
  "div",
44
44
  {
@@ -46,7 +46,7 @@ import '../../assets/BlockView.css';const A = "_grid_lihp2_1", D = "_black_lihp2
46
46
  className: `${o.block} ${d === t ? o.active : ""} ${u ? "" : o.empty} ${y.includes(t) ? o.error : ""}`,
47
47
  id: `block${t}`,
48
48
  onClick: f ? () => {
49
- p(t), $({ row: r + 1, column: a + 1 });
49
+ p(t), $({ row: r + 1, column: n + 1 });
50
50
  } : void 0,
51
51
  children: v && u && /* @__PURE__ */ c(
52
52
  "div",