rbro-tat-uds 1.0.22 → 1.0.23
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/TextInput/TextInput.d.ts +1 -1
- package/dist/index.cjs.js +8 -7
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +34 -32
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/readme.md +0 -5
package/dist/index.es.js
CHANGED
@@ -42,7 +42,7 @@ var rr;
|
|
42
42
|
function kn() {
|
43
43
|
return rr || (rr = 1, process.env.NODE_ENV !== "production" && function() {
|
44
44
|
var e = le, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), u = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), S = Symbol.iterator, R = "@@iterator";
|
45
|
-
function
|
45
|
+
function N(i) {
|
46
46
|
if (i === null || typeof i != "object")
|
47
47
|
return null;
|
48
48
|
var d = S && i[S] || i[R];
|
@@ -261,18 +261,18 @@ function kn() {
|
|
261
261
|
if (se && $ && typeof se.stack == "string") {
|
262
262
|
for (var E = se.stack.split(`
|
263
263
|
`), W = $.stack.split(`
|
264
|
-
`),
|
264
|
+
`), D = E.length - 1, V = W.length - 1; D >= 1 && V >= 0 && E[D] !== W[V]; )
|
265
265
|
V--;
|
266
|
-
for (;
|
267
|
-
if (E[
|
268
|
-
if (
|
266
|
+
for (; D >= 1 && V >= 0; D--, V--)
|
267
|
+
if (E[D] !== W[V]) {
|
268
|
+
if (D !== 1 || V !== 1)
|
269
269
|
do
|
270
|
-
if (
|
270
|
+
if (D--, V--, V < 0 || E[D] !== W[V]) {
|
271
271
|
var X = `
|
272
|
-
` + E[
|
272
|
+
` + E[D].replace(" at new ", " at ");
|
273
273
|
return i.displayName && X.includes("<anonymous>") && (X = X.replace("<anonymous>", i.displayName)), typeof i == "function" && ge.set(i, X), X;
|
274
274
|
}
|
275
|
-
while (
|
275
|
+
while (D >= 1 && V >= 0);
|
276
276
|
break;
|
277
277
|
}
|
278
278
|
}
|
@@ -338,8 +338,8 @@ function kn() {
|
|
338
338
|
throw W.name = "Invariant Violation", W;
|
339
339
|
}
|
340
340
|
E = i[j](d, j, $, g, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
341
|
-
} catch (
|
342
|
-
E =
|
341
|
+
} catch (D) {
|
342
|
+
E = D;
|
343
343
|
}
|
344
344
|
E && !(E instanceof Error) && (Ue(T), _("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", $ || "React class", g, j, typeof E), Ue(null)), E instanceof Error && !(E.message in Vt) && (Vt[E.message] = !0, Ue(T), _("Failed %s type: %s", g, E.message), Ue(null));
|
345
345
|
}
|
@@ -456,9 +456,9 @@ function kn() {
|
|
456
456
|
for (z in d)
|
457
457
|
Ye.call(d, z) && !nn.hasOwnProperty(z) && (j[z] = d[z]);
|
458
458
|
if (i && i.defaultProps) {
|
459
|
-
var
|
460
|
-
for (z in
|
461
|
-
j[z] === void 0 && (j[z] =
|
459
|
+
var D = i.defaultProps;
|
460
|
+
for (z in D)
|
461
|
+
j[z] === void 0 && (j[z] = D[z]);
|
462
462
|
}
|
463
463
|
if (E || W) {
|
464
464
|
var V = typeof i == "function" ? i.displayName || i.name || "Unknown" : i;
|
@@ -541,7 +541,7 @@ Check the top-level render call using <` + g + ">.");
|
|
541
541
|
else if (xt(i))
|
542
542
|
i._store && (i._store.validated = !0);
|
543
543
|
else if (i) {
|
544
|
-
var T =
|
544
|
+
var T = N(i);
|
545
545
|
if (typeof T == "function" && T !== i.entries)
|
546
546
|
for (var z = T.call(i), j; !(j = z.next()).done; )
|
547
547
|
xt(j.value) && Xt(j.value, d);
|
@@ -593,8 +593,8 @@ Check the top-level render call using <` + g + ">.");
|
|
593
593
|
(i === void 0 || typeof i == "object" && i !== null && Object.keys(i).length === 0) && (E += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
594
594
|
var W = fn(T);
|
595
595
|
W ? E += W : E += Gt();
|
596
|
-
var
|
597
|
-
i === null ?
|
596
|
+
var D;
|
597
|
+
i === null ? D = "null" : ht(i) ? D = "array" : i !== void 0 && i.$$typeof === t ? (D = "<" + (G(i.type) || "Unknown") + " />", E = " Did you accidentally export a JSX literal instead of a component?") : D = typeof i, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", D, E);
|
598
598
|
}
|
599
599
|
var V = un(i, d, g, T, z);
|
600
600
|
if (V == null)
|
@@ -806,7 +806,7 @@ function Vn(e) {
|
|
806
806
|
return zn(et("", null, null, null, [""], e = In(e), 0, [0], e));
|
807
807
|
}
|
808
808
|
function et(e, t, n, o, a, s, c, u, f) {
|
809
|
-
for (var y = 0, p = 0, h = c, b = 0, v = 0, S = 0, R = 1,
|
809
|
+
for (var y = 0, p = 0, h = c, b = 0, v = 0, S = 0, R = 1, N = 1, P = 1, _ = 0, O = "", I = a, F = s, L = o, w = O; N; )
|
810
810
|
switch (S = _, _ = te()) {
|
811
811
|
case 40:
|
812
812
|
if (S != 108 && H(w, h - 1) == 58) {
|
@@ -845,7 +845,7 @@ function et(e, t, n, o, a, s, c, u, f) {
|
|
845
845
|
switch (_) {
|
846
846
|
case 0:
|
847
847
|
case 125:
|
848
|
-
|
848
|
+
N = 0;
|
849
849
|
case 59 + p:
|
850
850
|
P == -1 && (w = C(w, /\f/g, "")), v > 0 && re(w) - h && Ve(v > 32 ? ir(w + ";", o, n, h - 1, f) : ir(C(w, " ", "") + ";", o, n, h - 2, f), f);
|
851
851
|
break;
|
@@ -895,9 +895,9 @@ function et(e, t, n, o, a, s, c, u, f) {
|
|
895
895
|
return s;
|
896
896
|
}
|
897
897
|
function or(e, t, n, o, a, s, c, u, f, y, p, h) {
|
898
|
-
for (var b = a - 1, v = a === 0 ? s : [""], S = jr(v), R = 0,
|
899
|
-
for (var _ = 0, O = je(e, b + 1, b = Er(
|
900
|
-
(I = Lr(
|
898
|
+
for (var b = a - 1, v = a === 0 ? s : [""], S = jr(v), R = 0, N = 0, P = 0; R < o; ++R)
|
899
|
+
for (var _ = 0, O = je(e, b + 1, b = Er(N = c[R])), I = e; _ < S; ++_)
|
900
|
+
(I = Lr(N > 0 ? v[_] + " " + O : C(O, /&\f/g, v[_]))) && (f[P++] = I);
|
901
901
|
return ct(e, t, n, a === 0 ? at : u, f, y, p, h);
|
902
902
|
}
|
903
903
|
function Bn(e, t, n, o) {
|
@@ -1469,10 +1469,10 @@ var Vr = function(e) {
|
|
1469
1469
|
var v = s.names.get(b), S = c.getGroup(h);
|
1470
1470
|
if (v === void 0 || S.length === 0)
|
1471
1471
|
return "continue";
|
1472
|
-
var R = "".concat(be, ".g").concat(h, '[id="').concat(b, '"]'),
|
1472
|
+
var R = "".concat(be, ".g").concat(h, '[id="').concat(b, '"]'), N = "";
|
1473
1473
|
v !== void 0 && v.forEach(function(P) {
|
1474
|
-
P.length > 0 && (
|
1475
|
-
}), f += "".concat(S).concat(R, '{content:"').concat(
|
1474
|
+
P.length > 0 && (N += "".concat(P, ","));
|
1475
|
+
}), f += "".concat(S).concat(R, '{content:"').concat(N, '"}').concat(zt);
|
1476
1476
|
}, p = 0; p < u; p++)
|
1477
1477
|
y(p);
|
1478
1478
|
return f;
|
@@ -1526,7 +1526,7 @@ function ko(e) {
|
|
1526
1526
|
}), c.prefix && p.push(Yn), p.push(Hn);
|
1527
1527
|
var h = function(b, v, S, R) {
|
1528
1528
|
v === void 0 && (v = ""), S === void 0 && (S = ""), R === void 0 && (R = "&"), t = R, n = v, o = new RegExp("\\".concat(n, "\\b"), "g");
|
1529
|
-
var
|
1529
|
+
var N = b.replace(Co, ""), P = Vn(S || v ? "".concat(S, " ").concat(v, " { ").concat(N, " }") : N);
|
1530
1530
|
c.namespace && (P = Hr(P, c.namespace));
|
1531
1531
|
var _ = [];
|
1532
1532
|
return ot(P, Zn(p.concat(Wn(function(O) {
|
@@ -1652,9 +1652,9 @@ function Po(e, t, n) {
|
|
1652
1652
|
if (o && a.shouldForwardProp) {
|
1653
1653
|
var R = a.shouldForwardProp;
|
1654
1654
|
if (t.shouldForwardProp) {
|
1655
|
-
var
|
1655
|
+
var N = t.shouldForwardProp;
|
1656
1656
|
S = function(I, F) {
|
1657
|
-
return R(I, F) &&
|
1657
|
+
return R(I, F) && N(I, F);
|
1658
1658
|
};
|
1659
1659
|
} else
|
1660
1660
|
S = R;
|
@@ -2545,7 +2545,7 @@ const vi = k.button`
|
|
2545
2545
|
content: v,
|
2546
2546
|
padding: S,
|
2547
2547
|
margin: R,
|
2548
|
-
radius:
|
2548
|
+
radius: N,
|
2549
2549
|
border: P,
|
2550
2550
|
css: _,
|
2551
2551
|
...O
|
@@ -2573,7 +2573,7 @@ const vi = k.button`
|
|
2573
2573
|
$content: v,
|
2574
2574
|
$padding: S,
|
2575
2575
|
$margin: R,
|
2576
|
-
$radius:
|
2576
|
+
$radius: N,
|
2577
2577
|
$border: P,
|
2578
2578
|
$css: _,
|
2579
2579
|
$direction: c,
|
@@ -3639,6 +3639,7 @@ const Ui = k.div`
|
|
3639
3639
|
height: 100%;
|
3640
3640
|
padding: 0px;
|
3641
3641
|
font-size: ${(e) => e.$size && typeof e.$size == "string" && (e.$size === "large" ? "16px" : "14px")};
|
3642
|
+
text-align: ${(e) => e.$type === "number" ? "right" : "left"};
|
3642
3643
|
|
3643
3644
|
&::placeholder {
|
3644
3645
|
color: ${(e) => e.disabled ? r.gray_500 : r.gray_600};
|
@@ -3666,7 +3667,7 @@ const Ui = k.div`
|
|
3666
3667
|
rightButtonOnClick: S,
|
3667
3668
|
...R
|
3668
3669
|
}) => {
|
3669
|
-
const [
|
3670
|
+
const [N, P] = Cr(a ?? ""), _ = () => {
|
3670
3671
|
P(""), s && s("");
|
3671
3672
|
};
|
3672
3673
|
return /* @__PURE__ */ l.jsxs(
|
@@ -3700,11 +3701,12 @@ const Ui = k.div`
|
|
3700
3701
|
...R,
|
3701
3702
|
$size: c,
|
3702
3703
|
$intent: u,
|
3704
|
+
$type: t,
|
3703
3705
|
id: e,
|
3704
3706
|
name: n,
|
3705
3707
|
type: ea(t),
|
3706
3708
|
placeholder: o,
|
3707
|
-
value:
|
3709
|
+
value: N,
|
3708
3710
|
onChange: (O) => {
|
3709
3711
|
s && s(O.target.value), P(O.target.value);
|
3710
3712
|
}
|
@@ -3712,7 +3714,7 @@ const Ui = k.div`
|
|
3712
3714
|
),
|
3713
3715
|
f ? /* @__PURE__ */ l.jsx(qr, { style: { opacity: R.disabled ? 0.3 : 1 }, size: 20 }) : (v || h && typeof h == "string" || u && u === "success" || y) && /* @__PURE__ */ l.jsxs("div", { children: [
|
3714
3716
|
h && typeof h == "string" && u !== "success" && /* @__PURE__ */ l.jsx("span", { children: h }),
|
3715
|
-
(v || u === "success" || y && !!
|
3717
|
+
(v || u === "success" || y && !!N) && /* @__PURE__ */ l.jsx(
|
3716
3718
|
Y,
|
3717
3719
|
{
|
3718
3720
|
onClick: R.disabled ? void 0 : v ? S : _,
|