react-luminus-components 1.3.233 → 1.3.235
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/.vite/manifest.json +34 -34
- package/dist/{Loading-Khc1YD1r.js → Loading-CCSVZUhe.js} +1 -1
- package/dist/{Loading-Bq47YAVD.cjs → Loading-DL2EkP3d.cjs} +1 -1
- package/dist/{ShortcutLinksContext-DApcNgFs.js → ShortcutLinksContext-BssuYypF.js} +199 -199
- package/dist/{ShortcutLinksContext-DGRQ13Df.cjs → ShortcutLinksContext-DfBnlBCo.cjs} +10 -10
- package/dist/components/InputContainers/FloatingLabelInput/FloatingLabelInput.d.ts +2 -0
- package/dist/components/InputContainers/NoInputContainer/NoInputContainer.d.ts +2 -0
- package/dist/components/InputContainers/RowLabelInput/RowLabelInput.d.ts +2 -0
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +3 -3
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +4 -4
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +3 -3
- package/dist/main.cjs.js +15 -15
- package/dist/main.es.js +715 -715
- package/dist/models/prop-types/InputContainerProps.d.ts +1 -0
- package/dist/{useGetApiData-CruzvYco.cjs → useGetApiData-Bf_FxATb.cjs} +1 -1
- package/dist/{useGetApiData-xQ3tB0Jt.js → useGetApiData-BrxYGyDd.js} +1 -1
- package/dist/{usePermissions-C3odwqCN.cjs → usePermissions-Bbpwz3_4.cjs} +1 -1
- package/dist/{usePermissions-WNAKnyu2.js → usePermissions-Drdy5QyP.js} +1 -1
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +2 -2
- package/package.json +1 -1
|
@@ -198,7 +198,7 @@ function Hw() {
|
|
|
198
198
|
j < 0 && _("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
|
-
var
|
|
201
|
+
var K = b.ReactCurrentDispatcher, X;
|
|
202
202
|
function ie(k, J, q) {
|
|
203
203
|
{
|
|
204
204
|
if (X === void 0)
|
|
@@ -230,7 +230,7 @@ function Hw() {
|
|
|
230
230
|
var ge = Error.prepareStackTrace;
|
|
231
231
|
Error.prepareStackTrace = void 0;
|
|
232
232
|
var we;
|
|
233
|
-
we =
|
|
233
|
+
we = K.current, K.current = null, G();
|
|
234
234
|
try {
|
|
235
235
|
if (J) {
|
|
236
236
|
var me = function() {
|
|
@@ -283,7 +283,7 @@ function Hw() {
|
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
285
|
} finally {
|
|
286
|
-
W = !1,
|
|
286
|
+
W = !1, K.current = we, ee(), Error.prepareStackTrace = ge;
|
|
287
287
|
}
|
|
288
288
|
var Et = k ? k.displayName || k.name : "", Sn = Et ? ie(Et) : "";
|
|
289
289
|
return typeof k == "function" && V.set(k, Sn), Sn;
|
|
@@ -676,7 +676,7 @@ var m = Md.exports, ly = { exports: {} };
|
|
|
676
676
|
})();
|
|
677
677
|
})(ly);
|
|
678
678
|
var Vw = ly.exports;
|
|
679
|
-
const
|
|
679
|
+
const Z = /* @__PURE__ */ Ut(Vw);
|
|
680
680
|
function sn(e) {
|
|
681
681
|
const t = Object.prototype.toString.call(e);
|
|
682
682
|
return e instanceof Date || typeof e == "object" && t === "[object Date]" ? new e.constructor(+e) : typeof e == "number" || t === "[object Number]" || typeof e == "string" || t === "[object String]" ? new Date(e) : /* @__PURE__ */ new Date(NaN);
|
|
@@ -2307,7 +2307,7 @@ function LT() {
|
|
|
2307
2307
|
function ee(S) {
|
|
2308
2308
|
return w(S) === r;
|
|
2309
2309
|
}
|
|
2310
|
-
function
|
|
2310
|
+
function K(S) {
|
|
2311
2311
|
return w(S) === g;
|
|
2312
2312
|
}
|
|
2313
2313
|
function X(S) {
|
|
@@ -2325,7 +2325,7 @@ function LT() {
|
|
|
2325
2325
|
function se(S) {
|
|
2326
2326
|
return w(S) === d;
|
|
2327
2327
|
}
|
|
2328
|
-
tt.AsyncMode = x, tt.ConcurrentMode = T, tt.ContextConsumer = O, tt.ContextProvider = C, tt.Element = P, tt.ForwardRef = M, tt.Fragment = A, tt.Lazy = N, tt.Memo = $, tt.Portal = R, tt.Profiler = j, tt.StrictMode = D, tt.Suspense = U, tt.isAsyncMode = B, tt.isConcurrentMode = I, tt.isContextConsumer = F, tt.isContextProvider = Y, tt.isElement = ne, tt.isForwardRef = G, tt.isFragment = ee, tt.isLazy =
|
|
2328
|
+
tt.AsyncMode = x, tt.ConcurrentMode = T, tt.ContextConsumer = O, tt.ContextProvider = C, tt.Element = P, tt.ForwardRef = M, tt.Fragment = A, tt.Lazy = N, tt.Memo = $, tt.Portal = R, tt.Profiler = j, tt.StrictMode = D, tt.Suspense = U, tt.isAsyncMode = B, tt.isConcurrentMode = I, tt.isContextConsumer = F, tt.isContextProvider = Y, tt.isElement = ne, tt.isForwardRef = G, tt.isFragment = ee, tt.isLazy = K, tt.isMemo = X, tt.isPortal = ie, tt.isProfiler = W, tt.isStrictMode = V, tt.isSuspense = se, tt.isValidElementType = y, tt.typeOf = w;
|
|
2329
2329
|
}()), tt;
|
|
2330
2330
|
}
|
|
2331
2331
|
var bm;
|
|
@@ -2498,7 +2498,7 @@ function BT() {
|
|
|
2498
2498
|
function v(I) {
|
|
2499
2499
|
if (process.env.NODE_ENV !== "production")
|
|
2500
2500
|
var F = {}, Y = 0;
|
|
2501
|
-
function ne(ee,
|
|
2501
|
+
function ne(ee, K, X, ie, W, V, se) {
|
|
2502
2502
|
if (ie = ie || f, V = V || X, se !== n) {
|
|
2503
2503
|
if (c) {
|
|
2504
2504
|
var S = new Error(
|
|
@@ -2513,18 +2513,18 @@ function BT() {
|
|
|
2513
2513
|
), F[ve] = !0, Y++);
|
|
2514
2514
|
}
|
|
2515
2515
|
}
|
|
2516
|
-
return
|
|
2516
|
+
return K[X] == null ? ee ? K[X] === null ? new p("The " + W + " `" + V + "` is marked as required " + ("in `" + ie + "`, but its value is `null`.")) : new p("The " + W + " `" + V + "` is marked as required in " + ("`" + ie + "`, but its value is `undefined`.")) : null : I(K, X, ie, W, V);
|
|
2517
2517
|
}
|
|
2518
2518
|
var G = ne.bind(null, !1);
|
|
2519
2519
|
return G.isRequired = ne.bind(null, !0), G;
|
|
2520
2520
|
}
|
|
2521
2521
|
function b(I) {
|
|
2522
|
-
function F(Y, ne, G, ee,
|
|
2522
|
+
function F(Y, ne, G, ee, K, X) {
|
|
2523
2523
|
var ie = Y[ne], W = D(ie);
|
|
2524
2524
|
if (W !== I) {
|
|
2525
2525
|
var V = U(ie);
|
|
2526
2526
|
return new p(
|
|
2527
|
-
"Invalid " + ee + " `" +
|
|
2527
|
+
"Invalid " + ee + " `" + K + "` of type " + ("`" + V + "` supplied to `" + G + "`, expected ") + ("`" + I + "`."),
|
|
2528
2528
|
{ expectedType: I }
|
|
2529
2529
|
);
|
|
2530
2530
|
}
|
|
@@ -2536,16 +2536,16 @@ function BT() {
|
|
|
2536
2536
|
return v(o);
|
|
2537
2537
|
}
|
|
2538
2538
|
function y(I) {
|
|
2539
|
-
function F(Y, ne, G, ee,
|
|
2539
|
+
function F(Y, ne, G, ee, K) {
|
|
2540
2540
|
if (typeof I != "function")
|
|
2541
|
-
return new p("Property `" +
|
|
2541
|
+
return new p("Property `" + K + "` of component `" + G + "` has invalid PropType notation inside arrayOf.");
|
|
2542
2542
|
var X = Y[ne];
|
|
2543
2543
|
if (!Array.isArray(X)) {
|
|
2544
2544
|
var ie = D(X);
|
|
2545
|
-
return new p("Invalid " + ee + " `" +
|
|
2545
|
+
return new p("Invalid " + ee + " `" + K + "` of type " + ("`" + ie + "` supplied to `" + G + "`, expected an array."));
|
|
2546
2546
|
}
|
|
2547
2547
|
for (var W = 0; W < X.length; W++) {
|
|
2548
|
-
var V = I(X, W, G, ee,
|
|
2548
|
+
var V = I(X, W, G, ee, K + "[" + W + "]", n);
|
|
2549
2549
|
if (V instanceof Error)
|
|
2550
2550
|
return V;
|
|
2551
2551
|
}
|
|
@@ -2555,9 +2555,9 @@ function BT() {
|
|
|
2555
2555
|
}
|
|
2556
2556
|
function w() {
|
|
2557
2557
|
function I(F, Y, ne, G, ee) {
|
|
2558
|
-
var
|
|
2559
|
-
if (!s(
|
|
2560
|
-
var X = D(
|
|
2558
|
+
var K = F[Y];
|
|
2559
|
+
if (!s(K)) {
|
|
2560
|
+
var X = D(K);
|
|
2561
2561
|
return new p("Invalid " + G + " `" + ee + "` of type " + ("`" + X + "` supplied to `" + ne + "`, expected a single ReactElement."));
|
|
2562
2562
|
}
|
|
2563
2563
|
return null;
|
|
@@ -2566,9 +2566,9 @@ function BT() {
|
|
|
2566
2566
|
}
|
|
2567
2567
|
function x() {
|
|
2568
2568
|
function I(F, Y, ne, G, ee) {
|
|
2569
|
-
var
|
|
2570
|
-
if (!e.isValidElementType(
|
|
2571
|
-
var X = D(
|
|
2569
|
+
var K = F[Y];
|
|
2570
|
+
if (!e.isValidElementType(K)) {
|
|
2571
|
+
var X = D(K);
|
|
2572
2572
|
return new p("Invalid " + G + " `" + ee + "` of type " + ("`" + X + "` supplied to `" + ne + "`, expected a single ReactElement type."));
|
|
2573
2573
|
}
|
|
2574
2574
|
return null;
|
|
@@ -2576,10 +2576,10 @@ function BT() {
|
|
|
2576
2576
|
return v(I);
|
|
2577
2577
|
}
|
|
2578
2578
|
function T(I) {
|
|
2579
|
-
function F(Y, ne, G, ee,
|
|
2579
|
+
function F(Y, ne, G, ee, K) {
|
|
2580
2580
|
if (!(Y[ne] instanceof I)) {
|
|
2581
2581
|
var X = I.name || f, ie = B(Y[ne]);
|
|
2582
|
-
return new p("Invalid " + ee + " `" +
|
|
2582
|
+
return new p("Invalid " + ee + " `" + K + "` of type " + ("`" + ie + "` supplied to `" + G + "`, expected ") + ("instance of `" + X + "`."));
|
|
2583
2583
|
}
|
|
2584
2584
|
return null;
|
|
2585
2585
|
}
|
|
@@ -2590,7 +2590,7 @@ function BT() {
|
|
|
2590
2590
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
|
|
2591
2591
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
2592
2592
|
) : a("Invalid argument supplied to oneOf, expected an array.")), o;
|
|
2593
|
-
function F(Y, ne, G, ee,
|
|
2593
|
+
function F(Y, ne, G, ee, K) {
|
|
2594
2594
|
for (var X = Y[ne], ie = 0; ie < I.length; ie++)
|
|
2595
2595
|
if (g(X, I[ie]))
|
|
2596
2596
|
return null;
|
|
@@ -2598,20 +2598,20 @@ function BT() {
|
|
|
2598
2598
|
var ve = U(S);
|
|
2599
2599
|
return ve === "symbol" ? String(S) : S;
|
|
2600
2600
|
});
|
|
2601
|
-
return new p("Invalid " + ee + " `" +
|
|
2601
|
+
return new p("Invalid " + ee + " `" + K + "` of value `" + String(X) + "` " + ("supplied to `" + G + "`, expected one of " + W + "."));
|
|
2602
2602
|
}
|
|
2603
2603
|
return v(F);
|
|
2604
2604
|
}
|
|
2605
2605
|
function C(I) {
|
|
2606
|
-
function F(Y, ne, G, ee,
|
|
2606
|
+
function F(Y, ne, G, ee, K) {
|
|
2607
2607
|
if (typeof I != "function")
|
|
2608
|
-
return new p("Property `" +
|
|
2608
|
+
return new p("Property `" + K + "` of component `" + G + "` has invalid PropType notation inside objectOf.");
|
|
2609
2609
|
var X = Y[ne], ie = D(X);
|
|
2610
2610
|
if (ie !== "object")
|
|
2611
|
-
return new p("Invalid " + ee + " `" +
|
|
2611
|
+
return new p("Invalid " + ee + " `" + K + "` of type " + ("`" + ie + "` supplied to `" + G + "`, expected an object."));
|
|
2612
2612
|
for (var W in X)
|
|
2613
2613
|
if (r(X, W)) {
|
|
2614
|
-
var V = I(X, W, G, ee,
|
|
2614
|
+
var V = I(X, W, G, ee, K + "." + W, n);
|
|
2615
2615
|
if (V instanceof Error)
|
|
2616
2616
|
return V;
|
|
2617
2617
|
}
|
|
@@ -2629,15 +2629,15 @@ function BT() {
|
|
|
2629
2629
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + L(Y) + " at index " + F + "."
|
|
2630
2630
|
), o;
|
|
2631
2631
|
}
|
|
2632
|
-
function ne(G, ee,
|
|
2632
|
+
function ne(G, ee, K, X, ie) {
|
|
2633
2633
|
for (var W = [], V = 0; V < I.length; V++) {
|
|
2634
|
-
var se = I[V], S = se(G, ee,
|
|
2634
|
+
var se = I[V], S = se(G, ee, K, X, ie, n);
|
|
2635
2635
|
if (S == null)
|
|
2636
2636
|
return null;
|
|
2637
2637
|
S.data && r(S.data, "expectedType") && W.push(S.data.expectedType);
|
|
2638
2638
|
}
|
|
2639
2639
|
var ve = W.length > 0 ? ", expected one of type [" + W.join(", ") + "]" : "";
|
|
2640
|
-
return new p("Invalid " + X + " `" + ie + "` supplied to " + ("`" +
|
|
2640
|
+
return new p("Invalid " + X + " `" + ie + "` supplied to " + ("`" + K + "`" + ve + "."));
|
|
2641
2641
|
}
|
|
2642
2642
|
return v(ne);
|
|
2643
2643
|
}
|
|
@@ -2653,15 +2653,15 @@ function BT() {
|
|
|
2653
2653
|
);
|
|
2654
2654
|
}
|
|
2655
2655
|
function N(I) {
|
|
2656
|
-
function F(Y, ne, G, ee,
|
|
2656
|
+
function F(Y, ne, G, ee, K) {
|
|
2657
2657
|
var X = Y[ne], ie = D(X);
|
|
2658
2658
|
if (ie !== "object")
|
|
2659
|
-
return new p("Invalid " + ee + " `" +
|
|
2659
|
+
return new p("Invalid " + ee + " `" + K + "` of type `" + ie + "` " + ("supplied to `" + G + "`, expected `object`."));
|
|
2660
2660
|
for (var W in I) {
|
|
2661
2661
|
var V = I[W];
|
|
2662
2662
|
if (typeof V != "function")
|
|
2663
|
-
return A(G, ee,
|
|
2664
|
-
var se = V(X, W, G, ee,
|
|
2663
|
+
return A(G, ee, K, W, U(V));
|
|
2664
|
+
var se = V(X, W, G, ee, K + "." + W, n);
|
|
2665
2665
|
if (se)
|
|
2666
2666
|
return se;
|
|
2667
2667
|
}
|
|
@@ -2670,21 +2670,21 @@ function BT() {
|
|
|
2670
2670
|
return v(F);
|
|
2671
2671
|
}
|
|
2672
2672
|
function $(I) {
|
|
2673
|
-
function F(Y, ne, G, ee,
|
|
2673
|
+
function F(Y, ne, G, ee, K) {
|
|
2674
2674
|
var X = Y[ne], ie = D(X);
|
|
2675
2675
|
if (ie !== "object")
|
|
2676
|
-
return new p("Invalid " + ee + " `" +
|
|
2676
|
+
return new p("Invalid " + ee + " `" + K + "` of type `" + ie + "` " + ("supplied to `" + G + "`, expected `object`."));
|
|
2677
2677
|
var W = t({}, Y[ne], I);
|
|
2678
2678
|
for (var V in W) {
|
|
2679
2679
|
var se = I[V];
|
|
2680
2680
|
if (r(I, V) && typeof se != "function")
|
|
2681
|
-
return A(G, ee,
|
|
2681
|
+
return A(G, ee, K, V, U(se));
|
|
2682
2682
|
if (!se)
|
|
2683
2683
|
return new p(
|
|
2684
|
-
"Invalid " + ee + " `" +
|
|
2684
|
+
"Invalid " + ee + " `" + K + "` key `" + V + "` supplied to `" + G + "`.\nBad object: " + JSON.stringify(Y[ne], null, " ") + `
|
|
2685
2685
|
Valid keys: ` + JSON.stringify(Object.keys(I), null, " ")
|
|
2686
2686
|
);
|
|
2687
|
-
var S = se(X, V, G, ee,
|
|
2687
|
+
var S = se(X, V, G, ee, K + "." + V, n);
|
|
2688
2688
|
if (S)
|
|
2689
2689
|
return S;
|
|
2690
2690
|
}
|
|
@@ -3303,7 +3303,7 @@ function _t(e) {
|
|
|
3303
3303
|
const Oy = (e) => /* @__PURE__ */ te.forwardRef((t, n) => /* @__PURE__ */ m.jsx("div", {
|
|
3304
3304
|
...t,
|
|
3305
3305
|
ref: n,
|
|
3306
|
-
className:
|
|
3306
|
+
className: Z(t.className, e)
|
|
3307
3307
|
})), ky = Oy("h4");
|
|
3308
3308
|
ky.displayName = "DivStyledAsH4";
|
|
3309
3309
|
const $y = /* @__PURE__ */ te.forwardRef(({
|
|
@@ -3313,7 +3313,7 @@ const $y = /* @__PURE__ */ te.forwardRef(({
|
|
|
3313
3313
|
...r
|
|
3314
3314
|
}, i) => (t = Ve(t, "alert-heading"), /* @__PURE__ */ m.jsx(n, {
|
|
3315
3315
|
ref: i,
|
|
3316
|
-
className:
|
|
3316
|
+
className: Z(e, t),
|
|
3317
3317
|
...r
|
|
3318
3318
|
})));
|
|
3319
3319
|
$y.displayName = "AlertHeading";
|
|
@@ -3453,7 +3453,7 @@ const Cy = /* @__PURE__ */ te.forwardRef(({
|
|
|
3453
3453
|
...r
|
|
3454
3454
|
}, i) => (t = Ve(t, "alert-link"), /* @__PURE__ */ m.jsx(n, {
|
|
3455
3455
|
ref: i,
|
|
3456
|
-
className:
|
|
3456
|
+
className: Z(e, t),
|
|
3457
3457
|
...r
|
|
3458
3458
|
})));
|
|
3459
3459
|
Cy.displayName = "AlertLink";
|
|
@@ -3498,7 +3498,7 @@ const d3 = {
|
|
|
3498
3498
|
childRef: l,
|
|
3499
3499
|
children: (u, d) => /* @__PURE__ */ te.cloneElement(t, {
|
|
3500
3500
|
...d,
|
|
3501
|
-
className:
|
|
3501
|
+
className: Z("fade", e, t.props.className, d3[u], n[u])
|
|
3502
3502
|
})
|
|
3503
3503
|
});
|
|
3504
3504
|
});
|
|
@@ -3522,7 +3522,7 @@ const f3 = {
|
|
|
3522
3522
|
}, i) => /* @__PURE__ */ m.jsx("button", {
|
|
3523
3523
|
ref: i,
|
|
3524
3524
|
type: "button",
|
|
3525
|
-
className:
|
|
3525
|
+
className: Z("btn-close", t && `btn-close-${t}`, e),
|
|
3526
3526
|
"aria-label": n,
|
|
3527
3527
|
...r
|
|
3528
3528
|
}));
|
|
@@ -3549,7 +3549,7 @@ const Ry = /* @__PURE__ */ te.forwardRef((e, t) => {
|
|
|
3549
3549
|
role: "alert",
|
|
3550
3550
|
...p ? void 0 : f,
|
|
3551
3551
|
ref: t,
|
|
3552
|
-
className:
|
|
3552
|
+
className: Z(o, h, c && `${h}-${c}`, u && `${h}-dismissible`),
|
|
3553
3553
|
children: [u && /* @__PURE__ */ m.jsx(nl, {
|
|
3554
3554
|
onClick: g,
|
|
3555
3555
|
"aria-label": i,
|
|
@@ -3590,7 +3590,7 @@ const h3 = Object.assign(Ry, {
|
|
|
3590
3590
|
...s,
|
|
3591
3591
|
ref: c,
|
|
3592
3592
|
disabled: a,
|
|
3593
|
-
className:
|
|
3593
|
+
className: Z(o, l, i && "active", n && `${l}-${n}`, r && `${l}-${r}`, s.href && a && "disabled")
|
|
3594
3594
|
});
|
|
3595
3595
|
});
|
|
3596
3596
|
jy.displayName = "Button";
|
|
@@ -3645,7 +3645,7 @@ function v3({
|
|
|
3645
3645
|
u && o.push(u === !0 ? `${t}${h}` : `${t}${h}-${u}`), f != null && s.push(`order${h}-${f}`), d != null && s.push(`offset${h}-${d}`);
|
|
3646
3646
|
}), [{
|
|
3647
3647
|
...r,
|
|
3648
|
-
className:
|
|
3648
|
+
className: Z(n, ...o, ...s)
|
|
3649
3649
|
}, {
|
|
3650
3650
|
as: e,
|
|
3651
3651
|
bsPrefix: t,
|
|
@@ -3666,7 +3666,7 @@ const Iy = /* @__PURE__ */ te.forwardRef(
|
|
|
3666
3666
|
return /* @__PURE__ */ m.jsx(i, {
|
|
3667
3667
|
...r,
|
|
3668
3668
|
ref: t,
|
|
3669
|
-
className:
|
|
3669
|
+
className: Z(n, !o.length && a)
|
|
3670
3670
|
});
|
|
3671
3671
|
}
|
|
3672
3672
|
);
|
|
@@ -4266,15 +4266,15 @@ function tS(e) {
|
|
|
4266
4266
|
}
|
|
4267
4267
|
if (C)
|
|
4268
4268
|
for (var I = g ? 3 : 1, F = function(ee) {
|
|
4269
|
-
var
|
|
4269
|
+
var K = w.find(function(X) {
|
|
4270
4270
|
var ie = O.get(X);
|
|
4271
4271
|
if (ie)
|
|
4272
4272
|
return ie.slice(0, ee).every(function(W) {
|
|
4273
4273
|
return W;
|
|
4274
4274
|
});
|
|
4275
4275
|
});
|
|
4276
|
-
if (
|
|
4277
|
-
return P =
|
|
4276
|
+
if (K)
|
|
4277
|
+
return P = K, "break";
|
|
4278
4278
|
}, Y = I; Y > 0; Y--) {
|
|
4279
4279
|
var ne = F(Y);
|
|
4280
4280
|
if (ne === "break") break;
|
|
@@ -4398,7 +4398,7 @@ function dS(e) {
|
|
|
4398
4398
|
var $, R = w === "y" ? mn : gn, j = w === "y" ? Ln : Fn, D = w === "y" ? "height" : "width", U = T[w], L = U + v[R], B = U - v[j], I = h ? -C[D] / 2 : 0, F = _ === oa ? O[D] : C[D], Y = _ === oa ? -C[D] : -O[D], ne = t.elements.arrow, G = h && ne ? oh(ne) : {
|
|
4399
4399
|
width: 0,
|
|
4400
4400
|
height: 0
|
|
4401
|
-
}, ee = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : By(),
|
|
4401
|
+
}, ee = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : By(), K = ee[R], X = ee[j], ie = uo(0, O[D], G[D]), W = y ? O[D] / 2 - I - ie - K - M.mainAxis : F - ie - K - M.mainAxis, V = y ? -O[D] / 2 + I + ie + X + M.mainAxis : Y + ie + X + M.mainAxis, se = t.elements.arrow && cs(t.elements.arrow), S = se ? w === "y" ? se.clientTop || 0 : se.clientLeft || 0 : 0, ve = ($ = A == null ? void 0 : A[w]) != null ? $ : 0, ye = U + W - ve - S, pe = U + V - ve, Ne = uo(h ? fc(L, ye) : L, U, h ? hi(B, pe) : B);
|
|
4402
4402
|
T[w] = Ne, N[w] = Ne - U;
|
|
4403
4403
|
}
|
|
4404
4404
|
if (s) {
|
|
@@ -5184,7 +5184,7 @@ const ab = /* @__PURE__ */ te.forwardRef(({
|
|
|
5184
5184
|
...i
|
|
5185
5185
|
}, a) => (t = Ve(t, "dropdown-divider"), /* @__PURE__ */ m.jsx(n, {
|
|
5186
5186
|
ref: a,
|
|
5187
|
-
className:
|
|
5187
|
+
className: Z(e, t),
|
|
5188
5188
|
role: r,
|
|
5189
5189
|
...i
|
|
5190
5190
|
})));
|
|
@@ -5197,7 +5197,7 @@ const ob = /* @__PURE__ */ te.forwardRef(({
|
|
|
5197
5197
|
...i
|
|
5198
5198
|
}, a) => (t = Ve(t, "dropdown-header"), /* @__PURE__ */ m.jsx(n, {
|
|
5199
5199
|
ref: a,
|
|
5200
|
-
className:
|
|
5200
|
+
className: Z(e, t),
|
|
5201
5201
|
role: r,
|
|
5202
5202
|
...i
|
|
5203
5203
|
})));
|
|
@@ -5223,7 +5223,7 @@ const sb = /* @__PURE__ */ te.forwardRef(({
|
|
|
5223
5223
|
...s,
|
|
5224
5224
|
...u,
|
|
5225
5225
|
ref: c,
|
|
5226
|
-
className:
|
|
5226
|
+
className: Z(t, l, d.isActive && "active", r && "disabled")
|
|
5227
5227
|
});
|
|
5228
5228
|
});
|
|
5229
5229
|
sb.displayName = "DropdownItem";
|
|
@@ -5234,7 +5234,7 @@ const cb = /* @__PURE__ */ te.forwardRef(({
|
|
|
5234
5234
|
...r
|
|
5235
5235
|
}, i) => (t = Ve(t, "dropdown-item-text"), /* @__PURE__ */ m.jsx(n, {
|
|
5236
5236
|
ref: i,
|
|
5237
|
-
className:
|
|
5237
|
+
className: Z(e, t),
|
|
5238
5238
|
...r
|
|
5239
5239
|
})));
|
|
5240
5240
|
cb.displayName = "DropdownItemText";
|
|
@@ -5313,7 +5313,7 @@ const fb = /* @__PURE__ */ te.forwardRef(({
|
|
|
5313
5313
|
...(y.length || h) && {
|
|
5314
5314
|
"data-bs-popper": "static"
|
|
5315
5315
|
},
|
|
5316
|
-
className:
|
|
5316
|
+
className: Z(t, g, C && "show", f && `${g}-end`, l && `${g}-${l}`, ...y)
|
|
5317
5317
|
});
|
|
5318
5318
|
});
|
|
5319
5319
|
fb.displayName = "DropdownMenu";
|
|
@@ -5330,7 +5330,7 @@ const hb = /* @__PURE__ */ te.forwardRef(({
|
|
|
5330
5330
|
r !== void 0 && (a.bsPrefix = r);
|
|
5331
5331
|
const [l] = eb();
|
|
5332
5332
|
return l.ref = Un(l.ref, ub(o, "DropdownToggle")), /* @__PURE__ */ m.jsx(i, {
|
|
5333
|
-
className:
|
|
5333
|
+
className: Z(n, s, t && `${s}-split`, (c == null ? void 0 : c.show) && "show"),
|
|
5334
5334
|
...l,
|
|
5335
5335
|
...a
|
|
5336
5336
|
});
|
|
@@ -5380,7 +5380,7 @@ const pb = /* @__PURE__ */ te.forwardRef((e, t) => {
|
|
|
5380
5380
|
children: g ? h.children : /* @__PURE__ */ m.jsx(u, {
|
|
5381
5381
|
...h,
|
|
5382
5382
|
ref: t,
|
|
5383
|
-
className:
|
|
5383
|
+
className: Z(a, i && "show", T[r])
|
|
5384
5384
|
})
|
|
5385
5385
|
})
|
|
5386
5386
|
});
|
|
@@ -5414,7 +5414,7 @@ const To = Object.assign(pb, {
|
|
|
5414
5414
|
}, a) => /* @__PURE__ */ m.jsx(e, {
|
|
5415
5415
|
...i,
|
|
5416
5416
|
ref: a,
|
|
5417
|
-
className:
|
|
5417
|
+
className: Z(t, `${n}-${r ? "tooltip" : "feedback"}`)
|
|
5418
5418
|
})
|
|
5419
5419
|
);
|
|
5420
5420
|
sl.displayName = "Feedback";
|
|
@@ -5438,7 +5438,7 @@ const xr = /* @__PURE__ */ te.createContext({}), hh = /* @__PURE__ */ te.forward
|
|
|
5438
5438
|
ref: c,
|
|
5439
5439
|
type: r,
|
|
5440
5440
|
id: e || l,
|
|
5441
|
-
className:
|
|
5441
|
+
className: Z(n, t, i && "is-valid", a && "is-invalid")
|
|
5442
5442
|
});
|
|
5443
5443
|
});
|
|
5444
5444
|
hh.displayName = "FormCheckInput";
|
|
@@ -5455,7 +5455,7 @@ const pc = /* @__PURE__ */ te.forwardRef(({
|
|
|
5455
5455
|
...r,
|
|
5456
5456
|
ref: i,
|
|
5457
5457
|
htmlFor: n || a,
|
|
5458
|
-
className:
|
|
5458
|
+
className: Z(t, e)
|
|
5459
5459
|
});
|
|
5460
5460
|
});
|
|
5461
5461
|
pc.displayName = "FormCheckLabel";
|
|
@@ -5499,7 +5499,7 @@ const mb = /* @__PURE__ */ te.forwardRef(({
|
|
|
5499
5499
|
value: x,
|
|
5500
5500
|
children: /* @__PURE__ */ m.jsx("div", {
|
|
5501
5501
|
style: f,
|
|
5502
|
-
className:
|
|
5502
|
+
className: Z(d, T && t, r && `${t}-inline`, i && `${t}-reverse`, g === "switch" && n),
|
|
5503
5503
|
children: v || /* @__PURE__ */ m.jsxs(m.Fragment, {
|
|
5504
5504
|
children: [O, T && /* @__PURE__ */ m.jsx(pc, {
|
|
5505
5505
|
title: h,
|
|
@@ -5542,7 +5542,7 @@ const mc = Object.assign(mb, {
|
|
|
5542
5542
|
ref: f,
|
|
5543
5543
|
readOnly: l,
|
|
5544
5544
|
id: i || h,
|
|
5545
|
-
className:
|
|
5545
|
+
className: Z(a, c ? `${e}-plaintext` : e, n && `${e}-${n}`, t === "color" && `${e}-color`, o && "is-valid", s && "is-invalid")
|
|
5546
5546
|
});
|
|
5547
5547
|
});
|
|
5548
5548
|
gb.displayName = "FormControl";
|
|
@@ -5555,7 +5555,7 @@ const e6 = Object.assign(gb, {
|
|
|
5555
5555
|
...r
|
|
5556
5556
|
}, i) => (t = Ve(t, "form-floating"), /* @__PURE__ */ m.jsx(n, {
|
|
5557
5557
|
ref: i,
|
|
5558
|
-
className:
|
|
5558
|
+
className: Z(e, t),
|
|
5559
5559
|
...r
|
|
5560
5560
|
})));
|
|
5561
5561
|
vb.displayName = "FormFloating";
|
|
@@ -5593,7 +5593,7 @@ const yb = /* @__PURE__ */ te.forwardRef(({
|
|
|
5593
5593
|
t = Ve(t, "form-label");
|
|
5594
5594
|
let l = "col-form-label";
|
|
5595
5595
|
typeof n == "string" && (l = `${l} ${l}-${n}`);
|
|
5596
|
-
const u =
|
|
5596
|
+
const u = Z(i, t, r && "visually-hidden", n && l);
|
|
5597
5597
|
return process.env.NODE_ENV !== "production" && Ri(c == null || !a, "`controlId` is ignored on `<FormLabel>` when `htmlFor` is specified."), a = a || c, n ? /* @__PURE__ */ m.jsx(Iy, {
|
|
5598
5598
|
ref: s,
|
|
5599
5599
|
as: "label",
|
|
@@ -5624,7 +5624,7 @@ const bb = /* @__PURE__ */ te.forwardRef(({
|
|
|
5624
5624
|
...r,
|
|
5625
5625
|
type: "range",
|
|
5626
5626
|
ref: i,
|
|
5627
|
-
className:
|
|
5627
|
+
className: Z(t, e),
|
|
5628
5628
|
id: n || a
|
|
5629
5629
|
});
|
|
5630
5630
|
});
|
|
@@ -5646,7 +5646,7 @@ const xb = /* @__PURE__ */ te.forwardRef(({
|
|
|
5646
5646
|
...s,
|
|
5647
5647
|
size: n,
|
|
5648
5648
|
ref: c,
|
|
5649
|
-
className:
|
|
5649
|
+
className: Z(r, e, t && `${e}-${t}`, i && "is-valid", a && "is-invalid"),
|
|
5650
5650
|
id: o || l
|
|
5651
5651
|
});
|
|
5652
5652
|
});
|
|
@@ -5662,7 +5662,7 @@ const _b = /* @__PURE__ */ te.forwardRef(
|
|
|
5662
5662
|
}, a) => (e = Ve(e, "form-text"), /* @__PURE__ */ m.jsx(n, {
|
|
5663
5663
|
...i,
|
|
5664
5664
|
ref: a,
|
|
5665
|
-
className:
|
|
5665
|
+
className: Z(t, e, r && "text-muted")
|
|
5666
5666
|
}))
|
|
5667
5667
|
);
|
|
5668
5668
|
_b.displayName = "FormText";
|
|
@@ -5684,7 +5684,7 @@ const t6 = Object.assign(wb, {
|
|
|
5684
5684
|
...a
|
|
5685
5685
|
}, o) => (e = Ve(e, "form-floating"), /* @__PURE__ */ m.jsxs(ph, {
|
|
5686
5686
|
ref: o,
|
|
5687
|
-
className:
|
|
5687
|
+
className: Z(t, e),
|
|
5688
5688
|
controlId: r,
|
|
5689
5689
|
...a,
|
|
5690
5690
|
children: [n, /* @__PURE__ */ m.jsx("label", {
|
|
@@ -5718,7 +5718,7 @@ const n6 = {
|
|
|
5718
5718
|
}, i) => /* @__PURE__ */ m.jsx(n, {
|
|
5719
5719
|
...r,
|
|
5720
5720
|
ref: i,
|
|
5721
|
-
className:
|
|
5721
|
+
className: Z(e, t && "was-validated")
|
|
5722
5722
|
}));
|
|
5723
5723
|
gh.displayName = "Form";
|
|
5724
5724
|
gh.propTypes = n6;
|
|
@@ -5893,7 +5893,7 @@ const s6 = Object.assign(kb, {
|
|
|
5893
5893
|
...c,
|
|
5894
5894
|
...u,
|
|
5895
5895
|
onClick: f,
|
|
5896
|
-
className:
|
|
5896
|
+
className: Z(i, e, d.isActive && "active", n && "disabled", a && `${e}-${a}`, o && `${e}-action`)
|
|
5897
5897
|
});
|
|
5898
5898
|
});
|
|
5899
5899
|
vh.displayName = "ListGroupItem";
|
|
@@ -5915,7 +5915,7 @@ const $b = /* @__PURE__ */ te.forwardRef((e, t) => {
|
|
|
5915
5915
|
ref: t,
|
|
5916
5916
|
...c,
|
|
5917
5917
|
as: s,
|
|
5918
|
-
className:
|
|
5918
|
+
className: Z(n, l, i && `${l}-${i}`, u && `${l}-${u}`, o && `${l}-numbered`)
|
|
5919
5919
|
});
|
|
5920
5920
|
});
|
|
5921
5921
|
$b.displayName = "ListGroup";
|
|
@@ -6220,7 +6220,7 @@ const Eb = /* @__PURE__ */ Ai((e, t) => {
|
|
|
6220
6220
|
"focus",
|
|
6221
6221
|
// the timeout is necessary b/c this will run before the new modal is mounted
|
|
6222
6222
|
// and so steals focus from it
|
|
6223
|
-
() => setTimeout(
|
|
6223
|
+
() => setTimeout(K),
|
|
6224
6224
|
!0
|
|
6225
6225
|
), O && O(), p) {
|
|
6226
6226
|
var pe, Ne;
|
|
@@ -6245,7 +6245,7 @@ const Eb = /* @__PURE__ */ Ai((e, t) => {
|
|
|
6245
6245
|
}, [F, ee]), rh(() => {
|
|
6246
6246
|
ee();
|
|
6247
6247
|
});
|
|
6248
|
-
const
|
|
6248
|
+
const K = _t(() => {
|
|
6249
6249
|
if (!v || !B() || !L.isTopModal())
|
|
6250
6250
|
return;
|
|
6251
6251
|
const pe = Wu(D == null ? void 0 : D.document);
|
|
@@ -6363,7 +6363,7 @@ const Cb = /* @__PURE__ */ te.forwardRef(({
|
|
|
6363
6363
|
...r
|
|
6364
6364
|
}, i) => (t = Ve(t, "modal-body"), /* @__PURE__ */ m.jsx(n, {
|
|
6365
6365
|
ref: i,
|
|
6366
|
-
className:
|
|
6366
|
+
className: Z(e, t),
|
|
6367
6367
|
...r
|
|
6368
6368
|
})));
|
|
6369
6369
|
Cb.displayName = "ModalBody";
|
|
@@ -6387,9 +6387,9 @@ const Mb = /* @__PURE__ */ te.createContext({
|
|
|
6387
6387
|
return /* @__PURE__ */ m.jsx("div", {
|
|
6388
6388
|
...c,
|
|
6389
6389
|
ref: l,
|
|
6390
|
-
className:
|
|
6390
|
+
className: Z(u, t, i && `${e}-${i}`, r && `${u}-centered`, s && `${u}-scrollable`, a && d),
|
|
6391
6391
|
children: /* @__PURE__ */ m.jsx("div", {
|
|
6392
|
-
className:
|
|
6392
|
+
className: Z(`${e}-content`, n),
|
|
6393
6393
|
children: o
|
|
6394
6394
|
})
|
|
6395
6395
|
});
|
|
@@ -6402,7 +6402,7 @@ const Ab = /* @__PURE__ */ te.forwardRef(({
|
|
|
6402
6402
|
...r
|
|
6403
6403
|
}, i) => (t = Ve(t, "modal-footer"), /* @__PURE__ */ m.jsx(n, {
|
|
6404
6404
|
ref: i,
|
|
6405
|
-
className:
|
|
6405
|
+
className: Z(e, t),
|
|
6406
6406
|
...r
|
|
6407
6407
|
})));
|
|
6408
6408
|
Ab.displayName = "ModalFooter";
|
|
@@ -6435,7 +6435,7 @@ const E6 = /* @__PURE__ */ te.forwardRef(({
|
|
|
6435
6435
|
}, a) => (e = Ve(e, "modal-header"), /* @__PURE__ */ m.jsx(E6, {
|
|
6436
6436
|
ref: a,
|
|
6437
6437
|
...i,
|
|
6438
|
-
className:
|
|
6438
|
+
className: Z(t, e),
|
|
6439
6439
|
closeLabel: n,
|
|
6440
6440
|
closeButton: r
|
|
6441
6441
|
})));
|
|
@@ -6447,7 +6447,7 @@ const C6 = Oy("h4"), jb = /* @__PURE__ */ te.forwardRef(({
|
|
|
6447
6447
|
...r
|
|
6448
6448
|
}, i) => (t = Ve(t, "modal-title"), /* @__PURE__ */ m.jsx(n, {
|
|
6449
6449
|
ref: i,
|
|
6450
|
-
className:
|
|
6450
|
+
className: Z(e, t),
|
|
6451
6451
|
...r
|
|
6452
6452
|
})));
|
|
6453
6453
|
jb.displayName = "ModalTitle";
|
|
@@ -6498,7 +6498,7 @@ const Pb = /* @__PURE__ */ te.forwardRef(({
|
|
|
6498
6498
|
manager: R,
|
|
6499
6499
|
...j
|
|
6500
6500
|
}, D) => {
|
|
6501
|
-
const [U, L] = ke({}), [B, I] = ke(!1), F = fe(!1), Y = fe(!1), ne = fe(null), [G, ee] = uc(),
|
|
6501
|
+
const [U, L] = ke({}), [B, I] = ke(!1), F = fe(!1), Y = fe(!1), ne = fe(null), [G, ee] = uc(), K = Un(D, ee), X = _t(b), ie = tl();
|
|
6502
6502
|
e = Ve(e, "modal");
|
|
6503
6503
|
const W = Q(() => ({
|
|
6504
6504
|
onHide: X
|
|
@@ -6554,7 +6554,7 @@ const Pb = /* @__PURE__ */ te.forwardRef(({
|
|
|
6554
6554
|
Se && (Se.style.display = ""), N == null || N(Se), Dd(window, "resize", S);
|
|
6555
6555
|
}, de = z((Se) => /* @__PURE__ */ m.jsx("div", {
|
|
6556
6556
|
...Se,
|
|
6557
|
-
className:
|
|
6557
|
+
className: Z(`${e}-backdrop`, $, !f && "show")
|
|
6558
6558
|
}), [f, $, e]), Ce = {
|
|
6559
6559
|
...n,
|
|
6560
6560
|
...U
|
|
@@ -6564,7 +6564,7 @@ const Pb = /* @__PURE__ */ te.forwardRef(({
|
|
|
6564
6564
|
role: "dialog",
|
|
6565
6565
|
...Se,
|
|
6566
6566
|
style: Ce,
|
|
6567
|
-
className:
|
|
6567
|
+
className: Z(t, e, B && `${e}-static`, !f && "show"),
|
|
6568
6568
|
onClick: h ? Re : void 0,
|
|
6569
6569
|
onMouseUp: ye,
|
|
6570
6570
|
"data-bs-theme": s,
|
|
@@ -6583,7 +6583,7 @@ const Pb = /* @__PURE__ */ te.forwardRef(({
|
|
|
6583
6583
|
value: W,
|
|
6584
6584
|
children: /* @__PURE__ */ m.jsx(T6, {
|
|
6585
6585
|
show: d,
|
|
6586
|
-
ref:
|
|
6586
|
+
ref: K,
|
|
6587
6587
|
backdrop: h,
|
|
6588
6588
|
container: _,
|
|
6589
6589
|
keyboard: !0,
|
|
@@ -6715,7 +6715,7 @@ const Nb = /* @__PURE__ */ te.forwardRef(({
|
|
|
6715
6715
|
...r
|
|
6716
6716
|
}, i) => (t = Ve(t, "popover-header"), /* @__PURE__ */ m.jsx(n, {
|
|
6717
6717
|
ref: i,
|
|
6718
|
-
className:
|
|
6718
|
+
className: Z(e, t),
|
|
6719
6719
|
...r
|
|
6720
6720
|
})));
|
|
6721
6721
|
Nb.displayName = "PopoverHeader";
|
|
@@ -6726,7 +6726,7 @@ const xh = /* @__PURE__ */ te.forwardRef(({
|
|
|
6726
6726
|
...r
|
|
6727
6727
|
}, i) => (t = Ve(t, "popover-body"), /* @__PURE__ */ m.jsx(n, {
|
|
6728
6728
|
ref: i,
|
|
6729
|
-
className:
|
|
6729
|
+
className: Z(e, t),
|
|
6730
6730
|
...r
|
|
6731
6731
|
})));
|
|
6732
6732
|
xh.displayName = "PopoverBody";
|
|
@@ -6766,7 +6766,7 @@ const P6 = /* @__PURE__ */ te.forwardRef(({
|
|
|
6766
6766
|
role: "tooltip",
|
|
6767
6767
|
style: v,
|
|
6768
6768
|
"x-placement": g,
|
|
6769
|
-
className:
|
|
6769
|
+
className: Z(n, f, g && `bs-popover-${p}`),
|
|
6770
6770
|
...u,
|
|
6771
6771
|
children: [/* @__PURE__ */ m.jsx("div", {
|
|
6772
6772
|
className: "popover-arrow",
|
|
@@ -6804,7 +6804,7 @@ const P6 = /* @__PURE__ */ te.forwardRef(({
|
|
|
6804
6804
|
style: g,
|
|
6805
6805
|
role: "tooltip",
|
|
6806
6806
|
"x-placement": f,
|
|
6807
|
-
className:
|
|
6807
|
+
className: Z(n, e, `bs-tooltip-${h}`),
|
|
6808
6808
|
...l,
|
|
6809
6809
|
children: [/* @__PURE__ */ m.jsx("div", {
|
|
6810
6810
|
className: "tooltip-arrow",
|
|
@@ -6906,7 +6906,7 @@ const Bb = /* @__PURE__ */ te.forwardRef(({
|
|
|
6906
6906
|
arrowProps: b,
|
|
6907
6907
|
popper: T,
|
|
6908
6908
|
hasDoneInitialMeasure: O,
|
|
6909
|
-
className:
|
|
6909
|
+
className: Z(e.props.className, !t && y && "show"),
|
|
6910
6910
|
style: {
|
|
6911
6911
|
...e.props.style,
|
|
6912
6912
|
...v.style
|
|
@@ -7002,7 +7002,7 @@ const Wb = ({
|
|
|
7002
7002
|
return /* @__PURE__ */ m.jsx(i, {
|
|
7003
7003
|
ref: s,
|
|
7004
7004
|
...o,
|
|
7005
|
-
className:
|
|
7005
|
+
className: Z(a, c, r && `${c}-${r}`, t && `text-${t}`)
|
|
7006
7006
|
});
|
|
7007
7007
|
});
|
|
7008
7008
|
zb.displayName = "Spinner";
|
|
@@ -7667,7 +7667,7 @@ const Y5 = Yd, nQ = en({
|
|
|
7667
7667
|
return t != null && t.permissions && t.permissions.length > 0 ? t.permissions : null;
|
|
7668
7668
|
}, X5 = ({ heading: e, content: t, placement: n, children: r, trigger: i = ["hover"], popoverClassName: a, small: o, delay: s, ...c }) => {
|
|
7669
7669
|
const l = i.includes("hover") && !i.includes("focus") ? [...i, "focus"] : i;
|
|
7670
|
-
return /* @__PURE__ */ m.jsx(Wb, { placement: n, overlay: /* @__PURE__ */ m.jsxs(Zs, { className:
|
|
7670
|
+
return /* @__PURE__ */ m.jsx(Wb, { placement: n, overlay: /* @__PURE__ */ m.jsxs(Zs, { className: Z("luminus-popover", { "luminus-popover-sm": o }, a), onClick: (u) => u.stopPropagation(), children: [
|
|
7671
7671
|
e && /* @__PURE__ */ m.jsx(Zs.Header, { children: typeof e == "string" ? /* @__PURE__ */ m.jsx(pn, { variant: "h6", className: "text-primary", children: e }) : e }),
|
|
7672
7672
|
/* @__PURE__ */ m.jsx(Zs.Body, { children: t })
|
|
7673
7673
|
] }), trigger: l, rootClose: !0, show: c.controlled ? c.isOpen : void 0, onToggle: c.controlled ? (u) => c.setIsOpen(u) : void 0, delay: s, children: r });
|
|
@@ -7684,21 +7684,21 @@ const Y5 = Yd, nQ = en({
|
|
|
7684
7684
|
}, oO = ({ variant: e, className: t, children: n }) => {
|
|
7685
7685
|
switch (e) {
|
|
7686
7686
|
case "h1":
|
|
7687
|
-
return /* @__PURE__ */ m.jsx("h1", { className:
|
|
7687
|
+
return /* @__PURE__ */ m.jsx("h1", { className: Z("luminus-text-primary luminus-h1", Cr.h1, t), children: n });
|
|
7688
7688
|
case "h3":
|
|
7689
|
-
return /* @__PURE__ */ m.jsx("h3", { className:
|
|
7689
|
+
return /* @__PURE__ */ m.jsx("h3", { className: Z("luminus-text luminus-h3", Cr.h3, t), children: n });
|
|
7690
7690
|
case "h6":
|
|
7691
|
-
return /* @__PURE__ */ m.jsx("h6", { className:
|
|
7691
|
+
return /* @__PURE__ */ m.jsx("h6", { className: Z("luminus-text luminus-h6", Cr.h6, t), children: n });
|
|
7692
7692
|
case "subtitle":
|
|
7693
|
-
return /* @__PURE__ */ m.jsx("div", { className:
|
|
7693
|
+
return /* @__PURE__ */ m.jsx("div", { className: Z("luminus-text luminus-subtitle", Cr.subtitle, t), children: n });
|
|
7694
7694
|
case "body":
|
|
7695
|
-
return /* @__PURE__ */ m.jsx("div", { className:
|
|
7695
|
+
return /* @__PURE__ */ m.jsx("div", { className: Z("luminus-text luminus-body", Cr.body, t), children: n });
|
|
7696
7696
|
case "body2":
|
|
7697
|
-
return /* @__PURE__ */ m.jsx("div", { className:
|
|
7697
|
+
return /* @__PURE__ */ m.jsx("div", { className: Z("luminus-text luminus-body2", Cr.body2, t), children: n });
|
|
7698
7698
|
case "caption":
|
|
7699
|
-
return /* @__PURE__ */ m.jsx("div", { className:
|
|
7699
|
+
return /* @__PURE__ */ m.jsx("div", { className: Z("luminus-text-muted luminus-caption", Cr.caption, t), children: n });
|
|
7700
7700
|
case "form-label":
|
|
7701
|
-
return /* @__PURE__ */ m.jsx("div", { className:
|
|
7701
|
+
return /* @__PURE__ */ m.jsx("div", { className: Z("luminus-text luminus-form-label", Cr.formLabel, t), children: n });
|
|
7702
7702
|
default:
|
|
7703
7703
|
return /* @__PURE__ */ m.jsx(m.Fragment, { children: n });
|
|
7704
7704
|
}
|
|
@@ -10775,7 +10775,7 @@ function Xk() {
|
|
|
10775
10775
|
function ee(S) {
|
|
10776
10776
|
return w(S) === r;
|
|
10777
10777
|
}
|
|
10778
|
-
function
|
|
10778
|
+
function K(S) {
|
|
10779
10779
|
return w(S) === g;
|
|
10780
10780
|
}
|
|
10781
10781
|
function X(S) {
|
|
@@ -10793,7 +10793,7 @@ function Xk() {
|
|
|
10793
10793
|
function se(S) {
|
|
10794
10794
|
return w(S) === d;
|
|
10795
10795
|
}
|
|
10796
|
-
rt.AsyncMode = x, rt.ConcurrentMode = T, rt.ContextConsumer = O, rt.ContextProvider = C, rt.Element = P, rt.ForwardRef = M, rt.Fragment = A, rt.Lazy = N, rt.Memo = $, rt.Portal = R, rt.Profiler = j, rt.StrictMode = D, rt.Suspense = U, rt.isAsyncMode = B, rt.isConcurrentMode = I, rt.isContextConsumer = F, rt.isContextProvider = Y, rt.isElement = ne, rt.isForwardRef = G, rt.isFragment = ee, rt.isLazy =
|
|
10796
|
+
rt.AsyncMode = x, rt.ConcurrentMode = T, rt.ContextConsumer = O, rt.ContextProvider = C, rt.Element = P, rt.ForwardRef = M, rt.Fragment = A, rt.Lazy = N, rt.Memo = $, rt.Portal = R, rt.Profiler = j, rt.StrictMode = D, rt.Suspense = U, rt.isAsyncMode = B, rt.isConcurrentMode = I, rt.isContextConsumer = F, rt.isContextProvider = Y, rt.isElement = ne, rt.isForwardRef = G, rt.isFragment = ee, rt.isLazy = K, rt.isMemo = X, rt.isPortal = ie, rt.isProfiler = W, rt.isStrictMode = V, rt.isSuspense = se, rt.isValidElementType = y, rt.typeOf = w;
|
|
10797
10797
|
}()), rt;
|
|
10798
10798
|
}
|
|
10799
10799
|
var yg;
|
|
@@ -10989,7 +10989,7 @@ const n$ = () => {
|
|
|
10989
10989
|
duration: i,
|
|
10990
10990
|
position: "top-center",
|
|
10991
10991
|
icon: /* @__PURE__ */ m.jsx(J6, { size: 12 }),
|
|
10992
|
-
className:
|
|
10992
|
+
className: Z("luminus-toast-success rounded shadow bg-success", qa.toast)
|
|
10993
10993
|
});
|
|
10994
10994
|
break;
|
|
10995
10995
|
}
|
|
@@ -10999,7 +10999,7 @@ const n$ = () => {
|
|
|
10999
10999
|
duration: i,
|
|
11000
11000
|
position: "top-center",
|
|
11001
11001
|
icon: /* @__PURE__ */ m.jsx(Z6, { size: 12 }),
|
|
11002
|
-
className:
|
|
11002
|
+
className: Z("luminus-toast-danger rounded shadow bg-danger", qa.toast)
|
|
11003
11003
|
});
|
|
11004
11004
|
break;
|
|
11005
11005
|
}
|
|
@@ -11009,7 +11009,7 @@ const n$ = () => {
|
|
|
11009
11009
|
duration: i,
|
|
11010
11010
|
position: "top-center",
|
|
11011
11011
|
icon: /* @__PURE__ */ m.jsx(V6, { size: 12 }),
|
|
11012
|
-
className:
|
|
11012
|
+
className: Z("luminus-toast-warning rounded shadow bg-warning", qa.toast)
|
|
11013
11013
|
});
|
|
11014
11014
|
break;
|
|
11015
11015
|
}
|
|
@@ -11019,7 +11019,7 @@ const n$ = () => {
|
|
|
11019
11019
|
duration: i,
|
|
11020
11020
|
position: "top-center",
|
|
11021
11021
|
icon: /* @__PURE__ */ m.jsx(Y6, { size: 12 }),
|
|
11022
|
-
className:
|
|
11022
|
+
className: Z("luminus-toast-info rounded shadow bg-info", qa.toast)
|
|
11023
11023
|
});
|
|
11024
11024
|
break;
|
|
11025
11025
|
}
|
|
@@ -11029,7 +11029,7 @@ const n$ = () => {
|
|
|
11029
11029
|
duration: i,
|
|
11030
11030
|
position: "top-center",
|
|
11031
11031
|
icon: /* @__PURE__ */ m.jsx(G6, { size: 12 }),
|
|
11032
|
-
className:
|
|
11032
|
+
className: Z("luminus-toast-prompt rounded shadow bg-light", qa.toast)
|
|
11033
11033
|
});
|
|
11034
11034
|
break;
|
|
11035
11035
|
}
|
|
@@ -14078,7 +14078,7 @@ const Ah = () => {
|
|
|
14078
14078
|
sm: gE,
|
|
14079
14079
|
md: vE,
|
|
14080
14080
|
lg: yE
|
|
14081
|
-
}, ma = ({ variant: e = "filled", color: t = "primary", size: n = "md", className: r, children: i, ...a }) => a.as === "link" ? /* @__PURE__ */ m.jsx(os, { to: a.href ?? "/", className:
|
|
14081
|
+
}, ma = ({ variant: e = "filled", color: t = "primary", size: n = "md", className: r, children: i, ...a }) => a.as === "link" ? /* @__PURE__ */ m.jsx(os, { to: a.href ?? "/", className: Z(`luminus-primary-button ${t} btn ${e === "outlined" ? `btn-outline-${t}` : `btn-${t}`} ${r ?? ""}`, Vi.button, Vi[e], Vi[n]), ...a, children: i }) : a.as === "button" || a.as === void 0 ? /* @__PURE__ */ m.jsx("button", { type: "button", className: Z(`luminus-primary-button ${t} btn ${e === "outlined" ? `btn-outline-${t}` : `btn-${t}`} ${r ?? ""}`, Vi.button, Vi[e], Vi[n]), ...a, children: i }) : null, bE = "_button_1r3i0_1", wg = {
|
|
14082
14082
|
button: bE
|
|
14083
14083
|
}, Rh = ({
|
|
14084
14084
|
color: e = "primary",
|
|
@@ -14087,10 +14087,10 @@ const Ah = () => {
|
|
|
14087
14087
|
className: n,
|
|
14088
14088
|
children: r,
|
|
14089
14089
|
...i
|
|
14090
|
-
}) => i.as === "link" ? /* @__PURE__ */ m.jsxs(os, { to: i.href ?? "/", className:
|
|
14090
|
+
}) => i.as === "link" ? /* @__PURE__ */ m.jsxs(os, { to: i.href ?? "/", className: Z(`luminus-context-button btn text-${e} ${n ?? ""}`, wg.button), ...i, children: [
|
|
14091
14091
|
t,
|
|
14092
14092
|
r
|
|
14093
|
-
] }) : i.as === "button" || i.as === void 0 ? /* @__PURE__ */ m.jsxs("button", { type: "button", className:
|
|
14093
|
+
] }) : i.as === "button" || i.as === void 0 ? /* @__PURE__ */ m.jsxs("button", { type: "button", className: Z(`luminus-context-button btn text-${e} ${n ?? ""}`, wg.button), ...i, children: [
|
|
14094
14094
|
t,
|
|
14095
14095
|
r
|
|
14096
14096
|
] }) : null, xE = "_icon-button_15e26_1", _E = "_sm_15e26_14", wE = "_md_15e26_23", TE = "_lg_15e26_32", js = {
|
|
@@ -14099,11 +14099,11 @@ const Ah = () => {
|
|
|
14099
14099
|
sm: _E,
|
|
14100
14100
|
md: wE,
|
|
14101
14101
|
lg: TE
|
|
14102
|
-
}, vl = ({ type: e = "button", color: t = "primary", size: n = "md", children: r, className: i, ...a }) => a.as === "link" ? /* @__PURE__ */ m.jsx(os, { to: a.href ?? "/", className:
|
|
14102
|
+
}, vl = ({ type: e = "button", color: t = "primary", size: n = "md", children: r, className: i, ...a }) => a.as === "link" ? /* @__PURE__ */ m.jsx(os, { to: a.href ?? "/", className: Z(`luminus-icon-button btn text-${t} ${i ?? ""}`, js.iconButton, js[n]), ...a, children: r }) : a.as === "button" || a.as === void 0 ? /* @__PURE__ */ m.jsx(
|
|
14103
14103
|
"button",
|
|
14104
14104
|
{
|
|
14105
14105
|
type: e,
|
|
14106
|
-
className:
|
|
14106
|
+
className: Z(`luminus-icon-button btn text-${t} ${i ?? ""}`, js.iconButton, js[n]),
|
|
14107
14107
|
...a,
|
|
14108
14108
|
children: r
|
|
14109
14109
|
}
|
|
@@ -14112,13 +14112,13 @@ const Ah = () => {
|
|
|
14112
14112
|
"feedback-spacer": "_feedback-spacer_esh1j_8",
|
|
14113
14113
|
feedbackSpacer: OE
|
|
14114
14114
|
}, jh = ({ message: e }) => /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
14115
|
-
/* @__PURE__ */ m.jsx("div", { className:
|
|
14116
|
-
/* @__PURE__ */ m.jsx("div", { className:
|
|
14115
|
+
/* @__PURE__ */ m.jsx("div", { className: Z("invalid-feedback luminus-invalid-feedback", Tg.feedback), children: e }),
|
|
14116
|
+
/* @__PURE__ */ m.jsx("div", { className: Z("invalid-feedback-spacer", Tg.feedbackSpacer), children: e })
|
|
14117
14117
|
] }), kE = "_item_1dy8x_1", $E = {
|
|
14118
14118
|
item: kE
|
|
14119
14119
|
}, ho = ({ color: e = "primary", icon: t, className: n, children: r, ...i }) => {
|
|
14120
14120
|
const { as: a, to: o, ...s } = i;
|
|
14121
|
-
return /* @__PURE__ */ m.jsxs(To.Item, { className:
|
|
14121
|
+
return /* @__PURE__ */ m.jsxs(To.Item, { className: Z(`btn luminus-dropdown-item text-nowrap rounded text-${e} ${n ?? ""}`, $E.item), as: a === "link" ? os : void 0, to: o ?? "", ...s, children: [
|
|
14122
14122
|
t,
|
|
14123
14123
|
r
|
|
14124
14124
|
] });
|
|
@@ -14126,7 +14126,7 @@ const Ah = () => {
|
|
|
14126
14126
|
button: EE
|
|
14127
14127
|
}, D1 = mt.forwardRef(({ color: e = "primary", icon: t = /* @__PURE__ */ m.jsx(qb, { size: 21 }), text: n, onClick: r, className: i, children: a, ...o }, s) => /* @__PURE__ */ m.jsxs("button", { type: "button", ref: s, onClick: (c) => {
|
|
14128
14128
|
c.preventDefault(), r(c);
|
|
14129
|
-
}, "aria-label": "dropdown toggle", className:
|
|
14129
|
+
}, "aria-label": "dropdown toggle", className: Z(`btn luminus-context-button text-${e} ${i ?? ""}`, CE.button), ...o, children: [
|
|
14130
14130
|
t,
|
|
14131
14131
|
n
|
|
14132
14132
|
] })), ME = "_avatar-icon_1axl6_1", AE = {
|
|
@@ -14150,7 +14150,7 @@ const Ah = () => {
|
|
|
14150
14150
|
}
|
|
14151
14151
|
return l;
|
|
14152
14152
|
};
|
|
14153
|
-
return /* @__PURE__ */ m.jsx(Wb, { placement: "bottom", overlay: /* @__PURE__ */ m.jsx(Ub, { children: e }), children: /* @__PURE__ */ m.jsx("div", { className:
|
|
14153
|
+
return /* @__PURE__ */ m.jsx(Wb, { placement: "bottom", overlay: /* @__PURE__ */ m.jsx(Ub, { children: e }), children: /* @__PURE__ */ m.jsx("div", { className: Z("luminus-avatar-icon", AE.avatarIcon), style: {
|
|
14154
14154
|
backgroundColor: a(r),
|
|
14155
14155
|
fontSize: t ?? void 0,
|
|
14156
14156
|
minHeight: n ?? void 0,
|
|
@@ -14171,11 +14171,11 @@ const Ah = () => {
|
|
|
14171
14171
|
n
|
|
14172
14172
|
] })), L1 = (e) => /* @__PURE__ */ m.jsx(To.Toggle, { ...e }), jE = "_divider_1e6rk_1", PE = {
|
|
14173
14173
|
divider: jE
|
|
14174
|
-
}, IE = ({ className: e }) => /* @__PURE__ */ m.jsx(To.Divider, { className:
|
|
14174
|
+
}, IE = ({ className: e }) => /* @__PURE__ */ m.jsx(To.Divider, { className: Z("luminus-dropdown-divider", e, PE.divider) }), NE = "_dropdown_1lk66_1", DE = {
|
|
14175
14175
|
dropdown: NE
|
|
14176
14176
|
}, F1 = ({ toggle: e, children: t, align: n, ...r }) => /* @__PURE__ */ m.jsxs(To, { ...r, align: n, children: [
|
|
14177
14177
|
e,
|
|
14178
|
-
/* @__PURE__ */ m.jsx(To.Menu, { className:
|
|
14178
|
+
/* @__PURE__ */ m.jsx(To.Menu, { className: Z("luminus-dropdown rounded shadow", DE.dropdown), align: n, children: t })
|
|
14179
14179
|
] });
|
|
14180
14180
|
function LE(e, t, n) {
|
|
14181
14181
|
var r = this, i = fe(null), a = fe(0), o = fe(null), s = fe([]), c = fe(), l = fe(), u = fe(e), d = fe(!0);
|
|
@@ -14265,7 +14265,7 @@ const BE = "_wrapper_1mvyk_1", WE = "_open_1mvyk_9", zE = "_dropdown_1mvyk_13",
|
|
|
14265
14265
|
actionsDropdown: nC
|
|
14266
14266
|
}, rC = ({ show: e, onCancel: t, items: n, suggestedItems: r, suggestedItemsTitle: i, currentSelection: a, onSelectionChange: o, onSearchQueryChange: s, texts: c, itemsNameWidth: l, additionalColumns: u, displayIdAsName: d = !1, autoHideSearch: f = !1, allItemsLength: h, disabled: g, isLoading: p = !1, inputRef: v, archiveColumn: b = "archive", addNewOptionPath: _, refreshOptions: y }) => {
|
|
14267
14267
|
var Ze;
|
|
14268
|
-
const { texts: { customSelect: w } } = ce(At), x = fe(null), T = fe(null), O = fe(null), C = fe(null), P = fe(null), [M, A] = ke(""), [N] = UE(M, 500), [, $] = ke(!1), { copyToClipboard: R } = dE(), j = (Ze = v.current) == null ? void 0 : Ze.getBoundingClientRect(), D = (j == null ? void 0 : j.x) ?? 0, U = ((j == null ? void 0 : j.x) ?? 0) + ((j == null ? void 0 : j.width) ?? 0), L = (j == null ? void 0 : j.y) ?? 0, B = ((j == null ? void 0 : j.y) ?? 0) + ((j == null ? void 0 : j.height) ?? 0), I = (j == null ? void 0 : j.width) ?? 0, F = (j == null ? void 0 : j.height) ?? 0, Y = 5, { isMobile: ne } = gl(), G = 8, ee = Q(() => D ? D > window.innerWidth / 2 - G : !1, [D]),
|
|
14268
|
+
const { texts: { customSelect: w } } = ce(At), x = fe(null), T = fe(null), O = fe(null), C = fe(null), P = fe(null), [M, A] = ke(""), [N] = UE(M, 500), [, $] = ke(!1), { copyToClipboard: R } = dE(), j = (Ze = v.current) == null ? void 0 : Ze.getBoundingClientRect(), D = (j == null ? void 0 : j.x) ?? 0, U = ((j == null ? void 0 : j.x) ?? 0) + ((j == null ? void 0 : j.width) ?? 0), L = (j == null ? void 0 : j.y) ?? 0, B = ((j == null ? void 0 : j.y) ?? 0) + ((j == null ? void 0 : j.height) ?? 0), I = (j == null ? void 0 : j.width) ?? 0, F = (j == null ? void 0 : j.height) ?? 0, Y = 5, { isMobile: ne } = gl(), G = 8, ee = Q(() => D ? D > window.innerWidth / 2 - G : !1, [D]), K = Q(() => L ? L > window.innerHeight / 2 - G : !1, [L]);
|
|
14269
14269
|
xe(() => {
|
|
14270
14270
|
var de;
|
|
14271
14271
|
e && ((de = O.current) == null || de.focus());
|
|
@@ -14328,14 +14328,14 @@ const BE = "_wrapper_1mvyk_1", WE = "_open_1mvyk_9", zE = "_dropdown_1mvyk_13",
|
|
|
14328
14328
|
}).reduce((de, Ce) => de.length > Ce.length ? de : Ce, ""), [M, r, n, d]);
|
|
14329
14329
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
14330
14330
|
/* @__PURE__ */ m.jsx(sC, { show: e, onClick: t }),
|
|
14331
|
-
/* @__PURE__ */ m.jsxs("div", { className:
|
|
14331
|
+
/* @__PURE__ */ m.jsxs("div", { className: Z("luminus-dropdown-picker-actions", Ht.actionButtonsContainer, {
|
|
14332
14332
|
[Ht.reverse]: ee
|
|
14333
14333
|
}), style: {
|
|
14334
14334
|
top: `calc(${L}px + ${F / 2}px - 12px)`,
|
|
14335
14335
|
left: ee ? Ne && Re ? `calc(${D}px - 24px - 8px - 24px - 4px)` : `calc(${D}px - 24px - 8px)` : `calc(${U}px + 8px)`
|
|
14336
14336
|
}, children: [
|
|
14337
|
-
Ne && /* @__PURE__ */ m.jsx("button", { ref: T, type: "button", className:
|
|
14338
|
-
gt ? /* @__PURE__ */ m.jsx("div", { ref: P, children: /* @__PURE__ */ m.jsxs(F1, { toggle: /* @__PURE__ */ m.jsx(L1, { as: D1, className:
|
|
14337
|
+
Ne && /* @__PURE__ */ m.jsx("button", { ref: T, type: "button", className: Z("luminus-dropdown-picker-clear-button", Ht.actionButton), onClick: () => !g && o(null), children: /* @__PURE__ */ m.jsx(pn, { variant: "caption", className: "text-danger", children: /* @__PURE__ */ m.jsx(q6, { size: 16 }) }) }),
|
|
14338
|
+
gt ? /* @__PURE__ */ m.jsx("div", { ref: P, children: /* @__PURE__ */ m.jsxs(F1, { toggle: /* @__PURE__ */ m.jsx(L1, { as: D1, className: Z("luminus-dropdown-picker-actions-dropdown", Ht.actionsDropdown), icon: /* @__PURE__ */ m.jsx(pn, { variant: "caption", className: "text-primary", children: /* @__PURE__ */ m.jsx(qb, { size: 16 }) }) }), children: [
|
|
14339
14339
|
Re ? /* @__PURE__ */ m.jsx(ho, { icon: /* @__PURE__ */ m.jsx(X6, {}), onClick: () => {
|
|
14340
14340
|
var de, Ce;
|
|
14341
14341
|
R(d ? ((de = a == null ? void 0 : a.id) == null ? void 0 : de.toString()) ?? "" : ((Ce = a == null ? void 0 : a.name) == null ? void 0 : Ce.toString()) ?? "");
|
|
@@ -14349,22 +14349,22 @@ const BE = "_wrapper_1mvyk_1", WE = "_open_1mvyk_9", zE = "_dropdown_1mvyk_13",
|
|
|
14349
14349
|
}, children: w.refreshOptions }) : null
|
|
14350
14350
|
] }) }) : null
|
|
14351
14351
|
] }),
|
|
14352
|
-
/* @__PURE__ */ m.jsx("div", { className:
|
|
14352
|
+
/* @__PURE__ */ m.jsx("div", { className: Z("luminus-dropdown-picker", Ht.wrapper, {
|
|
14353
14353
|
[Ht.open]: e
|
|
14354
14354
|
}), style: {
|
|
14355
|
-
top:
|
|
14355
|
+
top: K ? `calc(${L}px - 50vh - 8px)` : `calc(${B}px + 8px)`,
|
|
14356
14356
|
left: ne ? `${ft / 2}px` : ee ? `calc(${U}px - ${qe})` : D,
|
|
14357
14357
|
right: ne ? `${ft / 2}px` : ee ? `${U}px` : `calc(${D}px + ${qe})`,
|
|
14358
14358
|
width: qe,
|
|
14359
|
-
justifyContent:
|
|
14360
|
-
}, children: /* @__PURE__ */ m.jsx("div", { ref: x, className:
|
|
14361
|
-
!s || f && (h ?? n.length) <= Y ? null : /* @__PURE__ */ m.jsx("div", { className:
|
|
14359
|
+
justifyContent: K ? "flex-end" : "flex-start"
|
|
14360
|
+
}, children: /* @__PURE__ */ m.jsx("div", { ref: x, className: Z("shadow rounded", Ht.dropdown), children: !g && /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
14361
|
+
!s || f && (h ?? n.length) <= Y ? null : /* @__PURE__ */ m.jsx("div", { className: Z("search-input-container border-bottom", Ht.searchInputContainer), children: /* @__PURE__ */ m.jsx(kr.Control, { ref: O, type: "search", size: "sm", className: Ht.searchInput, placeholder: c.searchPlaceholder, value: M, onChange: (de) => {
|
|
14362
14362
|
var Ce;
|
|
14363
14363
|
return A(((Ce = de.target) == null ? void 0 : Ce.value) ?? "");
|
|
14364
14364
|
} }) }),
|
|
14365
14365
|
M.length < 1 && r && r.length > 0 ? /* @__PURE__ */ m.jsx(U1, { variant: "info", size: "sm", children: i ?? w.suggestedItemsTitle }) : null,
|
|
14366
|
-
p ? /* @__PURE__ */ m.jsx("div", { className: Ht.loadingContainer, children: /* @__PURE__ */ m.jsx(zb, { animation: "border", variant: "primary" }) }) : (M.length < 1 && r && (r == null ? void 0 : r.length) > 0 || n.length > 0) && /* @__PURE__ */ m.jsxs("div", { ref: C, className:
|
|
14367
|
-
u && u.length > 0 && /* @__PURE__ */ m.jsxs("div", { className:
|
|
14366
|
+
p ? /* @__PURE__ */ m.jsx("div", { className: Ht.loadingContainer, children: /* @__PURE__ */ m.jsx(zb, { animation: "border", variant: "primary" }) }) : (M.length < 1 && r && (r == null ? void 0 : r.length) > 0 || n.length > 0) && /* @__PURE__ */ m.jsxs("div", { ref: C, className: Z("items", Ht.itemsContainer), children: [
|
|
14367
|
+
u && u.length > 0 && /* @__PURE__ */ m.jsxs("div", { className: Z("header-row border-bottom", Ht.headerRow), children: [
|
|
14368
14368
|
/* @__PURE__ */ m.jsx("div", { className: Ht.name, children: /* @__PURE__ */ m.jsx(pn, { variant: "body2", children: ot }) }),
|
|
14369
14369
|
u == null ? void 0 : u.filter((de) => de.key !== b).map((de) => /* @__PURE__ */ m.jsx("div", { className: Ht.columnItem, style: {
|
|
14370
14370
|
width: `${de.width ?? 100}px`,
|
|
@@ -14372,7 +14372,7 @@ const BE = "_wrapper_1mvyk_1", WE = "_open_1mvyk_9", zE = "_dropdown_1mvyk_13",
|
|
|
14372
14372
|
maxWidth: `${de.width ?? 100}px`
|
|
14373
14373
|
}, children: /* @__PURE__ */ m.jsx(pn, { variant: "caption", children: de.name }) }, de.key))
|
|
14374
14374
|
] }),
|
|
14375
|
-
(M.length < 1 && r && r.length > 0 ? r : n).map((de, Ce) => /* @__PURE__ */ m.jsxs("button", { id: `item-${Ce}`, type: "button", className:
|
|
14375
|
+
(M.length < 1 && r && r.length > 0 ? r : n).map((de, Ce) => /* @__PURE__ */ m.jsxs("button", { id: `item-${Ce}`, type: "button", className: Z("item cursor-pointer", Ht.item, {
|
|
14376
14376
|
[Ht.focused]: X === Ce
|
|
14377
14377
|
}, {
|
|
14378
14378
|
focused: X === Ce
|
|
@@ -14384,7 +14384,7 @@ const BE = "_wrapper_1mvyk_1", WE = "_open_1mvyk_9", zE = "_dropdown_1mvyk_13",
|
|
|
14384
14384
|
width: `${je.width ?? 100}px`,
|
|
14385
14385
|
minWidth: `${je.width ?? 100}px`,
|
|
14386
14386
|
maxWidth: `${je.width ?? 100}px`
|
|
14387
|
-
}, children: /* @__PURE__ */ m.jsx(pn, { variant: "caption", className:
|
|
14387
|
+
}, children: /* @__PURE__ */ m.jsx(pn, { variant: "caption", className: Z("text-muted"), children: de.additionalColumns && de.additionalColumns[je.key] }) }, je.key))
|
|
14388
14388
|
] }, de.id))
|
|
14389
14389
|
] })
|
|
14390
14390
|
] }) }) })
|
|
@@ -14405,7 +14405,7 @@ function iC(e) {
|
|
|
14405
14405
|
const aC = "_backdrop_3huvf_1", oC = "_show_3huvf_11", Sg = {
|
|
14406
14406
|
backdrop: aC,
|
|
14407
14407
|
show: oC
|
|
14408
|
-
}, sC = ({ show: e, onClick: t }) => /* @__PURE__ */ m.jsx("div", { className:
|
|
14408
|
+
}, sC = ({ show: e, onClick: t }) => /* @__PURE__ */ m.jsx("div", { className: Z("luminus-backdrop", Sg.backdrop, {
|
|
14409
14409
|
[Sg.show]: e
|
|
14410
14410
|
}), onClick: () => t && t() }), U1 = (e) => {
|
|
14411
14411
|
const { variant: t, children: n, className: r, size: i = "md", typographyVariant: a = i === "sm" ? "body2" : "body", ...o } = { ...e };
|
|
@@ -14417,15 +14417,15 @@ const aC = "_backdrop_3huvf_1", oC = "_show_3huvf_11", Sg = {
|
|
|
14417
14417
|
withoutLabel: lC,
|
|
14418
14418
|
"floating-label-check": "_floating-label-check_3xm9u_184",
|
|
14419
14419
|
floatingLabelCheck: uC
|
|
14420
|
-
}, dC = ({ hint: e, children: t }) => e ? /* @__PURE__ */ m.jsx(Xb, { text: e, placement: "top", children: t }) : t, Ph = Ai(({ hidden: e, children: t, className: n, isInvalid: r, isForRadioInput: i, inputContainerClassName: a, isForCheckInput: o, hint: s, required: c,
|
|
14421
|
-
const { ProjectIconComponent:
|
|
14422
|
-
|
|
14423
|
-
c ? /* @__PURE__ */ m.jsx("span", { className: "
|
|
14424
|
-
s ? /* @__PURE__ */ m.jsx("div", { className: "d-flex align-items-center", children: /* @__PURE__ */ m.jsx(
|
|
14420
|
+
}, dC = ({ hint: e, children: t }) => e ? /* @__PURE__ */ m.jsx(Xb, { text: e, placement: "top", children: t }) : t, Ph = Ai(({ hidden: e, children: t, className: n, isInvalid: r, isForRadioInput: i, inputContainerClassName: a, isForCheckInput: o, hint: s, required: c, disabled: l, ...u }, d) => {
|
|
14421
|
+
const { ProjectIconComponent: f } = ce(At), h = u.withoutLabel ? "" : /* @__PURE__ */ m.jsxs("div", { className: "d-flex gap-1 align-items-center", children: [
|
|
14422
|
+
u.label,
|
|
14423
|
+
c ? /* @__PURE__ */ m.jsx("span", { className: Z("fw-bold", { "text-danger": !l }), style: { fontSize: "16px" }, children: "*" }) : null,
|
|
14424
|
+
s ? /* @__PURE__ */ m.jsx("div", { className: "d-flex align-items-center", children: /* @__PURE__ */ m.jsx(f, { icon: "info" }) }) : null
|
|
14425
14425
|
] });
|
|
14426
|
-
return o ? /* @__PURE__ */ m.jsx("div", { className:
|
|
14426
|
+
return o ? /* @__PURE__ */ m.jsx("div", { className: Z("luminus-floating-label-check", ed.floatingLabelCheck), children: t }) : /* @__PURE__ */ m.jsx(dC, { hint: s, children: /* @__PURE__ */ m.jsx(mh, { ref: d, label: /* @__PURE__ */ m.jsx("div", { className: "d-flex gap-1 align-items-center", children: h }), hidden: e ?? !1, className: Z(`luminus-floating-label ${n ?? ""}`, ed.floatingLabel, {
|
|
14427
14427
|
[a ?? ""]: a
|
|
14428
|
-
}, { [ed.withoutLabel]:
|
|
14428
|
+
}, { [ed.withoutLabel]: u.withoutLabel }), children: t }) });
|
|
14429
14429
|
});
|
|
14430
14430
|
Ph.displayName = "FloatingLabelInput";
|
|
14431
14431
|
const fC = "_row-label-input_mqkkx_1", hC = "_label_mqkkx_4", pC = "_input-container_mqkkx_9", mC = "_invalid-feedback_mqkkx_104", gC = "_keep-check-label_mqkkx_132", vC = "_is-invalid_mqkkx_160", Ya = {
|
|
@@ -14440,16 +14440,16 @@ const fC = "_row-label-input_mqkkx_1", hC = "_label_mqkkx_4", pC = "_input-conta
|
|
|
14440
14440
|
keepCheckLabel: gC,
|
|
14441
14441
|
"is-invalid": "_is-invalid_mqkkx_160",
|
|
14442
14442
|
isInvalid: vC
|
|
14443
|
-
}, yl = Ai(({ hidden: e, children: t, required: n,
|
|
14444
|
-
const { ProjectIconComponent:
|
|
14445
|
-
|
|
14446
|
-
n ? /* @__PURE__ */ m.jsx("span", { className: "
|
|
14447
|
-
|
|
14443
|
+
}, yl = Ai(({ hidden: e, children: t, required: n, disabled: r, className: i, isInvalid: a, isForRadioInput: o, isForTextAreaInput: s, inputContainerClassName: c, hint: l, ...u }, d) => {
|
|
14444
|
+
const { ProjectIconComponent: f } = ce(At), h = u.withoutLabel ? /* @__PURE__ */ m.jsx(m.Fragment, {}) : /* @__PURE__ */ m.jsx("label", { className: Z("label col-6", { "col-12": s }, Ya.label), children: /* @__PURE__ */ m.jsxs(pn, { variant: "form-label", className: Z("d-flex gap-1 align-items-center", a ? "text-danger" : ""), children: [
|
|
14445
|
+
u.label,
|
|
14446
|
+
n ? /* @__PURE__ */ m.jsx("span", { className: Z("fw-bold", { "text-danger": !r }), style: { fontSize: "16px" }, children: "*" }) : null,
|
|
14447
|
+
l ? /* @__PURE__ */ m.jsx("div", { className: "d-flex align-items-center", style: { paddingTop: "2px" }, children: /* @__PURE__ */ m.jsx(f, { icon: "info" }) }) : null
|
|
14448
14448
|
] }) });
|
|
14449
|
-
return /* @__PURE__ */ m.jsxs("div", { ref:
|
|
14450
|
-
|
|
14451
|
-
/* @__PURE__ */ m.jsx("div", { className:
|
|
14452
|
-
[
|
|
14449
|
+
return /* @__PURE__ */ m.jsxs("div", { ref: d, className: Z("luminus-row-label row gx-0 gy-0", { "is-invalid": a }, { [Ya.isInvalid]: a }, { [i ?? ""]: i }, { "d-none": e }, Ya.rowLabelInput), children: [
|
|
14450
|
+
l ? /* @__PURE__ */ m.jsx(Xb, { text: l, placement: "top", children: h }) : h,
|
|
14451
|
+
/* @__PURE__ */ m.jsx("div", { className: Z("input-container", Ya.inputContainer, { "col-6": !u.withoutLabel && !s }, { "col-12": u.withoutLabel || s }, { [Ya.keepCheckLabel]: o }, {
|
|
14452
|
+
[c ?? ""]: c
|
|
14453
14453
|
}), children: t })
|
|
14454
14454
|
] });
|
|
14455
14455
|
});
|
|
@@ -14469,7 +14469,7 @@ const bC = ({ currentSelection: e, selectedItemNavigateTo: t, children: n }) =>
|
|
|
14469
14469
|
r(x ? D ? Number(D) : null : (D == null ? void 0 : D.toString()) ?? "");
|
|
14470
14470
|
}, [f, x, r]), O = fe(null), [C, P] = ke((n == null ? void 0 : n.toString()) ?? ""), M = z((D) => {
|
|
14471
14471
|
const U = D;
|
|
14472
|
-
r && (x
|
|
14472
|
+
r && r(x ? U == null || U === "" ? null : Number(U) : U || null);
|
|
14473
14473
|
}, [x, r]), A = z((D) => {
|
|
14474
14474
|
var L;
|
|
14475
14475
|
const U = (L = D.target) == null ? void 0 : L.value;
|
|
@@ -14490,7 +14490,7 @@ const bC = ({ currentSelection: e, selectedItemNavigateTo: t, children: n }) =>
|
|
|
14490
14490
|
P(n === null ? "" : n.toString());
|
|
14491
14491
|
}, [n]);
|
|
14492
14492
|
const [$, R] = ke(!1), j = I1(t, n ? n.toString() ?? null : null, $);
|
|
14493
|
-
return /* @__PURE__ */ m.jsxs(e, { withoutLabel: o, label: a ?? "", hidden: l, className: g, hint: y, children: [
|
|
14493
|
+
return /* @__PURE__ */ m.jsxs(e, { withoutLabel: o, label: a ?? "", hidden: l, className: g, hint: y, disabled: u, children: [
|
|
14494
14494
|
/* @__PURE__ */ m.jsx(kr.Control, { type: j, placeholder: s ?? a, size: c, value: i ? C : (n == null ? void 0 : n.toString()) ?? "", onChange: A, className: g ?? "", hidden: l, disabled: u ?? !1, list: h, onFocus: (D) => {
|
|
14495
14495
|
R(!0), !_ && D.target.select();
|
|
14496
14496
|
}, onBlur: () => R(!1), onKeyDown: N, step: p, minLength: v, maxLength: b }),
|
|
@@ -14538,13 +14538,13 @@ const bC = ({ currentSelection: e, selectedItemNavigateTo: t, children: n }) =>
|
|
|
14538
14538
|
}, [r, o]), D = z((L) => {
|
|
14539
14539
|
C(!1), j(L);
|
|
14540
14540
|
}, [j]), U = fe(null);
|
|
14541
|
-
return /* @__PURE__ */ m.jsx(m.Fragment, { children: /* @__PURE__ */ m.jsxs(e, { withoutLabel: a, label: i ?? "", hidden: c, inputContainerClassName:
|
|
14541
|
+
return /* @__PURE__ */ m.jsx(m.Fragment, { children: /* @__PURE__ */ m.jsxs(e, { withoutLabel: a, label: i ?? "", hidden: c, inputContainerClassName: Z({ "luminus-dropdown-select-open": O }), className: d, hint: v, disabled: l, children: [
|
|
14542
14542
|
/* @__PURE__ */ m.jsx(bC, { currentSelection: N, selectedItemNavigateTo: x, children: /* @__PURE__ */ m.jsx(_C, { value: t, MiniDetailComponent: y, miniDetailPlacement: w, children: /* @__PURE__ */ m.jsxs(kr.Select, { ref: U, size: s, value: t ?? "", onMouseDown: (L) => {
|
|
14543
14543
|
L.currentTarget.focus(), L.preventDefault();
|
|
14544
14544
|
}, onClick: () => {
|
|
14545
14545
|
!l && C(!0);
|
|
14546
14546
|
}, onChange: () => {
|
|
14547
|
-
}, className:
|
|
14547
|
+
}, className: Z("w-100", {
|
|
14548
14548
|
"luminus-dropdown-picker-disabled": l
|
|
14549
14549
|
}), hidden: c, children: [
|
|
14550
14550
|
h && !(t == null || t === "") ? void 0 : /* @__PURE__ */ m.jsx("option", { value: "" }),
|
|
@@ -16514,15 +16514,15 @@ function Pi(e, t, n) {
|
|
|
16514
16514
|
...B
|
|
16515
16515
|
};
|
|
16516
16516
|
if (I == "enter" && ae.und(Y.from)) {
|
|
16517
|
-
const ee = r ? r() : t,
|
|
16518
|
-
Y.from = hn(
|
|
16517
|
+
const ee = r ? r() : t, K = ae.und(ee.initial) || v ? ee.from : ee.initial;
|
|
16518
|
+
Y.from = hn(K, R.item, j);
|
|
16519
16519
|
}
|
|
16520
16520
|
const { onResolve: ne } = Y;
|
|
16521
16521
|
Y.onResolve = (ee) => {
|
|
16522
16522
|
hn(ne, ee);
|
|
16523
|
-
const
|
|
16523
|
+
const K = p.current, X = K.find((ie) => ie.key === D);
|
|
16524
16524
|
if (X && !(ee.cancelled && X.phase != "update") && X.ctrl.idle) {
|
|
16525
|
-
const ie =
|
|
16525
|
+
const ie = K.every((W) => W.ctrl.idle);
|
|
16526
16526
|
if (X.phase == "leave") {
|
|
16527
16527
|
const W = hn(s, X.item);
|
|
16528
16528
|
if (W !== !1) {
|
|
@@ -16533,7 +16533,7 @@ function Pi(e, t, n) {
|
|
|
16533
16533
|
}
|
|
16534
16534
|
}
|
|
16535
16535
|
}
|
|
16536
|
-
ie &&
|
|
16536
|
+
ie && K.some((W) => W.expired) && (C.current.delete(X), c && (P.current = !0), x());
|
|
16537
16537
|
}
|
|
16538
16538
|
};
|
|
16539
16539
|
const G = xf(R.ctrl, Y);
|
|
@@ -19261,7 +19261,7 @@ function qN(e) {
|
|
|
19261
19261
|
a: ne,
|
|
19262
19262
|
A: G,
|
|
19263
19263
|
b: ee,
|
|
19264
|
-
B:
|
|
19264
|
+
B: K,
|
|
19265
19265
|
c: null,
|
|
19266
19266
|
d: Z0,
|
|
19267
19267
|
e: Z0,
|
|
@@ -19412,7 +19412,7 @@ function qN(e) {
|
|
|
19412
19412
|
function ee(W) {
|
|
19413
19413
|
return c[W.getUTCMonth()];
|
|
19414
19414
|
}
|
|
19415
|
-
function
|
|
19415
|
+
function K(W) {
|
|
19416
19416
|
return s[W.getUTCMonth()];
|
|
19417
19417
|
}
|
|
19418
19418
|
function X(W) {
|
|
@@ -20255,7 +20255,7 @@ function RF() {
|
|
|
20255
20255
|
var F = h * Xr(y), Y = h * Xn(y), ne = f * Xr(w), G = f * Xn(w), ee;
|
|
20256
20256
|
if (v < ns)
|
|
20257
20257
|
if (ee = AF(U, L, ne, G, F, Y, B, I)) {
|
|
20258
|
-
var
|
|
20258
|
+
var K = U - ee[0], X = L - ee[1], ie = F - ee[0], W = Y - ee[1], V = 1 / Xn(wF((K * ie + X * W) / (Qi(K * K + X * X) * Qi(ie * ie + W * W))) / 2), se = Qi(ee[0] * ee[0] + ee[1] * ee[1]);
|
|
20259
20259
|
A = vd(M, (f - se) / (V - 1)), N = vd(M, (h - se) / (V + 1));
|
|
20260
20260
|
} else
|
|
20261
20261
|
A = N = 0;
|
|
@@ -22145,7 +22145,7 @@ var Yz = { top: 0, right: 0, bottom: 0, left: 0 }, Xp = function(e) {
|
|
|
22145
22145
|
}
|
|
22146
22146
|
return { symbolX: t, symbolY: n, labelX: r, labelY: i, labelAnchor: a, labelAlignment: o };
|
|
22147
22147
|
}, Gz = { circle: zz, diamond: Hz, square: Vz, triangle: qz }, Zz = function(e) {
|
|
22148
|
-
var t, n, r, i, a, o, s, c, l, u, d, f = e.x, h = e.y, g = e.width, p = e.height, v = e.data, b = e.direction, _ = b === void 0 ? "left-to-right" : b, y = e.justify, w = y !== void 0 && y, x = e.textColor, T = e.background, O = T === void 0 ? "transparent" : T, C = e.opacity, P = C === void 0 ? 1 : C, M = e.symbolShape, A = M === void 0 ? "square" : M, N = e.symbolSize, $ = N === void 0 ? 16 : N, R = e.symbolSpacing, j = R === void 0 ? 8 : R, D = e.symbolBorderWidth, U = D === void 0 ? 0 : D, L = e.symbolBorderColor, B = L === void 0 ? "transparent" : L, I = e.onClick, F = e.onMouseEnter, Y = e.onMouseLeave, ne = e.toggleSerie, G = e.effects, ee = ke({}),
|
|
22148
|
+
var t, n, r, i, a, o, s, c, l, u, d, f = e.x, h = e.y, g = e.width, p = e.height, v = e.data, b = e.direction, _ = b === void 0 ? "left-to-right" : b, y = e.justify, w = y !== void 0 && y, x = e.textColor, T = e.background, O = T === void 0 ? "transparent" : T, C = e.opacity, P = C === void 0 ? 1 : C, M = e.symbolShape, A = M === void 0 ? "square" : M, N = e.symbolSize, $ = N === void 0 ? 16 : N, R = e.symbolSpacing, j = R === void 0 ? 8 : R, D = e.symbolBorderWidth, U = D === void 0 ? 0 : D, L = e.symbolBorderColor, B = L === void 0 ? "transparent" : L, I = e.onClick, F = e.onMouseEnter, Y = e.onMouseLeave, ne = e.toggleSerie, G = e.effects, ee = ke({}), K = ee[0], X = ee[1], ie = xt(), W = z(function(qe) {
|
|
22149
22149
|
if (G) {
|
|
22150
22150
|
var ot = G.filter(function(Ze) {
|
|
22151
22151
|
return Ze.on === "hover";
|
|
@@ -22165,12 +22165,12 @@ var Yz = { top: 0, right: 0, bottom: 0, left: 0 }, Xp = function(e) {
|
|
|
22165
22165
|
X(ot);
|
|
22166
22166
|
}
|
|
22167
22167
|
Y == null || Y(v, qe);
|
|
22168
|
-
}, [Y, v, G]), se = q_({ direction: _, justify: w, symbolSize: (t =
|
|
22168
|
+
}, [Y, v, G]), se = q_({ direction: _, justify: w, symbolSize: (t = K.symbolSize) != null ? t : $, symbolSpacing: j, width: g, height: p }), S = se.symbolX, ve = se.symbolY, ye = se.labelX, pe = se.labelY, Ne = se.labelAnchor, Re = se.labelAlignment, gt = [I, F, Y, ne].some(function(qe) {
|
|
22169
22169
|
return qe !== void 0;
|
|
22170
22170
|
}), ft = typeof A == "function" ? A : Gz[A];
|
|
22171
|
-
return m.jsxs("g", { transform: "translate(" + f + "," + h + ")", style: { opacity: (n =
|
|
22171
|
+
return m.jsxs("g", { transform: "translate(" + f + "," + h + ")", style: { opacity: (n = K.itemOpacity) != null ? n : P }, children: [m.jsx("rect", { width: g, height: p, fill: (r = K.itemBackground) != null ? r : O, style: { cursor: gt ? "pointer" : "auto" }, onClick: function(qe) {
|
|
22172
22172
|
I == null || I(v, qe), ne == null || ne(v.id);
|
|
22173
|
-
}, onMouseEnter: W, onMouseLeave: V }), te.createElement(ft, di({ id: v.id, x: S, y: ve, size: (i =
|
|
22173
|
+
}, onMouseEnter: W, onMouseLeave: V }), te.createElement(ft, di({ id: v.id, x: S, y: ve, size: (i = K.symbolSize) != null ? i : $, fill: (a = (o = v.fill) != null ? o : v.color) != null ? a : "black", borderWidth: (s = K.symbolBorderWidth) != null ? s : U, borderColor: (c = K.symbolBorderColor) != null ? c : B }, v.hidden ? ie.legends.hidden.symbol : void 0)), m.jsx("text", { textAnchor: Ne, style: di({}, Zp(ie.legends.text), { fill: (l = (u = (d = K.itemTextColor) != null ? d : x) != null ? u : ie.legends.text.fill) != null ? l : "black", dominantBaseline: Re, pointerEvents: "none", userSelect: "none" }, v.hidden ? ie.legends.hidden.text : void 0), x: ye, y: pe, children: v.label })] });
|
|
22174
22174
|
}, Kz = function(e) {
|
|
22175
22175
|
var t = e.data, n = e.x, r = e.y, i = e.direction, a = e.padding, o = a === void 0 ? 0 : a, s = e.justify, c = e.effects, l = e.itemWidth, u = e.itemHeight, d = e.itemDirection, f = d === void 0 ? "left-to-right" : d, h = e.itemsSpacing, g = h === void 0 ? 0 : h, p = e.itemTextColor, v = e.itemBackground, b = v === void 0 ? "transparent" : v, _ = e.itemOpacity, y = _ === void 0 ? 1 : _, w = e.symbolShape, x = e.symbolSize, T = e.symbolSpacing, O = e.symbolBorderWidth, C = e.symbolBorderColor, P = e.onClick, M = e.onMouseEnter, A = e.onMouseLeave, N = e.toggleSerie, $ = Xp({ itemCount: t.length, itemWidth: l, itemHeight: u, itemsSpacing: g, direction: i, padding: o }).padding, R = i === "row" ? l + g : 0, j = i === "column" ? u + g : 0;
|
|
22176
22176
|
return m.jsx("g", { transform: "translate(" + n + "," + r + ")", children: t.map(function(D, U) {
|
|
@@ -22182,7 +22182,7 @@ var Yz = { top: 0, right: 0, bottom: 0, left: 0 }, Xp = function(e) {
|
|
|
22182
22182
|
}, Xz = { start: "left", middle: "center", end: "right" }, Jz = function(e, t) {
|
|
22183
22183
|
var n = t.data, r = t.containerWidth, i = t.containerHeight, a = t.translateX, o = a === void 0 ? 0 : a, s = t.translateY, c = s === void 0 ? 0 : s, l = t.anchor, u = t.direction, d = t.padding, f = d === void 0 ? 0 : d, h = t.justify, g = h !== void 0 && h, p = t.itemsSpacing, v = p === void 0 ? 0 : p, b = t.itemWidth, _ = t.itemHeight, y = t.itemDirection, w = y === void 0 ? "left-to-right" : y, x = t.itemTextColor, T = t.symbolSize, O = T === void 0 ? 16 : T, C = t.symbolSpacing, P = C === void 0 ? 8 : C, M = t.theme, A = Xp({ itemCount: n.length, itemWidth: b, itemHeight: _, itemsSpacing: v, direction: u, padding: f }), N = A.width, $ = A.height, R = A.padding, j = V_({ anchor: l, translateX: o, translateY: c, containerWidth: r, containerHeight: i, width: N, height: $ }), D = j.x, U = j.y, L = u === "row" ? b + v : 0, B = u === "column" ? _ + v : 0;
|
|
22184
22184
|
e.save(), e.translate(D, U), e.font = M.legends.text.fontSize + "px " + (M.legends.text.fontFamily || "sans-serif"), n.forEach(function(I, F) {
|
|
22185
|
-
var Y, ne, G = F * L + R.left, ee = F * B + R.top,
|
|
22185
|
+
var Y, ne, G = F * L + R.left, ee = F * B + R.top, K = q_({ direction: w, justify: g, symbolSize: O, symbolSpacing: P, width: b, height: _ }), X = K.symbolX, ie = K.symbolY, W = K.labelX, V = K.labelY, se = K.labelAnchor, S = K.labelAlignment;
|
|
22186
22186
|
e.fillStyle = (Y = I.color) != null ? Y : "black", e.fillRect(G + X, ee + ie, O, O), e.textAlign = Xz[se], S === "central" && (e.textBaseline = "middle"), e.fillStyle = (ne = x ?? M.legends.text.fill) != null ? ne : "black", e.fillText(String(I.label), G + W, ee + V);
|
|
22187
22187
|
}), e.restore();
|
|
22188
22188
|
};
|
|
@@ -22247,8 +22247,8 @@ var Ev, Qz = function(e) {
|
|
|
22247
22247
|
var t = e.data, n = e.width, r = e.height, i = e.innerRadius, a = i === void 0 ? Oe.innerRadius : i, o = e.startAngle, s = o === void 0 ? Oe.startAngle : o, c = e.endAngle, l = c === void 0 ? Oe.endAngle : c, u = e.padAngle, d = u === void 0 ? Oe.padAngle : u, f = e.sortByValue, h = f === void 0 ? Oe.sortByValue : f, g = e.cornerRadius, p = g === void 0 ? Oe.cornerRadius : g, v = e.fit, b = v === void 0 ? Oe.fit : v, _ = e.activeInnerRadiusOffset, y = _ === void 0 ? Oe.activeInnerRadiusOffset : _, w = e.activeOuterRadiusOffset, x = w === void 0 ? Oe.activeOuterRadiusOffset : w, T = e.activeId, O = e.onActiveIdChange, C = e.defaultActiveId, P = e.forwardLegendData, M = rH({ activeId: T, onActiveIdChange: O, defaultActiveId: C }), A = M.activeId, N = M.setActiveId, $ = ke([]), R = $[0], j = $[1], D = Q(function() {
|
|
22248
22248
|
var B, I = Math.min(n, r) / 2, F = I * Math.min(a, 1), Y = n / 2, ne = r / 2;
|
|
22249
22249
|
if (b) {
|
|
22250
|
-
var G = Bz(Y, ne, I, s - 90, l - 90), ee = G.points,
|
|
22251
|
-
ie.x = (n - ie.width) / 2, ie.y = (r - ie.height) / 2, Y = (Y -
|
|
22250
|
+
var G = Bz(Y, ne, I, s - 90, l - 90), ee = G.points, K = G_(G, eH), X = Math.min(n / K.width, r / K.height), ie = { width: K.width * X, height: K.height * X };
|
|
22251
|
+
ie.x = (n - ie.width) / 2, ie.y = (r - ie.height) / 2, Y = (Y - K.x) / K.width * K.width * X + ie.x, ne = (ne - K.y) / K.height * K.height * X + ie.y, B = { box: K, ratio: X, points: ee }, I *= X, F *= X;
|
|
22252
22252
|
}
|
|
22253
22253
|
return { centerX: Y, centerY: ne, radius: I, innerRadius: F, debug: B };
|
|
22254
22254
|
}, [n, r, a, s, l, b]), U = nH({ data: t, startAngle: s, endAngle: l, innerRadius: D.innerRadius, outerRadius: D.radius, padAngle: d, sortByValue: h, activeId: A, activeInnerRadiusOffset: y, activeOuterRadiusOffset: x, hiddenIds: R, forwardLegendData: P }), L = z(function(B) {
|
|
@@ -22284,7 +22284,7 @@ var Ev, Qz = function(e) {
|
|
|
22284
22284
|
}, [o, v, d, u]);
|
|
22285
22285
|
return m.jsx(Uz, { center: t, data: n, arcGenerator: r, borderWidth: i, borderColor: a, transitionMode: h, onClick: b, onMouseEnter: _, onMouseMove: y, onMouseLeave: w });
|
|
22286
22286
|
}, sH = ["isInteractive", "animate", "motionConfig", "theme", "renderWrapper"], cH = function(e) {
|
|
22287
|
-
var t = e.data, n = e.id, r = n === void 0 ? Oe.id : n, i = e.value, a = i === void 0 ? Oe.value : i, o = e.valueFormat, s = e.sortByValue, c = s === void 0 ? Oe.sortByValue : s, l = e.layers, u = l === void 0 ? Oe.layers : l, d = e.startAngle, f = d === void 0 ? Oe.startAngle : d, h = e.endAngle, g = h === void 0 ? Oe.endAngle : h, p = e.padAngle, v = p === void 0 ? Oe.padAngle : p, b = e.fit, _ = b === void 0 ? Oe.fit : b, y = e.innerRadius, w = y === void 0 ? Oe.innerRadius : y, x = e.cornerRadius, T = x === void 0 ? Oe.cornerRadius : x, O = e.activeInnerRadiusOffset, C = O === void 0 ? Oe.activeInnerRadiusOffset : O, P = e.activeOuterRadiusOffset, M = P === void 0 ? Oe.activeOuterRadiusOffset : P, A = e.width, N = e.height, $ = e.margin, R = e.colors, j = R === void 0 ? Oe.colors : R, D = e.borderWidth, U = D === void 0 ? Oe.borderWidth : D, L = e.borderColor, B = L === void 0 ? Oe.borderColor : L, I = e.enableArcLabels, F = I === void 0 ? Oe.enableArcLabels : I, Y = e.arcLabel, ne = Y === void 0 ? Oe.arcLabel : Y, G = e.arcLabelsSkipAngle, ee = G === void 0 ? Oe.arcLabelsSkipAngle : G,
|
|
22287
|
+
var t = e.data, n = e.id, r = n === void 0 ? Oe.id : n, i = e.value, a = i === void 0 ? Oe.value : i, o = e.valueFormat, s = e.sortByValue, c = s === void 0 ? Oe.sortByValue : s, l = e.layers, u = l === void 0 ? Oe.layers : l, d = e.startAngle, f = d === void 0 ? Oe.startAngle : d, h = e.endAngle, g = h === void 0 ? Oe.endAngle : h, p = e.padAngle, v = p === void 0 ? Oe.padAngle : p, b = e.fit, _ = b === void 0 ? Oe.fit : b, y = e.innerRadius, w = y === void 0 ? Oe.innerRadius : y, x = e.cornerRadius, T = x === void 0 ? Oe.cornerRadius : x, O = e.activeInnerRadiusOffset, C = O === void 0 ? Oe.activeInnerRadiusOffset : O, P = e.activeOuterRadiusOffset, M = P === void 0 ? Oe.activeOuterRadiusOffset : P, A = e.width, N = e.height, $ = e.margin, R = e.colors, j = R === void 0 ? Oe.colors : R, D = e.borderWidth, U = D === void 0 ? Oe.borderWidth : D, L = e.borderColor, B = L === void 0 ? Oe.borderColor : L, I = e.enableArcLabels, F = I === void 0 ? Oe.enableArcLabels : I, Y = e.arcLabel, ne = Y === void 0 ? Oe.arcLabel : Y, G = e.arcLabelsSkipAngle, ee = G === void 0 ? Oe.arcLabelsSkipAngle : G, K = e.arcLabelsTextColor, X = K === void 0 ? Oe.arcLabelsTextColor : K, ie = e.arcLabelsRadiusOffset, W = ie === void 0 ? Oe.arcLabelsRadiusOffset : ie, V = e.arcLabelsComponent, se = e.enableArcLinkLabels, S = se === void 0 ? Oe.enableArcLinkLabels : se, ve = e.arcLinkLabel, ye = ve === void 0 ? Oe.arcLinkLabel : ve, pe = e.arcLinkLabelsSkipAngle, Ne = pe === void 0 ? Oe.arcLinkLabelsSkipAngle : pe, Re = e.arcLinkLabelsOffset, gt = Re === void 0 ? Oe.arcLinkLabelsOffset : Re, ft = e.arcLinkLabelsDiagonalLength, qe = ft === void 0 ? Oe.arcLinkLabelsDiagonalLength : ft, ot = e.arcLinkLabelsStraightLength, Ze = ot === void 0 ? Oe.arcLinkLabelsStraightLength : ot, de = e.arcLinkLabelsThickness, Ce = de === void 0 ? Oe.arcLinkLabelsThickness : de, je = e.arcLinkLabelsTextOffset, Se = je === void 0 ? Oe.arcLinkLabelsTextOffset : je, Je = e.arcLinkLabelsTextColor, kt = Je === void 0 ? Oe.arcLinkLabelsTextColor : Je, cn = e.arcLinkLabelsColor, jt = cn === void 0 ? Oe.arcLinkLabelsColor : cn, Tt = e.arcLinkLabelComponent, Ct = e.defs, wn = Ct === void 0 ? Oe.defs : Ct, $t = e.fill, Wt = $t === void 0 ? Oe.fill : $t, Pt = e.isInteractive, ln = Pt === void 0 ? Oe.isInteractive : Pt, He = e.onClick, We = e.onMouseEnter, Ke = e.onMouseMove, St = e.onMouseLeave, It = e.tooltip, Nt = It === void 0 ? Oe.tooltip : It, An = e.activeId, un = e.onActiveIdChange, Zt = e.defaultActiveId, Tn = e.transitionMode, qt = Tn === void 0 ? Oe.transitionMode : Tn, tn = e.legends, Rn = tn === void 0 ? Oe.legends : tn, dn = e.forwardLegendData, Qe = e.role, Ye = Qe === void 0 ? Oe.role : Qe, Ue = Gp(A, N, $), lt = Ue.outerWidth, nn = Ue.outerHeight, zt = Ue.margin, k = Ue.innerWidth, J = Ue.innerHeight, q = tH({ data: t, id: r, value: a, valueFormat: o, colors: j }), re = iH({ data: q, width: k, height: J, fit: _, innerRadius: w, startAngle: f, endAngle: g, padAngle: v, sortByValue: c, cornerRadius: T, activeInnerRadiusOffset: C, activeOuterRadiusOffset: M, activeId: An, onActiveIdChange: un, defaultActiveId: Zt, forwardLegendData: dn }), ge = re.dataWithArc, we = re.legendData, me = re.arcGenerator, be = re.centerX, Pe = re.centerY, Me = re.radius, st = re.innerRadius, Dt = re.setActiveId, Et = re.toggleSerie, Sn = D_(wn, ge, Wt), le = { arcs: null, arcLinkLabels: null, arcLabels: null, legends: null };
|
|
22288
22288
|
u.includes("arcs") && (le.arcs = m.jsx(oH, { center: [be, Pe], data: ge, arcGenerator: me, borderWidth: U, borderColor: B, isInteractive: ln, onClick: He, onMouseEnter: We, onMouseMove: Ke, onMouseLeave: St, setActiveId: Dt, tooltip: Nt, transitionMode: qt }, "arcs")), S && u.includes("arcLinkLabels") && (le.arcLinkLabels = m.jsx(Nz, { center: [be, Pe], data: ge, label: ye, skipAngle: Ne, offset: gt, diagonalLength: qe, straightLength: Ze, strokeWidth: Ce, textOffset: Se, textColor: kt, linkColor: jt, component: Tt }, "arcLinkLabels")), F && u.includes("arcLabels") && (le.arcLabels = m.jsx(Ez, { center: [be, Pe], data: ge, label: ne, radiusOffset: W, skipAngle: ee, textColor: X, transitionMode: qt, component: V }, "arcLabels")), Rn.length > 0 && u.includes("legends") && (le.legends = m.jsx(Qz, { width: k, height: J, data: we, legends: Rn, toggleSerie: Et }, "legends"));
|
|
22289
22289
|
var On = aH({ dataWithArc: ge, arcGenerator: me, centerX: be, centerY: Pe, radius: Me, innerRadius: st });
|
|
22290
22290
|
return m.jsx(Kp, { width: lt, height: nn, margin: zt, defs: Sn, role: Ye, children: u.map(function(Lt, Mu) {
|
|
@@ -22689,16 +22689,16 @@ var tw = function(e) {
|
|
|
22689
22689
|
var B, I = 0, F = 0, Y = 0;
|
|
22690
22690
|
t === "y" ? (Y = -90, I = C, T === "start" ? (B = "start", F = s) : T === "middle" ? (B = "middle", F = s / 2) : T === "end" && (B = "end")) : (F = C, T === "start" ? B = "start" : T === "middle" ? (B = "middle", I = s / 2) : T === "end" && (B = "end", I = s)), L = m.jsxs(m.Fragment, { children: [N.outlineWidth > 0 && m.jsx("text", { transform: "translate(" + I + ", " + F + ") rotate(" + Y + ")", textAnchor: B, style: Dn({ dominantBaseline: "central" }, N), strokeWidth: 2 * N.outlineWidth, stroke: N.outlineColor, strokeLinejoin: "round", children: w }), m.jsx("text", { transform: "translate(" + I + ", " + F + ") rotate(" + Y + ")", textAnchor: B, style: Dn({ dominantBaseline: "central" }, N), children: w })] });
|
|
22691
22691
|
}
|
|
22692
|
-
var ne = _n(), G = ne.animate, ee = ne.config,
|
|
22692
|
+
var ne = _n(), G = ne.animate, ee = ne.config, K = $r({ transform: "translate(" + i + "," + o + ")", lineX2: t === "x" ? s : 0, lineY2: t === "x" ? 0 : s, config: ee, immediate: !G }), X = z(function(V) {
|
|
22693
22693
|
return { opacity: 1, transform: "translate(" + V.x + "," + V.y + ")", textTransform: "translate(" + V.textX + "," + V.textY + ") rotate(" + p + ")" };
|
|
22694
22694
|
}, [p]), ie = z(function(V) {
|
|
22695
22695
|
return { opacity: 0, transform: "translate(" + V.x + "," + V.y + ")", textTransform: "translate(" + V.textX + "," + V.textY + ") rotate(" + p + ")" };
|
|
22696
22696
|
}, [p]), W = Pi(j, { keys: function(V) {
|
|
22697
22697
|
return V.key;
|
|
22698
22698
|
}, initial: X, from: ie, enter: X, update: X, leave: { opacity: 0 }, config: ee, immediate: !G });
|
|
22699
|
-
return m.jsxs(ct.g, { transform:
|
|
22699
|
+
return m.jsxs(ct.g, { transform: K.transform, "aria-hidden": M, children: [W(function(V, se, S, ve) {
|
|
22700
22700
|
return te.createElement(_, Dn({ tickIndex: ve, format: $, rotate: p, textBaseline: U, textAnchor: D, truncateTickAt: y, animatedProps: V }, se, P ? { onClick: P } : {}));
|
|
22701
|
-
}), m.jsx(ct.line, { style: A.axis.domain.line, x1: 0, x2:
|
|
22701
|
+
}), m.jsx(ct.line, { style: A.axis.domain.line, x1: 0, x2: K.lineX2, y1: 0, y2: K.lineY2 }), L] });
|
|
22702
22702
|
}, vq = Mt(gq), rw = ["top", "right", "bottom", "left"], yq = Mt(function(e) {
|
|
22703
22703
|
var t = e.xScale, n = e.yScale, r = e.width, i = e.height, a = { top: e.top, right: e.right, bottom: e.bottom, left: e.left };
|
|
22704
22704
|
return m.jsx(m.Fragment, { children: rw.map(function(o) {
|
|
@@ -23240,7 +23240,7 @@ var Vv, ZZ = function(e) {
|
|
|
23240
23240
|
var n = e.get(t) || 0;
|
|
23241
23241
|
e.set(t, n + 1);
|
|
23242
23242
|
}, gw = function(e) {
|
|
23243
|
-
var t = e.indexBy, n = t === void 0 ? ut.indexBy : t, r = e.keys, i = r === void 0 ? ut.keys : r, a = e.label, o = a === void 0 ? ut.label : a, s = e.tooltipLabel, c = s === void 0 ? ut.tooltipLabel : s, l = e.valueFormat, u = e.colors, d = u === void 0 ? ut.colors : u, f = e.colorBy, h = f === void 0 ? ut.colorBy : f, g = e.borderColor, p = g === void 0 ? ut.borderColor : g, v = e.labelTextColor, b = v === void 0 ? ut.labelTextColor : v, _ = e.groupMode, y = _ === void 0 ? ut.groupMode : _, w = e.layout, x = w === void 0 ? ut.layout : w, T = e.reverse, O = T === void 0 ? ut.reverse : T, C = e.data, P = e.minValue, M = P === void 0 ? ut.minValue : P, A = e.maxValue, N = A === void 0 ? ut.maxValue : A, $ = e.margin, R = e.width, j = e.height, D = e.padding, U = D === void 0 ? ut.padding : D, L = e.innerPadding, B = L === void 0 ? ut.innerPadding : L, I = e.valueScale, F = I === void 0 ? ut.valueScale : I, Y = e.indexScale, ne = Y === void 0 ? ut.indexScale : Y, G = e.initialHiddenIds, ee = G === void 0 ? ut.initialHiddenIds : G,
|
|
23243
|
+
var t = e.indexBy, n = t === void 0 ? ut.indexBy : t, r = e.keys, i = r === void 0 ? ut.keys : r, a = e.label, o = a === void 0 ? ut.label : a, s = e.tooltipLabel, c = s === void 0 ? ut.tooltipLabel : s, l = e.valueFormat, u = e.colors, d = u === void 0 ? ut.colors : u, f = e.colorBy, h = f === void 0 ? ut.colorBy : f, g = e.borderColor, p = g === void 0 ? ut.borderColor : g, v = e.labelTextColor, b = v === void 0 ? ut.labelTextColor : v, _ = e.groupMode, y = _ === void 0 ? ut.groupMode : _, w = e.layout, x = w === void 0 ? ut.layout : w, T = e.reverse, O = T === void 0 ? ut.reverse : T, C = e.data, P = e.minValue, M = P === void 0 ? ut.minValue : P, A = e.maxValue, N = A === void 0 ? ut.maxValue : A, $ = e.margin, R = e.width, j = e.height, D = e.padding, U = D === void 0 ? ut.padding : D, L = e.innerPadding, B = L === void 0 ? ut.innerPadding : L, I = e.valueScale, F = I === void 0 ? ut.valueScale : I, Y = e.indexScale, ne = Y === void 0 ? ut.indexScale : Y, G = e.initialHiddenIds, ee = G === void 0 ? ut.initialHiddenIds : G, K = e.enableLabel, X = K === void 0 ? ut.enableLabel : K, ie = e.labelSkipWidth, W = ie === void 0 ? ut.labelSkipWidth : ie, V = e.labelSkipHeight, se = V === void 0 ? ut.labelSkipHeight : V, S = e.legends, ve = S === void 0 ? ut.legends : S, ye = e.legendLabel, pe = e.totalsOffset, Ne = pe === void 0 ? ut.totalsOffset : pe, Re = ke(ee ?? []), gt = Re[0], ft = Re[1], qe = z(function(He) {
|
|
23244
23244
|
ft(function(We) {
|
|
23245
23245
|
return We.indexOf(He) > -1 ? We.filter(function(Ke) {
|
|
23246
23246
|
return Ke !== He;
|
|
@@ -23311,7 +23311,7 @@ var Vv, ZZ = function(e) {
|
|
|
23311
23311
|
return m.jsx(ct.text, { x: s.x, y: s.y, fillOpacity: s.labelOpacity, style: at({}, o.labels.text, { pointerEvents: "none", fill: o.text.fill }), fontWeight: "bold", fontSize: o.labels.text.fontSize, fontFamily: o.labels.text.fontFamily, textAnchor: a === "vertical" ? "middle" : "start", alignmentBaseline: a === "vertical" ? "alphabetic" : "middle", children: c.formattedValue }, c.key);
|
|
23312
23312
|
});
|
|
23313
23313
|
}, gK = ["isInteractive", "animate", "motionConfig", "theme", "renderWrapper"], vK = function(e) {
|
|
23314
|
-
var t = e.data, n = e.indexBy, r = e.keys, i = e.margin, a = e.width, o = e.height, s = e.groupMode, c = e.layout, l = e.reverse, u = e.minValue, d = e.maxValue, f = e.valueScale, h = e.indexScale, g = e.padding, p = e.innerPadding, v = e.axisTop, b = e.axisRight, _ = e.axisBottom, y = _ === void 0 ? vt.axisBottom : _, w = e.axisLeft, x = w === void 0 ? vt.axisLeft : w, T = e.enableGridX, O = T === void 0 ? vt.enableGridX : T, C = e.enableGridY, P = C === void 0 ? vt.enableGridY : C, M = e.gridXValues, A = e.gridYValues, N = e.layers, $ = N === void 0 ? vt.layers : N, R = e.barComponent, j = R === void 0 ? vt.barComponent : R, D = e.enableLabel, U = D === void 0 ? vt.enableLabel : D, L = e.label, B = e.labelSkipWidth, I = B === void 0 ? vt.labelSkipWidth : B, F = e.labelSkipHeight, Y = F === void 0 ? vt.labelSkipHeight : F, ne = e.labelTextColor, G = e.markers, ee = G === void 0 ? vt.markers : G,
|
|
23314
|
+
var t = e.data, n = e.indexBy, r = e.keys, i = e.margin, a = e.width, o = e.height, s = e.groupMode, c = e.layout, l = e.reverse, u = e.minValue, d = e.maxValue, f = e.valueScale, h = e.indexScale, g = e.padding, p = e.innerPadding, v = e.axisTop, b = e.axisRight, _ = e.axisBottom, y = _ === void 0 ? vt.axisBottom : _, w = e.axisLeft, x = w === void 0 ? vt.axisLeft : w, T = e.enableGridX, O = T === void 0 ? vt.enableGridX : T, C = e.enableGridY, P = C === void 0 ? vt.enableGridY : C, M = e.gridXValues, A = e.gridYValues, N = e.layers, $ = N === void 0 ? vt.layers : N, R = e.barComponent, j = R === void 0 ? vt.barComponent : R, D = e.enableLabel, U = D === void 0 ? vt.enableLabel : D, L = e.label, B = e.labelSkipWidth, I = B === void 0 ? vt.labelSkipWidth : B, F = e.labelSkipHeight, Y = F === void 0 ? vt.labelSkipHeight : F, ne = e.labelTextColor, G = e.markers, ee = G === void 0 ? vt.markers : G, K = e.colorBy, X = e.colors, ie = e.defs, W = ie === void 0 ? vt.defs : ie, V = e.fill, se = V === void 0 ? vt.fill : V, S = e.borderRadius, ve = S === void 0 ? vt.borderRadius : S, ye = e.borderWidth, pe = ye === void 0 ? vt.borderWidth : ye, Ne = e.borderColor, Re = e.annotations, gt = Re === void 0 ? vt.annotations : Re, ft = e.legendLabel, qe = e.tooltipLabel, ot = e.valueFormat, Ze = e.isInteractive, de = Ze === void 0 ? vt.isInteractive : Ze, Ce = e.tooltip, je = Ce === void 0 ? vt.tooltip : Ce, Se = e.onClick, Je = e.onMouseEnter, kt = e.onMouseLeave, cn = e.legends, jt = e.role, Tt = jt === void 0 ? vt.role : jt, Ct = e.ariaLabel, wn = e.ariaLabelledBy, $t = e.ariaDescribedBy, Wt = e.isFocusable, Pt = Wt === void 0 ? vt.isFocusable : Wt, ln = e.barAriaLabel, He = e.barAriaLabelledBy, We = e.barAriaDescribedBy, Ke = e.initialHiddenIds, St = e.enableTotals, It = St === void 0 ? vt.enableTotals : St, Nt = e.totalsOffset, An = Nt === void 0 ? vt.totalsOffset : Nt, un = _n(), Zt = un.animate, Tn = un.config, qt = Gp(a, o, i), tn = qt.outerWidth, Rn = qt.outerHeight, dn = qt.margin, Qe = qt.innerWidth, Ye = qt.innerHeight, Ue = gw({ indexBy: n, label: L, tooltipLabel: qe, valueFormat: ot, colors: X, colorBy: K, borderColor: Ne, labelTextColor: ne, groupMode: s, layout: c, reverse: l, data: t, keys: r, minValue: u, maxValue: d, margin: dn, width: Qe, height: Ye, padding: g, innerPadding: p, valueScale: f, indexScale: h, enableLabel: U, labelSkipWidth: I, labelSkipHeight: Y, legends: cn, legendLabel: ft, initialHiddenIds: Ke, totalsOffset: An }), lt = Ue.bars, nn = Ue.barsWithValue, zt = Ue.xScale, k = Ue.yScale, J = Ue.getLabel, q = Ue.getTooltipLabel, re = Ue.getBorderColor, ge = Ue.getLabelColor, we = Ue.shouldRenderBarLabel, me = Ue.toggleSerie, be = Ue.legendsWithData, Pe = Ue.barTotals, Me = Pi(nn, { keys: function(le) {
|
|
23315
23315
|
return le.key;
|
|
23316
23316
|
}, from: function(le) {
|
|
23317
23317
|
return at({ borderColor: re(le), color: le.color, height: 0, labelColor: ge(le), labelOpacity: 0, labelX: le.width / 2, labelY: le.height / 2, transform: "translate(" + le.x + ", " + (le.y + le.height) + ")", width: le.width }, c === "vertical" ? {} : { height: le.height, transform: "translate(" + le.x + ", " + le.y + ")", width: 0 });
|
|
@@ -23349,7 +23349,7 @@ var Vv, ZZ = function(e) {
|
|
|
23349
23349
|
q.moveTo(Pe + Lt, Me), q.lineTo(Pe + be - Lt, Me), q.quadraticCurveTo(Pe + be, Me, Pe + be, Me + Lt), q.lineTo(Pe + be, Me + me - Lt), q.quadraticCurveTo(Pe + be, Me + me, Pe + be - Lt, Me + me), q.lineTo(Pe + Lt, Me + me), q.quadraticCurveTo(Pe, Me + me, Pe, Me + me - Lt), q.lineTo(Pe, Me + Lt), q.quadraticCurveTo(Pe, Me, Pe + Lt, Me), q.closePath();
|
|
23350
23350
|
} else q.rect(Pe, Me, be, me);
|
|
23351
23351
|
q.fill(), Et > 0 && q.stroke(), On && (q.textBaseline = "middle", q.textAlign = "center", q.fillStyle = le, q.fillText(Sn, Pe + be / 2, Me + me / 2));
|
|
23352
|
-
} : R, D = e.enableLabel, U = D === void 0 ? Yt.enableLabel : D, L = e.label, B = e.labelSkipWidth, I = B === void 0 ? Yt.labelSkipWidth : B, F = e.labelSkipHeight, Y = F === void 0 ? Yt.labelSkipHeight : F, ne = e.labelTextColor, G = e.colorBy, ee = e.colors,
|
|
23352
|
+
} : R, D = e.enableLabel, U = D === void 0 ? Yt.enableLabel : D, L = e.label, B = e.labelSkipWidth, I = B === void 0 ? Yt.labelSkipWidth : B, F = e.labelSkipHeight, Y = F === void 0 ? Yt.labelSkipHeight : F, ne = e.labelTextColor, G = e.colorBy, ee = e.colors, K = e.borderRadius, X = K === void 0 ? Yt.borderRadius : K, ie = e.borderWidth, W = ie === void 0 ? Yt.borderWidth : ie, V = e.borderColor, se = e.annotations, S = se === void 0 ? Yt.annotations : se, ve = e.legendLabel, ye = e.tooltipLabel, pe = e.valueFormat, Ne = e.isInteractive, Re = Ne === void 0 ? Yt.isInteractive : Ne, gt = e.tooltip, ft = gt === void 0 ? Yt.tooltip : gt, qe = e.onClick, ot = e.onMouseEnter, Ze = e.onMouseLeave, de = e.legends, Ce = e.pixelRatio, je = Ce === void 0 ? Yt.pixelRatio : Ce, Se = e.canvasRef, Je = e.enableTotals, kt = Je === void 0 ? Yt.enableTotals : Je, cn = e.totalsOffset, jt = cn === void 0 ? Yt.totalsOffset : cn, Tt = fe(null), Ct = xt(), wn = Gp(a, o, i), $t = wn.margin, Wt = wn.innerWidth, Pt = wn.innerHeight, ln = wn.outerWidth, He = wn.outerHeight, We = gw({ indexBy: n, label: L, tooltipLabel: ye, valueFormat: pe, colors: ee, colorBy: G, borderColor: V, labelTextColor: ne, groupMode: s, layout: c, reverse: l, data: t, keys: r, minValue: u, maxValue: d, margin: $t, width: Wt, height: Pt, padding: g, innerPadding: p, valueScale: f, indexScale: h, enableLabel: U, labelSkipWidth: I, labelSkipHeight: Y, legends: de, legendLabel: ve, totalsOffset: jt }), Ke = We.bars, St = We.barsWithValue, It = We.xScale, Nt = We.yScale, An = We.getLabel, un = We.getTooltipLabel, Zt = We.getBorderColor, Tn = We.getLabelColor, qt = We.shouldRenderBarLabel, tn = We.legendsWithData, Rn = We.barTotals, dn = Xh(), Qe = dn.showTooltipFromEvent, Ye = dn.hideTooltip, Ue = BZ({ annotations: dw({ data: Ke, annotations: S, getPosition: function(q) {
|
|
23353
23353
|
return { x: q.x, y: q.y };
|
|
23354
23354
|
}, getDimensions: function(q) {
|
|
23355
23355
|
var re = q.width, ge = q.height;
|
|
@@ -23543,19 +23543,19 @@ const RK = "_side-content-bar_1w605_1", jK = "_mobile_1w605_13", PK = "_expanded
|
|
|
23543
23543
|
delta: 100
|
|
23544
23544
|
});
|
|
23545
23545
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
23546
|
-
/* @__PURE__ */ m.jsx("section", { className:
|
|
23546
|
+
/* @__PURE__ */ m.jsx("section", { className: Z("luminus-side-content-bar shadow", Zi.sideContentBar, {
|
|
23547
23547
|
[Zi.mobile]: a
|
|
23548
23548
|
}, {
|
|
23549
23549
|
[Zi.expanded]: n
|
|
23550
23550
|
}), style: {
|
|
23551
23551
|
width: `${e}px`
|
|
23552
23552
|
}, ...o, children: t }),
|
|
23553
|
-
a ? /* @__PURE__ */ m.jsx("div", { role: "button", onClick: () => r(!n), className:
|
|
23553
|
+
a ? /* @__PURE__ */ m.jsx("div", { role: "button", onClick: () => r(!n), className: Z(Zi.expander, { [Zi.expanded]: n }, "luminus-side-content-bar-expander", "shadow"), children: /* @__PURE__ */ m.jsx(i, { className: Zi.icon, icon: "chevron-left" }) }) : null
|
|
23554
23554
|
] });
|
|
23555
23555
|
}, LK = ({ title: e }) => /* @__PURE__ */ m.jsx("div", { className: "mb-3", children: typeof e == "string" ? /* @__PURE__ */ m.jsx(pn, { variant: "h3", children: e }) : e }), FK = "_full-screen-container_1rm4r_1", yw = {
|
|
23556
23556
|
"full-screen-container": "_full-screen-container_1rm4r_1",
|
|
23557
23557
|
fullScreenContainer: FK
|
|
23558
|
-
}, UK =
|
|
23558
|
+
}, UK = Z("overflow-hidden luminus-full-screen-container", yw.fullScreenContainer), BK = "container-fluid", AQ = ({ title: e, children: t, sideContent: n, sideContentWidth: r = 250, noPadding: i, className: a, variant: o = "main", helmet: s, unavailableOnMobile: c }) => {
|
|
23559
23559
|
const { addHelmet: l, removeHelmet: u } = ce(hE), { texts: { container: d } } = ce(At), [f, h] = ke(!1), g = Q(() => {
|
|
23560
23560
|
switch (o) {
|
|
23561
23561
|
case "fullScreen":
|
|
@@ -23574,7 +23574,7 @@ const RK = "_side-content-bar_1w605_1", jK = "_mobile_1w605_13", PK = "_expanded
|
|
|
23574
23574
|
delta: 100
|
|
23575
23575
|
}), { isMobile: v } = gl(), b = Q(() => v && c, [v, c]);
|
|
23576
23576
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
23577
|
-
/* @__PURE__ */ m.jsx("div", { className:
|
|
23577
|
+
/* @__PURE__ */ m.jsx("div", { className: Z(g, i ? "p-0" : "p-3", a), style: o === "fullScreen" ? { width: n ? `calc(100% - ${r}px)` : "100%" } : void 0, ...p, children: /* @__PURE__ */ m.jsx("div", { className: o === "fullScreen" ? yw.fullScreenContainer : void 0, style: o === "main" ? { paddingRight: n ? `${r}px` : void 0 } : { height: "100%", width: "100%" }, children: b ? /* @__PURE__ */ m.jsx(U1, { variant: "warning", children: d.unavailableOnMobile }) : /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
23578
23578
|
e ? /* @__PURE__ */ m.jsx(LK, { title: e }) : null,
|
|
23579
23579
|
t
|
|
23580
23580
|
] }) }) }),
|
|
@@ -23603,7 +23603,7 @@ const RK = "_side-content-bar_1w605_1", jK = "_mobile_1w605_13", PK = "_expanded
|
|
|
23603
23603
|
b.isSubmitted && C(!0);
|
|
23604
23604
|
}, [b]);
|
|
23605
23605
|
const A = x !== void 0;
|
|
23606
|
-
return /* @__PURE__ */ m.jsx(m.Fragment, { children: /* @__PURE__ */ m.jsxs(e, { label: n ?? "", required: u, hidden: d, withoutLabel: h, isInvalid: A, hint: g, className: p, children: [
|
|
23606
|
+
return /* @__PURE__ */ m.jsx(m.Fragment, { children: /* @__PURE__ */ m.jsxs(e, { label: n ?? "", required: u, disabled: f, hidden: d, withoutLabel: h, isInvalid: A, hint: g, className: p, children: [
|
|
23607
23607
|
/* @__PURE__ */ m.jsxs(kr.Select, { size: o, ...v(t, {
|
|
23608
23608
|
setValueAs: (N) => a ? N == null || N === "" ? null : parseInt(N, 10) : N == null || N === "" ? null : N,
|
|
23609
23609
|
onChange: () => {
|
|
@@ -23633,7 +23633,7 @@ const RK = "_side-content-bar_1w605_1", jK = "_mobile_1w605_13", PK = "_expanded
|
|
|
23633
23633
|
y.isSubmitted && P(!0);
|
|
23634
23634
|
}, [y]);
|
|
23635
23635
|
const N = T !== void 0;
|
|
23636
|
-
return /* @__PURE__ */ m.jsxs(e, { label: n ?? "", required: s, hidden: c, withoutLabel: d, isInvalid: N, className: b, hint: p, isForTextAreaInput: !0, children: [
|
|
23636
|
+
return /* @__PURE__ */ m.jsxs(e, { label: n ?? "", required: s, disabled: l, hidden: c, withoutLabel: d, isInvalid: N, className: b, hint: p, isForTextAreaInput: !0, children: [
|
|
23637
23637
|
/* @__PURE__ */ m.jsx(kr.Control, { as: "textarea", size: i, ..._(t, {
|
|
23638
23638
|
setValueAs: ($) => $ == null || $ === "" ? null : $,
|
|
23639
23639
|
onChange: ($) => {
|
|
@@ -23664,7 +23664,7 @@ const RK = "_side-content-bar_1w605_1", jK = "_mobile_1w605_13", PK = "_expanded
|
|
|
23664
23664
|
O.isSubmitted && $(!0);
|
|
23665
23665
|
}, [O]);
|
|
23666
23666
|
const D = M !== void 0, [U, L] = ke(!1), B = P(n), I = I1(t, B ?? null, U);
|
|
23667
|
-
return /* @__PURE__ */ m.jsxs(e, { label: r ?? "", required: l, hidden: u, withoutLabel: f, isInvalid: D, hint: y, className: x, children: [
|
|
23667
|
+
return /* @__PURE__ */ m.jsxs(e, { label: r ?? "", required: l, disabled: d, hidden: u, withoutLabel: f, isInvalid: D, hint: y, className: x, children: [
|
|
23668
23668
|
/* @__PURE__ */ m.jsxs("div", { className: "luminus-input-container position-relative w-100", children: [
|
|
23669
23669
|
/* @__PURE__ */ m.jsx(kr.Control, { type: I, placeholder: i ?? r, size: a, onFocus: (F) => {
|
|
23670
23670
|
L(!0), !v && F.target.select();
|
|
@@ -23704,8 +23704,8 @@ const RK = "_side-content-bar_1w605_1", jK = "_mobile_1w605_13", PK = "_expanded
|
|
|
23704
23704
|
}, xw = ({ isActive: e, isDefault: t, folderName: n, typeName: r }) => {
|
|
23705
23705
|
const { ProjectIconComponent: i } = ce(At);
|
|
23706
23706
|
return /* @__PURE__ */ m.jsxs("div", { className: "d-flex gap-2 align-items-center", children: [
|
|
23707
|
-
/* @__PURE__ */ m.jsx(i, { icon: `folder${e ? "-filled" : ""}`, className:
|
|
23708
|
-
/* @__PURE__ */ m.jsxs("div", { className:
|
|
23707
|
+
/* @__PURE__ */ m.jsx(i, { icon: `folder${e ? "-filled" : ""}`, className: Z("d-inline-block", t ? Hs.defaultFolder : "text-primary"), iconProps: { className: Hs.folderIcon } }),
|
|
23708
|
+
/* @__PURE__ */ m.jsxs("div", { className: Z("d-flex flex-column gap-0 align-items-start", Hs.names), children: [
|
|
23709
23709
|
/* @__PURE__ */ m.jsx("span", { className: e ? "fw-bold" : "", children: n }),
|
|
23710
23710
|
r ? /* @__PURE__ */ m.jsxs("span", { className: Hs.folderType, children: [
|
|
23711
23711
|
"(",
|
|
@@ -23718,7 +23718,7 @@ const RK = "_side-content-bar_1w605_1", jK = "_mobile_1w605_13", PK = "_expanded
|
|
|
23718
23718
|
const { reducer: [t, n] } = ce(Ft), r = z(() => {
|
|
23719
23719
|
n({ type: "select-folder", folderId: "root" });
|
|
23720
23720
|
}, [n]);
|
|
23721
|
-
return /* @__PURE__ */ m.jsx("li", { children: /* @__PURE__ */ m.jsx("button", { onClick: r, type: "button", className:
|
|
23721
|
+
return /* @__PURE__ */ m.jsx("li", { children: /* @__PURE__ */ m.jsx("button", { onClick: r, type: "button", className: Z("border-0 bg-transparent"), children: /* @__PURE__ */ m.jsx(xw, { folderName: e ?? "root", isActive: t.activeFolder === "root", typeName: "", isDefault: !0 }) }) });
|
|
23722
23722
|
};
|
|
23723
23723
|
function QK(e) {
|
|
23724
23724
|
if (e.state !== "openned-modal")
|
|
@@ -24037,7 +24037,7 @@ const dX = () => {
|
|
|
24037
24037
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
24038
24038
|
/* @__PURE__ */ m.jsxs("li", { className: Qr.folder, children: [
|
|
24039
24039
|
/* @__PURE__ */ m.jsx("div", { className: Qr.collapseArrowDiv, children: f ? c ? /* @__PURE__ */ m.jsx("button", { onClick: () => l(!1), type: "button", children: /* @__PURE__ */ m.jsx(n, { icon: "chevron-right", iconProps: { className: Qr.collapseArrow } }) }) : /* @__PURE__ */ m.jsx("button", { onClick: d, type: "button", children: /* @__PURE__ */ m.jsx(n, { icon: "chevron-down", iconProps: { className: Qr.collapseArrow } }) }) : null }),
|
|
24040
|
-
/* @__PURE__ */ m.jsx("button", { className:
|
|
24040
|
+
/* @__PURE__ */ m.jsx("button", { className: Z(Qr.button), onClick: h, type: "button", ...t && !u.onlyRead ? a(e, { onFilesDrop: (p) => s(p) }) : {}, children: /* @__PURE__ */ m.jsxs("div", { className: "d-flex align-items-center gap-2", children: [
|
|
24041
24041
|
/* @__PURE__ */ m.jsx(xw, { isDefault: u.isDefault, folderName: u.name, typeName: u.defaultDocType ?? "", isActive: e === r.activeFolder }),
|
|
24042
24042
|
g > 0 ? /* @__PURE__ */ m.jsxs("span", { className: Qr.numberOfFiles, children: [
|
|
24043
24043
|
"[",
|
|
@@ -24076,17 +24076,17 @@ const SX = "_excel_18ggp_1", OX = "_word_18ggp_5", kX = "_pdf_18ggp_9", $X = "_i
|
|
|
24076
24076
|
case "JPEG":
|
|
24077
24077
|
case "BMP":
|
|
24078
24078
|
case "PNG":
|
|
24079
|
-
return /* @__PURE__ */ m.jsx("span", { className:
|
|
24079
|
+
return /* @__PURE__ */ m.jsx("span", { className: Z(t, qs.image), children: /* @__PURE__ */ m.jsx(_X, { ...n }) });
|
|
24080
24080
|
case "XLS":
|
|
24081
24081
|
case "XLSX":
|
|
24082
24082
|
case "CSV":
|
|
24083
|
-
return /* @__PURE__ */ m.jsx(wX, { className:
|
|
24083
|
+
return /* @__PURE__ */ m.jsx(wX, { className: Z(t, qs.excel), ...n });
|
|
24084
24084
|
case "DOC":
|
|
24085
24085
|
case "DOCM":
|
|
24086
24086
|
case "DOCX":
|
|
24087
|
-
return /* @__PURE__ */ m.jsx(TX, { className:
|
|
24087
|
+
return /* @__PURE__ */ m.jsx(TX, { className: Z(t, qs.word), ...n });
|
|
24088
24088
|
case "PDF":
|
|
24089
|
-
return /* @__PURE__ */ m.jsx(iC, { className:
|
|
24089
|
+
return /* @__PURE__ */ m.jsx(iC, { className: Z(t, qs.pdf), ...n });
|
|
24090
24090
|
default:
|
|
24091
24091
|
return /* @__PURE__ */ m.jsx(xX, {});
|
|
24092
24092
|
}
|
|
@@ -24195,7 +24195,7 @@ const SX = "_excel_18ggp_1", OX = "_word_18ggp_5", kX = "_pdf_18ggp_9", $X = "_i
|
|
|
24195
24195
|
selectedRows: r.markedFiles,
|
|
24196
24196
|
setSelectedRows: o
|
|
24197
24197
|
}), [s, o, r.markedFiles, n]), u = Q(() => r.activeFolder === "root" ? r.filteredFiles : r.filteredFiles.filter((h) => h.folderId === r.activeFolder), [r.activeFolder, r.filteredFiles]), { getDraggableProps: d } = rm(), f = z((h) => n === !1 || c ? {} : d(h.id), [d, c, n]);
|
|
24198
|
-
return /* @__PURE__ */ m.jsx("div", { className:
|
|
24198
|
+
return /* @__PURE__ */ m.jsx("div", { className: Z($w.wrapper), children: /* @__PURE__ */ m.jsx(e, { data: u, columnsDef: a, rowSelection: l, useScrollableContainer: !0, getRowProps: f, defaultConfig: {
|
|
24199
24199
|
defaultFilters: [{ id: "archive", value: "false" }]
|
|
24200
24200
|
}, tableId: t, searchStatePrefix: "docs", useSearchState: !0, hideBottomBar: !0 }, r.activeFolder) });
|
|
24201
24201
|
}, AX = "_wrapper_1q562_1", RX = "_divButtons_1q562_10", kd = {
|
|
@@ -24212,7 +24212,7 @@ const SX = "_excel_18ggp_1", OX = "_word_18ggp_5", kX = "_pdf_18ggp_9", $X = "_i
|
|
|
24212
24212
|
o(null), i.current && (i.current.value = "");
|
|
24213
24213
|
}, []), u = Q(() => `documents-upload-${t}-${e}`, [e, t]), d = Q(() => r || s.activeFolder === "root", [r, s.activeFolder]);
|
|
24214
24214
|
return /* @__PURE__ */ m.jsxs("div", { className: ey.wrapper, children: [
|
|
24215
|
-
/* @__PURE__ */ m.jsx("label", { htmlFor: u, className:
|
|
24215
|
+
/* @__PURE__ */ m.jsx("label", { htmlFor: u, className: Z("btn btn-context luminus-context-button", d ? "disabled" : void 0), children: n }),
|
|
24216
24216
|
/* @__PURE__ */ m.jsx("input", { id: u, type: "file", multiple: !0, onChange: c, className: ey.fileInput, ref: i, disabled: d }),
|
|
24217
24217
|
a !== null ? /* @__PURE__ */ m.jsx(im, { handleClose: l, files: a }) : void 0
|
|
24218
24218
|
] });
|
|
@@ -24242,7 +24242,7 @@ const SX = "_excel_18ggp_1", OX = "_word_18ggp_5", kX = "_pdf_18ggp_9", $X = "_i
|
|
|
24242
24242
|
var M;
|
|
24243
24243
|
return ((M = s.constantFiles.find((A) => A.id === P)) == null ? void 0 : M.archive) === !0;
|
|
24244
24244
|
}), [s.constantFiles, s.markedFiles]);
|
|
24245
|
-
return /* @__PURE__ */ m.jsx("div", { className:
|
|
24245
|
+
return /* @__PURE__ */ m.jsx("div", { className: Z(e, kd.wrapper, s.state === "folder-choosing" ? "ignore-dim" : void 0, "d-flex justify-content-between"), children: s.state !== "folder-choosing" ? /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
24246
24246
|
/* @__PURE__ */ m.jsxs("div", { className: kd.divButtons, children: [
|
|
24247
24247
|
/* @__PURE__ */ m.jsx(IX, { entityId: t, entityType: n, disabled: w, children: r.uploadFiles }),
|
|
24248
24248
|
/* @__PURE__ */ m.jsx(Jn, { onClick: () => {
|
|
@@ -24276,7 +24276,7 @@ const SX = "_excel_18ggp_1", OX = "_word_18ggp_5", kX = "_pdf_18ggp_9", $X = "_i
|
|
|
24276
24276
|
/* @__PURE__ */ m.jsx(Jn, { onClick: _, disabled: p, children: r.rename }),
|
|
24277
24277
|
/* @__PURE__ */ m.jsx(Jn, { onClick: d, disabled: p, children: r.downloadZip })
|
|
24278
24278
|
] }) : null
|
|
24279
|
-
] }) : s.state === "folder-choosing" ? /* @__PURE__ */ m.jsx(m.Fragment, { children: /* @__PURE__ */ m.jsx(Jn, { onClick: () => c({ type: "return-from-folder-choosing" }), className:
|
|
24279
|
+
] }) : s.state === "folder-choosing" ? /* @__PURE__ */ m.jsx(m.Fragment, { children: /* @__PURE__ */ m.jsx(Jn, { onClick: () => c({ type: "return-from-folder-choosing" }), className: Z("ignore-dim", "body-background-color"), children: r.back }) }) : void 0 });
|
|
24280
24280
|
}, DX = ({ file: e }) => {
|
|
24281
24281
|
const { confirm: t } = S1(), { reducer: [n], apiActions: { downloadFile: r } } = ce(Ft), { texts: { documents: i } } = ce(At), a = z(async () => {
|
|
24282
24282
|
await t(i.confirmFileDownload(e.name, e.size == null ? void 0 : So(e.size * 1024 * 1024))) && r(e.id);
|
|
@@ -24713,16 +24713,16 @@ const HX = ([e, t], n, r) => {
|
|
|
24713
24713
|
loadDocuments: p,
|
|
24714
24714
|
reducer: [d, f]
|
|
24715
24715
|
}), [t, e, v, p, d, f]), { getDropProps: _ } = rm();
|
|
24716
|
-
return c ? /* @__PURE__ */ m.jsx(Ft.Provider, { value: b, children: /* @__PURE__ */ m.jsx(UX, {}) }) : /* @__PURE__ */ m.jsx("div", { ...s, className:
|
|
24716
|
+
return c ? /* @__PURE__ */ m.jsx(Ft.Provider, { value: b, children: /* @__PURE__ */ m.jsx(UX, {}) }) : /* @__PURE__ */ m.jsx("div", { ...s, className: Z(Jr.wrapper, n), onDragOver: (y) => {
|
|
24717
24717
|
y.dataTransfer.dropEffect = "none", y.stopPropagation(), y.preventDefault();
|
|
24718
24718
|
}, onDragEnter: (y) => {
|
|
24719
24719
|
y.dataTransfer.dropEffect = "none", y.stopPropagation(), y.preventDefault();
|
|
24720
24720
|
}, children: /* @__PURE__ */ m.jsxs(Ft.Provider, { value: b, children: [
|
|
24721
|
-
/* @__PURE__ */ m.jsx("div", { className:
|
|
24721
|
+
/* @__PURE__ */ m.jsx("div", { className: Z(d.state === "folder-choosing" ? "dim-others" : void 0, Jr.explorerWindow), children: /* @__PURE__ */ m.jsxs("ul", { className: Jr.folderList, children: [
|
|
24722
24722
|
/* @__PURE__ */ m.jsx(JK, { customText: a ?? e }),
|
|
24723
24723
|
d.rootFolderIds.map((y) => /* @__PURE__ */ m.jsx(kw, { dirId: y, writePermissions: o }, y))
|
|
24724
24724
|
] }) }),
|
|
24725
|
-
/* @__PURE__ */ m.jsxs("div", { className:
|
|
24725
|
+
/* @__PURE__ */ m.jsxs("div", { className: Z(Jr.explorerWindow, Jr.fileList), ...o && uX(d) ? _(d.activeFolder, {
|
|
24726
24726
|
onFilesDrop: (y) => g(y),
|
|
24727
24727
|
ignoreInner: !0
|
|
24728
24728
|
}) : {}, children: [
|
|
@@ -25210,7 +25210,7 @@ export {
|
|
|
25210
25210
|
mm as bx,
|
|
25211
25211
|
hE as by,
|
|
25212
25212
|
TQ as bz,
|
|
25213
|
-
|
|
25213
|
+
Z as c,
|
|
25214
25214
|
cO as c0,
|
|
25215
25215
|
sO as c1,
|
|
25216
25216
|
So as c2,
|