tcce-design-system-test 0.3.1 → 0.3.2
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.
|
@@ -830,8 +830,8 @@ export declare interface SidebarProps {
|
|
|
830
830
|
userRoles?: string[];
|
|
831
831
|
onNavigate?: (path: string) => void;
|
|
832
832
|
activePath?: string;
|
|
833
|
-
|
|
834
|
-
|
|
833
|
+
logoImgExpanded?: default_2.ReactNode;
|
|
834
|
+
logoImgCollapsed?: default_2.ReactNode;
|
|
835
835
|
}
|
|
836
836
|
|
|
837
837
|
export declare const SidebarProvider: ({ children }: PropsWithChildren) => JSX.Element;
|
|
@@ -935,7 +935,6 @@ export declare interface TableHeaderCellProps extends default_2.HTMLAttributes<H
|
|
|
935
935
|
align?: 'left' | 'center' | 'right';
|
|
936
936
|
width?: string | number;
|
|
937
937
|
active?: boolean;
|
|
938
|
-
sticky?: boolean;
|
|
939
938
|
fixed?: 'left' | 'right';
|
|
940
939
|
onSort?: (direction: SortDirection) => void;
|
|
941
940
|
}
|
|
@@ -1328,7 +1328,7 @@ const Sa = {
|
|
|
1328
1328
|
${({ size: t = 24 }) => Sa[t]}
|
|
1329
1329
|
margin: 0;
|
|
1330
1330
|
color: ${({ color: t }) => t || "var(--color-main-blue-primary)"};
|
|
1331
|
-
`,
|
|
1331
|
+
`, Gy = k.h2`
|
|
1332
1332
|
${({ size: t = 24 }) => Yu[t]}
|
|
1333
1333
|
margin: 0;
|
|
1334
1334
|
color: ${({ color: t }) => t || "var(--color-main-blue-primary)"};
|
|
@@ -6293,7 +6293,7 @@ const Ap = {
|
|
|
6293
6293
|
${Sa[30]}
|
|
6294
6294
|
color: var(--color-main-blue-primary);
|
|
6295
6295
|
margin: 0;
|
|
6296
|
-
`,
|
|
6296
|
+
`, qy = ({ message: t = "Loading...", color: e = "primary", variant: n = "rotate" }) => /* @__PURE__ */ R(Np, { role: "status", "aria-live": "polite", children: [
|
|
6297
6297
|
/* @__PURE__ */ p(Lp, { children: /* @__PURE__ */ p(
|
|
6298
6298
|
_i,
|
|
6299
6299
|
{
|
|
@@ -6311,7 +6311,7 @@ const Ap = {
|
|
|
6311
6311
|
align-items: center;
|
|
6312
6312
|
justify-content: center;
|
|
6313
6313
|
padding: 3rem 1rem;
|
|
6314
|
-
`,
|
|
6314
|
+
`, Zy = ({ message: t, color: e = "primary", variant: n = "rotate" }) => /* @__PURE__ */ p(Op, { role: "status", "aria-live": "polite", children: /* @__PURE__ */ p(
|
|
6315
6315
|
_i,
|
|
6316
6316
|
{
|
|
6317
6317
|
size: "lg",
|
|
@@ -7175,7 +7175,7 @@ const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
|
|
|
7175
7175
|
});
|
|
7176
7176
|
})) : null;
|
|
7177
7177
|
}));
|
|
7178
|
-
}),
|
|
7178
|
+
}), Jy = () => /* @__PURE__ */ p(
|
|
7179
7179
|
gg,
|
|
7180
7180
|
{
|
|
7181
7181
|
position: "bottom-center",
|
|
@@ -7277,7 +7277,7 @@ const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
|
|
|
7277
7277
|
${({ $clickable: t }) => t && bg}
|
|
7278
7278
|
${({ $disabled: t }) => t && xg}
|
|
7279
7279
|
${({ $size: t }) => vg[t]}
|
|
7280
|
-
`,
|
|
7280
|
+
`, Qy = ({
|
|
7281
7281
|
variant: t = "elevated",
|
|
7282
7282
|
size: e = "md",
|
|
7283
7283
|
disabled: n = !1,
|
|
@@ -7310,14 +7310,14 @@ const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
|
|
|
7310
7310
|
align-items: center;
|
|
7311
7311
|
align-self: stretch;
|
|
7312
7312
|
gap: 0.5rem;
|
|
7313
|
-
`,
|
|
7313
|
+
`, tv = ({
|
|
7314
7314
|
children: t,
|
|
7315
7315
|
...e
|
|
7316
7316
|
}) => /* @__PURE__ */ p(Sg, { ...e, children: t }), Tg = k.div`
|
|
7317
7317
|
flex: 1;
|
|
7318
7318
|
display: flex;
|
|
7319
7319
|
flex-direction: column;
|
|
7320
|
-
`,
|
|
7320
|
+
`, ev = ({
|
|
7321
7321
|
children: t,
|
|
7322
7322
|
...e
|
|
7323
7323
|
}) => /* @__PURE__ */ p(Tg, { ...e, children: t }), Cg = k.div`
|
|
@@ -7325,7 +7325,7 @@ const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
|
|
|
7325
7325
|
align-items: center;
|
|
7326
7326
|
align-self: stretch;
|
|
7327
7327
|
gap: 0.5rem;
|
|
7328
|
-
`,
|
|
7328
|
+
`, nv = ({
|
|
7329
7329
|
children: t,
|
|
7330
7330
|
...e
|
|
7331
7331
|
}) => /* @__PURE__ */ p(Cg, { ...e, children: t }), kg = {
|
|
@@ -7407,7 +7407,7 @@ const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
|
|
|
7407
7407
|
"checkbox",
|
|
7408
7408
|
"radio",
|
|
7409
7409
|
"pin"
|
|
7410
|
-
],
|
|
7410
|
+
], rv = (t) => t.map((e) => ({
|
|
7411
7411
|
name: e.name || "",
|
|
7412
7412
|
label: e.label || "",
|
|
7413
7413
|
type: $g.includes(e.type) ? e.type : "text",
|
|
@@ -7421,10 +7421,10 @@ const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
|
|
|
7421
7421
|
pinLength: e.pinLength || 6,
|
|
7422
7422
|
pinType: e.pinType || "number",
|
|
7423
7423
|
rows: e.rows || 4
|
|
7424
|
-
})),
|
|
7424
|
+
})), iv = (t) => t.map((e) => ({
|
|
7425
7425
|
value: e.value,
|
|
7426
7426
|
label: e.label
|
|
7427
|
-
})),
|
|
7427
|
+
})), ov = {
|
|
7428
7428
|
/**
|
|
7429
7429
|
* Creates a text input field configuration
|
|
7430
7430
|
*/
|
|
@@ -7512,7 +7512,7 @@ const gg = /* @__PURE__ */ x.forwardRef(function(e, n) {
|
|
|
7512
7512
|
},
|
|
7513
7513
|
...r
|
|
7514
7514
|
})
|
|
7515
|
-
},
|
|
7515
|
+
}, sv = (t, e, n, r, i, s, o, a) => {
|
|
7516
7516
|
const { field: l, ...u } = e, d = {
|
|
7517
7517
|
...l,
|
|
7518
7518
|
...u,
|
|
@@ -8507,7 +8507,7 @@ const S0 = (t, e, n, r, i, s, o = "text", a, l) => {
|
|
|
8507
8507
|
i[f].current?.focus();
|
|
8508
8508
|
const m = c.join("");
|
|
8509
8509
|
c.every((y) => y !== "") && c.length >= d && l?.(m);
|
|
8510
|
-
}, k0 = (t) => Array(t).fill(null).map(() => x.createRef()),
|
|
8510
|
+
}, k0 = (t) => Array(t).fill(null).map(() => x.createRef()), av = (t, e, n = "text") => !(t.length !== e || n === "number" && !/^\d+$/.test(t)), P0 = k.div`
|
|
8511
8511
|
display: flex;
|
|
8512
8512
|
gap: 8px;
|
|
8513
8513
|
align-items: center;
|
|
@@ -8570,6 +8570,7 @@ const A0 = k.div`
|
|
|
8570
8570
|
cursor: pointer;
|
|
8571
8571
|
opacity: 0;
|
|
8572
8572
|
border: 2px solid transparent;
|
|
8573
|
+
z-index: 10;
|
|
8573
8574
|
|
|
8574
8575
|
&:disabled {
|
|
8575
8576
|
cursor: not-allowed;
|
|
@@ -8595,10 +8596,6 @@ const A0 = k.div`
|
|
|
8595
8596
|
outline: 2px solid transparent;
|
|
8596
8597
|
outline-offset: 2px;
|
|
8597
8598
|
|
|
8598
|
-
&:hover {
|
|
8599
|
-
border-color: var(--color-main-orange-primary);
|
|
8600
|
-
}
|
|
8601
|
-
|
|
8602
8599
|
${({ $hasError: t }) => t && `
|
|
8603
8600
|
border-color: var(--color-main-warning-state);
|
|
8604
8601
|
`}
|
|
@@ -8723,7 +8720,7 @@ const Hs = k.div`
|
|
|
8723
8720
|
display: flex;
|
|
8724
8721
|
flex-direction: column;
|
|
8725
8722
|
gap: 0.75rem;
|
|
8726
|
-
`,
|
|
8723
|
+
`, lv = ({
|
|
8727
8724
|
id: t,
|
|
8728
8725
|
name: e,
|
|
8729
8726
|
label: n,
|
|
@@ -9266,7 +9263,7 @@ const Hs = k.div`
|
|
|
9266
9263
|
...o,
|
|
9267
9264
|
children: i
|
|
9268
9265
|
}
|
|
9269
|
-
),
|
|
9266
|
+
), cv = ({
|
|
9270
9267
|
isOpen: t,
|
|
9271
9268
|
onAccept: e,
|
|
9272
9269
|
onCancel: n,
|
|
@@ -9571,8 +9568,8 @@ const Hs = k.div`
|
|
|
9571
9568
|
onNavigate: n = () => {
|
|
9572
9569
|
},
|
|
9573
9570
|
activePath: r,
|
|
9574
|
-
|
|
9575
|
-
|
|
9571
|
+
logoImgExpanded: i,
|
|
9572
|
+
logoImgCollapsed: s
|
|
9576
9573
|
}) => {
|
|
9577
9574
|
const { isCollapsed: o, setIsCollapsed: a, isMobileOpen: l, setIsMobileOpen: u } = mc(), d = (c) => {
|
|
9578
9575
|
n(c), typeof window < "u" && window.innerWidth < 768 && u(!1);
|
|
@@ -9812,11 +9809,19 @@ hy.displayName = "Link";
|
|
|
9812
9809
|
const fy = {
|
|
9813
9810
|
default: P`
|
|
9814
9811
|
thead tr:last-child th:first-child {
|
|
9815
|
-
border-radius: var(--border-radius-article)
|
|
9812
|
+
border-top-left-radius: var(--border-radius-article);
|
|
9816
9813
|
}
|
|
9817
9814
|
|
|
9818
9815
|
thead tr:last-child th:last-child {
|
|
9819
|
-
border-radius:
|
|
9816
|
+
border-top-right-radius: var(--border-radius-article);
|
|
9817
|
+
}
|
|
9818
|
+
|
|
9819
|
+
tbody tr:last-child td:first-child {
|
|
9820
|
+
border-bottom-left-radius: var(--border-radius-article);
|
|
9821
|
+
}
|
|
9822
|
+
|
|
9823
|
+
tbody tr:last-child td:last-child {
|
|
9824
|
+
border-bottom-right-radius: var(--border-radius-article);
|
|
9820
9825
|
}
|
|
9821
9826
|
`,
|
|
9822
9827
|
striped: P`
|
|
@@ -9836,6 +9841,14 @@ const fy = {
|
|
|
9836
9841
|
thead tr:last-child th:last-child {
|
|
9837
9842
|
border-radius: 0 var(--border-radius-article) 0 0;
|
|
9838
9843
|
}
|
|
9844
|
+
|
|
9845
|
+
tbody tr:last-child td:first-child {
|
|
9846
|
+
border-bottom-left-radius: var(--border-radius-article);
|
|
9847
|
+
}
|
|
9848
|
+
|
|
9849
|
+
tbody tr:last-child td:last-child {
|
|
9850
|
+
border-bottom-right-radius: var(--border-radius-article);
|
|
9851
|
+
}
|
|
9839
9852
|
`
|
|
9840
9853
|
}, my = P`
|
|
9841
9854
|
tbody tr:hover td {
|
|
@@ -9893,13 +9906,6 @@ const fy = {
|
|
|
9893
9906
|
min-width: 8rem;
|
|
9894
9907
|
width: ${({ $width: t }) => t ? typeof t == "number" ? `${t}px` : t : "fit-content"};
|
|
9895
9908
|
|
|
9896
|
-
${({ $sticky: t }) => t && P`
|
|
9897
|
-
position: sticky;
|
|
9898
|
-
top: 0;
|
|
9899
|
-
z-index: 10;
|
|
9900
|
-
box-shadow: var(--shadow-black-card);
|
|
9901
|
-
`}
|
|
9902
|
-
|
|
9903
9909
|
&:hover {
|
|
9904
9910
|
background-color: var(--color-purple-600);
|
|
9905
9911
|
}
|
|
@@ -9960,27 +9966,25 @@ const fy = {
|
|
|
9960
9966
|
rightIcon: s,
|
|
9961
9967
|
iconSize: o = "sm",
|
|
9962
9968
|
iconColor: a = "var(--color-main-white)",
|
|
9963
|
-
|
|
9964
|
-
|
|
9965
|
-
|
|
9966
|
-
|
|
9967
|
-
|
|
9968
|
-
|
|
9969
|
-
...m
|
|
9969
|
+
align: l = "left",
|
|
9970
|
+
width: u,
|
|
9971
|
+
sortable: d,
|
|
9972
|
+
className: c,
|
|
9973
|
+
onSort: h,
|
|
9974
|
+
...f
|
|
9970
9975
|
}) => {
|
|
9971
|
-
const
|
|
9976
|
+
const m = r === "asc" ? "desc" : "asc";
|
|
9972
9977
|
return /* @__PURE__ */ p(
|
|
9973
9978
|
yy,
|
|
9974
9979
|
{
|
|
9975
9980
|
$size: e,
|
|
9976
9981
|
$active: n,
|
|
9977
|
-
$width:
|
|
9978
|
-
|
|
9979
|
-
className: h,
|
|
9982
|
+
$width: u,
|
|
9983
|
+
className: c,
|
|
9980
9984
|
scope: "col",
|
|
9981
|
-
"aria-sort":
|
|
9982
|
-
...
|
|
9983
|
-
children:
|
|
9985
|
+
"aria-sort": h ? r === "none" ? "none" : r === "asc" ? "ascending" : "descending" : void 0,
|
|
9986
|
+
...f,
|
|
9987
|
+
children: h || d ? /* @__PURE__ */ R(by, { onClick: () => h?.(m), "aria-label": `Sort ${m}`, children: [
|
|
9984
9988
|
/* @__PURE__ */ R(Ws, { children: [
|
|
9985
9989
|
i && /* @__PURE__ */ p(q, { component: i, size: o, color: a }),
|
|
9986
9990
|
/* @__PURE__ */ p(wy, { size: e === "sm" ? 16 : e === "md" ? 20 : 24, children: t })
|
|
@@ -9989,7 +9993,7 @@ const fy = {
|
|
|
9989
9993
|
/* @__PURE__ */ p(xy, { $dir: r, children: /* @__PURE__ */ p(q, { component: Ig, size: o, color: a }) }),
|
|
9990
9994
|
s && /* @__PURE__ */ p(q, { component: s, size: o, color: a })
|
|
9991
9995
|
] })
|
|
9992
|
-
] }) : /* @__PURE__ */ R(vy, { $align:
|
|
9996
|
+
] }) : /* @__PURE__ */ R(vy, { $align: l, children: [
|
|
9993
9997
|
/* @__PURE__ */ R(Ws, { children: [
|
|
9994
9998
|
i && /* @__PURE__ */ p(q, { component: i, size: o, color: a }),
|
|
9995
9999
|
/* @__PURE__ */ p(
|
|
@@ -10092,14 +10096,34 @@ const Py = k.table`
|
|
|
10092
10096
|
border-collapse: separate;
|
|
10093
10097
|
border-spacing: 0;
|
|
10094
10098
|
overflow: visible;
|
|
10095
|
-
box-shadow: var(--shadow-black-card);
|
|
10096
10099
|
border-radius: var(--border-radius-article);
|
|
10097
10100
|
border: 1px solid var(--color-main-light-borders);
|
|
10098
10101
|
|
|
10099
10102
|
${({ $variant: t }) => fy[t]}
|
|
10100
10103
|
${py}
|
|
10101
10104
|
${my}
|
|
10102
|
-
`, Ay =
|
|
10105
|
+
`, Ay = k.thead`
|
|
10106
|
+
${({ $sticky: t }) => t && P`
|
|
10107
|
+
position: sticky;
|
|
10108
|
+
top: 0;
|
|
10109
|
+
z-index: 10;
|
|
10110
|
+
`}
|
|
10111
|
+
`, Ey = k.div`
|
|
10112
|
+
max-height: 37.5rem;
|
|
10113
|
+
overflow: auto;
|
|
10114
|
+
position: relative;
|
|
10115
|
+
border-radius: var(--border-radius-article);
|
|
10116
|
+
box-shadow: var(--shadow-black-card);
|
|
10117
|
+
|
|
10118
|
+
&::before {
|
|
10119
|
+
content: '';
|
|
10120
|
+
position: absolute;
|
|
10121
|
+
inset: 0;
|
|
10122
|
+
border-radius: 20px;
|
|
10123
|
+
pointer-events: none;
|
|
10124
|
+
z-index: 3;
|
|
10125
|
+
}
|
|
10126
|
+
`, Dy = ({
|
|
10103
10127
|
columns: t,
|
|
10104
10128
|
rows: e,
|
|
10105
10129
|
size: n = "md",
|
|
@@ -10111,8 +10135,8 @@ const Py = k.table`
|
|
|
10111
10135
|
const a = (l, u) => (d) => {
|
|
10112
10136
|
l.onSort?.(d), o?.({ columnId: l.id ?? String(u), direction: d });
|
|
10113
10137
|
};
|
|
10114
|
-
return /* @__PURE__ */ R(Py, { $variant: r, className: i, children: [
|
|
10115
|
-
/* @__PURE__ */ p(
|
|
10138
|
+
return /* @__PURE__ */ p(Ey, { children: /* @__PURE__ */ R(Py, { $variant: r, className: i, children: [
|
|
10139
|
+
/* @__PURE__ */ p(Ay, { $sticky: s, children: /* @__PURE__ */ p("tr", { children: t.map((l, u) => /* @__PURE__ */ p(
|
|
10116
10140
|
bc,
|
|
10117
10141
|
{
|
|
10118
10142
|
size: n,
|
|
@@ -10122,7 +10146,6 @@ const Py = k.table`
|
|
|
10122
10146
|
iconColor: l.iconColor,
|
|
10123
10147
|
sortDirection: l.sortDirection,
|
|
10124
10148
|
onSort: l.onSort ?? (o ? a(l, u) : void 0),
|
|
10125
|
-
sticky: s || l.stickyHeader,
|
|
10126
10149
|
width: l.width,
|
|
10127
10150
|
align: l.align,
|
|
10128
10151
|
sortable: l.sortable || !!l.onSort || !!o,
|
|
@@ -10154,10 +10177,10 @@ const Py = k.table`
|
|
|
10154
10177
|
);
|
|
10155
10178
|
}) }, l.id || u);
|
|
10156
10179
|
}) })
|
|
10157
|
-
] });
|
|
10180
|
+
] }) });
|
|
10158
10181
|
};
|
|
10159
|
-
|
|
10160
|
-
const
|
|
10182
|
+
Dy.displayName = "Table";
|
|
10183
|
+
const $y = k.header`
|
|
10161
10184
|
position: fixed;
|
|
10162
10185
|
top: 0;
|
|
10163
10186
|
left: 0;
|
|
@@ -10176,15 +10199,15 @@ const Ey = k.header`
|
|
|
10176
10199
|
@media (min-width: 768px) {
|
|
10177
10200
|
padding-left: ${({ $sidebarCollapsed: t }) => t ? "6rem" : "17rem"};
|
|
10178
10201
|
}
|
|
10179
|
-
`,
|
|
10202
|
+
`, My = k.div`
|
|
10180
10203
|
display: flex;
|
|
10181
10204
|
align-items: center;
|
|
10182
10205
|
gap: 1rem;
|
|
10183
|
-
`,
|
|
10206
|
+
`, Vy = k.div`
|
|
10184
10207
|
display: flex;
|
|
10185
10208
|
align-items: center;
|
|
10186
10209
|
gap: 1rem;
|
|
10187
|
-
`,
|
|
10210
|
+
`, Ry = k.button`
|
|
10188
10211
|
position: relative;
|
|
10189
10212
|
display: flex;
|
|
10190
10213
|
align-items: center;
|
|
@@ -10208,7 +10231,7 @@ const Ey = k.header`
|
|
|
10208
10231
|
&:active {
|
|
10209
10232
|
transform: scale(0.92);
|
|
10210
10233
|
}
|
|
10211
|
-
`,
|
|
10234
|
+
`, Iy = k.span`
|
|
10212
10235
|
position: absolute;
|
|
10213
10236
|
top: 0.35rem;
|
|
10214
10237
|
right: 0.35rem;
|
|
@@ -10224,7 +10247,7 @@ const Ey = k.header`
|
|
|
10224
10247
|
display: flex;
|
|
10225
10248
|
align-items: center;
|
|
10226
10249
|
justify-content: center;
|
|
10227
|
-
`,
|
|
10250
|
+
`, Ny = k.div`
|
|
10228
10251
|
display: flex;
|
|
10229
10252
|
align-items: center;
|
|
10230
10253
|
gap: 0.75rem;
|
|
@@ -10241,7 +10264,7 @@ const Ey = k.header`
|
|
|
10241
10264
|
outline: 2px solid var(--color-main-blue-primary);
|
|
10242
10265
|
outline-offset: 2px;
|
|
10243
10266
|
}
|
|
10244
|
-
`,
|
|
10267
|
+
`, Ly = k.div`
|
|
10245
10268
|
width: 2rem;
|
|
10246
10269
|
height: 2rem;
|
|
10247
10270
|
border-radius: 50%;
|
|
@@ -10252,7 +10275,7 @@ const Ey = k.header`
|
|
|
10252
10275
|
color: var(--color-main-white);
|
|
10253
10276
|
font-weight: 600;
|
|
10254
10277
|
font-size: 0.875rem;
|
|
10255
|
-
`,
|
|
10278
|
+
`, By = k.div`
|
|
10256
10279
|
display: flex;
|
|
10257
10280
|
flex-direction: column;
|
|
10258
10281
|
align-items: flex-start;
|
|
@@ -10260,12 +10283,12 @@ const Ey = k.header`
|
|
|
10260
10283
|
@media (max-width: 640px) {
|
|
10261
10284
|
display: none;
|
|
10262
10285
|
}
|
|
10263
|
-
`,
|
|
10286
|
+
`, Oy = k.span`
|
|
10264
10287
|
font-weight: 600;
|
|
10265
10288
|
font-size: 0.875rem;
|
|
10266
10289
|
color: var(--color-main-dark-text);
|
|
10267
10290
|
line-height: 1.2;
|
|
10268
|
-
`,
|
|
10291
|
+
`, jy = k.span`
|
|
10269
10292
|
font-size: 0.75rem;
|
|
10270
10293
|
color: var(--color-main-gray-text);
|
|
10271
10294
|
line-height: 1.2;
|
|
@@ -10279,11 +10302,11 @@ const Ey = k.header`
|
|
|
10279
10302
|
children: o
|
|
10280
10303
|
}) => {
|
|
10281
10304
|
const a = (h) => h.split(" ").map((f) => f[0]).join("").toUpperCase().slice(0, 2), l = (r ?? 0) > 0 || n, u = r && r > 0 ? r : void 0, d = u ? `${u} notification${u === 1 ? "" : "s"}` : l ? "New notifications" : "No notifications", c = `Notifications: ${d}`;
|
|
10282
|
-
return /* @__PURE__ */ R(
|
|
10283
|
-
/* @__PURE__ */ p(
|
|
10284
|
-
/* @__PURE__ */ R(
|
|
10305
|
+
return /* @__PURE__ */ R($y, { $sidebarCollapsed: t, children: [
|
|
10306
|
+
/* @__PURE__ */ p(My, { children: o }),
|
|
10307
|
+
/* @__PURE__ */ R(Vy, { children: [
|
|
10285
10308
|
/* @__PURE__ */ R(
|
|
10286
|
-
|
|
10309
|
+
Ry,
|
|
10287
10310
|
{
|
|
10288
10311
|
onClick: i,
|
|
10289
10312
|
"aria-label": c,
|
|
@@ -10298,12 +10321,12 @@ const Ey = k.header`
|
|
|
10298
10321
|
color: "var(--color-main-blue-primary)"
|
|
10299
10322
|
}
|
|
10300
10323
|
),
|
|
10301
|
-
l && /* @__PURE__ */ p(
|
|
10324
|
+
l && /* @__PURE__ */ p(Iy, { $withCount: !!u, "aria-hidden": !!u, children: u && (u > 99 ? "99+" : u) })
|
|
10302
10325
|
]
|
|
10303
10326
|
}
|
|
10304
10327
|
),
|
|
10305
10328
|
e && /* @__PURE__ */ R(
|
|
10306
|
-
|
|
10329
|
+
Ny,
|
|
10307
10330
|
{
|
|
10308
10331
|
onClick: s,
|
|
10309
10332
|
role: "button",
|
|
@@ -10312,7 +10335,7 @@ const Ey = k.header`
|
|
|
10312
10335
|
(h.key === "Enter" || h.key === " ") && (h.preventDefault(), s?.());
|
|
10313
10336
|
},
|
|
10314
10337
|
children: [
|
|
10315
|
-
/* @__PURE__ */ p(
|
|
10338
|
+
/* @__PURE__ */ p(Ly, { children: e.avatarUrl ? /* @__PURE__ */ p(
|
|
10316
10339
|
"img",
|
|
10317
10340
|
{
|
|
10318
10341
|
src: e.avatarUrl,
|
|
@@ -10320,9 +10343,9 @@ const Ey = k.header`
|
|
|
10320
10343
|
style: { width: "100%", height: "100%", borderRadius: "50%" }
|
|
10321
10344
|
}
|
|
10322
10345
|
) : a(e.name) }),
|
|
10323
|
-
/* @__PURE__ */ R(
|
|
10324
|
-
/* @__PURE__ */ p(
|
|
10325
|
-
/* @__PURE__ */ p(
|
|
10346
|
+
/* @__PURE__ */ R(By, { children: [
|
|
10347
|
+
/* @__PURE__ */ p(Oy, { children: e.name }),
|
|
10348
|
+
/* @__PURE__ */ p(jy, { children: e.role })
|
|
10326
10349
|
] })
|
|
10327
10350
|
]
|
|
10328
10351
|
}
|
|
@@ -10331,12 +10354,12 @@ const Ey = k.header`
|
|
|
10331
10354
|
] });
|
|
10332
10355
|
};
|
|
10333
10356
|
wc.displayName = "Header";
|
|
10334
|
-
const
|
|
10357
|
+
const Fy = k.div`
|
|
10335
10358
|
display: flex;
|
|
10336
10359
|
flex-direction: column;
|
|
10337
10360
|
height: 100vh;
|
|
10338
10361
|
overflow: hidden;
|
|
10339
|
-
`,
|
|
10362
|
+
`, zy = k.main`
|
|
10340
10363
|
flex: 1;
|
|
10341
10364
|
margin-top: 4rem;
|
|
10342
10365
|
/* Mobile-first: no lateral offset so content occupies full width */
|
|
@@ -10352,7 +10375,7 @@ const Oy = k.div`
|
|
|
10352
10375
|
@media (min-width: 1200px) {
|
|
10353
10376
|
margin-left: 5rem;
|
|
10354
10377
|
}
|
|
10355
|
-
`,
|
|
10378
|
+
`, _y = ({
|
|
10356
10379
|
children: t,
|
|
10357
10380
|
navigationConfig: e,
|
|
10358
10381
|
userRoles: n = [],
|
|
@@ -10363,9 +10386,9 @@ const Oy = k.div`
|
|
|
10363
10386
|
onNotificationClick: a,
|
|
10364
10387
|
onUserProfileClick: l,
|
|
10365
10388
|
contentClassName: u,
|
|
10366
|
-
|
|
10367
|
-
|
|
10368
|
-
}) => /* @__PURE__ */ R(
|
|
10389
|
+
logoImgCollapsed: d,
|
|
10390
|
+
logoImgExpanded: c
|
|
10391
|
+
}) => /* @__PURE__ */ R(Fy, { children: [
|
|
10369
10392
|
/* @__PURE__ */ p(
|
|
10370
10393
|
gc,
|
|
10371
10394
|
{
|
|
@@ -10373,8 +10396,8 @@ const Oy = k.div`
|
|
|
10373
10396
|
userRoles: n,
|
|
10374
10397
|
onNavigate: o,
|
|
10375
10398
|
activePath: r,
|
|
10376
|
-
|
|
10377
|
-
|
|
10399
|
+
logoImgCollapsed: d,
|
|
10400
|
+
logoImgExpanded: c
|
|
10378
10401
|
}
|
|
10379
10402
|
),
|
|
10380
10403
|
/* @__PURE__ */ p(
|
|
@@ -10386,17 +10409,17 @@ const Oy = k.div`
|
|
|
10386
10409
|
onUserProfileClick: l
|
|
10387
10410
|
}
|
|
10388
10411
|
),
|
|
10389
|
-
/* @__PURE__ */ p(
|
|
10390
|
-
] }),
|
|
10412
|
+
/* @__PURE__ */ p(zy, { className: u, children: t })
|
|
10413
|
+
] }), uv = (t) => /* @__PURE__ */ p(K0, { children: /* @__PURE__ */ p(_y, { ...t }) });
|
|
10391
10414
|
export {
|
|
10392
10415
|
$g as ALLOWED_INPUT_TYPES,
|
|
10393
10416
|
nc as BaseInput,
|
|
10394
10417
|
Bs as Button,
|
|
10395
10418
|
jp as ButtonSpinner,
|
|
10396
|
-
|
|
10397
|
-
|
|
10398
|
-
|
|
10399
|
-
|
|
10419
|
+
Qy as Card,
|
|
10420
|
+
ev as CardBody,
|
|
10421
|
+
nv as CardFooter,
|
|
10422
|
+
tv as CardHeader,
|
|
10400
10423
|
Wi as Checkbox,
|
|
10401
10424
|
sc as CheckboxInput,
|
|
10402
10425
|
g0 as CheckboxLabel,
|
|
@@ -10405,15 +10428,15 @@ export {
|
|
|
10405
10428
|
W0 as DialogFooter,
|
|
10406
10429
|
z0 as DialogHeader,
|
|
10407
10430
|
Fs as ErrorMessage,
|
|
10408
|
-
|
|
10409
|
-
|
|
10431
|
+
lv as FormField,
|
|
10432
|
+
qy as FullScreenSpinner,
|
|
10410
10433
|
wc as Header,
|
|
10411
10434
|
si as HeadingBold,
|
|
10412
|
-
|
|
10435
|
+
Gy as HeadingRegular,
|
|
10413
10436
|
q as Icon,
|
|
10414
10437
|
er as IconWrapperStyles,
|
|
10415
10438
|
Hi as Label,
|
|
10416
|
-
|
|
10439
|
+
uv as Layout,
|
|
10417
10440
|
hy as Link,
|
|
10418
10441
|
Kg as PasswordInput,
|
|
10419
10442
|
ac as PinInput,
|
|
@@ -10422,39 +10445,39 @@ export {
|
|
|
10422
10445
|
cc as RadioInputDot,
|
|
10423
10446
|
uc as RadioInputLabel,
|
|
10424
10447
|
c0 as SearchInput,
|
|
10425
|
-
|
|
10448
|
+
Zy as SectionSpinner,
|
|
10426
10449
|
ic as SelectInput,
|
|
10427
10450
|
gc as Sidebar,
|
|
10428
10451
|
fc as SidebarContext,
|
|
10429
10452
|
K0 as SidebarProvider,
|
|
10430
10453
|
_i as Spinner,
|
|
10431
|
-
|
|
10454
|
+
Dy as Table,
|
|
10432
10455
|
xc as TableCell,
|
|
10433
10456
|
bc as TableHeaderCell,
|
|
10434
|
-
|
|
10457
|
+
cv as TermsAndConditions,
|
|
10435
10458
|
ai as Text,
|
|
10436
10459
|
oc as TextAreaInput,
|
|
10437
|
-
|
|
10460
|
+
Jy as ToastProvider,
|
|
10438
10461
|
yc as baseContentTableStyles,
|
|
10439
10462
|
Ue as baseFieldStyles,
|
|
10440
10463
|
Ui as baseInputStyles,
|
|
10441
10464
|
De as baseTableCellsSizes,
|
|
10442
|
-
|
|
10465
|
+
ov as createFieldConfig,
|
|
10443
10466
|
k0 as createInputRefs,
|
|
10444
10467
|
ye as disabledStyles,
|
|
10445
10468
|
We as errorStyles,
|
|
10446
10469
|
Mg as flushedStyles,
|
|
10447
|
-
|
|
10470
|
+
sv as getPropsForInputType,
|
|
10448
10471
|
S0 as handleDigitChange,
|
|
10449
10472
|
T0 as handleKeyDown,
|
|
10450
10473
|
C0 as handlePaste,
|
|
10451
10474
|
Us as hasPermission,
|
|
10452
|
-
|
|
10453
|
-
|
|
10475
|
+
rv as normalizeFieldTypes,
|
|
10476
|
+
iv as normalizeSelectOptions,
|
|
10454
10477
|
tr as sizeStyles,
|
|
10455
10478
|
my as tableHoverMixin,
|
|
10456
10479
|
vc as tableIconContainerStyles,
|
|
10457
10480
|
py as tableResponsiveMixin,
|
|
10458
10481
|
fy as tableVariants,
|
|
10459
|
-
|
|
10482
|
+
av as validateCode
|
|
10460
10483
|
};
|