bmi-next-brokers 2.7.8 → 2.7.9
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/Select/Select.js +96 -99
- package/dist/icons/Icon.js +1 -1
- package/dist/icons/components/AddAlert.js +36 -7
- package/dist/icons/components/Aetna.js +18 -1
- package/dist/icons/components/AnchorEmpty.js +36 -7
- package/dist/icons/components/AnchorFill.js +37 -8
- package/dist/icons/components/ArrowForward.js +37 -8
- package/dist/icons/components/ArrowTree.js +1 -1
- package/dist/icons/components/ArrowTreeDown.js +4 -4
- package/dist/icons/components/ArrowTreeRight.js +3 -3
- package/dist/icons/components/Assignment.js +37 -8
- package/dist/icons/components/CheckCircle.js +36 -7
- package/dist/icons/components/ChevronLeft.js +6 -6
- package/dist/icons/components/ChevronRight.js +37 -8
- package/dist/icons/components/Comunicaciones.js +36 -7
- package/dist/icons/components/DirectorioMedico.js +9 -7
- package/dist/icons/components/Facturas.js +36 -7
- package/dist/icons/components/Female.js +18 -1
- package/dist/icons/components/Handshake.js +10 -8
- package/dist/icons/components/Headset.js +37 -8
- package/dist/icons/components/Home.js +37 -8
- package/dist/icons/components/Hospital.js +27 -4
- package/dist/icons/components/Male.js +19 -2
- package/dist/icons/components/PetSupplies.js +20 -8
- package/dist/icons/components/PolizaIcon.js +10 -8
- package/dist/icons/components/Schedule.js +36 -7
- package/dist/icons/components/Stethoscope.js +35 -6
- package/dist/icons/components/Swich.js +37 -8
- package/dist/icons/components/TrendingDown.js +37 -8
- package/dist/icons/components/TrendingUp.js +10 -8
- package/dist/icons/components/WavingHand.js +36 -7
- package/dist/icons/components/index.js +1 -1
- package/dist/icons/index.js +1 -1
- package/dist/{index-BJ02zit-.js → index-DQ5G_9E5.js} +1 -1
- package/package.json +1 -1
- /package/dist/icons/components/{Rin/314/203ones.d.ts" → Ri/303/261ones.d.ts"} +0 -0
- /package/dist/icons/components/{Rin/314/203ones.js" → Ri/303/261ones.js"} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as p, jsx as l, Fragment as G } from "react/jsx-runtime";
|
|
2
2
|
import { useState as J, useRef as C, useEffect as K, useMemo as de } from "react";
|
|
3
|
-
import { createPortal as
|
|
3
|
+
import { createPortal as Te } from "react-dom";
|
|
4
4
|
import { s as e } from "../../Select.module-C2pwN-re.js";
|
|
5
|
-
import { Icon as
|
|
5
|
+
import { Icon as x } from "../../icons/Icon.js";
|
|
6
6
|
import { HelperText as We } from "../helperText/index.js";
|
|
7
7
|
import { FieldError as xe } from "../fieldError/index.js";
|
|
8
8
|
import { useIsMediaQuery as Pe } from "../../hooks/useMediaQuery.js";
|
|
@@ -13,26 +13,26 @@ import { useBTC as Me } from "../../hooks/btcContext/useBtcContext.js";
|
|
|
13
13
|
import { useDropdownPosition as Be } from "../../hooks/useDropdownPosition.js";
|
|
14
14
|
const nr = ({
|
|
15
15
|
size: c = "medium",
|
|
16
|
-
label:
|
|
16
|
+
label: P,
|
|
17
17
|
error: U,
|
|
18
|
-
helperText:
|
|
18
|
+
helperText: V,
|
|
19
19
|
icon: L,
|
|
20
20
|
className: ue,
|
|
21
21
|
required: me,
|
|
22
|
-
placeholder:
|
|
23
|
-
options:
|
|
22
|
+
placeholder: F = "Seleccionar...",
|
|
23
|
+
options: b = [],
|
|
24
24
|
value: f,
|
|
25
25
|
onChange: i,
|
|
26
|
-
onSearchInput:
|
|
26
|
+
onSearchInput: j,
|
|
27
27
|
disabled: v = !1,
|
|
28
28
|
inverted: g = !1,
|
|
29
29
|
dynamicIcon: he = !1,
|
|
30
30
|
showPlaceholderIcon: fe = !1,
|
|
31
31
|
btc: X,
|
|
32
|
-
columnHeaders:
|
|
32
|
+
columnHeaders: E,
|
|
33
33
|
searchable: pe = !1,
|
|
34
34
|
noSearchResult: Y = "No se encontraron resultados",
|
|
35
|
-
searchAndCheckbox:
|
|
35
|
+
searchAndCheckbox: Q = !1,
|
|
36
36
|
customBorderColor: Z,
|
|
37
37
|
responsive: ge = !1,
|
|
38
38
|
title: $e,
|
|
@@ -40,39 +40,39 @@ const nr = ({
|
|
|
40
40
|
highlightMatch: Ne = !1,
|
|
41
41
|
...Se
|
|
42
42
|
}) => {
|
|
43
|
-
const
|
|
43
|
+
const M = !!j, { btc: ve } = Me(), ye = X ?? ve, [a, y] = J(!1), [m, be] = J(""), s = pe || Q, $ = Q, B = C(null), Oe = C(null), R = C(null), z = C(null), I = C(null), [O, w] = J([]), De = a && !v, Ce = Pe(`(max-width: ${we}px)`), A = ge && Ce && !v;
|
|
44
44
|
K(() => {
|
|
45
45
|
if ($)
|
|
46
46
|
if (Array.isArray(f) && f.length > 0) {
|
|
47
|
-
const r =
|
|
48
|
-
w((
|
|
49
|
-
const u =
|
|
50
|
-
return u.length === r.length && r.every((S) => u.includes(S.value)) ?
|
|
51
|
-
}), (
|
|
47
|
+
const r = b.filter((t) => f.includes(t.value)), n = r.map((t) => t.value);
|
|
48
|
+
w((t) => {
|
|
49
|
+
const u = t.map((S) => S.value);
|
|
50
|
+
return u.length === r.length && r.every((S) => u.includes(S.value)) ? t : r;
|
|
51
|
+
}), (n.length !== f.length || !n.every((t) => f.includes(t))) && i && i(n);
|
|
52
52
|
} else
|
|
53
53
|
w((r) => r.length === 0 ? r : []);
|
|
54
54
|
else if (f) {
|
|
55
|
-
const r =
|
|
55
|
+
const r = b.find((n) => n.value === f);
|
|
56
56
|
r ? w(
|
|
57
|
-
(
|
|
58
|
-
) : (w((
|
|
57
|
+
(n) => n.length === 1 && n[0].value === r.value ? n : [r]
|
|
58
|
+
) : (w((n) => n.length === 0 ? n : []), i && i(""));
|
|
59
59
|
} else
|
|
60
60
|
w((r) => r.length === 0 ? r : []);
|
|
61
|
-
}, [f,
|
|
62
|
-
const
|
|
61
|
+
}, [f, b, $]);
|
|
62
|
+
const _ = O.map((r) => r.value), o = O[0] ?? null, N = (r) => typeof r == "string" ? r.normalize("NFD").replace(/[\u0300-\u036f]/g, "").replace(/\s+/g, "").toLowerCase() : "", ee = C("");
|
|
63
63
|
K(() => {
|
|
64
64
|
if (!s) return;
|
|
65
|
-
const r = m.trim(),
|
|
65
|
+
const r = m.trim(), n = ee.current.trim();
|
|
66
66
|
if ($) {
|
|
67
67
|
if (r.length > 0) {
|
|
68
68
|
const d = O.filter(
|
|
69
69
|
(u) => N(u.label).includes(N(r))
|
|
70
|
-
),
|
|
71
|
-
d.length !== O.length && (w(d), i && i(
|
|
70
|
+
), t = d.map((u) => u.value);
|
|
71
|
+
d.length !== O.length && (w(d), i && i(t));
|
|
72
72
|
}
|
|
73
|
-
r === "" &&
|
|
73
|
+
r === "" && n.length > 0 && (w([]), i && i([]));
|
|
74
74
|
} else
|
|
75
|
-
o && r.length > 0 && !N(o.label).includes(N(r)) && (w([]), i && i("")), r === "" &&
|
|
75
|
+
o && r.length > 0 && !N(o.label).includes(N(r)) && (w([]), i && i("")), r === "" && n.length > 0 && (w([]), i && i(""));
|
|
76
76
|
ee.current = m;
|
|
77
77
|
}, [
|
|
78
78
|
m,
|
|
@@ -82,136 +82,133 @@ const nr = ({
|
|
|
82
82
|
s,
|
|
83
83
|
i
|
|
84
84
|
]);
|
|
85
|
-
const re = de(() => s ? a ? m : !$ && o ? o.label : $ &&
|
|
85
|
+
const re = de(() => s ? a ? m : !$ && o ? o.label : $ && _.length > 0 ? `${_.length} ${_.length === 1 ? "seleccionado" : "seleccionados"}` : "" : "", [
|
|
86
86
|
s,
|
|
87
87
|
a,
|
|
88
88
|
m,
|
|
89
89
|
o,
|
|
90
|
-
|
|
90
|
+
_,
|
|
91
91
|
$
|
|
92
|
-
]), te = (r) => O.some((
|
|
92
|
+
]), te = (r) => O.some((n) => n.value === r), T = de(() => !s || !m || M ? b : b.filter(
|
|
93
93
|
(r) => N(r.label).includes(N(m))
|
|
94
|
-
), [
|
|
94
|
+
), [b, m, s, M]), k = (() => {
|
|
95
95
|
if (U) return U;
|
|
96
|
-
if (s && m && m.trim().length > 0 &&
|
|
96
|
+
if (s && m && m.trim().length > 0 && T.length === 0 && !a && !f)
|
|
97
97
|
return Y;
|
|
98
98
|
})();
|
|
99
99
|
K(() => {
|
|
100
|
-
const r = (
|
|
101
|
-
|
|
100
|
+
const r = (n) => {
|
|
101
|
+
B.current && !B.current.contains(n.target) && R.current && !R.current.contains(n.target) && y(!1);
|
|
102
102
|
};
|
|
103
103
|
return document.addEventListener("mousedown", r), () => {
|
|
104
104
|
document.removeEventListener("mousedown", r);
|
|
105
105
|
};
|
|
106
|
-
}, [s,
|
|
106
|
+
}, [s, M, o]);
|
|
107
107
|
const Le = [
|
|
108
108
|
e.select,
|
|
109
|
-
|
|
109
|
+
ye && e.btc,
|
|
110
110
|
e[c],
|
|
111
|
-
|
|
111
|
+
k ? e.error : "",
|
|
112
112
|
v ? e.disabled : "",
|
|
113
113
|
a ? e.open : "",
|
|
114
114
|
g ? e.inverted : "",
|
|
115
115
|
ue
|
|
116
116
|
].filter(Boolean).join(" "), D = c === "small" ? 16 : c === "large" ? 20 : c === "extraLarge" ? 24 : 18, ne = he && (o != null && o.icon) && !(s && a) ? o.icon : L, Ie = () => {
|
|
117
117
|
var r;
|
|
118
|
-
v || (
|
|
119
|
-
}, q = (r,
|
|
118
|
+
v || (y(!a), s && !a && (se(), (r = I.current) == null || r.focus()));
|
|
119
|
+
}, q = (r, n = !0) => {
|
|
120
120
|
if (i)
|
|
121
121
|
if ($) {
|
|
122
122
|
const d = Array.isArray(f) ? f : [], u = d.includes(r) ? d.filter((h) => h !== r) : [...d, r];
|
|
123
123
|
i(u);
|
|
124
124
|
} else
|
|
125
|
-
i(r),
|
|
125
|
+
i(r), n && y(!1);
|
|
126
126
|
}, le = (r) => {
|
|
127
|
-
const
|
|
128
|
-
|
|
127
|
+
const n = r.target.value;
|
|
128
|
+
be(n), a || y(!0), j && j(n);
|
|
129
129
|
}, se = () => {
|
|
130
|
-
a ||
|
|
130
|
+
a || y(!0);
|
|
131
131
|
}, _e = (r) => {
|
|
132
|
-
A && (r.preventDefault(), r.stopPropagation()), s && (r.stopPropagation(), a || (
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
if (!Ne || !t.trim()) return r;
|
|
138
|
-
const d = N(r), n = N(t.trim());
|
|
139
|
-
if (!d.includes(n)) return r;
|
|
132
|
+
A && (r.preventDefault(), r.stopPropagation()), s && (r.stopPropagation(), a || (y(!0), I.current && (I.current.readOnly = !1, I.current.focus())));
|
|
133
|
+
}, H = (r, n) => {
|
|
134
|
+
if (!Ne || !n.trim()) return r;
|
|
135
|
+
const d = N(r), t = N(n.trim());
|
|
136
|
+
if (!d.includes(t)) return r;
|
|
140
137
|
const u = [], h = [];
|
|
141
|
-
for (let
|
|
142
|
-
const
|
|
143
|
-
for (let oe = 0; oe <
|
|
144
|
-
h.push(
|
|
138
|
+
for (let W = 0; W < r.length; W++) {
|
|
139
|
+
const Re = N(r[W]);
|
|
140
|
+
for (let oe = 0; oe < Re.length; oe++)
|
|
141
|
+
h.push(W);
|
|
145
142
|
}
|
|
146
|
-
const S = d.indexOf(
|
|
143
|
+
const S = d.indexOf(t), Qe = S + t.length - 1, ie = h[S], ae = h[Qe] + 1;
|
|
147
144
|
return u.push(r.slice(0, ie)), u.push(
|
|
148
145
|
/* @__PURE__ */ l("mark", { className: e.highlight, children: r.slice(ie, ae) }, "highlight")
|
|
149
146
|
), u.push(r.slice(ae)), /* @__PURE__ */ l(G, { children: u });
|
|
150
147
|
}, ke = Be({
|
|
151
148
|
isOpen: a,
|
|
152
149
|
containerRef: z,
|
|
153
|
-
dropdownRef:
|
|
150
|
+
dropdownRef: R,
|
|
154
151
|
size: c,
|
|
155
|
-
optionsLength:
|
|
156
|
-
label:
|
|
157
|
-
helperText:
|
|
158
|
-
displayError:
|
|
152
|
+
optionsLength: T.length,
|
|
153
|
+
label: P,
|
|
154
|
+
helperText: V,
|
|
155
|
+
displayError: k
|
|
159
156
|
}), ce = ({
|
|
160
157
|
insideDrawer: r = !1,
|
|
161
|
-
handleOptionClickProp:
|
|
158
|
+
handleOptionClickProp: n
|
|
162
159
|
}) => {
|
|
163
|
-
const d = (
|
|
164
|
-
|
|
160
|
+
const d = (t) => {
|
|
161
|
+
n ? n(t) : q(t);
|
|
165
162
|
};
|
|
166
|
-
return
|
|
163
|
+
return T.length > 0 ? T.map((t, u) => /* @__PURE__ */ p(
|
|
167
164
|
"div",
|
|
168
165
|
{
|
|
169
|
-
className: `${e.option} ${r ? e.isDrawer : ""} ${te(
|
|
166
|
+
className: `${e.option} ${r ? e.isDrawer : ""} ${te(t.value) ? e.optionSelected : ""} ${g ? e.option_inverted : ""} ${t.columns ? e.optionTable : ""} ${Q ? e.optionWithCheckbox : ""}`,
|
|
170
167
|
onClick: (h) => {
|
|
171
|
-
h.stopPropagation(), d(
|
|
168
|
+
h.stopPropagation(), d(t.value);
|
|
172
169
|
},
|
|
173
170
|
children: [
|
|
174
|
-
|
|
171
|
+
Q && /* @__PURE__ */ l(
|
|
175
172
|
"input",
|
|
176
173
|
{
|
|
177
174
|
type: "checkbox",
|
|
178
|
-
checked: te(
|
|
179
|
-
onChange: () => q(
|
|
175
|
+
checked: te(t.value),
|
|
176
|
+
onChange: () => q(t.value),
|
|
180
177
|
onClick: (h) => h.stopPropagation(),
|
|
181
178
|
className: e.optionCheckbox
|
|
182
179
|
}
|
|
183
180
|
),
|
|
184
|
-
|
|
181
|
+
t.columns ? /* @__PURE__ */ l(G, { children: E && Object.entries(E).map(([h, S]) => /* @__PURE__ */ p("div", { className: e.tableColumn, children: [
|
|
185
182
|
/* @__PURE__ */ l("div", { className: `${e.columnHeader} ${e[c]}`, children: S }),
|
|
186
183
|
/* @__PURE__ */ l("div", { className: `${e.columnValue} ${e[c]}`, children: H(
|
|
187
|
-
String(
|
|
184
|
+
String(t.columns[h] ?? ""),
|
|
188
185
|
m
|
|
189
186
|
) })
|
|
190
187
|
] }, h)) }) : (
|
|
191
188
|
//opción tiene descripción
|
|
192
|
-
|
|
193
|
-
(
|
|
194
|
-
|
|
189
|
+
t.description ? /* @__PURE__ */ p("div", { className: e.optionWithDescriptionWrapper, children: [
|
|
190
|
+
(t.icon || L) && /* @__PURE__ */ l(
|
|
191
|
+
x,
|
|
195
192
|
{
|
|
196
|
-
name:
|
|
193
|
+
name: t.icon || L,
|
|
197
194
|
width: D,
|
|
198
195
|
height: D
|
|
199
196
|
}
|
|
200
197
|
),
|
|
201
198
|
/* @__PURE__ */ p("div", { className: e.optionWithDescription, children: [
|
|
202
|
-
/* @__PURE__ */ l("span", { className: e.optionWithDescriptionLabel, children: H(
|
|
203
|
-
/* @__PURE__ */ l("span", { className: e.optionWithDescriptionValue, children:
|
|
199
|
+
/* @__PURE__ */ l("span", { className: e.optionWithDescriptionLabel, children: H(t.label, m) }),
|
|
200
|
+
/* @__PURE__ */ l("span", { className: e.optionWithDescriptionValue, children: t.description })
|
|
204
201
|
] })
|
|
205
202
|
] }) : /* @__PURE__ */ p(G, { children: [
|
|
206
|
-
(
|
|
207
|
-
|
|
203
|
+
(t.icon || L) && /* @__PURE__ */ l("div", { className: e.optionIcon, children: /* @__PURE__ */ l(
|
|
204
|
+
x,
|
|
208
205
|
{
|
|
209
|
-
name:
|
|
206
|
+
name: t.icon || L,
|
|
210
207
|
width: D,
|
|
211
208
|
height: D
|
|
212
209
|
}
|
|
213
210
|
) }),
|
|
214
|
-
/* @__PURE__ */ l("div", { style: { whiteSpace: "pre-line", lineHeight: 1.25 }, children: H(
|
|
211
|
+
/* @__PURE__ */ l("div", { style: { whiteSpace: "pre-line", lineHeight: 1.25 }, children: H(t.label, m) })
|
|
215
212
|
] })
|
|
216
213
|
)
|
|
217
214
|
]
|
|
@@ -219,18 +216,18 @@ const nr = ({
|
|
|
219
216
|
u
|
|
220
217
|
)) : /* @__PURE__ */ l("span", { className: e.noResults, children: Y });
|
|
221
218
|
}, Ee = () => {
|
|
222
|
-
const r = Fe(),
|
|
219
|
+
const r = Fe(), n = (d) => {
|
|
223
220
|
q(d, !1), $ || r();
|
|
224
221
|
};
|
|
225
222
|
return /* @__PURE__ */ l(
|
|
226
223
|
"div",
|
|
227
224
|
{
|
|
228
|
-
className: `${e.dropdown} ${e.isDrawer} ${e[c]} ${g ? e.dropdown_inverted : ""} ${
|
|
225
|
+
className: `${e.dropdown} ${e.isDrawer} ${e[c]} ${g ? e.dropdown_inverted : ""} ${E ? e.dropdownTable : ""} ${s ? e.dropdownSearchable : ""}`,
|
|
229
226
|
children: /* @__PURE__ */ l(
|
|
230
227
|
ce,
|
|
231
228
|
{
|
|
232
229
|
insideDrawer: !0,
|
|
233
|
-
handleOptionClickProp:
|
|
230
|
+
handleOptionClickProp: n
|
|
234
231
|
}
|
|
235
232
|
)
|
|
236
233
|
}
|
|
@@ -243,12 +240,12 @@ const nr = ({
|
|
|
243
240
|
className: `${e.selectContainer} ${c === "medium" ? e.selectContainer_medium : c === "large" ? e.selectContainer_large : c === "extraLarge" ? e.selectContainer_extraLarge : ""} ${v ? e.disabled : ""}`,
|
|
244
241
|
...Se,
|
|
245
242
|
children: [
|
|
246
|
-
|
|
243
|
+
P && /* @__PURE__ */ p(
|
|
247
244
|
"label",
|
|
248
245
|
{
|
|
249
246
|
className: `${e.label} ${c === "large" ? e.label_large : ""} ${c === "extraLarge" ? e.label_extraLarge : ""} ${g ? e.label_inverted : ""} ${v ? e.disabled : ""} `,
|
|
250
247
|
children: [
|
|
251
|
-
|
|
248
|
+
P,
|
|
252
249
|
/* @__PURE__ */ l(
|
|
253
250
|
"span",
|
|
254
251
|
{
|
|
@@ -265,7 +262,7 @@ const nr = ({
|
|
|
265
262
|
{
|
|
266
263
|
className: Le,
|
|
267
264
|
onClick: Ie,
|
|
268
|
-
ref:
|
|
265
|
+
ref: B,
|
|
269
266
|
style: Z ? { borderColor: Z } : void 0,
|
|
270
267
|
children: [
|
|
271
268
|
/* @__PURE__ */ p("div", { className: e.iconLabel, children: [
|
|
@@ -274,7 +271,7 @@ const nr = ({
|
|
|
274
271
|
{
|
|
275
272
|
className: `${e.icon} ${g ? e.icon_inverted : ""}`,
|
|
276
273
|
children: /* @__PURE__ */ l(
|
|
277
|
-
|
|
274
|
+
x,
|
|
278
275
|
{
|
|
279
276
|
name: s ? "SearchIcon" : ne,
|
|
280
277
|
width: D,
|
|
@@ -286,10 +283,10 @@ const nr = ({
|
|
|
286
283
|
s ? /* @__PURE__ */ l(
|
|
287
284
|
"input",
|
|
288
285
|
{
|
|
289
|
-
ref:
|
|
286
|
+
ref: I,
|
|
290
287
|
value: re,
|
|
291
|
-
className: `${e.selectInput} ${!o && !a &&
|
|
292
|
-
placeholder:
|
|
288
|
+
className: `${e.selectInput} ${!o && !a && _.length === 0 ? e.placeholder : ""}`,
|
|
289
|
+
placeholder: F,
|
|
293
290
|
onChange: le,
|
|
294
291
|
onFocus: se,
|
|
295
292
|
onClick: _e,
|
|
@@ -300,12 +297,12 @@ const nr = ({
|
|
|
300
297
|
"span",
|
|
301
298
|
{
|
|
302
299
|
className: `${e.selectValue} ${o ? "" : e.placeholder}`,
|
|
303
|
-
children: o ? o.label :
|
|
300
|
+
children: o ? o.label : F
|
|
304
301
|
}
|
|
305
302
|
)
|
|
306
303
|
] }),
|
|
307
304
|
/* @__PURE__ */ l(
|
|
308
|
-
|
|
305
|
+
x,
|
|
309
306
|
{
|
|
310
307
|
name: "ArrowDown",
|
|
311
308
|
width: 16,
|
|
@@ -322,14 +319,14 @@ const nr = ({
|
|
|
322
319
|
className: e.drawerSelect,
|
|
323
320
|
headerClassName: e.drawerSelectHeader,
|
|
324
321
|
isOpen: a,
|
|
325
|
-
setIsOpen:
|
|
322
|
+
setIsOpen: y,
|
|
326
323
|
title: $e,
|
|
327
324
|
zIndex: 1,
|
|
328
325
|
children: [
|
|
329
326
|
s && /* @__PURE__ */ l("div", { className: e.drawerSearchInput, children: /* @__PURE__ */ l(
|
|
330
327
|
je,
|
|
331
328
|
{
|
|
332
|
-
placeholder:
|
|
329
|
+
placeholder: F,
|
|
333
330
|
icon: "SearchIcon",
|
|
334
331
|
value: re,
|
|
335
332
|
onChange: le,
|
|
@@ -339,12 +336,12 @@ const nr = ({
|
|
|
339
336
|
/* @__PURE__ */ l(Ee, {})
|
|
340
337
|
]
|
|
341
338
|
}
|
|
342
|
-
) : De &&
|
|
339
|
+
) : De && Te(
|
|
343
340
|
/* @__PURE__ */ l(
|
|
344
341
|
"div",
|
|
345
342
|
{
|
|
346
|
-
ref:
|
|
347
|
-
className: `${e.dropdown} ${e[c]} ${e.dropdownPortal} ${g ? e.dropdown_inverted : ""} ${
|
|
343
|
+
ref: R,
|
|
344
|
+
className: `${e.dropdown} ${e[c]} ${e.dropdownPortal} ${g ? e.dropdown_inverted : ""} ${E ? e.dropdownTable : ""} ${s ? e.dropdownSearchable : ""}`,
|
|
348
345
|
style: ke,
|
|
349
346
|
children: /* @__PURE__ */ l(ce, {})
|
|
350
347
|
}
|
|
@@ -352,8 +349,8 @@ const nr = ({
|
|
|
352
349
|
document.getElementById("root") || document.body
|
|
353
350
|
)
|
|
354
351
|
] }),
|
|
355
|
-
|
|
356
|
-
|
|
352
|
+
k && /* @__PURE__ */ l(xe, { message: k, size: c, inverted: g }),
|
|
353
|
+
V && !k && /* @__PURE__ */ l(We, { message: V, size: c, inverted: g })
|
|
357
354
|
]
|
|
358
355
|
}
|
|
359
356
|
);
|
package/dist/icons/Icon.js
CHANGED
|
@@ -1,10 +1,39 @@
|
|
|
1
1
|
import { jsxs as t, jsx as h } from "react/jsx-runtime";
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
|
|
38
|
+
r as default
|
|
10
39
|
};
|
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
-
const v = (h) => /* @__PURE__ */ c(
|
|
2
|
+
const v = (h) => /* @__PURE__ */ c(
|
|
3
|
+
"svg",
|
|
4
|
+
{
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
fill: "none",
|
|
7
|
+
viewBox: "0 0 77 15",
|
|
8
|
+
width: "1em",
|
|
9
|
+
height: "1em",
|
|
10
|
+
...h,
|
|
11
|
+
children: /* @__PURE__ */ c(
|
|
12
|
+
"path",
|
|
13
|
+
{
|
|
14
|
+
fill: "currentColor",
|
|
15
|
+
d: "M71.15 11.191c0-1.01.118-2.473.118-4.179 0-3.158-1.3-4.34-4.82-4.34-1.705 0-3.203.243-4.133.65l.118 2.508c.812-.442 1.985-.848 3.122-.848 1.625 0 2.067.65 2.067 2.229v.244h-.523c-3.972 0-5.84 1.218-5.84 3.447s1.138 3.646 4.423 3.646c1.741 0 3.402-.243 5.631-.243-.162-.849-.162-2.193-.162-3.123zm-4.62 1.21c-1.218 0-1.742-.407-1.742-1.418s.65-1.543 2.31-1.543h.488c0 .93-.036 2.067.036 2.834-.28.081-.686.117-1.092.117zm-30.64-.118c-1.985 0-3.041-1.01-3.041-2.635v-.082c.36 0 1.056.037 1.462.037 3.529 0 5.306-1.092 5.306-3.484 0-2.067-1.498-3.402-4.702-3.402-3.934 0-5.469 1.741-5.839 4.864-.568-.036-1.218-.036-2.067-.036V7.02c0-3.158-1.3-4.34-4.819-4.34-1.706 0-3.204.243-4.133.65l.117 2.508c.812-.442 1.986-.848 3.123-.848 1.624 0 2.112.65 2.112 2.229v.244h-.524c-3.97 0-5.84 1.218-5.84 3.447s1.138 3.646 4.423 3.646c1.742 0 3.403-.243 5.632-.243-.163-.93-.163-2.266-.163-3.16 0-.486.036-1.055.036-1.705.93 0 1.625.045 2.067.045.325 3.728 2.265 5.063 6.245 5.063 1.463 0 2.96-.243 3.773-.604l-.117-2.51c-.768.488-1.869.849-3.042.849zm-13.582.117c-1.219 0-1.742-.406-1.742-1.417 0-1.01.65-1.543 2.31-1.543h.487c0 .93-.036 2.067.037 2.834-.28.081-.731.117-1.092.117zm10.505-4.819c0-1.58.487-2.753 1.949-2.753.812 0 1.38.443 1.38 1.219 0 1.092-.73 1.624-2.274 1.624-.36 0-.767 0-1.055-.036zm26.993 1.498V6.85c0-2.879-1.254-4.133-4.819-4.133-1.986 0-3.402.36-5.632.36.118 2.031.118 4.504.118 6.038s-.036 4.377-.118 5.27h3.809c-.081-.893-.163-3.528-.163-5.27 0-1.01 0-2.229.037-3.853.36-.118.848-.244 1.38-.244 1.336 0 1.787.605 1.787 2.346V9.07c0 1.58-.036 4.377-.117 5.27h3.809c0-.893-.082-3.483-.082-5.27zm-12.003 2.753.163 2.509c-.28.08-1.219.243-2.428.243-2.51 0-3.854-1.056-3.854-3.646 0-2.03.036-4.26.036-5.469h-1.3c.046-.568 0-1.336 0-1.904C42.37 3.24 42.976 2.148 43.3 0h2.148c-.082.893-.118 2.148-.163 3.041h2.274V5.47h-2.31v4.422c0 1.706.361 2.194 1.498 2.194.406 0 .849-.082 1.056-.244zM4.438 1.66c.487 0 .93.162 1.3.523l2.111 2.112 2.112-2.112a1.78 1.78 0 0 1 1.3-.523c.442 0 .93.162 1.3.523l2.59 2.59a1.804 1.804 0 0 1 0 2.59l-7.292 7.257-7.31-7.284a1.804 1.804 0 0 1 0-2.59l2.59-2.59a1.9 1.9 0 0 1 1.299-.487m67.444 1.047h1.985v.406H73.1v2.03h-.487v-2.03h-.767zm2.427 0h.65l.325 1.055c.081.325.244.93.244.93s.162-.605.243-.93l.325-1.055h.65v2.427h-.442v-.893c0-.442.036-1.092.036-1.092s-.162.568-.28 1.056l-.28.93h-.442l-.28-.93a11 11 0 0 1-.28-1.056s.046.686.046 1.092v.893h-.442V2.717z"
|
|
16
|
+
}
|
|
17
|
+
)
|
|
18
|
+
}
|
|
19
|
+
);
|
|
3
20
|
export {
|
|
4
21
|
v as default
|
|
5
22
|
};
|
|
@@ -1,10 +1,39 @@
|
|
|
1
1
|
import { jsxs as h, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
const r = (e) => /* @__PURE__ */ h(
|
|
3
|
+
"svg",
|
|
4
|
+
{
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
fill: "none",
|
|
7
|
+
viewBox: "0 0 16 16",
|
|
8
|
+
width: "1em",
|
|
9
|
+
height: "1em",
|
|
10
|
+
...e,
|
|
11
|
+
children: [
|
|
12
|
+
/* @__PURE__ */ a(
|
|
13
|
+
"mask",
|
|
14
|
+
{
|
|
15
|
+
id: "anchor_empty_svg__a",
|
|
16
|
+
width: 16,
|
|
17
|
+
height: 16,
|
|
18
|
+
x: 0,
|
|
19
|
+
y: 0,
|
|
20
|
+
maskUnits: "userSpaceOnUse",
|
|
21
|
+
style: {
|
|
22
|
+
maskType: "alpha"
|
|
23
|
+
},
|
|
24
|
+
children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M0 0h16v16H0z" })
|
|
25
|
+
}
|
|
26
|
+
),
|
|
27
|
+
/* @__PURE__ */ a("g", { mask: "url(#anchor_empty_svg__a)", children: /* @__PURE__ */ a(
|
|
28
|
+
"path",
|
|
29
|
+
{
|
|
30
|
+
fill: "currentColor",
|
|
31
|
+
d: "M10.667 3.333V8L11.8 9.133a.67.67 0 0 1 .2.484V10a.65.65 0 0 1-.192.475.65.65 0 0 1-.475.192H8.667v3.9a.65.65 0 0 1-.192.475.65.65 0 0 1-.475.191.65.65 0 0 1-.475-.191.65.65 0 0 1-.192-.475v-3.9H4.667a.65.65 0 0 1-.475-.192A.65.65 0 0 1 4 10v-.383a.7.7 0 0 1 .2-.484L5.333 8V3.333a.65.65 0 0 1-.475-.191.65.65 0 0 1-.191-.475q0-.285.191-.475A.65.65 0 0 1 5.333 2h5.334q.283 0 .475.192a.65.65 0 0 1 .191.475.65.65 0 0 1-.191.475.65.65 0 0 1-.475.191m-4.767 6h4.2l-.767-.766V3.333H6.667v5.234z"
|
|
32
|
+
}
|
|
33
|
+
) })
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
);
|
|
8
37
|
export {
|
|
9
|
-
|
|
38
|
+
r as default
|
|
10
39
|
};
|
|
@@ -1,10 +1,39 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { jsxs as e, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
const r = (l) => /* @__PURE__ */ e(
|
|
3
|
+
"svg",
|
|
4
|
+
{
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
fill: "none",
|
|
7
|
+
viewBox: "0 0 16 16",
|
|
8
|
+
width: "1em",
|
|
9
|
+
height: "1em",
|
|
10
|
+
...l,
|
|
11
|
+
children: [
|
|
12
|
+
/* @__PURE__ */ a(
|
|
13
|
+
"mask",
|
|
14
|
+
{
|
|
15
|
+
id: "anchor_fill_svg__a",
|
|
16
|
+
width: 16,
|
|
17
|
+
height: 16,
|
|
18
|
+
x: 0,
|
|
19
|
+
y: 0,
|
|
20
|
+
maskUnits: "userSpaceOnUse",
|
|
21
|
+
style: {
|
|
22
|
+
maskType: "alpha"
|
|
23
|
+
},
|
|
24
|
+
children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M0 0h16v16H0z" })
|
|
25
|
+
}
|
|
26
|
+
),
|
|
27
|
+
/* @__PURE__ */ a("g", { mask: "url(#anchor_fill_svg__a)", children: /* @__PURE__ */ a(
|
|
28
|
+
"path",
|
|
29
|
+
{
|
|
30
|
+
fill: "currentColor",
|
|
31
|
+
d: "M10.667 3.333V8L11.8 9.133a.67.67 0 0 1 .2.484V10a.65.65 0 0 1-.192.475.65.65 0 0 1-.475.192H8.667v3.9a.65.65 0 0 1-.192.475.65.65 0 0 1-.475.191.65.65 0 0 1-.475-.191.65.65 0 0 1-.192-.475v-3.9H4.667a.65.65 0 0 1-.475-.192A.65.65 0 0 1 4 10v-.383a.7.7 0 0 1 .2-.484L5.333 8V3.333a.65.65 0 0 1-.475-.191.65.65 0 0 1-.191-.475q0-.285.191-.475A.65.65 0 0 1 5.333 2h5.334q.283 0 .475.192a.65.65 0 0 1 .191.475.65.65 0 0 1-.191.475.65.65 0 0 1-.475.191"
|
|
32
|
+
}
|
|
33
|
+
) })
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
);
|
|
8
37
|
export {
|
|
9
|
-
|
|
38
|
+
r as default
|
|
10
39
|
};
|
|
@@ -1,10 +1,39 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { jsxs as e, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
const s = (a) => /* @__PURE__ */ e(
|
|
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
|
+
...a,
|
|
11
|
+
children: [
|
|
12
|
+
/* @__PURE__ */ r(
|
|
13
|
+
"mask",
|
|
14
|
+
{
|
|
15
|
+
id: "arrow_forward_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__ */ r("path", { fill: "currentColor", d: "M0 0h20v20H0z" })
|
|
25
|
+
}
|
|
26
|
+
),
|
|
27
|
+
/* @__PURE__ */ r("g", { mask: "url(#arrow_forward_svg__a)", children: /* @__PURE__ */ r(
|
|
28
|
+
"path",
|
|
29
|
+
{
|
|
30
|
+
fill: "currentColor",
|
|
31
|
+
d: "M13.48 10.835H3.334V9.168H13.48L8.813 4.502 10 3.335l6.667 6.667L10 16.668l-1.187-1.166z"
|
|
32
|
+
}
|
|
33
|
+
) })
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
);
|
|
8
37
|
export {
|
|
9
|
-
|
|
38
|
+
s as default
|
|
10
39
|
};
|