bmi-next-brokers 1.2.4 → 1.2.5
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.
- package/dist/components/FileUpload/CompactFileUpload.js +174 -136
- package/dist/icons/Icon.js +1 -1
- package/dist/icons/components/AmericanExpressRounded.d.ts +3 -0
- package/dist/icons/components/AmericanExpressRounded.js +12 -0
- package/dist/icons/components/DinersRounded.d.ts +3 -0
- package/dist/icons/components/DinersRounded.js +12 -0
- package/dist/icons/components/DiscoverRounded.d.ts +3 -0
- package/dist/icons/components/DiscoverRounded.js +12 -0
- package/dist/icons/components/FallbackCardRounded.d.ts +3 -0
- package/dist/icons/components/FallbackCardRounded.js +9 -0
- package/dist/icons/components/MastercardRounded.d.ts +3 -0
- package/dist/icons/components/MastercardRounded.js +10 -0
- package/dist/icons/components/VisaRounded.d.ts +3 -0
- package/dist/icons/components/VisaRounded.js +8 -0
- package/dist/icons/components/index.d.ts +6 -0
- package/dist/icons/components/index.js +194 -182
- package/dist/icons/index.d.ts +6 -0
- package/dist/icons/index.js +228 -216
- package/dist/index-cO2IT2I5.js +246 -0
- package/package.json +1 -1
- package/dist/index-DzpFRTwz.js +0 -234
|
@@ -1,88 +1,88 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { Icon as
|
|
4
|
-
import { Spinner as
|
|
5
|
-
import { Button as
|
|
6
|
-
import '../../assets/CompactFileUpload.css';const
|
|
7
|
-
inputContainer:
|
|
8
|
-
compactFileUploadContainer:
|
|
9
|
-
fullWidth:
|
|
10
|
-
dragOver:
|
|
11
|
-
variant_document:
|
|
12
|
-
icon:
|
|
13
|
-
variant_add:
|
|
14
|
-
disabled:
|
|
15
|
-
error:
|
|
16
|
-
warning:
|
|
17
|
-
inverted:
|
|
18
|
-
uploadContent:
|
|
19
|
-
textContent:
|
|
20
|
-
dragText:
|
|
21
|
-
hiddenInput:
|
|
22
|
-
compactFileContent:
|
|
23
|
-
compactFileIcon:
|
|
24
|
-
compactIconBackground:
|
|
25
|
-
compactFileText:
|
|
26
|
-
compactLabel:
|
|
27
|
-
compactFileName:
|
|
28
|
-
compactStatusText:
|
|
29
|
-
success:
|
|
1
|
+
import { jsx as n, jsxs as l, Fragment as y } from "react/jsx-runtime";
|
|
2
|
+
import { useState as b, useRef as S, useEffect as z } from "react";
|
|
3
|
+
import { Icon as u } from "../../icons/Icon.js";
|
|
4
|
+
import { Spinner as q } from "../Spinner/Spinner.js";
|
|
5
|
+
import { Button as T } from "../Button/Button.js";
|
|
6
|
+
import '../../assets/CompactFileUpload.css';const H = "_inputContainer_84wrd_1", G = "_compactFileUploadContainer_84wrd_9", J = "_fullWidth_84wrd_26", K = "_dragOver_84wrd_35", P = "_variant_document_84wrd_41", Q = "_icon_84wrd_41", X = "_variant_add_84wrd_45", Y = "_disabled_84wrd_50", Z = "_error_84wrd_61", tt = "_warning_84wrd_69", nt = "_inverted_84wrd_78", et = "_uploadContent_84wrd_103", at = "_textContent_84wrd_113", ct = "_dragText_84wrd_123", ot = "_hiddenInput_84wrd_153", it = "_compactFileContent_84wrd_166", rt = "_compactFileIcon_84wrd_174", lt = "_compactIconBackground_84wrd_182", st = "_compactFileText_84wrd_190", dt = "_compactLabel_84wrd_202", mt = "_compactFileName_84wrd_209", pt = "_compactStatusText_84wrd_210", _t = "_success_84wrd_221", ht = "_loading_84wrd_229", ut = "_addIconWrapper_84wrd_233", ft = "_browseText_84wrd_239", vt = "_compactVisibilityIcon_84wrd_246", wt = "_compactActions_84wrd_255", Ct = "_deleteText_84wrd_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,
|
|
17
|
+
inverted: nt,
|
|
18
|
+
uploadContent: et,
|
|
19
|
+
textContent: at,
|
|
20
|
+
dragText: ct,
|
|
21
|
+
hiddenInput: ot,
|
|
22
|
+
compactFileContent: it,
|
|
23
|
+
compactFileIcon: rt,
|
|
24
|
+
compactIconBackground: lt,
|
|
25
|
+
compactFileText: st,
|
|
26
|
+
compactLabel: dt,
|
|
27
|
+
compactFileName: mt,
|
|
28
|
+
compactStatusText: pt,
|
|
29
|
+
success: _t,
|
|
30
30
|
loading: ht,
|
|
31
|
-
addIconWrapper:
|
|
32
|
-
browseText:
|
|
33
|
-
compactVisibilityIcon:
|
|
34
|
-
compactActions:
|
|
35
|
-
deleteText:
|
|
36
|
-
},
|
|
37
|
-
variant:
|
|
38
|
-
label:
|
|
31
|
+
addIconWrapper: ut,
|
|
32
|
+
browseText: ft,
|
|
33
|
+
compactVisibilityIcon: vt,
|
|
34
|
+
compactActions: wt,
|
|
35
|
+
deleteText: Ct
|
|
36
|
+
}, bt = ({
|
|
37
|
+
variant: D = "document",
|
|
38
|
+
label: f,
|
|
39
39
|
error: a,
|
|
40
40
|
success: c,
|
|
41
|
-
warning:
|
|
41
|
+
warning: v,
|
|
42
42
|
loading: o = !1,
|
|
43
|
-
defaultFile:
|
|
43
|
+
defaultFile: g = null,
|
|
44
44
|
disabled: d = !1,
|
|
45
|
-
inverted:
|
|
46
|
-
browseText:
|
|
45
|
+
inverted: k = !1,
|
|
46
|
+
browseText: $ = "Seleccionar archivo",
|
|
47
47
|
allowedTypes: m,
|
|
48
48
|
inspectFileFunction: A = () => {
|
|
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:
|
|
53
|
+
maxFileSize: x,
|
|
54
54
|
onFileSelect: p,
|
|
55
|
-
statusIconBorderRadius:
|
|
56
|
-
fullWidth:
|
|
55
|
+
statusIconBorderRadius: N = "50%",
|
|
56
|
+
fullWidth: W = !1
|
|
57
57
|
}) => {
|
|
58
|
-
const [
|
|
59
|
-
|
|
60
|
-
), h =
|
|
61
|
-
|
|
58
|
+
const [j, w] = b(!1), [i, I] = b(
|
|
59
|
+
g || null
|
|
60
|
+
), h = S(null);
|
|
61
|
+
z(() => {
|
|
62
62
|
if (!i) return;
|
|
63
|
-
const
|
|
64
|
-
a &&
|
|
65
|
-
`⚠️ CompactFileUpload: Múltiples estados detectados (${
|
|
63
|
+
const e = [];
|
|
64
|
+
a && 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.`
|
|
66
66
|
);
|
|
67
67
|
}, [a, c, o, i]);
|
|
68
|
-
const
|
|
69
|
-
|
|
70
|
-
},
|
|
71
|
-
|
|
72
|
-
},
|
|
73
|
-
|
|
74
|
-
},
|
|
75
|
-
if (
|
|
76
|
-
const s =
|
|
68
|
+
const B = (e) => {
|
|
69
|
+
e.preventDefault(), d || w(!0);
|
|
70
|
+
}, E = (e) => {
|
|
71
|
+
e.preventDefault(), w(!1);
|
|
72
|
+
}, L = (e) => {
|
|
73
|
+
e.preventDefault();
|
|
74
|
+
}, O = (e) => {
|
|
75
|
+
if (e.preventDefault(), w(!1), d) return;
|
|
76
|
+
const s = e.dataTransfer.files;
|
|
77
77
|
F(s);
|
|
78
|
-
},
|
|
79
|
-
const s =
|
|
78
|
+
}, R = async (e) => {
|
|
79
|
+
const s = e.target.files;
|
|
80
80
|
F(s);
|
|
81
|
-
}, F = async (
|
|
82
|
-
if (!
|
|
81
|
+
}, F = async (e) => {
|
|
82
|
+
if (!e) return;
|
|
83
83
|
if (m && m.length > 0)
|
|
84
|
-
for (let r = 0; r <
|
|
85
|
-
const _ =
|
|
84
|
+
for (let r = 0; r < e.length; r++) {
|
|
85
|
+
const _ = e[r];
|
|
86
86
|
if (!m.some(
|
|
87
87
|
(C) => C.startsWith(".") ? _.name.toLowerCase().endsWith(C.toLowerCase()) : _.type === C
|
|
88
88
|
)) {
|
|
@@ -90,72 +90,72 @@ import '../../assets/CompactFileUpload.css';const G = "_inputContainer_84wrd_1",
|
|
|
90
90
|
return;
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
if (
|
|
94
|
-
for (let r = 0; r <
|
|
95
|
-
const _ =
|
|
96
|
-
if (_.size >
|
|
93
|
+
if (x)
|
|
94
|
+
for (let r = 0; r < e.length; r++) {
|
|
95
|
+
const _ = e[r];
|
|
96
|
+
if (_.size > x) {
|
|
97
97
|
console.warn(`File ${_.name} exceeds maximum size`);
|
|
98
98
|
return;
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
const s =
|
|
102
|
-
|
|
101
|
+
const s = e ? e[0] : null;
|
|
102
|
+
I(s), await (p == null ? void 0 : p(
|
|
103
103
|
s ? (() => {
|
|
104
104
|
const r = new DataTransfer();
|
|
105
105
|
return r.items.add(s), r.files;
|
|
106
106
|
})() : null
|
|
107
107
|
));
|
|
108
|
-
},
|
|
108
|
+
}, U = () => {
|
|
109
109
|
!d && h.current && h.current.click();
|
|
110
|
-
},
|
|
111
|
-
await (p == null ? void 0 : p(null)),
|
|
112
|
-
},
|
|
110
|
+
}, V = async () => {
|
|
111
|
+
await (p == null ? void 0 : p(null)), I(null), h.current && (h.current.value = "");
|
|
112
|
+
}, M = [
|
|
113
113
|
t.compactFileUploadContainer,
|
|
114
|
-
|
|
115
|
-
t[`variant_${
|
|
116
|
-
|
|
117
|
-
i && a ? t.error : "",
|
|
118
|
-
i && !a && o ? t.loading : "",
|
|
114
|
+
W && t.fullWidth,
|
|
115
|
+
t[`variant_${D}`],
|
|
116
|
+
!i && v ? t.warning : "",
|
|
117
|
+
i && !o && !c && a ? t.error : "",
|
|
118
|
+
i && !a && !c && o ? t.loading : "",
|
|
119
119
|
i && !a && !o && c ? t.success : "",
|
|
120
120
|
d ? t.disabled : "",
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
k ? t.inverted : "",
|
|
122
|
+
j ? t.dragOver : ""
|
|
123
123
|
].filter(Boolean).join(" ");
|
|
124
|
-
return /* @__PURE__ */
|
|
124
|
+
return /* @__PURE__ */ n("div", { className: t.inputContainer, children: /* @__PURE__ */ l(
|
|
125
125
|
"div",
|
|
126
126
|
{
|
|
127
|
-
className:
|
|
128
|
-
onDragEnter:
|
|
129
|
-
onDragLeave:
|
|
130
|
-
onDragOver:
|
|
131
|
-
onDrop:
|
|
127
|
+
className: M,
|
|
128
|
+
onDragEnter: B,
|
|
129
|
+
onDragLeave: E,
|
|
130
|
+
onDragOver: L,
|
|
131
|
+
onDrop: O,
|
|
132
132
|
onClick: i ? () => {
|
|
133
|
-
} :
|
|
133
|
+
} : U,
|
|
134
134
|
style: { cursor: d ? "not-allowed" : "pointer" },
|
|
135
135
|
children: [
|
|
136
|
-
/* @__PURE__ */
|
|
136
|
+
/* @__PURE__ */ n(
|
|
137
137
|
"input",
|
|
138
138
|
{
|
|
139
139
|
ref: h,
|
|
140
140
|
type: "file",
|
|
141
141
|
className: t.hiddenInput,
|
|
142
|
-
onChange:
|
|
142
|
+
onChange: R,
|
|
143
143
|
disabled: d,
|
|
144
144
|
accept: m == null ? void 0 : m.join(",")
|
|
145
145
|
}
|
|
146
146
|
),
|
|
147
|
-
/* @__PURE__ */
|
|
147
|
+
/* @__PURE__ */ n("div", { className: t.uploadContent, children: i ? (
|
|
148
148
|
// Compact layout - simple text with left icon
|
|
149
|
-
/* @__PURE__ */
|
|
150
|
-
/* @__PURE__ */
|
|
149
|
+
/* @__PURE__ */ l("div", { className: t.compactFileContent, children: [
|
|
150
|
+
/* @__PURE__ */ n("div", { className: t.compactFileIcon, children: /* @__PURE__ */ n(
|
|
151
151
|
"div",
|
|
152
152
|
{
|
|
153
153
|
className: t.compactIconBackground,
|
|
154
154
|
style: {
|
|
155
|
-
background: a ? "#DC2626" : o ? "#2054A5" : c ? "#65A30D" :
|
|
156
|
-
borderRadius:
|
|
155
|
+
background: a && !o ? "#DC2626" : o ? "#2054A5" : c ? "#65A30D" : "#2054A5",
|
|
156
|
+
borderRadius: N
|
|
157
157
|
},
|
|
158
|
-
children: o ? /* @__PURE__ */
|
|
158
|
+
children: o ? /* @__PURE__ */ n(
|
|
159
159
|
"div",
|
|
160
160
|
{
|
|
161
161
|
style: {
|
|
@@ -164,8 +164,8 @@ import '../../assets/CompactFileUpload.css';const G = "_inputContainer_84wrd_1",
|
|
|
164
164
|
alignItems: "center",
|
|
165
165
|
margin: "4px"
|
|
166
166
|
},
|
|
167
|
-
children: /* @__PURE__ */
|
|
168
|
-
|
|
167
|
+
children: /* @__PURE__ */ n(
|
|
168
|
+
q,
|
|
169
169
|
{
|
|
170
170
|
size: 10,
|
|
171
171
|
color: "primary",
|
|
@@ -175,7 +175,7 @@ import '../../assets/CompactFileUpload.css';const G = "_inputContainer_84wrd_1",
|
|
|
175
175
|
}
|
|
176
176
|
)
|
|
177
177
|
}
|
|
178
|
-
) : /* @__PURE__ */
|
|
178
|
+
) : /* @__PURE__ */ n(
|
|
179
179
|
"div",
|
|
180
180
|
{
|
|
181
181
|
style: {
|
|
@@ -183,10 +183,10 @@ import '../../assets/CompactFileUpload.css';const G = "_inputContainer_84wrd_1",
|
|
|
183
183
|
justifyContent: "center",
|
|
184
184
|
alignItems: "center"
|
|
185
185
|
},
|
|
186
|
-
children: /* @__PURE__ */
|
|
187
|
-
|
|
186
|
+
children: /* @__PURE__ */ n(
|
|
187
|
+
u,
|
|
188
188
|
{
|
|
189
|
-
name: a ? "CancelIcon" : c ? "CheckIcon" :
|
|
189
|
+
name: a ? "CancelIcon" : c ? "CheckIcon" : "Documentos",
|
|
190
190
|
fill: "white",
|
|
191
191
|
height: 20,
|
|
192
192
|
width: 20
|
|
@@ -196,12 +196,12 @@ import '../../assets/CompactFileUpload.css';const G = "_inputContainer_84wrd_1",
|
|
|
196
196
|
)
|
|
197
197
|
}
|
|
198
198
|
) }),
|
|
199
|
-
/* @__PURE__ */
|
|
200
|
-
!a && !o && !c &&
|
|
201
|
-
|
|
202
|
-
/* @__PURE__ */
|
|
199
|
+
/* @__PURE__ */ l("div", { className: t.compactFileText, children: [
|
|
200
|
+
!a && !o && !c && /* @__PURE__ */ l(y, { children: [
|
|
201
|
+
f && /* @__PURE__ */ n("span", { className: `small1Medium ${t.compactLabel}`, children: f }),
|
|
202
|
+
/* @__PURE__ */ n("span", { className: `small3Regular ${t.compactFileName}`, children: i == null ? void 0 : i.name })
|
|
203
203
|
] }),
|
|
204
|
-
(a ||
|
|
204
|
+
(a || o || c) && /* @__PURE__ */ n(
|
|
205
205
|
"span",
|
|
206
206
|
{
|
|
207
207
|
className: `
|
|
@@ -209,24 +209,22 @@ import '../../assets/CompactFileUpload.css';const G = "_inputContainer_84wrd_1",
|
|
|
209
209
|
${t.compactFileName}
|
|
210
210
|
${a && t.error}
|
|
211
211
|
${c && t.success}
|
|
212
|
-
${l && t.warning}
|
|
213
212
|
${o && t.loading}
|
|
214
213
|
`,
|
|
215
|
-
children:
|
|
214
|
+
children: i == null ? void 0 : i.name
|
|
216
215
|
}
|
|
217
216
|
),
|
|
218
|
-
a && /* @__PURE__ */
|
|
219
|
-
|
|
220
|
-
c && !o && /* @__PURE__ */ e("span", { className: `small3Regular ${t.compactStatusText}`, children: c })
|
|
217
|
+
a && /* @__PURE__ */ n("span", { className: `small3Regular ${t.compactStatusText}`, children: a }),
|
|
218
|
+
c && !o && /* @__PURE__ */ n("span", { className: `small3Regular ${t.compactStatusText}`, children: c })
|
|
221
219
|
] }),
|
|
222
|
-
/* @__PURE__ */
|
|
223
|
-
!a && !o && !c &&
|
|
220
|
+
/* @__PURE__ */ l("div", { className: t.compactActions, children: [
|
|
221
|
+
!a && !o && !c && /* @__PURE__ */ n(
|
|
224
222
|
"div",
|
|
225
223
|
{
|
|
226
224
|
className: t.compactVisibilityIcon,
|
|
227
225
|
onClick: A,
|
|
228
|
-
children: /* @__PURE__ */
|
|
229
|
-
|
|
226
|
+
children: /* @__PURE__ */ n(
|
|
227
|
+
u,
|
|
230
228
|
{
|
|
231
229
|
name: "Visibility",
|
|
232
230
|
fill: "#2054A5",
|
|
@@ -236,48 +234,88 @@ import '../../assets/CompactFileUpload.css';const G = "_inputContainer_84wrd_1",
|
|
|
236
234
|
)
|
|
237
235
|
}
|
|
238
236
|
),
|
|
239
|
-
(a || c || o) && /* @__PURE__ */
|
|
240
|
-
|
|
237
|
+
(a || c || o) && /* @__PURE__ */ n(
|
|
238
|
+
T,
|
|
241
239
|
{
|
|
242
240
|
variant: c ? "ghost" : "outline",
|
|
243
241
|
icon: {
|
|
244
242
|
name: "CancelIcon",
|
|
245
243
|
position: "before"
|
|
246
244
|
},
|
|
247
|
-
onClick:
|
|
245
|
+
onClick: V,
|
|
248
246
|
children: a ? "Eliminar" : o ? "Cancelar" : ""
|
|
249
247
|
}
|
|
250
|
-
)
|
|
251
|
-
|
|
252
|
-
|
|
248
|
+
)
|
|
249
|
+
] })
|
|
250
|
+
] })
|
|
251
|
+
) : v ? /* @__PURE__ */ l("div", { className: t.compactFileContent, children: [
|
|
252
|
+
/* @__PURE__ */ n("div", { className: t.compactFileIcon, children: /* @__PURE__ */ n(
|
|
253
|
+
"div",
|
|
254
|
+
{
|
|
255
|
+
className: t.compactIconBackground,
|
|
256
|
+
style: {
|
|
257
|
+
background: "#EA580C",
|
|
258
|
+
borderRadius: N
|
|
259
|
+
},
|
|
260
|
+
children: /* @__PURE__ */ n(
|
|
261
|
+
"div",
|
|
253
262
|
{
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
263
|
+
style: {
|
|
264
|
+
display: "flex",
|
|
265
|
+
justifyContent: "center",
|
|
266
|
+
alignItems: "center"
|
|
258
267
|
},
|
|
259
|
-
children:
|
|
268
|
+
children: /* @__PURE__ */ n(
|
|
269
|
+
u,
|
|
270
|
+
{
|
|
271
|
+
name: "AlertIcon",
|
|
272
|
+
fill: "white",
|
|
273
|
+
height: 20,
|
|
274
|
+
width: 20
|
|
275
|
+
}
|
|
276
|
+
)
|
|
260
277
|
}
|
|
261
278
|
)
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
279
|
+
}
|
|
280
|
+
) }),
|
|
281
|
+
/* @__PURE__ */ l("div", { className: t.compactFileText, children: [
|
|
282
|
+
/* @__PURE__ */ n(
|
|
283
|
+
"span",
|
|
284
|
+
{
|
|
285
|
+
className: ` small1Medium ${t.compactFileName} ${t.warning}`,
|
|
286
|
+
children: f
|
|
287
|
+
}
|
|
288
|
+
),
|
|
289
|
+
/* @__PURE__ */ n("span", { className: `small3Regular ${t.compactStatusText}`, children: v })
|
|
290
|
+
] }),
|
|
291
|
+
/* @__PURE__ */ n("div", { className: t.compactActions, children: /* @__PURE__ */ n(
|
|
292
|
+
T,
|
|
293
|
+
{
|
|
294
|
+
variant: "outline",
|
|
295
|
+
icon: {
|
|
296
|
+
name: "Upload",
|
|
297
|
+
position: "before"
|
|
298
|
+
},
|
|
299
|
+
children: "Subir doc"
|
|
300
|
+
}
|
|
301
|
+
) })
|
|
302
|
+
] }) : /* @__PURE__ */ n(y, { children: /* @__PURE__ */ l("div", { className: t.textContent, children: [
|
|
303
|
+
/* @__PURE__ */ n(
|
|
266
304
|
"div",
|
|
267
305
|
{
|
|
268
306
|
className: t.addIconWrapper,
|
|
269
307
|
style: {
|
|
270
308
|
background: "#2054A5"
|
|
271
309
|
},
|
|
272
|
-
children: /* @__PURE__ */
|
|
310
|
+
children: /* @__PURE__ */ n("div", { style: { marginTop: "3px" }, children: /* @__PURE__ */ n(u, { name: "Add", fill: "white", height: 27, width: 27 }) })
|
|
273
311
|
}
|
|
274
312
|
),
|
|
275
|
-
/* @__PURE__ */
|
|
313
|
+
/* @__PURE__ */ n("span", { className: `small1Medium ${t.browseText}`, children: $ })
|
|
276
314
|
] }) }) })
|
|
277
315
|
]
|
|
278
316
|
}
|
|
279
317
|
) });
|
|
280
318
|
};
|
|
281
319
|
export {
|
|
282
|
-
|
|
320
|
+
bt as CompactFileUpload
|
|
283
321
|
};
|
package/dist/icons/Icon.js
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsxs as l, jsx as h } from "react/jsx-runtime";
|
|
2
|
+
const v = (e) => /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 44 44", width: "1em", height: "1em", ...e, children: [
|
|
3
|
+
/* @__PURE__ */ h("rect", { width: 44, height: 44, fill: "#00175A", rx: 22 }),
|
|
4
|
+
/* @__PURE__ */ l("g", { clipPath: "url(#american_express_rounded_svg__a)", children: [
|
|
5
|
+
/* @__PURE__ */ h("path", { fill: "#fff", d: "M11.167 11.169h21.664v21.664H11.167z" }),
|
|
6
|
+
/* @__PURE__ */ h("path", { fill: "#016FD0", d: "M32.831 32.834v-3.431h-2.615l-1.344-1.489-1.352 1.489h-8.616v-6.936h-2.781l3.45-7.808H22.9l1.19 2.674V14.66h4.117l.717 2.017.72-2.017h3.19v-3.49H11.168v21.665zm-2.175-4.303h2.171l-2.873-3.047 2.873-3.014H30.69l-1.776 1.94-1.758-1.94h-2.176l2.859 3.033-2.859 3.032h2.113l1.784-1.958 1.776 1.958zm.51-3.043 1.665 1.769V23.73zm-9.692 1.64v-.946h3.42v-1.366h-3.42v-.946h3.509v-1.403H19.82v6.06h5.163v-1.403h-3.509zm9.717-5.54h1.636v-6.06h-2.544l-1.36 3.774-1.351-3.775h-2.589v6.06h1.636v-4.243l1.559 4.244h1.455l1.558-4.251zm-8.07 0h1.862l-2.678-6.06h-2.13l-2.678 6.06h1.82l.503-1.212h2.788l.51 1.212zm-1.081-2.57h-1.648l.824-1.984z" })
|
|
7
|
+
] }),
|
|
8
|
+
/* @__PURE__ */ h("defs", { children: /* @__PURE__ */ h("clipPath", { id: "american_express_rounded_svg__a", children: /* @__PURE__ */ h("path", { fill: "#fff", d: "M11.168 11.168h21.664v21.664H11.168z" }) }) })
|
|
9
|
+
] });
|
|
10
|
+
export {
|
|
11
|
+
v as default
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsxs as d, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
const l = (e) => /* @__PURE__ */ d("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 44 44", width: "1em", height: "1em", ...e, children: [
|
|
3
|
+
/* @__PURE__ */ i("rect", { width: 44, height: 44, fill: "#B6BDD3", rx: 22 }),
|
|
4
|
+
/* @__PURE__ */ d("g", { clipPath: "url(#diners_rounded_svg__a)", children: [
|
|
5
|
+
/* @__PURE__ */ i("path", { fill: "#fff", d: "M8.625 22.205c0-6.395 5.185-11.58 11.58-11.58s11.58 5.185 11.58 11.58-5.184 11.58-11.58 11.58c-6.395 0-11.58-5.184-11.58-11.58" }),
|
|
6
|
+
/* @__PURE__ */ i("path", { fill: "#004C97", d: "M20.22 33.992c-6.636.033-12.099-5.344-12.099-11.888 0-7.152 5.463-12.098 12.098-12.098h3.111c6.558 0 12.542 4.942 12.542 12.098 0 6.542-5.984 11.89-12.541 11.89h-3.112zm.026-22.994C14.182 11 9.268 15.914 9.268 21.978s4.914 10.977 10.978 10.979c6.064 0 10.979-4.915 10.98-10.979 0-6.064-4.916-10.978-10.98-10.98M17.754 28.47V15.484a6.975 6.975 0 0 0-4.467 6.494 6.97 6.97 0 0 0 4.467 6.493m9.453-6.493a6.97 6.97 0 0 0-4.47-6.496v12.99a6.97 6.97 0 0 0 4.47-6.496" })
|
|
7
|
+
] }),
|
|
8
|
+
/* @__PURE__ */ i("defs", { children: /* @__PURE__ */ i("clipPath", { id: "diners_rounded_svg__a", children: /* @__PURE__ */ i("path", { fill: "#fff", d: "M8.125 10.007h27.75v23.987H8.126z" }) }) })
|
|
9
|
+
] });
|
|
10
|
+
export {
|
|
11
|
+
l as default
|
|
12
|
+
};
|