@amateescu/portal-ui-components 0.0.32-beta0 → 0.0.32-beta1
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-DtadP0e7.js → UserInfoDropdown-Cql8tlJU.js} +50 -50
- package/dist/assets/ConfirmationModal.css +1 -1
- package/dist/assets/ErrorModal.css +1 -1
- package/dist/assets/KpiCard.css +1 -1
- package/dist/assets/SideMenu.css +1 -1
- package/dist/assets/UserInfoDropdown.css +1 -1
- package/dist/assets/portal-theme.css +1 -0
- package/dist/components/ConfirmationModal/ConfirmationModal.js +15 -16
- package/dist/components/CustomButton/CustomButton.js +10 -11
- package/dist/components/CustomFooter/CustomFooter.stories.js +6 -7
- package/dist/components/CustomPagination/CustomPagination.js +142 -143
- package/dist/components/ErrorModal/ErrorModal.js +11 -11
- package/dist/components/InfoModal/InfoModal.js +11 -12
- package/dist/components/KpiCard/KpiCard.js +1 -1
- package/dist/components/KpiWrapper/KpiWrapper.stories.js +10 -11
- package/dist/components/Login/Login.js +3 -4
- package/dist/components/SideMenu/SideMenu.js +16 -17
- package/dist/components/TotalDataGrid/TotalDataGrid.js +9 -10
- 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 +5 -3
- package/src/theme/portal-theme.scss +43 -0
|
@@ -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
|
|
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 Ge, 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
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
|
|
8
|
+
import { P as fe, i as Te, C as St, b as zo, u as qe, 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`];
|
|
@@ -106,7 +106,7 @@ const Ao = (e) => ({
|
|
|
106
106
|
transformOrigin: "0 0",
|
|
107
107
|
opacity: 0
|
|
108
108
|
}
|
|
109
|
-
}),
|
|
109
|
+
}), Go = new le("antMoveUpIn", {
|
|
110
110
|
"0%": {
|
|
111
111
|
transform: "translate3d(0, -100%, 0)",
|
|
112
112
|
transformOrigin: "0 0",
|
|
@@ -117,7 +117,7 @@ const Ao = (e) => ({
|
|
|
117
117
|
transformOrigin: "0 0",
|
|
118
118
|
opacity: 1
|
|
119
119
|
}
|
|
120
|
-
}),
|
|
120
|
+
}), qo = new le("antMoveUpOut", {
|
|
121
121
|
"0%": {
|
|
122
122
|
transform: "translate3d(0, 0, 0)",
|
|
123
123
|
transformOrigin: "0 0",
|
|
@@ -130,8 +130,8 @@ const Ao = (e) => ({
|
|
|
130
130
|
}
|
|
131
131
|
}), Yo = {
|
|
132
132
|
"move-up": {
|
|
133
|
-
inKeyframes:
|
|
134
|
-
outKeyframes:
|
|
133
|
+
inKeyframes: Go,
|
|
134
|
+
outKeyframes: qo
|
|
135
135
|
},
|
|
136
136
|
"move-down": {
|
|
137
137
|
inKeyframes: Lo,
|
|
@@ -418,13 +418,13 @@ const Ye = /* @__PURE__ */ l.forwardRef((e, t) => {
|
|
|
418
418
|
const X = be("Avatar");
|
|
419
419
|
process.env.NODE_ENV !== "production" && X(!(typeof s == "string" && s.length > 2), "breaking", `\`icon\` is using ReactNode instead of string naming in v4. Please check \`${s}\` at https://ant.design/components/icon`);
|
|
420
420
|
}
|
|
421
|
-
const j = P("avatar", o), H = je(j), [D, W,
|
|
421
|
+
const j = P("avatar", o), H = je(j), [D, W, G] = Nt(j, H), q = _({
|
|
422
422
|
[`${j}-lg`]: E === "large",
|
|
423
423
|
[`${j}-sm`]: E === "small"
|
|
424
|
-
}), Z = /* @__PURE__ */ l.isValidElement(a), ee = n || (z == null ? void 0 : z.shape) || "circle", k = _(j,
|
|
424
|
+
}), Z = /* @__PURE__ */ l.isValidElement(a), ee = n || (z == null ? void 0 : z.shape) || "circle", k = _(j, q, I == null ? void 0 : I.className, `${j}-${ee}`, {
|
|
425
425
|
[`${j}-image`]: Z || a && M,
|
|
426
426
|
[`${j}-icon`]: !!s
|
|
427
|
-
},
|
|
427
|
+
}, G, H, c, u, W), U = typeof E == "number" ? {
|
|
428
428
|
width: E,
|
|
429
429
|
height: E,
|
|
430
430
|
fontSize: s ? E / 2 : 18
|
|
@@ -581,7 +581,7 @@ var me = {
|
|
|
581
581
|
overlayInnerStyle: se(se({}, P), A == null ? void 0 : A.body)
|
|
582
582
|
}, I);
|
|
583
583
|
}, W = function() {
|
|
584
|
-
var
|
|
584
|
+
var q = l.Children.only(v), Z = (q == null ? void 0 : q.props) || {}, ee = se(se({}, Z), {}, {
|
|
585
585
|
"aria-describedby": I ? F : null
|
|
586
586
|
});
|
|
587
587
|
return /* @__PURE__ */ l.cloneElement(v, ee);
|
|
@@ -1156,19 +1156,19 @@ const $n = /* @__PURE__ */ l.forwardRef((e, t) => {
|
|
|
1156
1156
|
style: j,
|
|
1157
1157
|
classNames: H,
|
|
1158
1158
|
styles: D
|
|
1159
|
-
} = Xe("tooltip"), W = be("Tooltip"),
|
|
1159
|
+
} = Xe("tooltip"), W = be("Tooltip"), G = l.useRef(null), q = () => {
|
|
1160
1160
|
var K;
|
|
1161
|
-
(K =
|
|
1161
|
+
(K = G.current) === null || K === void 0 || K.forceAlign();
|
|
1162
1162
|
};
|
|
1163
1163
|
l.useImperativeHandle(t, () => {
|
|
1164
1164
|
var K, te;
|
|
1165
1165
|
return {
|
|
1166
|
-
forceAlign:
|
|
1166
|
+
forceAlign: q,
|
|
1167
1167
|
forcePopupAlign: () => {
|
|
1168
|
-
W.deprecated(!1, "forcePopupAlign", "forceAlign"),
|
|
1168
|
+
W.deprecated(!1, "forcePopupAlign", "forceAlign"), q();
|
|
1169
1169
|
},
|
|
1170
|
-
nativeElement: (K =
|
|
1171
|
-
popupElement: (te =
|
|
1170
|
+
nativeElement: (K = G.current) === null || K === void 0 ? void 0 : K.nativeElement,
|
|
1171
|
+
popupElement: (te = G.current) === null || te === void 0 ? void 0 : te.popupElement
|
|
1172
1172
|
};
|
|
1173
1173
|
}), process.env.NODE_ENV !== "production" && ([["visible", "open"], ["defaultVisible", "defaultOpen"], ["onVisibleChange", "onOpenChange"], ["afterVisibleChange", "afterOpenChange"], ["arrowPointAtCenter", "arrow={{ pointAtCenter: true }}"], ["overlayStyle", "styles={{ root: {} }}"], ["overlayInnerStyle", "styles={{ body: {} }}"], ["overlayClassName", 'classNames={{ root: "" }}']].forEach((K) => {
|
|
1174
1174
|
let [te, ae] = K;
|
|
@@ -1196,9 +1196,9 @@ const $n = /* @__PURE__ */ l.forwardRef((e, t) => {
|
|
|
1196
1196
|
}, typeof X == "function" ? X() : X), J = A("tooltip", r), V = A(), re = e["data-popover-inject"];
|
|
1197
1197
|
let ne = Z;
|
|
1198
1198
|
!("open" in e) && !("visible" in e) && k && (ne = !1);
|
|
1199
|
-
const Me = /* @__PURE__ */ l.isValidElement(u) && !zo(u) ? u : /* @__PURE__ */ l.createElement("span", null, u), ye = Me.props, Xt = !ye.className || typeof ye.className == "string" ? _(ye.className, a || `${J}-open`) : ye.className, [Ft,
|
|
1199
|
+
const Me = /* @__PURE__ */ l.isValidElement(u) && !zo(u) ? u : /* @__PURE__ */ l.createElement("span", null, u), ye = Me.props, Xt = !ye.className || typeof ye.className == "string" ? _(ye.className, a || `${J}-open`) : ye.className, [Ft, Gt, qt] = Bt(J, !re), De = zt(J, s), Yt = De.arrowStyle, Ut = _(x, {
|
|
1200
1200
|
[`${J}-rtl`]: L === "rtl"
|
|
1201
|
-
}, De.className, w,
|
|
1201
|
+
}, De.className, w, Gt, qt, F, H.root, I == null ? void 0 : I.root), Kt = _(H.body, I == null ? void 0 : I.body), [Zt, Qt] = qe("Tooltip", z.zIndex), Jt = /* @__PURE__ */ l.createElement(sn, Object.assign({}, z, {
|
|
1202
1202
|
zIndex: Zt,
|
|
1203
1203
|
showArrow: y,
|
|
1204
1204
|
placement: B,
|
|
@@ -1214,7 +1214,7 @@ const $n = /* @__PURE__ */ l.forwardRef((e, t) => {
|
|
|
1214
1214
|
body: Object.assign(Object.assign(Object.assign(Object.assign({}, D.body), c), P == null ? void 0 : P.body), De.overlayStyle)
|
|
1215
1215
|
},
|
|
1216
1216
|
getTooltipContainer: $ || i || E,
|
|
1217
|
-
ref:
|
|
1217
|
+
ref: G,
|
|
1218
1218
|
builtinPlacements: Q,
|
|
1219
1219
|
overlay: Y,
|
|
1220
1220
|
visible: ne,
|
|
@@ -1550,7 +1550,7 @@ const dt = (e) => {
|
|
|
1550
1550
|
}
|
|
1551
1551
|
const S = a("avatar", s), $ = `${S}-group`, B = je(S), [M, R, T] = Nt(S, B), w = _($, {
|
|
1552
1552
|
[`${$}-rtl`]: i === "rtl"
|
|
1553
|
-
}, T, B, c, u, R), x =
|
|
1553
|
+
}, T, B, c, u, R), x = Ge(C).map((z, y) => ue(z, {
|
|
1554
1554
|
// eslint-disable-next-line react/no-array-index-key
|
|
1555
1555
|
key: `avatar-key-${y}`
|
|
1556
1556
|
})), P = (b == null ? void 0 : b.count) || f, I = x.length;
|
|
@@ -1912,13 +1912,13 @@ const ut = {
|
|
|
1912
1912
|
}, r || /* @__PURE__ */ l.createElement(Rt, null)) : null, j = w === "rtl" == !d, W = {
|
|
1913
1913
|
expanded: j ? /* @__PURE__ */ l.createElement(Oe, null) : /* @__PURE__ */ l.createElement(Ne, null),
|
|
1914
1914
|
collapsed: j ? /* @__PURE__ */ l.createElement(Ne, null) : /* @__PURE__ */ l.createElement(Oe, null)
|
|
1915
|
-
}[S ? "collapsed" : "expanded"],
|
|
1915
|
+
}[S ? "collapsed" : "expanded"], G = r !== null ? F || /* @__PURE__ */ l.createElement("div", {
|
|
1916
1916
|
className: `${x}-trigger`,
|
|
1917
1917
|
onClick: N,
|
|
1918
1918
|
style: {
|
|
1919
1919
|
width: L
|
|
1920
1920
|
}
|
|
1921
|
-
}, r || W) : null,
|
|
1921
|
+
}, r || W) : null, q = Object.assign(Object.assign({}, c), {
|
|
1922
1922
|
flex: `0 0 ${L}`,
|
|
1923
1923
|
maxWidth: L,
|
|
1924
1924
|
minWidth: L,
|
|
@@ -1936,11 +1936,11 @@ const ut = {
|
|
|
1936
1936
|
}, /* @__PURE__ */ l.createElement("aside", Object.assign({
|
|
1937
1937
|
className: Z
|
|
1938
1938
|
}, E, {
|
|
1939
|
-
style:
|
|
1939
|
+
style: q,
|
|
1940
1940
|
ref: t
|
|
1941
1941
|
}), /* @__PURE__ */ l.createElement("div", {
|
|
1942
1942
|
className: `${x}-children`
|
|
1943
|
-
}, a), u || B && F ?
|
|
1943
|
+
}, a), u || B && F ? G : null)));
|
|
1944
1944
|
});
|
|
1945
1945
|
process.env.NODE_ENV !== "production" && (kn.displayName = "Sider");
|
|
1946
1946
|
const Ee = /* @__PURE__ */ to({
|
|
@@ -2001,7 +2001,7 @@ const Ht = (e) => {
|
|
|
2001
2001
|
title: g
|
|
2002
2002
|
};
|
|
2003
2003
|
!p && !m && (h.title = null, h.open = !1);
|
|
2004
|
-
const C =
|
|
2004
|
+
const C = Ge(n).length;
|
|
2005
2005
|
let b = /* @__PURE__ */ l.createElement(Co, Object.assign({}, he(e, ["title", "icon", "danger"]), {
|
|
2006
2006
|
className: _({
|
|
2007
2007
|
[`${c}-item-danger`]: i,
|
|
@@ -2087,7 +2087,7 @@ const Pe = /* @__PURE__ */ l.createContext(null), Xn = /* @__PURE__ */ l.forward
|
|
|
2087
2087
|
}
|
|
2088
2088
|
}
|
|
2089
2089
|
};
|
|
2090
|
-
},
|
|
2090
|
+
}, Gn = (e) => {
|
|
2091
2091
|
let {
|
|
2092
2092
|
componentCls: t,
|
|
2093
2093
|
menuArrowOffset: o,
|
|
@@ -2361,7 +2361,7 @@ const Pe = /* @__PURE__ */ l.createContext(null), Xn = /* @__PURE__ */ l.forward
|
|
|
2361
2361
|
paddingInlineEnd: d
|
|
2362
2362
|
}
|
|
2363
2363
|
};
|
|
2364
|
-
},
|
|
2364
|
+
}, qn = (e) => {
|
|
2365
2365
|
const {
|
|
2366
2366
|
componentCls: t,
|
|
2367
2367
|
iconCls: o,
|
|
@@ -2995,13 +2995,13 @@ const Pe = /* @__PURE__ */ l.createContext(null), Xn = /* @__PURE__ */ l.forward
|
|
|
2995
2995
|
Fn(w),
|
|
2996
2996
|
// Hard code for some light style
|
|
2997
2997
|
// Vertical
|
|
2998
|
-
|
|
2998
|
+
qn(w),
|
|
2999
2999
|
// Hard code for some light style
|
|
3000
3000
|
// Theme
|
|
3001
3001
|
pt(w, "light"),
|
|
3002
3002
|
pt(x, "dark"),
|
|
3003
3003
|
// RTL
|
|
3004
|
-
|
|
3004
|
+
Gn(w),
|
|
3005
3005
|
// Motion
|
|
3006
3006
|
Ao(w),
|
|
3007
3007
|
Se(w, "slide-up"),
|
|
@@ -3045,7 +3045,7 @@ const Pe = /* @__PURE__ */ l.createContext(null), Xn = /* @__PURE__ */ l.forward
|
|
|
3045
3045
|
}
|
|
3046
3046
|
const m = l.useMemo(() => Object.assign(Object.assign({}, i), {
|
|
3047
3047
|
firstLevel: !1
|
|
3048
|
-
}), [i]), [v] =
|
|
3048
|
+
}), [i]), [v] = qe("Menu");
|
|
3049
3049
|
return /* @__PURE__ */ l.createElement(Ee.Provider, {
|
|
3050
3050
|
value: m
|
|
3051
3051
|
}, /* @__PURE__ */ l.createElement(xo, Object.assign({}, he(e, ["icon"]), {
|
|
@@ -3118,9 +3118,9 @@ const Qn = {
|
|
|
3118
3118
|
return r.expandIcon || null;
|
|
3119
3119
|
if (typeof (c == null ? void 0 : c.expandIcon) == "function" || Ae(c == null ? void 0 : c.expandIcon))
|
|
3120
3120
|
return (c == null ? void 0 : c.expandIcon) || null;
|
|
3121
|
-
const
|
|
3122
|
-
return ue(
|
|
3123
|
-
className: _(`${y}-submenu-expand-icon`, /* @__PURE__ */ l.isValidElement(
|
|
3121
|
+
const G = (D = p ?? (r == null ? void 0 : r.expandIcon)) !== null && D !== void 0 ? D : c == null ? void 0 : c.expandIcon;
|
|
3122
|
+
return ue(G, {
|
|
3123
|
+
className: _(`${y}-submenu-expand-icon`, /* @__PURE__ */ l.isValidElement(G) ? (W = G.props) === null || W === void 0 ? void 0 : W.className : void 0)
|
|
3124
3124
|
});
|
|
3125
3125
|
}, [p, r == null ? void 0 : r.expandIcon, c == null ? void 0 : c.expandIcon, y]), H = l.useMemo(() => ({
|
|
3126
3126
|
prefixCls: y,
|
|
@@ -3529,12 +3529,12 @@ const er = (e) => {
|
|
|
3529
3529
|
[`${y}-rtl`]: w === "rtl"
|
|
3530
3530
|
}, j.props.className),
|
|
3531
3531
|
disabled: (t = j.props.disabled) !== null && t !== void 0 ? t : s
|
|
3532
|
-
}), D = s ? [] : i, W = !!(D != null && D.includes("contextMenu")), [
|
|
3532
|
+
}), D = s ? [] : i, W = !!(D != null && D.includes("contextMenu")), [G, q] = Fe(!1, {
|
|
3533
3533
|
value: v ?? g
|
|
3534
3534
|
}), Z = wt((V) => {
|
|
3535
3535
|
p == null || p(V, {
|
|
3536
3536
|
source: "trigger"
|
|
3537
|
-
}), h == null || h(V),
|
|
3537
|
+
}), h == null || h(V), q(V);
|
|
3538
3538
|
}), ee = _(d, f, A, L, N, x == null ? void 0 : x.className, {
|
|
3539
3539
|
[`${y}-rtl`]: w === "rtl"
|
|
3540
3540
|
}), k = Pt({
|
|
@@ -3546,7 +3546,7 @@ const er = (e) => {
|
|
|
3546
3546
|
}), U = l.useCallback(() => {
|
|
3547
3547
|
o != null && o.selectable && (o != null && o.multiple) || (p == null || p(!1, {
|
|
3548
3548
|
source: "menu"
|
|
3549
|
-
}),
|
|
3549
|
+
}), q(!1));
|
|
3550
3550
|
}, [o == null ? void 0 : o.selectable, o == null ? void 0 : o.multiple]), Q = () => {
|
|
3551
3551
|
let V;
|
|
3552
3552
|
return o != null && o.items ? V = /* @__PURE__ */ l.createElement(ge, Object.assign({}, o)) : typeof B == "function" ? V = B() : V = B, c && (V = c(V)), V = l.Children.only(typeof V == "string" ? /* @__PURE__ */ l.createElement("span", null, V) : V), /* @__PURE__ */ l.createElement(Xn, {
|
|
@@ -3569,13 +3569,13 @@ const er = (e) => {
|
|
|
3569
3569
|
process.env.NODE_ENV !== "production" && P(!ne || ne === "vertical", "usage", `mode="${ne}" is not supported for Dropdown's Menu.`);
|
|
3570
3570
|
}
|
|
3571
3571
|
}, V);
|
|
3572
|
-
}, [X, Y] =
|
|
3572
|
+
}, [X, Y] = qe("Dropdown", m == null ? void 0 : m.zIndex);
|
|
3573
3573
|
let J = /* @__PURE__ */ l.createElement(Bo, Object.assign({
|
|
3574
3574
|
alignPoint: W
|
|
3575
3575
|
}, he(e, ["rootClassName"]), {
|
|
3576
3576
|
mouseEnterDelay: C,
|
|
3577
3577
|
mouseLeaveDelay: b,
|
|
3578
|
-
visible:
|
|
3578
|
+
visible: G,
|
|
3579
3579
|
builtinPlacements: k,
|
|
3580
3580
|
arrow: !!n,
|
|
3581
3581
|
overlayClassName: ee,
|
|
@@ -3652,7 +3652,7 @@ const cr = /* @__PURE__ */ l.forwardRef((e, t) => {
|
|
|
3652
3652
|
wrap: S = !1,
|
|
3653
3653
|
classNames: $,
|
|
3654
3654
|
styles: B
|
|
3655
|
-
} = e, M = sr(e, ["size", "align", "className", "rootClassName", "children", "direction", "prefixCls", "split", "style", "wrap", "classNames", "styles"]), [R, T] = Array.isArray(d) ? d : [d, d], w = bt(T), x = bt(R), P = ht(T), I = ht(R), z =
|
|
3655
|
+
} = e, M = sr(e, ["size", "align", "className", "rootClassName", "children", "direction", "prefixCls", "split", "style", "wrap", "classNames", "styles"]), [R, T] = Array.isArray(d) ? d : [d, d], w = bt(T), x = bt(R), P = ht(T), I = ht(R), z = Ge(p, {
|
|
3656
3656
|
keepEmpty: !0
|
|
3657
3657
|
}), y = f === void 0 && g === "horizontal" ? "center" : f, N = n("space", h), [E, A, L] = To(N), F = _(N, i, A, `${N}-${g}`, {
|
|
3658
3658
|
[`${N}-rtl`]: r === "rtl",
|
|
@@ -3661,27 +3661,27 @@ const cr = /* @__PURE__ */ l.forwardRef((e, t) => {
|
|
|
3661
3661
|
[`${N}-gap-col-${R}`]: x
|
|
3662
3662
|
}, m, v, L), j = _(`${N}-item`, (o = $ == null ? void 0 : $.item) !== null && o !== void 0 ? o : c.item);
|
|
3663
3663
|
let H = 0;
|
|
3664
|
-
const D = z.map((
|
|
3664
|
+
const D = z.map((q, Z) => {
|
|
3665
3665
|
var ee;
|
|
3666
|
-
|
|
3667
|
-
const k = (
|
|
3666
|
+
q != null && (H = Z);
|
|
3667
|
+
const k = (q == null ? void 0 : q.key) || `${j}-${Z}`;
|
|
3668
3668
|
return /* @__PURE__ */ l.createElement(lr, {
|
|
3669
3669
|
className: j,
|
|
3670
3670
|
key: k,
|
|
3671
3671
|
index: Z,
|
|
3672
3672
|
split: C,
|
|
3673
3673
|
style: (ee = B == null ? void 0 : B.item) !== null && ee !== void 0 ? ee : u.item
|
|
3674
|
-
},
|
|
3674
|
+
}, q);
|
|
3675
3675
|
}), W = l.useMemo(() => ({
|
|
3676
3676
|
latestIndex: H
|
|
3677
3677
|
}), [H]);
|
|
3678
3678
|
if (z.length === 0)
|
|
3679
3679
|
return null;
|
|
3680
|
-
const
|
|
3681
|
-
return S && (
|
|
3680
|
+
const G = {};
|
|
3681
|
+
return S && (G.flexWrap = "wrap"), !x && I && (G.columnGap = R), !w && P && (G.rowGap = T), E(/* @__PURE__ */ l.createElement("div", Object.assign({
|
|
3682
3682
|
ref: t,
|
|
3683
3683
|
className: F,
|
|
3684
|
-
style: Object.assign(Object.assign(Object.assign({},
|
|
3684
|
+
style: Object.assign(Object.assign(Object.assign({}, G), s), b)
|
|
3685
3685
|
}, M), /* @__PURE__ */ l.createElement(ar, {
|
|
3686
3686
|
value: W
|
|
3687
3687
|
}, D)));
|
|
@@ -3750,7 +3750,7 @@ const Vt = (e) => {
|
|
|
3750
3750
|
compactItemClassnames: D
|
|
3751
3751
|
} = Ro(L, n), W = _(F, D, m);
|
|
3752
3752
|
"overlay" in e && (j.overlay = h), "open" in e && (j.open = S), "placement" in e ? j.placement = B : j.placement = n === "rtl" ? "bottomLeft" : "bottomRight";
|
|
3753
|
-
const
|
|
3753
|
+
const G = /* @__PURE__ */ l.createElement(lt, {
|
|
3754
3754
|
type: a,
|
|
3755
3755
|
danger: i,
|
|
3756
3756
|
disabled: s,
|
|
@@ -3759,11 +3759,11 @@ const Vt = (e) => {
|
|
|
3759
3759
|
htmlType: d,
|
|
3760
3760
|
href: R,
|
|
3761
3761
|
title: w
|
|
3762
|
-
}, f),
|
|
3762
|
+
}, f), q = /* @__PURE__ */ l.createElement(lt, {
|
|
3763
3763
|
type: a,
|
|
3764
3764
|
danger: i,
|
|
3765
3765
|
icon: T
|
|
3766
|
-
}), [Z, ee] = x([
|
|
3766
|
+
}), [Z, ee] = x([G, q]);
|
|
3767
3767
|
return /* @__PURE__ */ l.createElement(et.Compact, Object.assign({
|
|
3768
3768
|
className: W,
|
|
3769
3769
|
size: H,
|
|
@@ -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_17at7_85", pr = "_pointer_17at7_91", gr = "_flexRowCenter_17at7_95", fr = "_userTitle_17at7_102", xe = {
|
|
3777
3777
|
avatar: mr,
|
|
3778
3778
|
pointer: pr,
|
|
3779
3779
|
flexRowCenter: gr,
|
|
@@ -1 +1 @@
|
|
|
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}.
|
|
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}: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}._flexRowCenter_13gdl_85{display:flex!important;flex-direction:row;align-items:center}._mr10_13gdl_91,html[dir=rtl] ._mr10_13gdl_91{margin-right:10px}html[dir=ltr] ._mr10_13gdl_91{margin-left:10px}._text18_13gdl_103{font-size:18px;font-size:var(--font-size-xlarge)}._content_13gdl_107{position:relative;top:-10px}
|
|
@@ -1 +1 @@
|
|
|
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}.
|
|
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}: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}._flexRowCenter_1wx1z_85{display:flex!important;flex-direction:row;align-items:center}html[dir=rtl] ._mr10_1wx1z_91{margin-right:10px}html[dir=ltr] ._mr10_1wx1z_91{margin-left:10px}._text18_1wx1z_99{font-size:18px;font-size:var(--font-size-xlarge)}._content_1wx1z_103{position:relative;top:-10px}
|
package/dist/assets/KpiCard.css
CHANGED
|
@@ -1 +1 @@
|
|
|
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}.
|
|
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}: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}._kpiCard_rhgq4_85{height:147px;background-color:#f0f0f0;background-color:var(--color-background);border-radius:8px}._width430_rhgq4_91{width:430px}@media (max-width: 1500px){._width430_rhgq4_91{width:200px}}._width384_rhgq4_100{width:384px}._flexCol_rhgq4_104{display:flex;flex-direction:column}._flexRow_rhgq4_109{display:flex;flex-direction:row}._title_rhgq4_114{font-size:32px;font-size:var(--font-size-kpi-card);font-weight:500;color:#12121a;color:var(--color-text)}@media (max-width: 900px){._title_rhgq4_114{font-size:12px;font-size:var(--font-size-small)}}@media (max-width: 1100px){._title_rhgq4_114{font-size:16px;font-size:var(--font-size-large)}}@media (max-width: 1400px){._title_rhgq4_114{font-size:20px;font-size:var(--font-size-xxlarge)}}@media (max-width: 1600px){._title_rhgq4_114{font-size:22px;font-size:var(--font-size-22)}}._content_rhgq4_140{font-size:21px;font-size:var(--font-size-xxxlarge);font-weight:400;color:#626367;color:var(--color-secondary);margin-top:-10px}@media (max-width: 900px){._content_rhgq4_140{font-size:8px;font-size:var(--font-size-xxsmall)}}@media (max-width: 1100px){._content_rhgq4_140{font-size:12px;font-size:var(--font-size-small)}}@media (max-width: 1400px){._content_rhgq4_140{font-size:14px;font-size:var(--font-size-medium)}}
|
package/dist/assets/SideMenu.css
CHANGED
|
@@ -1 +1 @@
|
|
|
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}.ant-menu-title-content{color:#626367;color:var(--color-secondary)}.main-container{background-color:#f0f0f0;background-color:var(--color-background);border-top-right-radius:16px;border-bottom-right-radius:16px;height:100vh}[dir=rtl] .main-container{border-radius:16px 0 0 16px/16px 0px 0px 16px}.menu{overflow-y:scroll;background-color:#f0f0f0;background-color:var(--color-background)}.menu::-webkit-scrollbar{display:none}.side-menu .ant-menu-item-selected{background-color:#fafafa!important;background-color:var(--color-neutral)!important;box-shadow:0 5px 5px gray!important}.side-menu .ant-menu-item-selected span{color:#12121a!important;color:var(--color-text)!important}.side-menu .ant-menu-root{border-right-style:none!important}.side-menu .ant-menu-submenu-title svg{width:25px!important}.mb-10{margin-bottom:10px}.flex-col-center{display:flex;flex-direction:column;align-items:center}.mt-15{margin-top:15px}.space-around-center{display:flex;align-items:center;justify-content:space-around}.flex-row-center{display:flex;flex-direction:row;align-content:center;align-items:center;line-height:1}.ml-5{margin-left:5px}.mb-30{margin-bottom:30px}.avatar{background-color:#41b06e;background-color:var(--color-avatar);vertical-align:middle;text-transform:uppercase}.user-container{display:flex;flex-direction:column;margin-left:5px}.username{font-size:12px;font-size:var(--font-size-small);color:#626367;color:var(--color-secondary);margin-left:.5em}.email{font-size:9px;font-size:var(--font-size-9);color:#626367;color:var(--color-secondary)}.user-logo-container{cursor:pointer;display:flex;align-items:center;margin:10px;justify-content:space-between;border:1px solid #e0e0e0;border:1px solid var(--color-gray);border-radius:10px;padding:5px}.general-information{cursor:pointer;display:flex;align-items:center;margin:10px;justify-content:space-between;border:1px solid #e0e0e0;border:1px solid var(--color-gray);border-radius:10px;padding:5px;height:52px}.logo-small-container{display:flex;margin:10px auto auto;flex-direction:column;align-items:center;padding-top:5px;padding-bottom:10px}.pointer{cursor:pointer}
|
|
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}: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}.ant-menu-title-content{color:#626367;color:var(--color-secondary)}.main-container{background-color:#f0f0f0;background-color:var(--color-background);border-top-right-radius:16px;border-bottom-right-radius:16px;height:100vh}[dir=rtl] .main-container{border-radius:16px 0 0 16px/16px 0px 0px 16px}.menu{overflow-y:scroll;background-color:#f0f0f0;background-color:var(--color-background)}.menu::-webkit-scrollbar{display:none}.side-menu .ant-menu-item-selected{background-color:#fafafa!important;background-color:var(--color-neutral)!important;box-shadow:0 5px 5px gray!important}.side-menu .ant-menu-item-selected span{color:#12121a!important;color:var(--color-text)!important}.side-menu .ant-menu-root{border-right-style:none!important}.side-menu .ant-menu-submenu-title svg{width:25px!important}.mb-10{margin-bottom:10px}.flex-col-center{display:flex;flex-direction:column;align-items:center}.mt-15{margin-top:15px}.space-around-center{display:flex;align-items:center;justify-content:space-around}.flex-row-center{display:flex;flex-direction:row;align-content:center;align-items:center;line-height:1}.ml-5{margin-left:5px}.mb-30{margin-bottom:30px}.avatar{background-color:#41b06e;background-color:var(--color-avatar);vertical-align:middle;text-transform:uppercase}.user-container{display:flex;flex-direction:column;margin-left:5px}.username{font-size:12px;font-size:var(--font-size-small);color:#626367;color:var(--color-secondary);margin-left:.5em}.email{font-size:9px;font-size:var(--font-size-9);color:#626367;color:var(--color-secondary)}.user-logo-container{cursor:pointer;display:flex;align-items:center;margin:10px;justify-content:space-between;border:1px solid #e0e0e0;border:1px solid var(--color-gray);border-radius:10px;padding:5px}.general-information{cursor:pointer;display:flex;align-items:center;margin:10px;justify-content:space-between;border:1px solid #e0e0e0;border:1px solid var(--color-gray);border-radius:10px;padding:5px;height:52px}.logo-small-container{display:flex;margin:10px auto auto;flex-direction:column;align-items:center;padding-top:5px;padding-bottom:10px}.pointer{cursor:pointer}
|
|
@@ -1 +1 @@
|
|
|
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}.
|
|
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}: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}._avatar_17at7_85{background-color:#41b06e;background-color:var(--color-avatar);vertical-align:middle;text-transform:uppercase}._pointer_17at7_91{cursor:pointer}._flexRowCenter_17at7_95{display:flex;flex-direction:row;align-content:center;align-items:center}._userTitle_17at7_102{font-size:12px;font-size:var(--font-size-small);color:#626367;color:var(--color-secondary);margin-left:10px}[dir=rtl] ._userTitle_17at7_102{margin-right:10px}
|
|
@@ -0,0 +1 @@
|
|
|
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}
|
|
@@ -1,30 +1,29 @@
|
|
|
1
1
|
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
|
-
import '../../assets/theme.css';import '../../assets/ConfirmationModal.css';/* empty css */
|
|
5
4
|
import { M as d } from "../../index-Dz00OoV7.js";
|
|
6
|
-
const
|
|
7
|
-
flexRowCenter:
|
|
8
|
-
mr10:
|
|
9
|
-
text18:
|
|
5
|
+
import '../../assets/ConfirmationModal.css';const g = (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_13gdl_85", f = "_mr10_13gdl_91", w = "_text18_13gdl_103", C = "_content_13gdl_107", t = {
|
|
6
|
+
flexRowCenter: x,
|
|
7
|
+
mr10: f,
|
|
8
|
+
text18: w,
|
|
10
9
|
content: C
|
|
11
10
|
};
|
|
12
|
-
function L({ modalOpen:
|
|
13
|
-
return /* @__PURE__ */ e(
|
|
11
|
+
function L({ modalOpen: o, contentText: s, setModalOpen: l, commandOnOk: c, title: a, approve: i, cancel: h }) {
|
|
12
|
+
return localStorage.getItem("theme") === "portal-theme" ? import("../../portal-theme-BarSJQdA.js") : import("../../theme-94RKb7HE.js"), /* @__PURE__ */ e(
|
|
14
13
|
d,
|
|
15
14
|
{
|
|
16
|
-
title: /* @__PURE__ */ r("span", { className:
|
|
17
|
-
/* @__PURE__ */ e(
|
|
18
|
-
/* @__PURE__ */ e("p", { className:
|
|
15
|
+
title: /* @__PURE__ */ r("span", { className: t.flexRowCenter, children: [
|
|
16
|
+
/* @__PURE__ */ e(g, { className: t.mr10 }),
|
|
17
|
+
/* @__PURE__ */ e("p", { className: t.text18, children: a })
|
|
19
18
|
] }),
|
|
20
19
|
centered: !0,
|
|
21
|
-
open:
|
|
20
|
+
open: o,
|
|
22
21
|
onOk: () => {
|
|
23
|
-
c(),
|
|
22
|
+
c(), l(!1);
|
|
24
23
|
},
|
|
25
|
-
onCancel: () =>
|
|
24
|
+
onCancel: () => l(!1),
|
|
26
25
|
closeIcon: !1,
|
|
27
|
-
okText: /* @__PURE__ */ r("span", { className:
|
|
26
|
+
okText: /* @__PURE__ */ r("span", { className: t.flexRowCenter, children: [
|
|
28
27
|
/* @__PURE__ */ e(m, {}),
|
|
29
28
|
/* @__PURE__ */ e("span", { children: i })
|
|
30
29
|
] }),
|
|
@@ -39,11 +38,11 @@ function L({ modalOpen: t, contentText: l, setModalOpen: s, commandOnOk: c, titl
|
|
|
39
38
|
color: "var(--color-highlight)"
|
|
40
39
|
}
|
|
41
40
|
},
|
|
42
|
-
cancelText: /* @__PURE__ */ r("span", { className:
|
|
41
|
+
cancelText: /* @__PURE__ */ r("span", { className: t.flexRowCenter, children: [
|
|
43
42
|
/* @__PURE__ */ e(p, {}),
|
|
44
43
|
/* @__PURE__ */ e("span", { children: h })
|
|
45
44
|
] }),
|
|
46
|
-
children: /* @__PURE__ */ e("p", { className:
|
|
45
|
+
children: /* @__PURE__ */ e("p", { className: t.content, children: s })
|
|
47
46
|
}
|
|
48
47
|
);
|
|
49
48
|
}
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
l,
|
|
1
|
+
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { B as i } from "../../Button-xgiLW4_3.js";
|
|
3
|
+
const c = ({ content: o, height: r = "40px", width: t = "120px", direction: e = "left", size: a = "small", ...n }) => (localStorage.getItem("theme") === "portal-theme" ? import("../../portal-theme-BarSJQdA.js") : import("../../theme-94RKb7HE.js"), /* @__PURE__ */ l(
|
|
4
|
+
i,
|
|
6
5
|
{
|
|
7
6
|
variant: "outlined",
|
|
8
7
|
disableElevation: !0,
|
|
9
8
|
color: "primary",
|
|
10
9
|
size: a,
|
|
11
10
|
sx: {
|
|
12
|
-
float:
|
|
13
|
-
height:
|
|
11
|
+
float: e,
|
|
12
|
+
height: r,
|
|
14
13
|
borderRadius: 2,
|
|
15
14
|
border: "1px solid var(--color-gray)",
|
|
16
15
|
color: "var(--color-secondary)",
|
|
@@ -28,10 +27,10 @@ const p = ({ content: r, height: o = "40px", width: t = "120px", direction: n =
|
|
|
28
27
|
border: "1px solid var(--color-gray)"
|
|
29
28
|
}
|
|
30
29
|
},
|
|
31
|
-
...
|
|
32
|
-
children:
|
|
30
|
+
...n,
|
|
31
|
+
children: o
|
|
33
32
|
}
|
|
34
|
-
);
|
|
33
|
+
));
|
|
35
34
|
export {
|
|
36
|
-
|
|
35
|
+
c as CustomButton
|
|
37
36
|
};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { jsxs as r, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import '../../assets/SideMenu.css';import '../../assets/theme.css';/* empty css */
|
|
4
3
|
import { Pagination as a } from "../CustomPagination/CustomPagination.js";
|
|
5
4
|
import { TotalDataGrid as s } from "../TotalDataGrid/TotalDataGrid.js";
|
|
6
5
|
import "@mui/x-data-grid";
|
|
7
6
|
import "i18next";
|
|
8
|
-
|
|
7
|
+
import '../../assets/SideMenu.css';/* empty css */
|
|
9
8
|
import { columnsDefinitions as e, total as i } from "../../mock.js";
|
|
10
9
|
const m = ({ isRtl: o }) => /* @__PURE__ */ r("div", { children: [
|
|
11
10
|
/* @__PURE__ */ t(
|
|
@@ -18,7 +17,7 @@ const m = ({ isRtl: o }) => /* @__PURE__ */ r("div", { children: [
|
|
|
18
17
|
),
|
|
19
18
|
/* @__PURE__ */ t(a, { isRtl: o, page: 2, pageCount: 12, onPageChange: () => {
|
|
20
19
|
} })
|
|
21
|
-
] }),
|
|
20
|
+
] }), C = {
|
|
22
21
|
title: "Custom Footer",
|
|
23
22
|
component: m,
|
|
24
23
|
tags: ["autodocs"],
|
|
@@ -28,13 +27,13 @@ const m = ({ isRtl: o }) => /* @__PURE__ */ r("div", { children: [
|
|
|
28
27
|
args: {
|
|
29
28
|
isRtl: !1
|
|
30
29
|
}
|
|
31
|
-
},
|
|
30
|
+
}, h = {}, x = {
|
|
32
31
|
args: {
|
|
33
32
|
isRtl: !0
|
|
34
33
|
}
|
|
35
34
|
};
|
|
36
35
|
export {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
h as Default,
|
|
37
|
+
x as RTL,
|
|
38
|
+
C as default
|
|
40
39
|
};
|