@amateescu/portal-ui-components 0.0.30-beta9 → 0.0.32-beta0
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/{Box-ZFRI9JCw.js → Box-D-aleOLf.js} +1 -1
- package/dist/{Button-CNfTnafe.js → Button-xgiLW4_3.js} +5 -7
- package/dist/{ButtonBase-DWpUn0eT.js → ButtonBase-DUKuDCWw.js} +126 -125
- package/dist/{CircularProgress-D6RyizwS.js → CircularProgress-Dq_bUtxt.js} +29 -30
- package/dist/{EllipsisOutlined-D-3xCg8z.js → EllipsisOutlined-CmR4hXJ_.js} +1 -1
- package/dist/{PurePanel-CTG2Gs1r.js → PurePanel-CykVuv66.js} +1 -1
- package/dist/{Skeleton-AxdUhch9.js → Skeleton-BBwDqRB3.js} +1 -1
- package/dist/{UserInfoDropdown-DLPEHXMj.js → UserInfoDropdown-DtadP0e7.js} +3 -3
- package/dist/components/ConfirmationModal/ConfirmationModal.js +1 -1
- package/dist/components/ConfirmationModal/ConfirmationModal.stories.js +1 -1
- package/dist/components/CustomButton/CustomButton.js +1 -1
- package/dist/components/CustomButton/CustomButton.stories.js +1 -1
- package/dist/components/CustomPagination/CustomPagination.js +39 -41
- package/dist/components/ErrorModal/ErrorModal.js +1 -1
- package/dist/components/ErrorModal/ErrorModal.stories.js +1 -1
- package/dist/components/InfoModal/InfoModal.js +1 -1
- package/dist/components/InfoModal/InfoModal.stories.js +1 -1
- package/dist/components/KpiCard/KpiCard.js +3 -3
- package/dist/components/LoadingAnimation/LoadingAnimation.js +2 -2
- package/dist/components/Login/Login.js +1009 -989
- package/dist/components/SideMenu/SideMenu.js +19 -19
- package/dist/components/UserInfoDropdown/UserInfoDropdown.js +1 -1
- package/dist/components/UserInfoDropdown/UserInfoDropdown.stories.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/{context-D9BBvKPl.js → context-4ttylmIf.js} +1648 -1676
- package/dist/{createSimplePaletteValueFilter-rq2_biPF.js → createSimplePaletteValueFilter-evt-Xthj.js} +197 -196
- package/dist/{createSvgIcon-jB7EUYpq.js → createSvgIcon-CgFXfzFk.js} +1 -1
- package/dist/{index-C4jQKFL8.js → index-Dz00OoV7.js} +3 -3
- package/dist/main.js +1 -1
- package/dist/useSlot-Baxtq84W.js +188 -0
- package/package.json +11 -11
- package/dist/useSlot-CT4096EK.js +0 -188
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as O from "react";
|
|
2
|
-
import { g as T, a as
|
|
2
|
+
import { g as T, a as N, u as R, 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-evt-Xthj.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) {
|
|
6
6
|
return T("MuiCircularProgress", e);
|
|
7
7
|
}
|
|
8
|
-
|
|
8
|
+
N("MuiCircularProgress", ["root", "determinate", "indeterminate", "colorPrimary", "colorSecondary", "svg", "circle", "circleDeterminate", "circleIndeterminate", "circleDisableShrink"]);
|
|
9
9
|
const a = 44, y = w`
|
|
10
10
|
0% {
|
|
11
11
|
transform: rotate(0deg);
|
|
@@ -35,24 +35,24 @@ const a = 44, y = w`
|
|
|
35
35
|
animation: ${v} 1.4s ease-in-out infinite;
|
|
36
36
|
` : null, A = (e) => {
|
|
37
37
|
const {
|
|
38
|
-
classes:
|
|
39
|
-
variant:
|
|
38
|
+
classes: t,
|
|
39
|
+
variant: s,
|
|
40
40
|
color: i,
|
|
41
41
|
disableShrink: l
|
|
42
42
|
} = e, p = {
|
|
43
|
-
root: ["root",
|
|
43
|
+
root: ["root", s, `color${c(i)}`],
|
|
44
44
|
svg: ["svg"],
|
|
45
|
-
circle: ["circle", `circle${c(
|
|
45
|
+
circle: ["circle", `circle${c(s)}`, l && "circleDisableShrink"]
|
|
46
46
|
};
|
|
47
|
-
return U(p, z,
|
|
47
|
+
return U(p, z, t);
|
|
48
48
|
}, K = g("span", {
|
|
49
49
|
name: "MuiCircularProgress",
|
|
50
50
|
slot: "Root",
|
|
51
|
-
overridesResolver: (e,
|
|
51
|
+
overridesResolver: (e, t) => {
|
|
52
52
|
const {
|
|
53
|
-
ownerState:
|
|
53
|
+
ownerState: s
|
|
54
54
|
} = e;
|
|
55
|
-
return [
|
|
55
|
+
return [t.root, t[s.variant], t[`color${c(s.color)}`]];
|
|
56
56
|
}
|
|
57
57
|
})(P(({
|
|
58
58
|
theme: e
|
|
@@ -72,29 +72,28 @@ const a = 44, y = w`
|
|
|
72
72
|
style: F || {
|
|
73
73
|
animation: `${y} 1.4s linear infinite`
|
|
74
74
|
}
|
|
75
|
-
}, ...Object.entries(e.palette).filter(E()).map(([
|
|
75
|
+
}, ...Object.entries(e.palette).filter(E()).map(([t]) => ({
|
|
76
76
|
props: {
|
|
77
|
-
color:
|
|
77
|
+
color: t
|
|
78
78
|
},
|
|
79
79
|
style: {
|
|
80
|
-
color: (e.vars || e).palette[
|
|
80
|
+
color: (e.vars || e).palette[t].main
|
|
81
81
|
}
|
|
82
82
|
}))]
|
|
83
83
|
}))), B = g("svg", {
|
|
84
84
|
name: "MuiCircularProgress",
|
|
85
|
-
slot: "Svg"
|
|
86
|
-
overridesResolver: (e, s) => s.svg
|
|
85
|
+
slot: "Svg"
|
|
87
86
|
})({
|
|
88
87
|
display: "block"
|
|
89
88
|
// Keeps the progress centered
|
|
90
89
|
}), G = g("circle", {
|
|
91
90
|
name: "MuiCircularProgress",
|
|
92
91
|
slot: "Circle",
|
|
93
|
-
overridesResolver: (e,
|
|
92
|
+
overridesResolver: (e, t) => {
|
|
94
93
|
const {
|
|
95
|
-
ownerState:
|
|
94
|
+
ownerState: s
|
|
96
95
|
} = e;
|
|
97
|
-
return [
|
|
96
|
+
return [t.circle, t[`circle${c(s.variant)}`], s.disableShrink && t.circleDisableShrink];
|
|
98
97
|
}
|
|
99
98
|
})(P(({
|
|
100
99
|
theme: e
|
|
@@ -119,16 +118,16 @@ const a = 44, y = w`
|
|
|
119
118
|
}
|
|
120
119
|
}, {
|
|
121
120
|
props: ({
|
|
122
|
-
ownerState:
|
|
123
|
-
}) =>
|
|
121
|
+
ownerState: t
|
|
122
|
+
}) => t.variant === "indeterminate" && !t.disableShrink,
|
|
124
123
|
style: V || {
|
|
125
124
|
// At runtime for Pigment CSS, `bufferAnimation` will be null and the generated keyframe will be used.
|
|
126
125
|
animation: `${v} 1.4s ease-in-out infinite`
|
|
127
126
|
}
|
|
128
127
|
}]
|
|
129
|
-
}))), W = /* @__PURE__ */ O.forwardRef(function(
|
|
130
|
-
const i =
|
|
131
|
-
props:
|
|
128
|
+
}))), W = /* @__PURE__ */ O.forwardRef(function(t, s) {
|
|
129
|
+
const i = R({
|
|
130
|
+
props: t,
|
|
132
131
|
name: "MuiCircularProgress"
|
|
133
132
|
}), {
|
|
134
133
|
className: l,
|
|
@@ -148,13 +147,13 @@ const a = 44, y = w`
|
|
|
148
147
|
thickness: o,
|
|
149
148
|
value: f,
|
|
150
149
|
variant: k
|
|
151
|
-
},
|
|
150
|
+
}, u = A(n), d = {}, b = {}, S = {};
|
|
152
151
|
if (k === "determinate") {
|
|
153
152
|
const C = 2 * Math.PI * ((a - o) / 2);
|
|
154
|
-
|
|
153
|
+
d.strokeDasharray = C.toFixed(3), S["aria-valuenow"] = Math.round(f), d.strokeDashoffset = `${((100 - f) / 100 * C).toFixed(3)}px`, b.transform = "rotate(-90deg)";
|
|
155
154
|
}
|
|
156
155
|
return /* @__PURE__ */ h(K, {
|
|
157
|
-
className: j(
|
|
156
|
+
className: j(u.root, l),
|
|
158
157
|
style: {
|
|
159
158
|
width: m,
|
|
160
159
|
height: m,
|
|
@@ -162,17 +161,17 @@ const a = 44, y = w`
|
|
|
162
161
|
...D
|
|
163
162
|
},
|
|
164
163
|
ownerState: n,
|
|
165
|
-
ref:
|
|
164
|
+
ref: s,
|
|
166
165
|
role: "progressbar",
|
|
167
166
|
...S,
|
|
168
167
|
...M,
|
|
169
168
|
children: /* @__PURE__ */ h(B, {
|
|
170
|
-
className:
|
|
169
|
+
className: u.svg,
|
|
171
170
|
ownerState: n,
|
|
172
171
|
viewBox: `${a / 2} ${a / 2} ${a} ${a}`,
|
|
173
172
|
children: /* @__PURE__ */ h(G, {
|
|
174
|
-
className:
|
|
175
|
-
style:
|
|
173
|
+
className: u.circle,
|
|
174
|
+
style: d,
|
|
176
175
|
ownerState: n,
|
|
177
176
|
cx: a,
|
|
178
177
|
cy: a,
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-4ttylmIf.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";
|
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
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-4ttylmIf.js";
|
|
4
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"];
|
|
@@ -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-
|
|
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-4ttylmIf.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-
|
|
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-
|
|
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-
|
|
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-4ttylmIf.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-CmR4hXJ_.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-CykVuv66.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-
|
|
5
|
+
import { M as d } from "../../index-Dz00OoV7.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-
|
|
3
|
+
import { C as e } from "../../context-4ttylmIf.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-
|
|
3
|
+
import { B as l } from "../../Button-xgiLW4_3.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-
|
|
3
|
+
import { c as n } from "../../createSvgIcon-CgFXfzFk.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-
|
|
6
|
-
import { u as st, a as
|
|
7
|
-
import { c as E } from "../../createSvgIcon-
|
|
8
|
-
import { B as
|
|
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-evt-Xthj.js";
|
|
6
|
+
import { u as st, a as it, b as j, i as B } from "../../useSlot-Baxtq84W.js";
|
|
7
|
+
import { c as E } from "../../createSvgIcon-CgFXfzFk.js";
|
|
8
|
+
import { B as rt } from "../../ButtonBase-DUKuDCWw.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);
|
|
@@ -31,10 +31,10 @@ function pt(t = {}) {
|
|
|
31
31
|
default: v,
|
|
32
32
|
name: o,
|
|
33
33
|
state: "page"
|
|
34
|
-
}), O = (s,
|
|
35
|
-
P || u(
|
|
36
|
-
}, $ = (s,
|
|
37
|
-
const I =
|
|
34
|
+
}), O = (s, i) => {
|
|
35
|
+
P || u(i), y && y(s, i);
|
|
36
|
+
}, $ = (s, i) => {
|
|
37
|
+
const I = i - s + 1;
|
|
38
38
|
return Array.from({
|
|
39
39
|
length: I
|
|
40
40
|
}, (V, W) => s + W);
|
|
@@ -87,8 +87,8 @@ function pt(t = {}) {
|
|
|
87
87
|
};
|
|
88
88
|
return {
|
|
89
89
|
items: N.map((s) => typeof s == "number" ? {
|
|
90
|
-
onClick: (
|
|
91
|
-
O(
|
|
90
|
+
onClick: (i) => {
|
|
91
|
+
O(i, s);
|
|
92
92
|
},
|
|
93
93
|
type: "page",
|
|
94
94
|
page: s,
|
|
@@ -96,8 +96,8 @@ function pt(t = {}) {
|
|
|
96
96
|
disabled: p,
|
|
97
97
|
"aria-current": s === d ? "page" : void 0
|
|
98
98
|
} : {
|
|
99
|
-
onClick: (
|
|
100
|
-
O(
|
|
99
|
+
onClick: (i) => {
|
|
100
|
+
O(i, h(s));
|
|
101
101
|
},
|
|
102
102
|
type: s,
|
|
103
103
|
page: h(s),
|
|
@@ -110,7 +110,7 @@ function pt(t = {}) {
|
|
|
110
110
|
function ct(t) {
|
|
111
111
|
return Q("MuiPaginationItem", t);
|
|
112
112
|
}
|
|
113
|
-
const
|
|
113
|
+
const r = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "text", "textPrimary", "textSecondary", "outlined", "outlinedPrimary", "outlinedSecondary", "rounded", "ellipsis", "firstLast", "previousNext", "focusVisible", "disabled", "selected", "icon", "colorPrimary", "colorSecondary"]), dt = E(/* @__PURE__ */ l("path", {
|
|
114
114
|
d: "M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"
|
|
115
115
|
}), "FirstPage"), ut = E(/* @__PURE__ */ l("path", {
|
|
116
116
|
d: "M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"
|
|
@@ -162,7 +162,7 @@ const i = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
162
162
|
margin: "0 3px",
|
|
163
163
|
color: (t.vars || t).palette.text.primary,
|
|
164
164
|
height: "auto",
|
|
165
|
-
[`&.${
|
|
165
|
+
[`&.${r.disabled}`]: {
|
|
166
166
|
opacity: (t.vars || t).palette.action.disabledOpacity
|
|
167
167
|
},
|
|
168
168
|
variants: [{
|
|
@@ -186,7 +186,7 @@ const i = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
186
186
|
fontSize: t.typography.pxToRem(15)
|
|
187
187
|
}
|
|
188
188
|
}]
|
|
189
|
-
}))), yt = R(
|
|
189
|
+
}))), yt = R(rt, {
|
|
190
190
|
name: "MuiPaginationItem",
|
|
191
191
|
slot: "Root",
|
|
192
192
|
overridesResolver: tt
|
|
@@ -202,10 +202,10 @@ const i = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
202
202
|
padding: "0 6px",
|
|
203
203
|
margin: "0 3px",
|
|
204
204
|
color: (t.vars || t).palette.text.primary,
|
|
205
|
-
[`&.${
|
|
205
|
+
[`&.${r.focusVisible}`]: {
|
|
206
206
|
backgroundColor: (t.vars || t).palette.action.focus
|
|
207
207
|
},
|
|
208
|
-
[`&.${
|
|
208
|
+
[`&.${r.disabled}`]: {
|
|
209
209
|
opacity: (t.vars || t).palette.action.disabledOpacity
|
|
210
210
|
},
|
|
211
211
|
transition: t.transitions.create(["color", "background-color"], {
|
|
@@ -218,7 +218,7 @@ const i = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
218
218
|
backgroundColor: "transparent"
|
|
219
219
|
}
|
|
220
220
|
},
|
|
221
|
-
[`&.${
|
|
221
|
+
[`&.${r.selected}`]: {
|
|
222
222
|
backgroundColor: (t.vars || t).palette.action.selected,
|
|
223
223
|
"&:hover": {
|
|
224
224
|
backgroundColor: t.vars ? `rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.hoverOpacity}))` : S(t.palette.action.selected, t.palette.action.selectedOpacity + t.palette.action.hoverOpacity),
|
|
@@ -227,10 +227,10 @@ const i = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
227
227
|
backgroundColor: (t.vars || t).palette.action.selected
|
|
228
228
|
}
|
|
229
229
|
},
|
|
230
|
-
[`&.${
|
|
230
|
+
[`&.${r.focusVisible}`]: {
|
|
231
231
|
backgroundColor: t.vars ? `rgba(${t.vars.palette.action.selectedChannel} / calc(${t.vars.palette.action.selectedOpacity} + ${t.vars.palette.action.focusOpacity}))` : S(t.palette.action.selected, t.palette.action.selectedOpacity + t.palette.action.focusOpacity)
|
|
232
232
|
},
|
|
233
|
-
[`&.${
|
|
233
|
+
[`&.${r.disabled}`]: {
|
|
234
234
|
opacity: 1,
|
|
235
235
|
color: (t.vars || t).palette.action.disabled,
|
|
236
236
|
backgroundColor: (t.vars || t).palette.action.selected
|
|
@@ -271,8 +271,8 @@ const i = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
271
271
|
},
|
|
272
272
|
style: {
|
|
273
273
|
border: t.vars ? `1px solid rgba(${t.vars.palette.common.onBackgroundChannel} / 0.23)` : `1px solid ${t.palette.mode === "light" ? "rgba(0, 0, 0, 0.23)" : "rgba(255, 255, 255, 0.23)"}`,
|
|
274
|
-
[`&.${
|
|
275
|
-
[`&.${
|
|
274
|
+
[`&.${r.selected}`]: {
|
|
275
|
+
[`&.${r.disabled}`]: {
|
|
276
276
|
borderColor: (t.vars || t).palette.action.disabledBackground,
|
|
277
277
|
color: (t.vars || t).palette.action.disabled
|
|
278
278
|
}
|
|
@@ -283,8 +283,8 @@ const i = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
283
283
|
variant: "text"
|
|
284
284
|
},
|
|
285
285
|
style: {
|
|
286
|
-
[`&.${
|
|
287
|
-
[`&.${
|
|
286
|
+
[`&.${r.selected}`]: {
|
|
287
|
+
[`&.${r.disabled}`]: {
|
|
288
288
|
color: (t.vars || t).palette.action.disabled
|
|
289
289
|
}
|
|
290
290
|
}
|
|
@@ -295,7 +295,7 @@ const i = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
295
295
|
color: a
|
|
296
296
|
},
|
|
297
297
|
style: {
|
|
298
|
-
[`&.${
|
|
298
|
+
[`&.${r.selected}`]: {
|
|
299
299
|
color: (t.vars || t).palette[a].contrastText,
|
|
300
300
|
backgroundColor: (t.vars || t).palette[a].main,
|
|
301
301
|
"&:hover": {
|
|
@@ -305,10 +305,10 @@ const i = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
305
305
|
backgroundColor: (t.vars || t).palette[a].main
|
|
306
306
|
}
|
|
307
307
|
},
|
|
308
|
-
[`&.${
|
|
308
|
+
[`&.${r.focusVisible}`]: {
|
|
309
309
|
backgroundColor: (t.vars || t).palette[a].dark
|
|
310
310
|
},
|
|
311
|
-
[`&.${
|
|
311
|
+
[`&.${r.disabled}`]: {
|
|
312
312
|
color: (t.vars || t).palette.action.disabled
|
|
313
313
|
}
|
|
314
314
|
}
|
|
@@ -319,7 +319,7 @@ const i = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
319
319
|
color: a
|
|
320
320
|
},
|
|
321
321
|
style: {
|
|
322
|
-
[`&.${
|
|
322
|
+
[`&.${r.selected}`]: {
|
|
323
323
|
color: (t.vars || t).palette[a].main,
|
|
324
324
|
border: `1px solid ${t.vars ? `rgba(${t.vars.palette[a].mainChannel} / 0.5)` : S(t.palette[a].main, 0.5)}`,
|
|
325
325
|
backgroundColor: t.vars ? `rgba(${t.vars.palette[a].mainChannel} / ${t.vars.palette.action.activatedOpacity})` : S(t.palette[a].main, t.palette.action.activatedOpacity),
|
|
@@ -330,7 +330,7 @@ const i = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
330
330
|
backgroundColor: "transparent"
|
|
331
331
|
}
|
|
332
332
|
},
|
|
333
|
-
[`&.${
|
|
333
|
+
[`&.${r.focusVisible}`]: {
|
|
334
334
|
backgroundColor: t.vars ? `rgba(${t.vars.palette[a].mainChannel} / calc(${t.vars.palette.action.activatedOpacity} + ${t.vars.palette.action.focusOpacity}))` : S(t.palette[a].main, t.palette.action.activatedOpacity + t.palette.action.focusOpacity)
|
|
335
335
|
}
|
|
336
336
|
}
|
|
@@ -338,8 +338,7 @@ const i = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
338
338
|
}))]
|
|
339
339
|
}))), xt = R("div", {
|
|
340
340
|
name: "MuiPaginationItem",
|
|
341
|
-
slot: "Icon"
|
|
342
|
-
overridesResolver: (t, a) => a.icon
|
|
341
|
+
slot: "Icon"
|
|
343
342
|
})(F(({
|
|
344
343
|
theme: t
|
|
345
344
|
}) => ({
|
|
@@ -388,7 +387,7 @@ const i = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
388
387
|
size: C,
|
|
389
388
|
type: u,
|
|
390
389
|
variant: O
|
|
391
|
-
}, M =
|
|
390
|
+
}, M = it(), m = ft(g), x = {
|
|
392
391
|
slots: {
|
|
393
392
|
previous: w.previous ?? b.previous,
|
|
394
393
|
next: w.next ?? b.next,
|
|
@@ -404,7 +403,7 @@ const i = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
404
403
|
elementType: vt,
|
|
405
404
|
externalForwardedProps: x,
|
|
406
405
|
ownerState: g
|
|
407
|
-
}), [
|
|
406
|
+
}), [i, I] = j("first", {
|
|
408
407
|
elementType: dt,
|
|
409
408
|
externalForwardedProps: x,
|
|
410
409
|
ownerState: g
|
|
@@ -420,7 +419,7 @@ const i = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
420
419
|
}[u] : u, G = {
|
|
421
420
|
previous: N,
|
|
422
421
|
next: k,
|
|
423
|
-
first:
|
|
422
|
+
first: i,
|
|
424
423
|
last: V
|
|
425
424
|
}[D], at = {
|
|
426
425
|
previous: h,
|
|
@@ -570,8 +569,7 @@ const mt = (t) => {
|
|
|
570
569
|
}
|
|
571
570
|
})({}), Ct = R("ul", {
|
|
572
571
|
name: "MuiPagination",
|
|
573
|
-
slot: "Ul"
|
|
574
|
-
overridesResolver: (t, a) => a.ul
|
|
572
|
+
slot: "Ul"
|
|
575
573
|
})({
|
|
576
574
|
display: "flex",
|
|
577
575
|
flexWrap: "wrap",
|
|
@@ -599,8 +597,8 @@ const et = /* @__PURE__ */ c.forwardRef(function(a, o) {
|
|
|
599
597
|
hidePrevButton: C = !1,
|
|
600
598
|
onChange: w,
|
|
601
599
|
page: d,
|
|
602
|
-
renderItem: u = (
|
|
603
|
-
...
|
|
600
|
+
renderItem: u = (i) => /* @__PURE__ */ l(U, {
|
|
601
|
+
...i
|
|
604
602
|
}),
|
|
605
603
|
shape: O = "circular",
|
|
606
604
|
showFirstButton: $ = !1,
|
|
@@ -641,11 +639,11 @@ const et = /* @__PURE__ */ c.forwardRef(function(a, o) {
|
|
|
641
639
|
children: /* @__PURE__ */ l(Ct, {
|
|
642
640
|
className: s.ul,
|
|
643
641
|
ownerState: k,
|
|
644
|
-
children: h.map((
|
|
642
|
+
children: h.map((i, I) => /* @__PURE__ */ l("li", {
|
|
645
643
|
children: u({
|
|
646
|
-
...
|
|
644
|
+
...i,
|
|
647
645
|
color: f,
|
|
648
|
-
"aria-label": L(
|
|
646
|
+
"aria-label": L(i.type, i.page, i.selected),
|
|
649
647
|
shape: O,
|
|
650
648
|
size: m,
|
|
651
649
|
variant: x
|
|
@@ -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-
|
|
4
|
+
import { M as h } from "../../index-Dz00OoV7.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-
|
|
3
|
+
import { C as e } from "../../context-4ttylmIf.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-
|
|
5
|
+
import { M as x } from "../../index-Dz00OoV7.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-
|
|
3
|
+
import { C as r } from "../../context-4ttylmIf.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 _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-
|
|
7
|
-
import { R as Ia, S as za } from "../../Skeleton-
|
|
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-
|
|
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-4ttylmIf.js";
|
|
7
|
+
import { R as Ia, S as za } from "../../Skeleton-BBwDqRB3.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-CmR4hXJ_.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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { B as i } from "../../Box-
|
|
3
|
-
import { C as t } from "../../CircularProgress-
|
|
2
|
+
import { B as i } from "../../Box-D-aleOLf.js";
|
|
3
|
+
import { C as t } from "../../CircularProgress-Dq_bUtxt.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
|
}
|