@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.
- package/README.md +21 -4
- package/dist/{BigLoadingSpinner-D7H28pr5.js → BigLoadingSpinner-iegTbDcD.js} +6 -6
- package/dist/GenericCard-6J558OgP.js +350 -0
- package/dist/{ListAreaService-YS_UUPh5.js → ListAreaService-DOwtdRa4.js} +18 -16
- package/dist/_MapCache-B75yWNNd.js +376 -0
- package/dist/_baseIsEqual-D0Dsajdb.js +317 -0
- package/dist/_getTag-BCf9b56Z.js +81 -0
- package/dist/animationframe-EMBh6XeO.js +54 -0
- package/dist/component-DsB0poTj.js +571 -0
- package/dist/component-neHBNHRu.js +114 -0
- package/dist/components/AlertBanner/AlertBanner.js +16 -15
- package/dist/components/BaseView/BaseView.js +5 -5
- package/dist/components/BasicHeading/BasicHeading.js +25 -24
- package/dist/components/BasicHeading/BasicHeading.test.js +9 -9
- package/dist/components/BlockView/BlockView.js +5 -5
- package/dist/components/ChipCard/ChipCard.js +1765 -14
- package/dist/components/ContextMenu/ContextMenu.d.ts +1 -1
- package/dist/components/ContextMenu/ContextMenu.js +28 -27
- package/dist/components/DeleteModal/DeleteModal.js +37 -34
- package/dist/components/Disclaimer/Disclaimer.js +11 -9
- package/dist/components/EmptyView/EmptyView.js +258 -19
- package/dist/components/Filter/Filter.js +58 -54
- package/dist/components/FormComponents/FormCheckBox/FormCheckBox.js +13 -11
- package/dist/components/FormComponents/FormDatePicker/FormDatePicker.d.ts +1 -1
- package/dist/components/FormComponents/FormDatePicker/FormDatePicker.js +5974 -6387
- package/dist/components/FormComponents/FormNumber/CustomTextField.d.ts +1 -1
- package/dist/components/FormComponents/FormNumber/CustomTextField.js +5 -5
- package/dist/components/FormComponents/FormNumber/FormNumber.d.ts +1 -1
- package/dist/components/FormComponents/FormNumber/FormNumber.js +1 -1
- package/dist/components/FormComponents/FormRadio/FormRadio.js +4 -4
- package/dist/components/FormComponents/FormSelect/FormSelect.d.ts +1 -1
- package/dist/components/FormComponents/FormSelect/FormSelect.js +3 -3
- package/dist/components/FormComponents/FormSelect/SelectTooltipText.js +6 -5
- package/dist/components/FormComponents/FormSlider/FormSlider.js +1155 -27
- package/dist/components/FormComponents/FormText/FormText.d.ts +1 -1
- package/dist/components/FormComponents/FormText/FormText.js +33 -32
- package/dist/components/FormComponents/FormToggle/FormToggle.d.ts +1 -1
- package/dist/components/FormComponents/FormToggle/FormToggle.js +17 -15
- package/dist/components/GenericTable/GenericTable.js +10486 -74
- package/dist/components/GenericTable/Mobile/GenericCard.js +4 -3
- package/dist/components/GenericTable/Mobile/GenericCard.test.js +1 -1
- package/dist/components/GenericTable/Mobile/GenericCardList.js +10 -8
- package/dist/components/HashTabView/HashTabView.js +1805 -72
- package/dist/components/HeaderFilter/HeaderFilter.d.ts +1 -1
- package/dist/components/HeaderFilter/HeaderFilter.js +4 -4
- package/dist/components/HealthCheckFailed/HealthCheckFailed.js +20 -17
- package/dist/components/Iconify/Iconify.d.ts +1 -2
- package/dist/components/Iconify/Iconify.js +42 -42
- package/dist/components/InfoGroup/InfoGroup.js +30 -28
- package/dist/components/ListArea/ListArea.js +29 -27
- package/dist/components/ListArea/ListArea.test.js +2 -2
- package/dist/components/ListArea/ListAreaService.js +7 -5
- package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.js +2 -2
- package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.test.js +1 -1
- package/dist/components/LoadingSpinner/Default/LoadingSpinner.js +506 -37
- package/dist/components/Modal/Modal.d.ts +1 -1
- package/dist/components/Modal/Modal.js +926 -9
- package/dist/components/ModulePadding/ModulePadding.d.ts +7 -0
- package/dist/components/ModulePadding/ModulePadding.js +28 -0
- package/dist/components/ModulePadding/ModulePadding.test.d.ts +1 -0
- package/dist/components/ModulePadding/ModulePadding.test.js +22 -0
- package/dist/components/OverflowTooltip/OverflowTooltip.js +6 -6
- package/dist/components/OverflowTooltip/OverflowTooltip.test.js +1 -1
- package/dist/components/SearchBar/SearchBar.js +7 -6
- package/dist/components/Select/Select.d.ts +1 -1
- package/dist/components/Select/Select.js +13 -13
- package/dist/floating-ui.dom-CeD8zknG.js +978 -0
- package/dist/get-7ACccM2X.js +114 -0
- package/dist/{get-BiqanC9_.js → get-DFv1gXfq.js} +1 -1
- package/dist/hooks/useHelperText.js +1 -1
- package/dist/identity-DLWZln-X.js +1763 -0
- package/dist/index.es-0lQcz8m1.js +444 -0
- package/dist/index.es-25EARqhH.js +2027 -0
- package/dist/index.es-3043KTnb.js +1066 -0
- package/dist/index.es-41ztjcFT.js +724 -0
- package/dist/index.es-6TJ1S8Jr.js +954 -0
- package/dist/index.es-8GOVkuo-.js +374 -0
- package/dist/index.es-B-_jXDuz.js +216 -0
- package/dist/index.es-BWgXLqXn.js +102 -0
- package/dist/index.es-BtjV0oNv.js +360 -0
- package/dist/index.es-BvrQnJ3j.js +509 -0
- package/dist/index.es-CF_xy2ns.js +674 -0
- package/dist/index.es-CL_Heu1n.js +54 -0
- package/dist/index.es-CiqbARoC.js +306 -0
- package/dist/index.es-D-CKRzIB.js +63 -0
- package/dist/index.es-D6N-XWHe.js +56 -0
- package/dist/index.es-DKDgy7Kt.js +45 -0
- package/dist/index.es-DntoATwO.js +159 -0
- package/dist/index.es-UHKFl8Da.js +7075 -0
- package/dist/index.es-d5xhUpJZ.js +3242 -0
- package/dist/index.es-da0cf7oE.js +569 -0
- package/dist/index.es-h2lMdt7G.js +107 -0
- package/dist/index.es-zr101OF5.js +4853 -0
- package/dist/{isArray-2zMxXFEr.js → isArray-DN9s620O.js} +3 -3
- package/dist/{isArray-C_5XvIlE.js → isArray-Dub1wGJM.js} +1 -1
- package/dist/isEmpty-B4GG2s-V.js +31 -0
- package/dist/isPlainObject-C273y67K.js +40 -0
- package/dist/isString-BW9UHONv.js +21 -0
- package/dist/keyboard-Bpt0aBqQ.js +107 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +57 -55
- package/dist/orderBy-Bd48bw88.js +316 -0
- package/dist/react-tooltip.min-DSY6KDqS.js +431 -0
- package/dist/services/UtilService.js +2 -2
- package/dist/toString-CrgB_7Pe.js +54 -0
- package/dist/tslib.es6-BDCynO9F.js +162 -0
- package/dist/types/GenericTable.d.ts +1 -1
- package/dist/uniqueId-NU3-C36A.js +18 -0
- package/dist/util-DA21pZXj.js +78 -0
- package/package.json +1 -1
- package/dist/GenericCard-jlt8ZsHi.js +0 -80
- package/dist/_Map-Dtlps7IZ.js +0 -113
- package/dist/_overArg-_0pUmCsX.js +0 -14
- package/dist/get-P-5PYZOE.js +0 -426
- package/dist/isEmpty-BimaZd5G.js +0 -225
- package/dist/isString-BOHPtrlm.js +0 -44
- package/dist/orderBy-BVQIswlJ.js +0 -765
- package/dist/react-tooltip.min-Czs4RGD1.js +0 -1400
|
@@ -1,33 +1,34 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
|
|
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:
|
|
8
|
-
success:
|
|
8
|
+
danger: f,
|
|
9
|
+
success: u,
|
|
9
10
|
warning: y
|
|
10
|
-
},
|
|
11
|
-
text:
|
|
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 } =
|
|
18
|
-
return o ? /* @__PURE__ */
|
|
19
|
-
|
|
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
|
|
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__ */
|
|
30
|
+
) }) : /* @__PURE__ */ s(c, {});
|
|
30
31
|
};
|
|
31
32
|
export {
|
|
32
|
-
|
|
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 {
|
|
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",
|
|
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:
|
|
14
|
-
desktopDetail:
|
|
15
|
-
mobileDetail:
|
|
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 {
|
|
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",
|
|
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:
|
|
10
|
-
leadingIcon:
|
|
11
|
-
headingWrapper:
|
|
12
|
-
headingContainer:
|
|
13
|
-
invisible:
|
|
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(
|
|
25
|
+
) : /* @__PURE__ */ i(u, { iconSize: "large", iconType: "filled", icon: e, className: n.leadingIcon }) : null, R = ({
|
|
25
26
|
children: e,
|
|
26
|
-
marginBottom:
|
|
27
|
-
heading:
|
|
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:
|
|
33
|
+
invisibleButton: m = !1,
|
|
33
34
|
level: s = 4,
|
|
34
35
|
fontWeight: c = 400,
|
|
35
|
-
withAvatar:
|
|
36
|
+
withAvatar: _ = !1
|
|
36
37
|
}) => {
|
|
37
|
-
const { isDesktop: l } = I(),
|
|
38
|
-
if (
|
|
39
|
-
return typeof
|
|
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: `${
|
|
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:
|
|
56
|
-
|
|
56
|
+
/* @__PURE__ */ i(B, { id: t, text: t, children: /* @__PURE__ */ i(
|
|
57
|
+
y,
|
|
57
58
|
{
|
|
58
|
-
level:
|
|
59
|
+
level: f,
|
|
59
60
|
"data-testid": "Header",
|
|
60
61
|
className: p ?? "",
|
|
61
|
-
style: { fontWeight:
|
|
62
|
-
children:
|
|
62
|
+
style: { fontWeight: h },
|
|
63
|
+
children: t
|
|
63
64
|
}
|
|
64
65
|
) }),
|
|
65
|
-
/* @__PURE__ */ i(
|
|
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} ${
|
|
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
|
-
|
|
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 {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
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
|
-
|
|
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
|
-
|
|
17
|
-
/* @__PURE__ */ o(
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 {
|
|
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((
|
|
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((
|
|
41
|
-
const t = e * r +
|
|
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:
|
|
49
|
+
p(t), $({ row: r + 1, column: n + 1 });
|
|
50
50
|
} : void 0,
|
|
51
51
|
children: v && u && /* @__PURE__ */ c(
|
|
52
52
|
"div",
|