@flamingo-stack/openframe-frontend-core 0.0.661-snapshot.20260923173905 → 0.0.661
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/{chunk-YVLK3MOX.js → chunk-Q4XWYP5U.js} +107 -135
- package/dist/chunk-Q4XWYP5U.js.map +1 -0
- package/dist/{chunk-J7QLRCZX.cjs → chunk-YNW3DQFY.cjs} +17 -45
- package/dist/chunk-YNW3DQFY.cjs.map +1 -0
- package/dist/components/index.cjs +2 -4
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +1 -3
- package/dist/components/index.js.map +1 -1
- package/dist/components/navigation/index.cjs +2 -4
- package/dist/components/navigation/index.cjs.map +1 -1
- package/dist/components/navigation/index.d.ts +0 -2
- package/dist/components/navigation/index.d.ts.map +1 -1
- package/dist/components/navigation/index.js +1 -3
- package/dist/components/navigation/mobile-burger-menu.d.ts.map +1 -1
- package/dist/components/navigation/navigation-sidebar-item.d.ts.map +1 -1
- package/dist/index.cjs +2 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -3
- package/dist/index.js.map +1 -1
- package/dist/types/navigation.d.ts +0 -8
- package/dist/types/navigation.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/navigation/index.ts +0 -2
- package/src/components/navigation/mobile-burger-menu.tsx +8 -16
- package/src/components/navigation/navigation-sidebar-item.tsx +4 -15
- package/src/stories/AppLayout.stories.tsx +0 -1
- package/src/types/navigation.ts +0 -8
- package/dist/chunk-J7QLRCZX.cjs.map +0 -1
- package/dist/chunk-YVLK3MOX.js.map +0 -1
- package/dist/components/navigation/navigation-item-badge.d.ts +0 -22
- package/dist/components/navigation/navigation-item-badge.d.ts.map +0 -1
- package/src/components/navigation/navigation-item-badge.tsx +0 -40
|
@@ -20,7 +20,6 @@ import {
|
|
|
20
20
|
} from "./chunk-LXBHYUIN.js";
|
|
21
21
|
import {
|
|
22
22
|
OVERLAY_BACKDROP_CLASS,
|
|
23
|
-
Tag,
|
|
24
23
|
useIsHydrated
|
|
25
24
|
} from "./chunk-4NKKPGDN.js";
|
|
26
25
|
import {
|
|
@@ -894,25 +893,7 @@ function NavigationSidebarHeader({ minimized }) {
|
|
|
894
893
|
|
|
895
894
|
// src/components/navigation/navigation-sidebar-item.tsx
|
|
896
895
|
import { cloneElement, memo } from "react";
|
|
897
|
-
|
|
898
|
-
// src/components/navigation/navigation-item-badge.tsx
|
|
899
|
-
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
900
|
-
function NavigationItemBadge({ label, compact = false, className, ...rest }) {
|
|
901
|
-
return /* @__PURE__ */ jsx10(
|
|
902
|
-
Tag,
|
|
903
|
-
{
|
|
904
|
-
as: "span",
|
|
905
|
-
label,
|
|
906
|
-
variant: "warning",
|
|
907
|
-
className: cn("pointer-events-none shrink-0", compact && "h-5 px-[var(--spacing-system-xxs)]", className),
|
|
908
|
-
labelClassName: compact ? "text-badge" : void 0,
|
|
909
|
-
...rest
|
|
910
|
-
}
|
|
911
|
-
);
|
|
912
|
-
}
|
|
913
|
-
|
|
914
|
-
// src/components/navigation/navigation-sidebar-item.tsx
|
|
915
|
-
import { Fragment as Fragment5, jsx as jsx11, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
896
|
+
import { Fragment as Fragment5, jsx as jsx10, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
916
897
|
var NavigationSidebarItemButton = memo(function NavigationSidebarItemButtonImpl({
|
|
917
898
|
item,
|
|
918
899
|
isActive,
|
|
@@ -923,7 +904,6 @@ var NavigationSidebarItemButton = memo(function NavigationSidebarItemButtonImpl(
|
|
|
923
904
|
}) {
|
|
924
905
|
const unreadCount = item.unreadCount ?? 0;
|
|
925
906
|
const hasUnread = unreadCount > 0;
|
|
926
|
-
const name = item.badge ? `${item.label} (${item.badge})` : item.label;
|
|
927
907
|
const className = cn(
|
|
928
908
|
// `isolate` scopes the hover layer's negative z-index to this row, so it
|
|
929
909
|
// paints over the row's own background and under its content instead of
|
|
@@ -964,46 +944,43 @@ var NavigationSidebarItemButton = memo(function NavigationSidebarItemButtonImpl(
|
|
|
964
944
|
cloneElement(item.icon, {
|
|
965
945
|
color: isActive && !disabled ? "text-ods-accent" : "text-ods-text-secondary"
|
|
966
946
|
}),
|
|
967
|
-
hasUnread && !showLabel && /* @__PURE__ */
|
|
947
|
+
hasUnread && !showLabel && /* @__PURE__ */ jsx10(UnreadDot, { size: "fixed" })
|
|
968
948
|
] }),
|
|
969
|
-
/* @__PURE__ */
|
|
949
|
+
/* @__PURE__ */ jsx10(
|
|
970
950
|
"span",
|
|
971
951
|
{
|
|
972
952
|
className: cn(
|
|
973
|
-
"flex
|
|
953
|
+
"flex-1 truncate text-left transition-[opacity,margin-left] duration-300 text-h4",
|
|
974
954
|
showLabel ? "ml-[var(--spacing-system-xs)] opacity-100" : "ml-0 opacity-0"
|
|
975
955
|
),
|
|
976
956
|
"aria-hidden": !showLabel,
|
|
977
|
-
children:
|
|
978
|
-
/* @__PURE__ */ jsx11("span", { className: "min-w-0 truncate text-h4", children: item.label }),
|
|
979
|
-
item.badge && /* @__PURE__ */ jsx11(NavigationItemBadge, { label: item.badge, className: "ml-[var(--spacing-system-xs)] shrink-0" })
|
|
980
|
-
]
|
|
957
|
+
children: item.label
|
|
981
958
|
}
|
|
982
959
|
),
|
|
983
|
-
hasUnread && showLabel && /* @__PURE__ */
|
|
960
|
+
hasUnread && showLabel && /* @__PURE__ */ jsx10("span", { className: "flex size-6 flex-shrink-0 items-center justify-center rounded-md bg-ods-accent p-2", children: /* @__PURE__ */ jsx10("span", { className: "text-ods-text-on-accent text-h5", children: unreadCount > 99 ? "99+" : unreadCount }) })
|
|
984
961
|
] });
|
|
985
962
|
const shared = {
|
|
986
963
|
className,
|
|
987
|
-
title: !showLabel ?
|
|
988
|
-
"aria-label":
|
|
964
|
+
title: !showLabel ? item.label : void 0,
|
|
965
|
+
"aria-label": item.label,
|
|
989
966
|
"aria-current": isActive ? "page" : void 0
|
|
990
967
|
};
|
|
991
968
|
if (disabled || !item.path || item.onClick) {
|
|
992
|
-
return /* @__PURE__ */
|
|
969
|
+
return /* @__PURE__ */ jsx10("button", { type: "button", onClick: (event) => onClick(item, event), disabled, ...shared, children: content });
|
|
993
970
|
}
|
|
994
|
-
return /* @__PURE__ */
|
|
971
|
+
return /* @__PURE__ */ jsx10(next_link_default, { href: item.path, onClick: (event) => onClick(item, event), ...shared, children: content });
|
|
995
972
|
});
|
|
996
973
|
function NavigationSidebarItemSkeleton({ showLabel }) {
|
|
997
974
|
return /* @__PURE__ */ jsxs9("div", { className: "flex h-14 w-full items-center justify-start p-[var(--spacing-system-m)]", "aria-hidden": "true", children: [
|
|
998
|
-
/* @__PURE__ */
|
|
999
|
-
showLabel && /* @__PURE__ */
|
|
975
|
+
/* @__PURE__ */ jsx10("div", { className: "relative flex flex-shrink-0 items-center justify-center", children: /* @__PURE__ */ jsx10("div", { className: "h-6 w-6 animate-pulse rounded bg-ods-border" }) }),
|
|
976
|
+
showLabel && /* @__PURE__ */ jsx10("div", { className: "ml-[var(--spacing-system-xs)] h-4 flex-1 animate-pulse rounded bg-ods-border" })
|
|
1000
977
|
] });
|
|
1001
978
|
}
|
|
1002
979
|
|
|
1003
980
|
// src/components/navigation/navigation-sidebar-toggle.tsx
|
|
1004
|
-
import { jsx as
|
|
981
|
+
import { jsx as jsx11, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
1005
982
|
function NavigationSidebarToggle({ minimized, showLabel, onToggle }) {
|
|
1006
|
-
return /* @__PURE__ */
|
|
983
|
+
return /* @__PURE__ */ jsx11("div", { className: "border-t border-ods-border", children: /* @__PURE__ */ jsxs10(
|
|
1007
984
|
"button",
|
|
1008
985
|
{
|
|
1009
986
|
onClick: onToggle,
|
|
@@ -1017,8 +994,8 @@ function NavigationSidebarToggle({ minimized, showLabel, onToggle }) {
|
|
|
1017
994
|
title: minimized ? "Hide Menu" : void 0,
|
|
1018
995
|
"aria-label": "Hide Menu",
|
|
1019
996
|
children: [
|
|
1020
|
-
/* @__PURE__ */
|
|
1021
|
-
/* @__PURE__ */
|
|
997
|
+
/* @__PURE__ */ jsx11("div", { className: "flex flex-shrink-0 items-center justify-center", children: /* @__PURE__ */ jsx11(Chevrons03LeftIcon, { className: "h-6 w-6 rotate-180 text-ods-text-secondary transition-transform duration-300 @[140px]/of-nav-sidebar:rotate-0" }) }),
|
|
998
|
+
/* @__PURE__ */ jsx11(
|
|
1022
999
|
"span",
|
|
1023
1000
|
{
|
|
1024
1001
|
className: cn(
|
|
@@ -1035,7 +1012,7 @@ function NavigationSidebarToggle({ minimized, showLabel, onToggle }) {
|
|
|
1035
1012
|
}
|
|
1036
1013
|
|
|
1037
1014
|
// src/components/navigation/navigation-sidebar.tsx
|
|
1038
|
-
import { Fragment as Fragment6, jsx as
|
|
1015
|
+
import { Fragment as Fragment6, jsx as jsx12, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
1039
1016
|
var MINIMIZED_WIDTH = 56;
|
|
1040
1017
|
var EXPANDED_WIDTH = 224;
|
|
1041
1018
|
var STORAGE_KEY = "of.navigationSidebar.minimized";
|
|
@@ -1143,7 +1120,7 @@ function NavigationSidebar({ config, disabled = false }) {
|
|
|
1143
1120
|
return () => cancelAnimationFrame(id);
|
|
1144
1121
|
}, [transitionsEnabled]);
|
|
1145
1122
|
return /* @__PURE__ */ jsxs11(Fragment6, { children: [
|
|
1146
|
-
/* @__PURE__ */
|
|
1123
|
+
/* @__PURE__ */ jsx12(
|
|
1147
1124
|
"div",
|
|
1148
1125
|
{
|
|
1149
1126
|
className: cn(
|
|
@@ -1156,7 +1133,7 @@ function NavigationSidebar({ config, disabled = false }) {
|
|
|
1156
1133
|
"aria-hidden": "true"
|
|
1157
1134
|
}
|
|
1158
1135
|
),
|
|
1159
|
-
/* @__PURE__ */
|
|
1136
|
+
/* @__PURE__ */ jsx12("div", { className: "hidden h-full w-14 flex-shrink-0 md:block lg:hidden", "aria-hidden": "true" }),
|
|
1160
1137
|
/* @__PURE__ */ jsxs11(
|
|
1161
1138
|
"aside",
|
|
1162
1139
|
{
|
|
@@ -1174,11 +1151,11 @@ function NavigationSidebar({ config, disabled = false }) {
|
|
|
1174
1151
|
),
|
|
1175
1152
|
"aria-label": "Main navigation sidebar",
|
|
1176
1153
|
children: [
|
|
1177
|
-
/* @__PURE__ */
|
|
1154
|
+
/* @__PURE__ */ jsx12(NavigationSidebarHeader, { minimized }),
|
|
1178
1155
|
/* @__PURE__ */ jsxs11("div", { className: "flex flex-1 flex-col justify-between overflow-y-auto py-4", children: [
|
|
1179
1156
|
/* @__PURE__ */ jsxs11("div", { className: "flex flex-col", children: [
|
|
1180
1157
|
config.topSlot?.({ minimized }),
|
|
1181
|
-
/* @__PURE__ */
|
|
1158
|
+
/* @__PURE__ */ jsx12("nav", { className: "flex flex-col", "aria-label": "Primary navigation", "aria-busy": !!loadingRows, children: loadingRows ? loadingRows.primary.map((key) => /* @__PURE__ */ jsx12(NavigationSidebarItemSkeleton, { showLabel }, key)) : primaryItems.map((item) => /* @__PURE__ */ jsx12(
|
|
1182
1159
|
NavigationSidebarItemButton,
|
|
1183
1160
|
{
|
|
1184
1161
|
item,
|
|
@@ -1191,7 +1168,7 @@ function NavigationSidebar({ config, disabled = false }) {
|
|
|
1191
1168
|
item.id
|
|
1192
1169
|
)) })
|
|
1193
1170
|
] }),
|
|
1194
|
-
(loadingRows ? loadingRows.secondary.length > 0 : secondaryItems.length > 0) && /* @__PURE__ */
|
|
1171
|
+
(loadingRows ? loadingRows.secondary.length > 0 : secondaryItems.length > 0) && /* @__PURE__ */ jsx12("nav", { className: "flex flex-col", "aria-label": "Secondary navigation", "aria-busy": !!loadingRows, children: loadingRows ? loadingRows.secondary.map((key) => /* @__PURE__ */ jsx12(NavigationSidebarItemSkeleton, { showLabel }, key)) : secondaryItems.map((item) => /* @__PURE__ */ jsx12(
|
|
1195
1172
|
NavigationSidebarItemButton,
|
|
1196
1173
|
{
|
|
1197
1174
|
item,
|
|
@@ -1204,7 +1181,7 @@ function NavigationSidebar({ config, disabled = false }) {
|
|
|
1204
1181
|
item.id
|
|
1205
1182
|
)) })
|
|
1206
1183
|
] }),
|
|
1207
|
-
/* @__PURE__ */
|
|
1184
|
+
/* @__PURE__ */ jsx12(NavigationSidebarToggle, { minimized, showLabel, onToggle: handleToggle })
|
|
1208
1185
|
]
|
|
1209
1186
|
}
|
|
1210
1187
|
)
|
|
@@ -1216,7 +1193,7 @@ import React3 from "react";
|
|
|
1216
1193
|
|
|
1217
1194
|
// src/components/navigation/header-global-search.tsx
|
|
1218
1195
|
import React2 from "react";
|
|
1219
|
-
import { jsx as
|
|
1196
|
+
import { jsx as jsx13, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
1220
1197
|
function HeaderGlobalSearch({
|
|
1221
1198
|
value = "",
|
|
1222
1199
|
onChange,
|
|
@@ -1256,8 +1233,8 @@ function HeaderGlobalSearch({
|
|
|
1256
1233
|
className
|
|
1257
1234
|
),
|
|
1258
1235
|
children: [
|
|
1259
|
-
/* @__PURE__ */
|
|
1260
|
-
/* @__PURE__ */
|
|
1236
|
+
/* @__PURE__ */ jsx13(SearchIcon, { className: "h-6 w-6 shrink-0 text-ods-text-secondary" }),
|
|
1237
|
+
/* @__PURE__ */ jsx13(
|
|
1261
1238
|
"input",
|
|
1262
1239
|
{
|
|
1263
1240
|
type: "text",
|
|
@@ -1279,7 +1256,7 @@ function HeaderGlobalSearch({
|
|
|
1279
1256
|
}
|
|
1280
1257
|
|
|
1281
1258
|
// src/components/navigation/header-mingo-button.tsx
|
|
1282
|
-
import { jsx as
|
|
1259
|
+
import { jsx as jsx14, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
1283
1260
|
function HeaderMingoButton({ isActive = false, iconOnly = false, className, ...props }) {
|
|
1284
1261
|
return /* @__PURE__ */ jsxs13(
|
|
1285
1262
|
"button",
|
|
@@ -1307,11 +1284,11 @@ function HeaderMingoButton({ isActive = false, iconOnly = false, className, ...p
|
|
|
1307
1284
|
// Mobile, drawer open: the icon-only button doubles as the close
|
|
1308
1285
|
// affordance, so swap the Mingo logo for an X. Match the other header
|
|
1309
1286
|
// icons (e.g. notifications): secondary color, w-4 h-4 → md:w-6 h-6.
|
|
1310
|
-
/* @__PURE__ */
|
|
1287
|
+
/* @__PURE__ */ jsx14(XmarkIcon, { className: "h-6 w-6 shrink-0 text-ods-text-secondary" })
|
|
1311
1288
|
) : (
|
|
1312
1289
|
// Outer frame follows the button's text color (currentColor); the eyes
|
|
1313
1290
|
// and corner block are ODS cyan.
|
|
1314
|
-
/* @__PURE__ */
|
|
1291
|
+
/* @__PURE__ */ jsx14(
|
|
1315
1292
|
MingoIcon,
|
|
1316
1293
|
{
|
|
1317
1294
|
color: "currentColor",
|
|
@@ -1321,14 +1298,14 @@ function HeaderMingoButton({ isActive = false, iconOnly = false, className, ...p
|
|
|
1321
1298
|
}
|
|
1322
1299
|
)
|
|
1323
1300
|
),
|
|
1324
|
-
!iconOnly && /* @__PURE__ */
|
|
1301
|
+
!iconOnly && /* @__PURE__ */ jsx14("span", { className: "whitespace-nowrap font-bold tracking-[-0.36px] text-h3", children: "Mingo AI" })
|
|
1325
1302
|
]
|
|
1326
1303
|
}
|
|
1327
1304
|
);
|
|
1328
1305
|
}
|
|
1329
1306
|
|
|
1330
1307
|
// src/components/navigation/header-organization-filter.tsx
|
|
1331
|
-
import { jsx as
|
|
1308
|
+
import { jsx as jsx15, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
1332
1309
|
function HeaderOrganizationFilter({
|
|
1333
1310
|
organizations = [],
|
|
1334
1311
|
selectedOrgId,
|
|
@@ -1340,7 +1317,7 @@ function HeaderOrganizationFilter({
|
|
|
1340
1317
|
const displayName = selectedOrg?.name || "All Organizations";
|
|
1341
1318
|
const deviceCount = selectedOrg?.deviceCount ?? totalDeviceCount;
|
|
1342
1319
|
return /* @__PURE__ */ jsxs14(DropdownMenu, { children: [
|
|
1343
|
-
/* @__PURE__ */
|
|
1320
|
+
/* @__PURE__ */ jsx15(DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ jsxs14(
|
|
1344
1321
|
"button",
|
|
1345
1322
|
{
|
|
1346
1323
|
className: cn(
|
|
@@ -1352,9 +1329,9 @@ function HeaderOrganizationFilter({
|
|
|
1352
1329
|
className
|
|
1353
1330
|
),
|
|
1354
1331
|
children: [
|
|
1355
|
-
/* @__PURE__ */
|
|
1332
|
+
/* @__PURE__ */ jsx15(Filter02Icon, { className: "h-4 w-4 shrink-0 text-ods-text-secondary" }),
|
|
1356
1333
|
/* @__PURE__ */ jsxs14("div", { className: "flex min-w-0 flex-col items-start justify-center", children: [
|
|
1357
|
-
/* @__PURE__ */
|
|
1334
|
+
/* @__PURE__ */ jsx15("span", { className: "truncate text-ods-text-primary text-h5", title: displayName, children: displayName }),
|
|
1358
1335
|
deviceCount !== void 0 && /* @__PURE__ */ jsxs14("span", { className: "truncate text-ods-text-secondary text-h6", children: [
|
|
1359
1336
|
deviceCount.toLocaleString(),
|
|
1360
1337
|
" Devices"
|
|
@@ -1364,14 +1341,14 @@ function HeaderOrganizationFilter({
|
|
|
1364
1341
|
}
|
|
1365
1342
|
) }),
|
|
1366
1343
|
/* @__PURE__ */ jsxs14(DropdownMenuContent, { align: "end", className: "min-w-[240px]", children: [
|
|
1367
|
-
/* @__PURE__ */
|
|
1368
|
-
organizations.map((org) => /* @__PURE__ */
|
|
1344
|
+
/* @__PURE__ */ jsx15(DropdownMenuItem, { onClick: () => onOrgChange?.(""), children: "All Organizations" }),
|
|
1345
|
+
organizations.map((org) => /* @__PURE__ */ jsx15(DropdownMenuItem, { onClick: () => onOrgChange?.(org.id), children: org.name }, org.id))
|
|
1369
1346
|
] })
|
|
1370
1347
|
] });
|
|
1371
1348
|
}
|
|
1372
1349
|
|
|
1373
1350
|
// src/components/navigation/app-header.tsx
|
|
1374
|
-
import { Fragment as Fragment7, jsx as
|
|
1351
|
+
import { Fragment as Fragment7, jsx as jsx16, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
1375
1352
|
var AppHeader = React3.memo(function AppHeaderImpl({
|
|
1376
1353
|
showSearch,
|
|
1377
1354
|
onSearch,
|
|
@@ -1403,7 +1380,7 @@ var AppHeader = React3.memo(function AppHeaderImpl({
|
|
|
1403
1380
|
}) {
|
|
1404
1381
|
const isMdUp = useMdUp() ?? false;
|
|
1405
1382
|
if (loading) {
|
|
1406
|
-
return /* @__PURE__ */
|
|
1383
|
+
return /* @__PURE__ */ jsx16(
|
|
1407
1384
|
AppHeaderSkeleton,
|
|
1408
1385
|
{
|
|
1409
1386
|
showSearch,
|
|
@@ -1426,19 +1403,19 @@ var AppHeader = React3.memo(function AppHeaderImpl({
|
|
|
1426
1403
|
}
|
|
1427
1404
|
const dimmedClass = disabled ? "pointer-events-none opacity-50" : "";
|
|
1428
1405
|
const cellDivider = "border-l border-ods-border";
|
|
1429
|
-
return /* @__PURE__ */
|
|
1406
|
+
return /* @__PURE__ */ jsx16(
|
|
1430
1407
|
TopNavigation,
|
|
1431
1408
|
{
|
|
1432
1409
|
className: cn("sticky top-0 z-40", className),
|
|
1433
1410
|
centerBreakpoint: "md",
|
|
1434
1411
|
leading: (
|
|
1435
1412
|
// Mobile: Burger Menu Button
|
|
1436
|
-
!isMdUp && /* @__PURE__ */
|
|
1413
|
+
!isMdUp && /* @__PURE__ */ jsx16(
|
|
1437
1414
|
HeaderButton,
|
|
1438
1415
|
{
|
|
1439
1416
|
onClick: onToggleMobileMenu,
|
|
1440
1417
|
isActive: isMobileMenuOpen,
|
|
1441
|
-
icon: isMobileMenuOpen ? /* @__PURE__ */
|
|
1418
|
+
icon: isMobileMenuOpen ? /* @__PURE__ */ jsx16(XmarkIcon, { className: "h-6 w-6" }) : /* @__PURE__ */ jsx16(Menu01Icon, { className: "h-6 w-6" }),
|
|
1442
1419
|
"aria-label": isMobileMenuOpen ? "Close menu" : "Open menu",
|
|
1443
1420
|
"aria-expanded": isMobileMenuOpen,
|
|
1444
1421
|
className: "border-r border-ods-border"
|
|
@@ -1446,7 +1423,7 @@ var AppHeader = React3.memo(function AppHeaderImpl({
|
|
|
1446
1423
|
)
|
|
1447
1424
|
),
|
|
1448
1425
|
logo: !isMdUp && /* @__PURE__ */ jsxs15(Fragment7, { children: [
|
|
1449
|
-
/* @__PURE__ */
|
|
1426
|
+
/* @__PURE__ */ jsx16(
|
|
1450
1427
|
OpenFrameLogo,
|
|
1451
1428
|
{
|
|
1452
1429
|
className: "h-6 w-6 shrink-0",
|
|
@@ -1454,21 +1431,21 @@ var AppHeader = React3.memo(function AppHeaderImpl({
|
|
|
1454
1431
|
lowerPathColor: "var(--color-accent-primary)"
|
|
1455
1432
|
}
|
|
1456
1433
|
),
|
|
1457
|
-
/* @__PURE__ */
|
|
1434
|
+
/* @__PURE__ */ jsx16(OpenFrameText, { textColor: "var(--color-text-primary)", className: "h-4" })
|
|
1458
1435
|
] }),
|
|
1459
1436
|
logoClassName: "gap-2",
|
|
1460
|
-
center: showSearch ? /* @__PURE__ */
|
|
1437
|
+
center: showSearch ? /* @__PURE__ */ jsx16(HeaderGlobalSearch, { onSubmit: onSearch, className: cn("w-full", dimmedClass) }) : void 0,
|
|
1461
1438
|
sideActions: /* @__PURE__ */ jsxs15(Fragment7, { children: [
|
|
1462
|
-
showSearch && /* @__PURE__ */
|
|
1439
|
+
showSearch && /* @__PURE__ */ jsx16(
|
|
1463
1440
|
HeaderButton,
|
|
1464
1441
|
{
|
|
1465
|
-
icon: /* @__PURE__ */
|
|
1442
|
+
icon: /* @__PURE__ */ jsx16(SearchIcon, { className: "h-6 w-6" }),
|
|
1466
1443
|
"aria-label": "Search",
|
|
1467
1444
|
className: cn("md:hidden", cellDivider, dimmedClass),
|
|
1468
1445
|
disabled
|
|
1469
1446
|
}
|
|
1470
1447
|
),
|
|
1471
|
-
showOrganizations && /* @__PURE__ */
|
|
1448
|
+
showOrganizations && /* @__PURE__ */ jsx16(
|
|
1472
1449
|
HeaderOrganizationFilter,
|
|
1473
1450
|
{
|
|
1474
1451
|
organizations,
|
|
@@ -1477,8 +1454,8 @@ var AppHeader = React3.memo(function AppHeaderImpl({
|
|
|
1477
1454
|
className: cn("hidden lg:flex", dimmedClass)
|
|
1478
1455
|
}
|
|
1479
1456
|
),
|
|
1480
|
-
showTimeTracker && /* @__PURE__ */
|
|
1481
|
-
showNotifications && /* @__PURE__ */
|
|
1457
|
+
showTimeTracker && /* @__PURE__ */ jsx16(TimeTrackerHeaderButton, { disabled, className: cn(cellDivider, dimmedClass) }),
|
|
1458
|
+
showNotifications && /* @__PURE__ */ jsx16(
|
|
1482
1459
|
NotificationsHeaderButton,
|
|
1483
1460
|
{
|
|
1484
1461
|
fallbackUnreadCount: unreadCount,
|
|
@@ -1486,7 +1463,7 @@ var AppHeader = React3.memo(function AppHeaderImpl({
|
|
|
1486
1463
|
dimmedClass: cn(cellDivider, dimmedClass)
|
|
1487
1464
|
}
|
|
1488
1465
|
),
|
|
1489
|
-
showTicketAlerts && /* @__PURE__ */
|
|
1466
|
+
showTicketAlerts && /* @__PURE__ */ jsx16(
|
|
1490
1467
|
TicketAlertsButton,
|
|
1491
1468
|
{
|
|
1492
1469
|
href: ticketAlertsHref ?? "/tickets",
|
|
@@ -1496,10 +1473,10 @@ var AppHeader = React3.memo(function AppHeaderImpl({
|
|
|
1496
1473
|
}
|
|
1497
1474
|
),
|
|
1498
1475
|
isMdUp && showUser && /* @__PURE__ */ jsxs15(DropdownMenu, { children: [
|
|
1499
|
-
/* @__PURE__ */
|
|
1476
|
+
/* @__PURE__ */ jsx16(DropdownMenuTrigger, { asChild: true, disabled, children: /* @__PURE__ */ jsx16(
|
|
1500
1477
|
HeaderButton,
|
|
1501
1478
|
{
|
|
1502
|
-
icon: /* @__PURE__ */
|
|
1479
|
+
icon: /* @__PURE__ */ jsx16(
|
|
1503
1480
|
SquareAvatar,
|
|
1504
1481
|
{
|
|
1505
1482
|
src: userAvatarUrl || void 0,
|
|
@@ -1525,7 +1502,7 @@ var AppHeader = React3.memo(function AppHeaderImpl({
|
|
|
1525
1502
|
className: "z-[104] w-[280px] overflow-hidden rounded-[6px] border-ods-border bg-ods-bg p-0",
|
|
1526
1503
|
children: [
|
|
1527
1504
|
/* @__PURE__ */ jsxs15("div", { className: "flex items-center gap-2 border-b border-ods-border bg-ods-card p-3", children: [
|
|
1528
|
-
/* @__PURE__ */
|
|
1505
|
+
/* @__PURE__ */ jsx16(
|
|
1529
1506
|
SquareAvatar,
|
|
1530
1507
|
{
|
|
1531
1508
|
src: userAvatarUrl || void 0,
|
|
@@ -1536,29 +1513,29 @@ var AppHeader = React3.memo(function AppHeaderImpl({
|
|
|
1536
1513
|
}
|
|
1537
1514
|
),
|
|
1538
1515
|
/* @__PURE__ */ jsxs15("div", { className: "min-w-0 flex-1", children: [
|
|
1539
|
-
userName && /* @__PURE__ */
|
|
1540
|
-
userEmail && /* @__PURE__ */
|
|
1516
|
+
userName && /* @__PURE__ */ jsx16("div", { className: "truncate text-ods-text-primary text-h4", children: userName }),
|
|
1517
|
+
userEmail && /* @__PURE__ */ jsx16("div", { className: "truncate text-ods-text-secondary text-h6", children: userEmail })
|
|
1541
1518
|
] })
|
|
1542
1519
|
] }),
|
|
1543
|
-
/* @__PURE__ */
|
|
1520
|
+
/* @__PURE__ */ jsx16(
|
|
1544
1521
|
DropdownMenuItem,
|
|
1545
1522
|
{
|
|
1546
1523
|
onClick: onProfile,
|
|
1547
1524
|
className: "cursor-pointer rounded-none border-b border-ods-border bg-ods-card px-3 py-3 hover:bg-ods-card/80 focus:bg-ods-card/80",
|
|
1548
1525
|
children: /* @__PURE__ */ jsxs15("div", { className: "flex items-center gap-2", children: [
|
|
1549
|
-
/* @__PURE__ */
|
|
1550
|
-
/* @__PURE__ */
|
|
1526
|
+
/* @__PURE__ */ jsx16(UserIcon, { className: "h-6 w-6 shrink-0 text-ods-text-primary" }),
|
|
1527
|
+
/* @__PURE__ */ jsx16("span", { className: "text-ods-text-primary text-h4", children: "Profile Settings" })
|
|
1551
1528
|
] })
|
|
1552
1529
|
}
|
|
1553
1530
|
),
|
|
1554
|
-
/* @__PURE__ */
|
|
1531
|
+
/* @__PURE__ */ jsx16(
|
|
1555
1532
|
DropdownMenuItem,
|
|
1556
1533
|
{
|
|
1557
1534
|
onClick: onLogout,
|
|
1558
1535
|
className: "cursor-pointer rounded-none bg-ods-card px-3 py-3 hover:bg-ods-card/80 focus:bg-ods-card/80",
|
|
1559
1536
|
children: /* @__PURE__ */ jsxs15("div", { className: "flex items-center gap-2", children: [
|
|
1560
|
-
/* @__PURE__ */
|
|
1561
|
-
/* @__PURE__ */
|
|
1537
|
+
/* @__PURE__ */ jsx16(LogOutIcon, { className: "shrink-0 text-ods-error", size: 24 }),
|
|
1538
|
+
/* @__PURE__ */ jsx16("span", { className: "text-ods-text-primary text-h4", children: "Log Out" })
|
|
1562
1539
|
] })
|
|
1563
1540
|
}
|
|
1564
1541
|
)
|
|
@@ -1566,7 +1543,7 @@ var AppHeader = React3.memo(function AppHeaderImpl({
|
|
|
1566
1543
|
}
|
|
1567
1544
|
)
|
|
1568
1545
|
] }),
|
|
1569
|
-
showMingoAI && /* @__PURE__ */
|
|
1546
|
+
showMingoAI && /* @__PURE__ */ jsx16(
|
|
1570
1547
|
HeaderMingoButton,
|
|
1571
1548
|
{
|
|
1572
1549
|
onClick: onMingoAI,
|
|
@@ -1585,10 +1562,10 @@ function NotificationsHeaderButton({ fallbackUnreadCount, disabled, dimmedClass
|
|
|
1585
1562
|
const hasUnread = (ctx?.unreadCount ?? fallbackUnreadCount) > 0;
|
|
1586
1563
|
const isActive = ctx?.isOpen ?? false;
|
|
1587
1564
|
const onClick = ctx?.toggle;
|
|
1588
|
-
return /* @__PURE__ */
|
|
1565
|
+
return /* @__PURE__ */ jsx16(
|
|
1589
1566
|
HeaderButton,
|
|
1590
1567
|
{
|
|
1591
|
-
icon: isActive ? /* @__PURE__ */
|
|
1568
|
+
icon: isActive ? /* @__PURE__ */ jsx16(XmarkIcon, { className: "h-6 w-6" }) : /* @__PURE__ */ jsx16(BellIcon, { className: "h-6 w-6" }),
|
|
1592
1569
|
showUnreadDot: !isActive && hasUnread,
|
|
1593
1570
|
"aria-label": isActive ? "Close notifications" : "Notifications",
|
|
1594
1571
|
onClick,
|
|
@@ -1604,12 +1581,12 @@ var CELL_VISIBILITY = {
|
|
|
1604
1581
|
"icon-lg": "hidden lg:flex"
|
|
1605
1582
|
};
|
|
1606
1583
|
function HeaderCellSkeleton({ className }) {
|
|
1607
|
-
return /* @__PURE__ */
|
|
1584
|
+
return /* @__PURE__ */ jsx16("div", { className: cn("flex h-full w-14 shrink-0 items-center justify-center border-l border-ods-border", className), children: /* @__PURE__ */ jsx16("div", { className: "h-6 w-6 animate-pulse rounded bg-ods-border" }) });
|
|
1608
1585
|
}
|
|
1609
1586
|
function HeaderWideCellSkeleton() {
|
|
1610
1587
|
return /* @__PURE__ */ jsxs15("div", { className: "flex h-full w-14 shrink-0 items-center justify-center gap-2 border-l border-ods-border md:w-[140px] md:px-4", children: [
|
|
1611
|
-
/* @__PURE__ */
|
|
1612
|
-
/* @__PURE__ */
|
|
1588
|
+
/* @__PURE__ */ jsx16("div", { className: "h-6 w-6 shrink-0 animate-pulse rounded bg-ods-border" }),
|
|
1589
|
+
/* @__PURE__ */ jsx16("div", { className: "hidden h-5 animate-pulse rounded bg-ods-border md:block md:w-[72px]" })
|
|
1613
1590
|
] });
|
|
1614
1591
|
}
|
|
1615
1592
|
function AppHeaderSkeleton({
|
|
@@ -1618,7 +1595,7 @@ function AppHeaderSkeleton({
|
|
|
1618
1595
|
className
|
|
1619
1596
|
}) {
|
|
1620
1597
|
const cells = typeof actionCells === "number" ? Array.from({ length: Math.max(0, actionCells) }, () => "icon") : actionCells;
|
|
1621
|
-
return /* @__PURE__ */
|
|
1598
|
+
return /* @__PURE__ */ jsx16(
|
|
1622
1599
|
TopNavigation,
|
|
1623
1600
|
{
|
|
1624
1601
|
className: cn("sticky top-0 z-40", className),
|
|
@@ -1626,18 +1603,18 @@ function AppHeaderSkeleton({
|
|
|
1626
1603
|
"aria-busy": "true",
|
|
1627
1604
|
leading: (
|
|
1628
1605
|
// Burger cell: mobile only, in CSS.
|
|
1629
|
-
/* @__PURE__ */
|
|
1606
|
+
/* @__PURE__ */ jsx16("div", { className: "flex h-full w-14 shrink-0 items-center justify-center border-r border-ods-border md:hidden", children: /* @__PURE__ */ jsx16("div", { className: "h-6 w-6 animate-pulse rounded bg-ods-border" }) })
|
|
1630
1607
|
),
|
|
1631
1608
|
logo: /* @__PURE__ */ jsxs15(Fragment7, { children: [
|
|
1632
|
-
/* @__PURE__ */
|
|
1633
|
-
/* @__PURE__ */
|
|
1609
|
+
/* @__PURE__ */ jsx16("div", { className: "h-6 w-6 shrink-0 animate-pulse rounded bg-ods-border" }),
|
|
1610
|
+
/* @__PURE__ */ jsx16("div", { className: "h-4 w-24 animate-pulse rounded bg-ods-border" })
|
|
1634
1611
|
] }),
|
|
1635
1612
|
logoClassName: "gap-2 md:hidden",
|
|
1636
|
-
center: showSearch ? /* @__PURE__ */
|
|
1613
|
+
center: showSearch ? /* @__PURE__ */ jsx16("div", { className: "h-10 w-full animate-pulse rounded-md bg-ods-border" }) : void 0,
|
|
1637
1614
|
sideActions: /* @__PURE__ */ jsxs15(Fragment7, { children: [
|
|
1638
|
-
showSearch && /* @__PURE__ */
|
|
1615
|
+
showSearch && /* @__PURE__ */ jsx16(HeaderCellSkeleton, { className: "md:hidden" }),
|
|
1639
1616
|
cells.map(
|
|
1640
|
-
(cell, i) => cell === "wide" ? /* @__PURE__ */
|
|
1617
|
+
(cell, i) => cell === "wide" ? /* @__PURE__ */ jsx16(HeaderWideCellSkeleton, {}, i) : /* @__PURE__ */ jsx16(HeaderCellSkeleton, { className: CELL_VISIBILITY[cell] }, i)
|
|
1641
1618
|
)
|
|
1642
1619
|
] })
|
|
1643
1620
|
}
|
|
@@ -1650,7 +1627,7 @@ import { useCallback as useCallback3, useEffect as useEffect3, useMemo as useMem
|
|
|
1650
1627
|
// src/components/navigation/mobile-burger-menu.tsx
|
|
1651
1628
|
import { usePreventScroll as usePreventScroll3 } from "@react-aria/overlays";
|
|
1652
1629
|
import React4, { useCallback as useCallback2, useRef as useRef4 } from "react";
|
|
1653
|
-
import { Fragment as Fragment8, jsx as
|
|
1630
|
+
import { Fragment as Fragment8, jsx as jsx17, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
1654
1631
|
var HEADER_HEIGHT = 56;
|
|
1655
1632
|
var MobileBurgerMenu = React4.memo(function MobileBurgerMenuImpl({
|
|
1656
1633
|
isOpen,
|
|
@@ -1698,33 +1675,29 @@ var MobileBurgerMenu = React4.memo(function MobileBurgerMenuImpl({
|
|
|
1698
1675
|
disabled && "cursor-not-allowed opacity-50"
|
|
1699
1676
|
),
|
|
1700
1677
|
"aria-current": isActive ? "page" : void 0,
|
|
1701
|
-
"aria-label": item.badge ? `${item.label} (${item.badge})` : void 0,
|
|
1702
1678
|
children: [
|
|
1703
|
-
item.icon && /* @__PURE__ */
|
|
1679
|
+
item.icon && /* @__PURE__ */ jsx17("div", { className: "flex size-4 flex-shrink-0 items-center justify-center", children: React4.cloneElement(item.icon, {
|
|
1704
1680
|
size: 16,
|
|
1705
1681
|
color: isActive && !disabled ? "var(--color-accent-primary)" : "var(--color-text-secondary)"
|
|
1706
1682
|
}) }),
|
|
1707
|
-
/* @__PURE__ */
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
),
|
|
1718
|
-
item.badge && /* @__PURE__ */ jsx18(NavigationItemBadge, { compact: true, label: item.badge })
|
|
1719
|
-
] })
|
|
1683
|
+
/* @__PURE__ */ jsx17(
|
|
1684
|
+
"span",
|
|
1685
|
+
{
|
|
1686
|
+
className: cn(
|
|
1687
|
+
"flex-1 truncate text-left text-h6",
|
|
1688
|
+
isActive && !disabled ? "text-ods-accent" : "text-ods-text-primary"
|
|
1689
|
+
),
|
|
1690
|
+
children: item.label
|
|
1691
|
+
}
|
|
1692
|
+
)
|
|
1720
1693
|
]
|
|
1721
1694
|
},
|
|
1722
1695
|
item.id
|
|
1723
1696
|
);
|
|
1724
1697
|
};
|
|
1725
|
-
const renderNavigationGrid = (items) => /* @__PURE__ */
|
|
1698
|
+
const renderNavigationGrid = (items) => /* @__PURE__ */ jsx17("div", { className: "grid grid-cols-2 gap-3", children: items.map((item) => /* @__PURE__ */ jsx17(React4.Fragment, { children: renderNavigationItem(item, true) }, item.id)) });
|
|
1726
1699
|
return /* @__PURE__ */ jsxs16(Fragment8, { children: [
|
|
1727
|
-
/* @__PURE__ */
|
|
1700
|
+
/* @__PURE__ */ jsx17(
|
|
1728
1701
|
"div",
|
|
1729
1702
|
{
|
|
1730
1703
|
className: cn(
|
|
@@ -1738,7 +1711,7 @@ var MobileBurgerMenu = React4.memo(function MobileBurgerMenuImpl({
|
|
|
1738
1711
|
"aria-hidden": "true"
|
|
1739
1712
|
}
|
|
1740
1713
|
),
|
|
1741
|
-
/* @__PURE__ */
|
|
1714
|
+
/* @__PURE__ */ jsx17(
|
|
1742
1715
|
"div",
|
|
1743
1716
|
{
|
|
1744
1717
|
ref: panelRef,
|
|
@@ -1769,7 +1742,7 @@ var MobileBurgerMenu = React4.memo(function MobileBurgerMenuImpl({
|
|
|
1769
1742
|
),
|
|
1770
1743
|
"aria-disabled": disabled || void 0,
|
|
1771
1744
|
children: [
|
|
1772
|
-
/* @__PURE__ */
|
|
1745
|
+
/* @__PURE__ */ jsx17(
|
|
1773
1746
|
SquareAvatar,
|
|
1774
1747
|
{
|
|
1775
1748
|
src: user.userAvatarUrl || void 0,
|
|
@@ -1782,21 +1755,21 @@ var MobileBurgerMenu = React4.memo(function MobileBurgerMenuImpl({
|
|
|
1782
1755
|
),
|
|
1783
1756
|
/* @__PURE__ */ jsxs16("div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
1784
1757
|
/* @__PURE__ */ jsxs16("div", { className: "flex items-center gap-2", children: [
|
|
1785
|
-
/* @__PURE__ */
|
|
1786
|
-
user.userRole && /* @__PURE__ */
|
|
1758
|
+
/* @__PURE__ */ jsx17("span", { className: "truncate text-ods-text-primary text-h6", children: user.userName || "User" }),
|
|
1759
|
+
user.userRole && /* @__PURE__ */ jsx17("span", { className: "shrink-0 rounded-md border border-ods-border bg-ods-card px-2 py-0.5 uppercase text-ods-text-primary text-h6", children: user.userRole })
|
|
1787
1760
|
] }),
|
|
1788
|
-
user.userEmail && /* @__PURE__ */
|
|
1761
|
+
user.userEmail && /* @__PURE__ */ jsx17("span", { className: "truncate text-ods-text-secondary text-h6", children: user.userEmail })
|
|
1789
1762
|
] }),
|
|
1790
1763
|
/* @__PURE__ */ jsxs16("div", { className: "flex shrink-0 items-center gap-2", children: [
|
|
1791
|
-
onSearchUser && /* @__PURE__ */
|
|
1792
|
-
onEditProfile && /* @__PURE__ */
|
|
1764
|
+
onSearchUser && /* @__PURE__ */ jsx17(Button, { size: "icon", onClick: onSearchUser, variant: "outline", "aria-label": "Search users", children: /* @__PURE__ */ jsx17(UserSearchIcon, { className: "size-4 text-ods-text-primary" }) }),
|
|
1765
|
+
onEditProfile && /* @__PURE__ */ jsx17(Button, { size: "icon", onClick: onEditProfile, variant: "outline", "aria-label": "Edit profile", children: /* @__PURE__ */ jsx17(PenEditIcon, { className: "size-4 text-ods-text-primary" }) })
|
|
1793
1766
|
] })
|
|
1794
1767
|
]
|
|
1795
1768
|
}
|
|
1796
1769
|
),
|
|
1797
1770
|
config.topSlot?.({ minimized: false }),
|
|
1798
|
-
/* @__PURE__ */
|
|
1799
|
-
secondaryItems.length > 0 && /* @__PURE__ */
|
|
1771
|
+
/* @__PURE__ */ jsx17("nav", { "aria-label": "Primary navigation", children: renderNavigationGrid(primaryItems) }),
|
|
1772
|
+
secondaryItems.length > 0 && /* @__PURE__ */ jsx17("nav", { "aria-label": "Secondary navigation", className: "flex flex-col gap-3", children: secondaryItems.map((item) => /* @__PURE__ */ jsx17(React4.Fragment, { children: renderNavigationItem(item, false) }, item.id)) }),
|
|
1800
1773
|
onLogout && /* @__PURE__ */ jsxs16(
|
|
1801
1774
|
"button",
|
|
1802
1775
|
{
|
|
@@ -1808,8 +1781,8 @@ var MobileBurgerMenu = React4.memo(function MobileBurgerMenuImpl({
|
|
|
1808
1781
|
disabled && "cursor-not-allowed opacity-50"
|
|
1809
1782
|
),
|
|
1810
1783
|
children: [
|
|
1811
|
-
/* @__PURE__ */
|
|
1812
|
-
/* @__PURE__ */
|
|
1784
|
+
/* @__PURE__ */ jsx17(Logout02Icon, { className: "size-4 text-ods-error" }),
|
|
1785
|
+
/* @__PURE__ */ jsx17("span", { className: "flex-1 text-left text-ods-text-primary text-h6", children: "Log Out" })
|
|
1813
1786
|
]
|
|
1814
1787
|
}
|
|
1815
1788
|
)
|
|
@@ -1820,7 +1793,7 @@ var MobileBurgerMenu = React4.memo(function MobileBurgerMenuImpl({
|
|
|
1820
1793
|
});
|
|
1821
1794
|
|
|
1822
1795
|
// src/components/navigation/app-layout.tsx
|
|
1823
|
-
import { jsx as
|
|
1796
|
+
import { jsx as jsx18, jsxs as jsxs17 } from "react/jsx-runtime";
|
|
1824
1797
|
function AppLayout({
|
|
1825
1798
|
children,
|
|
1826
1799
|
sidebarConfig,
|
|
@@ -1864,11 +1837,11 @@ function AppLayout({
|
|
|
1864
1837
|
}),
|
|
1865
1838
|
[]
|
|
1866
1839
|
);
|
|
1867
|
-
return /* @__PURE__ */
|
|
1840
|
+
return /* @__PURE__ */ jsx18(AppLayoutDrawerContainerContext.Provider, { value: drawerContainer, children: /* @__PURE__ */ jsx18(AppLayoutDrawerCoordinationContext.Provider, { value: drawerCoordination, children: /* @__PURE__ */ jsxs17("div", { className: cn("flex h-screen flex-col bg-ods-bg", className), children: [
|
|
1868
1841
|
topBar,
|
|
1869
1842
|
/* @__PURE__ */ jsxs17("div", { className: "relative flex min-h-0 flex-1", children: [
|
|
1870
|
-
/* @__PURE__ */
|
|
1871
|
-
/* @__PURE__ */
|
|
1843
|
+
/* @__PURE__ */ jsx18(NavigationSidebar, { config: sidebarConfig, disabled }),
|
|
1844
|
+
/* @__PURE__ */ jsx18(
|
|
1872
1845
|
MobileBurgerMenu,
|
|
1873
1846
|
{
|
|
1874
1847
|
...mobileBurgerMenuProps,
|
|
@@ -1879,7 +1852,7 @@ function AppLayout({
|
|
|
1879
1852
|
}
|
|
1880
1853
|
),
|
|
1881
1854
|
/* @__PURE__ */ jsxs17("div", { className: "flex flex-1 flex-col overflow-hidden", children: [
|
|
1882
|
-
/* @__PURE__ */
|
|
1855
|
+
/* @__PURE__ */ jsx18(
|
|
1883
1856
|
AppHeader,
|
|
1884
1857
|
{
|
|
1885
1858
|
...headerProps,
|
|
@@ -1888,9 +1861,9 @@ function AppLayout({
|
|
|
1888
1861
|
disabled
|
|
1889
1862
|
}
|
|
1890
1863
|
),
|
|
1891
|
-
/* @__PURE__ */
|
|
1864
|
+
/* @__PURE__ */ jsx18(NotificationDrawer, {}),
|
|
1892
1865
|
/* @__PURE__ */ jsxs17("div", { ref: setDrawerContainer, className: "relative flex flex-1 flex-col overflow-hidden", children: [
|
|
1893
|
-
/* @__PURE__ */
|
|
1866
|
+
/* @__PURE__ */ jsx18("main", { className: cn("flex-1 overflow-y-auto", mainClassName), children }),
|
|
1894
1867
|
drawer
|
|
1895
1868
|
] })
|
|
1896
1869
|
] })
|
|
@@ -1908,7 +1881,6 @@ export {
|
|
|
1908
1881
|
HeaderSkeleton,
|
|
1909
1882
|
ClientOnlyHeader,
|
|
1910
1883
|
SlidingSidebar,
|
|
1911
|
-
NavigationItemBadge,
|
|
1912
1884
|
NAVIGATION_SIDEBAR_WIDTH_VAR,
|
|
1913
1885
|
NavigationSidebar,
|
|
1914
1886
|
HeaderGlobalSearch,
|
|
@@ -1918,4 +1890,4 @@ export {
|
|
|
1918
1890
|
MobileBurgerMenu,
|
|
1919
1891
|
AppLayout
|
|
1920
1892
|
};
|
|
1921
|
-
//# sourceMappingURL=chunk-
|
|
1893
|
+
//# sourceMappingURL=chunk-Q4XWYP5U.js.map
|