osocna-react-tailwind 0.0.34 → 0.0.35

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.js +83 -86
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { jsxs as dt, jsx as J, Fragment as gy } from "react/jsx-runtime";
1
+ import { jsxs as yt, jsx as J, Fragment as gy } from "react/jsx-runtime";
2
2
  import * as g from "react";
3
3
  import an, { useState as ke, useEffect as ye, isValidElement as Tt, forwardRef as Ge, useContext as Ze, createContext as _e, useMemo as Rr, useCallback as ve, PureComponent as zd, useRef as ne, useLayoutEffect as at, cloneElement as TA, createElement as Hd, Children as yy, memo as Bd, useImperativeHandle as by } from "react";
4
4
  import { createPortal as Zo } from "react-dom";
@@ -15,7 +15,7 @@ const wy = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArwAAAVsCAYAAADaI07iAA
15
15
  let i = [];
16
16
  e?.membership?.origin?.id === 97 ? i = [`url(${Ll})`] : e?.membership?.origin?.id === 9 ? (i = [`url(${Oy})`], (e?.membership?.credential?.plan === "TOTAL" || e?.membership?.credential?.plan === "GLOBAL") && i.push(`url(${Cy})`, `url(${Ll})`)) : i = [`url(${Sy})`], r(i);
17
17
  };
18
- return /* @__PURE__ */ dt(
18
+ return /* @__PURE__ */ yt(
19
19
  "div",
20
20
  {
21
21
  className: `
@@ -51,17 +51,14 @@ const wy = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArwAAAVsCAYAAADaI07iAA
51
51
  A
52
52
  )
53
53
  ) }),
54
- /* @__PURE__ */ dt("div", { className: "flex flex-col items-center mb-3 text-white", children: [
54
+ /* @__PURE__ */ yt("div", { className: "flex flex-col items-center mb-3 text-white", children: [
55
55
  /* @__PURE__ */ J("p", { className: "text-center text-textPrimary font-bold", style: { fontSize: "clamp(20px, 2vw, 22px)" }, children: e?.name?.toLocaleUpperCase() || "" }),
56
56
  /* @__PURE__ */ J("p", { className: "text-center text-textSecondary font-bold", style: { whiteSpace: "nowrap", fontSize: "clamp(20px, 2vw, 22px)" }, children: e?.membership?.credential?.number || 0 }),
57
57
  /* @__PURE__ */ J("div", { className: "flex justify-center", children: e.membership?.origin?.id === 9 ? e.membership?.credential?.plan?.toUpperCase() === "INTEGRAL" ? /* @__PURE__ */ J("p", { style: { color: "white", backgroundColor: "red", borderRadius: "15px", marginLeft: "auto", marginRight: "auto", textAlign: "center", width: "100px", fontSize: "10px", padding: "2px", marginTop: "4px" }, children: "INTEGRAL" }) : e.membership?.credential?.plan?.toUpperCase() === "GLOBAL" ? /* @__PURE__ */ J("p", { style: { color: "white", backgroundColor: "red", borderRadius: "15px", marginLeft: "auto", marginRight: "auto", textAlign: "center", width: "100px", fontSize: "10px", padding: "2px", marginTop: "4px" }, children: "GLOBAL" }) : /* @__PURE__ */ J("p", { style: { color: "white", backgroundColor: "red", borderRadius: "15px", marginLeft: "auto", marginRight: "auto", textAlign: "center", width: "100px", fontSize: "10px", padding: "2px", marginTop: "4px" }, children: "TOTAL" }) : null }),
58
58
  /* @__PURE__ */ J("p", { className: "text-center text-textSecondary mt-2 h-[12px]", style: { whiteSpace: "nowrap", fontSize: "clamp(12px, 1.5vw, 12px)" }, children: e?.membership?.credential?.observation || "" })
59
59
  ] }),
60
- /* @__PURE__ */ dt("div", { className: "text-center text-white", children: [
61
- /* @__PURE__ */ dt("p", { style: { width: "90%", whiteSpace: "nowrap", fontSize: "clamp(8px, 1.5vw, 10px)" }, children: [
62
- e.membership?.origin?.id === 8 || e.membership?.origin?.id === 97 ? "" : "RNOS 1-11380-9 -",
63
- " Superintendencia de Servicios de Salud - Órgano de Control"
64
- ] }),
60
+ /* @__PURE__ */ yt("div", { className: "text-center text-white", children: [
61
+ /* @__PURE__ */ J("p", { style: { width: "90%", whiteSpace: "nowrap", fontSize: "clamp(8px, 1.5vw, 10px)" }, children: "Superintendencia de Servicios de Salud - Órgano de Control" }),
65
62
  /* @__PURE__ */ J("p", { style: { width: "100%", whiteSpace: "nowrap", fontSize: "clamp(8px, 1.5vw, 10px)" }, children: "0800-222-SALUD(72583) - www.sssalud.gov.ar" })
66
63
  ] })
67
64
  ]
@@ -421,7 +418,7 @@ function $o(e) {
421
418
  }
422
419
  return typeof e == "object" && !Array.isArray(e) ? Ut(e) : null;
423
420
  }
424
- function pt(e) {
421
+ function vt(e) {
425
422
  var t = {};
426
423
  for (var r in e)
427
424
  Object.prototype.hasOwnProperty.call(e, r) && (Jd(r) || Gd(r) || _o(r)) && (t[r] = e[r]);
@@ -471,7 +468,7 @@ var eu = /* @__PURE__ */ Ge((e, t) => {
471
468
  x: 0,
472
469
  y: 0
473
470
  }, f = le("recharts-surface", a);
474
- return /* @__PURE__ */ g.createElement("svg", Qa({}, pt(s), {
471
+ return /* @__PURE__ */ g.createElement("svg", Qa({}, vt(s), {
475
472
  className: f,
476
473
  width: n,
477
474
  height: i,
@@ -514,7 +511,7 @@ var Kt = /* @__PURE__ */ g.forwardRef((e, t) => {
514
511
  } = e, i = ky(e, Ry), A = le("recharts-layer", n);
515
512
  return /* @__PURE__ */ g.createElement("g", Ja({
516
513
  className: A
517
- }, pt(i), {
514
+ }, vt(i), {
518
515
  ref: t
519
516
  }), r);
520
517
  }), Zd = /* @__PURE__ */ _e(null), Ny = () => Ze(Zd);
@@ -1490,7 +1487,7 @@ var gv = {
1490
1487
  className: u,
1491
1488
  cx: l,
1492
1489
  cy: s
1493
- } = A, c = pt(A);
1490
+ } = A, c = vt(A);
1494
1491
  return U(l) && U(s) && U(r) ? /* @__PURE__ */ g.createElement("path", to({}, c, {
1495
1492
  className: le("recharts-symbols", u),
1496
1493
  transform: "translate(".concat(l, ", ").concat(s, ")"),
@@ -3679,7 +3676,7 @@ var F0 = ap(), z0 = ap, H0 = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTE
3679
3676
  if (arguments.length !== 0)
3680
3677
  return typeof arguments[0] == "object" ? Ki : Ki.apply(null, arguments);
3681
3678
  }, B0 = (e) => e && typeof e.match == "function";
3682
- function ht(e, t) {
3679
+ function pt(e, t) {
3683
3680
  function r(...n) {
3684
3681
  if (t) {
3685
3682
  let i = t(...n);
@@ -4333,7 +4330,7 @@ function f1({
4333
4330
  A = n.reducer, a = n.prepare;
4334
4331
  } else
4335
4332
  A = n;
4336
- i.addCase(e, A).exposeCaseReducer(t, A).exposeAction(t, a ? ht(e, a) : ht(e));
4333
+ i.addCase(e, A).exposeCaseReducer(t, A).exposeAction(t, a ? pt(e, a) : pt(e));
4337
4334
  }
4338
4335
  function d1(e) {
4339
4336
  return e._reducerDefinitionType === "asyncThunk";
@@ -4468,7 +4465,7 @@ var b1 = async (e, t) => {
4468
4465
  effect: A
4469
4466
  } = e;
4470
4467
  if (t)
4471
- i = ht(t).match;
4468
+ i = pt(t).match;
4472
4469
  else if (r)
4473
4470
  t = r.type, i = r.match;
4474
4471
  else if (n)
@@ -4520,9 +4517,9 @@ var b1 = async (e, t) => {
4520
4517
  throw n;
4521
4518
  }, 0);
4522
4519
  }
4523
- }, Ip = /* @__PURE__ */ Br(/* @__PURE__ */ ht(`${Jn}/add`), {
4520
+ }, Ip = /* @__PURE__ */ Br(/* @__PURE__ */ pt(`${Jn}/add`), {
4524
4521
  withTypes: () => Ip
4525
- }), I1 = /* @__PURE__ */ ht(`${Jn}/removeAll`), wp = /* @__PURE__ */ Br(/* @__PURE__ */ ht(`${Jn}/remove`), {
4522
+ }), I1 = /* @__PURE__ */ pt(`${Jn}/removeAll`), wp = /* @__PURE__ */ Br(/* @__PURE__ */ pt(`${Jn}/remove`), {
4526
4523
  withTypes: () => wp
4527
4524
  }), w1 = (...e) => {
4528
4525
  console.error(`${Jn}/error`, ...e);
@@ -6400,7 +6397,7 @@ var dx = (e, t, r, n, i, A) => "M".concat(e, ",").concat(i, "v").concat(n, "M").
6400
6397
  width: A,
6401
6398
  height: a
6402
6399
  }, u);
6403
- return !U(t) || !U(r) || !U(A) || !U(a) || !U(n) || !U(i) ? null : /* @__PURE__ */ g.createElement("path", wo({}, pt(l), {
6400
+ return !U(t) || !U(r) || !U(A) || !U(a) || !U(n) || !U(i) ? null : /* @__PURE__ */ g.createElement("path", wo({}, vt(l), {
6404
6401
  className: le("recharts-cross", o),
6405
6402
  d: dx(t, r, A, a, n, i)
6406
6403
  }));
@@ -6868,7 +6865,7 @@ var uc = (e, t, r, n, i) => {
6868
6865
  return null;
6869
6866
  var E = le("recharts-rectangle", s);
6870
6867
  if (!v) {
6871
- var I = pt(t), {
6868
+ var I = vt(t), {
6872
6869
  radius: C
6873
6870
  } = I, k = oc(I, Wx);
6874
6871
  return /* @__PURE__ */ g.createElement("path", iA({}, k, {
@@ -6902,7 +6899,7 @@ var uc = (e, t, r, n, i) => {
6902
6899
  } : Y = {
6903
6900
  strokeDasharray: V
6904
6901
  };
6905
- var $ = pt(t), {
6902
+ var $ = vt(t), {
6906
6903
  radius: Z
6907
6904
  } = $, me = oc($, Ux);
6908
6905
  return /* @__PURE__ */ g.createElement("path", iA({}, me, {
@@ -7255,7 +7252,7 @@ var rP = (e, t) => {
7255
7252
  outerRadius: A,
7256
7253
  startAngle: l,
7257
7254
  endAngle: s
7258
- }), /* @__PURE__ */ g.createElement("path", Oo({}, pt(t), {
7255
+ }), /* @__PURE__ */ g.createElement("path", Oo({}, vt(t), {
7259
7256
  className: f,
7260
7257
  d: v
7261
7258
  }));
@@ -7500,7 +7497,7 @@ function bP(e, t, r) {
7500
7497
  A[n] = e + n * r;
7501
7498
  return A;
7502
7499
  }
7503
- function gt(e, t) {
7500
+ function mt(e, t) {
7504
7501
  switch (arguments.length) {
7505
7502
  case 0:
7506
7503
  break;
@@ -7551,7 +7548,7 @@ function Xu() {
7551
7548
  return arguments.length ? (n = A, i) : n;
7552
7549
  }, i.copy = function() {
7553
7550
  return Xu(t, r).unknown(n);
7554
- }, gt.apply(i, arguments), i;
7551
+ }, mt.apply(i, arguments), i;
7555
7552
  }
7556
7553
  function Du() {
7557
7554
  var e = Xu().unknown(void 0), t = e.domain, r = e.range, n = 0, i = 1, A, a, o = !1, u = 0, l = 0, s = 0.5;
@@ -7586,7 +7583,7 @@ function Du() {
7586
7583
  return arguments.length ? (s = Math.max(0, Math.min(1, f)), c()) : s;
7587
7584
  }, e.copy = function() {
7588
7585
  return Du(t(), [n, i]).round(o).paddingInner(u).paddingOuter(l).align(s);
7589
- }, gt.apply(c(), arguments);
7586
+ }, mt.apply(c(), arguments);
7590
7587
  }
7591
7588
  function oh(e) {
7592
7589
  var t = e.copy;
@@ -7846,28 +7843,28 @@ function xr(e) {
7846
7843
  return e = Or(e), (e < 16 ? "0" : "") + e.toString(16);
7847
7844
  }
7848
7845
  function Tc(e, t, r, n) {
7849
- return n <= 0 ? e = t = r = NaN : r <= 0 || r >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new yt(e, t, r, n);
7846
+ return n <= 0 ? e = t = r = NaN : r <= 0 || r >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new gt(e, t, r, n);
7850
7847
  }
7851
7848
  function lh(e) {
7852
- if (e instanceof yt) return new yt(e.h, e.s, e.l, e.opacity);
7853
- if (e instanceof ti || (e = Wn(e)), !e) return new yt();
7854
- if (e instanceof yt) return e;
7849
+ if (e instanceof gt) return new gt(e.h, e.s, e.l, e.opacity);
7850
+ if (e instanceof ti || (e = Wn(e)), !e) return new gt();
7851
+ if (e instanceof gt) return e;
7855
7852
  e = e.rgb();
7856
7853
  var t = e.r / 255, r = e.g / 255, n = e.b / 255, i = Math.min(t, r, n), A = Math.max(t, r, n), a = NaN, o = A - i, u = (A + i) / 2;
7857
- return o ? (t === A ? a = (r - n) / o + (r < n) * 6 : r === A ? a = (n - t) / o + 2 : a = (t - r) / o + 4, o /= u < 0.5 ? A + i : 2 - A - i, a *= 60) : o = u > 0 && u < 1 ? 0 : a, new yt(a, o, u, e.opacity);
7854
+ return o ? (t === A ? a = (r - n) / o + (r < n) * 6 : r === A ? a = (n - t) / o + 2 : a = (t - r) / o + 4, o /= u < 0.5 ? A + i : 2 - A - i, a *= 60) : o = u > 0 && u < 1 ? 0 : a, new gt(a, o, u, e.opacity);
7858
7855
  }
7859
7856
  function DP(e, t, r, n) {
7860
- return arguments.length === 1 ? lh(e) : new yt(e, t, r, n ?? 1);
7857
+ return arguments.length === 1 ? lh(e) : new gt(e, t, r, n ?? 1);
7861
7858
  }
7862
- function yt(e, t, r, n) {
7859
+ function gt(e, t, r, n) {
7863
7860
  this.h = +e, this.s = +t, this.l = +r, this.opacity = +n;
7864
7861
  }
7865
- ju(yt, DP, uh(ti, {
7862
+ ju(gt, DP, uh(ti, {
7866
7863
  brighter(e) {
7867
- return e = e == null ? oA : Math.pow(oA, e), new yt(this.h, this.s, this.l * e, this.opacity);
7864
+ return e = e == null ? oA : Math.pow(oA, e), new gt(this.h, this.s, this.l * e, this.opacity);
7868
7865
  },
7869
7866
  darker(e) {
7870
- return e = e == null ? Nn : Math.pow(Nn, e), new yt(this.h, this.s, this.l * e, this.opacity);
7867
+ return e = e == null ? Nn : Math.pow(Nn, e), new gt(this.h, this.s, this.l * e, this.opacity);
7871
7868
  },
7872
7869
  rgb() {
7873
7870
  var e = this.h % 360 + (this.h < 0) * 360, t = isNaN(e) || isNaN(this.s) ? 0 : this.s, r = this.l, n = r + (r < 0.5 ? r : 1 - r) * t, i = 2 * r - n;
@@ -7879,7 +7876,7 @@ ju(yt, DP, uh(ti, {
7879
7876
  );
7880
7877
  },
7881
7878
  clamp() {
7882
- return new yt(qc(this.h), Ii(this.s), Ii(this.l), uA(this.opacity));
7879
+ return new gt(qc(this.h), Ii(this.s), Ii(this.l), uA(this.opacity));
7883
7880
  },
7884
7881
  displayable() {
7885
7882
  return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
@@ -8303,7 +8300,7 @@ function dh() {
8303
8300
  var e = Mu();
8304
8301
  return e.copy = function() {
8305
8302
  return ri(e, dh());
8306
- }, gt.apply(e, arguments), dr(e);
8303
+ }, mt.apply(e, arguments), dr(e);
8307
8304
  }
8308
8305
  function vh(e) {
8309
8306
  var t;
@@ -8397,7 +8394,7 @@ function Wu(e) {
8397
8394
  }
8398
8395
  function hh() {
8399
8396
  const e = Wu(na()).domain([1, 10]);
8400
- return e.copy = () => ri(e, hh()).base(e.base()), gt.apply(e, arguments), e;
8397
+ return e.copy = () => ri(e, hh()).base(e.base()), mt.apply(e, arguments), e;
8401
8398
  }
8402
8399
  function Uc(e) {
8403
8400
  return function(t) {
@@ -8419,7 +8416,7 @@ function mh() {
8419
8416
  var e = Uu(na());
8420
8417
  return e.copy = function() {
8421
8418
  return ri(e, mh()).constant(e.constant());
8422
- }, gt.apply(e, arguments);
8419
+ }, mt.apply(e, arguments);
8423
8420
  }
8424
8421
  function Fc(e) {
8425
8422
  return function(t) {
@@ -8445,7 +8442,7 @@ function Fu() {
8445
8442
  var e = Ku(na());
8446
8443
  return e.copy = function() {
8447
8444
  return ri(e, Fu()).exponent(e.exponent());
8448
- }, gt.apply(e, arguments), e;
8445
+ }, mt.apply(e, arguments), e;
8449
8446
  }
8450
8447
  function vI() {
8451
8448
  return Fu.apply(null, arguments).exponent(0.5);
@@ -8478,7 +8475,7 @@ function gh() {
8478
8475
  return arguments.length ? (n = A, i) : n;
8479
8476
  }, i.copy = function() {
8480
8477
  return gh(e.domain(), t).round(r).clamp(e.clamp()).unknown(n);
8481
- }, gt.apply(i, arguments), dr(i);
8478
+ }, mt.apply(i, arguments), dr(i);
8482
8479
  }
8483
8480
  function yh() {
8484
8481
  var e = [], t = [], r = [], n;
@@ -8509,7 +8506,7 @@ function yh() {
8509
8506
  return r.slice();
8510
8507
  }, A.copy = function() {
8511
8508
  return yh().domain(e).range(t).unknown(n);
8512
- }, gt.apply(A, arguments);
8509
+ }, mt.apply(A, arguments);
8513
8510
  }
8514
8511
  function bh() {
8515
8512
  var e = 0, t = 1, r = 1, n = [0.5], i = [0, 1], A;
@@ -8534,7 +8531,7 @@ function bh() {
8534
8531
  return n.slice();
8535
8532
  }, a.copy = function() {
8536
8533
  return bh().domain([e, t]).range(i).unknown(A);
8537
- }, gt.apply(dr(a), arguments);
8534
+ }, mt.apply(dr(a), arguments);
8538
8535
  }
8539
8536
  function Eh() {
8540
8537
  var e = [0.5], t = [0, 1], r, n = 1;
@@ -8552,7 +8549,7 @@ function Eh() {
8552
8549
  return arguments.length ? (r = A, i) : r;
8553
8550
  }, i.copy = function() {
8554
8551
  return Eh().domain(e).range(t).unknown(r);
8555
- }, gt.apply(i, arguments);
8552
+ }, mt.apply(i, arguments);
8556
8553
  }
8557
8554
  const Ra = /* @__PURE__ */ new Date(), ka = /* @__PURE__ */ new Date();
8558
8555
  function xe(e, t, r, n) {
@@ -8592,7 +8589,7 @@ dA.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ?
8592
8589
  t.setTime(+t + r * e);
8593
8590
  }, (t, r) => (r - t) / e) : dA);
8594
8591
  dA.range;
8595
- const Mt = 1e3, vt = Mt * 60, Nt = vt * 60, zt = Nt * 24, zu = zt * 7, Hc = zt * 30, Ma = zt * 365, Pr = xe((e) => {
8592
+ const Mt = 1e3, dt = Mt * 60, Nt = dt * 60, zt = Nt * 24, zu = zt * 7, Hc = zt * 30, Ma = zt * 365, Pr = xe((e) => {
8596
8593
  e.setTime(e - e.getMilliseconds());
8597
8594
  }, (e, t) => {
8598
8595
  e.setTime(+e + t * Mt);
@@ -8601,17 +8598,17 @@ Pr.range;
8601
8598
  const Hu = xe((e) => {
8602
8599
  e.setTime(e - e.getMilliseconds() - e.getSeconds() * Mt);
8603
8600
  }, (e, t) => {
8604
- e.setTime(+e + t * vt);
8605
- }, (e, t) => (t - e) / vt, (e) => e.getMinutes());
8601
+ e.setTime(+e + t * dt);
8602
+ }, (e, t) => (t - e) / dt, (e) => e.getMinutes());
8606
8603
  Hu.range;
8607
8604
  const Bu = xe((e) => {
8608
8605
  e.setUTCSeconds(0, 0);
8609
8606
  }, (e, t) => {
8610
- e.setTime(+e + t * vt);
8611
- }, (e, t) => (t - e) / vt, (e) => e.getUTCMinutes());
8607
+ e.setTime(+e + t * dt);
8608
+ }, (e, t) => (t - e) / dt, (e) => e.getUTCMinutes());
8612
8609
  Bu.range;
8613
8610
  const Yu = xe((e) => {
8614
- e.setTime(e - e.getMilliseconds() - e.getSeconds() * Mt - e.getMinutes() * vt);
8611
+ e.setTime(e - e.getMilliseconds() - e.getSeconds() * Mt - e.getMinutes() * dt);
8615
8612
  }, (e, t) => {
8616
8613
  e.setTime(+e + t * Nt);
8617
8614
  }, (e, t) => (t - e) / Nt, (e) => e.getHours());
@@ -8625,7 +8622,7 @@ Qu.range;
8625
8622
  const ni = xe(
8626
8623
  (e) => e.setHours(0, 0, 0, 0),
8627
8624
  (e, t) => e.setDate(e.getDate() + t),
8628
- (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * vt) / zt,
8625
+ (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * dt) / zt,
8629
8626
  (e) => e.getDate() - 1
8630
8627
  );
8631
8628
  ni.range;
@@ -8646,7 +8643,7 @@ function kr(e) {
8646
8643
  t.setDate(t.getDate() - (t.getDay() + 7 - e) % 7), t.setHours(0, 0, 0, 0);
8647
8644
  }, (t, r) => {
8648
8645
  t.setDate(t.getDate() + r * 7);
8649
- }, (t, r) => (r - t - (r.getTimezoneOffset() - t.getTimezoneOffset()) * vt) / zu);
8646
+ }, (t, r) => (r - t - (r.getTimezoneOffset() - t.getTimezoneOffset()) * dt) / zu);
8650
8647
  }
8651
8648
  const Aa = kr(0), vA = kr(1), hI = kr(2), mI = kr(3), en = kr(4), gI = kr(5), yI = kr(6);
8652
8649
  Aa.range;
@@ -8711,10 +8708,10 @@ function Ph(e, t, r, n, i, A) {
8711
8708
  [Pr, 5, 5 * Mt],
8712
8709
  [Pr, 15, 15 * Mt],
8713
8710
  [Pr, 30, 30 * Mt],
8714
- [A, 1, vt],
8715
- [A, 5, 5 * vt],
8716
- [A, 15, 15 * vt],
8717
- [A, 30, 30 * vt],
8711
+ [A, 1, dt],
8712
+ [A, 5, 5 * dt],
8713
+ [A, 15, 15 * dt],
8714
+ [A, 30, 30 * dt],
8718
8715
  [i, 1, Nt],
8719
8716
  [i, 3, 3 * Nt],
8720
8717
  [i, 6, 6 * Nt],
@@ -9256,10 +9253,10 @@ function Zu(e, t, r, n, i, A, a, o, u, l) {
9256
9253
  }, s;
9257
9254
  }
9258
9255
  function V9() {
9259
- return gt.apply(Zu(SI, OI, Ht, Ju, Aa, ni, Yu, Hu, Pr, Ch).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
9256
+ return mt.apply(Zu(SI, OI, Ht, Ju, Aa, ni, Yu, Hu, Pr, Ch).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
9260
9257
  }
9261
9258
  function X9() {
9262
- return gt.apply(Zu(II, wI, Bt, Gu, aa, ia, Qu, Bu, Pr, Th).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
9259
+ return mt.apply(Zu(II, wI, Bt, Gu, aa, ia, Qu, Bu, Pr, Th).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
9263
9260
  }
9264
9261
  function oa() {
9265
9262
  var e = 0, t = 1, r, n, i, A, a = Ue, o = !1, u;
@@ -9544,7 +9541,7 @@ var ln = 1e9, M9 = {
9544
9541
  // The natural logarithm of 10.
9545
9542
  // 115 digits
9546
9543
  LN10: "2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"
9547
- }, tl, ce = !0, mt = "[DecimalError] ", Cr = mt + "Invalid argument: ", el = mt + "Exponent out of range: ", sn = Math.floor, yr = Math.pow, N9 = /^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i, it, Se = 1e7, ue = 7, Wh = 9007199254740991, hA = sn(Wh / ue), W = {};
9544
+ }, tl, ce = !0, ht = "[DecimalError] ", Cr = ht + "Invalid argument: ", el = ht + "Exponent out of range: ", sn = Math.floor, yr = Math.pow, N9 = /^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i, it, Se = 1e7, ue = 7, Wh = 9007199254740991, hA = sn(Wh / ue), W = {};
9548
9545
  W.absoluteValue = W.abs = function() {
9549
9546
  var e = new this.constructor(this);
9550
9547
  return e.s && (e.s = 1), e;
@@ -9603,8 +9600,8 @@ W.logarithm = W.log = function(e) {
9603
9600
  var t, r = this, n = r.constructor, i = n.precision, A = i + 5;
9604
9601
  if (e === void 0)
9605
9602
  e = new n(10);
9606
- else if (e = new n(e), e.s < 1 || e.eq(it)) throw Error(mt + "NaN");
9607
- if (r.s < 1) throw Error(mt + (r.s ? "NaN" : "-Infinity"));
9603
+ else if (e = new n(e), e.s < 1 || e.eq(it)) throw Error(ht + "NaN");
9604
+ if (r.s < 1) throw Error(ht + (r.s ? "NaN" : "-Infinity"));
9608
9605
  return r.eq(it) ? new n(0) : (ce = !1, t = Lt(Kn(r, A), Kn(e, A), A), ce = !0, ie(t, i));
9609
9606
  };
9610
9607
  W.minus = W.sub = function(e) {
@@ -9613,7 +9610,7 @@ W.minus = W.sub = function(e) {
9613
9610
  };
9614
9611
  W.modulo = W.mod = function(e) {
9615
9612
  var t, r = this, n = r.constructor, i = n.precision;
9616
- if (e = new n(e), !e.s) throw Error(mt + "NaN");
9613
+ if (e = new n(e), !e.s) throw Error(ht + "NaN");
9617
9614
  return r.s ? (ce = !1, t = Lt(r, e, 0, 1).times(e), ce = !0, r.minus(t)) : ie(new n(r), i);
9618
9615
  };
9619
9616
  W.naturalExponential = W.exp = function() {
@@ -9643,7 +9640,7 @@ W.squareRoot = W.sqrt = function() {
9643
9640
  var e, t, r, n, i, A, a, o = this, u = o.constructor;
9644
9641
  if (o.s < 1) {
9645
9642
  if (!o.s) return new u(0);
9646
- throw Error(mt + "NaN");
9643
+ throw Error(ht + "NaN");
9647
9644
  }
9648
9645
  for (e = ge(o), ce = !1, i = Math.sqrt(+o), i == 0 || i == 1 / 0 ? (t = Ct(o.d), (t.length + e) % 2 == 0 && (t += "0"), i = Math.sqrt(t), e = sn((e + 1) / 2) - (e < 0 || e % 2), i == 1 / 0 ? t = "5e" + e : (t = i.toExponential(), t = t.slice(0, t.indexOf("e") + 1) + e), n = new u(t)) : n = new u(i.toString()), r = u.precision, i = a = r + 3; ; )
9649
9646
  if (A = n, n = A.plus(Lt(o, A, a + 2)).times(0.5), Ct(A.d).slice(0, a) === (t = Ct(n.d)).slice(0, a)) {
@@ -9693,7 +9690,7 @@ W.toPower = W.pow = function(e) {
9693
9690
  var t, r, n, i, A, a, o = this, u = o.constructor, l = 12, s = +(e = new u(e));
9694
9691
  if (!e.s) return new u(it);
9695
9692
  if (o = new u(o), !o.s) {
9696
- if (e.s < 1) throw Error(mt + "Infinity");
9693
+ if (e.s < 1) throw Error(ht + "Infinity");
9697
9694
  return o;
9698
9695
  }
9699
9696
  if (o.eq(it)) return o;
@@ -9704,7 +9701,7 @@ W.toPower = W.pow = function(e) {
9704
9701
  o = o.times(o), Af(o.d, t);
9705
9702
  return ce = !0, e.s < 0 ? new u(it).div(i) : ie(i, n);
9706
9703
  }
9707
- } else if (A < 0) throw Error(mt + "NaN");
9704
+ } else if (A < 0) throw Error(ht + "NaN");
9708
9705
  return A = A < 0 && e.d[Math.max(t, r)] & 1 ? -1 : 1, o.s = 1, ce = !1, i = e.times(Kn(o, n + l)), ce = !0, i = Kh(i), i.s = A, i;
9709
9706
  };
9710
9707
  W.toPrecision = function(e, t) {
@@ -9774,7 +9771,7 @@ var Lt = /* @__PURE__ */ function() {
9774
9771
  return function(n, i, A, a) {
9775
9772
  var o, u, l, s, c, f, d, p, v, h, m, y, b, x, P, E, I, C, k = n.constructor, M = n.s == i.s ? 1 : -1, D = n.d, S = i.d;
9776
9773
  if (!n.s) return new k(n);
9777
- if (!i.s) throw Error(mt + "Division by zero");
9774
+ if (!i.s) throw Error(ht + "Division by zero");
9778
9775
  for (u = n.e - i.e, I = S.length, P = D.length, d = new k(M), p = d.d = [], l = 0; S[l] == (D[l] || 0); ) ++l;
9779
9776
  if (S[l] > (D[l] || 0) && --u, A == null ? y = A = k.precision : a ? y = A + (ge(n) - ge(i)) + 1 : y = A, y < 0) return new k(0);
9780
9777
  if (y = y / ue + 2 | 0, l = 0, I == 1)
@@ -9810,7 +9807,7 @@ function ge(e) {
9810
9807
  }
9811
9808
  function Wa(e, t, r) {
9812
9809
  if (t > e.LN10.sd())
9813
- throw ce = !0, r && (e.precision = r), Error(mt + "LN10 precision limit exceeded");
9810
+ throw ce = !0, r && (e.precision = r), Error(ht + "LN10 precision limit exceeded");
9814
9811
  return ie(new e(e.LN10), t);
9815
9812
  }
9816
9813
  function Ar(e) {
@@ -9819,7 +9816,7 @@ function Ar(e) {
9819
9816
  }
9820
9817
  function Kn(e, t) {
9821
9818
  var r, n, i, A, a, o, u, l, s, c = 1, f = 10, d = e, p = d.d, v = d.constructor, h = v.precision;
9822
- if (d.s < 1) throw Error(mt + (d.s ? "NaN" : "-Infinity"));
9819
+ if (d.s < 1) throw Error(ht + (d.s ? "NaN" : "-Infinity"));
9823
9820
  if (d.eq(it)) return new v(0);
9824
9821
  if (t == null ? (ce = !1, l = h) : l = t, d.eq(10))
9825
9822
  return t == null && (ce = !0), Wa(v, l);
@@ -9949,7 +9946,7 @@ function zh(e) {
9949
9946
  }
9950
9947
  function L9(e) {
9951
9948
  if (!e || typeof e != "object")
9952
- throw Error(mt + "Object expected");
9949
+ throw Error(ht + "Object expected");
9953
9950
  var t, r, n, i = [
9954
9951
  "precision",
9955
9952
  1,
@@ -12947,7 +12944,7 @@ var wg = (e, t, r, n) => e.reduce((i, A) => {
12947
12944
  } = c;
12948
12945
  E.push("scale(".concat(U(k) && U(C) ? k / C : 1, ")"));
12949
12946
  }
12950
- return v && E.push("rotate(".concat(v, ", ").concat(b, ", ").concat(x, ")")), E.length && (y.transform = E.join(" ")), /* @__PURE__ */ g.createElement("text", Uo({}, pt(y), {
12947
+ return v && E.push("rotate(".concat(v, ", ").concat(b, ", ").concat(x, ")")), E.length && (y.transform = E.join(" ")), /* @__PURE__ */ g.createElement("text", Uo({}, vt(y), {
12951
12948
  ref: t,
12952
12949
  x: b,
12953
12950
  y: x,
@@ -13358,7 +13355,7 @@ function ar(e) {
13358
13355
  return v;
13359
13356
  } else
13360
13357
  v = $O(t);
13361
- var I = pt(t);
13358
+ var I = vt(t);
13362
13359
  if (ji(p)) {
13363
13360
  if (i === "insideStart" || i === "insideEnd" || i === "end")
13364
13361
  return t2(t, i, v, I, p);
@@ -13512,7 +13509,7 @@ function Ri(e) {
13512
13509
  };
13513
13510
  return /* @__PURE__ */ g.createElement(ar, EA({
13514
13511
  key: "label-".concat(d)
13515
- }, pt(f), u, h, {
13512
+ }, vt(f), u, h, {
13516
13513
  /*
13517
13514
  * Prefer to use the explicit fill from LabelList props.
13518
13515
  * Only in an absence of that, fall back to the fill of the entry.
@@ -13848,7 +13845,7 @@ var td = (e, t, r, n, i) => {
13848
13845
  return null;
13849
13846
  var P = le("recharts-trapezoid", o);
13850
13847
  if (!c)
13851
- return /* @__PURE__ */ g.createElement("g", null, /* @__PURE__ */ g.createElement("path", xA({}, pt(t), {
13848
+ return /* @__PURE__ */ g.createElement("g", null, /* @__PURE__ */ g.createElement("path", xA({}, vt(t), {
13852
13849
  className: P,
13853
13850
  d: td(r, n, i, A, a)
13854
13851
  })));
@@ -13870,7 +13867,7 @@ var td = (e, t, r, n, i) => {
13870
13867
  } : {
13871
13868
  strokeDasharray: D
13872
13869
  };
13873
- return /* @__PURE__ */ g.createElement("path", xA({}, pt(t), {
13870
+ return /* @__PURE__ */ g.createElement("path", xA({}, vt(t), {
13874
13871
  className: P,
13875
13872
  d: td(X, N, V, T, R),
13876
13873
  ref: f,
@@ -17056,7 +17053,7 @@ var dq = (e, t) => t, jl = w([dq, Ae, im, Ve, ig, rr, o3, Ce], v3), Rl = (e) =>
17056
17053
  chartX: Math.round((e.clientX - t.left) / r),
17057
17054
  chartY: Math.round((e.clientY - t.top) / n)
17058
17055
  };
17059
- }, ay = ht("mouseClick"), oy = Gn();
17056
+ }, ay = pt("mouseClick"), oy = Gn();
17060
17057
  oy.startListening({
17061
17058
  actionCreator: ay,
17062
17059
  effect: (e, t) => {
@@ -17068,7 +17065,7 @@ oy.startListening({
17068
17065
  }));
17069
17066
  }
17070
17067
  });
17071
- var Jo = ht("mouseMove"), uy = Gn(), Ti = null;
17068
+ var Jo = pt("mouseMove"), uy = Gn(), Ti = null;
17072
17069
  uy.startListening({
17073
17070
  actionCreator: Jo,
17074
17071
  effect: (e, t) => {
@@ -17123,7 +17120,7 @@ var Pd = {
17123
17120
  reducers: gq
17124
17121
  }), {
17125
17122
  updatePolarOptions: RV
17126
- } = sy.actions, yq = sy.reducer, cy = ht("keyDown"), fy = ht("focus"), kl = Gn();
17123
+ } = sy.actions, yq = sy.reducer, cy = pt("keyDown"), fy = pt("focus"), kl = Gn();
17127
17124
  kl.startListening({
17128
17125
  actionCreator: cy,
17129
17126
  effect: (e, t) => {
@@ -17178,7 +17175,7 @@ kl.startListening({
17178
17175
  }
17179
17176
  }
17180
17177
  });
17181
- var ct = ht("externalEvent"), dy = Gn(), Ya = /* @__PURE__ */ new Map();
17178
+ var ct = pt("externalEvent"), dy = Gn(), Ya = /* @__PURE__ */ new Map();
17182
17179
  dy.startListening({
17183
17180
  actionCreator: ct,
17184
17181
  effect: (e, t) => {
@@ -17220,7 +17217,7 @@ var bq = w([vn], (e) => e.tooltipItemPayloads), Eq = w([bq, (e, t) => t, (e, t,
17220
17217
  return i(t);
17221
17218
  }
17222
17219
  }
17223
- }), vy = ht("touchMove"), py = Gn();
17220
+ }), vy = pt("touchMove"), py = Gn();
17224
17221
  py.startListening({
17225
17222
  actionCreator: vy,
17226
17223
  effect: (e, t) => {
@@ -17898,7 +17895,7 @@ const tV = ({
17898
17895
  tooltipStyle: a,
17899
17896
  tooltipCursor: o = { fill: "transparent" },
17900
17897
  legendProps: u
17901
- }) => /* @__PURE__ */ J("div", { className: "flex flex-col justify-center items-center", children: /* @__PURE__ */ dt(eV, { width: n, height: i, data: e, children: [
17898
+ }) => /* @__PURE__ */ J("div", { className: "flex flex-col justify-center items-center", children: /* @__PURE__ */ yt(eV, { width: n, height: i, data: e, children: [
17902
17899
  /* @__PURE__ */ J(Jg, { strokeDasharray: "3 3" }),
17903
17900
  /* @__PURE__ */ J(iy, { dataKey: t }),
17904
17901
  /* @__PURE__ */ J(Ay, { width: A }),
@@ -17944,12 +17941,12 @@ const tV = ({
17944
17941
  }
17945
17942
  }
17946
17943
  )
17947
- ] }) }), rV = ({ periodoDesde: e, periodoHasta: t, setPeriodoDesde: r, setPeriodoHasta: n, onSearch: i }) => /* @__PURE__ */ dt("div", { children: [
17948
- /* @__PURE__ */ dt("div", { className: "mb-2 w-40", children: [
17944
+ ] }) }), rV = ({ periodoDesde: e, periodoHasta: t, setPeriodoDesde: r, setPeriodoHasta: n, onSearch: i }) => /* @__PURE__ */ yt("div", { children: [
17945
+ /* @__PURE__ */ yt("div", { className: "mb-2 w-40", children: [
17949
17946
  /* @__PURE__ */ J("label", { htmlFor: "periodoDesde", children: "Periodo desde" }),
17950
17947
  /* @__PURE__ */ J(Nl, { placeholder: "Periodo desde", name: "periodoDesde", value: e, onChange: (A) => r(Number(A.target.value)) })
17951
17948
  ] }),
17952
- /* @__PURE__ */ dt("div", { className: "mb-2 w-40", children: [
17949
+ /* @__PURE__ */ yt("div", { className: "mb-2 w-40", children: [
17953
17950
  /* @__PURE__ */ J("label", { htmlFor: "periodoHasta", children: "Periodo hasta" }),
17954
17951
  /* @__PURE__ */ J(Nl, { placeholder: "Periodo hasta", name: "periodoHasta", value: t, onChange: (A) => n(Number(A.target.value)) })
17955
17952
  ] }),
@@ -18264,9 +18261,9 @@ const iV = "https://intranet.osocna.com.ar/", kV = () => {
18264
18261
  });
18265
18262
  u && a(u);
18266
18263
  };
18267
- return /* @__PURE__ */ dt(gy, { children: [
18264
+ return /* @__PURE__ */ yt(gy, { children: [
18268
18265
  /* @__PURE__ */ J("h2", { className: "text-xl font-semibold mb-6 pb-2 text-center", children: "Totales por período" }),
18269
- /* @__PURE__ */ dt("div", { className: "flex flex-row justify-evenly", children: [
18266
+ /* @__PURE__ */ yt("div", { className: "flex flex-row justify-evenly", children: [
18270
18267
  /* @__PURE__ */ J("div", { className: "mt-2", children: /* @__PURE__ */ J(rV, { periodoDesde: t, periodoHasta: n, setPeriodoDesde: r, setPeriodoHasta: i, onSearch: o }) }),
18271
18268
  /* @__PURE__ */ J("div", { className: "mt-2", children: A.length > 0 ? /* @__PURE__ */ J(
18272
18269
  tV,
@@ -18507,9 +18504,9 @@ const Dd = () => ({
18507
18504
  })
18508
18505
  }), oV = () => {
18509
18506
  const { list: e } = xy();
18510
- return /* @__PURE__ */ dt("div", { children: [
18507
+ return /* @__PURE__ */ yt("div", { children: [
18511
18508
  /* @__PURE__ */ J("h1", { children: "Listado de notificaciones del grupo familiar" }),
18512
- e?.map((t) => /* @__PURE__ */ dt("div", { className: "pb-2", children: [
18509
+ e?.map((t) => /* @__PURE__ */ yt("div", { className: "pb-2", children: [
18513
18510
  /* @__PURE__ */ J("p", { children: t.persona.name }),
18514
18511
  /* @__PURE__ */ J("p", { children: t.mensaje })
18515
18512
  ] }, t.idNotificacion))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "osocna-react-tailwind",
3
- "version": "0.0.34",
3
+ "version": "0.0.35",
4
4
  "description": "A React component library built with Tailwind CSS v4",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",