qaema-ui 0.0.61 → 0.0.62
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/_virtual/index.js +5 -5
- package/dist/_virtual/index2.js +4 -4
- package/dist/_virtual/index3.js +5 -5
- package/dist/_virtual/index4.js +4 -4
- package/dist/components/Badge.js +1 -1
- package/dist/components/PageHeader.js +4 -4
- package/dist/components/SearchBar.js +10 -9
- package/dist/components/Sidemenu.js +58 -51
- package/dist/components/StatCard.js +1 -1
- package/dist/components/Table/Table.js +104 -100
- package/dist/components/Table/Table.styles.d.ts +4 -2
- package/dist/components/Table/Table.styles.js +49 -36
- package/dist/components/Table/Table.types.d.ts +1 -0
- package/dist/node_modules/react-bootstrap/esm/Alert.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/AlertHeading.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/AlertLink.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Button.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/CloseButton.js +2 -2
- package/dist/node_modules/react-bootstrap/esm/Col.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Collapse.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Dropdown.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/DropdownDivider.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/DropdownHeader.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/DropdownItem.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/DropdownItemText.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/DropdownMenu.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/DropdownToggle.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Fade.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Feedback.js +2 -2
- package/dist/node_modules/react-bootstrap/esm/FloatingLabel.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Form.js +2 -2
- package/dist/node_modules/react-bootstrap/esm/FormCheck.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormCheckInput.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormCheckLabel.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormControl.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormFloating.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormLabel.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormRange.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormSelect.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/FormText.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Image.js +2 -2
- package/dist/node_modules/react-bootstrap/esm/Nav.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/NavItem.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/NavLink.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Navbar.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/NavbarBrand.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/NavbarText.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/NavbarToggle.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Offcanvas.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/OffcanvasBody.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/OffcanvasHeader.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/OffcanvasTitle.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/OffcanvasToggling.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/Toast.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/ToastBody.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/ToastHeader.js +1 -1
- package/dist/node_modules/react-bootstrap/esm/divWithClassName.js +1 -1
- package/dist/node_modules/react-helmet-async/lib/index.esm.js +2 -2
- package/dist/node_modules/react-icons/fi/index.js +5 -1
- package/dist/node_modules/react-smooth/es6/Animate.js +1 -1
- package/dist/node_modules/react-transition-group/esm/Transition.js +1 -1
- package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js +1 -1
- package/package.json +1 -1
package/dist/_virtual/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { getDefaultExportFromCjs as
|
|
2
|
-
import { __require as
|
|
3
|
-
var a =
|
|
4
|
-
const
|
|
1
|
+
import { getDefaultExportFromCjs as s } from "./_commonjsHelpers.js";
|
|
2
|
+
import { __require as r } from "../node_modules/classnames/index.js";
|
|
3
|
+
var a = r();
|
|
4
|
+
const t = /* @__PURE__ */ s(a);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
t as default
|
|
7
7
|
};
|
package/dist/_virtual/index2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
|
|
2
|
-
import { __require as o } from "../node_modules/
|
|
3
|
-
var
|
|
4
|
-
const
|
|
2
|
+
import { __require as o } from "../node_modules/prop-types/index.js";
|
|
3
|
+
var p = /* @__PURE__ */ o();
|
|
4
|
+
const s = /* @__PURE__ */ r(p);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
s as default
|
|
7
7
|
};
|
package/dist/_virtual/index3.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { getDefaultExportFromCjs as
|
|
2
|
-
import { __require as
|
|
3
|
-
var a =
|
|
4
|
-
const
|
|
1
|
+
import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
|
|
2
|
+
import { __require as t } from "../node_modules/react-helmet-async/node_modules/react-fast-compare/index.js";
|
|
3
|
+
var a = t();
|
|
4
|
+
const m = /* @__PURE__ */ r(a);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
package/dist/_virtual/index4.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
|
|
2
|
-
import { __require as o } from "../node_modules/
|
|
3
|
-
var
|
|
4
|
-
const
|
|
2
|
+
import { __require as o } from "../node_modules/shallowequal/index.js";
|
|
3
|
+
var a = o();
|
|
4
|
+
const t = /* @__PURE__ */ r(a);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
t as default
|
|
7
7
|
};
|
package/dist/components/Badge.js
CHANGED
|
@@ -38,7 +38,7 @@ const u = i.div`
|
|
|
38
38
|
const t = g(d ?? "default");
|
|
39
39
|
return /* @__PURE__ */ e.jsxs(u, { bgColor: r, $variantStyles: t, children: [
|
|
40
40
|
n && /* @__PURE__ */ e.jsx(f, { src: n, alt: "badge-image" }),
|
|
41
|
-
s && /* @__PURE__ */ e.jsx(m, { variant: "span", color: o ?? t.color, weight: c, children: s }),
|
|
41
|
+
s && /* @__PURE__ */ e.jsx(m, { variant: "span", color: o ?? t.color, weight: c ?? "semiBold", children: s }),
|
|
42
42
|
l,
|
|
43
43
|
a && /* @__PURE__ */ e.jsx(h, { onClick: a, $variantStyles: t, children: /* @__PURE__ */ e.jsx(p, { color: o ?? t.color, size: "0.75rem" }) })
|
|
44
44
|
] });
|
|
@@ -18,21 +18,21 @@ const p = r.div`
|
|
|
18
18
|
`, d = r.div`
|
|
19
19
|
display: flex;
|
|
20
20
|
align-items: center;
|
|
21
|
-
`, u = ({ onHeaderBack: e, headerTitle:
|
|
22
|
-
const a = c().dir === "rtl", i =
|
|
21
|
+
`, u = ({ onHeaderBack: e, headerTitle: s, withRightIcon: o }) => {
|
|
22
|
+
const a = c().dir === "rtl", i = o;
|
|
23
23
|
return /* @__PURE__ */ t.jsxs(p, { children: [
|
|
24
24
|
/* @__PURE__ */ t.jsxs(d, { children: [
|
|
25
25
|
e && /* @__PURE__ */ t.jsx(
|
|
26
26
|
n,
|
|
27
27
|
{
|
|
28
|
-
icon: /* @__PURE__ */ t.jsx(m, { style: a ? { transform: "rotate(180deg)" } : {} }),
|
|
28
|
+
icon: /* @__PURE__ */ t.jsx(m, { style: a ? { transform: "rotate(180deg)" } : {}, size: 20 }),
|
|
29
29
|
onClick: e,
|
|
30
30
|
onlyIcon: !0,
|
|
31
31
|
size: "md",
|
|
32
32
|
variant: "outline-primary"
|
|
33
33
|
}
|
|
34
34
|
),
|
|
35
|
-
/* @__PURE__ */ t.jsx(l, { variant: "h3", children:
|
|
35
|
+
/* @__PURE__ */ t.jsx(l, { variant: "h3", children: s })
|
|
36
36
|
] }),
|
|
37
37
|
i && /* @__PURE__ */ t.jsx(n, { icon: /* @__PURE__ */ t.jsx(i, {}), onClick: e, onlyIcon: !0, size: "md", variant: "outline-primary" })
|
|
38
38
|
] });
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { j as n } from "../_virtual/jsx-runtime.js";
|
|
2
2
|
import { useState as c } from "react";
|
|
3
|
-
import { FaSearch as
|
|
3
|
+
import { FaSearch as u } from "../node_modules/react-icons/fa/index.js";
|
|
4
4
|
import a, { useTheme as y } from "styled-components";
|
|
5
5
|
import { useQaemaCoreTranslation as x } from "../i18n/i18n.js";
|
|
6
6
|
import { a as h } from "../node_modules/@react-spring/web/dist/react-spring_web.modern.js";
|
|
7
7
|
import { useSpring as b } from "../node_modules/@react-spring/core/dist/react-spring_core.modern.js";
|
|
8
|
-
import
|
|
9
|
-
import
|
|
8
|
+
import $ from "../node_modules/react-bootstrap/esm/Button.js";
|
|
9
|
+
import w from "../node_modules/react-bootstrap/esm/Form.js";
|
|
10
10
|
const j = a(h.div)`
|
|
11
11
|
display: flex;
|
|
12
12
|
flex-direction: row;
|
|
@@ -17,14 +17,14 @@ const j = a(h.div)`
|
|
|
17
17
|
background-color: ${({ theme: e }) => e.colors.grey.n50};
|
|
18
18
|
overflow: hidden;
|
|
19
19
|
height: 2rem;
|
|
20
|
-
`, v = a(
|
|
20
|
+
`, v = a($)`
|
|
21
21
|
border: none;
|
|
22
22
|
padding: 0 0.5rem;
|
|
23
23
|
background-color: transparent;
|
|
24
24
|
display: flex;
|
|
25
25
|
align-items: center;
|
|
26
26
|
justify-content: center;
|
|
27
|
-
`, E = a(
|
|
27
|
+
`, E = a(w.Control)`
|
|
28
28
|
border: none;
|
|
29
29
|
background-color: transparent;
|
|
30
30
|
height: 2rem;
|
|
@@ -38,7 +38,8 @@ const j = a(h.div)`
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
&::placeholder {
|
|
41
|
-
color: ${({ theme: e }) => e.colors.grey.
|
|
41
|
+
color: ${({ theme: e }) => e.colors.grey.n350};
|
|
42
|
+
font-size: ${({ theme: e }) => e.typography.sizes.s3};
|
|
42
43
|
}
|
|
43
44
|
`, I = ({ placeholder: e, onSearch: r }) => {
|
|
44
45
|
const i = y(), { t: p } = x(), [m, l] = c(!1), [o, d] = c(""), t = m || !!o, g = b({
|
|
@@ -46,7 +47,7 @@ const j = a(h.div)`
|
|
|
46
47
|
paddingLeft: t ? i.spacing.s : "0rem",
|
|
47
48
|
paddingRight: t ? i.spacing.s : "0rem",
|
|
48
49
|
config: { tension: 250, friction: 20 }
|
|
49
|
-
}),
|
|
50
|
+
}), f = (s) => {
|
|
50
51
|
s.key === "Enter" && r && r(o);
|
|
51
52
|
};
|
|
52
53
|
return /* @__PURE__ */ n.jsxs(j, { style: g, onMouseEnter: () => l(!0), onMouseLeave: () => l(!1), children: [
|
|
@@ -56,7 +57,7 @@ const j = a(h.div)`
|
|
|
56
57
|
onClick: () => {
|
|
57
58
|
(o == null ? void 0 : o.length) > 0 && r && r(o);
|
|
58
59
|
},
|
|
59
|
-
children: /* @__PURE__ */ n.jsx(
|
|
60
|
+
children: /* @__PURE__ */ n.jsx(u, { color: i.colors.grey.n400, size: "1rem" })
|
|
60
61
|
}
|
|
61
62
|
),
|
|
62
63
|
t && /* @__PURE__ */ n.jsx(
|
|
@@ -67,7 +68,7 @@ const j = a(h.div)`
|
|
|
67
68
|
onChange: (s) => {
|
|
68
69
|
s.target.value == "" && o ? (r == null || r(""), d("")) : d(s.target.value);
|
|
69
70
|
},
|
|
70
|
-
onKeyDown:
|
|
71
|
+
onKeyDown: f,
|
|
71
72
|
autoFocus: !0
|
|
72
73
|
}
|
|
73
74
|
)
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { j as
|
|
1
|
+
import { j as o } from "../_virtual/jsx-runtime.js";
|
|
2
2
|
import { useState as m, useEffect as H } from "react";
|
|
3
|
-
import { FaTimesCircle as O
|
|
4
|
-
import
|
|
3
|
+
import { FaTimesCircle as O } from "../node_modules/react-icons/fa/index.js";
|
|
4
|
+
import { FiSearch as R } from "../node_modules/react-icons/fi/index.js";
|
|
5
|
+
import n, { useTheme as X } from "styled-components";
|
|
5
6
|
import { device as S } from "../constants/breakPoints.constant.js";
|
|
6
7
|
import K from "../hooks/useZIndex.js";
|
|
7
8
|
import { useQaemaCoreTranslation as M } from "../i18n/i18n.js";
|
|
@@ -12,7 +13,7 @@ import b from "./NavItem.js";
|
|
|
12
13
|
import w from "./Typography.js";
|
|
13
14
|
import Z from "../node_modules/react-bootstrap/esm/Button.js";
|
|
14
15
|
import _ from "../node_modules/react-bootstrap/esm/Form.js";
|
|
15
|
-
const v =
|
|
16
|
+
const v = n.div`
|
|
16
17
|
direction: ${({ theme: r }) => r == null ? void 0 : r.dir};
|
|
17
18
|
position: fixed;
|
|
18
19
|
top: 0;
|
|
@@ -43,16 +44,16 @@ const v = o.div`
|
|
|
43
44
|
${({ theme: r }) => {
|
|
44
45
|
if ((r == null ? void 0 : r.dir) === "rtl") return `padding-left: 0 !important;padding-right: ${r.spacing.xs};`;
|
|
45
46
|
}}
|
|
46
|
-
`, A =
|
|
47
|
+
`, A = n.div`
|
|
47
48
|
display: flex;
|
|
48
49
|
flex-direction: row;
|
|
49
50
|
width: 100%;
|
|
50
51
|
justify-content: space-between;
|
|
51
|
-
`, J =
|
|
52
|
+
`, J = n.div`
|
|
52
53
|
padding-right: ${({ theme: r }) => r.spacing.sm};
|
|
53
54
|
padding-left: ${({ theme: r }) => r.spacing.sm};
|
|
54
55
|
cursor: pointer;
|
|
55
|
-
`, Q =
|
|
56
|
+
`, Q = n.div`
|
|
56
57
|
display: none;
|
|
57
58
|
|
|
58
59
|
@media ${S.tablet} {
|
|
@@ -64,15 +65,15 @@ const v = o.div`
|
|
|
64
65
|
height: 1.5rem;
|
|
65
66
|
}
|
|
66
67
|
}
|
|
67
|
-
`, q =
|
|
68
|
+
`, q = n.div`
|
|
68
69
|
padding-right: ${({ theme: r }) => r.spacing.s};
|
|
69
70
|
padding-left: ${({ theme: r }) => r.spacing.s};
|
|
70
|
-
`, G =
|
|
71
|
+
`, G = n.div`
|
|
71
72
|
justify-content: space-between;
|
|
72
73
|
display: flex;
|
|
73
74
|
flex-direction: column;
|
|
74
75
|
height: 100%;
|
|
75
|
-
`, Y =
|
|
76
|
+
`, Y = n.div`
|
|
76
77
|
display: flex;
|
|
77
78
|
flex-direction: row;
|
|
78
79
|
gap: ${({ theme: r }) => r.spacing.xxs};
|
|
@@ -80,7 +81,7 @@ const v = o.div`
|
|
|
80
81
|
background-color: ${({ theme: r }) => r.colors.grey.n150};
|
|
81
82
|
border: 1px solid transparent;
|
|
82
83
|
border-radius: ${({ theme: r }) => r.borderRadius.lg};
|
|
83
|
-
`, P =
|
|
84
|
+
`, P = n(Z)`
|
|
84
85
|
border: none;
|
|
85
86
|
padding: 0;
|
|
86
87
|
margin-top: ${({ theme: r }) => r.spacing.xxs};
|
|
@@ -90,16 +91,22 @@ const v = o.div`
|
|
|
90
91
|
svg {
|
|
91
92
|
background-color: ${({ theme: r }) => r.colors.grey.n150};
|
|
92
93
|
}
|
|
93
|
-
`, I =
|
|
94
|
+
`, I = n(_.Control)`
|
|
94
95
|
padding: ${({ theme: r }) => r.spacing.xxs};
|
|
95
96
|
border: none;
|
|
96
97
|
background-color: ${({ theme: r }) => r.colors.grey.n150};
|
|
97
98
|
color: ${({ theme: r }) => r.colors.grey.n350};
|
|
99
|
+
font-size: ${({ theme: r }) => r.typography.sizes.s4};
|
|
98
100
|
|
|
99
101
|
&:focus-visible {
|
|
100
102
|
outline: none;
|
|
101
103
|
}
|
|
102
|
-
|
|
104
|
+
|
|
105
|
+
&::placeholder {
|
|
106
|
+
font-size: ${({ theme: r }) => r.typography.sizes.s4} !important;
|
|
107
|
+
color: ${({ theme: r }) => r.colors.grey.n350} !important;
|
|
108
|
+
}
|
|
109
|
+
`, rr = n.div`
|
|
103
110
|
padding-right: ${({ theme: r }) => r.spacing.s};
|
|
104
111
|
button {
|
|
105
112
|
width: 100%;
|
|
@@ -108,89 +115,89 @@ const v = o.div`
|
|
|
108
115
|
${({ theme: r }) => {
|
|
109
116
|
if ((r == null ? void 0 : r.dir) === "rtl") return `padding-right: 0 !important;padding-left: ${r.spacing.s};`;
|
|
110
117
|
}}
|
|
111
|
-
`,
|
|
118
|
+
`, ir = n(w)`
|
|
112
119
|
padding-right: ${({ theme: r }) => r.spacing.s};
|
|
113
120
|
padding-left: ${({ theme: r }) => r.spacing.s};
|
|
114
121
|
margin-top: 0;
|
|
115
122
|
margin-bottom: ${({ theme: r }) => r.spacing.xs};
|
|
116
|
-
`,
|
|
123
|
+
`, or = n.div`
|
|
117
124
|
padding: ${({ theme: r }) => r.spacing.m};
|
|
118
125
|
text-align: center;
|
|
119
|
-
`,
|
|
126
|
+
`, nr = n.div`
|
|
120
127
|
button {
|
|
121
128
|
width: 100%;
|
|
122
129
|
border-radius: ${({ theme: r }) => r.spacing.xxs};
|
|
123
130
|
}
|
|
124
|
-
`, sr =
|
|
131
|
+
`, sr = n(U)`
|
|
125
132
|
margin-left: -${({ theme: r }) => r.spacing.xs};
|
|
126
133
|
width: calc(100% + ${({ theme: r }) => r.spacing.xs});
|
|
127
134
|
${({ theme: r }) => {
|
|
128
135
|
if ((r == null ? void 0 : r.dir) === "rtl") return `margin-left: 0; margin-right: -${r.spacing.xs}; width: calc(100% + ${r.spacing.xs});`;
|
|
129
136
|
}}
|
|
130
137
|
margin-bottom: ${({ theme: r }) => r.spacing.sm};
|
|
131
|
-
`,
|
|
132
|
-
const { logoSrc: C, searchPlaceHolder: k, categories:
|
|
138
|
+
`, jr = (r) => {
|
|
139
|
+
const { logoSrc: C, searchPlaceHolder: k, categories: p, linkComponent: f, open: z, setOpen: T, currentPath: u, extraSideMenuItems: l, onLogoClick: E } = r, a = X(), { t: D } = M(), L = K("sidemenu"), [c, B] = m(""), [t, F] = m(p), g = (i) => {
|
|
133
140
|
const e = [];
|
|
134
|
-
|
|
141
|
+
p == null || p.forEach((d) => {
|
|
135
142
|
var h;
|
|
136
|
-
const s = (h =
|
|
143
|
+
const s = (h = d == null ? void 0 : d.navItems) == null ? void 0 : h.filter((x) => {
|
|
137
144
|
var $, y;
|
|
138
|
-
return (y = ($ = x == null ? void 0 : x.title) == null ? void 0 : $.toLowerCase()) == null ? void 0 : y.includes(
|
|
145
|
+
return (y = ($ = x == null ? void 0 : x.title) == null ? void 0 : $.toLowerCase()) == null ? void 0 : y.includes(i == null ? void 0 : i.toLowerCase());
|
|
139
146
|
});
|
|
140
|
-
(s == null ? void 0 : s.length) > 0 && e.push({ ...
|
|
141
|
-
}),
|
|
142
|
-
},
|
|
143
|
-
|
|
147
|
+
(s == null ? void 0 : s.length) > 0 && e.push({ ...d, navItems: s });
|
|
148
|
+
}), F(e);
|
|
149
|
+
}, N = (i) => {
|
|
150
|
+
i.key === "Enter" && g(c);
|
|
144
151
|
};
|
|
145
152
|
H(() => {
|
|
146
153
|
c === "" && g(c);
|
|
147
154
|
}, [c]);
|
|
148
|
-
const
|
|
149
|
-
return /* @__PURE__ */
|
|
150
|
-
/* @__PURE__ */
|
|
151
|
-
/* @__PURE__ */
|
|
152
|
-
/* @__PURE__ */
|
|
155
|
+
const W = (i, e) => i ? e === i || (e == null ? void 0 : e.startsWith(i + "/")) : !1;
|
|
156
|
+
return /* @__PURE__ */ o.jsxs(v, { className: z ? "active" : "", $zIndex: L, children: [
|
|
157
|
+
/* @__PURE__ */ o.jsxs(A, { children: [
|
|
158
|
+
/* @__PURE__ */ o.jsx(J, { onClick: E, children: /* @__PURE__ */ o.jsx(V, { src: C, width: "6.336rem", height: "2rem" }) }),
|
|
159
|
+
/* @__PURE__ */ o.jsx(Q, { onClick: () => T(!1), children: /* @__PURE__ */ o.jsx(O, { color: a.colors.primary.purple.n450 }) })
|
|
153
160
|
] }),
|
|
154
|
-
/* @__PURE__ */
|
|
155
|
-
/* @__PURE__ */
|
|
161
|
+
/* @__PURE__ */ o.jsx(q, { children: /* @__PURE__ */ o.jsxs(Y, { children: [
|
|
162
|
+
/* @__PURE__ */ o.jsx(
|
|
156
163
|
P,
|
|
157
164
|
{
|
|
158
165
|
onClick: () => {
|
|
159
166
|
g(c);
|
|
160
167
|
},
|
|
161
|
-
children: /* @__PURE__ */
|
|
168
|
+
children: /* @__PURE__ */ o.jsx(R, { color: a.colors.grey.n350, size: 20 })
|
|
162
169
|
}
|
|
163
170
|
),
|
|
164
|
-
/* @__PURE__ */
|
|
171
|
+
/* @__PURE__ */ o.jsx(
|
|
165
172
|
I,
|
|
166
173
|
{
|
|
167
174
|
placeholder: k ?? "Search",
|
|
168
175
|
value: c,
|
|
169
|
-
onChange: (
|
|
170
|
-
|
|
176
|
+
onChange: (i) => {
|
|
177
|
+
B(i.target.value);
|
|
171
178
|
},
|
|
172
|
-
onKeyDown:
|
|
179
|
+
onKeyDown: N
|
|
173
180
|
}
|
|
174
181
|
)
|
|
175
182
|
] }) }),
|
|
176
|
-
/* @__PURE__ */
|
|
177
|
-
/* @__PURE__ */
|
|
178
|
-
(
|
|
179
|
-
(
|
|
180
|
-
var e,
|
|
181
|
-
return ((e =
|
|
182
|
-
/* @__PURE__ */
|
|
183
|
-
(
|
|
184
|
-
] },
|
|
183
|
+
/* @__PURE__ */ o.jsxs(G, { children: [
|
|
184
|
+
/* @__PURE__ */ o.jsxs("div", { children: [
|
|
185
|
+
(t == null ? void 0 : t.length) === 0 && /* @__PURE__ */ o.jsx(or, { children: /* @__PURE__ */ o.jsx(w, { variant: "smText", children: D("NO_RESULTS_FOUND") }) }),
|
|
186
|
+
(t == null ? void 0 : t.length) > 0 && (t == null ? void 0 : t.map((i) => {
|
|
187
|
+
var e, d;
|
|
188
|
+
return ((e = i == null ? void 0 : i.navItems) == null ? void 0 : e.length) === 0 ? null : /* @__PURE__ */ o.jsxs(rr, { className: i == null ? void 0 : i.code, children: [
|
|
189
|
+
/* @__PURE__ */ o.jsx(ir, { variant: "xsText", color: a.colors.grey.n300, children: i == null ? void 0 : i.title }),
|
|
190
|
+
(d = i == null ? void 0 : i.navItems) == null ? void 0 : d.map((s) => /* @__PURE__ */ o.jsx(j, { to: (s == null ? void 0 : s.path) ?? "/", component: f, wrapper: !0, children: /* @__PURE__ */ o.jsx(b, { item: { variant: "normal", active: W(s.path, u), ...s } }) }, s == null ? void 0 : s.path))
|
|
191
|
+
] }, i == null ? void 0 : i.title);
|
|
185
192
|
}))
|
|
186
193
|
] }),
|
|
187
|
-
/* @__PURE__ */
|
|
188
|
-
(l == null ? void 0 : l.length) > 0 && /* @__PURE__ */
|
|
189
|
-
l == null ? void 0 : l.map((
|
|
194
|
+
/* @__PURE__ */ o.jsxs(nr, { children: [
|
|
195
|
+
(l == null ? void 0 : l.length) > 0 && /* @__PURE__ */ o.jsx(sr, { color: a.colors.grey.n150 }),
|
|
196
|
+
l == null ? void 0 : l.map((i) => /* @__PURE__ */ o.jsx(j, { to: (i == null ? void 0 : i.path) ?? "/", component: f, wrapper: !0, children: /* @__PURE__ */ o.jsx(b, { item: { variant: "normal", active: u === i.path, ...i } }) }, i == null ? void 0 : i.path))
|
|
190
197
|
] })
|
|
191
198
|
] })
|
|
192
199
|
] });
|
|
193
200
|
};
|
|
194
201
|
export {
|
|
195
|
-
|
|
202
|
+
jr as default
|
|
196
203
|
};
|
|
@@ -49,7 +49,7 @@ const w = s.div`
|
|
|
49
49
|
justify-content: start;
|
|
50
50
|
font-family: 'Noto Sans Display', sans-serif;
|
|
51
51
|
font-weight: 600;
|
|
52
|
-
font-size: ${({ theme: r }) => r.typography.sizes.
|
|
52
|
+
font-size: ${({ theme: r }) => r.typography.sizes.s2};
|
|
53
53
|
line-height: 0.8125rem;
|
|
54
54
|
color: ${({ theme: r, state: e }) => e === "negative" ? r.colors.state.error.n450 : r.colors.grey.n650};
|
|
55
55
|
svg {
|