bmi-next-brokers 1.2.1 → 1.2.2
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.
|
@@ -38,7 +38,7 @@ import '../../assets/CompactFileUpload.css';const J = "_inputContainer_1dauy_1",
|
|
|
38
38
|
label: f,
|
|
39
39
|
error: e,
|
|
40
40
|
success: c,
|
|
41
|
-
warning:
|
|
41
|
+
warning: h,
|
|
42
42
|
loading: o = !1,
|
|
43
43
|
defaultFile: I = null,
|
|
44
44
|
disabled: d = !1,
|
|
@@ -58,7 +58,7 @@ import '../../assets/CompactFileUpload.css';const J = "_inputContainer_1dauy_1",
|
|
|
58
58
|
}) => {
|
|
59
59
|
const [E, C] = w(!1), [i, N] = w(
|
|
60
60
|
I || null
|
|
61
|
-
),
|
|
61
|
+
), _ = q(null);
|
|
62
62
|
H(() => {
|
|
63
63
|
if (!i) return;
|
|
64
64
|
const a = [];
|
|
@@ -107,10 +107,10 @@ import '../../assets/CompactFileUpload.css';const J = "_inputContainer_1dauy_1",
|
|
|
107
107
|
})() : null
|
|
108
108
|
));
|
|
109
109
|
}, V = () => {
|
|
110
|
-
!d &&
|
|
110
|
+
!d && _.current && _.current.click();
|
|
111
111
|
}, M = async () => {
|
|
112
|
-
await (y == null ? void 0 : y(null)), N(null),
|
|
113
|
-
}, s =
|
|
112
|
+
await (y == null ? void 0 : y(null)), N(null), _.current && (_.current.value = "");
|
|
113
|
+
}, s = h && !o && !c && !e, z = [
|
|
114
114
|
t.compactFileUploadContainer,
|
|
115
115
|
B && t.fullWidth,
|
|
116
116
|
t[`variant_${k}`],
|
|
@@ -137,7 +137,7 @@ import '../../assets/CompactFileUpload.css';const J = "_inputContainer_1dauy_1",
|
|
|
137
137
|
/* @__PURE__ */ n(
|
|
138
138
|
"input",
|
|
139
139
|
{
|
|
140
|
-
ref:
|
|
140
|
+
ref: _,
|
|
141
141
|
type: "file",
|
|
142
142
|
className: t.hiddenInput,
|
|
143
143
|
onChange: U,
|
|
@@ -153,7 +153,7 @@ import '../../assets/CompactFileUpload.css';const J = "_inputContainer_1dauy_1",
|
|
|
153
153
|
{
|
|
154
154
|
className: t.compactIconBackground,
|
|
155
155
|
style: {
|
|
156
|
-
background: e ? "#DC2626" : o ? "#2054A5" : c ? "#65A30D" :
|
|
156
|
+
background: e ? "#DC2626" : o ? "#2054A5" : c ? "#65A30D" : h ? "#EA580C" : "#2054A5",
|
|
157
157
|
borderRadius: S
|
|
158
158
|
},
|
|
159
159
|
children: o ? /* @__PURE__ */ n(
|
|
@@ -187,7 +187,7 @@ import '../../assets/CompactFileUpload.css';const J = "_inputContainer_1dauy_1",
|
|
|
187
187
|
children: /* @__PURE__ */ n(
|
|
188
188
|
x,
|
|
189
189
|
{
|
|
190
|
-
name: e ? "CancelIcon" : c ? "CheckIcon" :
|
|
190
|
+
name: e ? "CancelIcon" : c ? "CheckIcon" : h ? "AlertIcon" : "Documentos",
|
|
191
191
|
fill: "white",
|
|
192
192
|
height: 20,
|
|
193
193
|
width: 20
|
|
@@ -202,7 +202,7 @@ import '../../assets/CompactFileUpload.css';const J = "_inputContainer_1dauy_1",
|
|
|
202
202
|
f && /* @__PURE__ */ n("span", { className: `small1Medium ${t.compactLabel}`, children: f }),
|
|
203
203
|
/* @__PURE__ */ n("span", { className: `small3Regular ${t.compactFileName}`, children: i == null ? void 0 : i.name })
|
|
204
204
|
] }),
|
|
205
|
-
(e ||
|
|
205
|
+
(e || s || o || c) && /* @__PURE__ */ n(
|
|
206
206
|
"span",
|
|
207
207
|
{
|
|
208
208
|
className: `
|
|
@@ -217,7 +217,7 @@ import '../../assets/CompactFileUpload.css';const J = "_inputContainer_1dauy_1",
|
|
|
217
217
|
}
|
|
218
218
|
),
|
|
219
219
|
e && /* @__PURE__ */ n("span", { className: `small3Regular ${t.compactStatusText}`, children: e }),
|
|
220
|
-
s && /* @__PURE__ */ n("span", { className: `small3Regular ${t.compactStatusText}`, children:
|
|
220
|
+
s && /* @__PURE__ */ n("span", { className: `small3Regular ${t.compactStatusText}`, children: h }),
|
|
221
221
|
c && !o && /* @__PURE__ */ n("span", { className: `small3Regular ${t.compactStatusText}`, children: c })
|
|
222
222
|
] }),
|
|
223
223
|
/* @__PURE__ */ u("div", { className: t.compactActions, children: [
|
package/package.json
CHANGED