@flamingo-stack/openframe-frontend-core 0.0.698-2527.7789.1 → 0.0.698
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-2BS7SRKK.js → chunk-2QESJBGE.js} +6 -6
- package/dist/{chunk-XUXPIXEQ.cjs → chunk-3CFHHJKK.cjs} +3 -3
- package/dist/{chunk-XUXPIXEQ.cjs.map → chunk-3CFHHJKK.cjs.map} +1 -1
- package/dist/{chunk-U5N4424J.cjs → chunk-4FS56YZS.cjs} +349 -328
- package/dist/chunk-4FS56YZS.cjs.map +1 -0
- package/dist/{chunk-FXXBZHEM.cjs → chunk-55L6XDGC.cjs} +7 -7
- package/dist/{chunk-FXXBZHEM.cjs.map → chunk-55L6XDGC.cjs.map} +1 -1
- package/dist/{chunk-YQPN6IGK.js → chunk-5VXVHYHC.js} +3 -3
- package/dist/{chunk-BB246CT4.cjs → chunk-676MGKZW.cjs} +3 -3
- package/dist/{chunk-BB246CT4.cjs.map → chunk-676MGKZW.cjs.map} +1 -1
- package/dist/{chunk-AKMQG7PN.js → chunk-7QAT2DV5.js} +3 -3
- package/dist/{chunk-3523KRUN.js → chunk-AC6OEPUV.js} +4 -4
- package/dist/{chunk-ZSJOUXQZ.cjs → chunk-BRTCMVBG.cjs} +6 -6
- package/dist/{chunk-ZSJOUXQZ.cjs.map → chunk-BRTCMVBG.cjs.map} +1 -1
- package/dist/{chunk-ERHBYCLP.cjs → chunk-BZHARMWU.cjs} +55 -55
- package/dist/{chunk-ERHBYCLP.cjs.map → chunk-BZHARMWU.cjs.map} +1 -1
- package/dist/{chunk-BOZJLRDG.cjs → chunk-FBXR26Q4.cjs} +40 -40
- package/dist/{chunk-BOZJLRDG.cjs.map → chunk-FBXR26Q4.cjs.map} +1 -1
- package/dist/{chunk-5SDHD3PY.js → chunk-FI7ZPOYQ.js} +23 -2
- package/dist/chunk-FI7ZPOYQ.js.map +1 -0
- package/dist/{chunk-KSLQXGCP.js → chunk-FWVIDEOA.js} +2 -2
- package/dist/{chunk-K32G3W5N.js → chunk-HNHKXOCZ.js} +5 -5
- package/dist/{chunk-3XSOSIJJ.cjs → chunk-IRWS22CP.cjs} +17 -17
- package/dist/{chunk-3XSOSIJJ.cjs.map → chunk-IRWS22CP.cjs.map} +1 -1
- package/dist/{chunk-Q2PQXELU.js → chunk-J3ZS6CRA.js} +3 -3
- package/dist/{chunk-J3W4DGON.js → chunk-J6ZEVCVN.js} +2 -2
- package/dist/{chunk-SLO5WH6A.js → chunk-MOEOLUVD.js} +2 -2
- package/dist/{chunk-RD2RMUXY.cjs → chunk-OEX2WLZX.cjs} +10 -10
- package/dist/{chunk-RD2RMUXY.cjs.map → chunk-OEX2WLZX.cjs.map} +1 -1
- package/dist/{chunk-YS6UKG6O.js → chunk-R2XJXMAT.js} +5 -5
- package/dist/{chunk-6W4EKHPI.js → chunk-R4JFUVQ4.js} +2 -2
- package/dist/{chunk-RHP4QPBC.js → chunk-TN2RFU6D.js} +25 -18
- package/dist/{chunk-RHP4QPBC.js.map → chunk-TN2RFU6D.js.map} +1 -1
- package/dist/{chunk-QILYO7ZD.cjs → chunk-UXU4DROI.cjs} +3 -3
- package/dist/{chunk-QILYO7ZD.cjs.map → chunk-UXU4DROI.cjs.map} +1 -1
- package/dist/{chunk-DFXVX4OW.cjs → chunk-VCEO6AGC.cjs} +15 -15
- package/dist/{chunk-DFXVX4OW.cjs.map → chunk-VCEO6AGC.cjs.map} +1 -1
- package/dist/{chunk-Q4HYMAP7.cjs → chunk-VO2FJ2AL.cjs} +23 -23
- package/dist/{chunk-Q4HYMAP7.cjs.map → chunk-VO2FJ2AL.cjs.map} +1 -1
- package/dist/{chunk-XBB53UGE.js → chunk-VOSO3SC5.js} +4 -4
- package/dist/{chunk-KLJK5HSA.cjs → chunk-VP6PJLMI.cjs} +9 -2
- package/dist/chunk-VP6PJLMI.cjs.map +1 -0
- package/dist/{chunk-ZA4JA7EN.cjs → chunk-VQEXKCFM.cjs} +3 -3
- package/dist/{chunk-ZA4JA7EN.cjs.map → chunk-VQEXKCFM.cjs.map} +1 -1
- package/dist/{chunk-UCIH6J3Y.cjs → chunk-X2W4ANCM.cjs} +33 -33
- package/dist/{chunk-UCIH6J3Y.cjs.map → chunk-X2W4ANCM.cjs.map} +1 -1
- package/dist/{chunk-3PH2TF2S.js → chunk-YNBOPBO7.js} +3 -3
- package/dist/{chunk-7VOCFD43.cjs → chunk-YRSPHPGO.cjs} +21 -21
- package/dist/{chunk-7VOCFD43.cjs.map → chunk-YRSPHPGO.cjs.map} +1 -1
- package/dist/{chunk-URC357EJ.js → chunk-ZNJK5HOE.js} +2 -2
- package/dist/components/announcement-bar.d.ts.map +1 -1
- package/dist/components/case-studies/index.cjs +13 -13
- package/dist/components/case-studies/index.js +3 -3
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/contact/index.js +3 -3
- package/dist/components/docs/index.cjs +7 -7
- package/dist/components/docs/index.js +6 -6
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/embeds/index.js +3 -3
- package/dist/components/faq/index.cjs +4 -4
- package/dist/components/faq/index.js +3 -3
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/features/index.js +2 -2
- package/dist/components/help-center-pages/index.cjs +52 -52
- package/dist/components/help-center-pages/index.js +14 -14
- package/dist/components/index.cjs +36 -35
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +15 -14
- package/dist/components/index.js.map +1 -1
- package/dist/components/meeting-scheduler/index.cjs +28 -28
- package/dist/components/meeting-scheduler/index.js +2 -2
- package/dist/components/navigation/index.cjs +6 -6
- package/dist/components/navigation/index.js +5 -5
- package/dist/components/onboarding-guides/index.cjs +6 -6
- package/dist/components/onboarding-guides/index.js +5 -5
- package/dist/components/tickets/index.cjs +7 -7
- package/dist/components/tickets/index.js +6 -6
- package/dist/components/ui/index.cjs +3 -3
- package/dist/components/ui/index.js +2 -2
- package/dist/hooks/index.cjs +2 -2
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/use-scenario-player.d.ts +3 -0
- package/dist/hooks/use-scenario-player.d.ts.map +1 -1
- package/dist/index.cjs +13 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12 -6
- package/dist/index.js.map +1 -1
- package/dist/utils/index.cjs +21 -0
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +19 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/path-pattern.d.ts +5 -0
- package/dist/utils/path-pattern.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/components/announcement-bar.tsx +3 -2
- package/src/hooks/__tests__/use-scenario-player.test.tsx +48 -0
- package/src/hooks/use-scenario-player.ts +22 -2
- package/src/utils/__tests__/path-pattern.test.ts +30 -0
- package/src/utils/index.ts +1 -0
- package/src/utils/path-pattern.ts +31 -0
- package/dist/chunk-5SDHD3PY.js.map +0 -1
- package/dist/chunk-KLJK5HSA.cjs.map +0 -1
- package/dist/chunk-U5N4424J.cjs.map +0 -1
- /package/dist/{chunk-2BS7SRKK.js.map → chunk-2QESJBGE.js.map} +0 -0
- /package/dist/{chunk-YQPN6IGK.js.map → chunk-5VXVHYHC.js.map} +0 -0
- /package/dist/{chunk-AKMQG7PN.js.map → chunk-7QAT2DV5.js.map} +0 -0
- /package/dist/{chunk-3523KRUN.js.map → chunk-AC6OEPUV.js.map} +0 -0
- /package/dist/{chunk-KSLQXGCP.js.map → chunk-FWVIDEOA.js.map} +0 -0
- /package/dist/{chunk-K32G3W5N.js.map → chunk-HNHKXOCZ.js.map} +0 -0
- /package/dist/{chunk-Q2PQXELU.js.map → chunk-J3ZS6CRA.js.map} +0 -0
- /package/dist/{chunk-J3W4DGON.js.map → chunk-J6ZEVCVN.js.map} +0 -0
- /package/dist/{chunk-SLO5WH6A.js.map → chunk-MOEOLUVD.js.map} +0 -0
- /package/dist/{chunk-YS6UKG6O.js.map → chunk-R2XJXMAT.js.map} +0 -0
- /package/dist/{chunk-6W4EKHPI.js.map → chunk-R4JFUVQ4.js.map} +0 -0
- /package/dist/{chunk-XBB53UGE.js.map → chunk-VOSO3SC5.js.map} +0 -0
- /package/dist/{chunk-3PH2TF2S.js.map → chunk-YNBOPBO7.js.map} +0 -0
- /package/dist/{chunk-URC357EJ.js.map → chunk-ZNJK5HOE.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkVQEXKCFMcjs = require('./chunk-VQEXKCFM.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -13,11 +13,11 @@ var _chunkZA4JA7ENcjs = require('./chunk-ZA4JA7EN.cjs');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunk4FS56YZScjs = require('./chunk-4FS56YZS.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkVP6PJLMIcjs = require('./chunk-VP6PJLMI.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
@@ -135,7 +135,7 @@ var MOBILE_NAV_PANEL_ID = "mobile-nav-panel";
|
|
|
135
135
|
function MobileNavPanel({ isOpen, config }) {
|
|
136
136
|
const panelRef = _react.useRef.call(void 0, null);
|
|
137
137
|
_overlays.usePreventScroll.call(void 0, { isDisabled: !isOpen });
|
|
138
|
-
|
|
138
|
+
_chunkVP6PJLMIcjs.useFocusTrap.call(void 0, panelRef, isOpen, { onEscape: config.onClose });
|
|
139
139
|
const headerHeight = _chunk26GBOUIPcjs.useHeaderHeight.call(void 0, 64, { enabled: isOpen });
|
|
140
140
|
if (!isOpen) return null;
|
|
141
141
|
const renderNavigationItem = (item) => {
|
|
@@ -242,16 +242,16 @@ function MobileNavPanel({ isOpen, config }) {
|
|
|
242
242
|
// src/components/navigation/ticket-alerts-button.tsx
|
|
243
243
|
|
|
244
244
|
function TicketAlertsButton({ href, onNavigate, disabled, className }) {
|
|
245
|
-
const live =
|
|
245
|
+
const live = _chunkVQEXKCFMcjs.useOptionalTicketLive.call(void 0, );
|
|
246
246
|
if (!live || !live.authed || live.unreadTotal === 0) return null;
|
|
247
247
|
const targetId = live.nextUnreadTicketId;
|
|
248
|
-
const target = targetId ?
|
|
248
|
+
const target = targetId ? _chunk4FS56YZScjs.buildTicketOpenHref.call(void 0, href, targetId) : href;
|
|
249
249
|
const handleClick = () => {
|
|
250
250
|
if (onNavigate) onNavigate(target);
|
|
251
251
|
else window.location.assign(target);
|
|
252
252
|
};
|
|
253
253
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
254
|
-
|
|
254
|
+
_chunk4FS56YZScjs.HeaderButton,
|
|
255
255
|
{
|
|
256
256
|
icon: (
|
|
257
257
|
// Glyph inherits HeaderButton's standard cell coloring (secondary at
|
|
@@ -261,7 +261,7 @@ function TicketAlertsButton({ href, onNavigate, disabled, className }) {
|
|
|
261
261
|
// existing while updates are unread — never by tinting the glyph.
|
|
262
262
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative inline-flex", children: [
|
|
263
263
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWCV7IDUcjs.LifeBuoyIcon, { className: "h-6 w-6" }),
|
|
264
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
264
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4FS56YZScjs.UnreadCountBadge, { count: live.unreadTotal })
|
|
265
265
|
] })
|
|
266
266
|
),
|
|
267
267
|
"aria-label": `Support tickets \u2014 ${live.unreadTotal} unread ${live.unreadTotal === 1 ? "update" : "updates"}`,
|
|
@@ -579,7 +579,7 @@ function Header({ config }) {
|
|
|
579
579
|
leading: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
580
580
|
!!_optionalChain([config, 'access', _12 => _12.actions, 'optionalAccess', _13 => _13.left, 'optionalAccess', _14 => _14.length]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-full items-center border-r border-ods-border", children: config.actions.left }),
|
|
581
581
|
_optionalChain([config, 'access', _15 => _15.mobile, 'optionalAccess', _16 => _16.enabled]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
582
|
-
|
|
582
|
+
_chunk4FS56YZScjs.HeaderButton,
|
|
583
583
|
{
|
|
584
584
|
className: "border-r border-ods-border lg:hidden",
|
|
585
585
|
onClick: () => {
|
|
@@ -699,7 +699,7 @@ function SlidingSidebar({ config }) {
|
|
|
699
699
|
const asideRef = _react.useRef.call(void 0, null);
|
|
700
700
|
const prefersReducedMotion = _framermotion.useReducedMotion.call(void 0, );
|
|
701
701
|
_overlays.usePreventScroll.call(void 0, { isDisabled: !config.isOpen });
|
|
702
|
-
|
|
702
|
+
_chunkVP6PJLMIcjs.useFocusTrap.call(void 0, asideRef, config.isOpen, { onEscape: config.onClose, contain: false });
|
|
703
703
|
const toggleExpanded = (itemId) => {
|
|
704
704
|
const newExpanded = new Set(expandedItems);
|
|
705
705
|
if (newExpanded.has(itemId)) {
|
|
@@ -966,7 +966,7 @@ var NavigationSidebarItemButton = _react.memo.call(void 0, function NavigationSi
|
|
|
966
966
|
_react.cloneElement.call(void 0, item.icon, {
|
|
967
967
|
color: isActive && !disabled ? "text-ods-accent" : "text-ods-text-secondary"
|
|
968
968
|
}),
|
|
969
|
-
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
969
|
+
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4FS56YZScjs.UnreadDot, { size: "fixed" })
|
|
970
970
|
] }),
|
|
971
971
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
972
972
|
"span",
|
|
@@ -1060,7 +1060,7 @@ function NavigationSidebar({ config, disabled = false }) {
|
|
|
1060
1060
|
const isMdUp = _nullishCoalesce(_chunk26GBOUIPcjs.useMdUp.call(void 0, ), () => ( false));
|
|
1061
1061
|
const isLgUp = _nullishCoalesce(_chunk26GBOUIPcjs.useLgUp.call(void 0, ), () => ( false));
|
|
1062
1062
|
const isTablet = isMdUp && !isLgUp;
|
|
1063
|
-
const [desktopMinimized, setDesktopMinimized] =
|
|
1063
|
+
const [desktopMinimized, setDesktopMinimized] = _chunkVP6PJLMIcjs.useLocalStorage.call(void 0, STORAGE_KEY, _nullishCoalesce(config.minimized, () => ( false)));
|
|
1064
1064
|
const [tabletMinimized, setTabletMinimized] = _react.useState.call(void 0, true);
|
|
1065
1065
|
const [tabletFor, setTabletFor] = _react.useState.call(void 0, isTablet);
|
|
1066
1066
|
if (tabletFor !== isTablet) {
|
|
@@ -1249,7 +1249,7 @@ function HeaderGlobalSearch({
|
|
|
1249
1249
|
"form",
|
|
1250
1250
|
{
|
|
1251
1251
|
onSubmit: handleSubmit,
|
|
1252
|
-
...
|
|
1252
|
+
..._chunk4FS56YZScjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
1253
1253
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
1254
1254
|
"flex h-full flex-1 items-center gap-2 px-3",
|
|
1255
1255
|
// Transparent so the cell inherits the bar's background
|
|
@@ -1436,7 +1436,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1436
1436
|
leading: (
|
|
1437
1437
|
// Mobile: Burger Menu Button
|
|
1438
1438
|
!isMdUp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1439
|
-
|
|
1439
|
+
_chunk4FS56YZScjs.HeaderButton,
|
|
1440
1440
|
{
|
|
1441
1441
|
onClick: onToggleMobileMenu,
|
|
1442
1442
|
isActive: isMobileMenuOpen,
|
|
@@ -1462,7 +1462,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1462
1462
|
center: showSearch ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderGlobalSearch, { onSubmit: onSearch, className: _chunkX7CEWD6Vcjs.cn.call(void 0, "w-full", dimmedClass) }) : void 0,
|
|
1463
1463
|
sideActions: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1464
1464
|
showSearch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1465
|
-
|
|
1465
|
+
_chunk4FS56YZScjs.HeaderButton,
|
|
1466
1466
|
{
|
|
1467
1467
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, { className: "h-6 w-6" }),
|
|
1468
1468
|
"aria-label": "Search",
|
|
@@ -1479,7 +1479,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1479
1479
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0, "hidden lg:flex", dimmedClass)
|
|
1480
1480
|
}
|
|
1481
1481
|
),
|
|
1482
|
-
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1482
|
+
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4FS56YZScjs.TimeTrackerHeaderButton, { disabled, className: _chunkX7CEWD6Vcjs.cn.call(void 0, cellDivider, dimmedClass) }),
|
|
1483
1483
|
showNotifications && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1484
1484
|
NotificationsHeaderButton,
|
|
1485
1485
|
{
|
|
@@ -1499,7 +1499,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1499
1499
|
),
|
|
1500
1500
|
isMdUp && showUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkKWX65373cjs.DropdownMenu, { children: [
|
|
1501
1501
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKWX65373cjs.DropdownMenuTrigger, { asChild: true, disabled, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1502
|
-
|
|
1502
|
+
_chunk4FS56YZScjs.HeaderButton,
|
|
1503
1503
|
{
|
|
1504
1504
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1505
1505
|
_chunkQTTBDMPOcjs.SquareAvatar,
|
|
@@ -1583,12 +1583,12 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1583
1583
|
);
|
|
1584
1584
|
});
|
|
1585
1585
|
function NotificationsHeaderButton({ fallbackUnreadCount, disabled, dimmedClass }) {
|
|
1586
|
-
const ctx =
|
|
1586
|
+
const ctx = _chunk4FS56YZScjs.useOptionalNotifications.call(void 0, );
|
|
1587
1587
|
const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _94 => _94.unreadCount]), () => ( fallbackUnreadCount))) > 0;
|
|
1588
1588
|
const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _95 => _95.isOpen]), () => ( false));
|
|
1589
1589
|
const onClick = _optionalChain([ctx, 'optionalAccess', _96 => _96.toggle]);
|
|
1590
1590
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1591
|
-
|
|
1591
|
+
_chunk4FS56YZScjs.HeaderButton,
|
|
1592
1592
|
{
|
|
1593
1593
|
icon: isActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWCV7IDUcjs.XmarkIcon, { className: "h-6 w-6" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDWCV7IDUcjs.BellIcon, { className: "h-6 w-6" }),
|
|
1594
1594
|
showUnreadDot: !isActive && hasUnread,
|
|
@@ -1666,7 +1666,7 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
|
|
|
1666
1666
|
}) {
|
|
1667
1667
|
const panelRef = _react.useRef.call(void 0, null);
|
|
1668
1668
|
_overlays.usePreventScroll.call(void 0, { isDisabled: !isOpen });
|
|
1669
|
-
|
|
1669
|
+
_chunkVP6PJLMIcjs.useFocusTrap.call(void 0, panelRef, isOpen, { onEscape: onClose });
|
|
1670
1670
|
const handleItemClick = _react.useCallback.call(void 0,
|
|
1671
1671
|
(item) => {
|
|
1672
1672
|
if (item.onClick) {
|
|
@@ -1866,7 +1866,7 @@ function AppLayout({
|
|
|
1866
1866
|
}),
|
|
1867
1867
|
[]
|
|
1868
1868
|
);
|
|
1869
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1869
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4FS56YZScjs.AppLayoutDrawerContainerContext.Provider, { value: drawerContainer, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4FS56YZScjs.AppLayoutDrawerCoordinationContext.Provider, { value: drawerCoordination, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "flex h-screen flex-col bg-ods-bg", className), children: [
|
|
1870
1870
|
topBar,
|
|
1871
1871
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex min-h-0 flex-1", children: [
|
|
1872
1872
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, NavigationSidebar, { config: sidebarConfig, disabled }),
|
|
@@ -1890,7 +1890,7 @@ function AppLayout({
|
|
|
1890
1890
|
disabled
|
|
1891
1891
|
}
|
|
1892
1892
|
),
|
|
1893
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1893
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4FS56YZScjs.NotificationDrawer, {}),
|
|
1894
1894
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: setDrawerContainer, className: "relative flex flex-1 flex-col overflow-hidden", children: [
|
|
1895
1895
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "main", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "flex-1 overflow-y-auto", mainClassName), children }),
|
|
1896
1896
|
drawer
|
|
@@ -1920,4 +1920,4 @@ function AppLayout({
|
|
|
1920
1920
|
|
|
1921
1921
|
|
|
1922
1922
|
exports.MingoAiButton = MingoAiButton; exports.MOBILE_NAV_PANEL_ID = MOBILE_NAV_PANEL_ID; exports.MobileNavPanel = MobileNavPanel; exports.TicketAlertsButton = TicketAlertsButton; exports.TopNavigation = TopNavigation; exports.Header = Header; exports.HeaderSkeleton = HeaderSkeleton; exports.ClientOnlyHeader = ClientOnlyHeader; exports.SlidingSidebar = SlidingSidebar; exports.NavigationItemBadge = NavigationItemBadge; exports.NAVIGATION_SIDEBAR_WIDTH_VAR = NAVIGATION_SIDEBAR_WIDTH_VAR; exports.NavigationSidebar = NavigationSidebar; exports.HeaderGlobalSearch = HeaderGlobalSearch; exports.HeaderMingoButton = HeaderMingoButton; exports.HeaderOrganizationFilter = HeaderOrganizationFilter; exports.AppHeader = AppHeader; exports.MobileBurgerMenu = MobileBurgerMenu; exports.AppLayout = AppLayout;
|
|
1923
|
-
//# sourceMappingURL=chunk-
|
|
1923
|
+
//# sourceMappingURL=chunk-VO2FJ2AL.cjs.map
|