react-luminus-components 1.3.64 → 1.3.65
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/README.md +349 -349
- package/dist/.vite/manifest.json +85 -79
- package/dist/{PrimaryButton-BDkoxDxu.js → PrimaryButton-B-4FDBTu.js} +1 -1
- package/dist/{PrimaryButton-FETyQBrz.cjs → PrimaryButton-D597YT4l.cjs} +1 -1
- package/dist/{SimpleTooltip-CSAjJupj.js → SimpleTooltip-DKYGIm0z.js} +1 -1
- package/dist/{SimpleTooltip-SQwP-wdh.cjs → SimpleTooltip-DSvr5tFN.cjs} +1 -1
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +26 -26
- package/dist/{dateUtils-sgEmcvkc.cjs → dateUtils-D-Kr9uyw.cjs} +1 -1
- package/dist/{dateUtils-D96W3tJV.js → dateUtils-D_TxQkwR.js} +15 -15
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useClipboard/useClipboard.d.ts +4 -0
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +452 -451
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +3 -3
- package/dist/main.cjs.js +2 -2
- package/dist/main.es.js +2733 -2726
- package/dist/models/texts/ClipboardTexts.d.ts +5 -0
- package/dist/models/texts/ComponentsContextTexts.d.ts +2 -0
- package/dist/{nivo-pie.es-eJiWQGXE.js → nivo-pie.es-BDucg1Se.js} +154 -150
- package/dist/{nivo-pie.es-pXgEulo4.cjs → nivo-pie.es-DDmgfWkx.cjs} +46 -46
- package/dist/{searchUtils-dkrRKG1d.js → searchUtils-BSgX6UMV.js} +1 -1
- package/dist/{searchUtils-D-RwHhib.cjs → searchUtils-LPeUPG5Y.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/useClipboard-B7mREbqi.js +70 -0
- package/dist/useClipboard-DQ9COBXW.cjs +1 -0
- package/dist/{useConfirm-DOdWoD_y.js → useConfirm-CA4uEYqW.js} +1 -1
- package/dist/{useConfirm-DoFn2krj.cjs → useConfirm-LVh4L1xZ.cjs} +1 -1
- package/dist/{useLocalStorageState-DLtFymVn.js → useLocalStorageState-B1YahEo2.js} +8 -8
- package/dist/{useLocalStorageState-z1tkSkg6.cjs → useLocalStorageState-bxFIq9SR.cjs} +1 -1
- package/dist/{usePermissions-C7dyau5A.cjs → usePermissions-CYf12h6x.cjs} +1 -1
- package/dist/{usePermissions-CVtO1bZt.js → usePermissions-Cb6jEqr-.js} +3 -3
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +12 -12
- package/dist/variables.scss +171 -171
- package/package.json +109 -109
- package/dist/useEmployeePhotoPath-BgHzjvUU.cjs +0 -1
- package/dist/useEmployeePhotoPath-BxaDaY0V.js +0 -55
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { default as AppSearchTexts } from './AppSearchTexts';
|
|
2
2
|
import { default as AxiosTexts } from './AxiosTexts';
|
|
3
|
+
import { default as ClipboardTexts } from './ClipboardTexts';
|
|
3
4
|
import { default as ConfirmTexts } from './ConfirmTexts';
|
|
4
5
|
import { default as CustomSelectTexts } from './CustomSelectTexts';
|
|
5
6
|
import { default as DateTexts } from './DateTexts';
|
|
@@ -24,5 +25,6 @@ type ComponentsContextTexts = {
|
|
|
24
25
|
messageBoard: MessageBoardTexts;
|
|
25
26
|
date: DateTexts;
|
|
26
27
|
dynamicForms: DynamicFormsTexts;
|
|
28
|
+
clipboard: ClipboardTexts;
|
|
27
29
|
};
|
|
28
30
|
export default ComponentsContextTexts;
|
|
@@ -266,18 +266,18 @@ function k1() {
|
|
|
266
266
|
if (Le && ne && typeof Le.stack == "string") {
|
|
267
267
|
for (var le = Le.stack.split(`
|
|
268
268
|
`), De = ne.stack.split(`
|
|
269
|
-
`),
|
|
269
|
+
`), Me = le.length - 1, ke = De.length - 1; Me >= 1 && ke >= 0 && le[Me] !== De[ke]; )
|
|
270
270
|
ke--;
|
|
271
|
-
for (;
|
|
272
|
-
if (le[
|
|
273
|
-
if (
|
|
271
|
+
for (; Me >= 1 && ke >= 0; Me--, ke--)
|
|
272
|
+
if (le[Me] !== De[ke]) {
|
|
273
|
+
if (Me !== 1 || ke !== 1)
|
|
274
274
|
do
|
|
275
|
-
if (
|
|
275
|
+
if (Me--, ke--, ke < 0 || le[Me] !== De[ke]) {
|
|
276
276
|
var Ke = `
|
|
277
|
-
` + le[
|
|
277
|
+
` + le[Me].replace(" at new ", " at ");
|
|
278
278
|
return w.displayName && Ke.includes("<anonymous>") && (Ke = Ke.replace("<anonymous>", w.displayName)), typeof w == "function" && U.set(w, Ke), Ke;
|
|
279
279
|
}
|
|
280
|
-
while (
|
|
280
|
+
while (Me >= 1 && ke >= 0);
|
|
281
281
|
break;
|
|
282
282
|
}
|
|
283
283
|
}
|
|
@@ -343,8 +343,8 @@ function k1() {
|
|
|
343
343
|
throw De.name = "Invariant Violation", De;
|
|
344
344
|
}
|
|
345
345
|
le = w[be](I, be, ne, J, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
346
|
-
} catch (
|
|
347
|
-
le =
|
|
346
|
+
} catch (Me) {
|
|
347
|
+
le = Me;
|
|
348
348
|
}
|
|
349
349
|
le && !(le instanceof Error) && (pt(me), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", ne || "React class", J, be, typeof le), pt(null)), le instanceof Error && !(le.message in Ue) && (Ue[le.message] = !0, pt(me), y("Failed %s type: %s", J, le.message), pt(null));
|
|
350
350
|
}
|
|
@@ -461,9 +461,9 @@ function k1() {
|
|
|
461
461
|
for (Ee in I)
|
|
462
462
|
Ae.call(I, Ee) && !Un.hasOwnProperty(Ee) && (be[Ee] = I[Ee]);
|
|
463
463
|
if (w && w.defaultProps) {
|
|
464
|
-
var
|
|
465
|
-
for (Ee in
|
|
466
|
-
be[Ee] === void 0 && (be[Ee] =
|
|
464
|
+
var Me = w.defaultProps;
|
|
465
|
+
for (Ee in Me)
|
|
466
|
+
be[Ee] === void 0 && (be[Ee] = Me[Ee]);
|
|
467
467
|
}
|
|
468
468
|
if (le || De) {
|
|
469
469
|
var ke = typeof w == "function" ? w.displayName || w.name || "Unknown" : w;
|
|
@@ -591,8 +591,8 @@ Check the top-level render call using <` + J + ">.");
|
|
|
591
591
|
(w === void 0 || typeof w == "object" && w !== null && Object.keys(w).length === 0) && (le += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
592
592
|
var De = Go();
|
|
593
593
|
De ? le += De : le += ji();
|
|
594
|
-
var
|
|
595
|
-
w === null ?
|
|
594
|
+
var Me;
|
|
595
|
+
w === null ? Me = "null" : He(w) ? Me = "array" : w !== void 0 && w.$$typeof === t ? (Me = "<" + ($(w.type) || "Unknown") + " />", le = " Did you accidentally export a JSX literal instead of a component?") : Me = typeof w, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Me, le);
|
|
596
596
|
}
|
|
597
597
|
var ke = Yo(w, I, J, me, Ee);
|
|
598
598
|
if (ke == null)
|
|
@@ -3841,7 +3841,7 @@ function hh(e) {
|
|
|
3841
3841
|
key: n
|
|
3842
3842
|
}, t.attr), hh(t.child)));
|
|
3843
3843
|
}
|
|
3844
|
-
function
|
|
3844
|
+
function Pe(e) {
|
|
3845
3845
|
return (t) => /* @__PURE__ */ Fe.createElement(wg, ha({
|
|
3846
3846
|
attr: pa({}, e.attr)
|
|
3847
3847
|
}, t), hh(e.child));
|
|
@@ -3870,73 +3870,76 @@ function wg(e) {
|
|
|
3870
3870
|
return yf !== void 0 ? /* @__PURE__ */ Fe.createElement(yf.Consumer, null, (n) => t(n)) : t(dh);
|
|
3871
3871
|
}
|
|
3872
3872
|
function I$(e) {
|
|
3873
|
-
return
|
|
3873
|
+
return Pe({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z" }, child: [] }] })(e);
|
|
3874
3874
|
}
|
|
3875
3875
|
function D$(e) {
|
|
3876
|
-
return
|
|
3876
|
+
return Pe({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }, child: [] }] })(e);
|
|
3877
3877
|
}
|
|
3878
3878
|
function N$(e) {
|
|
3879
|
-
return
|
|
3879
|
+
return Pe({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2z" }, child: [] }] })(e);
|
|
3880
3880
|
}
|
|
3881
3881
|
function F$(e) {
|
|
3882
|
-
return
|
|
3882
|
+
return Pe({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "m10 17 5-5-5-5v10z" }, child: [] }, { tag: "path", attr: { fill: "none", d: "M0 24V0h24v24H0z" }, child: [] }] })(e);
|
|
3883
3883
|
}
|
|
3884
3884
|
function U$(e) {
|
|
3885
|
-
return
|
|
3885
|
+
return Pe({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z" }, child: [] }] })(e);
|
|
3886
3886
|
}
|
|
3887
3887
|
function z$(e) {
|
|
3888
|
-
return
|
|
3888
|
+
return Pe({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M6 6v2h8.59L5 17.59 6.41 19 16 9.41V18h2V6z" }, child: [] }] })(e);
|
|
3889
3889
|
}
|
|
3890
3890
|
function Og(e) {
|
|
3891
|
-
return
|
|
3891
|
+
return Pe({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M20 8h-2.81a5.985 5.985 0 0 0-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5s-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-4 4v3c0 .22-.03.47-.07.7l-.1.65-.37.65c-.72 1.24-2.04 2-3.46 2s-2.74-.77-3.46-2l-.37-.64-.1-.65A4.27 4.27 0 0 1 8 15v-4c0-.23.03-.48.07-.7l.1-.65.37-.65c.3-.52.72-.97 1.21-1.31l.57-.39.74-.18a3.787 3.787 0 0 1 1.89 0l.68.16.61.42c.5.34.91.78 1.21 1.31l.38.65.1.65c.04.22.07.47.07.69v1zm-6 2h4v2h-4zm0-4h4v2h-4z" }, child: [] }] })(e);
|
|
3892
3892
|
}
|
|
3893
3893
|
function B$(e) {
|
|
3894
|
-
return
|
|
3894
|
+
return Pe({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M16 9v10H8V9h8m-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z" }, child: [] }] })(e);
|
|
3895
3895
|
}
|
|
3896
3896
|
function q$(e) {
|
|
3897
|
-
return
|
|
3897
|
+
return Pe({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M4 20h16v2H4zM4 2h16v2H4zM9.41 13.59 8 15l4 4 4-4-1.41-1.41L13 15.17V8.83l1.59 1.58L16 9l-4-4-4 4 1.41 1.41L11 8.83v6.34z" }, child: [] }] })(e);
|
|
3898
3898
|
}
|
|
3899
3899
|
function Eg(e) {
|
|
3900
|
-
return
|
|
3900
|
+
return Pe({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M11.07 12.85c.77-1.39 2.25-2.21 3.11-3.44.91-1.29.4-3.7-2.18-3.7-1.69 0-2.52 1.28-2.87 2.34L6.54 6.96C7.25 4.83 9.18 3 11.99 3c2.35 0 3.96 1.07 4.78 2.41.7 1.15 1.11 3.3.03 4.9-1.2 1.77-2.35 2.31-2.97 3.45-.25.46-.35.76-.35 2.24h-2.89c-.01-.78-.13-2.05.48-3.15zM14 20c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2z" }, child: [] }] })(e);
|
|
3901
3901
|
}
|
|
3902
3902
|
function Tg(e) {
|
|
3903
|
-
return
|
|
3903
|
+
return Pe({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16c1.1 0 2-.9 2-2V6a2 2 0 0 0-2-2zm0 14H4V8h16v10zm-2-1h-6v-2h6v2zM7.5 17l-1.41-1.41L8.67 13l-2.59-2.59L7.5 9l4 4-4 4z" }, child: [] }] })(e);
|
|
3904
3904
|
}
|
|
3905
3905
|
function Sg(e) {
|
|
3906
|
-
return
|
|
3906
|
+
return Pe({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z" }, child: [] }] })(e);
|
|
3907
3907
|
}
|
|
3908
3908
|
function H$(e) {
|
|
3909
|
-
return
|
|
3909
|
+
return Pe({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z" }, child: [] }] })(e);
|
|
3910
3910
|
}
|
|
3911
3911
|
function W$(e) {
|
|
3912
|
-
return
|
|
3912
|
+
return Pe({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z" }, child: [] }] })(e);
|
|
3913
3913
|
}
|
|
3914
3914
|
function V$(e) {
|
|
3915
|
-
return
|
|
3915
|
+
return Pe({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zM7 9l1.41 1.41L11 7.83V16h2V7.83l2.59 2.58L17 9l-5-5-5 5z" }, child: [] }] })(e);
|
|
3916
3916
|
}
|
|
3917
3917
|
function Y$(e) {
|
|
3918
|
-
return
|
|
3918
|
+
return Pe({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z" }, child: [] }] })(e);
|
|
3919
3919
|
}
|
|
3920
3920
|
function G$(e) {
|
|
3921
|
-
return
|
|
3921
|
+
return Pe({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z" }, child: [] }] })(e);
|
|
3922
3922
|
}
|
|
3923
3923
|
function K$(e) {
|
|
3924
|
-
return
|
|
3924
|
+
return Pe({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M20 4h-3.17L15 2H9L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V6h4.05l1.83-2h4.24l1.83 2H20v12zM12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0 8c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3z" }, child: [] }] })(e);
|
|
3925
|
+
}
|
|
3926
|
+
function X$(e) {
|
|
3927
|
+
return Pe({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "m14.06 9.02.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83a.996.996 0 0 0 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z" }, child: [] }] })(e);
|
|
3925
3928
|
}
|
|
3926
3929
|
function Ag(e) {
|
|
3927
|
-
return
|
|
3930
|
+
return Pe({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z" }, child: [] }] })(e);
|
|
3928
3931
|
}
|
|
3929
|
-
function
|
|
3930
|
-
return
|
|
3932
|
+
function J$(e) {
|
|
3933
|
+
return Pe({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z" }, child: [] }] })(e);
|
|
3931
3934
|
}
|
|
3932
3935
|
function Rg(e) {
|
|
3933
|
-
return
|
|
3936
|
+
return Pe({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z" }, child: [] }] })(e);
|
|
3934
3937
|
}
|
|
3935
3938
|
function Cg(e) {
|
|
3936
|
-
return
|
|
3939
|
+
return Pe({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" }, child: [] }] })(e);
|
|
3937
3940
|
}
|
|
3938
|
-
function
|
|
3939
|
-
return
|
|
3941
|
+
function Q$(e) {
|
|
3942
|
+
return Pe({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "g", attr: { fill: "none" }, child: [{ tag: "path", attr: { d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M0 0h24v24H0V0z" }, child: [] }] }, { tag: "path", attr: { d: "M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27z" }, child: [] }] })(e);
|
|
3940
3943
|
}
|
|
3941
3944
|
const ph = dt({
|
|
3942
3945
|
cookieDomain: "",
|
|
@@ -3946,7 +3949,7 @@ const ph = dt({
|
|
|
3946
3949
|
texts: {},
|
|
3947
3950
|
ProjectIconComponent: {},
|
|
3948
3951
|
chartColorPalette: void 0
|
|
3949
|
-
}),
|
|
3952
|
+
}), Z$ = dt({
|
|
3950
3953
|
show: !1,
|
|
3951
3954
|
text: "",
|
|
3952
3955
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -3954,7 +3957,7 @@ const ph = dt({
|
|
|
3954
3957
|
},
|
|
3955
3958
|
hideConfirm: () => {
|
|
3956
3959
|
}
|
|
3957
|
-
}),
|
|
3960
|
+
}), eP = dt({
|
|
3958
3961
|
isShown: !1,
|
|
3959
3962
|
text: "",
|
|
3960
3963
|
hidePrompt: () => {
|
|
@@ -4335,14 +4338,14 @@ var mv = ({ id: e, className: t, style: n, onHeightUpdate: r, children: i }) =>
|
|
|
4335
4338
|
> * {
|
|
4336
4339
|
pointer-events: auto;
|
|
4337
4340
|
}
|
|
4338
|
-
`, qi = 16,
|
|
4341
|
+
`, qi = 16, tP = ({ reverseOrder: e, position: t = "top-center", toastOptions: n, gutter: r, children: i, containerStyle: a, containerClassName: o }) => {
|
|
4339
4342
|
let { toasts: s, handlers: c } = Yg(n);
|
|
4340
4343
|
return fe.createElement("div", { style: { position: "fixed", zIndex: 9999, top: qi, left: qi, right: qi, bottom: qi, pointerEvents: "none", ...a }, className: o, onMouseEnter: c.startPause, onMouseLeave: c.endPause }, s.map((u) => {
|
|
4341
4344
|
let f = u.position || t, l = c.calculateOffset(u, { reverseOrder: e, gutter: r, defaultPosition: t }), d = gv(f, l);
|
|
4342
4345
|
return fe.createElement(mv, { id: u.id, key: u.id, onHeightUpdate: c.updateHeight, className: u.visible ? vv : "", style: d }, u.type === "custom" ? ba(u.message, u) : i ? i(u) : fe.createElement(bv, { toast: u, position: f }));
|
|
4343
4346
|
}));
|
|
4344
4347
|
}, Hn = rt;
|
|
4345
|
-
const
|
|
4348
|
+
const nP = dt({
|
|
4346
4349
|
isLoading: !1,
|
|
4347
4350
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
4348
4351
|
startLoading: (e) => {
|
|
@@ -4355,7 +4358,7 @@ var Ys;
|
|
|
4355
4358
|
(function(e) {
|
|
4356
4359
|
e[e.LOGGING_IN = 0] = "LOGGING_IN", e[e.LOGGED_IN = 1] = "LOGGED_IN", e[e.LOGGED_OUT = 2] = "LOGGED_OUT", e[e.LOGIN_FAILED = 3] = "LOGIN_FAILED";
|
|
4357
4360
|
})(Ys || (Ys = {}));
|
|
4358
|
-
const yv = Ys,
|
|
4361
|
+
const yv = Ys, rP = dt({
|
|
4359
4362
|
user: null,
|
|
4360
4363
|
userLoginState: { state: yv.LOGGED_OUT, user: null },
|
|
4361
4364
|
loginUser: () => Promise.resolve(!0),
|
|
@@ -6044,7 +6047,7 @@ const tc = (e) => e == null ? !0 : !(typeof e == "object" || typeof e == "functi
|
|
|
6044
6047
|
const r = Object.keys(n);
|
|
6045
6048
|
r.includes("id") && r.length === 1 && n.id === null ? e[t] = null : Yy(n);
|
|
6046
6049
|
});
|
|
6047
|
-
}, Gy = (e) => Object.values(e).every((t) => t === null),
|
|
6050
|
+
}, Gy = (e) => Object.values(e).every((t) => t === null), iP = (e) => {
|
|
6048
6051
|
const t = {};
|
|
6049
6052
|
return Object.entries(e).forEach(([n, r]) => {
|
|
6050
6053
|
r && typeof r == "object" && Gy(r) ? t[n] = null : t[n] = r;
|
|
@@ -6056,7 +6059,7 @@ const tc = (e) => e == null ? !0 : !(typeof e == "object" || typeof e == "functi
|
|
|
6056
6059
|
name: r.name.split(".").map((a) => `${a.charAt(0).toLowerCase()}${a.slice(1)}`).join("."),
|
|
6057
6060
|
errors: r.errors
|
|
6058
6061
|
})) : [];
|
|
6059
|
-
},
|
|
6062
|
+
}, aP = (e, t) => {
|
|
6060
6063
|
Bh(t).forEach((r) => {
|
|
6061
6064
|
e.setError(r.name, { message: r.errors, type: "server" }, { shouldFocus: !0 }), tc(e.getValues(r.name)) || e.setError(`${r.name}.id`, { message: r.errors, type: "server" }, { shouldFocus: !0 });
|
|
6062
6065
|
});
|
|
@@ -6064,11 +6067,11 @@ const tc = (e) => e == null ? !0 : !(typeof e == "object" || typeof e == "functi
|
|
|
6064
6067
|
var n;
|
|
6065
6068
|
const t = (n = e.response) == null ? void 0 : n.data;
|
|
6066
6069
|
return t != null && t.permissions && t.permissions.length > 0 ? t.permissions : null;
|
|
6067
|
-
}, Xy = (e) => e.length < 300 ? e : e.substring(0, 300) + "...",
|
|
6070
|
+
}, Xy = (e) => e.length < 300 ? e : e.substring(0, 300) + "...", oP = (e) => e < 1024 ? `${e} bytes` : e >= 1024 && e < 1048576 ? `${(e / 1024).toFixed(1)} KB` : `${(e / 1048576).toFixed(1)} MB`;
|
|
6068
6071
|
function Jy(e = " ", ...t) {
|
|
6069
6072
|
return t.filter((n) => n != null && n.length > 0).join(e);
|
|
6070
6073
|
}
|
|
6071
|
-
const
|
|
6074
|
+
const sP = (e, t) => e.map((n) => `&${t}=${n}`).join("").substring(1), cP = (e, t) => e === null ? null : e.length <= t ? e : e.slice(0, t) + "…";
|
|
6072
6075
|
function qh(e, t = qh.characters) {
|
|
6073
6076
|
return e.replace(/[^A-Za-z0-9]/g, function(n) {
|
|
6074
6077
|
return t[n] || n;
|
|
@@ -7506,7 +7509,7 @@ const g2 = () => {
|
|
|
7506
7509
|
break;
|
|
7507
7510
|
}
|
|
7508
7511
|
}
|
|
7509
|
-
}, []) }),
|
|
7512
|
+
}, []) }), uP = $e.CancelToken, fP = (e) => {
|
|
7510
7513
|
const { authenticated: t = !0, differentBaseUrl: n, silent: r = !1, customToken: i, ignoreDelegation: a } = { ...e }, { language: o, axiosOptions: s, texts: { axios: c } } = ze(ph), { delegation: u } = ze(O2), f = pe(() => (u == null ? void 0 : u.id) ?? null, [u == null ? void 0 : u.id]), { addNotification: l } = w2(), { getToken: d } = y2(), b = pe(() => $e.create(s), [s]), p = ie(async (h) => {
|
|
7511
7514
|
var _, y, v;
|
|
7512
7515
|
if (t && !h.headers.Authorization) {
|
|
@@ -7598,10 +7601,17 @@ const g2 = () => {
|
|
|
7598
7601
|
default:
|
|
7599
7602
|
return /* @__PURE__ */ S.jsx(S.Fragment, { children: n });
|
|
7600
7603
|
}
|
|
7601
|
-
}, k2 = ({ variant: e, className: t, children: n }) => /* @__PURE__ */ S.jsx(M2, { variant: e, className: t, children: n }), j2 = "
|
|
7604
|
+
}, k2 = ({ variant: e, className: t, children: n }) => /* @__PURE__ */ S.jsx(M2, { variant: e, className: t, children: n }), j2 = "_button_qhwih_1", L2 = {
|
|
7605
|
+
button: j2
|
|
7606
|
+
}, lP = Fe.forwardRef(({ color: e = "primary", icon: t = /* @__PURE__ */ S.jsx(Cg, { size: 21 }), text: n, onClick: r, className: i, children: a, ...o }, s) => /* @__PURE__ */ S.jsxs("button", { type: "button", ref: s, onClick: (c) => {
|
|
7607
|
+
c.preventDefault(), r(c);
|
|
7608
|
+
}, "aria-label": "dropdown toggle", className: Te(`btn luminus-context-button text-${e} ${i ?? ""}`, L2.button), ...o, children: [
|
|
7609
|
+
t,
|
|
7610
|
+
n
|
|
7611
|
+
] })), I2 = "_avatar-icon_1axl6_1", D2 = {
|
|
7602
7612
|
"avatar-icon": "_avatar-icon_1axl6_1",
|
|
7603
|
-
avatarIcon:
|
|
7604
|
-
},
|
|
7613
|
+
avatarIcon: I2
|
|
7614
|
+
}, N2 = ({ name: e, fontSize: t, size: n }) => {
|
|
7605
7615
|
const r = (i) => {
|
|
7606
7616
|
let a = 0, o;
|
|
7607
7617
|
for (o = 0; o < i.length; o += 1)
|
|
@@ -7613,7 +7623,7 @@ const g2 = () => {
|
|
|
7613
7623
|
}
|
|
7614
7624
|
return s;
|
|
7615
7625
|
};
|
|
7616
|
-
return /* @__PURE__ */ S.jsx(bg, { placement: "bottom", overlay: /* @__PURE__ */ S.jsx(fh, { children: e }), children: /* @__PURE__ */ S.jsx("div", { className: Te("luminus-avatar-icon",
|
|
7626
|
+
return /* @__PURE__ */ S.jsx(bg, { placement: "bottom", overlay: /* @__PURE__ */ S.jsx(fh, { children: e }), children: /* @__PURE__ */ S.jsx("div", { className: Te("luminus-avatar-icon", D2.avatarIcon), style: {
|
|
7617
7627
|
backgroundColor: r(e),
|
|
7618
7628
|
fontSize: t ?? void 0,
|
|
7619
7629
|
minHeight: n ?? void 0,
|
|
@@ -7623,55 +7633,48 @@ const g2 = () => {
|
|
|
7623
7633
|
width: n ?? void 0,
|
|
7624
7634
|
maxWidth: n ?? void 0
|
|
7625
7635
|
}, children: /* @__PURE__ */ S.jsx("div", { children: `${e.split(" ")[0][0]}${e.split(" ")[1][0]}` }) }) });
|
|
7626
|
-
},
|
|
7636
|
+
}, dP = Fe.forwardRef(({ userName: e, onClick: t, children: n }, r) => /* @__PURE__ */ S.jsxs("button", { type: "button", ref: r, onClick: (i) => {
|
|
7637
|
+
i.preventDefault(), t(i);
|
|
7638
|
+
}, "aria-label": "User avatar toggle", className: "m-0 p-0", style: {
|
|
7639
|
+
backgroundColor: "transparent",
|
|
7640
|
+
border: "none",
|
|
7641
|
+
cursor: "pointer"
|
|
7642
|
+
}, children: [
|
|
7643
|
+
/* @__PURE__ */ S.jsx(N2, { name: e }),
|
|
7644
|
+
n
|
|
7645
|
+
] })), F2 = "_floating-label_12qn5_1", U2 = "_without-label_12qn5_21", z2 = "_floating-label-check_12qn5_157", hs = {
|
|
7627
7646
|
"floating-label": "_floating-label_12qn5_1",
|
|
7628
|
-
floatingLabel:
|
|
7647
|
+
floatingLabel: F2,
|
|
7629
7648
|
"without-label": "_without-label_12qn5_21",
|
|
7630
|
-
withoutLabel:
|
|
7649
|
+
withoutLabel: U2,
|
|
7631
7650
|
"floating-label-check": "_floating-label-check_12qn5_157",
|
|
7632
|
-
floatingLabelCheck:
|
|
7633
|
-
},
|
|
7651
|
+
floatingLabelCheck: z2
|
|
7652
|
+
}, B2 = Na(({ hidden: e, children: t, className: n, isInvalid: r, isForRadioInput: i, inputContainerClassName: a, isForCheckInput: o, ...s }, c) => o ? /* @__PURE__ */ S.jsx("div", { className: Te("luminus-floating-label-check", hs.floatingLabelCheck), children: t }) : /* @__PURE__ */ S.jsx(ih, { ref: c, label: s.withoutLabel ? "" : s.label, hidden: e ?? !1, className: Te(`luminus-floating-label ${n ?? ""}`, hs.floatingLabel, {
|
|
7634
7653
|
[a ?? ""]: a
|
|
7635
7654
|
}, { [hs.withoutLabel]: s.withoutLabel }), children: t }));
|
|
7636
|
-
|
|
7637
|
-
const
|
|
7655
|
+
B2.displayName = "FloatingLabelInput";
|
|
7656
|
+
const q2 = "_row-label-input_13ci8_1", H2 = "_label_13ci8_4", W2 = "_input-container_13ci8_9", V2 = "_invalid-feedback_13ci8_101", Y2 = "_keep-check-label_13ci8_129", G2 = "_is-invalid_13ci8_157", jr = {
|
|
7638
7657
|
"row-label-input": "_row-label-input_13ci8_1",
|
|
7639
|
-
rowLabelInput:
|
|
7640
|
-
label:
|
|
7658
|
+
rowLabelInput: q2,
|
|
7659
|
+
label: H2,
|
|
7641
7660
|
"input-container": "_input-container_13ci8_9",
|
|
7642
|
-
inputContainer:
|
|
7661
|
+
inputContainer: W2,
|
|
7643
7662
|
"invalid-feedback": "_invalid-feedback_13ci8_101",
|
|
7644
|
-
invalidFeedback:
|
|
7663
|
+
invalidFeedback: V2,
|
|
7645
7664
|
"keep-check-label": "_keep-check-label_13ci8_129",
|
|
7646
|
-
keepCheckLabel:
|
|
7665
|
+
keepCheckLabel: Y2,
|
|
7647
7666
|
"is-invalid": "_is-invalid_13ci8_157",
|
|
7648
|
-
isInvalid:
|
|
7649
|
-
},
|
|
7667
|
+
isInvalid: G2
|
|
7668
|
+
}, K2 = Na(({ hidden: e, children: t, className: n, isInvalid: r, isForRadioInput: i, isForTextAreaInput: a, inputContainerClassName: o, ...s }, c) => /* @__PURE__ */ S.jsxs("div", { ref: c, className: Te("luminus-row-label row gx-0 gy-0", { "is-invalid": r }, { [jr.isInvalid]: r }, { [n ?? ""]: n }, { "d-none": e }, jr.rowLabelInput), children: [
|
|
7650
7669
|
!s.withoutLabel && /* @__PURE__ */ S.jsx("label", { className: Te("label col-6", { "col-12": a }, jr.label), children: /* @__PURE__ */ S.jsx(k2, { variant: "form-label", className: r ? "text-danger" : "", children: s.label }) }),
|
|
7651
7670
|
/* @__PURE__ */ S.jsx("div", { className: Te("input-container", jr.inputContainer, { "col-6": !s.withoutLabel && !a }, { "col-12": s.withoutLabel || a }, { [jr.keepCheckLabel]: i }, {
|
|
7652
7671
|
[o ?? ""]: o
|
|
7653
7672
|
}), children: t })
|
|
7654
7673
|
] }));
|
|
7655
|
-
|
|
7656
|
-
const
|
|
7657
|
-
|
|
7658
|
-
const
|
|
7659
|
-
button: K2
|
|
7660
|
-
}, fP = Fe.forwardRef(({ color: e = "primary", icon: t = /* @__PURE__ */ S.jsx(Cg, { size: 21 }), text: n, onClick: r, className: i, children: a, ...o }, s) => /* @__PURE__ */ S.jsxs("button", { type: "button", ref: s, onClick: (c) => {
|
|
7661
|
-
c.preventDefault(), r(c);
|
|
7662
|
-
}, "aria-label": "dropdown toggle", className: Te(`btn luminus-context-button text-${e} ${i ?? ""}`, X2.button), ...o, children: [
|
|
7663
|
-
t,
|
|
7664
|
-
n
|
|
7665
|
-
] })), lP = Fe.forwardRef(({ userName: e, onClick: t, children: n }, r) => /* @__PURE__ */ S.jsxs("button", { type: "button", ref: r, onClick: (i) => {
|
|
7666
|
-
i.preventDefault(), t(i);
|
|
7667
|
-
}, "aria-label": "User avatar toggle", className: "m-0 p-0", style: {
|
|
7668
|
-
backgroundColor: "transparent",
|
|
7669
|
-
border: "none",
|
|
7670
|
-
cursor: "pointer"
|
|
7671
|
-
}, children: [
|
|
7672
|
-
/* @__PURE__ */ S.jsx(I2, { name: e }),
|
|
7673
|
-
n
|
|
7674
|
-
] })), dP = Fe.forwardRef(({ onClick: e, text: t }, n) => /* @__PURE__ */ S.jsx("div", { ref: n, onClick: (r) => {
|
|
7674
|
+
K2.displayName = "RowLabelInput";
|
|
7675
|
+
const X2 = Na(({ children: e, className: t, hidden: n }, r) => /* @__PURE__ */ S.jsx("div", { ref: r, className: `${n ? "d-none" : ""} ${t}`, children: e }));
|
|
7676
|
+
X2.displayName = "NoInputContainer";
|
|
7677
|
+
const hP = Fe.forwardRef(({ onClick: e, text: t }, n) => /* @__PURE__ */ S.jsx("div", { ref: n, onClick: (r) => {
|
|
7675
7678
|
r.preventDefault(), e(r);
|
|
7676
7679
|
}, role: "button", className: "middle-div", children: /* @__PURE__ */ S.jsxs("div", { className: "d-flex flex-column align-items-center", children: [
|
|
7677
7680
|
/* @__PURE__ */ S.jsx("div", { className: "mt-", children: "…" }),
|
|
@@ -14592,23 +14595,23 @@ var kd, f$ = function(e) {
|
|
|
14592
14595
|
}, [o, h, l, f]);
|
|
14593
14596
|
return S.jsx(XC, { center: t, data: n, arcGenerator: r, borderWidth: i, borderColor: a, transitionMode: b, onClick: _, onMouseEnter: y, onMouseMove: v, onMouseLeave: O });
|
|
14594
14597
|
}, v$ = ["isInteractive", "animate", "motionConfig", "theme", "renderWrapper"], y$ = function(e) {
|
|
14595
|
-
var t = e.data, n = e.id, r = n === void 0 ? ae.id : n, i = e.value, a = i === void 0 ? ae.value : i, o = e.valueFormat, s = e.sortByValue, c = s === void 0 ? ae.sortByValue : s, u = e.layers, f = u === void 0 ? ae.layers : u, l = e.startAngle, d = l === void 0 ? ae.startAngle : l, b = e.endAngle, p = b === void 0 ? ae.endAngle : b, g = e.padAngle, h = g === void 0 ? ae.padAngle : g, _ = e.fit, y = _ === void 0 ? ae.fit : _, v = e.innerRadius, O = v === void 0 ? ae.innerRadius : v, m = e.cornerRadius, T = m === void 0 ? ae.cornerRadius : m, M = e.activeInnerRadiusOffset, N = M === void 0 ? ae.activeInnerRadiusOffset : M, z = e.activeOuterRadiusOffset, k = z === void 0 ? ae.activeOuterRadiusOffset : z, j = e.width, Q = e.height, $ = e.margin, A = e.colors, L = A === void 0 ? ae.colors : A, B = e.borderWidth, H = B === void 0 ? ae.borderWidth : B, te = e.borderColor, W = te === void 0 ? ae.borderColor : te, R = e.enableArcLabels, F = R === void 0 ? ae.enableArcLabels : R, G = e.arcLabel, ee = G === void 0 ? ae.arcLabel : G, K = e.arcLabelsSkipAngle, V = K === void 0 ? ae.arcLabelsSkipAngle : K, q = e.arcLabelsTextColor, Y = q === void 0 ? ae.arcLabelsTextColor : q, X = e.arcLabelsRadiusOffset, P = X === void 0 ? ae.arcLabelsRadiusOffset : X, U = e.arcLabelsComponent, Z = e.enableArcLinkLabels, x = Z === void 0 ? ae.enableArcLinkLabels : Z, he = e.arcLinkLabel, se = he === void 0 ? ae.arcLinkLabel : he, ye = e.arcLinkLabelsSkipAngle, Ae = ye === void 0 ? ae.arcLinkLabelsSkipAngle : ye, Ue = e.arcLinkLabelsOffset, ht = Ue === void 0 ? ae.arcLinkLabelsOffset : Ue, pt = e.arcLinkLabelsDiagonalLength, Ne = pt === void 0 ? ae.arcLinkLabelsDiagonalLength : pt, nt = e.arcLinkLabelsStraightLength, He = nt === void 0 ? ae.arcLinkLabelsStraightLength : nt, bt = e.arcLinkLabelsThickness, un = bt === void 0 ? ae.arcLinkLabelsThickness : bt, qt = e.arcLinkLabelsTextOffset, fn = qt === void 0 ? ae.arcLinkLabelsTextOffset : qt, mt = e.arcLinkLabelsTextColor, Un = mt === void 0 ? ae.arcLinkLabelsTextColor : mt, xr = e.arcLinkLabelsColor, Ci = xr === void 0 ? ae.arcLinkLabelsColor : xr, wr = e.arcLinkLabelComponent, $i = e.defs, Ho = $i === void 0 ? ae.defs : $i, Pi = e.fill, Wo = Pi === void 0 ? ae.fill : Pi, Mi = e.isInteractive, Vo = Mi === void 0 ? ae.isInteractive : Mi, Yo = e.onClick, Or = e.onMouseEnter, ki = e.onMouseMove, Ht = e.onMouseLeave, zn = e.tooltip, Er = zn === void 0 ? ae.tooltip : zn, ji = e.activeId, Go = e.onActiveIdChange, Li = e.defaultActiveId, Ii = e.transitionMode, Tr = Ii === void 0 ? ae.transitionMode : Ii, Sr = e.legends, Di = Sr === void 0 ? ae.legends : Sr, Ko = e.forwardLegendData, Ar = e.role, Ni = Ar === void 0 ? ae.role : Ar, ln = tC(j, Q, $), Xo = ln.outerWidth, Jo = ln.outerHeight, Qo = ln.margin, w = ln.innerWidth, I = ln.innerHeight, J = d$({ data: t, id: r, value: a, valueFormat: o, colors: L }), ne = b$({ data: J, width: w, height: I, fit: y, innerRadius: O, startAngle: d, endAngle: p, padAngle: h, sortByValue: c, cornerRadius: T, activeInnerRadiusOffset: N, activeOuterRadiusOffset: k, activeId: ji, onActiveIdChange: Go, defaultActiveId: Li, forwardLegendData: Ko }), me = ne.dataWithArc, Ee = ne.legendData, be = ne.arcGenerator, le = ne.centerX, De = ne.centerY,
|
|
14598
|
+
var t = e.data, n = e.id, r = n === void 0 ? ae.id : n, i = e.value, a = i === void 0 ? ae.value : i, o = e.valueFormat, s = e.sortByValue, c = s === void 0 ? ae.sortByValue : s, u = e.layers, f = u === void 0 ? ae.layers : u, l = e.startAngle, d = l === void 0 ? ae.startAngle : l, b = e.endAngle, p = b === void 0 ? ae.endAngle : b, g = e.padAngle, h = g === void 0 ? ae.padAngle : g, _ = e.fit, y = _ === void 0 ? ae.fit : _, v = e.innerRadius, O = v === void 0 ? ae.innerRadius : v, m = e.cornerRadius, T = m === void 0 ? ae.cornerRadius : m, M = e.activeInnerRadiusOffset, N = M === void 0 ? ae.activeInnerRadiusOffset : M, z = e.activeOuterRadiusOffset, k = z === void 0 ? ae.activeOuterRadiusOffset : z, j = e.width, Q = e.height, $ = e.margin, A = e.colors, L = A === void 0 ? ae.colors : A, B = e.borderWidth, H = B === void 0 ? ae.borderWidth : B, te = e.borderColor, W = te === void 0 ? ae.borderColor : te, R = e.enableArcLabels, F = R === void 0 ? ae.enableArcLabels : R, G = e.arcLabel, ee = G === void 0 ? ae.arcLabel : G, K = e.arcLabelsSkipAngle, V = K === void 0 ? ae.arcLabelsSkipAngle : K, q = e.arcLabelsTextColor, Y = q === void 0 ? ae.arcLabelsTextColor : q, X = e.arcLabelsRadiusOffset, P = X === void 0 ? ae.arcLabelsRadiusOffset : X, U = e.arcLabelsComponent, Z = e.enableArcLinkLabels, x = Z === void 0 ? ae.enableArcLinkLabels : Z, he = e.arcLinkLabel, se = he === void 0 ? ae.arcLinkLabel : he, ye = e.arcLinkLabelsSkipAngle, Ae = ye === void 0 ? ae.arcLinkLabelsSkipAngle : ye, Ue = e.arcLinkLabelsOffset, ht = Ue === void 0 ? ae.arcLinkLabelsOffset : Ue, pt = e.arcLinkLabelsDiagonalLength, Ne = pt === void 0 ? ae.arcLinkLabelsDiagonalLength : pt, nt = e.arcLinkLabelsStraightLength, He = nt === void 0 ? ae.arcLinkLabelsStraightLength : nt, bt = e.arcLinkLabelsThickness, un = bt === void 0 ? ae.arcLinkLabelsThickness : bt, qt = e.arcLinkLabelsTextOffset, fn = qt === void 0 ? ae.arcLinkLabelsTextOffset : qt, mt = e.arcLinkLabelsTextColor, Un = mt === void 0 ? ae.arcLinkLabelsTextColor : mt, xr = e.arcLinkLabelsColor, Ci = xr === void 0 ? ae.arcLinkLabelsColor : xr, wr = e.arcLinkLabelComponent, $i = e.defs, Ho = $i === void 0 ? ae.defs : $i, Pi = e.fill, Wo = Pi === void 0 ? ae.fill : Pi, Mi = e.isInteractive, Vo = Mi === void 0 ? ae.isInteractive : Mi, Yo = e.onClick, Or = e.onMouseEnter, ki = e.onMouseMove, Ht = e.onMouseLeave, zn = e.tooltip, Er = zn === void 0 ? ae.tooltip : zn, ji = e.activeId, Go = e.onActiveIdChange, Li = e.defaultActiveId, Ii = e.transitionMode, Tr = Ii === void 0 ? ae.transitionMode : Ii, Sr = e.legends, Di = Sr === void 0 ? ae.legends : Sr, Ko = e.forwardLegendData, Ar = e.role, Ni = Ar === void 0 ? ae.role : Ar, ln = tC(j, Q, $), Xo = ln.outerWidth, Jo = ln.outerHeight, Qo = ln.margin, w = ln.innerWidth, I = ln.innerHeight, J = d$({ data: t, id: r, value: a, valueFormat: o, colors: L }), ne = b$({ data: J, width: w, height: I, fit: y, innerRadius: O, startAngle: d, endAngle: p, padAngle: h, sortByValue: c, cornerRadius: T, activeInnerRadiusOffset: N, activeOuterRadiusOffset: k, activeId: ji, onActiveIdChange: Go, defaultActiveId: Li, forwardLegendData: Ko }), me = ne.dataWithArc, Ee = ne.legendData, be = ne.arcGenerator, le = ne.centerX, De = ne.centerY, Me = ne.radius, ke = ne.innerRadius, Ke = ne.setActiveId, Wt = ne.toggleSerie, kt = gC(Ho, me, Wo), Le = { arcs: null, arcLinkLabels: null, arcLabels: null, legends: null };
|
|
14596
14599
|
f.includes("arcs") && (Le.arcs = S.jsx(g$, { center: [le, De], data: me, arcGenerator: be, borderWidth: H, borderColor: W, isInteractive: Vo, onClick: Yo, onMouseEnter: Or, onMouseMove: ki, onMouseLeave: Ht, setActiveId: Ke, tooltip: Er, transitionMode: Tr }, "arcs")), x && f.includes("arcLinkLabels") && (Le.arcLinkLabels = S.jsx(VC, { center: [le, De], data: me, label: se, skipAngle: Ae, offset: ht, diagonalLength: Ne, straightLength: He, strokeWidth: un, textOffset: fn, textColor: Un, linkColor: Ci, component: wr }, "arcLinkLabels")), F && f.includes("arcLabels") && (Le.arcLabels = S.jsx(NC, { center: [le, De], data: me, label: ee, radiusOffset: P, skipAngle: V, textColor: Y, transitionMode: Tr, component: U }, "arcLabels")), Di.length > 0 && f.includes("legends") && (Le.legends = S.jsx(f$, { width: w, height: I, data: Ee, legends: Di, toggleSerie: Wt }, "legends"));
|
|
14597
|
-
var Rr = m$({ dataWithArc: me, arcGenerator: be, centerX: le, centerY: De, radius:
|
|
14600
|
+
var Rr = m$({ dataWithArc: me, arcGenerator: be, centerX: le, centerY: De, radius: Me, innerRadius: ke });
|
|
14598
14601
|
return S.jsx(h1, { width: Xo, height: Jo, margin: Qo, defs: kt, role: Ni, children: f.map(function(Bn, Zo) {
|
|
14599
14602
|
return Le[Bn] !== void 0 ? Le[Bn] : typeof Bn == "function" ? S.jsx(S1, { children: en(Bn, Rr) }, Zo) : null;
|
|
14600
14603
|
}) });
|
|
14601
14604
|
}, _$ = function(e) {
|
|
14602
14605
|
var t = e.isInteractive, n = t === void 0 ? ae.isInteractive : t, r = e.animate, i = r === void 0 ? ae.animate : r, a = e.motionConfig, o = a === void 0 ? ae.motionConfig : a, s = e.theme, c = e.renderWrapper, u = T1(e, v$);
|
|
14603
14606
|
return S.jsx(s1, { animate: i, isInteractive: n, motionConfig: o, renderWrapper: c, theme: s, children: S.jsx(y$, rn({ isInteractive: n }, u)) });
|
|
14604
|
-
},
|
|
14607
|
+
}, pP = function(e) {
|
|
14605
14608
|
return S.jsx(c1, { children: function(t) {
|
|
14606
14609
|
var n = t.width, r = t.height;
|
|
14607
14610
|
return S.jsx(_$, rn({ width: n, height: r }, e));
|
|
14608
14611
|
} });
|
|
14609
14612
|
};
|
|
14610
14613
|
export {
|
|
14611
|
-
|
|
14614
|
+
B$ as $,
|
|
14612
14615
|
tf as A,
|
|
14613
14616
|
Nm as B,
|
|
14614
14617
|
Ym as C,
|
|
@@ -14632,70 +14635,71 @@ export {
|
|
|
14632
14635
|
ph as U,
|
|
14633
14636
|
U$ as V,
|
|
14634
14637
|
Rg as W,
|
|
14635
|
-
|
|
14636
|
-
|
|
14637
|
-
|
|
14638
|
-
|
|
14638
|
+
V$ as X,
|
|
14639
|
+
Y$ as Y,
|
|
14640
|
+
G$ as Z,
|
|
14641
|
+
H$ as _,
|
|
14639
14642
|
I1 as a,
|
|
14640
|
-
|
|
14641
|
-
|
|
14642
|
-
|
|
14643
|
-
|
|
14644
|
-
|
|
14645
|
-
|
|
14646
|
-
|
|
14647
|
-
|
|
14648
|
-
|
|
14649
|
-
|
|
14650
|
-
|
|
14651
|
-
|
|
14652
|
-
|
|
14653
|
-
|
|
14654
|
-
|
|
14655
|
-
|
|
14656
|
-
|
|
14657
|
-
|
|
14658
|
-
|
|
14659
|
-
|
|
14660
|
-
|
|
14661
|
-
|
|
14662
|
-
|
|
14663
|
-
|
|
14664
|
-
|
|
14665
|
-
|
|
14666
|
-
|
|
14667
|
-
|
|
14668
|
-
|
|
14643
|
+
q$ as a0,
|
|
14644
|
+
J$ as a1,
|
|
14645
|
+
W$ as a2,
|
|
14646
|
+
Pe as a3,
|
|
14647
|
+
lP as a4,
|
|
14648
|
+
z$ as a5,
|
|
14649
|
+
fP as a6,
|
|
14650
|
+
K$ as a7,
|
|
14651
|
+
D$ as a8,
|
|
14652
|
+
Q$ as a9,
|
|
14653
|
+
qd as aA,
|
|
14654
|
+
gn as aB,
|
|
14655
|
+
qs as aC,
|
|
14656
|
+
Rb as aD,
|
|
14657
|
+
Jm as aE,
|
|
14658
|
+
sg as aF,
|
|
14659
|
+
gf as aG,
|
|
14660
|
+
pb as aH,
|
|
14661
|
+
vb as aI,
|
|
14662
|
+
oP as aJ,
|
|
14663
|
+
uP as aK,
|
|
14664
|
+
aP as aL,
|
|
14665
|
+
Ky as aM,
|
|
14666
|
+
tc as aN,
|
|
14667
|
+
Yy as aO,
|
|
14668
|
+
Gy as aP,
|
|
14669
|
+
iP as aQ,
|
|
14670
|
+
Xy as aR,
|
|
14671
|
+
Jy as aS,
|
|
14669
14672
|
sP as aT,
|
|
14670
|
-
|
|
14671
|
-
|
|
14672
|
-
|
|
14673
|
-
|
|
14674
|
-
|
|
14675
|
-
|
|
14676
|
-
|
|
14677
|
-
|
|
14678
|
-
|
|
14679
|
-
|
|
14680
|
-
|
|
14681
|
-
|
|
14682
|
-
|
|
14683
|
-
hP as
|
|
14684
|
-
|
|
14673
|
+
cP as aU,
|
|
14674
|
+
qh as aV,
|
|
14675
|
+
fh as aW,
|
|
14676
|
+
R$ as aX,
|
|
14677
|
+
Gh as aa,
|
|
14678
|
+
y2 as ab,
|
|
14679
|
+
rP as ac,
|
|
14680
|
+
yv as ad,
|
|
14681
|
+
N2 as ae,
|
|
14682
|
+
N$ as af,
|
|
14683
|
+
B2 as ag,
|
|
14684
|
+
X$ as ah,
|
|
14685
|
+
X2 as ai,
|
|
14686
|
+
hP as aj,
|
|
14687
|
+
pP as ak,
|
|
14688
|
+
nP as al,
|
|
14685
14689
|
w2 as am,
|
|
14686
14690
|
Bh as an,
|
|
14687
|
-
|
|
14688
|
-
|
|
14689
|
-
|
|
14690
|
-
|
|
14691
|
+
K2 as ao,
|
|
14692
|
+
F$ as ap,
|
|
14693
|
+
I$ as aq,
|
|
14694
|
+
dP as ar,
|
|
14691
14695
|
Z$ as as,
|
|
14692
14696
|
eP as at,
|
|
14693
|
-
|
|
14694
|
-
|
|
14695
|
-
|
|
14696
|
-
|
|
14697
|
-
|
|
14698
|
-
|
|
14697
|
+
tP as au,
|
|
14698
|
+
O2 as av,
|
|
14699
|
+
Yh as aw,
|
|
14700
|
+
Mc as ax,
|
|
14701
|
+
Ua as ay,
|
|
14702
|
+
mf as az,
|
|
14699
14703
|
F1 as b,
|
|
14700
14704
|
Te as c,
|
|
14701
14705
|
C$ as d,
|