qaema-ui 0.0.57 → 0.0.59

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.
@@ -1,7 +1,7 @@
1
1
  import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
2
- import { __require as o } from "../node_modules/prop-types/index.js";
3
- var p = /* @__PURE__ */ o();
4
- const s = /* @__PURE__ */ r(p);
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
- s as default
6
+ m as default
7
7
  };
@@ -1,7 +1,7 @@
1
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);
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
- m as default
6
+ t as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import { getDefaultExportFromCjs as r } from "./_commonjsHelpers.js";
2
- import { __require as o } from "../node_modules/shallowequal/index.js";
3
- var a = o();
4
- const t = /* @__PURE__ */ r(a);
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
- t as default
6
+ s as default
7
7
  };
@@ -1,4 +1,5 @@
1
- var e = { exports: {} };
1
+ import { __require as r } from "../node_modules/recharts/node_modules/react-is/index.js";
2
+ var a = r();
2
3
  export {
3
- e as __module
4
+ a as r
4
5
  };
@@ -1,5 +1,4 @@
1
- import { __require as r } from "../node_modules/recharts/node_modules/react-is/index.js";
2
- var a = r();
1
+ var e = { exports: {} };
3
2
  export {
4
- a as r
3
+ e as __module
5
4
  };
@@ -10,6 +10,7 @@ export type RequestCardProps = {
10
10
  variant?: RequestCardVariant;
11
11
  image?: React.ReactNode;
12
12
  title: React.ReactNode;
13
+ titleBadge?: BadgeProps;
13
14
  subtitle?: React.ReactNode;
14
15
  trackingLabel?: React.ReactNode;
15
16
  progress?: number;
@@ -1,31 +1,31 @@
1
1
  import { j as n } from "../_virtual/jsx-runtime.js";
2
2
  import "react";
3
- import s, { useTheme as F } from "styled-components";
4
- import A from "./Badge.js";
3
+ import e, { useTheme as H } from "styled-components";
4
+ import $ from "./Badge.js";
5
5
  import p from "./Button.js";
6
- import { useQaemaCoreTranslation as H } from "../i18n/i18n.js";
7
- import P from "../assets/svg/Riyal.svg.js";
8
- import { FeatureList as q, FeatureRow as W, Bullet as E } from "./RequestSummaryCard.js";
6
+ import { useQaemaCoreTranslation as P } from "../i18n/i18n.js";
7
+ import q from "../assets/svg/Riyal.svg.js";
8
+ import { FeatureList as W, FeatureRow as E, Bullet as M } from "./RequestSummaryCard.js";
9
9
  import h from "./Typography.js";
10
- const M = s.div`
10
+ const V = e.div`
11
11
  display: flex;
12
12
  flex-direction: column;
13
13
  justify-content: space-between;
14
- height: ${({ image: e, inModal: i }) => e ? i ? "65%" : "unset" : "100%"};
15
- `, V = s.div`
14
+ height: ${({ image: i, inModal: s }) => i ? s ? "65%" : "unset" : "100%"};
15
+ `, D = e.div`
16
16
  min-width: 9.0625rem;
17
17
  display: flex;
18
- aspect-ratio: ${({ $inModal: e }) => e ? "23/9" : "11/9"};
19
- background: ${({ $background: e, theme: i }) => e ?? `linear-gradient(
18
+ aspect-ratio: ${({ $inModal: i }) => i ? "23/9" : "11/9"};
19
+ background: ${({ $background: i, theme: s }) => i ?? `linear-gradient(
20
20
  180deg,
21
- ${i.colors.primary.purple.n100} 0%,
22
- ${i.colors.primary.purple.n300} 100%
21
+ ${s.colors.primary.purple.n100} 0%,
22
+ ${s.colors.primary.purple.n300} 100%
23
23
  )`};
24
- border-radius: ${({ theme: e }) => e.borderRadius.md};
24
+ border-radius: ${({ theme: i }) => i.borderRadius.md};
25
25
 
26
26
  place-items: center;
27
27
  overflow: hidden;
28
- height: ${({ $inModal: e }) => e ? "35%" : "unset"};
28
+ height: ${({ $inModal: i }) => i ? "35%" : "unset"};
29
29
  img,
30
30
  svg {
31
31
  width: 100%;
@@ -33,99 +33,104 @@ const M = s.div`
33
33
  object-fit: cover;
34
34
  display: block;
35
35
  }
36
- `, D = s.div`
36
+ `, I = e.div`
37
37
  display: grid;
38
38
  grid-template-columns: '1fr';
39
- gap: ${({ theme: e }) => e.spacing.xs};
40
- margin-top: ${({ theme: e }) => e.spacing.xxs};
39
+ gap: ${({ theme: i }) => i.spacing.xs};
40
+ margin-top: ${({ theme: i }) => i.spacing.xxs};
41
41
  justify-content: 'stretch';
42
42
  align-items: center;
43
- `, I = s(p)`
43
+ `, N = e(p)`
44
44
  min-width: 9.3125rem;
45
45
  min-height: 2rem;
46
- border-radius: ${({ theme: e }) => e.borderRadius.sm};
47
- box-shadow: ${({ theme: e }) => e.boxShadow.s3};
48
- `, N = s.h3`
46
+ border-radius: ${({ theme: i }) => i.borderRadius.sm};
47
+ box-shadow: ${({ theme: i }) => i.boxShadow.s3};
48
+ `, Q = e.div`
49
+ display: flex;
50
+ align-items: center;
51
+ gap: ${({ theme: i }) => i.spacing.xs};
52
+ margin-bottom: ${({ theme: i }) => i.spacing.xxs};
53
+ `, X = e.h3`
49
54
  margin: 0;
50
- font-family: ${({ theme: e }) => (e == null ? void 0 : e.dir) === "rtl" ? e.fonts.arabic : e.fonts.english};
51
- font-weight: ${({ theme: e }) => e.typography.weights.semiBold};
52
- font-size: ${({ theme: e }) => {
53
- var i;
54
- return (i = e.typography.sizes) == null ? void 0 : i.s4;
55
+ font-family: ${({ theme: i }) => (i == null ? void 0 : i.dir) === "rtl" ? i.fonts.arabic : i.fonts.english};
56
+ font-weight: ${({ theme: i }) => i.typography.weights.semiBold};
57
+ font-size: ${({ theme: i }) => {
58
+ var s;
59
+ return (s = i.typography.sizes) == null ? void 0 : s.s4;
55
60
  }};
56
- line-height: ${({ theme: e }) => e.typography.lineHeights.m};
61
+ line-height: ${({ theme: i }) => i.typography.lineHeights.m};
57
62
  letter-spacing: -0.25px;
58
- color: ${({ theme: e }) => e.colors.grey.n800};
59
- `, Q = s.p`
63
+ color: ${({ theme: i }) => i.colors.grey.n800};
64
+ `, G = e.p`
60
65
  margin: 0;
61
- color: ${({ theme: e }) => e.colors.grey.n400};
62
- font-size: ${({ theme: e }) => {
63
- var i;
64
- return (i = e.typography.sizes) == null ? void 0 : i.s3;
66
+ color: ${({ theme: i }) => i.colors.grey.n400};
67
+ font-size: ${({ theme: i }) => {
68
+ var s;
69
+ return (s = i.typography.sizes) == null ? void 0 : s.s3;
65
70
  }};
66
- line-height: ${({ theme: e }) => e.typography.lineHeights.s};
67
- `, X = s.div`
71
+ line-height: ${({ theme: i }) => i.typography.lineHeights.s};
72
+ `, J = e.div`
68
73
  display: flex;
69
74
  flex-wrap: wrap;
70
- gap: ${({ theme: e }) => e.spacing.s};
71
- margin-top: ${({ theme: e }) => e.spacing.s};
72
- margin-bottom: ${({ theme: e }) => e.spacing.s};
73
- `, G = s.div`
75
+ gap: ${({ theme: i }) => i.spacing.s};
76
+ margin-top: ${({ theme: i }) => i.spacing.s};
77
+ margin-bottom: ${({ theme: i }) => i.spacing.s};
78
+ `, K = e.div`
74
79
  display: flex;
75
80
  flex-direction: column;
76
- gap: ${({ theme: e }) => e.spacing.xs};
77
- `, J = s.div`
78
- font-family: ${({ theme: e }) => (e == null ? void 0 : e.dir) === "rtl" ? e.fonts.arabic : e.fonts.english};
79
- font-weight: ${({ theme: e }) => e.typography.weights.semiBold};
80
- font-size: ${({ theme: e }) => {
81
- var i;
82
- return (i = e.typography.sizes) == null ? void 0 : i.s2;
81
+ gap: ${({ theme: i }) => i.spacing.xs};
82
+ `, L = e.div`
83
+ font-family: ${({ theme: i }) => (i == null ? void 0 : i.dir) === "rtl" ? i.fonts.arabic : i.fonts.english};
84
+ font-weight: ${({ theme: i }) => i.typography.weights.semiBold};
85
+ font-size: ${({ theme: i }) => {
86
+ var s;
87
+ return (s = i.typography.sizes) == null ? void 0 : s.s2;
83
88
  }};
84
- line-height: ${({ theme: e }) => e.typography.lineHeights.xs};
89
+ line-height: ${({ theme: i }) => i.typography.lineHeights.xs};
85
90
  letter-spacing: 0;
86
91
  vertical-align: middle;
87
- color: ${({ theme: e }) => e.colors.grey.n650};
88
- `, K = s.div`
89
- width: ${({ $fixed: e }) => e ? "335px" : "100%"};
92
+ color: ${({ theme: i }) => i.colors.grey.n650};
93
+ `, O = e.div`
94
+ width: ${({ $fixed: i }) => i ? "335px" : "100%"};
90
95
  min-width: 11.1875rem;
91
96
  height: 100%;
92
- border-radius: ${({ theme: e }) => e.borderRadius.md};
93
- padding: ${({ theme: e }) => e.spacing.sm};
97
+ border-radius: ${({ theme: i }) => i.borderRadius.md};
98
+ padding: ${({ theme: i }) => i.spacing.sm};
94
99
 
95
- background: ${({ theme: e }) => e.colors.grey.n50};
96
- box-shadow: ${({ theme: e }) => e.boxShadow.s3};
100
+ background: ${({ theme: i }) => i.colors.grey.n50};
101
+ box-shadow: ${({ theme: i }) => i.boxShadow.s3};
97
102
  border: none;
98
103
  display: flex;
99
104
  flex-direction: column;
100
- gap: ${({ theme: e }) => e.spacing.s};
101
- `, L = s.div`
105
+ gap: ${({ theme: i }) => i.spacing.s};
106
+ `, U = e.div`
102
107
  position: relative;
103
108
  width: 100%;
104
109
  height: 0.5rem;
105
- background: ${({ theme: e }) => e.colors.grey.n100};
110
+ background: ${({ theme: i }) => i.colors.grey.n100};
106
111
  border-radius: 0;
107
112
  overflow: hidden;
108
113
  &::after {
109
114
  content: '';
110
115
  position: absolute;
111
116
  inset: 0;
112
- width: ${({ $value: e }) => Math.min(Math.max(e, 0), 100)}%;
113
- background: ${({ $color: e }) => e};
117
+ width: ${({ $value: i }) => Math.min(Math.max(i, 0), 100)}%;
118
+ background: ${({ $color: i }) => i};
114
119
  transition: width 250ms ease;
115
120
  border-radius: 0;
116
121
  }
117
- `, O = s.span`
118
- font-family: ${({ theme: e }) => (e == null ? void 0 : e.dir) === "rtl" ? e.fonts.arabic : e.fonts.english};
119
- font-weight: ${({ theme: e }) => e.typography.weights.regular};
120
- font-size: ${({ theme: e }) => {
121
- var i;
122
- return (i = e.typography.sizes) == null ? void 0 : i.s2;
122
+ `, Y = e.span`
123
+ font-family: ${({ theme: i }) => (i == null ? void 0 : i.dir) === "rtl" ? i.fonts.arabic : i.fonts.english};
124
+ font-weight: ${({ theme: i }) => i.typography.weights.regular};
125
+ font-size: ${({ theme: i }) => {
126
+ var s;
127
+ return (s = i.typography.sizes) == null ? void 0 : s.s2;
123
128
  }};
124
- line-height: ${({ theme: e }) => e.typography.lineHeights.xs};
129
+ line-height: ${({ theme: i }) => i.typography.lineHeights.xs};
125
130
  letter-spacing: 0;
126
- color: ${({ theme: e }) => e.colors.grey.n400};
127
- `, U = (e) => {
128
- switch (e) {
131
+ color: ${({ theme: i }) => i.colors.grey.n400};
132
+ `, Z = (i) => {
133
+ switch (i) {
129
134
  case "accepted":
130
135
  return { bar: "#1DBA63" };
131
136
  case "rejected":
@@ -135,7 +140,7 @@ const M = s.div`
135
140
  default:
136
141
  return { bar: "#7259ff" };
137
142
  }
138
- }, Y = s.div`
143
+ }, _ = e.div`
139
144
  display: flex;
140
145
  flex-direction: column;
141
146
  justify-content: space-between;
@@ -146,63 +151,67 @@ const M = s.div`
146
151
  @media (max-width: 375px) {
147
152
  align-items: center;
148
153
  }
149
- `, Z = s.div`
154
+ `, C = e.div`
150
155
  display: flex;
151
156
  align-items: baseline;
152
- color: ${({ theme: e }) => e.colors.grey.n650};
157
+ color: ${({ theme: i }) => i.colors.grey.n650};
153
158
 
154
159
  span {
155
- color: ${({ theme: e }) => e.colors.grey.n650};
160
+ color: ${({ theme: i }) => i.colors.grey.n650};
156
161
  }
157
162
 
158
163
  @media (max-width: 375px) {
159
164
  text-align: center;
160
165
  }
161
- `, _ = s.div`
166
+ `, ii = e.div`
162
167
  display: flex;
163
168
  align-items: center;
164
- `, C = s.img`
165
- width: ${({ $width: e = "1rem" }) => e};
169
+ `, ni = e.img`
170
+ width: ${({ $width: i = "1rem" }) => i};
166
171
  height: 1rem;
167
172
  object-fit: contain;
168
173
  flex-shrink: 0;
169
174
  margin-right: 2px;
170
- `, ce = ({
171
- variant: e = "hidden",
172
- image: i,
173
- title: f,
174
- subtitle: x,
175
- trackingLabel: $ = "Request Tracking",
176
- progress: y = 0,
177
- statusText: j,
175
+ `, gi = ({
176
+ variant: i = "hidden",
177
+ image: s,
178
+ title: y,
179
+ titleBadge: x,
180
+ subtitle: m,
181
+ trackingLabel: j = "Request Tracking",
182
+ progress: b = 0,
183
+ statusText: w,
178
184
  primaryCta: t,
179
185
  secondaryCta: l,
180
- className: b,
181
- style: w,
186
+ className: v,
187
+ style: k,
182
188
  features: a,
183
- featuresTitle: k,
189
+ featuresTitle: z,
184
190
  badgeList: c,
185
191
  price: o,
186
192
  inModal: u = !1,
187
- background: v
193
+ background: R
188
194
  }) => {
189
- const { t: r } = H(), z = U(e), B = e !== "hidden", R = r(e === "accepted" ? "accepted" : e === "rejected" ? "rejected" : "submitted"), m = e === "hidden" ? "primary" : e === "accepted" || e === "rejected" ? "light-primary" : "outline-primary", T = e === "rejected", S = F();
190
- return /* @__PURE__ */ n.jsxs(K, { className: b, style: w, children: [
191
- i ? /* @__PURE__ */ n.jsx(V, { $inModal: u, $background: v, children: i }) : null,
192
- /* @__PURE__ */ n.jsxs(M, { image: i, inModal: u, children: [
193
- /* @__PURE__ */ n.jsx(N, { children: f }),
194
- x ? /* @__PURE__ */ n.jsx(Q, { children: x }) : null,
195
- c && c.length > 0 && /* @__PURE__ */ n.jsx(X, { children: c.map((d, g) => /* @__PURE__ */ n.jsx(A, { ...d }, g)) }),
195
+ const { t: r } = P(), T = Z(i), B = i !== "hidden", S = r(i === "accepted" ? "accepted" : i === "rejected" ? "rejected" : "submitted"), f = i === "hidden" ? "primary" : i === "accepted" || i === "rejected" ? "light-primary" : "outline-primary", F = i === "rejected", A = H();
196
+ return /* @__PURE__ */ n.jsxs(O, { className: v, style: k, children: [
197
+ s ? /* @__PURE__ */ n.jsx(D, { $inModal: u, $background: R, children: s }) : null,
198
+ /* @__PURE__ */ n.jsxs(V, { image: s, inModal: u, children: [
199
+ /* @__PURE__ */ n.jsxs(Q, { children: [
200
+ /* @__PURE__ */ n.jsx(X, { children: y }),
201
+ x && /* @__PURE__ */ n.jsx($, { ...x })
202
+ ] }),
203
+ m ? /* @__PURE__ */ n.jsx(G, { children: m }) : null,
204
+ c && c.length > 0 && /* @__PURE__ */ n.jsx(J, { children: c.map((d, g) => /* @__PURE__ */ n.jsx($, { ...d }, g)) }),
196
205
  a && a.length > 0 ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
197
- /* @__PURE__ */ n.jsx(h, { variant: "h6", color: S.colors.grey.n400, children: k }),
198
- /* @__PURE__ */ n.jsx(q, { children: a.map((d, g) => /* @__PURE__ */ n.jsxs(W, { children: [
199
- /* @__PURE__ */ n.jsx(E, {}),
206
+ /* @__PURE__ */ n.jsx(h, { variant: "h6", color: A.colors.grey.n400, children: z }),
207
+ /* @__PURE__ */ n.jsx(W, { children: a.map((d, g) => /* @__PURE__ */ n.jsxs(E, { children: [
208
+ /* @__PURE__ */ n.jsx(M, {}),
200
209
  /* @__PURE__ */ n.jsx("span", { children: d.label })
201
210
  ] }, g)) })
202
211
  ] }) : null,
203
- o && /* @__PURE__ */ n.jsx(Y, { children: /* @__PURE__ */ n.jsxs(Z, { children: [
204
- /* @__PURE__ */ n.jsxs(_, { children: [
205
- /* @__PURE__ */ n.jsx(C, { src: P, alt: o == null ? void 0 : o.amount }),
212
+ o && /* @__PURE__ */ n.jsx(_, { children: /* @__PURE__ */ n.jsxs(C, { children: [
213
+ /* @__PURE__ */ n.jsxs(ii, { children: [
214
+ /* @__PURE__ */ n.jsx(ni, { src: q, alt: o == null ? void 0 : o.amount }),
206
215
  /* @__PURE__ */ n.jsx(h, { variant: "h5", weight: "bold", children: o == null ? void 0 : o.amount })
207
216
  ] }),
208
217
  /* @__PURE__ */ n.jsxs(h, { variant: "caption", children: [
@@ -210,23 +219,23 @@ const M = s.div`
210
219
  (o == null ? void 0 : o.unit) ?? r("year")
211
220
  ] })
212
221
  ] }) }),
213
- B && /* @__PURE__ */ n.jsxs(G, { children: [
214
- /* @__PURE__ */ n.jsx(J, { children: $ }),
215
- /* @__PURE__ */ n.jsx(L, { $value: y, $color: z.bar }),
216
- /* @__PURE__ */ n.jsx(O, { children: j ?? R })
222
+ B && /* @__PURE__ */ n.jsxs(K, { children: [
223
+ /* @__PURE__ */ n.jsx(L, { children: j }),
224
+ /* @__PURE__ */ n.jsx(U, { $value: b, $color: T.bar }),
225
+ /* @__PURE__ */ n.jsx(Y, { children: w ?? S })
217
226
  ] }),
218
- /* @__PURE__ */ n.jsx(D, { children: T ? /* @__PURE__ */ n.jsx(n.Fragment, { children: /* @__PURE__ */ n.jsx(I, { variant: m, size: "xs", onClick: t == null ? void 0 : t.onClick, children: (t == null ? void 0 : t.label) ?? "Send New Request" }) }) : /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
219
- t && /* @__PURE__ */ n.jsx(p, { variant: m, size: "md", onClick: t.onClick, children: t.label }),
227
+ /* @__PURE__ */ n.jsx(I, { children: F ? /* @__PURE__ */ n.jsx(n.Fragment, { children: /* @__PURE__ */ n.jsx(N, { variant: f, size: "xs", onClick: t == null ? void 0 : t.onClick, children: (t == null ? void 0 : t.label) ?? "Send New Request" }) }) : /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
228
+ t && /* @__PURE__ */ n.jsx(p, { variant: f, size: "md", onClick: t.onClick, children: t.label }),
220
229
  l && /* @__PURE__ */ n.jsx(p, { variant: "light-secondary", size: "md", onClick: l.onClick, children: l.label })
221
230
  ] }) })
222
231
  ] })
223
232
  ] });
224
233
  };
225
234
  export {
226
- M as ContentWrapper,
227
- L as ProgressBar,
228
- O as StatusText,
229
- J as TrackingHeader,
230
- G as TrackingWrap,
231
- ce as default
235
+ V as ContentWrapper,
236
+ U as ProgressBar,
237
+ Y as StatusText,
238
+ L as TrackingHeader,
239
+ K as TrackingWrap,
240
+ gi as default
232
241
  };
@@ -2,6 +2,7 @@ import type React from 'react';
2
2
  import type { NavItemType } from './NavItem';
3
3
  export type CategoryItem = {
4
4
  title: string;
5
+ code: string;
5
6
  navItems: Array<NavItemType>;
6
7
  };
7
8
  export type SidemenuProps = {
@@ -129,23 +129,23 @@ const v = o.div`
129
129
  }}
130
130
  margin-bottom: ${({ theme: r }) => r.spacing.sm};
131
131
  `, mr = (r) => {
132
- const { logoSrc: C, searchPlaceHolder: k, categories: a, linkComponent: f, open: T, setOpen: E, currentPath: u, extraSideMenuItems: l, onLogoClick: D } = r, p = X(), { t: L } = M(), B = K("sidemenu"), [c, F] = m(""), [e, W] = m(a), g = (n) => {
133
- const t = [];
134
- a == null || a.forEach((d) => {
132
+ const { logoSrc: C, searchPlaceHolder: k, categories: a, linkComponent: f, open: T, setOpen: E, currentPath: u, extraSideMenuItems: l, onLogoClick: D } = r, p = X(), { t: L } = M(), B = K("sidemenu"), [c, F] = m(""), [d, N] = m(a), g = (n) => {
133
+ const e = [];
134
+ a == null || a.forEach((t) => {
135
135
  var h;
136
- const s = (h = d == null ? void 0 : d.navItems) == null ? void 0 : h.filter((x) => {
136
+ const s = (h = t == null ? void 0 : t.navItems) == null ? void 0 : h.filter((x) => {
137
137
  var $, y;
138
138
  return (y = ($ = x == null ? void 0 : x.title) == null ? void 0 : $.toLowerCase()) == null ? void 0 : y.includes(n == null ? void 0 : n.toLowerCase());
139
139
  });
140
- (s == null ? void 0 : s.length) > 0 && t.push({ ...d, navItems: s });
141
- }), W(t);
142
- }, N = (n) => {
140
+ (s == null ? void 0 : s.length) > 0 && e.push({ ...t, navItems: s });
141
+ }), N(e);
142
+ }, W = (n) => {
143
143
  n.key === "Enter" && g(c);
144
144
  };
145
145
  H(() => {
146
146
  c === "" && g(c);
147
147
  }, [c]);
148
- const z = (n, t) => n ? t === n || (t == null ? void 0 : t.startsWith(n + "/")) : !1;
148
+ const z = (n, e) => n ? e === n || (e == null ? void 0 : e.startsWith(n + "/")) : !1;
149
149
  return /* @__PURE__ */ i.jsxs(v, { className: T ? "active" : "", $zIndex: B, children: [
150
150
  /* @__PURE__ */ i.jsxs(A, { children: [
151
151
  /* @__PURE__ */ i.jsx(J, { onClick: D, children: /* @__PURE__ */ i.jsx(V, { src: C, width: "6.336rem", height: "2rem" }) }),
@@ -169,18 +169,18 @@ const v = o.div`
169
169
  onChange: (n) => {
170
170
  F(n.target.value);
171
171
  },
172
- onKeyDown: N
172
+ onKeyDown: W
173
173
  }
174
174
  )
175
175
  ] }) }),
176
176
  /* @__PURE__ */ i.jsxs(G, { children: [
177
177
  /* @__PURE__ */ i.jsxs("div", { children: [
178
- (e == null ? void 0 : e.length) === 0 && /* @__PURE__ */ i.jsx(ir, { children: /* @__PURE__ */ i.jsx(w, { variant: "smText", children: L("NO_RESULTS_FOUND") }) }),
179
- (e == null ? void 0 : e.length) > 0 && (e == null ? void 0 : e.map((n) => {
180
- var t, d;
181
- return ((t = n == null ? void 0 : n.navItems) == null ? void 0 : t.length) === 0 ? null : /* @__PURE__ */ i.jsxs(rr, { children: [
178
+ (d == null ? void 0 : d.length) === 0 && /* @__PURE__ */ i.jsx(ir, { children: /* @__PURE__ */ i.jsx(w, { variant: "smText", children: L("NO_RESULTS_FOUND") }) }),
179
+ (d == null ? void 0 : d.length) > 0 && (d == null ? void 0 : d.map((n) => {
180
+ var e, t;
181
+ return ((e = n == null ? void 0 : n.navItems) == null ? void 0 : e.length) === 0 ? null : /* @__PURE__ */ i.jsxs(rr, { className: n == null ? void 0 : n.code, children: [
182
182
  /* @__PURE__ */ i.jsx(nr, { variant: "xsText", color: p.colors.grey.n300, children: n == null ? void 0 : n.title }),
183
- (d = n == null ? void 0 : n.navItems) == null ? void 0 : d.map((s) => /* @__PURE__ */ i.jsx(j, { to: (s == null ? void 0 : s.path) ?? "/", component: f, wrapper: !0, children: /* @__PURE__ */ i.jsx(b, { item: { variant: "normal", active: z(s.path, u), ...s } }) }, s == null ? void 0 : s.path))
183
+ (t = n == null ? void 0 : n.navItems) == null ? void 0 : t.map((s) => /* @__PURE__ */ i.jsx(j, { to: (s == null ? void 0 : s.path) ?? "/", component: f, wrapper: !0, children: /* @__PURE__ */ i.jsx(b, { item: { variant: "normal", active: z(s.path, u), ...s } }) }, s == null ? void 0 : s.path))
184
184
  ] }, n == null ? void 0 : n.title);
185
185
  }))
186
186
  ] }),
@@ -1,4 +1,4 @@
1
- import o from "../../../_virtual/index2.js";
1
+ import o from "../../../_virtual/index4.js";
2
2
  import * as p from "react";
3
3
  import n from "../../../_virtual/index.js";
4
4
  import { j as i } from "../../../_virtual/jsx-runtime.js";
@@ -1,6 +1,6 @@
1
1
  import i from "../../../_virtual/index.js";
2
2
  import * as f from "react";
3
- import e from "../../../_virtual/index2.js";
3
+ import e from "../../../_virtual/index4.js";
4
4
  import { j as l } from "../../../_virtual/jsx-runtime.js";
5
5
  const c = {
6
6
  /**
@@ -1,5 +1,5 @@
1
1
  import i from "../../../_virtual/index.js";
2
- import o from "../../../_virtual/index2.js";
2
+ import o from "../../../_virtual/index4.js";
3
3
  import * as s from "react";
4
4
  import f from "./FormCheck.js";
5
5
  import l from "./FormControl.js";
@@ -1,6 +1,6 @@
1
1
  import f from "../../../_virtual/index.js";
2
2
  import * as d from "react";
3
- import o from "../../../_virtual/index2.js";
3
+ import o from "../../../_virtual/index4.js";
4
4
  import { useBootstrapPrefix as u } from "./ThemeProvider.js";
5
5
  import { j as p } from "../../../_virtual/jsx-runtime.js";
6
6
  o.string, o.bool, o.bool, o.bool, o.bool;
@@ -2,9 +2,9 @@ var Q = Object.defineProperty;
2
2
  var X = (e, t, r) => t in e ? Q(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
3
  var h = (e, t, r) => X(e, typeof t != "symbol" ? t + "" : t, r);
4
4
  import y, { Component as R } from "react";
5
- import ee from "../../../_virtual/index3.js";
5
+ import ee from "../../../_virtual/index2.js";
6
6
  import F from "../../../_virtual/browser.js";
7
- import te from "../../../_virtual/index4.js";
7
+ import te from "../../../_virtual/index3.js";
8
8
  var Y = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "head", e.HTML = "html", e.LINK = "link", e.META = "meta", e.NOSCRIPT = "noscript", e.SCRIPT = "script", e.STYLE = "style", e.TITLE = "title", e.FRAGMENT = "Symbol(react.fragment)", e))(Y || {}), $ = {
9
9
  link: { rel: ["amphtml", "canonical", "alternate"] },
10
10
  script: { type: ["application/ld+json"] },
@@ -1,4 +1,4 @@
1
- import { __module as e } from "../../_virtual/index7.js";
1
+ import { __module as e } from "../../_virtual/index8.js";
2
2
  import { __require as o } from "./cjs/react-is.production.min.js";
3
3
  import { __require as t } from "./cjs/react-is.development.js";
4
4
  var r;
@@ -1,5 +1,5 @@
1
1
  import x, { Children as w, cloneElement as z, PureComponent as F } from "react";
2
- import a from "../../../_virtual/index2.js";
2
+ import a from "../../../_virtual/index4.js";
3
3
  import { deepEqual as H } from "../../fast-equals/dist/esm/index.js";
4
4
  import L from "./AnimateManager.js";
5
5
  import { configEasing as V } from "./easing.js";
@@ -1,6 +1,6 @@
1
1
  import C from "../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js";
2
2
  import D from "../../@babel/runtime/helpers/esm/inheritsLoose.js";
3
- import o from "../../../_virtual/index2.js";
3
+ import o from "../../../_virtual/index4.js";
4
4
  import v from "react";
5
5
  import b from "react-dom";
6
6
  import T from "./config.js";
@@ -1,4 +1,4 @@
1
- import e from "../../../../_virtual/index2.js";
1
+ import e from "../../../../_virtual/index4.js";
2
2
  var n = process.env.NODE_ENV !== "production" ? e.oneOfType([e.number, e.shape({
3
3
  enter: e.number,
4
4
  exit: e.number,
@@ -4,7 +4,7 @@ import P from "../../../../_virtual/isString.js";
4
4
  import D from "../../../../_virtual/isFunction.js";
5
5
  import j from "../../../../_virtual/isObject.js";
6
6
  import { Children as p, isValidElement as w } from "react";
7
- import { r as B } from "../../../../_virtual/index8.js";
7
+ import { r as B } from "../../../../_virtual/index7.js";
8
8
  import { isNumber as b } from "./DataUtils.js";
9
9
  import { shallowEqual as d } from "./ShallowEqual.js";
10
10
  import { SVGElementPropKeys as G, EventKeys as F, FilteredElementKeyMap as s } from "./types.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "qaema-ui",
3
3
  "private": false,
4
- "version": "0.0.57",
4
+ "version": "0.0.59",
5
5
  "type": "module",
6
6
  "publishConfig": {
7
7
  "access": "public"