@flamingo-stack/openframe-frontend-core 0.0.702 → 0.0.703
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-HYFLTFFB.js → chunk-2NE3DNXY.js} +1 -1
- package/dist/{chunk-HPJ4XS2L.js → chunk-53AC23ZN.js} +4 -4
- package/dist/{chunk-LZNJH23A.cjs → chunk-5VPIC5MD.cjs} +3 -3
- package/dist/{chunk-AEQANLBW.cjs → chunk-67CXGPTW.cjs} +24 -24
- package/dist/{chunk-ETFFEA3J.js → chunk-7632TNE7.js} +1 -1
- package/dist/{chunk-CYYTD5ZK.cjs → chunk-BMJUKS6S.cjs} +20 -20
- package/dist/{chunk-446KS5BG.js → chunk-BOUPNYUV.js} +2 -2
- package/dist/{chunk-FHM7GD5B.cjs → chunk-BSEIEWM5.cjs} +2 -2
- package/dist/{chunk-UJJWTJ6S.js → chunk-DAW6TDZB.js} +4 -4
- package/dist/{chunk-CZ34HXDW.js → chunk-ENGBNKUJ.js} +12 -157
- package/dist/{chunk-PLK6GHN7.js → chunk-G55W76S6.js} +1 -1
- package/dist/{chunk-3WSFIV5G.cjs → chunk-GX3OUTFO.cjs} +32 -32
- package/dist/{chunk-RS7HWAYX.js → chunk-GZYLZ4MB.js} +2 -2
- package/dist/{chunk-Z5HDCZAS.js → chunk-HHFPQNP3.js} +1 -1
- package/dist/{chunk-RTGPIHVO.cjs → chunk-HY5YL3U5.cjs} +247 -173
- package/dist/{chunk-QFW3RUZS.cjs → chunk-HYLIQMZH.cjs} +21 -21
- package/dist/{chunk-JOY6HVPV.js → chunk-J4K5JOLI.js} +1 -1
- package/dist/{chunk-E3DH543A.cjs → chunk-KFDP3DUL.cjs} +44 -44
- package/dist/{chunk-FD4DBTFO.cjs → chunk-MXHJROXJ.cjs} +330 -475
- package/dist/{chunk-IZKOQVXO.js → chunk-NCTYD7HL.js} +2 -2
- package/dist/{chunk-2V4Z44G6.js → chunk-NMGX2ZTU.js} +5 -5
- package/dist/{chunk-HIXGAY2L.cjs → chunk-NU724ZVN.cjs} +70 -70
- package/dist/{chunk-ASN65P3F.cjs → chunk-NYSYSKSH.cjs} +9 -9
- package/dist/{chunk-SAA7B3DA.js → chunk-PJP5SMOU.js} +3 -3
- package/dist/{chunk-6JPQDYYY.js → chunk-QGTDWFT6.js} +419 -345
- package/dist/{chunk-3G76LRGL.cjs → chunk-RLDAYA2A.cjs} +9 -9
- package/dist/{chunk-CXDJUKC6.cjs → chunk-RTXTGLGB.cjs} +2 -2
- package/dist/{chunk-B3LZJ6J3.cjs → chunk-S6V7A5FS.cjs} +12 -12
- package/dist/{chunk-YGRHITPY.cjs → chunk-SFGXIFYO.cjs} +7 -7
- package/dist/{chunk-BO5ZHDA4.js → chunk-SL2FOFT2.js} +4 -4
- package/dist/{chunk-MWUBBBWZ.js → chunk-UTW4SQDI.js} +2 -2
- package/dist/{chunk-L7KZA7ZD.cjs → chunk-YBGEPKC2.cjs} +4 -4
- package/dist/components/case-studies/index.cjs +14 -14
- package/dist/components/case-studies/index.js +3 -3
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/index.js +1 -1
- 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 +71 -71
- package/dist/components/help-center-pages/index.js +14 -14
- package/dist/components/index.cjs +41 -41
- package/dist/components/index.js +13 -13
- package/dist/components/meeting-scheduler/index.cjs +25 -25
- package/dist/components/meeting-scheduler/index.js +2 -2
- package/dist/components/navigation/app-layout-drawer.d.ts.map +1 -1
- 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/drawer.d.ts +7 -3
- package/dist/components/ui/drawer.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +3 -3
- package/dist/components/ui/index.js +2 -2
- package/dist/components/ui/panel-resize-handle.d.ts +25 -0
- package/dist/components/ui/panel-resize-handle.d.ts.map +1 -0
- package/dist/hooks/ui/use-resizable-panel-size.d.ts +46 -0
- package/dist/hooks/ui/use-resizable-panel-size.d.ts.map +1 -0
- package/dist/index.cjs +7 -7
- package/dist/index.js +6 -6
- package/package.json +1 -1
- package/src/components/chat/embeddable-chat.tsx +11 -9
- package/src/components/navigation/app-layout-drawer.tsx +14 -237
- package/src/components/ui/drawer.tsx +41 -188
- package/src/components/ui/panel-resize-handle.tsx +184 -0
- package/src/hooks/ui/use-resizable-panel-size.ts +114 -0
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
DeliveryRow,
|
|
7
7
|
ListEmptyState
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HHFPQNP3.js";
|
|
9
9
|
import {
|
|
10
10
|
EmptyState
|
|
11
11
|
} from "./chunk-OGLCD3UL.js";
|
|
12
12
|
import {
|
|
13
13
|
DetailPageSkeleton
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-J4K5JOLI.js";
|
|
15
15
|
import {
|
|
16
16
|
useSelfFetch
|
|
17
17
|
} from "./chunk-5FFNNJM7.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
RichMarkdownRenderer,
|
|
31
31
|
devSectionAnchorId,
|
|
32
32
|
resolveContentHref
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-ENGBNKUJ.js";
|
|
34
34
|
import {
|
|
35
35
|
useHumanitySignals,
|
|
36
36
|
useScrollToHash
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
isModifierClick,
|
|
47
47
|
useCaptions,
|
|
48
48
|
useIsHydrated
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-QGTDWFT6.js";
|
|
50
50
|
import {
|
|
51
51
|
STICKY_HEADER_OFFSET_PX
|
|
52
52
|
} from "./chunk-64O4L7WN.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkMXHJROXJcjs = require('./chunk-MXHJROXJ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -46,7 +46,7 @@ function GoogleSheetsViewer({ externalUrl, fileName, height }) {
|
|
|
46
46
|
] });
|
|
47
47
|
}
|
|
48
48
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
49
|
-
|
|
49
|
+
_chunkMXHJROXJcjs.EmbedViewerFrame,
|
|
50
50
|
{
|
|
51
51
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN3COXDBHcjs.GoogleSheetsIcon, { className: "h-5 w-5 shrink-0" }),
|
|
52
52
|
title: displayName,
|
|
@@ -81,7 +81,7 @@ function PdfViewer({ src, fileName, onPreview, onDownload, height }) {
|
|
|
81
81
|
] });
|
|
82
82
|
}
|
|
83
83
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
84
|
-
|
|
84
|
+
_chunkMXHJROXJcjs.EmbedViewerFrame,
|
|
85
85
|
{
|
|
86
86
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN3COXDBHcjs.AdobePdfIcon, { className: "h-5 w-5 shrink-0" }),
|
|
87
87
|
title: displayName,
|
|
@@ -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 _chunkYBGEPKC2cjs = require('./chunk-YBGEPKC2.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -13,7 +13,7 @@ var _chunkL7KZA7ZDcjs = require('./chunk-L7KZA7ZD.cjs');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkMXHJROXJcjs = require('./chunk-MXHJROXJ.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
@@ -21,7 +21,7 @@ var _chunk3L7KCOGOcjs = require('./chunk-3L7KCOGO.cjs');
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
24
|
+
var _chunkHY5YL3U5cjs = require('./chunk-HY5YL3U5.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
@@ -187,7 +187,7 @@ function MobileNavPanel({ isOpen, config }) {
|
|
|
187
187
|
);
|
|
188
188
|
};
|
|
189
189
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
190
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "fixed inset-0 z-[9998]",
|
|
190
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3ATAYP36cjs.cn.call(void 0, "fixed inset-0 z-[9998]", _chunkHY5YL3U5cjs.OVERLAY_BACKDROP_CLASS), onClick: config.onClose }),
|
|
191
191
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
192
192
|
"div",
|
|
193
193
|
{
|
|
@@ -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 = _chunkYBGEPKC2cjs.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 ? _chunkMXHJROXJcjs.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
|
+
_chunkMXHJROXJcjs.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, _chunkN3COXDBHcjs.LifeBuoyIcon, { className: "h-6 w-6" }),
|
|
264
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
264
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMXHJROXJcjs.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
|
+
_chunkMXHJROXJcjs.HeaderButton,
|
|
583
583
|
{
|
|
584
584
|
className: "border-r border-ods-border lg:hidden",
|
|
585
585
|
onClick: () => {
|
|
@@ -680,7 +680,7 @@ function HeaderSkeleton({ config }) {
|
|
|
680
680
|
// src/components/navigation/client-only-header.tsx
|
|
681
681
|
|
|
682
682
|
function ClientOnlyHeader({ config, skeleton }) {
|
|
683
|
-
const isClient =
|
|
683
|
+
const isClient = _chunkHY5YL3U5cjs.useIsHydrated.call(void 0, );
|
|
684
684
|
if (!isClient) {
|
|
685
685
|
return skeleton || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderSkeleton, { config });
|
|
686
686
|
}
|
|
@@ -694,7 +694,7 @@ var _framermotion = require('framer-motion');
|
|
|
694
694
|
|
|
695
695
|
function SlidingSidebar({ config }) {
|
|
696
696
|
const [expandedItems, setExpandedItems] = _react.useState.call(void 0, /* @__PURE__ */ new Set());
|
|
697
|
-
const mounted =
|
|
697
|
+
const mounted = _chunkHY5YL3U5cjs.useIsHydrated.call(void 0, );
|
|
698
698
|
const headerHeight = _chunkIIMICN7Lcjs.useHeaderHeight.call(void 0, );
|
|
699
699
|
const asideRef = _react.useRef.call(void 0, null);
|
|
700
700
|
const prefersReducedMotion = _framermotion.useReducedMotion.call(void 0, );
|
|
@@ -826,7 +826,7 @@ function SlidingSidebar({ config }) {
|
|
|
826
826
|
duration: 0.3,
|
|
827
827
|
ease: [0.4, 0, 0.2, 1]
|
|
828
828
|
},
|
|
829
|
-
className: _chunk3ATAYP36cjs.cn.call(void 0, "fixed inset-0 z-[45]",
|
|
829
|
+
className: _chunk3ATAYP36cjs.cn.call(void 0, "fixed inset-0 z-[45]", _chunkHY5YL3U5cjs.OVERLAY_BACKDROP_CLASS),
|
|
830
830
|
onClick: () => config.onClose()
|
|
831
831
|
}
|
|
832
832
|
) }),
|
|
@@ -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, _chunkMXHJROXJcjs.UnreadDot, { size: "fixed" })
|
|
970
970
|
] }),
|
|
971
971
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
972
972
|
"span",
|
|
@@ -1067,7 +1067,7 @@ function NavigationSidebar({ config, disabled = false }) {
|
|
|
1067
1067
|
setTabletFor(isTablet);
|
|
1068
1068
|
if (isTablet) setTabletMinimized(true);
|
|
1069
1069
|
}
|
|
1070
|
-
const hydrated =
|
|
1070
|
+
const hydrated = _chunkHY5YL3U5cjs.useIsHydrated.call(void 0, );
|
|
1071
1071
|
const minimized = hydrated ? isTablet ? tabletMinimized : desktopMinimized : _nullishCoalesce(config.minimized, () => ( false));
|
|
1072
1072
|
const [transitionsEnabled, setTransitionsEnabled] = _react.useState.call(void 0, false);
|
|
1073
1073
|
const isOverlayOpen = isTablet && !minimized;
|
|
@@ -1249,7 +1249,7 @@ function HeaderGlobalSearch({
|
|
|
1249
1249
|
"form",
|
|
1250
1250
|
{
|
|
1251
1251
|
onSubmit: handleSubmit,
|
|
1252
|
-
...
|
|
1252
|
+
..._chunkMXHJROXJcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
1253
1253
|
className: _chunk3ATAYP36cjs.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
|
+
_chunkMXHJROXJcjs.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: _chunk3ATAYP36cjs.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
|
+
_chunkMXHJROXJcjs.HeaderButton,
|
|
1466
1466
|
{
|
|
1467
1467
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4GFNWALLcjs.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: _chunk3ATAYP36cjs.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, _chunkMXHJROXJcjs.TimeTrackerHeaderButton, { disabled, className: _chunk3ATAYP36cjs.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, _chunk2A4XES7Rcjs.DropdownMenu, { children: [
|
|
1501
1501
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2A4XES7Rcjs.DropdownMenuTrigger, { asChild: true, disabled, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1502
|
-
|
|
1502
|
+
_chunkMXHJROXJcjs.HeaderButton,
|
|
1503
1503
|
{
|
|
1504
1504
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1505
1505
|
_chunkEMCQGFXDcjs.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 = _chunkMXHJROXJcjs.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
|
+
_chunkMXHJROXJcjs.HeaderButton,
|
|
1592
1592
|
{
|
|
1593
1593
|
icon: isActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN3COXDBHcjs.XmarkIcon, { className: "h-6 w-6" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkN3COXDBHcjs.BellIcon, { className: "h-6 w-6" }),
|
|
1594
1594
|
showUnreadDot: !isActive && hasUnread,
|
|
@@ -1731,7 +1731,7 @@ var MobileBurgerMenu = _react2.default.memo(function MobileBurgerMenuImpl({
|
|
|
1731
1731
|
{
|
|
1732
1732
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
1733
1733
|
"absolute inset-0 z-[100] md:hidden",
|
|
1734
|
-
|
|
1734
|
+
_chunkHY5YL3U5cjs.OVERLAY_BACKDROP_CLASS,
|
|
1735
1735
|
"transition-all duration-300 motion-reduce:transition-none",
|
|
1736
1736
|
isOpen ? "opacity-100" : "pointer-events-none opacity-0"
|
|
1737
1737
|
),
|
|
@@ -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, _chunkMXHJROXJcjs.AppLayoutDrawerContainerContext.Provider, { value: drawerContainer, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMXHJROXJcjs.AppLayoutDrawerCoordinationContext.Provider, { value: drawerCoordination, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3ATAYP36cjs.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, _chunkMXHJROXJcjs.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: _chunk3ATAYP36cjs.cn.call(void 0, "flex-1 overflow-y-auto", mainClassName), children }),
|
|
1896
1896
|
drawer
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkMXHJROXJcjs = require('./chunk-MXHJROXJ.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -18,7 +18,7 @@ var _chunk3L7KCOGOcjs = require('./chunk-3L7KCOGO.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkHY5YL3U5cjs = require('./chunk-HY5YL3U5.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -113,7 +113,7 @@ function ContactForm({
|
|
|
113
113
|
successToastMessage = "Redirecting you to join our community...",
|
|
114
114
|
rescue: rescueForm = null
|
|
115
115
|
} = {}) {
|
|
116
|
-
const attachments =
|
|
116
|
+
const attachments = _chunkHY5YL3U5cjs.useChatAttachments.call(void 0, );
|
|
117
117
|
const builtInSubmission = _chunk3L7KCOGOcjs.useContactSubmission.call(void 0, {
|
|
118
118
|
userId,
|
|
119
119
|
successRedirectUrl,
|
|
@@ -197,13 +197,13 @@ function ContactForm({
|
|
|
197
197
|
);
|
|
198
198
|
}),
|
|
199
199
|
className: "flex flex-grow flex-col space-y-4 md:space-y-6",
|
|
200
|
-
...
|
|
200
|
+
..._chunkMXHJROXJcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
201
201
|
children: [
|
|
202
202
|
!showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("name") }),
|
|
203
203
|
!showEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("email") }),
|
|
204
204
|
!showHelpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("helpCategory") }),
|
|
205
205
|
!showMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("message") }),
|
|
206
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
206
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMXHJROXJcjs.HoneypotField, { ...honeypotInputProps }),
|
|
207
207
|
extraTopField,
|
|
208
208
|
showNameEmailRow && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 md:grid-cols-2 md:gap-6", children: [
|
|
209
209
|
showName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
@@ -255,17 +255,17 @@ function ContactForm({
|
|
|
255
255
|
{
|
|
256
256
|
control,
|
|
257
257
|
name: "companySize",
|
|
258
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
258
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMXHJROXJcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
259
259
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
260
|
-
|
|
260
|
+
_chunkMXHJROXJcjs.SelectTrigger,
|
|
261
261
|
{
|
|
262
262
|
id: "companySize",
|
|
263
263
|
"aria-label": "Company Size",
|
|
264
264
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
265
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
265
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMXHJROXJcjs.SelectValue, { placeholder: "Select company size" })
|
|
266
266
|
}
|
|
267
267
|
),
|
|
268
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
268
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMXHJROXJcjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMXHJROXJcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
269
269
|
] })
|
|
270
270
|
}
|
|
271
271
|
),
|
|
@@ -278,17 +278,17 @@ function ContactForm({
|
|
|
278
278
|
{
|
|
279
279
|
control,
|
|
280
280
|
name: "referralSource",
|
|
281
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
281
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMXHJROXJcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
282
282
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
283
|
-
|
|
283
|
+
_chunkMXHJROXJcjs.SelectTrigger,
|
|
284
284
|
{
|
|
285
285
|
id: "referralSource",
|
|
286
286
|
"aria-label": "Referral Source",
|
|
287
287
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
288
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
288
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMXHJROXJcjs.SelectValue, { placeholder: "Select an option" })
|
|
289
289
|
}
|
|
290
290
|
),
|
|
291
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
291
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMXHJROXJcjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMXHJROXJcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
292
292
|
] })
|
|
293
293
|
}
|
|
294
294
|
),
|
|
@@ -305,18 +305,18 @@ function ContactForm({
|
|
|
305
305
|
{
|
|
306
306
|
control,
|
|
307
307
|
name: "helpCategory",
|
|
308
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
308
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkMXHJROXJcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
309
309
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
310
|
-
|
|
310
|
+
_chunkMXHJROXJcjs.SelectTrigger,
|
|
311
311
|
{
|
|
312
312
|
id: "helpCategory",
|
|
313
313
|
"aria-label": "Help Category",
|
|
314
314
|
"aria-required": true,
|
|
315
315
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
316
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
316
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMXHJROXJcjs.SelectValue, { placeholder: "Choose your main interest" })
|
|
317
317
|
}
|
|
318
318
|
),
|
|
319
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
319
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMXHJROXJcjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMXHJROXJcjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
320
320
|
] })
|
|
321
321
|
}
|
|
322
322
|
),
|
|
@@ -328,7 +328,7 @@ function ContactForm({
|
|
|
328
328
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2A4XES7Rcjs.RequiredMark, {})
|
|
329
329
|
] }),
|
|
330
330
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
331
|
-
|
|
331
|
+
_chunkMXHJROXJcjs.Textarea,
|
|
332
332
|
{
|
|
333
333
|
id: "message",
|
|
334
334
|
...register("message"),
|
|
@@ -343,7 +343,7 @@ function ContactForm({
|
|
|
343
343
|
] }),
|
|
344
344
|
attachmentsEnabled && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2", children: [
|
|
345
345
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
346
|
-
|
|
346
|
+
_chunkHY5YL3U5cjs.ChatAttachmentChipStrip,
|
|
347
347
|
{
|
|
348
348
|
attachments: attachments.attachments,
|
|
349
349
|
onRemove: attachments.removeAttachment,
|
|
@@ -352,7 +352,7 @@ function ContactForm({
|
|
|
352
352
|
),
|
|
353
353
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
354
354
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
355
|
-
|
|
355
|
+
_chunkHY5YL3U5cjs.ChatAttachmentAddButton,
|
|
356
356
|
{
|
|
357
357
|
attachmentsEnabled: true,
|
|
358
358
|
attachmentsCount: attachments.attachments.length,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
SearchInput
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ENGBNKUJ.js";
|
|
5
5
|
import {
|
|
6
6
|
contentFetch
|
|
7
7
|
} from "./chunk-Q76ZTHNV.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
resolveExternalNavigation,
|
|
13
13
|
resolveSourceIcon,
|
|
14
14
|
stripSameOriginToPath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QGTDWFT6.js";
|
|
16
16
|
import {
|
|
17
17
|
useDebounce
|
|
18
18
|
} from "./chunk-64O4L7WN.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunkMXHJROXJcjs = require('./chunk-MXHJROXJ.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -56,7 +56,7 @@ function DetailPageSkeleton({
|
|
|
56
56
|
] }, section))
|
|
57
57
|
] });
|
|
58
58
|
if (bare) return content;
|
|
59
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
59
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMXHJROXJcjs.PageLayout, { showHeader: false, className: "mx-auto max-w-[1280px] bg-ods-bg px-6 py-6 md:px-20 md:py-10", children: content });
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
// src/components/shared/article-author-byline.tsx
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
FileDownloadCard,
|
|
4
4
|
GoogleSheetsViewer,
|
|
5
5
|
PdfViewer
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7632TNE7.js";
|
|
7
7
|
import {
|
|
8
8
|
MobileNavigationDropdown,
|
|
9
9
|
MultiLevelNavigation,
|
|
10
10
|
StickySectionNav
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2NE3DNXY.js";
|
|
12
12
|
import {
|
|
13
13
|
DocSearchBar,
|
|
14
14
|
useDocSearch
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BOUPNYUV.js";
|
|
16
16
|
import {
|
|
17
17
|
CategorySidebarSkeleton,
|
|
18
18
|
DEFAULT_FOLDER_INDEX_FILE,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
findDocNodeByPath,
|
|
23
23
|
getDocAncestorNodeIds,
|
|
24
24
|
stripFolderIndexFromPath
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-ENGBNKUJ.js";
|
|
26
26
|
import {
|
|
27
27
|
contentFetch
|
|
28
28
|
} from "./chunk-Q76ZTHNV.js";
|