@amateescu/portal-ui-components 0.0.32-beta1 → 0.0.32-beta2
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/{UserInfoDropdown-Cql8tlJU.js → UserInfoDropdown-DcgHMy3r.js} +1 -1
- package/dist/assets/ConfirmationModal.css +1 -1
- package/dist/assets/ErrorModal.css +1 -1
- package/dist/assets/KpiCard.css +1 -1
- package/dist/assets/UserInfoDropdown.css +1 -1
- package/dist/components/ConfirmationModal/ConfirmationModal.js +10 -10
- package/dist/components/CustomButton/CustomButton.js +10 -10
- package/dist/components/CustomPagination/CustomPagination.js +140 -140
- package/dist/components/ErrorModal/ErrorModal.js +10 -11
- package/dist/components/InfoModal/InfoModal.js +13 -13
- package/dist/components/KpiCard/KpiCard.js +1 -1
- package/dist/components/Login/Login.js +2 -2
- package/dist/components/SideMenu/SideMenu.js +12 -12
- package/dist/components/TotalDataGrid/TotalDataGrid.js +11 -11
- 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/main.js +1 -1
- package/package.json +1 -1
- package/dist/assets/portal-theme.css +0 -1
- package/dist/assets/theme.css +0 -1
|
@@ -3773,7 +3773,7 @@ const Vt = (e) => {
|
|
|
3773
3773
|
Vt.__ANT_BUTTON = !0;
|
|
3774
3774
|
const Wt = $e;
|
|
3775
3775
|
Wt.Button = Vt;
|
|
3776
|
-
const ur = (e) => /* @__PURE__ */ l.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M19 9L12 16L5 9", stroke: "#045529", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), mr = "
|
|
3776
|
+
const ur = (e) => /* @__PURE__ */ l.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ l.createElement("path", { d: "M19 9L12 16L5 9", stroke: "#045529", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), mr = "_avatar_1f4cc_1", pr = "_pointer_1f4cc_7", gr = "_flexRowCenter_1f4cc_11", fr = "_userTitle_1f4cc_18", xe = {
|
|
3777
3777
|
avatar: mr,
|
|
3778
3778
|
pointer: pr,
|
|
3779
3779
|
flexRowCenter: gr,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
._flexRowCenter_18rw0_1{display:flex!important;flex-direction:row;align-items:center}._mr10_18rw0_7,html[dir=rtl] ._mr10_18rw0_7{margin-right:10px}html[dir=ltr] ._mr10_18rw0_7{margin-left:10px}._text18_18rw0_19{font-size:var(--font-size-xlarge)}._content_18rw0_23{position:relative;top:-10px}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
._flexRowCenter_ufgj5_1{display:flex!important;flex-direction:row;align-items:center}html[dir=rtl] ._mr10_ufgj5_7{margin-right:10px}html[dir=ltr] ._mr10_ufgj5_7{margin-left:10px}._text18_ufgj5_15{font-size:var(--font-size-xlarge)}._content_ufgj5_19{position:relative;top:-10px}
|
package/dist/assets/KpiCard.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
._kpiCard_w4qw3_1{height:147px;background-color:var(--color-background);border-radius:8px}._width430_w4qw3_7{width:430px}@media (max-width: 1500px){._width430_w4qw3_7{width:200px}}._width384_w4qw3_16{width:384px}._flexCol_w4qw3_20{display:flex;flex-direction:column}._flexRow_w4qw3_25{display:flex;flex-direction:row}._title_w4qw3_30{font-size:var(--font-size-kpi-card);font-weight:500;color:var(--color-text)}@media (max-width: 900px){._title_w4qw3_30{font-size:var(--font-size-small)}}@media (max-width: 1100px){._title_w4qw3_30{font-size:var(--font-size-large)}}@media (max-width: 1400px){._title_w4qw3_30{font-size:var(--font-size-xxlarge)}}@media (max-width: 1600px){._title_w4qw3_30{font-size:var(--font-size-22)}}._content_w4qw3_56{font-size:var(--font-size-xxxlarge);font-weight:400;color:var(--color-secondary);margin-top:-10px}@media (max-width: 900px){._content_w4qw3_56{font-size:var(--font-size-xxsmall)}}@media (max-width: 1100px){._content_w4qw3_56{font-size:var(--font-size-small)}}@media (max-width: 1400px){._content_w4qw3_56{font-size:var(--font-size-medium)}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
._avatar_1f4cc_1{background-color:var(--color-avatar);vertical-align:middle;text-transform:uppercase}._pointer_1f4cc_7{cursor:pointer}._flexRowCenter_1f4cc_11{display:flex;flex-direction:row;align-content:center;align-items:center}._userTitle_1f4cc_18{font-size:var(--font-size-small);color:var(--color-secondary);margin-left:10px}[dir=rtl] ._userTitle_1f4cc_18{margin-right:10px}
|
|
@@ -2,26 +2,26 @@ 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 { M as d } from "../../index-Dz00OoV7.js";
|
|
5
|
-
import '../../assets/ConfirmationModal.css';const
|
|
5
|
+
import '../../assets/ConfirmationModal.css';const w = (o) => /* @__PURE__ */ n.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...o }, /* @__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 = (o) => /* @__PURE__ */ n.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...o }, /* @__PURE__ */ n.createElement("path", { d: "M6 18L18 6M6 6L18 18", stroke: "#045529", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), x = "_flexRowCenter_18rw0_1", g = "_mr10_18rw0_7", f = "_text18_18rw0_19", C = "_content_18rw0_23", t = {
|
|
6
6
|
flexRowCenter: x,
|
|
7
|
-
mr10:
|
|
8
|
-
text18:
|
|
7
|
+
mr10: g,
|
|
8
|
+
text18: f,
|
|
9
9
|
content: C
|
|
10
10
|
};
|
|
11
|
-
function
|
|
12
|
-
return
|
|
11
|
+
function u({ modalOpen: o, contentText: l, setModalOpen: s, commandOnOk: c, title: a, approve: i, cancel: h }) {
|
|
12
|
+
return /* @__PURE__ */ e(
|
|
13
13
|
d,
|
|
14
14
|
{
|
|
15
15
|
title: /* @__PURE__ */ r("span", { className: t.flexRowCenter, children: [
|
|
16
|
-
/* @__PURE__ */ e(
|
|
16
|
+
/* @__PURE__ */ e(w, { className: t.mr10 }),
|
|
17
17
|
/* @__PURE__ */ e("p", { className: t.text18, children: a })
|
|
18
18
|
] }),
|
|
19
19
|
centered: !0,
|
|
20
20
|
open: o,
|
|
21
21
|
onOk: () => {
|
|
22
|
-
c(),
|
|
22
|
+
c(), s(!1);
|
|
23
23
|
},
|
|
24
|
-
onCancel: () =>
|
|
24
|
+
onCancel: () => s(!1),
|
|
25
25
|
closeIcon: !1,
|
|
26
26
|
okText: /* @__PURE__ */ r("span", { className: t.flexRowCenter, children: [
|
|
27
27
|
/* @__PURE__ */ e(m, {}),
|
|
@@ -42,10 +42,10 @@ function L({ modalOpen: o, contentText: s, setModalOpen: l, commandOnOk: c, titl
|
|
|
42
42
|
/* @__PURE__ */ e(p, {}),
|
|
43
43
|
/* @__PURE__ */ e("span", { children: h })
|
|
44
44
|
] }),
|
|
45
|
-
children: /* @__PURE__ */ e("p", { className: t.content, children:
|
|
45
|
+
children: /* @__PURE__ */ e("p", { className: t.content, children: l })
|
|
46
46
|
}
|
|
47
47
|
);
|
|
48
48
|
}
|
|
49
49
|
export {
|
|
50
|
-
|
|
50
|
+
u as ConfirmationModal
|
|
51
51
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { B as
|
|
3
|
-
const
|
|
4
|
-
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { B as l } from "../../Button-xgiLW4_3.js";
|
|
3
|
+
const m = ({ content: r, height: o = "40px", width: t = "120px", direction: n = "left", size: a = "small", ...e }) => /* @__PURE__ */ i(
|
|
4
|
+
l,
|
|
5
5
|
{
|
|
6
6
|
variant: "outlined",
|
|
7
7
|
disableElevation: !0,
|
|
8
8
|
color: "primary",
|
|
9
9
|
size: a,
|
|
10
10
|
sx: {
|
|
11
|
-
float:
|
|
12
|
-
height:
|
|
11
|
+
float: n,
|
|
12
|
+
height: o,
|
|
13
13
|
borderRadius: 2,
|
|
14
14
|
border: "1px solid var(--color-gray)",
|
|
15
15
|
color: "var(--color-secondary)",
|
|
@@ -27,10 +27,10 @@ const c = ({ content: o, height: r = "40px", width: t = "120px", direction: e =
|
|
|
27
27
|
border: "1px solid var(--color-gray)"
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
|
-
...
|
|
31
|
-
children:
|
|
30
|
+
...e,
|
|
31
|
+
children: r
|
|
32
32
|
}
|
|
33
|
-
)
|
|
33
|
+
);
|
|
34
34
|
export {
|
|
35
|
-
|
|
35
|
+
m as CustomButton
|
|
36
36
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as l, jsxs as ot } from "react/jsx-runtime";
|
|
2
|
-
import * as
|
|
2
|
+
import * as c from "react";
|
|
3
3
|
import { GridPagination as nt } from "@mui/x-data-grid";
|
|
4
4
|
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";
|
|
5
|
-
import { u as st, a as
|
|
5
|
+
import { u as st, a as it, b as j, i as B } from "../../useSlot-Baxtq84W.js";
|
|
6
6
|
import { c as E } from "../../createSvgIcon-CgFXfzFk.js";
|
|
7
|
-
import { B as
|
|
8
|
-
const H = (t) => /* @__PURE__ */
|
|
7
|
+
import { B as rt } from "../../ButtonBase-DUKuDCWw.js";
|
|
8
|
+
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" }));
|
|
9
9
|
function lt(t) {
|
|
10
10
|
return Q("MuiPagination", t);
|
|
11
11
|
}
|
|
@@ -15,69 +15,69 @@ function pt(t = {}) {
|
|
|
15
15
|
boundaryCount: a = 1,
|
|
16
16
|
componentName: o = "usePagination",
|
|
17
17
|
count: n = 1,
|
|
18
|
-
defaultPage:
|
|
19
|
-
disabled:
|
|
20
|
-
hideNextButton:
|
|
21
|
-
hidePrevButton:
|
|
22
|
-
onChange:
|
|
18
|
+
defaultPage: v = 1,
|
|
19
|
+
disabled: p = !1,
|
|
20
|
+
hideNextButton: f = !1,
|
|
21
|
+
hidePrevButton: b = !1,
|
|
22
|
+
onChange: y,
|
|
23
23
|
page: P,
|
|
24
|
-
showFirstButton:
|
|
24
|
+
showFirstButton: L = !1,
|
|
25
25
|
showLastButton: z = !1,
|
|
26
26
|
siblingCount: C = 1,
|
|
27
27
|
...w
|
|
28
|
-
} = t, [
|
|
28
|
+
} = t, [d, u] = st({
|
|
29
29
|
controlled: P,
|
|
30
|
-
default:
|
|
30
|
+
default: v,
|
|
31
31
|
name: o,
|
|
32
32
|
state: "page"
|
|
33
|
-
}), O = (s,
|
|
34
|
-
P ||
|
|
35
|
-
},
|
|
36
|
-
const I =
|
|
33
|
+
}), O = (s, i) => {
|
|
34
|
+
P || u(i), y && y(s, i);
|
|
35
|
+
}, $ = (s, i) => {
|
|
36
|
+
const I = i - s + 1;
|
|
37
37
|
return Array.from({
|
|
38
38
|
length: I
|
|
39
39
|
}, (V, W) => s + W);
|
|
40
|
-
},
|
|
40
|
+
}, g = $(1, Math.min(a, n)), M = $(Math.max(n - a + 1, a + 1), n), m = Math.max(
|
|
41
41
|
Math.min(
|
|
42
42
|
// Natural start
|
|
43
|
-
|
|
43
|
+
d - C,
|
|
44
44
|
// Lower boundary when page is high
|
|
45
45
|
n - a - C * 2 - 1
|
|
46
46
|
),
|
|
47
47
|
// Greater than startPages
|
|
48
48
|
a + 2
|
|
49
|
-
),
|
|
49
|
+
), x = Math.min(
|
|
50
50
|
Math.max(
|
|
51
51
|
// Natural end
|
|
52
|
-
|
|
52
|
+
d + C,
|
|
53
53
|
// Upper boundary when page is low
|
|
54
54
|
a + C * 2 + 2
|
|
55
55
|
),
|
|
56
56
|
// Less than endPages
|
|
57
57
|
n - a - 1
|
|
58
58
|
), N = [
|
|
59
|
-
|
|
60
|
-
...
|
|
61
|
-
...
|
|
59
|
+
...L ? ["first"] : [],
|
|
60
|
+
...b ? [] : ["previous"],
|
|
61
|
+
...g,
|
|
62
62
|
// Start ellipsis
|
|
63
63
|
// eslint-disable-next-line no-nested-ternary
|
|
64
64
|
...m > a + 2 ? ["start-ellipsis"] : a + 1 < n - a ? [a + 1] : [],
|
|
65
65
|
// Sibling pages
|
|
66
|
-
|
|
66
|
+
...$(m, x),
|
|
67
67
|
// End ellipsis
|
|
68
68
|
// eslint-disable-next-line no-nested-ternary
|
|
69
|
-
...
|
|
69
|
+
...x < n - a - 1 ? ["end-ellipsis"] : n - a > a ? [n - a] : [],
|
|
70
70
|
...M,
|
|
71
|
-
...
|
|
71
|
+
...f ? [] : ["next"],
|
|
72
72
|
...z ? ["last"] : []
|
|
73
|
-
],
|
|
73
|
+
], h = (s) => {
|
|
74
74
|
switch (s) {
|
|
75
75
|
case "first":
|
|
76
76
|
return 1;
|
|
77
77
|
case "previous":
|
|
78
|
-
return
|
|
78
|
+
return d - 1;
|
|
79
79
|
case "next":
|
|
80
|
-
return
|
|
80
|
+
return d + 1;
|
|
81
81
|
case "last":
|
|
82
82
|
return n;
|
|
83
83
|
default:
|
|
@@ -86,22 +86,22 @@ function pt(t = {}) {
|
|
|
86
86
|
};
|
|
87
87
|
return {
|
|
88
88
|
items: N.map((s) => typeof s == "number" ? {
|
|
89
|
-
onClick: (
|
|
90
|
-
O(
|
|
89
|
+
onClick: (i) => {
|
|
90
|
+
O(i, s);
|
|
91
91
|
},
|
|
92
92
|
type: "page",
|
|
93
93
|
page: s,
|
|
94
|
-
selected: s ===
|
|
95
|
-
disabled:
|
|
96
|
-
"aria-current": s ===
|
|
94
|
+
selected: s === d,
|
|
95
|
+
disabled: p,
|
|
96
|
+
"aria-current": s === d ? "page" : void 0
|
|
97
97
|
} : {
|
|
98
|
-
onClick: (
|
|
99
|
-
O(
|
|
98
|
+
onClick: (i) => {
|
|
99
|
+
O(i, h(s));
|
|
100
100
|
},
|
|
101
101
|
type: s,
|
|
102
|
-
page:
|
|
102
|
+
page: h(s),
|
|
103
103
|
selected: !1,
|
|
104
|
-
disabled:
|
|
104
|
+
disabled: p || !s.includes("ellipsis") && (s === "next" || s === "last" ? d >= n : d <= 1)
|
|
105
105
|
}),
|
|
106
106
|
...w
|
|
107
107
|
};
|
|
@@ -109,7 +109,7 @@ function pt(t = {}) {
|
|
|
109
109
|
function ct(t) {
|
|
110
110
|
return Q("MuiPaginationItem", t);
|
|
111
111
|
}
|
|
112
|
-
const
|
|
112
|
+
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", {
|
|
113
113
|
d: "M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"
|
|
114
114
|
}), "FirstPage"), ut = E(/* @__PURE__ */ l("path", {
|
|
115
115
|
d: "M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"
|
|
@@ -127,13 +127,13 @@ const i = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
127
127
|
classes: a,
|
|
128
128
|
color: o,
|
|
129
129
|
disabled: n,
|
|
130
|
-
selected:
|
|
131
|
-
size:
|
|
132
|
-
shape:
|
|
133
|
-
type:
|
|
134
|
-
variant:
|
|
130
|
+
selected: v,
|
|
131
|
+
size: p,
|
|
132
|
+
shape: f,
|
|
133
|
+
type: b,
|
|
134
|
+
variant: y
|
|
135
135
|
} = t, P = {
|
|
136
|
-
root: ["root", `size${T(
|
|
136
|
+
root: ["root", `size${T(p)}`, y, f, o !== "standard" && `color${T(o)}`, o !== "standard" && `${y}${T(o)}`, n && "disabled", v && "selected", {
|
|
137
137
|
page: "page",
|
|
138
138
|
first: "firstLast",
|
|
139
139
|
last: "firstLast",
|
|
@@ -141,7 +141,7 @@ const i = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
141
141
|
"end-ellipsis": "ellipsis",
|
|
142
142
|
previous: "previousNext",
|
|
143
143
|
next: "previousNext"
|
|
144
|
-
}[
|
|
144
|
+
}[b]],
|
|
145
145
|
icon: ["icon"]
|
|
146
146
|
};
|
|
147
147
|
return Z(P, ct, a);
|
|
@@ -161,7 +161,7 @@ const i = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
161
161
|
margin: "0 3px",
|
|
162
162
|
color: (t.vars || t).palette.text.primary,
|
|
163
163
|
height: "auto",
|
|
164
|
-
[`&.${
|
|
164
|
+
[`&.${r.disabled}`]: {
|
|
165
165
|
opacity: (t.vars || t).palette.action.disabledOpacity
|
|
166
166
|
},
|
|
167
167
|
variants: [{
|
|
@@ -185,7 +185,7 @@ const i = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
185
185
|
fontSize: t.typography.pxToRem(15)
|
|
186
186
|
}
|
|
187
187
|
}]
|
|
188
|
-
}))), yt = R(
|
|
188
|
+
}))), yt = R(rt, {
|
|
189
189
|
name: "MuiPaginationItem",
|
|
190
190
|
slot: "Root",
|
|
191
191
|
overridesResolver: tt
|
|
@@ -201,10 +201,10 @@ const i = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
201
201
|
padding: "0 6px",
|
|
202
202
|
margin: "0 3px",
|
|
203
203
|
color: (t.vars || t).palette.text.primary,
|
|
204
|
-
[`&.${
|
|
204
|
+
[`&.${r.focusVisible}`]: {
|
|
205
205
|
backgroundColor: (t.vars || t).palette.action.focus
|
|
206
206
|
},
|
|
207
|
-
[`&.${
|
|
207
|
+
[`&.${r.disabled}`]: {
|
|
208
208
|
opacity: (t.vars || t).palette.action.disabledOpacity
|
|
209
209
|
},
|
|
210
210
|
transition: t.transitions.create(["color", "background-color"], {
|
|
@@ -217,7 +217,7 @@ const i = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
217
217
|
backgroundColor: "transparent"
|
|
218
218
|
}
|
|
219
219
|
},
|
|
220
|
-
[`&.${
|
|
220
|
+
[`&.${r.selected}`]: {
|
|
221
221
|
backgroundColor: (t.vars || t).palette.action.selected,
|
|
222
222
|
"&:hover": {
|
|
223
223
|
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),
|
|
@@ -226,10 +226,10 @@ const i = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
226
226
|
backgroundColor: (t.vars || t).palette.action.selected
|
|
227
227
|
}
|
|
228
228
|
},
|
|
229
|
-
[`&.${
|
|
229
|
+
[`&.${r.focusVisible}`]: {
|
|
230
230
|
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)
|
|
231
231
|
},
|
|
232
|
-
[`&.${
|
|
232
|
+
[`&.${r.disabled}`]: {
|
|
233
233
|
opacity: 1,
|
|
234
234
|
color: (t.vars || t).palette.action.disabled,
|
|
235
235
|
backgroundColor: (t.vars || t).palette.action.selected
|
|
@@ -270,8 +270,8 @@ const i = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
270
270
|
},
|
|
271
271
|
style: {
|
|
272
272
|
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)"}`,
|
|
273
|
-
[`&.${
|
|
274
|
-
[`&.${
|
|
273
|
+
[`&.${r.selected}`]: {
|
|
274
|
+
[`&.${r.disabled}`]: {
|
|
275
275
|
borderColor: (t.vars || t).palette.action.disabledBackground,
|
|
276
276
|
color: (t.vars || t).palette.action.disabled
|
|
277
277
|
}
|
|
@@ -282,8 +282,8 @@ const i = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
282
282
|
variant: "text"
|
|
283
283
|
},
|
|
284
284
|
style: {
|
|
285
|
-
[`&.${
|
|
286
|
-
[`&.${
|
|
285
|
+
[`&.${r.selected}`]: {
|
|
286
|
+
[`&.${r.disabled}`]: {
|
|
287
287
|
color: (t.vars || t).palette.action.disabled
|
|
288
288
|
}
|
|
289
289
|
}
|
|
@@ -294,7 +294,7 @@ const i = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
294
294
|
color: a
|
|
295
295
|
},
|
|
296
296
|
style: {
|
|
297
|
-
[`&.${
|
|
297
|
+
[`&.${r.selected}`]: {
|
|
298
298
|
color: (t.vars || t).palette[a].contrastText,
|
|
299
299
|
backgroundColor: (t.vars || t).palette[a].main,
|
|
300
300
|
"&:hover": {
|
|
@@ -304,10 +304,10 @@ const i = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
304
304
|
backgroundColor: (t.vars || t).palette[a].main
|
|
305
305
|
}
|
|
306
306
|
},
|
|
307
|
-
[`&.${
|
|
307
|
+
[`&.${r.focusVisible}`]: {
|
|
308
308
|
backgroundColor: (t.vars || t).palette[a].dark
|
|
309
309
|
},
|
|
310
|
-
[`&.${
|
|
310
|
+
[`&.${r.disabled}`]: {
|
|
311
311
|
color: (t.vars || t).palette.action.disabled
|
|
312
312
|
}
|
|
313
313
|
}
|
|
@@ -318,7 +318,7 @@ const i = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
318
318
|
color: a
|
|
319
319
|
},
|
|
320
320
|
style: {
|
|
321
|
-
[`&.${
|
|
321
|
+
[`&.${r.selected}`]: {
|
|
322
322
|
color: (t.vars || t).palette[a].main,
|
|
323
323
|
border: `1px solid ${t.vars ? `rgba(${t.vars.palette[a].mainChannel} / 0.5)` : S(t.palette[a].main, 0.5)}`,
|
|
324
324
|
backgroundColor: t.vars ? `rgba(${t.vars.palette[a].mainChannel} / ${t.vars.palette.action.activatedOpacity})` : S(t.palette[a].main, t.palette.action.activatedOpacity),
|
|
@@ -329,7 +329,7 @@ const i = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
329
329
|
backgroundColor: "transparent"
|
|
330
330
|
}
|
|
331
331
|
},
|
|
332
|
-
[`&.${
|
|
332
|
+
[`&.${r.focusVisible}`]: {
|
|
333
333
|
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)
|
|
334
334
|
}
|
|
335
335
|
}
|
|
@@ -358,87 +358,87 @@ const i = X("MuiPaginationItem", ["root", "page", "sizeSmall", "sizeLarge", "tex
|
|
|
358
358
|
fontSize: t.typography.pxToRem(22)
|
|
359
359
|
}
|
|
360
360
|
}]
|
|
361
|
-
}))), U = /* @__PURE__ */
|
|
361
|
+
}))), U = /* @__PURE__ */ c.forwardRef(function(a, o) {
|
|
362
362
|
const n = Y({
|
|
363
363
|
props: a,
|
|
364
364
|
name: "MuiPaginationItem"
|
|
365
365
|
}), {
|
|
366
|
-
className:
|
|
367
|
-
color:
|
|
368
|
-
component:
|
|
369
|
-
components:
|
|
370
|
-
disabled:
|
|
366
|
+
className: v,
|
|
367
|
+
color: p = "standard",
|
|
368
|
+
component: f,
|
|
369
|
+
components: b = {},
|
|
370
|
+
disabled: y = !1,
|
|
371
371
|
page: P,
|
|
372
|
-
selected:
|
|
372
|
+
selected: L = !1,
|
|
373
373
|
shape: z = "circular",
|
|
374
374
|
size: C = "medium",
|
|
375
375
|
slots: w = {},
|
|
376
|
-
slotProps:
|
|
377
|
-
type:
|
|
376
|
+
slotProps: d = {},
|
|
377
|
+
type: u = "page",
|
|
378
378
|
variant: O = "text",
|
|
379
|
-
|
|
380
|
-
} = n,
|
|
379
|
+
...$
|
|
380
|
+
} = n, g = {
|
|
381
381
|
...n,
|
|
382
|
-
color:
|
|
383
|
-
disabled:
|
|
384
|
-
selected:
|
|
382
|
+
color: p,
|
|
383
|
+
disabled: y,
|
|
384
|
+
selected: L,
|
|
385
385
|
shape: z,
|
|
386
386
|
size: C,
|
|
387
|
-
type:
|
|
387
|
+
type: u,
|
|
388
388
|
variant: O
|
|
389
|
-
}, M =
|
|
389
|
+
}, M = it(), m = ft(g), x = {
|
|
390
390
|
slots: {
|
|
391
|
-
previous: w.previous ??
|
|
392
|
-
next: w.next ??
|
|
393
|
-
first: w.first ??
|
|
394
|
-
last: w.last ??
|
|
391
|
+
previous: w.previous ?? b.previous,
|
|
392
|
+
next: w.next ?? b.next,
|
|
393
|
+
first: w.first ?? b.first,
|
|
394
|
+
last: w.last ?? b.last
|
|
395
395
|
},
|
|
396
|
-
slotProps:
|
|
397
|
-
}, [N,
|
|
396
|
+
slotProps: d
|
|
397
|
+
}, [N, h] = j("previous", {
|
|
398
398
|
elementType: gt,
|
|
399
|
-
externalForwardedProps:
|
|
400
|
-
ownerState:
|
|
399
|
+
externalForwardedProps: x,
|
|
400
|
+
ownerState: g
|
|
401
401
|
}), [k, s] = j("next", {
|
|
402
402
|
elementType: vt,
|
|
403
|
-
externalForwardedProps:
|
|
404
|
-
ownerState:
|
|
405
|
-
}), [
|
|
403
|
+
externalForwardedProps: x,
|
|
404
|
+
ownerState: g
|
|
405
|
+
}), [i, I] = j("first", {
|
|
406
406
|
elementType: dt,
|
|
407
|
-
externalForwardedProps:
|
|
408
|
-
ownerState:
|
|
407
|
+
externalForwardedProps: x,
|
|
408
|
+
ownerState: g
|
|
409
409
|
}), [V, W] = j("last", {
|
|
410
410
|
elementType: ut,
|
|
411
|
-
externalForwardedProps:
|
|
412
|
-
ownerState:
|
|
411
|
+
externalForwardedProps: x,
|
|
412
|
+
ownerState: g
|
|
413
413
|
}), D = M ? {
|
|
414
414
|
previous: "next",
|
|
415
415
|
next: "previous",
|
|
416
416
|
first: "last",
|
|
417
417
|
last: "first"
|
|
418
|
-
}[
|
|
418
|
+
}[u] : u, G = {
|
|
419
419
|
previous: N,
|
|
420
420
|
next: k,
|
|
421
|
-
first:
|
|
421
|
+
first: i,
|
|
422
422
|
last: V
|
|
423
423
|
}[D], at = {
|
|
424
|
-
previous:
|
|
424
|
+
previous: h,
|
|
425
425
|
next: s,
|
|
426
426
|
first: I,
|
|
427
427
|
last: W
|
|
428
428
|
}[D];
|
|
429
|
-
return
|
|
429
|
+
return u === "start-ellipsis" || u === "end-ellipsis" ? /* @__PURE__ */ l(bt, {
|
|
430
430
|
ref: o,
|
|
431
|
-
ownerState:
|
|
432
|
-
className: A(m.root,
|
|
431
|
+
ownerState: g,
|
|
432
|
+
className: A(m.root, v),
|
|
433
433
|
children: "…"
|
|
434
434
|
}) : /* @__PURE__ */ ot(yt, {
|
|
435
435
|
ref: o,
|
|
436
|
-
ownerState:
|
|
437
|
-
component:
|
|
438
|
-
disabled:
|
|
439
|
-
className: A(m.root,
|
|
440
|
-
|
|
441
|
-
children: [
|
|
436
|
+
ownerState: g,
|
|
437
|
+
component: f,
|
|
438
|
+
disabled: y,
|
|
439
|
+
className: A(m.root, v),
|
|
440
|
+
...$,
|
|
441
|
+
children: [u === "page" && P, G ? /* @__PURE__ */ l(xt, {
|
|
442
442
|
...at,
|
|
443
443
|
className: m.icon,
|
|
444
444
|
as: G
|
|
@@ -580,72 +580,72 @@ const mt = (t) => {
|
|
|
580
580
|
function wt(t, a, o) {
|
|
581
581
|
return t === "page" ? `${o ? "" : "Go to "}page ${a}` : `Go to ${t} page`;
|
|
582
582
|
}
|
|
583
|
-
const et = /* @__PURE__ */
|
|
583
|
+
const et = /* @__PURE__ */ c.forwardRef(function(a, o) {
|
|
584
584
|
const n = Y({
|
|
585
585
|
props: a,
|
|
586
586
|
name: "MuiPagination"
|
|
587
587
|
}), {
|
|
588
|
-
boundaryCount:
|
|
589
|
-
className:
|
|
590
|
-
color:
|
|
591
|
-
count:
|
|
592
|
-
defaultPage:
|
|
588
|
+
boundaryCount: v = 1,
|
|
589
|
+
className: p,
|
|
590
|
+
color: f = "standard",
|
|
591
|
+
count: b = 1,
|
|
592
|
+
defaultPage: y = 1,
|
|
593
593
|
disabled: P = !1,
|
|
594
|
-
getItemAriaLabel:
|
|
594
|
+
getItemAriaLabel: L = wt,
|
|
595
595
|
hideNextButton: z = !1,
|
|
596
596
|
hidePrevButton: C = !1,
|
|
597
597
|
onChange: w,
|
|
598
|
-
page:
|
|
599
|
-
renderItem:
|
|
600
|
-
...
|
|
598
|
+
page: d,
|
|
599
|
+
renderItem: u = (i) => /* @__PURE__ */ l(U, {
|
|
600
|
+
...i
|
|
601
601
|
}),
|
|
602
602
|
shape: O = "circular",
|
|
603
|
-
showFirstButton:
|
|
604
|
-
showLastButton:
|
|
603
|
+
showFirstButton: $ = !1,
|
|
604
|
+
showLastButton: g = !1,
|
|
605
605
|
siblingCount: M = 1,
|
|
606
606
|
size: m = "medium",
|
|
607
|
-
variant:
|
|
607
|
+
variant: x = "text",
|
|
608
608
|
...N
|
|
609
609
|
} = n, {
|
|
610
|
-
items:
|
|
610
|
+
items: h
|
|
611
611
|
} = pt({
|
|
612
612
|
...n,
|
|
613
613
|
componentName: "Pagination"
|
|
614
614
|
}), k = {
|
|
615
615
|
...n,
|
|
616
|
-
boundaryCount:
|
|
617
|
-
color:
|
|
618
|
-
count:
|
|
619
|
-
defaultPage:
|
|
616
|
+
boundaryCount: v,
|
|
617
|
+
color: f,
|
|
618
|
+
count: b,
|
|
619
|
+
defaultPage: y,
|
|
620
620
|
disabled: P,
|
|
621
|
-
getItemAriaLabel:
|
|
621
|
+
getItemAriaLabel: L,
|
|
622
622
|
hideNextButton: z,
|
|
623
623
|
hidePrevButton: C,
|
|
624
|
-
renderItem:
|
|
624
|
+
renderItem: u,
|
|
625
625
|
shape: O,
|
|
626
|
-
showFirstButton:
|
|
627
|
-
showLastButton:
|
|
626
|
+
showFirstButton: $,
|
|
627
|
+
showLastButton: g,
|
|
628
628
|
siblingCount: M,
|
|
629
629
|
size: m,
|
|
630
|
-
variant:
|
|
630
|
+
variant: x
|
|
631
631
|
}, s = mt(k);
|
|
632
632
|
return /* @__PURE__ */ l(Pt, {
|
|
633
633
|
"aria-label": "pagination navigation",
|
|
634
|
-
className: A(s.root,
|
|
634
|
+
className: A(s.root, p),
|
|
635
635
|
ownerState: k,
|
|
636
636
|
ref: o,
|
|
637
637
|
...N,
|
|
638
638
|
children: /* @__PURE__ */ l(Ct, {
|
|
639
639
|
className: s.ul,
|
|
640
640
|
ownerState: k,
|
|
641
|
-
children:
|
|
642
|
-
children:
|
|
643
|
-
...
|
|
644
|
-
color:
|
|
645
|
-
"aria-label":
|
|
641
|
+
children: h.map((i, I) => /* @__PURE__ */ l("li", {
|
|
642
|
+
children: u({
|
|
643
|
+
...i,
|
|
644
|
+
color: f,
|
|
645
|
+
"aria-label": L(i.type, i.page, i.selected),
|
|
646
646
|
shape: O,
|
|
647
647
|
size: m,
|
|
648
|
-
variant:
|
|
648
|
+
variant: x
|
|
649
649
|
})
|
|
650
650
|
}, I))
|
|
651
651
|
})
|
|
@@ -770,18 +770,18 @@ function Ot({
|
|
|
770
770
|
pageCount: a,
|
|
771
771
|
page: o,
|
|
772
772
|
onPageChange: n,
|
|
773
|
-
className:
|
|
773
|
+
className: v
|
|
774
774
|
}) {
|
|
775
|
-
return
|
|
775
|
+
return /* @__PURE__ */ l(
|
|
776
776
|
et,
|
|
777
777
|
{
|
|
778
778
|
showFirstButton: !0,
|
|
779
779
|
showLastButton: !0,
|
|
780
|
-
className:
|
|
780
|
+
className: v,
|
|
781
781
|
count: a,
|
|
782
782
|
page: o + 1,
|
|
783
|
-
onChange: (p,
|
|
784
|
-
n(p,
|
|
783
|
+
onChange: (p, f) => {
|
|
784
|
+
n(p, f - 1);
|
|
785
785
|
},
|
|
786
786
|
boundaryCount: 0,
|
|
787
787
|
siblingCount: 1,
|
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { useState as
|
|
3
|
-
import { M as
|
|
4
|
-
import '../../assets/ErrorModal.css';const
|
|
5
|
-
flexRowCenter:
|
|
2
|
+
import { useState as h } from "react";
|
|
3
|
+
import { M as p } from "../../index-Dz00OoV7.js";
|
|
4
|
+
import '../../assets/ErrorModal.css';const d = "_flexRowCenter_ufgj5_1", x = "_text18_ufgj5_15", f = "_content_ufgj5_19", t = {
|
|
5
|
+
flexRowCenter: d,
|
|
6
6
|
text18: x,
|
|
7
|
-
content:
|
|
8
|
-
},
|
|
9
|
-
|
|
10
|
-
const [s, a] = i(!0), h = () => {
|
|
7
|
+
content: f
|
|
8
|
+
}, C = ({ error: o, resetErrorBoundary: n, title: r, tryAgain: l, cancel: c }) => {
|
|
9
|
+
const [s, a] = h(!0), i = () => {
|
|
11
10
|
a(!1);
|
|
12
11
|
};
|
|
13
12
|
return /* @__PURE__ */ e(
|
|
14
|
-
|
|
13
|
+
p,
|
|
15
14
|
{
|
|
16
15
|
title: /* @__PURE__ */ e("span", { className: t.flexRowCenter, children: /* @__PURE__ */ e("p", { className: t.text18, children: r }) }),
|
|
17
16
|
centered: !0,
|
|
18
17
|
open: s,
|
|
19
18
|
onOk: n,
|
|
20
|
-
onCancel:
|
|
19
|
+
onCancel: i,
|
|
21
20
|
closeIcon: !0,
|
|
22
21
|
okText: /* @__PURE__ */ e("span", { className: t.flexRowCenter, children: /* @__PURE__ */ e("span", { children: l }) }),
|
|
23
22
|
okButtonProps: {
|
|
@@ -37,5 +36,5 @@ import '../../assets/ErrorModal.css';const p = "_flexRowCenter_1wx1z_85", x = "_
|
|
|
37
36
|
);
|
|
38
37
|
};
|
|
39
38
|
export {
|
|
40
|
-
|
|
39
|
+
C as ErrorModal
|
|
41
40
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsx as e, jsxs as n } from "react/jsx-runtime";
|
|
2
2
|
import * as r from "react";
|
|
3
|
-
import { S as
|
|
4
|
-
import { M as
|
|
5
|
-
import '../../assets/ErrorModal.css';const
|
|
6
|
-
flexRowCenter:
|
|
7
|
-
mr10:
|
|
8
|
-
text18:
|
|
9
|
-
content:
|
|
3
|
+
import { S as i } from "../../VModalIcon-D7L4bQLO.js";
|
|
4
|
+
import { M as m } from "../../index-Dz00OoV7.js";
|
|
5
|
+
import '../../assets/ErrorModal.css';const d = (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" })), f = "_flexRowCenter_ufgj5_1", p = "_mr10_ufgj5_7", x = "_text18_ufgj5_15", h = "_content_ufgj5_19", t = {
|
|
6
|
+
flexRowCenter: f,
|
|
7
|
+
mr10: p,
|
|
8
|
+
text18: x,
|
|
9
|
+
content: h
|
|
10
10
|
};
|
|
11
|
-
function
|
|
12
|
-
return
|
|
13
|
-
|
|
11
|
+
function w({ modalOpen: o, contentText: s, setModalOpen: l, title: c, okText: a }) {
|
|
12
|
+
return /* @__PURE__ */ e(
|
|
13
|
+
m,
|
|
14
14
|
{
|
|
15
15
|
title: /* @__PURE__ */ n("span", { className: t.flexRowCenter, children: [
|
|
16
|
-
/* @__PURE__ */ e(
|
|
16
|
+
/* @__PURE__ */ e(d, { className: t.mr10 }),
|
|
17
17
|
/* @__PURE__ */ e("p", { className: t.text18, children: c })
|
|
18
18
|
] }),
|
|
19
19
|
centered: !0,
|
|
@@ -21,7 +21,7 @@ function k({ modalOpen: o, contentText: s, setModalOpen: l, title: c, okText: a
|
|
|
21
21
|
onOk: () => l(!1),
|
|
22
22
|
closeIcon: !1,
|
|
23
23
|
okText: /* @__PURE__ */ n("span", { className: t.flexRowCenter, children: [
|
|
24
|
-
/* @__PURE__ */ e(
|
|
24
|
+
/* @__PURE__ */ e(i, {}),
|
|
25
25
|
/* @__PURE__ */ e("span", { children: a })
|
|
26
26
|
] }),
|
|
27
27
|
okButtonProps: {
|
|
@@ -40,5 +40,5 @@ function k({ modalOpen: o, contentText: s, setModalOpen: l, title: c, okText: a
|
|
|
40
40
|
);
|
|
41
41
|
}
|
|
42
42
|
export {
|
|
43
|
-
|
|
43
|
+
w as InfoModal
|
|
44
44
|
};
|
|
@@ -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 = "
|
|
2386
|
+
const Bn = "_kpiCard_w4qw3_1", jn = "_width430_w4qw3_7", An = "_width384_w4qw3_16", Gn = "_flexCol_w4qw3_20", Hn = "_flexRow_w4qw3_25", Wn = "_title_w4qw3_30", Vn = "_content_w4qw3_56", Ce = {
|
|
2387
2387
|
kpiCard: Bn,
|
|
2388
2388
|
width430: jn,
|
|
2389
2389
|
width384: An,
|
|
@@ -8848,7 +8848,7 @@ process.env.NODE_ENV !== "production" && (Bt.propTypes = {
|
|
|
8848
8848
|
});
|
|
8849
8849
|
const ui = ke(/* @__PURE__ */ v("path", {
|
|
8850
8850
|
d: "M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2M9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9zm9 14H6V10h12zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2"
|
|
8851
|
-
}), "LockOutlined"), Si = ({ title: t, disableAll: o, error: n, setError: r, handleSubmit: i, version: s }) =>
|
|
8851
|
+
}), "LockOutlined"), Si = ({ title: t, disableAll: o, error: n, setError: r, handleSubmit: i, version: s }) => /* @__PURE__ */ ce(Ko, { component: "main", maxWidth: "xs", children: [
|
|
8852
8852
|
/* @__PURE__ */ v(Xo, {}),
|
|
8853
8853
|
/* @__PURE__ */ ce(
|
|
8854
8854
|
oo,
|
|
@@ -8906,7 +8906,7 @@ const ui = ke(/* @__PURE__ */ v("path", {
|
|
|
8906
8906
|
]
|
|
8907
8907
|
}
|
|
8908
8908
|
)
|
|
8909
|
-
] })
|
|
8909
|
+
] });
|
|
8910
8910
|
export {
|
|
8911
8911
|
Si as Login
|
|
8912
8912
|
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e, Fragment as M } from "react/jsx-runtime";
|
|
2
2
|
import * as n from "react";
|
|
3
|
-
import { M as R, S as N, U as h } from "../../UserInfoDropdown-
|
|
3
|
+
import { M as R, S as N, U as h } from "../../UserInfoDropdown-DcgHMy3r.js";
|
|
4
4
|
import { S as H } from "../../InvencoGVR-qnTq-d6S.js";
|
|
5
5
|
import '../../assets/SideMenu.css';/* empty css */
|
|
6
|
-
const v = (l) => /* @__PURE__ */ n.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...l }, /* @__PURE__ */ n.createElement("path", { d: "M11 19L4 12L11 5M19 19L12 12L19 5", stroke: "#045529", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), p = (l) => /* @__PURE__ */ n.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...l }, /* @__PURE__ */ n.createElement("path", { d: "M13 5L20 12L13 19M5 5L12 12L5 19", stroke: "#045529", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), V = (l) => /* @__PURE__ */ n.createElement("svg", { width: 28, height: 27, viewBox: "0 0 28 27", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...l }, /* @__PURE__ */ n.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.5 4V9C10.5 9.55228 10.0523 10 9.5 10H4.5L6.5 12H9.5C11.1569 12 12.5 10.6569 12.5 9V6L10.5 4Z", fill: "#12121A" }), /* @__PURE__ */ n.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.5 6V0L8.5 2V7.75C8.5 7.88807 8.38807 8 8.25 8H2.5L0.5 6H6.5Z", fill: "#12121A" }), /* @__PURE__ */ n.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.5 4V9C17.5 9.55228 17.9477 10 18.5 10H23.5L21.5 12H18.5C16.8431 12 15.5 10.6569 15.5 9V6L17.5 4Z", fill: "#12121A" }), /* @__PURE__ */ n.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M21.5 6V0L19.5 2V7.75C19.5 7.88807 19.6119 8 19.75 8H25.5L27.5 6H21.5Z", fill: "#12121A" }), /* @__PURE__ */ n.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.5 23V18C10.5 17.4477 10.0523 17 9.5 17H4.5L6.5 15H9.5C11.1569 15 12.5 16.3431 12.5 18V21L10.5 23Z", fill: "#12121A" }), /* @__PURE__ */ n.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.5 21V27L8.5 25V19.25C8.5 19.1119 8.38807 19 8.25 19H2.5L0.5 21H6.5Z", fill: "#12121A" })),
|
|
6
|
+
const v = (l) => /* @__PURE__ */ n.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...l }, /* @__PURE__ */ n.createElement("path", { d: "M11 19L4 12L11 5M19 19L12 12L19 5", stroke: "#045529", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), p = (l) => /* @__PURE__ */ n.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...l }, /* @__PURE__ */ n.createElement("path", { d: "M13 5L20 12L13 19M5 5L12 12L5 19", stroke: "#045529", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), V = (l) => /* @__PURE__ */ n.createElement("svg", { width: 28, height: 27, viewBox: "0 0 28 27", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...l }, /* @__PURE__ */ n.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.5 4V9C10.5 9.55228 10.0523 10 9.5 10H4.5L6.5 12H9.5C11.1569 12 12.5 10.6569 12.5 9V6L10.5 4Z", fill: "#12121A" }), /* @__PURE__ */ n.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.5 6V0L8.5 2V7.75C8.5 7.88807 8.38807 8 8.25 8H2.5L0.5 6H6.5Z", fill: "#12121A" }), /* @__PURE__ */ n.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M17.5 4V9C17.5 9.55228 17.9477 10 18.5 10H23.5L21.5 12H18.5C16.8431 12 15.5 10.6569 15.5 9V6L17.5 4Z", fill: "#12121A" }), /* @__PURE__ */ n.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M21.5 6V0L19.5 2V7.75C19.5 7.88807 19.6119 8 19.75 8H25.5L27.5 6H21.5Z", fill: "#12121A" }), /* @__PURE__ */ n.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.5 23V18C10.5 17.4477 10.0523 17 9.5 17H4.5L6.5 15H9.5C11.1569 15 12.5 16.3431 12.5 18V21L10.5 23Z", fill: "#12121A" }), /* @__PURE__ */ n.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.5 21V27L8.5 25V19.25C8.5 19.1119 8.38807 19 8.25 19H2.5L0.5 21H6.5Z", fill: "#12121A" })), b = ({
|
|
7
7
|
logo: l,
|
|
8
8
|
title: u,
|
|
9
9
|
softwareName: r,
|
|
10
|
-
majorVersion:
|
|
11
|
-
menuItems:
|
|
10
|
+
majorVersion: L,
|
|
11
|
+
menuItems: f,
|
|
12
12
|
userInfoDropdownItems: c,
|
|
13
13
|
collapsed: t,
|
|
14
14
|
username: a,
|
|
15
15
|
isRtl: d,
|
|
16
|
-
openKeys:
|
|
16
|
+
openKeys: w,
|
|
17
17
|
toggleCollapsed: o,
|
|
18
|
-
onClick:
|
|
18
|
+
onClick: g,
|
|
19
19
|
handleMenuClickUserInfo: s,
|
|
20
20
|
handleOpenChange: x
|
|
21
21
|
}) => {
|
|
22
22
|
const m = /@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}/g, k = t ? 54 : 250, C = t ? 50 : 250;
|
|
23
|
-
return
|
|
23
|
+
return /* @__PURE__ */ i("div", { style: { width: k }, className: "main-container", children: [
|
|
24
24
|
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e("div", { children: t ? /* @__PURE__ */ e("div", { className: "flex-col-center mt-15", children: d ? /* @__PURE__ */ e(v, { onClick: o, className: "pointer" }) : /* @__PURE__ */ e(p, { onClick: o, className: "pointer" }) }) : /* @__PURE__ */ i("div", { className: "space-around-center", children: [
|
|
25
25
|
/* @__PURE__ */ i("div", { className: "flex-row-center", children: [
|
|
26
26
|
l,
|
|
@@ -31,7 +31,7 @@ const v = (l) => /* @__PURE__ */ n.createElement("svg", { width: 24, height: 24,
|
|
|
31
31
|
" ",
|
|
32
32
|
r,
|
|
33
33
|
": ",
|
|
34
|
-
|
|
34
|
+
L
|
|
35
35
|
] }) : ""
|
|
36
36
|
] })
|
|
37
37
|
] }),
|
|
@@ -40,12 +40,12 @@ const v = (l) => /* @__PURE__ */ n.createElement("svg", { width: 24, height: 24,
|
|
|
40
40
|
/* @__PURE__ */ e(
|
|
41
41
|
R,
|
|
42
42
|
{
|
|
43
|
-
onClick:
|
|
43
|
+
onClick: g,
|
|
44
44
|
mode: "inline",
|
|
45
45
|
onOpenChange: x,
|
|
46
|
-
openKeys:
|
|
46
|
+
openKeys: w,
|
|
47
47
|
selectedKeys: [location.pathname.slice(location.pathname.lastIndexOf("/"), location.pathname.length)],
|
|
48
|
-
items: t ? void 0 :
|
|
48
|
+
items: t ? void 0 : f,
|
|
49
49
|
expandIcon: /* @__PURE__ */ e(N, {}),
|
|
50
50
|
style: {
|
|
51
51
|
height: t ? "82vh" : "80vh",
|
|
@@ -62,5 +62,5 @@ const v = (l) => /* @__PURE__ */ n.createElement("svg", { width: 24, height: 24,
|
|
|
62
62
|
] });
|
|
63
63
|
};
|
|
64
64
|
export {
|
|
65
|
-
|
|
65
|
+
b as SideMenu
|
|
66
66
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { DataGrid as l, gridClasses as o } from "@mui/x-data-grid";
|
|
3
|
-
const
|
|
3
|
+
const c = ({
|
|
4
4
|
rows: r,
|
|
5
|
-
isFetching:
|
|
6
|
-
columnsDefinitions:
|
|
7
|
-
}) =>
|
|
5
|
+
isFetching: n,
|
|
6
|
+
columnsDefinitions: e
|
|
7
|
+
}) => /* @__PURE__ */ t(
|
|
8
8
|
l,
|
|
9
9
|
{
|
|
10
|
-
loading: (!r || !r.length) &&
|
|
11
|
-
rows: r.map((
|
|
12
|
-
columns:
|
|
13
|
-
getRowClassName: (
|
|
10
|
+
loading: (!r || !r.length) && n,
|
|
11
|
+
rows: r.map((a, i) => (a.id = i, a)),
|
|
12
|
+
columns: e,
|
|
13
|
+
getRowClassName: (a) => a.id === r.length - 1 ? "last-row" : "",
|
|
14
14
|
sx: {
|
|
15
15
|
"& .last-row": {
|
|
16
16
|
"& .MuiDataGrid-cellContent": {
|
|
@@ -115,7 +115,7 @@ const p = ({
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
|
-
)
|
|
118
|
+
);
|
|
119
119
|
export {
|
|
120
|
-
|
|
120
|
+
c as TotalDataGrid
|
|
121
121
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { userInfoDropdownItems as s } from "../../mock.js";
|
|
3
|
-
import { U as o } from "../../UserInfoDropdown-
|
|
3
|
+
import { U as o } from "../../UserInfoDropdown-DcgHMy3r.js";
|
|
4
4
|
const n = {
|
|
5
5
|
title: "User Info Dropdown",
|
|
6
6
|
component: o,
|
package/dist/components/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import { LoadingAnimation as D } from "./LoadingAnimation/LoadingAnimation.js";
|
|
|
10
10
|
import { Login as K } from "./Login/Login.js";
|
|
11
11
|
import { SideMenu as U } from "./SideMenu/SideMenu.js";
|
|
12
12
|
import { TotalDataGrid as A } from "./TotalDataGrid/TotalDataGrid.js";
|
|
13
|
-
import { U as E } from "../UserInfoDropdown-
|
|
13
|
+
import { U as E } from "../UserInfoDropdown-DcgHMy3r.js";
|
|
14
14
|
export {
|
|
15
15
|
t as ConfirmationModal,
|
|
16
16
|
m as CustomButton,
|
package/dist/main.js
CHANGED
|
@@ -10,7 +10,7 @@ import { LoadingAnimation as L } from "./components/LoadingAnimation/LoadingAnim
|
|
|
10
10
|
import { Login as P } from "./components/Login/Login.js";
|
|
11
11
|
import { SideMenu as h } from "./components/SideMenu/SideMenu.js";
|
|
12
12
|
import { TotalDataGrid as A } from "./components/TotalDataGrid/TotalDataGrid.js";
|
|
13
|
-
import { U as I } from "./UserInfoDropdown-
|
|
13
|
+
import { U as I } from "./UserInfoDropdown-DcgHMy3r.js";
|
|
14
14
|
import { chunkArray as b } from "./portal-utils/chunkArray.js";
|
|
15
15
|
import { cn as v } from "./portal-utils/cn.js";
|
|
16
16
|
import { currency as B, date as E, datetime as F, decimal as G, fuelUnitPrice as S, fuelVolume as T, hours as V, number as W, time as j } from "./portal-utils/formatters.js";
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
:root{--color-primary: #cbddf3;--color-secondary: #626367;--color-background: #f0f0f0;--color-background-secondary: #f3f6f8;--color-text: #12121a;--color-text-secondary: #111111;--color-text-light: #777;--color-text-dark: #333;--color-border: #ddd;--color-highlight: #05a952;--color-highlight-data-grid: rgba(5,169,82,.10196);--color-mui-selected: #F5F7FB;--color-warning: #eea63c;--color-critical: #f95048;--color-neutral: #fafafa;--color-red: red;--color-gray: #e0e0e0;--color-blue: #0054EE;--color-light-gray-blue: #E6EBEF;--color-very-light-gray: #DBDBDB;--color-white: white;--color-green: green;--color-ant-theme: #00b96b;--color-avatar: #41b06e;--font-size-xxsmall: 8px;--font-size-9: 9px;--font-size-xsmall: 10px;--font-size-small: 12px;--font-size-normal: 13px;--font-size-medium: 14px;--font-size-large: 16px;--font-size-xlarge: 18px;--font-size-xxlarge: 20px;--font-size-xxxlarge: 21px;--font-size-22: 22px;--font-size-kpi-card: 32px;--font-bolded: 600;--font-500: 500;--font-400: 400}
|
package/dist/assets/theme.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
:root{--color-primary: #045529;--color-secondary: #626367;--color-background: #f0f0f0;--color-background-secondary: #f3f6f8;--color-text: #12121a;--color-text-secondary: #111111;--color-text-light: #777;--color-text-dark: #333;--color-border: #ddd;--color-highlight: #05a952;--color-highlight-data-grid: rgba(5,169,82,.10196);--color-mui-selected: #F5F7FB;--color-warning: #eea63c;--color-critical: #f95048;--color-neutral: #fafafa;--color-red: red;--color-gray: #e0e0e0;--color-blue: #0054EE;--color-light-gray-blue: #E6EBEF;--color-very-light-gray: #DBDBDB;--color-white: white;--color-green: green;--color-ant-theme: #00b96b;--color-avatar: #41b06e;--font-size-xxsmall: 8px;--font-size-9: 9px;--font-size-xsmall: 10px;--font-size-small: 12px;--font-size-normal: 13px;--font-size-medium: 14px;--font-size-large: 16px;--font-size-xlarge: 18px;--font-size-xxlarge: 20px;--font-size-xxxlarge: 21px;--font-size-22: 22px;--font-size-kpi-card: 32px;--font-bolded: 600;--font-500: 500;--font-400: 400}
|