@isettingkit/business-rules 2.2.28 → 2.2.29

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 +3 -3
  2. package/package.json +2 -2
package/dist/index.es.js CHANGED
@@ -2608,18 +2608,18 @@ const na = N.div`
2608
2608
  ) : typeof t == "string"
2609
2609
  ),
2610
2610
  value: e
2611
- }), ht = "Por favor escribe un valor", Tn = "Por favor escribe un valor mayor que 0", ba = "El valor desde no puede ser mayor que el valor hasta", va = "El valor hasta debe ser mayor o igual que el valor desde", xn = (e, t) => {
2611
+ }), ht = "Por favor escribe un valor", Tn = "Por favor escribe un valor mayor o igual que 0", ba = "El valor desde no puede ser mayor que el valor hasta", va = "El valor hasta debe ser mayor o igual que el valor desde", xn = (e, t) => {
2612
2612
  if (t !== "")
2613
2613
  return e;
2614
2614
  }, ya = (e) => {
2615
2615
  const t = (e == null ? void 0 : e.from) ?? 0, n = (e == null ? void 0 : e.to) ?? 0;
2616
2616
  return {
2617
2617
  schema: X({
2618
- from: me().transform(xn).typeError(ht).required(ht).moreThan(0, Tn).test("from<=to", ba, function(r) {
2618
+ from: me().transform(xn).typeError(ht).required(ht).min(0, Tn).test("from<=to", ba, function(r) {
2619
2619
  const { to: o } = this.parent;
2620
2620
  return r === void 0 || o === void 0 ? !0 : r <= o;
2621
2621
  }),
2622
- to: me().transform(xn).typeError(ht).required(ht).moreThan(0, Tn).test("to>=from", va, function(r) {
2622
+ to: me().transform(xn).typeError(ht).required(ht).min(0, Tn).test("to>=from", va, function(r) {
2623
2623
  const { from: o } = this.parent;
2624
2624
  return o === void 0 || r === void 0 ? !0 : r >= o;
2625
2625
  })
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  ],
11
11
  "description": "",
12
12
  "private": false,
13
- "version": "2.2.28",
13
+ "version": "2.2.29",
14
14
  "type": "module",
15
15
  "exports": {
16
16
  ".": {
@@ -38,7 +38,7 @@
38
38
  "dependencies": {
39
39
  "@formkit/drag-and-drop": "^0.5.3",
40
40
  "@inubekit/inubekit": "^6.4.0",
41
- "@isettingkit/input": "^1.1.20",
41
+ "@isettingkit/input": "^1.1.21",
42
42
  "@isettingkit/view": "^0.1.39",
43
43
  "axios": "^1.9.0",
44
44
  "franc-min": "^6.2.0"