react-ecosistema-unp 1.0.6 → 1.1.0

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.
@@ -1,5 +1,5 @@
1
1
  import { jsxs as n, jsx as r } from "react/jsx-runtime";
2
- import { g as s } from "../../../index-D_9gBL0I.js";
2
+ import { m as s } from "../../../index-B8_x9tRA.js";
3
3
  import '../../../assets/Bootstrap.css';/* empty css */
4
4
  import { B as a } from "../../../Button-DMwpnJlD.js";
5
5
  const d = {
@@ -1,6 +1,6 @@
1
1
  import { jsxs as n, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as s, useRef as m, useEffect as d } from "react";
3
- import { j, k as u } from "../../index-D_9gBL0I.js";
3
+ import { p as j, q as u } from "../../index-B8_x9tRA.js";
4
4
  import '../../assets/TarjetaInfo.css';const w = ({ icon: r, label: c, show: l = !1, children: h }) => {
5
5
  const [t, o] = s(l), [f, i] = s(0), a = m(null);
6
6
  return d(() => {
@@ -1,59 +1,83 @@
1
1
  import { G as t } from "./iconBase-LROS5hdG.js";
2
2
  function l(c) {
3
- return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M105.1 202.6c7.7-21.8 20.2-42.3 37.8-59.8c62.5-62.5 163.8-62.5 226.3 0L386.3 160 352 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l111.5 0c0 0 0 0 0 0l.4 0c17.7 0 32-14.3 32-32l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 35.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5zM39 289.3c-5 1.5-9.8 4.2-13.7 8.2c-4 4-6.7 8.8-8.1 14c-.3 1.2-.6 2.5-.8 3.8c-.3 1.7-.4 3.4-.4 5.1L16 432c0 17.7 14.3 32 32 32s32-14.3 32-32l0-35.1 17.6 17.5c0 0 0 0 0 0c87.5 87.4 229.3 87.4 316.7 0c24.4-24.4 42.1-53.1 52.9-83.8c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.5 62.5-163.8 62.5-226.3 0l-.1-.1L125.6 352l34.4 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L48.4 288c-1.6 0-3.2 .1-4.8 .3s-3.1 .5-4.6 1z" }, child: [] }] })(c);
3
+ return t({ tag: "svg", attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M151.6 469.6C145.5 476.2 137 480 128 480s-17.5-3.8-23.6-10.4l-88-96c-11.9-13-11.1-33.3 2-45.2s33.3-11.1 45.2 2L96 365.7 96 64c0-17.7 14.3-32 32-32s32 14.3 32 32l0 301.7 32.4-35.4c11.9-13 32.2-13.9 45.2-2s13.9 32.2 2 45.2l-88 96zM320 480c-17.7 0-32-14.3-32-32s14.3-32 32-32l32 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-32 0zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-96 0zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32l160 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-160 0zm0-128c-17.7 0-32-14.3-32-32s14.3-32 32-32l224 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L320 96z" }, child: [] }] })(c);
4
+ }
5
+ function s(c) {
6
+ return t({ tag: "svg", attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M151.6 42.4C145.5 35.8 137 32 128 32s-17.5 3.8-23.6 10.4l-88 96c-11.9 13-11.1 33.3 2 45.2s33.3 11.1 45.2-2L96 146.3 96 448c0 17.7 14.3 32 32 32s32-14.3 32-32l0-301.7 32.4 35.4c11.9 13 32.2 13.9 45.2 2s13.9-32.2 2-45.2l-88-96zM320 32c-17.7 0-32 14.3-32 32s14.3 32 32 32l32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32l160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-160 0zm0 128c-17.7 0-32 14.3-32 32s14.3 32 32 32l224 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-224 0z" }, child: [] }] })(c);
4
7
  }
5
8
  function r(c) {
6
- return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z" }, child: [] }] })(c);
9
+ return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M105.1 202.6c7.7-21.8 20.2-42.3 37.8-59.8c62.5-62.5 163.8-62.5 226.3 0L386.3 160 352 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l111.5 0c0 0 0 0 0 0l.4 0c17.7 0 32-14.3 32-32l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 35.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5zM39 289.3c-5 1.5-9.8 4.2-13.7 8.2c-4 4-6.7 8.8-8.1 14c-.3 1.2-.6 2.5-.8 3.8c-.3 1.7-.4 3.4-.4 5.1L16 432c0 17.7 14.3 32 32 32s32-14.3 32-32l0-35.1 17.6 17.5c0 0 0 0 0 0c87.5 87.4 229.3 87.4 316.7 0c24.4-24.4 42.1-53.1 52.9-83.8c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.5 62.5-163.8 62.5-226.3 0l-.1-.1L125.6 352l34.4 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L48.4 288c-1.6 0-3.2 .1-4.8 .3s-3.1 .5-4.6 1z" }, child: [] }] })(c);
7
10
  }
8
11
  function i(c) {
12
+ return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192c41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192c-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256z" }, child: [] }] })(c);
13
+ }
14
+ function n(c) {
15
+ return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z" }, child: [] }] })(c);
16
+ }
17
+ function h(c) {
9
18
  return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 0a256 256 0 1 0 0 512A256 256 0 1 0 256 0zM135 241c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l87 87 87-87c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9L273 345c-9.4 9.4-24.6 9.4-33.9 0L135 241z" }, child: [] }] })(c);
10
19
  }
11
- function s(c) {
20
+ function g(c) {
12
21
  return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM241 377c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l87-87-87-87c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0L345 239c9.4 9.4 9.4 24.6 0 33.9L241 377z" }, child: [] }] })(c);
13
22
  }
14
- function n(c) {
23
+ function d(c) {
15
24
  return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 0a256 256 0 1 1 0 512A256 256 0 1 1 256 0zM232 120l0 136c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2 280 120c0-13.3-10.7-24-24-24s-24 10.7-24 24z" }, child: [] }] })(c);
16
25
  }
17
- function h(c) {
26
+ function z(c) {
27
+ return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM199.4 312.6c31.2 31.2 81.9 31.2 113.1 0c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9c-50 50-131 50-181 0s-50-131 0-181s131-50 181 0c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0c-31.2-31.2-81.9-31.2-113.1 0s-31.2 81.9 0 113.1z" }, child: [] }] })(c);
28
+ }
29
+ function e(c) {
30
+ return t({ tag: "svg", attr: { viewBox: "0 0 640 512" }, child: [{ tag: "path", attr: { d: "M128 0C110.3 0 96 14.3 96 32l0 192 96 0 0-32c0-35.3 28.7-64 64-64l224 0 0-96c0-17.7-14.3-32-32-32L128 0zM256 160c-17.7 0-32 14.3-32 32l0 32 96 0c35.3 0 64 28.7 64 64l0 128 192 0c17.7 0 32-14.3 32-32l0-192c0-17.7-14.3-32-32-32l-320 0zm240 64l32 0c8.8 0 16 7.2 16 16l0 32c0 8.8-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16l0-32c0-8.8 7.2-16 16-16zM64 256c-17.7 0-32 14.3-32 32l0 13L187.1 415.9c1.4 1 3.1 1.6 4.9 1.6s3.5-.6 4.9-1.6L352 301l0-13c0-17.7-14.3-32-32-32L64 256zm288 84.8L216 441.6c-6.9 5.1-15.3 7.9-24 7.9s-17-2.8-24-7.9L32 340.8 32 480c0 17.7 14.3 32 32 32l256 0c17.7 0 32-14.3 32-32l0-139.2z" }, child: [] }] })(c);
31
+ }
32
+ function o(c) {
18
33
  return t({ tag: "svg", attr: { viewBox: "0 0 640 512" }, child: [{ tag: "path", attr: { d: "M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z" }, child: [] }] })(c);
19
34
  }
20
- function g(c) {
35
+ function M(c) {
21
36
  return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M64 480H448c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64H288c-10.1 0-19.6-4.7-25.6-12.8L243.2 57.6C231.1 41.5 212.1 32 192 32H64C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64z" }, child: [] }] })(c);
22
37
  }
23
- function d(c) {
38
+ function L(c) {
24
39
  return t({ tag: "svg", attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M128 136c0-22.1-17.9-40-40-40L40 96C17.9 96 0 113.9 0 136l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48zm0 192c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48zm32-192l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40zM288 328c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48zm32-192l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40zM448 328c0-22.1-17.9-40-40-40l-48 0c-22.1 0-40 17.9-40 40l0 48c0 22.1 17.9 40 40 40l48 0c22.1 0 40-17.9 40-40l0-48z" }, child: [] }] })(c);
25
40
  }
26
- function e(c) {
41
+ function v(c) {
27
42
  return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z" }, child: [] }] })(c);
28
43
  }
29
- function o(c) {
44
+ function u(c) {
45
+ return t({ tag: "svg", attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M112 48a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm40 304l0 128c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-223.1L59.4 304.5c-9.1 15.1-28.8 20-43.9 10.9s-20-28.8-10.9-43.9l58.3-97c17.4-28.9 48.6-46.6 82.3-46.6l29.7 0c33.7 0 64.9 17.7 82.3 46.6l44.9 74.7c-16.1 17.6-28.6 38.5-36.6 61.5c-1.9-1.8-3.5-3.9-4.9-6.3L232 256.9 232 480c0 17.7-14.3 32-32 32s-32-14.3-32-32l0-128-16 0zM432 224a144 144 0 1 1 0 288 144 144 0 1 1 0-288zm0 240a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm0-192c-8.8 0-16 7.2-16 16l0 80c0 8.8 7.2 16 16 16s16-7.2 16-16l0-80c0-8.8-7.2-16-16-16z" }, child: [] }] })(c);
46
+ }
47
+ function C(c) {
30
48
  return t({ tag: "svg", attr: { viewBox: "0 0 640 512" }, child: [{ tag: "path", attr: { d: "M384 32l128 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L398.4 96c-5.2 25.8-22.9 47.1-46.4 57.3L352 448l160 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-192 0-192 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l160 0 0-294.7c-23.5-10.3-41.2-31.6-46.4-57.3L128 96c-17.7 0-32-14.3-32-32s14.3-32 32-32l128 0c14.6-19.4 37.8-32 64-32s49.4 12.6 64 32zm55.6 288l144.9 0L512 195.8 439.6 320zM512 416c-62.9 0-115.2-34-126-78.9c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C627.2 382 574.9 416 512 416zM126.8 195.8L54.4 320l144.9 0L126.8 195.8zM.9 337.1c-2.6-11 1-22.3 6.7-32.1l95.2-163.2c5-8.6 14.2-13.8 24.1-13.8s19.1 5.3 24.1 13.8l95.2 163.2c5.7 9.8 9.3 21.1 6.7 32.1C242 382 189.7 416 126.8 416S11.7 382 .9 337.1z" }, child: [] }] })(c);
31
49
  }
32
- function z(c) {
50
+ function p(c) {
33
51
  return t({ tag: "svg", attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M135.2 17.7L128 32 32 32C14.3 32 0 46.3 0 64S14.3 96 32 96l384 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-96 0-7.2-14.3C307.4 6.8 296.3 0 284.2 0L163.8 0c-12.1 0-23.2 6.8-28.6 17.7zM416 128L32 128 53.2 467c1.6 25.3 22.6 45 47.9 45l245.8 0c25.3 0 46.3-19.7 47.9-45L416 128z" }, child: [] }] })(c);
34
52
  }
35
- function M(c) {
53
+ function w(c) {
36
54
  return t({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z" }, child: [] }] })(c);
37
55
  }
38
- function L(c) {
56
+ function m(c) {
39
57
  return t({ tag: "svg", attr: { viewBox: "0 0 448 512" }, child: [{ tag: "path", attr: { d: "M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512l388.6 0c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304l-91.4 0z" }, child: [] }] })(c);
40
58
  }
41
- function v(c) {
59
+ function f(c) {
42
60
  return t({ tag: "svg", attr: { viewBox: "0 0 640 512" }, child: [{ tag: "path", attr: { d: "M144 0a80 80 0 1 1 0 160A80 80 0 1 1 144 0zM512 0a80 80 0 1 1 0 160A80 80 0 1 1 512 0zM0 298.7C0 239.8 47.8 192 106.7 192l42.7 0c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0L21.3 320C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7l42.7 0C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3l-213.3 0zM224 224a96 96 0 1 1 192 0 96 96 0 1 1 -192 0zM128 485.3C128 411.7 187.7 352 261.3 352l117.3 0C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7l-330.7 0c-14.7 0-26.7-11.9-26.7-26.7z" }, child: [] }] })(c);
43
61
  }
44
62
  export {
45
- g as F,
46
- l as a,
47
- M as b,
48
- o as c,
49
- v as d,
50
- L as e,
51
- h as f,
52
- z as g,
53
- r as h,
54
- n as i,
55
- i as j,
56
- s as k,
57
- d as l,
58
- e as m
63
+ M as F,
64
+ u as a,
65
+ e as b,
66
+ s as c,
67
+ l as d,
68
+ i as e,
69
+ z as f,
70
+ r as g,
71
+ w as h,
72
+ C as i,
73
+ f as j,
74
+ m as k,
75
+ o as l,
76
+ p as m,
77
+ n,
78
+ d as o,
79
+ h as p,
80
+ g as q,
81
+ L as r,
82
+ v as s
59
83
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as n, jsxs as C } from "react/jsx-runtime";
2
- import { m as w } from "../../../index-D_9gBL0I.js";
2
+ import { s as w } from "../../../index-B8_x9tRA.js";
3
3
  import * as s from "react";
4
4
  import { useContext as $, useMemo as T } from "react";
5
5
  import { c as p, u as R } from "../../../ThemeProvider-CFCmmLJC.js";
@@ -1,7 +1,7 @@
1
1
  import { jsx as e, jsxs as u } from "react/jsx-runtime";
2
2
  import * as y from "react";
3
3
  import $ from "react";
4
- import { l as k } from "../../../index-D_9gBL0I.js";
4
+ import { r as k } from "../../../index-B8_x9tRA.js";
5
5
  import { u as x, c as N } from "../../../ThemeProvider-CFCmmLJC.js";
6
6
  import '../../../assets/Tabla.css';const v = /* @__PURE__ */ y.forwardRef(({
7
7
  bsPrefix: n,
@@ -1,6 +1,6 @@
1
1
  import { jsxs as s, Fragment as p, jsx as e } from "react/jsx-runtime";
2
2
  import N, { useState as n } from "react";
3
- import { f } from "../../index-D_9gBL0I.js";
3
+ import { l as g } from "../../index-B8_x9tRA.js";
4
4
  import '../../assets/ContenidoModal.css';/* empty css */
5
5
  const x = ({ title: u, modalContent: i, children: d }) => {
6
6
  const [t, l] = n(0), [m, r] = n(!0), [c, o] = n(!1);
@@ -27,7 +27,7 @@ const x = ({ title: u, modalContent: i, children: d }) => {
27
27
  /* @__PURE__ */ e("span", { className: "tooltip-text", children: a.label })
28
28
  ] }) }, h)) }),
29
29
  !m && /* @__PURE__ */ e("div", { className: `close-group ${c ? "show" : "hide"}`, children: /* @__PURE__ */ e(
30
- f,
30
+ g,
31
31
  {
32
32
  className: "icon-close-registro",
33
33
  onClick: () => {
@@ -1,6 +1,6 @@
1
1
  import { jsxs as t, Fragment as N, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as m, useEffect as p } from "react";
3
- import { f } from "../../index-D_9gBL0I.js";
3
+ import { l as v } from "../../index-B8_x9tRA.js";
4
4
  import '../../assets/ContenidoModal.css';/* empty css */
5
5
  const y = ({ title: d, children: h, buttons: s, isShowing: i, setIsShowing: u = () => {
6
6
  } }) => {
@@ -32,7 +32,7 @@ const y = ({ title: d, children: h, buttons: s, isShowing: i, setIsShowing: u =
32
32
  /* @__PURE__ */ e("span", { className: "tooltip-text", children: l.title })
33
33
  ] }, n)) }),
34
34
  !c && /* @__PURE__ */ e("div", { className: `close-group ${i ? "show" : "hide"}`, children: /* @__PURE__ */ e(
35
- f,
35
+ v,
36
36
  {
37
37
  className: "icon-close-registro",
38
38
  onClick: () => {
@@ -1,72 +1,108 @@
1
- import { jsxs as N, jsx as n } from "react/jsx-runtime";
2
- import { useState as w } from "react";
3
- import { F as E, a as M, b as T, c as R, d as S, e as I } from "../../index-D_9gBL0I.js";
1
+ import { jsxs as S, jsx as f } from "react/jsx-runtime";
2
+ import { useState as M } from "react";
3
+ import { F as A, a as U, b as j, c as L, d as B, e as D, f as J, g as W, h as z, i as P, j as Y, k as q } from "../../index-B8_x9tRA.js";
4
4
  import '../../assets/IconoTooltip.css';/* empty css */
5
- const B = ({ recordType: b, taken: o = !0, customIcon: l }) => {
6
- const [a, d] = w(!1);
7
- let e = "", c = {}, r = null, v = { color: o ? "#287cd1" : "#c8c8c8" };
8
- const C = "#28a19d", h = "#ed7e3e", f = "#3e52edf8", u = "#ed3e49f8", p = "#edd958", g = "#6b6e6e", i = "#666666f4", s = (x) => {
9
- const t = x.replace(/^#/, ""), m = parseInt(t.slice(0, 2), 16) / 255, y = parseInt(t.slice(2, 4), 16) / 255, F = parseInt(t.slice(4, 6), 16) / 255;
10
- return 0.2126 * m + 0.7152 * y + 0.0722 * F;
5
+ const X = ({ recordType: m, taken: o = !0, customIcon: l }) => {
6
+ const [a, t] = M(!1);
7
+ let c = "", r = {}, e = null, h = { color: o ? "#287cd1" : "#c8c8c8" };
8
+ const x = "#28a19d", F = "#ed7e3e", d = "#3e52ed", u = "#ed3e49", b = "#edd958", N = "#18a871", g = "#db493b", p = "#6845e6", C = "#c2e545", w = "#43b1dd", y = "#de6f43", v = "#6b6e6e", s = "#666666f4", i = (I) => {
9
+ const n = I.replace(/^#/, ""), E = parseInt(n.slice(0, 2), 16) / 255, T = parseInt(n.slice(2, 4), 16) / 255, R = parseInt(n.slice(4, 6), 16) / 255;
10
+ return 0.2126 * E + 0.7152 * T + 0.0722 * R;
11
11
  };
12
12
  if (l)
13
- e = o ? l.tooltipText : "Nuevo registro", c = {
14
- backgroundColor: o ? l.color : i,
15
- color: o && s(l.color) > 0.5 ? "#141414" : "#fcfcfc"
16
- }, r = l.icon;
13
+ c = o ? l.tooltipText : "Nuevo registro", r = {
14
+ backgroundColor: o ? l.color : s,
15
+ color: o && i(l.color) > 0.5 ? "#141414" : "#fcfcfc"
16
+ }, e = l.icon;
17
17
  else
18
- switch (b) {
18
+ switch (m) {
19
19
  case "Individual":
20
- e = o ? "Individual" : "Nuevo registro", c = {
21
- backgroundColor: o ? C : i,
20
+ c = o ? "Individual" : "Nuevo registro", r = {
21
+ backgroundColor: o ? x : s,
22
22
  color: "#fcfcfc"
23
- }, r = I;
23
+ }, e = q;
24
24
  break;
25
25
  case "Colectivo":
26
- e = o ? "Colectivo" : "Nuevo registro", c = {
27
- backgroundColor: o ? h : i,
26
+ c = o ? "Colectivo" : "Nuevo registro", r = {
27
+ backgroundColor: o ? F : s,
28
28
  color: "#fcfcfc"
29
- }, r = S;
29
+ }, e = Y;
30
30
  break;
31
31
  case "Jurídico":
32
- e = o ? "Jurídico" : "Nuevo registro", c = {
33
- backgroundColor: o ? f : i,
34
- color: o && s(f) > 0.5 ? "#141414" : "#fcfcfc"
35
- }, r = R;
32
+ c = o ? "Jurídico" : "Nuevo registro", r = {
33
+ backgroundColor: o ? d : s,
34
+ color: o && i(d) > 0.5 ? "#141414" : "#fcfcfc"
35
+ }, e = P;
36
36
  break;
37
37
  case "Emergencia":
38
- e = o ? "Emergencia" : "Nuevo registro", c = {
39
- backgroundColor: o ? u : i,
40
- color: o && s(u) > 0.5 ? "#141414" : "#fcfcfc"
41
- }, r = T;
38
+ c = o ? "Emergencia" : "Nuevo registro", r = {
39
+ backgroundColor: o ? u : s,
40
+ color: o && i(u) > 0.5 ? "#141414" : "#fcfcfc"
41
+ }, e = z;
42
42
  break;
43
43
  case "Reasignación":
44
- e = o ? "Reasignación" : "Nuevo registro", c = {
45
- backgroundColor: o ? p : i,
46
- color: o && s(p) > 0.5 ? "#141414" : "#fcfcfc"
47
- }, r = M;
44
+ c = o ? "Reasignación" : "Nuevo registro", r = {
45
+ backgroundColor: o ? b : s,
46
+ color: o && i(b) > 0.5 ? "#141414" : "#fcfcfc"
47
+ }, e = W;
48
+ break;
49
+ case "CTAR":
50
+ c = o ? "CTAR" : "Nuevo registro", r = {
51
+ backgroundColor: o ? N : s,
52
+ color: "#fcfcfc"
53
+ }, e = J;
54
+ break;
55
+ case "Inactivaciones":
56
+ c = o ? "Inactivaciones" : "Nuevo registro", r = {
57
+ backgroundColor: o ? g : s,
58
+ color: o && i(g) > 0.5 ? "#141414" : "#fcfcfc"
59
+ }, e = D;
60
+ break;
61
+ case "Desmonte":
62
+ c = o ? "Desmonte" : "Nuevo registro", r = {
63
+ backgroundColor: o ? p : s,
64
+ color: o && i(p) > 0.5 ? "#141414" : "#fcfcfc"
65
+ }, e = B;
66
+ break;
67
+ case "Implementación":
68
+ c = o ? "Implementación" : "Nuevo registro", r = {
69
+ backgroundColor: o ? C : s,
70
+ color: o && i(C) > 0.5 ? "#141414" : "#fcfcfc"
71
+ }, e = L;
72
+ break;
73
+ case "Correspondencia":
74
+ c = o ? "Correspondencia" : "Nuevo registro", r = {
75
+ backgroundColor: o ? w : s,
76
+ color: "#fcfcfc"
77
+ }, e = j;
78
+ break;
79
+ case "Uso indebido":
80
+ c = o ? "Uso indebido" : "Nuevo registro", r = {
81
+ backgroundColor: o ? y : s,
82
+ color: "#fcfcfc"
83
+ }, e = U;
48
84
  break;
49
85
  default:
50
- e = o ? "Registro" : "Nuevo registro", c = {
51
- backgroundColor: o ? g : i,
52
- color: o && s(g) > 0.5 ? "#141414" : "#fcfcfc"
53
- }, r = E;
86
+ c = o ? "Registro" : "Nuevo registro", r = {
87
+ backgroundColor: o ? v : s,
88
+ color: o && i(v) > 0.5 ? "#141414" : "#fcfcfc"
89
+ }, e = A;
54
90
  break;
55
91
  }
56
- return /* @__PURE__ */ N("div", { style: { position: "relative", display: "inline-block" }, children: [
57
- /* @__PURE__ */ n(
92
+ return /* @__PURE__ */ S("div", { style: { position: "relative", display: "inline-block" }, children: [
93
+ /* @__PURE__ */ f(
58
94
  "div",
59
95
  {
60
- onMouseEnter: () => d(!0),
61
- onMouseLeave: () => d(!1),
96
+ onMouseEnter: () => t(!0),
97
+ onMouseLeave: () => t(!1),
62
98
  style: {
63
- ...v
99
+ ...h
64
100
  },
65
101
  className: "icon-solicitud",
66
- children: /* @__PURE__ */ n(r, {})
102
+ children: /* @__PURE__ */ f(e, {})
67
103
  }
68
104
  ),
69
- a && /* @__PURE__ */ n(
105
+ a && /* @__PURE__ */ f(
70
106
  "div",
71
107
  {
72
108
  style: {
@@ -83,13 +119,13 @@ const B = ({ recordType: b, taken: o = !0, customIcon: l }) => {
83
119
  visibility: a ? "visible" : "hidden",
84
120
  zIndex: 1e3,
85
121
  transition: "opacity 0.3s ease, visibility 0.3s ease",
86
- ...c
122
+ ...r
87
123
  },
88
- children: e
124
+ children: c
89
125
  }
90
126
  )
91
127
  ] });
92
128
  };
93
129
  export {
94
- B as IconoTooltip
130
+ X as IconoTooltip
95
131
  };
@@ -1,25 +1,25 @@
1
- import { jsx as t, jsxs as o } from "react/jsx-runtime";
2
- import { useNavigate as i } from "react-router-dom";
3
- import { h as s, i as n } from "../../index-D_9gBL0I.js";
1
+ import { jsx as t, jsxs as l } from "react/jsx-runtime";
2
+ import { useNavigate as s } from "react-router-dom";
3
+ import { n as i, o as n } from "../../index-B8_x9tRA.js";
4
4
  import { G as c } from "../../iconBase-LROS5hdG.js";
5
5
  import '../../assets/ItemsModal.css';/* empty css */
6
- function m(l) {
7
- return c({ tag: "svg", attr: { viewBox: "0 0 32 32" }, child: [{ tag: "path", attr: { d: "M 15 4 L 15 20.5625 L 9.71875 15.28125 L 8.28125 16.71875 L 15.28125 23.71875 L 16 24.40625 L 16.71875 23.71875 L 23.71875 16.71875 L 22.28125 15.28125 L 17 20.5625 L 17 4 Z M 7 26 L 7 28 L 25 28 L 25 26 Z" }, child: [] }] })(l);
6
+ function m(o) {
7
+ return c({ tag: "svg", attr: { viewBox: "0 0 32 32" }, child: [{ tag: "path", attr: { d: "M 15 4 L 15 20.5625 L 9.71875 15.28125 L 8.28125 16.71875 L 15.28125 23.71875 L 16 24.40625 L 16.71875 23.71875 L 23.71875 16.71875 L 22.28125 15.28125 L 17 20.5625 L 17 4 Z M 7 26 L 7 28 L 25 28 L 25 26 Z" }, child: [] }] })(o);
8
8
  }
9
- const N = ({ sections: l }) => {
10
- const e = i();
11
- return /* @__PURE__ */ t("div", { className: "listado-tarjetas", children: l.map((a, r) => /* @__PURE__ */ o("div", { className: "tarjeta-listado-row", children: [
12
- /* @__PURE__ */ o(
9
+ const N = ({ sections: o }) => {
10
+ const e = s();
11
+ return /* @__PURE__ */ t("div", { className: "listado-tarjetas", children: o.map((a, r) => /* @__PURE__ */ l("div", { className: "tarjeta-listado-row", children: [
12
+ /* @__PURE__ */ l(
13
13
  "div",
14
14
  {
15
15
  className: "tarjeta-listado-container",
16
16
  onClick: () => e(a.route, { state: a.state }),
17
17
  children: [
18
- /* @__PURE__ */ o("div", { className: "tarjeta-listado-label-container", children: [
18
+ /* @__PURE__ */ l("div", { className: "tarjeta-listado-label-container", children: [
19
19
  /* @__PURE__ */ t(a.icon, { className: "tarjeta-listado-process-menu" }),
20
20
  /* @__PURE__ */ t("span", { children: a.label })
21
21
  ] }),
22
- "closed" in a && /* @__PURE__ */ t("div", { className: "tarjeta-listado-state-container", children: a.closed ? /* @__PURE__ */ t(s, { style: { color: "#3AB34A" } }) : /* @__PURE__ */ t(n, { style: { color: "#E2E2E2" } }) })
22
+ "closed" in a && /* @__PURE__ */ t("div", { className: "tarjeta-listado-state-container", children: a.closed ? /* @__PURE__ */ t(i, { style: { color: "#3AB34A" } }) : /* @__PURE__ */ t(n, { style: { color: "#E2E2E2" } }) })
23
23
  ]
24
24
  }
25
25
  ),
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "react-ecosistema-unp",
3
3
  "author": "Ecosistema de Información - Unidad Nacional de Protección",
4
4
  "private": false,
5
- "version": "1.0.6",
5
+ "version": "1.1.0",
6
6
  "type": "module",
7
7
  "exports": {
8
8
  ".": {