@isettingkit/business-rules 2.2.8 → 2.2.9

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 (2) hide show
  1. package/dist/index.es.js +22 -30
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -2851,7 +2851,7 @@ const Yr = S.div`
2851
2851
  ]
2852
2852
  }
2853
2853
  ) }),
2854
- /* @__PURE__ */ a(ze, { legend: "Condiciones a evaluar", spacing: "wide", children: /* @__PURE__ */ m(T, { direction: "column", gap: "20px", width: "100%", children: [
2854
+ o && o.length > 0 && /* @__PURE__ */ a(ze, { legend: "Condiciones a evaluar", spacing: "wide", children: /* @__PURE__ */ m(T, { direction: "column", gap: "20px", width: "100%", children: [
2855
2855
  /* @__PURE__ */ a(
2856
2856
  xn,
2857
2857
  {
@@ -2885,35 +2885,27 @@ const Yr = S.div`
2885
2885
  ] }),
2886
2886
  /* @__PURE__ */ a(T, { direction: "column", gap: "20px", children: o == null ? void 0 : o.map((C) => {
2887
2887
  const E = C.__scopedName ?? `${C.groupKey}.${C.conditionName}`;
2888
- return /* @__PURE__ */ m(
2889
- T,
2890
- {
2891
- gap: "16px",
2892
- alignItems: "center",
2893
- children: [
2894
- /* @__PURE__ */ m(Yr, { children: [
2895
- /* @__PURE__ */ a(
2896
- en,
2897
- {
2898
- condition: C,
2899
- formik: r
2900
- }
2901
- ),
2902
- C.timeUnit && /* @__PURE__ */ a(F, { as: "span", size: "medium", padding: "0 0 0 16px", children: C.__unitAfterInput })
2903
- ] }),
2904
- /* @__PURE__ */ a(
2905
- B,
2906
- {
2907
- icon: /* @__PURE__ */ a(ft, {}),
2908
- appearance: "danger",
2909
- cursorHover: !0,
2910
- onClick: () => d(E)
2911
- }
2912
- )
2913
- ]
2914
- },
2915
- E
2916
- );
2888
+ return /* @__PURE__ */ m(T, { gap: "16px", alignItems: "center", children: [
2889
+ /* @__PURE__ */ m(Yr, { children: [
2890
+ /* @__PURE__ */ a(
2891
+ en,
2892
+ {
2893
+ condition: C,
2894
+ formik: r
2895
+ }
2896
+ ),
2897
+ C.timeUnit && /* @__PURE__ */ a(F, { as: "span", size: "medium", padding: "0 0 0 16px", children: C.__unitAfterInput })
2898
+ ] }),
2899
+ /* @__PURE__ */ a(
2900
+ B,
2901
+ {
2902
+ icon: /* @__PURE__ */ a(ft, {}),
2903
+ appearance: "danger",
2904
+ cursorHover: !0,
2905
+ onClick: () => d(E)
2906
+ }
2907
+ )
2908
+ ] }, E);
2917
2909
  }) }),
2918
2910
  u && /* @__PURE__ */ a(F, { type: "label", size: "medium", appearance: "danger", children: n ?? "Existen errores en el formulario, por favor revísalos." })
2919
2911
  ] }) }),
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  ],
11
11
  "description": "",
12
12
  "private": false,
13
- "version": "2.2.8",
13
+ "version": "2.2.9",
14
14
  "type": "module",
15
15
  "exports": {
16
16
  ".": {