@flamingo-stack/openframe-frontend-core 0.0.795 → 0.0.796
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/build/export-map.json +1 -1
- package/dist/{chunk-FYHXMHY6.cjs → chunk-6JCTKXHX.cjs} +13 -13
- package/dist/{chunk-HXL7AUPG.cjs → chunk-6WXP5IKR.cjs} +16 -16
- package/dist/{chunk-6VP5UWZG.cjs → chunk-7SEY3FDF.cjs} +2 -2
- package/dist/{chunk-BFCGOHQG.cjs → chunk-7VU4HHUR.cjs} +32 -32
- package/dist/{chunk-43ZVXQJK.cjs → chunk-CC7NRWRF.cjs} +48 -48
- package/dist/{chunk-72NE4G63.cjs → chunk-CFXCCQ6T.cjs} +2 -2
- package/dist/{chunk-RPC4P7GY.cjs → chunk-F64GLU75.cjs} +33 -33
- package/dist/{chunk-PQIWR4Q2.cjs → chunk-G24OX7AC.cjs} +16 -16
- package/dist/{chunk-7VXMO4XJ.cjs → chunk-GP7NV6BK.cjs} +3 -1
- package/dist/{chunk-6TUI5KQS.cjs → chunk-II4A2RUG.cjs} +41 -41
- package/dist/{chunk-ZCMXBX4Z.cjs → chunk-IONS6HDF.cjs} +5 -5
- package/dist/{chunk-4BYNNQBC.cjs → chunk-JC43ULIC.cjs} +71 -71
- package/dist/{chunk-FYPVCCCV.cjs → chunk-JGURZROB.cjs} +27 -27
- package/dist/{chunk-FOWQ4XTB.cjs → chunk-N3J4U7ML.cjs} +2 -2
- package/dist/{chunk-IJ23KNYI.cjs → chunk-NAJ24ODA.cjs} +4 -4
- package/dist/{chunk-F73DM65J.cjs → chunk-NRAH3M66.cjs} +46 -46
- package/dist/{chunk-3XAFK4WH.cjs → chunk-OKAHKZP2.cjs} +8 -8
- package/dist/{chunk-2KLYMAHF.cjs → chunk-PALMLL5T.cjs} +4 -4
- package/dist/{chunk-CLEZ6TWZ.cjs → chunk-QCN46LDL.cjs} +69 -69
- package/dist/{chunk-YPKAMHYA.cjs → chunk-QMDXG3VF.cjs} +574 -457
- package/dist/{chunk-BIYLAAFI.cjs → chunk-TUD7BV6O.cjs} +9 -9
- package/dist/{chunk-OK467OQJ.cjs → chunk-UYOGZJPE.cjs} +4 -4
- package/dist/{chunk-IQTVKPRG.cjs → chunk-VUP7ZGZS.cjs} +20 -20
- package/dist/{chunk-YYKXX5NA.cjs → chunk-VYXNGADV.cjs} +24 -24
- package/dist/{chunk-A6E5ZNQR.cjs → chunk-W4QITOT7.cjs} +5 -5
- package/dist/{chunk-NGGEYE5R.cjs → chunk-XFJ7BZDJ.cjs} +5 -5
- package/dist/{chunk-U4D4ABXK.cjs → chunk-XVVQJXOA.cjs} +39 -39
- package/dist/{chunk-QDW64E6T.cjs → chunk-Y3IMXLLL.cjs} +143 -143
- package/dist/{chunk-NIW4ETGC.cjs → chunk-YFHKBIZT.cjs} +6 -6
- package/dist/{chunk-KQPU5N7T.cjs → chunk-ZMWSN2BD.cjs} +11 -11
- package/dist/{chunk-ZIMPE7D5.cjs → chunk-ZRME3A2D.cjs} +3 -3
- package/dist/{cloud-tenants-Z3AYAXF5.cjs → cloud-tenants-BQUWLMYY.cjs} +12 -12
- package/dist/components/case-studies/index.cjs +26 -26
- package/dist/components/chat/index.cjs +9 -9
- package/dist/components/contact/index.cjs +13 -13
- package/dist/components/docs/index.cjs +16 -16
- package/dist/components/embeds/index.cjs +13 -13
- package/dist/components/faq/index.cjs +14 -14
- package/dist/components/features/index.cjs +12 -12
- package/dist/components/help-center-pages/index.cjs +98 -98
- package/dist/components/index.cjs +82 -68
- package/dist/components/meeting-scheduler/index.cjs +72 -72
- package/dist/components/navigation/index.cjs +15 -15
- package/dist/components/onboarding-guides/index.cjs +15 -15
- package/dist/components/product-demo/index.cjs +23 -23
- package/dist/components/related-content/index.cjs +7 -7
- package/dist/components/tickets/index.cjs +19 -19
- package/dist/components/ui/floating-tooltip.d.ts.map +1 -1
- package/dist/components/ui/floating-tooltip.js +3 -1
- package/dist/components/ui/index.cjs +26 -12
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +9 -1
- package/dist/components/ui/trendline.d.ts +60 -0
- package/dist/components/ui/trendline.d.ts.map +1 -0
- package/dist/components/ui/trendline.js +121 -0
- package/dist/{devices-P6XQL23S.cjs → devices-BFQOLI3D.cjs} +13 -13
- package/dist/{embeddable-chat-6BNLOSBB.cjs → embeddable-chat-INYF23ST.cjs} +74 -74
- package/dist/index.cjs +31 -17
- package/dist/{knowledge-IU5ORU7U.cjs → knowledge-GGYWTYTP.cjs} +13 -13
- package/dist/{logs-DCFTQVKA.cjs → logs-NO55PTIO.cjs} +20 -20
- package/dist/{policies-ESC6XCVH.cjs → policies-AAFYTVOJ.cjs} +16 -16
- package/dist/{remote-session-4ZNTOLOQ.cjs → remote-session-2CNWLF3P.cjs} +7 -7
- package/dist/{scripts-24PIP2VO.cjs → scripts-H4ECJ65X.cjs} +19 -19
- package/dist/{software-update-47GDTKMI.cjs → software-update-NEEGQBK3.cjs} +16 -16
- package/dist/{tickets-board-X4GHEKPB.cjs → tickets-board-CXYRAMDL.cjs} +8 -8
- package/package.json +1 -1
- package/src/components/ui/floating-tooltip.tsx +4 -1
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/trendline.tsx +221 -0
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkUYOGZJPEcjs = require('./chunk-UYOGZJPE.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkNAJ24ODAcjs = require('./chunk-NAJ24ODA.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ var _chunkIJ23KNYIcjs = require('./chunk-IJ23KNYI.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkQMDXG3VFcjs = require('./chunk-QMDXG3VF.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
var _chunkHJBJHQKEcjs = require('./chunk-HJBJHQKE.cjs');
|
|
@@ -39,14 +39,14 @@ var _chunk24I6RFVUcjs = require('./chunk-24I6RFVU.cjs');
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
var
|
|
42
|
+
var _chunkNRAH3M66cjs = require('./chunk-NRAH3M66.cjs');
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
var
|
|
46
|
+
var _chunkY3IMXLLLcjs = require('./chunk-Y3IMXLLL.cjs');
|
|
47
47
|
|
|
48
48
|
|
|
49
|
-
var
|
|
49
|
+
var _chunkTUD7BV6Ocjs = require('./chunk-TUD7BV6O.cjs');
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
var _chunk756VZNPPcjs = require('./chunk-756VZNPP.cjs');
|
|
@@ -98,7 +98,7 @@ var _chunkUN6LC5PKcjs = require('./chunk-UN6LC5PK.cjs');
|
|
|
98
98
|
|
|
99
99
|
|
|
100
100
|
|
|
101
|
-
var
|
|
101
|
+
var _chunkGP7NV6BKcjs = require('./chunk-GP7NV6BK.cjs');
|
|
102
102
|
|
|
103
103
|
|
|
104
104
|
var _chunkAQXKXZWBcjs = require('./chunk-AQXKXZWB.cjs');
|
|
@@ -193,7 +193,7 @@ function NavItemRow({
|
|
|
193
193
|
className
|
|
194
194
|
}) {
|
|
195
195
|
const label = navLinkLabel(link);
|
|
196
|
-
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
196
|
+
const counter = badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQMDXG3VFcjs.UnreadCountBadge, { count: badge, className: "static shrink-0" }) : null;
|
|
197
197
|
const singleLine = !link.description && !link.builtOn;
|
|
198
198
|
const rowClassName = _chunk6YZNUHXTcjs.cn.call(void 0,
|
|
199
199
|
ROW_CLASSES[variant],
|
|
@@ -250,7 +250,7 @@ function loadFeatureCard() {
|
|
|
250
250
|
}
|
|
251
251
|
function subscribeToFeatureCard(listener) {
|
|
252
252
|
featureCardListeners.add(listener);
|
|
253
|
-
const cancel =
|
|
253
|
+
const cancel = _chunkNRAH3M66cjs.afterPageLoad.call(void 0, loadFeatureCard);
|
|
254
254
|
return () => {
|
|
255
255
|
featureCardListeners.delete(listener);
|
|
256
256
|
cancel();
|
|
@@ -615,7 +615,7 @@ function SiteHeader({
|
|
|
615
615
|
leading: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
616
616
|
leading,
|
|
617
617
|
mobile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
618
|
-
|
|
618
|
+
_chunkQMDXG3VFcjs.HeaderButton,
|
|
619
619
|
{
|
|
620
620
|
className: "border-r border-ods-border lg:hidden",
|
|
621
621
|
onClick: mobile.onToggle,
|
|
@@ -641,7 +641,7 @@ function SiteHeader({
|
|
|
641
641
|
centerClassName: "justify-start pl-[var(--spacing-system-xlf)]",
|
|
642
642
|
cta: hasRight ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
643
643
|
mingo && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
644
|
-
|
|
644
|
+
_chunkNRAH3M66cjs.MingoAiButton,
|
|
645
645
|
{
|
|
646
646
|
source: mingo.source,
|
|
647
647
|
icon: mingo.icon,
|
|
@@ -745,7 +745,7 @@ function MobileNavSheetBody({
|
|
|
745
745
|
] }),
|
|
746
746
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-h-0 flex-1 overflow-y-auto overflow-x-hidden overscroll-contain px-5", children: [
|
|
747
747
|
askAI && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
748
|
-
|
|
748
|
+
_chunkNRAH3M66cjs.MingoAiButton,
|
|
749
749
|
{
|
|
750
750
|
variant: "field",
|
|
751
751
|
source: askAI.source,
|
|
@@ -923,7 +923,7 @@ function SiteFooter({
|
|
|
923
923
|
const columns = nav.footerColumns;
|
|
924
924
|
const accordion = columns.length > ACCORDION_OVER;
|
|
925
925
|
const socialRow = _nullishCoalesce(social, () => ( (nav.brand.social.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
926
|
-
|
|
926
|
+
_chunkQMDXG3VFcjs.SocialIconRow,
|
|
927
927
|
{
|
|
928
928
|
compact: true,
|
|
929
929
|
links: nav.brand.social.map((link) => ({
|
|
@@ -1026,7 +1026,7 @@ var _framermotion = require('framer-motion');
|
|
|
1026
1026
|
|
|
1027
1027
|
function SlidingSidebar({ config }) {
|
|
1028
1028
|
const [expandedItems, setExpandedItems] = _react.useState.call(void 0, /* @__PURE__ */ new Set());
|
|
1029
|
-
const mounted =
|
|
1029
|
+
const mounted = _chunkY3IMXLLLcjs.useIsHydrated.call(void 0, );
|
|
1030
1030
|
const headerHeight = _chunk24I6RFVUcjs.useHeaderHeight.call(void 0, );
|
|
1031
1031
|
const asideRef = _react.useRef.call(void 0, null);
|
|
1032
1032
|
const prefersReducedMotion = _framermotion.useReducedMotion.call(void 0, );
|
|
@@ -1201,7 +1201,7 @@ function SlidingSidebar({ config }) {
|
|
|
1201
1201
|
// src/components/navigation/page-section-bar.tsx
|
|
1202
1202
|
|
|
1203
1203
|
|
|
1204
|
-
var SECTION_BAR_HEIGHT_PX =
|
|
1204
|
+
var SECTION_BAR_HEIGHT_PX = _chunkUYOGZJPEcjs.STICKY_SECTION_NAV_HEIGHT_PX;
|
|
1205
1205
|
var PAGE_ANCHOR_SCROLL_MARGIN_CLASS = "scroll-mt-36";
|
|
1206
1206
|
var PAGE_ANCHOR_SCOPE_CLASS = "[&_[id]]:scroll-mt-36";
|
|
1207
1207
|
var PAGE_ANCHOR_GAP_PX = 16;
|
|
@@ -1229,21 +1229,21 @@ function PageSectionBar({ sections: listed, label, brand, action }) {
|
|
|
1229
1229
|
const sections = useRenderedSections(listed);
|
|
1230
1230
|
const inScope = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, );
|
|
1231
1231
|
const headerBottom = _chunk24I6RFVUcjs.useHeaderHeight.call(void 0, void 0, { stuckOnly: true });
|
|
1232
|
-
const { activeSection, handleSectionClick } =
|
|
1232
|
+
const { activeSection, handleSectionClick } = _chunkUYOGZJPEcjs.useScrollSpy.call(void 0, sections, {
|
|
1233
1233
|
syncHash: true,
|
|
1234
1234
|
aboveFirst: "none",
|
|
1235
1235
|
headerOffset: headerBottom + SECTION_BAR_HEIGHT_PX + PAGE_ANCHOR_GAP_PX
|
|
1236
1236
|
});
|
|
1237
1237
|
if (sections.length === 0 && !inScope) return null;
|
|
1238
1238
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1239
|
-
|
|
1239
|
+
_chunkQMDXG3VFcjs.PageContainer,
|
|
1240
1240
|
{
|
|
1241
1241
|
as: "div",
|
|
1242
1242
|
backgroundClassName: "sticky z-30 border-b border-ods-border bg-ods-bg transition-[top] duration-300 ease-in-out motion-reduce:transition-none",
|
|
1243
1243
|
backgroundStyle: { top: headerBottom },
|
|
1244
1244
|
contentPadding: SECTION_BAR_INSET_CLASS,
|
|
1245
1245
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1246
|
-
|
|
1246
|
+
_chunkUYOGZJPEcjs.StickySectionNav,
|
|
1247
1247
|
{
|
|
1248
1248
|
orientation: "horizontal",
|
|
1249
1249
|
label,
|
|
@@ -1252,7 +1252,7 @@ function PageSectionBar({ sections: listed, label, brand, action }) {
|
|
|
1252
1252
|
onSectionClick: handleSectionClick,
|
|
1253
1253
|
brand,
|
|
1254
1254
|
action: action && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1255
|
-
|
|
1255
|
+
_chunkY3IMXLLLcjs.NavLinkAnchorViaRuntime,
|
|
1256
1256
|
{
|
|
1257
1257
|
href: action.href,
|
|
1258
1258
|
onClick: (event) => {
|
|
@@ -1306,7 +1306,7 @@ function NavigationSidebarHeader({ minimized }) {
|
|
|
1306
1306
|
|
|
1307
1307
|
function NavigationItemBadge({ label, compact = false, className, ...rest }) {
|
|
1308
1308
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1309
|
-
|
|
1309
|
+
_chunkGP7NV6BKcjs.Tag,
|
|
1310
1310
|
{
|
|
1311
1311
|
as: "span",
|
|
1312
1312
|
label,
|
|
@@ -1339,7 +1339,7 @@ function LoadedNavigationSidebarItemButton({
|
|
|
1339
1339
|
const content = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1340
1340
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex flex-shrink-0 items-center justify-center", children: [
|
|
1341
1341
|
_react.cloneElement.call(void 0, item.icon, { color: "inherit" }),
|
|
1342
|
-
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1342
|
+
hasUnread && !showLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQMDXG3VFcjs.UnreadDot, { size: "fixed" })
|
|
1343
1343
|
] }),
|
|
1344
1344
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1345
1345
|
"span",
|
|
@@ -1449,7 +1449,7 @@ function NavigationSidebar({ config, disabled = false, pushOnTablet = false }) {
|
|
|
1449
1449
|
setTabletFor(isTablet);
|
|
1450
1450
|
if (isTablet) setTabletMinimized(true);
|
|
1451
1451
|
}
|
|
1452
|
-
const hydrated =
|
|
1452
|
+
const hydrated = _chunkY3IMXLLLcjs.useIsHydrated.call(void 0, );
|
|
1453
1453
|
const minimized = hydrated ? isTablet ? tabletMinimized : desktopMinimized : _nullishCoalesce(config.minimized, () => ( false));
|
|
1454
1454
|
const [transitionsEnabled, setTransitionsEnabled] = _react.useState.call(void 0, false);
|
|
1455
1455
|
const isOverlayOpen = isTablet && !minimized;
|
|
@@ -1641,7 +1641,7 @@ function HeaderGlobalSearch({
|
|
|
1641
1641
|
"form",
|
|
1642
1642
|
{
|
|
1643
1643
|
onSubmit: handleSubmit,
|
|
1644
|
-
...
|
|
1644
|
+
..._chunkNRAH3M66cjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
1645
1645
|
className: _chunk6YZNUHXTcjs.cn.call(void 0,
|
|
1646
1646
|
"flex h-full flex-1 items-center gap-2 px-3",
|
|
1647
1647
|
// Transparent so the cell inherits the bar's background
|
|
@@ -1707,7 +1707,7 @@ function HeaderMingoButton({
|
|
|
1707
1707
|
) : (
|
|
1708
1708
|
// Outer frame follows the button's text color (currentColor); the eyes
|
|
1709
1709
|
// and corner block are ODS cyan.
|
|
1710
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1710
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTUD7BV6Ocjs.AgentMark, { agent: "mingo", className: "h-6 w-6 shrink-0" })
|
|
1711
1711
|
),
|
|
1712
1712
|
!iconOnly && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap font-bold tracking-[-0.36px] text-h3", children: "Mingo AI" })
|
|
1713
1713
|
]
|
|
@@ -1748,16 +1748,16 @@ function HeaderOrganizationFilter({
|
|
|
1748
1748
|
// src/components/navigation/ticket-alerts-button.tsx
|
|
1749
1749
|
|
|
1750
1750
|
function TicketAlertsButton({ href, onNavigate, disabled, className }) {
|
|
1751
|
-
const live =
|
|
1751
|
+
const live = _chunkNAJ24ODAcjs.useOptionalTicketLive.call(void 0, );
|
|
1752
1752
|
if (!live || !live.authed || live.unreadTotal === 0) return null;
|
|
1753
1753
|
const targetId = live.nextUnreadTicketId;
|
|
1754
|
-
const target = targetId ?
|
|
1754
|
+
const target = targetId ? _chunkNRAH3M66cjs.buildTicketOpenHref.call(void 0, href, targetId) : href;
|
|
1755
1755
|
const handleClick = () => {
|
|
1756
1756
|
if (onNavigate) onNavigate(target);
|
|
1757
1757
|
else window.location.assign(target);
|
|
1758
1758
|
};
|
|
1759
1759
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1760
|
-
|
|
1760
|
+
_chunkQMDXG3VFcjs.HeaderButton,
|
|
1761
1761
|
{
|
|
1762
1762
|
icon: (
|
|
1763
1763
|
// Glyph inherits HeaderButton's standard cell coloring (secondary at
|
|
@@ -1767,7 +1767,7 @@ function TicketAlertsButton({ href, onNavigate, disabled, className }) {
|
|
|
1767
1767
|
// existing while updates are unread — never by tinting the glyph.
|
|
1768
1768
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative inline-flex", children: [
|
|
1769
1769
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk365ZKGGOcjs.LifeBuoyIcon, { className: "h-6 w-6" }),
|
|
1770
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1770
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQMDXG3VFcjs.UnreadCountBadge, { count: live.unreadTotal })
|
|
1771
1771
|
] })
|
|
1772
1772
|
),
|
|
1773
1773
|
"aria-label": `Support tickets \u2014 ${live.unreadTotal} unread ${live.unreadTotal === 1 ? "update" : "updates"}`,
|
|
@@ -1844,7 +1844,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1844
1844
|
leading: (
|
|
1845
1845
|
// Mobile: Burger Menu Button
|
|
1846
1846
|
!isMdUp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1847
|
-
|
|
1847
|
+
_chunkQMDXG3VFcjs.HeaderButton,
|
|
1848
1848
|
{
|
|
1849
1849
|
onClick: onToggleMobileMenu,
|
|
1850
1850
|
isActive: isMobileMenuOpen,
|
|
@@ -1870,7 +1870,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1870
1870
|
center: showSearch ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderGlobalSearch, { onSubmit: onSearch, className: _chunk6YZNUHXTcjs.cn.call(void 0, "w-full", dimmedClass) }) : void 0,
|
|
1871
1871
|
sideActions: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1872
1872
|
showSearch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1873
|
-
|
|
1873
|
+
_chunkQMDXG3VFcjs.HeaderButton,
|
|
1874
1874
|
{
|
|
1875
1875
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZ74QE57Tcjs.SearchIcon, { className: "h-6 w-6" }),
|
|
1876
1876
|
"aria-label": "Search",
|
|
@@ -1887,7 +1887,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1887
1887
|
className: _chunk6YZNUHXTcjs.cn.call(void 0, "hidden lg:flex", dimmedClass)
|
|
1888
1888
|
}
|
|
1889
1889
|
),
|
|
1890
|
-
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1890
|
+
showTimeTracker && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQMDXG3VFcjs.TimeTrackerHeaderButton, { disabled, className: _chunk6YZNUHXTcjs.cn.call(void 0, cellDivider, dimmedClass) }),
|
|
1891
1891
|
showNotifications && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1892
1892
|
NotificationsHeaderButton,
|
|
1893
1893
|
{
|
|
@@ -1907,10 +1907,10 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1907
1907
|
),
|
|
1908
1908
|
isMdUp && showUser && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkHYF4LPXFcjs.DropdownMenu, { children: [
|
|
1909
1909
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHYF4LPXFcjs.DropdownMenuTrigger, { asChild: true, disabled, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1910
|
-
|
|
1910
|
+
_chunkQMDXG3VFcjs.HeaderButton,
|
|
1911
1911
|
{
|
|
1912
1912
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1913
|
-
|
|
1913
|
+
_chunkGP7NV6BKcjs.SquareAvatar,
|
|
1914
1914
|
{
|
|
1915
1915
|
src: userAvatarUrl || void 0,
|
|
1916
1916
|
alt: userName || "User",
|
|
@@ -1936,7 +1936,7 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1936
1936
|
children: [
|
|
1937
1937
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2 border-b border-ods-border bg-ods-card p-3", children: [
|
|
1938
1938
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1939
|
-
|
|
1939
|
+
_chunkGP7NV6BKcjs.SquareAvatar,
|
|
1940
1940
|
{
|
|
1941
1941
|
src: userAvatarUrl || void 0,
|
|
1942
1942
|
alt: userName || "User",
|
|
@@ -1992,12 +1992,12 @@ var AppHeader = _react2.default.memo(function AppHeaderImpl({
|
|
|
1992
1992
|
);
|
|
1993
1993
|
});
|
|
1994
1994
|
function NotificationsHeaderButton({ fallbackUnreadCount, disabled, dimmedClass }) {
|
|
1995
|
-
const ctx =
|
|
1995
|
+
const ctx = _chunkQMDXG3VFcjs.useOptionalNotifications.call(void 0, );
|
|
1996
1996
|
const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _56 => _56.unreadCount]), () => ( fallbackUnreadCount))) > 0;
|
|
1997
1997
|
const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _57 => _57.isOpen]), () => ( false));
|
|
1998
1998
|
const onClick = _optionalChain([ctx, 'optionalAccess', _58 => _58.toggle]);
|
|
1999
1999
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2000
|
-
|
|
2000
|
+
_chunkQMDXG3VFcjs.HeaderButton,
|
|
2001
2001
|
{
|
|
2002
2002
|
icon: isActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWWUSFOJ7cjs.XmarkIcon, { className: "h-6 w-6" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCON36SEJcjs.BellIcon, { className: "h-6 w-6" }),
|
|
2003
2003
|
showUnreadDot: !isActive && hasUnread,
|
|
@@ -2547,7 +2547,7 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
|
|
|
2547
2547
|
"aria-disabled": disabled || void 0,
|
|
2548
2548
|
children: [
|
|
2549
2549
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2550
|
-
|
|
2550
|
+
_chunkGP7NV6BKcjs.SquareAvatar,
|
|
2551
2551
|
{
|
|
2552
2552
|
src: user.userAvatarUrl || void 0,
|
|
2553
2553
|
alt: user.userName || "User",
|
|
@@ -2650,7 +2650,7 @@ function AppLayout({
|
|
|
2650
2650
|
}),
|
|
2651
2651
|
[]
|
|
2652
2652
|
);
|
|
2653
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2653
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQMDXG3VFcjs.AppLayoutDrawerContainerContext.Provider, { value: drawerContainer, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQMDXG3VFcjs.AppLayoutDrawerCoordinationContext.Provider, { value: drawerCoordination, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, "flex h-screen flex-col bg-ods-bg", className), children: [
|
|
2654
2654
|
topBar,
|
|
2655
2655
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex min-h-0 flex-1", children: [
|
|
2656
2656
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, NavigationSidebar, { config: sidebarConfig, disabled, pushOnTablet: hasSidePanel }),
|
|
@@ -2674,7 +2674,7 @@ function AppLayout({
|
|
|
2674
2674
|
disabled
|
|
2675
2675
|
}
|
|
2676
2676
|
),
|
|
2677
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2677
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQMDXG3VFcjs.NotificationDrawer, {}),
|
|
2678
2678
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
2679
2679
|
"div",
|
|
2680
2680
|
{
|