@isettingkit/business-rules 2.2.19 → 2.2.20
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.es.js +8 -5
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -995,9 +995,11 @@ const bo = (e) => {
|
|
|
995
995
|
] })
|
|
996
996
|
] }) });
|
|
997
997
|
}, vo = (e) => {
|
|
998
|
-
const { decision: t, controls: n, handleOpenModal: r, handleDelete: o, textValues: i } = e;
|
|
999
|
-
|
|
1000
|
-
|
|
998
|
+
const { decision: t, controls: n, handleOpenModal: r, handleDelete: o, textValues: i, index: c } = e;
|
|
999
|
+
if (!t) return null;
|
|
1000
|
+
const u = typeof c == "number" ? `Decision ${c + 1}` : t.decisionId;
|
|
1001
|
+
return /* @__PURE__ */ a(tt, { children: /* @__PURE__ */ b(T, { direction: "column", gap: "4px", width: "100%", padding: "0 0 12px 0", children: [
|
|
1002
|
+
/* @__PURE__ */ a(R, { type: "title", size: "medium", appearance: "gray", weight: "bold", children: u }),
|
|
1001
1003
|
/* @__PURE__ */ a(
|
|
1002
1004
|
bo,
|
|
1003
1005
|
{
|
|
@@ -1014,7 +1016,7 @@ const bo = (e) => {
|
|
|
1014
1016
|
)
|
|
1015
1017
|
}
|
|
1016
1018
|
)
|
|
1017
|
-
] }) }, t.decisionId)
|
|
1019
|
+
] }) }, t.decisionId);
|
|
1018
1020
|
}, yo = (e) => {
|
|
1019
1021
|
const {
|
|
1020
1022
|
customTitleContentAddCard: t,
|
|
@@ -1522,7 +1524,8 @@ const Ao = N.div`
|
|
|
1522
1524
|
textValues: u
|
|
1523
1525
|
})
|
|
1524
1526
|
) : r == null ? void 0 : r.map(
|
|
1525
|
-
(p) => Pt({
|
|
1527
|
+
(p, d) => Pt({
|
|
1528
|
+
index: d,
|
|
1526
1529
|
type: "decision",
|
|
1527
1530
|
decision: p,
|
|
1528
1531
|
controls: t,
|