@hortiview/modulebase 0.0.13925 → 0.0.14106
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/ModuleCore.js +444 -441
- package/dist/hooks/useEntity.js +20 -19
- package/dist/lib/components/ModuleBase.d.ts +27 -5
- package/dist/lib/components/ModuleCore.d.ts +24 -5
- package/dist/lib/constants.d.ts +1 -1
- package/dist/lib/hooks/useStores.d.ts +2 -1
- package/dist/lib/main.d.ts +1 -0
- package/dist/lib/types/BaseProps.d.ts +2 -0
- package/dist/lib/types/EnvironmentVariable.d.ts +6 -0
- package/dist/types/EnvironmentVariable.js +1 -0
- package/dist/utils/helper.js +1 -1
- package/package.json +1 -1
|
@@ -1003,7 +1003,7 @@ function f9() {
|
|
|
1003
1003
|
if (sf) return bo;
|
|
1004
1004
|
sf = 1;
|
|
1005
1005
|
var t = /* @__PURE__ */ Be(), e = /* @__PURE__ */ H3(), n = /* @__PURE__ */ Xm(), r = /* @__PURE__ */ xt(), a = G3().f, o = /* @__PURE__ */ J3(), i = /* @__PURE__ */ dr(), s = /* @__PURE__ */ Y3(), l = /* @__PURE__ */ n4(), u = /* @__PURE__ */ xn(), c = function(f) {
|
|
1006
|
-
var p = function(d, m,
|
|
1006
|
+
var p = function(d, m, h) {
|
|
1007
1007
|
if (this instanceof p) {
|
|
1008
1008
|
switch (arguments.length) {
|
|
1009
1009
|
case 0:
|
|
@@ -1013,16 +1013,16 @@ function f9() {
|
|
|
1013
1013
|
case 2:
|
|
1014
1014
|
return new f(d, m);
|
|
1015
1015
|
}
|
|
1016
|
-
return new f(d, m,
|
|
1016
|
+
return new f(d, m, h);
|
|
1017
1017
|
}
|
|
1018
1018
|
return e(f, this, arguments);
|
|
1019
1019
|
};
|
|
1020
1020
|
return p.prototype = f.prototype, p;
|
|
1021
1021
|
};
|
|
1022
1022
|
return bo = function(f, p) {
|
|
1023
|
-
var d = f.target, m = f.global,
|
|
1023
|
+
var d = f.target, m = f.global, h = f.stat, C = f.proto, O = m ? t : h ? t[d] : t[d] && t[d].prototype, w = m ? i : i[d] || l(i, d, {})[d], T = w.prototype, x, y, L, _, $, N, P, E, Z;
|
|
1024
1024
|
for (_ in p)
|
|
1025
|
-
x = o(m ? _ : d + (
|
|
1025
|
+
x = o(m ? _ : d + (h ? "." : "#") + _, f.forced), y = !x && O && u(O, _), N = w[_], y && (f.dontCallGetSet ? (Z = a(O, _), P = Z && Z.value) : P = O[_]), $ = y && P ? P : p[_], !(!x && !C && typeof N == typeof $) && (f.bind && y ? E = s($, t) : f.wrap && y ? E = c($) : C && r($) ? E = n($) : E = $, (f.sham || $ && $.sham || N && N.sham) && l(E, "sham", !0), l(w, _, E), C && (L = d + "Prototype", u(i, L) || l(i, L, {}), l(i[L], _, $), f.real && T && (x || !T[_]) && l(T, _, $)));
|
|
1026
1026
|
}, bo;
|
|
1027
1027
|
}
|
|
1028
1028
|
var Co, lf;
|
|
@@ -1156,12 +1156,12 @@ function p4() {
|
|
|
1156
1156
|
});
|
|
1157
1157
|
}
|
|
1158
1158
|
}), { b: 2 })).b !== 1) return !0;
|
|
1159
|
-
var p = {}, d = {}, m = Symbol("assign detection"),
|
|
1160
|
-
return p[m] = 7,
|
|
1159
|
+
var p = {}, d = {}, m = Symbol("assign detection"), h = "abcdefghijklmnopqrst";
|
|
1160
|
+
return p[m] = 7, h.split("").forEach(function(C) {
|
|
1161
1161
|
d[C] = C;
|
|
1162
|
-
}), u({}, p)[m] !== 7 || a(u({}, d)).join("") !==
|
|
1162
|
+
}), u({}, p)[m] !== 7 || a(u({}, d)).join("") !== h;
|
|
1163
1163
|
}) ? function(p, d) {
|
|
1164
|
-
for (var m = s(p),
|
|
1164
|
+
for (var m = s(p), h = arguments.length, C = 1, O = o.f, w = i.f; h > C; )
|
|
1165
1165
|
for (var T = l(arguments[C++]), x = O ? f(a(T), O(T)) : a(T), y = x.length, L = 0, _; y > L; )
|
|
1166
1166
|
_ = x[L++], (!t || n(w, T, _)) && (m[_] = T[_]);
|
|
1167
1167
|
return m;
|
|
@@ -1223,17 +1223,17 @@ function $4() {
|
|
|
1223
1223
|
jf = 1;
|
|
1224
1224
|
var t = /* @__PURE__ */ Ie(), e = /* @__PURE__ */ xc(), n = /* @__PURE__ */ Cn(), r = /* @__PURE__ */ xn(), a = /* @__PURE__ */ x4(), o = /* @__PURE__ */ bn(), i = Function, s = t([].concat), l = t([].join), u = {}, c = function(f, p, d) {
|
|
1225
1225
|
if (!r(u, p)) {
|
|
1226
|
-
for (var m = [],
|
|
1226
|
+
for (var m = [], h = 0; h < p; h++) m[h] = "a[" + h + "]";
|
|
1227
1227
|
u[p] = i("C,a", "return new C(" + l(m, ",") + ")");
|
|
1228
1228
|
}
|
|
1229
1229
|
return u[p](f, d);
|
|
1230
1230
|
};
|
|
1231
1231
|
return No = o ? i.bind : function(f) {
|
|
1232
|
-
var p = e(this), d = p.prototype, m = a(arguments, 1),
|
|
1232
|
+
var p = e(this), d = p.prototype, m = a(arguments, 1), h = function() {
|
|
1233
1233
|
var C = s(m, a(arguments));
|
|
1234
|
-
return this instanceof
|
|
1234
|
+
return this instanceof h ? c(p, C.length, C) : p.apply(f, C);
|
|
1235
1235
|
};
|
|
1236
|
-
return n(d) && (
|
|
1236
|
+
return n(d) && (h.prototype = d), h;
|
|
1237
1237
|
}, No;
|
|
1238
1238
|
}
|
|
1239
1239
|
var Nf;
|
|
@@ -1335,7 +1335,7 @@ var Ff;
|
|
|
1335
1335
|
function j4() {
|
|
1336
1336
|
if (Ff) return se;
|
|
1337
1337
|
Ff = 1;
|
|
1338
|
-
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, i = t ? Symbol.for("react.provider") : 60109, s = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, c = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, d = t ? Symbol.for("react.memo") : 60115, m = t ? Symbol.for("react.lazy") : 60116,
|
|
1338
|
+
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, i = t ? Symbol.for("react.provider") : 60109, s = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, c = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, d = t ? Symbol.for("react.memo") : 60115, m = t ? Symbol.for("react.lazy") : 60116, h = t ? Symbol.for("react.block") : 60121, C = t ? Symbol.for("react.fundamental") : 60117, O = t ? Symbol.for("react.responder") : 60118, w = t ? Symbol.for("react.scope") : 60119;
|
|
1339
1339
|
function T(y) {
|
|
1340
1340
|
if (typeof y == "object" && y !== null) {
|
|
1341
1341
|
var L = y.$$typeof;
|
|
@@ -1394,7 +1394,7 @@ function j4() {
|
|
|
1394
1394
|
}, se.isSuspense = function(y) {
|
|
1395
1395
|
return T(y) === f;
|
|
1396
1396
|
}, se.isValidElementType = function(y) {
|
|
1397
|
-
return typeof y == "string" || typeof y == "function" || y === r || y === u || y === o || y === a || y === f || y === p || typeof y == "object" && y !== null && (y.$$typeof === m || y.$$typeof === d || y.$$typeof === i || y.$$typeof === s || y.$$typeof === c || y.$$typeof === C || y.$$typeof === O || y.$$typeof === w || y.$$typeof ===
|
|
1397
|
+
return typeof y == "string" || typeof y == "function" || y === r || y === u || y === o || y === a || y === f || y === p || typeof y == "object" && y !== null && (y.$$typeof === m || y.$$typeof === d || y.$$typeof === i || y.$$typeof === s || y.$$typeof === c || y.$$typeof === C || y.$$typeof === O || y.$$typeof === w || y.$$typeof === h);
|
|
1398
1398
|
}, se.typeOf = T, se;
|
|
1399
1399
|
}
|
|
1400
1400
|
var ue = {};
|
|
@@ -1409,10 +1409,10 @@ var ue = {};
|
|
|
1409
1409
|
var zf;
|
|
1410
1410
|
function N4() {
|
|
1411
1411
|
return zf || (zf = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1412
|
-
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, i = t ? Symbol.for("react.provider") : 60109, s = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, c = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, d = t ? Symbol.for("react.memo") : 60115, m = t ? Symbol.for("react.lazy") : 60116,
|
|
1412
|
+
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, i = t ? Symbol.for("react.provider") : 60109, s = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, c = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, d = t ? Symbol.for("react.memo") : 60115, m = t ? Symbol.for("react.lazy") : 60116, h = t ? Symbol.for("react.block") : 60121, C = t ? Symbol.for("react.fundamental") : 60117, O = t ? Symbol.for("react.responder") : 60118, w = t ? Symbol.for("react.scope") : 60119;
|
|
1413
1413
|
function T(A) {
|
|
1414
1414
|
return typeof A == "string" || typeof A == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1415
|
-
A === r || A === u || A === o || A === a || A === f || A === p || typeof A == "object" && A !== null && (A.$$typeof === m || A.$$typeof === d || A.$$typeof === i || A.$$typeof === s || A.$$typeof === c || A.$$typeof === C || A.$$typeof === O || A.$$typeof === w || A.$$typeof ===
|
|
1415
|
+
A === r || A === u || A === o || A === a || A === f || A === p || typeof A == "object" && A !== null && (A.$$typeof === m || A.$$typeof === d || A.$$typeof === i || A.$$typeof === s || A.$$typeof === c || A.$$typeof === C || A.$$typeof === O || A.$$typeof === w || A.$$typeof === h);
|
|
1416
1416
|
}
|
|
1417
1417
|
function x(A) {
|
|
1418
1418
|
if (typeof A == "object" && A !== null) {
|
|
@@ -1652,10 +1652,10 @@ function V4() {
|
|
|
1652
1652
|
function m(v, k) {
|
|
1653
1653
|
return v === k ? v !== 0 || 1 / v === 1 / k : v !== v && k !== k;
|
|
1654
1654
|
}
|
|
1655
|
-
function
|
|
1655
|
+
function h(v, k) {
|
|
1656
1656
|
this.message = v, this.data = k && typeof k == "object" ? k : {}, this.stack = "";
|
|
1657
1657
|
}
|
|
1658
|
-
|
|
1658
|
+
h.prototype = Error.prototype;
|
|
1659
1659
|
function C(v) {
|
|
1660
1660
|
if (process.env.NODE_ENV !== "production")
|
|
1661
1661
|
var k = {}, H = 0;
|
|
@@ -1674,7 +1674,7 @@ function V4() {
|
|
|
1674
1674
|
), k[de] = !0, H++);
|
|
1675
1675
|
}
|
|
1676
1676
|
}
|
|
1677
|
-
return R[D] == null ? V ? R[D] === null ? new
|
|
1677
|
+
return R[D] == null ? V ? R[D] === null ? new h("The " + W + " `" + U + "` is marked as required " + ("in `" + I + "`, but its value is `null`.")) : new h("The " + W + " `" + U + "` is marked as required in " + ("`" + I + "`, but its value is `undefined`.")) : null : v(R, D, I, W, U);
|
|
1678
1678
|
}
|
|
1679
1679
|
var j = B.bind(null, !1);
|
|
1680
1680
|
return j.isRequired = B.bind(null, !0), j;
|
|
@@ -1684,7 +1684,7 @@ function V4() {
|
|
|
1684
1684
|
var I = H[B], W = K(I);
|
|
1685
1685
|
if (W !== v) {
|
|
1686
1686
|
var U = G(I);
|
|
1687
|
-
return new
|
|
1687
|
+
return new h(
|
|
1688
1688
|
"Invalid " + V + " `" + R + "` of type " + ("`" + U + "` supplied to `" + j + "`, expected ") + ("`" + v + "`."),
|
|
1689
1689
|
{ expectedType: v }
|
|
1690
1690
|
);
|
|
@@ -1699,11 +1699,11 @@ function V4() {
|
|
|
1699
1699
|
function T(v) {
|
|
1700
1700
|
function k(H, B, j, V, R) {
|
|
1701
1701
|
if (typeof v != "function")
|
|
1702
|
-
return new
|
|
1702
|
+
return new h("Property `" + R + "` of component `" + j + "` has invalid PropType notation inside arrayOf.");
|
|
1703
1703
|
var D = H[B];
|
|
1704
1704
|
if (!Array.isArray(D)) {
|
|
1705
1705
|
var I = K(D);
|
|
1706
|
-
return new
|
|
1706
|
+
return new h("Invalid " + V + " `" + R + "` of type " + ("`" + I + "` supplied to `" + j + "`, expected an array."));
|
|
1707
1707
|
}
|
|
1708
1708
|
for (var W = 0; W < D.length; W++) {
|
|
1709
1709
|
var U = v(D, W, j, V, R + "[" + W + "]", n);
|
|
@@ -1719,7 +1719,7 @@ function V4() {
|
|
|
1719
1719
|
var R = k[H];
|
|
1720
1720
|
if (!s(R)) {
|
|
1721
1721
|
var D = K(R);
|
|
1722
|
-
return new
|
|
1722
|
+
return new h("Invalid " + j + " `" + V + "` of type " + ("`" + D + "` supplied to `" + B + "`, expected a single ReactElement."));
|
|
1723
1723
|
}
|
|
1724
1724
|
return null;
|
|
1725
1725
|
}
|
|
@@ -1730,7 +1730,7 @@ function V4() {
|
|
|
1730
1730
|
var R = k[H];
|
|
1731
1731
|
if (!t.isValidElementType(R)) {
|
|
1732
1732
|
var D = K(R);
|
|
1733
|
-
return new
|
|
1733
|
+
return new h("Invalid " + j + " `" + V + "` of type " + ("`" + D + "` supplied to `" + B + "`, expected a single ReactElement type."));
|
|
1734
1734
|
}
|
|
1735
1735
|
return null;
|
|
1736
1736
|
}
|
|
@@ -1740,7 +1740,7 @@ function V4() {
|
|
|
1740
1740
|
function k(H, B, j, V, R) {
|
|
1741
1741
|
if (!(H[B] instanceof v)) {
|
|
1742
1742
|
var D = v.name || p, I = Y(H[B]);
|
|
1743
|
-
return new
|
|
1743
|
+
return new h("Invalid " + V + " `" + R + "` of type " + ("`" + I + "` supplied to `" + j + "`, expected ") + ("instance of `" + D + "`."));
|
|
1744
1744
|
}
|
|
1745
1745
|
return null;
|
|
1746
1746
|
}
|
|
@@ -1759,17 +1759,17 @@ function V4() {
|
|
|
1759
1759
|
var A = G(te);
|
|
1760
1760
|
return A === "symbol" ? String(te) : te;
|
|
1761
1761
|
});
|
|
1762
|
-
return new
|
|
1762
|
+
return new h("Invalid " + V + " `" + R + "` of value `" + String(D) + "` " + ("supplied to `" + j + "`, expected one of " + W + "."));
|
|
1763
1763
|
}
|
|
1764
1764
|
return C(k);
|
|
1765
1765
|
}
|
|
1766
1766
|
function $(v) {
|
|
1767
1767
|
function k(H, B, j, V, R) {
|
|
1768
1768
|
if (typeof v != "function")
|
|
1769
|
-
return new
|
|
1769
|
+
return new h("Property `" + R + "` of component `" + j + "` has invalid PropType notation inside objectOf.");
|
|
1770
1770
|
var D = H[B], I = K(D);
|
|
1771
1771
|
if (I !== "object")
|
|
1772
|
-
return new
|
|
1772
|
+
return new h("Invalid " + V + " `" + R + "` of type " + ("`" + I + "` supplied to `" + j + "`, expected an object."));
|
|
1773
1773
|
for (var W in D)
|
|
1774
1774
|
if (r(D, W)) {
|
|
1775
1775
|
var U = v(D, W, j, V, R + "." + W, n);
|
|
@@ -1798,18 +1798,18 @@ function V4() {
|
|
|
1798
1798
|
A.data && r(A.data, "expectedType") && W.push(A.data.expectedType);
|
|
1799
1799
|
}
|
|
1800
1800
|
var de = W.length > 0 ? ", expected one of type [" + W.join(", ") + "]" : "";
|
|
1801
|
-
return new
|
|
1801
|
+
return new h("Invalid " + D + " `" + I + "` supplied to " + ("`" + R + "`" + de + "."));
|
|
1802
1802
|
}
|
|
1803
1803
|
return C(B);
|
|
1804
1804
|
}
|
|
1805
1805
|
function P() {
|
|
1806
1806
|
function v(k, H, B, j, V) {
|
|
1807
|
-
return Q(k[H]) ? null : new
|
|
1807
|
+
return Q(k[H]) ? null : new h("Invalid " + j + " `" + V + "` supplied to " + ("`" + B + "`, expected a ReactNode."));
|
|
1808
1808
|
}
|
|
1809
1809
|
return C(v);
|
|
1810
1810
|
}
|
|
1811
1811
|
function E(v, k, H, B, j) {
|
|
1812
|
-
return new
|
|
1812
|
+
return new h(
|
|
1813
1813
|
(v || "React class") + ": " + k + " type `" + H + "." + B + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + j + "`."
|
|
1814
1814
|
);
|
|
1815
1815
|
}
|
|
@@ -1817,7 +1817,7 @@ function V4() {
|
|
|
1817
1817
|
function k(H, B, j, V, R) {
|
|
1818
1818
|
var D = H[B], I = K(D);
|
|
1819
1819
|
if (I !== "object")
|
|
1820
|
-
return new
|
|
1820
|
+
return new h("Invalid " + V + " `" + R + "` of type `" + I + "` " + ("supplied to `" + j + "`, expected `object`."));
|
|
1821
1821
|
for (var W in v) {
|
|
1822
1822
|
var U = v[W];
|
|
1823
1823
|
if (typeof U != "function")
|
|
@@ -1834,14 +1834,14 @@ function V4() {
|
|
|
1834
1834
|
function k(H, B, j, V, R) {
|
|
1835
1835
|
var D = H[B], I = K(D);
|
|
1836
1836
|
if (I !== "object")
|
|
1837
|
-
return new
|
|
1837
|
+
return new h("Invalid " + V + " `" + R + "` of type `" + I + "` " + ("supplied to `" + j + "`, expected `object`."));
|
|
1838
1838
|
var W = e({}, H[B], v);
|
|
1839
1839
|
for (var U in W) {
|
|
1840
1840
|
var te = v[U];
|
|
1841
1841
|
if (r(v, U) && typeof te != "function")
|
|
1842
1842
|
return E(j, V, R, U, G(te));
|
|
1843
1843
|
if (!te)
|
|
1844
|
-
return new
|
|
1844
|
+
return new h(
|
|
1845
1845
|
"Invalid " + V + " `" + R + "` key `" + U + "` supplied to `" + j + "`.\nBad object: " + JSON.stringify(H[B], null, " ") + `
|
|
1846
1846
|
Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
|
|
1847
1847
|
);
|
|
@@ -1984,7 +1984,7 @@ function D4() {
|
|
|
1984
1984
|
return An.exports;
|
|
1985
1985
|
}
|
|
1986
1986
|
var B4 = /* @__PURE__ */ D4();
|
|
1987
|
-
const
|
|
1987
|
+
const g = /* @__PURE__ */ mn(B4);
|
|
1988
1988
|
var qo, ep;
|
|
1989
1989
|
function I4() {
|
|
1990
1990
|
if (ep) return qo;
|
|
@@ -2154,8 +2154,8 @@ var li, mp;
|
|
|
2154
2154
|
function Y4() {
|
|
2155
2155
|
if (mp) return li;
|
|
2156
2156
|
mp = 1;
|
|
2157
|
-
var t = yn(), e = y9(), n = vn(), r = "[object Arguments]", a = "[object Array]", o = "[object Boolean]", i = "[object Date]", s = "[object Error]", l = "[object Function]", u = "[object Map]", c = "[object Number]", f = "[object Object]", p = "[object RegExp]", d = "[object Set]", m = "[object String]",
|
|
2158
|
-
E[w] = E[T] = E[x] = E[y] = E[L] = E[_] = E[$] = E[N] = E[P] = !0, E[r] = E[a] = E[C] = E[o] = E[O] = E[i] = E[s] = E[l] = E[u] = E[c] = E[f] = E[p] = E[d] = E[m] = E[
|
|
2157
|
+
var t = yn(), e = y9(), n = vn(), r = "[object Arguments]", a = "[object Array]", o = "[object Boolean]", i = "[object Date]", s = "[object Error]", l = "[object Function]", u = "[object Map]", c = "[object Number]", f = "[object Object]", p = "[object RegExp]", d = "[object Set]", m = "[object String]", h = "[object WeakMap]", C = "[object ArrayBuffer]", O = "[object DataView]", w = "[object Float32Array]", T = "[object Float64Array]", x = "[object Int8Array]", y = "[object Int16Array]", L = "[object Int32Array]", _ = "[object Uint8Array]", $ = "[object Uint8ClampedArray]", N = "[object Uint16Array]", P = "[object Uint32Array]", E = {};
|
|
2158
|
+
E[w] = E[T] = E[x] = E[y] = E[L] = E[_] = E[$] = E[N] = E[P] = !0, E[r] = E[a] = E[C] = E[o] = E[O] = E[i] = E[s] = E[l] = E[u] = E[c] = E[f] = E[p] = E[d] = E[m] = E[h] = !1;
|
|
2159
2159
|
function Z(z) {
|
|
2160
2160
|
return n(z) && e(z.length) && !!E[t(z)];
|
|
2161
2161
|
}
|
|
@@ -2222,9 +2222,9 @@ function ny() {
|
|
|
2222
2222
|
$p = 1;
|
|
2223
2223
|
var t = ty(), e = wc(), n = yc(), r = Oc(), a = v9(), o = kc(), i = Object.prototype, s = i.hasOwnProperty;
|
|
2224
2224
|
function l(u, c) {
|
|
2225
|
-
var f = n(u), p = !f && e(u), d = !f && !p && r(u), m = !f && !p && !d && o(u),
|
|
2225
|
+
var f = n(u), p = !f && e(u), d = !f && !p && r(u), m = !f && !p && !d && o(u), h = f || p || d || m, C = h ? t(u.length, String) : [], O = C.length;
|
|
2226
2226
|
for (var w in u)
|
|
2227
|
-
(c || s.call(u, w)) && !(
|
|
2227
|
+
(c || s.call(u, w)) && !(h && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
2228
2228
|
(w == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
2229
2229
|
d && (w == "offset" || w == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
2230
2230
|
m && (w == "buffer" || w == "byteLength" || w == "byteOffset") || // Skip index properties.
|
|
@@ -2529,7 +2529,7 @@ function vy() {
|
|
|
2529
2529
|
if (Up) return Mi;
|
|
2530
2530
|
Up = 1;
|
|
2531
2531
|
var t = w9(), e = iy(), n = ly(), r = uy(), a = dy(), o = wc(), i = yc(), s = fy(), l = Oc(), u = vc(), c = bt(), f = ry(), p = kc(), d = O9(), m = yy();
|
|
2532
|
-
function
|
|
2532
|
+
function h(C, O, w, T, x, y, L) {
|
|
2533
2533
|
var _ = d(C, w), $ = d(O, w), N = L.get($);
|
|
2534
2534
|
if (N) {
|
|
2535
2535
|
t(C, w, N);
|
|
@@ -2542,7 +2542,7 @@ function vy() {
|
|
|
2542
2542
|
}
|
|
2543
2543
|
E && (L.set($, P), x(P, $, T, y, L), L.delete($)), t(C, w, P);
|
|
2544
2544
|
}
|
|
2545
|
-
return Mi =
|
|
2545
|
+
return Mi = h, Mi;
|
|
2546
2546
|
}
|
|
2547
2547
|
var Hi, Wp;
|
|
2548
2548
|
function by() {
|
|
@@ -2554,8 +2554,8 @@ function by() {
|
|
|
2554
2554
|
if (p || (p = new t()), a(d))
|
|
2555
2555
|
r(l, u, m, c, s, f, p);
|
|
2556
2556
|
else {
|
|
2557
|
-
var
|
|
2558
|
-
|
|
2557
|
+
var h = f ? f(i(l, m), d, m + "", l, u, p) : void 0;
|
|
2558
|
+
h === void 0 && (h = d), e(l, m, h);
|
|
2559
2559
|
}
|
|
2560
2560
|
}, o);
|
|
2561
2561
|
}
|
|
@@ -2994,7 +2994,7 @@ var Xy = function(t, e) {
|
|
|
2994
2994
|
function e6(t) {
|
|
2995
2995
|
var e, n = t.state, r = t.name, a = t.options, o = n.elements.arrow, i = n.modifiersData.popperOffsets, s = Ne(n.placement), l = Tc(s), u = [ye, Le].indexOf(s) >= 0, c = u ? "height" : "width";
|
|
2996
2996
|
if (!(!o || !i)) {
|
|
2997
|
-
var f = Xy(a.padding, n), p = Lc(o), d = l === "y" ? me : ye, m = l === "y" ? Se : Le,
|
|
2997
|
+
var f = Xy(a.padding, n), p = Lc(o), d = l === "y" ? me : ye, m = l === "y" ? Se : Le, h = n.rects.reference[c] + n.rects.reference[l] - i[l] - n.rects.popper[c], C = i[l] - n.rects.reference[l], O = wn(o), w = O ? l === "y" ? O.clientHeight || 0 : O.clientWidth || 0 : 0, T = h / 2 - C / 2, x = f[d], y = w - p[c] - f[m], L = w / 2 - p[c] / 2 + T, _ = rn(x, L, y), $ = l;
|
|
2998
2998
|
n.modifiersData[r] = (e = {}, e[$] = _, e.centerOffset = _ - L, e);
|
|
2999
2999
|
}
|
|
3000
3000
|
}
|
|
@@ -3028,14 +3028,14 @@ function a6(t, e) {
|
|
|
3028
3028
|
};
|
|
3029
3029
|
}
|
|
3030
3030
|
function u2(t) {
|
|
3031
|
-
var e, n = t.popper, r = t.popperRect, a = t.placement, o = t.variation, i = t.offsets, s = t.position, l = t.gpuAcceleration, u = t.adaptive, c = t.roundOffsets, f = t.isFixed, p = i.x, d = p === void 0 ? 0 : p, m = i.y,
|
|
3031
|
+
var e, n = t.popper, r = t.popperRect, a = t.placement, o = t.variation, i = t.offsets, s = t.position, l = t.gpuAcceleration, u = t.adaptive, c = t.roundOffsets, f = t.isFixed, p = i.x, d = p === void 0 ? 0 : p, m = i.y, h = m === void 0 ? 0 : m, C = typeof c == "function" ? c({
|
|
3032
3032
|
x: d,
|
|
3033
|
-
y:
|
|
3033
|
+
y: h
|
|
3034
3034
|
}) : {
|
|
3035
3035
|
x: d,
|
|
3036
|
-
y:
|
|
3036
|
+
y: h
|
|
3037
3037
|
};
|
|
3038
|
-
d = C.x,
|
|
3038
|
+
d = C.x, h = C.y;
|
|
3039
3039
|
var O = i.hasOwnProperty("x"), w = i.hasOwnProperty("y"), T = ye, x = me, y = window;
|
|
3040
3040
|
if (u) {
|
|
3041
3041
|
var L = wn(n), _ = "clientHeight", $ = "clientWidth";
|
|
@@ -3045,7 +3045,7 @@ function u2(t) {
|
|
|
3045
3045
|
// $FlowFixMe[prop-missing]
|
|
3046
3046
|
L[_]
|
|
3047
3047
|
);
|
|
3048
|
-
|
|
3048
|
+
h -= N - r.height, h *= l ? 1 : -1;
|
|
3049
3049
|
}
|
|
3050
3050
|
if (a === ye || (a === me || a === Se) && o === un) {
|
|
3051
3051
|
T = Le;
|
|
@@ -3060,16 +3060,16 @@ function u2(t) {
|
|
|
3060
3060
|
position: s
|
|
3061
3061
|
}, u && r6), Z = c === !0 ? a6({
|
|
3062
3062
|
x: d,
|
|
3063
|
-
y:
|
|
3063
|
+
y: h
|
|
3064
3064
|
}, we(n)) : {
|
|
3065
3065
|
x: d,
|
|
3066
|
-
y:
|
|
3066
|
+
y: h
|
|
3067
3067
|
};
|
|
3068
|
-
if (d = Z.x,
|
|
3068
|
+
if (d = Z.x, h = Z.y, l) {
|
|
3069
3069
|
var z;
|
|
3070
|
-
return Object.assign({}, E, (z = {}, z[x] = w ? "0" : "", z[T] = O ? "0" : "", z.transform = (y.devicePixelRatio || 1) <= 1 ? "translate(" + d + "px, " +
|
|
3070
|
+
return Object.assign({}, E, (z = {}, z[x] = w ? "0" : "", z[T] = O ? "0" : "", z.transform = (y.devicePixelRatio || 1) <= 1 ? "translate(" + d + "px, " + h + "px)" : "translate3d(" + d + "px, " + h + "px, 0)", z));
|
|
3071
3071
|
}
|
|
3072
|
-
return Object.assign({}, E, (e = {}, e[x] = w ?
|
|
3072
|
+
return Object.assign({}, E, (e = {}, e[x] = w ? h + "px" : "", e[T] = O ? d + "px" : "", e.transform = "", e));
|
|
3073
3073
|
}
|
|
3074
3074
|
function o6(t) {
|
|
3075
3075
|
var e = t.state, n = t.options, r = n.gpuAcceleration, a = r === void 0 ? !0 : r, o = n.adaptive, i = o === void 0 ? !0 : o, s = n.roundOffsets, l = s === void 0 ? !0 : s, u = {
|
|
@@ -3269,7 +3269,7 @@ function N9(t) {
|
|
|
3269
3269
|
}
|
|
3270
3270
|
function cn(t, e) {
|
|
3271
3271
|
e === void 0 && (e = {});
|
|
3272
|
-
var n = e, r = n.placement, a = r === void 0 ? t.placement : r, o = n.strategy, i = o === void 0 ? t.strategy : o, s = n.boundary, l = s === void 0 ? My : s, u = n.rootBoundary, c = u === void 0 ? _9 : u, f = n.elementContext, p = f === void 0 ? Yt : f, d = n.altBoundary, m = d === void 0 ? !1 : d,
|
|
3272
|
+
var n = e, r = n.placement, a = r === void 0 ? t.placement : r, o = n.strategy, i = o === void 0 ? t.strategy : o, s = n.boundary, l = s === void 0 ? My : s, u = n.rootBoundary, c = u === void 0 ? _9 : u, f = n.elementContext, p = f === void 0 ? Yt : f, d = n.altBoundary, m = d === void 0 ? !1 : d, h = n.padding, C = h === void 0 ? 0 : h, O = A9(typeof C != "number" ? C : P9(C, $n)), w = p === Yt ? Hy : Yt, T = t.rects.popper, x = t.elements[m ? w : p], y = g6(mt(x) ? x : x.contextElement || at(t.elements.popper), l, c, i), L = Pt(t.elements.reference), _ = N9({
|
|
3273
3273
|
reference: L,
|
|
3274
3274
|
element: T,
|
|
3275
3275
|
placement: a
|
|
@@ -3296,16 +3296,16 @@ function m6(t, e) {
|
|
|
3296
3296
|
return u.indexOf(m) >= 0;
|
|
3297
3297
|
});
|
|
3298
3298
|
p.length === 0 && (p = f);
|
|
3299
|
-
var d = p.reduce(function(m,
|
|
3300
|
-
return m[
|
|
3301
|
-
placement:
|
|
3299
|
+
var d = p.reduce(function(m, h) {
|
|
3300
|
+
return m[h] = cn(t, {
|
|
3301
|
+
placement: h,
|
|
3302
3302
|
boundary: a,
|
|
3303
3303
|
rootBoundary: o,
|
|
3304
3304
|
padding: i
|
|
3305
|
-
})[Ne(
|
|
3305
|
+
})[Ne(h)], m;
|
|
3306
3306
|
}, {});
|
|
3307
|
-
return Object.keys(d).sort(function(m,
|
|
3308
|
-
return d[m] - d[
|
|
3307
|
+
return Object.keys(d).sort(function(m, h) {
|
|
3308
|
+
return d[m] - d[h];
|
|
3309
3309
|
});
|
|
3310
3310
|
}
|
|
3311
3311
|
function y6(t) {
|
|
@@ -3317,14 +3317,14 @@ function y6(t) {
|
|
|
3317
3317
|
function v6(t) {
|
|
3318
3318
|
var e = t.state, n = t.options, r = t.name;
|
|
3319
3319
|
if (!e.modifiersData[r]._skip) {
|
|
3320
|
-
for (var a = n.mainAxis, o = a === void 0 ? !0 : a, i = n.altAxis, s = i === void 0 ? !0 : i, l = n.fallbackPlacements, u = n.padding, c = n.boundary, f = n.rootBoundary, p = n.altBoundary, d = n.flipVariations, m = d === void 0 ? !0 : d,
|
|
3320
|
+
for (var a = n.mainAxis, o = a === void 0 ? !0 : a, i = n.altAxis, s = i === void 0 ? !0 : i, l = n.fallbackPlacements, u = n.padding, c = n.boundary, f = n.rootBoundary, p = n.altBoundary, d = n.flipVariations, m = d === void 0 ? !0 : d, h = n.allowedAutoPlacements, C = e.options.placement, O = Ne(C), w = O === C, T = l || (w || !m ? [zn(C)] : y6(C)), x = [C].concat(T).reduce(function(j, V) {
|
|
3321
3321
|
return j.concat(Ne(V) === Ec ? m6(e, {
|
|
3322
3322
|
placement: V,
|
|
3323
3323
|
boundary: c,
|
|
3324
3324
|
rootBoundary: f,
|
|
3325
3325
|
padding: u,
|
|
3326
3326
|
flipVariations: m,
|
|
3327
|
-
allowedAutoPlacements:
|
|
3327
|
+
allowedAutoPlacements: h
|
|
3328
3328
|
}) : V);
|
|
3329
3329
|
}, []), y = e.rects.reference, L = e.rects.popper, _ = /* @__PURE__ */ new Map(), $ = !0, N = x[0], P = 0; P < x.length; P++) {
|
|
3330
3330
|
var E = x[P], Z = Ne(E), z = jt(E) === Tt, Q = [me, Se].indexOf(Z) >= 0, X = Q ? "width" : "height", K = cn(e, {
|
|
@@ -3455,14 +3455,14 @@ function E6(t) {
|
|
|
3455
3455
|
return t === "x" ? "y" : "x";
|
|
3456
3456
|
}
|
|
3457
3457
|
function S6(t) {
|
|
3458
|
-
var e = t.state, n = t.options, r = t.name, a = n.mainAxis, o = a === void 0 ? !0 : a, i = n.altAxis, s = i === void 0 ? !1 : i, l = n.boundary, u = n.rootBoundary, c = n.altBoundary, f = n.padding, p = n.tether, d = p === void 0 ? !0 : p, m = n.tetherOffset,
|
|
3458
|
+
var e = t.state, n = t.options, r = t.name, a = n.mainAxis, o = a === void 0 ? !0 : a, i = n.altAxis, s = i === void 0 ? !1 : i, l = n.boundary, u = n.rootBoundary, c = n.altBoundary, f = n.padding, p = n.tether, d = p === void 0 ? !0 : p, m = n.tetherOffset, h = m === void 0 ? 0 : m, C = cn(e, {
|
|
3459
3459
|
boundary: l,
|
|
3460
3460
|
rootBoundary: u,
|
|
3461
3461
|
padding: f,
|
|
3462
3462
|
altBoundary: c
|
|
3463
|
-
}), O = Ne(e.placement), w = jt(e.placement), T = !w, x = Tc(O), y = E6(x), L = e.modifiersData.popperOffsets, _ = e.rects.reference, $ = e.rects.popper, N = typeof
|
|
3463
|
+
}), O = Ne(e.placement), w = jt(e.placement), T = !w, x = Tc(O), y = E6(x), L = e.modifiersData.popperOffsets, _ = e.rects.reference, $ = e.rects.popper, N = typeof h == "function" ? h(Object.assign({}, e.rects, {
|
|
3464
3464
|
placement: e.placement
|
|
3465
|
-
})) :
|
|
3465
|
+
})) : h, P = typeof N == "number" ? {
|
|
3466
3466
|
mainAxis: N,
|
|
3467
3467
|
altAxis: N
|
|
3468
3468
|
} : Object.assign({
|
|
@@ -3603,8 +3603,8 @@ function R6(t) {
|
|
|
3603
3603
|
styles: {}
|
|
3604
3604
|
}, c = [], f = !1, p = {
|
|
3605
3605
|
state: u,
|
|
3606
|
-
setOptions: function(
|
|
3607
|
-
var C = typeof
|
|
3606
|
+
setOptions: function(h) {
|
|
3607
|
+
var C = typeof h == "function" ? h(u.options) : h;
|
|
3608
3608
|
m(), u.options = Object.assign({}, o, u.options, C), u.scrollParents = {
|
|
3609
3609
|
reference: mt(i) ? an(i) : i.contextElement ? an(i.contextElement) : [],
|
|
3610
3610
|
popper: an(s)
|
|
@@ -3621,7 +3621,7 @@ function R6(t) {
|
|
|
3621
3621
|
// prefer the async Popper#update method
|
|
3622
3622
|
forceUpdate: function() {
|
|
3623
3623
|
if (!f) {
|
|
3624
|
-
var
|
|
3624
|
+
var h = u.elements, C = h.reference, O = h.popper;
|
|
3625
3625
|
if (g2(C, O)) {
|
|
3626
3626
|
u.rects = {
|
|
3627
3627
|
reference: j6(C, wn(O), u.options.strategy === "fixed"),
|
|
@@ -3648,8 +3648,8 @@ function R6(t) {
|
|
|
3648
3648
|
// Async and optimistically optimized update – it will not be executed if
|
|
3649
3649
|
// not necessary (debounced to run at most once-per-tick)
|
|
3650
3650
|
update: H6(function() {
|
|
3651
|
-
return new Promise(function(
|
|
3652
|
-
p.forceUpdate(),
|
|
3651
|
+
return new Promise(function(h) {
|
|
3652
|
+
p.forceUpdate(), h(u);
|
|
3653
3653
|
});
|
|
3654
3654
|
}),
|
|
3655
3655
|
destroy: function() {
|
|
@@ -3658,12 +3658,12 @@ function R6(t) {
|
|
|
3658
3658
|
};
|
|
3659
3659
|
if (!g2(i, s))
|
|
3660
3660
|
return p;
|
|
3661
|
-
p.setOptions(l).then(function(
|
|
3662
|
-
!f && l.onFirstUpdate && l.onFirstUpdate(
|
|
3661
|
+
p.setOptions(l).then(function(h) {
|
|
3662
|
+
!f && l.onFirstUpdate && l.onFirstUpdate(h);
|
|
3663
3663
|
});
|
|
3664
3664
|
function d() {
|
|
3665
|
-
u.orderedModifiers.forEach(function(
|
|
3666
|
-
var C =
|
|
3665
|
+
u.orderedModifiers.forEach(function(h) {
|
|
3666
|
+
var C = h.name, O = h.options, w = O === void 0 ? {} : O, T = h.effect;
|
|
3667
3667
|
if (typeof T == "function") {
|
|
3668
3668
|
var x = T({
|
|
3669
3669
|
state: u,
|
|
@@ -3677,8 +3677,8 @@ function R6(t) {
|
|
|
3677
3677
|
});
|
|
3678
3678
|
}
|
|
3679
3679
|
function m() {
|
|
3680
|
-
c.forEach(function(
|
|
3681
|
-
return
|
|
3680
|
+
c.forEach(function(h) {
|
|
3681
|
+
return h();
|
|
3682
3682
|
}), c = [];
|
|
3683
3683
|
}
|
|
3684
3684
|
return p;
|
|
@@ -3693,61 +3693,61 @@ const I6 = {
|
|
|
3693
3693
|
*
|
|
3694
3694
|
* Defaults to **null**.
|
|
3695
3695
|
*/
|
|
3696
|
-
ariaHidden:
|
|
3696
|
+
ariaHidden: g.bool,
|
|
3697
3697
|
/**
|
|
3698
3698
|
* Accessibility label for assistive technologies.
|
|
3699
3699
|
*
|
|
3700
3700
|
* Defaults to **null**.
|
|
3701
3701
|
*/
|
|
3702
|
-
ariaLabel:
|
|
3702
|
+
ariaLabel: g.string,
|
|
3703
3703
|
/**
|
|
3704
3704
|
* Id of the component being labeled for assistive technologies.
|
|
3705
3705
|
*
|
|
3706
3706
|
* Defaults to **null**.
|
|
3707
3707
|
*/
|
|
3708
|
-
ariaLabelledBy:
|
|
3708
|
+
ariaLabelledBy: g.string,
|
|
3709
3709
|
/**
|
|
3710
3710
|
* The custom icon notification badge to be rendered. The icon notification badge component prevents `xsmall` and `small` icon size
|
|
3711
3711
|
*
|
|
3712
3712
|
* Defaults to **undefined**.
|
|
3713
3713
|
*/
|
|
3714
|
-
badge:
|
|
3714
|
+
badge: g.node,
|
|
3715
3715
|
/**
|
|
3716
3716
|
* The placement of the notification badge on the icon to start. It will flip to the opposite side if there is no room.
|
|
3717
3717
|
*
|
|
3718
3718
|
* Defaults to **'right-start'**.
|
|
3719
3719
|
*/
|
|
3720
|
-
badgePlacement:
|
|
3720
|
+
badgePlacement: g.oneOf(["right-start", "left-start"]),
|
|
3721
3721
|
/**
|
|
3722
3722
|
* The css class name to be passed through to the component markup.
|
|
3723
3723
|
*
|
|
3724
3724
|
* Defaults to **undefined**.
|
|
3725
3725
|
*/
|
|
3726
|
-
className:
|
|
3726
|
+
className: g.string,
|
|
3727
3727
|
/**
|
|
3728
3728
|
* Mostly commonly a string but accepts any valid markup or components. If a custom icon is used styles like color and size will need be handled with custom CSS.
|
|
3729
3729
|
*
|
|
3730
3730
|
* Defaults to **null**.
|
|
3731
3731
|
*/
|
|
3732
|
-
icon:
|
|
3732
|
+
icon: g.oneOfType([g.string, g.node]),
|
|
3733
3733
|
/**
|
|
3734
3734
|
* One of 'xsmall', 'small', 'medium', 'large', and 'xlarge' will change the size of the icon. Defaults to medium.
|
|
3735
3735
|
*
|
|
3736
3736
|
* Defaults to **'medium'**.
|
|
3737
3737
|
*/
|
|
3738
|
-
iconSize:
|
|
3738
|
+
iconSize: g.oneOf(["xsmall", "small", "medium", "large", "xlarge"]),
|
|
3739
3739
|
/**
|
|
3740
3740
|
* The icon type to be rendered. Not all icons have every type. To see which icons are available for different types see [Material Icons docs](https://material.io/tools/icons)
|
|
3741
3741
|
*
|
|
3742
3742
|
* Defaults to **'filled'**.
|
|
3743
3743
|
*/
|
|
3744
|
-
iconType:
|
|
3744
|
+
iconType: g.oneOf(["filled", "outlined", "rounded", "two-tone", "sharp"]),
|
|
3745
3745
|
/**
|
|
3746
3746
|
* Add pointer icon style
|
|
3747
3747
|
*
|
|
3748
3748
|
* Defaults to **false**.
|
|
3749
3749
|
*/
|
|
3750
|
-
pointer:
|
|
3750
|
+
pointer: g.bool,
|
|
3751
3751
|
/**
|
|
3752
3752
|
* @deprecated _Renamed, see iconSize instead._
|
|
3753
3753
|
*
|
|
@@ -3755,13 +3755,13 @@ const I6 = {
|
|
|
3755
3755
|
*
|
|
3756
3756
|
* Defaults to **undefined**.
|
|
3757
3757
|
*/
|
|
3758
|
-
size: fe(
|
|
3758
|
+
size: fe(g.oneOf(["xsmall", "small", "medium", "large", "xlarge"]), "Icon", "Renamed, see iconSize instead."),
|
|
3759
3759
|
/**
|
|
3760
3760
|
* Color variations. Variants prefixed with `filled-` will add a background color to the icon according to the theme. Variants prefixed with ` color-` will change the color of the icon according to the theme.
|
|
3761
3761
|
*
|
|
3762
3762
|
* Defaults to **empty string**.
|
|
3763
3763
|
*/
|
|
3764
|
-
variant: Ce(
|
|
3764
|
+
variant: Ce(g.oneOf(["", "filled-danger-alt", "filled-danger", "filled-primary", "filled-secondary", "color-primary", "color-secondary", "color-on-dark", "color-on-unknown-black", "secondary-on-surface", "blue", "gray", "green", "orange", "purple", "red", "teal", "yellow"]), ["primary-alt", "secondary-alt", "primary", "danger-alt", "danger", "muted"], "Icon", "Please use one of '','filled-danger-alt','filled-danger','filled-primary','filled-secondary','color-primary','color-secondary','color-on-dark','color-on-unknown-black','secondary-on-surface','blue','gray','green','orange','purple','red','teal','yellow'.")
|
|
3765
3765
|
}, Z6 = {
|
|
3766
3766
|
ariaHidden: null,
|
|
3767
3767
|
ariaLabel: null,
|
|
@@ -3790,9 +3790,9 @@ const I6 = {
|
|
|
3790
3790
|
iconSize: p,
|
|
3791
3791
|
variant: d,
|
|
3792
3792
|
...m
|
|
3793
|
-
} = t,
|
|
3793
|
+
} = t, h = re(), C = re(), O = re();
|
|
3794
3794
|
let w = f || p;
|
|
3795
|
-
o && (w === "xsmall" || w === "small") && (w = "medium"), oe(e, () =>
|
|
3795
|
+
o && (w === "xsmall" || w === "small") && (w = "medium"), oe(e, () => h.current, []), Py(() => {
|
|
3796
3796
|
if (o) {
|
|
3797
3797
|
let x;
|
|
3798
3798
|
o.props.counter != null ? x = [{
|
|
@@ -3820,7 +3820,7 @@ const I6 = {
|
|
|
3820
3820
|
options: {
|
|
3821
3821
|
offset: [0, -10]
|
|
3822
3822
|
}
|
|
3823
|
-
}], O.current = B6(
|
|
3823
|
+
}], O.current = B6(h.current, C.current, {
|
|
3824
3824
|
placement: i,
|
|
3825
3825
|
modifiers: x
|
|
3826
3826
|
});
|
|
@@ -3837,7 +3837,7 @@ const I6 = {
|
|
|
3837
3837
|
"aria-labelledby": a,
|
|
3838
3838
|
"aria-hidden": r || a ? n : !1
|
|
3839
3839
|
}, m, {
|
|
3840
|
-
ref:
|
|
3840
|
+
ref: h
|
|
3841
3841
|
}), l, nn(o, {
|
|
3842
3842
|
ref: C
|
|
3843
3843
|
}));
|
|
@@ -4020,7 +4020,7 @@ const F6 = (t, e, n, r) => {
|
|
|
4020
4020
|
} = c;
|
|
4021
4021
|
let d = l || ((r = u.options) == null ? void 0 : r.defaultNS);
|
|
4022
4022
|
d = pt(d) ? [d] : d || ["translation"], (o = (a = u.reportNamespaces).addUsedNamespaces) == null || o.call(a, d);
|
|
4023
|
-
const m = (u.isInitialized || u.initializedStoreOnce) && d.every(($) => z6($, u, c)),
|
|
4023
|
+
const m = (u.isInitialized || u.initializedStoreOnce) && d.every(($) => z6($, u, c)), h = q6(u, e.lng || null, c.nsMode === "fallback" ? d : d[0], p), C = () => h, O = () => H9(u, e.lng || null, c.nsMode === "fallback" ? d : d[0], p), [w, T] = gt(C);
|
|
4024
4024
|
let x = d.join();
|
|
4025
4025
|
e.lng && (x = `${e.lng}${x}`);
|
|
4026
4026
|
const y = W6(x), L = re(!0);
|
|
@@ -4947,13 +4947,13 @@ let S2 = class B9 extends yr {
|
|
|
4947
4947
|
}
|
|
4948
4948
|
const f = this.resolve(e, n);
|
|
4949
4949
|
let p = f?.res;
|
|
4950
|
-
const d = f?.usedKey || i, m = f?.exactUsedKey || i,
|
|
4950
|
+
const d = f?.usedKey || i, m = f?.exactUsedKey || i, h = ["[object Number]", "[object Function]", "[object RegExp]"], C = n.joinArrays !== void 0 ? n.joinArrays : this.options.joinArrays, O = !this.i18nFormat || this.i18nFormat.handleAsObject, w = n.count !== void 0 && !ee(n.count), T = B9.hasDefaultValue(n), x = w ? this.pluralResolver.getSuffix(u, n.count, n) : "", y = n.ordinal && w ? this.pluralResolver.getSuffix(u, n.count, {
|
|
4951
4951
|
ordinal: !1
|
|
4952
4952
|
}) : "", L = w && !n.ordinal && n.count === 0, _ = L && n[`defaultValue${this.options.pluralSeparator}zero`] || n[`defaultValue${x}`] || n[`defaultValue${y}`] || n.defaultValue;
|
|
4953
4953
|
let $ = p;
|
|
4954
4954
|
O && !p && T && ($ = _);
|
|
4955
4955
|
const N = E2($), P = Object.prototype.toString.apply($);
|
|
4956
|
-
if (O && $ && N &&
|
|
4956
|
+
if (O && $ && N && h.indexOf(P) < 0 && !(ee(C) && Array.isArray($))) {
|
|
4957
4957
|
if (!n.returnObjects && !this.options.returnObjects) {
|
|
4958
4958
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
4959
4959
|
const E = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(d, $, {
|
|
@@ -5044,13 +5044,13 @@ let S2 = class B9 extends yr {
|
|
|
5044
5044
|
...this.options.interpolation.defaultVariables,
|
|
5045
5045
|
...d
|
|
5046
5046
|
}), e = this.interpolator.interpolate(e, d, r.lng || this.language || a.usedLng, r), f) {
|
|
5047
|
-
const m = e.match(this.interpolator.nestingRegexp),
|
|
5048
|
-
p <
|
|
5047
|
+
const m = e.match(this.interpolator.nestingRegexp), h = m && m.length;
|
|
5048
|
+
p < h && (r.nest = !1);
|
|
5049
5049
|
}
|
|
5050
5050
|
!r.lng && a && a.res && (r.lng = this.language || a.usedLng), r.nest !== !1 && (e = this.interpolator.nest(e, function() {
|
|
5051
|
-
for (var m = arguments.length,
|
|
5052
|
-
|
|
5053
|
-
return o?.[0] ===
|
|
5051
|
+
for (var m = arguments.length, h = new Array(m), C = 0; C < m; C++)
|
|
5052
|
+
h[C] = arguments[C];
|
|
5053
|
+
return o?.[0] === h[0] && !r.context ? (l.logger.warn(`It seems you are nesting recursively key: ${h[0]} in key: ${n[0]}`), null) : l.translate(...h, n);
|
|
5054
5054
|
}, r)), r.interpolation && this.interpolator.reset();
|
|
5055
5055
|
}
|
|
5056
5056
|
const u = r.postProcess || this.options.postProcess, c = ee(u) ? [u] : u;
|
|
@@ -5070,10 +5070,10 @@ let S2 = class B9 extends yr {
|
|
|
5070
5070
|
a = c;
|
|
5071
5071
|
let f = u.namespaces;
|
|
5072
5072
|
this.options.fallbackNS && (f = f.concat(this.options.fallbackNS));
|
|
5073
|
-
const p = n.count !== void 0 && !ee(n.count), d = p && !n.ordinal && n.count === 0, m = n.context !== void 0 && (ee(n.context) || typeof n.context == "number") && n.context !== "",
|
|
5073
|
+
const p = n.count !== void 0 && !ee(n.count), d = p && !n.ordinal && n.count === 0, m = n.context !== void 0 && (ee(n.context) || typeof n.context == "number") && n.context !== "", h = n.lngs ? n.lngs : this.languageUtils.toResolveHierarchy(n.lng || this.language, n.fallbackLng);
|
|
5074
5074
|
f.forEach((C) => {
|
|
5075
5075
|
var O, w;
|
|
5076
|
-
this.isValidLookup(r) || (s = C, !_2[`${
|
|
5076
|
+
this.isValidLookup(r) || (s = C, !_2[`${h[0]}-${C}`] && (O = this.utils) != null && O.hasLoadedNamespace && !((w = this.utils) != null && w.hasLoadedNamespace(s)) && (_2[`${h[0]}-${C}`] = !0, this.logger.warn(`key "${a}" for languages "${h.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), h.forEach((T) => {
|
|
5077
5077
|
var x;
|
|
5078
5078
|
if (this.isValidLookup(r)) return;
|
|
5079
5079
|
i = T;
|
|
@@ -5287,12 +5287,12 @@ let A7 = class {
|
|
|
5287
5287
|
nestingPrefix: p,
|
|
5288
5288
|
nestingPrefixEscaped: d,
|
|
5289
5289
|
nestingSuffix: m,
|
|
5290
|
-
nestingSuffixEscaped:
|
|
5290
|
+
nestingSuffixEscaped: h,
|
|
5291
5291
|
nestingOptionsSeparator: C,
|
|
5292
5292
|
maxReplaces: O,
|
|
5293
5293
|
alwaysFormat: w
|
|
5294
5294
|
} = e.interpolation;
|
|
5295
|
-
this.escape = n !== void 0 ? n : w7, this.escapeValue = r !== void 0 ? r : !0, this.useRawValueToEscape = a !== void 0 ? a : !1, this.prefix = o ? Ot(o) : i || "{{", this.suffix = s ? Ot(s) : l || "}}", this.formatSeparator = u || ",", this.unescapePrefix = c ? "" : f || "-", this.unescapeSuffix = this.unescapePrefix ? "" : c || "", this.nestingPrefix = p ? Ot(p) : d || Ot("$t("), this.nestingSuffix = m ? Ot(m) :
|
|
5295
|
+
this.escape = n !== void 0 ? n : w7, this.escapeValue = r !== void 0 ? r : !0, this.useRawValueToEscape = a !== void 0 ? a : !1, this.prefix = o ? Ot(o) : i || "{{", this.suffix = s ? Ot(s) : l || "}}", this.formatSeparator = u || ",", this.unescapePrefix = c ? "" : f || "-", this.unescapeSuffix = this.unescapePrefix ? "" : c || "", this.nestingPrefix = p ? Ot(p) : d || Ot("$t("), this.nestingSuffix = m ? Ot(m) : h || Ot(")"), this.nestingOptionsSeparator = C || ",", this.maxReplaces = O || 1e3, this.alwaysFormat = w !== void 0 ? w : !1, this.resetRegExp();
|
|
5296
5296
|
}
|
|
5297
5297
|
reset() {
|
|
5298
5298
|
this.options && this.init(this.options);
|
|
@@ -5313,11 +5313,11 @@ let A7 = class {
|
|
|
5313
5313
|
interpolationkey: d
|
|
5314
5314
|
}) : O;
|
|
5315
5315
|
}
|
|
5316
|
-
const m = d.split(this.formatSeparator),
|
|
5317
|
-
return this.format(P2(n, u,
|
|
5316
|
+
const m = d.split(this.formatSeparator), h = m.shift().trim(), C = m.join(this.formatSeparator).trim();
|
|
5317
|
+
return this.format(P2(n, u, h, this.options.keySeparator, this.options.ignoreJSONStructure), C, r, {
|
|
5318
5318
|
...a,
|
|
5319
5319
|
...n,
|
|
5320
|
-
interpolationkey:
|
|
5320
|
+
interpolationkey: h
|
|
5321
5321
|
});
|
|
5322
5322
|
};
|
|
5323
5323
|
this.resetRegExp();
|
|
@@ -5343,8 +5343,8 @@ let A7 = class {
|
|
|
5343
5343
|
} else
|
|
5344
5344
|
this.logger.warn(`missed to pass in variable ${m} for interpolating ${e}`), s = "";
|
|
5345
5345
|
else !ee(s) && !this.useRawValueToEscape && (s = x2(s));
|
|
5346
|
-
const
|
|
5347
|
-
if (e = e.replace(i[0],
|
|
5346
|
+
const h = d.safeValue(s);
|
|
5347
|
+
if (e = e.replace(i[0], h), p ? (d.regex.lastIndex += s.length, d.regex.lastIndex -= i[0].length) : d.regex.lastIndex = 0, l++, l >= this.maxReplaces)
|
|
5348
5348
|
break;
|
|
5349
5349
|
}
|
|
5350
5350
|
}), e;
|
|
@@ -5364,8 +5364,8 @@ let A7 = class {
|
|
|
5364
5364
|
...u,
|
|
5365
5365
|
...i
|
|
5366
5366
|
});
|
|
5367
|
-
} catch (
|
|
5368
|
-
return this.logger.warn(`failed parsing options string in nesting for key ${l}`,
|
|
5367
|
+
} catch (h) {
|
|
5368
|
+
return this.logger.warn(`failed parsing options string in nesting for key ${l}`, h), `${l}${c}${p}`;
|
|
5369
5369
|
}
|
|
5370
5370
|
return i.defaultValue && i.defaultValue.indexOf(this.prefix) > -1 && delete i.defaultValue, l;
|
|
5371
5371
|
};
|
|
@@ -5628,10 +5628,10 @@ let M7 = class extends yr {
|
|
|
5628
5628
|
}, m = this.backend.create.bind(this.backend);
|
|
5629
5629
|
if (m.length < 6)
|
|
5630
5630
|
try {
|
|
5631
|
-
let
|
|
5632
|
-
m.length === 5 ?
|
|
5633
|
-
} catch (
|
|
5634
|
-
p(
|
|
5631
|
+
let h;
|
|
5632
|
+
m.length === 5 ? h = m(e, n, r, a, d) : h = m(e, n, r, a), h && typeof h.then == "function" ? h.then((C) => p(null, C)).catch(p) : p(null, h);
|
|
5633
|
+
} catch (h) {
|
|
5634
|
+
p(h);
|
|
5635
5635
|
}
|
|
5636
5636
|
else
|
|
5637
5637
|
m(e, n, r, a, p, d);
|
|
@@ -6286,25 +6286,25 @@ const W9 = ({ children: t }) => /* @__PURE__ */ F(G7, { i18n: U9, children: t })
|
|
|
6286
6286
|
*
|
|
6287
6287
|
* Defaults to **null**.
|
|
6288
6288
|
*/
|
|
6289
|
-
children:
|
|
6289
|
+
children: g.node,
|
|
6290
6290
|
/**
|
|
6291
6291
|
* The grouping direction.
|
|
6292
6292
|
*
|
|
6293
6293
|
* Defaults to **'horizontal'**.
|
|
6294
6294
|
*/
|
|
6295
|
-
direction:
|
|
6295
|
+
direction: g.oneOf(["horizontal", "vertical", "horizontal-reverse", "vertical-reverse"]),
|
|
6296
6296
|
/**
|
|
6297
6297
|
* Sets the Group width to be 100%.
|
|
6298
6298
|
*
|
|
6299
6299
|
* Defaults to **false**.
|
|
6300
6300
|
*/
|
|
6301
|
-
fullWidth:
|
|
6301
|
+
fullWidth: g.bool,
|
|
6302
6302
|
/**
|
|
6303
6303
|
* How much spacing between items. Dense is 8p, standard is 16px and airy is 24px.
|
|
6304
6304
|
*
|
|
6305
6305
|
* Defaults to **'standard'**.
|
|
6306
6306
|
*/
|
|
6307
|
-
gap:
|
|
6307
|
+
gap: g.oneOf(["dense", "standard", "airy", "none"]),
|
|
6308
6308
|
/**
|
|
6309
6309
|
* @deprecated _Renamed for improved clarity. See `gap`._
|
|
6310
6310
|
*
|
|
@@ -6312,19 +6312,19 @@ const W9 = ({ children: t }) => /* @__PURE__ */ F(G7, { i18n: U9, children: t })
|
|
|
6312
6312
|
*
|
|
6313
6313
|
* Defaults to **undefined**.
|
|
6314
6314
|
*/
|
|
6315
|
-
padding: fe(
|
|
6315
|
+
padding: fe(g.oneOf(["dense", "standard", "airy", "none"]), "Group", "Renamed for improved clarity. See `gap`."),
|
|
6316
6316
|
/**
|
|
6317
6317
|
* Alignment along the primary axis. 'For `horizontal` grouping this means the x-axis positioning, for `vertical`, this means the y-axis positioning.Equivalent to flexbox 'justify-content.
|
|
6318
6318
|
*
|
|
6319
6319
|
* Defaults to **'start'**.
|
|
6320
6320
|
*/
|
|
6321
|
-
primaryAlign:
|
|
6321
|
+
primaryAlign: g.oneOf(["start", "end", "center", "space-evenly", "space-between", "space-around"]),
|
|
6322
6322
|
/**
|
|
6323
6323
|
* Alignment along the secondary axis. For horizontal grouping this means the y-axis positioning, for vertical, this means the x-axis positioning.Equivalent to flexbox 'align-items.
|
|
6324
6324
|
*
|
|
6325
6325
|
* Defaults to **'baseline'**.
|
|
6326
6326
|
*/
|
|
6327
|
-
secondaryAlign:
|
|
6327
|
+
secondaryAlign: g.oneOf(["start", "end", "center", "stretch", "baseline"])
|
|
6328
6328
|
}, Y7 = {
|
|
6329
6329
|
children: null,
|
|
6330
6330
|
direction: "horizontal",
|
|
@@ -6462,37 +6462,37 @@ const l8 = {
|
|
|
6462
6462
|
*
|
|
6463
6463
|
* Defaults to **false**.
|
|
6464
6464
|
*/
|
|
6465
|
-
bold:
|
|
6465
|
+
bold: g.bool,
|
|
6466
6466
|
/**
|
|
6467
6467
|
* Expects a string, accepts any valid markup.
|
|
6468
6468
|
*
|
|
6469
6469
|
* Defaults to **null**.
|
|
6470
6470
|
*/
|
|
6471
|
-
children:
|
|
6471
|
+
children: g.node,
|
|
6472
6472
|
/**
|
|
6473
6473
|
* The css class name to be passed through to the component markup.
|
|
6474
6474
|
*
|
|
6475
6475
|
* Defaults to **undefined**.
|
|
6476
6476
|
*/
|
|
6477
|
-
className:
|
|
6477
|
+
className: g.string,
|
|
6478
6478
|
/**
|
|
6479
6479
|
* The DOM element to display the typography.
|
|
6480
6480
|
*
|
|
6481
6481
|
* Defaults to **'span'**.
|
|
6482
6482
|
*/
|
|
6483
|
-
tag:
|
|
6483
|
+
tag: g.oneOfType([g.string, g.elementType, g.instanceOf(S.Component)]),
|
|
6484
6484
|
/**
|
|
6485
6485
|
* Sets theme color for the typography. Does not apply to Link.
|
|
6486
6486
|
*
|
|
6487
6487
|
* Defaults to **undefined**.
|
|
6488
6488
|
*/
|
|
6489
|
-
themeColor: Ce(
|
|
6489
|
+
themeColor: Ce(g.oneOf(["primary", "secondary", "error", "text-primary-on-background", "text-secondary-on-background", "text-hint-on-background", "text-disabled-on-background", "text-icon-on-background", "text-primary-on-light", "text-secondary-on-light", "text-hint-on-light", "text-disabled-on-light", "text-icon-on-light"]), ["textPrimaryOnBackground", "textSecondaryOnBackground", "textHintOnBackground", "textDisabledOnBackground", "textIconOnBackground", "textPrimaryOnLight", "textSecondaryOnLight", "textHintOnLight", "textDisabledOnLight", "textIconOnLight"], "Typography", "Please use one of 'primary','secondary','error','text-primary-on-background','text-secondary-on-background','text-hint-on-background','text-disabled-on-background','text-icon-on-background','text-primary-on-light','text-secondary-on-light','text-hint-on-light','text-disabled-on-light','text-icon-on-light'."),
|
|
6490
6490
|
/**
|
|
6491
6491
|
* Sets typography class for the element.
|
|
6492
6492
|
*
|
|
6493
6493
|
* Defaults to **'body1'**.
|
|
6494
6494
|
*/
|
|
6495
|
-
type: Ce(
|
|
6495
|
+
type: Ce(g.oneOf(["body1", "body1-bold", "body2", "body2-bold", "button", "caption", "caption-bold", "display1", "display2", "display3", "display4", "display5", "display6", "link", "overline", "subtitle1", "subtitle1-bold", "subtitle2", "subtitle2-bold"]), ["headline1", "headline2", "headline3", "headline4", "headline5", "headline6"], "Typography", "Please use one of 'body1','body1-bold','body2','body2-bold','button','caption','caption-bold','display1','display2','display3','display4','display5','display6','link','overline','subtitle1','subtitle1-bold','subtitle2','subtitle2-bold'.")
|
|
6496
6496
|
}, u8 = {
|
|
6497
6497
|
bold: !1,
|
|
6498
6498
|
children: null,
|
|
@@ -6506,37 +6506,37 @@ const l8 = {
|
|
|
6506
6506
|
*
|
|
6507
6507
|
* Defaults to **false**.
|
|
6508
6508
|
*/
|
|
6509
|
-
bold:
|
|
6509
|
+
bold: g.bool,
|
|
6510
6510
|
/**
|
|
6511
6511
|
* Expects a string, accepts any valid markup.
|
|
6512
6512
|
*
|
|
6513
6513
|
* Defaults to **null**.
|
|
6514
6514
|
*/
|
|
6515
|
-
children:
|
|
6515
|
+
children: g.node,
|
|
6516
6516
|
/**
|
|
6517
6517
|
* The css class name to be passed through to the component markup.
|
|
6518
6518
|
*
|
|
6519
6519
|
* Defaults to **undefined**.
|
|
6520
6520
|
*/
|
|
6521
|
-
className:
|
|
6521
|
+
className: g.string,
|
|
6522
6522
|
/**
|
|
6523
6523
|
* Sets font properties for body. Acceptable values range from 1 - 2. Higher levels produce smaller type.
|
|
6524
6524
|
*
|
|
6525
6525
|
* Defaults to **1**.
|
|
6526
6526
|
*/
|
|
6527
|
-
level:
|
|
6527
|
+
level: g.oneOf([1, 2]),
|
|
6528
6528
|
/**
|
|
6529
6529
|
* The DOM element to display the typography.
|
|
6530
6530
|
*
|
|
6531
6531
|
* Defaults to **'span'**.
|
|
6532
6532
|
*/
|
|
6533
|
-
tag:
|
|
6533
|
+
tag: g.oneOfType([g.string, g.elementType, g.instanceOf(S.Component)]),
|
|
6534
6534
|
/**
|
|
6535
6535
|
* Sets theme color for the typography.
|
|
6536
6536
|
*
|
|
6537
6537
|
* Defaults to **undefined**.
|
|
6538
6538
|
*/
|
|
6539
|
-
themeColor: Ce(
|
|
6539
|
+
themeColor: Ce(g.oneOf(["primary", "secondary", "error", "text-primary-on-background", "text-secondary-on-background", "text-hint-on-background", "text-disabled-on-background", "text-icon-on-background", "text-primary-on-light", "text-secondary-on-light", "text-hint-on-light", "text-disabled-on-light", "text-icon-on-light"]), ["textPrimaryOnBackground", "textSecondaryOnBackground", "textHintOnBackground", "textDisabledOnBackground", "textIconOnBackground", "textPrimaryOnLight", "textSecondaryOnLight", "textHintOnLight", "textDisabledOnLight", "textIconOnLight"], "TypoBody", "Please use one of 'primary','secondary','error','text-primary-on-background','text-secondary-on-background','text-hint-on-background','text-disabled-on-background','text-icon-on-background','text-primary-on-light','text-secondary-on-light','text-hint-on-light','text-disabled-on-light','text-icon-on-light'.")
|
|
6540
6540
|
}, d8 = {
|
|
6541
6541
|
bold: !1,
|
|
6542
6542
|
children: null,
|
|
@@ -6550,25 +6550,25 @@ const l8 = {
|
|
|
6550
6550
|
*
|
|
6551
6551
|
* Defaults to **null**.
|
|
6552
6552
|
*/
|
|
6553
|
-
children:
|
|
6553
|
+
children: g.node,
|
|
6554
6554
|
/**
|
|
6555
6555
|
* The css class name to be passed through to the component markup.
|
|
6556
6556
|
*
|
|
6557
6557
|
* Defaults to **undefined**.
|
|
6558
6558
|
*/
|
|
6559
|
-
className:
|
|
6559
|
+
className: g.string,
|
|
6560
6560
|
/**
|
|
6561
6561
|
* The DOM element to display the typography.
|
|
6562
6562
|
*
|
|
6563
6563
|
* Defaults to **'span'**.
|
|
6564
6564
|
*/
|
|
6565
|
-
tag:
|
|
6565
|
+
tag: g.oneOfType([g.string, g.elementType, g.instanceOf(S.Component)]),
|
|
6566
6566
|
/**
|
|
6567
6567
|
* Sets theme color for the typography.
|
|
6568
6568
|
*
|
|
6569
6569
|
* Defaults to **undefined**.
|
|
6570
6570
|
*/
|
|
6571
|
-
themeColor: Ce(
|
|
6571
|
+
themeColor: Ce(g.oneOf(["primary", "secondary", "error", "text-primary-on-background", "text-secondary-on-background", "text-hint-on-background", "text-disabled-on-background", "text-icon-on-background", "text-primary-on-light", "text-secondary-on-light", "text-hint-on-light", "text-disabled-on-light", "text-icon-on-light"]), ["textPrimaryOnBackground", "textSecondaryOnBackground", "textHintOnBackground", "textDisabledOnBackground", "textIconOnBackground", "textPrimaryOnLight", "textSecondaryOnLight", "textHintOnLight", "textDisabledOnLight", "textIconOnLight"], "TypoButton", "Please use one of 'primary','secondary','error','text-primary-on-background','text-secondary-on-background','text-hint-on-background','text-disabled-on-background','text-icon-on-background','text-primary-on-light','text-secondary-on-light','text-hint-on-light','text-disabled-on-light','text-icon-on-light'.")
|
|
6572
6572
|
}, p8 = {
|
|
6573
6573
|
children: null,
|
|
6574
6574
|
className: void 0,
|
|
@@ -6580,31 +6580,31 @@ const l8 = {
|
|
|
6580
6580
|
*
|
|
6581
6581
|
* Defaults to **false**.
|
|
6582
6582
|
*/
|
|
6583
|
-
bold:
|
|
6583
|
+
bold: g.bool,
|
|
6584
6584
|
/**
|
|
6585
6585
|
* Expects a string, accepts any valid markup.
|
|
6586
6586
|
*
|
|
6587
6587
|
* Defaults to **null**.
|
|
6588
6588
|
*/
|
|
6589
|
-
children:
|
|
6589
|
+
children: g.node,
|
|
6590
6590
|
/**
|
|
6591
6591
|
* The css class name to be passed through to the component markup.
|
|
6592
6592
|
*
|
|
6593
6593
|
* Defaults to **undefined**.
|
|
6594
6594
|
*/
|
|
6595
|
-
className:
|
|
6595
|
+
className: g.string,
|
|
6596
6596
|
/**
|
|
6597
6597
|
* The DOM element to display the typography.
|
|
6598
6598
|
*
|
|
6599
6599
|
* Defaults to **'span'**.
|
|
6600
6600
|
*/
|
|
6601
|
-
tag:
|
|
6601
|
+
tag: g.oneOfType([g.string, g.elementType, g.instanceOf(S.Component)]),
|
|
6602
6602
|
/**
|
|
6603
6603
|
* Sets theme color for the typography.
|
|
6604
6604
|
*
|
|
6605
6605
|
* Defaults to **undefined**.
|
|
6606
6606
|
*/
|
|
6607
|
-
themeColor: Ce(
|
|
6607
|
+
themeColor: Ce(g.oneOf(["primary", "secondary", "error", "text-primary-on-background", "text-secondary-on-background", "text-hint-on-background", "text-disabled-on-background", "text-icon-on-background", "text-primary-on-light", "text-secondary-on-light", "text-hint-on-light", "text-disabled-on-light", "text-icon-on-light"]), ["textPrimaryOnBackground", "textSecondaryOnBackground", "textHintOnBackground", "textDisabledOnBackground", "textIconOnBackground", "textPrimaryOnLight", "textSecondaryOnLight", "textHintOnLight", "textDisabledOnLight", "textIconOnLight"], "TypoCaption", "Please use one of 'primary','secondary','error','text-primary-on-background','text-secondary-on-background','text-hint-on-background','text-disabled-on-background','text-icon-on-background','text-primary-on-light','text-secondary-on-light','text-hint-on-light','text-disabled-on-light','text-icon-on-light'.")
|
|
6608
6608
|
}, g8 = {
|
|
6609
6609
|
bold: !1,
|
|
6610
6610
|
children: null,
|
|
@@ -6617,31 +6617,31 @@ const l8 = {
|
|
|
6617
6617
|
*
|
|
6618
6618
|
* Defaults to **null**.
|
|
6619
6619
|
*/
|
|
6620
|
-
children:
|
|
6620
|
+
children: g.node,
|
|
6621
6621
|
/**
|
|
6622
6622
|
* The css class name to be passed through to the component markup.
|
|
6623
6623
|
*
|
|
6624
6624
|
* Defaults to **undefined**.
|
|
6625
6625
|
*/
|
|
6626
|
-
className:
|
|
6626
|
+
className: g.string,
|
|
6627
6627
|
/**
|
|
6628
6628
|
* Sets font properties for body. Acceptable values range from 1 to 6. Higher levels produce smaller type.
|
|
6629
6629
|
*
|
|
6630
6630
|
* Defaults to **1**.
|
|
6631
6631
|
*/
|
|
6632
|
-
level:
|
|
6632
|
+
level: g.oneOfType([g.oneOf([1, 2, 3, 4, 5, 6, "1", "2", "3", "4", "5", "6"]), g.oneOf([1, 2, 3, 4, 5, 6, "1", "2", "3", "4", "5", "6"])]),
|
|
6633
6633
|
/**
|
|
6634
6634
|
* The DOM element to display the typography.
|
|
6635
6635
|
*
|
|
6636
6636
|
* Defaults to **'span'**.
|
|
6637
6637
|
*/
|
|
6638
|
-
tag:
|
|
6638
|
+
tag: g.oneOfType([g.string, g.elementType, g.instanceOf(S.Component)]),
|
|
6639
6639
|
/**
|
|
6640
6640
|
* Sets theme color for the typography.
|
|
6641
6641
|
*
|
|
6642
6642
|
* Defaults to **undefined**.
|
|
6643
6643
|
*/
|
|
6644
|
-
themeColor: Ce(
|
|
6644
|
+
themeColor: Ce(g.oneOf(["primary", "secondary", "error", "text-primary-on-background", "text-secondary-on-background", "text-hint-on-background", "text-disabled-on-background", "text-icon-on-background", "text-primary-on-light", "text-secondary-on-light", "text-hint-on-light", "text-disabled-on-light", "text-icon-on-light"]), ["textPrimaryOnBackground", "textSecondaryOnBackground", "textHintOnBackground", "textDisabledOnBackground", "textIconOnBackground", "textPrimaryOnLight", "textSecondaryOnLight", "textHintOnLight", "textDisabledOnLight", "textIconOnLight"], "TypoDisplay", "Please use one of 'primary','secondary','error','text-primary-on-background','text-secondary-on-background','text-hint-on-background','text-disabled-on-background','text-icon-on-background','text-primary-on-light','text-secondary-on-light','text-hint-on-light','text-disabled-on-light','text-icon-on-light'.")
|
|
6645
6645
|
}, y8 = {
|
|
6646
6646
|
children: null,
|
|
6647
6647
|
className: void 0,
|
|
@@ -6654,31 +6654,31 @@ const l8 = {
|
|
|
6654
6654
|
*
|
|
6655
6655
|
* Defaults to **null**.
|
|
6656
6656
|
*/
|
|
6657
|
-
children:
|
|
6657
|
+
children: g.node,
|
|
6658
6658
|
/**
|
|
6659
6659
|
* The css class name to be passed through to the component markup.
|
|
6660
6660
|
*
|
|
6661
6661
|
* Defaults to **undefined**.
|
|
6662
6662
|
*/
|
|
6663
|
-
className:
|
|
6663
|
+
className: g.string,
|
|
6664
6664
|
/**
|
|
6665
6665
|
* Sets font properties for body. Acceptable values range from 1 to 6. Higher levels produce smaller type.
|
|
6666
6666
|
*
|
|
6667
6667
|
* Defaults to **1**.
|
|
6668
6668
|
*/
|
|
6669
|
-
level:
|
|
6669
|
+
level: g.oneOfType([g.oneOf([1, 2, 3, 4, 5, 6, "1", "2", "3", "4", "5", "6"]), g.oneOf([1, 2, 3, 4, 5, 6, "1", "2", "3", "4", "5", "6"])]),
|
|
6670
6670
|
/**
|
|
6671
6671
|
* The DOM element to display the typography.
|
|
6672
6672
|
*
|
|
6673
6673
|
* Defaults to **'span'**.
|
|
6674
6674
|
*/
|
|
6675
|
-
tag:
|
|
6675
|
+
tag: g.oneOfType([g.string, g.elementType, g.instanceOf(S.Component)]),
|
|
6676
6676
|
/**
|
|
6677
6677
|
* Sets theme color for the typography.
|
|
6678
6678
|
*
|
|
6679
6679
|
* Defaults to **undefined**.
|
|
6680
6680
|
*/
|
|
6681
|
-
themeColor: Ce(
|
|
6681
|
+
themeColor: Ce(g.oneOf(["primary", "secondary", "error", "text-primary-on-background", "text-secondary-on-background", "text-hint-on-background", "text-disabled-on-background", "text-icon-on-background", "text-primary-on-light", "text-secondary-on-light", "text-hint-on-light", "text-disabled-on-light", "text-icon-on-light"]), ["textPrimaryOnBackground", "textSecondaryOnBackground", "textHintOnBackground", "textDisabledOnBackground", "textIconOnBackground", "textPrimaryOnLight", "textSecondaryOnLight", "textHintOnLight", "textDisabledOnLight", "textIconOnLight"], "TypoHeadline", "Please use one of 'primary','secondary','error','text-primary-on-background','text-secondary-on-background','text-hint-on-background','text-disabled-on-background','text-icon-on-background','text-primary-on-light','text-secondary-on-light','text-hint-on-light','text-disabled-on-light','text-icon-on-light'.")
|
|
6682
6682
|
}, b8 = {
|
|
6683
6683
|
children: null,
|
|
6684
6684
|
className: void 0,
|
|
@@ -6691,19 +6691,19 @@ const l8 = {
|
|
|
6691
6691
|
*
|
|
6692
6692
|
* Defaults to **null**.
|
|
6693
6693
|
*/
|
|
6694
|
-
children:
|
|
6694
|
+
children: g.node,
|
|
6695
6695
|
/**
|
|
6696
6696
|
* The css class name to be passed through to the component markup.
|
|
6697
6697
|
*
|
|
6698
6698
|
* Defaults to **undefined**.
|
|
6699
6699
|
*/
|
|
6700
|
-
className:
|
|
6700
|
+
className: g.string,
|
|
6701
6701
|
/**
|
|
6702
6702
|
* The DOM element to display the typography.
|
|
6703
6703
|
*
|
|
6704
6704
|
* Defaults to **'a'**.
|
|
6705
6705
|
*/
|
|
6706
|
-
tag:
|
|
6706
|
+
tag: g.oneOfType([g.string, g.elementType, g.instanceOf(S.Component)])
|
|
6707
6707
|
}, x8 = {
|
|
6708
6708
|
children: null,
|
|
6709
6709
|
className: void 0,
|
|
@@ -6714,25 +6714,25 @@ const l8 = {
|
|
|
6714
6714
|
*
|
|
6715
6715
|
* Defaults to **null**.
|
|
6716
6716
|
*/
|
|
6717
|
-
children:
|
|
6717
|
+
children: g.node,
|
|
6718
6718
|
/**
|
|
6719
6719
|
* The css class name to be passed through to the component markup.
|
|
6720
6720
|
*
|
|
6721
6721
|
* Defaults to **undefined**.
|
|
6722
6722
|
*/
|
|
6723
|
-
className:
|
|
6723
|
+
className: g.string,
|
|
6724
6724
|
/**
|
|
6725
6725
|
* The DOM element to display the typography.
|
|
6726
6726
|
*
|
|
6727
6727
|
* Defaults to **'span'**.
|
|
6728
6728
|
*/
|
|
6729
|
-
tag:
|
|
6729
|
+
tag: g.oneOfType([g.string, g.elementType, g.instanceOf(S.Component)]),
|
|
6730
6730
|
/**
|
|
6731
6731
|
* Sets theme color for the typography.
|
|
6732
6732
|
*
|
|
6733
6733
|
* Defaults to **undefined**.
|
|
6734
6734
|
*/
|
|
6735
|
-
themeColor: Ce(
|
|
6735
|
+
themeColor: Ce(g.oneOf(["primary", "secondary", "error", "text-primary-on-background", "text-secondary-on-background", "text-hint-on-background", "text-disabled-on-background", "text-icon-on-background", "text-primary-on-light", "text-secondary-on-light", "text-hint-on-light", "text-disabled-on-light", "text-icon-on-light"]), ["textPrimaryOnBackground", "textSecondaryOnBackground", "textHintOnBackground", "textDisabledOnBackground", "textIconOnBackground", "textPrimaryOnLight", "textSecondaryOnLight", "textHintOnLight", "textDisabledOnLight", "textIconOnLight"], "TypoOverline", "Please use one of 'primary','secondary','error','text-primary-on-background','text-secondary-on-background','text-hint-on-background','text-disabled-on-background','text-icon-on-background','text-primary-on-light','text-secondary-on-light','text-hint-on-light','text-disabled-on-light','text-icon-on-light'.")
|
|
6736
6736
|
}, w8 = {
|
|
6737
6737
|
children: null,
|
|
6738
6738
|
className: void 0,
|
|
@@ -6744,37 +6744,37 @@ const l8 = {
|
|
|
6744
6744
|
*
|
|
6745
6745
|
* Defaults to **false**.
|
|
6746
6746
|
*/
|
|
6747
|
-
bold:
|
|
6747
|
+
bold: g.bool,
|
|
6748
6748
|
/**
|
|
6749
6749
|
* Expects a string, accepts any valid markup.
|
|
6750
6750
|
*
|
|
6751
6751
|
* Defaults to **null**.
|
|
6752
6752
|
*/
|
|
6753
|
-
children:
|
|
6753
|
+
children: g.node,
|
|
6754
6754
|
/**
|
|
6755
6755
|
* The css class name to be passed through to the component markup.
|
|
6756
6756
|
*
|
|
6757
6757
|
* Defaults to **undefined**.
|
|
6758
6758
|
*/
|
|
6759
|
-
className:
|
|
6759
|
+
className: g.string,
|
|
6760
6760
|
/**
|
|
6761
6761
|
* Sets font properties for body.
|
|
6762
6762
|
*
|
|
6763
6763
|
* Defaults to **1**.
|
|
6764
6764
|
*/
|
|
6765
|
-
level:
|
|
6765
|
+
level: g.oneOf([1, 2]),
|
|
6766
6766
|
/**
|
|
6767
6767
|
* The DOM element to display the typography.
|
|
6768
6768
|
*
|
|
6769
6769
|
* Defaults to **'span'**.
|
|
6770
6770
|
*/
|
|
6771
|
-
tag:
|
|
6771
|
+
tag: g.oneOfType([g.string, g.elementType, g.instanceOf(S.Component)]),
|
|
6772
6772
|
/**
|
|
6773
6773
|
* Sets theme color for the typography.
|
|
6774
6774
|
*
|
|
6775
6775
|
* Defaults to **undefined**.
|
|
6776
6776
|
*/
|
|
6777
|
-
themeColor: Ce(
|
|
6777
|
+
themeColor: Ce(g.oneOf(["primary", "secondary", "error", "text-primary-on-background", "text-secondary-on-background", "text-hint-on-background", "text-disabled-on-background", "text-icon-on-background", "text-primary-on-light", "text-secondary-on-light", "text-hint-on-light", "text-disabled-on-light", "text-icon-on-light"]), ["textPrimaryOnBackground", "textSecondaryOnBackground", "textHintOnBackground", "textDisabledOnBackground", "textIconOnBackground", "textPrimaryOnLight", "textSecondaryOnLight", "textHintOnLight", "textDisabledOnLight", "textIconOnLight"], "TypoSubtitle", "Please use one of 'primary','secondary','error','text-primary-on-background','text-secondary-on-background','text-hint-on-background','text-disabled-on-background','text-icon-on-background','text-primary-on-light','text-secondary-on-light','text-hint-on-light','text-disabled-on-light','text-icon-on-light'.")
|
|
6778
6778
|
}, k8 = {
|
|
6779
6779
|
bold: !1,
|
|
6780
6780
|
children: null,
|
|
@@ -7149,7 +7149,7 @@ var es, W2;
|
|
|
7149
7149
|
function P8() {
|
|
7150
7150
|
if (W2) return es;
|
|
7151
7151
|
W2 = 1;
|
|
7152
|
-
var t = S8(), e = bc(), n = L8(), r = T8(), a = A8(), o = yn(), i = Jm(), s = "[object Map]", l = "[object Object]", u = "[object Promise]", c = "[object Set]", f = "[object WeakMap]", p = "[object DataView]", d = i(t), m = i(e),
|
|
7152
|
+
var t = S8(), e = bc(), n = L8(), r = T8(), a = A8(), o = yn(), i = Jm(), s = "[object Map]", l = "[object Object]", u = "[object Promise]", c = "[object Set]", f = "[object WeakMap]", p = "[object DataView]", d = i(t), m = i(e), h = i(n), C = i(r), O = i(a), w = o;
|
|
7153
7153
|
return (t && w(new t(new ArrayBuffer(1))) != p || e && w(new e()) != s || n && w(n.resolve()) != u || r && w(new r()) != c || a && w(new a()) != f) && (w = function(T) {
|
|
7154
7154
|
var x = o(T), y = x == l ? T.constructor : void 0, L = y ? i(y) : "";
|
|
7155
7155
|
if (L)
|
|
@@ -7158,7 +7158,7 @@ function P8() {
|
|
|
7158
7158
|
return p;
|
|
7159
7159
|
case m:
|
|
7160
7160
|
return s;
|
|
7161
|
-
case
|
|
7161
|
+
case h:
|
|
7162
7162
|
return u;
|
|
7163
7163
|
case C:
|
|
7164
7164
|
return c;
|
|
@@ -7174,31 +7174,31 @@ const j8 = {
|
|
|
7174
7174
|
*
|
|
7175
7175
|
* Defaults to **null**.
|
|
7176
7176
|
*/
|
|
7177
|
-
children:
|
|
7177
|
+
children: g.node.isRequired,
|
|
7178
7178
|
/**
|
|
7179
7179
|
* The css class name to be passed through to the component markup.
|
|
7180
7180
|
*
|
|
7181
7181
|
* Defaults to **undefined**.
|
|
7182
7182
|
*/
|
|
7183
|
-
className:
|
|
7183
|
+
className: g.string,
|
|
7184
7184
|
/**
|
|
7185
7185
|
* Adds a custom padding style to the child content. Must be a valid CSS padding declaration. i.e. 38px 30px
|
|
7186
7186
|
*
|
|
7187
7187
|
* Defaults to **null**.
|
|
7188
7188
|
*/
|
|
7189
|
-
customPadding:
|
|
7189
|
+
customPadding: g.string,
|
|
7190
7190
|
/**
|
|
7191
7191
|
* By default a div will be rendered, this allow another tag to be used instead. A block type component is suggested.
|
|
7192
7192
|
*
|
|
7193
7193
|
* Defaults to **'div'**.
|
|
7194
7194
|
*/
|
|
7195
|
-
tag:
|
|
7195
|
+
tag: g.oneOfType([g.string, g.elementType]),
|
|
7196
7196
|
/**
|
|
7197
7197
|
* Applies the specified padding amount. `dense` is 8px, `standard` is 16px, and `airy` is 24px. If `customPadding` is used, this will be ignored.
|
|
7198
7198
|
*
|
|
7199
7199
|
* Defaults to **'standard'**.
|
|
7200
7200
|
*/
|
|
7201
|
-
variant:
|
|
7201
|
+
variant: g.oneOf(["dense", "standard", "airy"])
|
|
7202
7202
|
}, N8 = {
|
|
7203
7203
|
children: null,
|
|
7204
7204
|
className: void 0,
|
|
@@ -7241,8 +7241,8 @@ function M8() {
|
|
|
7241
7241
|
return !d.size;
|
|
7242
7242
|
if (i(d))
|
|
7243
7243
|
return !t(d).length;
|
|
7244
|
-
for (var
|
|
7245
|
-
if (f.call(d,
|
|
7244
|
+
for (var h in d)
|
|
7245
|
+
if (f.call(d, h))
|
|
7246
7246
|
return !1;
|
|
7247
7247
|
return !0;
|
|
7248
7248
|
}
|
|
@@ -7506,31 +7506,31 @@ const Nv = {
|
|
|
7506
7506
|
*
|
|
7507
7507
|
* Defaults to **'Progress Indicator'**.
|
|
7508
7508
|
*/
|
|
7509
|
-
ariaLabel:
|
|
7509
|
+
ariaLabel: g.string,
|
|
7510
7510
|
/**
|
|
7511
7511
|
* The css class name to be passed through to the component markup.
|
|
7512
7512
|
*
|
|
7513
7513
|
* Defaults to **undefined**.
|
|
7514
7514
|
*/
|
|
7515
|
-
className:
|
|
7515
|
+
className: g.string,
|
|
7516
7516
|
/**
|
|
7517
7517
|
* The size of the progress indicator.
|
|
7518
7518
|
*
|
|
7519
7519
|
* Defaults to **'lg'**.
|
|
7520
7520
|
*/
|
|
7521
|
-
indicatorSize:
|
|
7521
|
+
indicatorSize: g.oneOf(["sm", "md", "lg"]),
|
|
7522
7522
|
/**
|
|
7523
7523
|
* Sets the visibility of the progress indicator.
|
|
7524
7524
|
*
|
|
7525
7525
|
* Defaults to **true**.
|
|
7526
7526
|
*/
|
|
7527
|
-
open:
|
|
7527
|
+
open: g.bool,
|
|
7528
7528
|
/**
|
|
7529
7529
|
* The current progress of a determinate progress indicator. Must be between 0 and 1.
|
|
7530
7530
|
*
|
|
7531
7531
|
* Defaults to **0**.
|
|
7532
7532
|
*/
|
|
7533
|
-
progress:
|
|
7533
|
+
progress: g.number,
|
|
7534
7534
|
/**
|
|
7535
7535
|
* @deprecated _Renamed, see indicatorSize instead._
|
|
7536
7536
|
*
|
|
@@ -7538,19 +7538,19 @@ const Nv = {
|
|
|
7538
7538
|
*
|
|
7539
7539
|
* Defaults to **undefined**.
|
|
7540
7540
|
*/
|
|
7541
|
-
size: fe(
|
|
7541
|
+
size: fe(g.oneOf(["sm", "md", "lg"]), "CircularProgress", "Renamed, see indicatorSize instead."),
|
|
7542
7542
|
/**
|
|
7543
7543
|
* Color of the indicator stroke with 'primary' or 'secondary' theme color.
|
|
7544
7544
|
*
|
|
7545
7545
|
* Defaults to **'primary'**.
|
|
7546
7546
|
*/
|
|
7547
|
-
themeColor:
|
|
7547
|
+
themeColor: g.oneOf(["primary", "secondary", "primary-variant", "secondary-variant", "two-color", "two-color-variant"]),
|
|
7548
7548
|
/**
|
|
7549
7549
|
* An indeterminate CircularProgress indicator will continue spinning until closed. A determinate CircularProgress indicator will display the current progress.
|
|
7550
7550
|
*
|
|
7551
7551
|
* Defaults to **'indeterminate'**.
|
|
7552
7552
|
*/
|
|
7553
|
-
variant:
|
|
7553
|
+
variant: g.oneOf(["determinate", "indeterminate"])
|
|
7554
7554
|
}, Mv = {
|
|
7555
7555
|
ariaLabel: "Progress Indicator",
|
|
7556
7556
|
className: void 0,
|
|
@@ -7654,7 +7654,7 @@ const Nv = {
|
|
|
7654
7654
|
}
|
|
7655
7655
|
}, {
|
|
7656
7656
|
heightWidth: m,
|
|
7657
|
-
viewBox:
|
|
7657
|
+
viewBox: h,
|
|
7658
7658
|
cxCy: C,
|
|
7659
7659
|
r: O,
|
|
7660
7660
|
strokeWidth: w,
|
|
@@ -7666,7 +7666,7 @@ const Nv = {
|
|
|
7666
7666
|
className: "mdc-circular-progress__circle-clipper mdc-circular-progress__circle-left"
|
|
7667
7667
|
}, /* @__PURE__ */ S.createElement("svg", {
|
|
7668
7668
|
className: "mdc-circular-progress__indeterminate-circle-graphic",
|
|
7669
|
-
viewBox: `0 0 ${
|
|
7669
|
+
viewBox: `0 0 ${h} ${h}`,
|
|
7670
7670
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7671
7671
|
}, /* @__PURE__ */ S.createElement("circle", {
|
|
7672
7672
|
cx: C,
|
|
@@ -7679,7 +7679,7 @@ const Nv = {
|
|
|
7679
7679
|
className: "mdc-circular-progress__gap-patch"
|
|
7680
7680
|
}, /* @__PURE__ */ S.createElement("svg", {
|
|
7681
7681
|
className: "mdc-circular-progress__indeterminate-circle-graphic",
|
|
7682
|
-
viewBox: `0 0 ${
|
|
7682
|
+
viewBox: `0 0 ${h} ${h}`,
|
|
7683
7683
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7684
7684
|
}, /* @__PURE__ */ S.createElement("circle", {
|
|
7685
7685
|
cx: C,
|
|
@@ -7692,7 +7692,7 @@ const Nv = {
|
|
|
7692
7692
|
className: "mdc-circular-progress__circle-clipper mdc-circular-progress__circle-right"
|
|
7693
7693
|
}, /* @__PURE__ */ S.createElement("svg", {
|
|
7694
7694
|
className: "mdc-circular-progress__indeterminate-circle-graphic",
|
|
7695
|
-
viewBox: `0 0 ${
|
|
7695
|
+
viewBox: `0 0 ${h} ${h}`,
|
|
7696
7696
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7697
7697
|
}, /* @__PURE__ */ S.createElement("circle", {
|
|
7698
7698
|
cx: C,
|
|
@@ -7701,7 +7701,7 @@ const Nv = {
|
|
|
7701
7701
|
strokeDasharray: x,
|
|
7702
7702
|
strokeDashoffset: L,
|
|
7703
7703
|
strokeWidth: w
|
|
7704
|
-
})))), [C, L, O, x, w, T,
|
|
7704
|
+
})))), [C, L, O, x, w, T, h]), $ = l === "two-color" || l === "two-color-variant";
|
|
7705
7705
|
return /* @__PURE__ */ S.createElement("div", J({
|
|
7706
7706
|
ref: f,
|
|
7707
7707
|
className: ae("lmnt", "mdc-circular-progress", u === "indeterminate" && "mdc-circular-progress--indeterminate", !a && "mdc-circular-progress--closed", l && `lmnt-circular-progress--${l}`, r),
|
|
@@ -7718,7 +7718,7 @@ const Nv = {
|
|
|
7718
7718
|
className: "mdc-circular-progress__determinate-container"
|
|
7719
7719
|
}, /* @__PURE__ */ S.createElement("svg", {
|
|
7720
7720
|
className: "mdc-circular-progress__determinate-circle-graphic",
|
|
7721
|
-
viewBox: `0 0 ${
|
|
7721
|
+
viewBox: `0 0 ${h} ${h}`,
|
|
7722
7722
|
xmlns: "http://www.w3.org/2000/svg"
|
|
7723
7723
|
}, /* @__PURE__ */ S.createElement("circle", {
|
|
7724
7724
|
className: "mdc-circular-progress__determinate-track",
|
|
@@ -7814,7 +7814,7 @@ const Hv = "_loadingSpinnerContainer_1f3ss_1", Vv = {
|
|
|
7814
7814
|
*
|
|
7815
7815
|
* Defaults to **undefined**.
|
|
7816
7816
|
*/
|
|
7817
|
-
className:
|
|
7817
|
+
className: g.string,
|
|
7818
7818
|
/**
|
|
7819
7819
|
* @deprecated _Use `themeColor` instead._
|
|
7820
7820
|
*
|
|
@@ -7822,7 +7822,7 @@ const Hv = "_loadingSpinnerContainer_1f3ss_1", Vv = {
|
|
|
7822
7822
|
*
|
|
7823
7823
|
* Defaults to **undefined**.
|
|
7824
7824
|
*/
|
|
7825
|
-
dividerColor: fe(
|
|
7825
|
+
dividerColor: fe(g.string, "Divider", "Use `themeColor` instead."),
|
|
7826
7826
|
/**
|
|
7827
7827
|
* @deprecated _Use `themeColorImportant` instead._
|
|
7828
7828
|
*
|
|
@@ -7830,7 +7830,7 @@ const Hv = "_loadingSpinnerContainer_1f3ss_1", Vv = {
|
|
|
7830
7830
|
*
|
|
7831
7831
|
* Defaults to **undefined**.
|
|
7832
7832
|
*/
|
|
7833
|
-
dividerColorImportant: fe(
|
|
7833
|
+
dividerColorImportant: fe(g.bool, "Divider", "Use `themeColorImportant` instead."),
|
|
7834
7834
|
/**
|
|
7835
7835
|
* @deprecated _Use `variant` instead._
|
|
7836
7836
|
*
|
|
@@ -7838,19 +7838,19 @@ const Hv = "_loadingSpinnerContainer_1f3ss_1", Vv = {
|
|
|
7838
7838
|
*
|
|
7839
7839
|
* Defaults to **undefined**.
|
|
7840
7840
|
*/
|
|
7841
|
-
dividerHeight: fe(
|
|
7841
|
+
dividerHeight: fe(g.string, "Divider", "Use `variant` instead."),
|
|
7842
7842
|
/**
|
|
7843
7843
|
* Set the border-style with default browser styles. In general, avoid using.
|
|
7844
7844
|
*
|
|
7845
7845
|
* Defaults to **empty string**.
|
|
7846
7846
|
*/
|
|
7847
|
-
dividerStyle:
|
|
7847
|
+
dividerStyle: g.string,
|
|
7848
7848
|
/**
|
|
7849
7849
|
* The name of the desired Element color like 'primary'
|
|
7850
7850
|
*
|
|
7851
7851
|
* Defaults to **'on-surface-stroke'**.
|
|
7852
7852
|
*/
|
|
7853
|
-
themeColor:
|
|
7853
|
+
themeColor: g.oneOf(["", "primary", "primary-variant", "primary-50", "primary-100", "primary-200", "primary-300", "primary-400", "primary-500", "primary-600", "primary-700", "primary-800", "primary-900", "secondary", "secondary-variant", "secondary-50", "secondary-100", "secondary-200", "secondary-300", "secondary-400", "secondary-500", "secondary-600", "secondary-700", "secondary-800", "secondary-900", "danger", "danger-variant", "danger-50", "danger-100", "danger-200", "danger-300", "danger-400", "danger-500", "danger-600", "danger-700", "danger-800", "danger-900", "success", "success-variant", "success-50", "success-100", "success-200", "success-300", "success-400", "success-500", "success-600", "success-700", "success-800", "success-900", "ancillary-100", "ancillary-200", "ancillary-300", "ancillary-400", "ancillary-500", "ancillary-600", "ancillary-700", "ancillary-800", "ancillary-900", "on-surface-stroke"]),
|
|
7854
7854
|
/**
|
|
7855
7855
|
* @deprecated _No longer needed._
|
|
7856
7856
|
*
|
|
@@ -7858,19 +7858,19 @@ const Hv = "_loadingSpinnerContainer_1f3ss_1", Vv = {
|
|
|
7858
7858
|
*
|
|
7859
7859
|
* Defaults to **undefined**.
|
|
7860
7860
|
*/
|
|
7861
|
-
themeColorImportant: fe(
|
|
7861
|
+
themeColorImportant: fe(g.bool, "Divider", "No longer needed."),
|
|
7862
7862
|
/**
|
|
7863
7863
|
* Choose between dense and tall variants.
|
|
7864
7864
|
*
|
|
7865
7865
|
* Defaults to **'dense'**.
|
|
7866
7866
|
*/
|
|
7867
|
-
variant:
|
|
7867
|
+
variant: g.oneOf(["dense", "tall"]),
|
|
7868
7868
|
/**
|
|
7869
7869
|
* Adds top and bottom margin.
|
|
7870
7870
|
*
|
|
7871
7871
|
* Defaults to **'none'**.
|
|
7872
7872
|
*/
|
|
7873
|
-
verticalMargin:
|
|
7873
|
+
verticalMargin: g.oneOf(["none", "dense", "standard", "airy"])
|
|
7874
7874
|
}, Iv = {
|
|
7875
7875
|
className: void 0,
|
|
7876
7876
|
dividerColor: void 0,
|
|
@@ -7893,11 +7893,11 @@ const Hv = "_loadingSpinnerContainer_1f3ss_1", Vv = {
|
|
|
7893
7893
|
className: u,
|
|
7894
7894
|
verticalMargin: c,
|
|
7895
7895
|
...f
|
|
7896
|
-
} = t, p = r || s, d = a || l, m = n || i,
|
|
7897
|
-
oe(e, () =>
|
|
7896
|
+
} = t, p = r || s, d = a || l, m = n || i, h = re();
|
|
7897
|
+
oe(e, () => h.current, []);
|
|
7898
7898
|
const C = ae("lmnt", "lmnt-divider", p && "lmnt-divider--color-important", d && `lmnt-divider--${d}`, o && `lmnt-divider--${o}`, m && `lmnt-divider--${m}`, c && c !== "none" && `lmnt-divider--margin-${c}`, u);
|
|
7899
7899
|
return /* @__PURE__ */ S.createElement("hr", J({
|
|
7900
|
-
ref:
|
|
7900
|
+
ref: h,
|
|
7901
7901
|
className: C
|
|
7902
7902
|
}, f));
|
|
7903
7903
|
});
|
|
@@ -7910,19 +7910,19 @@ const Zv = {
|
|
|
7910
7910
|
*
|
|
7911
7911
|
* Defaults to **null**.
|
|
7912
7912
|
*/
|
|
7913
|
-
children:
|
|
7913
|
+
children: g.node,
|
|
7914
7914
|
/**
|
|
7915
7915
|
* A reference to the component to apply the ripple to.
|
|
7916
7916
|
*
|
|
7917
7917
|
* Defaults to **undefined**.
|
|
7918
7918
|
*/
|
|
7919
|
-
componentRef:
|
|
7919
|
+
componentRef: g.object,
|
|
7920
7920
|
/**
|
|
7921
7921
|
* Allows the ripple to extend beyond the component boundaries.
|
|
7922
7922
|
*
|
|
7923
7923
|
* Defaults to **undefined**.
|
|
7924
7924
|
*/
|
|
7925
|
-
unbounded:
|
|
7925
|
+
unbounded: g.bool
|
|
7926
7926
|
}, Fv = {
|
|
7927
7927
|
children: null,
|
|
7928
7928
|
componentRef: void 0,
|
|
@@ -8147,43 +8147,43 @@ const Wv = {
|
|
|
8147
8147
|
*
|
|
8148
8148
|
* Defaults to **false**.
|
|
8149
8149
|
*/
|
|
8150
|
-
active:
|
|
8150
|
+
active: g.bool,
|
|
8151
8151
|
/**
|
|
8152
8152
|
* Accessibility label for assistive technologies.
|
|
8153
8153
|
*
|
|
8154
8154
|
* Defaults to **null**.
|
|
8155
8155
|
*/
|
|
8156
|
-
ariaLabel:
|
|
8156
|
+
ariaLabel: g.string,
|
|
8157
8157
|
/**
|
|
8158
8158
|
* Id of an element serving as a label for this IconButton instance. Used by assistive technologies.
|
|
8159
8159
|
*
|
|
8160
8160
|
* Defaults to **null**.
|
|
8161
8161
|
*/
|
|
8162
|
-
ariaLabelledBy:
|
|
8162
|
+
ariaLabelledBy: g.string,
|
|
8163
8163
|
/**
|
|
8164
8164
|
* The custom icon button notification badge to be rendered.
|
|
8165
8165
|
*
|
|
8166
8166
|
* Defaults to **undefined**.
|
|
8167
8167
|
*/
|
|
8168
|
-
badge:
|
|
8168
|
+
badge: g.node,
|
|
8169
8169
|
/**
|
|
8170
8170
|
* The placement of the notification badge on the icon to start. It will flip to the opposite side if there is no room.
|
|
8171
8171
|
*
|
|
8172
8172
|
* Defaults to **'right-start'**.
|
|
8173
8173
|
*/
|
|
8174
|
-
badgePlacement:
|
|
8174
|
+
badgePlacement: g.oneOf(["right-start", "left-start"]),
|
|
8175
8175
|
/**
|
|
8176
8176
|
* The content when when using the IconButton normally. Expects an `Icon` component. For toggle button functionality, use `toggleOn` and `toggleOff` instead.
|
|
8177
8177
|
*
|
|
8178
8178
|
* Defaults to **null**.
|
|
8179
8179
|
*/
|
|
8180
|
-
children:
|
|
8180
|
+
children: g.node,
|
|
8181
8181
|
/**
|
|
8182
8182
|
* The css class name to be passed through to the component markup.
|
|
8183
8183
|
*
|
|
8184
8184
|
* Defaults to **undefined**.
|
|
8185
8185
|
*/
|
|
8186
|
-
className:
|
|
8186
|
+
className: g.string,
|
|
8187
8187
|
/**
|
|
8188
8188
|
* @deprecated _Use iconSize='small' instead._
|
|
8189
8189
|
*
|
|
@@ -8191,91 +8191,91 @@ const Wv = {
|
|
|
8191
8191
|
*
|
|
8192
8192
|
* Defaults to **undefined**.
|
|
8193
8193
|
*/
|
|
8194
|
-
dense: fe(
|
|
8194
|
+
dense: fe(g.bool, "IconButton", 'Use iconSize="small" instead.'),
|
|
8195
8195
|
/**
|
|
8196
8196
|
* Disables the icon button.
|
|
8197
8197
|
*
|
|
8198
8198
|
* Defaults to **false**.
|
|
8199
8199
|
*/
|
|
8200
|
-
disabled:
|
|
8200
|
+
disabled: g.bool,
|
|
8201
8201
|
/**
|
|
8202
8202
|
* For simple use-cases, this will automatically create the icon object. Does not work with `toggle='true'`
|
|
8203
8203
|
*
|
|
8204
8204
|
* Defaults to **null**.
|
|
8205
8205
|
*/
|
|
8206
|
-
icon:
|
|
8206
|
+
icon: g.oneOfType([g.string, g.node]),
|
|
8207
8207
|
/**
|
|
8208
8208
|
* One of 'xsmall', 'small', 'medium', 'large', and 'xlarge' will change the size of the icon. Defaults to medium.
|
|
8209
8209
|
*
|
|
8210
8210
|
* Defaults to **'medium'**.
|
|
8211
8211
|
*/
|
|
8212
|
-
iconSize:
|
|
8212
|
+
iconSize: g.oneOf(["xsmall", "small", "medium", "large", "xlarge"]),
|
|
8213
8213
|
/**
|
|
8214
8214
|
* The icon type to be rendered. Not all icons have every type. To see which icons are available for different types see [Material Icons docs](https://material.io/tools/icons)
|
|
8215
8215
|
*
|
|
8216
8216
|
* Defaults to **'filled'**.
|
|
8217
8217
|
*/
|
|
8218
|
-
iconType:
|
|
8218
|
+
iconType: g.oneOf(["filled", "outlined", "rounded", "two-tone", "sharp"]),
|
|
8219
8219
|
/**
|
|
8220
8220
|
* Fired when the user clicks the IconButton, will return toggle state, if applicable.
|
|
8221
8221
|
*
|
|
8222
8222
|
* Defaults to **null**.
|
|
8223
8223
|
*/
|
|
8224
|
-
onClick:
|
|
8224
|
+
onClick: g.func,
|
|
8225
8225
|
/**
|
|
8226
8226
|
* TabIndex of the button.
|
|
8227
8227
|
*
|
|
8228
8228
|
* Defaults to **0**.
|
|
8229
8229
|
*/
|
|
8230
|
-
tabIndex:
|
|
8230
|
+
tabIndex: g.number,
|
|
8231
8231
|
/**
|
|
8232
8232
|
* By default a button will be rendered, this allows another tag/component to be used instead. A block type element/component is suggested.
|
|
8233
8233
|
*
|
|
8234
8234
|
* Defaults to **null**.
|
|
8235
8235
|
*/
|
|
8236
|
-
tag:
|
|
8236
|
+
tag: g.oneOfType([g.string, g.elementType, g.instanceOf(S.Component)]),
|
|
8237
8237
|
/**
|
|
8238
8238
|
* The content to be rendered when the `IconButton` is toggled off. Expects an `Icon` component. The typical use case for a toggle button would be to set an Icon for `toggleOn` and `toggleOff`, leaving children blank.
|
|
8239
8239
|
*
|
|
8240
8240
|
* Defaults to **null**.
|
|
8241
8241
|
*/
|
|
8242
|
-
toggleOff:
|
|
8242
|
+
toggleOff: g.node,
|
|
8243
8243
|
/**
|
|
8244
8244
|
* The `aria-label` value to be read by a screen-reader when the button is toggled off. Example 'Add to Favorites'. Alternatively, `toggleOffAriaLabelledBy` may be used instead.
|
|
8245
8245
|
*
|
|
8246
8246
|
* Defaults to **null**.
|
|
8247
8247
|
*/
|
|
8248
|
-
toggleOffAriaLabel:
|
|
8248
|
+
toggleOffAriaLabel: g.string,
|
|
8249
8249
|
/**
|
|
8250
8250
|
* The `aria-labelledby`value when the button is toggled on. This should be the `id `of a parent element to be read by a screen reader instead of `aria-label`.
|
|
8251
8251
|
*
|
|
8252
8252
|
* Defaults to **null**.
|
|
8253
8253
|
*/
|
|
8254
|
-
toggleOffAriaLabelledBy:
|
|
8254
|
+
toggleOffAriaLabelledBy: g.string,
|
|
8255
8255
|
/**
|
|
8256
8256
|
* The content to be rendered when the `IconButton` is toggled on. Expects an `Icon` component. The typical use case for a toggle button would be to set an Icon for `toggleOn` and `toggleOff`, leaving children blank.
|
|
8257
8257
|
*
|
|
8258
8258
|
* Defaults to **null**.
|
|
8259
8259
|
*/
|
|
8260
|
-
toggleOn:
|
|
8260
|
+
toggleOn: g.node,
|
|
8261
8261
|
/**
|
|
8262
8262
|
* The `aria-label` value to be read by a screen-reader when the button is toggled on. Example 'Remove from Favorites'. Alternatively, `toggleOnAriaLabelledBy` may be used instead.
|
|
8263
8263
|
*
|
|
8264
8264
|
* Defaults to **null**.
|
|
8265
8265
|
*/
|
|
8266
|
-
toggleOnAriaLabel:
|
|
8266
|
+
toggleOnAriaLabel: g.string,
|
|
8267
8267
|
/**
|
|
8268
8268
|
* The `aria-labelledby`value when the button is toggled on. This should be the `id` of a parent element to be read by a screen reader instead of `aria-label`.
|
|
8269
8269
|
*
|
|
8270
8270
|
* Defaults to **null**.
|
|
8271
8271
|
*/
|
|
8272
|
-
toggleOnAriaLabelledBy:
|
|
8272
|
+
toggleOnAriaLabelledBy: g.string,
|
|
8273
8273
|
/**
|
|
8274
8274
|
* Variants prefixed with `filled-` will add a background color to the icon according to the theme. Variants prefixed with ` color-` will change the color of the icon according to the theme.
|
|
8275
8275
|
*
|
|
8276
8276
|
* Defaults to **empty string**.
|
|
8277
8277
|
*/
|
|
8278
|
-
variant: Ce(
|
|
8278
|
+
variant: Ce(g.oneOf(["", "filled-danger-alt", "filled-danger", "filled-primary", "filled-secondary", "color-primary", "color-secondary", "color-on-dark", "color-on-unknown-black", "secondary-on-surface"]), ["primary-alt", "secondary-alt", "primary", "danger-alt", "danger"], "IconButton", "Please use one of '','filled-danger-alt','filled-danger','filled-primary','filled-secondary','color-primary','color-secondary','color-on-dark','color-on-unknown-black','secondary-on-surface'.")
|
|
8279
8279
|
}, qv = {
|
|
8280
8280
|
active: !1,
|
|
8281
8281
|
ariaLabel: null,
|
|
@@ -8313,7 +8313,7 @@ const Wv = {
|
|
|
8313
8313
|
iconSize: p,
|
|
8314
8314
|
iconType: d,
|
|
8315
8315
|
onClick: m,
|
|
8316
|
-
noHover:
|
|
8316
|
+
noHover: h,
|
|
8317
8317
|
tabIndex: C,
|
|
8318
8318
|
tag: O,
|
|
8319
8319
|
toggleOff: w,
|
|
@@ -8327,7 +8327,7 @@ const Wv = {
|
|
|
8327
8327
|
} = t, P = re(), E = re(), Z = re(), z = y && w;
|
|
8328
8328
|
let Q = p;
|
|
8329
8329
|
Q === "medium" && u && (Q = "small"), o && (Q === "small" || Q === "xsmall") && (Q = "medium"), oe(e, () => P.current, []);
|
|
8330
|
-
const X = ae("lmnt", "lmnt-icon-button", "mdc-icon-button",
|
|
8330
|
+
const X = ae("lmnt", "lmnt-icon-button", "mdc-icon-button", h && "lmnt-icon-button__no-hover", ($ === "primary" || $ === "primary-alt" || $ === "secondary" || $ === "danger" || $ === "danger-alt" || $ === "filled-primary" || $ === "filled-primary-alt" || $ === "filled-secondary" || $ === "filled-danger" || $ === "filled-danger-alt") && "lmnt-icon-button--fill", ($ === "danger-alt" || $ === "filled-danger-alt") && "lmnt-icon-button--fill-danger-alt", ($ === "danger" || $ === "filled-danger") && "lmnt-icon-button--fill-danger", ($ === "primary" || $ === "filled-primary") && "lmnt-icon-button--fill-primary", ($ === "primary-alt" || $ === "filled-secondary") && "lmnt-icon-button--fill-secondary", ($ === "secondary-alt" || $ === "color-on-dark") && "lmnt-icon-button--color-on-dark", $ === "color-primary" && "lmnt-icon-button--color-primary", $ === "color-secondary" && "lmnt-icon-button--color-secondary", $ === "color-on-unknown-black" && "lmnt-icon-button--on-unknown-black", $ === "secondary-on-surface" && "lmnt-icon-button--secondary-on-surface", Q && `lmnt-icon-button--${Q}`, l);
|
|
8331
8331
|
pe(() => (z ? Z.current = Uv.attachTo(P.current) : (E.current = Mc.attachTo(P.current), E.current.unbounded = !0), () => {
|
|
8332
8332
|
z ? Z.current.destroy() : E.current.destroy();
|
|
8333
8333
|
}), [Z, z, E]), pe(() => {
|
|
@@ -8385,25 +8385,25 @@ const Qv = {
|
|
|
8385
8385
|
*
|
|
8386
8386
|
* Defaults to **undefined**.
|
|
8387
8387
|
*/
|
|
8388
|
-
altColor: fe(
|
|
8388
|
+
altColor: fe(g.bool, "Button", 'Use `themeColor="secondary"` instead.'),
|
|
8389
8389
|
/**
|
|
8390
8390
|
* One of 'xsmall', 'small', 'medium', 'large' and 'xlarge' will change the size of the button. Defaults according to your theme.
|
|
8391
8391
|
*
|
|
8392
8392
|
* Defaults to **'themeDefault'**.
|
|
8393
8393
|
*/
|
|
8394
|
-
buttonSize:
|
|
8394
|
+
buttonSize: g.oneOf(["xsmall", "small", "medium", "large", "xlarge", "themeDefault"]),
|
|
8395
8395
|
/**
|
|
8396
8396
|
* Content to be rendered inside the button. Can be used instead `label` of to provide more flexibility. Accepts any valid markup. _Warning, if Label is set, it will be used instead of child content._
|
|
8397
8397
|
*
|
|
8398
8398
|
* Defaults to **null**.
|
|
8399
8399
|
*/
|
|
8400
|
-
children:
|
|
8400
|
+
children: g.node,
|
|
8401
8401
|
/**
|
|
8402
8402
|
* The css class name to be passed through to the component markup.
|
|
8403
8403
|
*
|
|
8404
8404
|
* Defaults to **undefined**.
|
|
8405
8405
|
*/
|
|
8406
|
-
className:
|
|
8406
|
+
className: g.string,
|
|
8407
8407
|
/**
|
|
8408
8408
|
* @deprecated _forwardRef has been implemented for Button._
|
|
8409
8409
|
*
|
|
@@ -8411,11 +8411,11 @@ const Qv = {
|
|
|
8411
8411
|
*
|
|
8412
8412
|
* Defaults to **undefined**.
|
|
8413
8413
|
*/
|
|
8414
|
-
customRef: fe(
|
|
8415
|
-
|
|
8414
|
+
customRef: fe(g.oneOfType([
|
|
8415
|
+
g.func,
|
|
8416
8416
|
// eslint-disable-next-line react/forbid-prop-types
|
|
8417
|
-
|
|
8418
|
-
current:
|
|
8417
|
+
g.shape({
|
|
8418
|
+
current: g.any
|
|
8419
8419
|
})
|
|
8420
8420
|
]), "Button", "forwardRef has been implemented for Button."),
|
|
8421
8421
|
/**
|
|
@@ -8425,19 +8425,19 @@ const Qv = {
|
|
|
8425
8425
|
*
|
|
8426
8426
|
* Defaults to **undefined**.
|
|
8427
8427
|
*/
|
|
8428
|
-
danger: fe(
|
|
8428
|
+
danger: fe(g.bool, "Button", 'Use `variant="danger"` instead.'),
|
|
8429
8429
|
/**
|
|
8430
8430
|
* Prevent the user from interacting with the component.
|
|
8431
8431
|
*
|
|
8432
8432
|
* Defaults to **false**.
|
|
8433
8433
|
*/
|
|
8434
|
-
disabled:
|
|
8434
|
+
disabled: g.bool,
|
|
8435
8435
|
/**
|
|
8436
8436
|
* Sets elevation of the button. Default will be the theme default.
|
|
8437
8437
|
*
|
|
8438
8438
|
* Defaults to **'default'**.
|
|
8439
8439
|
*/
|
|
8440
|
-
elevation:
|
|
8440
|
+
elevation: g.oneOf(["default", "elevated", "flat"]),
|
|
8441
8441
|
/**
|
|
8442
8442
|
* @deprecated _Use `variant='filled'` instead._
|
|
8443
8443
|
*
|
|
@@ -8445,37 +8445,37 @@ const Qv = {
|
|
|
8445
8445
|
*
|
|
8446
8446
|
* Defaults to **undefined**.
|
|
8447
8447
|
*/
|
|
8448
|
-
filled: fe(
|
|
8448
|
+
filled: fe(g.bool, "Button", 'Use `variant="filled"` instead.'),
|
|
8449
8449
|
/**
|
|
8450
8450
|
* Applies a full-width style where the textfield will fill it's container.
|
|
8451
8451
|
*
|
|
8452
8452
|
* Defaults to **false**.
|
|
8453
8453
|
*/
|
|
8454
|
-
fullWidth:
|
|
8454
|
+
fullWidth: g.bool,
|
|
8455
8455
|
/**
|
|
8456
8456
|
* The button will render as an anchor tag. If the tag prop is set, that prop will take precedence.
|
|
8457
8457
|
*
|
|
8458
8458
|
* Defaults to **null**.
|
|
8459
8459
|
*/
|
|
8460
|
-
href:
|
|
8460
|
+
href: g.string,
|
|
8461
8461
|
/**
|
|
8462
8462
|
* The displayed text. Expects a valid string. If label and children are both set, label will take priority.
|
|
8463
8463
|
*
|
|
8464
8464
|
* Defaults to **null**.
|
|
8465
8465
|
*/
|
|
8466
|
-
label:
|
|
8466
|
+
label: g.string,
|
|
8467
8467
|
/**
|
|
8468
8468
|
* Adds the given Icon to the left of the button text. May not be used with `trailingIcon` - if `leadingIcon` and `trailingIcon` are both set, `leadingIcon` will take priority. Expects the name of a valid Material.io icon, however an icon component may be passed in instead for more control,
|
|
8469
8469
|
*
|
|
8470
8470
|
* Defaults to **undefined**.
|
|
8471
8471
|
*/
|
|
8472
|
-
leadingIcon:
|
|
8472
|
+
leadingIcon: g.oneOfType([g.string, g.func, g.node]),
|
|
8473
8473
|
/**
|
|
8474
8474
|
* The primary interaction event for button.
|
|
8475
8475
|
*
|
|
8476
8476
|
* Defaults to **null**.
|
|
8477
8477
|
*/
|
|
8478
|
-
onClick:
|
|
8478
|
+
onClick: g.func,
|
|
8479
8479
|
/**
|
|
8480
8480
|
* @deprecated _Use `variant='outlined'`._
|
|
8481
8481
|
*
|
|
@@ -8483,7 +8483,7 @@ const Qv = {
|
|
|
8483
8483
|
*
|
|
8484
8484
|
* Defaults to **undefined**.
|
|
8485
8485
|
*/
|
|
8486
|
-
outlined: fe(
|
|
8486
|
+
outlined: fe(g.bool, "Button", 'Use `variant="outlined"`.'),
|
|
8487
8487
|
/**
|
|
8488
8488
|
* @deprecated _Use `variant='filled'` instead._
|
|
8489
8489
|
*
|
|
@@ -8491,7 +8491,7 @@ const Qv = {
|
|
|
8491
8491
|
*
|
|
8492
8492
|
* Defaults to **undefined**.
|
|
8493
8493
|
*/
|
|
8494
|
-
primary: fe(
|
|
8494
|
+
primary: fe(g.bool, "Button", 'Use `variant="filled"` instead.'),
|
|
8495
8495
|
/**
|
|
8496
8496
|
* @deprecated _Use `'variant=outlined'` instead._
|
|
8497
8497
|
*
|
|
@@ -8499,13 +8499,13 @@ const Qv = {
|
|
|
8499
8499
|
*
|
|
8500
8500
|
* Defaults to **undefined**.
|
|
8501
8501
|
*/
|
|
8502
|
-
secondary: fe(
|
|
8502
|
+
secondary: fe(g.bool, "Button", 'Use `"variant=outlined"` instead.'),
|
|
8503
8503
|
/**
|
|
8504
8504
|
* By default a button or anchor tag will be rendered, this allows another tag/component to be used instead. A block type element/component is suggested.
|
|
8505
8505
|
*
|
|
8506
8506
|
* Defaults to **null**.
|
|
8507
8507
|
*/
|
|
8508
|
-
tag:
|
|
8508
|
+
tag: g.oneOfType([g.string, g.elementType, g.instanceOf(S.Component)]),
|
|
8509
8509
|
/**
|
|
8510
8510
|
* @deprecated _Use `variant='embedded'` instead._
|
|
8511
8511
|
*
|
|
@@ -8513,7 +8513,7 @@ const Qv = {
|
|
|
8513
8513
|
*
|
|
8514
8514
|
* Defaults to **undefined**.
|
|
8515
8515
|
*/
|
|
8516
|
-
tertiary: fe(
|
|
8516
|
+
tertiary: fe(g.bool, "Button", 'Use `variant="embedded"` instead.'),
|
|
8517
8517
|
/**
|
|
8518
8518
|
* @deprecated _Use `variant='text'` instead._
|
|
8519
8519
|
*
|
|
@@ -8521,25 +8521,25 @@ const Qv = {
|
|
|
8521
8521
|
*
|
|
8522
8522
|
* Defaults to **undefined**.
|
|
8523
8523
|
*/
|
|
8524
|
-
text: fe(
|
|
8524
|
+
text: fe(g.bool, "Button", 'Use `variant="text"` instead.'),
|
|
8525
8525
|
/**
|
|
8526
8526
|
* Sets the theme color for the button. Most commonly used when the control is placed on a darker surface.
|
|
8527
8527
|
*
|
|
8528
8528
|
* Defaults to **'primary'**.
|
|
8529
8529
|
*/
|
|
8530
|
-
themeColor: Ce(
|
|
8530
|
+
themeColor: Ce(g.oneOf(["primary", "secondary", "danger", "success", "on-unknown-black", "on-unknown-white", "on-primary", "on-secondary", "on-success", "on-danger"]), ["onUnknownBlack", "onUnknownWhite"], "Button", "Please use one of 'primary','secondary','danger','success','on-unknown-black','on-unknown-white','on-primary','on-secondary','on-success','on-danger'."),
|
|
8531
8531
|
/**
|
|
8532
8532
|
* Adds the given Icon to the right of the button text. May not be used with `leadingIcon` - if `leadingIcon` and `trailingIcon` are both set, `leadingIcon` will take priority. Expects the name of a valid Material.io icon, however an icon component may be passed in instead for more control.
|
|
8533
8533
|
*
|
|
8534
8534
|
* Defaults to **undefined**.
|
|
8535
8535
|
*/
|
|
8536
|
-
trailingIcon:
|
|
8536
|
+
trailingIcon: g.oneOfType([g.string, g.func, g.node]),
|
|
8537
8537
|
/**
|
|
8538
8538
|
* This applies the html button type (button, submit, reset) or the anchor media type when used with the href property.
|
|
8539
8539
|
*
|
|
8540
8540
|
* Defaults to **'button'**.
|
|
8541
8541
|
*/
|
|
8542
|
-
type:
|
|
8542
|
+
type: g.oneOf(["button", "submit", "reset"]),
|
|
8543
8543
|
/**
|
|
8544
8544
|
* @deprecated _Use `elevation='flat' instead._
|
|
8545
8545
|
*
|
|
@@ -8547,13 +8547,13 @@ const Qv = {
|
|
|
8547
8547
|
*
|
|
8548
8548
|
* Defaults to **undefined**.
|
|
8549
8549
|
*/
|
|
8550
|
-
unelevated: fe(
|
|
8550
|
+
unelevated: fe(g.bool, "Button", 'Use `elevation="flat" instead.'),
|
|
8551
8551
|
/**
|
|
8552
8552
|
* Applies the selected style to the button. `rounded-small` and `rounded-micro` are only available on select themes.
|
|
8553
8553
|
*
|
|
8554
8554
|
* Defaults to **'filled'**.
|
|
8555
8555
|
*/
|
|
8556
|
-
variant:
|
|
8556
|
+
variant: g.oneOf(["filled", "outlined", "danger", "text", "success", "rounded-small", "rounded-micro"])
|
|
8557
8557
|
}, Kv = {
|
|
8558
8558
|
altColor: void 0,
|
|
8559
8559
|
buttonSize: "themeDefault",
|
|
@@ -8585,13 +8585,13 @@ const Qv = {
|
|
|
8585
8585
|
*
|
|
8586
8586
|
* Defaults to **null**.
|
|
8587
8587
|
*/
|
|
8588
|
-
children:
|
|
8588
|
+
children: g.node,
|
|
8589
8589
|
/**
|
|
8590
8590
|
* How much spacing between buttons. Dense is 8p, standard is 16px and airy is 24px.
|
|
8591
8591
|
*
|
|
8592
8592
|
* Defaults to **'standard'**.
|
|
8593
8593
|
*/
|
|
8594
|
-
variant:
|
|
8594
|
+
variant: g.oneOf(["dense", "standard", "airy"])
|
|
8595
8595
|
}, Jv = {
|
|
8596
8596
|
children: null,
|
|
8597
8597
|
variant: "standard"
|
|
@@ -8610,7 +8610,7 @@ const Qv = {
|
|
|
8610
8610
|
text: p,
|
|
8611
8611
|
danger: d,
|
|
8612
8612
|
filled: m,
|
|
8613
|
-
fullWidth:
|
|
8613
|
+
fullWidth: h,
|
|
8614
8614
|
href: C,
|
|
8615
8615
|
label: O,
|
|
8616
8616
|
leadingIcon: w,
|
|
@@ -8648,7 +8648,7 @@ const Qv = {
|
|
|
8648
8648
|
onClick: T,
|
|
8649
8649
|
type: $,
|
|
8650
8650
|
disabled: s,
|
|
8651
|
-
className: ae("lmnt", "mdc-button", "lmnt-button", "mdc-button--touch", v && N && H && "lmnt-button--filled-primary", v && q && "lmnt-button--filled-danger", v && Y && "lmnt-button--filled-success", v && N && k && "lmnt-button--filled-secondary", v && !N && H && ["lmnt-button--filled-primary", "mdc-button--raised"], v && !N && k && ["lmnt-button--filled-secondary", "mdc-button--raised"], v && !N && L === "on-primary" && ["lmnt-button--filled-on-primary", "mdc-button--raised"], v && !N && L === "on-secondary" && ["lmnt-button--filled-on-secondary", "mdc-button--raised"], v && !N && L === "on-success" && ["lmnt-button--filled-on-success", "mdc-button--raised"], v && !N && L === "on-danger" && ["lmnt-button--filled-on-danger", "mdc-button--raised"], v && !N && j && ["lmnt-button--filled-on-unknown-black", "mdc-button--raised"], v && !N && V && ["lmnt-button--filled-on-unknown-white", "mdc-button--raised"], X && H && ["lmnt-button--outlined-primary", "mdc-button--outlined"], v && !N && R && ["lmnt-button--filled-on-primary", "mdc-button--raised"], X && k && ["lmnt-button--outlined-secondary", "mdc-button--outlined"], X && R && "lmnt-button--outlined-on-primary mdc-button--outlined", X && D && "lmnt-button--outlined-on-secondary mdc-button--outlined", X && V && "lmnt-button--outlined-on-unknown-white mdc-button--outlined", X && j && "lmnt-button--outlined-on-unknown-black mdc-button--outlined", G && R && "lmnt-button--text-on-primary mdc-button__text", G && D && "lmnt-button--text-on-secondary mdc-button__text", G && V && "lmnt-button--text-on-unknown-white mdc-button__text", G && j && "lmnt-button--text-on-unknown-black mdc-button__text", K && V && "lmnt-button--text-on-unknown-white mdc-button__text", K && j && "lmnt-button--text-on-unknown-black mdc-button__text", G && H && "lmnt-button--text-primary", G && k && "lmnt-button--text-secondary", G && q && "lmnt-button--text-danger", G && Y && "lmnt-button--text-success", q && N && k && "lmnt-button--danger-secondary", q && !N && k && ["lmnt-button--danger-secondary", "mdc-button--raised"], q && N && H && "lmnt-button--danger-primary", q && !N && H && ["lmnt-button--danger-primary", "mdc-button--raised"], q && X && ["lmnt-button--danger-primary", "mdc-button--outlined"], Y && N && H && "lmnt-button--success-primary", Y && !N && H && ["lmnt-button--success-primary", "mdc-button--raised"], Y && X && ["lmnt-button--success-primary", "mdc-button--outlined"], Y && X && ["lmnt-button--success-primary", "mdc-button--outlined"],
|
|
8651
|
+
className: ae("lmnt", "mdc-button", "lmnt-button", "mdc-button--touch", v && N && H && "lmnt-button--filled-primary", v && q && "lmnt-button--filled-danger", v && Y && "lmnt-button--filled-success", v && N && k && "lmnt-button--filled-secondary", v && !N && H && ["lmnt-button--filled-primary", "mdc-button--raised"], v && !N && k && ["lmnt-button--filled-secondary", "mdc-button--raised"], v && !N && L === "on-primary" && ["lmnt-button--filled-on-primary", "mdc-button--raised"], v && !N && L === "on-secondary" && ["lmnt-button--filled-on-secondary", "mdc-button--raised"], v && !N && L === "on-success" && ["lmnt-button--filled-on-success", "mdc-button--raised"], v && !N && L === "on-danger" && ["lmnt-button--filled-on-danger", "mdc-button--raised"], v && !N && j && ["lmnt-button--filled-on-unknown-black", "mdc-button--raised"], v && !N && V && ["lmnt-button--filled-on-unknown-white", "mdc-button--raised"], X && H && ["lmnt-button--outlined-primary", "mdc-button--outlined"], v && !N && R && ["lmnt-button--filled-on-primary", "mdc-button--raised"], X && k && ["lmnt-button--outlined-secondary", "mdc-button--outlined"], X && R && "lmnt-button--outlined-on-primary mdc-button--outlined", X && D && "lmnt-button--outlined-on-secondary mdc-button--outlined", X && V && "lmnt-button--outlined-on-unknown-white mdc-button--outlined", X && j && "lmnt-button--outlined-on-unknown-black mdc-button--outlined", G && R && "lmnt-button--text-on-primary mdc-button__text", G && D && "lmnt-button--text-on-secondary mdc-button__text", G && V && "lmnt-button--text-on-unknown-white mdc-button__text", G && j && "lmnt-button--text-on-unknown-black mdc-button__text", K && V && "lmnt-button--text-on-unknown-white mdc-button__text", K && j && "lmnt-button--text-on-unknown-black mdc-button__text", G && H && "lmnt-button--text-primary", G && k && "lmnt-button--text-secondary", G && q && "lmnt-button--text-danger", G && Y && "lmnt-button--text-success", q && N && k && "lmnt-button--danger-secondary", q && !N && k && ["lmnt-button--danger-secondary", "mdc-button--raised"], q && N && H && "lmnt-button--danger-primary", q && !N && H && ["lmnt-button--danger-primary", "mdc-button--raised"], q && X && ["lmnt-button--danger-primary", "mdc-button--outlined"], Y && N && H && "lmnt-button--success-primary", Y && !N && H && ["lmnt-button--success-primary", "mdc-button--raised"], Y && X && ["lmnt-button--success-primary", "mdc-button--outlined"], Y && X && ["lmnt-button--success-primary", "mdc-button--outlined"], h && "lmnt-button--full-width", N && !G && "mdc-button--unelevated", l === "flat" && "lmnt-button--flat", l === "elevated" && "lmnt-button--elevated", `lmnt-button--${r}`, P === "rounded-small" && "lmnt-button--rounded lmnt-button--rounded-small mdc-button__text lmnt-button--text-primary", P === "rounded-micro" && "lmnt-button--rounded lmnt-button--rounded-micro mdc-button__text lmnt-button--text-primary", o, "mdc-touch-target-wrapper")
|
|
8652
8652
|
}, E), /* @__PURE__ */ S.createElement("span", {
|
|
8653
8653
|
className: "mdc-button__ripple"
|
|
8654
8654
|
}), w && I(), /* @__PURE__ */ S.createElement("span", {
|
|
@@ -8690,8 +8690,8 @@ function eb() {
|
|
|
8690
8690
|
var t = gt(null), e = t[0], n = t[1], r = gt(J9), a = r[0], o = r[1], i = vt(function() {
|
|
8691
8691
|
return new window.ResizeObserver(function(s) {
|
|
8692
8692
|
if (s[0]) {
|
|
8693
|
-
var l = s[0].contentRect, u = l.x, c = l.y, f = l.width, p = l.height, d = l.top, m = l.left,
|
|
8694
|
-
o({ x: u, y: c, width: f, height: p, top: d, left: m, bottom:
|
|
8693
|
+
var l = s[0].contentRect, u = l.x, c = l.y, f = l.width, p = l.height, d = l.top, m = l.left, h = l.bottom, C = l.right;
|
|
8694
|
+
o({ x: u, y: c, width: f, height: p, top: d, left: m, bottom: h, right: C });
|
|
8695
8695
|
}
|
|
8696
8696
|
});
|
|
8697
8697
|
}, []);
|
|
@@ -8710,43 +8710,43 @@ const tb = G9 && typeof window.ResizeObserver < "u" ? eb : function() {
|
|
|
8710
8710
|
*
|
|
8711
8711
|
* Defaults to **'left-top'**.
|
|
8712
8712
|
*/
|
|
8713
|
-
bodyAlignment:
|
|
8713
|
+
bodyAlignment: g.oneOf(["left-center", "left-top", "left-bottom", "centered", "right-center", "right-top", "right-bottom"]),
|
|
8714
8714
|
/**
|
|
8715
8715
|
* Content to be rendered inside the Card. Should be one of CardActions, CardBody, CardContent, CardDivider, CardFilter, CardMedia, or CardTitle.
|
|
8716
8716
|
*
|
|
8717
8717
|
* Defaults to **null**.
|
|
8718
8718
|
*/
|
|
8719
|
-
children:
|
|
8719
|
+
children: g.node,
|
|
8720
8720
|
/**
|
|
8721
8721
|
* Height style property of card.
|
|
8722
8722
|
*
|
|
8723
8723
|
* Defaults to **'auto'**.
|
|
8724
8724
|
*/
|
|
8725
|
-
height:
|
|
8725
|
+
height: g.string,
|
|
8726
8726
|
/**
|
|
8727
8727
|
* If true the card will be styled for a loading spinner
|
|
8728
8728
|
*
|
|
8729
8729
|
* Defaults to **false**.
|
|
8730
8730
|
*/
|
|
8731
|
-
loadingCard:
|
|
8731
|
+
loadingCard: g.bool,
|
|
8732
8732
|
/**
|
|
8733
8733
|
* Passthrough style object.
|
|
8734
8734
|
*
|
|
8735
8735
|
* Defaults to **null**.
|
|
8736
8736
|
*/
|
|
8737
|
-
style:
|
|
8737
|
+
style: g.object,
|
|
8738
8738
|
/**
|
|
8739
8739
|
* Background color of the card. It is recommended to set to transparent if setting theme color on the Card Title or Card Body.
|
|
8740
8740
|
*
|
|
8741
8741
|
* Defaults to **'surface'**.
|
|
8742
8742
|
*/
|
|
8743
|
-
themeColor:
|
|
8743
|
+
themeColor: g.oneOf(["transparent", "surface", "surface-variant", "primary", "primary-variant", "primary-50", "primary-100", "primary-200", "primary-300", "primary-400", "primary-500", "primary-600", "primary-700", "primary-800", "primary-900", "secondary", "secondary-variant", "secondary-50", "secondary-100", "secondary-200", "secondary-300", "secondary-400", "secondary-500", "secondary-600", "secondary-700", "secondary-800", "secondary-900", "danger", "danger-variant", "danger-50", "danger-100", "danger-200", "danger-300", "danger-400", "danger-500", "danger-600", "danger-700", "danger-800", "danger-900", "ancillary-100", "ancillary-200", "ancillary-300", "ancillary-400", "ancillary-500", "ancillary-600", "ancillary-700", "ancillary-800", "ancillary-900"]),
|
|
8744
8744
|
/**
|
|
8745
8745
|
* Variant options include `default` (set by theme), `flat`, `outlined`, and `raised`. The `flat` variant removes elevation. The `outlined` variant adds border and removes elevation. The `raised` variant adds elevation.
|
|
8746
8746
|
*
|
|
8747
8747
|
* Defaults to **'default'**.
|
|
8748
8748
|
*/
|
|
8749
|
-
variant:
|
|
8749
|
+
variant: g.oneOf(["default", "flat", "outlined", "raised"])
|
|
8750
8750
|
}, rb = {
|
|
8751
8751
|
bodyAlignment: "left-top",
|
|
8752
8752
|
children: null,
|
|
@@ -8761,29 +8761,29 @@ const tb = G9 && typeof window.ResizeObserver < "u" ? eb : function() {
|
|
|
8761
8761
|
*
|
|
8762
8762
|
* Defaults to **'primary'**.
|
|
8763
8763
|
*/
|
|
8764
|
-
actionButtonThemeColor:
|
|
8764
|
+
actionButtonThemeColor: g.oneOf(["primary", "secondary"]),
|
|
8765
8765
|
/**
|
|
8766
8766
|
* Content to be rendered inside the button. Can be used instead `label` of to provide more flexibility. Accepts any valid markup. _Warning, if Label is set, it will be used instead of child content._
|
|
8767
8767
|
*
|
|
8768
8768
|
* Defaults to **null**.
|
|
8769
8769
|
*/
|
|
8770
|
-
children:
|
|
8770
|
+
children: g.node,
|
|
8771
8771
|
/**
|
|
8772
8772
|
* The css class name to be passed through to the component markup.
|
|
8773
8773
|
*
|
|
8774
8774
|
* Defaults to **undefined**.
|
|
8775
8775
|
*/
|
|
8776
|
-
className:
|
|
8776
|
+
className: g.string,
|
|
8777
8777
|
/**
|
|
8778
8778
|
* Reference to the DOM button. This enables a greater level of integration.
|
|
8779
8779
|
*
|
|
8780
8780
|
* Defaults to **undefined**.
|
|
8781
8781
|
*/
|
|
8782
|
-
customRef:
|
|
8783
|
-
|
|
8782
|
+
customRef: g.oneOfType([
|
|
8783
|
+
g.func,
|
|
8784
8784
|
// eslint-disable-next-line react/forbid-prop-types
|
|
8785
|
-
|
|
8786
|
-
current:
|
|
8785
|
+
g.shape({
|
|
8786
|
+
current: g.any
|
|
8787
8787
|
})
|
|
8788
8788
|
]),
|
|
8789
8789
|
/**
|
|
@@ -8791,49 +8791,49 @@ const tb = G9 && typeof window.ResizeObserver < "u" ? eb : function() {
|
|
|
8791
8791
|
*
|
|
8792
8792
|
* Defaults to **false**.
|
|
8793
8793
|
*/
|
|
8794
|
-
disabled:
|
|
8794
|
+
disabled: g.bool,
|
|
8795
8795
|
/**
|
|
8796
8796
|
* Applies a full-width style where the button will fill it's container.
|
|
8797
8797
|
*
|
|
8798
8798
|
* Defaults to **false**.
|
|
8799
8799
|
*/
|
|
8800
|
-
fullWidth:
|
|
8800
|
+
fullWidth: g.bool,
|
|
8801
8801
|
/**
|
|
8802
8802
|
* The button will render as an anchor tag.
|
|
8803
8803
|
*
|
|
8804
8804
|
* Defaults to **null**.
|
|
8805
8805
|
*/
|
|
8806
|
-
href:
|
|
8806
|
+
href: g.string,
|
|
8807
8807
|
/**
|
|
8808
8808
|
* The displayed text. Expects a valid string. If label and children are both set, label will take priority.
|
|
8809
8809
|
*
|
|
8810
8810
|
* Defaults to **null**.
|
|
8811
8811
|
*/
|
|
8812
|
-
label:
|
|
8812
|
+
label: g.string,
|
|
8813
8813
|
/**
|
|
8814
8814
|
* Adds the given Icon to the left of the button text. May not be used with `trailingIcon` - if `leadingIcon` and `trailingIcon` are both set, `leadingIcon` will take priority. Expects the name of a valid Material.io icon, however an icon component may be passed in instead for more control,
|
|
8815
8815
|
*
|
|
8816
8816
|
* Defaults to **null**.
|
|
8817
8817
|
*/
|
|
8818
|
-
leadingIcon:
|
|
8818
|
+
leadingIcon: g.oneOfType([g.string, g.node]),
|
|
8819
8819
|
/**
|
|
8820
8820
|
* The primary interaction event for button.
|
|
8821
8821
|
*
|
|
8822
8822
|
* Defaults to **null**.
|
|
8823
8823
|
*/
|
|
8824
|
-
onClick:
|
|
8824
|
+
onClick: g.func,
|
|
8825
8825
|
/**
|
|
8826
8826
|
* Adds the given Icon to the right of the button text. May not be used with `leadingIcon` - if `leadingIcon` and `trailingIcon` are both set, `leadingIcon` will take priority. Expects the name of a valid Material.io icon, however an icon component may be passed in instead for more control.
|
|
8827
8827
|
*
|
|
8828
8828
|
* Defaults to **null**.
|
|
8829
8829
|
*/
|
|
8830
|
-
trailingIcon:
|
|
8830
|
+
trailingIcon: g.oneOfType([g.string, g.node]),
|
|
8831
8831
|
/**
|
|
8832
8832
|
* This applies the html button type (button, submit, reset) or the anchor media type when used with the href property.
|
|
8833
8833
|
*
|
|
8834
8834
|
* Defaults to **'button'**.
|
|
8835
8835
|
*/
|
|
8836
|
-
type:
|
|
8836
|
+
type: g.oneOf(["button", "submit", "reset"])
|
|
8837
8837
|
}, ob = {
|
|
8838
8838
|
actionButtonThemeColor: "primary",
|
|
8839
8839
|
children: null,
|
|
@@ -8852,85 +8852,85 @@ const tb = G9 && typeof window.ResizeObserver < "u" ? eb : function() {
|
|
|
8852
8852
|
*
|
|
8853
8853
|
* Defaults to **false**.
|
|
8854
8854
|
*/
|
|
8855
|
-
active:
|
|
8855
|
+
active: g.bool,
|
|
8856
8856
|
/**
|
|
8857
8857
|
* Accessibility label for assistive technologies.
|
|
8858
8858
|
*
|
|
8859
8859
|
* Defaults to **null**.
|
|
8860
8860
|
*/
|
|
8861
|
-
ariaLabel:
|
|
8861
|
+
ariaLabel: g.string,
|
|
8862
8862
|
/**
|
|
8863
8863
|
* Id of the component being labeled for assistive technologies.
|
|
8864
8864
|
*
|
|
8865
8865
|
* Defaults to **null**.
|
|
8866
8866
|
*/
|
|
8867
|
-
ariaLabelledBy:
|
|
8867
|
+
ariaLabelledBy: g.string,
|
|
8868
8868
|
/**
|
|
8869
8869
|
* The content when when using the Card Action Icon Button normally. Expects a string, but a valid custom icon is accepted. For toggle button functionality, use `toggleOn` and `toggleOff` instead.
|
|
8870
8870
|
*
|
|
8871
8871
|
* Defaults to **null**.
|
|
8872
8872
|
*/
|
|
8873
|
-
children:
|
|
8873
|
+
children: g.node,
|
|
8874
8874
|
/**
|
|
8875
8875
|
* The css class name to be passed through to the component markup.
|
|
8876
8876
|
*
|
|
8877
8877
|
* Defaults to **undefined**.
|
|
8878
8878
|
*/
|
|
8879
|
-
className:
|
|
8879
|
+
className: g.string,
|
|
8880
8880
|
/**
|
|
8881
8881
|
* Disables the icon button.
|
|
8882
8882
|
*
|
|
8883
8883
|
* Defaults to **false**.
|
|
8884
8884
|
*/
|
|
8885
|
-
disabled:
|
|
8885
|
+
disabled: g.bool,
|
|
8886
8886
|
/**
|
|
8887
8887
|
* Fired when the user clicks the Card Action Icon Button, will return toggle state, if applicable.
|
|
8888
8888
|
*
|
|
8889
8889
|
* Defaults to **null**.
|
|
8890
8890
|
*/
|
|
8891
|
-
onClick:
|
|
8891
|
+
onClick: g.func,
|
|
8892
8892
|
/**
|
|
8893
8893
|
* The content to be rendered when the Card Action Icon Button is toggled off. Expects a string, but a valid custom icon is accepted. The typical use case for a toggle button would be to set an Icon for `toggleOn` and `toggleOff`, leaving children blank.
|
|
8894
8894
|
*
|
|
8895
8895
|
* Defaults to **null**.
|
|
8896
8896
|
*/
|
|
8897
|
-
toggleOff:
|
|
8897
|
+
toggleOff: g.node,
|
|
8898
8898
|
/**
|
|
8899
8899
|
* The `aria-label` value to be read by a screen-reader when the button is toggled off. Example 'Add to Favorites'. Alternatively, `toggleOffAriaLabelledBy` may be used instead.
|
|
8900
8900
|
*
|
|
8901
8901
|
* Defaults to **null**.
|
|
8902
8902
|
*/
|
|
8903
|
-
toggleOffAriaLabel:
|
|
8903
|
+
toggleOffAriaLabel: g.string,
|
|
8904
8904
|
/**
|
|
8905
8905
|
* The `aria-labelledby`value when the button is toggled on. This should be the `id `of a parent element to be read by a screen reader instead of `aria-label`.
|
|
8906
8906
|
*
|
|
8907
8907
|
* Defaults to **null**.
|
|
8908
8908
|
*/
|
|
8909
|
-
toggleOffAriaLabelledBy:
|
|
8909
|
+
toggleOffAriaLabelledBy: g.string,
|
|
8910
8910
|
/**
|
|
8911
8911
|
* The content to be rendered when the Card Action Icon Button is toggled on. Expects a string, but a valid custom icon is accepted. The typical use case for a toggle button would be to set an Icon for `toggleOn` and `toggleOff`, leaving children blank.
|
|
8912
8912
|
*
|
|
8913
8913
|
* Defaults to **null**.
|
|
8914
8914
|
*/
|
|
8915
|
-
toggleOn:
|
|
8915
|
+
toggleOn: g.node,
|
|
8916
8916
|
/**
|
|
8917
8917
|
* The `aria-label` value to be read by a screen-reader when the button is toggled on. Example 'Remove from Favorites'. Alternatively, `toggleOnAriaLabelledBy` may be used instead.
|
|
8918
8918
|
*
|
|
8919
8919
|
* Defaults to **null**.
|
|
8920
8920
|
*/
|
|
8921
|
-
toggleOnAriaLabel:
|
|
8921
|
+
toggleOnAriaLabel: g.string,
|
|
8922
8922
|
/**
|
|
8923
8923
|
* The `aria-labelledby`value when the button is toggled on. This should be the `id` of a parent element to be read by a screen reader instead of `aria-label`.
|
|
8924
8924
|
*
|
|
8925
8925
|
* Defaults to **null**.
|
|
8926
8926
|
*/
|
|
8927
|
-
toggleOnAriaLabelledBy:
|
|
8927
|
+
toggleOnAriaLabelledBy: g.string,
|
|
8928
8928
|
/**
|
|
8929
8929
|
* Variants prefixed with `filled-` will add a background color to the icon according to the theme. Variants prefixed with ` color-` will change the color of the icon according to the theme.
|
|
8930
8930
|
*
|
|
8931
8931
|
* Defaults to **empty string**.
|
|
8932
8932
|
*/
|
|
8933
|
-
variant: Ce(
|
|
8933
|
+
variant: Ce(g.oneOf(["", "filled-danger-alt", "filled-danger", "filled-primary", "filled-secondary", "color-primary", "color-secondary", "color-on-dark"]), ["primary-alt", "secondary-alt", "primary", "danger-alt", "danger"], "CardActionIcon", "Please use one of '','filled-danger-alt','filled-danger','filled-primary','filled-secondary','color-primary','color-secondary','color-on-dark'.")
|
|
8934
8934
|
}, sb = {
|
|
8935
8935
|
active: !1,
|
|
8936
8936
|
ariaLabel: null,
|
|
@@ -8951,19 +8951,19 @@ const tb = G9 && typeof window.ResizeObserver < "u" ? eb : function() {
|
|
|
8951
8951
|
*
|
|
8952
8952
|
* Defaults to **null**.
|
|
8953
8953
|
*/
|
|
8954
|
-
actionButtons:
|
|
8954
|
+
actionButtons: g.node,
|
|
8955
8955
|
/**
|
|
8956
8956
|
* Add icons to card actions.
|
|
8957
8957
|
*
|
|
8958
8958
|
* Defaults to **null**.
|
|
8959
8959
|
*/
|
|
8960
|
-
actionIcons:
|
|
8960
|
+
actionIcons: g.node,
|
|
8961
8961
|
/**
|
|
8962
8962
|
* Aligns action buttons and icon buttons. 'center' and 'trailing' only allow buttons.
|
|
8963
8963
|
*
|
|
8964
8964
|
* Defaults to **'leading'**.
|
|
8965
8965
|
*/
|
|
8966
|
-
alignment:
|
|
8966
|
+
alignment: g.oneOf(["leading", "center", "trailing"])
|
|
8967
8967
|
}, ub = {
|
|
8968
8968
|
actionButtons: null,
|
|
8969
8969
|
actionIcons: null,
|
|
@@ -8974,19 +8974,19 @@ const tb = G9 && typeof window.ResizeObserver < "u" ? eb : function() {
|
|
|
8974
8974
|
*
|
|
8975
8975
|
* Defaults to **null**.
|
|
8976
8976
|
*/
|
|
8977
|
-
children:
|
|
8977
|
+
children: g.node,
|
|
8978
8978
|
/**
|
|
8979
8979
|
* Background color of the card body. It is recommended to set to the Card themeColor to transparent if setting the Card Body color.
|
|
8980
8980
|
*
|
|
8981
8981
|
* Defaults to **'surface'**.
|
|
8982
8982
|
*/
|
|
8983
|
-
themeColor:
|
|
8983
|
+
themeColor: g.oneOf(["surface", "surface-variant", "primary", "primary-variant", "primary-50", "primary-100", "primary-200", "primary-300", "primary-400", "primary-500", "primary-600", "primary-700", "primary-800", "primary-900", "secondary", "secondary-variant", "secondary-50", "secondary-100", "secondary-200", "secondary-300", "secondary-400", "secondary-500", "secondary-600", "secondary-700", "secondary-800", "secondary-900", "danger", "danger-variant", "danger-50", "danger-100", "danger-200", "danger-300", "danger-400", "danger-500", "danger-600", "danger-700", "danger-800", "danger-900", "ancillary-100", "ancillary-200", "ancillary-300", "ancillary-400", "ancillary-500", "ancillary-600", "ancillary-700", "ancillary-800", "ancillary-900"]),
|
|
8984
8984
|
/**
|
|
8985
8985
|
* Sets typography class for Card Body. This can be overwritten by the children markup
|
|
8986
8986
|
*
|
|
8987
8987
|
* Defaults to **'body2'**.
|
|
8988
8988
|
*/
|
|
8989
|
-
typographyType: Ce(
|
|
8989
|
+
typographyType: Ce(g.oneOf(["body1", "body2", "button", "caption", "display1", "display2", "display3", "display4", "display5", "display6", "overline", "subtitle1", "subtitle2"]), ["headline1", "headline2", "headline3", "headline4", "headline5", "headline6"], "CardBody", "Please use one of 'body1','body2','button','caption','display1','display2','display3','display4','display5','display6','overline','subtitle1','subtitle2'.")
|
|
8990
8990
|
}, db = {
|
|
8991
8991
|
children: null,
|
|
8992
8992
|
themeColor: "surface",
|
|
@@ -8997,7 +8997,7 @@ const tb = G9 && typeof window.ResizeObserver < "u" ? eb : function() {
|
|
|
8997
8997
|
*
|
|
8998
8998
|
* Defaults to **null**.
|
|
8999
8999
|
*/
|
|
9000
|
-
children:
|
|
9000
|
+
children: g.node
|
|
9001
9001
|
}, pb = {
|
|
9002
9002
|
children: null
|
|
9003
9003
|
}, hb = {
|
|
@@ -9006,13 +9006,13 @@ const tb = G9 && typeof window.ResizeObserver < "u" ? eb : function() {
|
|
|
9006
9006
|
*
|
|
9007
9007
|
* Defaults to **'on-surface-stroke'**.
|
|
9008
9008
|
*/
|
|
9009
|
-
dividerThemeColor:
|
|
9009
|
+
dividerThemeColor: g.oneOf(["null", "on-surface-stroke", "primary", "primary-variant", "primary-50", "primary-100", "primary-200", "primary-300", "primary-400", "primary-500", "primary-600", "primary-700", "primary-800", "primary-900", "secondary", "secondary-variant", "secondary-50", "secondary-100", "secondary-200", "secondary-300", "secondary-400", "secondary-500", "secondary-600", "secondary-700", "secondary-800", "secondary-900", "danger", "danger-variant", "danger-50", "danger-100", "danger-200", "danger-300", "danger-400", "danger-500", "danger-600", "danger-700", "danger-800", "danger-900", "ancillary-100", "ancillary-200", "ancillary-300", "ancillary-400"]),
|
|
9010
9010
|
/**
|
|
9011
9011
|
* Choose between dense and tall variants.
|
|
9012
9012
|
*
|
|
9013
9013
|
* Defaults to **'dense'**.
|
|
9014
9014
|
*/
|
|
9015
|
-
dividerVariant:
|
|
9015
|
+
dividerVariant: g.oneOf(["dense", "tall"])
|
|
9016
9016
|
}, gb = {
|
|
9017
9017
|
dividerThemeColor: "on-surface-stroke",
|
|
9018
9018
|
dividerVariant: "dense"
|
|
@@ -9022,19 +9022,19 @@ const tb = G9 && typeof window.ResizeObserver < "u" ? eb : function() {
|
|
|
9022
9022
|
*
|
|
9023
9023
|
* Defaults to **null**.
|
|
9024
9024
|
*/
|
|
9025
|
-
children:
|
|
9025
|
+
children: g.node,
|
|
9026
9026
|
/**
|
|
9027
9027
|
* The css class name to be passed through to the component markup.
|
|
9028
9028
|
*
|
|
9029
9029
|
* Defaults to **undefined**.
|
|
9030
9030
|
*/
|
|
9031
|
-
className:
|
|
9031
|
+
className: g.string,
|
|
9032
9032
|
/**
|
|
9033
9033
|
* Type of filter being used.
|
|
9034
9034
|
*
|
|
9035
9035
|
* Defaults to **'tabs'**.
|
|
9036
9036
|
*/
|
|
9037
|
-
filterType:
|
|
9037
|
+
filterType: g.oneOf(["tabs", "chips", "select", "select-2"])
|
|
9038
9038
|
}, yb = {
|
|
9039
9039
|
children: null,
|
|
9040
9040
|
className: void 0,
|
|
@@ -9045,19 +9045,19 @@ const tb = G9 && typeof window.ResizeObserver < "u" ? eb : function() {
|
|
|
9045
9045
|
*
|
|
9046
9046
|
* Defaults to **null**.
|
|
9047
9047
|
*/
|
|
9048
|
-
children:
|
|
9048
|
+
children: g.node,
|
|
9049
9049
|
/**
|
|
9050
9050
|
* The css class name to be passed through to the component markup.
|
|
9051
9051
|
*
|
|
9052
9052
|
* Defaults to **undefined**.
|
|
9053
9053
|
*/
|
|
9054
|
-
className:
|
|
9054
|
+
className: g.string,
|
|
9055
9055
|
/**
|
|
9056
9056
|
* Changes which side of content the Card side media renders on. Improves layout for right-to-left languages.
|
|
9057
9057
|
*
|
|
9058
9058
|
* Defaults to **false**.
|
|
9059
9059
|
*/
|
|
9060
|
-
rtl:
|
|
9060
|
+
rtl: g.bool
|
|
9061
9061
|
}, bb = {
|
|
9062
9062
|
children: null,
|
|
9063
9063
|
className: void 0,
|
|
@@ -9068,19 +9068,19 @@ const tb = G9 && typeof window.ResizeObserver < "u" ? eb : function() {
|
|
|
9068
9068
|
*
|
|
9069
9069
|
* Defaults to **null**.
|
|
9070
9070
|
*/
|
|
9071
|
-
mediaUrl:
|
|
9071
|
+
mediaUrl: g.string,
|
|
9072
9072
|
/**
|
|
9073
9073
|
* Applies aspect ratio style to the card media.
|
|
9074
9074
|
*
|
|
9075
9075
|
* Defaults to **'square'**.
|
|
9076
9076
|
*/
|
|
9077
|
-
ratio:
|
|
9077
|
+
ratio: g.oneOf(["square"]),
|
|
9078
9078
|
/**
|
|
9079
9079
|
* Width for Card media
|
|
9080
9080
|
*
|
|
9081
9081
|
* Defaults to **'30%'**.
|
|
9082
9082
|
*/
|
|
9083
|
-
width:
|
|
9083
|
+
width: g.oneOfType([g.number, g.string])
|
|
9084
9084
|
}, xb = {
|
|
9085
9085
|
mediaUrl: null,
|
|
9086
9086
|
ratio: "square",
|
|
@@ -9091,37 +9091,37 @@ const tb = G9 && typeof window.ResizeObserver < "u" ? eb : function() {
|
|
|
9091
9091
|
*
|
|
9092
9092
|
* Defaults to **null**.
|
|
9093
9093
|
*/
|
|
9094
|
-
children:
|
|
9094
|
+
children: g.node,
|
|
9095
9095
|
/**
|
|
9096
9096
|
* Adjust placement of the media content.
|
|
9097
9097
|
*
|
|
9098
9098
|
* Defaults to **'bottom'**.
|
|
9099
9099
|
*/
|
|
9100
|
-
contentPlacement:
|
|
9100
|
+
contentPlacement: g.oneOf(["bottom", "top"]),
|
|
9101
9101
|
/**
|
|
9102
9102
|
* Image Url for card background image
|
|
9103
9103
|
*
|
|
9104
9104
|
* Defaults to **null**.
|
|
9105
9105
|
*/
|
|
9106
|
-
imageUrl:
|
|
9106
|
+
imageUrl: g.string,
|
|
9107
9107
|
/**
|
|
9108
9108
|
* Adds an overlay over to the Card Media.
|
|
9109
9109
|
*
|
|
9110
9110
|
* Defaults to **false**.
|
|
9111
9111
|
*/
|
|
9112
|
-
overlay:
|
|
9112
|
+
overlay: g.bool,
|
|
9113
9113
|
/**
|
|
9114
9114
|
* Overlay theme color.
|
|
9115
9115
|
*
|
|
9116
9116
|
* Defaults to **'dark'**.
|
|
9117
9117
|
*/
|
|
9118
|
-
overlayThemeColor:
|
|
9118
|
+
overlayThemeColor: g.oneOf(["dark", "light", "surface", "linear-gradient-white-to-bottom", "linear-gradient-white-to-top", "linear-gradient-black-to-bottom", "linear-gradient-black-to-top", "linear-gradient-primary-dark-to-bottom", "linear-gradient-primary-dark-to-top", "linear-gradient-primary-darker-to-bottom", "linear-gradient-primary-darker-to-top", "linear-gradient-primary-to-bottom", "linear-gradient-primary-to-top", "linear-gradient-secondary-dark-to-bottom", "linear-gradient-secondary-dark-to-top", "linear-gradient-secondary-darker-to-bottom", "linear-gradient-secondary-darker-to-top", "linear-gradient-secondary-to-bottom", "linear-gradient-secondary-to-top"]),
|
|
9119
9119
|
/**
|
|
9120
9120
|
* Applies aspect ratio style to the card media.
|
|
9121
9121
|
*
|
|
9122
9122
|
* Defaults to **'square'**.
|
|
9123
9123
|
*/
|
|
9124
|
-
ratio:
|
|
9124
|
+
ratio: g.oneOf(["square", "sixteen-nine", "four-three", "four-five", "two-one"])
|
|
9125
9125
|
}, wb = {
|
|
9126
9126
|
children: null,
|
|
9127
9127
|
contentPlacement: "bottom",
|
|
@@ -9135,25 +9135,25 @@ const tb = G9 && typeof window.ResizeObserver < "u" ? eb : function() {
|
|
|
9135
9135
|
*
|
|
9136
9136
|
* Defaults to **null**.
|
|
9137
9137
|
*/
|
|
9138
|
-
children:
|
|
9138
|
+
children: g.node,
|
|
9139
9139
|
/**
|
|
9140
9140
|
* The css class name to be passed through to the component markup.
|
|
9141
9141
|
*
|
|
9142
9142
|
* Defaults to **undefined**.
|
|
9143
9143
|
*/
|
|
9144
|
-
className:
|
|
9144
|
+
className: g.string,
|
|
9145
9145
|
/**
|
|
9146
9146
|
* Overlay theme color.
|
|
9147
9147
|
*
|
|
9148
9148
|
* Defaults to **'dark'**.
|
|
9149
9149
|
*/
|
|
9150
|
-
overlayThemeColor:
|
|
9150
|
+
overlayThemeColor: g.oneOf(["dark", "light", "surface", "linear-gradient-white-to-bottom", "linear-gradient-white-to-top", "linear-gradient-black-to-bottom", "linear-gradient-black-to-top", "linear-gradient-primary-dark-to-bottom", "linear-gradient-primary-dark-to-top", "linear-gradient-primary-darker-to-bottom", "linear-gradient-primary-darker-to-top", "linear-gradient-primary-to-bottom", "linear-gradient-primary-to-top", "linear-gradient-secondary-dark-to-bottom", "linear-gradient-secondary-dark-to-top", "linear-gradient-secondary-darker-to-bottom", "linear-gradient-secondary-darker-to-top", "linear-gradient-secondary-to-bottom", "linear-gradient-secondary-to-top"]),
|
|
9151
9151
|
/**
|
|
9152
9152
|
* Position of the Overlay. Use `overlayThemeColor` to change the theme color. If set to leading or trailing be sure to set `alignment` on Card accordingly to have Card Content over the overlay.
|
|
9153
9153
|
*
|
|
9154
9154
|
* Defaults to **'full'**.
|
|
9155
9155
|
*/
|
|
9156
|
-
position:
|
|
9156
|
+
position: g.oneOf(["full", "leading", "trailing"])
|
|
9157
9157
|
}, kb = {
|
|
9158
9158
|
children: null,
|
|
9159
9159
|
className: void 0,
|
|
@@ -9165,19 +9165,19 @@ const tb = G9 && typeof window.ResizeObserver < "u" ? eb : function() {
|
|
|
9165
9165
|
*
|
|
9166
9166
|
* Defaults to **null**.
|
|
9167
9167
|
*/
|
|
9168
|
-
children:
|
|
9168
|
+
children: g.node,
|
|
9169
9169
|
/**
|
|
9170
9170
|
* The primary interaction event for card.
|
|
9171
9171
|
*
|
|
9172
9172
|
* Defaults to **null**.
|
|
9173
9173
|
*/
|
|
9174
|
-
onClick:
|
|
9174
|
+
onClick: g.func,
|
|
9175
9175
|
/**
|
|
9176
9176
|
* By default a div will be rendered, this allows another tag/component to be used instead. A block type element/component is suggested.
|
|
9177
9177
|
*
|
|
9178
9178
|
* Defaults to **'div'**.
|
|
9179
9179
|
*/
|
|
9180
|
-
tag:
|
|
9180
|
+
tag: g.oneOfType([g.string, g.elementType, g.instanceOf(S.Component)])
|
|
9181
9181
|
}, Eb = {
|
|
9182
9182
|
children: null,
|
|
9183
9183
|
tag: "div"
|
|
@@ -9187,73 +9187,73 @@ const tb = G9 && typeof window.ResizeObserver < "u" ? eb : function() {
|
|
|
9187
9187
|
*
|
|
9188
9188
|
* Defaults to **undefined**.
|
|
9189
9189
|
*/
|
|
9190
|
-
className:
|
|
9190
|
+
className: g.string,
|
|
9191
9191
|
/**
|
|
9192
9192
|
* Content to be displayed in the leading block container. See README for types supported.
|
|
9193
9193
|
*
|
|
9194
9194
|
* Defaults to **null**.
|
|
9195
9195
|
*/
|
|
9196
|
-
leadingBlock: i2(
|
|
9196
|
+
leadingBlock: i2(g.node, "CardTitle", "leadingBlockType"),
|
|
9197
9197
|
/**
|
|
9198
9198
|
* The type of media that will render in the leading block. See README for size constraints.
|
|
9199
9199
|
*
|
|
9200
9200
|
* Defaults to **empty string**.
|
|
9201
9201
|
*/
|
|
9202
|
-
leadingBlockType:
|
|
9202
|
+
leadingBlockType: g.oneOf(["", "avatar", "icon", "icon-with-background", "thumbnail"]),
|
|
9203
9203
|
/**
|
|
9204
9204
|
* Content to be displayed in the Overline text of the title. Expects a string, but can be any valid markup.
|
|
9205
9205
|
*
|
|
9206
9206
|
* Defaults to **null**.
|
|
9207
9207
|
*/
|
|
9208
|
-
overlineText:
|
|
9208
|
+
overlineText: g.node,
|
|
9209
9209
|
/**
|
|
9210
9210
|
* Where title appears in card.
|
|
9211
9211
|
*
|
|
9212
9212
|
* Defaults to **'top'**.
|
|
9213
9213
|
*/
|
|
9214
|
-
placement:
|
|
9214
|
+
placement: g.oneOf(["top", "middle", "bottom"]),
|
|
9215
9215
|
/**
|
|
9216
9216
|
* Content to be displayed in the Primary text of the title. Expects a string, but can be any valid markup.
|
|
9217
9217
|
*
|
|
9218
9218
|
* Defaults to **null**.
|
|
9219
9219
|
*/
|
|
9220
|
-
primaryText:
|
|
9220
|
+
primaryText: g.node,
|
|
9221
9221
|
/**
|
|
9222
9222
|
* Content to be displayed in the Secondary text of the title. Expects a string, but can be any valid markup.
|
|
9223
9223
|
*
|
|
9224
9224
|
* Defaults to **null**.
|
|
9225
9225
|
*/
|
|
9226
|
-
secondaryText:
|
|
9226
|
+
secondaryText: g.node,
|
|
9227
9227
|
/**
|
|
9228
9228
|
* Prop that makes card title stackable.
|
|
9229
9229
|
*
|
|
9230
9230
|
* Defaults to **false**.
|
|
9231
9231
|
*/
|
|
9232
|
-
stacked:
|
|
9232
|
+
stacked: g.bool,
|
|
9233
9233
|
/**
|
|
9234
9234
|
* Content to be displayed in the Secondary text of the title and could be used to make Card title stackable. Expects a string, but can be any valid markup.
|
|
9235
9235
|
*
|
|
9236
9236
|
* Defaults to **null**.
|
|
9237
9237
|
*/
|
|
9238
|
-
stackedSecondaryText:
|
|
9238
|
+
stackedSecondaryText: g.node,
|
|
9239
9239
|
/**
|
|
9240
9240
|
* Background color of the `CardTitle`.
|
|
9241
9241
|
*
|
|
9242
9242
|
* Defaults to **'surface'**.
|
|
9243
9243
|
*/
|
|
9244
|
-
themeColor:
|
|
9244
|
+
themeColor: g.oneOf(["surface", "primary", "secondary"]),
|
|
9245
9245
|
/**
|
|
9246
9246
|
* Content to be displayed in the trailing block container. See README for types supported.
|
|
9247
9247
|
*
|
|
9248
9248
|
* Defaults to **null**.
|
|
9249
9249
|
*/
|
|
9250
|
-
trailingBlock: i2(
|
|
9250
|
+
trailingBlock: i2(g.node, "CardTitle", "trailingBlockType"),
|
|
9251
9251
|
/**
|
|
9252
9252
|
* The type of media that will render in the trailing block. See README for size constraints.
|
|
9253
9253
|
*
|
|
9254
9254
|
* Defaults to **empty string**.
|
|
9255
9255
|
*/
|
|
9256
|
-
trailingBlockType:
|
|
9256
|
+
trailingBlockType: g.oneOf(["", "title-actions", "avatar", "badge", "icon", "icon-with-background", "thumbnail"])
|
|
9257
9257
|
}, Lb = {
|
|
9258
9258
|
className: void 0,
|
|
9259
9259
|
leadingBlock: null,
|
|
@@ -9284,8 +9284,8 @@ const tb = G9 && typeof window.ResizeObserver < "u" ? eb : function() {
|
|
|
9284
9284
|
height: i,
|
|
9285
9285
|
direction: o,
|
|
9286
9286
|
...u
|
|
9287
|
-
}),
|
|
9288
|
-
return oe(e, () =>
|
|
9287
|
+
}), h = re();
|
|
9288
|
+
return oe(e, () => h.current, []), pe(() => {
|
|
9289
9289
|
m({
|
|
9290
9290
|
height: i,
|
|
9291
9291
|
// display: 'flex', do we need this?
|
|
@@ -9293,7 +9293,7 @@ const tb = G9 && typeof window.ResizeObserver < "u" ? eb : function() {
|
|
|
9293
9293
|
...u
|
|
9294
9294
|
});
|
|
9295
9295
|
}, [i, o, u]), /* @__PURE__ */ S.createElement("div", J({
|
|
9296
|
-
ref:
|
|
9296
|
+
ref: h,
|
|
9297
9297
|
className: ae("lmnt", "lmnt-card", "mdc-card", f === "outlined" && "mdc-card--outlined", f === "flat" && "lmnt-card--flat", f === "raised" && "lmnt-card--raised", s && "lmnt-card--loading", `lmnt-card--${n}`, `lmnt-theme-${c}-bg`, a),
|
|
9298
9298
|
style: d
|
|
9299
9299
|
}, p), r);
|
|
@@ -9349,14 +9349,14 @@ const Ic = /* @__PURE__ */ ne((t, e) => {
|
|
|
9349
9349
|
toggleOn: p,
|
|
9350
9350
|
toggleOnAriaLabel: d,
|
|
9351
9351
|
toggleOnAriaLabelledBy: m,
|
|
9352
|
-
variant:
|
|
9352
|
+
variant: h,
|
|
9353
9353
|
...C
|
|
9354
9354
|
} = t, O = vt(() => typeof o == "string" ? /* @__PURE__ */ S.createElement(Xe, {
|
|
9355
9355
|
icon: o
|
|
9356
9356
|
}) : o, [o]);
|
|
9357
9357
|
return /* @__PURE__ */ S.createElement($r, J({
|
|
9358
9358
|
ref: e,
|
|
9359
|
-
variant:
|
|
9359
|
+
variant: h,
|
|
9360
9360
|
disabled: s,
|
|
9361
9361
|
onClick: l,
|
|
9362
9362
|
ariaLabel: r,
|
|
@@ -10591,7 +10591,7 @@ function m5() {
|
|
|
10591
10591
|
if (N0) return Tl;
|
|
10592
10592
|
N0 = 1;
|
|
10593
10593
|
var t = /* @__PURE__ */ Ze(), e = /* @__PURE__ */ fC(), n = /* @__PURE__ */ r5(), r = /* @__PURE__ */ wt(), a = _C().f, o = /* @__PURE__ */ EC(), i = /* @__PURE__ */ Hr(), s = /* @__PURE__ */ SC(), l = /* @__PURE__ */ PC(), u = /* @__PURE__ */ Sn(), c = function(f) {
|
|
10594
|
-
var p = function(d, m,
|
|
10594
|
+
var p = function(d, m, h) {
|
|
10595
10595
|
if (this instanceof p) {
|
|
10596
10596
|
switch (arguments.length) {
|
|
10597
10597
|
case 0:
|
|
@@ -10601,16 +10601,16 @@ function m5() {
|
|
|
10601
10601
|
case 2:
|
|
10602
10602
|
return new f(d, m);
|
|
10603
10603
|
}
|
|
10604
|
-
return new f(d, m,
|
|
10604
|
+
return new f(d, m, h);
|
|
10605
10605
|
}
|
|
10606
10606
|
return e(f, this, arguments);
|
|
10607
10607
|
};
|
|
10608
10608
|
return p.prototype = f.prototype, p;
|
|
10609
10609
|
};
|
|
10610
10610
|
return Tl = function(f, p) {
|
|
10611
|
-
var d = f.target, m = f.global,
|
|
10611
|
+
var d = f.target, m = f.global, h = f.stat, C = f.proto, O = m ? t : h ? t[d] : t[d] && t[d].prototype, w = m ? i : i[d] || l(i, d, {})[d], T = w.prototype, x, y, L, _, $, N, P, E, Z;
|
|
10612
10612
|
for (_ in p)
|
|
10613
|
-
x = o(m ? _ : d + (
|
|
10613
|
+
x = o(m ? _ : d + (h ? "." : "#") + _, f.forced), y = !x && O && u(O, _), N = w[_], y && (f.dontCallGetSet ? (Z = a(O, _), P = Z && Z.value) : P = O[_]), $ = y && P ? P : p[_], !(!x && !C && typeof N == typeof $) && (f.bind && y ? E = s($, t) : f.wrap && y ? E = c($) : C && r($) ? E = n($) : E = $, (f.sham || $ && $.sham || N && N.sham) && l(E, "sham", !0), l(w, _, E), C && (L = d + "Prototype", u(i, L) || l(i, L, {}), l(i[L], _, $), f.real && T && (x || !T[_]) && l(T, _, $)));
|
|
10614
10614
|
}, Tl;
|
|
10615
10615
|
}
|
|
10616
10616
|
var Al, M0;
|
|
@@ -10744,12 +10744,12 @@ function FC() {
|
|
|
10744
10744
|
});
|
|
10745
10745
|
}
|
|
10746
10746
|
}), { b: 2 })).b !== 1) return !0;
|
|
10747
|
-
var p = {}, d = {}, m = Symbol("assign detection"),
|
|
10748
|
-
return p[m] = 7,
|
|
10747
|
+
var p = {}, d = {}, m = Symbol("assign detection"), h = "abcdefghijklmnopqrst";
|
|
10748
|
+
return p[m] = 7, h.split("").forEach(function(C) {
|
|
10749
10749
|
d[C] = C;
|
|
10750
|
-
}), u({}, p)[m] !== 7 || a(u({}, d)).join("") !==
|
|
10750
|
+
}), u({}, p)[m] !== 7 || a(u({}, d)).join("") !== h;
|
|
10751
10751
|
}) ? function(p, d) {
|
|
10752
|
-
for (var m = s(p),
|
|
10752
|
+
for (var m = s(p), h = arguments.length, C = 1, O = o.f, w = i.f; h > C; )
|
|
10753
10753
|
for (var T = l(arguments[C++]), x = O ? f(a(T), O(T)) : a(T), y = x.length, L = 0, _; y > L; )
|
|
10754
10754
|
_ = x[L++], (!t || n(w, T, _)) && (m[_] = T[_]);
|
|
10755
10755
|
return m;
|
|
@@ -10811,17 +10811,17 @@ function YC() {
|
|
|
10811
10811
|
ig = 1;
|
|
10812
10812
|
var t = /* @__PURE__ */ Fe(), e = /* @__PURE__ */ Xc(), n = /* @__PURE__ */ En(), r = /* @__PURE__ */ Sn(), a = /* @__PURE__ */ JC(), o = /* @__PURE__ */ _n(), i = Function, s = t([].concat), l = t([].join), u = {}, c = function(f, p, d) {
|
|
10813
10813
|
if (!r(u, p)) {
|
|
10814
|
-
for (var m = [],
|
|
10814
|
+
for (var m = [], h = 0; h < p; h++) m[h] = "a[" + h + "]";
|
|
10815
10815
|
u[p] = i("C,a", "return new C(" + l(m, ",") + ")");
|
|
10816
10816
|
}
|
|
10817
10817
|
return u[p](f, d);
|
|
10818
10818
|
};
|
|
10819
10819
|
return Ul = o ? i.bind : function(f) {
|
|
10820
|
-
var p = e(this), d = p.prototype, m = a(arguments, 1),
|
|
10820
|
+
var p = e(this), d = p.prototype, m = a(arguments, 1), h = function() {
|
|
10821
10821
|
var C = s(m, a(arguments));
|
|
10822
|
-
return this instanceof
|
|
10822
|
+
return this instanceof h ? c(p, C.length, C) : p.apply(f, C);
|
|
10823
10823
|
};
|
|
10824
|
-
return n(d) && (
|
|
10824
|
+
return n(d) && (h.prototype = d), h;
|
|
10825
10825
|
}, Ul;
|
|
10826
10826
|
}
|
|
10827
10827
|
var sg;
|
|
@@ -10923,7 +10923,7 @@ var mg;
|
|
|
10923
10923
|
function ux() {
|
|
10924
10924
|
if (mg) return le;
|
|
10925
10925
|
mg = 1;
|
|
10926
|
-
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, i = t ? Symbol.for("react.provider") : 60109, s = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, c = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, d = t ? Symbol.for("react.memo") : 60115, m = t ? Symbol.for("react.lazy") : 60116,
|
|
10926
|
+
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, i = t ? Symbol.for("react.provider") : 60109, s = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, c = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, d = t ? Symbol.for("react.memo") : 60115, m = t ? Symbol.for("react.lazy") : 60116, h = t ? Symbol.for("react.block") : 60121, C = t ? Symbol.for("react.fundamental") : 60117, O = t ? Symbol.for("react.responder") : 60118, w = t ? Symbol.for("react.scope") : 60119;
|
|
10927
10927
|
function T(y) {
|
|
10928
10928
|
if (typeof y == "object" && y !== null) {
|
|
10929
10929
|
var L = y.$$typeof;
|
|
@@ -10982,7 +10982,7 @@ function ux() {
|
|
|
10982
10982
|
}, le.isSuspense = function(y) {
|
|
10983
10983
|
return T(y) === f;
|
|
10984
10984
|
}, le.isValidElementType = function(y) {
|
|
10985
|
-
return typeof y == "string" || typeof y == "function" || y === r || y === u || y === o || y === a || y === f || y === p || typeof y == "object" && y !== null && (y.$$typeof === m || y.$$typeof === d || y.$$typeof === i || y.$$typeof === s || y.$$typeof === c || y.$$typeof === C || y.$$typeof === O || y.$$typeof === w || y.$$typeof ===
|
|
10985
|
+
return typeof y == "string" || typeof y == "function" || y === r || y === u || y === o || y === a || y === f || y === p || typeof y == "object" && y !== null && (y.$$typeof === m || y.$$typeof === d || y.$$typeof === i || y.$$typeof === s || y.$$typeof === c || y.$$typeof === C || y.$$typeof === O || y.$$typeof === w || y.$$typeof === h);
|
|
10986
10986
|
}, le.typeOf = T, le;
|
|
10987
10987
|
}
|
|
10988
10988
|
var ce = {};
|
|
@@ -10997,10 +10997,10 @@ var ce = {};
|
|
|
10997
10997
|
var yg;
|
|
10998
10998
|
function cx() {
|
|
10999
10999
|
return yg || (yg = 1, process.env.NODE_ENV !== "production" && function() {
|
|
11000
|
-
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, i = t ? Symbol.for("react.provider") : 60109, s = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, c = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, d = t ? Symbol.for("react.memo") : 60115, m = t ? Symbol.for("react.lazy") : 60116,
|
|
11000
|
+
var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, n = t ? Symbol.for("react.portal") : 60106, r = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, i = t ? Symbol.for("react.provider") : 60109, s = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, c = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, d = t ? Symbol.for("react.memo") : 60115, m = t ? Symbol.for("react.lazy") : 60116, h = t ? Symbol.for("react.block") : 60121, C = t ? Symbol.for("react.fundamental") : 60117, O = t ? Symbol.for("react.responder") : 60118, w = t ? Symbol.for("react.scope") : 60119;
|
|
11001
11001
|
function T(A) {
|
|
11002
11002
|
return typeof A == "string" || typeof A == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
11003
|
-
A === r || A === u || A === o || A === a || A === f || A === p || typeof A == "object" && A !== null && (A.$$typeof === m || A.$$typeof === d || A.$$typeof === i || A.$$typeof === s || A.$$typeof === c || A.$$typeof === C || A.$$typeof === O || A.$$typeof === w || A.$$typeof ===
|
|
11003
|
+
A === r || A === u || A === o || A === a || A === f || A === p || typeof A == "object" && A !== null && (A.$$typeof === m || A.$$typeof === d || A.$$typeof === i || A.$$typeof === s || A.$$typeof === c || A.$$typeof === C || A.$$typeof === O || A.$$typeof === w || A.$$typeof === h);
|
|
11004
11004
|
}
|
|
11005
11005
|
function x(A) {
|
|
11006
11006
|
if (typeof A == "object" && A !== null) {
|
|
@@ -11240,10 +11240,10 @@ function px() {
|
|
|
11240
11240
|
function m(v, k) {
|
|
11241
11241
|
return v === k ? v !== 0 || 1 / v === 1 / k : v !== v && k !== k;
|
|
11242
11242
|
}
|
|
11243
|
-
function
|
|
11243
|
+
function h(v, k) {
|
|
11244
11244
|
this.message = v, this.data = k && typeof k == "object" ? k : {}, this.stack = "";
|
|
11245
11245
|
}
|
|
11246
|
-
|
|
11246
|
+
h.prototype = Error.prototype;
|
|
11247
11247
|
function C(v) {
|
|
11248
11248
|
if (process.env.NODE_ENV !== "production")
|
|
11249
11249
|
var k = {}, H = 0;
|
|
@@ -11262,7 +11262,7 @@ function px() {
|
|
|
11262
11262
|
), k[de] = !0, H++);
|
|
11263
11263
|
}
|
|
11264
11264
|
}
|
|
11265
|
-
return R[D] == null ? V ? R[D] === null ? new
|
|
11265
|
+
return R[D] == null ? V ? R[D] === null ? new h("The " + W + " `" + U + "` is marked as required " + ("in `" + I + "`, but its value is `null`.")) : new h("The " + W + " `" + U + "` is marked as required in " + ("`" + I + "`, but its value is `undefined`.")) : null : v(R, D, I, W, U);
|
|
11266
11266
|
}
|
|
11267
11267
|
var j = B.bind(null, !1);
|
|
11268
11268
|
return j.isRequired = B.bind(null, !0), j;
|
|
@@ -11272,7 +11272,7 @@ function px() {
|
|
|
11272
11272
|
var I = H[B], W = K(I);
|
|
11273
11273
|
if (W !== v) {
|
|
11274
11274
|
var U = G(I);
|
|
11275
|
-
return new
|
|
11275
|
+
return new h(
|
|
11276
11276
|
"Invalid " + V + " `" + R + "` of type " + ("`" + U + "` supplied to `" + j + "`, expected ") + ("`" + v + "`."),
|
|
11277
11277
|
{ expectedType: v }
|
|
11278
11278
|
);
|
|
@@ -11287,11 +11287,11 @@ function px() {
|
|
|
11287
11287
|
function T(v) {
|
|
11288
11288
|
function k(H, B, j, V, R) {
|
|
11289
11289
|
if (typeof v != "function")
|
|
11290
|
-
return new
|
|
11290
|
+
return new h("Property `" + R + "` of component `" + j + "` has invalid PropType notation inside arrayOf.");
|
|
11291
11291
|
var D = H[B];
|
|
11292
11292
|
if (!Array.isArray(D)) {
|
|
11293
11293
|
var I = K(D);
|
|
11294
|
-
return new
|
|
11294
|
+
return new h("Invalid " + V + " `" + R + "` of type " + ("`" + I + "` supplied to `" + j + "`, expected an array."));
|
|
11295
11295
|
}
|
|
11296
11296
|
for (var W = 0; W < D.length; W++) {
|
|
11297
11297
|
var U = v(D, W, j, V, R + "[" + W + "]", n);
|
|
@@ -11307,7 +11307,7 @@ function px() {
|
|
|
11307
11307
|
var R = k[H];
|
|
11308
11308
|
if (!s(R)) {
|
|
11309
11309
|
var D = K(R);
|
|
11310
|
-
return new
|
|
11310
|
+
return new h("Invalid " + j + " `" + V + "` of type " + ("`" + D + "` supplied to `" + B + "`, expected a single ReactElement."));
|
|
11311
11311
|
}
|
|
11312
11312
|
return null;
|
|
11313
11313
|
}
|
|
@@ -11318,7 +11318,7 @@ function px() {
|
|
|
11318
11318
|
var R = k[H];
|
|
11319
11319
|
if (!t.isValidElementType(R)) {
|
|
11320
11320
|
var D = K(R);
|
|
11321
|
-
return new
|
|
11321
|
+
return new h("Invalid " + j + " `" + V + "` of type " + ("`" + D + "` supplied to `" + B + "`, expected a single ReactElement type."));
|
|
11322
11322
|
}
|
|
11323
11323
|
return null;
|
|
11324
11324
|
}
|
|
@@ -11328,7 +11328,7 @@ function px() {
|
|
|
11328
11328
|
function k(H, B, j, V, R) {
|
|
11329
11329
|
if (!(H[B] instanceof v)) {
|
|
11330
11330
|
var D = v.name || p, I = Y(H[B]);
|
|
11331
|
-
return new
|
|
11331
|
+
return new h("Invalid " + V + " `" + R + "` of type " + ("`" + I + "` supplied to `" + j + "`, expected ") + ("instance of `" + D + "`."));
|
|
11332
11332
|
}
|
|
11333
11333
|
return null;
|
|
11334
11334
|
}
|
|
@@ -11347,17 +11347,17 @@ function px() {
|
|
|
11347
11347
|
var A = G(te);
|
|
11348
11348
|
return A === "symbol" ? String(te) : te;
|
|
11349
11349
|
});
|
|
11350
|
-
return new
|
|
11350
|
+
return new h("Invalid " + V + " `" + R + "` of value `" + String(D) + "` " + ("supplied to `" + j + "`, expected one of " + W + "."));
|
|
11351
11351
|
}
|
|
11352
11352
|
return C(k);
|
|
11353
11353
|
}
|
|
11354
11354
|
function $(v) {
|
|
11355
11355
|
function k(H, B, j, V, R) {
|
|
11356
11356
|
if (typeof v != "function")
|
|
11357
|
-
return new
|
|
11357
|
+
return new h("Property `" + R + "` of component `" + j + "` has invalid PropType notation inside objectOf.");
|
|
11358
11358
|
var D = H[B], I = K(D);
|
|
11359
11359
|
if (I !== "object")
|
|
11360
|
-
return new
|
|
11360
|
+
return new h("Invalid " + V + " `" + R + "` of type " + ("`" + I + "` supplied to `" + j + "`, expected an object."));
|
|
11361
11361
|
for (var W in D)
|
|
11362
11362
|
if (r(D, W)) {
|
|
11363
11363
|
var U = v(D, W, j, V, R + "." + W, n);
|
|
@@ -11386,18 +11386,18 @@ function px() {
|
|
|
11386
11386
|
A.data && r(A.data, "expectedType") && W.push(A.data.expectedType);
|
|
11387
11387
|
}
|
|
11388
11388
|
var de = W.length > 0 ? ", expected one of type [" + W.join(", ") + "]" : "";
|
|
11389
|
-
return new
|
|
11389
|
+
return new h("Invalid " + D + " `" + I + "` supplied to " + ("`" + R + "`" + de + "."));
|
|
11390
11390
|
}
|
|
11391
11391
|
return C(B);
|
|
11392
11392
|
}
|
|
11393
11393
|
function P() {
|
|
11394
11394
|
function v(k, H, B, j, V) {
|
|
11395
|
-
return Q(k[H]) ? null : new
|
|
11395
|
+
return Q(k[H]) ? null : new h("Invalid " + j + " `" + V + "` supplied to " + ("`" + B + "`, expected a ReactNode."));
|
|
11396
11396
|
}
|
|
11397
11397
|
return C(v);
|
|
11398
11398
|
}
|
|
11399
11399
|
function E(v, k, H, B, j) {
|
|
11400
|
-
return new
|
|
11400
|
+
return new h(
|
|
11401
11401
|
(v || "React class") + ": " + k + " type `" + H + "." + B + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + j + "`."
|
|
11402
11402
|
);
|
|
11403
11403
|
}
|
|
@@ -11405,7 +11405,7 @@ function px() {
|
|
|
11405
11405
|
function k(H, B, j, V, R) {
|
|
11406
11406
|
var D = H[B], I = K(D);
|
|
11407
11407
|
if (I !== "object")
|
|
11408
|
-
return new
|
|
11408
|
+
return new h("Invalid " + V + " `" + R + "` of type `" + I + "` " + ("supplied to `" + j + "`, expected `object`."));
|
|
11409
11409
|
for (var W in v) {
|
|
11410
11410
|
var U = v[W];
|
|
11411
11411
|
if (typeof U != "function")
|
|
@@ -11422,14 +11422,14 @@ function px() {
|
|
|
11422
11422
|
function k(H, B, j, V, R) {
|
|
11423
11423
|
var D = H[B], I = K(D);
|
|
11424
11424
|
if (I !== "object")
|
|
11425
|
-
return new
|
|
11425
|
+
return new h("Invalid " + V + " `" + R + "` of type `" + I + "` " + ("supplied to `" + j + "`, expected `object`."));
|
|
11426
11426
|
var W = e({}, H[B], v);
|
|
11427
11427
|
for (var U in W) {
|
|
11428
11428
|
var te = v[U];
|
|
11429
11429
|
if (r(v, U) && typeof te != "function")
|
|
11430
11430
|
return E(j, V, R, U, G(te));
|
|
11431
11431
|
if (!te)
|
|
11432
|
-
return new
|
|
11432
|
+
return new h(
|
|
11433
11433
|
"Invalid " + V + " `" + R + "` key `" + U + "` supplied to `" + j + "`.\nBad object: " + JSON.stringify(H[B], null, " ") + `
|
|
11434
11434
|
Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
|
|
11435
11435
|
);
|
|
@@ -11742,8 +11742,8 @@ var bu, Fg;
|
|
|
11742
11742
|
function Sx() {
|
|
11743
11743
|
if (Fg) return bu;
|
|
11744
11744
|
Fg = 1;
|
|
11745
|
-
var t = Lr(), e = w5(), n = kn(), r = "[object Arguments]", a = "[object Array]", o = "[object Boolean]", i = "[object Date]", s = "[object Error]", l = "[object Function]", u = "[object Map]", c = "[object Number]", f = "[object Object]", p = "[object RegExp]", d = "[object Set]", m = "[object String]",
|
|
11746
|
-
E[w] = E[T] = E[x] = E[y] = E[L] = E[_] = E[$] = E[N] = E[P] = !0, E[r] = E[a] = E[C] = E[o] = E[O] = E[i] = E[s] = E[l] = E[u] = E[c] = E[f] = E[p] = E[d] = E[m] = E[
|
|
11745
|
+
var t = Lr(), e = w5(), n = kn(), r = "[object Arguments]", a = "[object Array]", o = "[object Boolean]", i = "[object Date]", s = "[object Error]", l = "[object Function]", u = "[object Map]", c = "[object Number]", f = "[object Object]", p = "[object RegExp]", d = "[object Set]", m = "[object String]", h = "[object WeakMap]", C = "[object ArrayBuffer]", O = "[object DataView]", w = "[object Float32Array]", T = "[object Float64Array]", x = "[object Int8Array]", y = "[object Int16Array]", L = "[object Int32Array]", _ = "[object Uint8Array]", $ = "[object Uint8ClampedArray]", N = "[object Uint16Array]", P = "[object Uint32Array]", E = {};
|
|
11746
|
+
E[w] = E[T] = E[x] = E[y] = E[L] = E[_] = E[$] = E[N] = E[P] = !0, E[r] = E[a] = E[C] = E[o] = E[O] = E[i] = E[s] = E[l] = E[u] = E[c] = E[f] = E[p] = E[d] = E[m] = E[h] = !1;
|
|
11747
11747
|
function Z(z) {
|
|
11748
11748
|
return n(z) && e(z.length) && !!E[t(z)];
|
|
11749
11749
|
}
|
|
@@ -11810,9 +11810,9 @@ function Px() {
|
|
|
11810
11810
|
Kg = 1;
|
|
11811
11811
|
var t = Ax(), e = $5(), n = e5(), r = O5(), a = _5(), o = k5(), i = Object.prototype, s = i.hasOwnProperty;
|
|
11812
11812
|
function l(u, c) {
|
|
11813
|
-
var f = n(u), p = !f && e(u), d = !f && !p && r(u), m = !f && !p && !d && o(u),
|
|
11813
|
+
var f = n(u), p = !f && e(u), d = !f && !p && r(u), m = !f && !p && !d && o(u), h = f || p || d || m, C = h ? t(u.length, String) : [], O = C.length;
|
|
11814
11814
|
for (var w in u)
|
|
11815
|
-
(c || s.call(u, w)) && !(
|
|
11815
|
+
(c || s.call(u, w)) && !(h && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
11816
11816
|
(w == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
11817
11817
|
d && (w == "offset" || w == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
11818
11818
|
m && (w == "buffer" || w == "byteLength" || w == "byteOffset") || // Skip index properties.
|
|
@@ -12117,7 +12117,7 @@ function Kx() {
|
|
|
12117
12117
|
if (vm) return Wu;
|
|
12118
12118
|
vm = 1;
|
|
12119
12119
|
var t = T5(), e = Vx(), n = Dx(), r = Bx(), a = Zx(), o = $5(), i = e5(), s = Fx(), l = O5(), u = Gc(), c = $t(), f = Nx(), p = k5(), d = A5(), m = Qx();
|
|
12120
|
-
function
|
|
12120
|
+
function h(C, O, w, T, x, y, L) {
|
|
12121
12121
|
var _ = d(C, w), $ = d(O, w), N = L.get($);
|
|
12122
12122
|
if (N) {
|
|
12123
12123
|
t(C, w, N);
|
|
@@ -12130,7 +12130,7 @@ function Kx() {
|
|
|
12130
12130
|
}
|
|
12131
12131
|
E && (L.set($, P), x(P, $, T, y, L), L.delete($)), t(C, w, P);
|
|
12132
12132
|
}
|
|
12133
|
-
return Wu =
|
|
12133
|
+
return Wu = h, Wu;
|
|
12134
12134
|
}
|
|
12135
12135
|
var qu, bm;
|
|
12136
12136
|
function Gx() {
|
|
@@ -12142,8 +12142,8 @@ function Gx() {
|
|
|
12142
12142
|
if (p || (p = new t()), a(d))
|
|
12143
12143
|
r(l, u, m, c, s, f, p);
|
|
12144
12144
|
else {
|
|
12145
|
-
var
|
|
12146
|
-
|
|
12145
|
+
var h = f ? f(i(l, m), d, m + "", l, u, p) : void 0;
|
|
12146
|
+
h === void 0 && (h = d), e(l, m, h);
|
|
12147
12147
|
}
|
|
12148
12148
|
}, o);
|
|
12149
12149
|
}
|
|
@@ -13345,7 +13345,7 @@ var rw = function(t, e) {
|
|
|
13345
13345
|
function aw(t) {
|
|
13346
13346
|
var e, n = t.state, r = t.name, a = t.options, o = n.elements.arrow, i = n.modifiersData.popperOffsets, s = Me(n.placement), l = c1(s), u = [be, Ae].indexOf(s) >= 0, c = u ? "height" : "width";
|
|
13347
13347
|
if (!(!o || !i)) {
|
|
13348
|
-
var f = rw(a.padding, n), p = u1(o), d = l === "y" ? ve : be, m = l === "y" ? Te : Ae,
|
|
13348
|
+
var f = rw(a.padding, n), p = u1(o), d = l === "y" ? ve : be, m = l === "y" ? Te : Ae, h = n.rects.reference[c] + n.rects.reference[l] - i[l] - n.rects.popper[c], C = i[l] - n.rects.reference[l], O = Tn(o), w = O ? l === "y" ? O.clientHeight || 0 : O.clientWidth || 0 : 0, T = h / 2 - C / 2, x = f[d], y = w - p[c] - f[m], L = w / 2 - p[c] / 2 + T, _ = sn(x, L, y), $ = l;
|
|
13349
13349
|
n.modifiersData[r] = (e = {}, e[$] = _, e.centerOffset = _ - L, e);
|
|
13350
13350
|
}
|
|
13351
13351
|
}
|
|
@@ -13379,14 +13379,14 @@ function lw(t, e) {
|
|
|
13379
13379
|
};
|
|
13380
13380
|
}
|
|
13381
13381
|
function Nm(t) {
|
|
13382
|
-
var e, n = t.popper, r = t.popperRect, a = t.placement, o = t.variation, i = t.offsets, s = t.position, l = t.gpuAcceleration, u = t.adaptive, c = t.roundOffsets, f = t.isFixed, p = i.x, d = p === void 0 ? 0 : p, m = i.y,
|
|
13382
|
+
var e, n = t.popper, r = t.popperRect, a = t.placement, o = t.variation, i = t.offsets, s = t.position, l = t.gpuAcceleration, u = t.adaptive, c = t.roundOffsets, f = t.isFixed, p = i.x, d = p === void 0 ? 0 : p, m = i.y, h = m === void 0 ? 0 : m, C = typeof c == "function" ? c({
|
|
13383
13383
|
x: d,
|
|
13384
|
-
y:
|
|
13384
|
+
y: h
|
|
13385
13385
|
}) : {
|
|
13386
13386
|
x: d,
|
|
13387
|
-
y:
|
|
13387
|
+
y: h
|
|
13388
13388
|
};
|
|
13389
|
-
d = C.x,
|
|
13389
|
+
d = C.x, h = C.y;
|
|
13390
13390
|
var O = i.hasOwnProperty("x"), w = i.hasOwnProperty("y"), T = be, x = ve, y = window;
|
|
13391
13391
|
if (u) {
|
|
13392
13392
|
var L = Tn(n), _ = "clientHeight", $ = "clientWidth";
|
|
@@ -13396,7 +13396,7 @@ function Nm(t) {
|
|
|
13396
13396
|
// $FlowFixMe[prop-missing]
|
|
13397
13397
|
L[_]
|
|
13398
13398
|
);
|
|
13399
|
-
|
|
13399
|
+
h -= N - r.height, h *= l ? 1 : -1;
|
|
13400
13400
|
}
|
|
13401
13401
|
if (a === be || (a === ve || a === Te) && o === hn) {
|
|
13402
13402
|
T = Ae;
|
|
@@ -13411,16 +13411,16 @@ function Nm(t) {
|
|
|
13411
13411
|
position: s
|
|
13412
13412
|
}, u && sw), Z = c === !0 ? lw({
|
|
13413
13413
|
x: d,
|
|
13414
|
-
y:
|
|
13414
|
+
y: h
|
|
13415
13415
|
}, Oe(n)) : {
|
|
13416
13416
|
x: d,
|
|
13417
|
-
y:
|
|
13417
|
+
y: h
|
|
13418
13418
|
};
|
|
13419
|
-
if (d = Z.x,
|
|
13419
|
+
if (d = Z.x, h = Z.y, l) {
|
|
13420
13420
|
var z;
|
|
13421
|
-
return Object.assign({}, E, (z = {}, z[x] = w ? "0" : "", z[T] = O ? "0" : "", z.transform = (y.devicePixelRatio || 1) <= 1 ? "translate(" + d + "px, " +
|
|
13421
|
+
return Object.assign({}, E, (z = {}, z[x] = w ? "0" : "", z[T] = O ? "0" : "", z.transform = (y.devicePixelRatio || 1) <= 1 ? "translate(" + d + "px, " + h + "px)" : "translate3d(" + d + "px, " + h + "px, 0)", z));
|
|
13422
13422
|
}
|
|
13423
|
-
return Object.assign({}, E, (e = {}, e[x] = w ?
|
|
13423
|
+
return Object.assign({}, E, (e = {}, e[x] = w ? h + "px" : "", e[T] = O ? d + "px" : "", e.transform = "", e));
|
|
13424
13424
|
}
|
|
13425
13425
|
function uw(t) {
|
|
13426
13426
|
var e = t.state, n = t.options, r = n.gpuAcceleration, a = r === void 0 ? !0 : r, o = n.adaptive, i = o === void 0 ? !0 : o, s = n.roundOffsets, l = s === void 0 ? !0 : s, u = {
|
|
@@ -13620,7 +13620,7 @@ function Z5(t) {
|
|
|
13620
13620
|
}
|
|
13621
13621
|
function gn(t, e) {
|
|
13622
13622
|
e === void 0 && (e = {});
|
|
13623
|
-
var n = e, r = n.placement, a = r === void 0 ? t.placement : r, o = n.strategy, i = o === void 0 ? t.strategy : o, s = n.boundary, l = s === void 0 ? D$ : s, u = n.rootBoundary, c = u === void 0 ? N5 : u, f = n.elementContext, p = f === void 0 ? tn : f, d = n.altBoundary, m = d === void 0 ? !1 : d,
|
|
13623
|
+
var n = e, r = n.placement, a = r === void 0 ? t.placement : r, o = n.strategy, i = o === void 0 ? t.strategy : o, s = n.boundary, l = s === void 0 ? D$ : s, u = n.rootBoundary, c = u === void 0 ? N5 : u, f = n.elementContext, p = f === void 0 ? tn : f, d = n.altBoundary, m = d === void 0 ? !1 : d, h = n.padding, C = h === void 0 ? 0 : h, O = D5(typeof C != "number" ? C : B5(C, Ln)), w = p === tn ? B$ : tn, T = t.rects.popper, x = t.elements[m ? w : p], y = bw(yt(x) ? x : x.contextElement || lt(t.elements.popper), l, c, i), L = Ht(t.elements.reference), _ = Z5({
|
|
13624
13624
|
reference: L,
|
|
13625
13625
|
element: T,
|
|
13626
13626
|
placement: a
|
|
@@ -13647,16 +13647,16 @@ function Cw(t, e) {
|
|
|
13647
13647
|
return u.indexOf(m) >= 0;
|
|
13648
13648
|
});
|
|
13649
13649
|
p.length === 0 && (p = f);
|
|
13650
|
-
var d = p.reduce(function(m,
|
|
13651
|
-
return m[
|
|
13652
|
-
placement:
|
|
13650
|
+
var d = p.reduce(function(m, h) {
|
|
13651
|
+
return m[h] = gn(t, {
|
|
13652
|
+
placement: h,
|
|
13653
13653
|
boundary: a,
|
|
13654
13654
|
rootBoundary: o,
|
|
13655
13655
|
padding: i
|
|
13656
|
-
})[Me(
|
|
13656
|
+
})[Me(h)], m;
|
|
13657
13657
|
}, {});
|
|
13658
|
-
return Object.keys(d).sort(function(m,
|
|
13659
|
-
return d[m] - d[
|
|
13658
|
+
return Object.keys(d).sort(function(m, h) {
|
|
13659
|
+
return d[m] - d[h];
|
|
13660
13660
|
});
|
|
13661
13661
|
}
|
|
13662
13662
|
function xw(t) {
|
|
@@ -13668,14 +13668,14 @@ function xw(t) {
|
|
|
13668
13668
|
function $w(t) {
|
|
13669
13669
|
var e = t.state, n = t.options, r = t.name;
|
|
13670
13670
|
if (!e.modifiersData[r]._skip) {
|
|
13671
|
-
for (var a = n.mainAxis, o = a === void 0 ? !0 : a, i = n.altAxis, s = i === void 0 ? !0 : i, l = n.fallbackPlacements, u = n.padding, c = n.boundary, f = n.rootBoundary, p = n.altBoundary, d = n.flipVariations, m = d === void 0 ? !0 : d,
|
|
13671
|
+
for (var a = n.mainAxis, o = a === void 0 ? !0 : a, i = n.altAxis, s = i === void 0 ? !0 : i, l = n.fallbackPlacements, u = n.padding, c = n.boundary, f = n.rootBoundary, p = n.altBoundary, d = n.flipVariations, m = d === void 0 ? !0 : d, h = n.allowedAutoPlacements, C = e.options.placement, O = Me(C), w = O === C, T = l || (w || !m ? [Kn(C)] : xw(C)), x = [C].concat(T).reduce(function(j, V) {
|
|
13672
13672
|
return j.concat(Me(V) === s1 ? Cw(e, {
|
|
13673
13673
|
placement: V,
|
|
13674
13674
|
boundary: c,
|
|
13675
13675
|
rootBoundary: f,
|
|
13676
13676
|
padding: u,
|
|
13677
13677
|
flipVariations: m,
|
|
13678
|
-
allowedAutoPlacements:
|
|
13678
|
+
allowedAutoPlacements: h
|
|
13679
13679
|
}) : V);
|
|
13680
13680
|
}, []), y = e.rects.reference, L = e.rects.popper, _ = /* @__PURE__ */ new Map(), $ = !0, N = x[0], P = 0; P < x.length; P++) {
|
|
13681
13681
|
var E = x[P], Z = Me(E), z = Vt(E) === Nt, Q = [ve, Te].indexOf(Z) >= 0, X = Q ? "width" : "height", K = gn(e, {
|
|
@@ -13806,14 +13806,14 @@ function Aw(t) {
|
|
|
13806
13806
|
return t === "x" ? "y" : "x";
|
|
13807
13807
|
}
|
|
13808
13808
|
function Pw(t) {
|
|
13809
|
-
var e = t.state, n = t.options, r = t.name, a = n.mainAxis, o = a === void 0 ? !0 : a, i = n.altAxis, s = i === void 0 ? !1 : i, l = n.boundary, u = n.rootBoundary, c = n.altBoundary, f = n.padding, p = n.tether, d = p === void 0 ? !0 : p, m = n.tetherOffset,
|
|
13809
|
+
var e = t.state, n = t.options, r = t.name, a = n.mainAxis, o = a === void 0 ? !0 : a, i = n.altAxis, s = i === void 0 ? !1 : i, l = n.boundary, u = n.rootBoundary, c = n.altBoundary, f = n.padding, p = n.tether, d = p === void 0 ? !0 : p, m = n.tetherOffset, h = m === void 0 ? 0 : m, C = gn(e, {
|
|
13810
13810
|
boundary: l,
|
|
13811
13811
|
rootBoundary: u,
|
|
13812
13812
|
padding: f,
|
|
13813
13813
|
altBoundary: c
|
|
13814
|
-
}), O = Me(e.placement), w = Vt(e.placement), T = !w, x = c1(O), y = Aw(x), L = e.modifiersData.popperOffsets, _ = e.rects.reference, $ = e.rects.popper, N = typeof
|
|
13814
|
+
}), O = Me(e.placement), w = Vt(e.placement), T = !w, x = c1(O), y = Aw(x), L = e.modifiersData.popperOffsets, _ = e.rects.reference, $ = e.rects.popper, N = typeof h == "function" ? h(Object.assign({}, e.rects, {
|
|
13815
13815
|
placement: e.placement
|
|
13816
|
-
})) :
|
|
13816
|
+
})) : h, P = typeof N == "number" ? {
|
|
13817
13817
|
mainAxis: N,
|
|
13818
13818
|
altAxis: N
|
|
13819
13819
|
} : Object.assign({
|
|
@@ -13954,8 +13954,8 @@ function Zw(t) {
|
|
|
13954
13954
|
styles: {}
|
|
13955
13955
|
}, c = [], f = !1, p = {
|
|
13956
13956
|
state: u,
|
|
13957
|
-
setOptions: function(
|
|
13958
|
-
var C = typeof
|
|
13957
|
+
setOptions: function(h) {
|
|
13958
|
+
var C = typeof h == "function" ? h(u.options) : h;
|
|
13959
13959
|
m(), u.options = Object.assign({}, o, u.options, C), u.scrollParents = {
|
|
13960
13960
|
reference: yt(i) ? ln(i) : i.contextElement ? ln(i.contextElement) : [],
|
|
13961
13961
|
popper: ln(s)
|
|
@@ -13972,7 +13972,7 @@ function Zw(t) {
|
|
|
13972
13972
|
// prefer the async Popper#update method
|
|
13973
13973
|
forceUpdate: function() {
|
|
13974
13974
|
if (!f) {
|
|
13975
|
-
var
|
|
13975
|
+
var h = u.elements, C = h.reference, O = h.popper;
|
|
13976
13976
|
if (Bm(C, O)) {
|
|
13977
13977
|
u.rects = {
|
|
13978
13978
|
reference: Vw(C, Tn(O), u.options.strategy === "fixed"),
|
|
@@ -13999,8 +13999,8 @@ function Zw(t) {
|
|
|
13999
13999
|
// Async and optimistically optimized update – it will not be executed if
|
|
14000
14000
|
// not necessary (debounced to run at most once-per-tick)
|
|
14001
14001
|
update: Bw(function() {
|
|
14002
|
-
return new Promise(function(
|
|
14003
|
-
p.forceUpdate(),
|
|
14002
|
+
return new Promise(function(h) {
|
|
14003
|
+
p.forceUpdate(), h(u);
|
|
14004
14004
|
});
|
|
14005
14005
|
}),
|
|
14006
14006
|
destroy: function() {
|
|
@@ -14009,12 +14009,12 @@ function Zw(t) {
|
|
|
14009
14009
|
};
|
|
14010
14010
|
if (!Bm(i, s))
|
|
14011
14011
|
return p;
|
|
14012
|
-
p.setOptions(l).then(function(
|
|
14013
|
-
!f && l.onFirstUpdate && l.onFirstUpdate(
|
|
14012
|
+
p.setOptions(l).then(function(h) {
|
|
14013
|
+
!f && l.onFirstUpdate && l.onFirstUpdate(h);
|
|
14014
14014
|
});
|
|
14015
14015
|
function d() {
|
|
14016
|
-
u.orderedModifiers.forEach(function(
|
|
14017
|
-
var C =
|
|
14016
|
+
u.orderedModifiers.forEach(function(h) {
|
|
14017
|
+
var C = h.name, O = h.options, w = O === void 0 ? {} : O, T = h.effect;
|
|
14018
14018
|
if (typeof T == "function") {
|
|
14019
14019
|
var x = T({
|
|
14020
14020
|
state: u,
|
|
@@ -14028,8 +14028,8 @@ function Zw(t) {
|
|
|
14028
14028
|
});
|
|
14029
14029
|
}
|
|
14030
14030
|
function m() {
|
|
14031
|
-
c.forEach(function(
|
|
14032
|
-
return
|
|
14031
|
+
c.forEach(function(h) {
|
|
14032
|
+
return h();
|
|
14033
14033
|
}), c = [];
|
|
14034
14034
|
}
|
|
14035
14035
|
return p;
|
|
@@ -14141,9 +14141,9 @@ const Uw = {
|
|
|
14141
14141
|
iconSize: p,
|
|
14142
14142
|
variant: d,
|
|
14143
14143
|
...m
|
|
14144
|
-
} = t,
|
|
14144
|
+
} = t, h = re(), C = re(), O = re();
|
|
14145
14145
|
let w = f || p;
|
|
14146
|
-
o && (w === "xsmall" || w === "small") && (w = "medium"), oe(e, () =>
|
|
14146
|
+
o && (w === "xsmall" || w === "small") && (w = "medium"), oe(e, () => h.current, []), u$(() => {
|
|
14147
14147
|
if (o) {
|
|
14148
14148
|
let x;
|
|
14149
14149
|
o.props.counter != null ? x = [{
|
|
@@ -14171,7 +14171,7 @@ const Uw = {
|
|
|
14171
14171
|
options: {
|
|
14172
14172
|
offset: [0, -10]
|
|
14173
14173
|
}
|
|
14174
|
-
}], O.current = zw(
|
|
14174
|
+
}], O.current = zw(h.current, C.current, {
|
|
14175
14175
|
placement: i,
|
|
14176
14176
|
modifiers: x
|
|
14177
14177
|
});
|
|
@@ -14188,7 +14188,7 @@ const Uw = {
|
|
|
14188
14188
|
"aria-labelledby": a,
|
|
14189
14189
|
"aria-hidden": r || a ? n : !1
|
|
14190
14190
|
}, m, {
|
|
14191
|
-
ref:
|
|
14191
|
+
ref: h
|
|
14192
14192
|
}), l, s$(o, {
|
|
14193
14193
|
ref: C
|
|
14194
14194
|
}));
|
|
@@ -14389,15 +14389,15 @@ function Im(t) {
|
|
|
14389
14389
|
c = !0;
|
|
14390
14390
|
}), e.signal)
|
|
14391
14391
|
});
|
|
14392
|
-
}, p = U5(e.options, e.fetchOptions), d = async (m,
|
|
14392
|
+
}, p = U5(e.options, e.fetchOptions), d = async (m, h, C) => {
|
|
14393
14393
|
if (c)
|
|
14394
14394
|
return Promise.reject();
|
|
14395
|
-
if (
|
|
14395
|
+
if (h == null && m.pages.length)
|
|
14396
14396
|
return Promise.resolve(m);
|
|
14397
14397
|
const O = {
|
|
14398
14398
|
client: e.client,
|
|
14399
14399
|
queryKey: e.queryKey,
|
|
14400
|
-
pageParam:
|
|
14400
|
+
pageParam: h,
|
|
14401
14401
|
direction: C ? "backward" : "forward",
|
|
14402
14402
|
meta: e.options.meta
|
|
14403
14403
|
};
|
|
@@ -14407,22 +14407,22 @@ function Im(t) {
|
|
|
14407
14407
|
), { maxPages: T } = e.options, x = C ? W5 : q5;
|
|
14408
14408
|
return {
|
|
14409
14409
|
pages: x(m.pages, w, T),
|
|
14410
|
-
pageParams: x(m.pageParams,
|
|
14410
|
+
pageParams: x(m.pageParams, h, T)
|
|
14411
14411
|
};
|
|
14412
14412
|
};
|
|
14413
14413
|
if (a && o.length) {
|
|
14414
|
-
const m = a === "backward",
|
|
14414
|
+
const m = a === "backward", h = m ? Yw : Zm, C = {
|
|
14415
14415
|
pages: o,
|
|
14416
14416
|
pageParams: i
|
|
14417
|
-
}, O =
|
|
14417
|
+
}, O = h(r, C);
|
|
14418
14418
|
s = await d(C, O, m);
|
|
14419
14419
|
} else {
|
|
14420
14420
|
const m = t ?? o.length;
|
|
14421
14421
|
do {
|
|
14422
|
-
const
|
|
14423
|
-
if (l > 0 &&
|
|
14422
|
+
const h = l === 0 ? i[0] ?? r.initialPageParam : Zm(r, s);
|
|
14423
|
+
if (l > 0 && h == null)
|
|
14424
14424
|
break;
|
|
14425
|
-
s = await d(s,
|
|
14425
|
+
s = await d(s, h), l++;
|
|
14426
14426
|
} while (l < m);
|
|
14427
14427
|
}
|
|
14428
14428
|
return s;
|
|
@@ -14672,12 +14672,15 @@ const eO = new Xw({
|
|
|
14672
14672
|
const a = C1((p) => p.setBaseProps), o = C1((p) => p.modulePermissionToken), i = x1((p) => p.setEnvironment), s = x1((p) => p.addEnvironment), [l, u] = gt(!1), [c, f] = gt(null);
|
|
14673
14673
|
return pe(() => {
|
|
14674
14674
|
const p = e3();
|
|
14675
|
-
|
|
14675
|
+
u(!p), p && i(p);
|
|
14676
14676
|
const d = t3(p);
|
|
14677
|
-
d && f(d)
|
|
14678
|
-
|
|
14679
|
-
|
|
14680
|
-
|
|
14677
|
+
if (d && f(d), e) {
|
|
14678
|
+
const h = e[p?.ENVIRONMENT];
|
|
14679
|
+
h && s(h);
|
|
14680
|
+
}
|
|
14681
|
+
const m = t.environmentVariables ?? [];
|
|
14682
|
+
m.length > 0 && m.forEach(({ key: h, value: C }) => s({ [h]: C }));
|
|
14683
|
+
}, [s, e, t.environmentVariables, i]), pe(() => {
|
|
14681
14684
|
u(!n3(t)), a(t);
|
|
14682
14685
|
}, [
|
|
14683
14686
|
t.currentLanguage,
|