bmi-next-brokers 1.2.0 → 1.2.1

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.
@@ -17,7 +17,8 @@ export interface CompactFileUploadProps {
17
17
  allowedTypes?: string[];
18
18
  inspectFileFunction?: () => void;
19
19
  maxFileSize?: number;
20
- onFileSelect?: (files: FileList | null) => void;
20
+ onFileSelect?: (files: FileList | null) => void | Promise<void>;
21
+ onDelete?: (files: FileList | null) => void | Promise<void>;
21
22
  statusIconBorderRadius?: string;
22
23
  fullWidth?: boolean;
23
24
  }
@@ -1,161 +1,162 @@
1
- import { jsx as a, jsxs as _, Fragment as N } from "react/jsx-runtime";
2
- import { useState as D, useRef as M, useEffect as S } from "react";
3
- import { Icon as y } from "../../icons/Icon.js";
4
- import { Spinner as z } from "../Spinner/Spinner.js";
5
- import { Button as q } from "../Button/Button.js";
6
- import '../../assets/CompactFileUpload.css';const H = "_inputContainer_1dauy_1", G = "_compactFileUploadContainer_1dauy_9", J = "_fullWidth_1dauy_26", K = "_dragOver_1dauy_35", P = "_variant_document_1dauy_41", Q = "_icon_1dauy_41", X = "_variant_add_1dauy_45", Y = "_disabled_1dauy_50", Z = "_error_1dauy_61", tt = "_warning_1dauy_69", et = "_inverted_1dauy_78", at = "_uploadContent_1dauy_103", nt = "_textContent_1dauy_113", ct = "_dragText_1dauy_123", ot = "_hiddenInput_1dauy_153", it = "_compactFileContent_1dauy_166", lt = "_compactFileIcon_1dauy_174", st = "_compactIconBackground_1dauy_182", rt = "_compactFileText_1dauy_190", dt = "_compactLabel_1dauy_202", mt = "_compactFileName_1dauy_209", pt = "_compactStatusText_1dauy_210", ut = "_success_1dauy_221", _t = "_loading_1dauy_229", ht = "_addIconWrapper_1dauy_233", ft = "_browseText_1dauy_239", vt = "_compactVisibilityIcon_1dauy_246", yt = "_compactActions_1dauy_255", Ct = "_deleteText_1dauy_262", t = {
7
- inputContainer: H,
8
- compactFileUploadContainer: G,
9
- fullWidth: J,
10
- dragOver: K,
11
- variant_document: P,
12
- icon: Q,
13
- variant_add: X,
14
- disabled: Y,
15
- error: Z,
16
- warning: tt,
1
+ import { jsx as n, jsxs as u, Fragment as T } from "react/jsx-runtime";
2
+ import { useState as w, useRef as q, useEffect as H } from "react";
3
+ import { Icon as x } from "../../icons/Icon.js";
4
+ import { Spinner as G } from "../Spinner/Spinner.js";
5
+ import { Button as $ } from "../Button/Button.js";
6
+ import '../../assets/CompactFileUpload.css';const J = "_inputContainer_1dauy_1", K = "_compactFileUploadContainer_1dauy_9", P = "_fullWidth_1dauy_26", Q = "_dragOver_1dauy_35", X = "_variant_document_1dauy_41", Y = "_icon_1dauy_41", Z = "_variant_add_1dauy_45", tt = "_disabled_1dauy_50", at = "_error_1dauy_61", nt = "_warning_1dauy_69", et = "_inverted_1dauy_78", ct = "_uploadContent_1dauy_103", ot = "_textContent_1dauy_113", it = "_dragText_1dauy_123", lt = "_hiddenInput_1dauy_153", st = "_compactFileContent_1dauy_166", rt = "_compactFileIcon_1dauy_174", dt = "_compactIconBackground_1dauy_182", mt = "_compactFileText_1dauy_190", pt = "_compactLabel_1dauy_202", ut = "_compactFileName_1dauy_209", _t = "_compactStatusText_1dauy_210", ht = "_success_1dauy_221", ft = "_loading_1dauy_229", vt = "_addIconWrapper_1dauy_233", yt = "_browseText_1dauy_239", Ct = "_compactVisibilityIcon_1dauy_246", gt = "_compactActions_1dauy_255", xt = "_deleteText_1dauy_262", t = {
7
+ inputContainer: J,
8
+ compactFileUploadContainer: K,
9
+ fullWidth: P,
10
+ dragOver: Q,
11
+ variant_document: X,
12
+ icon: Y,
13
+ variant_add: Z,
14
+ disabled: tt,
15
+ error: at,
16
+ warning: nt,
17
17
  inverted: et,
18
- uploadContent: at,
19
- textContent: nt,
20
- dragText: ct,
21
- hiddenInput: ot,
22
- compactFileContent: it,
23
- compactFileIcon: lt,
24
- compactIconBackground: st,
25
- compactFileText: rt,
26
- compactLabel: dt,
27
- compactFileName: mt,
28
- compactStatusText: pt,
29
- success: ut,
30
- loading: _t,
31
- addIconWrapper: ht,
32
- browseText: ft,
33
- compactVisibilityIcon: vt,
34
- compactActions: yt,
35
- deleteText: Ct
36
- }, bt = ({
37
- variant: b = "document",
38
- label: C,
39
- error: n,
18
+ uploadContent: ct,
19
+ textContent: ot,
20
+ dragText: it,
21
+ hiddenInput: lt,
22
+ compactFileContent: st,
23
+ compactFileIcon: rt,
24
+ compactIconBackground: dt,
25
+ compactFileText: mt,
26
+ compactLabel: pt,
27
+ compactFileName: ut,
28
+ compactStatusText: _t,
29
+ success: ht,
30
+ loading: ft,
31
+ addIconWrapper: vt,
32
+ browseText: yt,
33
+ compactVisibilityIcon: Ct,
34
+ compactActions: gt,
35
+ deleteText: xt
36
+ }, $t = ({
37
+ variant: k = "document",
38
+ label: f,
39
+ error: e,
40
40
  success: c,
41
- warning: i,
41
+ warning: _,
42
42
  loading: o = !1,
43
- defaultFile: g = null,
43
+ defaultFile: I = null,
44
44
  disabled: d = !1,
45
- inverted: T = !1,
46
- browseText: $ = "Seleccionar archivo",
45
+ inverted: A = !1,
46
+ browseText: D = "Seleccionar archivo",
47
47
  allowedTypes: m,
48
- inspectFileFunction: k = () => {
48
+ inspectFileFunction: W = () => {
49
49
  console.warn(
50
50
  "No hay función asignada para ver el archivo. Hay que pasarla al componente como prop inspectFileFunction."
51
51
  );
52
52
  },
53
- maxFileSize: x,
54
- onFileSelect: p,
55
- statusIconBorderRadius: A = "50%",
56
- fullWidth: W = !1
53
+ maxFileSize: F,
54
+ onFileSelect: v,
55
+ onDelete: y,
56
+ statusIconBorderRadius: S = "50%",
57
+ fullWidth: B = !1
57
58
  }) => {
58
- const [B, f] = D(!1), [l, I] = D(
59
- g || null
60
- ), h = M(null);
61
- S(() => {
62
- if (!l) return;
63
- const e = [];
64
- n && e.push("error"), c && e.push("success"), o && e.push("loading"), e.length > 1 && console.warn(
65
- `⚠️ CompactFileUpload: Múltiples estados detectados (${e.join(", ")}). Solo un estado debe estar activo a la vez.`
59
+ const [E, C] = w(!1), [i, N] = w(
60
+ I || null
61
+ ), h = q(null);
62
+ H(() => {
63
+ if (!i) return;
64
+ const a = [];
65
+ e && a.push("error"), c && a.push("success"), o && a.push("loading"), a.length > 1 && console.warn(
66
+ `⚠️ CompactFileUpload: Múltiples estados detectados (${a.join(", ")}). Solo un estado debe estar activo a la vez.`
66
67
  );
67
- }, [n, c, o, l]);
68
- const E = (e) => {
69
- e.preventDefault(), d || f(!0);
70
- }, L = (e) => {
71
- e.preventDefault(), f(!1);
72
- }, O = (e) => {
73
- e.preventDefault();
74
- }, j = (e) => {
75
- if (e.preventDefault(), f(!1), d) return;
76
- const r = e.dataTransfer.files;
77
- F(r);
78
- }, R = (e) => {
79
- const r = e.target.files;
80
- F(r);
81
- }, F = (e) => {
82
- if (!e) return;
68
+ }, [e, c, o, i]);
69
+ const L = (a) => {
70
+ a.preventDefault(), d || C(!0);
71
+ }, O = (a) => {
72
+ a.preventDefault(), C(!1);
73
+ }, j = (a) => {
74
+ a.preventDefault();
75
+ }, R = (a) => {
76
+ if (a.preventDefault(), C(!1), d) return;
77
+ const r = a.dataTransfer.files;
78
+ b(r);
79
+ }, U = async (a) => {
80
+ const r = a.target.files;
81
+ b(r);
82
+ }, b = async (a) => {
83
+ if (!a) return;
83
84
  if (m && m.length > 0)
84
- for (let s = 0; s < e.length; s++) {
85
- const u = e[s];
85
+ for (let l = 0; l < a.length; l++) {
86
+ const p = a[l];
86
87
  if (!m.some(
87
- (v) => v.startsWith(".") ? u.name.toLowerCase().endsWith(v.toLowerCase()) : u.type === v
88
+ (g) => g.startsWith(".") ? p.name.toLowerCase().endsWith(g.toLowerCase()) : p.type === g
88
89
  )) {
89
- console.warn(`File ${u.name} is not an allowed type`);
90
+ console.warn(`File ${p.name} is not an allowed type`);
90
91
  return;
91
92
  }
92
93
  }
93
- if (x)
94
- for (let s = 0; s < e.length; s++) {
95
- const u = e[s];
96
- if (u.size > x) {
97
- console.warn(`File ${u.name} exceeds maximum size`);
94
+ if (F)
95
+ for (let l = 0; l < a.length; l++) {
96
+ const p = a[l];
97
+ if (p.size > F) {
98
+ console.warn(`File ${p.name} exceeds maximum size`);
98
99
  return;
99
100
  }
100
101
  }
101
- const r = e ? e[0] : null;
102
- I(r), p == null || p(
102
+ const r = a ? a[0] : null;
103
+ N(r), await (v == null ? void 0 : v(
103
104
  r ? (() => {
104
- const s = new DataTransfer();
105
- return s.items.add(r), s.files;
105
+ const l = new DataTransfer();
106
+ return l.items.add(r), l.files;
106
107
  })() : null
107
- );
108
- }, U = () => {
109
- !d && h.current && h.current.click();
108
+ ));
110
109
  }, V = () => {
111
- I(null), h.current && (h.current.value = ""), p == null || p(null);
112
- }, w = [
110
+ !d && h.current && h.current.click();
111
+ }, M = async () => {
112
+ await (y == null ? void 0 : y(null)), N(null), h.current && (h.current.value = "");
113
+ }, s = _ && !o && !c && !e, z = [
113
114
  t.compactFileUploadContainer,
114
- W && t.fullWidth,
115
- t[`variant_${b}`],
116
- l && n ? t.error : "",
117
- l && i ? t.warning : "",
118
- l && !n && o ? t.loading : "",
119
- l && !n && !o && c ? t.success : "",
115
+ B && t.fullWidth,
116
+ t[`variant_${k}`],
117
+ s ? t.warning : "",
118
+ i && e ? t.error : "",
119
+ i && !e && o ? t.loading : "",
120
+ i && !e && !o && c ? t.success : "",
120
121
  d ? t.disabled : "",
121
- T ? t.inverted : "",
122
- B ? t.dragOver : ""
122
+ A ? t.inverted : "",
123
+ E ? t.dragOver : ""
123
124
  ].filter(Boolean).join(" ");
124
- return /* @__PURE__ */ a("div", { className: t.inputContainer, children: /* @__PURE__ */ _(
125
+ return /* @__PURE__ */ n("div", { className: t.inputContainer, children: /* @__PURE__ */ u(
125
126
  "div",
126
127
  {
127
- className: w,
128
- onDragEnter: E,
129
- onDragLeave: L,
130
- onDragOver: O,
131
- onDrop: j,
132
- onClick: l ? () => {
133
- } : U,
128
+ className: z,
129
+ onDragEnter: L,
130
+ onDragLeave: O,
131
+ onDragOver: j,
132
+ onDrop: R,
133
+ onClick: i ? () => {
134
+ } : V,
134
135
  style: { cursor: d ? "not-allowed" : "pointer" },
135
136
  children: [
136
- /* @__PURE__ */ a(
137
+ /* @__PURE__ */ n(
137
138
  "input",
138
139
  {
139
140
  ref: h,
140
141
  type: "file",
141
142
  className: t.hiddenInput,
142
- onChange: R,
143
+ onChange: U,
143
144
  disabled: d,
144
145
  accept: m == null ? void 0 : m.join(",")
145
146
  }
146
147
  ),
147
- /* @__PURE__ */ a("div", { className: t.uploadContent, children: l ? (
148
+ /* @__PURE__ */ n("div", { className: t.uploadContent, children: i || s ? (
148
149
  // Compact layout - simple text with left icon
149
- /* @__PURE__ */ _("div", { className: t.compactFileContent, children: [
150
- /* @__PURE__ */ a("div", { className: t.compactFileIcon, children: /* @__PURE__ */ a(
150
+ /* @__PURE__ */ u("div", { className: t.compactFileContent, children: [
151
+ /* @__PURE__ */ n("div", { className: t.compactFileIcon, children: /* @__PURE__ */ n(
151
152
  "div",
152
153
  {
153
154
  className: t.compactIconBackground,
154
155
  style: {
155
- background: n ? "#DC2626" : o ? "#2054A5" : c ? "#65A30D" : i ? "#EA580C" : "#2054A5",
156
- borderRadius: A
156
+ background: e ? "#DC2626" : o ? "#2054A5" : c ? "#65A30D" : _ ? "#EA580C" : "#2054A5",
157
+ borderRadius: S
157
158
  },
158
- children: o ? /* @__PURE__ */ a(
159
+ children: o ? /* @__PURE__ */ n(
159
160
  "div",
160
161
  {
161
162
  style: {
@@ -164,8 +165,8 @@ import '../../assets/CompactFileUpload.css';const H = "_inputContainer_1dauy_1",
164
165
  alignItems: "center",
165
166
  margin: "4px"
166
167
  },
167
- children: /* @__PURE__ */ a(
168
- z,
168
+ children: /* @__PURE__ */ n(
169
+ G,
169
170
  {
170
171
  size: 10,
171
172
  color: "primary",
@@ -175,7 +176,7 @@ import '../../assets/CompactFileUpload.css';const H = "_inputContainer_1dauy_1",
175
176
  }
176
177
  )
177
178
  }
178
- ) : /* @__PURE__ */ a(
179
+ ) : /* @__PURE__ */ n(
179
180
  "div",
180
181
  {
181
182
  style: {
@@ -183,10 +184,10 @@ import '../../assets/CompactFileUpload.css';const H = "_inputContainer_1dauy_1",
183
184
  justifyContent: "center",
184
185
  alignItems: "center"
185
186
  },
186
- children: /* @__PURE__ */ a(
187
- y,
187
+ children: /* @__PURE__ */ n(
188
+ x,
188
189
  {
189
- name: n ? "CancelIcon" : c ? "CheckIcon" : i ? "AlertIcon" : "Documentos",
190
+ name: e ? "CancelIcon" : c ? "CheckIcon" : _ ? "AlertIcon" : "Documentos",
190
191
  fill: "white",
191
192
  height: 20,
192
193
  width: 20
@@ -196,37 +197,37 @@ import '../../assets/CompactFileUpload.css';const H = "_inputContainer_1dauy_1",
196
197
  )
197
198
  }
198
199
  ) }),
199
- /* @__PURE__ */ _("div", { className: t.compactFileText, children: [
200
- !n && !o && !c && !i && /* @__PURE__ */ _(N, { children: [
201
- C && /* @__PURE__ */ a("span", { className: `small1Medium ${t.compactLabel}`, children: C }),
202
- /* @__PURE__ */ a("span", { className: `small3Regular ${t.compactFileName}`, children: l.name })
200
+ /* @__PURE__ */ u("div", { className: t.compactFileText, children: [
201
+ !e && !o && !c && !s && /* @__PURE__ */ u(T, { children: [
202
+ f && /* @__PURE__ */ n("span", { className: `small1Medium ${t.compactLabel}`, children: f }),
203
+ /* @__PURE__ */ n("span", { className: `small3Regular ${t.compactFileName}`, children: i == null ? void 0 : i.name })
203
204
  ] }),
204
- (n || i || o || c) && /* @__PURE__ */ a(
205
+ (e || _ || o || c) && /* @__PURE__ */ n(
205
206
  "span",
206
207
  {
207
208
  className: `
208
209
  small1Medium
209
210
  ${t.compactFileName}
210
- ${n && t.error}
211
+ ${e && t.error}
211
212
  ${c && t.success}
212
- ${i && t.warning}
213
+ ${s && t.warning}
213
214
  ${o && t.loading}
214
215
  `,
215
- children: l.name
216
+ children: s ? f : i == null ? void 0 : i.name
216
217
  }
217
218
  ),
218
- n && /* @__PURE__ */ a("span", { className: `small3Regular ${t.compactStatusText}`, children: n }),
219
- i && /* @__PURE__ */ a("span", { className: `small3Regular ${t.compactStatusText}`, children: i }),
220
- c && !o && /* @__PURE__ */ a("span", { className: `small3Regular ${t.compactStatusText}`, children: c })
219
+ e && /* @__PURE__ */ n("span", { className: `small3Regular ${t.compactStatusText}`, children: e }),
220
+ s && /* @__PURE__ */ n("span", { className: `small3Regular ${t.compactStatusText}`, children: _ }),
221
+ c && !o && /* @__PURE__ */ n("span", { className: `small3Regular ${t.compactStatusText}`, children: c })
221
222
  ] }),
222
- /* @__PURE__ */ _("div", { className: t.compactActions, children: [
223
- !n && !o && !c && !i && /* @__PURE__ */ a(
223
+ /* @__PURE__ */ u("div", { className: t.compactActions, children: [
224
+ !e && !o && !c && !s && /* @__PURE__ */ n(
224
225
  "div",
225
226
  {
226
227
  className: t.compactVisibilityIcon,
227
- onClick: k,
228
- children: /* @__PURE__ */ a(
229
- y,
228
+ onClick: W,
229
+ children: /* @__PURE__ */ n(
230
+ x,
230
231
  {
231
232
  name: "Visibility",
232
233
  fill: "#2054A5",
@@ -236,37 +237,48 @@ import '../../assets/CompactFileUpload.css';const H = "_inputContainer_1dauy_1",
236
237
  )
237
238
  }
238
239
  ),
239
- (n || c || o || i) && /* @__PURE__ */ a(
240
- q,
240
+ (e || c || o) && /* @__PURE__ */ n(
241
+ $,
241
242
  {
242
243
  variant: c ? "ghost" : "outline",
243
244
  icon: {
244
- name: i ? "Upload" : "CancelIcon",
245
+ name: "CancelIcon",
246
+ position: "before"
247
+ },
248
+ onClick: M,
249
+ children: e ? "Eliminar" : o ? "Cancelar" : ""
250
+ }
251
+ ),
252
+ s && /* @__PURE__ */ n(
253
+ $,
254
+ {
255
+ variant: "outline",
256
+ icon: {
257
+ name: "Upload",
245
258
  position: "before"
246
259
  },
247
- onClick: V,
248
- children: n ? "Eliminar" : i ? "Subir Doc." : o ? "Cancelar" : ""
260
+ children: "Subir doc"
249
261
  }
250
262
  )
251
263
  ] })
252
264
  ] })
253
- ) : /* @__PURE__ */ a(N, { children: /* @__PURE__ */ _("div", { className: t.textContent, children: [
254
- /* @__PURE__ */ a(
265
+ ) : /* @__PURE__ */ n(T, { children: /* @__PURE__ */ u("div", { className: t.textContent, children: [
266
+ /* @__PURE__ */ n(
255
267
  "div",
256
268
  {
257
269
  className: t.addIconWrapper,
258
270
  style: {
259
271
  background: "#2054A5"
260
272
  },
261
- children: /* @__PURE__ */ a("div", { style: { marginTop: "3px" }, children: /* @__PURE__ */ a(y, { name: "Add", fill: "white", height: 27, width: 27 }) })
273
+ children: /* @__PURE__ */ n("div", { style: { marginTop: "3px" }, children: /* @__PURE__ */ n(x, { name: "Add", fill: "white", height: 27, width: 27 }) })
262
274
  }
263
275
  ),
264
- /* @__PURE__ */ a("span", { className: `small1Medium ${t.browseText}`, children: $ })
276
+ /* @__PURE__ */ n("span", { className: `small1Medium ${t.browseText}`, children: D })
265
277
  ] }) }) })
266
278
  ]
267
279
  }
268
280
  ) });
269
281
  };
270
282
  export {
271
- bt as CompactFileUpload
283
+ $t as CompactFileUpload
272
284
  };
@@ -16,7 +16,7 @@ const k = ({
16
16
  }) => {
17
17
  const c = C(null), u = (d) => {
18
18
  !a && c.current && c.current.click(), h && h(d);
19
- }, g = [
19
+ }, x = [
20
20
  l.inputWrapper,
21
21
  a ? l.inputCheckbox_disabled : l.inputCheckbox,
22
22
  s === "small" ? l.smallCheckbox : s === "large" ? l.largeCheckbox : l.mediumCheckbox,
@@ -26,7 +26,7 @@ const k = ({
26
26
  o && !r && !a && e ? l.inputCheckbox_inverted_checked : "",
27
27
  o && r ? l.error_checked : "",
28
28
  o && a ? l.inputCheckbox_disabled_checked : ""
29
- ].filter(Boolean).join(" "), x = [
29
+ ].filter(Boolean).join(" "), g = [
30
30
  a && !e ? l.passwordToggle_disabled : "",
31
31
  e && !a ? l.passwordToggle_inverted : "",
32
32
  e && a ? l.passwordToggle_inverted_disabled : ""
@@ -44,15 +44,25 @@ const k = ({
44
44
  className: `${l.label} ${s === "large" ? l.label_large : ""} ${a && !e ? l.label_disabled : ""} ${e && !a ? l.label_inverted : ""} ${e && a ? l.label_inverted_disabled : ""}`,
45
45
  children: [
46
46
  p,
47
- m && /* @__PURE__ */ _("span", { className: `${l.required} ${a && !e ? l.required_disabled : ""} ${e && !a ? l.required_inverted : ""} ${e && a ? l.required_inverted_disabled : ""}`, children: "*" })
47
+ m && /* @__PURE__ */ _(
48
+ "span",
49
+ {
50
+ className: `${l.required} ${a && !e ? l.required_disabled : ""} ${e && !a ? l.required_inverted : ""} ${e && a ? l.required_inverted_disabled : ""}`,
51
+ children: "*"
52
+ }
53
+ )
48
54
  ]
49
55
  }
50
56
  ),
51
57
  /* @__PURE__ */ n(
52
58
  "div",
53
59
  {
54
- className: g,
55
- style: { display: "flex", alignItems: "center", cursor: a ? "not-allowed" : "pointer" },
60
+ className: x,
61
+ style: {
62
+ display: "flex",
63
+ alignItems: "center",
64
+ cursor: a ? "not-allowed" : "pointer"
65
+ },
56
66
  onClick: u,
57
67
  children: [
58
68
  /* @__PURE__ */ _(
@@ -60,11 +70,11 @@ const k = ({
60
70
  {
61
71
  ref: c,
62
72
  type: "radio",
63
- className: x,
73
+ className: g,
64
74
  disabled: a,
65
75
  checked: o,
66
76
  ...$,
67
- style: { marginTop: "-1px" }
77
+ style: { marginTop: "-1px", flexShrink: 0 }
68
78
  }
69
79
  ),
70
80
  i && /* @__PURE__ */ _(
@@ -1,10 +1,39 @@
1
1
  import { jsxs as t, jsx as h } from "react/jsx-runtime";
2
- const s = (e) => /* @__PURE__ */ t("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 18 18", width: "1em", height: "1em", ...e, children: [
3
- /* @__PURE__ */ h("mask", { id: "add_alert_svg__a", width: 18, height: 18, x: 0, y: 0, maskUnits: "userSpaceOnUse", style: {
4
- maskType: "alpha"
5
- }, children: /* @__PURE__ */ h("path", { fill: "currentColor", d: "M0 0h18v18H0z" }) }),
6
- /* @__PURE__ */ h("g", { mask: "url(#add_alert_svg__a)", children: /* @__PURE__ */ h("path", { fill: "#113B71", d: "M8.25 11.25h1.5v-1.5h1.5v-1.5h-1.5v-1.5h-1.5v1.5h-1.5v1.5h1.5zm-5.25 3v-1.5h1.5V7.5q0-1.556.938-2.766A4.33 4.33 0 0 1 7.874 3.15v-.525q0-.468.328-.797Q8.532 1.5 9 1.5t.797.328q.328.328.328.797v.525q1.5.375 2.438 1.584.937 1.21.937 2.766v5.25H15v1.5zm6 2.25q-.619 0-1.06-.44A1.45 1.45 0 0 1 7.5 15h3q0 .619-.44 1.06-.442.44-1.06.44m-3-3.75h6V7.5q0-1.237-.881-2.119A2.9 2.9 0 0 0 9 4.5q-1.237 0-2.119.881A2.9 2.9 0 0 0 6 7.5z" }) })
7
- ] });
2
+ const r = (e) => /* @__PURE__ */ t(
3
+ "svg",
4
+ {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ fill: "none",
7
+ viewBox: "0 0 18 18",
8
+ width: "1em",
9
+ height: "1em",
10
+ ...e,
11
+ children: [
12
+ /* @__PURE__ */ h(
13
+ "mask",
14
+ {
15
+ id: "add_alert_svg__a",
16
+ width: 18,
17
+ height: 18,
18
+ x: 0,
19
+ y: 0,
20
+ maskUnits: "userSpaceOnUse",
21
+ style: {
22
+ maskType: "alpha"
23
+ },
24
+ children: /* @__PURE__ */ h("path", { fill: "currentColor", d: "M0 0h18v18H0z" })
25
+ }
26
+ ),
27
+ /* @__PURE__ */ h("g", { mask: "url(#add_alert_svg__a)", children: /* @__PURE__ */ h(
28
+ "path",
29
+ {
30
+ fill: "currentColor",
31
+ d: "M8.25 11.25h1.5v-1.5h1.5v-1.5h-1.5v-1.5h-1.5v1.5h-1.5v1.5h1.5zm-5.25 3v-1.5h1.5V7.5q0-1.556.938-2.766A4.33 4.33 0 0 1 7.874 3.15v-.525q0-.468.328-.797Q8.532 1.5 9 1.5t.797.328q.328.328.328.797v.525q1.5.375 2.438 1.584.937 1.21.937 2.766v5.25H15v1.5zm6 2.25q-.619 0-1.06-.44A1.45 1.45 0 0 1 7.5 15h3q0 .619-.44 1.06-.442.44-1.06.44m-3-3.75h6V7.5q0-1.237-.881-2.119A2.9 2.9 0 0 0 9 4.5q-1.237 0-2.119.881A2.9 2.9 0 0 0 6 7.5z"
32
+ }
33
+ ) })
34
+ ]
35
+ }
36
+ );
8
37
  export {
9
- s as default
38
+ r as default
10
39
  };
@@ -1,10 +1,39 @@
1
- import { jsxs as e, jsx as s } from "react/jsx-runtime";
2
- const t = (h) => /* @__PURE__ */ e("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 18 18", width: "1em", height: "1em", ...h, children: [
3
- /* @__PURE__ */ s("mask", { id: "assignment_svg__a", width: 18, height: 18, x: 0, y: 0, maskUnits: "userSpaceOnUse", style: {
4
- maskType: "alpha"
5
- }, children: /* @__PURE__ */ s("path", { fill: "currentColor", d: "M0 0h18v18H0z" }) }),
6
- /* @__PURE__ */ s("g", { mask: "url(#assignment_svg__a)", children: /* @__PURE__ */ s("path", { fill: "#113B71", d: "M3.75 15.75q-.62 0-1.06-.44a1.45 1.45 0 0 1-.44-1.06V3.75q0-.62.44-1.06.442-.44 1.06-.44H6.9q.243-.675.816-1.087Q8.286.75 9 .75q.713 0 1.284.413.572.411.816 1.087h3.15q.619 0 1.06.44.44.442.44 1.06v10.5q0 .619-.44 1.06-.442.44-1.06.44zm0-1.5h10.5V3.75H3.75zm1.5-1.5h5.25v-1.5H5.25zm0-3h7.5v-1.5h-7.5zm0-3h7.5v-1.5h-7.5zM9 3.188a.546.546 0 0 0 .563-.563A.546.546 0 0 0 9 2.063a.546.546 0 0 0-.562.562.546.546 0 0 0 .562.563" }) })
7
- ] });
1
+ import { jsxs as h, jsx as s } from "react/jsx-runtime";
2
+ const a = (e) => /* @__PURE__ */ h(
3
+ "svg",
4
+ {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ fill: "none",
7
+ viewBox: "0 0 18 18",
8
+ width: "1em",
9
+ height: "1em",
10
+ ...e,
11
+ children: [
12
+ /* @__PURE__ */ s(
13
+ "mask",
14
+ {
15
+ id: "assignment_svg__a",
16
+ width: 18,
17
+ height: 18,
18
+ x: 0,
19
+ y: 0,
20
+ maskUnits: "userSpaceOnUse",
21
+ style: {
22
+ maskType: "alpha"
23
+ },
24
+ children: /* @__PURE__ */ s("path", { fill: "currentColor", d: "M0 0h18v18H0z" })
25
+ }
26
+ ),
27
+ /* @__PURE__ */ s("g", { mask: "url(#assignment_svg__a)", children: /* @__PURE__ */ s(
28
+ "path",
29
+ {
30
+ fill: "currentColor",
31
+ d: "M3.75 15.75q-.62 0-1.06-.44a1.45 1.45 0 0 1-.44-1.06V3.75q0-.62.44-1.06.442-.44 1.06-.44H6.9q.243-.675.816-1.087Q8.286.75 9 .75q.713 0 1.284.413.572.411.816 1.087h3.15q.619 0 1.06.44.44.442.44 1.06v10.5q0 .619-.44 1.06-.442.44-1.06.44zm0-1.5h10.5V3.75H3.75zm1.5-1.5h5.25v-1.5H5.25zm0-3h7.5v-1.5h-7.5zm0-3h7.5v-1.5h-7.5zM9 3.188a.546.546 0 0 0 .563-.563A.546.546 0 0 0 9 2.063a.546.546 0 0 0-.562.562.546.546 0 0 0 .562.563"
32
+ }
33
+ ) })
34
+ ]
35
+ }
36
+ );
8
37
  export {
9
- t as default
38
+ a as default
10
39
  };
@@ -1,10 +1,39 @@
1
- import { jsxs as a, jsx as i } from "react/jsx-runtime";
2
- const h = (t) => /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 20 20", width: "1em", height: "1em", ...t, children: [
3
- /* @__PURE__ */ i("mask", { id: "notifications_svg__a", width: 20, height: 20, x: 0, y: 0, maskUnits: "userSpaceOnUse", style: {
4
- maskType: "alpha"
5
- }, children: /* @__PURE__ */ i("path", { fill: "currentColor", d: "M0 0h20v20H0z" }) }),
6
- /* @__PURE__ */ i("g", { mask: "url(#notifications_svg__a)", children: /* @__PURE__ */ i("path", { fill: "#2054A5", d: "M4.703 15.67a.85.85 0 0 1-.617-.248.82.82 0 0 1-.254-.611q0-.363.25-.616a.83.83 0 0 1 .615-.253h.075V9.11q0-1.877 1.142-3.315t2.973-1.785V2.947q0-.465.325-.79t.79-.325q.463 0 .789.325.325.325.325.79V4.01q1.835.348 2.975 1.783 1.14 1.434 1.14 3.317v4.83h.075q.364 0 .614.25a.83.83 0 0 1 .25.61.84.84 0 0 1-.25.616.83.83 0 0 1-.613.254zm5.299 2.556q-.645 0-1.1-.457a1.5 1.5 0 0 1-.455-1.098h3.114q0 .65-.458 1.102a1.5 1.5 0 0 1-1.101.453m-3.5-4.284h7V9.11q0-1.458-1.021-2.48-1.021-1.02-2.48-1.02-1.458 0-2.479 1.02-1.02 1.022-1.02 2.48z" }) })
7
- ] });
1
+ import { jsxs as a, jsx as t } from "react/jsx-runtime";
2
+ const e = (i) => /* @__PURE__ */ a(
3
+ "svg",
4
+ {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ fill: "none",
7
+ viewBox: "0 0 20 20",
8
+ width: "1em",
9
+ height: "1em",
10
+ ...i,
11
+ children: [
12
+ /* @__PURE__ */ t(
13
+ "mask",
14
+ {
15
+ id: "notifications_svg__a",
16
+ width: 20,
17
+ height: 20,
18
+ x: 0,
19
+ y: 0,
20
+ maskUnits: "userSpaceOnUse",
21
+ style: {
22
+ maskType: "alpha"
23
+ },
24
+ children: /* @__PURE__ */ t("path", { fill: "currentColor", d: "M0 0h20v20H0z" })
25
+ }
26
+ ),
27
+ /* @__PURE__ */ t("g", { mask: "url(#notifications_svg__a)", children: /* @__PURE__ */ t(
28
+ "path",
29
+ {
30
+ fill: "currentColor",
31
+ d: "M4.703 15.67a.85.85 0 0 1-.617-.248.82.82 0 0 1-.254-.611q0-.363.25-.616a.83.83 0 0 1 .615-.253h.075V9.11q0-1.877 1.142-3.315t2.973-1.785V2.947q0-.465.325-.79t.79-.325q.463 0 .789.325.325.325.325.79V4.01q1.835.348 2.975 1.783 1.14 1.434 1.14 3.317v4.83h.075q.364 0 .614.25a.83.83 0 0 1 .25.61.84.84 0 0 1-.25.616.83.83 0 0 1-.613.254zm5.299 2.556q-.645 0-1.1-.457a1.5 1.5 0 0 1-.455-1.098h3.114q0 .65-.458 1.102a1.5 1.5 0 0 1-1.101.453m-3.5-4.284h7V9.11q0-1.458-1.021-2.48-1.021-1.02-2.48-1.02-1.458 0-2.479 1.02-1.02 1.022-1.02 2.48z"
32
+ }
33
+ ) })
34
+ ]
35
+ }
36
+ );
8
37
  export {
9
- h as default
38
+ e as default
10
39
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bmi-next-brokers",
3
3
  "description": "Componentes de UI para proyecto BMI Next Brokers",
4
- "version": "1.2.0",
4
+ "version": "1.2.1",
5
5
  "author": "BMI Ahorro España",
6
6
  "contributors": [
7
7
  "José Ramón Jiménez <jrjimenez@bmicos.com>",