@tracktor/design-system 3.10.5 → 3.11.1
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/CHANGELOG.md +2 -2
- package/dist/main.cjs +12 -12
- package/dist/main.js +118 -111
- package/dist/src/components/DataDisplay/ArticleImage/ArticleImage.d.ts +2 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -75,15 +75,15 @@ var Qe = {};
|
|
|
75
75
|
var Vr;
|
|
76
76
|
function An() {
|
|
77
77
|
return Vr || (Vr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
78
|
-
var e = at, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), c = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"),
|
|
78
|
+
var e = at, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), c = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), k = Symbol.iterator, y = "@@iterator";
|
|
79
79
|
function h(s) {
|
|
80
80
|
if (s === null || typeof s != "object")
|
|
81
81
|
return null;
|
|
82
|
-
var C =
|
|
82
|
+
var C = k && s[k] || s[y];
|
|
83
83
|
return typeof C == "function" ? C : null;
|
|
84
84
|
}
|
|
85
85
|
var w = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
86
|
-
function
|
|
86
|
+
function S(s) {
|
|
87
87
|
{
|
|
88
88
|
for (var C = arguments.length, E = new Array(C > 1 ? C - 1 : 0), L = 1; L < C; L++)
|
|
89
89
|
E[L - 1] = arguments[L];
|
|
@@ -122,7 +122,7 @@ function An() {
|
|
|
122
122
|
function Y(s) {
|
|
123
123
|
if (s == null)
|
|
124
124
|
return null;
|
|
125
|
-
if (typeof s.tag == "number" &&
|
|
125
|
+
if (typeof s.tag == "number" && S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof s == "function")
|
|
126
126
|
return s.displayName || s.name || null;
|
|
127
127
|
if (typeof s == "string")
|
|
128
128
|
return s;
|
|
@@ -223,7 +223,7 @@ function An() {
|
|
|
223
223
|
})
|
|
224
224
|
});
|
|
225
225
|
}
|
|
226
|
-
q < 0 &&
|
|
226
|
+
q < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
var Ye = w.ReactCurrentDispatcher, Ue;
|
|
@@ -375,7 +375,7 @@ function An() {
|
|
|
375
375
|
} catch (Q) {
|
|
376
376
|
O = Q;
|
|
377
377
|
}
|
|
378
|
-
O && !(O instanceof Error) && (f1(z),
|
|
378
|
+
O && !(O instanceof Error) && (f1(z), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", L || "React class", E, V, typeof O), f1(null)), O instanceof Error && !(O.message in mr) && (mr[O.message] = !0, f1(z), S("Failed %s type: %s", E, O.message), f1(null));
|
|
379
379
|
}
|
|
380
380
|
}
|
|
381
381
|
}
|
|
@@ -401,7 +401,7 @@ function An() {
|
|
|
401
401
|
}
|
|
402
402
|
function Er(s) {
|
|
403
403
|
if (Ht(s))
|
|
404
|
-
return
|
|
404
|
+
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ft(s)), wr(s);
|
|
405
405
|
}
|
|
406
406
|
var Ke = w.ReactCurrentOwner, Ot = {
|
|
407
407
|
key: !0,
|
|
@@ -429,13 +429,13 @@ function An() {
|
|
|
429
429
|
function $t(s, C) {
|
|
430
430
|
if (typeof s.ref == "string" && Ke.current && C && Ke.current.stateNode !== C) {
|
|
431
431
|
var E = Y(Ke.current.type);
|
|
432
|
-
B1[E] || (
|
|
432
|
+
B1[E] || (S('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', Y(Ke.current.type), s.ref), B1[E] = !0);
|
|
433
433
|
}
|
|
434
434
|
}
|
|
435
435
|
function Pt(s, C) {
|
|
436
436
|
{
|
|
437
437
|
var E = function() {
|
|
438
|
-
Mr || (Mr = !0,
|
|
438
|
+
Mr || (Mr = !0, S("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", C));
|
|
439
439
|
};
|
|
440
440
|
E.isReactWarning = !0, Object.defineProperty(s, "key", {
|
|
441
441
|
get: E,
|
|
@@ -446,7 +446,7 @@ function An() {
|
|
|
446
446
|
function Bt(s, C) {
|
|
447
447
|
{
|
|
448
448
|
var E = function() {
|
|
449
|
-
Sr || (Sr = !0,
|
|
449
|
+
Sr || (Sr = !0, S("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", C));
|
|
450
450
|
};
|
|
451
451
|
E.isReactWarning = !0, Object.defineProperty(s, "ref", {
|
|
452
452
|
get: E,
|
|
@@ -552,7 +552,7 @@ Check the top-level render call using <` + E + ">.");
|
|
|
552
552
|
return;
|
|
553
553
|
Tr[E] = !0;
|
|
554
554
|
var L = "";
|
|
555
|
-
s && s._owner && s._owner !== Z1.current && (L = " It was passed a child from " + Y(s._owner.type) + "."), $e(s),
|
|
555
|
+
s && s._owner && s._owner !== Z1.current && (L = " It was passed a child from " + Y(s._owner.type) + "."), $e(s), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', E, L), $e(null);
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
558
|
function _r(s, C) {
|
|
@@ -594,9 +594,9 @@ Check the top-level render call using <` + E + ">.");
|
|
|
594
594
|
} else if (C.PropTypes !== void 0 && !z1) {
|
|
595
595
|
z1 = !0;
|
|
596
596
|
var z = Y(C);
|
|
597
|
-
|
|
597
|
+
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", z || "Unknown");
|
|
598
598
|
}
|
|
599
|
-
typeof C.getDefaultProps == "function" && !C.getDefaultProps.isReactClassApproved &&
|
|
599
|
+
typeof C.getDefaultProps == "function" && !C.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
600
600
|
}
|
|
601
601
|
}
|
|
602
602
|
function Yt(s) {
|
|
@@ -604,11 +604,11 @@ Check the top-level render call using <` + E + ">.");
|
|
|
604
604
|
for (var C = Object.keys(s.props), E = 0; E < C.length; E++) {
|
|
605
605
|
var L = C[E];
|
|
606
606
|
if (L !== "children" && L !== "key") {
|
|
607
|
-
$e(s),
|
|
607
|
+
$e(s), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", L), $e(null);
|
|
608
608
|
break;
|
|
609
609
|
}
|
|
610
610
|
}
|
|
611
|
-
s.ref !== null && ($e(s),
|
|
611
|
+
s.ref !== null && ($e(s), S("Invalid attribute `ref` supplied to `React.Fragment`."), $e(null));
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
614
|
var Lr = {};
|
|
@@ -621,7 +621,7 @@ Check the top-level render call using <` + E + ">.");
|
|
|
621
621
|
var de = Nt();
|
|
622
622
|
de ? O += de : O += Rr();
|
|
623
623
|
var Q;
|
|
624
|
-
s === null ? Q = "null" : P1(s) ? Q = "array" : s !== void 0 && s.$$typeof === r ? (Q = "<" + (Y(s.type) || "Unknown") + " />", O = " Did you accidentally export a JSX literal instead of a component?") : Q = typeof s,
|
|
624
|
+
s === null ? Q = "null" : P1(s) ? Q = "array" : s !== void 0 && s.$$typeof === r ? (Q = "<" + (Y(s.type) || "Unknown") + " />", O = " Did you accidentally export a JSX literal instead of a component?") : Q = typeof s, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Q, O);
|
|
625
625
|
}
|
|
626
626
|
var ee = zt(s, C, E, z, G);
|
|
627
627
|
if (ee == null)
|
|
@@ -635,7 +635,7 @@ Check the top-level render call using <` + E + ">.");
|
|
|
635
635
|
_r(me[Pe], s);
|
|
636
636
|
Object.freeze && Object.freeze(me);
|
|
637
637
|
} else
|
|
638
|
-
|
|
638
|
+
S("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
639
639
|
else
|
|
640
640
|
_r(me, s);
|
|
641
641
|
}
|
|
@@ -645,7 +645,7 @@ Check the top-level render call using <` + E + ">.");
|
|
|
645
645
|
}), W1 = he.length > 0 ? "{key: someKey, " + he.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
646
646
|
if (!Lr[Fe + W1]) {
|
|
647
647
|
var Kt = he.length > 0 ? "{" + he.join(": ..., ") + ": ...}" : "{}";
|
|
648
|
-
|
|
648
|
+
S(`A props object containing a "key" prop is being spread into JSX:
|
|
649
649
|
let props = %s;
|
|
650
650
|
<%s {...props} />
|
|
651
651
|
React keys must be passed directly to JSX without using spread:
|
|
@@ -851,23 +851,23 @@ function Un(e) {
|
|
|
851
851
|
return ft(y1("", null, null, null, [""], e = ut(e), 0, [0], e));
|
|
852
852
|
}
|
|
853
853
|
function y1(e, r, t, i, a, o, l, c, d) {
|
|
854
|
-
for (var u = 0, f = 0, x = l, b = 0, g = 0,
|
|
855
|
-
switch (
|
|
854
|
+
for (var u = 0, f = 0, x = l, b = 0, g = 0, k = 0, y = 1, h = 1, w = 1, S = 0, m = "", M = a, p = o, _ = i, T = m; h; )
|
|
855
|
+
switch (k = S, S = xe()) {
|
|
856
856
|
case 40:
|
|
857
|
-
if (
|
|
858
|
-
er(T += B(b1(
|
|
857
|
+
if (k != 108 && oe(T, x - 1) == 58) {
|
|
858
|
+
er(T += B(b1(S), "&", "&\f"), "&\f") != -1 && (w = -1);
|
|
859
859
|
break;
|
|
860
860
|
}
|
|
861
861
|
case 34:
|
|
862
862
|
case 39:
|
|
863
863
|
case 91:
|
|
864
|
-
T += b1(
|
|
864
|
+
T += b1(S);
|
|
865
865
|
break;
|
|
866
866
|
case 9:
|
|
867
867
|
case 10:
|
|
868
868
|
case 13:
|
|
869
869
|
case 32:
|
|
870
|
-
T += Nn(
|
|
870
|
+
T += Nn(k);
|
|
871
871
|
break;
|
|
872
872
|
case 92:
|
|
873
873
|
T += Wn(x1() - 1, 7);
|
|
@@ -887,7 +887,7 @@ function y1(e, r, t, i, a, o, l, c, d) {
|
|
|
887
887
|
case 125 * y:
|
|
888
888
|
case 59:
|
|
889
889
|
case 0:
|
|
890
|
-
switch (
|
|
890
|
+
switch (S) {
|
|
891
891
|
case 0:
|
|
892
892
|
case 125:
|
|
893
893
|
h = 0;
|
|
@@ -897,7 +897,7 @@ function y1(e, r, t, i, a, o, l, c, d) {
|
|
|
897
897
|
case 59:
|
|
898
898
|
T += ";";
|
|
899
899
|
default:
|
|
900
|
-
if (h1(_ = Dr(T, r, t, u, f, a, c, m, M = [], p = [], x), o),
|
|
900
|
+
if (h1(_ = Dr(T, r, t, u, f, a, c, m, M = [], p = [], x), o), S === 123)
|
|
901
901
|
if (f === 0)
|
|
902
902
|
y1(T, r, _, _, M, o, x, c, p);
|
|
903
903
|
else
|
|
@@ -915,15 +915,15 @@ function y1(e, r, t, i, a, o, l, c, d) {
|
|
|
915
915
|
u = f = g = 0, y = w = 1, m = T = "", x = l;
|
|
916
916
|
break;
|
|
917
917
|
case 58:
|
|
918
|
-
x = 1 + Se(T), g =
|
|
918
|
+
x = 1 + Se(T), g = k;
|
|
919
919
|
default:
|
|
920
920
|
if (y < 1) {
|
|
921
|
-
if (
|
|
921
|
+
if (S == 123)
|
|
922
922
|
--y;
|
|
923
|
-
else if (
|
|
923
|
+
else if (S == 125 && y++ == 0 && zn() == 125)
|
|
924
924
|
continue;
|
|
925
925
|
}
|
|
926
|
-
switch (T += I1(
|
|
926
|
+
switch (T += I1(S), S * y) {
|
|
927
927
|
case 38:
|
|
928
928
|
w = f > 0 ? 1 : (T += "\f", -1);
|
|
929
929
|
break;
|
|
@@ -931,18 +931,18 @@ function y1(e, r, t, i, a, o, l, c, d) {
|
|
|
931
931
|
c[u++] = (Se(T) - 1) * w, w = 1;
|
|
932
932
|
break;
|
|
933
933
|
case 64:
|
|
934
|
-
Re() === 45 && (T += b1(xe())), b = Re(), f = x = Se(m = T += Yn(x1())),
|
|
934
|
+
Re() === 45 && (T += b1(xe())), b = Re(), f = x = Se(m = T += Yn(x1())), S++;
|
|
935
935
|
break;
|
|
936
936
|
case 45:
|
|
937
|
-
|
|
937
|
+
k === 45 && Se(T) == 2 && (y = 0);
|
|
938
938
|
}
|
|
939
939
|
}
|
|
940
940
|
return o;
|
|
941
941
|
}
|
|
942
942
|
function Dr(e, r, t, i, a, o, l, c, d, u, f) {
|
|
943
|
-
for (var x = a - 1, b = a === 0 ? o : [""], g = Cr(b),
|
|
944
|
-
for (var w = 0,
|
|
945
|
-
(m = dt(y > 0 ? b[w] + " " +
|
|
943
|
+
for (var x = a - 1, b = a === 0 ? o : [""], g = Cr(b), k = 0, y = 0, h = 0; k < i; ++k)
|
|
944
|
+
for (var w = 0, S = c1(e, x + 1, x = Vn(y = l[k])), m = e; w < g; ++w)
|
|
945
|
+
(m = dt(y > 0 ? b[w] + " " + S : B(S, /&\f/g, b[w]))) && (d[h++] = m);
|
|
946
946
|
return H1(e, r, t, a === 0 ? hr : c, d, u, f);
|
|
947
947
|
}
|
|
948
948
|
function Gn(e, r, t) {
|
|
@@ -1205,11 +1205,11 @@ var ii = function(r, t, i, a) {
|
|
|
1205
1205
|
})], b = qn(u.concat(a, x)), g = function(h) {
|
|
1206
1206
|
return ze(Un(h), b);
|
|
1207
1207
|
};
|
|
1208
|
-
d = function(h, w,
|
|
1209
|
-
f =
|
|
1208
|
+
d = function(h, w, S, m) {
|
|
1209
|
+
f = S, g(h ? h + "{" + w.styles + "}" : w.styles), m && (k.inserted[w.name] = !0);
|
|
1210
1210
|
};
|
|
1211
1211
|
}
|
|
1212
|
-
var
|
|
1212
|
+
var k = {
|
|
1213
1213
|
key: t,
|
|
1214
1214
|
sheet: new Fn({
|
|
1215
1215
|
key: t,
|
|
@@ -1224,7 +1224,7 @@ var ii = function(r, t, i, a) {
|
|
|
1224
1224
|
registered: {},
|
|
1225
1225
|
insert: d
|
|
1226
1226
|
};
|
|
1227
|
-
return
|
|
1227
|
+
return k.sheet.hydrate(c), k;
|
|
1228
1228
|
}, tr = { exports: {} }, N = {};
|
|
1229
1229
|
/** @license React v16.13.1
|
|
1230
1230
|
* react-is.production.min.js
|
|
@@ -1238,7 +1238,7 @@ var Br;
|
|
|
1238
1238
|
function si() {
|
|
1239
1239
|
if (Br) return N;
|
|
1240
1240
|
Br = 1;
|
|
1241
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, x = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115,
|
|
1241
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, x = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, k = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, h = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
|
|
1242
1242
|
function m(p) {
|
|
1243
1243
|
if (typeof p == "object" && p !== null) {
|
|
1244
1244
|
var _ = p.$$typeof;
|
|
@@ -1256,7 +1256,7 @@ function si() {
|
|
|
1256
1256
|
switch (p = p && p.$$typeof, p) {
|
|
1257
1257
|
case c:
|
|
1258
1258
|
case f:
|
|
1259
|
-
case
|
|
1259
|
+
case k:
|
|
1260
1260
|
case g:
|
|
1261
1261
|
case l:
|
|
1262
1262
|
return p;
|
|
@@ -1272,7 +1272,7 @@ function si() {
|
|
|
1272
1272
|
function M(p) {
|
|
1273
1273
|
return m(p) === u;
|
|
1274
1274
|
}
|
|
1275
|
-
return N.AsyncMode = d, N.ConcurrentMode = u, N.ContextConsumer = c, N.ContextProvider = l, N.Element = r, N.ForwardRef = f, N.Fragment = i, N.Lazy =
|
|
1275
|
+
return N.AsyncMode = d, N.ConcurrentMode = u, N.ContextConsumer = c, N.ContextProvider = l, N.Element = r, N.ForwardRef = f, N.Fragment = i, N.Lazy = k, N.Memo = g, N.Portal = t, N.Profiler = o, N.StrictMode = a, N.Suspense = x, N.isAsyncMode = function(p) {
|
|
1276
1276
|
return M(p) || m(p) === d;
|
|
1277
1277
|
}, N.isConcurrentMode = M, N.isContextConsumer = function(p) {
|
|
1278
1278
|
return m(p) === c;
|
|
@@ -1285,7 +1285,7 @@ function si() {
|
|
|
1285
1285
|
}, N.isFragment = function(p) {
|
|
1286
1286
|
return m(p) === i;
|
|
1287
1287
|
}, N.isLazy = function(p) {
|
|
1288
|
-
return m(p) ===
|
|
1288
|
+
return m(p) === k;
|
|
1289
1289
|
}, N.isMemo = function(p) {
|
|
1290
1290
|
return m(p) === g;
|
|
1291
1291
|
}, N.isPortal = function(p) {
|
|
@@ -1297,7 +1297,7 @@ function si() {
|
|
|
1297
1297
|
}, N.isSuspense = function(p) {
|
|
1298
1298
|
return m(p) === x;
|
|
1299
1299
|
}, N.isValidElementType = function(p) {
|
|
1300
|
-
return typeof p == "string" || typeof p == "function" || p === i || p === u || p === o || p === a || p === x || p === b || typeof p == "object" && p !== null && (p.$$typeof ===
|
|
1300
|
+
return typeof p == "string" || typeof p == "function" || p === i || p === u || p === o || p === a || p === x || p === b || typeof p == "object" && p !== null && (p.$$typeof === k || p.$$typeof === g || p.$$typeof === l || p.$$typeof === c || p.$$typeof === f || p.$$typeof === h || p.$$typeof === w || p.$$typeof === S || p.$$typeof === y);
|
|
1301
1301
|
}, N.typeOf = m, N;
|
|
1302
1302
|
}
|
|
1303
1303
|
var W = {};
|
|
@@ -1312,10 +1312,10 @@ var W = {};
|
|
|
1312
1312
|
var Zr;
|
|
1313
1313
|
function li() {
|
|
1314
1314
|
return Zr || (Zr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1315
|
-
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, x = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115,
|
|
1315
|
+
var e = typeof Symbol == "function" && Symbol.for, r = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, x = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, k = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, h = e ? Symbol.for("react.fundamental") : 60117, w = e ? Symbol.for("react.responder") : 60118, S = e ? Symbol.for("react.scope") : 60119;
|
|
1316
1316
|
function m(R) {
|
|
1317
1317
|
return typeof R == "string" || typeof R == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1318
|
-
R === i || R === u || R === o || R === a || R === x || R === b || typeof R == "object" && R !== null && (R.$$typeof ===
|
|
1318
|
+
R === i || R === u || R === o || R === a || R === x || R === b || typeof R == "object" && R !== null && (R.$$typeof === k || R.$$typeof === g || R.$$typeof === l || R.$$typeof === c || R.$$typeof === f || R.$$typeof === h || R.$$typeof === w || R.$$typeof === S || R.$$typeof === y);
|
|
1319
1319
|
}
|
|
1320
1320
|
function M(R) {
|
|
1321
1321
|
if (typeof R == "object" && R !== null) {
|
|
@@ -1336,7 +1336,7 @@ function li() {
|
|
|
1336
1336
|
switch (Ie) {
|
|
1337
1337
|
case c:
|
|
1338
1338
|
case f:
|
|
1339
|
-
case
|
|
1339
|
+
case k:
|
|
1340
1340
|
case g:
|
|
1341
1341
|
case l:
|
|
1342
1342
|
return Ie;
|
|
@@ -1349,7 +1349,7 @@ function li() {
|
|
|
1349
1349
|
}
|
|
1350
1350
|
}
|
|
1351
1351
|
}
|
|
1352
|
-
var p = d, _ = u, T = c, D = l, I = r, K = f, se = i, ne =
|
|
1352
|
+
var p = d, _ = u, T = c, D = l, I = r, K = f, se = i, ne = k, Y = g, Z = t, q = o, be = a, ye = x, $ = !1;
|
|
1353
1353
|
function A(R) {
|
|
1354
1354
|
return $ || ($ = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), U(R) || M(R) === d;
|
|
1355
1355
|
}
|
|
@@ -1372,7 +1372,7 @@ function li() {
|
|
|
1372
1372
|
return M(R) === i;
|
|
1373
1373
|
}
|
|
1374
1374
|
function Ye(R) {
|
|
1375
|
-
return M(R) ===
|
|
1375
|
+
return M(R) === k;
|
|
1376
1376
|
}
|
|
1377
1377
|
function Ue(R) {
|
|
1378
1378
|
return M(R) === g;
|
|
@@ -1735,7 +1735,7 @@ const jr = 32, Li = 24, Ii = 105, Fi = 24, Hi = 195, Oi = 44, Vi = 147, Di = ()
|
|
|
1735
1735
|
getTextColor: r
|
|
1736
1736
|
};
|
|
1737
1737
|
}, $i = ({ colorShape: e, shapeBackgroundColor: r, color: t, height: i, width: a, withoutText: o, mode: l, sx: c, variant: d = "default", component: u = "img" }, f) => {
|
|
1738
|
-
const [x, b] = ae(""), { palette: g } = we(), { getTextColor:
|
|
1738
|
+
const [x, b] = ae(""), { palette: g } = we(), { getTextColor: k, getImageModule: y, getSize: h, getShapeColor: w, getShapeBackgroundColor: S } = Di(), { height: m, width: M } = h({ height: i, variant: d, width: a, withoutText: o }), p = k(t), _ = w(e), T = S(r);
|
|
1739
1739
|
if (A1(() => {
|
|
1740
1740
|
u !== "svg" && (async () => {
|
|
1741
1741
|
const D = await y(d, l || g.mode, o);
|
|
@@ -2286,7 +2286,7 @@ const jr = 32, Li = 24, Ii = 105, Fi = 24, Hi = 195, Oi = 44, Vi = 147, Di = ()
|
|
|
2286
2286
|
Footer: f,
|
|
2287
2287
|
Search: x = r.Logo,
|
|
2288
2288
|
Logo: b = r.Logo
|
|
2289
|
-
} = _e(je), { palette: g } = we(),
|
|
2289
|
+
} = _e(je), { palette: g } = we(), k = g.mode === "dark" ? g.background.default : g.primary.black, y = a && l ? "none" : `solid 1px ${g.divider}`, w = t ? !(!a && !o) : !0;
|
|
2290
2290
|
return /* @__PURE__ */ v(
|
|
2291
2291
|
H,
|
|
2292
2292
|
{
|
|
@@ -2325,7 +2325,7 @@ const jr = 32, Li = 24, Ii = 105, Fi = 24, Hi = 195, Oi = 44, Vi = 147, Di = ()
|
|
|
2325
2325
|
children: b
|
|
2326
2326
|
}
|
|
2327
2327
|
),
|
|
2328
|
-
a && /* @__PURE__ */ n(Ae, { onClick: i, children: /* @__PURE__ */ n(xr, { color: g.getContrastText(
|
|
2328
|
+
a && /* @__PURE__ */ n(Ae, { onClick: i, children: /* @__PURE__ */ n(xr, { color: g.getContrastText(k) }) })
|
|
2329
2329
|
]
|
|
2330
2330
|
}
|
|
2331
2331
|
),
|
|
@@ -2428,11 +2428,11 @@ const jr = 32, Li = 24, Ii = 105, Fi = 24, Hi = 195, Oi = 44, Vi = 147, Di = ()
|
|
|
2428
2428
|
bottomLink: u,
|
|
2429
2429
|
sideBarWidth: f = 260
|
|
2430
2430
|
}) => {
|
|
2431
|
-
const { breakpoints: x } = we(), b = s1(x.down("sm")), g = s1(x.between("sm", "md")), [
|
|
2431
|
+
const { breakpoints: x } = we(), b = s1(x.down("sm")), g = s1(x.between("sm", "md")), [k, y] = ae(Et.isDrawerOpen), h = pe(() => {
|
|
2432
2432
|
y(!1);
|
|
2433
2433
|
}, []), w = pe(() => {
|
|
2434
2434
|
y(!0);
|
|
2435
|
-
}, []),
|
|
2435
|
+
}, []), S = L1(
|
|
2436
2436
|
() => ({
|
|
2437
2437
|
AppBar: e,
|
|
2438
2438
|
bottomLink: u,
|
|
@@ -2441,7 +2441,7 @@ const jr = 32, Li = 24, Ii = 105, Fi = 24, Hi = 195, Oi = 44, Vi = 147, Di = ()
|
|
|
2441
2441
|
enableSearchFocusShortcut: l,
|
|
2442
2442
|
Footer: a,
|
|
2443
2443
|
hideSearchDesktop: d,
|
|
2444
|
-
isDrawerOpen:
|
|
2444
|
+
isDrawerOpen: k,
|
|
2445
2445
|
isMobile: b,
|
|
2446
2446
|
isTablet: g,
|
|
2447
2447
|
items: o,
|
|
@@ -2454,7 +2454,7 @@ const jr = 32, Li = 24, Ii = 105, Fi = 24, Hi = 195, Oi = 44, Vi = 147, Di = ()
|
|
|
2454
2454
|
[
|
|
2455
2455
|
h,
|
|
2456
2456
|
c,
|
|
2457
|
-
|
|
2457
|
+
k,
|
|
2458
2458
|
b,
|
|
2459
2459
|
g,
|
|
2460
2460
|
o,
|
|
@@ -2470,7 +2470,7 @@ const jr = 32, Li = 24, Ii = 105, Fi = 24, Hi = 195, Oi = 44, Vi = 147, Di = ()
|
|
|
2470
2470
|
a
|
|
2471
2471
|
]
|
|
2472
2472
|
);
|
|
2473
|
-
return /* @__PURE__ */ n(je.Provider, { value:
|
|
2473
|
+
return /* @__PURE__ */ n(je.Provider, { value: S, children: /* @__PURE__ */ n(Wi, {}) });
|
|
2474
2474
|
}, Ya = ot(ji), Yi = "No data", Gr = {
|
|
2475
2475
|
large: 80,
|
|
2476
2476
|
medium: 50,
|
|
@@ -2790,35 +2790,42 @@ const aa = (e, r) => {
|
|
|
2790
2790
|
secondarySrc: t,
|
|
2791
2791
|
secondaryAvatarProps: i,
|
|
2792
2792
|
sx: a,
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2793
|
+
secondaryTitle: o,
|
|
2794
|
+
width: l = 64,
|
|
2795
|
+
height: c = 64,
|
|
2796
|
+
alt: d = "Article"
|
|
2796
2797
|
}) => {
|
|
2797
|
-
const [
|
|
2798
|
+
const [u, f] = ae(!1), [x, b] = ae(!1), { borderRadius: g, padding: k } = aa(l, c), y = { borderRadius: g, flexShrink: 0 }, h = e && !u && !x, w = !e || x && !u || x && u, S = (e == null ? void 0 : e.endsWith(".png")) || (e == null ? void 0 : e.endsWith(".svg")) || (e == null ? void 0 : e.endsWith(".gif")) || (e == null ? void 0 : e.endsWith(".webp")) || !1, m = () => {
|
|
2799
|
+
b(!1), f(!0);
|
|
2800
|
+
}, M = () => {
|
|
2801
|
+
b(!0), f(!1);
|
|
2802
|
+
};
|
|
2798
2803
|
return /* @__PURE__ */ n(Me, { children: /* @__PURE__ */ v(
|
|
2799
2804
|
St,
|
|
2800
2805
|
{
|
|
2801
2806
|
src: e,
|
|
2802
2807
|
secondarySrc: t,
|
|
2803
|
-
secondaryAvatarProps:
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
x(!1), u(!0);
|
|
2808
|
+
secondaryAvatarProps: {
|
|
2809
|
+
...i,
|
|
2810
|
+
...o && !(i != null && i.children) && {
|
|
2811
|
+
children: o
|
|
2812
|
+
},
|
|
2813
|
+
title: o
|
|
2810
2814
|
},
|
|
2815
|
+
alt: d,
|
|
2816
|
+
onError: M,
|
|
2817
|
+
onLoad: m,
|
|
2811
2818
|
sx: {
|
|
2812
|
-
...
|
|
2813
|
-
background: ({ palette:
|
|
2814
|
-
height:
|
|
2815
|
-
padding:
|
|
2816
|
-
width:
|
|
2819
|
+
...y,
|
|
2820
|
+
background: ({ palette: p }) => p.grey[100],
|
|
2821
|
+
height: c,
|
|
2822
|
+
padding: S || w ? k : 0,
|
|
2823
|
+
width: l,
|
|
2817
2824
|
...a
|
|
2818
2825
|
},
|
|
2819
2826
|
children: [
|
|
2820
|
-
(r ||
|
|
2821
|
-
|
|
2827
|
+
(r || h) && /* @__PURE__ */ n(oa, { width: l, height: c, sx: y }),
|
|
2828
|
+
w && /* @__PURE__ */ v("svg", { width: "100%", height: "100%", viewBox: "0 0 39 38", fill: "none", children: [
|
|
2822
2829
|
/* @__PURE__ */ n(
|
|
2823
2830
|
"path",
|
|
2824
2831
|
{
|
|
@@ -2904,10 +2911,10 @@ const aa = (e, r) => {
|
|
|
2904
2911
|
disableThumb: x,
|
|
2905
2912
|
open: b,
|
|
2906
2913
|
onClose: g,
|
|
2907
|
-
onClickThumb:
|
|
2914
|
+
onClickThumb: k,
|
|
2908
2915
|
variant: y
|
|
2909
2916
|
}) => {
|
|
2910
|
-
const [h, w] = ae(!1), [
|
|
2917
|
+
const [h, w] = ae(!1), [S, m] = ae(!1), M = e == null ? void 0 : e.toLowerCase(), p = !(M != null && M.endsWith(".pdf")) && !(M != null && M.startsWith("blob:")) && !(M != null && M.endsWith(".eml")), _ = M == null ? void 0 : M.endsWith(".pdf"), T = E1(null), D = S ? sa : r || e, I = f ? 1 : 0.8, K = () => {
|
|
2911
2918
|
!p && !_ || w((Y) => !Y);
|
|
2912
2919
|
}, se = () => {
|
|
2913
2920
|
w(!1), g == null || g();
|
|
@@ -2927,7 +2934,7 @@ const aa = (e, r) => {
|
|
|
2927
2934
|
width: a,
|
|
2928
2935
|
height: o,
|
|
2929
2936
|
onClick: () => {
|
|
2930
|
-
|
|
2937
|
+
k == null || k(), K();
|
|
2931
2938
|
},
|
|
2932
2939
|
sx: {
|
|
2933
2940
|
...g1.container,
|
|
@@ -2993,9 +3000,9 @@ const aa = (e, r) => {
|
|
|
2993
3000
|
Footer: x,
|
|
2994
3001
|
Collapse: b
|
|
2995
3002
|
}) => {
|
|
2996
|
-
const [g,
|
|
3003
|
+
const [g, k] = ae(!1), y = b || !!(c != null && c.length);
|
|
2997
3004
|
return A1(() => {
|
|
2998
|
-
d &&
|
|
3005
|
+
d && k(!0);
|
|
2999
3006
|
}, [d]), /* @__PURE__ */ v(j, { direction: "row", alignItems: "stretch", spacing: 0, mt: 0.5, children: [
|
|
3000
3007
|
/* @__PURE__ */ n(H, { mt: 1.5, textAlign: "center", children: /* @__PURE__ */ n(j, { spacing: 1, alignItems: "center", sx: { height: "100%", width: 32 }, children: /* @__PURE__ */ v(Me, { children: [
|
|
3001
3008
|
f || /* @__PURE__ */ n(m1, { color: i ? "secondary" : "primary" }),
|
|
@@ -3037,7 +3044,7 @@ const aa = (e, r) => {
|
|
|
3037
3044
|
direction: "row",
|
|
3038
3045
|
alignItems: "center",
|
|
3039
3046
|
sx: { cursor: y ? "pointer" : "default" },
|
|
3040
|
-
onClick: () =>
|
|
3047
|
+
onClick: () => k((h) => !h),
|
|
3041
3048
|
children: [
|
|
3042
3049
|
/* @__PURE__ */ n(
|
|
3043
3050
|
X,
|
|
@@ -3084,7 +3091,7 @@ const aa = (e, r) => {
|
|
|
3084
3091
|
b && /* @__PURE__ */ n(Fr, { in: g, children: b }),
|
|
3085
3092
|
!!(c != null && c.length) && /* @__PURE__ */ n(Fr, { in: g, children: /* @__PURE__ */ n(j, { marginTop: 3, spacing: 3, children: c == null ? void 0 : c.map((h, w) => {
|
|
3086
3093
|
var M, p, _, T;
|
|
3087
|
-
const
|
|
3094
|
+
const S = `${h.title}-${w}`, m = Array.isArray(h == null ? void 0 : h.file) ? h == null ? void 0 : h.file[0] : h == null ? void 0 : h.file;
|
|
3088
3095
|
return /* @__PURE__ */ v(j, { direction: "row", spacing: 1, minWidth: 0, children: [
|
|
3089
3096
|
/* @__PURE__ */ n(la, { sx: { height: 18, paddingTop: 0.5, width: 18 } }),
|
|
3090
3097
|
/* @__PURE__ */ v(j, { minWidth: 0, children: [
|
|
@@ -3158,7 +3165,7 @@ const aa = (e, r) => {
|
|
|
3158
3165
|
)
|
|
3159
3166
|
] })
|
|
3160
3167
|
] })
|
|
3161
|
-
] },
|
|
3168
|
+
] }, S);
|
|
3162
3169
|
}) }) })
|
|
3163
3170
|
]
|
|
3164
3171
|
}
|
|
@@ -3214,8 +3221,8 @@ const aa = (e, r) => {
|
|
|
3214
3221
|
] })
|
|
3215
3222
|
] }) }) : !(e != null && e.length) && !r ? /* @__PURE__ */ n(U1, { sx: i, children: /* @__PURE__ */ n(cr, { severity: "info", children: t }) }) : /* @__PURE__ */ v(Me, { children: [
|
|
3216
3223
|
/* @__PURE__ */ n(U1, { sx: i, "data-test": o, "data-testid": l, children: e == null ? void 0 : e.map(
|
|
3217
|
-
({ Action: u, Collapse: f, collapseItems: x, collapseDefaultOpen: b, subtitle: g, key:
|
|
3218
|
-
const _ = `${
|
|
3224
|
+
({ Action: u, Collapse: f, collapseItems: x, collapseDefaultOpen: b, subtitle: g, key: k, active: y, Footer: h, Icon: w, onClick: S, tag: m, title: M }, p) => {
|
|
3225
|
+
const _ = `${k}-${p}-${M}`, T = p === e.length - 1;
|
|
3219
3226
|
return /* @__PURE__ */ n(
|
|
3220
3227
|
da,
|
|
3221
3228
|
{
|
|
@@ -3229,7 +3236,7 @@ const aa = (e, r) => {
|
|
|
3229
3236
|
subtitle: g,
|
|
3230
3237
|
Icon: w,
|
|
3231
3238
|
isLastElement: T,
|
|
3232
|
-
onClick:
|
|
3239
|
+
onClick: S,
|
|
3233
3240
|
tag: m,
|
|
3234
3241
|
variant: a
|
|
3235
3242
|
},
|
|
@@ -3556,7 +3563,7 @@ const aa = (e, r) => {
|
|
|
3556
3563
|
}
|
|
3557
3564
|
);
|
|
3558
3565
|
}, fa = ue(({ sx: e, slotProps: r, type: t = "search", ...i }, a) => {
|
|
3559
|
-
var o, l, c, d, u, f, x, b, g,
|
|
3566
|
+
var o, l, c, d, u, f, x, b, g, k;
|
|
3560
3567
|
return /* @__PURE__ */ n(
|
|
3561
3568
|
R1,
|
|
3562
3569
|
{
|
|
@@ -3578,7 +3585,7 @@ const aa = (e, r) => {
|
|
|
3578
3585
|
},
|
|
3579
3586
|
// Border focus
|
|
3580
3587
|
"& .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline": {
|
|
3581
|
-
borderColor: (
|
|
3588
|
+
borderColor: (k = (g = F == null ? void 0 : F.palette) == null ? void 0 : g.primary) == null ? void 0 : k.main
|
|
3582
3589
|
},
|
|
3583
3590
|
maxWidth: 400,
|
|
3584
3591
|
...e,
|
|
@@ -3639,7 +3646,7 @@ const aa = (e, r) => {
|
|
|
3639
3646
|
position: b = "static",
|
|
3640
3647
|
elevation: g = 0
|
|
3641
3648
|
}) => {
|
|
3642
|
-
const { breakpoints:
|
|
3649
|
+
const { breakpoints: k } = we(), { closeMenu: y, isMenuOpen: h, anchorMenu: w, openMenu: S } = ha(), { menuItems: m, ...M } = o || {}, p = s1(k.down("sm")), _ = s1(k.between("sm", "md")), T = p || _, D = {
|
|
3643
3650
|
logoContainer: {
|
|
3644
3651
|
a: {
|
|
3645
3652
|
display: "flex"
|
|
@@ -3688,7 +3695,7 @@ const aa = (e, r) => {
|
|
|
3688
3695
|
},
|
|
3689
3696
|
onClick: (I) => {
|
|
3690
3697
|
var K;
|
|
3691
|
-
|
|
3698
|
+
S(I), (K = o == null ? void 0 : o.onClick) == null || K.call(o, I);
|
|
3692
3699
|
}
|
|
3693
3700
|
}
|
|
3694
3701
|
)
|
|
@@ -4779,13 +4786,13 @@ const aa = (e, r) => {
|
|
|
4779
4786
|
language: l = "en",
|
|
4780
4787
|
font: c = Qr
|
|
4781
4788
|
}) => {
|
|
4782
|
-
var g,
|
|
4783
|
-
const d = { ...Qr, ...c }, u = (d == null ? void 0 : d.googleFontName) || ((g = or.typography.fontFamily) == null ? void 0 : g.split(",")[0]), f = (
|
|
4784
|
-
var w,
|
|
4789
|
+
var g, k;
|
|
4790
|
+
const d = { ...Qr, ...c }, u = (d == null ? void 0 : d.googleFontName) || ((g = or.typography.fontFamily) == null ? void 0 : g.split(",")[0]), f = (k = d == null ? void 0 : d.fontWeight) == null ? void 0 : k.join(";"), x = L1(() => ({ language: l }), [l]), b = () => {
|
|
4791
|
+
var w, S;
|
|
4785
4792
|
const y = typeof o == "object" ? o : {}, h = {
|
|
4786
4793
|
...l === "fr" && ya
|
|
4787
4794
|
};
|
|
4788
|
-
return o === "dark" || typeof o == "object" && "palette" in o && ((w = o == null ? void 0 : o.palette) == null ? void 0 : w.mode) === "dark" ? Ze(Rt, y, h) : o === "light" || typeof o == "object" && "palette" in o && ((
|
|
4795
|
+
return o === "dark" || typeof o == "object" && "palette" in o && ((w = o == null ? void 0 : o.palette) == null ? void 0 : w.mode) === "dark" ? Ze(Rt, y, h) : o === "light" || typeof o == "object" && "palette" in o && ((S = o == null ? void 0 : o.palette) == null ? void 0 : S.mode) === "light" ? Ze(kt, y, h) : Ze(or, y, h);
|
|
4789
4796
|
};
|
|
4790
4797
|
return /* @__PURE__ */ n(Tt.Provider, { value: x, children: /* @__PURE__ */ v(pn, { theme: b(), children: [
|
|
4791
4798
|
/* @__PURE__ */ n(
|
|
@@ -4856,11 +4863,11 @@ const aa = (e, r) => {
|
|
|
4856
4863
|
icon: x,
|
|
4857
4864
|
onChange: b,
|
|
4858
4865
|
label: g,
|
|
4859
|
-
pattern:
|
|
4866
|
+
pattern: k,
|
|
4860
4867
|
title: y,
|
|
4861
4868
|
variant: h = "vertical"
|
|
4862
4869
|
}, w) => {
|
|
4863
|
-
const { t:
|
|
4870
|
+
const { t: S } = At(), { palette: m } = we(), M = h === "vertical", p = c || r, _ = E1(null), T = E1(null), [D, I] = ae(null), K = Ta(D);
|
|
4864
4871
|
Mn(w, () => T.current);
|
|
4865
4872
|
const se = (Z) => {
|
|
4866
4873
|
b == null || b(Z), I(Z.target.files);
|
|
@@ -4911,7 +4918,7 @@ const aa = (e, r) => {
|
|
|
4911
4918
|
/* @__PURE__ */ v(X, { variant: "body2", color: "textSecondary", children: [
|
|
4912
4919
|
D == null ? void 0 : D.length,
|
|
4913
4920
|
" ",
|
|
4914
|
-
(o == null ? void 0 : o.files) ||
|
|
4921
|
+
(o == null ? void 0 : o.files) || S("files")
|
|
4915
4922
|
] }),
|
|
4916
4923
|
/* @__PURE__ */ n(
|
|
4917
4924
|
X,
|
|
@@ -4925,7 +4932,7 @@ const aa = (e, r) => {
|
|
|
4925
4932
|
}
|
|
4926
4933
|
)
|
|
4927
4934
|
] }) : /* @__PURE__ */ v(X, { variant: "subtitle1", color: t ? "text.disabled" : "primary", children: [
|
|
4928
|
-
g ||
|
|
4935
|
+
g || S("clickToUpload"),
|
|
4929
4936
|
" ",
|
|
4930
4937
|
i && "*"
|
|
4931
4938
|
] }),
|
|
@@ -4945,7 +4952,7 @@ const aa = (e, r) => {
|
|
|
4945
4952
|
name: r,
|
|
4946
4953
|
multiple: l,
|
|
4947
4954
|
accept: e,
|
|
4948
|
-
pattern:
|
|
4955
|
+
pattern: k,
|
|
4949
4956
|
onChange: se,
|
|
4950
4957
|
style: {
|
|
4951
4958
|
left: "50%",
|
|
@@ -5014,7 +5021,7 @@ const aa = (e, r) => {
|
|
|
5014
5021
|
},
|
|
5015
5022
|
children: [
|
|
5016
5023
|
t == null ? void 0 : t.map(
|
|
5017
|
-
({ id: b, title: g, subtitle:
|
|
5024
|
+
({ id: b, title: g, subtitle: k, image: y, thumbnail: h, secondaryAction: w, chipLabel: S, chipColor: m, onClick: M, icon: p, Avatar: _ }, T) => {
|
|
5018
5025
|
var A, U, te, ce;
|
|
5019
5026
|
const D = `key-${T}-${g}-${b}`, I = (A = y == null ? void 0 : y.toLowerCase()) == null ? void 0 : A.endsWith(".pdf"), K = (U = y == null ? void 0 : y.toLowerCase()) == null ? void 0 : U.startsWith("http"), se = (te = h == null ? void 0 : h.toLowerCase()) == null ? void 0 : te.startsWith("http"), ne = M ? "none" : void 0, Y = c || !!p || !K, Z = !!M || !!(!M && !c && (h || y)), q = u === D, $ = (se ? h : "") || (K ? y : "") || "";
|
|
5020
5027
|
return /* @__PURE__ */ v(
|
|
@@ -5075,9 +5082,9 @@ const aa = (e, r) => {
|
|
|
5075
5082
|
{
|
|
5076
5083
|
primary: /* @__PURE__ */ v(j, { direction: "row", alignItems: "center", spacing: 1, children: [
|
|
5077
5084
|
g && /* @__PURE__ */ n(X, { variant: "h6", whiteSpace: "nowrap", textOverflow: "ellipsis", overflow: "hidden", children: g }),
|
|
5078
|
-
|
|
5085
|
+
S && /* @__PURE__ */ n(o1, { label: S, variant: "rounded", size: "xSmall", color: Aa(m) ? m : "default" })
|
|
5079
5086
|
] }),
|
|
5080
|
-
secondary:
|
|
5087
|
+
secondary: k,
|
|
5081
5088
|
primaryTypographyProps: {
|
|
5082
5089
|
component: "div"
|
|
5083
5090
|
},
|
|
@@ -5186,8 +5193,8 @@ const aa = (e, r) => {
|
|
|
5186
5193
|
] })
|
|
5187
5194
|
}
|
|
5188
5195
|
),
|
|
5189
|
-
b == null ? void 0 : b.map((g,
|
|
5190
|
-
const y = `header-options-${g == null ? void 0 : g.id}-${
|
|
5196
|
+
b == null ? void 0 : b.map((g, k) => {
|
|
5197
|
+
const y = `header-options-${g == null ? void 0 : g.id}-${k}`, h = Array.isArray(c) && c.some(
|
|
5191
5198
|
(w) => JSON.stringify(w) === JSON.stringify(g) || w && typeof w == "object" && "id" in w && (w == null ? void 0 : w.id) === (g == null ? void 0 : g.id)
|
|
5192
5199
|
);
|
|
5193
5200
|
return /* @__PURE__ */ n(
|
|
@@ -5196,10 +5203,10 @@ const aa = (e, r) => {
|
|
|
5196
5203
|
disablePadding: !0,
|
|
5197
5204
|
onMouseDown: (w) => {
|
|
5198
5205
|
if (w.stopPropagation(), w.preventDefault(), h) {
|
|
5199
|
-
const
|
|
5206
|
+
const S = Array.isArray(c) ? c == null ? void 0 : c.filter(
|
|
5200
5207
|
(m) => !(JSON.stringify(m) === JSON.stringify(g) || m && typeof m == "object" && "id" in m && (m == null ? void 0 : m.id) === (g == null ? void 0 : g.id))
|
|
5201
5208
|
) : [];
|
|
5202
|
-
a == null || a(w,
|
|
5209
|
+
a == null || a(w, S, "removeOption");
|
|
5203
5210
|
return;
|
|
5204
5211
|
}
|
|
5205
5212
|
a == null || a(w, [...Array.isArray(c) ? c : [], g], "selectOption");
|
|
@@ -5232,11 +5239,11 @@ const aa = (e, r) => {
|
|
|
5232
5239
|
inputValue: x,
|
|
5233
5240
|
disableClearable: b,
|
|
5234
5241
|
loading: g,
|
|
5235
|
-
resetInputValueOnSelectOption:
|
|
5242
|
+
resetInputValueOnSelectOption: k,
|
|
5236
5243
|
renderOption: y,
|
|
5237
5244
|
renderTags: h,
|
|
5238
5245
|
size: w = "small",
|
|
5239
|
-
disableCloseOnSelect:
|
|
5246
|
+
disableCloseOnSelect: S = !0,
|
|
5240
5247
|
multiple: m = !0,
|
|
5241
5248
|
options: M = [],
|
|
5242
5249
|
slotProps: p,
|
|
@@ -5254,13 +5261,13 @@ const aa = (e, r) => {
|
|
|
5254
5261
|
options: M,
|
|
5255
5262
|
ref: T,
|
|
5256
5263
|
size: w,
|
|
5257
|
-
disableCloseOnSelect:
|
|
5264
|
+
disableCloseOnSelect: S,
|
|
5258
5265
|
onChange: ($, A, U, te) => {
|
|
5259
5266
|
if (A === null) {
|
|
5260
5267
|
e == null || e($, m ? [] : null, U, te);
|
|
5261
5268
|
return;
|
|
5262
5269
|
}
|
|
5263
|
-
e == null || e($, A, U, te), (!
|
|
5270
|
+
e == null || e($, A, U, te), (!S || !m) && K(!1);
|
|
5264
5271
|
},
|
|
5265
5272
|
getLimitTagsText: _a(Y),
|
|
5266
5273
|
inputValue: Z,
|
|
@@ -5284,7 +5291,7 @@ const aa = (e, r) => {
|
|
|
5284
5291
|
}
|
|
5285
5292
|
},
|
|
5286
5293
|
onInputChange: ($, A, U) => {
|
|
5287
|
-
U === "reset" && I && !
|
|
5294
|
+
U === "reset" && I && !k || U === "selectOption" && !k || U === "removeOption" && !k || (x || ne(A), f == null || f($, A, U));
|
|
5288
5295
|
},
|
|
5289
5296
|
onFocus: ($) => {
|
|
5290
5297
|
K(!0), c == null || c($);
|