kelt-ui-kit-react 0.5.3 → 0.5.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/index.js +98 -98
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/action/action.css +1 -0
- package/src/expands/expand/expand.tsx +1 -1
- package/src/expands/expands.css +11 -9
- package/src/search/search.css +2 -2
- package/src/sidebarData/SidebarData.tsx +5 -7
package/dist/index.js
CHANGED
|
@@ -49,10 +49,10 @@ function Tn() {
|
|
|
49
49
|
{
|
|
50
50
|
for (var d = arguments.length, p = new Array(d > 1 ? d - 1 : 0), C = 1; C < d; C++)
|
|
51
51
|
p[C - 1] = arguments[C];
|
|
52
|
-
|
|
52
|
+
E("error", o, p);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function E(o, d, p) {
|
|
56
56
|
{
|
|
57
57
|
var C = S.ReactDebugCurrentFrame, O = C.getStackAddendum();
|
|
58
58
|
O !== "" && (d += "%s", p = p.concat([O]));
|
|
@@ -62,10 +62,10 @@ function Tn() {
|
|
|
62
62
|
I.unshift("Warning: " + d), Function.prototype.apply.call(console[o], console, I);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
var R = !1, A = !1, N = !1,
|
|
65
|
+
var R = !1, A = !1, N = !1, j = !1, B = !1, K;
|
|
66
66
|
K = Symbol.for("react.module.reference");
|
|
67
67
|
function vt(o) {
|
|
68
|
-
return !!(typeof o == "string" || typeof o == "function" || o === n || o === a || B || o === s || o === v || o === m ||
|
|
68
|
+
return !!(typeof o == "string" || typeof o == "function" || o === n || o === a || B || o === s || o === v || o === m || j || o === w || R || A || N || typeof o == "object" && o !== null && (o.$$typeof === f || o.$$typeof === y || o.$$typeof === c || o.$$typeof === l || o.$$typeof === u || // This needs to include all possible module reference object
|
|
69
69
|
// types supported by any Flight configuration anywhere since
|
|
70
70
|
// we don't know which Flight build this will end up being used
|
|
71
71
|
// with.
|
|
@@ -126,14 +126,14 @@ function Tn() {
|
|
|
126
126
|
}
|
|
127
127
|
return null;
|
|
128
128
|
}
|
|
129
|
-
var ae = Object.assign, ve = 0, Xe,
|
|
129
|
+
var ae = Object.assign, ve = 0, Xe, je, Le, J, ue, de, Y;
|
|
130
130
|
function Ce() {
|
|
131
131
|
}
|
|
132
132
|
Ce.__reactDisabledLog = !0;
|
|
133
133
|
function ze() {
|
|
134
134
|
{
|
|
135
135
|
if (ve === 0) {
|
|
136
|
-
Xe = console.log,
|
|
136
|
+
Xe = console.log, je = console.info, Le = console.warn, J = console.error, ue = console.group, de = console.groupCollapsed, Y = console.groupEnd;
|
|
137
137
|
var o = {
|
|
138
138
|
configurable: !0,
|
|
139
139
|
enumerable: !0,
|
|
@@ -166,7 +166,7 @@ function Tn() {
|
|
|
166
166
|
value: Xe
|
|
167
167
|
}),
|
|
168
168
|
info: ae({}, o, {
|
|
169
|
-
value:
|
|
169
|
+
value: je
|
|
170
170
|
}),
|
|
171
171
|
warn: ae({}, o, {
|
|
172
172
|
value: Le
|
|
@@ -473,7 +473,7 @@ function Tn() {
|
|
|
473
473
|
}
|
|
474
474
|
var St;
|
|
475
475
|
St = !1;
|
|
476
|
-
function
|
|
476
|
+
function Et(o) {
|
|
477
477
|
return typeof o == "object" && o !== null && o.$$typeof === t;
|
|
478
478
|
}
|
|
479
479
|
function tr() {
|
|
@@ -524,15 +524,15 @@ Check the top-level render call using <` + p + ">.");
|
|
|
524
524
|
if (xt(o))
|
|
525
525
|
for (var p = 0; p < o.length; p++) {
|
|
526
526
|
var C = o[p];
|
|
527
|
-
|
|
527
|
+
Et(C) && nr(C, d);
|
|
528
528
|
}
|
|
529
|
-
else if (
|
|
529
|
+
else if (Et(o))
|
|
530
530
|
o._store && (o._store.validated = !0);
|
|
531
531
|
else if (o) {
|
|
532
532
|
var O = b(o);
|
|
533
533
|
if (typeof O == "function" && O !== o.entries)
|
|
534
534
|
for (var I = O.call(o), P; !(P = I.next()).done; )
|
|
535
|
-
|
|
535
|
+
Et(P.value) && nr(P.value, d);
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
538
|
}
|
|
@@ -604,15 +604,15 @@ Check the top-level render call using <` + p + ">.");
|
|
|
604
604
|
if (Ve.call(d, "key")) {
|
|
605
605
|
var ye = X(o), G = Object.keys(d).filter(function(Rn) {
|
|
606
606
|
return Rn !== "key";
|
|
607
|
-
}),
|
|
608
|
-
if (!sr[ye +
|
|
607
|
+
}), jt = G.length > 0 ? "{key: someKey, " + G.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
608
|
+
if (!sr[ye + jt]) {
|
|
609
609
|
var Cn = G.length > 0 ? "{" + G.join(": ..., ") + ": ...}" : "{}";
|
|
610
610
|
h(`A props object containing a "key" prop is being spread into JSX:
|
|
611
611
|
let props = %s;
|
|
612
612
|
<%s {...props} />
|
|
613
613
|
React keys must be passed directly to JSX without using spread:
|
|
614
614
|
let props = %s;
|
|
615
|
-
<%s key={someKey} {...props} />`,
|
|
615
|
+
<%s key={someKey} {...props} />`, jt, ye, Cn, ye), sr[ye + jt] = !0;
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
618
|
return o === n ? bn(L) : xn(L), L;
|
|
@@ -624,8 +624,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
624
624
|
function Sn(o, d, p) {
|
|
625
625
|
return ar(o, d, p, !1);
|
|
626
626
|
}
|
|
627
|
-
var
|
|
628
|
-
Ye.Fragment = n, Ye.jsx =
|
|
627
|
+
var En = Sn, jn = wn;
|
|
628
|
+
Ye.Fragment = n, Ye.jsx = En, Ye.jsxs = jn;
|
|
629
629
|
}()), Ye;
|
|
630
630
|
}
|
|
631
631
|
process.env.NODE_ENV === "production" ? _t.exports = On() : _t.exports = Tn();
|
|
@@ -882,26 +882,26 @@ function Jn(e) {
|
|
|
882
882
|
return Un(ot("", null, null, null, [""], e = qn(e), 0, [0], e));
|
|
883
883
|
}
|
|
884
884
|
function ot(e, t, r, n, s, a, c, l, u) {
|
|
885
|
-
for (var v = 0, m = 0, y = c, f = 0, w = 0, g = 0, x = 1, b = 1, S = 1, h = 0,
|
|
885
|
+
for (var v = 0, m = 0, y = c, f = 0, w = 0, g = 0, x = 1, b = 1, S = 1, h = 0, E = "", R = s, A = a, N = n, j = E; b; )
|
|
886
886
|
switch (g = h, h = ne()) {
|
|
887
887
|
case 40:
|
|
888
|
-
if (g != 108 && W(
|
|
889
|
-
rt(
|
|
888
|
+
if (g != 108 && W(j, y - 1) == 58) {
|
|
889
|
+
rt(j += k(Ct(h), "&", "&\f"), "&\f", Tr(v ? l[v - 1] : 0)) != -1 && (S = -1);
|
|
890
890
|
break;
|
|
891
891
|
}
|
|
892
892
|
case 34:
|
|
893
893
|
case 39:
|
|
894
894
|
case 91:
|
|
895
|
-
|
|
895
|
+
j += Ct(h);
|
|
896
896
|
break;
|
|
897
897
|
case 9:
|
|
898
898
|
case 10:
|
|
899
899
|
case 13:
|
|
900
900
|
case 32:
|
|
901
|
-
|
|
901
|
+
j += Gn(g);
|
|
902
902
|
break;
|
|
903
903
|
case 92:
|
|
904
|
-
|
|
904
|
+
j += Hn(nt() - 1, 7);
|
|
905
905
|
continue;
|
|
906
906
|
case 47:
|
|
907
907
|
switch (we()) {
|
|
@@ -910,11 +910,11 @@ function ot(e, t, r, n, s, a, c, l, u) {
|
|
|
910
910
|
qe(Zn(Xn(ne(), nt()), t, r, u), u);
|
|
911
911
|
break;
|
|
912
912
|
default:
|
|
913
|
-
|
|
913
|
+
j += "/";
|
|
914
914
|
}
|
|
915
915
|
break;
|
|
916
916
|
case 123 * x:
|
|
917
|
-
l[v++] = oe(
|
|
917
|
+
l[v++] = oe(j) * S;
|
|
918
918
|
case 125 * x:
|
|
919
919
|
case 59:
|
|
920
920
|
case 0:
|
|
@@ -923,30 +923,30 @@ function ot(e, t, r, n, s, a, c, l, u) {
|
|
|
923
923
|
case 125:
|
|
924
924
|
b = 0;
|
|
925
925
|
case 59 + m:
|
|
926
|
-
S == -1 && (
|
|
926
|
+
S == -1 && (j = k(j, /\f/g, "")), w > 0 && oe(j) - y && qe(w > 32 ? fr(j + ";", n, r, y - 1, u) : fr(k(j, " ", "") + ";", n, r, y - 2, u), u);
|
|
927
927
|
break;
|
|
928
928
|
case 59:
|
|
929
|
-
|
|
929
|
+
j += ";";
|
|
930
930
|
default:
|
|
931
|
-
if (qe(N = dr(
|
|
931
|
+
if (qe(N = dr(j, t, r, v, m, s, l, E, R = [], A = [], y, a), a), h === 123)
|
|
932
932
|
if (m === 0)
|
|
933
|
-
ot(
|
|
933
|
+
ot(j, t, N, N, R, a, y, l, A);
|
|
934
934
|
else
|
|
935
|
-
switch (f === 99 && W(
|
|
935
|
+
switch (f === 99 && W(j, 3) === 110 ? 100 : f) {
|
|
936
936
|
case 100:
|
|
937
937
|
case 108:
|
|
938
938
|
case 109:
|
|
939
939
|
case 115:
|
|
940
|
-
ot(e, N, N, n && qe(dr(e, N, N, 0, 0, s, l,
|
|
940
|
+
ot(e, N, N, n && qe(dr(e, N, N, 0, 0, s, l, E, s, R = [], y, A), A), s, A, y, l, n ? R : A);
|
|
941
941
|
break;
|
|
942
942
|
default:
|
|
943
|
-
ot(
|
|
943
|
+
ot(j, N, N, N, [""], A, 0, l, A);
|
|
944
944
|
}
|
|
945
945
|
}
|
|
946
|
-
v = m = w = 0, x = S = 1,
|
|
946
|
+
v = m = w = 0, x = S = 1, E = j = "", y = c;
|
|
947
947
|
break;
|
|
948
948
|
case 58:
|
|
949
|
-
y = 1 + oe(
|
|
949
|
+
y = 1 + oe(j), w = g;
|
|
950
950
|
default:
|
|
951
951
|
if (x < 1) {
|
|
952
952
|
if (h == 123)
|
|
@@ -954,26 +954,26 @@ function ot(e, t, r, n, s, a, c, l, u) {
|
|
|
954
954
|
else if (h == 125 && x++ == 0 && Yn() == 125)
|
|
955
955
|
continue;
|
|
956
956
|
}
|
|
957
|
-
switch (
|
|
957
|
+
switch (j += Bt(h), h * x) {
|
|
958
958
|
case 38:
|
|
959
|
-
S = m > 0 ? 1 : (
|
|
959
|
+
S = m > 0 ? 1 : (j += "\f", -1);
|
|
960
960
|
break;
|
|
961
961
|
case 44:
|
|
962
|
-
l[v++] = (oe(
|
|
962
|
+
l[v++] = (oe(j) - 1) * S, S = 1;
|
|
963
963
|
break;
|
|
964
964
|
case 64:
|
|
965
|
-
we() === 45 && (
|
|
965
|
+
we() === 45 && (j += Ct(ne())), f = we(), m = y = oe(E = j += Kn(nt())), h++;
|
|
966
966
|
break;
|
|
967
967
|
case 45:
|
|
968
|
-
g === 45 && oe(
|
|
968
|
+
g === 45 && oe(j) == 2 && (x = 0);
|
|
969
969
|
}
|
|
970
970
|
}
|
|
971
971
|
return a;
|
|
972
972
|
}
|
|
973
973
|
function dr(e, t, r, n, s, a, c, l, u, v, m, y) {
|
|
974
974
|
for (var f = s - 1, w = s === 0 ? a : [""], g = Ir(w), x = 0, b = 0, S = 0; x < n; ++x)
|
|
975
|
-
for (var h = 0,
|
|
976
|
-
(R = Ar(b > 0 ? w[h] + " " +
|
|
975
|
+
for (var h = 0, E = Te(e, f + 1, f = Tr(b = c[x])), R = e; h < g; ++h)
|
|
976
|
+
(R = Ar(b > 0 ? w[h] + " " + E : k(E, /&\f/g, w[h]))) && (u[S++] = R);
|
|
977
977
|
return pt(e, t, r, s === 0 ? dt : l, u, v, m, y);
|
|
978
978
|
}
|
|
979
979
|
function Zn(e, t, r, n) {
|
|
@@ -1232,7 +1232,7 @@ var no = {
|
|
|
1232
1232
|
strokeMiterlimit: 1,
|
|
1233
1233
|
strokeOpacity: 1,
|
|
1234
1234
|
strokeWidth: 1
|
|
1235
|
-
},
|
|
1235
|
+
}, Ee = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", Mr = "active", Fr = "data-styled-version", mt = "6.1.13", Yt = `/*!sc*/
|
|
1236
1236
|
`, lt = typeof window < "u" && "HTMLElement" in window, oo = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== "" ? process.env.REACT_APP_SC_DISABLE_SPEEDY !== "false" && process.env.REACT_APP_SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && process.env.SC_DISABLE_SPEEDY !== void 0 && process.env.SC_DISABLE_SPEEDY !== "" ? process.env.SC_DISABLE_SPEEDY !== "false" && process.env.SC_DISABLE_SPEEDY : process.env.NODE_ENV !== "production"), pr = /invalid hook call/i, Ze = /* @__PURE__ */ new Set(), so = function(e, t) {
|
|
1237
1237
|
if (process.env.NODE_ENV !== "production") {
|
|
1238
1238
|
var r = t ? ' with the id of "'.concat(t, '"') : "", n = "The component ".concat(e).concat(r, ` has been created dynamically.
|
|
@@ -1413,15 +1413,15 @@ var So = function() {
|
|
|
1413
1413
|
for (var n = this.groupSizes[t], s = this.indexOfGroup(t), a = s + n, c = s; c < a; c++) r += "".concat(this.tag.getRule(c)).concat(Yt);
|
|
1414
1414
|
return r;
|
|
1415
1415
|
}, e;
|
|
1416
|
-
}(),
|
|
1416
|
+
}(), Eo = 1 << 30, st = /* @__PURE__ */ new Map(), ut = /* @__PURE__ */ new Map(), at = 1, et = function(e) {
|
|
1417
1417
|
if (st.has(e)) return st.get(e);
|
|
1418
1418
|
for (; ut.has(at); ) at++;
|
|
1419
1419
|
var t = at++;
|
|
1420
|
-
if (process.env.NODE_ENV !== "production" && ((0 | t) < 0 || t >
|
|
1420
|
+
if (process.env.NODE_ENV !== "production" && ((0 | t) < 0 || t > Eo)) throw Fe(16, "".concat(t));
|
|
1421
1421
|
return st.set(e, t), ut.set(t, e), t;
|
|
1422
|
-
},
|
|
1422
|
+
}, jo = function(e, t) {
|
|
1423
1423
|
at = t + 1, st.set(e, t), ut.set(t, e);
|
|
1424
|
-
}, Co = "style[".concat(
|
|
1424
|
+
}, Co = "style[".concat(Ee, "][").concat(Fr, '="').concat(mt, '"]'), Ro = new RegExp("^".concat(Ee, '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')), ko = function(e, t, r) {
|
|
1425
1425
|
for (var n, s = r.split(","), a = 0, c = s.length; a < c; a++) (n = s[a]) && e.registerName(t, n);
|
|
1426
1426
|
}, No = function(e, t) {
|
|
1427
1427
|
for (var r, n = ((r = t.textContent) !== null && r !== void 0 ? r : "").split(Yt), s = [], a = 0, c = n.length; a < c; a++) {
|
|
@@ -1430,14 +1430,14 @@ var So = function() {
|
|
|
1430
1430
|
var u = l.match(Ro);
|
|
1431
1431
|
if (u) {
|
|
1432
1432
|
var v = 0 | parseInt(u[1], 10), m = u[2];
|
|
1433
|
-
v !== 0 && (
|
|
1433
|
+
v !== 0 && (jo(m, v), ko(e, m, u[3]), e.getTag().insertRules(v, s)), s.length = 0;
|
|
1434
1434
|
} else s.push(l);
|
|
1435
1435
|
}
|
|
1436
1436
|
}
|
|
1437
1437
|
}, br = function(e) {
|
|
1438
1438
|
for (var t = document.querySelectorAll(Co), r = 0, n = t.length; r < n; r++) {
|
|
1439
1439
|
var s = t[r];
|
|
1440
|
-
s && s.getAttribute(
|
|
1440
|
+
s && s.getAttribute(Ee) !== Mr && (No(e, s), s.parentNode && s.parentNode.removeChild(s));
|
|
1441
1441
|
}
|
|
1442
1442
|
};
|
|
1443
1443
|
function _o() {
|
|
@@ -1445,10 +1445,10 @@ function _o() {
|
|
|
1445
1445
|
}
|
|
1446
1446
|
var Ur = function(e) {
|
|
1447
1447
|
var t = document.head, r = e || t, n = document.createElement("style"), s = function(l) {
|
|
1448
|
-
var u = Array.from(l.querySelectorAll("style[".concat(
|
|
1448
|
+
var u = Array.from(l.querySelectorAll("style[".concat(Ee, "]")));
|
|
1449
1449
|
return u[u.length - 1];
|
|
1450
1450
|
}(r), a = s !== void 0 ? s.nextSibling : null;
|
|
1451
|
-
n.setAttribute(
|
|
1451
|
+
n.setAttribute(Ee, Mr), n.setAttribute(Fr, mt);
|
|
1452
1452
|
var c = _o();
|
|
1453
1453
|
return c && n.setAttribute("nonce", c), r.insertBefore(n, a), n;
|
|
1454
1454
|
}, Po = function() {
|
|
@@ -1513,7 +1513,7 @@ var Ur = function(e) {
|
|
|
1513
1513
|
if (f === void 0) return "continue";
|
|
1514
1514
|
var w = a.names.get(f), g = c.getGroup(y);
|
|
1515
1515
|
if (w === void 0 || !w.size || g.length === 0) return "continue";
|
|
1516
|
-
var x = "".concat(
|
|
1516
|
+
var x = "".concat(Ee, ".g").concat(y, '[id="').concat(f, '"]'), b = "";
|
|
1517
1517
|
w !== void 0 && w.forEach(function(S) {
|
|
1518
1518
|
S.length > 0 && (b += "".concat(S, ","));
|
|
1519
1519
|
}), u += "".concat(g).concat(x, '{content:"').concat(b, '"}').concat(Yt);
|
|
@@ -1573,8 +1573,8 @@ function $o(e) {
|
|
|
1573
1573
|
var b = f.replace(Do, ""), S = Jn(g || w ? "".concat(g, " ").concat(w, " { ").concat(b, " }") : b);
|
|
1574
1574
|
c.namespace && (S = Hr(S, c.namespace));
|
|
1575
1575
|
var h = [];
|
|
1576
|
-
return ct(S, eo(m.concat(to(function(
|
|
1577
|
-
return h.push(
|
|
1576
|
+
return ct(S, eo(m.concat(to(function(E) {
|
|
1577
|
+
return h.push(E);
|
|
1578
1578
|
})))), h;
|
|
1579
1579
|
};
|
|
1580
1580
|
return y.hash = u.length ? u.reduce(function(f, w) {
|
|
@@ -1587,7 +1587,7 @@ ge.createContext(void 0);
|
|
|
1587
1587
|
function Sr() {
|
|
1588
1588
|
return Nr(Xr);
|
|
1589
1589
|
}
|
|
1590
|
-
var
|
|
1590
|
+
var Er = function() {
|
|
1591
1591
|
function e(t, r) {
|
|
1592
1592
|
var n = this;
|
|
1593
1593
|
this.inject = function(s, a) {
|
|
@@ -1604,7 +1604,7 @@ var jr = function() {
|
|
|
1604
1604
|
}(), Fo = function(e) {
|
|
1605
1605
|
return e >= "A" && e <= "Z";
|
|
1606
1606
|
};
|
|
1607
|
-
function
|
|
1607
|
+
function jr(e) {
|
|
1608
1608
|
for (var t = "", r = 0; r < e.length; r++) {
|
|
1609
1609
|
var n = e[r];
|
|
1610
1610
|
if (r === 1 && n === "-" && e[0] === "-") return e;
|
|
@@ -1618,7 +1618,7 @@ var Kr = function(e) {
|
|
|
1618
1618
|
var t, r, n = [];
|
|
1619
1619
|
for (var s in e) {
|
|
1620
1620
|
var a = e[s];
|
|
1621
|
-
e.hasOwnProperty(s) && !Kr(a) && (Array.isArray(a) && a.isCss || De(a) ? n.push("".concat(
|
|
1621
|
+
e.hasOwnProperty(s) && !Kr(a) && (Array.isArray(a) && a.isCss || De(a) ? n.push("".concat(jr(s), ":"), a, ";") : $e(a) ? n.push.apply(n, Oe(Oe(["".concat(s, " {")], Jr(a), !1), ["}"], !1)) : n.push("".concat(jr(s), ": ").concat((t = s, (r = a) == null || typeof r == "boolean" || r === "" ? "" : typeof r != "number" || r === 0 || t in no || t.startsWith("--") ? String(r).trim() : "".concat(r, "px")), ";")));
|
|
1622
1622
|
}
|
|
1623
1623
|
return n;
|
|
1624
1624
|
};
|
|
@@ -1628,10 +1628,10 @@ function Se(e, t, r, n) {
|
|
|
1628
1628
|
if (De(e)) {
|
|
1629
1629
|
if (!De(a = e) || a.prototype && a.prototype.isReactComponent || !t) return [e];
|
|
1630
1630
|
var s = e(t);
|
|
1631
|
-
return process.env.NODE_ENV === "production" || typeof s != "object" || Array.isArray(s) || s instanceof
|
|
1631
|
+
return process.env.NODE_ENV === "production" || typeof s != "object" || Array.isArray(s) || s instanceof Er || $e(s) || s === null || console.error("".concat(Vr(e), " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")), Se(s, t, r, n);
|
|
1632
1632
|
}
|
|
1633
1633
|
var a;
|
|
1634
|
-
return e instanceof
|
|
1634
|
+
return e instanceof Er ? r ? (e.inject(r, n), [e.getName(n)]) : [e] : $e(e) ? Jr(e) : Array.isArray(e) ? Array.prototype.concat.apply(gt, e.map(function(c) {
|
|
1635
1635
|
return Se(c, t, r, n);
|
|
1636
1636
|
})) : [e.toString()];
|
|
1637
1637
|
}
|
|
@@ -1680,8 +1680,8 @@ function Wo(e, t, r) {
|
|
|
1680
1680
|
var n = qt(e), s = e, a = !kt(e), c = t.attrs, l = c === void 0 ? gt : c, u = t.componentId, v = u === void 0 ? function(R, A) {
|
|
1681
1681
|
var N = typeof R != "string" ? "sc" : hr(R);
|
|
1682
1682
|
Nt[N] = (Nt[N] || 0) + 1;
|
|
1683
|
-
var
|
|
1684
|
-
return A ? "".concat(A, "-").concat(
|
|
1683
|
+
var j = "".concat(N, "-").concat(uo(mt + N + Nt[N]));
|
|
1684
|
+
return A ? "".concat(A, "-").concat(j) : j;
|
|
1685
1685
|
}(t.displayName, t.parentComponentId) : u, m = t.displayName, y = m === void 0 ? function(R) {
|
|
1686
1686
|
return kt(R) ? "styled.".concat(R) : "Styled(".concat(Vr(R), ")");
|
|
1687
1687
|
}(e) : m, f = t.displayName && t.componentId ? "".concat(hr(t.displayName), "-").concat(t.componentId) : t.componentId || v, w = n && s.attrs ? s.attrs.concat(l).filter(Boolean) : l, g = t.shouldForwardProp;
|
|
@@ -1696,17 +1696,17 @@ function Wo(e, t, r) {
|
|
|
1696
1696
|
}
|
|
1697
1697
|
var S = new Vo(r, f, n ? s.componentStyle : void 0);
|
|
1698
1698
|
function h(R, A) {
|
|
1699
|
-
return function(N,
|
|
1700
|
-
var K = N.attrs, vt = N.componentStyle, yt = N.defaultProps, He = N.foldedComponentIds, X = N.styledComponentId, ae = N.target, ve = ge.useContext(Zr), Xe = Sr(),
|
|
1699
|
+
return function(N, j, B) {
|
|
1700
|
+
var K = N.attrs, vt = N.componentStyle, yt = N.defaultProps, He = N.foldedComponentIds, X = N.styledComponentId, ae = N.target, ve = ge.useContext(Zr), Xe = Sr(), je = N.shouldForwardProp || Xe.shouldForwardProp;
|
|
1701
1701
|
process.env.NODE_ENV !== "production" && ir(X);
|
|
1702
|
-
var Le = ao(
|
|
1702
|
+
var Le = ao(j, ve, yt) || Ie, J = function(Re, ie, fe) {
|
|
1703
1703
|
for (var ee, te = H(H({}, ie), { className: void 0, theme: fe }), pe = 0; pe < Re.length; pe += 1) {
|
|
1704
1704
|
var ke = De(ee = Re[pe]) ? ee(te) : ee;
|
|
1705
1705
|
for (var re in ke) te[re] = re === "className" ? be(te[re], ke[re]) : re === "style" ? H(H({}, te[re]), ke[re]) : ke[re];
|
|
1706
1706
|
}
|
|
1707
1707
|
return ie.className && (te.className = be(te.className, ie.className)), te;
|
|
1708
|
-
}(K,
|
|
1709
|
-
for (var Y in J) J[Y] === void 0 || Y[0] === "$" || Y === "as" || Y === "theme" && J.theme === Le || (Y === "forwardedAs" ? de.as = J.forwardedAs :
|
|
1708
|
+
}(K, j, Le), ue = J.as || ae, de = {};
|
|
1709
|
+
for (var Y in J) J[Y] === void 0 || Y[0] === "$" || Y === "as" || Y === "theme" && J.theme === Le || (Y === "forwardedAs" ? de.as = J.forwardedAs : je && !je(Y, ue) || (de[Y] = J[Y], je || process.env.NODE_ENV !== "development" || Fn(Y) || Cr.has(Y) || !At.has(ue) || (Cr.add(Y), console.warn('styled-components: it looks like an unknown prop "'.concat(Y, '" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));
|
|
1710
1710
|
var Ce = function(Re, ie) {
|
|
1711
1711
|
var fe = Sr(), ee = Re.generateAndInjectStyles(ie, fe.styleSheet, fe.stylis);
|
|
1712
1712
|
return process.env.NODE_ENV !== "production" && ir(ee), ee;
|
|
@@ -1714,22 +1714,22 @@ function Wo(e, t, r) {
|
|
|
1714
1714
|
process.env.NODE_ENV !== "production" && N.warnTooManyClasses && N.warnTooManyClasses(Ce);
|
|
1715
1715
|
var ze = be(He, X);
|
|
1716
1716
|
return Ce && (ze += " " + Ce), J.className && (ze += " " + J.className), de[kt(ue) && !At.has(ue) ? "class" : "className"] = ze, de.ref = B, Nn(ue, de);
|
|
1717
|
-
}(
|
|
1717
|
+
}(E, R, A);
|
|
1718
1718
|
}
|
|
1719
1719
|
h.displayName = y;
|
|
1720
|
-
var
|
|
1721
|
-
return
|
|
1720
|
+
var E = ge.forwardRef(h);
|
|
1721
|
+
return E.attrs = w, E.componentStyle = S, E.displayName = y, E.shouldForwardProp = g, E.foldedComponentIds = n ? be(s.foldedComponentIds, s.styledComponentId) : "", E.styledComponentId = f, E.target = n ? s.target : e, Object.defineProperty(E, "defaultProps", { get: function() {
|
|
1722
1722
|
return this._foldedDefaultProps;
|
|
1723
1723
|
}, set: function(R) {
|
|
1724
1724
|
this._foldedDefaultProps = n ? function(A) {
|
|
1725
|
-
for (var N = [],
|
|
1725
|
+
for (var N = [], j = 1; j < arguments.length; j++) N[j - 1] = arguments[j];
|
|
1726
1726
|
for (var B = 0, K = N; B < K.length; B++) Dt(A, K[B], !0);
|
|
1727
1727
|
return A;
|
|
1728
1728
|
}({}, s.defaultProps, R) : R;
|
|
1729
|
-
} }), process.env.NODE_ENV !== "production" && (so(y, f),
|
|
1730
|
-
var N = {},
|
|
1729
|
+
} }), process.env.NODE_ENV !== "production" && (so(y, f), E.warnTooManyClasses = /* @__PURE__ */ function(R, A) {
|
|
1730
|
+
var N = {}, j = !1;
|
|
1731
1731
|
return function(B) {
|
|
1732
|
-
if (!
|
|
1732
|
+
if (!j && (N[B] = !0, Object.keys(N).length >= 200)) {
|
|
1733
1733
|
var K = A ? ' with the id of "'.concat(A, '"') : "";
|
|
1734
1734
|
console.warn("Over ".concat(200, " classes were generated for component ").concat(R).concat(K, `.
|
|
1735
1735
|
`) + `Consider using the attrs method, together with a style object for frequently changed styles.
|
|
@@ -1740,12 +1740,12 @@ Example:
|
|
|
1740
1740
|
},
|
|
1741
1741
|
}))\`width: 100%;\`
|
|
1742
1742
|
|
|
1743
|
-
<Component />`),
|
|
1743
|
+
<Component />`), j = !0, N = {};
|
|
1744
1744
|
}
|
|
1745
1745
|
};
|
|
1746
|
-
}(y, f)), Ut(
|
|
1747
|
-
return ".".concat(
|
|
1748
|
-
}), a && qr(
|
|
1746
|
+
}(y, f)), Ut(E, function() {
|
|
1747
|
+
return ".".concat(E.styledComponentId);
|
|
1748
|
+
}), a && qr(E, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), E;
|
|
1749
1749
|
}
|
|
1750
1750
|
function Rr(e, t) {
|
|
1751
1751
|
for (var r = [e[0]], n = 0, s = t.length; n < s; n += 1) r.push(t[n], e[n + 1]);
|
|
@@ -1781,7 +1781,7 @@ At.forEach(function(e) {
|
|
|
1781
1781
|
process.env.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn(`It looks like you've imported 'styled-components' on React Native.
|
|
1782
1782
|
Perhaps you're looking to import 'styled-components/native'?
|
|
1783
1783
|
Read more about this at https://www.styled-components.com/docs/basics#react-native`);
|
|
1784
|
-
var tt = "__sc-".concat(
|
|
1784
|
+
var tt = "__sc-".concat(Ee, "__");
|
|
1785
1785
|
process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && typeof window < "u" && (window[tt] || (window[tt] = 0), window[tt] === 1 && console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
|
|
1786
1786
|
|
|
1787
1787
|
See https://s-c.sh/2BAXzed for more info.`), window[tt] += 1);
|
|
@@ -1816,36 +1816,36 @@ const Bo = Gt.div`
|
|
|
1816
1816
|
if (!t && r)
|
|
1817
1817
|
f(r);
|
|
1818
1818
|
else if (e) {
|
|
1819
|
-
const
|
|
1819
|
+
const E = e.getBoundingClientRect(), R = (h = w.current) == null ? void 0 : h.getBoundingClientRect(), { innerWidth: A, innerHeight: N } = window;
|
|
1820
1820
|
if (R) {
|
|
1821
|
-
let
|
|
1821
|
+
let j, B;
|
|
1822
1822
|
const K = {
|
|
1823
1823
|
topRight: () => ({
|
|
1824
|
-
top:
|
|
1825
|
-
left:
|
|
1824
|
+
top: E.top - R.height,
|
|
1825
|
+
left: E.right - R.width
|
|
1826
1826
|
}),
|
|
1827
1827
|
topLeft: () => ({
|
|
1828
|
-
top:
|
|
1829
|
-
left:
|
|
1828
|
+
top: E.top - R.height,
|
|
1829
|
+
left: E.left
|
|
1830
1830
|
}),
|
|
1831
1831
|
bottomRight: () => ({
|
|
1832
|
-
top:
|
|
1833
|
-
left:
|
|
1832
|
+
top: E.bottom,
|
|
1833
|
+
left: E.right - R.width
|
|
1834
1834
|
}),
|
|
1835
1835
|
bottomLeft: () => ({
|
|
1836
|
-
top:
|
|
1837
|
-
left:
|
|
1836
|
+
top: E.bottom,
|
|
1837
|
+
left: E.left
|
|
1838
1838
|
}),
|
|
1839
1839
|
left: () => ({
|
|
1840
|
-
top:
|
|
1841
|
-
left:
|
|
1840
|
+
top: E.top + E.height / 2 - R.height / 2,
|
|
1841
|
+
left: E.left - R.width
|
|
1842
1842
|
}),
|
|
1843
1843
|
right: () => ({
|
|
1844
|
-
top:
|
|
1845
|
-
left:
|
|
1844
|
+
top: E.top + E.height / 2 - R.height / 2,
|
|
1845
|
+
left: E.right
|
|
1846
1846
|
})
|
|
1847
1847
|
};
|
|
1848
|
-
t && K[t] ? { top:
|
|
1848
|
+
t && K[t] ? { top: j, left: B } = K[t]() : (B = E.right, j = E.bottom, E.right + R.width > A && (B = E.left - R.width), E.bottom + R.height > N && (j = E.top - R.height)), f({ top: j, left: B });
|
|
1849
1849
|
}
|
|
1850
1850
|
}
|
|
1851
1851
|
};
|
|
@@ -2161,7 +2161,7 @@ const Bo = Gt.div`
|
|
|
2161
2161
|
] }) }) }),
|
|
2162
2162
|
/* @__PURE__ */ i.jsxs("div", { className: "expand-body", children: [
|
|
2163
2163
|
/* @__PURE__ */ i.jsx("div", { children: t.headerContent }),
|
|
2164
|
-
|
|
2164
|
+
t.content
|
|
2165
2165
|
] }),
|
|
2166
2166
|
t.footer && /* @__PURE__ */ i.jsx("div", { className: "expand-footer", children: t.footer })
|
|
2167
2167
|
]
|
|
@@ -2232,11 +2232,11 @@ const Bo = Gt.div`
|
|
|
2232
2232
|
}), b;
|
|
2233
2233
|
}), u = se({}), v = $(
|
|
2234
2234
|
(b, S) => {
|
|
2235
|
-
const { name: h, value:
|
|
2236
|
-
S.onChange && S.onChange(
|
|
2235
|
+
const { name: h, value: E, type: R, checked: A } = b.target;
|
|
2236
|
+
S.onChange && S.onChange(E, h), l((N) => {
|
|
2237
2237
|
const B = {
|
|
2238
2238
|
...N || {},
|
|
2239
|
-
[h]: R === "checkbox" ? A :
|
|
2239
|
+
[h]: R === "checkbox" ? A : E
|
|
2240
2240
|
};
|
|
2241
2241
|
return n && n(B), B;
|
|
2242
2242
|
});
|
|
@@ -2480,8 +2480,8 @@ const he = (e = 12) => `${e / 12 * 100}%`, Ho = Gt.div`
|
|
|
2480
2480
|
);
|
|
2481
2481
|
return Lt(v, () => ({
|
|
2482
2482
|
clearInput: (h) => {
|
|
2483
|
-
var
|
|
2484
|
-
(
|
|
2483
|
+
var E;
|
|
2484
|
+
(E = w.current) == null || E.clearInput(h);
|
|
2485
2485
|
},
|
|
2486
2486
|
resetForm: () => {
|
|
2487
2487
|
var h;
|
|
@@ -2563,7 +2563,7 @@ const he = (e = 12) => `${e / 12 * 100}%`, Ho = Gt.div`
|
|
|
2563
2563
|
] }),
|
|
2564
2564
|
f.current
|
|
2565
2565
|
) : /* @__PURE__ */ i.jsx(i.Fragment, {});
|
|
2566
|
-
}, hs = (e) => /* @__PURE__ */ i.jsx(
|
|
2566
|
+
}, hs = (e) => /* @__PURE__ */ i.jsx(Zo, { ...e, className: `full sidebar-data ${e.className}`, children: e.children && /* @__PURE__ */ i.jsx("div", { className: "sidebar-data-content", children: e.children }) }), ms = ({
|
|
2567
2567
|
className: e,
|
|
2568
2568
|
title: t,
|
|
2569
2569
|
duration: r = 2500,
|