@amateescu/portal-ui-components 0.0.30-beta7 → 0.0.30-beta8

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.
Files changed (35) hide show
  1. package/dist/{Box-Cva4Q3V3.js → Box-ZFRI9JCw.js} +1 -1
  2. package/dist/{Button-Doz6-048.js → Button-CNfTnafe.js} +3 -3
  3. package/dist/{ButtonBase-CTqjtEBO.js → ButtonBase-DWpUn0eT.js} +1 -1
  4. package/dist/{CircularProgress-AyUrn4Uo.js → CircularProgress-D6RyizwS.js} +1 -1
  5. package/dist/{EllipsisOutlined-CzFuvGH_.js → EllipsisOutlined-D-3xCg8z.js} +2 -2
  6. package/dist/{PurePanel-CxlAi3G7.js → PurePanel-CTG2Gs1r.js} +2 -2
  7. package/dist/{Skeleton-dypyF9G2.js → Skeleton-AxdUhch9.js} +1 -1
  8. package/dist/{UserInfoDropdown-DPyds49a.js → UserInfoDropdown-DLPEHXMj.js} +3 -3
  9. package/dist/components/ConfirmationModal/ConfirmationModal.js +1 -1
  10. package/dist/components/ConfirmationModal/ConfirmationModal.stories.js +1 -1
  11. package/dist/components/CustomButton/CustomButton.js +1 -1
  12. package/dist/components/CustomButton/CustomButton.stories.js +1 -1
  13. package/dist/components/CustomPagination/CustomPagination.js +5 -5
  14. package/dist/components/ErrorModal/ErrorModal.js +1 -1
  15. package/dist/components/ErrorModal/ErrorModal.stories.js +1 -1
  16. package/dist/components/InfoModal/InfoModal.js +1 -1
  17. package/dist/components/InfoModal/InfoModal.stories.js +1 -1
  18. package/dist/components/KpiCard/KpiCard.js +53 -53
  19. package/dist/components/LoadingAnimation/LoadingAnimation.js +2 -2
  20. package/dist/components/Login/Login.js +1153 -1145
  21. package/dist/components/SideMenu/SideMenu.js +1 -1
  22. package/dist/components/SideMenu/SideMenu.types.d.ts +1 -0
  23. package/dist/components/TotalDataGrid/TotalDataGrid.js +0 -4
  24. package/dist/components/UserInfoDropdown/UserInfoDropdown.js +1 -1
  25. package/dist/components/UserInfoDropdown/UserInfoDropdown.stories.js +1 -1
  26. package/dist/components/index.js +1 -1
  27. package/dist/{context-Bk4VnwMB.js → context-D9BBvKPl.js} +1 -1
  28. package/dist/{createSimplePaletteValueFilter-B5aJotlB.js → createSimplePaletteValueFilter-rq2_biPF.js} +3 -3
  29. package/dist/{createSvgIcon-Oc4iJwR0.js → createSvgIcon-jB7EUYpq.js} +24 -24
  30. package/dist/index-BBBjHj3B.js +411 -0
  31. package/dist/{index-DLbr86ak.js → index-C4jQKFL8.js} +3 -3
  32. package/dist/main.js +1 -1
  33. package/dist/{useSlot-CLAoIJ2B.js → useSlot-CT4096EK.js} +2 -2
  34. package/package.json +7 -7
  35. package/dist/index-xh_JY2OQ.js +0 -19153
@@ -1,4 +1,4 @@
1
- import { j as d, k as T, l as C, n as P, o as b, c as B, a as N, C as g, T as j, p as O, P as n } from "./createSimplePaletteValueFilter-B5aJotlB.js";
1
+ import { j as d, k as T, l as C, n as P, o as b, c as B, a as N, C as g, T as j, p as O, P as n } from "./createSimplePaletteValueFilter-rq2_biPF.js";
2
2
  import * as u from "react";
3
3
  import { jsx as E } from "react/jsx-runtime";
4
4
  import { ThemeContext as S } from "@emotion/react";
@@ -1,8 +1,8 @@
1
1
  import * as s from "react";
2
- import { a as J, g as K, r as Q, u as X, s as b, c as N, b as r, d as Y, h as Z, m as oo, i as f, e as to, P as t } from "./createSimplePaletteValueFilter-B5aJotlB.js";
2
+ import { a as J, g as K, r as Q, u as X, s as b, c as N, b as r, d as Y, h as Z, m as oo, i as f, e as to, P as t } from "./createSimplePaletteValueFilter-rq2_biPF.js";
3
3
  import { jsxs as ao, jsx as c } from "react/jsx-runtime";
4
- import { B as no } from "./ButtonBase-CTqjtEBO.js";
5
- import { C as io } from "./CircularProgress-AyUrn4Uo.js";
4
+ import { B as no } from "./ButtonBase-DWpUn0eT.js";
5
+ import { C as io } from "./CircularProgress-D6RyizwS.js";
6
6
  let O = 0;
7
7
  function ro(o) {
8
8
  const [a, n] = s.useState(o), i = o || a;
@@ -3,7 +3,7 @@ var Le = (t, e, n) => e in t ? Be(t, e, { enumerable: !0, configurable: !0, writ
3
3
  var X = (t, e, n) => Le(t, typeof e != "symbol" ? e + "" : e, n);
4
4
  import * as c from "react";
5
5
  import K, { isValidElement as G, cloneElement as Z, Children as Oe } from "react";
6
- import { f as ke, P as o, c as C, a as fe, u as de, s as ne, g as je, d as $e } from "./createSimplePaletteValueFilter-B5aJotlB.js";
6
+ import { f as ke, P as o, c as C, a as fe, u as de, s as ne, g as je, d as $e } from "./createSimplePaletteValueFilter-rq2_biPF.js";
7
7
  import { jsx as F, jsxs as Fe } from "react/jsx-runtime";
8
8
  import { a as Ue, _ as ze, b as _e, c as Ae } from "./objectWithoutPropertiesLoose-BTau6TOn.js";
9
9
  import { keyframes as oe } from "@emotion/react";
@@ -1,5 +1,5 @@
1
1
  import * as O from "react";
2
- import { g as T, a as R, u as N, s as g, c as j, b as c, d as U, m as P, e as E, P as r, f as I } from "./createSimplePaletteValueFilter-B5aJotlB.js";
2
+ import { g as T, a as R, u as N, s as g, c as j, b as c, d as U, m as P, e as E, P as r, f as I } from "./createSimplePaletteValueFilter-rq2_biPF.js";
3
3
  import { jsx as h } from "react/jsx-runtime";
4
4
  import { css as x, keyframes as w } from "@emotion/react";
5
5
  function z(e) {
@@ -1,8 +1,8 @@
1
- import { a6 as Tr, a7 as Lr, a8 as Ar, a9 as $r, a3 as $n, a4 as zn, n as ur, e as T, ag as Gn, h as zr, x as Vr, M as Zn, K as Lt, H as ba, p as De, c as ke, w as Ht, _ as k, k as Kt, ah as it, q as cr, a2 as fr, ai as pa, aj as Qn, a5 as Wr, l as Rt, ak as Yn, N as Ca, P as Fr, j as st, i as he, al as wa, am as Hr, r as un, s as Dn, o as vr, I as Ma } from "./context-Bk4VnwMB.js";
1
+ import { a6 as Tr, a7 as Lr, a8 as Ar, a9 as $r, a3 as $n, a4 as zn, n as ur, e as T, ag as Gn, h as zr, x as Vr, M as Zn, K as Lt, H as ba, p as De, c as ke, w as Ht, _ as k, k as Kt, ah as it, q as cr, a2 as fr, ai as pa, aj as Qn, a5 as Wr, l as Rt, ak as Yn, N as Ca, P as Fr, j as st, i as he, al as wa, am as Hr, r as un, s as Dn, o as vr, I as Ma } from "./context-D9BBvKPl.js";
2
2
  import * as a from "react";
3
3
  import qe, { useState as Jn, useMemo as Xn, useCallback as Tt, forwardRef as Ra, useRef as xn, useImperativeHandle as Ea } from "react";
4
4
  import { _ as ae } from "./objectWithoutPropertiesLoose-BTau6TOn.js";
5
- import { r as Br } from "./index-xh_JY2OQ.js";
5
+ import { r as Br } from "./index-BBBjHj3B.js";
6
6
  var er = /* @__PURE__ */ a.createContext(null);
7
7
  function Sa(e) {
8
8
  var n = e.children, t = e.onBatchResize, r = a.useRef(0), i = a.useRef([]), o = a.useContext(er), s = a.useCallback(function(l, u, c) {
@@ -1,7 +1,7 @@
1
1
  import * as m from "react";
2
2
  import c, { useContext as _e, useRef as D, forwardRef as me, useState as je, useEffect as te, useMemo as oe, Children as kt } from "react";
3
- import { I as eo, U as We, v as Ge, e as M, Z as pt, $ as le, h as vt, Y as to, a0 as oo, a1 as ro, w as ce, q as bt, c as N, a2 as Ct, a as re, k as Fe, a3 as no, a4 as ao, a5 as io, g as ht, m as ne, E as yt, x as so, l as lo, a6 as co, a7 as uo, a8 as St, a9 as xt, p as Et, aa as Ot, _ as J, i as Te, s as $t, H as mo, K as T, ab as Re, u as ue, ac as go, B as fo, ad as po, T as vo, b as bo, ae as Co, n as ho, o as yo, af as So, C as xo } from "./context-Bk4VnwMB.js";
4
- import { R as It } from "./index-xh_JY2OQ.js";
3
+ import { I as eo, U as We, v as Ge, e as M, Z as pt, $ as le, h as vt, Y as to, a0 as oo, a1 as ro, w as ce, q as bt, c as N, a2 as Ct, a as re, k as Fe, a3 as no, a4 as ao, a5 as io, g as ht, m as ne, E as yt, x as so, l as lo, a6 as co, a7 as uo, a8 as St, a9 as xt, p as Et, aa as Ot, _ as J, i as Te, s as $t, H as mo, K as T, ab as Re, u as ue, ac as go, B as fo, ad as po, T as vo, b as bo, ae as Co, n as ho, o as yo, af as So, C as xo } from "./context-D9BBvKPl.js";
4
+ import { R as It } from "./index-BBBjHj3B.js";
5
5
  import { _ as se } from "./objectWithoutPropertiesLoose-BTau6TOn.js";
6
6
  const Ve = ["blue", "purple", "cyan", "green", "magenta", "pink", "red", "orange", "yellow", "volcano", "geekblue", "lime", "gold"];
7
7
  function Eo(e) {
@@ -1,6 +1,6 @@
1
1
  import { _ as G } from "./objectWithoutPropertiesLoose-BTau6TOn.js";
2
2
  import * as r from "react";
3
- import { I as W, c as p, g as D, m as _, K as X, u as K, a as k, o as M, b as J } from "./context-Bk4VnwMB.js";
3
+ import { I as W, c as p, g as D, m as _, K as X, u as K, a as k, o as M, b as J } from "./context-D9BBvKPl.js";
4
4
  var Q = { icon: { tag: "svg", attrs: { "fill-rule": "evenodd", viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z" } }] }, name: "close", theme: "outlined" }, U = function(t, s) {
5
5
  return /* @__PURE__ */ r.createElement(W, G({}, t, {
6
6
  ref: s,
@@ -3,9 +3,9 @@ import * as l from "react";
3
3
  import $t, { useRef as Be, forwardRef as ke, useImperativeHandle as yt, useContext as tt, useState as ot, useEffect as He, createContext as to } from "react";
4
4
  import { cn as oo } from "./portal-utils/cn.js";
5
5
  import { _ as ze } from "./objectWithoutPropertiesLoose-BTau6TOn.js";
6
- import { I as Ve, K as le, H as no, U as We, ah as ro, g as de, m as ce, y as ve, u as O, a2 as io, a as ie, E as ao, v as be, D as je, c as _, p as lo, N as so, e as se, l as nt, b as Xe, s as Fe, t as Ct, j as co, x as qe, o as he, an as uo, n as mo, a4 as po, A as go, z as fo, F as rt, aa as it, ad as vo, k as wt, ao as bo, B as at } from "./context-Bk4VnwMB.js";
7
- import { R as ho, T as $o, c as yo, M as Co, a as Se, u as wo, S as xo, E as So, b as xt, d as Oo, s as Io, e as No, f as Eo, g as Po, D as Bo } from "./EllipsisOutlined-CzFuvGH_.js";
8
- import { P as fe, i as Te, C as St, b as zo, u as Ge, d as ue, z as Ot, e as jo, f as To, h as _o, j as Ro, B as lt } from "./PurePanel-CxlAi3G7.js";
6
+ import { I as Ve, K as le, H as no, U as We, ah as ro, g as de, m as ce, y as ve, u as O, a2 as io, a as ie, E as ao, v as be, D as je, c as _, p as lo, N as so, e as se, l as nt, b as Xe, s as Fe, t as Ct, j as co, x as qe, o as he, an as uo, n as mo, a4 as po, A as go, z as fo, F as rt, aa as it, ad as vo, k as wt, ao as bo, B as at } from "./context-D9BBvKPl.js";
7
+ import { R as ho, T as $o, c as yo, M as Co, a as Se, u as wo, S as xo, E as So, b as xt, d as Oo, s as Io, e as No, f as Eo, g as Po, D as Bo } from "./EllipsisOutlined-D-3xCg8z.js";
8
+ import { P as fe, i as Te, C as St, b as zo, u as Ge, d as ue, z as Ot, e as jo, f as To, h as _o, j as Ro, B as lt } from "./PurePanel-CTG2Gs1r.js";
9
9
  import './assets/UserInfoDropdown.css';function Mo(e, t) {
10
10
  return fe.reduce((o, n) => {
11
11
  const r = e[`${n}1`], a = e[`${n}3`], i = e[`${n}6`], s = e[`${n}7`];
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as r } from "react/jsx-runtime";
2
2
  import * as n from "react";
3
3
  import { S as m } from "../../VModalIcon-D7L4bQLO.js";
4
4
  import '../../assets/theme.css';import '../../assets/ConfirmationModal.css';/* empty css */
5
- import { M as d } from "../../index-DLbr86ak.js";
5
+ import { M as d } from "../../index-C4jQKFL8.js";
6
6
  const x = (t) => /* @__PURE__ */ n.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ n.createElement("path", { d: "M7 10L9 12L13 8M19 10C19 14.9706 14.9706 19 10 19C5.02944 19 1 14.9706 1 10C1 5.02944 5.02944 1 10 1C14.9706 1 19 5.02944 19 10Z", stroke: "#045529", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), p = (t) => /* @__PURE__ */ n.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ n.createElement("path", { d: "M6 18L18 6M6 6L18 18", stroke: "#045529", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), g = "_flexRowCenter_1mxo7_43", w = "_mr10_1mxo7_49", f = "_text18_1mxo7_61", C = "_content_1mxo7_65", o = {
7
7
  flexRowCenter: g,
8
8
  mr10: w,
@@ -1,6 +1,6 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { ConfirmationModal as r } from "./ConfirmationModal.js";
3
- import { C as e } from "../../context-Bk4VnwMB.js";
3
+ import { C as e } from "../../context-D9BBvKPl.js";
4
4
  const n = ({ isRtl: t }) => /* @__PURE__ */ o(e, { direction: t ? "rtl" : "ltr", children: /* @__PURE__ */ o(
5
5
  r,
6
6
  {
@@ -1,6 +1,6 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import '../../assets/theme.css';/* empty css */
3
- import { B as l } from "../../Button-Doz6-048.js";
3
+ import { B as l } from "../../Button-CNfTnafe.js";
4
4
  const p = ({ content: r, height: o = "40px", width: t = "120px", direction: n = "left", size: a = "small", ...e }) => /* @__PURE__ */ i(
5
5
  l,
6
6
  {
@@ -1,6 +1,6 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
2
  import { CustomButton as o } from "./CustomButton.js";
3
- import { c as n } from "../../createSvgIcon-Oc4iJwR0.js";
3
+ import { c as n } from "../../createSvgIcon-jB7EUYpq.js";
4
4
  const s = n(/* @__PURE__ */ t("path", {
5
5
  d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-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 14"
6
6
  }), "Search"), c = {
@@ -2,10 +2,10 @@ import { jsx as l, jsxs as ot } from "react/jsx-runtime";
2
2
  import * as c from "react";
3
3
  import '../../assets/theme.css';/* empty css */
4
4
  import { GridPagination as nt } from "@mui/x-data-grid";
5
- import { g as Q, a as X, u as Y, s as R, c as A, b as T, d as Z, m as F, i as S, e as _, P as e } from "../../createSimplePaletteValueFilter-B5aJotlB.js";
6
- import { u as st, a as rt, b as j, i as B } from "../../useSlot-CLAoIJ2B.js";
7
- import { c as E } from "../../createSvgIcon-Oc4iJwR0.js";
8
- import { B as it } from "../../ButtonBase-CTqjtEBO.js";
5
+ import { g as Q, a as X, u as Y, s as R, c as A, b as T, d as Z, m as F, i as S, e as _, P as e } from "../../createSimplePaletteValueFilter-rq2_biPF.js";
6
+ import { u as st, a as rt, b as j, i as B } from "../../useSlot-CT4096EK.js";
7
+ import { c as E } from "../../createSvgIcon-jB7EUYpq.js";
8
+ import { B as it } from "../../ButtonBase-DWpUn0eT.js";
9
9
  const H = (t) => /* @__PURE__ */ c.createElement("svg", { width: 25, height: 24, viewBox: "0 0 25 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ c.createElement("g", { id: "arrow/chevron/</default-first" }, /* @__PURE__ */ c.createElement("path", { id: "vector", d: "M17.5 5L10.5 12L17.5 19M7.5 5L7.5 19", stroke: "#045529", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }))), q = (t) => /* @__PURE__ */ c.createElement("svg", { width: 25, height: 24, viewBox: "0 0 25 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ c.createElement("g", { id: "arrow/chevron/>/end" }, /* @__PURE__ */ c.createElement("path", { id: "vector", d: "M7.5 4.99998L14.5 12L7.5 19M17.5 4.99998L17.5 19", stroke: "#045529", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }))), J = (t) => /* @__PURE__ */ c.createElement("svg", { width: 10, height: 16, viewBox: "0 0 10 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ c.createElement("path", { d: "M1.5 1L8.5 8L1.5 15", stroke: "#045529", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), K = (t) => /* @__PURE__ */ c.createElement("svg", { width: 10, height: 16, viewBox: "0 0 10 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ c.createElement("path", { d: "M8.5 15L1.5 8L8.5 1", stroke: "#045529", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }));
10
10
  function lt(t) {
11
11
  return Q("MuiPagination", t);
@@ -483,7 +483,7 @@ process.env.NODE_ENV !== "production" && (U.propTypes = {
483
483
  * It's recommended to use the `slots` prop instead.
484
484
  *
485
485
  * @default {}
486
- * @deprecated use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
486
+ * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
487
487
  */
488
488
  components: e.shape({
489
489
  first: e.elementType,
@@ -1,7 +1,7 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
2
  import '../../assets/theme.css';import '../../assets/ErrorModal.css';/* empty css */
3
3
  import { useState as x } from "react";
4
- import { M as h } from "../../index-DLbr86ak.js";
4
+ import { M as h } from "../../index-C4jQKFL8.js";
5
5
  const p = "_flexRowCenter_1ixx3_43", d = "_text18_1ixx3_57", m = "_content_1ixx3_61", t = {
6
6
  flexRowCenter: p,
7
7
  text18: d,
@@ -1,6 +1,6 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import { ErrorModal as t } from "./ErrorModal.js";
3
- import { C as e } from "../../context-Bk4VnwMB.js";
3
+ import { C as e } from "../../context-D9BBvKPl.js";
4
4
  const a = ({ isRtl: o }) => /* @__PURE__ */ r(e, { direction: o ? "rtl" : "ltr", children: /* @__PURE__ */ r(
5
5
  t,
6
6
  {
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as n } from "react/jsx-runtime";
2
2
  import * as r from "react";
3
3
  import { S as i } from "../../VModalIcon-D7L4bQLO.js";
4
4
  import '../../assets/theme.css';import '../../assets/ErrorModal.css';/* empty css */
5
- import { M as x } from "../../index-DLbr86ak.js";
5
+ import { M as x } from "../../index-C4jQKFL8.js";
6
6
  const m = (o) => /* @__PURE__ */ r.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...o }, /* @__PURE__ */ r.createElement("path", { d: "M13 16H12V12H11M12 8H12.01M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12Z", stroke: "#045529", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), d = "_flexRowCenter_1ixx3_43", p = "_mr10_1ixx3_49", f = "_text18_1ixx3_57", h = "_content_1ixx3_61", t = {
7
7
  flexRowCenter: d,
8
8
  mr10: p,
@@ -1,6 +1,6 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { InfoModal as e } from "./InfoModal.js";
3
- import { C as r } from "../../context-Bk4VnwMB.js";
3
+ import { C as r } from "../../context-D9BBvKPl.js";
4
4
  const n = ({ isRtl: t }) => /* @__PURE__ */ o(r, { direction: t ? "rtl" : "ltr", children: /* @__PURE__ */ o(
5
5
  e,
6
6
  {
@@ -3,9 +3,9 @@ import { LoadingAnimation as ga } from "../LoadingAnimation/LoadingAnimation.js"
3
3
  import { cn as pa } from "../../portal-utils/cn.js";
4
4
  import * as l from "react";
5
5
  import ha, { createContext as $a, useState as Q, useRef as te, useEffect as me, useMemo as Gt } from "react";
6
- import { a as Me, V as ya, d as Sa, I as _a, _ as L, w as Pt, e as se, f as Ca, h as nt, i as ne, c as W, j as Se, k as xa, l as Tt, n as wa, p as He, q as Ea, r as Pa, s as Nt, t as Ta, v as rt, x as Na, g as Ht, m as Wt, u, y as it, z as ot, A as Vt, B as tt, D as Oa, E as Kt, F as We, o as Ra } from "../../context-Bk4VnwMB.js";
7
- import { R as Ia, S as za } from "../../Skeleton-dypyF9G2.js";
8
- import { E as Ma, M as La, D as Da, R as et, i as Ba, a as Ot, b as ja } from "../../EllipsisOutlined-CzFuvGH_.js";
6
+ import { a as Me, V as ya, d as Sa, I as _a, _ as L, w as Pt, e as se, f as Ca, h as nt, i as ne, c as W, j as _e, k as xa, l as Tt, n as wa, p as He, q as Ea, r as Pa, s as Nt, t as Ta, v as rt, x as Na, g as Ht, m as Wt, u, y as it, z as ot, A as Vt, B as tt, D as Oa, E as Kt, F as We, o as Ra } from "../../context-D9BBvKPl.js";
7
+ import { R as Ia, S as za } from "../../Skeleton-AxdUhch9.js";
8
+ import { E as Ma, M as La, D as Da, R as et, i as Ba, a as Ot, b as ja } from "../../EllipsisOutlined-D-3xCg8z.js";
9
9
  import { _ as pe } from "../../objectWithoutPropertiesLoose-BTau6TOn.js";
10
10
  import '../../assets/KpiCard.css';const Aa = function(e, t) {
11
11
  let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : void 0;
@@ -311,21 +311,21 @@ var Ya = /* @__PURE__ */ l.forwardRef(function(e, t) {
311
311
  function R(E) {
312
312
  var H = E.which;
313
313
  if (!M) {
314
- [Se.DOWN, Se.SPACE, Se.ENTER].includes(H) && (D(!0), E.preventDefault());
314
+ [_e.DOWN, _e.SPACE, _e.ENTER].includes(H) && (D(!0), E.preventDefault());
315
315
  return;
316
316
  }
317
317
  switch (H) {
318
- case Se.UP:
318
+ case _e.UP:
319
319
  Z(-1), E.preventDefault();
320
320
  break;
321
- case Se.DOWN:
321
+ case _e.DOWN:
322
322
  Z(1), E.preventDefault();
323
323
  break;
324
- case Se.ESC:
324
+ case _e.ESC:
325
325
  D(!1);
326
326
  break;
327
- case Se.SPACE:
328
- case Se.ENTER:
327
+ case _e.SPACE:
328
+ case _e.ENTER:
329
329
  O !== null && x(O, E);
330
330
  break;
331
331
  }
@@ -439,7 +439,7 @@ var Ja = function(t) {
439
439
  }, Qa = function(t, n) {
440
440
  var a = t.offsetWidth, r = t.offsetHeight, o = t.offsetTop, c = t.offsetLeft, i = t.getBoundingClientRect(), d = i.width, s = i.height, m = i.left, h = i.top;
441
441
  return Math.abs(d - a) < 1 ? [d, s, m - n.left, h - n.top] : [a, r, c, o];
442
- }, Ne = function(t) {
442
+ }, Oe = function(t) {
443
443
  var n = t.current || {}, a = n.offsetWidth, r = a === void 0 ? 0 : a, o = n.offsetHeight, c = o === void 0 ? 0 : o;
444
444
  if (t.current) {
445
445
  var i = t.current.getBoundingClientRect(), d = i.width, s = i.height;
@@ -458,10 +458,10 @@ var Ja = function(t) {
458
458
  !p && x && x({
459
459
  direction: I > b ? "top" : "bottom"
460
460
  });
461
- }), v = L(V, 2), Z = v[0], R = v[1], U = Q([0, 0]), ee = L(U, 2), ve = ee[0], E = ee[1], H = Q([0, 0]), Y = L(H, 2), J = Y[0], F = Y[1], re = Q([0, 0]), ae = L(re, 2), he = ae[0], fe = ae[1], ie = Q([0, 0]), $e = L(ie, 2), z = $e[0], de = $e[1], Ce = qa(/* @__PURE__ */ new Map()), Le = L(Ce, 2), Xe = Le[0], qe = Le[1], K = Va(w, Xe, J[0]), B = Ae(ve, p), oe = Ae(J, p), xe = Ae(he, p), dt = Ae(z, p), ut = Math.floor(B) < Math.floor(oe + xe), be = ut ? B - dt : B - xe, Zt = "".concat($, "-nav-operations-hidden"), ye = 0, we = 0;
462
- p && i ? (ye = 0, we = Math.max(0, oe - be)) : (ye = Math.min(0, be - oe), we = 0);
461
+ }), v = L(V, 2), Z = v[0], R = v[1], U = Q([0, 0]), ee = L(U, 2), ve = ee[0], E = ee[1], H = Q([0, 0]), Y = L(H, 2), J = Y[0], F = Y[1], re = Q([0, 0]), ae = L(re, 2), he = ae[0], fe = ae[1], ie = Q([0, 0]), $e = L(ie, 2), z = $e[0], de = $e[1], xe = qa(/* @__PURE__ */ new Map()), Le = L(xe, 2), Xe = Le[0], qe = Le[1], K = Va(w, Xe, J[0]), B = Ae(ve, p), oe = Ae(J, p), we = Ae(he, p), dt = Ae(z, p), ut = Math.floor(B) < Math.floor(oe + we), be = ut ? B - dt : B - we, Zt = "".concat($, "-nav-operations-hidden"), ye = 0, Ee = 0;
462
+ p && i ? (ye = 0, Ee = Math.max(0, oe - be)) : (ye = Math.min(0, be - oe), Ee = 0);
463
463
  function Fe(I) {
464
- return I < ye ? ye : I > we ? we : I;
464
+ return I < ye ? ye : I > Ee ? Ee : I;
465
465
  }
466
466
  var Ue = te(null), ea = Q(), vt = L(ea, 2), De = vt[0], ft = vt[1];
467
467
  function Ye() {
@@ -473,8 +473,8 @@ var Ja = function(t) {
473
473
  Xa(q, function(I, b) {
474
474
  function j(X, ue) {
475
475
  X(function(le) {
476
- var Pe = Fe(le + ue);
477
- return Pe;
476
+ var Te = Fe(le + ue);
477
+ return Te;
478
478
  });
479
479
  }
480
480
  return ut ? (p ? j(k, I) : j(R, b), ke(), Ye(), !0) : !1;
@@ -492,7 +492,7 @@ var Ja = function(t) {
492
492
  // Tabs
493
493
  oe,
494
494
  // Add
495
- xe,
495
+ we,
496
496
  // Operation
497
497
  dt,
498
498
  se(se({}, e), {}, {
@@ -513,34 +513,34 @@ var Ja = function(t) {
513
513
  var X = Z;
514
514
  b.top < -Z ? X = -b.top : b.top + b.height > -Z + be && (X = -(b.top + b.height - be)), k(0), R(Fe(X));
515
515
  }
516
- }), ra = Q(), gt = L(ra, 2), Oe = gt[0], Re = gt[1], ia = Q(!1), pt = L(ia, 2), oa = pt[0], ht = pt[1], ge = w.filter(function(I) {
516
+ }), ra = Q(), gt = L(ra, 2), Se = gt[0], Re = gt[1], ia = Q(!1), pt = L(ia, 2), oa = pt[0], ht = pt[1], ge = w.filter(function(I) {
517
517
  return !I.disabled;
518
518
  }).map(function(I) {
519
519
  return I.key;
520
- }), Ee = function(b) {
521
- var j = ge.indexOf(Oe || c), X = ge.length, ue = (j + b + X) % X, le = ge[ue];
520
+ }), Pe = function(b) {
521
+ var j = ge.indexOf(Se || c), X = ge.length, ue = (j + b + X) % X, le = ge[ue];
522
522
  Re(le);
523
523
  }, la = function(b) {
524
524
  var j = b.code, X = i && p, ue = ge[0], le = ge[ge.length - 1];
525
525
  switch (j) {
526
526
  // LEFT
527
527
  case "ArrowLeft": {
528
- p && Ee(X ? 1 : -1);
528
+ p && Pe(X ? 1 : -1);
529
529
  break;
530
530
  }
531
531
  // RIGHT
532
532
  case "ArrowRight": {
533
- p && Ee(X ? -1 : 1);
533
+ p && Pe(X ? -1 : 1);
534
534
  break;
535
535
  }
536
536
  // UP
537
537
  case "ArrowUp": {
538
- b.preventDefault(), p || Ee(-1);
538
+ b.preventDefault(), p || Pe(-1);
539
539
  break;
540
540
  }
541
541
  // DOWN
542
542
  case "ArrowDown": {
543
- b.preventDefault(), p || Ee(1);
543
+ b.preventDefault(), p || Pe(1);
544
544
  break;
545
545
  }
546
546
  // HOME
@@ -556,19 +556,19 @@ var Ja = function(t) {
556
556
  // Enter & Space
557
557
  case "Enter":
558
558
  case "Space": {
559
- b.preventDefault(), A(c, b);
559
+ b.preventDefault(), A(Se ?? c, b);
560
560
  break;
561
561
  }
562
562
  // Backspace
563
563
  case "Backspace":
564
564
  case "Delete": {
565
- var Pe = ge.indexOf(Oe), ce = w.find(function(Te) {
566
- return Te.key === Oe;
565
+ var Te = ge.indexOf(Se), ce = w.find(function(Ne) {
566
+ return Ne.key === Se;
567
567
  }), Ze = lt(ce == null ? void 0 : ce.closable, ce == null ? void 0 : ce.closeIcon, s, ce == null ? void 0 : ce.disabled);
568
568
  Ze && (b.preventDefault(), b.stopPropagation(), s.onEdit("remove", {
569
- key: Oe,
569
+ key: Se,
570
570
  event: b
571
- }), Pe === ge.length - 1 ? Ee(-1) : Ee(1));
571
+ }), Te === ge.length - 1 ? Pe(-1) : Pe(1));
572
572
  break;
573
573
  }
574
574
  }
@@ -585,7 +585,7 @@ var Ja = function(t) {
585
585
  closable: I.closable,
586
586
  editable: s,
587
587
  active: j === c,
588
- focus: j === Oe,
588
+ focus: j === Se,
589
589
  renderWrapper: P,
590
590
  removeAriaLabel: m == null ? void 0 : m.removeAriaLabel,
591
591
  tabCount: ge.length,
@@ -611,10 +611,10 @@ var Ja = function(t) {
611
611
  return qe(function() {
612
612
  var b, j = /* @__PURE__ */ new Map(), X = (b = O.current) === null || b === void 0 ? void 0 : b.getBoundingClientRect();
613
613
  return w.forEach(function(ue) {
614
- var le, Pe = ue.key, ce = (le = O.current) === null || le === void 0 ? void 0 : le.querySelector('[data-node-key="'.concat(Ft(Pe), '"]'));
614
+ var le, Te = ue.key, ce = (le = O.current) === null || le === void 0 ? void 0 : le.querySelector('[data-node-key="'.concat(Ft(Te), '"]'));
615
615
  if (ce) {
616
- var Ze = Qa(ce, X), Te = L(Ze, 4), va = Te[0], fa = Te[1], ba = Te[2], ma = Te[3];
617
- j.set(Pe, {
616
+ var Ze = Qa(ce, X), Ne = L(Ze, 4), va = Ne[0], fa = Ne[1], ba = Ne[2], ma = Ne[3];
617
+ j.set(Te, {
618
618
  width: va,
619
619
  height: fa,
620
620
  left: ba,
@@ -630,13 +630,13 @@ var Ja = function(t) {
630
630
  return I.key;
631
631
  }).join("_")]);
632
632
  var je = qt(function() {
633
- var I = Ne(M), b = Ne(D), j = Ne(G);
633
+ var I = Oe(M), b = Oe(D), j = Oe(G);
634
634
  E([I[0] - b[0] - j[0], I[1] - b[1] - j[1]]);
635
- var X = Ne(T);
635
+ var X = Oe(T);
636
636
  fe(X);
637
- var ue = Ne(C);
637
+ var ue = Oe(C);
638
638
  de(ue);
639
- var le = Ne(O);
639
+ var le = Oe(O);
640
640
  F([le[0] - X[0], le[1] - X[1]]), yt();
641
641
  }), ca = w.slice(0, aa), sa = w.slice(na + 1), St = [].concat(Tt(ca), Tt(sa)), _t = K.get(c), da = Wa({
642
642
  activeTabOffset: _t,
@@ -646,11 +646,11 @@ var Ja = function(t) {
646
646
  }), ua = da.style;
647
647
  me(function() {
648
648
  mt();
649
- }, [c, ye, we, Dt(_t), Dt(K), p]), me(function() {
649
+ }, [c, ye, Ee, Dt(_t), Dt(K), p]), me(function() {
650
650
  je();
651
651
  }, [i]);
652
652
  var Ct = !!St.length, Ie = "".concat($, "-nav-wrap"), Je, Qe, xt, wt;
653
- return p ? i ? (Qe = _ > 0, Je = _ !== we) : (Je = _ < 0, Qe = _ !== ye) : (xt = Z < 0, wt = Z !== ye), /* @__PURE__ */ l.createElement(et, {
653
+ return p ? i ? (Qe = _ > 0, Je = _ !== Ee) : (Je = _ < 0, Qe = _ !== ye) : (xt = Z < 0, wt = Z !== ye), /* @__PURE__ */ l.createElement(et, {
654
654
  onResize: je
655
655
  }, /* @__PURE__ */ l.createElement("div", {
656
656
  ref: wa(t, M),
@@ -802,8 +802,8 @@ var rn = ["id", "prefixCls", "className", "items", "direction", "activeKey", "de
802
802
  });
803
803
  }), H = L(E, 2), Y = H[0], J = H[1];
804
804
  me(function() {
805
- var z = S.findIndex(function(Ce) {
806
- return Ce.key === ee;
805
+ var z = S.findIndex(function(xe) {
806
+ return xe.key === ee;
807
807
  });
808
808
  if (z === -1) {
809
809
  var de;
@@ -821,8 +821,8 @@ var rn = ["id", "prefixCls", "className", "items", "direction", "activeKey", "de
821
821
  }, []);
822
822
  function fe(z, de) {
823
823
  G == null || G(z, de);
824
- var Ce = z !== ee;
825
- ve(z), Ce && (D == null || D(z));
824
+ var xe = z !== ee;
825
+ ve(z), xe && (D == null || D(z));
826
826
  }
827
827
  var ie = {
828
828
  id: ae,
@@ -2265,8 +2265,8 @@ const zn = (e) => {
2265
2265
  if (process.env.NODE_ENV !== "production") {
2266
2266
  const K = rt("Card");
2267
2267
  [["headStyle", "styles.header"], ["bodyStyle", "styles.body"], ["bordered", "variant"]].forEach((B) => {
2268
- let [oe, xe] = B;
2269
- K.deprecated(!(oe in e), oe, xe);
2268
+ let [oe, we] = B;
2269
+ K.deprecated(!(oe in e), oe, we);
2270
2270
  });
2271
2271
  }
2272
2272
  const k = (K) => {
@@ -2310,10 +2310,10 @@ const zn = (e) => {
2310
2310
  })
2311
2311
  })) : null;
2312
2312
  if (s || c || ae) {
2313
- const K = W(`${R}-head`, V("header")), B = W(`${R}-head-title`, V("title")), oe = W(`${R}-extra`, V("extra")), xe = Object.assign(Object.assign({}, i), v("header"));
2313
+ const K = W(`${R}-head`, V("header")), B = W(`${R}-head-title`, V("title")), oe = W(`${R}-extra`, V("extra")), we = Object.assign(Object.assign({}, i), v("header"));
2314
2314
  J = /* @__PURE__ */ l.createElement("div", {
2315
2315
  className: K,
2316
- style: xe
2316
+ style: we
2317
2317
  }, /* @__PURE__ */ l.createElement("div", {
2318
2318
  className: `${R}-head-wrapper`
2319
2319
  }, s && /* @__PURE__ */ l.createElement("div", {
@@ -2330,7 +2330,7 @@ const zn = (e) => {
2330
2330
  }, x) : null, ie = W(`${R}-body`, V("body")), $e = Object.assign(Object.assign({}, d), v("body")), z = /* @__PURE__ */ l.createElement("div", {
2331
2331
  className: ie,
2332
2332
  style: $e
2333
- }, m ? E : $), de = W(`${R}-actions`, V("actions")), Ce = N != null && N.length ? /* @__PURE__ */ l.createElement(zn, {
2333
+ }, m ? E : $), de = W(`${R}-actions`, V("actions")), xe = N != null && N.length ? /* @__PURE__ */ l.createElement(zn, {
2334
2334
  actionClasses: de,
2335
2335
  actionStyle: v("actions"),
2336
2336
  actions: N
@@ -2349,7 +2349,7 @@ const zn = (e) => {
2349
2349
  }, Le, {
2350
2350
  className: Xe,
2351
2351
  style: qe
2352
- }), J, fe, z, Ce));
2352
+ }), J, fe, z, xe));
2353
2353
  });
2354
2354
  var Ln = function(e, t) {
2355
2355
  var n = {};
@@ -2383,7 +2383,7 @@ const Dn = (e) => {
2383
2383
  Ke.Grid = Qt;
2384
2384
  Ke.Meta = Dn;
2385
2385
  process.env.NODE_ENV !== "production" && (Ke.displayName = "Card");
2386
- const Bn = "_kpiCard_19chq_43", jn = "_width430_19chq_49", An = "_width384_19chq_58", Gn = "_flexCol_19chq_62", Hn = "_flexRow_19chq_67", Wn = "_title_19chq_72", Vn = "_content_19chq_98", _e = {
2386
+ const Bn = "_kpiCard_19chq_43", jn = "_width430_19chq_49", An = "_width384_19chq_58", Gn = "_flexCol_19chq_62", Hn = "_flexRow_19chq_67", Wn = "_title_19chq_72", Vn = "_content_19chq_98", Ce = {
2387
2387
  kpiCard: Bn,
2388
2388
  width430: jn,
2389
2389
  width384: An,
@@ -2393,11 +2393,11 @@ const Bn = "_kpiCard_19chq_43", jn = "_width430_19chq_49", An = "_width384_19chq
2393
2393
  content: Vn
2394
2394
  };
2395
2395
  function Qn({ title: e, content: t, icon: n, menuCollapsed: a }) {
2396
- return /* @__PURE__ */ ze(Ke, { className: pa(_e.kpiCard, a ? _e.width430 : _e.width384), children: e && t ? /* @__PURE__ */ ze("div", { className: _e.flexCol, children: /* @__PURE__ */ Et("div", { className: _e.flexRow, children: [
2396
+ return /* @__PURE__ */ ze(Ke, { className: pa(Ce.kpiCard, a ? Ce.width430 : Ce.width384), children: e && t ? /* @__PURE__ */ ze("div", { className: Ce.flexCol, children: /* @__PURE__ */ Et("div", { className: Ce.flexRow, children: [
2397
2397
  n,
2398
- /* @__PURE__ */ Et("div", { className: _e.flexCol, children: [
2399
- /* @__PURE__ */ ze("span", { className: _e.title, children: e }),
2400
- /* @__PURE__ */ ze("span", { className: _e.content, children: t })
2398
+ /* @__PURE__ */ Et("div", { className: Ce.flexCol, children: [
2399
+ /* @__PURE__ */ ze("span", { className: Ce.title, children: e }),
2400
+ /* @__PURE__ */ ze("span", { className: Ce.content, children: t })
2401
2401
  ] })
2402
2402
  ] }) }) : /* @__PURE__ */ ze(ga, {}) });
2403
2403
  }
@@ -1,6 +1,6 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { B as i } from "../../Box-Cva4Q3V3.js";
3
- import { C as t } from "../../CircularProgress-AyUrn4Uo.js";
2
+ import { B as i } from "../../Box-ZFRI9JCw.js";
3
+ import { C as t } from "../../CircularProgress-D6RyizwS.js";
4
4
  function m() {
5
5
  return /* @__PURE__ */ r(i, { display: "flex", justifyContent: "center", alignItems: "center", minHeight: "100%", children: /* @__PURE__ */ r(t, {}) });
6
6
  }